@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,12 +1,12 @@
|
|
|
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 PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
5
|
-
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-
|
|
6
|
-
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 PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
5
|
+
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-ZgyqN8AD.cjs";
|
|
6
|
+
import { c as Placement, d as PositioningOptions } from "../../types-DEn9MoSw.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/popover/popover.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"trigger" | "content" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "arrow" | "arrowTip" | "positioner" | "title" | "description" | "closeTrigger" | "anchor">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/popover/popover.types.d.ts
|
|
12
12
|
interface OpenChangeDetails {
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-
|
|
5
|
-
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-
|
|
6
|
-
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 { c as PointerDownOutsideEvent, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
5
|
+
import { r as PersistentElementOptions, t as DismissableElementHandlers } from "../../dismissable-layer-h14gHVbJ.mjs";
|
|
6
|
+
import { p as PositioningOptions, u as Placement } from "../../index-DHp3-EkH.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/machines/popover/popover.anatomy.d.ts
|
|
9
|
-
declare const anatomy: AnatomyInstance<"trigger" | "content" | "
|
|
9
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "indicator" | "arrow" | "arrowTip" | "positioner" | "title" | "description" | "closeTrigger" | "anchor">;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/machines/popover/popover.types.d.ts
|
|
12
12
|
interface OpenChangeDetails {
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { G as getInitialFocus, W as raf, bt as isLeftClick, vn as ariaAttr, w as proxyTabFocus, yn as dataAttr, zt as isSafari } from "../../dom-query-
|
|
3
|
-
import { t as ariaHidden } from "../../aria-hidden-
|
|
4
|
-
import { u as createSplitProps } from "../../utils-
|
|
5
|
-
import { a as createMachine } from "../../core-
|
|
6
|
-
import "../../interact-outside-
|
|
7
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
8
|
-
import { t as trapFocus } from "../../focus-trap-
|
|
9
|
-
import { n as getPlacement, t as getPlacementStyles } from "../../popper-
|
|
10
|
-
import { t as createProps } from "../../create-props-
|
|
11
|
-
import { t as preventBodyScroll } from "../../remove-scroll-
|
|
12
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { G as getInitialFocus, W as raf, bt as isLeftClick, vn as ariaAttr, w as proxyTabFocus, yn as dataAttr, zt as isSafari } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { t as ariaHidden } from "../../aria-hidden-P3kaF8gG.mjs";
|
|
4
|
+
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
5
|
+
import { a as createMachine } from "../../core-DfVajPnu.mjs";
|
|
6
|
+
import "../../interact-outside-C-8lOhpV.mjs";
|
|
7
|
+
import { n as trackDismissableElement } from "../../dismissable-BAYaXwxZ.mjs";
|
|
8
|
+
import { t as trapFocus } from "../../focus-trap-Cd09JaUn.mjs";
|
|
9
|
+
import { n as getPlacement, t as getPlacementStyles } from "../../popper-CfOHZlHP.mjs";
|
|
10
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
11
|
+
import { t as preventBodyScroll } from "../../remove-scroll-DCUb1JPX.mjs";
|
|
13
12
|
//#region src/machines/popover/popover.anatomy.ts
|
|
14
13
|
const anatomy = createAnatomy("popover").parts("arrow", "arrowTip", "anchor", "trigger", "indicator", "positioner", "content", "title", "description", "closeTrigger");
|
|
15
14
|
const parts = anatomy.build();
|
|
16
|
-
|
|
17
15
|
//#endregion
|
|
18
16
|
//#region src/machines/popover/popover.dom.ts
|
|
19
17
|
const getAnchorId = (scope) => scope.ids?.anchor ?? `popover:${scope.id}:anchor`;
|
|
@@ -30,7 +28,6 @@ const getContentEl = (scope) => scope.getById(getContentId(scope));
|
|
|
30
28
|
const getPositionerEl = (scope) => scope.getById(getPositionerId(scope));
|
|
31
29
|
const getTitleEl = (scope) => scope.getById(getTitleId(scope));
|
|
32
30
|
const getDescriptionEl = (scope) => scope.getById(getDescriptionId(scope));
|
|
33
|
-
|
|
34
31
|
//#endregion
|
|
35
32
|
//#region src/machines/popover/popover.connect.ts
|
|
36
33
|
function connect(service, normalize) {
|
|
@@ -166,7 +163,6 @@ function connect(service, normalize) {
|
|
|
166
163
|
}
|
|
167
164
|
};
|
|
168
165
|
}
|
|
169
|
-
|
|
170
166
|
//#endregion
|
|
171
167
|
//#region src/machines/popover/popover.machine.ts
|
|
172
168
|
const machine = createMachine({
|
|
@@ -395,7 +391,6 @@ const machine = createMachine({
|
|
|
395
391
|
}
|
|
396
392
|
}
|
|
397
393
|
});
|
|
398
|
-
|
|
399
394
|
//#endregion
|
|
400
395
|
//#region src/machines/popover/popover.props.ts
|
|
401
396
|
const props = createProps()([
|
|
@@ -421,6 +416,5 @@ const props = createProps()([
|
|
|
421
416
|
"positioning"
|
|
422
417
|
]);
|
|
423
418
|
const splitProps = createSplitProps(props);
|
|
424
|
-
|
|
425
419
|
//#endregion
|
|
426
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
420
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
require(
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
3
|
+
require("../../utils-ByNiZU8f.cjs");
|
|
4
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
5
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
6
6
|
//#region src/machines/presence/presence.connect.ts
|
|
7
7
|
function connect(service, normalize) {
|
|
8
8
|
const { state, send, context } = service;
|
|
@@ -22,7 +22,6 @@ function connect(service, normalize) {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
|
|
26
25
|
//#endregion
|
|
27
26
|
//#region src/machines/presence/presence.machine.ts
|
|
28
27
|
const machine = require_core.createMachine({
|
|
@@ -177,7 +176,6 @@ const machine = require_core.createMachine({
|
|
|
177
176
|
function getAnimationName(styles) {
|
|
178
177
|
return styles?.animationName || "none";
|
|
179
178
|
}
|
|
180
|
-
|
|
181
179
|
//#endregion
|
|
182
180
|
//#region src/machines/presence/presence.props.ts
|
|
183
181
|
const props = require_create_props.createProps()([
|
|
@@ -185,8 +183,7 @@ const props = require_create_props.createProps()([
|
|
|
185
183
|
"present",
|
|
186
184
|
"immediate"
|
|
187
185
|
]);
|
|
188
|
-
|
|
189
186
|
//#endregion
|
|
190
187
|
exports.connect = connect;
|
|
191
188
|
exports.machine = machine;
|
|
192
|
-
exports.props = props;
|
|
189
|
+
exports.props = props;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
2
|
-
import { b as NormalizeProps, x as PropTypes } from "../../index-
|
|
1
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
2
|
+
import { b as NormalizeProps, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/machines/presence/presence.types.d.ts
|
|
5
5
|
interface PresenceProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
2
|
-
import { b as NormalizeProps, x as PropTypes } from "../../index-
|
|
1
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
2
|
+
import { b as NormalizeProps, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/machines/presence/presence.types.d.ts
|
|
5
5
|
interface PresenceProps {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { H as nextTick, W as raf, Xt as getComputedStyle, in as getWindow, pt as getEventTarget, u as setStyle } from "../../dom-query-
|
|
2
|
-
import "../../utils-
|
|
3
|
-
import { a as createMachine } from "../../core-
|
|
4
|
-
import { t as createProps } from "../../create-props-
|
|
5
|
-
|
|
1
|
+
import { H as nextTick, W as raf, Xt as getComputedStyle, in as getWindow, pt as getEventTarget, u as setStyle } from "../../dom-query-dX8Dakb4.mjs";
|
|
2
|
+
import "../../utils-VVoZ_v29.mjs";
|
|
3
|
+
import { a as createMachine } from "../../core-DfVajPnu.mjs";
|
|
4
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
6
5
|
//#region src/machines/presence/presence.connect.ts
|
|
7
6
|
function connect(service, normalize) {
|
|
8
7
|
const { state, send, context } = service;
|
|
@@ -22,7 +21,6 @@ function connect(service, normalize) {
|
|
|
22
21
|
}
|
|
23
22
|
};
|
|
24
23
|
}
|
|
25
|
-
|
|
26
24
|
//#endregion
|
|
27
25
|
//#region src/machines/presence/presence.machine.ts
|
|
28
26
|
const machine = createMachine({
|
|
@@ -177,7 +175,6 @@ const machine = createMachine({
|
|
|
177
175
|
function getAnimationName(styles) {
|
|
178
176
|
return styles?.animationName || "none";
|
|
179
177
|
}
|
|
180
|
-
|
|
181
178
|
//#endregion
|
|
182
179
|
//#region src/machines/presence/presence.props.ts
|
|
183
180
|
const props = createProps()([
|
|
@@ -185,6 +182,5 @@ const props = createProps()([
|
|
|
185
182
|
"present",
|
|
186
183
|
"immediate"
|
|
187
184
|
]);
|
|
188
|
-
|
|
189
185
|
//#endregion
|
|
190
|
-
export { connect, machine, props };
|
|
186
|
+
export { connect, machine, props };
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
require(
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
6
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
7
|
//#region src/machines/progress/progress.anatomy.ts
|
|
8
8
|
const anatomy = require_create_anatomy.createAnatomy("progress").parts("root", "label", "track", "range", "valueText", "view", "circle", "circleTrack", "circleRange");
|
|
9
9
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/machines/progress/progress.dom.ts
|
|
13
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `progress:${ctx.id}`;
|
|
14
13
|
const getTrackId = (ctx) => ctx.ids?.track ?? `progress:${ctx.id}:track`;
|
|
15
14
|
const getLabelId = (ctx) => ctx.ids?.label ?? `progress:${ctx.id}:label`;
|
|
16
15
|
const getCircleId = (ctx) => ctx.ids?.circle ?? `progress:${ctx.id}:circle`;
|
|
17
|
-
|
|
18
16
|
//#endregion
|
|
19
17
|
//#region src/machines/progress/progress.connect.ts
|
|
20
18
|
function connect(service, normalize) {
|
|
@@ -186,7 +184,6 @@ function getCircleProps(service) {
|
|
|
186
184
|
}
|
|
187
185
|
};
|
|
188
186
|
}
|
|
189
|
-
|
|
190
187
|
//#endregion
|
|
191
188
|
//#region src/machines/progress/progress.machine.ts
|
|
192
189
|
const machine = require_core.createMachine({
|
|
@@ -260,7 +257,6 @@ const isValidNumber = (max) => require_utils.isNumber(max) && !isNaN(max);
|
|
|
260
257
|
const isValidMax = (value, max) => isValidNumber(value) && value <= max;
|
|
261
258
|
const isValidMin = (value, min) => isValidNumber(value) && value >= min;
|
|
262
259
|
const midValue = (min, max) => min + (max - min) / 2;
|
|
263
|
-
|
|
264
260
|
//#endregion
|
|
265
261
|
//#region src/machines/progress/progress.props.ts
|
|
266
262
|
const props = require_create_props.createProps()([
|
|
@@ -279,10 +275,9 @@ const props = require_create_props.createProps()([
|
|
|
279
275
|
"locale"
|
|
280
276
|
]);
|
|
281
277
|
const splitProps = require_utils.createSplitProps(props);
|
|
282
|
-
|
|
283
278
|
//#endregion
|
|
284
279
|
exports.anatomy = anatomy;
|
|
285
280
|
exports.connect = connect;
|
|
286
281
|
exports.machine = machine;
|
|
287
282
|
exports.props = props;
|
|
288
|
-
exports.splitProps = splitProps;
|
|
283
|
+
exports.splitProps = splitProps;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
2
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-B24gMTKq.cjs";
|
|
3
|
+
import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/progress/progress.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "track" | "label" | "valueText" | "range" | "circle" | "view" | "circleTrack" | "circleRange">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/progress/progress.types.d.ts
|
|
9
9
|
type ProgressState = "indeterminate" | "loading" | "complete";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
1
|
+
import { n as AnatomyInstance } from "../../create-anatomy-BedZVdg0.mjs";
|
|
2
|
+
import { p as Machine, u as EventObject, y as Service } from "../../types-DUM9rzfD.mjs";
|
|
3
|
+
import { b as NormalizeProps, d as Orientation, f as OrientationProperty, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/progress/progress.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "track" | "label" | "valueText" | "range" | "circle" | "view" | "circleTrack" | "circleRange">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/progress/progress.types.d.ts
|
|
9
9
|
type ProgressState = "indeterminate" | "loading" | "complete";
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import "../../dom-query-
|
|
3
|
-
import { T as getValuePercent, st as isNumber, 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 { T as getValuePercent, st as isNumber, 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/progress/progress.anatomy.ts
|
|
8
7
|
const anatomy = createAnatomy("progress").parts("root", "label", "track", "range", "valueText", "view", "circle", "circleTrack", "circleRange");
|
|
9
8
|
const parts = anatomy.build();
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region src/machines/progress/progress.dom.ts
|
|
13
11
|
const getRootId = (ctx) => ctx.ids?.root ?? `progress:${ctx.id}`;
|
|
14
12
|
const getTrackId = (ctx) => ctx.ids?.track ?? `progress:${ctx.id}:track`;
|
|
15
13
|
const getLabelId = (ctx) => ctx.ids?.label ?? `progress:${ctx.id}:label`;
|
|
16
14
|
const getCircleId = (ctx) => ctx.ids?.circle ?? `progress:${ctx.id}:circle`;
|
|
17
|
-
|
|
18
15
|
//#endregion
|
|
19
16
|
//#region src/machines/progress/progress.connect.ts
|
|
20
17
|
function connect(service, normalize) {
|
|
@@ -186,7 +183,6 @@ function getCircleProps(service) {
|
|
|
186
183
|
}
|
|
187
184
|
};
|
|
188
185
|
}
|
|
189
|
-
|
|
190
186
|
//#endregion
|
|
191
187
|
//#region src/machines/progress/progress.machine.ts
|
|
192
188
|
const machine = createMachine({
|
|
@@ -260,7 +256,6 @@ const isValidNumber = (max) => isNumber(max) && !isNaN(max);
|
|
|
260
256
|
const isValidMax = (value, max) => isValidNumber(value) && value <= max;
|
|
261
257
|
const isValidMin = (value, min) => isValidNumber(value) && value >= min;
|
|
262
258
|
const midValue = (min, max) => min + (max - min) / 2;
|
|
263
|
-
|
|
264
259
|
//#endregion
|
|
265
260
|
//#region src/machines/progress/progress.props.ts
|
|
266
261
|
const props = createProps()([
|
|
@@ -279,6 +274,5 @@ const props = createProps()([
|
|
|
279
274
|
"locale"
|
|
280
275
|
]);
|
|
281
276
|
const splitProps = createSplitProps(props);
|
|
282
|
-
|
|
283
277
|
//#endregion
|
|
284
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
278
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../chunk-CKQMccvm.cjs");
|
|
3
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
4
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
5
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
6
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
7
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
7
8
|
let uqr = require("uqr");
|
|
8
|
-
|
|
9
9
|
//#region src/machines/qr-code/qr-code.anatomy.ts
|
|
10
10
|
const anatomy = require_create_anatomy.createAnatomy("qr-code").parts("root", "frame", "pattern", "overlay", "downloadTrigger");
|
|
11
11
|
const parts = anatomy.build();
|
|
12
|
-
|
|
13
12
|
//#endregion
|
|
14
13
|
//#region src/machines/qr-code/qr-code.dom.ts
|
|
15
14
|
const getRootId = (scope) => scope.ids?.root ?? `qrcode:${scope.id}:root`;
|
|
16
15
|
const getFrameId = (scope) => scope.ids?.frame ?? `qrcode:${scope.id}:frame`;
|
|
17
16
|
const getFrameEl = (scope) => scope.getById(getFrameId(scope));
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
18
|
//#region src/machines/qr-code/qr-code.connect.ts
|
|
21
19
|
function connect(service, normalize) {
|
|
@@ -96,7 +94,6 @@ function connect(service, normalize) {
|
|
|
96
94
|
}
|
|
97
95
|
};
|
|
98
96
|
}
|
|
99
|
-
|
|
100
97
|
//#endregion
|
|
101
98
|
//#region src/machines/qr-code/qr-code.machine.ts
|
|
102
99
|
const machine = require_core.createMachine({
|
|
@@ -148,7 +145,6 @@ const machine = require_core.createMachine({
|
|
|
148
145
|
}
|
|
149
146
|
} }
|
|
150
147
|
});
|
|
151
|
-
|
|
152
148
|
//#endregion
|
|
153
149
|
//#region src/machines/qr-code/qr-code.props.ts
|
|
154
150
|
const props = require_create_props.createProps()([
|
|
@@ -163,10 +159,9 @@ const props = require_create_props.createProps()([
|
|
|
163
159
|
"pixelSize"
|
|
164
160
|
]);
|
|
165
161
|
const splitProps = require_utils.createSplitProps(props);
|
|
166
|
-
|
|
167
162
|
//#endregion
|
|
168
163
|
exports.anatomy = anatomy;
|
|
169
164
|
exports.connect = connect;
|
|
170
165
|
exports.machine = machine;
|
|
171
166
|
exports.props = props;
|
|
172
|
-
exports.splitProps = splitProps;
|
|
167
|
+
exports.splitProps = splitProps;
|
|
@@ -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 { n as DataUrlType } from "../../data-url-
|
|
4
|
-
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 { n as DataUrlType } from "../../data-url-BLUK2DqG.cjs";
|
|
4
|
+
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
5
5
|
import { QrCodeGenerateOptions, QrCodeGenerateOptions as QrCodeGenerateOptions$1, QrCodeGenerateResult, QrCodeGenerateResult as QrCodeGenerateResult$1 } from "uqr";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/qr-code/qr-code.anatomy.d.ts
|
|
@@ -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 { n as DataUrlType } from "../../data-url-
|
|
4
|
-
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 { n as DataUrlType } from "../../data-url-Diut2Ch3.mjs";
|
|
4
|
+
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
5
5
|
import { QrCodeGenerateOptions, QrCodeGenerateOptions as QrCodeGenerateOptions$1, QrCodeGenerateResult, QrCodeGenerateResult as QrCodeGenerateResult$1 } from "uqr";
|
|
6
6
|
|
|
7
7
|
//#region src/machines/qr-code/qr-code.anatomy.d.ts
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { Ht as getDataUrl } from "../../dom-query-
|
|
3
|
-
import { u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine, s as memo } from "../../core-
|
|
5
|
-
import { t as createProps } from "../../create-props-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { Ht as getDataUrl } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { 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";
|
|
6
6
|
import { encode } from "uqr";
|
|
7
|
-
|
|
8
7
|
//#region src/machines/qr-code/qr-code.anatomy.ts
|
|
9
8
|
const anatomy = createAnatomy("qr-code").parts("root", "frame", "pattern", "overlay", "downloadTrigger");
|
|
10
9
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
11
|
//#region src/machines/qr-code/qr-code.dom.ts
|
|
14
12
|
const getRootId = (scope) => scope.ids?.root ?? `qrcode:${scope.id}:root`;
|
|
15
13
|
const getFrameId = (scope) => scope.ids?.frame ?? `qrcode:${scope.id}:frame`;
|
|
16
14
|
const getFrameEl = (scope) => scope.getById(getFrameId(scope));
|
|
17
|
-
|
|
18
15
|
//#endregion
|
|
19
16
|
//#region src/machines/qr-code/qr-code.connect.ts
|
|
20
17
|
function connect(service, normalize) {
|
|
@@ -95,7 +92,6 @@ function connect(service, normalize) {
|
|
|
95
92
|
}
|
|
96
93
|
};
|
|
97
94
|
}
|
|
98
|
-
|
|
99
95
|
//#endregion
|
|
100
96
|
//#region src/machines/qr-code/qr-code.machine.ts
|
|
101
97
|
const machine = createMachine({
|
|
@@ -147,7 +143,6 @@ const machine = createMachine({
|
|
|
147
143
|
}
|
|
148
144
|
} }
|
|
149
145
|
});
|
|
150
|
-
|
|
151
146
|
//#endregion
|
|
152
147
|
//#region src/machines/qr-code/qr-code.props.ts
|
|
153
148
|
const props = createProps()([
|
|
@@ -162,6 +157,5 @@ const props = createProps()([
|
|
|
162
157
|
"pixelSize"
|
|
163
158
|
]);
|
|
164
159
|
const splitProps = createSplitProps(props);
|
|
165
|
-
|
|
166
160
|
//#endregion
|
|
167
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
161
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
6
|
+
const require_focus_visible = require("../../focus-visible-CqHoOOjw.cjs");
|
|
7
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/radio-group/radio-group.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("radio-group").parts("root", "label", "item", "itemText", "itemControl", "indicator");
|
|
10
10
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
11
|
//#endregion
|
|
13
12
|
//#region src/machines/radio-group/radio-group.dom.ts
|
|
14
13
|
const getRootId = (ctx) => ctx.ids?.root ?? `radio-group:${ctx.id}`;
|
|
@@ -37,7 +36,6 @@ const getOffsetRect = (el) => ({
|
|
|
37
36
|
width: el?.offsetWidth ?? 0,
|
|
38
37
|
height: el?.offsetHeight ?? 0
|
|
39
38
|
});
|
|
40
|
-
|
|
41
39
|
//#endregion
|
|
42
40
|
//#region src/machines/radio-group/radio-group.connect.ts
|
|
43
41
|
function connect(service, normalize) {
|
|
@@ -273,7 +271,6 @@ function connect(service, normalize) {
|
|
|
273
271
|
}
|
|
274
272
|
};
|
|
275
273
|
}
|
|
276
|
-
|
|
277
274
|
//#endregion
|
|
278
275
|
//#region src/machines/radio-group/radio-group.machine.ts
|
|
279
276
|
const { not } = require_core.createGuards();
|
|
@@ -399,7 +396,6 @@ const machine = require_core.createMachine({
|
|
|
399
396
|
}
|
|
400
397
|
}
|
|
401
398
|
});
|
|
402
|
-
|
|
403
399
|
//#endregion
|
|
404
400
|
//#region src/machines/radio-group/radio-group.props.ts
|
|
405
401
|
const props = require_create_props.createProps()([
|
|
@@ -425,7 +421,6 @@ const itemProps = require_create_props.createProps()([
|
|
|
425
421
|
"invalid"
|
|
426
422
|
]);
|
|
427
423
|
const splitItemProps = require_utils.createSplitProps(itemProps);
|
|
428
|
-
|
|
429
424
|
//#endregion
|
|
430
425
|
exports.anatomy = anatomy;
|
|
431
426
|
exports.connect = connect;
|
|
@@ -433,4 +428,4 @@ exports.itemProps = itemProps;
|
|
|
433
428
|
exports.machine = machine;
|
|
434
429
|
exports.props = props;
|
|
435
430
|
exports.splitItemProps = splitItemProps;
|
|
436
|
-
exports.splitProps = splitProps;
|
|
431
|
+
exports.splitProps = splitProps;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, m as Rect, 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, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/radio-group/radio-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "itemText" | "label" | "itemControl">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/radio-group/radio-group.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -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, m as Rect, 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, m as Rect, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/machines/radio-group/radio-group.anatomy.d.ts
|
|
6
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
6
|
+
declare const anatomy: AnatomyInstance<"root" | "indicator" | "item" | "itemText" | "label" | "itemControl">;
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/machines/radio-group/radio-group.types.d.ts
|
|
9
9
|
interface ValueChangeDetails {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { C as queryAll, a as visuallyHiddenStyle, bt as isLeftClick, m as resizeObserverBorderBox, rt as dispatchInputCheckedEvent, st as trackFormControl, yn as dataAttr, zt as isSafari } from "../../dom-query-
|
|
3
|
-
import { H as toPx, 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 { C as queryAll, a as visuallyHiddenStyle, bt as isLeftClick, m as resizeObserverBorderBox, rt as dispatchInputCheckedEvent, st as trackFormControl, yn as dataAttr, zt as isSafari } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { H as toPx, 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/radio-group/radio-group.anatomy.ts
|
|
9
8
|
const anatomy = createAnatomy("radio-group").parts("root", "label", "item", "itemText", "itemControl", "indicator");
|
|
10
9
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
11
|
//#region src/machines/radio-group/radio-group.dom.ts
|
|
14
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `radio-group:${ctx.id}`;
|
|
@@ -37,7 +35,6 @@ const getOffsetRect = (el) => ({
|
|
|
37
35
|
width: el?.offsetWidth ?? 0,
|
|
38
36
|
height: el?.offsetHeight ?? 0
|
|
39
37
|
});
|
|
40
|
-
|
|
41
38
|
//#endregion
|
|
42
39
|
//#region src/machines/radio-group/radio-group.connect.ts
|
|
43
40
|
function connect(service, normalize) {
|
|
@@ -273,7 +270,6 @@ function connect(service, normalize) {
|
|
|
273
270
|
}
|
|
274
271
|
};
|
|
275
272
|
}
|
|
276
|
-
|
|
277
273
|
//#endregion
|
|
278
274
|
//#region src/machines/radio-group/radio-group.machine.ts
|
|
279
275
|
const { not } = createGuards();
|
|
@@ -399,7 +395,6 @@ const machine = createMachine({
|
|
|
399
395
|
}
|
|
400
396
|
}
|
|
401
397
|
});
|
|
402
|
-
|
|
403
398
|
//#endregion
|
|
404
399
|
//#region src/machines/radio-group/radio-group.props.ts
|
|
405
400
|
const props = createProps()([
|
|
@@ -425,6 +420,5 @@ const itemProps = createProps()([
|
|
|
425
420
|
"invalid"
|
|
426
421
|
]);
|
|
427
422
|
const splitItemProps = createSplitProps(itemProps);
|
|
428
|
-
|
|
429
423
|
//#endregion
|
|
430
|
-
export { anatomy, connect, itemProps, machine, props, splitItemProps, splitProps };
|
|
424
|
+
export { anatomy, connect, itemProps, machine, props, splitItemProps, splitProps };
|