@makeswift/prop-controllers 0.0.0-5b910bb-20240510191620

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.
Files changed (180) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -0
  3. package/dist/index.cjs +2444 -0
  4. package/dist/types/backgrounds/backgrounds.d.ts +3965 -0
  5. package/dist/types/backgrounds/backgrounds.d.ts.map +1 -0
  6. package/dist/types/backgrounds/backgrounds.test.d.ts +2 -0
  7. package/dist/types/backgrounds/backgrounds.test.d.ts.map +1 -0
  8. package/dist/types/backgrounds/index.d.ts +2 -0
  9. package/dist/types/backgrounds/index.d.ts.map +1 -0
  10. package/dist/types/border/border.d.ts +2435 -0
  11. package/dist/types/border/border.d.ts.map +1 -0
  12. package/dist/types/border/border.test.d.ts +2 -0
  13. package/dist/types/border/border.test.d.ts.map +1 -0
  14. package/dist/types/border/index.d.ts +2 -0
  15. package/dist/types/border/index.d.ts.map +1 -0
  16. package/dist/types/border-radius/border-radius.d.ts +563 -0
  17. package/dist/types/border-radius/border-radius.d.ts.map +1 -0
  18. package/dist/types/border-radius/index.d.ts +2 -0
  19. package/dist/types/border-radius/index.d.ts.map +1 -0
  20. package/dist/types/checkbox/checkbox.d.ts +52 -0
  21. package/dist/types/checkbox/checkbox.d.ts.map +1 -0
  22. package/dist/types/checkbox/checkbox.test.d.ts +2 -0
  23. package/dist/types/checkbox/checkbox.test.d.ts.map +1 -0
  24. package/dist/types/checkbox/index.d.ts +2 -0
  25. package/dist/types/checkbox/index.d.ts.map +1 -0
  26. package/dist/types/data.d.ts +138 -0
  27. package/dist/types/data.d.ts.map +1 -0
  28. package/dist/types/date/date.d.ts +50 -0
  29. package/dist/types/date/date.d.ts.map +1 -0
  30. package/dist/types/date/date.test.d.ts +2 -0
  31. package/dist/types/date/date.test.d.ts.map +1 -0
  32. package/dist/types/date/index.d.ts +2 -0
  33. package/dist/types/date/index.d.ts.map +1 -0
  34. package/dist/types/element-id/element-id.d.ts +51 -0
  35. package/dist/types/element-id/element-id.d.ts.map +1 -0
  36. package/dist/types/element-id/element-id.test.d.ts +2 -0
  37. package/dist/types/element-id/element-id.test.d.ts.map +1 -0
  38. package/dist/types/element-id/index.d.ts +2 -0
  39. package/dist/types/element-id/index.d.ts.map +1 -0
  40. package/dist/types/font/font.d.ts +112 -0
  41. package/dist/types/font/font.d.ts.map +1 -0
  42. package/dist/types/font/font.test.d.ts +2 -0
  43. package/dist/types/font/font.test.d.ts.map +1 -0
  44. package/dist/types/font/index.d.ts +2 -0
  45. package/dist/types/font/index.d.ts.map +1 -0
  46. package/dist/types/gap-x/gap-x.d.ts +493 -0
  47. package/dist/types/gap-x/gap-x.d.ts.map +1 -0
  48. package/dist/types/gap-x/gap-x.test.d.ts +2 -0
  49. package/dist/types/gap-x/gap-x.test.d.ts.map +1 -0
  50. package/dist/types/gap-x/index.d.ts +2 -0
  51. package/dist/types/gap-x/index.d.ts.map +1 -0
  52. package/dist/types/gap-y/gap-y.d.ts +177 -0
  53. package/dist/types/gap-y/gap-y.d.ts.map +1 -0
  54. package/dist/types/gap-y/gap-y.test.d.ts +2 -0
  55. package/dist/types/gap-y/gap-y.test.d.ts.map +1 -0
  56. package/dist/types/gap-y/index.d.ts +2 -0
  57. package/dist/types/gap-y/index.d.ts.map +1 -0
  58. package/dist/types/grid/grid.d.ts +548 -0
  59. package/dist/types/grid/grid.d.ts.map +1 -0
  60. package/dist/types/grid/grid.test.d.ts +2 -0
  61. package/dist/types/grid/grid.test.d.ts.map +1 -0
  62. package/dist/types/grid/index.d.ts +2 -0
  63. package/dist/types/grid/index.d.ts.map +1 -0
  64. package/dist/types/image/image.d.ts +267 -0
  65. package/dist/types/image/image.d.ts.map +1 -0
  66. package/dist/types/image/image.test.d.ts +2 -0
  67. package/dist/types/image/image.test.d.ts.map +1 -0
  68. package/dist/types/image/index.d.ts +2 -0
  69. package/dist/types/image/index.d.ts.map +1 -0
  70. package/dist/types/images/images.d.ts +5347 -0
  71. package/dist/types/images/images.d.ts.map +1 -0
  72. package/dist/types/images/images.test.d.ts +2 -0
  73. package/dist/types/images/images.test.d.ts.map +1 -0
  74. package/dist/types/images/index.d.ts +2 -0
  75. package/dist/types/images/index.d.ts.map +1 -0
  76. package/dist/types/index.d.ts +60 -0
  77. package/dist/types/index.d.ts.map +1 -0
  78. package/dist/types/link/index.d.ts +2 -0
  79. package/dist/types/link/index.d.ts.map +1 -0
  80. package/dist/types/link/link.d.ts +989 -0
  81. package/dist/types/link/link.d.ts.map +1 -0
  82. package/dist/types/link/link.test.d.ts +2 -0
  83. package/dist/types/link/link.test.d.ts.map +1 -0
  84. package/dist/types/margin/index.d.ts +2 -0
  85. package/dist/types/margin/index.d.ts.map +1 -0
  86. package/dist/types/margin/margin.d.ts +1026 -0
  87. package/dist/types/margin/margin.d.ts.map +1 -0
  88. package/dist/types/margin/margin.test.d.ts +2 -0
  89. package/dist/types/margin/margin.test.d.ts.map +1 -0
  90. package/dist/types/navigation-links/index.d.ts +2 -0
  91. package/dist/types/navigation-links/index.d.ts.map +1 -0
  92. package/dist/types/navigation-links/navigation-links.d.ts +11321 -0
  93. package/dist/types/navigation-links/navigation-links.d.ts.map +1 -0
  94. package/dist/types/navigation-links/navigation-links.test.d.ts +2 -0
  95. package/dist/types/navigation-links/navigation-links.test.d.ts.map +1 -0
  96. package/dist/types/number.d.ts +56 -0
  97. package/dist/types/number.d.ts.map +1 -0
  98. package/dist/types/padding/index.d.ts +2 -0
  99. package/dist/types/padding/index.d.ts.map +1 -0
  100. package/dist/types/padding/padding.d.ts +1026 -0
  101. package/dist/types/padding/padding.d.ts.map +1 -0
  102. package/dist/types/padding/padding.test.d.ts +2 -0
  103. package/dist/types/padding/padding.test.d.ts.map +1 -0
  104. package/dist/types/prop-controllers.d.ts +142 -0
  105. package/dist/types/prop-controllers.d.ts.map +1 -0
  106. package/dist/types/responsive-color.d.ts +200 -0
  107. package/dist/types/responsive-color.d.ts.map +1 -0
  108. package/dist/types/responsive-length.d.ts +210 -0
  109. package/dist/types/responsive-length.d.ts.map +1 -0
  110. package/dist/types/responsive-number/index.d.ts +2 -0
  111. package/dist/types/responsive-number/index.d.ts.map +1 -0
  112. package/dist/types/responsive-number/responsive-number.d.ts +225 -0
  113. package/dist/types/responsive-number/responsive-number.d.ts.map +1 -0
  114. package/dist/types/responsive-number/responsive-number.test.d.ts +2 -0
  115. package/dist/types/responsive-number/responsive-number.test.d.ts.map +1 -0
  116. package/dist/types/responsive-opacity/index.d.ts +2 -0
  117. package/dist/types/responsive-opacity/index.d.ts.map +1 -0
  118. package/dist/types/responsive-opacity/responsive-opacity.d.ts +261 -0
  119. package/dist/types/responsive-opacity/responsive-opacity.d.ts.map +1 -0
  120. package/dist/types/responsive-opacity/responsive-opacity.test.d.ts +2 -0
  121. package/dist/types/responsive-opacity/responsive-opacity.test.d.ts.map +1 -0
  122. package/dist/types/shadows.d.ts +590 -0
  123. package/dist/types/shadows.d.ts.map +1 -0
  124. package/dist/types/shadows.test.d.ts +2 -0
  125. package/dist/types/shadows.test.d.ts.map +1 -0
  126. package/dist/types/social-links/index.d.ts +2 -0
  127. package/dist/types/social-links/index.d.ts.map +1 -0
  128. package/dist/types/social-links/social-links.d.ts +648 -0
  129. package/dist/types/social-links/social-links.d.ts.map +1 -0
  130. package/dist/types/social-links/social-links.test.d.ts +2 -0
  131. package/dist/types/social-links/social-links.test.d.ts.map +1 -0
  132. package/dist/types/table/index.d.ts +2 -0
  133. package/dist/types/table/index.d.ts.map +1 -0
  134. package/dist/types/table/table.d.ts +54 -0
  135. package/dist/types/table/table.d.ts.map +1 -0
  136. package/dist/types/table/table.test.d.ts +2 -0
  137. package/dist/types/table/table.test.d.ts.map +1 -0
  138. package/dist/types/table-form-fields/index.d.ts +2 -0
  139. package/dist/types/table-form-fields/index.d.ts.map +1 -0
  140. package/dist/types/table-form-fields/table-form-fields.d.ts +633 -0
  141. package/dist/types/table-form-fields/table-form-fields.d.ts.map +1 -0
  142. package/dist/types/table-form-fields/table-form-fields.test.d.ts +2 -0
  143. package/dist/types/table-form-fields/table-form-fields.test.d.ts.map +1 -0
  144. package/dist/types/text-area/index.d.ts +2 -0
  145. package/dist/types/text-area/index.d.ts.map +1 -0
  146. package/dist/types/text-area/text-area.d.ts +52 -0
  147. package/dist/types/text-area/text-area.d.ts.map +1 -0
  148. package/dist/types/text-area/text-area.test.d.ts +2 -0
  149. package/dist/types/text-area/text-area.test.d.ts.map +1 -0
  150. package/dist/types/text-input/index.d.ts +2 -0
  151. package/dist/types/text-input/index.d.ts.map +1 -0
  152. package/dist/types/text-input/text-input.d.ts +52 -0
  153. package/dist/types/text-input/text-input.d.ts.map +1 -0
  154. package/dist/types/text-input/text-input.test.d.ts +2 -0
  155. package/dist/types/text-input/text-input.test.d.ts.map +1 -0
  156. package/dist/types/text-style/index.d.ts +2 -0
  157. package/dist/types/text-style/index.d.ts.map +1 -0
  158. package/dist/types/text-style/text-style.d.ts +589 -0
  159. package/dist/types/text-style/text-style.d.ts.map +1 -0
  160. package/dist/types/text-style/text-style.test.d.ts +2 -0
  161. package/dist/types/text-style/text-style.test.d.ts.map +1 -0
  162. package/dist/types/utils/associated-types.d.ts +5 -0
  163. package/dist/types/utils/associated-types.d.ts.map +1 -0
  164. package/dist/types/utils/utils.d.ts +14 -0
  165. package/dist/types/utils/utils.d.ts.map +1 -0
  166. package/dist/types/versioned.d.ts +337 -0
  167. package/dist/types/versioned.d.ts.map +1 -0
  168. package/dist/types/video/index.d.ts +2 -0
  169. package/dist/types/video/index.d.ts.map +1 -0
  170. package/dist/types/video/video.d.ts +166 -0
  171. package/dist/types/video/video.d.ts.map +1 -0
  172. package/dist/types/video/video.test.d.ts +2 -0
  173. package/dist/types/video/video.test.d.ts.map +1 -0
  174. package/dist/types/width/index.d.ts +2 -0
  175. package/dist/types/width/index.d.ts.map +1 -0
  176. package/dist/types/width/width.d.ts +185 -0
  177. package/dist/types/width/width.d.ts.map +1 -0
  178. package/dist/types/width/width.test.d.ts +2 -0
  179. package/dist/types/width/width.test.d.ts.map +1 -0
  180. package/package.json +28 -0
