@sprawlify/solid 0.0.87 → 0.0.89
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-SnniqySz.js → accordion-anatomy-Die9efSm.js} +1 -2
- package/dist/{alert-dialog-anatomy-6UZ4w58n.js → alert-dialog-anatomy-DubFij06.js} +1 -3
- package/dist/{alert-dialog-anatomy-CdXMy-rb.d.ts → alert-dialog-anatomy-DyH_mVwq.d.ts} +1 -1
- package/dist/{angle-slider-anatomy-cYknk1iJ.js → angle-slider-anatomy-CUpFahN5.js} +1 -2
- package/dist/{avatar-anatomy-CZqJnRiE.js → avatar-anatomy-_KMpd2cT.js} +1 -2
- package/dist/{bottom-sheet-anatomy-C8vx9fBH.js → bottom-sheet-anatomy-C70fosOT.js} +1 -2
- package/dist/carousel-anatomy-Cl0IowHg.d.ts +6 -0
- package/dist/{carousel-anatomy-DTNJ2jpa.js → carousel-anatomy-DpBacyBH.js} +1 -3
- package/dist/{checkbox-anatomy-DBY0IiWr.js → checkbox-anatomy-BIeQD0fF.js} +1 -3
- package/dist/checkbox-anatomy-D3OlVNqi.d.ts +6 -0
- package/dist/chunk-pQxUBDkX.jsx +13 -0
- package/dist/chunk-pbuEa-1d.js +13 -0
- package/dist/{clipboard-anatomy-DemY_7_4.js → clipboard-anatomy-C6AmRH0k.js} +1 -2
- package/dist/{collapsible-CGBYQyvv.js → collapsible-BLXaEYy1.js} +9 -19
- package/dist/{collapsible-BfQjngkz.jsx → collapsible-FZ1DI91d.jsx} +9 -19
- package/dist/{collapsible-anatomy-B63RaMgq.js → collapsible-anatomy-BIdE3Swa.js} +1 -2
- package/dist/{collection-DjNgpXVX.js → collection-CotDTAMT.jsx} +3 -10
- package/dist/{collection-DXodYZZC.jsx → collection-D83ZAzYd.js} +3 -10
- package/dist/color-picker-anatomy-CMCiNs4H.d.ts +6 -0
- package/dist/{color-picker-anatomy-BFaHjy9O.js → color-picker-anatomy-DAgWuOv8.js} +1 -3
- package/dist/combobox-anatomy-BQJG5G24.d.ts +6 -0
- package/dist/{combobox-anatomy-Bottj4lE.js → combobox-anatomy-BojTG5Ws.js} +1 -3
- package/dist/components/accordion/index.d.ts +11 -11
- package/dist/components/accordion/index.js +12 -27
- package/dist/components/accordion/index.jsx +10 -24
- package/dist/components/alert-dialog/index.d.ts +13 -14
- package/dist/components/alert-dialog/index.js +12 -26
- package/dist/components/alert-dialog/index.jsx +11 -26
- package/dist/components/anatomy.d.ts +51 -51
- package/dist/components/anatomy.js +53 -55
- package/dist/components/angle-slider/index.d.ts +13 -13
- package/dist/components/angle-slider/index.js +9 -23
- package/dist/components/angle-slider/index.jsx +8 -22
- package/dist/components/aspect-ratio/index.d.ts +7 -7
- package/dist/components/aspect-ratio/index.js +8 -16
- package/dist/components/aspect-ratio/index.jsx +8 -16
- package/dist/components/avatar/index.d.ts +8 -8
- package/dist/components/avatar/index.js +9 -18
- package/dist/components/avatar/index.jsx +8 -17
- package/dist/components/bottom-sheet/index.d.ts +12 -13
- package/dist/components/bottom-sheet/index.js +12 -26
- package/dist/components/bottom-sheet/index.jsx +11 -25
- package/dist/components/carousel/index.d.ts +17 -17
- package/dist/components/carousel/index.js +9 -26
- package/dist/components/carousel/index.jsx +8 -26
- package/dist/components/checkbox/index.d.ts +14 -14
- package/dist/components/checkbox/index.js +14 -30
- package/dist/components/checkbox/index.jsx +11 -28
- package/dist/components/client-only/index.js +1 -3
- package/dist/components/client-only/index.jsx +1 -3
- package/dist/components/clipboard/index.d.ts +11 -11
- package/dist/components/clipboard/index.js +9 -22
- package/dist/components/clipboard/index.jsx +8 -21
- package/dist/components/collapsible/index.d.ts +10 -10
- package/dist/components/collapsible/index.js +9 -10
- package/dist/components/collapsible/index.jsx +8 -9
- package/dist/components/collection/index.d.ts +1 -2
- package/dist/components/collection/index.js +3 -4
- package/dist/components/collection/index.jsx +3 -4
- package/dist/components/color-picker/index.d.ts +35 -36
- package/dist/components/color-picker/index.js +16 -53
- package/dist/components/color-picker/index.jsx +13 -51
- package/dist/components/combobox/index.d.ts +22 -23
- package/dist/components/combobox/index.js +17 -42
- package/dist/components/combobox/index.jsx +14 -40
- package/dist/components/date-picker/index.d.ts +32 -33
- package/dist/components/date-picker/index.js +12 -46
- package/dist/components/date-picker/index.jsx +11 -46
- package/dist/components/dialog/index.d.ts +12 -13
- package/dist/components/dialog/index.js +12 -26
- package/dist/components/dialog/index.jsx +11 -25
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/download-trigger/index.js +5 -7
- package/dist/components/download-trigger/index.jsx +5 -7
- package/dist/components/dropdown-menu/index.d.ts +21 -23
- package/dist/components/dropdown-menu/index.js +12 -41
- package/dist/components/dropdown-menu/index.jsx +11 -40
- package/dist/components/editable/index.d.ts +14 -14
- package/dist/components/editable/index.js +14 -29
- package/dist/components/editable/index.jsx +11 -26
- package/dist/components/field/index.d.ts +15 -15
- package/dist/components/field/index.js +11 -12
- package/dist/components/field/index.jsx +9 -10
- package/dist/components/fieldset/index.d.ts +12 -12
- package/dist/components/fieldset/index.js +9 -10
- package/dist/components/fieldset/index.jsx +8 -9
- package/dist/components/file-upload/index.d.ts +18 -18
- package/dist/components/file-upload/index.js +14 -35
- package/dist/components/file-upload/index.jsx +11 -32
- package/dist/components/floating-panel/index.d.ts +16 -17
- package/dist/components/floating-panel/index.js +12 -30
- package/dist/components/floating-panel/index.jsx +11 -29
- package/dist/components/focus-trap/index.d.ts +4 -4
- package/dist/components/focus-trap/index.js +5 -7
- package/dist/components/focus-trap/index.jsx +5 -7
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/format/index.js +4 -9
- package/dist/components/format/index.jsx +4 -9
- package/dist/components/frame/index.d.ts +1 -1
- package/dist/components/frame/index.js +4 -7
- package/dist/components/frame/index.jsx +4 -7
- package/dist/components/highlight/index.d.ts +3 -3
- package/dist/components/highlight/index.js +3 -6
- package/dist/components/highlight/index.jsx +3 -6
- package/dist/components/hover-card/index.d.ts +10 -11
- package/dist/components/hover-card/index.js +12 -24
- package/dist/components/hover-card/index.jsx +11 -23
- package/dist/components/image-cropper/index.d.ts +11 -11
- package/dist/components/image-cropper/index.js +9 -21
- package/dist/components/image-cropper/index.jsx +8 -20
- package/dist/components/json-tree-view/index.d.ts +1 -6
- package/dist/components/json-tree-view/index.js +11 -23
- package/dist/components/json-tree-view/index.jsx +11 -22
- package/dist/components/listbox/index.d.ts +18 -18
- package/dist/components/listbox/index.js +10 -31
- package/dist/components/listbox/index.jsx +9 -31
- package/dist/components/marquee/index.d.ts +9 -9
- package/dist/components/marquee/index.js +9 -20
- package/dist/components/marquee/index.jsx +8 -19
- package/dist/components/navigation-menu/index.d.ts +17 -17
- package/dist/components/navigation-menu/index.js +12 -30
- package/dist/components/navigation-menu/index.jsx +11 -29
- package/dist/components/number-input/index.d.ts +13 -13
- package/dist/components/number-input/index.js +14 -28
- package/dist/components/number-input/index.jsx +11 -25
- package/dist/components/pagination/index.d.ts +12 -12
- package/dist/components/pagination/index.js +9 -22
- package/dist/components/pagination/index.jsx +8 -21
- package/dist/components/password-input/index.d.ts +9 -9
- package/dist/components/password-input/index.js +14 -26
- package/dist/components/password-input/index.jsx +11 -23
- package/dist/components/pin-input/index.d.ts +10 -10
- package/dist/components/pin-input/index.js +14 -25
- package/dist/components/pin-input/index.jsx +11 -22
- package/dist/components/popover/index.d.ts +15 -16
- package/dist/components/popover/index.js +12 -29
- package/dist/components/popover/index.jsx +11 -28
- package/dist/components/presence/index.d.ts +1 -4
- package/dist/components/presence/index.js +8 -9
- package/dist/components/presence/index.jsx +8 -9
- package/dist/components/progress/index.d.ts +14 -14
- package/dist/components/progress/index.js +9 -24
- package/dist/components/progress/index.jsx +8 -23
- package/dist/components/qr-code/index.d.ts +10 -10
- package/dist/components/qr-code/index.js +9 -20
- package/dist/components/qr-code/index.jsx +8 -19
- package/dist/components/radio-group/index.d.ts +12 -12
- package/dist/components/radio-group/index.js +12 -28
- package/dist/components/radio-group/index.jsx +10 -26
- package/dist/components/rating-group/index.d.ts +10 -10
- package/dist/components/rating-group/index.js +14 -27
- package/dist/components/rating-group/index.jsx +11 -24
- package/dist/components/scroll-area/index.d.ts +11 -11
- package/dist/components/scroll-area/index.js +8 -21
- package/dist/components/scroll-area/index.jsx +7 -20
- package/dist/components/segment-group/index.d.ts +14 -14
- package/dist/components/segment-group/index.js +9 -25
- package/dist/components/segment-group/index.jsx +8 -25
- package/dist/components/select/index.d.ts +21 -22
- package/dist/components/select/index.js +17 -43
- package/dist/components/select/index.jsx +14 -40
- package/dist/components/separator/index.d.ts +6 -6
- package/dist/components/separator/index.js +9 -16
- package/dist/components/separator/index.jsx +8 -15
- package/dist/components/signature-pad/index.d.ts +12 -12
- package/dist/components/signature-pad/index.js +14 -27
- package/dist/components/signature-pad/index.jsx +11 -24
- package/dist/components/slider/index.d.ts +16 -16
- package/dist/components/slider/index.js +9 -27
- package/dist/components/slider/index.jsx +8 -26
- package/dist/components/splitter/index.d.ts +9 -9
- package/dist/components/splitter/index.js +9 -20
- package/dist/components/splitter/index.jsx +8 -19
- package/dist/components/steps/index.d.ts +16 -16
- package/dist/components/steps/index.js +9 -29
- package/dist/components/steps/index.jsx +8 -28
- package/dist/components/switch/index.d.ts +3 -3
- package/dist/components/switch/index.js +14 -25
- package/dist/components/switch/index.jsx +11 -22
- package/dist/components/tabs/index.d.ts +11 -11
- package/dist/components/tabs/index.js +12 -23
- package/dist/components/tabs/index.jsx +11 -22
- package/dist/components/tags-input/index.d.ts +16 -16
- package/dist/components/tags-input/index.js +14 -34
- package/dist/components/tags-input/index.jsx +11 -31
- package/dist/components/timer/index.d.ts +11 -11
- package/dist/components/timer/index.js +9 -21
- package/dist/components/timer/index.jsx +8 -20
- package/dist/components/toast/index.d.ts +9 -9
- package/dist/components/toast/index.js +7 -18
- package/dist/components/toast/index.jsx +6 -17
- package/dist/components/toggle/index.d.ts +6 -7
- package/dist/components/toggle/index.js +7 -14
- package/dist/components/toggle/index.jsx +7 -15
- package/dist/components/toggle-group/index.d.ts +7 -7
- package/dist/components/toggle-group/index.js +9 -17
- package/dist/components/toggle-group/index.jsx +8 -16
- package/dist/components/tooltip/index.d.ts +10 -11
- package/dist/components/tooltip/index.js +12 -24
- package/dist/components/tooltip/index.jsx +11 -23
- package/dist/components/tour/index.d.ts +19 -20
- package/dist/components/tour/index.js +12 -31
- package/dist/components/tour/index.jsx +11 -31
- package/dist/components/tree-view/index.d.ts +2 -6
- package/dist/components/tree-view/index.js +11 -12
- package/dist/components/tree-view/index.jsx +10 -11
- package/dist/{compose-refs-C-e3esqD.js → compose-refs-BKcaHXR8.js} +1 -3
- package/dist/{compose-refs-fqtYfDF0.jsx → compose-refs-Jq47jedK.jsx} +1 -3
- package/dist/{core-B6ixUkqg.jsx → core-BHfpfUk-.js} +1 -8
- package/dist/{core-Crxbs6Ki.js → core-DUR6M1Mz.jsx} +1 -8
- package/dist/{create-context-DGJ79e4Y.jsx → create-context-BEnzb67H.js} +1 -3
- package/dist/{create-context-DPb5Yv_u.js → create-context-iBxaUhvx.jsx} +1 -3
- package/dist/{create-split-props-CgD5kGV-.jsx → create-split-props-B2Gc7D9P.jsx} +1 -3
- package/dist/{create-split-props-DgGDQfdT.js → create-split-props-OE-yOtGc.js} +1 -3
- package/dist/{date-picker-anatomy-D1WbzCFG.js → date-picker-anatomy-BDzIBS0o.js} +1 -3
- package/dist/date-picker-anatomy-Cc9Xz4qV.d.ts +6 -0
- package/dist/{dialog-anatomy-DI8a_vZ_.js → dialog-anatomy-CepqHVuS.js} +1 -2
- package/dist/{dropdown-menu-anatomy-C1luUwqi.js → dropdown-menu-anatomy-B_HvpVky.js} +1 -2
- package/dist/{editable-anatomy-C2-pGLpA.js → editable-anatomy-xpYIbclJ.js} +1 -2
- package/dist/{factory-CzIfQZJj.jsx → factory-B95XvEzz.jsx} +2 -4
- package/dist/{factory-DMawBjkt.d.ts → factory-BxBlXUD3.d.ts} +1 -1
- package/dist/{factory-Ce76k0aC.js → factory-DORgzART.js} +2 -4
- package/dist/{factory-8gmqJkZ6.d.ts → factory-DkYIAa1r.d.ts} +1 -1
- package/dist/{field-BaPLa3xz.js → field-DLS1xeZs.js} +10 -24
- package/dist/{field-BMLVDAiH.jsx → field-DujBK584.jsx} +9 -24
- package/dist/{field-anatomy-C90WAETb.js → field-anatomy-BloFzq7T.js} +1 -3
- package/dist/field-anatomy-DhMytzIn.d.ts +6 -0
- package/dist/{fieldset-DpvA0Vxw.js → fieldset-CKY6kn04.js} +10 -20
- package/dist/{fieldset-Dultvtpf.jsx → fieldset-D3jChLai.jsx} +9 -20
- package/dist/{fieldset-anatomy-BjnxJmos.js → fieldset-anatomy-DBAg0hLg.js} +1 -3
- package/dist/fieldset-anatomy-t2uR3tz-.d.ts +6 -0
- package/dist/{file-upload-anatomy-CxltMFrA.js → file-upload-anatomy-vzjeLbps.js} +1 -2
- package/dist/{floating-panel-anatomy-DwLUJ70s.js → floating-panel-anatomy-BgEeNv0z.js} +1 -2
- package/dist/{hover-card-anatomy-BnLr7TCv.js → hover-card-anatomy-BiBVumql.js} +1 -2
- package/dist/{image-cropper-anatomy-CAZo97Iy.js → image-cropper-anatomy-CRKqY14I.js} +1 -2
- package/dist/{index-BYODxIAQ.d.ts → index-B-Vwy4xv.d.ts} +2 -2
- package/dist/{index-V0DK6BT4.d.ts → index-B3r6Uj67.d.ts} +2 -2
- package/dist/{index-BhR69zSB.d.ts → index-BoZVuuyY.d.ts} +1 -1
- package/dist/{index-DQzvA6OH.d.ts → index-BrsQp6SG.d.ts} +20 -20
- package/dist/{index-C_uDI8To.d.ts → index-CQA-E34W.d.ts} +20 -20
- package/dist/{index-DdPh0ROQ.d.ts → index-CUS_uvKg.d.ts} +8 -8
- package/dist/{index-V-JQUQQj.d.ts → index-ChrVCjVn.d.ts} +1 -1
- package/dist/{index-DKTdz7FC.d.ts → index-NjH8Rhuh.d.ts} +8 -8
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -6
- package/dist/index.jsx +5 -6
- package/dist/{listbox-anatomy-CddfyW7E.js → listbox-anatomy-BTXGGkHn.js} +1 -3
- package/dist/listbox-anatomy-DTikdfHS.d.ts +6 -0
- package/dist/{marquee-anatomy-TY8wb27T.js → marquee-anatomy-CuY5-sxQ.js} +1 -2
- package/dist/{navigation-menu-anatomy-JKXIjyhE.js → navigation-menu-anatomy-C8G7WCQT.js} +1 -2
- package/dist/{number-input-anatomy-BLwFRRq-.js → number-input-anatomy-BnIfIxWe.js} +1 -2
- package/dist/{pagination-anatomy-BMvizHtN.js → pagination-anatomy-GDzxsFmi.js} +1 -2
- package/dist/{password-input-anatomy-DeIesU0v.js → password-input-anatomy-DnfxaJJb.js} +1 -2
- package/dist/{pin-input-anatomy-B6uaxLlM.js → pin-input-anatomy-BIMEBnI2.js} +1 -2
- package/dist/{popover-anatomy-B_sMgR6Y.js → popover-anatomy-DE5hgrvL.js} +1 -2
- package/dist/{presence-D9IWNBoq.jsx → presence-BcYjLSBT.jsx} +8 -13
- package/dist/{presence-BBn_Rd1l.js → presence-CuZG4SWb.js} +8 -13
- package/dist/{progress-anatomy-COz0DGNs.js → progress-anatomy-B-Zd5hLA.js} +1 -2
- package/dist/{providers-CdwYAas1.js → providers-CEdBpdaX.js} +3 -10
- package/dist/{providers-CjCWKYvZ.jsx → providers-DsAwxh4b.jsx} +3 -10
- package/dist/{qr-code-anatomy-CWoAkOaY.js → qr-code-anatomy-CRPLhSvp.js} +1 -2
- package/dist/{radio-group-anatomy-BSnuxQR6.js → radio-group-anatomy-MQ77y9Ly.js} +1 -2
- package/dist/{rating-group-anatomy-xU1gWoAB.js → rating-group-anatomy-DFCmCaAm.js} +1 -2
- package/dist/{render-strategy-CjzB786h.jsx → render-strategy-6LT04Ztx.jsx} +3 -5
- package/dist/{render-strategy-CNUvDuT1.js → render-strategy-BAqQL-Hs.js} +3 -5
- package/dist/{render-strategy-DWFaFQkC.d.ts → render-strategy-C-bqwyH6.d.ts} +0 -2
- package/dist/{render-strategy-CU_9g0dp.d.ts → render-strategy-RoCfkF8z.d.ts} +0 -2
- package/dist/{run-if-fn-CJUSlNHk.jsx → run-if-fn-BV7F-Eeb.js} +1 -2
- package/dist/{run-if-fn-CTrSA35K.js → run-if-fn-qkd0iQPO.jsx} +1 -2
- package/dist/{scroll-area-anatomy-D54kUb_3.js → scroll-area-anatomy-12L_PN6-.js} +1 -2
- package/dist/{segment-group-anatomy-DKnrj_EM.js → segment-group-anatomy-CfDAqJG5.js} +1 -3
- package/dist/{segment-group-anatomy-izeMwABx.d.ts → segment-group-anatomy-D4jIpL_w.d.ts} +2 -2
- package/dist/{select-anatomy-BgXYHjfI.js → select-anatomy-C3xVuuOA.js} +1 -2
- package/dist/{separator-anatomy-BeoGOxS-.js → separator-anatomy-DNo6fxgH.js} +1 -2
- package/dist/{signature-pad-anatomy-Cxt4qb07.js → signature-pad-anatomy--FrLBUvh.js} +1 -2
- package/dist/{slider-anatomy-BuyabqTj.js → slider-anatomy-B4hwb17i.js} +1 -2
- package/dist/{splitter-anatomy-D7ot-MkT.js → splitter-anatomy-C3pN_mFn.js} +1 -2
- package/dist/{steps-anatomy-DjlPHIKh.js → steps-anatomy-CbPJUew1.js} +1 -2
- package/dist/{switch-anatomy-IGlvYF5l.js → switch-anatomy-D5Q54mGY.js} +1 -2
- package/dist/{tabs-anatomy-Ddv_VY6n.js → tabs-anatomy-DU5e5PwZ.js} +1 -2
- package/dist/{tags-input-anatomy-VaastGb3.js → tags-input-anatomy-BhGRRfIw.js} +1 -2
- package/dist/{timer-anatomy-CV4qiG7g.js → timer-anatomy-GlYZryvG.js} +1 -2
- package/dist/{toast-anatomy-C_s7MQnn.js → toast-anatomy-DiPVPI_x.js} +1 -2
- package/dist/toggle-anatomy-Bh7LJ9JI.d.ts +6 -0
- package/dist/{toggle-anatomy-B79YArNR.js → toggle-anatomy-DLOZu83X.js} +2 -4
- package/dist/{toggle-group-anatomy-8ao4oOtZ.js → toggle-group-anatomy-lQ9EYEIt.js} +1 -2
- package/dist/{tooltip-anatomy-BgD3KTo1.js → tooltip-anatomy-Py7dhRtQ.js} +1 -2
- package/dist/tour-anatomy-C21VeMq6.d.ts +6 -0
- package/dist/{tour-anatomy-f2x7a1w3.js → tour-anatomy-VBbJhmJa.js} +1 -3
- package/dist/{tree-view-Cuatesxr.js → tree-view-Bqvwonpw.js} +12 -40
- package/dist/{tree-view-UMxlqgnA.jsx → tree-view-DWzZx1Um.jsx} +10 -36
- package/dist/{tree-view-anatomy-CefyMmul.js → tree-view-anatomy-BK8OR6TX.js} +1 -2
- package/package.json +4 -4
- package/dist/carousel-anatomy-CY8-dtO3.d.ts +0 -6
- package/dist/checkbox-anatomy-Crr4ULSr.d.ts +0 -6
- package/dist/chunk-BN_g-Awi.js +0 -18
- package/dist/chunk-CbkudaSF.jsx +0 -18
- package/dist/color-picker-anatomy-DB_Z42J3.d.ts +0 -6
- package/dist/combobox-anatomy-CA2dIBVf.d.ts +0 -6
- package/dist/date-picker-anatomy-DuLZ5a42.d.ts +0 -6
- package/dist/field-anatomy-vKwHjjwe.d.ts +0 -6
- package/dist/fieldset-anatomy-BlRch3by.d.ts +0 -6
- package/dist/listbox-anatomy-D2TUyrOk.d.ts +0 -6
- package/dist/toggle-anatomy-DJXLJLNV.d.ts +0 -6
- package/dist/tour-anatomy-DNtkkrJW.d.ts +0 -6
- /package/dist/{accordion-anatomy-DLYU_OZX.d.ts → accordion-anatomy-Dlbi7hWX.d.ts} +0 -0
- /package/dist/{angle-slider-anatomy-CMxVwhUM.d.ts → angle-slider-anatomy-D9WEbUDV.d.ts} +0 -0
- /package/dist/{avatar-anatomy-CDT2t56-.d.ts → avatar-anatomy-B1gugBlI.d.ts} +0 -0
- /package/dist/{bottom-sheet-anatomy-4n_7_GAr.d.ts → bottom-sheet-anatomy-EFEmb--0.d.ts} +0 -0
- /package/dist/{clipboard-anatomy-6v5-0Odp.d.ts → clipboard-anatomy-nY5kNeMj.d.ts} +0 -0
- /package/dist/{collapsible-anatomy-BzURWn30.d.ts → collapsible-anatomy-B75vA5QB.d.ts} +0 -0
- /package/dist/{dialog-anatomy-xFUZfUmm.d.ts → dialog-anatomy-fsIDNa4U.d.ts} +0 -0
- /package/dist/{dropdown-menu-anatomy-DNkJn2h1.d.ts → dropdown-menu-anatomy-6hFasLVn.d.ts} +0 -0
- /package/dist/{editable-anatomy-L4nQs0yj.d.ts → editable-anatomy-CDcZMAjM.d.ts} +0 -0
- /package/dist/{file-upload-anatomy-CjpthiJV.d.ts → file-upload-anatomy-oz5HPKAl.d.ts} +0 -0
- /package/dist/{floating-panel-anatomy-DBuIs-v6.d.ts → floating-panel-anatomy-CWHJO-gk.d.ts} +0 -0
- /package/dist/{hover-card-anatomy-H0xRta1Q.d.ts → hover-card-anatomy-CrEsa3XF.d.ts} +0 -0
- /package/dist/{image-cropper-anatomy-D0C3R6Aj.d.ts → image-cropper-anatomy-S1DPpjWp.d.ts} +0 -0
- /package/dist/{index-CLwp1P-Z.d.ts → index-Bnd2Fp7Q.d.ts} +0 -0
- /package/dist/{index-DMLSuCzg.d.ts → index-CRqsjDZx.d.ts} +0 -0
- /package/dist/{marquee-anatomy-DI_Ney7U.d.ts → marquee-anatomy-B0VBpa40.d.ts} +0 -0
- /package/dist/{navigation-menu-anatomy-B0MC-MIY.d.ts → navigation-menu-anatomy-6TacFtNy.d.ts} +0 -0
- /package/dist/{number-input-anatomy-CXnHZF_h.d.ts → number-input-anatomy-Be06g82m.d.ts} +0 -0
- /package/dist/{pagination-anatomy-yk_etYif.d.ts → pagination-anatomy-hb5d75ds.d.ts} +0 -0
- /package/dist/{password-input-anatomy-CWNw9NF0.d.ts → password-input-anatomy-DY3Btk4Z.d.ts} +0 -0
- /package/dist/{pin-input-anatomy-B_nQfh6w.d.ts → pin-input-anatomy-Dh7dVbsT.d.ts} +0 -0
- /package/dist/{popover-anatomy-bSNP0RPu.d.ts → popover-anatomy-CIt7PUmS.d.ts} +0 -0
- /package/dist/{progress-anatomy-CtbMln1t.d.ts → progress-anatomy-Bh9Sh8d2.d.ts} +0 -0
- /package/dist/{qr-code-anatomy-CxxR_V_2.d.ts → qr-code-anatomy-Daeh1gXt.d.ts} +0 -0
- /package/dist/{radio-group-anatomy-BQNOBb7n.d.ts → radio-group-anatomy-fu9jDbmu.d.ts} +0 -0
- /package/dist/{rating-group-anatomy-CclvUWks.d.ts → rating-group-anatomy-B8hoEZBE.d.ts} +0 -0
- /package/dist/{scroll-area-anatomy-HHlEyRL3.d.ts → scroll-area-anatomy-Eg5UQD6w.d.ts} +0 -0
- /package/dist/{select-anatomy-3qcdhK-q.d.ts → select-anatomy-C85MRleF.d.ts} +0 -0
- /package/dist/{separator-anatomy-OpoFmpDz.d.ts → separator-anatomy-CoRBCozn.d.ts} +0 -0
- /package/dist/{signature-pad-anatomy-CF4th0qF.d.ts → signature-pad-anatomy-69rnG-8v.d.ts} +0 -0
- /package/dist/{slider-anatomy-CfSdQNT9.d.ts → slider-anatomy-Bi2M9sIn.d.ts} +0 -0
- /package/dist/{splitter-anatomy-BdimgO3X.d.ts → splitter-anatomy-DOrZZHLS.d.ts} +0 -0
- /package/dist/{steps-anatomy-CpHnGVXw.d.ts → steps-anatomy-DyFBdyZm.d.ts} +0 -0
- /package/dist/{switch-anatomy-C--PCXrP.d.ts → switch-anatomy-ChIrrzPM.d.ts} +0 -0
- /package/dist/{tabs-anatomy-DKT3aTVF.d.ts → tabs-anatomy-Cx19UTVm.d.ts} +0 -0
- /package/dist/{tags-input-anatomy-CDFQpUwT.d.ts → tags-input-anatomy-Bwspep5o.d.ts} +0 -0
- /package/dist/{timer-anatomy-2fG1TkqJ.d.ts → timer-anatomy-EHPlHptt.d.ts} +0 -0
- /package/dist/{toast-anatomy-XE_F1dUX.d.ts → toast-anatomy-DtLjq13p.d.ts} +0 -0
- /package/dist/{toggle-group-anatomy-BaFmDWrw.d.ts → toggle-group-anatomy-DEo8iu_3.d.ts} +0 -0
- /package/dist/{tooltip-anatomy-Aq6CHHeG.d.ts → tooltip-anatomy-CamCIpK3.d.ts} +0 -0
- /package/dist/{tree-view-anatomy-BStMrnWd.d.ts → tree-view-anatomy-DFap3OjP.d.ts} +0 -0
- /package/dist/{types-B9AK1oJL.d.ts → types-BiaKY56E.d.ts} +0 -0
- /package/dist/{types-BYcgXZnj.d.ts → types-C0L5xDeS.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import * as
|
|
1
|
+
import { n as PropTypes } from "../../index-CRqsjDZx.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-BiaKY56E.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-DkYIAa1r.js";
|
|
4
|
+
import * as solid_js0 from "solid-js";
|
|
5
5
|
import { Accessor, JSX } from "solid-js";
|
|
6
6
|
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
7
7
|
import { FocusOutsideEvent, FocusOutsideEvent as TagsInputFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as TagsInputHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as TagsInputInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as TagsInputInteractOutsideEvent, ItemProps, ItemState, PointerDownOutsideEvent, PointerDownOutsideEvent as TagsInputPointerDownOutsideEvent, ValidityChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails, anatomy as tagsInputAnatomy } from "@sprawlify/primitives/machines/tags-input";
|
|
@@ -9,7 +9,7 @@ import { FocusOutsideEvent, FocusOutsideEvent as TagsInputFocusOutsideEvent, Hig
|
|
|
9
9
|
//#region src/components/tags-input/tags-input-clear-trigger.d.ts
|
|
10
10
|
interface TagsInputClearTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
11
11
|
interface TagsInputClearTriggerProps extends HTMLProps<'button'>, TagsInputClearTriggerBaseProps {}
|
|
12
|
-
declare const TagsInputClearTrigger: (props: TagsInputClearTriggerProps) =>
|
|
12
|
+
declare const TagsInputClearTrigger: (props: TagsInputClearTriggerProps) => solid_js0.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/components/tags-input/use-tags-input.d.ts
|
|
15
15
|
interface UseTagsInputProps extends Optional<Omit<tagsInput.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -28,22 +28,22 @@ declare const TagsInputContext: (props: TagsInputContextProps) => JSX.Element;
|
|
|
28
28
|
//#region src/components/tags-input/tags-input-control.d.ts
|
|
29
29
|
interface TagsInputControlBaseProps extends PolymorphicProps<'div'> {}
|
|
30
30
|
interface TagsInputControlProps extends HTMLProps<'div'>, TagsInputControlBaseProps {}
|
|
31
|
-
declare const TagsInputControl: (props: TagsInputControlProps) =>
|
|
31
|
+
declare const TagsInputControl: (props: TagsInputControlProps) => solid_js0.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/components/tags-input/tags-input-hidden-input.d.ts
|
|
34
34
|
interface TagsInputHiddenInputBaseProps extends PolymorphicProps<'input'> {}
|
|
35
35
|
interface TagsInputHiddenInputProps extends HTMLProps<'input'>, TagsInputHiddenInputBaseProps {}
|
|
36
|
-
declare const TagsInputHiddenInput: (props: TagsInputHiddenInputProps) =>
|
|
36
|
+
declare const TagsInputHiddenInput: (props: TagsInputHiddenInputProps) => solid_js0.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/components/tags-input/tags-input-input.d.ts
|
|
39
39
|
interface TagsInputInputBaseProps extends PolymorphicProps<'input'> {}
|
|
40
40
|
interface TagsInputInputProps extends HTMLProps<'input'>, TagsInputInputBaseProps {}
|
|
41
|
-
declare const TagsInputInput: (props: TagsInputInputProps) =>
|
|
41
|
+
declare const TagsInputInput: (props: TagsInputInputProps) => solid_js0.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/components/tags-input/tags-input-item.d.ts
|
|
44
44
|
interface TagsInputItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
|
|
45
45
|
interface TagsInputItemProps extends HTMLProps<'div'>, TagsInputItemBaseProps {}
|
|
46
|
-
declare const TagsInputItem: (props: TagsInputItemProps) =>
|
|
46
|
+
declare const TagsInputItem: (props: TagsInputItemProps) => solid_js0.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/components/tags-input/use-tags-input-item-context.d.ts
|
|
49
49
|
interface UseTagsInputItemContext extends Accessor<ItemState> {}
|
|
@@ -57,32 +57,32 @@ declare const TagsInputItemContext: (props: TagsInputItemContextProps) => JSX.El
|
|
|
57
57
|
//#region src/components/tags-input/tags-input-item-delete-trigger.d.ts
|
|
58
58
|
interface TagsInputItemDeleteTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
59
59
|
interface TagsInputItemDeleteTriggerProps extends HTMLProps<'button'>, TagsInputItemDeleteTriggerBaseProps {}
|
|
60
|
-
declare const TagsInputItemDeleteTrigger: (props: TagsInputItemDeleteTriggerProps) =>
|
|
60
|
+
declare const TagsInputItemDeleteTrigger: (props: TagsInputItemDeleteTriggerProps) => solid_js0.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/components/tags-input/tags-input-item-input.d.ts
|
|
63
63
|
interface TagsInputItemInputBaseProps extends PolymorphicProps<'input'> {}
|
|
64
64
|
interface TagsInputItemInputProps extends HTMLProps<'input'>, TagsInputItemInputBaseProps {}
|
|
65
|
-
declare const TagsInputItemInput: (props: TagsInputItemInputProps) =>
|
|
65
|
+
declare const TagsInputItemInput: (props: TagsInputItemInputProps) => solid_js0.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
//#region src/components/tags-input/tags-input-item-preview.d.ts
|
|
68
68
|
interface TagsInputItemPreviewBaseProps extends PolymorphicProps<'div'> {}
|
|
69
69
|
interface TagsInputItemPreviewProps extends HTMLProps<'div'>, TagsInputItemPreviewBaseProps {}
|
|
70
|
-
declare const TagsInputItemPreview: (props: TagsInputItemPreviewProps) =>
|
|
70
|
+
declare const TagsInputItemPreview: (props: TagsInputItemPreviewProps) => solid_js0.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/components/tags-input/tags-input-item-text.d.ts
|
|
73
73
|
interface TagsInputItemTextBaseProps extends PolymorphicProps<'span'> {}
|
|
74
74
|
interface TagsInputItemTextProps extends HTMLProps<'span'>, TagsInputItemTextBaseProps {}
|
|
75
|
-
declare const TagsInputItemText: (props: TagsInputItemTextProps) =>
|
|
75
|
+
declare const TagsInputItemText: (props: TagsInputItemTextProps) => solid_js0.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/components/tags-input/tags-input-label.d.ts
|
|
78
78
|
interface TagsInputLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
79
79
|
interface TagsInputLabelProps extends HTMLProps<'label'>, TagsInputLabelBaseProps {}
|
|
80
|
-
declare const TagsInputLabel: (props: TagsInputLabelProps) =>
|
|
80
|
+
declare const TagsInputLabel: (props: TagsInputLabelProps) => solid_js0.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/components/tags-input/tags-input-root.d.ts
|
|
83
83
|
interface TagsInputRootBaseProps extends UseTagsInputProps, PolymorphicProps<'div'> {}
|
|
84
84
|
interface TagsInputRootProps extends HTMLProps<'div'>, TagsInputRootBaseProps {}
|
|
85
|
-
declare const TagsInputRoot: (props: TagsInputRootProps) =>
|
|
85
|
+
declare const TagsInputRoot: (props: TagsInputRootProps) => solid_js0.JSX.Element;
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/components/tags-input/tags-input-root-provider.d.ts
|
|
88
88
|
interface RootProviderProps {
|
|
@@ -90,7 +90,7 @@ interface RootProviderProps {
|
|
|
90
90
|
}
|
|
91
91
|
interface TagsInputRootProviderBaseProps extends PolymorphicProps<'div'> {}
|
|
92
92
|
interface TagsInputRootProviderProps extends HTMLProps<'div'>, RootProviderProps, TagsInputRootProviderBaseProps {}
|
|
93
|
-
declare const TagsInputRootProvider: (props: TagsInputRootProviderProps) =>
|
|
93
|
+
declare const TagsInputRootProvider: (props: TagsInputRootProviderProps) => solid_js0.JSX.Element;
|
|
94
94
|
declare namespace tags_input_d_exports {
|
|
95
95
|
export { TagsInputClearTrigger as ClearTrigger, TagsInputClearTriggerBaseProps as ClearTriggerBaseProps, TagsInputClearTriggerProps as ClearTriggerProps, TagsInputContext as Context, TagsInputContextProps as ContextProps, TagsInputControl as Control, TagsInputControlBaseProps as ControlBaseProps, TagsInputControlProps as ControlProps, FocusOutsideEvent, TagsInputHiddenInput as HiddenInput, TagsInputHiddenInputBaseProps as HiddenInputBaseProps, TagsInputHiddenInputProps as HiddenInputProps, HighlightChangeDetails, TagsInputInput as Input, TagsInputInputBaseProps as InputBaseProps, TagsInputInputProps as InputProps, InputValueChangeDetails, InteractOutsideEvent, TagsInputItem as Item, TagsInputItemBaseProps as ItemBaseProps, TagsInputItemContext as ItemContext, TagsInputItemContextProps as ItemContextProps, TagsInputItemDeleteTrigger as ItemDeleteTrigger, TagsInputItemDeleteTriggerBaseProps as ItemDeleteTriggerBaseProps, TagsInputItemDeleteTriggerProps as ItemDeleteTriggerProps, TagsInputItemInput as ItemInput, TagsInputItemInputBaseProps as ItemInputBaseProps, TagsInputItemInputProps as ItemInputProps, TagsInputItemPreview as ItemPreview, TagsInputItemPreviewBaseProps as ItemPreviewBaseProps, TagsInputItemPreviewProps as ItemPreviewProps, TagsInputItemProps as ItemProps, TagsInputItemText as ItemText, TagsInputItemTextBaseProps as ItemTextBaseProps, TagsInputItemTextProps as ItemTextProps, TagsInputLabel as Label, TagsInputLabelBaseProps as LabelBaseProps, TagsInputLabelProps as LabelProps, PointerDownOutsideEvent, TagsInputRoot as Root, TagsInputRootBaseProps as RootBaseProps, TagsInputRootProps as RootProps, TagsInputRootProvider as RootProvider, TagsInputRootProviderBaseProps as RootProviderBaseProps, TagsInputRootProviderProps as RootProviderProps, ValidityChangeDetails, ValueChangeDetails };
|
|
96
96
|
}
|
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import "../../field-anatomy-
|
|
8
|
-
import "../../fieldset-anatomy-
|
|
9
|
-
import { t as tagsInputAnatomy } from "../../tags-input-anatomy-
|
|
10
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
11
|
-
import "../../compose-refs-
|
|
12
|
-
import "../../fieldset-
|
|
13
|
-
import { p as useFieldContext } from "../../field-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-BHfpfUk-.js";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-BV7F-Eeb.js";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-BEnzb67H.js";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CEdBpdaX.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-DORgzART.js";
|
|
7
|
+
import "../../field-anatomy-BloFzq7T.js";
|
|
8
|
+
import "../../fieldset-anatomy-DBAg0hLg.js";
|
|
9
|
+
import { t as tagsInputAnatomy } from "../../tags-input-anatomy-BhGRRfIw.js";
|
|
10
|
+
import { t as createSplitProps } from "../../create-split-props-OE-yOtGc.js";
|
|
11
|
+
import "../../compose-refs-BKcaHXR8.js";
|
|
12
|
+
import "../../fieldset-CKY6kn04.js";
|
|
13
|
+
import { p as useFieldContext } from "../../field-DLS1xeZs.js";
|
|
14
14
|
import { createMemo, createUniqueId } from "solid-js";
|
|
15
15
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
16
16
|
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
17
|
-
|
|
18
17
|
//#region src/components/tags-input/use-tags-input-context.ts
|
|
19
18
|
const [TagsInputProvider, useTagsInputContext] = createContext$1({
|
|
20
19
|
hookName: "useTagsInputContext",
|
|
21
20
|
providerName: "<TagsInputProvider />"
|
|
22
21
|
});
|
|
23
|
-
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region src/components/tags-input/tags-input-clear-trigger.tsx
|
|
26
24
|
const TagsInputClearTrigger = (props) => {
|
|
@@ -28,11 +26,9 @@ const TagsInputClearTrigger = (props) => {
|
|
|
28
26
|
const mergedProps = mergeProps$2(() => api().getClearTriggerProps(), props);
|
|
29
27
|
return createComponent(sprawlify.button, mergedProps);
|
|
30
28
|
};
|
|
31
|
-
|
|
32
29
|
//#endregion
|
|
33
30
|
//#region src/components/tags-input/tags-input-context.tsx
|
|
34
31
|
const TagsInputContext = (props) => props.children(useTagsInputContext());
|
|
35
|
-
|
|
36
32
|
//#endregion
|
|
37
33
|
//#region src/components/tags-input/tags-input-control.tsx
|
|
38
34
|
const TagsInputControl = (props) => {
|
|
@@ -40,7 +36,6 @@ const TagsInputControl = (props) => {
|
|
|
40
36
|
const mergedProps = mergeProps$2(() => api().getControlProps(), props);
|
|
41
37
|
return createComponent(sprawlify.div, mergedProps);
|
|
42
38
|
};
|
|
43
|
-
|
|
44
39
|
//#endregion
|
|
45
40
|
//#region src/components/tags-input/tags-input-hidden-input.tsx
|
|
46
41
|
const TagsInputHiddenInput = (props) => {
|
|
@@ -51,7 +46,6 @@ const TagsInputHiddenInput = (props) => {
|
|
|
51
46
|
return field?.().ariaDescribedby;
|
|
52
47
|
} }, mergedProps));
|
|
53
48
|
};
|
|
54
|
-
|
|
55
49
|
//#endregion
|
|
56
50
|
//#region src/components/tags-input/tags-input-input.tsx
|
|
57
51
|
const TagsInputInput = (props) => {
|
|
@@ -59,21 +53,18 @@ const TagsInputInput = (props) => {
|
|
|
59
53
|
const mergedProps = mergeProps$2(() => api().getInputProps(), props);
|
|
60
54
|
return createComponent(sprawlify.input, mergedProps);
|
|
61
55
|
};
|
|
62
|
-
|
|
63
56
|
//#endregion
|
|
64
57
|
//#region src/components/tags-input/use-tags-input-item-context.ts
|
|
65
58
|
const [TagsInputItemProvider, useTagsInputItemContext] = createContext$1({
|
|
66
59
|
hookName: "useTagsInputItemContext",
|
|
67
60
|
providerName: "<TagsInputItemProvider />"
|
|
68
61
|
});
|
|
69
|
-
|
|
70
62
|
//#endregion
|
|
71
63
|
//#region src/components/tags-input/use-tags-input-item-props-context.ts
|
|
72
64
|
const [TagsInputItemPropsProvider, useTagsInputItemPropsContext] = createContext$1({
|
|
73
65
|
hookName: "useTagsInputItemPropsContext",
|
|
74
66
|
providerName: "<TagsInputItemPropsProvider />"
|
|
75
67
|
});
|
|
76
|
-
|
|
77
68
|
//#endregion
|
|
78
69
|
//#region src/components/tags-input/tags-input-item.tsx
|
|
79
70
|
const TagsInputItem = (props) => {
|
|
@@ -97,11 +88,9 @@ const TagsInputItem = (props) => {
|
|
|
97
88
|
}
|
|
98
89
|
});
|
|
99
90
|
};
|
|
100
|
-
|
|
101
91
|
//#endregion
|
|
102
92
|
//#region src/components/tags-input/tags-input-item-context.tsx
|
|
103
93
|
const TagsInputItemContext = (props) => props.children(useTagsInputItemContext());
|
|
104
|
-
|
|
105
94
|
//#endregion
|
|
106
95
|
//#region src/components/tags-input/tags-input-item-delete-trigger.tsx
|
|
107
96
|
const TagsInputItemDeleteTrigger = (props) => {
|
|
@@ -110,7 +99,6 @@ const TagsInputItemDeleteTrigger = (props) => {
|
|
|
110
99
|
const mergedProps = mergeProps$2(() => api().getItemDeleteTriggerProps(itemProps), props);
|
|
111
100
|
return createComponent(sprawlify.button, mergedProps);
|
|
112
101
|
};
|
|
113
|
-
|
|
114
102
|
//#endregion
|
|
115
103
|
//#region src/components/tags-input/tags-input-item-input.tsx
|
|
116
104
|
const TagsInputItemInput = (props) => {
|
|
@@ -119,7 +107,6 @@ const TagsInputItemInput = (props) => {
|
|
|
119
107
|
const mergedProps = mergeProps$2(() => api().getItemInputProps(itemProps), props);
|
|
120
108
|
return createComponent(sprawlify.input, mergedProps);
|
|
121
109
|
};
|
|
122
|
-
|
|
123
110
|
//#endregion
|
|
124
111
|
//#region src/components/tags-input/tags-input-item-preview.tsx
|
|
125
112
|
const TagsInputItemPreview = (props) => {
|
|
@@ -128,7 +115,6 @@ const TagsInputItemPreview = (props) => {
|
|
|
128
115
|
const mergedProps = mergeProps$2(() => api().getItemPreviewProps(itemProps), props);
|
|
129
116
|
return createComponent(sprawlify.div, mergedProps);
|
|
130
117
|
};
|
|
131
|
-
|
|
132
118
|
//#endregion
|
|
133
119
|
//#region src/components/tags-input/tags-input-item-text.tsx
|
|
134
120
|
const TagsInputItemText = (props) => {
|
|
@@ -137,7 +123,6 @@ const TagsInputItemText = (props) => {
|
|
|
137
123
|
const mergedProps = mergeProps$2(() => api().getItemTextProps(itemProps), props);
|
|
138
124
|
return createComponent(sprawlify.span, mergedProps);
|
|
139
125
|
};
|
|
140
|
-
|
|
141
126
|
//#endregion
|
|
142
127
|
//#region src/components/tags-input/tags-input-label.tsx
|
|
143
128
|
const TagsInputLabel = (props) => {
|
|
@@ -145,7 +130,6 @@ const TagsInputLabel = (props) => {
|
|
|
145
130
|
const mergedProps = mergeProps$2(() => api().getLabelProps(), props);
|
|
146
131
|
return createComponent(sprawlify.label, mergedProps);
|
|
147
132
|
};
|
|
148
|
-
|
|
149
133
|
//#endregion
|
|
150
134
|
//#region src/components/tags-input/use-tags-input.ts
|
|
151
135
|
const useTagsInput = (props) => {
|
|
@@ -170,7 +154,6 @@ const useTagsInput = (props) => {
|
|
|
170
154
|
const service = useMachine(tagsInput.machine, machineProps);
|
|
171
155
|
return createMemo(() => tagsInput.connect(service, normalizeProps));
|
|
172
156
|
};
|
|
173
|
-
|
|
174
157
|
//#endregion
|
|
175
158
|
//#region src/components/tags-input/tags-input-root.tsx
|
|
176
159
|
const TagsInputRoot = (props) => {
|
|
@@ -215,7 +198,6 @@ const TagsInputRoot = (props) => {
|
|
|
215
198
|
}
|
|
216
199
|
});
|
|
217
200
|
};
|
|
218
|
-
|
|
219
201
|
//#endregion
|
|
220
202
|
//#region src/components/tags-input/tags-input-root-provider.tsx
|
|
221
203
|
const TagsInputRootProvider = (props) => {
|
|
@@ -228,7 +210,6 @@ const TagsInputRootProvider = (props) => {
|
|
|
228
210
|
}
|
|
229
211
|
});
|
|
230
212
|
};
|
|
231
|
-
|
|
232
213
|
//#endregion
|
|
233
214
|
//#region src/components/tags-input/tags-input.ts
|
|
234
215
|
var tags_input_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -247,6 +228,5 @@ var tags_input_exports = /* @__PURE__ */ __exportAll({
|
|
|
247
228
|
Root: () => TagsInputRoot,
|
|
248
229
|
RootProvider: () => TagsInputRootProvider
|
|
249
230
|
});
|
|
250
|
-
|
|
251
231
|
//#endregion
|
|
252
|
-
export { tags_input_exports as TagsInput, TagsInputClearTrigger, TagsInputContext, TagsInputControl, TagsInputHiddenInput, TagsInputInput, TagsInputItem, TagsInputItemContext, TagsInputItemDeleteTrigger, TagsInputItemInput, TagsInputItemPreview, TagsInputItemText, TagsInputLabel, TagsInputRoot, TagsInputRootProvider, tagsInputAnatomy, useTagsInput, useTagsInputContext, useTagsInputItemContext };
|
|
232
|
+
export { tags_input_exports as TagsInput, TagsInputClearTrigger, TagsInputContext, TagsInputControl, TagsInputHiddenInput, TagsInputInput, TagsInputItem, TagsInputItemContext, TagsInputItemDeleteTrigger, TagsInputItemInput, TagsInputItemPreview, TagsInputItemText, TagsInputLabel, TagsInputRoot, TagsInputRootProvider, tagsInputAnatomy, useTagsInput, useTagsInputContext, useTagsInputItemContext };
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
8
|
-
import "../../compose-refs-
|
|
9
|
-
import "../../fieldset-
|
|
10
|
-
import { m as useFieldContext } from "../../field-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-pQxUBDkX.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-DUR6M1Mz.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-qkd0iQPO.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-iBxaUhvx.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-DsAwxh4b.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-B95XvEzz.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-B2Gc7D9P.jsx";
|
|
8
|
+
import "../../compose-refs-Jq47jedK.jsx";
|
|
9
|
+
import "../../fieldset-D3jChLai.jsx";
|
|
10
|
+
import { m as useFieldContext } from "../../field-DujBK584.jsx";
|
|
11
11
|
import { createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
13
13
|
import { anatomy as tagsInputAnatomy } from "@sprawlify/primitives/machines/tags-input";
|
|
14
|
-
|
|
15
14
|
//#region src/components/tags-input/use-tags-input-context.ts
|
|
16
15
|
const [TagsInputProvider, useTagsInputContext] = createContext$1({
|
|
17
16
|
hookName: "useTagsInputContext",
|
|
18
17
|
providerName: "<TagsInputProvider />"
|
|
19
18
|
});
|
|
20
|
-
|
|
21
19
|
//#endregion
|
|
22
20
|
//#region src/components/tags-input/tags-input-clear-trigger.tsx
|
|
23
21
|
const TagsInputClearTrigger = (props) => {
|
|
@@ -25,11 +23,9 @@ const TagsInputClearTrigger = (props) => {
|
|
|
25
23
|
const mergedProps = mergeProps$1(() => api().getClearTriggerProps(), props);
|
|
26
24
|
return <sprawlify.button {...mergedProps} />;
|
|
27
25
|
};
|
|
28
|
-
|
|
29
26
|
//#endregion
|
|
30
27
|
//#region src/components/tags-input/tags-input-context.tsx
|
|
31
28
|
const TagsInputContext = (props) => props.children(useTagsInputContext());
|
|
32
|
-
|
|
33
29
|
//#endregion
|
|
34
30
|
//#region src/components/tags-input/tags-input-control.tsx
|
|
35
31
|
const TagsInputControl = (props) => {
|
|
@@ -37,7 +33,6 @@ const TagsInputControl = (props) => {
|
|
|
37
33
|
const mergedProps = mergeProps$1(() => api().getControlProps(), props);
|
|
38
34
|
return <sprawlify.div {...mergedProps} />;
|
|
39
35
|
};
|
|
40
|
-
|
|
41
36
|
//#endregion
|
|
42
37
|
//#region src/components/tags-input/tags-input-hidden-input.tsx
|
|
43
38
|
const TagsInputHiddenInput = (props) => {
|
|
@@ -46,7 +41,6 @@ const TagsInputHiddenInput = (props) => {
|
|
|
46
41
|
const field = useFieldContext();
|
|
47
42
|
return <sprawlify.input aria-describedby={field?.().ariaDescribedby} {...mergedProps} />;
|
|
48
43
|
};
|
|
49
|
-
|
|
50
44
|
//#endregion
|
|
51
45
|
//#region src/components/tags-input/tags-input-input.tsx
|
|
52
46
|
const TagsInputInput = (props) => {
|
|
@@ -54,21 +48,18 @@ const TagsInputInput = (props) => {
|
|
|
54
48
|
const mergedProps = mergeProps$1(() => api().getInputProps(), props);
|
|
55
49
|
return <sprawlify.input {...mergedProps} />;
|
|
56
50
|
};
|
|
57
|
-
|
|
58
51
|
//#endregion
|
|
59
52
|
//#region src/components/tags-input/use-tags-input-item-context.ts
|
|
60
53
|
const [TagsInputItemProvider, useTagsInputItemContext] = createContext$1({
|
|
61
54
|
hookName: "useTagsInputItemContext",
|
|
62
55
|
providerName: "<TagsInputItemProvider />"
|
|
63
56
|
});
|
|
64
|
-
|
|
65
57
|
//#endregion
|
|
66
58
|
//#region src/components/tags-input/use-tags-input-item-props-context.ts
|
|
67
59
|
const [TagsInputItemPropsProvider, useTagsInputItemPropsContext] = createContext$1({
|
|
68
60
|
hookName: "useTagsInputItemPropsContext",
|
|
69
61
|
providerName: "<TagsInputItemPropsProvider />"
|
|
70
62
|
});
|
|
71
|
-
|
|
72
63
|
//#endregion
|
|
73
64
|
//#region src/components/tags-input/tags-input-item.tsx
|
|
74
65
|
const TagsInputItem = (props) => {
|
|
@@ -86,11 +77,9 @@ const TagsInputItem = (props) => {
|
|
|
86
77
|
</TagsInputItemProvider>
|
|
87
78
|
</TagsInputItemPropsProvider>;
|
|
88
79
|
};
|
|
89
|
-
|
|
90
80
|
//#endregion
|
|
91
81
|
//#region src/components/tags-input/tags-input-item-context.tsx
|
|
92
82
|
const TagsInputItemContext = (props) => props.children(useTagsInputItemContext());
|
|
93
|
-
|
|
94
83
|
//#endregion
|
|
95
84
|
//#region src/components/tags-input/tags-input-item-delete-trigger.tsx
|
|
96
85
|
const TagsInputItemDeleteTrigger = (props) => {
|
|
@@ -99,7 +88,6 @@ const TagsInputItemDeleteTrigger = (props) => {
|
|
|
99
88
|
const mergedProps = mergeProps$1(() => api().getItemDeleteTriggerProps(itemProps), props);
|
|
100
89
|
return <sprawlify.button {...mergedProps} />;
|
|
101
90
|
};
|
|
102
|
-
|
|
103
91
|
//#endregion
|
|
104
92
|
//#region src/components/tags-input/tags-input-item-input.tsx
|
|
105
93
|
const TagsInputItemInput = (props) => {
|
|
@@ -108,7 +96,6 @@ const TagsInputItemInput = (props) => {
|
|
|
108
96
|
const mergedProps = mergeProps$1(() => api().getItemInputProps(itemProps), props);
|
|
109
97
|
return <sprawlify.input {...mergedProps} />;
|
|
110
98
|
};
|
|
111
|
-
|
|
112
99
|
//#endregion
|
|
113
100
|
//#region src/components/tags-input/tags-input-item-preview.tsx
|
|
114
101
|
const TagsInputItemPreview = (props) => {
|
|
@@ -117,7 +104,6 @@ const TagsInputItemPreview = (props) => {
|
|
|
117
104
|
const mergedProps = mergeProps$1(() => api().getItemPreviewProps(itemProps), props);
|
|
118
105
|
return <sprawlify.div {...mergedProps} />;
|
|
119
106
|
};
|
|
120
|
-
|
|
121
107
|
//#endregion
|
|
122
108
|
//#region src/components/tags-input/tags-input-item-text.tsx
|
|
123
109
|
const TagsInputItemText = (props) => {
|
|
@@ -126,7 +112,6 @@ const TagsInputItemText = (props) => {
|
|
|
126
112
|
const mergedProps = mergeProps$1(() => api().getItemTextProps(itemProps), props);
|
|
127
113
|
return <sprawlify.span {...mergedProps} />;
|
|
128
114
|
};
|
|
129
|
-
|
|
130
115
|
//#endregion
|
|
131
116
|
//#region src/components/tags-input/tags-input-label.tsx
|
|
132
117
|
const TagsInputLabel = (props) => {
|
|
@@ -134,7 +119,6 @@ const TagsInputLabel = (props) => {
|
|
|
134
119
|
const mergedProps = mergeProps$1(() => api().getLabelProps(), props);
|
|
135
120
|
return <sprawlify.label {...mergedProps} />;
|
|
136
121
|
};
|
|
137
|
-
|
|
138
122
|
//#endregion
|
|
139
123
|
//#region src/components/tags-input/use-tags-input.ts
|
|
140
124
|
const useTagsInput = (props) => {
|
|
@@ -159,7 +143,6 @@ const useTagsInput = (props) => {
|
|
|
159
143
|
const service = useMachine(tagsInput.machine, machineProps);
|
|
160
144
|
return createMemo(() => tagsInput.connect(service, normalizeProps));
|
|
161
145
|
};
|
|
162
|
-
|
|
163
146
|
//#endregion
|
|
164
147
|
//#region src/components/tags-input/tags-input-root.tsx
|
|
165
148
|
const TagsInputRoot = (props) => {
|
|
@@ -201,7 +184,6 @@ const TagsInputRoot = (props) => {
|
|
|
201
184
|
<sprawlify.div {...mergedProps} />
|
|
202
185
|
</TagsInputProvider>;
|
|
203
186
|
};
|
|
204
|
-
|
|
205
187
|
//#endregion
|
|
206
188
|
//#region src/components/tags-input/tags-input-root-provider.tsx
|
|
207
189
|
const TagsInputRootProvider = (props) => {
|
|
@@ -211,7 +193,6 @@ const TagsInputRootProvider = (props) => {
|
|
|
211
193
|
<sprawlify.div {...mergedProps} />
|
|
212
194
|
</TagsInputProvider>;
|
|
213
195
|
};
|
|
214
|
-
|
|
215
196
|
//#endregion
|
|
216
197
|
//#region src/components/tags-input/tags-input.ts
|
|
217
198
|
var tags_input_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -230,6 +211,5 @@ var tags_input_exports = /* @__PURE__ */ __exportAll({
|
|
|
230
211
|
Root: () => TagsInputRoot,
|
|
231
212
|
RootProvider: () => TagsInputRootProvider
|
|
232
213
|
});
|
|
233
|
-
|
|
234
214
|
//#endregion
|
|
235
|
-
export { tags_input_exports as TagsInput, TagsInputClearTrigger, TagsInputContext, TagsInputControl, TagsInputHiddenInput, TagsInputInput, TagsInputItem, TagsInputItemContext, TagsInputItemDeleteTrigger, TagsInputItemInput, TagsInputItemPreview, TagsInputItemText, TagsInputLabel, TagsInputRoot, TagsInputRootProvider, tagsInputAnatomy, useTagsInput, useTagsInputContext, useTagsInputItemContext };
|
|
215
|
+
export { tags_input_exports as TagsInput, TagsInputClearTrigger, TagsInputContext, TagsInputControl, TagsInputHiddenInput, TagsInputInput, TagsInputItem, TagsInputItemContext, TagsInputItemDeleteTrigger, TagsInputItemInput, TagsInputItemPreview, TagsInputItemText, TagsInputLabel, TagsInputRoot, TagsInputRootProvider, tagsInputAnatomy, useTagsInput, useTagsInputContext, useTagsInputItemContext };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import * as
|
|
1
|
+
import { n as PropTypes } from "../../index-CRqsjDZx.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-BiaKY56E.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-DkYIAa1r.js";
|
|
4
|
+
import * as solid_js0 from "solid-js";
|
|
5
5
|
import { Accessor, JSX } from "solid-js";
|
|
6
6
|
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
7
7
|
import { ActionTriggerProps, ItemProps, TickDetails, anatomy as timerAnatomy } from "@sprawlify/primitives/machines/timer";
|
|
@@ -9,12 +9,12 @@ import { ActionTriggerProps, ItemProps, TickDetails, anatomy as timerAnatomy } f
|
|
|
9
9
|
//#region src/components/timer/timer-action-trigger.d.ts
|
|
10
10
|
interface TimerActionTriggerBaseProps extends ActionTriggerProps, PolymorphicProps<'button'> {}
|
|
11
11
|
interface TimerActionTriggerProps extends HTMLProps<'button'>, TimerActionTriggerBaseProps {}
|
|
12
|
-
declare const TimerActionTrigger: (props: TimerActionTriggerProps) =>
|
|
12
|
+
declare const TimerActionTrigger: (props: TimerActionTriggerProps) => solid_js0.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/components/timer/timer-area.d.ts
|
|
15
15
|
interface TimerAreaBaseProps extends PolymorphicProps<'div'> {}
|
|
16
16
|
interface TimerAreaProps extends HTMLProps<'div'>, TimerAreaBaseProps {}
|
|
17
|
-
declare const TimerArea: (props: TimerAreaProps) =>
|
|
17
|
+
declare const TimerArea: (props: TimerAreaProps) => solid_js0.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/components/timer/use-timer.d.ts
|
|
20
20
|
interface UseTimerProps extends Optional<Omit<timer.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -33,17 +33,17 @@ declare const TimerContext: (props: TimerContextProps) => JSX.Element;
|
|
|
33
33
|
//#region src/components/timer/timer-control.d.ts
|
|
34
34
|
interface TimerControlBaseProps extends PolymorphicProps<'div'> {}
|
|
35
35
|
interface TimerControlProps extends HTMLProps<'div'>, TimerControlBaseProps {}
|
|
36
|
-
declare const TimerControl: (props: TimerControlProps) =>
|
|
36
|
+
declare const TimerControl: (props: TimerControlProps) => solid_js0.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/components/timer/timer-item.d.ts
|
|
39
39
|
interface TimerItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
|
|
40
40
|
interface TimerItemProps extends HTMLProps<'div'>, TimerItemBaseProps {}
|
|
41
|
-
declare const TimerItem: (props: TimerItemProps) =>
|
|
41
|
+
declare const TimerItem: (props: TimerItemProps) => solid_js0.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/components/timer/timer-root.d.ts
|
|
44
44
|
interface TimerRootBaseProps extends UseTimerProps, PolymorphicProps<'div'> {}
|
|
45
45
|
interface TimerRootProps extends HTMLProps<'div'>, TimerRootBaseProps {}
|
|
46
|
-
declare const TimerRoot: (props: TimerRootProps) =>
|
|
46
|
+
declare const TimerRoot: (props: TimerRootProps) => solid_js0.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/components/timer/timer-root-provider.d.ts
|
|
49
49
|
interface RootProviderProps {
|
|
@@ -51,12 +51,12 @@ interface RootProviderProps {
|
|
|
51
51
|
}
|
|
52
52
|
interface TimerRootProviderBaseProps extends RootProviderProps, PolymorphicProps<'div'> {}
|
|
53
53
|
interface TimerRootProviderProps extends HTMLProps<'div'>, TimerRootProviderBaseProps {}
|
|
54
|
-
declare const TimerRootProvider: (props: TimerRootProviderProps) =>
|
|
54
|
+
declare const TimerRootProvider: (props: TimerRootProviderProps) => solid_js0.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/components/timer/timer-separator.d.ts
|
|
57
57
|
interface TimerSeparatorBaseProps extends PolymorphicProps<'div'> {}
|
|
58
58
|
interface TimerSeparatorProps extends HTMLProps<'div'>, TimerSeparatorBaseProps {}
|
|
59
|
-
declare const TimerSeparator: (props: TimerSeparatorProps) =>
|
|
59
|
+
declare const TimerSeparator: (props: TimerSeparatorProps) => solid_js0.JSX.Element;
|
|
60
60
|
declare namespace timer_d_exports {
|
|
61
61
|
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 };
|
|
62
62
|
}
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as timerAnatomy } from "../../timer-anatomy-
|
|
8
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-BHfpfUk-.js";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-BV7F-Eeb.js";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-BEnzb67H.js";
|
|
5
|
+
import { o as useEnvironmentContext } from "../../providers-CEdBpdaX.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-DORgzART.js";
|
|
7
|
+
import { t as timerAnatomy } from "../../timer-anatomy-GlYZryvG.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-OE-yOtGc.js";
|
|
9
9
|
import { createMemo, createUniqueId } from "solid-js";
|
|
10
10
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
11
11
|
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
12
|
-
|
|
13
12
|
//#region src/components/timer/use-timer-context.ts
|
|
14
13
|
const [TimerProvider, useTimerContext] = createContext$1({
|
|
15
14
|
hookName: "useTimerContext",
|
|
16
15
|
providerName: "<TimerProvider />"
|
|
17
16
|
});
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
18
|
//#region src/components/timer/timer-action-trigger.tsx
|
|
21
19
|
const TimerActionTrigger = (props) => {
|
|
@@ -24,7 +22,6 @@ const TimerActionTrigger = (props) => {
|
|
|
24
22
|
const mergedProps = mergeProps$2(() => timer().getActionTriggerProps(actionTriggerProps), localProps);
|
|
25
23
|
return createComponent(sprawlify.button, mergedProps);
|
|
26
24
|
};
|
|
27
|
-
|
|
28
25
|
//#endregion
|
|
29
26
|
//#region src/components/timer/timer-area.tsx
|
|
30
27
|
const TimerArea = (props) => {
|
|
@@ -32,11 +29,9 @@ const TimerArea = (props) => {
|
|
|
32
29
|
const mergedProps = mergeProps$2(() => timer().getAreaProps(), props);
|
|
33
30
|
return createComponent(sprawlify.div, mergedProps);
|
|
34
31
|
};
|
|
35
|
-
|
|
36
32
|
//#endregion
|
|
37
33
|
//#region src/components/timer/timer-context.tsx
|
|
38
34
|
const TimerContext = (props) => props.children(useTimerContext());
|
|
39
|
-
|
|
40
35
|
//#endregion
|
|
41
36
|
//#region src/components/timer/timer-control.tsx
|
|
42
37
|
const TimerControl = (props) => {
|
|
@@ -44,7 +39,6 @@ const TimerControl = (props) => {
|
|
|
44
39
|
const mergedProps = mergeProps$2(() => timer().getControlProps(), props);
|
|
45
40
|
return createComponent(sprawlify.div, mergedProps);
|
|
46
41
|
};
|
|
47
|
-
|
|
48
42
|
//#endregion
|
|
49
43
|
//#region src/components/timer/timer-item.tsx
|
|
50
44
|
const TimerItem = (props) => {
|
|
@@ -55,7 +49,6 @@ const TimerItem = (props) => {
|
|
|
55
49
|
return timer().formattedTime[itemProps.type];
|
|
56
50
|
} }));
|
|
57
51
|
};
|
|
58
|
-
|
|
59
52
|
//#endregion
|
|
60
53
|
//#region src/components/timer/use-timer.ts
|
|
61
54
|
const useTimer = (props) => {
|
|
@@ -69,7 +62,6 @@ const useTimer = (props) => {
|
|
|
69
62
|
const service = useMachine(timer.machine, machineProps);
|
|
70
63
|
return createMemo(() => timer.connect(service, normalizeProps));
|
|
71
64
|
};
|
|
72
|
-
|
|
73
65
|
//#endregion
|
|
74
66
|
//#region src/components/timer/timer-root.tsx
|
|
75
67
|
const TimerRoot = (props) => {
|
|
@@ -93,7 +85,6 @@ const TimerRoot = (props) => {
|
|
|
93
85
|
}
|
|
94
86
|
});
|
|
95
87
|
};
|
|
96
|
-
|
|
97
88
|
//#endregion
|
|
98
89
|
//#region src/components/timer/timer-root-provider.tsx
|
|
99
90
|
const TimerRootProvider = (props) => {
|
|
@@ -106,7 +97,6 @@ const TimerRootProvider = (props) => {
|
|
|
106
97
|
}
|
|
107
98
|
});
|
|
108
99
|
};
|
|
109
|
-
|
|
110
100
|
//#endregion
|
|
111
101
|
//#region src/components/timer/timer-separator.tsx
|
|
112
102
|
const TimerSeparator = (props) => {
|
|
@@ -114,7 +104,6 @@ const TimerSeparator = (props) => {
|
|
|
114
104
|
const mergedProps = mergeProps$2(() => timer().getSeparatorProps(), props);
|
|
115
105
|
return createComponent(sprawlify.div, mergedProps);
|
|
116
106
|
};
|
|
117
|
-
|
|
118
107
|
//#endregion
|
|
119
108
|
//#region src/components/timer/timer.ts
|
|
120
109
|
var timer_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -127,6 +116,5 @@ var timer_exports = /* @__PURE__ */ __exportAll({
|
|
|
127
116
|
RootProvider: () => TimerRootProvider,
|
|
128
117
|
Separator: () => TimerSeparator
|
|
129
118
|
});
|
|
130
|
-
|
|
131
119
|
//#endregion
|
|
132
|
-
export { timer_exports as Timer, TimerActionTrigger, TimerArea, TimerContext, TimerControl, TimerItem, TimerRoot, TimerRootProvider, TimerSeparator, timerAnatomy, useTimer, useTimerContext };
|
|
120
|
+
export { timer_exports as Timer, TimerActionTrigger, TimerArea, TimerContext, TimerControl, TimerItem, TimerRoot, TimerRootProvider, TimerSeparator, timerAnatomy, useTimer, useTimerContext };
|