@webstudio-is/sdk 0.206.0 → 0.208.0
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/lib/index.js +12 -2
- package/lib/types/core-metas.d.ts +35 -0
- package/lib/types/schema/animation-schema.d.ts +26 -0
- package/lib/types/schema/component-meta.d.ts +35 -0
- package/lib/types/schema/prop-meta.d.ts +21 -0
- package/lib/types/schema/props.d.ts +28 -0
- package/lib/types/schema/styles.d.ts +4 -4
- package/lib/types/schema/webstudio.d.ts +22 -4
- package/package.json +8 -8
package/lib/index.js
CHANGED
|
@@ -405,6 +405,7 @@ var viewRangeOptionsSchema = z6.object({
|
|
|
405
405
|
var baseAnimation = z6.object({
|
|
406
406
|
name: z6.string().optional(),
|
|
407
407
|
description: z6.string().optional(),
|
|
408
|
+
enabled: z6.array(z6.tuple([z6.string().describe("breakpointId"), z6.boolean()])).optional(),
|
|
408
409
|
keyframes: z6.array(animationKeyframeSchema)
|
|
409
410
|
});
|
|
410
411
|
var scrollAnimationSchema = baseAnimation.merge(
|
|
@@ -587,7 +588,7 @@ var StyleDeclRaw = z11.object({
|
|
|
587
588
|
// @todo can't figure out how to make property to be enum
|
|
588
589
|
property: z11.string(),
|
|
589
590
|
value: StyleValue2,
|
|
590
|
-
listed: z11.boolean().optional()
|
|
591
|
+
listed: z11.boolean().optional().describe("Whether the style is from the Advanced panel")
|
|
591
592
|
});
|
|
592
593
|
var StyleDecl = StyleDeclRaw;
|
|
593
594
|
var getStyleDeclKey = (styleDecl) => {
|
|
@@ -670,6 +671,12 @@ var Text = z14.object({
|
|
|
670
671
|
*/
|
|
671
672
|
rows: z14.number().optional()
|
|
672
673
|
});
|
|
674
|
+
var Resource2 = z14.object({
|
|
675
|
+
...common,
|
|
676
|
+
control: z14.literal("resource"),
|
|
677
|
+
type: z14.literal("resource"),
|
|
678
|
+
defaultValue: z14.string().optional()
|
|
679
|
+
});
|
|
673
680
|
var Code = z14.object({
|
|
674
681
|
...common,
|
|
675
682
|
control: z14.literal("code"),
|
|
@@ -787,6 +794,7 @@ var PropMeta = z14.union([
|
|
|
787
794
|
Number,
|
|
788
795
|
Range,
|
|
789
796
|
Text,
|
|
797
|
+
Resource2,
|
|
790
798
|
Code,
|
|
791
799
|
CodeText,
|
|
792
800
|
Color,
|
|
@@ -1777,7 +1785,9 @@ var replaceFormActionsWithResources = ({
|
|
|
1777
1785
|
name: "action",
|
|
1778
1786
|
method: getMethod(method),
|
|
1779
1787
|
url: JSON.stringify(action),
|
|
1780
|
-
headers: [
|
|
1788
|
+
headers: [
|
|
1789
|
+
{ name: "Content-Type", value: JSON.stringify("application/json") }
|
|
1790
|
+
]
|
|
1781
1791
|
});
|
|
1782
1792
|
}
|
|
1783
1793
|
}
|
|
@@ -37,6 +37,13 @@ export declare const corePropsMetas: {
|
|
|
37
37
|
rows?: number | undefined;
|
|
38
38
|
label?: string | undefined;
|
|
39
39
|
description?: string | undefined;
|
|
40
|
+
} | {
|
|
41
|
+
type: "resource";
|
|
42
|
+
required: boolean;
|
|
43
|
+
control: "resource";
|
|
44
|
+
defaultValue?: string | undefined;
|
|
45
|
+
label?: string | undefined;
|
|
46
|
+
description?: string | undefined;
|
|
40
47
|
} | {
|
|
41
48
|
type: "string";
|
|
42
49
|
required: boolean;
|
|
@@ -190,6 +197,13 @@ export declare const corePropsMetas: {
|
|
|
190
197
|
rows?: number | undefined;
|
|
191
198
|
label?: string | undefined;
|
|
192
199
|
description?: string | undefined;
|
|
200
|
+
} | {
|
|
201
|
+
type: "resource";
|
|
202
|
+
required: boolean;
|
|
203
|
+
control: "resource";
|
|
204
|
+
defaultValue?: string | undefined;
|
|
205
|
+
label?: string | undefined;
|
|
206
|
+
description?: string | undefined;
|
|
193
207
|
} | {
|
|
194
208
|
type: "string";
|
|
195
209
|
required: boolean;
|
|
@@ -343,6 +357,13 @@ export declare const corePropsMetas: {
|
|
|
343
357
|
rows?: number | undefined;
|
|
344
358
|
label?: string | undefined;
|
|
345
359
|
description?: string | undefined;
|
|
360
|
+
} | {
|
|
361
|
+
type: "resource";
|
|
362
|
+
required: boolean;
|
|
363
|
+
control: "resource";
|
|
364
|
+
defaultValue?: string | undefined;
|
|
365
|
+
label?: string | undefined;
|
|
366
|
+
description?: string | undefined;
|
|
346
367
|
} | {
|
|
347
368
|
type: "string";
|
|
348
369
|
required: boolean;
|
|
@@ -496,6 +517,13 @@ export declare const corePropsMetas: {
|
|
|
496
517
|
rows?: number | undefined;
|
|
497
518
|
label?: string | undefined;
|
|
498
519
|
description?: string | undefined;
|
|
520
|
+
} | {
|
|
521
|
+
type: "resource";
|
|
522
|
+
required: boolean;
|
|
523
|
+
control: "resource";
|
|
524
|
+
defaultValue?: string | undefined;
|
|
525
|
+
label?: string | undefined;
|
|
526
|
+
description?: string | undefined;
|
|
499
527
|
} | {
|
|
500
528
|
type: "string";
|
|
501
529
|
required: boolean;
|
|
@@ -649,6 +677,13 @@ export declare const corePropsMetas: {
|
|
|
649
677
|
rows?: number | undefined;
|
|
650
678
|
label?: string | undefined;
|
|
651
679
|
description?: string | undefined;
|
|
680
|
+
} | {
|
|
681
|
+
type: "resource";
|
|
682
|
+
required: boolean;
|
|
683
|
+
control: "resource";
|
|
684
|
+
defaultValue?: string | undefined;
|
|
685
|
+
label?: string | undefined;
|
|
686
|
+
description?: string | undefined;
|
|
652
687
|
} | {
|
|
653
688
|
type: "string";
|
|
654
689
|
required: boolean;
|
|
@@ -3822,6 +3822,7 @@ export declare const viewRangeOptionsSchema: z.ZodObject<{
|
|
|
3822
3822
|
export declare const scrollAnimationSchema: z.ZodObject<{
|
|
3823
3823
|
name: z.ZodOptional<z.ZodString>;
|
|
3824
3824
|
description: z.ZodOptional<z.ZodString>;
|
|
3825
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
3825
3826
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
3826
3827
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3827
3828
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -6255,6 +6256,7 @@ export declare const scrollAnimationSchema: z.ZodObject<{
|
|
|
6255
6256
|
};
|
|
6256
6257
|
name?: string | undefined;
|
|
6257
6258
|
description?: string | undefined;
|
|
6259
|
+
enabled?: [string, boolean][] | undefined;
|
|
6258
6260
|
}, {
|
|
6259
6261
|
keyframes: {
|
|
6260
6262
|
styles: Record<string, {
|
|
@@ -6553,6 +6555,7 @@ export declare const scrollAnimationSchema: z.ZodObject<{
|
|
|
6553
6555
|
};
|
|
6554
6556
|
name?: string | undefined;
|
|
6555
6557
|
description?: string | undefined;
|
|
6558
|
+
enabled?: [string, boolean][] | undefined;
|
|
6556
6559
|
}>;
|
|
6557
6560
|
export declare const scrollActionSchema: z.ZodObject<{
|
|
6558
6561
|
type: z.ZodLiteral<"scroll">;
|
|
@@ -6561,6 +6564,7 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
6561
6564
|
animations: z.ZodArray<z.ZodObject<{
|
|
6562
6565
|
name: z.ZodOptional<z.ZodString>;
|
|
6563
6566
|
description: z.ZodOptional<z.ZodString>;
|
|
6567
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
6564
6568
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
6565
6569
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
6566
6570
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -8994,6 +8998,7 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
8994
8998
|
};
|
|
8995
8999
|
name?: string | undefined;
|
|
8996
9000
|
description?: string | undefined;
|
|
9001
|
+
enabled?: [string, boolean][] | undefined;
|
|
8997
9002
|
}, {
|
|
8998
9003
|
keyframes: {
|
|
8999
9004
|
styles: Record<string, {
|
|
@@ -9292,6 +9297,7 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
9292
9297
|
};
|
|
9293
9298
|
name?: string | undefined;
|
|
9294
9299
|
description?: string | undefined;
|
|
9300
|
+
enabled?: [string, boolean][] | undefined;
|
|
9295
9301
|
}>, "many">;
|
|
9296
9302
|
isPinned: z.ZodOptional<z.ZodBoolean>;
|
|
9297
9303
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -9595,6 +9601,7 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
9595
9601
|
};
|
|
9596
9602
|
name?: string | undefined;
|
|
9597
9603
|
description?: string | undefined;
|
|
9604
|
+
enabled?: [string, boolean][] | undefined;
|
|
9598
9605
|
}[];
|
|
9599
9606
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
9600
9607
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -9900,6 +9907,7 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
9900
9907
|
};
|
|
9901
9908
|
name?: string | undefined;
|
|
9902
9909
|
description?: string | undefined;
|
|
9910
|
+
enabled?: [string, boolean][] | undefined;
|
|
9903
9911
|
}[];
|
|
9904
9912
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
9905
9913
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -9909,6 +9917,7 @@ export declare const scrollActionSchema: z.ZodObject<{
|
|
|
9909
9917
|
export declare const viewAnimationSchema: z.ZodObject<{
|
|
9910
9918
|
name: z.ZodOptional<z.ZodString>;
|
|
9911
9919
|
description: z.ZodOptional<z.ZodString>;
|
|
9920
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
9912
9921
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
9913
9922
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
9914
9923
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -12342,6 +12351,7 @@ export declare const viewAnimationSchema: z.ZodObject<{
|
|
|
12342
12351
|
};
|
|
12343
12352
|
name?: string | undefined;
|
|
12344
12353
|
description?: string | undefined;
|
|
12354
|
+
enabled?: [string, boolean][] | undefined;
|
|
12345
12355
|
}, {
|
|
12346
12356
|
keyframes: {
|
|
12347
12357
|
styles: Record<string, {
|
|
@@ -12640,6 +12650,7 @@ export declare const viewAnimationSchema: z.ZodObject<{
|
|
|
12640
12650
|
};
|
|
12641
12651
|
name?: string | undefined;
|
|
12642
12652
|
description?: string | undefined;
|
|
12653
|
+
enabled?: [string, boolean][] | undefined;
|
|
12643
12654
|
}>;
|
|
12644
12655
|
export declare const viewActionSchema: z.ZodObject<{
|
|
12645
12656
|
type: z.ZodLiteral<"view">;
|
|
@@ -12648,6 +12659,7 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
12648
12659
|
animations: z.ZodArray<z.ZodObject<{
|
|
12649
12660
|
name: z.ZodOptional<z.ZodString>;
|
|
12650
12661
|
description: z.ZodOptional<z.ZodString>;
|
|
12662
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
12651
12663
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
12652
12664
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
12653
12665
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -15081,6 +15093,7 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
15081
15093
|
};
|
|
15082
15094
|
name?: string | undefined;
|
|
15083
15095
|
description?: string | undefined;
|
|
15096
|
+
enabled?: [string, boolean][] | undefined;
|
|
15084
15097
|
}, {
|
|
15085
15098
|
keyframes: {
|
|
15086
15099
|
styles: Record<string, {
|
|
@@ -15379,6 +15392,7 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
15379
15392
|
};
|
|
15380
15393
|
name?: string | undefined;
|
|
15381
15394
|
description?: string | undefined;
|
|
15395
|
+
enabled?: [string, boolean][] | undefined;
|
|
15382
15396
|
}>, "many">;
|
|
15383
15397
|
insetStart: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
15384
15398
|
type: z.ZodLiteral<"unit">;
|
|
@@ -15744,6 +15758,7 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
15744
15758
|
};
|
|
15745
15759
|
name?: string | undefined;
|
|
15746
15760
|
description?: string | undefined;
|
|
15761
|
+
enabled?: [string, boolean][] | undefined;
|
|
15747
15762
|
}[];
|
|
15748
15763
|
subject?: string | undefined;
|
|
15749
15764
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -16071,6 +16086,7 @@ export declare const viewActionSchema: z.ZodObject<{
|
|
|
16071
16086
|
};
|
|
16072
16087
|
name?: string | undefined;
|
|
16073
16088
|
description?: string | undefined;
|
|
16089
|
+
enabled?: [string, boolean][] | undefined;
|
|
16074
16090
|
}[];
|
|
16075
16091
|
subject?: string | undefined;
|
|
16076
16092
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -16106,6 +16122,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
16106
16122
|
animations: z.ZodArray<z.ZodObject<{
|
|
16107
16123
|
name: z.ZodOptional<z.ZodString>;
|
|
16108
16124
|
description: z.ZodOptional<z.ZodString>;
|
|
16125
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
16109
16126
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
16110
16127
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
16111
16128
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -18539,6 +18556,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
18539
18556
|
};
|
|
18540
18557
|
name?: string | undefined;
|
|
18541
18558
|
description?: string | undefined;
|
|
18559
|
+
enabled?: [string, boolean][] | undefined;
|
|
18542
18560
|
}, {
|
|
18543
18561
|
keyframes: {
|
|
18544
18562
|
styles: Record<string, {
|
|
@@ -18837,6 +18855,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
18837
18855
|
};
|
|
18838
18856
|
name?: string | undefined;
|
|
18839
18857
|
description?: string | undefined;
|
|
18858
|
+
enabled?: [string, boolean][] | undefined;
|
|
18840
18859
|
}>, "many">;
|
|
18841
18860
|
isPinned: z.ZodOptional<z.ZodBoolean>;
|
|
18842
18861
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -19140,6 +19159,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
19140
19159
|
};
|
|
19141
19160
|
name?: string | undefined;
|
|
19142
19161
|
description?: string | undefined;
|
|
19162
|
+
enabled?: [string, boolean][] | undefined;
|
|
19143
19163
|
}[];
|
|
19144
19164
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
19145
19165
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -19445,6 +19465,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
19445
19465
|
};
|
|
19446
19466
|
name?: string | undefined;
|
|
19447
19467
|
description?: string | undefined;
|
|
19468
|
+
enabled?: [string, boolean][] | undefined;
|
|
19448
19469
|
}[];
|
|
19449
19470
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
19450
19471
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -19457,6 +19478,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
19457
19478
|
animations: z.ZodArray<z.ZodObject<{
|
|
19458
19479
|
name: z.ZodOptional<z.ZodString>;
|
|
19459
19480
|
description: z.ZodOptional<z.ZodString>;
|
|
19481
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
19460
19482
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
19461
19483
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
19462
19484
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -21890,6 +21912,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
21890
21912
|
};
|
|
21891
21913
|
name?: string | undefined;
|
|
21892
21914
|
description?: string | undefined;
|
|
21915
|
+
enabled?: [string, boolean][] | undefined;
|
|
21893
21916
|
}, {
|
|
21894
21917
|
keyframes: {
|
|
21895
21918
|
styles: Record<string, {
|
|
@@ -22188,6 +22211,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
22188
22211
|
};
|
|
22189
22212
|
name?: string | undefined;
|
|
22190
22213
|
description?: string | undefined;
|
|
22214
|
+
enabled?: [string, boolean][] | undefined;
|
|
22191
22215
|
}>, "many">;
|
|
22192
22216
|
insetStart: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
22193
22217
|
type: z.ZodLiteral<"unit">;
|
|
@@ -22553,6 +22577,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
22553
22577
|
};
|
|
22554
22578
|
name?: string | undefined;
|
|
22555
22579
|
description?: string | undefined;
|
|
22580
|
+
enabled?: [string, boolean][] | undefined;
|
|
22556
22581
|
}[];
|
|
22557
22582
|
subject?: string | undefined;
|
|
22558
22583
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -22880,6 +22905,7 @@ export declare const animationActionSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
22880
22905
|
};
|
|
22881
22906
|
name?: string | undefined;
|
|
22882
22907
|
description?: string | undefined;
|
|
22908
|
+
enabled?: [string, boolean][] | undefined;
|
|
22883
22909
|
}[];
|
|
22884
22910
|
subject?: string | undefined;
|
|
22885
22911
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -2125,6 +2125,27 @@ declare const WsComponentPropsMeta: z.ZodObject<{
|
|
|
2125
2125
|
rows?: number | undefined;
|
|
2126
2126
|
label?: string | undefined;
|
|
2127
2127
|
description?: string | undefined;
|
|
2128
|
+
}>, z.ZodObject<{
|
|
2129
|
+
control: z.ZodLiteral<"resource">;
|
|
2130
|
+
type: z.ZodLiteral<"resource">;
|
|
2131
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2132
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2133
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2134
|
+
required: z.ZodBoolean;
|
|
2135
|
+
}, "strip", z.ZodTypeAny, {
|
|
2136
|
+
type: "resource";
|
|
2137
|
+
required: boolean;
|
|
2138
|
+
control: "resource";
|
|
2139
|
+
defaultValue?: string | undefined;
|
|
2140
|
+
label?: string | undefined;
|
|
2141
|
+
description?: string | undefined;
|
|
2142
|
+
}, {
|
|
2143
|
+
type: "resource";
|
|
2144
|
+
required: boolean;
|
|
2145
|
+
control: "resource";
|
|
2146
|
+
defaultValue?: string | undefined;
|
|
2147
|
+
label?: string | undefined;
|
|
2148
|
+
description?: string | undefined;
|
|
2128
2149
|
}>, z.ZodObject<{
|
|
2129
2150
|
control: z.ZodLiteral<"code">;
|
|
2130
2151
|
type: z.ZodLiteral<"string">;
|
|
@@ -2531,6 +2552,13 @@ declare const WsComponentPropsMeta: z.ZodObject<{
|
|
|
2531
2552
|
rows?: number | undefined;
|
|
2532
2553
|
label?: string | undefined;
|
|
2533
2554
|
description?: string | undefined;
|
|
2555
|
+
} | {
|
|
2556
|
+
type: "resource";
|
|
2557
|
+
required: boolean;
|
|
2558
|
+
control: "resource";
|
|
2559
|
+
defaultValue?: string | undefined;
|
|
2560
|
+
label?: string | undefined;
|
|
2561
|
+
description?: string | undefined;
|
|
2534
2562
|
} | {
|
|
2535
2563
|
type: "string";
|
|
2536
2564
|
required: boolean;
|
|
@@ -2683,6 +2711,13 @@ declare const WsComponentPropsMeta: z.ZodObject<{
|
|
|
2683
2711
|
rows?: number | undefined;
|
|
2684
2712
|
label?: string | undefined;
|
|
2685
2713
|
description?: string | undefined;
|
|
2714
|
+
} | {
|
|
2715
|
+
type: "resource";
|
|
2716
|
+
required: boolean;
|
|
2717
|
+
control: "resource";
|
|
2718
|
+
defaultValue?: string | undefined;
|
|
2719
|
+
label?: string | undefined;
|
|
2720
|
+
description?: string | undefined;
|
|
2686
2721
|
} | {
|
|
2687
2722
|
type: "string";
|
|
2688
2723
|
required: boolean;
|
|
@@ -69,6 +69,27 @@ export declare const PropMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
69
69
|
rows?: number | undefined;
|
|
70
70
|
label?: string | undefined;
|
|
71
71
|
description?: string | undefined;
|
|
72
|
+
}>, z.ZodObject<{
|
|
73
|
+
control: z.ZodLiteral<"resource">;
|
|
74
|
+
type: z.ZodLiteral<"resource">;
|
|
75
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
76
|
+
label: z.ZodOptional<z.ZodString>;
|
|
77
|
+
description: z.ZodOptional<z.ZodString>;
|
|
78
|
+
required: z.ZodBoolean;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
type: "resource";
|
|
81
|
+
required: boolean;
|
|
82
|
+
control: "resource";
|
|
83
|
+
defaultValue?: string | undefined;
|
|
84
|
+
label?: string | undefined;
|
|
85
|
+
description?: string | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
type: "resource";
|
|
88
|
+
required: boolean;
|
|
89
|
+
control: "resource";
|
|
90
|
+
defaultValue?: string | undefined;
|
|
91
|
+
label?: string | undefined;
|
|
92
|
+
description?: string | undefined;
|
|
72
93
|
}>, z.ZodObject<{
|
|
73
94
|
control: z.ZodLiteral<"code">;
|
|
74
95
|
type: z.ZodLiteral<"string">;
|
|
@@ -280,6 +280,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
280
280
|
animations: z.ZodArray<z.ZodObject<{
|
|
281
281
|
name: z.ZodOptional<z.ZodString>;
|
|
282
282
|
description: z.ZodOptional<z.ZodString>;
|
|
283
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
283
284
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
284
285
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
285
286
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -2713,6 +2714,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
2713
2714
|
};
|
|
2714
2715
|
name?: string | undefined;
|
|
2715
2716
|
description?: string | undefined;
|
|
2717
|
+
enabled?: [string, boolean][] | undefined;
|
|
2716
2718
|
}, {
|
|
2717
2719
|
keyframes: {
|
|
2718
2720
|
styles: Record<string, {
|
|
@@ -3011,6 +3013,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
3011
3013
|
};
|
|
3012
3014
|
name?: string | undefined;
|
|
3013
3015
|
description?: string | undefined;
|
|
3016
|
+
enabled?: [string, boolean][] | undefined;
|
|
3014
3017
|
}>, "many">;
|
|
3015
3018
|
isPinned: z.ZodOptional<z.ZodBoolean>;
|
|
3016
3019
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3314,6 +3317,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
3314
3317
|
};
|
|
3315
3318
|
name?: string | undefined;
|
|
3316
3319
|
description?: string | undefined;
|
|
3320
|
+
enabled?: [string, boolean][] | undefined;
|
|
3317
3321
|
}[];
|
|
3318
3322
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
3319
3323
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -3619,6 +3623,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
3619
3623
|
};
|
|
3620
3624
|
name?: string | undefined;
|
|
3621
3625
|
description?: string | undefined;
|
|
3626
|
+
enabled?: [string, boolean][] | undefined;
|
|
3622
3627
|
}[];
|
|
3623
3628
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
3624
3629
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -3631,6 +3636,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
3631
3636
|
animations: z.ZodArray<z.ZodObject<{
|
|
3632
3637
|
name: z.ZodOptional<z.ZodString>;
|
|
3633
3638
|
description: z.ZodOptional<z.ZodString>;
|
|
3639
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
3634
3640
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
3635
3641
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
3636
3642
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -6064,6 +6070,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
6064
6070
|
};
|
|
6065
6071
|
name?: string | undefined;
|
|
6066
6072
|
description?: string | undefined;
|
|
6073
|
+
enabled?: [string, boolean][] | undefined;
|
|
6067
6074
|
}, {
|
|
6068
6075
|
keyframes: {
|
|
6069
6076
|
styles: Record<string, {
|
|
@@ -6362,6 +6369,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
6362
6369
|
};
|
|
6363
6370
|
name?: string | undefined;
|
|
6364
6371
|
description?: string | undefined;
|
|
6372
|
+
enabled?: [string, boolean][] | undefined;
|
|
6365
6373
|
}>, "many">;
|
|
6366
6374
|
insetStart: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
6367
6375
|
type: z.ZodLiteral<"unit">;
|
|
@@ -6727,6 +6735,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
6727
6735
|
};
|
|
6728
6736
|
name?: string | undefined;
|
|
6729
6737
|
description?: string | undefined;
|
|
6738
|
+
enabled?: [string, boolean][] | undefined;
|
|
6730
6739
|
}[];
|
|
6731
6740
|
subject?: string | undefined;
|
|
6732
6741
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -7054,6 +7063,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
7054
7063
|
};
|
|
7055
7064
|
name?: string | undefined;
|
|
7056
7065
|
description?: string | undefined;
|
|
7066
|
+
enabled?: [string, boolean][] | undefined;
|
|
7057
7067
|
}[];
|
|
7058
7068
|
subject?: string | undefined;
|
|
7059
7069
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -7387,6 +7397,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
7387
7397
|
};
|
|
7388
7398
|
name?: string | undefined;
|
|
7389
7399
|
description?: string | undefined;
|
|
7400
|
+
enabled?: [string, boolean][] | undefined;
|
|
7390
7401
|
}[];
|
|
7391
7402
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
7392
7403
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -7692,6 +7703,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
7692
7703
|
};
|
|
7693
7704
|
name?: string | undefined;
|
|
7694
7705
|
description?: string | undefined;
|
|
7706
|
+
enabled?: [string, boolean][] | undefined;
|
|
7695
7707
|
}[];
|
|
7696
7708
|
subject?: string | undefined;
|
|
7697
7709
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -8026,6 +8038,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
8026
8038
|
};
|
|
8027
8039
|
name?: string | undefined;
|
|
8028
8040
|
description?: string | undefined;
|
|
8041
|
+
enabled?: [string, boolean][] | undefined;
|
|
8029
8042
|
}[];
|
|
8030
8043
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
8031
8044
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -8331,6 +8344,7 @@ export declare const Prop: z.ZodUnion<[z.ZodObject<{
|
|
|
8331
8344
|
};
|
|
8332
8345
|
name?: string | undefined;
|
|
8333
8346
|
description?: string | undefined;
|
|
8347
|
+
enabled?: [string, boolean][] | undefined;
|
|
8334
8348
|
}[];
|
|
8335
8349
|
subject?: string | undefined;
|
|
8336
8350
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -8647,6 +8661,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
8647
8661
|
animations: z.ZodArray<z.ZodObject<{
|
|
8648
8662
|
name: z.ZodOptional<z.ZodString>;
|
|
8649
8663
|
description: z.ZodOptional<z.ZodString>;
|
|
8664
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
8650
8665
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
8651
8666
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
8652
8667
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -11080,6 +11095,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
11080
11095
|
};
|
|
11081
11096
|
name?: string | undefined;
|
|
11082
11097
|
description?: string | undefined;
|
|
11098
|
+
enabled?: [string, boolean][] | undefined;
|
|
11083
11099
|
}, {
|
|
11084
11100
|
keyframes: {
|
|
11085
11101
|
styles: Record<string, {
|
|
@@ -11378,6 +11394,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
11378
11394
|
};
|
|
11379
11395
|
name?: string | undefined;
|
|
11380
11396
|
description?: string | undefined;
|
|
11397
|
+
enabled?: [string, boolean][] | undefined;
|
|
11381
11398
|
}>, "many">;
|
|
11382
11399
|
isPinned: z.ZodOptional<z.ZodBoolean>;
|
|
11383
11400
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11681,6 +11698,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
11681
11698
|
};
|
|
11682
11699
|
name?: string | undefined;
|
|
11683
11700
|
description?: string | undefined;
|
|
11701
|
+
enabled?: [string, boolean][] | undefined;
|
|
11684
11702
|
}[];
|
|
11685
11703
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
11686
11704
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -11986,6 +12004,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
11986
12004
|
};
|
|
11987
12005
|
name?: string | undefined;
|
|
11988
12006
|
description?: string | undefined;
|
|
12007
|
+
enabled?: [string, boolean][] | undefined;
|
|
11989
12008
|
}[];
|
|
11990
12009
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
11991
12010
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -11998,6 +12017,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
11998
12017
|
animations: z.ZodArray<z.ZodObject<{
|
|
11999
12018
|
name: z.ZodOptional<z.ZodString>;
|
|
12000
12019
|
description: z.ZodOptional<z.ZodString>;
|
|
12020
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
12001
12021
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
12002
12022
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
12003
12023
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -14431,6 +14451,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
14431
14451
|
};
|
|
14432
14452
|
name?: string | undefined;
|
|
14433
14453
|
description?: string | undefined;
|
|
14454
|
+
enabled?: [string, boolean][] | undefined;
|
|
14434
14455
|
}, {
|
|
14435
14456
|
keyframes: {
|
|
14436
14457
|
styles: Record<string, {
|
|
@@ -14729,6 +14750,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
14729
14750
|
};
|
|
14730
14751
|
name?: string | undefined;
|
|
14731
14752
|
description?: string | undefined;
|
|
14753
|
+
enabled?: [string, boolean][] | undefined;
|
|
14732
14754
|
}>, "many">;
|
|
14733
14755
|
insetStart: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
14734
14756
|
type: z.ZodLiteral<"unit">;
|
|
@@ -15094,6 +15116,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
15094
15116
|
};
|
|
15095
15117
|
name?: string | undefined;
|
|
15096
15118
|
description?: string | undefined;
|
|
15119
|
+
enabled?: [string, boolean][] | undefined;
|
|
15097
15120
|
}[];
|
|
15098
15121
|
subject?: string | undefined;
|
|
15099
15122
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -15421,6 +15444,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
15421
15444
|
};
|
|
15422
15445
|
name?: string | undefined;
|
|
15423
15446
|
description?: string | undefined;
|
|
15447
|
+
enabled?: [string, boolean][] | undefined;
|
|
15424
15448
|
}[];
|
|
15425
15449
|
subject?: string | undefined;
|
|
15426
15450
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -15754,6 +15778,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
15754
15778
|
};
|
|
15755
15779
|
name?: string | undefined;
|
|
15756
15780
|
description?: string | undefined;
|
|
15781
|
+
enabled?: [string, boolean][] | undefined;
|
|
15757
15782
|
}[];
|
|
15758
15783
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
15759
15784
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -16059,6 +16084,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
16059
16084
|
};
|
|
16060
16085
|
name?: string | undefined;
|
|
16061
16086
|
description?: string | undefined;
|
|
16087
|
+
enabled?: [string, boolean][] | undefined;
|
|
16062
16088
|
}[];
|
|
16063
16089
|
subject?: string | undefined;
|
|
16064
16090
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -16393,6 +16419,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
16393
16419
|
};
|
|
16394
16420
|
name?: string | undefined;
|
|
16395
16421
|
description?: string | undefined;
|
|
16422
|
+
enabled?: [string, boolean][] | undefined;
|
|
16396
16423
|
}[];
|
|
16397
16424
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
16398
16425
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -16698,6 +16725,7 @@ export declare const Props: z.ZodMap<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
|
16698
16725
|
};
|
|
16699
16726
|
name?: string | undefined;
|
|
16700
16727
|
description?: string | undefined;
|
|
16728
|
+
enabled?: [string, boolean][] | undefined;
|
|
16701
16729
|
}[];
|
|
16702
16730
|
subject?: string | undefined;
|
|
16703
16731
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -1779,8 +1779,8 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
1779
1779
|
hidden?: boolean | undefined;
|
|
1780
1780
|
};
|
|
1781
1781
|
property: string;
|
|
1782
|
-
styleSourceId: string;
|
|
1783
1782
|
breakpointId: string;
|
|
1783
|
+
styleSourceId: string;
|
|
1784
1784
|
state?: string | undefined;
|
|
1785
1785
|
listed?: boolean | undefined;
|
|
1786
1786
|
}, {
|
|
@@ -2057,8 +2057,8 @@ declare const StyleDeclRaw: z.ZodObject<{
|
|
|
2057
2057
|
hidden?: boolean | undefined;
|
|
2058
2058
|
};
|
|
2059
2059
|
property: string;
|
|
2060
|
-
styleSourceId: string;
|
|
2061
2060
|
breakpointId: string;
|
|
2061
|
+
styleSourceId: string;
|
|
2062
2062
|
state?: string | undefined;
|
|
2063
2063
|
listed?: boolean | undefined;
|
|
2064
2064
|
}>;
|
|
@@ -2342,8 +2342,8 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2342
2342
|
hidden?: boolean | undefined;
|
|
2343
2343
|
};
|
|
2344
2344
|
state?: string | undefined;
|
|
2345
|
-
styleSourceId: string;
|
|
2346
2345
|
breakpointId: string;
|
|
2346
|
+
styleSourceId: string;
|
|
2347
2347
|
listed?: boolean | undefined;
|
|
2348
2348
|
property: StyleProperty;
|
|
2349
2349
|
}, z.ZodTypeDef, {
|
|
@@ -2620,8 +2620,8 @@ export declare const Styles: z.ZodMap<z.ZodString, z.ZodType<{
|
|
|
2620
2620
|
hidden?: boolean | undefined;
|
|
2621
2621
|
};
|
|
2622
2622
|
state?: string | undefined;
|
|
2623
|
-
styleSourceId: string;
|
|
2624
2623
|
breakpointId: string;
|
|
2624
|
+
styleSourceId: string;
|
|
2625
2625
|
listed?: boolean | undefined;
|
|
2626
2626
|
property: StyleProperty;
|
|
2627
2627
|
}>>;
|
|
@@ -732,6 +732,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
732
732
|
animations: z.ZodArray<z.ZodObject<{
|
|
733
733
|
name: z.ZodOptional<z.ZodString>;
|
|
734
734
|
description: z.ZodOptional<z.ZodString>;
|
|
735
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
735
736
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
736
737
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
737
738
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -3165,6 +3166,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
3165
3166
|
};
|
|
3166
3167
|
name?: string | undefined;
|
|
3167
3168
|
description?: string | undefined;
|
|
3169
|
+
enabled?: [string, boolean][] | undefined;
|
|
3168
3170
|
}, {
|
|
3169
3171
|
keyframes: {
|
|
3170
3172
|
styles: Record<string, {
|
|
@@ -3463,6 +3465,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
3463
3465
|
};
|
|
3464
3466
|
name?: string | undefined;
|
|
3465
3467
|
description?: string | undefined;
|
|
3468
|
+
enabled?: [string, boolean][] | undefined;
|
|
3466
3469
|
}>, "many">;
|
|
3467
3470
|
isPinned: z.ZodOptional<z.ZodBoolean>;
|
|
3468
3471
|
debug: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3766,6 +3769,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
3766
3769
|
};
|
|
3767
3770
|
name?: string | undefined;
|
|
3768
3771
|
description?: string | undefined;
|
|
3772
|
+
enabled?: [string, boolean][] | undefined;
|
|
3769
3773
|
}[];
|
|
3770
3774
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
3771
3775
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -4071,6 +4075,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
4071
4075
|
};
|
|
4072
4076
|
name?: string | undefined;
|
|
4073
4077
|
description?: string | undefined;
|
|
4078
|
+
enabled?: [string, boolean][] | undefined;
|
|
4074
4079
|
}[];
|
|
4075
4080
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
4076
4081
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -4083,6 +4088,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
4083
4088
|
animations: z.ZodArray<z.ZodObject<{
|
|
4084
4089
|
name: z.ZodOptional<z.ZodString>;
|
|
4085
4090
|
description: z.ZodOptional<z.ZodString>;
|
|
4091
|
+
enabled: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodBoolean], null>, "many">>;
|
|
4086
4092
|
keyframes: z.ZodArray<z.ZodObject<{
|
|
4087
4093
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
4088
4094
|
styles: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -6516,6 +6522,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
6516
6522
|
};
|
|
6517
6523
|
name?: string | undefined;
|
|
6518
6524
|
description?: string | undefined;
|
|
6525
|
+
enabled?: [string, boolean][] | undefined;
|
|
6519
6526
|
}, {
|
|
6520
6527
|
keyframes: {
|
|
6521
6528
|
styles: Record<string, {
|
|
@@ -6814,6 +6821,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
6814
6821
|
};
|
|
6815
6822
|
name?: string | undefined;
|
|
6816
6823
|
description?: string | undefined;
|
|
6824
|
+
enabled?: [string, boolean][] | undefined;
|
|
6817
6825
|
}>, "many">;
|
|
6818
6826
|
insetStart: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
6819
6827
|
type: z.ZodLiteral<"unit">;
|
|
@@ -7179,6 +7187,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
7179
7187
|
};
|
|
7180
7188
|
name?: string | undefined;
|
|
7181
7189
|
description?: string | undefined;
|
|
7190
|
+
enabled?: [string, boolean][] | undefined;
|
|
7182
7191
|
}[];
|
|
7183
7192
|
subject?: string | undefined;
|
|
7184
7193
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -7506,6 +7515,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
7506
7515
|
};
|
|
7507
7516
|
name?: string | undefined;
|
|
7508
7517
|
description?: string | undefined;
|
|
7518
|
+
enabled?: [string, boolean][] | undefined;
|
|
7509
7519
|
}[];
|
|
7510
7520
|
subject?: string | undefined;
|
|
7511
7521
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -7839,6 +7849,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
7839
7849
|
};
|
|
7840
7850
|
name?: string | undefined;
|
|
7841
7851
|
description?: string | undefined;
|
|
7852
|
+
enabled?: [string, boolean][] | undefined;
|
|
7842
7853
|
}[];
|
|
7843
7854
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
7844
7855
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -8144,6 +8155,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
8144
8155
|
};
|
|
8145
8156
|
name?: string | undefined;
|
|
8146
8157
|
description?: string | undefined;
|
|
8158
|
+
enabled?: [string, boolean][] | undefined;
|
|
8147
8159
|
}[];
|
|
8148
8160
|
subject?: string | undefined;
|
|
8149
8161
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -8478,6 +8490,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
8478
8490
|
};
|
|
8479
8491
|
name?: string | undefined;
|
|
8480
8492
|
description?: string | undefined;
|
|
8493
|
+
enabled?: [string, boolean][] | undefined;
|
|
8481
8494
|
}[];
|
|
8482
8495
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
8483
8496
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -8783,6 +8796,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
8783
8796
|
};
|
|
8784
8797
|
name?: string | undefined;
|
|
8785
8798
|
description?: string | undefined;
|
|
8799
|
+
enabled?: [string, boolean][] | undefined;
|
|
8786
8800
|
}[];
|
|
8787
8801
|
subject?: string | undefined;
|
|
8788
8802
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -9149,8 +9163,8 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
9149
9163
|
hidden?: boolean | undefined;
|
|
9150
9164
|
};
|
|
9151
9165
|
state?: string | undefined;
|
|
9152
|
-
styleSourceId: string;
|
|
9153
9166
|
breakpointId: string;
|
|
9167
|
+
styleSourceId: string;
|
|
9154
9168
|
listed?: boolean | undefined;
|
|
9155
9169
|
property: import("@webstudio-is/css-engine").StyleProperty;
|
|
9156
9170
|
}, z.ZodTypeDef, {
|
|
@@ -9427,8 +9441,8 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
9427
9441
|
hidden?: boolean | undefined;
|
|
9428
9442
|
};
|
|
9429
9443
|
state?: string | undefined;
|
|
9430
|
-
styleSourceId: string;
|
|
9431
9444
|
breakpointId: string;
|
|
9445
|
+
styleSourceId: string;
|
|
9432
9446
|
listed?: boolean | undefined;
|
|
9433
9447
|
property: import("@webstudio-is/css-engine").StyleProperty;
|
|
9434
9448
|
}>, "many">;
|
|
@@ -9832,6 +9846,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
9832
9846
|
};
|
|
9833
9847
|
name?: string | undefined;
|
|
9834
9848
|
description?: string | undefined;
|
|
9849
|
+
enabled?: [string, boolean][] | undefined;
|
|
9835
9850
|
}[];
|
|
9836
9851
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
9837
9852
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -10137,6 +10152,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
10137
10152
|
};
|
|
10138
10153
|
name?: string | undefined;
|
|
10139
10154
|
description?: string | undefined;
|
|
10155
|
+
enabled?: [string, boolean][] | undefined;
|
|
10140
10156
|
}[];
|
|
10141
10157
|
subject?: string | undefined;
|
|
10142
10158
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -10445,8 +10461,8 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
10445
10461
|
hidden?: boolean | undefined;
|
|
10446
10462
|
};
|
|
10447
10463
|
state?: string | undefined;
|
|
10448
|
-
styleSourceId: string;
|
|
10449
10464
|
breakpointId: string;
|
|
10465
|
+
styleSourceId: string;
|
|
10450
10466
|
listed?: boolean | undefined;
|
|
10451
10467
|
property: import("@webstudio-is/css-engine").StyleProperty;
|
|
10452
10468
|
}[];
|
|
@@ -10978,6 +10994,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
10978
10994
|
};
|
|
10979
10995
|
name?: string | undefined;
|
|
10980
10996
|
description?: string | undefined;
|
|
10997
|
+
enabled?: [string, boolean][] | undefined;
|
|
10981
10998
|
}[];
|
|
10982
10999
|
source?: "closest" | "nearest" | "root" | undefined;
|
|
10983
11000
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -11283,6 +11300,7 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
11283
11300
|
};
|
|
11284
11301
|
name?: string | undefined;
|
|
11285
11302
|
description?: string | undefined;
|
|
11303
|
+
enabled?: [string, boolean][] | undefined;
|
|
11286
11304
|
}[];
|
|
11287
11305
|
subject?: string | undefined;
|
|
11288
11306
|
axis?: "x" | "block" | "inline" | "y" | undefined;
|
|
@@ -11591,8 +11609,8 @@ export declare const WebstudioFragment: z.ZodObject<{
|
|
|
11591
11609
|
hidden?: boolean | undefined;
|
|
11592
11610
|
};
|
|
11593
11611
|
state?: string | undefined;
|
|
11594
|
-
styleSourceId: string;
|
|
11595
11612
|
breakpointId: string;
|
|
11613
|
+
styleSourceId: string;
|
|
11596
11614
|
listed?: boolean | undefined;
|
|
11597
11615
|
property: import("@webstudio-is/css-engine").StyleProperty;
|
|
11598
11616
|
}[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.208.0",
|
|
4
4
|
"description": "Webstudio project data schema",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
],
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"acorn": "^8.14.
|
|
37
|
+
"acorn": "^8.14.1",
|
|
38
38
|
"acorn-walk": "^8.3.4",
|
|
39
39
|
"change-case": "^5.4.4",
|
|
40
40
|
"reserved-identifiers": "^1.0.0",
|
|
41
|
-
"type-fest": "^4.
|
|
41
|
+
"type-fest": "^4.37.0",
|
|
42
42
|
"zod": "^3.22.4",
|
|
43
|
-
"@webstudio-is/css-engine": "0.
|
|
44
|
-
"@webstudio-is/
|
|
45
|
-
"@webstudio-is/
|
|
43
|
+
"@webstudio-is/css-engine": "0.208.0",
|
|
44
|
+
"@webstudio-is/fonts": "0.208.0",
|
|
45
|
+
"@webstudio-is/icons": "0.208.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"html-tags": "^4.0.0",
|
|
49
|
-
"vitest": "^3.0.
|
|
49
|
+
"vitest": "^3.0.8",
|
|
50
50
|
"@webstudio-is/css-data": "0.0.0",
|
|
51
|
-
"@webstudio-is/template": "0.
|
|
51
|
+
"@webstudio-is/template": "0.208.0",
|
|
52
52
|
"@webstudio-is/tsconfig": "1.0.7"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|