@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,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/rating-group/rating-group.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("rating-group").parts("root", "label", "item", "control");
|
|
9
9
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/machines/rating-group/rating-group.dom.ts
|
|
13
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `rating-group:${ctx.id}`;
|
|
@@ -26,7 +25,6 @@ const dispatchChangeEvent = (ctx, value) => {
|
|
|
26
25
|
if (!inputEl) return;
|
|
27
26
|
require_dom_query.dispatchInputValueEvent(inputEl, { value });
|
|
28
27
|
};
|
|
29
|
-
|
|
30
28
|
//#endregion
|
|
31
29
|
//#region src/machines/rating-group/rating-group.connect.ts
|
|
32
30
|
function connect(service, normalize) {
|
|
@@ -216,7 +214,6 @@ function connect(service, normalize) {
|
|
|
216
214
|
}
|
|
217
215
|
};
|
|
218
216
|
}
|
|
219
|
-
|
|
220
217
|
//#endregion
|
|
221
218
|
//#region src/machines/rating-group/rating-group.machine.ts
|
|
222
219
|
const machine = require_core.createMachine({
|
|
@@ -369,7 +366,6 @@ const machine = require_core.createMachine({
|
|
|
369
366
|
}
|
|
370
367
|
}
|
|
371
368
|
});
|
|
372
|
-
|
|
373
369
|
//#endregion
|
|
374
370
|
//#region src/machines/rating-group/rating-group.props.ts
|
|
375
371
|
const props = require_create_props.createProps()([
|
|
@@ -394,7 +390,6 @@ const props = require_create_props.createProps()([
|
|
|
394
390
|
const splitProps = require_utils.createSplitProps(props);
|
|
395
391
|
const itemProps = require_create_props.createProps()(["index"]);
|
|
396
392
|
const splitItemProps = require_utils.createSplitProps(itemProps);
|
|
397
|
-
|
|
398
393
|
//#endregion
|
|
399
394
|
exports.anatomy = anatomy;
|
|
400
395
|
exports.connect = connect;
|
|
@@ -402,4 +397,4 @@ exports.itemProps = itemProps;
|
|
|
402
397
|
exports.machine = machine;
|
|
403
398
|
exports.props = props;
|
|
404
399
|
exports.splitItemProps = splitItemProps;
|
|
405
|
-
exports.splitProps = splitProps;
|
|
400
|
+
exports.splitProps = splitProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
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, 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, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/rating-group/rating-group.anatomy.d.ts
|
|
6
6
|
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "control">;
|
|
@@ -1,6 +1,6 @@
|
|
|
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, 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, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/rating-group/rating-group.anatomy.d.ts
|
|
6
6
|
declare const anatomy: AnatomyInstance<"root" | "item" | "label" | "control">;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { A as getRelativePoint, S as query, W as raf, bt as isLeftClick, dt as getEventPoint, it as dispatchInputValueEvent, st as trackFormControl, ut as getEventKey, vn as ariaAttr, yn as dataAttr } 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 { A as getRelativePoint, S as query, W as raf, bt as isLeftClick, dt as getEventPoint, it as dispatchInputValueEvent, st as trackFormControl, ut as getEventKey, vn as ariaAttr, yn as dataAttr } 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/rating-group/rating-group.anatomy.ts
|
|
8
7
|
const anatomy = createAnatomy("rating-group").parts("root", "label", "item", "control");
|
|
9
8
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region src/machines/rating-group/rating-group.dom.ts
|
|
13
11
|
const getRootId = (ctx) => ctx.ids?.root ?? `rating-group:${ctx.id}`;
|
|
@@ -26,7 +24,6 @@ const dispatchChangeEvent = (ctx, value) => {
|
|
|
26
24
|
if (!inputEl) return;
|
|
27
25
|
dispatchInputValueEvent(inputEl, { value });
|
|
28
26
|
};
|
|
29
|
-
|
|
30
27
|
//#endregion
|
|
31
28
|
//#region src/machines/rating-group/rating-group.connect.ts
|
|
32
29
|
function connect(service, normalize) {
|
|
@@ -216,7 +213,6 @@ function connect(service, normalize) {
|
|
|
216
213
|
}
|
|
217
214
|
};
|
|
218
215
|
}
|
|
219
|
-
|
|
220
216
|
//#endregion
|
|
221
217
|
//#region src/machines/rating-group/rating-group.machine.ts
|
|
222
218
|
const machine = createMachine({
|
|
@@ -369,7 +365,6 @@ const machine = createMachine({
|
|
|
369
365
|
}
|
|
370
366
|
}
|
|
371
367
|
});
|
|
372
|
-
|
|
373
368
|
//#endregion
|
|
374
369
|
//#region src/machines/rating-group/rating-group.props.ts
|
|
375
370
|
const props = createProps()([
|
|
@@ -394,6 +389,5 @@ const props = createProps()([
|
|
|
394
389
|
const splitProps = createSplitProps(props);
|
|
395
390
|
const itemProps = createProps()(["index"]);
|
|
396
391
|
const splitItemProps = createSplitProps(itemProps);
|
|
397
|
-
|
|
398
392
|
//#endregion
|
|
399
|
-
export { anatomy, connect, itemProps, machine, props, splitItemProps, splitProps };
|
|
393
|
+
export { anatomy, connect, itemProps, machine, props, 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_defineProperty = require("../../defineProperty-8IOBQ1i_.cjs");
|
|
5
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
6
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
7
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/scroll-area/scroll-area.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("scroll-area").parts("root", "viewport", "content", "scrollbar", "thumb", "corner");
|
|
10
10
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
11
|
//#endregion
|
|
13
12
|
//#region src/machines/scroll-area/scroll-area.dom.ts
|
|
14
13
|
const getRootId = (ctx) => ctx.ids?.root ?? `scroll-area:${ctx.id}`;
|
|
@@ -22,7 +21,6 @@ const getScrollbarYEl = (ctx) => require_dom_query.query(getRootEl(ctx), `[data-
|
|
|
22
21
|
const getThumbXEl = (ctx) => require_dom_query.query(getScrollbarXEl(ctx), `[data-part=thumb][data-orientation=horizontal][data-ownedby="${getRootId(ctx)}"]`);
|
|
23
22
|
const getThumbYEl = (ctx) => require_dom_query.query(getScrollbarYEl(ctx), `[data-part=thumb][data-orientation=vertical][data-ownedby="${getRootId(ctx)}"]`);
|
|
24
23
|
const getCornerEl = (ctx) => require_dom_query.query(getRootEl(ctx), `[data-part=corner][data-ownedby="${getRootId(ctx)}"]`);
|
|
25
|
-
|
|
26
24
|
//#endregion
|
|
27
25
|
//#region src/machines/scroll-area/utils/scroll-progress.ts
|
|
28
26
|
function getScrollProgress(element, scrollThreshold) {
|
|
@@ -42,7 +40,6 @@ const EMPTY_SCROLL_PROGRESS = {
|
|
|
42
40
|
x: 0,
|
|
43
41
|
y: 0
|
|
44
42
|
};
|
|
45
|
-
|
|
46
43
|
//#endregion
|
|
47
44
|
//#region src/machines/scroll-area/utils/smooth-scroll.ts
|
|
48
45
|
const DURATION = 300;
|
|
@@ -81,7 +78,6 @@ function smoothScroll(node, options = {}) {
|
|
|
81
78
|
state.rafId = requestAnimationFrame(animate);
|
|
82
79
|
return cleanup;
|
|
83
80
|
}
|
|
84
|
-
|
|
85
81
|
//#endregion
|
|
86
82
|
//#region src/machines/scroll-area/utils/scroll-to.ts
|
|
87
83
|
function scrollTo(node, options = {}) {
|
|
@@ -102,7 +98,6 @@ function scrollTo(node, options = {}) {
|
|
|
102
98
|
node.scrollTo(scrollOptions);
|
|
103
99
|
}
|
|
104
100
|
}
|
|
105
|
-
|
|
106
101
|
//#endregion
|
|
107
102
|
//#region src/machines/scroll-area/utils/scroll-to-edge.ts
|
|
108
103
|
function scrollToEdge(node, edge, dir, behavior = "smooth", easing, duration) {
|
|
@@ -143,7 +138,6 @@ function scrollToEdge(node, edge, dir, behavior = "smooth", easing, duration) {
|
|
|
143
138
|
node.scrollTo(options);
|
|
144
139
|
}
|
|
145
140
|
}
|
|
146
|
-
|
|
147
141
|
//#endregion
|
|
148
142
|
//#region src/machines/scroll-area/scroll-area.connect.ts
|
|
149
143
|
function connect(service, normalize) {
|
|
@@ -349,7 +343,6 @@ function connect(service, normalize) {
|
|
|
349
343
|
}
|
|
350
344
|
};
|
|
351
345
|
}
|
|
352
|
-
|
|
353
346
|
//#endregion
|
|
354
347
|
//#region src/machines/scroll-area/utils/scroll-offset.ts
|
|
355
348
|
function getScrollOffset(element, prop, axis) {
|
|
@@ -359,7 +352,6 @@ function getScrollOffset(element, prop, axis) {
|
|
|
359
352
|
if (axis === "x" && prop === "margin") return parseFloat(styles[`${prop}InlineStart`]) * 2;
|
|
360
353
|
return parseFloat(styles[`${prop}${propAxis}Start`]) + parseFloat(styles[`${prop}${propAxis}End`]);
|
|
361
354
|
}
|
|
362
|
-
|
|
363
355
|
//#endregion
|
|
364
356
|
//#region src/machines/scroll-area/utils/scroll-sides.ts
|
|
365
357
|
function getScrollSides(node, dir) {
|
|
@@ -397,7 +389,6 @@ function getScrollSides(node, dir) {
|
|
|
397
389
|
left: atLeft
|
|
398
390
|
};
|
|
399
391
|
}
|
|
400
|
-
|
|
401
392
|
//#endregion
|
|
402
393
|
//#region src/machines/scroll-area/utils/timeout.ts
|
|
403
394
|
const EMPTY = 0;
|
|
@@ -425,7 +416,6 @@ var Timeout = class {
|
|
|
425
416
|
return this.currentId !== EMPTY;
|
|
426
417
|
}
|
|
427
418
|
};
|
|
428
|
-
|
|
429
419
|
//#endregion
|
|
430
420
|
//#region src/machines/scroll-area/scroll-area.machine.ts
|
|
431
421
|
const MIN_THUMB_SIZE = 20;
|
|
@@ -853,7 +843,6 @@ const machine = require_core.createMachine({
|
|
|
853
843
|
}
|
|
854
844
|
}
|
|
855
845
|
});
|
|
856
|
-
|
|
857
846
|
//#endregion
|
|
858
847
|
//#region src/machines/scroll-area/scroll-area.props.ts
|
|
859
848
|
const props = require_create_props.createProps()([
|
|
@@ -863,10 +852,9 @@ const props = require_create_props.createProps()([
|
|
|
863
852
|
"id"
|
|
864
853
|
]);
|
|
865
854
|
const splitProps = require_utils.createSplitProps(props);
|
|
866
|
-
|
|
867
855
|
//#endregion
|
|
868
856
|
exports.anatomy = anatomy;
|
|
869
857
|
exports.connect = connect;
|
|
870
858
|
exports.machine = machine;
|
|
871
859
|
exports.props = props;
|
|
872
|
-
exports.splitProps = splitProps;
|
|
860
|
+
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 { _ as Size, b as NormalizeProps, d as Orientation, p as Point, 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 { _ as Size, b as NormalizeProps, d as Orientation, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/scroll-area/scroll-area.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "content" | "viewport" | "thumb" | "scrollbar" | "corner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/scroll-area/utils/timeout.d.ts
|
|
9
9
|
declare class Timeout {
|
|
@@ -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 { _ as Size, b as NormalizeProps, d as Orientation, p as Point, 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 { _ as Size, b as NormalizeProps, d as Orientation, p as Point, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/scroll-area/scroll-area.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "content" | "viewport" | "thumb" | "scrollbar" | "corner">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/scroll-area/utils/timeout.d.ts
|
|
9
9
|
declare class Timeout {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { E as trackPointerMove, S as query, Xt as getComputedStyle, Zt as contains, ct as addDomEvent, d as setStyleProperty, dt as getEventPoint, pt as getEventTarget, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { t as _defineProperty } from "../../defineProperty-
|
|
4
|
-
import { H as toPx, W as callAll, ft as isEqual, g as clampValue, l as compact, n as ensureProps, u as createSplitProps } from "../../utils-
|
|
5
|
-
import { a as createMachine } from "../../core-
|
|
6
|
-
import { t as createProps } from "../../create-props-
|
|
7
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { E as trackPointerMove, S as query, Xt as getComputedStyle, Zt as contains, ct as addDomEvent, d as setStyleProperty, dt as getEventPoint, pt as getEventTarget, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { t as _defineProperty } from "../../defineProperty-D5oW_HU_.mjs";
|
|
4
|
+
import { H as toPx, W as callAll, ft as isEqual, g as clampValue, l as compact, n as ensureProps, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
5
|
+
import { a as createMachine } from "../../core-DfVajPnu.mjs";
|
|
6
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
8
7
|
//#region src/machines/scroll-area/scroll-area.anatomy.ts
|
|
9
8
|
const anatomy = createAnatomy("scroll-area").parts("root", "viewport", "content", "scrollbar", "thumb", "corner");
|
|
10
9
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
11
|
//#region src/machines/scroll-area/scroll-area.dom.ts
|
|
14
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `scroll-area:${ctx.id}`;
|
|
@@ -22,7 +20,6 @@ const getScrollbarYEl = (ctx) => query(getRootEl(ctx), `[data-part=scrollbar][da
|
|
|
22
20
|
const getThumbXEl = (ctx) => query(getScrollbarXEl(ctx), `[data-part=thumb][data-orientation=horizontal][data-ownedby="${getRootId(ctx)}"]`);
|
|
23
21
|
const getThumbYEl = (ctx) => query(getScrollbarYEl(ctx), `[data-part=thumb][data-orientation=vertical][data-ownedby="${getRootId(ctx)}"]`);
|
|
24
22
|
const getCornerEl = (ctx) => query(getRootEl(ctx), `[data-part=corner][data-ownedby="${getRootId(ctx)}"]`);
|
|
25
|
-
|
|
26
23
|
//#endregion
|
|
27
24
|
//#region src/machines/scroll-area/utils/scroll-progress.ts
|
|
28
25
|
function getScrollProgress(element, scrollThreshold) {
|
|
@@ -42,7 +39,6 @@ const EMPTY_SCROLL_PROGRESS = {
|
|
|
42
39
|
x: 0,
|
|
43
40
|
y: 0
|
|
44
41
|
};
|
|
45
|
-
|
|
46
42
|
//#endregion
|
|
47
43
|
//#region src/machines/scroll-area/utils/smooth-scroll.ts
|
|
48
44
|
const DURATION = 300;
|
|
@@ -81,7 +77,6 @@ function smoothScroll(node, options = {}) {
|
|
|
81
77
|
state.rafId = requestAnimationFrame(animate);
|
|
82
78
|
return cleanup;
|
|
83
79
|
}
|
|
84
|
-
|
|
85
80
|
//#endregion
|
|
86
81
|
//#region src/machines/scroll-area/utils/scroll-to.ts
|
|
87
82
|
function scrollTo(node, options = {}) {
|
|
@@ -102,7 +97,6 @@ function scrollTo(node, options = {}) {
|
|
|
102
97
|
node.scrollTo(scrollOptions);
|
|
103
98
|
}
|
|
104
99
|
}
|
|
105
|
-
|
|
106
100
|
//#endregion
|
|
107
101
|
//#region src/machines/scroll-area/utils/scroll-to-edge.ts
|
|
108
102
|
function scrollToEdge(node, edge, dir, behavior = "smooth", easing, duration) {
|
|
@@ -143,7 +137,6 @@ function scrollToEdge(node, edge, dir, behavior = "smooth", easing, duration) {
|
|
|
143
137
|
node.scrollTo(options);
|
|
144
138
|
}
|
|
145
139
|
}
|
|
146
|
-
|
|
147
140
|
//#endregion
|
|
148
141
|
//#region src/machines/scroll-area/scroll-area.connect.ts
|
|
149
142
|
function connect(service, normalize) {
|
|
@@ -349,7 +342,6 @@ function connect(service, normalize) {
|
|
|
349
342
|
}
|
|
350
343
|
};
|
|
351
344
|
}
|
|
352
|
-
|
|
353
345
|
//#endregion
|
|
354
346
|
//#region src/machines/scroll-area/utils/scroll-offset.ts
|
|
355
347
|
function getScrollOffset(element, prop, axis) {
|
|
@@ -359,7 +351,6 @@ function getScrollOffset(element, prop, axis) {
|
|
|
359
351
|
if (axis === "x" && prop === "margin") return parseFloat(styles[`${prop}InlineStart`]) * 2;
|
|
360
352
|
return parseFloat(styles[`${prop}${propAxis}Start`]) + parseFloat(styles[`${prop}${propAxis}End`]);
|
|
361
353
|
}
|
|
362
|
-
|
|
363
354
|
//#endregion
|
|
364
355
|
//#region src/machines/scroll-area/utils/scroll-sides.ts
|
|
365
356
|
function getScrollSides(node, dir) {
|
|
@@ -397,7 +388,6 @@ function getScrollSides(node, dir) {
|
|
|
397
388
|
left: atLeft
|
|
398
389
|
};
|
|
399
390
|
}
|
|
400
|
-
|
|
401
391
|
//#endregion
|
|
402
392
|
//#region src/machines/scroll-area/utils/timeout.ts
|
|
403
393
|
const EMPTY = 0;
|
|
@@ -425,7 +415,6 @@ var Timeout = class {
|
|
|
425
415
|
return this.currentId !== EMPTY;
|
|
426
416
|
}
|
|
427
417
|
};
|
|
428
|
-
|
|
429
418
|
//#endregion
|
|
430
419
|
//#region src/machines/scroll-area/scroll-area.machine.ts
|
|
431
420
|
const MIN_THUMB_SIZE = 20;
|
|
@@ -853,7 +842,6 @@ const machine = createMachine({
|
|
|
853
842
|
}
|
|
854
843
|
}
|
|
855
844
|
});
|
|
856
|
-
|
|
857
845
|
//#endregion
|
|
858
846
|
//#region src/machines/scroll-area/scroll-area.props.ts
|
|
859
847
|
const props = createProps()([
|
|
@@ -863,6 +851,5 @@ const props = createProps()([
|
|
|
863
851
|
"id"
|
|
864
852
|
]);
|
|
865
853
|
const splitProps = createSplitProps(props);
|
|
866
|
-
|
|
867
854
|
//#endregion
|
|
868
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
855
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
require(
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
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_collection = require("../../collection-DZeodezM.cjs");
|
|
6
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
7
|
+
require("../../interact-outside-DRaFGdMg.cjs");
|
|
8
|
+
const require_dismissable = require("../../dismissable-DPXx0m0m.cjs");
|
|
9
|
+
const require_popper = require("../../popper-zq1F_iY8.cjs");
|
|
10
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
11
11
|
//#region src/machines/select/select.anatomy.ts
|
|
12
12
|
const anatomy = require_create_anatomy.createAnatomy("select").parts("label", "positioner", "trigger", "indicator", "clearTrigger", "item", "itemText", "itemIndicator", "itemGroup", "itemGroupLabel", "list", "content", "root", "control", "valueText");
|
|
13
13
|
const parts = anatomy.build();
|
|
14
|
-
|
|
15
14
|
//#endregion
|
|
16
15
|
//#region src/machines/select/select.collection.ts
|
|
17
16
|
const collection = (options) => {
|
|
@@ -20,7 +19,6 @@ const collection = (options) => {
|
|
|
20
19
|
collection.empty = () => {
|
|
21
20
|
return new require_collection.ListCollection({ items: [] });
|
|
22
21
|
};
|
|
23
|
-
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region src/machines/select/select.dom.ts
|
|
26
24
|
const getRootId = (ctx) => ctx.ids?.root ?? `select:${ctx.id}`;
|
|
@@ -43,7 +41,6 @@ const getItemEl = (ctx, id) => {
|
|
|
43
41
|
if (id == null) return null;
|
|
44
42
|
return ctx.getById(getItemId(ctx, id));
|
|
45
43
|
};
|
|
46
|
-
|
|
47
44
|
//#endregion
|
|
48
45
|
//#region src/machines/select/select.connect.ts
|
|
49
46
|
function connect(service, normalize) {
|
|
@@ -478,7 +475,6 @@ function connect(service, normalize) {
|
|
|
478
475
|
}
|
|
479
476
|
};
|
|
480
477
|
}
|
|
481
|
-
|
|
482
478
|
//#endregion
|
|
483
479
|
//#region src/machines/select/select.machine.ts
|
|
484
480
|
const { and, not, or } = require_core.createGuards();
|
|
@@ -1106,7 +1102,6 @@ function restoreFocusFn(event) {
|
|
|
1106
1102
|
const v = event.restoreFocus ?? event.previousEvent?.restoreFocus;
|
|
1107
1103
|
return v == null || !!v;
|
|
1108
1104
|
}
|
|
1109
|
-
|
|
1110
1105
|
//#endregion
|
|
1111
1106
|
//#region src/machines/select/select.props.ts
|
|
1112
1107
|
const props = require_create_props.createProps()([
|
|
@@ -1149,7 +1144,6 @@ const itemGroupProps = require_create_props.createProps()(["id"]);
|
|
|
1149
1144
|
const splitItemGroupProps = require_utils.createSplitProps(itemGroupProps);
|
|
1150
1145
|
const itemGroupLabelProps = require_create_props.createProps()(["htmlFor"]);
|
|
1151
1146
|
const splitItemGroupLabelProps = require_utils.createSplitProps(itemGroupLabelProps);
|
|
1152
|
-
|
|
1153
1147
|
//#endregion
|
|
1154
1148
|
exports.anatomy = anatomy;
|
|
1155
1149
|
exports.collection = collection;
|
|
@@ -1162,4 +1156,4 @@ exports.props = props;
|
|
|
1162
1156
|
exports.splitItemGroupLabelProps = splitItemGroupLabelProps;
|
|
1163
1157
|
exports.splitItemGroupProps = splitItemGroupProps;
|
|
1164
1158
|
exports.splitItemProps = splitItemProps;
|
|
1165
|
-
exports.splitProps = splitProps;
|
|
1159
|
+
exports.splitProps = splitProps;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { r as CollectionOptions, t as CollectionItem } from "../../types-
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
4
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
5
|
-
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
6
|
-
import { n as TypeaheadState } from "../../typeahead-
|
|
7
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
8
|
-
import { c as Placement, d as PositioningOptions } from "../../types-
|
|
2
|
+
import { r as CollectionOptions, t as CollectionItem } from "../../types-D-7AMgSE.cjs";
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-B_8BN0XB.cjs";
|
|
4
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
5
|
+
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
6
|
+
import { n as TypeaheadState } from "../../typeahead-DMooWbbX.cjs";
|
|
7
|
+
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
8
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DEn9MoSw.cjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/select/select.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "item" | "itemIndicator" | "itemText" | "label" | "valueText" | "itemGroup" | "itemGroupLabel" | "positioner" | "control" | "clearTrigger" | "list">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/select/select.collection.d.ts
|
|
14
14
|
declare const collection: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { r as CollectionOptions, t as CollectionItem } from "../../types-
|
|
3
|
-
import { t as ListCollection } from "../../list-collection-
|
|
4
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
5
|
-
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
6
|
-
import { n as TypeaheadState } from "../../typeahead-
|
|
7
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
8
|
-
import { p as PositioningOptions, u as Placement } from "../../index-
|
|
1
|
+
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { r as CollectionOptions, t as CollectionItem } from "../../types-9uw8LHpE.mjs";
|
|
3
|
+
import { t as ListCollection } from "../../list-collection-DkRA5LOq.mjs";
|
|
4
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
5
|
+
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
6
|
+
import { n as TypeaheadState } from "../../typeahead-Bbeb1fAR.mjs";
|
|
7
|
+
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
8
|
+
import { p as PositioningOptions, u as Placement } from "../../index-DHp3-EkH.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/machines/select/select.anatomy.d.ts
|
|
11
|
-
declare const anatomy: AnatomyInstance<"
|
|
11
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator" | "item" | "itemIndicator" | "itemText" | "label" | "valueText" | "itemGroup" | "itemGroupLabel" | "positioner" | "control" | "clearTrigger" | "list">;
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/machines/select/select.collection.d.ts
|
|
14
14
|
declare const collection: {
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, W as raf, Zt as contains, a as visuallyHiddenStyle, cn as isEditableElement, pt as getEventTarget, s as getByTypeahead, st as trackFormControl, ut as getEventKey, vn as ariaAttr, yn as dataAttr, z as observeAttributes } from "../../dom-query-
|
|
3
|
-
import { ft as isEqual, mt as addOrRemove, t as ensure, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { s as ListCollection } from "../../collection-
|
|
5
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
6
|
-
import "../../interact-outside-
|
|
7
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
8
|
-
import { n as getPlacement, t as getPlacementStyles } from "../../popper-
|
|
9
|
-
import { t as createProps } from "../../create-props-
|
|
10
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, W as raf, Zt as contains, a as visuallyHiddenStyle, cn as isEditableElement, pt as getEventTarget, s as getByTypeahead, st as trackFormControl, ut as getEventKey, vn as ariaAttr, yn as dataAttr, z as observeAttributes } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { ft as isEqual, mt as addOrRemove, t as ensure, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { s as ListCollection } from "../../collection-CcsrqDFY.mjs";
|
|
5
|
+
import { a as createMachine, i as createGuards } from "../../core-DfVajPnu.mjs";
|
|
6
|
+
import "../../interact-outside-C-8lOhpV.mjs";
|
|
7
|
+
import { n as trackDismissableElement } from "../../dismissable-BAYaXwxZ.mjs";
|
|
8
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-CfOHZlHP.mjs";
|
|
9
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
11
10
|
//#region src/machines/select/select.anatomy.ts
|
|
12
11
|
const anatomy = createAnatomy("select").parts("label", "positioner", "trigger", "indicator", "clearTrigger", "item", "itemText", "itemIndicator", "itemGroup", "itemGroupLabel", "list", "content", "root", "control", "valueText");
|
|
13
12
|
const parts = anatomy.build();
|
|
14
|
-
|
|
15
13
|
//#endregion
|
|
16
14
|
//#region src/machines/select/select.collection.ts
|
|
17
15
|
const collection = (options) => {
|
|
@@ -20,7 +18,6 @@ const collection = (options) => {
|
|
|
20
18
|
collection.empty = () => {
|
|
21
19
|
return new ListCollection({ items: [] });
|
|
22
20
|
};
|
|
23
|
-
|
|
24
21
|
//#endregion
|
|
25
22
|
//#region src/machines/select/select.dom.ts
|
|
26
23
|
const getRootId = (ctx) => ctx.ids?.root ?? `select:${ctx.id}`;
|
|
@@ -43,7 +40,6 @@ const getItemEl = (ctx, id) => {
|
|
|
43
40
|
if (id == null) return null;
|
|
44
41
|
return ctx.getById(getItemId(ctx, id));
|
|
45
42
|
};
|
|
46
|
-
|
|
47
43
|
//#endregion
|
|
48
44
|
//#region src/machines/select/select.connect.ts
|
|
49
45
|
function connect(service, normalize) {
|
|
@@ -478,7 +474,6 @@ function connect(service, normalize) {
|
|
|
478
474
|
}
|
|
479
475
|
};
|
|
480
476
|
}
|
|
481
|
-
|
|
482
477
|
//#endregion
|
|
483
478
|
//#region src/machines/select/select.machine.ts
|
|
484
479
|
const { and, not, or } = createGuards();
|
|
@@ -1106,7 +1101,6 @@ function restoreFocusFn(event) {
|
|
|
1106
1101
|
const v = event.restoreFocus ?? event.previousEvent?.restoreFocus;
|
|
1107
1102
|
return v == null || !!v;
|
|
1108
1103
|
}
|
|
1109
|
-
|
|
1110
1104
|
//#endregion
|
|
1111
1105
|
//#region src/machines/select/select.props.ts
|
|
1112
1106
|
const props = createProps()([
|
|
@@ -1149,6 +1143,5 @@ const itemGroupProps = createProps()(["id"]);
|
|
|
1149
1143
|
const splitItemGroupProps = createSplitProps(itemGroupProps);
|
|
1150
1144
|
const itemGroupLabelProps = createProps()(["htmlFor"]);
|
|
1151
1145
|
const splitItemGroupLabelProps = createSplitProps(itemGroupLabelProps);
|
|
1152
|
-
|
|
1153
1146
|
//#endregion
|
|
1154
|
-
export { anatomy, collection, connect, itemGroupLabelProps, itemGroupProps, itemProps, machine, props, splitItemGroupLabelProps, splitItemGroupProps, splitItemProps, splitProps };
|
|
1147
|
+
export { anatomy, collection, connect, itemGroupLabelProps, itemGroupProps, itemProps, machine, props, splitItemGroupLabelProps, splitItemGroupProps, splitItemProps, splitProps };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
require(
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
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/separator/separator.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("separator").parts("root");
|
|
9
9
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/machines/separator/separator.dom.ts
|
|
13
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `separator:${ctx.id}`;
|
|
14
|
-
|
|
15
13
|
//#endregion
|
|
16
14
|
//#region src/machines/separator/separator.connect.ts
|
|
17
15
|
function connect(service, normalize) {
|
|
@@ -34,7 +32,6 @@ function connect(service, normalize) {
|
|
|
34
32
|
}
|
|
35
33
|
};
|
|
36
34
|
}
|
|
37
|
-
|
|
38
35
|
//#endregion
|
|
39
36
|
//#region src/machines/separator/separator.machine.ts
|
|
40
37
|
const machine = require_core.createMachine({
|
|
@@ -51,7 +48,6 @@ const machine = require_core.createMachine({
|
|
|
51
48
|
effects: {}
|
|
52
49
|
}
|
|
53
50
|
});
|
|
54
|
-
|
|
55
51
|
//#endregion
|
|
56
52
|
//#region src/machines/separator/separator.props.ts
|
|
57
53
|
const props = require_create_props.createProps()([
|
|
@@ -63,10 +59,9 @@ const props = require_create_props.createProps()([
|
|
|
63
59
|
"decorative"
|
|
64
60
|
]);
|
|
65
61
|
const splitProps = require_utils.createSplitProps(props);
|
|
66
|
-
|
|
67
62
|
//#endregion
|
|
68
63
|
exports.anatomy = anatomy;
|
|
69
64
|
exports.connect = connect;
|
|
70
65
|
exports.machine = machine;
|
|
71
66
|
exports.props = props;
|
|
72
|
-
exports.splitProps = splitProps;
|
|
67
|
+
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, f as OrientationProperty, 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, f as OrientationProperty, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/separator/separator.anatomy.d.ts
|
|
6
6
|
declare const anatomy: AnatomyInstance<"root">;
|