@material/web 1.5.1 → 1.5.2-nightly.5b73f4c.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/internal/_elevated-button.scss +1 -3
- package/button/internal/_elevation.scss +2 -2
- package/button/internal/_filled-button.scss +1 -3
- package/button/internal/_filled-tonal-button.scss +1 -3
- package/button/internal/_icon.scss +1 -1
- package/button/internal/_outlined-button.scss +4 -6
- package/button/internal/_shared.scss +4 -4
- package/button/internal/_text-button.scss +1 -3
- package/button/internal/button.d.ts +11 -2
- package/button/internal/button.js +33 -13
- package/button/internal/button.js.map +1 -1
- package/button/internal/elevated-styles.css.map +1 -1
- package/button/internal/filled-styles.css.map +1 -1
- package/button/internal/filled-tonal-styles.css.map +1 -1
- package/button/internal/outlined-styles.css +1 -1
- package/button/internal/outlined-styles.css.map +1 -1
- package/button/internal/outlined-styles.js +1 -1
- package/button/internal/outlined-styles.js.map +1 -1
- package/button/internal/shared-elevation-styles.css +1 -1
- package/button/internal/shared-elevation-styles.css.map +1 -1
- package/button/internal/shared-elevation-styles.js +1 -1
- package/button/internal/shared-elevation-styles.js.map +1 -1
- package/button/internal/shared-styles.css +1 -1
- package/button/internal/shared-styles.css.map +1 -1
- package/button/internal/shared-styles.js +1 -1
- package/button/internal/shared-styles.js.map +1 -1
- package/button/internal/text-styles.css.map +1 -1
- package/checkbox/internal/_checkbox.scss +1 -3
- package/checkbox/internal/checkbox-styles.css.map +1 -1
- package/checkbox/internal/checkbox.d.ts +1 -1
- package/checkbox/internal/checkbox.js +2 -5
- package/checkbox/internal/checkbox.js.map +1 -1
- package/chips/internal/_assist-chip.scss +1 -3
- package/chips/internal/_filter-chip.scss +1 -3
- package/chips/internal/_input-chip.scss +1 -3
- package/chips/internal/_shared.scss +17 -4
- package/chips/internal/_suggestion-chip.scss +1 -3
- package/chips/internal/assist-chip.js +3 -2
- package/chips/internal/assist-chip.js.map +1 -1
- package/chips/internal/assist-styles.css.map +1 -1
- package/chips/internal/chip.d.ts +18 -1
- package/chips/internal/chip.js +49 -16
- package/chips/internal/chip.js.map +1 -1
- package/chips/internal/filter-chip.d.ts +1 -1
- package/chips/internal/filter-chip.js +5 -4
- package/chips/internal/filter-chip.js.map +1 -1
- package/chips/internal/filter-styles.css.map +1 -1
- package/chips/internal/input-chip.js +4 -3
- package/chips/internal/input-chip.js.map +1 -1
- package/chips/internal/input-styles.css.map +1 -1
- package/chips/internal/multi-action-chip.d.ts +1 -1
- package/chips/internal/multi-action-chip.js +5 -1
- package/chips/internal/multi-action-chip.js.map +1 -1
- package/chips/internal/shared-styles.css +1 -1
- package/chips/internal/shared-styles.css.map +1 -1
- package/chips/internal/shared-styles.js +1 -1
- package/chips/internal/shared-styles.js.map +1 -1
- package/chips/internal/suggestion-styles.css.map +1 -1
- package/chips/internal/trailing-icons.d.ts +1 -1
- package/chips/internal/trailing-icons.js +7 -2
- package/chips/internal/trailing-icons.js.map +1 -1
- package/dialog/internal/_dialog.scss +1 -3
- package/dialog/internal/dialog-styles.css.map +1 -1
- package/dialog/internal/dialog.d.ts +3 -1
- package/dialog/internal/dialog.js +12 -6
- package/dialog/internal/dialog.js.map +1 -1
- package/divider/internal/_divider.scss +1 -3
- package/divider/internal/divider-styles.css.map +1 -1
- package/elevation/internal/_elevation.scss +1 -3
- package/elevation/internal/elevation-styles.css.map +1 -1
- package/fab/internal/_fab-branded.scss +1 -3
- package/fab/internal/_fab.scss +1 -3
- package/fab/internal/fab-branded-styles.css.map +1 -1
- package/fab/internal/fab-styles.css.map +1 -1
- package/fab/internal/shared-styles.css.map +1 -1
- package/fab/internal/shared.d.ts +3 -1
- package/fab/internal/shared.js +4 -5
- package/fab/internal/shared.js.map +1 -1
- package/field/internal/_filled-field.scss +1 -3
- package/field/internal/_outlined-field.scss +1 -3
- package/field/internal/field.js +2 -2
- package/field/internal/field.js.map +1 -1
- package/field/internal/filled-styles.css.map +1 -1
- package/field/internal/outlined-styles.css.map +1 -1
- package/focus/internal/_focus-ring.scss +1 -3
- package/focus/internal/focus-ring-styles.css.map +1 -1
- package/icon/internal/_icon.scss +1 -3
- package/icon/internal/icon-styles.css.map +1 -1
- package/iconbutton/internal/_filled-icon-button.scss +8 -10
- package/iconbutton/internal/_filled-tonal-icon-button.scss +8 -12
- package/iconbutton/internal/_icon-button.scss +4 -6
- package/iconbutton/internal/_outlined-icon-button.scss +8 -10
- package/iconbutton/internal/_shared.scss +3 -2
- package/iconbutton/internal/filled-styles.css +1 -1
- package/iconbutton/internal/filled-styles.css.map +1 -1
- package/iconbutton/internal/filled-styles.js +1 -1
- package/iconbutton/internal/filled-styles.js.map +1 -1
- package/iconbutton/internal/filled-tonal-styles.css +1 -1
- package/iconbutton/internal/filled-tonal-styles.css.map +1 -1
- package/iconbutton/internal/filled-tonal-styles.js +1 -1
- package/iconbutton/internal/filled-tonal-styles.js.map +1 -1
- package/iconbutton/internal/icon-button.d.ts +16 -4
- package/iconbutton/internal/icon-button.js +62 -30
- package/iconbutton/internal/icon-button.js.map +1 -1
- package/iconbutton/internal/outlined-styles.css +1 -1
- package/iconbutton/internal/outlined-styles.css.map +1 -1
- package/iconbutton/internal/outlined-styles.js +1 -1
- package/iconbutton/internal/outlined-styles.js.map +1 -1
- package/iconbutton/internal/shared-styles.css +1 -1
- package/iconbutton/internal/shared-styles.css.map +1 -1
- package/iconbutton/internal/shared-styles.js +1 -1
- package/iconbutton/internal/shared-styles.js.map +1 -1
- package/iconbutton/internal/standard-styles.css +1 -1
- package/iconbutton/internal/standard-styles.css.map +1 -1
- package/iconbutton/internal/standard-styles.js +1 -1
- package/iconbutton/internal/standard-styles.js.map +1 -1
- package/internal/aria/aria.js +1 -1
- package/internal/aria/aria.js.map +1 -1
- package/internal/aria/delegate.d.ts +34 -17
- package/internal/aria/delegate.js +149 -26
- package/internal/aria/delegate.js.map +1 -1
- package/labs/badge/internal/badge-styles.css +1 -1
- package/labs/badge/internal/badge-styles.css.map +1 -1
- package/labs/badge/internal/badge-styles.js +1 -1
- package/labs/badge/internal/badge-styles.js.map +1 -1
- package/labs/card/internal/_elevated-card.scss +1 -3
- package/labs/card/internal/_filled-card.scss +1 -3
- package/labs/card/internal/_outlined-card.scss +1 -3
- package/labs/card/internal/elevated-styles.css.map +1 -1
- package/labs/card/internal/filled-styles.css.map +1 -1
- package/labs/card/internal/outlined-styles.css.map +1 -1
- package/labs/navigationbar/internal/navigation-bar-styles.css +1 -1
- package/labs/navigationbar/internal/navigation-bar-styles.css.map +1 -1
- package/labs/navigationbar/internal/navigation-bar-styles.js +1 -1
- package/labs/navigationbar/internal/navigation-bar-styles.js.map +1 -1
- package/labs/navigationbar/internal/navigation-bar.d.ts +3 -1
- package/labs/navigationbar/internal/navigation-bar.js +4 -5
- package/labs/navigationbar/internal/navigation-bar.js.map +1 -1
- package/labs/navigationdrawer/internal/navigation-drawer-modal.d.ts +3 -1
- package/labs/navigationdrawer/internal/navigation-drawer-modal.js +4 -5
- package/labs/navigationdrawer/internal/navigation-drawer-modal.js.map +1 -1
- package/labs/navigationdrawer/internal/navigation-drawer.d.ts +3 -1
- package/labs/navigationdrawer/internal/navigation-drawer.js +4 -5
- package/labs/navigationdrawer/internal/navigation-drawer.js.map +1 -1
- package/labs/navigationtab/internal/navigation-tab-styles.css +1 -1
- package/labs/navigationtab/internal/navigation-tab-styles.css.map +1 -1
- package/labs/navigationtab/internal/navigation-tab-styles.js +1 -1
- package/labs/navigationtab/internal/navigation-tab-styles.js.map +1 -1
- package/labs/navigationtab/internal/navigation-tab.d.ts +3 -1
- package/labs/navigationtab/internal/navigation-tab.js +4 -5
- package/labs/navigationtab/internal/navigation-tab.js.map +1 -1
- package/labs/segmentedbutton/internal/outlined-styles.css +1 -1
- package/labs/segmentedbutton/internal/outlined-styles.css.map +1 -1
- package/labs/segmentedbutton/internal/outlined-styles.js +1 -1
- package/labs/segmentedbutton/internal/outlined-styles.js.map +1 -1
- package/labs/segmentedbutton/internal/segmented-button.d.ts +3 -1
- package/labs/segmentedbutton/internal/segmented-button.js +4 -5
- package/labs/segmentedbutton/internal/segmented-button.js.map +1 -1
- package/labs/segmentedbuttonset/internal/_outlined-segmented-button-set.scss +1 -3
- package/labs/segmentedbuttonset/internal/outlined-styles.css.map +1 -1
- package/labs/segmentedbuttonset/internal/segmented-button-set.d.ts +3 -1
- package/labs/segmentedbuttonset/internal/segmented-button-set.js +4 -5
- package/labs/segmentedbuttonset/internal/segmented-button-set.js.map +1 -1
- package/list/internal/_list.scss +1 -3
- package/list/internal/list-styles.css.map +1 -1
- package/list/internal/listitem/_list-item.scss +1 -3
- package/list/internal/listitem/list-item-styles.css.map +1 -1
- package/list/internal/listitem/list-item.d.ts +3 -1
- package/list/internal/listitem/list-item.js +4 -5
- package/list/internal/listitem/list-item.js.map +1 -1
- package/menu/internal/_menu.scss +1 -3
- package/menu/internal/menu-styles.css.map +1 -1
- package/menu/internal/menuitem/_menu-item.scss +1 -3
- package/menu/internal/menuitem/menu-item-styles.css.map +1 -1
- package/menu/internal/menuitem/menu-item.d.ts +3 -1
- package/menu/internal/menuitem/menu-item.js +4 -5
- package/menu/internal/menuitem/menu-item.js.map +1 -1
- package/migrations/v2/query-selector-aria.d.ts +22 -0
- package/migrations/v2/query-selector-aria.js +30 -0
- package/migrations/v2/query-selector-aria.js.map +1 -0
- package/package.json +1 -1
- package/progress/internal/_circular-progress.scss +1 -3
- package/progress/internal/_linear-progress.scss +1 -3
- package/progress/internal/circular-progress-styles.css.map +1 -1
- package/progress/internal/linear-progress-styles.css.map +1 -1
- package/progress/internal/progress.d.ts +3 -1
- package/progress/internal/progress.js +4 -5
- package/progress/internal/progress.js.map +1 -1
- package/radio/internal/_radio.scss +1 -3
- package/radio/internal/radio-styles.css.map +1 -1
- package/ripple/internal/_ripple.scss +1 -3
- package/ripple/internal/ripple-styles.css.map +1 -1
- package/select/internal/_filled-select.scss +1 -3
- package/select/internal/_outlined-select.scss +1 -3
- package/select/internal/filled-select-styles.css.map +1 -1
- package/select/internal/outlined-select-styles.css.map +1 -1
- package/select/internal/select.d.ts +1 -1
- package/select/internal/select.js +2 -5
- package/select/internal/select.js.map +1 -1
- package/select/internal/selectoption/select-option.d.ts +2 -1
- package/select/internal/selectoption/select-option.js +4 -5
- package/select/internal/selectoption/select-option.js.map +1 -1
- package/slider/internal/_slider.scss +1 -3
- package/slider/internal/slider-styles.css.map +1 -1
- package/slider/internal/slider.d.ts +1 -1
- package/slider/internal/slider.js +3 -6
- package/slider/internal/slider.js.map +1 -1
- package/switch/internal/_switch.scss +1 -3
- package/switch/internal/switch-styles.css.map +1 -1
- package/switch/internal/switch.d.ts +1 -1
- package/switch/internal/switch.js +2 -5
- package/switch/internal/switch.js.map +1 -1
- package/tabs/internal/_primary-tab.scss +1 -3
- package/tabs/internal/_secondary-tab.scss +1 -3
- package/tabs/internal/primary-tab-styles.css.map +1 -1
- package/tabs/internal/secondary-tab-styles.css.map +1 -1
- package/tabs/internal/tabs.js +1 -1
- package/tabs/internal/tabs.js.map +1 -1
- package/textfield/internal/_filled-text-field.scss +1 -3
- package/textfield/internal/_outlined-text-field.scss +1 -3
- package/textfield/internal/filled-styles.css.map +1 -1
- package/textfield/internal/outlined-styles.css.map +1 -1
- package/textfield/internal/text-field.d.ts +1 -1
- package/textfield/internal/text-field.js +2 -5
- package/textfield/internal/text-field.js.map +1 -1
- package/tokens/_md-comp-assist-chip.scss +1 -3
- package/tokens/_md-comp-badge.scss +1 -3
- package/tokens/_md-comp-checkbox.scss +1 -3
- package/tokens/_md-comp-circular-progress.scss +1 -3
- package/tokens/_md-comp-dialog.scss +1 -3
- package/tokens/_md-comp-divider.scss +1 -3
- package/tokens/_md-comp-elevated-button.scss +1 -3
- package/tokens/_md-comp-elevated-card.scss +1 -3
- package/tokens/_md-comp-elevation.scss +1 -3
- package/tokens/_md-comp-fab-branded.scss +1 -3
- package/tokens/_md-comp-fab.scss +1 -3
- package/tokens/_md-comp-filled-button.scss +1 -3
- package/tokens/_md-comp-filled-card.scss +1 -3
- package/tokens/_md-comp-filled-field.scss +1 -3
- package/tokens/_md-comp-filled-icon-button.scss +1 -3
- package/tokens/_md-comp-filled-select.scss +1 -3
- package/tokens/_md-comp-filled-text-field.scss +1 -3
- package/tokens/_md-comp-filled-tonal-button.scss +1 -3
- package/tokens/_md-comp-filled-tonal-icon-button.scss +1 -3
- package/tokens/_md-comp-filter-chip.scss +1 -3
- package/tokens/_md-comp-focus-ring.scss +1 -3
- package/tokens/_md-comp-icon-button.scss +1 -3
- package/tokens/_md-comp-icon.scss +1 -3
- package/tokens/_md-comp-input-chip.scss +1 -3
- package/tokens/_md-comp-linear-progress.scss +1 -3
- package/tokens/_md-comp-list-item.scss +1 -3
- package/tokens/_md-comp-list.scss +1 -3
- package/tokens/_md-comp-menu-item.scss +3 -4
- package/tokens/_md-comp-menu.scss +1 -3
- package/tokens/_md-comp-navigation-bar.scss +1 -3
- package/tokens/_md-comp-navigation-drawer.scss +1 -3
- package/tokens/_md-comp-outlined-button.scss +1 -3
- package/tokens/_md-comp-outlined-card.scss +1 -3
- package/tokens/_md-comp-outlined-field.scss +1 -3
- package/tokens/_md-comp-outlined-icon-button.scss +1 -3
- package/tokens/_md-comp-outlined-segmented-button.scss +1 -3
- package/tokens/_md-comp-outlined-select.scss +1 -3
- package/tokens/_md-comp-outlined-text-field.scss +1 -3
- package/tokens/_md-comp-primary-tab.scss +1 -3
- package/tokens/_md-comp-radio.scss +1 -3
- package/tokens/_md-comp-ripple.scss +1 -3
- package/tokens/_md-comp-secondary-tab.scss +1 -3
- package/tokens/_md-comp-slider.scss +1 -3
- package/tokens/_md-comp-suggestion-chip.scss +1 -3
- package/tokens/_md-comp-switch.scss +1 -3
- package/tokens/_md-comp-text-button.scss +1 -3
|
@@ -42,7 +42,7 @@ $unsupported-tokens: (
|
|
|
42
42
|
@function values(
|
|
43
43
|
$deps: $_default,
|
|
44
44
|
$exclude-hardcoded-values: false,
|
|
45
|
-
$exclude-custom-properties:
|
|
45
|
+
$exclude-custom-properties: false
|
|
46
46
|
) {
|
|
47
47
|
$tokens: validate.values(
|
|
48
48
|
md-comp-linear-progress-indicator.values($deps, $exclude-hardcoded-values),
|
|
@@ -50,8 +50,6 @@ $unsupported-tokens: (
|
|
|
50
50
|
$unsupported-tokens: $unsupported-tokens
|
|
51
51
|
);
|
|
52
52
|
|
|
53
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
54
|
-
// See b/321816473.
|
|
55
53
|
@if not $exclude-custom-properties {
|
|
56
54
|
@each $token, $value in $tokens {
|
|
57
55
|
$tokens: map.set(
|
|
@@ -127,7 +127,7 @@ $_default: (
|
|
|
127
127
|
@function values(
|
|
128
128
|
$deps: $_default,
|
|
129
129
|
$exclude-hardcoded-values: false,
|
|
130
|
-
$exclude-custom-properties:
|
|
130
|
+
$exclude-custom-properties: false
|
|
131
131
|
) {
|
|
132
132
|
$original-tokens: md-comp-list.values($deps, $exclude-hardcoded-values);
|
|
133
133
|
|
|
@@ -144,8 +144,6 @@ $_default: (
|
|
|
144
144
|
$renamed-tokens: _get-renamed-tokens($original-tokens)
|
|
145
145
|
);
|
|
146
146
|
|
|
147
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
148
|
-
// See b/321816473.
|
|
149
147
|
@if not $exclude-custom-properties {
|
|
150
148
|
@each $token, $value in $tokens {
|
|
151
149
|
$tokens: map.set(
|
|
@@ -25,7 +25,7 @@ $_default: (
|
|
|
25
25
|
@function values(
|
|
26
26
|
$deps: $_default,
|
|
27
27
|
$exclude-hardcoded-values: false,
|
|
28
|
-
$exclude-custom-properties:
|
|
28
|
+
$exclude-custom-properties: false
|
|
29
29
|
) {
|
|
30
30
|
$list-tokens: md-comp-list.values($deps, $exclude-hardcoded-values);
|
|
31
31
|
$tokens: (
|
|
@@ -34,8 +34,6 @@ $_default: (
|
|
|
34
34
|
|
|
35
35
|
$tokens: validate.values($tokens, $supported-tokens: $supported-tokens);
|
|
36
36
|
|
|
37
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
38
|
-
// See b/321816473.
|
|
39
37
|
@if not $exclude-custom-properties {
|
|
40
38
|
@each $token, $value in $tokens {
|
|
41
39
|
$tokens: map.set($tokens, $token, var(--md-list-#{$token}, #{$value}));
|
|
@@ -75,7 +75,7 @@ $_default: (
|
|
|
75
75
|
@function values(
|
|
76
76
|
$deps: $_default,
|
|
77
77
|
$exclude-hardcoded-values: false,
|
|
78
|
-
$exclude-custom-properties:
|
|
78
|
+
$exclude-custom-properties: false
|
|
79
79
|
) {
|
|
80
80
|
$tokens: md-comp-menu.values($deps);
|
|
81
81
|
|
|
@@ -89,12 +89,11 @@ $_default: (
|
|
|
89
89
|
$tokens,
|
|
90
90
|
$supported-tokens: $supported-tokens,
|
|
91
91
|
$unsupported-tokens: $unsupported-tokens,
|
|
92
|
-
$new-tokens:
|
|
92
|
+
$new-tokens:
|
|
93
|
+
md-comp-list-item.values($deps, $exclude-custom-properties: true),
|
|
93
94
|
$renamed-tokens: _get-renamed-tokens($tokens)
|
|
94
95
|
);
|
|
95
96
|
|
|
96
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
97
|
-
// See b/321816473.
|
|
98
97
|
@if not $exclude-custom-properties {
|
|
99
98
|
@each $token, $value in $tokens {
|
|
100
99
|
$tokens: map.set(
|
|
@@ -41,7 +41,7 @@ $_default: (
|
|
|
41
41
|
@function values(
|
|
42
42
|
$deps: $_default,
|
|
43
43
|
$exclude-hardcoded-values: false,
|
|
44
|
-
$exclude-custom-properties:
|
|
44
|
+
$exclude-custom-properties: false
|
|
45
45
|
) {
|
|
46
46
|
$tokens: validate.values(
|
|
47
47
|
md-comp-menu.values($deps),
|
|
@@ -49,8 +49,6 @@ $_default: (
|
|
|
49
49
|
$unsupported-tokens: $unsupported-tokens
|
|
50
50
|
);
|
|
51
51
|
|
|
52
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
53
|
-
// See b/321816473.
|
|
54
52
|
@if not $exclude-custom-properties {
|
|
55
53
|
@each $token, $value in $tokens {
|
|
56
54
|
$tokens: map.set($tokens, $token, var(--md-menu-#{$token}, #{$value}));
|
|
@@ -26,12 +26,10 @@ $_default: (
|
|
|
26
26
|
@function values(
|
|
27
27
|
$deps: $_default,
|
|
28
28
|
$exclude-hardcoded-values: false,
|
|
29
|
-
$exclude-custom-properties:
|
|
29
|
+
$exclude-custom-properties: false
|
|
30
30
|
) {
|
|
31
31
|
$tokens: md-comp-navigation-bar.values($deps, $exclude-hardcoded-values);
|
|
32
32
|
|
|
33
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
34
|
-
// See b/321816473.
|
|
35
33
|
@if not $exclude-custom-properties {
|
|
36
34
|
@each $token, $value in $tokens {
|
|
37
35
|
$tokens: map.set(
|
|
@@ -26,12 +26,10 @@ $_default: (
|
|
|
26
26
|
@function values(
|
|
27
27
|
$deps: $_default,
|
|
28
28
|
$exclude-hardcoded-values: false,
|
|
29
|
-
$exclude-custom-properties:
|
|
29
|
+
$exclude-custom-properties: false
|
|
30
30
|
) {
|
|
31
31
|
$tokens: md-comp-navigation-drawer.values($deps, $exclude-hardcoded-values);
|
|
32
32
|
|
|
33
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
34
|
-
// See b/321816473.
|
|
35
33
|
@if not $exclude-custom-properties {
|
|
36
34
|
@each $token, $value in $tokens {
|
|
37
35
|
$tokens: map.set(
|
|
@@ -81,7 +81,7 @@ $_default: (
|
|
|
81
81
|
@function values(
|
|
82
82
|
$deps: $_default,
|
|
83
83
|
$exclude-hardcoded-values: false,
|
|
84
|
-
$exclude-custom-properties:
|
|
84
|
+
$exclude-custom-properties: false
|
|
85
85
|
) {
|
|
86
86
|
$tokens: md-comp-outlined-button.values($deps, $exclude-hardcoded-values);
|
|
87
87
|
$new-tokens: map.merge(
|
|
@@ -120,8 +120,6 @@ $_default: (
|
|
|
120
120
|
)
|
|
121
121
|
);
|
|
122
122
|
|
|
123
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
124
|
-
// See b/321816473.
|
|
125
123
|
@if not $exclude-custom-properties {
|
|
126
124
|
@each $token, $value in $tokens {
|
|
127
125
|
@if string.index($token, 'container-shape-') == 1 {
|
|
@@ -64,7 +64,7 @@ $_default: (
|
|
|
64
64
|
@function values(
|
|
65
65
|
$deps: $_default,
|
|
66
66
|
$exclude-hardcoded-values: false,
|
|
67
|
-
$exclude-custom-properties:
|
|
67
|
+
$exclude-custom-properties: false
|
|
68
68
|
) {
|
|
69
69
|
$tokens: validate.values(
|
|
70
70
|
md-comp-outlined-card.values($deps, $exclude-hardcoded-values),
|
|
@@ -72,8 +72,6 @@ $_default: (
|
|
|
72
72
|
$unsupported-tokens: $unsupported-tokens
|
|
73
73
|
);
|
|
74
74
|
|
|
75
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
76
|
-
// See b/321816473.
|
|
77
75
|
@if not $exclude-custom-properties {
|
|
78
76
|
@each $token, $value in $tokens {
|
|
79
77
|
$tokens: map.set(
|
|
@@ -112,7 +112,7 @@ $_default: (
|
|
|
112
112
|
@function values(
|
|
113
113
|
$deps: $_default,
|
|
114
114
|
$exclude-hardcoded-values: false,
|
|
115
|
-
$exclude-custom-properties:
|
|
115
|
+
$exclude-custom-properties: false
|
|
116
116
|
) {
|
|
117
117
|
$text-field: md-comp-outlined-text-field.values(
|
|
118
118
|
$deps,
|
|
@@ -241,8 +241,6 @@ $_default: (
|
|
|
241
241
|
$new-tokens: $new-tokens
|
|
242
242
|
);
|
|
243
243
|
|
|
244
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
245
|
-
// See b/321816473.
|
|
246
244
|
@if not $exclude-custom-properties {
|
|
247
245
|
@each $token, $value in $tokens {
|
|
248
246
|
@if string.index($token, 'container-shape-') == 1 {
|
|
@@ -69,7 +69,7 @@ $_default: (
|
|
|
69
69
|
@function values(
|
|
70
70
|
$deps: $_default,
|
|
71
71
|
$exclude-hardcoded-values: false,
|
|
72
|
-
$exclude-custom-properties:
|
|
72
|
+
$exclude-custom-properties: false
|
|
73
73
|
) {
|
|
74
74
|
$tokens: md-comp-outlined-icon-button.values(
|
|
75
75
|
$deps,
|
|
@@ -98,8 +98,6 @@ $_default: (
|
|
|
98
98
|
)
|
|
99
99
|
);
|
|
100
100
|
|
|
101
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
102
|
-
// See b/321816473.
|
|
103
101
|
@if not $exclude-custom-properties {
|
|
104
102
|
@each $token, $value in $tokens {
|
|
105
103
|
@if string.index($token, 'container-shape-') == 1 {
|
|
@@ -83,7 +83,7 @@ $_default: (
|
|
|
83
83
|
@function values(
|
|
84
84
|
$deps: $_default,
|
|
85
85
|
$exclude-hardcoded-values: false,
|
|
86
|
-
$exclude-custom-properties:
|
|
86
|
+
$exclude-custom-properties: false
|
|
87
87
|
) {
|
|
88
88
|
$tokens: md-comp-outlined-segmented-button.values(
|
|
89
89
|
$deps,
|
|
@@ -104,8 +104,6 @@ $_default: (
|
|
|
104
104
|
)
|
|
105
105
|
);
|
|
106
106
|
|
|
107
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
108
|
-
// See b/321816473.
|
|
109
107
|
@if not $exclude-custom-properties {
|
|
110
108
|
@each $token, $value in $tokens {
|
|
111
109
|
@if string.index($token, 'shape-') == 1 {
|
|
@@ -144,7 +144,7 @@ $_default: (
|
|
|
144
144
|
@function values(
|
|
145
145
|
$deps: $_default,
|
|
146
146
|
$exclude-hardcoded-values: false,
|
|
147
|
-
$exclude-custom-properties:
|
|
147
|
+
$exclude-custom-properties: false
|
|
148
148
|
) {
|
|
149
149
|
$tokens: md-comp-outlined-select.values($deps, $exclude-hardcoded-values);
|
|
150
150
|
$new-tokens: shape.get-new-logical-shape-tokens(
|
|
@@ -167,8 +167,6 @@ $_default: (
|
|
|
167
167
|
)
|
|
168
168
|
);
|
|
169
169
|
|
|
170
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
171
|
-
// See b/321816473.
|
|
172
170
|
@if not $exclude-custom-properties {
|
|
173
171
|
@each $token, $value in $tokens {
|
|
174
172
|
@if string.index($token, 'text-field-container-shape-') == 1 {
|
|
@@ -126,7 +126,7 @@ $_default: (
|
|
|
126
126
|
@function values(
|
|
127
127
|
$deps: $_default,
|
|
128
128
|
$exclude-hardcoded-values: false,
|
|
129
|
-
$exclude-custom-properties:
|
|
129
|
+
$exclude-custom-properties: false
|
|
130
130
|
) {
|
|
131
131
|
$tokens: md-comp-outlined-text-field.values($deps, $exclude-hardcoded-values);
|
|
132
132
|
$new-tokens: map.merge(
|
|
@@ -160,8 +160,6 @@ $_default: (
|
|
|
160
160
|
)
|
|
161
161
|
);
|
|
162
162
|
|
|
163
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
164
|
-
// See b/321816473.
|
|
165
163
|
@if not $exclude-custom-properties {
|
|
166
164
|
@each $token, $value in $tokens {
|
|
167
165
|
@if string.index($token, 'container-shape-') == 1 {
|
|
@@ -86,7 +86,7 @@ $_default: (
|
|
|
86
86
|
@function values(
|
|
87
87
|
$deps: $_default,
|
|
88
88
|
$exclude-hardcoded-values: false,
|
|
89
|
-
$exclude-custom-properties:
|
|
89
|
+
$exclude-custom-properties: false
|
|
90
90
|
) {
|
|
91
91
|
$tokens: md-comp-primary-navigation-tab.values(
|
|
92
92
|
$deps,
|
|
@@ -141,8 +141,6 @@ $_default: (
|
|
|
141
141
|
)
|
|
142
142
|
);
|
|
143
143
|
|
|
144
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
145
|
-
// See b/321816473.
|
|
146
144
|
@if not $exclude-custom-properties {
|
|
147
145
|
@each $token, $value in $tokens {
|
|
148
146
|
@if string.index($token, 'container-shape-') == 1 {
|
|
@@ -57,7 +57,7 @@ $_default: (
|
|
|
57
57
|
@function values(
|
|
58
58
|
$deps: $_default,
|
|
59
59
|
$exclude-hardcoded-values: false,
|
|
60
|
-
$exclude-custom-properties:
|
|
60
|
+
$exclude-custom-properties: false
|
|
61
61
|
) {
|
|
62
62
|
$tokens: validate.values(
|
|
63
63
|
md-comp-radio-button.values($deps, $exclude-hardcoded-values),
|
|
@@ -76,8 +76,6 @@ $_default: (
|
|
|
76
76
|
)
|
|
77
77
|
);
|
|
78
78
|
|
|
79
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
80
|
-
// See b/321816473.
|
|
81
79
|
@if not $exclude-custom-properties {
|
|
82
80
|
@each $token, $value in $tokens {
|
|
83
81
|
$tokens: map.set($tokens, $token, var(--md-radio-#{$token}, #{$value}));
|
|
@@ -27,7 +27,7 @@ $_default: (
|
|
|
27
27
|
'md-sys-state': md-sys-state.values(),
|
|
28
28
|
);
|
|
29
29
|
|
|
30
|
-
@function values($deps: $_default, $exclude-custom-properties:
|
|
30
|
+
@function values($deps: $_default, $exclude-custom-properties: false) {
|
|
31
31
|
$tokens: (
|
|
32
32
|
'hover-color': map.get($deps, 'md-sys-color', 'on-surface'),
|
|
33
33
|
'hover-opacity': map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
|
|
@@ -38,8 +38,6 @@ $_default: (
|
|
|
38
38
|
|
|
39
39
|
$tokens: validate.values($tokens, $supported-tokens: $supported-tokens);
|
|
40
40
|
|
|
41
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
42
|
-
// See b/321816473.
|
|
43
41
|
@if not $exclude-custom-properties {
|
|
44
42
|
@each $token, $value in $tokens {
|
|
45
43
|
$tokens: map.set($tokens, $token, var(--md-ripple-#{$token}, #{$value}));
|
|
@@ -84,7 +84,7 @@ $_default: (
|
|
|
84
84
|
@function values(
|
|
85
85
|
$deps: $_default,
|
|
86
86
|
$exclude-hardcoded-values: false,
|
|
87
|
-
$exclude-custom-properties:
|
|
87
|
+
$exclude-custom-properties: false
|
|
88
88
|
) {
|
|
89
89
|
$tokens: md-comp-secondary-navigation-tab.values(
|
|
90
90
|
$deps,
|
|
@@ -110,8 +110,6 @@ $_default: (
|
|
|
110
110
|
)
|
|
111
111
|
);
|
|
112
112
|
|
|
113
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
114
|
-
// See b/321816473.
|
|
115
113
|
@if not $exclude-custom-properties {
|
|
116
114
|
@each $token, $value in $tokens {
|
|
117
115
|
@if string.index($token, 'container-shape-') == 1 {
|
|
@@ -90,7 +90,7 @@ $_default: (
|
|
|
90
90
|
@function values(
|
|
91
91
|
$deps: $_default,
|
|
92
92
|
$exclude-hardcoded-values: false,
|
|
93
|
-
$exclude-custom-properties:
|
|
93
|
+
$exclude-custom-properties: false
|
|
94
94
|
) {
|
|
95
95
|
$tokens: validate.values(
|
|
96
96
|
md-comp-slider.values($deps, $exclude-hardcoded-values),
|
|
@@ -107,8 +107,6 @@ $_default: (
|
|
|
107
107
|
)
|
|
108
108
|
);
|
|
109
109
|
|
|
110
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
111
|
-
// See b/321816473.
|
|
112
110
|
@if not $exclude-custom-properties {
|
|
113
111
|
@each $token, $value in $tokens {
|
|
114
112
|
$tokens: map.set($tokens, $token, var(--md-slider-#{$token}, #{$value}));
|
|
@@ -94,7 +94,7 @@ $_default: (
|
|
|
94
94
|
@function values(
|
|
95
95
|
$deps: $_default,
|
|
96
96
|
$exclude-hardcoded-values: false,
|
|
97
|
-
$exclude-custom-properties:
|
|
97
|
+
$exclude-custom-properties: false
|
|
98
98
|
) {
|
|
99
99
|
$tokens: md-comp-suggestion-chip.values($deps, $exclude-hardcoded-values);
|
|
100
100
|
$new-tokens: map.merge(
|
|
@@ -138,8 +138,6 @@ $_default: (
|
|
|
138
138
|
)
|
|
139
139
|
);
|
|
140
140
|
|
|
141
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
142
|
-
// See b/321816473.
|
|
143
141
|
@if not $exclude-custom-properties {
|
|
144
142
|
@each $token, $value in $tokens {
|
|
145
143
|
@if string.index($token, 'container-shape-') == 1 {
|
|
@@ -112,7 +112,7 @@ $_default: (
|
|
|
112
112
|
@function values(
|
|
113
113
|
$deps: $_default,
|
|
114
114
|
$exclude-hardcoded-values: false,
|
|
115
|
-
$exclude-custom-properties:
|
|
115
|
+
$exclude-custom-properties: false
|
|
116
116
|
) {
|
|
117
117
|
$tokens: md-comp-switch.values($deps, $exclude-hardcoded-values);
|
|
118
118
|
$new-tokens: shape.get-new-logical-shape-tokens(
|
|
@@ -162,8 +162,6 @@ $_default: (
|
|
|
162
162
|
)
|
|
163
163
|
);
|
|
164
164
|
|
|
165
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
166
|
-
// See b/321816473.
|
|
167
165
|
@if not $exclude-custom-properties {
|
|
168
166
|
@each $token, $value in $tokens {
|
|
169
167
|
$shape-tokens: ('handle-shape', 'track-shape');
|
|
@@ -74,7 +74,7 @@ $_default: (
|
|
|
74
74
|
@function values(
|
|
75
75
|
$deps: $_default,
|
|
76
76
|
$exclude-hardcoded-values: false,
|
|
77
|
-
$exclude-custom-properties:
|
|
77
|
+
$exclude-custom-properties: false
|
|
78
78
|
) {
|
|
79
79
|
$tokens: md-comp-text-button.values($deps, $exclude-hardcoded-values);
|
|
80
80
|
$new-tokens: map.merge(
|
|
@@ -113,8 +113,6 @@ $_default: (
|
|
|
113
113
|
)
|
|
114
114
|
);
|
|
115
115
|
|
|
116
|
-
// Default to `$exclude-custom-properties: false` in the next breaking change.
|
|
117
|
-
// See b/321816473.
|
|
118
116
|
@if not $exclude-custom-properties {
|
|
119
117
|
@each $token, $value in $tokens {
|
|
120
118
|
@if string.index($token, 'container-shape-') == 1 {
|