@xaui/native 0.0.26 → 0.0.28

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 (107) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +105 -228
  3. package/dist/alert/index.cjs +92 -166
  4. package/dist/alert/index.js +2 -1
  5. package/dist/app-bar/index.cjs +24 -98
  6. package/dist/app-bar/index.js +2 -1
  7. package/dist/autocomplete/index.cjs +192 -281
  8. package/dist/autocomplete/index.js +36 -48
  9. package/dist/avatar/index.cjs +59 -133
  10. package/dist/avatar/index.js +2 -1
  11. package/dist/badge/index.cjs +26 -99
  12. package/dist/badge/index.js +2 -1
  13. package/dist/bottom-sheet/index.cjs +5 -456
  14. package/dist/bottom-sheet/index.js +4 -363
  15. package/dist/bottom-tab-bar/index.cjs +93 -167
  16. package/dist/bottom-tab-bar/index.js +2 -2
  17. package/dist/button/index.cjs +73 -525
  18. package/dist/button/index.js +3 -2
  19. package/dist/card/index.cjs +76 -169
  20. package/dist/card/index.js +2 -2
  21. package/dist/carousel/index.cjs +68 -145
  22. package/dist/carousel/index.js +1 -1
  23. package/dist/chart/index.cjs +132 -173
  24. package/dist/checkbox/index.cjs +70 -143
  25. package/dist/checkbox/index.js +2 -1
  26. package/dist/chip/index.cjs +89 -164
  27. package/dist/chip/index.js +2 -1
  28. package/dist/chunk-BD72HIPR.cjs +75 -0
  29. package/dist/chunk-DHSTKO3K.cjs +19 -0
  30. package/dist/{chunk-CZFDZPAS.js → chunk-DXXNBF5P.js} +5 -0
  31. package/dist/{chunk-UI5L26KD.js → chunk-F7WH4DMG.js} +1 -1
  32. package/dist/chunk-GBHQCAKW.js +19 -0
  33. package/dist/chunk-HC2SSHNU.js +368 -0
  34. package/dist/chunk-HSPTLUFA.cjs +7 -0
  35. package/dist/chunk-JEGEPGVU.js +287 -0
  36. package/dist/chunk-KTLGDLCB.cjs +287 -0
  37. package/dist/{chunk-GHCVNQET.js → chunk-LTKYHG5V.js} +5 -12
  38. package/dist/{chunk-ULJSCNPE.js → chunk-LUBWRVI2.js} +1 -1
  39. package/dist/chunk-OQ2BLOOG.cjs +138 -0
  40. package/dist/chunk-QMYWIWSX.cjs +384 -0
  41. package/dist/chunk-XFPPR2VB.cjs +368 -0
  42. package/dist/core/index.cjs +22 -168
  43. package/dist/core/index.d.cts +1 -1
  44. package/dist/core/index.d.ts +1 -1
  45. package/dist/core/index.js +5 -3
  46. package/dist/datepicker/index.cjs +239 -320
  47. package/dist/datepicker/index.js +2 -1
  48. package/dist/divider/index.cjs +5 -145
  49. package/dist/divider/index.js +3 -2
  50. package/dist/drawer/index.cjs +39 -112
  51. package/dist/drawer/index.js +2 -1
  52. package/dist/expansion-panel/index.cjs +91 -230
  53. package/dist/expansion-panel/index.js +3 -2
  54. package/dist/fab/index.cjs +6 -722
  55. package/dist/fab/index.js +4 -3
  56. package/dist/fab-menu/index.cjs +81 -814
  57. package/dist/fab-menu/index.js +4 -3
  58. package/dist/feature-discovery/index.cjs +72 -139
  59. package/dist/feature-discovery/index.js +2 -2
  60. package/dist/index.cjs +1 -18
  61. package/dist/indicator/index.cjs +5 -445
  62. package/dist/indicator/index.js +3 -2
  63. package/dist/input/index.cjs +214 -282
  64. package/dist/input/index.js +2 -2
  65. package/dist/list/index.cjs +71 -146
  66. package/dist/list/index.js +2 -1
  67. package/dist/menu/index.cjs +59 -127
  68. package/dist/menu/index.js +2 -2
  69. package/dist/menubox/index.cjs +60 -132
  70. package/dist/menubox/index.js +2 -1
  71. package/dist/pager/index.cjs +42 -80
  72. package/dist/progress/index.cjs +43 -114
  73. package/dist/progress/index.js +2 -1
  74. package/dist/radio/index.cjs +82 -154
  75. package/dist/radio/index.js +2 -1
  76. package/dist/segment-button/index.cjs +60 -147
  77. package/dist/segment-button/index.js +2 -2
  78. package/dist/select/index.cjs +149 -224
  79. package/dist/select/index.js +10 -22
  80. package/dist/skeleton/index.cjs +23 -94
  81. package/dist/skeleton/index.js +2 -2
  82. package/dist/slider/index.cjs +77 -156
  83. package/dist/slider/index.js +2 -1
  84. package/dist/snackbar/index.cjs +420 -0
  85. package/dist/snackbar/index.d.cts +175 -0
  86. package/dist/snackbar/index.d.ts +175 -0
  87. package/dist/snackbar/index.js +420 -0
  88. package/dist/stepper/index.cjs +121 -195
  89. package/dist/stepper/index.js +2 -1
  90. package/dist/switch/index.cjs +48 -121
  91. package/dist/switch/index.js +2 -1
  92. package/dist/tabs/index.cjs +67 -151
  93. package/dist/tabs/index.js +2 -1
  94. package/dist/timepicker/index.cjs +135 -593
  95. package/dist/timepicker/index.js +24 -383
  96. package/dist/toolbar/index.cjs +59 -128
  97. package/dist/toolbar/index.js +2 -1
  98. package/dist/typography/index.cjs +37 -92
  99. package/dist/typography/index.d.cts +1 -1
  100. package/dist/typography/index.d.ts +1 -1
  101. package/dist/typography/index.js +20 -1
  102. package/dist/view/index.cjs +178 -223
  103. package/package.json +7 -1
  104. package/dist/chunk-3XSXTM3G.js +0 -661
  105. package/dist/chunk-4KSZLONZ.js +0 -79
  106. package/dist/chunk-I4V5Y5GD.js +0 -76
  107. package/dist/chunk-URBEEDFX.js +0 -79
