@material/web 1.0.0-pre.6 → 1.0.0-pre.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/aria/aria.d.ts +43 -0
- package/aria/aria.js +80 -0
- package/aria/aria.js.map +1 -0
- package/aria/delegate.d.ts +37 -0
- package/aria/delegate.js +53 -0
- package/aria/delegate.js.map +1 -0
- package/badge/badge.d.ts +0 -1
- package/badge/badge.js +0 -1
- package/badge/badge.js.map +1 -1
- package/badge/lib/badge.d.ts +5 -7
- package/badge/lib/badge.js +9 -12
- package/badge/lib/badge.js.map +1 -1
- package/button/lib/_elevated-button.scss +35 -6
- package/button/lib/_elevation.scss +13 -3
- package/button/lib/_filled-button.scss +35 -3
- package/button/lib/_outlined-button.scss +35 -6
- package/button/lib/_shared.scss +4 -2
- package/button/lib/_text-button.scss +35 -6
- package/button/lib/_tonal-button.scss +34 -7
- package/button/lib/button.d.ts +24 -38
- package/button/lib/button.js +40 -89
- package/button/lib/button.js.map +1 -1
- package/button/lib/elevated-button.d.ts +6 -4
- package/button/lib/elevated-button.js.map +1 -1
- package/button/lib/elevated-styles.css.js +1 -1
- package/button/lib/elevated-styles.css.js.map +1 -1
- package/button/lib/filled-button.d.ts +6 -4
- package/button/lib/filled-button.js.map +1 -1
- package/button/lib/filled-styles.css.js +1 -1
- package/button/lib/filled-styles.css.js.map +1 -1
- package/button/lib/outlined-button.d.ts +6 -4
- package/button/lib/outlined-button.js.map +1 -1
- package/button/lib/outlined-styles.css.js +1 -1
- package/button/lib/outlined-styles.css.js.map +1 -1
- package/button/lib/shared-elevation-styles.css.js +1 -1
- package/button/lib/shared-elevation-styles.css.js.map +1 -1
- package/button/lib/shared-styles.css.js +1 -1
- package/button/lib/shared-styles.css.js.map +1 -1
- package/button/lib/text-button.d.ts +5 -2
- package/button/lib/text-button.js.map +1 -1
- package/button/lib/text-styles.css.js +1 -1
- package/button/lib/text-styles.css.js.map +1 -1
- package/button/lib/tonal-button.d.ts +6 -4
- package/button/lib/tonal-button.js.map +1 -1
- package/button/lib/tonal-styles.css.js +1 -1
- package/button/lib/tonal-styles.css.js.map +1 -1
- package/checkbox/lib/_checkbox.scss +48 -47
- package/checkbox/lib/checkbox-styles.css.js +1 -1
- package/checkbox/lib/checkbox-styles.css.js.map +1 -1
- package/checkbox/lib/checkbox.d.ts +2 -7
- package/checkbox/lib/checkbox.js +35 -62
- package/checkbox/lib/checkbox.js.map +1 -1
- package/checkbox/lib/forced-colors-styles.css.js +1 -1
- package/checkbox/lib/forced-colors-styles.css.js.map +1 -1
- package/chips/_filter-chip.scss +6 -0
- package/chips/assist-chip.js +2 -1
- package/chips/assist-chip.js.map +1 -1
- package/chips/filter-chip.d.ts +20 -0
- package/chips/filter-chip.js +25 -0
- package/chips/filter-chip.js.map +1 -0
- package/chips/lib/_assist-chip.scss +37 -3
- package/chips/lib/_elevated.scss +60 -0
- package/chips/lib/_filter-chip.scss +175 -0
- package/chips/lib/_shared.scss +48 -84
- package/chips/lib/_suggestion-chip.scss +36 -5
- package/chips/lib/assist-chip.d.ts +12 -0
- package/chips/lib/assist-chip.js +64 -0
- package/chips/lib/assist-chip.js.map +1 -1
- package/chips/lib/assist-styles.css.js +1 -1
- package/chips/lib/assist-styles.css.js.map +1 -1
- package/chips/lib/chip.d.ts +24 -16
- package/chips/lib/chip.js +53 -74
- package/chips/lib/chip.js.map +1 -1
- package/chips/lib/elevated-styles.css.js +9 -0
- package/chips/lib/elevated-styles.css.js.map +1 -0
- package/{fab/lib/fab-extended-styles.scss → chips/lib/elevated-styles.scss} +3 -3
- package/chips/lib/filter-chip.d.ts +26 -0
- package/chips/lib/filter-chip.js +80 -0
- package/chips/lib/filter-chip.js.map +1 -0
- package/chips/lib/filter-styles.css.js +9 -0
- package/chips/lib/filter-styles.css.js.map +1 -0
- package/chips/lib/filter-styles.scss +10 -0
- package/chips/lib/shared-styles.css.js +1 -1
- package/chips/lib/shared-styles.css.js.map +1 -1
- package/chips/lib/suggestion-chip.d.ts +2 -2
- package/chips/lib/suggestion-chip.js +4 -2
- package/chips/lib/suggestion-chip.js.map +1 -1
- package/chips/lib/suggestion-styles.css.js +1 -1
- package/chips/lib/suggestion-styles.css.js.map +1 -1
- package/chips/suggestion-chip.js +2 -1
- package/chips/suggestion-chip.js.map +1 -1
- package/circularprogress/harness.d.ts +1 -0
- package/circularprogress/harness.js +4 -0
- package/circularprogress/harness.js.map +1 -1
- package/circularprogress/lib/_circular-progress.scss +13 -7
- package/circularprogress/lib/circular-progress-styles.css.js +1 -1
- package/circularprogress/lib/circular-progress-styles.css.js.map +1 -1
- package/circularprogress/lib/circular-progress.d.ts +5 -7
- package/circularprogress/lib/circular-progress.js +17 -21
- package/circularprogress/lib/circular-progress.js.map +1 -1
- package/dialog/lib/_dialog.scss +8 -9
- package/dialog/lib/_tokens.scss +0 -1
- package/dialog/lib/dialog-styles.css.js +1 -1
- package/dialog/lib/dialog-styles.css.js.map +1 -1
- package/dialog/lib/dialog.d.ts +10 -10
- package/dialog/lib/dialog.js +33 -56
- package/dialog/lib/dialog.js.map +1 -1
- package/divider/lib/divider.js +4 -7
- package/divider/lib/divider.js.map +1 -1
- package/elevation/lib/_elevation.scss +5 -7
- package/elevation/lib/elevation-styles.css.js +1 -1
- package/elevation/lib/elevation-styles.css.js.map +1 -1
- package/elevation/lib/elevation.d.ts +1 -1
- package/elevation/lib/elevation.js.map +1 -1
- package/fab/_fab.scss +1 -0
- package/fab/branded-fab.d.ts +56 -0
- package/fab/branded-fab.js +56 -0
- package/fab/branded-fab.js.map +1 -0
- package/fab/fab.d.ts +25 -5
- package/fab/fab.js +27 -10
- package/fab/fab.js.map +1 -1
- package/fab/harness.d.ts +1 -2
- package/fab/harness.js +1 -1
- package/fab/harness.js.map +1 -1
- package/fab/lib/_fab-branded.scss +81 -0
- package/fab/lib/_fab.scss +221 -19
- package/fab/lib/_shared.scss +161 -131
- package/fab/lib/fab-branded-styles.css.d.ts +1 -0
- package/fab/lib/fab-branded-styles.css.js +9 -0
- package/fab/lib/fab-branded-styles.css.js.map +1 -0
- package/fab/lib/fab-branded-styles.scss +10 -0
- package/fab/lib/fab-styles.css.js +1 -1
- package/fab/lib/fab-styles.css.js.map +1 -1
- package/fab/lib/fab.d.ts +18 -10
- package/fab/lib/fab.js +19 -12
- package/fab/lib/fab.js.map +1 -1
- package/fab/lib/forced-colors-styles.css.d.ts +1 -0
- package/fab/lib/forced-colors-styles.css.js +9 -0
- package/fab/lib/forced-colors-styles.css.js.map +1 -0
- package/fab/lib/forced-colors-styles.scss +26 -0
- package/fab/lib/shared-styles.css.d.ts +1 -0
- package/fab/lib/shared-styles.css.js +9 -0
- package/fab/lib/shared-styles.css.js.map +1 -0
- package/fab/lib/{fab-shared-styles.scss → shared-styles.scss} +1 -1
- package/fab/lib/shared.d.ts +49 -0
- package/fab/lib/shared.js +113 -0
- package/fab/lib/shared.js.map +1 -0
- package/field/lib/_filled-field.scss +47 -12
- package/field/lib/_outlined-field.scss +39 -12
- package/field/lib/field.js +14 -27
- package/field/lib/field.js.map +1 -1
- package/field/lib/filled-styles.css.js +1 -1
- package/field/lib/filled-styles.css.js.map +1 -1
- package/field/lib/outlined-styles.css.js +1 -1
- package/field/lib/outlined-styles.css.js.map +1 -1
- package/focus/focus-ring.d.ts +2 -1
- package/focus/focus-ring.js +2 -1
- package/focus/focus-ring.js.map +1 -1
- package/focus/lib/_focus-ring.scss +49 -34
- package/focus/lib/focus-ring-styles.css.js +1 -1
- package/focus/lib/focus-ring-styles.css.js.map +1 -1
- package/focus/lib/focus-ring.d.ts +59 -12
- package/focus/lib/focus-ring.js +118 -14
- package/focus/lib/focus-ring.js.map +1 -1
- package/icon/icon.d.ts +0 -1
- package/icon/icon.js +0 -1
- package/icon/icon.js.map +1 -1
- package/icon/lib/_icon.scss +2 -0
- package/icon/lib/icon-styles.css.js +1 -1
- package/icon/lib/icon-styles.css.js.map +1 -1
- package/icon/lib/icon.d.ts +5 -4
- package/icon/lib/icon.js +3 -2
- package/icon/lib/icon.js.map +1 -1
- package/iconbutton/filled-icon-button.d.ts +6 -2
- package/iconbutton/filled-icon-button.js.map +1 -1
- package/iconbutton/filled-tonal-icon-button.d.ts +6 -2
- package/iconbutton/filled-tonal-icon-button.js.map +1 -1
- package/iconbutton/harness.d.ts +1 -1
- package/iconbutton/harness.js +4 -1
- package/iconbutton/harness.js.map +1 -1
- package/iconbutton/lib/_filled-icon-button.scss +38 -13
- package/iconbutton/lib/_filled-tonal-icon-button.scss +38 -11
- package/iconbutton/lib/_outlined-icon-button.scss +38 -13
- package/iconbutton/lib/_shared.scss +4 -6
- package/iconbutton/lib/_standard-icon-button.scss +14 -14
- package/iconbutton/lib/filled-styles.css.js +1 -1
- package/iconbutton/lib/filled-styles.css.js.map +1 -1
- package/iconbutton/lib/filled-tonal-styles.css.js +1 -1
- package/iconbutton/lib/filled-tonal-styles.css.js.map +1 -1
- package/iconbutton/lib/icon-button.d.ts +17 -25
- package/iconbutton/lib/icon-button.js +37 -73
- package/iconbutton/lib/icon-button.js.map +1 -1
- package/iconbutton/lib/outlined-styles.css.js +1 -1
- package/iconbutton/lib/outlined-styles.css.js.map +1 -1
- package/iconbutton/lib/shared-styles.css.js +1 -1
- package/iconbutton/lib/shared-styles.css.js.map +1 -1
- package/iconbutton/lib/standard-styles.css.js +1 -1
- package/iconbutton/lib/standard-styles.css.js.map +1 -1
- package/iconbutton/outlined-icon-button.d.ts +5 -2
- package/iconbutton/outlined-icon-button.js.map +1 -1
- package/iconbutton/standard-icon-button.d.ts +5 -2
- package/iconbutton/standard-icon-button.js.map +1 -1
- package/linearprogress/_linear-progress.scss +6 -0
- package/linearprogress/harness.d.ts +13 -0
- package/linearprogress/harness.js +18 -0
- package/linearprogress/harness.js.map +1 -0
- package/linearprogress/lib/_linear-progress.scss +386 -0
- package/linearprogress/lib/linear-progress-styles.css.d.ts +1 -0
- package/linearprogress/lib/linear-progress-styles.css.js +9 -0
- package/linearprogress/lib/linear-progress-styles.css.js.map +1 -0
- package/linearprogress/lib/linear-progress-styles.scss +8 -0
- package/linearprogress/lib/linear-progress.d.ts +35 -0
- package/linearprogress/lib/linear-progress.js +127 -0
- package/linearprogress/lib/linear-progress.js.map +1 -0
- package/linearprogress/linear-progress.d.ts +23 -0
- package/linearprogress/linear-progress.js +26 -0
- package/linearprogress/linear-progress.js.map +1 -0
- package/list/lib/_list.scss +9 -50
- package/list/lib/list-styles.css.js +1 -1
- package/list/lib/list-styles.css.js.map +1 -1
- package/list/lib/list.d.ts +8 -15
- package/list/lib/list.js +20 -45
- package/list/lib/list.js.map +1 -1
- package/list/lib/listitem/_list-item.scss +17 -72
- package/list/lib/listitem/forced-colors-styles.css.js +1 -1
- package/list/lib/listitem/forced-colors-styles.css.js.map +1 -1
- package/list/lib/listitem/list-item-styles.css.js +1 -1
- package/list/lib/listitem/list-item-styles.css.js.map +1 -1
- package/list/lib/listitem/list-item.d.ts +29 -31
- package/list/lib/listitem/list-item.js +26 -80
- package/list/lib/listitem/list-item.js.map +1 -1
- package/list/lib/listitemlink/list-item-link.js +5 -9
- package/list/lib/listitemlink/list-item-link.js.map +1 -1
- package/menu/lib/_menu.scss +9 -29
- package/menu/lib/menu-styles.css.js +1 -1
- package/menu/lib/menu-styles.css.js.map +1 -1
- package/menu/lib/menu.d.ts +32 -41
- package/menu/lib/menu.js +51 -82
- package/menu/lib/menu.js.map +1 -1
- package/menu/lib/menuitem/_menu-item.scss +16 -33
- package/menu/lib/menuitem/menu-item-styles.css.js +1 -1
- package/menu/lib/menuitem/menu-item-styles.css.js.map +1 -1
- package/menu/lib/menuitem/menu-item.d.ts +1 -1
- package/menu/lib/menuitem/menu-item.js +4 -6
- package/menu/lib/menuitem/menu-item.js.map +1 -1
- package/menu/lib/menuitemlink/menu-item-link.d.ts +0 -2
- package/menu/lib/menuitemlink/menu-item-link.js +3 -6
- package/menu/lib/menuitemlink/menu-item-link.js.map +1 -1
- package/menu/lib/shared.d.ts +20 -2
- package/menu/lib/shared.js +18 -0
- package/menu/lib/shared.js.map +1 -1
- package/menu/lib/submenuitem/sub-menu-item.d.ts +16 -13
- package/menu/lib/submenuitem/sub-menu-item.js +27 -18
- package/menu/lib/submenuitem/sub-menu-item.js.map +1 -1
- package/menu/lib/typeaheadController.d.ts +9 -9
- package/menu/lib/typeaheadController.js.map +1 -1
- package/navigationbar/lib/_navigation-bar.scss +7 -1
- package/navigationbar/lib/navigation-bar-styles.css.js +1 -1
- package/navigationbar/lib/navigation-bar-styles.css.js.map +1 -1
- package/navigationbar/lib/navigation-bar.d.ts +6 -6
- package/navigationbar/lib/navigation-bar.js +17 -18
- package/navigationbar/lib/navigation-bar.js.map +1 -1
- package/navigationbar/navigation-bar.d.ts +0 -1
- package/navigationbar/navigation-bar.js +0 -1
- package/navigationbar/navigation-bar.js.map +1 -1
- package/navigationdrawer/lib/_navigation-drawer-modal.scss +0 -3
- package/navigationdrawer/lib/_navigation-drawer.scss +0 -3
- package/navigationdrawer/lib/_shared.scss +1 -4
- package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js +1 -1
- package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js.map +1 -1
- package/navigationdrawer/lib/navigation-drawer-modal.d.ts +7 -12
- package/navigationdrawer/lib/navigation-drawer-modal.js +19 -41
- package/navigationdrawer/lib/navigation-drawer-modal.js.map +1 -1
- package/navigationdrawer/lib/navigation-drawer-styles.css.js +1 -1
- package/navigationdrawer/lib/navigation-drawer-styles.css.js.map +1 -1
- package/navigationdrawer/lib/navigation-drawer.d.ts +6 -10
- package/navigationdrawer/lib/navigation-drawer.js +17 -38
- package/navigationdrawer/lib/navigation-drawer.js.map +1 -1
- package/navigationdrawer/lib/shared-styles.css.js +1 -1
- package/navigationdrawer/lib/shared-styles.css.js.map +1 -1
- package/navigationdrawer/navigation-drawer-modal.d.ts +0 -1
- package/navigationdrawer/navigation-drawer-modal.js +0 -1
- package/navigationdrawer/navigation-drawer-modal.js.map +1 -1
- package/navigationdrawer/navigation-drawer.d.ts +0 -1
- package/navigationdrawer/navigation-drawer.js +0 -1
- package/navigationdrawer/navigation-drawer.js.map +1 -1
- package/navigationtab/lib/_navigation-tab.scss +2 -2
- package/navigationtab/lib/navigation-tab-styles.css.js +1 -1
- package/navigationtab/lib/navigation-tab-styles.css.js.map +1 -1
- package/navigationtab/lib/navigation-tab.d.ts +16 -29
- package/navigationtab/lib/navigation-tab.js +49 -88
- package/navigationtab/lib/navigation-tab.js.map +1 -1
- package/navigationtab/lib/state.d.ts +1 -1
- package/navigationtab/lib/state.js.map +1 -1
- package/navigationtab/navigation-tab.d.ts +0 -1
- package/navigationtab/navigation-tab.js +0 -1
- package/navigationtab/navigation-tab.js.map +1 -1
- package/package.json +1 -1
- package/radio/lib/_radio.scss +1 -1
- package/radio/lib/radio-styles.css.js +1 -1
- package/radio/lib/radio-styles.css.js.map +1 -1
- package/radio/lib/radio.d.ts +2 -8
- package/radio/lib/radio.js +31 -58
- package/radio/lib/radio.js.map +1 -1
- package/ripple/lib/ripple.js +11 -13
- package/ripple/lib/ripple.js.map +1 -1
- package/segmentedbutton/lib/outlined-segmented-button.d.ts +16 -7
- package/segmentedbutton/lib/outlined-segmented-button.js +3 -3
- package/segmentedbutton/lib/outlined-segmented-button.js.map +1 -1
- package/segmentedbutton/lib/segmented-button.d.ts +28 -40
- package/segmentedbutton/lib/segmented-button.js +42 -96
- package/segmentedbutton/lib/segmented-button.js.map +1 -1
- package/segmentedbutton/outlined-segmented-button.d.ts +0 -1
- package/segmentedbutton/outlined-segmented-button.js +0 -1
- package/segmentedbutton/outlined-segmented-button.js.map +1 -1
- package/segmentedbuttonset/lib/_outlined-segmented-button-set.scss +32 -13
- package/segmentedbuttonset/lib/outlined-segmented-button-set.d.ts +6 -4
- package/segmentedbuttonset/lib/outlined-segmented-button-set.js +3 -2
- package/segmentedbuttonset/lib/outlined-segmented-button-set.js.map +1 -1
- package/segmentedbuttonset/lib/outlined-styles.css.js +1 -1
- package/segmentedbuttonset/lib/outlined-styles.css.js.map +1 -1
- package/segmentedbuttonset/lib/segmented-button-set.d.ts +3 -9
- package/segmentedbuttonset/lib/segmented-button-set.js +14 -20
- package/segmentedbuttonset/lib/segmented-button-set.js.map +1 -1
- package/segmentedbuttonset/outlined-segmented-button-set.d.ts +0 -1
- package/segmentedbuttonset/outlined-segmented-button-set.js +0 -1
- package/segmentedbuttonset/outlined-segmented-button-set.js.map +1 -1
- package/select/_filled-select.scss +6 -0
- package/select/_outlined-select.scss +6 -0
- package/select/filled-select.d.ts +41 -0
- package/select/filled-select.js +46 -0
- package/select/filled-select.js.map +1 -0
- package/select/harness.d.ts +24 -0
- package/select/harness.js +53 -0
- package/select/harness.js.map +1 -0
- package/select/lib/_filled-select.scss +222 -0
- package/select/lib/_outlined-select.scss +180 -0
- package/select/lib/_shared.scss +48 -0
- package/select/lib/filled-forced-colors-styles.css.d.ts +1 -0
- package/select/lib/filled-forced-colors-styles.css.js +9 -0
- package/select/lib/filled-forced-colors-styles.css.js.map +1 -0
- package/select/lib/filled-forced-colors-styles.scss +29 -0
- package/select/lib/filled-select-styles.css.d.ts +1 -0
- package/select/lib/filled-select-styles.css.js +9 -0
- package/select/lib/filled-select-styles.css.js.map +1 -0
- package/select/lib/filled-select-styles.scss +10 -0
- package/select/lib/filled-select.d.ts +10 -0
- package/select/lib/filled-select.js +16 -0
- package/select/lib/filled-select.js.map +1 -0
- package/select/lib/outlined-forced-colors-styles.css.d.ts +1 -0
- package/select/lib/outlined-forced-colors-styles.css.js +9 -0
- package/select/lib/outlined-forced-colors-styles.css.js.map +1 -0
- package/select/lib/outlined-forced-colors-styles.scss +29 -0
- package/select/lib/outlined-select-styles.css.d.ts +1 -0
- package/select/lib/outlined-select-styles.css.js +9 -0
- package/select/lib/outlined-select-styles.css.js.map +1 -0
- package/select/lib/outlined-select-styles.scss +10 -0
- package/select/lib/outlined-select.d.ts +10 -0
- package/select/lib/outlined-select.js +16 -0
- package/select/lib/outlined-select.js.map +1 -0
- package/select/lib/select.d.ts +216 -0
- package/select/lib/select.js +589 -0
- package/select/lib/select.js.map +1 -0
- package/select/lib/selectoption/harness.d.ts +11 -0
- package/select/lib/selectoption/harness.js +12 -0
- package/select/lib/selectoption/harness.js.map +1 -0
- package/select/lib/selectoption/select-option.d.ts +30 -0
- package/select/lib/selectoption/select-option.js +71 -0
- package/select/lib/selectoption/select-option.js.map +1 -0
- package/select/lib/shared-styles.css.d.ts +1 -0
- package/select/lib/shared-styles.css.js +9 -0
- package/select/lib/shared-styles.css.js.map +1 -0
- package/select/lib/shared-styles.scss +10 -0
- package/select/lib/shared.d.ts +52 -0
- package/select/lib/shared.js +41 -0
- package/select/lib/shared.js.map +1 -0
- package/select/outlined-select.d.ts +41 -0
- package/select/outlined-select.js +46 -0
- package/select/outlined-select.js.map +1 -0
- package/select/select-option.d.ts +44 -0
- package/select/select-option.js +51 -0
- package/select/select-option.js.map +1 -0
- package/slider/harness.d.ts +2 -1
- package/slider/harness.js +14 -9
- package/slider/harness.js.map +1 -1
- package/slider/lib/_slider.scss +149 -167
- package/slider/lib/forced-colors-styles.css.js +1 -1
- package/slider/lib/forced-colors-styles.css.js.map +1 -1
- package/slider/lib/forced-colors-styles.scss +2 -2
- package/slider/lib/slider-styles.css.js +1 -1
- package/slider/lib/slider-styles.css.js.map +1 -1
- package/slider/lib/slider.d.ts +23 -57
- package/slider/lib/slider.js +77 -167
- package/slider/lib/slider.js.map +1 -1
- package/switch/lib/_switch.scss +63 -18
- package/switch/lib/switch-styles.css.js +1 -1
- package/switch/lib/switch-styles.css.js.map +1 -1
- package/switch/lib/switch.d.ts +0 -7
- package/switch/lib/switch.js +32 -79
- package/switch/lib/switch.js.map +1 -1
- package/textfield/harness.d.ts +1 -1
- package/textfield/harness.js.map +1 -1
- package/textfield/lib/_filled-text-field.scss +70 -14
- package/textfield/lib/_outlined-text-field.scss +60 -35
- package/textfield/lib/filled-forced-colors-styles.css.js +1 -1
- package/textfield/lib/filled-forced-colors-styles.css.js.map +1 -1
- package/textfield/lib/filled-styles.css.js +1 -1
- package/textfield/lib/filled-styles.css.js.map +1 -1
- package/textfield/lib/outlined-forced-colors-styles.css.js +1 -1
- package/textfield/lib/outlined-forced-colors-styles.css.js.map +1 -1
- package/textfield/lib/outlined-styles.css.js +1 -1
- package/textfield/lib/outlined-styles.css.js.map +1 -1
- package/textfield/lib/text-field.d.ts +1 -11
- package/textfield/lib/text-field.js +45 -115
- package/textfield/lib/text-field.js.map +1 -1
- package/tokens/_index.scss +5 -18
- package/tokens/_md-comp-assist-chip.scss +25 -29
- package/tokens/_md-comp-checkbox.scss +78 -1
- package/tokens/_md-comp-circular-progress-indicator.scss +39 -13
- package/tokens/_md-comp-elevated-button.scss +0 -10
- package/tokens/_md-comp-elevation.scss +0 -4
- package/tokens/_md-comp-fab-branded.scss +84 -1
- package/tokens/_md-comp-fab.scss +249 -0
- package/tokens/_md-comp-filled-button.scss +0 -10
- package/{field/lib → tokens}/_md-comp-filled-field.scss +91 -9
- package/tokens/_md-comp-filled-icon-button.scss +46 -1
- package/tokens/_md-comp-filled-select.scss +124 -1
- package/tokens/_md-comp-filled-text-field.scss +93 -9
- package/tokens/_md-comp-filled-tonal-button.scss +0 -11
- package/tokens/_md-comp-filled-tonal-icon-button.scss +45 -3
- package/tokens/_md-comp-filter-chip.scss +103 -103
- package/tokens/_md-comp-focus-ring.scss +23 -24
- package/tokens/_md-comp-icon-button.scss +37 -1
- package/tokens/_md-comp-input-chip.scss +77 -95
- package/tokens/_md-comp-linear-progress-indicator.scss +31 -3
- package/tokens/_md-comp-list-item.scss +174 -0
- package/tokens/_md-comp-list.scss +81 -26
- package/tokens/_md-comp-menu-item.scss +50 -0
- package/tokens/_md-comp-menu.scss +29 -2
- package/tokens/_md-comp-outlined-button.scss +0 -10
- package/{field/lib → tokens}/_md-comp-outlined-field.scss +85 -9
- package/tokens/_md-comp-outlined-icon-button.scss +41 -1
- package/tokens/_md-comp-outlined-segmented-button.scss +57 -11
- package/tokens/_md-comp-outlined-select.scss +123 -1
- package/tokens/_md-comp-outlined-text-field.scss +85 -8
- package/tokens/_md-comp-slider.scss +13 -1
- package/tokens/_md-comp-suggestion-chip.scss +29 -30
- package/tokens/_md-comp-switch.scss +81 -1
- package/tokens/_md-comp-text-button.scss +0 -10
- package/tokens/_values.scss +2 -4
- package/types/aria.d.ts +59 -1
- package/actionelement/action-element.d.ts +0 -79
- package/actionelement/action-element.js +0 -97
- package/actionelement/action-element.js.map +0 -1
- package/button/lib/state.d.ts +0 -10
- package/button/lib/state.js +0 -7
- package/button/lib/state.js.map +0 -1
- package/controller/action-controller.d.ts +0 -147
- package/controller/action-controller.js +0 -286
- package/controller/action-controller.js.map +0 -1
- package/decorators/aria-property.d.ts +0 -32
- package/decorators/aria-property.js +0 -99
- package/decorators/aria-property.js.map +0 -1
- package/fab/_fab-extended.scss +0 -6
- package/fab/fab-extended.d.ts +0 -23
- package/fab/fab-extended.js +0 -29
- package/fab/fab-extended.js.map +0 -1
- package/fab/lib/_fab-extended.scss +0 -73
- package/fab/lib/fab-extended-styles.css.js +0 -9
- package/fab/lib/fab-extended-styles.css.js.map +0 -1
- package/fab/lib/fab-extended.d.ts +0 -19
- package/fab/lib/fab-extended.js +0 -28
- package/fab/lib/fab-extended.js.map +0 -1
- package/fab/lib/fab-shared-styles.css.js +0 -9
- package/fab/lib/fab-shared-styles.css.js.map +0 -1
- package/fab/lib/fab-shared.d.ts +0 -44
- package/fab/lib/fab-shared.js +0 -121
- package/fab/lib/fab-shared.js.map +0 -1
- package/focus/strong-focus.d.ts +0 -56
- package/focus/strong-focus.js +0 -96
- package/focus/strong-focus.js.map +0 -1
- package/sass/_shape.scss +0 -154
- package/slider/lib/_tokens.scss +0 -65
- package/tokens/_md-comp-extended-fab-branded.scss +0 -45
- package/tokens/_md-comp-extended-fab-primary.scss +0 -45
- package/tokens/_md-comp-extended-fab-secondary.scss +0 -48
- package/tokens/_md-comp-extended-fab-surface.scss +0 -45
- package/tokens/_md-comp-extended-fab-tertiary.scss +0 -48
- package/tokens/_md-comp-fab-branded-large.scss +0 -23
- package/tokens/_md-comp-fab-primary-large.scss +0 -23
- package/tokens/_md-comp-fab-primary-small.scss +0 -23
- package/tokens/_md-comp-fab-primary.scss +0 -23
- package/tokens/_md-comp-fab-secondary-large.scss +0 -23
- package/tokens/_md-comp-fab-secondary-small.scss +0 -23
- package/tokens/_md-comp-fab-secondary.scss +0 -23
- package/tokens/_md-comp-fab-surface-large.scss +0 -23
- package/tokens/_md-comp-fab-surface-small.scss +0 -23
- package/tokens/_md-comp-fab-surface.scss +0 -23
- package/tokens/_md-comp-fab-tertiary-large.scss +0 -23
- package/tokens/_md-comp-fab-tertiary-small.scss +0 -23
- package/tokens/_md-comp-fab-tertiary.scss +0 -23
- /package/{fab/lib/fab-extended-styles.css.d.ts → chips/lib/elevated-styles.css.d.ts} +0 -0
- /package/{fab/lib/fab-shared-styles.css.d.ts → chips/lib/filter-styles.css.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -34,23 +34,23 @@ changes.
|
|
|
34
34
|
Component | Alpha | Beta | Stable
|
|
35
35
|
----------------------------- | :---: | :--: | :----:
|
|
36
36
|
Button | ✅ | ✅ | ❌
|
|
37
|
-
FAB | ✅ |
|
|
37
|
+
FAB | ✅ | ✅ | ❌
|
|
38
38
|
Icon button | ✅ | ✅ | ❌
|
|
39
39
|
Checkbox | ✅ | ✅ | ❌
|
|
40
40
|
Chips | 🟡 | ❌ | ❌
|
|
41
41
|
Dialog | ✅ | ✅ | ❌
|
|
42
42
|
Divider | ✅ | ✅ | 🟡
|
|
43
|
-
Elevation | ✅ |
|
|
44
|
-
Focus ring | ✅ |
|
|
43
|
+
Elevation | ✅ | ✅ | 🟡
|
|
44
|
+
Focus ring | ✅ | ✅ | 🟡
|
|
45
45
|
Field | ✅ | ✅ | 🟡
|
|
46
46
|
Icon | ✅ | ✅ | ❌
|
|
47
|
-
List | ✅ |
|
|
48
|
-
Menu | ✅ |
|
|
49
|
-
Progress indicator (circular) | ✅ |
|
|
50
|
-
Progress indicator (linear) |
|
|
47
|
+
List | ✅ | ✅ | ❌
|
|
48
|
+
Menu | ✅ | ✅ | ❌
|
|
49
|
+
Progress indicator (circular) | ✅ | ✅ | 🟡
|
|
50
|
+
Progress indicator (linear) | ✅ | ✅ | 🟡
|
|
51
51
|
Radio button | ✅ | ✅ | ❌
|
|
52
52
|
Ripple | ✅ | ✅ | 🟡
|
|
53
|
-
Select |
|
|
53
|
+
Select | ✅ | ✅ | ❌
|
|
54
54
|
Slider | ✅ | ✅ | ❌
|
|
55
55
|
Switch | ✅ | ✅ | ❌
|
|
56
56
|
Tabs | 🟡 | ❌ | ❌
|
package/aria/aria.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Accessibility Object Model reflective aria property name types.
|
|
8
|
+
*/
|
|
9
|
+
export type ARIAProperty = Exclude<keyof ARIAMixin, 'role'>;
|
|
10
|
+
/**
|
|
11
|
+
* Accessibility Object Model reflective aria properties.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ARIA_PROPERTIES: ARIAProperty[];
|
|
14
|
+
/**
|
|
15
|
+
* Accessibility Object Model aria attribute name types.
|
|
16
|
+
*/
|
|
17
|
+
export type ARIAAttribute = ARIAPropertyToAttribute<ARIAProperty>;
|
|
18
|
+
/**
|
|
19
|
+
* Accessibility Object Model aria attributes.
|
|
20
|
+
*/
|
|
21
|
+
export declare const ARIA_ATTRIBUTES: ("aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-current" | "aria-disabled" | "aria-expanded" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext")[];
|
|
22
|
+
/**
|
|
23
|
+
* Checks if an attribute is one of the AOM aria attributes.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* isAriaAttribute('aria-label'); // true
|
|
27
|
+
*
|
|
28
|
+
* @param attribute The attribute to check.
|
|
29
|
+
* @return True if the attribute is an aria attribute, or false if not.
|
|
30
|
+
*/
|
|
31
|
+
export declare function isAriaAttribute(attribute: string): attribute is ARIAAttribute;
|
|
32
|
+
/**
|
|
33
|
+
* Converts an AOM aria property into its corresponding attribute.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ariaPropertyToAttribute('ariaLabel'); // 'aria-label'
|
|
37
|
+
*
|
|
38
|
+
* @param property The aria property.
|
|
39
|
+
* @return The aria attribute.
|
|
40
|
+
*/
|
|
41
|
+
export declare function ariaPropertyToAttribute<K extends ARIAProperty | 'role'>(property: K): ARIAPropertyToAttribute<K>;
|
|
42
|
+
type ARIAPropertyToAttribute<K extends string> = K extends `aria${infer Suffix}Element${infer OptS}` ? `aria-${Lowercase<Suffix>}` : K extends `aria${infer Suffix}` ? `aria-${Lowercase<Suffix>}` : K;
|
|
43
|
+
export {};
|
package/aria/aria.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Accessibility Object Model reflective aria properties.
|
|
8
|
+
*/
|
|
9
|
+
export const ARIA_PROPERTIES = [
|
|
10
|
+
'ariaAtomic',
|
|
11
|
+
'ariaAutoComplete',
|
|
12
|
+
'ariaBusy',
|
|
13
|
+
'ariaChecked',
|
|
14
|
+
'ariaColCount',
|
|
15
|
+
'ariaColIndex',
|
|
16
|
+
'ariaColSpan',
|
|
17
|
+
'ariaCurrent',
|
|
18
|
+
'ariaDisabled',
|
|
19
|
+
'ariaExpanded',
|
|
20
|
+
'ariaHasPopup',
|
|
21
|
+
'ariaHidden',
|
|
22
|
+
'ariaInvalid',
|
|
23
|
+
'ariaKeyShortcuts',
|
|
24
|
+
'ariaLabel',
|
|
25
|
+
'ariaLevel',
|
|
26
|
+
'ariaLive',
|
|
27
|
+
'ariaModal',
|
|
28
|
+
'ariaMultiLine',
|
|
29
|
+
'ariaMultiSelectable',
|
|
30
|
+
'ariaOrientation',
|
|
31
|
+
'ariaPlaceholder',
|
|
32
|
+
'ariaPosInSet',
|
|
33
|
+
'ariaPressed',
|
|
34
|
+
'ariaReadOnly',
|
|
35
|
+
'ariaRequired',
|
|
36
|
+
'ariaRoleDescription',
|
|
37
|
+
'ariaRowCount',
|
|
38
|
+
'ariaRowIndex',
|
|
39
|
+
'ariaRowSpan',
|
|
40
|
+
'ariaSelected',
|
|
41
|
+
'ariaSetSize',
|
|
42
|
+
'ariaSort',
|
|
43
|
+
'ariaValueMax',
|
|
44
|
+
'ariaValueMin',
|
|
45
|
+
'ariaValueNow',
|
|
46
|
+
'ariaValueText',
|
|
47
|
+
];
|
|
48
|
+
/**
|
|
49
|
+
* Accessibility Object Model aria attributes.
|
|
50
|
+
*/
|
|
51
|
+
export const ARIA_ATTRIBUTES = ARIA_PROPERTIES.map(ariaPropertyToAttribute);
|
|
52
|
+
/**
|
|
53
|
+
* Checks if an attribute is one of the AOM aria attributes.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* isAriaAttribute('aria-label'); // true
|
|
57
|
+
*
|
|
58
|
+
* @param attribute The attribute to check.
|
|
59
|
+
* @return True if the attribute is an aria attribute, or false if not.
|
|
60
|
+
*/
|
|
61
|
+
export function isAriaAttribute(attribute) {
|
|
62
|
+
return attribute.startsWith('aria-');
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Converts an AOM aria property into its corresponding attribute.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ariaPropertyToAttribute('ariaLabel'); // 'aria-label'
|
|
69
|
+
*
|
|
70
|
+
* @param property The aria property.
|
|
71
|
+
* @return The aria attribute.
|
|
72
|
+
*/
|
|
73
|
+
export function ariaPropertyToAttribute(property) {
|
|
74
|
+
return property
|
|
75
|
+
.replace('aria', 'aria-')
|
|
76
|
+
// IDREF attributes also include an "Element" or "Elements" suffix
|
|
77
|
+
.replace(/Elements?/g, '')
|
|
78
|
+
.toLowerCase();
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=aria.js.map
|
package/aria/aria.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aria.js","sourceRoot":"","sources":["aria.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAmB;IAC7C,YAAY;IACZ,kBAAkB;IAClB,UAAU;IACV,aAAa;IACb,cAAc;IACd,cAAc;IACd,aAAa;IACb,aAAa;IACb,cAAc;IACd,cAAc;IACd,cAAc;IACd,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,WAAW;IACX,WAAW;IACX,UAAU;IACV,WAAW;IACX,eAAe;IACf,qBAAqB;IACrB,iBAAiB;IACjB,iBAAiB;IACjB,cAAc;IACd,aAAa;IACb,cAAc;IACd,cAAc;IACd,qBAAqB;IACrB,cAAc;IACd,cAAc;IACd,aAAa;IACb,cAAc;IACd,aAAa;IACb,UAAU;IACV,cAAc;IACd,cAAc;IACd,cAAc;IACd,eAAe;CAChB,CAAC;AAOF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;AAE5E;;;;;;;;GAQG;AACH,MAAM,UAAU,eAAe,CAAC,SAAiB;IAC/C,OAAO,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AACvC,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,uBAAuB,CACnC,QAAW;IACb,OAAO,QAAQ;SACH,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC;QACzB,kEAAkE;SACjE,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC;SACzB,WAAW,EAAgC,CAAC;AAC1D,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * Accessibility Object Model reflective aria property name types.\n */\nexport type ARIAProperty = Exclude<keyof ARIAMixin, 'role'>;\n\n/**\n * Accessibility Object Model reflective aria properties.\n */\nexport const ARIA_PROPERTIES: ARIAProperty[] = [\n 'ariaAtomic',\n 'ariaAutoComplete',\n 'ariaBusy',\n 'ariaChecked',\n 'ariaColCount',\n 'ariaColIndex',\n 'ariaColSpan',\n 'ariaCurrent',\n 'ariaDisabled',\n 'ariaExpanded',\n 'ariaHasPopup',\n 'ariaHidden',\n 'ariaInvalid',\n 'ariaKeyShortcuts',\n 'ariaLabel',\n 'ariaLevel',\n 'ariaLive',\n 'ariaModal',\n 'ariaMultiLine',\n 'ariaMultiSelectable',\n 'ariaOrientation',\n 'ariaPlaceholder',\n 'ariaPosInSet',\n 'ariaPressed',\n 'ariaReadOnly',\n 'ariaRequired',\n 'ariaRoleDescription',\n 'ariaRowCount',\n 'ariaRowIndex',\n 'ariaRowSpan',\n 'ariaSelected',\n 'ariaSetSize',\n 'ariaSort',\n 'ariaValueMax',\n 'ariaValueMin',\n 'ariaValueNow',\n 'ariaValueText',\n];\n\n/**\n * Accessibility Object Model aria attribute name types.\n */\nexport type ARIAAttribute = ARIAPropertyToAttribute<ARIAProperty>;\n\n/**\n * Accessibility Object Model aria attributes.\n */\nexport const ARIA_ATTRIBUTES = ARIA_PROPERTIES.map(ariaPropertyToAttribute);\n\n/**\n * Checks if an attribute is one of the AOM aria attributes.\n *\n * @example\n * isAriaAttribute('aria-label'); // true\n *\n * @param attribute The attribute to check.\n * @return True if the attribute is an aria attribute, or false if not.\n */\nexport function isAriaAttribute(attribute: string): attribute is ARIAAttribute {\n return attribute.startsWith('aria-');\n}\n\n/**\n * Converts an AOM aria property into its corresponding attribute.\n *\n * @example\n * ariaPropertyToAttribute('ariaLabel'); // 'aria-label'\n *\n * @param property The aria property.\n * @return The aria attribute.\n */\nexport function ariaPropertyToAttribute<K extends ARIAProperty|'role'>(\n property: K) {\n return property\n .replace('aria', 'aria-')\n // IDREF attributes also include an \"Element\" or \"Elements\" suffix\n .replace(/Elements?/g, '')\n .toLowerCase() as ARIAPropertyToAttribute<K>;\n}\n\n// Converts an `ariaFoo` string type to an `aria-foo` string type.\ntype ARIAPropertyToAttribute<K extends string> =\n K extends `aria${infer Suffix}Element${infer OptS}` ?\n `aria-${Lowercase < Suffix >}` :\n K extends `aria${infer Suffix}` ? `aria-${Lowercase < Suffix >}` : K;\n"]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { ReactiveElement } from 'lit';
|
|
7
|
+
/**
|
|
8
|
+
* Sets up a `ReactiveElement` constructor to enable updates when delegating
|
|
9
|
+
* aria attributes. Elements may bind `this.aria*` properties to `aria-*`
|
|
10
|
+
* attributes in their render functions.
|
|
11
|
+
*
|
|
12
|
+
* This function will:
|
|
13
|
+
* - Call `requestUpdate()` when an aria attribute changes.
|
|
14
|
+
* - Add `role="presentation"` to the host.
|
|
15
|
+
*
|
|
16
|
+
* NOTE: The following features are not currently supported:
|
|
17
|
+
* - Delegating IDREF attributes (ex: `aria-labelledby`, `aria-controls`)
|
|
18
|
+
* - Delegating the `role` attribute
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* class XButton extends LitElement {
|
|
22
|
+
* static {
|
|
23
|
+
* requestUpdateOnAriaChange(this);
|
|
24
|
+
* }
|
|
25
|
+
*
|
|
26
|
+
* protected override render() {
|
|
27
|
+
* return html`
|
|
28
|
+
* <button aria-label=${this.ariaLabel || nothing}>
|
|
29
|
+
* <slot></slot>
|
|
30
|
+
* </button>
|
|
31
|
+
* `;
|
|
32
|
+
* }
|
|
33
|
+
* }
|
|
34
|
+
*
|
|
35
|
+
* @param ctor The `ReactiveElement` constructor to patch.
|
|
36
|
+
*/
|
|
37
|
+
export declare function requestUpdateOnAriaChange(ctor: typeof ReactiveElement): void;
|
package/aria/delegate.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { ARIA_PROPERTIES, ariaPropertyToAttribute } from './aria.js';
|
|
7
|
+
/**
|
|
8
|
+
* Sets up a `ReactiveElement` constructor to enable updates when delegating
|
|
9
|
+
* aria attributes. Elements may bind `this.aria*` properties to `aria-*`
|
|
10
|
+
* attributes in their render functions.
|
|
11
|
+
*
|
|
12
|
+
* This function will:
|
|
13
|
+
* - Call `requestUpdate()` when an aria attribute changes.
|
|
14
|
+
* - Add `role="presentation"` to the host.
|
|
15
|
+
*
|
|
16
|
+
* NOTE: The following features are not currently supported:
|
|
17
|
+
* - Delegating IDREF attributes (ex: `aria-labelledby`, `aria-controls`)
|
|
18
|
+
* - Delegating the `role` attribute
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* class XButton extends LitElement {
|
|
22
|
+
* static {
|
|
23
|
+
* requestUpdateOnAriaChange(this);
|
|
24
|
+
* }
|
|
25
|
+
*
|
|
26
|
+
* protected override render() {
|
|
27
|
+
* return html`
|
|
28
|
+
* <button aria-label=${this.ariaLabel || nothing}>
|
|
29
|
+
* <slot></slot>
|
|
30
|
+
* </button>
|
|
31
|
+
* `;
|
|
32
|
+
* }
|
|
33
|
+
* }
|
|
34
|
+
*
|
|
35
|
+
* @param ctor The `ReactiveElement` constructor to patch.
|
|
36
|
+
*/
|
|
37
|
+
export function requestUpdateOnAriaChange(ctor) {
|
|
38
|
+
for (const ariaProperty of ARIA_PROPERTIES) {
|
|
39
|
+
ctor.createProperty(ariaProperty, {
|
|
40
|
+
attribute: ariaPropertyToAttribute(ariaProperty),
|
|
41
|
+
reflect: true,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
ctor.addInitializer(element => {
|
|
45
|
+
const controller = {
|
|
46
|
+
hostConnected() {
|
|
47
|
+
element.setAttribute('role', 'presentation');
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
element.addController(controller);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=delegate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delegate.js","sourceRoot":"","sources":["delegate.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAC,eAAe,EAAE,uBAAuB,EAAC,MAAM,WAAW,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,UAAU,yBAAyB,CAAC,IAA4B;IACpE,KAAK,MAAM,YAAY,IAAI,eAAe,EAAE;QAC1C,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE;YAChC,SAAS,EAAE,uBAAuB,CAAC,YAAY,CAAC;YAChD,OAAO,EAAE,IAAI;SACd,CAAC,CAAC;KACJ;IAED,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE;QAC5B,MAAM,UAAU,GAAG;YACjB,aAAa;gBACX,OAAO,CAAC,YAAY,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;YAC/C,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {ReactiveElement} from 'lit';\n\nimport {ARIA_PROPERTIES, ariaPropertyToAttribute} from './aria.js';\n\n/**\n * Sets up a `ReactiveElement` constructor to enable updates when delegating\n * aria attributes. Elements may bind `this.aria*` properties to `aria-*`\n * attributes in their render functions.\n *\n * This function will:\n * - Call `requestUpdate()` when an aria attribute changes.\n * - Add `role=\"presentation\"` to the host.\n *\n * NOTE: The following features are not currently supported:\n * - Delegating IDREF attributes (ex: `aria-labelledby`, `aria-controls`)\n * - Delegating the `role` attribute\n *\n * @example\n * class XButton extends LitElement {\n * static {\n * requestUpdateOnAriaChange(this);\n * }\n *\n * protected override render() {\n * return html`\n * <button aria-label=${this.ariaLabel || nothing}>\n * <slot></slot>\n * </button>\n * `;\n * }\n * }\n *\n * @param ctor The `ReactiveElement` constructor to patch.\n */\nexport function requestUpdateOnAriaChange(ctor: typeof ReactiveElement) {\n for (const ariaProperty of ARIA_PROPERTIES) {\n ctor.createProperty(ariaProperty, {\n attribute: ariaPropertyToAttribute(ariaProperty),\n reflect: true,\n });\n }\n\n ctor.addInitializer(element => {\n const controller = {\n hostConnected() {\n element.setAttribute('role', 'presentation');\n }\n };\n\n element.addController(controller);\n });\n}\n"]}
|
package/badge/badge.d.ts
CHANGED
package/badge/badge.js
CHANGED
package/badge/badge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","sourceRoot":"","sources":["badge.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAC,MAAM,EAAC,MAAM,2BAA2B,CAAC;AAQjD
|
|
1
|
+
{"version":3,"file":"badge.js","sourceRoot":"","sources":["badge.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAC,MAAM,EAAC,MAAM,2BAA2B,CAAC;AAQjD;;;GAGG;AAEI,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,KAAK;;AAChB,cAAM,GAAG,CAAC,MAAM,CAAC,CAAC;AADvB,OAAO;IADnB,aAAa,CAAC,UAAU,CAAC;GACb,OAAO,CAEnB;SAFY,OAAO","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {customElement} from 'lit/decorators.js';\n\nimport {Badge} from './lib/badge.js';\nimport {styles} from './lib/badge-styles.css.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-badge': MdBadge;\n }\n}\n\n/**\n * @final\n * @suppress {visibility}\n */\n@customElement('md-badge')\nexport class MdBadge extends Badge {\n static override styles = [styles];\n}\n"]}
|
package/badge/lib/badge.d.ts
CHANGED
|
@@ -3,13 +3,11 @@
|
|
|
3
3
|
* Copyright 2022 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { LitElement
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import { LitElement } from 'lit';
|
|
7
|
+
/**
|
|
8
|
+
* TODO(b/265340196): add docs
|
|
9
|
+
*/
|
|
9
10
|
export declare class Badge extends LitElement {
|
|
10
11
|
value: string;
|
|
11
|
-
|
|
12
|
-
protected render(): TemplateResult;
|
|
13
|
-
/** @soyTemplate */
|
|
14
|
-
protected getRenderClasses(): ClassInfo;
|
|
12
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
|
15
13
|
}
|
package/badge/lib/badge.js
CHANGED
|
@@ -3,29 +3,26 @@
|
|
|
3
3
|
* Copyright 2022 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { __decorate
|
|
6
|
+
import { __decorate } from "tslib";
|
|
7
7
|
import { html, LitElement } from 'lit';
|
|
8
8
|
import { property } from 'lit/decorators.js';
|
|
9
9
|
import { classMap } from 'lit/directives/class-map.js';
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* TODO(b/265340196): add docs
|
|
12
|
+
*/
|
|
11
13
|
export class Badge extends LitElement {
|
|
12
14
|
constructor() {
|
|
13
15
|
super(...arguments);
|
|
14
16
|
this.value = '';
|
|
15
17
|
}
|
|
16
|
-
/** @soyTemplate */
|
|
17
18
|
render() {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return {
|
|
23
|
-
'md3-badge--large': this.value,
|
|
24
|
-
};
|
|
19
|
+
const classes = { 'md3-badge--large': this.value };
|
|
20
|
+
return html `<div class="md3-badge ${classMap(classes)}">
|
|
21
|
+
<p class="md3-badge__value">${this.value}</p>
|
|
22
|
+
</div>`;
|
|
25
23
|
}
|
|
26
24
|
}
|
|
27
25
|
__decorate([
|
|
28
|
-
property(
|
|
29
|
-
__metadata("design:type", Object)
|
|
26
|
+
property()
|
|
30
27
|
], Badge.prototype, "value", void 0);
|
|
31
28
|
//# sourceMappingURL=badge.js.map
|
package/badge/lib/badge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","sourceRoot":"","sources":["badge.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAC,IAAI,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"badge.js","sourceRoot":"","sources":["badge.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAC,IAAI,EAAE,UAAU,EAAC,MAAM,KAAK,CAAC;AACrC,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AAErD;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,UAAU;IAArC;;QACc,UAAK,GAAG,EAAE,CAAC;IASzB,CAAC;IAPoB,MAAM;QACvB,MAAM,OAAO,GAAG,EAAC,kBAAkB,EAAE,IAAI,CAAC,KAAK,EAAC,CAAC;QAEjD,OAAO,IAAI,CAAA,yBAAyB,QAAQ,CAAC,OAAO,CAAC;oCACrB,IAAI,CAAC,KAAK;WACnC,CAAC;IACV,CAAC;CACF;AATa;IAAX,QAAQ,EAAE;oCAAY","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {html, LitElement} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport {classMap} from 'lit/directives/class-map.js';\n\n/**\n * TODO(b/265340196): add docs\n */\nexport class Badge extends LitElement {\n @property() value = '';\n\n protected override render() {\n const classes = {'md3-badge--large': this.value};\n\n return html`<div class=\"md3-badge ${classMap(classes)}\">\n <p class=\"md3-badge__value\">${this.value}</p>\n </div>`;\n }\n}\n"]}
|
|
@@ -4,21 +4,32 @@
|
|
|
4
4
|
//
|
|
5
5
|
|
|
6
6
|
// go/keep-sorted start
|
|
7
|
+
@use 'sass:list';
|
|
7
8
|
@use 'sass:map';
|
|
8
9
|
// go/keep-sorted end
|
|
9
10
|
// go/keep-sorted start
|
|
10
|
-
@use '../../sass/theme';
|
|
11
11
|
@use '../../tokens';
|
|
12
12
|
// go/keep-sorted end
|
|
13
13
|
|
|
14
14
|
@mixin theme($tokens) {
|
|
15
|
-
$tokens:
|
|
16
|
-
tokens
|
|
17
|
-
|
|
15
|
+
$supported-tokens: list.join(
|
|
16
|
+
tokens.$md-comp-elevated-button-supported-tokens,
|
|
17
|
+
(
|
|
18
|
+
'container-shape-start-start',
|
|
19
|
+
'container-shape-start-end',
|
|
20
|
+
'container-shape-end-end',
|
|
21
|
+
'container-shape-end-start'
|
|
22
|
+
)
|
|
18
23
|
);
|
|
19
24
|
|
|
20
25
|
@each $token, $value in $tokens {
|
|
21
|
-
|
|
26
|
+
@if list.index($supported-tokens, $token) {
|
|
27
|
+
@error 'Token `#{$token}` is not a supported token.';
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@if $value {
|
|
31
|
+
--md-elevated-button-#{$token}: #{$value};
|
|
32
|
+
}
|
|
22
33
|
}
|
|
23
34
|
}
|
|
24
35
|
|
|
@@ -27,7 +38,25 @@
|
|
|
27
38
|
|
|
28
39
|
:host {
|
|
29
40
|
@each $token, $value in $tokens {
|
|
30
|
-
--_#{$token}: #{$value};
|
|
41
|
+
--_#{$token}: var(--md-elevated-button-#{$token}, #{$value});
|
|
31
42
|
}
|
|
43
|
+
|
|
44
|
+
// Support logical shape properties
|
|
45
|
+
--_container-shape-start-start: var(
|
|
46
|
+
--md-elevated-button-container-shape-start-start,
|
|
47
|
+
var(--_container-shape)
|
|
48
|
+
);
|
|
49
|
+
--_container-shape-start-end: var(
|
|
50
|
+
--md-elevated-button-container-shape-start-end,
|
|
51
|
+
var(--_container-shape)
|
|
52
|
+
);
|
|
53
|
+
--_container-shape-end-end: var(
|
|
54
|
+
--md-elevated-button-container-shape-end-end,
|
|
55
|
+
var(--_container-shape)
|
|
56
|
+
);
|
|
57
|
+
--_container-shape-end-start: var(
|
|
58
|
+
--md-elevated-button-container-shape-end-start,
|
|
59
|
+
var(--_container-shape)
|
|
60
|
+
);
|
|
32
61
|
}
|
|
33
62
|
}
|
|
@@ -6,18 +6,28 @@
|
|
|
6
6
|
// stylelint-disable selector-class-pattern --
|
|
7
7
|
// Selector '.md3-*' should only be used in this project.
|
|
8
8
|
|
|
9
|
+
// go/keep-sorted start
|
|
10
|
+
@use 'sass:map';
|
|
11
|
+
// go/keep-sorted end
|
|
9
12
|
// go/keep-sorted start
|
|
10
13
|
@use '../../elevation/elevation';
|
|
14
|
+
@use '../../tokens';
|
|
11
15
|
// go/keep-sorted end
|
|
12
16
|
|
|
17
|
+
$_md-sys-motion: tokens.md-sys-motion-values();
|
|
18
|
+
|
|
13
19
|
@mixin styles() {
|
|
20
|
+
md-elevation {
|
|
21
|
+
// TODO: replace duration with animation tokens
|
|
22
|
+
transition-duration: 280ms;
|
|
23
|
+
transition-timing-function: map.get($_md-sys-motion, 'emphasized-easing');
|
|
24
|
+
}
|
|
25
|
+
|
|
14
26
|
.md3-button {
|
|
15
27
|
@include elevation.theme(
|
|
16
28
|
(
|
|
17
|
-
// TODO: replace duration with animation tokens
|
|
18
|
-
'duration': 280ms,
|
|
19
29
|
'level': var(--_container-elevation),
|
|
20
|
-
'shadow-color': var(--_container-shadow-color)
|
|
30
|
+
'shadow-color': var(--_container-shadow-color),
|
|
21
31
|
)
|
|
22
32
|
);
|
|
23
33
|
|
|
@@ -12,10 +12,24 @@
|
|
|
12
12
|
// go/keep-sorted end
|
|
13
13
|
|
|
14
14
|
@mixin theme($tokens) {
|
|
15
|
-
$tokens:
|
|
15
|
+
$supported-tokens: list.join(
|
|
16
|
+
tokens.$md-comp-filled-button-supported-tokens,
|
|
17
|
+
(
|
|
18
|
+
'container-shape-start-start',
|
|
19
|
+
'container-shape-start-end',
|
|
20
|
+
'container-shape-end-end',
|
|
21
|
+
'container-shape-end-start'
|
|
22
|
+
)
|
|
23
|
+
);
|
|
16
24
|
|
|
17
25
|
@each $token, $value in $tokens {
|
|
18
|
-
|
|
26
|
+
@if list.index($supported-tokens, $token) {
|
|
27
|
+
@error 'Token `#{$token}` is not a supported token.';
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@if $value {
|
|
31
|
+
--md-filled-button-#{$token}: #{$value};
|
|
32
|
+
}
|
|
19
33
|
}
|
|
20
34
|
}
|
|
21
35
|
|
|
@@ -24,7 +38,25 @@
|
|
|
24
38
|
|
|
25
39
|
:host {
|
|
26
40
|
@each $token, $value in $tokens {
|
|
27
|
-
--_#{$token}: #{$value};
|
|
41
|
+
--_#{$token}: var(--md-filled-button-#{$token}, #{$value});
|
|
28
42
|
}
|
|
43
|
+
|
|
44
|
+
// Support logical shape properties
|
|
45
|
+
--_container-shape-start-start: var(
|
|
46
|
+
--md-filled-button-container-shape-start-start,
|
|
47
|
+
var(--_container-shape)
|
|
48
|
+
);
|
|
49
|
+
--_container-shape-start-end: var(
|
|
50
|
+
--md-filled-button-container-shape-start-end,
|
|
51
|
+
var(--_container-shape)
|
|
52
|
+
);
|
|
53
|
+
--_container-shape-end-end: var(
|
|
54
|
+
--md-filled-button-container-shape-end-end,
|
|
55
|
+
var(--_container-shape)
|
|
56
|
+
);
|
|
57
|
+
--_container-shape-end-start: var(
|
|
58
|
+
--md-filled-button-container-shape-end-start,
|
|
59
|
+
var(--_container-shape)
|
|
60
|
+
);
|
|
29
61
|
}
|
|
30
62
|
}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
//
|
|
5
5
|
|
|
6
6
|
// go/keep-sorted start
|
|
7
|
+
@use 'sass:list';
|
|
7
8
|
@use 'sass:map';
|
|
8
9
|
// go/keep-sorted end
|
|
9
10
|
// go/keep-sorted start
|
|
10
|
-
@use '../../sass/theme';
|
|
11
11
|
@use '../../tokens';
|
|
12
12
|
// go/keep-sorted end
|
|
13
13
|
|
|
@@ -15,13 +15,24 @@
|
|
|
15
15
|
// Selector '.md3-*' should only be used in this project.
|
|
16
16
|
|
|
17
17
|
@mixin theme($tokens) {
|
|
18
|
-
$tokens:
|
|
19
|
-
tokens
|
|
20
|
-
|
|
18
|
+
$supported-tokens: list.join(
|
|
19
|
+
tokens.$md-comp-outlined-button-supported-tokens,
|
|
20
|
+
(
|
|
21
|
+
'container-shape-start-start',
|
|
22
|
+
'container-shape-start-end',
|
|
23
|
+
'container-shape-end-end',
|
|
24
|
+
'container-shape-end-start'
|
|
25
|
+
)
|
|
21
26
|
);
|
|
22
27
|
|
|
23
28
|
@each $token, $value in $tokens {
|
|
24
|
-
|
|
29
|
+
@if list.index($supported-tokens, $token) {
|
|
30
|
+
@error 'Token `#{$token}` is not a supported token.';
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@if $value {
|
|
34
|
+
--md-outlined-button-#{$token}: #{$value};
|
|
35
|
+
}
|
|
25
36
|
}
|
|
26
37
|
}
|
|
27
38
|
|
|
@@ -30,8 +41,26 @@
|
|
|
30
41
|
|
|
31
42
|
:host {
|
|
32
43
|
@each $token, $value in $tokens {
|
|
33
|
-
--_#{$token}: #{$value};
|
|
44
|
+
--_#{$token}: var(--md-outlined-button-#{$token}, #{$value});
|
|
34
45
|
}
|
|
46
|
+
|
|
47
|
+
// Support logical shape properties
|
|
48
|
+
--_container-shape-start-start: var(
|
|
49
|
+
--md-outlined-button-container-shape-start-start,
|
|
50
|
+
var(--_container-shape)
|
|
51
|
+
);
|
|
52
|
+
--_container-shape-start-end: var(
|
|
53
|
+
--md-outlined-button-container-shape-start-end,
|
|
54
|
+
var(--_container-shape)
|
|
55
|
+
);
|
|
56
|
+
--_container-shape-end-end: var(
|
|
57
|
+
--md-outlined-button-container-shape-end-end,
|
|
58
|
+
var(--_container-shape)
|
|
59
|
+
);
|
|
60
|
+
--_container-shape-end-start: var(
|
|
61
|
+
--md-outlined-button-container-shape-end-start,
|
|
62
|
+
var(--_container-shape)
|
|
63
|
+
);
|
|
35
64
|
}
|
|
36
65
|
|
|
37
66
|
.md3-button__outline {
|
package/button/lib/_shared.scss
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
@use '../../focus/focus-ring';
|
|
14
14
|
@use '../../ripple/ripple';
|
|
15
15
|
@use '../../sass/dom';
|
|
16
|
-
@use '../../sass/shape';
|
|
17
16
|
// go/keep-sorted end
|
|
18
17
|
|
|
19
18
|
@mixin styles() {
|
|
@@ -41,7 +40,10 @@
|
|
|
41
40
|
|
|
42
41
|
@include focus-ring.theme(
|
|
43
42
|
(
|
|
44
|
-
shape:
|
|
43
|
+
'shape-start-start': var(--_container-shape-start-start),
|
|
44
|
+
'shape-start-end': var(--_container-shape-start-end),
|
|
45
|
+
'shape-end-end': var(--_container-shape-end-end),
|
|
46
|
+
'shape-end-start': var(--_container-shape-end-start),
|
|
45
47
|
)
|
|
46
48
|
);
|
|
47
49
|
}
|
|
@@ -7,17 +7,28 @@
|
|
|
7
7
|
@use 'sass:map';
|
|
8
8
|
// go/keep-sorted end
|
|
9
9
|
// go/keep-sorted start
|
|
10
|
-
@use '../../sass/theme';
|
|
11
10
|
@use '../../tokens';
|
|
12
11
|
// go/keep-sorted end
|
|
13
12
|
|
|
14
|
-
$_custom-property-prefix: 'text-button';
|
|
15
|
-
|
|
16
13
|
@mixin theme($tokens) {
|
|
17
|
-
$tokens:
|
|
14
|
+
$supported-tokens: list.join(
|
|
15
|
+
tokens.$md-comp-text-button-supported-tokens,
|
|
16
|
+
(
|
|
17
|
+
'container-shape-start-start',
|
|
18
|
+
'container-shape-start-end',
|
|
19
|
+
'container-shape-end-end',
|
|
20
|
+
'container-shape-end-start'
|
|
21
|
+
)
|
|
22
|
+
);
|
|
18
23
|
|
|
19
24
|
@each $token, $value in $tokens {
|
|
20
|
-
|
|
25
|
+
@if list.index($supported-tokens, $token) {
|
|
26
|
+
@error 'Token `#{$token}` is not a supported token.';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@if $value {
|
|
30
|
+
--md-text-button-#{$token}: #{$value};
|
|
31
|
+
}
|
|
21
32
|
}
|
|
22
33
|
}
|
|
23
34
|
|
|
@@ -26,11 +37,29 @@ $_custom-property-prefix: 'text-button';
|
|
|
26
37
|
|
|
27
38
|
:host {
|
|
28
39
|
@each $token, $value in $tokens {
|
|
29
|
-
--_#{$token}: #{$value};
|
|
40
|
+
--_#{$token}: var(--md-text-button-#{$token}, #{$value});
|
|
30
41
|
}
|
|
31
42
|
|
|
32
43
|
--_container-color: none;
|
|
33
44
|
--_disabled-container-color: none;
|
|
34
45
|
--_disabled-container-opacity: 0;
|
|
46
|
+
|
|
47
|
+
// Support logical shape properties
|
|
48
|
+
--_container-shape-start-start: var(
|
|
49
|
+
--md-text-button-container-shape-start-start,
|
|
50
|
+
var(--_container-shape)
|
|
51
|
+
);
|
|
52
|
+
--_container-shape-start-end: var(
|
|
53
|
+
--md-text-button-container-shape-start-end,
|
|
54
|
+
var(--_container-shape)
|
|
55
|
+
);
|
|
56
|
+
--_container-shape-end-end: var(
|
|
57
|
+
--md-text-button-container-shape-end-end,
|
|
58
|
+
var(--_container-shape)
|
|
59
|
+
);
|
|
60
|
+
--_container-shape-end-start: var(
|
|
61
|
+
--md-text-button-container-shape-end-start,
|
|
62
|
+
var(--_container-shape)
|
|
63
|
+
);
|
|
35
64
|
}
|
|
36
65
|
}
|