@xaui/native 0.9.1-alpha.36 → 0.9.1-alpha.38
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-B6OKVLC7.js → chunk-26OGEFQI.js} +4 -4
- package/dist/{chunk-V5IVMZQJ.js → chunk-2PMXMKS5.js} +13 -8
- package/dist/{chunk-QZO57TPX.js → chunk-346QBNUD.js} +4 -4
- package/dist/{chunk-PPWXLZGL.js → chunk-3GFRSZYR.js} +15 -23
- package/dist/{chunk-GPZSTEEI.cjs → chunk-3JXI2IHV.cjs} +17 -17
- package/dist/{chunk-ISPOIMGX.cjs → chunk-4KFKWBN5.cjs} +26 -5
- package/dist/{chunk-N2U63JUX.cjs → chunk-4KSKQD37.cjs} +10 -10
- package/dist/{chunk-ZU3XQZ63.cjs → chunk-54CWXA34.cjs} +66 -66
- package/dist/{chunk-EFPWXJAJ.cjs → chunk-66FOASTP.cjs} +16 -16
- package/dist/{chunk-E5ZW7MBW.js → chunk-6CO6FM67.js} +17 -17
- package/dist/{chunk-54FJOKAN.cjs → chunk-7GHM4GKL.cjs} +25 -25
- package/dist/{chunk-2L7FOIWY.cjs → chunk-7TOG4TVU.cjs} +26 -26
- package/dist/{chunk-6N5ZCEAB.cjs → chunk-A7YB7YWX.cjs} +10 -10
- package/dist/{chunk-FVKIQBHS.cjs → chunk-AAVCMCJ3.cjs} +4 -4
- package/dist/{chunk-HQVVQGYV.cjs → chunk-ACAPTWE3.cjs} +16 -12
- package/dist/{chunk-LCDHTLSG.cjs → chunk-BNFIFRQA.cjs} +7 -7
- package/dist/{chunk-6U5IUUAR.js → chunk-DY3SUG5P.js} +5 -5
- package/dist/{chunk-RSGIJ6RI.js → chunk-EYD4H4X6.js} +2 -2
- package/dist/{chunk-DL2PGB5G.js → chunk-FBCWNXZC.js} +59 -59
- package/dist/{chunk-OWE5IID7.js → chunk-FHUYHV6J.js} +28 -7
- package/dist/{chunk-K7GAHNMJ.js → chunk-HA6BFY3A.js} +6 -6
- package/dist/{chunk-MFXZHLOU.cjs → chunk-HOI5425P.cjs} +16 -16
- package/dist/{chunk-VWATEE5O.js → chunk-IKJVLJKT.js} +15 -15
- package/dist/{chunk-YXPYOOHU.js → chunk-K72UDPVN.js} +27 -27
- package/dist/{chunk-2LNE4PWB.cjs → chunk-KSUV74BE.cjs} +5 -5
- package/dist/{chunk-UCW25LL6.js → chunk-LIUO6D3D.js} +76 -76
- package/dist/{chunk-U3HFQHGZ.js → chunk-LTX6TB5I.js} +4 -4
- package/dist/{chunk-OSCW7I4H.js → chunk-M63GFNKV.js} +19 -4
- package/dist/chunk-MESKS6AI.js +0 -0
- package/dist/{chunk-SAGMDVFU.js → chunk-MXGER5PI.js} +5 -5
- package/dist/{chunk-GHKJ6MUH.cjs → chunk-NCCRQK3P.cjs} +14 -14
- package/dist/chunk-NCTOTTVW.js +13 -0
- package/dist/chunk-OJCCV65P.cjs +1 -0
- package/dist/chunk-Q3MQ7S2D.cjs +476 -0
- package/dist/{chunk-CVCE7TW5.js → chunk-QZ24MZRX.js} +4 -4
- package/dist/{chunk-5GMU7ESV.js → chunk-R7BU4CPS.js} +3 -3
- package/dist/chunk-RAWGK2XK.cjs +971 -0
- package/dist/{chunk-PGQWUASE.cjs → chunk-RKCWYUGA.cjs} +6 -6
- package/dist/{chunk-3YZSUDZ2.js → chunk-S2WNWMNT.js} +4 -4
- package/dist/{chunk-XARBUUIE.cjs → chunk-S4QUM4EE.cjs} +12 -12
- package/dist/{chunk-OMV5MUTM.js → chunk-SACDOFGF.js} +16 -16
- package/dist/{chunk-FYCDRRJ2.cjs → chunk-SIP5J7HU.cjs} +25 -25
- package/dist/{chunk-AQXNEV6J.cjs → chunk-SNIHUKDA.cjs} +16 -16
- package/dist/{chunk-2OZPOWFB.js → chunk-SZLXPF3G.js} +4 -4
- package/dist/{chunk-RPOKLFRB.cjs → chunk-TDTUAIFF.cjs} +12 -12
- package/dist/{chunk-2SCE7TFZ.cjs → chunk-TGMVEHV7.cjs} +68 -68
- package/dist/{chunk-K3AVOT6L.cjs → chunk-TK44VBIE.cjs} +22 -7
- package/dist/{chunk-KZVHC4FL.js → chunk-TRETQZEW.js} +7 -7
- package/dist/{chunk-AZRMOWRG.cjs → chunk-URA25DU4.cjs} +10 -10
- package/dist/{chunk-BAPXLO5N.js → chunk-USF6EWYR.js} +7 -7
- package/dist/{chunk-TE7KVFE4.cjs → chunk-VZK3NLBH.cjs} +11 -11
- package/dist/{chunk-5BNIIDQD.cjs → chunk-WDDXU3OH.cjs} +14 -9
- package/dist/chunk-WFEMJCXO.cjs +13 -0
- package/dist/{chunk-JB5XANQY.js → chunk-WKCQ6VGW.js} +15 -11
- package/dist/{chunk-DOLWSO7A.js → chunk-XNMZQSY5.js} +5 -5
- package/dist/{chunk-K4TWKF5U.cjs → chunk-XSQPVDFH.cjs} +15 -25
- package/dist/{chunk-4XFEEBPU.js → chunk-XTC2SLFT.js} +2 -2
- package/dist/{chunk-ADQVA2FQ.cjs → chunk-XWNG2U4K.cjs} +5 -5
- package/dist/chunk-ZF6KIHXH.js +591 -0
- package/dist/chunk-ZNZ7HVRW.js +1106 -0
- package/dist/components/accordion/index.cjs +34 -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 +34 -0
- package/dist/components/alert/index.cjs +7 -8
- 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 -7
- package/dist/components/avatar/index.cjs +5 -6
- package/dist/components/avatar/index.d.cts +2 -2
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +4 -5
- package/dist/components/badge/index.cjs +4 -5
- package/dist/components/badge/index.d.cts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/badge/index.js +3 -4
- package/dist/components/button/index.cjs +8 -8
- package/dist/components/button/index.d.cts +41 -41
- package/dist/components/button/index.d.ts +41 -41
- package/dist/components/button/index.js +7 -7
- package/dist/components/card/index.cjs +5 -6
- package/dist/components/card/index.d.cts +43 -43
- package/dist/components/card/index.d.ts +43 -43
- package/dist/components/card/index.js +4 -5
- package/dist/components/checkbox/index.cjs +5 -6
- package/dist/components/checkbox/index.d.cts +82 -82
- package/dist/components/checkbox/index.d.ts +82 -82
- package/dist/components/checkbox/index.js +4 -5
- package/dist/components/chip/index.cjs +7 -8
- package/dist/components/chip/index.d.cts +42 -42
- package/dist/components/chip/index.d.ts +42 -42
- package/dist/components/chip/index.js +6 -7
- package/dist/components/divider/index.cjs +4 -5
- package/dist/components/divider/index.d.cts +3 -3
- package/dist/components/divider/index.d.ts +3 -3
- package/dist/components/divider/index.js +3 -4
- package/dist/components/field-group/index.cjs +6 -7
- package/dist/components/field-group/index.d.cts +2 -2
- package/dist/components/field-group/index.d.ts +2 -2
- package/dist/components/field-group/index.js +5 -6
- package/dist/components/input-otp/index.cjs +4 -5
- 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 +3 -4
- package/dist/components/radio/index.cjs +5 -6
- package/dist/components/radio/index.d.cts +82 -82
- package/dist/components/radio/index.d.ts +82 -82
- package/dist/components/radio/index.js +4 -5
- package/dist/components/select/index.cjs +48 -0
- package/dist/components/select/index.d.cts +509 -0
- package/dist/components/select/index.d.ts +509 -0
- package/dist/components/select/index.js +48 -0
- package/dist/components/skeleton/index.cjs +3 -4
- package/dist/components/skeleton/index.d.cts +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.js +2 -3
- package/dist/components/spinner/index.cjs +5 -5
- 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 -4
- package/dist/components/switch/index.cjs +5 -6
- package/dist/components/switch/index.d.cts +81 -81
- package/dist/components/switch/index.d.ts +81 -81
- package/dist/components/switch/index.js +4 -5
- package/dist/components/text-area/index.cjs +5 -6
- package/dist/components/text-area/index.js +4 -5
- package/dist/components/text-field/index.cjs +4 -5
- 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 +3 -4
- package/dist/components/typography/index.cjs +4 -5
- package/dist/components/typography/index.d.cts +5 -5
- package/dist/components/typography/index.d.ts +5 -5
- package/dist/components/typography/index.js +3 -4
- package/dist/components/view/index.cjs +4 -5
- package/dist/components/view/index.d.cts +3 -3
- package/dist/components/view/index.d.ts +3 -3
- package/dist/components/view/index.js +3 -4
- package/dist/index.cjs +91 -31
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +125 -65
- package/dist/system/index.cjs +13 -11
- package/dist/system/index.d.cts +61 -35
- package/dist/system/index.d.ts +61 -35
- package/dist/system/index.js +13 -11
- package/dist/theme/index.cjs +4 -3
- package/dist/theme/index.d.cts +21 -1
- package/dist/theme/index.d.ts +21 -1
- package/dist/theme/index.js +3 -2
- package/package.json +21 -1
- package/dist/chunk-FJ5TLRT3.js +0 -21
- package/dist/chunk-HT7H35GU.cjs +0 -21
|
@@ -1,17 +1,17 @@
|
|
|
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
|
|
|
8
8
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
15
15
|
|
|
16
16
|
// src/components/badge/badge.tsx
|
|
17
17
|
var _react = require('react');
|
|
@@ -158,7 +158,7 @@ var Badge = _react.forwardRef.call(void 0, function Badge2({
|
|
|
158
158
|
...props
|
|
159
159
|
}, ref) {
|
|
160
160
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
|
|
161
|
-
const [styleProps, rest] =
|
|
161
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
162
162
|
const resolvedSize = _nullishCoalesce(size, () => ( BADGE_DEFAULT_SIZE));
|
|
163
163
|
const selection = {
|
|
164
164
|
variant,
|
|
@@ -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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Slot,
|
|
3
3
|
createSlotContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K72UDPVN.js";
|
|
5
5
|
import {
|
|
6
6
|
createRecipe,
|
|
7
7
|
radiusAxis
|
|
8
8
|
} from "./chunk-4GTAZM2C.js";
|
|
9
|
-
import {
|
|
10
|
-
useStyleProps
|
|
11
|
-
} from "./chunk-OSCW7I4H.js";
|
|
12
9
|
import {
|
|
13
10
|
useXAUITheme
|
|
14
11
|
} from "./chunk-A3EGFI6T.js";
|
|
12
|
+
import {
|
|
13
|
+
useStyleProps
|
|
14
|
+
} from "./chunk-M63GFNKV.js";
|
|
15
15
|
|
|
16
16
|
// src/components/text-field/text-field-description.tsx
|
|
17
17
|
import { forwardRef } from "react";
|
|
@@ -1,23 +1,23 @@
|
|
|
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
|
-
var
|
|
14
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
15
15
|
|
|
16
16
|
// src/components/field-group/field-group-field.tsx
|
|
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,9 +58,9 @@ 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
|
-
const [styleProps, rest] =
|
|
63
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
64
64
|
const report = side === "prefix" ? setPrefixWidth : setSuffixWidth;
|
|
65
65
|
const handleLayout = _react.useCallback.call(void 0,
|
|
66
66
|
(event) => {
|
|
@@ -111,7 +111,7 @@ FieldGroupSuffix.displayName = "XAUI.FieldGroup.Suffix";
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
var FieldGroupRoot = _react.forwardRef.call(void 0, function FieldGroup({ children, asChild = false, style, ...props }, ref) {
|
|
114
|
-
const [styleProps, rest] =
|
|
114
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
115
115
|
const [prefixWidth, setPrefixWidth] = _react.useState.call(void 0, 0);
|
|
116
116
|
const [suffixWidth, setSuffixWidth] = _react.useState.call(void 0, 0);
|
|
117
117
|
const context = _react.useMemo.call(void 0,
|
|
@@ -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,8 +1,8 @@
|
|
|
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
|
-
import { useStyleProps } from "./chunk-OSCW7I4H.js";
|
|
5
4
|
import { useXAUITheme } from "./chunk-A3EGFI6T.js";
|
|
5
|
+
import { useStyleProps } from "./chunk-M63GFNKV.js";
|
|
6
6
|
|
|
7
7
|
// src/components/input-otp/input-otp-box.tsx
|
|
8
8
|
import { forwardRef as forwardRef3, useMemo } from "react";
|
|
@@ -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,18 +37,18 @@ 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
|
-
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
43
42
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
43
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
44
44
|
|
|
45
45
|
// src/components/input-otp/input-otp-box.tsx
|
|
46
46
|
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
|
|
|
@@ -67,7 +67,7 @@ function InputOTPCaret({
|
|
|
67
67
|
const {
|
|
68
68
|
slot
|
|
69
69
|
} = useInputOTPBox();
|
|
70
|
-
const [styleProps] =
|
|
70
|
+
const [styleProps] = _chunkTK44VBIEcjs.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_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, {
|
|
@@ -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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
625
625
|
const state = useInputOTPState({
|
|
626
626
|
maxLength,
|
|
627
627
|
value: valueProp,
|
|
@@ -30,8 +30,8 @@ function _optionalChain(ops) {
|
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
32
32
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
33
|
-
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
34
33
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
34
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
35
35
|
|
|
36
36
|
// src/components/skeleton/skeleton.tsx
|
|
37
37
|
var _react = require('react');
|
|
@@ -95,7 +95,7 @@ var Skeleton = _react.forwardRef.call(void 0, function Skeleton2({
|
|
|
95
95
|
...props
|
|
96
96
|
}, ref) {
|
|
97
97
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0);
|
|
98
|
-
const [styleProps, rest] =
|
|
98
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
99
99
|
const selection = {
|
|
100
100
|
radius
|
|
101
101
|
};
|
|
@@ -132,10 +132,10 @@ var Skeleton = _react.forwardRef.call(void 0, function Skeleton2({
|
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
134
|
Skeleton.displayName = "XAUI.Skeleton";
|
|
135
|
-
const
|
|
136
|
-
code: "function
|
|
137
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
138
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
135
|
+
const _worklet_8636613549176_init_data = {
|
|
136
|
+
code: "function chunkSNIHUKDACjs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
137
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-SNIHUKDA.cjs",
|
|
138
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkSNIHUKDACjs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-SNIHUKDA.cjs\"],\"mappings\":\"AAyF+E,SAAAA,iBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
|
|
139
139
|
};
|
|
140
140
|
var PulsingBlock = _react.forwardRef.call(void 0, function PulsingBlock2({
|
|
141
141
|
style,
|
|
@@ -151,26 +151,26 @@ var PulsingBlock = _react.forwardRef.call(void 0, function PulsingBlock2({
|
|
|
151
151
|
true);
|
|
152
152
|
return () => _reactnativereanimated.cancelAnimation.call(void 0, opacity);
|
|
153
153
|
}, [opacity]);
|
|
154
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
155
|
-
|
|
154
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkSNIHUKDACjs1Factory({
|
|
155
|
+
_worklet_8636613549176_init_data,
|
|
156
156
|
opacity
|
|
157
157
|
}) {
|
|
158
158
|
const _e = [new global.Error(), -2, -27];
|
|
159
|
-
const
|
|
159
|
+
const chunkSNIHUKDACjs1 = function () {
|
|
160
160
|
return {
|
|
161
161
|
opacity: opacity.value
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
|
-
|
|
164
|
+
chunkSNIHUKDACjs1.__closure = {
|
|
165
165
|
opacity
|
|
166
166
|
};
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
return
|
|
167
|
+
chunkSNIHUKDACjs1.__workletHash = 8636613549176;
|
|
168
|
+
chunkSNIHUKDACjs1.__pluginVersion = "0.7.4";
|
|
169
|
+
chunkSNIHUKDACjs1.__initData = _worklet_8636613549176_init_data;
|
|
170
|
+
chunkSNIHUKDACjs1.__stackDetails = _e;
|
|
171
|
+
return chunkSNIHUKDACjs1;
|
|
172
172
|
}({
|
|
173
|
-
|
|
173
|
+
_worklet_8636613549176_init_data,
|
|
174
174
|
opacity
|
|
175
175
|
}), [opacity]);
|
|
176
176
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Slot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K72UDPVN.js";
|
|
4
4
|
import {
|
|
5
5
|
createRecipe
|
|
6
6
|
} from "./chunk-4GTAZM2C.js";
|
|
7
|
-
import {
|
|
8
|
-
useStyleProps
|
|
9
|
-
} from "./chunk-OSCW7I4H.js";
|
|
10
7
|
import {
|
|
11
8
|
useXAUITheme
|
|
12
9
|
} from "./chunk-A3EGFI6T.js";
|
|
10
|
+
import {
|
|
11
|
+
useStyleProps
|
|
12
|
+
} from "./chunk-M63GFNKV.js";
|
|
13
13
|
|
|
14
14
|
// src/components/typography/typography.tsx
|
|
15
15
|
import { forwardRef } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
var
|
|
6
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
7
7
|
|
|
8
8
|
// src/components/view/grid.tsx
|
|
9
9
|
var _react = require('react');
|
|
@@ -32,7 +32,7 @@ function spanWidth({ cellWidth, columns, gap }, span) {
|
|
|
32
32
|
var _jsxruntime = require('react/jsx-runtime');
|
|
33
33
|
var GridRoot = _react.forwardRef.call(void 0, function Grid({ children, columns = 2, gap = 0, style, onLayout, ...props }, ref) {
|
|
34
34
|
const [width, setWidth] = _react.useState.call(void 0, );
|
|
35
|
-
const [styleProps, rest] =
|
|
35
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
36
36
|
const safeColumns = Math.max(Math.floor(columns), 1);
|
|
37
37
|
const cellWidth = width === void 0 ? void 0 : (width - gap * (safeColumns - 1)) / safeColumns;
|
|
38
38
|
const context = _react.useMemo.call(void 0,
|
|
@@ -75,7 +75,7 @@ function isGridItem(child) {
|
|
|
75
75
|
|
|
76
76
|
var GridItem = _react.forwardRef.call(void 0, function GridItem2({ children, span = 1, style, ...props }, ref) {
|
|
77
77
|
const grid = useGrid();
|
|
78
|
-
const [styleProps, rest] =
|
|
78
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
79
79
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
80
80
|
_reactnative.View,
|
|
81
81
|
{
|
|
@@ -93,8 +93,8 @@ GridItem.displayName = "XAUI.Grid.Item";
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
var StackRoot = _react.forwardRef.call(void 0, function Stack({ children, asChild = false, style, ...props }, ref) {
|
|
96
|
-
const [styleProps, rest] =
|
|
97
|
-
const Root = asChild ?
|
|
96
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
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";
|
|
@@ -104,8 +104,8 @@ StackRoot.displayName = "XAUI.Stack";
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
var StackItem = _react.forwardRef.call(void 0, function StackItem2({ children, asChild = false, style, ...props }, ref) {
|
|
107
|
-
const [styleProps, rest] =
|
|
108
|
-
const Root = asChild ?
|
|
107
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
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";
|
|
@@ -115,8 +115,8 @@ StackItem.displayName = "XAUI.Stack.Item";
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
var Row = _react.forwardRef.call(void 0, function Row2({ children, asChild = false, style, ...props }, ref) {
|
|
118
|
-
const [styleProps, rest] =
|
|
119
|
-
const Root = asChild ?
|
|
118
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
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";
|
|
@@ -126,8 +126,8 @@ Row.displayName = "XAUI.Row";
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
var Column = _react.forwardRef.call(void 0, function Column2({ children, asChild = false, style, ...props }, ref) {
|
|
129
|
-
const [styleProps, rest] =
|
|
130
|
-
const Root = asChild ?
|
|
129
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
130
|
+
const Root = asChild ? _chunk7GHM4GKLcjs.Slot : _reactnative.View;
|
|
131
131
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
132
132
|
Root,
|
|
133
133
|
{
|