@pure-ds/storybook 0.3.10 → 0.3.11
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 +21 -14
- package/package.json +1 -1
package/.storybook/preview.js
CHANGED
|
@@ -1267,6 +1267,24 @@ const DocsPage = () => React.createElement(
|
|
|
1267
1267
|
React.createElement(Controls, null)
|
|
1268
1268
|
);
|
|
1269
1269
|
|
|
1270
|
+
const pdsStoryOrder = [
|
|
1271
|
+
'General',
|
|
1272
|
+
['What is PDS', 'Getting Started'],
|
|
1273
|
+
'Foundations',
|
|
1274
|
+
['Colors', 'Typography', 'Icons', 'Spacing', 'Smart Surfaces'],
|
|
1275
|
+
'Primitives',
|
|
1276
|
+
['Buttons', 'Forms', 'Form Groups', 'Alerts', 'Badges', 'Cards', 'Tables', 'Media', 'Accordion'],
|
|
1277
|
+
'Utilities',
|
|
1278
|
+
['Grid System'],
|
|
1279
|
+
'Patterns',
|
|
1280
|
+
['Layout', 'Border Effects', 'Utilities'],
|
|
1281
|
+
'Enhancements',
|
|
1282
|
+
['Mesh Gradients', 'Interactive States', 'Toggles', 'Dropdowns', 'Range Sliders', 'Required Fields'],
|
|
1283
|
+
'Components',
|
|
1284
|
+
['Pds Jsonform', 'Pds Icon', 'Pds Drawer', 'Pds Toaster', 'Pds Tabstrip', 'Pds Splitpanel', 'Pds Scrollrow', 'Pds Richtext', 'Pds Upload'],
|
|
1285
|
+
'Reference'
|
|
1286
|
+
];
|
|
1287
|
+
|
|
1270
1288
|
/** @type { import('@storybook/web-components').Preview } */
|
|
1271
1289
|
const preview = {
|
|
1272
1290
|
decorators: [withGlobalsHandler, withPDS, withHTMLExtractor, withDescription, withRelatedStories],
|
|
@@ -1292,20 +1310,9 @@ const preview = {
|
|
|
1292
1310
|
options: {
|
|
1293
1311
|
storySort: {
|
|
1294
1312
|
order: [
|
|
1295
|
-
'
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
['Colors', 'Typography', 'Icons', 'Spacing', 'Smart Surfaces'],
|
|
1299
|
-
'Primitives',
|
|
1300
|
-
['Buttons', 'Forms', 'Form Groups', 'Alerts', 'Badges', 'Cards', 'Tables', 'Media', 'Accordion'],
|
|
1301
|
-
'Utilities',
|
|
1302
|
-
['Grid System'],
|
|
1303
|
-
'Patterns',
|
|
1304
|
-
['Layout', 'Border Effects', 'Utilities'],
|
|
1305
|
-
'Enhancements',
|
|
1306
|
-
['Mesh Gradients', 'Interactive States', 'Toggles', 'Dropdowns', 'Range Sliders', 'Required Fields'],
|
|
1307
|
-
'Components',
|
|
1308
|
-
['Pds Jsonform', 'Pds Icon', 'Pds Drawer', 'Pds Toaster', 'Pds Tabstrip', 'Pds Splitpanel', 'Pds Scrollrow', 'Pds Richtext', 'Pds Upload'],
|
|
1313
|
+
'PDS',
|
|
1314
|
+
pdsStoryOrder,
|
|
1315
|
+
...pdsStoryOrder,
|
|
1309
1316
|
'*'
|
|
1310
1317
|
]
|
|
1311
1318
|
}
|