storybook-addon-sdc 0.3.2 → 0.3.3

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 CHANGED
@@ -187,7 +187,7 @@ Refer to:
187
187
 
188
188
  ## Creating Experimental Stories
189
189
 
190
- The `thirdPartySettings` configuration in the SDC YAML file provides a flexible way to define custom stories for your components. This feature allows you to use predefined props, custom slots, or even reuse stories defined elsewhere. Here's how it works:
190
+ The `sdcStorybook` configuration in the SDC YAML file provides a flexible way to define custom stories for your components. This feature allows you to use predefined props, custom slots, or even reuse stories defined elsewhere. Here's how it works:
191
191
 
192
192
  ### Example Configuration
193
193
 
package/dist/preset.js CHANGED
@@ -5567,7 +5567,7 @@ var generateComponent = (item) => {
5567
5567
  const kebabCaseName = item.component.replace(/[-:]/g, "");
5568
5568
  const componentProps = { ...item.props, ...item.slots };
5569
5569
  const storyArgs = item.story ? `...${kebabCaseName}.${item.story}.args` : "...{}";
5570
- return `${kebabCaseName}.default.component({...Basic.args, ${storyArgs}, ...${JSON.stringify(componentProps)}})`;
5570
+ return `${kebabCaseName}.default.component({...${kebabCaseName}.Basic.args, ${storyArgs}, ...${JSON.stringify(componentProps)}})`;
5571
5571
  };
5572
5572
 
5573
5573
  // src/customRefsTransform.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-addon-sdc",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Drupal Single Directory Components as stories",
5
5
  "keywords": [
6
6
  "SDC",