@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,5 +1,4 @@
|
|
|
1
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
2
|
-
|
|
1
|
+
import { t as _defineProperty } from "./defineProperty-D5oW_HU_.mjs";
|
|
3
2
|
//#region src/shared/utils/array.ts
|
|
4
3
|
function toArray(v) {
|
|
5
4
|
if (v == null) return [];
|
|
@@ -71,7 +70,6 @@ function partition(arr, fn) {
|
|
|
71
70
|
return [pass, fail];
|
|
72
71
|
}, [[], []]);
|
|
73
72
|
}
|
|
74
|
-
|
|
75
73
|
//#endregion
|
|
76
74
|
//#region src/shared/utils/equal.ts
|
|
77
75
|
const isArrayLike = (value) => value?.constructor.name === "Array";
|
|
@@ -96,7 +94,6 @@ const isEqual = (a, b) => {
|
|
|
96
94
|
}
|
|
97
95
|
return true;
|
|
98
96
|
};
|
|
99
|
-
|
|
100
97
|
//#endregion
|
|
101
98
|
//#region src/shared/utils/guard.ts
|
|
102
99
|
const isDev = () => process.env.NODE_ENV !== "production";
|
|
@@ -122,7 +119,6 @@ const isPlainObject = (v) => {
|
|
|
122
119
|
const isReactElement = (x) => typeof x === "object" && x !== null && "$$typeof" in x && "props" in x;
|
|
123
120
|
const isVueElement = (x) => typeof x === "object" && x !== null && "__v_isVNode" in x;
|
|
124
121
|
const isFrameworkElement = (x) => isReactElement(x) || isVueElement(x);
|
|
125
|
-
|
|
126
122
|
//#endregion
|
|
127
123
|
//#region src/shared/utils/functions.ts
|
|
128
124
|
const runIfFn = (v, ...a) => {
|
|
@@ -205,7 +201,6 @@ function toPhash(h, x) {
|
|
|
205
201
|
return h;
|
|
206
202
|
}
|
|
207
203
|
const hash = (value) => toName(toPhash(5381, value) >>> 0);
|
|
208
|
-
|
|
209
204
|
//#endregion
|
|
210
205
|
//#region src/shared/utils/number.ts
|
|
211
206
|
const { floor, abs, round, min, max, pow, sign } = Math;
|
|
@@ -326,7 +321,6 @@ const decimalOp = (a, op, b) => {
|
|
|
326
321
|
const incrementValue = (v, s) => decimalOp(nan(v), "+", s);
|
|
327
322
|
const decrementValue = (v, s) => decimalOp(nan(v), "-", s);
|
|
328
323
|
const toPx = (v) => typeof v === "number" ? `${v}px` : v;
|
|
329
|
-
|
|
330
324
|
//#endregion
|
|
331
325
|
//#region src/shared/utils/object.ts
|
|
332
326
|
function compact(obj) {
|
|
@@ -365,7 +359,6 @@ const createSplitProps = (keys) => {
|
|
|
365
359
|
function omit(obj, keys) {
|
|
366
360
|
return createSplitProps(keys)(obj)[1];
|
|
367
361
|
}
|
|
368
|
-
|
|
369
362
|
//#endregion
|
|
370
363
|
//#region src/shared/utils/store.ts
|
|
371
364
|
function createStore(initialState, compare = Object.is) {
|
|
@@ -407,32 +400,27 @@ function createStore(initialState, compare = Object.is) {
|
|
|
407
400
|
snapshot
|
|
408
401
|
};
|
|
409
402
|
}
|
|
410
|
-
|
|
411
403
|
//#endregion
|
|
412
|
-
//#region \0@oxc-project+runtime@0.
|
|
404
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/checkPrivateRedeclaration.js
|
|
413
405
|
function _checkPrivateRedeclaration(e, t) {
|
|
414
406
|
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
415
407
|
}
|
|
416
|
-
|
|
417
408
|
//#endregion
|
|
418
|
-
//#region \0@oxc-project+runtime@0.
|
|
409
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/classPrivateFieldInitSpec.js
|
|
419
410
|
function _classPrivateFieldInitSpec(e, t, a) {
|
|
420
411
|
_checkPrivateRedeclaration(e, t), t.set(e, a);
|
|
421
412
|
}
|
|
422
|
-
|
|
423
413
|
//#endregion
|
|
424
|
-
//#region \0@oxc-project+runtime@0.
|
|
414
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/assertClassBrand.js
|
|
425
415
|
function _assertClassBrand(e, t, n) {
|
|
426
416
|
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
427
417
|
throw new TypeError("Private element is not present on this object");
|
|
428
418
|
}
|
|
429
|
-
|
|
430
419
|
//#endregion
|
|
431
|
-
//#region \0@oxc-project+runtime@0.
|
|
420
|
+
//#region \0@oxc-project+runtime@0.115.0/helpers/classPrivateFieldGet2.js
|
|
432
421
|
function _classPrivateFieldGet2(s, a) {
|
|
433
422
|
return s.get(_assertClassBrand(s, a));
|
|
434
423
|
}
|
|
435
|
-
|
|
436
424
|
//#endregion
|
|
437
425
|
//#region src/shared/utils/timers.ts
|
|
438
426
|
const currentTime = () => performance.now();
|
|
@@ -514,7 +502,6 @@ function setRafTimeout(fn, delayMs) {
|
|
|
514
502
|
timer.start();
|
|
515
503
|
return () => timer.stop();
|
|
516
504
|
}
|
|
517
|
-
|
|
518
505
|
//#endregion
|
|
519
506
|
//#region src/shared/utils/warning.ts
|
|
520
507
|
function warn(...a) {
|
|
@@ -533,6 +520,5 @@ function ensureProps(props, keys, scope) {
|
|
|
533
520
|
for (const key of keys) if (props[key] == null) missingKeys.push(key);
|
|
534
521
|
if (missingKeys.length > 0) throw new Error(`[sprawlify-js${scope ? ` > ${scope}` : ""}] missing required props: ${missingKeys.join(", ")}`);
|
|
535
522
|
}
|
|
536
|
-
|
|
537
523
|
//#endregion
|
|
538
|
-
export { tryCatch as $, isNaN as A, remove as At, snapValueToStep as B, getPercentValue as C, isEmpty as Ct, getValueSetterAtIndex as D, partition as Dt, getValueRanges as E, nextIndex as Et, nan as F, cast as G, toPx as H, roundToDpr as I, identity as J, debounce as K, roundToStepPrecision as L, isValueAtMin as M, toArray as Mt, isValueWithinRange as N, uniq as Nt, getValueTransformer as O, prev as Ot, mod as P, throttle as Q, roundValue as R, getNextStepValue as S, insertAt as St, getValuePercent as T, next as Tt, wrap as U, toFixedNumber as V, callAll as W, noop as X, match as Y, runIfFn as Z, decrementValue as _, diff as _t, Timer as a, isFunction as at, getMaxValueAtIndex as b, fromLength as bt, createStore as c, isObject as ct, json as d, isString as dt, uuid as et, omit as f, isEqual as ft, clampValue as g, clear as gt, clampPercent as h, chunk as ht, warn as i, isDev as it, isValueAtMax as j, removeAt as jt, incrementValue as k, prevIndex as kt, compact as l, isObjectLike as lt, splitProps as m, addOrRemove as mt, ensureProps as n, isArray as nt, setRafInterval as o, isNull as ot, pick as p, add as pt, hash as q, invariant as r, isBoolean as rt, setRafTimeout as s, isNumber as st, ensure as t, hasProp as tt, createSplitProps as u, isPlainObject as ut, getClosestValue as v, first as vt, getPreviousStepValue as w, last as wt, getMinValueAtIndex as x, has as xt, getClosestValueIndex as y, flatArray as yt, setValueAtIndex as z };
|
|
524
|
+
export { tryCatch as $, isNaN as A, remove as At, snapValueToStep as B, getPercentValue as C, isEmpty as Ct, getValueSetterAtIndex as D, partition as Dt, getValueRanges as E, nextIndex as Et, nan as F, cast as G, toPx as H, roundToDpr as I, identity as J, debounce as K, roundToStepPrecision as L, isValueAtMin as M, toArray as Mt, isValueWithinRange as N, uniq as Nt, getValueTransformer as O, prev as Ot, mod as P, throttle as Q, roundValue as R, getNextStepValue as S, insertAt as St, getValuePercent as T, next as Tt, wrap as U, toFixedNumber as V, callAll as W, noop as X, match as Y, runIfFn as Z, decrementValue as _, diff as _t, Timer as a, isFunction as at, getMaxValueAtIndex as b, fromLength as bt, createStore as c, isObject as ct, json as d, isString as dt, uuid as et, omit as f, isEqual as ft, clampValue as g, clear as gt, clampPercent as h, chunk as ht, warn as i, isDev as it, isValueAtMax as j, removeAt as jt, incrementValue as k, prevIndex as kt, compact as l, isObjectLike as lt, splitProps as m, addOrRemove as mt, ensureProps as n, isArray as nt, setRafInterval as o, isNull as ot, pick as p, add as pt, hash as q, invariant as r, isBoolean as rt, setRafTimeout as s, isNumber as st, ensure as t, hasProp as tt, createSplitProps as u, isPlainObject as ut, getClosestValue as v, first as vt, getPreviousStepValue as w, last as wt, getMinValueAtIndex as x, has as xt, getClosestValueIndex as y, flatArray as yt, setValueAtIndex as z };
|
package/dist/utils.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_utils = require("./utils-ByNiZU8f.cjs");
|
|
3
3
|
exports.Timer = require_utils.Timer;
|
|
4
4
|
exports.add = require_utils.add;
|
|
5
5
|
exports.addOrRemove = require_utils.addOrRemove;
|
|
@@ -86,4 +86,4 @@ exports.tryCatch = require_utils.tryCatch;
|
|
|
86
86
|
exports.uniq = require_utils.uniq;
|
|
87
87
|
exports.uuid = require_utils.uuid;
|
|
88
88
|
exports.warn = require_utils.warn;
|
|
89
|
-
exports.wrap = require_utils.wrap;
|
|
89
|
+
exports.wrap = require_utils.wrap;
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as debounce, c as match, d as throttle, f as tryCatch, i as cast, l as noop, n as Nullable, o as hash, p as uuid, r as callAll, s as identity, t as MaybeFunction, u as runIfFn } from "./functions-
|
|
1
|
+
import { a as debounce, c as match, d as throttle, f as tryCatch, i as cast, l as noop, n as Nullable, o as hash, p as uuid, r as callAll, s as identity, t as MaybeFunction, u as runIfFn } from "./functions-Cm8NiR7H.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/utils/array.d.ts
|
|
4
4
|
declare function toArray<T>(v: T | T[] | undefined | null): T[];
|
package/dist/utils.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as debounce, c as match, d as throttle, f as tryCatch, i as cast, l as noop, n as Nullable, o as hash, p as uuid, r as callAll, s as identity, t as MaybeFunction, u as runIfFn } from "./functions-
|
|
1
|
+
import { a as debounce, c as match, d as throttle, f as tryCatch, i as cast, l as noop, n as Nullable, o as hash, p as uuid, r as callAll, s as identity, t as MaybeFunction, u as runIfFn } from "./functions-BL9bYIFn.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/shared/utils/array.d.ts
|
|
4
4
|
declare function toArray<T>(v: T | T[] | undefined | null): T[];
|
package/dist/utils.mjs
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { $ as tryCatch, A as isNaN, At as remove, B as snapValueToStep, C as getPercentValue, Ct as isEmpty, D as getValueSetterAtIndex, Dt as partition, E as getValueRanges, Et as nextIndex, F as nan, G as cast, H as toPx, I as roundToDpr, J as identity, K as debounce, L as roundToStepPrecision, M as isValueAtMin, Mt as toArray, N as isValueWithinRange, Nt as uniq, O as getValueTransformer, Ot as prev, P as mod, Q as throttle, R as roundValue, S as getNextStepValue, St as insertAt, T as getValuePercent, Tt as next, U as wrap, V as toFixedNumber, W as callAll, X as noop, Y as match, Z as runIfFn, _ as decrementValue, _t as diff, a as Timer, at as isFunction, b as getMaxValueAtIndex, bt as fromLength, c as createStore, ct as isObject, d as json, dt as isString, et as uuid, f as omit, ft as isEqual, g as clampValue, gt as clear, h as clampPercent, ht as chunk, i as warn, it as isDev, j as isValueAtMax, jt as removeAt, k as incrementValue, kt as prevIndex, l as compact, lt as isObjectLike, m as splitProps, mt as addOrRemove, n as ensureProps, nt as isArray, o as setRafInterval, ot as isNull, p as pick, pt as add, q as hash, r as invariant, rt as isBoolean, s as setRafTimeout, st as isNumber, t as ensure, tt as hasProp, u as createSplitProps, ut as isPlainObject, v as getClosestValue, vt as first, w as getPreviousStepValue, wt as last, x as getMinValueAtIndex, xt as has, y as getClosestValueIndex, yt as flatArray, z as setValueAtIndex } from "./utils-
|
|
2
|
-
|
|
3
|
-
export { Timer, add, addOrRemove, callAll, cast, chunk, clampPercent, clampValue, clear, compact, createSplitProps, createStore, debounce, decrementValue, diff, ensure, ensureProps, first, flatArray, fromLength, getClosestValue, getClosestValueIndex, getMaxValueAtIndex, getMinValueAtIndex, getNextStepValue, getPercentValue, getPreviousStepValue, getValuePercent, getValueRanges, getValueSetterAtIndex, getValueTransformer, has, hasProp, hash, identity, incrementValue, insertAt, invariant, isArray, isBoolean, isDev, isEmpty, isEqual, isFunction, isNaN, isNull, isNumber, isObject, isObjectLike, isPlainObject, isString, isValueAtMax, isValueAtMin, isValueWithinRange, json, last, match, mod, nan, next, nextIndex, noop, omit, partition, pick, prev, prevIndex, remove, removeAt, roundToDpr, roundToStepPrecision, roundValue, runIfFn, setRafInterval, setRafTimeout, setValueAtIndex, snapValueToStep, splitProps, throttle, toArray, toFixedNumber, toPx, tryCatch, uniq, uuid, warn, wrap };
|
|
1
|
+
import { $ as tryCatch, A as isNaN, At as remove, B as snapValueToStep, C as getPercentValue, Ct as isEmpty, D as getValueSetterAtIndex, Dt as partition, E as getValueRanges, Et as nextIndex, F as nan, G as cast, H as toPx, I as roundToDpr, J as identity, K as debounce, L as roundToStepPrecision, M as isValueAtMin, Mt as toArray, N as isValueWithinRange, Nt as uniq, O as getValueTransformer, Ot as prev, P as mod, Q as throttle, R as roundValue, S as getNextStepValue, St as insertAt, T as getValuePercent, Tt as next, U as wrap, V as toFixedNumber, W as callAll, X as noop, Y as match, Z as runIfFn, _ as decrementValue, _t as diff, a as Timer, at as isFunction, b as getMaxValueAtIndex, bt as fromLength, c as createStore, ct as isObject, d as json, dt as isString, et as uuid, f as omit, ft as isEqual, g as clampValue, gt as clear, h as clampPercent, ht as chunk, i as warn, it as isDev, j as isValueAtMax, jt as removeAt, k as incrementValue, kt as prevIndex, l as compact, lt as isObjectLike, m as splitProps, mt as addOrRemove, n as ensureProps, nt as isArray, o as setRafInterval, ot as isNull, p as pick, pt as add, q as hash, r as invariant, rt as isBoolean, s as setRafTimeout, st as isNumber, t as ensure, tt as hasProp, u as createSplitProps, ut as isPlainObject, v as getClosestValue, vt as first, w as getPreviousStepValue, wt as last, x as getMinValueAtIndex, xt as has, y as getClosestValueIndex, yt as flatArray, z as setValueAtIndex } from "./utils-VVoZ_v29.mjs";
|
|
2
|
+
export { Timer, add, addOrRemove, callAll, cast, chunk, clampPercent, clampValue, clear, compact, createSplitProps, createStore, debounce, decrementValue, diff, ensure, ensureProps, first, flatArray, fromLength, getClosestValue, getClosestValueIndex, getMaxValueAtIndex, getMinValueAtIndex, getNextStepValue, getPercentValue, getPreviousStepValue, getValuePercent, getValueRanges, getValueSetterAtIndex, getValueTransformer, has, hasProp, hash, identity, incrementValue, insertAt, invariant, isArray, isBoolean, isDev, isEmpty, isEqual, isFunction, isNaN, isNull, isNumber, isObject, isObjectLike, isPlainObject, isString, isValueAtMax, isValueAtMin, isValueWithinRange, json, last, match, mod, nan, next, nextIndex, noop, omit, partition, pick, prev, prevIndex, remove, removeAt, roundToDpr, roundToStepPrecision, roundValue, runIfFn, setRafInterval, setRafTimeout, setValueAtIndex, snapValueToStep, splitProps, throttle, toArray, toFixedNumber, toPx, tryCatch, uniq, uuid, warn, wrap };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprawlify/primitives",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.88",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A set of primitive components for building user interfaces.",
|
|
6
6
|
"author": "sprawlify <npm@sprawlify.com>",
|
|
@@ -786,10 +786,10 @@
|
|
|
786
786
|
"dist"
|
|
787
787
|
],
|
|
788
788
|
"dependencies": {
|
|
789
|
-
"@floating-ui/dom": "^1.7.
|
|
789
|
+
"@floating-ui/dom": "^1.7.6",
|
|
790
790
|
"csstype": "^3.2.3",
|
|
791
791
|
"json-format-highlight": "^1.0.4",
|
|
792
|
-
"perfect-freehand": "^1.2.
|
|
792
|
+
"perfect-freehand": "^1.2.3",
|
|
793
793
|
"proxy-compare": "^3.0.1",
|
|
794
794
|
"uqr": "^0.1.2"
|
|
795
795
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|