@xaui/native 0.9.1-beta.95 → 0.9.1-beta.96
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-AXKDHX5V.cjs → chunk-2IOL3VDP.cjs} +3 -3
- package/dist/{chunk-LUPU7FJK.js → chunk-356DND54.js} +1 -1
- package/dist/{chunk-B5DBFS6M.js → chunk-3BRVAMXQ.js} +1 -1
- package/dist/{chunk-YJIVPYMG.cjs → chunk-3CI4JGY4.cjs} +14 -14
- package/dist/{chunk-4LRVB6WR.cjs → chunk-3DQCHPB6.cjs} +12 -12
- package/dist/{chunk-X6GT4H4I.cjs → chunk-3TBT6ORW.cjs} +15 -15
- package/dist/{chunk-DN3X5WIB.js → chunk-3VMKOQXH.js} +1 -1
- package/dist/{chunk-WPYJW3WM.cjs → chunk-435MOVG2.cjs} +3 -3
- package/dist/{chunk-NGXLJ5ZF.cjs → chunk-4R4SIP22.cjs} +22 -22
- package/dist/{chunk-V4IFH65I.cjs → chunk-5CXOSDFI.cjs} +2 -2
- package/dist/{chunk-5XTF2JDK.js → chunk-5G36GMFS.js} +1 -1
- package/dist/{chunk-VBS6VWW4.cjs → chunk-5UT5I53X.cjs} +3 -3
- package/dist/{chunk-5O7E73QP.cjs → chunk-7CGF3Z5S.cjs} +6 -6
- package/dist/{chunk-7OVYYZ7H.js → chunk-7EPH24S2.js} +15 -15
- package/dist/{chunk-G2YHGLN3.cjs → chunk-7JWOAGB3.cjs} +9 -9
- package/dist/{chunk-6SRFQSPR.cjs → chunk-ADGHFLBJ.cjs} +1 -1
- package/dist/{chunk-E4FWGZH2.js → chunk-AMFGATFY.js} +2 -2
- package/dist/{chunk-X22PLAP6.cjs → chunk-BGBJTBFC.cjs} +1 -1
- package/dist/{chunk-33BA4LVN.js → chunk-BH4IN6H6.js} +1 -1
- package/dist/{chunk-WLWZG2PA.cjs → chunk-BKY5YQ7W.cjs} +1 -1
- package/dist/{chunk-AHJLQJOE.cjs → chunk-C2S6J27O.cjs} +1 -1
- package/dist/{chunk-53E2E7GS.cjs → chunk-CP6AB6N5.cjs} +15 -15
- package/dist/{chunk-WYRM77XM.cjs → chunk-ENZBKNFJ.cjs} +15 -15
- package/dist/{chunk-BYDGJU5A.js → chunk-ES7RME6G.js} +3 -3
- package/dist/{chunk-KFB24VYT.js → chunk-EXONAJUX.js} +15 -15
- package/dist/{chunk-ERIGD4SE.cjs → chunk-FWAP4WAJ.cjs} +18 -18
- package/dist/{chunk-KMK6FUTK.cjs → chunk-FZXWZNYY.cjs} +9 -9
- package/dist/{chunk-K7VDLVLE.js → chunk-GKXOHUEW.js} +3 -3
- package/dist/{chunk-6W45YHTF.js → chunk-HDERVGWZ.js} +1 -1
- package/dist/{chunk-KHPODIQV.cjs → chunk-IHRPAKCZ.cjs} +15 -15
- package/dist/{chunk-2XEQDQAN.js → chunk-IVELCJEN.js} +99 -99
- package/dist/{chunk-5YZUYSV7.js → chunk-JYV53WUN.js} +1 -1
- package/dist/{chunk-DE4RSR7Q.cjs → chunk-KAYZH7ZN.cjs} +1 -1
- package/dist/{chunk-IMIY34F4.cjs → chunk-KIXHSX3L.cjs} +1 -1
- package/dist/{chunk-7M6YKCHX.js → chunk-KZZWNDDO.js} +2 -2
- package/dist/{chunk-OZLOYXLW.js → chunk-L6EWRWTE.js} +2 -2
- package/dist/{chunk-EQUD3NHO.js → chunk-LYWXGEED.js} +43 -43
- package/dist/{chunk-XOZMGNVS.js → chunk-MXSIY6QQ.js} +3 -3
- package/dist/{chunk-3CPLJJWX.js → chunk-MZUYTCCB.js} +1 -1
- package/dist/{chunk-NADCILBL.cjs → chunk-NRU5APUE.cjs} +4 -4
- package/dist/{chunk-43S673KF.js → chunk-NTVPLDJC.js} +1 -1
- package/dist/{chunk-7AVZ2FST.cjs → chunk-NXVSNESK.cjs} +12 -12
- package/dist/{chunk-4AIIAF6U.js → chunk-SRY3HKSC.js} +16 -16
- package/dist/{chunk-YOPWQHNO.js → chunk-TNFLBURM.js} +1 -1
- package/dist/{chunk-YCQEX25B.cjs → chunk-U6YD3UBO.cjs} +7 -7
- package/dist/{chunk-GN7BWYXP.cjs → chunk-USQK6SFZ.cjs} +15 -15
- package/dist/{chunk-YGETADPV.js → chunk-V7YT4SDX.js} +2 -2
- package/dist/{chunk-DBP5CA5R.js → chunk-VL2ZT4BB.js} +3 -3
- package/dist/{chunk-E5E2QA4K.js → chunk-VQG7K5QE.js} +15 -15
- package/dist/{chunk-Q6OVVUAT.js → chunk-VTGWFZCA.js} +2 -2
- package/dist/{chunk-MNBEUNC5.cjs → chunk-WH7MFY3H.cjs} +18 -18
- package/dist/{chunk-OX23MW5E.js → chunk-WMTGDNXU.js} +44 -44
- package/dist/{chunk-2TLPFGGR.cjs → chunk-XCEDD7PE.cjs} +24 -24
- package/dist/{chunk-J5COSALO.cjs → chunk-XILRXEUL.cjs} +2 -2
- package/dist/{chunk-AIHKBSQ5.cjs → chunk-YUCK5VJO.cjs} +8 -8
- package/dist/{chunk-YI5D4QZP.js → chunk-Z2KK5W7P.js} +15 -15
- package/dist/{chunk-SX5U5UJQ.js → chunk-ZBY7Q7WJ.js} +2 -2
- package/dist/{chunk-U5CUBDJA.js → chunk-ZR5YOCOQ.js} +15 -15
- package/dist/components/accordion/accordion.animation.d.cts +1 -1
- package/dist/components/accordion/accordion.animation.d.ts +1 -1
- package/dist/components/accordion/accordion.type.d.cts +1 -1
- package/dist/components/accordion/accordion.type.d.ts +1 -1
- package/dist/components/accordion/index.cjs +2 -2
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/alert-icon.d.cts +2 -2
- package/dist/components/alert/alert-icon.d.ts +2 -2
- package/dist/components/alert/alert.type.d.cts +1 -1
- package/dist/components/alert/alert.type.d.ts +1 -1
- package/dist/components/alert/index.cjs +2 -2
- package/dist/components/alert/index.js +1 -1
- package/dist/components/autocomplete/index.cjs +3 -3
- package/dist/components/autocomplete/index.js +2 -2
- package/dist/components/avatar/avatar-fallback.d.cts +1 -1
- package/dist/components/avatar/avatar-fallback.d.ts +1 -1
- package/dist/components/avatar/avatar.d.cts +1 -1
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.type.d.cts +1 -1
- package/dist/components/avatar/avatar.type.d.ts +1 -1
- package/dist/components/avatar/index.cjs +2 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.cts +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +1 -1
- package/dist/components/bottom-sheet/index.cjs +2 -2
- package/dist/components/bottom-sheet/index.js +1 -1
- package/dist/components/card/card-background.d.cts +1 -1
- package/dist/components/card/card-background.d.ts +1 -1
- package/dist/components/card/card.utils.d.cts +1 -1
- package/dist/components/card/card.utils.d.ts +1 -1
- package/dist/components/checkbox/checkbox.recipe.d.cts +1 -1
- package/dist/components/checkbox/checkbox.recipe.d.ts +1 -1
- package/dist/components/checkbox/checkbox.type.d.cts +1 -1
- package/dist/components/checkbox/checkbox.type.d.ts +1 -1
- package/dist/components/checkbox/index.cjs +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/chip/chip.type.d.cts +1 -1
- package/dist/components/chip/chip.type.d.ts +1 -1
- package/dist/components/chip/index.cjs +2 -2
- package/dist/components/chip/index.js +1 -1
- package/dist/components/color-picker/index.cjs +7 -7
- package/dist/components/color-picker/index.js +6 -6
- package/dist/components/combobox/index.cjs +4 -4
- package/dist/components/combobox/index.js +3 -3
- package/dist/components/date-picker/index.cjs +4 -4
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/date-range-picker/index.cjs +4 -4
- package/dist/components/date-range-picker/index.js +3 -3
- package/dist/components/date-time-picker/index.cjs +5 -5
- package/dist/components/date-time-picker/index.js +4 -4
- package/dist/components/dialog/index.cjs +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dummy-field/index.cjs +5 -5
- package/dist/components/dummy-field/index.js +4 -4
- package/dist/components/field-group/field-group-icon.d.cts +1 -1
- package/dist/components/field-group/field-group-icon.d.ts +1 -1
- package/dist/components/field-group/index.cjs +4 -4
- package/dist/components/field-group/index.js +3 -3
- package/dist/components/input-otp/input-otp.type.d.cts +1 -1
- package/dist/components/input-otp/input-otp.type.d.ts +1 -1
- package/dist/components/list-box/list-box-item-suffix.d.cts +1 -1
- package/dist/components/list-box/list-box-item-suffix.d.ts +1 -1
- package/dist/components/mask-field/index.cjs +5 -5
- package/dist/components/mask-field/index.js +4 -4
- package/dist/components/menu/index.cjs +2 -2
- package/dist/components/menu/index.js +1 -1
- package/dist/components/number-field/index.cjs +5 -5
- package/dist/components/number-field/index.js +4 -4
- package/dist/components/phone-number-field/index.cjs +22 -22
- package/dist/components/phone-number-field/index.js +4 -4
- package/dist/components/popover/index.cjs +2 -2
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.recipe.d.cts +1 -1
- package/dist/components/popover/popover.recipe.d.ts +1 -1
- package/dist/components/search-field/index.cjs +5 -5
- package/dist/components/search-field/index.js +4 -4
- package/dist/components/select/index.cjs +3 -3
- package/dist/components/select/index.js +2 -2
- package/dist/components/select/select-indicator.d.cts +1 -1
- package/dist/components/select/select-indicator.d.ts +1 -1
- package/dist/components/skeleton/skeleton.type.d.cts +1 -1
- package/dist/components/skeleton/skeleton.type.d.ts +1 -1
- package/dist/components/slider/slider-thumb.d.cts +1 -1
- package/dist/components/slider/slider-thumb.d.ts +1 -1
- package/dist/components/slider/slider.recipe.d.cts +1 -1
- package/dist/components/slider/slider.recipe.d.ts +1 -1
- package/dist/components/spinner/spinner.d.cts +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/switch/switch.style.d.cts +1 -1
- package/dist/components/switch/switch.style.d.ts +1 -1
- package/dist/components/table/index.cjs +3 -3
- package/dist/components/table/index.js +2 -2
- package/dist/components/text-area/index.cjs +4 -4
- package/dist/components/text-area/index.js +3 -3
- package/dist/components/text-area/text-area.d.cts +1 -1
- package/dist/components/text-area/text-area.d.ts +1 -1
- package/dist/components/text-field/index.cjs +3 -3
- package/dist/components/text-field/index.js +2 -2
- package/dist/components/text-field/text-field.type.d.cts +4 -4
- package/dist/components/text-field/text-field.type.d.ts +4 -4
- package/dist/components/time-picker/index.cjs +4 -4
- package/dist/components/time-picker/index.js +3 -3
- package/dist/components/toast/index.cjs +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/toast.animation.d.cts +2 -2
- package/dist/components/toast/toast.animation.d.ts +2 -2
- package/dist/components/toast/toast.utils.d.cts +1 -1
- package/dist/components/toast/toast.utils.d.ts +1 -1
- package/dist/components/typography/typography.type.d.cts +1 -1
- package/dist/components/typography/typography.type.d.ts +1 -1
- package/dist/hooks/use-rotation.d.cts +1 -1
- package/dist/hooks/use-rotation.d.ts +1 -1
- package/dist/index.cjs +30 -30
- package/dist/index.js +29 -29
- package/dist/system/anchored/indicator-spring.d.cts +2 -2
- package/dist/system/anchored/indicator-spring.d.ts +2 -2
- package/dist/theme/derive-colors.d.cts +1 -1
- package/dist/theme/derive-colors.d.ts +1 -1
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkGSZDN6EZcjs = require('./chunk-GSZDN6EZ.cjs');
|
|
@@ -50,7 +50,7 @@ var FieldGroupField = _react.forwardRef.call(void 0,
|
|
|
50
50
|
() => decoratorPadding(prefixWidth, suffixWidth),
|
|
51
51
|
[prefixWidth, suffixWidth]
|
|
52
52
|
);
|
|
53
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
53
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldField, { ref, ...props, style: [padding, style] });
|
|
54
54
|
}
|
|
55
55
|
);
|
|
56
56
|
FieldGroupField.displayName = "XAUI.FieldGroup.Field";
|
|
@@ -58,7 +58,7 @@ FieldGroupField.displayName = "XAUI.FieldGroup.Field";
|
|
|
58
58
|
// src/components/field-group/field-group-icon.tsx
|
|
59
59
|
|
|
60
60
|
function FieldGroupIcon({ size, color, ...rest }) {
|
|
61
|
-
const { icon } =
|
|
61
|
+
const { icon } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
62
62
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.Icon, { size: _nullishCoalesce(size, () => ( icon.size)), color: _nullishCoalesce(color, () => ( icon.color)), ...rest });
|
|
63
63
|
}
|
|
64
64
|
FieldGroupIcon.displayName = "XAUI.FieldGroup.Icon";
|
|
@@ -72,7 +72,7 @@ var _reactnative = require('react-native');
|
|
|
72
72
|
|
|
73
73
|
var FieldGroupDecorator = _react.forwardRef.call(void 0,
|
|
74
74
|
function FieldGroupDecorator2({ side, children, isDecorative = false, onLayout, style, ...props }, ref) {
|
|
75
|
-
const { prefixStyle, suffixStyle, isDisabled } =
|
|
75
|
+
const { prefixStyle, suffixStyle, isDisabled } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
76
76
|
const { setPrefixWidth, setSuffixWidth } = useFieldGroup();
|
|
77
77
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
78
78
|
const report = side === "prefix" ? setPrefixWidth : setSuffixWidth;
|
|
@@ -196,7 +196,7 @@ var textFieldRecipe = createRecipe({
|
|
|
196
196
|
borderWidth: theme.borderWidth.field,
|
|
197
197
|
// The theme has a radius named for this component, so every size uses it and the
|
|
198
198
|
// `radius` axis is what overrides it — the same shape a `Chip` takes from `full`.
|
|
199
|
-
// It is
|
|
199
|
+
// It is the reference implementation's twelve points since the scale was aligned on theirs; it was 21,
|
|
200
200
|
// which put a 48-tall field at 87% of its geometric maximum.
|
|
201
201
|
borderRadius: theme.radius.field,
|
|
202
202
|
borderCurve: "continuous",
|
|
@@ -10,7 +10,7 @@ var _chunkMPYBJSS7cjs = require('./chunk-MPYBJSS7.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkNRU5APUEcjs = require('./chunk-NRU5APUE.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ var _chunkNADCILBLcjs = require('./chunk-NADCILBL.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkSL3V7R2Ycjs = require('./chunk-SL3V7R2Y.cjs');
|
|
@@ -45,7 +45,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
45
45
|
var HIT_SLOP = 12;
|
|
46
46
|
var sheet = _reactnative.StyleSheet.create({ upright: { transform: [{ rotate: "90deg" }] } });
|
|
47
47
|
var StepButton = _react.forwardRef.call(void 0, function StepButton2({ name, hasUpright, onPress, isLive, accessibilityLabel, children }, ref) {
|
|
48
|
-
const { isDisabled } =
|
|
48
|
+
const { isDisabled } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
49
49
|
const { stepButtonStyle, stepGlyphStyle, stepExhaustedStyle } = useNumberField();
|
|
50
50
|
if (!accessibilityLabel) {
|
|
51
51
|
_chunkEJQCQPETcjs.warnDev.call(void 0,
|
|
@@ -77,7 +77,7 @@ StepButton.displayName = "XAUI.NumberField.StepButton";
|
|
|
77
77
|
var NumberFieldDecrement = _react.forwardRef.call(void 0,
|
|
78
78
|
function NumberFieldDecrement2({ accessibilityLabel, children, ...props }, ref) {
|
|
79
79
|
const { decrement, canDecrement } = useNumberField();
|
|
80
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
80
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNRU5APUEcjs.FieldGroupPrefix, { ref, ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
81
81
|
StepButton,
|
|
82
82
|
{
|
|
83
83
|
name: "NumberField.Decrement",
|
|
@@ -98,9 +98,9 @@ NumberFieldDecrement.displayName = "XAUI.NumberField.Decrement";
|
|
|
98
98
|
var NumberFieldField = _react.forwardRef.call(void 0,
|
|
99
99
|
function NumberFieldField2({ keyboardType, onFocus, onBlur, style, ...props }, ref) {
|
|
100
100
|
const { text, onType, onEditStart, onEditEnd, keyboard } = useNumberField();
|
|
101
|
-
const group =
|
|
101
|
+
const group = _chunkNRU5APUEcjs.useOptionalFieldGroup.call(void 0, );
|
|
102
102
|
const padding = _react.useMemo.call(void 0,
|
|
103
|
-
() =>
|
|
103
|
+
() => _chunkNRU5APUEcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _ => _.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _2 => _2.suffixWidth]), () => ( 0))),
|
|
104
104
|
[_optionalChain([group, 'optionalAccess', _3 => _3.prefixWidth]), _optionalChain([group, 'optionalAccess', _4 => _4.suffixWidth])]
|
|
105
105
|
);
|
|
106
106
|
const handleFocus = _react.useCallback.call(void 0,
|
|
@@ -118,7 +118,7 @@ var NumberFieldField = _react.forwardRef.call(void 0,
|
|
|
118
118
|
[onEditEnd, onBlur]
|
|
119
119
|
);
|
|
120
120
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
121
|
-
|
|
121
|
+
_chunk2IOL3VDPcjs.TextFieldField,
|
|
122
122
|
{
|
|
123
123
|
ref,
|
|
124
124
|
keyboardType: _nullishCoalesce(keyboardType, () => ( keyboard)),
|
|
@@ -140,7 +140,7 @@ NumberFieldField.displayName = "XAUI.NumberField.Field";
|
|
|
140
140
|
var NumberFieldIncrement = _react.forwardRef.call(void 0,
|
|
141
141
|
function NumberFieldIncrement2({ accessibilityLabel, children, ...props }, ref) {
|
|
142
142
|
const { increment, canIncrement } = useNumberField();
|
|
143
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
143
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNRU5APUEcjs.FieldGroupSuffix, { ref, ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
144
144
|
StepButton,
|
|
145
145
|
{
|
|
146
146
|
name: "NumberField.Increment",
|
|
@@ -311,19 +311,19 @@ var NumberFieldRoot = _react.forwardRef.call(void 0,
|
|
|
311
311
|
styles
|
|
312
312
|
]
|
|
313
313
|
);
|
|
314
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
314
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldRoot, { ref, size, isDisabled, ...props, children }) });
|
|
315
315
|
}
|
|
316
316
|
);
|
|
317
317
|
NumberFieldRoot.displayName = "XAUI.NumberField.Root";
|
|
318
318
|
|
|
319
319
|
// src/components/number-field/index.ts
|
|
320
320
|
var NumberField2 = Object.assign(NumberFieldRoot, {
|
|
321
|
-
Label:
|
|
321
|
+
Label: _chunk2IOL3VDPcjs.TextFieldLabel,
|
|
322
322
|
Field: NumberFieldField,
|
|
323
323
|
Decrement: NumberFieldDecrement,
|
|
324
324
|
Increment: NumberFieldIncrement,
|
|
325
|
-
Description:
|
|
326
|
-
Error:
|
|
325
|
+
Description: _chunk2IOL3VDPcjs.TextFieldDescription,
|
|
326
|
+
Error: _chunk2IOL3VDPcjs.TextFieldError
|
|
327
327
|
});
|
|
328
328
|
|
|
329
329
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EMPTY_RANGE, RangeCalendar } from "./chunk-IAWLQN2W.js";
|
|
2
|
-
import { BottomSheet2 as BottomSheet } from "./chunk-
|
|
3
|
-
import { selectRecipe } from "./chunk-
|
|
2
|
+
import { BottomSheet2 as BottomSheet } from "./chunk-LYWXGEED.js";
|
|
3
|
+
import { selectRecipe } from "./chunk-AMFGATFY.js";
|
|
4
4
|
import { INDICATOR_ROTATION, INDICATOR_SPRING } from "./chunk-64MXEVT3.js";
|
|
5
5
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
6
6
|
import { PressableFeedback } from "./chunk-KQW25RCC.js";
|
|
@@ -201,10 +201,10 @@ DateRangePickerCalendar.displayName = "XAUI.DateRangePicker.Calendar";
|
|
|
201
201
|
import { useEffect } from "react";
|
|
202
202
|
import Animated, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
|
|
203
203
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
204
|
-
const
|
|
205
|
-
code: "function
|
|
206
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
207
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
204
|
+
const _worklet_7109363691336_init_data = {
|
|
205
|
+
code: "function chunkSRY3HKSCJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
206
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-SRY3HKSC.js",
|
|
207
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkSRY3HKSCJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-SRY3HKSC.js\"],\"mappings\":\"AA6PoC,SAAAA,gBAAMA,CAAA,QAAAC,WAAA,CAAAC,QAAA,CAAAC,kBAAA,OAAAC,SAAA,CAEtC,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,WAAW,CAACC,QAAQ,CAACK,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACJ,kBAAkB,CAAC,CAAC,CAAC,CAAEA,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAChG,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
|
|
208
208
|
};
|
|
209
209
|
function DateRangePickerIndicator(props) {
|
|
210
210
|
const {
|
|
@@ -218,32 +218,32 @@ function DateRangePickerIndicator(props) {
|
|
|
218
218
|
useEffect(() => {
|
|
219
219
|
progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
|
|
220
220
|
}, [isOpen, progress]);
|
|
221
|
-
const rotation = useAnimatedStyle(function
|
|
222
|
-
|
|
221
|
+
const rotation = useAnimatedStyle(function chunkSRY3HKSCJs1Factory({
|
|
222
|
+
_worklet_7109363691336_init_data,
|
|
223
223
|
interpolate,
|
|
224
224
|
progress,
|
|
225
225
|
INDICATOR_ROTATION
|
|
226
226
|
}) {
|
|
227
227
|
const _e = [new global.Error(), -4, -27];
|
|
228
|
-
const
|
|
228
|
+
const chunkSRY3HKSCJs1 = function () {
|
|
229
229
|
return {
|
|
230
230
|
transform: [{
|
|
231
231
|
rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
|
|
232
232
|
}]
|
|
233
233
|
};
|
|
234
234
|
};
|
|
235
|
-
|
|
235
|
+
chunkSRY3HKSCJs1.__closure = {
|
|
236
236
|
interpolate,
|
|
237
237
|
progress,
|
|
238
238
|
INDICATOR_ROTATION
|
|
239
239
|
};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
return
|
|
240
|
+
chunkSRY3HKSCJs1.__workletHash = 7109363691336;
|
|
241
|
+
chunkSRY3HKSCJs1.__pluginVersion = "0.7.4";
|
|
242
|
+
chunkSRY3HKSCJs1.__initData = _worklet_7109363691336_init_data;
|
|
243
|
+
chunkSRY3HKSCJs1.__stackDetails = _e;
|
|
244
|
+
return chunkSRY3HKSCJs1;
|
|
245
245
|
}({
|
|
246
|
-
|
|
246
|
+
_worklet_7109363691336_init_data,
|
|
247
247
|
interpolate,
|
|
248
248
|
progress,
|
|
249
249
|
INDICATOR_ROTATION
|
|
@@ -136,7 +136,7 @@ var menuRecipe = createRecipe({
|
|
|
136
136
|
// `flex: 1` is `flexBasis: 0`, and the panel is measured before it has a width: with
|
|
137
137
|
// a basis of zero and no definite width to grow into, the row's content size is
|
|
138
138
|
// nothing and the title collapses. The whole menu measured as a 70-point capsule
|
|
139
|
-
// with no text in it.
|
|
139
|
+
// with no text in it. The reference implementation writes `flex: 1` here and gets away with it because
|
|
140
140
|
// their measuring pass hands the panel a definite width; ours asks the panel how
|
|
141
141
|
// wide it wants to be, which is a question a zero basis cannot answer.
|
|
142
142
|
flexGrow: 1,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkCDRGTUYFcjs = require('./chunk-CDRGTUYF.cjs');
|
|
@@ -23,7 +23,7 @@ var [TextAreaProvider, useTextArea] = _chunkCDRGTUYFcjs.createSlotContext.call(v
|
|
|
23
23
|
var _jsxruntime = require('react/jsx-runtime');
|
|
24
24
|
var TextAreaField = _react.forwardRef.call(void 0,
|
|
25
25
|
function TextAreaField2({ style, scrollEnabled, ...props }, ref) {
|
|
26
|
-
const { textAreaStyle, textArea } =
|
|
26
|
+
const { textAreaStyle, textArea } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
27
27
|
const { rows, maxRows } = useTextArea();
|
|
28
28
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
29
29
|
const height = _react.useMemo.call(void 0, () => {
|
|
@@ -37,7 +37,7 @@ var TextAreaField = _react.forwardRef.call(void 0,
|
|
|
37
37
|
};
|
|
38
38
|
}, [rows, maxRows, textArea]);
|
|
39
39
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
-
|
|
40
|
+
_chunk2IOL3VDPcjs.TextFieldField,
|
|
41
41
|
{
|
|
42
42
|
ref,
|
|
43
43
|
multiline: true,
|
|
@@ -56,16 +56,16 @@ TextAreaField.displayName = "XAUI.TextArea.Field";
|
|
|
56
56
|
var DEFAULT_ROWS = 3;
|
|
57
57
|
var TextAreaRoot = _react.forwardRef.call(void 0, function TextArea({ rows = DEFAULT_ROWS, maxRows, children, ...props }, ref) {
|
|
58
58
|
const context = _react.useMemo.call(void 0, () => ({ rows, maxRows }), [rows, maxRows]);
|
|
59
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextAreaProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
59
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextAreaProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldRoot, { ref, ...props, children }) });
|
|
60
60
|
});
|
|
61
61
|
TextAreaRoot.displayName = "XAUI.TextArea.Root";
|
|
62
62
|
|
|
63
63
|
// src/components/text-area/index.ts
|
|
64
64
|
var TextArea2 = Object.assign(TextAreaRoot, {
|
|
65
|
-
Label:
|
|
65
|
+
Label: _chunk2IOL3VDPcjs.TextFieldLabel,
|
|
66
66
|
Field: TextAreaField,
|
|
67
|
-
Description:
|
|
68
|
-
Error:
|
|
67
|
+
Description: _chunk2IOL3VDPcjs.TextFieldDescription,
|
|
68
|
+
Error: _chunk2IOL3VDPcjs.TextFieldError
|
|
69
69
|
});
|
|
70
70
|
|
|
71
71
|
|
|
@@ -89,10 +89,10 @@ var AccordionContent = _react.forwardRef.call(void 0, function AccordionContent2
|
|
|
89
89
|
AccordionContent.displayName = "XAUI.Accordion.Content";
|
|
90
90
|
|
|
91
91
|
// src/components/accordion/accordion-indicator.tsx
|
|
92
|
-
const
|
|
93
|
-
code: "function
|
|
94
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
95
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
92
|
+
const _worklet_15415080829785_init_data = {
|
|
93
|
+
code: "function chunkUSQK6SFZCjs1(){const{_reactnativereanimated,progress,_chunkEKS3W46Mcjs}=this.__closure;return{transform:[{rotate:_reactnativereanimated.interpolate.call(void 0,progress.get(),[0,1],[_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0],_chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
94
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-USQK6SFZ.cjs",
|
|
95
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkUSQK6SFZCjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-USQK6SFZ.cjs\"],\"mappings\":\"AA8FwE,SAAAA,iBAAMA,CAAA,QAAAC,sBAAA,CAAAC,QAAA,CAAAC,iBAAA,OAAAC,SAAA,CAE1E,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,sBAAsB,CAACM,WAAW,CAACC,IAAI,CAAC,IAAK,EAAC,CAAEN,QAAQ,CAACO,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACN,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAEP,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MACxK,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
|
|
96
96
|
};
|
|
97
97
|
function AccordionIndicator({
|
|
98
98
|
as = _chunkGSZDN6EZcjs.ChevronDownIcon,
|
|
@@ -108,32 +108,32 @@ function AccordionIndicator({
|
|
|
108
108
|
_react.useEffect.call(void 0, () => {
|
|
109
109
|
progress.set(_reactnativereanimated.withSpring.call(void 0, isExpanded ? 1 : 0, _chunkEKS3W46Mcjs.INDICATOR_SPRING));
|
|
110
110
|
}, [isExpanded, progress]);
|
|
111
|
-
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
112
|
-
|
|
111
|
+
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkUSQK6SFZCjs1Factory({
|
|
112
|
+
_worklet_15415080829785_init_data,
|
|
113
113
|
_reactnativereanimated,
|
|
114
114
|
progress,
|
|
115
115
|
_chunkEKS3W46Mcjs
|
|
116
116
|
}) {
|
|
117
117
|
const _e = [new global.Error(), -4, -27];
|
|
118
|
-
const
|
|
118
|
+
const chunkUSQK6SFZCjs1 = function () {
|
|
119
119
|
return {
|
|
120
120
|
transform: [{
|
|
121
121
|
rotate: `${_reactnativereanimated.interpolate.call(void 0, progress.get(), [0, 1], [_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0], _chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])}deg`
|
|
122
122
|
}]
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
-
|
|
125
|
+
chunkUSQK6SFZCjs1.__closure = {
|
|
126
126
|
_reactnativereanimated,
|
|
127
127
|
progress,
|
|
128
128
|
_chunkEKS3W46Mcjs
|
|
129
129
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
return
|
|
130
|
+
chunkUSQK6SFZCjs1.__workletHash = 15415080829785;
|
|
131
|
+
chunkUSQK6SFZCjs1.__pluginVersion = "0.7.4";
|
|
132
|
+
chunkUSQK6SFZCjs1.__initData = _worklet_15415080829785_init_data;
|
|
133
|
+
chunkUSQK6SFZCjs1.__stackDetails = _e;
|
|
134
|
+
return chunkUSQK6SFZCjs1;
|
|
135
135
|
}({
|
|
136
|
-
|
|
136
|
+
_worklet_15415080829785_init_data,
|
|
137
137
|
_reactnativereanimated,
|
|
138
138
|
progress,
|
|
139
139
|
_chunkEKS3W46Mcjs
|
|
@@ -443,7 +443,7 @@ var accordionRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
443
443
|
* edge to be inset from, so its rows run the full width and the hairline runs with them
|
|
444
444
|
* — which is the difference between a list on a page and a list in a box.
|
|
445
445
|
*
|
|
446
|
-
* `primary` is the only one lifted. It is the one that reads as a card, and
|
|
446
|
+
* `primary` is the only one lifted. It is the one that reads as a card, and the reference implementation puts
|
|
447
447
|
* their `--shadow-surface` on exactly that variant. `secondary` and `tertiary` have too
|
|
448
448
|
* little fill to lift — a shadow under either would read as dirt rather than as height
|
|
449
449
|
* — and in dark mode the theme's surface shadow is already nothing (§4), which is why
|
|
@@ -66,7 +66,7 @@ function buildRadius(base) {
|
|
|
66
66
|
"3xl": base * 3,
|
|
67
67
|
"4xl": base * 4,
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* The reference implementation's value, reached from the other side of the scale: their `--radius-field` is
|
|
70
70
|
* an alias of their `--radius-xl`, and their base is 8 where ours is 12 — so their
|
|
71
71
|
* field corner is 12 points and, at our default base, so is this.
|
|
72
72
|
*
|
|
@@ -115,7 +115,7 @@ var fontFamilies = {
|
|
|
115
115
|
heading: "System",
|
|
116
116
|
// `'monospace'` is an Android family name, not a generic one: iOS does not resolve it and
|
|
117
117
|
// silently falls back to the system face, so code set with it is not monospaced there.
|
|
118
|
-
// Menlo is the face iOS ships, and it is what
|
|
118
|
+
// Menlo is the face iOS ships, and it is what the reference implementation selects for the same reason.
|
|
119
119
|
mono: Platform.OS === "ios" ? "Menlo" : "monospace"
|
|
120
120
|
};
|
|
121
121
|
var borderWidth = { default: 1, field: 1 };
|
|
@@ -249,19 +249,19 @@ var chipRecipe = createRecipe({
|
|
|
249
249
|
// A chip hugs its content where a `Button` fills its column. The difference is what
|
|
250
250
|
// the two are: a button is a control the layout sizes, a chip is a token *about*
|
|
251
251
|
// something, and a tag stretched across a screen has stopped being one. It is also
|
|
252
|
-
// the one line of
|
|
252
|
+
// the one line of the reference implementation's chip that is not a measurement.
|
|
253
253
|
alignSelf: "flex-start",
|
|
254
254
|
flexDirection: "row",
|
|
255
255
|
alignItems: "center",
|
|
256
256
|
justifyContent: "center",
|
|
257
257
|
borderWidth: 0,
|
|
258
|
-
// The capsule the name means, at every size.
|
|
258
|
+
// The capsule the name means, at every size. The reference implementation reaches it through a radius
|
|
259
259
|
// ladder that React Native would clamp to the same pill anyway; saying `full` says
|
|
260
260
|
// it once, and `radius` is still there for the tag that wants square corners.
|
|
261
261
|
borderRadius: theme.radius.full,
|
|
262
262
|
// Squircle corners for when `radius` overrides the pill. Free on Android.
|
|
263
263
|
borderCurve: "continuous"
|
|
264
|
-
// Deliberately no `overflow: 'hidden'`, where
|
|
264
|
+
// Deliberately no `overflow: 'hidden'`, where the reference implementation clips: the press overlays
|
|
265
265
|
// carry their own corners (`system/pressable-feedback/`), so nothing needs the clip
|
|
266
266
|
// — and clipping here would cut a badge or a shadow a caller hangs off the chip.
|
|
267
267
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { collectItemLabels, readItemLabel, useLabelRegistry } from "./chunk-4WCBZFAK.js";
|
|
2
2
|
import { useAnchoredPosition } from "./chunk-Z6FRP4EV.js";
|
|
3
|
-
import { selectRecipe } from "./chunk-
|
|
3
|
+
import { selectRecipe } from "./chunk-AMFGATFY.js";
|
|
4
4
|
import { Portal } from "./chunk-2PMXMKS5.js";
|
|
5
5
|
import { INDICATOR_ROTATION, INDICATOR_SPRING, anchoredEntering, anchoredExiting, overlayEntering, overlayExiting } from "./chunk-64MXEVT3.js";
|
|
6
6
|
import { useMergedRef } from "./chunk-NCTOTTVW.js";
|
|
@@ -537,10 +537,10 @@ function partition(children) {
|
|
|
537
537
|
import { useEffect as useEffect2 } from "react";
|
|
538
538
|
import Animated2, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
|
|
539
539
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
540
|
-
const
|
|
541
|
-
code: "function
|
|
542
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
543
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
540
|
+
const _worklet_2784553697165_init_data = {
|
|
541
|
+
code: "function chunkVQG7K5QEJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
542
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQG7K5QE.js",
|
|
543
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkVQG7K5QEJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQG7K5QE.js\"],\"mappings\":\"AA4hBoC,SAAAA,gBAAMA,CAAA,QAAAC,WAAA,CAAAC,QAAA,CAAAC,kBAAA,OAAAC,SAAA,CAEtC,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,WAAW,CAACC,QAAQ,CAACK,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACJ,kBAAkB,CAAC,CAAC,CAAC,CAAEA,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAChG,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
|
|
544
544
|
};
|
|
545
545
|
function AutocompleteIndicator(props) {
|
|
546
546
|
const {
|
|
@@ -554,32 +554,32 @@ function AutocompleteIndicator(props) {
|
|
|
554
554
|
useEffect2(() => {
|
|
555
555
|
progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
|
|
556
556
|
}, [isOpen, progress]);
|
|
557
|
-
const rotation = useAnimatedStyle(function
|
|
558
|
-
|
|
557
|
+
const rotation = useAnimatedStyle(function chunkVQG7K5QEJs1Factory({
|
|
558
|
+
_worklet_2784553697165_init_data,
|
|
559
559
|
interpolate,
|
|
560
560
|
progress,
|
|
561
561
|
INDICATOR_ROTATION
|
|
562
562
|
}) {
|
|
563
563
|
const _e = [new global.Error(), -4, -27];
|
|
564
|
-
const
|
|
564
|
+
const chunkVQG7K5QEJs1 = function () {
|
|
565
565
|
return {
|
|
566
566
|
transform: [{
|
|
567
567
|
rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
|
|
568
568
|
}]
|
|
569
569
|
};
|
|
570
570
|
};
|
|
571
|
-
|
|
571
|
+
chunkVQG7K5QEJs1.__closure = {
|
|
572
572
|
interpolate,
|
|
573
573
|
progress,
|
|
574
574
|
INDICATOR_ROTATION
|
|
575
575
|
};
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
return
|
|
576
|
+
chunkVQG7K5QEJs1.__workletHash = 2784553697165;
|
|
577
|
+
chunkVQG7K5QEJs1.__pluginVersion = "0.7.4";
|
|
578
|
+
chunkVQG7K5QEJs1.__initData = _worklet_2784553697165_init_data;
|
|
579
|
+
chunkVQG7K5QEJs1.__stackDetails = _e;
|
|
580
|
+
return chunkVQG7K5QEJs1;
|
|
581
581
|
}({
|
|
582
|
-
|
|
582
|
+
_worklet_2784553697165_init_data,
|
|
583
583
|
interpolate,
|
|
584
584
|
progress,
|
|
585
585
|
INDICATOR_ROTATION
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
FieldGroupSuffix,
|
|
11
11
|
decoratorPadding,
|
|
12
12
|
useOptionalFieldGroup
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MZUYTCCB.js";
|
|
14
14
|
import {
|
|
15
15
|
TextFieldDescription,
|
|
16
16
|
TextFieldError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
TextFieldLabel,
|
|
19
19
|
TextFieldRoot,
|
|
20
20
|
useTextField
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JYV53WUN.js";
|
|
22
22
|
import {
|
|
23
23
|
createRecipe
|
|
24
24
|
} from "./chunk-DKVXTMIJ.js";
|
|
@@ -38,7 +38,7 @@ function _optionalChain(ops) {
|
|
|
38
38
|
}
|
|
39
39
|
var _chunkFJGPDWMScjs = require('./chunk-FJGPDWMS.cjs');
|
|
40
40
|
var _chunkYVYYONTPcjs = require('./chunk-YVYYONTP.cjs');
|
|
41
|
-
var
|
|
41
|
+
var _chunkXILRXEULcjs = require('./chunk-XILRXEUL.cjs');
|
|
42
42
|
var _chunkWDDXU3OHcjs = require('./chunk-WDDXU3OH.cjs');
|
|
43
43
|
var _chunkEKS3W46Mcjs = require('./chunk-EKS3W46M.cjs');
|
|
44
44
|
var _chunkWFEMJCXOcjs = require('./chunk-WFEMJCXO.cjs');
|
|
@@ -185,21 +185,21 @@ function Autocomplete({
|
|
|
185
185
|
isOpen: isOpen ? "true" : void 0,
|
|
186
186
|
isInvalid: isInvalid ? "true" : void 0
|
|
187
187
|
};
|
|
188
|
-
const styles =
|
|
188
|
+
const styles = _chunkXILRXEULcjs.selectRecipe.resolve({
|
|
189
189
|
theme,
|
|
190
190
|
selection,
|
|
191
191
|
states: {
|
|
192
192
|
disabled: isDisabled
|
|
193
193
|
}
|
|
194
194
|
});
|
|
195
|
-
const pressed =
|
|
195
|
+
const pressed = _chunkXILRXEULcjs.selectRecipe.resolve({
|
|
196
196
|
theme,
|
|
197
197
|
selection,
|
|
198
198
|
states: {
|
|
199
199
|
pressed: true
|
|
200
200
|
}
|
|
201
201
|
});
|
|
202
|
-
const tint = color ?
|
|
202
|
+
const tint = color ? _chunkXILRXEULcjs.selectRecipe.tint({
|
|
203
203
|
theme,
|
|
204
204
|
color,
|
|
205
205
|
selection
|
|
@@ -565,10 +565,10 @@ function partition(children) {
|
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
// src/components/autocomplete/autocomplete-indicator.tsx
|
|
568
|
-
const
|
|
569
|
-
code: "function
|
|
570
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
571
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
568
|
+
const _worklet_6539047820253_init_data = {
|
|
569
|
+
code: "function chunkWH7MFY3HCjs1(){const{_reactnativereanimated,progress,_chunkEKS3W46Mcjs}=this.__closure;return{transform:[{rotate:_reactnativereanimated.interpolate.call(void 0,progress.get(),[0,1],[_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0],_chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
570
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-WH7MFY3H.cjs",
|
|
571
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkWH7MFY3HCjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-WH7MFY3H.cjs\"],\"mappings\":\"AA4hBwE,SAAAA,iBAAMA,CAAA,QAAAC,sBAAA,CAAAC,QAAA,CAAAC,iBAAA,OAAAC,SAAA,CAE1E,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,sBAAsB,CAACM,WAAW,CAACC,IAAI,CAAC,IAAK,EAAC,CAAEN,QAAQ,CAACO,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACN,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAEP,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MACxK,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
|
|
572
572
|
};
|
|
573
573
|
function AutocompleteIndicator(props) {
|
|
574
574
|
const {
|
|
@@ -582,32 +582,32 @@ function AutocompleteIndicator(props) {
|
|
|
582
582
|
_react.useEffect.call(void 0, () => {
|
|
583
583
|
progress.set(_reactnativereanimated.withSpring.call(void 0, isOpen ? 1 : 0, _chunkEKS3W46Mcjs.INDICATOR_SPRING));
|
|
584
584
|
}, [isOpen, progress]);
|
|
585
|
-
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
586
|
-
|
|
585
|
+
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkWH7MFY3HCjs1Factory({
|
|
586
|
+
_worklet_6539047820253_init_data,
|
|
587
587
|
_reactnativereanimated,
|
|
588
588
|
progress,
|
|
589
589
|
_chunkEKS3W46Mcjs
|
|
590
590
|
}) {
|
|
591
591
|
const _e = [new global.Error(), -4, -27];
|
|
592
|
-
const
|
|
592
|
+
const chunkWH7MFY3HCjs1 = function () {
|
|
593
593
|
return {
|
|
594
594
|
transform: [{
|
|
595
595
|
rotate: `${_reactnativereanimated.interpolate.call(void 0, progress.get(), [0, 1], [_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0], _chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])}deg`
|
|
596
596
|
}]
|
|
597
597
|
};
|
|
598
598
|
};
|
|
599
|
-
|
|
599
|
+
chunkWH7MFY3HCjs1.__closure = {
|
|
600
600
|
_reactnativereanimated,
|
|
601
601
|
progress,
|
|
602
602
|
_chunkEKS3W46Mcjs
|
|
603
603
|
};
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
return
|
|
604
|
+
chunkWH7MFY3HCjs1.__workletHash = 6539047820253;
|
|
605
|
+
chunkWH7MFY3HCjs1.__pluginVersion = "0.7.4";
|
|
606
|
+
chunkWH7MFY3HCjs1.__initData = _worklet_6539047820253_init_data;
|
|
607
|
+
chunkWH7MFY3HCjs1.__stackDetails = _e;
|
|
608
|
+
return chunkWH7MFY3HCjs1;
|
|
609
609
|
}({
|
|
610
|
-
|
|
610
|
+
_worklet_6539047820253_init_data,
|
|
611
611
|
_reactnativereanimated,
|
|
612
612
|
progress,
|
|
613
613
|
_chunkEKS3W46Mcjs
|