@makeswift/prop-controllers 0.1.0-canary.4 → 0.1.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/dist/index.cjs +315 -187
- package/dist/types/border/border.d.ts +4 -4
- package/dist/types/border-radius/border-radius.d.ts +2 -2
- package/dist/types/checkbox/checkbox.d.ts +4 -4
- package/dist/types/data.d.ts +37 -0
- package/dist/types/data.d.ts.map +1 -1
- package/dist/types/date/date.d.ts +4 -4
- package/dist/types/font/font.d.ts +4 -4
- package/dist/types/gap-x/gap-x.d.ts +177 -0
- package/dist/types/gap-x/gap-x.d.ts.map +1 -0
- package/dist/types/gap-x/gap-x.test.d.ts +2 -0
- package/dist/types/gap-x/gap-x.test.d.ts.map +1 -0
- package/dist/types/gap-x/index.d.ts +2 -0
- package/dist/types/gap-x/index.d.ts.map +1 -0
- package/dist/types/gap-y/gap-y.d.ts +177 -0
- package/dist/types/gap-y/gap-y.d.ts.map +1 -0
- package/dist/types/gap-y/gap-y.test.d.ts +2 -0
- package/dist/types/gap-y/gap-y.test.d.ts.map +1 -0
- package/dist/types/gap-y/index.d.ts +2 -0
- package/dist/types/gap-y/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +7 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/link/link.d.ts +4 -4
- package/dist/types/margin/margin.d.ts +4 -4
- package/dist/types/navigation-links/navigation-links.d.ts +4 -4
- package/dist/types/number.d.ts +4 -4
- package/dist/types/padding/padding.d.ts +4 -4
- package/dist/types/prop-controllers.d.ts +4 -1
- package/dist/types/prop-controllers.d.ts.map +1 -1
- package/dist/types/responsive-color.d.ts +4 -4
- package/dist/types/responsive-length.d.ts +4 -4
- package/dist/types/shadows.d.ts +2 -2
- package/dist/types/table/table.d.ts +4 -4
- package/dist/types/text-area/index.d.ts +2 -0
- package/dist/types/text-area/index.d.ts.map +1 -0
- package/dist/types/text-area/text-area.d.ts +52 -0
- package/dist/types/text-area/text-area.d.ts.map +1 -0
- package/dist/types/text-area/text-area.test.d.ts +2 -0
- package/dist/types/text-area/text-area.test.d.ts.map +1 -0
- package/dist/types/text-style/text-style.d.ts +4 -4
- package/dist/types/video/video.d.ts +4 -4
- package/dist/types/width/width.d.ts +4 -4
- package/package.json +1 -1
- package/dist/types/border copy/border.d.ts +0 -2435
- package/dist/types/border copy/border.d.ts.map +0 -1
- package/dist/types/border copy/border.test.d.ts +0 -2
- package/dist/types/border copy/border.test.d.ts.map +0 -1
- package/dist/types/border copy/index.d.ts +0 -2
- package/dist/types/border copy/index.d.ts.map +0 -1
- package/dist/types/date/checkbox.test.d.ts +0 -2
- package/dist/types/date/checkbox.test.d.ts.map +0 -1
- package/dist/types/date copy/date.d.ts +0 -50
- package/dist/types/date copy/date.d.ts.map +0 -1
- package/dist/types/date copy/date.test.d.ts +0 -2
- package/dist/types/date copy/date.test.d.ts.map +0 -1
- package/dist/types/date copy/index.d.ts +0 -2
- package/dist/types/date copy/index.d.ts.map +0 -1
- package/dist/types/font/border.d.ts +0 -2435
- package/dist/types/font/border.d.ts.map +0 -1
- package/dist/types/font/border.test.d.ts +0 -2
- package/dist/types/font/border.test.d.ts.map +0 -1
- package/dist/types/font/date.d.ts +0 -50
- package/dist/types/font/date.d.ts.map +0 -1
- package/dist/types/font/date.test.d.ts +0 -2
- package/dist/types/font/date.test.d.ts.map +0 -1
- package/dist/types/margin/border.d.ts +0 -2435
- package/dist/types/margin/border.d.ts.map +0 -1
- package/dist/types/margin/border.test.d.ts +0 -2
- package/dist/types/margin/border.test.d.ts.map +0 -1
- package/dist/types/margin copy/index.d.ts +0 -2
- package/dist/types/margin copy/index.d.ts.map +0 -1
- package/dist/types/margin copy/margin.d.ts +0 -1026
- package/dist/types/margin copy/margin.d.ts.map +0 -1
- package/dist/types/margin copy/margin.test.d.ts +0 -2
- package/dist/types/margin copy/margin.test.d.ts.map +0 -1
- package/dist/types/navigation-links/date.d.ts +0 -50
- package/dist/types/navigation-links/date.d.ts.map +0 -1
- package/dist/types/navigation-links/date.test.d.ts +0 -2
- package/dist/types/navigation-links/date.test.d.ts.map +0 -1
- package/dist/types/padding/margin.d.ts +0 -1026
- package/dist/types/padding/margin.d.ts.map +0 -1
- package/dist/types/padding/margin.test.d.ts +0 -2
- package/dist/types/padding/margin.test.d.ts.map +0 -1
- package/dist/types/padding copy/index.d.ts +0 -2
- package/dist/types/padding copy/index.d.ts.map +0 -1
- package/dist/types/padding copy/padding.d.ts +0 -1026
- package/dist/types/padding copy/padding.d.ts.map +0 -1
- package/dist/types/padding copy/padding.test.d.ts +0 -2
- package/dist/types/padding copy/padding.test.d.ts.map +0 -1
- package/dist/types/table/date.d.ts +0 -50
- package/dist/types/table/date.d.ts.map +0 -1
- package/dist/types/table/date.test.d.ts +0 -2
- package/dist/types/table/date.test.d.ts.map +0 -1
- package/dist/types/text-style/font.test.d.ts +0 -2
- package/dist/types/text-style/font.test.d.ts.map +0 -1
- package/dist/types/video/date.d.ts +0 -50
- package/dist/types/video/date.d.ts.map +0 -1
- package/dist/types/video/date.test.d.ts +0 -2
- package/dist/types/video/date.test.d.ts.map +0 -1
- package/dist/types/video/font.test.d.ts +0 -2
- package/dist/types/video/font.test.d.ts.map +0 -1
- package/dist/types/width/padding.d.ts +0 -1026
- package/dist/types/width/padding.d.ts.map +0 -1
- package/dist/types/width/padding.test.d.ts +0 -2
- package/dist/types/width/padding.test.d.ts.map +0 -1
@@ -486,6 +486,7 @@ declare const linkPropControllerDataV1Schema: z.ZodObject<{
|
|
486
486
|
};
|
487
487
|
}>]>;
|
488
488
|
}, "strip", z.ZodTypeAny, {
|
489
|
+
"@@makeswift/type": "prop-controllers::link::v1";
|
489
490
|
value: {
|
490
491
|
type: "OPEN_PAGE";
|
491
492
|
payload: {
|
@@ -520,8 +521,8 @@ declare const linkPropControllerDataV1Schema: z.ZodObject<{
|
|
520
521
|
} | null | undefined;
|
521
522
|
};
|
522
523
|
};
|
523
|
-
"@@makeswift/type": "prop-controllers::link::v1";
|
524
524
|
}, {
|
525
|
+
"@@makeswift/type": "prop-controllers::link::v1";
|
525
526
|
value: {
|
526
527
|
type: "OPEN_PAGE";
|
527
528
|
payload: {
|
@@ -556,7 +557,6 @@ declare const linkPropControllerDataV1Schema: z.ZodObject<{
|
|
556
557
|
} | null | undefined;
|
557
558
|
};
|
558
559
|
};
|
559
|
-
"@@makeswift/type": "prop-controllers::link::v1";
|
560
560
|
}>;
|
561
561
|
export type LinkPropControllerDataV1 = z.infer<typeof linkPropControllerDataV1Schema>;
|
562
562
|
export declare const linkPropControllerDataSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
@@ -881,6 +881,7 @@ export declare const linkPropControllerDataSchema: z.ZodUnion<[z.ZodUnion<[z.Zod
|
|
881
881
|
};
|
882
882
|
}>]>;
|
883
883
|
}, "strip", z.ZodTypeAny, {
|
884
|
+
"@@makeswift/type": "prop-controllers::link::v1";
|
884
885
|
value: {
|
885
886
|
type: "OPEN_PAGE";
|
886
887
|
payload: {
|
@@ -915,8 +916,8 @@ export declare const linkPropControllerDataSchema: z.ZodUnion<[z.ZodUnion<[z.Zod
|
|
915
916
|
} | null | undefined;
|
916
917
|
};
|
917
918
|
};
|
918
|
-
"@@makeswift/type": "prop-controllers::link::v1";
|
919
919
|
}, {
|
920
|
+
"@@makeswift/type": "prop-controllers::link::v1";
|
920
921
|
value: {
|
921
922
|
type: "OPEN_PAGE";
|
922
923
|
payload: {
|
@@ -951,7 +952,6 @@ export declare const linkPropControllerDataSchema: z.ZodUnion<[z.ZodUnion<[z.Zod
|
|
951
952
|
} | null | undefined;
|
952
953
|
};
|
953
954
|
};
|
954
|
-
"@@makeswift/type": "prop-controllers::link::v1";
|
955
955
|
}>]>;
|
956
956
|
export type LinkPropControllerData = z.infer<typeof linkPropControllerDataSchema>;
|
957
957
|
type LinkOptions = Options<{
|
@@ -587,6 +587,7 @@ declare const marginPropControllerDataV1Schema: z.ZodObject<{
|
|
587
587
|
deviceId: string;
|
588
588
|
}>, "many">;
|
589
589
|
}, "strip", z.ZodTypeAny, {
|
590
|
+
"@@makeswift/type": "prop-controllers::margin::v1";
|
590
591
|
value: {
|
591
592
|
value: {
|
592
593
|
marginTop: {
|
@@ -608,8 +609,8 @@ declare const marginPropControllerDataV1Schema: z.ZodObject<{
|
|
608
609
|
};
|
609
610
|
deviceId: string;
|
610
611
|
}[];
|
611
|
-
"@@makeswift/type": "prop-controllers::margin::v1";
|
612
612
|
}, {
|
613
|
+
"@@makeswift/type": "prop-controllers::margin::v1";
|
613
614
|
value: {
|
614
615
|
value: {
|
615
616
|
marginTop?: {
|
@@ -631,7 +632,6 @@ declare const marginPropControllerDataV1Schema: z.ZodObject<{
|
|
631
632
|
};
|
632
633
|
deviceId: string;
|
633
634
|
}[];
|
634
|
-
"@@makeswift/type": "prop-controllers::margin::v1";
|
635
635
|
}>;
|
636
636
|
export type MarginPropControllerDataV1 = z.infer<typeof marginPropControllerDataV1Schema>;
|
637
637
|
export declare const marginPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
@@ -942,6 +942,7 @@ export declare const marginPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Zo
|
|
942
942
|
deviceId: string;
|
943
943
|
}>, "many">;
|
944
944
|
}, "strip", z.ZodTypeAny, {
|
945
|
+
"@@makeswift/type": "prop-controllers::margin::v1";
|
945
946
|
value: {
|
946
947
|
value: {
|
947
948
|
marginTop: {
|
@@ -963,8 +964,8 @@ export declare const marginPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Zo
|
|
963
964
|
};
|
964
965
|
deviceId: string;
|
965
966
|
}[];
|
966
|
-
"@@makeswift/type": "prop-controllers::margin::v1";
|
967
967
|
}, {
|
968
|
+
"@@makeswift/type": "prop-controllers::margin::v1";
|
968
969
|
value: {
|
969
970
|
value: {
|
970
971
|
marginTop?: {
|
@@ -986,7 +987,6 @@ export declare const marginPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Zo
|
|
986
987
|
};
|
987
988
|
deviceId: string;
|
988
989
|
}[];
|
989
|
-
"@@makeswift/type": "prop-controllers::margin::v1";
|
990
990
|
}>]>;
|
991
991
|
export type MarginPropControllerData = z.infer<typeof marginPropControllerDataSchema>;
|
992
992
|
export declare const MarginPropControllerFormat: {
|
@@ -7021,6 +7021,7 @@ declare const navigationLinksPropControllerDataV1Schema: z.ZodObject<{
|
|
7021
7021
|
id: string;
|
7022
7022
|
}>]>, "many">;
|
7023
7023
|
}, "strip", z.ZodTypeAny, {
|
7024
|
+
"@@makeswift/type": "prop-controllers::navigation-links::v1";
|
7024
7025
|
value: ({
|
7025
7026
|
type: "button";
|
7026
7027
|
payload: {
|
@@ -7210,8 +7211,8 @@ declare const navigationLinksPropControllerDataV1Schema: z.ZodObject<{
|
|
7210
7211
|
};
|
7211
7212
|
id: string;
|
7212
7213
|
})[];
|
7213
|
-
"@@makeswift/type": "prop-controllers::navigation-links::v1";
|
7214
7214
|
}, {
|
7215
|
+
"@@makeswift/type": "prop-controllers::navigation-links::v1";
|
7215
7216
|
value: ({
|
7216
7217
|
type: "button";
|
7217
7218
|
payload: {
|
@@ -7401,7 +7402,6 @@ declare const navigationLinksPropControllerDataV1Schema: z.ZodObject<{
|
|
7401
7402
|
};
|
7402
7403
|
id: string;
|
7403
7404
|
})[];
|
7404
|
-
"@@makeswift/type": "prop-controllers::navigation-links::v1";
|
7405
7405
|
}>;
|
7406
7406
|
export type NavigationLinksPropControllerDataV1 = z.infer<typeof navigationLinksPropControllerDataV1Schema>;
|
7407
7407
|
export declare const navigationLinksPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
@@ -10912,6 +10912,7 @@ export declare const navigationLinksPropControllerDataSchema: z.ZodUnion<[z.ZodA
|
|
10912
10912
|
id: string;
|
10913
10913
|
}>]>, "many">;
|
10914
10914
|
}, "strip", z.ZodTypeAny, {
|
10915
|
+
"@@makeswift/type": "prop-controllers::navigation-links::v1";
|
10915
10916
|
value: ({
|
10916
10917
|
type: "button";
|
10917
10918
|
payload: {
|
@@ -11101,8 +11102,8 @@ export declare const navigationLinksPropControllerDataSchema: z.ZodUnion<[z.ZodA
|
|
11101
11102
|
};
|
11102
11103
|
id: string;
|
11103
11104
|
})[];
|
11104
|
-
"@@makeswift/type": "prop-controllers::navigation-links::v1";
|
11105
11105
|
}, {
|
11106
|
+
"@@makeswift/type": "prop-controllers::navigation-links::v1";
|
11106
11107
|
value: ({
|
11107
11108
|
type: "button";
|
11108
11109
|
payload: {
|
@@ -11292,7 +11293,6 @@ export declare const navigationLinksPropControllerDataSchema: z.ZodUnion<[z.ZodA
|
|
11292
11293
|
};
|
11293
11294
|
id: string;
|
11294
11295
|
})[];
|
11295
|
-
"@@makeswift/type": "prop-controllers::navigation-links::v1";
|
11296
11296
|
}>]>;
|
11297
11297
|
export type NavigationLinksPropControllerData = z.infer<typeof navigationLinksPropControllerDataSchema>;
|
11298
11298
|
type NavigationLinksOptions = Options<Record<string, never>>;
|
package/dist/types/number.d.ts
CHANGED
@@ -6,22 +6,22 @@ declare const numberPropControllerDataV1Schema: z.ZodObject<{
|
|
6
6
|
"@@makeswift/type": z.ZodLiteral<"prop-controllers::number::v1">;
|
7
7
|
value: z.ZodNumber;
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
9
|
-
value: number;
|
10
9
|
"@@makeswift/type": "prop-controllers::number::v1";
|
11
|
-
}, {
|
12
10
|
value: number;
|
11
|
+
}, {
|
13
12
|
"@@makeswift/type": "prop-controllers::number::v1";
|
13
|
+
value: number;
|
14
14
|
}>;
|
15
15
|
type NumberPropControllerDataV1 = z.infer<typeof numberPropControllerDataV1Schema>;
|
16
16
|
export declare const numberPropControllerDataSchema: z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
17
17
|
"@@makeswift/type": z.ZodLiteral<"prop-controllers::number::v1">;
|
18
18
|
value: z.ZodNumber;
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
20
|
-
value: number;
|
21
20
|
"@@makeswift/type": "prop-controllers::number::v1";
|
22
|
-
}, {
|
23
21
|
value: number;
|
22
|
+
}, {
|
24
23
|
"@@makeswift/type": "prop-controllers::number::v1";
|
24
|
+
value: number;
|
25
25
|
}>]>;
|
26
26
|
export type NumberPropControllerData = z.infer<typeof numberPropControllerDataSchema>;
|
27
27
|
export type NumberOptions = Options<{
|
@@ -587,6 +587,7 @@ declare const paddingPropControllerDataV1Schema: z.ZodObject<{
|
|
587
587
|
deviceId: string;
|
588
588
|
}>, "many">;
|
589
589
|
}, "strip", z.ZodTypeAny, {
|
590
|
+
"@@makeswift/type": "prop-controllers::padding::v1";
|
590
591
|
value: {
|
591
592
|
value: {
|
592
593
|
paddingTop: {
|
@@ -608,8 +609,8 @@ declare const paddingPropControllerDataV1Schema: z.ZodObject<{
|
|
608
609
|
};
|
609
610
|
deviceId: string;
|
610
611
|
}[];
|
611
|
-
"@@makeswift/type": "prop-controllers::padding::v1";
|
612
612
|
}, {
|
613
|
+
"@@makeswift/type": "prop-controllers::padding::v1";
|
613
614
|
value: {
|
614
615
|
value: {
|
615
616
|
paddingTop?: {
|
@@ -631,7 +632,6 @@ declare const paddingPropControllerDataV1Schema: z.ZodObject<{
|
|
631
632
|
};
|
632
633
|
deviceId: string;
|
633
634
|
}[];
|
634
|
-
"@@makeswift/type": "prop-controllers::padding::v1";
|
635
635
|
}>;
|
636
636
|
export type PaddingPropControllerDataV1 = z.infer<typeof paddingPropControllerDataV1Schema>;
|
637
637
|
export declare const paddingPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
@@ -942,6 +942,7 @@ export declare const paddingPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Z
|
|
942
942
|
deviceId: string;
|
943
943
|
}>, "many">;
|
944
944
|
}, "strip", z.ZodTypeAny, {
|
945
|
+
"@@makeswift/type": "prop-controllers::padding::v1";
|
945
946
|
value: {
|
946
947
|
value: {
|
947
948
|
paddingTop: {
|
@@ -963,8 +964,8 @@ export declare const paddingPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Z
|
|
963
964
|
};
|
964
965
|
deviceId: string;
|
965
966
|
}[];
|
966
|
-
"@@makeswift/type": "prop-controllers::padding::v1";
|
967
967
|
}, {
|
968
|
+
"@@makeswift/type": "prop-controllers::padding::v1";
|
968
969
|
value: {
|
969
970
|
value: {
|
970
971
|
paddingTop?: {
|
@@ -986,7 +987,6 @@ export declare const paddingPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Z
|
|
986
987
|
};
|
987
988
|
deviceId: string;
|
988
989
|
}[];
|
989
|
-
"@@makeswift/type": "prop-controllers::padding::v1";
|
990
990
|
}>]>;
|
991
991
|
export type PaddingPropControllerData = z.infer<typeof paddingPropControllerDataSchema>;
|
992
992
|
export declare const PaddingPropControllerFormat: {
|
@@ -5,6 +5,8 @@ export declare const Types: {
|
|
5
5
|
readonly Checkbox: "Checkbox";
|
6
6
|
readonly Date: "Date";
|
7
7
|
readonly Font: "Font";
|
8
|
+
readonly GapX: "GapX";
|
9
|
+
readonly GapY: "GapY";
|
8
10
|
readonly Link: "Link";
|
9
11
|
readonly Margin: "Margin";
|
10
12
|
readonly NavigationLinks: "NavigationLinks";
|
@@ -13,6 +15,7 @@ export declare const Types: {
|
|
13
15
|
readonly Shadows: "Shadows";
|
14
16
|
readonly ResponsiveColor: "ResponsiveColor";
|
15
17
|
readonly ResponsiveLength: "ResponsiveLength";
|
18
|
+
readonly TextArea: "TextArea";
|
16
19
|
readonly Table: "Table";
|
17
20
|
readonly TextStyle: "TextStyle";
|
18
21
|
readonly Width: "Width";
|
@@ -38,7 +41,7 @@ export type Color = {
|
|
38
41
|
swatchId: string;
|
39
42
|
alpha: number;
|
40
43
|
};
|
41
|
-
type Data = undefined | null | boolean | number | string | Data[] | {
|
44
|
+
export type Data = undefined | null | boolean | number | string | Data[] | {
|
42
45
|
[key: string]: Data;
|
43
46
|
};
|
44
47
|
export type ElementData = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prop-controllers.d.ts","sourceRoot":"","sources":["../../src/prop-controllers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,KAAK
|
1
|
+
{"version":3,"file":"prop-controllers.d.ts","sourceRoot":"","sources":["../../src/prop-controllers.ts"],"names":[],"mappings":"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"}
|
@@ -80,6 +80,7 @@ declare const responsiveColorPropControllerDataV1Schema: z.ZodObject<{
|
|
80
80
|
deviceId: string;
|
81
81
|
}>, "many">;
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
83
|
+
"@@makeswift/type": "prop-controllers::responsive-color::v1";
|
83
84
|
value: {
|
84
85
|
value: {
|
85
86
|
swatchId: string;
|
@@ -87,8 +88,8 @@ declare const responsiveColorPropControllerDataV1Schema: z.ZodObject<{
|
|
87
88
|
};
|
88
89
|
deviceId: string;
|
89
90
|
}[];
|
90
|
-
"@@makeswift/type": "prop-controllers::responsive-color::v1";
|
91
91
|
}, {
|
92
|
+
"@@makeswift/type": "prop-controllers::responsive-color::v1";
|
92
93
|
value: {
|
93
94
|
value: {
|
94
95
|
swatchId: string;
|
@@ -96,7 +97,6 @@ declare const responsiveColorPropControllerDataV1Schema: z.ZodObject<{
|
|
96
97
|
};
|
97
98
|
deviceId: string;
|
98
99
|
}[];
|
99
|
-
"@@makeswift/type": "prop-controllers::responsive-color::v1";
|
100
100
|
}>;
|
101
101
|
type ResponsiveColorPropControllerDataV1 = z.infer<typeof responsiveColorPropControllerDataV1Schema>;
|
102
102
|
export declare const responsiveColorPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
@@ -151,6 +151,7 @@ export declare const responsiveColorPropControllerDataSchema: z.ZodUnion<[z.ZodA
|
|
151
151
|
deviceId: string;
|
152
152
|
}>, "many">;
|
153
153
|
}, "strip", z.ZodTypeAny, {
|
154
|
+
"@@makeswift/type": "prop-controllers::responsive-color::v1";
|
154
155
|
value: {
|
155
156
|
value: {
|
156
157
|
swatchId: string;
|
@@ -158,8 +159,8 @@ export declare const responsiveColorPropControllerDataSchema: z.ZodUnion<[z.ZodA
|
|
158
159
|
};
|
159
160
|
deviceId: string;
|
160
161
|
}[];
|
161
|
-
"@@makeswift/type": "prop-controllers::responsive-color::v1";
|
162
162
|
}, {
|
163
|
+
"@@makeswift/type": "prop-controllers::responsive-color::v1";
|
163
164
|
value: {
|
164
165
|
value: {
|
165
166
|
swatchId: string;
|
@@ -167,7 +168,6 @@ export declare const responsiveColorPropControllerDataSchema: z.ZodUnion<[z.ZodA
|
|
167
168
|
};
|
168
169
|
deviceId: string;
|
169
170
|
}[];
|
170
|
-
"@@makeswift/type": "prop-controllers::responsive-color::v1";
|
171
171
|
}>]>;
|
172
172
|
export type ResponsiveColorPropControllerData = z.infer<typeof responsiveColorPropControllerDataSchema>;
|
173
173
|
export type ResponsiveColorOptions = Options<{
|
@@ -82,6 +82,7 @@ declare const responsiveLengthPropControllerDataV1Schema: z.ZodObject<{
|
|
82
82
|
deviceId: string;
|
83
83
|
}>, "many">;
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
85
|
+
"@@makeswift/type": "prop-controllers::responsive-length::v1";
|
85
86
|
value: {
|
86
87
|
value: {
|
87
88
|
value: number;
|
@@ -89,8 +90,8 @@ declare const responsiveLengthPropControllerDataV1Schema: z.ZodObject<{
|
|
89
90
|
};
|
90
91
|
deviceId: string;
|
91
92
|
}[];
|
92
|
-
"@@makeswift/type": "prop-controllers::responsive-length::v1";
|
93
93
|
}, {
|
94
|
+
"@@makeswift/type": "prop-controllers::responsive-length::v1";
|
94
95
|
value: {
|
95
96
|
value: {
|
96
97
|
value: number;
|
@@ -98,7 +99,6 @@ declare const responsiveLengthPropControllerDataV1Schema: z.ZodObject<{
|
|
98
99
|
};
|
99
100
|
deviceId: string;
|
100
101
|
}[];
|
101
|
-
"@@makeswift/type": "prop-controllers::responsive-length::v1";
|
102
102
|
}>;
|
103
103
|
type ResponsiveLengthPropControllerDataV1 = z.infer<typeof responsiveLengthPropControllerDataV1Schema>;
|
104
104
|
export declare const responsiveLengthPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
@@ -153,6 +153,7 @@ export declare const responsiveLengthPropControllerDataSchema: z.ZodUnion<[z.Zod
|
|
153
153
|
deviceId: string;
|
154
154
|
}>, "many">;
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
156
|
+
"@@makeswift/type": "prop-controllers::responsive-length::v1";
|
156
157
|
value: {
|
157
158
|
value: {
|
158
159
|
value: number;
|
@@ -160,8 +161,8 @@ export declare const responsiveLengthPropControllerDataSchema: z.ZodUnion<[z.Zod
|
|
160
161
|
};
|
161
162
|
deviceId: string;
|
162
163
|
}[];
|
163
|
-
"@@makeswift/type": "prop-controllers::responsive-length::v1";
|
164
164
|
}, {
|
165
|
+
"@@makeswift/type": "prop-controllers::responsive-length::v1";
|
165
166
|
value: {
|
166
167
|
value: {
|
167
168
|
value: number;
|
@@ -169,7 +170,6 @@ export declare const responsiveLengthPropControllerDataSchema: z.ZodUnion<[z.Zod
|
|
169
170
|
};
|
170
171
|
deviceId: string;
|
171
172
|
}[];
|
172
|
-
"@@makeswift/type": "prop-controllers::responsive-length::v1";
|
173
173
|
}>]>;
|
174
174
|
export type ResponsiveLengthPropControllerData = z.infer<typeof responsiveLengthPropControllerDataSchema>;
|
175
175
|
export type LengthOption = {
|
package/dist/types/shadows.d.ts
CHANGED
@@ -513,6 +513,7 @@ export declare const shadowsPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Z
|
|
513
513
|
deviceId: string;
|
514
514
|
}>, "many">;
|
515
515
|
}, "strip", z.ZodTypeAny, {
|
516
|
+
"@@makeswift/type": "prop-controllers::shadows::v1";
|
516
517
|
value: {
|
517
518
|
value: {
|
518
519
|
payload: {
|
@@ -530,8 +531,8 @@ export declare const shadowsPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Z
|
|
530
531
|
}[];
|
531
532
|
deviceId: string;
|
532
533
|
}[];
|
533
|
-
"@@makeswift/type": "prop-controllers::shadows::v1";
|
534
534
|
}, {
|
535
|
+
"@@makeswift/type": "prop-controllers::shadows::v1";
|
535
536
|
value: {
|
536
537
|
value: {
|
537
538
|
payload: {
|
@@ -549,7 +550,6 @@ export declare const shadowsPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Z
|
|
549
550
|
}[];
|
550
551
|
deviceId: string;
|
551
552
|
}[];
|
552
|
-
"@@makeswift/type": "prop-controllers::shadows::v1";
|
553
553
|
}>]>;
|
554
554
|
export type ShadowsPropControllerData = z.infer<typeof shadowsPropControllerDataSchema>;
|
555
555
|
export declare const ShadowsPropControllerFormat: {
|
@@ -9,22 +9,22 @@ declare const tablePropControllerDataV1Schema: z.ZodObject<{
|
|
9
9
|
"@@makeswift/type": z.ZodLiteral<"prop-controllers::table::v1">;
|
10
10
|
value: z.ZodString;
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
12
|
-
value: string;
|
13
12
|
"@@makeswift/type": "prop-controllers::table::v1";
|
14
|
-
}, {
|
15
13
|
value: string;
|
14
|
+
}, {
|
16
15
|
"@@makeswift/type": "prop-controllers::table::v1";
|
16
|
+
value: string;
|
17
17
|
}>;
|
18
18
|
export type TablePropControllerDataV1 = z.infer<typeof tablePropControllerDataV1Schema>;
|
19
19
|
export declare const tablePropControllerDataSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
20
20
|
"@@makeswift/type": z.ZodLiteral<"prop-controllers::table::v1">;
|
21
21
|
value: z.ZodString;
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
23
|
-
value: string;
|
24
23
|
"@@makeswift/type": "prop-controllers::table::v1";
|
25
|
-
}, {
|
26
24
|
value: string;
|
25
|
+
}, {
|
27
26
|
"@@makeswift/type": "prop-controllers::table::v1";
|
27
|
+
value: string;
|
28
28
|
}>]>;
|
29
29
|
export type TablePropControllerData = z.infer<typeof tablePropControllerDataSchema>;
|
30
30
|
export type TableOptions = Options<{
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/text-area/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import { Options, Types } from '../prop-controllers';
|
3
|
+
declare const textAreaPropControllerDataV0Schema: z.ZodString;
|
4
|
+
export type TextAreaPropControllerDataV0 = z.infer<typeof textAreaPropControllerDataV0Schema>;
|
5
|
+
export declare const TextAreaPropControllerDataV1Type = "prop-controllers::text-area::v1";
|
6
|
+
declare const textAreaPropControllerDataV1Schema: z.ZodObject<{
|
7
|
+
"@@makeswift/type": z.ZodLiteral<"prop-controllers::text-area::v1">;
|
8
|
+
value: z.ZodString;
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
10
|
+
"@@makeswift/type": "prop-controllers::text-area::v1";
|
11
|
+
value: string;
|
12
|
+
}, {
|
13
|
+
"@@makeswift/type": "prop-controllers::text-area::v1";
|
14
|
+
value: string;
|
15
|
+
}>;
|
16
|
+
export type TextAreaPropControllerDataV1 = z.infer<typeof textAreaPropControllerDataV1Schema>;
|
17
|
+
export declare const textAreaPropControllerDataSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
18
|
+
"@@makeswift/type": z.ZodLiteral<"prop-controllers::text-area::v1">;
|
19
|
+
value: z.ZodString;
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
21
|
+
"@@makeswift/type": "prop-controllers::text-area::v1";
|
22
|
+
value: string;
|
23
|
+
}, {
|
24
|
+
"@@makeswift/type": "prop-controllers::text-area::v1";
|
25
|
+
value: string;
|
26
|
+
}>]>;
|
27
|
+
export type TextAreaPropControllerData = z.infer<typeof textAreaPropControllerDataSchema>;
|
28
|
+
export type TextAreaOptions = Options<{
|
29
|
+
preset?: TextAreaPropControllerData;
|
30
|
+
label?: string;
|
31
|
+
rows?: number;
|
32
|
+
}>;
|
33
|
+
type TextAreaDescriptorV0<_T = TextAreaPropControllerDataV0> = {
|
34
|
+
type: typeof Types.TextArea;
|
35
|
+
options: TextAreaOptions;
|
36
|
+
};
|
37
|
+
type TextAreaDescriptorV1<_T = TextAreaPropControllerData, U extends TextAreaOptions = TextAreaOptions> = {
|
38
|
+
type: typeof Types.TextArea;
|
39
|
+
version: 1;
|
40
|
+
options: U;
|
41
|
+
};
|
42
|
+
export type TextAreaDescriptor<_T = TextAreaPropControllerData> = TextAreaDescriptorV0 | TextAreaDescriptorV1;
|
43
|
+
export type ResolveTextAreaPropControllerValue<T extends TextAreaDescriptor> = T extends TextAreaDescriptor ? string | undefined : never;
|
44
|
+
/**
|
45
|
+
* @deprecated Imports from @makeswift/prop-controllers are deprecated. Use
|
46
|
+
* @makeswift/runtime/controls instead.
|
47
|
+
*/
|
48
|
+
export declare function TextArea(options?: TextAreaOptions): TextAreaDescriptorV1;
|
49
|
+
export declare function getTextAreaPropControllerDataString(data: TextAreaPropControllerData | undefined): string | undefined;
|
50
|
+
export declare function createTextAreaPropControllerDataFromString(value: string, definition: TextAreaDescriptor): TextAreaPropControllerData;
|
51
|
+
export {};
|
52
|
+
//# sourceMappingURL=text-area.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../src/text-area/text-area.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAsB,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAGxE,QAAA,MAAM,kCAAkC,aAAa,CAAA;AAErD,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAA;AAED,eAAO,MAAM,gCAAgC,oCACV,CAAA;AAEnC,QAAA,MAAM,kCAAkC;;;;;;;;;EAGtC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAA;AAED,eAAO,MAAM,gCAAgC;;;;;;;;;IAG3C,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC;IACpC,MAAM,CAAC,EAAE,0BAA0B,CAAA;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC,CAAA;AAEF,KAAK,oBAAoB,CAAC,EAAE,GAAG,4BAA4B,IAAI;IAC7D,IAAI,EAAE,OAAO,KAAK,CAAC,QAAQ,CAAA;IAC3B,OAAO,EAAE,eAAe,CAAA;CACzB,CAAA;AAED,KAAK,oBAAoB,CACvB,EAAE,GAAG,0BAA0B,EAC/B,CAAC,SAAS,eAAe,GAAG,eAAe,IACzC;IACF,IAAI,EAAE,OAAO,KAAK,CAAC,QAAQ,CAAA;IAC3B,OAAO,EAAE,CAAC,CAAA;IACV,OAAO,EAAE,CAAC,CAAA;CACX,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,EAAE,GAAG,0BAA0B,IAC1D,oBAAoB,GACpB,oBAAoB,CAAA;AAExB,MAAM,MAAM,kCAAkC,CAAC,CAAC,SAAS,kBAAkB,IACzE,CAAC,SAAS,kBAAkB,GAAG,MAAM,GAAG,SAAS,GAAG,KAAK,CAAA;AAE3D;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,0BAA0B,GAAG,SAAS,GAC3C,MAAM,GAAG,SAAS,CAOpB;AAED,wBAAgB,0CAA0C,CACxD,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,kBAAkB,GAC7B,0BAA0B,CAW5B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"text-area.test.d.ts","sourceRoot":"","sources":["../../../src/text-area/text-area.test.ts"],"names":[],"mappings":""}
|
@@ -322,6 +322,7 @@ declare const textStylePropControllerDataV1Schema: z.ZodObject<{
|
|
322
322
|
deviceId: string;
|
323
323
|
}>, "many">;
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
325
|
+
"@@makeswift/type": "prop-controllers::text-style::v1";
|
325
326
|
value: {
|
326
327
|
value: {
|
327
328
|
letterSpacing: number | null | undefined;
|
@@ -336,8 +337,8 @@ declare const textStylePropControllerDataV1Schema: z.ZodObject<{
|
|
336
337
|
};
|
337
338
|
deviceId: string;
|
338
339
|
}[];
|
339
|
-
"@@makeswift/type": "prop-controllers::text-style::v1";
|
340
340
|
}, {
|
341
|
+
"@@makeswift/type": "prop-controllers::text-style::v1";
|
341
342
|
value: {
|
342
343
|
value: {
|
343
344
|
textTransform: "uppercase"[];
|
@@ -352,7 +353,6 @@ declare const textStylePropControllerDataV1Schema: z.ZodObject<{
|
|
352
353
|
};
|
353
354
|
deviceId: string;
|
354
355
|
}[];
|
355
|
-
"@@makeswift/type": "prop-controllers::text-style::v1";
|
356
356
|
}>;
|
357
357
|
export type TextStylePropControllerDataV1 = z.infer<typeof textStylePropControllerDataV1Schema>;
|
358
358
|
export declare const textStylePropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
@@ -529,6 +529,7 @@ export declare const textStylePropControllerDataSchema: z.ZodUnion<[z.ZodArray<z
|
|
529
529
|
deviceId: string;
|
530
530
|
}>, "many">;
|
531
531
|
}, "strip", z.ZodTypeAny, {
|
532
|
+
"@@makeswift/type": "prop-controllers::text-style::v1";
|
532
533
|
value: {
|
533
534
|
value: {
|
534
535
|
letterSpacing: number | null | undefined;
|
@@ -543,8 +544,8 @@ export declare const textStylePropControllerDataSchema: z.ZodUnion<[z.ZodArray<z
|
|
543
544
|
};
|
544
545
|
deviceId: string;
|
545
546
|
}[];
|
546
|
-
"@@makeswift/type": "prop-controllers::text-style::v1";
|
547
547
|
}, {
|
548
|
+
"@@makeswift/type": "prop-controllers::text-style::v1";
|
548
549
|
value: {
|
549
550
|
value: {
|
550
551
|
textTransform: "uppercase"[];
|
@@ -559,7 +560,6 @@ export declare const textStylePropControllerDataSchema: z.ZodUnion<[z.ZodArray<z
|
|
559
560
|
};
|
560
561
|
deviceId: string;
|
561
562
|
}[];
|
562
|
-
"@@makeswift/type": "prop-controllers::text-style::v1";
|
563
563
|
}>]>;
|
564
564
|
export type TextStylePropControllerData = z.infer<typeof textStylePropControllerDataSchema>;
|
565
565
|
export type TextStyleOptions = Options<{
|
@@ -63,6 +63,7 @@ declare const videoPropControllerDataV1Schema: z.ZodObject<{
|
|
63
63
|
controls?: boolean | undefined;
|
64
64
|
}>;
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
66
|
+
"@@makeswift/type": "prop-controllers::video::v1";
|
66
67
|
value: {
|
67
68
|
url?: string | undefined;
|
68
69
|
muted?: boolean | undefined;
|
@@ -70,8 +71,8 @@ declare const videoPropControllerDataV1Schema: z.ZodObject<{
|
|
70
71
|
loop?: boolean | undefined;
|
71
72
|
controls?: boolean | undefined;
|
72
73
|
};
|
73
|
-
"@@makeswift/type": "prop-controllers::video::v1";
|
74
74
|
}, {
|
75
|
+
"@@makeswift/type": "prop-controllers::video::v1";
|
75
76
|
value: {
|
76
77
|
url?: string | undefined;
|
77
78
|
muted?: boolean | undefined;
|
@@ -79,7 +80,6 @@ declare const videoPropControllerDataV1Schema: z.ZodObject<{
|
|
79
80
|
loop?: boolean | undefined;
|
80
81
|
controls?: boolean | undefined;
|
81
82
|
};
|
82
|
-
"@@makeswift/type": "prop-controllers::video::v1";
|
83
83
|
}>;
|
84
84
|
export type VideoPropControllerDataV1 = z.infer<typeof videoPropControllerDataV1Schema>;
|
85
85
|
export declare const videoPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
|
@@ -104,6 +104,7 @@ export declare const videoPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
104
104
|
controls?: boolean | undefined;
|
105
105
|
}>;
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
107
|
+
"@@makeswift/type": "prop-controllers::video::v1";
|
107
108
|
value: {
|
108
109
|
url?: string | undefined;
|
109
110
|
muted?: boolean | undefined;
|
@@ -111,8 +112,8 @@ export declare const videoPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
111
112
|
loop?: boolean | undefined;
|
112
113
|
controls?: boolean | undefined;
|
113
114
|
};
|
114
|
-
"@@makeswift/type": "prop-controllers::video::v1";
|
115
115
|
}, {
|
116
|
+
"@@makeswift/type": "prop-controllers::video::v1";
|
116
117
|
value: {
|
117
118
|
url?: string | undefined;
|
118
119
|
muted?: boolean | undefined;
|
@@ -120,7 +121,6 @@ export declare const videoPropControllerDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
120
121
|
loop?: boolean | undefined;
|
121
122
|
controls?: boolean | undefined;
|
122
123
|
};
|
123
|
-
"@@makeswift/type": "prop-controllers::video::v1";
|
124
124
|
}>, z.ZodObject<{
|
125
125
|
url: z.ZodOptional<z.ZodString>;
|
126
126
|
muted: z.ZodOptional<z.ZodBoolean>;
|
@@ -57,6 +57,7 @@ declare const widthPropControllerDataV1Schema: z.ZodObject<{
|
|
57
57
|
deviceId: string;
|
58
58
|
}>, "many">;
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
60
|
+
"@@makeswift/type": "prop-controllers::width::v1";
|
60
61
|
value: {
|
61
62
|
value: {
|
62
63
|
value: number;
|
@@ -64,8 +65,8 @@ declare const widthPropControllerDataV1Schema: z.ZodObject<{
|
|
64
65
|
};
|
65
66
|
deviceId: string;
|
66
67
|
}[];
|
67
|
-
"@@makeswift/type": "prop-controllers::width::v1";
|
68
68
|
}, {
|
69
|
+
"@@makeswift/type": "prop-controllers::width::v1";
|
69
70
|
value: {
|
70
71
|
value: {
|
71
72
|
value: number;
|
@@ -73,7 +74,6 @@ declare const widthPropControllerDataV1Schema: z.ZodObject<{
|
|
73
74
|
};
|
74
75
|
deviceId: string;
|
75
76
|
}[];
|
76
|
-
"@@makeswift/type": "prop-controllers::width::v1";
|
77
77
|
}>;
|
78
78
|
export type WidthPropControllerDataV1 = z.infer<typeof widthPropControllerDataV1Schema>;
|
79
79
|
export declare const widthPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
@@ -128,6 +128,7 @@ export declare const widthPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Zod
|
|
128
128
|
deviceId: string;
|
129
129
|
}>, "many">;
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
131
|
+
"@@makeswift/type": "prop-controllers::width::v1";
|
131
132
|
value: {
|
132
133
|
value: {
|
133
134
|
value: number;
|
@@ -135,8 +136,8 @@ export declare const widthPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Zod
|
|
135
136
|
};
|
136
137
|
deviceId: string;
|
137
138
|
}[];
|
138
|
-
"@@makeswift/type": "prop-controllers::width::v1";
|
139
139
|
}, {
|
140
|
+
"@@makeswift/type": "prop-controllers::width::v1";
|
140
141
|
value: {
|
141
142
|
value: {
|
142
143
|
value: number;
|
@@ -144,7 +145,6 @@ export declare const widthPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.Zod
|
|
144
145
|
};
|
145
146
|
deviceId: string;
|
146
147
|
}[];
|
147
|
-
"@@makeswift/type": "prop-controllers::width::v1";
|
148
148
|
}>]>;
|
149
149
|
export type WidthPropControllerData = z.infer<typeof widthPropControllerDataSchema>;
|
150
150
|
export declare const WidthPropControllerFormat: {
|