@@ -0,0 +1,185 @@
1
+ import { ResolveOptions, Types } from '../prop-controllers';
2
+ import { z } from 'zod';
3
+ import { LengthData } from '../data';
4
+ import { ResponsiveLengthData } from '../responsive-length';
5
+ declare const widthPropControllerDataV0Schema: z.ZodArray<z.ZodObject<{
6
+ deviceId: z.ZodString;
7
+ value: z.ZodObject<{
8
+ value: z.ZodNumber;
9
+ unit: z.ZodUnion<[z.ZodLiteral<"px">, z.ZodLiteral<"%">]>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ value: number;
12
+ unit: "px" | "%";
13
+ }, {
14
+ value: number;
15
+ unit: "px" | "%";
16
+ }>;
17
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
18
+ value: {
19
+ value: number;
20
+ unit: "px" | "%";
21
+ };
22
+ deviceId: string;
23
+ }, {
24
+ value: {
25
+ value: number;
26
+ unit: "px" | "%";
27
+ };
28
+ deviceId: string;
29
+ }>, "many">;
30
+ export type WidthPropControllerDataV0 = z.infer<typeof widthPropControllerDataV0Schema>;
31
+ export declare const WidthPropControllerDataV1Type = "prop-controllers::width::v1";
32
+ declare const widthPropControllerDataV1Schema: z.ZodObject<{
33
+ "@@makeswift/type": z.ZodLiteral<"prop-controllers::width::v1">;
34
+ value: z.ZodArray<z.ZodObject<{
35
+ deviceId: z.ZodString;
36
+ value: z.ZodObject<{
37
+ value: z.ZodNumber;
38
+ unit: z.ZodUnion<[z.ZodLiteral<"px">, z.ZodLiteral<"%">]>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ value: number;
41
+ unit: "px" | "%";
42
+ }, {
43
+ value: number;
44
+ unit: "px" | "%";
45
+ }>;
46
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
47
+ value: {
48
+ value: number;
49
+ unit: "px" | "%";
50
+ };
51
+ deviceId: string;
52
+ }, {
53
+ value: {
54
+ value: number;
55
+ unit: "px" | "%";
56
+ };
57
+ deviceId: string;
58
+ }>, "many">;
59
+ }, "strip", z.ZodTypeAny, {
60
+ "@@makeswift/type": "prop-controllers::width::v1";
61
+ value: {
62
+ value: {
63
+ value: number;
64
+ unit: "px" | "%";
65
+ };
66
+ deviceId: string;
67
+ }[];
68
+ }, {
69
+ "@@makeswift/type": "prop-controllers::width::v1";
70
+ value: {
71
+ value: {
72
+ value: number;
73
+ unit: "px" | "%";
74
+ };
75
+ deviceId: string;
76
+ }[];
77
+ }>;
78
+ export type WidthPropControllerDataV1 = z.infer<typeof widthPropControllerDataV1Schema>;
79
+ export declare const widthPropControllerDataSchema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
80
+ deviceId: z.ZodString;
81
+ value: z.ZodObject<{
82
+ value: z.ZodNumber;
83
+ unit: z.ZodUnion<[z.ZodLiteral<"px">, z.ZodLiteral<"%">]>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ value: number;
86
+ unit: "px" | "%";
87
+ }, {
88
+ value: number;
89
+ unit: "px" | "%";
90
+ }>;
91
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
92
+ value: {
93
+ value: number;
94
+ unit: "px" | "%";
95
+ };
96
+ deviceId: string;
97
+ }, {
98
+ value: {
99
+ value: number;
100
+ unit: "px" | "%";
101
+ };
102
+ deviceId: string;
103
+ }>, "many">, z.ZodObject<{
104
+ "@@makeswift/type": z.ZodLiteral<"prop-controllers::width::v1">;
105
+ value: z.ZodArray<z.ZodObject<{
106
+ deviceId: z.ZodString;
107
+ value: z.ZodObject<{
108
+ value: z.ZodNumber;
109
+ unit: z.ZodUnion<[z.ZodLiteral<"px">, z.ZodLiteral<"%">]>;
110
+ }, "strip", z.ZodTypeAny, {
111
+ value: number;
112
+ unit: "px" | "%";
113
+ }, {
114
+ value: number;
115
+ unit: "px" | "%";
116
+ }>;
117
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
118
+ value: {
119
+ value: number;
120
+ unit: "px" | "%";
121
+ };
122
+ deviceId: string;
123
+ }, {
124
+ value: {
125
+ value: number;
126
+ unit: "px" | "%";
127
+ };
128
+ deviceId: string;
129
+ }>, "many">;
130
+ }, "strip", z.ZodTypeAny, {
131
+ "@@makeswift/type": "prop-controllers::width::v1";
132
+ value: {
133
+ value: {
134
+ value: number;
135
+ unit: "px" | "%";
136
+ };
137
+ deviceId: string;
138
+ }[];
139
+ }, {
140
+ "@@makeswift/type": "prop-controllers::width::v1";
141
+ value: {
142
+ value: {
143
+ value: number;
144
+ unit: "px" | "%";
145
+ };
146
+ deviceId: string;
147
+ }[];
148
+ }>]>;
149
+ export type WidthPropControllerData = z.infer<typeof widthPropControllerDataSchema>;
150
+ export declare const WidthPropControllerFormat: {
151
+ readonly ClassName: "makeswift::prop-controllers::width::format::class-name";
152
+ readonly ResponsiveValue: "makeswift::prop-controllers::width::format::responsive-value";
153
+ };
154
+ export type WidthPropControllerFormat = typeof WidthPropControllerFormat[keyof typeof WidthPropControllerFormat];
155
+ type WidthOptions = {
156
+ preset?: WidthPropControllerData;
157
+ defaultValue?: LengthData;
158
+ format?: WidthPropControllerFormat;
159
+ };
160
+ type WidthDescriptorV0<_T = WidthPropControllerDataV0, U extends WidthOptions = WidthOptions> = {
161
+ type: typeof Types.Width;
162
+ options: U;
163
+ };
164
+ type WidthDescriptorV1<_T = WidthPropControllerData, U extends WidthOptions = WidthOptions> = {
165
+ type: typeof Types.Width;
166
+ version: 1;
167
+ options: U;
168
+ };
169
+ export type WidthDescriptor<_T = WidthPropControllerData, U extends WidthOptions = WidthOptions> = WidthDescriptorV0<_T, U> | WidthDescriptorV1<_T, U>;
170
+ export type ResolveWidthPropControllerValue<T extends WidthDescriptor> = T extends WidthDescriptor ? undefined extends ResolveOptions<T['options']>['format'] ? ResponsiveLengthData | undefined : ResolveOptions<T['options']>['format'] extends typeof WidthPropControllerFormat.ClassName ? string : ResolveOptions<T['options']>['format'] extends typeof WidthPropControllerFormat.ResponsiveValue ? ResponsiveLengthData | undefined : never : never;
171
+ /**
172
+ * @deprecated Imports from `@makeswift/prop-controllers` are deprecated. Use
173
+ * `@makeswift/runtime/controls` instead.
174
+ */
175
+ export declare function Width<T extends WidthOptions>(options?: T & WidthOptions): WidthDescriptor<WidthPropControllerData, T>;
176
+ export declare namespace Width {
177
+ var Format: {
178
+ readonly ClassName: "makeswift::prop-controllers::width::format::class-name";
179
+ readonly ResponsiveValue: "makeswift::prop-controllers::width::format::responsive-value";
180
+ };
181
+ }
182
+ export declare function getWidthPropControllerDataResponsiveLengthData(data: WidthPropControllerData | undefined): ResponsiveLengthData | undefined;
183
+ export declare function createWidthPropControllerDataFromResponsiveLengthData(responsiveLengthData: ResponsiveLengthData, definition?: WidthDescriptor): WidthPropControllerData;
184
+ export {};
185
+ //# sourceMappingURL=width.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"width.d.ts","sourceRoot":"","sources":["../../../src/width/width.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=width.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"width.test.d.ts","sourceRoot":"","sources":["../../../src/width/width.test.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@makeswift/prop-controllers",
3
+ "version": "0.0.0-5b910bb-20240510191620",
4
+ "license": "MIT",
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "main": "./dist/index.cjs",
10
+ "types": "./dist/types/index.d.ts",
11
+ "dependencies": {
12
+ "ts-pattern": "^5.0.8",
13
+ "zod": "^3.21.4"
14
+ },
15
+ "devDependencies": {
16
+ "@swc/jest": "^0.2.36",
17
+ "@types/jest": "^29.5.12",
18
+ "concurrently": "^8.2.2",
19
+ "jest": "^29.0.1",
20
+ "tsup": "^8.0.2",
21
+ "typescript": "^5.1.6"
22
+ },
23
+ "scripts": {
24
+ "dev": "concurrently -k 'tsc --watch --preserveWatchOutput' 'tsup src/index.ts --watch'",
25
+ "build": "tsc && tsup src/index.ts",
26
+ "test": "jest"
27
+ }
28
+ }