@xaui/native 0.9.1-alpha.90 → 0.9.1-alpha.92
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-XZ42OWKC.js → chunk-2AFA5HA2.js} +78 -74
- package/dist/{chunk-A2JNZMDJ.cjs → chunk-2B6PUYTP.cjs} +2 -2
- package/dist/chunk-3A5RK2R7.js +40 -0
- package/dist/{chunk-HQLJZ6C2.js → chunk-52XUGOLD.js} +3 -3
- package/dist/{chunk-TCDWDTSW.cjs → chunk-5E6SHYEQ.cjs} +3 -3
- package/dist/{chunk-Y36UGSTS.cjs → chunk-62AYYMZP.cjs} +3 -3
- package/dist/{chunk-BLGAFZRI.cjs → chunk-6GQ7UTJ7.cjs} +2 -2
- package/dist/chunk-6JAGPPZU.cjs +788 -0
- package/dist/{chunk-CVPBNJRG.js → chunk-6RU6GUJP.js} +1 -1
- package/dist/{chunk-XUF7K4WP.js → chunk-7EVW6O2Q.js} +1 -1
- package/dist/chunk-7NQL5DXY.js +302 -0
- package/dist/{chunk-ACWFIZKC.cjs → chunk-AR7667VN.cjs} +6 -6
- package/dist/{chunk-DSCZZZIG.cjs → chunk-B33OU34Z.cjs} +12 -12
- package/dist/{chunk-WGXOYMZM.cjs → chunk-BI5ME4QP.cjs} +5 -5
- package/dist/{chunk-IEEUSJBJ.js → chunk-BJVO7DWJ.js} +1 -1
- package/dist/{chunk-5YEMZL4C.cjs → chunk-CBRW53GN.cjs} +7 -7
- package/dist/{chunk-34UJTR37.cjs → chunk-CBXILKQZ.cjs} +3 -3
- package/dist/{chunk-FB4JF34M.cjs → chunk-CEPX7CKM.cjs} +16 -16
- package/dist/{chunk-377XFATD.cjs → chunk-CYOUOQXT.cjs} +5 -5
- package/dist/{chunk-AUYFPVLA.cjs → chunk-DYQB54JA.cjs} +2 -2
- package/dist/{chunk-3OQPAZTF.js → chunk-EBCAPIBD.js} +44 -44
- package/dist/{chunk-M5LTEKGJ.cjs → chunk-EDNCHCIN.cjs} +2 -2
- package/dist/{chunk-34KILEQD.js → chunk-FOOXBVOQ.js} +15 -15
- package/dist/{chunk-24WXPNIT.js → chunk-FRLWG5LM.js} +24 -24
- package/dist/chunk-FTPPUTWL.cjs +40 -0
- package/dist/{chunk-AAQIBMJI.js → chunk-FVEMTBU4.js} +2 -2
- package/dist/{chunk-54DVPCYB.cjs → chunk-FXN32S75.cjs} +3 -3
- package/dist/chunk-GGP2ERSV.js +487 -0
- package/dist/{chunk-6BB6YWEN.js → chunk-GYEQEF5H.js} +1 -1
- package/dist/{chunk-MTGUUW7F.cjs → chunk-GZAGWNQM.cjs} +3 -3
- package/dist/{chunk-OF3E7WVQ.cjs → chunk-ILXKBDC6.cjs} +10 -10
- package/dist/{chunk-D2UYBAGB.cjs → chunk-IPD3IUE2.cjs} +4 -4
- package/dist/{chunk-XLPOJTA2.cjs → chunk-JBZ7SBRV.cjs} +3 -3
- package/dist/{chunk-UMTVYPYK.js → chunk-JC4YCKKL.js} +15 -15
- package/dist/{chunk-GL46PQPW.js → chunk-JJYHW4PV.js} +1 -1
- package/dist/{chunk-2CTIZGMC.js → chunk-JKDWYNSG.js} +99 -99
- package/dist/chunk-KPKEZWZM.js +517 -0
- package/dist/{chunk-KTI3GCFM.js → chunk-LECYGVIH.js} +43 -43
- package/dist/chunk-LKRQUQZQ.cjs +487 -0
- package/dist/{chunk-SYVFU6O5.cjs → chunk-LPJ3UBSO.cjs} +4 -4
- package/dist/{chunk-RS2UWFEG.js → chunk-MMFIMQMQ.js} +2 -2
- package/dist/chunk-MSORLKO7.cjs +422 -0
- package/dist/{chunk-PKVKFZW7.js → chunk-O6B72H4B.js} +5 -5
- package/dist/{chunk-7KQG4JQ2.js → chunk-OD6H7ANY.js} +1 -1
- package/dist/{chunk-UXPBSREP.js → chunk-ODQHAPQW.js} +17 -17
- package/dist/{chunk-TB7V2DO3.cjs → chunk-ORXVXYKC.cjs} +11 -11
- package/dist/{chunk-PIU3JONR.cjs → chunk-OW4N2C3M.cjs} +64 -60
- package/dist/{chunk-NPY7I7JJ.js → chunk-P2CJNTAP.js} +15 -15
- package/dist/{chunk-AOXNVM55.cjs → chunk-P2V6PIM7.cjs} +2 -2
- package/dist/{chunk-CKADVFCH.js → chunk-P5M5URAB.js} +30 -127
- package/dist/{chunk-BPQWLUQU.js → chunk-P7OHZCU3.js} +2 -2
- package/dist/{chunk-DPW25YCM.cjs → chunk-PAQD6UUF.cjs} +3 -3
- package/dist/{chunk-LDFBDFIW.js → chunk-PAQZOD2L.js} +1 -1
- package/dist/{chunk-4TG2OLEM.cjs → chunk-PDSR42YC.cjs} +3 -3
- package/dist/{chunk-AXSY2KPT.cjs → chunk-PROLOLZ5.cjs} +2 -2
- package/dist/{chunk-4SPCZVR6.cjs → chunk-PYQ2P3M5.cjs} +58 -58
- package/dist/{chunk-ZZTUJELK.cjs → chunk-Q2BWXT55.cjs} +9 -9
- package/dist/{chunk-RD3ZUUBC.cjs → chunk-QCH7X7O2.cjs} +14 -14
- package/dist/{chunk-ZYN7XKF5.cjs → chunk-QELEKXN3.cjs} +5 -5
- package/dist/{chunk-ZN5P3VTI.js → chunk-QHXTO525.js} +1 -1
- package/dist/{chunk-EVSQ4CEI.cjs → chunk-QN2D5ZCS.cjs} +3 -3
- package/dist/{chunk-4XZWVJZL.cjs → chunk-QUSQEYLP.cjs} +25 -25
- package/dist/chunk-RCSEVEIR.js +422 -0
- package/dist/{chunk-GOKUBJIK.js → chunk-RLC3EXMV.js} +2 -2
- package/dist/{chunk-BLYKQD47.cjs → chunk-RREJUSAS.cjs} +3 -3
- package/dist/{chunk-BLDMKFIG.js → chunk-RSIWSVXI.js} +1 -1
- package/dist/{chunk-5VYB7F3H.js → chunk-RXEUKYM5.js} +1 -1
- package/dist/{chunk-WRW4JBB4.js → chunk-SUJLTC2K.js} +4 -4
- package/dist/{chunk-KBQT6MZ4.js → chunk-TCWW7JI2.js} +58 -58
- package/dist/{chunk-B2KUGQS5.js → chunk-TPYOQSKT.js} +1 -1
- package/dist/{chunk-SEYZGC4E.js → chunk-TRWZEOCO.js} +2 -2
- package/dist/{chunk-SDLDRTT7.cjs → chunk-UEW3GAP5.cjs} +5 -5
- package/dist/{chunk-WQZJ26SX.cjs → chunk-UFKSUELU.cjs} +2 -2
- package/dist/chunk-UR37LVPU.cjs +382 -0
- package/dist/{chunk-4BAKKBHJ.js → chunk-USIWPESU.js} +1 -1
- package/dist/{chunk-HM6M6SIP.js → chunk-UYQLW7OD.js} +1 -1
- package/dist/{chunk-NIEIDK5Z.js → chunk-V2CEKPJ6.js} +4 -4
- package/dist/{chunk-GPSVJ75L.js → chunk-VMPCXS4S.js} +15 -15
- package/dist/{chunk-W6TFYAEF.js → chunk-VQGNLX5C.js} +1 -1
- package/dist/{chunk-YSZ4K6L6.cjs → chunk-WIX4SYZI.cjs} +2 -2
- package/dist/{chunk-T3WEEHSB.js → chunk-WRZV6ORJ.js} +1 -1
- package/dist/{chunk-UDVKP3V2.cjs → chunk-X4CZYJZ6.cjs} +12 -12
- package/dist/chunk-XWIPLZTD.cjs +302 -0
- package/dist/{chunk-67WT74DY.cjs → chunk-ZE4IHUUO.cjs} +2 -2
- package/dist/{chunk-4JB7XQCJ.js → chunk-ZKGVOXLQ.js} +1 -1
- package/dist/{chunk-U32IGHJ6.js → chunk-ZWS3FQ3J.js} +57 -57
- package/dist/components/accordion/index.cjs +3 -3
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/agenda-calendar/index.cjs +4 -4
- package/dist/components/agenda-calendar/index.js +3 -3
- package/dist/components/alert/index.cjs +4 -4
- package/dist/components/alert/index.js +3 -3
- package/dist/components/autocomplete/index.cjs +3 -3
- package/dist/components/autocomplete/index.js +2 -2
- package/dist/components/bottom-sheet/index.cjs +3 -3
- package/dist/components/bottom-sheet/index.js +2 -2
- package/dist/components/button/button.d.cts +1 -0
- package/dist/components/button/button.d.ts +1 -0
- package/dist/components/button/index.cjs +4 -4
- package/dist/components/button/index.d.cts +1 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +3 -3
- package/dist/components/calendar/index.cjs +3 -3
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/card/card.d.cts +1 -0
- package/dist/components/card/card.d.ts +1 -0
- package/dist/components/card/index.cjs +3 -3
- package/dist/components/card/index.d.cts +1 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +2 -2
- package/dist/components/carousel/index.cjs +4 -3
- package/dist/components/carousel/index.js +3 -2
- package/dist/components/checkbox/checkbox.d.cts +1 -0
- package/dist/components/checkbox/checkbox.d.ts +1 -0
- package/dist/components/checkbox/index.cjs +3 -3
- package/dist/components/checkbox/index.d.cts +1 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/checkbox/index.js +2 -2
- package/dist/components/chip/chip.d.cts +1 -0
- package/dist/components/chip/chip.d.ts +1 -0
- package/dist/components/chip/index.cjs +4 -4
- package/dist/components/chip/index.d.cts +1 -0
- package/dist/components/chip/index.d.ts +1 -0
- package/dist/components/chip/index.js +3 -3
- package/dist/components/close-button/close-button.d.cts +1 -0
- package/dist/components/close-button/close-button.d.ts +1 -0
- package/dist/components/close-button/index.cjs +4 -4
- package/dist/components/close-button/index.js +3 -3
- package/dist/components/color-picker/color-picker.d.cts +1 -1
- package/dist/components/color-picker/color-picker.d.ts +1 -1
- package/dist/components/color-picker/index.cjs +6 -6
- package/dist/components/color-picker/index.d.cts +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.js +5 -5
- 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 +6 -6
- package/dist/components/date-range-picker/index.js +5 -5
- package/dist/components/date-time-picker/index.cjs +7 -7
- package/dist/components/date-time-picker/index.js +6 -6
- package/dist/components/dialog/index.cjs +4 -4
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/dummy-field/index.cjs +3 -3
- package/dist/components/dummy-field/index.js +2 -2
- package/dist/components/fab/index.cjs +4 -4
- package/dist/components/fab/index.js +3 -3
- package/dist/components/flip-card/index.cjs +3 -3
- package/dist/components/flip-card/index.js +2 -2
- package/dist/components/index.d.cts +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/list-box/index.cjs +2 -2
- package/dist/components/list-box/index.js +1 -1
- package/dist/components/menu/index.cjs +3 -3
- package/dist/components/menu/index.js +2 -2
- package/dist/components/morph-button/index.cjs +39 -0
- package/dist/components/morph-button/index.d.cts +53 -0
- package/dist/components/morph-button/index.d.ts +53 -0
- package/dist/components/morph-button/index.js +39 -0
- package/dist/components/morph-button/morph-button-face.d.cts +9 -0
- package/dist/components/morph-button/morph-button-face.d.ts +9 -0
- package/dist/components/morph-button/morph-button-icon.d.cts +13 -0
- package/dist/components/morph-button/morph-button-icon.d.ts +13 -0
- package/dist/components/morph-button/morph-button-text.d.cts +16 -0
- package/dist/components/morph-button/morph-button-text.d.ts +16 -0
- package/dist/components/morph-button/morph-button.animation.d.cts +29 -0
- package/dist/components/morph-button/morph-button.animation.d.ts +29 -0
- package/dist/components/morph-button/morph-button.context.d.cts +7 -0
- package/dist/components/morph-button/morph-button.context.d.ts +7 -0
- package/dist/components/morph-button/morph-button.d.cts +61 -0
- package/dist/components/morph-button/morph-button.d.ts +61 -0
- package/dist/components/morph-button/morph-button.recipe.d.cts +11 -0
- package/dist/components/morph-button/morph-button.recipe.d.ts +11 -0
- package/dist/components/morph-button/morph-button.type.d.cts +99 -0
- package/dist/components/morph-button/morph-button.type.d.ts +99 -0
- package/dist/components/number-pad/index.cjs +40 -0
- package/dist/components/number-pad/index.d.cts +60 -0
- package/dist/components/number-pad/index.d.ts +60 -0
- package/dist/components/number-pad/index.js +40 -0
- package/dist/components/number-pad/number-pad-action.d.cts +24 -0
- package/dist/components/number-pad/number-pad-action.d.ts +24 -0
- package/dist/components/number-pad/number-pad-backspace.d.cts +18 -0
- package/dist/components/number-pad/number-pad-backspace.d.ts +18 -0
- package/dist/components/number-pad/number-pad-cell.d.cts +7 -0
- package/dist/components/number-pad/number-pad-cell.d.ts +7 -0
- package/dist/components/number-pad/number-pad-icon.d.cts +13 -0
- package/dist/components/number-pad/number-pad-icon.d.ts +13 -0
- package/dist/components/number-pad/number-pad-key.d.cts +24 -0
- package/dist/components/number-pad/number-pad-key.d.ts +24 -0
- package/dist/components/number-pad/number-pad-label.d.cts +14 -0
- package/dist/components/number-pad/number-pad-label.d.ts +14 -0
- package/dist/components/number-pad/number-pad.context.d.cts +18 -0
- package/dist/components/number-pad/number-pad.context.d.ts +18 -0
- package/dist/components/number-pad/number-pad.d.cts +57 -0
- package/dist/components/number-pad/number-pad.d.ts +57 -0
- package/dist/components/number-pad/number-pad.recipe.d.cts +11 -0
- package/dist/components/number-pad/number-pad.recipe.d.ts +11 -0
- package/dist/components/number-pad/number-pad.style.d.cts +13 -0
- package/dist/components/number-pad/number-pad.style.d.ts +13 -0
- package/dist/components/number-pad/number-pad.type.d.cts +135 -0
- package/dist/components/number-pad/number-pad.type.d.ts +135 -0
- package/dist/components/number-pad/number-pad.utils.d.cts +34 -0
- package/dist/components/number-pad/number-pad.utils.d.ts +34 -0
- package/dist/components/number-stepper/index.cjs +3 -3
- package/dist/components/number-stepper/index.js +2 -2
- package/dist/components/pager/index.cjs +31 -0
- package/dist/components/pager/index.d.cts +60 -0
- package/dist/components/pager/index.d.ts +60 -0
- package/dist/components/pager/index.js +31 -0
- package/dist/components/pager/pager-content.d.cts +24 -0
- package/dist/components/pager/pager-content.d.ts +24 -0
- package/dist/components/pager/pager-indicator.d.cts +47 -0
- package/dist/components/pager/pager-indicator.d.ts +47 -0
- package/dist/components/pager/pager-page.d.cts +16 -0
- package/dist/components/pager/pager-page.d.ts +16 -0
- package/dist/components/pager/pager.context.d.cts +7 -0
- package/dist/components/pager/pager.context.d.ts +7 -0
- package/dist/components/pager/pager.d.cts +71 -0
- package/dist/components/pager/pager.d.ts +71 -0
- package/dist/components/pager/pager.recipe.d.cts +15 -0
- package/dist/components/pager/pager.recipe.d.ts +15 -0
- package/dist/components/pager/pager.type.d.cts +108 -0
- package/dist/components/pager/pager.type.d.ts +108 -0
- package/dist/components/phone-number-field/index.cjs +15 -15
- package/dist/components/phone-number-field/index.js +4 -4
- package/dist/components/popover/index.cjs +3 -3
- package/dist/components/popover/index.js +2 -2
- package/dist/components/radio/index.cjs +3 -3
- package/dist/components/radio/index.d.cts +1 -0
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/radio/index.js +2 -2
- package/dist/components/radio/radio.d.cts +1 -0
- package/dist/components/radio/radio.d.ts +1 -0
- package/dist/components/range-calendar/index.cjs +4 -4
- package/dist/components/range-calendar/index.js +3 -3
- package/dist/components/rating/index.cjs +30 -0
- package/dist/components/rating/index.d.cts +41 -0
- package/dist/components/rating/index.d.ts +41 -0
- package/dist/components/rating/index.js +30 -0
- package/dist/components/rating/rating-icon.d.cts +16 -0
- package/dist/components/rating/rating-icon.d.ts +16 -0
- package/dist/components/rating/rating-item.d.cts +23 -0
- package/dist/components/rating/rating-item.d.ts +23 -0
- package/dist/components/rating/rating-star.d.cts +19 -0
- package/dist/components/rating/rating-star.d.ts +19 -0
- package/dist/components/rating/rating.context.d.cts +16 -0
- package/dist/components/rating/rating.context.d.ts +16 -0
- package/dist/components/rating/rating.d.cts +59 -0
- package/dist/components/rating/rating.d.ts +59 -0
- package/dist/components/rating/rating.recipe.d.cts +11 -0
- package/dist/components/rating/rating.recipe.d.ts +11 -0
- package/dist/components/rating/rating.style.d.cts +24 -0
- package/dist/components/rating/rating.style.d.ts +24 -0
- package/dist/components/rating/rating.type.d.cts +108 -0
- package/dist/components/rating/rating.type.d.ts +108 -0
- package/dist/components/rating/rating.utils.d.cts +28 -0
- package/dist/components/rating/rating.utils.d.ts +28 -0
- package/dist/components/search-field/index.cjs +4 -4
- package/dist/components/search-field/index.js +3 -3
- package/dist/components/segment/index.cjs +2 -2
- package/dist/components/segment/index.js +1 -1
- package/dist/components/select/index.cjs +3 -3
- package/dist/components/select/index.js +2 -2
- package/dist/components/snackbar/index.cjs +3 -3
- package/dist/components/snackbar/index.js +2 -2
- package/dist/components/switch/index.cjs +3 -3
- package/dist/components/switch/index.d.cts +1 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/index.js +2 -2
- package/dist/components/switch/switch.d.cts +1 -0
- package/dist/components/switch/switch.d.ts +1 -0
- package/dist/components/table/index.cjs +4 -4
- package/dist/components/table/index.js +3 -3
- package/dist/components/tabs/index.cjs +3 -3
- package/dist/components/tabs/index.js +2 -2
- package/dist/components/tag-group/index.cjs +4 -4
- package/dist/components/tag-group/index.js +3 -3
- package/dist/components/time-picker/index.cjs +4 -4
- package/dist/components/time-picker/index.js +3 -3
- package/dist/components/toast/index.cjs +3 -3
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toggle-button/index.cjs +3 -3
- package/dist/components/toggle-button/index.d.cts +1 -0
- package/dist/components/toggle-button/index.d.ts +1 -0
- package/dist/components/toggle-button/index.js +2 -2
- package/dist/components/toggle-button/toggle-button.d.cts +1 -0
- package/dist/components/toggle-button/toggle-button.d.ts +1 -0
- package/dist/index.cjs +145 -60
- package/dist/index.js +243 -158
- package/dist/system/index.cjs +3 -3
- package/dist/system/index.js +2 -2
- package/dist/system/pressable-feedback/index.d.cts +1 -0
- package/dist/system/pressable-feedback/index.d.ts +1 -0
- package/dist/system/pressable-feedback/pressable-feedback.d.cts +1 -0
- package/dist/system/pressable-feedback/pressable-feedback.d.ts +1 -0
- package/dist/system/pressable-feedback/pressable-feedback.type.d.cts +13 -1
- package/dist/system/pressable-feedback/pressable-feedback.type.d.ts +13 -1
- package/package.json +41 -1
- package/dist/chunk-L5GB6G3L.cjs +0 -1007
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkZE4IHUUOcjs = require('./chunk-ZE4IHUUO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkWDDXU3OHcjs = require('./chunk-WDDXU3OH.cjs');
|
|
@@ -14,7 +14,7 @@ var _chunkEKS3W46Mcjs = require('./chunk-EKS3W46M.cjs');
|
|
|
14
14
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkOW4N2C3Mcjs = require('./chunk-OW4N2C3M.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -50,7 +50,7 @@ var DialogClose = _react.forwardRef.call(void 0, function DialogClose2({ asChild
|
|
|
50
50
|
[close, onPress]
|
|
51
51
|
);
|
|
52
52
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
53
|
-
|
|
53
|
+
_chunkZE4IHUUOcjs.CloseButtonBase,
|
|
54
54
|
{
|
|
55
55
|
ref,
|
|
56
56
|
name: "Dialog.Close",
|
|
@@ -204,7 +204,7 @@ var DialogTrigger = _react.forwardRef.call(void 0,
|
|
|
204
204
|
[onPress, toggle]
|
|
205
205
|
);
|
|
206
206
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
207
|
-
|
|
207
|
+
_chunkOW4N2C3Mcjs.PressableFeedback,
|
|
208
208
|
{
|
|
209
209
|
ref,
|
|
210
210
|
isPressed,
|
|
@@ -249,7 +249,7 @@ var CLOSE_BAR = 16;
|
|
|
249
249
|
var dialogRecipe = _chunkSL3V7R2Ycjs.createRecipe.call(void 0, {
|
|
250
250
|
slots: SLOTS,
|
|
251
251
|
base: (theme) => {
|
|
252
|
-
const shared =
|
|
252
|
+
const shared = _chunkZE4IHUUOcjs.closeButtonGeometry.call(void 0, theme);
|
|
253
253
|
return {
|
|
254
254
|
// Unlike the `Popover`'s, this backdrop dims by default. A popover is an aside you can
|
|
255
255
|
// read the page around; a dialog is a question, and the page behind it is not
|
|
@@ -6,7 +6,7 @@ var _chunkF6CQ6CBIcjs = require('./chunk-F6CQ6CBI.cjs');
|
|
|
6
6
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkOW4N2C3Mcjs = require('./chunk-OW4N2C3M.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -375,7 +375,7 @@ var RadioRoot = _react.forwardRef.call(void 0, function Radio({
|
|
|
375
375
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioLabel, { children: text })
|
|
376
376
|
] }) : _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioIndicator, {})));
|
|
377
377
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RadioProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
378
|
-
|
|
378
|
+
_chunkOW4N2C3Mcjs.PressableFeedback,
|
|
379
379
|
{
|
|
380
380
|
ref,
|
|
381
381
|
isPressed,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { hourCycleFor, periodOf, withTime } from "./chunk-3MRCSXGT.js";
|
|
2
|
-
import { BottomSheet2 as BottomSheet } from "./chunk-
|
|
2
|
+
import { BottomSheet2 as BottomSheet } from "./chunk-LECYGVIH.js";
|
|
3
3
|
import { selectRecipe } from "./chunk-E4FWGZH2.js";
|
|
4
4
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
5
|
-
import { PressableFeedback } from "./chunk-
|
|
5
|
+
import { PressableFeedback } from "./chunk-2AFA5HA2.js";
|
|
6
6
|
import { usePressState } from "./chunk-423RQBOX.js";
|
|
7
7
|
import { Icon, IconContext, useIconContext } from "./chunk-JN6IRT2M.js";
|
|
8
8
|
import { createRecipe } from "./chunk-DKVXTMIJ.js";
|
|
@@ -336,20 +336,20 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
336
336
|
var HOURS_ON_A_FACE = 12;
|
|
337
337
|
var MINUTES_IN_AN_HOUR = 60;
|
|
338
338
|
var LABELLED_MINUTE = 5;
|
|
339
|
-
const
|
|
340
|
-
code: "function
|
|
341
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
342
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
339
|
+
const _worklet_14423517188177_init_data = {
|
|
340
|
+
code: "function chunkEBCAPIBDJs1(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,true);}",
|
|
341
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-EBCAPIBD.js",
|
|
342
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkEBCAPIBDJs1\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-EBCAPIBD.js\"],\"mappings\":\"AA+akM,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\":[]}"
|
|
343
343
|
};
|
|
344
|
-
const
|
|
345
|
-
code: "function
|
|
346
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
347
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
344
|
+
const _worklet_17497877196409_init_data = {
|
|
345
|
+
code: "function chunkEBCAPIBDJs2(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,false);}",
|
|
346
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-EBCAPIBD.js",
|
|
347
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkEBCAPIBDJs2\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-EBCAPIBD.js\"],\"mappings\":\"AA+asI,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\":[]}"
|
|
348
348
|
};
|
|
349
|
-
const
|
|
350
|
-
code: "function
|
|
351
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
352
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
349
|
+
const _worklet_6447009173048_init_data = {
|
|
350
|
+
code: "function chunkEBCAPIBDJs3(event){const{runOnJS,valueAt}=this.__closure;return runOnJS(valueAt)(event.x,event.y,false);}",
|
|
351
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-EBCAPIBD.js",
|
|
352
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkEBCAPIBDJs3\",\"event\",\"runOnJS\",\"valueAt\",\"__closure\",\"x\",\"y\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-EBCAPIBD.js\"],\"mappings\":\"AA+auE,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\":[]}"
|
|
353
353
|
};
|
|
354
354
|
var TimePickerClock = forwardRef(function TimePickerClock2({
|
|
355
355
|
children,
|
|
@@ -477,64 +477,64 @@ var TimePickerClock = forwardRef(function TimePickerClock2({
|
|
|
477
477
|
const onInner = distanceFrom(now.center, point) < now.radius * (now.ring + now.innerRing) * 0.5;
|
|
478
478
|
if (onInner) setHour(raw === 0 ? 0 : raw + HOURS_ON_A_FACE);else setHour(raw === 0 ? HOURS_ON_A_FACE : raw);
|
|
479
479
|
}, []);
|
|
480
|
-
const drag = useMemo(() => Gesture.Pan().enabled(!isDisabled).minDistance(0).onStart(function
|
|
481
|
-
|
|
480
|
+
const drag = useMemo(() => Gesture.Pan().enabled(!isDisabled).minDistance(0).onStart(function chunkEBCAPIBDJs3Factory({
|
|
481
|
+
_worklet_6447009173048_init_data,
|
|
482
482
|
runOnJS,
|
|
483
483
|
valueAt
|
|
484
484
|
}) {
|
|
485
485
|
const _e = [new global.Error(), -3, -27];
|
|
486
|
-
const
|
|
487
|
-
|
|
486
|
+
const chunkEBCAPIBDJs3 = event => runOnJS(valueAt)(event.x, event.y, false);
|
|
487
|
+
chunkEBCAPIBDJs3.__closure = {
|
|
488
488
|
runOnJS,
|
|
489
489
|
valueAt
|
|
490
490
|
};
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
return
|
|
491
|
+
chunkEBCAPIBDJs3.__workletHash = 6447009173048;
|
|
492
|
+
chunkEBCAPIBDJs3.__pluginVersion = "0.7.4";
|
|
493
|
+
chunkEBCAPIBDJs3.__initData = _worklet_6447009173048_init_data;
|
|
494
|
+
chunkEBCAPIBDJs3.__stackDetails = _e;
|
|
495
|
+
return chunkEBCAPIBDJs3;
|
|
496
496
|
}({
|
|
497
|
-
|
|
497
|
+
_worklet_6447009173048_init_data,
|
|
498
498
|
runOnJS,
|
|
499
499
|
valueAt
|
|
500
|
-
})).onUpdate(function
|
|
501
|
-
|
|
500
|
+
})).onUpdate(function chunkEBCAPIBDJs2Factory({
|
|
501
|
+
_worklet_17497877196409_init_data,
|
|
502
502
|
runOnJS,
|
|
503
503
|
valueAt
|
|
504
504
|
}) {
|
|
505
505
|
const _e = [new global.Error(), -3, -27];
|
|
506
|
-
const
|
|
507
|
-
|
|
506
|
+
const chunkEBCAPIBDJs2 = event => runOnJS(valueAt)(event.x, event.y, false);
|
|
507
|
+
chunkEBCAPIBDJs2.__closure = {
|
|
508
508
|
runOnJS,
|
|
509
509
|
valueAt
|
|
510
510
|
};
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
return
|
|
511
|
+
chunkEBCAPIBDJs2.__workletHash = 17497877196409;
|
|
512
|
+
chunkEBCAPIBDJs2.__pluginVersion = "0.7.4";
|
|
513
|
+
chunkEBCAPIBDJs2.__initData = _worklet_17497877196409_init_data;
|
|
514
|
+
chunkEBCAPIBDJs2.__stackDetails = _e;
|
|
515
|
+
return chunkEBCAPIBDJs2;
|
|
516
516
|
}({
|
|
517
|
-
|
|
517
|
+
_worklet_17497877196409_init_data,
|
|
518
518
|
runOnJS,
|
|
519
519
|
valueAt
|
|
520
|
-
})).onEnd(function
|
|
521
|
-
|
|
520
|
+
})).onEnd(function chunkEBCAPIBDJs1Factory({
|
|
521
|
+
_worklet_14423517188177_init_data,
|
|
522
522
|
runOnJS,
|
|
523
523
|
valueAt
|
|
524
524
|
}) {
|
|
525
525
|
const _e = [new global.Error(), -3, -27];
|
|
526
|
-
const
|
|
527
|
-
|
|
526
|
+
const chunkEBCAPIBDJs1 = event => runOnJS(valueAt)(event.x, event.y, true);
|
|
527
|
+
chunkEBCAPIBDJs1.__closure = {
|
|
528
528
|
runOnJS,
|
|
529
529
|
valueAt
|
|
530
530
|
};
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
return
|
|
531
|
+
chunkEBCAPIBDJs1.__workletHash = 14423517188177;
|
|
532
|
+
chunkEBCAPIBDJs1.__pluginVersion = "0.7.4";
|
|
533
|
+
chunkEBCAPIBDJs1.__initData = _worklet_14423517188177_init_data;
|
|
534
|
+
chunkEBCAPIBDJs1.__stackDetails = _e;
|
|
535
|
+
return chunkEBCAPIBDJs1;
|
|
536
536
|
}({
|
|
537
|
-
|
|
537
|
+
_worklet_14423517188177_init_data,
|
|
538
538
|
runOnJS,
|
|
539
539
|
valueAt
|
|
540
540
|
})), [isDisabled, valueAt]);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOW4N2C3Mcjs = require('./chunk-OW4N2C3M.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -367,7 +367,7 @@ var ToggleButtonRoot = _react.forwardRef.call(void 0,
|
|
|
367
367
|
);
|
|
368
368
|
}
|
|
369
369
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToggleButtonProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
370
|
-
|
|
370
|
+
_chunkOW4N2C3Mcjs.PressableFeedback,
|
|
371
371
|
{
|
|
372
372
|
ref,
|
|
373
373
|
isPressed,
|
|
@@ -5,7 +5,7 @@ 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";
|
|
7
7
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
8
|
-
import { PressableFeedback } from "./chunk-
|
|
8
|
+
import { PressableFeedback } from "./chunk-2AFA5HA2.js";
|
|
9
9
|
import { usePressState } from "./chunk-423RQBOX.js";
|
|
10
10
|
import { ChevronDownIcon, Icon, IconContext } from "./chunk-JN6IRT2M.js";
|
|
11
11
|
import { childrenToString } from "./chunk-WFZDAXDI.js";
|
|
@@ -537,10 +537,10 @@ function partition(children) {
|
|
|
537
537
|
import { useEffect as useEffect2 } from "react";
|
|
538
538
|
import Animated2, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
|
|
539
539
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
540
|
-
const
|
|
541
|
-
code: "function
|
|
542
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
543
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
540
|
+
const _worklet_1971635372740_init_data = {
|
|
541
|
+
code: "function chunkFOOXBVOQJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
542
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FOOXBVOQ.js",
|
|
543
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkFOOXBVOQJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FOOXBVOQ.js\"],\"mappings\":\"AA4hBoC,SAAAA,iBAAA,QAAAC,WAAA,CAAAC,QAAA,CAAAC,kBAAA,OAAAC,SAAA,OAAO,CACvCC,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\",\"ignoreList\":[]}"
|
|
544
544
|
};
|
|
545
545
|
function AutocompleteIndicator(props) {
|
|
546
546
|
const {
|
|
@@ -554,30 +554,30 @@ function AutocompleteIndicator(props) {
|
|
|
554
554
|
useEffect2(() => {
|
|
555
555
|
progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
|
|
556
556
|
}, [isOpen, progress]);
|
|
557
|
-
const rotation = useAnimatedStyle(function
|
|
558
|
-
|
|
557
|
+
const rotation = useAnimatedStyle(function chunkFOOXBVOQJs1Factory({
|
|
558
|
+
_worklet_1971635372740_init_data,
|
|
559
559
|
interpolate,
|
|
560
560
|
progress,
|
|
561
561
|
INDICATOR_ROTATION
|
|
562
562
|
}) {
|
|
563
563
|
const _e = [new global.Error(), -4, -27];
|
|
564
|
-
const
|
|
564
|
+
const chunkFOOXBVOQJs1 = () => ({
|
|
565
565
|
transform: [{
|
|
566
566
|
rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
|
|
567
567
|
}]
|
|
568
568
|
});
|
|
569
|
-
|
|
569
|
+
chunkFOOXBVOQJs1.__closure = {
|
|
570
570
|
interpolate,
|
|
571
571
|
progress,
|
|
572
572
|
INDICATOR_ROTATION
|
|
573
573
|
};
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
return
|
|
574
|
+
chunkFOOXBVOQJs1.__workletHash = 1971635372740;
|
|
575
|
+
chunkFOOXBVOQJs1.__pluginVersion = "0.7.4";
|
|
576
|
+
chunkFOOXBVOQJs1.__initData = _worklet_1971635372740_init_data;
|
|
577
|
+
chunkFOOXBVOQJs1.__stackDetails = _e;
|
|
578
|
+
return chunkFOOXBVOQJs1;
|
|
579
579
|
}({
|
|
580
|
-
|
|
580
|
+
_worklet_1971635372740_init_data,
|
|
581
581
|
interpolate,
|
|
582
582
|
progress,
|
|
583
583
|
INDICATOR_ROTATION
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
2
|
-
import { PressableFeedback } from "./chunk-
|
|
2
|
+
import { PressableFeedback } from "./chunk-2AFA5HA2.js";
|
|
3
3
|
import { usePressState } from "./chunk-423RQBOX.js";
|
|
4
4
|
import { createSlotContext } from "./chunk-TTZOIXKE.js";
|
|
5
5
|
import { useStyleProps } from "./chunk-M63GFNKV.js";
|
|
@@ -10,13 +10,13 @@ import Animated, { useAnimatedStyle } from "react-native-reanimated";
|
|
|
10
10
|
|
|
11
11
|
// src/utils/flip.ts
|
|
12
12
|
var HALF_TURN = 180;
|
|
13
|
-
const
|
|
14
|
-
code: "function
|
|
15
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
16
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
13
|
+
const _worklet_9625987304348_init_data = {
|
|
14
|
+
code: "function faceAngle_chunkFRLWG5LMJs1(progress,face2,rotation=\"normal\"){const{HALF_TURN}=this.__closure;const direction=rotation===\"reverse\"?-1:1;const turns=face2===\"front\"?progress:progress-1;return turns*HALF_TURN*direction;}",
|
|
15
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FRLWG5LM.js",
|
|
16
|
+
sourceMap: "{\"version\":3,\"names\":[\"faceAngle_chunkFRLWG5LMJs1\",\"progress\",\"face2\",\"rotation\",\"HALF_TURN\",\"__closure\",\"direction\",\"turns\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FRLWG5LM.js\"],\"mappings\":\"AAsBA,SAAAA,0BAAkCA,CAAAC,QAAE,CAAQC,KAAG,CAAAC,QAAU,iBAAAC,SAAA,OAAAC,SAAA,CAEvD,KAAM,CAAAC,SAAS,CAAGH,QAAQ,GAAK,SAAS,CAAG,CAAC,CAAC,CAAG,CAAC,CACjD,KAAM,CAAAI,KAAK,CAAGL,KAAK,GAAK,OAAO,CAAGD,QAAQ,CAAGA,QAAQ,CAAG,CAAC,CACzD,MAAO,CAAAM,KAAK,CAAGH,SAAS,CAAGE,SAAS,CACtC\",\"ignoreList\":[]}"
|
|
17
17
|
};
|
|
18
|
-
const faceAngle = function
|
|
19
|
-
|
|
18
|
+
const faceAngle = function faceAngle_chunkFRLWG5LMJs1Factory({
|
|
19
|
+
_worklet_9625987304348_init_data,
|
|
20
20
|
HALF_TURN
|
|
21
21
|
}) {
|
|
22
22
|
const _e = [new global.Error(), -2, -27];
|
|
@@ -28,13 +28,13 @@ const faceAngle = function faceAngle_chunk24WXPNITJs1Factory({
|
|
|
28
28
|
faceAngle.__closure = {
|
|
29
29
|
HALF_TURN
|
|
30
30
|
};
|
|
31
|
-
faceAngle.__workletHash =
|
|
31
|
+
faceAngle.__workletHash = 9625987304348;
|
|
32
32
|
faceAngle.__pluginVersion = "0.7.4";
|
|
33
|
-
faceAngle.__initData =
|
|
33
|
+
faceAngle.__initData = _worklet_9625987304348_init_data;
|
|
34
34
|
faceAngle.__stackDetails = _e;
|
|
35
35
|
return faceAngle;
|
|
36
36
|
}({
|
|
37
|
-
|
|
37
|
+
_worklet_9625987304348_init_data,
|
|
38
38
|
HALF_TURN
|
|
39
39
|
}); // src/components/flip-card/flip-card.style.ts
|
|
40
40
|
import { StyleSheet } from "react-native";
|
|
@@ -57,10 +57,10 @@ var [FlipCardProvider, useFlipCard] = createSlotContext("FlipCard");
|
|
|
57
57
|
|
|
58
58
|
// src/components/flip-card/flip-card-face.tsx
|
|
59
59
|
import { jsx } from "react/jsx-runtime";
|
|
60
|
-
const
|
|
61
|
-
code: "function
|
|
62
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
63
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
60
|
+
const _worklet_9771534366517_init_data = {
|
|
61
|
+
code: "function chunkFRLWG5LMJs2(){const{faceAngle,progress,which,rotation,FLIP_PERSPECTIVE,direction}=this.__closure;const angle=faceAngle(progress.get(),which,rotation)+\"deg\";return{transform:[{perspective:FLIP_PERSPECTIVE},direction===\"horizontal\"?{rotateY:angle}:{rotateX:angle}]};}",
|
|
62
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FRLWG5LM.js",
|
|
63
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkFRLWG5LMJs2\",\"faceAngle\",\"progress\",\"which\",\"rotation\",\"FLIP_PERSPECTIVE\",\"direction\",\"__closure\",\"angle\",\"get\",\"transform\",\"perspective\",\"rotateY\",\"rotateX\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FRLWG5LM.js\"],\"mappings\":\"AA+CkC,SAAAA,gBAAMA,CAAA,QAAAC,SAAA,CAAAC,QAAA,CAAAC,KAAA,CAAAC,QAAA,CAAAC,gBAAA,CAAAC,SAAA,OAAAC,SAAA,CAClC,KAAM,CAAAC,KAAK,CAAMP,SAAS,CAACC,QAAQ,CAACO,GAAG,CAAC,CAAC,CAAEN,KAAK,CAAEC,QAAQ,CAAC,MAAK,CAChE,MAAO,CACLM,SAAS,CAAE,CAIT,CAAEC,WAAW,CAAEN,gBAAiB,CAAC,CACjCC,SAAS,GAAK,YAAY,CAAG,CAAEM,OAAO,CAAEJ,KAAM,CAAC,CAAG,CAAEK,OAAO,CAAEL,KAAM,CAAC,CAExE,CAAC,CACH\",\"ignoreList\":[]}"
|
|
64
64
|
};
|
|
65
65
|
function face(which, name) {
|
|
66
66
|
const Component = forwardRef(function FlipCardFace({
|
|
@@ -74,8 +74,8 @@ function face(which, name) {
|
|
|
74
74
|
rotation
|
|
75
75
|
} = useFlipCard();
|
|
76
76
|
const [styleProps, rest] = useStyleProps(props);
|
|
77
|
-
const turn = useAnimatedStyle(function
|
|
78
|
-
|
|
77
|
+
const turn = useAnimatedStyle(function chunkFRLWG5LMJs2Factory({
|
|
78
|
+
_worklet_9771534366517_init_data,
|
|
79
79
|
faceAngle,
|
|
80
80
|
progress,
|
|
81
81
|
which,
|
|
@@ -84,7 +84,7 @@ function face(which, name) {
|
|
|
84
84
|
direction
|
|
85
85
|
}) {
|
|
86
86
|
const _e = [new global.Error(), -7, -27];
|
|
87
|
-
const
|
|
87
|
+
const chunkFRLWG5LMJs2 = function () {
|
|
88
88
|
const angle = `${faceAngle(progress.get(), which, rotation)}deg`;
|
|
89
89
|
return {
|
|
90
90
|
transform: [
|
|
@@ -100,7 +100,7 @@ function face(which, name) {
|
|
|
100
100
|
}]
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
-
|
|
103
|
+
chunkFRLWG5LMJs2.__closure = {
|
|
104
104
|
faceAngle,
|
|
105
105
|
progress,
|
|
106
106
|
which,
|
|
@@ -108,13 +108,13 @@ function face(which, name) {
|
|
|
108
108
|
FLIP_PERSPECTIVE,
|
|
109
109
|
direction
|
|
110
110
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
return
|
|
111
|
+
chunkFRLWG5LMJs2.__workletHash = 9771534366517;
|
|
112
|
+
chunkFRLWG5LMJs2.__pluginVersion = "0.7.4";
|
|
113
|
+
chunkFRLWG5LMJs2.__initData = _worklet_9771534366517_init_data;
|
|
114
|
+
chunkFRLWG5LMJs2.__stackDetails = _e;
|
|
115
|
+
return chunkFRLWG5LMJs2;
|
|
116
116
|
}({
|
|
117
|
-
|
|
117
|
+
_worklet_9771534366517_init_data,
|
|
118
118
|
faceAngle,
|
|
119
119
|
progress,
|
|
120
120
|
which,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/carousel.ts
|
|
2
|
+
function clamp(value, low, high) {
|
|
3
|
+
"worklet";
|
|
4
|
+
return Math.min(Math.max(value, low), high);
|
|
5
|
+
}
|
|
6
|
+
function carouselMetrics({
|
|
7
|
+
width,
|
|
8
|
+
itemsPerView,
|
|
9
|
+
gap,
|
|
10
|
+
peek
|
|
11
|
+
}) {
|
|
12
|
+
const perView = Math.max(1, Math.floor(itemsPerView));
|
|
13
|
+
const inset = peek > 0 ? peek + gap : 0;
|
|
14
|
+
const between = gap * (perView - 1);
|
|
15
|
+
const itemWidth = Math.max(0, (width - 2 * inset - between) / perView);
|
|
16
|
+
return { itemWidth, step: itemWidth + gap, gap, inset };
|
|
17
|
+
}
|
|
18
|
+
function indexFromOffset(offset, step, count) {
|
|
19
|
+
"worklet";
|
|
20
|
+
if (step <= 0 || count <= 0) return 0;
|
|
21
|
+
return clamp(Math.round(offset / step), 0, count - 1);
|
|
22
|
+
}
|
|
23
|
+
function progressFromOffset(offset, step, count) {
|
|
24
|
+
"worklet";
|
|
25
|
+
if (step <= 0 || count <= 0) return 0;
|
|
26
|
+
return clamp(offset / step, 0, count - 1);
|
|
27
|
+
}
|
|
28
|
+
function stepIndex(index, delta, count, hasLoop) {
|
|
29
|
+
if (count <= 0) return 0;
|
|
30
|
+
const next = index + delta;
|
|
31
|
+
if (hasLoop) return (next % count + count) % count;
|
|
32
|
+
return clamp(next, 0, count - 1);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
exports.carouselMetrics = carouselMetrics; exports.indexFromOffset = indexFromOffset; exports.progressFromOffset = progressFromOffset; exports.stepIndex = stepIndex;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CloseButtonBase,
|
|
3
3
|
closeButtonGeometry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-USIWPESU.js";
|
|
5
5
|
import {
|
|
6
6
|
Portal
|
|
7
7
|
} from "./chunk-2PMXMKS5.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-F6W3JQ7K.js";
|
|
15
15
|
import {
|
|
16
16
|
PressableFeedback
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2AFA5HA2.js";
|
|
18
18
|
import {
|
|
19
19
|
usePressState
|
|
20
20
|
} from "./chunk-423RQBOX.js";
|
|
@@ -21,7 +21,7 @@ var _chunkWFEMJCXOcjs = require('./chunk-WFEMJCXO.cjs');
|
|
|
21
21
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkOW4N2C3Mcjs = require('./chunk-OW4N2C3M.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -294,7 +294,7 @@ var MenuItem = _react.forwardRef.call(void 0, function MenuItem2({
|
|
|
294
294
|
[variant, isPressed, isDisabled]
|
|
295
295
|
);
|
|
296
296
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MenuItemProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, { value: glyph[variant], children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
-
|
|
297
|
+
_chunkOW4N2C3Mcjs.PressableFeedback,
|
|
298
298
|
{
|
|
299
299
|
ref,
|
|
300
300
|
isPressed,
|
|
@@ -466,7 +466,7 @@ var MenuTrigger = _react.forwardRef.call(void 0, function MenuTrigger2({
|
|
|
466
466
|
[anchor, onPress, toggle]
|
|
467
467
|
);
|
|
468
468
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
-
|
|
469
|
+
_chunkOW4N2C3Mcjs.PressableFeedback,
|
|
470
470
|
{
|
|
471
471
|
ref: refs,
|
|
472
472
|
isPressed,
|