@xaui/native 0.9.1-alpha.18 → 0.9.1-alpha.19
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-M2VYRHVS.cjs → chunk-2WMVDMFV.cjs} +2 -2
- package/dist/{chunk-MBLPPOSO.js → chunk-4EPS7UBO.js} +18 -17
- package/dist/{chunk-6N5JXRUZ.cjs → chunk-57SJ4LJF.cjs} +2 -20
- package/dist/{chunk-ODH5WAVM.cjs → chunk-6ARON3XT.cjs} +27 -26
- package/dist/{chunk-XJARE6SC.js → chunk-A3EGFI6T.js} +0 -18
- package/dist/{chunk-P5MKOLIW.cjs → chunk-A4VD4MHK.cjs} +73 -73
- package/dist/chunk-BFB6K4M7.cjs +31 -0
- package/dist/{chunk-BHAHJHAI.cjs → chunk-BHTFIZTQ.cjs} +34 -32
- package/dist/{chunk-5SU7FXWH.cjs → chunk-EVXZGNPA.cjs} +3 -148
- package/dist/{chunk-4K3LZS7M.js → chunk-EXX6ATAS.js} +2 -147
- package/dist/chunk-GGW42MY4.js +20 -0
- package/dist/chunk-MAYVGK6W.js +31 -0
- package/dist/chunk-MC7SY2QH.cjs +20 -0
- package/dist/{chunk-XQE5PXOD.js → chunk-MWXE7D4L.js} +4 -2
- package/dist/chunk-N7C4UNUL.js +150 -0
- package/dist/{chunk-6PZF4PI7.js → chunk-RMLFMRWL.js} +5 -3
- package/dist/{chunk-6VTBGBPP.cjs → chunk-UBA6AEY6.cjs} +10 -8
- package/dist/chunk-UVO4GFSW.cjs +150 -0
- package/dist/{chunk-VQPP6FCB.js → chunk-WXAME7KB.js} +76 -76
- package/dist/{chunk-L3AQNVRN.js → chunk-XHZBXYVU.js} +1 -1
- package/dist/components/button/index.cjs +7 -5
- package/dist/components/button/index.d.cts +3 -2
- package/dist/components/button/index.d.ts +3 -2
- package/dist/components/button/index.js +6 -4
- package/dist/components/typography/index.cjs +6 -4
- package/dist/components/typography/index.d.cts +2 -1
- package/dist/components/typography/index.d.ts +2 -1
- package/dist/components/typography/index.js +5 -3
- package/dist/components/view/index.cjs +10 -0
- package/dist/components/view/index.d.cts +77 -0
- package/dist/components/view/index.d.ts +77 -0
- package/dist/components/view/index.js +10 -0
- package/dist/{create-recipe-3_ElpCYt.d.cts → create-recipe-C0XXjuow.d.cts} +2 -30
- package/dist/{create-recipe-DImq1AZA.d.ts → create-recipe-CPXFo2rk.d.ts} +2 -30
- package/dist/index.cjs +19 -10
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +17 -8
- package/dist/{pressable-feedback.type-UwqIG6ES.d.ts → pressable-feedback.type-1K8YEOb8.d.cts} +1 -1
- package/dist/{pressable-feedback.type-lgW5wQx5.d.cts → pressable-feedback.type-BwkKLQlX.d.ts} +1 -1
- package/dist/style-props.type-B1BG5TCm.d.cts +31 -0
- package/dist/style-props.type-B1BG5TCm.d.ts +31 -0
- package/dist/system/index.cjs +8 -5
- package/dist/system/index.d.cts +5 -4
- package/dist/system/index.d.ts +5 -4
- package/dist/system/index.js +8 -5
- package/dist/theme/index.cjs +4 -3
- package/dist/theme/index.js +3 -2
- package/package.json +11 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
|
|
4
4
|
|
|
5
5
|
// src/system/portal/portal.tsx
|
|
6
6
|
var _react = require('react');
|
|
@@ -31,7 +31,7 @@ var styles = _reactnative.StyleSheet.create({
|
|
|
31
31
|
container: { flex: 1 }
|
|
32
32
|
});
|
|
33
33
|
function PortalHost({ children, ...props }) {
|
|
34
|
-
const [styleProps] =
|
|
34
|
+
const [styleProps] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
|
|
35
35
|
const [portals, setPortals] = _react.useState.call(void 0, /* @__PURE__ */ new Map());
|
|
36
36
|
const addPortal = _react.useCallback.call(void 0, (key, element) => {
|
|
37
37
|
setPortals((current) => new Map(current).set(key, element));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Icon, PressableFeedback } from "./chunk-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Icon, PressableFeedback } from "./chunk-WXAME7KB.js";
|
|
2
|
+
import { createRecipe } from "./chunk-N7C4UNUL.js";
|
|
3
|
+
import { childrenToString, createSlotContext, useStyleProps } from "./chunk-EXX6ATAS.js";
|
|
4
|
+
import { useXAUITheme } from "./chunk-A3EGFI6T.js";
|
|
4
5
|
|
|
5
6
|
// src/components/button/button.context.ts
|
|
6
7
|
var [ButtonProvider, useButton] = createSlotContext("Button");
|
|
@@ -71,10 +72,10 @@ function ButtonSpinner({
|
|
|
71
72
|
});
|
|
72
73
|
}
|
|
73
74
|
ButtonSpinner.displayName = "XAUI.Button.Spinner";
|
|
74
|
-
const
|
|
75
|
-
code: "function
|
|
76
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
77
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
75
|
+
const _worklet_8562276324058_init_data = {
|
|
76
|
+
code: "function chunk4EPS7UBOJs1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
|
|
77
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-4EPS7UBO.js",
|
|
78
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk4EPS7UBOJs1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-4EPS7UBO.js\"],\"mappings\":\"AA8EyC,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE3C,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
|
|
78
79
|
};
|
|
79
80
|
function SpinningRing({
|
|
80
81
|
style
|
|
@@ -87,28 +88,28 @@ function SpinningRing({
|
|
|
87
88
|
}), -1, false);
|
|
88
89
|
return () => cancelAnimation(angle);
|
|
89
90
|
}, [angle]);
|
|
90
|
-
const animatedStyle = useAnimatedStyle(function
|
|
91
|
-
|
|
91
|
+
const animatedStyle = useAnimatedStyle(function chunk4EPS7UBOJs1Factory({
|
|
92
|
+
_worklet_8562276324058_init_data,
|
|
92
93
|
angle
|
|
93
94
|
}) {
|
|
94
95
|
const _e = [new global.Error(), -2, -27];
|
|
95
|
-
const
|
|
96
|
+
const chunk4EPS7UBOJs1 = function () {
|
|
96
97
|
return {
|
|
97
98
|
transform: [{
|
|
98
99
|
rotate: `${angle.value}deg`
|
|
99
100
|
}]
|
|
100
101
|
};
|
|
101
102
|
};
|
|
102
|
-
|
|
103
|
+
chunk4EPS7UBOJs1.__closure = {
|
|
103
104
|
angle
|
|
104
105
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
return
|
|
106
|
+
chunk4EPS7UBOJs1.__workletHash = 8562276324058;
|
|
107
|
+
chunk4EPS7UBOJs1.__pluginVersion = "0.7.4";
|
|
108
|
+
chunk4EPS7UBOJs1.__initData = _worklet_8562276324058_init_data;
|
|
109
|
+
chunk4EPS7UBOJs1.__stackDetails = _e;
|
|
110
|
+
return chunk4EPS7UBOJs1;
|
|
110
111
|
}({
|
|
111
|
-
|
|
112
|
+
_worklet_8562276324058_init_data,
|
|
112
113
|
angle
|
|
113
114
|
}), [angle]);
|
|
114
115
|
return /* @__PURE__ */jsx3(Animated.View, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/theme/theme-context.ts
|
|
2
2
|
var _react = require('react');
|
|
3
3
|
var ThemeContext = _react.createContext.call(void 0, null);
|
|
4
4
|
|
|
@@ -117,24 +117,6 @@ function deriveTint(tint, theme) {
|
|
|
117
117
|
return derived;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
// src/utils/stable-hash.ts
|
|
121
|
-
function canonical(value) {
|
|
122
|
-
if (value === null || typeof value !== "object") return _nullishCoalesce(JSON.stringify(value), () => ( "null"));
|
|
123
|
-
if (Array.isArray(value)) return `[${value.map(canonical).join(",")}]`;
|
|
124
|
-
const entries = Object.entries(value).filter(([, v]) => typeof v !== "function").sort(([a], [b]) => a < b ? -1 : 1).map(([k, v]) => `${JSON.stringify(k)}:${canonical(v)}`);
|
|
125
|
-
return `{${entries.join(",")}}`;
|
|
126
|
-
}
|
|
127
|
-
function stableHash(value) {
|
|
128
|
-
const input = canonical(value);
|
|
129
|
-
let hash = 2166136261;
|
|
130
|
-
for (let i = 0; i < input.length; i++) {
|
|
131
|
-
hash ^= input.charCodeAt(i);
|
|
132
|
-
hash = Math.imul(hash, 16777619) >>> 0;
|
|
133
|
-
}
|
|
134
|
-
return hash.toString(36);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
120
|
|
|
139
121
|
|
|
140
122
|
|
|
@@ -145,4 +127,4 @@ function stableHash(value) {
|
|
|
145
127
|
|
|
146
128
|
|
|
147
129
|
|
|
148
|
-
exports.ThemeContext = ThemeContext; exports.useXAUITheme = useXAUITheme; exports.useColorMode = useColorMode; exports.useThemeColor = useThemeColor; exports.
|
|
130
|
+
exports.ThemeContext = ThemeContext; exports.useXAUITheme = useXAUITheme; exports.useColorMode = useColorMode; exports.useThemeColor = useThemeColor; exports.isHex = isHex; exports.mix = mix; exports.alpha = alpha; exports.contrastOn = contrastOn; exports.deriveTint = deriveTint;
|
|
@@ -36,12 +36,13 @@ function _optionalChain(ops) {
|
|
|
36
36
|
}
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
39
|
+
var _chunkA4VD4MHKcjs = require('./chunk-A4VD4MHK.cjs');
|
|
40
|
+
var _chunkUVO4GFSWcjs = require('./chunk-UVO4GFSW.cjs');
|
|
41
|
+
var _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
|
|
42
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
42
43
|
|
|
43
44
|
// src/components/button/button.context.ts
|
|
44
|
-
var [ButtonProvider, useButton] =
|
|
45
|
+
var [ButtonProvider, useButton] = _chunkEVXZGNPAcjs.createSlotContext.call(void 0, "Button");
|
|
45
46
|
|
|
46
47
|
// src/components/button/button-icon.tsx
|
|
47
48
|
var _jsxruntime = require('react/jsx-runtime');
|
|
@@ -53,7 +54,7 @@ function ButtonIcon({
|
|
|
53
54
|
const {
|
|
54
55
|
icon
|
|
55
56
|
} = useButton();
|
|
56
|
-
return /* @__PURE__ */_jsxruntime.jsx.call(void 0,
|
|
57
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkA4VD4MHKcjs.Icon, {
|
|
57
58
|
size: _nullishCoalesce(size, () => icon.size),
|
|
58
59
|
color: _nullishCoalesce(color, () => icon.color),
|
|
59
60
|
...rest
|
|
@@ -73,7 +74,7 @@ var ButtonLabel = _react.forwardRef.call(void 0, function ButtonLabel2({
|
|
|
73
74
|
const {
|
|
74
75
|
labelStyle
|
|
75
76
|
} = useButton();
|
|
76
|
-
const [styleProps, rest] =
|
|
77
|
+
const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
|
|
77
78
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Text, {
|
|
78
79
|
ref,
|
|
79
80
|
numberOfLines,
|
|
@@ -97,7 +98,7 @@ function ButtonSpinner({
|
|
|
97
98
|
const {
|
|
98
99
|
spinnerStyle
|
|
99
100
|
} = useButton();
|
|
100
|
-
const [styleProps] =
|
|
101
|
+
const [styleProps] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
|
|
101
102
|
const ringStyle = [spinnerStyle, styleProps, style];
|
|
102
103
|
if (!animation) return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.View, {
|
|
103
104
|
style: ringStyle
|
|
@@ -107,10 +108,10 @@ function ButtonSpinner({
|
|
|
107
108
|
});
|
|
108
109
|
}
|
|
109
110
|
ButtonSpinner.displayName = "XAUI.Button.Spinner";
|
|
110
|
-
const
|
|
111
|
-
code: "function
|
|
112
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
113
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
111
|
+
const _worklet_17206274885279_init_data = {
|
|
112
|
+
code: "function chunk6ARON3XTCjs1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
|
|
113
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6ARON3XT.cjs",
|
|
114
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk6ARON3XTCjs1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-6ARON3XT.cjs\"],\"mappings\":\"AA8E6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE/E,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
|
|
114
115
|
};
|
|
115
116
|
function SpinningRing({
|
|
116
117
|
style
|
|
@@ -123,28 +124,28 @@ function SpinningRing({
|
|
|
123
124
|
}), -1, false);
|
|
124
125
|
return () => _reactnativereanimated.cancelAnimation.call(void 0, angle);
|
|
125
126
|
}, [angle]);
|
|
126
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
127
|
-
|
|
127
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk6ARON3XTCjs1Factory({
|
|
128
|
+
_worklet_17206274885279_init_data,
|
|
128
129
|
angle
|
|
129
130
|
}) {
|
|
130
131
|
const _e = [new global.Error(), -2, -27];
|
|
131
|
-
const
|
|
132
|
+
const chunk6ARON3XTCjs1 = function () {
|
|
132
133
|
return {
|
|
133
134
|
transform: [{
|
|
134
135
|
rotate: `${angle.value}deg`
|
|
135
136
|
}]
|
|
136
137
|
};
|
|
137
138
|
};
|
|
138
|
-
|
|
139
|
+
chunk6ARON3XTCjs1.__closure = {
|
|
139
140
|
angle
|
|
140
141
|
};
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
return
|
|
142
|
+
chunk6ARON3XTCjs1.__workletHash = 17206274885279;
|
|
143
|
+
chunk6ARON3XTCjs1.__pluginVersion = "0.7.4";
|
|
144
|
+
chunk6ARON3XTCjs1.__initData = _worklet_17206274885279_init_data;
|
|
145
|
+
chunk6ARON3XTCjs1.__stackDetails = _e;
|
|
146
|
+
return chunk6ARON3XTCjs1;
|
|
146
147
|
}({
|
|
147
|
-
|
|
148
|
+
_worklet_17206274885279_init_data,
|
|
148
149
|
angle
|
|
149
150
|
}), [angle]);
|
|
150
151
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, {
|
|
@@ -255,7 +256,7 @@ function sizeAxis(step) {
|
|
|
255
256
|
spinner: ring(theme, theme.fontSizes[glyph])
|
|
256
257
|
});
|
|
257
258
|
}
|
|
258
|
-
var buttonRecipe =
|
|
259
|
+
var buttonRecipe = _chunkUVO4GFSWcjs.createRecipe.call(void 0, {
|
|
259
260
|
slots: SLOTS,
|
|
260
261
|
base: theme => ({
|
|
261
262
|
root: {
|
|
@@ -443,8 +444,8 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
|
|
|
443
444
|
onPressOut,
|
|
444
445
|
...props
|
|
445
446
|
}, ref) {
|
|
446
|
-
const theme =
|
|
447
|
-
const [styleProps, rest] =
|
|
447
|
+
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0);
|
|
448
|
+
const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
|
|
448
449
|
const [isPressed, press] = usePressState({
|
|
449
450
|
onPressIn,
|
|
450
451
|
onPressOut
|
|
@@ -488,14 +489,14 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
|
|
|
488
489
|
const rootStyle = [styles.root, _optionalChain([tint, 'optionalAccess', _8 => _8.root]), styleProps, typeof style === "function" ? style({
|
|
489
490
|
pressed: isPressed
|
|
490
491
|
}) : style];
|
|
491
|
-
const text =
|
|
492
|
+
const text = _chunkEVXZGNPAcjs.childrenToString.call(void 0, children);
|
|
492
493
|
const showSpinner = isLoading && !containsElementOfType(children, ButtonSpinner);
|
|
493
494
|
if (isIconOnly && !rest.accessibilityLabel && !rest["aria-label"]) {
|
|
494
495
|
warnDev("Button: an icon-only button needs an `accessibilityLabel` \u2014 there is no text for a screen reader to read, so it announces as an unlabelled button.");
|
|
495
496
|
}
|
|
496
497
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, ButtonProvider, {
|
|
497
498
|
value: context,
|
|
498
|
-
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0,
|
|
499
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkA4VD4MHKcjs.PressableFeedback, {
|
|
499
500
|
ref,
|
|
500
501
|
isPressed,
|
|
501
502
|
isDisabled: isDisabled || isLoading,
|
|
@@ -117,29 +117,11 @@ function deriveTint(tint, theme) {
|
|
|
117
117
|
return derived;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
// src/utils/stable-hash.ts
|
|
121
|
-
function canonical(value) {
|
|
122
|
-
if (value === null || typeof value !== "object") return JSON.stringify(value) ?? "null";
|
|
123
|
-
if (Array.isArray(value)) return `[${value.map(canonical).join(",")}]`;
|
|
124
|
-
const entries = Object.entries(value).filter(([, v]) => typeof v !== "function").sort(([a], [b]) => a < b ? -1 : 1).map(([k, v]) => `${JSON.stringify(k)}:${canonical(v)}`);
|
|
125
|
-
return `{${entries.join(",")}}`;
|
|
126
|
-
}
|
|
127
|
-
function stableHash(value) {
|
|
128
|
-
const input = canonical(value);
|
|
129
|
-
let hash = 2166136261;
|
|
130
|
-
for (let i = 0; i < input.length; i++) {
|
|
131
|
-
hash ^= input.charCodeAt(i);
|
|
132
|
-
hash = Math.imul(hash, 16777619) >>> 0;
|
|
133
|
-
}
|
|
134
|
-
return hash.toString(36);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
120
|
export {
|
|
138
121
|
ThemeContext,
|
|
139
122
|
useXAUITheme,
|
|
140
123
|
useColorMode,
|
|
141
124
|
useThemeColor,
|
|
142
|
-
stableHash,
|
|
143
125
|
isHex,
|
|
144
126
|
mix,
|
|
145
127
|
alpha,
|
|
@@ -36,8 +36,8 @@ function _optionalChain(ops) {
|
|
|
36
36
|
}
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
39
|
-
var
|
|
40
|
-
var
|
|
39
|
+
var _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
|
|
40
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
41
41
|
|
|
42
42
|
// src/system/icon/icon-context.ts
|
|
43
43
|
var _react = require('react');
|
|
@@ -53,7 +53,7 @@ var _reactnative = require('react-native');
|
|
|
53
53
|
var _jsxruntime = require('react/jsx-runtime');
|
|
54
54
|
function Icon(props) {
|
|
55
55
|
const inherited = useIconContext();
|
|
56
|
-
const theme =
|
|
56
|
+
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0);
|
|
57
57
|
const size = _nullishCoalesce(_nullishCoalesce(props.size, () => inherited.size), () => theme.fontSizes.md);
|
|
58
58
|
const color = _nullishCoalesce(_nullishCoalesce(props.color, () => inherited.color), () => theme.colors.foreground);
|
|
59
59
|
if (props.as) {
|
|
@@ -88,7 +88,7 @@ function IconImage({
|
|
|
88
88
|
color: _color,
|
|
89
89
|
...props
|
|
90
90
|
}) {
|
|
91
|
-
const [styleProps] =
|
|
91
|
+
const [styleProps] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
|
|
92
92
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Image, {
|
|
93
93
|
source,
|
|
94
94
|
style: [{
|
|
@@ -101,20 +101,20 @@ function IconImage({
|
|
|
101
101
|
|
|
102
102
|
// src/system/pressable-feedback/pressable-feedback-context.ts
|
|
103
103
|
|
|
104
|
-
var [FeedbackProvider, useFeedback] =
|
|
104
|
+
var [FeedbackProvider, useFeedback] = _chunkEVXZGNPAcjs.createSlotContext.call(void 0, "PressableFeedback");
|
|
105
105
|
var DisableAllContext = _react.createContext.call(void 0, false);
|
|
106
106
|
|
|
107
107
|
// src/system/pressable-feedback/pressable-feedback.animation.ts
|
|
108
108
|
var PRESS_SCALE = 0.985;
|
|
109
109
|
var PRESS_DURATION = 300;
|
|
110
110
|
var SCALE_REFERENCE_WIDTH = 300;
|
|
111
|
-
const
|
|
112
|
-
code: "function
|
|
113
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
114
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
111
|
+
const _worklet_4514115383310_init_data = {
|
|
112
|
+
code: "function pressScaleFor_chunkA4VD4MHKCjs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
|
|
113
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-A4VD4MHK.cjs",
|
|
114
|
+
sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkA4VD4MHKCjs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-A4VD4MHK.cjs\"],\"mappings\":\"AA4EA,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\":[]}"
|
|
115
115
|
};
|
|
116
|
-
const pressScaleFor = function
|
|
117
|
-
|
|
116
|
+
const pressScaleFor = function pressScaleFor_chunkA4VD4MHKCjs1Factory({
|
|
117
|
+
_worklet_4514115383310_init_data,
|
|
118
118
|
SCALE_REFERENCE_WIDTH,
|
|
119
119
|
PRESS_SCALE
|
|
120
120
|
}) {
|
|
@@ -127,13 +127,13 @@ const pressScaleFor = function pressScaleFor_chunkP5MKOLIWCjs1Factory({
|
|
|
127
127
|
SCALE_REFERENCE_WIDTH,
|
|
128
128
|
PRESS_SCALE
|
|
129
129
|
};
|
|
130
|
-
pressScaleFor.__workletHash =
|
|
130
|
+
pressScaleFor.__workletHash = 4514115383310;
|
|
131
131
|
pressScaleFor.__pluginVersion = "0.7.4";
|
|
132
|
-
pressScaleFor.__initData =
|
|
132
|
+
pressScaleFor.__initData = _worklet_4514115383310_init_data;
|
|
133
133
|
pressScaleFor.__stackDetails = _e;
|
|
134
134
|
return pressScaleFor;
|
|
135
135
|
}({
|
|
136
|
-
|
|
136
|
+
_worklet_4514115383310_init_data,
|
|
137
137
|
SCALE_REFERENCE_WIDTH,
|
|
138
138
|
PRESS_SCALE
|
|
139
139
|
});
|
|
@@ -146,26 +146,26 @@ var RIPPLE_CONFIRM_DURATION = 225;
|
|
|
146
146
|
var RIPPLE_FADE_IN = 75;
|
|
147
147
|
var RIPPLE_FADE_OUT_DELAY = 225;
|
|
148
148
|
var RIPPLE_FADE_OUT = 150;
|
|
149
|
-
const
|
|
150
|
-
code: "function
|
|
151
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
152
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
149
|
+
const _worklet_6866525022261_init_data = {
|
|
150
|
+
code: "function rippleRadiusFor_chunkA4VD4MHKCjs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
|
|
151
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-A4VD4MHK.cjs",
|
|
152
|
+
sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkA4VD4MHKCjs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-A4VD4MHK.cjs\"],\"mappings\":\"AA0FA,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\":[]}"
|
|
153
153
|
};
|
|
154
|
-
const rippleRadiusFor = function
|
|
155
|
-
|
|
154
|
+
const rippleRadiusFor = function rippleRadiusFor_chunkA4VD4MHKCjs2Factory({
|
|
155
|
+
_worklet_6866525022261_init_data
|
|
156
156
|
}) {
|
|
157
157
|
const _e = [new global.Error(), 1, -27];
|
|
158
158
|
const rippleRadiusFor = function (width, height) {
|
|
159
159
|
return Math.sqrt(width * width + height * height) / 2 + 5;
|
|
160
160
|
};
|
|
161
161
|
rippleRadiusFor.__closure = {};
|
|
162
|
-
rippleRadiusFor.__workletHash =
|
|
162
|
+
rippleRadiusFor.__workletHash = 6866525022261;
|
|
163
163
|
rippleRadiusFor.__pluginVersion = "0.7.4";
|
|
164
|
-
rippleRadiusFor.__initData =
|
|
164
|
+
rippleRadiusFor.__initData = _worklet_6866525022261_init_data;
|
|
165
165
|
rippleRadiusFor.__stackDetails = _e;
|
|
166
166
|
return rippleRadiusFor;
|
|
167
167
|
}({
|
|
168
|
-
|
|
168
|
+
_worklet_6866525022261_init_data
|
|
169
169
|
});
|
|
170
170
|
var ALL_OFF = {
|
|
171
171
|
scale: false,
|
|
@@ -274,8 +274,8 @@ var _reactnativereanimated2 = _interopRequireDefault(_reactnativereanimated);
|
|
|
274
274
|
|
|
275
275
|
// src/system/pressable-feedback/pressable-feedback.surface.ts
|
|
276
276
|
function inkFor(background, colors) {
|
|
277
|
-
if (typeof background !== "string" || !
|
|
278
|
-
return
|
|
277
|
+
if (typeof background !== "string" || !_chunk57SJ4LJFcjs.isHex.call(void 0, background)) return colors.foreground;
|
|
278
|
+
return _chunk57SJ4LJFcjs.contrastOn.call(void 0, background, colors.snow, colors.eclipse);
|
|
279
279
|
}
|
|
280
280
|
var RADIUS_KEYS = ["borderRadius", "borderStartStartRadius", "borderStartEndRadius", "borderEndStartRadius", "borderEndEndRadius"];
|
|
281
281
|
function radiusFrom(style) {
|
|
@@ -291,7 +291,7 @@ function radiusFrom(style) {
|
|
|
291
291
|
// src/system/pressable-feedback/pressable-feedback.tsx
|
|
292
292
|
|
|
293
293
|
var AnimatedPressable = _reactnativereanimated2.default.createAnimatedComponent(_reactnative.Pressable);
|
|
294
|
-
var AnimatedSlot = _reactnativereanimated2.default.createAnimatedComponent(
|
|
294
|
+
var AnimatedSlot = _reactnativereanimated2.default.createAnimatedComponent(_chunkEVXZGNPAcjs.Slot);
|
|
295
295
|
var PressableFeedback = _react.forwardRef.call(void 0, function PressableFeedback2({
|
|
296
296
|
animation,
|
|
297
297
|
style,
|
|
@@ -299,7 +299,7 @@ var PressableFeedback = _react.forwardRef.call(void 0, function PressableFeedbac
|
|
|
299
299
|
}, ref) {
|
|
300
300
|
const inheritedDisableAll = _react.useContext.call(void 0, DisableAllContext);
|
|
301
301
|
const resolved = resolveAnimation(animation, inheritedDisableAll);
|
|
302
|
-
const [styleProps, rest] =
|
|
302
|
+
const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
|
|
303
303
|
const Feedback = resolved.none ? StaticFeedback : AnimatedFeedback;
|
|
304
304
|
const body = /* @__PURE__ */_jsxruntime.jsx.call(void 0, Feedback, {
|
|
305
305
|
ref,
|
|
@@ -327,7 +327,7 @@ var StaticFeedback = _react.forwardRef.call(void 0, function StaticFeedback2({
|
|
|
327
327
|
animation,
|
|
328
328
|
...surface
|
|
329
329
|
}), [isPressed, animation, surface]);
|
|
330
|
-
const Root = asChild ?
|
|
330
|
+
const Root = asChild ? _chunkEVXZGNPAcjs.Slot : _reactnative.Pressable;
|
|
331
331
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, FeedbackProvider, {
|
|
332
332
|
value: context,
|
|
333
333
|
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, Root, {
|
|
@@ -339,10 +339,10 @@ var StaticFeedback = _react.forwardRef.call(void 0, function StaticFeedback2({
|
|
|
339
339
|
})
|
|
340
340
|
});
|
|
341
341
|
});
|
|
342
|
-
const
|
|
343
|
-
code: "function
|
|
344
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
345
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
342
|
+
const _worklet_10224860224599_init_data = {
|
|
343
|
+
code: "function chunkA4VD4MHKCjs3(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
|
|
344
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-A4VD4MHK.cjs",
|
|
345
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkA4VD4MHKCjs3\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-A4VD4MHK.cjs\"],\"mappings\":\"AAyQ6E,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\":[]}"
|
|
346
346
|
};
|
|
347
347
|
var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2({
|
|
348
348
|
isPressed = false,
|
|
@@ -371,14 +371,14 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
|
|
|
371
371
|
});
|
|
372
372
|
}, [isPressed, progress]);
|
|
373
373
|
const pressedScale = _reactnativereanimated.useDerivedValue.call(void 0, () => pressScaleFor(size.value.width));
|
|
374
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
375
|
-
|
|
374
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkA4VD4MHKCjs3Factory({
|
|
375
|
+
_worklet_10224860224599_init_data,
|
|
376
376
|
animation,
|
|
377
377
|
pressedScale,
|
|
378
378
|
progress
|
|
379
379
|
}) {
|
|
380
380
|
const _e = [new global.Error(), -4, -27];
|
|
381
|
-
const
|
|
381
|
+
const chunkA4VD4MHKCjs3 = function () {
|
|
382
382
|
if (!animation.scale) return {};
|
|
383
383
|
return {
|
|
384
384
|
transform: [{
|
|
@@ -386,18 +386,18 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
|
|
|
386
386
|
}]
|
|
387
387
|
};
|
|
388
388
|
};
|
|
389
|
-
|
|
389
|
+
chunkA4VD4MHKCjs3.__closure = {
|
|
390
390
|
animation,
|
|
391
391
|
pressedScale,
|
|
392
392
|
progress
|
|
393
393
|
};
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
return
|
|
394
|
+
chunkA4VD4MHKCjs3.__workletHash = 10224860224599;
|
|
395
|
+
chunkA4VD4MHKCjs3.__pluginVersion = "0.7.4";
|
|
396
|
+
chunkA4VD4MHKCjs3.__initData = _worklet_10224860224599_init_data;
|
|
397
|
+
chunkA4VD4MHKCjs3.__stackDetails = _e;
|
|
398
|
+
return chunkA4VD4MHKCjs3;
|
|
399
399
|
}({
|
|
400
|
-
|
|
400
|
+
_worklet_10224860224599_init_data,
|
|
401
401
|
animation,
|
|
402
402
|
pressedScale,
|
|
403
403
|
progress
|
|
@@ -489,7 +489,7 @@ function useWave() {
|
|
|
489
489
|
};
|
|
490
490
|
}
|
|
491
491
|
function useSurface(style) {
|
|
492
|
-
const theme =
|
|
492
|
+
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0);
|
|
493
493
|
return _react.useMemo.call(void 0, () => {
|
|
494
494
|
const flat = _reactnative.StyleSheet.flatten(style);
|
|
495
495
|
return {
|
|
@@ -514,7 +514,7 @@ function PressableFeedbackHighlight({
|
|
|
514
514
|
ink,
|
|
515
515
|
corners
|
|
516
516
|
} = useFeedback();
|
|
517
|
-
const [styleProps] =
|
|
517
|
+
const [styleProps] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
|
|
518
518
|
const settings = resolveSlotAnimation(override, animation.highlight, HIGHLIGHT_OPACITY, HIGHLIGHT_DURATION);
|
|
519
519
|
const base = [_reactnative.StyleSheet.absoluteFillObject, {
|
|
520
520
|
backgroundColor: ink,
|
|
@@ -539,10 +539,10 @@ function PressableFeedbackHighlight({
|
|
|
539
539
|
}
|
|
540
540
|
PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
|
|
541
541
|
markOverlay(PressableFeedbackHighlight);
|
|
542
|
-
const
|
|
543
|
-
code: "function
|
|
544
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
545
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
542
|
+
const _worklet_15152704224865_init_data = {
|
|
543
|
+
code: "function chunkA4VD4MHKCjs4(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
|
|
544
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-A4VD4MHK.cjs",
|
|
545
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkA4VD4MHKCjs4\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-A4VD4MHK.cjs\"],\"mappings\":\"AAuZ6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
|
|
546
546
|
};
|
|
547
547
|
function AnimatedHighlight({
|
|
548
548
|
base,
|
|
@@ -558,28 +558,28 @@ function AnimatedHighlight({
|
|
|
558
558
|
duration
|
|
559
559
|
});
|
|
560
560
|
}, [isPressed, shown, duration]);
|
|
561
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
562
|
-
|
|
561
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkA4VD4MHKCjs4Factory({
|
|
562
|
+
_worklet_15152704224865_init_data,
|
|
563
563
|
shown,
|
|
564
564
|
opacity
|
|
565
565
|
}) {
|
|
566
566
|
const _e = [new global.Error(), -3, -27];
|
|
567
|
-
const
|
|
567
|
+
const chunkA4VD4MHKCjs4 = function () {
|
|
568
568
|
return {
|
|
569
569
|
opacity: shown.value * opacity
|
|
570
570
|
};
|
|
571
571
|
};
|
|
572
|
-
|
|
572
|
+
chunkA4VD4MHKCjs4.__closure = {
|
|
573
573
|
shown,
|
|
574
574
|
opacity
|
|
575
575
|
};
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
return
|
|
576
|
+
chunkA4VD4MHKCjs4.__workletHash = 15152704224865;
|
|
577
|
+
chunkA4VD4MHKCjs4.__pluginVersion = "0.7.4";
|
|
578
|
+
chunkA4VD4MHKCjs4.__initData = _worklet_15152704224865_init_data;
|
|
579
|
+
chunkA4VD4MHKCjs4.__stackDetails = _e;
|
|
580
|
+
return chunkA4VD4MHKCjs4;
|
|
581
581
|
}({
|
|
582
|
-
|
|
582
|
+
_worklet_15152704224865_init_data,
|
|
583
583
|
shown,
|
|
584
584
|
opacity
|
|
585
585
|
}), [shown, opacity]);
|
|
@@ -602,7 +602,7 @@ function PressableFeedbackRipple({
|
|
|
602
602
|
ink,
|
|
603
603
|
corners
|
|
604
604
|
} = useFeedback();
|
|
605
|
-
const [styleProps] =
|
|
605
|
+
const [styleProps] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
|
|
606
606
|
const waveStyle = [styleProps, style];
|
|
607
607
|
const settings = resolveSlotAnimation(override, animation.ripple, RIPPLE_OPACITY);
|
|
608
608
|
const [size, setSize] = _react.useState.call(void 0, {
|
|
@@ -643,10 +643,10 @@ function PressableFeedbackRipple({
|
|
|
643
643
|
}
|
|
644
644
|
PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
|
|
645
645
|
markOverlay(PressableFeedbackRipple);
|
|
646
|
-
const
|
|
647
|
-
code: "function
|
|
648
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
649
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
646
|
+
const _worklet_16545336462220_init_data = {
|
|
647
|
+
code: "function chunkA4VD4MHKCjs5(){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}]};}",
|
|
648
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-A4VD4MHK.cjs",
|
|
649
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkA4VD4MHKCjs5\",\"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-A4VD4MHK.cjs\"],\"mappings\":\"AAud6E,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\":[]}"
|
|
650
650
|
};
|
|
651
651
|
function RippleWave({
|
|
652
652
|
wave,
|
|
@@ -656,8 +656,8 @@ function RippleWave({
|
|
|
656
656
|
opacity,
|
|
657
657
|
style
|
|
658
658
|
}) {
|
|
659
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
660
|
-
|
|
659
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkA4VD4MHKCjs5Factory({
|
|
660
|
+
_worklet_16545336462220_init_data,
|
|
661
661
|
wave,
|
|
662
662
|
RIPPLE_START_SCALE,
|
|
663
663
|
center,
|
|
@@ -665,7 +665,7 @@ function RippleWave({
|
|
|
665
665
|
radius
|
|
666
666
|
}) {
|
|
667
667
|
const _e = [new global.Error(), -6, -27];
|
|
668
|
-
const
|
|
668
|
+
const chunkA4VD4MHKCjs5 = function () {
|
|
669
669
|
const t = wave.expand.value;
|
|
670
670
|
const from = wave.origin.value;
|
|
671
671
|
const scale = RIPPLE_START_SCALE + (1 - RIPPLE_START_SCALE) * t;
|
|
@@ -683,20 +683,20 @@ function RippleWave({
|
|
|
683
683
|
}]
|
|
684
684
|
};
|
|
685
685
|
};
|
|
686
|
-
|
|
686
|
+
chunkA4VD4MHKCjs5.__closure = {
|
|
687
687
|
wave,
|
|
688
688
|
RIPPLE_START_SCALE,
|
|
689
689
|
center,
|
|
690
690
|
opacity,
|
|
691
691
|
radius
|
|
692
692
|
};
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
return
|
|
693
|
+
chunkA4VD4MHKCjs5.__workletHash = 16545336462220;
|
|
694
|
+
chunkA4VD4MHKCjs5.__pluginVersion = "0.7.4";
|
|
695
|
+
chunkA4VD4MHKCjs5.__initData = _worklet_16545336462220_init_data;
|
|
696
|
+
chunkA4VD4MHKCjs5.__stackDetails = _e;
|
|
697
|
+
return chunkA4VD4MHKCjs5;
|
|
698
698
|
}({
|
|
699
|
-
|
|
699
|
+
_worklet_16545336462220_init_data,
|
|
700
700
|
wave,
|
|
701
701
|
RIPPLE_START_SCALE,
|
|
702
702
|
center,
|