@sprawlify/primitives 0.0.86 → 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 +2 -2
- package/dist/core.d.mts +2 -2
- package/dist/core.mjs +4 -5
- package/dist/{create-anatomy-CDsIFUXg.cjs → create-anatomy-BnwEmNnc.cjs} +6 -8
- package/dist/{create-anatomy-BVqM_FJ6.mjs → create-anatomy-Dr0evdYy.mjs} +1 -2
- package/dist/{create-props-Dtoa4OUk.mjs → create-props-DFW8DUsC.mjs} +1 -2
- package/dist/create-props-DP39rHnH.cjs +9 -0
- package/dist/{date-utils-BDBOiT_6.cjs → date-utils-BuJkKL09.cjs} +265 -279
- package/dist/{date-utils-LnVS7q0z.mjs → date-utils-DCaRa_Ry.mjs} +1 -15
- package/dist/date-utils.cjs +3 -3
- package/dist/date-utils.d.cts +1 -1
- package/dist/date-utils.d.mts +1 -1
- package/dist/date-utils.mjs +2 -3
- package/dist/{defineProperty-_bOnJOii.cjs → defineProperty-8IOBQ1i_.cjs} +10 -15
- package/dist/{defineProperty-DR_NxfHn.mjs → defineProperty-D5oW_HU_.mjs} +5 -9
- package/dist/{dismissable-BlZazbp3.mjs → dismissable-BAYaXwxZ.mjs} +4 -9
- package/dist/{dismissable-DSFGuAU6.cjs → dismissable-DPXx0m0m.cjs} +14 -19
- package/dist/{dismissable-layer-B2bSyA07.d.cts → dismissable-layer-ZgyqN8AD.d.cts} +2 -2
- package/dist/{dismissable-layer-CpUMMV1f.d.mts → dismissable-layer-h14gHVbJ.d.mts} +2 -2
- package/dist/dismissable.cjs +6 -6
- package/dist/dismissable.d.cts +2 -2
- package/dist/dismissable.d.mts +2 -2
- package/dist/dismissable.mjs +5 -6
- package/dist/{dom-query-CAFhX43H.cjs → dom-query-6Wt-Tikf.cjs} +775 -806
- package/dist/{dom-query-CQFBCdpo.mjs → dom-query-dX8Dakb4.mjs} +2 -33
- package/dist/dom-query.cjs +3 -3
- package/dist/dom-query.d.cts +6 -6
- package/dist/dom-query.d.mts +6 -6
- package/dist/dom-query.mjs +2 -3
- package/dist/{file-utils-Bkp18nrt.cjs → file-utils-CY6_zVut.cjs} +52 -67
- package/dist/{file-utils-lcjM-YjV.mjs → file-utils-VgQ3YV2A.mjs} +2 -16
- package/dist/file-utils.cjs +3 -3
- package/dist/file-utils.d.cts +1 -1
- package/dist/file-utils.d.mts +1 -1
- package/dist/file-utils.mjs +2 -3
- package/dist/{focus-trap-BXT0oBtL.mjs → focus-trap-Cd09JaUn.mjs} +3 -6
- package/dist/{focus-trap-zaIiaoqE.cjs → focus-trap-ClCNF7kY.cjs} +13 -16
- package/dist/focus-trap.cjs +4 -4
- package/dist/focus-trap.mjs +3 -4
- package/dist/{focus-visible-DjGDsaLn.mjs → focus-visible-CSuBQ5QZ.mjs} +2 -4
- package/dist/{focus-visible-3pXNNo-l.cjs → focus-visible-CqHoOOjw.cjs} +32 -34
- package/dist/focus-visible.cjs +4 -4
- package/dist/focus-visible.mjs +3 -4
- package/dist/highlight-word.cjs +2 -7
- package/dist/highlight-word.mjs +1 -6
- package/dist/hotkeys.cjs +11 -20
- package/dist/hotkeys.mjs +10 -20
- package/dist/{i18n-utils-KuoJj66z.mjs → i18n-utils-DHGN_KCY.mjs} +2 -14
- package/dist/{i18n-utils-CK27xonZ.cjs → i18n-utils-Dm8cGCol.cjs} +57 -69
- package/dist/i18n-utils.cjs +4 -4
- package/dist/i18n-utils.mjs +3 -4
- package/dist/index.mjs +1 -1
- package/dist/{interact-outside-CRmkKF6k.mjs → interact-outside-C-8lOhpV.mjs} +3 -6
- package/dist/{interact-outside-Dk2otQqs.cjs → interact-outside-DRaFGdMg.cjs} +8 -11
- package/dist/interact-outside.cjs +5 -5
- package/dist/interact-outside.d.cts +1 -1
- package/dist/interact-outside.d.mts +1 -1
- package/dist/interact-outside.mjs +4 -5
- package/dist/json-tree-utils.cjs +6 -11
- package/dist/json-tree-utils.mjs +5 -10
- package/dist/{list-collection-C9XUe75n.d.mts → list-collection-B_8BN0XB.d.cts} +1 -1
- package/dist/{list-collection-DwMgPYoA.d.cts → list-collection-DkRA5LOq.d.mts} +1 -1
- package/dist/{live-region-2RiuzOr-.cjs → live-region-TGReV9nm.cjs} +6 -8
- package/dist/{live-region-CBp2K1JK.mjs → live-region-TgEDzvS4.mjs} +1 -2
- package/dist/live-region.cjs +3 -3
- package/dist/live-region.d.cts +1 -1
- package/dist/live-region.d.mts +1 -1
- package/dist/live-region.mjs +2 -3
- package/dist/machines/accordion/index.cjs +7 -12
- package/dist/machines/accordion/index.d.cts +2 -2
- package/dist/machines/accordion/index.d.mts +3 -3
- 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 +2 -2
- package/dist/machines/aspect-ratio/index.d.mts +3 -3
- 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 +3 -3
- package/dist/machines/editable/index.d.mts +4 -4
- 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 +2 -2
- package/dist/machines/image-cropper/index.d.mts +3 -3
- 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 +2 -2
- package/dist/machines/pin-input/index.d.mts +3 -3
- 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 +3 -3
- package/dist/machines/signature-pad/index.d.mts +4 -4
- package/dist/machines/signature-pad/index.mjs +6 -13
- package/dist/machines/slider/index.cjs +7 -14
- package/dist/machines/slider/index.d.cts +3 -3
- package/dist/machines/slider/index.d.mts +4 -4
- package/dist/machines/slider/index.mjs +6 -14
- package/dist/machines/splitter/index.cjs +12 -27
- package/dist/machines/splitter/index.d.cts +2 -2
- package/dist/machines/splitter/index.d.mts +3 -3
- 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,17 +1,15 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { C as queryAll, Ct as isPrintableKey, G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, L as clickIfLink, St as isOpeningInNewTab, W as raf, Zt as contains, cn as isEditableElement, ct as addDomEvent, dt as getEventPoint, in as getWindow, on as isAnchorElement, pt as getEventTarget, s as getByTypeahead, un as isHTMLElement, ut as getEventKey, vn as ariaAttr, vt as isDownloadingEvent, xt as isModifierKey, yn as dataAttr, z as observeAttributes } from "../../dom-query-
|
|
3
|
-
import { G as cast, Ot as prev, Tt as next, ft as isEqual, tt as hasProp, u as createSplitProps, vt as first, wt as last } from "../../utils-
|
|
4
|
-
import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-
|
|
5
|
-
import "../../interact-outside-
|
|
6
|
-
import { n as trackDismissableElement } from "../../dismissable-
|
|
7
|
-
import { n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "../../popper-
|
|
8
|
-
import { i as isPointInPolygon, r as getElementPolygon } from "../../rect-utils-
|
|
9
|
-
import { t as createProps } from "../../create-props-
|
|
10
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { C as queryAll, Ct as isPrintableKey, G as getInitialFocus, I as scrollIntoView, K as isValidTabEvent, L as clickIfLink, St as isOpeningInNewTab, W as raf, Zt as contains, cn as isEditableElement, ct as addDomEvent, dt as getEventPoint, in as getWindow, on as isAnchorElement, pt as getEventTarget, s as getByTypeahead, un as isHTMLElement, ut as getEventKey, vn as ariaAttr, vt as isDownloadingEvent, xt as isModifierKey, yn as dataAttr, z as observeAttributes } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { G as cast, Ot as prev, Tt as next, ft as isEqual, tt as hasProp, u as createSplitProps, vt as first, wt as last } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine, c as mergeProps, i as createGuards } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import "../../interact-outside-C-8lOhpV.mjs";
|
|
6
|
+
import { n as trackDismissableElement } from "../../dismissable-BAYaXwxZ.mjs";
|
|
7
|
+
import { n as getPlacement, r as getPlacementSide, t as getPlacementStyles } from "../../popper-CfOHZlHP.mjs";
|
|
8
|
+
import { i as isPointInPolygon, r as getElementPolygon } from "../../rect-utils-B5xqFvKC.mjs";
|
|
9
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
11
10
|
//#region src/machines/dropdown-menu/dropdown-menu.anatomy.ts
|
|
12
11
|
const anatomy = createAnatomy("dropdown-menu").parts("arrow", "arrowTip", "content", "indicator", "item", "itemGroup", "itemGroupLabel", "itemIndicator", "itemText", "positioner", "separator", "trigger", "triggerItem");
|
|
13
12
|
const parts = anatomy.build();
|
|
14
|
-
|
|
15
13
|
//#endregion
|
|
16
14
|
//#region src/machines/dropdown-menu/dropdown-menu.dom.ts
|
|
17
15
|
const getTriggerId = (ctx) => ctx.ids?.trigger ?? `dropdown-menu:${ctx.id}:trigger`;
|
|
@@ -65,7 +63,6 @@ function dispatchSelectionEvent(el, value) {
|
|
|
65
63
|
const event = new (getWindow(el)).CustomEvent(itemSelectEvent, { detail: { value } });
|
|
66
64
|
el.dispatchEvent(event);
|
|
67
65
|
}
|
|
68
|
-
|
|
69
66
|
//#endregion
|
|
70
67
|
//#region src/machines/dropdown-menu/dropdown-menu.connect.ts
|
|
71
68
|
function connect(service, normalize) {
|
|
@@ -484,7 +481,6 @@ function connect(service, normalize) {
|
|
|
484
481
|
}
|
|
485
482
|
};
|
|
486
483
|
}
|
|
487
|
-
|
|
488
484
|
//#endregion
|
|
489
485
|
//#region src/machines/dropdown-menu/dropdown-menu.machine.ts
|
|
490
486
|
const { not, and, or } = createGuards();
|
|
@@ -1058,8 +1054,7 @@ const machine = createMachine({
|
|
|
1058
1054
|
invokeOnSelect({ context, prop, scope }) {
|
|
1059
1055
|
const value = context.get("highlightedValue");
|
|
1060
1056
|
if (value == null) return;
|
|
1061
|
-
|
|
1062
|
-
dispatchSelectionEvent(node, value);
|
|
1057
|
+
dispatchSelectionEvent(getItemEl(scope, value), value);
|
|
1063
1058
|
prop("onSelect")?.({ value });
|
|
1064
1059
|
},
|
|
1065
1060
|
focusTrigger({ scope, context, event }) {
|
|
@@ -1155,7 +1150,6 @@ function resolveItemId(children, value, scope) {
|
|
|
1155
1150
|
}
|
|
1156
1151
|
return getItemId(scope, value);
|
|
1157
1152
|
}
|
|
1158
|
-
|
|
1159
1153
|
//#endregion
|
|
1160
1154
|
//#region src/machines/dropdown-menu/dropdown-menu.props.ts
|
|
1161
1155
|
const props = createProps()([
|
|
@@ -1206,6 +1200,5 @@ const optionItemProps = createProps()([
|
|
|
1206
1200
|
"valueText"
|
|
1207
1201
|
]);
|
|
1208
1202
|
const splitOptionItemProps = createSplitProps(optionItemProps);
|
|
1209
|
-
|
|
1210
1203
|
//#endregion
|
|
1211
|
-
export { anatomy, connect, itemGroupLabelProps, itemGroupProps, itemProps, machine, optionItemProps, props, splitItemGroupLabelProps, splitItemGroupProps, splitItemProps, splitOptionItemProps, splitProps };
|
|
1204
|
+
export { anatomy, connect, itemGroupLabelProps, itemGroupProps, itemProps, machine, optionItemProps, props, splitItemGroupLabelProps, splitItemGroupProps, splitItemProps, splitOptionItemProps, 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_interact_outside = require("../../interact-outside-DRaFGdMg.cjs");
|
|
7
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
8
8
|
//#region src/machines/editable/editable.anatomy.ts
|
|
9
9
|
const anatomy = require_create_anatomy.createAnatomy("editable").parts("root", "area", "label", "preview", "input", "editTrigger", "submitTrigger", "cancelTrigger", "control");
|
|
10
10
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
11
|
//#endregion
|
|
13
12
|
//#region src/machines/editable/editable.dom.ts
|
|
14
13
|
const getRootId = (ctx) => ctx.ids?.root ?? `editable:${ctx.id}`;
|
|
@@ -25,7 +24,6 @@ const getPreviewEl = (ctx) => ctx.getById(getPreviewId(ctx));
|
|
|
25
24
|
const getSubmitTriggerEl = (ctx) => ctx.getById(getSubmitTriggerId(ctx));
|
|
26
25
|
const getCancelTriggerEl = (ctx) => ctx.getById(getCancelTriggerId(ctx));
|
|
27
26
|
const getEditTriggerEl = (ctx) => ctx.getById(getEditTriggerId(ctx));
|
|
28
|
-
|
|
29
27
|
//#endregion
|
|
30
28
|
//#region src/machines/editable/editable.connect.ts
|
|
31
29
|
function connect(service, normalize) {
|
|
@@ -291,7 +289,6 @@ function connect(service, normalize) {
|
|
|
291
289
|
}
|
|
292
290
|
};
|
|
293
291
|
}
|
|
294
|
-
|
|
295
292
|
//#endregion
|
|
296
293
|
//#region src/machines/editable/editable.machine.ts
|
|
297
294
|
const machine = require_core.createMachine({
|
|
@@ -507,7 +504,6 @@ const machine = require_core.createMachine({
|
|
|
507
504
|
}
|
|
508
505
|
}
|
|
509
506
|
});
|
|
510
|
-
|
|
511
507
|
//#endregion
|
|
512
508
|
//#region src/machines/editable/editable.props.ts
|
|
513
509
|
const props = require_create_props.createProps()([
|
|
@@ -542,10 +538,9 @@ const props = require_create_props.createProps()([
|
|
|
542
538
|
"value"
|
|
543
539
|
]);
|
|
544
540
|
const splitProps = require_utils.createSplitProps(props);
|
|
545
|
-
|
|
546
541
|
//#endregion
|
|
547
542
|
exports.anatomy = anatomy;
|
|
548
543
|
exports.connect = connect;
|
|
549
544
|
exports.machine = machine;
|
|
550
545
|
exports.props = props;
|
|
551
|
-
exports.splitProps = splitProps;
|
|
546
|
+
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 { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } 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
|
+
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-DzWGFhcS.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
7
|
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { c as PointerDownOutsideEvent, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } 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, i as InteractOutsideHandlers, n as FocusOutsideEvent, r as InteractOutsideEvent } from "../../index-CGNNiDyE.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/editable/editable.anatomy.d.ts
|
|
7
7
|
declare const anatomy: AnatomyInstance<"root" | "label" | "input" | "control" | "area" | "preview" | "editTrigger" | "submitTrigger" | "cancelTrigger">;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { W as raf, Zt as contains, ht as isComposingEvent, jt as isApple, ot as setElementValue, vn as ariaAttr, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
5
|
-
import { t as trackInteractOutside } from "../../interact-outside-
|
|
6
|
-
import { t as createProps } from "../../create-props-
|
|
7
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { W as raf, Zt as contains, ht as isComposingEvent, jt as isApple, ot as setElementValue, vn as ariaAttr, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { t as trackInteractOutside } from "../../interact-outside-C-8lOhpV.mjs";
|
|
6
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
8
7
|
//#region src/machines/editable/editable.anatomy.ts
|
|
9
8
|
const anatomy = createAnatomy("editable").parts("root", "area", "label", "preview", "input", "editTrigger", "submitTrigger", "cancelTrigger", "control");
|
|
10
9
|
const parts = anatomy.build();
|
|
11
|
-
|
|
12
10
|
//#endregion
|
|
13
11
|
//#region src/machines/editable/editable.dom.ts
|
|
14
12
|
const getRootId = (ctx) => ctx.ids?.root ?? `editable:${ctx.id}`;
|
|
@@ -25,7 +23,6 @@ const getPreviewEl = (ctx) => ctx.getById(getPreviewId(ctx));
|
|
|
25
23
|
const getSubmitTriggerEl = (ctx) => ctx.getById(getSubmitTriggerId(ctx));
|
|
26
24
|
const getCancelTriggerEl = (ctx) => ctx.getById(getCancelTriggerId(ctx));
|
|
27
25
|
const getEditTriggerEl = (ctx) => ctx.getById(getEditTriggerId(ctx));
|
|
28
|
-
|
|
29
26
|
//#endregion
|
|
30
27
|
//#region src/machines/editable/editable.connect.ts
|
|
31
28
|
function connect(service, normalize) {
|
|
@@ -291,7 +288,6 @@ function connect(service, normalize) {
|
|
|
291
288
|
}
|
|
292
289
|
};
|
|
293
290
|
}
|
|
294
|
-
|
|
295
291
|
//#endregion
|
|
296
292
|
//#region src/machines/editable/editable.machine.ts
|
|
297
293
|
const machine = createMachine({
|
|
@@ -507,7 +503,6 @@ const machine = createMachine({
|
|
|
507
503
|
}
|
|
508
504
|
}
|
|
509
505
|
});
|
|
510
|
-
|
|
511
506
|
//#endregion
|
|
512
507
|
//#region src/machines/editable/editable.props.ts
|
|
513
508
|
const props = createProps()([
|
|
@@ -542,6 +537,5 @@ const props = createProps()([
|
|
|
542
537
|
"value"
|
|
543
538
|
]);
|
|
544
539
|
const splitProps = createSplitProps(props);
|
|
545
|
-
|
|
546
540
|
//#endregion
|
|
547
|
-
export { anatomy, connect, machine, props, splitProps };
|
|
541
|
+
export { anatomy, connect, machine, props, splitProps };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
6
|
+
const require_file_utils = require("../../file-utils-CY6_zVut.cjs");
|
|
7
|
+
const require_i18n_utils = require("../../i18n-utils-Dm8cGCol.cjs");
|
|
8
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
9
9
|
//#region src/machines/file-upload/file-upload.anatomy.ts
|
|
10
10
|
const anatomy = require_create_anatomy.createAnatomy("file-upload").parts("root", "dropzone", "item", "itemDeleteTrigger", "itemGroup", "itemName", "itemPreview", "itemPreviewImage", "itemSizeText", "label", "trigger", "clearTrigger");
|
|
11
11
|
const parts = anatomy.build();
|
|
12
|
-
|
|
13
12
|
//#endregion
|
|
14
13
|
//#region src/machines/file-upload/file-upload.dom.ts
|
|
15
14
|
const getRootId = (ctx) => ctx.ids?.root ?? `file-upload:${ctx.id}`;
|
|
@@ -26,7 +25,6 @@ const getFileId = (file) => require_utils.hash(`${file.name}-${file.size}`);
|
|
|
26
25
|
const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
27
26
|
const getHiddenInputEl = (ctx) => ctx.getById(getHiddenInputId(ctx));
|
|
28
27
|
const getDropzoneEl = (ctx) => ctx.getById(getDropzoneId(ctx));
|
|
29
|
-
|
|
30
28
|
//#endregion
|
|
31
29
|
//#region src/machines/file-upload/file-upload.utils.ts
|
|
32
30
|
function isEventWithFiles(event) {
|
|
@@ -92,7 +90,6 @@ function setInputFiles(inputEl, files) {
|
|
|
92
90
|
}
|
|
93
91
|
} catch {}
|
|
94
92
|
}
|
|
95
|
-
|
|
96
93
|
//#endregion
|
|
97
94
|
//#region src/machines/file-upload/file-upload.connect.ts
|
|
98
95
|
const DEFAULT_ITEM_TYPE = "accepted";
|
|
@@ -421,7 +418,6 @@ function connect(service, normalize) {
|
|
|
421
418
|
}
|
|
422
419
|
};
|
|
423
420
|
}
|
|
424
|
-
|
|
425
421
|
//#endregion
|
|
426
422
|
//#region src/machines/file-upload/file-upload.machine.ts
|
|
427
423
|
const machine = require_core.createMachine({
|
|
@@ -602,7 +598,6 @@ const machine = require_core.createMachine({
|
|
|
602
598
|
}
|
|
603
599
|
}
|
|
604
600
|
});
|
|
605
|
-
|
|
606
601
|
//#endregion
|
|
607
602
|
//#region src/machines/file-upload/file-upload.props.ts
|
|
608
603
|
const props = require_create_props.createProps()([
|
|
@@ -636,7 +631,6 @@ const props = require_create_props.createProps()([
|
|
|
636
631
|
const splitProps = require_utils.createSplitProps(props);
|
|
637
632
|
const itemProps = require_create_props.createProps()(["file", "type"]);
|
|
638
633
|
const splitItemProps = require_utils.createSplitProps(itemProps);
|
|
639
|
-
|
|
640
634
|
//#endregion
|
|
641
635
|
exports.anatomy = anatomy;
|
|
642
636
|
exports.connect = connect;
|
|
@@ -644,4 +638,4 @@ exports.itemProps = itemProps;
|
|
|
644
638
|
exports.machine = machine;
|
|
645
639
|
exports.props = props;
|
|
646
640
|
exports.splitItemProps = splitItemProps;
|
|
647
|
-
exports.splitProps = splitProps;
|
|
641
|
+
exports.splitProps = splitProps;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { i as FileMimeType, r as FileError } 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, o as LocaleProperties, t as CommonProperties, x as PropTypes } from "../../index-CLRsezW5.cjs";
|
|
4
|
+
import { i as FileMimeType, r as FileError } from "../../types-CylWsfOz.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "item" | "label" | "itemGroup" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/file-upload/file-upload.types.d.ts
|
|
10
10
|
interface FileRejection {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, o as LocaleProperties, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { i as FileMimeType, r as FileError } from "../../types-
|
|
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, o as LocaleProperties, t as CommonProperties, x as PropTypes } from "../../index-BVFlU3b9.mjs";
|
|
4
|
+
import { i as FileMimeType, r as FileError } from "../../types-Cctd5dol.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/file-upload/file-upload.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"root" | "
|
|
7
|
+
declare const anatomy: AnatomyInstance<"root" | "trigger" | "item" | "label" | "itemGroup" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/file-upload/file-upload.types.d.ts
|
|
10
10
|
interface FileRejection {
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { W as raf, Zt as contains, a as visuallyHiddenStyle, ct as addDomEvent, in as getWindow, pt as getEventTarget, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { W as callAll, i as warn, q as hash, u as createSplitProps, yt as flatArray } from "../../utils-
|
|
4
|
-
import { a as createMachine } from "../../core-
|
|
5
|
-
import { i as isFileEqual, r as isValidFileSize, s as getAcceptAttrString, t as isValidFileType, u as getFileEntries } from "../../file-utils-
|
|
6
|
-
import { c as formatBytes } from "../../i18n-utils-
|
|
7
|
-
import { t as createProps } from "../../create-props-
|
|
8
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { W as raf, Zt as contains, a as visuallyHiddenStyle, ct as addDomEvent, in as getWindow, pt as getEventTarget, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { W as callAll, i as warn, q as hash, u as createSplitProps, yt as flatArray } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { i as isFileEqual, r as isValidFileSize, s as getAcceptAttrString, t as isValidFileType, u as getFileEntries } from "../../file-utils-VgQ3YV2A.mjs";
|
|
6
|
+
import { c as formatBytes } from "../../i18n-utils-DHGN_KCY.mjs";
|
|
7
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
9
8
|
//#region src/machines/file-upload/file-upload.anatomy.ts
|
|
10
9
|
const anatomy = createAnatomy("file-upload").parts("root", "dropzone", "item", "itemDeleteTrigger", "itemGroup", "itemName", "itemPreview", "itemPreviewImage", "itemSizeText", "label", "trigger", "clearTrigger");
|
|
11
10
|
const parts = anatomy.build();
|
|
12
|
-
|
|
13
11
|
//#endregion
|
|
14
12
|
//#region src/machines/file-upload/file-upload.dom.ts
|
|
15
13
|
const getRootId = (ctx) => ctx.ids?.root ?? `file-upload:${ctx.id}`;
|
|
@@ -26,7 +24,6 @@ const getFileId = (file) => hash(`${file.name}-${file.size}`);
|
|
|
26
24
|
const getRootEl = (ctx) => ctx.getById(getRootId(ctx));
|
|
27
25
|
const getHiddenInputEl = (ctx) => ctx.getById(getHiddenInputId(ctx));
|
|
28
26
|
const getDropzoneEl = (ctx) => ctx.getById(getDropzoneId(ctx));
|
|
29
|
-
|
|
30
27
|
//#endregion
|
|
31
28
|
//#region src/machines/file-upload/file-upload.utils.ts
|
|
32
29
|
function isEventWithFiles(event) {
|
|
@@ -92,7 +89,6 @@ function setInputFiles(inputEl, files) {
|
|
|
92
89
|
}
|
|
93
90
|
} catch {}
|
|
94
91
|
}
|
|
95
|
-
|
|
96
92
|
//#endregion
|
|
97
93
|
//#region src/machines/file-upload/file-upload.connect.ts
|
|
98
94
|
const DEFAULT_ITEM_TYPE = "accepted";
|
|
@@ -421,7 +417,6 @@ function connect(service, normalize) {
|
|
|
421
417
|
}
|
|
422
418
|
};
|
|
423
419
|
}
|
|
424
|
-
|
|
425
420
|
//#endregion
|
|
426
421
|
//#region src/machines/file-upload/file-upload.machine.ts
|
|
427
422
|
const machine = createMachine({
|
|
@@ -602,7 +597,6 @@ const machine = createMachine({
|
|
|
602
597
|
}
|
|
603
598
|
}
|
|
604
599
|
});
|
|
605
|
-
|
|
606
600
|
//#endregion
|
|
607
601
|
//#region src/machines/file-upload/file-upload.props.ts
|
|
608
602
|
const props = createProps()([
|
|
@@ -636,6 +630,5 @@ const props = createProps()([
|
|
|
636
630
|
const splitProps = createSplitProps(props);
|
|
637
631
|
const itemProps = createProps()(["file", "type"]);
|
|
638
632
|
const splitItemProps = createSplitProps(itemProps);
|
|
639
|
-
|
|
640
633
|
//#endregion
|
|
641
|
-
export { anatomy, connect, itemProps, machine, props, splitItemProps, splitProps };
|
|
634
|
+
export { anatomy, connect, itemProps, machine, props, splitItemProps, splitProps };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_anatomy = require("../../create-anatomy-BnwEmNnc.cjs");
|
|
3
|
+
const require_dom_query = require("../../dom-query-6Wt-Tikf.cjs");
|
|
4
|
+
const require_utils = require("../../utils-ByNiZU8f.cjs");
|
|
5
|
+
const require_core = require("../../core-BiGlJ-4W.cjs");
|
|
6
|
+
const require_rect_utils = require("../../rect-utils-D3RkAaHK.cjs");
|
|
7
|
+
const require_store = require("../../store-k8bn_TOl.cjs");
|
|
8
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.anatomy.ts
|
|
10
10
|
const anatomy = require_create_anatomy.createAnatomy("floating-panel").parts("trigger", "positioner", "content", "header", "body", "title", "resizeTrigger", "dragTrigger", "stageTrigger", "closeTrigger", "control");
|
|
11
11
|
const parts = anatomy.build();
|
|
12
|
-
|
|
13
12
|
//#endregion
|
|
14
13
|
//#region src/machines/floating-panel/floating-panel.dom.ts
|
|
15
14
|
const getTriggerId = (ctx) => ctx.ids?.trigger ?? `floating-panel:${ctx.id}:trigger`;
|
|
@@ -38,7 +37,6 @@ const getBoundaryRect = (ctx, boundaryEl, allowOverflow) => {
|
|
|
38
37
|
"height"
|
|
39
38
|
]);
|
|
40
39
|
};
|
|
41
|
-
|
|
42
40
|
//#endregion
|
|
43
41
|
//#region src/machines/floating-panel/get-resize-axis-style.ts
|
|
44
42
|
function getResizeAxisStyle(axis) {
|
|
@@ -94,7 +92,6 @@ function getResizeAxisStyle(axis) {
|
|
|
94
92
|
default: throw new Error(`Invalid axis: ${axis}`);
|
|
95
93
|
}
|
|
96
94
|
}
|
|
97
|
-
|
|
98
95
|
//#endregion
|
|
99
96
|
//#region src/machines/floating-panel/floating-panel.connect.ts
|
|
100
97
|
const validStages = new Set([
|
|
@@ -416,7 +413,6 @@ function connect(service, normalize) {
|
|
|
416
413
|
}
|
|
417
414
|
};
|
|
418
415
|
}
|
|
419
|
-
|
|
420
416
|
//#endregion
|
|
421
417
|
//#region src/machines/floating-panel/floating-panel.store.ts
|
|
422
418
|
const panelStack = require_store.proxy({
|
|
@@ -444,7 +440,6 @@ const panelStack = require_store.proxy({
|
|
|
444
440
|
return this.stack.indexOf(id);
|
|
445
441
|
}
|
|
446
442
|
});
|
|
447
|
-
|
|
448
443
|
//#endregion
|
|
449
444
|
//#region src/machines/floating-panel/floating-panel.machine.ts
|
|
450
445
|
const { not, and } = require_core.createGuards();
|
|
@@ -936,7 +931,6 @@ const machine = require_core.createMachine({
|
|
|
936
931
|
}
|
|
937
932
|
}
|
|
938
933
|
});
|
|
939
|
-
|
|
940
934
|
//#endregion
|
|
941
935
|
//#region src/machines/floating-panel/floating-panel.props.ts
|
|
942
936
|
const props = require_create_props.createProps()([
|
|
@@ -984,7 +978,6 @@ const resizeTriggerAxes = [
|
|
|
984
978
|
"se",
|
|
985
979
|
"sw"
|
|
986
980
|
];
|
|
987
|
-
|
|
988
981
|
//#endregion
|
|
989
982
|
exports.anatomy = anatomy;
|
|
990
983
|
exports.connect = connect;
|
|
@@ -993,4 +986,4 @@ exports.props = props;
|
|
|
993
986
|
exports.resizeTriggerAxes = resizeTriggerAxes;
|
|
994
987
|
exports.resizeTriggerProps = resizeTriggerProps;
|
|
995
988
|
exports.splitProps = splitProps;
|
|
996
|
-
exports.splitResizeTriggerProps = splitResizeTriggerProps;
|
|
989
|
+
exports.splitResizeTriggerProps = splitResizeTriggerProps;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as AnatomyInstance } from "../../create-anatomy-9eFQs7lO.cjs";
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { a as Point, o as Rect, y as Size } 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 { a as Point, o as Rect, y as Size } from "../../types-CLXYEgfm.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "title" | "closeTrigger" | "resizeTrigger" | "control" | "body" | "header" | "dragTrigger" | "stageTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.types.d.ts
|
|
10
10
|
interface PositionChangeDetails {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as AnatomyInstance } from "../../create-anatomy-
|
|
2
|
-
import { p as Machine, u as EventObject, y as Service } from "../../types-
|
|
3
|
-
import { b as NormalizeProps, g as RequiredBy, r as DirectionProperty, t as CommonProperties, x as PropTypes } from "../../index-
|
|
4
|
-
import { a as Point, o as Rect, y as Size } from "../../types-
|
|
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 { a as Point, o as Rect, y as Size } from "../../types-DU764tY_.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/machines/floating-panel/floating-panel.anatomy.d.ts
|
|
7
|
-
declare const anatomy: AnatomyInstance<"
|
|
7
|
+
declare const anatomy: AnatomyInstance<"trigger" | "content" | "positioner" | "title" | "closeTrigger" | "resizeTrigger" | "control" | "body" | "header" | "dragTrigger" | "stageTrigger">;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/machines/floating-panel/floating-panel.types.d.ts
|
|
10
10
|
interface PositionChangeDetails {
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { t as createAnatomy } from "../../create-anatomy-
|
|
2
|
-
import { E as trackPointerMove, W as raf, bt as isLeftClick, ct as addDomEvent, ft as getEventStep, m as resizeObserverBorderBox, pt as getEventTarget, un as isHTMLElement, ut as getEventKey, yn as dataAttr } from "../../dom-query-
|
|
3
|
-
import { H as toPx, Y as match, g as clampValue, n as ensureProps, p as pick, r as invariant, u as createSplitProps } from "../../utils-
|
|
4
|
-
import { a as createMachine, i as createGuards } from "../../core-
|
|
5
|
-
import { G as clampPoint, I as addPoints, K as clampSize, R as createRect, T as constrainRect, W as subtractPoints, d as getWindowRect, t as resizeRect, v as getElementRect, x as isSizeEqual, y as isPointEqual } from "../../rect-utils-
|
|
6
|
-
import { a as subscribe, n as proxy } from "../../store-
|
|
7
|
-
import { t as createProps } from "../../create-props-
|
|
8
|
-
|
|
1
|
+
import { t as createAnatomy } from "../../create-anatomy-Dr0evdYy.mjs";
|
|
2
|
+
import { E as trackPointerMove, W as raf, bt as isLeftClick, ct as addDomEvent, ft as getEventStep, m as resizeObserverBorderBox, pt as getEventTarget, un as isHTMLElement, ut as getEventKey, yn as dataAttr } from "../../dom-query-dX8Dakb4.mjs";
|
|
3
|
+
import { H as toPx, Y as match, g as clampValue, n as ensureProps, p as pick, r as invariant, u as createSplitProps } from "../../utils-VVoZ_v29.mjs";
|
|
4
|
+
import { a as createMachine, i as createGuards } from "../../core-DfVajPnu.mjs";
|
|
5
|
+
import { G as clampPoint, I as addPoints, K as clampSize, R as createRect, T as constrainRect, W as subtractPoints, d as getWindowRect, t as resizeRect, v as getElementRect, x as isSizeEqual, y as isPointEqual } from "../../rect-utils-B5xqFvKC.mjs";
|
|
6
|
+
import { a as subscribe, n as proxy } from "../../store-BRn2zWDR.mjs";
|
|
7
|
+
import { t as createProps } from "../../create-props-DFW8DUsC.mjs";
|
|
9
8
|
//#region src/machines/floating-panel/floating-panel.anatomy.ts
|
|
10
9
|
const anatomy = createAnatomy("floating-panel").parts("trigger", "positioner", "content", "header", "body", "title", "resizeTrigger", "dragTrigger", "stageTrigger", "closeTrigger", "control");
|
|
11
10
|
const parts = anatomy.build();
|
|
12
|
-
|
|
13
11
|
//#endregion
|
|
14
12
|
//#region src/machines/floating-panel/floating-panel.dom.ts
|
|
15
13
|
const getTriggerId = (ctx) => ctx.ids?.trigger ?? `floating-panel:${ctx.id}:trigger`;
|
|
@@ -38,7 +36,6 @@ const getBoundaryRect = (ctx, boundaryEl, allowOverflow) => {
|
|
|
38
36
|
"height"
|
|
39
37
|
]);
|
|
40
38
|
};
|
|
41
|
-
|
|
42
39
|
//#endregion
|
|
43
40
|
//#region src/machines/floating-panel/get-resize-axis-style.ts
|
|
44
41
|
function getResizeAxisStyle(axis) {
|
|
@@ -94,7 +91,6 @@ function getResizeAxisStyle(axis) {
|
|
|
94
91
|
default: throw new Error(`Invalid axis: ${axis}`);
|
|
95
92
|
}
|
|
96
93
|
}
|
|
97
|
-
|
|
98
94
|
//#endregion
|
|
99
95
|
//#region src/machines/floating-panel/floating-panel.connect.ts
|
|
100
96
|
const validStages = new Set([
|
|
@@ -416,7 +412,6 @@ function connect(service, normalize) {
|
|
|
416
412
|
}
|
|
417
413
|
};
|
|
418
414
|
}
|
|
419
|
-
|
|
420
415
|
//#endregion
|
|
421
416
|
//#region src/machines/floating-panel/floating-panel.store.ts
|
|
422
417
|
const panelStack = proxy({
|
|
@@ -444,7 +439,6 @@ const panelStack = proxy({
|
|
|
444
439
|
return this.stack.indexOf(id);
|
|
445
440
|
}
|
|
446
441
|
});
|
|
447
|
-
|
|
448
442
|
//#endregion
|
|
449
443
|
//#region src/machines/floating-panel/floating-panel.machine.ts
|
|
450
444
|
const { not, and } = createGuards();
|
|
@@ -936,7 +930,6 @@ const machine = createMachine({
|
|
|
936
930
|
}
|
|
937
931
|
}
|
|
938
932
|
});
|
|
939
|
-
|
|
940
933
|
//#endregion
|
|
941
934
|
//#region src/machines/floating-panel/floating-panel.props.ts
|
|
942
935
|
const props = createProps()([
|
|
@@ -984,6 +977,5 @@ const resizeTriggerAxes = [
|
|
|
984
977
|
"se",
|
|
985
978
|
"sw"
|
|
986
979
|
];
|
|
987
|
-
|
|
988
980
|
//#endregion
|
|
989
|
-
export { anatomy, connect, machine, props, resizeTriggerAxes, resizeTriggerProps, splitProps, splitResizeTriggerProps };
|
|
981
|
+
export { anatomy, connect, machine, props, resizeTriggerAxes, resizeTriggerProps, splitProps, splitResizeTriggerProps };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
require(
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
require(
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
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
|
+
require("../../interact-outside-DRaFGdMg.cjs");
|
|
7
|
+
const require_dismissable = require("../../dismissable-DPXx0m0m.cjs");
|
|
8
|
+
const require_popper = require("../../popper-zq1F_iY8.cjs");
|
|
9
|
+
const require_create_props = require("../../create-props-DP39rHnH.cjs");
|
|
10
10
|
//#region src/machines/hover-card/hover-card.anatomy.ts
|
|
11
11
|
const anatomy = require_create_anatomy.createAnatomy("hoverCard").parts("arrow", "arrowTip", "trigger", "positioner", "content");
|
|
12
12
|
const parts = anatomy.build();
|
|
13
|
-
|
|
14
13
|
//#endregion
|
|
15
14
|
//#region src/machines/hover-card/hover-card.dom.ts
|
|
16
15
|
const getTriggerId = (ctx) => ctx.ids?.trigger ?? `hover-card:${ctx.id}:trigger`;
|
|
@@ -20,7 +19,6 @@ const getArrowId = (ctx) => ctx.ids?.arrow ?? `hover-card:${ctx.id}:arrow`;
|
|
|
20
19
|
const getTriggerEl = (ctx) => ctx.getById(getTriggerId(ctx));
|
|
21
20
|
const getContentEl = (ctx) => ctx.getById(getContentId(ctx));
|
|
22
21
|
const getPositionerEl = (ctx) => ctx.getById(getPositionerId(ctx));
|
|
23
|
-
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region src/machines/hover-card/hover-card.connect.ts
|
|
26
24
|
function connect(service, normalize) {
|
|
@@ -128,7 +126,6 @@ function connect(service, normalize) {
|
|
|
128
126
|
}
|
|
129
127
|
};
|
|
130
128
|
}
|
|
131
|
-
|
|
132
129
|
//#endregion
|
|
133
130
|
//#region src/machines/hover-card/hover-card.machine.ts
|
|
134
131
|
const { not, and } = require_core.createGuards();
|
|
@@ -354,7 +351,6 @@ const machine = require_core.createMachine({
|
|
|
354
351
|
}
|
|
355
352
|
}
|
|
356
353
|
});
|
|
357
|
-
|
|
358
354
|
//#endregion
|
|
359
355
|
//#region src/machines/hover-card/hover-card.props.ts
|
|
360
356
|
const props = require_create_props.createProps()([
|
|
@@ -374,10 +370,9 @@ const props = require_create_props.createProps()([
|
|
|
374
370
|
"onFocusOutside"
|
|
375
371
|
]);
|
|
376
372
|
const splitProps = require_utils.createSplitProps(props);
|
|
377
|
-
|
|
378
373
|
//#endregion
|
|
379
374
|
exports.anatomy = anatomy;
|
|
380
375
|
exports.connect = connect;
|
|
381
376
|
exports.machine = machine;
|
|
382
377
|
exports.props = props;
|
|
383
|
-
exports.splitProps = splitProps;
|
|
378
|
+
exports.splitProps = splitProps;
|