@xaui/native 0.9.1-alpha.35 → 0.9.1-alpha.37
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-ZC35YYKS.js → chunk-2PMXMKS5.js} +13 -8
- package/dist/{chunk-CYS6U374.cjs → chunk-3P6M2R4S.cjs} +6 -6
- package/dist/{chunk-7CTIE42J.cjs → chunk-437QULXO.cjs} +16 -8
- package/dist/{chunk-M2BGCN77.js → chunk-4PTWZCOK.js} +9 -9
- package/dist/{chunk-ZA6RT3XQ.js → chunk-5PPNDKRX.js} +16 -16
- package/dist/{chunk-AYOVBZAX.js → chunk-6G3XWPNP.js} +5 -5
- package/dist/{chunk-PCWT2YBE.cjs → chunk-7B3UBUC6.cjs} +3 -3
- package/dist/{chunk-HXL2QCMR.js → chunk-7LSY4WFL.js} +14 -14
- package/dist/{chunk-OHEHPQLC.cjs → chunk-ACAPTWE3.cjs} +16 -12
- package/dist/{chunk-I66VMLHE.cjs → chunk-AP6RVIIK.cjs} +21 -21
- package/dist/{chunk-UR6DNU2M.js → chunk-BORJJYDW.js} +4 -4
- package/dist/{chunk-XWMB66ZM.cjs → chunk-C5VDFRAD.cjs} +3 -3
- package/dist/{chunk-PBR44KVV.cjs → chunk-CUQTAPBU.cjs} +22 -22
- package/dist/{chunk-QY4MN7X3.cjs → chunk-DKH6BNPF.cjs} +15 -15
- package/dist/{chunk-6M7RUU7V.cjs → chunk-DRMT346W.cjs} +64 -64
- package/dist/chunk-DVDQSW7U.cjs +1006 -0
- package/dist/{chunk-NMAZ2TQF.js → chunk-E3X5ODKQ.js} +3 -3
- package/dist/{chunk-U3RDU3HU.js → chunk-EOJ5MYAQ.js} +5 -5
- package/dist/{chunk-UORTYL63.cjs → chunk-FTQHDJYL.cjs} +14 -14
- package/dist/{chunk-DBXFFJTC.cjs → chunk-GTT4NHS2.cjs} +11 -11
- package/dist/{chunk-WJPQARJ5.js → chunk-HXW4ANVB.js} +3 -3
- package/dist/{chunk-MSMZBUZO.cjs → chunk-IGLKACSR.cjs} +7 -7
- package/dist/{chunk-HNW4HIMO.js → chunk-IKJVLJKT.js} +15 -15
- package/dist/{chunk-CNNLMMFV.cjs → chunk-ITURCQMQ.cjs} +7 -7
- package/dist/{chunk-DUQUCOUY.cjs → chunk-JB5LGQ54.cjs} +3 -3
- package/dist/{chunk-NLASSGA7.js → chunk-JDSE4TQL.js} +10 -2
- package/dist/{chunk-GBFQZQ77.js → chunk-JXNFOOKC.js} +7 -7
- package/dist/{chunk-Q3D6KIVF.cjs → chunk-LEWW24RQ.cjs} +105 -99
- package/dist/{chunk-MEYCZS32.js → chunk-M63GFNKV.js} +19 -4
- package/dist/chunk-MESKS6AI.js +0 -0
- package/dist/{chunk-MHEL3NAN.js → chunk-NKPTXTTS.js} +53 -53
- package/dist/{chunk-VSALV7VO.cjs → chunk-NTD3NPRX.cjs} +3 -3
- package/dist/{chunk-HVD5EX7V.js → chunk-O3A3DBSZ.js} +3 -3
- package/dist/chunk-OJCCV65P.cjs +1 -0
- package/dist/{chunk-JCYWU5TO.js → chunk-OULTSBKU.js} +3 -3
- package/dist/{chunk-CM4LI5OH.cjs → chunk-P747CRAY.cjs} +9 -9
- package/dist/{chunk-BA2MPBCO.js → chunk-RGKWNK4T.js} +58 -58
- package/dist/{chunk-NFFL3E4N.js → chunk-RVRVGG73.js} +4 -4
- package/dist/{chunk-L55CDXNI.js → chunk-SMW6ZWMH.js} +110 -104
- package/dist/{chunk-YUG22AXX.cjs → chunk-SNIHUKDA.cjs} +16 -16
- package/dist/{chunk-SLUJFE6R.js → chunk-SO5UAGIU.js} +15 -15
- package/dist/{chunk-2IWL6R3D.js → chunk-TDYPY2J7.js} +8 -8
- package/dist/{chunk-LZK77LFX.js → chunk-TJHYSSBZ.js} +3 -3
- package/dist/{chunk-I6ZB3FZI.cjs → chunk-TK44VBIE.cjs} +22 -7
- package/dist/{chunk-OX2YNMNS.cjs → chunk-UBOXW5WO.cjs} +63 -63
- package/dist/{chunk-XNNJM5DQ.js → chunk-UGF35NSE.js} +75 -75
- package/dist/{chunk-AOEXU5UV.cjs → chunk-VFTT3Q4B.cjs} +4 -4
- package/dist/{chunk-4SLOOIE5.cjs → chunk-WDDXU3OH.cjs} +14 -9
- package/dist/{chunk-TZG3DERP.js → chunk-WKCQ6VGW.js} +15 -11
- package/dist/{chunk-TVCS5UOE.cjs → chunk-WVLSQO6K.cjs} +49 -49
- package/dist/chunk-XWY4DF37.js +1143 -0
- package/dist/{chunk-K7LLERKT.cjs → chunk-ZJWEVFAO.cjs} +12 -12
- package/dist/components/alert/index.cjs +7 -8
- package/dist/components/alert/index.d.cts +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.js +6 -7
- package/dist/components/avatar/index.cjs +4 -5
- 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 -4
- package/dist/components/badge/index.cjs +3 -4
- 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 -3
- package/dist/components/button/index.cjs +6 -7
- package/dist/components/button/index.d.cts +168 -168
- package/dist/components/button/index.d.ts +168 -168
- package/dist/components/button/index.js +5 -6
- package/dist/components/card/index.cjs +5 -6
- package/dist/components/card/index.d.cts +169 -169
- package/dist/components/card/index.d.ts +169 -169
- package/dist/components/card/index.js +4 -5
- package/dist/components/checkbox/index.cjs +5 -6
- package/dist/components/checkbox/index.d.cts +336 -336
- package/dist/components/checkbox/index.d.ts +336 -336
- package/dist/components/checkbox/index.js +4 -5
- package/dist/components/chip/index.cjs +7 -8
- package/dist/components/chip/index.d.cts +169 -169
- package/dist/components/chip/index.d.ts +169 -169
- package/dist/components/chip/index.js +6 -7
- package/dist/components/divider/index.cjs +3 -4
- package/dist/components/divider/index.d.cts +1 -1
- package/dist/components/divider/index.d.ts +1 -1
- package/dist/components/divider/index.js +2 -3
- package/dist/components/field-group/index.cjs +27 -0
- package/dist/components/{input-group → field-group}/index.d.cts +66 -66
- package/dist/components/{input-group → field-group}/index.d.ts +66 -66
- package/dist/components/field-group/index.js +27 -0
- package/dist/components/input-otp/index.cjs +3 -4
- package/dist/components/input-otp/index.d.cts +1 -1
- package/dist/components/input-otp/index.d.ts +1 -1
- package/dist/components/input-otp/index.js +2 -3
- package/dist/components/radio/index.cjs +5 -6
- package/dist/components/radio/index.d.cts +336 -336
- package/dist/components/radio/index.d.ts +336 -336
- package/dist/components/radio/index.js +4 -5
- package/dist/components/select/index.cjs +47 -0
- package/dist/components/select/index.d.cts +519 -0
- package/dist/components/select/index.d.ts +519 -0
- package/dist/components/select/index.js +47 -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 +4 -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 +3 -4
- package/dist/components/switch/index.cjs +5 -6
- package/dist/components/switch/index.d.cts +338 -338
- package/dist/components/switch/index.d.ts +338 -338
- package/dist/components/switch/index.js +4 -5
- package/dist/components/text-area/index.cjs +4 -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 +3 -4
- package/dist/components/text-field/index.cjs +25 -0
- package/dist/components/text-field/index.d.cts +205 -0
- package/dist/components/text-field/index.d.ts +205 -0
- package/dist/components/text-field/index.js +25 -0
- package/dist/components/typography/index.cjs +3 -4
- package/dist/components/typography/index.d.cts +2 -2
- package/dist/components/typography/index.d.ts +2 -2
- package/dist/components/typography/index.js +2 -3
- package/dist/components/view/index.cjs +3 -4
- package/dist/components/view/index.d.cts +6 -6
- package/dist/components/view/index.d.ts +6 -6
- package/dist/components/view/index.js +2 -3
- package/dist/index.cjs +64 -28
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +100 -64
- package/dist/system/index.cjs +10 -10
- package/dist/system/index.d.cts +15 -2
- package/dist/system/index.d.ts +15 -2
- package/dist/system/index.js +8 -8
- 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 +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 +26 -16
- package/dist/chunk-GGW42MY4.js +0 -20
- package/dist/chunk-MC7SY2QH.cjs +0 -20
- package/dist/components/input/index.cjs +0 -26
- package/dist/components/input/index.d.cts +0 -205
- package/dist/components/input/index.d.ts +0 -205
- 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
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createRecipe
|
|
6
6
|
} from "./chunk-4GTAZM2C.js";
|
|
7
|
-
import {
|
|
8
|
-
useStyleProps
|
|
9
|
-
} from "./chunk-MEYCZS32.js";
|
|
10
7
|
import {
|
|
11
8
|
alpha,
|
|
12
9
|
useXAUITheme
|
|
13
10
|
} from "./chunk-A3EGFI6T.js";
|
|
11
|
+
import {
|
|
12
|
+
useStyleProps
|
|
13
|
+
} from "./chunk-M63GFNKV.js";
|
|
14
14
|
|
|
15
15
|
// src/components/spinner/spinner.tsx
|
|
16
16
|
import { forwardRef } from "react";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PressableFeedback
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
usePressState
|
|
6
|
-
} from "./chunk-423RQBOX.js";
|
|
3
|
+
} from "./chunk-UGF35NSE.js";
|
|
7
4
|
import {
|
|
8
5
|
warnDev
|
|
9
6
|
} from "./chunk-EGLLDKN6.js";
|
|
7
|
+
import {
|
|
8
|
+
usePressState
|
|
9
|
+
} from "./chunk-423RQBOX.js";
|
|
10
10
|
import {
|
|
11
11
|
useStyleProps
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M63GFNKV.js";
|
|
13
13
|
|
|
14
14
|
// src/system/close-button/close-button.tsx
|
|
15
15
|
import { forwardRef } from "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
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 _chunkDRMT346Wcjs = require('./chunk-DRMT346W.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -17,10 +17,10 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
17
17
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
24
24
|
|
|
25
25
|
// src/components/card/card-background.tsx
|
|
26
26
|
var _react = require('react');
|
|
@@ -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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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
|
+
_chunkDRMT346Wcjs.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, _chunkDRMT346Wcjs.PressableFeedback.Highlight, {}),
|
|
407
407
|
body
|
|
408
408
|
] })
|
|
409
409
|
}
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
var _chunkK4TWKF5Ucjs = require('./chunk-K4TWKF5U.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk7B3UBUC6cjs = require('./chunk-7B3UBUC6.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkDRMT346Wcjs = require('./chunk-DRMT346W.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -23,10 +23,10 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
23
23
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
30
30
|
|
|
31
31
|
// src/components/button/button.context.ts
|
|
32
32
|
var [ButtonProvider, useButton] = _chunk54FJOKANcjs.createSlotContext.call(void 0, "Button");
|
|
@@ -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, _chunk7B3UBUC6cjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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
|
+
_chunkDRMT346Wcjs.PressableFeedback,
|
|
279
279
|
{
|
|
280
280
|
ref,
|
|
281
281
|
isPressed,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useStyleProps
|
|
3
|
-
} from "./chunk-MEYCZS32.js";
|
|
4
1
|
import {
|
|
5
2
|
useXAUITheme
|
|
6
3
|
} from "./chunk-A3EGFI6T.js";
|
|
4
|
+
import {
|
|
5
|
+
useStyleProps
|
|
6
|
+
} from "./chunk-M63GFNKV.js";
|
|
7
7
|
|
|
8
8
|
// src/system/icon/icon-context.ts
|
|
9
9
|
import { createContext, useContext } from "react";
|
|
@@ -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 _chunkDRMT346Wcjs = require('./chunk-DRMT346W.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -20,10 +20,10 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
20
20
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
27
27
|
|
|
28
28
|
// src/components/radio/radio-indicator.tsx
|
|
29
29
|
var _react = require('react');
|
|
@@ -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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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] = _chunkTK44VBIEcjs.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
|
+
_chunkDRMT346Wcjs.PressableFeedback,
|
|
256
256
|
{
|
|
257
257
|
ref,
|
|
258
258
|
isPressed,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRecipe, radiusAxis } from "./chunk-4GTAZM2C.js";
|
|
2
|
-
import { useStyleProps } from "./chunk-MEYCZS32.js";
|
|
3
2
|
import { useXAUITheme } from "./chunk-A3EGFI6T.js";
|
|
3
|
+
import { useStyleProps } from "./chunk-M63GFNKV.js";
|
|
4
4
|
|
|
5
5
|
// src/components/skeleton/skeleton.tsx
|
|
6
6
|
import { forwardRef, useEffect } from "react";
|
|
@@ -100,10 +100,10 @@ var Skeleton = forwardRef(function Skeleton2({
|
|
|
100
100
|
});
|
|
101
101
|
});
|
|
102
102
|
Skeleton.displayName = "XAUI.Skeleton";
|
|
103
|
-
const
|
|
104
|
-
code: "function
|
|
105
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
106
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
103
|
+
const _worklet_948977267547_init_data = {
|
|
104
|
+
code: "function chunkIKJVLJKTJs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
105
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IKJVLJKT.js",
|
|
106
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkIKJVLJKTJs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IKJVLJKT.js\"],\"mappings\":\"AAyF2C,SAAAA,gBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE3C,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
|
|
107
107
|
};
|
|
108
108
|
var PulsingBlock = forwardRef(function PulsingBlock2({
|
|
109
109
|
style,
|
|
@@ -119,26 +119,26 @@ var PulsingBlock = forwardRef(function PulsingBlock2({
|
|
|
119
119
|
true);
|
|
120
120
|
return () => cancelAnimation(opacity);
|
|
121
121
|
}, [opacity]);
|
|
122
|
-
const animatedStyle = useAnimatedStyle(function
|
|
123
|
-
|
|
122
|
+
const animatedStyle = useAnimatedStyle(function chunkIKJVLJKTJs1Factory({
|
|
123
|
+
_worklet_948977267547_init_data,
|
|
124
124
|
opacity
|
|
125
125
|
}) {
|
|
126
126
|
const _e = [new global.Error(), -2, -27];
|
|
127
|
-
const
|
|
127
|
+
const chunkIKJVLJKTJs1 = function () {
|
|
128
128
|
return {
|
|
129
129
|
opacity: opacity.value
|
|
130
130
|
};
|
|
131
131
|
};
|
|
132
|
-
|
|
132
|
+
chunkIKJVLJKTJs1.__closure = {
|
|
133
133
|
opacity
|
|
134
134
|
};
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
return
|
|
135
|
+
chunkIKJVLJKTJs1.__workletHash = 948977267547;
|
|
136
|
+
chunkIKJVLJKTJs1.__pluginVersion = "0.7.4";
|
|
137
|
+
chunkIKJVLJKTJs1.__initData = _worklet_948977267547_init_data;
|
|
138
|
+
chunkIKJVLJKTJs1.__stackDetails = _e;
|
|
139
|
+
return chunkIKJVLJKTJs1;
|
|
140
140
|
}({
|
|
141
|
-
|
|
141
|
+
_worklet_948977267547_init_data,
|
|
142
142
|
opacity
|
|
143
143
|
}), [opacity]);
|
|
144
144
|
return /* @__PURE__ */jsx(Animated.View, {
|
|
@@ -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 _chunkDRMT346Wcjs = require('./chunk-DRMT346W.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -20,10 +20,10 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
20
20
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
27
27
|
|
|
28
28
|
// src/components/checkbox/checkbox-indicator.tsx
|
|
29
29
|
var _react = require('react');
|
|
@@ -37,7 +37,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
37
37
|
var CheckboxIndicator = _react.forwardRef.call(void 0,
|
|
38
38
|
function CheckboxIndicator2({ children, animation = true, style, ...props }, ref) {
|
|
39
39
|
const { indicatorStyle, fillStyle, isSelected, isIndeterminate } = useCheckbox();
|
|
40
|
-
const [styleProps, rest] =
|
|
40
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
41
41
|
const isFilled = isSelected || isIndeterminate;
|
|
42
42
|
const mark = _nullishCoalesce(children, () => ( (isIndeterminate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Dash, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Check, {}))));
|
|
43
43
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, ...rest, style: [indicatorStyle, styleProps, style], children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6CQ6CBIcjs.SelectionFill, { isVisible: isFilled, style: fillStyle, animation, children: mark }) });
|
|
@@ -60,7 +60,7 @@ function Dash() {
|
|
|
60
60
|
var CheckboxLabel = _react.forwardRef.call(void 0,
|
|
61
61
|
function CheckboxLabel2({ children, style, ...props }, ref) {
|
|
62
62
|
const { labelStyle } = useCheckbox();
|
|
63
|
-
const [styleProps, rest] =
|
|
63
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
64
64
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [labelStyle, styleProps, style], ...rest, children });
|
|
65
65
|
}
|
|
66
66
|
);
|
|
@@ -250,7 +250,7 @@ var CheckboxRoot = _react.forwardRef.call(void 0, function Checkbox({
|
|
|
250
250
|
...props
|
|
251
251
|
}, ref) {
|
|
252
252
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
|
|
253
|
-
const [styleProps, rest] =
|
|
253
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
254
254
|
const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
|
|
255
255
|
const [selected, setSelected] = _chunk7EIHHOHPcjs.useControllableState.call(void 0, {
|
|
256
256
|
value: isSelected,
|
|
@@ -303,7 +303,7 @@ var CheckboxRoot = _react.forwardRef.call(void 0, function Checkbox({
|
|
|
303
303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxLabel, { children: text })
|
|
304
304
|
] }) : _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxIndicator, {})));
|
|
305
305
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
306
|
-
|
|
306
|
+
_chunkDRMT346Wcjs.PressableFeedback,
|
|
307
307
|
{
|
|
308
308
|
ref,
|
|
309
309
|
isPressed,
|
|
@@ -8,10 +8,10 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
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,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-YXPYOOHU.js";
|
|
4
4
|
import {
|
|
5
5
|
useStyleProps
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M63GFNKV.js";
|
|
7
7
|
|
|
8
8
|
// src/components/view/grid.tsx
|
|
9
9
|
import { Children, forwardRef, useMemo, useState } from "react";
|
|
@@ -128,7 +128,15 @@ import { jsx as jsx6 } from "react/jsx-runtime";
|
|
|
128
128
|
var Column = forwardRef6(function Column2({ children, asChild = false, style, ...props }, ref) {
|
|
129
129
|
const [styleProps, rest] = useStyleProps(props);
|
|
130
130
|
const Root = asChild ? Slot : View6;
|
|
131
|
-
return /* @__PURE__ */ jsx6(
|
|
131
|
+
return /* @__PURE__ */ jsx6(
|
|
132
|
+
Root,
|
|
133
|
+
{
|
|
134
|
+
ref,
|
|
135
|
+
style: [{ flexDirection: "column" }, styleProps, style],
|
|
136
|
+
...rest,
|
|
137
|
+
children
|
|
138
|
+
}
|
|
139
|
+
);
|
|
132
140
|
});
|
|
133
141
|
Column.displayName = "XAUI.Column";
|
|
134
142
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PressableFeedback
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
usePressState
|
|
6
|
-
} from "./chunk-423RQBOX.js";
|
|
3
|
+
} from "./chunk-UGF35NSE.js";
|
|
7
4
|
import {
|
|
8
5
|
warnDev
|
|
9
6
|
} from "./chunk-EGLLDKN6.js";
|
|
7
|
+
import {
|
|
8
|
+
usePressState
|
|
9
|
+
} from "./chunk-423RQBOX.js";
|
|
10
10
|
import {
|
|
11
11
|
Slot,
|
|
12
12
|
childrenToString,
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
createRecipe
|
|
17
17
|
} from "./chunk-4GTAZM2C.js";
|
|
18
|
-
import {
|
|
19
|
-
useStyleProps
|
|
20
|
-
} from "./chunk-MEYCZS32.js";
|
|
21
18
|
import {
|
|
22
19
|
useXAUITheme
|
|
23
20
|
} from "./chunk-A3EGFI6T.js";
|
|
21
|
+
import {
|
|
22
|
+
useStyleProps
|
|
23
|
+
} from "./chunk-M63GFNKV.js";
|
|
24
24
|
|
|
25
25
|
// src/components/card/card-background.tsx
|
|
26
26
|
import { forwardRef } from "react";
|