@xaui/native 0.9.1-alpha.35 → 0.9.1-alpha.36
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-I66VMLHE.cjs → chunk-2L7FOIWY.cjs} +21 -21
- package/dist/{chunk-VSALV7VO.cjs → chunk-2LNE4PWB.cjs} +2 -2
- package/dist/{chunk-HVD5EX7V.js → chunk-2OZPOWFB.js} +1 -1
- package/dist/{chunk-6M7RUU7V.cjs → chunk-2SCE7TFZ.cjs} +64 -64
- package/dist/{chunk-L55CDXNI.js → chunk-3YZSUDZ2.js} +108 -102
- package/dist/{chunk-NLASSGA7.js → chunk-4XFEEBPU.js} +10 -2
- package/dist/{chunk-4SLOOIE5.cjs → chunk-5BNIIDQD.cjs} +2 -2
- package/dist/{chunk-HXL2QCMR.js → chunk-5GMU7ESV.js} +14 -14
- package/dist/{chunk-Q3D6KIVF.cjs → chunk-6N5ZCEAB.cjs} +104 -98
- package/dist/{chunk-GBFQZQ77.js → chunk-6U5IUUAR.js} +2 -2
- package/dist/{chunk-XWMB66ZM.cjs → chunk-ADQVA2FQ.cjs} +2 -2
- package/dist/{chunk-YUG22AXX.cjs → chunk-AQXNEV6J.cjs} +16 -16
- package/dist/{chunk-CNNLMMFV.cjs → chunk-AZRMOWRG.cjs} +6 -6
- package/dist/{chunk-JCYWU5TO.js → chunk-B6OKVLC7.js} +1 -1
- package/dist/{chunk-M2BGCN77.js → chunk-BAPXLO5N.js} +4 -4
- package/dist/{chunk-MHEL3NAN.js → chunk-CVCE7TW5.js} +53 -53
- package/dist/{chunk-BA2MPBCO.js → chunk-DL2PGB5G.js} +58 -58
- package/dist/{chunk-NFFL3E4N.js → chunk-DOLWSO7A.js} +2 -2
- package/dist/{chunk-ZA6RT3XQ.js → chunk-E5ZW7MBW.js} +16 -16
- package/dist/{chunk-K7LLERKT.cjs → chunk-EFPWXJAJ.cjs} +11 -11
- package/dist/{chunk-GGW42MY4.js → chunk-FJ5TLRT3.js} +2 -1
- package/dist/{chunk-CYS6U374.cjs → chunk-FVKIQBHS.cjs} +4 -4
- package/dist/{chunk-PBR44KVV.cjs → chunk-FYCDRRJ2.cjs} +22 -22
- package/dist/{chunk-DBXFFJTC.cjs → chunk-GHKJ6MUH.cjs} +8 -8
- package/dist/{chunk-QY4MN7X3.cjs → chunk-GPZSTEEI.cjs} +12 -12
- package/dist/{chunk-OHEHPQLC.cjs → chunk-HQVVQGYV.cjs} +2 -2
- package/dist/{chunk-MC7SY2QH.cjs → chunk-HT7H35GU.cjs} +2 -1
- package/dist/{chunk-PCWT2YBE.cjs → chunk-ISPOIMGX.cjs} +2 -2
- package/dist/{chunk-TZG3DERP.js → chunk-JB5XANQY.js} +1 -1
- package/dist/{chunk-I6ZB3FZI.cjs → chunk-K3AVOT6L.cjs} +2 -2
- package/dist/{chunk-AYOVBZAX.js → chunk-K7GAHNMJ.js} +3 -3
- package/dist/{chunk-2IWL6R3D.js → chunk-KZVHC4FL.js} +3 -3
- package/dist/{chunk-AOEXU5UV.cjs → chunk-LCDHTLSG.cjs} +3 -3
- package/dist/{chunk-UORTYL63.cjs → chunk-MFXZHLOU.cjs} +11 -11
- package/dist/{chunk-MSMZBUZO.cjs → chunk-N2U63JUX.cjs} +6 -6
- package/dist/{chunk-SLUJFE6R.js → chunk-OMV5MUTM.js} +15 -15
- package/dist/{chunk-MEYCZS32.js → chunk-OSCW7I4H.js} +1 -1
- package/dist/{chunk-WJPQARJ5.js → chunk-OWE5IID7.js} +1 -1
- package/dist/{chunk-DUQUCOUY.cjs → chunk-PGQWUASE.cjs} +2 -2
- package/dist/{chunk-LZK77LFX.js → chunk-QZO57TPX.js} +1 -1
- package/dist/{chunk-7CTIE42J.cjs → chunk-RPOKLFRB.cjs} +16 -8
- package/dist/{chunk-U3RDU3HU.js → chunk-RSGIJ6RI.js} +2 -2
- package/dist/{chunk-UR6DNU2M.js → chunk-SAGMDVFU.js} +2 -2
- package/dist/{chunk-CM4LI5OH.cjs → chunk-TE7KVFE4.cjs} +9 -9
- package/dist/{chunk-NMAZ2TQF.js → chunk-U3HFQHGZ.js} +1 -1
- package/dist/{chunk-XNNJM5DQ.js → chunk-UCW25LL6.js} +75 -75
- package/dist/{chunk-ZC35YYKS.js → chunk-V5IVMZQJ.js} +1 -1
- package/dist/{chunk-HNW4HIMO.js → chunk-VWATEE5O.js} +15 -15
- package/dist/{chunk-TVCS5UOE.cjs → chunk-XARBUUIE.cjs} +49 -49
- package/dist/{chunk-OX2YNMNS.cjs → chunk-ZU3XQZ63.cjs} +63 -63
- package/dist/components/alert/index.cjs +7 -7
- package/dist/components/alert/index.js +6 -6
- package/dist/components/avatar/index.cjs +5 -5
- package/dist/components/avatar/index.js +4 -4
- package/dist/components/badge/index.cjs +4 -4
- package/dist/components/badge/index.js +3 -3
- package/dist/components/button/index.cjs +6 -6
- package/dist/components/button/index.js +5 -5
- 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 +7 -7
- package/dist/components/chip/index.js +6 -6
- package/dist/components/divider/index.cjs +4 -4
- package/dist/components/divider/index.js +3 -3
- package/dist/components/field-group/index.cjs +28 -0
- package/dist/components/{input-group → field-group}/index.d.cts +60 -60
- package/dist/components/{input-group → field-group}/index.d.ts +60 -60
- package/dist/components/field-group/index.js +28 -0
- package/dist/components/input-otp/index.cjs +4 -4
- package/dist/components/input-otp/index.js +3 -3
- package/dist/components/radio/index.cjs +5 -5
- package/dist/components/radio/index.js +4 -4
- package/dist/components/skeleton/index.cjs +4 -4
- package/dist/components/skeleton/index.js +3 -3
- package/dist/components/spinner/index.cjs +4 -4
- package/dist/components/spinner/index.js +3 -3
- package/dist/components/switch/index.cjs +5 -5
- package/dist/components/switch/index.js +4 -4
- package/dist/components/text-area/index.cjs +5 -5
- package/dist/components/text-area/index.d.cts +10 -10
- package/dist/components/text-area/index.d.ts +10 -10
- package/dist/components/text-area/index.js +4 -4
- package/dist/components/text-field/index.cjs +26 -0
- package/dist/components/{input → text-field}/index.d.cts +43 -43
- package/dist/components/{input → text-field}/index.d.ts +43 -43
- package/dist/components/text-field/index.js +26 -0
- package/dist/components/typography/index.cjs +4 -4
- package/dist/components/typography/index.js +3 -3
- package/dist/components/view/index.cjs +4 -4
- package/dist/components/view/index.js +3 -3
- package/dist/index.cjs +26 -26
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +60 -60
- package/dist/system/index.cjs +7 -7
- package/dist/system/index.js +6 -6
- package/dist/{input.type-D2qgi03E.d.ts → text-field.type-0l73acce.d.ts} +24 -24
- package/dist/{input.type-BUMDlzL9.d.cts → text-field.type-DBh06DU5.d.cts} +24 -24
- package/dist/theme/index.cjs +3 -3
- package/dist/theme/index.js +2 -2
- package/package.json +16 -16
- package/dist/components/input/index.cjs +0 -26
- package/dist/components/input/index.js +0 -26
- package/dist/components/input-group/index.cjs +0 -28
- package/dist/components/input-group/index.js +0 -28
|
@@ -29,10 +29,10 @@ function _optionalChain(ops) {
|
|
|
29
29
|
}
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var _chunkISPOIMGXcjs = require('./chunk-ISPOIMGX.cjs');
|
|
33
33
|
var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
34
34
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
35
|
-
var
|
|
35
|
+
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
36
36
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
37
37
|
|
|
38
38
|
// src/components/avatar/avatar-fallback.tsx
|
|
@@ -54,7 +54,7 @@ var AvatarInitials = _react.forwardRef.call(void 0, function AvatarInitials2({
|
|
|
54
54
|
const {
|
|
55
55
|
initialsStyle
|
|
56
56
|
} = useAvatar();
|
|
57
|
-
const [styleProps, rest] =
|
|
57
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
58
58
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Text, {
|
|
59
59
|
ref,
|
|
60
60
|
accessibilityElementsHidden: true,
|
|
@@ -78,7 +78,7 @@ var AvatarFallback = _react.forwardRef.call(void 0, function AvatarFallback2({
|
|
|
78
78
|
fallbackStyle,
|
|
79
79
|
icon
|
|
80
80
|
} = useAvatar();
|
|
81
|
-
const [styleProps, rest] =
|
|
81
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
82
82
|
const text = _chunk54FJOKANcjs.childrenToString.call(void 0, children);
|
|
83
83
|
const content = text !== null ? /* @__PURE__ */_jsxruntime.jsx.call(void 0, AvatarInitials, {
|
|
84
84
|
children: text
|
|
@@ -87,7 +87,7 @@ var AvatarFallback = _react.forwardRef.call(void 0, function AvatarFallback2({
|
|
|
87
87
|
ref,
|
|
88
88
|
style: [fallbackStyle, styleProps, style],
|
|
89
89
|
...rest,
|
|
90
|
-
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0,
|
|
90
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkISPOIMGXcjs.IconContext.Provider, {
|
|
91
91
|
value: icon,
|
|
92
92
|
children: content
|
|
93
93
|
})
|
|
@@ -120,7 +120,7 @@ var AvatarImage = _react.forwardRef.call(void 0, function AvatarImage2({
|
|
|
120
120
|
style,
|
|
121
121
|
...props
|
|
122
122
|
}, ref) {
|
|
123
|
-
const [styleProps, rest] =
|
|
123
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
124
124
|
const frameStyle = [avatarSheet.image, styleProps, style];
|
|
125
125
|
if (!animation) return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Image, {
|
|
126
126
|
ref,
|
|
@@ -134,10 +134,10 @@ var AvatarImage = _react.forwardRef.call(void 0, function AvatarImage2({
|
|
|
134
134
|
});
|
|
135
135
|
});
|
|
136
136
|
AvatarImage.displayName = "XAUI.Avatar.Image";
|
|
137
|
-
const
|
|
138
|
-
code: "function
|
|
139
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
140
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
137
|
+
const _worklet_4663083759544_init_data = {
|
|
138
|
+
code: "function chunk2L7FOIWYCjs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
139
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2L7FOIWY.cjs",
|
|
140
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2L7FOIWYCjs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2L7FOIWY.cjs\"],\"mappings\":\"AAoG+E,SAAAA,iBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
|
|
141
141
|
};
|
|
142
142
|
var FadingImage = _react.forwardRef.call(void 0, function FadingImage2({
|
|
143
143
|
onLoad,
|
|
@@ -151,26 +151,26 @@ var FadingImage = _react.forwardRef.call(void 0, function FadingImage2({
|
|
|
151
151
|
});
|
|
152
152
|
_optionalChain([onLoad, 'optionalCall', _ => _(event)]);
|
|
153
153
|
}, [opacity, onLoad]);
|
|
154
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
155
|
-
|
|
154
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk2L7FOIWYCjs1Factory({
|
|
155
|
+
_worklet_4663083759544_init_data,
|
|
156
156
|
opacity
|
|
157
157
|
}) {
|
|
158
158
|
const _e = [new global.Error(), -2, -27];
|
|
159
|
-
const
|
|
159
|
+
const chunk2L7FOIWYCjs1 = function () {
|
|
160
160
|
return {
|
|
161
161
|
opacity: opacity.value
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
|
-
|
|
164
|
+
chunk2L7FOIWYCjs1.__closure = {
|
|
165
165
|
opacity
|
|
166
166
|
};
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
return
|
|
167
|
+
chunk2L7FOIWYCjs1.__workletHash = 4663083759544;
|
|
168
|
+
chunk2L7FOIWYCjs1.__pluginVersion = "0.7.4";
|
|
169
|
+
chunk2L7FOIWYCjs1.__initData = _worklet_4663083759544_init_data;
|
|
170
|
+
chunk2L7FOIWYCjs1.__stackDetails = _e;
|
|
171
|
+
return chunk2L7FOIWYCjs1;
|
|
172
172
|
}({
|
|
173
|
-
|
|
173
|
+
_worklet_4663083759544_init_data,
|
|
174
174
|
opacity
|
|
175
175
|
}), [opacity]);
|
|
176
176
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.Image, {
|
|
@@ -353,7 +353,7 @@ var AvatarRoot = _react.forwardRef.call(void 0, function Avatar({
|
|
|
353
353
|
...props
|
|
354
354
|
}, ref) {
|
|
355
355
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0);
|
|
356
|
-
const [styleProps, rest] =
|
|
356
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
357
357
|
const selection = {
|
|
358
358
|
variant,
|
|
359
359
|
size,
|
|
@@ -6,7 +6,7 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
6
6
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
@@ -67,7 +67,7 @@ var dividerRecipe = _chunkFNEUOBCVcjs.createRecipe.call(void 0, {
|
|
|
67
67
|
var _jsxruntime = require('react/jsx-runtime');
|
|
68
68
|
var Divider = _react.forwardRef.call(void 0, function Divider2({ children, orientation, size, color, asChild = false, style, ...props }, ref) {
|
|
69
69
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
|
|
70
|
-
const [styleProps, rest] =
|
|
70
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
71
71
|
const selection = { orientation, size };
|
|
72
72
|
const styles = dividerRecipe.resolve({ theme, selection });
|
|
73
73
|
const tint = color ? dividerRecipe.tint({ theme, color, selection }) : void 0;
|
|
@@ -37,7 +37,7 @@ function _optionalChain(ops) {
|
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
39
39
|
var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
40
|
-
var
|
|
40
|
+
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
41
41
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
42
42
|
|
|
43
43
|
// src/system/pressable-feedback/pressable-feedback-context.ts
|
|
@@ -49,13 +49,13 @@ var DisableAllContext = _react.createContext.call(void 0, false);
|
|
|
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_15114992479627_init_data = {
|
|
53
|
+
code: "function pressScaleFor_chunk2SCE7TFZCjs1(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-2SCE7TFZ.cjs",
|
|
55
|
+
sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunk2SCE7TFZCjs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2SCE7TFZ.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_chunk2SCE7TFZCjs1Factory({
|
|
58
|
+
_worklet_15114992479627_init_data,
|
|
59
59
|
SCALE_REFERENCE_WIDTH,
|
|
60
60
|
PRESS_SCALE
|
|
61
61
|
}) {
|
|
@@ -68,13 +68,13 @@ const pressScaleFor = function pressScaleFor_chunk6M7RUU7VCjs1Factory({
|
|
|
68
68
|
SCALE_REFERENCE_WIDTH,
|
|
69
69
|
PRESS_SCALE
|
|
70
70
|
};
|
|
71
|
-
pressScaleFor.__workletHash =
|
|
71
|
+
pressScaleFor.__workletHash = 15114992479627;
|
|
72
72
|
pressScaleFor.__pluginVersion = "0.7.4";
|
|
73
|
-
pressScaleFor.__initData =
|
|
73
|
+
pressScaleFor.__initData = _worklet_15114992479627_init_data;
|
|
74
74
|
pressScaleFor.__stackDetails = _e;
|
|
75
75
|
return pressScaleFor;
|
|
76
76
|
}({
|
|
77
|
-
|
|
77
|
+
_worklet_15114992479627_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_490281727600_init_data = {
|
|
91
|
+
code: "function rippleRadiusFor_chunk2SCE7TFZCjs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
|
|
92
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2SCE7TFZ.cjs",
|
|
93
|
+
sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunk2SCE7TFZCjs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2SCE7TFZ.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_chunk2SCE7TFZCjs2Factory({
|
|
96
|
+
_worklet_490281727600_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 = 490281727600;
|
|
104
104
|
rippleRadiusFor.__pluginVersion = "0.7.4";
|
|
105
|
-
rippleRadiusFor.__initData =
|
|
105
|
+
rippleRadiusFor.__initData = _worklet_490281727600_init_data;
|
|
106
106
|
rippleRadiusFor.__stackDetails = _e;
|
|
107
107
|
return rippleRadiusFor;
|
|
108
108
|
}({
|
|
109
|
-
|
|
109
|
+
_worklet_490281727600_init_data
|
|
110
110
|
});
|
|
111
111
|
var ALL_OFF = {
|
|
112
112
|
scale: false,
|
|
@@ -241,7 +241,7 @@ var PressableFeedback = _react.forwardRef.call(void 0, function PressableFeedbac
|
|
|
241
241
|
}, ref) {
|
|
242
242
|
const inheritedDisableAll = _react.useContext.call(void 0, DisableAllContext);
|
|
243
243
|
const resolved = resolveAnimation(animation, inheritedDisableAll);
|
|
244
|
-
const [styleProps, rest] =
|
|
244
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
245
245
|
const Feedback = resolved.none ? StaticFeedback : AnimatedFeedback;
|
|
246
246
|
const body = /* @__PURE__ */_jsxruntime.jsx.call(void 0, Feedback, {
|
|
247
247
|
ref,
|
|
@@ -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_9115258468818_init_data = {
|
|
285
|
+
code: "function chunk2SCE7TFZCjs3(){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-2SCE7TFZ.cjs",
|
|
287
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2SCE7TFZCjs3\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2SCE7TFZ.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 chunk2SCE7TFZCjs3Factory({
|
|
317
|
+
_worklet_9115258468818_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 chunk2SCE7TFZCjs3 = 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
|
+
chunk2SCE7TFZCjs3.__closure = {
|
|
332
332
|
animation,
|
|
333
333
|
pressedScale,
|
|
334
334
|
progress
|
|
335
335
|
};
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
return
|
|
336
|
+
chunk2SCE7TFZCjs3.__workletHash = 9115258468818;
|
|
337
|
+
chunk2SCE7TFZCjs3.__pluginVersion = "0.7.4";
|
|
338
|
+
chunk2SCE7TFZCjs3.__initData = _worklet_9115258468818_init_data;
|
|
339
|
+
chunk2SCE7TFZCjs3.__stackDetails = _e;
|
|
340
|
+
return chunk2SCE7TFZCjs3;
|
|
341
341
|
}({
|
|
342
|
-
|
|
342
|
+
_worklet_9115258468818_init_data,
|
|
343
343
|
animation,
|
|
344
344
|
pressedScale,
|
|
345
345
|
progress
|
|
@@ -456,7 +456,7 @@ function PressableFeedbackHighlight({
|
|
|
456
456
|
ink,
|
|
457
457
|
corners
|
|
458
458
|
} = useFeedback();
|
|
459
|
-
const [styleProps] =
|
|
459
|
+
const [styleProps] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
460
460
|
const settings = resolveSlotAnimation(override, animation.highlight, HIGHLIGHT_OPACITY, HIGHLIGHT_DURATION);
|
|
461
461
|
const base = [_reactnative.StyleSheet.absoluteFillObject, {
|
|
462
462
|
backgroundColor: ink,
|
|
@@ -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_11165654675812_init_data = {
|
|
485
|
+
code: "function chunk2SCE7TFZCjs4(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
|
|
486
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2SCE7TFZ.cjs",
|
|
487
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2SCE7TFZCjs4\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2SCE7TFZ.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 chunk2SCE7TFZCjs4Factory({
|
|
504
|
+
_worklet_11165654675812_init_data,
|
|
505
505
|
shown,
|
|
506
506
|
opacity
|
|
507
507
|
}) {
|
|
508
508
|
const _e = [new global.Error(), -3, -27];
|
|
509
|
-
const
|
|
509
|
+
const chunk2SCE7TFZCjs4 = function () {
|
|
510
510
|
return {
|
|
511
511
|
opacity: shown.value * opacity
|
|
512
512
|
};
|
|
513
513
|
};
|
|
514
|
-
|
|
514
|
+
chunk2SCE7TFZCjs4.__closure = {
|
|
515
515
|
shown,
|
|
516
516
|
opacity
|
|
517
517
|
};
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
return
|
|
518
|
+
chunk2SCE7TFZCjs4.__workletHash = 11165654675812;
|
|
519
|
+
chunk2SCE7TFZCjs4.__pluginVersion = "0.7.4";
|
|
520
|
+
chunk2SCE7TFZCjs4.__initData = _worklet_11165654675812_init_data;
|
|
521
|
+
chunk2SCE7TFZCjs4.__stackDetails = _e;
|
|
522
|
+
return chunk2SCE7TFZCjs4;
|
|
523
523
|
}({
|
|
524
|
-
|
|
524
|
+
_worklet_11165654675812_init_data,
|
|
525
525
|
shown,
|
|
526
526
|
opacity
|
|
527
527
|
}), [shown, opacity]);
|
|
@@ -544,7 +544,7 @@ function PressableFeedbackRipple({
|
|
|
544
544
|
ink,
|
|
545
545
|
corners
|
|
546
546
|
} = useFeedback();
|
|
547
|
-
const [styleProps] =
|
|
547
|
+
const [styleProps] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
548
548
|
const waveStyle = [styleProps, style];
|
|
549
549
|
const settings = resolveSlotAnimation(override, animation.ripple, RIPPLE_OPACITY);
|
|
550
550
|
const [size, setSize] = _react.useState.call(void 0, {
|
|
@@ -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_1103682389833_init_data = {
|
|
589
|
+
code: "function chunk2SCE7TFZCjs5(){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-2SCE7TFZ.cjs",
|
|
591
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2SCE7TFZCjs5\",\"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-2SCE7TFZ.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 chunk2SCE7TFZCjs5Factory({
|
|
602
|
+
_worklet_1103682389833_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 chunk2SCE7TFZCjs5 = 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
|
+
chunk2SCE7TFZCjs5.__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
|
+
chunk2SCE7TFZCjs5.__workletHash = 1103682389833;
|
|
636
|
+
chunk2SCE7TFZCjs5.__pluginVersion = "0.7.4";
|
|
637
|
+
chunk2SCE7TFZCjs5.__initData = _worklet_1103682389833_init_data;
|
|
638
|
+
chunk2SCE7TFZCjs5.__stackDetails = _e;
|
|
639
|
+
return chunk2SCE7TFZCjs5;
|
|
640
640
|
}({
|
|
641
|
-
|
|
641
|
+
_worklet_1103682389833_init_data,
|
|
642
642
|
wave,
|
|
643
643
|
RIPPLE_START_SCALE,
|
|
644
644
|
center,
|