@btndprojects/loam-ui-native 0.2.1 → 0.3.1
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/accordion/index.js +4 -2
- package/dist/adaptive/index.js +12 -2
- package/dist/address-block/index.js +23 -0
- package/dist/alert/index.js +5 -2
- package/dist/analyzer/index.js +13 -5
- package/dist/announcement/index.js +15 -5
- package/dist/appearance-picker/index.js +15 -0
- package/dist/audio-player/index.js +26 -2
- package/dist/avatar/index.js +2 -2
- package/dist/avatar-group/index.js +5 -3
- package/dist/badge/index.js +6 -3
- package/dist/banner/index.js +3 -2
- package/dist/board/index.js +13 -6
- package/dist/button/index.js +6 -3
- package/dist/camera-permission/index.js +19 -11
- package/dist/capture-result/index.js +26 -16
- package/dist/card/index.js +7 -3
- package/dist/card-form/index.js +15 -9
- package/dist/carousel/index.js +3 -1
- package/dist/chart/index.js +15 -5
- package/dist/charts/index.js +18 -5
- package/dist/chat/index.js +35 -10
- package/dist/checkbox/index.js +6 -4
- package/dist/checklist/index.js +16 -7
- package/dist/checkout/index.js +25 -12
- package/dist/chip/index.js +7 -4
- package/dist/chunk-2BZD3NAP.js +1110 -0
- package/dist/chunk-2YKVID2V.js +35 -0
- package/dist/{chunk-H7DWSL4O.js → chunk-36DA3IPO.js} +115 -27
- package/dist/chunk-3A56MIAN.js +599 -0
- package/dist/{chunk-AEB7KCHQ.js → chunk-3SCKCWF5.js} +39 -28
- package/dist/chunk-3TZNDHKO.js +187 -0
- package/dist/chunk-43K3BLXV.js +9 -0
- package/dist/chunk-46ZJIQ2Z.js +208 -0
- package/dist/{chunk-PMMTGBBS.js → chunk-4CZMQDQL.js} +75 -22
- package/dist/chunk-4QCR3K2J.js +1 -0
- package/dist/{chunk-E2E3I5W2.js → chunk-5DTKORLI.js} +54 -45
- package/dist/{chunk-5VFZRGVD.js → chunk-5J4WFXFA.js} +32 -15
- package/dist/{chunk-JBMLWFSJ.js → chunk-5KJ7TEQ6.js} +83 -48
- package/dist/chunk-5NU33TXK.js +529 -0
- package/dist/chunk-6KSUS7DF.js +690 -0
- package/dist/{chunk-3WEZCGHX.js → chunk-6RV6UW2J.js} +140 -56
- package/dist/chunk-6RZM7RP2.js +520 -0
- package/dist/{chunk-JJLPBRVZ.js → chunk-75BDCC7K.js} +2 -0
- package/dist/{chunk-U5NLHYV6.js → chunk-7CGJBQUA.js} +333 -22
- package/dist/{chunk-I4FHVKEC.js → chunk-7IVF6JLJ.js} +16 -5
- package/dist/chunk-7IWCGXYA.js +143 -0
- package/dist/chunk-7LM4ASFH.js +172 -0
- package/dist/chunk-7MCEJFWV.js +341 -0
- package/dist/{chunk-2SY63FCH.js → chunk-7NGMUVNU.js} +66 -30
- package/dist/chunk-7PBSIXT7.js +355 -0
- package/dist/chunk-7QOYGENL.js +443 -0
- package/dist/{chunk-TDMG26JI.js → chunk-A7SWYDE5.js} +40 -9
- package/dist/chunk-ADHPJALR.js +3051 -0
- package/dist/{chunk-ZLTO5VQI.js → chunk-ALJYZLNQ.js} +131 -61
- package/dist/{chunk-GDKVKNR2.js → chunk-AQ5FIG74.js} +110 -30
- package/dist/chunk-B2MMZZQB.js +426 -0
- package/dist/{chunk-QYPE5JX3.js → chunk-B7JZ3N5G.js} +142 -105
- package/dist/{chunk-QHTVYA65.js → chunk-BL37SW6G.js} +388 -102
- package/dist/chunk-BTRMA7GC.js +21 -0
- package/dist/{chunk-FUMHAAF3.js → chunk-C7IUWIUZ.js} +243 -92
- package/dist/chunk-CA3DUVYD.js +10 -0
- package/dist/{chunk-FYWNRX4F.js → chunk-CBCJSO2B.js} +143 -13
- package/dist/chunk-CHPX4MFI.js +239 -0
- package/dist/chunk-CLGAMIOT.js +648 -0
- package/dist/chunk-CUE7VML6.js +1141 -0
- package/dist/{chunk-D5N5QWI7.js → chunk-CVU6S2E5.js} +497 -235
- package/dist/{chunk-U23FYWME.js → chunk-CXPQMA6Z.js} +101 -34
- package/dist/{chunk-36EC2T6P.js → chunk-D2LN4I7I.js} +1 -1
- package/dist/{chunk-TLCIR6RG.js → chunk-D34LNBO5.js} +411 -155
- package/dist/{chunk-FV6HMP7W.js → chunk-D4BCQICM.js} +207 -65
- package/dist/chunk-EABKIIA4.js +1 -0
- package/dist/chunk-EICSYRAG.js +341 -0
- package/dist/chunk-EMWAJMAS.js +83 -0
- package/dist/chunk-EOLZWRV6.js +149 -0
- package/dist/chunk-EOQVTGB6.js +350 -0
- package/dist/{chunk-ZVATDZOM.js → chunk-ESGUHNB2.js} +106 -28
- package/dist/{chunk-46MMSDGL.js → chunk-F2KNBPKY.js} +104 -73
- package/dist/{chunk-KQZ3GLHR.js → chunk-G7H3NX3G.js} +40 -17
- package/dist/{chunk-3QMEOFW5.js → chunk-GM7YIPB7.js} +421 -207
- package/dist/{chunk-QHAITQIF.js → chunk-GVQQG435.js} +256 -86
- package/dist/chunk-HE43OMEL.js +1056 -0
- package/dist/{chunk-XIDTBCBA.js → chunk-HHOMFQ7R.js} +1049 -207
- package/dist/chunk-HNAKS4Z3.js +207 -0
- package/dist/chunk-HP6ST2OW.js +352 -0
- package/dist/chunk-HW3OWDTU.js +1 -0
- package/dist/{chunk-QP3KMOVF.js → chunk-HZDB44K4.js} +24 -14
- package/dist/chunk-I6CUP2LW.js +1155 -0
- package/dist/chunk-ICV4Y2WY.js +27 -0
- package/dist/chunk-IHSIENOE.js +3950 -0
- package/dist/{chunk-T5LTPKX6.js → chunk-IMMALLRU.js} +53 -25
- package/dist/{chunk-C4GTDLRC.js → chunk-JA6TK7H2.js} +154 -67
- package/dist/{chunk-EVOIGUBI.js → chunk-JAVZ5JPV.js} +43 -13
- package/dist/{chunk-CPTOADB2.js → chunk-JCMTP3E4.js} +527 -201
- package/dist/{chunk-OJQUBQWA.js → chunk-JCXFFK64.js} +73 -16
- package/dist/{chunk-V2OEB75Z.js → chunk-JWCVBFDU.js} +75 -35
- package/dist/chunk-JXRTD5RI.js +414 -0
- package/dist/chunk-JYIUZUIQ.js +1567 -0
- package/dist/chunk-K3TK3GIV.js +219 -0
- package/dist/chunk-KEVZIHM2.js +1511 -0
- package/dist/{chunk-VAOAKWUK.js → chunk-KHZDNQQD.js} +42 -8
- package/dist/chunk-KL4GDV4V.js +131 -0
- package/dist/{chunk-Q6NKEPRE.js → chunk-KNILMM4H.js} +73 -28
- package/dist/chunk-KRBUZV45.js +25 -0
- package/dist/{chunk-7BUIKDD6.js → chunk-KXLDK6HB.js} +91 -30
- package/dist/chunk-KZ3X7TSL.js +196 -0
- package/dist/{chunk-5UTRIXQ6.js → chunk-L2WMOA2V.js} +187 -43
- package/dist/chunk-L4D5LHCH.js +109 -0
- package/dist/{chunk-W63AJTM7.js → chunk-LAUJPLDB.js} +236 -71
- package/dist/{chunk-TN2ZNJUI.js → chunk-LGNTP5XA.js} +47 -13
- package/dist/chunk-LUZFCCSD.js +271 -0
- package/dist/{chunk-XTORZWRF.js → chunk-LXJCP4PL.js} +111 -30
- package/dist/chunk-MCOZJWPU.js +731 -0
- package/dist/{chunk-SATMR6SG.js → chunk-MG4SKWLL.js} +780 -142
- package/dist/{chunk-JUYWSSKW.js → chunk-MPEPTSER.js} +95 -16
- package/dist/chunk-MWPJ4YGP.js +1 -0
- package/dist/{chunk-LUMVGO2K.js → chunk-N7AX4OA4.js} +80 -29
- package/dist/chunk-NHSLM6SE.js +523 -0
- package/dist/{chunk-IT6FUXXG.js → chunk-NNJLVA7M.js} +43 -11
- package/dist/{chunk-TQVAIKFD.js → chunk-NZG75DGA.js} +102 -62
- package/dist/chunk-O76QXRBV.js +431 -0
- package/dist/chunk-OANH27AK.js +223 -0
- package/dist/chunk-OCHPK5YV.js +609 -0
- package/dist/chunk-OMHVEVX4.js +436 -0
- package/dist/{chunk-SWS5JQIF.js → chunk-ONKQUJWD.js} +187 -60
- package/dist/chunk-OVTK7A6T.js +615 -0
- package/dist/{chunk-UXGIW7OK.js → chunk-PCEFCOLN.js} +5 -1
- package/dist/{chunk-QIKT7LIB.js → chunk-PFLNFIVB.js} +91 -23
- package/dist/chunk-PHSZY37H.js +300 -0
- package/dist/chunk-PJLTKDVY.js +18 -0
- package/dist/{chunk-SHHY5OMK.js → chunk-PK7BN3MI.js} +83 -15
- package/dist/{chunk-YXOAPXMU.js → chunk-PWFRDRGS.js} +101 -14
- package/dist/{chunk-TY4MTKQJ.js → chunk-PYPMD46W.js} +332 -66
- package/dist/chunk-Q6CCHDI7.js +331 -0
- package/dist/chunk-QFA5WS2A.js +750 -0
- package/dist/chunk-QJMMM4RC.js +124 -0
- package/dist/chunk-QYWEVAM6.js +407 -0
- package/dist/chunk-R5T4VZ7Z.js +126 -0
- package/dist/chunk-R77HFLZD.js +1 -0
- package/dist/{chunk-LMPHCVJJ.js → chunk-RAESDNU5.js} +162 -68
- package/dist/chunk-RBYQUXNL.js +1 -0
- package/dist/chunk-RCM3DT5E.js +1 -0
- package/dist/chunk-RGNY56L7.js +282 -0
- package/dist/chunk-RIK6UX2K.js +344 -0
- package/dist/{chunk-5LAAAXFP.js → chunk-RJA3RXO3.js} +63 -54
- package/dist/chunk-RJYRJ3LD.js +1 -0
- package/dist/chunk-RMA3NOY4.js +599 -0
- package/dist/{chunk-VDPK5CY4.js → chunk-RSWKKAHK.js} +143 -61
- package/dist/{chunk-B7N4ASYE.js → chunk-RVOIIX3V.js} +17 -45
- package/dist/chunk-SA2RRBGT.js +1077 -0
- package/dist/{chunk-7OVVSVEZ.js → chunk-SG3J4R45.js} +440 -169
- package/dist/chunk-SPUK7JD4.js +238 -0
- package/dist/chunk-SWXV2K5N.js +434 -0
- package/dist/chunk-SYJEPXP6.js +1303 -0
- package/dist/{chunk-LKFC4CS7.js → chunk-SZLI34TA.js} +18 -9
- package/dist/{chunk-NBEF4EPJ.js → chunk-T77WJA74.js} +131 -16
- package/dist/chunk-TDWWVJA4.js +630 -0
- package/dist/chunk-TFHI5XDR.js +610 -0
- package/dist/chunk-TH4PW2WU.js +17 -0
- package/dist/chunk-TTQ24HQX.js +12 -0
- package/dist/chunk-TUACVJNG.js +12 -0
- package/dist/{chunk-F5B3UINI.js → chunk-TUL5RUIA.js} +171 -62
- package/dist/{chunk-C6APNDVA.js → chunk-TYOSA7JG.js} +63 -34
- package/dist/chunk-TYQTMMEV.js +1 -0
- package/dist/{chunk-DW3L54DQ.js → chunk-TZO6YDS7.js} +53 -12
- package/dist/{chunk-67IZZ2MJ.js → chunk-U3ETF22F.js} +75 -30
- package/dist/{chunk-EDCBJV7J.js → chunk-U6BYHD2N.js} +87 -31
- package/dist/{chunk-ENP3BMZU.js → chunk-UF6EJXPQ.js} +16 -1
- package/dist/{chunk-IPUNJMAQ.js → chunk-UNNQIPGK.js} +304 -68
- package/dist/chunk-UQVO6AJV.js +171 -0
- package/dist/{chunk-FZGAAOKS.js → chunk-VFDQAAIW.js} +138 -32
- package/dist/chunk-VIUE3VQT.js +1 -0
- package/dist/{chunk-5RENVKBQ.js → chunk-VJLSSSGC.js} +126 -30
- package/dist/chunk-VLMT6KYT.js +350 -0
- package/dist/chunk-VMHGBUGS.js +35 -0
- package/dist/{chunk-4IZXHVFJ.js → chunk-VQKPBYW6.js} +228 -172
- package/dist/{chunk-G6UESEVN.js → chunk-VSSTWLC5.js} +49 -11
- package/dist/{chunk-TRGFFU6A.js → chunk-VZYYZRPN.js} +866 -330
- package/dist/{chunk-JLC6PM5S.js → chunk-WAIJCD2V.js} +128 -54
- package/dist/chunk-WFMQ3WKM.js +378 -0
- package/dist/chunk-WJ2KDRMY.js +66 -0
- package/dist/chunk-WKFZJO54.js +437 -0
- package/dist/{chunk-QEYFDRHR.js → chunk-WVVD3XOV.js} +146 -84
- package/dist/chunk-XAIWMSLB.js +1 -0
- package/dist/chunk-XBXUBBJZ.js +98 -0
- package/dist/chunk-XCU7MYBJ.js +1 -0
- package/dist/chunk-XHE4PGCI.js +717 -0
- package/dist/chunk-XRSJ32M3.js +331 -0
- package/dist/chunk-XTCVOEAW.js +1 -0
- package/dist/chunk-XWGXVQF6.js +58 -0
- package/dist/{chunk-MKSNFG7H.js → chunk-Y3XKKO5K.js} +191 -109
- package/dist/chunk-Y4QNMBLO.js +533 -0
- package/dist/chunk-Y5H4CTKO.js +1 -0
- package/dist/chunk-YBQIN75A.js +403 -0
- package/dist/{chunk-PNF3NKB5.js → chunk-YJ5PXOX3.js} +28 -11
- package/dist/{chunk-M656FYNH.js → chunk-YLRSRUPS.js} +63 -49
- package/dist/chunk-YM6MPJ4A.js +1 -0
- package/dist/chunk-YV7KZENV.js +200 -0
- package/dist/chunk-Z7I4ZSO6.js +316 -0
- package/dist/{chunk-EY4DD67D.js → chunk-ZIRMWD2B.js} +199 -126
- package/dist/chunk-ZPMG3FWU.js +75 -0
- package/dist/{chunk-QRUMA22E.js → chunk-ZTXMK2G7.js} +92 -43
- package/dist/{chunk-2OLKPG4E.js → chunk-ZVJCWXAL.js} +189 -87
- package/dist/{chunk-YAAHPATV.js → chunk-ZYQ23DPT.js} +49 -34
- package/dist/coachmark/index.js +7 -3
- package/dist/code-block/index.js +4 -3
- package/dist/color-field/index.js +12 -4
- package/dist/color-picker/index.js +23 -0
- package/dist/commerce/index.js +27 -16
- package/dist/confirm/index.js +31 -0
- package/dist/connection-card/index.js +34 -0
- package/dist/connectivity/index.js +3 -2
- package/dist/context-menu/index.js +10 -2
- package/dist/copy-button/index.js +3 -2
- package/dist/data-grid/index.js +30 -17
- package/dist/date-range-picker/index.js +19 -9
- package/dist/description-list/index.js +4 -1
- package/dist/device-frame/index.js +30 -0
- package/dist/dialog/index.js +8 -2
- package/dist/divider/index.js +2 -0
- package/dist/empty-state/index.js +13 -2
- package/dist/error-summary/index.js +7 -2
- package/dist/fab/index.js +4 -2
- package/dist/file-manager/index.js +33 -17
- package/dist/file-upload/index.js +12 -6
- package/dist/filter-bar/index.js +10 -6
- package/dist/flow-run/index.js +19 -12
- package/dist/form/index.js +30 -3
- package/dist/gallery/index.js +5 -2
- package/dist/hold-to-confirm/index.js +4 -2
- package/dist/hover-card/index.js +18 -0
- package/dist/icon-tile/index.js +10 -0
- package/dist/image/index.js +9 -0
- package/dist/index.d.ts +29826 -17941
- package/dist/index.js +197 -141
- package/dist/infinite-list/index.js +4 -2
- package/dist/inline-edit/index.js +5 -4
- package/dist/input/index.js +4 -3
- package/dist/interactions/index.js +4 -1
- package/dist/invoice/index.js +18 -9
- package/dist/job-row/index.js +22 -0
- package/dist/json-inspector/index.js +20 -0
- package/dist/kbd/index.js +2 -2
- package/dist/keyboard/index.js +7 -2
- package/dist/level-meter/index.js +9 -0
- package/dist/list-row/index.js +11 -3
- package/dist/log-viewer/index.js +9 -2
- package/dist/map-view/index.js +13 -2
- package/dist/markdown/index.js +8 -5
- package/dist/metric/index.js +6 -3
- package/dist/metric-strip/index.js +12 -0
- package/dist/money/index.js +11 -4
- package/dist/nav-drawer/index.js +6 -2
- package/dist/nav-header/index.js +10 -4
- package/dist/navigation/index.js +29 -2
- package/dist/notification-center/index.js +24 -10
- package/dist/number-roll/index.js +3 -1
- package/dist/onboarding-pager/index.js +22 -0
- package/dist/one-handed/index.js +2 -2
- package/dist/os-surfaces/index.js +6 -3
- package/dist/otp/index.js +5 -4
- package/dist/page-header/index.js +2 -1
- package/dist/pagination/index.js +4 -2
- package/dist/payment-method/index.js +17 -11
- package/dist/payment-status/index.js +22 -14
- package/dist/permission/index.js +18 -2
- package/dist/picker/index.js +17 -6
- package/dist/progress/index.js +7 -2
- package/dist/provenance/index.js +16 -0
- package/dist/pull-to-refresh/index.js +2 -2
- package/dist/qr-code/index.js +16 -0
- package/dist/query-builder/index.js +30 -0
- package/dist/radio-group/index.js +6 -4
- package/dist/rating/index.js +7 -2
- package/dist/receivables/index.js +31 -18
- package/dist/recording-indicator/index.js +21 -0
- package/dist/refund/index.js +24 -15
- package/dist/repeatable-rows/index.js +19 -0
- package/dist/save-status/index.js +5 -3
- package/dist/screen/index.js +3 -0
- package/dist/scroll-area/index.js +1 -1
- package/dist/search-field/index.js +8 -3
- package/dist/secret-field/index.js +19 -0
- package/dist/section-header/index.js +4 -0
- package/dist/segmented-control/index.js +2 -2
- package/dist/sheet/index.js +9 -3
- package/dist/shortcuts-sheet/index.js +2 -0
- package/dist/sign-in-screen/index.js +25 -0
- package/dist/skeleton/index.js +3 -1
- package/dist/slider/index.js +2 -1
- package/dist/sortable/index.js +4 -3
- package/dist/spinner/index.js +2 -1
- package/dist/split-button/index.js +17 -5
- package/dist/spotlight/index.js +7 -1
- package/dist/stack/index.js +2 -0
- package/dist/stage-timeline/index.js +6 -3
- package/dist/status-dot/index.js +6 -2
- package/dist/stepper/index.js +7 -3
- package/dist/streaming-text/index.js +2 -1
- package/dist/survey/index.js +24 -14
- package/dist/switch/index.js +6 -2
- package/dist/system-state/index.js +12 -4
- package/dist/tab-bar/index.js +10 -2
- package/dist/tabs/index.js +10 -2
- package/dist/tags-input/index.js +8 -5
- package/dist/text/index.js +4 -0
- package/dist/textarea/index.js +5 -4
- package/dist/thinking/index.js +4 -1
- package/dist/tile-rail/index.js +10 -0
- package/dist/time-field/index.js +15 -7
- package/dist/time-range-control/index.js +26 -12
- package/dist/timeline/index.js +2 -2
- package/dist/toast/index.js +4 -2
- package/dist/toolbar/index.js +3 -2
- package/dist/tour/index.js +12 -10
- package/dist/transcript/index.js +28 -0
- package/dist/truncation-notice/index.js +2 -2
- package/dist/update-notice/index.js +15 -8
- package/dist/video-player/index.js +26 -2
- package/dist/viewfinder/index.js +12 -4
- package/dist/widget/index.js +11 -4
- package/dist/wizard/index.js +7 -4
- package/package.json +13 -13
- package/dist/chunk-2PKYGLQ6.js +0 -268
- package/dist/chunk-2SWKL3AJ.js +0 -466
- package/dist/chunk-2TXERVVA.js +0 -1081
- package/dist/chunk-3DUWIYV5.js +0 -437
- package/dist/chunk-3NMD74ZU.js +0 -4
- package/dist/chunk-4DS5ZWVC.js +0 -83
- package/dist/chunk-6YAQBXB3.js +0 -93
- package/dist/chunk-74FLKD24.js +0 -237
- package/dist/chunk-CMTVNF3D.js +0 -104
- package/dist/chunk-DN7MNQIP.js +0 -799
- package/dist/chunk-DVGBZ3TX.js +0 -455
- package/dist/chunk-F3H33DQX.js +0 -300
- package/dist/chunk-FAJI7BSC.js +0 -443
- package/dist/chunk-G3AFC24V.js +0 -60
- package/dist/chunk-HJLPZA4X.js +0 -369
- package/dist/chunk-HYEOQWT7.js +0 -647
- package/dist/chunk-IDM7JJMO.js +0 -110
- package/dist/chunk-IVKMZ7BB.js +0 -326
- package/dist/chunk-IXKWIFWZ.js +0 -334
- package/dist/chunk-JV5YOTOB.js +0 -164
- package/dist/chunk-KFJGFLMW.js +0 -158
- package/dist/chunk-LQP4KEXZ.js +0 -214
- package/dist/chunk-NTQ2F3AU.js +0 -257
- package/dist/chunk-O5V4TG3V.js +0 -329
- package/dist/chunk-OWAMM2DK.js +0 -280
- package/dist/chunk-PID3NJB7.js +0 -405
- package/dist/chunk-QDZGFXQD.js +0 -176
- package/dist/chunk-QPWDDJJ4.js +0 -385
- package/dist/chunk-ROCUG24E.js +0 -416
- package/dist/chunk-RU3ZPNL6.js +0 -1986
- package/dist/chunk-RXSCIO6W.js +0 -153
- package/dist/chunk-SKWO3SZF.js +0 -2284
- package/dist/chunk-UQGBTPXH.js +0 -218
- package/dist/chunk-UYGDJWMN.js +0 -273
- package/dist/chunk-W74TXYFB.js +0 -107
- package/dist/chunk-WRDSPUE7.js +0 -417
- package/dist/chunk-XBZGDDMR.js +0 -105
- package/dist/chunk-XN4KG3P4.js +0 -1040
- package/dist/chunk-XQXMLMH3.js +0 -211
- package/dist/chunk-ZECZOOSB.js +0 -245
- /package/dist/{chunk-VFCUIDRT.js → chunk-3BKLBYPK.js} +0 -0
- /package/dist/{chunk-GEIGMWNF.js → chunk-QNZII37O.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MAX_OVERSCROLL_PX, REFRESH_ARM_PX, SCROLL_TOP_SLOP_PX, overscrollOffset, overscrollIntent } from './chunk-HU2EQNRZ.js';
|
|
2
2
|
import { haptics } from './chunk-NY2U3PBI.js';
|
|
3
3
|
import { useLabels } from './chunk-APCWFOZW.js';
|
|
4
|
-
import { Icon } from './chunk-
|
|
4
|
+
import { Icon } from './chunk-PCEFCOLN.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { Animated, Easing, View, Text, Pressable, ScrollView } from 'react-native';
|
|
7
7
|
import { createStyleSheet, useStyles, useLoamTheme } from '@btndprojects/loam-theme-native';
|
|
@@ -13,9 +13,17 @@ function touchPageY(e) {
|
|
|
13
13
|
const touch = ne.touches?.[0] ?? ne.changedTouches?.[0];
|
|
14
14
|
return typeof touch?.pageY === "number" ? touch.pageY : null;
|
|
15
15
|
}
|
|
16
|
+
function touchPageX(e) {
|
|
17
|
+
const ne = e.nativeEvent;
|
|
18
|
+
if (typeof ne.pageX === "number") return ne.pageX;
|
|
19
|
+
const touch = ne.touches?.[0] ?? ne.changedTouches?.[0];
|
|
20
|
+
return typeof touch?.pageX === "number" ? touch.pageX : null;
|
|
21
|
+
}
|
|
16
22
|
function isThenable(v) {
|
|
17
23
|
return typeof v?.then === "function";
|
|
18
24
|
}
|
|
25
|
+
var TICK_COUNT = 12;
|
|
26
|
+
var TICK_INDEX = Array.from({ length: TICK_COUNT }, (_, i) => i);
|
|
19
27
|
var DEFAULT_LABELS = {
|
|
20
28
|
arm: "Release to refresh",
|
|
21
29
|
refreshing: "Refreshing",
|
|
@@ -28,6 +36,9 @@ function PullToRefresh({
|
|
|
28
36
|
refreshing,
|
|
29
37
|
phase,
|
|
30
38
|
indicator,
|
|
39
|
+
spinner = "ticks",
|
|
40
|
+
align = "center",
|
|
41
|
+
orientation = "vertical",
|
|
31
42
|
armLabel: armLabelProp,
|
|
32
43
|
refreshingLabel: refreshingLabelProp,
|
|
33
44
|
refreshAccessibilityLabel: refreshAccessibilityLabelProp,
|
|
@@ -37,6 +48,7 @@ function PullToRefresh({
|
|
|
37
48
|
}) {
|
|
38
49
|
const { styles } = useStyles(sheet);
|
|
39
50
|
const theme = useLoamTheme("pull-to-refresh");
|
|
51
|
+
const dim = theme.state.disabledOpacity;
|
|
40
52
|
const labels = useLabels("pullToRefresh", DEFAULT_LABELS, labelsProp);
|
|
41
53
|
const armLabel = armLabelProp ?? labels.arm;
|
|
42
54
|
const refreshingLabel = refreshingLabelProp ?? labels.refreshing;
|
|
@@ -44,6 +56,7 @@ function PullToRefresh({
|
|
|
44
56
|
const isAndroid = (indicator ?? (theme.platform === "Android" ? "android" : "ios")) === "android";
|
|
45
57
|
const reduce = theme.reduceMotion;
|
|
46
58
|
const controlled = phase != null;
|
|
59
|
+
const horizontal = orientation === "horizontal";
|
|
47
60
|
const [ownRefreshing, setOwnRefreshing] = React.useState(false);
|
|
48
61
|
const isRefreshing = refreshing ?? ownRefreshing;
|
|
49
62
|
const [armed, setArmed] = React.useState(false);
|
|
@@ -54,11 +67,9 @@ function PullToRefresh({
|
|
|
54
67
|
const showText = statusText !== "";
|
|
55
68
|
const ringSize = theme.icon.lg;
|
|
56
69
|
const clearance = theme.space.s3;
|
|
57
|
-
const spinnerBox = isAndroid ?
|
|
58
|
-
const
|
|
59
|
-
const
|
|
60
|
-
const chromeH = spinnerBox + (showText ? gap + textBlockH : 0);
|
|
61
|
-
const holdOffset = Math.min(spinnerBox + gap + textBlockH + clearance * 2, MAX_OVERSCROLL_PX);
|
|
70
|
+
const spinnerBox = isAndroid ? theme.space[40] : ringSize;
|
|
71
|
+
const chromeH = spinnerBox;
|
|
72
|
+
const holdOffset = Math.min(spinnerBox + clearance * 2, MAX_OVERSCROLL_PX);
|
|
62
73
|
const offset = React.useRef(new Animated.Value(0)).current;
|
|
63
74
|
const spin = React.useRef(new Animated.Value(0)).current;
|
|
64
75
|
const scrollTop = React.useRef(0);
|
|
@@ -126,12 +137,12 @@ function PullToRefresh({
|
|
|
126
137
|
}, [onRefresh, refreshing, holdOffset, settle]);
|
|
127
138
|
const onTouchStart = (e) => {
|
|
128
139
|
if (controlled) return;
|
|
129
|
-
const y = touchPageY(e);
|
|
140
|
+
const y = horizontal ? touchPageX(e) : touchPageY(e);
|
|
130
141
|
if (y != null && scrollTop.current <= SCROLL_TOP_SLOP_PX && !isRefreshing) startY.current = y;
|
|
131
142
|
};
|
|
132
143
|
const onTouchMove = (e) => {
|
|
133
144
|
if (controlled || startY.current == null) return;
|
|
134
|
-
const y = touchPageY(e);
|
|
145
|
+
const y = horizontal ? touchPageX(e) : touchPageY(e);
|
|
135
146
|
if (y == null) return;
|
|
136
147
|
band.current = overscrollOffset(y - startY.current);
|
|
137
148
|
setArmedState(band.current > REFRESH_ARM_PX);
|
|
@@ -150,6 +161,7 @@ function PullToRefresh({
|
|
|
150
161
|
beginRefresh();
|
|
151
162
|
};
|
|
152
163
|
const chromeY = reduce ? 0 : Animated.subtract(Animated.multiply(offset, 0.5), chromeH / 2);
|
|
164
|
+
const chromeShift = horizontal ? { translateX: chromeY } : { translateY: chromeY };
|
|
153
165
|
const revealIn = Math.max(1, chromeH * 0.6);
|
|
154
166
|
const revealFull = Math.max(revealIn + 1, chromeH + clearance);
|
|
155
167
|
const reveal = offset.interpolate({
|
|
@@ -173,7 +185,16 @@ function PullToRefresh({
|
|
|
173
185
|
{
|
|
174
186
|
style: [
|
|
175
187
|
styles.chrome,
|
|
176
|
-
|
|
188
|
+
horizontal ? [
|
|
189
|
+
styles.chromeHorizontal,
|
|
190
|
+
align === "start" && { top: theme.space.s4 },
|
|
191
|
+
align === "end" && { top: void 0, bottom: theme.space.s4 },
|
|
192
|
+
align === "center" && { top: "50%", marginTop: -chromeH / 2 }
|
|
193
|
+
] : align !== "center" && {
|
|
194
|
+
alignSelf: align === "start" ? "flex-start" : "flex-end",
|
|
195
|
+
[align === "start" ? "start" : "end"]: theme.space.s4
|
|
196
|
+
},
|
|
197
|
+
{ opacity: reveal, transform: [chromeShift, { scale: chromeScale }] }
|
|
177
198
|
],
|
|
178
199
|
children: [
|
|
179
200
|
/* @__PURE__ */ jsx(
|
|
@@ -187,7 +208,7 @@ function PullToRefresh({
|
|
|
187
208
|
isAndroid ? styles.spinnerBoxAndroid : null,
|
|
188
209
|
{ width: spinnerBox, height: spinnerBox }
|
|
189
210
|
],
|
|
190
|
-
children: /* @__PURE__ */ jsx(
|
|
211
|
+
children: isAndroid ? /* @__PURE__ */ jsx(
|
|
191
212
|
Animated.View,
|
|
192
213
|
{
|
|
193
214
|
style: [
|
|
@@ -200,6 +221,54 @@ function PullToRefresh({
|
|
|
200
221
|
}
|
|
201
222
|
]
|
|
202
223
|
}
|
|
224
|
+
) : spinner === "arc" ? /* @__PURE__ */ jsx(
|
|
225
|
+
Animated.View,
|
|
226
|
+
{
|
|
227
|
+
style: [
|
|
228
|
+
styles.arc,
|
|
229
|
+
{
|
|
230
|
+
width: ringSize,
|
|
231
|
+
height: ringSize,
|
|
232
|
+
borderWidth: theme.icon.strokeBold,
|
|
233
|
+
transform: [{ rotate }]
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
) : (
|
|
238
|
+
// iOS: the bare activity indicator — text-2 ticks, no disc. Pulling
|
|
239
|
+
// fills the ticks with the drag; refreshing spins them as a fading tail.
|
|
240
|
+
/* @__PURE__ */ jsx(
|
|
241
|
+
Animated.View,
|
|
242
|
+
{
|
|
243
|
+
style: {
|
|
244
|
+
width: ringSize,
|
|
245
|
+
height: ringSize,
|
|
246
|
+
transform: [{ rotate: displayRefreshing ? rotate : "0deg" }]
|
|
247
|
+
},
|
|
248
|
+
children: TICK_INDEX.map((i) => /* @__PURE__ */ jsx(
|
|
249
|
+
Animated.View,
|
|
250
|
+
{
|
|
251
|
+
style: [
|
|
252
|
+
styles.tickHolder,
|
|
253
|
+
{
|
|
254
|
+
transform: [{ rotate: `${i * (360 / TICK_COUNT)}deg` }],
|
|
255
|
+
opacity: displayRefreshing ? dim + (1 - dim) * (i + 1) / TICK_COUNT : offset.interpolate({
|
|
256
|
+
inputRange: [
|
|
257
|
+
0,
|
|
258
|
+
revealIn + (revealFull - revealIn) * i / TICK_COUNT,
|
|
259
|
+
revealIn + (revealFull - revealIn) * (i + 1) / TICK_COUNT
|
|
260
|
+
],
|
|
261
|
+
outputRange: [dim, dim, 1],
|
|
262
|
+
extrapolate: "clamp"
|
|
263
|
+
})
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
children: /* @__PURE__ */ jsx(View, { style: styles.tick })
|
|
267
|
+
},
|
|
268
|
+
i
|
|
269
|
+
))
|
|
270
|
+
}
|
|
271
|
+
)
|
|
203
272
|
)
|
|
204
273
|
}
|
|
205
274
|
),
|
|
@@ -210,7 +279,7 @@ function PullToRefresh({
|
|
|
210
279
|
role: "status",
|
|
211
280
|
accessibilityLiveRegion: "polite",
|
|
212
281
|
accessibilityState: { busy: displayRefreshing },
|
|
213
|
-
style:
|
|
282
|
+
style: styles.statusHidden,
|
|
214
283
|
children: showText ? /* @__PURE__ */ jsx(Text, { style: styles.statusText, children: statusText }) : null
|
|
215
284
|
}
|
|
216
285
|
)
|
|
@@ -225,44 +294,56 @@ function PullToRefresh({
|
|
|
225
294
|
accessibilityLabel: displayRefreshing ? labels.refreshBusy(refreshAccessibilityLabel, refreshingLabel) : refreshAccessibilityLabel,
|
|
226
295
|
accessibilityState: { busy: isRefreshing, disabled: isRefreshing },
|
|
227
296
|
"aria-busy": isRefreshing || void 0,
|
|
228
|
-
|
|
229
|
-
|
|
297
|
+
style: ({ pressed }) => [
|
|
298
|
+
styles.refreshButton,
|
|
299
|
+
pressed ? { backgroundColor: theme.state.pressed } : null
|
|
300
|
+
],
|
|
230
301
|
children: /* @__PURE__ */ jsx(Icon, { name: "refresh", size: theme.icon.sm, color: theme.color.text })
|
|
231
302
|
}
|
|
232
303
|
),
|
|
233
|
-
/* @__PURE__ */ jsx(
|
|
234
|
-
|
|
304
|
+
/* @__PURE__ */ jsx(
|
|
305
|
+
Animated.View,
|
|
235
306
|
{
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
contentContainerStyle: [
|
|
240
|
-
rest.contentContainerStyle,
|
|
241
|
-
displayRefreshing ? { paddingBottom: holdOffset } : null
|
|
307
|
+
style: [
|
|
308
|
+
styles.content,
|
|
309
|
+
{ transform: [horizontal ? { translateX: offset } : { translateY: offset }] }
|
|
242
310
|
],
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
311
|
+
children: /* @__PURE__ */ jsx(
|
|
312
|
+
ScrollView,
|
|
313
|
+
{
|
|
314
|
+
...rest,
|
|
315
|
+
focusable: true,
|
|
316
|
+
horizontal: horizontal || rest.horizontal,
|
|
317
|
+
scrollEventThrottle: 16,
|
|
318
|
+
contentContainerStyle: [
|
|
319
|
+
rest.contentContainerStyle,
|
|
320
|
+
displayRefreshing ? horizontal ? { paddingStart: holdOffset } : { paddingBottom: holdOffset } : null
|
|
321
|
+
],
|
|
322
|
+
onScroll: (e) => {
|
|
323
|
+
scrollTop.current = horizontal ? e.nativeEvent.contentOffset.x : e.nativeEvent.contentOffset.y;
|
|
324
|
+
rest.onScroll?.(e);
|
|
325
|
+
},
|
|
326
|
+
onTouchStart: (e) => {
|
|
327
|
+
onTouchStart(e);
|
|
328
|
+
rest.onTouchStart?.(e);
|
|
329
|
+
},
|
|
330
|
+
onTouchMove: (e) => {
|
|
331
|
+
onTouchMove(e);
|
|
332
|
+
rest.onTouchMove?.(e);
|
|
333
|
+
},
|
|
334
|
+
onTouchEnd: (e) => {
|
|
335
|
+
onTouchEnd();
|
|
336
|
+
rest.onTouchEnd?.(e);
|
|
337
|
+
},
|
|
338
|
+
onTouchCancel: (e) => {
|
|
339
|
+
onTouchEnd();
|
|
340
|
+
rest.onTouchCancel?.(e);
|
|
341
|
+
},
|
|
342
|
+
children
|
|
343
|
+
}
|
|
344
|
+
)
|
|
264
345
|
}
|
|
265
|
-
)
|
|
346
|
+
)
|
|
266
347
|
] });
|
|
267
348
|
}
|
|
268
349
|
var sheet = createStyleSheet((theme) => ({
|
|
@@ -279,6 +360,8 @@ var sheet = createStyleSheet((theme) => ({
|
|
|
279
360
|
// Decorative — the gesture lives on the scroller underneath.
|
|
280
361
|
pointerEvents: "none"
|
|
281
362
|
},
|
|
363
|
+
// Horizontal: pinned to the start edge instead of the top.
|
|
364
|
+
chromeHorizontal: { top: 0, start: 0, alignSelf: void 0 },
|
|
282
365
|
spinnerBox: {
|
|
283
366
|
alignItems: "center",
|
|
284
367
|
justifyContent: "center"
|
|
@@ -296,22 +379,24 @@ var sheet = createStyleSheet((theme) => ({
|
|
|
296
379
|
borderColor: theme.edge.neutral,
|
|
297
380
|
...theme.shadow.md
|
|
298
381
|
},
|
|
382
|
+
tickHolder: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0, alignItems: "center" },
|
|
383
|
+
tick: {
|
|
384
|
+
width: theme.borderWidth.heavy,
|
|
385
|
+
height: theme.space[6],
|
|
386
|
+
borderRadius: theme.radius.full,
|
|
387
|
+
backgroundColor: theme.color.text2
|
|
388
|
+
},
|
|
389
|
+
arc: {
|
|
390
|
+
borderRadius: theme.radius.full,
|
|
391
|
+
borderColor: theme.color.text2,
|
|
392
|
+
borderRightColor: "transparent"
|
|
393
|
+
},
|
|
299
394
|
ring: {
|
|
300
395
|
borderRadius: theme.radius.full,
|
|
301
396
|
borderColor: theme.color.surface3,
|
|
302
397
|
borderTopColor: theme.color.accent
|
|
303
398
|
},
|
|
304
|
-
//
|
|
305
|
-
// both modes regardless of what the freed band reveals behind it.
|
|
306
|
-
status: {
|
|
307
|
-
paddingVertical: theme.space.s1,
|
|
308
|
-
paddingHorizontal: theme.space.s3,
|
|
309
|
-
borderRadius: theme.radius.full,
|
|
310
|
-
backgroundColor: theme.color.surface,
|
|
311
|
-
borderWidth: theme.borderWidth.base,
|
|
312
|
-
borderColor: theme.edge.neutral,
|
|
313
|
-
...theme.shadow.sm
|
|
314
|
-
},
|
|
399
|
+
// Announced only: the live region keeps its copy but takes no space.
|
|
315
400
|
statusHidden: { width: 0, height: 0, overflow: "hidden" },
|
|
316
401
|
statusText: {
|
|
317
402
|
color: theme.color.text,
|
|
@@ -323,15 +408,12 @@ var sheet = createStyleSheet((theme) => ({
|
|
|
323
408
|
top: theme.space.s2,
|
|
324
409
|
end: theme.space.s2,
|
|
325
410
|
zIndex: theme.z.sticky,
|
|
326
|
-
|
|
327
|
-
|
|
411
|
+
// A ghost icon Button lg: 44 square, no fill at rest.
|
|
412
|
+
width: theme.ctl.lg,
|
|
413
|
+
height: theme.ctl.lg,
|
|
328
414
|
alignItems: "center",
|
|
329
415
|
justifyContent: "center",
|
|
330
|
-
borderRadius: theme.radius.
|
|
331
|
-
backgroundColor: theme.color.surface,
|
|
332
|
-
borderWidth: theme.borderWidth.base,
|
|
333
|
-
borderColor: theme.edge.neutral,
|
|
334
|
-
...theme.shadow.sm
|
|
416
|
+
borderRadius: theme.radius.md
|
|
335
417
|
}
|
|
336
418
|
}));
|
|
337
419
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { Skeleton } from './chunk-YJ5PXOX3.js';
|
|
1
2
|
import { useLabels } from './chunk-APCWFOZW.js';
|
|
2
3
|
import { useResolvedMotion, useReducedMotion } from './chunk-J64KGCGX.js';
|
|
3
4
|
import * as React from 'react';
|
|
4
|
-
import { Platform, View, ScrollView
|
|
5
|
+
import { Platform, View, ScrollView } from 'react-native';
|
|
5
6
|
import { createStyleSheet, useStyles, useLoamTheme } from '@btndprojects/loam-theme-native';
|
|
6
|
-
import {
|
|
7
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
8
|
|
|
8
9
|
var DEFAULT_LABELS = {
|
|
9
10
|
carousel: "Carousel",
|
|
@@ -11,55 +12,19 @@ var DEFAULT_LABELS = {
|
|
|
11
12
|
previousSlide: "Previous slide",
|
|
12
13
|
slide: (n, count) => `Slide ${n} of ${count}`
|
|
13
14
|
};
|
|
14
|
-
var DOT_SIZE = 7;
|
|
15
|
-
|
|
16
|
-
function Dot({ active, motion }) {
|
|
15
|
+
var DOT_SIZE = { sm: 6, md: 7, lg: 8 };
|
|
16
|
+
function Dot({ active, size }) {
|
|
17
17
|
const theme = useLoamTheme("carousel");
|
|
18
18
|
const { styles } = useStyles(sheet);
|
|
19
|
-
const width = React.useRef(
|
|
20
|
-
new Animated.Value(theme.space[active ? DOT_ACTIVE_WIDTH : DOT_SIZE])
|
|
21
|
-
).current;
|
|
22
|
-
const opacity = React.useRef(new Animated.Value(active ? 1 : 0.4)).current;
|
|
23
|
-
React.useEffect(() => {
|
|
24
|
-
const targetWidth = theme.space[active ? DOT_ACTIVE_WIDTH : DOT_SIZE];
|
|
25
|
-
const targetOpacity = active ? 1 : 0.4;
|
|
26
|
-
if (motion === "none") {
|
|
27
|
-
width.setValue(targetWidth);
|
|
28
|
-
opacity.setValue(targetOpacity);
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
const animations = [
|
|
32
|
-
Animated.timing(opacity, {
|
|
33
|
-
toValue: targetOpacity,
|
|
34
|
-
duration: theme.duration.base,
|
|
35
|
-
easing: Easing.bezier(...theme.easing.spring),
|
|
36
|
-
useNativeDriver: false
|
|
37
|
-
})
|
|
38
|
-
];
|
|
39
|
-
if (motion === "full") {
|
|
40
|
-
animations.push(
|
|
41
|
-
Animated.timing(width, {
|
|
42
|
-
toValue: targetWidth,
|
|
43
|
-
duration: theme.duration.base,
|
|
44
|
-
easing: Easing.bezier(...theme.easing.spring),
|
|
45
|
-
useNativeDriver: false
|
|
46
|
-
})
|
|
47
|
-
);
|
|
48
|
-
} else {
|
|
49
|
-
width.setValue(targetWidth);
|
|
50
|
-
}
|
|
51
|
-
Animated.parallel(animations).start();
|
|
52
|
-
}, [active, motion, width, opacity, theme.duration.base, theme.easing.spring]);
|
|
53
19
|
return /* @__PURE__ */ jsx(
|
|
54
|
-
|
|
20
|
+
View,
|
|
55
21
|
{
|
|
56
22
|
testID: "carousel-dot",
|
|
57
23
|
style: [
|
|
58
24
|
styles.dot,
|
|
59
25
|
{
|
|
60
|
-
width,
|
|
61
|
-
|
|
62
|
-
// Reference: inactive → text3, active → accent.
|
|
26
|
+
width: theme.space[DOT_SIZE[size]],
|
|
27
|
+
height: theme.space[DOT_SIZE[size]],
|
|
63
28
|
backgroundColor: active ? theme.color.accent : theme.color.text3
|
|
64
29
|
}
|
|
65
30
|
]
|
|
@@ -79,10 +44,13 @@ function Carousel({
|
|
|
79
44
|
loop = false,
|
|
80
45
|
accessibilityLabel,
|
|
81
46
|
motion = "full",
|
|
47
|
+
size = "md",
|
|
48
|
+
loading = false,
|
|
82
49
|
labels: labelsProp
|
|
83
50
|
}) {
|
|
84
51
|
const labels = useLabels("carousel", DEFAULT_LABELS, labelsProp);
|
|
85
52
|
const { styles } = useStyles(sheet);
|
|
53
|
+
const theme = useLoamTheme("carousel");
|
|
86
54
|
const resolvedMotion = useResolvedMotion(motion, "carousel");
|
|
87
55
|
const osReduced = useReducedMotion();
|
|
88
56
|
const [userTookOver, setUserTookOver] = React.useState(false);
|
|
@@ -143,6 +111,9 @@ function Carousel({
|
|
|
143
111
|
}, interval);
|
|
144
112
|
return () => clearInterval(id);
|
|
145
113
|
}, [autoPlay, interval, loop, active, count, goTo, userTookOver, osReduced]);
|
|
114
|
+
if (loading) {
|
|
115
|
+
return /* @__PURE__ */ jsx(View, { style: styles.container, testID: "carousel-loading", "aria-busy": true, children: /* @__PURE__ */ jsx(Skeleton, { variant: "rect", height: theme.space[80] * 2, decorative: true, motion }) });
|
|
116
|
+
}
|
|
146
117
|
return /* @__PURE__ */ jsxs(
|
|
147
118
|
View,
|
|
148
119
|
{
|
|
@@ -191,7 +162,7 @@ function Carousel({
|
|
|
191
162
|
style: styles.dots,
|
|
192
163
|
accessible: false,
|
|
193
164
|
importantForAccessibility: "no-hide-descendants",
|
|
194
|
-
children: slides.map((_, index) => /* @__PURE__ */ jsx(Dot, { active: index === active,
|
|
165
|
+
children: slides.map((_, index) => /* @__PURE__ */ jsx(Dot, { active: index === active, size }, index))
|
|
195
166
|
}
|
|
196
167
|
) : null
|
|
197
168
|
]
|
|
@@ -224,7 +195,8 @@ var sheet = createStyleSheet((theme) => ({
|
|
|
224
195
|
pointerEvents: "none"
|
|
225
196
|
},
|
|
226
197
|
dot: {
|
|
227
|
-
|
|
198
|
+
width: theme.space[DOT_SIZE.md],
|
|
199
|
+
height: theme.space[DOT_SIZE.md],
|
|
228
200
|
borderRadius: theme.radius.full
|
|
229
201
|
}
|
|
230
202
|
}));
|