@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,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"],
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
-
var
|
|
7
|
+
var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkBKY5YQ7Wcjs = require('./chunk-BKY5YQ7W.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkHBYT7B47cjs = require('./chunk-HBYT7B47.cjs');
|
|
@@ -140,9 +140,9 @@ var DummyFieldField = _react.forwardRef.call(void 0,
|
|
|
140
140
|
descriptionId,
|
|
141
141
|
onPress: rootOnPress
|
|
142
142
|
} = useDummyField();
|
|
143
|
-
const group =
|
|
143
|
+
const group = _chunkNRU5APUEcjs.useOptionalFieldGroup.call(void 0, );
|
|
144
144
|
const padding = _react.useMemo.call(void 0,
|
|
145
|
-
() =>
|
|
145
|
+
() => _chunkNRU5APUEcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _ => _.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _2 => _2.suffixWidth]), () => ( 0))),
|
|
146
146
|
[_optionalChain([group, 'optionalAccess', _3 => _3.prefixWidth]), _optionalChain([group, 'optionalAccess', _4 => _4.suffixWidth])]
|
|
147
147
|
);
|
|
148
148
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
@@ -422,8 +422,8 @@ var dummyFieldRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
422
422
|
fontFamily: theme.fontFamilies.body,
|
|
423
423
|
color: theme.colors.danger
|
|
424
424
|
},
|
|
425
|
-
prefix: { ...
|
|
426
|
-
suffix: { ...
|
|
425
|
+
prefix: { ..._chunkBKY5YQ7Wcjs.decoratorBox.call(void 0, theme), start: 0 },
|
|
426
|
+
suffix: { ..._chunkBKY5YQ7Wcjs.decoratorBox.call(void 0, theme), end: 0 },
|
|
427
427
|
icon: { color: theme.colors.fieldPlaceholder }
|
|
428
428
|
}),
|
|
429
429
|
variantTokens: VARIANT_TOKENS,
|
|
@@ -572,7 +572,7 @@ var DummyFieldRoot = _react.forwardRef.call(void 0, function DummyField({
|
|
|
572
572
|
}, [styles, labelId, descriptionId, isDisabled, isInvalid]);
|
|
573
573
|
const rootStyle = [styles.root, _optionalChain([tint, 'optionalAccess', _7 => _7.root]), styleProps, style];
|
|
574
574
|
const surface = asChild ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCDRGTUYFcjs.Slot, { ref, ...rest, style: rootStyle, children }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, ...rest, style: rootStyle, children });
|
|
575
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
575
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldProvider, { value: textFieldContext, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DummyFieldProvider, { value: context, children: surface }) });
|
|
576
576
|
});
|
|
577
577
|
DummyFieldRoot.displayName = "XAUI.DummyField.Root";
|
|
578
578
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { collectItemLabels, 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";
|
|
@@ -214,10 +214,10 @@ SelectContent.displayName = "XAUI.Select.Content";
|
|
|
214
214
|
import { useEffect as useEffect3 } from "react";
|
|
215
215
|
import Animated2, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
|
|
216
216
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
217
|
-
const
|
|
218
|
-
code: "function
|
|
219
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
220
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
217
|
+
const _worklet_5921002532733_init_data = {
|
|
218
|
+
code: "function chunkZ2KK5W7PJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
219
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-Z2KK5W7P.js",
|
|
220
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkZ2KK5W7PJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-Z2KK5W7P.js\"],\"mappings\":\"AAmQoC,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\":[]}"
|
|
221
221
|
};
|
|
222
222
|
function SelectIndicator({
|
|
223
223
|
as = ChevronDownIcon,
|
|
@@ -231,32 +231,32 @@ function SelectIndicator({
|
|
|
231
231
|
useEffect3(() => {
|
|
232
232
|
progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
|
|
233
233
|
}, [isOpen, progress]);
|
|
234
|
-
const rotation = useAnimatedStyle(function
|
|
235
|
-
|
|
234
|
+
const rotation = useAnimatedStyle(function chunkZ2KK5W7PJs1Factory({
|
|
235
|
+
_worklet_5921002532733_init_data,
|
|
236
236
|
interpolate,
|
|
237
237
|
progress,
|
|
238
238
|
INDICATOR_ROTATION
|
|
239
239
|
}) {
|
|
240
240
|
const _e = [new global.Error(), -4, -27];
|
|
241
|
-
const
|
|
241
|
+
const chunkZ2KK5W7PJs1 = function () {
|
|
242
242
|
return {
|
|
243
243
|
transform: [{
|
|
244
244
|
rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
|
|
245
245
|
}]
|
|
246
246
|
};
|
|
247
247
|
};
|
|
248
|
-
|
|
248
|
+
chunkZ2KK5W7PJs1.__closure = {
|
|
249
249
|
interpolate,
|
|
250
250
|
progress,
|
|
251
251
|
INDICATOR_ROTATION
|
|
252
252
|
};
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
return
|
|
253
|
+
chunkZ2KK5W7PJs1.__workletHash = 5921002532733;
|
|
254
|
+
chunkZ2KK5W7PJs1.__pluginVersion = "0.7.4";
|
|
255
|
+
chunkZ2KK5W7PJs1.__initData = _worklet_5921002532733_init_data;
|
|
256
|
+
chunkZ2KK5W7PJs1.__stackDetails = _e;
|
|
257
|
+
return chunkZ2KK5W7PJs1;
|
|
258
258
|
}({
|
|
259
|
-
|
|
259
|
+
_worklet_5921002532733_init_data,
|
|
260
260
|
interpolate,
|
|
261
261
|
progress,
|
|
262
262
|
INDICATOR_ROTATION
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
DummyFieldField,
|
|
5
5
|
DummyFieldLabel,
|
|
6
6
|
DummyFieldRoot
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MXSIY6QQ.js";
|
|
8
8
|
import {
|
|
9
9
|
Dialog,
|
|
10
10
|
DialogClose,
|
|
11
11
|
DialogContent,
|
|
12
12
|
DialogOverlay,
|
|
13
13
|
DialogTitle
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5G36GMFS.js";
|
|
15
15
|
import {
|
|
16
16
|
useControllableState
|
|
17
17
|
} from "./chunk-F6W3JQ7K.js";
|
|
@@ -106,10 +106,10 @@ var AvatarImage = forwardRef3(function AvatarImage2({
|
|
|
106
106
|
});
|
|
107
107
|
});
|
|
108
108
|
AvatarImage.displayName = "XAUI.Avatar.Image";
|
|
109
|
-
const
|
|
110
|
-
code: "function
|
|
111
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
112
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
109
|
+
const _worklet_3214403523242_init_data = {
|
|
110
|
+
code: "function chunkZR5YOCOQJs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
111
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-ZR5YOCOQ.js",
|
|
112
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkZR5YOCOQJs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-ZR5YOCOQ.js\"],\"mappings\":\"AAsG2C,SAAAA,gBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE3C,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
|
|
113
113
|
};
|
|
114
114
|
var FadingImage = forwardRef3(function FadingImage2({
|
|
115
115
|
onLoad,
|
|
@@ -123,26 +123,26 @@ var FadingImage = forwardRef3(function FadingImage2({
|
|
|
123
123
|
});
|
|
124
124
|
onLoad?.(event);
|
|
125
125
|
}, [opacity, onLoad]);
|
|
126
|
-
const animatedStyle = useAnimatedStyle(function
|
|
127
|
-
|
|
126
|
+
const animatedStyle = useAnimatedStyle(function chunkZR5YOCOQJs1Factory({
|
|
127
|
+
_worklet_3214403523242_init_data,
|
|
128
128
|
opacity
|
|
129
129
|
}) {
|
|
130
130
|
const _e = [new global.Error(), -2, -27];
|
|
131
|
-
const
|
|
131
|
+
const chunkZR5YOCOQJs1 = function () {
|
|
132
132
|
return {
|
|
133
133
|
opacity: opacity.value
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
|
-
|
|
136
|
+
chunkZR5YOCOQJs1.__closure = {
|
|
137
137
|
opacity
|
|
138
138
|
};
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
return
|
|
139
|
+
chunkZR5YOCOQJs1.__workletHash = 3214403523242;
|
|
140
|
+
chunkZR5YOCOQJs1.__pluginVersion = "0.7.4";
|
|
141
|
+
chunkZR5YOCOQJs1.__initData = _worklet_3214403523242_init_data;
|
|
142
|
+
chunkZR5YOCOQJs1.__stackDetails = _e;
|
|
143
|
+
return chunkZR5YOCOQJs1;
|
|
144
144
|
}({
|
|
145
|
-
|
|
145
|
+
_worklet_3214403523242_init_data,
|
|
146
146
|
opacity
|
|
147
147
|
}), [opacity]);
|
|
148
148
|
return /* @__PURE__ */jsx3(Animated.Image, {
|
|
@@ -303,7 +303,7 @@ var avatarRecipe = createRecipe({
|
|
|
303
303
|
radius: radiusAxis("root")
|
|
304
304
|
},
|
|
305
305
|
/**
|
|
306
|
-
* A circle at every size, where
|
|
306
|
+
* A circle at every size, where the reference implementation fixes one large radius for all three — which
|
|
307
307
|
* makes their small avatars round and their large ones squircles. `full` says the shape
|
|
308
308
|
* the name means once, and `radius` is still there for the logo that wants a square.
|
|
309
309
|
*/
|
|
@@ -8,7 +8,7 @@ import { FadeIn, FadeOut } from 'react-native-reanimated';
|
|
|
8
8
|
* content grows afterwards — an image loading, a list filling — would be stuck at the
|
|
9
9
|
* height it had when it was measured.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* The reference implementation's spring, and stiffer than the chevron's: 1600 against 1000. A height is a
|
|
12
12
|
* bigger distance than a rotation, and at the chevron's stiffness the same damping makes
|
|
13
13
|
* a long panel take almost half a second to settle.
|
|
14
14
|
*/
|
|
@@ -8,7 +8,7 @@ import { FadeIn, FadeOut } from 'react-native-reanimated';
|
|
|
8
8
|
* content grows afterwards — an image loading, a list filling — would be stuck at the
|
|
9
9
|
* height it had when it was measured.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* The reference implementation's spring, and stiffer than the chevron's: 1600 against 1000. A height is a
|
|
12
12
|
* bigger distance than a rotation, and at the chevron's stiffness the same damping makes
|
|
13
13
|
* a long panel take almost half a second to settle.
|
|
14
14
|
*/
|
|
@@ -15,7 +15,7 @@ export type AccordionSlot = 'root'
|
|
|
15
15
|
* the `Button`'s five nor the `Card`'s four read that cleanly — both put `default`
|
|
16
16
|
* somewhere in the middle of an order it does not name a position in.
|
|
17
17
|
*
|
|
18
|
-
* `ghost` is the default here, and it is
|
|
18
|
+
* `ghost` is the default here, and it is the reference implementation's own `default`: rows separated by
|
|
19
19
|
* hairlines, on whatever page they sit on. `primary` is their `surface`.
|
|
20
20
|
*/
|
|
21
21
|
export type AccordionVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';
|
|
@@ -15,7 +15,7 @@ export type AccordionSlot = 'root'
|
|
|
15
15
|
* the `Button`'s five nor the `Card`'s four read that cleanly — both put `default`
|
|
16
16
|
* somewhere in the middle of an order it does not name a position in.
|
|
17
17
|
*
|
|
18
|
-
* `ghost` is the default here, and it is
|
|
18
|
+
* `ghost` is the default here, and it is the reference implementation's own `default`: rows separated by
|
|
19
19
|
* hairlines, on whatever page they sit on. `primary` is their `surface`.
|
|
20
20
|
*/
|
|
21
21
|
export type AccordionVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkUSQK6SFZcjs = require('../../chunk-USQK6SFZ.cjs');
|
|
13
13
|
require('../../chunk-EKS3W46M.cjs');
|
|
14
14
|
require('../../chunk-7EIHHOHP.cjs');
|
|
15
15
|
require('../../chunk-HBYT7B47.cjs');
|
|
@@ -34,4 +34,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
exports.Accordion =
|
|
37
|
+
exports.Accordion = _chunkUSQK6SFZcjs.Accordion; exports.AccordionContent = _chunkUSQK6SFZcjs.AccordionContent; exports.AccordionIndicator = _chunkUSQK6SFZcjs.AccordionIndicator; exports.AccordionItem = _chunkUSQK6SFZcjs.AccordionItem; exports.AccordionRoot = _chunkUSQK6SFZcjs.AccordionRoot; exports.AccordionTrigger = _chunkUSQK6SFZcjs.AccordionTrigger; exports.accordionLayoutTransition = _chunkUSQK6SFZcjs.LAYOUT; exports.accordionRecipe = _chunkUSQK6SFZcjs.accordionRecipe; exports.useAccordion = _chunkUSQK6SFZcjs.useAccordion; exports.useAccordionItem = _chunkUSQK6SFZcjs.useAccordionItem;
|
|
@@ -13,7 +13,7 @@ import type { AlertIconProps } from './alert.type';
|
|
|
13
13
|
* The size and the colour come from the root, which resolved them once; an explicit `size`
|
|
14
14
|
* or `color` still wins, and that is the escape hatch for the alert whose icon has to
|
|
15
15
|
* disagree with its variant — a neutral `default` surface with a green check, which is how
|
|
16
|
-
*
|
|
16
|
+
* The reference implementation colours its own.
|
|
17
17
|
*
|
|
18
18
|
* **This slot renders a box**, unlike `Button.Icon` and `Chip.Icon`, which hand their
|
|
19
19
|
* props straight to a third-party component. It has to: an alert's icon sits beside a
|
|
@@ -21,7 +21,7 @@ import type { AlertIconProps } from './alert.type';
|
|
|
21
21
|
* line's cap-height means offsetting it by half the leading. That is a style, and a style
|
|
22
22
|
* needs a node — which is also what lets this slot carry style props at all.
|
|
23
23
|
*
|
|
24
|
-
* **No default glyph**, where
|
|
24
|
+
* **No default glyph**, where the reference implementation ships three. XAUI publishes no icon set — `@xaui/icons`
|
|
25
25
|
* was deleted in P0 — so an icon here is always the caller's, and the alert's job is to
|
|
26
26
|
* size and colour it rather than to choose it.
|
|
27
27
|
*/
|
|
@@ -13,7 +13,7 @@ import type { AlertIconProps } from './alert.type';
|
|
|
13
13
|
* The size and the colour come from the root, which resolved them once; an explicit `size`
|
|
14
14
|
* or `color` still wins, and that is the escape hatch for the alert whose icon has to
|
|
15
15
|
* disagree with its variant — a neutral `default` surface with a green check, which is how
|
|
16
|
-
*
|
|
16
|
+
* The reference implementation colours its own.
|
|
17
17
|
*
|
|
18
18
|
* **This slot renders a box**, unlike `Button.Icon` and `Chip.Icon`, which hand their
|
|
19
19
|
* props straight to a third-party component. It has to: an alert's icon sits beside a
|
|
@@ -21,7 +21,7 @@ import type { AlertIconProps } from './alert.type';
|
|
|
21
21
|
* line's cap-height means offsetting it by half the leading. That is a style, and a style
|
|
22
22
|
* needs a node — which is also what lets this slot carry style props at all.
|
|
23
23
|
*
|
|
24
|
-
* **No default glyph**, where
|
|
24
|
+
* **No default glyph**, where the reference implementation ships three. XAUI publishes no icon set — `@xaui/icons`
|
|
25
25
|
* was deleted in P0 — so an icon here is always the caller's, and the alert's job is to
|
|
26
26
|
* size and colour it rather than to choose it.
|
|
27
27
|
*/
|
|
@@ -12,7 +12,7 @@ export type AlertSlot = 'root' | 'icon' | 'iconGlyph' | 'content' | 'title' | 'd
|
|
|
12
12
|
* status vocabulary of the `Chip` for the rest.
|
|
13
13
|
*
|
|
14
14
|
* - **`default`** — the `surface` fill and the surface shadow, exactly the `Card`'s
|
|
15
|
-
* `default`. This is
|
|
15
|
+
* `default`. This is the reference implementation's alert: a neutral card, with the status carried by the icon
|
|
16
16
|
* rather than by the background.
|
|
17
17
|
* - **`primary` / `secondary`** — the full accent and its soft slice, for the
|
|
18
18
|
* informational alert that is not an outcome.
|
|
@@ -12,7 +12,7 @@ export type AlertSlot = 'root' | 'icon' | 'iconGlyph' | 'content' | 'title' | 'd
|
|
|
12
12
|
* status vocabulary of the `Chip` for the rest.
|
|
13
13
|
*
|
|
14
14
|
* - **`default`** — the `surface` fill and the surface shadow, exactly the `Card`'s
|
|
15
|
-
* `default`. This is
|
|
15
|
+
* `default`. This is the reference implementation's alert: a neutral card, with the status carried by the icon
|
|
16
16
|
* rather than by the background.
|
|
17
17
|
* - **`primary` / `secondary`** — the full accent and its soft slice, for the
|
|
18
18
|
* informational alert that is not an outcome.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkKIXHSX3Lcjs = require('../../chunk-KIXHSX3L.cjs');
|
|
6
6
|
require('../../chunk-WNEDQTH6.cjs');
|
|
7
7
|
require('../../chunk-HBYT7B47.cjs');
|
|
8
8
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
@@ -19,4 +19,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.Alert =
|
|
22
|
+
exports.Alert = _chunkKIXHSX3Lcjs.Alert; exports.alertRecipe = _chunkKIXHSX3Lcjs.alertRecipe; exports.useAlert = _chunkKIXHSX3Lcjs.useAlert;
|