@yahoo/uds-mobile 2.2.0 → 2.3.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.
Files changed (60) hide show
  1. package/README.md +92 -0
  2. package/dist/_virtual/_rolldown/runtime.cjs +14 -0
  3. package/dist/_virtual/_rolldown/runtime.js +19 -0
  4. package/dist/jest/index.cjs +27 -0
  5. package/dist/jest/index.d.cts +19 -0
  6. package/dist/jest/index.d.cts.map +1 -0
  7. package/dist/jest/index.d.ts +19 -0
  8. package/dist/jest/index.d.ts.map +1 -0
  9. package/dist/jest/index.js +25 -0
  10. package/dist/jest/index.js.map +1 -0
  11. package/dist/jest/mocks/icons.cjs +56 -0
  12. package/dist/jest/mocks/icons.d.cts +24 -0
  13. package/dist/jest/mocks/icons.d.cts.map +1 -0
  14. package/dist/jest/mocks/icons.d.ts +24 -0
  15. package/dist/jest/mocks/icons.d.ts.map +1 -0
  16. package/dist/jest/mocks/icons.js +46 -0
  17. package/dist/jest/mocks/icons.js.map +1 -0
  18. package/dist/jest/mocks/react-native.cjs +212 -0
  19. package/dist/jest/mocks/react-native.d.cts +293 -0
  20. package/dist/jest/mocks/react-native.d.cts.map +1 -0
  21. package/dist/jest/mocks/react-native.d.ts +293 -0
  22. package/dist/jest/mocks/react-native.d.ts.map +1 -0
  23. package/dist/jest/mocks/react-native.js +180 -0
  24. package/dist/jest/mocks/react-native.js.map +1 -0
  25. package/dist/jest/mocks/reanimated.cjs +249 -0
  26. package/dist/jest/mocks/reanimated.d.cts +150 -0
  27. package/dist/jest/mocks/reanimated.d.cts.map +1 -0
  28. package/dist/jest/mocks/reanimated.d.ts +150 -0
  29. package/dist/jest/mocks/reanimated.d.ts.map +1 -0
  30. package/dist/jest/mocks/reanimated.js +210 -0
  31. package/dist/jest/mocks/reanimated.js.map +1 -0
  32. package/dist/jest/mocks/styles.cjs +327 -0
  33. package/dist/jest/mocks/styles.d.cts +33 -0
  34. package/dist/jest/mocks/styles.d.cts.map +1 -0
  35. package/dist/jest/mocks/styles.d.ts +33 -0
  36. package/dist/jest/mocks/styles.d.ts.map +1 -0
  37. package/dist/jest/mocks/styles.js +310 -0
  38. package/dist/jest/mocks/styles.js.map +1 -0
  39. package/dist/jest/mocks/svg.cjs +133 -0
  40. package/dist/jest/mocks/svg.d.cts +137 -0
  41. package/dist/jest/mocks/svg.d.cts.map +1 -0
  42. package/dist/jest/mocks/svg.d.ts +137 -0
  43. package/dist/jest/mocks/svg.d.ts.map +1 -0
  44. package/dist/jest/mocks/svg.js +100 -0
  45. package/dist/jest/mocks/svg.js.map +1 -0
  46. package/dist/jest/mocks/unistyles.cjs +143 -0
  47. package/dist/jest/mocks/unistyles.d.cts +197 -0
  48. package/dist/jest/mocks/unistyles.d.cts.map +1 -0
  49. package/dist/jest/mocks/unistyles.d.ts +197 -0
  50. package/dist/jest/mocks/unistyles.d.ts.map +1 -0
  51. package/dist/jest/mocks/unistyles.js +132 -0
  52. package/dist/jest/mocks/unistyles.js.map +1 -0
  53. package/dist/jest/setup.cjs +40 -0
  54. package/dist/jest/setup.d.cts +11 -0
  55. package/dist/jest/setup.d.cts.map +1 -0
  56. package/dist/jest/setup.d.ts +11 -0
  57. package/dist/jest/setup.d.ts.map +1 -0
  58. package/dist/jest/setup.js +39 -0
  59. package/dist/jest/setup.js.map +1 -0
  60. package/package.json +11 -1
