@xaui/native 0.9.1-alpha.37 → 0.9.1-alpha.38
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/{chunk-OULTSBKU.js → chunk-26OGEFQI.js} +1 -1
- package/dist/{chunk-TJHYSSBZ.js → chunk-346QBNUD.js} +1 -1
- package/dist/{chunk-PPWXLZGL.js → chunk-3GFRSZYR.js} +15 -23
- package/dist/{chunk-DKH6BNPF.cjs → chunk-3JXI2IHV.cjs} +13 -13
- package/dist/{chunk-7B3UBUC6.cjs → chunk-4KFKWBN5.cjs} +23 -2
- package/dist/{chunk-IGLKACSR.cjs → chunk-4KSKQD37.cjs} +5 -5
- package/dist/{chunk-UBOXW5WO.cjs → chunk-54CWXA34.cjs} +61 -61
- package/dist/{chunk-ZJWEVFAO.cjs → chunk-66FOASTP.cjs} +9 -9
- package/dist/{chunk-5PPNDKRX.js → chunk-6CO6FM67.js} +16 -16
- package/dist/{chunk-54FJOKAN.cjs → chunk-7GHM4GKL.cjs} +25 -25
- package/dist/{chunk-AP6RVIIK.cjs → chunk-7TOG4TVU.cjs} +21 -21
- package/dist/{chunk-LEWW24RQ.cjs → chunk-A7YB7YWX.cjs} +3 -3
- package/dist/{chunk-3P6M2R4S.cjs → chunk-AAVCMCJ3.cjs} +4 -4
- package/dist/{chunk-VFTT3Q4B.cjs → chunk-BNFIFRQA.cjs} +3 -3
- package/dist/{chunk-JXNFOOKC.js → chunk-DY3SUG5P.js} +5 -5
- package/dist/{chunk-EOJ5MYAQ.js → chunk-EYD4H4X6.js} +4 -4
- package/dist/{chunk-RGKWNK4T.js → chunk-FBCWNXZC.js} +58 -58
- package/dist/{chunk-HXW4ANVB.js → chunk-FHUYHV6J.js} +25 -4
- package/dist/{chunk-6G3XWPNP.js → chunk-HA6BFY3A.js} +3 -3
- package/dist/{chunk-FTQHDJYL.cjs → chunk-HOI5425P.cjs} +9 -9
- package/dist/{chunk-YXPYOOHU.js → chunk-K72UDPVN.js} +27 -27
- package/dist/{chunk-NTD3NPRX.cjs → chunk-KSUV74BE.cjs} +2 -2
- package/dist/{chunk-UGF35NSE.js → chunk-LIUO6D3D.js} +75 -75
- package/dist/{chunk-E3X5ODKQ.js → chunk-LTX6TB5I.js} +1 -1
- package/dist/{chunk-BORJJYDW.js → chunk-MXGER5PI.js} +2 -2
- package/dist/{chunk-GTT4NHS2.cjs → chunk-NCCRQK3P.cjs} +11 -11
- package/dist/chunk-NCTOTTVW.js +13 -0
- package/dist/chunk-Q3MQ7S2D.cjs +476 -0
- package/dist/{chunk-NKPTXTTS.js → chunk-QZ24MZRX.js} +3 -3
- package/dist/{chunk-7LSY4WFL.js → chunk-R7BU4CPS.js} +2 -2
- package/dist/{chunk-DVDQSW7U.cjs → chunk-RAWGK2XK.cjs} +25 -60
- package/dist/{chunk-JB5LGQ54.cjs → chunk-RKCWYUGA.cjs} +3 -3
- package/dist/{chunk-SMW6ZWMH.js → chunk-S2WNWMNT.js} +1 -1
- package/dist/{chunk-WVLSQO6K.cjs → chunk-S4QUM4EE.cjs} +9 -9
- package/dist/{chunk-SO5UAGIU.js → chunk-SACDOFGF.js} +15 -15
- package/dist/{chunk-CUQTAPBU.cjs → chunk-SIP5J7HU.cjs} +17 -17
- package/dist/{chunk-O3A3DBSZ.js → chunk-SZLXPF3G.js} +1 -1
- package/dist/{chunk-437QULXO.cjs → chunk-TDTUAIFF.cjs} +5 -5
- package/dist/{chunk-DRMT346W.cjs → chunk-TGMVEHV7.cjs} +64 -64
- package/dist/{chunk-TDYPY2J7.js → chunk-TRETQZEW.js} +7 -7
- package/dist/{chunk-ITURCQMQ.cjs → chunk-URA25DU4.cjs} +5 -5
- package/dist/{chunk-4PTWZCOK.js → chunk-USF6EWYR.js} +7 -7
- package/dist/{chunk-P747CRAY.cjs → chunk-VZK3NLBH.cjs} +9 -9
- package/dist/chunk-WFEMJCXO.cjs +13 -0
- package/dist/{chunk-RVRVGG73.js → chunk-XNMZQSY5.js} +2 -2
- package/dist/{chunk-K4TWKF5U.cjs → chunk-XSQPVDFH.cjs} +15 -25
- package/dist/{chunk-JDSE4TQL.js → chunk-XTC2SLFT.js} +1 -1
- package/dist/{chunk-C5VDFRAD.cjs → chunk-XWNG2U4K.cjs} +2 -2
- package/dist/chunk-ZF6KIHXH.js +591 -0
- package/dist/{chunk-XWY4DF37.js → chunk-ZNZ7HVRW.js} +51 -88
- package/dist/components/accordion/index.cjs +34 -0
- package/dist/components/accordion/index.d.cts +299 -0
- package/dist/components/accordion/index.d.ts +299 -0
- package/dist/components/accordion/index.js +34 -0
- package/dist/components/alert/index.cjs +7 -7
- package/dist/components/alert/index.d.cts +2 -2
- package/dist/components/alert/index.d.ts +2 -2
- package/dist/components/alert/index.js +6 -6
- package/dist/components/avatar/index.cjs +4 -4
- package/dist/components/avatar/index.d.cts +3 -3
- package/dist/components/avatar/index.d.ts +3 -3
- package/dist/components/avatar/index.js +3 -3
- package/dist/components/badge/index.cjs +3 -3
- package/dist/components/badge/index.d.cts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/badge/index.js +2 -2
- package/dist/components/button/index.cjs +8 -7
- package/dist/components/button/index.d.cts +204 -204
- package/dist/components/button/index.d.ts +204 -204
- package/dist/components/button/index.js +7 -6
- package/dist/components/card/index.cjs +5 -5
- package/dist/components/card/index.d.cts +206 -206
- package/dist/components/card/index.d.ts +206 -206
- package/dist/components/card/index.js +4 -4
- package/dist/components/checkbox/index.cjs +5 -5
- package/dist/components/checkbox/index.d.cts +408 -408
- package/dist/components/checkbox/index.d.ts +408 -408
- package/dist/components/checkbox/index.js +4 -4
- package/dist/components/chip/index.cjs +7 -7
- package/dist/components/chip/index.d.cts +205 -205
- package/dist/components/chip/index.d.ts +205 -205
- package/dist/components/chip/index.js +6 -6
- package/dist/components/divider/index.cjs +3 -3
- package/dist/components/divider/index.d.cts +3 -3
- package/dist/components/divider/index.d.ts +3 -3
- package/dist/components/divider/index.js +2 -2
- package/dist/components/field-group/index.cjs +5 -5
- package/dist/components/field-group/index.d.cts +8 -8
- package/dist/components/field-group/index.d.ts +8 -8
- package/dist/components/field-group/index.js +4 -4
- package/dist/components/input-otp/index.cjs +3 -3
- package/dist/components/input-otp/index.d.cts +2 -2
- package/dist/components/input-otp/index.d.ts +2 -2
- package/dist/components/input-otp/index.js +2 -2
- package/dist/components/radio/index.cjs +5 -5
- package/dist/components/radio/index.d.cts +419 -419
- package/dist/components/radio/index.d.ts +419 -419
- package/dist/components/radio/index.js +4 -4
- package/dist/components/select/index.cjs +8 -7
- package/dist/components/select/index.d.cts +12 -22
- package/dist/components/select/index.d.ts +12 -22
- package/dist/components/select/index.js +7 -6
- package/dist/components/skeleton/index.d.cts +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/spinner/index.cjs +5 -4
- package/dist/components/spinner/index.d.cts +1 -1
- package/dist/components/spinner/index.d.ts +1 -1
- package/dist/components/spinner/index.js +4 -3
- package/dist/components/switch/index.cjs +5 -5
- package/dist/components/switch/index.d.cts +409 -409
- package/dist/components/switch/index.d.ts +409 -409
- package/dist/components/switch/index.js +4 -4
- package/dist/components/text-area/index.cjs +4 -4
- package/dist/components/text-area/index.js +3 -3
- package/dist/components/text-field/index.cjs +3 -3
- package/dist/components/text-field/index.d.cts +3 -3
- package/dist/components/text-field/index.d.ts +3 -3
- package/dist/components/text-field/index.js +2 -2
- package/dist/components/typography/index.cjs +3 -3
- package/dist/components/typography/index.d.cts +5 -5
- package/dist/components/typography/index.d.ts +5 -5
- package/dist/components/typography/index.js +2 -2
- package/dist/components/view/index.cjs +3 -3
- package/dist/components/view/index.d.cts +8 -8
- package/dist/components/view/index.d.ts +8 -8
- package/dist/components/view/index.js +2 -2
- package/dist/index.cjs +51 -27
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +69 -45
- package/dist/system/index.cjs +9 -7
- package/dist/system/index.d.cts +46 -33
- package/dist/system/index.d.ts +46 -33
- package/dist/system/index.js +10 -8
- package/package.json +11 -1
|
@@ -36,26 +36,26 @@ function _optionalChain(ops) {
|
|
|
36
36
|
}
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
40
40
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
41
41
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
42
42
|
|
|
43
43
|
// src/system/pressable-feedback/pressable-feedback-context.ts
|
|
44
44
|
var _react = require('react');
|
|
45
|
-
var [FeedbackProvider, useFeedback] =
|
|
45
|
+
var [FeedbackProvider, useFeedback] = _chunk7GHM4GKLcjs.createSlotContext.call(void 0, "PressableFeedback");
|
|
46
46
|
var DisableAllContext = _react.createContext.call(void 0, false);
|
|
47
47
|
|
|
48
48
|
// src/system/pressable-feedback/pressable-feedback.animation.ts
|
|
49
49
|
var PRESS_SCALE = 0.985;
|
|
50
50
|
var PRESS_DURATION = 300;
|
|
51
51
|
var SCALE_REFERENCE_WIDTH = 300;
|
|
52
|
-
const
|
|
53
|
-
code: "function
|
|
54
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
55
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
52
|
+
const _worklet_4204522801015_init_data = {
|
|
53
|
+
code: "function pressScaleFor_chunkTGMVEHV7Cjs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
|
|
54
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs",
|
|
55
|
+
sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkTGMVEHV7Cjs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs\"],\"mappings\":\"AAsBA,SAAAA,+BAA8BA,CAAAC,KAAA,QAAAC,qBAAA,CAAAC,WAAA,OAAAC,SAAA,CAE5B,KAAM,CAAAC,WAAW,CAAGJ,KAAK,CAAG,CAAC,CAAGC,qBAAqB,CAAGD,KAAK,CAAG,CAAC,CACjE,MAAO,EAAC,CAAG,CAAC,CAAC,CAAGE,WAAW,EAAIE,WAAW,CAC5C\",\"ignoreList\":[]}"
|
|
56
56
|
};
|
|
57
|
-
const pressScaleFor = function
|
|
58
|
-
|
|
57
|
+
const pressScaleFor = function pressScaleFor_chunkTGMVEHV7Cjs1Factory({
|
|
58
|
+
_worklet_4204522801015_init_data,
|
|
59
59
|
SCALE_REFERENCE_WIDTH,
|
|
60
60
|
PRESS_SCALE
|
|
61
61
|
}) {
|
|
@@ -68,13 +68,13 @@ const pressScaleFor = function pressScaleFor_chunkDRMT346WCjs1Factory({
|
|
|
68
68
|
SCALE_REFERENCE_WIDTH,
|
|
69
69
|
PRESS_SCALE
|
|
70
70
|
};
|
|
71
|
-
pressScaleFor.__workletHash =
|
|
71
|
+
pressScaleFor.__workletHash = 4204522801015;
|
|
72
72
|
pressScaleFor.__pluginVersion = "0.7.4";
|
|
73
|
-
pressScaleFor.__initData =
|
|
73
|
+
pressScaleFor.__initData = _worklet_4204522801015_init_data;
|
|
74
74
|
pressScaleFor.__stackDetails = _e;
|
|
75
75
|
return pressScaleFor;
|
|
76
76
|
}({
|
|
77
|
-
|
|
77
|
+
_worklet_4204522801015_init_data,
|
|
78
78
|
SCALE_REFERENCE_WIDTH,
|
|
79
79
|
PRESS_SCALE
|
|
80
80
|
});
|
|
@@ -87,26 +87,26 @@ var RIPPLE_CONFIRM_DURATION = 225;
|
|
|
87
87
|
var RIPPLE_FADE_IN = 75;
|
|
88
88
|
var RIPPLE_FADE_OUT_DELAY = 225;
|
|
89
89
|
var RIPPLE_FADE_OUT = 150;
|
|
90
|
-
const
|
|
91
|
-
code: "function
|
|
92
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
93
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
90
|
+
const _worklet_14079067495692_init_data = {
|
|
91
|
+
code: "function rippleRadiusFor_chunkTGMVEHV7Cjs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
|
|
92
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs",
|
|
93
|
+
sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkTGMVEHV7Cjs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs\"],\"mappings\":\"AAoCA,SAAAA,iCAAwCA,CAAAC,KAAA,CAAAC,MAAA,EAEtC,MAAO,CAAAC,IAAI,CAACC,IAAI,CAACH,KAAK,CAAGA,KAAK,CAAGC,MAAM,CAAGA,MAAM,CAAC,CAAG,CAAC,CAAG,CAAC,CAC3D\",\"ignoreList\":[]}"
|
|
94
94
|
};
|
|
95
|
-
const rippleRadiusFor = function
|
|
96
|
-
|
|
95
|
+
const rippleRadiusFor = function rippleRadiusFor_chunkTGMVEHV7Cjs2Factory({
|
|
96
|
+
_worklet_14079067495692_init_data
|
|
97
97
|
}) {
|
|
98
98
|
const _e = [new global.Error(), 1, -27];
|
|
99
99
|
const rippleRadiusFor = function (width, height) {
|
|
100
100
|
return Math.sqrt(width * width + height * height) / 2 + 5;
|
|
101
101
|
};
|
|
102
102
|
rippleRadiusFor.__closure = {};
|
|
103
|
-
rippleRadiusFor.__workletHash =
|
|
103
|
+
rippleRadiusFor.__workletHash = 14079067495692;
|
|
104
104
|
rippleRadiusFor.__pluginVersion = "0.7.4";
|
|
105
|
-
rippleRadiusFor.__initData =
|
|
105
|
+
rippleRadiusFor.__initData = _worklet_14079067495692_init_data;
|
|
106
106
|
rippleRadiusFor.__stackDetails = _e;
|
|
107
107
|
return rippleRadiusFor;
|
|
108
108
|
}({
|
|
109
|
-
|
|
109
|
+
_worklet_14079067495692_init_data
|
|
110
110
|
});
|
|
111
111
|
var ALL_OFF = {
|
|
112
112
|
scale: false,
|
|
@@ -233,7 +233,7 @@ function radiusFrom(style) {
|
|
|
233
233
|
// src/system/pressable-feedback/pressable-feedback.tsx
|
|
234
234
|
var _jsxruntime = require('react/jsx-runtime');
|
|
235
235
|
var AnimatedPressable = _reactnativereanimated2.default.createAnimatedComponent(_reactnative.Pressable);
|
|
236
|
-
var AnimatedSlot = _reactnativereanimated2.default.createAnimatedComponent(
|
|
236
|
+
var AnimatedSlot = _reactnativereanimated2.default.createAnimatedComponent(_chunk7GHM4GKLcjs.Slot);
|
|
237
237
|
var PressableFeedback = _react.forwardRef.call(void 0, function PressableFeedback2({
|
|
238
238
|
animation,
|
|
239
239
|
style,
|
|
@@ -269,7 +269,7 @@ var StaticFeedback = _react.forwardRef.call(void 0, function StaticFeedback2({
|
|
|
269
269
|
animation,
|
|
270
270
|
...surface
|
|
271
271
|
}), [isPressed, animation, surface]);
|
|
272
|
-
const Root = asChild ?
|
|
272
|
+
const Root = asChild ? _chunk7GHM4GKLcjs.Slot : _reactnative.Pressable;
|
|
273
273
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, FeedbackProvider, {
|
|
274
274
|
value: context,
|
|
275
275
|
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, Root, {
|
|
@@ -281,10 +281,10 @@ var StaticFeedback = _react.forwardRef.call(void 0, function StaticFeedback2({
|
|
|
281
281
|
})
|
|
282
282
|
});
|
|
283
283
|
});
|
|
284
|
-
const
|
|
285
|
-
code: "function
|
|
286
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
287
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
284
|
+
const _worklet_12411296039406_init_data = {
|
|
285
|
+
code: "function chunkTGMVEHV7Cjs3(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
|
|
286
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs",
|
|
287
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkTGMVEHV7Cjs3\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs\"],\"mappings\":\"AAmN6E,SAAAA,iBAAMA,CAAA,QAAAC,SAAA,CAAAC,YAAA,CAAAC,QAAA,OAAAC,SAAA,CAE/E,GAAI,CAACH,SAAS,CAACI,KAAK,CAAE,MAAO,CAAC,CAAC,CAC/B,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAED,KAAK,CAAE,CAAC,CAAG,CAAC,CAAC,CAAGH,YAAY,CAACK,KAAK,EAAIJ,QAAQ,CAACI,KAAM,CAAC,CAAE,CAAC,CAClF\",\"ignoreList\":[]}"
|
|
288
288
|
};
|
|
289
289
|
var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2({
|
|
290
290
|
isPressed = false,
|
|
@@ -313,14 +313,14 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
|
|
|
313
313
|
});
|
|
314
314
|
}, [isPressed, progress]);
|
|
315
315
|
const pressedScale = _reactnativereanimated.useDerivedValue.call(void 0, () => pressScaleFor(size.value.width));
|
|
316
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
317
|
-
|
|
316
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkTGMVEHV7Cjs3Factory({
|
|
317
|
+
_worklet_12411296039406_init_data,
|
|
318
318
|
animation,
|
|
319
319
|
pressedScale,
|
|
320
320
|
progress
|
|
321
321
|
}) {
|
|
322
322
|
const _e = [new global.Error(), -4, -27];
|
|
323
|
-
const
|
|
323
|
+
const chunkTGMVEHV7Cjs3 = function () {
|
|
324
324
|
if (!animation.scale) return {};
|
|
325
325
|
return {
|
|
326
326
|
transform: [{
|
|
@@ -328,18 +328,18 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
|
|
|
328
328
|
}]
|
|
329
329
|
};
|
|
330
330
|
};
|
|
331
|
-
|
|
331
|
+
chunkTGMVEHV7Cjs3.__closure = {
|
|
332
332
|
animation,
|
|
333
333
|
pressedScale,
|
|
334
334
|
progress
|
|
335
335
|
};
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
return
|
|
336
|
+
chunkTGMVEHV7Cjs3.__workletHash = 12411296039406;
|
|
337
|
+
chunkTGMVEHV7Cjs3.__pluginVersion = "0.7.4";
|
|
338
|
+
chunkTGMVEHV7Cjs3.__initData = _worklet_12411296039406_init_data;
|
|
339
|
+
chunkTGMVEHV7Cjs3.__stackDetails = _e;
|
|
340
|
+
return chunkTGMVEHV7Cjs3;
|
|
341
341
|
}({
|
|
342
|
-
|
|
342
|
+
_worklet_12411296039406_init_data,
|
|
343
343
|
animation,
|
|
344
344
|
pressedScale,
|
|
345
345
|
progress
|
|
@@ -481,10 +481,10 @@ function PressableFeedbackHighlight({
|
|
|
481
481
|
}
|
|
482
482
|
PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
|
|
483
483
|
markOverlay(PressableFeedbackHighlight);
|
|
484
|
-
const
|
|
485
|
-
code: "function
|
|
486
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
487
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
484
|
+
const _worklet_5751186117208_init_data = {
|
|
485
|
+
code: "function chunkTGMVEHV7Cjs4(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
|
|
486
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs",
|
|
487
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkTGMVEHV7Cjs4\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs\"],\"mappings\":\"AAiW6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
|
|
488
488
|
};
|
|
489
489
|
function AnimatedHighlight({
|
|
490
490
|
base,
|
|
@@ -500,28 +500,28 @@ function AnimatedHighlight({
|
|
|
500
500
|
duration
|
|
501
501
|
});
|
|
502
502
|
}, [isPressed, shown, duration]);
|
|
503
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
504
|
-
|
|
503
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkTGMVEHV7Cjs4Factory({
|
|
504
|
+
_worklet_5751186117208_init_data,
|
|
505
505
|
shown,
|
|
506
506
|
opacity
|
|
507
507
|
}) {
|
|
508
508
|
const _e = [new global.Error(), -3, -27];
|
|
509
|
-
const
|
|
509
|
+
const chunkTGMVEHV7Cjs4 = function () {
|
|
510
510
|
return {
|
|
511
511
|
opacity: shown.value * opacity
|
|
512
512
|
};
|
|
513
513
|
};
|
|
514
|
-
|
|
514
|
+
chunkTGMVEHV7Cjs4.__closure = {
|
|
515
515
|
shown,
|
|
516
516
|
opacity
|
|
517
517
|
};
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
return
|
|
518
|
+
chunkTGMVEHV7Cjs4.__workletHash = 5751186117208;
|
|
519
|
+
chunkTGMVEHV7Cjs4.__pluginVersion = "0.7.4";
|
|
520
|
+
chunkTGMVEHV7Cjs4.__initData = _worklet_5751186117208_init_data;
|
|
521
|
+
chunkTGMVEHV7Cjs4.__stackDetails = _e;
|
|
522
|
+
return chunkTGMVEHV7Cjs4;
|
|
523
523
|
}({
|
|
524
|
-
|
|
524
|
+
_worklet_5751186117208_init_data,
|
|
525
525
|
shown,
|
|
526
526
|
opacity
|
|
527
527
|
}), [shown, opacity]);
|
|
@@ -585,10 +585,10 @@ function PressableFeedbackRipple({
|
|
|
585
585
|
}
|
|
586
586
|
PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
|
|
587
587
|
markOverlay(PressableFeedbackRipple);
|
|
588
|
-
const
|
|
589
|
-
code: "function
|
|
590
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
591
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
588
|
+
const _worklet_3265727251381_init_data = {
|
|
589
|
+
code: "function chunkTGMVEHV7Cjs5(){const{wave,RIPPLE_START_SCALE,center,opacity,radius}=this.__closure;const t=wave.expand.value;const from=wave.origin.value;const scale=RIPPLE_START_SCALE+(1-RIPPLE_START_SCALE)*t;const x=from.x+(center.x-from.x)*t;const y=from.y+(center.y-from.y)*t;return{opacity:wave.alpha.value*opacity,transform:[{translateX:x-radius},{translateY:y-radius},{scale:scale}]};}",
|
|
590
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs",
|
|
591
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkTGMVEHV7Cjs5\",\"wave\",\"RIPPLE_START_SCALE\",\"center\",\"opacity\",\"radius\",\"__closure\",\"t\",\"expand\",\"value\",\"from\",\"origin\",\"scale\",\"x\",\"y\",\"alpha\",\"transform\",\"translateX\",\"translateY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-TGMVEHV7.cjs\"],\"mappings\":\"AAia6E,SAAAA,iBAAMA,CAAA,QAAAC,IAAA,CAAAC,kBAAA,CAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA,OAAAC,SAAA,CAE/E,KAAM,CAAAC,CAAC,CAAGN,IAAI,CAACO,MAAM,CAACC,KAAK,CAC3B,KAAM,CAAAC,IAAI,CAAGT,IAAI,CAACU,MAAM,CAACF,KAAK,CAC9B,KAAM,CAAAG,KAAK,CAAGV,kBAAkB,CAAG,CAAC,CAAC,CAAGA,kBAAkB,EAAIK,CAAC,CAC/D,KAAM,CAAAM,CAAC,CAAGH,IAAI,CAACG,CAAC,CAAG,CAACV,MAAM,CAACU,CAAC,CAAGH,IAAI,CAACG,CAAC,EAAIN,CAAC,CAC1C,KAAM,CAAAO,CAAC,CAAGJ,IAAI,CAACI,CAAC,CAAG,CAACX,MAAM,CAACW,CAAC,CAAGJ,IAAI,CAACI,CAAC,EAAIP,CAAC,CAC1C,MAAO,CAELH,OAAO,CAAEH,IAAI,CAACc,KAAK,CAACN,KAAK,CAAGL,OAAO,CACnCY,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEJ,CAAC,CAAGR,MAAO,CAAC,CAAE,CAAEa,UAAU,CAAEJ,CAAC,CAAGT,MAAO,CAAC,CAAE,CAAEO,KAAA,CAAAA,KAAM,CAAC,CAC/E,CAAC,CACH\",\"ignoreList\":[]}"
|
|
592
592
|
};
|
|
593
593
|
function RippleWave({
|
|
594
594
|
wave,
|
|
@@ -598,8 +598,8 @@ function RippleWave({
|
|
|
598
598
|
opacity,
|
|
599
599
|
style
|
|
600
600
|
}) {
|
|
601
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
602
|
-
|
|
601
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkTGMVEHV7Cjs5Factory({
|
|
602
|
+
_worklet_3265727251381_init_data,
|
|
603
603
|
wave,
|
|
604
604
|
RIPPLE_START_SCALE,
|
|
605
605
|
center,
|
|
@@ -607,7 +607,7 @@ function RippleWave({
|
|
|
607
607
|
radius
|
|
608
608
|
}) {
|
|
609
609
|
const _e = [new global.Error(), -6, -27];
|
|
610
|
-
const
|
|
610
|
+
const chunkTGMVEHV7Cjs5 = function () {
|
|
611
611
|
const t = wave.expand.value;
|
|
612
612
|
const from = wave.origin.value;
|
|
613
613
|
const scale = RIPPLE_START_SCALE + (1 - RIPPLE_START_SCALE) * t;
|
|
@@ -625,20 +625,20 @@ function RippleWave({
|
|
|
625
625
|
}]
|
|
626
626
|
};
|
|
627
627
|
};
|
|
628
|
-
|
|
628
|
+
chunkTGMVEHV7Cjs5.__closure = {
|
|
629
629
|
wave,
|
|
630
630
|
RIPPLE_START_SCALE,
|
|
631
631
|
center,
|
|
632
632
|
opacity,
|
|
633
633
|
radius
|
|
634
634
|
};
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
return
|
|
635
|
+
chunkTGMVEHV7Cjs5.__workletHash = 3265727251381;
|
|
636
|
+
chunkTGMVEHV7Cjs5.__pluginVersion = "0.7.4";
|
|
637
|
+
chunkTGMVEHV7Cjs5.__initData = _worklet_3265727251381_init_data;
|
|
638
|
+
chunkTGMVEHV7Cjs5.__stackDetails = _e;
|
|
639
|
+
return chunkTGMVEHV7Cjs5;
|
|
640
640
|
}({
|
|
641
|
-
|
|
641
|
+
_worklet_3265727251381_init_data,
|
|
642
642
|
wave,
|
|
643
643
|
RIPPLE_START_SCALE,
|
|
644
644
|
center,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useRotation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3GFRSZYR.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FHUYHV6J.js";
|
|
7
7
|
import {
|
|
8
8
|
PressableFeedback
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
warnDev
|
|
12
|
-
} from "./chunk-EGLLDKN6.js";
|
|
9
|
+
} from "./chunk-LIUO6D3D.js";
|
|
13
10
|
import {
|
|
14
11
|
usePressState
|
|
15
12
|
} from "./chunk-423RQBOX.js";
|
|
13
|
+
import {
|
|
14
|
+
warnDev
|
|
15
|
+
} from "./chunk-EGLLDKN6.js";
|
|
16
16
|
import {
|
|
17
17
|
childrenToString,
|
|
18
18
|
createSlotContext
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-K72UDPVN.js";
|
|
20
20
|
import {
|
|
21
21
|
createRecipe,
|
|
22
22
|
radiusAxis
|
|
@@ -6,14 +6,14 @@ var _chunkF6CQ6CBIcjs = require('./chunk-F6CQ6CBI.cjs');
|
|
|
6
6
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkTGMVEHV7cjs = require('./chunk-TGMVEHV7.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -30,7 +30,7 @@ var _react = require('react');
|
|
|
30
30
|
var _reactnative = require('react-native');
|
|
31
31
|
|
|
32
32
|
// src/components/checkbox/checkbox.context.ts
|
|
33
|
-
var [CheckboxProvider, useCheckbox] =
|
|
33
|
+
var [CheckboxProvider, useCheckbox] = _chunk7GHM4GKLcjs.createSlotContext.call(void 0, "Checkbox");
|
|
34
34
|
|
|
35
35
|
// src/components/checkbox/checkbox-indicator.tsx
|
|
36
36
|
var _jsxruntime = require('react/jsx-runtime');
|
|
@@ -297,13 +297,13 @@ var CheckboxRoot = _react.forwardRef.call(void 0, function Checkbox({
|
|
|
297
297
|
styleProps,
|
|
298
298
|
typeof style === "function" ? style({ pressed: isPressed }) : style
|
|
299
299
|
];
|
|
300
|
-
const text =
|
|
300
|
+
const text = _chunk7GHM4GKLcjs.childrenToString.call(void 0, children);
|
|
301
301
|
const content = text !== null ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
302
302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxIndicator, {}),
|
|
303
303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxLabel, { children: text })
|
|
304
304
|
] }) : _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxIndicator, {})));
|
|
305
305
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
306
|
-
|
|
306
|
+
_chunkTGMVEHV7cjs.PressableFeedback,
|
|
307
307
|
{
|
|
308
308
|
ref,
|
|
309
309
|
isPressed,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CloseButton,
|
|
3
3
|
closeButtonBase
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EYD4H4X6.js";
|
|
5
5
|
import {
|
|
6
6
|
Icon
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FHUYHV6J.js";
|
|
8
8
|
import {
|
|
9
9
|
PressableFeedback
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
warnDev
|
|
13
|
-
} from "./chunk-EGLLDKN6.js";
|
|
10
|
+
} from "./chunk-LIUO6D3D.js";
|
|
14
11
|
import {
|
|
15
12
|
usePressState
|
|
16
13
|
} from "./chunk-423RQBOX.js";
|
|
14
|
+
import {
|
|
15
|
+
warnDev
|
|
16
|
+
} from "./chunk-EGLLDKN6.js";
|
|
17
17
|
import {
|
|
18
18
|
Slot,
|
|
19
19
|
childrenToString,
|
|
20
20
|
createSlotContext
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-K72UDPVN.js";
|
|
22
22
|
import {
|
|
23
23
|
createRecipe,
|
|
24
24
|
radiusAxis
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkA7YB7YWXcjs = require('./chunk-A7YB7YWX.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
@@ -17,13 +17,13 @@ var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
|
17
17
|
var _react = require('react');
|
|
18
18
|
|
|
19
19
|
// src/components/text-area/text-area.context.ts
|
|
20
|
-
var [TextAreaProvider, useTextArea] =
|
|
20
|
+
var [TextAreaProvider, useTextArea] = _chunk7GHM4GKLcjs.createSlotContext.call(void 0, "TextArea");
|
|
21
21
|
|
|
22
22
|
// src/components/text-area/text-area-field.tsx
|
|
23
23
|
var _jsxruntime = require('react/jsx-runtime');
|
|
24
24
|
var TextAreaField = _react.forwardRef.call(void 0,
|
|
25
25
|
function TextAreaField2({ style, scrollEnabled, ...props }, ref) {
|
|
26
|
-
const { textAreaStyle, textArea } =
|
|
26
|
+
const { textAreaStyle, textArea } = _chunkA7YB7YWXcjs.useTextField.call(void 0, );
|
|
27
27
|
const { rows, maxRows } = useTextArea();
|
|
28
28
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
29
29
|
const height = _react.useMemo.call(void 0, () => {
|
|
@@ -37,7 +37,7 @@ var TextAreaField = _react.forwardRef.call(void 0,
|
|
|
37
37
|
};
|
|
38
38
|
}, [rows, maxRows, textArea]);
|
|
39
39
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
-
|
|
40
|
+
_chunkA7YB7YWXcjs.TextFieldField,
|
|
41
41
|
{
|
|
42
42
|
ref,
|
|
43
43
|
multiline: true,
|
|
@@ -56,16 +56,16 @@ TextAreaField.displayName = "XAUI.TextArea.Field";
|
|
|
56
56
|
var DEFAULT_ROWS = 3;
|
|
57
57
|
var TextAreaRoot = _react.forwardRef.call(void 0, function TextArea({ rows = DEFAULT_ROWS, maxRows, children, ...props }, ref) {
|
|
58
58
|
const context = _react.useMemo.call(void 0, () => ({ rows, maxRows }), [rows, maxRows]);
|
|
59
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextAreaProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
59
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextAreaProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA7YB7YWXcjs.TextFieldRoot, { ref, ...props, children }) });
|
|
60
60
|
});
|
|
61
61
|
TextAreaRoot.displayName = "XAUI.TextArea.Root";
|
|
62
62
|
|
|
63
63
|
// src/components/text-area/index.ts
|
|
64
64
|
var TextArea2 = Object.assign(TextAreaRoot, {
|
|
65
|
-
Label:
|
|
65
|
+
Label: _chunkA7YB7YWXcjs.TextFieldLabel,
|
|
66
66
|
Field: TextAreaField,
|
|
67
|
-
Description:
|
|
68
|
-
Error:
|
|
67
|
+
Description: _chunkA7YB7YWXcjs.TextFieldDescription,
|
|
68
|
+
Error: _chunkA7YB7YWXcjs.TextFieldError
|
|
69
69
|
});
|
|
70
70
|
|
|
71
71
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkH4E4HDEPcjs = require('./chunk-H4E4HDEP.cjs');
|
|
4
|
+
|
|
5
|
+
// src/hooks/use-merged-ref.ts
|
|
6
|
+
var _react = require('react');
|
|
7
|
+
function useMergedRef(...refs) {
|
|
8
|
+
return _react.useMemo.call(void 0, () => _chunkH4E4HDEPcjs.mergeRefs.call(void 0, ...refs), refs);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.useMergedRef = useMergedRef;
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-F6W3JQ7K.js";
|
|
7
7
|
import {
|
|
8
8
|
PressableFeedback
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LIUO6D3D.js";
|
|
10
10
|
import {
|
|
11
11
|
usePressState
|
|
12
12
|
} from "./chunk-423RQBOX.js";
|
|
13
13
|
import {
|
|
14
14
|
childrenToString,
|
|
15
15
|
createSlotContext
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-K72UDPVN.js";
|
|
17
17
|
import {
|
|
18
18
|
createRecipe,
|
|
19
19
|
radiusAxis
|
|
@@ -2,17 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
|
-
});
|
|
6
|
-
var _chunkH4E4HDEPcjs = require('./chunk-H4E4HDEP.cjs');
|
|
7
|
-
|
|
8
|
-
// src/hooks/use-merged-ref.ts
|
|
5
|
+
}); // src/hooks/use-previous.ts
|
|
9
6
|
var _react = require('react');
|
|
10
|
-
function useMergedRef(...refs) {
|
|
11
|
-
return _react.useMemo.call(void 0, () => _chunkH4E4HDEPcjs.mergeRefs.call(void 0, ...refs), refs);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// src/hooks/use-previous.ts
|
|
15
|
-
|
|
16
7
|
function usePrevious(value) {
|
|
17
8
|
const previous = _react.useRef.call(void 0, void 0);
|
|
18
9
|
_react.useEffect.call(void 0, () => {
|
|
@@ -25,10 +16,10 @@ function usePrevious(value) {
|
|
|
25
16
|
|
|
26
17
|
var _reactnativereanimated = require('react-native-reanimated');
|
|
27
18
|
var ROTATION_DURATION = 900;
|
|
28
|
-
const
|
|
29
|
-
code: "function
|
|
30
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
31
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
19
|
+
const _worklet_15909689137170_init_data = {
|
|
20
|
+
code: "function chunkXSQPVDFHCjs1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
|
|
21
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-XSQPVDFH.cjs",
|
|
22
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkXSQPVDFHCjs1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-XSQPVDFH.cjs\"],\"mappings\":\"AA+B8D,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAEhE,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
|
|
32
23
|
};
|
|
33
24
|
function useRotation() {
|
|
34
25
|
const angle = _reactnativereanimated.useSharedValue.call(void 0, 0);
|
|
@@ -39,32 +30,31 @@ function useRotation() {
|
|
|
39
30
|
}), -1, false);
|
|
40
31
|
return () => _reactnativereanimated.cancelAnimation.call(void 0, angle);
|
|
41
32
|
}, [angle]);
|
|
42
|
-
return _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
43
|
-
|
|
33
|
+
return _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkXSQPVDFHCjs1Factory({
|
|
34
|
+
_worklet_15909689137170_init_data,
|
|
44
35
|
angle
|
|
45
36
|
}) {
|
|
46
37
|
const _e = [new global.Error(), -2, -27];
|
|
47
|
-
const
|
|
38
|
+
const chunkXSQPVDFHCjs1 = function () {
|
|
48
39
|
return {
|
|
49
40
|
transform: [{
|
|
50
41
|
rotate: `${angle.value}deg`
|
|
51
42
|
}]
|
|
52
43
|
};
|
|
53
44
|
};
|
|
54
|
-
|
|
45
|
+
chunkXSQPVDFHCjs1.__closure = {
|
|
55
46
|
angle
|
|
56
47
|
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
return
|
|
48
|
+
chunkXSQPVDFHCjs1.__workletHash = 15909689137170;
|
|
49
|
+
chunkXSQPVDFHCjs1.__pluginVersion = "0.7.4";
|
|
50
|
+
chunkXSQPVDFHCjs1.__initData = _worklet_15909689137170_init_data;
|
|
51
|
+
chunkXSQPVDFHCjs1.__stackDetails = _e;
|
|
52
|
+
return chunkXSQPVDFHCjs1;
|
|
62
53
|
}({
|
|
63
|
-
|
|
54
|
+
_worklet_15909689137170_init_data,
|
|
64
55
|
angle
|
|
65
56
|
}), [angle]);
|
|
66
57
|
}
|
|
67
|
-
exports.useMergedRef = useMergedRef;
|
|
68
58
|
exports.usePrevious = usePrevious;
|
|
69
59
|
exports.ROTATION_DURATION = ROTATION_DURATION;
|
|
70
60
|
exports.useRotation = useRotation;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkXSQPVDFHcjs = require('./chunk-XSQPVDFH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
@@ -114,7 +114,7 @@ var Spinner = _react.forwardRef.call(void 0, function Spinner2({ variant, size,
|
|
|
114
114
|
});
|
|
115
115
|
Spinner.displayName = "XAUI.Spinner";
|
|
116
116
|
function SpinningArc({ style }) {
|
|
117
|
-
const rotation =
|
|
117
|
+
const rotation = _chunkXSQPVDFHcjs.useRotation.call(void 0, );
|
|
118
118
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, { style: [style, rotation] });
|
|
119
119
|
}
|
|
120
120
|
|