@xaui/native 0.9.1-alpha.41 → 0.9.1-alpha.43
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-TJ74XVZN.cjs → chunk-3JXI2IHV.cjs} +8 -8
- package/dist/{chunk-C5YLPCFC.cjs → chunk-4KSKQD37.cjs} +5 -5
- package/dist/{chunk-DA3OKXHV.cjs → chunk-54CWXA34.cjs} +59 -59
- package/dist/{chunk-XV735BSA.cjs → chunk-66FOASTP.cjs} +6 -6
- package/dist/{chunk-UFTCTTKK.js → chunk-6CO6FM67.js} +15 -15
- package/dist/{chunk-RU7JCMWC.cjs → chunk-76XDVA24.cjs} +6 -6
- package/dist/{chunk-G7P3ERYF.cjs → chunk-7KLBTMXV.cjs} +5 -5
- package/dist/{chunk-NWGLP6JX.cjs → chunk-7TOG4TVU.cjs} +15 -15
- package/dist/{chunk-ZFOOJK37.cjs → chunk-AAVCMCJ3.cjs} +2 -2
- package/dist/{chunk-T5FV5F7A.cjs → chunk-C5LONNXT.cjs} +6 -6
- package/dist/{chunk-XFPQFCEK.js → chunk-DY3SUG5P.js} +6 -6
- package/dist/{chunk-KCMYU7WF.js → chunk-EYD4H4X6.js} +1 -1
- package/dist/{chunk-DHGLGSH6.js → chunk-FBCWNXZC.js} +58 -58
- package/dist/{chunk-2XPG2243.js → chunk-GJSFKH4L.js} +16 -16
- package/dist/{chunk-DD4276RF.js → chunk-HA6BFY3A.js} +6 -6
- package/dist/{chunk-GFUZ3MUT.cjs → chunk-HOI5425P.cjs} +6 -6
- package/dist/chunk-J5WXI5NU.js +520 -0
- package/dist/{chunk-LRN3RNDO.js → chunk-JKP4TPIL.js} +16 -16
- package/dist/{chunk-6UEZJRVI.js → chunk-LIUO6D3D.js} +75 -75
- package/dist/{chunk-DIBUQ46Y.js → chunk-MXGER5PI.js} +5 -5
- package/dist/{chunk-EZEYMLO3.js → chunk-N5AEXTUM.js} +4 -4
- package/dist/chunk-NA262TF2.js +724 -0
- package/dist/{chunk-R73XQK7X.cjs → chunk-NCCRQK3P.cjs} +5 -5
- package/dist/{chunk-5VKYNBNA.js → chunk-NHZRQM5J.js} +4 -4
- package/dist/chunk-P2GKAAA3.cjs +442 -0
- package/dist/{chunk-VLKBESEV.cjs → chunk-QWMVMLSU.cjs} +5 -5
- package/dist/{chunk-GA6PBWNT.js → chunk-QZ24MZRX.js} +1 -1
- package/dist/{chunk-YVHT2UVW.js → chunk-R7BU4CPS.js} +1 -1
- package/dist/{chunk-6DOLGZVV.cjs → chunk-S4QUM4EE.cjs} +4 -4
- package/dist/{chunk-DG2I4PJG.js → chunk-SACDOFGF.js} +15 -15
- package/dist/{chunk-ABAGZTXZ.cjs → chunk-SIP5J7HU.cjs} +15 -15
- package/dist/{chunk-3E7CDKFO.cjs → chunk-TGMVEHV7.cjs} +61 -61
- package/dist/{chunk-YGYYJ3LQ.js → chunk-TRETQZEW.js} +5 -5
- package/dist/{chunk-UAWBAD4E.cjs → chunk-URA25DU4.cjs} +5 -5
- package/dist/{chunk-BRRXFOBY.js → chunk-USF6EWYR.js} +7 -7
- package/dist/{chunk-5R26NM4M.cjs → chunk-VPQPFLT5.cjs} +6 -6
- package/dist/{chunk-G3CCT4EY.js → chunk-VT34G7RT.js} +16 -16
- package/dist/{chunk-7YF5NAHQ.cjs → chunk-VZK3NLBH.cjs} +7 -7
- package/dist/{chunk-N3KTZMPG.js → chunk-XNMZQSY5.js} +5 -5
- package/dist/chunk-ZTBA7CNK.cjs +510 -0
- package/dist/components/accordion/index.cjs +5 -5
- package/dist/components/accordion/index.js +4 -4
- package/dist/components/alert/index.cjs +6 -6
- package/dist/components/alert/index.js +5 -5
- package/dist/components/avatar/index.cjs +4 -4
- package/dist/components/avatar/index.js +3 -3
- package/dist/components/badge/index.cjs +4 -4
- package/dist/components/badge/index.js +3 -3
- package/dist/components/bottom-sheet/index.cjs +37 -0
- package/dist/components/bottom-sheet/index.d.cts +230 -0
- package/dist/components/bottom-sheet/index.d.ts +230 -0
- package/dist/components/bottom-sheet/index.js +37 -0
- package/dist/components/button/index.cjs +5 -5
- package/dist/components/button/index.js +4 -4
- package/dist/components/card/index.cjs +5 -5
- package/dist/components/card/index.js +4 -4
- package/dist/components/checkbox/index.cjs +5 -5
- package/dist/components/checkbox/index.js +4 -4
- package/dist/components/chip/index.cjs +6 -6
- package/dist/components/chip/index.js +5 -5
- package/dist/components/divider/index.cjs +4 -4
- package/dist/components/divider/index.js +3 -3
- package/dist/components/field-group/index.cjs +5 -5
- package/dist/components/field-group/index.js +4 -4
- package/dist/components/input-otp/index.cjs +4 -4
- package/dist/components/input-otp/index.js +3 -3
- package/dist/components/menu/index.cjs +5 -5
- package/dist/components/menu/index.js +4 -4
- package/dist/components/popover/index.cjs +5 -5
- package/dist/components/popover/index.js +4 -4
- package/dist/components/radio/index.cjs +5 -5
- package/dist/components/radio/index.js +4 -4
- package/dist/components/select/index.cjs +5 -5
- package/dist/components/select/index.js +4 -4
- package/dist/components/slider/index.cjs +33 -0
- package/dist/components/slider/index.d.cts +284 -0
- package/dist/components/slider/index.d.ts +284 -0
- package/dist/components/slider/index.js +33 -0
- package/dist/components/spinner/index.cjs +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/switch/index.cjs +5 -5
- package/dist/components/switch/index.js +4 -4
- package/dist/components/tabs/index.cjs +5 -5
- package/dist/components/tabs/index.js +4 -4
- package/dist/components/text-area/index.cjs +5 -5
- package/dist/components/text-area/index.js +4 -4
- package/dist/components/text-field/index.cjs +4 -4
- package/dist/components/text-field/index.js +3 -3
- package/dist/components/typography/index.cjs +4 -4
- package/dist/components/typography/index.js +3 -3
- package/dist/index.cjs +85 -37
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +132 -84
- package/dist/system/index.cjs +11 -11
- package/dist/system/index.js +13 -13
- package/package.json +21 -1
- package/dist/{chunk-4CUZZWFW.js → chunk-26OGEFQI.js} +3 -3
- package/dist/{chunk-H7DS4IO7.js → chunk-346QBNUD.js} +4 -4
- package/dist/{chunk-J3MB4PI5.cjs → chunk-A7YB7YWX.cjs} +3 -3
- package/dist/{chunk-AMCSSOJT.cjs → chunk-BNFIFRQA.cjs} +3 -3
- package/dist/{chunk-6L2TS2R3.cjs → chunk-KSUV74BE.cjs} +3 -3
- package/dist/{chunk-HDVVZG4S.cjs → chunk-RKCWYUGA.cjs} +3 -3
- package/dist/{chunk-2NRZKJG7.js → chunk-S2WNWMNT.js} +4 -4
- package/dist/{chunk-73RKQC5X.js → chunk-SZLXPF3G.js} +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { contrastOn, isHex, useXAUITheme } from "./chunk-A3EGFI6T.js";
|
|
2
1
|
import { Slot, createSlotContext } from "./chunk-K72UDPVN.js";
|
|
2
|
+
import { contrastOn, isHex, useXAUITheme } from "./chunk-A3EGFI6T.js";
|
|
3
3
|
import { useStyleProps } from "./chunk-M63GFNKV.js";
|
|
4
4
|
|
|
5
5
|
// src/system/pressable-feedback/pressable-feedback-context.ts
|
|
@@ -11,13 +11,13 @@ var DisableAllContext = createContext(false);
|
|
|
11
11
|
var PRESS_SCALE = 0.985;
|
|
12
12
|
var PRESS_DURATION = 300;
|
|
13
13
|
var SCALE_REFERENCE_WIDTH = 300;
|
|
14
|
-
const
|
|
15
|
-
code: "function
|
|
16
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
17
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
14
|
+
const _worklet_7958378817002_init_data = {
|
|
15
|
+
code: "function pressScaleFor_chunkLIUO6D3DJs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
|
|
16
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js",
|
|
17
|
+
sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkLIUO6D3DJs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js\"],\"mappings\":\"AAsBA,SAAAA,8BAA8BA,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\":[]}"
|
|
18
18
|
};
|
|
19
|
-
const pressScaleFor = function
|
|
20
|
-
|
|
19
|
+
const pressScaleFor = function pressScaleFor_chunkLIUO6D3DJs1Factory({
|
|
20
|
+
_worklet_7958378817002_init_data,
|
|
21
21
|
SCALE_REFERENCE_WIDTH,
|
|
22
22
|
PRESS_SCALE
|
|
23
23
|
}) {
|
|
@@ -30,13 +30,13 @@ const pressScaleFor = function pressScaleFor_chunk6UEZJRVIJs1Factory({
|
|
|
30
30
|
SCALE_REFERENCE_WIDTH,
|
|
31
31
|
PRESS_SCALE
|
|
32
32
|
};
|
|
33
|
-
pressScaleFor.__workletHash =
|
|
33
|
+
pressScaleFor.__workletHash = 7958378817002;
|
|
34
34
|
pressScaleFor.__pluginVersion = "0.7.4";
|
|
35
|
-
pressScaleFor.__initData =
|
|
35
|
+
pressScaleFor.__initData = _worklet_7958378817002_init_data;
|
|
36
36
|
pressScaleFor.__stackDetails = _e;
|
|
37
37
|
return pressScaleFor;
|
|
38
38
|
}({
|
|
39
|
-
|
|
39
|
+
_worklet_7958378817002_init_data,
|
|
40
40
|
SCALE_REFERENCE_WIDTH,
|
|
41
41
|
PRESS_SCALE
|
|
42
42
|
});
|
|
@@ -49,26 +49,26 @@ var RIPPLE_CONFIRM_DURATION = 225;
|
|
|
49
49
|
var RIPPLE_FADE_IN = 75;
|
|
50
50
|
var RIPPLE_FADE_OUT_DELAY = 225;
|
|
51
51
|
var RIPPLE_FADE_OUT = 150;
|
|
52
|
-
const
|
|
53
|
-
code: "function
|
|
54
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
55
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
52
|
+
const _worklet_1503266360337_init_data = {
|
|
53
|
+
code: "function rippleRadiusFor_chunkLIUO6D3DJs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
|
|
54
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js",
|
|
55
|
+
sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkLIUO6D3DJs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js\"],\"mappings\":\"AAoCA,SAAAA,gCAAwCA,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\":[]}"
|
|
56
56
|
};
|
|
57
|
-
const rippleRadiusFor = function
|
|
58
|
-
|
|
57
|
+
const rippleRadiusFor = function rippleRadiusFor_chunkLIUO6D3DJs2Factory({
|
|
58
|
+
_worklet_1503266360337_init_data
|
|
59
59
|
}) {
|
|
60
60
|
const _e = [new global.Error(), 1, -27];
|
|
61
61
|
const rippleRadiusFor = function (width, height) {
|
|
62
62
|
return Math.sqrt(width * width + height * height) / 2 + 5;
|
|
63
63
|
};
|
|
64
64
|
rippleRadiusFor.__closure = {};
|
|
65
|
-
rippleRadiusFor.__workletHash =
|
|
65
|
+
rippleRadiusFor.__workletHash = 1503266360337;
|
|
66
66
|
rippleRadiusFor.__pluginVersion = "0.7.4";
|
|
67
|
-
rippleRadiusFor.__initData =
|
|
67
|
+
rippleRadiusFor.__initData = _worklet_1503266360337_init_data;
|
|
68
68
|
rippleRadiusFor.__stackDetails = _e;
|
|
69
69
|
return rippleRadiusFor;
|
|
70
70
|
}({
|
|
71
|
-
|
|
71
|
+
_worklet_1503266360337_init_data
|
|
72
72
|
});
|
|
73
73
|
var ALL_OFF = {
|
|
74
74
|
scale: false,
|
|
@@ -242,15 +242,15 @@ var StaticFeedback = forwardRef(function StaticFeedback2({
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
});
|
|
245
|
-
const
|
|
246
|
-
code: "function
|
|
247
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
248
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
245
|
+
const _worklet_1247134191396_init_data = {
|
|
246
|
+
code: "function chunkLIUO6D3DJs3(){const{pressScaleFor,size}=this.__closure;return pressScaleFor(size.value.width);}",
|
|
247
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js",
|
|
248
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLIUO6D3DJs3\",\"pressScaleFor\",\"size\",\"__closure\",\"value\",\"width\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js\"],\"mappings\":\"AAkNuC,SAAAA,iBAAA,QAAAC,aAAA,CAAAC,IAAA,OAAAC,SAAA,OAAM,CAAAF,aAAc,CAAAC,IAAK,CAAAE,KAAM,CAAAC,KAAK\",\"ignoreList\":[]}"
|
|
249
249
|
};
|
|
250
|
-
const
|
|
251
|
-
code: "function
|
|
252
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
253
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
250
|
+
const _worklet_5395641393396_init_data = {
|
|
251
|
+
code: "function chunkLIUO6D3DJs4(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
|
|
252
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js",
|
|
253
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLIUO6D3DJs4\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js\"],\"mappings\":\"AAmNyC,SAAAA,gBAAMA,CAAA,QAAAC,SAAA,CAAAC,YAAA,CAAAC,QAAA,OAAAC,SAAA,CAE3C,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\":[]}"
|
|
254
254
|
};
|
|
255
255
|
var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
|
|
256
256
|
isPressed = false,
|
|
@@ -278,35 +278,35 @@ var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
|
|
|
278
278
|
easing: Easing.out(Easing.ease)
|
|
279
279
|
});
|
|
280
280
|
}, [isPressed, progress]);
|
|
281
|
-
const pressedScale = useDerivedValue(function
|
|
282
|
-
|
|
281
|
+
const pressedScale = useDerivedValue(function chunkLIUO6D3DJs3Factory({
|
|
282
|
+
_worklet_1247134191396_init_data,
|
|
283
283
|
pressScaleFor,
|
|
284
284
|
size
|
|
285
285
|
}) {
|
|
286
286
|
const _e = [new global.Error(), -3, -27];
|
|
287
|
-
const
|
|
288
|
-
|
|
287
|
+
const chunkLIUO6D3DJs3 = () => pressScaleFor(size.value.width);
|
|
288
|
+
chunkLIUO6D3DJs3.__closure = {
|
|
289
289
|
pressScaleFor,
|
|
290
290
|
size
|
|
291
291
|
};
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
return
|
|
292
|
+
chunkLIUO6D3DJs3.__workletHash = 1247134191396;
|
|
293
|
+
chunkLIUO6D3DJs3.__pluginVersion = "0.7.4";
|
|
294
|
+
chunkLIUO6D3DJs3.__initData = _worklet_1247134191396_init_data;
|
|
295
|
+
chunkLIUO6D3DJs3.__stackDetails = _e;
|
|
296
|
+
return chunkLIUO6D3DJs3;
|
|
297
297
|
}({
|
|
298
|
-
|
|
298
|
+
_worklet_1247134191396_init_data,
|
|
299
299
|
pressScaleFor,
|
|
300
300
|
size
|
|
301
301
|
}));
|
|
302
|
-
const animatedStyle = useAnimatedStyle(function
|
|
303
|
-
|
|
302
|
+
const animatedStyle = useAnimatedStyle(function chunkLIUO6D3DJs4Factory({
|
|
303
|
+
_worklet_5395641393396_init_data,
|
|
304
304
|
animation,
|
|
305
305
|
pressedScale,
|
|
306
306
|
progress
|
|
307
307
|
}) {
|
|
308
308
|
const _e = [new global.Error(), -4, -27];
|
|
309
|
-
const
|
|
309
|
+
const chunkLIUO6D3DJs4 = function () {
|
|
310
310
|
if (!animation.scale) return {};
|
|
311
311
|
return {
|
|
312
312
|
transform: [{
|
|
@@ -314,18 +314,18 @@ var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
|
|
|
314
314
|
}]
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
|
-
|
|
317
|
+
chunkLIUO6D3DJs4.__closure = {
|
|
318
318
|
animation,
|
|
319
319
|
pressedScale,
|
|
320
320
|
progress
|
|
321
321
|
};
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
return
|
|
322
|
+
chunkLIUO6D3DJs4.__workletHash = 5395641393396;
|
|
323
|
+
chunkLIUO6D3DJs4.__pluginVersion = "0.7.4";
|
|
324
|
+
chunkLIUO6D3DJs4.__initData = _worklet_5395641393396_init_data;
|
|
325
|
+
chunkLIUO6D3DJs4.__stackDetails = _e;
|
|
326
|
+
return chunkLIUO6D3DJs4;
|
|
327
327
|
}({
|
|
328
|
-
|
|
328
|
+
_worklet_5395641393396_init_data,
|
|
329
329
|
animation,
|
|
330
330
|
pressedScale,
|
|
331
331
|
progress
|
|
@@ -470,10 +470,10 @@ function PressableFeedbackHighlight({
|
|
|
470
470
|
}
|
|
471
471
|
PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
|
|
472
472
|
markOverlay(PressableFeedbackHighlight);
|
|
473
|
-
const
|
|
474
|
-
code: "function
|
|
475
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
476
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
473
|
+
const _worklet_12470112011780_init_data = {
|
|
474
|
+
code: "function chunkLIUO6D3DJs5(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
|
|
475
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js",
|
|
476
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLIUO6D3DJs5\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js\"],\"mappings\":\"AAiW0C,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE5C,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
|
|
477
477
|
};
|
|
478
478
|
function AnimatedHighlight({
|
|
479
479
|
base,
|
|
@@ -489,28 +489,28 @@ function AnimatedHighlight({
|
|
|
489
489
|
duration
|
|
490
490
|
});
|
|
491
491
|
}, [isPressed, shown, duration]);
|
|
492
|
-
const animatedStyle = useAnimatedStyle2(function
|
|
493
|
-
|
|
492
|
+
const animatedStyle = useAnimatedStyle2(function chunkLIUO6D3DJs5Factory({
|
|
493
|
+
_worklet_12470112011780_init_data,
|
|
494
494
|
shown,
|
|
495
495
|
opacity
|
|
496
496
|
}) {
|
|
497
497
|
const _e = [new global.Error(), -3, -27];
|
|
498
|
-
const
|
|
498
|
+
const chunkLIUO6D3DJs5 = function () {
|
|
499
499
|
return {
|
|
500
500
|
opacity: shown.value * opacity
|
|
501
501
|
};
|
|
502
502
|
};
|
|
503
|
-
|
|
503
|
+
chunkLIUO6D3DJs5.__closure = {
|
|
504
504
|
shown,
|
|
505
505
|
opacity
|
|
506
506
|
};
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
return
|
|
507
|
+
chunkLIUO6D3DJs5.__workletHash = 12470112011780;
|
|
508
|
+
chunkLIUO6D3DJs5.__pluginVersion = "0.7.4";
|
|
509
|
+
chunkLIUO6D3DJs5.__initData = _worklet_12470112011780_init_data;
|
|
510
|
+
chunkLIUO6D3DJs5.__stackDetails = _e;
|
|
511
|
+
return chunkLIUO6D3DJs5;
|
|
512
512
|
}({
|
|
513
|
-
|
|
513
|
+
_worklet_12470112011780_init_data,
|
|
514
514
|
shown,
|
|
515
515
|
opacity
|
|
516
516
|
}), [shown, opacity]);
|
|
@@ -577,10 +577,10 @@ function PressableFeedbackRipple({
|
|
|
577
577
|
}
|
|
578
578
|
PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
|
|
579
579
|
markOverlay(PressableFeedbackRipple);
|
|
580
|
-
const
|
|
581
|
-
code: "function
|
|
582
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
583
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
580
|
+
const _worklet_12101639339339_init_data = {
|
|
581
|
+
code: "function chunkLIUO6D3DJs6(){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}]};}",
|
|
582
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LIUO6D3D.js",
|
|
583
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLIUO6D3DJs6\",\"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-LIUO6D3D.js\"],\"mappings\":\"AAia0C,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,CAAAC,kBAAA,CAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA,OAAAC,SAAA,CAE5C,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\":[]}"
|
|
584
584
|
};
|
|
585
585
|
function RippleWave({
|
|
586
586
|
wave,
|
|
@@ -590,8 +590,8 @@ function RippleWave({
|
|
|
590
590
|
opacity,
|
|
591
591
|
style
|
|
592
592
|
}) {
|
|
593
|
-
const animatedStyle = useAnimatedStyle3(function
|
|
594
|
-
|
|
593
|
+
const animatedStyle = useAnimatedStyle3(function chunkLIUO6D3DJs6Factory({
|
|
594
|
+
_worklet_12101639339339_init_data,
|
|
595
595
|
wave,
|
|
596
596
|
RIPPLE_START_SCALE,
|
|
597
597
|
center,
|
|
@@ -599,7 +599,7 @@ function RippleWave({
|
|
|
599
599
|
radius
|
|
600
600
|
}) {
|
|
601
601
|
const _e = [new global.Error(), -6, -27];
|
|
602
|
-
const
|
|
602
|
+
const chunkLIUO6D3DJs6 = function () {
|
|
603
603
|
const t = wave.expand.value;
|
|
604
604
|
const from = wave.origin.value;
|
|
605
605
|
const scale = RIPPLE_START_SCALE + (1 - RIPPLE_START_SCALE) * t;
|
|
@@ -617,20 +617,20 @@ function RippleWave({
|
|
|
617
617
|
}]
|
|
618
618
|
};
|
|
619
619
|
};
|
|
620
|
-
|
|
620
|
+
chunkLIUO6D3DJs6.__closure = {
|
|
621
621
|
wave,
|
|
622
622
|
RIPPLE_START_SCALE,
|
|
623
623
|
center,
|
|
624
624
|
opacity,
|
|
625
625
|
radius
|
|
626
626
|
};
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
return
|
|
627
|
+
chunkLIUO6D3DJs6.__workletHash = 12101639339339;
|
|
628
|
+
chunkLIUO6D3DJs6.__pluginVersion = "0.7.4";
|
|
629
|
+
chunkLIUO6D3DJs6.__initData = _worklet_12101639339339_init_data;
|
|
630
|
+
chunkLIUO6D3DJs6.__stackDetails = _e;
|
|
631
|
+
return chunkLIUO6D3DJs6;
|
|
632
632
|
}({
|
|
633
|
-
|
|
633
|
+
_worklet_12101639339339_init_data,
|
|
634
634
|
wave,
|
|
635
635
|
RIPPLE_START_SCALE,
|
|
636
636
|
center,
|
|
@@ -6,10 +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
|
+
import {
|
|
14
|
+
childrenToString,
|
|
15
|
+
createSlotContext
|
|
16
|
+
} from "./chunk-K72UDPVN.js";
|
|
13
17
|
import {
|
|
14
18
|
createRecipe,
|
|
15
19
|
radiusAxis
|
|
@@ -17,10 +21,6 @@ import {
|
|
|
17
21
|
import {
|
|
18
22
|
useXAUITheme
|
|
19
23
|
} from "./chunk-A3EGFI6T.js";
|
|
20
|
-
import {
|
|
21
|
-
childrenToString,
|
|
22
|
-
createSlotContext
|
|
23
|
-
} from "./chunk-K72UDPVN.js";
|
|
24
24
|
import {
|
|
25
25
|
useStyleProps
|
|
26
26
|
} from "./chunk-M63GFNKV.js";
|
|
@@ -21,10 +21,13 @@ import {
|
|
|
21
21
|
} from "./chunk-F6W3JQ7K.js";
|
|
22
22
|
import {
|
|
23
23
|
PressableFeedback
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LIUO6D3D.js";
|
|
25
25
|
import {
|
|
26
26
|
usePressState
|
|
27
27
|
} from "./chunk-423RQBOX.js";
|
|
28
|
+
import {
|
|
29
|
+
createSlotContext
|
|
30
|
+
} from "./chunk-K72UDPVN.js";
|
|
28
31
|
import {
|
|
29
32
|
createRecipe,
|
|
30
33
|
radiusAxis
|
|
@@ -32,9 +35,6 @@ import {
|
|
|
32
35
|
import {
|
|
33
36
|
useXAUITheme
|
|
34
37
|
} from "./chunk-A3EGFI6T.js";
|
|
35
|
-
import {
|
|
36
|
-
createSlotContext
|
|
37
|
-
} from "./chunk-K72UDPVN.js";
|
|
38
38
|
import {
|
|
39
39
|
useStyleProps
|
|
40
40
|
} from "./chunk-M63GFNKV.js";
|