@material/web 1.0.0-pre.3 → 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.
Files changed (238) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +41 -41
  3. package/controller/form-controller.d.ts +1 -1
  4. package/controller/form-controller.js +21 -29
  5. package/controller/form-controller.js.map +1 -1
  6. package/field/lib/_content.scss +91 -13
  7. package/field/lib/_filled-field.scss +19 -57
  8. package/field/lib/_label.scss +1 -2
  9. package/field/lib/_md-comp-filled-field.scss +123 -64
  10. package/field/lib/_md-comp-outlined-field.scss +100 -59
  11. package/field/lib/_outlined-field.scss +13 -11
  12. package/field/lib/_shared.scss +21 -17
  13. package/field/lib/field.d.ts +2 -1
  14. package/field/lib/field.js +73 -62
  15. package/field/lib/field.js.map +1 -1
  16. package/field/lib/filled-field.d.ts +0 -5
  17. package/field/lib/filled-field.js +2 -41
  18. package/field/lib/filled-field.js.map +1 -1
  19. package/field/lib/filled-styles.css.js +1 -1
  20. package/field/lib/filled-styles.css.js.map +1 -1
  21. package/field/lib/outlined-field.js +1 -1
  22. package/field/lib/outlined-field.js.map +1 -1
  23. package/field/lib/outlined-styles.css.js +1 -1
  24. package/field/lib/outlined-styles.css.js.map +1 -1
  25. package/field/lib/shared-styles.css.js +1 -1
  26. package/field/lib/shared-styles.css.js.map +1 -1
  27. package/icon/lib/_icon.scss +1 -1
  28. package/icon/lib/_md-comp-icon.scss +1 -2
  29. package/icon/lib/icon-styles.css.js +1 -1
  30. package/icon/lib/icon-styles.css.js.map +1 -1
  31. package/list/lib/_list.scss +19 -9
  32. package/list/lib/list-styles.css.js +1 -1
  33. package/list/lib/list-styles.css.js.map +1 -1
  34. package/list/lib/listitem/_list-item.scss +293 -102
  35. package/list/lib/listitem/list-item-styles.css.js +1 -1
  36. package/list/lib/listitem/list-item-styles.css.js.map +1 -1
  37. package/list/lib/listitem/list-item.d.ts +7 -6
  38. package/list/lib/listitem/list-item.js +22 -26
  39. package/list/lib/listitem/list-item.js.map +1 -1
  40. package/list/list-item-link.d.ts +18 -0
  41. package/list/list-item-link.js +19 -2
  42. package/list/list-item-link.js.map +1 -1
  43. package/list/list-item.d.ts +19 -0
  44. package/list/list-item.js +20 -2
  45. package/list/list-item.js.map +1 -1
  46. package/menu/lib/_menu.scss +26 -5
  47. package/menu/lib/menu-styles.css.js +1 -1
  48. package/menu/lib/menu-styles.css.js.map +1 -1
  49. package/menu/lib/menu.js +8 -7
  50. package/menu/lib/menu.js.map +1 -1
  51. package/menu/lib/menuitem/_menu-item.scss +39 -79
  52. package/menu/lib/menuitem/menu-item-styles.css.js +1 -1
  53. package/menu/lib/menuitem/menu-item-styles.css.js.map +1 -1
  54. package/menu/lib/submenuitem/sub-menu-item.d.ts +0 -1
  55. package/menu/lib/submenuitem/sub-menu-item.js +0 -1
  56. package/menu/lib/submenuitem/sub-menu-item.js.map +1 -1
  57. package/menu/menu-item-link.js +1 -2
  58. package/menu/menu-item-link.js.map +1 -1
  59. package/menu/menu-item.js +2 -3
  60. package/menu/menu-item.js.map +1 -1
  61. package/menu/sub-menu-item.js +1 -2
  62. package/menu/sub-menu-item.js.map +1 -1
  63. package/menusurface/lib/_md-comp-menu-surface.scss +1 -1
  64. package/package.json +1 -1
  65. package/textfield/lib/_filled-text-field.scss +98 -96
  66. package/textfield/lib/_icon.scss +11 -55
  67. package/textfield/lib/_input.scss +4 -6
  68. package/textfield/lib/_outlined-text-field.scss +87 -88
  69. package/textfield/lib/filled-styles.css.js +1 -1
  70. package/textfield/lib/filled-styles.css.js.map +1 -1
  71. package/textfield/lib/outlined-styles.css.js +1 -1
  72. package/textfield/lib/outlined-styles.css.js.map +1 -1
  73. package/textfield/lib/shared-styles.css.js +1 -1
  74. package/textfield/lib/shared-styles.css.js.map +1 -1
  75. package/tokens/_index.scss +1 -1
  76. package/tokens/v0_161/_index.scss +107 -0
  77. package/tokens/v0_161/_md-comp-assist-chip.scss +109 -0
  78. package/tokens/v0_161/_md-comp-badge.scss +58 -0
  79. package/tokens/v0_161/_md-comp-banner.scss +75 -0
  80. package/tokens/v0_161/_md-comp-bottom-app-bar.scss +35 -0
  81. package/tokens/v0_161/_md-comp-carousel-item.scss +65 -0
  82. package/tokens/v0_161/_md-comp-checkbox.scss +126 -0
  83. package/tokens/v0_161/_md-comp-circular-progress-indicator.scss +39 -0
  84. package/tokens/v0_161/_md-comp-data-table.scss +96 -0
  85. package/tokens/v0_161/_md-comp-date-input-modal.scss +89 -0
  86. package/tokens/v0_161/_md-comp-date-picker-docked.scss +246 -0
  87. package/tokens/v0_161/_md-comp-date-picker-modal.scss +305 -0
  88. package/tokens/v0_161/_md-comp-dialog.scss +123 -0
  89. package/tokens/v0_161/_md-comp-divider.scss +25 -0
  90. package/tokens/v0_161/_md-comp-elevated-button.scss +91 -0
  91. package/tokens/v0_161/_md-comp-elevated-card.scss +59 -0
  92. package/tokens/v0_161/_md-comp-extended-fab-branded.scss +86 -0
  93. package/tokens/v0_161/_md-comp-extended-fab-primary.scss +94 -0
  94. package/tokens/v0_161/_md-comp-extended-fab-secondary.scss +95 -0
  95. package/tokens/v0_161/_md-comp-extended-fab-surface.scss +90 -0
  96. package/tokens/v0_161/_md-comp-extended-fab-tertiary.scss +95 -0
  97. package/tokens/v0_161/_md-comp-fab-branded-large.scss +60 -0
  98. package/tokens/v0_161/_md-comp-fab-branded.scss +60 -0
  99. package/tokens/v0_161/_md-comp-fab-primary-large.scss +65 -0
  100. package/tokens/v0_161/_md-comp-fab-primary-small.scss +65 -0
  101. package/tokens/v0_161/_md-comp-fab-primary.scss +65 -0
  102. package/tokens/v0_161/_md-comp-fab-secondary-large.scss +66 -0
  103. package/tokens/v0_161/_md-comp-fab-secondary-small.scss +66 -0
  104. package/tokens/v0_161/_md-comp-fab-secondary.scss +66 -0
  105. package/tokens/v0_161/_md-comp-fab-surface-large.scss +64 -0
  106. package/tokens/v0_161/_md-comp-fab-surface-small.scss +64 -0
  107. package/tokens/v0_161/_md-comp-fab-surface.scss +64 -0
  108. package/tokens/v0_161/_md-comp-fab-tertiary-large.scss +66 -0
  109. package/tokens/v0_161/_md-comp-fab-tertiary-small.scss +66 -0
  110. package/tokens/v0_161/_md-comp-fab-tertiary.scss +66 -0
  111. package/tokens/v0_161/_md-comp-filled-autocomplete.scss +267 -0
  112. package/tokens/v0_161/_md-comp-filled-button.scss +89 -0
  113. package/tokens/v0_161/_md-comp-filled-card.scss +58 -0
  114. package/tokens/v0_161/_md-comp-filled-icon-button.scss +79 -0
  115. package/tokens/v0_161/_md-comp-filled-menu-button.scss +98 -0
  116. package/tokens/v0_161/_md-comp-filled-select.scss +272 -0
  117. package/tokens/v0_161/_md-comp-filled-text-field.scss +189 -0
  118. package/tokens/v0_161/_md-comp-filled-tonal-button.scss +99 -0
  119. package/tokens/v0_161/_md-comp-filled-tonal-icon-button.scss +86 -0
  120. package/tokens/v0_161/_md-comp-filter-chip.scss +209 -0
  121. package/tokens/v0_161/_md-comp-full-screen-dialog.scss +111 -0
  122. package/tokens/v0_161/_md-comp-icon-button.scss +70 -0
  123. package/tokens/v0_161/_md-comp-input-chip.scss +184 -0
  124. package/tokens/v0_161/_md-comp-linear-progress-indicator.scss +41 -0
  125. package/tokens/v0_161/_md-comp-list.scss +248 -0
  126. package/tokens/v0_161/_md-comp-menu.scss +37 -0
  127. package/tokens/v0_161/_md-comp-navigation-bar.scss +114 -0
  128. package/tokens/v0_161/_md-comp-navigation-drawer.scss +162 -0
  129. package/tokens/v0_161/_md-comp-navigation-rail.scss +131 -0
  130. package/tokens/v0_161/_md-comp-outlined-autocomplete.scss +257 -0
  131. package/tokens/v0_161/_md-comp-outlined-button.scss +84 -0
  132. package/tokens/v0_161/_md-comp-outlined-card.scss +65 -0
  133. package/tokens/v0_161/_md-comp-outlined-icon-button.scss +79 -0
  134. package/tokens/v0_161/_md-comp-outlined-menu-button.scss +94 -0
  135. package/tokens/v0_161/_md-comp-outlined-segmented-button.scss +112 -0
  136. package/tokens/v0_161/_md-comp-outlined-select.scss +262 -0
  137. package/tokens/v0_161/_md-comp-outlined-text-field.scss +171 -0
  138. package/tokens/v0_161/_md-comp-plain-tooltip.scss +55 -0
  139. package/tokens/v0_161/_md-comp-primary-navigation-tab.scss +121 -0
  140. package/tokens/v0_161/_md-comp-radio-button.scss +68 -0
  141. package/tokens/v0_161/_md-comp-rich-tooltip.scss +121 -0
  142. package/tokens/v0_161/_md-comp-scrim.scss +25 -0
  143. package/tokens/v0_161/_md-comp-search-bar.scss +99 -0
  144. package/tokens/v0_161/_md-comp-search-view.scss +93 -0
  145. package/tokens/v0_161/_md-comp-secondary-navigation-tab.scss +84 -0
  146. package/tokens/v0_161/_md-comp-sheet-bottom.scss +45 -0
  147. package/tokens/v0_161/_md-comp-sheet-floating.scss +34 -0
  148. package/tokens/v0_161/_md-comp-sheet-side.scss +91 -0
  149. package/tokens/v0_161/_md-comp-slider.scss +114 -0
  150. package/tokens/v0_161/_md-comp-snackbar.scss +127 -0
  151. package/tokens/v0_161/_md-comp-standard-menu-button.scss +98 -0
  152. package/tokens/v0_161/_md-comp-suggestion-chip.scss +125 -0
  153. package/tokens/v0_161/_md-comp-switch.scss +136 -0
  154. package/tokens/v0_161/_md-comp-text-button.scss +77 -0
  155. package/tokens/v0_161/_md-comp-time-input.scss +218 -0
  156. package/tokens/v0_161/_md-comp-time-picker.scss +264 -0
  157. package/tokens/v0_161/_md-comp-top-app-bar-large.scss +63 -0
  158. package/tokens/v0_161/_md-comp-top-app-bar-medium.scss +63 -0
  159. package/tokens/v0_161/_md-comp-top-app-bar-small-centered.scss +66 -0
  160. package/tokens/v0_161/_md-comp-top-app-bar-small.scss +64 -0
  161. package/tokens/v0_161/_md-ref-palette.scss +107 -0
  162. package/tokens/v0_161/_md-ref-typeface.scss +21 -0
  163. package/tokens/v0_161/_md-sys-color.scss +904 -0
  164. package/tokens/v0_161/_md-sys-elevation.scss +21 -0
  165. package/tokens/v0_161/_md-sys-motion.scss +53 -0
  166. package/tokens/v0_161/_md-sys-shape.scss +30 -0
  167. package/tokens/v0_161/_md-sys-state.scss +19 -0
  168. package/tokens/v0_161/_md-sys-typescale.scss +284 -0
  169. package/tokens/v0_161/index.test.css.js +9 -0
  170. package/tokens/v0_161/index.test.css.js.map +1 -0
  171. package/tokens/v0_161/index.test.scss +584 -0
  172. package/tokens/v0_161/lib.test.css.js +9 -0
  173. package/tokens/v0_161/lib.test.css.js.map +1 -0
  174. package/tokens/v0_161/lib.test.scss +663 -0
  175. package/controller/foundation.d.ts +0 -24
  176. package/controller/foundation.js +0 -18
  177. package/controller/foundation.js.map +0 -1
  178. package/controller/observer-foundation.d.ts +0 -25
  179. package/controller/observer-foundation.js +0 -37
  180. package/controller/observer-foundation.js.map +0 -1
  181. package/controller/observer.d.ts +0 -52
  182. package/controller/observer.js +0 -149
  183. package/controller/observer.js.map +0 -1
  184. package/decorators/bound.d.ts +0 -40
  185. package/decorators/bound.js +0 -49
  186. package/decorators/bound.js.map +0 -1
  187. package/list/lib/avatar/_list-item-avatar.scss +0 -40
  188. package/list/lib/avatar/list-item-avatar-styles.css.js +0 -9
  189. package/list/lib/avatar/list-item-avatar-styles.css.js.map +0 -1
  190. package/list/lib/avatar/list-item-avatar-styles.scss +0 -10
  191. package/list/lib/avatar/list-item-avatar.d.ts +0 -21
  192. package/list/lib/avatar/list-item-avatar.js +0 -48
  193. package/list/lib/avatar/list-item-avatar.js.map +0 -1
  194. package/list/lib/icon/_list-item-icon.scss +0 -71
  195. package/list/lib/icon/list-item-icon-styles.css.js +0 -9
  196. package/list/lib/icon/list-item-icon-styles.css.js.map +0 -1
  197. package/list/lib/icon/list-item-icon-styles.scss +0 -10
  198. package/list/lib/icon/list-item-icon.d.ts +0 -9
  199. package/list/lib/icon/list-item-icon.js +0 -15
  200. package/list/lib/icon/list-item-icon.js.map +0 -1
  201. package/list/lib/image/_list-item-image.scss +0 -63
  202. package/list/lib/image/list-item-image-styles.css.d.ts +0 -1
  203. package/list/lib/image/list-item-image-styles.css.js +0 -9
  204. package/list/lib/image/list-item-image-styles.css.js.map +0 -1
  205. package/list/lib/image/list-item-image-styles.scss +0 -10
  206. package/list/lib/image/list-item-image.d.ts +0 -21
  207. package/list/lib/image/list-item-image.js +0 -48
  208. package/list/lib/image/list-item-image.js.map +0 -1
  209. package/list/lib/listitem/list-item-private-styles.css.d.ts +0 -1
  210. package/list/lib/listitem/list-item-private-styles.css.js +0 -9
  211. package/list/lib/listitem/list-item-private-styles.css.js.map +0 -1
  212. package/list/lib/listitem/list-item-private-styles.scss +0 -10
  213. package/list/lib/video/_list-item-video.scss +0 -71
  214. package/list/lib/video/list-item-video-styles.css.d.ts +0 -1
  215. package/list/lib/video/list-item-video-styles.css.js +0 -9
  216. package/list/lib/video/list-item-video-styles.css.js.map +0 -1
  217. package/list/lib/video/list-item-video-styles.scss +0 -10
  218. package/list/lib/video/list-item-video.d.ts +0 -53
  219. package/list/lib/video/list-item-video.js +0 -115
  220. package/list/lib/video/list-item-video.js.map +0 -1
  221. package/list/list-item-avatar.d.ts +0 -20
  222. package/list/list-item-avatar.js +0 -23
  223. package/list/list-item-avatar.js.map +0 -1
  224. package/list/list-item-icon.d.ts +0 -20
  225. package/list/list-item-icon.js +0 -23
  226. package/list/list-item-icon.js.map +0 -1
  227. package/list/list-item-image.d.ts +0 -20
  228. package/list/list-item-image.js +0 -23
  229. package/list/list-item-image.js.map +0 -1
  230. package/list/list-item-video.d.ts +0 -20
  231. package/list/list-item-video.js +0 -23
  232. package/list/list-item-video.js.map +0 -1
  233. package/menu/lib/menuitem/menu-item-private-styles.css.d.ts +0 -1
  234. package/menu/lib/menuitem/menu-item-private-styles.css.js +0 -9
  235. package/menu/lib/menuitem/menu-item-private-styles.css.js.map +0 -1
  236. package/menu/lib/menuitem/menu-item-private-styles.scss +0 -10
  237. /package/{list/lib/avatar/list-item-avatar-styles.css.d.ts → tokens/v0_161/index.test.css.d.ts} +0 -0
  238. /package/{list/lib/icon/list-item-icon-styles.css.d.ts → tokens/v0_161/lib.test.css.d.ts} +0 -0
