@supernova-studio/client 1.96.4 → 1.96.5
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 +34 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1009,6 +1009,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
1009
1009
|
showProperties?: boolean | undefined;
|
|
1010
1010
|
showDescription?: boolean | undefined;
|
|
1011
1011
|
showDefaults?: boolean | undefined;
|
|
1012
|
+
showThemeSwitcher?: boolean | undefined;
|
|
1012
1013
|
} | null | undefined;
|
|
1013
1014
|
} & {
|
|
1014
1015
|
children: ({
|
|
@@ -1297,6 +1298,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
1297
1298
|
showProperties?: boolean | undefined;
|
|
1298
1299
|
showDescription?: boolean | undefined;
|
|
1299
1300
|
showDefaults?: boolean | undefined;
|
|
1301
|
+
showThemeSwitcher?: boolean | undefined;
|
|
1300
1302
|
} | null | undefined;
|
|
1301
1303
|
} & /*elided*/ any)[] | null | undefined;
|
|
1302
1304
|
}>, "many">>;
|
|
@@ -1653,6 +1655,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
1653
1655
|
showProperties?: boolean | undefined;
|
|
1654
1656
|
showDescription?: boolean | undefined;
|
|
1655
1657
|
showDefaults?: boolean | undefined;
|
|
1658
|
+
showThemeSwitcher?: boolean | undefined;
|
|
1656
1659
|
} | null | undefined;
|
|
1657
1660
|
} & {
|
|
1658
1661
|
children: ({
|
|
@@ -1941,6 +1944,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
1941
1944
|
showProperties?: boolean | undefined;
|
|
1942
1945
|
showDescription?: boolean | undefined;
|
|
1943
1946
|
showDefaults?: boolean | undefined;
|
|
1947
|
+
showThemeSwitcher?: boolean | undefined;
|
|
1944
1948
|
} | null | undefined;
|
|
1945
1949
|
} & /*elided*/ any)[] | null | undefined;
|
|
1946
1950
|
})[] | undefined;
|
|
@@ -2315,6 +2319,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
2315
2319
|
showProperties?: boolean | undefined;
|
|
2316
2320
|
showDescription?: boolean | undefined;
|
|
2317
2321
|
showDefaults?: boolean | undefined;
|
|
2322
|
+
showThemeSwitcher?: boolean | undefined;
|
|
2318
2323
|
} | null | undefined;
|
|
2319
2324
|
} & {
|
|
2320
2325
|
children: ({
|
|
@@ -2603,6 +2608,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
2603
2608
|
showProperties?: boolean | undefined;
|
|
2604
2609
|
showDescription?: boolean | undefined;
|
|
2605
2610
|
showDefaults?: boolean | undefined;
|
|
2611
|
+
showThemeSwitcher?: boolean | undefined;
|
|
2606
2612
|
} | null | undefined;
|
|
2607
2613
|
} & /*elided*/ any)[] | null | undefined;
|
|
2608
2614
|
})[] | undefined;
|
|
@@ -3007,6 +3013,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
3007
3013
|
showProperties?: boolean | undefined;
|
|
3008
3014
|
showDescription?: boolean | undefined;
|
|
3009
3015
|
showDefaults?: boolean | undefined;
|
|
3016
|
+
showThemeSwitcher?: boolean | undefined;
|
|
3010
3017
|
} | null | undefined;
|
|
3011
3018
|
} & {
|
|
3012
3019
|
children: ({
|
|
@@ -3295,6 +3302,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
3295
3302
|
showProperties?: boolean | undefined;
|
|
3296
3303
|
showDescription?: boolean | undefined;
|
|
3297
3304
|
showDefaults?: boolean | undefined;
|
|
3305
|
+
showThemeSwitcher?: boolean | undefined;
|
|
3298
3306
|
} | null | undefined;
|
|
3299
3307
|
} & /*elided*/ any)[] | null | undefined;
|
|
3300
3308
|
})[] | undefined;
|
|
@@ -4796,6 +4804,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
4796
4804
|
showProperties?: boolean | undefined;
|
|
4797
4805
|
showDescription?: boolean | undefined;
|
|
4798
4806
|
showDefaults?: boolean | undefined;
|
|
4807
|
+
showThemeSwitcher?: boolean | undefined;
|
|
4799
4808
|
}, z.ZodTypeDef, {
|
|
4800
4809
|
value: {
|
|
4801
4810
|
entityId?: string | undefined;
|
|
@@ -4815,6 +4824,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
4815
4824
|
showProperties?: boolean | undefined;
|
|
4816
4825
|
showDescription?: boolean | undefined;
|
|
4817
4826
|
showDefaults?: boolean | undefined;
|
|
4827
|
+
showThemeSwitcher?: boolean | undefined;
|
|
4818
4828
|
}>>>, {
|
|
4819
4829
|
value: {
|
|
4820
4830
|
entityId?: string | undefined;
|
|
@@ -4834,6 +4844,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
4834
4844
|
showProperties?: boolean | undefined;
|
|
4835
4845
|
showDescription?: boolean | undefined;
|
|
4836
4846
|
showDefaults?: boolean | undefined;
|
|
4847
|
+
showThemeSwitcher?: boolean | undefined;
|
|
4837
4848
|
} | undefined, {
|
|
4838
4849
|
value: {
|
|
4839
4850
|
entityId?: string | undefined;
|
|
@@ -4853,6 +4864,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
4853
4864
|
showProperties?: boolean | undefined;
|
|
4854
4865
|
showDescription?: boolean | undefined;
|
|
4855
4866
|
showDefaults?: boolean | undefined;
|
|
4867
|
+
showThemeSwitcher?: boolean | undefined;
|
|
4856
4868
|
} | null | undefined>;
|
|
4857
4869
|
files: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
4858
4870
|
entityId: string;
|
|
@@ -5165,6 +5177,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
5165
5177
|
showProperties?: boolean | undefined;
|
|
5166
5178
|
showDescription?: boolean | undefined;
|
|
5167
5179
|
showDefaults?: boolean | undefined;
|
|
5180
|
+
showThemeSwitcher?: boolean | undefined;
|
|
5168
5181
|
} | undefined;
|
|
5169
5182
|
}, {
|
|
5170
5183
|
type: "Code" | "Image" | "Custom" | "Text" | "Link" | "Token" | "Component" | "Theme" | "Heading" | "UnorderedList" | "OrderedList" | "Quote" | "Callout" | "Divider" | "Embed" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "ComponentAssetGroup" | "RenderCode" | "Tabs" | "TabItem" | "Table" | "TableRow" | "TableCell" | "Guidelines" | "Guideline" | "FigmaComponents" | "FigmaComponentPropsTable" | "Files";
|
|
@@ -5452,6 +5465,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
5452
5465
|
showProperties?: boolean | undefined;
|
|
5453
5466
|
showDescription?: boolean | undefined;
|
|
5454
5467
|
showDefaults?: boolean | undefined;
|
|
5468
|
+
showThemeSwitcher?: boolean | undefined;
|
|
5455
5469
|
} | null | undefined;
|
|
5456
5470
|
}>;
|
|
5457
5471
|
type PageBlockV1Input = z.input<typeof PageBlockBaseV1> & {
|
|
@@ -7693,6 +7707,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
7693
7707
|
showProperties?: boolean | undefined;
|
|
7694
7708
|
showDescription?: boolean | undefined;
|
|
7695
7709
|
showDefaults?: boolean | undefined;
|
|
7710
|
+
showThemeSwitcher?: boolean | undefined;
|
|
7696
7711
|
} | null | undefined;
|
|
7697
7712
|
} & {
|
|
7698
7713
|
children: ({
|
|
@@ -7981,6 +7996,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
7981
7996
|
showProperties?: boolean | undefined;
|
|
7982
7997
|
showDescription?: boolean | undefined;
|
|
7983
7998
|
showDefaults?: boolean | undefined;
|
|
7999
|
+
showThemeSwitcher?: boolean | undefined;
|
|
7984
8000
|
} | null | undefined;
|
|
7985
8001
|
} & /*elided*/ any)[] | null | undefined;
|
|
7986
8002
|
}>, "many">;
|
|
@@ -8615,6 +8631,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
8615
8631
|
showProperties?: boolean | undefined;
|
|
8616
8632
|
showDescription?: boolean | undefined;
|
|
8617
8633
|
showDefaults?: boolean | undefined;
|
|
8634
|
+
showThemeSwitcher?: boolean | undefined;
|
|
8618
8635
|
} | null | undefined;
|
|
8619
8636
|
} & {
|
|
8620
8637
|
children: ({
|
|
@@ -8903,6 +8920,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
8903
8920
|
showProperties?: boolean | undefined;
|
|
8904
8921
|
showDescription?: boolean | undefined;
|
|
8905
8922
|
showDefaults?: boolean | undefined;
|
|
8923
|
+
showThemeSwitcher?: boolean | undefined;
|
|
8906
8924
|
} | null | undefined;
|
|
8907
8925
|
} & /*elided*/ any)[] | null | undefined;
|
|
8908
8926
|
})[];
|
|
@@ -9351,6 +9369,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
9351
9369
|
showProperties?: boolean | undefined;
|
|
9352
9370
|
showDescription?: boolean | undefined;
|
|
9353
9371
|
showDefaults?: boolean | undefined;
|
|
9372
|
+
showThemeSwitcher?: boolean | undefined;
|
|
9354
9373
|
} | null | undefined;
|
|
9355
9374
|
} & {
|
|
9356
9375
|
children: ({
|
|
@@ -9639,6 +9658,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
9639
9658
|
showProperties?: boolean | undefined;
|
|
9640
9659
|
showDescription?: boolean | undefined;
|
|
9641
9660
|
showDefaults?: boolean | undefined;
|
|
9661
|
+
showThemeSwitcher?: boolean | undefined;
|
|
9642
9662
|
} | null | undefined;
|
|
9643
9663
|
} & /*elided*/ any)[] | null | undefined;
|
|
9644
9664
|
})[];
|
|
@@ -10989,6 +11009,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
10989
11009
|
showProperties?: boolean | undefined;
|
|
10990
11010
|
showDescription?: boolean | undefined;
|
|
10991
11011
|
showDefaults?: boolean | undefined;
|
|
11012
|
+
showThemeSwitcher?: boolean | undefined;
|
|
10992
11013
|
} | null | undefined;
|
|
10993
11014
|
} & {
|
|
10994
11015
|
children: ({
|
|
@@ -11277,6 +11298,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
11277
11298
|
showProperties?: boolean | undefined;
|
|
11278
11299
|
showDescription?: boolean | undefined;
|
|
11279
11300
|
showDefaults?: boolean | undefined;
|
|
11301
|
+
showThemeSwitcher?: boolean | undefined;
|
|
11280
11302
|
} | null | undefined;
|
|
11281
11303
|
} & /*elided*/ any)[] | null | undefined;
|
|
11282
11304
|
}>, "many">>;
|
|
@@ -11633,6 +11655,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
11633
11655
|
showProperties?: boolean | undefined;
|
|
11634
11656
|
showDescription?: boolean | undefined;
|
|
11635
11657
|
showDefaults?: boolean | undefined;
|
|
11658
|
+
showThemeSwitcher?: boolean | undefined;
|
|
11636
11659
|
} | null | undefined;
|
|
11637
11660
|
} & {
|
|
11638
11661
|
children: ({
|
|
@@ -11921,6 +11944,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
11921
11944
|
showProperties?: boolean | undefined;
|
|
11922
11945
|
showDescription?: boolean | undefined;
|
|
11923
11946
|
showDefaults?: boolean | undefined;
|
|
11947
|
+
showThemeSwitcher?: boolean | undefined;
|
|
11924
11948
|
} | null | undefined;
|
|
11925
11949
|
} & /*elided*/ any)[] | null | undefined;
|
|
11926
11950
|
})[] | undefined;
|
|
@@ -12295,6 +12319,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
12295
12319
|
showProperties?: boolean | undefined;
|
|
12296
12320
|
showDescription?: boolean | undefined;
|
|
12297
12321
|
showDefaults?: boolean | undefined;
|
|
12322
|
+
showThemeSwitcher?: boolean | undefined;
|
|
12298
12323
|
} | null | undefined;
|
|
12299
12324
|
} & {
|
|
12300
12325
|
children: ({
|
|
@@ -12583,6 +12608,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
12583
12608
|
showProperties?: boolean | undefined;
|
|
12584
12609
|
showDescription?: boolean | undefined;
|
|
12585
12610
|
showDefaults?: boolean | undefined;
|
|
12611
|
+
showThemeSwitcher?: boolean | undefined;
|
|
12586
12612
|
} | null | undefined;
|
|
12587
12613
|
} & /*elided*/ any)[] | null | undefined;
|
|
12588
12614
|
})[] | undefined;
|
|
@@ -55577,6 +55603,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
55577
55603
|
showProperties?: boolean | undefined;
|
|
55578
55604
|
showDescription?: boolean | undefined;
|
|
55579
55605
|
showDefaults?: boolean | undefined;
|
|
55606
|
+
showThemeSwitcher?: boolean | undefined;
|
|
55580
55607
|
} | null | undefined;
|
|
55581
55608
|
} & {
|
|
55582
55609
|
children: ({
|
|
@@ -55865,6 +55892,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
55865
55892
|
showProperties?: boolean | undefined;
|
|
55866
55893
|
showDescription?: boolean | undefined;
|
|
55867
55894
|
showDefaults?: boolean | undefined;
|
|
55895
|
+
showThemeSwitcher?: boolean | undefined;
|
|
55868
55896
|
} | null | undefined;
|
|
55869
55897
|
} & /*elided*/ any)[] | null | undefined;
|
|
55870
55898
|
}>, "many">;
|
|
@@ -56499,6 +56527,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
56499
56527
|
showProperties?: boolean | undefined;
|
|
56500
56528
|
showDescription?: boolean | undefined;
|
|
56501
56529
|
showDefaults?: boolean | undefined;
|
|
56530
|
+
showThemeSwitcher?: boolean | undefined;
|
|
56502
56531
|
} | null | undefined;
|
|
56503
56532
|
} & {
|
|
56504
56533
|
children: ({
|
|
@@ -56787,6 +56816,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
56787
56816
|
showProperties?: boolean | undefined;
|
|
56788
56817
|
showDescription?: boolean | undefined;
|
|
56789
56818
|
showDefaults?: boolean | undefined;
|
|
56819
|
+
showThemeSwitcher?: boolean | undefined;
|
|
56790
56820
|
} | null | undefined;
|
|
56791
56821
|
} & /*elided*/ any)[] | null | undefined;
|
|
56792
56822
|
})[];
|
|
@@ -57645,6 +57675,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
57645
57675
|
showProperties?: boolean | undefined;
|
|
57646
57676
|
showDescription?: boolean | undefined;
|
|
57647
57677
|
showDefaults?: boolean | undefined;
|
|
57678
|
+
showThemeSwitcher?: boolean | undefined;
|
|
57648
57679
|
} | null | undefined;
|
|
57649
57680
|
} & {
|
|
57650
57681
|
children: ({
|
|
@@ -57933,6 +57964,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
57933
57964
|
showProperties?: boolean | undefined;
|
|
57934
57965
|
showDescription?: boolean | undefined;
|
|
57935
57966
|
showDefaults?: boolean | undefined;
|
|
57967
|
+
showThemeSwitcher?: boolean | undefined;
|
|
57936
57968
|
} | null | undefined;
|
|
57937
57969
|
} & /*elided*/ any)[] | null | undefined;
|
|
57938
57970
|
}>, "many">;
|
|
@@ -58339,6 +58371,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
58339
58371
|
showProperties?: boolean | undefined;
|
|
58340
58372
|
showDescription?: boolean | undefined;
|
|
58341
58373
|
showDefaults?: boolean | undefined;
|
|
58374
|
+
showThemeSwitcher?: boolean | undefined;
|
|
58342
58375
|
} | null | undefined;
|
|
58343
58376
|
} & {
|
|
58344
58377
|
children: ({
|
|
@@ -58627,6 +58660,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
58627
58660
|
showProperties?: boolean | undefined;
|
|
58628
58661
|
showDescription?: boolean | undefined;
|
|
58629
58662
|
showDefaults?: boolean | undefined;
|
|
58663
|
+
showThemeSwitcher?: boolean | undefined;
|
|
58630
58664
|
} | null | undefined;
|
|
58631
58665
|
} & /*elided*/ any)[] | null | undefined;
|
|
58632
58666
|
})[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1009,6 +1009,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
1009
1009
|
showProperties?: boolean | undefined;
|
|
1010
1010
|
showDescription?: boolean | undefined;
|
|
1011
1011
|
showDefaults?: boolean | undefined;
|
|
1012
|
+
showThemeSwitcher?: boolean | undefined;
|
|
1012
1013
|
} | null | undefined;
|
|
1013
1014
|
} & {
|
|
1014
1015
|
children: ({
|
|
@@ -1297,6 +1298,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
1297
1298
|
showProperties?: boolean | undefined;
|
|
1298
1299
|
showDescription?: boolean | undefined;
|
|
1299
1300
|
showDefaults?: boolean | undefined;
|
|
1301
|
+
showThemeSwitcher?: boolean | undefined;
|
|
1300
1302
|
} | null | undefined;
|
|
1301
1303
|
} & /*elided*/ any)[] | null | undefined;
|
|
1302
1304
|
}>, "many">>;
|
|
@@ -1653,6 +1655,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
1653
1655
|
showProperties?: boolean | undefined;
|
|
1654
1656
|
showDescription?: boolean | undefined;
|
|
1655
1657
|
showDefaults?: boolean | undefined;
|
|
1658
|
+
showThemeSwitcher?: boolean | undefined;
|
|
1656
1659
|
} | null | undefined;
|
|
1657
1660
|
} & {
|
|
1658
1661
|
children: ({
|
|
@@ -1941,6 +1944,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
1941
1944
|
showProperties?: boolean | undefined;
|
|
1942
1945
|
showDescription?: boolean | undefined;
|
|
1943
1946
|
showDefaults?: boolean | undefined;
|
|
1947
|
+
showThemeSwitcher?: boolean | undefined;
|
|
1944
1948
|
} | null | undefined;
|
|
1945
1949
|
} & /*elided*/ any)[] | null | undefined;
|
|
1946
1950
|
})[] | undefined;
|
|
@@ -2315,6 +2319,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
2315
2319
|
showProperties?: boolean | undefined;
|
|
2316
2320
|
showDescription?: boolean | undefined;
|
|
2317
2321
|
showDefaults?: boolean | undefined;
|
|
2322
|
+
showThemeSwitcher?: boolean | undefined;
|
|
2318
2323
|
} | null | undefined;
|
|
2319
2324
|
} & {
|
|
2320
2325
|
children: ({
|
|
@@ -2603,6 +2608,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
2603
2608
|
showProperties?: boolean | undefined;
|
|
2604
2609
|
showDescription?: boolean | undefined;
|
|
2605
2610
|
showDefaults?: boolean | undefined;
|
|
2611
|
+
showThemeSwitcher?: boolean | undefined;
|
|
2606
2612
|
} | null | undefined;
|
|
2607
2613
|
} & /*elided*/ any)[] | null | undefined;
|
|
2608
2614
|
})[] | undefined;
|
|
@@ -3007,6 +3013,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
3007
3013
|
showProperties?: boolean | undefined;
|
|
3008
3014
|
showDescription?: boolean | undefined;
|
|
3009
3015
|
showDefaults?: boolean | undefined;
|
|
3016
|
+
showThemeSwitcher?: boolean | undefined;
|
|
3010
3017
|
} | null | undefined;
|
|
3011
3018
|
} & {
|
|
3012
3019
|
children: ({
|
|
@@ -3295,6 +3302,7 @@ declare const DocumentationPageSnapshot: z.ZodObject<{
|
|
|
3295
3302
|
showProperties?: boolean | undefined;
|
|
3296
3303
|
showDescription?: boolean | undefined;
|
|
3297
3304
|
showDefaults?: boolean | undefined;
|
|
3305
|
+
showThemeSwitcher?: boolean | undefined;
|
|
3298
3306
|
} | null | undefined;
|
|
3299
3307
|
} & /*elided*/ any)[] | null | undefined;
|
|
3300
3308
|
})[] | undefined;
|
|
@@ -4796,6 +4804,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
4796
4804
|
showProperties?: boolean | undefined;
|
|
4797
4805
|
showDescription?: boolean | undefined;
|
|
4798
4806
|
showDefaults?: boolean | undefined;
|
|
4807
|
+
showThemeSwitcher?: boolean | undefined;
|
|
4799
4808
|
}, z.ZodTypeDef, {
|
|
4800
4809
|
value: {
|
|
4801
4810
|
entityId?: string | undefined;
|
|
@@ -4815,6 +4824,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
4815
4824
|
showProperties?: boolean | undefined;
|
|
4816
4825
|
showDescription?: boolean | undefined;
|
|
4817
4826
|
showDefaults?: boolean | undefined;
|
|
4827
|
+
showThemeSwitcher?: boolean | undefined;
|
|
4818
4828
|
}>>>, {
|
|
4819
4829
|
value: {
|
|
4820
4830
|
entityId?: string | undefined;
|
|
@@ -4834,6 +4844,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
4834
4844
|
showProperties?: boolean | undefined;
|
|
4835
4845
|
showDescription?: boolean | undefined;
|
|
4836
4846
|
showDefaults?: boolean | undefined;
|
|
4847
|
+
showThemeSwitcher?: boolean | undefined;
|
|
4837
4848
|
} | undefined, {
|
|
4838
4849
|
value: {
|
|
4839
4850
|
entityId?: string | undefined;
|
|
@@ -4853,6 +4864,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
4853
4864
|
showProperties?: boolean | undefined;
|
|
4854
4865
|
showDescription?: boolean | undefined;
|
|
4855
4866
|
showDefaults?: boolean | undefined;
|
|
4867
|
+
showThemeSwitcher?: boolean | undefined;
|
|
4856
4868
|
} | null | undefined>;
|
|
4857
4869
|
files: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
4858
4870
|
entityId: string;
|
|
@@ -5165,6 +5177,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
5165
5177
|
showProperties?: boolean | undefined;
|
|
5166
5178
|
showDescription?: boolean | undefined;
|
|
5167
5179
|
showDefaults?: boolean | undefined;
|
|
5180
|
+
showThemeSwitcher?: boolean | undefined;
|
|
5168
5181
|
} | undefined;
|
|
5169
5182
|
}, {
|
|
5170
5183
|
type: "Code" | "Image" | "Custom" | "Text" | "Link" | "Token" | "Component" | "Theme" | "Heading" | "UnorderedList" | "OrderedList" | "Quote" | "Callout" | "Divider" | "Embed" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "ComponentAssetGroup" | "RenderCode" | "Tabs" | "TabItem" | "Table" | "TableRow" | "TableCell" | "Guidelines" | "Guideline" | "FigmaComponents" | "FigmaComponentPropsTable" | "Files";
|
|
@@ -5452,6 +5465,7 @@ declare const PageBlockBaseV1: z.ZodObject<{
|
|
|
5452
5465
|
showProperties?: boolean | undefined;
|
|
5453
5466
|
showDescription?: boolean | undefined;
|
|
5454
5467
|
showDefaults?: boolean | undefined;
|
|
5468
|
+
showThemeSwitcher?: boolean | undefined;
|
|
5455
5469
|
} | null | undefined;
|
|
5456
5470
|
}>;
|
|
5457
5471
|
type PageBlockV1Input = z.input<typeof PageBlockBaseV1> & {
|
|
@@ -7693,6 +7707,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
7693
7707
|
showProperties?: boolean | undefined;
|
|
7694
7708
|
showDescription?: boolean | undefined;
|
|
7695
7709
|
showDefaults?: boolean | undefined;
|
|
7710
|
+
showThemeSwitcher?: boolean | undefined;
|
|
7696
7711
|
} | null | undefined;
|
|
7697
7712
|
} & {
|
|
7698
7713
|
children: ({
|
|
@@ -7981,6 +7996,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
7981
7996
|
showProperties?: boolean | undefined;
|
|
7982
7997
|
showDescription?: boolean | undefined;
|
|
7983
7998
|
showDefaults?: boolean | undefined;
|
|
7999
|
+
showThemeSwitcher?: boolean | undefined;
|
|
7984
8000
|
} | null | undefined;
|
|
7985
8001
|
} & /*elided*/ any)[] | null | undefined;
|
|
7986
8002
|
}>, "many">;
|
|
@@ -8615,6 +8631,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
8615
8631
|
showProperties?: boolean | undefined;
|
|
8616
8632
|
showDescription?: boolean | undefined;
|
|
8617
8633
|
showDefaults?: boolean | undefined;
|
|
8634
|
+
showThemeSwitcher?: boolean | undefined;
|
|
8618
8635
|
} | null | undefined;
|
|
8619
8636
|
} & {
|
|
8620
8637
|
children: ({
|
|
@@ -8903,6 +8920,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
8903
8920
|
showProperties?: boolean | undefined;
|
|
8904
8921
|
showDescription?: boolean | undefined;
|
|
8905
8922
|
showDefaults?: boolean | undefined;
|
|
8923
|
+
showThemeSwitcher?: boolean | undefined;
|
|
8906
8924
|
} | null | undefined;
|
|
8907
8925
|
} & /*elided*/ any)[] | null | undefined;
|
|
8908
8926
|
})[];
|
|
@@ -9351,6 +9369,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
9351
9369
|
showProperties?: boolean | undefined;
|
|
9352
9370
|
showDescription?: boolean | undefined;
|
|
9353
9371
|
showDefaults?: boolean | undefined;
|
|
9372
|
+
showThemeSwitcher?: boolean | undefined;
|
|
9354
9373
|
} | null | undefined;
|
|
9355
9374
|
} & {
|
|
9356
9375
|
children: ({
|
|
@@ -9639,6 +9658,7 @@ declare const DocumentationPageV1: z.ZodObject<{
|
|
|
9639
9658
|
showProperties?: boolean | undefined;
|
|
9640
9659
|
showDescription?: boolean | undefined;
|
|
9641
9660
|
showDefaults?: boolean | undefined;
|
|
9661
|
+
showThemeSwitcher?: boolean | undefined;
|
|
9642
9662
|
} | null | undefined;
|
|
9643
9663
|
} & /*elided*/ any)[] | null | undefined;
|
|
9644
9664
|
})[];
|
|
@@ -10989,6 +11009,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
10989
11009
|
showProperties?: boolean | undefined;
|
|
10990
11010
|
showDescription?: boolean | undefined;
|
|
10991
11011
|
showDefaults?: boolean | undefined;
|
|
11012
|
+
showThemeSwitcher?: boolean | undefined;
|
|
10992
11013
|
} | null | undefined;
|
|
10993
11014
|
} & {
|
|
10994
11015
|
children: ({
|
|
@@ -11277,6 +11298,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
11277
11298
|
showProperties?: boolean | undefined;
|
|
11278
11299
|
showDescription?: boolean | undefined;
|
|
11279
11300
|
showDefaults?: boolean | undefined;
|
|
11301
|
+
showThemeSwitcher?: boolean | undefined;
|
|
11280
11302
|
} | null | undefined;
|
|
11281
11303
|
} & /*elided*/ any)[] | null | undefined;
|
|
11282
11304
|
}>, "many">>;
|
|
@@ -11633,6 +11655,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
11633
11655
|
showProperties?: boolean | undefined;
|
|
11634
11656
|
showDescription?: boolean | undefined;
|
|
11635
11657
|
showDefaults?: boolean | undefined;
|
|
11658
|
+
showThemeSwitcher?: boolean | undefined;
|
|
11636
11659
|
} | null | undefined;
|
|
11637
11660
|
} & {
|
|
11638
11661
|
children: ({
|
|
@@ -11921,6 +11944,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
11921
11944
|
showProperties?: boolean | undefined;
|
|
11922
11945
|
showDescription?: boolean | undefined;
|
|
11923
11946
|
showDefaults?: boolean | undefined;
|
|
11947
|
+
showThemeSwitcher?: boolean | undefined;
|
|
11924
11948
|
} | null | undefined;
|
|
11925
11949
|
} & /*elided*/ any)[] | null | undefined;
|
|
11926
11950
|
})[] | undefined;
|
|
@@ -12295,6 +12319,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
12295
12319
|
showProperties?: boolean | undefined;
|
|
12296
12320
|
showDescription?: boolean | undefined;
|
|
12297
12321
|
showDefaults?: boolean | undefined;
|
|
12322
|
+
showThemeSwitcher?: boolean | undefined;
|
|
12298
12323
|
} | null | undefined;
|
|
12299
12324
|
} & {
|
|
12300
12325
|
children: ({
|
|
@@ -12583,6 +12608,7 @@ declare const DocumentationPageV2: z.ZodObject<{
|
|
|
12583
12608
|
showProperties?: boolean | undefined;
|
|
12584
12609
|
showDescription?: boolean | undefined;
|
|
12585
12610
|
showDefaults?: boolean | undefined;
|
|
12611
|
+
showThemeSwitcher?: boolean | undefined;
|
|
12586
12612
|
} | null | undefined;
|
|
12587
12613
|
} & /*elided*/ any)[] | null | undefined;
|
|
12588
12614
|
})[] | undefined;
|
|
@@ -55577,6 +55603,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
55577
55603
|
showProperties?: boolean | undefined;
|
|
55578
55604
|
showDescription?: boolean | undefined;
|
|
55579
55605
|
showDefaults?: boolean | undefined;
|
|
55606
|
+
showThemeSwitcher?: boolean | undefined;
|
|
55580
55607
|
} | null | undefined;
|
|
55581
55608
|
} & {
|
|
55582
55609
|
children: ({
|
|
@@ -55865,6 +55892,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
55865
55892
|
showProperties?: boolean | undefined;
|
|
55866
55893
|
showDescription?: boolean | undefined;
|
|
55867
55894
|
showDefaults?: boolean | undefined;
|
|
55895
|
+
showThemeSwitcher?: boolean | undefined;
|
|
55868
55896
|
} | null | undefined;
|
|
55869
55897
|
} & /*elided*/ any)[] | null | undefined;
|
|
55870
55898
|
}>, "many">;
|
|
@@ -56499,6 +56527,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
56499
56527
|
showProperties?: boolean | undefined;
|
|
56500
56528
|
showDescription?: boolean | undefined;
|
|
56501
56529
|
showDefaults?: boolean | undefined;
|
|
56530
|
+
showThemeSwitcher?: boolean | undefined;
|
|
56502
56531
|
} | null | undefined;
|
|
56503
56532
|
} & {
|
|
56504
56533
|
children: ({
|
|
@@ -56787,6 +56816,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
56787
56816
|
showProperties?: boolean | undefined;
|
|
56788
56817
|
showDescription?: boolean | undefined;
|
|
56789
56818
|
showDefaults?: boolean | undefined;
|
|
56819
|
+
showThemeSwitcher?: boolean | undefined;
|
|
56790
56820
|
} | null | undefined;
|
|
56791
56821
|
} & /*elided*/ any)[] | null | undefined;
|
|
56792
56822
|
})[];
|
|
@@ -57645,6 +57675,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
57645
57675
|
showProperties?: boolean | undefined;
|
|
57646
57676
|
showDescription?: boolean | undefined;
|
|
57647
57677
|
showDefaults?: boolean | undefined;
|
|
57678
|
+
showThemeSwitcher?: boolean | undefined;
|
|
57648
57679
|
} | null | undefined;
|
|
57649
57680
|
} & {
|
|
57650
57681
|
children: ({
|
|
@@ -57933,6 +57964,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
57933
57964
|
showProperties?: boolean | undefined;
|
|
57934
57965
|
showDescription?: boolean | undefined;
|
|
57935
57966
|
showDefaults?: boolean | undefined;
|
|
57967
|
+
showThemeSwitcher?: boolean | undefined;
|
|
57936
57968
|
} | null | undefined;
|
|
57937
57969
|
} & /*elided*/ any)[] | null | undefined;
|
|
57938
57970
|
}>, "many">;
|
|
@@ -58339,6 +58371,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
58339
58371
|
showProperties?: boolean | undefined;
|
|
58340
58372
|
showDescription?: boolean | undefined;
|
|
58341
58373
|
showDefaults?: boolean | undefined;
|
|
58374
|
+
showThemeSwitcher?: boolean | undefined;
|
|
58342
58375
|
} | null | undefined;
|
|
58343
58376
|
} & {
|
|
58344
58377
|
children: ({
|
|
@@ -58627,6 +58660,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<Omit<{
|
|
|
58627
58660
|
showProperties?: boolean | undefined;
|
|
58628
58661
|
showDescription?: boolean | undefined;
|
|
58629
58662
|
showDefaults?: boolean | undefined;
|
|
58663
|
+
showThemeSwitcher?: boolean | undefined;
|
|
58630
58664
|
} | null | undefined;
|
|
58631
58665
|
} & /*elided*/ any)[] | null | undefined;
|
|
58632
58666
|
})[];
|
package/dist/index.js
CHANGED
|
@@ -2007,7 +2007,8 @@ var PageBlockStorybookBlockConfig = _zod.z.object({
|
|
|
2007
2007
|
showFooter: _zod.z.boolean().optional(),
|
|
2008
2008
|
showProperties: _zod.z.boolean().optional(),
|
|
2009
2009
|
showDescription: _zod.z.boolean().optional(),
|
|
2010
|
-
showDefaults: _zod.z.boolean().optional()
|
|
2010
|
+
showDefaults: _zod.z.boolean().optional(),
|
|
2011
|
+
showThemeSwitcher: _zod.z.boolean().optional()
|
|
2011
2012
|
});
|
|
2012
2013
|
var PageBlockTextSpanAttributeType = _zod.z.enum(["Bold", "Italic", "Link", "Strikethrough", "Code", "Comment"]);
|
|
2013
2014
|
var PageBlockTextSpanAttribute = _zod.z.object({
|