@@ -1,448 +1,8 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
29
2
 
30
- // src/components/indicator/index.ts
31
- var indicator_exports = {};
32
- __export(indicator_exports, {
33
- ActivityIndicator: () => ActivityIndicator
34
- });
35
- module.exports = __toCommonJS(indicator_exports);
3
+ var _chunkQMYWIWSXcjs = require('../chunk-QMYWIWSX.cjs');
4
+ require('../chunk-HSPTLUFA.cjs');
5
+ require('../chunk-OQ2BLOOG.cjs');
36
6
 
37
- // src/components/indicator/indicator.tsx
38
- var import_react9 = __toESM(require("react"), 1);
39
- var import_react_native7 = require("react-native");
40
7
 
41
- // src/core/theme-context.tsx
42
- var import_react4 = __toESM(require("react"), 1);
43
- var import_react_native2 = require("react-native");
44
- var import_theme = require("@xaui/core/theme");
45
- var import_palette = require("@xaui/core/palette");
46
-
47
- // src/core/portal/portal.tsx
48
- var import_react2 = require("react");
49
-
50
- // src/core/portal/portal-context.ts
51
- var import_react = require("react");
52
- var PortalContext = (0, import_react.createContext)(null);
53
-
54
- // src/core/portal/portal-host.tsx
55
- var import_react3 = __toESM(require("react"), 1);
56
- var import_react_native = require("react-native");
57
- var hostStyles = import_react_native.StyleSheet.create({
58
- container: {
59
- flex: 1
60
- }
61
- });
62
-
63
- // src/core/theme-context.tsx
64
- var XUIThemeContext = (0, import_react4.createContext)(null);
65
-
66
- // src/core/theme-hooks.ts
67
- var import_react5 = require("react");
68
- var import_react_native3 = require("react-native");
69
- function useXUITheme() {
70
- const theme = (0, import_react5.useContext)(XUIThemeContext);
71
- if (!theme) {
72
- throw new Error("useXUITheme must be used within XUIProvider");
73
- }
74
- return theme;
75
- }
76
-
77
- // src/core/index.ts
78
- var import_theme2 = require("@xaui/core/theme");
79
-
80
- // src/components/indicator/circular-activity-indicator.tsx
81
- var import_react6 = __toESM(require("react"), 1);
82
- var import_react_native5 = require("react-native");
83
-
84
- // src/components/indicator/indicator.style.ts
85
- var import_react_native4 = require("react-native");
86
- var styles = import_react_native4.StyleSheet.create({
87
- container: {
88
- flexShrink: 1,
89
- flexBasis: "auto",
90
- width: "100%",
91
- justifyContent: "center"
92
- },
93
- layer: {
94
- ...import_react_native4.StyleSheet.absoluteFillObject,
95
- justifyContent: "center",
96
- alignItems: "center"
97
- },
98
- track: {
99
- width: "100%",
100
- overflow: "hidden"
101
- },
102
- progress: {
103
- height: "100%"
104
- }
105
- });
106
-
107
- // src/components/indicator/circular-activity-indicator.tsx
108
- var import_core2 = require("@xaui/core");
109
- var DURATION = 1800;
110
- var CircularActivityIndicator = ({
111
- size = 40,
112
- themeColor = "primary",
113
- color,
114
- backgroundColor,
115
- disableAnimation = false,
116
- showTrack = true
117
- }) => {
118
- const theme = useXUITheme();
119
- const { current: timer } = (0, import_react6.useRef)(new import_react_native5.Animated.Value(0));
120
- const rotation = (0, import_react6.useRef)(void 0);
121
- const startRotation = import_react6.default.useCallback(() => {
122
- if (rotation.current) {
123
- timer.setValue(0);
124
- import_react_native5.Animated.loop(rotation.current).start();
125
- }
126
- }, [timer]);
127
- const stopRotation = () => {
128
- if (rotation.current) rotation.current.stop();
129
- };
130
- (0, import_react6.useEffect)(() => {
131
- if (rotation.current === void 0) {
132
- rotation.current = import_react_native5.Animated.timing(timer, {
133
- duration: DURATION,
134
- easing: import_react_native5.Easing.linear,
135
- useNativeDriver: import_react_native5.Platform.OS !== "web",
136
- toValue: 1
137
- });
138
- }
139
- if (!disableAnimation) startRotation();
140
- else stopRotation();
141
- }, [disableAnimation, startRotation, timer]);
142
- const safeThemeColor = (0, import_core2.getSafeThemeColor)(themeColor);
143
- const colorScheme = theme.colors[safeThemeColor];
144
- const mainColor = color || colorScheme.main;
145
- const trackColor = showTrack ? backgroundColor ?? colorScheme.background : "transparent";
146
- const strokeWidth = size * 0.1;
147
- const frames = 60 * DURATION / 1e3;
148
- const easing = import_react_native5.Easing.bezier(0.4, 0, 0.7, 1);
149
- const containerStyle = {
150
- width: size,
151
- height: size / 2,
152
- overflow: "hidden"
153
- };
154
- return /* @__PURE__ */ import_react6.default.createElement(import_react_native5.View, { style: [styles.container, { width: size, height: size }] }, /* @__PURE__ */ import_react6.default.createElement(
155
- import_react_native5.View,
156
- {
157
- style: {
158
- width: size,
159
- height: size,
160
- borderRadius: size / 2,
161
- borderWidth: strokeWidth,
162
- borderColor: trackColor
163
- }
164
- }
165
- ), /* @__PURE__ */ import_react6.default.createElement(
166
- import_react_native5.View,
167
- {
168
- style: {
169
- width: size,
170
- height: size,
171
- position: "absolute"
172
- }
173
- },
174
- [0, 1].map((index) => {
175
- const inputRange = Array.from(
176
- new Array(frames),
177
- (_, frameIndex) => frameIndex / (frames - 1)
178
- );
179
- const outputRange = Array.from(new Array(frames), (_, frameIndex) => {
180
- let progress = 2 * frameIndex / (frames - 1);
181
- const rotationValue = index ? +(360 - 15) : -(180 - 15);
182
- if (progress > 1) {
183
- progress = 2 - progress;
184
- }
185
- const direction = index ? -1 : 1;
186
- return `${direction * (180 - 30) * easing(progress) + rotationValue}deg`;
187
- });
188
- const layerStyle = {
189
- width: size,
190
- height: size,
191
- transform: [
192
- {
193
- rotate: timer.interpolate({
194
- inputRange: [0, 1],
195
- outputRange: [`${0 + 30 + 15}deg`, `${2 * 360 + 30 + 15}deg`]
196
- })
197
- }
198
- ]
199
- };
200
- const viewportStyle = {
201
- width: size,
202
- height: size,
203
- transform: [
204
- { translateY: index ? -size / 2 : 0 },
205
- {
206
- rotate: timer.interpolate({ inputRange, outputRange })
207
- }
208
- ]
209
- };
210
- const offsetStyle = index ? { top: size / 2 } : null;
211
- const lineStyle = {
212
- width: size,
213
- height: size,
214
- borderColor: mainColor,
215
- borderWidth: strokeWidth,
216
- borderRadius: size / 2
217
- };
218
- return /* @__PURE__ */ import_react6.default.createElement(import_react_native5.Animated.View, { key: index, style: [styles.layer] }, /* @__PURE__ */ import_react6.default.createElement(import_react_native5.Animated.View, { style: layerStyle }, /* @__PURE__ */ import_react6.default.createElement(
219
- import_react_native5.Animated.View,
220
- {
221
- style: [containerStyle, offsetStyle],
222
- collapsable: false
223
- },
224
- /* @__PURE__ */ import_react6.default.createElement(import_react_native5.Animated.View, { style: viewportStyle }, /* @__PURE__ */ import_react6.default.createElement(import_react_native5.Animated.View, { style: containerStyle, collapsable: false }, /* @__PURE__ */ import_react6.default.createElement(import_react_native5.Animated.View, { style: lineStyle })))
225
- )));
226
- })
227
- ));
228
- };
229
-
230
- // src/components/indicator/linear-activity-indicator.tsx
231
- var import_react8 = __toESM(require("react"), 1);
232
- var import_react_native6 = require("react-native");
233
- var import_react_native_reanimated2 = __toESM(require("react-native-reanimated"), 1);
234
-
235
- // src/components/indicator/indicator.hook.ts
236
- var import_react7 = require("react");
237
- var import_react_native_reanimated = require("react-native-reanimated");
238
- var useLinearActivityIndicatorAnimation = (disableAnimation) => {
239
- const primaryTranslateX = (0, import_react_native_reanimated.useSharedValue)(0);
240
- const primaryScaleX = (0, import_react_native_reanimated.useSharedValue)(0.08);
241
- const secondaryTranslateX = (0, import_react_native_reanimated.useSharedValue)(0);
242
- const secondaryScaleX = (0, import_react_native_reanimated.useSharedValue)(0.08);
243
- (0, import_react7.useEffect)(() => {
244
- if (disableAnimation) {
245
- (0, import_react_native_reanimated.cancelAnimation)(primaryTranslateX);
246
- (0, import_react_native_reanimated.cancelAnimation)(primaryScaleX);
247
- (0, import_react_native_reanimated.cancelAnimation)(secondaryTranslateX);
248
- (0, import_react_native_reanimated.cancelAnimation)(secondaryScaleX);
249
- return;
250
- }
251
- primaryTranslateX.value = (0, import_react_native_reanimated.withRepeat)(
252
- (0, import_react_native_reanimated.withSequence)(
253
- (0, import_react_native_reanimated.withTiming)(0, { duration: 0 }),
254
- (0, import_react_native_reanimated.withTiming)(0, { duration: 400, easing: import_react_native_reanimated.Easing.linear }),
255
- (0, import_react_native_reanimated.withTiming)(0.836714, {
256
- duration: 783,
257
- easing: import_react_native_reanimated.Easing.bezier(0.5, 0, 0.701732, 0.495819)
258
- }),
259
- (0, import_react_native_reanimated.withTiming)(2.00611, {
260
- duration: 817,
261
- easing: import_react_native_reanimated.Easing.bezier(0.302435, 0.381352, 0.55, 0.956352)
262
- })
263
- ),
264
- -1,
265
- false
266
- );
267
- primaryScaleX.value = (0, import_react_native_reanimated.withRepeat)(
268
- (0, import_react_native_reanimated.withSequence)(
269
- (0, import_react_native_reanimated.withTiming)(0.08, { duration: 0 }),
270
- (0, import_react_native_reanimated.withTiming)(0.08, { duration: 733, easing: import_react_native_reanimated.Easing.linear }),
271
- (0, import_react_native_reanimated.withTiming)(0.661479, {
272
- duration: 650,
273
- easing: import_react_native_reanimated.Easing.bezier(0.334731, 0.12482, 0.785844, 1)
274
- }),
275
- (0, import_react_native_reanimated.withTiming)(0.08, {
276
- duration: 617,
277
- easing: import_react_native_reanimated.Easing.bezier(0.06, 0.11, 0.6, 1)
278
- })
279
- ),
280
- -1,
281
- false
282
- );
283
- secondaryTranslateX.value = (0, import_react_native_reanimated.withRepeat)(
284
- (0, import_react_native_reanimated.withSequence)(
285
- (0, import_react_native_reanimated.withTiming)(0, { duration: 0 }),
286
- (0, import_react_native_reanimated.withTiming)(0.376519, {
287
- duration: 500,
288
- easing: import_react_native_reanimated.Easing.bezier(0.15, 0, 0.515058, 0.409685)
289
- }),
290
- (0, import_react_native_reanimated.withTiming)(0.843862, {
291
- duration: 467,
292
- easing: import_react_native_reanimated.Easing.bezier(0.31033, 0.284058, 0.8, 0.733712)
293
- }),
294
- (0, import_react_native_reanimated.withTiming)(1.60278, {
295
- duration: 1033,
296
- easing: import_react_native_reanimated.Easing.bezier(0.4, 0.627035, 0.6, 0.902026)
297
- })
298
- ),
299
- -1,
300
- false
301
- );
302
- secondaryScaleX.value = (0, import_react_native_reanimated.withRepeat)(
303
- (0, import_react_native_reanimated.withSequence)(
304
- (0, import_react_native_reanimated.withTiming)(0.08, { duration: 0 }),
305
- (0, import_react_native_reanimated.withTiming)(0.457104, {
306
- duration: 383,
307
- easing: import_react_native_reanimated.Easing.bezier(0.205028, 0.057051, 0.57661, 0.453971)
308
- }),
309
- (0, import_react_native_reanimated.withTiming)(0.72796, {
310
- duration: 500,
311
- easing: import_react_native_reanimated.Easing.bezier(0.152313, 0.196432, 0.648374, 1.00432)
312
- }),
313
- (0, import_react_native_reanimated.withTiming)(0.08, {
314
- duration: 1117,
315
- easing: import_react_native_reanimated.Easing.bezier(0.257759, -3163e-6, 0.211762, 1.38179)
316
- })
317
- ),
318
- -1,
319
- false
320
- );
321
- return () => {
322
- (0, import_react_native_reanimated.cancelAnimation)(primaryTranslateX);
323
- (0, import_react_native_reanimated.cancelAnimation)(primaryScaleX);
324
- (0, import_react_native_reanimated.cancelAnimation)(secondaryTranslateX);
325
- (0, import_react_native_reanimated.cancelAnimation)(secondaryScaleX);
326
- };
327
- }, [disableAnimation]);
328
- return {
329
- primaryTranslateX,
330
- primaryScaleX,
331
- secondaryTranslateX,
332
- secondaryScaleX
333
- };
334
- };
335
-
336
- // src/components/indicator/linear-activity-indicator.tsx
337
- var LinearActivityIndicator = ({
338
- size = 4,
339
- themeColor = "primary",
340
- color,
341
- backgroundColor,
342
- disableAnimation = false,
343
- borderRadius = 0,
344
- showTrack = true
345
- }) => {
346
- const theme = useXUITheme();
347
- const { primaryTranslateX, primaryScaleX, secondaryTranslateX, secondaryScaleX } = useLinearActivityIndicatorAnimation(disableAnimation);
348
- const colorScheme = theme.colors[themeColor];
349
- const mainColor = color || colorScheme.main;
350
- const trackColor = showTrack ? backgroundColor ?? colorScheme.background : "transparent";
351
- const barStyle = {
352
- ...import_react_native6.StyleSheet.absoluteFillObject,
353
- backgroundColor: mainColor,
354
- borderRadius
355
- };
356
- const primaryStyle = (0, import_react_native_reanimated2.useAnimatedStyle)(() => ({
357
- transform: [
358
- { translateX: `${(primaryTranslateX.value - 1.45167) * 100}%` },
359
- { scaleX: primaryScaleX.value }
360
- ]
361
- }));
362
- const secondaryStyle = (0, import_react_native_reanimated2.useAnimatedStyle)(() => ({
363
- transform: [
364
- { translateX: `${(secondaryTranslateX.value - 0.548889) * 100}%` },
365
- { scaleX: secondaryScaleX.value }
366
- ]
367
- }));
368
- return /* @__PURE__ */ import_react8.default.createElement(
369
- import_react_native6.View,
370
- {
371
- style: {
372
- height: size,
373
- width: "100%",
374
- borderRadius,
375
- backgroundColor: trackColor,
376
- overflow: "hidden"
377
- }
378
- },
379
- /* @__PURE__ */ import_react8.default.createElement(import_react_native_reanimated2.default.View, { style: [barStyle, primaryStyle] }),
380
- /* @__PURE__ */ import_react8.default.createElement(import_react_native_reanimated2.default.View, { style: [barStyle, secondaryStyle] })
381
- );
382
- };
383
-
384
- // src/components/indicator/indicator.tsx
385
- var ActivityIndicator = (props) => {
386
- const {
387
- variant = "circular",
388
- themeColor = "primary",
389
- color,
390
- backgroundColor,
391
- size,
392
- disableAnimation = false,
393
- borderRadius,
394
- showTrack
395
- } = props;
396
- const theme = useXUITheme();
397
- const colorScheme = theme.colors[themeColor];
398
- const mainColor = color ?? colorScheme.main;
399
- const trackColor = backgroundColor ?? (showTrack ? colorScheme.background : "transparent");
400
- if (variant === "circular") {
401
- const circleSize = size ?? 40;
402
- return /* @__PURE__ */ import_react9.default.createElement(
403
- import_react_native7.View,
404
- {
405
- style: [styles.container, { width: circleSize, height: circleSize }],
406
- accessible: true,
407
- accessibilityRole: "progressbar",
408
- accessibilityLabel: "Loading"
409
- },
410
- /* @__PURE__ */ import_react9.default.createElement(
411
- CircularActivityIndicator,
412
- {
413
- size: circleSize,
414
- themeColor,
415
- color: mainColor,
416
- backgroundColor: trackColor,
417
- disableAnimation
418
- }
419
- )
420
- );
421
- }
422
- const linearSize = size ?? 4;
423
- return /* @__PURE__ */ import_react9.default.createElement(
424
- import_react_native7.View,
425
- {
426
- style: styles.container,
427
- accessible: true,
428
- accessibilityRole: "progressbar",
429
- accessibilityLabel: "Loading"
430
- },
431
- /* @__PURE__ */ import_react9.default.createElement(
432
- LinearActivityIndicator,
433
- {
434
- size: linearSize,
435
- themeColor,
436
- color: mainColor,
437
- backgroundColor: trackColor,
438
- disableAnimation,
439
- borderRadius,
440
- showTrack
441
- }
442
- )
443
- );
444
- };
445
- // Annotate the CommonJS export names for ESM import in node:
446
- 0 && (module.exports = {
447
- ActivityIndicator
448
- });
8
+ exports.ActivityIndicator = _chunkQMYWIWSXcjs.ActivityIndicator;
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  ActivityIndicator
3
- } from "../chunk-UI5L26KD.js";
4
- import "../chunk-GHCVNQET.js";
3
+ } from "../chunk-F7WH4DMG.js";
4
+ import "../chunk-DXXNBF5P.js";
5
+ import "../chunk-LTKYHG5V.js";
5
6
  export {
6
7
  ActivityIndicator
7
8
  };