@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,14 +1,14 @@
|
|
|
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 _chunkNRU5APUEcjs = require('./chunk-NRU5APUE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkISHMSP6Pcjs = require('./chunk-ISHMSP6P.cjs');
|
|
@@ -27,13 +27,13 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
27
27
|
var MaskFieldField = _react.forwardRef.call(void 0,
|
|
28
28
|
function MaskFieldField2({ placeholder, style, ...props }, ref) {
|
|
29
29
|
const { text, onType, placeholder: shape, keyboard, length } = useMaskField();
|
|
30
|
-
const group =
|
|
30
|
+
const group = _chunkNRU5APUEcjs.useOptionalFieldGroup.call(void 0, );
|
|
31
31
|
const padding = _react.useMemo.call(void 0,
|
|
32
|
-
() =>
|
|
32
|
+
() => _chunkNRU5APUEcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _ => _.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _2 => _2.suffixWidth]), () => ( 0))),
|
|
33
33
|
[_optionalChain([group, 'optionalAccess', _3 => _3.prefixWidth]), _optionalChain([group, 'optionalAccess', _4 => _4.suffixWidth])]
|
|
34
34
|
);
|
|
35
35
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36
|
-
|
|
36
|
+
_chunk2IOL3VDPcjs.TextFieldField,
|
|
37
37
|
{
|
|
38
38
|
ref,
|
|
39
39
|
keyboardType: keyboard,
|
|
@@ -327,16 +327,16 @@ var MaskFieldRoot = _react.forwardRef.call(void 0, function MaskField({
|
|
|
327
327
|
}),
|
|
328
328
|
[text, onType, mask]
|
|
329
329
|
);
|
|
330
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MaskFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
330
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MaskFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldRoot, { ref, ...props, children }) });
|
|
331
331
|
});
|
|
332
332
|
MaskFieldRoot.displayName = "XAUI.MaskField.Root";
|
|
333
333
|
|
|
334
334
|
// src/components/mask-field/index.ts
|
|
335
335
|
var MaskField2 = Object.assign(MaskFieldRoot, {
|
|
336
|
-
Label:
|
|
336
|
+
Label: _chunk2IOL3VDPcjs.TextFieldLabel,
|
|
337
337
|
Field: MaskFieldField,
|
|
338
|
-
Description:
|
|
339
|
-
Error:
|
|
338
|
+
Description: _chunk2IOL3VDPcjs.TextFieldDescription,
|
|
339
|
+
Error: _chunk2IOL3VDPcjs.TextFieldError
|
|
340
340
|
});
|
|
341
341
|
|
|
342
342
|
|
|
@@ -136,7 +136,7 @@ var menuRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
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,
|
|
@@ -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 = createRecipe({
|
|
|
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"],
|
|
@@ -185,7 +185,7 @@ var checkboxRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
185
185
|
* Declared after `size` so its border wins. The resting fill is dropped rather than
|
|
186
186
|
* repainted — `undefined` over a colour is what RN reads as "no background" — because
|
|
187
187
|
* a box that is wrong should read as an outline, not as a filled control that happens
|
|
188
|
-
* to be red at the edge.
|
|
188
|
+
* to be red at the edge. The reference implementation reaches the same shape with a compound.
|
|
189
189
|
*/
|
|
190
190
|
isInvalid: {
|
|
191
191
|
true: (theme) => ({
|
|
@@ -106,7 +106,7 @@ var popoverRecipe = createRecipe({
|
|
|
106
106
|
content: {
|
|
107
107
|
position: "absolute",
|
|
108
108
|
backgroundColor: theme.colors.overlay,
|
|
109
|
-
//
|
|
109
|
+
// The reference implementation's twelve by sixteen: a panel is read, not scanned, so it is wider-padded
|
|
110
110
|
// than it is tall-padded.
|
|
111
111
|
paddingVertical: theme.spacing(3),
|
|
112
112
|
paddingHorizontal: theme.spacing(4),
|
|
@@ -196,7 +196,7 @@ var textFieldRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
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",
|
|
@@ -279,7 +279,7 @@ var dialogRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
279
279
|
content: {
|
|
280
280
|
backgroundColor: theme.colors.overlay,
|
|
281
281
|
padding: theme.spacing(5),
|
|
282
|
-
//
|
|
282
|
+
// The reference implementation's `--radius-3xl` on a base of 8 is 24 points; our base is 12, so the same
|
|
283
283
|
// 24 is `2xl`. Reading their key rather than their number puts a pill on it.
|
|
284
284
|
borderRadius: theme.radius["2xl"],
|
|
285
285
|
borderCurve: "continuous",
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFZXWZNYYcjs = require('./chunk-FZXWZNYY.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunk55KGHYYUcjs = require('./chunk-55KGHYYU.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk3TBT6ORWcjs = require('./chunk-3TBT6ORW.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunk6ZWQDTGQcjs = require('./chunk-6ZWQDTGQ.cjs');
|
|
@@ -17,7 +17,7 @@ var _chunk6ZWQDTGQcjs = require('./chunk-6ZWQDTGQ.cjs');
|
|
|
17
17
|
var _chunkISHMSP6Pcjs = require('./chunk-ISHMSP6P.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkXILRXEULcjs = require('./chunk-XILRXEUL.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
@@ -101,22 +101,22 @@ function DateTimePicker({
|
|
|
101
101
|
isOpen: isOpen ? "true" : void 0,
|
|
102
102
|
isInvalid: isInvalid ? "true" : void 0
|
|
103
103
|
};
|
|
104
|
-
const field =
|
|
104
|
+
const field = _chunkXILRXEULcjs.selectRecipe.resolve({
|
|
105
105
|
theme,
|
|
106
106
|
selection,
|
|
107
107
|
states: { disabled: isDisabled }
|
|
108
108
|
});
|
|
109
|
-
const fieldPressed =
|
|
109
|
+
const fieldPressed = _chunkXILRXEULcjs.selectRecipe.resolve({
|
|
110
110
|
theme,
|
|
111
111
|
selection,
|
|
112
112
|
states: { pressed: true }
|
|
113
113
|
});
|
|
114
|
-
const tint = color ?
|
|
114
|
+
const tint = color ? _chunkXILRXEULcjs.selectRecipe.tint({ theme, color, selection }) : void 0;
|
|
115
115
|
const onPickDate = _react.useCallback.call(void 0,
|
|
116
116
|
(day) => {
|
|
117
117
|
const start = _chunkISHMSP6Pcjs.startOfDay.call(void 0, day);
|
|
118
118
|
setValue(
|
|
119
|
-
value === void 0 ? start :
|
|
119
|
+
value === void 0 ? start : _chunkFZXWZNYYcjs.withTime.call(void 0, start, {
|
|
120
120
|
hours: value.getHours(),
|
|
121
121
|
minutes: value.getMinutes(),
|
|
122
122
|
seconds: 0
|
|
@@ -260,10 +260,10 @@ function DateTimePickerSheet({
|
|
|
260
260
|
...props
|
|
261
261
|
}) {
|
|
262
262
|
const picker = useDateTimePicker();
|
|
263
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
265
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
263
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2, { isOpen: picker.isOpen, onOpenChange: picker.setOpen, ...props, children: [
|
|
264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Overlay, {}),
|
|
265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Content, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DateTimePickerProvider, { value: picker, children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
266
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Handle, {}),
|
|
267
267
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DateTimePickerSteps, { labels: stepLabels }),
|
|
268
268
|
picker.step === "date" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
269
269
|
DateTimePickerCalendar,
|
|
@@ -309,7 +309,7 @@ DateTimePickerCalendar.displayName = "XAUI.DateTimePicker.Calendar";
|
|
|
309
309
|
function DateTimePickerClock(props) {
|
|
310
310
|
const { value, onPickTime, clock } = useDateTimePicker();
|
|
311
311
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
312
|
-
|
|
312
|
+
_chunkFZXWZNYYcjs.TimePicker2,
|
|
313
313
|
{
|
|
314
314
|
size: clock.size,
|
|
315
315
|
color: clock.color,
|
|
@@ -321,8 +321,8 @@ function DateTimePickerClock(props) {
|
|
|
321
321
|
closeOnSelect: false,
|
|
322
322
|
...props,
|
|
323
323
|
children: [
|
|
324
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
324
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFZXWZNYYcjs.TimePicker2.Display, { style: { alignSelf: "center" } }),
|
|
325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFZXWZNYYcjs.TimePicker2.Clock, { style: { alignSelf: "center" } })
|
|
326
326
|
]
|
|
327
327
|
}
|
|
328
328
|
);
|
|
@@ -333,7 +333,7 @@ DateTimePickerClock.displayName = "XAUI.DateTimePicker.Clock";
|
|
|
333
333
|
|
|
334
334
|
function DateTimePickerIndicator(props) {
|
|
335
335
|
const { glyph } = useDateTimePicker();
|
|
336
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, { value: glyph, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
336
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, { value: glyph, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFZXWZNYYcjs.TimePickerIndicator, { ...props }) });
|
|
337
337
|
}
|
|
338
338
|
DateTimePickerIndicator.displayName = "XAUI.DateTimePicker.Indicator";
|
|
339
339
|
|
|
@@ -135,10 +135,10 @@ var AvatarImage = _react.forwardRef.call(void 0, function AvatarImage2({
|
|
|
135
135
|
});
|
|
136
136
|
});
|
|
137
137
|
AvatarImage.displayName = "XAUI.Avatar.Image";
|
|
138
|
-
const
|
|
139
|
-
code: "function
|
|
140
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
141
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
138
|
+
const _worklet_7695127479397_init_data = {
|
|
139
|
+
code: "function chunkENZBKNFJCjs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
140
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-ENZBKNFJ.cjs",
|
|
141
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkENZBKNFJCjs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-ENZBKNFJ.cjs\"],\"mappings\":\"AAsG+E,SAAAA,iBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
|
|
142
142
|
};
|
|
143
143
|
var FadingImage = _react.forwardRef.call(void 0, function FadingImage2({
|
|
144
144
|
onLoad,
|
|
@@ -152,26 +152,26 @@ var FadingImage = _react.forwardRef.call(void 0, function FadingImage2({
|
|
|
152
152
|
});
|
|
153
153
|
_optionalChain([onLoad, 'optionalCall', _ => _(event)]);
|
|
154
154
|
}, [opacity, onLoad]);
|
|
155
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
156
|
-
|
|
155
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkENZBKNFJCjs1Factory({
|
|
156
|
+
_worklet_7695127479397_init_data,
|
|
157
157
|
opacity
|
|
158
158
|
}) {
|
|
159
159
|
const _e = [new global.Error(), -2, -27];
|
|
160
|
-
const
|
|
160
|
+
const chunkENZBKNFJCjs1 = function () {
|
|
161
161
|
return {
|
|
162
162
|
opacity: opacity.value
|
|
163
163
|
};
|
|
164
164
|
};
|
|
165
|
-
|
|
165
|
+
chunkENZBKNFJCjs1.__closure = {
|
|
166
166
|
opacity
|
|
167
167
|
};
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
return
|
|
168
|
+
chunkENZBKNFJCjs1.__workletHash = 7695127479397;
|
|
169
|
+
chunkENZBKNFJCjs1.__pluginVersion = "0.7.4";
|
|
170
|
+
chunkENZBKNFJCjs1.__initData = _worklet_7695127479397_init_data;
|
|
171
|
+
chunkENZBKNFJCjs1.__stackDetails = _e;
|
|
172
|
+
return chunkENZBKNFJCjs1;
|
|
173
173
|
}({
|
|
174
|
-
|
|
174
|
+
_worklet_7695127479397_init_data,
|
|
175
175
|
opacity
|
|
176
176
|
}), [opacity]);
|
|
177
177
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.Image, {
|
|
@@ -330,7 +330,7 @@ var avatarRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
330
330
|
radius: _chunkSL3V7R2Ycjs.radiusAxis.call(void 0, "root")
|
|
331
331
|
},
|
|
332
332
|
/**
|
|
333
|
-
* A circle at every size, where
|
|
333
|
+
* A circle at every size, where the reference implementation fixes one large radius for all three — which
|
|
334
334
|
* makes their small avatars round and their large ones squircles. `full` says the shape
|
|
335
335
|
* the name means once, and `radius` is still there for the logo that wants a square.
|
|
336
336
|
*/
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
FieldGroupSuffix,
|
|
4
4
|
decoratorPadding,
|
|
5
5
|
useOptionalFieldGroup
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MZUYTCCB.js";
|
|
7
7
|
import {
|
|
8
8
|
TextFieldDescription,
|
|
9
9
|
TextFieldError,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
TextFieldLabel,
|
|
12
12
|
TextFieldRoot,
|
|
13
13
|
useTextField
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JYV53WUN.js";
|
|
15
15
|
import {
|
|
16
16
|
FIELD_GLYPH_SIZES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NTVPLDJC.js";
|
|
18
18
|
import {
|
|
19
19
|
CloseButtonBase,
|
|
20
20
|
closeButtonGeometry
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Autocomplete, AutocompleteContent, AutocompleteEmpty, AutocompleteItem, AutocompleteItemLabel, AutocompleteOverlay, useAutocomplete } from "./chunk-
|
|
1
|
+
import { Autocomplete, AutocompleteContent, AutocompleteEmpty, AutocompleteItem, AutocompleteItemLabel, AutocompleteOverlay, useAutocomplete } from "./chunk-VQG7K5QE.js";
|
|
2
2
|
import { INDICATOR_ROTATION, INDICATOR_SPRING } from "./chunk-64MXEVT3.js";
|
|
3
3
|
import { useMergedRef } from "./chunk-NCTOTTVW.js";
|
|
4
4
|
import { ChevronDownIcon, Icon, IconContext } from "./chunk-JN6IRT2M.js";
|
|
@@ -11,10 +11,10 @@ import { Pressable } from "react-native";
|
|
|
11
11
|
import Animated, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
var HIT_SLOP = 8;
|
|
14
|
-
const
|
|
15
|
-
code: "function
|
|
16
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
17
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
14
|
+
const _worklet_16713176180490_init_data = {
|
|
15
|
+
code: "function chunkEXONAJUXJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
16
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-EXONAJUX.js",
|
|
17
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkEXONAJUXJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-EXONAJUX.js\"],\"mappings\":\"AA8CoC,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\":[]}"
|
|
18
18
|
};
|
|
19
19
|
function ComboboxIndicator(props) {
|
|
20
20
|
const {
|
|
@@ -31,32 +31,32 @@ function ComboboxIndicator(props) {
|
|
|
31
31
|
useEffect(() => {
|
|
32
32
|
progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
|
|
33
33
|
}, [isOpen, progress]);
|
|
34
|
-
const rotation = useAnimatedStyle(function
|
|
35
|
-
|
|
34
|
+
const rotation = useAnimatedStyle(function chunkEXONAJUXJs1Factory({
|
|
35
|
+
_worklet_16713176180490_init_data,
|
|
36
36
|
interpolate,
|
|
37
37
|
progress,
|
|
38
38
|
INDICATOR_ROTATION
|
|
39
39
|
}) {
|
|
40
40
|
const _e = [new global.Error(), -4, -27];
|
|
41
|
-
const
|
|
41
|
+
const chunkEXONAJUXJs1 = function () {
|
|
42
42
|
return {
|
|
43
43
|
transform: [{
|
|
44
44
|
rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
|
|
45
45
|
}]
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
chunkEXONAJUXJs1.__closure = {
|
|
49
49
|
interpolate,
|
|
50
50
|
progress,
|
|
51
51
|
INDICATOR_ROTATION
|
|
52
52
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
return
|
|
53
|
+
chunkEXONAJUXJs1.__workletHash = 16713176180490;
|
|
54
|
+
chunkEXONAJUXJs1.__pluginVersion = "0.7.4";
|
|
55
|
+
chunkEXONAJUXJs1.__initData = _worklet_16713176180490_init_data;
|
|
56
|
+
chunkEXONAJUXJs1.__stackDetails = _e;
|
|
57
|
+
return chunkEXONAJUXJs1;
|
|
58
58
|
}({
|
|
59
|
-
|
|
59
|
+
_worklet_16713176180490_init_data,
|
|
60
60
|
interpolate,
|
|
61
61
|
progress,
|
|
62
62
|
INDICATOR_ROTATION
|
|
@@ -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');
|
|
@@ -246,10 +246,10 @@ var SelectContent = _react.forwardRef.call(void 0, function SelectContent2({
|
|
|
246
246
|
SelectContent.displayName = "XAUI.Select.Content";
|
|
247
247
|
|
|
248
248
|
// src/components/select/select-indicator.tsx
|
|
249
|
-
const
|
|
250
|
-
code: "function
|
|
251
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
252
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
249
|
+
const _worklet_7817755354804_init_data = {
|
|
250
|
+
code: "function chunkFWAP4WAJCjs1(){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\"}]};}",
|
|
251
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FWAP4WAJ.cjs",
|
|
252
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkFWAP4WAJCjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FWAP4WAJ.cjs\"],\"mappings\":\"AAmQwE,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\":[]}"
|
|
253
253
|
};
|
|
254
254
|
function SelectIndicator({
|
|
255
255
|
as = _chunkGSZDN6EZcjs.ChevronDownIcon,
|
|
@@ -263,32 +263,32 @@ function SelectIndicator({
|
|
|
263
263
|
_react.useEffect.call(void 0, () => {
|
|
264
264
|
progress.set(_reactnativereanimated.withSpring.call(void 0, isOpen ? 1 : 0, _chunkEKS3W46Mcjs.INDICATOR_SPRING));
|
|
265
265
|
}, [isOpen, progress]);
|
|
266
|
-
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
267
|
-
|
|
266
|
+
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkFWAP4WAJCjs1Factory({
|
|
267
|
+
_worklet_7817755354804_init_data,
|
|
268
268
|
_reactnativereanimated,
|
|
269
269
|
progress,
|
|
270
270
|
_chunkEKS3W46Mcjs
|
|
271
271
|
}) {
|
|
272
272
|
const _e = [new global.Error(), -4, -27];
|
|
273
|
-
const
|
|
273
|
+
const chunkFWAP4WAJCjs1 = function () {
|
|
274
274
|
return {
|
|
275
275
|
transform: [{
|
|
276
276
|
rotate: `${_reactnativereanimated.interpolate.call(void 0, progress.get(), [0, 1], [_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0], _chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])}deg`
|
|
277
277
|
}]
|
|
278
278
|
};
|
|
279
279
|
};
|
|
280
|
-
|
|
280
|
+
chunkFWAP4WAJCjs1.__closure = {
|
|
281
281
|
_reactnativereanimated,
|
|
282
282
|
progress,
|
|
283
283
|
_chunkEKS3W46Mcjs
|
|
284
284
|
};
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
return
|
|
285
|
+
chunkFWAP4WAJCjs1.__workletHash = 7817755354804;
|
|
286
|
+
chunkFWAP4WAJCjs1.__pluginVersion = "0.7.4";
|
|
287
|
+
chunkFWAP4WAJCjs1.__initData = _worklet_7817755354804_init_data;
|
|
288
|
+
chunkFWAP4WAJCjs1.__stackDetails = _e;
|
|
289
|
+
return chunkFWAP4WAJCjs1;
|
|
290
290
|
}({
|
|
291
|
-
|
|
291
|
+
_worklet_7817755354804_init_data,
|
|
292
292
|
_reactnativereanimated,
|
|
293
293
|
progress,
|
|
294
294
|
_chunkEKS3W46Mcjs
|
|
@@ -579,21 +579,21 @@ function Select({
|
|
|
579
579
|
isOpen: isOpen ? "true" : void 0,
|
|
580
580
|
isInvalid: isInvalid ? "true" : void 0
|
|
581
581
|
};
|
|
582
|
-
const styles =
|
|
582
|
+
const styles = _chunkXILRXEULcjs.selectRecipe.resolve({
|
|
583
583
|
theme,
|
|
584
584
|
selection,
|
|
585
585
|
states: {
|
|
586
586
|
disabled: isDisabled
|
|
587
587
|
}
|
|
588
588
|
});
|
|
589
|
-
const pressed =
|
|
589
|
+
const pressed = _chunkXILRXEULcjs.selectRecipe.resolve({
|
|
590
590
|
theme,
|
|
591
591
|
selection,
|
|
592
592
|
states: {
|
|
593
593
|
pressed: true
|
|
594
594
|
}
|
|
595
595
|
});
|
|
596
|
-
const tint = color ?
|
|
596
|
+
const tint = color ? _chunkXILRXEULcjs.selectRecipe.tint({
|
|
597
597
|
theme,
|
|
598
598
|
color,
|
|
599
599
|
selection
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk3TBT6ORWcjs = require('./chunk-3TBT6ORW.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkXILRXEULcjs = require('./chunk-XILRXEUL.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
@@ -674,17 +674,17 @@ function TimePicker({
|
|
|
674
674
|
isOpen: isOpen ? "true" : void 0,
|
|
675
675
|
isInvalid: isInvalid ? "true" : void 0
|
|
676
676
|
};
|
|
677
|
-
const field =
|
|
677
|
+
const field = _chunkXILRXEULcjs.selectRecipe.resolve({
|
|
678
678
|
theme,
|
|
679
679
|
selection,
|
|
680
680
|
states: { disabled: isDisabled }
|
|
681
681
|
});
|
|
682
|
-
const fieldPressed =
|
|
682
|
+
const fieldPressed = _chunkXILRXEULcjs.selectRecipe.resolve({
|
|
683
683
|
theme,
|
|
684
684
|
selection,
|
|
685
685
|
states: { pressed: true }
|
|
686
686
|
});
|
|
687
|
-
const fieldTint = color ?
|
|
687
|
+
const fieldTint = color ? _chunkXILRXEULcjs.selectRecipe.tint({ theme, color, selection }) : void 0;
|
|
688
688
|
const dialStyles = timePickerRecipe.resolve({
|
|
689
689
|
theme,
|
|
690
690
|
selection: { size },
|
|
@@ -861,10 +861,10 @@ TimePicker.displayName = "XAUI.TimePicker.Root";
|
|
|
861
861
|
|
|
862
862
|
function TimePickerSheet({ children, ...props }) {
|
|
863
863
|
const picker = useTimePicker();
|
|
864
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
865
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
864
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2, { isOpen: picker.isOpen, onOpenChange: picker.setOpen, ...props, children: [
|
|
865
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Overlay, {}),
|
|
866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Content, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerProvider, { value: picker, children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheet2.Handle, {}),
|
|
868
868
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerDisplay, { style: { alignSelf: "center" } }),
|
|
869
869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimePickerClock, { style: { alignSelf: "center" } })
|
|
870
870
|
] }))) }) })
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
TimePicker2 as TimePicker,
|
|
3
3
|
TimePickerIndicator,
|
|
4
4
|
withTime
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WMTGDNXU.js";
|
|
6
6
|
import {
|
|
7
7
|
Tabs
|
|
8
8
|
} from "./chunk-RAYO2TJL.js";
|
|
9
9
|
import {
|
|
10
10
|
BottomSheet2 as BottomSheet
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LYWXGEED.js";
|
|
12
12
|
import {
|
|
13
13
|
Calendar
|
|
14
14
|
} from "./chunk-6NAZ2IHL.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-SHFUQVLX.js";
|
|
18
18
|
import {
|
|
19
19
|
selectRecipe
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AMFGATFY.js";
|
|
21
21
|
import {
|
|
22
22
|
useControllableState
|
|
23
23
|
} from "./chunk-F6W3JQ7K.js";
|
|
@@ -233,7 +233,7 @@ var alertRecipe = createRecipe({
|
|
|
233
233
|
*
|
|
234
234
|
* The icon takes the **title's** colour rather than a status colour of its own — on a
|
|
235
235
|
* `danger` alert the readable colour is the one the title already uses, and on a
|
|
236
|
-
* `danger-soft` one that token *is* the red.
|
|
236
|
+
* `danger-soft` one that token *is* the red. The reference implementation arrives at the same place from the
|
|
237
237
|
* other direction, colouring the icon by status on a neutral surface; here the variant
|
|
238
238
|
* decides both, and an icon that has to disagree with its alert says so itself with
|
|
239
239
|
* `<Alert.Icon color={…} />`.
|
|
@@ -196,7 +196,7 @@ var toastRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
196
196
|
root: {
|
|
197
197
|
backgroundColor: theme.colors.overlay,
|
|
198
198
|
padding: theme.spacing(4),
|
|
199
|
-
//
|
|
199
|
+
// The reference implementation's `--radius-3xl` on a base of 8 is 24 points; ours is 12, so the same 24
|
|
200
200
|
// is `2xl`.
|
|
201
201
|
borderRadius: theme.radius["2xl"],
|
|
202
202
|
borderCurve: "continuous",
|
|
@@ -403,10 +403,10 @@ function ToastHost({
|
|
|
403
403
|
}) : null]
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
|
-
const
|
|
407
|
-
code: "function
|
|
408
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
409
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
406
|
+
const _worklet_11458930173349_init_data = {
|
|
407
|
+
code: "function chunkIHRPAKCZCjs1(){const{fade,stackY,drag,stackScale,press}=this.__closure;return{opacity:fade.get(),transform:[{translateY:stackY.get()+drag.get()},{scale:stackScale.get()*press.get()}]};}",
|
|
408
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IHRPAKCZ.cjs",
|
|
409
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkIHRPAKCZCjs1\",\"fade\",\"stackY\",\"drag\",\"stackScale\",\"press\",\"__closure\",\"opacity\",\"get\",\"transform\",\"translateY\",\"scale\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IHRPAKCZ.cjs\"],\"mappings\":\"AAyZwE,SAAAA,iBAAMA,CAAA,QAAAC,IAAA,CAAAC,MAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,KAAA,OAAAC,SAAA,CAE1E,MAAO,CACLC,OAAO,CAAEN,IAAI,CAACO,GAAG,CAAC,CAAC,CACnBC,SAAS,CAAE,CACT,CAAEC,UAAU,CAAER,MAAM,CAACM,GAAG,CAAC,CAAC,CAAGL,IAAI,CAACK,GAAG,CAAC,CAAE,CAAC,CACzC,CAAEG,KAAK,CAAEP,UAAU,CAACI,GAAG,CAAC,CAAC,CAAGH,KAAK,CAACG,GAAG,CAAC,CAAE,CAAC,CAE7C,CAAC,CACH\",\"ignoreList\":[]}"
|
|
410
410
|
};
|
|
411
411
|
function ToastStackEntry({
|
|
412
412
|
children,
|
|
@@ -457,8 +457,8 @@ function ToastStackEntry({
|
|
|
457
457
|
}));
|
|
458
458
|
_reactnativereanimated.runOnJS.call(void 0, hideAfterThrow)(event.velocityY);
|
|
459
459
|
});
|
|
460
|
-
const stacking = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
461
|
-
|
|
460
|
+
const stacking = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkIHRPAKCZCjs1Factory({
|
|
461
|
+
_worklet_11458930173349_init_data,
|
|
462
462
|
fade,
|
|
463
463
|
stackY,
|
|
464
464
|
drag,
|
|
@@ -466,7 +466,7 @@ function ToastStackEntry({
|
|
|
466
466
|
press
|
|
467
467
|
}) {
|
|
468
468
|
const _e = [new global.Error(), -6, -27];
|
|
469
|
-
const
|
|
469
|
+
const chunkIHRPAKCZCjs1 = function () {
|
|
470
470
|
return {
|
|
471
471
|
opacity: fade.get(),
|
|
472
472
|
transform: [{
|
|
@@ -476,20 +476,20 @@ function ToastStackEntry({
|
|
|
476
476
|
}]
|
|
477
477
|
};
|
|
478
478
|
};
|
|
479
|
-
|
|
479
|
+
chunkIHRPAKCZCjs1.__closure = {
|
|
480
480
|
fade,
|
|
481
481
|
stackY,
|
|
482
482
|
drag,
|
|
483
483
|
stackScale,
|
|
484
484
|
press
|
|
485
485
|
};
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
return
|
|
486
|
+
chunkIHRPAKCZCjs1.__workletHash = 11458930173349;
|
|
487
|
+
chunkIHRPAKCZCjs1.__pluginVersion = "0.7.4";
|
|
488
|
+
chunkIHRPAKCZCjs1.__initData = _worklet_11458930173349_init_data;
|
|
489
|
+
chunkIHRPAKCZCjs1.__stackDetails = _e;
|
|
490
|
+
return chunkIHRPAKCZCjs1;
|
|
491
491
|
}({
|
|
492
|
-
|
|
492
|
+
_worklet_11458930173349_init_data,
|
|
493
493
|
fade,
|
|
494
494
|
stackY,
|
|
495
495
|
drag,
|