storybook-addon-sdc 0.9.6 → 0.9.7

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 +6 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -280,7 +280,7 @@ This means you can create independent stories for your components by simply addi
280
280
  ```yaml
281
281
  # components/slider/slider.badges.story.yml
282
282
  name: Badges
283
- props:
283
+ slots:
284
284
  slides:
285
285
  - type: component
286
286
  component: 'umami:badge'
@@ -338,7 +338,11 @@ export const Basic = {}
338
338
 
339
339
  ## Configuration Options
340
340
 
341
- In addition to the standard configuration options, you can also specify customDefs and externalDefs to provide additional schema definitions. These options are optional and can be used to extend or override the default definitions.
341
+ - **vitePluginTwigDrupalOptions**: Options for [vite-plugin-twig-drupal](https://github.com/larowlan/vite-plugin-twig-drupal) (Twig.js). Use when `twigLib` is set to `'twig'`.
342
+ - **vitePluginTwingDrupalOptions**: Options for [vite-plugin-twing-drupal](https://github.com/christianwiedemann/vite-plugin-twing-drupal) (Twing). Use when `twigLib` is set to `'twing'`.
343
+ - **customDefs**: An object with custom JSON schema definitions for your components.
344
+ - **externalDefs**: An array of URLs or local file paths to external schema definition files.
345
+ - **validate**: A URL or path to a JSON schema for validating your SDC components.
342
346
 
343
347
  ### Twig.js with `vitePluginTwigDrupalOptions`
344
348
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-addon-sdc",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
4
4
  "description": "Drupal Single Directory Components as stories",
5
5
  "keywords": [
6
6
  "SDC",