@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,9 +1,9 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, 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/checkbox/checkbox.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "control">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/checkbox/checkbox.types.d.ts
|
|
9
9
|
type CheckedState = boolean | "indeterminate";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, 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/checkbox/checkbox.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "label" | "control">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/checkbox/checkbox.types.d.ts
|
|
9
9
|
type CheckedState = boolean | "indeterminate";
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { T as trackPress, a as visuallyHiddenStyle, at as setElementChecked, pt as getEventTarget, rt as dispatchInputCheckedEvent, st as trackFormControl, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
-
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-
|
|
6
|
-
import { t as createProps } from "../../create-props-
|
|
7
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { T as trackPress, a as visuallyHiddenStyle, at as setElementChecked, pt as getEventTarget, rt as dispatchInputCheckedEvent, st as trackFormControl, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { a as trackFocusVisible, n as isFocusVisible } from "../../focus-visible-CSuBQ5QZ.mjs";
|
|
6
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
8
7
|
//#region src/machines/checkbox/checkbox.anatomy.ts
|
|
9
8
|
const anatomy = createAnatomy("checkbox").parts("root", "label", "control", "indicator");
|
|
10
9
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
11
|
//#region src/machines/checkbox/checkbox.dom.ts
|
|
14
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `checkbox:${ctx.id}`;
|
|
@@ -17,7 +15,6 @@ const getControlId = (ctx) => ctx.ids?.control ?? `checkbox:${ctx.id}:control`;
|
|
|
17
15
|
const getHiddenInputId = (ctx) => ctx.ids?.hiddenInput ?? `checkbox:${ctx.id}:input`;
|
|
18
16
|
const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
19
17
|
const getHiddenInputEl = (ctx) => ctx.getById(getHiddenInputId(ctx));
|
|
20
|
-
|
|
21
18
|
//#endregion
|
|
22
19
|
//#region src/machines/checkbox/checkbox.connect.ts
|
|
23
20
|
function connect(service, normalize) {
|
|
@@ -165,7 +162,6 @@ function connect(service, normalize) {
|
|
|
165
162
|
}
|
|
166
163
|
};
|
|
167
164
|
}
|
|
168
|
-
|
|
169
165
|
//#endregion
|
|
170
166
|
//#region src/machines/checkbox/checkbox.machine.ts
|
|
171
167
|
const { not } = createGuards();
|
|
@@ -292,7 +288,6 @@ function isIndeterminate(checked) {
|
|
|
292
288
|
function isChecked(checked) {
|
|
293
289
|
return isIndeterminate(checked) ? false : !!checked;
|
|
294
290
|
}
|
|
295
|
-
|
|
296
291
|
//#endregion
|
|
297
292
|
//#region src/machines/checkbox/checkbox.props.ts
|
|
298
293
|
const props = createProps()([
|
|
@@ -312,6 +307,5 @@ const props = createProps()([
|
|
|
312
307
|
"value"
|
|
313
308
|
]);
|
|
314
309
|
const splitProps = createSplitProps(props);
|
|
315
|
-
|
|
316
310
|
//#endregion
|
|
317
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
311
|
+
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/clipboard/clipboard.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("clipboard").parts("root", "control", "trigger", "indicator", "input", "label");
|
|
9
9
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/machines/clipboard/clipboard.dom.ts
|
|
13
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `clip:${ctx.id}`;
|
|
@@ -48,7 +47,6 @@ function copyText(doc, text) {
|
|
|
48
47
|
doc.body.removeChild(node);
|
|
49
48
|
return Promise.resolve();
|
|
50
49
|
}
|
|
51
|
-
|
|
52
50
|
//#endregion
|
|
53
51
|
//#region src/machines/clipboard/clipboard.connect.ts
|
|
54
52
|
function connect(service, normalize) {
|
|
@@ -122,7 +120,6 @@ function connect(service, normalize) {
|
|
|
122
120
|
}
|
|
123
121
|
};
|
|
124
122
|
}
|
|
125
|
-
|
|
126
123
|
//#endregion
|
|
127
124
|
//#region src/machines/clipboard/clipboard.machine.ts
|
|
128
125
|
const machine = require_core.createMachine({
|
|
@@ -198,7 +195,6 @@ const machine = require_core.createMachine({
|
|
|
198
195
|
}
|
|
199
196
|
}
|
|
200
197
|
});
|
|
201
|
-
|
|
202
198
|
//#endregion
|
|
203
199
|
//#region src/machines/clipboard/clipboard.props.ts
|
|
204
200
|
const props = require_create_props.createProps()([
|
|
@@ -214,7 +210,6 @@ const props = require_create_props.createProps()([
|
|
|
214
210
|
const contextProps = require_utils.createSplitProps(props);
|
|
215
211
|
const indicatorProps = require_create_props.createProps()(["copied"]);
|
|
216
212
|
const splitIndicatorProps = require_utils.createSplitProps(indicatorProps);
|
|
217
|
-
|
|
218
213
|
//#endregion
|
|
219
214
|
exports.anatomy = anatomy;
|
|
220
215
|
exports.connect = connect;
|
|
@@ -222,4 +217,4 @@ exports.contextProps = contextProps;
|
|
|
222
217
|
exports.indicatorProps = indicatorProps;
|
|
223
218
|
exports.machine = machine;
|
|
224
219
|
exports.props = props;
|
|
225
|
-
exports.splitIndicatorProps = splitIndicatorProps;
|
|
220
|
+
exports.splitIndicatorProps = splitIndicatorProps;
|
|
@@ -1,9 +1,9 @@
|
|
|
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, g as RequiredBy, 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, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/clipboard/clipboard.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "label" | "input" | "control">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/clipboard/clipboard.types.d.ts
|
|
9
9
|
interface CopyStatusDetails {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-
|
|
1
|
+
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { p as Machine, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
3
|
+
import { b as NormalizeProps, g as RequiredBy, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/clipboard/clipboard.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "indicator" | "label" | "input" | "control">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/clipboard/clipboard.types.d.ts
|
|
9
9
|
interface CopyStatusDetails {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { in as getWindow, ot as setElementValue, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { s as setRafTimeout, 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 { in as getWindow, ot as setElementValue, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { s as setRafTimeout, 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/clipboard/clipboard.anatomy.ts
|
|
8
7
|
const anatomy = createAnatomy("clipboard").parts("root", "control", "trigger", "indicator", "input", "label");
|
|
9
8
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region src/machines/clipboard/clipboard.dom.ts
|
|
13
11
|
const getRootId = (ctx) => ctx.ids?.root ?? `clip:${ctx.id}`;
|
|
@@ -48,7 +46,6 @@ function copyText(doc, text) {
|
|
|
48
46
|
doc.body.removeChild(node);
|
|
49
47
|
return Promise.resolve();
|
|
50
48
|
}
|
|
51
|
-
|
|
52
49
|
//#endregion
|
|
53
50
|
//#region src/machines/clipboard/clipboard.connect.ts
|
|
54
51
|
function connect(service, normalize) {
|
|
@@ -122,7 +119,6 @@ function connect(service, normalize) {
|
|
|
122
119
|
}
|
|
123
120
|
};
|
|
124
121
|
}
|
|
125
|
-
|
|
126
122
|
//#endregion
|
|
127
123
|
//#region src/machines/clipboard/clipboard.machine.ts
|
|
128
124
|
const machine = createMachine({
|
|
@@ -198,7 +194,6 @@ const machine = createMachine({
|
|
|
198
194
|
}
|
|
199
195
|
}
|
|
200
196
|
});
|
|
201
|
-
|
|
202
197
|
//#endregion
|
|
203
198
|
//#region src/machines/clipboard/clipboard.props.ts
|
|
204
199
|
const props = createProps()([
|
|
@@ -214,6 +209,5 @@ const props = createProps()([
|
|
|
214
209
|
const contextProps = createSplitProps(props);
|
|
215
210
|
const indicatorProps = createProps()(["copied"]);
|
|
216
211
|
const splitIndicatorProps = createSplitProps(indicatorProps);
|
|
217
|
-
|
|
218
212
|
//#endregion
|
|
219
|
-
export { anatomy, connect, contextProps, indicatorProps, machine, props, splitIndicatorProps };
|
|
213
|
+
export { anatomy, connect, contextProps, indicatorProps, machine, props, splitIndicatorProps };
|
|
@@ -1,20 +1,18 @@
|
|
|
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/collapsible/collapsible.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("collapsible").parts("root", "trigger", "content", "indicator");
|
|
9
9
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/machines/collapsible/collapsible.dom.ts
|
|
13
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `collapsible:${ctx.id}`;
|
|
14
13
|
const getContentId = (ctx) => ctx.ids?.content ?? `collapsible:${ctx.id}:content`;
|
|
15
14
|
const getTriggerId = (ctx) => ctx.ids?.trigger ?? `collapsible:${ctx.id}:trigger`;
|
|
16
15
|
const getContentEl = (ctx) => ctx.getById(getContentId(ctx));
|
|
17
|
-
|
|
18
16
|
//#endregion
|
|
19
17
|
//#region src/machines/collapsible/collapsible.connect.ts
|
|
20
18
|
function connect(service, normalize) {
|
|
@@ -104,7 +102,6 @@ function connect(service, normalize) {
|
|
|
104
102
|
}
|
|
105
103
|
};
|
|
106
104
|
}
|
|
107
|
-
|
|
108
105
|
//#endregion
|
|
109
106
|
//#region src/machines/collapsible/collapsible.machine.ts
|
|
110
107
|
const machine = require_core.createMachine({
|
|
@@ -336,7 +333,6 @@ const machine = require_core.createMachine({
|
|
|
336
333
|
}
|
|
337
334
|
}
|
|
338
335
|
});
|
|
339
|
-
|
|
340
336
|
//#endregion
|
|
341
337
|
//#region src/machines/collapsible/collapsible.props.ts
|
|
342
338
|
const props = require_create_props.createProps()([
|
|
@@ -353,10 +349,9 @@ const props = require_create_props.createProps()([
|
|
|
353
349
|
"open"
|
|
354
350
|
]);
|
|
355
351
|
const splitProps = require_utils.createSplitProps(props);
|
|
356
|
-
|
|
357
352
|
//#endregion
|
|
358
353
|
exports.anatomy = anatomy;
|
|
359
354
|
exports.connect = connect;
|
|
360
355
|
exports.machine = machine;
|
|
361
356
|
exports.props = props;
|
|
362
|
-
exports.splitProps = splitProps;
|
|
357
|
+
exports.splitProps = splitProps;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
2
|
+
import { p as Machine, y as Service } from "../../types-B24gMTKq.cjs";
|
|
3
|
+
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/collapsible/collapsible.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/collapsible/collapsible.types.d.ts
|
|
9
9
|
interface OpenChangeDetails {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
1
|
+
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { p as Machine, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
3
|
+
import { b as NormalizeProps, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/collapsible/collapsible.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "content" | "indicator">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/collapsible/collapsible.types.d.ts
|
|
9
9
|
interface OpenChangeDetails {
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { B as observeChildren, H as nextTick, W as raf, Xt as getComputedStyle, c as setAttribute, et as getTabbables, pt as getEventTarget, u as setStyle, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { H as toPx, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
5
|
-
import { t as createProps } from "../../create-props-
|
|
6
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { B as observeChildren, H as nextTick, W as raf, Xt as getComputedStyle, c as setAttribute, et as getTabbables, pt as getEventTarget, u as setStyle, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { H as toPx, 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/collapsible/collapsible.anatomy.ts
|
|
8
7
|
const anatomy = createAnatomy("collapsible").parts("root", "trigger", "content", "indicator");
|
|
9
8
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region src/machines/collapsible/collapsible.dom.ts
|
|
13
11
|
const getRootId = (ctx) => ctx.ids?.root ?? `collapsible:${ctx.id}`;
|
|
14
12
|
const getContentId = (ctx) => ctx.ids?.content ?? `collapsible:${ctx.id}:content`;
|
|
15
13
|
const getTriggerId = (ctx) => ctx.ids?.trigger ?? `collapsible:${ctx.id}:trigger`;
|
|
16
14
|
const getContentEl = (ctx) => ctx.getById(getContentId(ctx));
|
|
17
|
-
|
|
18
15
|
//#endregion
|
|
19
16
|
//#region src/machines/collapsible/collapsible.connect.ts
|
|
20
17
|
function connect(service, normalize) {
|
|
@@ -104,7 +101,6 @@ function connect(service, normalize) {
|
|
|
104
101
|
}
|
|
105
102
|
};
|
|
106
103
|
}
|
|
107
|
-
|
|
108
104
|
//#endregion
|
|
109
105
|
//#region src/machines/collapsible/collapsible.machine.ts
|
|
110
106
|
const machine = createMachine({
|
|
@@ -336,7 +332,6 @@ const machine = createMachine({
|
|
|
336
332
|
}
|
|
337
333
|
}
|
|
338
334
|
});
|
|
339
|
-
|
|
340
335
|
//#endregion
|
|
341
336
|
//#region src/machines/collapsible/collapsible.props.ts
|
|
342
337
|
const props = createProps()([
|
|
@@ -353,6 +348,5 @@ const props = createProps()([
|
|
|
353
348
|
"open"
|
|
354
349
|
]);
|
|
355
350
|
const splitProps = createSplitProps(props);
|
|
356
|
-
|
|
357
351
|
//#endregion
|
|
358
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
352
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -1,13 +1,13 @@
|
|
|
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_color_utils = require("../../color-utils-XoYeFX3g.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/color-picker/color-picker.anatomy.ts
|
|
12
12
|
const anatomy = require_create_anatomy.createAnatomy("color-picker", [
|
|
13
13
|
"root",
|
|
@@ -36,7 +36,6 @@ const anatomy = require_create_anatomy.createAnatomy("color-picker", [
|
|
|
36
36
|
"formatSelect"
|
|
37
37
|
]);
|
|
38
38
|
const parts = anatomy.build();
|
|
39
|
-
|
|
40
39
|
//#endregion
|
|
41
40
|
//#region src/machines/color-picker/color-picker.dom.ts
|
|
42
41
|
const getRootId = (ctx) => ctx.ids?.root ?? `color-picker:${ctx.id}`;
|
|
@@ -89,7 +88,6 @@ const getChannelSliderValueFromPoint = (ctx, point, channel, dir) => {
|
|
|
89
88
|
const getChannelInputEls = (ctx) => {
|
|
90
89
|
return [...require_dom_query.queryAll(getContentEl(ctx), "input[data-channel]"), ...require_dom_query.queryAll(getControlEl(ctx), "input[data-channel]")];
|
|
91
90
|
};
|
|
92
|
-
|
|
93
91
|
//#endregion
|
|
94
92
|
//#region src/machines/color-picker/utils/get-channel-display-color.ts
|
|
95
93
|
function getChannelDisplayColor(color, channel) {
|
|
@@ -105,7 +103,6 @@ function getChannelDisplayColor(color, channel) {
|
|
|
105
103
|
default: throw new Error("Unknown color channel: " + channel);
|
|
106
104
|
}
|
|
107
105
|
}
|
|
108
|
-
|
|
109
106
|
//#endregion
|
|
110
107
|
//#region src/machines/color-picker/utils/get-channel-input-value.ts
|
|
111
108
|
function getChannelValue(color, channel) {
|
|
@@ -147,7 +144,6 @@ function getChannelRange(color, channel) {
|
|
|
147
144
|
default: return color.getChannelRange(channel);
|
|
148
145
|
}
|
|
149
146
|
}
|
|
150
|
-
|
|
151
147
|
//#endregion
|
|
152
148
|
//#region src/machines/color-picker/utils/get-slider-background.ts
|
|
153
149
|
function getSliderBackgroundDirection(orientation, dir) {
|
|
@@ -171,7 +167,6 @@ const getSliderBackground = (props) => {
|
|
|
171
167
|
default: throw new Error("Unknown color channel: " + channel);
|
|
172
168
|
}
|
|
173
169
|
};
|
|
174
|
-
|
|
175
170
|
//#endregion
|
|
176
171
|
//#region src/machines/color-picker/color-picker.connect.ts
|
|
177
172
|
function connect(service, normalize) {
|
|
@@ -907,13 +902,11 @@ function assertFormat(format) {
|
|
|
907
902
|
if (formatRegex.test(format)) return format;
|
|
908
903
|
throw new Error(`Unsupported color format: ${format}`);
|
|
909
904
|
}
|
|
910
|
-
|
|
911
905
|
//#endregion
|
|
912
906
|
//#region src/machines/color-picker/color-picker.parse.ts
|
|
913
907
|
const parse = (colorString) => {
|
|
914
908
|
return require_color_utils.parseColor(colorString);
|
|
915
909
|
};
|
|
916
|
-
|
|
917
910
|
//#endregion
|
|
918
911
|
//#region src/machines/color-picker/utils/is-valid-hex.ts
|
|
919
912
|
const HEX_REGEX = /^[0-9a-fA-F]{3,8}$/;
|
|
@@ -925,7 +918,6 @@ function prefixHex(value) {
|
|
|
925
918
|
if (isValidHex(value)) return `#${value}`;
|
|
926
919
|
return value;
|
|
927
920
|
}
|
|
928
|
-
|
|
929
921
|
//#endregion
|
|
930
922
|
//#region src/machines/color-picker/color-picker.machine.ts
|
|
931
923
|
const { and } = require_core.createGuards();
|
|
@@ -1476,7 +1468,6 @@ function syncFormatSelect(scope, format) {
|
|
|
1476
1468
|
if (!selectEl) return;
|
|
1477
1469
|
require_dom_query.raf(() => require_dom_query.setElementValue(selectEl, format));
|
|
1478
1470
|
}
|
|
1479
|
-
|
|
1480
1471
|
//#endregion
|
|
1481
1472
|
//#region src/machines/color-picker/color-picker.props.ts
|
|
1482
1473
|
const props = require_create_props.createProps()([
|
|
@@ -1520,7 +1511,6 @@ const swatchProps = require_create_props.createProps()(["value", "respectAlpha"]
|
|
|
1520
1511
|
const splitSwatchProps = require_utils.createSplitProps(swatchProps);
|
|
1521
1512
|
const transparencyGridProps = require_create_props.createProps()(["size"]);
|
|
1522
1513
|
const splitTransparencyGridProps = require_utils.createSplitProps(transparencyGridProps);
|
|
1523
|
-
|
|
1524
1514
|
//#endregion
|
|
1525
1515
|
exports.anatomy = anatomy;
|
|
1526
1516
|
exports.areaProps = areaProps;
|
|
@@ -1537,4 +1527,4 @@ exports.splitSwatchTriggerProps = splitSwatchTriggerProps;
|
|
|
1537
1527
|
exports.splitTransparencyGridProps = splitTransparencyGridProps;
|
|
1538
1528
|
exports.swatchProps = swatchProps;
|
|
1539
1529
|
exports.swatchTriggerProps = swatchTriggerProps;
|
|
1540
|
-
exports.transparencyGridProps = transparencyGridProps;
|
|
1530
|
+
exports.transparencyGridProps = transparencyGridProps;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as Anatomy } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-
|
|
3
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
4
|
-
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
5
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
6
|
-
import { d as PositioningOptions } from "../../types-
|
|
2
|
+
import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-vvN_Cdao.cjs";
|
|
3
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
4
|
+
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
5
|
+
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
6
|
+
import { d as PositioningOptions } from "../../types-DEn9MoSw.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/color-picker/color-picker.anatomy.d.ts
|
|
9
|
-
declare const anatomy: Anatomy<"
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "trigger" | "content" | "label" | "valueText" | "positioner" | "control" | "area" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/color-picker/color-picker.types.d.ts
|
|
12
12
|
type ExtendedColorChannel = ColorChannel | "hex" | "css";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as Anatomy } from "../../create-anatomy-
|
|
2
|
-
import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-
|
|
3
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
4
|
-
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
5
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
6
|
-
import { p as PositioningOptions } from "../../index-
|
|
1
|
+
import { t as Anatomy } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { a as ColorFormat, n as ColorAxes, r as ColorChannel, s as ColorType, t as Color } from "../../color-tco923EC.mjs";
|
|
3
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
4
|
+
import { b as NormalizeProps, d as Orientation, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
5
|
+
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
6
|
+
import { p as PositioningOptions } from "../../index-DHp3-EkH.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/color-picker/color-picker.anatomy.d.ts
|
|
9
|
-
declare const anatomy: Anatomy<"
|
|
9
|
+
declare const anatomy: Anatomy<"root" | "trigger" | "content" | "label" | "valueText" | "positioner" | "control" | "area" | "areaThumb" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/color-picker/color-picker.types.d.ts
|
|
12
12
|
type ExtendedColorChannel = ColorChannel | "hex" | "css";
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { A as getRelativePoint, C as queryAll, D as disableTextSelection, E as trackPointerMove, G as getInitialFocus, S as query, W as raf, a as visuallyHiddenStyle, bt as isLeftClick, dt as getEventPoint, ft as getEventStep, it as dispatchInputValueEvent, ot as setElementValue, st as trackFormControl, ut as getEventKey, xt as isModifierKey, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { $ as tryCatch, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { i as getColorAreaGradient, n as parseColor, t as normalizeColor } from "../../color-utils-
|
|
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 { A as getRelativePoint, C as queryAll, D as disableTextSelection, E as trackPointerMove, G as getInitialFocus, S as query, W as raf, a as visuallyHiddenStyle, bt as isLeftClick, dt as getEventPoint, ft as getEventStep, it as dispatchInputValueEvent, ot as setElementValue, st as trackFormControl, ut as getEventKey, xt as isModifierKey, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { $ as tryCatch, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { i as getColorAreaGradient, n as parseColor, t as normalizeColor } from "../../color-utils-BK3Ae7x1.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/color-picker/color-picker.anatomy.ts
|
|
12
11
|
const anatomy = createAnatomy("color-picker", [
|
|
13
12
|
"root",
|
|
@@ -36,7 +35,6 @@ const anatomy = createAnatomy("color-picker", [
|
|
|
36
35
|
"formatSelect"
|
|
37
36
|
]);
|
|
38
37
|
const parts = anatomy.build();
|
|
39
|
-
|
|
40
38
|
//#endregion
|
|
41
39
|
//#region src/machines/color-picker/color-picker.dom.ts
|
|
42
40
|
const getRootId = (ctx) => ctx.ids?.root ?? `color-picker:${ctx.id}`;
|
|
@@ -89,7 +87,6 @@ const getChannelSliderValueFromPoint = (ctx, point, channel, dir) => {
|
|
|
89
87
|
const getChannelInputEls = (ctx) => {
|
|
90
88
|
return [...queryAll(getContentEl(ctx), "input[data-channel]"), ...queryAll(getControlEl(ctx), "input[data-channel]")];
|
|
91
89
|
};
|
|
92
|
-
|
|
93
90
|
//#endregion
|
|
94
91
|
//#region src/machines/color-picker/utils/get-channel-display-color.ts
|
|
95
92
|
function getChannelDisplayColor(color, channel) {
|
|
@@ -105,7 +102,6 @@ function getChannelDisplayColor(color, channel) {
|
|
|
105
102
|
default: throw new Error("Unknown color channel: " + channel);
|
|
106
103
|
}
|
|
107
104
|
}
|
|
108
|
-
|
|
109
105
|
//#endregion
|
|
110
106
|
//#region src/machines/color-picker/utils/get-channel-input-value.ts
|
|
111
107
|
function getChannelValue(color, channel) {
|
|
@@ -147,7 +143,6 @@ function getChannelRange(color, channel) {
|
|
|
147
143
|
default: return color.getChannelRange(channel);
|
|
148
144
|
}
|
|
149
145
|
}
|
|
150
|
-
|
|
151
146
|
//#endregion
|
|
152
147
|
//#region src/machines/color-picker/utils/get-slider-background.ts
|
|
153
148
|
function getSliderBackgroundDirection(orientation, dir) {
|
|
@@ -171,7 +166,6 @@ const getSliderBackground = (props) => {
|
|
|
171
166
|
default: throw new Error("Unknown color channel: " + channel);
|
|
172
167
|
}
|
|
173
168
|
};
|
|
174
|
-
|
|
175
169
|
//#endregion
|
|
176
170
|
//#region src/machines/color-picker/color-picker.connect.ts
|
|
177
171
|
function connect(service, normalize) {
|
|
@@ -907,13 +901,11 @@ function assertFormat(format) {
|
|
|
907
901
|
if (formatRegex.test(format)) return format;
|
|
908
902
|
throw new Error(`Unsupported color format: ${format}`);
|
|
909
903
|
}
|
|
910
|
-
|
|
911
904
|
//#endregion
|
|
912
905
|
//#region src/machines/color-picker/color-picker.parse.ts
|
|
913
906
|
const parse = (colorString) => {
|
|
914
907
|
return parseColor(colorString);
|
|
915
908
|
};
|
|
916
|
-
|
|
917
909
|
//#endregion
|
|
918
910
|
//#region src/machines/color-picker/utils/is-valid-hex.ts
|
|
919
911
|
const HEX_REGEX = /^[0-9a-fA-F]{3,8}$/;
|
|
@@ -925,7 +917,6 @@ function prefixHex(value) {
|
|
|
925
917
|
if (isValidHex(value)) return `#${value}`;
|
|
926
918
|
return value;
|
|
927
919
|
}
|
|
928
|
-
|
|
929
920
|
//#endregion
|
|
930
921
|
//#region src/machines/color-picker/color-picker.machine.ts
|
|
931
922
|
const { and } = createGuards();
|
|
@@ -1476,7 +1467,6 @@ function syncFormatSelect(scope, format) {
|
|
|
1476
1467
|
if (!selectEl) return;
|
|
1477
1468
|
raf(() => setElementValue(selectEl, format));
|
|
1478
1469
|
}
|
|
1479
|
-
|
|
1480
1470
|
//#endregion
|
|
1481
1471
|
//#region src/machines/color-picker/color-picker.props.ts
|
|
1482
1472
|
const props = createProps()([
|
|
@@ -1520,6 +1510,5 @@ const swatchProps = createProps()(["value", "respectAlpha"]);
|
|
|
1520
1510
|
const splitSwatchProps = createSplitProps(swatchProps);
|
|
1521
1511
|
const transparencyGridProps = createProps()(["size"]);
|
|
1522
1512
|
const splitTransparencyGridProps = createSplitProps(transparencyGridProps);
|
|
1523
|
-
|
|
1524
1513
|
//#endregion
|
|
1525
|
-
export { anatomy, areaProps, channelProps, connect, machine, parse, props, splitAreaProps, splitChannelProps, splitProps, splitSwatchProps, splitSwatchTriggerProps, splitTransparencyGridProps, swatchProps, swatchTriggerProps, transparencyGridProps };
|
|
1514
|
+
export { anatomy, areaProps, channelProps, connect, machine, parse, props, splitAreaProps, splitChannelProps, splitProps, splitSwatchProps, splitSwatchTriggerProps, splitTransparencyGridProps, swatchProps, swatchTriggerProps, transparencyGridProps };
|