@sprawlify/solid 0.0.62 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{carousel-anatomy-0uSYIDdX.d.ts → carousel-anatomy-DvXR8orA.d.ts} +1 -1
- package/dist/{collapsible-D505WU0f.jsx → collapsible-BfQjngkz.jsx} +13 -13
- package/dist/{collapsible-DXcvkHVS.js → collapsible-BhGN1nX_.js} +13 -13
- package/dist/{collection-B4akimO8.js → collection-Cr3_-Nj9.js} +6 -6
- package/dist/{collection-U31wYVYu.jsx → collection-DXodYZZC.jsx} +6 -6
- package/dist/color-picker-anatomy-BQ9ZRrH_.d.ts +6 -0
- package/dist/combobox-anatomy-Pfygk88q.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +12 -13
- package/dist/components/accordion/index.js +23 -24
- package/dist/components/accordion/index.jsx +22 -22
- package/dist/components/anatomy.d.ts +49 -49
- package/dist/components/anatomy.js +49 -49
- package/dist/components/angle-slider/index.d.ts +14 -15
- package/dist/components/angle-slider/index.js +11 -11
- package/dist/components/angle-slider/index.jsx +10 -10
- package/dist/components/avatar/index.d.ts +9 -10
- package/dist/components/avatar/index.js +11 -11
- package/dist/components/avatar/index.jsx +10 -10
- package/dist/components/bottom-sheet/index.d.ts +14 -15
- package/dist/components/bottom-sheet/index.js +27 -27
- package/dist/components/bottom-sheet/index.jsx +26 -26
- package/dist/components/carousel/index.d.ts +19 -16
- package/dist/components/carousel/index.js +11 -11
- package/dist/components/carousel/index.jsx +10 -10
- package/dist/components/checkbox/index.d.ts +16 -13
- package/dist/components/checkbox/index.js +28 -28
- package/dist/components/checkbox/index.jsx +25 -25
- package/dist/components/clipboard/index.d.ts +12 -13
- package/dist/components/clipboard/index.js +11 -11
- package/dist/components/clipboard/index.jsx +10 -10
- package/dist/components/collapsible/index.d.ts +11 -12
- package/dist/components/collapsible/index.js +8 -8
- package/dist/components/collapsible/index.jsx +7 -7
- package/dist/components/collection/index.d.ts +2 -2
- package/dist/components/collection/index.js +2 -2
- package/dist/components/collection/index.jsx +2 -2
- package/dist/components/color-picker/index.d.ts +38 -35
- package/dist/components/color-picker/index.js +32 -32
- package/dist/components/color-picker/index.jsx +29 -29
- package/dist/components/combobox/index.d.ts +25 -22
- package/dist/components/combobox/index.js +40 -40
- package/dist/components/combobox/index.jsx +37 -37
- package/dist/components/date-picker/index.d.ts +35 -32
- package/dist/components/date-picker/index.js +23 -23
- package/dist/components/date-picker/index.jsx +22 -22
- package/dist/components/dialog/index.d.ts +14 -15
- package/dist/components/dialog/index.js +17 -17
- package/dist/components/dialog/index.jsx +16 -16
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/download-trigger/index.js +4 -4
- package/dist/components/download-trigger/index.jsx +4 -4
- package/dist/components/editable/index.d.ts +15 -16
- package/dist/components/editable/index.js +16 -16
- package/dist/components/editable/index.jsx +13 -13
- package/dist/components/field/index.d.ts +17 -14
- package/dist/components/field/index.js +10 -10
- package/dist/components/field/index.jsx +8 -8
- package/dist/components/fieldset/index.d.ts +14 -11
- package/dist/components/fieldset/index.js +8 -8
- package/dist/components/fieldset/index.jsx +7 -7
- package/dist/components/file-upload/index.d.ts +19 -20
- package/dist/components/file-upload/index.js +45 -45
- package/dist/components/file-upload/index.jsx +42 -42
- package/dist/components/floating-panel/index.d.ts +18 -19
- package/dist/components/floating-panel/index.js +36 -36
- package/dist/components/floating-panel/index.jsx +35 -35
- package/dist/components/focus-trap/index.d.ts +4 -4
- package/dist/components/focus-trap/index.js +4 -4
- package/dist/components/focus-trap/index.jsx +4 -4
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/format/index.js +3 -3
- package/dist/components/format/index.jsx +3 -3
- package/dist/components/frame/index.d.ts +1 -1
- package/dist/components/frame/index.js +6 -6
- package/dist/components/frame/index.jsx +6 -6
- package/dist/components/highlight/index.d.ts +3 -3
- package/dist/components/highlight/index.js +2 -2
- package/dist/components/highlight/index.jsx +2 -2
- package/dist/components/hover-card/index.d.ts +12 -13
- package/dist/components/hover-card/index.js +17 -17
- package/dist/components/hover-card/index.jsx +16 -16
- package/dist/components/image-cropper/index.d.ts +12 -13
- package/dist/components/image-cropper/index.js +11 -11
- package/dist/components/image-cropper/index.jsx +10 -10
- package/dist/components/json-tree-view/index.d.ts +6 -7
- package/dist/components/json-tree-view/index.js +12 -14
- package/dist/components/json-tree-view/index.jsx +12 -12
- package/dist/components/listbox/index.d.ts +20 -17
- package/dist/components/listbox/index.js +37 -37
- package/dist/components/listbox/index.jsx +36 -36
- package/dist/components/marquee/index.d.ts +10 -11
- package/dist/components/marquee/index.js +11 -11
- package/dist/components/marquee/index.jsx +10 -10
- package/dist/components/menu/index.d.ts +26 -27
- package/dist/components/menu/index.js +22 -22
- package/dist/components/menu/index.jsx +21 -21
- package/dist/components/navigation-menu/index.d.ts +18 -19
- package/dist/components/navigation-menu/index.js +14 -14
- package/dist/components/navigation-menu/index.jsx +13 -13
- package/dist/components/number-input/index.d.ts +14 -15
- package/dist/components/number-input/index.js +18 -18
- package/dist/components/number-input/index.jsx +15 -15
- package/dist/components/pagination/index.d.ts +13 -14
- package/dist/components/pagination/index.js +11 -11
- package/dist/components/pagination/index.jsx +10 -10
- package/dist/components/password-input/index.d.ts +10 -11
- package/dist/components/password-input/index.js +27 -27
- package/dist/components/password-input/index.jsx +24 -24
- package/dist/components/pin-input/index.d.ts +11 -12
- package/dist/components/pin-input/index.js +21 -21
- package/dist/components/pin-input/index.jsx +18 -18
- package/dist/components/popover/index.d.ts +17 -18
- package/dist/components/popover/index.js +17 -17
- package/dist/components/popover/index.jsx +16 -16
- package/dist/components/presence/index.d.ts +4 -4
- package/dist/components/presence/index.js +7 -7
- package/dist/components/presence/index.jsx +7 -7
- package/dist/components/progress/index.d.ts +15 -16
- package/dist/components/progress/index.js +11 -11
- package/dist/components/progress/index.jsx +10 -10
- package/dist/components/qr-code/index.d.ts +11 -12
- package/dist/components/qr-code/index.js +19 -19
- package/dist/components/qr-code/index.jsx +18 -18
- package/dist/components/radio-group/index.d.ts +13 -14
- package/dist/components/radio-group/index.js +11 -11
- package/dist/components/radio-group/index.jsx +9 -9
- package/dist/components/rating-group/index.d.ts +11 -12
- package/dist/components/rating-group/index.js +20 -20
- package/dist/components/rating-group/index.jsx +17 -17
- package/dist/components/scroll-area/index.d.ts +12 -12
- package/dist/components/scroll-area/index.js +20 -20
- package/dist/components/scroll-area/index.jsx +19 -19
- package/dist/components/segment-group/index.d.ts +13 -13
- package/dist/components/segment-group/index.js +27 -27
- package/dist/components/segment-group/index.jsx +26 -26
- package/dist/components/select/index.d.ts +23 -23
- package/dist/components/select/index.js +61 -61
- package/dist/components/select/index.jsx +57 -57
- package/dist/components/signature-pad/index.d.ts +13 -13
- package/dist/components/signature-pad/index.js +35 -35
- package/dist/components/signature-pad/index.jsx +31 -31
- package/dist/components/slider/index.d.ts +17 -17
- package/dist/components/slider/index.js +18 -18
- package/dist/components/slider/index.jsx +17 -17
- package/dist/components/splitter/index.d.ts +10 -10
- package/dist/components/splitter/index.js +13 -13
- package/dist/components/splitter/index.jsx +12 -12
- package/dist/components/steps/index.d.ts +17 -17
- package/dist/components/steps/index.js +35 -35
- package/dist/components/steps/index.jsx +34 -34
- package/dist/components/switch/index.d.ts +11 -11
- package/dist/components/switch/index.js +13 -13
- package/dist/components/switch/index.jsx +10 -10
- package/dist/components/tabs/index.d.ts +12 -12
- package/dist/components/tabs/index.js +14 -14
- package/dist/components/tabs/index.jsx +13 -13
- package/dist/components/tags-input/index.d.ts +17 -17
- package/dist/components/tags-input/index.js +18 -18
- package/dist/components/tags-input/index.jsx +15 -15
- package/dist/components/timer/index.d.ts +12 -12
- package/dist/components/timer/index.js +25 -25
- package/dist/components/timer/index.jsx +24 -24
- package/dist/components/toast/index.d.ts +10 -10
- package/dist/components/toast/index.js +20 -20
- package/dist/components/toast/index.jsx +18 -18
- package/dist/components/toggle/index.d.ts +6 -6
- package/dist/components/toggle/index.js +12 -12
- package/dist/components/toggle/index.jsx +11 -11
- package/dist/components/toggle-group/index.d.ts +8 -8
- package/dist/components/toggle-group/index.js +11 -11
- package/dist/components/toggle-group/index.jsx +10 -10
- package/dist/components/tooltip/index.d.ts +12 -12
- package/dist/components/tooltip/index.js +13 -13
- package/dist/components/tooltip/index.jsx +12 -12
- package/dist/components/tour/index.d.ts +19 -19
- package/dist/components/tour/index.js +44 -44
- package/dist/components/tour/index.jsx +43 -43
- package/dist/components/tree-view/index.d.ts +7 -7
- package/dist/components/tree-view/index.js +10 -11
- package/dist/components/tree-view/index.jsx +9 -9
- package/dist/{core-BgpRwoCt.jsx → core-B6ixUkqg.jsx} +10 -10
- package/dist/{core-DlJdnFMg.js → core-Crxbs6Ki.js} +10 -10
- package/dist/{create-context-BpJ2IzPB.jsx → create-context-DGJ79e4Y.jsx} +4 -4
- package/dist/{create-context-BqG72mig.js → create-context-DPb5Yv_u.js} +4 -4
- package/dist/date-picker-anatomy-B6_a0ZL3.d.ts +6 -0
- package/dist/{factory-DCac1oIp.js → factory-Ce76k0aC.js} +1 -1
- package/dist/{factory-B21c1uMV.jsx → factory-CzIfQZJj.jsx} +1 -1
- package/dist/{factory-DavUB5Ku.d.ts → factory-DMawBjkt.d.ts} +4 -4
- package/dist/{factory-C_07ebOh.d.ts → factory-cJ7CaPAR.d.ts} +4 -4
- package/dist/{field-BNTN-_xe.jsx → field-BMLVDAiH.jsx} +8 -8
- package/dist/{field-anatomy-C3x_U-4u.d.ts → field-anatomy-Bm7mUuzz.d.ts} +2 -2
- package/dist/{field-C5B28nbw.js → field-mV6xBX-1.js} +9 -9
- package/dist/{fieldset-BNycnDRc.js → fieldset-DfZfBktp.js} +9 -9
- package/dist/{fieldset-D3gMlSUG.jsx → fieldset-Dultvtpf.jsx} +8 -8
- package/dist/{index-DMI2w9ra.d.ts → index-B4jYxJKJ.d.ts} +2 -2
- package/dist/{index-DZQfOo5p.d.ts → index-B9YbO-df.d.ts} +8 -8
- package/dist/{index-D_e6DIul.d.ts → index-BziaWi01.d.ts} +8 -8
- package/dist/{index-ClQSumtA.d.ts → index-CuXUwhrn.d.ts} +20 -20
- package/dist/{index-D1h43AgS.d.ts → index-D9oSpNzQ.d.ts} +1 -1
- package/dist/{index-DBe4g7N2.d.ts → index-DSPyvbmY.d.ts} +20 -20
- package/dist/{index-D4j4uPoA.d.ts → index-nyUtQSXQ.d.ts} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -4
- package/dist/index.jsx +4 -4
- package/dist/{listbox-anatomy-B1si2wch.d.ts → listbox-anatomy-CQAJitqJ.d.ts} +1 -1
- package/dist/{presence-DkrbOX-_.js → presence-8BR5oOTh.js} +7 -7
- package/dist/{presence-Djyy7COq.jsx → presence-D9IWNBoq.jsx} +7 -7
- package/dist/{providers-PrTpHfBr.js → providers-CdwYAas1.js} +2 -2
- package/dist/{providers-DsPqz7EL.jsx → providers-CjCWKYvZ.jsx} +2 -2
- package/dist/{render-strategy-CCzSb1AK.jsx → render-strategy-CjzB786h.jsx} +2 -2
- package/dist/{render-strategy-zyNAHnri.js → render-strategy-DUrOMptL.js} +2 -2
- package/dist/{tour-anatomy-BW9h_5Qo.d.ts → tour-anatomy-FA0vDbLD.d.ts} +1 -1
- package/dist/{tree-view-J9yQ483m.jsx → tree-view-UMxlqgnA.jsx} +46 -46
- package/dist/{tree-view-BXHmtp4R.js → tree-view-pTAaf6yt.js} +46 -46
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.jsx +1 -1
- package/package.json +2 -2
- package/dist/color-picker-anatomy-D9j78Ful.d.ts +0 -6
- package/dist/combobox-anatomy-Mkz5vUbE.d.ts +0 -6
- package/dist/date-picker-anatomy-DsNHYqiQ.d.ts +0 -6
- /package/dist/{accordion-anatomy-DuQyPotN.d.ts → accordion-anatomy-C02ClQ-i.d.ts} +0 -0
- /package/dist/{accordion-anatomy-MHcXhJPQ.js → accordion-anatomy-SnniqySz.js} +0 -0
- /package/dist/{angle-slider-anatomy-D0gK12zj.js → angle-slider-anatomy-BcpYlzjU.js} +0 -0
- /package/dist/{angle-slider-anatomy-C3icuKah.d.ts → angle-slider-anatomy-CjqlTMi-.d.ts} +0 -0
- /package/dist/{avatar-anatomy-DP2sQ3JD.d.ts → avatar-anatomy-BFcH-BdZ.d.ts} +0 -0
- /package/dist/{avatar-anatomy-CxraVFFD.js → avatar-anatomy-DkaRck8U.js} +0 -0
- /package/dist/{bottom-sheet-anatomy-DFsivXcE.d.ts → bottom-sheet-anatomy-CnYjxIa5.d.ts} +0 -0
- /package/dist/{bottom-sheet-anatomy-BeuPKFbV.js → bottom-sheet-anatomy-lHEnPDuf.js} +0 -0
- /package/dist/{carousel-anatomy-CPwLC4qL.js → carousel-anatomy-Dozyhz87.js} +0 -0
- /package/dist/{checkbox-anatomy-CjQ3vLu9.js → checkbox-anatomy-DrTfnRdC.js} +0 -0
- /package/dist/{checkbox-anatomy-Bb8Ysoj0.d.ts → checkbox-anatomy-_IW8S8A1.d.ts} +0 -0
- /package/dist/{chunk-CwxkpDHt.js → chunk-BN_g-Awi.js} +0 -0
- /package/dist/{chunk-DgKqqxJp.jsx → chunk-CbkudaSF.jsx} +0 -0
- /package/dist/{clipboard-anatomy-BUqRlWbF.js → clipboard-anatomy-Btcms62_.js} +0 -0
- /package/dist/{clipboard-anatomy-COn_FKiH.d.ts → clipboard-anatomy-DT9k1E4p.d.ts} +0 -0
- /package/dist/{collapsible-anatomy-BeeWVdRV.js → collapsible-anatomy-Bz0a8LAr.js} +0 -0
- /package/dist/{collapsible-anatomy-CjoHd08C.d.ts → collapsible-anatomy-Dnqjh7QP.d.ts} +0 -0
- /package/dist/{color-picker-anatomy-huX3XTdf.js → color-picker-anatomy-DJP6gg1F.js} +0 -0
- /package/dist/{combobox-anatomy-Cp6cCRQW.js → combobox-anatomy-DccBa7f5.js} +0 -0
- /package/dist/{compose-refs-C0RHuzIU.jsx → compose-refs-D3PQgBgQ.js} +0 -0
- /package/dist/{compose-refs-Daqyu-o7.js → compose-refs-fqtYfDF0.jsx} +0 -0
- /package/dist/{create-split-props-Bd0YZ3Pl.jsx → create-split-props-BcbxQ6yh.js} +0 -0
- /package/dist/{create-split-props-CDXn3gBu.js → create-split-props-CgD5kGV-.jsx} +0 -0
- /package/dist/{date-picker-anatomy-Bnhc91Cy.js → date-picker-anatomy-BbB7oLLk.js} +0 -0
- /package/dist/{dialog-anatomy-OoraCpsD.d.ts → dialog-anatomy-Bxscw4PD.d.ts} +0 -0
- /package/dist/{dialog-anatomy-jHNgTj63.js → dialog-anatomy-DZW7OUW_.js} +0 -0
- /package/dist/{editable-anatomy-DA0KOCft.d.ts → editable-anatomy-BoZIiwDR.d.ts} +0 -0
- /package/dist/{editable-anatomy-B3Ch6fhf.js → editable-anatomy-D1eyySPH.js} +0 -0
- /package/dist/{field-anatomy-DFbz1xZk.js → field-anatomy-DOCpzb4B.js} +0 -0
- /package/dist/{fieldset-anatomy-D_qoumx-.d.ts → fieldset-anatomy-9IJ6JECa.d.ts} +0 -0
- /package/dist/{fieldset-anatomy-C7x_SqPE.js → fieldset-anatomy-DmZTaMK6.js} +0 -0
- /package/dist/{file-upload-anatomy-_dkcp6Rd.js → file-upload-anatomy-CZ2VnScd.js} +0 -0
- /package/dist/{file-upload-anatomy-DJdoOx2Y.d.ts → file-upload-anatomy-DmwpdONS.d.ts} +0 -0
- /package/dist/{floating-panel-anatomy-M9J5s7fA.d.ts → floating-panel-anatomy-BDHlnk1S.d.ts} +0 -0
- /package/dist/{floating-panel-anatomy-B75lhTO0.js → floating-panel-anatomy-DBrl1Bp0.js} +0 -0
- /package/dist/{hover-card-anatomy-BLhL5RWX.d.ts → hover-card-anatomy-BZZwpvcD.d.ts} +0 -0
- /package/dist/{hover-card-anatomy-D3y2QekS.js → hover-card-anatomy-D3wEfkuu.js} +0 -0
- /package/dist/{image-cropper-anatomy-CWnNoyT0.d.ts → image-cropper-anatomy-C4nqTpJc.d.ts} +0 -0
- /package/dist/{image-cropper-anatomy-BUXdwyCy.js → image-cropper-anatomy-DOqIY-bD.js} +0 -0
- /package/dist/{index-BjhUkKb8.d.ts → index-B3Sv7T21.d.ts} +0 -0
- /package/dist/{index-C0EetRkF.d.ts → index-CEAXA7Wp.d.ts} +0 -0
- /package/dist/{index-CBw7-_78.d.ts → index-CLwp1P-Z.d.ts} +0 -0
- /package/dist/{index-CNFHfr8X.d.ts → index-D2M0XXUG.d.ts} +0 -0
- /package/dist/{index-wN8a2k9U.d.ts → index-D78tMX6m.d.ts} +0 -0
- /package/dist/{listbox-anatomy-Cis_JIGM.js → listbox-anatomy-D2r-4uq6.js} +0 -0
- /package/dist/{marquee-anatomy-BRcF__Pg.d.ts → marquee-anatomy-BHiSb_hw.d.ts} +0 -0
- /package/dist/{marquee-anatomy-CzRk0I_m.js → marquee-anatomy-sKw9g-dJ.js} +0 -0
- /package/dist/{menu-anatomy-Cak2lkIl.d.ts → menu-anatomy-BrtrFbq2.d.ts} +0 -0
- /package/dist/{menu-anatomy-CM26m6hu.js → menu-anatomy-DbCORryZ.js} +0 -0
- /package/dist/{navigation-menu-anatomy-D5y7RVCk.d.ts → navigation-menu-anatomy-FqAjaEaz.d.ts} +0 -0
- /package/dist/{navigation-menu-anatomy-jrPdOV0r.js → navigation-menu-anatomy-nwZUxyMV.js} +0 -0
- /package/dist/{number-input-anatomy-BAWHL6Ec.d.ts → number-input-anatomy-Dpr956kU.d.ts} +0 -0
- /package/dist/{number-input-anatomy-Dv2aaVdS.js → number-input-anatomy-hB3PpB4j.js} +0 -0
- /package/dist/{pagination-anatomy-Cj3cYR36.d.ts → pagination-anatomy-CC_AQ0hu.d.ts} +0 -0
- /package/dist/{pagination-anatomy-DJQGbViK.js → pagination-anatomy-D8yk0Puf.js} +0 -0
- /package/dist/{password-input-anatomy-BrGdrFVj.d.ts → password-input-anatomy-CcCH88BJ.d.ts} +0 -0
- /package/dist/{password-input-anatomy-DQNbazx8.js → password-input-anatomy-D0nhl7MJ.js} +0 -0
- /package/dist/{pin-input-anatomy-BvvD4tSF.js → pin-input-anatomy-Blh9Y2sq.js} +0 -0
- /package/dist/{pin-input-anatomy-9GWNQ6LA.d.ts → pin-input-anatomy-CFwtTGgf.d.ts} +0 -0
- /package/dist/{popover-anatomy-CHNmFef4.d.ts → popover-anatomy-BfyF_jF-.d.ts} +0 -0
- /package/dist/{popover-anatomy-5kFwUlob.js → popover-anatomy-DXWeYlnF.js} +0 -0
- /package/dist/{progress-anatomy-CPu1VWxh.d.ts → progress-anatomy-CIvqvuCH.d.ts} +0 -0
- /package/dist/{progress-anatomy-pIomRbBQ.js → progress-anatomy-lioRhIrB.js} +0 -0
- /package/dist/{qr-code-anatomy-B4CAVlt6.d.ts → qr-code-anatomy-ByL5_5DL.d.ts} +0 -0
- /package/dist/{qr-code-anatomy-Cjx2O0XA.js → qr-code-anatomy-CIy9Wai6.js} +0 -0
- /package/dist/{radio-group-anatomy-B0c4wowK.d.ts → radio-group-anatomy--QbW6Fvm.d.ts} +0 -0
- /package/dist/{radio-group-anatomy-DdgFXXbE.js → radio-group-anatomy-C7L8dkhn.js} +0 -0
- /package/dist/{rating-group-anatomy-BVaVfjQp.js → rating-group-anatomy-CBhzoESK.js} +0 -0
- /package/dist/{rating-group-anatomy-CdTHxRrr.d.ts → rating-group-anatomy-DBg1kLFr.d.ts} +0 -0
- /package/dist/{render-strategy-Bq-mT0Pp.d.ts → render-strategy-CD9ZY4zs.d.ts} +0 -0
- /package/dist/{render-strategy-CNEF-wiW.d.ts → render-strategy-CU_9g0dp.d.ts} +0 -0
- /package/dist/{run-if-fn-COsqwaBZ.js → run-if-fn-CJUSlNHk.jsx} +0 -0
- /package/dist/{run-if-fn-D55yVu32.jsx → run-if-fn-CTrSA35K.js} +0 -0
- /package/dist/{scroll-area-anatomy-DCy61Idd.js → scroll-area-anatomy-B-FlUOdc.js} +0 -0
- /package/dist/{scroll-area-anatomy-BCaXaF2p.d.ts → scroll-area-anatomy-e4jAhnvL.d.ts} +0 -0
- /package/dist/{segment-group-anatomy-3UL8_ASD.js → segment-group-anatomy-CPdu1efW.js} +0 -0
- /package/dist/{segment-group-anatomy-DSzpN0S5.d.ts → segment-group-anatomy-w6EqftAa.d.ts} +0 -0
- /package/dist/{select-anatomy-Ck-ygKva.d.ts → select-anatomy-BOWDAJI2.d.ts} +0 -0
- /package/dist/{select-anatomy-CASg6DZr.js → select-anatomy-CiNHi2Kx.js} +0 -0
- /package/dist/{signature-pad-anatomy-DSd2RnqO.d.ts → signature-pad-anatomy-CwHcAo6v.d.ts} +0 -0
- /package/dist/{signature-pad-anatomy-CgBB8PtF.js → signature-pad-anatomy-Mz3w_i5B.js} +0 -0
- /package/dist/{slider-anatomy-DviLprPk.d.ts → slider-anatomy-1peNnwIJ.d.ts} +0 -0
- /package/dist/{slider-anatomy-BZ7nfULd.js → slider-anatomy-3KpCBnz3.js} +0 -0
- /package/dist/{splitter-anatomy-C-uwk4a6.js → splitter-anatomy-D2RNa-hA.js} +0 -0
- /package/dist/{splitter-anatomy-CnGWaJxh.d.ts → splitter-anatomy-DIcfxmkW.d.ts} +0 -0
- /package/dist/{steps-anatomy-DIL1kWzw.js → steps-anatomy-CSfgiyVI.js} +0 -0
- /package/dist/{steps-anatomy-HeSWc3m4.d.ts → steps-anatomy-Djc944iN.d.ts} +0 -0
- /package/dist/{switch-anatomy-CnGWimKt.js → switch-anatomy-DDL1v5Fs.js} +0 -0
- /package/dist/{switch-anatomy-1NB6f5RE.d.ts → switch-anatomy-y8eqf5v0.d.ts} +0 -0
- /package/dist/{tabs-anatomy-DWdgBMch.d.ts → tabs-anatomy-CxuMmuKX.d.ts} +0 -0
- /package/dist/{tabs-anatomy-C6-9PiKf.js → tabs-anatomy-DlQHg-E8.js} +0 -0
- /package/dist/{tags-input-anatomy-B-Hy3Fsz.d.ts → tags-input-anatomy-CvMsM3_R.d.ts} +0 -0
- /package/dist/{tags-input-anatomy-DehZc4H_.js → tags-input-anatomy-DYSi98Bx.js} +0 -0
- /package/dist/{timer-anatomy-1bTmyiM7.js → timer-anatomy-C9bTbrUf.js} +0 -0
- /package/dist/{timer-anatomy-CP-Lmjui.d.ts → timer-anatomy-VYjRFeEL.d.ts} +0 -0
- /package/dist/{toast-anatomy-enVWr_6K.d.ts → toast-anatomy-C-PyfPXK.d.ts} +0 -0
- /package/dist/{toast-anatomy-DFtpvHgX.js → toast-anatomy-CssUp7TT.js} +0 -0
- /package/dist/{toggle-anatomy-C_51TecZ.d.ts → toggle-anatomy-CqxPSmz8.d.ts} +0 -0
- /package/dist/{toggle-anatomy-DKcZgkaU.js → toggle-anatomy-DJ-QrVLv.js} +0 -0
- /package/dist/{toggle-group-anatomy-DfVV-jVO.d.ts → toggle-group-anatomy-C-tSD5OQ.d.ts} +0 -0
- /package/dist/{toggle-group-anatomy-B6QSWOxD.js → toggle-group-anatomy-CFLq6ia_.js} +0 -0
- /package/dist/{tooltip-anatomy-Dz1SAwZB.js → tooltip-anatomy-CPw1wOXd.js} +0 -0
- /package/dist/{tooltip-anatomy-B-X-Z7UL.d.ts → tooltip-anatomy-Mn5jLWJP.d.ts} +0 -0
- /package/dist/{tour-anatomy-BgRusS4B.js → tour-anatomy-CDmnjoPR.js} +0 -0
- /package/dist/{tree-view-anatomy-B-AG-WQd.js → tree-view-anatomy-BW_ruJ-g.js} +0 -0
- /package/dist/{tree-view-anatomy-0x_cpsMM.d.ts → tree-view-anatomy-DjCEP4n7.d.ts} +0 -0
- /package/dist/{types-DGs3Vhzt.d.ts → types-B1RjmsgP.d.ts} +0 -0
- /package/dist/{types-hAYSiblS.d.ts → types-B9AK1oJL.d.ts} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
8
|
-
import "../../render-strategy-
|
|
9
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
10
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-CbkudaSF.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-B6ixUkqg.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CJUSlNHk.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DGJ79e4Y.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CjCWKYvZ.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-CzIfQZJj.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CgD5kGV-.jsx";
|
|
8
|
+
import "../../render-strategy-CjzB786h.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-fqtYfDF0.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-D9IWNBoq.jsx";
|
|
11
11
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
12
12
|
import * as hoverCard from "@sprawlify/primitives/machines/hover-card";
|
|
13
13
|
import { anatomy as hoverCardAnatomy } from "@sprawlify/primitives/machines/hover-card";
|
|
@@ -21,16 +21,16 @@ const [HoverCardProvider, useHoverCardContext] = createContext$1({
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/hover-card/hover-card-arrow.tsx
|
|
23
23
|
const HoverCardArrow = (props) => {
|
|
24
|
-
const hoverCard
|
|
25
|
-
const mergedProps = mergeProps$1(() => hoverCard
|
|
24
|
+
const hoverCard = useHoverCardContext();
|
|
25
|
+
const mergedProps = mergeProps$1(() => hoverCard().getArrowProps(), props);
|
|
26
26
|
return <sprawlify.div {...mergedProps} />;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/hover-card/hover-card-arrow-tip.tsx
|
|
31
31
|
const HoverCardArrowTip = (props) => {
|
|
32
|
-
const hoverCard
|
|
33
|
-
const mergedProps = mergeProps$1(() => hoverCard
|
|
32
|
+
const hoverCard = useHoverCardContext();
|
|
33
|
+
const mergedProps = mergeProps$1(() => hoverCard().getArrowTipProps(), props);
|
|
34
34
|
return <sprawlify.div {...mergedProps} />;
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -114,8 +114,8 @@ const HoverCardRootProvider = (props) => {
|
|
|
114
114
|
//#endregion
|
|
115
115
|
//#region src/components/hover-card/hover-card-trigger.tsx
|
|
116
116
|
const HoverCardTrigger = (props) => {
|
|
117
|
-
const hoverCard
|
|
118
|
-
const mergedProps = mergeProps$1(() => hoverCard
|
|
117
|
+
const hoverCard = useHoverCardContext();
|
|
118
|
+
const mergedProps = mergeProps$1(() => hoverCard().getTriggerProps(), props);
|
|
119
119
|
return <sprawlify.button {...mergedProps} />;
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import
|
|
5
|
-
import * as solid_js24 from "solid-js";
|
|
1
|
+
import { n as PropTypes } from "../../index-CLwp1P-Z.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor } from "../../types-B9AK1oJL.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-DMawBjkt.js";
|
|
4
|
+
import * as solid_js443 from "solid-js";
|
|
6
5
|
import { Accessor, JSX } from "solid-js";
|
|
7
6
|
import * as imageCropper from "@sprawlify/primitives/machines/image-cropper";
|
|
8
|
-
import { CropChangeDetails, CropChangeDetails as ImageCropperCropChangeDetails, FlipChangeDetails, FlipChangeDetails as ImageCropperFlipChangeDetails, FlipState, FlipState as ImageCropperFlipState, GridProps, HandlePosition, HandlePosition as ImageCropperHandlePosition, HandleProps, RotationChangeDetails, RotationChangeDetails as ImageCropperRotationChangeDetails, ZoomChangeDetails, ZoomChangeDetails as ImageCropperZoomChangeDetails, handles } from "@sprawlify/primitives/machines/image-cropper";
|
|
7
|
+
import { CropChangeDetails, CropChangeDetails as ImageCropperCropChangeDetails, FlipChangeDetails, FlipChangeDetails as ImageCropperFlipChangeDetails, FlipState, FlipState as ImageCropperFlipState, GridProps, HandlePosition, HandlePosition as ImageCropperHandlePosition, HandleProps, RotationChangeDetails, RotationChangeDetails as ImageCropperRotationChangeDetails, ZoomChangeDetails, ZoomChangeDetails as ImageCropperZoomChangeDetails, anatomy as imageCropperAnatomy, handles } from "@sprawlify/primitives/machines/image-cropper";
|
|
9
8
|
|
|
10
9
|
//#region src/components/image-cropper/use-image-cropper.d.ts
|
|
11
10
|
interface UseImageCropperProps extends Optional<Omit<imageCropper.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
@@ -24,22 +23,22 @@ declare const ImageCropperContext: (props: ImageCropperContextProps) => JSX.Elem
|
|
|
24
23
|
//#region src/components/image-cropper/image-cropper-grid.d.ts
|
|
25
24
|
interface ImageCropperGridBaseProps extends PolymorphicProps<'div'>, GridProps {}
|
|
26
25
|
interface ImageCropperGridProps extends HTMLProps<'div'>, ImageCropperGridBaseProps {}
|
|
27
|
-
declare const ImageCropperGrid: (props: ImageCropperGridProps) =>
|
|
26
|
+
declare const ImageCropperGrid: (props: ImageCropperGridProps) => solid_js443.JSX.Element;
|
|
28
27
|
//#endregion
|
|
29
28
|
//#region src/components/image-cropper/image-cropper-handle.d.ts
|
|
30
29
|
interface ImageCropperHandleBaseProps extends PolymorphicProps<'div'>, HandleProps {}
|
|
31
30
|
interface ImageCropperHandleProps extends HTMLProps<'div'>, ImageCropperHandleBaseProps {}
|
|
32
|
-
declare const ImageCropperHandle: (props: ImageCropperHandleProps) =>
|
|
31
|
+
declare const ImageCropperHandle: (props: ImageCropperHandleProps) => solid_js443.JSX.Element;
|
|
33
32
|
//#endregion
|
|
34
33
|
//#region src/components/image-cropper/image-cropper-image.d.ts
|
|
35
34
|
interface ImageCropperImageBaseProps extends PolymorphicProps<'img'> {}
|
|
36
35
|
interface ImageCropperImageProps extends HTMLProps<'img'>, ImageCropperImageBaseProps {}
|
|
37
|
-
declare const ImageCropperImage: (props: ImageCropperImageProps) =>
|
|
36
|
+
declare const ImageCropperImage: (props: ImageCropperImageProps) => solid_js443.JSX.Element;
|
|
38
37
|
//#endregion
|
|
39
38
|
//#region src/components/image-cropper/image-cropper-root.d.ts
|
|
40
39
|
interface ImageCropperRootBaseProps extends UseImageCropperProps, PolymorphicProps<'div'> {}
|
|
41
40
|
interface ImageCropperRootProps extends HTMLProps<'div'>, ImageCropperRootBaseProps {}
|
|
42
|
-
declare const ImageCropperRoot: (props: ImageCropperRootProps) =>
|
|
41
|
+
declare const ImageCropperRoot: (props: ImageCropperRootProps) => solid_js443.JSX.Element;
|
|
43
42
|
//#endregion
|
|
44
43
|
//#region src/components/image-cropper/image-cropper-root-provider.d.ts
|
|
45
44
|
interface RootProviderProps {
|
|
@@ -47,17 +46,17 @@ interface RootProviderProps {
|
|
|
47
46
|
}
|
|
48
47
|
interface ImageCropperRootProviderBaseProps extends PolymorphicProps<'div'> {}
|
|
49
48
|
interface ImageCropperRootProviderProps extends HTMLProps<'div'>, RootProviderProps, ImageCropperRootProviderBaseProps {}
|
|
50
|
-
declare const ImageCropperRootProvider: (props: ImageCropperRootProviderProps) =>
|
|
49
|
+
declare const ImageCropperRootProvider: (props: ImageCropperRootProviderProps) => solid_js443.JSX.Element;
|
|
51
50
|
//#endregion
|
|
52
51
|
//#region src/components/image-cropper/image-cropper-selection.d.ts
|
|
53
52
|
interface ImageCropperSelectionBaseProps extends PolymorphicProps<'div'> {}
|
|
54
53
|
interface ImageCropperSelectionProps extends HTMLProps<'div'>, ImageCropperSelectionBaseProps {}
|
|
55
|
-
declare const ImageCropperSelection: (props: ImageCropperSelectionProps) =>
|
|
54
|
+
declare const ImageCropperSelection: (props: ImageCropperSelectionProps) => solid_js443.JSX.Element;
|
|
56
55
|
//#endregion
|
|
57
56
|
//#region src/components/image-cropper/image-cropper-viewport.d.ts
|
|
58
57
|
interface ImageCropperViewportBaseProps extends PolymorphicProps<'div'> {}
|
|
59
58
|
interface ImageCropperViewportProps extends HTMLProps<'div'>, ImageCropperViewportBaseProps {}
|
|
60
|
-
declare const ImageCropperViewport: (props: ImageCropperViewportProps) =>
|
|
59
|
+
declare const ImageCropperViewport: (props: ImageCropperViewportProps) => solid_js443.JSX.Element;
|
|
61
60
|
declare namespace image_cropper_d_exports {
|
|
62
61
|
export { ImageCropperContext as Context, ImageCropperContextProps as ContextProps, CropChangeDetails, FlipChangeDetails, FlipState, ImageCropperGrid as Grid, ImageCropperGridBaseProps as GridBaseProps, ImageCropperGridProps as GridProps, ImageCropperHandle as Handle, ImageCropperHandleBaseProps as HandleBaseProps, HandlePosition, ImageCropperHandleProps as HandleProps, ImageCropperImage as Image, ImageCropperImageBaseProps as ImageBaseProps, ImageCropperImageProps as ImageProps, ImageCropperRoot as Root, ImageCropperRootBaseProps as RootBaseProps, ImageCropperRootProps as RootProps, ImageCropperRootProvider as RootProvider, ImageCropperRootProviderBaseProps as RootProviderBaseProps, ImageCropperRootProviderProps as RootProviderProps, RotationChangeDetails, ImageCropperSelection as Selection, ImageCropperSelectionBaseProps as SelectionBaseProps, ImageCropperSelectionProps as SelectionProps, ImageCropperViewport as Viewport, ImageCropperViewportBaseProps as ViewportBaseProps, ImageCropperViewportProps as ViewportProps, ZoomChangeDetails, handles };
|
|
63
62
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as imageCropperAnatomy } from "../../image-cropper-anatomy-
|
|
8
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-Crxbs6Ki.js";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CTrSA35K.js";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DPb5Yv_u.js";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CdwYAas1.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-Ce76k0aC.js";
|
|
7
|
+
import { t as imageCropperAnatomy } from "../../image-cropper-anatomy-DOqIY-bD.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-BcbxQ6yh.js";
|
|
9
9
|
import { createMemo, createUniqueId } from "solid-js";
|
|
10
10
|
import { createComponent } from "solid-js/web";
|
|
11
11
|
import * as imageCropper from "@sprawlify/primitives/machines/image-cropper";
|
|
@@ -108,10 +108,10 @@ const ImageCropperRoot = (props) => {
|
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/components/image-cropper/image-cropper-root-provider.tsx
|
|
110
110
|
const ImageCropperRootProvider = (props) => {
|
|
111
|
-
const [{ value: imageCropper
|
|
112
|
-
const mergedProps = mergeProps$2(() => imageCropper
|
|
111
|
+
const [{ value: imageCropper }, localProps] = createSplitProps()(props, ["value"]);
|
|
112
|
+
const mergedProps = mergeProps$2(() => imageCropper().getRootProps(), localProps);
|
|
113
113
|
return createComponent(ImageCropperProvider, {
|
|
114
|
-
value: imageCropper
|
|
114
|
+
value: imageCropper,
|
|
115
115
|
get children() {
|
|
116
116
|
return createComponent(sprawlify.div, mergedProps);
|
|
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 { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-CbkudaSF.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-B6ixUkqg.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CJUSlNHk.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DGJ79e4Y.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CjCWKYvZ.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-CzIfQZJj.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CgD5kGV-.jsx";
|
|
8
8
|
import { createMemo, createUniqueId } from "solid-js";
|
|
9
9
|
import * as imageCropper from "@sprawlify/primitives/machines/image-cropper";
|
|
10
10
|
import { anatomy as imageCropperAnatomy, handles } from "@sprawlify/primitives/machines/image-cropper";
|
|
@@ -103,9 +103,9 @@ const ImageCropperRoot = (props) => {
|
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region src/components/image-cropper/image-cropper-root-provider.tsx
|
|
105
105
|
const ImageCropperRootProvider = (props) => {
|
|
106
|
-
const [{ value: imageCropper
|
|
107
|
-
const mergedProps = mergeProps$1(() => imageCropper
|
|
108
|
-
return <ImageCropperProvider value={imageCropper
|
|
106
|
+
const [{ value: imageCropper }, localProps] = createSplitProps()(props, ["value"]);
|
|
107
|
+
const mergedProps = mergeProps$1(() => imageCropper().getRootProps(), localProps);
|
|
108
|
+
return <ImageCropperProvider value={imageCropper}>
|
|
109
109
|
<sprawlify.div {...mergedProps} />
|
|
110
110
|
</ImageCropperProvider>;
|
|
111
111
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import "../../index-
|
|
2
|
-
import "../../types-
|
|
3
|
-
import "../../factory-
|
|
4
|
-
import "../../render-strategy-
|
|
5
|
-
import "../../
|
|
6
|
-
import "../../index-
|
|
7
|
-
import { h as TreeViewTreeProps, it as UseTreeViewReturn, rt as UseTreeViewProps, w as TreeViewRootProps, y as TreeViewRootProviderProps } from "../../index-DBe4g7N2.js";
|
|
1
|
+
import "../../index-CLwp1P-Z.js";
|
|
2
|
+
import "../../types-B9AK1oJL.js";
|
|
3
|
+
import "../../factory-DMawBjkt.js";
|
|
4
|
+
import "../../render-strategy-CU_9g0dp.js";
|
|
5
|
+
import "../../index-nyUtQSXQ.js";
|
|
6
|
+
import { T as TreeViewRootProps, at as UseTreeViewReturn, b as TreeViewRootProviderProps, g as TreeViewTreeProps, it as UseTreeViewProps } from "../../index-CuXUwhrn.js";
|
|
8
7
|
import { JSX } from "solid-js";
|
|
9
8
|
import { JsonNode, JsonNodeHastElement, JsonNodePreviewOptions } from "@sprawlify/primitives/json-tree-utils";
|
|
10
9
|
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import "../../core-
|
|
3
|
-
import { t as createContext$1 } from "../../create-context-
|
|
4
|
-
import "../../providers-
|
|
5
|
-
import "../../factory-
|
|
6
|
-
import "../../
|
|
7
|
-
import "../../
|
|
8
|
-
import
|
|
9
|
-
import "../../
|
|
10
|
-
import "../../
|
|
11
|
-
import { a as createTreeCollection } from "../../collection-B4akimO8.js";
|
|
12
|
-
import { S as TreeViewBranch, _ as TreeViewBranchText, a as useTreeView, b as TreeViewBranchControl, f as TreeViewItemText, i as TreeViewRoot, m as TreeViewItem, n as TreeViewTree, o as TreeViewNodeProvider, r as TreeViewRootProvider, v as TreeViewBranchIndicator, w as useTreeViewContext, x as TreeViewBranchContent, y as TreeViewBranchIndentGuide } from "../../tree-view-BXHmtp4R.js";
|
|
1
|
+
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
2
|
+
import "../../core-Crxbs6Ki.js";
|
|
3
|
+
import { t as createContext$1 } from "../../create-context-DPb5Yv_u.js";
|
|
4
|
+
import "../../providers-CdwYAas1.js";
|
|
5
|
+
import "../../factory-Ce76k0aC.js";
|
|
6
|
+
import { t as createSplitProps } from "../../create-split-props-BcbxQ6yh.js";
|
|
7
|
+
import "../../render-strategy-DUrOMptL.js";
|
|
8
|
+
import "../../collapsible-BhGN1nX_.js";
|
|
9
|
+
import { a as createTreeCollection } from "../../collection-Cr3_-Nj9.js";
|
|
10
|
+
import { S as TreeViewBranch, _ as TreeViewBranchText, a as useTreeView, b as TreeViewBranchControl, f as TreeViewItemText, i as TreeViewRoot, m as TreeViewItem, n as TreeViewTree, o as TreeViewNodeProvider, r as TreeViewRootProvider, v as TreeViewBranchIndicator, w as useTreeViewContext, x as TreeViewBranchContent, y as TreeViewBranchIndentGuide } from "../../tree-view-pTAaf6yt.js";
|
|
13
11
|
import { For, Index, Show, createMemo, splitProps, untrack } from "solid-js";
|
|
14
12
|
import { Dynamic, createComponent, effect, insert, memo, mergeProps as mergeProps$1, setAttribute, template } from "solid-js/web";
|
|
15
13
|
import { getAccessibleDescription, getRootNode, jsonNodeToElement, keyPathToKey, nodeToString, nodeToValue } from "@sprawlify/primitives/json-tree-utils";
|
|
@@ -280,11 +278,11 @@ const JsonTreeViewTree = (props) => {
|
|
|
280
278
|
"renderValue"
|
|
281
279
|
]);
|
|
282
280
|
const tree = useTreeViewContext();
|
|
283
|
-
const children
|
|
281
|
+
const children = () => tree().collection.getNodeChildren(tree().collection.rootNode);
|
|
284
282
|
return createComponent(TreeViewTree, mergeProps$1({ "data-scope": "json-tree-view" }, treeProps, { get children() {
|
|
285
283
|
return createComponent(Index, {
|
|
286
284
|
get each() {
|
|
287
|
-
return children
|
|
285
|
+
return children();
|
|
288
286
|
},
|
|
289
287
|
children: (child, index) => createComponent(JsonTreeViewNode, mergeProps$1({
|
|
290
288
|
get node() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import "../../core-
|
|
3
|
-
import { t as createContext$1 } from "../../create-context-
|
|
4
|
-
import "../../providers-
|
|
5
|
-
import "../../factory-
|
|
6
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
7
|
-
import "../../render-strategy-
|
|
8
|
-
import "../../collapsible-
|
|
9
|
-
import { a as createTreeCollection } from "../../collection-
|
|
10
|
-
import { T as useTreeViewContext, o as useTreeView, t as tree_view_exports } from "../../tree-view-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-CbkudaSF.jsx";
|
|
2
|
+
import "../../core-B6ixUkqg.jsx";
|
|
3
|
+
import { t as createContext$1 } from "../../create-context-DGJ79e4Y.jsx";
|
|
4
|
+
import "../../providers-CjCWKYvZ.jsx";
|
|
5
|
+
import "../../factory-CzIfQZJj.jsx";
|
|
6
|
+
import { t as createSplitProps } from "../../create-split-props-CgD5kGV-.jsx";
|
|
7
|
+
import "../../render-strategy-CjzB786h.jsx";
|
|
8
|
+
import "../../collapsible-BfQjngkz.jsx";
|
|
9
|
+
import { a as createTreeCollection } from "../../collection-DXodYZZC.jsx";
|
|
10
|
+
import { T as useTreeViewContext, o as useTreeView, t as tree_view_exports } from "../../tree-view-UMxlqgnA.jsx";
|
|
11
11
|
import { For, Index, Show, createMemo, splitProps, untrack } from "solid-js";
|
|
12
12
|
import { Dynamic } from "solid-js/web";
|
|
13
13
|
import { getAccessibleDescription, getRootNode, jsonNodeToElement, keyPathToKey, nodeToString, nodeToValue } from "@sprawlify/primitives/json-tree-utils";
|
|
@@ -160,9 +160,9 @@ const JsonTreeViewTree = (props) => {
|
|
|
160
160
|
"renderValue"
|
|
161
161
|
]);
|
|
162
162
|
const tree = useTreeViewContext();
|
|
163
|
-
const children
|
|
163
|
+
const children = () => tree().collection.getNodeChildren(tree().collection.rootNode);
|
|
164
164
|
return <tree_view_exports.Tree data-scope="json-tree-view" {...treeProps}>
|
|
165
|
-
<Index each={children
|
|
165
|
+
<Index each={children()}>
|
|
166
166
|
{(child, index) => <JsonTreeViewNode node={child()} indexPath={[index]} {...nodeProps} />}
|
|
167
167
|
</Index>
|
|
168
168
|
</tree_view_exports.Tree>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as PropTypes } from "../../index-
|
|
2
|
-
import { i as Optional, n as MaybeAccessor, t as Assign } from "../../types-
|
|
3
|
-
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as solid_js465 from "solid-js";
|
|
1
|
+
import { n as PropTypes } from "../../index-CLwp1P-Z.js";
|
|
2
|
+
import { i as Optional, n as MaybeAccessor, t as Assign } from "../../types-B9AK1oJL.js";
|
|
3
|
+
import { r as PolymorphicProps, t as HTMLProps } from "../../factory-DMawBjkt.js";
|
|
4
|
+
import { _ as CollectionItem, b as createListCollection, y as ListCollection } from "../../index-nyUtQSXQ.js";
|
|
5
|
+
import * as solid_js223 from "solid-js";
|
|
7
6
|
import { Accessor, JSX } from "solid-js";
|
|
7
|
+
import * as _sprawlify_primitives_anatomy6 from "@sprawlify/primitives/anatomy";
|
|
8
8
|
import * as listbox from "@sprawlify/primitives/machines/listbox";
|
|
9
9
|
import { HighlightChangeDetails, HighlightChangeDetails as ListboxHighlightChangeDetails, InputProps, ItemProps, ItemState, ScrollToIndexDetails, ScrollToIndexDetails as ListboxScrollToIndexDetails, SelectionDetails, SelectionDetails as ListboxSelectionDetails, SelectionMode, SelectionMode as ListboxSelectionMode, ValueChangeDetails, ValueChangeDetails as ListboxValueChangeDetails } from "@sprawlify/primitives/machines/listbox";
|
|
10
10
|
import { JSX as JSX$1 } from "solid-js/jsx-runtime";
|
|
@@ -28,22 +28,22 @@ declare function ListboxContext<T extends CollectionItem>(props: ListboxContextP
|
|
|
28
28
|
//#region src/components/listbox/listbox-content.d.ts
|
|
29
29
|
interface ListboxContentBaseProps extends PolymorphicProps<'div'> {}
|
|
30
30
|
interface ListboxContentProps extends HTMLProps<'div'>, ListboxContentBaseProps {}
|
|
31
|
-
declare const ListboxContent: (props: ListboxContentProps) =>
|
|
31
|
+
declare const ListboxContent: (props: ListboxContentProps) => solid_js223.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/components/listbox/listbox-empty.d.ts
|
|
34
34
|
interface ListboxEmptyBaseProps extends PolymorphicProps<'div'> {}
|
|
35
35
|
interface ListboxEmptyProps extends HTMLProps<'div'>, ListboxEmptyBaseProps {}
|
|
36
|
-
declare const ListboxEmpty: (props: ListboxEmptyProps) =>
|
|
36
|
+
declare const ListboxEmpty: (props: ListboxEmptyProps) => solid_js223.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
//#region src/components/listbox/listbox-input.d.ts
|
|
39
39
|
interface ListboxInputBaseProps extends InputProps, PolymorphicProps<'input'> {}
|
|
40
40
|
interface ListboxInputProps extends HTMLProps<'input'>, ListboxInputBaseProps {}
|
|
41
|
-
declare const ListboxInput: (props: ListboxInputProps) =>
|
|
41
|
+
declare const ListboxInput: (props: ListboxInputProps) => solid_js223.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/components/listbox/listbox-item.d.ts
|
|
44
44
|
interface ListboxItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
|
|
45
45
|
interface ListboxItemProps extends HTMLProps<'div'>, ListboxItemBaseProps {}
|
|
46
|
-
declare const ListboxItem: (props: ListboxItemProps) =>
|
|
46
|
+
declare const ListboxItem: (props: ListboxItemProps) => solid_js223.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/components/listbox/use-listbox-item-context.d.ts
|
|
49
49
|
interface UseListboxItemContext extends ItemState {}
|
|
@@ -57,32 +57,32 @@ declare function ListboxItemContext(props: ListboxItemContextProps): JSX.Element
|
|
|
57
57
|
//#region src/components/listbox/listbox-item-group.d.ts
|
|
58
58
|
interface ListboxItemGroupBaseProps extends PolymorphicProps<'div'> {}
|
|
59
59
|
interface ListboxItemGroupProps extends HTMLProps<'div'>, ListboxItemGroupBaseProps {}
|
|
60
|
-
declare const ListboxItemGroup: (props: ListboxItemGroupProps) =>
|
|
60
|
+
declare const ListboxItemGroup: (props: ListboxItemGroupProps) => solid_js223.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/components/listbox/listbox-item-group-label.d.ts
|
|
63
63
|
interface ListboxItemGroupLabelBaseProps extends PolymorphicProps<'div'> {}
|
|
64
64
|
interface ListboxItemGroupLabelProps extends HTMLProps<'div'>, ListboxItemGroupLabelBaseProps {}
|
|
65
|
-
declare const ListboxItemGroupLabel: (props: ListboxItemGroupLabelProps) =>
|
|
65
|
+
declare const ListboxItemGroupLabel: (props: ListboxItemGroupLabelProps) => solid_js223.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
//#region src/components/listbox/listbox-item-indicator.d.ts
|
|
68
68
|
interface ListboxItemIndicatorBaseProps extends PolymorphicProps<'div'> {}
|
|
69
69
|
interface ListboxItemIndicatorProps extends HTMLProps<'div'>, ListboxItemIndicatorBaseProps {}
|
|
70
|
-
declare const ListboxItemIndicator: (props: ListboxItemIndicatorProps) =>
|
|
70
|
+
declare const ListboxItemIndicator: (props: ListboxItemIndicatorProps) => solid_js223.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/components/listbox/listbox-item-text.d.ts
|
|
73
73
|
interface ListboxItemTextBaseProps extends PolymorphicProps<'div'> {}
|
|
74
74
|
interface ListboxItemTextProps extends HTMLProps<'div'>, ListboxItemTextBaseProps {}
|
|
75
|
-
declare const ListboxItemText: (props: ListboxItemTextProps) =>
|
|
75
|
+
declare const ListboxItemText: (props: ListboxItemTextProps) => solid_js223.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/components/listbox/listbox-label.d.ts
|
|
78
78
|
interface ListboxLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
79
79
|
interface ListboxLabelProps extends HTMLProps<'label'>, ListboxLabelBaseProps {}
|
|
80
|
-
declare const ListboxLabel: (props: ListboxLabelProps) =>
|
|
80
|
+
declare const ListboxLabel: (props: ListboxLabelProps) => solid_js223.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/components/listbox/listbox-root.d.ts
|
|
83
83
|
interface ListboxRootBaseProps<T extends CollectionItem> extends UseListboxProps<T>, PolymorphicProps<'div'> {}
|
|
84
84
|
interface ListboxRootProps<T extends CollectionItem> extends Assign<HTMLProps<'div'>, ListboxRootBaseProps<T>> {}
|
|
85
|
-
declare const ListboxRoot: <T extends CollectionItem>(props: ListboxRootProps<T>) =>
|
|
85
|
+
declare const ListboxRoot: <T extends CollectionItem>(props: ListboxRootProps<T>) => solid_js223.JSX.Element;
|
|
86
86
|
type ListboxRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<ListboxRootProps<T>, P>;
|
|
87
87
|
type ListboxRootComponent<P = {}> = <T extends CollectionItem>(props: ListboxRootComponentProps<T, P>) => any;
|
|
88
88
|
//#endregion
|
|
@@ -103,7 +103,10 @@ interface ListboxValueTextBaseProps extends PolymorphicProps<'span'> {
|
|
|
103
103
|
placeholder?: string;
|
|
104
104
|
}
|
|
105
105
|
interface ListboxValueTextProps extends HTMLProps<'span'>, ListboxValueTextBaseProps {}
|
|
106
|
-
declare const ListboxValueText: (props: ListboxValueTextProps) =>
|
|
106
|
+
declare const ListboxValueText: (props: ListboxValueTextProps) => solid_js223.JSX.Element;
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region src/components/listbox/listbox-anatomy.d.ts
|
|
109
|
+
declare const listboxAnatomy: _sprawlify_primitives_anatomy6.AnatomyInstance<"root" | "item" | "itemGroup" | "label" | "valueText" | "content" | "input" | "itemIndicator" | "itemText" | "itemGroupLabel" | "empty">;
|
|
107
110
|
declare namespace listbox_d_exports {
|
|
108
111
|
export { ListboxContent as Content, ListboxContentBaseProps as ContentBaseProps, ListboxContentProps as ContentProps, ListboxContext as Context, ListboxContextProps as ContextProps, ListboxEmpty as Empty, ListboxEmptyBaseProps as EmptyBaseProps, ListboxEmptyProps as EmptyProps, HighlightChangeDetails, ListboxInput as Input, ListboxInputBaseProps as InputBaseProps, ListboxInputProps as InputProps, ListboxItem as Item, ListboxItemBaseProps as ItemBaseProps, ListboxItemContext as ItemContext, ListboxItemContextProps as ItemContextProps, ListboxItemGroup as ItemGroup, ListboxItemGroupBaseProps as ItemGroupBaseProps, ListboxItemGroupLabel as ItemGroupLabel, ListboxItemGroupLabelBaseProps as ItemGroupLabelBaseProps, ListboxItemGroupLabelProps as ItemGroupLabelProps, ListboxItemGroupProps as ItemGroupProps, ListboxItemIndicator as ItemIndicator, ListboxItemIndicatorBaseProps as ItemIndicatorBaseProps, ListboxItemIndicatorProps as ItemIndicatorProps, ListboxItemProps as ItemProps, ListboxItemText as ItemText, ListboxItemTextBaseProps as ItemTextBaseProps, ListboxItemTextProps as ItemTextProps, ListboxLabel as Label, ListboxLabelBaseProps as LabelBaseProps, ListboxLabelProps as LabelProps, ListboxRoot as Root, ListboxRootBaseProps as RootBaseProps, ListboxRootComponent as RootComponent, ListboxRootComponentProps as RootComponentProps, ListboxRootProps as RootProps, ListboxRootProvider as RootProvider, ListboxRootProviderBaseProps as RootProviderBaseProps, ListboxRootProviderComponent as RootProviderComponent, ListboxRootProviderProps as RootProviderProps, ScrollToIndexDetails, SelectionDetails, SelectionMode, ValueChangeDetails, ListboxValueText as ValueText, ListboxValueTextBaseProps as ValueTextBaseProps, ListboxValueTextProps as ValueTextProps };
|
|
109
112
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as listboxAnatomy } from "../../listbox-anatomy-
|
|
8
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
9
|
-
import { o as createListCollection } from "../../collection-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$2 } from "../../core-Crxbs6Ki.js";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CTrSA35K.js";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DPb5Yv_u.js";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CdwYAas1.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-Ce76k0aC.js";
|
|
7
|
+
import { t as listboxAnatomy } from "../../listbox-anatomy-D2r-4uq6.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-BcbxQ6yh.js";
|
|
9
|
+
import { o as createListCollection } from "../../collection-Cr3_-Nj9.js";
|
|
10
10
|
import { Show, children, createMemo, createUniqueId } from "solid-js";
|
|
11
11
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
12
12
|
import * as listbox from "@sprawlify/primitives/machines/listbox";
|
|
@@ -26,8 +26,8 @@ function ListboxContext(props) {
|
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/components/listbox/listbox-content.tsx
|
|
28
28
|
const ListboxContent = (props) => {
|
|
29
|
-
const listbox
|
|
30
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
29
|
+
const listbox = useListboxContext();
|
|
30
|
+
const mergedProps = mergeProps$2(() => listbox().getContentProps(), props);
|
|
31
31
|
return createComponent(sprawlify.div, mergedProps);
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -35,8 +35,8 @@ const ListboxContent = (props) => {
|
|
|
35
35
|
//#region src/components/listbox/listbox-empty.tsx
|
|
36
36
|
const parts = listboxAnatomy.build();
|
|
37
37
|
const ListboxEmpty = (props) => {
|
|
38
|
-
const listbox
|
|
39
|
-
const size = createMemo(() => listbox
|
|
38
|
+
const listbox = useListboxContext();
|
|
39
|
+
const size = createMemo(() => listbox().collection.size);
|
|
40
40
|
return createComponent(Show, {
|
|
41
41
|
get when() {
|
|
42
42
|
return size() === 0;
|
|
@@ -51,8 +51,8 @@ const ListboxEmpty = (props) => {
|
|
|
51
51
|
//#region src/components/listbox/listbox-input.tsx
|
|
52
52
|
const ListboxInput = (props) => {
|
|
53
53
|
const [inputProps, localProps] = createSplitProps()(props, ["autoHighlight"]);
|
|
54
|
-
const listbox
|
|
55
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
54
|
+
const listbox = useListboxContext();
|
|
55
|
+
const mergedProps = mergeProps$2(() => listbox().getInputProps(inputProps), localProps);
|
|
56
56
|
return createComponent(sprawlify.input, mergedProps);
|
|
57
57
|
};
|
|
58
58
|
|
|
@@ -74,9 +74,9 @@ const [ListboxItemPropsProvider, useListboxItemPropsContext] = createContext$1({
|
|
|
74
74
|
//#region src/components/listbox/listbox-item.tsx
|
|
75
75
|
const ListboxItem = (props) => {
|
|
76
76
|
const [itemProps, localProps] = createSplitProps()(props, ["item", "highlightOnHover"]);
|
|
77
|
-
const listbox
|
|
78
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
79
|
-
const itemState = () => listbox
|
|
77
|
+
const listbox = useListboxContext();
|
|
78
|
+
const mergedProps = mergeProps$2(() => listbox().getItemProps(itemProps), localProps);
|
|
79
|
+
const itemState = () => listbox().getItemState(itemProps);
|
|
80
80
|
return createComponent(ListboxItemPropsProvider, {
|
|
81
81
|
value: itemProps,
|
|
82
82
|
get children() {
|
|
@@ -114,8 +114,8 @@ const ListboxItemGroup = (props) => {
|
|
|
114
114
|
id,
|
|
115
115
|
..._itemGroupProps
|
|
116
116
|
};
|
|
117
|
-
const listbox
|
|
118
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
117
|
+
const listbox = useListboxContext();
|
|
118
|
+
const mergedProps = mergeProps$2(() => listbox().getItemGroupProps(itemGroupProps), localProps);
|
|
119
119
|
return createComponent(ListboxItemGroupPropsProvider, {
|
|
120
120
|
value: itemGroupProps,
|
|
121
121
|
get children() {
|
|
@@ -127,35 +127,35 @@ const ListboxItemGroup = (props) => {
|
|
|
127
127
|
//#endregion
|
|
128
128
|
//#region src/components/listbox/listbox-item-group-label.tsx
|
|
129
129
|
const ListboxItemGroupLabel = (props) => {
|
|
130
|
-
const listbox
|
|
130
|
+
const listbox = useListboxContext();
|
|
131
131
|
const itemGroupProps = useListboxItemGroupPropsContext();
|
|
132
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
132
|
+
const mergedProps = mergeProps$2(() => listbox().getItemGroupLabelProps({ htmlFor: itemGroupProps.id }), props);
|
|
133
133
|
return createComponent(sprawlify.div, mergedProps);
|
|
134
134
|
};
|
|
135
135
|
|
|
136
136
|
//#endregion
|
|
137
137
|
//#region src/components/listbox/listbox-item-indicator.tsx
|
|
138
138
|
const ListboxItemIndicator = (props) => {
|
|
139
|
-
const listbox
|
|
139
|
+
const listbox = useListboxContext();
|
|
140
140
|
const itemProps = useListboxItemPropsContext();
|
|
141
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
141
|
+
const mergedProps = mergeProps$2(() => listbox().getItemIndicatorProps(itemProps), props);
|
|
142
142
|
return createComponent(sprawlify.div, mergedProps);
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
//#endregion
|
|
146
146
|
//#region src/components/listbox/listbox-item-text.tsx
|
|
147
147
|
const ListboxItemText = (props) => {
|
|
148
|
-
const listbox
|
|
148
|
+
const listbox = useListboxContext();
|
|
149
149
|
const itemProps = useListboxItemPropsContext();
|
|
150
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
150
|
+
const mergedProps = mergeProps$2(() => listbox().getItemTextProps(itemProps), props);
|
|
151
151
|
return createComponent(sprawlify.div, mergedProps);
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
//#endregion
|
|
155
155
|
//#region src/components/listbox/listbox-label.tsx
|
|
156
156
|
const ListboxLabel = (props) => {
|
|
157
|
-
const listbox
|
|
158
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
157
|
+
const listbox = useListboxContext();
|
|
158
|
+
const mergedProps = mergeProps$2(() => listbox().getLabelProps(), props);
|
|
159
159
|
return createComponent(sprawlify.label, mergedProps);
|
|
160
160
|
};
|
|
161
161
|
|
|
@@ -199,10 +199,10 @@ const ListboxRoot = (props) => {
|
|
|
199
199
|
"typeahead",
|
|
200
200
|
"value"
|
|
201
201
|
]);
|
|
202
|
-
const listbox
|
|
203
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
202
|
+
const listbox = useListbox(useListboxProps);
|
|
203
|
+
const mergedProps = mergeProps$2(() => listbox().getRootProps(), localProps);
|
|
204
204
|
return createComponent(ListboxProvider, {
|
|
205
|
-
value: listbox
|
|
205
|
+
value: listbox,
|
|
206
206
|
get children() {
|
|
207
207
|
return createComponent(sprawlify.div, mergedProps);
|
|
208
208
|
}
|
|
@@ -212,10 +212,10 @@ const ListboxRoot = (props) => {
|
|
|
212
212
|
//#endregion
|
|
213
213
|
//#region src/components/listbox/listbox-root-provider.tsx
|
|
214
214
|
const ListboxRootProvider = (props) => {
|
|
215
|
-
const [{ value: listbox
|
|
216
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
215
|
+
const [{ value: listbox }, localProps] = createSplitProps()(props, ["value"]);
|
|
216
|
+
const mergedProps = mergeProps$2(() => listbox().getRootProps(), localProps);
|
|
217
217
|
return createComponent(ListboxProvider, {
|
|
218
|
-
value: listbox
|
|
218
|
+
value: listbox,
|
|
219
219
|
get children() {
|
|
220
220
|
return createComponent(sprawlify.div, mergedProps);
|
|
221
221
|
}
|
|
@@ -226,11 +226,11 @@ const ListboxRootProvider = (props) => {
|
|
|
226
226
|
//#region src/components/listbox/listbox-value-text.tsx
|
|
227
227
|
const ListboxValueText = (props) => {
|
|
228
228
|
const { placeholder, ...localprops } = props;
|
|
229
|
-
const listbox
|
|
230
|
-
const mergedProps = mergeProps$2(() => listbox
|
|
229
|
+
const listbox = useListboxContext();
|
|
230
|
+
const mergedProps = mergeProps$2(() => listbox().getValueTextProps(), localprops);
|
|
231
231
|
const resolved = children(() => props.children);
|
|
232
232
|
return createComponent(sprawlify.span, mergeProps$1(mergedProps, { get children() {
|
|
233
|
-
return resolved() || listbox
|
|
233
|
+
return resolved() || listbox().valueAsString || placeholder;
|
|
234
234
|
} }));
|
|
235
235
|
};
|
|
236
236
|
|