@@ -0,0 +1,94 @@
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-shape';
17
+
18
+ @use './md-sys-state';
19
+
20
+ @use './md-sys-typescale';
21
+
22
+ $_default: (
23
+ 'md-sys-color': md-sys-color.values-light(),
24
+ 'md-sys-shape': md-sys-shape.values(),
25
+ 'md-sys-state': md-sys-state.values(),
26
+ 'md-sys-typescale': md-sys-typescale.values(),
27
+ );
28
+
29
+ @function values($deps: $_default, $exclude-hardcoded-values: false) {
30
+ @return (
31
+ 'container-height': if($exclude-hardcoded-values, null, 40px),
32
+ 'disabled-container-opacity': if($exclude-hardcoded-values, null, 0.12),
33
+ 'disabled-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
34
+ 'disabled-label-text-opacity': if($exclude-hardcoded-values, null, 0.38),
35
+ 'disabled-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
36
+ 'disabled-trailing-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
37
+ 'disabled-trailing-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
38
+ 'focus-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
39
+ 'focus-outline-color': map.get($deps, 'md-sys-color', 'primary'),
40
+ 'focus-state-layer-color': map.get($deps, 'md-sys-color', 'primary'),
41
+ 'focus-state-layer-opacity':
42
+ map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
43
+ 'focus-trailing-icon-color': map.get($deps, 'md-sys-color', 'primary'),
44
+ 'hover-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
45
+ 'hover-outline-color': map.get($deps, 'md-sys-color', 'outline'),
46
+ 'hover-state-layer-color': map.get($deps, 'md-sys-color', 'primary'),
47
+ 'hover-state-layer-opacity':
48
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
49
+ 'hover-trailing-icon-color': map.get($deps, 'md-sys-color', 'primary'),
50
+ 'label-text-color': map.get($deps, 'md-sys-color', 'primary'),
51
+ 'label-text-font': map.get($deps, 'md-sys-typescale', 'label-large-font'),
52
+ 'label-text-line-height':
53
+ map.get($deps, 'md-sys-typescale', 'label-large-line-height'),
54
+ 'label-text-size': map.get($deps, 'md-sys-typescale', 'label-large-size'),
55
+ 'label-text-tracking':
56
+ map.get($deps, 'md-sys-typescale', 'label-large-tracking'),
57
+ 'label-text-type':
58
+ if(
59
+ $exclude-hardcoded-values,
60
+ null,
61
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-menu-button.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
62
+ map.get($deps, 'md-sys-typescale', 'label-large-weight')
63
+ map.get($deps, 'md-sys-typescale', 'label-large-size') #{'/'} map.get(
64
+ $deps,
65
+ 'md-sys-typescale',
66
+ 'label-large-line-height'
67
+ ) map.get($deps, 'md-sys-typescale', 'label-large-font')
68
+ ),
69
+ 'label-text-weight':
70
+ map.get($deps, 'md-sys-typescale', 'label-large-weight'),
71
+ 'outline-color': map.get($deps, 'md-sys-color', 'outline'),
72
+ 'outline-width': if($exclude-hardcoded-values, null, 1px),
73
+ 'pressed-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
74
+ 'pressed-outline-color': map.get($deps, 'md-sys-color', 'outline'),
75
+ 'pressed-state-layer-color': map.get($deps, 'md-sys-color', 'primary'),
76
+ 'pressed-state-layer-opacity':
77
+ map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity'),
78
+ 'pressed-trailing-icon-color': map.get($deps, 'md-sys-color', 'primary'),
79
+ 'shape': map.get($deps, 'md-sys-shape', 'corner-full'),
80
+ 'trailing-icon-color': map.get($deps, 'md-sys-color', 'primary'),
81
+ 'trailing-icon-size': if($exclude-hardcoded-values, null, 18px),
82
+ 'with-icon-disabled-icon-color':
83
+ map.get($deps, 'md-sys-color', 'on-surface'),
84
+ 'with-icon-disabled-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
85
+ 'with-icon-focus-leading-icon-color':
86
+ map.get($deps, 'md-sys-color', 'primary'),
87
+ 'with-icon-hover-leading-icon-color':
88
+ map.get($deps, 'md-sys-color', 'primary'),
89
+ 'with-icon-leading-icon-color': map.get($deps, 'md-sys-color', 'primary'),
90
+ 'with-icon-leading-icon-size': if($exclude-hardcoded-values, null, 18px),
91
+ 'with-icon-pressed-leading-icon-color':
92
+ map.get($deps, 'md-sys-color', 'primary')
93
+ );
94
+ }
@@ -0,0 +1,112 @@
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-shape';
17
+
18
+ @use './md-sys-state';
19
+
20
+ @use './md-sys-typescale';
21
+
22
+ $_default: (
23
+ 'md-sys-color': md-sys-color.values-light(),
24
+ 'md-sys-shape': md-sys-shape.values(),
25
+ 'md-sys-state': md-sys-state.values(),
26
+ 'md-sys-typescale': md-sys-typescale.values(),
27
+ );
28
+
29
+ @function values($deps: $_default, $exclude-hardcoded-values: false) {
30
+ @return (
31
+ 'container-height': if($exclude-hardcoded-values, null, 40px),
32
+ 'disabled-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
33
+ 'disabled-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
34
+ 'disabled-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
35
+ 'disabled-label-text-opacity': if($exclude-hardcoded-values, null, 0.38),
36
+ 'disabled-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
37
+ 'disabled-outline-opacity': if($exclude-hardcoded-values, null, 0.12),
38
+ 'focus-state-layer-opacity':
39
+ map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
40
+ 'hover-state-layer-opacity':
41
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
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
+ 'label-text-type':
49
+ if(
50
+ $exclude-hardcoded-values,
51
+ null,
52
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-segmented-button.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
53
+ map.get($deps, 'md-sys-typescale', 'label-large-weight')
54
+ map.get($deps, 'md-sys-typescale', 'label-large-size') #{'/'} map.get(
55
+ $deps,
56
+ 'md-sys-typescale',
57
+ 'label-large-line-height'
58
+ ) map.get($deps, 'md-sys-typescale', 'label-large-font')
59
+ ),
60
+ 'label-text-weight':
61
+ map.get($deps, 'md-sys-typescale', 'label-large-weight'),
62
+ 'outline-color': map.get($deps, 'md-sys-color', 'outline'),
63
+ 'outline-width': if($exclude-hardcoded-values, null, 1px),
64
+ 'pressed-state-layer-opacity':
65
+ map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
66
+ 'selected-container-color':
67
+ map.get($deps, 'md-sys-color', 'secondary-container'),
68
+ 'selected-focus-icon-color':
69
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
70
+ 'selected-focus-label-text-color':
71
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
72
+ 'selected-focus-state-layer-color':
73
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
74
+ 'selected-hover-icon-color':
75
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
76
+ 'selected-hover-label-text-color':
77
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
78
+ 'selected-hover-state-layer-color':
79
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
80
+ 'selected-label-text-color':
81
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
82
+ 'selected-pressed-icon-color':
83
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
84
+ 'selected-pressed-label-text-color':
85
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
86
+ 'selected-pressed-state-layer-color':
87
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
88
+ 'selected-with-icon-icon-color':
89
+ map.get($deps, 'md-sys-color', 'on-secondary-container'),
90
+ 'shape': map.get($deps, 'md-sys-shape', 'corner-full'),
91
+ 'unselected-focus-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
92
+ 'unselected-focus-label-text-color':
93
+ map.get($deps, 'md-sys-color', 'on-surface'),
94
+ 'unselected-focus-state-layer-color':
95
+ map.get($deps, 'md-sys-color', 'on-surface'),
96
+ 'unselected-hover-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
97
+ 'unselected-hover-label-text-color':
98
+ map.get($deps, 'md-sys-color', 'on-surface'),
99
+ 'unselected-hover-state-layer-color':
100
+ map.get($deps, 'md-sys-color', 'on-surface'),
101
+ 'unselected-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
102
+ 'unselected-pressed-icon-color':
103
+ map.get($deps, 'md-sys-color', 'on-surface'),
104
+ 'unselected-pressed-label-text-color':
105
+ map.get($deps, 'md-sys-color', 'on-surface'),
106
+ 'unselected-pressed-state-layer-color':
107
+ map.get($deps, 'md-sys-color', 'on-surface'),
108
+ 'unselected-with-icon-icon-color':
109
+ map.get($deps, 'md-sys-color', 'on-surface'),
110
+ 'with-icon-icon-size': if($exclude-hardcoded-values, null, 18px)
111
+ );
112
+ }
@@ -0,0 +1,262 @@
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
+ 'menu-cascading-menu-indicator-icon-color':
35
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
36
+ 'menu-cascading-menu-indicator-icon-size':
37
+ if($exclude-hardcoded-values, null, 24px),
38
+ 'menu-container-color': map.get($deps, 'md-sys-color', 'surface'),
39
+ 'menu-container-elevation': map.get($deps, 'md-sys-elevation', 'level2'),
40
+ 'menu-container-shadow-color': map.get($deps, 'md-sys-color', 'shadow'),
41
+ 'menu-container-shape': map.get($deps, 'md-sys-shape', 'corner-extra-small'),
42
+ 'menu-container-surface-tint-layer-color':
43
+ map.get($deps, 'md-sys-color', 'surface-tint'),
44
+ 'menu-divider-color': map.get($deps, 'md-sys-color', 'surface-variant'),
45
+ 'menu-divider-height': if($exclude-hardcoded-values, null, 1px),
46
+ 'menu-list-item-container-height': if($exclude-hardcoded-values, null, 48px),
47
+ 'menu-list-item-label-text-color':
48
+ map.get($deps, 'md-sys-color', 'on-surface'),
49
+ 'menu-list-item-label-text-font':
50
+ map.get($deps, 'md-sys-typescale', 'label-large-font'),
51
+ 'menu-list-item-label-text-line-height':
52
+ map.get($deps, 'md-sys-typescale', 'label-large-line-height'),
53
+ 'menu-list-item-label-text-size':
54
+ map.get($deps, 'md-sys-typescale', 'label-large-size'),
55
+ 'menu-list-item-label-text-tracking':
56
+ map.get($deps, 'md-sys-typescale', 'label-large-tracking'),
57
+ 'menu-list-item-label-text-type':
58
+ if(
59
+ $exclude-hardcoded-values,
60
+ null,
61
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-select.menu.list-item.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
62
+ map.get($deps, 'md-sys-typescale', 'label-large-weight')
63
+ map.get($deps, 'md-sys-typescale', 'label-large-size') #{'/'} map.get(
64
+ $deps,
65
+ 'md-sys-typescale',
66
+ 'label-large-line-height'
67
+ ) map.get($deps, 'md-sys-typescale', 'label-large-font')
68
+ ),
69
+ 'menu-list-item-label-text-weight':
70
+ map.get($deps, 'md-sys-typescale', 'label-large-weight'),
71
+ 'menu-list-item-selected-container-color':
72
+ map.get($deps, 'md-sys-color', 'surface-variant'),
73
+ 'menu-list-item-with-leading-icon-leading-icon-color':
74
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
75
+ 'menu-list-item-with-leading-icon-leading-icon-size':
76
+ if($exclude-hardcoded-values, null, 24px),
77
+ 'menu-list-item-with-trailing-icon-trailing-icon-color':
78
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
79
+ 'menu-list-item-with-trailing-icon-trailing-icon-size':
80
+ if($exclude-hardcoded-values, null, 24px),
81
+ 'text-field-container-color':
82
+ map.get($deps, 'md-sys-color', 'surface-variant'),
83
+ 'text-field-container-shape':
84
+ map.get($deps, 'md-sys-shape', 'corner-extra-small'),
85
+ 'text-field-disabled-input-text-color':
86
+ map.get($deps, 'md-sys-color', 'on-surface'),
87
+ 'text-field-disabled-input-text-opacity':
88
+ if($exclude-hardcoded-values, null, 0.38),
89
+ 'text-field-disabled-label-text-color':
90
+ map.get($deps, 'md-sys-color', 'on-surface'),
91
+ 'text-field-disabled-label-text-opacity':
92
+ if($exclude-hardcoded-values, null, 0.38),
93
+ 'text-field-disabled-leading-icon-color':
94
+ map.get($deps, 'md-sys-color', 'on-surface'),
95
+ 'text-field-disabled-leading-icon-opacity':
96
+ if($exclude-hardcoded-values, null, 0.38),
97
+ 'text-field-disabled-outline-color':
98
+ map.get($deps, 'md-sys-color', 'on-surface'),
99
+ 'text-field-disabled-outline-opacity':
100
+ if($exclude-hardcoded-values, null, 0.12),
101
+ 'text-field-disabled-outline-width':
102
+ if($exclude-hardcoded-values, null, 1px),
103
+ 'text-field-disabled-supporting-text-color':
104
+ map.get($deps, 'md-sys-color', 'on-surface'),
105
+ 'text-field-disabled-supporting-text-opacity':
106
+ if($exclude-hardcoded-values, null, 0.38),
107
+ 'text-field-disabled-trailing-icon-color':
108
+ map.get($deps, 'md-sys-color', 'on-surface'),
109
+ 'text-field-disabled-trailing-icon-opacity':
110
+ if($exclude-hardcoded-values, null, 0.38),
111
+ 'text-field-error-focus-input-text-color':
112
+ map.get($deps, 'md-sys-color', 'on-surface'),
113
+ 'text-field-error-focus-label-text-color':
114
+ map.get($deps, 'md-sys-color', 'error'),
115
+ 'text-field-error-focus-leading-icon-color':
116
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
117
+ 'text-field-error-focus-outline-color':
118
+ map.get($deps, 'md-sys-color', 'error'),
119
+ 'text-field-error-focus-supporting-text-color':
120
+ map.get($deps, 'md-sys-color', 'error'),
121
+ 'text-field-error-focus-trailing-icon-color':
122
+ map.get($deps, 'md-sys-color', 'error'),
123
+ 'text-field-error-hover-input-text-color':
124
+ map.get($deps, 'md-sys-color', 'on-surface'),
125
+ 'text-field-error-hover-label-text-color':
126
+ map.get($deps, 'md-sys-color', 'on-error-container'),
127
+ 'text-field-error-hover-leading-icon-color':
128
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
129
+ 'text-field-error-hover-outline-color':
130
+ map.get($deps, 'md-sys-color', 'on-error-container'),
131
+ 'text-field-error-hover-state-layer-color':
132
+ map.get($deps, 'md-sys-color', 'on-surface'),
133
+ 'text-field-error-hover-state-layer-opacity':
134
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
135
+ 'text-field-error-hover-supporting-text-color':
136
+ map.get($deps, 'md-sys-color', 'error'),
137
+ 'text-field-error-hover-trailing-icon-color':
138
+ map.get($deps, 'md-sys-color', 'on-error-container'),
139
+ 'text-field-error-input-text-color':
140
+ map.get($deps, 'md-sys-color', 'on-surface'),
141
+ 'text-field-error-label-text-color': map.get($deps, 'md-sys-color', 'error'),
142
+ 'text-field-error-leading-icon-color':
143
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
144
+ 'text-field-error-outline-color': map.get($deps, 'md-sys-color', 'error'),
145
+ 'text-field-error-supporting-text-color':
146
+ map.get($deps, 'md-sys-color', 'error'),
147
+ 'text-field-error-trailing-icon-color':
148
+ map.get($deps, 'md-sys-color', 'error'),
149
+ 'text-field-focus-input-text-color':
150
+ map.get($deps, 'md-sys-color', 'on-surface'),
151
+ 'text-field-focus-label-text-color':
152
+ map.get($deps, 'md-sys-color', 'primary'),
153
+ 'text-field-focus-leading-icon-color':
154
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
155
+ 'text-field-focus-outline-color': map.get($deps, 'md-sys-color', 'primary'),
156
+ 'text-field-focus-outline-width': if($exclude-hardcoded-values, null, 2px),
157
+ 'text-field-focus-supporting-text-color':
158
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
159
+ 'text-field-focus-trailing-icon-color':
160
+ map.get($deps, 'md-sys-color', 'primary'),
161
+ 'text-field-hover-input-text-color':
162
+ map.get($deps, 'md-sys-color', 'on-surface'),
163
+ 'text-field-hover-label-text-color':
164
+ map.get($deps, 'md-sys-color', 'on-surface'),
165
+ 'text-field-hover-leading-icon-color':
166
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
167
+ 'text-field-hover-outline-color':
168
+ map.get($deps, 'md-sys-color', 'on-surface'),
169
+ 'text-field-hover-outline-width': if($exclude-hardcoded-values, null, 1px),
170
+ 'text-field-hover-state-layer-color':
171
+ map.get($deps, 'md-sys-color', 'on-surface'),
172
+ 'text-field-hover-state-layer-opacity':
173
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
174
+ 'text-field-hover-supporting-text-color':
175
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
176
+ 'text-field-hover-trailing-icon-color':
177
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
178
+ 'text-field-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
179
+ 'text-field-input-text-font':
180
+ map.get($deps, 'md-sys-typescale', 'body-large-font'),
181
+ 'text-field-input-text-line-height':
182
+ map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
183
+ 'text-field-input-text-size':
184
+ map.get($deps, 'md-sys-typescale', 'body-large-size'),
185
+ 'text-field-input-text-tracking':
186
+ map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
187
+ 'text-field-input-text-type':
188
+ if(
189
+ $exclude-hardcoded-values,
190
+ null,
191
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-select.text-field.input-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
192
+ map.get($deps, 'md-sys-typescale', 'body-large-weight')
193
+ map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
194
+ $deps,
195
+ 'md-sys-typescale',
196
+ 'body-large-line-height'
197
+ ) map.get($deps, 'md-sys-typescale', 'body-large-font')
198
+ ),
199
+ 'text-field-input-text-weight':
200
+ map.get($deps, 'md-sys-typescale', 'body-large-weight'),
201
+ 'text-field-label-text-color':
202
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
203
+ 'text-field-label-text-font':
204
+ map.get($deps, 'md-sys-typescale', 'body-large-font'),
205
+ 'text-field-label-text-line-height':
206
+ map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
207
+ 'text-field-label-text-populated-line-height':
208
+ map.get($deps, 'md-sys-typescale', 'body-small-line-height'),
209
+ 'text-field-label-text-populated-size':
210
+ map.get($deps, 'md-sys-typescale', 'body-small-size'),
211
+ 'text-field-label-text-size':
212
+ map.get($deps, 'md-sys-typescale', 'body-large-size'),
213
+ 'text-field-label-text-tracking':
214
+ map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
215
+ 'text-field-label-text-type':
216
+ if(
217
+ $exclude-hardcoded-values,
218
+ null,
219
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-select.text-field.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
220
+ map.get($deps, 'md-sys-typescale', 'body-large-weight')
221
+ map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
222
+ $deps,
223
+ 'md-sys-typescale',
224
+ 'body-large-line-height'
225
+ ) map.get($deps, 'md-sys-typescale', 'body-large-font')
226
+ ),
227
+ 'text-field-label-text-weight':
228
+ map.get($deps, 'md-sys-typescale', 'body-large-weight'),
229
+ 'text-field-leading-icon-color':
230
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
231
+ 'text-field-leading-icon-size': if($exclude-hardcoded-values, null, 24px),
232
+ 'text-field-outline-color': map.get($deps, 'md-sys-color', 'outline'),
233
+ 'text-field-outline-width': if($exclude-hardcoded-values, null, 1px),
234
+ 'text-field-supporting-text-color':
235
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
236
+ 'text-field-supporting-text-font':
237
+ map.get($deps, 'md-sys-typescale', 'body-small-font'),
238
+ 'text-field-supporting-text-line-height':
239
+ map.get($deps, 'md-sys-typescale', 'body-small-line-height'),
240
+ 'text-field-supporting-text-size':
241
+ map.get($deps, 'md-sys-typescale', 'body-small-size'),
242
+ 'text-field-supporting-text-tracking':
243
+ map.get($deps, 'md-sys-typescale', 'body-small-tracking'),
244
+ 'text-field-supporting-text-type':
245
+ if(
246
+ $exclude-hardcoded-values,
247
+ null,
248
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-select.text-field.supporting-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
249
+ map.get($deps, 'md-sys-typescale', 'body-small-weight')
250
+ map.get($deps, 'md-sys-typescale', 'body-small-size') #{'/'} map.get(
251
+ $deps,
252
+ 'md-sys-typescale',
253
+ 'body-small-line-height'
254
+ ) map.get($deps, 'md-sys-typescale', 'body-small-font')
255
+ ),
256
+ 'text-field-supporting-text-weight':
257
+ map.get($deps, 'md-sys-typescale', 'body-small-weight'),
258
+ 'text-field-trailing-icon-color':
259
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
260
+ 'text-field-trailing-icon-size': if($exclude-hardcoded-values, null, 24px)
261
+ );
262
+ }
@@ -0,0 +1,171 @@
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-shape';
17
+
18
+ @use './md-sys-typescale';
19
+
20
+ $_default: (
21
+ 'md-sys-color': md-sys-color.values-light(),
22
+ 'md-sys-shape': md-sys-shape.values(),
23
+ 'md-sys-typescale': md-sys-typescale.values(),
24
+ );
25
+
26
+ @function values($deps: $_default, $exclude-hardcoded-values: false) {
27
+ @return (
28
+ 'caret-color': map.get($deps, 'md-sys-color', 'primary'),
29
+ 'container-shape': map.get($deps, 'md-sys-shape', 'corner-extra-small'),
30
+ 'disabled-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
31
+ 'disabled-input-text-opacity': if($exclude-hardcoded-values, null, 0.38),
32
+ 'disabled-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
33
+ 'disabled-label-text-opacity': if($exclude-hardcoded-values, null, 0.38),
34
+ 'disabled-leading-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
35
+ 'disabled-leading-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
36
+ 'disabled-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
37
+ 'disabled-outline-opacity': if($exclude-hardcoded-values, null, 0.12),
38
+ 'disabled-outline-width': if($exclude-hardcoded-values, null, 1px),
39
+ 'disabled-supporting-text-color':
40
+ map.get($deps, 'md-sys-color', 'on-surface'),
41
+ 'disabled-supporting-text-opacity':
42
+ if($exclude-hardcoded-values, null, 0.38),
43
+ 'disabled-trailing-icon-color': map.get($deps, 'md-sys-color', 'on-surface'),
44
+ 'disabled-trailing-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
45
+ 'error-focus-caret-color': map.get($deps, 'md-sys-color', 'error'),
46
+ 'error-focus-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
47
+ 'error-focus-label-text-color': map.get($deps, 'md-sys-color', 'error'),
48
+ 'error-focus-leading-icon-color':
49
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
50
+ 'error-focus-outline-color': map.get($deps, 'md-sys-color', 'error'),
51
+ 'error-focus-supporting-text-color': map.get($deps, 'md-sys-color', 'error'),
52
+ 'error-focus-trailing-icon-color': map.get($deps, 'md-sys-color', 'error'),
53
+ 'error-hover-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
54
+ 'error-hover-label-text-color':
55
+ map.get($deps, 'md-sys-color', 'on-error-container'),
56
+ 'error-hover-leading-icon-color':
57
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
58
+ 'error-hover-outline-color':
59
+ map.get($deps, 'md-sys-color', 'on-error-container'),
60
+ 'error-hover-supporting-text-color': map.get($deps, 'md-sys-color', 'error'),
61
+ 'error-hover-trailing-icon-color':
62
+ map.get($deps, 'md-sys-color', 'on-error-container'),
63
+ 'error-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
64
+ 'error-label-text-color': map.get($deps, 'md-sys-color', 'error'),
65
+ 'error-leading-icon-color':
66
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
67
+ 'error-outline-color': map.get($deps, 'md-sys-color', 'error'),
68
+ 'error-supporting-text-color': map.get($deps, 'md-sys-color', 'error'),
69
+ 'error-trailing-icon-color': map.get($deps, 'md-sys-color', 'error'),
70
+ 'focus-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
71
+ 'focus-label-text-color': map.get($deps, 'md-sys-color', 'primary'),
72
+ 'focus-leading-icon-color':
73
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
74
+ 'focus-outline-color': map.get($deps, 'md-sys-color', 'primary'),
75
+ 'focus-outline-width': if($exclude-hardcoded-values, null, 2px),
76
+ 'focus-supporting-text-color':
77
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
78
+ 'focus-trailing-icon-color':
79
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
80
+ 'hover-input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
81
+ 'hover-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
82
+ 'hover-leading-icon-color':
83
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
84
+ 'hover-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
85
+ 'hover-outline-width': if($exclude-hardcoded-values, null, 1px),
86
+ 'hover-supporting-text-color':
87
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
88
+ 'hover-trailing-icon-color':
89
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
90
+ 'input-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
91
+ 'input-text-font': map.get($deps, 'md-sys-typescale', 'body-large-font'),
92
+ 'input-text-line-height':
93
+ map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
94
+ 'input-text-placeholder-color':
95
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
96
+ 'input-text-prefix-color':
97
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
98
+ 'input-text-size': map.get($deps, 'md-sys-typescale', 'body-large-size'),
99
+ 'input-text-suffix-color':
100
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
101
+ 'input-text-tracking':
102
+ map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
103
+ 'input-text-type':
104
+ if(
105
+ $exclude-hardcoded-values,
106
+ null,
107
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-text-field.input-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
108
+ map.get($deps, 'md-sys-typescale', 'body-large-weight')
109
+ map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
110
+ $deps,
111
+ 'md-sys-typescale',
112
+ 'body-large-line-height'
113
+ ) map.get($deps, 'md-sys-typescale', 'body-large-font')
114
+ ),
115
+ 'input-text-weight': map.get($deps, 'md-sys-typescale', 'body-large-weight'),
116
+ 'label-text-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
117
+ 'label-text-font': map.get($deps, 'md-sys-typescale', 'body-large-font'),
118
+ 'label-text-line-height':
119
+ map.get($deps, 'md-sys-typescale', 'body-large-line-height'),
120
+ 'label-text-populated-line-height':
121
+ map.get($deps, 'md-sys-typescale', 'body-small-line-height'),
122
+ 'label-text-populated-size':
123
+ map.get($deps, 'md-sys-typescale', 'body-small-size'),
124
+ 'label-text-size': map.get($deps, 'md-sys-typescale', 'body-large-size'),
125
+ 'label-text-tracking':
126
+ map.get($deps, 'md-sys-typescale', 'body-large-tracking'),
127
+ 'label-text-type':
128
+ if(
129
+ $exclude-hardcoded-values,
130
+ null,
131
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-text-field.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
132
+ map.get($deps, 'md-sys-typescale', 'body-large-weight')
133
+ map.get($deps, 'md-sys-typescale', 'body-large-size') #{'/'} map.get(
134
+ $deps,
135
+ 'md-sys-typescale',
136
+ 'body-large-line-height'
137
+ ) map.get($deps, 'md-sys-typescale', 'body-large-font')
138
+ ),
139
+ 'label-text-weight': map.get($deps, 'md-sys-typescale', 'body-large-weight'),
140
+ 'leading-icon-color': map.get($deps, 'md-sys-color', 'on-surface-variant'),
141
+ 'leading-icon-size': if($exclude-hardcoded-values, null, 24px),
142
+ 'outline-color': map.get($deps, 'md-sys-color', 'outline'),
143
+ 'outline-width': if($exclude-hardcoded-values, null, 1px),
144
+ 'supporting-text-color':
145
+ map.get($deps, 'md-sys-color', 'on-surface-variant'),
146
+ 'supporting-text-font':
147
+ map.get($deps, 'md-sys-typescale', 'body-small-font'),
148
+ 'supporting-text-line-height':
149
+ map.get($deps, 'md-sys-typescale', 'body-small-line-height'),
150
+ 'supporting-text-size':
151
+ map.get($deps, 'md-sys-typescale', 'body-small-size'),
152
+ 'supporting-text-tracking':
153
+ map.get($deps, 'md-sys-typescale', 'body-small-tracking'),
154
+ 'supporting-text-type':
155
+ if(
156
+ $exclude-hardcoded-values,
157
+ null,
158
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.outlined-text-field.supporting-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
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
+ }