@expressivecss/expressive 0.15.0 → 0.16.0
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/CHANGELOG.md +1502 -1
- package/README.md +9 -8
- package/dist/css/expressive.css +19247 -11923
- package/dist/css/expressive.css.map +1 -1
- package/dist/css/expressive.min.css +1 -1
- package/dist/css/expressive.min.css.map +1 -1
- package/dist/fonts/LICENSE-noto-sans-arabic +93 -0
- package/dist/fonts/LICENSE-noto-sans-hebrew +93 -0
- package/dist/fonts/LICENSE-noto-sans-thai +93 -0
- package/dist/fonts/material-symbols-outlined.woff2 +0 -0
- package/dist/fonts/material-symbols-rounded.woff2 +0 -0
- package/dist/fonts/material-symbols-sharp.woff2 +0 -0
- package/dist/fonts/noto-sans-arabic-arabic-400.woff2 +0 -0
- package/dist/fonts/noto-sans-arabic-arabic-500.woff2 +0 -0
- package/dist/fonts/noto-sans-arabic-arabic-700.woff2 +0 -0
- package/dist/fonts/noto-sans-cyrillic-400.woff2 +0 -0
- package/dist/fonts/noto-sans-cyrillic-500.woff2 +0 -0
- package/dist/fonts/noto-sans-cyrillic-700.woff2 +0 -0
- package/dist/fonts/noto-sans-cyrillic-ext-400.woff2 +0 -0
- package/dist/fonts/noto-sans-cyrillic-ext-500.woff2 +0 -0
- package/dist/fonts/noto-sans-cyrillic-ext-700.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-400.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-500.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-700.woff2 +0 -0
- package/dist/fonts/noto-sans-greek-400.woff2 +0 -0
- package/dist/fonts/noto-sans-greek-500.woff2 +0 -0
- package/dist/fonts/noto-sans-greek-700.woff2 +0 -0
- package/dist/fonts/noto-sans-greek-ext-400.woff2 +0 -0
- package/dist/fonts/noto-sans-greek-ext-500.woff2 +0 -0
- package/dist/fonts/noto-sans-greek-ext-700.woff2 +0 -0
- package/dist/fonts/noto-sans-hebrew-hebrew-400.woff2 +0 -0
- package/dist/fonts/noto-sans-hebrew-hebrew-500.woff2 +0 -0
- package/dist/fonts/noto-sans-hebrew-hebrew-700.woff2 +0 -0
- package/dist/fonts/noto-sans-latin-700.woff2 +0 -0
- package/dist/fonts/noto-sans-latin-ext-400.woff2 +0 -0
- package/dist/fonts/noto-sans-latin-ext-500.woff2 +0 -0
- package/dist/fonts/noto-sans-latin-ext-700.woff2 +0 -0
- package/dist/fonts/noto-sans-thai-thai-400.woff2 +0 -0
- package/dist/fonts/noto-sans-thai-thai-500.woff2 +0 -0
- package/dist/fonts/noto-sans-thai-thai-700.woff2 +0 -0
- package/dist/fonts/noto-sans-vietnamese-400.woff2 +0 -0
- package/dist/fonts/noto-sans-vietnamese-500.woff2 +0 -0
- package/dist/fonts/noto-sans-vietnamese-700.woff2 +0 -0
- package/dist/fonts/roboto-cyrillic-400.woff2 +0 -0
- package/dist/fonts/roboto-cyrillic-500.woff2 +0 -0
- package/dist/fonts/roboto-cyrillic-700.woff2 +0 -0
- package/dist/fonts/roboto-cyrillic-ext-400.woff2 +0 -0
- package/dist/fonts/roboto-cyrillic-ext-500.woff2 +0 -0
- package/dist/fonts/roboto-cyrillic-ext-700.woff2 +0 -0
- package/dist/fonts/roboto-greek-400.woff2 +0 -0
- package/dist/fonts/roboto-greek-500.woff2 +0 -0
- package/dist/fonts/roboto-greek-700.woff2 +0 -0
- package/dist/fonts/roboto-greek-ext-400.woff2 +0 -0
- package/dist/fonts/roboto-greek-ext-500.woff2 +0 -0
- package/dist/fonts/roboto-greek-ext-700.woff2 +0 -0
- package/dist/fonts/roboto-latin-700.woff2 +0 -0
- package/dist/fonts/roboto-latin-ext-400.woff2 +0 -0
- package/dist/fonts/roboto-latin-ext-500.woff2 +0 -0
- package/dist/fonts/roboto-latin-ext-700.woff2 +0 -0
- package/dist/fonts/roboto-vietnamese-400.woff2 +0 -0
- package/dist/fonts/roboto-vietnamese-500.woff2 +0 -0
- package/dist/fonts/roboto-vietnamese-700.woff2 +0 -0
- package/dist/js/chunks/chunk-2CS6TITK.mjs +219 -0
- package/dist/js/chunks/chunk-2CS6TITK.mjs.map +7 -0
- package/dist/js/chunks/chunk-2RLBDFH4.mjs +108 -0
- package/dist/js/chunks/chunk-2RLBDFH4.mjs.map +7 -0
- package/dist/js/chunks/chunk-3L3QIYLC.mjs +85 -0
- package/dist/js/chunks/chunk-3L3QIYLC.mjs.map +7 -0
- package/dist/js/chunks/chunk-4EWGD4V2.mjs +75 -0
- package/dist/js/chunks/chunk-4EWGD4V2.mjs.map +7 -0
- package/dist/js/chunks/chunk-4IKVPCSU.mjs +7 -0
- package/dist/js/chunks/chunk-4IKVPCSU.mjs.map +7 -0
- package/dist/js/chunks/chunk-4PIXLDNJ.mjs +127 -0
- package/dist/js/chunks/chunk-4PIXLDNJ.mjs.map +7 -0
- package/dist/js/chunks/{chunk-KVJAVDBC.mjs → chunk-4QUCNFSD.mjs} +64 -113
- package/dist/js/chunks/chunk-4QUCNFSD.mjs.map +7 -0
- package/dist/js/chunks/{chunk-UETTGDLI.mjs → chunk-4TRZ2AER.mjs} +35 -41
- package/dist/js/chunks/chunk-4TRZ2AER.mjs.map +7 -0
- package/dist/js/chunks/{chunk-C6CHEWYP.mjs → chunk-5KIHWJI2.mjs} +40 -26
- package/dist/js/chunks/chunk-5KIHWJI2.mjs.map +7 -0
- package/dist/js/chunks/{chunk-L27Q6ZMI.mjs → chunk-67ZPPKXS.mjs} +20 -33
- package/dist/js/chunks/chunk-67ZPPKXS.mjs.map +7 -0
- package/dist/js/chunks/{chunk-XAEAEHIX.mjs → chunk-6FSEUFVW.mjs} +39 -26
- package/dist/js/chunks/chunk-6FSEUFVW.mjs.map +7 -0
- package/dist/js/chunks/chunk-752ADW4M.mjs +225 -0
- package/dist/js/chunks/chunk-752ADW4M.mjs.map +7 -0
- package/dist/js/chunks/{chunk-CK2XCICY.mjs → chunk-75E5EDJF.mjs} +3 -11
- package/dist/js/chunks/chunk-75E5EDJF.mjs.map +7 -0
- package/dist/js/chunks/{chunk-KHXZ2A4K.mjs → chunk-7NLUI3RR.mjs} +139 -66
- package/dist/js/chunks/chunk-7NLUI3RR.mjs.map +7 -0
- package/dist/js/chunks/chunk-7W7TV6NY.mjs +108 -0
- package/dist/js/chunks/chunk-7W7TV6NY.mjs.map +7 -0
- package/dist/js/chunks/chunk-7YQBHTK3.mjs +225 -0
- package/dist/js/chunks/chunk-7YQBHTK3.mjs.map +7 -0
- package/dist/js/chunks/chunk-7YZ5CN3V.mjs +33 -0
- package/dist/js/chunks/chunk-7YZ5CN3V.mjs.map +7 -0
- package/dist/js/chunks/chunk-AI73GJKG.mjs +28 -0
- package/dist/js/chunks/chunk-AI73GJKG.mjs.map +7 -0
- package/dist/js/chunks/{chunk-LQWUDNHZ.mjs → chunk-ANKFWNWT.mjs} +21 -45
- package/dist/js/chunks/chunk-ANKFWNWT.mjs.map +7 -0
- package/dist/js/chunks/{chunk-5CEAOLUA.mjs → chunk-B7DQFHA5.mjs} +30 -47
- package/dist/js/chunks/chunk-B7DQFHA5.mjs.map +7 -0
- package/dist/js/chunks/chunk-BIGU5RCJ.mjs +153 -0
- package/dist/js/chunks/chunk-BIGU5RCJ.mjs.map +7 -0
- package/dist/js/chunks/{chunk-VGNYF6FB.mjs → chunk-BPF3I2MN.mjs} +109 -24
- package/dist/js/chunks/chunk-BPF3I2MN.mjs.map +7 -0
- package/dist/js/chunks/chunk-CMGXGYUC.mjs +74 -0
- package/dist/js/chunks/chunk-CMGXGYUC.mjs.map +7 -0
- package/dist/js/chunks/{chunk-NUHMOAOY.mjs → chunk-CSYWKEK3.mjs} +310 -196
- package/dist/js/chunks/chunk-CSYWKEK3.mjs.map +7 -0
- package/dist/js/chunks/chunk-CZSQHXEV.mjs +227 -0
- package/dist/js/chunks/chunk-CZSQHXEV.mjs.map +7 -0
- package/dist/js/chunks/chunk-DZYVU75J.mjs +121 -0
- package/dist/js/chunks/chunk-DZYVU75J.mjs.map +7 -0
- package/dist/js/chunks/{chunk-74MXKKLN.mjs → chunk-EC26RU2D.mjs} +11 -29
- package/dist/js/chunks/chunk-EC26RU2D.mjs.map +7 -0
- package/dist/js/chunks/{chunk-WDK4T63U.mjs → chunk-EVCVFEV3.mjs} +235 -146
- package/dist/js/chunks/chunk-EVCVFEV3.mjs.map +7 -0
- package/dist/js/chunks/chunk-FCNF4GRJ.mjs +445 -0
- package/dist/js/chunks/chunk-FCNF4GRJ.mjs.map +7 -0
- package/dist/js/chunks/chunk-GCWWEZKO.mjs +342 -0
- package/dist/js/chunks/chunk-GCWWEZKO.mjs.map +7 -0
- package/dist/js/chunks/chunk-GNRSYMVH.mjs +1 -0
- package/dist/js/chunks/chunk-GVZQH2H5.mjs +54 -0
- package/dist/js/chunks/chunk-GVZQH2H5.mjs.map +7 -0
- package/dist/js/chunks/chunk-GWZ76SR4.mjs +435 -0
- package/dist/js/chunks/chunk-GWZ76SR4.mjs.map +7 -0
- package/dist/js/chunks/{chunk-PDG64UHF.mjs → chunk-ILDRRG7T.mjs} +21 -23
- package/dist/js/chunks/chunk-ILDRRG7T.mjs.map +7 -0
- package/dist/js/chunks/chunk-INLZWHLY.mjs +80 -0
- package/dist/js/chunks/chunk-INLZWHLY.mjs.map +7 -0
- package/dist/js/chunks/chunk-JUKBBN6P.mjs +175 -0
- package/dist/js/chunks/chunk-JUKBBN6P.mjs.map +7 -0
- package/dist/js/chunks/chunk-KYIEG4U3.mjs +730 -0
- package/dist/js/chunks/chunk-KYIEG4U3.mjs.map +7 -0
- package/dist/js/chunks/{chunk-BGZLF6JZ.mjs → chunk-KZPSAXIU.mjs} +142 -32
- package/dist/js/chunks/chunk-KZPSAXIU.mjs.map +7 -0
- package/dist/js/chunks/chunk-LDXCC2L3.mjs +438 -0
- package/dist/js/chunks/chunk-LDXCC2L3.mjs.map +7 -0
- package/dist/js/chunks/chunk-NAC72P7R.mjs +137 -0
- package/dist/js/chunks/chunk-NAC72P7R.mjs.map +7 -0
- package/dist/js/chunks/chunk-NBJAUGPP.mjs +244 -0
- package/dist/js/chunks/chunk-NBJAUGPP.mjs.map +7 -0
- package/dist/js/chunks/chunk-NNHVANQA.mjs +113 -0
- package/dist/js/chunks/chunk-NNHVANQA.mjs.map +7 -0
- package/dist/js/chunks/chunk-NVQ5EHCU.mjs +376 -0
- package/dist/js/chunks/chunk-NVQ5EHCU.mjs.map +7 -0
- package/dist/js/chunks/{chunk-DXGRXYYL.mjs → chunk-OP43LLIC.mjs} +28 -45
- package/dist/js/chunks/chunk-OP43LLIC.mjs.map +7 -0
- package/dist/js/chunks/chunk-OUCHKSAW.mjs +63 -0
- package/dist/js/chunks/chunk-OUCHKSAW.mjs.map +7 -0
- package/dist/js/chunks/{chunk-TSZYSW7F.mjs → chunk-OYNUDOHR.mjs} +19 -47
- package/dist/js/chunks/chunk-OYNUDOHR.mjs.map +7 -0
- package/dist/js/chunks/{chunk-UAZSDUVP.mjs → chunk-P6DRQ6KS.mjs} +36 -30
- package/dist/js/chunks/chunk-P6DRQ6KS.mjs.map +7 -0
- package/dist/js/chunks/chunk-PA7NU5AK.mjs +99 -0
- package/dist/js/chunks/chunk-PA7NU5AK.mjs.map +7 -0
- package/dist/js/chunks/chunk-QACZ6TUP.mjs +224 -0
- package/dist/js/chunks/chunk-QACZ6TUP.mjs.map +7 -0
- package/dist/js/chunks/{chunk-GJL6GCIU.mjs → chunk-QXKWVHBD.mjs} +265 -161
- package/dist/js/chunks/chunk-QXKWVHBD.mjs.map +7 -0
- package/dist/js/chunks/{chunk-X4ISMKE2.mjs → chunk-ROH2HDB4.mjs} +7 -6
- package/dist/js/chunks/chunk-ROH2HDB4.mjs.map +7 -0
- package/dist/js/chunks/chunk-S23RJ3XY.mjs +86 -0
- package/dist/js/chunks/chunk-S23RJ3XY.mjs.map +7 -0
- package/dist/js/chunks/{chunk-SMY7GJSS.mjs → chunk-SPPHF7YZ.mjs} +36 -29
- package/dist/js/chunks/chunk-SPPHF7YZ.mjs.map +7 -0
- package/dist/js/chunks/chunk-T3BNSRP3.mjs +152 -0
- package/dist/js/chunks/chunk-T3BNSRP3.mjs.map +7 -0
- package/dist/js/chunks/chunk-TFABTUAZ.mjs +108 -0
- package/dist/js/chunks/chunk-TFABTUAZ.mjs.map +7 -0
- package/dist/js/chunks/chunk-U4B3VHFS.mjs +507 -0
- package/dist/js/chunks/chunk-U4B3VHFS.mjs.map +7 -0
- package/dist/js/chunks/chunk-UGJHCHXG.mjs +341 -0
- package/dist/js/chunks/chunk-UGJHCHXG.mjs.map +7 -0
- package/dist/js/chunks/chunk-VFV75DHF.mjs +70 -0
- package/dist/js/chunks/chunk-VFV75DHF.mjs.map +7 -0
- package/dist/js/chunks/{chunk-ZX6M7SWO.mjs → chunk-VGY4M57S.mjs} +266 -120
- package/dist/js/chunks/chunk-VGY4M57S.mjs.map +7 -0
- package/dist/js/chunks/chunk-VH4BMAZS.mjs +167 -0
- package/dist/js/chunks/chunk-VH4BMAZS.mjs.map +7 -0
- package/dist/js/chunks/chunk-VJVQIXHC.mjs +123 -0
- package/dist/js/chunks/chunk-VJVQIXHC.mjs.map +7 -0
- package/dist/js/chunks/{chunk-SFI2U4YW.mjs → chunk-VMY55K2X.mjs} +76 -109
- package/dist/js/chunks/chunk-VMY55K2X.mjs.map +7 -0
- package/dist/js/chunks/{chunk-KUFHW3DS.mjs → chunk-VR3L2WN5.mjs} +11 -17
- package/dist/js/chunks/chunk-VR3L2WN5.mjs.map +7 -0
- package/dist/js/chunks/chunk-W6FAL3TI.mjs +38 -0
- package/dist/js/chunks/chunk-W6FAL3TI.mjs.map +7 -0
- package/dist/js/chunks/chunk-WU7XJ4RR.mjs +450 -0
- package/dist/js/chunks/chunk-WU7XJ4RR.mjs.map +7 -0
- package/dist/js/chunks/chunk-X7SDA2J5.mjs +116 -0
- package/dist/js/chunks/chunk-X7SDA2J5.mjs.map +7 -0
- package/dist/js/chunks/chunk-Y6H2X7ZC.mjs +209 -0
- package/dist/js/chunks/chunk-Y6H2X7ZC.mjs.map +7 -0
- package/dist/js/chunks/chunk-Y6TLRA3U.mjs +129 -0
- package/dist/js/chunks/chunk-Y6TLRA3U.mjs.map +7 -0
- package/dist/js/chunks/chunk-Z4GICXR2.mjs +190 -0
- package/dist/js/chunks/chunk-Z4GICXR2.mjs.map +7 -0
- package/dist/js/chunks/chunk-Z4OARDZ7.mjs +442 -0
- package/dist/js/chunks/chunk-Z4OARDZ7.mjs.map +7 -0
- package/dist/js/chunks/{chunk-FM5CZOUB.mjs → chunk-ZJNLAGY5.mjs} +19 -30
- package/dist/js/chunks/chunk-ZJNLAGY5.mjs.map +7 -0
- package/dist/js/chunks/chunk-ZKWUWBUB.mjs +81 -0
- package/dist/js/chunks/chunk-ZKWUWBUB.mjs.map +7 -0
- package/dist/js/chunks/chunk-ZM3XBHWV.mjs +746 -0
- package/dist/js/chunks/chunk-ZM3XBHWV.mjs.map +7 -0
- package/dist/js/chunks/chunk-ZO6ZLHFF.mjs +48 -0
- package/dist/js/chunks/chunk-ZO6ZLHFF.mjs.map +7 -0
- package/dist/js/chunks/chunk-ZVLOUDIJ.mjs +251 -0
- package/dist/js/chunks/chunk-ZVLOUDIJ.mjs.map +7 -0
- package/dist/js/expressive.cjs +10613 -4327
- package/dist/js/expressive.cjs.map +4 -4
- package/dist/js/expressive.js +10613 -4327
- package/dist/js/expressive.js.map +4 -4
- package/dist/js/expressive.min.js +23 -22
- package/dist/js/expressive.min.js.map +4 -4
- package/dist/js/expressive.mjs +182 -71
- package/dist/js/expressive.mjs.map +2 -2
- package/dist/js/internal/behaviors/bottomSheets.mjs +4 -3
- package/dist/js/internal/behaviors/copy.mjs +9 -0
- package/dist/js/internal/behaviors/copy.mjs.map +7 -0
- package/dist/js/internal/behaviors/dataTables.mjs +10 -0
- package/dist/js/internal/behaviors/dataTables.mjs.map +7 -0
- package/dist/js/internal/behaviors/dialogs.mjs +2 -2
- package/dist/js/internal/behaviors/forms.mjs +2 -2
- package/dist/js/internal/behaviors/imageCompare.mjs +8 -0
- package/dist/js/internal/behaviors/imageCompare.mjs.map +7 -0
- package/dist/js/internal/behaviors/lists.mjs +8 -0
- package/dist/js/internal/behaviors/lists.mjs.map +7 -0
- package/dist/js/internal/behaviors/paneResize.mjs +8 -0
- package/dist/js/internal/behaviors/paneResize.mjs.map +7 -0
- package/dist/js/internal/behaviors/sheetDrag.mjs +7 -2
- package/dist/js/internal/behaviors/sideSheets.mjs +4 -3
- package/dist/js/internal/behaviors/sortable.mjs +8 -0
- package/dist/js/internal/behaviors/sortable.mjs.map +7 -0
- package/dist/js/internal/behaviors/theme.mjs +8 -0
- package/dist/js/internal/behaviors/theme.mjs.map +7 -0
- package/dist/js/internal/behaviors/tour.mjs +8 -0
- package/dist/js/internal/behaviors/tour.mjs.map +7 -0
- package/dist/js/internal/behaviors/transferList.mjs +8 -0
- package/dist/js/internal/behaviors/transferList.mjs.map +7 -0
- package/dist/js/internal/components/appBar.mjs +3 -2
- package/dist/js/internal/components/autocomplete.mjs +4 -4
- package/dist/js/internal/components/backToTop.mjs +9 -0
- package/dist/js/internal/components/backToTop.mjs.map +7 -0
- package/dist/js/internal/components/barChart.mjs +5 -4
- package/dist/js/internal/components/buttonGroup.mjs +3 -2
- package/dist/js/internal/components/buttons.mjs +3 -3
- package/dist/js/internal/components/cards.mjs +3 -3
- package/dist/js/internal/components/carousel.mjs +3 -3
- package/dist/js/internal/components/cascader.mjs +10 -0
- package/dist/js/internal/components/cascader.mjs.map +7 -0
- package/dist/js/internal/components/characterCounter.mjs +3 -2
- package/dist/js/internal/components/chips.mjs +6 -5
- package/dist/js/internal/components/colorPicker.mjs +9 -0
- package/dist/js/internal/components/colorPicker.mjs.map +7 -0
- package/dist/js/internal/components/columnChart.mjs +4 -3
- package/dist/js/internal/components/commandPalette.mjs +3 -3
- package/dist/js/internal/components/confetti.mjs +3 -2
- package/dist/js/internal/components/currencyInput.mjs +9 -0
- package/dist/js/internal/components/currencyInput.mjs.map +7 -0
- package/dist/js/internal/components/datepicker.mjs +11 -8
- package/dist/js/internal/components/expandingCard.mjs +3 -3
- package/dist/js/internal/components/funnelChart.mjs +10 -0
- package/dist/js/internal/components/funnelChart.mjs.map +7 -0
- package/dist/js/internal/components/heatmapChart.mjs +4 -3
- package/dist/js/internal/components/hoverCard.mjs +9 -0
- package/dist/js/internal/components/hoverCard.mjs.map +7 -0
- package/dist/js/internal/components/index.mjs +131 -66
- package/dist/js/internal/components/inputMask.mjs +9 -0
- package/dist/js/internal/components/inputMask.mjs.map +7 -0
- package/dist/js/internal/components/keypad.mjs +3 -3
- package/dist/js/internal/components/lightbox.mjs +3 -3
- package/dist/js/internal/components/lineChart.mjs +25 -4
- package/dist/js/internal/components/loadingOverlay.mjs +9 -0
- package/dist/js/internal/components/loadingOverlay.mjs.map +7 -0
- package/dist/js/internal/components/mapView.mjs +3 -3
- package/dist/js/internal/components/menu.mjs +3 -3
- package/dist/js/internal/components/menubar.mjs +10 -0
- package/dist/js/internal/components/menubar.mjs.map +7 -0
- package/dist/js/internal/components/messageScroller.mjs +3 -3
- package/dist/js/internal/components/mixedChart.mjs +5 -4
- package/dist/js/internal/components/navigationRail.mjs +3 -2
- package/dist/js/internal/components/particles.mjs +3 -2
- package/dist/js/internal/components/pieChart.mjs +4 -3
- package/dist/js/internal/components/pullToRefresh.mjs +9 -0
- package/dist/js/internal/components/pullToRefresh.mjs.map +7 -0
- package/dist/js/internal/components/questionnaire.mjs +3 -3
- package/dist/js/internal/components/radarChart.mjs +4 -3
- package/dist/js/internal/components/radialChart.mjs +4 -3
- package/dist/js/internal/components/registry.mjs +59 -41
- package/dist/js/internal/components/richTextEditor.mjs +3 -3
- package/dist/js/internal/components/sankeyChart.mjs +10 -0
- package/dist/js/internal/components/sankeyChart.mjs.map +7 -0
- package/dist/js/internal/components/scatterChart.mjs +10 -0
- package/dist/js/internal/components/scatterChart.mjs.map +7 -0
- package/dist/js/internal/components/scrollspy.mjs +3 -2
- package/dist/js/internal/components/select.mjs +4 -4
- package/dist/js/internal/components/showMore.mjs +9 -0
- package/dist/js/internal/components/showMore.mjs.map +7 -0
- package/dist/js/internal/components/slider.mjs +3 -3
- package/dist/js/internal/components/snackbar.mjs +2 -2
- package/dist/js/internal/components/swipeActions.mjs +9 -0
- package/dist/js/internal/components/swipeActions.mjs.map +7 -0
- package/dist/js/internal/components/tabs.mjs +3 -4
- package/dist/js/internal/components/timepicker.mjs +5 -4
- package/dist/js/internal/components/tooltip.mjs +3 -3
- package/dist/js/internal/components/treeSelect.mjs +13 -0
- package/dist/js/internal/components/treeSelect.mjs.map +7 -0
- package/dist/js/internal/components/treemapChart.mjs +10 -0
- package/dist/js/internal/components/treemapChart.mjs.map +7 -0
- package/dist/js/internal/core/component.mjs +2 -1
- package/dist/js/internal/core/formControl.mjs +12 -0
- package/dist/js/internal/core/formControl.mjs.map +7 -0
- package/dist/js/internal/core/spring.mjs +11 -0
- package/dist/js/internal/core/spring.mjs.map +7 -0
- package/dist/js/internal/core/utils.mjs +11 -3
- package/dist/js/internal/plugins/dockedDisplayPlugin.mjs +2 -2
- package/dist/js/internal/plugins/modalDisplayPlugin.mjs +13 -0
- package/dist/js/internal/plugins/modalDisplayPlugin.mjs.map +7 -0
- package/dist/js/modular.mjs +173 -71
- package/dist/types/behaviors/bottomSheets.d.ts +19 -3
- package/dist/types/behaviors/copy.d.ts +18 -0
- package/dist/types/behaviors/dataTables.d.ts +129 -0
- package/dist/types/behaviors/dialogs.d.ts +27 -1
- package/dist/types/behaviors/forms.d.ts +68 -2
- package/dist/types/behaviors/imageCompare.d.ts +12 -0
- package/dist/types/behaviors/lists.d.ts +12 -0
- package/dist/types/behaviors/paneResize.d.ts +29 -0
- package/dist/types/behaviors/sheetDrag.d.ts +18 -0
- package/dist/types/behaviors/sideSheets.d.ts +1 -1
- package/dist/types/behaviors/sortable.d.ts +28 -0
- package/dist/types/behaviors/theme.d.ts +22 -0
- package/dist/types/behaviors/tour.d.ts +36 -0
- package/dist/types/behaviors/transferList.d.ts +51 -0
- package/dist/types/components/appBar.d.ts +5 -6
- package/dist/types/components/autocomplete.d.ts +91 -17
- package/dist/types/components/backToTop.d.ts +36 -0
- package/dist/types/components/barChart.d.ts +3 -6
- package/dist/types/components/buttonGroup.d.ts +2 -4
- package/dist/types/components/buttons.d.ts +5 -5
- package/dist/types/components/cards.d.ts +3 -16
- package/dist/types/components/carousel.d.ts +9 -15
- package/dist/types/components/cascader.d.ts +130 -0
- package/dist/types/components/characterCounter.d.ts +2 -15
- package/dist/types/components/chips.d.ts +65 -19
- package/dist/types/components/colorPicker.d.ts +42 -0
- package/dist/types/components/columnChart.d.ts +23 -10
- package/dist/types/components/commandPalette.d.ts +11 -16
- package/dist/types/components/confetti.d.ts +2 -4
- package/dist/types/components/currencyInput.d.ts +59 -0
- package/dist/types/components/datepicker.d.ts +56 -32
- package/dist/types/components/expandingCard.d.ts +4 -6
- package/dist/types/components/funnelChart.d.ts +38 -0
- package/dist/types/components/heatmapChart.d.ts +39 -8
- package/dist/types/components/hoverCard.d.ts +58 -0
- package/dist/types/components/index.d.ts +16 -1
- package/dist/types/components/inputMask.d.ts +30 -0
- package/dist/types/components/keypad.d.ts +38 -6
- package/dist/types/components/lightbox.d.ts +14 -20
- package/dist/types/components/lineChart.d.ts +172 -10
- package/dist/types/components/loadingOverlay.d.ts +42 -0
- package/dist/types/components/mapView.d.ts +26 -17
- package/dist/types/components/menu.d.ts +60 -22
- package/dist/types/components/menubar.d.ts +37 -0
- package/dist/types/components/messageScroller.d.ts +2 -14
- package/dist/types/components/mixedChart.d.ts +15 -6
- package/dist/types/components/navigationRail.d.ts +16 -5
- package/dist/types/components/particles.d.ts +8 -4
- package/dist/types/components/pieChart.d.ts +32 -7
- package/dist/types/components/pullToRefresh.d.ts +80 -0
- package/dist/types/components/questionnaire.d.ts +58 -16
- package/dist/types/components/radarChart.d.ts +10 -6
- package/dist/types/components/radialChart.d.ts +58 -7
- package/dist/types/components/registry.d.ts +73 -3
- package/dist/types/components/richTextEditor.d.ts +6 -14
- package/dist/types/components/sankeyChart.d.ts +72 -0
- package/dist/types/components/scatterChart.d.ts +102 -0
- package/dist/types/components/scrollspy.d.ts +3 -5
- package/dist/types/components/select.d.ts +43 -30
- package/dist/types/components/showMore.d.ts +51 -0
- package/dist/types/components/slider.d.ts +3 -15
- package/dist/types/components/snackbar.d.ts +61 -0
- package/dist/types/components/swipeActions.d.ts +81 -0
- package/dist/types/components/tabs.d.ts +89 -27
- package/dist/types/components/timepicker.d.ts +113 -21
- package/dist/types/components/tooltip.d.ts +56 -20
- package/dist/types/components/treeSelect.d.ts +106 -0
- package/dist/types/components/treemapChart.d.ts +56 -0
- package/dist/types/core/component.d.ts +43 -25
- package/dist/types/core/formControl.d.ts +21 -0
- package/dist/types/core/spring.d.ts +20 -0
- package/dist/types/core/utils.d.ts +85 -72
- package/dist/types/modular.d.ts +33 -1
- package/dist/types/plugins/dockedDisplayPlugin.d.ts +10 -8
- package/dist/types/plugins/modalDisplayPlugin.d.ts +32 -0
- package/package.json +10 -8
- package/src/sass/README.md +27 -18
- package/src/sass/abstracts/_elevation.scss +13 -7
- package/src/sass/abstracts/_index.scss +1 -0
- package/src/sass/abstracts/_mixins.scss +422 -36
- package/src/sass/abstracts/_spring.scss +63 -0
- package/src/sass/abstracts/_variables.scss +39 -21
- package/src/sass/base/_fonts.scss +61 -48
- package/src/sass/base/_global.scss +104 -24
- package/src/sass/base/_index.scss +2 -0
- package/src/sass/base/_normalize.scss +59 -114
- package/src/sass/base/_print.scss +21 -0
- package/src/sass/base/_prose.scss +68 -0
- package/src/sass/base/_typography.scss +9 -5
- package/src/sass/components/_accordion.scss +9 -16
- package/src/sass/components/_alert.scss +102 -0
- package/src/sass/components/_aura.scss +8 -3
- package/src/sass/components/_avatar.scss +3 -3
- package/src/sass/components/_back-to-top.scss +38 -0
- package/src/sass/components/_badges.scss +6 -5
- package/src/sass/components/_bar-chart.scss +41 -19
- package/src/sass/components/_bottom-sheet.scss +44 -16
- package/src/sass/components/_breadcrumb.scss +8 -1
- package/src/sass/components/_button-groups.scss +15 -25
- package/src/sass/components/_buttons.scss +156 -63
- package/src/sass/components/_calendar.scss +246 -0
- package/src/sass/components/_cards.scss +36 -44
- package/src/sass/components/_carousel.scss +27 -103
- package/src/sass/components/_cascader.scss +142 -0
- package/src/sass/components/_chips.scss +36 -46
- package/src/sass/components/_column-chart.scss +19 -12
- package/src/sass/components/_command-palette.scss +4 -7
- package/src/sass/components/_confetti.scss +0 -2
- package/src/sass/components/_countdown.scss +1 -1
- package/src/sass/components/_data-table.scss +162 -25
- package/src/sass/components/_datepicker.scss +54 -40
- package/src/sass/components/_description-list.scss +85 -0
- package/src/sass/components/_dialog.scss +42 -41
- package/src/sass/components/_docked-display.scss +1 -3
- package/src/sass/components/_drag-handle.scss +16 -20
- package/src/sass/components/_expanding-card.scss +20 -9
- package/src/sass/components/_fab-menu.scss +44 -32
- package/src/sass/components/_funnel-chart.scss +124 -0
- package/src/sass/components/_heatmap-chart.scss +111 -22
- package/src/sass/components/_icon-buttons.scss +7 -7
- package/src/sass/components/_icons-material-design.scss +2 -2
- package/src/sass/components/_image-compare.scss +108 -0
- package/src/sass/components/_index.scss +20 -0
- package/src/sass/components/_keypad.scss +39 -19
- package/src/sass/components/_kpi.scss +6 -11
- package/src/sass/components/_lightbox.scss +24 -13
- package/src/sass/components/_line-chart.scss +16 -2
- package/src/sass/components/_list.scss +59 -14
- package/src/sass/components/_loading-indicator.scss +1 -0
- package/src/sass/components/_loading-overlay.scss +105 -0
- package/src/sass/components/_map.scss +33 -11
- package/src/sass/components/_marquee.scss +3 -2
- package/src/sass/components/_mega-menu.scss +137 -0
- package/src/sass/components/_menu.scss +143 -123
- package/src/sass/components/_menubar.scss +59 -0
- package/src/sass/components/_message-scroller.scss +2 -2
- package/src/sass/components/_message.scss +3 -3
- package/src/sass/components/_mixed-chart.scss +37 -9
- package/src/sass/components/_modal-display.scss +21 -0
- package/src/sass/components/_navbar.scss +34 -20
- package/src/sass/components/_navigation-bar.scss +15 -77
- package/src/sass/components/_navigation-rail.scss +151 -92
- package/src/sass/components/_org-chart.scss +192 -0
- package/src/sass/components/_page-footer.scss +1 -1
- package/src/sass/components/_pagination.scss +6 -13
- package/src/sass/components/_panes.scss +32 -26
- package/src/sass/components/_particles.scss +0 -2
- package/src/sass/components/_pie-chart.scss +91 -11
- package/src/sass/components/_popover.scss +18 -5
- package/src/sass/components/_progress.scss +152 -31
- package/src/sass/components/_pull-to-refresh.scss +90 -0
- package/src/sass/components/_questionnaire.scss +74 -3
- package/src/sass/components/_radar-chart.scss +38 -10
- package/src/sass/components/_radial-chart.scss +113 -5
- package/src/sass/components/_rich-text-editor.scss +2 -2
- package/src/sass/components/_sankey-chart.scss +114 -0
- package/src/sass/components/_scatter-chart.scss +153 -0
- package/src/sass/components/_scrim.scss +0 -2
- package/src/sass/components/_scrollspy.scss +0 -2
- package/src/sass/components/_search.scss +26 -22
- package/src/sass/components/_show-more.scss +8 -0
- package/src/sass/components/_side-sheet.scss +23 -37
- package/src/sass/components/_skeleton.scss +2 -4
- package/src/sass/components/_snackbar.scss +27 -21
- package/src/sass/components/_split-button.scss +5 -5
- package/src/sass/components/_stat.scss +3 -8
- package/src/sass/components/_stepper.scss +1 -1
- package/src/sass/components/_swipe-actions.scss +71 -0
- package/src/sass/components/_tabs.scss +51 -32
- package/src/sass/components/_timeline.scss +12 -12
- package/src/sass/components/_timepicker.scss +109 -78
- package/src/sass/components/_toolbar.scss +35 -43
- package/src/sass/components/_tooltip.scss +21 -12
- package/src/sass/components/_tour.scss +89 -0
- package/src/sass/components/_transfer-list.scss +73 -0
- package/src/sass/components/_transitions.scss +4 -4
- package/src/sass/components/_tree.scss +3 -16
- package/src/sass/components/_treemap-chart.scss +122 -0
- package/src/sass/components/forms/_checkboxes.scss +106 -24
- package/src/sass/components/forms/_color-picker.scss +135 -0
- package/src/sass/components/forms/_color-swatches.scss +85 -0
- package/src/sass/components/forms/_drop-zone.scss +15 -9
- package/src/sass/components/forms/_fieldset.scss +7 -7
- package/src/sass/components/forms/_file-input.scss +6 -8
- package/src/sass/components/forms/_index.scss +3 -1
- package/src/sass/components/forms/_input-fields.scss +254 -90
- package/src/sass/components/forms/_radio-buttons.scss +33 -94
- package/src/sass/components/forms/_rating.scss +2 -32
- package/src/sass/components/forms/_select.scss +199 -20
- package/src/sass/components/forms/_slider.scss +91 -94
- package/src/sass/components/forms/_switches.scss +53 -164
- package/src/sass/custom.scss +10 -1
- package/src/sass/expressive.scss +3 -63
- package/src/sass/tokens/_contrast.scss +94 -0
- package/src/sass/tokens/_elevation.scss +16 -0
- package/src/sass/tokens/_index.scss +5 -0
- package/src/sass/tokens/_motion.scss +109 -0
- package/src/sass/tokens/_reference.scss +72 -141
- package/src/sass/tokens/_shape.scss +38 -0
- package/src/sass/tokens/_stacking.scss +27 -0
- package/src/sass/tokens/_state.scss +0 -2
- package/src/sass/tokens/_theme.scss +10 -1
- package/src/sass/tokens/_vibrant.scss +2 -5
- package/src/sass/utilities/_defer-render.scss +17 -0
- package/src/sass/utilities/_helpers.scss +183 -26
- package/src/sass/utilities/_index.scss +1 -0
- package/src/sass/utilities/_scroll-area.scss +0 -2
- package/src/sass/utilities/_spacing.scss +52 -34
- package/src/sass/utilities/_typescale.scss +8 -1
- package/src/sass/utilities/_visibility.scss +47 -76
- package/src/sass/utilities/_z-depth.scss +7 -4
- package/dist/js/chunks/chunk-33QVDDGR.mjs +0 -270
- package/dist/js/chunks/chunk-33QVDDGR.mjs.map +0 -7
- package/dist/js/chunks/chunk-45FER6RI.mjs +0 -59
- package/dist/js/chunks/chunk-45FER6RI.mjs.map +0 -7
- package/dist/js/chunks/chunk-5CEAOLUA.mjs.map +0 -7
- package/dist/js/chunks/chunk-6VATUZC6.mjs +0 -295
- package/dist/js/chunks/chunk-6VATUZC6.mjs.map +0 -7
- package/dist/js/chunks/chunk-74MXKKLN.mjs.map +0 -7
- package/dist/js/chunks/chunk-AIURVCG6.mjs +0 -55
- package/dist/js/chunks/chunk-AIURVCG6.mjs.map +0 -7
- package/dist/js/chunks/chunk-BGZLF6JZ.mjs.map +0 -7
- package/dist/js/chunks/chunk-C6CHEWYP.mjs.map +0 -7
- package/dist/js/chunks/chunk-CK2XCICY.mjs.map +0 -7
- package/dist/js/chunks/chunk-CXXM2L4F.mjs +0 -344
- package/dist/js/chunks/chunk-CXXM2L4F.mjs.map +0 -7
- package/dist/js/chunks/chunk-DXGRXYYL.mjs.map +0 -7
- package/dist/js/chunks/chunk-FM5CZOUB.mjs.map +0 -7
- package/dist/js/chunks/chunk-GJL6GCIU.mjs.map +0 -7
- package/dist/js/chunks/chunk-K3HZMFMD.mjs +0 -135
- package/dist/js/chunks/chunk-K3HZMFMD.mjs.map +0 -7
- package/dist/js/chunks/chunk-KHXZ2A4K.mjs.map +0 -7
- package/dist/js/chunks/chunk-KQACNQ22.mjs +0 -7
- package/dist/js/chunks/chunk-KQACNQ22.mjs.map +0 -7
- package/dist/js/chunks/chunk-KUFHW3DS.mjs.map +0 -7
- package/dist/js/chunks/chunk-KVJAVDBC.mjs.map +0 -7
- package/dist/js/chunks/chunk-L27Q6ZMI.mjs.map +0 -7
- package/dist/js/chunks/chunk-LQWUDNHZ.mjs.map +0 -7
- package/dist/js/chunks/chunk-M372EDXD.mjs +0 -322
- package/dist/js/chunks/chunk-M372EDXD.mjs.map +0 -7
- package/dist/js/chunks/chunk-M3MURWMB.mjs +0 -82
- package/dist/js/chunks/chunk-M3MURWMB.mjs.map +0 -7
- package/dist/js/chunks/chunk-NUHMOAOY.mjs.map +0 -7
- package/dist/js/chunks/chunk-OWG3LMUL.mjs +0 -169
- package/dist/js/chunks/chunk-OWG3LMUL.mjs.map +0 -7
- package/dist/js/chunks/chunk-PD6HYHAE.mjs +0 -48
- package/dist/js/chunks/chunk-PD6HYHAE.mjs.map +0 -7
- package/dist/js/chunks/chunk-PDG64UHF.mjs.map +0 -7
- package/dist/js/chunks/chunk-PO3AXVR3.mjs +0 -546
- package/dist/js/chunks/chunk-PO3AXVR3.mjs.map +0 -7
- package/dist/js/chunks/chunk-QYGK36OG.mjs +0 -181
- package/dist/js/chunks/chunk-QYGK36OG.mjs.map +0 -7
- package/dist/js/chunks/chunk-SFI2U4YW.mjs.map +0 -7
- package/dist/js/chunks/chunk-SMY7GJSS.mjs.map +0 -7
- package/dist/js/chunks/chunk-TCCA2HDG.mjs +0 -414
- package/dist/js/chunks/chunk-TCCA2HDG.mjs.map +0 -7
- package/dist/js/chunks/chunk-TSZYSW7F.mjs.map +0 -7
- package/dist/js/chunks/chunk-UAZSDUVP.mjs.map +0 -7
- package/dist/js/chunks/chunk-UBRZZWRA.mjs +0 -127
- package/dist/js/chunks/chunk-UBRZZWRA.mjs.map +0 -7
- package/dist/js/chunks/chunk-UCOE7ZDL.mjs +0 -287
- package/dist/js/chunks/chunk-UCOE7ZDL.mjs.map +0 -7
- package/dist/js/chunks/chunk-UETTGDLI.mjs.map +0 -7
- package/dist/js/chunks/chunk-UNCRDLP6.mjs +0 -136
- package/dist/js/chunks/chunk-UNCRDLP6.mjs.map +0 -7
- package/dist/js/chunks/chunk-VGNYF6FB.mjs.map +0 -7
- package/dist/js/chunks/chunk-VGPGBNGL.mjs +0 -68
- package/dist/js/chunks/chunk-VGPGBNGL.mjs.map +0 -7
- package/dist/js/chunks/chunk-VKAUVTQY.mjs +0 -1
- package/dist/js/chunks/chunk-VM4FTS7L.mjs +0 -48
- package/dist/js/chunks/chunk-VM4FTS7L.mjs.map +0 -7
- package/dist/js/chunks/chunk-WDK4T63U.mjs.map +0 -7
- package/dist/js/chunks/chunk-WOCCTVUF.mjs +0 -185
- package/dist/js/chunks/chunk-WOCCTVUF.mjs.map +0 -7
- package/dist/js/chunks/chunk-WQYN5L4E.mjs +0 -107
- package/dist/js/chunks/chunk-WQYN5L4E.mjs.map +0 -7
- package/dist/js/chunks/chunk-X4ISMKE2.mjs.map +0 -7
- package/dist/js/chunks/chunk-XAEAEHIX.mjs.map +0 -7
- package/dist/js/chunks/chunk-ZX6M7SWO.mjs.map +0 -7
- /package/dist/js/chunks/{chunk-VKAUVTQY.mjs.map → chunk-GNRSYMVH.mjs.map} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
//
|
|
5
5
|
// Anatomy is the HTML. A <label> wrapping <input type="radio"> is the
|
|
6
6
|
// control. The label text is a sibling of the input — no extra class, no
|
|
7
|
-
// required <span>.
|
|
7
|
+
// required <span>.
|
|
8
8
|
//
|
|
9
9
|
// Tokens follow https://m3.material.io/components/radio-button/specs
|
|
10
10
|
// icon 20dp ring, 2dp stroke, on-surface-variant
|
|
@@ -25,15 +25,7 @@ label:has(> [type="radio"]),
|
|
|
25
25
|
--md-comp-radio-button-icon-size: 20px;
|
|
26
26
|
--md-comp-radio-button-state-layer-size: 40px;
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
align-items: center;
|
|
30
|
-
gap: 12px;
|
|
31
|
-
min-height: 48px;
|
|
32
|
-
margin: 0;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
user-select: none;
|
|
35
|
-
color: var(--md-sys-color-on-surface);
|
|
36
|
-
@include typescale("body-large");
|
|
28
|
+
@include selection-control-label;
|
|
37
29
|
}
|
|
38
30
|
|
|
39
31
|
// A row of radios is a group of controls, not navigation - see rule 4 in
|
|
@@ -51,9 +43,7 @@ label:has(> [type="radio"]),
|
|
|
51
43
|
display: inline-flex;
|
|
52
44
|
}
|
|
53
45
|
|
|
54
|
-
// Paint the radio on the input.
|
|
55
|
-
// control and draws the same anatomy. Nested :has() is invalid, so
|
|
56
|
-
// do not write :has(:not(:has(+ span))).
|
|
46
|
+
// Paint the radio on the input.
|
|
57
47
|
label:has(> [type="radio"]) > [type="radio"],
|
|
58
48
|
.radio > [type="radio"] {
|
|
59
49
|
appearance: none;
|
|
@@ -67,7 +57,7 @@ label:has(> [type="radio"]) > [type="radio"],
|
|
|
67
57
|
border-radius: 50%;
|
|
68
58
|
background-color: transparent;
|
|
69
59
|
cursor: pointer;
|
|
70
|
-
transition: border-color
|
|
60
|
+
transition: border-color var(--md-sys-motion-duration-short4) ease, background-color var(--md-sys-motion-duration-short4) ease, box-shadow var(--md-sys-motion-duration-short4) ease;
|
|
71
61
|
|
|
72
62
|
&:checked {
|
|
73
63
|
border-color: var(--md-sys-color-primary);
|
|
@@ -86,8 +76,7 @@ label:has(> [type="radio"]) > [type="radio"],
|
|
|
86
76
|
@include _ring(var(--md-sys-color-primary), "hover");
|
|
87
77
|
}
|
|
88
78
|
|
|
89
|
-
&:focus-visible
|
|
90
|
-
&.tabbed:focus {
|
|
79
|
+
&:focus-visible {
|
|
91
80
|
@include _ring(var(--md-sys-color-primary), "focus");
|
|
92
81
|
outline: none;
|
|
93
82
|
}
|
|
@@ -106,17 +95,6 @@ label:has(> [type="radio"]) > [type="radio"],
|
|
|
106
95
|
transparent 5.5px
|
|
107
96
|
);
|
|
108
97
|
}
|
|
109
|
-
|
|
110
|
-
&:has(+ span) {
|
|
111
|
-
position: absolute;
|
|
112
|
-
opacity: 0;
|
|
113
|
-
width: 0;
|
|
114
|
-
height: 0;
|
|
115
|
-
border: 0;
|
|
116
|
-
background: none;
|
|
117
|
-
box-shadow: none;
|
|
118
|
-
pointer-events: none;
|
|
119
|
-
}
|
|
120
98
|
}
|
|
121
99
|
|
|
122
100
|
label:has(> [type="radio"]:disabled),
|
|
@@ -125,72 +103,33 @@ label:has(> [type="radio"]:disabled),
|
|
|
125
103
|
cursor: default;
|
|
126
104
|
}
|
|
127
105
|
|
|
128
|
-
//
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
[type="radio"] + span::before {
|
|
153
|
-
border: 2px solid var(--md-sys-color-on-surface-variant);
|
|
154
|
-
transition: border-color .2s ease, box-shadow .2s ease;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
[type="radio"] + span::after {
|
|
158
|
-
background-color: var(--md-sys-color-primary);
|
|
159
|
-
transform: scale(0);
|
|
160
|
-
transition: transform .2s ease;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
[type="radio"]:checked + span::before {
|
|
164
|
-
border-color: var(--md-sys-color-primary);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
[type="radio"]:checked + span::after {
|
|
168
|
-
transform: scale(0.5);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
[type="radio"]:hover + span::before {
|
|
172
|
-
@include _ring(var(--md-sys-color-on-surface), "hover");
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
[type="radio"]:checked:hover + span::before {
|
|
176
|
-
@include _ring(var(--md-sys-color-primary), "hover");
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
[type="radio"]:focus-visible + span::before,
|
|
180
|
-
[type="radio"].tabbed:focus + span::before {
|
|
181
|
-
@include _ring(var(--md-sys-color-primary), "focus");
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
[type="radio"]:disabled + span {
|
|
185
|
-
color: color-mix(in oklab, var(--md-sys-color-on-surface) 38%, transparent);
|
|
186
|
-
cursor: default;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
[type="radio"]:disabled + span::before {
|
|
190
|
-
border-color: color-mix(in oklab, var(--md-sys-color-on-surface) 38%, transparent);
|
|
191
|
-
box-shadow: none;
|
|
192
|
-
}
|
|
106
|
+
// Forced colors drop the gradient dot and the box-shadow focus ring.
|
|
107
|
+
@media (forced-colors: active) {
|
|
108
|
+
label:has(> [type="radio"]) > [type="radio"],
|
|
109
|
+
.radio > [type="radio"] {
|
|
110
|
+
&:focus-visible {
|
|
111
|
+
outline: 2px solid CanvasText;
|
|
112
|
+
outline-offset: 2px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:checked {
|
|
116
|
+
forced-color-adjust: none;
|
|
117
|
+
border-color: Highlight;
|
|
118
|
+
background-image: radial-gradient(circle at center, Highlight 0 5px, transparent 5.5px);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:disabled {
|
|
122
|
+
border-color: GrayText;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&:disabled:checked {
|
|
126
|
+
background-image: radial-gradient(circle at center, GrayText 0 5px, transparent 5.5px);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
193
129
|
|
|
194
|
-
|
|
195
|
-
|
|
130
|
+
// Forced colors repaint the dimmed label as CanvasText, like an enabled one.
|
|
131
|
+
label:has(> [type="radio"]:disabled),
|
|
132
|
+
.radio:has([type="radio"]:disabled) {
|
|
133
|
+
color: GrayText;
|
|
134
|
+
}
|
|
196
135
|
}
|
|
@@ -31,37 +31,7 @@ $_rating-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
fieldset.rating {
|
|
34
|
-
|
|
35
|
-
flex-wrap: wrap;
|
|
36
|
-
align-items: center;
|
|
37
|
-
margin: 0;
|
|
38
|
-
padding: 0;
|
|
39
|
-
border: 0;
|
|
40
|
-
|
|
41
|
-
> legend {
|
|
42
|
-
margin-block-end: 4px;
|
|
43
|
-
padding: 0;
|
|
44
|
-
color: var(--md-sys-color-on-surface-variant);
|
|
45
|
-
@include typescale("body-medium");
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
> label {
|
|
49
|
-
display: inline-flex;
|
|
50
|
-
gap: 0;
|
|
51
|
-
min-height: 0;
|
|
52
|
-
padding: 4px;
|
|
53
|
-
border-radius: 50%;
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
|
|
56
|
-
&:has(> input:focus-visible) {
|
|
57
|
-
@include focus-ring;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:has(> input:disabled) {
|
|
61
|
-
opacity: 0.38;
|
|
62
|
-
cursor: default;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
34
|
+
@include choice-fieldset(50%, "input");
|
|
65
35
|
|
|
66
36
|
> label > [type="radio"] {
|
|
67
37
|
flex: none;
|
|
@@ -74,7 +44,7 @@ fieldset.rating {
|
|
|
74
44
|
box-shadow: none;
|
|
75
45
|
mask: $_rating-star center / 100% no-repeat;
|
|
76
46
|
outline: 0;
|
|
77
|
-
transition: background-color
|
|
47
|
+
transition: background-color var(--md-sys-motion-duration-short3) ease-out;
|
|
78
48
|
|
|
79
49
|
// The base radio draws its dot in :checked, :hover and the disabled
|
|
80
50
|
// states, some at a higher weight; the star mask would show it.
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
// selected item tertiary-container + trailing check
|
|
16
16
|
// optgroup on-surface-variant, outline-variant rule
|
|
17
17
|
//
|
|
18
|
-
$_select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
|
|
19
18
|
$_select-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
|
|
20
19
|
|
|
21
20
|
// Native / no-js / .browser-default: a 56dp field, not a 3rem box.
|
|
@@ -26,7 +25,7 @@ select {
|
|
|
26
25
|
|
|
27
26
|
box-sizing: border-box;
|
|
28
27
|
width: 100%;
|
|
29
|
-
height: 56px;
|
|
28
|
+
height: rem(56px);
|
|
30
29
|
margin: 0;
|
|
31
30
|
padding: 16px 12px;
|
|
32
31
|
border: 1px solid var(--md-sys-color-outline);
|
|
@@ -72,27 +71,26 @@ select.browser-default {
|
|
|
72
71
|
// open list read as one shape.
|
|
73
72
|
--md-comp-filled-select-container-shape: 1rem;
|
|
74
73
|
--md-comp-menu-container-shape: 1rem;
|
|
75
|
-
--md-comp-filled-select-trailing-icon-size: 24px;
|
|
74
|
+
--md-comp-filled-select-trailing-icon-size: #{rem(24px)};
|
|
76
75
|
--md-comp-filled-select-trailing-icon-color: var(--md-sys-color-on-surface-variant);
|
|
77
|
-
--md-comp-menu-item-leading-image-size: 40px;
|
|
76
|
+
--md-comp-menu-item-leading-image-size: #{rem(40px)};
|
|
78
77
|
|
|
79
78
|
position: relative;
|
|
80
79
|
border-radius: var(--md-comp-filled-select-container-shape);
|
|
81
80
|
|
|
82
81
|
> input.menu-trigger {
|
|
83
82
|
border-radius: inherit;
|
|
84
|
-
padding-inline-end:
|
|
83
|
+
padding-inline-end: calc(28px + #{rem(24px)});
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
// Trailing expand icon. Empty .caret is the hook; the glyph is a mask.
|
|
88
|
-
// `
|
|
89
|
-
// matches again —
|
|
90
|
-
// and pin the chevron over the value.
|
|
87
|
+
// `inset-inline-start: auto` beats `.field > span { inset-inline-start:
|
|
88
|
+
// 16px }` if that rule ever matches again — a start inset + width would
|
|
89
|
+
// otherwise ignore inset-inline-end and pin the chevron over the value.
|
|
91
90
|
.caret {
|
|
92
91
|
position: absolute;
|
|
93
|
-
inset-block-start: 16px;
|
|
92
|
+
inset-block-start: rem(16px);
|
|
94
93
|
inset-inline-start: auto;
|
|
95
|
-
left: auto;
|
|
96
94
|
inset-inline-end: 12px;
|
|
97
95
|
z-index: 1;
|
|
98
96
|
width: var(--md-comp-filled-select-trailing-icon-size);
|
|
@@ -100,8 +98,9 @@ select.browser-default {
|
|
|
100
98
|
margin: 0;
|
|
101
99
|
pointer-events: none;
|
|
102
100
|
background-color: var(--md-comp-filled-select-trailing-icon-color);
|
|
103
|
-
mask: $
|
|
104
|
-
|
|
101
|
+
mask: $caret-down center / 100% no-repeat;
|
|
102
|
+
@include forced-colors-fill;
|
|
103
|
+
transition: transform var(--md-sys-motion-duration-short4) ease;
|
|
105
104
|
}
|
|
106
105
|
|
|
107
106
|
&:has(> input[aria-expanded="true"]) .caret,
|
|
@@ -144,15 +143,15 @@ select.browser-default {
|
|
|
144
143
|
transform: none;
|
|
145
144
|
margin: 0;
|
|
146
145
|
padding: 8px 16px 0;
|
|
147
|
-
padding-inline-end:
|
|
146
|
+
padding-inline-end: calc(28px + #{rem(24px)});
|
|
148
147
|
overflow-wrap: anywhere;
|
|
149
148
|
pointer-events: auto;
|
|
150
149
|
@include typescale("body-small");
|
|
151
150
|
line-height: normal;
|
|
152
151
|
}
|
|
153
152
|
|
|
154
|
-
&:has(>
|
|
155
|
-
padding-
|
|
153
|
+
&:has(> .prefix) > label {
|
|
154
|
+
padding-inline-start: calc(28px + #{rem(24px)});
|
|
156
155
|
}
|
|
157
156
|
|
|
158
157
|
&.disabled > label {
|
|
@@ -164,6 +163,8 @@ select.browser-default {
|
|
|
164
163
|
height: auto;
|
|
165
164
|
min-height: calc(var(--md-sys-typescale-body-large-line-height) + 8px);
|
|
166
165
|
padding-block: 0 7px;
|
|
166
|
+
// Narrower than its value at large text sizes; the menu shows it whole.
|
|
167
|
+
text-overflow: ellipsis;
|
|
167
168
|
border-start-start-radius: 0;
|
|
168
169
|
border-start-end-radius: 0;
|
|
169
170
|
}
|
|
@@ -199,19 +200,20 @@ menu[role="listbox"] > li:not(.optgroup, .divider) {
|
|
|
199
200
|
menu[role="listbox"] > li.selected:not(.disabled, .optgroup) {
|
|
200
201
|
background-color: var(--md-comp-menu-item-selected-container-color, var(--md-sys-color-tertiary-container));
|
|
201
202
|
color: var(--md-comp-menu-item-selected-label-text-color, var(--md-sys-color-on-tertiary-container));
|
|
202
|
-
border-radius: var(--md-comp-menu-item-selected-container-shape,
|
|
203
|
+
border-radius: var(--md-comp-menu-item-selected-container-shape, var(--md-sys-shape-corner-medium));
|
|
203
204
|
}
|
|
204
205
|
|
|
205
206
|
// Single-select: trailing check. Multi-select already has a leading checkbox.
|
|
206
207
|
menu[role="listbox"]:not(.multiple-select-menu) > li.selected:not(.disabled, .optgroup)::after {
|
|
207
208
|
content: "";
|
|
208
209
|
flex: 0 0 20px;
|
|
209
|
-
width: 20px;
|
|
210
|
-
height: 20px;
|
|
210
|
+
width: rem(20px);
|
|
211
|
+
height: rem(20px);
|
|
211
212
|
margin-inline-start: auto;
|
|
212
213
|
margin-inline-end: 8px;
|
|
213
214
|
background-color: var(--md-comp-menu-item-selected-leading-icon-color, var(--md-sys-color-on-tertiary-container));
|
|
214
|
-
mask: $_select-check center /
|
|
215
|
+
mask: $_select-check center / 100% no-repeat;
|
|
216
|
+
@include forced-colors-fill;
|
|
215
217
|
}
|
|
216
218
|
|
|
217
219
|
menu[role="listbox"] li img {
|
|
@@ -221,7 +223,7 @@ menu[role="listbox"] li img {
|
|
|
221
223
|
height: var(--md-comp-menu-item-leading-image-size);
|
|
222
224
|
margin: 4px 12px;
|
|
223
225
|
object-fit: cover;
|
|
224
|
-
border-radius:
|
|
226
|
+
border-radius: var(--md-sys-shape-corner-extra-small);
|
|
225
227
|
order: 1;
|
|
226
228
|
margin-inline-start: auto;
|
|
227
229
|
|
|
@@ -249,8 +251,185 @@ menu[role="listbox"] li.optgroup-option {
|
|
|
249
251
|
padding-inline-start: 1rem;
|
|
250
252
|
}
|
|
251
253
|
|
|
254
|
+
.select-search-popup {
|
|
255
|
+
position: absolute;
|
|
256
|
+
inset: auto;
|
|
257
|
+
margin: 0;
|
|
258
|
+
padding: 8px;
|
|
259
|
+
max-height: min(24rem, calc(100dvh - 2rem));
|
|
260
|
+
overflow: hidden;
|
|
261
|
+
border-radius: var(--md-sys-shape-corner-large);
|
|
262
|
+
background: var(--md-sys-color-surface-container-low);
|
|
263
|
+
color: var(--md-sys-color-on-surface);
|
|
264
|
+
@include z-depth("2");
|
|
265
|
+
|
|
266
|
+
&:popover-open { display: flex; flex-direction: column; }
|
|
267
|
+
|
|
268
|
+
> input {
|
|
269
|
+
flex: none;
|
|
270
|
+
box-sizing: border-box;
|
|
271
|
+
width: 100%;
|
|
272
|
+
min-height: rem(48px);
|
|
273
|
+
padding: 8px;
|
|
274
|
+
border: 1px solid var(--md-sys-color-outline);
|
|
275
|
+
border-radius: var(--md-sys-shape-corner-small);
|
|
276
|
+
@include typescale("body-large");
|
|
277
|
+
|
|
278
|
+
&:focus-visible {
|
|
279
|
+
outline: 2px solid var(--md-sys-color-primary);
|
|
280
|
+
outline-offset: -2px;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
> [role="status"] {
|
|
285
|
+
flex: none;
|
|
286
|
+
overflow-wrap: anywhere;
|
|
287
|
+
@include typescale("body-medium");
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
> menu {
|
|
291
|
+
display: block;
|
|
292
|
+
position: static;
|
|
293
|
+
flex: 1;
|
|
294
|
+
min-height: 0;
|
|
295
|
+
margin: 0;
|
|
296
|
+
padding: 0;
|
|
297
|
+
opacity: 1;
|
|
298
|
+
box-shadow: none;
|
|
299
|
+
background: transparent;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
> menu > li[hidden] { display: none; }
|
|
303
|
+
|
|
304
|
+
> ul[role="tree"] {
|
|
305
|
+
flex: 1;
|
|
306
|
+
min-height: 0;
|
|
307
|
+
overflow: auto;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
@media (prefers-reduced-motion: reduce) {
|
|
312
|
+
.select-search-popup { transition: none !important; }
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
// Tree select. TreeSelect puts a ul[role="tree"] inside the Menu surface,
|
|
316
|
+
// one list below the rows Menu styles, and nests each branch's rows in a
|
|
317
|
+
// ul[role="group"] inside its treeitem. The row is the treeitem's label span:
|
|
318
|
+
// painting the <li> would fill the branch's whole subtree. A branch row leads
|
|
319
|
+
// with the chevron .tree uses, a leaf lines its text up after it, and each
|
|
320
|
+
// level hangs a guide line from its parent's chevron, as in .tree.
|
|
321
|
+
ul[role="tree"] {
|
|
322
|
+
margin: 0;
|
|
323
|
+
padding: 0;
|
|
324
|
+
list-style: none;
|
|
325
|
+
|
|
326
|
+
ul[role="group"] {
|
|
327
|
+
margin: 0;
|
|
328
|
+
margin-inline-start: calc(var(--md-comp-menu-item-leading-space) + 10px);
|
|
329
|
+
padding: 0;
|
|
330
|
+
padding-inline-start: 4px;
|
|
331
|
+
border-inline-start: 1px solid var(--md-sys-color-outline-variant);
|
|
332
|
+
list-style: none;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
li[role="treeitem"] {
|
|
336
|
+
display: block;
|
|
337
|
+
margin: 0;
|
|
338
|
+
padding: 0;
|
|
339
|
+
cursor: pointer;
|
|
340
|
+
outline: none;
|
|
341
|
+
|
|
342
|
+
&[hidden] { display: none; }
|
|
343
|
+
|
|
344
|
+
> span {
|
|
345
|
+
display: flex;
|
|
346
|
+
align-items: center;
|
|
347
|
+
gap: 8px;
|
|
348
|
+
box-sizing: border-box;
|
|
349
|
+
min-height: var(--md-comp-menu-item-container-height);
|
|
350
|
+
padding-block: 8px;
|
|
351
|
+
padding-inline: calc(var(--md-comp-menu-item-leading-space) + 28px) var(--md-comp-menu-item-trailing-space);
|
|
352
|
+
border-radius: var(--md-comp-menu-item-container-shape);
|
|
353
|
+
color: var(--md-comp-menu-item-label-text-color);
|
|
354
|
+
@include typescale("label-large");
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
> span:hover {
|
|
358
|
+
background-color: state-layer(var(--md-comp-menu-item-label-text-color), "hover");
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
&:focus-visible > span {
|
|
362
|
+
background-color: state-layer(var(--md-comp-menu-item-label-text-color), "focus");
|
|
363
|
+
|
|
364
|
+
// Forced colors drop the focus fill, and the row has no outline of its own.
|
|
365
|
+
@media (forced-colors: active) {
|
|
366
|
+
outline: 2px solid CanvasText;
|
|
367
|
+
outline-offset: -2px;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
&[aria-expanded] > span {
|
|
372
|
+
padding-inline-start: var(--md-comp-menu-item-leading-space);
|
|
373
|
+
|
|
374
|
+
&::before {
|
|
375
|
+
@include tree-chevron;
|
|
376
|
+
@include forced-colors-fill;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
// A closed branch points to the end edge, which is the left in RTL.
|
|
381
|
+
&[aria-expanded="false"]:dir(rtl) > span::before {
|
|
382
|
+
transform: rotate(90deg);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
&[aria-expanded="true"] > span::before {
|
|
386
|
+
transform: none;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
&[aria-selected="true"] > span {
|
|
390
|
+
background-color: var(--md-comp-menu-item-selected-container-color);
|
|
391
|
+
color: var(--md-comp-menu-item-selected-label-text-color);
|
|
392
|
+
@include forced-colors-selected;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
// The chosen row is where the popup opens, so it shows focus too: the
|
|
396
|
+
// focus layer over the selected fill. In forced colors its Highlight
|
|
397
|
+
// outline takes the label's own outline, so focus rings the row itself;
|
|
398
|
+
// a chosen row is always a leaf, whose <li> is just its label.
|
|
399
|
+
&[aria-selected="true"]:focus-visible {
|
|
400
|
+
> span {
|
|
401
|
+
background-color: state-layer(
|
|
402
|
+
var(--md-comp-menu-item-selected-label-text-color),
|
|
403
|
+
"focus",
|
|
404
|
+
var(--md-comp-menu-item-selected-container-color)
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
@media (forced-colors: active) {
|
|
409
|
+
outline: 2px solid CanvasText;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
// A disabled row takes no clicks: they reach its group, and TreeSelect
|
|
414
|
+
// ignores a click that lands on no row's label.
|
|
415
|
+
&.disabled {
|
|
416
|
+
cursor: default;
|
|
417
|
+
pointer-events: none;
|
|
418
|
+
|
|
419
|
+
> span {
|
|
420
|
+
background: none;
|
|
421
|
+
color: color-mix(in oklab, var(--md-sys-color-on-surface) 38%, transparent);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
252
427
|
@media (prefers-reduced-motion: reduce) {
|
|
253
428
|
.field:has(> .hide-select) .caret {
|
|
254
429
|
transition: none;
|
|
255
430
|
}
|
|
431
|
+
|
|
432
|
+
ul[role="tree"] li[role="treeitem"] > span::before {
|
|
433
|
+
transition: none;
|
|
434
|
+
}
|
|
256
435
|
}
|