@pure-ds/storybook 0.5.27 → 0.5.29
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/.storybook/preview.js +4 -0
- package/dist/pds-reference.json +1 -1
- package/package.json +2 -2
- package/public/assets/js/app.js +137 -142
- package/public/assets/js/pds-manager.js +152 -157
- package/public/assets/pds/pds-css-complete.json +28 -0
- package/public/assets/pds/pds.css-data.json +44 -0
- package/public/assets/pds/styles/pds-styles.css +5 -1
- package/public/assets/pds/styles/pds-tokens.css +4 -0
- package/public/assets/pds/styles/pds-utilities.css +1 -1
- package/src/js/pds-core/pds-generator.js +145 -68
- package/stories/layout/LayoutSystem.stories.js +57 -12
package/.storybook/preview.js
CHANGED
|
@@ -98,6 +98,10 @@ PDS.addEventListener('pds:ready', (event) => {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
// CRITICAL: Storybook requires live mode for dynamic CSS generation and configurator
|
|
102
|
+
// Always override mode to 'live' regardless of user config to prevent style injection failures
|
|
103
|
+
pdsOptions.mode = 'live';
|
|
104
|
+
|
|
101
105
|
const initResult = await PDS.start(pdsOptions);
|
|
102
106
|
setLiveGenerator(initResult?.generator);
|
|
103
107
|
PDS.initializing = false;
|
package/dist/pds-reference.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pure-ds/storybook",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.29",
|
|
4
4
|
"description": "Storybook showcase for Pure Design System with live configuration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"pds:build-icons": "pds-build-icons"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@pure-ds/core": "^0.5.
|
|
41
|
+
"@pure-ds/core": "^0.5.29"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|