@@ -0,0 +1,327 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
+ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
4
+
5
+ //#region src/jest/mocks/styles.ts
6
+ var styles_exports = /* @__PURE__ */ require_runtime.__exportAll({
7
+ avatarStyles: () => avatarStyles,
8
+ badgeStyles: () => badgeStyles,
9
+ buttonStyles: () => buttonStyles,
10
+ checkboxStyles: () => checkboxStyles,
11
+ chipStyles: () => chipStyles,
12
+ iconButtonStyles: () => iconButtonStyles,
13
+ inputStyles: () => inputStyles,
14
+ linkStyles: () => linkStyles,
15
+ radioStyles: () => radioStyles,
16
+ styles: () => styles,
17
+ switchStyles: () => switchStyles,
18
+ textStyles: () => textStyles
19
+ });
20
+ /**
21
+ * Jest mock for generated/styles.
22
+ *
23
+ * Provides proxy-based mocks for the generated style objects
24
+ * (styles, buttonStyles, etc.) with useVariants as a no-op.
25
+ */
26
+ const defaultFoundation = {
27
+ display: "flex",
28
+ flexDirection: "column",
29
+ alignItems: "stretch",
30
+ justifyContent: "flex-start",
31
+ padding: 0,
32
+ paddingHorizontal: 0,
33
+ paddingVertical: 0,
34
+ margin: 0,
35
+ gap: 0,
36
+ backgroundColor: "transparent",
37
+ color: "#000000",
38
+ borderColor: "transparent",
39
+ borderWidth: 0,
40
+ borderRadius: 0,
41
+ fontFamily: "System",
42
+ fontSize: 14,
43
+ lineHeight: 20,
44
+ fontWeight: "regular",
45
+ opacity: 1,
46
+ boxShadow: ""
47
+ };
48
+ function createStyleObject(baseStyles = {}) {
49
+ return new Proxy({
50
+ ...defaultFoundation,
51
+ ...baseStyles,
52
+ useVariants: jest.fn()
53
+ }, { get(target, prop) {
54
+ if (prop === "useVariants") return jest.fn();
55
+ if (prop in target) return target[prop];
56
+ if (typeof prop === "string") {
57
+ if (prop.includes("color") || prop.includes("Color")) return "#000000";
58
+ if (prop.includes("width") || prop.includes("Width")) return 0;
59
+ if (prop.includes("radius") || prop.includes("Radius")) return 0;
60
+ if (prop.includes("size") || prop.includes("Size")) return 16;
61
+ if (prop.includes("spacing") || prop.includes("Spacing")) return 0;
62
+ if (prop.includes("gap") || prop.includes("Gap")) return 0;
63
+ }
64
+ } });
65
+ }
66
+ function createComponentStyles(styleKeys) {
67
+ const result = { useVariants: jest.fn() };
68
+ for (const [key, baseStyles] of Object.entries(styleKeys)) result[key] = createStyleObject(baseStyles);
69
+ return new Proxy(result, { get(target, prop) {
70
+ if (prop === "useVariants") return jest.fn();
71
+ if (prop in target) return target[prop];
72
+ if (typeof prop === "string") return createStyleObject();
73
+ } });
74
+ }
75
+ const styles = createComponentStyles({ foundation: defaultFoundation });
76
+ const buttonStyles = createComponentStyles({
77
+ root: {
78
+ display: "flex",
79
+ flexDirection: "row",
80
+ alignItems: "center",
81
+ justifyContent: "center",
82
+ gap: 8,
83
+ paddingHorizontal: 16,
84
+ paddingVertical: 10,
85
+ backgroundColor: "#6001D2",
86
+ borderRadius: 8,
87
+ borderWidth: 0,
88
+ borderColor: "transparent",
89
+ opacity: 1,
90
+ boxShadow: ""
91
+ },
92
+ text: {
93
+ fontFamily: "YahooProductSans-Medium",
94
+ fontSize: 14,
95
+ letterSpacing: 0,
96
+ lineHeight: 20,
97
+ color: "#FFFFFF"
98
+ },
99
+ icon: {
100
+ fontSize: 16,
101
+ iconSizeToken: "sm",
102
+ lineHeight: 16,
103
+ color: "#FFFFFF"
104
+ }
105
+ });
106
+ const textStyles = createComponentStyles({ root: {
107
+ fontFamily: "YahooProductSans-Regular",
108
+ fontSize: 14,
109
+ lineHeight: 20,
110
+ color: "#000000"
111
+ } });
112
+ const inputStyles = createComponentStyles({
113
+ root: {
114
+ display: "flex",
115
+ flexDirection: "column",
116
+ gap: 4
117
+ },
118
+ label: {
119
+ fontFamily: "YahooProductSans-Medium",
120
+ fontSize: 14,
121
+ lineHeight: 20,
122
+ color: "#000000"
123
+ },
124
+ inputContainer: {
125
+ display: "flex",
126
+ flexDirection: "row",
127
+ alignItems: "center",
128
+ paddingHorizontal: 12,
129
+ paddingVertical: 10,
130
+ backgroundColor: "#FFFFFF",
131
+ borderRadius: 8,
132
+ borderWidth: 1,
133
+ borderColor: "#E0E0E0"
134
+ },
135
+ input: {
136
+ flex: 1,
137
+ fontFamily: "YahooProductSans-Regular",
138
+ fontSize: 16,
139
+ lineHeight: 24,
140
+ color: "#000000"
141
+ },
142
+ helperText: {
143
+ fontFamily: "YahooProductSans-Regular",
144
+ fontSize: 12,
145
+ lineHeight: 16,
146
+ color: "#666666"
147
+ }
148
+ });
149
+ const checkboxStyles = createComponentStyles({
150
+ root: {
151
+ display: "flex",
152
+ flexDirection: "row",
153
+ alignItems: "center",
154
+ gap: 8
155
+ },
156
+ box: {
157
+ width: 20,
158
+ height: 20,
159
+ borderRadius: 4,
160
+ borderWidth: 2,
161
+ borderColor: "#6001D2",
162
+ backgroundColor: "transparent"
163
+ },
164
+ label: {
165
+ fontFamily: "YahooProductSans-Regular",
166
+ fontSize: 14,
167
+ lineHeight: 20,
168
+ color: "#000000"
169
+ }
170
+ });
171
+ const switchStyles = createComponentStyles({
172
+ root: {
173
+ display: "flex",
174
+ flexDirection: "row",
175
+ alignItems: "center",
176
+ gap: 8
177
+ },
178
+ track: {
179
+ width: 48,
180
+ height: 28,
181
+ borderRadius: 14,
182
+ backgroundColor: "#E0E0E0"
183
+ },
184
+ thumb: {
185
+ width: 24,
186
+ height: 24,
187
+ borderRadius: 12,
188
+ backgroundColor: "#FFFFFF"
189
+ },
190
+ label: {
191
+ fontFamily: "YahooProductSans-Regular",
192
+ fontSize: 14,
193
+ lineHeight: 20,
194
+ color: "#000000"
195
+ }
196
+ });
197
+ const avatarStyles = createComponentStyles({
198
+ root: {
199
+ display: "flex",
200
+ alignItems: "center",
201
+ justifyContent: "center",
202
+ borderRadius: 9999,
203
+ backgroundColor: "#E0E0E0",
204
+ overflow: "hidden"
205
+ },
206
+ image: {
207
+ width: "100%",
208
+ height: "100%"
209
+ },
210
+ initials: {
211
+ fontFamily: "YahooProductSans-Medium",
212
+ fontSize: 14,
213
+ color: "#000000"
214
+ }
215
+ });
216
+ const badgeStyles = createComponentStyles({
217
+ root: {
218
+ display: "flex",
219
+ alignItems: "center",
220
+ justifyContent: "center",
221
+ paddingHorizontal: 8,
222
+ paddingVertical: 2,
223
+ borderRadius: 4,
224
+ backgroundColor: "#E0E0E0"
225
+ },
226
+ text: {
227
+ fontFamily: "YahooProductSans-Medium",
228
+ fontSize: 12,
229
+ lineHeight: 16,
230
+ color: "#000000"
231
+ }
232
+ });
233
+ const chipStyles = createComponentStyles({
234
+ root: {
235
+ display: "flex",
236
+ flexDirection: "row",
237
+ alignItems: "center",
238
+ gap: 4,
239
+ paddingHorizontal: 12,
240
+ paddingVertical: 6,
241
+ borderRadius: 16,
242
+ backgroundColor: "#F5F5F5",
243
+ borderWidth: 1,
244
+ borderColor: "#E0E0E0"
245
+ },
246
+ text: {
247
+ fontFamily: "YahooProductSans-Medium",
248
+ fontSize: 14,
249
+ lineHeight: 20,
250
+ color: "#000000"
251
+ }
252
+ });
253
+ const linkStyles = createComponentStyles({
254
+ root: {
255
+ flexDirection: "row",
256
+ alignItems: "center",
257
+ gap: 4
258
+ },
259
+ text: {
260
+ fontFamily: "YahooProductSans-Regular",
261
+ fontSize: 14,
262
+ lineHeight: 20,
263
+ color: "#6001D2",
264
+ textDecorationLine: "underline"
265
+ }
266
+ });
267
+ const radioStyles = createComponentStyles({
268
+ root: {
269
+ display: "flex",
270
+ flexDirection: "row",
271
+ alignItems: "center",
272
+ gap: 8
273
+ },
274
+ circle: {
275
+ width: 20,
276
+ height: 20,
277
+ borderRadius: 10,
278
+ borderWidth: 2,
279
+ borderColor: "#6001D2",
280
+ backgroundColor: "transparent"
281
+ },
282
+ dot: {
283
+ width: 10,
284
+ height: 10,
285
+ borderRadius: 5,
286
+ backgroundColor: "#6001D2"
287
+ },
288
+ label: {
289
+ fontFamily: "YahooProductSans-Regular",
290
+ fontSize: 14,
291
+ lineHeight: 20,
292
+ color: "#000000"
293
+ }
294
+ });
295
+ const iconButtonStyles = createComponentStyles({
296
+ root: {
297
+ display: "flex",
298
+ alignItems: "center",
299
+ justifyContent: "center",
300
+ borderRadius: 8,
301
+ backgroundColor: "transparent"
302
+ },
303
+ icon: {
304
+ fontSize: 24,
305
+ color: "#000000"
306
+ }
307
+ });
308
+
309
+ //#endregion
310
+ exports.avatarStyles = avatarStyles;
311
+ exports.badgeStyles = badgeStyles;
312
+ exports.buttonStyles = buttonStyles;
313
+ exports.checkboxStyles = checkboxStyles;
314
+ exports.chipStyles = chipStyles;
315
+ exports.iconButtonStyles = iconButtonStyles;
316
+ exports.inputStyles = inputStyles;
317
+ exports.linkStyles = linkStyles;
318
+ exports.radioStyles = radioStyles;
319
+ exports.styles = styles;
320
+ Object.defineProperty(exports, 'styles_exports', {
321
+ enumerable: true,
322
+ get: function () {
323
+ return styles_exports;
324
+ }
325
+ });
326
+ exports.switchStyles = switchStyles;
327
+ exports.textStyles = textStyles;
@@ -0,0 +1,33 @@
1
+
2
+ declare namespace styles_d_exports {
3
+ export { StyleProps, avatarStyles, badgeStyles, buttonStyles, checkboxStyles, chipStyles, iconButtonStyles, inputStyles, linkStyles, radioStyles, styles, switchStyles, textStyles };
4
+ }
5
+ /**
6
+ * Jest mock for generated/styles.
7
+ *
8
+ * Provides proxy-based mocks for the generated style objects
9
+ * (styles, buttonStyles, etc.) with useVariants as a no-op.
10
+ */
11
+ declare const styles: Record<string, unknown>;
12
+ declare const buttonStyles: Record<string, unknown>;
13
+ declare const textStyles: Record<string, unknown>;
14
+ declare const inputStyles: Record<string, unknown>;
15
+ declare const checkboxStyles: Record<string, unknown>;
16
+ declare const switchStyles: Record<string, unknown>;
17
+ declare const avatarStyles: Record<string, unknown>;
18
+ declare const badgeStyles: Record<string, unknown>;
19
+ declare const chipStyles: Record<string, unknown>;
20
+ declare const linkStyles: Record<string, unknown>;
21
+ declare const radioStyles: Record<string, unknown>;
22
+ declare const iconButtonStyles: Record<string, unknown>;
23
+ interface StyleProps {
24
+ color?: string;
25
+ backgroundColor?: string;
26
+ borderColor?: string;
27
+ borderWidth?: number;
28
+ borderRadius?: number;
29
+ [key: string]: unknown;
30
+ }
31
+ //#endregion
32
+ export { StyleProps, avatarStyles, badgeStyles, buttonStyles, checkboxStyles, chipStyles, iconButtonStyles, inputStyles, linkStyles, radioStyles, styles, styles_d_exports, switchStyles, textStyles };
33
+ //# sourceMappingURL=styles.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.cts","names":[],"sources":["../../../src/jest/mocks/styles.ts"],"mappings":";;;;;;;;;;cAyGa,MAAA,EAAM,MAAA;AAAA,cAKN,YAAA,EAAY,MAAA;AAAA,cAgCZ,UAAA,EAAU,MAAA;AAAA,cAUV,WAAA,EAAW,MAAA;AAAA,cAuCX,cAAA,EAAc,MAAA;AAAA,cAwBd,YAAA,EAAY,MAAA;AAAA,cA4BZ,YAAA,EAAY,MAAA;AAAA,cAqBZ,WAAA,EAAW,MAAA;AAAA,cAmBX,UAAA,EAAU,MAAA;AAAA,cAsBV,UAAA,EAAU,MAAA;AAAA,cAgBV,WAAA,EAAW,MAAA;AAAA,cA8BX,gBAAA,EAAgB,MAAA;AAAA,UAeZ,UAAA;EACf,KAAA;EACA,eAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EAAA,CACC,GAAA;AAAA"}
@@ -0,0 +1,33 @@
1
+
2
+ declare namespace styles_d_exports {
3
+ export { StyleProps, avatarStyles, badgeStyles, buttonStyles, checkboxStyles, chipStyles, iconButtonStyles, inputStyles, linkStyles, radioStyles, styles, switchStyles, textStyles };
4
+ }
5
+ /**
6
+ * Jest mock for generated/styles.
7
+ *
8
+ * Provides proxy-based mocks for the generated style objects
9
+ * (styles, buttonStyles, etc.) with useVariants as a no-op.
10
+ */
11
+ declare const styles: Record<string, unknown>;
12
+ declare const buttonStyles: Record<string, unknown>;
13
+ declare const textStyles: Record<string, unknown>;
14
+ declare const inputStyles: Record<string, unknown>;
15
+ declare const checkboxStyles: Record<string, unknown>;
16
+ declare const switchStyles: Record<string, unknown>;
17
+ declare const avatarStyles: Record<string, unknown>;
18
+ declare const badgeStyles: Record<string, unknown>;
19
+ declare const chipStyles: Record<string, unknown>;
20
+ declare const linkStyles: Record<string, unknown>;
21
+ declare const radioStyles: Record<string, unknown>;
22
+ declare const iconButtonStyles: Record<string, unknown>;
23
+ interface StyleProps {
24
+ color?: string;
25
+ backgroundColor?: string;
26
+ borderColor?: string;
27
+ borderWidth?: number;
28
+ borderRadius?: number;
29
+ [key: string]: unknown;
30
+ }
31
+ //#endregion
32
+ export { StyleProps, avatarStyles, badgeStyles, buttonStyles, checkboxStyles, chipStyles, iconButtonStyles, inputStyles, linkStyles, radioStyles, styles, styles_d_exports, switchStyles, textStyles };
33
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","names":[],"sources":["../../../src/jest/mocks/styles.ts"],"mappings":";;;;;;;;;;cAyGa,MAAA,EAAM,MAAA;AAAA,cAKN,YAAA,EAAY,MAAA;AAAA,cAgCZ,UAAA,EAAU,MAAA;AAAA,cAUV,WAAA,EAAW,MAAA;AAAA,cAuCX,cAAA,EAAc,MAAA;AAAA,cAwBd,YAAA,EAAY,MAAA;AAAA,cA4BZ,YAAA,EAAY,MAAA;AAAA,cAqBZ,WAAA,EAAW,MAAA;AAAA,cAmBX,UAAA,EAAU,MAAA;AAAA,cAsBV,UAAA,EAAU,MAAA;AAAA,cAgBV,WAAA,EAAW,MAAA;AAAA,cA8BX,gBAAA,EAAgB,MAAA;AAAA,UAeZ,UAAA;EACf,KAAA;EACA,eAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EAAA,CACC,GAAA;AAAA"}
@@ -0,0 +1,310 @@
1
+ /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
+ import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
3
+
4
+ //#region src/jest/mocks/styles.ts
5
+ var styles_exports = /* @__PURE__ */ __exportAll({
6
+ avatarStyles: () => avatarStyles,
7
+ badgeStyles: () => badgeStyles,
8
+ buttonStyles: () => buttonStyles,
9
+ checkboxStyles: () => checkboxStyles,
10
+ chipStyles: () => chipStyles,
11
+ iconButtonStyles: () => iconButtonStyles,
12
+ inputStyles: () => inputStyles,
13
+ linkStyles: () => linkStyles,
14
+ radioStyles: () => radioStyles,
15
+ styles: () => styles,
16
+ switchStyles: () => switchStyles,
17
+ textStyles: () => textStyles
18
+ });
19
+ /**
20
+ * Jest mock for generated/styles.
21
+ *
22
+ * Provides proxy-based mocks for the generated style objects
23
+ * (styles, buttonStyles, etc.) with useVariants as a no-op.
24
+ */
25
+ const defaultFoundation = {
26
+ display: "flex",
27
+ flexDirection: "column",
28
+ alignItems: "stretch",
29
+ justifyContent: "flex-start",
30
+ padding: 0,
31
+ paddingHorizontal: 0,
32
+ paddingVertical: 0,
33
+ margin: 0,
34
+ gap: 0,
35
+ backgroundColor: "transparent",
36
+ color: "#000000",
37
+ borderColor: "transparent",
38
+ borderWidth: 0,
39
+ borderRadius: 0,
40
+ fontFamily: "System",
41
+ fontSize: 14,
42
+ lineHeight: 20,
43
+ fontWeight: "regular",
44
+ opacity: 1,
45
+ boxShadow: ""
46
+ };
47
+ function createStyleObject(baseStyles = {}) {
48
+ return new Proxy({
49
+ ...defaultFoundation,
50
+ ...baseStyles,
51
+ useVariants: jest.fn()
52
+ }, { get(target, prop) {
53
+ if (prop === "useVariants") return jest.fn();
54
+ if (prop in target) return target[prop];
55
+ if (typeof prop === "string") {
56
+ if (prop.includes("color") || prop.includes("Color")) return "#000000";
57
+ if (prop.includes("width") || prop.includes("Width")) return 0;
58
+ if (prop.includes("radius") || prop.includes("Radius")) return 0;
59
+ if (prop.includes("size") || prop.includes("Size")) return 16;
60
+ if (prop.includes("spacing") || prop.includes("Spacing")) return 0;
61
+ if (prop.includes("gap") || prop.includes("Gap")) return 0;
62
+ }
63
+ } });
64
+ }
65
+ function createComponentStyles(styleKeys) {
66
+ const result = { useVariants: jest.fn() };
67
+ for (const [key, baseStyles] of Object.entries(styleKeys)) result[key] = createStyleObject(baseStyles);
68
+ return new Proxy(result, { get(target, prop) {
69
+ if (prop === "useVariants") return jest.fn();
70
+ if (prop in target) return target[prop];
71
+ if (typeof prop === "string") return createStyleObject();
72
+ } });
73
+ }
74
+ const styles = createComponentStyles({ foundation: defaultFoundation });
75
+ const buttonStyles = createComponentStyles({
76
+ root: {
77
+ display: "flex",
78
+ flexDirection: "row",
79
+ alignItems: "center",
80
+ justifyContent: "center",
81
+ gap: 8,
82
+ paddingHorizontal: 16,
83
+ paddingVertical: 10,
84
+ backgroundColor: "#6001D2",
85
+ borderRadius: 8,
86
+ borderWidth: 0,
87
+ borderColor: "transparent",
88
+ opacity: 1,
89
+ boxShadow: ""
90
+ },
91
+ text: {
92
+ fontFamily: "YahooProductSans-Medium",
93
+ fontSize: 14,
94
+ letterSpacing: 0,
95
+ lineHeight: 20,
96
+ color: "#FFFFFF"
97
+ },
98
+ icon: {
99
+ fontSize: 16,
100
+ iconSizeToken: "sm",
101
+ lineHeight: 16,
102
+ color: "#FFFFFF"
103
+ }
104
+ });
105
+ const textStyles = createComponentStyles({ root: {
106
+ fontFamily: "YahooProductSans-Regular",
107
+ fontSize: 14,
108
+ lineHeight: 20,
109
+ color: "#000000"
110
+ } });
111
+ const inputStyles = createComponentStyles({
112
+ root: {
113
+ display: "flex",
114
+ flexDirection: "column",
115
+ gap: 4
116
+ },
117
+ label: {
118
+ fontFamily: "YahooProductSans-Medium",
119
+ fontSize: 14,
120
+ lineHeight: 20,
121
+ color: "#000000"
122
+ },
123
+ inputContainer: {
124
+ display: "flex",
125
+ flexDirection: "row",
126
+ alignItems: "center",
127
+ paddingHorizontal: 12,
128
+ paddingVertical: 10,
129
+ backgroundColor: "#FFFFFF",
130
+ borderRadius: 8,
131
+ borderWidth: 1,
132
+ borderColor: "#E0E0E0"
133
+ },
134
+ input: {
135
+ flex: 1,
136
+ fontFamily: "YahooProductSans-Regular",
137
+ fontSize: 16,
138
+ lineHeight: 24,
139
+ color: "#000000"
140
+ },
141
+ helperText: {
142
+ fontFamily: "YahooProductSans-Regular",
143
+ fontSize: 12,
144
+ lineHeight: 16,
145
+ color: "#666666"
146
+ }
147
+ });
148
+ const checkboxStyles = createComponentStyles({
149
+ root: {
150
+ display: "flex",
151
+ flexDirection: "row",
152
+ alignItems: "center",
153
+ gap: 8
154
+ },
155
+ box: {
156
+ width: 20,
157
+ height: 20,
158
+ borderRadius: 4,
159
+ borderWidth: 2,
160
+ borderColor: "#6001D2",
161
+ backgroundColor: "transparent"
162
+ },
163
+ label: {
164
+ fontFamily: "YahooProductSans-Regular",
165
+ fontSize: 14,
166
+ lineHeight: 20,
167
+ color: "#000000"
168
+ }
169
+ });
170
+ const switchStyles = createComponentStyles({
171
+ root: {
172
+ display: "flex",
173
+ flexDirection: "row",
174
+ alignItems: "center",
175
+ gap: 8
176
+ },
177
+ track: {
178
+ width: 48,
179
+ height: 28,
180
+ borderRadius: 14,
181
+ backgroundColor: "#E0E0E0"
182
+ },
183
+ thumb: {
184
+ width: 24,
185
+ height: 24,
186
+ borderRadius: 12,
187
+ backgroundColor: "#FFFFFF"
188
+ },
189
+ label: {
190
+ fontFamily: "YahooProductSans-Regular",
191
+ fontSize: 14,
192
+ lineHeight: 20,
193
+ color: "#000000"
194
+ }
195
+ });
196
+ const avatarStyles = createComponentStyles({
197
+ root: {
198
+ display: "flex",
199
+ alignItems: "center",
200
+ justifyContent: "center",
201
+ borderRadius: 9999,
202
+ backgroundColor: "#E0E0E0",
203
+ overflow: "hidden"
204
+ },
205
+ image: {
206
+ width: "100%",
207
+ height: "100%"
208
+ },
209
+ initials: {
210
+ fontFamily: "YahooProductSans-Medium",
211
+ fontSize: 14,
212
+ color: "#000000"
213
+ }
214
+ });
215
+ const badgeStyles = createComponentStyles({
216
+ root: {
217
+ display: "flex",
218
+ alignItems: "center",
219
+ justifyContent: "center",
220
+ paddingHorizontal: 8,
221
+ paddingVertical: 2,
222
+ borderRadius: 4,
223
+ backgroundColor: "#E0E0E0"
224
+ },
225
+ text: {
226
+ fontFamily: "YahooProductSans-Medium",
227
+ fontSize: 12,
228
+ lineHeight: 16,
229
+ color: "#000000"
230
+ }
231
+ });
232
+ const chipStyles = createComponentStyles({
233
+ root: {
234
+ display: "flex",
235
+ flexDirection: "row",
236
+ alignItems: "center",
237
+ gap: 4,
238
+ paddingHorizontal: 12,
239
+ paddingVertical: 6,
240
+ borderRadius: 16,
241
+ backgroundColor: "#F5F5F5",
242
+ borderWidth: 1,
243
+ borderColor: "#E0E0E0"
244
+ },
245
+ text: {
246
+ fontFamily: "YahooProductSans-Medium",
247
+ fontSize: 14,
248
+ lineHeight: 20,
249
+ color: "#000000"
250
+ }
251
+ });
252
+ const linkStyles = createComponentStyles({
253
+ root: {
254
+ flexDirection: "row",
255
+ alignItems: "center",
256
+ gap: 4
257
+ },
258
+ text: {
259
+ fontFamily: "YahooProductSans-Regular",
260
+ fontSize: 14,
261
+ lineHeight: 20,
262
+ color: "#6001D2",
263
+ textDecorationLine: "underline"
264
+ }
265
+ });
266
+ const radioStyles = createComponentStyles({
267
+ root: {
268
+ display: "flex",
269
+ flexDirection: "row",
270
+ alignItems: "center",
271
+ gap: 8
272
+ },
273
+ circle: {
274
+ width: 20,
275
+ height: 20,
276
+ borderRadius: 10,
277
+ borderWidth: 2,
278
+ borderColor: "#6001D2",
279
+ backgroundColor: "transparent"
280
+ },
281
+ dot: {
282
+ width: 10,
283
+ height: 10,
284
+ borderRadius: 5,
285
+ backgroundColor: "#6001D2"
286
+ },
287
+ label: {
288
+ fontFamily: "YahooProductSans-Regular",
289
+ fontSize: 14,
290
+ lineHeight: 20,
291
+ color: "#000000"
292
+ }
293
+ });
294
+ const iconButtonStyles = createComponentStyles({
295
+ root: {
296
+ display: "flex",
297
+ alignItems: "center",
298
+ justifyContent: "center",
299
+ borderRadius: 8,
300
+ backgroundColor: "transparent"
301
+ },
302
+ icon: {
303
+ fontSize: 24,
304
+ color: "#000000"
305
+ }
306
+ });
307
+
308
+ //#endregion
309
+ export { avatarStyles, badgeStyles, buttonStyles, checkboxStyles, chipStyles, iconButtonStyles, inputStyles, linkStyles, radioStyles, styles, styles_exports, switchStyles, textStyles };
310
+ //# sourceMappingURL=styles.js.map