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