@sprawlify/primitives 0.0.87 → 0.0.88
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/anatomy.cjs +3 -3
- package/dist/anatomy.d.mts +1 -1
- package/dist/anatomy.mjs +2 -3
- package/dist/{aria-hidden-Csp0PkO_.mjs → aria-hidden-P3kaF8gG.mjs} +2 -6
- package/dist/{aria-hidden-CHWfuKk2.cjs → aria-hidden-UJAPt1aA.cjs} +7 -11
- package/dist/aria-hidden.cjs +4 -4
- package/dist/aria-hidden.mjs +3 -4
- package/dist/{auto-resize-jPUJLPa4.mjs → auto-resize-Bjzuo5Lh.mjs} +2 -6
- package/dist/{auto-resize-BL8ul-hb.cjs → auto-resize-DzPXdyR-.cjs} +12 -16
- package/dist/auto-resize.cjs +4 -4
- package/dist/auto-resize.mjs +3 -4
- package/dist/{chunk-CbDLau6x.cjs → chunk-CKQMccvm.cjs} +13 -19
- package/dist/{collection-DHyEg4g5.mjs → collection-CcsrqDFY.mjs} +3 -9
- package/dist/{collection-Fkg4kgPn.cjs → collection-DZeodezM.cjs} +43 -49
- package/dist/collection.cjs +4 -4
- package/dist/collection.d.cts +4 -4
- package/dist/collection.d.mts +4 -4
- package/dist/collection.mjs +3 -4
- package/dist/{color-utils-CaqLeEog.mjs → color-utils-BK3Ae7x1.mjs} +3 -12
- package/dist/{color-utils-eUlz6Gq4.cjs → color-utils-XoYeFX3g.cjs} +23 -32
- package/dist/color-utils.cjs +4 -4
- package/dist/color-utils.d.cts +1 -1
- package/dist/color-utils.d.mts +1 -1
- package/dist/color-utils.mjs +3 -4
- package/dist/{core-CHsDFMV3.cjs → core-BiGlJ-4W.cjs} +43 -49
- package/dist/{core-owywCQ2e.mjs → core-DfVajPnu.mjs} +3 -9
- package/dist/core.cjs +5 -5
- package/dist/core.d.cts +3 -3
- package/dist/core.d.mts +3 -3
- package/dist/core.mjs +4 -5
- package/dist/{create-anatomy-CDsIFUXg.cjs → create-anatomy-BnwEmNnc.cjs} +6 -8
- package/dist/{create-anatomy-BVqM_FJ6.mjs → create-anatomy-Dr0evdYy.mjs} +1 -2
- package/dist/{create-props-Dtoa4OUk.mjs → create-props-DFW8DUsC.mjs} +1 -2
- package/dist/create-props-DP39rHnH.cjs +9 -0
- package/dist/{date-utils-BDBOiT_6.cjs → date-utils-BuJkKL09.cjs} +265 -279
- package/dist/{date-utils-LnVS7q0z.mjs → date-utils-DCaRa_Ry.mjs} +1 -15
- package/dist/date-utils.cjs +3 -3
- package/dist/date-utils.d.cts +1 -1
- package/dist/date-utils.d.mts +1 -1
- package/dist/date-utils.mjs +2 -3
- package/dist/{defineProperty-_bOnJOii.cjs → defineProperty-8IOBQ1i_.cjs} +10 -15
- package/dist/{defineProperty-DR_NxfHn.mjs → defineProperty-D5oW_HU_.mjs} +5 -9
- package/dist/{dismissable-BlZazbp3.mjs → dismissable-BAYaXwxZ.mjs} +4 -9
- package/dist/{dismissable-DSFGuAU6.cjs → dismissable-DPXx0m0m.cjs} +14 -19
- package/dist/{dismissable-layer-B2bSyA07.d.cts → dismissable-layer-ZgyqN8AD.d.cts} +2 -2
- package/dist/{dismissable-layer-CpUMMV1f.d.mts → dismissable-layer-h14gHVbJ.d.mts} +2 -2
- package/dist/dismissable.cjs +6 -6
- package/dist/dismissable.d.cts +2 -2
- package/dist/dismissable.d.mts +2 -2
- package/dist/dismissable.mjs +5 -6
- package/dist/{dom-query-CAFhX43H.cjs → dom-query-6Wt-Tikf.cjs} +775 -806
- package/dist/{dom-query-CQFBCdpo.mjs → dom-query-dX8Dakb4.mjs} +2 -33
- package/dist/dom-query.cjs +3 -3
- package/dist/dom-query.d.cts +7 -7
- package/dist/dom-query.d.mts +7 -7
- package/dist/dom-query.mjs +2 -3
- package/dist/{file-utils-Bkp18nrt.cjs → file-utils-CY6_zVut.cjs} +52 -67
- package/dist/{file-utils-lcjM-YjV.mjs → file-utils-VgQ3YV2A.mjs} +2 -16
- package/dist/file-utils.cjs +3 -3
- package/dist/file-utils.d.cts +1 -1
- package/dist/file-utils.d.mts +1 -1
- package/dist/file-utils.mjs +2 -3
- package/dist/{focus-trap-BXT0oBtL.mjs → focus-trap-Cd09JaUn.mjs} +3 -6
- package/dist/{focus-trap-zaIiaoqE.cjs → focus-trap-ClCNF7kY.cjs} +13 -16
- package/dist/focus-trap.cjs +4 -4
- package/dist/focus-trap.mjs +3 -4
- package/dist/{focus-visible-DjGDsaLn.mjs → focus-visible-CSuBQ5QZ.mjs} +2 -4
- package/dist/{focus-visible-3pXNNo-l.cjs → focus-visible-CqHoOOjw.cjs} +32 -34
- package/dist/focus-visible.cjs +4 -4
- package/dist/focus-visible.mjs +3 -4
- package/dist/highlight-word.cjs +2 -7
- package/dist/highlight-word.mjs +1 -6
- package/dist/hotkeys.cjs +11 -20
- package/dist/hotkeys.mjs +10 -20
- package/dist/{i18n-utils-KuoJj66z.mjs → i18n-utils-DHGN_KCY.mjs} +2 -14
- package/dist/{i18n-utils-CK27xonZ.cjs → i18n-utils-Dm8cGCol.cjs} +57 -69
- package/dist/i18n-utils.cjs +4 -4
- package/dist/i18n-utils.mjs +3 -4
- package/dist/index.mjs +1 -1
- package/dist/{interact-outside-CRmkKF6k.mjs → interact-outside-C-8lOhpV.mjs} +3 -6
- package/dist/{interact-outside-Dk2otQqs.cjs → interact-outside-DRaFGdMg.cjs} +8 -11
- package/dist/interact-outside.cjs +5 -5
- package/dist/interact-outside.d.cts +1 -1
- package/dist/interact-outside.d.mts +1 -1
- package/dist/interact-outside.mjs +4 -5
- package/dist/json-tree-utils.cjs +6 -11
- package/dist/json-tree-utils.mjs +5 -10
- package/dist/{list-collection-C9XUe75n.d.mts → list-collection-B_8BN0XB.d.cts} +1 -1
- package/dist/{list-collection-DwMgPYoA.d.cts → list-collection-DkRA5LOq.d.mts} +1 -1
- package/dist/{live-region-2RiuzOr-.cjs → live-region-TGReV9nm.cjs} +6 -8
- package/dist/{live-region-CBp2K1JK.mjs → live-region-TgEDzvS4.mjs} +1 -2
- package/dist/live-region.cjs +3 -3
- package/dist/live-region.d.cts +1 -1
- package/dist/live-region.d.mts +1 -1
- package/dist/live-region.mjs +2 -3
- package/dist/machines/accordion/index.cjs +7 -12
- package/dist/machines/accordion/index.d.cts +3 -3
- package/dist/machines/accordion/index.d.mts +4 -4
- package/dist/machines/accordion/index.mjs +6 -12
- package/dist/machines/angle-slider/index.cjs +13 -23
- package/dist/machines/angle-slider/index.d.cts +3 -3
- package/dist/machines/angle-slider/index.d.mts +4 -4
- package/dist/machines/angle-slider/index.mjs +12 -23
- package/dist/machines/aspect-ratio/index.cjs +7 -12
- package/dist/machines/aspect-ratio/index.d.cts +3 -3
- package/dist/machines/aspect-ratio/index.d.mts +4 -4
- package/dist/machines/aspect-ratio/index.mjs +6 -12
- package/dist/machines/async-list/index.cjs +5 -7
- package/dist/machines/async-list/index.d.cts +1 -1
- package/dist/machines/async-list/index.d.mts +1 -1
- package/dist/machines/async-list/index.mjs +4 -7
- package/dist/machines/avatar/index.cjs +7 -12
- package/dist/machines/avatar/index.d.cts +2 -2
- package/dist/machines/avatar/index.d.mts +3 -3
- package/dist/machines/avatar/index.mjs +6 -12
- package/dist/machines/bottom-sheet/index.cjs +13 -22
- package/dist/machines/bottom-sheet/index.d.cts +5 -5
- package/dist/machines/bottom-sheet/index.d.mts +6 -6
- package/dist/machines/bottom-sheet/index.mjs +12 -22
- package/dist/machines/carousel/index.cjs +8 -13
- package/dist/machines/carousel/index.d.cts +3 -3
- package/dist/machines/carousel/index.d.mts +4 -4
- package/dist/machines/carousel/index.mjs +7 -13
- package/dist/machines/checkbox/index.cjs +8 -13
- package/dist/machines/checkbox/index.d.cts +3 -3
- package/dist/machines/checkbox/index.d.mts +4 -4
- package/dist/machines/checkbox/index.mjs +7 -13
- package/dist/machines/clipboard/index.cjs +7 -12
- package/dist/machines/clipboard/index.d.cts +3 -3
- package/dist/machines/clipboard/index.d.mts +4 -4
- package/dist/machines/clipboard/index.mjs +6 -12
- package/dist/machines/collapsible/index.cjs +7 -12
- package/dist/machines/collapsible/index.d.cts +3 -3
- package/dist/machines/collapsible/index.d.mts +4 -4
- package/dist/machines/collapsible/index.mjs +6 -12
- package/dist/machines/color-picker/index.cjs +11 -21
- package/dist/machines/color-picker/index.d.cts +6 -6
- package/dist/machines/color-picker/index.d.mts +7 -7
- package/dist/machines/color-picker/index.mjs +10 -21
- package/dist/machines/combobox/index.cjs +11 -17
- package/dist/machines/combobox/index.d.cts +7 -7
- package/dist/machines/combobox/index.d.mts +8 -8
- package/dist/machines/combobox/index.mjs +10 -17
- package/dist/machines/date-picker/index.cjs +15 -24
- package/dist/machines/date-picker/index.d.cts +7 -7
- package/dist/machines/date-picker/index.d.mts +8 -8
- package/dist/machines/date-picker/index.mjs +13 -23
- package/dist/machines/dialog/index.cjs +12 -17
- package/dist/machines/dialog/index.d.cts +5 -5
- package/dist/machines/dialog/index.d.mts +6 -6
- package/dist/machines/dialog/index.mjs +11 -17
- package/dist/machines/dropdown-menu/index.cjs +12 -18
- package/dist/machines/dropdown-menu/index.d.cts +8 -8
- package/dist/machines/dropdown-menu/index.d.mts +9 -9
- package/dist/machines/dropdown-menu/index.mjs +11 -18
- package/dist/machines/editable/index.cjs +8 -13
- package/dist/machines/editable/index.d.cts +4 -4
- package/dist/machines/editable/index.d.mts +5 -5
- package/dist/machines/editable/index.mjs +7 -13
- package/dist/machines/file-upload/index.cjs +9 -15
- package/dist/machines/file-upload/index.d.cts +4 -4
- package/dist/machines/file-upload/index.d.mts +5 -5
- package/dist/machines/file-upload/index.mjs +8 -15
- package/dist/machines/floating-panel/index.cjs +9 -16
- package/dist/machines/floating-panel/index.d.cts +4 -4
- package/dist/machines/floating-panel/index.d.mts +5 -5
- package/dist/machines/floating-panel/index.mjs +8 -16
- package/dist/machines/hover-card/index.cjs +10 -15
- package/dist/machines/hover-card/index.d.cts +5 -5
- package/dist/machines/hover-card/index.d.mts +6 -6
- package/dist/machines/hover-card/index.mjs +9 -15
- package/dist/machines/image-cropper/index.cjs +8 -16
- package/dist/machines/image-cropper/index.d.cts +3 -3
- package/dist/machines/image-cropper/index.d.mts +4 -4
- package/dist/machines/image-cropper/index.mjs +7 -16
- package/dist/machines/listbox/index.cjs +9 -15
- package/dist/machines/listbox/index.d.cts +7 -7
- package/dist/machines/listbox/index.d.mts +8 -8
- package/dist/machines/listbox/index.mjs +8 -15
- package/dist/machines/marquee/index.cjs +7 -13
- package/dist/machines/marquee/index.d.cts +5 -5
- package/dist/machines/marquee/index.d.mts +6 -6
- package/dist/machines/marquee/index.mjs +6 -13
- package/dist/machines/navigation-menu/index.cjs +15 -27
- package/dist/machines/navigation-menu/index.d.cts +3 -3
- package/dist/machines/navigation-menu/index.d.mts +4 -4
- package/dist/machines/navigation-menu/index.mjs +14 -27
- package/dist/machines/number-input/index.cjs +11 -21
- package/dist/machines/number-input/index.d.cts +3 -3
- package/dist/machines/number-input/index.d.mts +4 -4
- package/dist/machines/number-input/index.mjs +10 -22
- package/dist/machines/pagination/index.cjs +7 -13
- package/dist/machines/pagination/index.d.cts +3 -3
- package/dist/machines/pagination/index.d.mts +4 -4
- package/dist/machines/pagination/index.mjs +6 -13
- package/dist/machines/password-input/index.cjs +7 -12
- package/dist/machines/password-input/index.d.cts +3 -3
- package/dist/machines/password-input/index.d.mts +4 -4
- package/dist/machines/password-input/index.mjs +6 -12
- package/dist/machines/pin-input/index.cjs +9 -17
- package/dist/machines/pin-input/index.d.cts +3 -3
- package/dist/machines/pin-input/index.d.mts +4 -4
- package/dist/machines/pin-input/index.mjs +8 -17
- package/dist/machines/popover/index.cjs +13 -18
- package/dist/machines/popover/index.d.cts +6 -6
- package/dist/machines/popover/index.d.mts +7 -7
- package/dist/machines/popover/index.mjs +12 -18
- package/dist/machines/presence/index.cjs +6 -9
- package/dist/machines/presence/index.d.cts +2 -2
- package/dist/machines/presence/index.d.mts +2 -2
- package/dist/machines/presence/index.mjs +5 -9
- package/dist/machines/progress/index.cjs +7 -12
- package/dist/machines/progress/index.d.cts +3 -3
- package/dist/machines/progress/index.d.mts +4 -4
- package/dist/machines/progress/index.mjs +6 -12
- package/dist/machines/qr-code/index.cjs +8 -13
- package/dist/machines/qr-code/index.d.cts +3 -3
- package/dist/machines/qr-code/index.d.mts +4 -4
- package/dist/machines/qr-code/index.mjs +6 -12
- package/dist/machines/radio-group/index.cjs +8 -13
- package/dist/machines/radio-group/index.d.cts +3 -3
- package/dist/machines/radio-group/index.d.mts +4 -4
- package/dist/machines/radio-group/index.mjs +7 -13
- package/dist/machines/rating-group/index.cjs +7 -12
- package/dist/machines/rating-group/index.d.cts +2 -2
- package/dist/machines/rating-group/index.d.mts +3 -3
- package/dist/machines/rating-group/index.mjs +6 -12
- package/dist/machines/scroll-area/index.cjs +8 -20
- package/dist/machines/scroll-area/index.d.cts +3 -3
- package/dist/machines/scroll-area/index.d.mts +4 -4
- package/dist/machines/scroll-area/index.mjs +7 -20
- package/dist/machines/select/index.cjs +11 -17
- package/dist/machines/select/index.d.cts +8 -8
- package/dist/machines/select/index.d.mts +9 -9
- package/dist/machines/select/index.mjs +10 -17
- package/dist/machines/separator/index.cjs +7 -12
- package/dist/machines/separator/index.d.cts +2 -2
- package/dist/machines/separator/index.d.mts +3 -3
- package/dist/machines/separator/index.mjs +6 -12
- package/dist/machines/signature-pad/index.cjs +8 -14
- package/dist/machines/signature-pad/index.d.cts +2 -2
- package/dist/machines/signature-pad/index.d.mts +3 -3
- package/dist/machines/signature-pad/index.mjs +6 -13
- package/dist/machines/slider/index.cjs +7 -14
- package/dist/machines/slider/index.d.cts +3 -3
- package/dist/machines/slider/index.d.mts +4 -4
- package/dist/machines/slider/index.mjs +6 -14
- package/dist/machines/splitter/index.cjs +12 -27
- package/dist/machines/splitter/index.d.cts +3 -3
- package/dist/machines/splitter/index.d.mts +4 -4
- package/dist/machines/splitter/index.mjs +11 -27
- package/dist/machines/steps/index.cjs +7 -12
- package/dist/machines/steps/index.d.cts +3 -3
- package/dist/machines/steps/index.d.mts +4 -4
- package/dist/machines/steps/index.mjs +6 -12
- package/dist/machines/switch/index.cjs +8 -13
- package/dist/machines/switch/index.d.cts +3 -3
- package/dist/machines/switch/index.d.mts +4 -4
- package/dist/machines/switch/index.mjs +7 -13
- package/dist/machines/tabs/index.cjs +7 -12
- package/dist/machines/tabs/index.d.cts +3 -3
- package/dist/machines/tabs/index.d.mts +4 -4
- package/dist/machines/tabs/index.mjs +6 -12
- package/dist/machines/tags-input/index.cjs +11 -17
- package/dist/machines/tags-input/index.d.cts +5 -5
- package/dist/machines/tags-input/index.d.mts +6 -6
- package/dist/machines/tags-input/index.mjs +10 -17
- package/dist/machines/timer/index.cjs +7 -13
- package/dist/machines/timer/index.d.cts +3 -3
- package/dist/machines/timer/index.d.mts +4 -4
- package/dist/machines/timer/index.mjs +6 -13
- package/dist/machines/toast/index.cjs +8 -17
- package/dist/machines/toast/index.d.cts +4 -4
- package/dist/machines/toast/index.d.mts +5 -5
- package/dist/machines/toast/index.mjs +7 -17
- package/dist/machines/toggle/index.cjs +7 -11
- package/dist/machines/toggle/index.d.cts +2 -2
- package/dist/machines/toggle/index.d.mts +3 -3
- package/dist/machines/toggle/index.mjs +6 -11
- package/dist/machines/toggle-group/index.cjs +7 -12
- package/dist/machines/toggle-group/index.d.cts +2 -2
- package/dist/machines/toggle-group/index.d.mts +3 -3
- package/dist/machines/toggle-group/index.mjs +6 -12
- package/dist/machines/tooltip/index.cjs +9 -15
- package/dist/machines/tooltip/index.d.cts +4 -4
- package/dist/machines/tooltip/index.d.mts +5 -5
- package/dist/machines/tooltip/index.mjs +8 -15
- package/dist/machines/tour/index.cjs +11 -20
- package/dist/machines/tour/index.d.cts +6 -6
- package/dist/machines/tour/index.d.mts +7 -7
- package/dist/machines/tour/index.mjs +10 -20
- package/dist/machines/tree-view/index.cjs +8 -17
- package/dist/machines/tree-view/index.d.cts +6 -6
- package/dist/machines/tree-view/index.d.mts +7 -7
- package/dist/machines/tree-view/index.mjs +7 -17
- package/dist/{popper-DxgokNha.mjs → popper-CfOHZlHP.mjs} +3 -9
- package/dist/{popper-CY3ptPbm.cjs → popper-zq1F_iY8.cjs} +24 -30
- package/dist/popper.cjs +5 -5
- package/dist/popper.d.cts +1 -1
- package/dist/popper.d.mts +1 -1
- package/dist/popper.mjs +4 -5
- package/dist/{rect-utils-BobE6Wut.mjs → rect-utils-B5xqFvKC.mjs} +2 -24
- package/dist/{rect-utils-DtqZwNtZ.cjs → rect-utils-D3RkAaHK.cjs} +247 -269
- package/dist/rect-utils.cjs +3 -3
- package/dist/rect-utils.d.cts +1 -1
- package/dist/rect-utils.d.mts +1 -1
- package/dist/rect-utils.mjs +2 -3
- package/dist/{remove-scroll-DgJgF1C5.cjs → remove-scroll-B8AJyezV.cjs} +7 -9
- package/dist/{remove-scroll-DcPV6nZy.mjs → remove-scroll-DCUb1JPX.mjs} +2 -4
- package/dist/remove-scroll.mjs +1 -1
- package/dist/{scroll-snap-D_M1Q8ZQ.mjs → scroll-snap-De0H9CWU.mjs} +2 -4
- package/dist/{scroll-snap-DpEzlrHP.cjs → scroll-snap-voc0pMJd.cjs} +22 -24
- package/dist/scroll-snap.cjs +4 -4
- package/dist/scroll-snap.mjs +3 -4
- package/dist/{selection-wfybIxD3.d.cts → selection-Bb_ZSVxe.d.cts} +2 -2
- package/dist/{selection-CPTdpru8.d.mts → selection-DdNvrKbj.d.mts} +2 -2
- package/dist/{store-DMXvGOAu.mjs → store-BRn2zWDR.mjs} +1 -7
- package/dist/{store-B9Ewi-zx.cjs → store-k8bn_TOl.cjs} +37 -43
- package/dist/store.cjs +3 -3
- package/dist/store.mjs +2 -3
- package/dist/stringify-state.cjs +3 -4
- package/dist/stringify-state.mjs +1 -3
- package/dist/{tree-collection-1g4DXuqa.d.mts → tree-collection-DjtppzYh.d.cts} +1 -1
- package/dist/{tree-collection-CPcsMvje.d.cts → tree-collection-DlBCued7.d.mts} +1 -1
- package/dist/types.cjs +3 -4
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +2 -4
- package/dist/{utils-CJsQZljH.cjs → utils-ByNiZU8f.cjs} +527 -541
- package/dist/{utils-Vs04rt8f.mjs → utils-VVoZ_v29.mjs} +6 -20
- package/dist/utils.cjs +3 -3
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.mjs +2 -3
- package/package.json +3 -3
- package/dist/create-props-l5q5b8Wo.cjs +0 -11
- /package/dist/{color-B3sgFAa6.d.mts → color-tco923EC.d.mts} +0 -0
- /package/dist/{color-BhaNI8oR.d.cts → color-vvN_Cdao.d.cts} +0 -0
- /package/dist/{create-anatomy-UNZ__hxH.d.mts → create-anatomy-BedZVdg0.d.mts} +0 -0
- /package/dist/{data-url-BrR6WHXH.d.cts → data-url-BLUK2DqG.d.cts} +0 -0
- /package/dist/{data-url-lOYkmlVX.d.mts → data-url-Diut2Ch3.d.mts} +0 -0
- /package/dist/{functions-Box4pxDB.d.cts → functions-BL9bYIFn.d.mts} +0 -0
- /package/dist/{functions-Du4c1Rcz.d.mts → functions-Cm8NiR7H.d.cts} +0 -0
- /package/dist/{index-B2rsdD3v.d.cts → index-1L40UHp8.d.mts} +0 -0
- /package/dist/{index-DLbWwJUT.d.mts → index-8xpMF4wX.d.mts} +0 -0
- /package/dist/{index-DIJJrhP_.d.mts → index-BO-Z3fhz.d.cts} +0 -0
- /package/dist/{index-CafmAesU.d.mts → index-BVFlU3b9.d.mts} +0 -0
- /package/dist/{index-CXu0elLS.d.mts → index-CGNNiDyE.d.mts} +0 -0
- /package/dist/{index-D1U_WMQ9.d.cts → index-CLRsezW5.d.cts} +0 -0
- /package/dist/{index-BhEktN_V.d.mts → index-DHp3-EkH.d.mts} +0 -0
- /package/dist/{index-Cf0hysnI.d.cts → index-DzWGFhcS.d.cts} +0 -0
- /package/dist/{node-BGWAyUGo.d.mts → node--dRqVsA-.d.cts} +0 -0
- /package/dist/{node-D8Ztr9Hg.d.cts → node-DkWL2ywA.d.mts} +0 -0
- /package/dist/{raf-B8md2utS.d.mts → raf-CrnFMY1g.d.mts} +0 -0
- /package/dist/{raf-DWPAf0Nd.d.cts → raf-v6M-OEna.d.cts} +0 -0
- /package/dist/{typeahead-BhNtyjQC.d.cts → typeahead-Bbeb1fAR.d.mts} +0 -0
- /package/dist/{typeahead-D4TUCBly.d.mts → typeahead-DMooWbbX.d.cts} +0 -0
- /package/dist/{types-CBWaEVU4.d.cts → types-9uw8LHpE.d.mts} +0 -0
- /package/dist/{types-BM4oVvZZ.d.mts → types-B24gMTKq.d.cts} +0 -0
- /package/dist/{types-DTZZ5wsp.d.cts → types-BQMZ4iuP.d.cts} +0 -0
- /package/dist/{types-BI1JrN1V.d.mts → types-CLXYEgfm.d.cts} +0 -0
- /package/dist/{types-CW-uU8Nz.d.mts → types-Cctd5dol.d.mts} +0 -0
- /package/dist/{types-oR0sELNB.d.cts → types-CylWsfOz.d.cts} +0 -0
- /package/dist/{types-D0tsc4Jo.d.mts → types-D-7AMgSE.d.cts} +0 -0
- /package/dist/{types-DE9w-zbc.d.cts → types-DEn9MoSw.d.cts} +0 -0
- /package/dist/{types-Ct9amXkj.d.cts → types-DU764tY_.d.mts} +0 -0
- /package/dist/{types-fB7F7BBP.d.cts → types-DUM9rzfD.d.mts} +0 -0
- /package/dist/{wait-for-CVZu6XNU.d.mts → wait-for-CV7JYddH.d.mts} +0 -0
- /package/dist/{wait-for-D5gBQyam.d.cts → wait-for-DGDBtAM2.d.cts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../dom-query-6Wt-Tikf.cjs");
|
|
3
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
4
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
5
5
|
//#region src/machines/async-list/async-list.connect.ts
|
|
6
6
|
function connect(service) {
|
|
7
7
|
const { state, context, send } = service;
|
|
@@ -50,7 +50,6 @@ function connect(service) {
|
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
|
|
54
53
|
//#endregion
|
|
55
54
|
//#region src/machines/async-list/async-list.machine.ts
|
|
56
55
|
const machine = require_core.createMachine({
|
|
@@ -305,7 +304,6 @@ function isAbortError(err) {
|
|
|
305
304
|
function hashDeps(deps = []) {
|
|
306
305
|
return deps.filter(Boolean).join(",");
|
|
307
306
|
}
|
|
308
|
-
|
|
309
307
|
//#endregion
|
|
310
308
|
exports.connect = connect;
|
|
311
|
-
exports.machine = machine;
|
|
309
|
+
exports.machine = machine;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
1
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/machines/async-list/async-list.types.d.ts
|
|
4
4
|
type SortDirection = "ascending" | "descending";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
1
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/machines/async-list/async-list.types.d.ts
|
|
4
4
|
type SortDirection = "ascending" | "descending";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import "../../dom-query-
|
|
2
|
-
import { n as ensureProps, t as ensure } from "../../utils-
|
|
3
|
-
import { a as createMachine } from "../../core-
|
|
4
|
-
|
|
1
|
+
import "../../dom-query-dX8Dakb4.mjs";
|
|
2
|
+
import { n as ensureProps, t as ensure } from "../../utils-VVoZ_v29.mjs";
|
|
3
|
+
import { a as createMachine } from "../../core-DfVajPnu.mjs";
|
|
5
4
|
//#region src/machines/async-list/async-list.connect.ts
|
|
6
5
|
function connect(service) {
|
|
7
6
|
const { state, context, send } = service;
|
|
@@ -50,7 +49,6 @@ function connect(service) {
|
|
|
50
49
|
}
|
|
51
50
|
};
|
|
52
51
|
}
|
|
53
|
-
|
|
54
52
|
//#endregion
|
|
55
53
|
//#region src/machines/async-list/async-list.machine.ts
|
|
56
54
|
const machine = createMachine({
|
|
@@ -305,6 +303,5 @@ function isAbortError(err) {
|
|
|
305
303
|
function hashDeps(deps = []) {
|
|
306
304
|
return deps.filter(Boolean).join(",");
|
|
307
305
|
}
|
|
308
|
-
|
|
309
306
|
//#endregion
|
|
310
|
-
export { connect, machine };
|
|
307
|
+
export { connect, machine };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
6
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
7
|
//#region src/machines/avatar/avatar.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("avatar").parts("root", "image", "fallback");
|
|
9
9
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/machines/avatar/avatar.dom.ts
|
|
13
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `avatar:${ctx.id}`;
|
|
@@ -15,7 +14,6 @@ const getImageId = (ctx) => ctx.ids?.image ?? `avatar:${ctx.id}:image`;
|
|
|
15
14
|
const getFallbackId = (ctx) => ctx.ids?.fallback ?? `avatar:${ctx.id}:fallback`;
|
|
16
15
|
const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
17
16
|
const getImageEl = (ctx) => ctx.getById(getImageId(ctx));
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
18
|
//#region src/machines/avatar/avatar.connect.ts
|
|
21
19
|
function connect(service, normalize) {
|
|
@@ -77,7 +75,6 @@ function connect(service, normalize) {
|
|
|
77
75
|
}
|
|
78
76
|
};
|
|
79
77
|
}
|
|
80
|
-
|
|
81
78
|
//#endregion
|
|
82
79
|
//#region src/machines/avatar/avatar.machine.ts
|
|
83
80
|
const machine = require_core.createMachine({
|
|
@@ -149,7 +146,6 @@ const machine = require_core.createMachine({
|
|
|
149
146
|
function hasLoaded(image) {
|
|
150
147
|
return image.complete && image.naturalWidth !== 0 && image.naturalHeight !== 0;
|
|
151
148
|
}
|
|
152
|
-
|
|
153
149
|
//#endregion
|
|
154
150
|
//#region src/machines/avatar/avatar.props.ts
|
|
155
151
|
const props = require_create_props.createProps()([
|
|
@@ -160,10 +156,9 @@ const props = require_create_props.createProps()([
|
|
|
160
156
|
"getRootNode"
|
|
161
157
|
]);
|
|
162
158
|
const splitProps = require_utils.createSplitProps(props);
|
|
163
|
-
|
|
164
159
|
//#endregion
|
|
165
160
|
exports.anatomy = anatomy;
|
|
166
161
|
exports.connect = connect;
|
|
167
162
|
exports.machine = machine;
|
|
168
163
|
exports.props = props;
|
|
169
|
-
exports.splitProps = splitProps;
|
|
164
|
+
exports.splitProps = splitProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
2
|
+
import { p as Machine, y as Service } from "../../types-B24gMTKq.cjs";
|
|
3
|
+
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/avatar/avatar.anatomy.d.ts
|
|
6
6
|
declare const anatomy: AnatomyInstance<"root" | "image" | "fallback">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
1
|
+
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { p as Machine, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
3
|
+
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/avatar/avatar.anatomy.d.ts
|
|
6
6
|
declare const anatomy: AnatomyInstance<"root" | "image" | "fallback">;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { B as observeChildren, z as observeAttributes } from "../../dom-query-
|
|
3
|
-
import { u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
5
|
-
import { t as createProps } from "../../create-props-
|
|
6
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { B as observeChildren, z as observeAttributes } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
7
6
|
//#region src/machines/avatar/avatar.anatomy.ts
|
|
8
7
|
const anatomy = createAnatomy("avatar").parts("root", "image", "fallback");
|
|
9
8
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region src/machines/avatar/avatar.dom.ts
|
|
13
11
|
const getRootId = (ctx) => ctx.ids?.root ?? `avatar:${ctx.id}`;
|
|
@@ -15,7 +13,6 @@ const getImageId = (ctx) => ctx.ids?.image ?? `avatar:${ctx.id}:image`;
|
|
|
15
13
|
const getFallbackId = (ctx) => ctx.ids?.fallback ?? `avatar:${ctx.id}:fallback`;
|
|
16
14
|
const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
17
15
|
const getImageEl = (ctx) => ctx.getById(getImageId(ctx));
|
|
18
|
-
|
|
19
16
|
//#endregion
|
|
20
17
|
//#region src/machines/avatar/avatar.connect.ts
|
|
21
18
|
function connect(service, normalize) {
|
|
@@ -77,7 +74,6 @@ function connect(service, normalize) {
|
|
|
77
74
|
}
|
|
78
75
|
};
|
|
79
76
|
}
|
|
80
|
-
|
|
81
77
|
//#endregion
|
|
82
78
|
//#region src/machines/avatar/avatar.machine.ts
|
|
83
79
|
const machine = createMachine({
|
|
@@ -149,7 +145,6 @@ const machine = createMachine({
|
|
|
149
145
|
function hasLoaded(image) {
|
|
150
146
|
return image.complete && image.naturalWidth !== 0 && image.naturalHeight !== 0;
|
|
151
147
|
}
|
|
152
|
-
|
|
153
148
|
//#endregion
|
|
154
149
|
//#region src/machines/avatar/avatar.props.ts
|
|
155
150
|
const props = createProps()([
|
|
@@ -160,6 +155,5 @@ const props = createProps()([
|
|
|
160
155
|
"getRootNode"
|
|
161
156
|
]);
|
|
162
157
|
const splitProps = createSplitProps(props);
|
|
163
|
-
|
|
164
158
|
//#endregion
|
|
165
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
159
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
require(
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_defineProperty = require("../../defineProperty-8IOBQ1i_.cjs");
|
|
5
|
+
const require_aria_hidden = require("../../aria-hidden-UJAPt1aA.cjs");
|
|
6
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
7
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
8
|
+
require("../../interact-outside-DRaFGdMg.cjs");
|
|
9
|
+
const require_dismissable = require("../../dismissable-DPXx0m0m.cjs");
|
|
10
|
+
const require_focus_trap = require("../../focus-trap-ClCNF7kY.cjs");
|
|
11
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
12
|
+
const require_remove_scroll = require("../../remove-scroll-B8AJyezV.cjs");
|
|
13
13
|
//#region src/machines/bottom-sheet/bottom-sheet.anatomy.ts
|
|
14
14
|
const anatomy = require_create_anatomy.createAnatomy("bottom-sheet").parts("content", "title", "trigger", "backdrop", "grabber", "grabberIndicator", "closeTrigger");
|
|
15
15
|
const parts = anatomy.build();
|
|
16
|
-
|
|
17
16
|
//#endregion
|
|
18
17
|
//#region src/machines/bottom-sheet/bottom-sheet.dom.ts
|
|
19
18
|
const getContentId = (ctx) => ctx.ids?.content ?? `bottom-sheet:${ctx.id}:content`;
|
|
@@ -26,7 +25,6 @@ const getCloseTriggerId = (ctx) => ctx.ids?.closeTrigger ?? `bottom-sheet:${ctx.
|
|
|
26
25
|
const getContentEl = (ctx) => ctx.getById(getContentId(ctx));
|
|
27
26
|
const getTriggerEl = (ctx) => ctx.getById(getTriggerId(ctx));
|
|
28
27
|
const getCloseTriggerEl = (ctx) => ctx.getById(getCloseTriggerId(ctx));
|
|
29
|
-
|
|
30
28
|
//#endregion
|
|
31
29
|
//#region src/machines/bottom-sheet/bottom-sheet.connect.ts
|
|
32
30
|
function connect(service, normalize) {
|
|
@@ -152,7 +150,6 @@ function connect(service, normalize) {
|
|
|
152
150
|
}
|
|
153
151
|
};
|
|
154
152
|
}
|
|
155
|
-
|
|
156
153
|
//#endregion
|
|
157
154
|
//#region src/machines/bottom-sheet/utils/find-closest-snap-point.ts
|
|
158
155
|
function findClosestSnapPoint(offset, snapPoints) {
|
|
@@ -161,7 +158,6 @@ function findClosestSnapPoint(offset, snapPoints) {
|
|
|
161
158
|
return Math.abs(offset - curr.offset) < closestDiff ? curr : acc;
|
|
162
159
|
});
|
|
163
160
|
}
|
|
164
|
-
|
|
165
161
|
//#endregion
|
|
166
162
|
//#region src/machines/bottom-sheet/utils/get-scroll-info.ts
|
|
167
163
|
function isScrollContainer(element) {
|
|
@@ -187,7 +183,6 @@ function getScrollInfo(target, container) {
|
|
|
187
183
|
availableScrollTop
|
|
188
184
|
};
|
|
189
185
|
}
|
|
190
|
-
|
|
191
186
|
//#endregion
|
|
192
187
|
//#region src/machines/bottom-sheet/utils/drag-manager.ts
|
|
193
188
|
const DRAG_START_THRESHOLD = .3;
|
|
@@ -270,7 +265,6 @@ var DragManager = class {
|
|
|
270
265
|
return isFastSwipe || visibleHeight < closeThresholdInPixels && isBelowSmallestSnapPoint || visibleHeight === 0;
|
|
271
266
|
}
|
|
272
267
|
};
|
|
273
|
-
|
|
274
268
|
//#endregion
|
|
275
269
|
//#region src/machines/bottom-sheet/utils/resolve-snap-point.ts
|
|
276
270
|
function resolveSnapPoint(snapPoint, containerHeight) {
|
|
@@ -284,7 +278,6 @@ function resolveSnapPoint(snapPoint, containerHeight) {
|
|
|
284
278
|
};
|
|
285
279
|
throw new Error(`Invalid snap point: ${snapPoint}`);
|
|
286
280
|
}
|
|
287
|
-
|
|
288
281
|
//#endregion
|
|
289
282
|
//#region src/machines/bottom-sheet/bottom-sheet.machine.ts
|
|
290
283
|
const machine = require_core.createMachine({
|
|
@@ -633,7 +626,6 @@ const machine = require_core.createMachine({
|
|
|
633
626
|
}
|
|
634
627
|
}
|
|
635
628
|
});
|
|
636
|
-
|
|
637
629
|
//#endregion
|
|
638
630
|
//#region src/machines/bottom-sheet/bottom-sheet.props.ts
|
|
639
631
|
const props = require_create_props.createProps()([
|
|
@@ -667,10 +659,9 @@ const props = require_create_props.createProps()([
|
|
|
667
659
|
"onActiveSnapPointChange"
|
|
668
660
|
]);
|
|
669
661
|
const splitProps = require_utils.createSplitProps(props);
|
|
670
|
-
|
|
671
662
|
//#endregion
|
|
672
663
|
exports.anatomy = anatomy;
|
|
673
664
|
exports.connect = connect;
|
|
674
665
|
exports.machine = machine;
|
|
675
666
|
exports.props = props;
|
|
676
|
-
exports.splitProps = splitProps;
|
|
667
|
+
exports.splitProps = splitProps;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
5
|
-
import { t as DismissableElementHandlers } from "../../dismissable-layer-
|
|
2
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
3
|
+
import { b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
|
+
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
5
|
+
import { t as DismissableElementHandlers } from "../../dismissable-layer-ZgyqN8AD.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/bottom-sheet/bottom-sheet.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"trigger" | "content" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "backdrop" | "title" | "closeTrigger" | "grabber" | "grabberIndicator">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/bottom-sheet/utils/drag-manager.d.ts
|
|
11
11
|
declare class DragManager {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
5
|
-
import { t as DismissableElementHandlers } from "../../dismissable-layer-
|
|
1
|
+
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
3
|
+
import { b as NormalizeProps, g as RequiredBy, p as Point, r as DirectionProperty, s as MaybeElement, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
|
+
import { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
5
|
+
import { t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/bottom-sheet/bottom-sheet.anatomy.d.ts
|
|
8
|
-
declare const anatomy: AnatomyInstance<"trigger" | "content" | "
|
|
8
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "backdrop" | "title" | "closeTrigger" | "grabber" | "grabberIndicator">;
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/machines/bottom-sheet/utils/drag-manager.d.ts
|
|
11
11
|
declare class DragManager {
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { W as raf, bt as isLeftClick, ct as addDomEvent, dt as getEventPoint, m as resizeObserverBorderBox, pt as getEventTarget } from "../../dom-query-
|
|
3
|
-
import { t as _defineProperty } from "../../defineProperty-
|
|
4
|
-
import { t as ariaHidden } from "../../aria-hidden-
|
|
5
|
-
import { H as toPx, u as createSplitProps } from "../../utils-
|
|
6
|
-
import { a as createMachine } from "../../core-
|
|
7
|
-
import "../../interact-outside-
|
|
8
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
9
|
-
import { t as trapFocus } from "../../focus-trap-
|
|
10
|
-
import { t as createProps } from "../../create-props-
|
|
11
|
-
import { t as preventBodyScroll } from "../../remove-scroll-
|
|
12
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { W as raf, bt as isLeftClick, ct as addDomEvent, dt as getEventPoint, m as resizeObserverBorderBox, pt as getEventTarget } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { t as _defineProperty } from "../../defineProperty-D5oW_HU_.mjs";
|
|
4
|
+
import { t as ariaHidden } from "../../aria-hidden-P3kaF8gG.mjs";
|
|
5
|
+
import { H as toPx, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
6
|
+
import { a as createMachine } from "../../core-DfVajPnu.mjs";
|
|
7
|
+
import "../../interact-outside-C-8lOhpV.mjs";
|
|
8
|
+
import { n as trackDismissableElement } from "../../dismissable-BAYaXwxZ.mjs";
|
|
9
|
+
import { t as trapFocus } from "../../focus-trap-Cd09JaUn.mjs";
|
|
10
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
11
|
+
import { t as preventBodyScroll } from "../../remove-scroll-DCUb1JPX.mjs";
|
|
13
12
|
//#region src/machines/bottom-sheet/bottom-sheet.anatomy.ts
|
|
14
13
|
const anatomy = createAnatomy("bottom-sheet").parts("content", "title", "trigger", "backdrop", "grabber", "grabberIndicator", "closeTrigger");
|
|
15
14
|
const parts = anatomy.build();
|
|
16
|
-
|
|
17
15
|
//#endregion
|
|
18
16
|
//#region src/machines/bottom-sheet/bottom-sheet.dom.ts
|
|
19
17
|
const getContentId = (ctx) => ctx.ids?.content ?? `bottom-sheet:${ctx.id}:content`;
|
|
@@ -26,7 +24,6 @@ const getCloseTriggerId = (ctx) => ctx.ids?.closeTrigger ?? `bottom-sheet:${ctx.
|
|
|
26
24
|
const getContentEl = (ctx) => ctx.getById(getContentId(ctx));
|
|
27
25
|
const getTriggerEl = (ctx) => ctx.getById(getTriggerId(ctx));
|
|
28
26
|
const getCloseTriggerEl = (ctx) => ctx.getById(getCloseTriggerId(ctx));
|
|
29
|
-
|
|
30
27
|
//#endregion
|
|
31
28
|
//#region src/machines/bottom-sheet/bottom-sheet.connect.ts
|
|
32
29
|
function connect(service, normalize) {
|
|
@@ -152,7 +149,6 @@ function connect(service, normalize) {
|
|
|
152
149
|
}
|
|
153
150
|
};
|
|
154
151
|
}
|
|
155
|
-
|
|
156
152
|
//#endregion
|
|
157
153
|
//#region src/machines/bottom-sheet/utils/find-closest-snap-point.ts
|
|
158
154
|
function findClosestSnapPoint(offset, snapPoints) {
|
|
@@ -161,7 +157,6 @@ function findClosestSnapPoint(offset, snapPoints) {
|
|
|
161
157
|
return Math.abs(offset - curr.offset) < closestDiff ? curr : acc;
|
|
162
158
|
});
|
|
163
159
|
}
|
|
164
|
-
|
|
165
160
|
//#endregion
|
|
166
161
|
//#region src/machines/bottom-sheet/utils/get-scroll-info.ts
|
|
167
162
|
function isScrollContainer(element) {
|
|
@@ -187,7 +182,6 @@ function getScrollInfo(target, container) {
|
|
|
187
182
|
availableScrollTop
|
|
188
183
|
};
|
|
189
184
|
}
|
|
190
|
-
|
|
191
185
|
//#endregion
|
|
192
186
|
//#region src/machines/bottom-sheet/utils/drag-manager.ts
|
|
193
187
|
const DRAG_START_THRESHOLD = .3;
|
|
@@ -270,7 +264,6 @@ var DragManager = class {
|
|
|
270
264
|
return isFastSwipe || visibleHeight < closeThresholdInPixels && isBelowSmallestSnapPoint || visibleHeight === 0;
|
|
271
265
|
}
|
|
272
266
|
};
|
|
273
|
-
|
|
274
267
|
//#endregion
|
|
275
268
|
//#region src/machines/bottom-sheet/utils/resolve-snap-point.ts
|
|
276
269
|
function resolveSnapPoint(snapPoint, containerHeight) {
|
|
@@ -284,7 +277,6 @@ function resolveSnapPoint(snapPoint, containerHeight) {
|
|
|
284
277
|
};
|
|
285
278
|
throw new Error(`Invalid snap point: ${snapPoint}`);
|
|
286
279
|
}
|
|
287
|
-
|
|
288
280
|
//#endregion
|
|
289
281
|
//#region src/machines/bottom-sheet/bottom-sheet.machine.ts
|
|
290
282
|
const machine = createMachine({
|
|
@@ -633,7 +625,6 @@ const machine = createMachine({
|
|
|
633
625
|
}
|
|
634
626
|
}
|
|
635
627
|
});
|
|
636
|
-
|
|
637
628
|
//#endregion
|
|
638
629
|
//#region src/machines/bottom-sheet/bottom-sheet.props.ts
|
|
639
630
|
const props = createProps()([
|
|
@@ -667,6 +658,5 @@ const props = createProps()([
|
|
|
667
658
|
"onActiveSnapPointChange"
|
|
668
659
|
]);
|
|
669
660
|
const splitProps = createSplitProps(props);
|
|
670
|
-
|
|
671
661
|
//#endregion
|
|
672
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
662
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
6
|
+
const require_scroll_snap = require("../../scroll-snap-voc0pMJd.cjs");
|
|
7
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/carousel/carousel.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("carousel").parts("root", "itemGroup", "item", "control", "nextTrigger", "prevTrigger", "indicatorGroup", "indicator", "autoplayTrigger", "progressText");
|
|
10
10
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
11
|
//#endregion
|
|
13
12
|
//#region src/machines/carousel/carousel.dom.ts
|
|
14
13
|
const getRootId = (ctx) => ctx.ids?.root ?? `carousel:${ctx.id}`;
|
|
@@ -27,7 +26,6 @@ const syncTabIndex = (ctx) => {
|
|
|
27
26
|
const tabbables = require_dom_query.getTabbables(el);
|
|
28
27
|
el.setAttribute("tabindex", tabbables.length > 0 ? "-1" : "0");
|
|
29
28
|
};
|
|
30
|
-
|
|
31
29
|
//#endregion
|
|
32
30
|
//#region src/machines/carousel/carousel.connect.ts
|
|
33
31
|
function connect(service, normalize) {
|
|
@@ -336,7 +334,6 @@ function connect(service, normalize) {
|
|
|
336
334
|
}
|
|
337
335
|
};
|
|
338
336
|
}
|
|
339
|
-
|
|
340
337
|
//#endregion
|
|
341
338
|
//#region src/machines/carousel/carousel.machine.ts
|
|
342
339
|
const machine = require_core.createMachine({
|
|
@@ -818,7 +815,6 @@ function getPageSnapPoints(totalSlides, slidesPerMove, slidesPerPage) {
|
|
|
818
815
|
}
|
|
819
816
|
return snapPoints;
|
|
820
817
|
}
|
|
821
|
-
|
|
822
818
|
//#endregion
|
|
823
819
|
//#region src/machines/carousel/carousel.props.ts
|
|
824
820
|
const props = require_create_props.createProps()([
|
|
@@ -850,7 +846,6 @@ const indicatorProps = require_create_props.createProps()(["index", "readOnly"])
|
|
|
850
846
|
const splitIndicatorProps = require_utils.createSplitProps(indicatorProps);
|
|
851
847
|
const itemProps = require_create_props.createProps()(["index", "snapAlign"]);
|
|
852
848
|
const splitItemProps = require_utils.createSplitProps(itemProps);
|
|
853
|
-
|
|
854
849
|
//#endregion
|
|
855
850
|
exports.anatomy = anatomy;
|
|
856
851
|
exports.connect = connect;
|
|
@@ -860,4 +855,4 @@ exports.machine = machine;
|
|
|
860
855
|
exports.props = props;
|
|
861
856
|
exports.splitIndicatorProps = splitIndicatorProps;
|
|
862
857
|
exports.splitItemProps = splitItemProps;
|
|
863
|
-
exports.splitProps = splitProps;
|
|
858
|
+
exports.splitProps = splitProps;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
2
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
3
|
+
import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/carousel/carousel.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "itemGroup" | "control" | "nextTrigger" | "prevTrigger" | "progressText" | "indicatorGroup" | "autoplayTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/carousel/carousel.types.d.ts
|
|
9
9
|
interface PageChangeDetails {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
1
|
+
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
3
|
+
import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/carousel/carousel.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "itemGroup" | "control" | "nextTrigger" | "prevTrigger" | "progressText" | "indicatorGroup" | "autoplayTrigger">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/carousel/carousel.types.d.ts
|
|
9
9
|
interface PageChangeDetails {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { C as queryAll, E as trackPointerMove, W as raf, Zt as contains, bt as isLeftClick, ct as addDomEvent, et as getTabbables, m as resizeObserverBorderBox, pt as getEventTarget, tt as isFocusable, ut as getEventKey, vn as ariaAttr, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { At as remove, Et as nextIndex, Nt as uniq, Q as throttle, W as callAll, ct as isObject, g as clampValue, kt as prevIndex, n as ensureProps, pt as add, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
5
|
-
import { n as getScrollSnapPositions, t as findSnapPoint } from "../../scroll-snap-
|
|
6
|
-
import { t as createProps } from "../../create-props-
|
|
7
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { C as queryAll, E as trackPointerMove, W as raf, Zt as contains, bt as isLeftClick, ct as addDomEvent, et as getTabbables, m as resizeObserverBorderBox, pt as getEventTarget, tt as isFocusable, ut as getEventKey, vn as ariaAttr, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { At as remove, Et as nextIndex, Nt as uniq, Q as throttle, W as callAll, ct as isObject, g as clampValue, kt as prevIndex, n as ensureProps, pt as add, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { n as getScrollSnapPositions, t as findSnapPoint } from "../../scroll-snap-De0H9CWU.mjs";
|
|
6
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
8
7
|
//#region src/machines/carousel/carousel.anatomy.ts
|
|
9
8
|
const anatomy = createAnatomy("carousel").parts("root", "itemGroup", "item", "control", "nextTrigger", "prevTrigger", "indicatorGroup", "indicator", "autoplayTrigger", "progressText");
|
|
10
9
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
11
|
//#region src/machines/carousel/carousel.dom.ts
|
|
14
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `carousel:${ctx.id}`;
|
|
@@ -27,7 +25,6 @@ const syncTabIndex = (ctx) => {
|
|
|
27
25
|
const tabbables = getTabbables(el);
|
|
28
26
|
el.setAttribute("tabindex", tabbables.length > 0 ? "-1" : "0");
|
|
29
27
|
};
|
|
30
|
-
|
|
31
28
|
//#endregion
|
|
32
29
|
//#region src/machines/carousel/carousel.connect.ts
|
|
33
30
|
function connect(service, normalize) {
|
|
@@ -336,7 +333,6 @@ function connect(service, normalize) {
|
|
|
336
333
|
}
|
|
337
334
|
};
|
|
338
335
|
}
|
|
339
|
-
|
|
340
336
|
//#endregion
|
|
341
337
|
//#region src/machines/carousel/carousel.machine.ts
|
|
342
338
|
const machine = createMachine({
|
|
@@ -818,7 +814,6 @@ function getPageSnapPoints(totalSlides, slidesPerMove, slidesPerPage) {
|
|
|
818
814
|
}
|
|
819
815
|
return snapPoints;
|
|
820
816
|
}
|
|
821
|
-
|
|
822
817
|
//#endregion
|
|
823
818
|
//#region src/machines/carousel/carousel.props.ts
|
|
824
819
|
const props = createProps()([
|
|
@@ -850,6 +845,5 @@ const indicatorProps = createProps()(["index", "readOnly"]);
|
|
|
850
845
|
const splitIndicatorProps = createSplitProps(indicatorProps);
|
|
851
846
|
const itemProps = createProps()(["index", "snapAlign"]);
|
|
852
847
|
const splitItemProps = createSplitProps(itemProps);
|
|
853
|
-
|
|
854
848
|
//#endregion
|
|
855
|
-
export { anatomy, connect, indicatorProps, itemProps, machine, props, splitIndicatorProps, splitItemProps, splitProps };
|
|
849
|
+
export { anatomy, connect, indicatorProps, itemProps, machine, props, splitIndicatorProps, splitItemProps, splitProps };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
6
|
+
const require_focus_visible = require("../../focus-visible-CqHoOOjw.cjs");
|
|
7
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/checkbox/checkbox.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("checkbox").parts("root", "label", "control", "indicator");
|
|
10
10
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
11
|
//#endregion
|
|
13
12
|
//#region src/machines/checkbox/checkbox.dom.ts
|
|
14
13
|
const getRootId = (ctx) => ctx.ids?.root ?? `checkbox:${ctx.id}`;
|
|
@@ -17,7 +16,6 @@ const getControlId = (ctx) => ctx.ids?.control ?? `checkbox:${ctx.id}:control`;
|
|
|
17
16
|
const getHiddenInputId = (ctx) => ctx.ids?.hiddenInput ?? `checkbox:${ctx.id}:input`;
|
|
18
17
|
const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
19
18
|
const getHiddenInputEl = (ctx) => ctx.getById(getHiddenInputId(ctx));
|
|
20
|
-
|
|
21
19
|
//#endregion
|
|
22
20
|
//#region src/machines/checkbox/checkbox.connect.ts
|
|
23
21
|
function connect(service, normalize) {
|
|
@@ -165,7 +163,6 @@ function connect(service, normalize) {
|
|
|
165
163
|
}
|
|
166
164
|
};
|
|
167
165
|
}
|
|
168
|
-
|
|
169
166
|
//#endregion
|
|
170
167
|
//#region src/machines/checkbox/checkbox.machine.ts
|
|
171
168
|
const { not } = require_core.createGuards();
|
|
@@ -292,7 +289,6 @@ function isIndeterminate(checked) {
|
|
|
292
289
|
function isChecked(checked) {
|
|
293
290
|
return isIndeterminate(checked) ? false : !!checked;
|
|
294
291
|
}
|
|
295
|
-
|
|
296
292
|
//#endregion
|
|
297
293
|
//#region src/machines/checkbox/checkbox.props.ts
|
|
298
294
|
const props = require_create_props.createProps()([
|
|
@@ -312,10 +308,9 @@ const props = require_create_props.createProps()([
|
|
|
312
308
|
"value"
|
|
313
309
|
]);
|
|
314
310
|
const splitProps = require_utils.createSplitProps(props);
|
|
315
|
-
|
|
316
311
|
//#endregion
|
|
317
312
|
exports.anatomy = anatomy;
|
|
318
313
|
exports.connect = connect;
|
|
319
314
|
exports.machine = machine;
|
|
320
315
|
exports.props = props;
|
|
321
|
-
exports.splitProps = splitProps;
|
|
316
|
+
exports.splitProps = splitProps;
|