@material/web 0.1.0-alpha.0 → 0.1.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1120) hide show
  1. package/actionelement/action-element.d.ts +1 -1
  2. package/actionelement/action-element.js +1 -1
  3. package/actionelement/action-element.js.map +1 -1
  4. package/autocomplete/_filled-autocomplete.scss +6 -0
  5. package/autocomplete/_outlined-autocomplete.scss +6 -0
  6. package/autocomplete/autocomplete-item.d.ts +19 -0
  7. package/autocomplete/autocomplete-item.js +22 -0
  8. package/autocomplete/autocomplete-item.js.map +1 -0
  9. package/autocomplete/autocomplete-list.d.ts +19 -0
  10. package/autocomplete/autocomplete-list.js +23 -0
  11. package/autocomplete/autocomplete-list.js.map +1 -0
  12. package/autocomplete/autocomplete-surface.d.ts +19 -0
  13. package/autocomplete/autocomplete-surface.js +23 -0
  14. package/autocomplete/autocomplete-surface.js.map +1 -0
  15. package/autocomplete/filled-autocomplete.d.ts +30 -0
  16. package/autocomplete/filled-autocomplete.js +53 -0
  17. package/autocomplete/filled-autocomplete.js.map +1 -0
  18. package/autocomplete/lib/_filled-autocomplete.scss +229 -0
  19. package/autocomplete/lib/_outlined-autocomplete.scss +217 -0
  20. package/autocomplete/lib/_shared.scss +34 -0
  21. package/autocomplete/lib/autocomplete.d.ts +58 -0
  22. package/autocomplete/lib/autocomplete.js +273 -0
  23. package/autocomplete/lib/autocomplete.js.map +1 -0
  24. package/autocomplete/lib/autocompleteitem/autocomplete-item.d.ts +11 -0
  25. package/autocomplete/lib/autocompleteitem/autocomplete-item.js +14 -0
  26. package/autocomplete/lib/autocompleteitem/autocomplete-item.js.map +1 -0
  27. package/autocomplete/lib/autocompleteitem/harness.d.ts +11 -0
  28. package/autocomplete/lib/autocompleteitem/harness.js +12 -0
  29. package/autocomplete/lib/autocompleteitem/harness.js.map +1 -0
  30. package/{field/lib/_field-theme.scss → autocomplete/lib/autocompletelist/_autocomplete-list.scss} +4 -6
  31. package/{elevation/lib/elevation-overlay-styles.css.d.ts → autocomplete/lib/autocompletelist/autocomplete-list-styles.css.d.ts} +0 -0
  32. package/autocomplete/lib/autocompletelist/autocomplete-list-styles.css.js +9 -0
  33. package/autocomplete/lib/autocompletelist/autocomplete-list-styles.css.js.map +1 -0
  34. package/{segmentedbutton/lib/segmented-button-styles.scss → autocomplete/lib/autocompletelist/autocomplete-list-styles.scss} +2 -2
  35. package/autocomplete/lib/autocompletelist/autocomplete-list.d.ts +14 -0
  36. package/autocomplete/lib/autocompletelist/autocomplete-list.js +21 -0
  37. package/autocomplete/lib/autocompletelist/autocomplete-list.js.map +1 -0
  38. package/autocomplete/lib/autocompletelist/harness.d.ts +11 -0
  39. package/autocomplete/lib/autocompletelist/harness.js +12 -0
  40. package/autocomplete/lib/autocompletelist/harness.js.map +1 -0
  41. package/autocomplete/lib/autocompletesurface/_autocomplete-surface.scss +13 -0
  42. package/{formfield/lib/formfield-styles.css.d.ts → autocomplete/lib/autocompletesurface/autocomplete-surface-styles.css.d.ts} +0 -0
  43. package/autocomplete/lib/autocompletesurface/autocomplete-surface-styles.css.js +9 -0
  44. package/autocomplete/lib/autocompletesurface/autocomplete-surface-styles.css.js.map +1 -0
  45. package/autocomplete/lib/autocompletesurface/autocomplete-surface-styles.scss +8 -0
  46. package/autocomplete/lib/autocompletesurface/autocomplete-surface.d.ts +13 -0
  47. package/autocomplete/lib/autocompletesurface/autocomplete-surface.js +21 -0
  48. package/autocomplete/lib/autocompletesurface/autocomplete-surface.js.map +1 -0
  49. package/{iconbutton/lib/icon-button-styles.css.d.ts → autocomplete/lib/filled-styles.css.d.ts} +0 -0
  50. package/autocomplete/lib/filled-styles.css.js +9 -0
  51. package/autocomplete/lib/filled-styles.css.js.map +1 -0
  52. package/autocomplete/lib/filled-styles.scss +8 -0
  53. package/{segmentedbutton/lib/segmented-button-styles.css.d.ts → autocomplete/lib/outlined-styles.css.d.ts} +0 -0
  54. package/autocomplete/lib/outlined-styles.css.js +9 -0
  55. package/autocomplete/lib/outlined-styles.css.js.map +1 -0
  56. package/autocomplete/lib/outlined-styles.scss +8 -0
  57. package/autocomplete/lib/shared-styles.css.d.ts +1 -0
  58. package/autocomplete/lib/shared-styles.css.js +9 -0
  59. package/autocomplete/lib/shared-styles.css.js.map +1 -0
  60. package/{iconbutton/lib/icon-button-styles.scss → autocomplete/lib/shared-styles.scss} +2 -2
  61. package/autocomplete/outlined-autocomplete.d.ts +30 -0
  62. package/autocomplete/outlined-autocomplete.js +53 -0
  63. package/autocomplete/outlined-autocomplete.js.map +1 -0
  64. package/badge/_badge.scss +6 -0
  65. package/badge/lib/_badge.scss +60 -21
  66. package/badge/lib/badge-styles.css.js +1 -1
  67. package/badge/lib/badge-styles.css.js.map +1 -1
  68. package/badge/lib/badge-styles.scss +1 -9
  69. package/button/_elevated-button.scss +1 -3
  70. package/button/_filled-button.scss +1 -3
  71. package/button/_outlined-button.scss +1 -3
  72. package/button/_text-button.scss +1 -3
  73. package/button/_tonal-button.scss +1 -3
  74. package/button/elevated-button.d.ts +18 -1
  75. package/button/elevated-button.js +20 -3
  76. package/button/elevated-button.js.map +1 -1
  77. package/button/elevated-link-button.d.ts +18 -1
  78. package/button/elevated-link-button.js +20 -3
  79. package/button/elevated-link-button.js.map +1 -1
  80. package/button/filled-button.d.ts +16 -1
  81. package/button/filled-button.js +18 -2
  82. package/button/filled-button.js.map +1 -1
  83. package/button/filled-link-button.d.ts +16 -1
  84. package/button/filled-link-button.js +18 -2
  85. package/button/filled-link-button.js.map +1 -1
  86. package/button/harness.d.ts +1 -1
  87. package/button/harness.js +1 -1
  88. package/button/harness.js.map +1 -1
  89. package/button/lib/_elevated-button.scss +51 -2
  90. package/button/lib/_elevation.scss +74 -0
  91. package/button/lib/_filled-button.scss +47 -2
  92. package/button/lib/_icon.scss +26 -18
  93. package/button/lib/_outlined-button.scss +70 -8
  94. package/button/lib/_shared.scss +180 -0
  95. package/button/lib/_text-button.scss +52 -2
  96. package/button/lib/_tonal-button.scss +50 -2
  97. package/button/lib/_touch-target.scss +7 -5
  98. package/button/lib/button.d.ts +45 -40
  99. package/button/lib/button.js +83 -88
  100. package/button/lib/button.js.map +1 -1
  101. package/button/lib/elevated-button.d.ts +2 -4
  102. package/button/lib/elevated-button.js +4 -5
  103. package/button/lib/elevated-button.js.map +1 -1
  104. package/button/lib/elevated-link-button.d.ts +2 -4
  105. package/button/lib/elevated-link-button.js +4 -5
  106. package/button/lib/elevated-link-button.js.map +1 -1
  107. package/button/lib/elevated-styles.css.js +1 -1
  108. package/button/lib/elevated-styles.css.js.map +1 -1
  109. package/button/lib/elevated-styles.scss +1 -11
  110. package/button/lib/filled-button.d.ts +4 -2
  111. package/button/lib/filled-button.js +7 -2
  112. package/button/lib/filled-button.js.map +1 -1
  113. package/button/lib/filled-link-button.d.ts +4 -2
  114. package/button/lib/filled-link-button.js +7 -2
  115. package/button/lib/filled-link-button.js.map +1 -1
  116. package/button/lib/filled-styles.css.js +1 -1
  117. package/button/lib/filled-styles.css.js.map +1 -1
  118. package/button/lib/filled-styles.scss +1 -9
  119. package/button/lib/link-button.d.ts +11 -3
  120. package/button/lib/link-button.js +29 -18
  121. package/button/lib/link-button.js.map +1 -1
  122. package/button/lib/outlined-button.d.ts +0 -3
  123. package/button/lib/outlined-button.js +1 -3
  124. package/button/lib/outlined-button.js.map +1 -1
  125. package/button/lib/outlined-link-button.d.ts +0 -3
  126. package/button/lib/outlined-link-button.js +1 -3
  127. package/button/lib/outlined-link-button.js.map +1 -1
  128. package/button/lib/outlined-styles.css.js +1 -1
  129. package/button/lib/outlined-styles.css.js.map +1 -1
  130. package/button/lib/outlined-styles.scss +1 -11
  131. package/button/lib/shared-elevation-styles.css.d.ts +1 -0
  132. package/button/lib/shared-elevation-styles.css.js +9 -0
  133. package/button/lib/shared-elevation-styles.css.js.map +1 -0
  134. package/{ripple/_index.scss → button/lib/shared-elevation-styles.scss} +3 -1
  135. package/button/lib/shared-styles.css.js +1 -1
  136. package/button/lib/shared-styles.css.js.map +1 -1
  137. package/button/lib/shared-styles.scss +4 -4
  138. package/button/lib/text-button.d.ts +0 -2
  139. package/button/lib/text-button.js +1 -2
  140. package/button/lib/text-button.js.map +1 -1
  141. package/button/lib/text-link-button.d.ts +0 -2
  142. package/button/lib/text-link-button.js +1 -2
  143. package/button/lib/text-link-button.js.map +1 -1
  144. package/button/lib/text-styles.css.js +1 -1
  145. package/button/lib/text-styles.css.js.map +1 -1
  146. package/button/lib/text-styles.scss +1 -9
  147. package/button/lib/tonal-button.d.ts +4 -2
  148. package/button/lib/tonal-button.js +7 -2
  149. package/button/lib/tonal-button.js.map +1 -1
  150. package/button/lib/tonal-link-button.d.ts +4 -2
  151. package/button/lib/tonal-link-button.js +7 -2
  152. package/button/lib/tonal-link-button.js.map +1 -1
  153. package/button/lib/tonal-styles.css.js +1 -1
  154. package/button/lib/tonal-styles.css.js.map +1 -1
  155. package/button/lib/tonal-styles.scss +1 -9
  156. package/button/outlined-button.d.ts +18 -1
  157. package/button/outlined-button.js +18 -1
  158. package/button/outlined-button.js.map +1 -1
  159. package/button/outlined-link-button.d.ts +18 -1
  160. package/button/outlined-link-button.js +18 -1
  161. package/button/outlined-link-button.js.map +1 -1
  162. package/button/text-button.d.ts +16 -1
  163. package/button/text-button.js +16 -1
  164. package/button/text-button.js.map +1 -1
  165. package/button/text-link-button.d.ts +16 -1
  166. package/button/text-link-button.js +16 -1
  167. package/button/text-link-button.js.map +1 -1
  168. package/button/tonal-button.d.ts +17 -1
  169. package/button/tonal-button.js +19 -2
  170. package/button/tonal-button.js.map +1 -1
  171. package/button/tonal-link-button.d.ts +17 -1
  172. package/button/tonal-link-button.js +19 -2
  173. package/button/tonal-link-button.js.map +1 -1
  174. package/checkbox/_checkbox.scss +6 -1
  175. package/checkbox/checkbox.d.ts +4 -1
  176. package/checkbox/checkbox.js +6 -2
  177. package/checkbox/checkbox.js.map +1 -1
  178. package/checkbox/harness.d.ts +1 -1
  179. package/checkbox/harness.js +1 -1
  180. package/checkbox/harness.js.map +1 -1
  181. package/checkbox/lib/_checkbox.scss +368 -334
  182. package/checkbox/lib/checkbox-styles.css.js +1 -1
  183. package/checkbox/lib/checkbox-styles.css.js.map +1 -1
  184. package/checkbox/lib/checkbox-styles.scss +1 -8
  185. package/checkbox/lib/checkbox.d.ts +30 -45
  186. package/checkbox/lib/checkbox.js +127 -177
  187. package/checkbox/lib/checkbox.js.map +1 -1
  188. package/checkbox/lib/forced-colors-styles.css.d.ts +1 -0
  189. package/checkbox/lib/forced-colors-styles.css.js +9 -0
  190. package/checkbox/lib/forced-colors-styles.css.js.map +1 -0
  191. package/checkbox/lib/forced-colors-styles.scss +47 -0
  192. package/{formfield/formfield.d.ts → chips/action/delete-action.d.ts} +3 -4
  193. package/chips/action/delete-action.js +20 -0
  194. package/chips/action/delete-action.js.map +1 -0
  195. package/chips/action/lib/action.d.ts +17 -4
  196. package/chips/action/lib/action.js +85 -6
  197. package/chips/action/lib/action.js.map +1 -1
  198. package/chips/action/lib/{trailing-action.d.ts → delete-action.d.ts} +3 -3
  199. package/chips/action/lib/{trailing-action.js → delete-action.js} +22 -19
  200. package/chips/action/lib/delete-action.js.map +1 -0
  201. package/chips/action/lib/events.d.ts +14 -0
  202. package/chips/action/lib/events.js +16 -0
  203. package/chips/action/lib/events.js.map +1 -0
  204. package/chips/action/lib/link-action.d.ts +2 -0
  205. package/chips/action/lib/link-action.js +13 -1
  206. package/chips/action/lib/link-action.js.map +1 -1
  207. package/chips/action/lib/primary-action.d.ts +0 -1
  208. package/chips/action/lib/primary-action.js +11 -6
  209. package/chips/action/lib/primary-action.js.map +1 -1
  210. package/chips/action/lib/selectable-action.js +11 -1
  211. package/chips/action/lib/selectable-action.js.map +1 -1
  212. package/chips/action/link-action.d.ts +18 -0
  213. package/chips/action/link-action.js +20 -0
  214. package/chips/action/link-action.js.map +1 -0
  215. package/chips/action/presentational-action.d.ts +18 -0
  216. package/chips/action/presentational-action.js +20 -0
  217. package/chips/action/presentational-action.js.map +1 -0
  218. package/chips/action/primary-action.d.ts +18 -0
  219. package/chips/action/primary-action.js +20 -0
  220. package/chips/action/primary-action.js.map +1 -0
  221. package/chips/action/selectable-action.d.ts +18 -0
  222. package/chips/action/selectable-action.js +20 -0
  223. package/chips/action/selectable-action.js.map +1 -0
  224. package/chips/chip/lib/_assist-chip-theme.scss +5 -11
  225. package/chips/chip/lib/_chip-theme.scss +191 -220
  226. package/chips/chip/lib/_chip.scss +80 -63
  227. package/chips/chip/lib/_filter-chip-theme.scss +5 -11
  228. package/chips/chip/lib/_input-chip-theme.scss +12 -18
  229. package/chips/chip/lib/_suggestion-chip-theme.scss +5 -11
  230. package/chips/chip/lib/action-chip.d.ts +18 -0
  231. package/chips/chip/lib/action-chip.js +39 -0
  232. package/chips/chip/lib/action-chip.js.map +1 -0
  233. package/{compat/animation → chips/chip/lib}/animationframe.d.ts +0 -0
  234. package/{compat/animation → chips/chip/lib}/animationframe.js +1 -0
  235. package/chips/chip/lib/animationframe.js.map +1 -0
  236. package/chips/chip/lib/chip.d.ts +42 -0
  237. package/chips/chip/lib/chip.js +133 -0
  238. package/chips/chip/lib/chip.js.map +1 -0
  239. package/chips/chip/lib/foundation.js +3 -4
  240. package/chips/chip/lib/foundation.js.map +1 -1
  241. package/chips/chip/lib/link-chip.d.ts +21 -0
  242. package/chips/chip/lib/link-chip.js +53 -0
  243. package/chips/chip/lib/link-chip.js.map +1 -0
  244. package/chips/chip/lib/presentational-chip.d.ts +18 -0
  245. package/chips/chip/lib/presentational-chip.js +39 -0
  246. package/chips/chip/lib/presentational-chip.js.map +1 -0
  247. package/chips/chip/lib/selectable-chip.d.ts +22 -0
  248. package/chips/chip/lib/selectable-chip.js +57 -0
  249. package/chips/chip/lib/selectable-chip.js.map +1 -0
  250. package/chips/chipset/lib/_chip-set-theme.scss +1 -1
  251. package/chips/chipset/lib/foundation.js +8 -10
  252. package/chips/chipset/lib/foundation.js.map +1 -1
  253. package/controller/events.d.ts +50 -0
  254. package/controller/events.js +86 -0
  255. package/controller/events.js.map +1 -1
  256. package/controller/form-associated.d.ts +14 -0
  257. package/controller/form-associated.js +12 -0
  258. package/controller/form-associated.js.map +1 -0
  259. package/controller/form-controller.d.ts +7 -0
  260. package/controller/form-controller.js +15 -1
  261. package/controller/form-controller.js.map +1 -1
  262. package/controller/is-rtl.d.ts +14 -0
  263. package/controller/is-rtl.js +18 -0
  264. package/controller/is-rtl.js.map +1 -0
  265. package/controller/shim-label-activation.d.ts +18 -0
  266. package/controller/shim-label-activation.js +72 -0
  267. package/controller/shim-label-activation.js.map +1 -0
  268. package/decorators/bound.d.ts +1 -1
  269. package/decorators/bound.js.map +1 -1
  270. package/elevation/_elevation.scss +6 -0
  271. package/elevation/elevation.d.ts +19 -0
  272. package/elevation/elevation.js +22 -0
  273. package/elevation/elevation.js.map +1 -0
  274. package/elevation/lib/_elevation.scss +218 -0
  275. package/elevation/lib/_md-comp-elevation.scss +23 -0
  276. package/elevation/lib/elevation-styles.css.d.ts +1 -0
  277. package/elevation/lib/elevation-styles.css.js +9 -0
  278. package/elevation/lib/elevation-styles.css.js.map +1 -0
  279. package/elevation/lib/elevation-styles.scss +8 -0
  280. package/elevation/lib/elevation.d.ts +20 -0
  281. package/elevation/lib/elevation.js +39 -0
  282. package/elevation/lib/elevation.js.map +1 -0
  283. package/{elevation → elevationold}/lib/_elevation-overlay-theme.scss +0 -0
  284. package/{elevation → elevationold}/lib/_elevation-overlay.scss +0 -0
  285. package/{elevation → elevationold}/lib/_elevation-theme.scss +3 -17
  286. package/{elevation → elevationold}/lib/_surface.scss +1 -4
  287. package/elevationold/lib/elevation-overlay-styles.css.d.ts +1 -0
  288. package/{elevation → elevationold}/lib/elevation-overlay-styles.css.js +0 -0
  289. package/{elevation → elevationold}/lib/elevation-overlay-styles.css.js.map +0 -0
  290. package/{elevation → elevationold}/lib/elevation-overlay-styles.scss +0 -0
  291. package/fab/_fab-extended.scss +1 -6
  292. package/fab/_fab.scss +1 -15
  293. package/fab/fab-extended.d.ts +1 -1
  294. package/fab/fab-extended.js +2 -2
  295. package/fab/fab-extended.js.map +1 -1
  296. package/fab/fab.d.ts +1 -1
  297. package/fab/fab.js +2 -2
  298. package/fab/fab.js.map +1 -1
  299. package/fab/harness.d.ts +1 -1
  300. package/fab/harness.js +1 -1
  301. package/fab/harness.js.map +1 -1
  302. package/fab/lib/_fab-extended.scss +55 -21
  303. package/fab/lib/_fab.scss +30 -6
  304. package/fab/lib/_shared.scss +209 -0
  305. package/fab/lib/fab-extended-styles.css.js +1 -1
  306. package/fab/lib/fab-extended-styles.css.js.map +1 -1
  307. package/fab/lib/fab-extended-styles.scss +1 -9
  308. package/fab/lib/fab-shared-styles.css.js +1 -1
  309. package/fab/lib/fab-shared-styles.css.js.map +1 -1
  310. package/fab/lib/fab-shared-styles.scss +2 -2
  311. package/fab/lib/fab-shared.d.ts +6 -5
  312. package/fab/lib/fab-shared.js +9 -8
  313. package/fab/lib/fab-shared.js.map +1 -1
  314. package/fab/lib/fab-styles.css.js +1 -1
  315. package/fab/lib/fab-styles.css.js.map +1 -1
  316. package/fab/lib/fab-styles.scss +1 -9
  317. package/field/_filled-field.scss +1 -3
  318. package/field/_outlined-field.scss +1 -3
  319. package/field/harness.d.ts +1 -1
  320. package/field/harness.js +1 -1
  321. package/field/harness.js.map +1 -1
  322. package/field/lib/_content.scss +51 -2
  323. package/field/lib/_filled-field.scss +167 -88
  324. package/field/lib/_label.scss +65 -2
  325. package/field/lib/_md-comp-filled-field.scss +72 -0
  326. package/field/lib/_md-comp-outlined-field.scss +74 -0
  327. package/field/lib/_outlined-field.scss +222 -118
  328. package/field/lib/{_field.scss → _shared.scss} +30 -1
  329. package/field/lib/_supporting-text.scss +64 -1
  330. package/field/lib/field.d.ts +1 -1
  331. package/field/lib/field.js +1 -1
  332. package/field/lib/field.js.map +1 -1
  333. package/field/lib/filled-field.d.ts +1 -0
  334. package/field/lib/filled-field.js +1 -0
  335. package/field/lib/filled-field.js.map +1 -1
  336. package/field/lib/filled-styles.css.js +1 -1
  337. package/field/lib/filled-styles.css.js.map +1 -1
  338. package/field/lib/filled-styles.scss +1 -9
  339. package/field/lib/outlined-styles.css.js +1 -1
  340. package/field/lib/outlined-styles.css.js.map +1 -1
  341. package/field/lib/outlined-styles.scss +1 -10
  342. package/field/lib/shared-styles.css.js +1 -1
  343. package/field/lib/shared-styles.css.js.map +1 -1
  344. package/field/lib/shared-styles.scss +2 -8
  345. package/focus/_focus-ring.scss +6 -0
  346. package/focus/lib/_focus-ring.scss +48 -21
  347. package/focus/lib/_md-comp-focus-ring.scss +27 -0
  348. package/focus/lib/focus-ring-styles.css.js +1 -1
  349. package/focus/lib/focus-ring-styles.css.js.map +1 -1
  350. package/focus/lib/focus-ring-styles.scss +1 -9
  351. package/focus/lib/focus-ring.d.ts +16 -3
  352. package/focus/lib/focus-ring.js +16 -3
  353. package/focus/lib/focus-ring.js.map +1 -1
  354. package/focus/strong-focus.d.ts +2 -0
  355. package/focus/strong-focus.js +6 -4
  356. package/focus/strong-focus.js.map +1 -1
  357. package/icon/_icon.scss +6 -0
  358. package/icon/lib/_icon.scss +54 -0
  359. package/icon/lib/_md-comp-icon.scss +19 -0
  360. package/icon/lib/icon-styles.css.js +1 -1
  361. package/icon/lib/icon-styles.css.js.map +1 -1
  362. package/icon/lib/icon-styles.scss +2 -19
  363. package/iconbutton/_filled-icon-button.scss +1 -2
  364. package/iconbutton/_filled-tonal-icon-button.scss +6 -0
  365. package/iconbutton/_outlined-icon-button.scss +1 -2
  366. package/iconbutton/_standard-icon-button.scss +1 -2
  367. package/iconbutton/filled-icon-button-toggle.d.ts +15 -3
  368. package/iconbutton/filled-icon-button-toggle.js +16 -4
  369. package/iconbutton/filled-icon-button-toggle.js.map +1 -1
  370. package/iconbutton/filled-icon-button.d.ts +15 -3
  371. package/iconbutton/filled-icon-button.js +16 -4
  372. package/iconbutton/filled-icon-button.js.map +1 -1
  373. package/iconbutton/filled-link-icon-button.d.ts +15 -3
  374. package/iconbutton/filled-link-icon-button.js +16 -4
  375. package/iconbutton/filled-link-icon-button.js.map +1 -1
  376. package/iconbutton/filled-tonal-icon-button-toggle.d.ts +15 -3
  377. package/iconbutton/filled-tonal-icon-button-toggle.js +16 -4
  378. package/iconbutton/filled-tonal-icon-button-toggle.js.map +1 -1
  379. package/iconbutton/filled-tonal-icon-button.d.ts +15 -3
  380. package/iconbutton/filled-tonal-icon-button.js +16 -4
  381. package/iconbutton/filled-tonal-icon-button.js.map +1 -1
  382. package/iconbutton/filled-tonal-link-icon-button.d.ts +15 -3
  383. package/iconbutton/filled-tonal-link-icon-button.js +16 -4
  384. package/iconbutton/filled-tonal-link-icon-button.js.map +1 -1
  385. package/iconbutton/harness.d.ts +1 -1
  386. package/iconbutton/harness.js +1 -1
  387. package/iconbutton/harness.js.map +1 -1
  388. package/iconbutton/lib/_filled-icon-button.scss +123 -2
  389. package/iconbutton/lib/_filled-tonal-icon-button.scss +123 -2
  390. package/iconbutton/lib/_outlined-icon-button.scss +133 -1
  391. package/iconbutton/lib/{_icon-button-theme.scss → _shared.scss} +76 -71
  392. package/iconbutton/lib/_standard-icon-button.scss +94 -2
  393. package/iconbutton/lib/filled-styles.css.js +1 -1
  394. package/iconbutton/lib/filled-styles.css.js.map +1 -1
  395. package/iconbutton/lib/filled-styles.scss +1 -11
  396. package/iconbutton/lib/filled-tonal-styles.css.js +1 -1
  397. package/iconbutton/lib/filled-tonal-styles.css.js.map +1 -1
  398. package/iconbutton/lib/filled-tonal-styles.scss +1 -11
  399. package/iconbutton/lib/icon-button-toggle.d.ts +42 -23
  400. package/iconbutton/lib/icon-button-toggle.js +64 -62
  401. package/iconbutton/lib/icon-button-toggle.js.map +1 -1
  402. package/iconbutton/lib/icon-button.d.ts +22 -30
  403. package/iconbutton/lib/icon-button.js +52 -71
  404. package/iconbutton/lib/icon-button.js.map +1 -1
  405. package/iconbutton/lib/link-icon-button.d.ts +11 -2
  406. package/iconbutton/lib/link-icon-button.js +23 -18
  407. package/iconbutton/lib/link-icon-button.js.map +1 -1
  408. package/iconbutton/lib/outlined-styles.css.js +1 -1
  409. package/iconbutton/lib/outlined-styles.css.js.map +1 -1
  410. package/iconbutton/lib/outlined-styles.scss +1 -11
  411. package/iconbutton/lib/shared-styles.css.d.ts +1 -0
  412. package/iconbutton/lib/shared-styles.css.js +9 -0
  413. package/iconbutton/lib/shared-styles.css.js.map +1 -0
  414. package/iconbutton/lib/shared-styles.scss +8 -0
  415. package/iconbutton/lib/standard-styles.css.js +1 -1
  416. package/iconbutton/lib/standard-styles.css.js.map +1 -1
  417. package/iconbutton/lib/standard-styles.scss +1 -11
  418. package/iconbutton/outlined-icon-button-toggle.d.ts +15 -3
  419. package/iconbutton/outlined-icon-button-toggle.js +16 -4
  420. package/iconbutton/outlined-icon-button-toggle.js.map +1 -1
  421. package/iconbutton/outlined-icon-button.d.ts +15 -3
  422. package/iconbutton/outlined-icon-button.js +16 -4
  423. package/iconbutton/outlined-icon-button.js.map +1 -1
  424. package/iconbutton/outlined-link-icon-button.d.ts +15 -3
  425. package/iconbutton/outlined-link-icon-button.js +16 -4
  426. package/iconbutton/outlined-link-icon-button.js.map +1 -1
  427. package/iconbutton/standard-icon-button-toggle.d.ts +15 -3
  428. package/iconbutton/standard-icon-button-toggle.js +16 -4
  429. package/iconbutton/standard-icon-button-toggle.js.map +1 -1
  430. package/iconbutton/standard-icon-button.d.ts +15 -3
  431. package/iconbutton/standard-icon-button.js +16 -4
  432. package/iconbutton/standard-icon-button.js.map +1 -1
  433. package/iconbutton/standard-link-icon-button.d.ts +15 -3
  434. package/iconbutton/standard-link-icon-button.js +16 -4
  435. package/iconbutton/standard-link-icon-button.js.map +1 -1
  436. package/list/_list-item.scss +1 -2
  437. package/list/_list.scss +1 -2
  438. package/list/harness.d.ts +1 -1
  439. package/list/harness.js +1 -1
  440. package/list/harness.js.map +1 -1
  441. package/list/lib/_list.scss +58 -21
  442. package/list/lib/_tokens.scss +2 -2
  443. package/list/lib/avatar/_list-item-avatar.scss +25 -1
  444. package/list/lib/avatar/list-item-avatar-styles.css.js +1 -1
  445. package/list/lib/avatar/list-item-avatar-styles.css.js.map +1 -1
  446. package/list/lib/avatar/list-item-avatar-styles.scss +1 -13
  447. package/list/lib/divider/_list-divider.scss +33 -1
  448. package/list/lib/divider/list-divider-styles.css.js +1 -1
  449. package/list/lib/divider/list-divider-styles.css.js.map +1 -1
  450. package/list/lib/divider/list-divider-styles.scss +1 -11
  451. package/list/lib/divider/list-divider.d.ts +1 -1
  452. package/list/lib/divider/list-divider.js +1 -1
  453. package/list/lib/divider/list-divider.js.map +1 -1
  454. package/list/lib/icon/_list-item-icon.scss +32 -2
  455. package/list/lib/icon/list-item-icon-styles.css.js +1 -1
  456. package/list/lib/icon/list-item-icon-styles.css.js.map +1 -1
  457. package/list/lib/icon/list-item-icon-styles.scss +1 -13
  458. package/list/lib/image/_list-item-image.scss +44 -1
  459. package/list/lib/image/list-item-image-styles.css.js +1 -1
  460. package/list/lib/image/list-item-image-styles.css.js.map +1 -1
  461. package/list/lib/image/list-item-image-styles.scss +1 -13
  462. package/list/lib/list-styles.css.js +1 -1
  463. package/list/lib/list-styles.css.js.map +1 -1
  464. package/list/lib/list-styles.scss +1 -9
  465. package/list/lib/list.d.ts +5 -1
  466. package/list/lib/list.js +13 -2
  467. package/list/lib/list.js.map +1 -1
  468. package/list/lib/listitem/_list-item.scss +156 -59
  469. package/list/lib/listitem/harness.d.ts +1 -1
  470. package/list/lib/listitem/harness.js +1 -1
  471. package/list/lib/listitem/harness.js.map +1 -1
  472. package/list/lib/listitem/list-item-styles.css.js +1 -1
  473. package/list/lib/listitem/list-item-styles.css.js.map +1 -1
  474. package/list/lib/listitem/list-item-styles.scss +1 -9
  475. package/list/lib/listitem/list-item.d.ts +5 -5
  476. package/list/lib/listitem/list-item.js +6 -6
  477. package/list/lib/listitem/list-item.js.map +1 -1
  478. package/list/lib/video/_list-item-video.scss +45 -2
  479. package/list/lib/video/list-item-video-styles.css.js +1 -1
  480. package/list/lib/video/list-item-video-styles.css.js.map +1 -1
  481. package/list/lib/video/list-item-video-styles.scss +1 -13
  482. package/localization/localize.d.ts +15 -0
  483. package/localization/localize.js +18 -0
  484. package/localization/localize.js.map +1 -0
  485. package/menu/harness.d.ts +1 -1
  486. package/menu/harness.js +1 -1
  487. package/menu/harness.js.map +1 -1
  488. package/menu/lib/_menu-button.scss +1 -1
  489. package/menu/lib/_menu.scss +105 -2
  490. package/menu/lib/menu-button-styles.scss +5 -6
  491. package/menu/lib/menu-styles.css.js +1 -1
  492. package/menu/lib/menu-styles.css.js.map +1 -1
  493. package/menu/lib/menu-styles.scss +5 -14
  494. package/menu/lib/menu.js +3 -3
  495. package/menu/lib/menu.js.map +1 -1
  496. package/menu/lib/menuitem/harness.d.ts +1 -1
  497. package/menu/lib/menuitem/harness.js +1 -1
  498. package/menu/lib/menuitem/harness.js.map +1 -1
  499. package/menu/lib/menuitem/menu-item.d.ts +2 -2
  500. package/menu/lib/menuitem/menu-item.js +1 -1
  501. package/menu/lib/menuitem/menu-item.js.map +1 -1
  502. package/menusurface/_menu-surface.scss +1 -2
  503. package/menusurface/lib/_md-comp-menu-surface.scss +35 -0
  504. package/menusurface/lib/_menu-surface.scss +30 -1
  505. package/menusurface/lib/menu-surface-styles.css.js +1 -1
  506. package/menusurface/lib/menu-surface-styles.css.js.map +1 -1
  507. package/menusurface/lib/menu-surface-styles.scss +1 -9
  508. package/menusurface/lib/menu-surface.d.ts +5 -2
  509. package/menusurface/lib/menu-surface.js +48 -89
  510. package/menusurface/lib/menu-surface.js.map +1 -1
  511. package/navigationbar/_navigation-bar.scss +1 -2
  512. package/navigationbar/harness.d.ts +1 -1
  513. package/navigationbar/harness.js +1 -1
  514. package/navigationbar/harness.js.map +1 -1
  515. package/navigationbar/lib/_navigation-bar.scss +44 -6
  516. package/navigationbar/lib/constants.d.ts +1 -1
  517. package/navigationbar/lib/constants.js.map +1 -1
  518. package/navigationbar/lib/navigation-bar-styles.css.js +1 -1
  519. package/navigationbar/lib/navigation-bar-styles.css.js.map +1 -1
  520. package/navigationbar/lib/navigation-bar-styles.scss +1 -13
  521. package/navigationbar/lib/navigation-bar.d.ts +4 -3
  522. package/navigationbar/lib/navigation-bar.js +35 -44
  523. package/navigationbar/lib/navigation-bar.js.map +1 -1
  524. package/navigationbar/lib/state.d.ts +1 -1
  525. package/navigationbar/lib/state.js.map +1 -1
  526. package/navigationdrawer/_navigation-drawer-modal.scss +1 -1
  527. package/navigationdrawer/_navigation-drawer.scss +1 -1
  528. package/navigationdrawer/lib/_navigation-drawer-modal.scss +54 -12
  529. package/navigationdrawer/lib/_navigation-drawer.scss +48 -9
  530. package/navigationdrawer/lib/_shared.scss +49 -0
  531. package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js +1 -1
  532. package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js.map +1 -1
  533. package/navigationdrawer/lib/navigation-drawer-modal-styles.scss +1 -5
  534. package/navigationdrawer/lib/navigation-drawer-modal.d.ts +7 -7
  535. package/navigationdrawer/lib/navigation-drawer-modal.js +13 -14
  536. package/navigationdrawer/lib/navigation-drawer-modal.js.map +1 -1
  537. package/navigationdrawer/lib/navigation-drawer-styles.css.js +1 -1
  538. package/navigationdrawer/lib/navigation-drawer-styles.css.js.map +1 -1
  539. package/navigationdrawer/lib/navigation-drawer-styles.scss +1 -11
  540. package/navigationdrawer/lib/navigation-drawer.d.ts +6 -6
  541. package/navigationdrawer/lib/navigation-drawer.js +13 -14
  542. package/navigationdrawer/lib/navigation-drawer.js.map +1 -1
  543. package/navigationdrawer/lib/shared-styles.css.d.ts +1 -0
  544. package/navigationdrawer/lib/shared-styles.css.js +9 -0
  545. package/navigationdrawer/lib/shared-styles.css.js.map +1 -0
  546. package/navigationdrawer/lib/shared-styles.scss +8 -0
  547. package/navigationdrawer/navigation-drawer-modal.js +2 -1
  548. package/navigationdrawer/navigation-drawer-modal.js.map +1 -1
  549. package/navigationdrawer/navigation-drawer.js +2 -1
  550. package/navigationdrawer/navigation-drawer.js.map +1 -1
  551. package/navigationtab/_navigation-tab.scss +1 -2
  552. package/navigationtab/harness.d.ts +1 -1
  553. package/navigationtab/harness.js +1 -1
  554. package/navigationtab/harness.js.map +1 -1
  555. package/navigationtab/lib/_navigation-tab.scss +224 -77
  556. package/navigationtab/lib/navigation-tab-styles.css.js +1 -1
  557. package/navigationtab/lib/navigation-tab-styles.css.js.map +1 -1
  558. package/navigationtab/lib/navigation-tab-styles.scss +1 -14
  559. package/navigationtab/lib/navigation-tab.d.ts +4 -4
  560. package/navigationtab/lib/navigation-tab.js +6 -6
  561. package/navigationtab/lib/navigation-tab.js.map +1 -1
  562. package/package.json +76 -12
  563. package/radio/harness.d.ts +1 -1
  564. package/radio/harness.js +1 -1
  565. package/radio/harness.js.map +1 -1
  566. package/radio/lib/_radio-theme.scss +9 -8
  567. package/radio/lib/_radio.scss +5 -5
  568. package/radio/lib/radio-styles.css.js +1 -1
  569. package/radio/lib/radio-styles.css.js.map +1 -1
  570. package/radio/lib/radio.d.ts +34 -38
  571. package/radio/lib/radio.js +88 -118
  572. package/radio/lib/radio.js.map +1 -1
  573. package/ripple/_ripple.scss +6 -0
  574. package/ripple/directive.d.ts +63 -0
  575. package/ripple/directive.js +266 -0
  576. package/ripple/directive.js.map +1 -0
  577. package/ripple/lib/_md-comp-ripple.scss +29 -0
  578. package/ripple/lib/_ripple.scss +97 -51
  579. package/ripple/lib/ripple-styles.css.js +1 -1
  580. package/ripple/lib/ripple-styles.css.js.map +1 -1
  581. package/ripple/lib/ripple-styles.scss +1 -9
  582. package/ripple/lib/ripple.d.ts +1 -1
  583. package/ripple/lib/ripple.js +5 -2
  584. package/ripple/lib/ripple.js.map +1 -1
  585. package/sass/_assert.scss +5 -0
  586. package/sass/_color-scheme.scss +88 -0
  587. package/sass/_color.scss +30 -50
  588. package/sass/_feature-flags.scss +3 -3
  589. package/segmentedbutton/lib/_outlined-segmented-button.scss +26 -2
  590. package/segmentedbutton/lib/_shared.scss +388 -0
  591. package/segmentedbutton/lib/outlined-styles.css.js +1 -1
  592. package/segmentedbutton/lib/outlined-styles.css.js.map +1 -1
  593. package/segmentedbutton/lib/outlined-styles.scss +1 -10
  594. package/segmentedbutton/lib/segmented-button.d.ts +3 -3
  595. package/segmentedbutton/lib/segmented-button.js +5 -5
  596. package/segmentedbutton/lib/segmented-button.js.map +1 -1
  597. package/segmentedbutton/lib/shared-styles.css.d.ts +1 -0
  598. package/segmentedbutton/lib/shared-styles.css.js +9 -0
  599. package/segmentedbutton/lib/shared-styles.css.js.map +1 -0
  600. package/segmentedbutton/lib/shared-styles.scss +8 -0
  601. package/segmentedbutton/outlined-segmented-button.js +1 -1
  602. package/segmentedbutton/outlined-segmented-button.js.map +1 -1
  603. package/segmentedbuttonset/lib/_outlined-segmented-button-set.scss +22 -4
  604. package/segmentedbuttonset/lib/_shared.scss +46 -0
  605. package/segmentedbuttonset/lib/outlined-styles.css.js +1 -1
  606. package/segmentedbuttonset/lib/outlined-styles.css.js.map +1 -1
  607. package/segmentedbuttonset/lib/outlined-styles.scss +1 -10
  608. package/segmentedbuttonset/lib/segmented-button-set.js +1 -1
  609. package/segmentedbuttonset/lib/segmented-button-set.js.map +1 -1
  610. package/segmentedbuttonset/lib/shared-styles.css.js +1 -1
  611. package/segmentedbuttonset/lib/shared-styles.css.js.map +1 -1
  612. package/segmentedbuttonset/lib/shared-styles.scss +2 -2
  613. package/switch/_switch.scss +1 -2
  614. package/switch/harness.d.ts +1 -1
  615. package/switch/harness.js +1 -1
  616. package/switch/harness.js.map +1 -1
  617. package/switch/lib/_handle.scss +122 -0
  618. package/switch/lib/_icon.scss +33 -0
  619. package/switch/lib/_switch.scss +211 -119
  620. package/switch/lib/_track.scss +57 -0
  621. package/switch/lib/switch-styles.css.js +1 -1
  622. package/switch/lib/switch-styles.css.js.map +1 -1
  623. package/switch/lib/switch-styles.scss +1 -4
  624. package/switch/lib/switch.d.ts +51 -31
  625. package/switch/lib/switch.js +106 -70
  626. package/switch/lib/switch.js.map +1 -1
  627. package/switch/switch.d.ts +6 -1
  628. package/switch/switch.js +6 -1
  629. package/switch/switch.js.map +1 -1
  630. package/textfield/_filled-text-field.scss +1 -4
  631. package/textfield/_outlined-text-field.scss +1 -4
  632. package/textfield/filled-text-field.d.ts +2 -1
  633. package/textfield/filled-text-field.js +1 -1
  634. package/textfield/filled-text-field.js.map +1 -1
  635. package/textfield/harness.d.ts +1 -1
  636. package/textfield/harness.js +1 -1
  637. package/textfield/harness.js.map +1 -1
  638. package/textfield/lib/_filled-text-field.scss +147 -0
  639. package/textfield/lib/_icon.scss +71 -1
  640. package/textfield/lib/_input.scss +65 -21
  641. package/textfield/lib/_outlined-text-field.scss +137 -0
  642. package/textfield/lib/_shared.scss +59 -0
  643. package/textfield/lib/filled-forced-colors-styles.css.js +1 -1
  644. package/textfield/lib/filled-forced-colors-styles.css.js.map +1 -1
  645. package/textfield/lib/filled-forced-colors-styles.scss +17 -7
  646. package/textfield/lib/filled-styles.css.js +1 -1
  647. package/textfield/lib/filled-styles.css.js.map +1 -1
  648. package/textfield/lib/filled-styles.scss +2 -9
  649. package/textfield/lib/outlined-forced-colors-styles.css.js +1 -1
  650. package/textfield/lib/outlined-forced-colors-styles.css.js.map +1 -1
  651. package/textfield/lib/outlined-forced-colors-styles.scss +17 -7
  652. package/textfield/lib/outlined-styles.css.js +1 -1
  653. package/textfield/lib/outlined-styles.css.js.map +1 -1
  654. package/textfield/lib/outlined-styles.scss +2 -9
  655. package/textfield/lib/shared-styles.css.js +1 -1
  656. package/textfield/lib/shared-styles.css.js.map +1 -1
  657. package/textfield/lib/shared-styles.scss +2 -6
  658. package/textfield/lib/text-field.d.ts +88 -9
  659. package/textfield/lib/text-field.js +228 -70
  660. package/textfield/lib/text-field.js.map +1 -1
  661. package/textfield/outlined-text-field.d.ts +2 -1
  662. package/textfield/outlined-text-field.js +1 -1
  663. package/textfield/outlined-text-field.js.map +1 -1
  664. package/tokens/_index.scss +1 -1
  665. package/tokens/{latest → v0_144}/_index.scss +15 -94
  666. package/tokens/v0_144/_md-comp-assist-chip.scss +109 -0
  667. package/tokens/v0_144/_md-comp-badge.scss +58 -0
  668. package/tokens/v0_144/_md-comp-banner.scss +116 -0
  669. package/tokens/v0_144/_md-comp-bottom-app-bar.scss +36 -0
  670. package/tokens/v0_144/_md-comp-carousel-item.scss +65 -0
  671. package/tokens/v0_144/_md-comp-checkbox.scss +147 -0
  672. package/tokens/v0_144/_md-comp-circular-progress-indicator.scss +39 -0
  673. package/tokens/v0_144/_md-comp-data-table.scss +100 -0
  674. package/tokens/v0_144/_md-comp-date-input-modal.scss +89 -0
  675. package/tokens/v0_144/_md-comp-date-picker-docked.scss +246 -0
  676. package/tokens/v0_144/_md-comp-date-picker-modal.scss +305 -0
  677. package/tokens/v0_144/_md-comp-dialog.scss +146 -0
  678. package/tokens/{latest → v0_144}/_md-comp-divider.scss +5 -5
  679. package/tokens/v0_144/_md-comp-elevated-button.scss +91 -0
  680. package/tokens/v0_144/_md-comp-elevated-card.scss +59 -0
  681. package/tokens/v0_144/_md-comp-extended-fab-branded.scss +86 -0
  682. package/tokens/v0_144/_md-comp-extended-fab-primary.scss +94 -0
  683. package/tokens/v0_144/_md-comp-extended-fab-secondary.scss +95 -0
  684. package/tokens/v0_144/_md-comp-extended-fab-surface.scss +90 -0
  685. package/tokens/v0_144/_md-comp-extended-fab-tertiary.scss +97 -0
  686. package/tokens/v0_144/_md-comp-fab-branded-large.scss +61 -0
  687. package/tokens/v0_144/_md-comp-fab-branded.scss +60 -0
  688. package/tokens/v0_144/_md-comp-fab-primary-large.scss +65 -0
  689. package/tokens/v0_144/_md-comp-fab-primary-small.scss +65 -0
  690. package/tokens/v0_144/_md-comp-fab-primary.scss +65 -0
  691. package/tokens/v0_144/_md-comp-fab-secondary-large.scss +66 -0
  692. package/tokens/v0_144/_md-comp-fab-secondary-small.scss +66 -0
  693. package/tokens/v0_144/_md-comp-fab-secondary.scss +66 -0
  694. package/tokens/v0_144/_md-comp-fab-surface-large.scss +64 -0
  695. package/tokens/v0_144/_md-comp-fab-surface-small.scss +64 -0
  696. package/tokens/v0_144/_md-comp-fab-surface.scss +64 -0
  697. package/tokens/v0_144/_md-comp-fab-tertiary-large.scss +66 -0
  698. package/tokens/v0_144/_md-comp-fab-tertiary-small.scss +66 -0
  699. package/tokens/v0_144/_md-comp-fab-tertiary.scss +66 -0
  700. package/tokens/v0_144/_md-comp-filled-autocomplete.scss +268 -0
  701. package/tokens/v0_144/_md-comp-filled-button.scss +95 -0
  702. package/tokens/v0_144/_md-comp-filled-card.scss +60 -0
  703. package/tokens/v0_144/_md-comp-filled-icon-button.scss +79 -0
  704. package/tokens/v0_144/_md-comp-filled-menu-button.scss +98 -0
  705. package/tokens/v0_144/_md-comp-filled-select.scss +276 -0
  706. package/tokens/v0_144/_md-comp-filled-text-field.scss +190 -0
  707. package/tokens/v0_144/_md-comp-filled-tonal-button.scss +99 -0
  708. package/tokens/v0_144/_md-comp-filled-tonal-icon-button.scss +86 -0
  709. package/tokens/v0_144/_md-comp-filter-chip.scss +236 -0
  710. package/tokens/v0_144/_md-comp-full-screen-dialog.scss +161 -0
  711. package/tokens/v0_144/_md-comp-icon-button.scss +70 -0
  712. package/tokens/v0_144/_md-comp-input-chip.scss +234 -0
  713. package/tokens/v0_144/_md-comp-linear-progress-indicator.scss +41 -0
  714. package/tokens/v0_144/_md-comp-list.scss +257 -0
  715. package/tokens/v0_144/_md-comp-menu.scss +123 -0
  716. package/tokens/v0_144/_md-comp-navigation-bar.scss +121 -0
  717. package/tokens/v0_144/_md-comp-navigation-drawer.scss +168 -0
  718. package/tokens/v0_144/_md-comp-navigation-rail.scss +168 -0
  719. package/tokens/v0_144/_md-comp-outlined-autocomplete.scss +258 -0
  720. package/tokens/v0_144/_md-comp-outlined-button.scss +88 -0
  721. package/tokens/v0_144/_md-comp-outlined-card.scss +65 -0
  722. package/tokens/v0_144/_md-comp-outlined-icon-button.scss +81 -0
  723. package/tokens/v0_144/_md-comp-outlined-menu-button.scss +94 -0
  724. package/tokens/v0_144/_md-comp-outlined-segmented-button.scss +112 -0
  725. package/tokens/v0_144/_md-comp-outlined-select.scss +266 -0
  726. package/tokens/v0_144/_md-comp-outlined-text-field.scss +172 -0
  727. package/tokens/v0_144/_md-comp-plain-tooltip.scss +55 -0
  728. package/tokens/v0_144/_md-comp-primary-navigation-tab.scss +123 -0
  729. package/tokens/v0_144/_md-comp-radio-button.scss +68 -0
  730. package/tokens/v0_144/_md-comp-rich-tooltip.scss +121 -0
  731. package/tokens/{v0_93/_md-comp-divider.scss → v0_144/_md-comp-scrim.scss} +5 -5
  732. package/tokens/v0_144/_md-comp-search-bar.scss +99 -0
  733. package/tokens/v0_144/_md-comp-search-view.scss +93 -0
  734. package/tokens/v0_144/_md-comp-secondary-navigation-tab.scss +86 -0
  735. package/tokens/v0_144/_md-comp-sheet-bottom.scss +45 -0
  736. package/tokens/v0_144/_md-comp-sheet-floating.scss +34 -0
  737. package/tokens/v0_144/_md-comp-sheet-side.scss +89 -0
  738. package/tokens/v0_144/_md-comp-slider.scss +116 -0
  739. package/tokens/v0_144/_md-comp-snackbar.scss +103 -0
  740. package/tokens/v0_144/_md-comp-standard-menu-button.scss +98 -0
  741. package/tokens/v0_144/_md-comp-suggestion-chip.scss +125 -0
  742. package/tokens/v0_144/_md-comp-switch.scss +145 -0
  743. package/tokens/v0_144/_md-comp-text-button.scss +81 -0
  744. package/tokens/v0_144/_md-comp-time-input.scss +218 -0
  745. package/tokens/v0_144/_md-comp-time-picker.scss +267 -0
  746. package/tokens/v0_144/_md-comp-top-app-bar-large.scss +63 -0
  747. package/tokens/v0_144/_md-comp-top-app-bar-medium.scss +63 -0
  748. package/tokens/v0_144/_md-comp-top-app-bar-small-centered.scss +67 -0
  749. package/tokens/v0_144/_md-comp-top-app-bar-small.scss +65 -0
  750. package/tokens/v0_144/_md-ref-palette.scss +107 -0
  751. package/tokens/v0_144/_md-ref-typeface.scss +21 -0
  752. package/tokens/v0_144/_md-sys-color.scss +706 -0
  753. package/tokens/v0_144/_md-sys-elevation.scss +30 -0
  754. package/tokens/v0_144/_md-sys-motion.scss +53 -0
  755. package/tokens/v0_144/_md-sys-shape.scss +30 -0
  756. package/tokens/v0_144/_md-sys-state.scss +19 -0
  757. package/tokens/v0_144/_md-sys-typescale.scss +285 -0
  758. package/badge/lib/_badge-theme.scss +0 -118
  759. package/button/lib/_button-theme.scss +0 -204
  760. package/button/lib/_button.scss +0 -88
  761. package/button/lib/_elevated-button-theme.scss +0 -53
  762. package/button/lib/_elevation-theme.scss +0 -94
  763. package/button/lib/_filled-button-theme.scss +0 -53
  764. package/button/lib/_icon-theme.scss +0 -67
  765. package/button/lib/_outlined-button-theme.scss +0 -112
  766. package/button/lib/_text-button-theme.scss +0 -57
  767. package/button/lib/_tonal-button-theme.scss +0 -53
  768. package/checkbox/lib/_checkbox-theme.scss +0 -532
  769. package/chips/action/lib/adapter.d.ts +0 -21
  770. package/chips/action/lib/adapter.js +0 -7
  771. package/chips/action/lib/adapter.js.map +0 -1
  772. package/chips/action/lib/foundation.d.ts +0 -31
  773. package/chips/action/lib/foundation.js +0 -151
  774. package/chips/action/lib/foundation.js.map +0 -1
  775. package/chips/action/lib/primary-foundation.d.ts +0 -16
  776. package/chips/action/lib/primary-foundation.js +0 -24
  777. package/chips/action/lib/primary-foundation.js.map +0 -1
  778. package/chips/action/lib/trailing-action.js.map +0 -1
  779. package/chips/action/lib/trailing-foundation.d.ts +0 -16
  780. package/chips/action/lib/trailing-foundation.js +0 -23
  781. package/chips/action/lib/trailing-foundation.js.map +0 -1
  782. package/compat/animation/animationframe.js.map +0 -1
  783. package/compat/base/aria-property.d.ts +0 -39
  784. package/compat/base/aria-property.js +0 -93
  785. package/compat/base/aria-property.js.map +0 -1
  786. package/compat/base/foundation.d.ts +0 -44
  787. package/compat/base/foundation.js +0 -45
  788. package/compat/base/foundation.js.map +0 -1
  789. package/compat/base/observer.d.ts +0 -16
  790. package/compat/base/observer.js +0 -43
  791. package/compat/base/observer.js.map +0 -1
  792. package/compat/base/utils.d.ts +0 -7
  793. package/compat/base/utils.js +0 -39
  794. package/compat/base/utils.js.map +0 -1
  795. package/compat/density/_density.scss +0 -106
  796. package/compat/dom/keyboard.d.ts +0 -33
  797. package/compat/dom/keyboard.js +0 -109
  798. package/compat/dom/keyboard.js.map +0 -1
  799. package/compat/theme/_color-palette.scss +0 -277
  800. package/compat/theme/_css.scss +0 -92
  801. package/compat/theme/_custom-properties.scss +0 -309
  802. package/compat/theme/_gss.scss +0 -45
  803. package/compat/theme/_keys.scss +0 -507
  804. package/compat/theme/_map-ext.scss +0 -68
  805. package/compat/theme/_replace.scss +0 -108
  806. package/compat/theme/_selector-ext.scss +0 -522
  807. package/compat/theme/_shadow-dom.scss +0 -474
  808. package/compat/theme/_state.scss +0 -752
  809. package/compat/theme/_theme-color.scss +0 -344
  810. package/compat/theme/_theme.scss +0 -334
  811. package/compat/touchtarget/_touch-target.scss +0 -56
  812. package/fab/lib/_fab-extended-theme.scss +0 -108
  813. package/fab/lib/_fab-shared-theme.scss +0 -202
  814. package/fab/lib/_fab-shared.scss +0 -114
  815. package/fab/lib/_fab-theme.scss +0 -107
  816. package/field/lib/_content-theme.scss +0 -80
  817. package/field/lib/_filled-field-theme.scss +0 -382
  818. package/field/lib/_label-theme.scss +0 -123
  819. package/field/lib/_outlined-field-theme.scss +0 -311
  820. package/field/lib/_supporting-text-theme.scss +0 -107
  821. package/focus/lib/_focus-ring-theme.scss +0 -89
  822. package/formfield/formfield.js +0 -22
  823. package/formfield/formfield.js.map +0 -1
  824. package/formfield/lib/_formfield-theme.scss +0 -41
  825. package/formfield/lib/_formfield.scss +0 -40
  826. package/formfield/lib/formfield-styles.css.js +0 -9
  827. package/formfield/lib/formfield-styles.css.js.map +0 -1
  828. package/formfield/lib/formfield-styles.scss +0 -16
  829. package/formfield/lib/formfield.d.ts +0 -22
  830. package/formfield/lib/formfield.js +0 -73
  831. package/formfield/lib/formfield.js.map +0 -1
  832. package/iconbutton/lib/_filled-icon-button-theme.scss +0 -138
  833. package/iconbutton/lib/_filled-tonal-icon-button-theme.scss +0 -144
  834. package/iconbutton/lib/_icon-button.scss +0 -91
  835. package/iconbutton/lib/_outlined-icon-button-theme.scss +0 -187
  836. package/iconbutton/lib/_standard-icon-button-theme.scss +0 -107
  837. package/iconbutton/lib/icon-button-styles.css.js +0 -9
  838. package/iconbutton/lib/icon-button-styles.css.js.map +0 -1
  839. package/list/lib/_list-theme.scss +0 -51
  840. package/list/lib/avatar/_list-item-avatar-theme.scss +0 -30
  841. package/list/lib/divider/_list-divider-theme.scss +0 -30
  842. package/list/lib/icon/_list-item-icon-theme.scss +0 -32
  843. package/list/lib/image/_list-item-image-theme.scss +0 -36
  844. package/list/lib/listitem/_list-item-theme.scss +0 -337
  845. package/list/lib/video/_list-item-video-theme.scss +0 -36
  846. package/menu/lib/_menu-theme.scss +0 -118
  847. package/menusurface/lib/_menu-surface-theme.scss +0 -58
  848. package/navigationbar/lib/_navigation-bar-theme.scss +0 -87
  849. package/navigationdrawer/lib/_navigation-drawer-modal-theme.scss +0 -138
  850. package/navigationdrawer/lib/_navigation-drawer-theme.scss +0 -113
  851. package/navigationtab/lib/_navigation-tab-theme.scss +0 -343
  852. package/ripple/_ripple-theme.scss +0 -6
  853. package/ripple/lib/_ripple-theme.scss +0 -98
  854. package/segmentedbutton/lib/_outlined-segmented-button-theme.scss +0 -167
  855. package/segmentedbutton/lib/_segmented-button-theme.scss +0 -316
  856. package/segmentedbutton/lib/_segmented-button.scss +0 -159
  857. package/segmentedbutton/lib/segmented-button-styles.css.js +0 -9
  858. package/segmentedbutton/lib/segmented-button-styles.css.js.map +0 -1
  859. package/segmentedbuttonset/lib/_outlined-segmented-button-set-theme.scss +0 -53
  860. package/segmentedbuttonset/lib/_segmented-button-set-theme.scss +0 -41
  861. package/segmentedbuttonset/lib/_segmented-button-set.scss +0 -21
  862. package/switch/lib/_switch-handle-theme.scss +0 -137
  863. package/switch/lib/_switch-icon-theme.scss +0 -52
  864. package/switch/lib/_switch-theme.scss +0 -232
  865. package/switch/lib/_switch-track-theme.scss +0 -117
  866. package/textfield/lib/_filled-text-field-theme.scss +0 -203
  867. package/textfield/lib/_icon-theme.scss +0 -100
  868. package/textfield/lib/_input-theme.scss +0 -91
  869. package/textfield/lib/_outlined-text-field-theme.scss +0 -186
  870. package/textfield/lib/_text-field.scss +0 -28
  871. package/tokens/latest/_md-comp-assist-chip.scss +0 -98
  872. package/tokens/latest/_md-comp-badge.scss +0 -51
  873. package/tokens/latest/_md-comp-banner.scss +0 -99
  874. package/tokens/latest/_md-comp-bottom-app-bar.scss +0 -36
  875. package/tokens/latest/_md-comp-checkbox.scss +0 -119
  876. package/tokens/latest/_md-comp-circular-progress-indicator.scss +0 -37
  877. package/tokens/latest/_md-comp-date-input-modal.scss +0 -76
  878. package/tokens/latest/_md-comp-date-picker-docked.scss +0 -210
  879. package/tokens/latest/_md-comp-date-picker-modal.scss +0 -254
  880. package/tokens/latest/_md-comp-dialog.scss +0 -115
  881. package/tokens/latest/_md-comp-elevated-button.scss +0 -83
  882. package/tokens/latest/_md-comp-elevated-card.scss +0 -59
  883. package/tokens/latest/_md-comp-extended-fab-branded.scss +0 -77
  884. package/tokens/latest/_md-comp-extended-fab-primary.scss +0 -80
  885. package/tokens/latest/_md-comp-extended-fab-secondary.scss +0 -83
  886. package/tokens/latest/_md-comp-extended-fab-surface.scss +0 -81
  887. package/tokens/latest/_md-comp-extended-fab-tertiary.scss +0 -80
  888. package/tokens/latest/_md-comp-fab-branded-large.scss +0 -59
  889. package/tokens/latest/_md-comp-fab-branded.scss +0 -58
  890. package/tokens/latest/_md-comp-fab-primary-large.scss +0 -61
  891. package/tokens/latest/_md-comp-fab-primary-small.scss +0 -61
  892. package/tokens/latest/_md-comp-fab-primary.scss +0 -61
  893. package/tokens/latest/_md-comp-fab-secondary-large.scss +0 -63
  894. package/tokens/latest/_md-comp-fab-secondary-small.scss +0 -62
  895. package/tokens/latest/_md-comp-fab-secondary.scss +0 -63
  896. package/tokens/latest/_md-comp-fab-surface-large.scss +0 -62
  897. package/tokens/latest/_md-comp-fab-surface-small.scss +0 -62
  898. package/tokens/latest/_md-comp-fab-surface.scss +0 -62
  899. package/tokens/latest/_md-comp-fab-tertiary-large.scss +0 -61
  900. package/tokens/latest/_md-comp-fab-tertiary-small.scss +0 -61
  901. package/tokens/latest/_md-comp-fab-tertiary.scss +0 -61
  902. package/tokens/latest/_md-comp-filled-autocomplete.scss +0 -235
  903. package/tokens/latest/_md-comp-filled-button.scss +0 -87
  904. package/tokens/latest/_md-comp-filled-card.scss +0 -59
  905. package/tokens/latest/_md-comp-filled-icon-button.scss +0 -72
  906. package/tokens/latest/_md-comp-filled-menu-button.scss +0 -89
  907. package/tokens/latest/_md-comp-filled-select.scss +0 -243
  908. package/tokens/latest/_md-comp-filled-text-field.scss +0 -146
  909. package/tokens/latest/_md-comp-filled-tonal-button.scss +0 -88
  910. package/tokens/latest/_md-comp-filled-tonal-icon-button.scss +0 -83
  911. package/tokens/latest/_md-comp-filter-chip.scss +0 -172
  912. package/tokens/latest/_md-comp-full-screen-dialog.scss +0 -131
  913. package/tokens/latest/_md-comp-icon-button.scss +0 -66
  914. package/tokens/latest/_md-comp-input-chip.scss +0 -112
  915. package/tokens/latest/_md-comp-linear-progress-indicator.scss +0 -39
  916. package/tokens/latest/_md-comp-list.scss +0 -205
  917. package/tokens/latest/_md-comp-menu.scss +0 -113
  918. package/tokens/latest/_md-comp-navigation-bar.scss +0 -97
  919. package/tokens/latest/_md-comp-navigation-drawer.scss +0 -137
  920. package/tokens/latest/_md-comp-navigation-rail.scss +0 -132
  921. package/tokens/latest/_md-comp-outlined-autocomplete.scss +0 -223
  922. package/tokens/latest/_md-comp-outlined-button.scss +0 -80
  923. package/tokens/latest/_md-comp-outlined-card.scss +0 -65
  924. package/tokens/latest/_md-comp-outlined-icon-button.scss +0 -68
  925. package/tokens/latest/_md-comp-outlined-menu-button.scss +0 -83
  926. package/tokens/latest/_md-comp-outlined-segmented-button.scss +0 -97
  927. package/tokens/latest/_md-comp-outlined-select.scss +0 -231
  928. package/tokens/latest/_md-comp-outlined-text-field.scss +0 -140
  929. package/tokens/latest/_md-comp-plain-tooltip.scss +0 -46
  930. package/tokens/latest/_md-comp-primary-navigation-tab.scss +0 -110
  931. package/tokens/latest/_md-comp-radio-button.scss +0 -58
  932. package/tokens/latest/_md-comp-rich-tooltip.scss +0 -98
  933. package/tokens/latest/_md-comp-search-bar.scss +0 -84
  934. package/tokens/latest/_md-comp-search-view.scss +0 -79
  935. package/tokens/latest/_md-comp-secondary-navigation-tab.scss +0 -78
  936. package/tokens/latest/_md-comp-sheet-bottom.scss +0 -41
  937. package/tokens/latest/_md-comp-sheet-floating.scss +0 -34
  938. package/tokens/latest/_md-comp-sheet-side.scss +0 -75
  939. package/tokens/latest/_md-comp-slider.scss +0 -105
  940. package/tokens/latest/_md-comp-snackbar.scss +0 -91
  941. package/tokens/latest/_md-comp-standard-menu-button.scss +0 -82
  942. package/tokens/latest/_md-comp-suggestion-chip.scss +0 -90
  943. package/tokens/latest/_md-comp-switch.scss +0 -126
  944. package/tokens/latest/_md-comp-text-button.scss +0 -75
  945. package/tokens/latest/_md-comp-time-input.scss +0 -184
  946. package/tokens/latest/_md-comp-time-picker.scss +0 -235
  947. package/tokens/latest/_md-comp-top-app-bar-large.scss +0 -57
  948. package/tokens/latest/_md-comp-top-app-bar-medium.scss +0 -56
  949. package/tokens/latest/_md-comp-top-app-bar-small-centered.scss +0 -60
  950. package/tokens/latest/_md-comp-top-app-bar-small.scss +0 -58
  951. package/tokens/latest/_md-ref-palette.scss +0 -95
  952. package/tokens/latest/_md-ref-typeface.scss +0 -20
  953. package/tokens/latest/_md-sys-color.scss +0 -1006
  954. package/tokens/latest/_md-sys-elevation.scss +0 -30
  955. package/tokens/latest/_md-sys-motion.scss +0 -51
  956. package/tokens/latest/_md-sys-shape.scss +0 -26
  957. package/tokens/latest/_md-sys-state.scss +0 -19
  958. package/tokens/latest/_md-sys-typescale.scss +0 -204
  959. package/tokens/v0_75/_index.scss +0 -154
  960. package/tokens/v0_75/_md-comp-assist-chip.scss +0 -98
  961. package/tokens/v0_75/_md-comp-badge.scss +0 -51
  962. package/tokens/v0_75/_md-comp-banner.scss +0 -99
  963. package/tokens/v0_75/_md-comp-bottom-app-bar.scss +0 -36
  964. package/tokens/v0_75/_md-comp-checkbox.scss +0 -59
  965. package/tokens/v0_75/_md-comp-circular-progress-indicator.scss +0 -37
  966. package/tokens/v0_75/_md-comp-dialog.scss +0 -102
  967. package/tokens/v0_75/_md-comp-elevated-button.scss +0 -83
  968. package/tokens/v0_75/_md-comp-elevated-card.scss +0 -56
  969. package/tokens/v0_75/_md-comp-extended-fab-branded.scss +0 -77
  970. package/tokens/v0_75/_md-comp-extended-fab-primary.scss +0 -80
  971. package/tokens/v0_75/_md-comp-extended-fab-secondary.scss +0 -83
  972. package/tokens/v0_75/_md-comp-extended-fab-surface.scss +0 -81
  973. package/tokens/v0_75/_md-comp-extended-fab-tertiary.scss +0 -80
  974. package/tokens/v0_75/_md-comp-fab-branded-large.scss +0 -59
  975. package/tokens/v0_75/_md-comp-fab-branded.scss +0 -58
  976. package/tokens/v0_75/_md-comp-fab-primary-large.scss +0 -61
  977. package/tokens/v0_75/_md-comp-fab-primary-small.scss +0 -61
  978. package/tokens/v0_75/_md-comp-fab-primary.scss +0 -61
  979. package/tokens/v0_75/_md-comp-fab-secondary-large.scss +0 -63
  980. package/tokens/v0_75/_md-comp-fab-secondary-small.scss +0 -62
  981. package/tokens/v0_75/_md-comp-fab-secondary.scss +0 -63
  982. package/tokens/v0_75/_md-comp-fab-surface-large.scss +0 -62
  983. package/tokens/v0_75/_md-comp-fab-surface-small.scss +0 -62
  984. package/tokens/v0_75/_md-comp-fab-surface.scss +0 -62
  985. package/tokens/v0_75/_md-comp-fab-tertiary-large.scss +0 -61
  986. package/tokens/v0_75/_md-comp-fab-tertiary-small.scss +0 -61
  987. package/tokens/v0_75/_md-comp-fab-tertiary.scss +0 -61
  988. package/tokens/v0_75/_md-comp-filled-button-tonal.scss +0 -84
  989. package/tokens/v0_75/_md-comp-filled-button.scss +0 -87
  990. package/tokens/v0_75/_md-comp-filled-card.scss +0 -56
  991. package/tokens/v0_75/_md-comp-filled-icon-button.scss +0 -72
  992. package/tokens/v0_75/_md-comp-filled-text-field.scss +0 -142
  993. package/tokens/v0_75/_md-comp-filled-tonal-button.scss +0 -88
  994. package/tokens/v0_75/_md-comp-filled-tonal-icon-button.scss +0 -83
  995. package/tokens/v0_75/_md-comp-filter-chip.scss +0 -172
  996. package/tokens/v0_75/_md-comp-full-screen-dialog.scss +0 -131
  997. package/tokens/v0_75/_md-comp-icon-button.scss +0 -79
  998. package/tokens/v0_75/_md-comp-input-chip.scss +0 -112
  999. package/tokens/v0_75/_md-comp-linear-progress-indicator.scss +0 -39
  1000. package/tokens/v0_75/_md-comp-list.scss +0 -205
  1001. package/tokens/v0_75/_md-comp-menu.scss +0 -113
  1002. package/tokens/v0_75/_md-comp-navigation-bar.scss +0 -131
  1003. package/tokens/v0_75/_md-comp-navigation-drawer.scss +0 -137
  1004. package/tokens/v0_75/_md-comp-navigation-rail.scss +0 -136
  1005. package/tokens/v0_75/_md-comp-outlined-button.scss +0 -80
  1006. package/tokens/v0_75/_md-comp-outlined-card.scss +0 -62
  1007. package/tokens/v0_75/_md-comp-outlined-icon-button.scss +0 -68
  1008. package/tokens/v0_75/_md-comp-outlined-segmented-button.scss +0 -96
  1009. package/tokens/v0_75/_md-comp-outlined-text-field.scss +0 -136
  1010. package/tokens/v0_75/_md-comp-primary-navigation-tab.scss +0 -116
  1011. package/tokens/v0_75/_md-comp-radio-button.scss +0 -58
  1012. package/tokens/v0_75/_md-comp-rich-tooltip.scss +0 -98
  1013. package/tokens/v0_75/_md-comp-secondary-navigation-tab.scss +0 -75
  1014. package/tokens/v0_75/_md-comp-slider.scss +0 -129
  1015. package/tokens/v0_75/_md-comp-snackbar.scss +0 -77
  1016. package/tokens/v0_75/_md-comp-suggestion-chip.scss +0 -90
  1017. package/tokens/v0_75/_md-comp-switch.scss +0 -92
  1018. package/tokens/v0_75/_md-comp-text-button.scss +0 -75
  1019. package/tokens/v0_75/_md-comp-top-app-bar-compact-centered.scss +0 -53
  1020. package/tokens/v0_75/_md-comp-top-app-bar-compact.scss +0 -43
  1021. package/tokens/v0_75/_md-comp-top-app-bar-large.scss +0 -57
  1022. package/tokens/v0_75/_md-comp-top-app-bar-medium.scss +0 -56
  1023. package/tokens/v0_75/_md-comp-top-app-bar-small-centered.scss +0 -60
  1024. package/tokens/v0_75/_md-comp-top-app-bar-small.scss +0 -58
  1025. package/tokens/v0_75/_md-ref-palette.scss +0 -186
  1026. package/tokens/v0_75/_md-ref-typeface.scss +0 -25
  1027. package/tokens/v0_75/_md-sys-color.scss +0 -86
  1028. package/tokens/v0_75/_md-sys-elevation.scss +0 -30
  1029. package/tokens/v0_75/_md-sys-motion.scss +0 -61
  1030. package/tokens/v0_75/_md-sys-shape.scss +0 -29
  1031. package/tokens/v0_75/_md-sys-state.scss +0 -19
  1032. package/tokens/v0_75/_md-sys-typescale.scss +0 -252
  1033. package/tokens/v0_93/_index.scss +0 -184
  1034. package/tokens/v0_93/_md-comp-assist-chip.scss +0 -98
  1035. package/tokens/v0_93/_md-comp-badge.scss +0 -51
  1036. package/tokens/v0_93/_md-comp-banner.scss +0 -99
  1037. package/tokens/v0_93/_md-comp-bottom-app-bar.scss +0 -36
  1038. package/tokens/v0_93/_md-comp-checkbox.scss +0 -119
  1039. package/tokens/v0_93/_md-comp-circular-progress-indicator.scss +0 -37
  1040. package/tokens/v0_93/_md-comp-date-input-modal.scss +0 -76
  1041. package/tokens/v0_93/_md-comp-date-picker-docked.scss +0 -210
  1042. package/tokens/v0_93/_md-comp-date-picker-modal.scss +0 -254
  1043. package/tokens/v0_93/_md-comp-dialog.scss +0 -101
  1044. package/tokens/v0_93/_md-comp-elevated-button.scss +0 -83
  1045. package/tokens/v0_93/_md-comp-elevated-card.scss +0 -59
  1046. package/tokens/v0_93/_md-comp-extended-fab-branded.scss +0 -77
  1047. package/tokens/v0_93/_md-comp-extended-fab-primary.scss +0 -80
  1048. package/tokens/v0_93/_md-comp-extended-fab-secondary.scss +0 -83
  1049. package/tokens/v0_93/_md-comp-extended-fab-surface.scss +0 -81
  1050. package/tokens/v0_93/_md-comp-extended-fab-tertiary.scss +0 -80
  1051. package/tokens/v0_93/_md-comp-fab-branded-large.scss +0 -59
  1052. package/tokens/v0_93/_md-comp-fab-branded.scss +0 -58
  1053. package/tokens/v0_93/_md-comp-fab-primary-large.scss +0 -61
  1054. package/tokens/v0_93/_md-comp-fab-primary-small.scss +0 -61
  1055. package/tokens/v0_93/_md-comp-fab-primary.scss +0 -61
  1056. package/tokens/v0_93/_md-comp-fab-secondary-large.scss +0 -63
  1057. package/tokens/v0_93/_md-comp-fab-secondary-small.scss +0 -62
  1058. package/tokens/v0_93/_md-comp-fab-secondary.scss +0 -63
  1059. package/tokens/v0_93/_md-comp-fab-surface-large.scss +0 -62
  1060. package/tokens/v0_93/_md-comp-fab-surface-small.scss +0 -62
  1061. package/tokens/v0_93/_md-comp-fab-surface.scss +0 -62
  1062. package/tokens/v0_93/_md-comp-fab-tertiary-large.scss +0 -61
  1063. package/tokens/v0_93/_md-comp-fab-tertiary-small.scss +0 -61
  1064. package/tokens/v0_93/_md-comp-fab-tertiary.scss +0 -61
  1065. package/tokens/v0_93/_md-comp-filled-autocomplete.scss +0 -235
  1066. package/tokens/v0_93/_md-comp-filled-button.scss +0 -87
  1067. package/tokens/v0_93/_md-comp-filled-card.scss +0 -59
  1068. package/tokens/v0_93/_md-comp-filled-icon-button.scss +0 -72
  1069. package/tokens/v0_93/_md-comp-filled-menu-button.scss +0 -89
  1070. package/tokens/v0_93/_md-comp-filled-select.scss +0 -243
  1071. package/tokens/v0_93/_md-comp-filled-text-field.scss +0 -146
  1072. package/tokens/v0_93/_md-comp-filled-tonal-button.scss +0 -88
  1073. package/tokens/v0_93/_md-comp-filled-tonal-icon-button.scss +0 -83
  1074. package/tokens/v0_93/_md-comp-filter-chip.scss +0 -172
  1075. package/tokens/v0_93/_md-comp-full-screen-dialog.scss +0 -131
  1076. package/tokens/v0_93/_md-comp-icon-button.scss +0 -66
  1077. package/tokens/v0_93/_md-comp-input-chip.scss +0 -112
  1078. package/tokens/v0_93/_md-comp-linear-progress-indicator.scss +0 -39
  1079. package/tokens/v0_93/_md-comp-list.scss +0 -205
  1080. package/tokens/v0_93/_md-comp-menu.scss +0 -113
  1081. package/tokens/v0_93/_md-comp-navigation-bar.scss +0 -97
  1082. package/tokens/v0_93/_md-comp-navigation-drawer.scss +0 -137
  1083. package/tokens/v0_93/_md-comp-navigation-rail.scss +0 -132
  1084. package/tokens/v0_93/_md-comp-outlined-autocomplete.scss +0 -223
  1085. package/tokens/v0_93/_md-comp-outlined-button.scss +0 -80
  1086. package/tokens/v0_93/_md-comp-outlined-card.scss +0 -65
  1087. package/tokens/v0_93/_md-comp-outlined-icon-button.scss +0 -68
  1088. package/tokens/v0_93/_md-comp-outlined-menu-button.scss +0 -83
  1089. package/tokens/v0_93/_md-comp-outlined-segmented-button.scss +0 -97
  1090. package/tokens/v0_93/_md-comp-outlined-select.scss +0 -231
  1091. package/tokens/v0_93/_md-comp-outlined-text-field.scss +0 -140
  1092. package/tokens/v0_93/_md-comp-plain-tooltip.scss +0 -46
  1093. package/tokens/v0_93/_md-comp-primary-navigation-tab.scss +0 -110
  1094. package/tokens/v0_93/_md-comp-radio-button.scss +0 -58
  1095. package/tokens/v0_93/_md-comp-rich-tooltip.scss +0 -98
  1096. package/tokens/v0_93/_md-comp-search-bar.scss +0 -84
  1097. package/tokens/v0_93/_md-comp-search-view.scss +0 -79
  1098. package/tokens/v0_93/_md-comp-secondary-navigation-tab.scss +0 -78
  1099. package/tokens/v0_93/_md-comp-sheet-bottom.scss +0 -41
  1100. package/tokens/v0_93/_md-comp-sheet-side.scss +0 -75
  1101. package/tokens/v0_93/_md-comp-slider.scss +0 -105
  1102. package/tokens/v0_93/_md-comp-snackbar.scss +0 -91
  1103. package/tokens/v0_93/_md-comp-standard-menu-button.scss +0 -82
  1104. package/tokens/v0_93/_md-comp-suggestion-chip.scss +0 -90
  1105. package/tokens/v0_93/_md-comp-switch.scss +0 -126
  1106. package/tokens/v0_93/_md-comp-text-button.scss +0 -75
  1107. package/tokens/v0_93/_md-comp-time-input.scss +0 -184
  1108. package/tokens/v0_93/_md-comp-time-picker.scss +0 -235
  1109. package/tokens/v0_93/_md-comp-top-app-bar-large.scss +0 -57
  1110. package/tokens/v0_93/_md-comp-top-app-bar-medium.scss +0 -56
  1111. package/tokens/v0_93/_md-comp-top-app-bar-small-centered.scss +0 -60
  1112. package/tokens/v0_93/_md-comp-top-app-bar-small.scss +0 -58
  1113. package/tokens/v0_93/_md-ref-palette.scss +0 -95
  1114. package/tokens/v0_93/_md-ref-typeface.scss +0 -20
  1115. package/tokens/v0_93/_md-sys-color.scss +0 -1006
  1116. package/tokens/v0_93/_md-sys-elevation.scss +0 -30
  1117. package/tokens/v0_93/_md-sys-motion.scss +0 -51
  1118. package/tokens/v0_93/_md-sys-shape.scss +0 -26
  1119. package/tokens/v0_93/_md-sys-state.scss +0 -19
  1120. package/tokens/v0_93/_md-sys-typescale.scss +0 -204
