@sprawlify/solid 0.0.87 → 0.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accordion-anatomy-SnniqySz.js → accordion-anatomy-Die9efSm.js} +1 -2
- package/dist/{alert-dialog-anatomy-CdXMy-rb.d.ts → alert-dialog-anatomy-ChAdYmbN.d.ts} +1 -1
- package/dist/{alert-dialog-anatomy-6UZ4w58n.js → alert-dialog-anatomy-DubFij06.js} +1 -3
- 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-Cgcqtc1U.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-OTXuBLEd.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-B_BxaqwB.d.ts +6 -0
- package/dist/{color-picker-anatomy-BFaHjy9O.js → color-picker-anatomy-DAgWuOv8.js} +1 -3
- package/dist/{combobox-anatomy-Bottj4lE.js → combobox-anatomy-BojTG5Ws.js} +1 -3
- package/dist/combobox-anatomy-Bsbb4isv.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +13 -12
- 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 -17
- 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 +15 -14
- 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 +10 -9
- package/dist/components/avatar/index.js +9 -18
- package/dist/components/avatar/index.jsx +8 -17
- package/dist/components/bottom-sheet/index.d.ts +14 -14
- 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 +16 -19
- package/dist/components/carousel/index.js +9 -26
- package/dist/components/carousel/index.jsx +8 -26
- package/dist/components/checkbox/index.d.ts +13 -16
- 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 +13 -12
- package/dist/components/clipboard/index.js +9 -22
- package/dist/components/clipboard/index.jsx +8 -21
- package/dist/components/collapsible/index.d.ts +12 -11
- 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 +34 -38
- 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 +21 -25
- package/dist/components/combobox/index.js +17 -42
- package/dist/components/combobox/index.jsx +14 -40
- package/dist/components/date-picker/index.d.ts +31 -35
- 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 +14 -14
- 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 +23 -24
- 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 +16 -15
- package/dist/components/editable/index.js +14 -29
- package/dist/components/editable/index.jsx +11 -26
- package/dist/components/field/index.d.ts +14 -17
- package/dist/components/field/index.js +11 -12
- package/dist/components/field/index.jsx +9 -10
- package/dist/components/fieldset/index.d.ts +11 -14
- package/dist/components/fieldset/index.js +9 -10
- package/dist/components/fieldset/index.jsx +8 -9
- package/dist/components/file-upload/index.d.ts +20 -19
- 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 +18 -18
- 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 +12 -12
- 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 +13 -12
- 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 +12 -23
- package/dist/components/json-tree-view/index.jsx +11 -22
- package/dist/components/listbox/index.d.ts +17 -20
- package/dist/components/listbox/index.js +10 -31
- package/dist/components/listbox/index.jsx +9 -31
- package/dist/components/marquee/index.d.ts +11 -10
- package/dist/components/marquee/index.js +9 -20
- package/dist/components/marquee/index.jsx +8 -19
- package/dist/components/navigation-menu/index.d.ts +19 -18
- 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 +15 -14
- 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 +14 -13
- package/dist/components/pagination/index.js +9 -22
- package/dist/components/pagination/index.jsx +8 -21
- package/dist/components/password-input/index.d.ts +11 -10
- 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 +12 -11
- 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 +17 -17
- 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 +16 -15
- package/dist/components/progress/index.js +9 -24
- package/dist/components/progress/index.jsx +8 -23
- package/dist/components/qr-code/index.d.ts +12 -11
- 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 +14 -13
- 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 +12 -11
- 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 +13 -12
- 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 +13 -16
- 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 +23 -23
- package/dist/components/select/index.js +17 -43
- package/dist/components/select/index.jsx +14 -40
- package/dist/components/separator/index.d.ts +7 -7
- package/dist/components/separator/index.js +9 -16
- package/dist/components/separator/index.jsx +8 -15
- package/dist/components/signature-pad/index.d.ts +14 -13
- 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 +18 -17
- package/dist/components/slider/index.js +9 -27
- package/dist/components/slider/index.jsx +8 -26
- package/dist/components/splitter/index.d.ts +11 -10
- package/dist/components/splitter/index.js +9 -20
- package/dist/components/splitter/index.jsx +8 -19
- package/dist/components/steps/index.d.ts +18 -17
- package/dist/components/steps/index.js +9 -29
- package/dist/components/steps/index.jsx +8 -28
- package/dist/components/switch/index.d.ts +5 -4
- package/dist/components/switch/index.js +14 -25
- package/dist/components/switch/index.jsx +11 -22
- package/dist/components/tabs/index.d.ts +13 -12
- package/dist/components/tabs/index.js +12 -23
- package/dist/components/tabs/index.jsx +11 -22
- package/dist/components/tags-input/index.d.ts +18 -17
- 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 +13 -12
- package/dist/components/timer/index.js +9 -21
- package/dist/components/timer/index.jsx +8 -20
- package/dist/components/toast/index.d.ts +11 -10
- package/dist/components/toast/index.js +7 -18
- package/dist/components/toast/index.jsx +6 -17
- package/dist/components/toggle/index.d.ts +5 -9
- package/dist/components/toggle/index.js +7 -14
- package/dist/components/toggle/index.jsx +7 -15
- package/dist/components/toggle-group/index.d.ts +9 -8
- 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 +12 -12
- package/dist/components/tooltip/index.js +12 -24
- package/dist/components/tooltip/index.jsx +11 -23
- package/dist/components/tour/index.d.ts +18 -22
- package/dist/components/tour/index.js +12 -31
- package/dist/components/tour/index.jsx +11 -31
- package/dist/components/tree-view/index.d.ts +3 -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-D-lrx3HT.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-DfP5AI6N.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-CKytu4jl.d.ts +6 -0
- package/dist/{fieldset-anatomy-BjnxJmos.js → fieldset-anatomy-DBAg0hLg.js} +1 -3
- 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-BVMfsBje.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-DKBcX-Mi.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-CI_s3yji.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,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 { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as carouselAnatomy } from "../../carousel-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 { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CEdBpdaX.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-DORgzART.js";
|
|
7
|
+
import { t as carouselAnatomy } from "../../carousel-anatomy-DpBacyBH.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-OE-yOtGc.js";
|
|
9
9
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
10
10
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
11
11
|
import * as carousel from "@sprawlify/primitives/machines/carousel";
|
|
12
|
-
|
|
13
12
|
//#region src/components/carousel/use-carousel-context.ts
|
|
14
13
|
const [CarouselProvider, useCarouselContext] = createContext$1({
|
|
15
14
|
hookName: "useCarouselContext",
|
|
16
15
|
providerName: "<CarouselProvider />"
|
|
17
16
|
});
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
18
|
//#region src/components/carousel/carousel-autoplay-indicator.tsx
|
|
21
19
|
const parts$1 = carouselAnatomy.build();
|
|
@@ -35,7 +33,6 @@ const CarouselAutoplayIndicator = (props) => {
|
|
|
35
33
|
});
|
|
36
34
|
} }));
|
|
37
35
|
};
|
|
38
|
-
|
|
39
36
|
//#endregion
|
|
40
37
|
//#region src/components/carousel/carousel-progress-text.tsx
|
|
41
38
|
const parts = carouselAnatomy.build();
|
|
@@ -48,7 +45,6 @@ const CarouselProgressText = (props) => {
|
|
|
48
45
|
return props.children || progressText();
|
|
49
46
|
} }));
|
|
50
47
|
};
|
|
51
|
-
|
|
52
48
|
//#endregion
|
|
53
49
|
//#region src/components/carousel/carousel-autoplay-trigger.tsx
|
|
54
50
|
const CarouselAutoplayTrigger = (props) => {
|
|
@@ -56,11 +52,9 @@ const CarouselAutoplayTrigger = (props) => {
|
|
|
56
52
|
const mergedProps = mergeProps$2(() => api().getAutoplayTriggerProps(), props);
|
|
57
53
|
return createComponent(sprawlify.button, mergedProps);
|
|
58
54
|
};
|
|
59
|
-
|
|
60
55
|
//#endregion
|
|
61
56
|
//#region src/components/carousel/carousel-context.tsx
|
|
62
57
|
const CarouselContext = (props) => props.children(useCarouselContext());
|
|
63
|
-
|
|
64
58
|
//#endregion
|
|
65
59
|
//#region src/components/carousel/carousel-control.tsx
|
|
66
60
|
const CarouselControl = (props) => {
|
|
@@ -68,7 +62,6 @@ const CarouselControl = (props) => {
|
|
|
68
62
|
const mergedProps = mergeProps$2(() => api().getControlProps(), props);
|
|
69
63
|
return createComponent(sprawlify.div, mergedProps);
|
|
70
64
|
};
|
|
71
|
-
|
|
72
65
|
//#endregion
|
|
73
66
|
//#region src/components/carousel/carousel-indicator.tsx
|
|
74
67
|
const CarouselIndicator = (props) => {
|
|
@@ -77,7 +70,6 @@ const CarouselIndicator = (props) => {
|
|
|
77
70
|
const mergedProps = mergeProps$2(() => api().getIndicatorProps(indicatorProps), localProps);
|
|
78
71
|
return createComponent(sprawlify.button, mergedProps);
|
|
79
72
|
};
|
|
80
|
-
|
|
81
73
|
//#endregion
|
|
82
74
|
//#region src/components/carousel/carousel-indicator-group.tsx
|
|
83
75
|
const CarouselIndicatorGroup = (props) => {
|
|
@@ -85,7 +77,6 @@ const CarouselIndicatorGroup = (props) => {
|
|
|
85
77
|
const mergedProps = mergeProps$2(() => api().getIndicatorGroupProps(), props);
|
|
86
78
|
return createComponent(sprawlify.div, mergedProps);
|
|
87
79
|
};
|
|
88
|
-
|
|
89
80
|
//#endregion
|
|
90
81
|
//#region src/components/carousel/carousel-item.tsx
|
|
91
82
|
const CarouselItem = (props) => {
|
|
@@ -94,7 +85,6 @@ const CarouselItem = (props) => {
|
|
|
94
85
|
const mergedProps = mergeProps$2(() => api().getItemProps(itemProps), localProps);
|
|
95
86
|
return createComponent(sprawlify.div, mergedProps);
|
|
96
87
|
};
|
|
97
|
-
|
|
98
88
|
//#endregion
|
|
99
89
|
//#region src/components/carousel/carousel-item-group.tsx
|
|
100
90
|
const CarouselItemGroup = (props) => {
|
|
@@ -102,7 +92,6 @@ const CarouselItemGroup = (props) => {
|
|
|
102
92
|
const mergedProps = mergeProps$2(() => api().getItemGroupProps(), props);
|
|
103
93
|
return createComponent(sprawlify.div, mergedProps);
|
|
104
94
|
};
|
|
105
|
-
|
|
106
95
|
//#endregion
|
|
107
96
|
//#region src/components/carousel/carousel-next-trigger.tsx
|
|
108
97
|
const CarouselNextTrigger = (props) => {
|
|
@@ -110,7 +99,6 @@ const CarouselNextTrigger = (props) => {
|
|
|
110
99
|
const mergedProps = mergeProps$2(() => api().getNextTriggerProps(), props);
|
|
111
100
|
return createComponent(sprawlify.button, mergedProps);
|
|
112
101
|
};
|
|
113
|
-
|
|
114
102
|
//#endregion
|
|
115
103
|
//#region src/components/carousel/carousel-prev-trigger.tsx
|
|
116
104
|
const CarouselPrevTrigger = (props) => {
|
|
@@ -118,7 +106,6 @@ const CarouselPrevTrigger = (props) => {
|
|
|
118
106
|
const mergedProps = mergeProps$2(() => api().getPrevTriggerProps(), props);
|
|
119
107
|
return createComponent(sprawlify.button, mergedProps);
|
|
120
108
|
};
|
|
121
|
-
|
|
122
109
|
//#endregion
|
|
123
110
|
//#region src/components/carousel/use-carousel.ts
|
|
124
111
|
const useCarousel = (props) => {
|
|
@@ -134,7 +121,6 @@ const useCarousel = (props) => {
|
|
|
134
121
|
const service = useMachine(carousel.machine, machineProps);
|
|
135
122
|
return createMemo(() => carousel.connect(service, normalizeProps));
|
|
136
123
|
};
|
|
137
|
-
|
|
138
124
|
//#endregion
|
|
139
125
|
//#region src/components/carousel/carousel-root.tsx
|
|
140
126
|
const CarouselRoot = (props) => {
|
|
@@ -169,7 +155,6 @@ const CarouselRoot = (props) => {
|
|
|
169
155
|
}
|
|
170
156
|
});
|
|
171
157
|
};
|
|
172
|
-
|
|
173
158
|
//#endregion
|
|
174
159
|
//#region src/components/carousel/carousel-root-provider.tsx
|
|
175
160
|
const CarouselRootProvider = (props) => {
|
|
@@ -182,7 +167,6 @@ const CarouselRootProvider = (props) => {
|
|
|
182
167
|
}
|
|
183
168
|
});
|
|
184
169
|
};
|
|
185
|
-
|
|
186
170
|
//#endregion
|
|
187
171
|
//#region src/components/carousel/carousel.ts
|
|
188
172
|
var carousel_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -200,6 +184,5 @@ var carousel_exports = /* @__PURE__ */ __exportAll({
|
|
|
200
184
|
Root: () => CarouselRoot,
|
|
201
185
|
RootProvider: () => CarouselRootProvider
|
|
202
186
|
});
|
|
203
|
-
|
|
204
187
|
//#endregion
|
|
205
|
-
export { carousel_exports as Carousel, CarouselAutoplayIndicator, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselProgressText, CarouselRoot, CarouselRootProvider, carouselAnatomy, useCarousel, useCarouselContext };
|
|
188
|
+
export { carousel_exports as Carousel, CarouselAutoplayIndicator, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselProgressText, CarouselRoot, CarouselRootProvider, carouselAnatomy, useCarousel, useCarouselContext };
|
|
@@ -1,24 +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-
|
|
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
8
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
9
9
|
import * as carousel from "@sprawlify/primitives/machines/carousel";
|
|
10
10
|
import { anatomy } from "@sprawlify/primitives/machines/carousel";
|
|
11
|
-
|
|
12
11
|
//#region src/components/carousel/carousel-anatomy.ts
|
|
13
12
|
const carouselAnatomy = anatomy.extendWith("progressText", "autoplayIndicator");
|
|
14
|
-
|
|
15
13
|
//#endregion
|
|
16
14
|
//#region src/components/carousel/use-carousel-context.ts
|
|
17
15
|
const [CarouselProvider, useCarouselContext] = createContext$1({
|
|
18
16
|
hookName: "useCarouselContext",
|
|
19
17
|
providerName: "<CarouselProvider />"
|
|
20
18
|
});
|
|
21
|
-
|
|
22
19
|
//#endregion
|
|
23
20
|
//#region src/components/carousel/carousel-autoplay-indicator.tsx
|
|
24
21
|
const parts$1 = carouselAnatomy.build();
|
|
@@ -30,7 +27,6 @@ const CarouselAutoplayIndicator = (props) => {
|
|
|
30
27
|
</Show>
|
|
31
28
|
</sprawlify.span>;
|
|
32
29
|
};
|
|
33
|
-
|
|
34
30
|
//#endregion
|
|
35
31
|
//#region src/components/carousel/carousel-progress-text.tsx
|
|
36
32
|
const parts = carouselAnatomy.build();
|
|
@@ -43,7 +39,6 @@ const CarouselProgressText = (props) => {
|
|
|
43
39
|
{props.children || progressText()}
|
|
44
40
|
</sprawlify.span>;
|
|
45
41
|
};
|
|
46
|
-
|
|
47
42
|
//#endregion
|
|
48
43
|
//#region src/components/carousel/carousel-autoplay-trigger.tsx
|
|
49
44
|
const CarouselAutoplayTrigger = (props) => {
|
|
@@ -51,11 +46,9 @@ const CarouselAutoplayTrigger = (props) => {
|
|
|
51
46
|
const mergedProps = mergeProps$1(() => api().getAutoplayTriggerProps(), props);
|
|
52
47
|
return <sprawlify.button {...mergedProps} />;
|
|
53
48
|
};
|
|
54
|
-
|
|
55
49
|
//#endregion
|
|
56
50
|
//#region src/components/carousel/carousel-context.tsx
|
|
57
51
|
const CarouselContext = (props) => props.children(useCarouselContext());
|
|
58
|
-
|
|
59
52
|
//#endregion
|
|
60
53
|
//#region src/components/carousel/carousel-control.tsx
|
|
61
54
|
const CarouselControl = (props) => {
|
|
@@ -63,7 +56,6 @@ const CarouselControl = (props) => {
|
|
|
63
56
|
const mergedProps = mergeProps$1(() => api().getControlProps(), props);
|
|
64
57
|
return <sprawlify.div {...mergedProps} />;
|
|
65
58
|
};
|
|
66
|
-
|
|
67
59
|
//#endregion
|
|
68
60
|
//#region src/components/carousel/carousel-indicator.tsx
|
|
69
61
|
const CarouselIndicator = (props) => {
|
|
@@ -72,7 +64,6 @@ const CarouselIndicator = (props) => {
|
|
|
72
64
|
const mergedProps = mergeProps$1(() => api().getIndicatorProps(indicatorProps), localProps);
|
|
73
65
|
return <sprawlify.button {...mergedProps} />;
|
|
74
66
|
};
|
|
75
|
-
|
|
76
67
|
//#endregion
|
|
77
68
|
//#region src/components/carousel/carousel-indicator-group.tsx
|
|
78
69
|
const CarouselIndicatorGroup = (props) => {
|
|
@@ -80,7 +71,6 @@ const CarouselIndicatorGroup = (props) => {
|
|
|
80
71
|
const mergedProps = mergeProps$1(() => api().getIndicatorGroupProps(), props);
|
|
81
72
|
return <sprawlify.div {...mergedProps} />;
|
|
82
73
|
};
|
|
83
|
-
|
|
84
74
|
//#endregion
|
|
85
75
|
//#region src/components/carousel/carousel-item.tsx
|
|
86
76
|
const CarouselItem = (props) => {
|
|
@@ -89,7 +79,6 @@ const CarouselItem = (props) => {
|
|
|
89
79
|
const mergedProps = mergeProps$1(() => api().getItemProps(itemProps), localProps);
|
|
90
80
|
return <sprawlify.div {...mergedProps} />;
|
|
91
81
|
};
|
|
92
|
-
|
|
93
82
|
//#endregion
|
|
94
83
|
//#region src/components/carousel/carousel-item-group.tsx
|
|
95
84
|
const CarouselItemGroup = (props) => {
|
|
@@ -97,7 +86,6 @@ const CarouselItemGroup = (props) => {
|
|
|
97
86
|
const mergedProps = mergeProps$1(() => api().getItemGroupProps(), props);
|
|
98
87
|
return <sprawlify.div {...mergedProps} />;
|
|
99
88
|
};
|
|
100
|
-
|
|
101
89
|
//#endregion
|
|
102
90
|
//#region src/components/carousel/carousel-next-trigger.tsx
|
|
103
91
|
const CarouselNextTrigger = (props) => {
|
|
@@ -105,7 +93,6 @@ const CarouselNextTrigger = (props) => {
|
|
|
105
93
|
const mergedProps = mergeProps$1(() => api().getNextTriggerProps(), props);
|
|
106
94
|
return <sprawlify.button {...mergedProps} />;
|
|
107
95
|
};
|
|
108
|
-
|
|
109
96
|
//#endregion
|
|
110
97
|
//#region src/components/carousel/carousel-prev-trigger.tsx
|
|
111
98
|
const CarouselPrevTrigger = (props) => {
|
|
@@ -113,7 +100,6 @@ const CarouselPrevTrigger = (props) => {
|
|
|
113
100
|
const mergedProps = mergeProps$1(() => api().getPrevTriggerProps(), props);
|
|
114
101
|
return <sprawlify.button {...mergedProps} />;
|
|
115
102
|
};
|
|
116
|
-
|
|
117
103
|
//#endregion
|
|
118
104
|
//#region src/components/carousel/use-carousel.ts
|
|
119
105
|
const useCarousel = (props) => {
|
|
@@ -129,7 +115,6 @@ const useCarousel = (props) => {
|
|
|
129
115
|
const service = useMachine(carousel.machine, machineProps);
|
|
130
116
|
return createMemo(() => carousel.connect(service, normalizeProps));
|
|
131
117
|
};
|
|
132
|
-
|
|
133
118
|
//#endregion
|
|
134
119
|
//#region src/components/carousel/carousel-root.tsx
|
|
135
120
|
const CarouselRoot = (props) => {
|
|
@@ -161,7 +146,6 @@ const CarouselRoot = (props) => {
|
|
|
161
146
|
<sprawlify.div {...mergedProps} />
|
|
162
147
|
</CarouselProvider>;
|
|
163
148
|
};
|
|
164
|
-
|
|
165
149
|
//#endregion
|
|
166
150
|
//#region src/components/carousel/carousel-root-provider.tsx
|
|
167
151
|
const CarouselRootProvider = (props) => {
|
|
@@ -171,7 +155,6 @@ const CarouselRootProvider = (props) => {
|
|
|
171
155
|
<sprawlify.div {...mergedProps} />
|
|
172
156
|
</CarouselProvider>;
|
|
173
157
|
};
|
|
174
|
-
|
|
175
158
|
//#endregion
|
|
176
159
|
//#region src/components/carousel/carousel.ts
|
|
177
160
|
var carousel_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -189,6 +172,5 @@ var carousel_exports = /* @__PURE__ */ __exportAll({
|
|
|
189
172
|
Root: () => CarouselRoot,
|
|
190
173
|
RootProvider: () => CarouselRootProvider
|
|
191
174
|
});
|
|
192
|
-
|
|
193
175
|
//#endregion
|
|
194
|
-
export { carousel_exports as Carousel, CarouselAutoplayIndicator, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselProgressText, CarouselRoot, CarouselRootProvider, carouselAnatomy, useCarousel, useCarouselContext };
|
|
176
|
+
export { carousel_exports as Carousel, CarouselAutoplayIndicator, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselProgressText, CarouselRoot, CarouselRootProvider, carouselAnatomy, useCarousel, useCarouselContext };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor, t as Assign } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import
|
|
1
|
+
import { n as PropTypes } from "../../index-Bnd2Fp7Q.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor, t as Assign } from "../../types-C0L5xDeS.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BxBlXUD3.js";
|
|
4
|
+
import { t as checkboxAnatomy } from "../../checkbox-anatomy-OTXuBLEd.js";
|
|
5
|
+
import * as solid_js0 from "solid-js";
|
|
5
6
|
import { Accessor, JSX } from "solid-js";
|
|
6
7
|
import * as checkbox from "@sprawlify/primitives/machines/checkbox";
|
|
7
8
|
import { CheckedChangeDetails, CheckedChangeDetails as CheckboxCheckedChangeDetails, CheckedState, CheckedState as CheckboxCheckedState } from "@sprawlify/primitives/machines/checkbox";
|
|
8
|
-
import * as _sprawlify_primitives_anatomy12 from "@sprawlify/primitives/anatomy";
|
|
9
9
|
|
|
10
10
|
//#region src/components/checkbox/use-checkbox.d.ts
|
|
11
11
|
interface UseCheckboxProps extends Optional<Omit<checkbox.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -24,7 +24,7 @@ declare const CheckboxContext: (props: CheckboxContextProps) => JSX.Element;
|
|
|
24
24
|
//#region src/components/checkbox/checkbox-control.d.ts
|
|
25
25
|
interface CheckboxControlBaseProps extends PolymorphicProps<'div'> {}
|
|
26
26
|
interface CheckboxControlProps extends HTMLProps<'div'>, CheckboxControlBaseProps {}
|
|
27
|
-
declare const CheckboxControl: (props: CheckboxControlProps) =>
|
|
27
|
+
declare const CheckboxControl: (props: CheckboxControlProps) => solid_js0.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/components/checkbox/use-checkbox-group.d.ts
|
|
30
30
|
interface UseCheckboxGroupProps {
|
|
@@ -85,7 +85,7 @@ type UseCheckboxGroupReturn = ReturnType<typeof useCheckboxGroup>;
|
|
|
85
85
|
//#region src/components/checkbox/checkbox-group.d.ts
|
|
86
86
|
interface CheckboxGroupBaseProps extends UseCheckboxGroupProps, PolymorphicProps<'div'> {}
|
|
87
87
|
interface CheckboxGroupProps extends HTMLProps<'div'>, CheckboxGroupBaseProps {}
|
|
88
|
-
declare const CheckboxGroup: (props: CheckboxGroupProps) =>
|
|
88
|
+
declare const CheckboxGroup: (props: CheckboxGroupProps) => solid_js0.JSX.Element;
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region src/components/checkbox/use-checkbox-group-context.d.ts
|
|
91
91
|
interface UseCheckboxGroupContext extends UseCheckboxGroupReturn {}
|
|
@@ -96,12 +96,12 @@ interface ProviderProps {
|
|
|
96
96
|
}
|
|
97
97
|
interface CheckboxGroupProviderBaseProps extends ProviderProps, PolymorphicProps<'div'> {}
|
|
98
98
|
interface CheckboxGroupProviderProps extends Assign<HTMLProps<'div'>, CheckboxGroupProviderBaseProps> {}
|
|
99
|
-
declare const CheckboxGroupProvider: (props: CheckboxGroupProviderProps) =>
|
|
99
|
+
declare const CheckboxGroupProvider: (props: CheckboxGroupProviderProps) => solid_js0.JSX.Element;
|
|
100
100
|
//#endregion
|
|
101
101
|
//#region src/components/checkbox/checkbox-hidden-input.d.ts
|
|
102
102
|
interface CheckboxHiddenInputBaseProps extends PolymorphicProps<'input'> {}
|
|
103
103
|
interface CheckboxHiddenInputProps extends HTMLProps<'input'>, CheckboxHiddenInputBaseProps {}
|
|
104
|
-
declare const CheckboxHiddenInput: (props: CheckboxHiddenInputProps) =>
|
|
104
|
+
declare const CheckboxHiddenInput: (props: CheckboxHiddenInputProps) => solid_js0.JSX.Element;
|
|
105
105
|
//#endregion
|
|
106
106
|
//#region src/components/checkbox/checkbox-indicator.d.ts
|
|
107
107
|
interface IndicatorProps {
|
|
@@ -109,17 +109,17 @@ interface IndicatorProps {
|
|
|
109
109
|
}
|
|
110
110
|
interface CheckboxIndicatorBaseProps extends IndicatorProps, PolymorphicProps<'div'> {}
|
|
111
111
|
interface CheckboxIndicatorProps extends HTMLProps<'div'>, CheckboxIndicatorBaseProps {}
|
|
112
|
-
declare const CheckboxIndicator: (props: CheckboxIndicatorProps) =>
|
|
112
|
+
declare const CheckboxIndicator: (props: CheckboxIndicatorProps) => solid_js0.JSX.Element;
|
|
113
113
|
//#endregion
|
|
114
114
|
//#region src/components/checkbox/checkbox-label.d.ts
|
|
115
115
|
interface CheckboxLabelBaseProps extends PolymorphicProps<'span'> {}
|
|
116
116
|
interface CheckboxLabelProps extends HTMLProps<'span'>, CheckboxLabelBaseProps {}
|
|
117
|
-
declare const CheckboxLabel: (props: CheckboxLabelProps) =>
|
|
117
|
+
declare const CheckboxLabel: (props: CheckboxLabelProps) => solid_js0.JSX.Element;
|
|
118
118
|
//#endregion
|
|
119
119
|
//#region src/components/checkbox/checkbox-root.d.ts
|
|
120
120
|
interface CheckboxRootBaseProps extends UseCheckboxProps, PolymorphicProps<'label'> {}
|
|
121
121
|
interface CheckboxRootProps extends HTMLProps<'label'>, CheckboxRootBaseProps {}
|
|
122
|
-
declare const CheckboxRoot: (props: CheckboxRootProps) =>
|
|
122
|
+
declare const CheckboxRoot: (props: CheckboxRootProps) => solid_js0.JSX.Element;
|
|
123
123
|
//#endregion
|
|
124
124
|
//#region src/components/checkbox/checkbox-root-provider.d.ts
|
|
125
125
|
interface RootProviderProps {
|
|
@@ -127,10 +127,7 @@ interface RootProviderProps {
|
|
|
127
127
|
}
|
|
128
128
|
interface CheckboxRootProviderBaseProps extends PolymorphicProps<'label'> {}
|
|
129
129
|
interface CheckboxRootProviderProps extends HTMLProps<'label'>, RootProviderProps, CheckboxRootProviderBaseProps {}
|
|
130
|
-
declare const CheckboxRootProvider: (props: CheckboxRootProviderProps) =>
|
|
131
|
-
//#endregion
|
|
132
|
-
//#region src/components/checkbox/checkbox-anatomy.d.ts
|
|
133
|
-
declare const checkboxAnatomy: _sprawlify_primitives_anatomy12.AnatomyInstance<"label" | "root" | "group" | "indicator" | "control">;
|
|
130
|
+
declare const CheckboxRootProvider: (props: CheckboxRootProviderProps) => solid_js0.JSX.Element;
|
|
134
131
|
declare namespace checkbox_d_exports {
|
|
135
132
|
export { CheckedChangeDetails, CheckedState, CheckboxContext as Context, CheckboxContextProps as ContextProps, CheckboxControl as Control, CheckboxControlBaseProps as ControlBaseProps, CheckboxControlProps as ControlProps, CheckboxGroup as Group, CheckboxGroupBaseProps as GroupBaseProps, CheckboxGroupProps as GroupProps, CheckboxGroupProvider as GroupProvider, CheckboxGroupProviderBaseProps as GroupProviderBaseProps, CheckboxGroupProviderProps as GroupProviderProps, CheckboxHiddenInput as HiddenInput, CheckboxHiddenInputBaseProps as HiddenInputBaseProps, CheckboxHiddenInputProps as HiddenInputProps, CheckboxIndicator as Indicator, CheckboxIndicatorBaseProps as IndicatorBaseProps, CheckboxIndicatorProps as IndicatorProps, CheckboxLabel as Label, CheckboxLabelBaseProps as LabelBaseProps, CheckboxLabelProps as LabelProps, CheckboxRoot as Root, CheckboxRootBaseProps as RootBaseProps, CheckboxRootProps as RootProps, CheckboxRootProvider as RootProvider, CheckboxRootProviderBaseProps as RootProviderBaseProps, CheckboxRootProviderProps as RootProviderProps };
|
|
136
133
|
}
|
|
@@ -1,30 +1,27 @@
|
|
|
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 { t as checkboxAnatomy } from "../../checkbox-anatomy-
|
|
8
|
-
import "../../field-anatomy-
|
|
9
|
-
import "../../fieldset-anatomy-
|
|
10
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
11
|
-
import "../../compose-refs-
|
|
12
|
-
import { l as useFieldsetContext } from "../../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 { t as checkboxAnatomy } from "../../checkbox-anatomy-BIeQD0fF.js";
|
|
8
|
+
import "../../field-anatomy-BloFzq7T.js";
|
|
9
|
+
import "../../fieldset-anatomy-DBAg0hLg.js";
|
|
10
|
+
import { t as createSplitProps } from "../../create-split-props-OE-yOtGc.js";
|
|
11
|
+
import "../../compose-refs-BKcaHXR8.js";
|
|
12
|
+
import { l as useFieldsetContext } from "../../fieldset-CKY6kn04.js";
|
|
13
|
+
import { p as useFieldContext } from "../../field-DLS1xeZs.js";
|
|
14
14
|
import { createMemo, createSignal, createUniqueId, untrack } from "solid-js";
|
|
15
15
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
16
16
|
import * as checkbox from "@sprawlify/primitives/machines/checkbox";
|
|
17
|
-
|
|
18
17
|
//#region src/components/checkbox/use-checkbox-context.ts
|
|
19
18
|
const [CheckboxProvider, useCheckboxContext] = createContext$1({
|
|
20
19
|
hookName: "useCheckboxContext",
|
|
21
20
|
providerName: "<CheckboxProvider />"
|
|
22
21
|
});
|
|
23
|
-
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region src/components/checkbox/checkbox-context.tsx
|
|
26
24
|
const CheckboxContext = (props) => props.children(useCheckboxContext());
|
|
27
|
-
|
|
28
25
|
//#endregion
|
|
29
26
|
//#region src/components/checkbox/checkbox-control.tsx
|
|
30
27
|
const CheckboxControl = (props) => {
|
|
@@ -32,7 +29,6 @@ const CheckboxControl = (props) => {
|
|
|
32
29
|
const mergedProps = mergeProps$2(() => checkbox().getControlProps(), props);
|
|
33
30
|
return createComponent(sprawlify.div, mergedProps);
|
|
34
31
|
};
|
|
35
|
-
|
|
36
32
|
//#endregion
|
|
37
33
|
//#region src/utils/use-controllable-state.ts
|
|
38
34
|
function useControllableState(props) {
|
|
@@ -49,7 +45,6 @@ function useControllableState(props) {
|
|
|
49
45
|
};
|
|
50
46
|
return [currentValue, setValue];
|
|
51
47
|
}
|
|
52
|
-
|
|
53
48
|
//#endregion
|
|
54
49
|
//#region src/components/checkbox/use-checkbox-group.ts
|
|
55
50
|
function useCheckboxGroup(props = {}) {
|
|
@@ -104,7 +99,6 @@ function useCheckboxGroup(props = {}) {
|
|
|
104
99
|
};
|
|
105
100
|
});
|
|
106
101
|
}
|
|
107
|
-
|
|
108
102
|
//#endregion
|
|
109
103
|
//#region src/components/checkbox/use-checkbox-group-context.tsx
|
|
110
104
|
const [CheckboxGroupContextProvider, useCheckboxGroupContext] = createContext$1({
|
|
@@ -112,7 +106,6 @@ const [CheckboxGroupContextProvider, useCheckboxGroupContext] = createContext$1(
|
|
|
112
106
|
providerName: "<CheckboxGroupProvider />",
|
|
113
107
|
strict: false
|
|
114
108
|
});
|
|
115
|
-
|
|
116
109
|
//#endregion
|
|
117
110
|
//#region src/components/checkbox/checkbox-group.tsx
|
|
118
111
|
const CheckboxGroup = (props) => {
|
|
@@ -132,7 +125,6 @@ const CheckboxGroup = (props) => {
|
|
|
132
125
|
}
|
|
133
126
|
});
|
|
134
127
|
};
|
|
135
|
-
|
|
136
128
|
//#endregion
|
|
137
129
|
//#region src/components/checkbox/checkbox-group-provider.tsx
|
|
138
130
|
const CheckboxGroupProvider = (props) => {
|
|
@@ -146,7 +138,6 @@ const CheckboxGroupProvider = (props) => {
|
|
|
146
138
|
}
|
|
147
139
|
});
|
|
148
140
|
};
|
|
149
|
-
|
|
150
141
|
//#endregion
|
|
151
142
|
//#region src/components/checkbox/checkbox-hidden-input.tsx
|
|
152
143
|
const CheckboxHiddenInput = (props) => {
|
|
@@ -157,7 +148,6 @@ const CheckboxHiddenInput = (props) => {
|
|
|
157
148
|
return field?.().ariaDescribedby;
|
|
158
149
|
} }, mergedProps));
|
|
159
150
|
};
|
|
160
|
-
|
|
161
151
|
//#endregion
|
|
162
152
|
//#region src/components/checkbox/checkbox-indicator.tsx
|
|
163
153
|
const CheckboxIndicator = (props) => {
|
|
@@ -168,7 +158,6 @@ const CheckboxIndicator = (props) => {
|
|
|
168
158
|
return !(indicatorProps.indeterminate ? checkbox().indeterminate : checkbox().checked);
|
|
169
159
|
} }));
|
|
170
160
|
};
|
|
171
|
-
|
|
172
161
|
//#endregion
|
|
173
162
|
//#region src/components/checkbox/checkbox-label.tsx
|
|
174
163
|
const CheckboxLabel = (props) => {
|
|
@@ -176,7 +165,6 @@ const CheckboxLabel = (props) => {
|
|
|
176
165
|
const mergedProps = mergeProps$2(() => checkbox().getLabelProps(), props);
|
|
177
166
|
return createComponent(sprawlify.span, mergedProps);
|
|
178
167
|
};
|
|
179
|
-
|
|
180
168
|
//#endregion
|
|
181
169
|
//#region src/components/checkbox/use-checkbox.ts
|
|
182
170
|
const useCheckbox = (ownProps = {}) => {
|
|
@@ -206,7 +194,6 @@ const useCheckbox = (ownProps = {}) => {
|
|
|
206
194
|
const service = useMachine(checkbox.machine, machineProps);
|
|
207
195
|
return createMemo(() => checkbox.connect(service, normalizeProps));
|
|
208
196
|
};
|
|
209
|
-
|
|
210
197
|
//#endregion
|
|
211
198
|
//#region src/components/checkbox/checkbox-root.tsx
|
|
212
199
|
const CheckboxRoot = (props) => {
|
|
@@ -233,7 +220,6 @@ const CheckboxRoot = (props) => {
|
|
|
233
220
|
}
|
|
234
221
|
});
|
|
235
222
|
};
|
|
236
|
-
|
|
237
223
|
//#endregion
|
|
238
224
|
//#region src/components/checkbox/checkbox-root-provider.tsx
|
|
239
225
|
const CheckboxRootProvider = (props) => {
|
|
@@ -246,7 +232,6 @@ const CheckboxRootProvider = (props) => {
|
|
|
246
232
|
}
|
|
247
233
|
});
|
|
248
234
|
};
|
|
249
|
-
|
|
250
235
|
//#endregion
|
|
251
236
|
//#region src/components/checkbox/checkbox.ts
|
|
252
237
|
var checkbox_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -260,6 +245,5 @@ var checkbox_exports = /* @__PURE__ */ __exportAll({
|
|
|
260
245
|
Root: () => CheckboxRoot,
|
|
261
246
|
RootProvider: () => CheckboxRootProvider
|
|
262
247
|
});
|
|
263
|
-
|
|
264
248
|
//#endregion
|
|
265
|
-
export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxGroupProvider, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext };
|
|
249
|
+
export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxGroupProvider, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext };
|
|
@@ -1,27 +1,24 @@
|
|
|
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 { u as useFieldsetContext } from "../../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 { u as useFieldsetContext } from "../../fieldset-D3jChLai.jsx";
|
|
10
|
+
import { m as useFieldContext } from "../../field-DujBK584.jsx";
|
|
11
11
|
import { createMemo, createSignal, createUniqueId, untrack } from "solid-js";
|
|
12
12
|
import * as checkbox from "@sprawlify/primitives/machines/checkbox";
|
|
13
13
|
import { anatomy } from "@sprawlify/primitives/machines/checkbox";
|
|
14
|
-
|
|
15
14
|
//#region src/components/checkbox/use-checkbox-context.ts
|
|
16
15
|
const [CheckboxProvider, useCheckboxContext] = createContext$1({
|
|
17
16
|
hookName: "useCheckboxContext",
|
|
18
17
|
providerName: "<CheckboxProvider />"
|
|
19
18
|
});
|
|
20
|
-
|
|
21
19
|
//#endregion
|
|
22
20
|
//#region src/components/checkbox/checkbox-context.tsx
|
|
23
21
|
const CheckboxContext = (props) => props.children(useCheckboxContext());
|
|
24
|
-
|
|
25
22
|
//#endregion
|
|
26
23
|
//#region src/components/checkbox/checkbox-control.tsx
|
|
27
24
|
const CheckboxControl = (props) => {
|
|
@@ -29,11 +26,9 @@ const CheckboxControl = (props) => {
|
|
|
29
26
|
const mergedProps = mergeProps$1(() => checkbox().getControlProps(), props);
|
|
30
27
|
return <sprawlify.div {...mergedProps} />;
|
|
31
28
|
};
|
|
32
|
-
|
|
33
29
|
//#endregion
|
|
34
30
|
//#region src/components/checkbox/checkbox-anatomy.ts
|
|
35
31
|
const checkboxAnatomy = anatomy.extendWith("group");
|
|
36
|
-
|
|
37
32
|
//#endregion
|
|
38
33
|
//#region src/utils/use-controllable-state.ts
|
|
39
34
|
function useControllableState(props) {
|
|
@@ -50,7 +45,6 @@ function useControllableState(props) {
|
|
|
50
45
|
};
|
|
51
46
|
return [currentValue, setValue];
|
|
52
47
|
}
|
|
53
|
-
|
|
54
48
|
//#endregion
|
|
55
49
|
//#region src/components/checkbox/use-checkbox-group.ts
|
|
56
50
|
function useCheckboxGroup(props = {}) {
|
|
@@ -105,7 +99,6 @@ function useCheckboxGroup(props = {}) {
|
|
|
105
99
|
};
|
|
106
100
|
});
|
|
107
101
|
}
|
|
108
|
-
|
|
109
102
|
//#endregion
|
|
110
103
|
//#region src/components/checkbox/use-checkbox-group-context.tsx
|
|
111
104
|
const [CheckboxGroupContextProvider, useCheckboxGroupContext] = createContext$1({
|
|
@@ -113,7 +106,6 @@ const [CheckboxGroupContextProvider, useCheckboxGroupContext] = createContext$1(
|
|
|
113
106
|
providerName: "<CheckboxGroupProvider />",
|
|
114
107
|
strict: false
|
|
115
108
|
});
|
|
116
|
-
|
|
117
109
|
//#endregion
|
|
118
110
|
//#region src/components/checkbox/checkbox-group.tsx
|
|
119
111
|
const CheckboxGroup = (props) => {
|
|
@@ -131,7 +123,6 @@ const CheckboxGroup = (props) => {
|
|
|
131
123
|
<sprawlify.div role="group" {...localProps} {...checkboxAnatomy.build().group.attrs} />
|
|
132
124
|
</CheckboxGroupContextProvider>;
|
|
133
125
|
};
|
|
134
|
-
|
|
135
126
|
//#endregion
|
|
136
127
|
//#region src/components/checkbox/checkbox-group-provider.tsx
|
|
137
128
|
const CheckboxGroupProvider = (props) => {
|
|
@@ -140,7 +131,6 @@ const CheckboxGroupProvider = (props) => {
|
|
|
140
131
|
<sprawlify.div role="group" {...restProps} {...checkboxAnatomy.build().group.attrs} />
|
|
141
132
|
</CheckboxGroupContextProvider>;
|
|
142
133
|
};
|
|
143
|
-
|
|
144
134
|
//#endregion
|
|
145
135
|
//#region src/components/checkbox/checkbox-hidden-input.tsx
|
|
146
136
|
const CheckboxHiddenInput = (props) => {
|
|
@@ -149,7 +139,6 @@ const CheckboxHiddenInput = (props) => {
|
|
|
149
139
|
const field = useFieldContext();
|
|
150
140
|
return <sprawlify.input aria-describedby={field?.().ariaDescribedby} {...mergedProps} />;
|
|
151
141
|
};
|
|
152
|
-
|
|
153
142
|
//#endregion
|
|
154
143
|
//#region src/components/checkbox/checkbox-indicator.tsx
|
|
155
144
|
const CheckboxIndicator = (props) => {
|
|
@@ -158,7 +147,6 @@ const CheckboxIndicator = (props) => {
|
|
|
158
147
|
const mergedProps = mergeProps$1(() => checkbox().getIndicatorProps(), localProps);
|
|
159
148
|
return <sprawlify.div {...mergedProps} hidden={!(indicatorProps.indeterminate ? checkbox().indeterminate : checkbox().checked)} />;
|
|
160
149
|
};
|
|
161
|
-
|
|
162
150
|
//#endregion
|
|
163
151
|
//#region src/components/checkbox/checkbox-label.tsx
|
|
164
152
|
const CheckboxLabel = (props) => {
|
|
@@ -166,7 +154,6 @@ const CheckboxLabel = (props) => {
|
|
|
166
154
|
const mergedProps = mergeProps$1(() => checkbox().getLabelProps(), props);
|
|
167
155
|
return <sprawlify.span {...mergedProps} />;
|
|
168
156
|
};
|
|
169
|
-
|
|
170
157
|
//#endregion
|
|
171
158
|
//#region src/components/checkbox/use-checkbox.ts
|
|
172
159
|
const useCheckbox = (ownProps = {}) => {
|
|
@@ -196,7 +183,6 @@ const useCheckbox = (ownProps = {}) => {
|
|
|
196
183
|
const service = useMachine(checkbox.machine, machineProps);
|
|
197
184
|
return createMemo(() => checkbox.connect(service, normalizeProps));
|
|
198
185
|
};
|
|
199
|
-
|
|
200
186
|
//#endregion
|
|
201
187
|
//#region src/components/checkbox/checkbox-root.tsx
|
|
202
188
|
const CheckboxRoot = (props) => {
|
|
@@ -220,7 +206,6 @@ const CheckboxRoot = (props) => {
|
|
|
220
206
|
<sprawlify.label {...mergedProps} />
|
|
221
207
|
</CheckboxProvider>;
|
|
222
208
|
};
|
|
223
|
-
|
|
224
209
|
//#endregion
|
|
225
210
|
//#region src/components/checkbox/checkbox-root-provider.tsx
|
|
226
211
|
const CheckboxRootProvider = (props) => {
|
|
@@ -230,7 +215,6 @@ const CheckboxRootProvider = (props) => {
|
|
|
230
215
|
<sprawlify.label {...mergedProps} />
|
|
231
216
|
</CheckboxProvider>;
|
|
232
217
|
};
|
|
233
|
-
|
|
234
218
|
//#endregion
|
|
235
219
|
//#region src/components/checkbox/checkbox.ts
|
|
236
220
|
var checkbox_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -244,6 +228,5 @@ var checkbox_exports = /* @__PURE__ */ __exportAll({
|
|
|
244
228
|
Root: () => CheckboxRoot,
|
|
245
229
|
RootProvider: () => CheckboxRootProvider
|
|
246
230
|
});
|
|
247
|
-
|
|
248
231
|
//#endregion
|
|
249
|
-
export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxGroupProvider, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext };
|
|
232
|
+
export { checkbox_exports as Checkbox, CheckboxContext, CheckboxControl, CheckboxGroup, CheckboxGroupProvider, CheckboxHiddenInput, CheckboxIndicator, CheckboxLabel, CheckboxRoot, CheckboxRootProvider, checkboxAnatomy, useCheckbox, useCheckboxContext, useCheckboxGroup, useCheckboxGroupContext };
|