storybook-addon-sdc 0.0.15 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Storybook SDC Addon Documentation
2
- Drupal Single Directory Components as stories
2
+ Drupal Single Directory Components schema as stories.
3
+
4
+ [![Image from Gyazo](https://i.gyazo.com/408dbe8cd2b02688e2ebaaee82d6b282.png)](https://gyazo.com/408dbe8cd2b02688e2ebaaee82d6b282)
3
5
 
4
6
  ## Overview:
5
7
 
@@ -163,4 +165,8 @@ The community will have to decide what format the yaml stories should be.
163
165
 
164
166
  - UI Patterns stories format not yet [supported](https://www.drupal.org/project/ui_patterns/issues/3480464).
165
167
  - Same problem will be with `$ref: json-schema-definitions://` for SDC from Experience Builder.
168
+ - Plugin uses [Experimental indexers](https://storybook.js.org/docs/api/main-config/main-config-indexers)
169
+ - json-schema-faker not always generate good data. Better to use `default` or `examples` for SDC schema
170
+ https://www.drupal.org/docs/develop/theming-drupal/using-single-directory-components/annotated-example-componentyml
171
+ https://json-schema.org/understanding-json-schema/reference/annotations
166
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-addon-sdc",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "description": "Drupal Single Directory Components as stories",
5
5
  "keywords": [
6
6
  "SDC",