@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
|
@@ -114,20 +114,20 @@ function nextSheetState(release, geometry) {
|
|
|
114
114
|
|
|
115
115
|
// src/components/bottom-sheet/bottom-sheet-content.tsx
|
|
116
116
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
117
|
-
const
|
|
118
|
-
code: "function
|
|
119
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
120
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
117
|
+
const _worklet_11980680261247_init_data = {
|
|
118
|
+
code: "function chunkLYWXGEEDJs1(event){const{runOnJS,release}=this.__closure;runOnJS(release)(event.translationY,event.velocityY);}",
|
|
119
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LYWXGEED.js",
|
|
120
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLYWXGEEDJs1\",\"event\",\"runOnJS\",\"release\",\"__closure\",\"translationY\",\"velocityY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LYWXGEED.js\"],\"mappings\":\"AAoNY,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,OAAA,CAAAC,OAAA,OAAAC,SAAA,CAClBF,OAAO,CAACC,OAAO,CAAC,CAACF,KAAK,CAACI,YAAY,CAAEJ,KAAK,CAACK,SAAS,CAAC,CACvD\",\"ignoreList\":[]}"
|
|
121
121
|
};
|
|
122
|
-
const
|
|
123
|
-
code: "function
|
|
124
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
125
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
122
|
+
const _worklet_750199584109_init_data = {
|
|
123
|
+
code: "function chunkLYWXGEEDJs2(event){const{offset,restingOffset}=this.__closure;offset.set(Math.max(restingOffset+event.translationY,0));}",
|
|
124
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LYWXGEED.js",
|
|
125
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLYWXGEEDJs2\",\"event\",\"offset\",\"restingOffset\",\"__closure\",\"set\",\"Math\",\"max\",\"translationY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LYWXGEED.js\"],\"mappings\":\"AAkN2D,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,MAAA,CAAAC,aAAA,OAAAC,SAAA,CACjEF,MAAM,CAACG,GAAG,CAACC,IAAI,CAACC,GAAG,CAACJ,aAAa,CAAGF,KAAK,CAACO,YAAY,CAAE,CAAC,CAAC,CAAC,CAC7D\",\"ignoreList\":[]}"
|
|
126
126
|
};
|
|
127
|
-
const
|
|
128
|
-
code: "function
|
|
129
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
130
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
127
|
+
const _worklet_11860609758443_init_data = {
|
|
128
|
+
code: "function chunkLYWXGEEDJs3(){const{offset}=this.__closure;return{transform:[{translateY:offset.get()}]};}",
|
|
129
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LYWXGEED.js",
|
|
130
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLYWXGEEDJs3\",\"offset\",\"__closure\",\"transform\",\"translateY\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LYWXGEED.js\"],\"mappings\":\"AAuNiC,SAAAA,gBAAMA,CAAA,QAAAC,MAAA,OAAAC,SAAA,CAEnC,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,MAAM,CAACI,GAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CACtD\",\"ignoreList\":[]}"
|
|
131
131
|
};
|
|
132
132
|
function BottomSheetContent({
|
|
133
133
|
children,
|
|
@@ -187,73 +187,73 @@ function BottomSheetContent({
|
|
|
187
187
|
expand();
|
|
188
188
|
}, [close, collapse, dismissThreshold, expand, geometry, isExpanded, offset, resting]);
|
|
189
189
|
const restingOffset = sheetOffset(resting, geometry);
|
|
190
|
-
const pan = Gesture.Pan().enabled(isSwipeable).onUpdate(function
|
|
191
|
-
|
|
190
|
+
const pan = Gesture.Pan().enabled(isSwipeable).onUpdate(function chunkLYWXGEEDJs2Factory({
|
|
191
|
+
_worklet_750199584109_init_data,
|
|
192
192
|
offset,
|
|
193
193
|
restingOffset
|
|
194
194
|
}) {
|
|
195
195
|
const _e = [new global.Error(), -3, -27];
|
|
196
|
-
const
|
|
196
|
+
const chunkLYWXGEEDJs2 = function (event) {
|
|
197
197
|
offset.set(Math.max(restingOffset + event.translationY, 0));
|
|
198
198
|
};
|
|
199
|
-
|
|
199
|
+
chunkLYWXGEEDJs2.__closure = {
|
|
200
200
|
offset,
|
|
201
201
|
restingOffset
|
|
202
202
|
};
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
return
|
|
203
|
+
chunkLYWXGEEDJs2.__workletHash = 750199584109;
|
|
204
|
+
chunkLYWXGEEDJs2.__pluginVersion = "0.7.4";
|
|
205
|
+
chunkLYWXGEEDJs2.__initData = _worklet_750199584109_init_data;
|
|
206
|
+
chunkLYWXGEEDJs2.__stackDetails = _e;
|
|
207
|
+
return chunkLYWXGEEDJs2;
|
|
208
208
|
}({
|
|
209
|
-
|
|
209
|
+
_worklet_750199584109_init_data,
|
|
210
210
|
offset,
|
|
211
211
|
restingOffset
|
|
212
|
-
})).onEnd(function
|
|
213
|
-
|
|
212
|
+
})).onEnd(function chunkLYWXGEEDJs1Factory({
|
|
213
|
+
_worklet_11980680261247_init_data,
|
|
214
214
|
runOnJS,
|
|
215
215
|
release
|
|
216
216
|
}) {
|
|
217
217
|
const _e = [new global.Error(), -3, -27];
|
|
218
|
-
const
|
|
218
|
+
const chunkLYWXGEEDJs1 = function (event) {
|
|
219
219
|
runOnJS(release)(event.translationY, event.velocityY);
|
|
220
220
|
};
|
|
221
|
-
|
|
221
|
+
chunkLYWXGEEDJs1.__closure = {
|
|
222
222
|
runOnJS,
|
|
223
223
|
release
|
|
224
224
|
};
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
return
|
|
225
|
+
chunkLYWXGEEDJs1.__workletHash = 11980680261247;
|
|
226
|
+
chunkLYWXGEEDJs1.__pluginVersion = "0.7.4";
|
|
227
|
+
chunkLYWXGEEDJs1.__initData = _worklet_11980680261247_init_data;
|
|
228
|
+
chunkLYWXGEEDJs1.__stackDetails = _e;
|
|
229
|
+
return chunkLYWXGEEDJs1;
|
|
230
230
|
}({
|
|
231
|
-
|
|
231
|
+
_worklet_11980680261247_init_data,
|
|
232
232
|
runOnJS,
|
|
233
233
|
release
|
|
234
234
|
}));
|
|
235
|
-
const slide = useAnimatedStyle(function
|
|
236
|
-
|
|
235
|
+
const slide = useAnimatedStyle(function chunkLYWXGEEDJs3Factory({
|
|
236
|
+
_worklet_11860609758443_init_data,
|
|
237
237
|
offset
|
|
238
238
|
}) {
|
|
239
239
|
const _e = [new global.Error(), -2, -27];
|
|
240
|
-
const
|
|
240
|
+
const chunkLYWXGEEDJs3 = function () {
|
|
241
241
|
return {
|
|
242
242
|
transform: [{
|
|
243
243
|
translateY: offset.get()
|
|
244
244
|
}]
|
|
245
245
|
};
|
|
246
246
|
};
|
|
247
|
-
|
|
247
|
+
chunkLYWXGEEDJs3.__closure = {
|
|
248
248
|
offset
|
|
249
249
|
};
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
return
|
|
250
|
+
chunkLYWXGEEDJs3.__workletHash = 11860609758443;
|
|
251
|
+
chunkLYWXGEEDJs3.__pluginVersion = "0.7.4";
|
|
252
|
+
chunkLYWXGEEDJs3.__initData = _worklet_11860609758443_init_data;
|
|
253
|
+
chunkLYWXGEEDJs3.__stackDetails = _e;
|
|
254
|
+
return chunkLYWXGEEDJs3;
|
|
255
255
|
}({
|
|
256
|
-
|
|
256
|
+
_worklet_11860609758443_init_data,
|
|
257
257
|
offset
|
|
258
258
|
}), [offset]);
|
|
259
259
|
if (!isOpen) return null;
|
|
@@ -540,7 +540,7 @@ var bottomSheetRecipe = createRecipe({
|
|
|
540
540
|
backgroundColor: theme.colors.overlay,
|
|
541
541
|
padding: theme.spacing(5),
|
|
542
542
|
gap: theme.spacing(2),
|
|
543
|
-
//
|
|
543
|
+
// The reference implementation's `--radius-4xl` on a base of 8 is 32 points; the nearest on our base of 12
|
|
544
544
|
// is `3xl` at 36. A sheet's corner is the largest in the library because it is the
|
|
545
545
|
// only edge of it you can see.
|
|
546
546
|
borderTopStartRadius: theme.radius["3xl"],
|
|
@@ -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,14 +11,14 @@ import {
|
|
|
11
11
|
TextFieldLabel,
|
|
12
12
|
TextFieldRoot,
|
|
13
13
|
useTextField
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import {
|
|
16
|
-
FIELD_GLYPH_SIZES
|
|
17
|
-
} from "./chunk-43S673KF.js";
|
|
14
|
+
} from "./chunk-JYV53WUN.js";
|
|
18
15
|
import {
|
|
19
16
|
CloseButtonBase,
|
|
20
17
|
closeButtonGeometry
|
|
21
18
|
} from "./chunk-SIX5AVXG.js";
|
|
19
|
+
import {
|
|
20
|
+
FIELD_GLYPH_SIZES
|
|
21
|
+
} from "./chunk-NTVPLDJC.js";
|
|
22
22
|
import {
|
|
23
23
|
createRecipe
|
|
24
24
|
} from "./chunk-DKVXTMIJ.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decoratorPadding,
|
|
3
3
|
useOptionalFieldGroup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MZUYTCCB.js";
|
|
5
5
|
import {
|
|
6
6
|
TextFieldProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JYV53WUN.js";
|
|
8
8
|
import {
|
|
9
9
|
decoratorBox
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NTVPLDJC.js";
|
|
11
11
|
import {
|
|
12
12
|
PressableFeedback
|
|
13
13
|
} from "./chunk-KQW25RCC.js";
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
TimePicker2 as TimePicker,
|
|
3
3
|
TimePickerIndicator,
|
|
4
4
|
withTime
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FSVZXWLZ.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-OUNTRW6E.js";
|
|
21
21
|
import {
|
|
22
22
|
useControllableState
|
|
23
23
|
} from "./chunk-F6W3JQ7K.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkGSZDN6EZcjs = require('./chunk-GSZDN6EZ.cjs');
|
|
@@ -50,7 +50,7 @@ var FieldGroupField = _react.forwardRef.call(void 0,
|
|
|
50
50
|
() => decoratorPadding(prefixWidth, suffixWidth),
|
|
51
51
|
[prefixWidth, suffixWidth]
|
|
52
52
|
);
|
|
53
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
53
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldField, { ref, ...props, style: [padding, style] });
|
|
54
54
|
}
|
|
55
55
|
);
|
|
56
56
|
FieldGroupField.displayName = "XAUI.FieldGroup.Field";
|
|
@@ -58,7 +58,7 @@ FieldGroupField.displayName = "XAUI.FieldGroup.Field";
|
|
|
58
58
|
// src/components/field-group/field-group-icon.tsx
|
|
59
59
|
|
|
60
60
|
function FieldGroupIcon({ size, color, ...rest }) {
|
|
61
|
-
const { icon } =
|
|
61
|
+
const { icon } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
62
62
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.Icon, { size: _nullishCoalesce(size, () => ( icon.size)), color: _nullishCoalesce(color, () => ( icon.color)), ...rest });
|
|
63
63
|
}
|
|
64
64
|
FieldGroupIcon.displayName = "XAUI.FieldGroup.Icon";
|
|
@@ -72,7 +72,7 @@ var _reactnative = require('react-native');
|
|
|
72
72
|
|
|
73
73
|
var FieldGroupDecorator = _react.forwardRef.call(void 0,
|
|
74
74
|
function FieldGroupDecorator2({ side, children, isDecorative = false, onLayout, style, ...props }, ref) {
|
|
75
|
-
const { prefixStyle, suffixStyle, isDisabled } =
|
|
75
|
+
const { prefixStyle, suffixStyle, isDisabled } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
76
76
|
const { setPrefixWidth, setSuffixWidth } = useFieldGroup();
|
|
77
77
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
78
78
|
const report = side === "prefix" ? setPrefixWidth : setSuffixWidth;
|
|
@@ -196,7 +196,7 @@ var textFieldRecipe = createRecipe({
|
|
|
196
196
|
borderWidth: theme.borderWidth.field,
|
|
197
197
|
// The theme has a radius named for this component, so every size uses it and the
|
|
198
198
|
// `radius` axis is what overrides it — the same shape a `Chip` takes from `full`.
|
|
199
|
-
// It is
|
|
199
|
+
// It is the reference implementation's twelve points since the scale was aligned on theirs; it was 21,
|
|
200
200
|
// which put a 48-tall field at 87% of its geometric maximum.
|
|
201
201
|
borderRadius: theme.radius.field,
|
|
202
202
|
borderCurve: "continuous",
|
|
@@ -10,7 +10,7 @@ var _chunkMPYBJSS7cjs = require('./chunk-MPYBJSS7.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkNRU5APUEcjs = require('./chunk-NRU5APUE.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ var _chunkNADCILBLcjs = require('./chunk-NADCILBL.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk2IOL3VDPcjs = require('./chunk-2IOL3VDP.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkSL3V7R2Ycjs = require('./chunk-SL3V7R2Y.cjs');
|
|
@@ -45,7 +45,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
45
45
|
var HIT_SLOP = 12;
|
|
46
46
|
var sheet = _reactnative.StyleSheet.create({ upright: { transform: [{ rotate: "90deg" }] } });
|
|
47
47
|
var StepButton = _react.forwardRef.call(void 0, function StepButton2({ name, hasUpright, onPress, isLive, accessibilityLabel, children }, ref) {
|
|
48
|
-
const { isDisabled } =
|
|
48
|
+
const { isDisabled } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
49
49
|
const { stepButtonStyle, stepGlyphStyle, stepExhaustedStyle } = useNumberField();
|
|
50
50
|
if (!accessibilityLabel) {
|
|
51
51
|
_chunkEJQCQPETcjs.warnDev.call(void 0,
|
|
@@ -77,7 +77,7 @@ StepButton.displayName = "XAUI.NumberField.StepButton";
|
|
|
77
77
|
var NumberFieldDecrement = _react.forwardRef.call(void 0,
|
|
78
78
|
function NumberFieldDecrement2({ accessibilityLabel, children, ...props }, ref) {
|
|
79
79
|
const { decrement, canDecrement } = useNumberField();
|
|
80
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
80
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNRU5APUEcjs.FieldGroupPrefix, { ref, ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
81
81
|
StepButton,
|
|
82
82
|
{
|
|
83
83
|
name: "NumberField.Decrement",
|
|
@@ -98,9 +98,9 @@ NumberFieldDecrement.displayName = "XAUI.NumberField.Decrement";
|
|
|
98
98
|
var NumberFieldField = _react.forwardRef.call(void 0,
|
|
99
99
|
function NumberFieldField2({ keyboardType, onFocus, onBlur, style, ...props }, ref) {
|
|
100
100
|
const { text, onType, onEditStart, onEditEnd, keyboard } = useNumberField();
|
|
101
|
-
const group =
|
|
101
|
+
const group = _chunkNRU5APUEcjs.useOptionalFieldGroup.call(void 0, );
|
|
102
102
|
const padding = _react.useMemo.call(void 0,
|
|
103
|
-
() =>
|
|
103
|
+
() => _chunkNRU5APUEcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _ => _.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _2 => _2.suffixWidth]), () => ( 0))),
|
|
104
104
|
[_optionalChain([group, 'optionalAccess', _3 => _3.prefixWidth]), _optionalChain([group, 'optionalAccess', _4 => _4.suffixWidth])]
|
|
105
105
|
);
|
|
106
106
|
const handleFocus = _react.useCallback.call(void 0,
|
|
@@ -118,7 +118,7 @@ var NumberFieldField = _react.forwardRef.call(void 0,
|
|
|
118
118
|
[onEditEnd, onBlur]
|
|
119
119
|
);
|
|
120
120
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
121
|
-
|
|
121
|
+
_chunk2IOL3VDPcjs.TextFieldField,
|
|
122
122
|
{
|
|
123
123
|
ref,
|
|
124
124
|
keyboardType: _nullishCoalesce(keyboardType, () => ( keyboard)),
|
|
@@ -140,7 +140,7 @@ NumberFieldField.displayName = "XAUI.NumberField.Field";
|
|
|
140
140
|
var NumberFieldIncrement = _react.forwardRef.call(void 0,
|
|
141
141
|
function NumberFieldIncrement2({ accessibilityLabel, children, ...props }, ref) {
|
|
142
142
|
const { increment, canIncrement } = useNumberField();
|
|
143
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
143
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNRU5APUEcjs.FieldGroupSuffix, { ref, ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
144
144
|
StepButton,
|
|
145
145
|
{
|
|
146
146
|
name: "NumberField.Increment",
|
|
@@ -311,19 +311,19 @@ var NumberFieldRoot = _react.forwardRef.call(void 0,
|
|
|
311
311
|
styles
|
|
312
312
|
]
|
|
313
313
|
);
|
|
314
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
314
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldRoot, { ref, size, isDisabled, ...props, children }) });
|
|
315
315
|
}
|
|
316
316
|
);
|
|
317
317
|
NumberFieldRoot.displayName = "XAUI.NumberField.Root";
|
|
318
318
|
|
|
319
319
|
// src/components/number-field/index.ts
|
|
320
320
|
var NumberField2 = Object.assign(NumberFieldRoot, {
|
|
321
|
-
Label:
|
|
321
|
+
Label: _chunk2IOL3VDPcjs.TextFieldLabel,
|
|
322
322
|
Field: NumberFieldField,
|
|
323
323
|
Decrement: NumberFieldDecrement,
|
|
324
324
|
Increment: NumberFieldIncrement,
|
|
325
|
-
Description:
|
|
326
|
-
Error:
|
|
325
|
+
Description: _chunk2IOL3VDPcjs.TextFieldDescription,
|
|
326
|
+
Error: _chunk2IOL3VDPcjs.TextFieldError
|
|
327
327
|
});
|
|
328
328
|
|
|
329
329
|
|
|
@@ -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 = 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"],
|
|
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,
|