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.
- package/README.md +6 -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
|
-
|
|
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
|
-
|
|
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
|
|