@@ -1 +1 @@
1
- {"version":3,"file":"text-field.js","sourceRoot":"","sources":["text-field.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAC,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAC,YAAY,EAAC,MAAM,2CAA2C,CAAC;AACvE,OAAO,EAAC,IAAI,EAAE,UAAU,EAAiC,MAAM,KAAK,CAAC;AACrE,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAE,qBAAqB,EAAE,KAAK,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,EAAC,CAAC;;uCAC1D;AAYgB;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;sCAAU;AAOT;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;4CAAgB;AAMf;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;sCAAU;AAOT;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;4CAAgB;AAOf;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;0CAAc;AAEvC;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAC,CAAC;;8CACnD;AACyB;IAAzC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;2CAAkB;AAsCjC;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;uCAAW;AAIpC;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;uCAEmB;AA0DlD;IAAR,KAAK,EAAE;;wCAAyB;AACxB;IAAR,KAAK,EAAE;;0CAA2B;AAEnC;IADC,KAAK,CAAC,wBAAwB,CAAC;8BACL,gBAAgB;wCAAM;AAIjD;IADC,qBAAqB,CAAC,EAAC,IAAI,EAAE,aAAa,EAAC,CAAC;;+CACH;AAE1C;IADC,qBAAqB,CAAC,EAAC,IAAI,EAAE,cAAc,EAAC,CAAC;;gDACH","sourcesContent":["/**\n * @requirecss {textfield.lib.shared_styles}\n *\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {redispatchEvent} from '@material/web/controller/events.js';\nimport {FormController, getFormValue} from '@material/web/controller/form-controller.js';\nimport {stringConverter} from '@material/web/controller/string-converter.js';\nimport {ariaProperty} from '@material/web/decorators/aria-property.js';\nimport {html, LitElement, PropertyValues, TemplateResult} from 'lit';\nimport {property, query, queryAssignedElements, state} from 'lit/decorators.js';\nimport {ClassInfo, classMap} from 'lit/directives/class-map.js';\nimport {ifDefined} from 'lit/directives/if-defined.js';\nimport {live} from 'lit/directives/live.js';\nimport {html as staticHtml, StaticValue} from 'lit/static-html.js';\n\nimport {ARIAAutoComplete, ARIAExpanded, ARIARole} from '../../types/aria.js';\n\n/**\n * Input types that are compatible with the text field.\n */\nexport type TextFieldType =\n 'email'|'number'|'password'|'search'|'tel'|'text'|'url';\n\n/**\n * Input types that are not fully supported for the text field.\n */\nexport type UnsupportedTextFieldType =\n 'color'|'date'|'datetime-local'|'file'|'month'|'time'|'week';\n\n/**\n * Input types that are incompatible with the text field.\n */\nexport type InvalidTextFieldType =\n 'button'|'checkbox'|'hidden'|'image'|'radio'|'range'|'reset'|'submit';\n\n/** @soyCompatible */\nexport abstract class TextField extends LitElement {\n static override shadowRootOptions:\n ShadowRootInit = {mode: 'open', delegatesFocus: true};\n\n @property({type: Boolean, reflect: true}) disabled = false;\n /**\n * Gets or sets whether or not the text field is in a visually invalid state.\n *\n * Calling `reportValidity()` will automatically update `error`.\n */\n @property({type: Boolean, reflect: true}) error = false;\n /**\n * The error message that replaces supporting text when `error` is true. If\n * `errorText` is an empty string, then the supporting text will continue to\n * show.\n *\n * Calling `reportValidity()` will automatically update `errorText` to the\n * native `validationMessage`.\n */\n @property({type: String}) errorText = '';\n @property({type: String}) label?: string;\n @property({type: Boolean, reflect: true}) required = false;\n /**\n * The current value of the text field. It is always a string.\n *\n * This is equal to `defaultValue` before user input.\n */\n @property({type: String}) value = '';\n /**\n * The default value of the text field. Before user input, changing the\n * default value will update `value` as well.\n *\n * When the text field is reset, its `value` will be set to this default\n * value.\n */\n @property({type: String}) defaultValue = '';\n /**\n * An optional prefix to display before the input value.\n */\n @property({type: String}) prefixText = '';\n /**\n * An optional suffix to display after the input value.\n */\n @property({type: String}) suffixText = '';\n /**\n * Whether or not the text field has a leading icon. Used for SSR.\n */\n @property({type: Boolean}) hasLeadingIcon = false;\n /**\n * Whether or not the text field has a trailing icon. Used for SSR.\n */\n @property({type: Boolean}) hasTrailingIcon = false;\n /**\n * Conveys additional information below the text field, such as how it should\n * be used.\n */\n @property({type: String}) supportingText = '';\n /**\n * The ID on the supporting text element, used for SSR.\n */\n @property({type: String}) supportingTextId = 'support';\n\n // ARIA\n // TODO(b/210730484): replace with @soyParam annotation\n @property(\n {type: String, attribute: 'data-aria-autocomplete', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n override ariaAutoComplete: ARIAAutoComplete|null = null;\n\n @property({type: String, attribute: 'data-aria-controls', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n ariaControls: string|null = null;\n\n @property(\n {type: String, attribute: 'data-aria-activedescendant', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n ariaActiveDescendant: string|null = null;\n\n @property({type: String, attribute: 'data-aria-expanded', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n override ariaExpanded: ARIAExpanded|null = null;\n\n @property({type: String, attribute: 'data-aria-label', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n override ariaLabel!: string;\n\n @property({type: String, attribute: 'data-aria-labelledby', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n ariaLabelledBy!: string;\n\n @property({type: String, attribute: 'data-role', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n role: ARIARole|null = null;\n\n // FormElement\n get form() {\n return this.closest('form');\n }\n\n @property({type: String, reflect: true, converter: stringConverter})\n name = '';\n\n [getFormValue]() {\n return this.value;\n }\n\n // <input> properties\n /**\n * Defines the greatest value in the range of permitted values.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max\n */\n @property({type: String}) max = '';\n /**\n * The maximum number of characters a user can enter into the text field. Set\n * to -1 for none.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength\n */\n @property({type: Number}) maxLength = -1;\n /**\n * Defines the most negative value in the range of permitted values.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min\n */\n @property({type: String}) min = '';\n /**\n * The minimum number of characters a user can enter into the text field. Set\n * to -1 for none.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength\n */\n @property({type: Number}) minLength = -1;\n /**\n * A regular expression that the text field's value must match to pass\n * constraint validation.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern\n */\n @property({type: String}) pattern = '';\n @property({type: String, reflect: true, converter: stringConverter})\n placeholder = '';\n @property({type: Boolean, reflect: true}) readonly = false;\n\n /**\n * Gets or sets the direction in which selection occurred.\n */\n get selectionDirection() {\n return this.getInput().selectionDirection;\n }\n set selectionDirection(value: 'forward'|'backward'|'none'|null) {\n this.getInput().selectionDirection = value;\n }\n\n /**\n * Gets or sets the end position or offset of a text selection.\n */\n get selectionEnd() {\n return this.getInput().selectionEnd;\n }\n set selectionEnd(value: number|null) {\n this.getInput().selectionEnd = value;\n }\n\n /**\n * Gets or sets the starting position or offset of a text selection.\n */\n get selectionStart() {\n return this.getInput().selectionStart;\n }\n set selectionStart(value: number|null) {\n this.getInput().selectionStart = value;\n }\n\n /**\n * Returns or sets the element's step attribute, which works with min and max\n * to limit the increments at which a numeric or date-time value can be set.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step\n */\n @property({type: String}) step = '';\n\n // TODO(b/237284412): replace with exported types\n @property({type: String, reflect: true})\n type: 'email'|'number'|'password'|'search'|'tel'|'text'|'url'|'color'|'date'|\n 'datetime-local'|'file'|'month'|'time'|'week' = 'text';\n\n /**\n * Returns the native validation error message that would be displayed upon\n * calling `reportValidity()`.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validationMessage\n */\n get validationMessage() {\n return this.getInput().validationMessage;\n }\n\n /**\n * Returns a ValidityState object that represents the validity states of the\n * text field.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity\n */\n get validity() {\n return this.getInput().validity;\n }\n\n /**\n * The text field's value as a number.\n */\n get valueAsNumber() {\n return this.getInput().valueAsNumber;\n }\n set valueAsNumber(value: number) {\n this.getInput().valueAsNumber = value;\n this.value = this.getInput().value;\n }\n\n /**\n * The text field's value as a Date.\n */\n get valueAsDate() {\n return this.getInput().valueAsDate;\n }\n set valueAsDate(value: Date|null) {\n this.getInput().valueAsDate = value;\n this.value = this.getInput().value;\n }\n\n /**\n * Returns whether an element will successfully validate based on forms\n * validation rules and constraints.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/willValidate\n */\n get willValidate() {\n return this.getInput().willValidate;\n }\n\n /**\n * Returns true when the text field has been interacted with. Native\n * validation errors only display in response to user interactions.\n */\n @state() protected dirty = false;\n @state() protected focused = false;\n @query('.md3-text-field__input')\n protected readonly input?: HTMLInputElement|null;\n protected abstract readonly fieldTag: StaticValue;\n\n @queryAssignedElements({slot: 'leadingicon'})\n private readonly leadingIcons!: Element[];\n @queryAssignedElements({slot: 'trailingicon'})\n private readonly trailingIcons!: Element[];\n\n constructor() {\n super();\n this.addController(new FormController(this));\n this.addEventListener('click', this.focus);\n this.addEventListener('focusin', this.handleFocusin);\n this.addEventListener('focusout', this.handleFocusout);\n }\n\n /**\n * Checks the text field's native validation and returns whether or not the\n * element is valid.\n *\n * If invalid, this method will dispatch the `invalid` event.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity\n *\n * @return true if the text field is valid, or false if not.\n */\n checkValidity() {\n const {valid} = this.checkValidityAndDispatch();\n return valid;\n }\n\n override focus() {\n if (this.disabled || this.matches(':focus-within')) {\n // Don't shift focus from an element within the text field, like an icon\n // button, to the input when focus is requested.\n return;\n }\n\n // TODO(b/210731759): replace with super.focus() once SSR supports\n // delegating focus\n this.getInput().focus();\n }\n\n /**\n * Checks the text field's native validation and returns whether or not the\n * element is valid.\n *\n * If invalid, this method will dispatch the `invalid` event.\n *\n * This method will update `error` to the current validity state and\n * `errorText` to the current `validationMessage`, unless the invalid event is\n * canceled.\n *\n * Use `setCustomValidity()` to customize the `validationMessage`.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity\n *\n * @return true if the text field is valid, or false if not.\n */\n reportValidity() {\n const {valid, canceled} = this.checkValidityAndDispatch();\n if (!canceled) {\n this.error = !valid;\n this.errorText = this.validationMessage;\n }\n\n return valid;\n }\n\n /**\n * Selects all the text in the text field.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select\n */\n select() {\n this.getInput().select();\n }\n\n /**\n * Sets the text field's native validation error message. This is used to\n * customize `validationMessage`.\n *\n * When the error is not an empty string, the text field is considered invalid\n * and `validity.customError` will be true.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity\n *\n * @param error The error message to display.\n */\n setCustomValidity(error: string) {\n this.getInput().setCustomValidity(error);\n }\n\n /**\n * Replaces a range of text with a new string.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText\n */\n setRangeText(replacement: string): void;\n setRangeText(\n replacement: string, start: number, end: number,\n selectionMode?: SelectionMode): void;\n setRangeText(...args: unknown[]) {\n // Calling setRangeText with 1 vs 3-4 arguments has different behavior.\n // Use spread syntax and type casting to ensure correct usage.\n this.getInput().setRangeText(\n ...args as Parameters<HTMLInputElement['setRangeText']>);\n this.value = this.getInput().value;\n }\n\n /**\n * Sets the start and end positions of a selection in the text field.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange\n *\n * @param start The offset into the text field for the start of the selection.\n * @param end The offset into the text field for the end of the selection.\n * @param direction The direction in which the selection is performed.\n */\n setSelectionRange(\n start: number|null, end: number|null,\n direction?: 'forward'|'backward'|'none') {\n this.getInput().setSelectionRange(start, end, direction);\n }\n\n /**\n * Decrements the value of a numeric type text field by `step` or `n` `step`\n * number of times.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown\n *\n * @param stepDecrement The number of steps to decrement, defaults to 1.\n */\n stepDown(stepDecrement?: number) {\n const input = this.getInput();\n input.stepDown(stepDecrement);\n this.value = input.value;\n }\n\n /**\n * Increments the value of a numeric type text field by `step` or `n` `step`\n * number of times.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp\n *\n * @param stepIncrement The number of steps to increment, defaults to 1.\n */\n stepUp(stepIncrement?: number) {\n const input = this.getInput();\n input.stepUp(stepIncrement);\n this.value = input.value;\n }\n\n /**\n * Reset the text field to its default value.\n */\n reset() {\n this.dirty = false;\n this.value = this.defaultValue;\n }\n\n /** @soyTemplate */\n override render(): TemplateResult {\n return html`\n <span class=\"md3-text-field ${classMap(this.getRenderClasses())}\">\n ${this.renderField()}\n </span>\n `;\n }\n\n /** @soyTemplate */\n protected getRenderClasses(): ClassInfo {\n return {\n 'md3-text-field--disabled': this.disabled,\n 'md3-text-field--error': this.error,\n };\n }\n\n /** @soyTemplate */\n protected renderField(): TemplateResult {\n const prefix = this.renderPrefix();\n const suffix = this.renderSuffix();\n const input = this.renderInput();\n\n return staticHtml`<${this.fieldTag}\n class=\"md3-text-field__field\"\n ?disabled=${this.disabled}\n ?error=${this.error}\n ?focused=${this.focused}\n ?hasEnd=${this.hasTrailingIcon}\n ?hasStart=${this.hasLeadingIcon}\n .label=${this.label}\n ?populated=${!!this.value}\n ?required=${this.required}\n >\n ${this.renderLeadingIcon()}\n ${prefix}${input}${suffix}\n ${this.renderTrailingIcon()}\n ${this.renderSupportingText()}\n </${this.fieldTag}>`;\n }\n\n /**\n * @soyTemplate\n * @slotName start\n */\n protected renderLeadingIcon(): TemplateResult {\n return html`\n <span class=\"md3-text-field__icon md3-text-field__icon--leading\" \n slot=\"start\">\n <slot name=\"leadingicon\" @slotchange=${this.handleIconChange}></slot>\n </span>\n `;\n }\n\n /**\n * @soyTemplate\n * @slotName end\n */\n protected renderTrailingIcon(): TemplateResult {\n return html`\n <span class=\"md3-text-field__icon md3-text-field__icon--trailing\" \n slot=\"end\">\n <slot name=\"trailingicon\" @slotchange=${this.handleIconChange}></slot>\n </span>\n `;\n }\n\n /** @soyTemplate */\n protected renderInput(): TemplateResult {\n // TODO(b/237283903): remove when custom isTruthy directive is supported\n const placeholderValue = this.placeholder || undefined;\n const ariaActiveDescendantValue = this.ariaActiveDescendant || undefined;\n const ariaAutoCompleteValue = this.ariaAutoComplete || undefined;\n const ariaControlsValue = this.ariaControls || undefined;\n const ariaDescribedByValue =\n this.getSupportingText() ? this.supportingTextId : undefined;\n const ariaExpandedValue = this.ariaExpanded || undefined;\n const ariaLabelValue = this.ariaLabel || this.label || undefined;\n const ariaLabelledByValue = this.ariaLabelledBy || undefined;\n const maxValue = this.max || undefined;\n const maxLengthValue = this.maxLength > -1 ? this.maxLength : undefined;\n const minValue = this.min || undefined;\n const minLengthValue = this.minLength > -1 ? this.minLength : undefined;\n const patternValue = this.pattern || undefined;\n const roleValue = this.role || undefined;\n const stepValue = this.step || undefined;\n\n // TODO(b/243805848): remove `as unknown as number` once lit analyzer is\n // fixed\n return html`<input\n class=\"md3-text-field__input\"\n aria-activedescendant=${ifDefined(ariaActiveDescendantValue)}\n aria-autocomplete=${ifDefined(ariaAutoCompleteValue)}\n aria-controls=${ifDefined(ariaControlsValue)}\n aria-describedby=${ifDefined(ariaDescribedByValue)}\n aria-expanded=${ifDefined(ariaExpandedValue)}\n aria-invalid=${this.error}\n aria-label=${ifDefined(ariaLabelValue)}\n aria-labelledby=${ifDefined(ariaLabelledByValue)}\n ?disabled=${this.disabled}\n max=${ifDefined(maxValue as unknown as number)}\n maxlength=${ifDefined(maxLengthValue)}\n min=${ifDefined(minValue as unknown as number)}\n minlength=${ifDefined(minLengthValue)}\n pattern=${ifDefined(patternValue)}\n placeholder=${ifDefined(placeholderValue)}\n role=${ifDefined(roleValue)}\n ?readonly=${this.readonly}\n ?required=${this.required}\n step=${ifDefined(stepValue as unknown as number)}\n type=${this.type}\n .value=${live(this.value)}\n @change=${this.redispatchEvent}\n @input=${this.handleInput}\n @select=${this.redispatchEvent}\n >`;\n }\n\n /** @soyTemplate */\n protected renderPrefix(): TemplateResult {\n return this.prefixText ?\n html`<span class=\"md3-text-field__prefix\">${this.prefixText}</span>` :\n html``;\n\n // TODO(b/217441842): Create shared function once argument bug is fixed\n // return this.renderAffix(/* isSuffix */ false);\n }\n\n /** @soyTemplate */\n protected renderSuffix(): TemplateResult {\n return this.suffixText ?\n html`<span class=\"md3-text-field__suffix\">${this.suffixText}</span>` :\n html``;\n\n // TODO(b/217441842): Create shared function once argument bug is fixed\n // return this.renderAffix(/* isSuffix */ true);\n }\n\n /**\n * @soyTemplate\n * @slotName supporting-text\n */\n protected renderSupportingText(): TemplateResult {\n const text = this.getSupportingText();\n return text ?\n html`<span id=${this.supportingTextId} slot=\"supporting-text\">${\n text}</span>` :\n html``;\n }\n\n /** @soyTemplate */\n protected getSupportingText(): string {\n return this.error && this.errorText ? this.errorText : this.supportingText;\n }\n\n protected override willUpdate(changedProperties: PropertyValues<TextField>) {\n if (!changedProperties.has('value') && !this.dirty) {\n // Do this here instead of in a setter so that the order of setting both\n // value and defaultValue does not matter.\n this.value = this.value || this.defaultValue;\n }\n\n super.willUpdate(changedProperties);\n }\n\n protected override updated() {\n // If a property such as `type` changes and causes the internal <input>\n // value to change without dispatching an event, re-sync it.\n const value = this.getInput().value;\n if (this.value !== value) {\n // Note this is typically inefficient in updated() since it schedules\n // another update. However, it is needed for the <input> to fully render\n // before checking its value.\n this.value = value;\n }\n }\n\n protected handleFocusin(event: FocusEvent) {\n this.focused = true;\n }\n\n protected handleFocusout(event: FocusEvent) {\n if (this.matches(':focus-within')) {\n // Changing focus to another child within the text field, like a button\n return;\n }\n\n this.focused = false;\n }\n\n protected handleInput(event: InputEvent) {\n this.dirty = true;\n this.value = (event.target as HTMLInputElement).value;\n this.redispatchEvent(event);\n }\n\n protected redispatchEvent(event: Event) {\n redispatchEvent(this, event);\n }\n\n protected getInput() {\n if (!this.input) {\n // If the input is not yet defined, synchronously render.\n // e.g.\n // const textField = document.createElement('md-outlined-text-field');\n // document.body.appendChild(textField);\n // textField.focus(); // synchronously render\n this.connectedCallback();\n this.scheduleUpdate();\n }\n\n if (this.isUpdatePending) {\n // If there are pending updates, synchronously perform them. This ensures\n // that constraint validation properties (like `required`) are synced\n // before interacting with input APIs that depend on them.\n this.scheduleUpdate();\n }\n\n return this.input!;\n }\n\n private checkValidityAndDispatch() {\n const valid = this.getInput().checkValidity();\n let canceled = false;\n if (!valid) {\n canceled = !this.dispatchEvent(new Event('invalid', {cancelable: true}));\n }\n\n return {valid, canceled};\n }\n\n private handleIconChange() {\n this.hasLeadingIcon = this.leadingIcons.length > 0;\n this.hasTrailingIcon = this.trailingIcons.length > 0;\n }\n}\n"]}
1
+ {"version":3,"file":"text-field.js","sourceRoot":"","sources":["text-field.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAAC,IAAI,EAAE,UAAU,EAAiC,MAAM,KAAK,CAAC;AACrE,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAY,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAC,IAAI,EAAC,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAC,IAAI,IAAI,UAAU,EAAc,MAAM,oBAAoB,CAAC;AAEnE,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAC,eAAe,EAA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;0CAAc;AAEvC;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAC,CAAC;;8CACnD;AAQyB;IAAzC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;2CAAkB;AAsCjC;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;uCAAW;AAIpC;IADC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;;uCAEmB;AA0DlD;IAAR,KAAK,EAAE;;wCAAyB;AACxB;IAAR,KAAK,EAAE;;0CAA2B;AAM1B;IAAR,KAAK,EAAE;;oDAAqC;AAQpC;IAAR,KAAK,EAAE;;kDAAmC;AASlC;IAAR,KAAK,EAAE;;8CAA+B;AAK9B;IAAR,KAAK,EAAE;;kDAAgC;AAExC;IADC,KAAK,CAAC,wBAAwB,CAAC;8BACL,gBAAgB;wCAAM;AAMjD;IADC,qBAAqB,CAAC,EAAC,IAAI,EAAE,aAAa,EAAC,CAAC;;+CACH;AAE1C;IADC,qBAAqB,CAAC,EAAC,IAAI,EAAE,cAAc,EAAC,CAAC;;gDACH","sourcesContent":["/**\n * @requirecss {textfield.lib.shared_styles}\n *\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {html, LitElement, PropertyValues, TemplateResult} from 'lit';\nimport {property, query, queryAssignedElements, state} from 'lit/decorators.js';\nimport {ClassInfo, classMap} from 'lit/directives/class-map.js';\nimport {ifDefined} from 'lit/directives/if-defined.js';\nimport {live} from 'lit/directives/live.js';\nimport {styleMap} from 'lit/directives/style-map.js';\nimport {html as staticHtml, StaticValue} from 'lit/static-html.js';\n\nimport {redispatchEvent} from '../../controller/events.js';\nimport {FormController, getFormValue} from '../../controller/form-controller.js';\nimport {stringConverter} from '../../controller/string-converter.js';\nimport {ariaProperty} from '../../decorators/aria-property.js';\nimport {ARIAAutoComplete, ARIAExpanded, ARIARole} from '../../types/aria.js';\n\n/**\n * Input types that are compatible with the text field.\n */\nexport type TextFieldType =\n 'email'|'number'|'password'|'search'|'tel'|'text'|'url';\n\n/**\n * Input types that are not fully supported for the text field.\n */\nexport type UnsupportedTextFieldType =\n 'color'|'date'|'datetime-local'|'file'|'month'|'time'|'week';\n\n/**\n * Input types that are incompatible with the text field.\n */\nexport type InvalidTextFieldType =\n 'button'|'checkbox'|'hidden'|'image'|'radio'|'range'|'reset'|'submit';\n\n/** @soyCompatible */\nexport abstract class TextField extends LitElement {\n static override shadowRootOptions:\n ShadowRootInit = {mode: 'open', delegatesFocus: true};\n\n @property({type: Boolean, reflect: true}) disabled = false;\n /**\n * Gets or sets whether or not the text field is in a visually invalid state.\n *\n * Calling `reportValidity()` will automatically update `error`.\n */\n @property({type: Boolean, reflect: true}) error = false;\n /**\n * The error message that replaces supporting text when `error` is true. If\n * `errorText` is an empty string, then the supporting text will continue to\n * show.\n *\n * Calling `reportValidity()` will automatically update `errorText` to the\n * native `validationMessage`.\n */\n @property({type: String}) errorText = '';\n @property({type: String}) label?: string;\n @property({type: Boolean, reflect: true}) required = false;\n /**\n * The current value of the text field. It is always a string.\n *\n * This is equal to `defaultValue` before user input.\n */\n @property({type: String}) value = '';\n /**\n * The default value of the text field. Before user input, changing the\n * default value will update `value` as well.\n *\n * When the text field is reset, its `value` will be set to this default\n * value.\n */\n @property({type: String}) defaultValue = '';\n /**\n * An optional prefix to display before the input value.\n */\n @property({type: String}) prefixText = '';\n /**\n * An optional suffix to display after the input value.\n */\n @property({type: String}) suffixText = '';\n /**\n * Whether or not the text field has a leading icon. Used for SSR.\n */\n @property({type: Boolean}) hasLeadingIcon = false;\n /**\n * Whether or not the text field has a trailing icon. Used for SSR.\n */\n @property({type: Boolean}) hasTrailingIcon = false;\n /**\n * Conveys additional information below the text field, such as how it should\n * be used.\n */\n @property({type: String}) supportingText = '';\n /**\n * Override the input text CSS `direction`. Useful for RTL languages that use\n * LTR notation for fractions.\n */\n @property({type: String}) textDirection = '';\n\n // ARIA\n // TODO(b/210730484): replace with @soyParam annotation\n @property(\n {type: String, attribute: 'data-aria-autocomplete', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n override ariaAutoComplete: ARIAAutoComplete|null = null;\n\n @property({type: String, attribute: 'data-aria-controls', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n ariaControls: string|null = null;\n\n @property(\n {type: String, attribute: 'data-aria-activedescendant', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n ariaActiveDescendant: string|null = null;\n\n @property({type: String, attribute: 'data-aria-expanded', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n override ariaExpanded: ARIAExpanded|null = null;\n\n /**\n * The `aria-label` of the text field's input.\n */\n @property({type: String, attribute: 'data-aria-label', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n override ariaLabel!: string;\n\n /**\n * The `aria-labelledby` of the text field's input.\n *\n * Note: currently only usable in SSR light DOM.\n */\n @property({type: String, attribute: 'data-aria-labelledby', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n ariaLabelledBy!: string;\n\n @property({type: String, attribute: 'data-role', noAccessor: true})\n @ariaProperty // tslint:disable-line:no-new-decorators\n role: ARIARole|null = null;\n\n // FormElement\n get form() {\n return this.closest('form');\n }\n\n @property({type: String, reflect: true, converter: stringConverter})\n name = '';\n\n [getFormValue]() {\n return this.value;\n }\n\n // <input> properties\n /**\n * Defines the greatest value in the range of permitted values.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max\n */\n @property({type: String}) max = '';\n /**\n * The maximum number of characters a user can enter into the text field. Set\n * to -1 for none.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength\n */\n @property({type: Number}) maxLength = -1;\n /**\n * Defines the most negative value in the range of permitted values.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min\n */\n @property({type: String}) min = '';\n /**\n * The minimum number of characters a user can enter into the text field. Set\n * to -1 for none.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength\n */\n @property({type: Number}) minLength = -1;\n /**\n * A regular expression that the text field's value must match to pass\n * constraint validation.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern\n */\n @property({type: String}) pattern = '';\n @property({type: String, reflect: true, converter: stringConverter})\n placeholder = '';\n\n /**\n * Indicates whether or not a user should be able to edit the text field's\n * value.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#readonly\n */\n @property({type: Boolean, reflect: true}) readOnly = false;\n\n /**\n * Gets or sets the direction in which selection occurred.\n */\n get selectionDirection() {\n return this.getInput().selectionDirection;\n }\n set selectionDirection(value: 'forward'|'backward'|'none'|null) {\n this.getInput().selectionDirection = value;\n }\n\n /**\n * Gets or sets the end position or offset of a text selection.\n */\n get selectionEnd() {\n return this.getInput().selectionEnd;\n }\n set selectionEnd(value: number|null) {\n this.getInput().selectionEnd = value;\n }\n\n /**\n * Gets or sets the starting position or offset of a text selection.\n */\n get selectionStart() {\n return this.getInput().selectionStart;\n }\n set selectionStart(value: number|null) {\n this.getInput().selectionStart = value;\n }\n\n /**\n * Returns or sets the element's step attribute, which works with min and max\n * to limit the increments at which a numeric or date-time value can be set.\n *\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step\n */\n @property({type: String}) step = '';\n\n // TODO(b/237284412): replace with exported types\n @property({type: String, reflect: true})\n type: 'email'|'number'|'password'|'search'|'tel'|'text'|'url'|'color'|'date'|\n 'datetime-local'|'file'|'month'|'time'|'week' = 'text';\n\n /**\n * Returns the native validation error message that would be displayed upon\n * calling `reportValidity()`.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validationMessage\n */\n get validationMessage() {\n return this.getInput().validationMessage;\n }\n\n /**\n * Returns a ValidityState object that represents the validity states of the\n * text field.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity\n */\n get validity() {\n return this.getInput().validity;\n }\n\n /**\n * The text field's value as a number.\n */\n get valueAsNumber() {\n return this.getInput().valueAsNumber;\n }\n set valueAsNumber(value: number) {\n this.getInput().valueAsNumber = value;\n this.value = this.getInput().value;\n }\n\n /**\n * The text field's value as a Date.\n */\n get valueAsDate() {\n return this.getInput().valueAsDate;\n }\n set valueAsDate(value: Date|null) {\n this.getInput().valueAsDate = value;\n this.value = this.getInput().value;\n }\n\n /**\n * Returns whether an element will successfully validate based on forms\n * validation rules and constraints.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/willValidate\n */\n get willValidate() {\n return this.getInput().willValidate;\n }\n\n /**\n * Returns true when the text field has been interacted with. Native\n * validation errors only display in response to user interactions.\n */\n @state() protected dirty = false;\n @state() protected focused = false;\n /**\n * When set to true, the error text's `role=\"alert\"` will be removed, then\n * re-added after an animation frame. This will re-announce an error message\n * to screen readers.\n */\n @state() protected refreshErrorAlert = false;\n /**\n * Returns true when the text field's `value` property has been changed from\n * it's initial value.\n *\n * Setting `value` should always overwrite `defaultValue`, even when `value`\n * is an empty string. This flag ensures that behavior.\n */\n @state() protected valueHasChanged = false;\n /**\n * Whether or not to ignore the next `value` change when computing\n * `valueHasChanged`.\n */\n protected ignoreNextValueChange = false;\n /**\n * Whether or not a native error has been reported via `reportValidity()`.\n */\n @state() protected nativeError = false;\n /**\n * The validation message displayed from a native error via\n * `reportValidity()`.\n */\n @state() protected nativeErrorText = '';\n @query('.md3-text-field__input')\n protected readonly input?: HTMLInputElement|null;\n protected abstract readonly fieldTag: StaticValue;\n\n /** @soyUniqueAttribute */\n private readonly counterId = 'counter';\n @queryAssignedElements({slot: 'leadingicon'})\n private readonly leadingIcons!: Element[];\n @queryAssignedElements({slot: 'trailingicon'})\n private readonly trailingIcons!: Element[];\n /** @soyUniqueAttribute */\n private readonly supportingTextId = 'support';\n\n constructor() {\n super();\n this.addController(new FormController(this));\n // TODO(b/244574653): replace this.handleClick with this.focus\n this.addEventListener('click', this.handleClick);\n this.addEventListener('focusin', this.handleFocusin);\n this.addEventListener('focusout', this.handleFocusout);\n }\n\n /**\n * Checks the text field's native validation and returns whether or not the\n * element is valid.\n *\n * If invalid, this method will dispatch the `invalid` event.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity\n *\n * @return true if the text field is valid, or false if not.\n */\n checkValidity() {\n const {valid} = this.checkValidityAndDispatch();\n return valid;\n }\n\n /**\n * Focuses the text field's input text.\n */\n override focus() {\n if (this.disabled || this.matches(':focus-within')) {\n // Don't shift focus from an element within the text field, like an icon\n // button, to the input when focus is requested.\n return;\n }\n\n // TODO(b/210731759): replace with super.focus() once SSR supports\n // delegating focus\n this.getInput().focus();\n }\n\n /**\n * Unfocuses the text field.\n */\n override blur() {\n this.getInput().blur();\n }\n\n /**\n * Checks the text field's native validation and returns whether or not the\n * element is valid.\n *\n * If invalid, this method will dispatch the `invalid` event.\n *\n * This method will display or clear an error text message equal to the text\n * field's `validationMessage`, unless the invalid event is canceled.\n *\n * Use `setCustomValidity()` to customize the `validationMessage`.\n *\n * This method can also be used to re-announce error messages to screen\n * readers.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity\n *\n * @return true if the text field is valid, or false if not.\n */\n reportValidity() {\n const {valid, canceled} = this.checkValidityAndDispatch();\n if (!canceled) {\n const prevMessage = this.getErrorText();\n this.nativeError = !valid;\n this.nativeErrorText = this.validationMessage;\n\n const needsRefresh =\n this.shouldErrorAnnounce() && prevMessage === this.getErrorText();\n if (needsRefresh) {\n this.refreshErrorAlert = true;\n }\n }\n\n return valid;\n }\n\n /**\n * Selects all the text in the text field.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select\n */\n select() {\n this.getInput().select();\n }\n\n /**\n * Sets the text field's native validation error message. This is used to\n * customize `validationMessage`.\n *\n * When the error is not an empty string, the text field is considered invalid\n * and `validity.customError` will be true.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity\n *\n * @param error The error message to display.\n */\n setCustomValidity(error: string) {\n this.getInput().setCustomValidity(error);\n }\n\n /**\n * Replaces a range of text with a new string.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText\n */\n setRangeText(replacement: string): void;\n setRangeText(\n replacement: string, start: number, end: number,\n selectionMode?: SelectionMode): void;\n setRangeText(...args: unknown[]) {\n // Calling setRangeText with 1 vs 3-4 arguments has different behavior.\n // Use spread syntax and type casting to ensure correct usage.\n this.getInput().setRangeText(\n ...args as Parameters<HTMLInputElement['setRangeText']>);\n this.value = this.getInput().value;\n }\n\n /**\n * Sets the start and end positions of a selection in the text field.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange\n *\n * @param start The offset into the text field for the start of the selection.\n * @param end The offset into the text field for the end of the selection.\n * @param direction The direction in which the selection is performed.\n */\n setSelectionRange(\n start: number|null, end: number|null,\n direction?: 'forward'|'backward'|'none') {\n this.getInput().setSelectionRange(start, end, direction);\n }\n\n /**\n * Decrements the value of a numeric type text field by `step` or `n` `step`\n * number of times.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown\n *\n * @param stepDecrement The number of steps to decrement, defaults to 1.\n */\n stepDown(stepDecrement?: number) {\n const input = this.getInput();\n input.stepDown(stepDecrement);\n this.value = input.value;\n }\n\n /**\n * Increments the value of a numeric type text field by `step` or `n` `step`\n * number of times.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp\n *\n * @param stepIncrement The number of steps to increment, defaults to 1.\n */\n stepUp(stepIncrement?: number) {\n const input = this.getInput();\n input.stepUp(stepIncrement);\n this.value = input.value;\n }\n\n /**\n * Reset the text field to its default value.\n */\n reset() {\n this.dirty = false;\n this.valueHasChanged = false;\n this.ignoreNextValueChange = true;\n this.value = this.defaultValue;\n this.nativeError = false;\n this.nativeErrorText = '';\n }\n\n /** @soyTemplate */\n override render(): TemplateResult {\n return html`\n <span class=\"md3-text-field ${classMap(this.getRenderClasses())}\">\n ${this.renderField()}\n </span>\n `;\n }\n\n /** @soyTemplate */\n protected getRenderClasses(): ClassInfo {\n return {\n 'md3-text-field--disabled': this.disabled,\n 'md3-text-field--error': this.getError(),\n };\n }\n\n /** @soyTemplate */\n protected getError(): boolean {\n return this.error || this.nativeError;\n }\n\n /** @soyTemplate */\n protected renderField(): TemplateResult {\n const prefix = this.renderPrefix();\n const suffix = this.renderSuffix();\n const input = this.renderInput();\n const inputValue = this.getInputValue();\n\n return staticHtml`<${this.fieldTag}\n class=\"md3-text-field__field\"\n ?disabled=${this.disabled}\n ?error=${this.getError()}\n ?focused=${this.focused}\n ?hasEnd=${this.hasTrailingIcon}\n ?hasStart=${this.hasLeadingIcon}\n .label=${this.label}\n ?populated=${!!inputValue}\n ?required=${this.required}\n >\n ${this.renderLeadingIcon()}\n ${prefix}${input}${suffix}\n ${this.renderTrailingIcon()}\n ${this.renderSupportingText()}\n ${this.renderCounter()}\n </${this.fieldTag}>`;\n }\n\n /**\n * @soyTemplate\n * @slotName start\n */\n protected renderLeadingIcon(): TemplateResult {\n return html`\n <span class=\"md3-text-field__icon md3-text-field__icon--leading\"\n slot=\"start\">\n <slot name=\"leadingicon\" @slotchange=${this.handleIconChange}></slot>\n </span>\n `;\n }\n\n /**\n * @soyTemplate\n * @slotName end\n */\n protected renderTrailingIcon(): TemplateResult {\n return html`\n <span class=\"md3-text-field__icon md3-text-field__icon--trailing\"\n slot=\"end\">\n <slot name=\"trailingicon\" @slotchange=${this.handleIconChange}></slot>\n </span>\n `;\n }\n\n /** @soyTemplate */\n protected renderInput(): TemplateResult {\n // TODO(b/237283903): remove when custom isTruthy directive is supported\n const placeholderValue = this.placeholder || undefined;\n const ariaActiveDescendantValue = this.ariaActiveDescendant || undefined;\n const ariaAutoCompleteValue = this.ariaAutoComplete || undefined;\n const ariaControlsValue = this.ariaControls || undefined;\n const ariaDescribedByValue = this.getAriaDescribedBy() || undefined;\n const ariaExpandedValue = this.ariaExpanded || undefined;\n const ariaLabelValue = this.ariaLabel || this.label || undefined;\n const ariaLabelledByValue = this.ariaLabelledBy || undefined;\n const maxValue = this.max || undefined;\n const maxLengthValue = this.maxLength > -1 ? this.maxLength : undefined;\n const minValue = this.min || undefined;\n const minLengthValue = this.minLength > -1 ? this.minLength : undefined;\n const patternValue = this.pattern || undefined;\n const roleValue = this.role || undefined;\n const stepValue = this.step || undefined;\n\n /** @styleMap */\n const style = {direction: this.textDirection};\n\n // TODO(b/243805848): remove `as unknown as number` once lit analyzer is\n // fixed\n return html`<input\n class=\"md3-text-field__input\"\n style=${styleMap(style)}\n aria-activedescendant=${ifDefined(ariaActiveDescendantValue)}\n aria-autocomplete=${ifDefined(ariaAutoCompleteValue)}\n aria-controls=${ifDefined(ariaControlsValue)}\n aria-describedby=${ifDefined(ariaDescribedByValue)}\n aria-expanded=${ifDefined(ariaExpandedValue)}\n aria-invalid=${this.getError()}\n aria-label=${ifDefined(ariaLabelValue)}\n aria-labelledby=${ifDefined(ariaLabelledByValue)}\n ?disabled=${this.disabled}\n max=${ifDefined(maxValue as unknown as number)}\n maxlength=${ifDefined(maxLengthValue)}\n min=${ifDefined(minValue as unknown as number)}\n minlength=${ifDefined(minLengthValue)}\n pattern=${ifDefined(patternValue)}\n placeholder=${ifDefined(placeholderValue)}\n role=${ifDefined(roleValue)}\n ?readonly=${this.readOnly}\n ?required=${this.required}\n step=${ifDefined(stepValue as unknown as number)}\n type=${this.type}\n .value=${live(this.getInputValue())}\n @change=${this.redispatchEvent}\n @input=${this.handleInput}\n @select=${this.redispatchEvent}\n >`;\n }\n\n /** @soyTemplate */\n protected getInputValue(): string {\n const alwaysShowValue = this.dirty || this.valueHasChanged;\n return alwaysShowValue ? this.value : this.defaultValue || this.value;\n }\n\n /** @soyTemplate */\n protected getAriaDescribedBy(): string {\n const hasSupport = !!this.getSupportingText();\n const hasCounter = this.hasCounter();\n // TODO(b/244609052): remove parens\n return (hasSupport || hasCounter) ?\n `${hasSupport ? this.supportingTextId : ''} ${\n hasCounter ? this.counterId : ''}` :\n '';\n }\n\n /** @soyTemplate */\n protected renderPrefix(): TemplateResult {\n return this.prefixText ?\n html`<span class=\"md3-text-field__prefix\">${this.prefixText}</span>` :\n html``;\n\n // TODO(b/217441842): Create shared function once argument bug is fixed\n // return this.renderAffix(/* isSuffix */ false);\n }\n\n /** @soyTemplate */\n protected renderSuffix(): TemplateResult {\n return this.suffixText ?\n html`<span class=\"md3-text-field__suffix\">${this.suffixText}</span>` :\n html``;\n\n // TODO(b/217441842): Create shared function once argument bug is fixed\n // return this.renderAffix(/* isSuffix */ true);\n }\n\n /**\n * @soyTemplate\n * @slotName supporting-text\n */\n protected renderSupportingText(): TemplateResult {\n const shouldAlert = this.shouldErrorAnnounce();\n const text = this.getSupportingText();\n const template = html`<span id=${this.supportingTextId} \n slot=\"supporting-text\" \n role=${ifDefined(shouldAlert ? 'alert' : undefined)}>${text}</span>`;\n\n return text ? template : html``;\n }\n\n /** @soyTemplate */\n protected getSupportingText(): string {\n const errorText = this.getErrorText();\n return this.getError() && errorText ? errorText : this.supportingText;\n }\n\n /** @soyTemplate */\n protected getErrorText(): string {\n return this.error ? this.errorText : this.nativeErrorText;\n }\n\n /** @soyTemplate */\n protected shouldErrorAnnounce(): boolean {\n // Announce if there is an error and error text visible.\n // If refreshErrorAlert is true, do not announce. This will remove the\n // role=\"alert\" attribute. Another render cycle will happen after an\n // animation frame to re-add the role.\n return this.getError() && !!this.getErrorText() && !this.refreshErrorAlert;\n }\n\n /**\n * @soyTemplate\n * @slotName supporting-text-end\n */\n protected renderCounter(): TemplateResult {\n const counter = html`<span id=${this.counterId}\n class=\"md3-text-field__counter\"\n slot=\"supporting-text-end\">${this.getCounterText()}</span>`;\n // TODO(b/244473435): add aria-label and announcements\n return this.hasCounter() ? counter : html``;\n }\n\n // TODO(b/244197198): replace with !!this.getCounterText()\n /** @soyTemplate */\n protected hasCounter(): boolean {\n return this.maxLength > -1;\n }\n\n /** @soyTemplate */\n protected getCounterText(): TemplateResult {\n // TODO(b/244197198): replace with string return\n const length = this.value.length;\n return this.hasCounter() ? html`${length} / ${this.maxLength}` : html``;\n }\n\n protected override update(changedProperties: PropertyValues<TextField>) {\n // Consider a value change anything that is not the initial empty string\n // value.\n const valueHasChanged = changedProperties.has('value') &&\n changedProperties.get('value') !== undefined;\n if (valueHasChanged && !this.ignoreNextValueChange) {\n this.valueHasChanged = true;\n }\n\n if (this.ignoreNextValueChange) {\n this.ignoreNextValueChange = false;\n }\n\n super.update(changedProperties);\n }\n\n protected override updated(changedProperties: PropertyValues) {\n // If a property such as `type` changes and causes the internal <input>\n // value to change without dispatching an event, re-sync it.\n const value = this.getInput().value;\n if (this.value !== value) {\n // Don't consider these updates (such as setting `defaultValue`) as\n // the developer directly changing the `value`.\n this.ignoreNextValueChange = true;\n // Note this is typically inefficient in updated() since it schedules\n // another update. However, it is needed for the <input> to fully render\n // before checking its value.\n this.value = value;\n }\n\n if (this.refreshErrorAlert) {\n // The past render cycle removed the role=\"alert\" from the error message.\n // Re-add it after an animation frame to re-announce the error.\n requestAnimationFrame(() => {\n this.refreshErrorAlert = false;\n });\n }\n }\n\n /** @bubbleWizEvent */\n protected handleClick() {\n this.focus();\n }\n\n /** @bubbleWizEvent */\n protected handleFocusin(event: FocusEvent) {\n this.focused = true;\n }\n\n /** @bubbleWizEvent */\n protected handleFocusout(event: FocusEvent) {\n if (this.matches(':focus-within')) {\n // Changing focus to another child within the text field, like a button\n return;\n }\n\n this.focused = false;\n }\n\n protected handleInput(event: InputEvent) {\n this.dirty = true;\n this.value = (event.target as HTMLInputElement).value;\n this.redispatchEvent(event);\n }\n\n protected redispatchEvent(event: Event) {\n redispatchEvent(this, event);\n }\n\n protected getInput() {\n if (!this.input) {\n // If the input is not yet defined, synchronously render.\n // e.g.\n // const textField = document.createElement('md-outlined-text-field');\n // document.body.appendChild(textField);\n // textField.focus(); // synchronously render\n this.connectedCallback();\n this.scheduleUpdate();\n }\n\n if (this.isUpdatePending) {\n // If there are pending updates, synchronously perform them. This ensures\n // that constraint validation properties (like `required`) are synced\n // before interacting with input APIs that depend on them.\n this.scheduleUpdate();\n }\n\n return this.input!;\n }\n\n private checkValidityAndDispatch() {\n const valid = this.getInput().checkValidity();\n let canceled = false;\n if (!valid) {\n canceled = !this.dispatchEvent(new Event('invalid', {cancelable: true}));\n }\n\n return {valid, canceled};\n }\n\n private handleIconChange() {\n this.hasLeadingIcon = this.leadingIcons.length > 0;\n this.hasTrailingIcon = this.trailingIcons.length > 0;\n }\n}\n"]}
@@ -3,8 +3,9 @@
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import '@material/web/field/outlined-field.js';
6
+ import '../field/outlined-field.js';
7
7
  import { OutlinedTextField } from './lib/outlined-text-field.js';
8
+ export { TextFieldType } from './lib/text-field.js';
8
9
  declare global {
9
10
  interface HTMLElementTagNameMap {
10
11
  'md-outlined-text-field': MdOutlinedTextField;
@@ -4,7 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import { __decorate } from "tslib";
7
- import '@material/web/field/outlined-field.js';
7
+ import '../field/outlined-field.js';
8
8
  import { customElement } from 'lit/decorators.js';
9
9
  import { literal } from 'lit/static-html.js';
10
10
  // TODO(b/236285090): update with HCM best practices
@@ -1 +1 @@
1
- {"version":3,"file":"outlined-text-field.js","sourceRoot":"","sources":["outlined-text-field.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,uCAAuC,CAAC;AAE/C,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,oDAAoD;AACpD,OAAO,EAAC,MAAM,IAAI,0BAA0B,EAAC,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAC,MAAM,IAAI,cAAc,EAAC,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAC,iBAAiB,EAAC,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAQlE;;;;GAIG;AAEH,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,iBAAiB;IAA1D;;QAI8B,aAAQ,GAAG,OAAO,CAAA,mBAAmB,CAAC;IACpE,CAAC;CAAA,CAAA;AAJiB,0BAAM,GAClB,CAAC,YAAY,EAAE,cAAc,EAAE,0BAA0B,CAAE,CAAA;AAFpD,mBAAmB;IAD/B,aAAa,CAAC,wBAAwB,CAAC;GAC3B,mBAAmB,CAK/B;SALY,mBAAmB","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport '@material/web/field/outlined-field.js';\n\nimport {customElement} from 'lit/decorators.js';\nimport {literal} from 'lit/static-html.js';\n\n// TODO(b/236285090): update with HCM best practices\nimport {styles as outlinedForcedColorsStyles} from './lib/outlined-forced-colors-styles.css.js';\nimport {styles as outlinedStyles} from './lib/outlined-styles.css.js';\nimport {OutlinedTextField} from './lib/outlined-text-field.js';\nimport {styles as sharedStyles} from './lib/shared-styles.css.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-outlined-text-field': MdOutlinedTextField;\n }\n}\n\n/**\n * @soyCompatible\n * @final\n * @suppress {visibility}\n */\n@customElement('md-outlined-text-field')\nexport class MdOutlinedTextField extends OutlinedTextField {\n static override styles =\n [sharedStyles, outlinedStyles, outlinedForcedColorsStyles];\n\n protected override readonly fieldTag = literal`md-outlined-field`;\n}\n"]}
1
+ {"version":3,"file":"outlined-text-field.js","sourceRoot":"","sources":["outlined-text-field.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,4BAA4B,CAAC;AAEpC,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,oDAAoD;AACpD,OAAO,EAAC,MAAM,IAAI,0BAA0B,EAAC,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAC,MAAM,IAAI,cAAc,EAAC,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAC,iBAAiB,EAAC,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAUlE;;;;GAIG;AAEH,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,iBAAiB;IAA1D;;QAI8B,aAAQ,GAAG,OAAO,CAAA,mBAAmB,CAAC;IACpE,CAAC;CAAA,CAAA;AAJiB,0BAAM,GAClB,CAAC,YAAY,EAAE,cAAc,EAAE,0BAA0B,CAAE,CAAA;AAFpD,mBAAmB;IAD/B,aAAa,CAAC,wBAAwB,CAAC;GAC3B,mBAAmB,CAK/B;SALY,mBAAmB","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport '../field/outlined-field.js';\n\nimport {customElement} from 'lit/decorators.js';\nimport {literal} from 'lit/static-html.js';\n\n// TODO(b/236285090): update with HCM best practices\nimport {styles as outlinedForcedColorsStyles} from './lib/outlined-forced-colors-styles.css.js';\nimport {styles as outlinedStyles} from './lib/outlined-styles.css.js';\nimport {OutlinedTextField} from './lib/outlined-text-field.js';\nimport {styles as sharedStyles} from './lib/shared-styles.css.js';\n\nexport {TextFieldType} from './lib/text-field.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-outlined-text-field': MdOutlinedTextField;\n }\n}\n\n/**\n * @soyCompatible\n * @final\n * @suppress {visibility}\n */\n@customElement('md-outlined-text-field')\nexport class MdOutlinedTextField extends OutlinedTextField {\n static override styles =\n [sharedStyles, outlinedStyles, outlinedForcedColorsStyles];\n\n protected override readonly fieldTag = literal`md-outlined-field`;\n}\n"]}
@@ -3,4 +3,4 @@
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  //
5
5
 
6
- @forward './latest';
6
+ @forward './v0_144';
@@ -8,179 +8,100 @@
8
8
  //
9
9
 
10
10
  @forward './md-comp-assist-chip' as md-comp-assist-chip-*;
11
-
12
11
  @forward './md-comp-badge' as md-comp-badge-*;
13
-
14
12
  @forward './md-comp-banner' as md-comp-banner-*;
15
-
16
13
  @forward './md-comp-bottom-app-bar' as md-comp-bottom-app-bar-*;
17
-
14
+ @forward './md-comp-carousel-item' as md-comp-carousel-item-*;
18
15
  @forward './md-comp-checkbox' as md-comp-checkbox-*;
19
-
20
- @forward './md-comp-circular-progress-indicator' as md-comp-circular-progress-indicator-*;
21
-
16
+ @forward './md-comp-circular-progress-indicator' as
17
+ md-comp-circular-progress-indicator-*;
18
+ @forward './md-comp-data-table' as md-comp-data-table-*;
22
19
  @forward './md-comp-date-input-modal' as md-comp-date-input-modal-*;
23
-
24
20
  @forward './md-comp-date-picker-docked' as md-comp-date-picker-docked-*;
25
-
26
21
  @forward './md-comp-date-picker-modal' as md-comp-date-picker-modal-*;
27
-
28
22
  @forward './md-comp-dialog' as md-comp-dialog-*;
29
-
30
23
  @forward './md-comp-divider' as md-comp-divider-*;
31
-
32
24
  @forward './md-comp-elevated-button' as md-comp-elevated-button-*;
33
-
34
25
  @forward './md-comp-elevated-card' as md-comp-elevated-card-*;
35
-
36
26
  @forward './md-comp-extended-fab-branded' as md-comp-extended-fab-branded-*;
37
-
38
27
  @forward './md-comp-extended-fab-primary' as md-comp-extended-fab-primary-*;
39
-
40
28
  @forward './md-comp-extended-fab-secondary' as md-comp-extended-fab-secondary-*;
41
-
42
29
  @forward './md-comp-extended-fab-surface' as md-comp-extended-fab-surface-*;
43
-
44
30
  @forward './md-comp-extended-fab-tertiary' as md-comp-extended-fab-tertiary-*;
45
-
46
31
  @forward './md-comp-fab-branded' as md-comp-fab-branded-*;
47
-
48
32
  @forward './md-comp-fab-branded-large' as md-comp-fab-branded-large-*;
49
-
50
33
  @forward './md-comp-fab-primary' as md-comp-fab-primary-*;
51
-
52
34
  @forward './md-comp-fab-primary-large' as md-comp-fab-primary-large-*;
53
-
54
35
  @forward './md-comp-fab-primary-small' as md-comp-fab-primary-small-*;
55
-
56
36
  @forward './md-comp-fab-secondary' as md-comp-fab-secondary-*;
57
-
58
37
  @forward './md-comp-fab-secondary-large' as md-comp-fab-secondary-large-*;
59
-
60
38
  @forward './md-comp-fab-secondary-small' as md-comp-fab-secondary-small-*;
61
-
62
39
  @forward './md-comp-fab-surface' as md-comp-fab-surface-*;
63
-
64
40
  @forward './md-comp-fab-surface-large' as md-comp-fab-surface-large-*;
65
-
66
41
  @forward './md-comp-fab-surface-small' as md-comp-fab-surface-small-*;
67
-
68
42
  @forward './md-comp-fab-tertiary' as md-comp-fab-tertiary-*;
69
-
70
43
  @forward './md-comp-fab-tertiary-large' as md-comp-fab-tertiary-large-*;
71
-
72
44
  @forward './md-comp-fab-tertiary-small' as md-comp-fab-tertiary-small-*;
73
-
74
45
  @forward './md-comp-filled-autocomplete' as md-comp-filled-autocomplete-*;
75
-
76
46
  @forward './md-comp-filled-button' as md-comp-filled-button-*;
77
-
78
47
  @forward './md-comp-filled-card' as md-comp-filled-card-*;
79
-
80
48
  @forward './md-comp-filled-icon-button' as md-comp-filled-icon-button-*;
81
-
82
49
  @forward './md-comp-filled-menu-button' as md-comp-filled-menu-button-*;
83
-
84
50
  @forward './md-comp-filled-select' as md-comp-filled-select-*;
85
-
86
51
  @forward './md-comp-filled-text-field' as md-comp-filled-text-field-*;
87
-
88
52
  @forward './md-comp-filled-tonal-button' as md-comp-filled-tonal-button-*;
89
-
90
- @forward './md-comp-filled-tonal-icon-button' as md-comp-filled-tonal-icon-button-*;
91
-
53
+ @forward './md-comp-filled-tonal-icon-button' as
54
+ md-comp-filled-tonal-icon-button-*;
92
55
  @forward './md-comp-filter-chip' as md-comp-filter-chip-*;
93
-
94
56
  @forward './md-comp-full-screen-dialog' as md-comp-full-screen-dialog-*;
95
-
96
57
  @forward './md-comp-icon-button' as md-comp-icon-button-*;
97
-
98
58
  @forward './md-comp-input-chip' as md-comp-input-chip-*;
99
-
100
- @forward './md-comp-linear-progress-indicator' as md-comp-linear-progress-indicator-*;
101
-
59
+ @forward './md-comp-linear-progress-indicator' as
60
+ md-comp-linear-progress-indicator-*;
102
61
  @forward './md-comp-list' as md-comp-list-*;
103
-
104
62
  @forward './md-comp-menu' as md-comp-menu-*;
105
-
106
63
  @forward './md-comp-navigation-bar' as md-comp-navigation-bar-*;
107
-
108
64
  @forward './md-comp-navigation-drawer' as md-comp-navigation-drawer-*;
109
-
110
65
  @forward './md-comp-navigation-rail' as md-comp-navigation-rail-*;
111
-
112
66
  @forward './md-comp-outlined-autocomplete' as md-comp-outlined-autocomplete-*;
113
-
114
67
  @forward './md-comp-outlined-button' as md-comp-outlined-button-*;
115
-
116
68
  @forward './md-comp-outlined-card' as md-comp-outlined-card-*;
117
-
118
69
  @forward './md-comp-outlined-icon-button' as md-comp-outlined-icon-button-*;
119
-
120
70
  @forward './md-comp-outlined-menu-button' as md-comp-outlined-menu-button-*;
121
-
122
- @forward './md-comp-outlined-segmented-button' as md-comp-outlined-segmented-button-*;
123
-
71
+ @forward './md-comp-outlined-segmented-button' as
72
+ md-comp-outlined-segmented-button-*;
124
73
  @forward './md-comp-outlined-select' as md-comp-outlined-select-*;
125
-
126
74
  @forward './md-comp-outlined-text-field' as md-comp-outlined-text-field-*;
127
-
128
75
  @forward './md-comp-plain-tooltip' as md-comp-plain-tooltip-*;
129
-
130
76
  @forward './md-comp-primary-navigation-tab' as md-comp-primary-navigation-tab-*;
131
-
132
77
  @forward './md-comp-radio-button' as md-comp-radio-button-*;
133
-
134
78
  @forward './md-comp-rich-tooltip' as md-comp-rich-tooltip-*;
135
-
79
+ @forward './md-comp-scrim' as md-comp-scrim-*;
136
80
  @forward './md-comp-search-bar' as md-comp-search-bar-*;
137
-
138
81
  @forward './md-comp-search-view' as md-comp-search-view-*;
139
-
140
- @forward './md-comp-secondary-navigation-tab' as md-comp-secondary-navigation-tab-*;
141
-
82
+ @forward './md-comp-secondary-navigation-tab' as
83
+ md-comp-secondary-navigation-tab-*;
142
84
  @forward './md-comp-sheet-bottom' as md-comp-sheet-bottom-*;
143
-
144
85
  @forward './md-comp-sheet-floating' as md-comp-sheet-floating-*;
145
-
146
86
  @forward './md-comp-sheet-side' as md-comp-sheet-side-*;
147
-
148
87
  @forward './md-comp-slider' as md-comp-slider-*;
149
-
150
88
  @forward './md-comp-snackbar' as md-comp-snackbar-*;
151
-
152
89
  @forward './md-comp-standard-menu-button' as md-comp-standard-menu-button-*;
153
-
154
90
  @forward './md-comp-suggestion-chip' as md-comp-suggestion-chip-*;
155
-
156
91
  @forward './md-comp-switch' as md-comp-switch-*;
157
-
158
92
  @forward './md-comp-text-button' as md-comp-text-button-*;
159
-
160
93
  @forward './md-comp-time-input' as md-comp-time-input-*;
161
-
162
94
  @forward './md-comp-time-picker' as md-comp-time-picker-*;
163
-
164
95
  @forward './md-comp-top-app-bar-large' as md-comp-top-app-bar-large-*;
165
-
166
96
  @forward './md-comp-top-app-bar-medium' as md-comp-top-app-bar-medium-*;
167
-
168
97
  @forward './md-comp-top-app-bar-small' as md-comp-top-app-bar-small-*;
169
-
170
- @forward './md-comp-top-app-bar-small-centered' as md-comp-top-app-bar-small-centered-*;
171
-
98
+ @forward './md-comp-top-app-bar-small-centered' as
99
+ md-comp-top-app-bar-small-centered-*;
172
100
  @forward './md-ref-palette' as md-ref-palette-*;
173
-
174
101
  @forward './md-ref-typeface' as md-ref-typeface-*;
175
-
176
102
  @forward './md-sys-color' as md-sys-color-*;
177
-
178
103
  @forward './md-sys-elevation' as md-sys-elevation-*;
179
-
180
104
  @forward './md-sys-motion' as md-sys-motion-*;
181
-
182
105
  @forward './md-sys-shape' as md-sys-shape-*;
183
-
184
106
  @forward './md-sys-state' as md-sys-state-*;
185
-
186
107
  @forward './md-sys-typescale' as md-sys-typescale-*;
@@ -0,0 +1,109 @@
1
+ //
2
+ // Copyright 2022 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.144
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
+ 'container-height': if($exclude-hardcoded-values, null, 32px),
35
+ 'container-shape': map.get($deps, 'md-sys-shape', 'corner-small'),
36
+ 'container-surface-tint-layer-color':
37
+ map.get($deps, 'md-sys-color', 'surface-tint'),
38
+ 'disabled-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
39
+ 'disabled-label-text-opacity': if($exclude-hardcoded-values, null, 0.38),
40
+ 'dragged-container-elevation': map.get($deps, 'md-sys-elevation', 'level4'),
41
+ 'dragged-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
42
+ 'dragged-state-layer-color': map.get($deps, 'md-sys-color', 'on-surface'),
43
+ 'dragged-state-layer-opacity':
44
+ map.get($deps, 'md-sys-state', 'dragged-state-layer-opacity'),
45
+ 'elevated-container-color': map.get($deps, 'md-sys-color', 'surface'),
46
+ 'elevated-container-elevation': map.get($deps, 'md-sys-elevation', 'level1'),
47
+ 'elevated-container-shadow-color': map.get($deps, 'md-sys-color', 'shadow'),
48
+ 'elevated-disabled-container-color':
49
+ map.get($deps, 'md-sys-color', 'on-surface'),
50
+ 'elevated-disabled-container-elevation':
51
+ map.get($deps, 'md-sys-elevation', 'level0'),
52
+ 'elevated-disabled-container-opacity':
53
+ if($exclude-hardcoded-values, null, 0.12),
54
+ 'elevated-focus-container-elevation':
55
+ map.get($deps, 'md-sys-elevation', 'level1'),
56
+ 'elevated-hover-container-elevation':
57
+ map.get($deps, 'md-sys-elevation', 'level2'),
58
+ 'elevated-pressed-container-elevation':
59
+ map.get($deps, 'md-sys-elevation', 'level1'),
60
+ 'flat-container-elevation': map.get($deps, 'md-sys-elevation', 'level0'),
61
+ 'flat-disabled-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
62
+ 'flat-disabled-outline-opacity': if($exclude-hardcoded-values, null, 0.12),
63
+ 'flat-focus-outline-color': map.get($deps, 'md-sys-color', 'on-surface'),
64
+ 'flat-outline-color': map.get($deps, 'md-sys-color', 'outline'),
65
+ 'flat-outline-width': if($exclude-hardcoded-values, null, 1px),
66
+ 'focus-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
67
+ 'focus-state-layer-color': map.get($deps, 'md-sys-color', 'on-surface'),
68
+ 'focus-state-layer-opacity':
69
+ map.get($deps, 'md-sys-state', 'focus-state-layer-opacity'),
70
+ 'hover-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
71
+ 'hover-state-layer-color': map.get($deps, 'md-sys-color', 'on-surface'),
72
+ 'hover-state-layer-opacity':
73
+ map.get($deps, 'md-sys-state', 'hover-state-layer-opacity'),
74
+ 'label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
75
+ 'label-text-font': map.get($deps, 'md-sys-typescale', 'label-large-font'),
76
+ 'label-text-line-height':
77
+ map.get($deps, 'md-sys-typescale', 'label-large-line-height'),
78
+ 'label-text-size': map.get($deps, 'md-sys-typescale', 'label-large-size'),
79
+ 'label-text-tracking':
80
+ map.get($deps, 'md-sys-typescale', 'label-large-tracking'),
81
+ 'label-text-type':
82
+ if(
83
+ $exclude-hardcoded-values,
84
+ null,
85
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.assist-chip.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
86
+ map.get($deps, 'md-sys-typescale', 'label-large-weight')
87
+ map.get($deps, 'md-sys-typescale', 'label-large-size') #{'/'} map.get(
88
+ $deps,
89
+ 'md-sys-typescale',
90
+ 'label-large-line-height'
91
+ ) map.get($deps, 'md-sys-typescale', 'label-large-font')
92
+ ),
93
+ 'label-text-weight':
94
+ map.get($deps, 'md-sys-typescale', 'label-large-weight'),
95
+ 'pressed-label-text-color': map.get($deps, 'md-sys-color', 'on-surface'),
96
+ 'pressed-state-layer-color': map.get($deps, 'md-sys-color', 'on-surface'),
97
+ 'pressed-state-layer-opacity':
98
+ map.get($deps, 'md-sys-state', 'pressed-state-layer-opacity'),
99
+ 'with-icon-disabled-icon-color':
100
+ map.get($deps, 'md-sys-color', 'on-surface'),
101
+ 'with-icon-disabled-icon-opacity': if($exclude-hardcoded-values, null, 0.38),
102
+ 'with-icon-dragged-icon-color': map.get($deps, 'md-sys-color', 'primary'),
103
+ 'with-icon-focus-icon-color': map.get($deps, 'md-sys-color', 'primary'),
104
+ 'with-icon-hover-icon-color': map.get($deps, 'md-sys-color', 'primary'),
105
+ 'with-icon-icon-color': map.get($deps, 'md-sys-color', 'primary'),
106
+ 'with-icon-icon-size': if($exclude-hardcoded-values, null, 18px),
107
+ 'with-icon-pressed-icon-color': map.get($deps, 'md-sys-color', 'primary')
108
+ );
109
+ }
@@ -0,0 +1,58 @@
1
+ //
2
+ // Copyright 2022 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.144
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
+ 'color': map.get($deps, 'md-sys-color', 'error'),
29
+ 'large-color': map.get($deps, 'md-sys-color', 'error'),
30
+ 'large-label-text-color': map.get($deps, 'md-sys-color', 'on-error'),
31
+ 'large-label-text-font':
32
+ map.get($deps, 'md-sys-typescale', 'label-small-font'),
33
+ 'large-label-text-line-height':
34
+ map.get($deps, 'md-sys-typescale', 'label-small-line-height'),
35
+ 'large-label-text-size':
36
+ map.get($deps, 'md-sys-typescale', 'label-small-size'),
37
+ 'large-label-text-tracking':
38
+ map.get($deps, 'md-sys-typescale', 'label-small-tracking'),
39
+ 'large-label-text-type':
40
+ if(
41
+ $exclude-hardcoded-values,
42
+ null,
43
+ /** Warning: risk of reduced fidelity from using this composite typography token. Tokens md.comp.badge.large.label-text.tracking cannot be represented in the "font" property shorthand. Consider using the discrete properties instead. */
44
+ map.get($deps, 'md-sys-typescale', 'label-small-weight')
45
+ map.get($deps, 'md-sys-typescale', 'label-small-size') #{'/'} map.get(
46
+ $deps,
47
+ 'md-sys-typescale',
48
+ 'label-small-line-height'
49
+ ) map.get($deps, 'md-sys-typescale', 'label-small-font')
50
+ ),
51
+ 'large-label-text-weight':
52
+ map.get($deps, 'md-sys-typescale', 'label-small-weight'),
53
+ 'large-shape': map.get($deps, 'md-sys-shape', 'corner-full'),
54
+ 'large-size': if($exclude-hardcoded-values, null, 16px),
55
+ 'shape': map.get($deps, 'md-sys-shape', 'corner-full'),
56
+ 'size': if($exclude-hardcoded-values, null, 6px)
57
+ );
58
+ }