@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
|
@@ -39,7 +39,7 @@ function _optionalChain(ops) {
|
|
|
39
39
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
40
40
|
var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
41
41
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
42
|
-
var
|
|
42
|
+
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
43
43
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
44
44
|
|
|
45
45
|
// src/components/input-otp/input-otp-box.tsx
|
|
@@ -67,7 +67,7 @@ function InputOTPCaret({
|
|
|
67
67
|
const {
|
|
68
68
|
slot
|
|
69
69
|
} = useInputOTPBox();
|
|
70
|
-
const [styleProps] =
|
|
70
|
+
const [styleProps] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
71
71
|
const barStyle = [caretStyle, styleProps, style];
|
|
72
72
|
if (!_optionalChain([slot, 'optionalAccess', _2 => _2.isCaretVisible])) return null;
|
|
73
73
|
if (!animation) return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.View, {
|
|
@@ -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_5923807417791_init_data = {
|
|
82
|
+
code: "function chunkFYCDRRJ2Cjs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
83
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FYCDRRJ2.cjs",
|
|
84
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkFYCDRRJ2Cjs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FYCDRRJ2.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 chunkFYCDRRJ2Cjs1Factory({
|
|
98
|
+
_worklet_5923807417791_init_data,
|
|
99
99
|
opacity
|
|
100
100
|
}) {
|
|
101
101
|
const _e = [new global.Error(), -2, -27];
|
|
102
|
-
const
|
|
102
|
+
const chunkFYCDRRJ2Cjs1 = function () {
|
|
103
103
|
return {
|
|
104
104
|
opacity: opacity.value
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
|
-
|
|
107
|
+
chunkFYCDRRJ2Cjs1.__closure = {
|
|
108
108
|
opacity
|
|
109
109
|
};
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
return
|
|
110
|
+
chunkFYCDRRJ2Cjs1.__workletHash = 5923807417791;
|
|
111
|
+
chunkFYCDRRJ2Cjs1.__pluginVersion = "0.7.4";
|
|
112
|
+
chunkFYCDRRJ2Cjs1.__initData = _worklet_5923807417791_init_data;
|
|
113
|
+
chunkFYCDRRJ2Cjs1.__stackDetails = _e;
|
|
114
|
+
return chunkFYCDRRJ2Cjs1;
|
|
115
115
|
}({
|
|
116
|
-
|
|
116
|
+
_worklet_5923807417791_init_data,
|
|
117
117
|
opacity
|
|
118
118
|
}), [opacity]);
|
|
119
119
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, {
|
|
@@ -135,7 +135,7 @@ var InputOTPPlaceholder = _react.forwardRef.call(void 0, function InputOTPPlaceh
|
|
|
135
135
|
const {
|
|
136
136
|
slot
|
|
137
137
|
} = useInputOTPBox();
|
|
138
|
-
const [styleProps, rest] =
|
|
138
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
139
139
|
const char = _nullishCoalesce(children, () => _optionalChain([slot, 'optionalAccess', _3 => _3.placeholderChar]));
|
|
140
140
|
if (!char) return null;
|
|
141
141
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Text, {
|
|
@@ -162,7 +162,7 @@ var InputOTPValue = _react.forwardRef.call(void 0, function InputOTPValue2({
|
|
|
162
162
|
const {
|
|
163
163
|
slot
|
|
164
164
|
} = useInputOTPBox();
|
|
165
|
-
const [styleProps, rest] =
|
|
165
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
166
166
|
const char = _nullishCoalesce(children, () => _optionalChain([slot, 'optionalAccess', _4 => _4.char]));
|
|
167
167
|
if (!char) return null;
|
|
168
168
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Text, {
|
|
@@ -188,7 +188,7 @@ var InputOTPBox = _react.forwardRef.call(void 0, function InputOTPBox2({
|
|
|
188
188
|
boxActiveStyle,
|
|
189
189
|
slots
|
|
190
190
|
} = useInputOTP();
|
|
191
|
-
const [styleProps, rest] =
|
|
191
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
192
192
|
const slot = slots[index];
|
|
193
193
|
const context = _react.useMemo.call(void 0, () => ({
|
|
194
194
|
slot
|
|
@@ -223,7 +223,7 @@ var InputOTPGroup = _react.forwardRef.call(void 0, function InputOTPGroup2({
|
|
|
223
223
|
isDisabled,
|
|
224
224
|
isInvalid
|
|
225
225
|
} = useInputOTP();
|
|
226
|
-
const [styleProps, rest] =
|
|
226
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
227
227
|
const content = typeof children === "function" ? children({
|
|
228
228
|
slots,
|
|
229
229
|
value,
|
|
@@ -251,7 +251,7 @@ var InputOTPSeparator = _react.forwardRef.call(void 0, function InputOTPSeparato
|
|
|
251
251
|
const {
|
|
252
252
|
separatorStyle
|
|
253
253
|
} = useInputOTP();
|
|
254
|
-
const [styleProps, rest] =
|
|
254
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
255
255
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.View, {
|
|
256
256
|
ref,
|
|
257
257
|
accessibilityElementsHidden: true,
|
|
@@ -621,7 +621,7 @@ var InputOTPRoot = _react.forwardRef.call(void 0, function InputOTP({
|
|
|
621
621
|
...props
|
|
622
622
|
}, ref) {
|
|
623
623
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0);
|
|
624
|
-
const [styleProps, rest] =
|
|
624
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
625
625
|
const state = useInputOTPState({
|
|
626
626
|
maxLength,
|
|
627
627
|
value: valueProp,
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var _chunkK4TWKF5Ucjs = require('./chunk-K4TWKF5U.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkISPOIMGXcjs = require('./chunk-ISPOIMGX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk2SCE7TFZcjs = require('./chunk-2SCE7TFZ.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -23,7 +23,7 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
23
23
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
@@ -35,7 +35,7 @@ var [ButtonProvider, useButton] = _chunk54FJOKANcjs.createSlotContext.call(void
|
|
|
35
35
|
var _jsxruntime = require('react/jsx-runtime');
|
|
36
36
|
function ButtonIcon({ size, color, ...rest }) {
|
|
37
37
|
const { icon } = useButton();
|
|
38
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkISPOIMGXcjs.Icon, { size: _nullishCoalesce(size, () => ( icon.size)), color: _nullishCoalesce(color, () => ( icon.color)), ...rest });
|
|
39
39
|
}
|
|
40
40
|
ButtonIcon.displayName = "XAUI.Button.Icon";
|
|
41
41
|
|
|
@@ -45,7 +45,7 @@ var _reactnative = require('react-native');
|
|
|
45
45
|
|
|
46
46
|
var ButtonLabel = _react.forwardRef.call(void 0, function ButtonLabel2({ children, style, numberOfLines = 1, ...props }, ref) {
|
|
47
47
|
const { labelStyle } = useButton();
|
|
48
|
-
const [styleProps, rest] =
|
|
48
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
49
49
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
50
50
|
_reactnative.Text,
|
|
51
51
|
{
|
|
@@ -69,7 +69,7 @@ function ButtonSpinner({
|
|
|
69
69
|
...props
|
|
70
70
|
}) {
|
|
71
71
|
const { spinnerStyle } = useButton();
|
|
72
|
-
const [styleProps] =
|
|
72
|
+
const [styleProps] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
73
73
|
const ringStyle = [spinnerStyle, styleProps, style];
|
|
74
74
|
if (!animation) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: ringStyle });
|
|
75
75
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SpinningRing, { style: ringStyle });
|
|
@@ -235,7 +235,7 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
|
|
|
235
235
|
...props
|
|
236
236
|
}, ref) {
|
|
237
237
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
|
|
238
|
-
const [styleProps, rest] =
|
|
238
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
239
239
|
const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
|
|
240
240
|
const selection = {
|
|
241
241
|
variant,
|
|
@@ -275,7 +275,7 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
|
|
|
275
275
|
);
|
|
276
276
|
}
|
|
277
277
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ButtonProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
278
|
-
|
|
278
|
+
_chunk2SCE7TFZcjs.PressableFeedback,
|
|
279
279
|
{
|
|
280
280
|
ref,
|
|
281
281
|
isPressed,
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkFVKIQBHScjs = require('./chunk-FVKIQBHS.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkISPOIMGXcjs = require('./chunk-ISPOIMGX.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk2SCE7TFZcjs = require('./chunk-2SCE7TFZ.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -25,7 +25,7 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
25
25
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
@@ -47,7 +47,7 @@ var chipSheet = _reactnative.StyleSheet.create({
|
|
|
47
47
|
var _jsxruntime = require('react/jsx-runtime');
|
|
48
48
|
var ChipAvatar = _react.forwardRef.call(void 0, function ChipAvatar2({ children, source, style, ...props }, ref) {
|
|
49
49
|
const { avatarStyle } = useChip();
|
|
50
|
-
const [styleProps, rest] =
|
|
50
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
51
51
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [avatarStyle, styleProps, style], ...rest, children: source ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Image, { source, style: chipSheet.avatarImage }) : children });
|
|
52
52
|
});
|
|
53
53
|
ChipAvatar.displayName = "XAUI.Chip.Avatar";
|
|
@@ -58,7 +58,7 @@ ChipAvatar.displayName = "XAUI.Chip.Avatar";
|
|
|
58
58
|
var ChipClose = _react.forwardRef.call(void 0, function ChipClose2({ isDisabled, ...props }, ref) {
|
|
59
59
|
const { closeStyle, closeGlyphStyle, isDisabled: isChipDisabled } = useChip();
|
|
60
60
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
61
|
-
|
|
61
|
+
_chunkFVKIQBHScjs.CloseButton,
|
|
62
62
|
{
|
|
63
63
|
ref,
|
|
64
64
|
name: "Chip.Close",
|
|
@@ -77,7 +77,7 @@ ChipClose.displayName = "XAUI.Chip.Close";
|
|
|
77
77
|
|
|
78
78
|
var ChipDot = _react.forwardRef.call(void 0, function ChipDot2({ style, ...props }, ref) {
|
|
79
79
|
const { dotStyle } = useChip();
|
|
80
|
-
const [styleProps, rest] =
|
|
80
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
81
81
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [dotStyle, styleProps, style], ...rest });
|
|
82
82
|
});
|
|
83
83
|
ChipDot.displayName = "XAUI.Chip.Dot";
|
|
@@ -86,7 +86,7 @@ ChipDot.displayName = "XAUI.Chip.Dot";
|
|
|
86
86
|
|
|
87
87
|
function ChipIcon({ size, color, ...rest }) {
|
|
88
88
|
const { icon } = useChip();
|
|
89
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
89
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkISPOIMGXcjs.Icon, { size: _nullishCoalesce(size, () => ( icon.size)), color: _nullishCoalesce(color, () => ( icon.color)), ...rest });
|
|
90
90
|
}
|
|
91
91
|
ChipIcon.displayName = "XAUI.Chip.Icon";
|
|
92
92
|
|
|
@@ -96,7 +96,7 @@ ChipIcon.displayName = "XAUI.Chip.Icon";
|
|
|
96
96
|
|
|
97
97
|
var ChipLabel = _react.forwardRef.call(void 0, function ChipLabel2({ children, style, numberOfLines = 1, ...props }, ref) {
|
|
98
98
|
const { labelStyle } = useChip();
|
|
99
|
-
const [styleProps, rest] =
|
|
99
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
100
100
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
101
101
|
_reactnative.Text,
|
|
102
102
|
{
|
|
@@ -242,7 +242,7 @@ var chipRecipe = _chunkFNEUOBCVcjs.createRecipe.call(void 0, {
|
|
|
242
242
|
// The cross's own geometry — thickness and centring — belongs to the shared
|
|
243
243
|
// `CloseButton`; what stays below is the box and bar size this component's scale sets.
|
|
244
244
|
base: (theme) => ({
|
|
245
|
-
...
|
|
245
|
+
..._chunkFVKIQBHScjs.closeButtonBase.call(void 0, theme),
|
|
246
246
|
root: {
|
|
247
247
|
// A chip hugs its content where a `Button` fills its column. The difference is what
|
|
248
248
|
// the two are: a button is a control the layout sizes, a chip is a token *about*
|
|
@@ -334,7 +334,7 @@ var ChipRoot = _react.forwardRef.call(void 0, function Chip({
|
|
|
334
334
|
...props
|
|
335
335
|
}, ref) {
|
|
336
336
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
|
|
337
|
-
const [styleProps, rest] =
|
|
337
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
338
338
|
const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
|
|
339
339
|
const selection = { variant, size, radius };
|
|
340
340
|
const states = { pressed: isPressed, disabled: isDisabled };
|
|
@@ -371,7 +371,7 @@ var ChipRoot = _react.forwardRef.call(void 0, function Chip({
|
|
|
371
371
|
);
|
|
372
372
|
}
|
|
373
373
|
const surface = isPressable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
374
|
-
|
|
374
|
+
_chunk2SCE7TFZcjs.PressableFeedback,
|
|
375
375
|
{
|
|
376
376
|
ref,
|
|
377
377
|
isPressed,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkHT7H35GUcjs = require('./chunk-HT7H35GU.cjs');
|
|
9
9
|
|
|
10
10
|
// src/provider/xaui-provider.tsx
|
|
11
11
|
var _reactnative = require('react-native');
|
|
@@ -376,7 +376,7 @@ function resolveMode(mode, config, id) {
|
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
378
|
function createTheme(config = {}) {
|
|
379
|
-
const id =
|
|
379
|
+
const id = _chunkHT7H35GUcjs.stableHash.call(void 0, config);
|
|
380
380
|
return {
|
|
381
381
|
id,
|
|
382
382
|
light: resolveMode("light", config, id),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/utils/stable-hash.ts
|
|
2
2
|
function canonical(value) {
|
|
3
|
-
if (value === null || typeof value !== "object")
|
|
3
|
+
if (value === null || typeof value !== "object")
|
|
4
|
+
return _nullishCoalesce(JSON.stringify(value), () => ( "null"));
|
|
4
5
|
if (Array.isArray(value)) return `[${value.map(canonical).join(",")}]`;
|
|
5
6
|
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)}`);
|
|
6
7
|
return `{${entries.join(",")}}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
@@ -47,7 +47,7 @@ function IconImage({
|
|
|
47
47
|
color: _color,
|
|
48
48
|
...props
|
|
49
49
|
}) {
|
|
50
|
-
const [styleProps] =
|
|
50
|
+
const [styleProps] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
51
51
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
52
52
|
_reactnative.Image,
|
|
53
53
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkHT7H35GUcjs = require('./chunk-HT7H35GU.cjs');
|
|
4
4
|
|
|
5
5
|
// src/system/style-props/use-style-props.ts
|
|
6
6
|
var _react = require('react');
|
|
@@ -170,7 +170,7 @@ function splitStyleProps(props) {
|
|
|
170
170
|
// src/system/style-props/use-style-props.ts
|
|
171
171
|
function useStyleProps(props) {
|
|
172
172
|
const [styleProps, rest] = splitStyleProps(props);
|
|
173
|
-
const key =
|
|
173
|
+
const key = _chunkHT7H35GUcjs.stableHash.call(void 0, styleProps);
|
|
174
174
|
return [_react.useMemo.call(void 0, () => styleProps, [key]), rest];
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CloseButton,
|
|
3
3
|
closeButtonBase
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RSGIJ6RI.js";
|
|
5
5
|
import {
|
|
6
6
|
Icon
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OWE5IID7.js";
|
|
8
8
|
import {
|
|
9
9
|
Slot,
|
|
10
10
|
childrenToString,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-4GTAZM2C.js";
|
|
17
17
|
import {
|
|
18
18
|
useStyleProps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OSCW7I4H.js";
|
|
20
20
|
import {
|
|
21
21
|
useXAUITheme
|
|
22
22
|
} from "./chunk-A3EGFI6T.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-PPWXLZGL.js";
|
|
4
4
|
import {
|
|
5
5
|
Icon
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OWE5IID7.js";
|
|
7
7
|
import {
|
|
8
8
|
PressableFeedback
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UCW25LL6.js";
|
|
10
10
|
import {
|
|
11
11
|
usePressState
|
|
12
12
|
} from "./chunk-423RQBOX.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-4GTAZM2C.js";
|
|
24
24
|
import {
|
|
25
25
|
useStyleProps
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OSCW7I4H.js";
|
|
27
27
|
import {
|
|
28
28
|
useXAUITheme
|
|
29
29
|
} from "./chunk-A3EGFI6T.js";
|
|
@@ -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');
|
|
@@ -76,7 +76,7 @@ var typographyRecipe = _chunkFNEUOBCVcjs.createRecipe.call(void 0, {
|
|
|
76
76
|
var _jsxruntime = require('react/jsx-runtime');
|
|
77
77
|
var Typography = _react.forwardRef.call(void 0, function Typography2({ children, variant, color, asChild = false, style, ...props }, ref) {
|
|
78
78
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
|
|
79
|
-
const [styleProps, rest] =
|
|
79
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
80
80
|
const selection = { variant };
|
|
81
81
|
const styles = typographyRecipe.resolve({ theme, selection });
|
|
82
82
|
const tint = color ? typographyRecipe.tint({ theme, color, selection }) : void 0;
|
|
@@ -91,7 +91,7 @@ Typography.displayName = "XAUI.Typography";
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
var TextSpan = _react.forwardRef.call(void 0, function TextSpan2({ children, asChild = false, style, ...props }, ref) {
|
|
94
|
-
const [styleProps, rest] =
|
|
94
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
95
95
|
const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.Text;
|
|
96
96
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [styleProps, style], ...rest, children });
|
|
97
97
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunk2SCE7TFZcjs = require('./chunk-2SCE7TFZ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -17,7 +17,7 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
17
17
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
@@ -63,7 +63,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
63
63
|
var CardBackground = markBackground(
|
|
64
64
|
_react.forwardRef.call(void 0, function CardBackground2({ children, source, style, ...props }, ref) {
|
|
65
65
|
const { backgroundStyle } = useCard();
|
|
66
|
-
const [styleProps, rest] =
|
|
66
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
67
67
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
68
68
|
_reactnative.View,
|
|
69
69
|
{
|
|
@@ -85,7 +85,7 @@ CardBackground.displayName = "XAUI.Card.Background";
|
|
|
85
85
|
|
|
86
86
|
var CardBody = _react.forwardRef.call(void 0, function CardBody2({ children, style, ...props }, ref) {
|
|
87
87
|
const { bodyStyle } = useCard();
|
|
88
|
-
const [styleProps, rest] =
|
|
88
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
89
89
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [bodyStyle, styleProps, style], ...rest, children });
|
|
90
90
|
});
|
|
91
91
|
CardBody.displayName = "XAUI.Card.Body";
|
|
@@ -97,7 +97,7 @@ CardBody.displayName = "XAUI.Card.Body";
|
|
|
97
97
|
var CardDescription = _react.forwardRef.call(void 0,
|
|
98
98
|
function CardDescription2({ children, style, ...props }, ref) {
|
|
99
99
|
const { descriptionStyle } = useCard();
|
|
100
|
-
const [styleProps, rest] =
|
|
100
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
101
101
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [descriptionStyle, styleProps, style], ...rest, children });
|
|
102
102
|
}
|
|
103
103
|
);
|
|
@@ -109,7 +109,7 @@ CardDescription.displayName = "XAUI.Card.Description";
|
|
|
109
109
|
|
|
110
110
|
var CardFooter = _react.forwardRef.call(void 0, function CardFooter2({ children, style, ...props }, ref) {
|
|
111
111
|
const { footerStyle } = useCard();
|
|
112
|
-
const [styleProps, rest] =
|
|
112
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
113
113
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [footerStyle, styleProps, style], ...rest, children });
|
|
114
114
|
});
|
|
115
115
|
CardFooter.displayName = "XAUI.Card.Footer";
|
|
@@ -120,7 +120,7 @@ CardFooter.displayName = "XAUI.Card.Footer";
|
|
|
120
120
|
|
|
121
121
|
var CardHeader = _react.forwardRef.call(void 0, function CardHeader2({ children, style, ...props }, ref) {
|
|
122
122
|
const { headerStyle } = useCard();
|
|
123
|
-
const [styleProps, rest] =
|
|
123
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
124
124
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [headerStyle, styleProps, style], ...rest, children });
|
|
125
125
|
});
|
|
126
126
|
CardHeader.displayName = "XAUI.Card.Header";
|
|
@@ -131,7 +131,7 @@ CardHeader.displayName = "XAUI.Card.Header";
|
|
|
131
131
|
|
|
132
132
|
var CardTitle = _react.forwardRef.call(void 0, function CardTitle2({ children, style, ...props }, ref) {
|
|
133
133
|
const { titleStyle } = useCard();
|
|
134
|
-
const [styleProps, rest] =
|
|
134
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
135
135
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [titleStyle, styleProps, style], ...rest, children });
|
|
136
136
|
});
|
|
137
137
|
CardTitle.displayName = "XAUI.Card.Title";
|
|
@@ -351,7 +351,7 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
|
|
|
351
351
|
...props
|
|
352
352
|
}, ref) {
|
|
353
353
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
|
|
354
|
-
const [styleProps, rest] =
|
|
354
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
355
355
|
const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
|
|
356
356
|
const selection = { variant, size, radius };
|
|
357
357
|
const states = { disabled: isDisabled };
|
|
@@ -388,7 +388,7 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
|
|
|
388
388
|
body
|
|
389
389
|
] });
|
|
390
390
|
const surface = isPressable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
391
|
-
|
|
391
|
+
_chunk2SCE7TFZcjs.PressableFeedback,
|
|
392
392
|
{
|
|
393
393
|
ref,
|
|
394
394
|
isPressed,
|
|
@@ -403,7 +403,7 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
|
|
|
403
403
|
onPressOut: press.onPressOut,
|
|
404
404
|
children: asChild ? children : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
405
405
|
background,
|
|
406
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2SCE7TFZcjs.PressableFeedback.Highlight, {}),
|
|
407
407
|
body
|
|
408
408
|
] })
|
|
409
409
|
}
|
|
@@ -6,7 +6,7 @@ var _chunkF6CQ6CBIcjs = require('./chunk-F6CQ6CBI.cjs');
|
|
|
6
6
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk2SCE7TFZcjs = require('./chunk-2SCE7TFZ.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -20,7 +20,7 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
20
20
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
@@ -37,7 +37,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
37
37
|
var RadioIndicator = _react.forwardRef.call(void 0,
|
|
38
38
|
function RadioIndicator2({ children, animation = true, style, ...props }, ref) {
|
|
39
39
|
const { indicatorStyle, fillStyle, isSelected } = useRadio();
|
|
40
|
-
const [styleProps, rest] =
|
|
40
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
41
41
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, ...rest, style: [indicatorStyle, styleProps, style], children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42
42
|
_chunkF6CQ6CBIcjs.SelectionFill,
|
|
43
43
|
{
|
|
@@ -61,7 +61,7 @@ function Thumb() {
|
|
|
61
61
|
|
|
62
62
|
var RadioLabel = _react.forwardRef.call(void 0, function RadioLabel2({ children, style, ...props }, ref) {
|
|
63
63
|
const { labelStyle } = useRadio();
|
|
64
|
-
const [styleProps, rest] =
|
|
64
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
65
65
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [labelStyle, styleProps, style], ...rest, children });
|
|
66
66
|
});
|
|
67
67
|
RadioLabel.displayName = "XAUI.Radio.Label";
|
|
@@ -203,7 +203,7 @@ var RadioRoot = _react.forwardRef.call(void 0, function Radio({
|
|
|
203
203
|
...props
|
|
204
204
|
}, ref) {
|
|
205
205
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
|
|
206
|
-
const [styleProps, rest] =
|
|
206
|
+
const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
|
|
207
207
|
const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
|
|
208
208
|
const [selected, setSelected] = _chunk7EIHHOHPcjs.useControllableState.call(void 0, {
|
|
209
209
|
value: isSelected,
|
|
@@ -252,7 +252,7 @@ var RadioRoot = _react.forwardRef.call(void 0, function Radio({
|
|
|
252
252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioLabel, { children: text })
|
|
253
253
|
] }) : _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioIndicator, {})));
|
|
254
254
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
255
|
-
|
|
255
|
+
_chunk2SCE7TFZcjs.PressableFeedback,
|
|
256
256
|
{
|
|
257
257
|
ref,
|
|
258
258
|
isPressed,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
2
2
|
import { createSlotContext } from "./chunk-YXPYOOHU.js";
|
|
3
3
|
import { createRecipe, radiusAxis } from "./chunk-4GTAZM2C.js";
|
|
4
|
-
import { useStyleProps } from "./chunk-
|
|
4
|
+
import { useStyleProps } from "./chunk-OSCW7I4H.js";
|
|
5
5
|
import { useXAUITheme } from "./chunk-A3EGFI6T.js";
|
|
6
6
|
|
|
7
7
|
// src/components/input-otp/input-otp-box.tsx
|
|
@@ -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_4716259308764_init_data = {
|
|
44
|
+
code: "function chunkOMV5MUTMJs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
45
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-OMV5MUTM.js",
|
|
46
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkOMV5MUTMJs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-OMV5MUTM.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 chunkOMV5MUTMJs1Factory({
|
|
60
|
+
_worklet_4716259308764_init_data,
|
|
61
61
|
opacity
|
|
62
62
|
}) {
|
|
63
63
|
const _e = [new global.Error(), -2, -27];
|
|
64
|
-
const
|
|
64
|
+
const chunkOMV5MUTMJs1 = function () {
|
|
65
65
|
return {
|
|
66
66
|
opacity: opacity.value
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
chunkOMV5MUTMJs1.__closure = {
|
|
70
70
|
opacity
|
|
71
71
|
};
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
return
|
|
72
|
+
chunkOMV5MUTMJs1.__workletHash = 4716259308764;
|
|
73
|
+
chunkOMV5MUTMJs1.__pluginVersion = "0.7.4";
|
|
74
|
+
chunkOMV5MUTMJs1.__initData = _worklet_4716259308764_init_data;
|
|
75
|
+
chunkOMV5MUTMJs1.__stackDetails = _e;
|
|
76
|
+
return chunkOMV5MUTMJs1;
|
|
77
77
|
}({
|
|
78
|
-
|
|
78
|
+
_worklet_4716259308764_init_data,
|
|
79
79
|
opacity
|
|
80
80
|
}), [opacity]);
|
|
81
81
|
return /* @__PURE__ */jsx(Animated.View, {
|