@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
package/fab/lib/_fab.scss CHANGED
@@ -6,12 +6,36 @@
6
6
  // stylelint-disable selector-class-pattern --
7
7
  // Selector '.md3-*' should only be used in this project.
8
8
 
9
- @mixin static-styles() {
10
- .md3-fab--regular {
11
- @include root;
12
- }
9
+ @use '../../sass/theme';
10
+ @use '../../tokens';
11
+ @use './shared';
12
+
13
+ @mixin theme($tokens) {
14
+ $tokens: theme.validate-theme(tokens.md-comp-fab-surface-values(), $tokens);
15
+ $tokens: shared.resolve-tokens($tokens);
16
+ $tokens: theme.create-theme-vars($tokens, fab);
17
+
18
+ @include theme.emit-theme-vars($tokens);
13
19
  }
14
20
 
15
- @mixin root() {
16
- padding: 0;
21
+ @mixin styles() {
22
+ $tokens: tokens.md-comp-fab-surface-values();
23
+
24
+ $tokens: shared.resolve-tokens($tokens);
25
+ $tokens: theme.create-theme-vars($tokens, fab);
26
+
27
+ :host {
28
+ @each $token, $value in $tokens {
29
+ --_#{$token}: #{$value};
30
+ }
31
+ }
32
+
33
+ .md3-fab {
34
+ width: var(--_container-width);
35
+ height: var(--_container-height);
36
+ }
37
+
38
+ .md3-fab--regular {
39
+ padding: 0;
40
+ }
17
41
  }
@@ -0,0 +1,209 @@
1
+ //
2
+ // Copyright 2022 Google LLC
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ //
5
+
6
+ // stylelint-disable selector-class-pattern --
7
+ // Selector '.md3-*' should only be used in this project.
8
+
9
+ @use 'sass:map';
10
+ @use 'sass:meta';
11
+ @use '../../elevation/lib/elevation';
12
+ @use '../../focus/focus-ring';
13
+ @use '../../ripple/ripple';
14
+ @use '../../sass/theme';
15
+ @use '../../sass/touch-target';
16
+
17
+ @mixin styles() {
18
+ :host {
19
+ display: inline-flex;
20
+ outline: none;
21
+ -webkit-tap-highlight-color: transparent;
22
+ /**
23
+ * Override vertical-align with shortest value "top". Vertical-align's default
24
+ * "baseline" value causes buttons to be misaligned next to each other if one
25
+ * button has an icon and the other does not.
26
+ */
27
+ vertical-align: top;
28
+ }
29
+
30
+ :host([disabled]) {
31
+ cursor: default;
32
+ pointer-events: none;
33
+ }
34
+
35
+ .md3-fab {
36
+ display: inline-flex;
37
+ border: none;
38
+ outline: none;
39
+ user-select: none;
40
+ -webkit-appearance: none;
41
+ vertical-align: middle;
42
+ text-decoration: none;
43
+ align-items: center;
44
+ justify-content: center;
45
+ position: relative;
46
+ z-index: 0; // Needed for elevation and ripple
47
+ background-color: var(--_container-color);
48
+
49
+ @include focus-ring.theme(
50
+ (
51
+ shape: var(--_container-shape),
52
+ )
53
+ );
54
+
55
+ @include ripple.theme(
56
+ (
57
+ hover-state-layer-color: var(--_hover-state-layer-color),
58
+ focus-state-layer-color: var(--_focus-state-layer-color),
59
+ pressed-state-layer-color: var(--_pressed-state-layer-color),
60
+ hover-state-layer-opacity: var(--_hover-state-layer-opacity),
61
+ focus-state-layer-opacity: var(--_focus-state-layer-opacity),
62
+ pressed-state-layer-opacity: var(--_pressed-state-layer-opacity),
63
+ )
64
+ );
65
+
66
+ @include elevation.theme(
67
+ (
68
+ // TODO: replace duration with animation tokens
69
+ duration: 280ms,
70
+ level: var(--_container-elevation),
71
+ shadow-color: var(--_container-shadow-color),
72
+ surface-tint-color: var(--_container-surface-tint-layer-color)
73
+ )
74
+ );
75
+
76
+ &.md3-fab--lowered {
77
+ @include elevation.theme(
78
+ (
79
+ level: var(--_lowered-container-elevation),
80
+ )
81
+ );
82
+ }
83
+
84
+ &:hover {
85
+ cursor: pointer;
86
+
87
+ @include elevation.theme(
88
+ (
89
+ level: var(--_hover-container-elevation),
90
+ )
91
+ );
92
+
93
+ &.md3-fab--lowered {
94
+ @include elevation.theme(
95
+ (
96
+ level: var(--_lowered-hover-container-elevation),
97
+ )
98
+ );
99
+ }
100
+ }
101
+
102
+ &:focus {
103
+ @include elevation.theme(
104
+ (
105
+ level: var(--_focus-container-elevation),
106
+ )
107
+ );
108
+
109
+ &.md3-fab--lowered {
110
+ @include elevation.theme(
111
+ (
112
+ level: var(--_lowered-focus-container-elevation),
113
+ )
114
+ );
115
+ }
116
+ }
117
+
118
+ &:active {
119
+ outline: none;
120
+
121
+ @include elevation.theme(
122
+ (
123
+ level: var(--_pressed-container-elevation),
124
+ )
125
+ );
126
+
127
+ &.md3-fab--lowered {
128
+ @include elevation.theme(
129
+ (
130
+ level: var(--_lowered-pressed-container-elevation),
131
+ )
132
+ );
133
+ }
134
+ }
135
+ }
136
+
137
+ md-elevation {
138
+ inset: 0;
139
+ position: absolute;
140
+ z-index: -1; // Place behind content
141
+ }
142
+
143
+ .md3-fab__ripple {
144
+ overflow: hidden;
145
+ z-index: -1; // Place behind content
146
+ }
147
+
148
+ .md3-fab,
149
+ .md3-fab__ripple {
150
+ border-radius: var(--_container-shape);
151
+ }
152
+
153
+ .md3-fab__icon {
154
+ display: inline-flex;
155
+ }
156
+
157
+ .md3-fab__touch {
158
+ @include touch-target.touch-target();
159
+ }
160
+
161
+ ::slotted(*),
162
+ .md3-fab__icon {
163
+ color: var(--_icon-color);
164
+ font-size: var(--_icon-size);
165
+ height: var(--_icon-size);
166
+ width: var(--_icon-size);
167
+
168
+ .md3-fab:hover & {
169
+ color: var(--_hover-icon-color);
170
+ }
171
+
172
+ .md3-fab:focus & {
173
+ color: var(--_focus-icon-color);
174
+ }
175
+
176
+ .md3-fab:active & {
177
+ color: var(--_pressed-icon-color);
178
+ }
179
+ }
180
+
181
+ @media (forced-colors: active) {
182
+ .md3-fab {
183
+ // Adjust the focus ring padding to account for the 1px border in HCM.
184
+ @include focus-ring.theme(
185
+ (
186
+ offset-vertical: 3px,
187
+ offset-horizontal: 3px,
188
+ )
189
+ );
190
+ border: 1px solid ButtonText;
191
+ }
192
+ }
193
+ }
194
+
195
+ @function resolve-tokens($tokens) {
196
+ $tokens: elevation.resolve-tokens(
197
+ $tokens,
198
+ 'container-elevation',
199
+ 'focus-container-elevation',
200
+ 'hover-container-elevation',
201
+ 'pressed-container-elevation',
202
+ 'lowered-container-elevation',
203
+ 'lowered-focus-container-elevation',
204
+ 'lowered-hover-container-elevation',
205
+ 'lowered-pressed-container-elevation'
206
+ );
207
+
208
+ @return $tokens;
209
+ }
@@ -4,6 +4,6 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import { css } from 'lit';
7
- export const styles = css `.md3-fab--extended{box-sizing:border-box;padding-inline-start:16px;padding-inline-end:20px}.md3-fab--extended .md3-fab__label{padding-inline-start:12px}@media(forced-colors: active){.md3-fab--extended{padding-inline-start:15px;padding-inline-end:19px}}.md3-fab--extended{--md-ripple-hover-state-layer-color:var(--md-fab-extended-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-focus-state-layer-color:var(--md-fab-extended-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-pressed-state-layer-color:var(--md-fab-extended-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-hover-state-layer-opacity:var(--md-fab-extended-hover-state-layer-opacity, 0.08);--md-ripple-focus-state-layer-opacity:var(--md-fab-extended-focus-state-layer-opacity, 0.12);--md-ripple-pressed-state-layer-opacity:var(--md-fab-extended-pressed-state-layer-opacity, 0.12);height:var(--md-fab-extended-container-height, 56px);font-family:var(--md-fab-extended-label-text-font, Roboto);line-height:var(--md-fab-extended-label-text-line-height, 20px);font-size:var(--md-fab-extended-label-text-size, 14px);font-weight:var(--md-fab-extended-label-text-weight, 500);letter-spacing:var(--md-fab-extended-label-text-tracking, 0.1px)}.md3-fab--extended:enabled{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended:enabled .md3-elevation-overlay{opacity:var(--md-fab-extended-container-elevation-overlay-opacity, 0.11)}.md3-fab--extended:hover{--md-elevation-box-shadow-for-gss:0px 2px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 6px 10px 4px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-hover-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended:hover .md3-elevation-overlay{opacity:var(--md-fab-extended-hover-container-elevation-overlay-opacity, 0.12)}.md3-fab--extended:focus{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-focus-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended:focus .md3-elevation-overlay{opacity:var(--md-fab-extended-focus-container-elevation-overlay-opacity, 0.11)}.md3-fab--extended:active{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-pressed-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended:active .md3-elevation-overlay{opacity:var(--md-fab-extended-pressed-container-elevation-overlay-opacity, 0.11)}.md3-fab--extended.md3-fab--lowered:enabled{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-lowered-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended.md3-fab--lowered:enabled .md3-elevation-overlay{opacity:var(--md-fab-extended-lowered-container-elevation-overlay-opacity, 0.05)}.md3-fab--extended.md3-fab--lowered:hover{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 2px 6px 2px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-lowered-hover-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended.md3-fab--lowered:hover .md3-elevation-overlay{opacity:var(--md-fab-extended-lowered-hover-container-elevation-overlay-opacity, 0.08)}.md3-fab--extended.md3-fab--lowered:focus{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-lowered-focus-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended.md3-fab--lowered:focus .md3-elevation-overlay{opacity:var(--md-fab-extended-lowered-focus-container-elevation-overlay-opacity, 0.05)}.md3-fab--extended.md3-fab--lowered:active{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-lowered-pressed-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended.md3-fab--lowered:active .md3-elevation-overlay{opacity:var(--md-fab-extended-lowered-pressed-container-elevation-overlay-opacity, 0.05)}.md3-fab--extended .md3-elevation-overlay{background-color:var(--md-fab-extended-container-surface-tint-layer-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:enabled{background-color:var(--md-fab-extended-container-color, var(--md-sys-color-surface, #fffbfe))}.md3-fab--extended,.md3-fab--extended .md3-fab__ripple{border-radius:var(--md-fab-extended-container-shape, 16px)}.md3-fab--extended:enabled ::slotted(*),.md3-fab--extended:enabled .md3-fab__icon{color:var(--md-fab-extended-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:hover ::slotted(*),.md3-fab--extended:hover .md3-fab__icon{color:var(--md-fab-extended-hover-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:focus ::slotted(*),.md3-fab--extended:focus .md3-fab__icon{color:var(--md-fab-extended-focus-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:active ::slotted(*),.md3-fab--extended:active .md3-fab__icon{color:var(--md-fab-extended-pressed-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended ::slotted(*),.md3-fab--extended .md3-fab__icon,.md3-fab--extended i,.md3-fab--extended svg,.md3-fab--extended img{font-size:var(--md-fab-extended-icon-size, 24px);height:var(--md-fab-extended-icon-size, 24px);width:var(--md-fab-extended-icon-size, 24px)}.md3-fab--extended:enabled .md3-fab__label{color:var(--md-fab-extended-label-text-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:hover .md3-fab__label{color:var(--md-fab-extended-hover-label-text-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:focus .md3-fab__label{color:var(--md-fab-extended-focus-label-text-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:active .md3-fab__label{color:var(--md-fab-extended-pressed-label-text-color, var(--md-sys-color-primary, #6750a4))}/*# sourceMappingURL=fab-extended-styles.css.map */
7
+ export const styles = css `:host{--_container-color: var(--md-fab-extended-container-color, var(--md-sys-color-surface, #fffbfe));--_container-elevation: var(--md-fab-extended-container-elevation, 3);--_container-height: var(--md-fab-extended-container-height, 56px);--_container-shadow-color: var(--md-fab-extended-container-shadow-color, var(--md-sys-color-shadow, #000));--_container-shape: var(--md-fab-extended-container-shape, 16px);--_container-surface-tint-layer-color: var(--md-fab-extended-container-surface-tint-layer-color, var(--md-sys-color-primary, #6750a4));--_focus-container-elevation: var(--md-fab-extended-focus-container-elevation, 3);--_focus-icon-color: var(--md-fab-extended-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_focus-label-text-color: var(--md-fab-extended-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_focus-state-layer-color: var(--md-fab-extended-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--_focus-state-layer-opacity: var(--md-fab-extended-focus-state-layer-opacity, 0.12);--_hover-container-elevation: var(--md-fab-extended-hover-container-elevation, 4);--_hover-icon-color: var(--md-fab-extended-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-fab-extended-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-fab-extended-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-fab-extended-hover-state-layer-opacity, 0.08);--_icon-color: var(--md-fab-extended-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-fab-extended-icon-size, 24px);--_label-text-color: var(--md-fab-extended-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-fab-extended-label-text-font, Roboto);--_label-text-line-height: var(--md-fab-extended-label-text-line-height, 1.25rem);--_label-text-size: var(--md-fab-extended-label-text-size, 0.875rem);--_label-text-tracking: var(--md-fab-extended-label-text-tracking, 0.006rem);--_label-text-type: var(--md-fab-extended-label-text-type, 500 0.875rem / 1.25rem Roboto);--_label-text-weight: var(--md-fab-extended-label-text-weight, 500);--_lowered-container-elevation: var(--md-fab-extended-lowered-container-elevation, 1);--_lowered-focus-container-elevation: var(--md-fab-extended-lowered-focus-container-elevation, 1);--_lowered-hover-container-elevation: var(--md-fab-extended-lowered-hover-container-elevation, 2);--_lowered-pressed-container-elevation: var(--md-fab-extended-lowered-pressed-container-elevation, 1);--_pressed-container-elevation: var(--md-fab-extended-pressed-container-elevation, 3);--_pressed-icon-color: var(--md-fab-extended-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_pressed-label-text-color: var(--md-fab-extended-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-color: var(--md-fab-extended-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-fab-extended-pressed-state-layer-opacity, 0.12)}.md3-fab--extended{box-sizing:border-box;padding-inline-start:16px;padding-inline-end:20px;height:var(--_container-height);font-family:var(--_label-text-font);line-height:var(--_label-text-line-height);font-size:var(--_label-text-size);font-weight:var(--_label-text-weight);letter-spacing:var(--_label-text-tracking)}.md3-fab__label{padding-inline-start:12px;color:var(--_label-text-color)}.md3-fab:hover .md3-fab__label{color:var(--_hover-label-text-color)}.md3-fab:focus .md3-fab__label{color:var(--_focus-label-text-color)}.md3-fab:active .md3-fab__label{color:var(--_pressed-label-text-color)}@media(forced-colors: active){.md3-fab--extended{padding-inline-start:15px;padding-inline-end:19px}}/*# sourceMappingURL=fab-extended-styles.css.map */
8
8
  `;
9
9
  //# sourceMappingURL=fab-extended-styles.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fab-extended-styles.css.js","sourceRoot":"","sources":["fab-extended-styles.css.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACH,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;CACzB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n import {css} from 'lit';\n export const styles = css`.md3-fab--extended{box-sizing:border-box;padding-inline-start:16px;padding-inline-end:20px}.md3-fab--extended .md3-fab__label{padding-inline-start:12px}@media(forced-colors: active){.md3-fab--extended{padding-inline-start:15px;padding-inline-end:19px}}.md3-fab--extended{--md-ripple-hover-state-layer-color:var(--md-fab-extended-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-focus-state-layer-color:var(--md-fab-extended-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-pressed-state-layer-color:var(--md-fab-extended-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-hover-state-layer-opacity:var(--md-fab-extended-hover-state-layer-opacity, 0.08);--md-ripple-focus-state-layer-opacity:var(--md-fab-extended-focus-state-layer-opacity, 0.12);--md-ripple-pressed-state-layer-opacity:var(--md-fab-extended-pressed-state-layer-opacity, 0.12);height:var(--md-fab-extended-container-height, 56px);font-family:var(--md-fab-extended-label-text-font, Roboto);line-height:var(--md-fab-extended-label-text-line-height, 20px);font-size:var(--md-fab-extended-label-text-size, 14px);font-weight:var(--md-fab-extended-label-text-weight, 500);letter-spacing:var(--md-fab-extended-label-text-tracking, 0.1px)}.md3-fab--extended:enabled{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended:enabled .md3-elevation-overlay{opacity:var(--md-fab-extended-container-elevation-overlay-opacity, 0.11)}.md3-fab--extended:hover{--md-elevation-box-shadow-for-gss:0px 2px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 6px 10px 4px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-hover-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended:hover .md3-elevation-overlay{opacity:var(--md-fab-extended-hover-container-elevation-overlay-opacity, 0.12)}.md3-fab--extended:focus{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-focus-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended:focus .md3-elevation-overlay{opacity:var(--md-fab-extended-focus-container-elevation-overlay-opacity, 0.11)}.md3-fab--extended:active{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-pressed-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended:active .md3-elevation-overlay{opacity:var(--md-fab-extended-pressed-container-elevation-overlay-opacity, 0.11)}.md3-fab--extended.md3-fab--lowered:enabled{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-lowered-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended.md3-fab--lowered:enabled .md3-elevation-overlay{opacity:var(--md-fab-extended-lowered-container-elevation-overlay-opacity, 0.05)}.md3-fab--extended.md3-fab--lowered:hover{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 2px 6px 2px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-lowered-hover-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended.md3-fab--lowered:hover .md3-elevation-overlay{opacity:var(--md-fab-extended-lowered-hover-container-elevation-overlay-opacity, 0.08)}.md3-fab--extended.md3-fab--lowered:focus{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-lowered-focus-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended.md3-fab--lowered:focus .md3-elevation-overlay{opacity:var(--md-fab-extended-lowered-focus-container-elevation-overlay-opacity, 0.05)}.md3-fab--extended.md3-fab--lowered:active{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-extended-lowered-pressed-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab--extended.md3-fab--lowered:active .md3-elevation-overlay{opacity:var(--md-fab-extended-lowered-pressed-container-elevation-overlay-opacity, 0.05)}.md3-fab--extended .md3-elevation-overlay{background-color:var(--md-fab-extended-container-surface-tint-layer-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:enabled{background-color:var(--md-fab-extended-container-color, var(--md-sys-color-surface, #fffbfe))}.md3-fab--extended,.md3-fab--extended .md3-fab__ripple{border-radius:var(--md-fab-extended-container-shape, 16px)}.md3-fab--extended:enabled ::slotted(*),.md3-fab--extended:enabled .md3-fab__icon{color:var(--md-fab-extended-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:hover ::slotted(*),.md3-fab--extended:hover .md3-fab__icon{color:var(--md-fab-extended-hover-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:focus ::slotted(*),.md3-fab--extended:focus .md3-fab__icon{color:var(--md-fab-extended-focus-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:active ::slotted(*),.md3-fab--extended:active .md3-fab__icon{color:var(--md-fab-extended-pressed-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended ::slotted(*),.md3-fab--extended .md3-fab__icon,.md3-fab--extended i,.md3-fab--extended svg,.md3-fab--extended img{font-size:var(--md-fab-extended-icon-size, 24px);height:var(--md-fab-extended-icon-size, 24px);width:var(--md-fab-extended-icon-size, 24px)}.md3-fab--extended:enabled .md3-fab__label{color:var(--md-fab-extended-label-text-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:hover .md3-fab__label{color:var(--md-fab-extended-hover-label-text-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:focus .md3-fab__label{color:var(--md-fab-extended-focus-label-text-color, var(--md-sys-color-primary, #6750a4))}.md3-fab--extended:active .md3-fab__label{color:var(--md-fab-extended-pressed-label-text-color, var(--md-sys-color-primary, #6750a4))}/*# sourceMappingURL=fab-extended-styles.css.map */\n`;\n "]}
1
+ {"version":3,"file":"fab-extended-styles.css.js","sourceRoot":"","sources":["fab-extended-styles.css.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACH,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;CACzB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n import {css} from 'lit';\n export const styles = css`:host{--_container-color: var(--md-fab-extended-container-color, var(--md-sys-color-surface, #fffbfe));--_container-elevation: var(--md-fab-extended-container-elevation, 3);--_container-height: var(--md-fab-extended-container-height, 56px);--_container-shadow-color: var(--md-fab-extended-container-shadow-color, var(--md-sys-color-shadow, #000));--_container-shape: var(--md-fab-extended-container-shape, 16px);--_container-surface-tint-layer-color: var(--md-fab-extended-container-surface-tint-layer-color, var(--md-sys-color-primary, #6750a4));--_focus-container-elevation: var(--md-fab-extended-focus-container-elevation, 3);--_focus-icon-color: var(--md-fab-extended-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_focus-label-text-color: var(--md-fab-extended-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_focus-state-layer-color: var(--md-fab-extended-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--_focus-state-layer-opacity: var(--md-fab-extended-focus-state-layer-opacity, 0.12);--_hover-container-elevation: var(--md-fab-extended-hover-container-elevation, 4);--_hover-icon-color: var(--md-fab-extended-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-fab-extended-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-fab-extended-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-fab-extended-hover-state-layer-opacity, 0.08);--_icon-color: var(--md-fab-extended-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-fab-extended-icon-size, 24px);--_label-text-color: var(--md-fab-extended-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-fab-extended-label-text-font, Roboto);--_label-text-line-height: var(--md-fab-extended-label-text-line-height, 1.25rem);--_label-text-size: var(--md-fab-extended-label-text-size, 0.875rem);--_label-text-tracking: var(--md-fab-extended-label-text-tracking, 0.006rem);--_label-text-type: var(--md-fab-extended-label-text-type, 500 0.875rem / 1.25rem Roboto);--_label-text-weight: var(--md-fab-extended-label-text-weight, 500);--_lowered-container-elevation: var(--md-fab-extended-lowered-container-elevation, 1);--_lowered-focus-container-elevation: var(--md-fab-extended-lowered-focus-container-elevation, 1);--_lowered-hover-container-elevation: var(--md-fab-extended-lowered-hover-container-elevation, 2);--_lowered-pressed-container-elevation: var(--md-fab-extended-lowered-pressed-container-elevation, 1);--_pressed-container-elevation: var(--md-fab-extended-pressed-container-elevation, 3);--_pressed-icon-color: var(--md-fab-extended-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_pressed-label-text-color: var(--md-fab-extended-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-color: var(--md-fab-extended-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-fab-extended-pressed-state-layer-opacity, 0.12)}.md3-fab--extended{box-sizing:border-box;padding-inline-start:16px;padding-inline-end:20px;height:var(--_container-height);font-family:var(--_label-text-font);line-height:var(--_label-text-line-height);font-size:var(--_label-text-size);font-weight:var(--_label-text-weight);letter-spacing:var(--_label-text-tracking)}.md3-fab__label{padding-inline-start:12px;color:var(--_label-text-color)}.md3-fab:hover .md3-fab__label{color:var(--_hover-label-text-color)}.md3-fab:focus .md3-fab__label{color:var(--_focus-label-text-color)}.md3-fab:active .md3-fab__label{color:var(--_pressed-label-text-color)}@media(forced-colors: active){.md3-fab--extended{padding-inline-start:15px;padding-inline-end:19px}}/*# sourceMappingURL=fab-extended-styles.css.map */\n`;\n "]}
@@ -3,14 +3,6 @@
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  //
5
5
 
6
- // stylelint-disable selector-class-pattern --
7
- // Selector '.md3-*' should only be used in this project.
8
-
9
- @use './fab-extended-theme';
10
6
  @use './fab-extended';
11
7
 
12
- @include fab-extended.static-styles();
13
-
14
- .md3-fab--extended {
15
- @include fab-extended-theme.theme-styles(fab-extended-theme.$surface-theme);
16
- }
8
+ @include fab-extended.styles;
@@ -4,6 +4,6 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import { css } from 'lit';
7
- export const styles = css `:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);vertical-align:top}:host([disabled]){cursor:default;pointer-events:none}.md3-fab{position:relative;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);z-index:0;--mdc-ripple-z-index:-1;display:inline-flex;border:none;outline:none;user-select:none;-webkit-appearance:none;vertical-align:middle;text-decoration:none;align-items:center;justify-content:center;position:relative}.md3-fab .md3-fab__ripple{overflow:hidden}.md3-fab:active{outline:none}.md3-fab:hover{cursor:pointer}.md3-fab .md3-fab__icon{display:inline-flex}.md3-fab .md3-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media(forced-colors: active){.md3-fab{--md-focus-ring-container-outer-padding-vertical:3px;--md-focus-ring-container-outer-padding-horizontal:3px;border:1px solid ButtonText}}/*# sourceMappingURL=fab-shared-styles.css.map */
7
+ export const styles = css `:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);vertical-align:top}:host([disabled]){cursor:default;pointer-events:none}.md3-fab{display:inline-flex;border:none;outline:none;user-select:none;-webkit-appearance:none;vertical-align:middle;text-decoration:none;align-items:center;justify-content:center;position:relative;z-index:0;background-color:var(--_container-color);--md-focus-ring-shape-start-start:var(--_container-shape);--md-focus-ring-shape-start-end:var(--_container-shape);--md-focus-ring-shape-end-end:var(--_container-shape);--md-focus-ring-shape-end-start:var(--_container-shape);--md-ripple-hover-state-layer-color:var(--_hover-state-layer-color);--md-ripple-focus-state-layer-color:var(--_focus-state-layer-color);--md-ripple-pressed-state-layer-color:var(--_pressed-state-layer-color);--md-ripple-hover-state-layer-opacity:var(--_hover-state-layer-opacity);--md-ripple-focus-state-layer-opacity:var(--_focus-state-layer-opacity);--md-ripple-pressed-state-layer-opacity:var(--_pressed-state-layer-opacity);--md-elevation-duration:280ms;--md-elevation-level:var(--_container-elevation);--md-elevation-shadow-color:var(--_container-shadow-color);--md-elevation-surface-tint-color:var(--_container-surface-tint-layer-color)}.md3-fab.md3-fab--lowered{--md-elevation-level:var(--_lowered-container-elevation)}.md3-fab:hover{cursor:pointer;--md-elevation-level:var(--_hover-container-elevation)}.md3-fab:hover.md3-fab--lowered{--md-elevation-level:var(--_lowered-hover-container-elevation)}.md3-fab:focus{--md-elevation-level:var(--_focus-container-elevation)}.md3-fab:focus.md3-fab--lowered{--md-elevation-level:var(--_lowered-focus-container-elevation)}.md3-fab:active{outline:none;--md-elevation-level:var(--_pressed-container-elevation)}.md3-fab:active.md3-fab--lowered{--md-elevation-level:var(--_lowered-pressed-container-elevation)}md-elevation{inset:0;position:absolute;z-index:-1}.md3-fab__ripple{overflow:hidden;z-index:-1}.md3-fab,.md3-fab__ripple{border-radius:var(--_container-shape)}.md3-fab__icon{display:inline-flex}.md3-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}::slotted(*),.md3-fab__icon{color:var(--_icon-color);font-size:var(--_icon-size);height:var(--_icon-size);width:var(--_icon-size)}.md3-fab:hover ::slotted(*),.md3-fab:hover .md3-fab__icon{color:var(--_hover-icon-color)}.md3-fab:focus ::slotted(*),.md3-fab:focus .md3-fab__icon{color:var(--_focus-icon-color)}.md3-fab:active ::slotted(*),.md3-fab:active .md3-fab__icon{color:var(--_pressed-icon-color)}@media(forced-colors: active){.md3-fab{--md-focus-ring-offset-vertical:3px;--md-focus-ring-offset-horizontal:3px;border:1px solid ButtonText}}/*# sourceMappingURL=fab-shared-styles.css.map */
8
8
  `;
9
9
  //# sourceMappingURL=fab-shared-styles.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fab-shared-styles.css.js","sourceRoot":"","sources":["fab-shared-styles.css.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACH,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;CACzB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n import {css} from 'lit';\n export const styles = css`:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);vertical-align:top}:host([disabled]){cursor:default;pointer-events:none}.md3-fab{position:relative;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);z-index:0;--mdc-ripple-z-index:-1;display:inline-flex;border:none;outline:none;user-select:none;-webkit-appearance:none;vertical-align:middle;text-decoration:none;align-items:center;justify-content:center;position:relative}.md3-fab .md3-fab__ripple{overflow:hidden}.md3-fab:active{outline:none}.md3-fab:hover{cursor:pointer}.md3-fab .md3-fab__icon{display:inline-flex}.md3-fab .md3-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media(forced-colors: active){.md3-fab{--md-focus-ring-container-outer-padding-vertical:3px;--md-focus-ring-container-outer-padding-horizontal:3px;border:1px solid ButtonText}}/*# sourceMappingURL=fab-shared-styles.css.map */\n`;\n "]}
1
+ {"version":3,"file":"fab-shared-styles.css.js","sourceRoot":"","sources":["fab-shared-styles.css.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACH,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;CACzB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n import {css} from 'lit';\n export const styles = css`:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);vertical-align:top}:host([disabled]){cursor:default;pointer-events:none}.md3-fab{display:inline-flex;border:none;outline:none;user-select:none;-webkit-appearance:none;vertical-align:middle;text-decoration:none;align-items:center;justify-content:center;position:relative;z-index:0;background-color:var(--_container-color);--md-focus-ring-shape-start-start:var(--_container-shape);--md-focus-ring-shape-start-end:var(--_container-shape);--md-focus-ring-shape-end-end:var(--_container-shape);--md-focus-ring-shape-end-start:var(--_container-shape);--md-ripple-hover-state-layer-color:var(--_hover-state-layer-color);--md-ripple-focus-state-layer-color:var(--_focus-state-layer-color);--md-ripple-pressed-state-layer-color:var(--_pressed-state-layer-color);--md-ripple-hover-state-layer-opacity:var(--_hover-state-layer-opacity);--md-ripple-focus-state-layer-opacity:var(--_focus-state-layer-opacity);--md-ripple-pressed-state-layer-opacity:var(--_pressed-state-layer-opacity);--md-elevation-duration:280ms;--md-elevation-level:var(--_container-elevation);--md-elevation-shadow-color:var(--_container-shadow-color);--md-elevation-surface-tint-color:var(--_container-surface-tint-layer-color)}.md3-fab.md3-fab--lowered{--md-elevation-level:var(--_lowered-container-elevation)}.md3-fab:hover{cursor:pointer;--md-elevation-level:var(--_hover-container-elevation)}.md3-fab:hover.md3-fab--lowered{--md-elevation-level:var(--_lowered-hover-container-elevation)}.md3-fab:focus{--md-elevation-level:var(--_focus-container-elevation)}.md3-fab:focus.md3-fab--lowered{--md-elevation-level:var(--_lowered-focus-container-elevation)}.md3-fab:active{outline:none;--md-elevation-level:var(--_pressed-container-elevation)}.md3-fab:active.md3-fab--lowered{--md-elevation-level:var(--_lowered-pressed-container-elevation)}md-elevation{inset:0;position:absolute;z-index:-1}.md3-fab__ripple{overflow:hidden;z-index:-1}.md3-fab,.md3-fab__ripple{border-radius:var(--_container-shape)}.md3-fab__icon{display:inline-flex}.md3-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}::slotted(*),.md3-fab__icon{color:var(--_icon-color);font-size:var(--_icon-size);height:var(--_icon-size);width:var(--_icon-size)}.md3-fab:hover ::slotted(*),.md3-fab:hover .md3-fab__icon{color:var(--_hover-icon-color)}.md3-fab:focus ::slotted(*),.md3-fab:focus .md3-fab__icon{color:var(--_focus-icon-color)}.md3-fab:active ::slotted(*),.md3-fab:active .md3-fab__icon{color:var(--_pressed-icon-color)}@media(forced-colors: active){.md3-fab{--md-focus-ring-offset-vertical:3px;--md-focus-ring-offset-horizontal:3px;border:1px solid ButtonText}}/*# sourceMappingURL=fab-shared-styles.css.map */\n`;\n "]}
@@ -3,6 +3,6 @@
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  //
5
5
 
6
- @use './fab-shared';
6
+ @use './shared';
7
7
 
8
- @include fab-shared.static-styles;
8
+ @include shared.styles;
@@ -3,12 +3,13 @@
3
3
  * Copyright 2022 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import '@material/web/focus/focus-ring.js';
7
- import '@material/web/ripple/ripple.js';
8
- import { ActionElement, BeginPressConfig, EndPressConfig } from '@material/web/actionelement/action-element.js';
9
- import { MdRipple } from '@material/web/ripple/ripple.js';
6
+ import '../../elevation/elevation.js';
7
+ import '../../focus/focus-ring.js';
8
+ import '../../ripple/ripple.js';
10
9
  import { TemplateResult } from 'lit';
11
10
  import { ClassInfo } from 'lit/directives/class-map.js';
11
+ import { ActionElement, BeginPressConfig, EndPressConfig } from '../../actionelement/action-element.js';
12
+ import { MdRipple } from '../../ripple/ripple.js';
12
13
  /**
13
14
  * @soyCompatible
14
15
  */
@@ -35,7 +36,7 @@ export declare abstract class FabShared extends ActionElement {
35
36
  /** @soyTemplate */
36
37
  protected renderLabel(): TemplateResult | string;
37
38
  /** @soyTemplate */
38
- protected renderElevationOverlay(): TemplateResult;
39
+ protected renderElevation(): TemplateResult;
39
40
  /** @soyTemplate */
40
41
  protected renderRipple(): TemplateResult;
41
42
  /** @soyTemplate */
@@ -4,14 +4,15 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import { __decorate, __metadata } from "tslib";
7
- import '@material/web/focus/focus-ring.js';
8
- import '@material/web/ripple/ripple.js';
9
- import { ActionElement } from '@material/web/actionelement/action-element.js';
10
- import { pointerPress, shouldShowStrongFocus } from '@material/web/focus/strong-focus.js';
11
- import { MdRipple } from '@material/web/ripple/ripple.js';
7
+ import '../../elevation/elevation.js';
8
+ import '../../focus/focus-ring.js';
9
+ import '../../ripple/ripple.js';
12
10
  import { html } from 'lit';
13
11
  import { property, query, state } from 'lit/decorators.js';
14
12
  import { classMap } from 'lit/directives/class-map.js';
13
+ import { ActionElement } from '../../actionelement/action-element.js';
14
+ import { pointerPress, shouldShowStrongFocus } from '../../focus/strong-focus.js';
15
+ import { MdRipple } from '../../ripple/ripple.js';
15
16
  /**
16
17
  * @soyCompatible
17
18
  */
@@ -45,7 +46,7 @@ export class FabShared extends ActionElement {
45
46
  @pointerenter="${this.handlePointerEnter}"
46
47
  @click="${this.handleClick}"
47
48
  @contextmenu="${this.handleContextMenu}">
48
- ${this.renderElevationOverlay()}
49
+ ${this.renderElevation()}
49
50
  ${this.renderFocusRing()}
50
51
  ${this.renderRipple()}
51
52
  <span class="md3-fab__icon">
@@ -69,8 +70,8 @@ export class FabShared extends ActionElement {
69
70
  return '';
70
71
  }
71
72
  /** @soyTemplate */
72
- renderElevationOverlay() {
73
- return html `<div class="md3-elevation-overlay"></div>`;
73
+ renderElevation() {
74
+ return html `<md-elevation shadow surface></md-elevation>`;
74
75
  }
75
76
  /** @soyTemplate */
76
77
  renderRipple() {
@@ -1 +1 @@
1
- {"version":3,"file":"fab-shared.js","sourceRoot":"","sources":["fab-shared.ts"],"names":[],"mappings":"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","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport '@material/web/focus/focus-ring.js';\nimport '@material/web/ripple/ripple.js';\n\nimport {ActionElement, BeginPressConfig, EndPressConfig} from '@material/web/actionelement/action-element.js';\nimport {pointerPress, shouldShowStrongFocus} from '@material/web/focus/strong-focus.js';\nimport {MdRipple} from '@material/web/ripple/ripple.js';\nimport {html, TemplateResult} from 'lit';\nimport {property, query, state} from 'lit/decorators.js';\nimport {ClassInfo, classMap} from 'lit/directives/class-map.js';\n\n/**\n * @soyCompatible\n */\nexport abstract class FabShared extends ActionElement {\n static override shadowRootOptions:\n ShadowRootInit = {mode: 'open', delegatesFocus: true};\n\n @property({type: Boolean}) disabled = false;\n\n @property() icon = '';\n\n @property() label = '';\n\n @property({type: Boolean}) lowered = false;\n\n @property({type: Boolean}) reducedTouchTarget = false;\n\n @query('md-ripple') ripple!: MdRipple;\n\n @state() protected showFocusRing = false;\n\n /**\n * @soyTemplate\n * @soyClasses fabClasses: .md3-fab\n */\n protected override render(): TemplateResult {\n const ariaLabel = this.label ? this.label : this.icon;\n\n return html`\n <button\n class=\"md3-fab md3-surface ${classMap(this.getRenderClasses())}\"\n ?disabled=\"${this.disabled}\"\n aria-label=\"${ariaLabel}\"\n @focus=\"${this.handleFocus}\"\n @blur=\"${this.handleBlur}\"\n @pointerdown=\"${this.handlePointerDown}\"\n @pointerup=\"${this.handlePointerUp}\"\n @pointercancel=\"${this.handlePointerCancel}\"\n @pointerleave=\"${this.handlePointerLeave}\"\n @pointerenter=\"${this.handlePointerEnter}\"\n @click=\"${this.handleClick}\"\n @contextmenu=\"${this.handleContextMenu}\">\n ${this.renderElevationOverlay()}\n ${this.renderFocusRing()}\n ${this.renderRipple()}\n <span class=\"md3-fab__icon\">\n <slot name=\"icon\">${this.renderIcon(this.icon)}</slot>\n </span>\n ${this.renderLabel()}\n ${this.renderTouchTarget()}\n </button>`;\n }\n\n /** @soyTemplate */\n protected getRenderClasses(): ClassInfo {\n return {'md3-fab--lowered': this.lowered};\n }\n\n /** @soyTemplate */\n protected abstract renderIcon(icon: string): TemplateResult|string;\n\n /** @soyTemplate */\n protected renderTouchTarget(): TemplateResult {\n return this.reducedTouchTarget ? html`` :\n html`<div class=\"md3-fab__touch\"></div>`;\n }\n\n /** @soyTemplate */\n protected renderLabel(): TemplateResult|string {\n return '';\n }\n\n /** @soyTemplate */\n protected renderElevationOverlay(): TemplateResult {\n return html`<div class=\"md3-elevation-overlay\"></div>`;\n }\n\n /** @soyTemplate */\n protected renderRipple(): TemplateResult {\n return html`<md-ripple class=\"md3-fab__ripple\" ?disabled=\"${\n this.disabled}\"></md-ripple>`;\n }\n\n /** @soyTemplate */\n protected renderFocusRing(): TemplateResult {\n return html`<md-focus-ring .visible=\"${\n this.showFocusRing}\"></md-focus-ring>`;\n }\n\n override beginPress({positionEvent}: BeginPressConfig) {\n this.ripple.beginPress(positionEvent);\n }\n\n override endPress(options: EndPressConfig) {\n this.ripple.endPress();\n super.endPress(options);\n }\n\n override handlePointerDown(e: PointerEvent) {\n super.handlePointerDown(e);\n pointerPress();\n this.showFocusRing = shouldShowStrongFocus();\n }\n\n protected handlePointerEnter(e: PointerEvent) {\n this.ripple.beginHover(e);\n }\n\n override handlePointerLeave(e: PointerEvent) {\n super.handlePointerLeave(e);\n this.ripple.endHover();\n }\n\n protected handleFocus() {\n this.showFocusRing = shouldShowStrongFocus();\n }\n\n protected handleBlur() {\n this.showFocusRing = false;\n }\n}\n"]}
1
+ {"version":3,"file":"fab-shared.js","sourceRoot":"","sources":["fab-shared.ts"],"names":[],"mappings":"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","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport '../../elevation/elevation.js';\nimport '../../focus/focus-ring.js';\nimport '../../ripple/ripple.js';\n\nimport {html, TemplateResult} from 'lit';\nimport {property, query, state} from 'lit/decorators.js';\nimport {ClassInfo, classMap} from 'lit/directives/class-map.js';\n\nimport {ActionElement, BeginPressConfig, EndPressConfig} from '../../actionelement/action-element.js';\nimport {pointerPress, shouldShowStrongFocus} from '../../focus/strong-focus.js';\nimport {MdRipple} from '../../ripple/ripple.js';\n\n/**\n * @soyCompatible\n */\nexport abstract class FabShared extends ActionElement {\n static override shadowRootOptions:\n ShadowRootInit = {mode: 'open', delegatesFocus: true};\n\n @property({type: Boolean}) disabled = false;\n\n @property() icon = '';\n\n @property() label = '';\n\n @property({type: Boolean}) lowered = false;\n\n @property({type: Boolean}) reducedTouchTarget = false;\n\n @query('md-ripple') ripple!: MdRipple;\n\n @state() protected showFocusRing = false;\n\n /**\n * @soyTemplate\n * @soyClasses fabClasses: .md3-fab\n */\n protected override render(): TemplateResult {\n const ariaLabel = this.label ? this.label : this.icon;\n\n return html`\n <button\n class=\"md3-fab md3-surface ${classMap(this.getRenderClasses())}\"\n ?disabled=\"${this.disabled}\"\n aria-label=\"${ariaLabel}\"\n @focus=\"${this.handleFocus}\"\n @blur=\"${this.handleBlur}\"\n @pointerdown=\"${this.handlePointerDown}\"\n @pointerup=\"${this.handlePointerUp}\"\n @pointercancel=\"${this.handlePointerCancel}\"\n @pointerleave=\"${this.handlePointerLeave}\"\n @pointerenter=\"${this.handlePointerEnter}\"\n @click=\"${this.handleClick}\"\n @contextmenu=\"${this.handleContextMenu}\">\n ${this.renderElevation()}\n ${this.renderFocusRing()}\n ${this.renderRipple()}\n <span class=\"md3-fab__icon\">\n <slot name=\"icon\">${this.renderIcon(this.icon)}</slot>\n </span>\n ${this.renderLabel()}\n ${this.renderTouchTarget()}\n </button>`;\n }\n\n /** @soyTemplate */\n protected getRenderClasses(): ClassInfo {\n return {'md3-fab--lowered': this.lowered};\n }\n\n /** @soyTemplate */\n protected abstract renderIcon(icon: string): TemplateResult|string;\n\n /** @soyTemplate */\n protected renderTouchTarget(): TemplateResult {\n return this.reducedTouchTarget ? html`` :\n html`<div class=\"md3-fab__touch\"></div>`;\n }\n\n /** @soyTemplate */\n protected renderLabel(): TemplateResult|string {\n return '';\n }\n\n /** @soyTemplate */\n protected renderElevation(): TemplateResult {\n return html`<md-elevation shadow surface></md-elevation>`;\n }\n\n /** @soyTemplate */\n protected renderRipple(): TemplateResult {\n return html`<md-ripple class=\"md3-fab__ripple\" ?disabled=\"${\n this.disabled}\"></md-ripple>`;\n }\n\n /** @soyTemplate */\n protected renderFocusRing(): TemplateResult {\n return html`<md-focus-ring .visible=\"${\n this.showFocusRing}\"></md-focus-ring>`;\n }\n\n override beginPress({positionEvent}: BeginPressConfig) {\n this.ripple.beginPress(positionEvent);\n }\n\n override endPress(options: EndPressConfig) {\n this.ripple.endPress();\n super.endPress(options);\n }\n\n override handlePointerDown(e: PointerEvent) {\n super.handlePointerDown(e);\n pointerPress();\n this.showFocusRing = shouldShowStrongFocus();\n }\n\n protected handlePointerEnter(e: PointerEvent) {\n this.ripple.beginHover(e);\n }\n\n override handlePointerLeave(e: PointerEvent) {\n super.handlePointerLeave(e);\n this.ripple.endHover();\n }\n\n protected handleFocus() {\n this.showFocusRing = shouldShowStrongFocus();\n }\n\n protected handleBlur() {\n this.showFocusRing = false;\n }\n}\n"]}
@@ -4,6 +4,6 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import { css } from 'lit';
7
- export const styles = css `.md3-fab--regular{padding:0}.md3-fab{--md-ripple-hover-state-layer-color:var(--md-fab-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-focus-state-layer-color:var(--md-fab-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-pressed-state-layer-color:var(--md-fab-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-hover-state-layer-opacity:var(--md-fab-hover-state-layer-opacity, 0.08);--md-ripple-focus-state-layer-opacity:var(--md-fab-focus-state-layer-opacity, 0.12);--md-ripple-pressed-state-layer-opacity:var(--md-fab-pressed-state-layer-opacity, 0.12);width:var(--md-fab-container-width, 56px);height:var(--md-fab-container-height, 56px)}.md3-fab:enabled{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab:enabled .md3-elevation-overlay{opacity:var(--md-fab-container-elevation-overlay-opacity, 0.11)}.md3-fab:hover{--md-elevation-box-shadow-for-gss:0px 2px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 6px 10px 4px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-hover-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab:hover .md3-elevation-overlay{opacity:var(--md-fab-hover-container-elevation-overlay-opacity, 0.12)}.md3-fab:focus{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-focus-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab:focus .md3-elevation-overlay{opacity:var(--md-fab-focus-container-elevation-overlay-opacity, 0.11)}.md3-fab:active{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-pressed-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab:active .md3-elevation-overlay{opacity:var(--md-fab-pressed-container-elevation-overlay-opacity, 0.11)}.md3-fab.md3-fab--lowered:enabled{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-lowered-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab.md3-fab--lowered:enabled .md3-elevation-overlay{opacity:var(--md-fab-lowered-container-elevation-overlay-opacity, 0.05)}.md3-fab.md3-fab--lowered:hover{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 2px 6px 2px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-lowered-hover-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab.md3-fab--lowered:hover .md3-elevation-overlay{opacity:var(--md-fab-lowered-hover-container-elevation-overlay-opacity, 0.08)}.md3-fab.md3-fab--lowered:focus{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-lowered-focus-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab.md3-fab--lowered:focus .md3-elevation-overlay{opacity:var(--md-fab-lowered-focus-container-elevation-overlay-opacity, 0.05)}.md3-fab.md3-fab--lowered:active{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-lowered-pressed-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab.md3-fab--lowered:active .md3-elevation-overlay{opacity:var(--md-fab-lowered-pressed-container-elevation-overlay-opacity, 0.05)}.md3-fab .md3-elevation-overlay{background-color:var(--md-fab-container-surface-tint-layer-color, var(--md-sys-color-primary, #6750a4))}.md3-fab:enabled{background-color:var(--md-fab-container-color, var(--md-sys-color-surface, #fffbfe))}.md3-fab,.md3-fab .md3-fab__ripple{border-radius:var(--md-fab-container-shape, 16px)}.md3-fab:enabled ::slotted(*),.md3-fab:enabled .md3-fab__icon{color:var(--md-fab-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab:hover ::slotted(*),.md3-fab:hover .md3-fab__icon{color:var(--md-fab-hover-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab:focus ::slotted(*),.md3-fab:focus .md3-fab__icon{color:var(--md-fab-focus-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab:active ::slotted(*),.md3-fab:active .md3-fab__icon{color:var(--md-fab-pressed-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab ::slotted(*),.md3-fab .md3-fab__icon,.md3-fab i,.md3-fab svg,.md3-fab img{font-size:var(--md-fab-icon-size, 24px);height:var(--md-fab-icon-size, 24px);width:var(--md-fab-icon-size, 24px)}/*# sourceMappingURL=fab-styles.css.map */
7
+ export const styles = css `:host{--_container-color: var(--md-fab-container-color, var(--md-sys-color-surface, #fffbfe));--_container-elevation: var(--md-fab-container-elevation, 3);--_container-height: var(--md-fab-container-height, 56px);--_container-shadow-color: var(--md-fab-container-shadow-color, var(--md-sys-color-shadow, #000));--_container-shape: var(--md-fab-container-shape, 16px);--_container-surface-tint-layer-color: var(--md-fab-container-surface-tint-layer-color, var(--md-sys-color-primary, #6750a4));--_container-width: var(--md-fab-container-width, 56px);--_focus-container-elevation: var(--md-fab-focus-container-elevation, 3);--_focus-icon-color: var(--md-fab-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_focus-state-layer-color: var(--md-fab-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--_focus-state-layer-opacity: var(--md-fab-focus-state-layer-opacity, 0.12);--_hover-container-elevation: var(--md-fab-hover-container-elevation, 4);--_hover-icon-color: var(--md-fab-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-fab-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-fab-hover-state-layer-opacity, 0.08);--_icon-color: var(--md-fab-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-fab-icon-size, 24px);--_lowered-container-elevation: var(--md-fab-lowered-container-elevation, 1);--_lowered-focus-container-elevation: var(--md-fab-lowered-focus-container-elevation, 1);--_lowered-hover-container-elevation: var(--md-fab-lowered-hover-container-elevation, 2);--_lowered-pressed-container-elevation: var(--md-fab-lowered-pressed-container-elevation, 1);--_pressed-container-elevation: var(--md-fab-pressed-container-elevation, 3);--_pressed-icon-color: var(--md-fab-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-color: var(--md-fab-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-fab-pressed-state-layer-opacity, 0.12)}.md3-fab{width:var(--_container-width);height:var(--_container-height)}.md3-fab--regular{padding:0}/*# sourceMappingURL=fab-styles.css.map */
8
8
  `;
9
9
  //# sourceMappingURL=fab-styles.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fab-styles.css.js","sourceRoot":"","sources":["fab-styles.css.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACH,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;CACzB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n import {css} from 'lit';\n export const styles = css`.md3-fab--regular{padding:0}.md3-fab{--md-ripple-hover-state-layer-color:var(--md-fab-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-focus-state-layer-color:var(--md-fab-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-pressed-state-layer-color:var(--md-fab-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-hover-state-layer-opacity:var(--md-fab-hover-state-layer-opacity, 0.08);--md-ripple-focus-state-layer-opacity:var(--md-fab-focus-state-layer-opacity, 0.12);--md-ripple-pressed-state-layer-opacity:var(--md-fab-pressed-state-layer-opacity, 0.12);width:var(--md-fab-container-width, 56px);height:var(--md-fab-container-height, 56px)}.md3-fab:enabled{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab:enabled .md3-elevation-overlay{opacity:var(--md-fab-container-elevation-overlay-opacity, 0.11)}.md3-fab:hover{--md-elevation-box-shadow-for-gss:0px 2px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 6px 10px 4px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-hover-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab:hover .md3-elevation-overlay{opacity:var(--md-fab-hover-container-elevation-overlay-opacity, 0.12)}.md3-fab:focus{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-focus-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab:focus .md3-elevation-overlay{opacity:var(--md-fab-focus-container-elevation-overlay-opacity, 0.11)}.md3-fab:active{--md-elevation-box-shadow-for-gss:0px 1px 3px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 4px 8px 3px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-pressed-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab:active .md3-elevation-overlay{opacity:var(--md-fab-pressed-container-elevation-overlay-opacity, 0.11)}.md3-fab.md3-fab--lowered:enabled{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-lowered-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab.md3-fab--lowered:enabled .md3-elevation-overlay{opacity:var(--md-fab-lowered-container-elevation-overlay-opacity, 0.05)}.md3-fab.md3-fab--lowered:hover{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 2px 6px 2px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-lowered-hover-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab.md3-fab--lowered:hover .md3-elevation-overlay{opacity:var(--md-fab-lowered-hover-container-elevation-overlay-opacity, 0.08)}.md3-fab.md3-fab--lowered:focus{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-lowered-focus-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab.md3-fab--lowered:focus .md3-elevation-overlay{opacity:var(--md-fab-lowered-focus-container-elevation-overlay-opacity, 0.05)}.md3-fab.md3-fab--lowered:active{--md-elevation-box-shadow-for-gss:0px 1px 2px 0px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.3), 0px 1px 3px 1px rgb(var(--md-sys-color-shadow-rgb, 0, 0, 0), 0.15);box-shadow:var(--md-fab-lowered-pressed-container-elevation-shadow, var(--md-elevation-box-shadow-for-gss))}.md3-fab.md3-fab--lowered:active .md3-elevation-overlay{opacity:var(--md-fab-lowered-pressed-container-elevation-overlay-opacity, 0.05)}.md3-fab .md3-elevation-overlay{background-color:var(--md-fab-container-surface-tint-layer-color, var(--md-sys-color-primary, #6750a4))}.md3-fab:enabled{background-color:var(--md-fab-container-color, var(--md-sys-color-surface, #fffbfe))}.md3-fab,.md3-fab .md3-fab__ripple{border-radius:var(--md-fab-container-shape, 16px)}.md3-fab:enabled ::slotted(*),.md3-fab:enabled .md3-fab__icon{color:var(--md-fab-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab:hover ::slotted(*),.md3-fab:hover .md3-fab__icon{color:var(--md-fab-hover-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab:focus ::slotted(*),.md3-fab:focus .md3-fab__icon{color:var(--md-fab-focus-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab:active ::slotted(*),.md3-fab:active .md3-fab__icon{color:var(--md-fab-pressed-icon-color, var(--md-sys-color-primary, #6750a4))}.md3-fab ::slotted(*),.md3-fab .md3-fab__icon,.md3-fab i,.md3-fab svg,.md3-fab img{font-size:var(--md-fab-icon-size, 24px);height:var(--md-fab-icon-size, 24px);width:var(--md-fab-icon-size, 24px)}/*# sourceMappingURL=fab-styles.css.map */\n`;\n "]}
1
+ {"version":3,"file":"fab-styles.css.js","sourceRoot":"","sources":["fab-styles.css.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACH,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;CACzB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n import {css} from 'lit';\n export const styles = css`:host{--_container-color: var(--md-fab-container-color, var(--md-sys-color-surface, #fffbfe));--_container-elevation: var(--md-fab-container-elevation, 3);--_container-height: var(--md-fab-container-height, 56px);--_container-shadow-color: var(--md-fab-container-shadow-color, var(--md-sys-color-shadow, #000));--_container-shape: var(--md-fab-container-shape, 16px);--_container-surface-tint-layer-color: var(--md-fab-container-surface-tint-layer-color, var(--md-sys-color-primary, #6750a4));--_container-width: var(--md-fab-container-width, 56px);--_focus-container-elevation: var(--md-fab-focus-container-elevation, 3);--_focus-icon-color: var(--md-fab-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_focus-state-layer-color: var(--md-fab-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--_focus-state-layer-opacity: var(--md-fab-focus-state-layer-opacity, 0.12);--_hover-container-elevation: var(--md-fab-hover-container-elevation, 4);--_hover-icon-color: var(--md-fab-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-fab-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-fab-hover-state-layer-opacity, 0.08);--_icon-color: var(--md-fab-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-fab-icon-size, 24px);--_lowered-container-elevation: var(--md-fab-lowered-container-elevation, 1);--_lowered-focus-container-elevation: var(--md-fab-lowered-focus-container-elevation, 1);--_lowered-hover-container-elevation: var(--md-fab-lowered-hover-container-elevation, 2);--_lowered-pressed-container-elevation: var(--md-fab-lowered-pressed-container-elevation, 1);--_pressed-container-elevation: var(--md-fab-pressed-container-elevation, 3);--_pressed-icon-color: var(--md-fab-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-color: var(--md-fab-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-fab-pressed-state-layer-opacity, 0.12)}.md3-fab{width:var(--_container-width);height:var(--_container-height)}.md3-fab--regular{padding:0}/*# sourceMappingURL=fab-styles.css.map */\n`;\n "]}
@@ -3,14 +3,6 @@
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  //
5
5
 
6
- // stylelint-disable selector-class-pattern --
7
- // Selector '.md3-*' should only be used in this project.
8
-
9
- @use './fab-theme';
10
6
  @use './fab';
11
7
 
12
- @include fab.static-styles();
13
-
14
- .md3-fab {
15
- @include fab-theme.theme-styles(fab-theme.$surface-theme);
16
- }
8
+ @include fab.styles;
@@ -3,6 +3,4 @@
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  //
5
5
 
6
- @forward './lib/filled-field-theme' show
7
- theme,
8
- values;
6
+ @forward './lib/filled-field' show theme;
@@ -3,6 +3,4 @@
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  //
5
5
 
6
- @forward './lib/outlined-field-theme' show
7
- theme,
8
- values;
6
+ @forward './lib/outlined-field' show theme;
@@ -3,7 +3,7 @@
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import { Harness } from '@material/web/testing/harness.js';
6
+ import { Harness } from '../testing/harness.js';
7
7
  import { Field } from './lib/field.js';
8
8
  /**
9
9
  * Test harness for field elements.
package/field/harness.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import { Harness } from '@material/web/testing/harness.js';
6
+ import { Harness } from '../testing/harness.js';
7
7
  /**
8
8
  * Test harness for field elements.
9
9
  */