@supernova-studio/model 1.87.1 → 1.87.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/dist/index.d.mts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +28 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2898,7 +2898,8 @@ var PageBlockItemStorybookValue = z51.object({
|
|
|
2898
2898
|
showFooter: z51.boolean().optional(),
|
|
2899
2899
|
showProperties: z51.boolean().optional(),
|
|
2900
2900
|
showDescription: z51.boolean().optional(),
|
|
2901
|
-
showDefaults: z51.boolean().optional()
|
|
2901
|
+
showDefaults: z51.boolean().optional(),
|
|
2902
|
+
showThemeSwitcher: z51.boolean().optional()
|
|
2902
2903
|
});
|
|
2903
2904
|
var PageBlockItemTextValue = z51.object({
|
|
2904
2905
|
value: z51.string()
|
|
@@ -4574,9 +4575,31 @@ var PageRedirect = z120.object({
|
|
|
4574
4575
|
designSystemId: z120.string()
|
|
4575
4576
|
});
|
|
4576
4577
|
|
|
4577
|
-
// src/dsm/documentation/
|
|
4578
|
+
// src/dsm/documentation/configuration.ts
|
|
4578
4579
|
import { z as z121 } from "zod";
|
|
4579
|
-
var
|
|
4580
|
+
var defaultDocsRenderCodePackageJson = `{
|
|
4581
|
+
"name": "supernova-live-react",
|
|
4582
|
+
"version": "1.0.0",
|
|
4583
|
+
"description": "Live React Code Packager",
|
|
4584
|
+
"keywords": ["react", "supernova"],
|
|
4585
|
+
"main": "src/index.js",
|
|
4586
|
+
"dependencies": {
|
|
4587
|
+
"react-dom": "latest",
|
|
4588
|
+
"react": "latest"
|
|
4589
|
+
},
|
|
4590
|
+
"devDependencies": {
|
|
4591
|
+
"@babel/runtime": "7.13.8",
|
|
4592
|
+
"typescript": "4.1.3"
|
|
4593
|
+
},
|
|
4594
|
+
"scripts": {
|
|
4595
|
+
"start": "react-scripts start",
|
|
4596
|
+
"build": "react-scripts build",
|
|
4597
|
+
"test": "react-scripts test --env=jsdom",
|
|
4598
|
+
"eject": "react-scripts eject"
|
|
4599
|
+
},
|
|
4600
|
+
"browserslist": [">0.2%", "not dead", "not ie <= 11", "not op_mini all"]
|
|
4601
|
+
}`;
|
|
4602
|
+
var DocumentationConfiguration = z121.object({
|
|
4580
4603
|
// Basic
|
|
4581
4604
|
designSystemVersionId: z121.string(),
|
|
4582
4605
|
createdAt: z121.coerce.date(),
|
|
@@ -7060,6 +7083,7 @@ export {
|
|
|
7060
7083
|
DimensionValue,
|
|
7061
7084
|
DocumentationComment,
|
|
7062
7085
|
DocumentationCommentThread,
|
|
7086
|
+
DocumentationConfiguration,
|
|
7063
7087
|
DocumentationGroupBehavior,
|
|
7064
7088
|
DocumentationGroupV1,
|
|
7065
7089
|
DocumentationItemConfigurationV1,
|
|
@@ -7091,7 +7115,6 @@ export {
|
|
|
7091
7115
|
DocumentationPageSnapshot,
|
|
7092
7116
|
DocumentationPageV1,
|
|
7093
7117
|
DocumentationPageV2,
|
|
7094
|
-
DocumentationSettings,
|
|
7095
7118
|
DocumentationThreadDump,
|
|
7096
7119
|
DurationTokenData,
|
|
7097
7120
|
DurationUnit,
|
|
@@ -7688,6 +7711,7 @@ export {
|
|
|
7688
7711
|
castStringToDimensionValue,
|
|
7689
7712
|
chunkedArray,
|
|
7690
7713
|
convertTokenTypedData,
|
|
7714
|
+
defaultDocsRenderCodePackageJson,
|
|
7691
7715
|
defaultDocumentationItemConfigurationV1,
|
|
7692
7716
|
defaultDocumentationItemConfigurationV2,
|
|
7693
7717
|
defaultDocumentationItemHeaderV1,
|