@material/web 1.0.0-pre.2 → 1.0.0-pre.4
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/LICENSE +1 -1
- package/README.md +41 -41
- package/autocomplete/autocomplete-item.js.map +1 -1
- package/autocomplete/autocomplete-list.js.map +1 -1
- package/autocomplete/autocomplete-surface.js.map +1 -1
- package/autocomplete/filled-autocomplete.d.ts +0 -2
- package/autocomplete/filled-autocomplete.js +0 -7
- package/autocomplete/filled-autocomplete.js.map +1 -1
- package/autocomplete/lib/_filled-autocomplete.scss +22 -28
- package/autocomplete/lib/_outlined-autocomplete.scss +23 -29
- package/autocomplete/lib/_shared.scss +6 -10
- package/autocomplete/lib/autocomplete.d.ts +2 -2
- package/autocomplete/lib/autocomplete.js +4 -5
- package/autocomplete/lib/autocomplete.js.map +1 -1
- package/autocomplete/lib/autocompletelist/autocomplete-list-styles.scss +2 -0
- package/autocomplete/lib/autocompletesurface/autocomplete-surface-styles.scss +2 -0
- package/autocomplete/lib/filled-styles.css.js +1 -1
- package/autocomplete/lib/filled-styles.css.js.map +1 -1
- package/autocomplete/lib/filled-styles.scss +2 -0
- package/autocomplete/lib/outlined-styles.css.js +1 -1
- package/autocomplete/lib/outlined-styles.css.js.map +1 -1
- package/autocomplete/lib/outlined-styles.scss +2 -0
- package/autocomplete/lib/shared-styles.scss +2 -0
- package/autocomplete/outlined-autocomplete.d.ts +0 -2
- package/autocomplete/outlined-autocomplete.js +0 -7
- package/autocomplete/outlined-autocomplete.js.map +1 -1
- package/badge/badge.js.map +1 -1
- package/badge/lib/_badge.scss +10 -13
- package/badge/lib/badge-styles.css.js +1 -1
- package/badge/lib/badge-styles.css.js.map +1 -1
- package/badge/lib/badge-styles.scss +2 -0
- package/badge/lib/badge.js.map +1 -1
- package/button/elevated-button.js.map +1 -1
- package/button/elevated-link-button.js.map +1 -1
- package/button/filled-button.js.map +1 -1
- package/button/filled-link-button.js.map +1 -1
- package/button/lib/_elevated-button.scss +10 -15
- package/button/lib/_elevation.scss +4 -1
- package/button/lib/_filled-button.scss +12 -14
- package/button/lib/_icon.scss +1 -0
- package/button/lib/_outlined-button.scss +10 -15
- package/button/lib/_shared.scss +14 -19
- package/button/lib/_text-button.scss +12 -14
- package/button/lib/_tonal-button.scss +10 -15
- package/button/lib/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/elevated-styles.scss +2 -0
- package/button/lib/filled-styles.css.js +1 -1
- package/button/lib/filled-styles.css.js.map +1 -1
- package/button/lib/filled-styles.scss +2 -0
- package/button/lib/link-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/outlined-styles.scss +2 -0
- package/button/lib/shared-elevation-styles.scss +2 -0
- package/button/lib/shared-styles.css.js +1 -1
- package/button/lib/shared-styles.css.js.map +1 -1
- package/button/lib/shared-styles.scss +2 -0
- package/button/lib/text-styles.css.js +1 -1
- package/button/lib/text-styles.css.js.map +1 -1
- package/button/lib/text-styles.scss +2 -0
- package/button/lib/tonal-styles.css.js +1 -1
- package/button/lib/tonal-styles.css.js.map +1 -1
- package/button/lib/tonal-styles.scss +2 -0
- package/button/outlined-button.js.map +1 -1
- package/button/outlined-link-button.js.map +1 -1
- package/button/text-button.js.map +1 -1
- package/button/text-link-button.js.map +1 -1
- package/button/tonal-button.js.map +1 -1
- package/button/tonal-link-button.js.map +1 -1
- package/checkbox/checkbox.js.map +1 -1
- package/checkbox/lib/_checkbox.scss +26 -31
- package/checkbox/lib/checkbox-styles.css.js +1 -1
- package/checkbox/lib/checkbox-styles.css.js.map +1 -1
- package/checkbox/lib/checkbox-styles.scss +2 -0
- package/checkbox/lib/checkbox.js +6 -6
- package/checkbox/lib/checkbox.js.map +1 -1
- package/checkbox/lib/forced-colors-styles.scss +2 -0
- package/chips/action/delete-action.js.map +1 -1
- package/chips/action/lib/action.js +4 -4
- package/chips/action/lib/action.js.map +1 -1
- package/chips/action/lib/link-action.js +1 -1
- package/chips/action/lib/link-action.js.map +1 -1
- package/chips/action/lib/primary-action.js.map +1 -1
- package/chips/action/lib/selectable-action.js.map +1 -1
- package/chips/action/link-action.js.map +1 -1
- package/chips/action/presentational-action.js.map +1 -1
- package/chips/action/primary-action.js.map +1 -1
- package/chips/action/selectable-action.js.map +1 -1
- package/chips/chip/lib/_assist-chip-theme.scss +4 -0
- package/chips/chip/lib/_chip-theme.scss +29 -40
- package/chips/chip/lib/_chip.scss +2 -0
- package/chips/chip/lib/_filter-chip-theme.scss +4 -0
- package/chips/chip/lib/_input-chip-theme.scss +4 -0
- package/chips/chip/lib/_suggestion-chip-theme.scss +4 -0
- package/chips/chip/lib/chip.js.map +1 -1
- package/chips/chip/lib/foundation.js +4 -4
- package/chips/chip/lib/foundation.js.map +1 -1
- package/chips/chip/lib/link-chip.js.map +1 -1
- package/chips/chip/lib/selectable-chip.js.map +1 -1
- package/chips/chip/lib/types.d.ts +2 -2
- package/chips/chipset/lib/_chip-set-theme.scss +2 -0
- package/chips/chipset/lib/_chip-set.scss +2 -0
- package/chips/chipset/lib/foundation.js +3 -3
- package/chips/chipset/lib/foundation.js.map +1 -1
- package/chips/chipset/lib/types.d.ts +3 -3
- package/controller/events.js +4 -0
- package/controller/events.js.map +1 -1
- package/controller/form-controller.d.ts +1 -1
- package/controller/form-controller.js +21 -29
- package/controller/form-controller.js.map +1 -1
- package/dialog/dialog.js.map +1 -1
- package/dialog/harness.d.ts +2 -2
- package/dialog/harness.js +11 -8
- package/dialog/harness.js.map +1 -1
- package/dialog/lib/_dialog.scss +7 -11
- package/dialog/lib/_tokens.scss +9 -6
- package/dialog/lib/dialog-styles.css.js +1 -1
- package/dialog/lib/dialog-styles.css.js.map +1 -1
- package/dialog/lib/dialog-styles.scss +2 -0
- package/dialog/lib/dialog.js +9 -7
- package/dialog/lib/dialog.js.map +1 -1
- package/divider/divider.js.map +1 -1
- package/divider/lib/_divider.scss +2 -0
- package/divider/lib/divider-styles.scss +2 -0
- package/divider/lib/divider.js.map +1 -1
- package/elevation/elevation.js.map +1 -1
- package/elevation/lib/_elevation.scss +4 -0
- package/elevation/lib/_md-comp-elevation.scss +4 -0
- package/elevation/lib/elevation-styles.scss +2 -0
- package/elevation/lib/elevation.js.map +1 -1
- package/fab/fab-extended.js.map +1 -1
- package/fab/fab.js.map +1 -1
- package/fab/lib/_fab-extended.scss +18 -11
- package/fab/lib/_fab.scss +7 -2
- package/fab/lib/_shared.scss +16 -8
- package/fab/lib/fab-extended-styles.css.js +1 -1
- package/fab/lib/fab-extended-styles.css.js.map +1 -1
- package/fab/lib/fab-extended-styles.scss +2 -0
- package/fab/lib/fab-shared-styles.css.js +1 -1
- package/fab/lib/fab-shared-styles.css.js.map +1 -1
- package/fab/lib/fab-shared-styles.scss +2 -0
- package/fab/lib/fab-shared.d.ts +9 -15
- package/fab/lib/fab-shared.js +21 -33
- package/fab/lib/fab-shared.js.map +1 -1
- package/fab/lib/fab-styles.css.js +1 -1
- package/fab/lib/fab-styles.css.js.map +1 -1
- package/fab/lib/fab-styles.scss +2 -0
- package/field/filled-field.d.ts +1 -1
- package/field/filled-field.js +1 -1
- package/field/filled-field.js.map +1 -1
- package/field/harness.js +1 -1
- package/field/harness.js.map +1 -1
- package/field/lib/_content.scss +120 -57
- package/field/lib/_filled-field.scss +73 -130
- package/field/lib/_label.scss +27 -65
- package/field/lib/_md-comp-filled-field.scss +127 -56
- package/field/lib/_md-comp-outlined-field.scss +104 -52
- package/field/lib/_outlined-field.scss +108 -120
- package/field/lib/_shared.scss +27 -45
- package/field/lib/_supporting-text.scss +25 -52
- package/field/lib/field.d.ts +15 -31
- package/field/lib/field.js +130 -139
- package/field/lib/field.js.map +1 -1
- package/field/lib/filled-field.d.ts +5 -16
- package/field/lib/filled-field.js +8 -70
- package/field/lib/filled-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-field.d.ts +4 -10
- package/field/lib/outlined-field.js +13 -33
- package/field/lib/outlined-field.js.map +1 -1
- package/field/lib/outlined-styles.css.js +1 -1
- package/field/lib/outlined-styles.css.js.map +1 -1
- package/field/lib/shared-styles.css.js +1 -1
- package/field/lib/shared-styles.css.js.map +1 -1
- package/field/outlined-field.d.ts +1 -1
- package/field/outlined-field.js +1 -1
- package/field/outlined-field.js.map +1 -1
- package/focus/focus-ring.js.map +1 -1
- package/focus/lib/_focus-ring.scss +7 -13
- package/focus/lib/_md-comp-focus-ring.scss +4 -0
- 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-styles.scss +2 -0
- package/focus/lib/focus-ring.js.map +1 -1
- package/icon/icon.js.map +1 -1
- package/icon/lib/_icon.scss +3 -1
- package/icon/lib/_md-comp-icon.scss +1 -2
- package/icon/lib/icon-styles.css.js +1 -1
- package/icon/lib/icon-styles.css.js.map +1 -1
- package/icon/lib/icon-styles.scss +2 -0
- package/iconbutton/filled-icon-button-toggle.js.map +1 -1
- package/iconbutton/filled-icon-button.js.map +1 -1
- package/iconbutton/filled-link-icon-button.js.map +1 -1
- package/iconbutton/filled-tonal-icon-button-toggle.js.map +1 -1
- package/iconbutton/filled-tonal-icon-button.js.map +1 -1
- package/iconbutton/filled-tonal-link-icon-button.js.map +1 -1
- package/iconbutton/lib/_filled-icon-button.scss +19 -19
- package/iconbutton/lib/_filled-tonal-icon-button.scss +19 -19
- package/iconbutton/lib/_outlined-icon-button.scss +20 -16
- package/iconbutton/lib/_shared.scss +8 -8
- package/iconbutton/lib/_standard-icon-button.scss +21 -18
- package/iconbutton/lib/filled-styles.css.js +1 -1
- package/iconbutton/lib/filled-styles.css.js.map +1 -1
- package/iconbutton/lib/filled-styles.scss +2 -0
- package/iconbutton/lib/filled-tonal-styles.css.js +1 -1
- package/iconbutton/lib/filled-tonal-styles.css.js.map +1 -1
- package/iconbutton/lib/filled-tonal-styles.scss +2 -0
- package/iconbutton/lib/icon-button-toggle.js.map +1 -1
- package/iconbutton/lib/icon-button.js.map +1 -1
- package/iconbutton/lib/link-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/outlined-styles.scss +2 -0
- package/iconbutton/lib/shared-styles.scss +2 -0
- package/iconbutton/lib/standard-styles.css.js +1 -1
- package/iconbutton/lib/standard-styles.css.js.map +1 -1
- package/iconbutton/lib/standard-styles.scss +2 -0
- package/iconbutton/outlined-icon-button-toggle.js.map +1 -1
- package/iconbutton/outlined-icon-button.js.map +1 -1
- package/iconbutton/outlined-link-icon-button.js.map +1 -1
- package/iconbutton/standard-icon-button-toggle.js.map +1 -1
- package/iconbutton/standard-icon-button.js.map +1 -1
- package/iconbutton/standard-link-icon-button.js.map +1 -1
- package/list/lib/_list.scss +25 -11
- package/list/lib/list-styles.scss +2 -0
- package/list/lib/list.js +3 -1
- package/list/lib/list.js.map +1 -1
- package/list/lib/listitem/_list-item.scss +320 -128
- 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-styles.scss +2 -0
- package/list/lib/listitem/list-item.d.ts +8 -7
- package/list/lib/listitem/list-item.js +25 -27
- package/list/lib/listitem/list-item.js.map +1 -1
- package/list/lib/listitemlink/list-item-link.js.map +1 -1
- package/list/list-item-link.d.ts +18 -0
- package/list/list-item-link.js +19 -2
- package/list/list-item-link.js.map +1 -1
- package/list/list-item.d.ts +19 -0
- package/list/list-item.js +20 -2
- package/list/list-item.js.map +1 -1
- package/list/list.js.map +1 -1
- package/menu/lib/_menu.scss +32 -8
- package/menu/lib/menu-styles.css.js +1 -1
- package/menu/lib/menu-styles.css.js.map +1 -1
- package/menu/lib/menu-styles.scss +2 -0
- package/menu/lib/menu.d.ts +1 -1
- package/menu/lib/menu.js +8 -7
- package/menu/lib/menu.js.map +1 -1
- package/menu/lib/menuitem/_menu-item.scss +44 -76
- 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-styles.scss +2 -0
- package/menu/lib/menuitem/menu-item.js.map +1 -1
- package/menu/lib/menuitemlink/menu-item-link.js.map +1 -1
- package/menu/lib/shared.d.ts +3 -3
- package/menu/lib/submenuitem/sub-menu-item.d.ts +0 -1
- package/menu/lib/submenuitem/sub-menu-item.js +0 -1
- package/menu/lib/submenuitem/sub-menu-item.js.map +1 -1
- package/menu/lib/surfacePositionController.d.ts +1 -1
- package/menu/lib/typeaheadController.d.ts +1 -1
- package/menu/menu-item-link.js +1 -2
- package/menu/menu-item-link.js.map +1 -1
- package/menu/menu-item.js +2 -3
- package/menu/menu-item.js.map +1 -1
- package/menu/menu.js.map +1 -1
- package/menu/sub-menu-item.js +1 -2
- package/menu/sub-menu-item.js.map +1 -1
- package/menusurface/lib/_md-comp-menu-surface.scss +5 -1
- package/menusurface/lib/_menu-surface.scss +4 -0
- package/menusurface/lib/foundation.js +31 -31
- package/menusurface/lib/foundation.js.map +1 -1
- package/menusurface/lib/menu-surface-styles.scss +2 -0
- package/menusurface/lib/menu-surface.d.ts +2 -2
- package/menusurface/lib/menu-surface.js.map +1 -1
- package/menusurface/menu-surface.js.map +1 -1
- package/navigationbar/lib/_navigation-bar.scss +2 -0
- package/navigationbar/lib/constants.d.ts +1 -1
- package/navigationbar/lib/navigation-bar-styles.scss +2 -0
- package/navigationbar/lib/navigation-bar.js.map +1 -1
- package/navigationbar/navigation-bar.js.map +1 -1
- package/navigationdrawer/lib/_navigation-drawer-modal.scss +11 -2
- package/navigationdrawer/lib/_navigation-drawer.scss +10 -5
- package/navigationdrawer/lib/_shared.scss +4 -8
- 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-styles.scss +2 -0
- 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-styles.scss +2 -0
- package/navigationdrawer/lib/navigation-drawer.js.map +1 -1
- package/navigationdrawer/lib/shared-styles.scss +2 -0
- package/navigationdrawer/navigation-drawer-modal.js.map +1 -1
- package/navigationdrawer/navigation-drawer.js.map +1 -1
- package/navigationtab/lib/_navigation-tab.scss +26 -22
- 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-styles.scss +2 -0
- package/navigationtab/lib/navigation-tab.js +4 -4
- package/navigationtab/lib/navigation-tab.js.map +1 -1
- package/navigationtab/navigation-tab.js.map +1 -1
- package/package.json +2 -2
- package/radio/lib/_radio.scss +16 -14
- package/radio/lib/forced-colors-styles.scss +2 -0
- package/radio/lib/radio-styles.css.js +1 -1
- package/radio/lib/radio-styles.css.js.map +1 -1
- package/radio/lib/radio-styles.scss +2 -0
- package/radio/lib/radio.js +21 -21
- package/radio/lib/radio.js.map +1 -1
- package/radio/radio.js.map +1 -1
- package/ripple/directive.d.ts +1 -33
- package/ripple/directive.js +7 -194
- package/ripple/directive.js.map +1 -1
- package/ripple/lib/_md-comp-ripple.scss +20 -19
- package/ripple/lib/_ripple.scss +20 -20
- package/ripple/lib/ripple-styles.css.js +1 -1
- package/ripple/lib/ripple-styles.css.js.map +1 -1
- package/ripple/lib/ripple-styles.scss +2 -0
- package/ripple/lib/ripple.d.ts +50 -48
- package/ripple/lib/ripple.js +214 -76
- package/ripple/lib/ripple.js.map +1 -1
- package/ripple/ripple.d.ts +9 -1
- package/ripple/ripple.js +9 -1
- package/ripple/ripple.js.map +1 -1
- package/sass/_assert.scss +2 -0
- package/sass/_color-scheme.scss +4 -0
- package/sass/_color.scss +4 -0
- package/sass/_elevation.scss +4 -0
- package/sass/_feature-flags.scss +2 -0
- package/sass/_map-ext.scss +2 -0
- package/sass/_resolvers.scss +4 -4
- package/sass/_shape.scss +75 -27
- package/sass/_string-ext.scss +44 -0
- package/sass/_theme.scss +4 -0
- package/sass/_typography.scss +18 -93
- package/sass/_var.scss +4 -0
- package/segmentedbutton/lib/_outlined-segmented-button.scss +4 -0
- package/segmentedbutton/lib/_shared.scss +18 -22
- package/segmentedbutton/lib/outlined-styles.css.js +1 -1
- package/segmentedbutton/lib/outlined-styles.css.js.map +1 -1
- package/segmentedbutton/lib/outlined-styles.scss +2 -0
- package/segmentedbutton/lib/segmented-button.js +4 -4
- package/segmentedbutton/lib/segmented-button.js.map +1 -1
- package/segmentedbutton/lib/shared-styles.css.js +1 -1
- package/segmentedbutton/lib/shared-styles.css.js.map +1 -1
- package/segmentedbutton/lib/shared-styles.scss +2 -0
- package/segmentedbutton/outlined-segmented-button.js.map +1 -1
- package/segmentedbuttonset/lib/_outlined-segmented-button-set.scss +9 -5
- package/segmentedbuttonset/lib/_shared.scss +0 -13
- package/segmentedbuttonset/lib/outlined-styles.css.js +1 -1
- package/segmentedbuttonset/lib/outlined-styles.css.js.map +1 -1
- package/segmentedbuttonset/lib/outlined-styles.scss +2 -0
- package/segmentedbuttonset/lib/segmented-button-set.js.map +1 -1
- package/segmentedbuttonset/lib/shared-styles.scss +2 -0
- package/segmentedbuttonset/outlined-segmented-button-set.js.map +1 -1
- package/{list/lib/listitem/list-item-private-styles.scss → slider/_slider.scss} +1 -3
- package/slider/harness.d.ts +20 -0
- package/slider/harness.js +63 -0
- package/slider/harness.js.map +1 -0
- package/slider/lib/_slider.scss +503 -0
- package/slider/lib/_tokens.scss +66 -0
- package/slider/lib/forced-colors-styles.css.js +9 -0
- package/slider/lib/forced-colors-styles.css.js.map +1 -0
- package/slider/lib/forced-colors-styles.scss +53 -0
- package/slider/lib/slider-styles.css.js +9 -0
- package/slider/lib/slider-styles.css.js.map +1 -0
- package/{menu/lib/menuitem/menu-item-private-styles.scss → slider/lib/slider-styles.scss} +2 -2
- package/slider/lib/slider.d.ts +158 -0
- package/slider/lib/slider.js +575 -0
- package/slider/lib/slider.js.map +1 -0
- package/slider/slider.d.ts +28 -0
- package/slider/slider.js +32 -0
- package/slider/slider.js.map +1 -0
- package/switch/lib/README.md +55 -0
- package/switch/lib/_handle.scss +17 -18
- package/switch/lib/_icon.scss +4 -0
- package/switch/lib/_switch.scss +11 -18
- package/switch/lib/_track.scss +2 -0
- package/switch/lib/switch-styles.css.js +1 -1
- package/switch/lib/switch-styles.css.js.map +1 -1
- package/switch/lib/switch-styles.scss +2 -0
- package/switch/lib/switch.js +9 -9
- package/switch/lib/switch.js.map +1 -1
- package/switch/switch.js.map +1 -1
- package/textfield/filled-text-field.d.ts +1 -1
- package/textfield/filled-text-field.js +1 -2
- package/textfield/filled-text-field.js.map +1 -1
- package/textfield/harness.js +1 -1
- package/textfield/harness.js.map +1 -1
- package/textfield/lib/_filled-text-field.scss +116 -110
- package/textfield/lib/_icon.scss +14 -73
- package/textfield/lib/_input.scss +15 -36
- package/textfield/lib/_outlined-text-field.scss +107 -103
- package/textfield/lib/_shared.scss +10 -29
- package/textfield/lib/filled-forced-colors-styles.scss +2 -0
- package/textfield/lib/filled-styles.css.js +1 -1
- package/textfield/lib/filled-styles.css.js.map +1 -1
- package/textfield/lib/filled-styles.scss +2 -0
- package/textfield/lib/filled-text-field.d.ts +6 -5
- package/textfield/lib/filled-text-field.js +8 -7
- package/textfield/lib/filled-text-field.js.map +1 -1
- package/textfield/lib/outlined-forced-colors-styles.scss +2 -0
- package/textfield/lib/outlined-styles.css.js +1 -1
- package/textfield/lib/outlined-styles.css.js.map +1 -1
- package/textfield/lib/outlined-styles.scss +2 -0
- package/textfield/lib/outlined-text-field.d.ts +6 -5
- package/textfield/lib/outlined-text-field.js +8 -7
- package/textfield/lib/outlined-text-field.js.map +1 -1
- package/textfield/lib/shared-styles.css.js +1 -1
- package/textfield/lib/shared-styles.css.js.map +1 -1
- package/textfield/lib/shared-styles.scss +2 -0
- package/textfield/lib/text-field.d.ts +40 -88
- package/textfield/lib/text-field.js +194 -270
- package/textfield/lib/text-field.js.map +1 -1
- package/textfield/outlined-text-field.d.ts +1 -1
- package/textfield/outlined-text-field.js +1 -2
- package/textfield/outlined-text-field.js.map +1 -1
- package/tokens/_index.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-assist-chip.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-badge.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-banner.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-bottom-app-bar.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-carousel-item.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-checkbox.scss +4 -15
- package/tokens/{v0_152 → v0_160}/_md-comp-circular-progress-indicator.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-data-table.scss +1 -3
- package/tokens/{v0_152 → v0_160}/_md-comp-date-input-modal.scss +10 -10
- package/tokens/{v0_152 → v0_160}/_md-comp-date-picker-docked.scss +23 -23
- package/tokens/{v0_152 → v0_160}/_md-comp-date-picker-modal.scss +34 -34
- package/tokens/{v0_152 → v0_160}/_md-comp-dialog.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-divider.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-elevated-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-elevated-card.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-extended-fab-branded.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-extended-fab-primary.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-extended-fab-secondary.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-extended-fab-surface.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-extended-fab-tertiary.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-branded-large.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-branded.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-primary-large.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-primary-small.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-primary.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-secondary-large.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-secondary-small.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-secondary.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-surface-large.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-surface-small.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-surface.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-tertiary-large.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-tertiary-small.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-fab-tertiary.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filled-autocomplete.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filled-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filled-card.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filled-icon-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filled-menu-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filled-select.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filled-text-field.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filled-tonal-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filled-tonal-icon-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-filter-chip.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-full-screen-dialog.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-icon-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-input-chip.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-linear-progress-indicator.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-list.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-menu.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-navigation-bar.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-navigation-drawer.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-navigation-rail.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-outlined-autocomplete.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-outlined-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-outlined-card.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-outlined-icon-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-outlined-menu-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-outlined-segmented-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-outlined-select.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-outlined-text-field.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-plain-tooltip.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-primary-navigation-tab.scss +1 -3
- package/tokens/{v0_152 → v0_160}/_md-comp-radio-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-rich-tooltip.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-scrim.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-search-bar.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-search-view.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-secondary-navigation-tab.scss +1 -3
- package/tokens/{v0_152 → v0_160}/_md-comp-sheet-bottom.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-sheet-floating.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-sheet-side.scss +10 -10
- package/tokens/{v0_152 → v0_160}/_md-comp-slider.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-snackbar.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-standard-menu-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-suggestion-chip.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-switch.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-text-button.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-time-input.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-time-picker.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-top-app-bar-large.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-top-app-bar-medium.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-top-app-bar-small-centered.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-comp-top-app-bar-small.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-ref-palette.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-ref-typeface.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-sys-color.scss +217 -1
- package/tokens/{v0_152 → v0_160}/_md-sys-elevation.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-sys-motion.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-sys-shape.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-sys-state.scss +1 -1
- package/tokens/{v0_152 → v0_160}/_md-sys-typescale.scss +1 -1
- package/tokens/v0_161/_index.scss +107 -0
- package/tokens/v0_161/_md-comp-assist-chip.scss +109 -0
- package/tokens/v0_161/_md-comp-badge.scss +58 -0
- package/tokens/v0_161/_md-comp-banner.scss +75 -0
- package/tokens/v0_161/_md-comp-bottom-app-bar.scss +35 -0
- package/tokens/v0_161/_md-comp-carousel-item.scss +65 -0
- package/tokens/v0_161/_md-comp-checkbox.scss +126 -0
- package/tokens/v0_161/_md-comp-circular-progress-indicator.scss +39 -0
- package/tokens/v0_161/_md-comp-data-table.scss +96 -0
- package/tokens/v0_161/_md-comp-date-input-modal.scss +89 -0
- package/tokens/v0_161/_md-comp-date-picker-docked.scss +246 -0
- package/tokens/v0_161/_md-comp-date-picker-modal.scss +305 -0
- package/tokens/v0_161/_md-comp-dialog.scss +123 -0
- package/tokens/v0_161/_md-comp-divider.scss +25 -0
- package/tokens/v0_161/_md-comp-elevated-button.scss +91 -0
- package/tokens/v0_161/_md-comp-elevated-card.scss +59 -0
- package/tokens/v0_161/_md-comp-extended-fab-branded.scss +86 -0
- package/tokens/v0_161/_md-comp-extended-fab-primary.scss +94 -0
- package/tokens/v0_161/_md-comp-extended-fab-secondary.scss +95 -0
- package/tokens/v0_161/_md-comp-extended-fab-surface.scss +90 -0
- package/tokens/v0_161/_md-comp-extended-fab-tertiary.scss +95 -0
- package/tokens/v0_161/_md-comp-fab-branded-large.scss +60 -0
- package/tokens/v0_161/_md-comp-fab-branded.scss +60 -0
- package/tokens/v0_161/_md-comp-fab-primary-large.scss +65 -0
- package/tokens/v0_161/_md-comp-fab-primary-small.scss +65 -0
- package/tokens/v0_161/_md-comp-fab-primary.scss +65 -0
- package/tokens/v0_161/_md-comp-fab-secondary-large.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-secondary-small.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-secondary.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-surface-large.scss +64 -0
- package/tokens/v0_161/_md-comp-fab-surface-small.scss +64 -0
- package/tokens/v0_161/_md-comp-fab-surface.scss +64 -0
- package/tokens/v0_161/_md-comp-fab-tertiary-large.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-tertiary-small.scss +66 -0
- package/tokens/v0_161/_md-comp-fab-tertiary.scss +66 -0
- package/tokens/v0_161/_md-comp-filled-autocomplete.scss +267 -0
- package/tokens/v0_161/_md-comp-filled-button.scss +89 -0
- package/tokens/v0_161/_md-comp-filled-card.scss +58 -0
- package/tokens/v0_161/_md-comp-filled-icon-button.scss +79 -0
- package/tokens/v0_161/_md-comp-filled-menu-button.scss +98 -0
- package/tokens/v0_161/_md-comp-filled-select.scss +272 -0
- package/tokens/v0_161/_md-comp-filled-text-field.scss +189 -0
- package/tokens/v0_161/_md-comp-filled-tonal-button.scss +99 -0
- package/tokens/v0_161/_md-comp-filled-tonal-icon-button.scss +86 -0
- package/tokens/v0_161/_md-comp-filter-chip.scss +209 -0
- package/tokens/v0_161/_md-comp-full-screen-dialog.scss +111 -0
- package/tokens/v0_161/_md-comp-icon-button.scss +70 -0
- package/tokens/v0_161/_md-comp-input-chip.scss +184 -0
- package/tokens/v0_161/_md-comp-linear-progress-indicator.scss +41 -0
- package/tokens/v0_161/_md-comp-list.scss +248 -0
- package/tokens/v0_161/_md-comp-menu.scss +37 -0
- package/tokens/v0_161/_md-comp-navigation-bar.scss +114 -0
- package/tokens/v0_161/_md-comp-navigation-drawer.scss +162 -0
- package/tokens/v0_161/_md-comp-navigation-rail.scss +131 -0
- package/tokens/v0_161/_md-comp-outlined-autocomplete.scss +257 -0
- package/tokens/v0_161/_md-comp-outlined-button.scss +84 -0
- package/tokens/v0_161/_md-comp-outlined-card.scss +65 -0
- package/tokens/v0_161/_md-comp-outlined-icon-button.scss +79 -0
- package/tokens/v0_161/_md-comp-outlined-menu-button.scss +94 -0
- package/tokens/v0_161/_md-comp-outlined-segmented-button.scss +112 -0
- package/tokens/v0_161/_md-comp-outlined-select.scss +262 -0
- package/tokens/v0_161/_md-comp-outlined-text-field.scss +171 -0
- package/tokens/v0_161/_md-comp-plain-tooltip.scss +55 -0
- package/tokens/v0_161/_md-comp-primary-navigation-tab.scss +121 -0
- package/tokens/v0_161/_md-comp-radio-button.scss +68 -0
- package/tokens/v0_161/_md-comp-rich-tooltip.scss +121 -0
- package/tokens/v0_161/_md-comp-scrim.scss +25 -0
- package/tokens/v0_161/_md-comp-search-bar.scss +99 -0
- package/tokens/v0_161/_md-comp-search-view.scss +93 -0
- package/tokens/v0_161/_md-comp-secondary-navigation-tab.scss +84 -0
- package/tokens/v0_161/_md-comp-sheet-bottom.scss +45 -0
- package/tokens/v0_161/_md-comp-sheet-floating.scss +34 -0
- package/tokens/v0_161/_md-comp-sheet-side.scss +91 -0
- package/tokens/v0_161/_md-comp-slider.scss +114 -0
- package/tokens/v0_161/_md-comp-snackbar.scss +127 -0
- package/tokens/v0_161/_md-comp-standard-menu-button.scss +98 -0
- package/tokens/v0_161/_md-comp-suggestion-chip.scss +125 -0
- package/tokens/v0_161/_md-comp-switch.scss +136 -0
- package/tokens/v0_161/_md-comp-text-button.scss +77 -0
- package/tokens/v0_161/_md-comp-time-input.scss +218 -0
- package/tokens/v0_161/_md-comp-time-picker.scss +264 -0
- package/tokens/v0_161/_md-comp-top-app-bar-large.scss +63 -0
- package/tokens/v0_161/_md-comp-top-app-bar-medium.scss +63 -0
- package/tokens/v0_161/_md-comp-top-app-bar-small-centered.scss +66 -0
- package/tokens/v0_161/_md-comp-top-app-bar-small.scss +64 -0
- package/tokens/v0_161/_md-ref-palette.scss +107 -0
- package/tokens/v0_161/_md-ref-typeface.scss +21 -0
- package/tokens/v0_161/_md-sys-color.scss +904 -0
- package/tokens/v0_161/_md-sys-elevation.scss +21 -0
- package/tokens/v0_161/_md-sys-motion.scss +53 -0
- package/tokens/v0_161/_md-sys-shape.scss +30 -0
- package/tokens/v0_161/_md-sys-state.scss +19 -0
- package/tokens/v0_161/_md-sys-typescale.scss +284 -0
- package/tokens/v0_161/index.test.css.js +9 -0
- package/tokens/v0_161/index.test.css.js.map +1 -0
- package/tokens/v0_161/index.test.scss +584 -0
- package/tokens/v0_161/lib.test.css.js +9 -0
- package/tokens/v0_161/lib.test.css.js.map +1 -0
- package/tokens/v0_161/lib.test.scss +663 -0
- package/controller/foundation.d.ts +0 -24
- package/controller/foundation.js +0 -18
- package/controller/foundation.js.map +0 -1
- package/controller/observer-foundation.d.ts +0 -25
- package/controller/observer-foundation.js +0 -37
- package/controller/observer-foundation.js.map +0 -1
- package/controller/observer.d.ts +0 -52
- package/controller/observer.js +0 -149
- package/controller/observer.js.map +0 -1
- package/decorators/bound.d.ts +0 -40
- package/decorators/bound.js +0 -49
- package/decorators/bound.js.map +0 -1
- package/list/lib/avatar/_list-item-avatar.scss +0 -38
- package/list/lib/avatar/list-item-avatar-styles.css.js +0 -9
- package/list/lib/avatar/list-item-avatar-styles.css.js.map +0 -1
- package/list/lib/avatar/list-item-avatar-styles.scss +0 -8
- package/list/lib/avatar/list-item-avatar.d.ts +0 -21
- package/list/lib/avatar/list-item-avatar.js +0 -48
- package/list/lib/avatar/list-item-avatar.js.map +0 -1
- package/list/lib/icon/_list-item-icon.scss +0 -67
- package/list/lib/icon/list-item-icon-styles.css.js +0 -9
- package/list/lib/icon/list-item-icon-styles.css.js.map +0 -1
- package/list/lib/icon/list-item-icon-styles.scss +0 -8
- package/list/lib/icon/list-item-icon.d.ts +0 -9
- package/list/lib/icon/list-item-icon.js +0 -15
- package/list/lib/icon/list-item-icon.js.map +0 -1
- package/list/lib/image/_list-item-image.scss +0 -59
- package/list/lib/image/list-item-image-styles.css.js +0 -9
- package/list/lib/image/list-item-image-styles.css.js.map +0 -1
- package/list/lib/image/list-item-image-styles.scss +0 -8
- package/list/lib/image/list-item-image.d.ts +0 -21
- package/list/lib/image/list-item-image.js +0 -48
- package/list/lib/image/list-item-image.js.map +0 -1
- package/list/lib/listitem/list-item-private-styles.css.js +0 -9
- package/list/lib/listitem/list-item-private-styles.css.js.map +0 -1
- package/list/lib/video/_list-item-video.scss +0 -67
- package/list/lib/video/list-item-video-styles.css.d.ts +0 -1
- package/list/lib/video/list-item-video-styles.css.js +0 -9
- package/list/lib/video/list-item-video-styles.css.js.map +0 -1
- package/list/lib/video/list-item-video-styles.scss +0 -8
- package/list/lib/video/list-item-video.d.ts +0 -53
- package/list/lib/video/list-item-video.js +0 -115
- package/list/lib/video/list-item-video.js.map +0 -1
- package/list/list-item-avatar.d.ts +0 -20
- package/list/list-item-avatar.js +0 -23
- package/list/list-item-avatar.js.map +0 -1
- package/list/list-item-icon.d.ts +0 -20
- package/list/list-item-icon.js +0 -23
- package/list/list-item-icon.js.map +0 -1
- package/list/list-item-image.d.ts +0 -20
- package/list/list-item-image.js +0 -23
- package/list/list-item-image.js.map +0 -1
- package/list/list-item-video.d.ts +0 -20
- package/list/list-item-video.js +0 -23
- package/list/list-item-video.js.map +0 -1
- package/menu/lib/menuitem/menu-item-private-styles.css.d.ts +0 -1
- package/menu/lib/menuitem/menu-item-private-styles.css.js +0 -9
- package/menu/lib/menuitem/menu-item-private-styles.css.js.map +0 -1
- /package/{list/lib/avatar/list-item-avatar-styles.css.d.ts → slider/lib/forced-colors-styles.css.d.ts} +0 -0
- /package/{list/lib/icon/list-item-icon-styles.css.d.ts → slider/lib/slider-styles.css.d.ts} +0 -0
- /package/tokens/{v0_152 → v0_160}/_index.scss +0 -0
- /package/tokens/{v0_152 → v0_160}/index.test.css.d.ts +0 -0
- /package/tokens/{v0_152 → v0_160}/index.test.css.js +0 -0
- /package/tokens/{v0_152 → v0_160}/index.test.css.js.map +0 -0
- /package/tokens/{v0_152 → v0_160}/index.test.scss +0 -0
- /package/tokens/{v0_152 → v0_160}/lib.test.css.d.ts +0 -0
- /package/tokens/{v0_152 → v0_160}/lib.test.css.js +0 -0
- /package/tokens/{v0_152 → v0_160}/lib.test.css.js.map +0 -0
- /package/tokens/{v0_152 → v0_160}/lib.test.scss +0 -0
- /package/{list/lib/image/list-item-image-styles.css.d.ts → tokens/v0_161/index.test.css.d.ts} +0 -0
- /package/{list/lib/listitem/list-item-private-styles.css.d.ts → tokens/v0_161/lib.test.css.d.ts} +0 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
// Design system display name: Google Material 3
|
|
9
|
+
// Design system version: v0.161
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
@use 'sass:map';
|
|
13
|
+
|
|
14
|
+
@use './md-sys-color';
|
|
15
|
+
|
|
16
|
+
@use './md-sys-elevation';
|
|
17
|
+
|
|
18
|
+
@use './md-sys-shape';
|
|
19
|
+
|
|
20
|
+
@use './md-sys-state';
|
|
21
|
+
|
|
22
|
+
@use './md-sys-typescale';
|
|
23
|
+
|
|
24
|
+
$_default: (
|
|
25
|
+
'md-sys-color': md-sys-color.values-light(),
|
|
26
|
+
'md-sys-elevation': md-sys-elevation.values(),
|
|
27
|
+
'md-sys-shape': md-sys-shape.values(),
|
|
28
|
+
'md-sys-state': md-sys-state.values(),
|
|
29
|
+
'md-sys-typescale': md-sys-typescale.values(),
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
@function values($deps: $_default, $exclude-hardcoded-values: false) {
|
|
33
|
+
@return (
|
|
34
|
+
'list-item-container-color': map.get($deps, 'md-sys-color', 'surface'),
|
|
35
|
+
'list-item-container-elevation':
|
|
36
|
+
map.get($deps, 'md-sys-elevation', 'level0'),
|
|
37
|
+
'list-item-container-shape': map.get($deps, 'md-sys-shape', 'corner-none'),
|
|
38
|
+
'list-item-disabled-label-text-color':
|
|
39
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
40
|
+
'list-item-disabled-label-text-opacity':
|
|
41
|
+
if($exclude-hardcoded-values, null, 0.3),
|
|
42
|
+
'list-item-disabled-leading-icon-color':
|
|
43
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
44
|
+
'list-item-disabled-leading-icon-opacity':
|
|
45
|
+
if($exclude-hardcoded-values, null, 0.38),
|
|
46
|
+
'list-item-disabled-state-layer-color':
|
|
47
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
48
|
+
'list-item-disabled-state-layer-opacity':
|
|
49
|
+
map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
|
|
50
|
+
'list-item-disabled-trailing-icon-color':
|
|
51
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
52
|
+
'list-item-disabled-trailing-icon-opacity':
|
|
53
|
+
if($exclude-hardcoded-values, null, 0.38),
|
|
54
|
+
'list-item-dragged-container-elevation':
|
|
55
|
+
map.get($deps, 'md-sys-elevation', 'level4'),
|
|
56
|
+
'list-item-dragged-label-text-color':
|
|
57
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
58
|
+
'list-item-dragged-leading-icon-icon-color':
|
|
59
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
60
|
+
'list-item-dragged-state-layer-color':
|
|
61
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
62
|
+
'list-item-dragged-state-layer-opacity':
|
|
63
|
+
map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity'),
|
|
64
|
+
'list-item-dragged-trailing-icon-icon-color':
|
|
65
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
66
|
+
'list-item-focus-label-text-color':
|
|
67
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
68
|
+
'list-item-focus-leading-icon-icon-color':
|
|
69
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
70
|
+
'list-item-focus-state-layer-color':
|
|
71
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
72
|
+
'list-item-focus-state-layer-opacity':
|
|
73
|
+
map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
|
|
74
|
+
'list-item-focus-trailing-icon-icon-color':
|
|
75
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
76
|
+
'list-item-hover-label-text-color':
|
|
77
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
78
|
+
'list-item-hover-leading-icon-icon-color':
|
|
79
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
80
|
+
'list-item-hover-state-layer-color':
|
|
81
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
82
|
+
'list-item-hover-state-layer-opacity':
|
|
83
|
+
map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
|
|
84
|
+
'list-item-hover-trailing-icon-icon-color':
|
|
85
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
86
|
+
'list-item-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
|
|
87
|
+
'list-item-label-text-font':
|
|
88
|
+
map.get($deps, 'md-sys-typescale', 'body-large-font'),
|
|
89
|
+
'list-item-label-text-line-height':
|
|
90
|
+
map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
|
|
91
|
+
'list-item-label-text-size':
|
|
92
|
+
map.get($deps, 'md-sys-typescale', 'body-large-size'),
|
|
93
|
+
'list-item-label-text-tracking':
|
|
94
|
+
map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
|
|
95
|
+
'list-item-label-text-type':
|
|
96
|
+
if(
|
|
97
|
+
$exclude-hardcoded-values,
|
|
98
|
+
null,
|
|
99
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.list.list-item.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
100
|
+
map.get($deps, 'md-sys-typescale', 'body-large-weight')
|
|
101
|
+
map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
|
|
102
|
+
$deps,
|
|
103
|
+
'md-sys-typescale',
|
|
104
|
+
'body-large-line-height'
|
|
105
|
+
) map.get($deps, 'md-sys-typescale', 'body-large-font')
|
|
106
|
+
),
|
|
107
|
+
'list-item-label-text-weight':
|
|
108
|
+
map.get($deps, 'md-sys-typescale', 'body-large-weight'),
|
|
109
|
+
'list-item-large-leading-video-height':
|
|
110
|
+
if($exclude-hardcoded-values, null, 69px),
|
|
111
|
+
'list-item-leading-avatar-label-color':
|
|
112
|
+
map.get($deps, 'md-sys-color', 'on-primary-container'),
|
|
113
|
+
'list-item-leading-avatar-label-font':
|
|
114
|
+
map.get($deps, 'md-sys-typescale', 'title-medium-font'),
|
|
115
|
+
'list-item-leading-avatar-label-line-height':
|
|
116
|
+
map.get($deps, 'md-sys-typescale', 'title-medium-line-height'),
|
|
117
|
+
'list-item-leading-avatar-label-size':
|
|
118
|
+
map.get($deps, 'md-sys-typescale', 'title-medium-size'),
|
|
119
|
+
'list-item-leading-avatar-label-tracking':
|
|
120
|
+
map.get($deps, 'md-sys-typescale', 'title-medium-tracking'),
|
|
121
|
+
'list-item-leading-avatar-label-type':
|
|
122
|
+
if(
|
|
123
|
+
$exclude-hardcoded-values,
|
|
124
|
+
null,
|
|
125
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.list.list-item.leading-avatar-label.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
126
|
+
map.get($deps, 'md-sys-typescale', 'title-medium-weight')
|
|
127
|
+
map.get($deps, 'md-sys-typescale', 'title-medium-size') #{'/'} map.get(
|
|
128
|
+
$deps,
|
|
129
|
+
'md-sys-typescale',
|
|
130
|
+
'title-medium-line-height'
|
|
131
|
+
) map.get($deps, 'md-sys-typescale', 'title-medium-font')
|
|
132
|
+
),
|
|
133
|
+
'list-item-leading-avatar-label-weight':
|
|
134
|
+
map.get($deps, 'md-sys-typescale', 'title-medium-weight'),
|
|
135
|
+
'list-item-leading-avatar-color':
|
|
136
|
+
map.get($deps, 'md-sys-color', 'primary-container'),
|
|
137
|
+
'list-item-leading-avatar-shape':
|
|
138
|
+
map.get($deps, 'md-sys-shape', 'corner-full'),
|
|
139
|
+
'list-item-leading-avatar-size': if($exclude-hardcoded-values, null, 40px),
|
|
140
|
+
'list-item-leading-icon-color':
|
|
141
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
142
|
+
'list-item-leading-icon-size': if($exclude-hardcoded-values, null, 18px),
|
|
143
|
+
'list-item-leading-image-height': if($exclude-hardcoded-values, null, 56px),
|
|
144
|
+
'list-item-leading-image-shape':
|
|
145
|
+
map.get($deps, 'md-sys-shape', 'corner-none'),
|
|
146
|
+
'list-item-leading-image-width': if($exclude-hardcoded-values, null, 56px),
|
|
147
|
+
'list-item-leading-video-shape':
|
|
148
|
+
map.get($deps, 'md-sys-shape', 'corner-none'),
|
|
149
|
+
'list-item-leading-video-width': if($exclude-hardcoded-values, null, 100px),
|
|
150
|
+
'list-item-one-line-container-height':
|
|
151
|
+
if($exclude-hardcoded-values, null, 56px),
|
|
152
|
+
'list-item-overline-color':
|
|
153
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
154
|
+
'list-item-overline-font':
|
|
155
|
+
map.get($deps, 'md-sys-typescale', 'label-small-font'),
|
|
156
|
+
'list-item-overline-line-height':
|
|
157
|
+
map.get($deps, 'md-sys-typescale', 'label-small-line-height'),
|
|
158
|
+
'list-item-overline-size':
|
|
159
|
+
map.get($deps, 'md-sys-typescale', 'label-small-size'),
|
|
160
|
+
'list-item-overline-tracking':
|
|
161
|
+
map.get($deps, 'md-sys-typescale', 'label-small-tracking'),
|
|
162
|
+
'list-item-overline-type':
|
|
163
|
+
if(
|
|
164
|
+
$exclude-hardcoded-values,
|
|
165
|
+
null,
|
|
166
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.list.list-item.overline.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
167
|
+
map.get($deps, 'md-sys-typescale', 'label-small-weight')
|
|
168
|
+
map.get($deps, 'md-sys-typescale', 'label-small-size') #{'/'} map.get(
|
|
169
|
+
$deps,
|
|
170
|
+
'md-sys-typescale',
|
|
171
|
+
'label-small-line-height'
|
|
172
|
+
) map.get($deps, 'md-sys-typescale', 'label-small-font')
|
|
173
|
+
),
|
|
174
|
+
'list-item-overline-weight':
|
|
175
|
+
map.get($deps, 'md-sys-typescale', 'label-small-weight'),
|
|
176
|
+
'list-item-pressed-label-text-color':
|
|
177
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
178
|
+
'list-item-pressed-leading-icon-icon-color':
|
|
179
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
180
|
+
'list-item-pressed-state-layer-color':
|
|
181
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
182
|
+
'list-item-pressed-state-layer-opacity':
|
|
183
|
+
map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity'),
|
|
184
|
+
'list-item-pressed-trailing-icon-icon-color':
|
|
185
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
186
|
+
'list-item-selected-trailing-icon-color':
|
|
187
|
+
map.get($deps, 'md-sys-color', 'primary'),
|
|
188
|
+
'list-item-small-leading-video-height':
|
|
189
|
+
if($exclude-hardcoded-values, null, 56px),
|
|
190
|
+
'list-item-supporting-text-color':
|
|
191
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
192
|
+
'list-item-supporting-text-font':
|
|
193
|
+
map.get($deps, 'md-sys-typescale', 'body-medium-font'),
|
|
194
|
+
'list-item-supporting-text-line-height':
|
|
195
|
+
map.get($deps, 'md-sys-typescale', 'body-medium-line-height'),
|
|
196
|
+
'list-item-supporting-text-size':
|
|
197
|
+
map.get($deps, 'md-sys-typescale', 'body-medium-size'),
|
|
198
|
+
'list-item-supporting-text-tracking':
|
|
199
|
+
map.get($deps, 'md-sys-typescale', 'body-medium-tracking'),
|
|
200
|
+
'list-item-supporting-text-type':
|
|
201
|
+
if(
|
|
202
|
+
$exclude-hardcoded-values,
|
|
203
|
+
null,
|
|
204
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.list.list-item.supporting-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
205
|
+
map.get($deps, 'md-sys-typescale', 'body-medium-weight')
|
|
206
|
+
map.get($deps, 'md-sys-typescale', 'body-medium-size') #{'/'} map.get(
|
|
207
|
+
$deps,
|
|
208
|
+
'md-sys-typescale',
|
|
209
|
+
'body-medium-line-height'
|
|
210
|
+
) map.get($deps, 'md-sys-typescale', 'body-medium-font')
|
|
211
|
+
),
|
|
212
|
+
'list-item-supporting-text-weight':
|
|
213
|
+
map.get($deps, 'md-sys-typescale', 'body-medium-weight'),
|
|
214
|
+
'list-item-three-line-container-height':
|
|
215
|
+
if($exclude-hardcoded-values, null, 88px),
|
|
216
|
+
'list-item-trailing-icon-color':
|
|
217
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
218
|
+
'list-item-trailing-icon-size': if($exclude-hardcoded-values, null, 24px),
|
|
219
|
+
'list-item-trailing-supporting-text-color':
|
|
220
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
221
|
+
'list-item-trailing-supporting-text-font':
|
|
222
|
+
map.get($deps, 'md-sys-typescale', 'label-small-font'),
|
|
223
|
+
'list-item-trailing-supporting-text-line-height':
|
|
224
|
+
map.get($deps, 'md-sys-typescale', 'label-small-line-height'),
|
|
225
|
+
'list-item-trailing-supporting-text-size':
|
|
226
|
+
map.get($deps, 'md-sys-typescale', 'label-small-size'),
|
|
227
|
+
'list-item-trailing-supporting-text-tracking':
|
|
228
|
+
map.get($deps, 'md-sys-typescale', 'label-small-tracking'),
|
|
229
|
+
'list-item-trailing-supporting-text-type':
|
|
230
|
+
if(
|
|
231
|
+
$exclude-hardcoded-values,
|
|
232
|
+
null,
|
|
233
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.list.list-item.trailing-supporting-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
234
|
+
map.get($deps, 'md-sys-typescale', 'label-small-weight')
|
|
235
|
+
map.get($deps, 'md-sys-typescale', 'label-small-size') #{'/'} map.get(
|
|
236
|
+
$deps,
|
|
237
|
+
'md-sys-typescale',
|
|
238
|
+
'label-small-line-height'
|
|
239
|
+
) map.get($deps, 'md-sys-typescale', 'label-small-font')
|
|
240
|
+
),
|
|
241
|
+
'list-item-trailing-supporting-text-weight':
|
|
242
|
+
map.get($deps, 'md-sys-typescale', 'label-small-weight'),
|
|
243
|
+
'list-item-two-line-container-height':
|
|
244
|
+
if($exclude-hardcoded-values, null, 72px),
|
|
245
|
+
'list-item-unselected-trailing-icon-color':
|
|
246
|
+
map.get($deps, 'md-sys-color', 'on-surface')
|
|
247
|
+
);
|
|
248
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
// Design system display name: Google Material 3
|
|
9
|
+
// Design system version: v0.161
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
@use 'sass:map';
|
|
13
|
+
|
|
14
|
+
@use './md-sys-color';
|
|
15
|
+
|
|
16
|
+
@use './md-sys-elevation';
|
|
17
|
+
|
|
18
|
+
@use './md-sys-shape';
|
|
19
|
+
|
|
20
|
+
$_default: (
|
|
21
|
+
'md-sys-color': md-sys-color.values-light(),
|
|
22
|
+
'md-sys-elevation': md-sys-elevation.values(),
|
|
23
|
+
'md-sys-shape': md-sys-shape.values(),
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
@function values($deps: $_default) {
|
|
27
|
+
@return (
|
|
28
|
+
'container-color': map.get($deps, 'md-sys-color', 'surface'),
|
|
29
|
+
'container-elevation': map.get($deps, 'md-sys-elevation', 'level2'),
|
|
30
|
+
'container-shadow-color': map.get($deps, 'md-sys-color', 'shadow'),
|
|
31
|
+
'container-shape': map.get($deps, 'md-sys-shape', 'corner-extra-small'),
|
|
32
|
+
'container-surface-tint-layer-color':
|
|
33
|
+
map.get($deps, 'md-sys-color', 'surface-tint'),
|
|
34
|
+
'list-item-selected-container-color':
|
|
35
|
+
map.get($deps, 'md-sys-color', 'surface-variant')
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
// Design system display name: Google Material 3
|
|
9
|
+
// Design system version: v0.161
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
@use 'sass:map';
|
|
13
|
+
|
|
14
|
+
@use './md-sys-color';
|
|
15
|
+
|
|
16
|
+
@use './md-sys-elevation';
|
|
17
|
+
|
|
18
|
+
@use './md-sys-shape';
|
|
19
|
+
|
|
20
|
+
@use './md-sys-state';
|
|
21
|
+
|
|
22
|
+
@use './md-sys-typescale';
|
|
23
|
+
|
|
24
|
+
$_default: (
|
|
25
|
+
'md-sys-color': md-sys-color.values-light(),
|
|
26
|
+
'md-sys-elevation': md-sys-elevation.values(),
|
|
27
|
+
'md-sys-shape': md-sys-shape.values(),
|
|
28
|
+
'md-sys-state': md-sys-state.values(),
|
|
29
|
+
'md-sys-typescale': md-sys-typescale.values(),
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
@function values($deps: $_default, $exclude-hardcoded-values: false) {
|
|
33
|
+
@return (
|
|
34
|
+
'active-indicator-color':
|
|
35
|
+
map.get($deps, 'md-sys-color', 'secondary-container'),
|
|
36
|
+
'active-indicator-height': if($exclude-hardcoded-values, null, 32px),
|
|
37
|
+
'active-indicator-shape': map.get($deps, 'md-sys-shape', 'corner-full'),
|
|
38
|
+
'active-indicator-width': if($exclude-hardcoded-values, null, 64px),
|
|
39
|
+
'active-focus-icon-color':
|
|
40
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
41
|
+
'active-focus-label-text-color':
|
|
42
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
43
|
+
'active-focus-state-layer-color':
|
|
44
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
45
|
+
'active-hover-icon-color':
|
|
46
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
47
|
+
'active-hover-label-text-color':
|
|
48
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
49
|
+
'active-hover-state-layer-color':
|
|
50
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
51
|
+
'active-icon-color':
|
|
52
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
53
|
+
'active-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
|
|
54
|
+
'active-label-text-weight':
|
|
55
|
+
map.get($deps, 'md-sys-typescale', 'label-medium-weight-prominent'),
|
|
56
|
+
'active-pressed-icon-color':
|
|
57
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
58
|
+
'active-pressed-label-text-color':
|
|
59
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
60
|
+
'active-pressed-state-layer-color':
|
|
61
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
62
|
+
'container-color': map.get($deps, 'md-sys-color', 'surface'),
|
|
63
|
+
'container-elevation': map.get($deps, 'md-sys-elevation', 'level2'),
|
|
64
|
+
'container-height': if($exclude-hardcoded-values, null, 80px),
|
|
65
|
+
'container-shape': map.get($deps, 'md-sys-shape', 'corner-none'),
|
|
66
|
+
'container-surface-tint-layer-color':
|
|
67
|
+
map.get($deps, 'md-sys-color', 'surface-tint'),
|
|
68
|
+
'focus-state-layer-opacity':
|
|
69
|
+
map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
|
|
70
|
+
'hover-state-layer-opacity':
|
|
71
|
+
map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
|
|
72
|
+
'icon-size': if($exclude-hardcoded-values, null, 24px),
|
|
73
|
+
'inactive-focus-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
|
|
74
|
+
'inactive-focus-label-text-color':
|
|
75
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
76
|
+
'inactive-focus-state-layer-color':
|
|
77
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
78
|
+
'inactive-hover-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
|
|
79
|
+
'inactive-hover-label-text-color':
|
|
80
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
81
|
+
'inactive-hover-state-layer-color':
|
|
82
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
83
|
+
'inactive-icon-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
84
|
+
'inactive-label-text-color':
|
|
85
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
86
|
+
'inactive-pressed-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
|
|
87
|
+
'inactive-pressed-label-text-color':
|
|
88
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
89
|
+
'inactive-pressed-state-layer-color':
|
|
90
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
91
|
+
'label-text-font': map.get($deps, 'md-sys-typescale', 'label-medium-font'),
|
|
92
|
+
'label-text-line-height':
|
|
93
|
+
map.get($deps, 'md-sys-typescale', 'label-medium-line-height'),
|
|
94
|
+
'label-text-size': map.get($deps, 'md-sys-typescale', 'label-medium-size'),
|
|
95
|
+
'label-text-tracking':
|
|
96
|
+
map.get($deps, 'md-sys-typescale', 'label-medium-tracking'),
|
|
97
|
+
'label-text-type':
|
|
98
|
+
if(
|
|
99
|
+
$exclude-hardcoded-values,
|
|
100
|
+
null,
|
|
101
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.navigation-bar.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
102
|
+
map.get($deps, 'md-sys-typescale', 'label-medium-weight')
|
|
103
|
+
map.get($deps, 'md-sys-typescale', 'label-medium-size') #{'/'} map.get(
|
|
104
|
+
$deps,
|
|
105
|
+
'md-sys-typescale',
|
|
106
|
+
'label-medium-line-height'
|
|
107
|
+
) map.get($deps, 'md-sys-typescale', 'label-medium-font')
|
|
108
|
+
),
|
|
109
|
+
'label-text-weight':
|
|
110
|
+
map.get($deps, 'md-sys-typescale', 'label-medium-weight'),
|
|
111
|
+
'pressed-state-layer-opacity':
|
|
112
|
+
map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity')
|
|
113
|
+
);
|
|
114
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
// Design system display name: Google Material 3
|
|
9
|
+
// Design system version: v0.161
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
@use 'sass:map';
|
|
13
|
+
|
|
14
|
+
@use './md-sys-color';
|
|
15
|
+
|
|
16
|
+
@use './md-sys-elevation';
|
|
17
|
+
|
|
18
|
+
@use './md-sys-shape';
|
|
19
|
+
|
|
20
|
+
@use './md-sys-state';
|
|
21
|
+
|
|
22
|
+
@use './md-sys-typescale';
|
|
23
|
+
|
|
24
|
+
$_default: (
|
|
25
|
+
'md-sys-color': md-sys-color.values-light(),
|
|
26
|
+
'md-sys-elevation': md-sys-elevation.values(),
|
|
27
|
+
'md-sys-shape': md-sys-shape.values(),
|
|
28
|
+
'md-sys-state': md-sys-state.values(),
|
|
29
|
+
'md-sys-typescale': md-sys-typescale.values(),
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
@function values($deps: $_default, $exclude-hardcoded-values: false) {
|
|
33
|
+
@return (
|
|
34
|
+
'active-indicator-color':
|
|
35
|
+
map.get($deps, 'md-sys-color', 'secondary-container'),
|
|
36
|
+
'active-indicator-height': if($exclude-hardcoded-values, null, 56px),
|
|
37
|
+
'active-indicator-shape': map.get($deps, 'md-sys-shape', 'corner-full'),
|
|
38
|
+
'active-indicator-width': if($exclude-hardcoded-values, null, 336px),
|
|
39
|
+
'active-focus-icon-color':
|
|
40
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
41
|
+
'active-focus-label-text-color':
|
|
42
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
43
|
+
'active-focus-state-layer-color':
|
|
44
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
45
|
+
'active-hover-icon-color':
|
|
46
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
47
|
+
'active-hover-label-text-color':
|
|
48
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
49
|
+
'active-hover-state-layer-color':
|
|
50
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
51
|
+
'active-icon-color':
|
|
52
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
53
|
+
'active-label-text-color':
|
|
54
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
55
|
+
'active-label-text-weight':
|
|
56
|
+
map.get($deps, 'md-sys-typescale', 'label-large-weight-prominent'),
|
|
57
|
+
'active-pressed-icon-color':
|
|
58
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
59
|
+
'active-pressed-label-text-color':
|
|
60
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
61
|
+
'active-pressed-state-layer-color':
|
|
62
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
63
|
+
'bottom-container-shape': map.get($deps, 'md-sys-shape', 'corner-large-top'),
|
|
64
|
+
'container-color': map.get($deps, 'md-sys-color', 'surface'),
|
|
65
|
+
'container-height': if($exclude-hardcoded-values, null, 100%),
|
|
66
|
+
'container-shape': map.get($deps, 'md-sys-shape', 'corner-large-end'),
|
|
67
|
+
'container-surface-tint-layer-color':
|
|
68
|
+
map.get($deps, 'md-sys-color', 'surface-tint'),
|
|
69
|
+
'container-width': if($exclude-hardcoded-values, null, 360px),
|
|
70
|
+
'focus-state-layer-opacity':
|
|
71
|
+
map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
|
|
72
|
+
'headline-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
73
|
+
'headline-font': map.get($deps, 'md-sys-typescale', 'title-small-font'),
|
|
74
|
+
'headline-line-height':
|
|
75
|
+
map.get($deps, 'md-sys-typescale', 'title-small-line-height'),
|
|
76
|
+
'headline-size': map.get($deps, 'md-sys-typescale', 'title-small-size'),
|
|
77
|
+
'headline-tracking':
|
|
78
|
+
map.get($deps, 'md-sys-typescale', 'title-small-tracking'),
|
|
79
|
+
'headline-type':
|
|
80
|
+
if(
|
|
81
|
+
$exclude-hardcoded-values,
|
|
82
|
+
null,
|
|
83
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.navigation-drawer.headline.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
84
|
+
map.get($deps, 'md-sys-typescale', 'title-small-weight')
|
|
85
|
+
map.get($deps, 'md-sys-typescale', 'title-small-size') #{'/'} map.get(
|
|
86
|
+
$deps,
|
|
87
|
+
'md-sys-typescale',
|
|
88
|
+
'title-small-line-height'
|
|
89
|
+
) map.get($deps, 'md-sys-typescale', 'title-small-font')
|
|
90
|
+
),
|
|
91
|
+
'headline-weight': map.get($deps, 'md-sys-typescale', 'title-small-weight'),
|
|
92
|
+
'hover-state-layer-opacity':
|
|
93
|
+
map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
|
|
94
|
+
'icon-size': if($exclude-hardcoded-values, null, 24px),
|
|
95
|
+
'inactive-focus-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
|
|
96
|
+
'inactive-focus-label-text-color':
|
|
97
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
98
|
+
'inactive-focus-state-layer-color':
|
|
99
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
100
|
+
'inactive-hover-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
|
|
101
|
+
'inactive-hover-label-text-color':
|
|
102
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
103
|
+
'inactive-hover-state-layer-color':
|
|
104
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
105
|
+
'inactive-icon-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
106
|
+
'inactive-label-text-color':
|
|
107
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
108
|
+
'inactive-pressed-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
|
|
109
|
+
'inactive-pressed-label-text-color':
|
|
110
|
+
map.get($deps, 'md-sys-color', 'on-surface'),
|
|
111
|
+
'inactive-pressed-state-layer-color':
|
|
112
|
+
map.get($deps, 'md-sys-color', 'on-secondary-container'),
|
|
113
|
+
'label-text-font': map.get($deps, 'md-sys-typescale', 'label-large-font'),
|
|
114
|
+
'label-text-line-height':
|
|
115
|
+
map.get($deps, 'md-sys-typescale', 'label-large-line-height'),
|
|
116
|
+
'label-text-size': map.get($deps, 'md-sys-typescale', 'label-large-size'),
|
|
117
|
+
'label-text-tracking':
|
|
118
|
+
map.get($deps, 'md-sys-typescale', 'label-large-tracking'),
|
|
119
|
+
'label-text-type':
|
|
120
|
+
if(
|
|
121
|
+
$exclude-hardcoded-values,
|
|
122
|
+
null,
|
|
123
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.navigation-drawer.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
124
|
+
map.get($deps, 'md-sys-typescale', 'label-large-weight')
|
|
125
|
+
map.get($deps, 'md-sys-typescale', 'label-large-size') #{'/'} map.get(
|
|
126
|
+
$deps,
|
|
127
|
+
'md-sys-typescale',
|
|
128
|
+
'label-large-line-height'
|
|
129
|
+
) map.get($deps, 'md-sys-typescale', 'label-large-font')
|
|
130
|
+
),
|
|
131
|
+
'label-text-weight':
|
|
132
|
+
map.get($deps, 'md-sys-typescale', 'label-large-weight'),
|
|
133
|
+
'large-badge-label-color':
|
|
134
|
+
map.get($deps, 'md-sys-color', 'on-surface-variant'),
|
|
135
|
+
'large-badge-label-font':
|
|
136
|
+
map.get($deps, 'md-sys-typescale', 'label-large-font'),
|
|
137
|
+
'large-badge-label-line-height':
|
|
138
|
+
map.get($deps, 'md-sys-typescale', 'label-large-line-height'),
|
|
139
|
+
'large-badge-label-size':
|
|
140
|
+
map.get($deps, 'md-sys-typescale', 'label-large-size'),
|
|
141
|
+
'large-badge-label-tracking':
|
|
142
|
+
map.get($deps, 'md-sys-typescale', 'label-large-tracking'),
|
|
143
|
+
'large-badge-label-type':
|
|
144
|
+
if(
|
|
145
|
+
$exclude-hardcoded-values,
|
|
146
|
+
null,
|
|
147
|
+
/** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.navigation-drawer.large-badge-label.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
|
|
148
|
+
map.get($deps, 'md-sys-typescale', 'label-large-weight')
|
|
149
|
+
map.get($deps, 'md-sys-typescale', 'label-large-size') #{'/'} map.get(
|
|
150
|
+
$deps,
|
|
151
|
+
'md-sys-typescale',
|
|
152
|
+
'label-large-line-height'
|
|
153
|
+
) map.get($deps, 'md-sys-typescale', 'label-large-font')
|
|
154
|
+
),
|
|
155
|
+
'large-badge-label-weight':
|
|
156
|
+
map.get($deps, 'md-sys-typescale', 'label-large-weight'),
|
|
157
|
+
'modal-container-elevation': map.get($deps, 'md-sys-elevation', 'level1'),
|
|
158
|
+
'pressed-state-layer-opacity':
|
|
159
|
+
map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity'),
|
|
160
|
+
'standard-container-elevation': map.get($deps, 'md-sys-elevation', 'level0')
|
|
161
|
+
);
|
|
162
|
+
}
|