@xaui/native 0.9.1-beta.95 → 0.9.1-beta.97
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-C6JO2RTV.cjs +752 -0
- 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-SVS726BW.js +822 -0
- 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/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- 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 +37 -30
- package/dist/components/phone-number-field/index.js +13 -6
- 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/slide-button/index.cjs +30 -0
- package/dist/components/slide-button/index.d.cts +44 -0
- package/dist/components/slide-button/index.d.ts +44 -0
- package/dist/components/slide-button/index.js +30 -0
- package/dist/components/slide-button/slide-button-fill.d.cts +29 -0
- package/dist/components/slide-button/slide-button-fill.d.ts +29 -0
- package/dist/components/slide-button/slide-button-icon.d.cts +10 -0
- package/dist/components/slide-button/slide-button-icon.d.ts +10 -0
- package/dist/components/slide-button/slide-button-label.d.cts +20 -0
- package/dist/components/slide-button/slide-button-label.d.ts +20 -0
- package/dist/components/slide-button/slide-button-thumb.d.cts +20 -0
- package/dist/components/slide-button/slide-button-thumb.d.ts +20 -0
- package/dist/components/slide-button/slide-button.animation.d.cts +33 -0
- package/dist/components/slide-button/slide-button.animation.d.ts +33 -0
- package/dist/components/slide-button/slide-button.context.d.cts +7 -0
- package/dist/components/slide-button/slide-button.context.d.ts +7 -0
- package/dist/components/slide-button/slide-button.d.cts +56 -0
- package/dist/components/slide-button/slide-button.d.ts +56 -0
- package/dist/components/slide-button/slide-button.recipe.d.cts +31 -0
- package/dist/components/slide-button/slide-button.recipe.d.ts +31 -0
- package/dist/components/slide-button/slide-button.type.d.cts +79 -0
- package/dist/components/slide-button/slide-button.type.d.ts +79 -0
- 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 +56 -38
- package/dist/index.js +64 -46
- 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 +11 -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
|