@sprawlify/primitives 0.0.87 → 0.0.89
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 +6 -6
- package/dist/dom-query.d.mts +6 -6
- 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 +13 -22
- 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 +12 -23
- 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 +3 -3
- package/dist/machines/rating-group/index.d.mts +4 -4
- 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 +3 -3
- package/dist/machines/signature-pad/index.d.mts +4 -4
- 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,18 +1,15 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import "../../dom-query-
|
|
3
|
-
import { Y as match, ct as isObject, g as clampValue, o as setRafInterval, s as setRafTimeout, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine, s as memo } from "../../core-
|
|
5
|
-
import { t as createProps } from "../../create-props-
|
|
6
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { Y as match, ct as isObject, g as clampValue, o as setRafInterval, s as setRafTimeout, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine, s as memo } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
7
6
|
//#region src/machines/timer/timer.anatomy.ts
|
|
8
7
|
const anatomy = createAnatomy("timer").parts("root", "area", "control", "item", "itemValue", "itemLabel", "actionTrigger", "separator");
|
|
9
8
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region src/machines/timer/timer.dom.ts
|
|
13
11
|
const getRootId = (ctx) => ctx.ids?.root ?? `timer:${ctx.id}:root`;
|
|
14
12
|
const getAreaId = (ctx) => ctx.ids?.area ?? `timer:${ctx.id}:area`;
|
|
15
|
-
|
|
16
13
|
//#endregion
|
|
17
14
|
//#region src/machines/timer/timer.connect.ts
|
|
18
15
|
const validActions = new Set([
|
|
@@ -113,7 +110,6 @@ function connect(service, normalize) {
|
|
|
113
110
|
}
|
|
114
111
|
};
|
|
115
112
|
}
|
|
116
|
-
|
|
117
113
|
//#endregion
|
|
118
114
|
//#region src/machines/timer/timer.machine.ts
|
|
119
115
|
const machine = createMachine({
|
|
@@ -283,7 +279,6 @@ function validateProps(props) {
|
|
|
283
279
|
}
|
|
284
280
|
if (countdown && targetMs == null && startMs != null && startMs <= 0) throw new Error(`[timer] Invalid countdown configuration: startMs (${startMs}) must be greater than 0 when no targetMs is provided.`);
|
|
285
281
|
}
|
|
286
|
-
|
|
287
282
|
//#endregion
|
|
288
283
|
//#region src/machines/timer/timer.parse.ts
|
|
289
284
|
const segments = new Set([
|
|
@@ -303,7 +298,6 @@ function parse(date) {
|
|
|
303
298
|
}
|
|
304
299
|
throw new Error("Invalid date");
|
|
305
300
|
}
|
|
306
|
-
|
|
307
301
|
//#endregion
|
|
308
302
|
//#region src/machines/timer/timer.props.ts
|
|
309
303
|
const props = createProps()([
|
|
@@ -319,6 +313,5 @@ const props = createProps()([
|
|
|
319
313
|
"targetMs"
|
|
320
314
|
]);
|
|
321
315
|
const splitProps = createSplitProps(props);
|
|
322
|
-
|
|
323
316
|
//#endregion
|
|
324
|
-
export { anatomy, connect, machine, parse, props, splitProps };
|
|
317
|
+
export { anatomy, connect, machine, parse, props, splitProps };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
require(
|
|
6
|
-
|
|
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
|
+
require("../../interact-outside-DRaFGdMg.cjs");
|
|
7
|
+
const require_dismissable = require("../../dismissable-DPXx0m0m.cjs");
|
|
8
8
|
//#region src/machines/toast/toast.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("toast").parts("group", "root", "title", "description", "actionTrigger", "closeTrigger");
|
|
10
10
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
11
|
//#endregion
|
|
13
12
|
//#region src/machines/toast/toast.dom.ts
|
|
14
13
|
const getRegionId = (placement) => `toast-group:${placement}`;
|
|
@@ -18,7 +17,6 @@ const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
|
18
17
|
const getTitleId = (ctx) => `toast:${ctx.id}:title`;
|
|
19
18
|
const getDescriptionId = (ctx) => `toast:${ctx.id}:description`;
|
|
20
19
|
const getCloseTriggerId = (ctx) => `toast${ctx.id}:close`;
|
|
21
|
-
|
|
22
20
|
//#endregion
|
|
23
21
|
//#region src/machines/toast/toast.utils.ts
|
|
24
22
|
const defaultTimeouts = {
|
|
@@ -159,7 +157,6 @@ function getGhostAfterStyle() {
|
|
|
159
157
|
width: "100%"
|
|
160
158
|
};
|
|
161
159
|
}
|
|
162
|
-
|
|
163
160
|
//#endregion
|
|
164
161
|
//#region src/machines/toast/toast-group.connect.ts
|
|
165
162
|
function groupConnect(service, normalize) {
|
|
@@ -226,7 +223,6 @@ function groupConnect(service, normalize) {
|
|
|
226
223
|
}
|
|
227
224
|
};
|
|
228
225
|
}
|
|
229
|
-
|
|
230
226
|
//#endregion
|
|
231
227
|
//#region src/machines/toast/toast-group.machine.ts
|
|
232
228
|
const { guards, createMachine } = require_core.setup();
|
|
@@ -485,7 +481,6 @@ const groupMachine = createMachine({
|
|
|
485
481
|
}
|
|
486
482
|
}
|
|
487
483
|
});
|
|
488
|
-
|
|
489
484
|
//#endregion
|
|
490
485
|
//#region src/machines/toast/toast.connect.ts
|
|
491
486
|
function connect(service, normalize) {
|
|
@@ -610,7 +605,6 @@ function connect(service, normalize) {
|
|
|
610
605
|
}
|
|
611
606
|
};
|
|
612
607
|
}
|
|
613
|
-
|
|
614
608
|
//#endregion
|
|
615
609
|
//#region src/machines/toast/toast.machine.ts
|
|
616
610
|
const { not } = require_core.createGuards();
|
|
@@ -864,7 +858,6 @@ function setHeight(parent, item) {
|
|
|
864
858
|
} : i);
|
|
865
859
|
});
|
|
866
860
|
}
|
|
867
|
-
|
|
868
861
|
//#endregion
|
|
869
862
|
//#region src/machines/toast/toast.store.ts
|
|
870
863
|
const withDefaults = (options, defaults) => {
|
|
@@ -1141,17 +1134,15 @@ function createToastStore(props = {}) {
|
|
|
1141
1134
|
const isHttpResponse = (data) => {
|
|
1142
1135
|
return data && typeof data === "object" && "ok" in data && typeof data.ok === "boolean" && "status" in data && typeof data.status === "number";
|
|
1143
1136
|
};
|
|
1144
|
-
|
|
1145
1137
|
//#endregion
|
|
1146
1138
|
//#region src/machines/toast/index.ts
|
|
1147
1139
|
const group = {
|
|
1148
1140
|
connect: groupConnect,
|
|
1149
1141
|
machine: groupMachine
|
|
1150
1142
|
};
|
|
1151
|
-
|
|
1152
1143
|
//#endregion
|
|
1153
1144
|
exports.anatomy = anatomy;
|
|
1154
1145
|
exports.connect = connect;
|
|
1155
1146
|
exports.createStore = createToastStore;
|
|
1156
1147
|
exports.group = group;
|
|
1157
|
-
exports.machine = machine;
|
|
1148
|
+
exports.machine = machine;
|
|
@@ -1,7 +1,7 @@
|
|
|
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, h as Required, n as Direction, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { t as AnimationFrame } from "../../raf-
|
|
2
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
3
|
+
import { b as NormalizeProps, g as RequiredBy, h as Required, n as Direction, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
|
+
import { t as AnimationFrame } from "../../raf-v6M-OEna.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/toast/toast.types.d.ts
|
|
7
7
|
type Type = "success" | "error" | "loading" | "info" | (string & {});
|
|
@@ -175,7 +175,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
|
|
|
175
175
|
declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/machines/toast/toast.anatomy.d.ts
|
|
178
|
-
declare const anatomy: AnatomyInstance<"root" | "title" | "
|
|
178
|
+
declare const anatomy: AnatomyInstance<"root" | "title" | "group" | "description" | "actionTrigger" | "closeTrigger">;
|
|
179
179
|
//#endregion
|
|
180
180
|
//#region src/machines/toast/toast.connect.d.ts
|
|
181
181
|
declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
|
|
@@ -1,7 +1,7 @@
|
|
|
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, h as Required, n as Direction, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { t as AnimationFrame } from "../../raf-
|
|
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, h as Required, n as Direction, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
|
+
import { t as AnimationFrame } from "../../raf-CrnFMY1g.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/toast/toast.types.d.ts
|
|
7
7
|
type Type = "success" | "error" | "loading" | "info" | (string & {});
|
|
@@ -175,7 +175,7 @@ interface ToastApi<T extends PropTypes = PropTypes, O = any> {
|
|
|
175
175
|
declare function groupConnect<T extends PropTypes, O = any>(service: Service<ToastGroupSchema>, normalize: NormalizeProps<T>): ToastGroupApi<T, O>;
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/machines/toast/toast.anatomy.d.ts
|
|
178
|
-
declare const anatomy: AnatomyInstance<"root" | "title" | "
|
|
178
|
+
declare const anatomy: AnatomyInstance<"root" | "title" | "group" | "description" | "actionTrigger" | "closeTrigger">;
|
|
179
179
|
//#endregion
|
|
180
180
|
//#region src/machines/toast/toast.connect.d.ts
|
|
181
181
|
declare function connect<T extends PropTypes, O>(service: Service<ToastSchema<O>>, normalize: NormalizeProps<T>): ToastApi<T, O>;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { V as AnimationFrame, W as raf, Zt as contains, _n as MAX_Z_INDEX, ct as addDomEvent, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { Z as runIfFn, et as uuid, i as warn, l as compact, n as ensureProps, s as setRafTimeout } from "../../utils-
|
|
4
|
-
import { a as createMachine$1, i as createGuards, o as setup } from "../../core-
|
|
5
|
-
import "../../interact-outside-
|
|
6
|
-
import { t as trackDismissableBranch } from "../../dismissable-
|
|
7
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { V as AnimationFrame, W as raf, Zt as contains, _n as MAX_Z_INDEX, ct as addDomEvent, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { Z as runIfFn, et as uuid, i as warn, l as compact, n as ensureProps, s as setRafTimeout } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine$1, i as createGuards, o as setup } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import "../../interact-outside-C-8lOhpV.mjs";
|
|
6
|
+
import { t as trackDismissableBranch } from "../../dismissable-BAYaXwxZ.mjs";
|
|
8
7
|
//#region src/machines/toast/toast.anatomy.ts
|
|
9
8
|
const anatomy = createAnatomy("toast").parts("group", "root", "title", "description", "actionTrigger", "closeTrigger");
|
|
10
9
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
11
|
//#region src/machines/toast/toast.dom.ts
|
|
14
12
|
const getRegionId = (placement) => `toast-group:${placement}`;
|
|
@@ -18,7 +16,6 @@ const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
|
18
16
|
const getTitleId = (ctx) => `toast:${ctx.id}:title`;
|
|
19
17
|
const getDescriptionId = (ctx) => `toast:${ctx.id}:description`;
|
|
20
18
|
const getCloseTriggerId = (ctx) => `toast${ctx.id}:close`;
|
|
21
|
-
|
|
22
19
|
//#endregion
|
|
23
20
|
//#region src/machines/toast/toast.utils.ts
|
|
24
21
|
const defaultTimeouts = {
|
|
@@ -159,7 +156,6 @@ function getGhostAfterStyle() {
|
|
|
159
156
|
width: "100%"
|
|
160
157
|
};
|
|
161
158
|
}
|
|
162
|
-
|
|
163
159
|
//#endregion
|
|
164
160
|
//#region src/machines/toast/toast-group.connect.ts
|
|
165
161
|
function groupConnect(service, normalize) {
|
|
@@ -226,7 +222,6 @@ function groupConnect(service, normalize) {
|
|
|
226
222
|
}
|
|
227
223
|
};
|
|
228
224
|
}
|
|
229
|
-
|
|
230
225
|
//#endregion
|
|
231
226
|
//#region src/machines/toast/toast-group.machine.ts
|
|
232
227
|
const { guards, createMachine } = setup();
|
|
@@ -485,7 +480,6 @@ const groupMachine = createMachine({
|
|
|
485
480
|
}
|
|
486
481
|
}
|
|
487
482
|
});
|
|
488
|
-
|
|
489
483
|
//#endregion
|
|
490
484
|
//#region src/machines/toast/toast.connect.ts
|
|
491
485
|
function connect(service, normalize) {
|
|
@@ -610,7 +604,6 @@ function connect(service, normalize) {
|
|
|
610
604
|
}
|
|
611
605
|
};
|
|
612
606
|
}
|
|
613
|
-
|
|
614
607
|
//#endregion
|
|
615
608
|
//#region src/machines/toast/toast.machine.ts
|
|
616
609
|
const { not } = createGuards();
|
|
@@ -864,7 +857,6 @@ function setHeight(parent, item) {
|
|
|
864
857
|
} : i);
|
|
865
858
|
});
|
|
866
859
|
}
|
|
867
|
-
|
|
868
860
|
//#endregion
|
|
869
861
|
//#region src/machines/toast/toast.store.ts
|
|
870
862
|
const withDefaults = (options, defaults) => {
|
|
@@ -1141,13 +1133,11 @@ function createToastStore(props = {}) {
|
|
|
1141
1133
|
const isHttpResponse = (data) => {
|
|
1142
1134
|
return data && typeof data === "object" && "ok" in data && typeof data.ok === "boolean" && "status" in data && typeof data.status === "number";
|
|
1143
1135
|
};
|
|
1144
|
-
|
|
1145
1136
|
//#endregion
|
|
1146
1137
|
//#region src/machines/toast/index.ts
|
|
1147
1138
|
const group = {
|
|
1148
1139
|
connect: groupConnect,
|
|
1149
1140
|
machine: groupMachine
|
|
1150
1141
|
};
|
|
1151
|
-
|
|
1152
1142
|
//#endregion
|
|
1153
|
-
export { anatomy, connect, createToastStore as createStore, group, machine };
|
|
1143
|
+
export { anatomy, connect, createToastStore as createStore, group, 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/toggle/toggle.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("toggle", ["root", "indicator"]);
|
|
9
9
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/machines/toggle/toggle.connect.ts
|
|
13
12
|
function connect(service, normalize) {
|
|
@@ -48,7 +47,6 @@ function connect(service, normalize) {
|
|
|
48
47
|
}
|
|
49
48
|
};
|
|
50
49
|
}
|
|
51
|
-
|
|
52
50
|
//#endregion
|
|
53
51
|
//#region src/machines/toggle/toggle.machine.ts
|
|
54
52
|
const machine = require_core.createMachine({
|
|
@@ -84,7 +82,6 @@ const machine = require_core.createMachine({
|
|
|
84
82
|
}
|
|
85
83
|
} }
|
|
86
84
|
});
|
|
87
|
-
|
|
88
85
|
//#endregion
|
|
89
86
|
//#region src/machines/toggle/toggle.props.ts
|
|
90
87
|
const props = require_create_props.createProps()([
|
|
@@ -94,10 +91,9 @@ const props = require_create_props.createProps()([
|
|
|
94
91
|
"disabled"
|
|
95
92
|
]);
|
|
96
93
|
const splitProps = require_utils.createSplitProps(props);
|
|
97
|
-
|
|
98
94
|
//#endregion
|
|
99
95
|
exports.anatomy = anatomy;
|
|
100
96
|
exports.connect = connect;
|
|
101
97
|
exports.machine = machine;
|
|
102
98
|
exports.props = props;
|
|
103
|
-
exports.splitProps = splitProps;
|
|
99
|
+
exports.splitProps = splitProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Anatomy } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, 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, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/toggle/toggle.anatomy.d.ts
|
|
6
6
|
declare const anatomy: Anatomy<"root" | "indicator">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Anatomy } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, x as PropTypes } from "../../index-
|
|
1
|
+
import { t as Anatomy } 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, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/toggle/toggle.anatomy.d.ts
|
|
6
6
|
declare const anatomy: Anatomy<"root" | "indicator">;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { 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 { 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/toggle/toggle.anatomy.ts
|
|
8
7
|
const anatomy = createAnatomy("toggle", ["root", "indicator"]);
|
|
9
8
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region src/machines/toggle/toggle.connect.ts
|
|
13
11
|
function connect(service, normalize) {
|
|
@@ -48,7 +46,6 @@ function connect(service, normalize) {
|
|
|
48
46
|
}
|
|
49
47
|
};
|
|
50
48
|
}
|
|
51
|
-
|
|
52
49
|
//#endregion
|
|
53
50
|
//#region src/machines/toggle/toggle.machine.ts
|
|
54
51
|
const machine = createMachine({
|
|
@@ -84,7 +81,6 @@ const machine = createMachine({
|
|
|
84
81
|
}
|
|
85
82
|
} }
|
|
86
83
|
});
|
|
87
|
-
|
|
88
84
|
//#endregion
|
|
89
85
|
//#region src/machines/toggle/toggle.props.ts
|
|
90
86
|
const props = createProps()([
|
|
@@ -94,6 +90,5 @@ const props = createProps()([
|
|
|
94
90
|
"disabled"
|
|
95
91
|
]);
|
|
96
92
|
const splitProps = createSplitProps(props);
|
|
97
|
-
|
|
98
93
|
//#endregion
|
|
99
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
94
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -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/toggle-group/toggle-group.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("toggle-group").parts("root", "item");
|
|
9
9
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/machines/toggle-group/toggle-group.dom.ts
|
|
13
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `toggle-group:${ctx.id}`;
|
|
@@ -21,7 +20,6 @@ const getFirstEl = (ctx) => require_utils.first(getElements(ctx));
|
|
|
21
20
|
const getLastEl = (ctx) => require_utils.last(getElements(ctx));
|
|
22
21
|
const getNextEl = (ctx, id, loopFocus) => require_dom_query.nextById(getElements(ctx), id, loopFocus);
|
|
23
22
|
const getPrevEl = (ctx, id, loopFocus) => require_dom_query.prevById(getElements(ctx), id, loopFocus);
|
|
24
|
-
|
|
25
23
|
//#endregion
|
|
26
24
|
//#region src/machines/toggle-group/toggle-group.connect.ts
|
|
27
25
|
function connect(service, normalize) {
|
|
@@ -159,7 +157,6 @@ function connect(service, normalize) {
|
|
|
159
157
|
}
|
|
160
158
|
};
|
|
161
159
|
}
|
|
162
|
-
|
|
163
160
|
//#endregion
|
|
164
161
|
//#region src/machines/toggle-group/toggle-group.machine.ts
|
|
165
162
|
const { not, and } = require_core.createGuards();
|
|
@@ -296,7 +293,6 @@ const machine = require_core.createMachine({
|
|
|
296
293
|
}
|
|
297
294
|
}
|
|
298
295
|
});
|
|
299
|
-
|
|
300
296
|
//#endregion
|
|
301
297
|
//#region src/machines/toggle-group/toggle-group.props.ts
|
|
302
298
|
const props = require_create_props.createProps()([
|
|
@@ -317,7 +313,6 @@ const props = require_create_props.createProps()([
|
|
|
317
313
|
const splitProps = require_utils.createSplitProps(props);
|
|
318
314
|
const itemProps = require_create_props.createProps()(["value", "disabled"]);
|
|
319
315
|
const splitItemProps = require_utils.createSplitProps(itemProps);
|
|
320
|
-
|
|
321
316
|
//#endregion
|
|
322
317
|
exports.anatomy = anatomy;
|
|
323
318
|
exports.connect = connect;
|
|
@@ -325,4 +320,4 @@ exports.itemProps = itemProps;
|
|
|
325
320
|
exports.machine = machine;
|
|
326
321
|
exports.props = props;
|
|
327
322
|
exports.splitItemProps = splitItemProps;
|
|
328
|
-
exports.splitProps = splitProps;
|
|
323
|
+
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, d as Orientation, 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, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/toggle-group/toggle-group.anatomy.d.ts
|
|
6
6
|
declare const anatomy: AnatomyInstance<"root" | "item">;
|
|
@@ -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, d as Orientation, 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, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/toggle-group/toggle-group.anatomy.d.ts
|
|
6
6
|
declare const anatomy: AnatomyInstance<"root" | "item">;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { C as queryAll, W as raf, Zt as contains, b as nextById, pt as getEventTarget, ut as getEventKey, x as prevById, yn as dataAttr, zt as isSafari } from "../../dom-query-
|
|
3
|
-
import { ft as isEqual, mt as addOrRemove, n as ensureProps, nt as isArray, u as createSplitProps, vt as first, wt as last } from "../../utils-
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
-
import { t as createProps } from "../../create-props-
|
|
6
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { C as queryAll, W as raf, Zt as contains, b as nextById, pt as getEventTarget, ut as getEventKey, x as prevById, yn as dataAttr, zt as isSafari } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { ft as isEqual, mt as addOrRemove, n as ensureProps, nt as isArray, u as createSplitProps, vt as first, wt as last } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
7
6
|
//#region src/machines/toggle-group/toggle-group.anatomy.ts
|
|
8
7
|
const anatomy = createAnatomy("toggle-group").parts("root", "item");
|
|
9
8
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region src/machines/toggle-group/toggle-group.dom.ts
|
|
13
11
|
const getRootId = (ctx) => ctx.ids?.root ?? `toggle-group:${ctx.id}`;
|
|
@@ -21,7 +19,6 @@ const getFirstEl = (ctx) => first(getElements(ctx));
|
|
|
21
19
|
const getLastEl = (ctx) => last(getElements(ctx));
|
|
22
20
|
const getNextEl = (ctx, id, loopFocus) => nextById(getElements(ctx), id, loopFocus);
|
|
23
21
|
const getPrevEl = (ctx, id, loopFocus) => prevById(getElements(ctx), id, loopFocus);
|
|
24
|
-
|
|
25
22
|
//#endregion
|
|
26
23
|
//#region src/machines/toggle-group/toggle-group.connect.ts
|
|
27
24
|
function connect(service, normalize) {
|
|
@@ -159,7 +156,6 @@ function connect(service, normalize) {
|
|
|
159
156
|
}
|
|
160
157
|
};
|
|
161
158
|
}
|
|
162
|
-
|
|
163
159
|
//#endregion
|
|
164
160
|
//#region src/machines/toggle-group/toggle-group.machine.ts
|
|
165
161
|
const { not, and } = createGuards();
|
|
@@ -296,7 +292,6 @@ const machine = createMachine({
|
|
|
296
292
|
}
|
|
297
293
|
}
|
|
298
294
|
});
|
|
299
|
-
|
|
300
295
|
//#endregion
|
|
301
296
|
//#region src/machines/toggle-group/toggle-group.props.ts
|
|
302
297
|
const props = createProps()([
|
|
@@ -317,6 +312,5 @@ const props = createProps()([
|
|
|
317
312
|
const splitProps = createSplitProps(props);
|
|
318
313
|
const itemProps = createProps()(["value", "disabled"]);
|
|
319
314
|
const splitItemProps = createSplitProps(itemProps);
|
|
320
|
-
|
|
321
315
|
//#endregion
|
|
322
|
-
export { anatomy, connect, itemProps, machine, props, splitItemProps, splitProps };
|
|
316
|
+
export { anatomy, connect, itemProps, machine, props, splitItemProps, splitProps };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
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_popper = require("../../popper-zq1F_iY8.cjs");
|
|
8
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
9
9
|
//#region src/machines/tooltip/tooltip.anatomy.ts
|
|
10
10
|
const anatomy = require_create_anatomy.createAnatomy("tooltip").parts("trigger", "arrow", "arrowTip", "positioner", "content");
|
|
11
11
|
const parts = anatomy.build();
|
|
12
|
-
|
|
13
12
|
//#endregion
|
|
14
13
|
//#region src/machines/tooltip/tooltip.dom.ts
|
|
15
14
|
const getTriggerId = (scope) => scope.ids?.trigger ?? `tooltip:${scope.id}:trigger`;
|
|
@@ -18,7 +17,6 @@ const getArrowId = (scope) => scope.ids?.arrow ?? `tooltip:${scope.id}:arrow`;
|
|
|
18
17
|
const getPositionerId = (scope) => scope.ids?.positioner ?? `tooltip:${scope.id}:popper`;
|
|
19
18
|
const getTriggerEl = (scope) => scope.getById(getTriggerId(scope));
|
|
20
19
|
const getPositionerEl = (scope) => scope.getById(getPositionerId(scope));
|
|
21
|
-
|
|
22
20
|
//#endregion
|
|
23
21
|
//#region src/machines/tooltip/tooltip.store.ts
|
|
24
22
|
const store = require_utils.createStore({
|
|
@@ -26,7 +24,6 @@ const store = require_utils.createStore({
|
|
|
26
24
|
prevId: null,
|
|
27
25
|
instant: false
|
|
28
26
|
});
|
|
29
|
-
|
|
30
27
|
//#endregion
|
|
31
28
|
//#region src/machines/tooltip/tooltip.connect.ts
|
|
32
29
|
function connect(service, normalize) {
|
|
@@ -169,7 +166,6 @@ function connect(service, normalize) {
|
|
|
169
166
|
}
|
|
170
167
|
};
|
|
171
168
|
}
|
|
172
|
-
|
|
173
169
|
//#endregion
|
|
174
170
|
//#region src/machines/tooltip/tooltip.machine.ts
|
|
175
171
|
const { and, not } = require_core.createGuards();
|
|
@@ -502,7 +498,6 @@ const machine = require_core.createMachine({
|
|
|
502
498
|
}
|
|
503
499
|
}
|
|
504
500
|
});
|
|
505
|
-
|
|
506
501
|
//#endregion
|
|
507
502
|
//#region src/machines/tooltip/tooltip.props.ts
|
|
508
503
|
const props = require_create_props.createProps()([
|
|
@@ -525,10 +520,9 @@ const props = require_create_props.createProps()([
|
|
|
525
520
|
"positioning"
|
|
526
521
|
]);
|
|
527
522
|
const splitProps = require_utils.createSplitProps(props);
|
|
528
|
-
|
|
529
523
|
//#endregion
|
|
530
524
|
exports.anatomy = anatomy;
|
|
531
525
|
exports.connect = connect;
|
|
532
526
|
exports.machine = machine;
|
|
533
527
|
exports.props = props;
|
|
534
|
-
exports.splitProps = splitProps;
|
|
528
|
+
exports.splitProps = splitProps;
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
4
|
-
import { c as Placement, d as PositioningOptions } from "../../types-
|
|
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
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DEn9MoSw.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/tooltip/tooltip.types.d.ts
|
|
10
10
|
interface OpenChangeDetails {
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
4
|
-
import { p as PositioningOptions, u as Placement } 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
|
+
import { p as PositioningOptions, u as Placement } from "../../index-DHp3-EkH.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/tooltip/tooltip.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/tooltip/tooltip.types.d.ts
|
|
10
10
|
interface OpenChangeDetails {
|