@xaui/native 0.9.1-alpha.94 → 0.9.1-beta.100
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-4LRVB6WR.cjs → chunk-3DQCHPB6.cjs} +12 -12
- package/dist/{chunk-5O7E73QP.cjs → chunk-3MMOZP4Y.cjs} +8 -8
- 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-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-4AIIAF6U.js → chunk-73EVNWZI.js} +16 -16
- 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-OZLOYXLW.js → chunk-BBQQIO6L.js} +4 -4
- 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-2TLPFGGR.cjs → chunk-CS6CYB4I.cjs} +34 -25
- package/dist/{chunk-WYRM77XM.cjs → chunk-ENZBKNFJ.cjs} +15 -15
- package/dist/{chunk-ERIGD4SE.cjs → chunk-ETY5PM3E.cjs} +150 -39
- package/dist/{chunk-YJIVPYMG.cjs → chunk-FLKTJ46K.cjs} +15 -15
- package/dist/{chunk-OX23MW5E.js → chunk-FSVZXWLZ.js} +44 -44
- package/dist/{chunk-E5E2QA4K.js → chunk-GVZJNIHN.js} +176 -62
- 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-J5COSALO.cjs → chunk-L4B6Z45Q.cjs} +5 -5
- package/dist/{chunk-KFB24VYT.js → chunk-LMMHAGOM.js} +26 -17
- package/dist/{chunk-EQUD3NHO.js → chunk-LYWXGEED.js} +43 -43
- package/dist/{chunk-BYDGJU5A.js → chunk-M352N6PQ.js} +5 -5
- package/dist/{chunk-XOZMGNVS.js → chunk-MXSIY6QQ.js} +3 -3
- package/dist/{chunk-3CPLJJWX.js → chunk-MZUYTCCB.js} +1 -1
- package/dist/{chunk-K7VDLVLE.js → chunk-NQDTGYHC.js} +3 -3
- 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-E4FWGZH2.js → chunk-OUNTRW6E.js} +5 -5
- package/dist/{chunk-MNBEUNC5.cjs → chunk-QRH45OO3.cjs} +144 -33
- 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-QT7KLGO3.js → chunk-V5FYHQKQ.js} +102 -87
- package/dist/{chunk-KMK6FUTK.cjs → chunk-V5V2QYFH.cjs} +9 -9
- package/dist/{chunk-YGETADPV.js → chunk-V7YT4SDX.js} +2 -2
- package/dist/{chunk-DBP5CA5R.js → chunk-VL2ZT4BB.js} +3 -3
- package/dist/{chunk-Q6OVVUAT.js → chunk-VTGWFZCA.js} +2 -2
- package/dist/{chunk-YI5D4QZP.js → chunk-WIGDDZHO.js} +190 -76
- package/dist/{chunk-NGXLJ5ZF.cjs → chunk-WSDDUVF6.cjs} +22 -22
- package/dist/{chunk-AIHKBSQ5.cjs → chunk-YUCK5VJO.cjs} +8 -8
- package/dist/{chunk-SIOSYITD.cjs → chunk-ZBFBF7S4.cjs} +60 -45
- package/dist/{chunk-SX5U5UJQ.js → chunk-ZBY7Q7WJ.js} +2 -2
- package/dist/{chunk-53E2E7GS.cjs → chunk-ZNKHL5O6.cjs} +15 -15
- 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/agenda-calendar/agenda-calendar-today-button.d.cts +4 -0
- package/dist/components/agenda-calendar/agenda-calendar-today-button.d.ts +4 -0
- package/dist/components/agenda-calendar/agenda-calendar.recipe.d.cts +1 -1
- package/dist/components/agenda-calendar/agenda-calendar.recipe.d.ts +1 -1
- package/dist/components/agenda-calendar/agenda-calendar.type.d.cts +4 -1
- package/dist/components/agenda-calendar/agenda-calendar.type.d.ts +4 -1
- package/dist/components/agenda-calendar/index.cjs +2 -2
- package/dist/components/agenda-calendar/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/autocomplete-description.d.cts +14 -0
- package/dist/components/autocomplete/autocomplete-description.d.ts +14 -0
- package/dist/components/autocomplete/autocomplete-error.d.cts +12 -0
- package/dist/components/autocomplete/autocomplete-error.d.ts +12 -0
- package/dist/components/autocomplete/autocomplete-label.d.cts +15 -0
- package/dist/components/autocomplete/autocomplete-label.d.ts +15 -0
- package/dist/components/autocomplete/autocomplete.d.cts +50 -7
- package/dist/components/autocomplete/autocomplete.d.ts +50 -7
- package/dist/components/autocomplete/autocomplete.type.d.cts +21 -4
- package/dist/components/autocomplete/autocomplete.type.d.ts +21 -4
- package/dist/components/autocomplete/index.cjs +10 -3
- package/dist/components/autocomplete/index.d.cts +50 -3
- package/dist/components/autocomplete/index.d.ts +50 -3
- package/dist/components/autocomplete/index.js +9 -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/combobox.type.d.cts +5 -1
- package/dist/components/combobox/combobox.type.d.ts +5 -1
- package/dist/components/combobox/index.cjs +5 -4
- package/dist/components/combobox/index.d.cts +15 -1
- package/dist/components/combobox/index.d.ts +15 -1
- package/dist/components/combobox/index.js +4 -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 +10 -3
- package/dist/components/select/index.d.cts +45 -4
- package/dist/components/select/index.d.ts +45 -4
- package/dist/components/select/index.js +9 -2
- package/dist/components/select/select-description.d.cts +14 -0
- package/dist/components/select/select-description.d.ts +14 -0
- package/dist/components/select/select-error.d.cts +13 -0
- package/dist/components/select/select-error.d.ts +13 -0
- package/dist/components/select/select-group-label.d.cts +11 -0
- package/dist/components/select/select-group-label.d.ts +11 -0
- package/dist/components/select/select-indicator.d.cts +1 -1
- package/dist/components/select/select-indicator.d.ts +1 -1
- package/dist/components/select/select-label.d.cts +11 -2
- package/dist/components/select/select-label.d.ts +11 -2
- package/dist/components/select/select.d.cts +49 -9
- package/dist/components/select/select.d.ts +49 -9
- package/dist/components/select/select.recipe.d.cts +1 -1
- package/dist/components/select/select.recipe.d.ts +1 -1
- package/dist/components/select/select.type.d.cts +33 -9
- package/dist/components/select/select.type.d.ts +33 -9
- 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 +66 -42
- package/dist/index.js +74 -50
- 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
|
@@ -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,
|
|
@@ -165,7 +165,7 @@ var toastRecipe = createRecipe({
|
|
|
165
165
|
root: {
|
|
166
166
|
backgroundColor: theme.colors.overlay,
|
|
167
167
|
padding: theme.spacing(4),
|
|
168
|
-
//
|
|
168
|
+
// The reference implementation's `--radius-3xl` on a base of 8 is 24 points; ours is 12, so the same 24
|
|
169
169
|
// is `2xl`.
|
|
170
170
|
borderRadius: theme.radius["2xl"],
|
|
171
171
|
borderCurve: "continuous",
|
|
@@ -373,40 +373,40 @@ function ToastHost({
|
|
|
373
373
|
}) : null]
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
|
-
const
|
|
377
|
-
code: "function
|
|
378
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
379
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
376
|
+
const _worklet_2281715056357_init_data = {
|
|
377
|
+
code: "function chunkIVELCJENJs1(){const{withTiming,translateY,STACK_TIMING}=this.__closure;return withTiming(translateY,STACK_TIMING);}",
|
|
378
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js",
|
|
379
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkIVELCJENJs1\",\"withTiming\",\"translateY\",\"STACK_TIMING\",\"__closure\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js\"],\"mappings\":\"AA0WI,SAAAA,iBAAA,QAAAC,UAAA,CAAAC,UAAA,CAAAC,YAAA,OAAAC,SAAA,OAAM,CAAAH,UAAW,CAAAC,UAAU,CAAEC,YAAY\",\"ignoreList\":[]}"
|
|
380
380
|
};
|
|
381
|
-
const
|
|
382
|
-
code: "function
|
|
383
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
384
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
381
|
+
const _worklet_8946738804102_init_data = {
|
|
382
|
+
code: "function chunkIVELCJENJs2(){const{withTiming,scale,STACK_TIMING}=this.__closure;return withTiming(scale,STACK_TIMING);}",
|
|
383
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js",
|
|
384
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkIVELCJENJs2\",\"withTiming\",\"scale\",\"STACK_TIMING\",\"__closure\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js\"],\"mappings\":\"AA6WqC,SAAAA,iBAAA,QAAAC,UAAA,CAAAC,KAAA,CAAAC,YAAA,OAAAC,SAAA,OAAM,CAAAH,UAAW,CAAAC,KAAK,CAAEC,YAAY\",\"ignoreList\":[]}"
|
|
385
385
|
};
|
|
386
|
-
const
|
|
387
|
-
code: "function
|
|
388
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
389
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
386
|
+
const _worklet_641018010727_init_data = {
|
|
387
|
+
code: "function chunkIVELCJENJs3(){const{withTiming,opacity,STACK_TIMING}=this.__closure;return withTiming(opacity,STACK_TIMING);}",
|
|
388
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js",
|
|
389
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkIVELCJENJs3\",\"withTiming\",\"opacity\",\"STACK_TIMING\",\"__closure\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js\"],\"mappings\":\"AA8W+B,SAAAA,iBAAA,QAAAC,UAAA,CAAAC,OAAA,CAAAC,YAAA,OAAAC,SAAA,OAAM,CAAAH,UAAW,CAAAC,OAAO,CAAEC,YAAY\",\"ignoreList\":[]}"
|
|
390
390
|
};
|
|
391
|
-
const
|
|
392
|
-
code: "function
|
|
393
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
394
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
391
|
+
const _worklet_17193856217112_init_data = {
|
|
392
|
+
code: "function chunkIVELCJENJs4(event){const{press,away,SWIPE_DISTANCE,SWIPE_VELOCITY,drag,withSpring,withDecay,SWIPE_DECAY,runOnJS,hideAfterThrow}=this.__closure;press.set(1);const towardExit=event.translationY*away>0;const farEnough=Math.abs(event.translationY)>SWIPE_DISTANCE;const fastEnough=Math.abs(event.velocityY)>SWIPE_VELOCITY;if(!towardExit||!(farEnough||fastEnough)){drag.set(withSpring(0));return;}drag.set(withDecay({velocity:event.velocityY*SWIPE_DECAY,clamp:away===1?[0,Number.POSITIVE_INFINITY]:[Number.NEGATIVE_INFINITY,0]}));runOnJS(hideAfterThrow)(event.velocityY);}",
|
|
393
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js",
|
|
394
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkIVELCJENJs4\",\"event\",\"press\",\"away\",\"SWIPE_DISTANCE\",\"SWIPE_VELOCITY\",\"drag\",\"withSpring\",\"withDecay\",\"SWIPE_DECAY\",\"runOnJS\",\"hideAfterThrow\",\"__closure\",\"set\",\"towardExit\",\"translationY\",\"farEnough\",\"Math\",\"abs\",\"fastEnough\",\"velocityY\",\"velocity\",\"clamp\",\"Number\",\"POSITIVE_INFINITY\",\"NEGATIVE_INFINITY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js\"],\"mappings\":\"AAwYiB,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,KAAA,CAAAC,IAAA,CAAAC,cAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,SAAA,CAAAC,WAAA,CAAAC,OAAA,CAAAC,cAAA,OAAAC,SAAA,CACvBV,KAAK,CAACW,GAAG,CAAC,CAAC,CAAC,CACZ,KAAM,CAAAC,UAAU,CAAGb,KAAK,CAACc,YAAY,CAAGZ,IAAI,CAAG,CAAC,CAChD,KAAM,CAAAa,SAAS,CAAGC,IAAI,CAACC,GAAG,CAACjB,KAAK,CAACc,YAAY,CAAC,CAAGX,cAAc,CAC/D,KAAM,CAAAe,UAAU,CAAGF,IAAI,CAACC,GAAG,CAACjB,KAAK,CAACmB,SAAS,CAAC,CAAGf,cAAc,CAC7D,GAAI,CAACS,UAAU,EAAI,EAAEE,SAAS,EAAIG,UAAU,CAAC,CAAE,CAC7Cb,IAAI,CAACO,GAAG,CAACN,UAAU,CAAC,CAAC,CAAC,CAAC,CACvB,OACF,CACAD,IAAI,CAACO,GAAG,CACNL,SAAS,CAAC,CACRa,QAAQ,CAAEpB,KAAK,CAACmB,SAAS,CAAGX,WAAW,CACvCa,KAAK,CAAEnB,IAAI,GAAK,CAAC,CAAG,CAAC,CAAC,CAAEoB,MAAM,CAACC,iBAAiB,CAAC,CAAG,CAACD,MAAM,CAACE,iBAAiB,CAAE,CAAC,CAClF,CAAC,CACH,CAAC,CACDf,OAAO,CAACC,cAAc,CAAC,CAACV,KAAK,CAACmB,SAAS,CAAC,CAC1C\",\"ignoreList\":[]}"
|
|
395
395
|
};
|
|
396
|
-
const
|
|
397
|
-
code: "function
|
|
398
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
399
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
396
|
+
const _worklet_2568081920502_init_data = {
|
|
397
|
+
code: "function chunkIVELCJENJs5(event){const{away,drag,interpolate,screenHeight,DRAG_RUBBER,Extrapolation}=this.__closure;const towardExit=event.translationY*away;if(towardExit>0){drag.set(event.translationY);return;}const give=interpolate(Math.abs(event.translationY),[0,screenHeight],[0,DRAG_RUBBER],Extrapolation.CLAMP);drag.set(-give*away);}",
|
|
398
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js",
|
|
399
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkIVELCJENJs5\",\"event\",\"away\",\"drag\",\"interpolate\",\"screenHeight\",\"DRAG_RUBBER\",\"Extrapolation\",\"__closure\",\"towardExit\",\"translationY\",\"set\",\"give\",\"Math\",\"abs\",\"CLAMP\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js\"],\"mappings\":\"AA2Xe,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,IAAA,CAAAC,IAAA,CAAAC,WAAA,CAAAC,YAAA,CAAAC,WAAA,CAAAC,aAAA,OAAAC,SAAA,CACrB,KAAM,CAAAC,UAAU,CAAGR,KAAK,CAACS,YAAY,CAAGR,IAAI,CAC5C,GAAIO,UAAU,CAAG,CAAC,CAAE,CAClBN,IAAI,CAACQ,GAAG,CAACV,KAAK,CAACS,YAAY,CAAC,CAC5B,OACF,CACA,KAAM,CAAAE,IAAI,CAAGR,WAAW,CACtBS,IAAI,CAACC,GAAG,CAACb,KAAK,CAACS,YAAY,CAAC,CAC5B,CAAC,CAAC,CAAEL,YAAY,CAAC,CACjB,CAAC,CAAC,CAAEC,WAAW,CAAC,CAChBC,aAAa,CAACQ,KAChB,CAAC,CACDZ,IAAI,CAACQ,GAAG,CAAC,CAACC,IAAI,CAAGV,IAAI,CAAC,CACxB\",\"ignoreList\":[]}"
|
|
400
400
|
};
|
|
401
|
-
const
|
|
402
|
-
code: "function
|
|
403
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
404
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
401
|
+
const _worklet_15519247188772_init_data = {
|
|
402
|
+
code: "function chunkIVELCJENJs6(){const{press,PRESS_SCALE}=this.__closure;press.set(PRESS_SCALE);}",
|
|
403
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js",
|
|
404
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkIVELCJENJs6\",\"press\",\"PRESS_SCALE\",\"__closure\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js\"],\"mappings\":\"AAyXwE,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,CAAAC,WAAA,OAAAC,SAAA,CAC1EF,KAAK,CAACG,GAAG,CAACF,WAAW,CAAC,CACxB\",\"ignoreList\":[]}"
|
|
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_2447574075396_init_data = {
|
|
407
|
+
code: "function chunkIVELCJENJs7(){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-IVELCJEN.js",
|
|
409
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkIVELCJENJs7\",\"fade\",\"stackY\",\"drag\",\"stackScale\",\"press\",\"__closure\",\"opacity\",\"get\",\"transform\",\"translateY\",\"scale\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IVELCJEN.js\"],\"mappings\":\"AAyZoC,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,CAAAC,MAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,KAAA,OAAAC,SAAA,CAEtC,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,
|
|
@@ -422,74 +422,74 @@ function ToastStackEntry({
|
|
|
422
422
|
scale,
|
|
423
423
|
opacity
|
|
424
424
|
} = toastStackStyle(depth, placement, maxVisible);
|
|
425
|
-
const stackY = useDerivedValue(function
|
|
426
|
-
|
|
425
|
+
const stackY = useDerivedValue(function chunkIVELCJENJs1Factory({
|
|
426
|
+
_worklet_2281715056357_init_data,
|
|
427
427
|
withTiming,
|
|
428
428
|
translateY,
|
|
429
429
|
STACK_TIMING
|
|
430
430
|
}) {
|
|
431
431
|
const _e = [new global.Error(), -4, -27];
|
|
432
|
-
const
|
|
433
|
-
|
|
432
|
+
const chunkIVELCJENJs1 = () => withTiming(translateY, STACK_TIMING);
|
|
433
|
+
chunkIVELCJENJs1.__closure = {
|
|
434
434
|
withTiming,
|
|
435
435
|
translateY,
|
|
436
436
|
STACK_TIMING
|
|
437
437
|
};
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
return
|
|
438
|
+
chunkIVELCJENJs1.__workletHash = 2281715056357;
|
|
439
|
+
chunkIVELCJENJs1.__pluginVersion = "0.7.4";
|
|
440
|
+
chunkIVELCJENJs1.__initData = _worklet_2281715056357_init_data;
|
|
441
|
+
chunkIVELCJENJs1.__stackDetails = _e;
|
|
442
|
+
return chunkIVELCJENJs1;
|
|
443
443
|
}({
|
|
444
|
-
|
|
444
|
+
_worklet_2281715056357_init_data,
|
|
445
445
|
withTiming,
|
|
446
446
|
translateY,
|
|
447
447
|
STACK_TIMING
|
|
448
448
|
}), [translateY]);
|
|
449
|
-
const stackScale = useDerivedValue(function
|
|
450
|
-
|
|
449
|
+
const stackScale = useDerivedValue(function chunkIVELCJENJs2Factory({
|
|
450
|
+
_worklet_8946738804102_init_data,
|
|
451
451
|
withTiming,
|
|
452
452
|
scale,
|
|
453
453
|
STACK_TIMING
|
|
454
454
|
}) {
|
|
455
455
|
const _e = [new global.Error(), -4, -27];
|
|
456
|
-
const
|
|
457
|
-
|
|
456
|
+
const chunkIVELCJENJs2 = () => withTiming(scale, STACK_TIMING);
|
|
457
|
+
chunkIVELCJENJs2.__closure = {
|
|
458
458
|
withTiming,
|
|
459
459
|
scale,
|
|
460
460
|
STACK_TIMING
|
|
461
461
|
};
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
return
|
|
462
|
+
chunkIVELCJENJs2.__workletHash = 8946738804102;
|
|
463
|
+
chunkIVELCJENJs2.__pluginVersion = "0.7.4";
|
|
464
|
+
chunkIVELCJENJs2.__initData = _worklet_8946738804102_init_data;
|
|
465
|
+
chunkIVELCJENJs2.__stackDetails = _e;
|
|
466
|
+
return chunkIVELCJENJs2;
|
|
467
467
|
}({
|
|
468
|
-
|
|
468
|
+
_worklet_8946738804102_init_data,
|
|
469
469
|
withTiming,
|
|
470
470
|
scale,
|
|
471
471
|
STACK_TIMING
|
|
472
472
|
}), [scale]);
|
|
473
|
-
const fade = useDerivedValue(function
|
|
474
|
-
|
|
473
|
+
const fade = useDerivedValue(function chunkIVELCJENJs3Factory({
|
|
474
|
+
_worklet_641018010727_init_data,
|
|
475
475
|
withTiming,
|
|
476
476
|
opacity,
|
|
477
477
|
STACK_TIMING
|
|
478
478
|
}) {
|
|
479
479
|
const _e = [new global.Error(), -4, -27];
|
|
480
|
-
const
|
|
481
|
-
|
|
480
|
+
const chunkIVELCJENJs3 = () => withTiming(opacity, STACK_TIMING);
|
|
481
|
+
chunkIVELCJENJs3.__closure = {
|
|
482
482
|
withTiming,
|
|
483
483
|
opacity,
|
|
484
484
|
STACK_TIMING
|
|
485
485
|
};
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
return
|
|
486
|
+
chunkIVELCJENJs3.__workletHash = 641018010727;
|
|
487
|
+
chunkIVELCJENJs3.__pluginVersion = "0.7.4";
|
|
488
|
+
chunkIVELCJENJs3.__initData = _worklet_641018010727_init_data;
|
|
489
|
+
chunkIVELCJENJs3.__stackDetails = _e;
|
|
490
|
+
return chunkIVELCJENJs3;
|
|
491
491
|
}({
|
|
492
|
-
|
|
492
|
+
_worklet_641018010727_init_data,
|
|
493
493
|
withTiming,
|
|
494
494
|
opacity,
|
|
495
495
|
STACK_TIMING
|
|
@@ -501,30 +501,30 @@ function ToastStackEntry({
|
|
|
501
501
|
const hideAfterThrow = useCallback2(velocity => {
|
|
502
502
|
setTimeout(onSwipe, Math.min(SWIPE_HIDE_MS, Math.abs(velocity)));
|
|
503
503
|
}, [onSwipe]);
|
|
504
|
-
const pan = Gesture.Pan().enabled(isSwipeable && depth === 0).onBegin(function
|
|
505
|
-
|
|
504
|
+
const pan = Gesture.Pan().enabled(isSwipeable && depth === 0).onBegin(function chunkIVELCJENJs6Factory({
|
|
505
|
+
_worklet_15519247188772_init_data,
|
|
506
506
|
press,
|
|
507
507
|
PRESS_SCALE
|
|
508
508
|
}) {
|
|
509
509
|
const _e = [new global.Error(), -3, -27];
|
|
510
|
-
const
|
|
510
|
+
const chunkIVELCJENJs6 = function () {
|
|
511
511
|
press.set(PRESS_SCALE);
|
|
512
512
|
};
|
|
513
|
-
|
|
513
|
+
chunkIVELCJENJs6.__closure = {
|
|
514
514
|
press,
|
|
515
515
|
PRESS_SCALE
|
|
516
516
|
};
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
return
|
|
517
|
+
chunkIVELCJENJs6.__workletHash = 15519247188772;
|
|
518
|
+
chunkIVELCJENJs6.__pluginVersion = "0.7.4";
|
|
519
|
+
chunkIVELCJENJs6.__initData = _worklet_15519247188772_init_data;
|
|
520
|
+
chunkIVELCJENJs6.__stackDetails = _e;
|
|
521
|
+
return chunkIVELCJENJs6;
|
|
522
522
|
}({
|
|
523
|
-
|
|
523
|
+
_worklet_15519247188772_init_data,
|
|
524
524
|
press,
|
|
525
525
|
PRESS_SCALE
|
|
526
|
-
})).onChange(function
|
|
527
|
-
|
|
526
|
+
})).onChange(function chunkIVELCJENJs5Factory({
|
|
527
|
+
_worklet_2568081920502_init_data,
|
|
528
528
|
away,
|
|
529
529
|
drag,
|
|
530
530
|
interpolate,
|
|
@@ -533,7 +533,7 @@ function ToastStackEntry({
|
|
|
533
533
|
Extrapolation
|
|
534
534
|
}) {
|
|
535
535
|
const _e = [new global.Error(), -7, -27];
|
|
536
|
-
const
|
|
536
|
+
const chunkIVELCJENJs5 = function (event) {
|
|
537
537
|
const towardExit = event.translationY * away;
|
|
538
538
|
if (towardExit > 0) {
|
|
539
539
|
drag.set(event.translationY);
|
|
@@ -542,7 +542,7 @@ function ToastStackEntry({
|
|
|
542
542
|
const give = interpolate(Math.abs(event.translationY), [0, screenHeight], [0, DRAG_RUBBER], Extrapolation.CLAMP);
|
|
543
543
|
drag.set(-give * away);
|
|
544
544
|
};
|
|
545
|
-
|
|
545
|
+
chunkIVELCJENJs5.__closure = {
|
|
546
546
|
away,
|
|
547
547
|
drag,
|
|
548
548
|
interpolate,
|
|
@@ -550,21 +550,21 @@ function ToastStackEntry({
|
|
|
550
550
|
DRAG_RUBBER,
|
|
551
551
|
Extrapolation
|
|
552
552
|
};
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
return
|
|
553
|
+
chunkIVELCJENJs5.__workletHash = 2568081920502;
|
|
554
|
+
chunkIVELCJENJs5.__pluginVersion = "0.7.4";
|
|
555
|
+
chunkIVELCJENJs5.__initData = _worklet_2568081920502_init_data;
|
|
556
|
+
chunkIVELCJENJs5.__stackDetails = _e;
|
|
557
|
+
return chunkIVELCJENJs5;
|
|
558
558
|
}({
|
|
559
|
-
|
|
559
|
+
_worklet_2568081920502_init_data,
|
|
560
560
|
away,
|
|
561
561
|
drag,
|
|
562
562
|
interpolate,
|
|
563
563
|
screenHeight,
|
|
564
564
|
DRAG_RUBBER,
|
|
565
565
|
Extrapolation
|
|
566
|
-
})).onFinalize(function
|
|
567
|
-
|
|
566
|
+
})).onFinalize(function chunkIVELCJENJs4Factory({
|
|
567
|
+
_worklet_17193856217112_init_data,
|
|
568
568
|
press,
|
|
569
569
|
away,
|
|
570
570
|
SWIPE_DISTANCE,
|
|
@@ -577,7 +577,7 @@ function ToastStackEntry({
|
|
|
577
577
|
hideAfterThrow
|
|
578
578
|
}) {
|
|
579
579
|
const _e = [new global.Error(), -11, -27];
|
|
580
|
-
const
|
|
580
|
+
const chunkIVELCJENJs4 = function (event) {
|
|
581
581
|
press.set(1);
|
|
582
582
|
const towardExit = event.translationY * away > 0;
|
|
583
583
|
const farEnough = Math.abs(event.translationY) > SWIPE_DISTANCE;
|
|
@@ -592,7 +592,7 @@ function ToastStackEntry({
|
|
|
592
592
|
}));
|
|
593
593
|
runOnJS(hideAfterThrow)(event.velocityY);
|
|
594
594
|
};
|
|
595
|
-
|
|
595
|
+
chunkIVELCJENJs4.__closure = {
|
|
596
596
|
press,
|
|
597
597
|
away,
|
|
598
598
|
SWIPE_DISTANCE,
|
|
@@ -604,13 +604,13 @@ function ToastStackEntry({
|
|
|
604
604
|
runOnJS,
|
|
605
605
|
hideAfterThrow
|
|
606
606
|
};
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
return
|
|
607
|
+
chunkIVELCJENJs4.__workletHash = 17193856217112;
|
|
608
|
+
chunkIVELCJENJs4.__pluginVersion = "0.7.4";
|
|
609
|
+
chunkIVELCJENJs4.__initData = _worklet_17193856217112_init_data;
|
|
610
|
+
chunkIVELCJENJs4.__stackDetails = _e;
|
|
611
|
+
return chunkIVELCJENJs4;
|
|
612
612
|
}({
|
|
613
|
-
|
|
613
|
+
_worklet_17193856217112_init_data,
|
|
614
614
|
press,
|
|
615
615
|
away,
|
|
616
616
|
SWIPE_DISTANCE,
|
|
@@ -622,8 +622,8 @@ function ToastStackEntry({
|
|
|
622
622
|
runOnJS,
|
|
623
623
|
hideAfterThrow
|
|
624
624
|
}));
|
|
625
|
-
const stacking = useAnimatedStyle(function
|
|
626
|
-
|
|
625
|
+
const stacking = useAnimatedStyle(function chunkIVELCJENJs7Factory({
|
|
626
|
+
_worklet_2447574075396_init_data,
|
|
627
627
|
fade,
|
|
628
628
|
stackY,
|
|
629
629
|
drag,
|
|
@@ -631,7 +631,7 @@ function ToastStackEntry({
|
|
|
631
631
|
press
|
|
632
632
|
}) {
|
|
633
633
|
const _e = [new global.Error(), -6, -27];
|
|
634
|
-
const
|
|
634
|
+
const chunkIVELCJENJs7 = function () {
|
|
635
635
|
return {
|
|
636
636
|
opacity: fade.get(),
|
|
637
637
|
transform: [{
|
|
@@ -641,20 +641,20 @@ function ToastStackEntry({
|
|
|
641
641
|
}]
|
|
642
642
|
};
|
|
643
643
|
};
|
|
644
|
-
|
|
644
|
+
chunkIVELCJENJs7.__closure = {
|
|
645
645
|
fade,
|
|
646
646
|
stackY,
|
|
647
647
|
drag,
|
|
648
648
|
stackScale,
|
|
649
649
|
press
|
|
650
650
|
};
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
return
|
|
651
|
+
chunkIVELCJENJs7.__workletHash = 2447574075396;
|
|
652
|
+
chunkIVELCJENJs7.__pluginVersion = "0.7.4";
|
|
653
|
+
chunkIVELCJENJs7.__initData = _worklet_2447574075396_init_data;
|
|
654
|
+
chunkIVELCJENJs7.__stackDetails = _e;
|
|
655
|
+
return chunkIVELCJENJs7;
|
|
656
656
|
}({
|
|
657
|
-
|
|
657
|
+
_worklet_2447574075396_init_data,
|
|
658
658
|
fade,
|
|
659
659
|
stackY,
|
|
660
660
|
drag,
|
|
@@ -106,7 +106,7 @@ var popoverRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
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),
|
|
@@ -233,7 +233,7 @@ var alertRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
|
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={…} />`.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decoratorPadding,
|
|
3
3
|
useOptionalFieldGroup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MZUYTCCB.js";
|
|
5
5
|
import {
|
|
6
6
|
TextFieldDescription,
|
|
7
7
|
TextFieldError,
|
|
8
8
|
TextFieldField,
|
|
9
9
|
TextFieldLabel,
|
|
10
10
|
TextFieldRoot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JYV53WUN.js";
|
|
12
12
|
import {
|
|
13
13
|
daysInMonth
|
|
14
14
|
} from "./chunk-SHFUQVLX.js";
|
|
@@ -11,7 +11,7 @@ var SLOTS = [
|
|
|
11
11
|
"indicator",
|
|
12
12
|
"overlay",
|
|
13
13
|
"content",
|
|
14
|
-
"
|
|
14
|
+
"groupLabel",
|
|
15
15
|
"item",
|
|
16
16
|
"itemLabel",
|
|
17
17
|
"itemDescription",
|
|
@@ -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) {
|
|
@@ -95,7 +95,7 @@ function sizeAxis(step) {
|
|
|
95
95
|
value: valueType,
|
|
96
96
|
placeholder: valueType,
|
|
97
97
|
indicator: { fontSize: theme.fontSizes[glyph] },
|
|
98
|
-
|
|
98
|
+
groupLabel: {
|
|
99
99
|
fontSize: theme.fontSizes[listLabel],
|
|
100
100
|
lineHeight: theme.lineHeights[listLabel]
|
|
101
101
|
},
|
|
@@ -134,14 +134,14 @@ 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"],
|
|
141
141
|
borderCurve: "continuous",
|
|
142
142
|
...theme.shadows.overlay
|
|
143
143
|
},
|
|
144
|
-
|
|
144
|
+
groupLabel: {
|
|
145
145
|
fontFamily: theme.fontFamilies.body,
|
|
146
146
|
fontWeight: theme.fontWeights.medium,
|
|
147
147
|
color: theme.colors.muted,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Autocomplete, AutocompleteContent, AutocompleteEmpty, AutocompleteItem, AutocompleteItemLabel, AutocompleteOverlay, useAutocomplete } from "./chunk-
|
|
1
|
+
import { Autocomplete, AutocompleteContent, AutocompleteDescription, AutocompleteEmpty, AutocompleteError, AutocompleteItem, AutocompleteItemLabel, AutocompleteLabel, AutocompleteOverlay, useAutocomplete } from "./chunk-GVZJNIHN.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_9039014798576_init_data = {
|
|
15
|
+
code: "function chunkLMMHAGOMJs1(){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-LMMHAGOM.js",
|
|
17
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLMMHAGOMJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LMMHAGOM.js\"],\"mappings\":\"AAiDoC,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 chunkLMMHAGOMJs1Factory({
|
|
35
|
+
_worklet_9039014798576_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 chunkLMMHAGOMJs1 = 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
|
+
chunkLMMHAGOMJs1.__closure = {
|
|
49
49
|
interpolate,
|
|
50
50
|
progress,
|
|
51
51
|
INDICATOR_ROTATION
|
|
52
52
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
return
|
|
53
|
+
chunkLMMHAGOMJs1.__workletHash = 9039014798576;
|
|
54
|
+
chunkLMMHAGOMJs1.__pluginVersion = "0.7.4";
|
|
55
|
+
chunkLMMHAGOMJs1.__initData = _worklet_9039014798576_init_data;
|
|
56
|
+
chunkLMMHAGOMJs1.__stackDetails = _e;
|
|
57
|
+
return chunkLMMHAGOMJs1;
|
|
58
58
|
}({
|
|
59
|
-
|
|
59
|
+
_worklet_9039014798576_init_data,
|
|
60
60
|
interpolate,
|
|
61
61
|
progress,
|
|
62
62
|
INDICATOR_ROTATION
|
|
@@ -107,8 +107,11 @@ var ComboboxInput = forwardRef(function ComboboxInput2({
|
|
|
107
107
|
setQuery,
|
|
108
108
|
isOpen,
|
|
109
109
|
isDisabled,
|
|
110
|
+
isInvalid,
|
|
110
111
|
open,
|
|
111
|
-
labelFor
|
|
112
|
+
labelFor,
|
|
113
|
+
labelId,
|
|
114
|
+
descriptionId
|
|
112
115
|
} = useAutocomplete();
|
|
113
116
|
const handleChangeText = useCallback(next => {
|
|
114
117
|
setQuery(next);
|
|
@@ -128,6 +131,9 @@ var ComboboxInput = forwardRef(function ComboboxInput2({
|
|
|
128
131
|
autoCorrect: false,
|
|
129
132
|
autoCapitalize: "none",
|
|
130
133
|
placeholderTextColor: placeholderColor,
|
|
134
|
+
"aria-labelledby": labelId,
|
|
135
|
+
"aria-describedby": descriptionId,
|
|
136
|
+
"aria-invalid": isInvalid || void 0,
|
|
131
137
|
...rest,
|
|
132
138
|
style: [valueStyle, sheet.input, styleProps, style]
|
|
133
139
|
});
|
|
@@ -207,6 +213,7 @@ ComboboxTrigger.displayName = "XAUI.Combobox.Trigger";
|
|
|
207
213
|
|
|
208
214
|
// src/components/combobox/index.ts
|
|
209
215
|
var Combobox = Object.assign(ComboboxRoot, {
|
|
216
|
+
Label: AutocompleteLabel,
|
|
210
217
|
Trigger: ComboboxTrigger,
|
|
211
218
|
Input: ComboboxInput,
|
|
212
219
|
Indicator: ComboboxIndicator,
|
|
@@ -214,6 +221,8 @@ var Combobox = Object.assign(ComboboxRoot, {
|
|
|
214
221
|
Content: AutocompleteContent,
|
|
215
222
|
Item: AutocompleteItem,
|
|
216
223
|
ItemLabel: AutocompleteItemLabel,
|
|
217
|
-
Empty: AutocompleteEmpty
|
|
224
|
+
Empty: AutocompleteEmpty,
|
|
225
|
+
Description: AutocompleteDescription,
|
|
226
|
+
Error: AutocompleteError
|
|
218
227
|
});
|
|
219
228
|
export { ComboboxIndicator, ComboboxInput, ComboboxRoot, ComboboxTrigger, Combobox };
|