@angular/material 18.2.0-next.1 → 18.2.0-next.2

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.
Files changed (155) hide show
  1. package/button/_button-base.scss +0 -6
  2. package/checkbox/_checkbox-common.scss +38 -4
  3. package/checkbox/index.d.ts +6 -1
  4. package/core/_core.scss +15 -18
  5. package/core/m2/_typography.scss +129 -2
  6. package/core/style/_elevation.scss +116 -27
  7. package/core/tokens/_m3-tokens.scss +13 -13
  8. package/core/tokens/_token-utils.scss +65 -2
  9. package/core/tokens/m2/mat/_fab-small.scss +1 -2
  10. package/core/tokens/m2/mat/_fab.scss +1 -2
  11. package/core/tokens/m2/mat/_filled-button.scss +1 -2
  12. package/core/tokens/m2/mat/_form-field.scss +0 -2
  13. package/core/tokens/m2/mat/_protected-button.scss +1 -2
  14. package/core/tokens/m2/mdc/_checkbox.scss +1 -2
  15. package/core/tokens/m2/mdc/_filled-button.scss +1 -2
  16. package/core/tokens/m2/mdc/_protected-button.scss +1 -2
  17. package/core/tokens/m3/definitions/_index.scss +94 -0
  18. package/core/tokens/m3/definitions/_md-comp-checkbox.scss +120 -0
  19. package/core/tokens/m3/definitions/_md-comp-circular-progress-indicator.scss +27 -0
  20. package/core/tokens/m3/definitions/_md-comp-data-table.scss +90 -0
  21. package/core/tokens/m3/definitions/_md-comp-dialog.scss +123 -0
  22. package/core/tokens/m3/definitions/_md-comp-elevated-button.scss +87 -0
  23. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +53 -0
  24. package/core/tokens/m3/definitions/_md-comp-extended-fab-primary.scss +90 -0
  25. package/core/tokens/m3/definitions/_md-comp-extended-fab-secondary.scss +91 -0
  26. package/core/tokens/m3/definitions/_md-comp-extended-fab-tertiary.scss +91 -0
  27. package/core/tokens/m3/definitions/_md-comp-fab-primary-small.scss +59 -0
  28. package/core/tokens/m3/definitions/_md-comp-fab-primary.scss +59 -0
  29. package/core/tokens/m3/definitions/_md-comp-fab-secondary-small.scss +60 -0
  30. package/core/tokens/m3/definitions/_md-comp-fab-secondary.scss +60 -0
  31. package/core/tokens/m3/definitions/_md-comp-fab-tertiary-small.scss +60 -0
  32. package/core/tokens/m3/definitions/_md-comp-fab-tertiary.scss +60 -0
  33. package/core/tokens/m3/definitions/_md-comp-filled-button.scss +85 -0
  34. package/core/tokens/m3/definitions/_md-comp-filled-card.scss +52 -0
  35. package/core/tokens/m3/definitions/_md-comp-filled-icon-button.scss +73 -0
  36. package/core/tokens/m3/definitions/_md-comp-filled-text-field.scss +189 -0
  37. package/core/tokens/m3/definitions/_md-comp-icon-button.scss +64 -0
  38. package/core/tokens/m3/definitions/_md-comp-linear-progress-indicator.scss +29 -0
  39. package/core/tokens/m3/definitions/_md-comp-list.scss +252 -0
  40. package/core/tokens/m3/definitions/_md-comp-outlined-button.scss +80 -0
  41. package/core/tokens/m3/definitions/_md-comp-outlined-card.scss +59 -0
  42. package/core/tokens/m3/definitions/_md-comp-outlined-icon-button.scss +73 -0
  43. package/core/tokens/m3/definitions/_md-comp-outlined-text-field.scss +171 -0
  44. package/core/tokens/m3/definitions/_md-comp-plain-tooltip.scss +51 -0
  45. package/core/tokens/m3/definitions/_md-comp-radio-button.scss +62 -0
  46. package/core/tokens/m3/definitions/_md-comp-secondary-navigation-tab.scss +80 -0
  47. package/core/tokens/m3/definitions/_md-comp-slider.scss +110 -0
  48. package/core/tokens/m3/definitions/_md-comp-snackbar.scss +125 -0
  49. package/core/tokens/m3/definitions/_md-comp-switch.scss +130 -0
  50. package/core/tokens/m3/definitions/_md-comp-text-button.scss +73 -0
  51. package/core/tokens/m3/definitions/_md-ref-palette.scss +100 -0
  52. package/core/tokens/m3/definitions/_md-ref-typeface.scss +14 -0
  53. package/core/tokens/m3/definitions/_md-sys-color.scss +126 -0
  54. package/core/tokens/m3/definitions/_md-sys-elevation.scss +15 -0
  55. package/core/tokens/m3/definitions/_md-sys-motion.scss +46 -0
  56. package/core/tokens/m3/definitions/_md-sys-shape.scss +24 -0
  57. package/core/tokens/m3/definitions/_md-sys-state.scss +13 -0
  58. package/core/tokens/m3/definitions/_md-sys-typescale.scss +308 -0
  59. package/core/tokens/m3/definitions/unused/_md-comp-assist-chip.scss +105 -0
  60. package/core/tokens/m3/definitions/unused/_md-comp-badge.scss +54 -0
  61. package/core/tokens/m3/definitions/unused/_md-comp-banner.scss +71 -0
  62. package/core/tokens/m3/definitions/unused/_md-comp-bottom-app-bar.scss +29 -0
  63. package/core/tokens/m3/definitions/unused/_md-comp-carousel-item.scss +59 -0
  64. package/core/tokens/m3/definitions/unused/_md-comp-date-input-modal.scss +87 -0
  65. package/core/tokens/m3/definitions/unused/_md-comp-date-picker-docked.scss +248 -0
  66. package/core/tokens/m3/definitions/unused/_md-comp-date-picker-modal.scss +313 -0
  67. package/core/tokens/m3/definitions/unused/_md-comp-divider.scss +19 -0
  68. package/core/tokens/m3/definitions/unused/_md-comp-extended-fab-branded.scss +82 -0
  69. package/core/tokens/m3/definitions/unused/_md-comp-extended-fab-surface.scss +86 -0
  70. package/core/tokens/m3/definitions/unused/_md-comp-fab-branded-large.scss +54 -0
  71. package/core/tokens/m3/definitions/unused/_md-comp-fab-branded.scss +54 -0
  72. package/core/tokens/m3/definitions/unused/_md-comp-fab-primary-large.scss +59 -0
  73. package/core/tokens/m3/definitions/unused/_md-comp-fab-secondary-large.scss +60 -0
  74. package/core/tokens/m3/definitions/unused/_md-comp-fab-surface-large.scss +58 -0
  75. package/core/tokens/m3/definitions/unused/_md-comp-fab-surface-small.scss +58 -0
  76. package/core/tokens/m3/definitions/unused/_md-comp-fab-surface.scss +58 -0
  77. package/core/tokens/m3/definitions/unused/_md-comp-fab-tertiary-large.scss +60 -0
  78. package/core/tokens/m3/definitions/unused/_md-comp-filled-autocomplete.scss +269 -0
  79. package/core/tokens/m3/definitions/unused/_md-comp-filled-menu-button.scss +94 -0
  80. package/core/tokens/m3/definitions/unused/_md-comp-filled-select.scss +274 -0
  81. package/core/tokens/m3/definitions/unused/_md-comp-filled-tonal-button.scss +95 -0
  82. package/core/tokens/m3/definitions/unused/_md-comp-filled-tonal-icon-button.scss +80 -0
  83. package/core/tokens/m3/definitions/unused/_md-comp-filter-chip.scss +205 -0
  84. package/core/tokens/m3/definitions/unused/_md-comp-full-screen-dialog.scss +109 -0
  85. package/core/tokens/m3/definitions/unused/_md-comp-input-chip.scss +180 -0
  86. package/core/tokens/m3/definitions/unused/_md-comp-menu.scss +31 -0
  87. package/core/tokens/m3/definitions/unused/_md-comp-navigation-bar.scss +110 -0
  88. package/core/tokens/m3/definitions/unused/_md-comp-navigation-drawer.scss +162 -0
  89. package/core/tokens/m3/definitions/unused/_md-comp-navigation-rail.scss +127 -0
  90. package/core/tokens/m3/definitions/unused/_md-comp-outlined-autocomplete.scss +259 -0
  91. package/core/tokens/m3/definitions/unused/_md-comp-outlined-menu-button.scss +90 -0
  92. package/core/tokens/m3/definitions/unused/_md-comp-outlined-segmented-button.scss +108 -0
  93. package/core/tokens/m3/definitions/unused/_md-comp-outlined-select.scss +264 -0
  94. package/core/tokens/m3/definitions/unused/_md-comp-primary-navigation-tab.scss +117 -0
  95. package/core/tokens/m3/definitions/unused/_md-comp-rich-tooltip.scss +121 -0
  96. package/core/tokens/m3/definitions/unused/_md-comp-scrim.scss +19 -0
  97. package/core/tokens/m3/definitions/unused/_md-comp-search-bar.scss +97 -0
  98. package/core/tokens/m3/definitions/unused/_md-comp-search-view.scss +91 -0
  99. package/core/tokens/m3/definitions/unused/_md-comp-sheet-bottom.scss +39 -0
  100. package/core/tokens/m3/definitions/unused/_md-comp-sheet-floating.scss +28 -0
  101. package/core/tokens/m3/definitions/unused/_md-comp-sheet-side.scss +87 -0
  102. package/core/tokens/m3/definitions/unused/_md-comp-standard-menu-button.scss +94 -0
  103. package/core/tokens/m3/definitions/unused/_md-comp-suggestion-chip.scss +121 -0
  104. package/core/tokens/m3/definitions/unused/_md-comp-time-input.scss +222 -0
  105. package/core/tokens/m3/definitions/unused/_md-comp-time-picker.scss +268 -0
  106. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-large.scss +59 -0
  107. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-medium.scss +59 -0
  108. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-small-centered.scss +62 -0
  109. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-small.scss +60 -0
  110. package/esm2022/autocomplete/animations.mjs +1 -2
  111. package/esm2022/checkbox/checkbox-config.mjs +2 -1
  112. package/esm2022/checkbox/checkbox.mjs +11 -5
  113. package/esm2022/core/version.mjs +1 -1
  114. package/esm2022/dialog/dialog-container.mjs +1 -4
  115. package/esm2022/form-field/form-field.mjs +4 -1
  116. package/esm2022/input/input.mjs +36 -3
  117. package/esm2022/list/list-option.mjs +3 -3
  118. package/esm2022/list/testing/selection-list-harness.mjs +2 -2
  119. package/esm2022/tabs/testing/tab-harness.mjs +2 -2
  120. package/esm2022/tooltip/tooltip.mjs +4 -1
  121. package/fesm2022/autocomplete.mjs +0 -1
  122. package/fesm2022/autocomplete.mjs.map +1 -1
  123. package/fesm2022/checkbox.mjs +11 -4
  124. package/fesm2022/checkbox.mjs.map +1 -1
  125. package/fesm2022/core.mjs +1 -1
  126. package/fesm2022/core.mjs.map +1 -1
  127. package/fesm2022/dialog.mjs +0 -3
  128. package/fesm2022/dialog.mjs.map +1 -1
  129. package/fesm2022/form-field.mjs +3 -0
  130. package/fesm2022/form-field.mjs.map +1 -1
  131. package/fesm2022/input.mjs +35 -2
  132. package/fesm2022/input.mjs.map +1 -1
  133. package/fesm2022/list/testing.mjs +1 -1
  134. package/fesm2022/list/testing.mjs.map +1 -1
  135. package/fesm2022/list.mjs +2 -2
  136. package/fesm2022/list.mjs.map +1 -1
  137. package/fesm2022/tabs/testing.mjs +1 -1
  138. package/fesm2022/tabs/testing.mjs.map +1 -1
  139. package/fesm2022/tooltip.mjs +3 -0
  140. package/fesm2022/tooltip.mjs.map +1 -1
  141. package/form-field/_form-field-focus-overlay.scss +1 -1
  142. package/input/index.d.ts +13 -1
  143. package/list/testing/index.d.ts +1 -1
  144. package/package.json +3 -51
  145. package/prebuilt-themes/azure-blue.css +1 -1
  146. package/prebuilt-themes/cyan-orange.css +1 -1
  147. package/prebuilt-themes/magenta-violet.css +1 -1
  148. package/prebuilt-themes/rose-red.css +1 -1
  149. package/schematics/ng-add/index.js +1 -1
  150. package/schematics/ng-add/index.mjs +1 -1
  151. package/schematics/ng-generate/m3-theme/index_bundled.js +2 -2
  152. package/schematics/ng-update/index_bundled.js +31 -31
  153. package/tabs/testing/index.d.ts +1 -1
  154. package/tooltip/index.d.ts +5 -0
  155. package/core/mdc-helpers/_mdc-helpers.scss +0 -60
