@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,16 +1,16 @@
|
|
|
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 "../../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-
|
|
11
|
-
import "../../fieldset-
|
|
12
|
-
import { m as useFieldContext } from "../../field-
|
|
13
|
-
import { n as useListCollection, o as createListCollection } from "../../collection-
|
|
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 "../../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
|
+
import "../../fieldset-Dultvtpf.jsx";
|
|
12
|
+
import { m as useFieldContext } from "../../field-BMLVDAiH.jsx";
|
|
13
|
+
import { n as useListCollection, o as createListCollection } from "../../collection-DXodYZZC.jsx";
|
|
14
14
|
import { Index, Show, createMemo, createUniqueId } from "solid-js";
|
|
15
15
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
16
16
|
import { anatomy as selectAnatomy } from "@sprawlify/primitives/machines/select";
|
|
@@ -24,17 +24,17 @@ const [SelectProvider, useSelectContext] = createContext$1({
|
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/components/select/select-clear-trigger.tsx
|
|
26
26
|
const SelectClearTrigger = (props) => {
|
|
27
|
-
const select
|
|
28
|
-
const mergedProps = mergeProps$1(() => select
|
|
27
|
+
const select = useSelectContext();
|
|
28
|
+
const mergedProps = mergeProps$1(() => select().getClearTriggerProps(), props);
|
|
29
29
|
return <sprawlify.button {...mergedProps} />;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/components/select/select-content.tsx
|
|
34
34
|
const SelectContent = (props) => {
|
|
35
|
-
const select
|
|
35
|
+
const select = useSelectContext();
|
|
36
36
|
const presenceApi = usePresenceContext();
|
|
37
|
-
const mergedProps = mergeProps$1(() => select
|
|
37
|
+
const mergedProps = mergeProps$1(() => select().getContentProps(), () => presenceApi().presenceProps, props);
|
|
38
38
|
return <Show when={!presenceApi().unmounted}>
|
|
39
39
|
<sprawlify.div {...mergedProps} ref={composeRefs(presenceApi().ref, props.ref)} />
|
|
40
40
|
</Show>;
|
|
@@ -47,25 +47,25 @@ const SelectContext = (props) => props.children(useSelectContext());
|
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/components/select/select-control.tsx
|
|
49
49
|
const SelectControl = (props) => {
|
|
50
|
-
const select
|
|
51
|
-
const mergedProps = mergeProps$1(() => select
|
|
50
|
+
const select = useSelectContext();
|
|
51
|
+
const mergedProps = mergeProps$1(() => select().getControlProps(), props);
|
|
52
52
|
return <sprawlify.div {...mergedProps} />;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/components/select/select-hidden-select.tsx
|
|
57
57
|
const SelectHiddenSelect = (props) => {
|
|
58
|
-
const select
|
|
59
|
-
const mergedProps = mergeProps$1(() => select
|
|
60
|
-
const isValueEmpty = createMemo(() => select
|
|
58
|
+
const select = useSelectContext();
|
|
59
|
+
const mergedProps = mergeProps$1(() => select().getHiddenSelectProps(), props);
|
|
60
|
+
const isValueEmpty = createMemo(() => select().value.length === 0);
|
|
61
61
|
const field = useFieldContext();
|
|
62
62
|
return <sprawlify.select aria-describedby={field?.().ariaDescribedby} {...mergedProps}>
|
|
63
63
|
<Show when={isValueEmpty()}>
|
|
64
64
|
<option value="" />
|
|
65
65
|
</Show>
|
|
66
|
-
<Index each={select
|
|
67
|
-
{(item) => <option value={select
|
|
68
|
-
{select
|
|
66
|
+
<Index each={select().collection.items}>
|
|
67
|
+
{(item) => <option value={select().collection.getItemValue(item()) ?? ""} disabled={select().collection.getItemDisabled(item())}>
|
|
68
|
+
{select().collection.stringifyItem(item())}
|
|
69
69
|
</option>}
|
|
70
70
|
</Index>
|
|
71
71
|
</sprawlify.select>;
|
|
@@ -74,8 +74,8 @@ const SelectHiddenSelect = (props) => {
|
|
|
74
74
|
//#endregion
|
|
75
75
|
//#region src/components/select/select-indicator.tsx
|
|
76
76
|
const SelectIndicator = (props) => {
|
|
77
|
-
const select
|
|
78
|
-
const mergedProps = mergeProps$1(() => select
|
|
77
|
+
const select = useSelectContext();
|
|
78
|
+
const mergedProps = mergeProps$1(() => select().getIndicatorProps(), props);
|
|
79
79
|
return <sprawlify.div {...mergedProps} />;
|
|
80
80
|
};
|
|
81
81
|
|
|
@@ -97,9 +97,9 @@ const [SelectItemPropsProvider, useSelectItemPropsContext] = createContext$1({
|
|
|
97
97
|
//#region src/components/select/select-item.tsx
|
|
98
98
|
const SelectItem = (props) => {
|
|
99
99
|
const [itemProps, localProps] = createSplitProps()(props, ["item", "persistFocus"]);
|
|
100
|
-
const select
|
|
101
|
-
const mergedProps = mergeProps$1(() => select
|
|
102
|
-
const itemState = createMemo(() => select
|
|
100
|
+
const select = useSelectContext();
|
|
101
|
+
const mergedProps = mergeProps$1(() => select().getItemProps(itemProps), localProps);
|
|
102
|
+
const itemState = createMemo(() => select().getItemState(itemProps));
|
|
103
103
|
return <SelectItemPropsProvider value={itemProps}>
|
|
104
104
|
<SelectItemProvider value={itemState}>
|
|
105
105
|
<sprawlify.div {...mergedProps} />
|
|
@@ -122,9 +122,9 @@ const [SelectItemGroupPropsProvider, useSelectItemGroupPropsContext] = createCon
|
|
|
122
122
|
//#region src/components/select/select-item-group.tsx
|
|
123
123
|
const SelectItemGroup = (props) => {
|
|
124
124
|
const [_itemGroupProps, localProps] = createSplitProps()(props, ["id"]);
|
|
125
|
-
const select
|
|
125
|
+
const select = useSelectContext();
|
|
126
126
|
const itemGroupProps = mergeProps$1({ id: createUniqueId() }, _itemGroupProps);
|
|
127
|
-
const mergedProps = mergeProps$1(() => select
|
|
127
|
+
const mergedProps = mergeProps$1(() => select().getItemGroupProps(itemGroupProps), localProps);
|
|
128
128
|
return <SelectItemGroupPropsProvider value={itemGroupProps}>
|
|
129
129
|
<sprawlify.div {...mergedProps} />
|
|
130
130
|
</SelectItemGroupPropsProvider>;
|
|
@@ -133,52 +133,52 @@ const SelectItemGroup = (props) => {
|
|
|
133
133
|
//#endregion
|
|
134
134
|
//#region src/components/select/select-item-group-label.tsx
|
|
135
135
|
const SelectItemGroupLabel = (props) => {
|
|
136
|
-
const select
|
|
136
|
+
const select = useSelectContext();
|
|
137
137
|
const itemGroupProps = useSelectItemGroupPropsContext();
|
|
138
|
-
const mergedProps = mergeProps$1(() => select
|
|
138
|
+
const mergedProps = mergeProps$1(() => select().getItemGroupLabelProps({ htmlFor: itemGroupProps.id }), props);
|
|
139
139
|
return <sprawlify.div {...mergedProps} />;
|
|
140
140
|
};
|
|
141
141
|
|
|
142
142
|
//#endregion
|
|
143
143
|
//#region src/components/select/select-item-indicator.tsx
|
|
144
144
|
const SelectItemIndicator = (props) => {
|
|
145
|
-
const select
|
|
145
|
+
const select = useSelectContext();
|
|
146
146
|
const itemProps = useSelectItemPropsContext();
|
|
147
|
-
const mergedProps = mergeProps$1(() => select
|
|
147
|
+
const mergedProps = mergeProps$1(() => select().getItemIndicatorProps(itemProps), props);
|
|
148
148
|
return <sprawlify.div {...mergedProps} />;
|
|
149
149
|
};
|
|
150
150
|
|
|
151
151
|
//#endregion
|
|
152
152
|
//#region src/components/select/select-item-text.tsx
|
|
153
153
|
const SelectItemText = (props) => {
|
|
154
|
-
const select
|
|
154
|
+
const select = useSelectContext();
|
|
155
155
|
const itemProps = useSelectItemPropsContext();
|
|
156
|
-
const mergedProps = mergeProps$1(() => select
|
|
156
|
+
const mergedProps = mergeProps$1(() => select().getItemTextProps(itemProps), props);
|
|
157
157
|
return <sprawlify.span {...mergedProps} />;
|
|
158
158
|
};
|
|
159
159
|
|
|
160
160
|
//#endregion
|
|
161
161
|
//#region src/components/select/select-label.tsx
|
|
162
162
|
const SelectLabel = (props) => {
|
|
163
|
-
const select
|
|
164
|
-
const mergedProps = mergeProps$1(() => select
|
|
163
|
+
const select = useSelectContext();
|
|
164
|
+
const mergedProps = mergeProps$1(() => select().getLabelProps(), props);
|
|
165
165
|
return <sprawlify.label {...mergedProps} />;
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
//#endregion
|
|
169
169
|
//#region src/components/select/select-list.tsx
|
|
170
170
|
const SelectList = (props) => {
|
|
171
|
-
const select
|
|
172
|
-
const mergedProps = mergeProps$1(() => select
|
|
171
|
+
const select = useSelectContext();
|
|
172
|
+
const mergedProps = mergeProps$1(() => select().getListProps(), props);
|
|
173
173
|
return <sprawlify.div {...mergedProps} />;
|
|
174
174
|
};
|
|
175
175
|
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/components/select/select-positioner.tsx
|
|
178
178
|
const SelectPositioner = (props) => {
|
|
179
|
-
const select
|
|
179
|
+
const select = useSelectContext();
|
|
180
180
|
const presenceApi = usePresenceContext();
|
|
181
|
-
const mergedProps = mergeProps$1(() => select
|
|
181
|
+
const mergedProps = mergeProps$1(() => select().getPositionerProps(), props);
|
|
182
182
|
return <Show when={!presenceApi().unmounted}>
|
|
183
183
|
<sprawlify.div {...mergedProps} />
|
|
184
184
|
</Show>;
|
|
@@ -244,10 +244,10 @@ const SelectRoot = (props) => {
|
|
|
244
244
|
"scrollToIndexFn",
|
|
245
245
|
"value"
|
|
246
246
|
]);
|
|
247
|
-
const select
|
|
248
|
-
const presenceApi = usePresence(mergeProps$1(() => ({ present: select
|
|
249
|
-
const mergedProps = mergeProps$1(() => select
|
|
250
|
-
return <SelectProvider value={select
|
|
247
|
+
const select = useSelect(useSelectProps);
|
|
248
|
+
const presenceApi = usePresence(mergeProps$1(() => ({ present: select().open }), presenceProps));
|
|
249
|
+
const mergedProps = mergeProps$1(() => select().getRootProps(), localProps);
|
|
250
|
+
return <SelectProvider value={select}>
|
|
251
251
|
<PresenceProvider value={presenceApi}>
|
|
252
252
|
<sprawlify.div {...mergedProps} />
|
|
253
253
|
</PresenceProvider>
|
|
@@ -258,10 +258,10 @@ const SelectRoot = (props) => {
|
|
|
258
258
|
//#region src/components/select/select-root-provider.tsx
|
|
259
259
|
const SelectRootProvider = (props) => {
|
|
260
260
|
const [presenceProps, selectProps] = splitPresenceProps(props);
|
|
261
|
-
const [{ value: select
|
|
262
|
-
const presence = usePresence(mergeProps$1(() => ({ present: select
|
|
263
|
-
const mergedProps = mergeProps$1(() => select
|
|
264
|
-
return <SelectProvider value={select
|
|
261
|
+
const [{ value: select }, localProps] = createSplitProps()(selectProps, ["value"]);
|
|
262
|
+
const presence = usePresence(mergeProps$1(() => ({ present: select().open }), presenceProps));
|
|
263
|
+
const mergedProps = mergeProps$1(() => select().getRootProps(), localProps);
|
|
264
|
+
return <SelectProvider value={select}>
|
|
265
265
|
<PresenceProvider value={presence}>
|
|
266
266
|
<sprawlify.div {...mergedProps} />
|
|
267
267
|
</PresenceProvider>
|
|
@@ -271,17 +271,17 @@ const SelectRootProvider = (props) => {
|
|
|
271
271
|
//#endregion
|
|
272
272
|
//#region src/components/select/select-trigger.tsx
|
|
273
273
|
const SelectTrigger = (props) => {
|
|
274
|
-
const select
|
|
275
|
-
const mergedProps = mergeProps$1(() => select
|
|
274
|
+
const select = useSelectContext();
|
|
275
|
+
const mergedProps = mergeProps$1(() => select().getTriggerProps(), props);
|
|
276
276
|
return <sprawlify.button {...mergedProps} />;
|
|
277
277
|
};
|
|
278
278
|
|
|
279
279
|
//#endregion
|
|
280
280
|
//#region src/components/select/select-value-text.tsx
|
|
281
281
|
const SelectValueText = (props) => {
|
|
282
|
-
const select
|
|
283
|
-
const mergedProps = mergeProps$1(() => select
|
|
284
|
-
return <sprawlify.span {...mergedProps}>{select
|
|
282
|
+
const select = useSelectContext();
|
|
283
|
+
const mergedProps = mergeProps$1(() => select().getValueTextProps(), props);
|
|
284
|
+
return <sprawlify.span {...mergedProps}>{select().valueAsString || props.placeholder}</sprawlify.span>;
|
|
285
285
|
};
|
|
286
286
|
|
|
287
287
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
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 signaturePadAnatomy } from "../../signature-pad-anatomy-
|
|
5
|
-
import * as
|
|
1
|
+
import { n as PropTypes } from "../../index-D78tMX6m.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor, t as Assign } from "../../types-B1RjmsgP.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-cJ7CaPAR.js";
|
|
4
|
+
import { t as signaturePadAnatomy } from "../../signature-pad-anatomy-CwHcAo6v.js";
|
|
5
|
+
import * as solid_js63 from "solid-js";
|
|
6
6
|
import { Accessor, JSX } from "solid-js";
|
|
7
7
|
import * as signaturePad from "@sprawlify/primitives/machines/signature-pad";
|
|
8
8
|
import { DrawDetails, DrawDetails as SignaturePadDrawDetails, DrawEndDetails, DrawEndDetails as SignaturePadDrawEndDetails, DrawingOptions, DrawingOptions as SignaturePadDrawingOptions, HiddenInputProps } from "@sprawlify/primitives/machines/signature-pad";
|
|
@@ -10,7 +10,7 @@ import { DrawDetails, DrawDetails as SignaturePadDrawDetails, DrawEndDetails, Dr
|
|
|
10
10
|
//#region src/components/signature-pad/signature-pad-clear-trigger.d.ts
|
|
11
11
|
interface SignaturePadClearTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
12
12
|
interface SignaturePadClearTriggerProps extends HTMLProps<'button'>, SignaturePadClearTriggerBaseProps {}
|
|
13
|
-
declare const SignaturePadClearTrigger: (props: SignaturePadClearTriggerProps) =>
|
|
13
|
+
declare const SignaturePadClearTrigger: (props: SignaturePadClearTriggerProps) => solid_js63.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/components/signature-pad/use-signature-pad.d.ts
|
|
16
16
|
interface UseSignaturePadProps extends Optional<Omit<signaturePad.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -29,27 +29,27 @@ declare const SignaturePadContext: (props: SignaturePadContextProps) => JSX.Elem
|
|
|
29
29
|
//#region src/components/signature-pad/signature-pad-control.d.ts
|
|
30
30
|
interface SignaturePadControlBaseProps extends PolymorphicProps<'div'> {}
|
|
31
31
|
interface SignaturePadControlProps extends HTMLProps<'div'>, SignaturePadControlBaseProps {}
|
|
32
|
-
declare const SignaturePadControl: (props: SignaturePadControlProps) =>
|
|
32
|
+
declare const SignaturePadControl: (props: SignaturePadControlProps) => solid_js63.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/components/signature-pad/signature-pad-guide.d.ts
|
|
35
35
|
interface SignaturePadGuideBaseProps extends PolymorphicProps<'div'> {}
|
|
36
36
|
interface SignaturePadGuideProps extends HTMLProps<'div'>, SignaturePadGuideBaseProps {}
|
|
37
|
-
declare const SignaturePadGuide: (props: SignaturePadGuideProps) =>
|
|
37
|
+
declare const SignaturePadGuide: (props: SignaturePadGuideProps) => solid_js63.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/components/signature-pad/signature-pad-hidden-input.d.ts
|
|
40
40
|
interface SignaturePadHiddenInputBaseProps extends HiddenInputProps, PolymorphicProps<'input'> {}
|
|
41
41
|
interface SignaturePadHiddenInputProps extends Assign<HTMLProps<'input'>, SignaturePadHiddenInputBaseProps> {}
|
|
42
|
-
declare const SignaturePadHiddenInput: (props: SignaturePadHiddenInputProps) =>
|
|
42
|
+
declare const SignaturePadHiddenInput: (props: SignaturePadHiddenInputProps) => solid_js63.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/components/signature-pad/signature-pad-label.d.ts
|
|
45
45
|
interface SignaturePadLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
46
46
|
interface SignaturePadLabelProps extends HTMLProps<'label'>, SignaturePadLabelBaseProps {}
|
|
47
|
-
declare const SignaturePadLabel: (props: SignaturePadLabelProps) =>
|
|
47
|
+
declare const SignaturePadLabel: (props: SignaturePadLabelProps) => solid_js63.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/signature-pad/signature-pad-root.d.ts
|
|
50
50
|
interface SignaturePadRootBaseProps extends UseSignaturePadProps, PolymorphicProps<'div'> {}
|
|
51
51
|
interface SignaturePadRootProps extends HTMLProps<'div'>, SignaturePadRootBaseProps {}
|
|
52
|
-
declare const SignaturePadRoot: (props: SignaturePadRootProps) =>
|
|
52
|
+
declare const SignaturePadRoot: (props: SignaturePadRootProps) => solid_js63.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/components/signature-pad/signature-pad-root-provider.d.ts
|
|
55
55
|
interface RootProviderProps {
|
|
@@ -57,12 +57,12 @@ interface RootProviderProps {
|
|
|
57
57
|
}
|
|
58
58
|
interface SignaturePadRootProviderBaseProps extends PolymorphicProps<'div'> {}
|
|
59
59
|
interface SignaturePadRootProviderProps extends HTMLProps<'div'>, RootProviderProps, SignaturePadRootProviderBaseProps {}
|
|
60
|
-
declare const SignaturePadRootProvider: (props: SignaturePadRootProviderProps) =>
|
|
60
|
+
declare const SignaturePadRootProvider: (props: SignaturePadRootProviderProps) => solid_js63.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/components/signature-pad/signature-pad-segment.d.ts
|
|
63
63
|
interface SignaturePadSegmentBaseProps extends PolymorphicProps<'svg'> {}
|
|
64
64
|
interface SignaturePadSegmentProps extends HTMLProps<'svg'>, SignaturePadSegmentBaseProps {}
|
|
65
|
-
declare const SignaturePadSegment: (props: SignaturePadSegmentProps) =>
|
|
65
|
+
declare const SignaturePadSegment: (props: SignaturePadSegmentProps) => solid_js63.JSX.Element;
|
|
66
66
|
declare namespace signature_pad_d_exports {
|
|
67
67
|
export { SignaturePadClearTrigger as ClearTrigger, SignaturePadClearTriggerBaseProps as ClearTriggerBaseProps, SignaturePadClearTriggerProps as ClearTriggerProps, SignaturePadContext as Context, SignaturePadContextProps as ContextProps, SignaturePadControl as Control, SignaturePadControlBaseProps as ControlBaseProps, SignaturePadControlProps as ControlProps, DrawDetails, DrawEndDetails, DrawingOptions, SignaturePadGuide as Guide, SignaturePadGuideBaseProps as GuideBaseProps, SignaturePadGuideProps as GuideProps, SignaturePadHiddenInput as HiddenInput, SignaturePadHiddenInputBaseProps as HiddenInputBaseProps, SignaturePadHiddenInputProps as HiddenInputProps, SignaturePadLabel as Label, SignaturePadLabelBaseProps as LabelBaseProps, SignaturePadLabelProps as LabelProps, SignaturePadRoot as Root, SignaturePadRootBaseProps as RootBaseProps, SignaturePadRootProps as RootProps, SignaturePadRootProvider as RootProvider, SignaturePadRootProviderBaseProps as RootProviderBaseProps, SignaturePadRootProviderProps as RootProviderProps, SignaturePadSegment as Segment, SignaturePadSegmentBaseProps as SegmentBaseProps, SignaturePadSegmentProps as SegmentProps };
|
|
68
68
|
}
|
|
@@ -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 "../../field-anatomy-
|
|
8
|
-
import "../../fieldset-anatomy-
|
|
9
|
-
import { t as signaturePadAnatomy } from "../../signature-pad-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-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 "../../field-anatomy-DOCpzb4B.js";
|
|
8
|
+
import "../../fieldset-anatomy-DmZTaMK6.js";
|
|
9
|
+
import { t as signaturePadAnatomy } from "../../signature-pad-anatomy-Mz3w_i5B.js";
|
|
10
|
+
import { t as createSplitProps } from "../../create-split-props-BcbxQ6yh.js";
|
|
11
|
+
import "../../compose-refs-D3PQgBgQ.js";
|
|
12
|
+
import "../../fieldset-DfZfBktp.js";
|
|
13
|
+
import { p as useFieldContext } from "../../field-mV6xBX-1.js";
|
|
14
14
|
import { For, Show, createMemo, createUniqueId } from "solid-js";
|
|
15
15
|
import { createComponent, mergeProps as mergeProps$1, spread, template } from "solid-js/web";
|
|
16
16
|
import * as signaturePad from "@sprawlify/primitives/machines/signature-pad";
|
|
@@ -24,8 +24,8 @@ const [SignaturePadProvider, useSignaturePadContext] = createContext$1({
|
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/components/signature-pad/signature-pad-clear-trigger.tsx
|
|
26
26
|
const SignaturePadClearTrigger = (props) => {
|
|
27
|
-
const signaturePad
|
|
28
|
-
const mergedProps = mergeProps$2(() => signaturePad
|
|
27
|
+
const signaturePad = useSignaturePadContext();
|
|
28
|
+
const mergedProps = mergeProps$2(() => signaturePad().getClearTriggerProps(), props);
|
|
29
29
|
return createComponent(sprawlify.button, mergedProps);
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -36,16 +36,16 @@ const SignaturePadContext = (props) => props.children(useSignaturePadContext());
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/components/signature-pad/signature-pad-control.tsx
|
|
38
38
|
const SignaturePadControl = (props) => {
|
|
39
|
-
const signaturePad
|
|
40
|
-
const mergedProps = mergeProps$2(() => signaturePad
|
|
39
|
+
const signaturePad = useSignaturePadContext();
|
|
40
|
+
const mergedProps = mergeProps$2(() => signaturePad().getControlProps(), props);
|
|
41
41
|
return createComponent(sprawlify.div, mergedProps);
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/components/signature-pad/signature-pad-guide.tsx
|
|
46
46
|
const SignaturePadGuide = (props) => {
|
|
47
|
-
const signaturePad
|
|
48
|
-
const mergedProps = mergeProps$2(() => signaturePad
|
|
47
|
+
const signaturePad = useSignaturePadContext();
|
|
48
|
+
const mergedProps = mergeProps$2(() => signaturePad().getGuideProps(), props);
|
|
49
49
|
return createComponent(sprawlify.div, mergedProps);
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -53,8 +53,8 @@ const SignaturePadGuide = (props) => {
|
|
|
53
53
|
//#region src/components/signature-pad/signature-pad-hidden-input.tsx
|
|
54
54
|
const SignaturePadHiddenInput = (props) => {
|
|
55
55
|
const [hiddenInputProps, localProps] = createSplitProps()(props, ["value"]);
|
|
56
|
-
const signaturePad
|
|
57
|
-
const mergedProps = mergeProps$2(() => signaturePad
|
|
56
|
+
const signaturePad = useSignaturePadContext();
|
|
57
|
+
const mergedProps = mergeProps$2(() => signaturePad().getHiddenInputProps(hiddenInputProps), localProps);
|
|
58
58
|
const field = useFieldContext();
|
|
59
59
|
return createComponent(sprawlify.input, mergeProps$1({ get ["aria-describedby"]() {
|
|
60
60
|
return field?.().ariaDescribedby;
|
|
@@ -64,8 +64,8 @@ const SignaturePadHiddenInput = (props) => {
|
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region src/components/signature-pad/signature-pad-label.tsx
|
|
66
66
|
const SignaturePadLabel = (props) => {
|
|
67
|
-
const signaturePad
|
|
68
|
-
const mergedProps = mergeProps$2(() => signaturePad
|
|
67
|
+
const signaturePad = useSignaturePadContext();
|
|
68
|
+
const mergedProps = mergeProps$2(() => signaturePad().getLabelProps(), props);
|
|
69
69
|
return createComponent(sprawlify.label, mergedProps);
|
|
70
70
|
};
|
|
71
71
|
|
|
@@ -111,10 +111,10 @@ const SignaturePadRoot = (props) => {
|
|
|
111
111
|
"required",
|
|
112
112
|
"translations"
|
|
113
113
|
]);
|
|
114
|
-
const signaturePad
|
|
115
|
-
const mergedProps = mergeProps$2(() => signaturePad
|
|
114
|
+
const signaturePad = useSignaturePad(useSignaturePadProps);
|
|
115
|
+
const mergedProps = mergeProps$2(() => signaturePad().getRootProps(), localProps);
|
|
116
116
|
return createComponent(SignaturePadProvider, {
|
|
117
|
-
value: signaturePad
|
|
117
|
+
value: signaturePad,
|
|
118
118
|
get children() {
|
|
119
119
|
return createComponent(sprawlify.div, mergedProps);
|
|
120
120
|
}
|
|
@@ -124,10 +124,10 @@ const SignaturePadRoot = (props) => {
|
|
|
124
124
|
//#endregion
|
|
125
125
|
//#region src/components/signature-pad/signature-pad-root-provider.tsx
|
|
126
126
|
const SignaturePadRootProvider = (props) => {
|
|
127
|
-
const [{ value: signaturePad
|
|
128
|
-
const mergedProps = mergeProps$2(() => signaturePad
|
|
127
|
+
const [{ value: signaturePad }, localProps] = createSplitProps()(props, ["value"]);
|
|
128
|
+
const mergedProps = mergeProps$2(() => signaturePad().getRootProps(), localProps);
|
|
129
129
|
return createComponent(SignaturePadProvider, {
|
|
130
|
-
value: signaturePad
|
|
130
|
+
value: signaturePad,
|
|
131
131
|
get children() {
|
|
132
132
|
return createComponent(sprawlify.div, mergedProps);
|
|
133
133
|
}
|
|
@@ -138,28 +138,28 @@ const SignaturePadRootProvider = (props) => {
|
|
|
138
138
|
//#region src/components/signature-pad/signature-pad-segment.tsx
|
|
139
139
|
var _tmpl$ = /* @__PURE__ */ template(`<title>Signature`), _tmpl$2 = /* @__PURE__ */ template(`<svg><path></svg>`, false, true, false);
|
|
140
140
|
const SignaturePadSegment = (props) => {
|
|
141
|
-
const signaturePad
|
|
142
|
-
const mergedProps = mergeProps$2(() => signaturePad
|
|
141
|
+
const signaturePad = useSignaturePadContext();
|
|
142
|
+
const mergedProps = mergeProps$2(() => signaturePad().getSegmentProps(), props);
|
|
143
143
|
return createComponent(sprawlify.svg, mergeProps$1(mergedProps, { get children() {
|
|
144
144
|
return [
|
|
145
145
|
_tmpl$(),
|
|
146
146
|
createComponent(For, {
|
|
147
147
|
get each() {
|
|
148
|
-
return signaturePad
|
|
148
|
+
return signaturePad().paths;
|
|
149
149
|
},
|
|
150
150
|
children: (path) => (() => {
|
|
151
151
|
var _el$3 = _tmpl$2();
|
|
152
|
-
spread(_el$3, mergeProps$1(() => signaturePad
|
|
152
|
+
spread(_el$3, mergeProps$1(() => signaturePad().getSegmentPathProps({ path })), true, false);
|
|
153
153
|
return _el$3;
|
|
154
154
|
})()
|
|
155
155
|
}),
|
|
156
156
|
createComponent(Show, {
|
|
157
157
|
get when() {
|
|
158
|
-
return signaturePad
|
|
158
|
+
return signaturePad().currentPath;
|
|
159
159
|
},
|
|
160
160
|
get children() {
|
|
161
161
|
var _el$2 = _tmpl$2();
|
|
162
|
-
spread(_el$2, mergeProps$1(() => signaturePad
|
|
162
|
+
spread(_el$2, mergeProps$1(() => signaturePad().getSegmentPathProps({ path: signaturePad().currentPath })), true, false);
|
|
163
163
|
return _el$2;
|
|
164
164
|
}
|
|
165
165
|
})
|
|
@@ -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 "../../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 "../../fieldset-Dultvtpf.jsx";
|
|
10
|
+
import { m as useFieldContext } from "../../field-BMLVDAiH.jsx";
|
|
11
11
|
import { For, Show, createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as signaturePad from "@sprawlify/primitives/machines/signature-pad";
|
|
13
13
|
import { anatomy as signaturePadAnatomy } from "@sprawlify/primitives/machines/signature-pad";
|
|
@@ -21,8 +21,8 @@ const [SignaturePadProvider, useSignaturePadContext] = createContext$1({
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/signature-pad/signature-pad-clear-trigger.tsx
|
|
23
23
|
const SignaturePadClearTrigger = (props) => {
|
|
24
|
-
const signaturePad
|
|
25
|
-
const mergedProps = mergeProps$1(() => signaturePad
|
|
24
|
+
const signaturePad = useSignaturePadContext();
|
|
25
|
+
const mergedProps = mergeProps$1(() => signaturePad().getClearTriggerProps(), props);
|
|
26
26
|
return <sprawlify.button {...mergedProps} />;
|
|
27
27
|
};
|
|
28
28
|
|
|
@@ -33,16 +33,16 @@ const SignaturePadContext = (props) => props.children(useSignaturePadContext());
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/components/signature-pad/signature-pad-control.tsx
|
|
35
35
|
const SignaturePadControl = (props) => {
|
|
36
|
-
const signaturePad
|
|
37
|
-
const mergedProps = mergeProps$1(() => signaturePad
|
|
36
|
+
const signaturePad = useSignaturePadContext();
|
|
37
|
+
const mergedProps = mergeProps$1(() => signaturePad().getControlProps(), props);
|
|
38
38
|
return <sprawlify.div {...mergedProps} />;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region src/components/signature-pad/signature-pad-guide.tsx
|
|
43
43
|
const SignaturePadGuide = (props) => {
|
|
44
|
-
const signaturePad
|
|
45
|
-
const mergedProps = mergeProps$1(() => signaturePad
|
|
44
|
+
const signaturePad = useSignaturePadContext();
|
|
45
|
+
const mergedProps = mergeProps$1(() => signaturePad().getGuideProps(), props);
|
|
46
46
|
return <sprawlify.div {...mergedProps} />;
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -50,8 +50,8 @@ const SignaturePadGuide = (props) => {
|
|
|
50
50
|
//#region src/components/signature-pad/signature-pad-hidden-input.tsx
|
|
51
51
|
const SignaturePadHiddenInput = (props) => {
|
|
52
52
|
const [hiddenInputProps, localProps] = createSplitProps()(props, ["value"]);
|
|
53
|
-
const signaturePad
|
|
54
|
-
const mergedProps = mergeProps$1(() => signaturePad
|
|
53
|
+
const signaturePad = useSignaturePadContext();
|
|
54
|
+
const mergedProps = mergeProps$1(() => signaturePad().getHiddenInputProps(hiddenInputProps), localProps);
|
|
55
55
|
const field = useFieldContext();
|
|
56
56
|
return <sprawlify.input aria-describedby={field?.().ariaDescribedby} {...mergedProps} />;
|
|
57
57
|
};
|
|
@@ -59,8 +59,8 @@ const SignaturePadHiddenInput = (props) => {
|
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/components/signature-pad/signature-pad-label.tsx
|
|
61
61
|
const SignaturePadLabel = (props) => {
|
|
62
|
-
const signaturePad
|
|
63
|
-
const mergedProps = mergeProps$1(() => signaturePad
|
|
62
|
+
const signaturePad = useSignaturePadContext();
|
|
63
|
+
const mergedProps = mergeProps$1(() => signaturePad().getLabelProps(), props);
|
|
64
64
|
return <sprawlify.label {...mergedProps} />;
|
|
65
65
|
};
|
|
66
66
|
|
|
@@ -106,9 +106,9 @@ const SignaturePadRoot = (props) => {
|
|
|
106
106
|
"required",
|
|
107
107
|
"translations"
|
|
108
108
|
]);
|
|
109
|
-
const signaturePad
|
|
110
|
-
const mergedProps = mergeProps$1(() => signaturePad
|
|
111
|
-
return <SignaturePadProvider value={signaturePad
|
|
109
|
+
const signaturePad = useSignaturePad(useSignaturePadProps);
|
|
110
|
+
const mergedProps = mergeProps$1(() => signaturePad().getRootProps(), localProps);
|
|
111
|
+
return <SignaturePadProvider value={signaturePad}>
|
|
112
112
|
<sprawlify.div {...mergedProps} />
|
|
113
113
|
</SignaturePadProvider>;
|
|
114
114
|
};
|
|
@@ -116,9 +116,9 @@ const SignaturePadRoot = (props) => {
|
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region src/components/signature-pad/signature-pad-root-provider.tsx
|
|
118
118
|
const SignaturePadRootProvider = (props) => {
|
|
119
|
-
const [{ value: signaturePad
|
|
120
|
-
const mergedProps = mergeProps$1(() => signaturePad
|
|
121
|
-
return <SignaturePadProvider value={signaturePad
|
|
119
|
+
const [{ value: signaturePad }, localProps] = createSplitProps()(props, ["value"]);
|
|
120
|
+
const mergedProps = mergeProps$1(() => signaturePad().getRootProps(), localProps);
|
|
121
|
+
return <SignaturePadProvider value={signaturePad}>
|
|
122
122
|
<sprawlify.div {...mergedProps} />
|
|
123
123
|
</SignaturePadProvider>;
|
|
124
124
|
};
|
|
@@ -126,14 +126,14 @@ const SignaturePadRootProvider = (props) => {
|
|
|
126
126
|
//#endregion
|
|
127
127
|
//#region src/components/signature-pad/signature-pad-segment.tsx
|
|
128
128
|
const SignaturePadSegment = (props) => {
|
|
129
|
-
const signaturePad
|
|
130
|
-
const mergedProps = mergeProps$1(() => signaturePad
|
|
129
|
+
const signaturePad = useSignaturePadContext();
|
|
130
|
+
const mergedProps = mergeProps$1(() => signaturePad().getSegmentProps(), props);
|
|
131
131
|
return <sprawlify.svg {...mergedProps}>
|
|
132
132
|
<title>Signature</title>
|
|
133
|
-
<For each={signaturePad
|
|
134
|
-
<Show when={signaturePad
|
|
133
|
+
<For each={signaturePad().paths}>{(path) => <path {...signaturePad().getSegmentPathProps({ path })} />}</For>
|
|
134
|
+
<Show when={signaturePad().currentPath}>
|
|
135
135
|
{}
|
|
136
|
-
<path {...signaturePad
|
|
136
|
+
<path {...signaturePad().getSegmentPathProps({ path: signaturePad().currentPath })} />
|
|
137
137
|
</Show>
|
|
138
138
|
</sprawlify.svg>;
|
|
139
139
|
};
|