@xaui/native 0.9.1-alpha.37 → 0.9.1-alpha.39
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-2EGR4LWD.js +145 -0
- package/dist/{chunk-TJHYSSBZ.js → chunk-346QBNUD.js} +1 -1
- package/dist/chunk-37L7YGZV.cjs +425 -0
- 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-64MXEVT3.js +66 -0
- package/dist/{chunk-ZJWEVFAO.cjs → chunk-66FOASTP.cjs} +9 -9
- package/dist/{chunk-5PPNDKRX.js → chunk-6CO6FM67.js} +16 -16
- package/dist/{chunk-DVDQSW7U.cjs → chunk-76XDVA24.cjs} +65 -190
- package/dist/{chunk-54FJOKAN.cjs → chunk-7GHM4GKL.cjs} +25 -25
- package/dist/chunk-7KLBTMXV.cjs +478 -0
- 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-EKS3W46M.cjs +66 -0
- 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-GJSFKH4L.js +586 -0
- package/dist/{chunk-6G3XWPNP.js → chunk-HA6BFY3A.js} +3 -3
- package/dist/{chunk-FTQHDJYL.cjs → chunk-HOI5425P.cjs} +9 -9
- package/dist/{chunk-XWY4DF37.js → chunk-JKP4TPIL.js} +86 -289
- 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-LUPCPLND.cjs +145 -0
- 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-NKPTXTTS.js → chunk-QZ24MZRX.js} +3 -3
- package/dist/{chunk-7LSY4WFL.js → chunk-R7BU4CPS.js} +2 -2
- 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-XAFP5JLK.js +425 -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/components/accordion/index.cjs +35 -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 +35 -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/popover/index.cjs +37 -0
- package/dist/components/popover/index.d.cts +254 -0
- package/dist/components/popover/index.d.ts +254 -0
- package/dist/components/popover/index.js +37 -0
- 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 +10 -7
- package/dist/components/select/index.d.cts +24 -45
- package/dist/components/select/index.d.ts +24 -45
- package/dist/components/select/index.js +9 -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 +89 -28
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +109 -48
- package/dist/placement-DHa0Rrh1.d.cts +38 -0
- package/dist/placement-DHa0Rrh1.d.ts +38 -0
- package/dist/system/index.cjs +24 -8
- package/dist/system/index.d.cts +83 -34
- package/dist/system/index.d.ts +83 -34
- package/dist/system/index.js +24 -8
- package/package.json +21 -1
- /package/dist/{chunk-OJCCV65P.cjs → chunk-GGW43Q37.cjs} +0 -0
- /package/dist/{chunk-MESKS6AI.js → chunk-WHJTBTYM.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextFieldField,
|
|
3
3
|
useTextField
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S2WNWMNT.js";
|
|
5
5
|
import {
|
|
6
6
|
Icon
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FHUYHV6J.js";
|
|
8
8
|
import {
|
|
9
9
|
Slot,
|
|
10
10
|
createSlotContext
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-K72UDPVN.js";
|
|
12
12
|
import {
|
|
13
13
|
useStyleProps
|
|
14
14
|
} from "./chunk-M63GFNKV.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
TextFieldLabel,
|
|
6
6
|
TextFieldRoot,
|
|
7
7
|
useTextField
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S2WNWMNT.js";
|
|
9
9
|
import {
|
|
10
10
|
createSlotContext
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-K72UDPVN.js";
|
|
12
12
|
import {
|
|
13
13
|
useStyleProps
|
|
14
14
|
} from "./chunk-M63GFNKV.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -175,10 +175,10 @@ var Badge = _react.forwardRef.call(void 0, function Badge2({
|
|
|
175
175
|
[placement, theme, resolvedSize, isDot]
|
|
176
176
|
);
|
|
177
177
|
const rootStyle = [styles.root, _optionalChain([tint, 'optionalAccess', _ => _.root]), insets, styleProps, style];
|
|
178
|
-
const text =
|
|
178
|
+
const text = _chunk7GHM4GKLcjs.childrenToString.call(void 0, children);
|
|
179
179
|
const label = text !== null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { style: [styles.label, _optionalChain([tint, 'optionalAccess', _2 => _2.label])], numberOfLines: 1, children: text }) : children;
|
|
180
180
|
const content = isDot ? null : label;
|
|
181
|
-
const Root = asChild ?
|
|
181
|
+
const Root = asChild ? _chunk7GHM4GKLcjs.Slot : _reactnative.View;
|
|
182
182
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
183
183
|
Root,
|
|
184
184
|
{
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkA7YB7YWXcjs = require('./chunk-A7YB7YWX.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4KFKWBN5cjs = require('./chunk-4KFKWBN5.cjs');
|
|
8
8
|
|
|
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,7 +17,7 @@ var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
|
17
17
|
var _react = require('react');
|
|
18
18
|
|
|
19
19
|
// src/components/field-group/field-group.context.ts
|
|
20
|
-
var [FieldGroupProvider, useFieldGroup] =
|
|
20
|
+
var [FieldGroupProvider, useFieldGroup] = _chunk7GHM4GKLcjs.createSlotContext.call(void 0, "FieldGroup");
|
|
21
21
|
|
|
22
22
|
// src/components/field-group/field-group.utils.ts
|
|
23
23
|
function decoratorPadding(prefixWidth, suffixWidth) {
|
|
@@ -36,7 +36,7 @@ var FieldGroupField = _react.forwardRef.call(void 0,
|
|
|
36
36
|
() => decoratorPadding(prefixWidth, suffixWidth),
|
|
37
37
|
[prefixWidth, suffixWidth]
|
|
38
38
|
);
|
|
39
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA7YB7YWXcjs.TextFieldField, { ref, ...props, style: [padding, style] });
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
FieldGroupField.displayName = "XAUI.FieldGroup.Field";
|
|
@@ -44,8 +44,8 @@ FieldGroupField.displayName = "XAUI.FieldGroup.Field";
|
|
|
44
44
|
// src/components/field-group/field-group-icon.tsx
|
|
45
45
|
|
|
46
46
|
function FieldGroupIcon({ size, color, ...rest }) {
|
|
47
|
-
const { icon } =
|
|
48
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
47
|
+
const { icon } = _chunkA7YB7YWXcjs.useTextField.call(void 0, );
|
|
48
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4KFKWBN5cjs.Icon, { size: _nullishCoalesce(size, () => ( icon.size)), color: _nullishCoalesce(color, () => ( icon.color)), ...rest });
|
|
49
49
|
}
|
|
50
50
|
FieldGroupIcon.displayName = "XAUI.FieldGroup.Icon";
|
|
51
51
|
|
|
@@ -58,7 +58,7 @@ var _reactnative = require('react-native');
|
|
|
58
58
|
|
|
59
59
|
var FieldGroupDecorator = _react.forwardRef.call(void 0,
|
|
60
60
|
function FieldGroupDecorator2({ side, children, isDecorative = false, onLayout, style, ...props }, ref) {
|
|
61
|
-
const { prefixStyle, suffixStyle, isDisabled } =
|
|
61
|
+
const { prefixStyle, suffixStyle, isDisabled } = _chunkA7YB7YWXcjs.useTextField.call(void 0, );
|
|
62
62
|
const { setPrefixWidth, setSuffixWidth } = useFieldGroup();
|
|
63
63
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
64
64
|
const report = side === "prefix" ? setPrefixWidth : setSuffixWidth;
|
|
@@ -121,7 +121,7 @@ var FieldGroupRoot = _react.forwardRef.call(void 0, function FieldGroup({ childr
|
|
|
121
121
|
const rootStyle = [styleProps, style];
|
|
122
122
|
const surface = asChild ? (
|
|
123
123
|
// R12 — the caller's element *is* the row.
|
|
124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7GHM4GKLcjs.Slot, { ref, ...rest, style: rootStyle, children })
|
|
125
125
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, ...rest, style: rootStyle, children });
|
|
126
126
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FieldGroupProvider, { value: context, children: surface });
|
|
127
127
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
2
|
-
import { createSlotContext } from "./chunk-
|
|
2
|
+
import { createSlotContext } from "./chunk-K72UDPVN.js";
|
|
3
3
|
import { createRecipe, radiusAxis } from "./chunk-4GTAZM2C.js";
|
|
4
4
|
import { useXAUITheme } from "./chunk-A3EGFI6T.js";
|
|
5
5
|
import { useStyleProps } from "./chunk-M63GFNKV.js";
|
|
@@ -40,10 +40,10 @@ function InputOTPCaret({
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
InputOTPCaret.displayName = "XAUI.InputOTP.Caret";
|
|
43
|
-
const
|
|
44
|
-
code: "function
|
|
45
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
46
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
43
|
+
const _worklet_15888708666305_init_data = {
|
|
44
|
+
code: "function chunkSACDOFGFJs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
45
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-SACDOFGF.js",
|
|
46
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkSACDOFGFJs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-SACDOFGF.js\"],\"mappings\":\"AA8DyC,SAAAA,gBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE3C,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
|
|
47
47
|
};
|
|
48
48
|
function BlinkingCaret({
|
|
49
49
|
style
|
|
@@ -56,26 +56,26 @@ function BlinkingCaret({
|
|
|
56
56
|
}), -1, true);
|
|
57
57
|
return () => cancelAnimation(opacity);
|
|
58
58
|
}, [opacity]);
|
|
59
|
-
const animatedStyle = useAnimatedStyle(function
|
|
60
|
-
|
|
59
|
+
const animatedStyle = useAnimatedStyle(function chunkSACDOFGFJs1Factory({
|
|
60
|
+
_worklet_15888708666305_init_data,
|
|
61
61
|
opacity
|
|
62
62
|
}) {
|
|
63
63
|
const _e = [new global.Error(), -2, -27];
|
|
64
|
-
const
|
|
64
|
+
const chunkSACDOFGFJs1 = function () {
|
|
65
65
|
return {
|
|
66
66
|
opacity: opacity.value
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
chunkSACDOFGFJs1.__closure = {
|
|
70
70
|
opacity
|
|
71
71
|
};
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
return
|
|
72
|
+
chunkSACDOFGFJs1.__workletHash = 15888708666305;
|
|
73
|
+
chunkSACDOFGFJs1.__pluginVersion = "0.7.4";
|
|
74
|
+
chunkSACDOFGFJs1.__initData = _worklet_15888708666305_init_data;
|
|
75
|
+
chunkSACDOFGFJs1.__stackDetails = _e;
|
|
76
|
+
return chunkSACDOFGFJs1;
|
|
77
77
|
}({
|
|
78
|
-
|
|
78
|
+
_worklet_15888708666305_init_data,
|
|
79
79
|
opacity
|
|
80
80
|
}), [opacity]);
|
|
81
81
|
return /* @__PURE__ */jsx(Animated.View, {
|
|
@@ -37,7 +37,7 @@ function _optionalChain(ops) {
|
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
39
39
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
40
|
-
var
|
|
40
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
41
41
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
42
42
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
43
43
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
@@ -47,8 +47,8 @@ var _react = require('react');
|
|
|
47
47
|
var _reactnative = require('react-native');
|
|
48
48
|
|
|
49
49
|
// src/components/input-otp/input-otp.context.ts
|
|
50
|
-
var [InputOTPProvider, useInputOTP] =
|
|
51
|
-
var [InputOTPBoxProvider, useInputOTPBox] =
|
|
50
|
+
var [InputOTPProvider, useInputOTP] = _chunk7GHM4GKLcjs.createSlotContext.call(void 0, "InputOTP");
|
|
51
|
+
var [InputOTPBoxProvider, useInputOTPBox] = _chunk7GHM4GKLcjs.createSlotContext.call(void 0, "InputOTP.Box");
|
|
52
52
|
|
|
53
53
|
// src/components/input-otp/input-otp-caret.tsx
|
|
54
54
|
|
|
@@ -78,10 +78,10 @@ function InputOTPCaret({
|
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
InputOTPCaret.displayName = "XAUI.InputOTP.Caret";
|
|
81
|
-
const
|
|
82
|
-
code: "function
|
|
83
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
84
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
81
|
+
const _worklet_1955422709024_init_data = {
|
|
82
|
+
code: "function chunkSIP5J7HUCjs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
83
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-SIP5J7HU.cjs",
|
|
84
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkSIP5J7HUCjs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-SIP5J7HU.cjs\"],\"mappings\":\"AA8D6E,SAAAA,iBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
|
|
85
85
|
};
|
|
86
86
|
function BlinkingCaret({
|
|
87
87
|
style
|
|
@@ -94,26 +94,26 @@ function BlinkingCaret({
|
|
|
94
94
|
}), -1, true);
|
|
95
95
|
return () => _reactnativereanimated.cancelAnimation.call(void 0, opacity);
|
|
96
96
|
}, [opacity]);
|
|
97
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
98
|
-
|
|
97
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkSIP5J7HUCjs1Factory({
|
|
98
|
+
_worklet_1955422709024_init_data,
|
|
99
99
|
opacity
|
|
100
100
|
}) {
|
|
101
101
|
const _e = [new global.Error(), -2, -27];
|
|
102
|
-
const
|
|
102
|
+
const chunkSIP5J7HUCjs1 = function () {
|
|
103
103
|
return {
|
|
104
104
|
opacity: opacity.value
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
|
-
|
|
107
|
+
chunkSIP5J7HUCjs1.__closure = {
|
|
108
108
|
opacity
|
|
109
109
|
};
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
return
|
|
110
|
+
chunkSIP5J7HUCjs1.__workletHash = 1955422709024;
|
|
111
|
+
chunkSIP5J7HUCjs1.__pluginVersion = "0.7.4";
|
|
112
|
+
chunkSIP5J7HUCjs1.__initData = _worklet_1955422709024_init_data;
|
|
113
|
+
chunkSIP5J7HUCjs1.__stackDetails = _e;
|
|
114
|
+
return chunkSIP5J7HUCjs1;
|
|
115
115
|
}({
|
|
116
|
-
|
|
116
|
+
_worklet_1955422709024_init_data,
|
|
117
117
|
opacity
|
|
118
118
|
}), [opacity]);
|
|
119
119
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, {
|
|
@@ -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 _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
@@ -94,7 +94,7 @@ GridItem.displayName = "XAUI.Grid.Item";
|
|
|
94
94
|
|
|
95
95
|
var StackRoot = _react.forwardRef.call(void 0, function Stack({ children, asChild = false, style, ...props }, ref) {
|
|
96
96
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
97
|
-
const Root = asChild ?
|
|
97
|
+
const Root = asChild ? _chunk7GHM4GKLcjs.Slot : _reactnative.View;
|
|
98
98
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [{ position: "relative" }, styleProps, style], ...rest, children });
|
|
99
99
|
});
|
|
100
100
|
StackRoot.displayName = "XAUI.Stack";
|
|
@@ -105,7 +105,7 @@ StackRoot.displayName = "XAUI.Stack";
|
|
|
105
105
|
|
|
106
106
|
var StackItem = _react.forwardRef.call(void 0, function StackItem2({ children, asChild = false, style, ...props }, ref) {
|
|
107
107
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
108
|
-
const Root = asChild ?
|
|
108
|
+
const Root = asChild ? _chunk7GHM4GKLcjs.Slot : _reactnative.View;
|
|
109
109
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [{ position: "absolute" }, styleProps, style], ...rest, children });
|
|
110
110
|
});
|
|
111
111
|
StackItem.displayName = "XAUI.Stack.Item";
|
|
@@ -116,7 +116,7 @@ StackItem.displayName = "XAUI.Stack.Item";
|
|
|
116
116
|
|
|
117
117
|
var Row = _react.forwardRef.call(void 0, function Row2({ children, asChild = false, style, ...props }, ref) {
|
|
118
118
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
119
|
-
const Root = asChild ?
|
|
119
|
+
const Root = asChild ? _chunk7GHM4GKLcjs.Slot : _reactnative.View;
|
|
120
120
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [{ flexDirection: "row" }, styleProps, style], ...rest, children });
|
|
121
121
|
});
|
|
122
122
|
Row.displayName = "XAUI.Row";
|
|
@@ -127,7 +127,7 @@ Row.displayName = "XAUI.Row";
|
|
|
127
127
|
|
|
128
128
|
var Column = _react.forwardRef.call(void 0, function Column2({ children, asChild = false, style, ...props }, ref) {
|
|
129
129
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
130
|
-
const Root = asChild ?
|
|
130
|
+
const Root = asChild ? _chunk7GHM4GKLcjs.Slot : _reactnative.View;
|
|
131
131
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
132
132
|
Root,
|
|
133
133
|
{
|
|
@@ -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
|