@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,8 +1,8 @@
|
|
|
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 { t as tagsInputAnatomy } from "../../tags-input-anatomy-
|
|
5
|
-
import * as
|
|
1
|
+
import { n as PropTypes } from "../../index-D78tMX6m.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-B1RjmsgP.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-cJ7CaPAR.js";
|
|
4
|
+
import { t as tagsInputAnatomy } from "../../tags-input-anatomy-CvMsM3_R.js";
|
|
5
|
+
import * as solid_js198 from "solid-js";
|
|
6
6
|
import { Accessor, JSX } from "solid-js";
|
|
7
7
|
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
8
8
|
import { FocusOutsideEvent, FocusOutsideEvent as TagsInputFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as TagsInputHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as TagsInputInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as TagsInputInteractOutsideEvent, ItemProps, ItemState, PointerDownOutsideEvent, PointerDownOutsideEvent as TagsInputPointerDownOutsideEvent, ValidityChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails } from "@sprawlify/primitives/machines/tags-input";
|
|
@@ -10,7 +10,7 @@ import { FocusOutsideEvent, FocusOutsideEvent as TagsInputFocusOutsideEvent, Hig
|
|
|
10
10
|
//#region src/components/tags-input/tags-input-clear-trigger.d.ts
|
|
11
11
|
interface TagsInputClearTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
12
12
|
interface TagsInputClearTriggerProps extends HTMLProps<'button'>, TagsInputClearTriggerBaseProps {}
|
|
13
|
-
declare const TagsInputClearTrigger: (props: TagsInputClearTriggerProps) =>
|
|
13
|
+
declare const TagsInputClearTrigger: (props: TagsInputClearTriggerProps) => solid_js198.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/components/tags-input/use-tags-input.d.ts
|
|
16
16
|
interface UseTagsInputProps extends Optional<Omit<tagsInput.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -29,22 +29,22 @@ declare const TagsInputContext: (props: TagsInputContextProps) => JSX.Element;
|
|
|
29
29
|
//#region src/components/tags-input/tags-input-control.d.ts
|
|
30
30
|
interface TagsInputControlBaseProps extends PolymorphicProps<'div'> {}
|
|
31
31
|
interface TagsInputControlProps extends HTMLProps<'div'>, TagsInputControlBaseProps {}
|
|
32
|
-
declare const TagsInputControl: (props: TagsInputControlProps) =>
|
|
32
|
+
declare const TagsInputControl: (props: TagsInputControlProps) => solid_js198.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/components/tags-input/tags-input-hidden-input.d.ts
|
|
35
35
|
interface TagsInputHiddenInputBaseProps extends PolymorphicProps<'input'> {}
|
|
36
36
|
interface TagsInputHiddenInputProps extends HTMLProps<'input'>, TagsInputHiddenInputBaseProps {}
|
|
37
|
-
declare const TagsInputHiddenInput: (props: TagsInputHiddenInputProps) =>
|
|
37
|
+
declare const TagsInputHiddenInput: (props: TagsInputHiddenInputProps) => solid_js198.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/components/tags-input/tags-input-input.d.ts
|
|
40
40
|
interface TagsInputInputBaseProps extends PolymorphicProps<'input'> {}
|
|
41
41
|
interface TagsInputInputProps extends HTMLProps<'input'>, TagsInputInputBaseProps {}
|
|
42
|
-
declare const TagsInputInput: (props: TagsInputInputProps) =>
|
|
42
|
+
declare const TagsInputInput: (props: TagsInputInputProps) => solid_js198.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/components/tags-input/tags-input-item.d.ts
|
|
45
45
|
interface TagsInputItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
|
|
46
46
|
interface TagsInputItemProps extends HTMLProps<'div'>, TagsInputItemBaseProps {}
|
|
47
|
-
declare const TagsInputItem: (props: TagsInputItemProps) =>
|
|
47
|
+
declare const TagsInputItem: (props: TagsInputItemProps) => solid_js198.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/tags-input/use-tags-input-item-context.d.ts
|
|
50
50
|
interface UseTagsInputItemContext extends Accessor<ItemState> {}
|
|
@@ -58,32 +58,32 @@ declare const TagsInputItemContext: (props: TagsInputItemContextProps) => JSX.El
|
|
|
58
58
|
//#region src/components/tags-input/tags-input-item-delete-trigger.d.ts
|
|
59
59
|
interface TagsInputItemDeleteTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
60
60
|
interface TagsInputItemDeleteTriggerProps extends HTMLProps<'button'>, TagsInputItemDeleteTriggerBaseProps {}
|
|
61
|
-
declare const TagsInputItemDeleteTrigger: (props: TagsInputItemDeleteTriggerProps) =>
|
|
61
|
+
declare const TagsInputItemDeleteTrigger: (props: TagsInputItemDeleteTriggerProps) => solid_js198.JSX.Element;
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/components/tags-input/tags-input-item-input.d.ts
|
|
64
64
|
interface TagsInputItemInputBaseProps extends PolymorphicProps<'input'> {}
|
|
65
65
|
interface TagsInputItemInputProps extends HTMLProps<'input'>, TagsInputItemInputBaseProps {}
|
|
66
|
-
declare const TagsInputItemInput: (props: TagsInputItemInputProps) =>
|
|
66
|
+
declare const TagsInputItemInput: (props: TagsInputItemInputProps) => solid_js198.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/components/tags-input/tags-input-item-preview.d.ts
|
|
69
69
|
interface TagsInputItemPreviewBaseProps extends PolymorphicProps<'div'> {}
|
|
70
70
|
interface TagsInputItemPreviewProps extends HTMLProps<'div'>, TagsInputItemPreviewBaseProps {}
|
|
71
|
-
declare const TagsInputItemPreview: (props: TagsInputItemPreviewProps) =>
|
|
71
|
+
declare const TagsInputItemPreview: (props: TagsInputItemPreviewProps) => solid_js198.JSX.Element;
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/components/tags-input/tags-input-item-text.d.ts
|
|
74
74
|
interface TagsInputItemTextBaseProps extends PolymorphicProps<'span'> {}
|
|
75
75
|
interface TagsInputItemTextProps extends HTMLProps<'span'>, TagsInputItemTextBaseProps {}
|
|
76
|
-
declare const TagsInputItemText: (props: TagsInputItemTextProps) =>
|
|
76
|
+
declare const TagsInputItemText: (props: TagsInputItemTextProps) => solid_js198.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/components/tags-input/tags-input-label.d.ts
|
|
79
79
|
interface TagsInputLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
80
80
|
interface TagsInputLabelProps extends HTMLProps<'label'>, TagsInputLabelBaseProps {}
|
|
81
|
-
declare const TagsInputLabel: (props: TagsInputLabelProps) =>
|
|
81
|
+
declare const TagsInputLabel: (props: TagsInputLabelProps) => solid_js198.JSX.Element;
|
|
82
82
|
//#endregion
|
|
83
83
|
//#region src/components/tags-input/tags-input-root.d.ts
|
|
84
84
|
interface TagsInputRootBaseProps extends UseTagsInputProps, PolymorphicProps<'div'> {}
|
|
85
85
|
interface TagsInputRootProps extends HTMLProps<'div'>, TagsInputRootBaseProps {}
|
|
86
|
-
declare const TagsInputRoot: (props: TagsInputRootProps) =>
|
|
86
|
+
declare const TagsInputRoot: (props: TagsInputRootProps) => solid_js198.JSX.Element;
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region src/components/tags-input/tags-input-root-provider.d.ts
|
|
89
89
|
interface RootProviderProps {
|
|
@@ -91,7 +91,7 @@ interface RootProviderProps {
|
|
|
91
91
|
}
|
|
92
92
|
interface TagsInputRootProviderBaseProps extends PolymorphicProps<'div'> {}
|
|
93
93
|
interface TagsInputRootProviderProps extends HTMLProps<'div'>, RootProviderProps, TagsInputRootProviderBaseProps {}
|
|
94
|
-
declare const TagsInputRootProvider: (props: TagsInputRootProviderProps) =>
|
|
94
|
+
declare const TagsInputRootProvider: (props: TagsInputRootProviderProps) => solid_js198.JSX.Element;
|
|
95
95
|
declare namespace tags_input_d_exports {
|
|
96
96
|
export { TagsInputClearTrigger as ClearTrigger, TagsInputClearTriggerBaseProps as ClearTriggerBaseProps, TagsInputClearTriggerProps as ClearTriggerProps, TagsInputContext as Context, TagsInputContextProps as ContextProps, TagsInputControl as Control, TagsInputControlBaseProps as ControlBaseProps, TagsInputControlProps as ControlProps, FocusOutsideEvent, TagsInputHiddenInput as HiddenInput, TagsInputHiddenInputBaseProps as HiddenInputBaseProps, TagsInputHiddenInputProps as HiddenInputProps, HighlightChangeDetails, TagsInputInput as Input, TagsInputInputBaseProps as InputBaseProps, TagsInputInputProps as InputProps, InputValueChangeDetails, InteractOutsideEvent, TagsInputItem as Item, TagsInputItemBaseProps as ItemBaseProps, TagsInputItemContext as ItemContext, TagsInputItemContextProps as ItemContextProps, TagsInputItemDeleteTrigger as ItemDeleteTrigger, TagsInputItemDeleteTriggerBaseProps as ItemDeleteTriggerBaseProps, TagsInputItemDeleteTriggerProps as ItemDeleteTriggerProps, TagsInputItemInput as ItemInput, TagsInputItemInputBaseProps as ItemInputBaseProps, TagsInputItemInputProps as ItemInputProps, TagsInputItemPreview as ItemPreview, TagsInputItemPreviewBaseProps as ItemPreviewBaseProps, TagsInputItemPreviewProps as ItemPreviewProps, TagsInputItemProps as ItemProps, TagsInputItemText as ItemText, TagsInputItemTextBaseProps as ItemTextBaseProps, TagsInputItemTextProps as ItemTextProps, TagsInputLabel as Label, TagsInputLabelBaseProps as LabelBaseProps, TagsInputLabelProps as LabelProps, PointerDownOutsideEvent, TagsInputRoot as Root, TagsInputRootBaseProps as RootBaseProps, TagsInputRootProps as RootProps, TagsInputRootProvider as RootProvider, TagsInputRootProviderBaseProps as RootProviderBaseProps, TagsInputRootProviderProps as RootProviderProps, ValidityChangeDetails, ValueChangeDetails };
|
|
97
97
|
}
|
|
@@ -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 tagsInputAnatomy } from "../../tags-input-anatomy-
|
|
10
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
11
|
-
import "../../compose-refs-
|
|
12
|
-
import "../../fieldset-
|
|
13
|
-
import { p as useFieldContext } from "../../field-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-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 tagsInputAnatomy } from "../../tags-input-anatomy-DYSi98Bx.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 { createMemo, createUniqueId } from "solid-js";
|
|
15
15
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
16
16
|
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
@@ -44,8 +44,8 @@ const TagsInputControl = (props) => {
|
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/components/tags-input/tags-input-hidden-input.tsx
|
|
46
46
|
const TagsInputHiddenInput = (props) => {
|
|
47
|
-
const tagsInput
|
|
48
|
-
const mergedProps = mergeProps$2(() => tagsInput
|
|
47
|
+
const tagsInput = useTagsInputContext();
|
|
48
|
+
const mergedProps = mergeProps$2(() => tagsInput().getHiddenInputProps(), props);
|
|
49
49
|
const field = useFieldContext();
|
|
50
50
|
return createComponent(sprawlify.input, mergeProps$1({ get ["aria-describedby"]() {
|
|
51
51
|
return field?.().ariaDescribedby;
|
|
@@ -219,10 +219,10 @@ const TagsInputRoot = (props) => {
|
|
|
219
219
|
//#endregion
|
|
220
220
|
//#region src/components/tags-input/tags-input-root-provider.tsx
|
|
221
221
|
const TagsInputRootProvider = (props) => {
|
|
222
|
-
const [{ value: tagsInput
|
|
223
|
-
const mergedProps = mergeProps$2(() => tagsInput
|
|
222
|
+
const [{ value: tagsInput }, localProps] = createSplitProps()(props, ["value"]);
|
|
223
|
+
const mergedProps = mergeProps$2(() => tagsInput().getRootProps(), localProps);
|
|
224
224
|
return createComponent(TagsInputProvider, {
|
|
225
|
-
value: tagsInput
|
|
225
|
+
value: tagsInput,
|
|
226
226
|
get children() {
|
|
227
227
|
return createComponent(sprawlify.div, mergedProps);
|
|
228
228
|
}
|
|
@@ -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 { createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
13
13
|
import { anatomy as tagsInputAnatomy } from "@sprawlify/primitives/machines/tags-input";
|
|
@@ -41,8 +41,8 @@ const TagsInputControl = (props) => {
|
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region src/components/tags-input/tags-input-hidden-input.tsx
|
|
43
43
|
const TagsInputHiddenInput = (props) => {
|
|
44
|
-
const tagsInput
|
|
45
|
-
const mergedProps = mergeProps$1(() => tagsInput
|
|
44
|
+
const tagsInput = useTagsInputContext();
|
|
45
|
+
const mergedProps = mergeProps$1(() => tagsInput().getHiddenInputProps(), props);
|
|
46
46
|
const field = useFieldContext();
|
|
47
47
|
return <sprawlify.input aria-describedby={field?.().ariaDescribedby} {...mergedProps} />;
|
|
48
48
|
};
|
|
@@ -205,9 +205,9 @@ const TagsInputRoot = (props) => {
|
|
|
205
205
|
//#endregion
|
|
206
206
|
//#region src/components/tags-input/tags-input-root-provider.tsx
|
|
207
207
|
const TagsInputRootProvider = (props) => {
|
|
208
|
-
const [{ value: tagsInput
|
|
209
|
-
const mergedProps = mergeProps$1(() => tagsInput
|
|
210
|
-
return <TagsInputProvider value={tagsInput
|
|
208
|
+
const [{ value: tagsInput }, localProps] = createSplitProps()(props, ["value"]);
|
|
209
|
+
const mergedProps = mergeProps$1(() => tagsInput().getRootProps(), localProps);
|
|
210
|
+
return <TagsInputProvider value={tagsInput}>
|
|
211
211
|
<sprawlify.div {...mergedProps} />
|
|
212
212
|
</TagsInputProvider>;
|
|
213
213
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { t as timerAnatomy } from "../../timer-anatomy-
|
|
5
|
-
import * as
|
|
1
|
+
import { n as PropTypes } from "../../index-D78tMX6m.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-B1RjmsgP.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-cJ7CaPAR.js";
|
|
4
|
+
import { t as timerAnatomy } from "../../timer-anatomy-VYjRFeEL.js";
|
|
5
|
+
import * as solid_js403 from "solid-js";
|
|
6
6
|
import { Accessor, JSX } from "solid-js";
|
|
7
7
|
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
8
8
|
import { ActionTriggerProps, ItemProps, TickDetails } from "@sprawlify/primitives/machines/timer";
|
|
@@ -10,12 +10,12 @@ import { ActionTriggerProps, ItemProps, TickDetails } from "@sprawlify/primitive
|
|
|
10
10
|
//#region src/components/timer/timer-action-trigger.d.ts
|
|
11
11
|
interface TimerActionTriggerBaseProps extends ActionTriggerProps, PolymorphicProps<'button'> {}
|
|
12
12
|
interface TimerActionTriggerProps extends HTMLProps<'button'>, TimerActionTriggerBaseProps {}
|
|
13
|
-
declare const TimerActionTrigger: (props: TimerActionTriggerProps) =>
|
|
13
|
+
declare const TimerActionTrigger: (props: TimerActionTriggerProps) => solid_js403.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/components/timer/timer-area.d.ts
|
|
16
16
|
interface TimerAreaBaseProps extends PolymorphicProps<'div'> {}
|
|
17
17
|
interface TimerAreaProps extends HTMLProps<'div'>, TimerAreaBaseProps {}
|
|
18
|
-
declare const TimerArea: (props: TimerAreaProps) =>
|
|
18
|
+
declare const TimerArea: (props: TimerAreaProps) => solid_js403.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/components/timer/use-timer.d.ts
|
|
21
21
|
interface UseTimerProps extends Optional<Omit<timer.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -34,17 +34,17 @@ declare const TimerContext: (props: TimerContextProps) => JSX.Element;
|
|
|
34
34
|
//#region src/components/timer/timer-control.d.ts
|
|
35
35
|
interface TimerControlBaseProps extends PolymorphicProps<'div'> {}
|
|
36
36
|
interface TimerControlProps extends HTMLProps<'div'>, TimerControlBaseProps {}
|
|
37
|
-
declare const TimerControl: (props: TimerControlProps) =>
|
|
37
|
+
declare const TimerControl: (props: TimerControlProps) => solid_js403.JSX.Element;
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/components/timer/timer-item.d.ts
|
|
40
40
|
interface TimerItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
|
|
41
41
|
interface TimerItemProps extends HTMLProps<'div'>, TimerItemBaseProps {}
|
|
42
|
-
declare const TimerItem: (props: TimerItemProps) =>
|
|
42
|
+
declare const TimerItem: (props: TimerItemProps) => solid_js403.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/components/timer/timer-root.d.ts
|
|
45
45
|
interface TimerRootBaseProps extends UseTimerProps, PolymorphicProps<'div'> {}
|
|
46
46
|
interface TimerRootProps extends HTMLProps<'div'>, TimerRootBaseProps {}
|
|
47
|
-
declare const TimerRoot: (props: TimerRootProps) =>
|
|
47
|
+
declare const TimerRoot: (props: TimerRootProps) => solid_js403.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/timer/timer-root-provider.d.ts
|
|
50
50
|
interface RootProviderProps {
|
|
@@ -52,12 +52,12 @@ interface RootProviderProps {
|
|
|
52
52
|
}
|
|
53
53
|
interface TimerRootProviderBaseProps extends RootProviderProps, PolymorphicProps<'div'> {}
|
|
54
54
|
interface TimerRootProviderProps extends HTMLProps<'div'>, TimerRootProviderBaseProps {}
|
|
55
|
-
declare const TimerRootProvider: (props: TimerRootProviderProps) =>
|
|
55
|
+
declare const TimerRootProvider: (props: TimerRootProviderProps) => solid_js403.JSX.Element;
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/components/timer/timer-separator.d.ts
|
|
58
58
|
interface TimerSeparatorBaseProps extends PolymorphicProps<'div'> {}
|
|
59
59
|
interface TimerSeparatorProps extends HTMLProps<'div'>, TimerSeparatorBaseProps {}
|
|
60
|
-
declare const TimerSeparator: (props: TimerSeparatorProps) =>
|
|
60
|
+
declare const TimerSeparator: (props: TimerSeparatorProps) => solid_js403.JSX.Element;
|
|
61
61
|
declare namespace timer_d_exports {
|
|
62
62
|
export { TimerActionTrigger as ActionTrigger, TimerActionTriggerBaseProps as ActionTriggerBaseProps, TimerActionTriggerProps as ActionTriggerProps, TimerArea as Area, TimerAreaBaseProps as AreaBaseProps, TimerAreaProps as AreaProps, TimerContext as Context, TimerContextProps as ContextProps, TimerControl as Control, TimerControlBaseProps as ControlBaseProps, TimerControlProps as ControlProps, TimerItem as Item, TimerItemBaseProps as ItemBaseProps, TimerItemProps as ItemProps, TimerRoot as Root, TimerRootBaseProps as RootBaseProps, TimerRootProps as RootProps, TimerRootProvider as RootProvider, TimerRootProviderProps as RootProviderBaseProps, TimerRootProviderBaseProps as RootProviderProps, TimerSeparator as Separator, TimerSeparatorBaseProps as SeparatorBaseProps, TimerSeparatorProps as SeparatorProps, TickDetails };
|
|
63
63
|
}
|
|
@@ -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 { o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as timerAnatomy } from "../../timer-anatomy-
|
|
8
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-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 { o as useEnvironmentContext } from "../../providers-CdwYAas1.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-Ce76k0aC.js";
|
|
7
|
+
import { t as timerAnatomy } from "../../timer-anatomy-C9bTbrUf.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-BcbxQ6yh.js";
|
|
9
9
|
import { createMemo, createUniqueId } from "solid-js";
|
|
10
10
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
11
11
|
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
@@ -20,16 +20,16 @@ const [TimerProvider, useTimerContext] = createContext$1({
|
|
|
20
20
|
//#region src/components/timer/timer-action-trigger.tsx
|
|
21
21
|
const TimerActionTrigger = (props) => {
|
|
22
22
|
const [actionTriggerProps, localProps] = createSplitProps()(props, ["action"]);
|
|
23
|
-
const timer
|
|
24
|
-
const mergedProps = mergeProps$2(() => timer
|
|
23
|
+
const timer = useTimerContext();
|
|
24
|
+
const mergedProps = mergeProps$2(() => timer().getActionTriggerProps(actionTriggerProps), localProps);
|
|
25
25
|
return createComponent(sprawlify.button, mergedProps);
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/components/timer/timer-area.tsx
|
|
30
30
|
const TimerArea = (props) => {
|
|
31
|
-
const timer
|
|
32
|
-
const mergedProps = mergeProps$2(() => timer
|
|
31
|
+
const timer = useTimerContext();
|
|
32
|
+
const mergedProps = mergeProps$2(() => timer().getAreaProps(), props);
|
|
33
33
|
return createComponent(sprawlify.div, mergedProps);
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -40,8 +40,8 @@ const TimerContext = (props) => props.children(useTimerContext());
|
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/components/timer/timer-control.tsx
|
|
42
42
|
const TimerControl = (props) => {
|
|
43
|
-
const timer
|
|
44
|
-
const mergedProps = mergeProps$2(() => timer
|
|
43
|
+
const timer = useTimerContext();
|
|
44
|
+
const mergedProps = mergeProps$2(() => timer().getControlProps(), props);
|
|
45
45
|
return createComponent(sprawlify.div, mergedProps);
|
|
46
46
|
};
|
|
47
47
|
|
|
@@ -49,10 +49,10 @@ const TimerControl = (props) => {
|
|
|
49
49
|
//#region src/components/timer/timer-item.tsx
|
|
50
50
|
const TimerItem = (props) => {
|
|
51
51
|
const [itemProps, localProps] = createSplitProps()(props, ["type"]);
|
|
52
|
-
const timer
|
|
53
|
-
const mergedProps = mergeProps$2(() => timer
|
|
52
|
+
const timer = useTimerContext();
|
|
53
|
+
const mergedProps = mergeProps$2(() => timer().getItemProps(itemProps), localProps);
|
|
54
54
|
return createComponent(sprawlify.div, mergeProps$1(mergedProps, { get children() {
|
|
55
|
-
return timer
|
|
55
|
+
return timer().formattedTime[itemProps.type];
|
|
56
56
|
} }));
|
|
57
57
|
};
|
|
58
58
|
|
|
@@ -84,10 +84,10 @@ const TimerRoot = (props) => {
|
|
|
84
84
|
"onComplete",
|
|
85
85
|
"onTick"
|
|
86
86
|
]);
|
|
87
|
-
const timer
|
|
88
|
-
const mergedProps = mergeProps$2(() => timer
|
|
87
|
+
const timer = useTimer(useTimerProps);
|
|
88
|
+
const mergedProps = mergeProps$2(() => timer().getRootProps(), localProps);
|
|
89
89
|
return createComponent(TimerProvider, {
|
|
90
|
-
value: timer
|
|
90
|
+
value: timer,
|
|
91
91
|
get children() {
|
|
92
92
|
return createComponent(sprawlify.div, mergedProps);
|
|
93
93
|
}
|
|
@@ -97,10 +97,10 @@ const TimerRoot = (props) => {
|
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/components/timer/timer-root-provider.tsx
|
|
99
99
|
const TimerRootProvider = (props) => {
|
|
100
|
-
const [{ value: timer
|
|
101
|
-
const mergedProps = mergeProps$2(() => timer
|
|
100
|
+
const [{ value: timer }, localProps] = createSplitProps()(props, ["value"]);
|
|
101
|
+
const mergedProps = mergeProps$2(() => timer().getRootProps(), localProps);
|
|
102
102
|
return createComponent(TimerProvider, {
|
|
103
|
-
value: timer
|
|
103
|
+
value: timer,
|
|
104
104
|
get children() {
|
|
105
105
|
return createComponent(sprawlify.div, mergedProps);
|
|
106
106
|
}
|
|
@@ -110,8 +110,8 @@ const TimerRootProvider = (props) => {
|
|
|
110
110
|
//#endregion
|
|
111
111
|
//#region src/components/timer/timer-separator.tsx
|
|
112
112
|
const TimerSeparator = (props) => {
|
|
113
|
-
const timer
|
|
114
|
-
const mergedProps = mergeProps$2(() => timer
|
|
113
|
+
const timer = useTimerContext();
|
|
114
|
+
const mergedProps = mergeProps$2(() => timer().getSeparatorProps(), props);
|
|
115
115
|
return createComponent(sprawlify.div, mergedProps);
|
|
116
116
|
};
|
|
117
117
|
|
|
@@ -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 { 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 { 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 { createMemo, createUniqueId } from "solid-js";
|
|
9
9
|
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
10
10
|
import { anatomy as timerAnatomy } from "@sprawlify/primitives/machines/timer";
|
|
@@ -19,16 +19,16 @@ const [TimerProvider, useTimerContext] = createContext$1({
|
|
|
19
19
|
//#region src/components/timer/timer-action-trigger.tsx
|
|
20
20
|
const TimerActionTrigger = (props) => {
|
|
21
21
|
const [actionTriggerProps, localProps] = createSplitProps()(props, ["action"]);
|
|
22
|
-
const timer
|
|
23
|
-
const mergedProps = mergeProps$1(() => timer
|
|
22
|
+
const timer = useTimerContext();
|
|
23
|
+
const mergedProps = mergeProps$1(() => timer().getActionTriggerProps(actionTriggerProps), localProps);
|
|
24
24
|
return <sprawlify.button {...mergedProps} />;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/timer/timer-area.tsx
|
|
29
29
|
const TimerArea = (props) => {
|
|
30
|
-
const timer
|
|
31
|
-
const mergedProps = mergeProps$1(() => timer
|
|
30
|
+
const timer = useTimerContext();
|
|
31
|
+
const mergedProps = mergeProps$1(() => timer().getAreaProps(), props);
|
|
32
32
|
return <sprawlify.div {...mergedProps} />;
|
|
33
33
|
};
|
|
34
34
|
|
|
@@ -39,8 +39,8 @@ const TimerContext = (props) => props.children(useTimerContext());
|
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region src/components/timer/timer-control.tsx
|
|
41
41
|
const TimerControl = (props) => {
|
|
42
|
-
const timer
|
|
43
|
-
const mergedProps = mergeProps$1(() => timer
|
|
42
|
+
const timer = useTimerContext();
|
|
43
|
+
const mergedProps = mergeProps$1(() => timer().getControlProps(), props);
|
|
44
44
|
return <sprawlify.div {...mergedProps} />;
|
|
45
45
|
};
|
|
46
46
|
|
|
@@ -48,9 +48,9 @@ const TimerControl = (props) => {
|
|
|
48
48
|
//#region src/components/timer/timer-item.tsx
|
|
49
49
|
const TimerItem = (props) => {
|
|
50
50
|
const [itemProps, localProps] = createSplitProps()(props, ["type"]);
|
|
51
|
-
const timer
|
|
52
|
-
const mergedProps = mergeProps$1(() => timer
|
|
53
|
-
return <sprawlify.div {...mergedProps}>{timer
|
|
51
|
+
const timer = useTimerContext();
|
|
52
|
+
const mergedProps = mergeProps$1(() => timer().getItemProps(itemProps), localProps);
|
|
53
|
+
return <sprawlify.div {...mergedProps}>{timer().formattedTime[itemProps.type]}</sprawlify.div>;
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
//#endregion
|
|
@@ -81,9 +81,9 @@ const TimerRoot = (props) => {
|
|
|
81
81
|
"onComplete",
|
|
82
82
|
"onTick"
|
|
83
83
|
]);
|
|
84
|
-
const timer
|
|
85
|
-
const mergedProps = mergeProps$1(() => timer
|
|
86
|
-
return <TimerProvider value={timer
|
|
84
|
+
const timer = useTimer(useTimerProps);
|
|
85
|
+
const mergedProps = mergeProps$1(() => timer().getRootProps(), localProps);
|
|
86
|
+
return <TimerProvider value={timer}>
|
|
87
87
|
<sprawlify.div {...mergedProps} />
|
|
88
88
|
</TimerProvider>;
|
|
89
89
|
};
|
|
@@ -91,9 +91,9 @@ const TimerRoot = (props) => {
|
|
|
91
91
|
//#endregion
|
|
92
92
|
//#region src/components/timer/timer-root-provider.tsx
|
|
93
93
|
const TimerRootProvider = (props) => {
|
|
94
|
-
const [{ value: timer
|
|
95
|
-
const mergedProps = mergeProps$1(() => timer
|
|
96
|
-
return <TimerProvider value={timer
|
|
94
|
+
const [{ value: timer }, localProps] = createSplitProps()(props, ["value"]);
|
|
95
|
+
const mergedProps = mergeProps$1(() => timer().getRootProps(), localProps);
|
|
96
|
+
return <TimerProvider value={timer}>
|
|
97
97
|
<sprawlify.div {...mergedProps} />
|
|
98
98
|
</TimerProvider>;
|
|
99
99
|
};
|
|
@@ -101,8 +101,8 @@ const TimerRootProvider = (props) => {
|
|
|
101
101
|
//#endregion
|
|
102
102
|
//#region src/components/timer/timer-separator.tsx
|
|
103
103
|
const TimerSeparator = (props) => {
|
|
104
|
-
const timer
|
|
105
|
-
const mergedProps = mergeProps$1(() => timer
|
|
104
|
+
const timer = useTimerContext();
|
|
105
|
+
const mergedProps = mergeProps$1(() => timer().getSeparatorProps(), props);
|
|
106
106
|
return <sprawlify.div {...mergedProps} />;
|
|
107
107
|
};
|
|
108
108
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { t as Assign } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import { t as toastAnatomy } from "../../toast-anatomy-
|
|
5
|
-
import * as
|
|
1
|
+
import { n as PropTypes } from "../../index-D78tMX6m.js";
|
|
2
|
+
import { t as Assign } from "../../types-B1RjmsgP.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-cJ7CaPAR.js";
|
|
4
|
+
import { t as toastAnatomy } from "../../toast-anatomy-C-PyfPXK.js";
|
|
5
|
+
import * as solid_js145 from "solid-js";
|
|
6
6
|
import { Accessor, JSX } from "solid-js";
|
|
7
7
|
import * as toast from "@sprawlify/primitives/machines/toast";
|
|
8
8
|
import { ActionOptions, ActionOptions as ToastActionOptions, Placement, Placement as ToastPlacement, PromiseOptions, PromiseOptions as ToastPromiseOptions, Status, Status as ToastStatus, StatusChangeDetails, StatusChangeDetails as ToastStatusChangeDetails, StoreProps, StoreProps as ToastStoreProps, Type, Type as ToastType } from "@sprawlify/primitives/machines/toast";
|
|
@@ -17,12 +17,12 @@ declare const createToaster: (props: CreateToasterProps) => CreateToasterReturn;
|
|
|
17
17
|
//#region src/components/toast/toast-action-trigger.d.ts
|
|
18
18
|
interface ToastActionTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
19
19
|
interface ToastActionTriggerProps extends HTMLProps<'button'>, ToastActionTriggerBaseProps {}
|
|
20
|
-
declare const ToastActionTrigger: (props: ToastActionTriggerProps) =>
|
|
20
|
+
declare const ToastActionTrigger: (props: ToastActionTriggerProps) => solid_js145.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/toast/toast-close-trigger.d.ts
|
|
23
23
|
interface ToastCloseTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
24
24
|
interface ToastCloseTriggerProps extends HTMLProps<'button'>, ToastCloseTriggerBaseProps {}
|
|
25
|
-
declare const ToastCloseTrigger: (props: ToastCloseTriggerProps) =>
|
|
25
|
+
declare const ToastCloseTrigger: (props: ToastCloseTriggerProps) => solid_js145.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/components/toast/use-toast-context.d.ts
|
|
28
28
|
interface UseToastContext extends Accessor<toast.Api<PropTypes, JSX.Element>> {}
|
|
@@ -36,17 +36,17 @@ declare const ToastContext: (props: ToastContextProps) => JSX.Element;
|
|
|
36
36
|
//#region src/components/toast/toast-description.d.ts
|
|
37
37
|
interface ToastDescriptionBaseProps extends PolymorphicProps<'div'> {}
|
|
38
38
|
interface ToastDescriptionProps extends HTMLProps<'div'>, ToastDescriptionBaseProps {}
|
|
39
|
-
declare const ToastDescription: (props: ToastDescriptionProps) =>
|
|
39
|
+
declare const ToastDescription: (props: ToastDescriptionProps) => solid_js145.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/components/toast/toast-root.d.ts
|
|
42
42
|
interface ToastRootBaseProps extends PolymorphicProps<'div'> {}
|
|
43
43
|
interface ToastRootProps extends HTMLProps<'div'>, ToastRootBaseProps {}
|
|
44
|
-
declare const ToastRoot: (props: ToastRootProps) =>
|
|
44
|
+
declare const ToastRoot: (props: ToastRootProps) => solid_js145.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/components/toast/toast-title.d.ts
|
|
47
47
|
interface ToastTitleBaseProps extends PolymorphicProps<'div'> {}
|
|
48
48
|
interface ToastTitleProps extends HTMLProps<'div'>, ToastTitleBaseProps {}
|
|
49
|
-
declare const ToastTitle: (props: ToastTitleProps) =>
|
|
49
|
+
declare const ToastTitle: (props: ToastTitleProps) => solid_js145.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/components/toast/toaster.d.ts
|
|
52
52
|
type ToastOptions = toast.Options<JSX.Element>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$2, t as Key } from "../../core-
|
|
3
|
-
import { t as createContext$1 } from "../../create-context-
|
|
4
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
5
|
-
import { t as sprawlify } from "../../factory-
|
|
6
|
-
import { t as toastAnatomy } from "../../toast-anatomy-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2, t as Key } from "../../core-Crxbs6Ki.js";
|
|
3
|
+
import { t as createContext$1 } from "../../create-context-DPb5Yv_u.js";
|
|
4
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CdwYAas1.js";
|
|
5
|
+
import { t as sprawlify } from "../../factory-Ce76k0aC.js";
|
|
6
|
+
import { t as toastAnatomy } from "../../toast-anatomy-CssUp7TT.js";
|
|
7
7
|
import { createMemo, createUniqueId, splitProps } from "solid-js";
|
|
8
8
|
import { createComponent, insert, mergeProps as mergeProps$1, spread, template } from "solid-js/web";
|
|
9
9
|
import * as toast from "@sprawlify/primitives/machines/toast";
|
|
@@ -23,16 +23,16 @@ const [ToastProvider, useToastContext] = createContext$1({
|
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region src/components/toast/toast-action-trigger.tsx
|
|
25
25
|
const ToastActionTrigger = (props) => {
|
|
26
|
-
const toast
|
|
27
|
-
const mergedProps = mergeProps$2(() => toast
|
|
26
|
+
const toast = useToastContext();
|
|
27
|
+
const mergedProps = mergeProps$2(() => toast().getActionTriggerProps(), props);
|
|
28
28
|
return createComponent(sprawlify.button, mergedProps);
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/components/toast/toast-close-trigger.tsx
|
|
33
33
|
const ToastCloseTrigger = (props) => {
|
|
34
|
-
const toast
|
|
35
|
-
const mergedProps = mergeProps$2(() => toast
|
|
34
|
+
const toast = useToastContext();
|
|
35
|
+
const mergedProps = mergeProps$2(() => toast().getCloseTriggerProps(), props);
|
|
36
36
|
return createComponent(sprawlify.button, mergedProps);
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -43,8 +43,8 @@ const ToastContext = (props) => props.children(useToastContext());
|
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/components/toast/toast-description.tsx
|
|
45
45
|
const ToastDescription = (props) => {
|
|
46
|
-
const toast
|
|
47
|
-
const mergedProps = mergeProps$2(() => toast
|
|
46
|
+
const toast = useToastContext();
|
|
47
|
+
const mergedProps = mergeProps$2(() => toast().getDescriptionProps(), props);
|
|
48
48
|
return createComponent(sprawlify.div, mergedProps);
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -52,14 +52,14 @@ const ToastDescription = (props) => {
|
|
|
52
52
|
//#region src/components/toast/toast-root.tsx
|
|
53
53
|
var _tmpl$ = /* @__PURE__ */ template(`<div><div></div><div>`);
|
|
54
54
|
const ToastRoot = (props) => {
|
|
55
|
-
const toast
|
|
56
|
-
const mergedProps = mergeProps$2(() => toast
|
|
55
|
+
const toast = useToastContext();
|
|
56
|
+
const mergedProps = mergeProps$2(() => toast().getRootProps(), props);
|
|
57
57
|
return (() => {
|
|
58
58
|
var _el$ = _tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
|
|
59
59
|
spread(_el$, mergedProps, false, true);
|
|
60
|
-
spread(_el$2, mergeProps$1(() => toast
|
|
60
|
+
spread(_el$2, mergeProps$1(() => toast().getGhostBeforeProps()), false, false);
|
|
61
61
|
insert(_el$, () => props.children, _el$3);
|
|
62
|
-
spread(_el$3, mergeProps$1(() => toast
|
|
62
|
+
spread(_el$3, mergeProps$1(() => toast().getGhostAfterProps()), false, false);
|
|
63
63
|
return _el$;
|
|
64
64
|
})();
|
|
65
65
|
};
|
|
@@ -67,8 +67,8 @@ const ToastRoot = (props) => {
|
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/components/toast/toast-title.tsx
|
|
69
69
|
const ToastTitle = (props) => {
|
|
70
|
-
const toast
|
|
71
|
-
const mergedProps = mergeProps$2(() => toast
|
|
70
|
+
const toast = useToastContext();
|
|
71
|
+
const mergedProps = mergeProps$2(() => toast().getTitleProps(), props);
|
|
72
72
|
return createComponent(sprawlify.div, mergedProps);
|
|
73
73
|
};
|
|
74
74
|
|
|
@@ -93,8 +93,8 @@ const Toaster = (props) => {
|
|
|
93
93
|
return toasts();
|
|
94
94
|
},
|
|
95
95
|
by: "id",
|
|
96
|
-
children: (toast
|
|
97
|
-
value: toast
|
|
96
|
+
children: (toast, index) => createComponent(ToastActor, {
|
|
97
|
+
value: toast,
|
|
98
98
|
index,
|
|
99
99
|
parent: service,
|
|
100
100
|
children: (ctx) => toasterProps.children(ctx)
|