@xaui/native 0.0.8 → 0.0.9

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 (49) hide show
  1. package/dist/accordion/index.cjs +86 -68
  2. package/dist/accordion/index.js +2 -2
  3. package/dist/autocomplete/index.cjs +1503 -0
  4. package/dist/autocomplete/index.d.cts +70 -0
  5. package/dist/autocomplete/index.d.ts +70 -0
  6. package/dist/autocomplete/index.js +11 -0
  7. package/dist/button/index.cjs +87 -69
  8. package/dist/button/index.js +2 -2
  9. package/dist/checkbox/index.cjs +48 -30
  10. package/dist/checkbox/index.js +1 -1
  11. package/dist/{chunk-B2VGVZ3J.js → chunk-63LRW4QD.js} +1 -1
  12. package/dist/chunk-6HUSEZDJ.js +1138 -0
  13. package/dist/chunk-7LXW4BXD.js +606 -0
  14. package/dist/chunk-GBHQCAKW.js +19 -0
  15. package/dist/{chunk-R34CVLCX.js → chunk-GNJIET26.js} +1 -1
  16. package/dist/chunk-NBRASCX4.js +145 -0
  17. package/dist/chunk-ZYTBRHLJ.js +150 -0
  18. package/dist/core/index.cjs +68 -10
  19. package/dist/core/index.d.cts +9 -1
  20. package/dist/core/index.d.ts +9 -1
  21. package/dist/core/index.js +5 -1
  22. package/dist/divider/index.cjs +31 -13
  23. package/dist/divider/index.js +2 -2
  24. package/dist/icon/index.cjs +680 -0
  25. package/dist/icon/index.d.cts +36 -0
  26. package/dist/icon/index.d.ts +36 -0
  27. package/dist/icon/index.js +13 -0
  28. package/dist/index.cjs +1641 -53
  29. package/dist/index.d.cts +3 -0
  30. package/dist/index.d.ts +3 -0
  31. package/dist/index.js +16 -4
  32. package/dist/indicator/index.cjs +60 -42
  33. package/dist/indicator/index.js +2 -2
  34. package/dist/progress/index.cjs +45 -27
  35. package/dist/progress/index.js +1 -1
  36. package/dist/select/index.cjs +107 -89
  37. package/dist/select/index.js +10 -23
  38. package/dist/switch/index.cjs +58 -40
  39. package/dist/switch/index.js +1 -1
  40. package/dist/typography/index.cjs +223 -0
  41. package/dist/typography/index.d.cts +43 -0
  42. package/dist/typography/index.d.ts +43 -0
  43. package/dist/typography/index.js +7 -0
  44. package/dist/view/index.cjs +8 -2
  45. package/dist/view/index.d.cts +11 -1
  46. package/dist/view/index.d.ts +11 -1
  47. package/dist/view/index.js +8 -2
  48. package/package.json +16 -1
  49. package/dist/chunk-ORMNMNOK.js +0 -89
