@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,15 +1,15 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
8
|
-
import "../../render-strategy-
|
|
9
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
10
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
11
|
-
import "../../fieldset-
|
|
12
|
-
import { m as useFieldContext } from "../../field-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-CbkudaSF.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-B6ixUkqg.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CJUSlNHk.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DGJ79e4Y.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CjCWKYvZ.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-CzIfQZJj.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CgD5kGV-.jsx";
|
|
8
|
+
import "../../render-strategy-CjzB786h.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-fqtYfDF0.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-D9IWNBoq.jsx";
|
|
11
|
+
import "../../fieldset-Dultvtpf.jsx";
|
|
12
|
+
import { m as useFieldContext } from "../../field-BMLVDAiH.jsx";
|
|
13
13
|
import { Index, Show, createMemo, createUniqueId } from "solid-js";
|
|
14
14
|
import * as colorPicker from "@sprawlify/primitives/machines/color-picker";
|
|
15
15
|
import { anatomy, parse as parseColor } from "@sprawlify/primitives/machines/color-picker";
|
|
@@ -95,9 +95,9 @@ const ColorPickerChannelSlider = (props) => {
|
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/components/color-picker/color-picker-channel-slider-label.tsx
|
|
97
97
|
const ColorPickerChannelSliderLabel = (props) => {
|
|
98
|
-
const colorPicker
|
|
98
|
+
const colorPicker = useColorPickerContext();
|
|
99
99
|
const channelProps = useColorPickerChannelPropsContext();
|
|
100
|
-
const mergedProps = mergeProps$1(() => colorPicker
|
|
100
|
+
const mergedProps = mergeProps$1(() => colorPicker().getChannelSliderLabelProps(channelProps), props);
|
|
101
101
|
return <sprawlify.label {...mergedProps} />;
|
|
102
102
|
};
|
|
103
103
|
|
|
@@ -124,12 +124,12 @@ const ColorPickerChannelSliderTrack = (props) => {
|
|
|
124
124
|
//#endregion
|
|
125
125
|
//#region src/components/color-picker/color-picker-channel-slider-value-text.tsx
|
|
126
126
|
const ColorPickerChannelSliderValueText = (props) => {
|
|
127
|
-
const colorPicker
|
|
127
|
+
const colorPicker = useColorPickerContext();
|
|
128
128
|
const localeContext = useLocaleContext();
|
|
129
129
|
const channelProps = useColorPickerChannelPropsContext();
|
|
130
|
-
const mergedProps = mergeProps$1(() => colorPicker
|
|
130
|
+
const mergedProps = mergeProps$1(() => colorPicker().getChannelSliderValueTextProps(channelProps), props);
|
|
131
131
|
return <sprawlify.span {...mergedProps}>
|
|
132
|
-
{props.children || colorPicker
|
|
132
|
+
{props.children || colorPicker().getChannelValueText(channelProps.channel, localeContext().locale)}
|
|
133
133
|
</sprawlify.span>;
|
|
134
134
|
};
|
|
135
135
|
|
|
@@ -189,8 +189,8 @@ const ColorPickerFormatTrigger = (props) => {
|
|
|
189
189
|
//#endregion
|
|
190
190
|
//#region src/components/color-picker/color-picker-hidden-input.tsx
|
|
191
191
|
const ColorPickerHiddenInput = (props) => {
|
|
192
|
-
const colorPicker
|
|
193
|
-
const mergedProps = mergeProps$1(() => colorPicker
|
|
192
|
+
const colorPicker = useColorPickerContext();
|
|
193
|
+
const mergedProps = mergeProps$1(() => colorPicker().getHiddenInputProps(), props);
|
|
194
194
|
const field = useFieldContext();
|
|
195
195
|
return <sprawlify.input aria-describedby={field?.().ariaDescribedby} {...mergedProps} />;
|
|
196
196
|
};
|
|
@@ -285,10 +285,10 @@ const ColorPickerRoot = (props) => {
|
|
|
285
285
|
//#region src/components/color-picker/color-picker-root-provider.tsx
|
|
286
286
|
const ColorPickerRootProvider = (props) => {
|
|
287
287
|
const [presenceProps, colorPickerProps] = splitPresenceProps(props);
|
|
288
|
-
const [{ value: colorPicker
|
|
289
|
-
const apiPresence = usePresence(mergeProps$1(presenceProps, () => ({ present: colorPicker
|
|
290
|
-
const mergedProps = mergeProps$1(() => colorPicker
|
|
291
|
-
return <ColorPickerProvider value={colorPicker
|
|
288
|
+
const [{ value: colorPicker }, localProps] = createSplitProps()(colorPickerProps, ["value"]);
|
|
289
|
+
const apiPresence = usePresence(mergeProps$1(presenceProps, () => ({ present: colorPicker().open })));
|
|
290
|
+
const mergedProps = mergeProps$1(() => colorPicker().getRootProps(), localProps);
|
|
291
|
+
return <ColorPickerProvider value={colorPicker}>
|
|
292
292
|
<PresenceProvider value={apiPresence}>
|
|
293
293
|
<sprawlify.div {...mergedProps} />
|
|
294
294
|
</PresenceProvider>
|
|
@@ -360,12 +360,12 @@ const ColorPickerTrigger = (props) => {
|
|
|
360
360
|
//#region src/components/color-picker/color-picker-value-swatch.tsx
|
|
361
361
|
const ColorPickerValueSwatch = (props) => {
|
|
362
362
|
const [{ respectAlpha }, localProps] = createSplitProps()(props, ["respectAlpha"]);
|
|
363
|
-
const colorPicker
|
|
363
|
+
const colorPicker = useColorPickerContext();
|
|
364
364
|
const swatchProps = createMemo(() => ({
|
|
365
365
|
respectAlpha,
|
|
366
|
-
value: colorPicker
|
|
366
|
+
value: colorPicker().value
|
|
367
367
|
}));
|
|
368
|
-
const mergedProps = mergeProps$1(() => colorPicker
|
|
368
|
+
const mergedProps = mergeProps$1(() => colorPicker().getSwatchProps(swatchProps()), localProps);
|
|
369
369
|
return <ColorPickerSwatchPropsProvider value={swatchProps()}>
|
|
370
370
|
<sprawlify.div {...mergedProps} />
|
|
371
371
|
</ColorPickerSwatchPropsProvider>;
|
|
@@ -374,10 +374,10 @@ const ColorPickerValueSwatch = (props) => {
|
|
|
374
374
|
//#endregion
|
|
375
375
|
//#region src/components/color-picker/color-picker-value-text.tsx
|
|
376
376
|
const ColorPickerValueText = (props) => {
|
|
377
|
-
const colorPicker
|
|
377
|
+
const colorPicker = useColorPickerContext();
|
|
378
378
|
const [formatProps, localProps] = createSplitProps()(props, ["format"]);
|
|
379
|
-
const mergedProps = mergeProps$1(() => colorPicker
|
|
380
|
-
const valueAsString = createMemo(() => formatProps.format ? colorPicker
|
|
379
|
+
const mergedProps = mergeProps$1(() => colorPicker().getValueTextProps(), localProps);
|
|
380
|
+
const valueAsString = createMemo(() => formatProps.format ? colorPicker().value.toString(formatProps.format) : colorPicker().valueAsString);
|
|
381
381
|
return <sprawlify.span {...mergedProps}>{props.children || valueAsString()}</sprawlify.span>;
|
|
382
382
|
};
|
|
383
383
|
|
|
@@ -1,12 +1,12 @@
|
|
|
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 "../../render-strategy-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import * as solid_js291 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 "../../render-strategy-CU_9g0dp.js";
|
|
5
|
+
import { s as UsePresenceProps } from "../../index-B9YbO-df.js";
|
|
6
|
+
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-nyUtQSXQ.js";
|
|
7
|
+
import * as solid_js385 from "solid-js";
|
|
9
8
|
import { Accessor, JSX } from "solid-js";
|
|
9
|
+
import * as _sprawlify_primitives_anatomy11 from "@sprawlify/primitives/anatomy";
|
|
10
10
|
import * as combobox from "@sprawlify/primitives/machines/combobox";
|
|
11
11
|
import { FocusOutsideEvent, FocusOutsideEvent as ComboboxFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as ComboboxHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as ComboboxInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as ComboboxInteractOutsideEvent, ItemProps, ItemState, OpenChangeDetails, OpenChangeDetails as ComboboxOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as ComboboxPointerDownOutsideEvent, SelectionDetails, SelectionDetails as ComboboxSelectionDetails, TriggerProps, ValueChangeDetails, ValueChangeDetails as ComboboxValueChangeDetails } from "@sprawlify/primitives/machines/combobox";
|
|
12
12
|
import { JSX as JSX$1 } from "solid-js/jsx-runtime";
|
|
@@ -14,17 +14,17 @@ import { JSX as JSX$1 } from "solid-js/jsx-runtime";
|
|
|
14
14
|
//#region src/components/combobox/combobox-clear-trigger.d.ts
|
|
15
15
|
interface ComboboxClearTriggerBaseProps extends PolymorphicProps<'button'> {}
|
|
16
16
|
interface ComboboxClearTriggerProps extends HTMLProps<'button'>, ComboboxClearTriggerBaseProps {}
|
|
17
|
-
declare const ComboboxClearTrigger: (props: ComboboxClearTriggerProps) =>
|
|
17
|
+
declare const ComboboxClearTrigger: (props: ComboboxClearTriggerProps) => solid_js385.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/components/combobox/combobox-content.d.ts
|
|
20
20
|
interface ComboboxContentBaseProps extends PolymorphicProps<'div'> {}
|
|
21
21
|
interface ComboboxContentProps extends HTMLProps<'div'>, ComboboxContentBaseProps {}
|
|
22
|
-
declare const ComboboxContent: (props: ComboboxContentProps) =>
|
|
22
|
+
declare const ComboboxContent: (props: ComboboxContentProps) => solid_js385.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region src/components/combobox/combobox-empty.d.ts
|
|
25
25
|
interface ComboboxEmptyBaseProps extends PolymorphicProps<'div'> {}
|
|
26
26
|
interface ComboboxEmptyProps extends HTMLProps<'div'>, ComboboxEmptyBaseProps {}
|
|
27
|
-
declare const ComboboxEmpty: (props: ComboboxEmptyProps) =>
|
|
27
|
+
declare const ComboboxEmpty: (props: ComboboxEmptyProps) => solid_js385.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/components/combobox/use-combobox.d.ts
|
|
30
30
|
interface UseComboboxProps<T extends CollectionItem> extends Optional<Omit<combobox.Props<T>, 'collection' | 'dir' | 'getRootNode'>, 'id'> {
|
|
@@ -48,17 +48,17 @@ declare const ComboboxContext: <T extends CollectionItem>(props: ComboboxContext
|
|
|
48
48
|
//#region src/components/combobox/combobox-control.d.ts
|
|
49
49
|
interface ComboboxControlBaseProps extends PolymorphicProps<'div'> {}
|
|
50
50
|
interface ComboboxControlProps extends HTMLProps<'div'>, ComboboxControlBaseProps {}
|
|
51
|
-
declare const ComboboxControl: (props: ComboboxControlProps) =>
|
|
51
|
+
declare const ComboboxControl: (props: ComboboxControlProps) => solid_js385.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region src/components/combobox/combobox-input.d.ts
|
|
54
54
|
interface ComboboxInputBaseProps extends PolymorphicProps<'input'> {}
|
|
55
55
|
interface ComboboxInputProps extends HTMLProps<'input'>, ComboboxInputBaseProps {}
|
|
56
|
-
declare const ComboboxInput: (props: ComboboxInputProps) =>
|
|
56
|
+
declare const ComboboxInput: (props: ComboboxInputProps) => solid_js385.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/components/combobox/combobox-item.d.ts
|
|
59
59
|
interface ComboboxItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
|
|
60
60
|
interface ComboboxItemProps extends HTMLProps<'div'>, ComboboxItemBaseProps {}
|
|
61
|
-
declare const ComboboxItem: (props: ComboboxItemProps) =>
|
|
61
|
+
declare const ComboboxItem: (props: ComboboxItemProps) => solid_js385.JSX.Element;
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/components/combobox/use-combobox-item-context.d.ts
|
|
64
64
|
interface UseComboboxItemContext extends Accessor<ItemState> {}
|
|
@@ -72,37 +72,37 @@ declare const ComboboxItemContext: (props: ComboboxItemContextProps) => JSX.Elem
|
|
|
72
72
|
//#region src/components/combobox/combobox-item-group.d.ts
|
|
73
73
|
interface ComboboxItemGroupBaseProps extends PolymorphicProps<'div'> {}
|
|
74
74
|
interface ComboboxItemGroupProps extends HTMLProps<'div'>, ComboboxItemGroupBaseProps {}
|
|
75
|
-
declare const ComboboxItemGroup: (props: ComboboxItemGroupProps) =>
|
|
75
|
+
declare const ComboboxItemGroup: (props: ComboboxItemGroupProps) => solid_js385.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/components/combobox/combobox-item-group-label.d.ts
|
|
78
78
|
interface ComboboxItemGroupLabelBaseProps extends PolymorphicProps<'div'> {}
|
|
79
79
|
interface ComboboxItemGroupLabelProps extends HTMLProps<'div'>, ComboboxItemGroupLabelBaseProps {}
|
|
80
|
-
declare const ComboboxItemGroupLabel: (props: ComboboxItemGroupLabelProps) =>
|
|
80
|
+
declare const ComboboxItemGroupLabel: (props: ComboboxItemGroupLabelProps) => solid_js385.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/components/combobox/combobox-item-indicator.d.ts
|
|
83
83
|
interface ComboboxItemIndicatorBaseProps extends PolymorphicProps<'div'> {}
|
|
84
84
|
interface ComboboxItemIndicatorProps extends HTMLProps<'div'>, ComboboxItemIndicatorBaseProps {}
|
|
85
|
-
declare const ComboboxItemIndicator: (props: ComboboxItemIndicatorProps) =>
|
|
85
|
+
declare const ComboboxItemIndicator: (props: ComboboxItemIndicatorProps) => solid_js385.JSX.Element;
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/components/combobox/combobox-item-text.d.ts
|
|
88
88
|
interface ComboboxItemTextBaseProps extends PolymorphicProps<'span'> {}
|
|
89
89
|
interface ComboboxItemTextProps extends HTMLProps<'span'>, ComboboxItemTextBaseProps {}
|
|
90
|
-
declare const ComboboxItemText: (props: ComboboxItemTextProps) =>
|
|
90
|
+
declare const ComboboxItemText: (props: ComboboxItemTextProps) => solid_js385.JSX.Element;
|
|
91
91
|
//#endregion
|
|
92
92
|
//#region src/components/combobox/combobox-label.d.ts
|
|
93
93
|
interface ComboboxLabelBaseProps extends PolymorphicProps<'label'> {}
|
|
94
94
|
interface ComboboxLabelProps extends HTMLProps<'label'>, ComboboxLabelBaseProps {}
|
|
95
|
-
declare const ComboboxLabel: (props: ComboboxLabelProps) =>
|
|
95
|
+
declare const ComboboxLabel: (props: ComboboxLabelProps) => solid_js385.JSX.Element;
|
|
96
96
|
//#endregion
|
|
97
97
|
//#region src/components/combobox/combobox-list.d.ts
|
|
98
98
|
interface ComboboxListBaseProps extends PolymorphicProps<'div'> {}
|
|
99
99
|
interface ComboboxListProps extends HTMLProps<'div'>, ComboboxListBaseProps {}
|
|
100
|
-
declare const ComboboxList: (props: ComboboxListProps) =>
|
|
100
|
+
declare const ComboboxList: (props: ComboboxListProps) => solid_js385.JSX.Element;
|
|
101
101
|
//#endregion
|
|
102
102
|
//#region src/components/combobox/combobox-positioner.d.ts
|
|
103
103
|
interface ComboboxPositionerBaseProps extends PolymorphicProps<'div'> {}
|
|
104
104
|
interface ComboboxPositionerProps extends HTMLProps<'div'>, ComboboxPositionerBaseProps {}
|
|
105
|
-
declare const ComboboxPositioner: (props: ComboboxPositionerProps) =>
|
|
105
|
+
declare const ComboboxPositioner: (props: ComboboxPositionerProps) => solid_js385.JSX.Element;
|
|
106
106
|
//#endregion
|
|
107
107
|
//#region src/components/combobox/combobox-root.d.ts
|
|
108
108
|
interface ComboboxRootBaseProps<T extends CollectionItem> extends UseComboboxProps<T>, UsePresenceProps, PolymorphicProps<'div'> {}
|
|
@@ -123,7 +123,10 @@ type ComboboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: A
|
|
|
123
123
|
//#region src/components/combobox/combobox-trigger.d.ts
|
|
124
124
|
interface ComboboxTriggerBaseProps extends TriggerProps, PolymorphicProps<'button'> {}
|
|
125
125
|
interface ComboboxTriggerProps extends HTMLProps<'button'>, ComboboxTriggerBaseProps {}
|
|
126
|
-
declare const ComboboxTrigger: (props: ComboboxTriggerProps) =>
|
|
126
|
+
declare const ComboboxTrigger: (props: ComboboxTriggerProps) => solid_js385.JSX.Element;
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/components/combobox/combobox-anatomy.d.ts
|
|
129
|
+
declare const comboboxAnatomy: _sprawlify_primitives_anatomy11.AnatomyInstance<"root" | "control" | "item" | "itemGroup" | "label" | "trigger" | "content" | "positioner" | "input" | "list" | "itemIndicator" | "clearTrigger" | "itemText" | "itemGroupLabel" | "empty">;
|
|
127
130
|
declare namespace combobox_d_exports {
|
|
128
131
|
export { ComboboxClearTrigger as ClearTrigger, ComboboxClearTriggerBaseProps as ClearTriggerBaseProps, ComboboxClearTriggerProps as ClearTriggerProps, CollectionItem, ComboboxContent as Content, ComboboxContentBaseProps as ContentBaseProps, ComboboxContentProps as ContentProps, ComboboxContext as Context, ComboboxContextProps as ContextProps, ComboboxControl as Control, ComboboxControlBaseProps as ControlBaseProps, ComboboxControlProps as ControlProps, ComboboxEmpty as Empty, ComboboxEmptyBaseProps as EmptyBaseProps, ComboboxEmptyProps as EmptyProps, FocusOutsideEvent, HighlightChangeDetails, ComboboxInput as Input, ComboboxInputBaseProps as InputBaseProps, ComboboxInputProps as InputProps, InputValueChangeDetails, InteractOutsideEvent, ComboboxItem as Item, ComboboxItemBaseProps as ItemBaseProps, ComboboxItemContext as ItemContext, ComboboxItemContextProps as ItemContextProps, ComboboxItemGroup as ItemGroup, ComboboxItemGroupBaseProps as ItemGroupBaseProps, ComboboxItemGroupLabel as ItemGroupLabel, ComboboxItemGroupLabelBaseProps as ItemGroupLabelBaseProps, ComboboxItemGroupLabelProps as ItemGroupLabelProps, ComboboxItemGroupProps as ItemGroupProps, ComboboxItemIndicator as ItemIndicator, ComboboxItemIndicatorBaseProps as ItemIndicatorBaseProps, ComboboxItemIndicatorProps as ItemIndicatorProps, ComboboxItemProps as ItemProps, ComboboxItemText as ItemText, ComboboxItemTextBaseProps as ItemTextBaseProps, ComboboxItemTextProps as ItemTextProps, ComboboxLabel as Label, ComboboxLabelBaseProps as LabelBaseProps, ComboboxLabelProps as LabelProps, ComboboxList as List, ComboboxListBaseProps as ListBaseProps, ComboboxListProps as ListProps, OpenChangeDetails, PointerDownOutsideEvent, ComboboxPositioner as Positioner, ComboboxPositionerBaseProps as PositionerBaseProps, ComboboxPositionerProps as PositionerProps, ComboboxRoot as Root, ComboboxRootBaseProps as RootBaseProps, ComboboxRootComponent as RootComponent, ComboboxRootComponentProps as RootComponentProps, ComboboxRootProps as RootProps, ComboboxRootProvider as RootProvider, ComboboxRootProviderBaseProps as RootProviderBaseProps, ComboboxRootProviderComponent as RootProviderComponent, ComboboxRootProviderProps as RootProviderProps, SelectionDetails, ComboboxTrigger as Trigger, ComboboxTriggerBaseProps as TriggerBaseProps, ComboboxTriggerProps as TriggerProps, ValueChangeDetails };
|
|
129
132
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
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 comboboxAnatomy } from "../../combobox-anatomy-
|
|
8
|
-
import "../../field-anatomy-
|
|
9
|
-
import "../../fieldset-anatomy-
|
|
10
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
11
|
-
import "../../render-strategy-
|
|
12
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
13
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
14
|
-
import "../../fieldset-
|
|
15
|
-
import { p as useFieldContext } from "../../field-
|
|
16
|
-
import { n as useListCollection, 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 comboboxAnatomy } from "../../combobox-anatomy-DccBa7f5.js";
|
|
8
|
+
import "../../field-anatomy-DOCpzb4B.js";
|
|
9
|
+
import "../../fieldset-anatomy-DmZTaMK6.js";
|
|
10
|
+
import { t as createSplitProps } from "../../create-split-props-BcbxQ6yh.js";
|
|
11
|
+
import "../../render-strategy-DUrOMptL.js";
|
|
12
|
+
import { t as composeRefs } from "../../compose-refs-D3PQgBgQ.js";
|
|
13
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-8BR5oOTh.js";
|
|
14
|
+
import "../../fieldset-DfZfBktp.js";
|
|
15
|
+
import { p as useFieldContext } from "../../field-mV6xBX-1.js";
|
|
16
|
+
import { n as useListCollection, o as createListCollection } from "../../collection-Cr3_-Nj9.js";
|
|
17
17
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
18
18
|
import { createComponent, mergeProps as mergeProps$1 } from "solid-js/web";
|
|
19
19
|
import * as combobox from "@sprawlify/primitives/machines/combobox";
|
|
@@ -27,8 +27,8 @@ const [ComboboxProvider, useComboboxContext] = createContext$1({
|
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/combobox/combobox-clear-trigger.tsx
|
|
29
29
|
const ComboboxClearTrigger = (props) => {
|
|
30
|
-
const combobox
|
|
31
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
30
|
+
const combobox = useComboboxContext();
|
|
31
|
+
const mergedProps = mergeProps$2(() => combobox().getClearTriggerProps(), props);
|
|
32
32
|
return createComponent(sprawlify.button, mergedProps);
|
|
33
33
|
};
|
|
34
34
|
|
|
@@ -55,8 +55,8 @@ const ComboboxContent = (props) => {
|
|
|
55
55
|
//#region src/components/combobox/combobox-empty.tsx
|
|
56
56
|
const parts = comboboxAnatomy.build();
|
|
57
57
|
const ComboboxEmpty = (props) => {
|
|
58
|
-
const combobox
|
|
59
|
-
const size = createMemo(() => combobox
|
|
58
|
+
const combobox = useComboboxContext();
|
|
59
|
+
const size = createMemo(() => combobox().collection.size);
|
|
60
60
|
return createComponent(Show, {
|
|
61
61
|
get when() {
|
|
62
62
|
return size() === 0;
|
|
@@ -74,16 +74,16 @@ const ComboboxContext = (props) => props.children(useComboboxContext());
|
|
|
74
74
|
//#endregion
|
|
75
75
|
//#region src/components/combobox/combobox-control.tsx
|
|
76
76
|
const ComboboxControl = (props) => {
|
|
77
|
-
const combobox
|
|
78
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
77
|
+
const combobox = useComboboxContext();
|
|
78
|
+
const mergedProps = mergeProps$2(() => combobox().getControlProps(), props);
|
|
79
79
|
return createComponent(sprawlify.div, mergedProps);
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
//#endregion
|
|
83
83
|
//#region src/components/combobox/combobox-input.tsx
|
|
84
84
|
const ComboboxInput = (props) => {
|
|
85
|
-
const combobox
|
|
86
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
85
|
+
const combobox = useComboboxContext();
|
|
86
|
+
const mergedProps = mergeProps$2(() => combobox().getInputProps(), props);
|
|
87
87
|
const field = useFieldContext();
|
|
88
88
|
return createComponent(sprawlify.input, mergeProps$1({ get ["aria-describedby"]() {
|
|
89
89
|
return field?.().ariaDescribedby;
|
|
@@ -139,9 +139,9 @@ const [ComboboxItemGroupPropsProvider, useComboboxItemGroupPropsContext] = creat
|
|
|
139
139
|
//#region src/components/combobox/combobox-item-group.tsx
|
|
140
140
|
const ComboboxItemGroup = (props) => {
|
|
141
141
|
const [_itemGroupProps, localProps] = createSplitProps()(props, ["id"]);
|
|
142
|
-
const combobox
|
|
142
|
+
const combobox = useComboboxContext();
|
|
143
143
|
const itemGroupProps = mergeProps$2({ id: createUniqueId() }, _itemGroupProps);
|
|
144
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
144
|
+
const mergedProps = mergeProps$2(() => combobox().getItemGroupProps(itemGroupProps), localProps);
|
|
145
145
|
return createComponent(ComboboxItemGroupPropsProvider, {
|
|
146
146
|
value: itemGroupProps,
|
|
147
147
|
get children() {
|
|
@@ -153,18 +153,18 @@ const ComboboxItemGroup = (props) => {
|
|
|
153
153
|
//#endregion
|
|
154
154
|
//#region src/components/combobox/combobox-item-group-label.tsx
|
|
155
155
|
const ComboboxItemGroupLabel = (props) => {
|
|
156
|
-
const combobox
|
|
156
|
+
const combobox = useComboboxContext();
|
|
157
157
|
const itemGroupProps = useComboboxItemGroupPropsContext();
|
|
158
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
158
|
+
const mergedProps = mergeProps$2(() => combobox().getItemGroupLabelProps({ htmlFor: itemGroupProps.id }), props);
|
|
159
159
|
return createComponent(sprawlify.div, mergedProps);
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
//#endregion
|
|
163
163
|
//#region src/components/combobox/combobox-item-indicator.tsx
|
|
164
164
|
const ComboboxItemIndicator = (props) => {
|
|
165
|
-
const combobox
|
|
165
|
+
const combobox = useComboboxContext();
|
|
166
166
|
const itemProps = useComboboxItemPropsContext();
|
|
167
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
167
|
+
const mergedProps = mergeProps$2(() => combobox().getItemIndicatorProps(itemProps), props);
|
|
168
168
|
return createComponent(sprawlify.div, mergedProps);
|
|
169
169
|
};
|
|
170
170
|
|
|
@@ -180,16 +180,16 @@ const ComboboxItemText = (props) => {
|
|
|
180
180
|
//#endregion
|
|
181
181
|
//#region src/components/combobox/combobox-label.tsx
|
|
182
182
|
const ComboboxLabel = (props) => {
|
|
183
|
-
const combobox
|
|
184
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
183
|
+
const combobox = useComboboxContext();
|
|
184
|
+
const mergedProps = mergeProps$2(() => combobox().getLabelProps(), props);
|
|
185
185
|
return createComponent(sprawlify.label, mergedProps);
|
|
186
186
|
};
|
|
187
187
|
|
|
188
188
|
//#endregion
|
|
189
189
|
//#region src/components/combobox/combobox-list.tsx
|
|
190
190
|
const ComboboxList = (props) => {
|
|
191
|
-
const combobox
|
|
192
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
191
|
+
const combobox = useComboboxContext();
|
|
192
|
+
const mergedProps = mergeProps$2(() => combobox().getListProps(), props);
|
|
193
193
|
return createComponent(sprawlify.div, mergedProps);
|
|
194
194
|
};
|
|
195
195
|
|
|
@@ -303,11 +303,11 @@ const ComboboxRoot = (props) => {
|
|
|
303
303
|
//#region src/components/combobox/combobox-root-provider.tsx
|
|
304
304
|
const ComboboxRootProvider = (props) => {
|
|
305
305
|
const [presenceProps, comboboxProps] = splitPresenceProps(props);
|
|
306
|
-
const [{ value: combobox
|
|
307
|
-
const apiPresence = usePresence(mergeProps$2(presenceProps, () => ({ present: combobox
|
|
308
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
306
|
+
const [{ value: combobox }, localProps] = createSplitProps()(comboboxProps, ["value"]);
|
|
307
|
+
const apiPresence = usePresence(mergeProps$2(presenceProps, () => ({ present: combobox().open })));
|
|
308
|
+
const mergedProps = mergeProps$2(() => combobox().getRootProps(), localProps);
|
|
309
309
|
return createComponent(ComboboxProvider, {
|
|
310
|
-
value: combobox
|
|
310
|
+
value: combobox,
|
|
311
311
|
get children() {
|
|
312
312
|
return createComponent(PresenceProvider, {
|
|
313
313
|
value: apiPresence,
|
|
@@ -323,8 +323,8 @@ const ComboboxRootProvider = (props) => {
|
|
|
323
323
|
//#region src/components/combobox/combobox-trigger.tsx
|
|
324
324
|
const ComboboxTrigger = (props) => {
|
|
325
325
|
const [triggerProps, localProps] = createSplitProps()(props, ["focusable"]);
|
|
326
|
-
const combobox
|
|
327
|
-
const mergedProps = mergeProps$2(() => combobox
|
|
326
|
+
const combobox = useComboboxContext();
|
|
327
|
+
const mergedProps = mergeProps$2(() => combobox().getTriggerProps(triggerProps), localProps);
|
|
328
328
|
return createComponent(sprawlify.button, mergedProps);
|
|
329
329
|
};
|
|
330
330
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as __exportAll } from "../../chunk-
|
|
2
|
-
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-
|
|
3
|
-
import { t as runIfFn } from "../../run-if-fn-
|
|
4
|
-
import { t as createContext$1 } from "../../create-context-
|
|
5
|
-
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-
|
|
6
|
-
import { t as sprawlify } from "../../factory-
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
8
|
-
import "../../render-strategy-
|
|
9
|
-
import { t as composeRefs } from "../../compose-refs-
|
|
10
|
-
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-
|
|
11
|
-
import "../../fieldset-
|
|
12
|
-
import { m as useFieldContext } from "../../field-
|
|
13
|
-
import { n as useListCollection, o as createListCollection } from "../../collection-
|
|
1
|
+
import { t as __exportAll } from "../../chunk-CbkudaSF.jsx";
|
|
2
|
+
import { i as useMachine, n as normalizeProps, r as mergeProps$1 } from "../../core-B6ixUkqg.jsx";
|
|
3
|
+
import { t as runIfFn } from "../../run-if-fn-CJUSlNHk.jsx";
|
|
4
|
+
import { t as createContext$1 } from "../../create-context-DGJ79e4Y.jsx";
|
|
5
|
+
import { i as useLocaleContext, o as useEnvironmentContext } from "../../providers-CjCWKYvZ.jsx";
|
|
6
|
+
import { t as sprawlify } from "../../factory-CzIfQZJj.jsx";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-CgD5kGV-.jsx";
|
|
8
|
+
import "../../render-strategy-CjzB786h.jsx";
|
|
9
|
+
import { t as composeRefs } from "../../compose-refs-fqtYfDF0.jsx";
|
|
10
|
+
import { a as splitPresenceProps, i as usePresence, n as usePresenceContext, t as PresenceProvider } from "../../presence-D9IWNBoq.jsx";
|
|
11
|
+
import "../../fieldset-Dultvtpf.jsx";
|
|
12
|
+
import { m as useFieldContext } from "../../field-BMLVDAiH.jsx";
|
|
13
|
+
import { n as useListCollection, o as createListCollection } from "../../collection-DXodYZZC.jsx";
|
|
14
14
|
import { Show, createMemo, createUniqueId } from "solid-js";
|
|
15
15
|
import * as combobox from "@sprawlify/primitives/machines/combobox";
|
|
16
16
|
import { anatomy } from "@sprawlify/primitives/machines/combobox";
|
|
@@ -24,8 +24,8 @@ const [ComboboxProvider, useComboboxContext] = createContext$1({
|
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/components/combobox/combobox-clear-trigger.tsx
|
|
26
26
|
const ComboboxClearTrigger = (props) => {
|
|
27
|
-
const combobox
|
|
28
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
27
|
+
const combobox = useComboboxContext();
|
|
28
|
+
const mergedProps = mergeProps$1(() => combobox().getClearTriggerProps(), props);
|
|
29
29
|
return <sprawlify.button {...mergedProps} />;
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -48,8 +48,8 @@ const comboboxAnatomy = anatomy.extendWith("empty");
|
|
|
48
48
|
//#region src/components/combobox/combobox-empty.tsx
|
|
49
49
|
const parts = comboboxAnatomy.build();
|
|
50
50
|
const ComboboxEmpty = (props) => {
|
|
51
|
-
const combobox
|
|
52
|
-
const size = createMemo(() => combobox
|
|
51
|
+
const combobox = useComboboxContext();
|
|
52
|
+
const size = createMemo(() => combobox().collection.size);
|
|
53
53
|
return <Show when={size() === 0}>
|
|
54
54
|
<sprawlify.div {...parts.empty.attrs} {...props} role="presentation" />
|
|
55
55
|
</Show>;
|
|
@@ -62,16 +62,16 @@ const ComboboxContext = (props) => props.children(useComboboxContext());
|
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/components/combobox/combobox-control.tsx
|
|
64
64
|
const ComboboxControl = (props) => {
|
|
65
|
-
const combobox
|
|
66
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
65
|
+
const combobox = useComboboxContext();
|
|
66
|
+
const mergedProps = mergeProps$1(() => combobox().getControlProps(), props);
|
|
67
67
|
return <sprawlify.div {...mergedProps} />;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
//#endregion
|
|
71
71
|
//#region src/components/combobox/combobox-input.tsx
|
|
72
72
|
const ComboboxInput = (props) => {
|
|
73
|
-
const combobox
|
|
74
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
73
|
+
const combobox = useComboboxContext();
|
|
74
|
+
const mergedProps = mergeProps$1(() => combobox().getInputProps(), props);
|
|
75
75
|
const field = useFieldContext();
|
|
76
76
|
return <sprawlify.input aria-describedby={field?.().ariaDescribedby} {...mergedProps} />;
|
|
77
77
|
};
|
|
@@ -119,9 +119,9 @@ const [ComboboxItemGroupPropsProvider, useComboboxItemGroupPropsContext] = creat
|
|
|
119
119
|
//#region src/components/combobox/combobox-item-group.tsx
|
|
120
120
|
const ComboboxItemGroup = (props) => {
|
|
121
121
|
const [_itemGroupProps, localProps] = createSplitProps()(props, ["id"]);
|
|
122
|
-
const combobox
|
|
122
|
+
const combobox = useComboboxContext();
|
|
123
123
|
const itemGroupProps = mergeProps$1({ id: createUniqueId() }, _itemGroupProps);
|
|
124
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
124
|
+
const mergedProps = mergeProps$1(() => combobox().getItemGroupProps(itemGroupProps), localProps);
|
|
125
125
|
return <ComboboxItemGroupPropsProvider value={itemGroupProps}>
|
|
126
126
|
<sprawlify.div {...mergedProps} />
|
|
127
127
|
</ComboboxItemGroupPropsProvider>;
|
|
@@ -130,18 +130,18 @@ const ComboboxItemGroup = (props) => {
|
|
|
130
130
|
//#endregion
|
|
131
131
|
//#region src/components/combobox/combobox-item-group-label.tsx
|
|
132
132
|
const ComboboxItemGroupLabel = (props) => {
|
|
133
|
-
const combobox
|
|
133
|
+
const combobox = useComboboxContext();
|
|
134
134
|
const itemGroupProps = useComboboxItemGroupPropsContext();
|
|
135
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
135
|
+
const mergedProps = mergeProps$1(() => combobox().getItemGroupLabelProps({ htmlFor: itemGroupProps.id }), props);
|
|
136
136
|
return <sprawlify.div {...mergedProps} />;
|
|
137
137
|
};
|
|
138
138
|
|
|
139
139
|
//#endregion
|
|
140
140
|
//#region src/components/combobox/combobox-item-indicator.tsx
|
|
141
141
|
const ComboboxItemIndicator = (props) => {
|
|
142
|
-
const combobox
|
|
142
|
+
const combobox = useComboboxContext();
|
|
143
143
|
const itemProps = useComboboxItemPropsContext();
|
|
144
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
144
|
+
const mergedProps = mergeProps$1(() => combobox().getItemIndicatorProps(itemProps), props);
|
|
145
145
|
return <sprawlify.div {...mergedProps} />;
|
|
146
146
|
};
|
|
147
147
|
|
|
@@ -157,16 +157,16 @@ const ComboboxItemText = (props) => {
|
|
|
157
157
|
//#endregion
|
|
158
158
|
//#region src/components/combobox/combobox-label.tsx
|
|
159
159
|
const ComboboxLabel = (props) => {
|
|
160
|
-
const combobox
|
|
161
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
160
|
+
const combobox = useComboboxContext();
|
|
161
|
+
const mergedProps = mergeProps$1(() => combobox().getLabelProps(), props);
|
|
162
162
|
return <sprawlify.label {...mergedProps} />;
|
|
163
163
|
};
|
|
164
164
|
|
|
165
165
|
//#endregion
|
|
166
166
|
//#region src/components/combobox/combobox-list.tsx
|
|
167
167
|
const ComboboxList = (props) => {
|
|
168
|
-
const combobox
|
|
169
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
168
|
+
const combobox = useComboboxContext();
|
|
169
|
+
const mergedProps = mergeProps$1(() => combobox().getListProps(), props);
|
|
170
170
|
return <sprawlify.div {...mergedProps} />;
|
|
171
171
|
};
|
|
172
172
|
|
|
@@ -269,10 +269,10 @@ const ComboboxRoot = (props) => {
|
|
|
269
269
|
//#region src/components/combobox/combobox-root-provider.tsx
|
|
270
270
|
const ComboboxRootProvider = (props) => {
|
|
271
271
|
const [presenceProps, comboboxProps] = splitPresenceProps(props);
|
|
272
|
-
const [{ value: combobox
|
|
273
|
-
const apiPresence = usePresence(mergeProps$1(presenceProps, () => ({ present: combobox
|
|
274
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
275
|
-
return <ComboboxProvider value={combobox
|
|
272
|
+
const [{ value: combobox }, localProps] = createSplitProps()(comboboxProps, ["value"]);
|
|
273
|
+
const apiPresence = usePresence(mergeProps$1(presenceProps, () => ({ present: combobox().open })));
|
|
274
|
+
const mergedProps = mergeProps$1(() => combobox().getRootProps(), localProps);
|
|
275
|
+
return <ComboboxProvider value={combobox}>
|
|
276
276
|
<PresenceProvider value={apiPresence}>
|
|
277
277
|
<sprawlify.div {...mergedProps} />
|
|
278
278
|
</PresenceProvider>
|
|
@@ -283,8 +283,8 @@ const ComboboxRootProvider = (props) => {
|
|
|
283
283
|
//#region src/components/combobox/combobox-trigger.tsx
|
|
284
284
|
const ComboboxTrigger = (props) => {
|
|
285
285
|
const [triggerProps, localProps] = createSplitProps()(props, ["focusable"]);
|
|
286
|
-
const combobox
|
|
287
|
-
const mergedProps = mergeProps$1(() => combobox
|
|
286
|
+
const combobox = useComboboxContext();
|
|
287
|
+
const mergedProps = mergeProps$1(() => combobox().getTriggerProps(triggerProps), localProps);
|
|
288
288
|
return <sprawlify.button {...mergedProps} />;
|
|
289
289
|
};
|
|
290
290
|
|