@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
|
@@ -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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BottomSheet2 as BottomSheet } from "./chunk-
|
|
2
|
-
import { selectRecipe } from "./chunk-
|
|
1
|
+
import { BottomSheet2 as BottomSheet } from "./chunk-LYWXGEED.js";
|
|
2
|
+
import { selectRecipe } from "./chunk-AMFGATFY.js";
|
|
3
3
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
4
4
|
import { PressableFeedback } from "./chunk-KQW25RCC.js";
|
|
5
5
|
import { usePressState } from "./chunk-423RQBOX.js";
|
|
@@ -335,20 +335,20 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
335
335
|
var HOURS_ON_A_FACE = 12;
|
|
336
336
|
var MINUTES_IN_AN_HOUR = 60;
|
|
337
337
|
var LABELLED_MINUTE = 5;
|
|
338
|
-
const
|
|
339
|
-
code: "function
|
|
340
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
341
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
338
|
+
const _worklet_7983963155237_init_data = {
|
|
339
|
+
code: "function chunkWMTGDNXUJs1(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,true);}",
|
|
340
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-WMTGDNXU.js",
|
|
341
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkWMTGDNXUJs1\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-WMTGDNXU.js\"],\"mappings\":\"AA0akM,SAAAA,gBAAKA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,OAAK,CAAAF,OAAQ,CAAAC,OAAQ,CAAC,CAAAF,KAAM,CAACI,CAAA,CAAEJ,KAAM,CAACK,CAAA,CAAE,IAAI\",\"ignoreList\":[]}"
|
|
342
342
|
};
|
|
343
|
-
const
|
|
344
|
-
code: "function
|
|
345
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
346
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
343
|
+
const _worklet_8740879819085_init_data = {
|
|
344
|
+
code: "function chunkWMTGDNXUJs2(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,false);}",
|
|
345
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-WMTGDNXU.js",
|
|
346
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkWMTGDNXUJs2\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-WMTGDNXU.js\"],\"mappings\":\"AA0asI,SAAAA,gBAAKA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,OAAK,CAAAF,OAAQ,CAAAC,OAAQ,CAAC,CAAAF,KAAM,CAACI,CAAA,CAAEJ,KAAM,CAACK,CAAA,CAAE,KAAK\",\"ignoreList\":[]}"
|
|
347
347
|
};
|
|
348
|
-
const
|
|
349
|
-
code: "function
|
|
350
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
351
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
348
|
+
const _worklet_8265790574412_init_data = {
|
|
349
|
+
code: "function chunkWMTGDNXUJs3(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,false);}",
|
|
350
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-WMTGDNXU.js",
|
|
351
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkWMTGDNXUJs3\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-WMTGDNXU.js\"],\"mappings\":\"AA0auE,SAAAA,gBAAKA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,OAAK,CAAAF,OAAQ,CAAAC,OAAQ,CAAC,CAAAF,KAAM,CAACI,CAAA,CAAEJ,KAAM,CAACK,CAAA,CAAE,KAAK\",\"ignoreList\":[]}"
|
|
352
352
|
};
|
|
353
353
|
var TimePickerClock = forwardRef(function TimePickerClock2({
|
|
354
354
|
children,
|
|
@@ -476,64 +476,64 @@ var TimePickerClock = forwardRef(function TimePickerClock2({
|
|
|
476
476
|
const onInner = distanceFrom(now.center, point) < now.radius * (now.ring + now.innerRing) * 0.5;
|
|
477
477
|
if (onInner) setHour(raw === 0 ? 0 : raw + HOURS_ON_A_FACE);else setHour(raw === 0 ? HOURS_ON_A_FACE : raw);
|
|
478
478
|
}, []);
|
|
479
|
-
const drag = useMemo(() => Gesture.Pan().enabled(!isDisabled).minDistance(0).onStart(function
|
|
480
|
-
|
|
479
|
+
const drag = useMemo(() => Gesture.Pan().enabled(!isDisabled).minDistance(0).onStart(function chunkWMTGDNXUJs3Factory({
|
|
480
|
+
_worklet_8265790574412_init_data,
|
|
481
481
|
runOnJS,
|
|
482
482
|
valueAt
|
|
483
483
|
}) {
|
|
484
484
|
const _e = [new global.Error(), -3, -27];
|
|
485
|
-
const
|
|
486
|
-
|
|
485
|
+
const chunkWMTGDNXUJs3 = event => runOnJS(valueAt)(event.x, event.y, false);
|
|
486
|
+
chunkWMTGDNXUJs3.__closure = {
|
|
487
487
|
runOnJS,
|
|
488
488
|
valueAt
|
|
489
489
|
};
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
return
|
|
490
|
+
chunkWMTGDNXUJs3.__workletHash = 8265790574412;
|
|
491
|
+
chunkWMTGDNXUJs3.__pluginVersion = "0.7.4";
|
|
492
|
+
chunkWMTGDNXUJs3.__initData = _worklet_8265790574412_init_data;
|
|
493
|
+
chunkWMTGDNXUJs3.__stackDetails = _e;
|
|
494
|
+
return chunkWMTGDNXUJs3;
|
|
495
495
|
}({
|
|
496
|
-
|
|
496
|
+
_worklet_8265790574412_init_data,
|
|
497
497
|
runOnJS,
|
|
498
498
|
valueAt
|
|
499
|
-
})).onUpdate(function
|
|
500
|
-
|
|
499
|
+
})).onUpdate(function chunkWMTGDNXUJs2Factory({
|
|
500
|
+
_worklet_8740879819085_init_data,
|
|
501
501
|
runOnJS,
|
|
502
502
|
valueAt
|
|
503
503
|
}) {
|
|
504
504
|
const _e = [new global.Error(), -3, -27];
|
|
505
|
-
const
|
|
506
|
-
|
|
505
|
+
const chunkWMTGDNXUJs2 = event => runOnJS(valueAt)(event.x, event.y, false);
|
|
506
|
+
chunkWMTGDNXUJs2.__closure = {
|
|
507
507
|
runOnJS,
|
|
508
508
|
valueAt
|
|
509
509
|
};
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
return
|
|
510
|
+
chunkWMTGDNXUJs2.__workletHash = 8740879819085;
|
|
511
|
+
chunkWMTGDNXUJs2.__pluginVersion = "0.7.4";
|
|
512
|
+
chunkWMTGDNXUJs2.__initData = _worklet_8740879819085_init_data;
|
|
513
|
+
chunkWMTGDNXUJs2.__stackDetails = _e;
|
|
514
|
+
return chunkWMTGDNXUJs2;
|
|
515
515
|
}({
|
|
516
|
-
|
|
516
|
+
_worklet_8740879819085_init_data,
|
|
517
517
|
runOnJS,
|
|
518
518
|
valueAt
|
|
519
|
-
})).onEnd(function
|
|
520
|
-
|
|
519
|
+
})).onEnd(function chunkWMTGDNXUJs1Factory({
|
|
520
|
+
_worklet_7983963155237_init_data,
|
|
521
521
|
runOnJS,
|
|
522
522
|
valueAt
|
|
523
523
|
}) {
|
|
524
524
|
const _e = [new global.Error(), -3, -27];
|
|
525
|
-
const
|
|
526
|
-
|
|
525
|
+
const chunkWMTGDNXUJs1 = event => runOnJS(valueAt)(event.x, event.y, true);
|
|
526
|
+
chunkWMTGDNXUJs1.__closure = {
|
|
527
527
|
runOnJS,
|
|
528
528
|
valueAt
|
|
529
529
|
};
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
return
|
|
530
|
+
chunkWMTGDNXUJs1.__workletHash = 7983963155237;
|
|
531
|
+
chunkWMTGDNXUJs1.__pluginVersion = "0.7.4";
|
|
532
|
+
chunkWMTGDNXUJs1.__initData = _worklet_7983963155237_init_data;
|
|
533
|
+
chunkWMTGDNXUJs1.__stackDetails = _e;
|
|
534
|
+
return chunkWMTGDNXUJs1;
|
|
535
535
|
}({
|
|
536
|
-
|
|
536
|
+
_worklet_7983963155237_init_data,
|
|
537
537
|
runOnJS,
|
|
538
538
|
valueAt
|
|
539
539
|
})), [isDisabled, valueAt]);
|
|
@@ -29,7 +29,7 @@ function _optionalChain(ops) {
|
|
|
29
29
|
}
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var _chunkWH7MFY3Hcjs = require('./chunk-WH7MFY3H.cjs');
|
|
33
33
|
var _chunkEKS3W46Mcjs = require('./chunk-EKS3W46M.cjs');
|
|
34
34
|
var _chunkWFEMJCXOcjs = require('./chunk-WFEMJCXO.cjs');
|
|
35
35
|
var _chunkGSZDN6EZcjs = require('./chunk-GSZDN6EZ.cjs');
|
|
@@ -43,10 +43,10 @@ var _reactnativereanimated = require('react-native-reanimated');
|
|
|
43
43
|
var _reactnativereanimated2 = _interopRequireDefault(_reactnativereanimated);
|
|
44
44
|
var _jsxruntime = require('react/jsx-runtime');
|
|
45
45
|
var HIT_SLOP = 8;
|
|
46
|
-
const
|
|
47
|
-
code: "function
|
|
48
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
49
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
46
|
+
const _worklet_6803990136896_init_data = {
|
|
47
|
+
code: "function chunkXCEDD7PECjs1(){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\"}]};}",
|
|
48
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-XCEDD7PE.cjs",
|
|
49
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkXCEDD7PECjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-XCEDD7PE.cjs\"],\"mappings\":\"AA8CwE,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\":[]}"
|
|
50
50
|
};
|
|
51
51
|
function ComboboxIndicator(props) {
|
|
52
52
|
const {
|
|
@@ -58,37 +58,37 @@ function ComboboxIndicator(props) {
|
|
|
58
58
|
isOpen,
|
|
59
59
|
isDisabled,
|
|
60
60
|
toggle
|
|
61
|
-
} =
|
|
61
|
+
} = _chunkWH7MFY3Hcjs.useAutocomplete.call(void 0);
|
|
62
62
|
const progress = _reactnativereanimated.useSharedValue.call(void 0, isOpen ? 1 : 0);
|
|
63
63
|
_react.useEffect.call(void 0, () => {
|
|
64
64
|
progress.set(_reactnativereanimated.withSpring.call(void 0, isOpen ? 1 : 0, _chunkEKS3W46Mcjs.INDICATOR_SPRING));
|
|
65
65
|
}, [isOpen, progress]);
|
|
66
|
-
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
67
|
-
|
|
66
|
+
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkXCEDD7PECjs1Factory({
|
|
67
|
+
_worklet_6803990136896_init_data,
|
|
68
68
|
_reactnativereanimated,
|
|
69
69
|
progress,
|
|
70
70
|
_chunkEKS3W46Mcjs
|
|
71
71
|
}) {
|
|
72
72
|
const _e = [new global.Error(), -4, -27];
|
|
73
|
-
const
|
|
73
|
+
const chunkXCEDD7PECjs1 = function () {
|
|
74
74
|
return {
|
|
75
75
|
transform: [{
|
|
76
76
|
rotate: `${_reactnativereanimated.interpolate.call(void 0, progress.get(), [0, 1], [_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0], _chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])}deg`
|
|
77
77
|
}]
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
|
-
|
|
80
|
+
chunkXCEDD7PECjs1.__closure = {
|
|
81
81
|
_reactnativereanimated,
|
|
82
82
|
progress,
|
|
83
83
|
_chunkEKS3W46Mcjs
|
|
84
84
|
};
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return
|
|
85
|
+
chunkXCEDD7PECjs1.__workletHash = 6803990136896;
|
|
86
|
+
chunkXCEDD7PECjs1.__pluginVersion = "0.7.4";
|
|
87
|
+
chunkXCEDD7PECjs1.__initData = _worklet_6803990136896_init_data;
|
|
88
|
+
chunkXCEDD7PECjs1.__stackDetails = _e;
|
|
89
|
+
return chunkXCEDD7PECjs1;
|
|
90
90
|
}({
|
|
91
|
-
|
|
91
|
+
_worklet_6803990136896_init_data,
|
|
92
92
|
_reactnativereanimated,
|
|
93
93
|
progress,
|
|
94
94
|
_chunkEKS3W46Mcjs
|
|
@@ -139,7 +139,7 @@ var ComboboxInput = _react.forwardRef.call(void 0, function ComboboxInput2({
|
|
|
139
139
|
isDisabled,
|
|
140
140
|
open,
|
|
141
141
|
labelFor
|
|
142
|
-
} =
|
|
142
|
+
} = _chunkWH7MFY3Hcjs.useAutocomplete.call(void 0);
|
|
143
143
|
const handleChangeText = _react.useCallback.call(void 0, next => {
|
|
144
144
|
setQuery(next);
|
|
145
145
|
_optionalChain([onChangeText, 'optionalCall', _ => _(next)]);
|
|
@@ -167,7 +167,7 @@ ComboboxInput.displayName = "XAUI.Combobox.Input";
|
|
|
167
167
|
// src/components/combobox/combobox.tsx
|
|
168
168
|
|
|
169
169
|
function ComboboxRoot(props) {
|
|
170
|
-
return /* @__PURE__ */_jsxruntime.jsx.call(void 0,
|
|
170
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkWH7MFY3Hcjs.Autocomplete, {
|
|
171
171
|
...props
|
|
172
172
|
});
|
|
173
173
|
}
|
|
@@ -191,7 +191,7 @@ var ComboboxTrigger = _react.forwardRef.call(void 0, function ComboboxTrigger2({
|
|
|
191
191
|
isDisabled,
|
|
192
192
|
isInvalid,
|
|
193
193
|
setAnchor
|
|
194
|
-
} =
|
|
194
|
+
} = _chunkWH7MFY3Hcjs.useAutocomplete.call(void 0);
|
|
195
195
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
196
196
|
const node = _react.useRef.call(void 0, null);
|
|
197
197
|
const refs = _chunkWFEMJCXOcjs.useMergedRef.call(void 0, node, ref);
|
|
@@ -238,11 +238,11 @@ var Combobox = Object.assign(ComboboxRoot, {
|
|
|
238
238
|
Trigger: ComboboxTrigger,
|
|
239
239
|
Input: ComboboxInput,
|
|
240
240
|
Indicator: ComboboxIndicator,
|
|
241
|
-
Overlay:
|
|
242
|
-
Content:
|
|
243
|
-
Item:
|
|
244
|
-
ItemLabel:
|
|
245
|
-
Empty:
|
|
241
|
+
Overlay: _chunkWH7MFY3Hcjs.AutocompleteOverlay,
|
|
242
|
+
Content: _chunkWH7MFY3Hcjs.AutocompleteContent,
|
|
243
|
+
Item: _chunkWH7MFY3Hcjs.AutocompleteItem,
|
|
244
|
+
ItemLabel: _chunkWH7MFY3Hcjs.AutocompleteItemLabel,
|
|
245
|
+
Empty: _chunkWH7MFY3Hcjs.AutocompleteEmpty
|
|
246
246
|
});
|
|
247
247
|
exports.ComboboxIndicator = ComboboxIndicator;
|
|
248
248
|
exports.ComboboxInput = ComboboxInput;
|
|
@@ -74,7 +74,7 @@ var LIST = {
|
|
|
74
74
|
itemGap: 2,
|
|
75
75
|
labelPaddingHorizontal: 2,
|
|
76
76
|
labelPaddingVertical: 1.5,
|
|
77
|
-
/** The check's box, in spacing steps like the rest — five of them,
|
|
77
|
+
/** The check's box, in spacing steps like the rest — five of them, the reference implementation's twenty. */
|
|
78
78
|
indicator: 5
|
|
79
79
|
};
|
|
80
80
|
function sizeAxis(step) {
|
|
@@ -134,7 +134,7 @@ var selectRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
134
134
|
backgroundColor: theme.colors.overlay,
|
|
135
135
|
padding: theme.spacing(LIST.padding),
|
|
136
136
|
// The panel is not the field, so it is rounder — but not by three steps of our
|
|
137
|
-
// scale.
|
|
137
|
+
// scale. The reference implementation's panel is their `--radius-3xl` on a base of 8, which is 24 points;
|
|
138
138
|
// ours is a base of 12, so the same 24 is `2xl`. Reading their key rather than
|
|
139
139
|
// their number is what put a 36-point corner on it and made it read as a pill.
|
|
140
140
|
borderRadius: theme.radius["2xl"],
|