@@ -0,0 +1,606 @@
1
+ import {
2
+ useXUITheme
3
+ } from "./chunk-NBRASCX4.js";
4
+
5
+ // src/components/icon/icons/arrow-back.tsx
6
+ import React, { useEffect, useMemo, useRef } from "react";
7
+ import { Animated } from "react-native";
8
+ import Svg, { Circle, Path, Rect } from "react-native-svg";
9
+
10
+ // src/components/icon/icon.utils.ts
11
+ var isThemeColor = (color) => {
12
+ const themeColors = [
13
+ "primary",
14
+ "secondary",
15
+ "tertiary",
16
+ "danger",
17
+ "warning",
18
+ "success",
19
+ "default"
20
+ ];
21
+ return themeColors.includes(color);
22
+ };
23
+
24
+ // src/components/icon/icons/arrow-back.tsx
25
+ var AnimatedPath = Animated.createAnimatedComponent(Path);
26
+ var ArrowBackIcon = ({
27
+ variant = "baseline",
28
+ size = 24,
29
+ color = "default",
30
+ isAnimated = false
31
+ }) => {
32
+ const theme = useXUITheme();
33
+ const scaleAnim = useRef(new Animated.Value(isAnimated ? 0 : 1)).current;
34
+ const opacityAnim = useRef(new Animated.Value(isAnimated ? 0 : 1)).current;
35
+ const resolvedColor = useMemo(() => {
36
+ if (typeof color === "string" && isThemeColor(color)) {
37
+ return theme.colors[color].main;
38
+ }
39
+ return color;
40
+ }, [color, theme]);
41
+ useEffect(() => {
42
+ if (isAnimated) {
43
+ Animated.parallel([
44
+ Animated.spring(scaleAnim, {
45
+ toValue: 1,
46
+ useNativeDriver: true,
47
+ tension: 50,
48
+ friction: 7
49
+ }),
50
+ Animated.timing(opacityAnim, {
51
+ toValue: 1,
52
+ duration: 200,
53
+ useNativeDriver: true
54
+ })
55
+ ]).start();
56
+ }
57
+ }, [isAnimated, scaleAnim, opacityAnim]);
58
+ const animatedProps = isAnimated ? {
59
+ transform: [{ scale: scaleAnim }],
60
+ opacity: opacityAnim
61
+ } : void 0;
62
+ const renderArrow = () => /* @__PURE__ */ React.createElement(
63
+ AnimatedPath,
64
+ {
65
+ fill: "none",
66
+ stroke: resolvedColor,
67
+ strokeLinecap: "round",
68
+ strokeLinejoin: "round",
69
+ strokeWidth: 48,
70
+ d: "M244 400L100 256l144-144M120 256h292",
71
+ ...animatedProps
72
+ }
73
+ );
74
+ const renderDuotone = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
75
+ Path,
76
+ {
77
+ fill: resolvedColor,
78
+ opacity: 0.3,
79
+ d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48z"
80
+ }
81
+ ), renderArrow());
82
+ const renderRoundOutlined = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
83
+ Circle,
84
+ {
85
+ cx: "256",
86
+ cy: "256",
87
+ r: "192",
88
+ fill: "none",
89
+ stroke: resolvedColor,
90
+ strokeWidth: 32
91
+ }
92
+ ), renderArrow());
93
+ const renderSquareOutlined = () => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
94
+ Rect,
95
+ {
96
+ x: "64",
97
+ y: "64",
98
+ width: "384",
99
+ height: "384",
100
+ rx: "48",
101
+ fill: "none",
102
+ stroke: resolvedColor,
103
+ strokeWidth: 32
104
+ }
105
+ ), renderArrow());
106
+ const renderVariant = () => {
107
+ switch (variant) {
108
+ case "duotone":
109
+ return renderDuotone();
110
+ case "round-outlined":
111
+ return renderRoundOutlined();
112
+ case "square-outlined":
113
+ return renderSquareOutlined();
114
+ case "filled":
115
+ case "round-filled":
116
+ case "square-filled":
117
+ case "baseline":
118
+ default:
119
+ return renderArrow();
120
+ }
121
+ };
122
+ return /* @__PURE__ */ React.createElement(Svg, { width: size, height: size, viewBox: "0 0 512 512" }, renderVariant());
123
+ };
124
+
125
+ // src/components/icon/icons/checkmark.tsx
126
+ import React2, { useEffect as useEffect2, useMemo as useMemo2, useRef as useRef2 } from "react";
127
+ import { Animated as Animated2 } from "react-native";
128
+ import Svg2, { Path as Path2, Circle as Circle2, Rect as Rect2 } from "react-native-svg";
129
+ var AnimatedPath2 = Animated2.createAnimatedComponent(Path2);
130
+ var CheckmarkIcon = ({
131
+ variant = "baseline",
132
+ size = 24,
133
+ color = "default",
134
+ isAnimated = false
135
+ }) => {
136
+ const theme = useXUITheme();
137
+ const scaleAnim = useRef2(new Animated2.Value(isAnimated ? 0 : 1)).current;
138
+ const opacityAnim = useRef2(new Animated2.Value(isAnimated ? 0 : 1)).current;
139
+ const resolvedColor = useMemo2(() => {
140
+ if (typeof color === "string" && isThemeColor(color)) {
141
+ return theme.colors[color].main;
142
+ }
143
+ return color;
144
+ }, [color, theme]);
145
+ useEffect2(() => {
146
+ if (isAnimated) {
147
+ Animated2.parallel([
148
+ Animated2.spring(scaleAnim, {
149
+ toValue: 1,
150
+ useNativeDriver: true,
151
+ tension: 50,
152
+ friction: 7
153
+ }),
154
+ Animated2.timing(opacityAnim, {
155
+ toValue: 1,
156
+ duration: 200,
157
+ useNativeDriver: true
158
+ })
159
+ ]).start();
160
+ }
161
+ }, [isAnimated, scaleAnim, opacityAnim]);
162
+ const animatedProps = isAnimated ? {
163
+ transform: [{ scale: scaleAnim }],
164
+ opacity: opacityAnim
165
+ } : void 0;
166
+ const renderBaseline = () => /* @__PURE__ */ React2.createElement(
167
+ AnimatedPath2,
168
+ {
169
+ fill: "none",
170
+ stroke: resolvedColor,
171
+ strokeLinecap: "round",
172
+ strokeLinejoin: "round",
173
+ strokeWidth: 32,
174
+ d: "M416 128L192 384l-96-96",
175
+ ...animatedProps
176
+ }
177
+ );
178
+ const renderFilled = () => /* @__PURE__ */ React2.createElement(
179
+ AnimatedPath2,
180
+ {
181
+ fill: resolvedColor,
182
+ d: "M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192zm-257.9 78.9l-64-64a16 16 0 0 1 22.6-22.6l52.7 52.7 116.7-116.7a16 16 0 0 1 22.6 22.6l-128 128a16 16 0 0 1-22.6 0z",
183
+ ...animatedProps
184
+ }
185
+ );
186
+ const renderDuotone = () => /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
187
+ Path2,
188
+ {
189
+ fill: resolvedColor,
190
+ opacity: 0.3,
191
+ d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48z"
192
+ }
193
+ ), /* @__PURE__ */ React2.createElement(
194
+ AnimatedPath2,
195
+ {
196
+ fill: "none",
197
+ stroke: resolvedColor,
198
+ strokeLinecap: "round",
199
+ strokeLinejoin: "round",
200
+ strokeWidth: 32,
201
+ d: "M416 128L192 384l-96-96",
202
+ ...animatedProps
203
+ }
204
+ ));
205
+ const renderRoundOutlined = () => /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
206
+ Circle2,
207
+ {
208
+ cx: "256",
209
+ cy: "256",
210
+ r: "192",
211
+ fill: "none",
212
+ stroke: resolvedColor,
213
+ strokeWidth: 32
214
+ }
215
+ ), /* @__PURE__ */ React2.createElement(
216
+ AnimatedPath2,
217
+ {
218
+ fill: "none",
219
+ stroke: resolvedColor,
220
+ strokeLinecap: "round",
221
+ strokeLinejoin: "round",
222
+ strokeWidth: 32,
223
+ d: "M416 128L192 384l-96-96",
224
+ ...animatedProps
225
+ }
226
+ ));
227
+ const renderSquareOutlined = () => /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
228
+ Rect2,
229
+ {
230
+ x: "64",
231
+ y: "64",
232
+ width: "384",
233
+ height: "384",
234
+ rx: "48",
235
+ fill: "none",
236
+ stroke: resolvedColor,
237
+ strokeWidth: 32
238
+ }
239
+ ), /* @__PURE__ */ React2.createElement(
240
+ AnimatedPath2,
241
+ {
242
+ fill: "none",
243
+ stroke: resolvedColor,
244
+ strokeLinecap: "round",
245
+ strokeLinejoin: "round",
246
+ strokeWidth: 32,
247
+ d: "M416 128L192 384l-96-96",
248
+ ...animatedProps
249
+ }
250
+ ));
251
+ const renderRoundFilled = () => /* @__PURE__ */ React2.createElement(
252
+ AnimatedPath2,
253
+ {
254
+ fill: resolvedColor,
255
+ d: "M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192zm-257.9 78.9l-64-64a16 16 0 0 1 22.6-22.6l52.7 52.7 116.7-116.7a16 16 0 0 1 22.6 22.6l-128 128a16 16 0 0 1-22.6 0z",
256
+ ...animatedProps
257
+ }
258
+ );
259
+ const renderSquareFilled = () => /* @__PURE__ */ React2.createElement(
260
+ AnimatedPath2,
261
+ {
262
+ fill: resolvedColor,
263
+ d: "M400 64H112a48 48 0 0 0-48 48v288a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V112a48 48 0 0 0-48-48zm-141.45 241.25l-116.36-103a16 16 0 0 1 21.62-23.58l104.18 92.23 145.69-145.69a16 16 0 0 1 22.62 22.62l-156 156a16 16 0 0 1-21.75.42z",
264
+ ...animatedProps
265
+ }
266
+ );
267
+ const renderVariant = () => {
268
+ switch (variant) {
269
+ case "filled":
270
+ return renderFilled();
271
+ case "duotone":
272
+ return renderDuotone();
273
+ case "round-outlined":
274
+ return renderRoundOutlined();
275
+ case "square-outlined":
276
+ return renderSquareOutlined();
277
+ case "round-filled":
278
+ return renderRoundFilled();
279
+ case "square-filled":
280
+ return renderSquareFilled();
281
+ case "baseline":
282
+ default:
283
+ return renderBaseline();
284
+ }
285
+ };
286
+ return /* @__PURE__ */ React2.createElement(Svg2, { width: size, height: size, viewBox: "0 0 512 512" }, renderVariant());
287
+ };
288
+
289
+ // src/components/icon/icons/chevron-down.tsx
290
+ import React3, { useEffect as useEffect3, useMemo as useMemo3, useRef as useRef3 } from "react";
291
+ import { Animated as Animated3 } from "react-native";
292
+ import Svg3, { Path as Path3, Circle as Circle3, Rect as Rect3 } from "react-native-svg";
293
+ var AnimatedPath3 = Animated3.createAnimatedComponent(Path3);
294
+ var ChevronDownIcon = ({
295
+ variant = "baseline",
296
+ size = 24,
297
+ color = "default",
298
+ isAnimated = false
299
+ }) => {
300
+ const theme = useXUITheme();
301
+ const scaleAnim = useRef3(new Animated3.Value(isAnimated ? 0 : 1)).current;
302
+ const opacityAnim = useRef3(new Animated3.Value(isAnimated ? 0 : 1)).current;
303
+ const resolvedColor = useMemo3(() => {
304
+ if (typeof color === "string" && isThemeColor(color)) {
305
+ return theme.colors[color].main;
306
+ }
307
+ return color;
308
+ }, [color, theme]);
309
+ useEffect3(() => {
310
+ if (isAnimated) {
311
+ Animated3.parallel([
312
+ Animated3.spring(scaleAnim, {
313
+ toValue: 1,
314
+ useNativeDriver: true,
315
+ tension: 50,
316
+ friction: 7
317
+ }),
318
+ Animated3.timing(opacityAnim, {
319
+ toValue: 1,
320
+ duration: 200,
321
+ useNativeDriver: true
322
+ })
323
+ ]).start();
324
+ }
325
+ }, [isAnimated, scaleAnim, opacityAnim]);
326
+ const animatedProps = isAnimated ? {
327
+ transform: [{ scale: scaleAnim }],
328
+ opacity: opacityAnim
329
+ } : void 0;
330
+ const renderBaseline = () => /* @__PURE__ */ React3.createElement(
331
+ AnimatedPath3,
332
+ {
333
+ fill: "none",
334
+ stroke: resolvedColor,
335
+ strokeLinecap: "round",
336
+ strokeLinejoin: "round",
337
+ strokeWidth: 48,
338
+ d: "M112 184l144 144 144-144",
339
+ ...animatedProps
340
+ }
341
+ );
342
+ const renderFilled = () => /* @__PURE__ */ React3.createElement(
343
+ AnimatedPath3,
344
+ {
345
+ fill: resolvedColor,
346
+ d: "M256 294.1L383 167c9.4-9.4 24.6-9.4 33.9 0s9.3 24.6 0 34L273 345c-9.1 9.1-23.7 9.3-33.1.7L95 201.1c-4.7-4.7-7-10.9-7-17s2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l127.1 127z",
347
+ ...animatedProps
348
+ }
349
+ );
350
+ const renderDuotone = () => /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(
351
+ Path3,
352
+ {
353
+ fill: resolvedColor,
354
+ opacity: 0.3,
355
+ d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48z"
356
+ }
357
+ ), /* @__PURE__ */ React3.createElement(
358
+ AnimatedPath3,
359
+ {
360
+ fill: "none",
361
+ stroke: resolvedColor,
362
+ strokeLinecap: "round",
363
+ strokeLinejoin: "round",
364
+ strokeWidth: 48,
365
+ d: "M112 184l144 144 144-144",
366
+ ...animatedProps
367
+ }
368
+ ));
369
+ const renderRoundOutlined = () => /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(
370
+ Circle3,
371
+ {
372
+ cx: "256",
373
+ cy: "256",
374
+ r: "192",
375
+ fill: "none",
376
+ stroke: resolvedColor,
377
+ strokeWidth: 32
378
+ }
379
+ ), /* @__PURE__ */ React3.createElement(
380
+ AnimatedPath3,
381
+ {
382
+ fill: "none",
383
+ stroke: resolvedColor,
384
+ strokeLinecap: "round",
385
+ strokeLinejoin: "round",
386
+ strokeWidth: 48,
387
+ d: "M112 184l144 144 144-144",
388
+ ...animatedProps
389
+ }
390
+ ));
391
+ const renderSquareOutlined = () => /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(
392
+ Rect3,
393
+ {
394
+ x: "64",
395
+ y: "64",
396
+ width: "384",
397
+ height: "384",
398
+ rx: "48",
399
+ fill: "none",
400
+ stroke: resolvedColor,
401
+ strokeWidth: 32
402
+ }
403
+ ), /* @__PURE__ */ React3.createElement(
404
+ AnimatedPath3,
405
+ {
406
+ fill: "none",
407
+ stroke: resolvedColor,
408
+ strokeLinecap: "round",
409
+ strokeLinejoin: "round",
410
+ strokeWidth: 48,
411
+ d: "M112 184l144 144 144-144",
412
+ ...animatedProps
413
+ }
414
+ ));
415
+ const renderRoundFilled = () => /* @__PURE__ */ React3.createElement(
416
+ AnimatedPath3,
417
+ {
418
+ fill: resolvedColor,
419
+ d: "M464 256c0-114.87-93.13-208-208-208S48 141.13 48 256s93.13 208 208 208 208-93.13 208-208zm-100.69-28.69l-96 96a16 16 0 0 1-22.62 0l-96-96a16 16 0 0 1 22.62-22.62L256 289.37l84.69-84.68a16 16 0 0 1 22.62 22.62z",
420
+ ...animatedProps
421
+ }
422
+ );
423
+ const renderSquareFilled = () => /* @__PURE__ */ React3.createElement(
424
+ AnimatedPath3,
425
+ {
426
+ fill: resolvedColor,
427
+ d: "M400 64H112a48 48 0 0 0-48 48v288a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V112a48 48 0 0 0-48-48zm-36.69 163.31l-96 96a16 16 0 0 1-22.62 0l-96-96a16 16 0 0 1 22.62-22.62L256 289.37l84.69-84.68a16 16 0 0 1 22.62 22.62z",
428
+ ...animatedProps
429
+ }
430
+ );
431
+ const renderVariant = () => {
432
+ switch (variant) {
433
+ case "filled":
434
+ return renderFilled();
435
+ case "duotone":
436
+ return renderDuotone();
437
+ case "round-outlined":
438
+ return renderRoundOutlined();
439
+ case "square-outlined":
440
+ return renderSquareOutlined();
441
+ case "round-filled":
442
+ return renderRoundFilled();
443
+ case "square-filled":
444
+ return renderSquareFilled();
445
+ case "baseline":
446
+ default:
447
+ return renderBaseline();
448
+ }
449
+ };
450
+ return /* @__PURE__ */ React3.createElement(Svg3, { width: size, height: size, viewBox: "0 0 512 512" }, renderVariant());
451
+ };
452
+
453
+ // src/components/icon/icons/close.tsx
454
+ import React4, { useEffect as useEffect4, useMemo as useMemo4, useRef as useRef4 } from "react";
455
+ import { Animated as Animated4 } from "react-native";
456
+ import Svg4, { Path as Path4, Rect as Rect4, Circle as Circle4 } from "react-native-svg";
457
+ var AnimatedPath4 = Animated4.createAnimatedComponent(Path4);
458
+ var CloseIcon = ({
459
+ variant = "baseline",
460
+ size = 24,
461
+ color = "default",
462
+ isAnimated = false
463
+ }) => {
464
+ const theme = useXUITheme();
465
+ const scaleAnim = useRef4(new Animated4.Value(isAnimated ? 0 : 1)).current;
466
+ const opacityAnim = useRef4(new Animated4.Value(isAnimated ? 0 : 1)).current;
467
+ const resolvedColor = useMemo4(() => {
468
+ if (typeof color === "string" && isThemeColor(color)) {
469
+ return theme.colors[color].main;
470
+ }
471
+ return color;
472
+ }, [color, theme]);
473
+ useEffect4(() => {
474
+ if (isAnimated) {
475
+ Animated4.parallel([
476
+ Animated4.spring(scaleAnim, {
477
+ toValue: 1,
478
+ useNativeDriver: true,
479
+ tension: 50,
480
+ friction: 7
481
+ }),
482
+ Animated4.timing(opacityAnim, {
483
+ toValue: 1,
484
+ duration: 200,
485
+ useNativeDriver: true
486
+ })
487
+ ]).start();
488
+ }
489
+ }, [isAnimated, scaleAnim, opacityAnim]);
490
+ const animatedProps = isAnimated ? {
491
+ transform: [{ scale: scaleAnim }],
492
+ opacity: opacityAnim
493
+ } : void 0;
494
+ const renderBaseline = () => /* @__PURE__ */ React4.createElement(
495
+ AnimatedPath4,
496
+ {
497
+ fill: resolvedColor,
498
+ d: "m289.94 256l95-95A24 24 0 0 0 351 127l-95 95l-95-95a24 24 0 0 0-34 34l95 95l-95 95a24 24 0 1 0 34 34l95-95l95 95a24 24 0 0 0 34-34Z",
499
+ ...animatedProps
500
+ }
501
+ );
502
+ const renderFilled = () => /* @__PURE__ */ React4.createElement(
503
+ AnimatedPath4,
504
+ {
505
+ fill: resolvedColor,
506
+ d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z",
507
+ ...animatedProps
508
+ }
509
+ );
510
+ const renderDuotone = () => /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
511
+ Path4,
512
+ {
513
+ fill: resolvedColor,
514
+ opacity: 0.3,
515
+ d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48z"
516
+ }
517
+ ), /* @__PURE__ */ React4.createElement(
518
+ AnimatedPath4,
519
+ {
520
+ fill: resolvedColor,
521
+ d: "m289.94 256l95-95A24 24 0 0 0 351 127l-95 95l-95-95a24 24 0 0 0-34 34l95 95l-95 95a24 24 0 1 0 34 34l95-95l95 95a24 24 0 0 0 34-34Z",
522
+ ...animatedProps
523
+ }
524
+ ));
525
+ const renderRoundOutlined = () => /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
526
+ Circle4,
527
+ {
528
+ cx: "256",
529
+ cy: "256",
530
+ r: "192",
531
+ fill: "none",
532
+ stroke: resolvedColor,
533
+ strokeWidth: 32
534
+ }
535
+ ), /* @__PURE__ */ React4.createElement(
536
+ AnimatedPath4,
537
+ {
538
+ fill: resolvedColor,
539
+ d: "m289.94 256l95-95A24 24 0 0 0 351 127l-95 95l-95-95a24 24 0 0 0-34 34l95 95l-95 95a24 24 0 1 0 34 34l95-95l95 95a24 24 0 0 0 34-34Z",
540
+ ...animatedProps
541
+ }
542
+ ));
543
+ const renderSquareOutlined = () => /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
544
+ Rect4,
545
+ {
546
+ x: "64",
547
+ y: "64",
548
+ width: "384",
549
+ height: "384",
550
+ rx: "48",
551
+ fill: "none",
552
+ stroke: resolvedColor,
553
+ strokeWidth: 32
554
+ }
555
+ ), /* @__PURE__ */ React4.createElement(
556
+ AnimatedPath4,
557
+ {
558
+ fill: resolvedColor,
559
+ d: "m289.94 256l95-95A24 24 0 0 0 351 127l-95 95l-95-95a24 24 0 0 0-34 34l95 95l-95 95a24 24 0 1 0 34 34l95-95l95 95a24 24 0 0 0 34-34Z",
560
+ ...animatedProps
561
+ }
562
+ ));
563
+ const renderRoundFilled = () => /* @__PURE__ */ React4.createElement(
564
+ AnimatedPath4,
565
+ {
566
+ fill: resolvedColor,
567
+ d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z",
568
+ ...animatedProps
569
+ }
570
+ );
571
+ const renderSquareFilled = () => /* @__PURE__ */ React4.createElement(
572
+ AnimatedPath4,
573
+ {
574
+ fill: resolvedColor,
575
+ d: "M400 64H112a48 48 0 0 0-48 48v288a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V112a48 48 0 0 0-48-48zm-59.31 244.69a16 16 0 1 1-22.62 22.62L256 278.63l-62.07 52.68a16 16 0 0 1-22.62-22.62L223.37 256l-52.06-52.69a16 16 0 0 1 22.62-22.62L256 233.37l62.07-52.68a16 16 0 0 1 22.62 22.62L288.63 256z",
576
+ ...animatedProps
577
+ }
578
+ );
579
+ const renderVariant = () => {
580
+ switch (variant) {
581
+ case "filled":
582
+ return renderFilled();
583
+ case "duotone":
584
+ return renderDuotone();
585
+ case "round-outlined":
586
+ return renderRoundOutlined();
587
+ case "square-outlined":
588
+ return renderSquareOutlined();
589
+ case "round-filled":
590
+ return renderRoundFilled();
591
+ case "square-filled":
592
+ return renderSquareFilled();
593
+ case "baseline":
594
+ default:
595
+ return renderBaseline();
596
+ }
597
+ };
598
+ return /* @__PURE__ */ React4.createElement(Svg4, { width: size, height: size, viewBox: "0 0 512 512" }, renderVariant());
599
+ };
600
+
601
+ export {
602
+ ArrowBackIcon,
603
+ CheckmarkIcon,
604
+ ChevronDownIcon,
605
+ CloseIcon
606
+ };
@@ -0,0 +1,19 @@
1
+ // src/components/select/checkmark-icon.tsx
2
+ import React from "react";
3
+ import Svg, { Polyline } from "react-native-svg";
4
+ function CheckmarkIcon({ color, size }) {
5
+ return /* @__PURE__ */ React.createElement(Svg, { width: size, height: size, viewBox: "0 0 17 18", fill: "none" }, /* @__PURE__ */ React.createElement(
6
+ Polyline,
7
+ {
8
+ points: "1 9 7 14 15 4",
9
+ stroke: color,
10
+ strokeWidth: 2,
11
+ strokeLinecap: "round",
12
+ strokeLinejoin: "round"
13
+ }
14
+ ));
15
+ }
16
+
17
+ export {
18
+ CheckmarkIcon
19
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useXUITheme
3
- } from "./chunk-ORMNMNOK.js";
3
+ } from "./chunk-NBRASCX4.js";
4
4
 
5
5
  // src/components/divider/divider.tsx
6
6
  import React from "react";