@sprawlify/react 0.0.10 → 0.0.12
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/accordion-anatomy-B9ODSC4s.mjs +3 -0
- package/dist/accordion-anatomy-CD01A1iE.d.cts +2 -0
- package/dist/accordion-anatomy-DM84wS7s.d.mts +2 -0
- package/dist/accordion-anatomy-TiYCIvSU.cjs +1 -0
- package/dist/anatomy-DZVQcsnx.cjs +50 -0
- package/dist/anatomy-DlQefg0w.d.mts +51 -0
- package/dist/anatomy-DmGN5EDX.d.cts +51 -0
- package/dist/anatomy-Fqi1rbnX.mjs +52 -0
- package/dist/angle-slider-anatomy-BarZytc0.cjs +1 -0
- package/dist/angle-slider-anatomy-CJ8w7Vr8.d.mts +2 -0
- package/dist/angle-slider-anatomy-D732WuyP.mjs +3 -0
- package/dist/angle-slider-anatomy-socw8IDt.d.cts +2 -0
- package/dist/avatar-anatomy-BXgb7HMR.mjs +3 -0
- package/dist/avatar-anatomy-BbK5QtHR.d.mts +2 -0
- package/dist/avatar-anatomy-C7tS8YMA.cjs +1 -0
- package/dist/avatar-anatomy-C_EzyOEZ.d.cts +2 -0
- package/dist/bottom-sheet-anatomy-BK2UyCm2.d.mts +2 -0
- package/dist/bottom-sheet-anatomy-CslIkMUZ.mjs +3 -0
- package/dist/bottom-sheet-anatomy-DFp5PLG7.d.cts +2 -0
- package/dist/bottom-sheet-anatomy-TCSwbPsz.cjs +1 -0
- package/dist/carousel-anatomy-Bg15yjyC.mjs +7 -0
- package/dist/carousel-anatomy-Brr5h5DT.cjs +13 -0
- package/dist/carousel-anatomy-C7cKSp4-.d.mts +6 -0
- package/dist/carousel-anatomy-CS1MhANU.d.cts +6 -0
- package/dist/checkbox-anatomy-BYqkx7gU.d.cts +6 -0
- package/dist/checkbox-anatomy-CP9bBUnr.mjs +7 -0
- package/dist/checkbox-anatomy-D71wilRI.cjs +13 -0
- package/dist/checkbox-anatomy-GrQ9fD3d.d.mts +6 -0
- package/dist/chunk-C59VKDyD.mjs +42 -0
- package/dist/{chunk-BYnRvbsk.cjs → chunk-Dsw3YZHa.cjs} +13 -0
- package/dist/clipboard-anatomy-B7vZDubi.mjs +3 -0
- package/dist/clipboard-anatomy-BBG980Uy.d.cts +2 -0
- package/dist/clipboard-anatomy-BGpzSrp3.cjs +1 -0
- package/dist/clipboard-anatomy-C4z4Ic01.d.mts +2 -0
- package/dist/{collapsible-aFKYmVbP.cjs → collapsible-DxwYYaHu.cjs} +7 -7
- package/dist/{collapsible-DCBcxJA8.mjs → collapsible-GkC3RzgL.mjs} +8 -9
- package/dist/collapsible-anatomy-BJ1fU-lk.mjs +3 -0
- package/dist/collapsible-anatomy-BNzFeDbw.d.cts +2 -0
- package/dist/collapsible-anatomy-BY04on8P.d.mts +2 -0
- package/dist/collapsible-anatomy-CgzhYqkh.cjs +1 -0
- package/dist/{collection-XVYHjcEl.mjs → collection-DC2n80Ca.mjs} +2 -2
- package/dist/{collection-DGEUORi5.cjs → collection-vSAfeUyg.cjs} +3 -3
- package/dist/color-picker-anatomy-Cz2IEv2-.d.cts +6 -0
- package/dist/color-picker-anatomy-D-f8NkKr.d.mts +6 -0
- package/dist/color-picker-anatomy-DMskx2e2.cjs +13 -0
- package/dist/color-picker-anatomy-DphCyLsu.mjs +7 -0
- package/dist/combobox-anatomy-BTi3ykzS.d.cts +6 -0
- package/dist/combobox-anatomy-C28sQ-W1.d.mts +6 -0
- package/dist/combobox-anatomy-D0yH6IiI.mjs +7 -0
- package/dist/combobox-anatomy-DcgOaDzw.cjs +13 -0
- package/dist/components/accordion/index.cjs +11 -9
- package/dist/components/accordion/index.d.cts +13 -12
- package/dist/components/accordion/index.d.mts +13 -12
- package/dist/components/accordion/index.mjs +11 -11
- package/dist/components/anatomy.cjs +336 -0
- package/dist/components/anatomy.d.cts +51 -0
- package/dist/components/anatomy.d.mts +51 -0
- package/dist/components/anatomy.mjs +54 -0
- package/dist/components/angle-slider/index.cjs +8 -7
- package/dist/components/angle-slider/index.d.cts +15 -14
- package/dist/components/angle-slider/index.d.mts +15 -14
- package/dist/components/angle-slider/index.mjs +9 -9
- package/dist/components/avatar/index.cjs +8 -7
- package/dist/components/avatar/index.d.cts +10 -9
- package/dist/components/avatar/index.d.mts +10 -9
- package/dist/components/avatar/index.mjs +9 -9
- package/dist/components/bottom-sheet/index.cjs +11 -10
- package/dist/components/bottom-sheet/index.d.cts +17 -16
- package/dist/components/bottom-sheet/index.d.mts +15 -14
- package/dist/components/bottom-sheet/index.mjs +13 -13
- package/dist/components/carousel/index.cjs +11 -14
- package/dist/components/carousel/index.d.cts +17 -20
- package/dist/components/carousel/index.d.mts +17 -20
- package/dist/components/carousel/index.mjs +9 -13
- package/dist/components/checkbox/index.cjs +18 -19
- package/dist/components/checkbox/index.d.cts +13 -16
- package/dist/components/checkbox/index.d.mts +13 -16
- package/dist/components/checkbox/index.mjs +16 -18
- package/dist/components/client-only/index.cjs +1 -1
- package/dist/components/clipboard/index.cjs +7 -6
- package/dist/components/clipboard/index.d.cts +14 -13
- package/dist/components/clipboard/index.d.mts +14 -13
- package/dist/components/clipboard/index.mjs +7 -7
- package/dist/components/collapsible/index.cjs +8 -7
- package/dist/components/collapsible/index.d.cts +12 -11
- package/dist/components/collapsible/index.d.mts +12 -11
- package/dist/components/collapsible/index.mjs +8 -7
- package/dist/components/collection/index.cjs +3 -3
- package/dist/components/collection/index.d.cts +1 -1
- package/dist/components/collection/index.d.mts +1 -1
- package/dist/components/collection/index.mjs +3 -3
- package/dist/components/color-picker/index.cjs +16 -18
- package/dist/components/color-picker/index.d.cts +34 -37
- package/dist/components/color-picker/index.d.mts +35 -38
- package/dist/components/color-picker/index.mjs +17 -19
- package/dist/components/combobox/index.cjs +17 -19
- package/dist/components/combobox/index.d.cts +21 -24
- package/dist/components/combobox/index.d.mts +22 -25
- package/dist/components/combobox/index.mjs +17 -20
- package/dist/components/date-picker/index.cjs +12 -15
- package/dist/components/date-picker/index.d.cts +31 -34
- package/dist/components/date-picker/index.d.mts +32 -35
- package/dist/components/date-picker/index.mjs +13 -16
- package/dist/components/dialog/index.cjs +10 -9
- package/dist/components/dialog/index.d.cts +17 -16
- package/dist/components/dialog/index.d.mts +18 -17
- package/dist/components/dialog/index.mjs +12 -12
- package/dist/components/download-trigger/index.cjs +5 -5
- package/dist/components/download-trigger/index.d.cts +4 -4
- package/dist/components/download-trigger/index.d.mts +4 -4
- package/dist/components/download-trigger/index.mjs +5 -5
- package/dist/components/editable/index.cjs +12 -10
- package/dist/components/editable/index.d.cts +15 -14
- package/dist/components/editable/index.d.mts +15 -14
- package/dist/components/editable/index.mjs +13 -12
- package/dist/components/field/index.cjs +10 -9
- package/dist/components/field/index.d.cts +13 -16
- package/dist/components/field/index.d.mts +13 -16
- package/dist/components/field/index.mjs +10 -9
- package/dist/components/fieldset/index.cjs +10 -9
- package/dist/components/fieldset/index.d.cts +9 -12
- package/dist/components/fieldset/index.d.mts +9 -12
- package/dist/components/fieldset/index.mjs +10 -9
- package/dist/components/file-upload/index.cjs +12 -10
- package/dist/components/file-upload/index.d.cts +20 -19
- package/dist/components/file-upload/index.d.mts +20 -19
- package/dist/components/file-upload/index.mjs +13 -12
- package/dist/components/floating-panel/index.cjs +10 -9
- package/dist/components/floating-panel/index.d.cts +21 -20
- package/dist/components/floating-panel/index.d.mts +22 -21
- package/dist/components/floating-panel/index.mjs +12 -12
- package/dist/components/focus-trap/index.cjs +4 -4
- package/dist/components/focus-trap/index.d.cts +4 -4
- package/dist/components/focus-trap/index.d.mts +4 -4
- package/dist/components/focus-trap/index.mjs +4 -4
- package/dist/components/format/index.cjs +3 -3
- package/dist/components/format/index.d.cts +4 -4
- package/dist/components/format/index.mjs +3 -3
- package/dist/components/frame/index.cjs +5 -5
- package/dist/components/frame/index.d.cts +3 -3
- package/dist/components/frame/index.d.mts +3 -3
- package/dist/components/frame/index.mjs +6 -6
- package/dist/components/highlight/index.cjs +2 -2
- package/dist/components/highlight/index.d.cts +3 -3
- package/dist/components/highlight/index.d.mts +3 -3
- package/dist/components/highlight/index.mjs +1 -1
- package/dist/components/hover-card/index.cjs +9 -8
- package/dist/components/hover-card/index.d.cts +15 -14
- package/dist/components/hover-card/index.d.mts +13 -12
- package/dist/components/hover-card/index.mjs +11 -11
- package/dist/components/image-cropper/index.cjs +8 -7
- package/dist/components/image-cropper/index.d.cts +13 -12
- package/dist/components/image-cropper/index.d.mts +13 -12
- package/dist/components/image-cropper/index.mjs +10 -9
- package/dist/components/json-tree-view/index.cjs +14 -12
- package/dist/components/json-tree-view/index.d.cts +5 -5
- package/dist/components/json-tree-view/index.d.mts +9 -9
- package/dist/components/json-tree-view/index.mjs +13 -13
- package/dist/components/listbox/index.cjs +12 -15
- package/dist/components/listbox/index.d.cts +16 -19
- package/dist/components/listbox/index.d.mts +16 -19
- package/dist/components/listbox/index.mjs +11 -15
- package/dist/components/marquee/index.cjs +8 -7
- package/dist/components/marquee/index.d.cts +12 -11
- package/dist/components/marquee/index.d.mts +12 -11
- package/dist/components/marquee/index.mjs +9 -9
- package/dist/components/menu/index.cjs +10 -9
- package/dist/components/menu/index.d.cts +28 -26
- package/dist/components/menu/index.d.mts +45 -29
- package/dist/components/menu/index.mjs +12 -12
- package/dist/components/navigation-menu/index.cjs +12 -11
- package/dist/components/navigation-menu/index.d.cts +19 -18
- package/dist/components/navigation-menu/index.d.mts +19 -18
- package/dist/components/navigation-menu/index.mjs +14 -14
- package/dist/components/number-input/index.cjs +12 -10
- package/dist/components/number-input/index.d.cts +15 -14
- package/dist/components/number-input/index.d.mts +15 -14
- package/dist/components/number-input/index.mjs +13 -12
- package/dist/components/pagination/index.cjs +8 -7
- package/dist/components/pagination/index.d.cts +14 -13
- package/dist/components/pagination/index.d.mts +14 -13
- package/dist/components/pagination/index.mjs +9 -9
- package/dist/components/password-input/index.cjs +12 -10
- package/dist/components/password-input/index.d.cts +13 -12
- package/dist/components/password-input/index.d.mts +13 -12
- package/dist/components/password-input/index.mjs +13 -12
- package/dist/components/pin-input/index.cjs +12 -10
- package/dist/components/pin-input/index.d.cts +12 -11
- package/dist/components/pin-input/index.d.mts +12 -11
- package/dist/components/pin-input/index.mjs +13 -12
- package/dist/components/popover/index.cjs +9 -8
- package/dist/components/popover/index.d.cts +20 -19
- package/dist/components/popover/index.d.mts +21 -20
- package/dist/components/popover/index.mjs +11 -11
- package/dist/components/portal/index.cjs +4 -4
- package/dist/components/portal/index.d.cts +2 -2
- package/dist/components/portal/index.d.mts +2 -2
- package/dist/components/portal/index.mjs +5 -5
- package/dist/components/presence/index.cjs +5 -5
- package/dist/components/presence/index.d.cts +1 -1
- package/dist/components/presence/index.d.mts +3 -3
- package/dist/components/presence/index.mjs +5 -5
- package/dist/components/progress/index.cjs +8 -7
- package/dist/components/progress/index.d.cts +16 -15
- package/dist/components/progress/index.d.mts +16 -15
- package/dist/components/progress/index.mjs +9 -9
- package/dist/components/qr-code/index.cjs +8 -7
- package/dist/components/qr-code/index.d.cts +12 -11
- package/dist/components/qr-code/index.d.mts +12 -11
- package/dist/components/qr-code/index.mjs +9 -9
- package/dist/components/radio-group/index.cjs +12 -10
- package/dist/components/radio-group/index.d.cts +14 -13
- package/dist/components/radio-group/index.d.mts +14 -13
- package/dist/components/radio-group/index.mjs +13 -12
- package/dist/components/rating-group/index.cjs +12 -10
- package/dist/components/rating-group/index.d.cts +12 -11
- package/dist/components/rating-group/index.d.mts +12 -11
- package/dist/components/rating-group/index.mjs +13 -12
- package/dist/components/scroll-area/index.cjs +8 -7
- package/dist/components/scroll-area/index.d.cts +13 -12
- package/dist/components/scroll-area/index.d.mts +13 -12
- package/dist/components/scroll-area/index.mjs +9 -9
- package/dist/components/segment-group/index.cjs +16 -20
- package/dist/components/segment-group/index.d.cts +13 -16
- package/dist/components/segment-group/index.d.mts +13 -16
- package/dist/components/segment-group/index.mjs +9 -14
- package/dist/components/select/index.cjs +15 -13
- package/dist/components/select/index.d.cts +23 -22
- package/dist/components/select/index.d.mts +24 -23
- package/dist/components/select/index.mjs +17 -16
- package/dist/components/signature-pad/index.cjs +215 -0
- package/dist/components/signature-pad/index.d.cts +70 -0
- package/dist/components/signature-pad/index.d.mts +70 -0
- package/dist/components/signature-pad/index.mjs +191 -0
- package/dist/components/slider/index.cjs +279 -0
- package/dist/components/slider/index.d.cts +90 -0
- package/dist/components/slider/index.d.mts +90 -0
- package/dist/components/slider/index.mjs +251 -0
- package/dist/components/splitter/index.cjs +178 -0
- package/dist/components/splitter/index.d.cts +55 -0
- package/dist/components/splitter/index.d.mts +55 -0
- package/dist/components/splitter/index.mjs +152 -0
- package/dist/components/steps/index.cjs +290 -0
- package/dist/components/steps/index.d.cts +105 -0
- package/dist/components/steps/index.d.mts +105 -0
- package/dist/components/steps/index.mjs +260 -0
- package/dist/components/switch/index.cjs +182 -0
- package/dist/components/switch/index.d.cts +60 -0
- package/dist/components/switch/index.d.mts +60 -0
- package/dist/components/switch/index.mjs +160 -0
- package/dist/components/tabs/index.cjs +192 -0
- package/dist/components/tabs/index.d.cts +61 -0
- package/dist/components/tabs/index.d.mts +61 -0
- package/dist/components/tabs/index.mjs +170 -0
- package/dist/components/tags-input/index.cjs +320 -0
- package/dist/components/tags-input/index.d.cts +99 -0
- package/dist/components/tags-input/index.d.mts +99 -0
- package/dist/components/tags-input/index.mjs +290 -0
- package/dist/components/timer/index.cjs +180 -0
- package/dist/components/timer/index.d.cts +65 -0
- package/dist/components/timer/index.d.mts +65 -0
- package/dist/components/timer/index.mjs +157 -0
- package/dist/components/toast/index.cjs +166 -0
- package/dist/components/toast/index.d.cts +61 -0
- package/dist/components/toast/index.d.mts +61 -0
- package/dist/components/toast/index.mjs +144 -0
- package/dist/components/toggle/index.cjs +88 -0
- package/dist/components/toggle/index.d.cts +37 -0
- package/dist/components/toggle/index.d.mts +37 -0
- package/dist/components/toggle/index.mjs +75 -0
- package/dist/components/toggle-group/index.cjs +128 -0
- package/dist/components/toggle-group/index.d.cts +45 -0
- package/dist/components/toggle-group/index.d.mts +45 -0
- package/dist/components/toggle-group/index.mjs +109 -0
- package/dist/components/tooltip/index.cjs +166 -0
- package/dist/components/tooltip/index.d.cts +71 -0
- package/dist/components/tooltip/index.d.mts +72 -0
- package/dist/components/tooltip/index.mjs +143 -0
- package/dist/components/tour/index.cjs +271 -0
- package/dist/components/tour/index.d.cts +105 -0
- package/dist/components/tour/index.d.mts +106 -0
- package/dist/components/tour/index.mjs +246 -0
- package/dist/components/tree-view/index.cjs +13 -11
- package/dist/components/tree-view/index.d.cts +3 -2
- package/dist/components/tree-view/index.d.mts +6 -5
- package/dist/components/tree-view/index.mjs +12 -11
- package/dist/{core-DCWyxy9D.cjs → core-oy7TWDvO.cjs} +1 -1
- package/dist/{create-context-CQ4U0lLj.cjs → create-context-RCOpQR_m.cjs} +1 -1
- package/dist/date-picker-anatomy-2lDLVU51.d.cts +6 -0
- package/dist/date-picker-anatomy-BrlBabBY.d.mts +6 -0
- package/dist/date-picker-anatomy-BzqdlOHy.cjs +13 -0
- package/dist/date-picker-anatomy-DJjakP4t.mjs +7 -0
- package/dist/dialog-anatomy-4eC72hEa.cjs +1 -0
- package/dist/dialog-anatomy-PFoojjde.d.cts +2 -0
- package/dist/dialog-anatomy-cpl4yRBO.mjs +3 -0
- package/dist/dialog-anatomy-zxpC94aQ.d.mts +2 -0
- package/dist/editable-anatomy--Lprbsy8.cjs +1 -0
- package/dist/editable-anatomy-BvTzcLcu.d.mts +2 -0
- package/dist/editable-anatomy-CGWwse5b.mjs +3 -0
- package/dist/editable-anatomy-ChVmNTaw.d.cts +2 -0
- package/dist/{environment-CvilmfQt.cjs → environment-CxN6E_IC.cjs} +2 -2
- package/dist/{environment-Cnx9ZBbN.mjs → environment-SaOmH4By.mjs} +1 -1
- package/dist/{factory-BwIiMV5g.mjs → factory-C3MVpSt5.mjs} +1 -1
- package/dist/{factory-C166evrS.cjs → factory-DY9J9D6d.cjs} +1 -1
- package/dist/{field-C-57Gj2E.cjs → field-CLzd5kft.cjs} +16 -27
- package/dist/{field-BuPxh7ZO.mjs → field-ERrPWOxL.mjs} +11 -16
- package/dist/field-anatomy-BOnai41v.cjs +20 -0
- package/dist/field-anatomy-CDkbXwWy.d.mts +6 -0
- package/dist/field-anatomy-LiwjUzYX.mjs +8 -0
- package/dist/field-anatomy-TjI_6UiL.d.cts +6 -0
- package/dist/{fieldset-B-MkM2Ms.cjs → fieldset-5OWGQQeF.cjs} +11 -22
- package/dist/{fieldset-UIFriN0i.mjs → fieldset-DlLdnWb8.mjs} +10 -15
- package/dist/fieldset-anatomy-ByFjQHbS.mjs +8 -0
- package/dist/fieldset-anatomy-DR8WEwsX.d.mts +6 -0
- package/dist/fieldset-anatomy-MfvteTea.d.cts +6 -0
- package/dist/fieldset-anatomy-V8OKt2Kh.cjs +20 -0
- package/dist/file-upload-anatomy-CSLpjY81.d.cts +2 -0
- package/dist/file-upload-anatomy-CVajVfa9.d.mts +2 -0
- package/dist/file-upload-anatomy-CVobYhZV.cjs +1 -0
- package/dist/file-upload-anatomy-DXyKjjeg.mjs +3 -0
- package/dist/floating-panel-anatomy-CG9s4mqd.cjs +1 -0
- package/dist/floating-panel-anatomy-CZOU8n0A.mjs +3 -0
- package/dist/floating-panel-anatomy-CocrO3J-.d.mts +2 -0
- package/dist/floating-panel-anatomy-uaCG0I0g.d.cts +2 -0
- package/dist/hover-card-anatomy-B3iayejx.d.mts +2 -0
- package/dist/hover-card-anatomy-ByW_9zER.d.cts +2 -0
- package/dist/hover-card-anatomy-DOBXa3L0.mjs +3 -0
- package/dist/hover-card-anatomy-XAzrKFqw.cjs +1 -0
- package/dist/image-cropper-anatomy-CYW_XdMj.mjs +3 -0
- package/dist/image-cropper-anatomy-DBqhXOyb.d.cts +2 -0
- package/dist/image-cropper-anatomy-OMUmSlmh.cjs +1 -0
- package/dist/image-cropper-anatomy-bs7Efinl.d.mts +2 -0
- package/dist/{index-BoKwZUuR.d.mts → index-1_WyzYC0.d.mts} +27 -27
- package/dist/{index-C-uklBbh.d.cts → index-BuMIGScO.d.cts} +6 -6
- package/dist/{index-IQMPWCzE.d.cts → index-CQvWsTAJ.d.cts} +27 -27
- package/dist/index-CVR-XtKc.d.mts +97 -0
- package/dist/index-CVePF5vp.d.cts +109 -0
- package/dist/{index-tmg3Dc0S.d.mts → index-D_ytaexs.d.mts} +6 -6
- package/dist/index.cjs +407 -7
- package/dist/index.d.cts +56 -6
- package/dist/index.d.mts +56 -6
- package/dist/index.mjs +127 -8
- package/dist/listbox-anatomy-BH-gV3e9.mjs +7 -0
- package/dist/listbox-anatomy-D2RQsV2e.d.cts +6 -0
- package/dist/listbox-anatomy-K-QD2oWg.d.mts +6 -0
- package/dist/listbox-anatomy-gkGe68ws.cjs +13 -0
- package/dist/{locale-BheNIyu4.mjs → locale-Bsrr4Z-J.mjs} +1 -1
- package/dist/{locale-BcnWD1Hf.cjs → locale-D3raWtvM.cjs} +2 -2
- package/dist/marquee-anatomy-C9HAWHcH.d.cts +2 -0
- package/dist/marquee-anatomy-D1eUA9sr.mjs +3 -0
- package/dist/marquee-anatomy-D6mTt9xn.d.mts +2 -0
- package/dist/marquee-anatomy-W0jdOy7x.cjs +1 -0
- package/dist/menu-anatomy-BEImqCYk.mjs +3 -0
- package/dist/menu-anatomy-C4Rj1xEF.cjs +1 -0
- package/dist/navigation-menu-anatomy-BLWGtaTR.d.mts +2 -0
- package/dist/navigation-menu-anatomy-CYdBz045.mjs +3 -0
- package/dist/navigation-menu-anatomy-Dv0Nhwjm.d.cts +2 -0
- package/dist/navigation-menu-anatomy-eQxlXc6C.cjs +1 -0
- package/dist/number-input-anatomy-CbyaS_2k.d.mts +2 -0
- package/dist/number-input-anatomy-Cj83j2Bi.cjs +1 -0
- package/dist/number-input-anatomy-D74_w7aW.d.cts +2 -0
- package/dist/number-input-anatomy-nr2e4x5y.mjs +3 -0
- package/dist/pagination-anatomy-CWjoE6_C.cjs +1 -0
- package/dist/pagination-anatomy-D5kUtIjp.d.cts +2 -0
- package/dist/pagination-anatomy-DYcuGRAe.d.mts +2 -0
- package/dist/pagination-anatomy-mB3EiIXL.mjs +3 -0
- package/dist/password-input-anatomy-BpA7ZmUl.d.cts +2 -0
- package/dist/password-input-anatomy-CGyIpCw1.d.mts +2 -0
- package/dist/password-input-anatomy-D6tB1yTQ.mjs +3 -0
- package/dist/password-input-anatomy-Dx7zK78c.cjs +1 -0
- package/dist/pin-input-anatomy-1dD0f2mO.d.cts +2 -0
- package/dist/pin-input-anatomy-By-l4RXT.mjs +3 -0
- package/dist/pin-input-anatomy-DveeqgLN.cjs +1 -0
- package/dist/pin-input-anatomy-vXC3GGhL.d.mts +2 -0
- package/dist/popover-anatomy-CfpIYZIo.cjs +1 -0
- package/dist/popover-anatomy-D9qirge6.d.cts +2 -0
- package/dist/popover-anatomy-DfuR3Cao.d.mts +2 -0
- package/dist/popover-anatomy-gGz0lr7q.mjs +3 -0
- package/dist/{portal-DRyJqgA1.cjs → portal-CtFhUnti.cjs} +2 -2
- package/dist/{portal-Cf1DNJ7L.mjs → portal-DPViYwN5.mjs} +1 -1
- package/dist/{presence-D-rmmMDm.mjs → presence-Dn_PF98l.mjs} +6 -6
- package/dist/{presence-CPov8wyU.cjs → presence-r3UGqxcZ.cjs} +6 -6
- package/dist/progress-anatomy-BrCRtxUf.d.cts +2 -0
- package/dist/progress-anatomy-BtdAT4dQ.cjs +1 -0
- package/dist/progress-anatomy-CXZavO9I.mjs +3 -0
- package/dist/progress-anatomy-DYDKsx2c.d.mts +2 -0
- package/dist/qr-code-anatomy-BHloN_cN.d.mts +2 -0
- package/dist/qr-code-anatomy-C85oQynS.mjs +3 -0
- package/dist/qr-code-anatomy-D5nOi2TD.d.cts +2 -0
- package/dist/qr-code-anatomy-FhaJsZF4.cjs +1 -0
- package/dist/radio-group-anatomy-B5WYKEEO.d.mts +2 -0
- package/dist/radio-group-anatomy-CAh5fkBu.cjs +1 -0
- package/dist/radio-group-anatomy-DKUNIvEg.d.cts +2 -0
- package/dist/radio-group-anatomy-g0KbN9pG.mjs +3 -0
- package/dist/rating-group-anatomy-CIenK6IJ.d.mts +2 -0
- package/dist/rating-group-anatomy-Cc8bBTCG.d.cts +2 -0
- package/dist/rating-group-anatomy-Dqe5gIjm.cjs +1 -0
- package/dist/rating-group-anatomy-nPxqE8fz.mjs +3 -0
- package/dist/{render-strategy-BywM_IvB.cjs → render-strategy-BFt8QN3v.cjs} +2 -2
- package/dist/{render-strategy-D2htg_Zz.mjs → render-strategy-DB0paNe_.mjs} +2 -2
- package/dist/scroll-area-anatomy-BC4pduog.mjs +3 -0
- package/dist/scroll-area-anatomy-Bj-dZIOP.d.cts +2 -0
- package/dist/scroll-area-anatomy-CGAClGED.cjs +1 -0
- package/dist/scroll-area-anatomy-M0Akp5gM.d.mts +2 -0
- package/dist/segment-group-anatomy-B-X8Uf79.d.cts +6 -0
- package/dist/segment-group-anatomy-C9nG0XXn.mjs +8 -0
- package/dist/segment-group-anatomy-CDEx99ku.cjs +20 -0
- package/dist/segment-group-anatomy-CH2JEagV.d.mts +6 -0
- package/dist/select-anatomy-ANZvJnFP.d.mts +2 -0
- package/dist/select-anatomy-B3DAdkuc.mjs +3 -0
- package/dist/select-anatomy-BgUycplU.d.cts +2 -0
- package/dist/select-anatomy-Ld7p8M5i.cjs +1 -0
- package/dist/signature-pad-anatomy-B0NXQjlM.d.mts +2 -0
- package/dist/signature-pad-anatomy-CCzIExLN.cjs +1 -0
- package/dist/signature-pad-anatomy-D-rUbP-D.mjs +3 -0
- package/dist/signature-pad-anatomy-tlcST0A9.d.cts +2 -0
- package/dist/slider-anatomy-CHAVNrE-.mjs +3 -0
- package/dist/slider-anatomy-DeuOu_yr.d.cts +2 -0
- package/dist/slider-anatomy-bB2ZN_7v.d.mts +2 -0
- package/dist/slider-anatomy-ib0bbh6R.cjs +1 -0
- package/dist/splitter-anatomy-BdgcwAeU.d.cts +2 -0
- package/dist/splitter-anatomy-CQ0ixNs0.cjs +1 -0
- package/dist/splitter-anatomy-cxmhm9P1.d.mts +2 -0
- package/dist/splitter-anatomy-lw9nN6Os.mjs +3 -0
- package/dist/steps-anatomy-BG7X0r1U.cjs +1 -0
- package/dist/steps-anatomy-Bplgb53H.d.cts +2 -0
- package/dist/steps-anatomy-L29X5b54.mjs +3 -0
- package/dist/steps-anatomy-l_xACyQU.d.mts +2 -0
- package/dist/switch-anatomy-25XoRlF9.mjs +3 -0
- package/dist/switch-anatomy-Ci-WWIh0.d.cts +2 -0
- package/dist/switch-anatomy-DLkJh8dW.d.mts +2 -0
- package/dist/switch-anatomy-DZWXiPbY.cjs +1 -0
- package/dist/tabs-anatomy-BFkzSLmz.mjs +3 -0
- package/dist/tabs-anatomy-CRbdY2Vx.cjs +1 -0
- package/dist/tabs-anatomy-DAH6NsVY.d.mts +2 -0
- package/dist/tabs-anatomy-DX2Jj16R.d.cts +2 -0
- package/dist/tags-input-anatomy-B6yIvWqq.d.cts +2 -0
- package/dist/tags-input-anatomy-CWuQ53YR.mjs +3 -0
- package/dist/tags-input-anatomy-CfqbAIl5.d.mts +2 -0
- package/dist/tags-input-anatomy-mr-aRBvG.cjs +1 -0
- package/dist/timer-anatomy-D543fp4K.d.mts +2 -0
- package/dist/timer-anatomy-DUm5g1bg.cjs +1 -0
- package/dist/timer-anatomy-DYCbV039.d.cts +2 -0
- package/dist/timer-anatomy-DkIszKtE.mjs +3 -0
- package/dist/toast-anatomy--lxC6HXz.d.mts +2 -0
- package/dist/toast-anatomy-BfJGt5x2.mjs +3 -0
- package/dist/toast-anatomy-BgE_vsnK.d.cts +2 -0
- package/dist/toast-anatomy-Cov6ubHd.cjs +1 -0
- package/dist/toggle-anatomy-B2qpyV_G.cjs +14 -0
- package/dist/toggle-anatomy-BF_-e1BY.d.mts +6 -0
- package/dist/toggle-anatomy-Bvt2A4DJ.mjs +8 -0
- package/dist/toggle-anatomy-CQ1yDXok.d.cts +6 -0
- package/dist/toggle-group-anatomy-CseKfB3J.d.cts +2 -0
- package/dist/toggle-group-anatomy-GDUrGh2o.d.mts +2 -0
- package/dist/toggle-group-anatomy-SP8ZILZJ.cjs +1 -0
- package/dist/toggle-group-anatomy-pDG2YN1o.mjs +3 -0
- package/dist/tooltip-anatomy-BCTV9bmg.d.mts +2 -0
- package/dist/tooltip-anatomy-BXJ3m4JD.d.cts +2 -0
- package/dist/tooltip-anatomy-DQTI7HuY.cjs +1 -0
- package/dist/tooltip-anatomy-Da49BV-l.mjs +3 -0
- package/dist/tour-anatomy-Cn7I6DSK.d.mts +6 -0
- package/dist/tour-anatomy-DL4J6JoA.cjs +13 -0
- package/dist/tour-anatomy-DQvEQ0So.mjs +7 -0
- package/dist/tour-anatomy-qnwrcajb.d.cts +6 -0
- package/dist/{tree-view-DsOPEocd.cjs → tree-view-B733zQBl.cjs} +9 -9
- package/dist/{tree-view-Br67rmuK.mjs → tree-view-DFKSWAQJ.mjs} +10 -11
- package/dist/tree-view-anatomy-BKVVcKzs.d.mts +2 -0
- package/dist/tree-view-anatomy-BbXee4_Y.d.cts +2 -0
- package/dist/tree-view-anatomy-D-b5x1IP.cjs +1 -0
- package/dist/tree-view-anatomy-DAP4zwFO.mjs +3 -0
- package/dist/{use-event-CLH8zHoJ.cjs → use-event-C9pVOtdG.cjs} +1 -1
- package/dist/{use-fieldset-context-DPgRcctn.mjs → use-fieldset-context-DMlYDhkR.mjs} +1 -1
- package/dist/{use-fieldset-context-CCQLmNLL.cjs → use-fieldset-context-Dxzjsaww.cjs} +1 -1
- package/dist/{use-safe-layout-effect-C2GgvNT3.cjs → use-safe-layout-effect-ae91TgDe.cjs} +1 -1
- package/dist/utils/index.cjs +2 -2
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +132 -2
- package/dist/chunk-tPcuhsU6.mjs +0 -18
- package/dist/index-CQrt31Vz.d.mts +0 -40
- package/dist/index-YjtX6_Hn.d.cts +0 -52
- /package/dist/{compose-refs-ymQahgeo.mjs → compose-refs-DtS_RGf4.mjs} +0 -0
- /package/dist/{core-BrQa5x6H.mjs → core-D5Nn8Do7.mjs} +0 -0
- /package/dist/{create-context-aizX7yAt.mjs → create-context-C9f3ZSYn.mjs} +0 -0
- /package/dist/{create-split-props-Dp4TWOyM.cjs → create-split-props-3uzAEUIm.cjs} +0 -0
- /package/dist/{create-split-props-BHHQqbKs.mjs → create-split-props-ButBrlN-.mjs} +0 -0
- /package/dist/{factory-Bv0JsGLd.d.cts → factory-BqX8l4xK.d.cts} +0 -0
- /package/dist/{factory-DcDjbYQq.d.mts → factory-FP_lLEyP.d.mts} +0 -0
- /package/dist/{index-BH0zbKp3.d.mts → index-CY4q0enN.d.mts} +0 -0
- /package/dist/{index-CsVbgeF4.d.cts → index-D43NaN4q.d.cts} +0 -0
- /package/dist/{index-D2T5b4fK.d.cts → index-g-TCevCo.d.cts} +0 -0
- /package/dist/{index-WJ-tNaCp.d.mts → index-vQ9UMDY6.d.mts} +0 -0
- /package/dist/{index-DJx_8PSR.d.mts → index-vVsZQ4T1.d.mts} +0 -0
- /package/dist/{normalize-props-EzaAUPva.d.cts → normalize-props-BeSH6oua.d.cts} +0 -0
- /package/dist/{providers-B1DbplwV.mjs → providers-Dhji4k4B.mjs} +0 -0
- /package/dist/{render-strategy-DEUBHfUP.d.cts → render-strategy-CaB6s5ot.d.cts} +0 -0
- /package/dist/{render-strategy-C5J78Qs-.d.mts → render-strategy-xT5FMQr3.d.mts} +0 -0
- /package/dist/{types-C2LNTNCl.d.cts → types-CCi_nex5.d.cts} +0 -0
- /package/dist/{types-CdhepaRC.d.mts → types-DRV9A4aT.d.mts} +0 -0
- /package/dist/{use-event-qKb6UUEI.mjs → use-event-C9vp_bYl.mjs} +0 -0
- /package/dist/{use-safe-layout-effect-BHE-Ll-k.mjs → use-safe-layout-effect-c21-N1lb.mjs} +0 -0
- /package/dist/{utils-Bx4WJ5W9.mjs → utils-VISpNOGe.mjs} +0 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import { t as __export } from "../../chunk-C59VKDyD.mjs";
|
|
2
|
+
import { i as useMachine, r as normalizeProps, t as mergeProps } from "../../core-D5Nn8Do7.mjs";
|
|
3
|
+
import { t as createContext$1 } from "../../create-context-C9f3ZSYn.mjs";
|
|
4
|
+
import { n as useEnvironmentContext } from "../../environment-SaOmH4By.mjs";
|
|
5
|
+
import { i as useLocaleContext } from "../../locale-Bsrr4Z-J.mjs";
|
|
6
|
+
import "../../providers-Dhji4k4B.mjs";
|
|
7
|
+
import { n as sprawlify } from "../../factory-C3MVpSt5.mjs";
|
|
8
|
+
import "../../field-anatomy-LiwjUzYX.mjs";
|
|
9
|
+
import { t as tagsInputAnatomy } from "../../tags-input-anatomy-CWuQ53YR.mjs";
|
|
10
|
+
import { t as createSplitProps } from "../../create-split-props-ButBrlN-.mjs";
|
|
11
|
+
import "../../use-fieldset-context-DMlYDhkR.mjs";
|
|
12
|
+
import "../../use-safe-layout-effect-c21-N1lb.mjs";
|
|
13
|
+
import { p as useFieldContext } from "../../field-ERrPWOxL.mjs";
|
|
14
|
+
import { forwardRef, useId } from "react";
|
|
15
|
+
import { jsx } from "react/jsx-runtime";
|
|
16
|
+
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
17
|
+
|
|
18
|
+
//#region src/components/tags-input/use-tags-input-context.ts
|
|
19
|
+
const [TagsInputProvider, useTagsInputContext] = createContext$1({
|
|
20
|
+
name: "TagsInputContext",
|
|
21
|
+
hookName: "useTagsInputContext",
|
|
22
|
+
providerName: "<TagsInputProvider />"
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/components/tags-input/tags-input-clear-trigger.tsx
|
|
27
|
+
const TagsInputClearTrigger = forwardRef((props, ref) => {
|
|
28
|
+
const mergedProps = mergeProps(useTagsInputContext().getClearTriggerProps(), props);
|
|
29
|
+
return /* @__PURE__ */ jsx(sprawlify.button, {
|
|
30
|
+
...mergedProps,
|
|
31
|
+
ref
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
TagsInputClearTrigger.displayName = "TagsInputClearTrigger";
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/components/tags-input/tags-input-context.tsx
|
|
38
|
+
const TagsInputContext = (props) => props.children(useTagsInputContext());
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/components/tags-input/tags-input-control.tsx
|
|
42
|
+
const TagsInputControl = forwardRef((props, ref) => {
|
|
43
|
+
const mergedProps = mergeProps(useTagsInputContext().getControlProps(), props);
|
|
44
|
+
return /* @__PURE__ */ jsx(sprawlify.div, {
|
|
45
|
+
...mergedProps,
|
|
46
|
+
ref
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
TagsInputControl.displayName = "TagsInputControl";
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/components/tags-input/tags-input-hidden-input.tsx
|
|
53
|
+
const TagsInputHiddenInput = forwardRef((props, ref) => {
|
|
54
|
+
const mergedProps = mergeProps(useTagsInputContext().getHiddenInputProps(), props);
|
|
55
|
+
const field = useFieldContext();
|
|
56
|
+
return /* @__PURE__ */ jsx(sprawlify.input, {
|
|
57
|
+
"aria-describedby": field?.ariaDescribedby,
|
|
58
|
+
...mergedProps,
|
|
59
|
+
ref
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
TagsInputHiddenInput.displayName = "TagsInputHiddenInput";
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region src/components/tags-input/tags-input-input.tsx
|
|
66
|
+
const TagsInputInput = forwardRef((props, ref) => {
|
|
67
|
+
const mergedProps = mergeProps(useTagsInputContext().getInputProps(), props);
|
|
68
|
+
return /* @__PURE__ */ jsx(sprawlify.input, {
|
|
69
|
+
...mergedProps,
|
|
70
|
+
ref
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
TagsInputInput.displayName = "TagsInputInput";
|
|
74
|
+
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/components/tags-input/use-tags-input-item-context.ts
|
|
77
|
+
const [TagsInputItemProvider, useTagsInputItemContext] = createContext$1({
|
|
78
|
+
name: "TagsInputItemContext",
|
|
79
|
+
hookName: "useTagsInputItemContext",
|
|
80
|
+
providerName: "<TagsInputItemProvider />"
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region src/components/tags-input/use-tags-input-item-props-context.ts
|
|
85
|
+
const [TagsInputItemPropsProvider, useTagsInputItemPropsContext] = createContext$1({
|
|
86
|
+
name: "TagsInputItemPropsContext",
|
|
87
|
+
hookName: "useTagsInputItemPropsContext",
|
|
88
|
+
providerName: "<TagsInputItemPropsProvider />"
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region src/components/tags-input/tags-input-item.tsx
|
|
93
|
+
const splitItemProps = createSplitProps();
|
|
94
|
+
const TagsInputItem = forwardRef((props, ref) => {
|
|
95
|
+
const [itemProps, localProps] = splitItemProps(props, [
|
|
96
|
+
"index",
|
|
97
|
+
"disabled",
|
|
98
|
+
"value"
|
|
99
|
+
]);
|
|
100
|
+
const tagsInput$1 = useTagsInputContext();
|
|
101
|
+
const mergedProps = mergeProps(tagsInput$1.getItemProps(itemProps), localProps);
|
|
102
|
+
return /* @__PURE__ */ jsx(TagsInputItemPropsProvider, {
|
|
103
|
+
value: itemProps,
|
|
104
|
+
children: /* @__PURE__ */ jsx(TagsInputItemProvider, {
|
|
105
|
+
value: tagsInput$1.getItemState(itemProps),
|
|
106
|
+
children: /* @__PURE__ */ jsx(sprawlify.div, {
|
|
107
|
+
...mergedProps,
|
|
108
|
+
ref
|
|
109
|
+
})
|
|
110
|
+
})
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
TagsInputItem.displayName = "TagsInputItem";
|
|
114
|
+
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region src/components/tags-input/tags-input-item-context.tsx
|
|
117
|
+
const TagsInputItemContext = (props) => props.children(useTagsInputItemContext());
|
|
118
|
+
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/components/tags-input/tags-input-item-delete-trigger.tsx
|
|
121
|
+
const TagsInputItemDeleteTrigger = forwardRef((props, ref) => {
|
|
122
|
+
const tagsInput$1 = useTagsInputContext();
|
|
123
|
+
const itemProps = useTagsInputItemPropsContext();
|
|
124
|
+
const mergedProps = mergeProps(tagsInput$1.getItemDeleteTriggerProps(itemProps), props);
|
|
125
|
+
return /* @__PURE__ */ jsx(sprawlify.button, {
|
|
126
|
+
...mergedProps,
|
|
127
|
+
ref
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
TagsInputItemDeleteTrigger.displayName = "TagsInputItemDeleteTrigger";
|
|
131
|
+
|
|
132
|
+
//#endregion
|
|
133
|
+
//#region src/components/tags-input/tags-input-item-input.tsx
|
|
134
|
+
const TagsInputItemInput = forwardRef((props, ref) => {
|
|
135
|
+
const tagsInput$1 = useTagsInputContext();
|
|
136
|
+
const itemProps = useTagsInputItemPropsContext();
|
|
137
|
+
const mergedProps = mergeProps(tagsInput$1.getItemInputProps(itemProps), props);
|
|
138
|
+
return /* @__PURE__ */ jsx(sprawlify.input, {
|
|
139
|
+
...mergedProps,
|
|
140
|
+
ref
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
TagsInputItemInput.displayName = "TagsInputItemInput";
|
|
144
|
+
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region src/components/tags-input/tags-input-item-preview.tsx
|
|
147
|
+
const TagsInputItemPreview = forwardRef((props, ref) => {
|
|
148
|
+
const tagsInput$1 = useTagsInputContext();
|
|
149
|
+
const itemProps = useTagsInputItemPropsContext();
|
|
150
|
+
const mergedProps = mergeProps(tagsInput$1.getItemPreviewProps(itemProps), props);
|
|
151
|
+
return /* @__PURE__ */ jsx(sprawlify.div, {
|
|
152
|
+
...mergedProps,
|
|
153
|
+
ref
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
TagsInputItemPreview.displayName = "TagsInputItemPreview";
|
|
157
|
+
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region src/components/tags-input/tags-input-item-text.tsx
|
|
160
|
+
const TagsInputItemText = forwardRef((props, ref) => {
|
|
161
|
+
const tagsInput$1 = useTagsInputContext();
|
|
162
|
+
const itemProps = useTagsInputItemPropsContext();
|
|
163
|
+
const mergedProps = mergeProps(tagsInput$1.getItemTextProps(itemProps), props);
|
|
164
|
+
return /* @__PURE__ */ jsx(sprawlify.span, {
|
|
165
|
+
...mergedProps,
|
|
166
|
+
ref
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
TagsInputItemText.displayName = "TagsInputItemText";
|
|
170
|
+
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/components/tags-input/tags-input-label.tsx
|
|
173
|
+
const TagsInputLabel = forwardRef((props, ref) => {
|
|
174
|
+
const mergedProps = mergeProps(useTagsInputContext().getLabelProps(), props);
|
|
175
|
+
return /* @__PURE__ */ jsx(sprawlify.label, {
|
|
176
|
+
...mergedProps,
|
|
177
|
+
ref
|
|
178
|
+
});
|
|
179
|
+
});
|
|
180
|
+
TagsInputLabel.displayName = "TagsInputLabel";
|
|
181
|
+
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/components/tags-input/use-tags-input.ts
|
|
184
|
+
const useTagsInput = (props) => {
|
|
185
|
+
const id = useId();
|
|
186
|
+
const { getRootNode } = useEnvironmentContext();
|
|
187
|
+
const { dir } = useLocaleContext();
|
|
188
|
+
const field = useFieldContext();
|
|
189
|
+
const machineProps = {
|
|
190
|
+
id,
|
|
191
|
+
ids: {
|
|
192
|
+
label: field?.ids.label,
|
|
193
|
+
hiddenInput: field?.ids.control
|
|
194
|
+
},
|
|
195
|
+
dir,
|
|
196
|
+
disabled: field?.disabled,
|
|
197
|
+
invalid: field?.invalid,
|
|
198
|
+
readOnly: field?.readOnly,
|
|
199
|
+
required: field?.required,
|
|
200
|
+
getRootNode,
|
|
201
|
+
...props
|
|
202
|
+
};
|
|
203
|
+
const service = useMachine(tagsInput.machine, machineProps);
|
|
204
|
+
return tagsInput.connect(service, normalizeProps);
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region src/components/tags-input/tags-input-root.tsx
|
|
209
|
+
const splitTagsInputProps = createSplitProps();
|
|
210
|
+
const TagsInputRoot = forwardRef((props, ref) => {
|
|
211
|
+
const [useTagsInputProps, localProps] = splitTagsInputProps(props, [
|
|
212
|
+
"addOnPaste",
|
|
213
|
+
"allowOverflow",
|
|
214
|
+
"autoFocus",
|
|
215
|
+
"blurBehavior",
|
|
216
|
+
"defaultInputValue",
|
|
217
|
+
"defaultValue",
|
|
218
|
+
"delimiter",
|
|
219
|
+
"disabled",
|
|
220
|
+
"editable",
|
|
221
|
+
"form",
|
|
222
|
+
"id",
|
|
223
|
+
"ids",
|
|
224
|
+
"inputValue",
|
|
225
|
+
"invalid",
|
|
226
|
+
"max",
|
|
227
|
+
"maxLength",
|
|
228
|
+
"name",
|
|
229
|
+
"onFocusOutside",
|
|
230
|
+
"onHighlightChange",
|
|
231
|
+
"onInputValueChange",
|
|
232
|
+
"onInteractOutside",
|
|
233
|
+
"onPointerDownOutside",
|
|
234
|
+
"onValueChange",
|
|
235
|
+
"onValueInvalid",
|
|
236
|
+
"readOnly",
|
|
237
|
+
"required",
|
|
238
|
+
"translations",
|
|
239
|
+
"validate",
|
|
240
|
+
"value"
|
|
241
|
+
]);
|
|
242
|
+
const tagsInput$1 = useTagsInput(useTagsInputProps);
|
|
243
|
+
const mergedProps = mergeProps(tagsInput$1.getRootProps(), localProps);
|
|
244
|
+
return /* @__PURE__ */ jsx(TagsInputProvider, {
|
|
245
|
+
value: tagsInput$1,
|
|
246
|
+
children: /* @__PURE__ */ jsx(sprawlify.div, {
|
|
247
|
+
...mergedProps,
|
|
248
|
+
ref
|
|
249
|
+
})
|
|
250
|
+
});
|
|
251
|
+
});
|
|
252
|
+
TagsInputRoot.displayName = "TagsInputRoot";
|
|
253
|
+
|
|
254
|
+
//#endregion
|
|
255
|
+
//#region src/components/tags-input/tags-input-root-provider.tsx
|
|
256
|
+
const splitRootProviderProps = createSplitProps();
|
|
257
|
+
const TagsInputRootProvider = forwardRef((props, ref) => {
|
|
258
|
+
const [{ value: tagsInput$1 }, localProps] = splitRootProviderProps(props, ["value"]);
|
|
259
|
+
const mergedProps = mergeProps(tagsInput$1.getRootProps(), localProps);
|
|
260
|
+
return /* @__PURE__ */ jsx(TagsInputProvider, {
|
|
261
|
+
value: tagsInput$1,
|
|
262
|
+
children: /* @__PURE__ */ jsx(sprawlify.div, {
|
|
263
|
+
...mergedProps,
|
|
264
|
+
ref
|
|
265
|
+
})
|
|
266
|
+
});
|
|
267
|
+
});
|
|
268
|
+
TagsInputRootProvider.displayName = "TagsInputRootProvider";
|
|
269
|
+
|
|
270
|
+
//#endregion
|
|
271
|
+
//#region src/components/tags-input/tags-input.ts
|
|
272
|
+
var tags_input_exports = /* @__PURE__ */ __export({
|
|
273
|
+
ClearTrigger: () => TagsInputClearTrigger,
|
|
274
|
+
Context: () => TagsInputContext,
|
|
275
|
+
Control: () => TagsInputControl,
|
|
276
|
+
HiddenInput: () => TagsInputHiddenInput,
|
|
277
|
+
Input: () => TagsInputInput,
|
|
278
|
+
Item: () => TagsInputItem,
|
|
279
|
+
ItemContext: () => TagsInputItemContext,
|
|
280
|
+
ItemDeleteTrigger: () => TagsInputItemDeleteTrigger,
|
|
281
|
+
ItemInput: () => TagsInputItemInput,
|
|
282
|
+
ItemPreview: () => TagsInputItemPreview,
|
|
283
|
+
ItemText: () => TagsInputItemText,
|
|
284
|
+
Label: () => TagsInputLabel,
|
|
285
|
+
Root: () => TagsInputRoot,
|
|
286
|
+
RootProvider: () => TagsInputRootProvider
|
|
287
|
+
});
|
|
288
|
+
|
|
289
|
+
//#endregion
|
|
290
|
+
export { tags_input_exports as TagsInput, TagsInputClearTrigger, TagsInputContext, TagsInputControl, TagsInputHiddenInput, TagsInputInput, TagsInputItem, TagsInputItemContext, TagsInputItemDeleteTrigger, TagsInputItemInput, TagsInputItemPreview, TagsInputItemText, TagsInputLabel, TagsInputRoot, TagsInputRootProvider, tagsInputAnatomy, useTagsInput, useTagsInputContext, useTagsInputItemContext };
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
const require_chunk = require('../../chunk-Dsw3YZHa.cjs');
|
|
2
|
+
const require_core = require('../../core-oy7TWDvO.cjs');
|
|
3
|
+
const require_create_context = require('../../create-context-RCOpQR_m.cjs');
|
|
4
|
+
const require_environment = require('../../environment-CxN6E_IC.cjs');
|
|
5
|
+
require('../../locale-D3raWtvM.cjs');
|
|
6
|
+
require('../../providers-BNAArubQ.cjs');
|
|
7
|
+
const require_factory = require('../../factory-DY9J9D6d.cjs');
|
|
8
|
+
require('../../timer-anatomy-DUm5g1bg.cjs');
|
|
9
|
+
const require_create_split_props = require('../../create-split-props-3uzAEUIm.cjs');
|
|
10
|
+
let react = require("react");
|
|
11
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
|
+
let __sprawlify_primitives_machines_timer = require("@sprawlify/primitives/machines/timer");
|
|
13
|
+
__sprawlify_primitives_machines_timer = require_chunk.__toESM(__sprawlify_primitives_machines_timer);
|
|
14
|
+
let __sprawlify_primitives_core = require("@sprawlify/primitives/core");
|
|
15
|
+
|
|
16
|
+
//#region src/components/timer/use-timer-context.ts
|
|
17
|
+
const [TimerProvider, useTimerContext] = require_create_context.createContext({
|
|
18
|
+
name: "TimerContext",
|
|
19
|
+
hookName: "useTimerContext",
|
|
20
|
+
providerName: "<TimerProvider />"
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/components/timer/timer-action-trigger.tsx
|
|
25
|
+
const splitActionTriggerProps = require_create_split_props.createSplitProps();
|
|
26
|
+
const TimerActionTrigger = (0, react.forwardRef)((props, ref) => {
|
|
27
|
+
const [actionTriggerProps, localProps] = splitActionTriggerProps(props, ["action"]);
|
|
28
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useTimerContext().getActionTriggerProps(actionTriggerProps), localProps);
|
|
29
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.button, {
|
|
30
|
+
...mergedProps,
|
|
31
|
+
ref
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
TimerActionTrigger.displayName = "TimerActionTrigger";
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/components/timer/timer-area.tsx
|
|
38
|
+
const TimerArea = (0, react.forwardRef)((props, ref) => {
|
|
39
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useTimerContext().getAreaProps(), props);
|
|
40
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
41
|
+
...mergedProps,
|
|
42
|
+
ref
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
TimerArea.displayName = "TimerArea";
|
|
46
|
+
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/timer/timer-context.tsx
|
|
49
|
+
const TimerContext = (props) => props.children(useTimerContext());
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/components/timer/timer-control.tsx
|
|
53
|
+
const TimerControl = (0, react.forwardRef)((props, ref) => {
|
|
54
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useTimerContext().getControlProps(), props);
|
|
55
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
56
|
+
...mergedProps,
|
|
57
|
+
ref
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
TimerControl.displayName = "TimerControl";
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/components/timer/timer-item.tsx
|
|
64
|
+
const splitItemProps = require_create_split_props.createSplitProps();
|
|
65
|
+
const TimerItem = (0, react.forwardRef)((props, ref) => {
|
|
66
|
+
const [itemProps, localProps] = splitItemProps(props, ["type"]);
|
|
67
|
+
const timer = useTimerContext();
|
|
68
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(timer.getItemProps(itemProps), localProps);
|
|
69
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
70
|
+
...mergedProps,
|
|
71
|
+
ref,
|
|
72
|
+
children: timer.formattedTime[itemProps.type]
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
TimerItem.displayName = "TimerItem";
|
|
76
|
+
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/components/timer/use-timer.ts
|
|
79
|
+
const useTimer = (props) => {
|
|
80
|
+
const id = (0, react.useId)();
|
|
81
|
+
const { getRootNode } = require_environment.useEnvironmentContext();
|
|
82
|
+
const machineProps = {
|
|
83
|
+
id,
|
|
84
|
+
getRootNode,
|
|
85
|
+
...props
|
|
86
|
+
};
|
|
87
|
+
const service = require_core.useMachine(__sprawlify_primitives_machines_timer.machine, machineProps);
|
|
88
|
+
return __sprawlify_primitives_machines_timer.connect(service, require_core.normalizeProps);
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region src/components/timer/timer-root.tsx
|
|
93
|
+
const splitRootProps = require_create_split_props.createSplitProps();
|
|
94
|
+
const TimerRoot = (0, react.forwardRef)((props, ref) => {
|
|
95
|
+
const [useTimerProps, localProps] = splitRootProps(props, [
|
|
96
|
+
"id",
|
|
97
|
+
"ids",
|
|
98
|
+
"autoStart",
|
|
99
|
+
"interval",
|
|
100
|
+
"countdown",
|
|
101
|
+
"startMs",
|
|
102
|
+
"targetMs",
|
|
103
|
+
"onComplete",
|
|
104
|
+
"onTick"
|
|
105
|
+
]);
|
|
106
|
+
const timer = useTimer(useTimerProps);
|
|
107
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(timer.getRootProps(), localProps);
|
|
108
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TimerProvider, {
|
|
109
|
+
value: timer,
|
|
110
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
111
|
+
...mergedProps,
|
|
112
|
+
ref
|
|
113
|
+
})
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
TimerRoot.displayName = "TimerRoot";
|
|
117
|
+
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/components/timer/timer-root-provider.tsx
|
|
120
|
+
const splitRootProviderProps = require_create_split_props.createSplitProps();
|
|
121
|
+
const TimerRootProvider = (0, react.forwardRef)((props, ref) => {
|
|
122
|
+
const [{ value: timer }, localProps] = splitRootProviderProps(props, ["value"]);
|
|
123
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(timer.getRootProps(), localProps);
|
|
124
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TimerProvider, {
|
|
125
|
+
value: timer,
|
|
126
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
127
|
+
...mergedProps,
|
|
128
|
+
ref
|
|
129
|
+
})
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
TimerRootProvider.displayName = "TimerRootProvider";
|
|
133
|
+
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region src/components/timer/timer-separator.tsx
|
|
136
|
+
const TimerSeparator = (0, react.forwardRef)((props, ref) => {
|
|
137
|
+
const mergedProps = (0, __sprawlify_primitives_core.mergeProps)(useTimerContext().getSeparatorProps(), props);
|
|
138
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.sprawlify.div, {
|
|
139
|
+
...mergedProps,
|
|
140
|
+
ref
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
TimerSeparator.displayName = "TimerSeparator";
|
|
144
|
+
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region src/components/timer/timer.ts
|
|
147
|
+
var timer_exports = /* @__PURE__ */ require_chunk.__export({
|
|
148
|
+
ActionTrigger: () => TimerActionTrigger,
|
|
149
|
+
Area: () => TimerArea,
|
|
150
|
+
Context: () => TimerContext,
|
|
151
|
+
Control: () => TimerControl,
|
|
152
|
+
Item: () => TimerItem,
|
|
153
|
+
Root: () => TimerRoot,
|
|
154
|
+
RootProvider: () => TimerRootProvider,
|
|
155
|
+
Separator: () => TimerSeparator
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
//#endregion
|
|
159
|
+
Object.defineProperty(exports, 'Timer', {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () {
|
|
162
|
+
return timer_exports;
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
exports.TimerActionTrigger = TimerActionTrigger;
|
|
166
|
+
exports.TimerArea = TimerArea;
|
|
167
|
+
exports.TimerContext = TimerContext;
|
|
168
|
+
exports.TimerControl = TimerControl;
|
|
169
|
+
exports.TimerItem = TimerItem;
|
|
170
|
+
exports.TimerRoot = TimerRoot;
|
|
171
|
+
exports.TimerRootProvider = TimerRootProvider;
|
|
172
|
+
exports.TimerSeparator = TimerSeparator;
|
|
173
|
+
Object.defineProperty(exports, 'timerAnatomy', {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () {
|
|
176
|
+
return __sprawlify_primitives_machines_timer.anatomy;
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
exports.useTimer = useTimer;
|
|
180
|
+
exports.useTimerContext = useTimerContext;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { t as PropTypes } from "../../normalize-props-BeSH6oua.cjs";
|
|
2
|
+
import { r as Optional } from "../../types-CCi_nex5.cjs";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BqX8l4xK.cjs";
|
|
4
|
+
import { t as timerAnatomy } from "../../timer-anatomy-DYCbV039.cjs";
|
|
5
|
+
import * as react803 from "react";
|
|
6
|
+
import { ReactNode } from "react";
|
|
7
|
+
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
8
|
+
import { ActionTriggerProps, ItemProps, TickDetails } from "@sprawlify/primitives/machines/timer";
|
|
9
|
+
|
|
10
|
+
//#region src/components/timer/timer-action-trigger.d.ts
|
|
11
|
+
interface TimerActionTriggerBaseProps extends ActionTriggerProps, PolymorphicProps {}
|
|
12
|
+
interface TimerActionTriggerProps extends HTMLProps<"button">, TimerActionTriggerBaseProps {}
|
|
13
|
+
declare const TimerActionTrigger: react803.ForwardRefExoticComponent<TimerActionTriggerProps & react803.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/components/timer/timer-area.d.ts
|
|
16
|
+
interface TimerAreaBaseProps extends PolymorphicProps {}
|
|
17
|
+
interface TimerAreaProps extends HTMLProps<"div">, TimerAreaBaseProps {}
|
|
18
|
+
declare const TimerArea: react803.ForwardRefExoticComponent<TimerAreaProps & react803.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/components/timer/use-timer.d.ts
|
|
21
|
+
interface UseTimerProps extends Optional<Omit<timer.Props, "dir" | "getRootNode">, "id"> {}
|
|
22
|
+
interface UseTimerReturn extends timer.Api<PropTypes> {}
|
|
23
|
+
declare const useTimer: (props?: UseTimerProps) => UseTimerReturn;
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/components/timer/use-timer-context.d.ts
|
|
26
|
+
interface UseTimerContext extends UseTimerReturn {}
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/components/timer/timer-context.d.ts
|
|
29
|
+
interface TimerContextProps {
|
|
30
|
+
children: (context: UseTimerContext) => ReactNode;
|
|
31
|
+
}
|
|
32
|
+
declare const TimerContext: (props: TimerContextProps) => ReactNode;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/timer/timer-control.d.ts
|
|
35
|
+
interface TimerControlBaseProps extends PolymorphicProps {}
|
|
36
|
+
interface TimerControlProps extends HTMLProps<"div">, TimerControlBaseProps {}
|
|
37
|
+
declare const TimerControl: react803.ForwardRefExoticComponent<TimerControlProps & react803.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/components/timer/timer-item.d.ts
|
|
40
|
+
interface TimerItemBaseProps extends ItemProps, PolymorphicProps {}
|
|
41
|
+
interface TimerItemProps extends HTMLProps<"div">, TimerItemBaseProps {}
|
|
42
|
+
declare const TimerItem: react803.ForwardRefExoticComponent<TimerItemProps & react803.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/timer/timer-root.d.ts
|
|
45
|
+
interface TimerRootBaseProps extends UseTimerProps, PolymorphicProps {}
|
|
46
|
+
interface TimerRootProps extends HTMLProps<"div">, TimerRootBaseProps {}
|
|
47
|
+
declare const TimerRoot: react803.ForwardRefExoticComponent<TimerRootProps & react803.RefAttributes<HTMLDivElement>>;
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/components/timer/timer-root-provider.d.ts
|
|
50
|
+
interface RootProviderProps {
|
|
51
|
+
value: UseTimerReturn;
|
|
52
|
+
}
|
|
53
|
+
interface TimerRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
|
|
54
|
+
interface TimerRootProviderProps extends HTMLProps<"div">, TimerRootProviderBaseProps {}
|
|
55
|
+
declare const TimerRootProvider: react803.ForwardRefExoticComponent<TimerRootProviderProps & react803.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/components/timer/timer-separator.d.ts
|
|
58
|
+
interface TimerSeparatorBaseProps extends PolymorphicProps {}
|
|
59
|
+
interface TimerSeparatorProps extends HTMLProps<"div">, TimerSeparatorBaseProps {}
|
|
60
|
+
declare const TimerSeparator: react803.ForwardRefExoticComponent<TimerSeparatorProps & react803.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
declare namespace timer_d_exports {
|
|
62
|
+
export { TimerActionTrigger as ActionTrigger, TimerActionTriggerBaseProps as ActionTriggerBaseProps, TimerActionTriggerProps as ActionTriggerProps, TimerArea as Area, TimerAreaBaseProps as AreaBaseProps, TimerAreaProps as AreaProps, TimerContext as Context, TimerContextProps as ContextProps, TimerControl as Control, TimerControlBaseProps as ControlBaseProps, TimerControlProps as ControlProps, TimerItem as Item, TimerItemBaseProps as ItemBaseProps, TimerItemProps as ItemProps, TimerRoot as Root, TimerRootBaseProps as RootBaseProps, TimerRootProps as RootProps, TimerRootProvider as RootProvider, TimerRootProviderProps as RootProviderBaseProps, TimerRootProviderBaseProps as RootProviderProps, TimerSeparator as Separator, TimerSeparatorBaseProps as SeparatorBaseProps, TimerSeparatorProps as SeparatorProps, TickDetails };
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
65
|
+
export { timer_d_exports as Timer, TimerActionTrigger, type TimerActionTriggerBaseProps, type TimerActionTriggerProps, TimerArea, type TimerAreaBaseProps, type TimerAreaProps, TimerContext, type TimerContextProps, TimerControl, type TimerControlBaseProps, type TimerControlProps, TimerItem, type TimerItemBaseProps, type TimerItemProps, TimerRoot, type TimerRootBaseProps, type TimerRootProps, TimerRootProvider, type TimerRootProviderBaseProps, type TimerRootProviderProps, TimerSeparator, type TimerSeparatorBaseProps, type TimerSeparatorProps, type UseTimerContext, type UseTimerProps, type UseTimerReturn, timerAnatomy, useTimer, useTimerContext };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { r as PropTypes } from "../../index-vVsZQ4T1.mjs";
|
|
2
|
+
import { r as Optional } from "../../types-DRV9A4aT.mjs";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-FP_lLEyP.mjs";
|
|
4
|
+
import { t as timerAnatomy } from "../../timer-anatomy-D543fp4K.mjs";
|
|
5
|
+
import * as react721 from "react";
|
|
6
|
+
import { ReactNode } from "react";
|
|
7
|
+
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
8
|
+
import { ActionTriggerProps, ItemProps, TickDetails } from "@sprawlify/primitives/machines/timer";
|
|
9
|
+
|
|
10
|
+
//#region src/components/timer/timer-action-trigger.d.ts
|
|
11
|
+
interface TimerActionTriggerBaseProps extends ActionTriggerProps, PolymorphicProps {}
|
|
12
|
+
interface TimerActionTriggerProps extends HTMLProps<"button">, TimerActionTriggerBaseProps {}
|
|
13
|
+
declare const TimerActionTrigger: react721.ForwardRefExoticComponent<TimerActionTriggerProps & react721.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/components/timer/timer-area.d.ts
|
|
16
|
+
interface TimerAreaBaseProps extends PolymorphicProps {}
|
|
17
|
+
interface TimerAreaProps extends HTMLProps<"div">, TimerAreaBaseProps {}
|
|
18
|
+
declare const TimerArea: react721.ForwardRefExoticComponent<TimerAreaProps & react721.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/components/timer/use-timer.d.ts
|
|
21
|
+
interface UseTimerProps extends Optional<Omit<timer.Props, "dir" | "getRootNode">, "id"> {}
|
|
22
|
+
interface UseTimerReturn extends timer.Api<PropTypes> {}
|
|
23
|
+
declare const useTimer: (props?: UseTimerProps) => UseTimerReturn;
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/components/timer/use-timer-context.d.ts
|
|
26
|
+
interface UseTimerContext extends UseTimerReturn {}
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/components/timer/timer-context.d.ts
|
|
29
|
+
interface TimerContextProps {
|
|
30
|
+
children: (context: UseTimerContext) => ReactNode;
|
|
31
|
+
}
|
|
32
|
+
declare const TimerContext: (props: TimerContextProps) => ReactNode;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/timer/timer-control.d.ts
|
|
35
|
+
interface TimerControlBaseProps extends PolymorphicProps {}
|
|
36
|
+
interface TimerControlProps extends HTMLProps<"div">, TimerControlBaseProps {}
|
|
37
|
+
declare const TimerControl: react721.ForwardRefExoticComponent<TimerControlProps & react721.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/components/timer/timer-item.d.ts
|
|
40
|
+
interface TimerItemBaseProps extends ItemProps, PolymorphicProps {}
|
|
41
|
+
interface TimerItemProps extends HTMLProps<"div">, TimerItemBaseProps {}
|
|
42
|
+
declare const TimerItem: react721.ForwardRefExoticComponent<TimerItemProps & react721.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/timer/timer-root.d.ts
|
|
45
|
+
interface TimerRootBaseProps extends UseTimerProps, PolymorphicProps {}
|
|
46
|
+
interface TimerRootProps extends HTMLProps<"div">, TimerRootBaseProps {}
|
|
47
|
+
declare const TimerRoot: react721.ForwardRefExoticComponent<TimerRootProps & react721.RefAttributes<HTMLDivElement>>;
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/components/timer/timer-root-provider.d.ts
|
|
50
|
+
interface RootProviderProps {
|
|
51
|
+
value: UseTimerReturn;
|
|
52
|
+
}
|
|
53
|
+
interface TimerRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
|
|
54
|
+
interface TimerRootProviderProps extends HTMLProps<"div">, TimerRootProviderBaseProps {}
|
|
55
|
+
declare const TimerRootProvider: react721.ForwardRefExoticComponent<TimerRootProviderProps & react721.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/components/timer/timer-separator.d.ts
|
|
58
|
+
interface TimerSeparatorBaseProps extends PolymorphicProps {}
|
|
59
|
+
interface TimerSeparatorProps extends HTMLProps<"div">, TimerSeparatorBaseProps {}
|
|
60
|
+
declare const TimerSeparator: react721.ForwardRefExoticComponent<TimerSeparatorProps & react721.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
declare namespace timer_d_exports {
|
|
62
|
+
export { TimerActionTrigger as ActionTrigger, TimerActionTriggerBaseProps as ActionTriggerBaseProps, TimerActionTriggerProps as ActionTriggerProps, TimerArea as Area, TimerAreaBaseProps as AreaBaseProps, TimerAreaProps as AreaProps, TimerContext as Context, TimerContextProps as ContextProps, TimerControl as Control, TimerControlBaseProps as ControlBaseProps, TimerControlProps as ControlProps, TimerItem as Item, TimerItemBaseProps as ItemBaseProps, TimerItemProps as ItemProps, TimerRoot as Root, TimerRootBaseProps as RootBaseProps, TimerRootProps as RootProps, TimerRootProvider as RootProvider, TimerRootProviderProps as RootProviderBaseProps, TimerRootProviderBaseProps as RootProviderProps, TimerSeparator as Separator, TimerSeparatorBaseProps as SeparatorBaseProps, TimerSeparatorProps as SeparatorProps, TickDetails };
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
65
|
+
export { timer_d_exports as Timer, TimerActionTrigger, type TimerActionTriggerBaseProps, type TimerActionTriggerProps, TimerArea, type TimerAreaBaseProps, type TimerAreaProps, TimerContext, type TimerContextProps, TimerControl, type TimerControlBaseProps, type TimerControlProps, TimerItem, type TimerItemBaseProps, type TimerItemProps, TimerRoot, type TimerRootBaseProps, type TimerRootProps, TimerRootProvider, type TimerRootProviderBaseProps, type TimerRootProviderProps, TimerSeparator, type TimerSeparatorBaseProps, type TimerSeparatorProps, type UseTimerContext, type UseTimerProps, type UseTimerReturn, timerAnatomy, useTimer, useTimerContext };
|