@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
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use "../abstracts" as *;
|
|
2
|
-
|
|
3
1
|
/*! Based on normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
4
2
|
|
|
5
3
|
// Trimmed to the project's support baseline: the last 5 Chrome and Firefox
|
|
@@ -35,21 +33,23 @@
|
|
|
35
33
|
// fieldset { padding: .35em .75em .625em } - restates the UA padding
|
|
36
34
|
// summary { display: list-item } - already list-item
|
|
37
35
|
//
|
|
36
|
+
// A third pass removed the rules base/_typography.scss overrides on the same
|
|
37
|
+
// selector later in the same layer, so they never reached the page:
|
|
38
|
+
// h1 { font-size; margin } - the display-small typescale and margin
|
|
39
|
+
// b, strong { font-weight: bolder } - `strong, b { font-weight: 500 }`
|
|
40
|
+
// small { font-size: 80% } - the body-small typescale
|
|
41
|
+
// kbd in `code, kbd, samp` - the keycap rule sets both properties
|
|
42
|
+
//
|
|
38
43
|
// The rest of this file was measured against a bare page in both engines rather
|
|
39
44
|
// than assumed, and these are the results that keep a rule here. Do not remove
|
|
40
45
|
// them again without re-measuring - each one *looks* redundant and is not:
|
|
41
|
-
// b, strong { font-weight: bolder } UA is `bold` (700). `bolder` is relative,
|
|
42
|
-
// so it reaches 900 inside an already-bold
|
|
43
|
-
// parent where the UA value would stay 700.
|
|
44
|
-
// small { font-size: 80% } UA is `smaller`, which computes to
|
|
45
|
-
// 13.333px against a 16px parent, not 12.8.
|
|
46
46
|
// progress { vertical-align: baseline } UA is -3.2px, not baseline.
|
|
47
47
|
// legend { padding: 0 } UA has padding-left: 2px.
|
|
48
48
|
// [type="search"] { ... } UA is appearance:auto / outline-offset:0.
|
|
49
49
|
// sub, sup { ... } UA uses vertical-align: sub/super and no
|
|
50
50
|
// line-height reset; normalize's version is
|
|
51
51
|
// deliberately a different mechanism.
|
|
52
|
-
// code,
|
|
52
|
+
// code, samp, pre { font-size: 1em } UA applies the monospace font-size
|
|
53
53
|
// quirk (13px Chromium, 12px Firefox).
|
|
54
54
|
// hr { box-sizing: content-box } matches the UA, but base/_global.scss sets
|
|
55
55
|
// border-box globally and would override it.
|
|
@@ -57,97 +57,58 @@
|
|
|
57
57
|
// correction, and this file's policy is to
|
|
58
58
|
// keep those. `button` itself was dropped.
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
// Document
|
|
61
|
+
// ==========================================================================
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
66
|
-
*/
|
|
63
|
+
// 1. Correct the line height in all browsers.
|
|
64
|
+
// 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
67
65
|
|
|
68
|
-
html
|
|
69
|
-
|
|
70
|
-
-
|
|
66
|
+
html,
|
|
67
|
+
:host {
|
|
68
|
+
line-height: 1.15; // 1
|
|
69
|
+
-webkit-text-size-adjust: 100%; // 2
|
|
71
70
|
}
|
|
72
71
|
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
// Sections
|
|
73
|
+
// ==========================================================================
|
|
75
74
|
|
|
76
|
-
|
|
77
|
-
* Remove the margin in all browsers.
|
|
78
|
-
*/
|
|
75
|
+
// Remove the margin in all browsers.
|
|
79
76
|
|
|
80
77
|
body {
|
|
81
78
|
margin: 0;
|
|
82
79
|
}
|
|
83
80
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
* `article` contexts in Chrome, Firefox, and Safari.
|
|
87
|
-
*/
|
|
88
|
-
|
|
89
|
-
h1 {
|
|
90
|
-
font-size: 2em;
|
|
91
|
-
margin: 0.67em 0;
|
|
92
|
-
}
|
|
81
|
+
// Grouping content
|
|
82
|
+
// ==========================================================================
|
|
93
83
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Add the correct box sizing in Firefox. Needed because base/_global.scss sets
|
|
99
|
-
* `box-sizing: border-box` globally, which would collapse a 0-height `hr`.
|
|
100
|
-
*/
|
|
84
|
+
// Add the correct box sizing in Firefox. Needed because base/_global.scss sets
|
|
85
|
+
// `box-sizing: border-box` globally, which would collapse a 0-height `hr`.
|
|
101
86
|
|
|
102
87
|
hr {
|
|
103
88
|
box-sizing: content-box;
|
|
104
89
|
height: 0;
|
|
105
90
|
}
|
|
106
91
|
|
|
107
|
-
|
|
108
|
-
* Correct the inheritance and scaling of font size in all browsers.
|
|
109
|
-
*/
|
|
92
|
+
// Correct the inheritance and scaling of font size in all browsers.
|
|
110
93
|
|
|
111
94
|
pre {
|
|
112
95
|
font-family: monospace;
|
|
113
96
|
font-size: 1em;
|
|
114
97
|
}
|
|
115
98
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
121
|
-
*/
|
|
99
|
+
// Text-level semantics
|
|
100
|
+
// ==========================================================================
|
|
122
101
|
|
|
123
|
-
|
|
124
|
-
strong {
|
|
125
|
-
font-weight: bolder;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Correct the inheritance and scaling of font size in all browsers.
|
|
130
|
-
*/
|
|
102
|
+
// Correct the inheritance and scaling of font size in all browsers.
|
|
131
103
|
|
|
132
104
|
code,
|
|
133
|
-
kbd,
|
|
134
105
|
samp {
|
|
135
106
|
font-family: monospace;
|
|
136
107
|
font-size: 1em;
|
|
137
108
|
}
|
|
138
109
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
*/
|
|
142
|
-
|
|
143
|
-
small {
|
|
144
|
-
font-size: 80%;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
149
|
-
* all browsers.
|
|
150
|
-
*/
|
|
110
|
+
// Prevent `sub` and `sup` elements from affecting the line height in
|
|
111
|
+
// all browsers.
|
|
151
112
|
|
|
152
113
|
sub,
|
|
153
114
|
sup {
|
|
@@ -165,33 +126,29 @@ sup {
|
|
|
165
126
|
top: -0.5em;
|
|
166
127
|
}
|
|
167
128
|
|
|
168
|
-
|
|
169
|
-
|
|
129
|
+
// Forms
|
|
130
|
+
// ==========================================================================
|
|
170
131
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
*/
|
|
132
|
+
// 1. Change the font styles in all browsers. The family is set from
|
|
133
|
+
// $font-stack on the same selectors in _global.scss.
|
|
134
|
+
// 2. Remove the margin in Firefox and Safari.
|
|
175
135
|
|
|
176
136
|
button,
|
|
177
137
|
input,
|
|
178
138
|
optgroup,
|
|
179
139
|
select,
|
|
180
140
|
textarea {
|
|
181
|
-
font-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
margin: 0; /* 2 */
|
|
141
|
+
font-size: 100%; // 1
|
|
142
|
+
line-height: 1.15; // 1
|
|
143
|
+
margin: 0; // 2
|
|
185
144
|
}
|
|
186
145
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
*
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
* and normalize carried it out of caution.
|
|
194
|
-
*/
|
|
146
|
+
// Correct the inability to style clickable types in iOS and Safari.
|
|
147
|
+
// Kept prefixed: this is a WebKit correction, and Safari is what needs it.
|
|
148
|
+
//
|
|
149
|
+
// `button` is no longer in this list. The clickable *types* are what Safari
|
|
150
|
+
// renders unstyleable; a <button> element already renders as a button there,
|
|
151
|
+
// and normalize carried it out of caution.
|
|
195
152
|
|
|
196
153
|
[type="button"],
|
|
197
154
|
[type="reset"],
|
|
@@ -199,59 +156,47 @@ textarea {
|
|
|
199
156
|
-webkit-appearance: button;
|
|
200
157
|
}
|
|
201
158
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
* `fieldset` elements in all browsers.
|
|
205
|
-
*/
|
|
159
|
+
// Remove the padding so developers are not caught out when they zero out
|
|
160
|
+
// `fieldset` elements in all browsers.
|
|
206
161
|
|
|
207
162
|
legend {
|
|
208
163
|
padding: 0;
|
|
209
164
|
}
|
|
210
165
|
|
|
211
|
-
|
|
212
|
-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
213
|
-
*/
|
|
166
|
+
// Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
214
167
|
|
|
215
168
|
progress {
|
|
216
169
|
vertical-align: baseline;
|
|
217
170
|
}
|
|
218
171
|
|
|
219
|
-
|
|
220
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
221
|
-
*/
|
|
172
|
+
// Correct the cursor style of increment and decrement buttons in Chrome.
|
|
222
173
|
|
|
223
174
|
[type="number"]::-webkit-inner-spin-button,
|
|
224
175
|
[type="number"]::-webkit-outer-spin-button {
|
|
225
176
|
height: auto;
|
|
226
177
|
}
|
|
227
178
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
* 2. Correct the outline style in Safari.
|
|
231
|
-
*/
|
|
179
|
+
// 1. Correct the odd appearance in Chrome and Safari.
|
|
180
|
+
// 2. Correct the outline style in Safari.
|
|
232
181
|
|
|
233
182
|
[type="search"] {
|
|
234
|
-
-webkit-appearance: textfield;
|
|
235
|
-
outline-offset: -2px;
|
|
183
|
+
-webkit-appearance: textfield; // 1
|
|
184
|
+
outline-offset: -2px; // 2
|
|
236
185
|
}
|
|
237
186
|
|
|
238
|
-
|
|
239
|
-
* Remove the inner padding in Chrome and Safari on macOS.
|
|
240
|
-
*/
|
|
187
|
+
// Remove the inner padding in Chrome and Safari on macOS.
|
|
241
188
|
|
|
242
189
|
[type="search"]::-webkit-search-decoration {
|
|
243
190
|
-webkit-appearance: none;
|
|
244
191
|
}
|
|
245
192
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
* the `::-webkit-file-upload-button` alias it replaced is gone.
|
|
252
|
-
*/
|
|
193
|
+
// 1. Correct the inability to style clickable types in iOS and Safari.
|
|
194
|
+
// 2. Change font properties to `inherit` in Safari.
|
|
195
|
+
//
|
|
196
|
+
// `::file-selector-button` is the standardised name (Chrome 89+, Firefox 82+);
|
|
197
|
+
// the `::-webkit-file-upload-button` alias it replaced is gone.
|
|
253
198
|
|
|
254
199
|
::file-selector-button {
|
|
255
|
-
-webkit-appearance: button;
|
|
256
|
-
font: inherit;
|
|
200
|
+
-webkit-appearance: button; // 1
|
|
201
|
+
font: inherit; // 2
|
|
257
202
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Paper defaults, element level only. Components that only make sense on a
|
|
2
|
+
// screen (navigation, snackbars, tooltips, the FAB menu) hide themselves in
|
|
3
|
+
// their own partials; .hide-on-print and .print-only are in
|
|
4
|
+
// utilities/_visibility.scss. The light scheme for print is in
|
|
5
|
+
// tokens/_theme.scss, which owns color-scheme.
|
|
6
|
+
@media print {
|
|
7
|
+
// Paper cannot follow a link, so print where it goes. Only external links
|
|
8
|
+
// in running text: the same set base/_global.scss underlines.
|
|
9
|
+
:where(p, dd, blockquote, figcaption, td) a[href^="http"]:not([class])::after {
|
|
10
|
+
content: " (" attr(href) ")";
|
|
11
|
+
overflow-wrap: anywhere;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// Keep a heading with what follows it, and keep small blocks whole.
|
|
15
|
+
:is(h1, h2, h3, h4, h5, h6) { break-after: avoid; }
|
|
16
|
+
:is(pre, blockquote, figure, img, video, tr, li, dt, dd) { break-inside: avoid; }
|
|
17
|
+
:is(p, h2, h3) { orphans: 3; widows: 3; }
|
|
18
|
+
|
|
19
|
+
// Repeat a table's header row on every page it spans.
|
|
20
|
+
thead { display: table-header-group; }
|
|
21
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// .prose: long-form content written as bare HTML, such as Markdown or CMS
|
|
2
|
+
// output, where the author cannot add a class to each element. Put it on a
|
|
3
|
+
// <div>, <section> or <main>: every <article> is already a card.
|
|
4
|
+
//
|
|
5
|
+
// It lives in the base layer, not with the components, so any component
|
|
6
|
+
// placed inside the content still wins over it. The element lists sit in
|
|
7
|
+
// :where(), so a rule weighs `.prose` plus `:not([class])`: enough to beat
|
|
8
|
+
// the element defaults beside it. Elements that carry a class are a
|
|
9
|
+
// component or a deliberate style and are left alone.
|
|
10
|
+
|
|
11
|
+
.prose {
|
|
12
|
+
max-inline-size: 70ch;
|
|
13
|
+
|
|
14
|
+
> :first-child { margin-block-start: 0; }
|
|
15
|
+
> :last-child { margin-block-end: 0; }
|
|
16
|
+
|
|
17
|
+
:where(h2, h3, h4, h5, h6):not([class], :first-child) { margin-block-start: 1.6em; }
|
|
18
|
+
|
|
19
|
+
:where(ul, ol):not([class]) {
|
|
20
|
+
margin-block: 0 1em;
|
|
21
|
+
padding-inline-start: 1.5em;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:where(li):not([class]) + li { margin-block-start: 0.375em; }
|
|
25
|
+
:where(li > ul, li > ol):not([class]) { margin-block: 0.375em 0; }
|
|
26
|
+
|
|
27
|
+
// base/_global.scss underlines links in paragraphs; lists and headings
|
|
28
|
+
// in long-form content are running text too.
|
|
29
|
+
:where(li, h2, h3, h4, h5, h6) a:not([class]) {
|
|
30
|
+
text-decoration: underline;
|
|
31
|
+
text-underline-offset: 0.15em;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// <kbd> keeps its keycap from base/_typography.scss.
|
|
35
|
+
:where(code, samp):not([class]) { font-size: 0.875em; }
|
|
36
|
+
|
|
37
|
+
:where(code):not([class]) {
|
|
38
|
+
padding: 0.125em 0.375em;
|
|
39
|
+
border-radius: var(--md-sys-shape-corner-extra-small);
|
|
40
|
+
background-color: var(--md-sys-color-surface-container-high);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:where(pre):not([class]) {
|
|
44
|
+
margin-block: 0 1em;
|
|
45
|
+
padding: 1rem;
|
|
46
|
+
overflow-x: auto;
|
|
47
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
48
|
+
background-color: var(--md-sys-color-surface-container);
|
|
49
|
+
|
|
50
|
+
> code { padding: 0; background: none; font-size: inherit; }
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:where(img, video):not([class]) {
|
|
54
|
+
max-inline-size: 100%;
|
|
55
|
+
block-size: auto;
|
|
56
|
+
border-radius: var(--md-sys-shape-corner-medium);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:where(figure):not([class]) { margin: 0 0 1em; }
|
|
60
|
+
|
|
61
|
+
:where(hr):not([class]) {
|
|
62
|
+
margin-block: 2em;
|
|
63
|
+
border: 0;
|
|
64
|
+
border-block-start: 1px solid var(--md-sys-color-outline-variant);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:where(table):not([class]) { margin-block: 0 1em; }
|
|
68
|
+
}
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
// large for a default <h1>. Component slots (app bar, card, dialog) set
|
|
15
15
|
// their own roles and win on specificity.
|
|
16
16
|
|
|
17
|
-
html
|
|
17
|
+
html,
|
|
18
|
+
:host {
|
|
18
19
|
font-family: $font-stack;
|
|
19
|
-
font-weight: var(--md-sys-typescale-body-medium-font-weight);
|
|
20
|
-
color: $text-color;
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
body
|
|
22
|
+
body,
|
|
23
|
+
:host {
|
|
24
24
|
@include typescale("body-medium");
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -39,6 +39,11 @@ h4, h5, h6 {
|
|
|
39
39
|
margin: 0 0 0.35em;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
// Even out heading lines, and keep a lone word off a paragraph's last line.
|
|
43
|
+
// The longhand leaves text-wrap-mode alone, so .truncate and nowrap still win.
|
|
44
|
+
h1, h2, h3, h4, h5, h6 { text-wrap-style: balance; }
|
|
45
|
+
p { text-wrap-style: pretty; }
|
|
46
|
+
|
|
42
47
|
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
|
|
43
48
|
font-weight: inherit;
|
|
44
49
|
color: inherit;
|
|
@@ -54,7 +59,6 @@ figcaption {
|
|
|
54
59
|
@include typescale("body-small");
|
|
55
60
|
}
|
|
56
61
|
|
|
57
|
-
em { font-style: italic; }
|
|
58
62
|
strong, b { font-weight: 500; }
|
|
59
63
|
|
|
60
64
|
// Flow text: font-size scales with the viewport between two bounds.
|
|
@@ -22,8 +22,8 @@ $_accordion-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/200
|
|
|
22
22
|
|
|
23
23
|
.accordion {
|
|
24
24
|
--md-comp-accordion-container-color: var(--md-sys-color-surface-container);
|
|
25
|
-
--md-comp-accordion-shape:
|
|
26
|
-
--md-comp-accordion-grouped-shape:
|
|
25
|
+
--md-comp-accordion-shape: var(--md-sys-shape-corner-large-increased);
|
|
26
|
+
--md-comp-accordion-grouped-shape: var(--md-sys-shape-corner-extra-small);
|
|
27
27
|
--md-comp-accordion-gap: 2px;
|
|
28
28
|
--md-comp-accordion-header-height: 56px;
|
|
29
29
|
--md-comp-accordion-padding: 16px;
|
|
@@ -40,7 +40,7 @@ $_accordion-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/200
|
|
|
40
40
|
// Invisible until forced colors paint it, so the tiles stay apart there.
|
|
41
41
|
outline: 1px solid transparent;
|
|
42
42
|
outline-offset: -1px;
|
|
43
|
-
transition: border-radius
|
|
43
|
+
transition: border-radius var(--md-sys-motion-duration-short4) ease-out;
|
|
44
44
|
|
|
45
45
|
&:first-child {
|
|
46
46
|
border-start-start-radius: var(--md-comp-accordion-shape);
|
|
@@ -85,15 +85,11 @@ $_accordion-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/200
|
|
|
85
85
|
margin-inline-start: auto;
|
|
86
86
|
background-color: var(--md-sys-color-on-surface-variant);
|
|
87
87
|
mask: $_accordion-chevron center / 24px no-repeat;
|
|
88
|
-
transition: transform
|
|
88
|
+
transition: transform var(--md-sys-motion-duration-short4) ease-out;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&:hover {
|
|
92
|
-
background-color: color-
|
|
93
|
-
in oklab,
|
|
94
|
-
var(--md-sys-color-on-surface) state-opacity("hover"),
|
|
95
|
-
transparent
|
|
96
|
-
);
|
|
92
|
+
background-color: state-layer(var(--md-sys-color-on-surface), "hover");
|
|
97
93
|
}
|
|
98
94
|
|
|
99
95
|
> #{$icon} {
|
|
@@ -130,8 +126,8 @@ $_accordion-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/200
|
|
|
130
126
|
block-size: 0;
|
|
131
127
|
overflow: clip;
|
|
132
128
|
transition:
|
|
133
|
-
block-size
|
|
134
|
-
content-visibility
|
|
129
|
+
block-size var(--md-sys-motion-duration-medium1) var(--md-sys-motion-easing-standard),
|
|
130
|
+
content-visibility var(--md-sys-motion-duration-medium1) allow-discrete;
|
|
135
131
|
}
|
|
136
132
|
|
|
137
133
|
&[open]::details-content {
|
|
@@ -153,9 +149,6 @@ $_accordion-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/200
|
|
|
153
149
|
}
|
|
154
150
|
}
|
|
155
151
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
forced-color-adjust: none;
|
|
159
|
-
background-color: CanvasText;
|
|
160
|
-
}
|
|
152
|
+
.accordion > details > summary::after {
|
|
153
|
+
@include forced-colors-fill;
|
|
161
154
|
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
@use "../abstracts" as *;
|
|
2
|
+
|
|
3
|
+
// Alert. A persistent message in the flow of the page, next to the content it
|
|
4
|
+
// is about: an optional leading icon, text, an optional close button and an
|
|
5
|
+
// optional row of actions. `critical` is the error-container tone. Static
|
|
6
|
+
// alerts need no role; see llm.md for announcing changes.
|
|
7
|
+
//
|
|
8
|
+
// Anatomy is the HTML, in order:
|
|
9
|
+
// icon leading; sits beside the first line of text
|
|
10
|
+
// h1–h6, p, ... the message; every other child stacks in the text column
|
|
11
|
+
// .icon-button last child, the close button
|
|
12
|
+
// .alert-actions buttons under the text, aligned to the end
|
|
13
|
+
//
|
|
14
|
+
// The grid pins the icon and close button to the first row, so a long message
|
|
15
|
+
// or enlarged text wraps under itself instead of under them.
|
|
16
|
+
//
|
|
17
|
+
// Tokens:
|
|
18
|
+
// --md-comp-alert-container-color secondary-container / critical: error-container
|
|
19
|
+
// --md-comp-alert-color on-secondary-container / critical: on-error-container
|
|
20
|
+
// --md-comp-alert-shape 16px
|
|
21
|
+
// --md-comp-alert-padding 16px
|
|
22
|
+
|
|
23
|
+
.alert {
|
|
24
|
+
--md-comp-alert-container-color: var(--md-sys-color-secondary-container);
|
|
25
|
+
--md-comp-alert-color: var(--md-sys-color-on-secondary-container);
|
|
26
|
+
--md-comp-alert-shape: var(--md-sys-shape-corner-large);
|
|
27
|
+
--md-comp-alert-padding: 16px;
|
|
28
|
+
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
display: grid;
|
|
31
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
32
|
+
align-items: start;
|
|
33
|
+
row-gap: 4px;
|
|
34
|
+
margin-block: 8px;
|
|
35
|
+
padding: var(--md-comp-alert-padding);
|
|
36
|
+
// Transparent so forced-colors mode, which drops the fill, still draws an edge.
|
|
37
|
+
border: 1px solid transparent;
|
|
38
|
+
border-radius: var(--md-comp-alert-shape);
|
|
39
|
+
background-color: var(--md-comp-alert-container-color);
|
|
40
|
+
color: var(--md-comp-alert-color);
|
|
41
|
+
@include typescale("body-medium");
|
|
42
|
+
|
|
43
|
+
// display: grid would otherwise beat the browser's [hidden] rule, and
|
|
44
|
+
// toggling hidden is the usual way to show and dismiss an alert.
|
|
45
|
+
&[hidden] {
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.critical {
|
|
50
|
+
--md-comp-alert-container-color: var(--md-sys-color-error-container);
|
|
51
|
+
--md-comp-alert-color: var(--md-sys-color-on-error-container);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
> * {
|
|
55
|
+
grid-column: 2;
|
|
56
|
+
margin: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
> #{$icon}:first-child {
|
|
60
|
+
grid-column: 1;
|
|
61
|
+
grid-row: 1;
|
|
62
|
+
margin-inline-end: 12px;
|
|
63
|
+
font-size: rem(24px);
|
|
64
|
+
line-height: rem(20px);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
> :is(h1, h2, h3, h4, h5, h6) {
|
|
68
|
+
@include typescale("title-small");
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
> p {
|
|
72
|
+
@include typescale("body-medium");
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
a:not(.button, .icon-button) {
|
|
76
|
+
color: inherit;
|
|
77
|
+
text-decoration: underline;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// The close button's 48px target overhangs the padding instead of adding a
|
|
81
|
+
// row's worth of height to a one-line alert.
|
|
82
|
+
> .icon-button:last-child {
|
|
83
|
+
grid-column: 3;
|
|
84
|
+
grid-row: 1;
|
|
85
|
+
margin-block: -12px;
|
|
86
|
+
margin-inline: 4px -12px;
|
|
87
|
+
color: inherit;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
> .alert-actions {
|
|
91
|
+
grid-column: 2 / -1;
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-wrap: wrap;
|
|
94
|
+
justify-content: flex-end;
|
|
95
|
+
gap: 8px;
|
|
96
|
+
margin-block-start: 8px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media (forced-colors: active) {
|
|
100
|
+
border-color: CanvasText;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--md-comp-aura-color: var(--md-sys-color-primary);
|
|
36
36
|
--md-comp-aura-color-2: var(--md-sys-color-tertiary);
|
|
37
37
|
--md-comp-aura-width: 2px;
|
|
38
|
-
--md-comp-aura-shape:
|
|
38
|
+
--md-comp-aura-shape: var(--md-sys-shape-corner-medium);
|
|
39
39
|
--md-comp-aura-duration: 4s;
|
|
40
40
|
|
|
41
41
|
position: relative;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
border-radius: calc(var(--md-comp-aura-shape) + var(--md-comp-aura-width));
|
|
47
47
|
|
|
48
48
|
&:has(> :is(button, .button, [role="button"])) {
|
|
49
|
-
--md-comp-aura-shape:
|
|
49
|
+
--md-comp-aura-shape: var(--md-sys-shape-corner-full);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
&::before {
|
|
@@ -101,10 +101,15 @@
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
// Doubled to outrank the variants, so a rainbow or a glow is the same
|
|
105
|
+
// solid ring.
|
|
104
106
|
@media (forced-colors: active) {
|
|
105
|
-
|
|
107
|
+
&.aura::before {
|
|
106
108
|
forced-color-adjust: none;
|
|
107
109
|
background: Highlight;
|
|
110
|
+
mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
|
|
111
|
+
filter: none;
|
|
112
|
+
opacity: 1;
|
|
108
113
|
}
|
|
109
114
|
}
|
|
110
115
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// --md-comp-avatar-group-ring-color surface
|
|
16
16
|
|
|
17
17
|
.avatar {
|
|
18
|
-
--md-comp-avatar-size: 40px;
|
|
18
|
+
--md-comp-avatar-size: #{rem(40px)};
|
|
19
19
|
--md-comp-avatar-container-color: var(--md-sys-color-secondary-container);
|
|
20
20
|
--md-comp-avatar-color: var(--md-sys-color-on-secondary-container);
|
|
21
21
|
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
user-select: none;
|
|
43
43
|
|
|
44
44
|
&.small {
|
|
45
|
-
--md-comp-avatar-size: 32px;
|
|
45
|
+
--md-comp-avatar-size: #{rem(32px)};
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&.large {
|
|
49
|
-
--md-comp-avatar-size: 56px;
|
|
49
|
+
--md-comp-avatar-size: #{rem(56px)};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
> img {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// Back-to-top link. Pair it with the FAB classes, `button circle extra`, for
|
|
2
|
+
// the look: this partial only places the link and hides it. `inert` is the
|
|
3
|
+
// framework's. BackToTop sets it while the page is above the threshold, so
|
|
4
|
+
// a page without the script keeps the link visible.
|
|
5
|
+
//
|
|
6
|
+
// The FAB menu sits in the same corner on the same offset. A page with both
|
|
7
|
+
// raises one of them through `--md-comp-back-to-top-offset`.
|
|
8
|
+
.back-to-top {
|
|
9
|
+
--md-comp-back-to-top-offset: 16px;
|
|
10
|
+
--md-comp-back-to-top-z: 997;
|
|
11
|
+
--md-comp-back-to-top-duration: var(--md-sys-motion-spring-fast-effects-duration);
|
|
12
|
+
--md-comp-back-to-top-easing: var(--md-sys-motion-spring-fast-effects);
|
|
13
|
+
|
|
14
|
+
position: fixed;
|
|
15
|
+
inset-inline-end: var(--md-comp-back-to-top-offset);
|
|
16
|
+
bottom: var(--md-comp-back-to-top-offset);
|
|
17
|
+
z-index: var(--md-comp-back-to-top-z);
|
|
18
|
+
transition: opacity var(--md-comp-back-to-top-duration) var(--md-comp-back-to-top-easing);
|
|
19
|
+
|
|
20
|
+
// It fades in, and hides at once. A fade out would also run when the
|
|
21
|
+
// script starts on a page already painted at the top, and show the link
|
|
22
|
+
// leaving a corner where nothing had scrolled. Visibility takes it off
|
|
23
|
+
// screen readers and the page's ARIA snapshot along with `inert`.
|
|
24
|
+
&[inert] {
|
|
25
|
+
visibility: hidden;
|
|
26
|
+
opacity: 0;
|
|
27
|
+
transition: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (prefers-reduced-motion: reduce) {
|
|
32
|
+
.back-to-top { transition: none; }
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// A floating link would print over the content, as the FAB menu would.
|
|
36
|
+
@media print {
|
|
37
|
+
.back-to-top { display: none !important; }
|
|
38
|
+
}
|