@@ -0,0 +1,252 @@
1
+ //
2
+ // Design system display name: Material 3
3
+ // Design system version: v0.161
4
+ //
5
+
6
+ @use 'sass:map';
7
+
8
+ @use './md-sys-color';
9
+
10
+ @use './md-sys-elevation';
11
+
12
+ @use './md-sys-shape';
13
+
14
+ @use './md-sys-state';
15
+
16
+ @use './md-sys-typescale';
17
+
18
+ $_default: (
19
+ 'md-sys-color': md-sys-color.values-light(),
20
+ 'md-sys-elevation': md-sys-elevation.values(),
21
+ 'md-sys-shape': md-sys-shape.values(),
22
+ 'md-sys-state': md-sys-state.values(),
23
+ 'md-sys-typescale': md-sys-typescale.values(),
24
+ );
25
+
26
+ @function values($deps: $_default, $exclude-hardcoded-values: false) {
27
+ @return (
28
+ 'list-item-container-color': map.get($deps, 'md-sys-color', 'surface'),
29
+ 'list-item-container-elevation':
30
+ map.get($deps, 'md-sys-elevation', 'level0'),
31
+ 'list-item-container-shape': map.get($deps, 'md-sys-shape', 'corner-none'),
32
+ 'list-item-disabled-label-text-color':
33
+ map.get($deps, 'md-sys-color', 'on-surface'),
34
+ 'list-item-disabled-label-text-opacity':
35
+ if($exclude-hardcoded-values, null, 0.3),
36
+ 'list-item-disabled-leading-icon-color':
37
+ map.get($deps, 'md-sys-color', 'on-surface'),
38
+ 'list-item-disabled-leading-icon-opacity':
39
+ if($exclude-hardcoded-values, null, 0.38),
40
+ 'list-item-disabled-state-layer-color':
41
+ map.get($deps, 'md-sys-color', 'on-surface'),
42
+ 'list-item-disabled-state-layer-opacity':
43
+ map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
44
+ 'list-item-disabled-trailing-icon-color':
45
+ map.get($deps, 'md-sys-color', 'on-surface'),
46
+ 'list-item-disabled-trailing-icon-opacity':
47
+ if($exclude-hardcoded-values, null, 0.38),
48
+ 'list-item-dragged-container-elevation':
49
+ map.get($deps, 'md-sys-elevation', 'level4'),
50
+ 'list-item-dragged-label-text-color':
51
+ map.get($deps, 'md-sys-color', 'on-surface'),
52
+ 'list-item-dragged-leading-icon-icon-color':
53
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
54
+ 'list-item-dragged-state-layer-color':
55
+ map.get($deps, 'md-sys-color', 'on-surface'),
56
+ 'list-item-dragged-state-layer-opacity':
57
+ map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity'),
58
+ 'list-item-dragged-trailing-icon-icon-color':
59
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
60
+ 'list-item-focus-label-text-color':
61
+ map.get($deps, 'md-sys-color', 'on-surface'),
62
+ 'list-item-focus-leading-icon-icon-color':
63
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
64
+ 'list-item-focus-state-layer-color':
65
+ map.get($deps, 'md-sys-color', 'on-surface'),
66
+ 'list-item-focus-state-layer-opacity':
67
+ map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
68
+ 'list-item-focus-trailing-icon-icon-color':
69
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
70
+ 'list-item-hover-label-text-color':
71
+ map.get($deps, 'md-sys-color', 'on-surface'),
72
+ 'list-item-hover-leading-icon-icon-color':
73
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
74
+ 'list-item-hover-state-layer-color':
75
+ map.get($deps, 'md-sys-color', 'on-surface'),
76
+ 'list-item-hover-state-layer-opacity':
77
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
78
+ 'list-item-hover-trailing-icon-icon-color':
79
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
80
+ 'list-item-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
81
+ 'list-item-label-text-font':
82
+ map.get($deps, 'md-sys-typescale', 'body-large-font'),
83
+ 'list-item-label-text-line-height':
84
+ map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
85
+ 'list-item-label-text-size':
86
+ map.get($deps, 'md-sys-typescale', 'body-large-size'),
87
+ 'list-item-label-text-tracking':
88
+ map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
89
+ // Warning: risk of reduced fidelity from using this composite typography token.
90
+ // Tokens md.comp.list.list-item.label-text.tracking cannot be represented in the
91
+ // "font" property shorthand. Consider using the discrete properties instead.
92
+ 'list-item-label-text-type':
93
+ if(
94
+ $exclude-hardcoded-values,
95
+ null,
96
+ map.get($deps, 'md-sys-typescale', 'body-large-weight')
97
+ map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
98
+ $deps,
99
+ 'md-sys-typescale',
100
+ 'body-large-line-height'
101
+ ) map.get($deps, 'md-sys-typescale', 'body-large-font')
102
+ ),
103
+ 'list-item-label-text-weight':
104
+ map.get($deps, 'md-sys-typescale', 'body-large-weight'),
105
+ 'list-item-large-leading-video-height':
106
+ if($exclude-hardcoded-values, null, 69px),
107
+ 'list-item-leading-avatar-label-color':
108
+ map.get($deps, 'md-sys-color', 'on-primary-container'),
109
+ 'list-item-leading-avatar-label-font':
110
+ map.get($deps, 'md-sys-typescale', 'title-medium-font'),
111
+ 'list-item-leading-avatar-label-line-height':
112
+ map.get($deps, 'md-sys-typescale', 'title-medium-line-height'),
113
+ 'list-item-leading-avatar-label-size':
114
+ map.get($deps, 'md-sys-typescale', 'title-medium-size'),
115
+ 'list-item-leading-avatar-label-tracking':
116
+ map.get($deps, 'md-sys-typescale', 'title-medium-tracking'),
117
+ // Warning: risk of reduced fidelity from using this composite typography token.
118
+ // Tokens md.comp.list.list-item.leading-avatar-label.tracking cannot be represented
119
+ // in the "font" property shorthand. Consider using the discrete properties instead.
120
+ 'list-item-leading-avatar-label-type':
121
+ if(
122
+ $exclude-hardcoded-values,
123
+ null,
124
+ map.get($deps, 'md-sys-typescale', 'title-medium-weight')
125
+ map.get($deps, 'md-sys-typescale', 'title-medium-size') #{'/'} map.get(
126
+ $deps,
127
+ 'md-sys-typescale',
128
+ 'title-medium-line-height'
129
+ ) map.get($deps, 'md-sys-typescale', 'title-medium-font')
130
+ ),
131
+ 'list-item-leading-avatar-label-weight':
132
+ map.get($deps, 'md-sys-typescale', 'title-medium-weight'),
133
+ 'list-item-leading-avatar-color':
134
+ map.get($deps, 'md-sys-color', 'primary-container'),
135
+ 'list-item-leading-avatar-shape':
136
+ map.get($deps, 'md-sys-shape', 'corner-full'),
137
+ 'list-item-leading-avatar-size': if($exclude-hardcoded-values, null, 40px),
138
+ 'list-item-leading-icon-color':
139
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
140
+ 'list-item-leading-icon-size': if($exclude-hardcoded-values, null, 18px),
141
+ 'list-item-leading-image-height': if($exclude-hardcoded-values, null, 56px),
142
+ 'list-item-leading-image-shape':
143
+ map.get($deps, 'md-sys-shape', 'corner-none'),
144
+ 'list-item-leading-image-width': if($exclude-hardcoded-values, null, 56px),
145
+ 'list-item-leading-video-shape':
146
+ map.get($deps, 'md-sys-shape', 'corner-none'),
147
+ 'list-item-leading-video-width': if($exclude-hardcoded-values, null, 100px),
148
+ 'list-item-one-line-container-height':
149
+ if($exclude-hardcoded-values, null, 56px),
150
+ 'list-item-overline-color':
151
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
152
+ 'list-item-overline-font':
153
+ map.get($deps, 'md-sys-typescale', 'label-small-font'),
154
+ 'list-item-overline-line-height':
155
+ map.get($deps, 'md-sys-typescale', 'label-small-line-height'),
156
+ 'list-item-overline-size':
157
+ map.get($deps, 'md-sys-typescale', 'label-small-size'),
158
+ 'list-item-overline-tracking':
159
+ map.get($deps, 'md-sys-typescale', 'label-small-tracking'),
160
+ // Warning: risk of reduced fidelity from using this composite typography token.
161
+ // Tokens md.comp.list.list-item.overline.tracking cannot be represented in the "font"
162
+ // property shorthand. Consider using the discrete properties instead.
163
+ 'list-item-overline-type':
164
+ if(
165
+ $exclude-hardcoded-values,
166
+ null,
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
+ // Warning: risk of reduced fidelity from using this composite typography token.
201
+ // Tokens md.comp.list.list-item.supporting-text.tracking cannot be represented in
202
+ // the "font" property shorthand. Consider using the discrete properties instead.
203
+ 'list-item-supporting-text-type':
204
+ if(
205
+ $exclude-hardcoded-values,
206
+ null,
207
+ map.get($deps, 'md-sys-typescale', 'body-medium-weight')
208
+ map.get($deps, 'md-sys-typescale', 'body-medium-size') #{'/'} map.get(
209
+ $deps,
210
+ 'md-sys-typescale',
211
+ 'body-medium-line-height'
212
+ ) map.get($deps, 'md-sys-typescale', 'body-medium-font')
213
+ ),
214
+ 'list-item-supporting-text-weight':
215
+ map.get($deps, 'md-sys-typescale', 'body-medium-weight'),
216
+ 'list-item-three-line-container-height':
217
+ if($exclude-hardcoded-values, null, 88px),
218
+ 'list-item-trailing-icon-color':
219
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
220
+ 'list-item-trailing-icon-size': if($exclude-hardcoded-values, null, 24px),
221
+ 'list-item-trailing-supporting-text-color':
222
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
223
+ 'list-item-trailing-supporting-text-font':
224
+ map.get($deps, 'md-sys-typescale', 'label-small-font'),
225
+ 'list-item-trailing-supporting-text-line-height':
226
+ map.get($deps, 'md-sys-typescale', 'label-small-line-height'),
227
+ 'list-item-trailing-supporting-text-size':
228
+ map.get($deps, 'md-sys-typescale', 'label-small-size'),
229
+ 'list-item-trailing-supporting-text-tracking':
230
+ map.get($deps, 'md-sys-typescale', 'label-small-tracking'),
231
+ // Warning: risk of reduced fidelity from using this composite typography token.
232
+ // Tokens md.comp.list.list-item.trailing-supporting-text.tracking cannot be represented
233
+ // in the "font" property shorthand. Consider using the discrete properties instead.
234
+ 'list-item-trailing-supporting-text-type':
235
+ if(
236
+ $exclude-hardcoded-values,
237
+ null,
238
+ map.get($deps, 'md-sys-typescale', 'label-small-weight')
239
+ map.get($deps, 'md-sys-typescale', 'label-small-size') #{'/'} map.get(
240
+ $deps,
241
+ 'md-sys-typescale',
242
+ 'label-small-line-height'
243
+ ) map.get($deps, 'md-sys-typescale', 'label-small-font')
244
+ ),
245
+ 'list-item-trailing-supporting-text-weight':
246
+ map.get($deps, 'md-sys-typescale', 'label-small-weight'),
247
+ 'list-item-two-line-container-height':
248
+ if($exclude-hardcoded-values, null, 72px),
249
+ 'list-item-unselected-trailing-icon-color':
250
+ map.get($deps, 'md-sys-color', 'on-surface')
251
+ );
252
+ }
@@ -0,0 +1,80 @@
1
+ //
2
+ // Design system display name: Material 3
3
+ // Design system version: v0.161
4
+ //
5
+
6
+ @use 'sass:map';
7
+
8
+ @use './md-sys-color';
9
+
10
+ @use './md-sys-shape';
11
+
12
+ @use './md-sys-state';
13
+
14
+ @use './md-sys-typescale';
15
+
16
+ $_default: (
17
+ 'md-sys-color': md-sys-color.values-light(),
18
+ 'md-sys-shape': md-sys-shape.values(),
19
+ 'md-sys-state': md-sys-state.values(),
20
+ 'md-sys-typescale': md-sys-typescale.values(),
21
+ );
22
+
23
+ @function values($deps: $_default, $exclude-hardcoded-values: false) {
24
+ @return (
25
+ 'container-height': if($exclude-hardcoded-values, null, 40px),
26
+ 'container-shape': map.get($deps, 'md-sys-shape', 'corner-full'),
27
+ 'disabled-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
28
+ 'disabled-label-text-opacity': if($exclude-hardcoded-values, null, 0.38),
29
+ 'disabled-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
30
+ 'disabled-outline-opacity': if($exclude-hardcoded-values, null, 0.12),
31
+ 'focus-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
32
+ 'focus-outline-color': map.get($deps, 'md-sys-color', 'primary'),
33
+ 'focus-state-layer-color': map.get($deps, 'md-sys-color', 'primary'),
34
+ 'focus-state-layer-opacity':
35
+ map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
36
+ 'hover-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
37
+ 'hover-outline-color': map.get($deps, 'md-sys-color', 'outline'),
38
+ 'hover-state-layer-color': map.get($deps, 'md-sys-color', 'primary'),
39
+ 'hover-state-layer-opacity':
40
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
41
+ 'label-text-color': map.get($deps, 'md-sys-color', 'primary'),
42
+ 'label-text-font': map.get($deps, 'md-sys-typescale', 'label-large-font'),
43
+ 'label-text-line-height':
44
+ map.get($deps, 'md-sys-typescale', 'label-large-line-height'),
45
+ 'label-text-size': map.get($deps, 'md-sys-typescale', 'label-large-size'),
46
+ 'label-text-tracking':
47
+ map.get($deps, 'md-sys-typescale', 'label-large-tracking'),
48
+ // Warning: risk of reduced fidelity from using this composite typography token.
49
+ // Tokens md.comp.outlined-button.label-text.tracking cannot be represented in the
50
+ // "font" property shorthand. Consider using the discrete properties instead.
51
+ 'label-text-type':
52
+ if(
53
+ $exclude-hardcoded-values,
54
+ null,
55
+ map.get($deps, 'md-sys-typescale', 'label-large-weight')
56
+ map.get($deps, 'md-sys-typescale', 'label-large-size') #{'/'} map.get(
57
+ $deps,
58
+ 'md-sys-typescale',
59
+ 'label-large-line-height'
60
+ ) map.get($deps, 'md-sys-typescale', 'label-large-font')
61
+ ),
62
+ 'label-text-weight':
63
+ map.get($deps, 'md-sys-typescale', 'label-large-weight'),
64
+ 'outline-color': map.get($deps, 'md-sys-color', 'outline'),
65
+ 'outline-width': if($exclude-hardcoded-values, null, 1px),
66
+ 'pressed-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
67
+ 'pressed-outline-color': map.get($deps, 'md-sys-color', 'outline'),
68
+ 'pressed-state-layer-color': map.get($deps, 'md-sys-color', 'primary'),
69
+ 'pressed-state-layer-opacity':
70
+ map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity'),
71
+ 'with-icon-disabled-icon-color':
72
+ map.get($deps, 'md-sys-color', 'on-surface'),
73
+ 'with-icon-disabled-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
74
+ 'with-icon-focus-icon-color': map.get($deps, 'md-sys-color', 'primary'),
75
+ 'with-icon-hover-icon-color': map.get($deps, 'md-sys-color', 'primary'),
76
+ 'with-icon-icon-color': map.get($deps, 'md-sys-color', 'primary'),
77
+ 'with-icon-icon-size': if($exclude-hardcoded-values, null, 18px),
78
+ 'with-icon-pressed-icon-color': map.get($deps, 'md-sys-color', 'primary')
79
+ );
80
+ }
@@ -0,0 +1,59 @@
1
+ //
2
+ // Design system display name: Material 3
3
+ // Design system version: v0.161
4
+ //
5
+
6
+ @use 'sass:map';
7
+
8
+ @use './md-sys-color';
9
+
10
+ @use './md-sys-elevation';
11
+
12
+ @use './md-sys-shape';
13
+
14
+ @use './md-sys-state';
15
+
16
+ $_default: (
17
+ 'md-sys-color': md-sys-color.values-light(),
18
+ 'md-sys-elevation': md-sys-elevation.values(),
19
+ 'md-sys-shape': md-sys-shape.values(),
20
+ 'md-sys-state': md-sys-state.values(),
21
+ );
22
+
23
+ @function values($deps: $_default, $exclude-hardcoded-values: false) {
24
+ @return (
25
+ 'container-color': map.get($deps, 'md-sys-color', 'surface'),
26
+ 'container-elevation': map.get($deps, 'md-sys-elevation', 'level0'),
27
+ 'container-shadow-color': map.get($deps, 'md-sys-color', 'shadow'),
28
+ 'container-shape': map.get($deps, 'md-sys-shape', 'corner-medium'),
29
+ 'container-surface-tint-layer-color':
30
+ map.get($deps, 'md-sys-color', 'surface-tint'),
31
+ 'disabled-container-elevation': map.get($deps, 'md-sys-elevation', 'level0'),
32
+ 'disabled-outline-color': map.get($deps, 'md-sys-color', 'outline'),
33
+ 'disabled-outline-opacity': if($exclude-hardcoded-values, null, 0.12),
34
+ 'dragged-container-elevation': map.get($deps, 'md-sys-elevation', 'level3'),
35
+ 'dragged-outline-color': map.get($deps, 'md-sys-color', 'outline-variant'),
36
+ 'dragged-state-layer-color': map.get($deps, 'md-sys-color', 'on-surface'),
37
+ 'dragged-state-layer-opacity':
38
+ map.get($deps, 'md-sys-state', 'dragged-state-layer-opacity'),
39
+ 'focus-container-elevation': map.get($deps, 'md-sys-elevation', 'level0'),
40
+ 'focus-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
41
+ 'focus-state-layer-color': map.get($deps, 'md-sys-color', 'on-surface'),
42
+ 'focus-state-layer-opacity':
43
+ map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
44
+ 'hover-container-elevation': map.get($deps, 'md-sys-elevation', 'level1'),
45
+ 'hover-outline-color': map.get($deps, 'md-sys-color', 'outline-variant'),
46
+ 'hover-state-layer-color': map.get($deps, 'md-sys-color', 'on-surface'),
47
+ 'hover-state-layer-opacity':
48
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
49
+ 'icon-color': map.get($deps, 'md-sys-color', 'primary'),
50
+ 'icon-size': if($exclude-hardcoded-values, null, 24px),
51
+ 'outline-color': map.get($deps, 'md-sys-color', 'outline-variant'),
52
+ 'outline-width': if($exclude-hardcoded-values, null, 1px),
53
+ 'pressed-container-elevation': map.get($deps, 'md-sys-elevation', 'level0'),
54
+ 'pressed-outline-color': map.get($deps, 'md-sys-color', 'outline-variant'),
55
+ 'pressed-state-layer-color': map.get($deps, 'md-sys-color', 'on-surface'),
56
+ 'pressed-state-layer-opacity':
57
+ map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity')
58
+ );
59
+ }
@@ -0,0 +1,73 @@
1
+ //
2
+ // Design system display name: Material 3
3
+ // Design system version: v0.161
4
+ //
5
+
6
+ @use 'sass:map';
7
+
8
+ @use './md-sys-color';
9
+
10
+ @use './md-sys-shape';
11
+
12
+ @use './md-sys-state';
13
+
14
+ $_default: (
15
+ 'md-sys-color': md-sys-color.values-light(),
16
+ 'md-sys-shape': md-sys-shape.values(),
17
+ 'md-sys-state': md-sys-state.values(),
18
+ );
19
+
20
+ @function values($deps: $_default, $exclude-hardcoded-values: false) {
21
+ @return (
22
+ 'container-shape': map.get($deps, 'md-sys-shape', 'corner-full'),
23
+ 'container-size': if($exclude-hardcoded-values, null, 40px),
24
+ 'disabled-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
25
+ 'disabled-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
26
+ 'disabled-selected-container-color':
27
+ map.get($deps, 'md-sys-color', 'on-surface'),
28
+ 'disabled-selected-container-opacity':
29
+ if($exclude-hardcoded-values, null, 0.12),
30
+ 'disabled-unselected-outline-color':
31
+ map.get($deps, 'md-sys-color', 'on-surface'),
32
+ 'disabled-unselected-outline-opacity':
33
+ if($exclude-hardcoded-values, null, 0.12),
34
+ 'focus-state-layer-opacity':
35
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
36
+ 'hover-state-layer-opacity':
37
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
38
+ 'icon-size': if($exclude-hardcoded-values, null, 24px),
39
+ 'pressed-state-layer-opacity':
40
+ map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity'),
41
+ 'selected-container-color':
42
+ map.get($deps, 'md-sys-color', 'inverse-surface'),
43
+ 'selected-focus-icon-color':
44
+ map.get($deps, 'md-sys-color', 'inverse-on-surface'),
45
+ 'selected-focus-state-layer-color':
46
+ map.get($deps, 'md-sys-color', 'inverse-on-surface'),
47
+ 'selected-hover-icon-color':
48
+ map.get($deps, 'md-sys-color', 'inverse-on-surface'),
49
+ 'selected-hover-state-layer-color':
50
+ map.get($deps, 'md-sys-color', 'inverse-on-surface'),
51
+ 'selected-icon-color': map.get($deps, 'md-sys-color', 'inverse-on-surface'),
52
+ 'selected-pressed-icon-color':
53
+ map.get($deps, 'md-sys-color', 'inverse-on-surface'),
54
+ 'selected-pressed-state-layer-color':
55
+ map.get($deps, 'md-sys-color', 'inverse-on-surface'),
56
+ 'unselected-focus-icon-color':
57
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
58
+ 'unselected-focus-state-layer-color':
59
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
60
+ 'unselected-hover-icon-color':
61
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
62
+ 'unselected-hover-state-layer-color':
63
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
64
+ 'unselected-icon-color':
65
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
66
+ 'unselected-outline-color': map.get($deps, 'md-sys-color', 'outline'),
67
+ 'unselected-outline-width': if($exclude-hardcoded-values, null, 1px),
68
+ 'unselected-pressed-icon-color':
69
+ map.get($deps, 'md-sys-color', 'on-surface'),
70
+ 'unselected-pressed-state-layer-color':
71
+ map.get($deps, 'md-sys-color', 'on-surface')
72
+ );
73
+ }
@@ -0,0 +1,171 @@
1
+ //
2
+ // Design system display name: Material 3
3
+ // Design system version: v0.161
4
+ //
5
+
6
+ @use 'sass:map';
7
+
8
+ @use './md-sys-color';
9
+
10
+ @use './md-sys-shape';
11
+
12
+ @use './md-sys-typescale';
13
+
14
+ $_default: (
15
+ 'md-sys-color': md-sys-color.values-light(),
16
+ 'md-sys-shape': md-sys-shape.values(),
17
+ 'md-sys-typescale': md-sys-typescale.values(),
18
+ );
19
+
20
+ @function values($deps: $_default, $exclude-hardcoded-values: false) {
21
+ @return (
22
+ 'caret-color': map.get($deps, 'md-sys-color', 'primary'),
23
+ 'container-shape': map.get($deps, 'md-sys-shape', 'corner-extra-small'),
24
+ 'disabled-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
25
+ 'disabled-input-text-opacity': if($exclude-hardcoded-values, null, 0.38),
26
+ 'disabled-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
27
+ 'disabled-label-text-opacity': if($exclude-hardcoded-values, null, 0.38),
28
+ 'disabled-leading-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
29
+ 'disabled-leading-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
30
+ 'disabled-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
31
+ 'disabled-outline-opacity': if($exclude-hardcoded-values, null, 0.12),
32
+ 'disabled-outline-width': if($exclude-hardcoded-values, null, 1px),
33
+ 'disabled-supporting-text-color':
34
+ map.get($deps, 'md-sys-color', 'on-surface'),
35
+ 'disabled-supporting-text-opacity':
36
+ if($exclude-hardcoded-values, null, 0.38),
37
+ 'disabled-trailing-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
38
+ 'disabled-trailing-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
39
+ 'error-focus-caret-color': map.get($deps, 'md-sys-color', 'error'),
40
+ 'error-focus-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
41
+ 'error-focus-label-text-color': map.get($deps, 'md-sys-color', 'error'),
42
+ 'error-focus-leading-icon-color':
43
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
44
+ 'error-focus-outline-color': map.get($deps, 'md-sys-color', 'error'),
45
+ 'error-focus-supporting-text-color': map.get($deps, 'md-sys-color', 'error'),
46
+ 'error-focus-trailing-icon-color': map.get($deps, 'md-sys-color', 'error'),
47
+ 'error-hover-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
48
+ 'error-hover-label-text-color':
49
+ map.get($deps, 'md-sys-color', 'on-error-container'),
50
+ 'error-hover-leading-icon-color':
51
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
52
+ 'error-hover-outline-color':
53
+ map.get($deps, 'md-sys-color', 'on-error-container'),
54
+ 'error-hover-supporting-text-color': map.get($deps, 'md-sys-color', 'error'),
55
+ 'error-hover-trailing-icon-color':
56
+ map.get($deps, 'md-sys-color', 'on-error-container'),
57
+ 'error-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
58
+ 'error-label-text-color': map.get($deps, 'md-sys-color', 'error'),
59
+ 'error-leading-icon-color':
60
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
61
+ 'error-outline-color': map.get($deps, 'md-sys-color', 'error'),
62
+ 'error-supporting-text-color': map.get($deps, 'md-sys-color', 'error'),
63
+ 'error-trailing-icon-color': map.get($deps, 'md-sys-color', 'error'),
64
+ 'focus-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
65
+ 'focus-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
66
+ 'focus-leading-icon-color':
67
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
68
+ 'focus-outline-color': map.get($deps, 'md-sys-color', 'primary'),
69
+ 'focus-outline-width': if($exclude-hardcoded-values, null, 2px),
70
+ 'focus-supporting-text-color':
71
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
72
+ 'focus-trailing-icon-color':
73
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
74
+ 'hover-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
75
+ 'hover-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
76
+ 'hover-leading-icon-color':
77
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
78
+ 'hover-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
79
+ 'hover-outline-width': if($exclude-hardcoded-values, null, 1px),
80
+ 'hover-supporting-text-color':
81
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
82
+ 'hover-trailing-icon-color':
83
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
84
+ 'input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
85
+ 'input-text-font': map.get($deps, 'md-sys-typescale', 'body-large-font'),
86
+ 'input-text-line-height':
87
+ map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
88
+ 'input-text-placeholder-color':
89
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
90
+ 'input-text-prefix-color':
91
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
92
+ 'input-text-size': map.get($deps, 'md-sys-typescale', 'body-large-size'),
93
+ 'input-text-suffix-color':
94
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
95
+ 'input-text-tracking':
96
+ map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
97
+ // Warning: risk of reduced fidelity from using this composite typography token.
98
+ // Tokens md.comp.outlined-text-field.input-text.tracking cannot be represented in
99
+ // the "font" property shorthand. Consider using the discrete properties instead.
100
+ 'input-text-type':
101
+ if(
102
+ $exclude-hardcoded-values,
103
+ null,
104
+ map.get($deps, 'md-sys-typescale', 'body-large-weight')
105
+ map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
106
+ $deps,
107
+ 'md-sys-typescale',
108
+ 'body-large-line-height'
109
+ ) map.get($deps, 'md-sys-typescale', 'body-large-font')
110
+ ),
111
+ 'input-text-weight': map.get($deps, 'md-sys-typescale', 'body-large-weight'),
112
+ 'label-text-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
113
+ 'label-text-font': map.get($deps, 'md-sys-typescale', 'body-large-font'),
114
+ 'label-text-line-height':
115
+ map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
116
+ 'label-text-populated-line-height':
117
+ map.get($deps, 'md-sys-typescale', 'body-small-line-height'),
118
+ 'label-text-populated-size':
119
+ map.get($deps, 'md-sys-typescale', 'body-small-size'),
120
+ 'label-text-size': map.get($deps, 'md-sys-typescale', 'body-large-size'),
121
+ 'label-text-tracking':
122
+ map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
123
+ // Warning: risk of reduced fidelity from using this composite typography token.
124
+ // Tokens md.comp.outlined-text-field.label-text.tracking cannot be represented in the
125
+ // "font" property shorthand. Consider using the discrete properties instead.
126
+ 'label-text-type':
127
+ if(
128
+ $exclude-hardcoded-values,
129
+ null,
130
+ map.get($deps, 'md-sys-typescale', 'body-large-weight')
131
+ map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
132
+ $deps,
133
+ 'md-sys-typescale',
134
+ 'body-large-line-height'
135
+ ) map.get($deps, 'md-sys-typescale', 'body-large-font')
136
+ ),
137
+ 'label-text-weight': map.get($deps, 'md-sys-typescale', 'body-large-weight'),
138
+ 'leading-icon-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
139
+ 'leading-icon-size': if($exclude-hardcoded-values, null, 24px),
140
+ 'outline-color': map.get($deps, 'md-sys-color', 'outline'),
141
+ 'outline-width': if($exclude-hardcoded-values, null, 1px),
142
+ 'supporting-text-color':
143
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
144
+ 'supporting-text-font':
145
+ map.get($deps, 'md-sys-typescale', 'body-small-font'),
146
+ 'supporting-text-line-height':
147
+ map.get($deps, 'md-sys-typescale', 'body-small-line-height'),
148
+ 'supporting-text-size':
149
+ map.get($deps, 'md-sys-typescale', 'body-small-size'),
150
+ 'supporting-text-tracking':
151
+ map.get($deps, 'md-sys-typescale', 'body-small-tracking'),
152
+ // Warning: risk of reduced fidelity from using this composite typography token.
153
+ // Tokens md.comp.outlined-text-field.supporting-text.tracking cannot be represented
154
+ // in the "font" property shorthand. Consider using the discrete properties instead.
155
+ 'supporting-text-type':
156
+ if(
157
+ $exclude-hardcoded-values,
158
+ null,
159
+ map.get($deps, 'md-sys-typescale', 'body-small-weight')
160
+ map.get($deps, 'md-sys-typescale', 'body-small-size') #{'/'} map.get(
161
+ $deps,
162
+ 'md-sys-typescale',
163
+ 'body-small-line-height'
164
+ ) map.get($deps, 'md-sys-typescale', 'body-small-font')
165
+ ),
166
+ 'supporting-text-weight':
167
+ map.get($deps, 'md-sys-typescale', 'body-small-weight'),
168
+ 'trailing-icon-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
169
+ 'trailing-icon-size': if($exclude-hardcoded-values, null, 24px)
170
+ );
171
+ }