@webstudio-is/sdk 0.205.0 → 0.207.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/__generated__/normalize.css.js +247 -151
- package/lib/core-templates.js +5 -5
- package/lib/index.js +72 -10
- package/lib/types/__generated__/normalize.css.d.ts +2 -2
- package/lib/types/core-metas.d.ts +35 -0
- package/lib/types/instances-utils.d.ts +3 -0
- package/lib/types/schema/animation-schema.d.ts +26 -0
- package/lib/types/schema/component-meta.d.ts +3971 -379
- 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 +10 -10
|
@@ -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.207.0",
|
|
4
4
|
"description": "Webstudio project data schema",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -34,22 +34,22 @@
|
|
|
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/
|
|
44
|
-
"@webstudio-is/
|
|
45
|
-
"@webstudio-is/
|
|
43
|
+
"@webstudio-is/fonts": "0.207.0",
|
|
44
|
+
"@webstudio-is/icons": "0.207.0",
|
|
45
|
+
"@webstudio-is/css-engine": "0.207.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"html-tags": "^4.0.0",
|
|
49
|
-
"vitest": "^3.0.
|
|
50
|
-
"@webstudio-is/
|
|
51
|
-
"@webstudio-is/
|
|
52
|
-
"@webstudio-is/
|
|
49
|
+
"vitest": "^3.0.8",
|
|
50
|
+
"@webstudio-is/css-data": "0.0.0",
|
|
51
|
+
"@webstudio-is/template": "0.207.0",
|
|
52
|
+
"@webstudio-is/tsconfig": "1.0.7"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"typecheck": "tsc",
|