[2.0.0-beta4] JSON schema examples property

Created on 15 January 2024, 10 months ago
Updated 20 September 2024, about 2 months ago

In order to be compatible with the wide SDC ecosystem, do we also extract data from the JSON schema β€œexamples” property when there are no stories ?
If we do that, we will need to override ComponentPluginManager in ui_patterns_library to alter the definitions.

Still this subject to fix:

What do we do if there a not the same number of examples in props?

  • We ignore missing examples? (current situation)
  • We repeat the last example?
  • We do a matrix? For example, 2 props, one with 2 examples, one with 3 examples: 3 stories.?
✨ Feature request
Status

Needs work

Version

2.0

Component

UI Patterns Library

Created by

πŸ‡«πŸ‡·France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024