@sprawlify/solid 0.0.62 → 0.0.63
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/{carousel-anatomy-0uSYIDdX.d.ts → carousel-anatomy-DvXR8orA.d.ts} +1 -1
- package/dist/{collapsible-D505WU0f.jsx → collapsible-BfQjngkz.jsx} +13 -13
- package/dist/{collapsible-DXcvkHVS.js → collapsible-BhGN1nX_.js} +13 -13
- package/dist/{collection-B4akimO8.js → collection-Cr3_-Nj9.js} +6 -6
- package/dist/{collection-U31wYVYu.jsx → collection-DXodYZZC.jsx} +6 -6
- package/dist/color-picker-anatomy-BQ9ZRrH_.d.ts +6 -0
- package/dist/combobox-anatomy-Pfygk88q.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +12 -13
- package/dist/components/accordion/index.js +23 -24
- package/dist/components/accordion/index.jsx +22 -22
- package/dist/components/anatomy.d.ts +49 -49
- package/dist/components/anatomy.js +49 -49
- package/dist/components/angle-slider/index.d.ts +14 -15
- package/dist/components/angle-slider/index.js +11 -11
- package/dist/components/angle-slider/index.jsx +10 -10
- package/dist/components/avatar/index.d.ts +9 -10
- package/dist/components/avatar/index.js +11 -11
- package/dist/components/avatar/index.jsx +10 -10
- package/dist/components/bottom-sheet/index.d.ts +14 -15
- package/dist/components/bottom-sheet/index.js +27 -27
- package/dist/components/bottom-sheet/index.jsx +26 -26
- package/dist/components/carousel/index.d.ts +19 -16
- package/dist/components/carousel/index.js +11 -11
- package/dist/components/carousel/index.jsx +10 -10
- package/dist/components/checkbox/index.d.ts +16 -13
- package/dist/components/checkbox/index.js +28 -28
- package/dist/components/checkbox/index.jsx +25 -25
- package/dist/components/clipboard/index.d.ts +12 -13
- package/dist/components/clipboard/index.js +11 -11
- package/dist/components/clipboard/index.jsx +10 -10
- package/dist/components/collapsible/index.d.ts +11 -12
- package/dist/components/collapsible/index.js +8 -8
- package/dist/components/collapsible/index.jsx +7 -7
- package/dist/components/collection/index.d.ts +2 -2
- package/dist/components/collection/index.js +2 -2
- package/dist/components/collection/index.jsx +2 -2
- package/dist/components/color-picker/index.d.ts +38 -35
- package/dist/components/color-picker/index.js +32 -32
- package/dist/components/color-picker/index.jsx +29 -29
- package/dist/components/combobox/index.d.ts +25 -22
- package/dist/components/combobox/index.js +40 -40
- package/dist/components/combobox/index.jsx +37 -37
- package/dist/components/date-picker/index.d.ts +35 -32
- package/dist/components/date-picker/index.js +23 -23
- package/dist/components/date-picker/index.jsx +22 -22
- package/dist/components/dialog/index.d.ts +14 -15
- package/dist/components/dialog/index.js +17 -17
- package/dist/components/dialog/index.jsx +16 -16
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/download-trigger/index.js +4 -4
- package/dist/components/download-trigger/index.jsx +4 -4
- package/dist/components/editable/index.d.ts +15 -16
- package/dist/components/editable/index.js +16 -16
- package/dist/components/editable/index.jsx +13 -13
- package/dist/components/field/index.d.ts +17 -14
- package/dist/components/field/index.js +10 -10
- package/dist/components/field/index.jsx +8 -8
- package/dist/components/fieldset/index.d.ts +14 -11
- package/dist/components/fieldset/index.js +8 -8
- package/dist/components/fieldset/index.jsx +7 -7
- package/dist/components/file-upload/index.d.ts +19 -20
- package/dist/components/file-upload/index.js +45 -45
- package/dist/components/file-upload/index.jsx +42 -42
- package/dist/components/floating-panel/index.d.ts +18 -19
- package/dist/components/floating-panel/index.js +36 -36
- package/dist/components/floating-panel/index.jsx +35 -35
- package/dist/components/focus-trap/index.d.ts +4 -4
- package/dist/components/focus-trap/index.js +4 -4
- package/dist/components/focus-trap/index.jsx +4 -4
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/format/index.js +3 -3
- package/dist/components/format/index.jsx +3 -3
- package/dist/components/frame/index.d.ts +1 -1
- package/dist/components/frame/index.js +6 -6
- package/dist/components/frame/index.jsx +6 -6
- package/dist/components/highlight/index.d.ts +3 -3
- package/dist/components/highlight/index.js +2 -2
- package/dist/components/highlight/index.jsx +2 -2
- package/dist/components/hover-card/index.d.ts +12 -13
- package/dist/components/hover-card/index.js +17 -17
- package/dist/components/hover-card/index.jsx +16 -16
- package/dist/components/image-cropper/index.d.ts +12 -13
- package/dist/components/image-cropper/index.js +11 -11
- package/dist/components/image-cropper/index.jsx +10 -10
- package/dist/components/json-tree-view/index.d.ts +6 -7
- package/dist/components/json-tree-view/index.js +12 -14
- package/dist/components/json-tree-view/index.jsx +12 -12
- package/dist/components/listbox/index.d.ts +20 -17
- package/dist/components/listbox/index.js +37 -37
- package/dist/components/listbox/index.jsx +36 -36
- package/dist/components/marquee/index.d.ts +10 -11
- package/dist/components/marquee/index.js +11 -11
- package/dist/components/marquee/index.jsx +10 -10
- package/dist/components/menu/index.d.ts +26 -27
- package/dist/components/menu/index.js +22 -22
- package/dist/components/menu/index.jsx +21 -21
- package/dist/components/navigation-menu/index.d.ts +18 -19
- package/dist/components/navigation-menu/index.js +14 -14
- package/dist/components/navigation-menu/index.jsx +13 -13
- package/dist/components/number-input/index.d.ts +14 -15
- package/dist/components/number-input/index.js +18 -18
- package/dist/components/number-input/index.jsx +15 -15
- package/dist/components/pagination/index.d.ts +13 -14
- package/dist/components/pagination/index.js +11 -11
- package/dist/components/pagination/index.jsx +10 -10
- package/dist/components/password-input/index.d.ts +10 -11
- package/dist/components/password-input/index.js +27 -27
- package/dist/components/password-input/index.jsx +24 -24
- package/dist/components/pin-input/index.d.ts +11 -12
- package/dist/components/pin-input/index.js +21 -21
- package/dist/components/pin-input/index.jsx +18 -18
- package/dist/components/popover/index.d.ts +17 -18
- package/dist/components/popover/index.js +17 -17
- package/dist/components/popover/index.jsx +16 -16
- package/dist/components/presence/index.d.ts +4 -4
- package/dist/components/presence/index.js +7 -7
- package/dist/components/presence/index.jsx +7 -7
- package/dist/components/progress/index.d.ts +15 -16
- package/dist/components/progress/index.js +11 -11
- package/dist/components/progress/index.jsx +10 -10
- package/dist/components/qr-code/index.d.ts +11 -12
- package/dist/components/qr-code/index.js +19 -19
- package/dist/components/qr-code/index.jsx +18 -18
- package/dist/components/radio-group/index.d.ts +13 -14
- package/dist/components/radio-group/index.js +11 -11
- package/dist/components/radio-group/index.jsx +9 -9
- package/dist/components/rating-group/index.d.ts +11 -12
- package/dist/components/rating-group/index.js +20 -20
- package/dist/components/rating-group/index.jsx +17 -17
- package/dist/components/scroll-area/index.d.ts +12 -12
- package/dist/components/scroll-area/index.js +20 -20
- package/dist/components/scroll-area/index.jsx +19 -19
- package/dist/components/segment-group/index.d.ts +13 -13
- package/dist/components/segment-group/index.js +27 -27
- package/dist/components/segment-group/index.jsx +26 -26
- package/dist/components/select/index.d.ts +23 -23
- package/dist/components/select/index.js +61 -61
- package/dist/components/select/index.jsx +57 -57
- package/dist/components/signature-pad/index.d.ts +13 -13
- package/dist/components/signature-pad/index.js +35 -35
- package/dist/components/signature-pad/index.jsx +31 -31
- package/dist/components/slider/index.d.ts +17 -17
- package/dist/components/slider/index.js +18 -18
- package/dist/components/slider/index.jsx +17 -17
- package/dist/components/splitter/index.d.ts +10 -10
- package/dist/components/splitter/index.js +13 -13
- package/dist/components/splitter/index.jsx +12 -12
- package/dist/components/steps/index.d.ts +17 -17
- package/dist/components/steps/index.js +35 -35
- package/dist/components/steps/index.jsx +34 -34
- package/dist/components/switch/index.d.ts +11 -11
- package/dist/components/switch/index.js +13 -13
- package/dist/components/switch/index.jsx +10 -10
- package/dist/components/tabs/index.d.ts +12 -12
- package/dist/components/tabs/index.js +14 -14
- package/dist/components/tabs/index.jsx +13 -13
- package/dist/components/tags-input/index.d.ts +17 -17
- package/dist/components/tags-input/index.js +18 -18
- package/dist/components/tags-input/index.jsx +15 -15
- package/dist/components/timer/index.d.ts +12 -12
- package/dist/components/timer/index.js +25 -25
- package/dist/components/timer/index.jsx +24 -24
- package/dist/components/toast/index.d.ts +10 -10
- package/dist/components/toast/index.js +20 -20
- package/dist/components/toast/index.jsx +18 -18
- package/dist/components/toggle/index.d.ts +6 -6
- package/dist/components/toggle/index.js +12 -12
- package/dist/components/toggle/index.jsx +11 -11
- package/dist/components/toggle-group/index.d.ts +8 -8
- package/dist/components/toggle-group/index.js +11 -11
- package/dist/components/toggle-group/index.jsx +10 -10
- package/dist/components/tooltip/index.d.ts +12 -12
- package/dist/components/tooltip/index.js +13 -13
- package/dist/components/tooltip/index.jsx +12 -12
- package/dist/components/tour/index.d.ts +19 -19
- package/dist/components/tour/index.js +44 -44
- package/dist/components/tour/index.jsx +43 -43
- package/dist/components/tree-view/index.d.ts +7 -7
- package/dist/components/tree-view/index.js +10 -11
- package/dist/components/tree-view/index.jsx +9 -9
- package/dist/{core-BgpRwoCt.jsx → core-B6ixUkqg.jsx} +10 -10
- package/dist/{core-DlJdnFMg.js → core-Crxbs6Ki.js} +10 -10
- package/dist/{create-context-BpJ2IzPB.jsx → create-context-DGJ79e4Y.jsx} +4 -4
- package/dist/{create-context-BqG72mig.js → create-context-DPb5Yv_u.js} +4 -4
- package/dist/date-picker-anatomy-B6_a0ZL3.d.ts +6 -0
- package/dist/{factory-DCac1oIp.js → factory-Ce76k0aC.js} +1 -1
- package/dist/{factory-B21c1uMV.jsx → factory-CzIfQZJj.jsx} +1 -1
- package/dist/{factory-DavUB5Ku.d.ts → factory-DMawBjkt.d.ts} +4 -4
- package/dist/{factory-C_07ebOh.d.ts → factory-cJ7CaPAR.d.ts} +4 -4
- package/dist/{field-BNTN-_xe.jsx → field-BMLVDAiH.jsx} +8 -8
- package/dist/{field-anatomy-C3x_U-4u.d.ts → field-anatomy-Bm7mUuzz.d.ts} +2 -2
- package/dist/{field-C5B28nbw.js → field-mV6xBX-1.js} +9 -9
- package/dist/{fieldset-BNycnDRc.js → fieldset-DfZfBktp.js} +9 -9
- package/dist/{fieldset-D3gMlSUG.jsx → fieldset-Dultvtpf.jsx} +8 -8
- package/dist/{index-DMI2w9ra.d.ts → index-B4jYxJKJ.d.ts} +2 -2
- package/dist/{index-DZQfOo5p.d.ts → index-B9YbO-df.d.ts} +8 -8
- package/dist/{index-D_e6DIul.d.ts → index-BziaWi01.d.ts} +8 -8
- package/dist/{index-ClQSumtA.d.ts → index-CuXUwhrn.d.ts} +20 -20
- package/dist/{index-D1h43AgS.d.ts → index-D9oSpNzQ.d.ts} +1 -1
- package/dist/{index-DBe4g7N2.d.ts → index-DSPyvbmY.d.ts} +20 -20
- package/dist/{index-D4j4uPoA.d.ts → index-nyUtQSXQ.d.ts} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -4
- package/dist/index.jsx +4 -4
- package/dist/{listbox-anatomy-B1si2wch.d.ts → listbox-anatomy-CQAJitqJ.d.ts} +1 -1
- package/dist/{presence-DkrbOX-_.js → presence-8BR5oOTh.js} +7 -7
- package/dist/{presence-Djyy7COq.jsx → presence-D9IWNBoq.jsx} +7 -7
- package/dist/{providers-PrTpHfBr.js → providers-CdwYAas1.js} +2 -2
- package/dist/{providers-DsPqz7EL.jsx → providers-CjCWKYvZ.jsx} +2 -2
- package/dist/{render-strategy-CCzSb1AK.jsx → render-strategy-CjzB786h.jsx} +2 -2
- package/dist/{render-strategy-zyNAHnri.js → render-strategy-DUrOMptL.js} +2 -2
- package/dist/{tour-anatomy-BW9h_5Qo.d.ts → tour-anatomy-FA0vDbLD.d.ts} +1 -1
- package/dist/{tree-view-J9yQ483m.jsx → tree-view-UMxlqgnA.jsx} +46 -46
- package/dist/{tree-view-BXHmtp4R.js → tree-view-pTAaf6yt.js} +46 -46
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.jsx +1 -1
- package/package.json +2 -2
- package/dist/color-picker-anatomy-D9j78Ful.d.ts +0 -6
- package/dist/combobox-anatomy-Mkz5vUbE.d.ts +0 -6
- package/dist/date-picker-anatomy-DsNHYqiQ.d.ts +0 -6
- /package/dist/{accordion-anatomy-DuQyPotN.d.ts → accordion-anatomy-C02ClQ-i.d.ts} +0 -0
- /package/dist/{accordion-anatomy-MHcXhJPQ.js → accordion-anatomy-SnniqySz.js} +0 -0
- /package/dist/{angle-slider-anatomy-D0gK12zj.js → angle-slider-anatomy-BcpYlzjU.js} +0 -0
- /package/dist/{angle-slider-anatomy-C3icuKah.d.ts → angle-slider-anatomy-CjqlTMi-.d.ts} +0 -0
- /package/dist/{avatar-anatomy-DP2sQ3JD.d.ts → avatar-anatomy-BFcH-BdZ.d.ts} +0 -0
- /package/dist/{avatar-anatomy-CxraVFFD.js → avatar-anatomy-DkaRck8U.js} +0 -0
- /package/dist/{bottom-sheet-anatomy-DFsivXcE.d.ts → bottom-sheet-anatomy-CnYjxIa5.d.ts} +0 -0
- /package/dist/{bottom-sheet-anatomy-BeuPKFbV.js → bottom-sheet-anatomy-lHEnPDuf.js} +0 -0
- /package/dist/{carousel-anatomy-CPwLC4qL.js → carousel-anatomy-Dozyhz87.js} +0 -0
- /package/dist/{checkbox-anatomy-CjQ3vLu9.js → checkbox-anatomy-DrTfnRdC.js} +0 -0
- /package/dist/{checkbox-anatomy-Bb8Ysoj0.d.ts → checkbox-anatomy-_IW8S8A1.d.ts} +0 -0
- /package/dist/{chunk-CwxkpDHt.js → chunk-BN_g-Awi.js} +0 -0
- /package/dist/{chunk-DgKqqxJp.jsx → chunk-CbkudaSF.jsx} +0 -0
- /package/dist/{clipboard-anatomy-BUqRlWbF.js → clipboard-anatomy-Btcms62_.js} +0 -0
- /package/dist/{clipboard-anatomy-COn_FKiH.d.ts → clipboard-anatomy-DT9k1E4p.d.ts} +0 -0
- /package/dist/{collapsible-anatomy-BeeWVdRV.js → collapsible-anatomy-Bz0a8LAr.js} +0 -0
- /package/dist/{collapsible-anatomy-CjoHd08C.d.ts → collapsible-anatomy-Dnqjh7QP.d.ts} +0 -0
- /package/dist/{color-picker-anatomy-huX3XTdf.js → color-picker-anatomy-DJP6gg1F.js} +0 -0
- /package/dist/{combobox-anatomy-Cp6cCRQW.js → combobox-anatomy-DccBa7f5.js} +0 -0
- /package/dist/{compose-refs-C0RHuzIU.jsx → compose-refs-D3PQgBgQ.js} +0 -0
- /package/dist/{compose-refs-Daqyu-o7.js → compose-refs-fqtYfDF0.jsx} +0 -0
- /package/dist/{create-split-props-Bd0YZ3Pl.jsx → create-split-props-BcbxQ6yh.js} +0 -0
- /package/dist/{create-split-props-CDXn3gBu.js → create-split-props-CgD5kGV-.jsx} +0 -0
- /package/dist/{date-picker-anatomy-Bnhc91Cy.js → date-picker-anatomy-BbB7oLLk.js} +0 -0
- /package/dist/{dialog-anatomy-OoraCpsD.d.ts → dialog-anatomy-Bxscw4PD.d.ts} +0 -0
- /package/dist/{dialog-anatomy-jHNgTj63.js → dialog-anatomy-DZW7OUW_.js} +0 -0
- /package/dist/{editable-anatomy-DA0KOCft.d.ts → editable-anatomy-BoZIiwDR.d.ts} +0 -0
- /package/dist/{editable-anatomy-B3Ch6fhf.js → editable-anatomy-D1eyySPH.js} +0 -0
- /package/dist/{field-anatomy-DFbz1xZk.js → field-anatomy-DOCpzb4B.js} +0 -0
- /package/dist/{fieldset-anatomy-D_qoumx-.d.ts → fieldset-anatomy-9IJ6JECa.d.ts} +0 -0
- /package/dist/{fieldset-anatomy-C7x_SqPE.js → fieldset-anatomy-DmZTaMK6.js} +0 -0
- /package/dist/{file-upload-anatomy-_dkcp6Rd.js → file-upload-anatomy-CZ2VnScd.js} +0 -0
- /package/dist/{file-upload-anatomy-DJdoOx2Y.d.ts → file-upload-anatomy-DmwpdONS.d.ts} +0 -0
- /package/dist/{floating-panel-anatomy-M9J5s7fA.d.ts → floating-panel-anatomy-BDHlnk1S.d.ts} +0 -0
- /package/dist/{floating-panel-anatomy-B75lhTO0.js → floating-panel-anatomy-DBrl1Bp0.js} +0 -0
- /package/dist/{hover-card-anatomy-BLhL5RWX.d.ts → hover-card-anatomy-BZZwpvcD.d.ts} +0 -0
- /package/dist/{hover-card-anatomy-D3y2QekS.js → hover-card-anatomy-D3wEfkuu.js} +0 -0
- /package/dist/{image-cropper-anatomy-CWnNoyT0.d.ts → image-cropper-anatomy-C4nqTpJc.d.ts} +0 -0
- /package/dist/{image-cropper-anatomy-BUXdwyCy.js → image-cropper-anatomy-DOqIY-bD.js} +0 -0
- /package/dist/{index-BjhUkKb8.d.ts → index-B3Sv7T21.d.ts} +0 -0
- /package/dist/{index-C0EetRkF.d.ts → index-CEAXA7Wp.d.ts} +0 -0
- /package/dist/{index-CBw7-_78.d.ts → index-CLwp1P-Z.d.ts} +0 -0
- /package/dist/{index-CNFHfr8X.d.ts → index-D2M0XXUG.d.ts} +0 -0
- /package/dist/{index-wN8a2k9U.d.ts → index-D78tMX6m.d.ts} +0 -0
- /package/dist/{listbox-anatomy-Cis_JIGM.js → listbox-anatomy-D2r-4uq6.js} +0 -0
- /package/dist/{marquee-anatomy-BRcF__Pg.d.ts → marquee-anatomy-BHiSb_hw.d.ts} +0 -0
- /package/dist/{marquee-anatomy-CzRk0I_m.js → marquee-anatomy-sKw9g-dJ.js} +0 -0
- /package/dist/{menu-anatomy-Cak2lkIl.d.ts → menu-anatomy-BrtrFbq2.d.ts} +0 -0
- /package/dist/{menu-anatomy-CM26m6hu.js → menu-anatomy-DbCORryZ.js} +0 -0
- /package/dist/{navigation-menu-anatomy-D5y7RVCk.d.ts → navigation-menu-anatomy-FqAjaEaz.d.ts} +0 -0
- /package/dist/{navigation-menu-anatomy-jrPdOV0r.js → navigation-menu-anatomy-nwZUxyMV.js} +0 -0
- /package/dist/{number-input-anatomy-BAWHL6Ec.d.ts → number-input-anatomy-Dpr956kU.d.ts} +0 -0
- /package/dist/{number-input-anatomy-Dv2aaVdS.js → number-input-anatomy-hB3PpB4j.js} +0 -0
- /package/dist/{pagination-anatomy-Cj3cYR36.d.ts → pagination-anatomy-CC_AQ0hu.d.ts} +0 -0
- /package/dist/{pagination-anatomy-DJQGbViK.js → pagination-anatomy-D8yk0Puf.js} +0 -0
- /package/dist/{password-input-anatomy-BrGdrFVj.d.ts → password-input-anatomy-CcCH88BJ.d.ts} +0 -0
- /package/dist/{password-input-anatomy-DQNbazx8.js → password-input-anatomy-D0nhl7MJ.js} +0 -0
- /package/dist/{pin-input-anatomy-BvvD4tSF.js → pin-input-anatomy-Blh9Y2sq.js} +0 -0
- /package/dist/{pin-input-anatomy-9GWNQ6LA.d.ts → pin-input-anatomy-CFwtTGgf.d.ts} +0 -0
- /package/dist/{popover-anatomy-CHNmFef4.d.ts → popover-anatomy-BfyF_jF-.d.ts} +0 -0
- /package/dist/{popover-anatomy-5kFwUlob.js → popover-anatomy-DXWeYlnF.js} +0 -0
- /package/dist/{progress-anatomy-CPu1VWxh.d.ts → progress-anatomy-CIvqvuCH.d.ts} +0 -0
- /package/dist/{progress-anatomy-pIomRbBQ.js → progress-anatomy-lioRhIrB.js} +0 -0
- /package/dist/{qr-code-anatomy-B4CAVlt6.d.ts → qr-code-anatomy-ByL5_5DL.d.ts} +0 -0
- /package/dist/{qr-code-anatomy-Cjx2O0XA.js → qr-code-anatomy-CIy9Wai6.js} +0 -0
- /package/dist/{radio-group-anatomy-B0c4wowK.d.ts → radio-group-anatomy--QbW6Fvm.d.ts} +0 -0
- /package/dist/{radio-group-anatomy-DdgFXXbE.js → radio-group-anatomy-C7L8dkhn.js} +0 -0
- /package/dist/{rating-group-anatomy-BVaVfjQp.js → rating-group-anatomy-CBhzoESK.js} +0 -0
- /package/dist/{rating-group-anatomy-CdTHxRrr.d.ts → rating-group-anatomy-DBg1kLFr.d.ts} +0 -0
- /package/dist/{render-strategy-Bq-mT0Pp.d.ts → render-strategy-CD9ZY4zs.d.ts} +0 -0
- /package/dist/{render-strategy-CNEF-wiW.d.ts → render-strategy-CU_9g0dp.d.ts} +0 -0
- /package/dist/{run-if-fn-COsqwaBZ.js → run-if-fn-CJUSlNHk.jsx} +0 -0
- /package/dist/{run-if-fn-D55yVu32.jsx → run-if-fn-CTrSA35K.js} +0 -0
- /package/dist/{scroll-area-anatomy-DCy61Idd.js → scroll-area-anatomy-B-FlUOdc.js} +0 -0
- /package/dist/{scroll-area-anatomy-BCaXaF2p.d.ts → scroll-area-anatomy-e4jAhnvL.d.ts} +0 -0
- /package/dist/{segment-group-anatomy-3UL8_ASD.js → segment-group-anatomy-CPdu1efW.js} +0 -0
- /package/dist/{segment-group-anatomy-DSzpN0S5.d.ts → segment-group-anatomy-w6EqftAa.d.ts} +0 -0
- /package/dist/{select-anatomy-Ck-ygKva.d.ts → select-anatomy-BOWDAJI2.d.ts} +0 -0
- /package/dist/{select-anatomy-CASg6DZr.js → select-anatomy-CiNHi2Kx.js} +0 -0
- /package/dist/{signature-pad-anatomy-DSd2RnqO.d.ts → signature-pad-anatomy-CwHcAo6v.d.ts} +0 -0
- /package/dist/{signature-pad-anatomy-CgBB8PtF.js → signature-pad-anatomy-Mz3w_i5B.js} +0 -0
- /package/dist/{slider-anatomy-DviLprPk.d.ts → slider-anatomy-1peNnwIJ.d.ts} +0 -0
- /package/dist/{slider-anatomy-BZ7nfULd.js → slider-anatomy-3KpCBnz3.js} +0 -0
- /package/dist/{splitter-anatomy-C-uwk4a6.js → splitter-anatomy-D2RNa-hA.js} +0 -0
- /package/dist/{splitter-anatomy-CnGWaJxh.d.ts → splitter-anatomy-DIcfxmkW.d.ts} +0 -0
- /package/dist/{steps-anatomy-DIL1kWzw.js → steps-anatomy-CSfgiyVI.js} +0 -0
- /package/dist/{steps-anatomy-HeSWc3m4.d.ts → steps-anatomy-Djc944iN.d.ts} +0 -0
- /package/dist/{switch-anatomy-CnGWimKt.js → switch-anatomy-DDL1v5Fs.js} +0 -0
- /package/dist/{switch-anatomy-1NB6f5RE.d.ts → switch-anatomy-y8eqf5v0.d.ts} +0 -0
- /package/dist/{tabs-anatomy-DWdgBMch.d.ts → tabs-anatomy-CxuMmuKX.d.ts} +0 -0
- /package/dist/{tabs-anatomy-C6-9PiKf.js → tabs-anatomy-DlQHg-E8.js} +0 -0
- /package/dist/{tags-input-anatomy-B-Hy3Fsz.d.ts → tags-input-anatomy-CvMsM3_R.d.ts} +0 -0
- /package/dist/{tags-input-anatomy-DehZc4H_.js → tags-input-anatomy-DYSi98Bx.js} +0 -0
- /package/dist/{timer-anatomy-1bTmyiM7.js → timer-anatomy-C9bTbrUf.js} +0 -0
- /package/dist/{timer-anatomy-CP-Lmjui.d.ts → timer-anatomy-VYjRFeEL.d.ts} +0 -0
- /package/dist/{toast-anatomy-enVWr_6K.d.ts → toast-anatomy-C-PyfPXK.d.ts} +0 -0
- /package/dist/{toast-anatomy-DFtpvHgX.js → toast-anatomy-CssUp7TT.js} +0 -0
- /package/dist/{toggle-anatomy-C_51TecZ.d.ts → toggle-anatomy-CqxPSmz8.d.ts} +0 -0
- /package/dist/{toggle-anatomy-DKcZgkaU.js → toggle-anatomy-DJ-QrVLv.js} +0 -0
- /package/dist/{toggle-group-anatomy-DfVV-jVO.d.ts → toggle-group-anatomy-C-tSD5OQ.d.ts} +0 -0
- /package/dist/{toggle-group-anatomy-B6QSWOxD.js → toggle-group-anatomy-CFLq6ia_.js} +0 -0
- /package/dist/{tooltip-anatomy-Dz1SAwZB.js → tooltip-anatomy-CPw1wOXd.js} +0 -0
- /package/dist/{tooltip-anatomy-B-X-Z7UL.d.ts → tooltip-anatomy-Mn5jLWJP.d.ts} +0 -0
- /package/dist/{tour-anatomy-BgRusS4B.js → tour-anatomy-CDmnjoPR.js} +0 -0
- /package/dist/{tree-view-anatomy-B-AG-WQd.js → tree-view-anatomy-BW_ruJ-g.js} +0 -0
- /package/dist/{tree-view-anatomy-0x_cpsMM.d.ts → tree-view-anatomy-DjCEP4n7.d.ts} +0 -0
- /package/dist/{types-DGs3Vhzt.d.ts → types-B1RjmsgP.d.ts} +0 -0
- /package/dist/{types-hAYSiblS.d.ts → types-B9AK1oJL.d.ts} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
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 { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-CbkudaSF.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-B6ixUkqg.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CJUSlNHk.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DGJ79e4Y.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CjCWKYvZ.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-CzIfQZJj.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CgD5kGV-.jsx";
|
|
8
|
+
import { n as splitRenderStrategyProps, r as useRenderStrategyContext, t as RenderStrategyProvider } from "../../render-strategy-CjzB786h.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-fqtYfDF0.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-D9IWNBoq.jsx";
|
|
11
11
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as bottomSheet from "@sprawlify/primitives/machines/bottom-sheet";
|
|
13
13
|
import { anatomy as bottomSheetAnatomy } from "@sprawlify/primitives/machines/bottom-sheet";
|
|
@@ -21,9 +21,9 @@ const [BottomSheetProvider, useBottomSheetContext] = createContext$1({
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/bottom-sheet/bottom-sheet-backdrop.tsx
|
|
23
23
|
const BottomSheetBackdrop = (props) => {
|
|
24
|
-
const bottomSheet
|
|
25
|
-
const presence = usePresence(mergeProps$1(useRenderStrategyContext(), () => ({ present: bottomSheet
|
|
26
|
-
const mergedProps = mergeProps$1(() => bottomSheet
|
|
24
|
+
const bottomSheet = useBottomSheetContext();
|
|
25
|
+
const presence = usePresence(mergeProps$1(useRenderStrategyContext(), () => ({ present: bottomSheet().open })));
|
|
26
|
+
const mergedProps = mergeProps$1(() => bottomSheet().getBackdropProps(), () => presence().presenceProps, props);
|
|
27
27
|
return <Show when={!presence().unmounted}>
|
|
28
28
|
<sprawlify.div {...mergedProps} ref={composeRefs(presence().ref, props.ref)} />
|
|
29
29
|
</Show>;
|
|
@@ -41,9 +41,9 @@ const BottomSheetCloseTrigger = (props) => {
|
|
|
41
41
|
//#region src/components/bottom-sheet/bottom-sheet-content.tsx
|
|
42
42
|
const BottomSheetContent = (props) => {
|
|
43
43
|
const [contentProps, localProps] = createSplitProps()(props, ["draggable"]);
|
|
44
|
-
const bottomSheet
|
|
44
|
+
const bottomSheet = useBottomSheetContext();
|
|
45
45
|
const presence = usePresenceContext();
|
|
46
|
-
const mergedProps = mergeProps$1(() => bottomSheet
|
|
46
|
+
const mergedProps = mergeProps$1(() => bottomSheet().getContentProps({
|
|
47
47
|
draggable: true,
|
|
48
48
|
...contentProps
|
|
49
49
|
}), () => presence().presenceProps, localProps);
|
|
@@ -59,16 +59,16 @@ const BottomSheetContext = (props) => props.children(useBottomSheetContext());
|
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/components/bottom-sheet/bottom-sheet-grabber.tsx
|
|
61
61
|
const BottomSheetGrabber = (props) => {
|
|
62
|
-
const bottomSheet
|
|
63
|
-
const mergedProps = mergeProps$1(() => bottomSheet
|
|
62
|
+
const bottomSheet = useBottomSheetContext();
|
|
63
|
+
const mergedProps = mergeProps$1(() => bottomSheet().getGrabberProps(), props);
|
|
64
64
|
return <sprawlify.div {...mergedProps} />;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/components/bottom-sheet/bottom-sheet-grabber-indicator.tsx
|
|
69
69
|
const BottomSheetGrabberIndicator = (props) => {
|
|
70
|
-
const bottomSheet
|
|
71
|
-
const mergedProps = mergeProps$1(() => bottomSheet
|
|
70
|
+
const bottomSheet = useBottomSheetContext();
|
|
71
|
+
const mergedProps = mergeProps$1(() => bottomSheet().getGrabberIndicatorProps(), props);
|
|
72
72
|
return <sprawlify.div {...mergedProps} />;
|
|
73
73
|
};
|
|
74
74
|
|
|
@@ -121,9 +121,9 @@ const BottomSheetRoot = (props) => {
|
|
|
121
121
|
"onFocusOutside",
|
|
122
122
|
"onRequestDismiss"
|
|
123
123
|
]);
|
|
124
|
-
const bottomSheet
|
|
125
|
-
const presence = usePresence(mergeProps$1(presenceProps, () => ({ present: bottomSheet
|
|
126
|
-
return <BottomSheetProvider value={bottomSheet
|
|
124
|
+
const bottomSheet = useBottomSheet(useBottomSheetProps);
|
|
125
|
+
const presence = usePresence(mergeProps$1(presenceProps, () => ({ present: bottomSheet().open })));
|
|
126
|
+
return <BottomSheetProvider value={bottomSheet}>
|
|
127
127
|
<RenderStrategyProvider value={renderStrategyProps}>
|
|
128
128
|
<PresenceProvider value={presence}>{localProps.children}</PresenceProvider>
|
|
129
129
|
</RenderStrategyProvider>
|
|
@@ -146,17 +146,17 @@ const BottomSheetRootProvider = (props) => {
|
|
|
146
146
|
//#endregion
|
|
147
147
|
//#region src/components/bottom-sheet/bottom-sheet-title.tsx
|
|
148
148
|
const BottomSheetTitle = (props) => {
|
|
149
|
-
const bottomSheet
|
|
150
|
-
const mergedProps = mergeProps$1(() => bottomSheet
|
|
149
|
+
const bottomSheet = useBottomSheetContext();
|
|
150
|
+
const mergedProps = mergeProps$1(() => bottomSheet().getTitleProps(), props);
|
|
151
151
|
return <sprawlify.h2 {...mergedProps} />;
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
//#endregion
|
|
155
155
|
//#region src/components/bottom-sheet/bottom-sheet-trigger.tsx
|
|
156
156
|
const BottomSheetTrigger = (props) => {
|
|
157
|
-
const bottomSheet
|
|
157
|
+
const bottomSheet = useBottomSheetContext();
|
|
158
158
|
const presence = usePresenceContext();
|
|
159
|
-
const mergedProps = mergeProps$1(() => bottomSheet
|
|
159
|
+
const mergedProps = mergeProps$1(() => bottomSheet().getTriggerProps(), () => ({ "aria-controls": presence().unmounted && null }), props);
|
|
160
160
|
return <sprawlify.button {...mergedProps} />;
|
|
161
161
|
};
|
|
162
162
|
|
|
@@ -1,11 +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-
|
|
4
|
-
import
|
|
5
|
-
import * as solid_js259 from "solid-js";
|
|
1
|
+
import { n as PropTypes } from "../../index-CLwp1P-Z.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-B9AK1oJL.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-DMawBjkt.js";
|
|
4
|
+
import * as solid_js169 from "solid-js";
|
|
6
5
|
import { Accessor, JSX } from "solid-js";
|
|
7
6
|
import * as carousel from "@sprawlify/primitives/machines/carousel";
|
|
8
7
|
import { AutoplayStatusDetails, AutoplayStatusDetails as CarouselAutoplayStatusDetails, DragStatusDetails, DragStatusDetails as CarouselDragStatusDetails, IndicatorProps, ItemProps, PageChangeDetails, PageChangeDetails as CarouselPageChangeDetails } from "@sprawlify/primitives/machines/carousel";
|
|
8
|
+
import * as _sprawlify_primitives_anatomy4 from "@sprawlify/primitives/anatomy";
|
|
9
9
|
|
|
10
10
|
//#region src/components/carousel/carousel-autoplay-indicator.d.ts
|
|
11
11
|
interface CarouselAutoplayIndicatorBaseProps extends PolymorphicProps<'span'> {
|
|
@@ -20,12 +20,12 @@ declare const CarouselAutoplayIndicator: (props: CarouselAutoplayIndicatorProps)
|
|
|
20
20
|
//#region src/components/carousel/carousel-progress-text.d.ts
|
|
21
21
|
interface CarouselProgressTextBaseProps extends PolymorphicProps<'span'> {}
|
|
22
22
|
interface CarouselProgressTextProps extends HTMLProps<'span'>, CarouselProgressTextBaseProps {}
|
|
23
|
-
declare const CarouselProgressText: (props: CarouselProgressTextProps) =>
|
|
23
|
+
declare const CarouselProgressText: (props: CarouselProgressTextProps) => solid_js169.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/components/carousel/carousel-autoplay-trigger.d.ts
|
|
26
26
|
interface CarouselAutoplayTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
27
27
|
interface CarouselAutoplayTriggerProps extends HTMLProps<'button'>, CarouselAutoplayTriggerBaseProps {}
|
|
28
|
-
declare const CarouselAutoplayTrigger: (props: CarouselAutoplayTriggerProps) =>
|
|
28
|
+
declare const CarouselAutoplayTrigger: (props: CarouselAutoplayTriggerProps) => solid_js169.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/carousel/use-carousel.d.ts
|
|
31
31
|
interface UseCarouselProps extends Optional<Omit<carousel.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -44,42 +44,42 @@ declare const CarouselContext: (props: CarouselContextProps) => JSX.Element;
|
|
|
44
44
|
//#region src/components/carousel/carousel-control.d.ts
|
|
45
45
|
interface CarouselControlBaseProps extends PolymorphicProps<'div'> {}
|
|
46
46
|
interface CarouselControlProps extends HTMLProps<'div'>, CarouselControlBaseProps {}
|
|
47
|
-
declare const CarouselControl: (props: CarouselControlProps) =>
|
|
47
|
+
declare const CarouselControl: (props: CarouselControlProps) => solid_js169.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/carousel/carousel-indicator.d.ts
|
|
50
50
|
interface CarouselIndicatorBaseProps extends IndicatorProps, PolymorphicProps<'button'> {}
|
|
51
51
|
interface CarouselIndicatorProps extends HTMLProps<'button'>, CarouselIndicatorBaseProps {}
|
|
52
|
-
declare const CarouselIndicator: (props: CarouselIndicatorProps) =>
|
|
52
|
+
declare const CarouselIndicator: (props: CarouselIndicatorProps) => solid_js169.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/components/carousel/carousel-indicator-group.d.ts
|
|
55
55
|
interface CarouselIndicatorGroupBaseProps extends PolymorphicProps<'div'> {}
|
|
56
56
|
interface CarouselIndicatorGroupProps extends HTMLProps<'div'>, CarouselIndicatorGroupBaseProps {}
|
|
57
|
-
declare const CarouselIndicatorGroup: (props: CarouselIndicatorGroupProps) =>
|
|
57
|
+
declare const CarouselIndicatorGroup: (props: CarouselIndicatorGroupProps) => solid_js169.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/components/carousel/carousel-item.d.ts
|
|
60
60
|
interface CarouselItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
|
|
61
61
|
interface CarouselItemProps extends HTMLProps<'div'>, CarouselItemBaseProps {}
|
|
62
|
-
declare const CarouselItem: (props: CarouselItemProps) =>
|
|
62
|
+
declare const CarouselItem: (props: CarouselItemProps) => solid_js169.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region src/components/carousel/carousel-item-group.d.ts
|
|
65
65
|
interface CarouselItemGroupBaseProps extends PolymorphicProps<'div'> {}
|
|
66
66
|
interface CarouselItemGroupProps extends HTMLProps<'div'>, CarouselItemGroupBaseProps {}
|
|
67
|
-
declare const CarouselItemGroup: (props: CarouselItemGroupProps) =>
|
|
67
|
+
declare const CarouselItemGroup: (props: CarouselItemGroupProps) => solid_js169.JSX.Element;
|
|
68
68
|
//#endregion
|
|
69
69
|
//#region src/components/carousel/carousel-next-trigger.d.ts
|
|
70
70
|
interface CarouselNextTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
71
71
|
interface CarouselNextTriggerProps extends HTMLProps<'button'>, CarouselNextTriggerBaseProps {}
|
|
72
|
-
declare const CarouselNextTrigger: (props: CarouselNextTriggerProps) =>
|
|
72
|
+
declare const CarouselNextTrigger: (props: CarouselNextTriggerProps) => solid_js169.JSX.Element;
|
|
73
73
|
//#endregion
|
|
74
74
|
//#region src/components/carousel/carousel-prev-trigger.d.ts
|
|
75
75
|
interface CarouselPrevTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
76
76
|
interface CarouselPrevTriggerProps extends HTMLProps<'button'>, CarouselPrevTriggerBaseProps {}
|
|
77
|
-
declare const CarouselPrevTrigger: (props: CarouselPrevTriggerProps) =>
|
|
77
|
+
declare const CarouselPrevTrigger: (props: CarouselPrevTriggerProps) => solid_js169.JSX.Element;
|
|
78
78
|
//#endregion
|
|
79
79
|
//#region src/components/carousel/carousel-root.d.ts
|
|
80
80
|
interface CarouselRootBaseProps extends UseCarouselProps, PolymorphicProps<'div'> {}
|
|
81
81
|
interface CarouselRootProps extends HTMLProps<'div'>, CarouselRootBaseProps {}
|
|
82
|
-
declare const CarouselRoot: (props: CarouselRootProps) =>
|
|
82
|
+
declare const CarouselRoot: (props: CarouselRootProps) => solid_js169.JSX.Element;
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region src/components/carousel/carousel-root-provider.d.ts
|
|
85
85
|
interface RootProviderProps {
|
|
@@ -87,7 +87,10 @@ interface RootProviderProps {
|
|
|
87
87
|
}
|
|
88
88
|
interface CarouselRootProviderBaseProps extends PolymorphicProps<'div'> {}
|
|
89
89
|
interface CarouselRootProviderProps extends HTMLProps<'div'>, RootProviderProps, CarouselRootProviderBaseProps {}
|
|
90
|
-
declare const CarouselRootProvider: (props: CarouselRootProviderProps) =>
|
|
90
|
+
declare const CarouselRootProvider: (props: CarouselRootProviderProps) => solid_js169.JSX.Element;
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region src/components/carousel/carousel-anatomy.d.ts
|
|
93
|
+
declare const carouselAnatomy: _sprawlify_primitives_anatomy4.AnatomyInstance<"root" | "control" | "item" | "indicator" | "prevTrigger" | "nextTrigger" | "itemGroup" | "indicatorGroup" | "autoplayTrigger" | "progressText" | "autoplayIndicator">;
|
|
91
94
|
declare namespace carousel_d_exports {
|
|
92
95
|
export { CarouselAutoplayIndicator as AutoplayIndicator, CarouselAutoplayIndicatorBaseProps as AutoplayIndicatorBaseProps, CarouselAutoplayIndicatorProps as AutoplayIndicatorProps, AutoplayStatusDetails, CarouselAutoplayTrigger as AutoplayTrigger, CarouselAutoplayTriggerBaseProps as AutoplayTriggerBaseProps, CarouselAutoplayTriggerProps as AutoplayTriggerProps, CarouselContext as Context, CarouselContextProps as ContextProps, CarouselControl as Control, CarouselControlBaseProps as ControlBaseProps, CarouselControlProps as ControlProps, DragStatusDetails, CarouselIndicator as Indicator, CarouselIndicatorBaseProps as IndicatorBaseProps, CarouselIndicatorGroup as IndicatorGroup, CarouselIndicatorGroupBaseProps as IndicatorGroupBaseProps, CarouselIndicatorGroupProps as IndicatorGroupProps, CarouselIndicatorProps as IndicatorProps, CarouselItem as Item, CarouselItemBaseProps as ItemBaseProps, CarouselItemGroup as ItemGroup, CarouselItemGroupBaseProps as ItemGroupBaseProps, CarouselItemGroupProps as ItemGroupProps, CarouselItemProps as ItemProps, CarouselNextTrigger as NextTrigger, CarouselNextTriggerBaseProps as NextTriggerBaseProps, CarouselNextTriggerProps as NextTriggerProps, PageChangeDetails, CarouselPrevTrigger as PrevTrigger, CarouselPrevTriggerBaseProps as PrevTriggerBaseProps, CarouselPrevTriggerProps as PrevTriggerProps, CarouselProgressText as ProgressText, CarouselProgressTextBaseProps as ProgressTextBaseProps, CarouselProgressTextProps as ProgressTextProps, CarouselRoot as Root, CarouselRootBaseProps as RootBaseProps, CarouselRootProps as RootProps, CarouselRootProvider as RootProvider, CarouselRootProviderBaseProps as RootProviderBaseProps, CarouselRootProviderProps as RootProviderProps };
|
|
93
96
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
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-BN_g-Awi.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-Crxbs6Ki.js";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CTrSA35K.js";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DPb5Yv_u.js";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CdwYAas1.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-Ce76k0aC.js";
|
|
7
|
+
import { t as carouselAnatomy } from "../../carousel-anatomy-Dozyhz87.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-BcbxQ6yh.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";
|
|
@@ -173,10 +173,10 @@ const CarouselRoot = (props) => {
|
|
|
173
173
|
//#endregion
|
|
174
174
|
//#region src/components/carousel/carousel-root-provider.tsx
|
|
175
175
|
const CarouselRootProvider = (props) => {
|
|
176
|
-
const [{ value: carousel
|
|
177
|
-
const mergedProps = mergeProps$2(() => carousel
|
|
176
|
+
const [{ value: carousel }, localProps] = createSplitProps()(props, ["value"]);
|
|
177
|
+
const mergedProps = mergeProps$2(() => carousel().getRootProps(), localProps);
|
|
178
178
|
return createComponent(CarouselProvider, {
|
|
179
|
-
value: carousel
|
|
179
|
+
value: carousel,
|
|
180
180
|
get children() {
|
|
181
181
|
return createComponent(sprawlify.div, mergedProps);
|
|
182
182
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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-CbkudaSF.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-B6ixUkqg.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CJUSlNHk.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DGJ79e4Y.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CjCWKYvZ.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-CzIfQZJj.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CgD5kGV-.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";
|
|
@@ -165,9 +165,9 @@ const CarouselRoot = (props) => {
|
|
|
165
165
|
//#endregion
|
|
166
166
|
//#region src/components/carousel/carousel-root-provider.tsx
|
|
167
167
|
const CarouselRootProvider = (props) => {
|
|
168
|
-
const [{ value: carousel
|
|
169
|
-
const mergedProps = mergeProps$1(() => carousel
|
|
170
|
-
return <CarouselProvider value={carousel
|
|
168
|
+
const [{ value: carousel }, localProps] = createSplitProps()(props, ["value"]);
|
|
169
|
+
const mergedProps = mergeProps$1(() => carousel().getRootProps(), localProps);
|
|
170
|
+
return <CarouselProvider value={carousel}>
|
|
171
171
|
<sprawlify.div {...mergedProps} />
|
|
172
172
|
</CarouselProvider>;
|
|
173
173
|
};
|
|
@@ -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
|
|
5
|
-
import * as solid_js358 from "solid-js";
|
|
1
|
+
import { n as PropTypes } from "../../index-CLwp1P-Z.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor, t as Assign } from "../../types-B9AK1oJL.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-DMawBjkt.js";
|
|
4
|
+
import * as solid_js82 from "solid-js";
|
|
6
5
|
import { Accessor, JSX } from "solid-js";
|
|
7
6
|
import * as checkbox from "@sprawlify/primitives/machines/checkbox";
|
|
8
7
|
import { CheckedChangeDetails, CheckedChangeDetails as CheckboxCheckedChangeDetails, CheckedState, CheckedState as CheckboxCheckedState } from "@sprawlify/primitives/machines/checkbox";
|
|
8
|
+
import * as _sprawlify_primitives_anatomy1 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_js82.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_js82.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_js82.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_js82.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_js82.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_js82.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_js82.JSX.Element;
|
|
123
123
|
//#endregion
|
|
124
124
|
//#region src/components/checkbox/checkbox-root-provider.d.ts
|
|
125
125
|
interface RootProviderProps {
|
|
@@ -127,7 +127,10 @@ 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) =>
|
|
130
|
+
declare const CheckboxRootProvider: (props: CheckboxRootProviderProps) => solid_js82.JSX.Element;
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region src/components/checkbox/checkbox-anatomy.d.ts
|
|
133
|
+
declare const checkboxAnatomy: _sprawlify_primitives_anatomy1.AnatomyInstance<"root" | "control" | "indicator" | "label" | "group">;
|
|
131
134
|
declare namespace checkbox_d_exports {
|
|
132
135
|
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 };
|
|
133
136
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
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-BN_g-Awi.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-Crxbs6Ki.js";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CTrSA35K.js";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DPb5Yv_u.js";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CdwYAas1.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-Ce76k0aC.js";
|
|
7
|
+
import { t as checkboxAnatomy } from "../../checkbox-anatomy-DrTfnRdC.js";
|
|
8
|
+
import "../../field-anatomy-DOCpzb4B.js";
|
|
9
|
+
import "../../fieldset-anatomy-DmZTaMK6.js";
|
|
10
|
+
import { t as createSplitProps } from "../../create-split-props-BcbxQ6yh.js";
|
|
11
|
+
import "../../compose-refs-D3PQgBgQ.js";
|
|
12
|
+
import { l as useFieldsetContext } from "../../fieldset-DfZfBktp.js";
|
|
13
|
+
import { p as useFieldContext } from "../../field-mV6xBX-1.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";
|
|
@@ -28,8 +28,8 @@ const CheckboxContext = (props) => props.children(useCheckboxContext());
|
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/components/checkbox/checkbox-control.tsx
|
|
30
30
|
const CheckboxControl = (props) => {
|
|
31
|
-
const checkbox
|
|
32
|
-
const mergedProps = mergeProps$2(() => checkbox
|
|
31
|
+
const checkbox = useCheckboxContext();
|
|
32
|
+
const mergedProps = mergeProps$2(() => checkbox().getControlProps(), props);
|
|
33
33
|
return createComponent(sprawlify.div, mergedProps);
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -150,8 +150,8 @@ const CheckboxGroupProvider = (props) => {
|
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region src/components/checkbox/checkbox-hidden-input.tsx
|
|
152
152
|
const CheckboxHiddenInput = (props) => {
|
|
153
|
-
const checkbox
|
|
154
|
-
const mergedProps = mergeProps$2(() => checkbox
|
|
153
|
+
const checkbox = useCheckboxContext();
|
|
154
|
+
const mergedProps = mergeProps$2(() => checkbox().getHiddenInputProps(), props);
|
|
155
155
|
const field = useFieldContext();
|
|
156
156
|
return createComponent(sprawlify.input, mergeProps$1({ get ["aria-describedby"]() {
|
|
157
157
|
return field?.().ariaDescribedby;
|
|
@@ -162,18 +162,18 @@ const CheckboxHiddenInput = (props) => {
|
|
|
162
162
|
//#region src/components/checkbox/checkbox-indicator.tsx
|
|
163
163
|
const CheckboxIndicator = (props) => {
|
|
164
164
|
const [indicatorProps, localProps] = createSplitProps()(props, ["indeterminate"]);
|
|
165
|
-
const checkbox
|
|
166
|
-
const mergedProps = mergeProps$2(() => checkbox
|
|
165
|
+
const checkbox = useCheckboxContext();
|
|
166
|
+
const mergedProps = mergeProps$2(() => checkbox().getIndicatorProps(), localProps);
|
|
167
167
|
return createComponent(sprawlify.div, mergeProps$1(mergedProps, { get hidden() {
|
|
168
|
-
return !(indicatorProps.indeterminate ? checkbox
|
|
168
|
+
return !(indicatorProps.indeterminate ? checkbox().indeterminate : checkbox().checked);
|
|
169
169
|
} }));
|
|
170
170
|
};
|
|
171
171
|
|
|
172
172
|
//#endregion
|
|
173
173
|
//#region src/components/checkbox/checkbox-label.tsx
|
|
174
174
|
const CheckboxLabel = (props) => {
|
|
175
|
-
const checkbox
|
|
176
|
-
const mergedProps = mergeProps$2(() => checkbox
|
|
175
|
+
const checkbox = useCheckboxContext();
|
|
176
|
+
const mergedProps = mergeProps$2(() => checkbox().getLabelProps(), props);
|
|
177
177
|
return createComponent(sprawlify.span, mergedProps);
|
|
178
178
|
};
|
|
179
179
|
|
|
@@ -224,10 +224,10 @@ const CheckboxRoot = (props) => {
|
|
|
224
224
|
"required",
|
|
225
225
|
"value"
|
|
226
226
|
]);
|
|
227
|
-
const checkbox
|
|
228
|
-
const mergedProps = mergeProps$2(() => checkbox
|
|
227
|
+
const checkbox = useCheckbox(useCheckboxProps);
|
|
228
|
+
const mergedProps = mergeProps$2(() => checkbox().getRootProps(), labelprops);
|
|
229
229
|
return createComponent(CheckboxProvider, {
|
|
230
|
-
value: checkbox
|
|
230
|
+
value: checkbox,
|
|
231
231
|
get children() {
|
|
232
232
|
return createComponent(sprawlify.label, mergedProps);
|
|
233
233
|
}
|
|
@@ -237,10 +237,10 @@ const CheckboxRoot = (props) => {
|
|
|
237
237
|
//#endregion
|
|
238
238
|
//#region src/components/checkbox/checkbox-root-provider.tsx
|
|
239
239
|
const CheckboxRootProvider = (props) => {
|
|
240
|
-
const [{ value: checkbox
|
|
241
|
-
const mergedProps = mergeProps$2(() => checkbox
|
|
240
|
+
const [{ value: checkbox }, labelprops] = createSplitProps()(props, ["value"]);
|
|
241
|
+
const mergedProps = mergeProps$2(() => checkbox().getRootProps(), labelprops);
|
|
242
242
|
return createComponent(CheckboxProvider, {
|
|
243
|
-
value: checkbox
|
|
243
|
+
value: checkbox,
|
|
244
244
|
get children() {
|
|
245
245
|
return createComponent(sprawlify.label, mergedProps);
|
|
246
246
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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-CbkudaSF.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-B6ixUkqg.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CJUSlNHk.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DGJ79e4Y.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CjCWKYvZ.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-CzIfQZJj.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CgD5kGV-.jsx";
|
|
8
|
+
import "../../compose-refs-fqtYfDF0.jsx";
|
|
9
|
+
import { u as useFieldsetContext } from "../../fieldset-Dultvtpf.jsx";
|
|
10
|
+
import { m as useFieldContext } from "../../field-BMLVDAiH.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";
|
|
@@ -25,8 +25,8 @@ const CheckboxContext = (props) => props.children(useCheckboxContext());
|
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/components/checkbox/checkbox-control.tsx
|
|
27
27
|
const CheckboxControl = (props) => {
|
|
28
|
-
const checkbox
|
|
29
|
-
const mergedProps = mergeProps$1(() => checkbox
|
|
28
|
+
const checkbox = useCheckboxContext();
|
|
29
|
+
const mergedProps = mergeProps$1(() => checkbox().getControlProps(), props);
|
|
30
30
|
return <sprawlify.div {...mergedProps} />;
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -144,8 +144,8 @@ const CheckboxGroupProvider = (props) => {
|
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region src/components/checkbox/checkbox-hidden-input.tsx
|
|
146
146
|
const CheckboxHiddenInput = (props) => {
|
|
147
|
-
const checkbox
|
|
148
|
-
const mergedProps = mergeProps$1(() => checkbox
|
|
147
|
+
const checkbox = useCheckboxContext();
|
|
148
|
+
const mergedProps = mergeProps$1(() => checkbox().getHiddenInputProps(), props);
|
|
149
149
|
const field = useFieldContext();
|
|
150
150
|
return <sprawlify.input aria-describedby={field?.().ariaDescribedby} {...mergedProps} />;
|
|
151
151
|
};
|
|
@@ -154,16 +154,16 @@ const CheckboxHiddenInput = (props) => {
|
|
|
154
154
|
//#region src/components/checkbox/checkbox-indicator.tsx
|
|
155
155
|
const CheckboxIndicator = (props) => {
|
|
156
156
|
const [indicatorProps, localProps] = createSplitProps()(props, ["indeterminate"]);
|
|
157
|
-
const checkbox
|
|
158
|
-
const mergedProps = mergeProps$1(() => checkbox
|
|
159
|
-
return <sprawlify.div {...mergedProps} hidden={!(indicatorProps.indeterminate ? checkbox
|
|
157
|
+
const checkbox = useCheckboxContext();
|
|
158
|
+
const mergedProps = mergeProps$1(() => checkbox().getIndicatorProps(), localProps);
|
|
159
|
+
return <sprawlify.div {...mergedProps} hidden={!(indicatorProps.indeterminate ? checkbox().indeterminate : checkbox().checked)} />;
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
//#endregion
|
|
163
163
|
//#region src/components/checkbox/checkbox-label.tsx
|
|
164
164
|
const CheckboxLabel = (props) => {
|
|
165
|
-
const checkbox
|
|
166
|
-
const mergedProps = mergeProps$1(() => checkbox
|
|
165
|
+
const checkbox = useCheckboxContext();
|
|
166
|
+
const mergedProps = mergeProps$1(() => checkbox().getLabelProps(), props);
|
|
167
167
|
return <sprawlify.span {...mergedProps} />;
|
|
168
168
|
};
|
|
169
169
|
|
|
@@ -214,9 +214,9 @@ const CheckboxRoot = (props) => {
|
|
|
214
214
|
"required",
|
|
215
215
|
"value"
|
|
216
216
|
]);
|
|
217
|
-
const checkbox
|
|
218
|
-
const mergedProps = mergeProps$1(() => checkbox
|
|
219
|
-
return <CheckboxProvider value={checkbox
|
|
217
|
+
const checkbox = useCheckbox(useCheckboxProps);
|
|
218
|
+
const mergedProps = mergeProps$1(() => checkbox().getRootProps(), labelprops);
|
|
219
|
+
return <CheckboxProvider value={checkbox}>
|
|
220
220
|
<sprawlify.label {...mergedProps} />
|
|
221
221
|
</CheckboxProvider>;
|
|
222
222
|
};
|
|
@@ -224,9 +224,9 @@ const CheckboxRoot = (props) => {
|
|
|
224
224
|
//#endregion
|
|
225
225
|
//#region src/components/checkbox/checkbox-root-provider.tsx
|
|
226
226
|
const CheckboxRootProvider = (props) => {
|
|
227
|
-
const [{ value: checkbox
|
|
228
|
-
const mergedProps = mergeProps$1(() => checkbox
|
|
229
|
-
return <CheckboxProvider value={checkbox
|
|
227
|
+
const [{ value: checkbox }, labelprops] = createSplitProps()(props, ["value"]);
|
|
228
|
+
const mergedProps = mergeProps$1(() => checkbox().getRootProps(), labelprops);
|
|
229
|
+
return <CheckboxProvider value={checkbox}>
|
|
230
230
|
<sprawlify.label {...mergedProps} />
|
|
231
231
|
</CheckboxProvider>;
|
|
232
232
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import
|
|
5
|
-
import * as solid_js398 from "solid-js";
|
|
1
|
+
import { n as PropTypes } from "../../index-CLwp1P-Z.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-B9AK1oJL.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-DMawBjkt.js";
|
|
4
|
+
import * as solid_js0 from "solid-js";
|
|
6
5
|
import { Accessor, JSX } from "solid-js";
|
|
7
6
|
import * as clipboard from "@sprawlify/primitives/machines/clipboard";
|
|
8
|
-
import { CopyStatusDetails, CopyStatusDetails as ClipboardCopyStatusDetails } from "@sprawlify/primitives/machines/clipboard";
|
|
7
|
+
import { CopyStatusDetails, CopyStatusDetails as ClipboardCopyStatusDetails, anatomy as clipboardAnatomy } from "@sprawlify/primitives/machines/clipboard";
|
|
9
8
|
|
|
10
9
|
//#region src/components/clipboard/use-clipboard.d.ts
|
|
11
10
|
interface UseClipboardProps extends Optional<Omit<clipboard.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -24,7 +23,7 @@ declare const ClipboardContext: (props: ClipboardContextProps) => JSX.Element;
|
|
|
24
23
|
//#region src/components/clipboard/clipboard-control.d.ts
|
|
25
24
|
interface ClipboardControlBaseProps extends PolymorphicProps<'div'> {}
|
|
26
25
|
interface ClipboardControlProps extends HTMLProps<'div'>, ClipboardControlBaseProps {}
|
|
27
|
-
declare const ClipboardControl: (props: ClipboardControlProps) =>
|
|
26
|
+
declare const ClipboardControl: (props: ClipboardControlProps) => solid_js0.JSX.Element;
|
|
28
27
|
//#endregion
|
|
29
28
|
//#region src/components/clipboard/clipboard-indicator.d.ts
|
|
30
29
|
interface IndicatorProps {
|
|
@@ -37,17 +36,17 @@ declare const ClipboardIndicator: (props: ClipboardIndicatorProps) => JSX.Elemen
|
|
|
37
36
|
//#region src/components/clipboard/clipboard-input.d.ts
|
|
38
37
|
interface ClipboardInputBaseProps extends PolymorphicProps<'input'> {}
|
|
39
38
|
interface ClipboardInputProps extends HTMLProps<'input'>, ClipboardInputBaseProps {}
|
|
40
|
-
declare const ClipboardInput: (props: ClipboardInputProps) =>
|
|
39
|
+
declare const ClipboardInput: (props: ClipboardInputProps) => solid_js0.JSX.Element;
|
|
41
40
|
//#endregion
|
|
42
41
|
//#region src/components/clipboard/clipboard-label.d.ts
|
|
43
42
|
interface ClipboardLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
44
43
|
interface ClipboardLabelProps extends HTMLProps<'label'>, ClipboardLabelBaseProps {}
|
|
45
|
-
declare const ClipboardLabel: (props: ClipboardLabelProps) =>
|
|
44
|
+
declare const ClipboardLabel: (props: ClipboardLabelProps) => solid_js0.JSX.Element;
|
|
46
45
|
//#endregion
|
|
47
46
|
//#region src/components/clipboard/clipboard-root.d.ts
|
|
48
47
|
interface ClipboardRootBaseProps extends UseClipboardProps, PolymorphicProps<'div'> {}
|
|
49
48
|
interface ClipboardRootProps extends HTMLProps<'div'>, ClipboardRootBaseProps {}
|
|
50
|
-
declare const ClipboardRoot: (props: ClipboardRootProps) =>
|
|
49
|
+
declare const ClipboardRoot: (props: ClipboardRootProps) => solid_js0.JSX.Element;
|
|
51
50
|
//#endregion
|
|
52
51
|
//#region src/components/clipboard/clipboard-root-provider.d.ts
|
|
53
52
|
interface RootProviderProps {
|
|
@@ -55,17 +54,17 @@ interface RootProviderProps {
|
|
|
55
54
|
}
|
|
56
55
|
interface ClipboardRootProviderBaseProps extends PolymorphicProps<'div'> {}
|
|
57
56
|
interface ClipboardRootProviderProps extends HTMLProps<'div'>, RootProviderProps, ClipboardRootProviderBaseProps {}
|
|
58
|
-
declare const ClipboardRootProvider: (props: ClipboardRootProviderProps) =>
|
|
57
|
+
declare const ClipboardRootProvider: (props: ClipboardRootProviderProps) => solid_js0.JSX.Element;
|
|
59
58
|
//#endregion
|
|
60
59
|
//#region src/components/clipboard/clipboard-trigger.d.ts
|
|
61
60
|
interface ClipboardTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
62
61
|
interface ClipboardTriggerProps extends HTMLProps<'button'>, ClipboardTriggerBaseProps {}
|
|
63
|
-
declare const ClipboardTrigger: (props: ClipboardTriggerProps) =>
|
|
62
|
+
declare const ClipboardTrigger: (props: ClipboardTriggerProps) => solid_js0.JSX.Element;
|
|
64
63
|
//#endregion
|
|
65
64
|
//#region src/components/clipboard/clipboard-value-text.d.ts
|
|
66
65
|
interface ClipboardValueTextBaseProps extends PolymorphicProps<'span'> {}
|
|
67
66
|
interface ClipboardValueTextProps extends HTMLProps<'span'>, ClipboardValueTextBaseProps {}
|
|
68
|
-
declare const ClipboardValueText: (props: ClipboardValueTextProps) =>
|
|
67
|
+
declare const ClipboardValueText: (props: ClipboardValueTextProps) => solid_js0.JSX.Element;
|
|
69
68
|
declare namespace clipboard_d_exports {
|
|
70
69
|
export { ClipboardContext as Context, ClipboardContextProps as ContextProps, ClipboardControl as Control, ClipboardControlBaseProps as ControlBaseProps, ClipboardControlProps as ControlProps, CopyStatusDetails, ClipboardIndicator as Indicator, ClipboardIndicatorBaseProps as IndicatorBaseProps, ClipboardIndicatorProps as IndicatorProps, ClipboardInput as Input, ClipboardInputBaseProps as InputBaseProps, ClipboardInputProps as InputProps, ClipboardLabel as Label, ClipboardLabelBaseProps as LabelBaseProps, ClipboardLabelProps as LabelProps, ClipboardRoot as Root, ClipboardRootBaseProps as RootBaseProps, ClipboardRootProps as RootProps, ClipboardRootProvider as RootProvider, ClipboardRootProviderBaseProps as RootProviderBaseProps, ClipboardRootProviderProps as RootProviderProps, ClipboardTrigger as Trigger, ClipboardTriggerBaseProps as TriggerBaseProps, ClipboardTriggerProps as TriggerProps, ClipboardValueText as ValueText, ClipboardValueTextBaseProps as ValueTextBaseProps, ClipboardValueTextProps as ValueTextProps };
|
|
71
70
|
}
|