@gemologic/sheen 0.1.0-rc.0 → 0.1.0-rc.2
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/README.md +11 -1
- package/THIRD_PARTY_NOTICES.md +18 -0
- package/dist/primitives/Accordion.js +1 -1
- package/dist/primitives/Collapsible.js +1 -1
- package/dist/primitives/Combobox.js +1 -1
- package/dist/primitives/CommandPalette.js +2 -2
- package/dist/primitives/ContextMenu.js +2 -2
- package/dist/primitives/Dialog.js +1 -1
- package/dist/primitives/DropdownMenu.js +2 -2
- package/dist/primitives/LinkTooltip.js +1 -1
- package/dist/primitives/Popover.js +1 -1
- package/dist/primitives/Select.js +1 -1
- package/dist/primitives/Tabs.js +1 -1
- package/dist/primitives/Tooltip.js +1 -1
- package/dist/primitives/tooltip-layer.js +1 -1
- package/dist/theme/ThemeProvider.js +30 -30
- package/dist/theme/intl.js +4 -4
- package/dist/utils/polymorphic.d.ts +1 -1
- package/dist/vite.d.ts +3 -0
- package/dist/vite.js +54 -0
- package/package.json +71 -5
- package/src/primitives/Accordion.tsx +1 -1
- package/src/primitives/Collapsible.tsx +1 -1
- package/src/primitives/Combobox.tsx +1 -1
- package/src/primitives/CommandPalette.tsx +2 -2
- package/src/primitives/ContextMenu.tsx +2 -2
- package/src/primitives/Dialog.tsx +1 -1
- package/src/primitives/DropdownMenu.tsx +2 -2
- package/src/primitives/LinkTooltip.tsx +1 -1
- package/src/primitives/Popover.tsx +1 -1
- package/src/primitives/Select.tsx +1 -1
- package/src/primitives/Tabs.tsx +1 -1
- package/src/primitives/Tooltip.tsx +1 -1
- package/src/primitives/tooltip-layer.tsx +1 -1
- package/src/theme/ThemeProvider.tsx +7 -3
- package/src/theme/intl.ts +4 -2
- package/src/utils/polymorphic.ts +1 -1
- package/src/vite.ts +51 -0
- package/vendor/cmdk-solid/LICENSE +14 -0
- package/vendor/cmdk-solid/chunk/5WIGIOAJ.jsx +98 -0
- package/vendor/cmdk-solid/chunk/IOVUHIGA.js +96 -0
- package/vendor/cmdk-solid/command-score.cjs +98 -0
- package/vendor/cmdk-solid/command-score.d.cts +4 -0
- package/vendor/cmdk-solid/command-score.d.ts +4 -0
- package/vendor/cmdk-solid/command-score.js +2 -0
- package/vendor/cmdk-solid/command-score.jsx +7 -0
- package/vendor/cmdk-solid/index.cjs +827 -0
- package/vendor/cmdk-solid/index.d.cts +184 -0
- package/vendor/cmdk-solid/index.d.ts +184 -0
- package/vendor/cmdk-solid/index.js +729 -0
- package/vendor/cmdk-solid/index.jsx +666 -0
- package/vendor/integrity.json +450 -0
- package/vendor/kobalte-core/LICENSE.md +21 -0
- package/vendor/kobalte-core/NOTICE.txt +231 -0
- package/vendor/kobalte-core/accordion/index.d.ts +10 -0
- package/vendor/kobalte-core/accordion/index.js +2 -0
- package/vendor/kobalte-core/accordion/index.jsx +33 -0
- package/vendor/kobalte-core/alert/index.d.ts +5 -0
- package/vendor/kobalte-core/alert/index.js +2 -0
- package/vendor/kobalte-core/alert/index.jsx +11 -0
- package/vendor/kobalte-core/alert-dialog/index.d.ts +10 -0
- package/vendor/kobalte-core/alert-dialog/index.js +3 -0
- package/vendor/kobalte-core/alert-dialog/index.jsx +40 -0
- package/vendor/kobalte-core/badge/index.d.ts +23 -0
- package/vendor/kobalte-core/badge/index.js +24 -0
- package/vendor/kobalte-core/badge/index.jsx +24 -0
- package/vendor/kobalte-core/breadcrumbs/index.d.ts +5 -0
- package/vendor/kobalte-core/breadcrumbs/index.js +2 -0
- package/vendor/kobalte-core/breadcrumbs/index.jsx +19 -0
- package/vendor/kobalte-core/button/index.d.ts +6 -0
- package/vendor/kobalte-core/button/index.js +2 -0
- package/vendor/kobalte-core/button/index.jsx +12 -0
- package/vendor/kobalte-core/button-root-da654b3e.d.ts +28 -0
- package/vendor/kobalte-core/checkbox/index.d.ts +8 -0
- package/vendor/kobalte-core/checkbox/index.js +2 -0
- package/vendor/kobalte-core/checkbox/index.jsx +35 -0
- package/vendor/kobalte-core/chunk/272QBW42.js +712 -0
- package/vendor/kobalte-core/chunk/27MLNS66.js +353 -0
- package/vendor/kobalte-core/chunk/2RVGL3MU.js +45 -0
- package/vendor/kobalte-core/chunk/2UV3VFID.jsx +431 -0
- package/vendor/kobalte-core/chunk/2X5XWQIS.js +19 -0
- package/vendor/kobalte-core/chunk/2YCOH52P.js +81 -0
- package/vendor/kobalte-core/chunk/3565MS4H.jsx +127 -0
- package/vendor/kobalte-core/chunk/3ARTUDH2.jsx +1633 -0
- package/vendor/kobalte-core/chunk/3D6FM2PJ.js +1001 -0
- package/vendor/kobalte-core/chunk/3DLZMX4Z.jsx +81 -0
- package/vendor/kobalte-core/chunk/3DZKSKAQ.jsx +366 -0
- package/vendor/kobalte-core/chunk/3JA5IX2L.jsx +52 -0
- package/vendor/kobalte-core/chunk/3NGA46QE.js +116 -0
- package/vendor/kobalte-core/chunk/3QQCO6IA.js +46 -0
- package/vendor/kobalte-core/chunk/3T74IGH6.js +860 -0
- package/vendor/kobalte-core/chunk/3XNSRO2W.jsx +226 -0
- package/vendor/kobalte-core/chunk/43XIKO67.js +99 -0
- package/vendor/kobalte-core/chunk/4VWIKJ7Q.jsx +842 -0
- package/vendor/kobalte-core/chunk/53Y5XP3B.js +61 -0
- package/vendor/kobalte-core/chunk/5WXHJDCZ.jsx +10 -0
- package/vendor/kobalte-core/chunk/5ZKAE4VZ.js +8 -0
- package/vendor/kobalte-core/chunk/66KLKSW3.js +36 -0
- package/vendor/kobalte-core/chunk/6TDKM7BK.jsx +815 -0
- package/vendor/kobalte-core/chunk/6Y7B2NEO.js +21 -0
- package/vendor/kobalte-core/chunk/7ABWW5DT.jsx +483 -0
- package/vendor/kobalte-core/chunk/7CVNMTYF.js +171 -0
- package/vendor/kobalte-core/chunk/7DPKSDZL.js +447 -0
- package/vendor/kobalte-core/chunk/7I44E2QD.js +190 -0
- package/vendor/kobalte-core/chunk/7LCANGHD.js +29 -0
- package/vendor/kobalte-core/chunk/7OVKXYPU.js +90 -0
- package/vendor/kobalte-core/chunk/7TPOQ36Z.js +202 -0
- package/vendor/kobalte-core/chunk/7ZHN3PYD.js +30 -0
- package/vendor/kobalte-core/chunk/ANN3A2QM.js +29 -0
- package/vendor/kobalte-core/chunk/AT6SKIG6.js +119 -0
- package/vendor/kobalte-core/chunk/AWVDBFMO.jsx +280 -0
- package/vendor/kobalte-core/chunk/B2CSS4CB.js +36 -0
- package/vendor/kobalte-core/chunk/BDJEWKR2.jsx +153 -0
- package/vendor/kobalte-core/chunk/BK63AFY4.js +348 -0
- package/vendor/kobalte-core/chunk/BLN63FDC.js +40 -0
- package/vendor/kobalte-core/chunk/BU4OFZP5.jsx +146 -0
- package/vendor/kobalte-core/chunk/CLZZ2KZC.js +152 -0
- package/vendor/kobalte-core/chunk/CODJDE4S.jsx +131 -0
- package/vendor/kobalte-core/chunk/CWAEFUDR.js +732 -0
- package/vendor/kobalte-core/chunk/DBKNBLZP.js +395 -0
- package/vendor/kobalte-core/chunk/DTAYBJDT.jsx +339 -0
- package/vendor/kobalte-core/chunk/DX4MAOJL.js +653 -0
- package/vendor/kobalte-core/chunk/E4R2EMM4.js +10 -0
- package/vendor/kobalte-core/chunk/E53DB7BS.jsx +34 -0
- package/vendor/kobalte-core/chunk/EHGSTO6V.jsx +138 -0
- package/vendor/kobalte-core/chunk/EJ5I5XML.jsx +1 -0
- package/vendor/kobalte-core/chunk/ET5T45DO.js +17 -0
- package/vendor/kobalte-core/chunk/EYO4IMPK.jsx +867 -0
- package/vendor/kobalte-core/chunk/FINWO3A5.jsx +21 -0
- package/vendor/kobalte-core/chunk/FKUFPCQ6.jsx +120 -0
- package/vendor/kobalte-core/chunk/FLVHQV4A.jsx +22 -0
- package/vendor/kobalte-core/chunk/FN6EICGO.jsx +44 -0
- package/vendor/kobalte-core/chunk/FOXVCQFV.jsx +48 -0
- package/vendor/kobalte-core/chunk/G3KI2B4X.js +228 -0
- package/vendor/kobalte-core/chunk/G4JQYERT.jsx +1 -0
- package/vendor/kobalte-core/chunk/GAVSAJBM.jsx +86 -0
- package/vendor/kobalte-core/chunk/GIRHAWVP.jsx +46 -0
- package/vendor/kobalte-core/chunk/GROIIANN.jsx +32 -0
- package/vendor/kobalte-core/chunk/GSF7SFRW.jsx +98 -0
- package/vendor/kobalte-core/chunk/GXANOQ5B.jsx +66 -0
- package/vendor/kobalte-core/chunk/H7BK6JF7.jsx +489 -0
- package/vendor/kobalte-core/chunk/HGKTPMYY.js +1332 -0
- package/vendor/kobalte-core/chunk/HWIPVJ7H.js +121 -0
- package/vendor/kobalte-core/chunk/I2LBZHJH.js +144 -0
- package/vendor/kobalte-core/chunk/ICNSTULC.js +33 -0
- package/vendor/kobalte-core/chunk/IGYOA2ZZ.jsx +33 -0
- package/vendor/kobalte-core/chunk/IN725QRS.js +175 -0
- package/vendor/kobalte-core/chunk/INFLGCRV.js +123 -0
- package/vendor/kobalte-core/chunk/JEP7F7FN.js +89 -0
- package/vendor/kobalte-core/chunk/JGNXQB3J.js +140 -0
- package/vendor/kobalte-core/chunk/JHMNWOLY.jsx +87 -0
- package/vendor/kobalte-core/chunk/JNCCF6MP.jsx +12 -0
- package/vendor/kobalte-core/chunk/K6ON3K7Z.js +93 -0
- package/vendor/kobalte-core/chunk/K6P57S75.js +23 -0
- package/vendor/kobalte-core/chunk/KEL2LLJM.jsx +244 -0
- package/vendor/kobalte-core/chunk/KQVCPTCE.js +316 -0
- package/vendor/kobalte-core/chunk/KR2RRKPK.jsx +197 -0
- package/vendor/kobalte-core/chunk/KVL5CS3M.jsx +37 -0
- package/vendor/kobalte-core/chunk/LP6E37CW.jsx +228 -0
- package/vendor/kobalte-core/chunk/LUHKRAPV.js +129 -0
- package/vendor/kobalte-core/chunk/LV6CC6HJ.js +226 -0
- package/vendor/kobalte-core/chunk/MUDPLHYE.js +56 -0
- package/vendor/kobalte-core/chunk/NEFPNRTI.jsx +426 -0
- package/vendor/kobalte-core/chunk/NY67XGGP.js +216 -0
- package/vendor/kobalte-core/chunk/OGE3DKII.jsx +413 -0
- package/vendor/kobalte-core/chunk/OK5BA5VH.jsx +533 -0
- package/vendor/kobalte-core/chunk/OPHDMVQK.jsx +217 -0
- package/vendor/kobalte-core/chunk/OPRD3XHK.js +207 -0
- package/vendor/kobalte-core/chunk/OU7DYFTQ.jsx +191 -0
- package/vendor/kobalte-core/chunk/OYES4GOP.jsx +21 -0
- package/vendor/kobalte-core/chunk/P6IXTWXS.jsx +197 -0
- package/vendor/kobalte-core/chunk/PBBM7A6R.jsx +113 -0
- package/vendor/kobalte-core/chunk/PKWJSNR5.js +474 -0
- package/vendor/kobalte-core/chunk/PTVG6YKC.js +148 -0
- package/vendor/kobalte-core/chunk/PTWD4LYA.jsx +537 -0
- package/vendor/kobalte-core/chunk/PYSNB6I6.jsx +324 -0
- package/vendor/kobalte-core/chunk/Q2T3QQUA.js +419 -0
- package/vendor/kobalte-core/chunk/QEMPLYZX.js +28 -0
- package/vendor/kobalte-core/chunk/QIRIOMOH.js +338 -0
- package/vendor/kobalte-core/chunk/QJIB6BDF.jsx +30 -0
- package/vendor/kobalte-core/chunk/QJK6CGTE.js +293 -0
- package/vendor/kobalte-core/chunk/R4V3527Z.js +130 -0
- package/vendor/kobalte-core/chunk/R5JXRO27.js +1 -0
- package/vendor/kobalte-core/chunk/RFN6X5VH.jsx +1058 -0
- package/vendor/kobalte-core/chunk/SD3NY4DU.js +344 -0
- package/vendor/kobalte-core/chunk/SLRA6PIF.jsx +263 -0
- package/vendor/kobalte-core/chunk/SOM3K36D.jsx +191 -0
- package/vendor/kobalte-core/chunk/STGRFJHZ.js +43 -0
- package/vendor/kobalte-core/chunk/T4C3DMHT.jsx +52 -0
- package/vendor/kobalte-core/chunk/TDH5Z2ZB.js +263 -0
- package/vendor/kobalte-core/chunk/TP2BLHDF.jsx +284 -0
- package/vendor/kobalte-core/chunk/TS4C47MF.js +22 -0
- package/vendor/kobalte-core/chunk/TSB6MOZK.jsx +242 -0
- package/vendor/kobalte-core/chunk/TVVHJCOX.js +204 -0
- package/vendor/kobalte-core/chunk/TY22MKYR.jsx +996 -0
- package/vendor/kobalte-core/chunk/UEEZAKDC.js +1 -0
- package/vendor/kobalte-core/chunk/UESR3MKV.jsx +743 -0
- package/vendor/kobalte-core/chunk/UGE6PPGT.jsx +220 -0
- package/vendor/kobalte-core/chunk/UKTBL2JL.jsx +88 -0
- package/vendor/kobalte-core/chunk/V25KEN4T.jsx +399 -0
- package/vendor/kobalte-core/chunk/VI7QYH27.jsx +33 -0
- package/vendor/kobalte-core/chunk/W4MWOWKG.js +310 -0
- package/vendor/kobalte-core/chunk/WAUM5GOD.jsx +68 -0
- package/vendor/kobalte-core/chunk/WHII6HHI.js +145 -0
- package/vendor/kobalte-core/chunk/WKVBAVXH.jsx +378 -0
- package/vendor/kobalte-core/chunk/WR5BIFYV.js +780 -0
- package/vendor/kobalte-core/chunk/XLBXJFYN.js +108 -0
- package/vendor/kobalte-core/chunk/XNF3WGZ2.jsx +176 -0
- package/vendor/kobalte-core/chunk/XOC6SOOC.jsx +53 -0
- package/vendor/kobalte-core/chunk/XTJD7L6B.jsx +101 -0
- package/vendor/kobalte-core/chunk/XUUROM4M.jsx +120 -0
- package/vendor/kobalte-core/chunk/YA7DCYMB.js +80 -0
- package/vendor/kobalte-core/chunk/YFEENJN5.jsx +41 -0
- package/vendor/kobalte-core/chunk/YGDQXQ2B.js +28 -0
- package/vendor/kobalte-core/chunk/YKGT7A57.js +85 -0
- package/vendor/kobalte-core/chunk/YPUNLYJC.js +268 -0
- package/vendor/kobalte-core/chunk/YSW4UOAR.js +40 -0
- package/vendor/kobalte-core/chunk/ZAGMEN2K.jsx +152 -0
- package/vendor/kobalte-core/chunk/ZG3NR5OC.jsx +120 -0
- package/vendor/kobalte-core/chunk/ZZYKR3VO.jsx +42 -0
- package/vendor/kobalte-core/collapsible/index.d.ts +7 -0
- package/vendor/kobalte-core/collapsible/index.js +2 -0
- package/vendor/kobalte-core/collapsible/index.jsx +23 -0
- package/vendor/kobalte-core/collapsible-trigger-6358fcd4.d.ts +84 -0
- package/vendor/kobalte-core/color-area/index.d.ts +189 -0
- package/vendor/kobalte-core/color-area/index.js +724 -0
- package/vendor/kobalte-core/color-area/index.jsx +777 -0
- package/vendor/kobalte-core/color-channel-field/index.d.ts +49 -0
- package/vendor/kobalte-core/color-channel-field/index.js +72 -0
- package/vendor/kobalte-core/color-channel-field/index.jsx +117 -0
- package/vendor/kobalte-core/color-field/index.d.ts +48 -0
- package/vendor/kobalte-core/color-field/index.js +114 -0
- package/vendor/kobalte-core/color-field/index.jsx +155 -0
- package/vendor/kobalte-core/color-mode/index.d.ts +78 -0
- package/vendor/kobalte-core/color-mode/index.js +2 -0
- package/vendor/kobalte-core/color-mode/index.jsx +28 -0
- package/vendor/kobalte-core/color-slider/index.d.ts +109 -0
- package/vendor/kobalte-core/color-slider/index.js +183 -0
- package/vendor/kobalte-core/color-slider/index.jsx +255 -0
- package/vendor/kobalte-core/color-swatch/index.d.ts +39 -0
- package/vendor/kobalte-core/color-swatch/index.js +48 -0
- package/vendor/kobalte-core/color-swatch/index.jsx +64 -0
- package/vendor/kobalte-core/color-wheel/index.d.ts +166 -0
- package/vendor/kobalte-core/color-wheel/index.js +620 -0
- package/vendor/kobalte-core/color-wheel/index.jsx +640 -0
- package/vendor/kobalte-core/colors/index.d.ts +15 -0
- package/vendor/kobalte-core/colors/index.js +2 -0
- package/vendor/kobalte-core/colors/index.jsx +17 -0
- package/vendor/kobalte-core/combobox/index.d.ts +20 -0
- package/vendor/kobalte-core/combobox/index.js +8 -0
- package/vendor/kobalte-core/combobox/index.jsx +80 -0
- package/vendor/kobalte-core/combobox-root-3702d1f6.d.ts +382 -0
- package/vendor/kobalte-core/context-menu/index.d.ts +15 -0
- package/vendor/kobalte-core/context-menu/index.js +5 -0
- package/vendor/kobalte-core/context-menu/index.jsx +75 -0
- package/vendor/kobalte-core/create-list-state-d9a0f1f2.d.ts +232 -0
- package/vendor/kobalte-core/dialog/index.d.ts +10 -0
- package/vendor/kobalte-core/dialog/index.js +2 -0
- package/vendor/kobalte-core/dialog/index.jsx +40 -0
- package/vendor/kobalte-core/dialog-trigger-f415bd9b.d.ts +184 -0
- package/vendor/kobalte-core/dismissable-layer/index.d.ts +51 -0
- package/vendor/kobalte-core/dismissable-layer/index.js +2 -0
- package/vendor/kobalte-core/dismissable-layer/index.jsx +12 -0
- package/vendor/kobalte-core/dropdown-menu/index.d.ts +18 -0
- package/vendor/kobalte-core/dropdown-menu/index.js +5 -0
- package/vendor/kobalte-core/dropdown-menu/index.jsx +73 -0
- package/vendor/kobalte-core/file-field/index.d.ts +221 -0
- package/vendor/kobalte-core/file-field/index.js +539 -0
- package/vendor/kobalte-core/file-field/index.jsx +564 -0
- package/vendor/kobalte-core/form-control-description-330657bc.d.ts +49 -0
- package/vendor/kobalte-core/form-control-error-message-9efcbea8.d.ts +25 -0
- package/vendor/kobalte-core/form-control-label-2a5ca7a3.d.ts +22 -0
- package/vendor/kobalte-core/hover-card/index.d.ts +11 -0
- package/vendor/kobalte-core/hover-card/index.js +3 -0
- package/vendor/kobalte-core/hover-card/index.jsx +33 -0
- package/vendor/kobalte-core/i18n/index.d.ts +81 -0
- package/vendor/kobalte-core/i18n/index.js +2 -0
- package/vendor/kobalte-core/i18n/index.jsx +28 -0
- package/vendor/kobalte-core/image/index.d.ts +5 -0
- package/vendor/kobalte-core/image/index.js +2 -0
- package/vendor/kobalte-core/image/index.jsx +17 -0
- package/vendor/kobalte-core/index-19a0ff67.d.ts +180 -0
- package/vendor/kobalte-core/index-1a4410b1.d.ts +184 -0
- package/vendor/kobalte-core/index-29c57b8d.d.ts +90 -0
- package/vendor/kobalte-core/index-2a97f0d5.d.ts +259 -0
- package/vendor/kobalte-core/index-339032c6.d.ts +24 -0
- package/vendor/kobalte-core/index-3a4165aa.d.ts +38 -0
- package/vendor/kobalte-core/index-45d19411.d.ts +181 -0
- package/vendor/kobalte-core/index-47114d4c.d.ts +153 -0
- package/vendor/kobalte-core/index-4933558f.d.ts +22 -0
- package/vendor/kobalte-core/index-4cb1a0c7.d.ts +178 -0
- package/vendor/kobalte-core/index-544033ad.d.ts +148 -0
- package/vendor/kobalte-core/index-5eae1bf9.d.ts +145 -0
- package/vendor/kobalte-core/index-64ed0578.d.ts +47 -0
- package/vendor/kobalte-core/index-68c6e688.d.ts +125 -0
- package/vendor/kobalte-core/index-71913923.d.ts +107 -0
- package/vendor/kobalte-core/index-774e18fb.d.ts +155 -0
- package/vendor/kobalte-core/index-78f1e72b.d.ts +22 -0
- package/vendor/kobalte-core/index-79050fd4.d.ts +22 -0
- package/vendor/kobalte-core/index-82a3d7cf.d.ts +76 -0
- package/vendor/kobalte-core/index-839e646d.d.ts +308 -0
- package/vendor/kobalte-core/index-8b78f50e.d.ts +96 -0
- package/vendor/kobalte-core/index-8dfcce13.d.ts +49 -0
- package/vendor/kobalte-core/index-929e4c7c.d.ts +109 -0
- package/vendor/kobalte-core/index-a6cbe732.d.ts +267 -0
- package/vendor/kobalte-core/index-a8504bc6.d.ts +105 -0
- package/vendor/kobalte-core/index-d652f235.d.ts +234 -0
- package/vendor/kobalte-core/index-d734f7ac.d.ts +120 -0
- package/vendor/kobalte-core/index-e3628d61.d.ts +405 -0
- package/vendor/kobalte-core/index-e8f9edc7.d.ts +484 -0
- package/vendor/kobalte-core/index-e96454a3.d.ts +113 -0
- package/vendor/kobalte-core/index-ed2fe8c4.d.ts +176 -0
- package/vendor/kobalte-core/index-f3e15e6a.d.ts +107 -0
- package/vendor/kobalte-core/index.d.ts +333 -0
- package/vendor/kobalte-core/index.js +56 -0
- package/vendor/kobalte-core/index.jsx +322 -0
- package/vendor/kobalte-core/link/index.d.ts +6 -0
- package/vendor/kobalte-core/link/index.js +2 -0
- package/vendor/kobalte-core/link/index.jsx +12 -0
- package/vendor/kobalte-core/link-root-bf54d4f3.d.ts +26 -0
- package/vendor/kobalte-core/listbox/index.d.ts +10 -0
- package/vendor/kobalte-core/listbox/index.js +2 -0
- package/vendor/kobalte-core/listbox/index.jsx +30 -0
- package/vendor/kobalte-core/listbox-item-indicator-b8390ce9.d.ts +27 -0
- package/vendor/kobalte-core/listbox-section-58338bda.d.ts +172 -0
- package/vendor/kobalte-core/menu/index.d.ts +41 -0
- package/vendor/kobalte-core/menu/index.js +2 -0
- package/vendor/kobalte-core/menu/index.jsx +72 -0
- package/vendor/kobalte-core/menu-sub-trigger-29a7ad75.d.ts +462 -0
- package/vendor/kobalte-core/menubar/index.d.ts +19 -0
- package/vendor/kobalte-core/menubar/index.js +6 -0
- package/vendor/kobalte-core/menubar/index.jsx +79 -0
- package/vendor/kobalte-core/menubar-context-c1a81ca0.d.ts +73 -0
- package/vendor/kobalte-core/meter/index.d.ts +15 -0
- package/vendor/kobalte-core/meter/index.js +2 -0
- package/vendor/kobalte-core/meter/index.jsx +23 -0
- package/vendor/kobalte-core/meter-value-label-797727cd.d.ts +117 -0
- package/vendor/kobalte-core/navigation-menu/index.d.ts +191 -0
- package/vendor/kobalte-core/navigation-menu/index.js +432 -0
- package/vendor/kobalte-core/navigation-menu/index.jsx +571 -0
- package/vendor/kobalte-core/number-field/index.d.ts +11 -0
- package/vendor/kobalte-core/number-field/index.js +5 -0
- package/vendor/kobalte-core/number-field/index.jsx +42 -0
- package/vendor/kobalte-core/number-field-root-3524531f.d.ts +128 -0
- package/vendor/kobalte-core/pagination/index.d.ts +6 -0
- package/vendor/kobalte-core/pagination/index.js +2 -0
- package/vendor/kobalte-core/pagination/index.jsx +26 -0
- package/vendor/kobalte-core/polymorphic/index.d.ts +29 -0
- package/vendor/kobalte-core/polymorphic/index.js +2 -0
- package/vendor/kobalte-core/polymorphic/index.jsx +8 -0
- package/vendor/kobalte-core/popover/index.d.ts +11 -0
- package/vendor/kobalte-core/popover/index.js +3 -0
- package/vendor/kobalte-core/popover/index.jsx +45 -0
- package/vendor/kobalte-core/popper/index.d.ts +42 -0
- package/vendor/kobalte-core/popper/index.js +2 -0
- package/vendor/kobalte-core/popper/index.jsx +20 -0
- package/vendor/kobalte-core/popper-arrow-89a19127.d.ts +24 -0
- package/vendor/kobalte-core/popper-root-c2da235c.d.ts +81 -0
- package/vendor/kobalte-core/primitives/create-collection/index.d.ts +16 -0
- package/vendor/kobalte-core/primitives/create-collection/index.js +3 -0
- package/vendor/kobalte-core/primitives/create-collection/index.jsx +12 -0
- package/vendor/kobalte-core/primitives/create-controllable-signal/index.d.ts +33 -0
- package/vendor/kobalte-core/primitives/create-controllable-signal/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-controllable-signal/index.jsx +15 -0
- package/vendor/kobalte-core/primitives/create-disclosure-state/index.d.ts +31 -0
- package/vendor/kobalte-core/primitives/create-disclosure-state/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-disclosure-state/index.jsx +10 -0
- package/vendor/kobalte-core/primitives/create-dom-collection/index.d.ts +32 -0
- package/vendor/kobalte-core/primitives/create-dom-collection/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-dom-collection/index.jsx +17 -0
- package/vendor/kobalte-core/primitives/create-escape-key-down/index.d.ts +18 -0
- package/vendor/kobalte-core/primitives/create-escape-key-down/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-escape-key-down/index.jsx +8 -0
- package/vendor/kobalte-core/primitives/create-focus-scope/index.d.ts +21 -0
- package/vendor/kobalte-core/primitives/create-focus-scope/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-focus-scope/index.jsx +9 -0
- package/vendor/kobalte-core/primitives/create-form-reset-listener/index.d.ts +9 -0
- package/vendor/kobalte-core/primitives/create-form-reset-listener/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-form-reset-listener/index.jsx +8 -0
- package/vendor/kobalte-core/primitives/create-hide-outside/index.d.ts +29 -0
- package/vendor/kobalte-core/primitives/create-hide-outside/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-hide-outside/index.jsx +12 -0
- package/vendor/kobalte-core/primitives/create-interact-outside/index.d.ts +39 -0
- package/vendor/kobalte-core/primitives/create-interact-outside/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-interact-outside/index.jsx +9 -0
- package/vendor/kobalte-core/primitives/create-register-id/index.d.ts +9 -0
- package/vendor/kobalte-core/primitives/create-register-id/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-register-id/index.jsx +8 -0
- package/vendor/kobalte-core/primitives/create-size/index.d.ts +9 -0
- package/vendor/kobalte-core/primitives/create-size/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-size/index.jsx +8 -0
- package/vendor/kobalte-core/primitives/create-tag-name/index.d.ts +15 -0
- package/vendor/kobalte-core/primitives/create-tag-name/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-tag-name/index.jsx +9 -0
- package/vendor/kobalte-core/primitives/create-toggle-state/index.d.ts +33 -0
- package/vendor/kobalte-core/primitives/create-toggle-state/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-toggle-state/index.jsx +10 -0
- package/vendor/kobalte-core/primitives/create-transition/index.d.ts +52 -0
- package/vendor/kobalte-core/primitives/create-transition/index.js +2 -0
- package/vendor/kobalte-core/primitives/create-transition/index.jsx +8 -0
- package/vendor/kobalte-core/progress/index.d.ts +6 -0
- package/vendor/kobalte-core/progress/index.js +2 -0
- package/vendor/kobalte-core/progress/index.jsx +24 -0
- package/vendor/kobalte-core/radio-group/index.d.ts +8 -0
- package/vendor/kobalte-core/radio-group/index.js +4 -0
- package/vendor/kobalte-core/radio-group/index.jsx +40 -0
- package/vendor/kobalte-core/radio-group-root-0af7f9b9.d.ts +195 -0
- package/vendor/kobalte-core/rating/index.d.ts +172 -0
- package/vendor/kobalte-core/rating/index.js +464 -0
- package/vendor/kobalte-core/rating/index.jsx +540 -0
- package/vendor/kobalte-core/search/index.d.ts +85 -0
- package/vendor/kobalte-core/search/index.js +177 -0
- package/vendor/kobalte-core/search/index.jsx +227 -0
- package/vendor/kobalte-core/segmented-control/index.d.ts +69 -0
- package/vendor/kobalte-core/segmented-control/index.js +162 -0
- package/vendor/kobalte-core/segmented-control/index.jsx +217 -0
- package/vendor/kobalte-core/select/index.d.ts +19 -0
- package/vendor/kobalte-core/select/index.js +6 -0
- package/vendor/kobalte-core/select/index.jsx +75 -0
- package/vendor/kobalte-core/separator/index.d.ts +6 -0
- package/vendor/kobalte-core/separator/index.js +2 -0
- package/vendor/kobalte-core/separator/index.jsx +12 -0
- package/vendor/kobalte-core/separator-root-cb685406.d.ts +25 -0
- package/vendor/kobalte-core/skeleton/index.d.ts +5 -0
- package/vendor/kobalte-core/skeleton/index.js +2 -0
- package/vendor/kobalte-core/skeleton/index.jsx +11 -0
- package/vendor/kobalte-core/slider/index.d.ts +11 -0
- package/vendor/kobalte-core/slider/index.js +5 -0
- package/vendor/kobalte-core/slider/index.jsx +43 -0
- package/vendor/kobalte-core/slider-value-label-2be90f59.d.ts +211 -0
- package/vendor/kobalte-core/spin-button/index.d.ts +10 -0
- package/vendor/kobalte-core/spin-button/index.js +2 -0
- package/vendor/kobalte-core/spin-button/index.jsx +12 -0
- package/vendor/kobalte-core/spin-button-root-3a44420a.d.ts +63 -0
- package/vendor/kobalte-core/switch/index.d.ts +8 -0
- package/vendor/kobalte-core/switch/index.js +2 -0
- package/vendor/kobalte-core/switch/index.jsx +35 -0
- package/vendor/kobalte-core/tabs/index.d.ts +8 -0
- package/vendor/kobalte-core/tabs/index.js +2 -0
- package/vendor/kobalte-core/tabs/index.jsx +27 -0
- package/vendor/kobalte-core/text-field/index.d.ts +9 -0
- package/vendor/kobalte-core/text-field/index.js +5 -0
- package/vendor/kobalte-core/text-field/index.jsx +34 -0
- package/vendor/kobalte-core/text-field-root-0b8dfa5a.d.ts +73 -0
- package/vendor/kobalte-core/time-field/index.d.ts +165 -0
- package/vendor/kobalte-core/time-field/index.js +818 -0
- package/vendor/kobalte-core/time-field/index.jsx +824 -0
- package/vendor/kobalte-core/toast/index.d.ts +6 -0
- package/vendor/kobalte-core/toast/index.js +2 -0
- package/vendor/kobalte-core/toast/index.jsx +33 -0
- package/vendor/kobalte-core/toggle-button/index.d.ts +7 -0
- package/vendor/kobalte-core/toggle-button/index.js +2 -0
- package/vendor/kobalte-core/toggle-button/index.jsx +16 -0
- package/vendor/kobalte-core/toggle-button-root-1cfacf95.d.ts +42 -0
- package/vendor/kobalte-core/toggle-group/index.d.ts +10 -0
- package/vendor/kobalte-core/toggle-group/index.js +2 -0
- package/vendor/kobalte-core/toggle-group/index.jsx +26 -0
- package/vendor/kobalte-core/tooltip/index.d.ts +10 -0
- package/vendor/kobalte-core/tooltip/index.js +3 -0
- package/vendor/kobalte-core/tooltip/index.jsx +32 -0
- package/vendor/kobalte-core/types-6adf33e1.d.ts +8 -0
- package/vendor/kobalte-core/types-877adc4a.d.ts +125 -0
- package/vendor/kobalte-core/types-f8ae18e5.d.ts +72 -0
- package/vendor/kobalte-core/utils-45fb8d63.d.ts +11 -0
- package/vendor/kobalte-utils/LICENSE.md +21 -0
- package/vendor/kobalte-utils/NOTICE.txt +231 -0
- package/vendor/kobalte-utils/index.cjs +878 -0
- package/vendor/kobalte-utils/index.d.cts +227 -0
- package/vendor/kobalte-utils/index.d.ts +227 -0
- package/vendor/kobalte-utils/index.js +791 -0
- package/vendor/origins.json +33 -0
- package/vendor/solid-web/LICENSE +21 -0
- package/vendor/solid-web/dev.cjs +896 -0
- package/vendor/solid-web/dev.js +784 -0
- package/vendor/solid-web/server.cjs +2 -0
- package/vendor/solid-web/server.js +2 -0
- package/vendor/solid-web/types/client.d.ts +93 -0
- package/vendor/solid-web/types/core.d.ts +2 -0
- package/vendor/solid-web/types/index.d.ts +50 -0
- package/vendor/solid-web/types/jsx.d.ts +1 -0
- package/vendor/solid-web/types/server-mock.d.ts +65 -0
- package/vendor/solid-web/types/server.d.ts +187 -0
- package/vendor/solid-web/web.cjs +885 -0
- package/vendor/solid-web/web.js +773 -0
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
// Vendored and modified by Gemologic Sheen from @kobalte/core@0.13.13; see package THIRD_PARTY_NOTICES.md.
|
|
2
|
+
import * as solid_js from 'solid-js';
|
|
3
|
+
import { JSX, ValidComponent } from 'solid-js';
|
|
4
|
+
import { ElementOf, PolymorphicProps } from './polymorphic/index.js';
|
|
5
|
+
import { Orientation, ValidationState } from "#sheen-kobalte-utils";
|
|
6
|
+
import { F as FormControlDataSet } from './form-control-description-330657bc.js';
|
|
7
|
+
|
|
8
|
+
interface RadioGroupItemDataSet {
|
|
9
|
+
"data-valid": string | undefined;
|
|
10
|
+
"data-invalid": string | undefined;
|
|
11
|
+
"data-required": string | undefined;
|
|
12
|
+
"data-disabled": string | undefined;
|
|
13
|
+
"data-readonly": string | undefined;
|
|
14
|
+
"data-checked": string | undefined;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface RadioGroupItemOptions {
|
|
18
|
+
/**
|
|
19
|
+
* The value of the radio button, used when submitting an HTML form.
|
|
20
|
+
* See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#Value).
|
|
21
|
+
*/
|
|
22
|
+
value: string;
|
|
23
|
+
/** Whether the radio button is disabled or not. */
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
}
|
|
26
|
+
interface RadioGroupItemCommonProps<T extends HTMLElement = HTMLElement> {
|
|
27
|
+
id: string;
|
|
28
|
+
onPointerDown: JSX.EventHandlerUnion<T, PointerEvent>;
|
|
29
|
+
}
|
|
30
|
+
interface RadioGroupItemRenderProps extends RadioGroupItemCommonProps, RadioGroupItemDataSet {
|
|
31
|
+
role: "group";
|
|
32
|
+
}
|
|
33
|
+
type RadioGroupItemProps<T extends ValidComponent | HTMLElement = HTMLElement> = RadioGroupItemOptions & Partial<RadioGroupItemCommonProps<ElementOf<T>>>;
|
|
34
|
+
/**
|
|
35
|
+
* The root container for a radio button.
|
|
36
|
+
*/
|
|
37
|
+
declare function RadioGroupItem<T extends ValidComponent = "div">(props: PolymorphicProps<T, RadioGroupItemProps<T>>): JSX.Element;
|
|
38
|
+
|
|
39
|
+
interface RadioGroupItemControlOptions {
|
|
40
|
+
}
|
|
41
|
+
interface RadioGroupItemControlCommonProps<T extends HTMLElement = HTMLElement> {
|
|
42
|
+
id: string;
|
|
43
|
+
onClick: JSX.EventHandlerUnion<T, MouseEvent>;
|
|
44
|
+
onKeyDown: JSX.EventHandlerUnion<T, KeyboardEvent>;
|
|
45
|
+
}
|
|
46
|
+
interface RadioGroupItemControlRenderProps extends RadioGroupItemControlCommonProps, RadioGroupItemDataSet {
|
|
47
|
+
}
|
|
48
|
+
type RadioGroupItemControlProps<T extends ValidComponent | HTMLElement = HTMLElement> = RadioGroupItemControlOptions & Partial<RadioGroupItemControlCommonProps<ElementOf<T>>>;
|
|
49
|
+
/**
|
|
50
|
+
* The element that visually represents a radio button.
|
|
51
|
+
*/
|
|
52
|
+
declare function RadioGroupItemControl<T extends ValidComponent = "div">(props: PolymorphicProps<T, RadioGroupItemControlProps<T>>): JSX.Element;
|
|
53
|
+
|
|
54
|
+
interface RadioGroupItemDescriptionOptions {
|
|
55
|
+
}
|
|
56
|
+
interface RadioGroupItemDescriptionCommonProps<T extends HTMLElement = HTMLElement> {
|
|
57
|
+
id: string;
|
|
58
|
+
}
|
|
59
|
+
interface RadioGroupItemDescriptionRenderProps extends RadioGroupItemDescriptionCommonProps, RadioGroupItemDataSet {
|
|
60
|
+
}
|
|
61
|
+
type RadioGroupItemDescriptionProps<T extends ValidComponent | HTMLElement = HTMLElement> = RadioGroupItemDescriptionOptions & Partial<RadioGroupItemDescriptionCommonProps<ElementOf<T>>>;
|
|
62
|
+
/**
|
|
63
|
+
* The description that gives the user more information on the radio button.
|
|
64
|
+
*/
|
|
65
|
+
declare function RadioGroupItemDescription<T extends ValidComponent = "div">(props: PolymorphicProps<T, RadioGroupItemDescriptionProps<T>>): solid_js.JSX.Element;
|
|
66
|
+
|
|
67
|
+
interface RadioGroupItemIndicatorOptions {
|
|
68
|
+
/**
|
|
69
|
+
* Used to force mounting when more control is needed.
|
|
70
|
+
* Useful when controlling animation with SolidJS animation libraries.
|
|
71
|
+
*/
|
|
72
|
+
forceMount?: boolean;
|
|
73
|
+
}
|
|
74
|
+
interface RadioGroupItemIndicatorCommonProps<T extends HTMLElement = HTMLElement> {
|
|
75
|
+
id: string;
|
|
76
|
+
ref: T | ((el: T) => void);
|
|
77
|
+
}
|
|
78
|
+
interface RadioGroupItemIndicatorRenderProps extends RadioGroupItemIndicatorCommonProps, RadioGroupItemDataSet {
|
|
79
|
+
}
|
|
80
|
+
type RadioGroupItemIndicatorProps<T extends ValidComponent | HTMLElement = HTMLElement> = RadioGroupItemIndicatorOptions & Partial<RadioGroupItemIndicatorCommonProps<ElementOf<T>>>;
|
|
81
|
+
/**
|
|
82
|
+
* The visual indicator rendered when the radio item is in a checked state.
|
|
83
|
+
* You can style this element directly, or you can use it as a wrapper to put an icon into, or both.
|
|
84
|
+
*/
|
|
85
|
+
declare function RadioGroupItemIndicator<T extends ValidComponent = "div">(props: PolymorphicProps<T, RadioGroupItemIndicatorProps<T>>): solid_js.JSX.Element;
|
|
86
|
+
|
|
87
|
+
interface RadioGroupItemInputOptions {
|
|
88
|
+
}
|
|
89
|
+
interface RadioGroupItemInputCommonProps<T extends HTMLElement = HTMLInputElement> {
|
|
90
|
+
id: string;
|
|
91
|
+
ref: T | ((el: T) => void);
|
|
92
|
+
"aria-labelledby": string | undefined;
|
|
93
|
+
"aria-describedby": string | undefined;
|
|
94
|
+
onChange: JSX.EventHandlerUnion<T, Event>;
|
|
95
|
+
onFocus: JSX.EventHandlerUnion<T, FocusEvent>;
|
|
96
|
+
onBlur: JSX.EventHandlerUnion<T, FocusEvent>;
|
|
97
|
+
"aria-label"?: string;
|
|
98
|
+
style?: JSX.CSSProperties | string;
|
|
99
|
+
}
|
|
100
|
+
interface RadioGroupItemInputRenderProps extends RadioGroupItemInputCommonProps, RadioGroupItemDataSet {
|
|
101
|
+
type: "radio";
|
|
102
|
+
name: string;
|
|
103
|
+
value: string;
|
|
104
|
+
checked: boolean;
|
|
105
|
+
required: boolean | undefined;
|
|
106
|
+
disabled: boolean | undefined;
|
|
107
|
+
readonly: boolean | undefined;
|
|
108
|
+
}
|
|
109
|
+
type RadioGroupItemInputProps<T extends ValidComponent | HTMLElement = HTMLInputElement> = RadioGroupItemInputOptions & Partial<RadioGroupItemInputCommonProps<ElementOf<T>>>;
|
|
110
|
+
/**
|
|
111
|
+
* The native html input that is visually hidden in the radio button.
|
|
112
|
+
*/
|
|
113
|
+
declare function RadioGroupItemInput<T extends ValidComponent = "input">(props: PolymorphicProps<T, RadioGroupItemInputProps<T>>): JSX.Element;
|
|
114
|
+
|
|
115
|
+
interface RadioGroupItemLabelOptions {
|
|
116
|
+
}
|
|
117
|
+
interface RadioGroupItemLabelCommonProps<T extends HTMLElement = HTMLElement> {
|
|
118
|
+
id: string;
|
|
119
|
+
}
|
|
120
|
+
interface RadioGroupItemLabelRenderProps extends RadioGroupItemLabelCommonProps, RadioGroupItemDataSet {
|
|
121
|
+
for: string | undefined;
|
|
122
|
+
}
|
|
123
|
+
type RadioGroupItemLabelProps<T extends ValidComponent | HTMLElement = HTMLElement> = RadioGroupItemLabelOptions & Partial<RadioGroupItemLabelCommonProps<ElementOf<T>>>;
|
|
124
|
+
/**
|
|
125
|
+
* The label that gives the user information on the radio button.
|
|
126
|
+
*/
|
|
127
|
+
declare function RadioGroupItemLabel<T extends ValidComponent = "label">(props: PolymorphicProps<T, RadioGroupItemLabelProps<T>>): solid_js.JSX.Element;
|
|
128
|
+
|
|
129
|
+
interface RadioGroupLabelOptions {
|
|
130
|
+
}
|
|
131
|
+
interface RadioGroupLabelCommonProps<T extends HTMLElement = HTMLElement> {
|
|
132
|
+
}
|
|
133
|
+
interface RadioGroupLabelRenderProps extends RadioGroupLabelCommonProps {
|
|
134
|
+
}
|
|
135
|
+
type RadioGroupLabelProps<T extends ValidComponent | HTMLElement = HTMLElement> = RadioGroupLabelOptions & Partial<RadioGroupLabelCommonProps<ElementOf<T>>>;
|
|
136
|
+
/**
|
|
137
|
+
* The label that gives the user information on the radio group.
|
|
138
|
+
*/
|
|
139
|
+
declare function RadioGroupLabel<T extends ValidComponent = "span">(props: PolymorphicProps<T, RadioGroupLabelProps<T>>): solid_js.JSX.Element;
|
|
140
|
+
|
|
141
|
+
interface RadioGroupRootOptions {
|
|
142
|
+
/** The controlled value of the radio button to check. */
|
|
143
|
+
value?: string;
|
|
144
|
+
/**
|
|
145
|
+
* The value of the radio button that should be checked when initially rendered.
|
|
146
|
+
* Useful when you do not need to control the state of the radio buttons.
|
|
147
|
+
*/
|
|
148
|
+
defaultValue?: string;
|
|
149
|
+
/** Event handler called when the value changes. */
|
|
150
|
+
onChange?: (value: string) => void;
|
|
151
|
+
/** The axis the radio group items should align with. */
|
|
152
|
+
orientation?: Orientation;
|
|
153
|
+
/**
|
|
154
|
+
* A unique identifier for the component.
|
|
155
|
+
* The id is used to generate id attributes for nested components.
|
|
156
|
+
* If no id prop is provided, a generated id will be used.
|
|
157
|
+
*/
|
|
158
|
+
id?: string;
|
|
159
|
+
/**
|
|
160
|
+
* The name of the radio group.
|
|
161
|
+
* Submitted with its owning form as part of a name/value pair.
|
|
162
|
+
*/
|
|
163
|
+
name?: string;
|
|
164
|
+
/** Whether the radio group should display its "valid" or "invalid" visual styling. */
|
|
165
|
+
validationState?: ValidationState;
|
|
166
|
+
/** Whether the user must select an item before the owning form can be submitted. */
|
|
167
|
+
required?: boolean;
|
|
168
|
+
/** Whether the radio group is disabled. */
|
|
169
|
+
disabled?: boolean;
|
|
170
|
+
/** Whether the radio group is read only. */
|
|
171
|
+
readOnly?: boolean;
|
|
172
|
+
}
|
|
173
|
+
interface RadioGroupRootCommonProps<T extends HTMLElement = HTMLElement> {
|
|
174
|
+
id: string;
|
|
175
|
+
ref: T | ((el: T) => void);
|
|
176
|
+
"aria-labelledby": string | undefined;
|
|
177
|
+
"aria-describedby": string | undefined;
|
|
178
|
+
"aria-label"?: string;
|
|
179
|
+
}
|
|
180
|
+
interface RadioGroupRootRenderProps extends RadioGroupRootCommonProps, FormControlDataSet {
|
|
181
|
+
role: "radiogroup";
|
|
182
|
+
"aria-invalid": boolean | undefined;
|
|
183
|
+
"aria-required": boolean | undefined;
|
|
184
|
+
"aria-disabled": boolean | undefined;
|
|
185
|
+
"aria-readonly": boolean | undefined;
|
|
186
|
+
"aria-orientation": Orientation | undefined;
|
|
187
|
+
}
|
|
188
|
+
type RadioGroupRootProps<T extends ValidComponent | HTMLElement = HTMLElement> = RadioGroupRootOptions & Partial<RadioGroupRootCommonProps<ElementOf<T>>>;
|
|
189
|
+
/**
|
|
190
|
+
* A set of checkable buttons, known as radio buttons, where no more than one of the buttons can be checked at a time.
|
|
191
|
+
* This component is based on the [WAI-ARIA Radio Group Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/radiobutton/)
|
|
192
|
+
*/
|
|
193
|
+
declare function RadioGroupRoot<T extends ValidComponent = "div">(props: PolymorphicProps<T, RadioGroupRootProps<T>>): solid_js.JSX.Element;
|
|
194
|
+
|
|
195
|
+
export { RadioGroupItemLabelProps as A, RadioGroupItemLabelRenderProps as B, RadioGroupItemOptions as C, RadioGroupItemProps as D, RadioGroupItemRenderProps as E, RadioGroupLabelCommonProps as F, RadioGroupLabelOptions as G, RadioGroupLabelProps as H, RadioGroupLabelRenderProps as I, RadioGroupRootCommonProps as J, RadioGroupRootOptions as K, RadioGroupRootProps as L, RadioGroupRootRenderProps as M, RadioGroupRoot as R, RadioGroupItem as a, RadioGroupItemControl as b, RadioGroupItemDescription as c, RadioGroupItemIndicator as d, RadioGroupItemInput as e, RadioGroupItemLabel as f, RadioGroupLabel as g, RadioGroupItemCommonProps as h, RadioGroupItemControlCommonProps as i, RadioGroupItemControlOptions as j, RadioGroupItemControlProps as k, RadioGroupItemControlRenderProps as l, RadioGroupItemDescriptionCommonProps as m, RadioGroupItemDescriptionOptions as n, RadioGroupItemDescriptionProps as o, RadioGroupItemDescriptionRenderProps as p, RadioGroupItemIndicatorCommonProps as q, RadioGroupItemIndicatorOptions as r, RadioGroupItemIndicatorProps as s, RadioGroupItemIndicatorRenderProps as t, RadioGroupItemInputCommonProps as u, RadioGroupItemInputOptions as v, RadioGroupItemInputProps as w, RadioGroupItemInputRenderProps as x, RadioGroupItemLabelCommonProps as y, RadioGroupItemLabelOptions as z };
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
// Vendored and modified by Gemologic Sheen from @kobalte/core@0.13.13; see package THIRD_PARTY_NOTICES.md.
|
|
2
|
+
import { F as FormControlDataSet, a as FormControlDescription } from '../form-control-description-330657bc.js';
|
|
3
|
+
export { c as RatingDescriptionCommonProps, b as RatingDescriptionOptions, e as RatingDescriptionProps, d as RatingDescriptionRenderProps } from '../form-control-description-330657bc.js';
|
|
4
|
+
import { F as FormControlErrorMessage } from '../form-control-error-message-9efcbea8.js';
|
|
5
|
+
export { b as RatingErrorMessageCommonProps, a as RatingErrorMessageOptions, d as RatingErrorMessageProps, c as RatingErrorMessageRenderProps } from '../form-control-error-message-9efcbea8.js';
|
|
6
|
+
import * as solid_js from 'solid-js';
|
|
7
|
+
import { JSX, ValidComponent, ComponentProps, Accessor } from 'solid-js';
|
|
8
|
+
import { ElementOf, PolymorphicProps } from '../polymorphic/index.js';
|
|
9
|
+
import { Orientation, ValidationState } from "#sheen-kobalte-utils";
|
|
10
|
+
|
|
11
|
+
interface RatingControlOptions {
|
|
12
|
+
}
|
|
13
|
+
interface RatingControlCommonProps<T extends HTMLElement = HTMLElement> {
|
|
14
|
+
id: string;
|
|
15
|
+
onPointerLeave: JSX.EventHandlerUnion<T, PointerEvent>;
|
|
16
|
+
}
|
|
17
|
+
interface RatingControlRenderProps extends RatingControlCommonProps {
|
|
18
|
+
role: "presentation";
|
|
19
|
+
}
|
|
20
|
+
type RatingControlProps<T extends ValidComponent | HTMLElement = HTMLElement> = RatingControlOptions & Partial<RatingControlCommonProps<ElementOf<T>>>;
|
|
21
|
+
declare function RatingControl<T extends ValidComponent = "div">(props: PolymorphicProps<T, RatingControlProps<T>>): JSX.Element;
|
|
22
|
+
|
|
23
|
+
interface RatingHiddenInputProps extends ComponentProps<"input"> {
|
|
24
|
+
}
|
|
25
|
+
declare function RatingHiddenInput(props: RatingHiddenInputProps): solid_js.JSX.Element;
|
|
26
|
+
|
|
27
|
+
interface RatingItemDataSet extends FormControlDataSet {
|
|
28
|
+
"data-checked": string | undefined;
|
|
29
|
+
"data-half": string | undefined;
|
|
30
|
+
"data-highlighted": string | undefined;
|
|
31
|
+
}
|
|
32
|
+
interface RatingItemState {
|
|
33
|
+
half: Accessor<boolean>;
|
|
34
|
+
highlighted: Accessor<boolean>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
interface RatingItemOptions {
|
|
38
|
+
}
|
|
39
|
+
interface RatingItemCommonProps<T extends HTMLElement = HTMLElement> {
|
|
40
|
+
id: string;
|
|
41
|
+
ref: T | ((el: T) => void);
|
|
42
|
+
"aria-labelledby": string | undefined;
|
|
43
|
+
"aria-describedby": string | undefined;
|
|
44
|
+
"aria-label"?: string;
|
|
45
|
+
onClick: JSX.EventHandlerUnion<T, MouseEvent>;
|
|
46
|
+
onKeyDown: JSX.EventHandlerUnion<T, KeyboardEvent>;
|
|
47
|
+
onPointerMove: JSX.EventHandlerUnion<T, PointerEvent>;
|
|
48
|
+
}
|
|
49
|
+
interface RatingItemRenderProps extends RatingItemCommonProps, RatingItemDataSet {
|
|
50
|
+
role: "radio";
|
|
51
|
+
tabIndex: number | undefined;
|
|
52
|
+
"aria-required": boolean | undefined;
|
|
53
|
+
"aria-disabled": boolean | undefined;
|
|
54
|
+
"aria-readonly": boolean | undefined;
|
|
55
|
+
"aria-checked": boolean;
|
|
56
|
+
}
|
|
57
|
+
type RatingItemProps<T extends ValidComponent | HTMLElement = HTMLElement> = RatingItemOptions & Partial<RatingItemCommonProps<ElementOf<T>>>;
|
|
58
|
+
declare function RatingItem<T extends ValidComponent = "div">(props: PolymorphicProps<T, RatingItemProps<T>>): JSX.Element;
|
|
59
|
+
|
|
60
|
+
interface RatingItemControlOptions {
|
|
61
|
+
/**
|
|
62
|
+
* The children of the rating item.
|
|
63
|
+
* Can be a `JSX.Element` or a _render prop_ for having access to the internal state.
|
|
64
|
+
*/
|
|
65
|
+
children?: JSX.Element | ((state: RatingItemState) => JSX.Element);
|
|
66
|
+
}
|
|
67
|
+
interface RatingItemControlCommonProps<T extends HTMLElement = HTMLElement> {
|
|
68
|
+
id: string;
|
|
69
|
+
}
|
|
70
|
+
interface RatingItemControlRenderProps extends RatingItemControlCommonProps {
|
|
71
|
+
role: "presentation";
|
|
72
|
+
children: JSX.Element;
|
|
73
|
+
}
|
|
74
|
+
type RatingItemControlProps<T extends ValidComponent | HTMLElement = HTMLElement> = RatingItemControlOptions & Partial<RatingItemControlCommonProps<ElementOf<T>>>;
|
|
75
|
+
declare function RatingItemControl<T extends ValidComponent = "div">(props: PolymorphicProps<T, RatingItemControlProps<T>>): JSX.Element;
|
|
76
|
+
|
|
77
|
+
interface RatingItemDescriptionOptions {
|
|
78
|
+
}
|
|
79
|
+
interface RatingItemDescriptionCommonProps<T extends HTMLElement = HTMLElement> {
|
|
80
|
+
id: string;
|
|
81
|
+
}
|
|
82
|
+
interface RatingItemDescriptionRenderProps extends RatingItemDescriptionCommonProps, RatingItemDataSet {
|
|
83
|
+
}
|
|
84
|
+
type RatingItemDescriptionProps<T extends ValidComponent | HTMLElement = HTMLElement> = RatingItemDescriptionOptions & Partial<RatingItemDescriptionCommonProps<ElementOf<T>>>;
|
|
85
|
+
declare function RatingItemDescription<T extends ValidComponent = "div">(props: PolymorphicProps<T, RatingItemDescriptionProps<T>>): solid_js.JSX.Element;
|
|
86
|
+
|
|
87
|
+
interface RatingItemLabelOptions {
|
|
88
|
+
}
|
|
89
|
+
interface RatingItemLabelCommonProps<T extends HTMLElement = HTMLElement> {
|
|
90
|
+
id: string;
|
|
91
|
+
style: JSX.CSSProperties | string;
|
|
92
|
+
}
|
|
93
|
+
interface RatingItemLabelRenderProps extends RatingItemLabelCommonProps, RatingItemDataSet {
|
|
94
|
+
for: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
type RatingItemLabelProps<T extends ValidComponent | HTMLElement = HTMLElement> = RatingItemLabelOptions & Partial<RatingItemLabelCommonProps<ElementOf<T>>>;
|
|
97
|
+
declare function RatingItemLabel<T extends ValidComponent = "label">(props: PolymorphicProps<T, RatingItemLabelProps<T>>): JSX.Element;
|
|
98
|
+
|
|
99
|
+
interface RatingLabelOptions {
|
|
100
|
+
}
|
|
101
|
+
interface RatingLabelCommonProps<T extends HTMLElement = HTMLElement> {
|
|
102
|
+
}
|
|
103
|
+
interface RatingLabelRenderProps extends RatingLabelCommonProps {
|
|
104
|
+
}
|
|
105
|
+
type RatingLabelProps<T extends ValidComponent | HTMLElement = HTMLElement> = RatingLabelOptions & Partial<RatingLabelCommonProps<ElementOf<T>>>;
|
|
106
|
+
declare function RatingLabel<T extends ValidComponent = "span">(props: PolymorphicProps<T, RatingLabelProps<T>>): solid_js.JSX.Element;
|
|
107
|
+
|
|
108
|
+
interface RatingRootOptions {
|
|
109
|
+
/** The current rating value. */
|
|
110
|
+
value?: number;
|
|
111
|
+
/**
|
|
112
|
+
* The initial value of the rating when it is first rendered.
|
|
113
|
+
* Use when you do not need to control the state of the rating.
|
|
114
|
+
*/
|
|
115
|
+
defaultValue?: number;
|
|
116
|
+
/** Event handler called when the value changes. */
|
|
117
|
+
onChange?: (value: number) => void;
|
|
118
|
+
/** Whether to allow half ratings. */
|
|
119
|
+
allowHalf?: boolean;
|
|
120
|
+
/** The axis the rating items should align with. */
|
|
121
|
+
orientation?: Orientation;
|
|
122
|
+
/**
|
|
123
|
+
* A unique identifier for the component.
|
|
124
|
+
* The id is used to generate id attributes for nested components.
|
|
125
|
+
* If no id prop is provided, a generated id will be used.
|
|
126
|
+
*/
|
|
127
|
+
id?: string;
|
|
128
|
+
/**
|
|
129
|
+
* The name of the rating.
|
|
130
|
+
* Submitted with its owning form as part of a name/value pair.
|
|
131
|
+
*/
|
|
132
|
+
name?: string;
|
|
133
|
+
/** Whether the rating should display its "valid" or "invalid" visual styling. */
|
|
134
|
+
validationState?: ValidationState;
|
|
135
|
+
/** Whether the user must select an item before the owning form can be submitted. */
|
|
136
|
+
required?: boolean;
|
|
137
|
+
/** Whether the rating is disabled. */
|
|
138
|
+
disabled?: boolean;
|
|
139
|
+
/** Whether the rating is read only. */
|
|
140
|
+
readOnly?: boolean;
|
|
141
|
+
}
|
|
142
|
+
interface RatingRootCommonProps<T extends HTMLElement = HTMLElement> {
|
|
143
|
+
id: string;
|
|
144
|
+
ref: T | ((el: T) => void);
|
|
145
|
+
"aria-labelledby": string | undefined;
|
|
146
|
+
"aria-describedby": string | undefined;
|
|
147
|
+
"aria-label"?: string;
|
|
148
|
+
}
|
|
149
|
+
interface RatingRootRenderProps extends RatingRootCommonProps, FormControlDataSet {
|
|
150
|
+
role: "radiogroup";
|
|
151
|
+
"aria-invalid": boolean | undefined;
|
|
152
|
+
"aria-required": boolean | undefined;
|
|
153
|
+
"aria-disabled": boolean | undefined;
|
|
154
|
+
"aria-readonly": boolean | undefined;
|
|
155
|
+
"aria-orientation": Orientation | undefined;
|
|
156
|
+
}
|
|
157
|
+
type RatingRootProps<T extends ValidComponent | HTMLElement = HTMLElement> = RatingRootOptions & Partial<RatingRootCommonProps<ElementOf<T>>>;
|
|
158
|
+
declare function RatingRoot<T extends ValidComponent = "div">(props: PolymorphicProps<T, RatingRootProps<T>>): solid_js.JSX.Element;
|
|
159
|
+
|
|
160
|
+
declare const Rating: typeof RatingRoot & {
|
|
161
|
+
Description: typeof FormControlDescription;
|
|
162
|
+
ErrorMessage: typeof FormControlErrorMessage;
|
|
163
|
+
Control: typeof RatingControl;
|
|
164
|
+
HiddenInput: typeof RatingHiddenInput;
|
|
165
|
+
ItemControl: typeof RatingItemControl;
|
|
166
|
+
ItemDescription: typeof RatingItemDescription;
|
|
167
|
+
ItemLabel: typeof RatingItemLabel;
|
|
168
|
+
Item: typeof RatingItem;
|
|
169
|
+
Label: typeof RatingLabel;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export { RatingControl as Control, FormControlDescription as Description, FormControlErrorMessage as ErrorMessage, RatingHiddenInput as HiddenInput, RatingItem as Item, RatingItemControl as ItemControl, RatingItemDescription as ItemDescription, RatingItemLabel as ItemLabel, RatingLabel as Label, Rating, RatingControlCommonProps, RatingControlOptions, RatingControlProps, RatingControlRenderProps, RatingHiddenInputProps, RatingItemCommonProps, RatingItemControlCommonProps, RatingItemControlOptions, RatingItemControlProps, RatingItemControlRenderProps, RatingItemDescriptionCommonProps, RatingItemDescriptionOptions, RatingItemDescriptionProps, RatingItemDescriptionRenderProps, RatingItemLabelCommonProps, RatingItemLabelOptions, RatingItemLabelProps, RatingItemLabelRenderProps, RatingItemOptions, RatingItemProps, RatingItemRenderProps, RatingLabelCommonProps, RatingLabelOptions, RatingLabelProps, RatingLabelRenderProps, RatingRootCommonProps, RatingRootOptions, RatingRootProps, RatingRootRenderProps, RatingRoot as Root };
|