@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,20 +1,18 @@
|
|
|
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 { createMemo, createUniqueId } from "solid-js";
|
|
9
9
|
import * as steps from "@sprawlify/primitives/machines/steps";
|
|
10
10
|
import { anatomy as stepsAnatomy } from "@sprawlify/primitives/machines/steps";
|
|
11
|
-
|
|
12
11
|
//#region src/components/steps/use-steps-context.ts
|
|
13
12
|
const [StepsProvider, useStepsContext] = createContext$1({
|
|
14
13
|
hookName: "useStepsContext",
|
|
15
14
|
providerName: "<StepsProvider />"
|
|
16
15
|
});
|
|
17
|
-
|
|
18
16
|
//#endregion
|
|
19
17
|
//#region src/components/steps/steps-completed-content.tsx
|
|
20
18
|
const StepsCompletedContent = (props) => {
|
|
@@ -22,7 +20,6 @@ const StepsCompletedContent = (props) => {
|
|
|
22
20
|
const mergedProps = mergeProps$1(() => steps().getContentProps({ index: steps().count }), props);
|
|
23
21
|
return <sprawlify.div {...mergedProps} />;
|
|
24
22
|
};
|
|
25
|
-
|
|
26
23
|
//#endregion
|
|
27
24
|
//#region src/components/steps/steps-content.tsx
|
|
28
25
|
const StepsContent = (props) => {
|
|
@@ -31,21 +28,18 @@ const StepsContent = (props) => {
|
|
|
31
28
|
const mergedProps = mergeProps$1(() => steps().getContentProps(itemProps), localProps);
|
|
32
29
|
return <sprawlify.div {...mergedProps} />;
|
|
33
30
|
};
|
|
34
|
-
|
|
35
31
|
//#endregion
|
|
36
32
|
//#region src/components/steps/steps-context.tsx
|
|
37
33
|
const StepsContext = (props) => {
|
|
38
34
|
const context = useStepsContext();
|
|
39
35
|
return props.children(context);
|
|
40
36
|
};
|
|
41
|
-
|
|
42
37
|
//#endregion
|
|
43
38
|
//#region src/components/steps/use-steps-item-props-context.ts
|
|
44
39
|
const [StepsItemPropsProvider, useStepsItemPropsContext] = createContext$1({
|
|
45
40
|
hookName: "useStepsItemPropsContext",
|
|
46
41
|
providerName: "<StepsItemPropsProvider />"
|
|
47
42
|
});
|
|
48
|
-
|
|
49
43
|
//#endregion
|
|
50
44
|
//#region src/components/steps/steps-indicator.tsx
|
|
51
45
|
const StepsIndicator = (props) => {
|
|
@@ -54,14 +48,12 @@ const StepsIndicator = (props) => {
|
|
|
54
48
|
const mergedProps = mergeProps$1(() => steps().getIndicatorProps(itemProps), props);
|
|
55
49
|
return <sprawlify.div {...mergedProps} />;
|
|
56
50
|
};
|
|
57
|
-
|
|
58
51
|
//#endregion
|
|
59
52
|
//#region src/components/steps/use-steps-item-context.ts
|
|
60
53
|
const [StepsItemProvider, useStepsItemContext] = createContext$1({
|
|
61
54
|
hookName: "useStepsItemContext",
|
|
62
55
|
providerName: "<StepsItem />"
|
|
63
56
|
});
|
|
64
|
-
|
|
65
57
|
//#endregion
|
|
66
58
|
//#region src/components/steps/steps-item.tsx
|
|
67
59
|
const StepsItem = (props) => {
|
|
@@ -75,14 +67,12 @@ const StepsItem = (props) => {
|
|
|
75
67
|
</StepsItemProvider>
|
|
76
68
|
</StepsItemPropsProvider>;
|
|
77
69
|
};
|
|
78
|
-
|
|
79
70
|
//#endregion
|
|
80
71
|
//#region src/components/steps/steps-item-context.tsx
|
|
81
72
|
const StepsItemContext = (props) => {
|
|
82
73
|
return props.children(useStepsItemContext());
|
|
83
74
|
};
|
|
84
75
|
StepsItemContext.displayName = "StepsItemContext";
|
|
85
|
-
|
|
86
76
|
//#endregion
|
|
87
77
|
//#region src/components/steps/steps-list.tsx
|
|
88
78
|
const StepsList = (props) => {
|
|
@@ -90,7 +80,6 @@ const StepsList = (props) => {
|
|
|
90
80
|
const mergedProps = mergeProps$1(() => steps().getListProps(), props);
|
|
91
81
|
return <sprawlify.div {...mergedProps} />;
|
|
92
82
|
};
|
|
93
|
-
|
|
94
83
|
//#endregion
|
|
95
84
|
//#region src/components/steps/steps-next-trigger.tsx
|
|
96
85
|
const StepsNextTrigger = (props) => {
|
|
@@ -98,7 +87,6 @@ const StepsNextTrigger = (props) => {
|
|
|
98
87
|
const mergedProps = mergeProps$1(() => steps().getNextTriggerProps(), props);
|
|
99
88
|
return <sprawlify.button {...mergedProps} />;
|
|
100
89
|
};
|
|
101
|
-
|
|
102
90
|
//#endregion
|
|
103
91
|
//#region src/components/steps/steps-prev-trigger.tsx
|
|
104
92
|
const StepsPrevTrigger = (props) => {
|
|
@@ -106,7 +94,6 @@ const StepsPrevTrigger = (props) => {
|
|
|
106
94
|
const mergedProps = mergeProps$1(() => steps().getPrevTriggerProps(), props);
|
|
107
95
|
return <sprawlify.button {...mergedProps} />;
|
|
108
96
|
};
|
|
109
|
-
|
|
110
97
|
//#endregion
|
|
111
98
|
//#region src/components/steps/steps-progress.tsx
|
|
112
99
|
const StepsProgress = (props) => {
|
|
@@ -114,7 +101,6 @@ const StepsProgress = (props) => {
|
|
|
114
101
|
const mergedProps = mergeProps$1(() => steps().getProgressProps(), props);
|
|
115
102
|
return <sprawlify.div {...mergedProps} />;
|
|
116
103
|
};
|
|
117
|
-
|
|
118
104
|
//#endregion
|
|
119
105
|
//#region src/components/steps/use-steps.ts
|
|
120
106
|
function useSteps(props) {
|
|
@@ -130,7 +116,6 @@ function useSteps(props) {
|
|
|
130
116
|
const service = useMachine(steps.machine, machineProps);
|
|
131
117
|
return createMemo(() => steps.connect(service, normalizeProps));
|
|
132
118
|
}
|
|
133
|
-
|
|
134
119
|
//#endregion
|
|
135
120
|
//#region src/components/steps/steps-root.tsx
|
|
136
121
|
const StepsRoot = (props) => {
|
|
@@ -154,7 +139,6 @@ const StepsRoot = (props) => {
|
|
|
154
139
|
<sprawlify.div {...mergedProps} />
|
|
155
140
|
</StepsProvider>;
|
|
156
141
|
};
|
|
157
|
-
|
|
158
142
|
//#endregion
|
|
159
143
|
//#region src/components/steps/steps-root-provider.tsx
|
|
160
144
|
const StepsRootProvider = (props) => {
|
|
@@ -164,7 +148,6 @@ const StepsRootProvider = (props) => {
|
|
|
164
148
|
<sprawlify.div {...mergedProps}>{props.children}</sprawlify.div>
|
|
165
149
|
</StepsProvider>;
|
|
166
150
|
};
|
|
167
|
-
|
|
168
151
|
//#endregion
|
|
169
152
|
//#region src/components/steps/steps-separator.tsx
|
|
170
153
|
const StepsSeparator = (props) => {
|
|
@@ -173,7 +156,6 @@ const StepsSeparator = (props) => {
|
|
|
173
156
|
const mergedProps = mergeProps$1(() => steps().getSeparatorProps(itemProps), props);
|
|
174
157
|
return <sprawlify.div {...mergedProps} />;
|
|
175
158
|
};
|
|
176
|
-
|
|
177
159
|
//#endregion
|
|
178
160
|
//#region src/components/steps/steps-trigger.tsx
|
|
179
161
|
const StepsTrigger = (props) => {
|
|
@@ -182,7 +164,6 @@ const StepsTrigger = (props) => {
|
|
|
182
164
|
const mergedProps = mergeProps$1(() => steps().getTriggerProps(itemProps), props);
|
|
183
165
|
return <sprawlify.button {...mergedProps} />;
|
|
184
166
|
};
|
|
185
|
-
|
|
186
167
|
//#endregion
|
|
187
168
|
//#region src/components/steps/steps.ts
|
|
188
169
|
var steps_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -201,6 +182,5 @@ var steps_exports = /* @__PURE__ */ __exportAll({
|
|
|
201
182
|
Separator: () => StepsSeparator,
|
|
202
183
|
Trigger: () => StepsTrigger
|
|
203
184
|
});
|
|
204
|
-
|
|
205
185
|
//#endregion
|
|
206
|
-
export { steps_exports as Steps, StepsCompletedContent, StepsContent, StepsContext, StepsIndicator, StepsItem, StepsItemContext, StepsList, StepsNextTrigger, StepsPrevTrigger, StepsProgress, StepsRoot, StepsRootProvider, StepsSeparator, StepsTrigger, stepsAnatomy, useSteps, useStepsContext, useStepsItemContext };
|
|
186
|
+
export { steps_exports as Steps, StepsCompletedContent, StepsContent, StepsContext, StepsIndicator, StepsItem, StepsItemContext, StepsList, StepsNextTrigger, StepsPrevTrigger, StepsProgress, StepsRoot, StepsRootProvider, StepsSeparator, StepsTrigger, stepsAnatomy, useSteps, useStepsContext, useStepsItemContext };
|
|
@@ -1,10 +1,11 @@
|
|
|
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-
|
|
1
|
+
import { n as PropTypes } from "../../index-Bnd2Fp7Q.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-C0L5xDeS.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-BxBlXUD3.js";
|
|
4
|
+
import { t as switchAnatomy } from "../../switch-anatomy-ChIrrzPM.js";
|
|
4
5
|
import * as solid_js0 from "solid-js";
|
|
5
6
|
import { Accessor, JSX } from "solid-js";
|
|
6
7
|
import * as sprawlifySwitch from "@sprawlify/primitives/machines/switch";
|
|
7
|
-
import { CheckedChangeDetails, CheckedChangeDetails as SwitchCheckedChangeDetails
|
|
8
|
+
import { CheckedChangeDetails, CheckedChangeDetails as SwitchCheckedChangeDetails } from "@sprawlify/primitives/machines/switch";
|
|
8
9
|
|
|
9
10
|
//#region src/components/switch/use-switch.d.ts
|
|
10
11
|
interface UseSwitchProps extends Optional<Omit<sprawlifySwitch.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -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 "../../field-anatomy-
|
|
8
|
-
import "../../fieldset-anatomy-
|
|
9
|
-
import { t as switchAnatomy } from "../../switch-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 switchAnatomy } from "../../switch-anatomy-D5Q54mGY.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 sprawlifySwitch from "@sprawlify/primitives/machines/switch";
|
|
17
|
-
|
|
18
17
|
//#region src/components/switch/use-switch-context.ts
|
|
19
18
|
const [SwitchProvider, useSwitchContext] = createContext$1({
|
|
20
19
|
hookName: "useSwitchContext",
|
|
21
20
|
providerName: "<SwitchProvider />"
|
|
22
21
|
});
|
|
23
|
-
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region src/components/switch/switch-context.tsx
|
|
26
24
|
const SwitchContext = (props) => props.children(useSwitchContext());
|
|
27
|
-
|
|
28
25
|
//#endregion
|
|
29
26
|
//#region src/components/switch/switch-control.tsx
|
|
30
27
|
const SwitchControl = (props) => {
|
|
@@ -32,7 +29,6 @@ const SwitchControl = (props) => {
|
|
|
32
29
|
const mergedProps = mergeProps$2(() => api().getControlProps(), props);
|
|
33
30
|
return createComponent(sprawlify.span, mergedProps);
|
|
34
31
|
};
|
|
35
|
-
|
|
36
32
|
//#endregion
|
|
37
33
|
//#region src/components/switch/switch-hidden-input.tsx
|
|
38
34
|
const SwitchHiddenInput = (props) => {
|
|
@@ -43,7 +39,6 @@ const SwitchHiddenInput = (props) => {
|
|
|
43
39
|
return field?.().ariaDescribedby;
|
|
44
40
|
} }, mergedProps));
|
|
45
41
|
};
|
|
46
|
-
|
|
47
42
|
//#endregion
|
|
48
43
|
//#region src/components/switch/switch-label.tsx
|
|
49
44
|
const SwitchLabel = (props) => {
|
|
@@ -51,7 +46,6 @@ const SwitchLabel = (props) => {
|
|
|
51
46
|
const mergedProps = mergeProps$2(() => api().getLabelProps(), props);
|
|
52
47
|
return createComponent(sprawlify.span, mergedProps);
|
|
53
48
|
};
|
|
54
|
-
|
|
55
49
|
//#endregion
|
|
56
50
|
//#region src/components/switch/use-switch.ts
|
|
57
51
|
const useSwitch = (props) => {
|
|
@@ -76,7 +70,6 @@ const useSwitch = (props) => {
|
|
|
76
70
|
const service = useMachine(sprawlifySwitch.machine, machineProps);
|
|
77
71
|
return createMemo(() => sprawlifySwitch.connect(service, normalizeProps));
|
|
78
72
|
};
|
|
79
|
-
|
|
80
73
|
//#endregion
|
|
81
74
|
//#region src/components/switch/switch-root.tsx
|
|
82
75
|
const SwitchRoot = (props) => {
|
|
@@ -104,7 +97,6 @@ const SwitchRoot = (props) => {
|
|
|
104
97
|
}
|
|
105
98
|
});
|
|
106
99
|
};
|
|
107
|
-
|
|
108
100
|
//#endregion
|
|
109
101
|
//#region src/components/switch/switch-root-provider.tsx
|
|
110
102
|
const SwitchRootProvider = (props) => {
|
|
@@ -117,7 +109,6 @@ const SwitchRootProvider = (props) => {
|
|
|
117
109
|
}
|
|
118
110
|
});
|
|
119
111
|
};
|
|
120
|
-
|
|
121
112
|
//#endregion
|
|
122
113
|
//#region src/components/switch/switch-thumb.tsx
|
|
123
114
|
const SwitchThumb = (props) => {
|
|
@@ -125,7 +116,6 @@ const SwitchThumb = (props) => {
|
|
|
125
116
|
const mergedProps = mergeProps$2(() => api().getThumbProps(), props);
|
|
126
117
|
return createComponent(sprawlify.span, mergedProps);
|
|
127
118
|
};
|
|
128
|
-
|
|
129
119
|
//#endregion
|
|
130
120
|
//#region src/components/switch/switch.ts
|
|
131
121
|
var switch_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -137,6 +127,5 @@ var switch_exports = /* @__PURE__ */ __exportAll({
|
|
|
137
127
|
RootProvider: () => SwitchRootProvider,
|
|
138
128
|
Thumb: () => SwitchThumb
|
|
139
129
|
});
|
|
140
|
-
|
|
141
130
|
//#endregion
|
|
142
|
-
export { switch_exports as Switch, SwitchContext, SwitchControl, SwitchHiddenInput, SwitchLabel, SwitchRoot, SwitchRootProvider, SwitchThumb, switchAnatomy, useSwitch, useSwitchContext };
|
|
131
|
+
export { switch_exports as Switch, SwitchContext, SwitchControl, SwitchHiddenInput, SwitchLabel, SwitchRoot, SwitchRootProvider, SwitchThumb, switchAnatomy, useSwitch, useSwitchContext };
|
|
@@ -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 "../../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 sprawlifySwitch from "@sprawlify/primitives/machines/switch";
|
|
13
13
|
import { anatomy as switchAnatomy } from "@sprawlify/primitives/machines/switch";
|
|
14
|
-
|
|
15
14
|
//#region src/components/switch/use-switch-context.ts
|
|
16
15
|
const [SwitchProvider, useSwitchContext] = createContext$1({
|
|
17
16
|
hookName: "useSwitchContext",
|
|
18
17
|
providerName: "<SwitchProvider />"
|
|
19
18
|
});
|
|
20
|
-
|
|
21
19
|
//#endregion
|
|
22
20
|
//#region src/components/switch/switch-context.tsx
|
|
23
21
|
const SwitchContext = (props) => props.children(useSwitchContext());
|
|
24
|
-
|
|
25
22
|
//#endregion
|
|
26
23
|
//#region src/components/switch/switch-control.tsx
|
|
27
24
|
const SwitchControl = (props) => {
|
|
@@ -29,7 +26,6 @@ const SwitchControl = (props) => {
|
|
|
29
26
|
const mergedProps = mergeProps$1(() => api().getControlProps(), props);
|
|
30
27
|
return <sprawlify.span {...mergedProps} />;
|
|
31
28
|
};
|
|
32
|
-
|
|
33
29
|
//#endregion
|
|
34
30
|
//#region src/components/switch/switch-hidden-input.tsx
|
|
35
31
|
const SwitchHiddenInput = (props) => {
|
|
@@ -38,7 +34,6 @@ const SwitchHiddenInput = (props) => {
|
|
|
38
34
|
const field = useFieldContext();
|
|
39
35
|
return <sprawlify.input aria-describedby={field?.().ariaDescribedby} {...mergedProps} />;
|
|
40
36
|
};
|
|
41
|
-
|
|
42
37
|
//#endregion
|
|
43
38
|
//#region src/components/switch/switch-label.tsx
|
|
44
39
|
const SwitchLabel = (props) => {
|
|
@@ -46,7 +41,6 @@ const SwitchLabel = (props) => {
|
|
|
46
41
|
const mergedProps = mergeProps$1(() => api().getLabelProps(), props);
|
|
47
42
|
return <sprawlify.span {...mergedProps} />;
|
|
48
43
|
};
|
|
49
|
-
|
|
50
44
|
//#endregion
|
|
51
45
|
//#region src/components/switch/use-switch.ts
|
|
52
46
|
const useSwitch = (props) => {
|
|
@@ -71,7 +65,6 @@ const useSwitch = (props) => {
|
|
|
71
65
|
const service = useMachine(sprawlifySwitch.machine, machineProps);
|
|
72
66
|
return createMemo(() => sprawlifySwitch.connect(service, normalizeProps));
|
|
73
67
|
};
|
|
74
|
-
|
|
75
68
|
//#endregion
|
|
76
69
|
//#region src/components/switch/switch-root.tsx
|
|
77
70
|
const SwitchRoot = (props) => {
|
|
@@ -96,7 +89,6 @@ const SwitchRoot = (props) => {
|
|
|
96
89
|
<sprawlify.label {...mergedProps} />
|
|
97
90
|
</SwitchProvider>;
|
|
98
91
|
};
|
|
99
|
-
|
|
100
92
|
//#endregion
|
|
101
93
|
//#region src/components/switch/switch-root-provider.tsx
|
|
102
94
|
const SwitchRootProvider = (props) => {
|
|
@@ -106,7 +98,6 @@ const SwitchRootProvider = (props) => {
|
|
|
106
98
|
<sprawlify.label {...mergedProps} />
|
|
107
99
|
</SwitchProvider>;
|
|
108
100
|
};
|
|
109
|
-
|
|
110
101
|
//#endregion
|
|
111
102
|
//#region src/components/switch/switch-thumb.tsx
|
|
112
103
|
const SwitchThumb = (props) => {
|
|
@@ -114,7 +105,6 @@ const SwitchThumb = (props) => {
|
|
|
114
105
|
const mergedProps = mergeProps$1(() => api().getThumbProps(), props);
|
|
115
106
|
return <sprawlify.span {...mergedProps} />;
|
|
116
107
|
};
|
|
117
|
-
|
|
118
108
|
//#endregion
|
|
119
109
|
//#region src/components/switch/switch.ts
|
|
120
110
|
var switch_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -126,6 +116,5 @@ var switch_exports = /* @__PURE__ */ __exportAll({
|
|
|
126
116
|
RootProvider: () => SwitchRootProvider,
|
|
127
117
|
Thumb: () => SwitchThumb
|
|
128
118
|
});
|
|
129
|
-
|
|
130
119
|
//#endregion
|
|
131
|
-
export { switch_exports as Switch, SwitchContext, SwitchControl, SwitchHiddenInput, SwitchLabel, SwitchRoot, SwitchRootProvider, SwitchThumb, switchAnatomy, useSwitch, useSwitchContext };
|
|
120
|
+
export { switch_exports as Switch, SwitchContext, SwitchControl, SwitchHiddenInput, SwitchLabel, SwitchRoot, SwitchRootProvider, SwitchThumb, switchAnatomy, useSwitch, useSwitchContext };
|
|
@@ -1,31 +1,32 @@
|
|
|
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 { t as RenderStrategyProps } from "../../render-strategy-
|
|
5
|
-
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 RenderStrategyProps } from "../../render-strategy-RoCfkF8z.js";
|
|
5
|
+
import { t as tabsAnatomy } from "../../tabs-anatomy-Cx19UTVm.js";
|
|
6
|
+
import * as solid_js0 from "solid-js";
|
|
6
7
|
import { Accessor, JSX } from "solid-js";
|
|
7
8
|
import * as tabs from "@sprawlify/primitives/machines/tabs";
|
|
8
|
-
import { ContentProps, FocusChangeDetails, FocusChangeDetails as TabsFocusChangeDetails, TriggerProps, ValueChangeDetails, ValueChangeDetails as TabsValueChangeDetails
|
|
9
|
+
import { ContentProps, FocusChangeDetails, FocusChangeDetails as TabsFocusChangeDetails, TriggerProps, ValueChangeDetails, ValueChangeDetails as TabsValueChangeDetails } from "@sprawlify/primitives/machines/tabs";
|
|
9
10
|
|
|
10
11
|
//#region src/components/tabs/tab-content.d.ts
|
|
11
12
|
interface TabContentBaseProps extends ContentProps, PolymorphicProps<'div'> {}
|
|
12
13
|
interface TabContentProps extends HTMLProps<'div'>, TabContentBaseProps {}
|
|
13
|
-
declare const TabContent: (props: TabContentProps) =>
|
|
14
|
+
declare const TabContent: (props: TabContentProps) => solid_js0.JSX.Element;
|
|
14
15
|
//#endregion
|
|
15
16
|
//#region src/components/tabs/tab-indicator.d.ts
|
|
16
17
|
interface TabIndicatorBaseProps extends PolymorphicProps<'div'> {}
|
|
17
18
|
interface TabIndicatorProps extends HTMLProps<'div'>, TabIndicatorBaseProps {}
|
|
18
|
-
declare const TabIndicator: (props: TabIndicatorProps) =>
|
|
19
|
+
declare const TabIndicator: (props: TabIndicatorProps) => solid_js0.JSX.Element;
|
|
19
20
|
//#endregion
|
|
20
21
|
//#region src/components/tabs/tab-list.d.ts
|
|
21
22
|
interface TabListBaseProps extends PolymorphicProps<'div'> {}
|
|
22
23
|
interface TabListProps extends HTMLProps<'div'>, TabListBaseProps {}
|
|
23
|
-
declare const TabList: (props: TabListProps) =>
|
|
24
|
+
declare const TabList: (props: TabListProps) => solid_js0.JSX.Element;
|
|
24
25
|
//#endregion
|
|
25
26
|
//#region src/components/tabs/tab-trigger.d.ts
|
|
26
27
|
interface TabTriggerBaseProps extends TriggerProps, PolymorphicProps<'button'> {}
|
|
27
28
|
interface TabTriggerProps extends Assign<HTMLProps<'button'>, TabTriggerBaseProps> {}
|
|
28
|
-
declare const TabTrigger: (props: TabTriggerProps) =>
|
|
29
|
+
declare const TabTrigger: (props: TabTriggerProps) => solid_js0.JSX.Element;
|
|
29
30
|
//#endregion
|
|
30
31
|
//#region src/components/tabs/use-tabs.d.ts
|
|
31
32
|
interface UseTabsProps extends Optional<Omit<tabs.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -44,7 +45,7 @@ declare const TabsContext: (props: TabsContextProps) => JSX.Element;
|
|
|
44
45
|
//#region src/components/tabs/tabs-root.d.ts
|
|
45
46
|
interface TabsRootBaseProps extends UseTabsProps, RenderStrategyProps, PolymorphicProps<'div'> {}
|
|
46
47
|
interface TabsRootProps extends HTMLProps<'div'>, TabsRootBaseProps {}
|
|
47
|
-
declare const TabsRoot: (props: TabsRootProps) =>
|
|
48
|
+
declare const TabsRoot: (props: TabsRootProps) => solid_js0.JSX.Element;
|
|
48
49
|
//#endregion
|
|
49
50
|
//#region src/components/tabs/tabs-root-provider.d.ts
|
|
50
51
|
interface RootProviderProps {
|
|
@@ -52,7 +53,7 @@ interface RootProviderProps {
|
|
|
52
53
|
}
|
|
53
54
|
interface TabsRootProviderBaseProps extends RootProviderProps, RenderStrategyProps, PolymorphicProps<'div'> {}
|
|
54
55
|
interface TabsRootProviderProps extends HTMLProps<'div'>, TabsRootProviderBaseProps {}
|
|
55
|
-
declare const TabsRootProvider: (props: TabsRootProviderProps) =>
|
|
56
|
+
declare const TabsRootProvider: (props: TabsRootProviderProps) => solid_js0.JSX.Element;
|
|
56
57
|
declare namespace tabs_d_exports {
|
|
57
58
|
export { TabContent as Content, TabContentBaseProps as ContentBaseProps, TabContentProps as ContentProps, TabsContext as Context, TabsContextProps as ContextProps, FocusChangeDetails, TabIndicator as Indicator, TabIndicatorBaseProps as IndicatorBaseProps, TabIndicatorProps as IndicatorProps, TabList as List, TabListBaseProps as ListBaseProps, TabListProps as ListProps, TabsRoot as Root, TabsRootBaseProps as RootBaseProps, TabsRootProps as RootProps, TabsRootProvider as RootProvider, TabsRootProviderBaseProps as RootProviderBaseProps, TabsRootProviderProps as RootProviderProps, TabTrigger as Trigger, TabTriggerBaseProps as TriggerBaseProps, TabTriggerProps as TriggerProps, ValueChangeDetails };
|
|
58
59
|
}
|
|
@@ -1,24 +1,22 @@
|
|
|
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 tabsAnatomy } from "../../tabs-anatomy-
|
|
8
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
9
|
-
import { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-
|
|
10
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
11
|
-
import { i as usePresence, t as PresenceProvider } from "../../presence-
|
|
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 tabsAnatomy } from "../../tabs-anatomy-DU5e5PwZ.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-OE-yOtGc.js";
|
|
9
|
+
import { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-BAqQL-Hs.js";
|
|
10
|
+
import { t as composeRefs } from "../../compose-refs-BKcaHXR8.js";
|
|
11
|
+
import { i as usePresence, t as PresenceProvider } from "../../presence-CuZG4SWb.js";
|
|
12
12
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
13
13
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
14
14
|
import * as tabs from "@sprawlify/primitives/machines/tabs";
|
|
15
|
-
|
|
16
15
|
//#region src/components/tabs/use-tabs-context.ts
|
|
17
16
|
const [TabsProvider, useTabsContext] = createContext$1({
|
|
18
17
|
hookName: "useTabsContext",
|
|
19
18
|
providerName: "<TabsProvider />"
|
|
20
19
|
});
|
|
21
|
-
|
|
22
20
|
//#endregion
|
|
23
21
|
//#region src/components/tabs/tab-content.tsx
|
|
24
22
|
const TabContent = (props) => {
|
|
@@ -46,7 +44,6 @@ const TabContent = (props) => {
|
|
|
46
44
|
}
|
|
47
45
|
});
|
|
48
46
|
};
|
|
49
|
-
|
|
50
47
|
//#endregion
|
|
51
48
|
//#region src/components/tabs/tab-indicator.tsx
|
|
52
49
|
const TabIndicator = (props) => {
|
|
@@ -54,7 +51,6 @@ const TabIndicator = (props) => {
|
|
|
54
51
|
const mergedProps = mergeProps$2(() => api().getIndicatorProps(), props);
|
|
55
52
|
return createComponent(sprawlify.div, mergedProps);
|
|
56
53
|
};
|
|
57
|
-
|
|
58
54
|
//#endregion
|
|
59
55
|
//#region src/components/tabs/tab-list.tsx
|
|
60
56
|
const TabList = (props) => {
|
|
@@ -62,7 +58,6 @@ const TabList = (props) => {
|
|
|
62
58
|
const mergedProps = mergeProps$2(() => api().getListProps(), props);
|
|
63
59
|
return createComponent(sprawlify.div, mergedProps);
|
|
64
60
|
};
|
|
65
|
-
|
|
66
61
|
//#endregion
|
|
67
62
|
//#region src/components/tabs/tab-trigger.tsx
|
|
68
63
|
const TabTrigger = (props) => {
|
|
@@ -71,11 +66,9 @@ const TabTrigger = (props) => {
|
|
|
71
66
|
const mergedProps = mergeProps$2(() => api().getTriggerProps(triggerProps), localProps);
|
|
72
67
|
return createComponent(sprawlify.button, mergedProps);
|
|
73
68
|
};
|
|
74
|
-
|
|
75
69
|
//#endregion
|
|
76
70
|
//#region src/components/tabs/tabs-context.tsx
|
|
77
71
|
const TabsContext = (props) => props.children(useTabsContext());
|
|
78
|
-
|
|
79
72
|
//#endregion
|
|
80
73
|
//#region src/components/tabs/use-tabs.ts
|
|
81
74
|
const useTabs = (props) => {
|
|
@@ -91,7 +84,6 @@ const useTabs = (props) => {
|
|
|
91
84
|
const service = useMachine(tabs.machine, machineProps);
|
|
92
85
|
return createMemo(() => tabs.connect(service, normalizeProps));
|
|
93
86
|
};
|
|
94
|
-
|
|
95
87
|
//#endregion
|
|
96
88
|
//#region src/components/tabs/tabs-root.tsx
|
|
97
89
|
const TabsRoot = (props) => {
|
|
@@ -125,7 +117,6 @@ const TabsRoot = (props) => {
|
|
|
125
117
|
}
|
|
126
118
|
});
|
|
127
119
|
};
|
|
128
|
-
|
|
129
120
|
//#endregion
|
|
130
121
|
//#region src/components/tabs/tabs-root-provider.tsx
|
|
131
122
|
const TabsRootProvider = (props) => {
|
|
@@ -144,7 +135,6 @@ const TabsRootProvider = (props) => {
|
|
|
144
135
|
}
|
|
145
136
|
});
|
|
146
137
|
};
|
|
147
|
-
|
|
148
138
|
//#endregion
|
|
149
139
|
//#region src/components/tabs/tabs.ts
|
|
150
140
|
var tabs_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -156,6 +146,5 @@ var tabs_exports = /* @__PURE__ */ __exportAll({
|
|
|
156
146
|
RootProvider: () => TabsRootProvider,
|
|
157
147
|
Trigger: () => TabTrigger
|
|
158
148
|
});
|
|
159
|
-
|
|
160
149
|
//#endregion
|
|
161
|
-
export { TabContent, TabIndicator, TabList, TabTrigger, tabs_exports as Tabs, TabsContext, TabsRoot, TabsRootProvider, tabsAnatomy, useTabs, useTabsContext };
|
|
150
|
+
export { TabContent, TabIndicator, TabList, TabTrigger, tabs_exports as Tabs, TabsContext, TabsRoot, TabsRootProvider, tabsAnatomy, useTabs, useTabsContext };
|
|
@@ -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 { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-
|
|
9
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
10
|
-
import { i as usePresence, t as PresenceProvider } from "../../presence-
|
|
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 { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-6LT04Ztx.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-Jq47jedK.jsx";
|
|
10
|
+
import { i as usePresence, t as PresenceProvider } from "../../presence-BcYjLSBT.jsx";
|
|
11
11
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as tabs from "@sprawlify/primitives/machines/tabs";
|
|
13
13
|
import { anatomy as tabsAnatomy } from "@sprawlify/primitives/machines/tabs";
|
|
14
|
-
|
|
15
14
|
//#region src/components/tabs/use-tabs-context.ts
|
|
16
15
|
const [TabsProvider, useTabsContext] = createContext$1({
|
|
17
16
|
hookName: "useTabsContext",
|
|
18
17
|
providerName: "<TabsProvider />"
|
|
19
18
|
});
|
|
20
|
-
|
|
21
19
|
//#endregion
|
|
22
20
|
//#region src/components/tabs/tab-content.tsx
|
|
23
21
|
const TabContent = (props) => {
|
|
@@ -34,7 +32,6 @@ const TabContent = (props) => {
|
|
|
34
32
|
</Show>
|
|
35
33
|
</PresenceProvider>;
|
|
36
34
|
};
|
|
37
|
-
|
|
38
35
|
//#endregion
|
|
39
36
|
//#region src/components/tabs/tab-indicator.tsx
|
|
40
37
|
const TabIndicator = (props) => {
|
|
@@ -42,7 +39,6 @@ const TabIndicator = (props) => {
|
|
|
42
39
|
const mergedProps = mergeProps$1(() => api().getIndicatorProps(), props);
|
|
43
40
|
return <sprawlify.div {...mergedProps} />;
|
|
44
41
|
};
|
|
45
|
-
|
|
46
42
|
//#endregion
|
|
47
43
|
//#region src/components/tabs/tab-list.tsx
|
|
48
44
|
const TabList = (props) => {
|
|
@@ -50,7 +46,6 @@ const TabList = (props) => {
|
|
|
50
46
|
const mergedProps = mergeProps$1(() => api().getListProps(), props);
|
|
51
47
|
return <sprawlify.div {...mergedProps} />;
|
|
52
48
|
};
|
|
53
|
-
|
|
54
49
|
//#endregion
|
|
55
50
|
//#region src/components/tabs/tab-trigger.tsx
|
|
56
51
|
const TabTrigger = (props) => {
|
|
@@ -59,11 +54,9 @@ const TabTrigger = (props) => {
|
|
|
59
54
|
const mergedProps = mergeProps$1(() => api().getTriggerProps(triggerProps), localProps);
|
|
60
55
|
return <sprawlify.button {...mergedProps} />;
|
|
61
56
|
};
|
|
62
|
-
|
|
63
57
|
//#endregion
|
|
64
58
|
//#region src/components/tabs/tabs-context.tsx
|
|
65
59
|
const TabsContext = (props) => props.children(useTabsContext());
|
|
66
|
-
|
|
67
60
|
//#endregion
|
|
68
61
|
//#region src/components/tabs/use-tabs.ts
|
|
69
62
|
const useTabs = (props) => {
|
|
@@ -79,7 +72,6 @@ const useTabs = (props) => {
|
|
|
79
72
|
const service = useMachine(tabs.machine, machineProps);
|
|
80
73
|
return createMemo(() => tabs.connect(service, normalizeProps));
|
|
81
74
|
};
|
|
82
|
-
|
|
83
75
|
//#endregion
|
|
84
76
|
//#region src/components/tabs/tabs-root.tsx
|
|
85
77
|
const TabsRoot = (props) => {
|
|
@@ -107,7 +99,6 @@ const TabsRoot = (props) => {
|
|
|
107
99
|
</RenderStrategyProvider>
|
|
108
100
|
</TabsProvider>;
|
|
109
101
|
};
|
|
110
|
-
|
|
111
102
|
//#endregion
|
|
112
103
|
//#region src/components/tabs/tabs-root-provider.tsx
|
|
113
104
|
const TabsRootProvider = (props) => {
|
|
@@ -120,7 +111,6 @@ const TabsRootProvider = (props) => {
|
|
|
120
111
|
</RenderStrategyProvider>
|
|
121
112
|
</TabsProvider>;
|
|
122
113
|
};
|
|
123
|
-
|
|
124
114
|
//#endregion
|
|
125
115
|
//#region src/components/tabs/tabs.ts
|
|
126
116
|
var tabs_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -132,6 +122,5 @@ var tabs_exports = /* @__PURE__ */ __exportAll({
|
|
|
132
122
|
RootProvider: () => TabsRootProvider,
|
|
133
123
|
Trigger: () => TabTrigger
|
|
134
124
|
});
|
|
135
|
-
|
|
136
125
|
//#endregion
|
|
137
|
-
export { TabContent, TabIndicator, TabList, TabTrigger, tabs_exports as Tabs, TabsContext, TabsRoot, TabsRootProvider, tabsAnatomy, useTabs, useTabsContext };
|
|
126
|
+
export { TabContent, TabIndicator, TabList, TabTrigger, tabs_exports as Tabs, TabsContext, TabsRoot, TabsRootProvider, tabsAnatomy, useTabs, useTabsContext };
|