@material/web 1.0.0-pre.5 → 1.0.0-pre.7

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 (707) hide show
  1. package/README.md +7 -7
  2. package/aria/aria.d.ts +43 -0
  3. package/aria/aria.js +56 -0
  4. package/aria/aria.js.map +1 -0
  5. package/aria/delegate.d.ts +37 -0
  6. package/aria/delegate.js +53 -0
  7. package/aria/delegate.js.map +1 -0
  8. package/badge/badge.d.ts +0 -1
  9. package/badge/badge.js +0 -1
  10. package/badge/badge.js.map +1 -1
  11. package/badge/lib/badge-styles.css.js +1 -1
  12. package/badge/lib/badge-styles.css.js.map +1 -1
  13. package/badge/lib/badge.d.ts +8 -7
  14. package/badge/lib/badge.js +5 -6
  15. package/badge/lib/badge.js.map +1 -1
  16. package/button/lib/_elevation.scss +15 -11
  17. package/button/lib/_outlined-button.scss +1 -1
  18. package/button/lib/_shared.scss +5 -0
  19. package/button/lib/_text-button.scss +1 -1
  20. package/button/lib/_tonal-button.scss +1 -1
  21. package/button/lib/button.d.ts +13 -11
  22. package/button/lib/button.js +51 -60
  23. package/button/lib/button.js.map +1 -1
  24. package/button/lib/elevated-button.d.ts +3 -0
  25. package/button/lib/elevated-button.js +4 -2
  26. package/button/lib/elevated-button.js.map +1 -1
  27. package/button/lib/elevated-styles.css.js +1 -1
  28. package/button/lib/elevated-styles.css.js.map +1 -1
  29. package/button/lib/filled-button.d.ts +3 -1
  30. package/button/lib/filled-button.js +4 -3
  31. package/button/lib/filled-button.js.map +1 -1
  32. package/button/lib/filled-styles.css.js +1 -1
  33. package/button/lib/filled-styles.css.js.map +1 -1
  34. package/button/lib/outlined-button.d.ts +3 -0
  35. package/button/lib/outlined-button.js +3 -1
  36. package/button/lib/outlined-button.js.map +1 -1
  37. package/button/lib/outlined-styles.css.js +1 -1
  38. package/button/lib/outlined-styles.css.js.map +1 -1
  39. package/button/lib/shared-elevation-styles.css.js +1 -1
  40. package/button/lib/shared-elevation-styles.css.js.map +1 -1
  41. package/button/lib/shared-styles.css.js +1 -1
  42. package/button/lib/shared-styles.css.js.map +1 -1
  43. package/button/lib/text-button.d.ts +3 -0
  44. package/button/lib/text-button.js +3 -1
  45. package/button/lib/text-button.js.map +1 -1
  46. package/button/lib/text-styles.css.js +1 -1
  47. package/button/lib/text-styles.css.js.map +1 -1
  48. package/button/lib/tonal-button.d.ts +3 -1
  49. package/button/lib/tonal-button.js +4 -3
  50. package/button/lib/tonal-button.js.map +1 -1
  51. package/button/lib/tonal-styles.css.js +1 -1
  52. package/button/lib/tonal-styles.css.js.map +1 -1
  53. package/checkbox/lib/checkbox-styles.css.js +1 -1
  54. package/checkbox/lib/checkbox-styles.css.js.map +1 -1
  55. package/checkbox/lib/checkbox.d.ts +0 -1
  56. package/checkbox/lib/checkbox.js +33 -43
  57. package/checkbox/lib/checkbox.js.map +1 -1
  58. package/chips/_filter-chip.scss +6 -0
  59. package/chips/filter-chip.d.ts +20 -0
  60. package/chips/filter-chip.js +24 -0
  61. package/chips/filter-chip.js.map +1 -0
  62. package/chips/lib/_filter-chip.scss +141 -0
  63. package/chips/lib/_shared.scss +71 -37
  64. package/chips/lib/assist-styles.css.js +1 -1
  65. package/chips/lib/assist-styles.css.js.map +1 -1
  66. package/chips/lib/chip.d.ts +8 -3
  67. package/chips/lib/chip.js +30 -31
  68. package/chips/lib/chip.js.map +1 -1
  69. package/chips/lib/filter-chip.d.ts +21 -0
  70. package/chips/lib/filter-chip.js +47 -0
  71. package/chips/lib/filter-chip.js.map +1 -0
  72. package/chips/lib/filter-styles.css.js +9 -0
  73. package/chips/lib/filter-styles.css.js.map +1 -0
  74. package/{fab/lib/fab-extended-styles.scss → chips/lib/filter-styles.scss} +3 -3
  75. package/chips/lib/shared-styles.css.js +1 -1
  76. package/chips/lib/shared-styles.css.js.map +1 -1
  77. package/chips/lib/suggestion-styles.css.js +1 -1
  78. package/chips/lib/suggestion-styles.css.js.map +1 -1
  79. package/circularprogress/_circular-progress.scss +6 -0
  80. package/circularprogress/circular-progress.d.ts +24 -0
  81. package/circularprogress/circular-progress.js +27 -0
  82. package/circularprogress/circular-progress.js.map +1 -0
  83. package/circularprogress/harness.d.ts +13 -0
  84. package/circularprogress/harness.js +16 -0
  85. package/circularprogress/harness.js.map +1 -0
  86. package/circularprogress/lib/_circular-progress.scss +282 -0
  87. package/circularprogress/lib/circular-progress-styles.css.js +9 -0
  88. package/circularprogress/lib/circular-progress-styles.css.js.map +1 -0
  89. package/circularprogress/lib/circular-progress-styles.scss +8 -0
  90. package/circularprogress/lib/circular-progress.d.ts +28 -0
  91. package/circularprogress/lib/circular-progress.js +95 -0
  92. package/circularprogress/lib/circular-progress.js.map +1 -0
  93. package/dialog/lib/_dialog.scss +9 -14
  94. package/dialog/lib/dialog-styles.css.js +1 -1
  95. package/dialog/lib/dialog-styles.css.js.map +1 -1
  96. package/dialog/lib/dialog.js +26 -50
  97. package/dialog/lib/dialog.js.map +1 -1
  98. package/divider/lib/divider.js +4 -7
  99. package/divider/lib/divider.js.map +1 -1
  100. package/elevation/lib/_elevation.scss +14 -51
  101. package/elevation/lib/elevation-styles.css.js +1 -1
  102. package/elevation/lib/elevation-styles.css.js.map +1 -1
  103. package/elevation/lib/elevation.d.ts +0 -8
  104. package/elevation/lib/elevation.js +1 -25
  105. package/elevation/lib/elevation.js.map +1 -1
  106. package/fab/_fab.scss +1 -0
  107. package/fab/branded-fab.d.ts +53 -0
  108. package/fab/branded-fab.js +56 -0
  109. package/fab/branded-fab.js.map +1 -0
  110. package/fab/fab.d.ts +25 -5
  111. package/fab/fab.js +27 -10
  112. package/fab/fab.js.map +1 -1
  113. package/fab/harness.d.ts +1 -2
  114. package/fab/harness.js +1 -1
  115. package/fab/harness.js.map +1 -1
  116. package/fab/lib/_fab-branded.scss +27 -0
  117. package/fab/lib/_fab.scss +144 -16
  118. package/fab/lib/_shared.scss +153 -131
  119. package/fab/lib/fab-branded-styles.css.js +9 -0
  120. package/fab/lib/fab-branded-styles.css.js.map +1 -0
  121. package/fab/lib/fab-branded-styles.scss +10 -0
  122. package/fab/lib/fab-styles.css.js +1 -1
  123. package/fab/lib/fab-styles.css.js.map +1 -1
  124. package/fab/lib/fab.d.ts +14 -10
  125. package/fab/lib/fab.js +19 -12
  126. package/fab/lib/fab.js.map +1 -1
  127. package/fab/lib/forced-colors-styles.css.js +9 -0
  128. package/fab/lib/forced-colors-styles.css.js.map +1 -0
  129. package/fab/lib/forced-colors-styles.scss +26 -0
  130. package/fab/lib/shared-styles.css.d.ts +1 -0
  131. package/fab/lib/shared-styles.css.js +9 -0
  132. package/fab/lib/shared-styles.css.js.map +1 -0
  133. package/fab/lib/{fab-shared-styles.scss → shared-styles.scss} +1 -1
  134. package/fab/lib/{fab-shared.d.ts → shared.d.ts} +24 -16
  135. package/fab/lib/shared.js +137 -0
  136. package/fab/lib/shared.js.map +1 -0
  137. package/field/lib/field.js +14 -27
  138. package/field/lib/field.js.map +1 -1
  139. package/field/lib/filled-styles.css.js +1 -1
  140. package/field/lib/filled-styles.css.js.map +1 -1
  141. package/field/lib/outlined-styles.css.js +1 -1
  142. package/field/lib/outlined-styles.css.js.map +1 -1
  143. package/focus/focus-ring.d.ts +0 -1
  144. package/focus/focus-ring.js +0 -1
  145. package/focus/focus-ring.js.map +1 -1
  146. package/focus/lib/_focus-ring.scss +30 -20
  147. package/focus/lib/focus-ring-styles.css.js +1 -1
  148. package/focus/lib/focus-ring-styles.css.js.map +1 -1
  149. package/focus/lib/focus-ring.js +2 -3
  150. package/focus/lib/focus-ring.js.map +1 -1
  151. package/focus/strong-focus.d.ts +11 -0
  152. package/focus/strong-focus.js +16 -1
  153. package/focus/strong-focus.js.map +1 -1
  154. package/icon/icon.d.ts +0 -1
  155. package/icon/icon.js +0 -1
  156. package/icon/icon.js.map +1 -1
  157. package/icon/lib/_icon.scss +2 -0
  158. package/icon/lib/icon-styles.css.js +1 -1
  159. package/icon/lib/icon-styles.css.js.map +1 -1
  160. package/icon/lib/icon.d.ts +5 -4
  161. package/icon/lib/icon.js +3 -2
  162. package/icon/lib/icon.js.map +1 -1
  163. package/iconbutton/filled-icon-button.js +1 -0
  164. package/iconbutton/filled-icon-button.js.map +1 -1
  165. package/iconbutton/filled-tonal-icon-button.js +1 -0
  166. package/iconbutton/filled-tonal-icon-button.js.map +1 -1
  167. package/iconbutton/harness.d.ts +1 -2
  168. package/iconbutton/harness.js.map +1 -1
  169. package/iconbutton/lib/filled-styles.css.js +1 -1
  170. package/iconbutton/lib/filled-styles.css.js.map +1 -1
  171. package/iconbutton/lib/filled-tonal-styles.css.js +1 -1
  172. package/iconbutton/lib/filled-tonal-styles.css.js.map +1 -1
  173. package/iconbutton/lib/icon-button.d.ts +31 -4
  174. package/iconbutton/lib/icon-button.js +105 -37
  175. package/iconbutton/lib/icon-button.js.map +1 -1
  176. package/iconbutton/lib/outlined-styles.css.js +1 -1
  177. package/iconbutton/lib/outlined-styles.css.js.map +1 -1
  178. package/iconbutton/lib/standard-styles.css.js +1 -1
  179. package/iconbutton/lib/standard-styles.css.js.map +1 -1
  180. package/linearprogress/_linear-progress.scss +6 -0
  181. package/linearprogress/harness.d.ts +13 -0
  182. package/linearprogress/harness.js +18 -0
  183. package/linearprogress/harness.js.map +1 -0
  184. package/linearprogress/lib/_linear-progress.scss +380 -0
  185. package/linearprogress/lib/linear-progress-styles.css.d.ts +1 -0
  186. package/linearprogress/lib/linear-progress-styles.css.js +9 -0
  187. package/linearprogress/lib/linear-progress-styles.css.js.map +1 -0
  188. package/linearprogress/lib/linear-progress-styles.scss +8 -0
  189. package/linearprogress/lib/linear-progress.d.ts +35 -0
  190. package/linearprogress/lib/linear-progress.js +127 -0
  191. package/linearprogress/lib/linear-progress.js.map +1 -0
  192. package/linearprogress/linear-progress.d.ts +23 -0
  193. package/linearprogress/linear-progress.js +26 -0
  194. package/linearprogress/linear-progress.js.map +1 -0
  195. package/list/harness.d.ts +1 -0
  196. package/list/harness.js +1 -0
  197. package/list/harness.js.map +1 -1
  198. package/list/lib/_list.scss +6 -50
  199. package/list/lib/list-styles.css.js +1 -1
  200. package/list/lib/list-styles.css.js.map +1 -1
  201. package/list/lib/list.d.ts +1 -3
  202. package/list/lib/list.js +20 -34
  203. package/list/lib/list.js.map +1 -1
  204. package/list/lib/listitem/_list-item.scss +19 -82
  205. package/list/lib/listitem/forced-colors-styles.css.d.ts +1 -0
  206. package/list/lib/listitem/forced-colors-styles.css.js +9 -0
  207. package/list/lib/listitem/forced-colors-styles.css.js.map +1 -0
  208. package/list/lib/listitem/forced-colors-styles.scss +23 -0
  209. package/list/lib/listitem/list-item-styles.css.js +1 -1
  210. package/list/lib/listitem/list-item-styles.css.js.map +1 -1
  211. package/list/lib/listitem/list-item.d.ts +5 -7
  212. package/list/lib/listitem/list-item.js +27 -56
  213. package/list/lib/listitem/list-item.js.map +1 -1
  214. package/list/lib/listitemlink/list-item-link.js +4 -6
  215. package/list/lib/listitemlink/list-item-link.js.map +1 -1
  216. package/list/list-item-link.js +2 -1
  217. package/list/list-item-link.js.map +1 -1
  218. package/list/list-item.js +2 -1
  219. package/list/list-item.js.map +1 -1
  220. package/menu/harness.d.ts +1 -0
  221. package/menu/harness.js +1 -0
  222. package/menu/harness.js.map +1 -1
  223. package/menu/lib/_menu.scss +10 -37
  224. package/menu/lib/forced-colors-styles.css.d.ts +1 -0
  225. package/menu/lib/forced-colors-styles.css.js +9 -0
  226. package/menu/lib/forced-colors-styles.css.js.map +1 -0
  227. package/menu/lib/forced-colors-styles.scss +12 -0
  228. package/menu/lib/menu-styles.css.js +1 -1
  229. package/menu/lib/menu-styles.css.js.map +1 -1
  230. package/menu/lib/menu.d.ts +13 -3
  231. package/menu/lib/menu.js +78 -65
  232. package/menu/lib/menu.js.map +1 -1
  233. package/menu/lib/menuitem/_menu-item.scss +18 -43
  234. package/menu/lib/menuitem/forced-colors-styles.css.d.ts +1 -0
  235. package/menu/lib/menuitem/forced-colors-styles.css.js +9 -0
  236. package/menu/lib/menuitem/forced-colors-styles.css.js.map +1 -0
  237. package/menu/lib/menuitem/forced-colors-styles.scss +22 -0
  238. package/menu/lib/menuitem/menu-item-styles.css.js +1 -1
  239. package/menu/lib/menuitem/menu-item-styles.css.js.map +1 -1
  240. package/menu/lib/menuitem/menu-item.d.ts +1 -1
  241. package/menu/lib/menuitem/menu-item.js +4 -6
  242. package/menu/lib/menuitem/menu-item.js.map +1 -1
  243. package/menu/lib/menuitemlink/menu-item-link.d.ts +0 -2
  244. package/menu/lib/menuitemlink/menu-item-link.js +3 -6
  245. package/menu/lib/menuitemlink/menu-item-link.js.map +1 -1
  246. package/menu/lib/shared.d.ts +16 -2
  247. package/menu/lib/shared.js +23 -0
  248. package/menu/lib/shared.js.map +1 -1
  249. package/menu/lib/submenuitem/sub-menu-item.d.ts +4 -2
  250. package/menu/lib/submenuitem/sub-menu-item.js +17 -13
  251. package/menu/lib/submenuitem/sub-menu-item.js.map +1 -1
  252. package/menu/lib/typeaheadController.d.ts +10 -2
  253. package/menu/lib/typeaheadController.js +20 -14
  254. package/menu/lib/typeaheadController.js.map +1 -1
  255. package/menu/menu-item-link.js +3 -1
  256. package/menu/menu-item-link.js.map +1 -1
  257. package/menu/menu-item.js +4 -2
  258. package/menu/menu-item.js.map +1 -1
  259. package/menu/menu.js +2 -1
  260. package/menu/menu.js.map +1 -1
  261. package/menu/sub-menu-item.js +3 -1
  262. package/menu/sub-menu-item.js.map +1 -1
  263. package/navigationbar/lib/_navigation-bar.scss +9 -6
  264. package/navigationbar/lib/navigation-bar-styles.css.js +1 -1
  265. package/navigationbar/lib/navigation-bar-styles.css.js.map +1 -1
  266. package/navigationbar/lib/navigation-bar.d.ts +5 -5
  267. package/navigationbar/lib/navigation-bar.js +19 -20
  268. package/navigationbar/lib/navigation-bar.js.map +1 -1
  269. package/navigationbar/navigation-bar.d.ts +0 -1
  270. package/navigationbar/navigation-bar.js +0 -1
  271. package/navigationbar/navigation-bar.js.map +1 -1
  272. package/navigationdrawer/lib/_navigation-drawer-modal.scss +10 -11
  273. package/navigationdrawer/lib/_navigation-drawer.scss +9 -14
  274. package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js +1 -1
  275. package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js.map +1 -1
  276. package/navigationdrawer/lib/navigation-drawer-modal.d.ts +5 -10
  277. package/navigationdrawer/lib/navigation-drawer-modal.js +19 -41
  278. package/navigationdrawer/lib/navigation-drawer-modal.js.map +1 -1
  279. package/navigationdrawer/lib/navigation-drawer-styles.css.js +1 -1
  280. package/navigationdrawer/lib/navigation-drawer-styles.css.js.map +1 -1
  281. package/navigationdrawer/lib/navigation-drawer.d.ts +5 -9
  282. package/navigationdrawer/lib/navigation-drawer.js +18 -39
  283. package/navigationdrawer/lib/navigation-drawer.js.map +1 -1
  284. package/navigationdrawer/navigation-drawer-modal.d.ts +0 -1
  285. package/navigationdrawer/navigation-drawer-modal.js +0 -1
  286. package/navigationdrawer/navigation-drawer-modal.js.map +1 -1
  287. package/navigationdrawer/navigation-drawer.d.ts +0 -1
  288. package/navigationdrawer/navigation-drawer.js +0 -1
  289. package/navigationdrawer/navigation-drawer.js.map +1 -1
  290. package/navigationtab/lib/navigation-tab-styles.css.js +1 -1
  291. package/navigationtab/lib/navigation-tab-styles.css.js.map +1 -1
  292. package/navigationtab/lib/navigation-tab.d.ts +19 -24
  293. package/navigationtab/lib/navigation-tab.js +48 -68
  294. package/navigationtab/lib/navigation-tab.js.map +1 -1
  295. package/navigationtab/navigation-tab.d.ts +0 -1
  296. package/navigationtab/navigation-tab.js +0 -1
  297. package/navigationtab/navigation-tab.js.map +1 -1
  298. package/package.json +2 -1
  299. package/radio/lib/radio-styles.css.js +1 -1
  300. package/radio/lib/radio-styles.css.js.map +1 -1
  301. package/radio/lib/radio.d.ts +0 -1
  302. package/radio/lib/radio.js +30 -37
  303. package/radio/lib/radio.js.map +1 -1
  304. package/ripple/lib/_md-comp-ripple.scss +3 -3
  305. package/ripple/lib/ripple-styles.css.js +1 -1
  306. package/ripple/lib/ripple-styles.css.js.map +1 -1
  307. package/ripple/lib/ripple.js +7 -13
  308. package/ripple/lib/ripple.js.map +1 -1
  309. package/segmentedbutton/lib/outlined-segmented-button.d.ts +16 -7
  310. package/segmentedbutton/lib/outlined-segmented-button.js +3 -3
  311. package/segmentedbutton/lib/outlined-segmented-button.js.map +1 -1
  312. package/segmentedbutton/lib/outlined-styles.css.js +1 -1
  313. package/segmentedbutton/lib/outlined-styles.css.js.map +1 -1
  314. package/segmentedbutton/lib/segmented-button.d.ts +27 -33
  315. package/segmentedbutton/lib/segmented-button.js +42 -75
  316. package/segmentedbutton/lib/segmented-button.js.map +1 -1
  317. package/segmentedbutton/outlined-segmented-button.d.ts +0 -1
  318. package/segmentedbutton/outlined-segmented-button.js +0 -1
  319. package/segmentedbutton/outlined-segmented-button.js.map +1 -1
  320. package/segmentedbuttonset/lib/outlined-segmented-button-set.d.ts +6 -4
  321. package/segmentedbuttonset/lib/outlined-segmented-button-set.js +3 -2
  322. package/segmentedbuttonset/lib/outlined-segmented-button-set.js.map +1 -1
  323. package/segmentedbuttonset/lib/outlined-styles.css.js +1 -1
  324. package/segmentedbuttonset/lib/outlined-styles.css.js.map +1 -1
  325. package/segmentedbuttonset/lib/segmented-button-set.d.ts +3 -9
  326. package/segmentedbuttonset/lib/segmented-button-set.js +14 -20
  327. package/segmentedbuttonset/lib/segmented-button-set.js.map +1 -1
  328. package/segmentedbuttonset/outlined-segmented-button-set.d.ts +0 -1
  329. package/segmentedbuttonset/outlined-segmented-button-set.js +0 -1
  330. package/segmentedbuttonset/outlined-segmented-button-set.js.map +1 -1
  331. package/select/_filled-select.scss +6 -0
  332. package/select/_outlined-select.scss +6 -0
  333. package/select/filled-select.d.ts +41 -0
  334. package/select/filled-select.js +46 -0
  335. package/select/filled-select.js.map +1 -0
  336. package/select/harness.d.ts +24 -0
  337. package/select/harness.js +53 -0
  338. package/select/harness.js.map +1 -0
  339. package/select/lib/_filled-select.scss +163 -0
  340. package/select/lib/_outlined-select.scss +146 -0
  341. package/select/lib/_shared.scss +48 -0
  342. package/select/lib/filled-forced-colors-styles.css.d.ts +1 -0
  343. package/select/lib/filled-forced-colors-styles.css.js +9 -0
  344. package/select/lib/filled-forced-colors-styles.css.js.map +1 -0
  345. package/select/lib/filled-forced-colors-styles.scss +29 -0
  346. package/select/lib/filled-select-styles.css.d.ts +1 -0
  347. package/select/lib/filled-select-styles.css.js +9 -0
  348. package/select/lib/filled-select-styles.css.js.map +1 -0
  349. package/select/lib/filled-select-styles.scss +10 -0
  350. package/select/lib/filled-select.d.ts +10 -0
  351. package/select/lib/filled-select.js +16 -0
  352. package/select/lib/filled-select.js.map +1 -0
  353. package/select/lib/outlined-forced-colors-styles.css.d.ts +1 -0
  354. package/select/lib/outlined-forced-colors-styles.css.js +9 -0
  355. package/select/lib/outlined-forced-colors-styles.css.js.map +1 -0
  356. package/select/lib/outlined-forced-colors-styles.scss +29 -0
  357. package/select/lib/outlined-select-styles.css.d.ts +1 -0
  358. package/select/lib/outlined-select-styles.css.js +9 -0
  359. package/select/lib/outlined-select-styles.css.js.map +1 -0
  360. package/select/lib/outlined-select-styles.scss +10 -0
  361. package/select/lib/outlined-select.d.ts +10 -0
  362. package/select/lib/outlined-select.js +16 -0
  363. package/select/lib/outlined-select.js.map +1 -0
  364. package/select/lib/select.d.ts +218 -0
  365. package/select/lib/select.js +587 -0
  366. package/select/lib/select.js.map +1 -0
  367. package/select/lib/selectoption/harness.d.ts +11 -0
  368. package/select/lib/selectoption/harness.js +12 -0
  369. package/select/lib/selectoption/harness.js.map +1 -0
  370. package/select/lib/selectoption/select-option.d.ts +30 -0
  371. package/select/lib/selectoption/select-option.js +71 -0
  372. package/select/lib/selectoption/select-option.js.map +1 -0
  373. package/select/lib/shared-styles.css.d.ts +1 -0
  374. package/select/lib/shared-styles.css.js +9 -0
  375. package/select/lib/shared-styles.css.js.map +1 -0
  376. package/select/lib/shared-styles.scss +10 -0
  377. package/select/lib/shared.d.ts +52 -0
  378. package/select/lib/shared.js +41 -0
  379. package/select/lib/shared.js.map +1 -0
  380. package/select/outlined-select.d.ts +41 -0
  381. package/select/outlined-select.js +46 -0
  382. package/select/outlined-select.js.map +1 -0
  383. package/select/select-option.d.ts +44 -0
  384. package/select/select-option.js +51 -0
  385. package/select/select-option.js.map +1 -0
  386. package/slider/harness.d.ts +1 -0
  387. package/slider/harness.js +5 -0
  388. package/slider/harness.js.map +1 -1
  389. package/slider/lib/_slider.scss +147 -171
  390. package/slider/lib/forced-colors-styles.css.js +1 -1
  391. package/slider/lib/forced-colors-styles.css.js.map +1 -1
  392. package/slider/lib/forced-colors-styles.scss +2 -2
  393. package/slider/lib/slider-styles.css.js +1 -1
  394. package/slider/lib/slider-styles.css.js.map +1 -1
  395. package/slider/lib/slider.d.ts +2 -7
  396. package/slider/lib/slider.js +65 -119
  397. package/slider/lib/slider.js.map +1 -1
  398. package/switch/lib/switch-styles.css.js +1 -1
  399. package/switch/lib/switch-styles.css.js.map +1 -1
  400. package/switch/lib/switch.d.ts +0 -2
  401. package/switch/lib/switch.js +32 -54
  402. package/switch/lib/switch.js.map +1 -1
  403. package/textfield/lib/filled-styles.css.js +1 -1
  404. package/textfield/lib/filled-styles.css.js.map +1 -1
  405. package/textfield/lib/outlined-styles.css.js +1 -1
  406. package/textfield/lib/outlined-styles.css.js.map +1 -1
  407. package/textfield/lib/text-field.d.ts +0 -10
  408. package/textfield/lib/text-field.js +45 -115
  409. package/textfield/lib/text-field.js.map +1 -1
  410. package/tokens/_index.scss +6 -0
  411. package/tokens/_md-comp-assist-chip.scss +81 -21
  412. package/tokens/_md-comp-badge.scss +8 -1
  413. package/tokens/_md-comp-banner.scss +1 -1
  414. package/tokens/_md-comp-bottom-app-bar.scss +1 -1
  415. package/tokens/_md-comp-carousel-item.scss +1 -1
  416. package/tokens/_md-comp-checkbox.scss +1 -1
  417. package/tokens/_md-comp-circular-progress-indicator.scss +17 -2
  418. package/tokens/_md-comp-data-table.scss +1 -1
  419. package/tokens/_md-comp-date-input-modal.scss +1 -1
  420. package/tokens/_md-comp-date-picker-docked.scss +1 -1
  421. package/tokens/_md-comp-date-picker-modal.scss +1 -1
  422. package/tokens/_md-comp-dialog.scss +10 -1
  423. package/tokens/_md-comp-divider.scss +1 -1
  424. package/tokens/_md-comp-elevated-button.scss +80 -20
  425. package/tokens/_md-comp-elevated-card.scss +1 -1
  426. package/tokens/_md-comp-elevation.scss +24 -0
  427. package/tokens/_md-comp-extended-fab-branded.scss +8 -1
  428. package/tokens/_md-comp-extended-fab-primary.scss +8 -1
  429. package/tokens/_md-comp-extended-fab-secondary.scss +8 -1
  430. package/tokens/_md-comp-extended-fab-surface.scss +8 -1
  431. package/tokens/_md-comp-extended-fab-tertiary.scss +8 -1
  432. package/tokens/_md-comp-fab-branded-large.scss +1 -1
  433. package/tokens/_md-comp-fab-branded.scss +110 -2
  434. package/tokens/_md-comp-fab-primary-large.scss +1 -1
  435. package/tokens/_md-comp-fab-primary-small.scss +1 -1
  436. package/tokens/_md-comp-fab-primary.scss +1 -1
  437. package/tokens/_md-comp-fab-secondary-large.scss +1 -1
  438. package/tokens/_md-comp-fab-secondary-small.scss +1 -1
  439. package/tokens/_md-comp-fab-secondary.scss +1 -1
  440. package/tokens/_md-comp-fab-surface-large.scss +1 -1
  441. package/tokens/_md-comp-fab-surface-small.scss +1 -1
  442. package/tokens/_md-comp-fab-surface.scss +1 -1
  443. package/tokens/_md-comp-fab-tertiary-large.scss +1 -1
  444. package/tokens/_md-comp-fab-tertiary-small.scss +1 -1
  445. package/tokens/_md-comp-fab-tertiary.scss +1 -1
  446. package/tokens/_md-comp-fab.scss +290 -0
  447. package/tokens/_md-comp-filled-autocomplete.scss +1 -1
  448. package/tokens/_md-comp-filled-button.scss +80 -20
  449. package/tokens/_md-comp-filled-card.scss +1 -1
  450. package/tokens/_md-comp-filled-icon-button.scss +1 -1
  451. package/tokens/_md-comp-filled-menu-button.scss +1 -1
  452. package/tokens/_md-comp-filled-select.scss +151 -2
  453. package/tokens/_md-comp-filled-text-field.scss +10 -1
  454. package/tokens/_md-comp-filled-tonal-button.scss +80 -20
  455. package/tokens/_md-comp-filled-tonal-icon-button.scss +1 -1
  456. package/tokens/_md-comp-filter-chip.scss +211 -11
  457. package/tokens/_md-comp-focus-ring.scss +46 -0
  458. package/tokens/_md-comp-full-screen-dialog.scss +1 -1
  459. package/tokens/_md-comp-icon-button.scss +1 -1
  460. package/tokens/_md-comp-input-chip.scss +186 -11
  461. package/tokens/_md-comp-linear-progress-indicator.scss +15 -2
  462. package/tokens/_md-comp-list-item.scss +201 -0
  463. package/tokens/_md-comp-list.scss +110 -12
  464. package/tokens/_md-comp-menu-item.scss +76 -0
  465. package/tokens/_md-comp-menu.scss +53 -3
  466. package/tokens/_md-comp-navigation-bar.scss +1 -1
  467. package/tokens/_md-comp-navigation-drawer.scss +1 -1
  468. package/tokens/_md-comp-navigation-rail.scss +1 -1
  469. package/tokens/_md-comp-outlined-autocomplete.scss +1 -1
  470. package/tokens/_md-comp-outlined-button.scss +77 -19
  471. package/tokens/_md-comp-outlined-card.scss +1 -1
  472. package/tokens/_md-comp-outlined-icon-button.scss +1 -1
  473. package/tokens/_md-comp-outlined-menu-button.scss +1 -1
  474. package/tokens/_md-comp-outlined-segmented-button.scss +10 -1
  475. package/tokens/_md-comp-outlined-select.scss +151 -2
  476. package/tokens/_md-comp-outlined-text-field.scss +10 -1
  477. package/tokens/_md-comp-plain-tooltip.scss +1 -1
  478. package/tokens/_md-comp-primary-navigation-tab.scss +10 -1
  479. package/tokens/_md-comp-radio-button.scss +1 -1
  480. package/tokens/_md-comp-rich-tooltip.scss +1 -1
  481. package/tokens/_md-comp-scrim.scss +1 -1
  482. package/tokens/_md-comp-search-bar.scss +1 -1
  483. package/tokens/_md-comp-search-view.scss +1 -1
  484. package/tokens/_md-comp-secondary-navigation-tab.scss +9 -1
  485. package/tokens/_md-comp-sheet-bottom.scss +1 -1
  486. package/tokens/_md-comp-sheet-floating.scss +1 -1
  487. package/tokens/_md-comp-sheet-side.scss +1 -1
  488. package/tokens/_md-comp-slider.scss +23 -2
  489. package/tokens/_md-comp-snackbar.scss +1 -1
  490. package/tokens/_md-comp-standard-menu-button.scss +1 -1
  491. package/tokens/_md-comp-suggestion-chip.scss +83 -24
  492. package/tokens/_md-comp-switch.scss +1 -1
  493. package/tokens/_md-comp-test-table.scss +31 -0
  494. package/tokens/_md-comp-text-button.scss +70 -19
  495. package/tokens/_md-comp-time-input.scss +1 -1
  496. package/tokens/_md-comp-time-picker.scss +1 -1
  497. package/tokens/_md-comp-top-app-bar-large.scss +1 -1
  498. package/tokens/_md-comp-top-app-bar-medium.scss +1 -1
  499. package/tokens/_md-comp-top-app-bar-small-centered.scss +1 -1
  500. package/tokens/_md-comp-top-app-bar-small.scss +1 -1
  501. package/tokens/_md-ref-palette.scss +1 -1
  502. package/tokens/_md-ref-typeface.scss +24 -2
  503. package/tokens/_md-sys-color.scss +1 -1
  504. package/tokens/_md-sys-elevation.scss +1 -1
  505. package/tokens/_md-sys-motion.scss +1 -1
  506. package/tokens/_md-sys-shape.scss +1 -1
  507. package/tokens/_md-sys-state.scss +1 -1
  508. package/tokens/_md-sys-typescale.scss +36 -2
  509. package/tokens/_values.scss +114 -0
  510. package/tokens/{v0_161 → v0_172}/_md-comp-assist-chip.scss +3 -4
  511. package/tokens/{v0_161 → v0_172}/_md-comp-badge.scss +1 -1
  512. package/tokens/{v0_161 → v0_172}/_md-comp-banner.scss +2 -4
  513. package/tokens/{v0_161 → v0_172}/_md-comp-bottom-app-bar.scss +3 -5
  514. package/tokens/{v0_161 → v0_172}/_md-comp-carousel-item.scss +1 -3
  515. package/tokens/{v0_161 → v0_172}/_md-comp-checkbox.scss +1 -1
  516. package/tokens/{v0_161 → v0_172}/_md-comp-circular-progress-indicator.scss +1 -1
  517. package/tokens/{v0_161 → v0_172}/_md-comp-data-table.scss +2 -2
  518. package/tokens/{v0_161 → v0_172}/_md-comp-date-input-modal.scss +2 -4
  519. package/tokens/{v0_161 → v0_172}/_md-comp-date-picker-docked.scss +2 -4
  520. package/tokens/{v0_161 → v0_172}/_md-comp-date-picker-modal.scss +2 -4
  521. package/tokens/{v0_161 → v0_172}/_md-comp-dialog.scss +2 -4
  522. package/tokens/{v0_161 → v0_172}/_md-comp-divider.scss +1 -1
  523. package/tokens/{v0_161 → v0_172}/_md-comp-elevated-button.scss +2 -4
  524. package/tokens/{v0_161 → v0_172}/_md-comp-elevated-card.scss +2 -4
  525. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-branded.scss +4 -4
  526. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-primary.scss +1 -1
  527. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-secondary.scss +1 -1
  528. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-surface.scss +4 -4
  529. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-tertiary.scss +1 -1
  530. package/tokens/{v0_161 → v0_172}/_md-comp-fab-branded-large.scss +4 -4
  531. package/tokens/{v0_161 → v0_172}/_md-comp-fab-branded.scss +4 -4
  532. package/tokens/{v0_161 → v0_172}/_md-comp-fab-primary-large.scss +1 -1
  533. package/tokens/{v0_161 → v0_172}/_md-comp-fab-primary-small.scss +1 -1
  534. package/tokens/{v0_161 → v0_172}/_md-comp-fab-primary.scss +1 -1
  535. package/tokens/{v0_161 → v0_172}/_md-comp-fab-secondary-large.scss +1 -1
  536. package/tokens/{v0_161 → v0_172}/_md-comp-fab-secondary-small.scss +1 -1
  537. package/tokens/{v0_161 → v0_172}/_md-comp-fab-secondary.scss +1 -1
  538. package/tokens/{v0_161 → v0_172}/_md-comp-fab-surface-large.scss +4 -4
  539. package/tokens/{v0_161 → v0_172}/_md-comp-fab-surface-small.scss +4 -4
  540. package/tokens/{v0_161 → v0_172}/_md-comp-fab-surface.scss +4 -4
  541. package/tokens/{v0_161 → v0_172}/_md-comp-fab-tertiary-large.scss +1 -1
  542. package/tokens/{v0_161 → v0_172}/_md-comp-fab-tertiary-small.scss +1 -1
  543. package/tokens/{v0_161 → v0_172}/_md-comp-fab-tertiary.scss +1 -1
  544. package/tokens/{v0_161 → v0_172}/_md-comp-filled-autocomplete.scss +4 -6
  545. package/tokens/{v0_161 → v0_172}/_md-comp-filled-button.scss +1 -1
  546. package/tokens/{v0_161 → v0_172}/_md-comp-filled-card.scss +3 -2
  547. package/tokens/{v0_161 → v0_172}/_md-comp-filled-icon-button.scss +2 -2
  548. package/tokens/{v0_161 → v0_172}/_md-comp-filled-menu-button.scss +1 -1
  549. package/tokens/{v0_161 → v0_172}/_md-comp-filled-select.scss +4 -6
  550. package/tokens/{v0_161 → v0_172}/_md-comp-filled-text-field.scss +3 -2
  551. package/tokens/{v0_161 → v0_172}/_md-comp-filled-tonal-button.scss +1 -1
  552. package/tokens/{v0_161 → v0_172}/_md-comp-filled-tonal-icon-button.scss +2 -2
  553. package/tokens/{v0_161 → v0_172}/_md-comp-filter-chip.scss +2 -4
  554. package/tokens/{v0_161 → v0_172}/_md-comp-full-screen-dialog.scss +3 -3
  555. package/tokens/{v0_161 → v0_172}/_md-comp-icon-button.scss +1 -1
  556. package/tokens/{v0_161 → v0_172}/_md-comp-input-chip.scss +1 -1
  557. package/tokens/{v0_161 → v0_172}/_md-comp-linear-progress-indicator.scss +2 -2
  558. package/tokens/{v0_161 → v0_172}/_md-comp-list.scss +1 -1
  559. package/tokens/{v0_161 → v0_172}/_md-comp-menu.scss +3 -5
  560. package/tokens/{v0_161 → v0_172}/_md-comp-navigation-bar.scss +2 -4
  561. package/tokens/{v0_161 → v0_172}/_md-comp-navigation-drawer.scss +4 -4
  562. package/tokens/{v0_161 → v0_172}/_md-comp-navigation-rail.scss +1 -16
  563. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-autocomplete.scss +4 -6
  564. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-button.scss +1 -1
  565. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-card.scss +1 -3
  566. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-icon-button.scss +1 -1
  567. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-menu-button.scss +1 -1
  568. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-segmented-button.scss +1 -1
  569. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-select.scss +4 -6
  570. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-text-field.scss +1 -1
  571. package/tokens/{v0_161 → v0_172}/_md-comp-plain-tooltip.scss +1 -1
  572. package/tokens/{v0_161 → v0_172}/_md-comp-primary-navigation-tab.scss +1 -1
  573. package/tokens/{v0_161 → v0_172}/_md-comp-radio-button.scss +1 -1
  574. package/tokens/{v0_161 → v0_172}/_md-comp-rich-tooltip.scss +3 -5
  575. package/tokens/{v0_161 → v0_172}/_md-comp-scrim.scss +1 -1
  576. package/tokens/{v0_161 → v0_172}/_md-comp-search-bar.scss +2 -4
  577. package/tokens/{v0_161 → v0_172}/_md-comp-search-view.scss +2 -4
  578. package/tokens/{v0_161 → v0_172}/_md-comp-secondary-navigation-tab.scss +3 -3
  579. package/tokens/{v0_161 → v0_172}/_md-comp-sheet-bottom.scss +3 -4
  580. package/tokens/{v0_161 → v0_172}/_md-comp-sheet-floating.scss +3 -5
  581. package/tokens/{v0_161 → v0_172}/_md-comp-sheet-side.scss +4 -4
  582. package/tokens/{v0_161 → v0_172}/_md-comp-slider.scss +3 -2
  583. package/tokens/{v0_161 → v0_172}/_md-comp-snackbar.scss +1 -1
  584. package/tokens/{v0_161 → v0_172}/_md-comp-standard-menu-button.scss +1 -1
  585. package/tokens/{v0_161 → v0_172}/_md-comp-suggestion-chip.scss +3 -4
  586. package/tokens/{v0_161 → v0_172}/_md-comp-switch.scss +13 -11
  587. package/tokens/{v0_161 → v0_172}/_md-comp-text-button.scss +1 -1
  588. package/tokens/{v0_161 → v0_172}/_md-comp-time-input.scss +3 -4
  589. package/tokens/{v0_161 → v0_172}/_md-comp-time-picker.scss +5 -5
  590. package/tokens/{v0_161 → v0_172}/_md-comp-top-app-bar-large.scss +1 -3
  591. package/tokens/{v0_161 → v0_172}/_md-comp-top-app-bar-medium.scss +1 -3
  592. package/tokens/{v0_161 → v0_172}/_md-comp-top-app-bar-small-centered.scss +3 -1
  593. package/tokens/{v0_161 → v0_172}/_md-comp-top-app-bar-small.scss +3 -3
  594. package/tokens/{v0_161 → v0_172}/_md-ref-palette.scss +23 -23
  595. package/tokens/{v0_161 → v0_172}/_md-ref-typeface.scss +1 -1
  596. package/tokens/{v0_161 → v0_172}/_md-sys-color.scss +9 -9
  597. package/tokens/{v0_161 → v0_172}/_md-sys-elevation.scss +1 -1
  598. package/tokens/{v0_161 → v0_172}/_md-sys-motion.scss +1 -1
  599. package/tokens/{v0_161 → v0_172}/_md-sys-shape.scss +1 -1
  600. package/tokens/{v0_161 → v0_172}/_md-sys-state.scss +1 -1
  601. package/tokens/{v0_161 → v0_172}/_md-sys-typescale.scss +1 -1
  602. package/tokens/v0_172/index.test.css.d.ts +1 -0
  603. package/tokens/v0_172/lib.test.css.d.ts +1 -0
  604. package/types/aria.d.ts +61 -1
  605. package/actionelement/action-element.d.ts +0 -79
  606. package/actionelement/action-element.js +0 -97
  607. package/actionelement/action-element.js.map +0 -1
  608. package/button/elevated-link-button.d.ts +0 -36
  609. package/button/elevated-link-button.js +0 -41
  610. package/button/elevated-link-button.js.map +0 -1
  611. package/button/filled-link-button.d.ts +0 -34
  612. package/button/filled-link-button.js +0 -39
  613. package/button/filled-link-button.js.map +0 -1
  614. package/button/lib/elevated-link-button.d.ts +0 -13
  615. package/button/lib/elevated-link-button.js +0 -21
  616. package/button/lib/elevated-link-button.js.map +0 -1
  617. package/button/lib/filled-link-button.d.ts +0 -14
  618. package/button/lib/filled-link-button.js +0 -22
  619. package/button/lib/filled-link-button.js.map +0 -1
  620. package/button/lib/link-button.d.ts +0 -24
  621. package/button/lib/link-button.js +0 -59
  622. package/button/lib/link-button.js.map +0 -1
  623. package/button/lib/outlined-link-button.d.ts +0 -12
  624. package/button/lib/outlined-link-button.js +0 -20
  625. package/button/lib/outlined-link-button.js.map +0 -1
  626. package/button/lib/state.d.ts +0 -10
  627. package/button/lib/state.js +0 -7
  628. package/button/lib/state.js.map +0 -1
  629. package/button/lib/text-link-button.d.ts +0 -10
  630. package/button/lib/text-link-button.js +0 -16
  631. package/button/lib/text-link-button.js.map +0 -1
  632. package/button/lib/tonal-link-button.d.ts +0 -14
  633. package/button/lib/tonal-link-button.js +0 -22
  634. package/button/lib/tonal-link-button.js.map +0 -1
  635. package/button/outlined-link-button.d.ts +0 -36
  636. package/button/outlined-link-button.js +0 -40
  637. package/button/outlined-link-button.js.map +0 -1
  638. package/button/text-link-button.d.ts +0 -34
  639. package/button/text-link-button.js +0 -38
  640. package/button/text-link-button.js.map +0 -1
  641. package/button/tonal-link-button.d.ts +0 -35
  642. package/button/tonal-link-button.js +0 -40
  643. package/button/tonal-link-button.js.map +0 -1
  644. package/controller/action-controller.d.ts +0 -147
  645. package/controller/action-controller.js +0 -286
  646. package/controller/action-controller.js.map +0 -1
  647. package/decorators/aria-property.d.ts +0 -32
  648. package/decorators/aria-property.js +0 -99
  649. package/decorators/aria-property.js.map +0 -1
  650. package/elevation/lib/_md-comp-elevation.scss +0 -27
  651. package/fab/_fab-extended.scss +0 -6
  652. package/fab/fab-extended.d.ts +0 -23
  653. package/fab/fab-extended.js +0 -29
  654. package/fab/fab-extended.js.map +0 -1
  655. package/fab/lib/_fab-extended.scss +0 -73
  656. package/fab/lib/fab-extended-styles.css.js +0 -9
  657. package/fab/lib/fab-extended-styles.css.js.map +0 -1
  658. package/fab/lib/fab-extended.d.ts +0 -19
  659. package/fab/lib/fab-extended.js +0 -28
  660. package/fab/lib/fab-extended.js.map +0 -1
  661. package/fab/lib/fab-shared-styles.css.js +0 -9
  662. package/fab/lib/fab-shared-styles.css.js.map +0 -1
  663. package/fab/lib/fab-shared.js +0 -121
  664. package/fab/lib/fab-shared.js.map +0 -1
  665. package/focus/lib/_md-comp-focus-ring.scss +0 -30
  666. package/iconbutton/filled-icon-button-toggle.d.ts +0 -31
  667. package/iconbutton/filled-icon-button-toggle.js +0 -40
  668. package/iconbutton/filled-icon-button-toggle.js.map +0 -1
  669. package/iconbutton/filled-link-icon-button.d.ts +0 -31
  670. package/iconbutton/filled-link-icon-button.js +0 -39
  671. package/iconbutton/filled-link-icon-button.js.map +0 -1
  672. package/iconbutton/filled-tonal-icon-button-toggle.d.ts +0 -31
  673. package/iconbutton/filled-tonal-icon-button-toggle.js +0 -40
  674. package/iconbutton/filled-tonal-icon-button-toggle.js.map +0 -1
  675. package/iconbutton/filled-tonal-link-icon-button.d.ts +0 -31
  676. package/iconbutton/filled-tonal-link-icon-button.js +0 -39
  677. package/iconbutton/filled-tonal-link-icon-button.js.map +0 -1
  678. package/iconbutton/lib/icon-button-toggle.d.ts +0 -34
  679. package/iconbutton/lib/icon-button-toggle.js +0 -87
  680. package/iconbutton/lib/icon-button-toggle.js.map +0 -1
  681. package/iconbutton/lib/link-icon-button.d.ts +0 -23
  682. package/iconbutton/lib/link-icon-button.js +0 -58
  683. package/iconbutton/lib/link-icon-button.js.map +0 -1
  684. package/iconbutton/outlined-icon-button-toggle.d.ts +0 -31
  685. package/iconbutton/outlined-icon-button-toggle.js +0 -39
  686. package/iconbutton/outlined-icon-button-toggle.js.map +0 -1
  687. package/iconbutton/outlined-link-icon-button.d.ts +0 -31
  688. package/iconbutton/outlined-link-icon-button.js +0 -39
  689. package/iconbutton/outlined-link-icon-button.js.map +0 -1
  690. package/iconbutton/standard-icon-button-toggle.d.ts +0 -31
  691. package/iconbutton/standard-icon-button-toggle.js +0 -39
  692. package/iconbutton/standard-icon-button-toggle.js.map +0 -1
  693. package/iconbutton/standard-link-icon-button.d.ts +0 -31
  694. package/iconbutton/standard-link-icon-button.js +0 -39
  695. package/iconbutton/standard-link-icon-button.js.map +0 -1
  696. package/slider/lib/_tokens.scss +0 -60
  697. /package/{fab/lib/fab-extended-styles.css.d.ts → chips/lib/filter-styles.css.d.ts} +0 -0
  698. /package/{fab/lib/fab-shared-styles.css.d.ts → circularprogress/lib/circular-progress-styles.css.d.ts} +0 -0
  699. /package/{tokens/v0_161/index.test.css.d.ts → fab/lib/fab-branded-styles.css.d.ts} +0 -0
  700. /package/{tokens/v0_161/lib.test.css.d.ts → fab/lib/forced-colors-styles.css.d.ts} +0 -0
  701. /package/tokens/{v0_161 → v0_172}/_index.scss +0 -0
  702. /package/tokens/{v0_161 → v0_172}/index.test.css.js +0 -0
  703. /package/tokens/{v0_161 → v0_172}/index.test.css.js.map +0 -0
  704. /package/tokens/{v0_161 → v0_172}/index.test.scss +0 -0
  705. /package/tokens/{v0_161 → v0_172}/lib.test.css.js +0 -0
  706. /package/tokens/{v0_161 → v0_172}/lib.test.css.js.map +0 -0
  707. /package/tokens/{v0_161 → v0_172}/lib.test.scss +0 -0
package/types/aria.d.ts CHANGED
@@ -2,12 +2,72 @@
2
2
  * @license
3
3
  * Copyright 2022 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
- *
5
+ */
6
+ /**
6
7
  * @fileoverview Provides types for `ariaX` properties. These are required when
7
8
  * typing `ariaX` properties since lit analyzer requires strict aria string
8
9
  * types.
9
10
  */
10
11
 
12
+ /**
13
+ * An extension of `ARIAMixin` that enforces strict value types for aria
14
+ * properties.
15
+ *
16
+ * This is needed for correct typing in render functions with lit analyzer.
17
+ *
18
+ * @example
19
+ * render() {
20
+ * const {ariaLabel} = this as ARIAMixinStrict;
21
+ * return html`
22
+ * <button aria-label=${ariaLabel || nothing}>
23
+ * <slot></slot>
24
+ * </button>
25
+ * `;
26
+ * }
27
+ */
28
+ export interface ARIAMixinStrict extends ARIAMixin {
29
+ ariaAtomic: 'true'|'false'|null;
30
+ ariaAutoComplete: 'none'|'inline'|'list'|'both'|null;
31
+ ariaBusy: 'true'|'false'|null;
32
+ ariaChecked: 'true'|'false'|null;
33
+ ariaColCount: `${number}`|null;
34
+ ariaColIndex: `${number}`|null;
35
+ ariaColIndexText: string|null;
36
+ ariaColSpan: `${number}`|null;
37
+ ariaCurrent: 'page'|'step'|'location'|'date'|'time'|'true'|'false'|null;
38
+ ariaDisabled: 'true'|'false'|null;
39
+ ariaExpanded: 'true'|'false'|null;
40
+ ariaHasPopup: 'false'|'true'|'menu'|'listbox'|'tree'|'grid'|'dialog'|null;
41
+ ariaHidden: 'true'|'false'|null;
42
+ ariaInvalid: 'true'|'false'|null;
43
+ ariaKeyShortcuts: string|null;
44
+ ariaLabel: string|null;
45
+ ariaLevel: `${number}`|null;
46
+ ariaLive: 'assertive'|'off'|'polite'|null;
47
+ ariaModal: 'true'|'false'|null;
48
+ ariaMultiLine: 'true'|'false'|null;
49
+ ariaMultiSelectable: 'true'|'false'|null;
50
+ ariaOrientation: 'horizontal'|'vertical'|'undefined'|null;
51
+ ariaPlaceholder: string|null;
52
+ ariaPosInSet: `${number}`|null;
53
+ ariaPressed: 'true'|'false'|null;
54
+ ariaReadOnly: 'true'|'false'|null;
55
+ ariaRequired: 'true'|'false'|null;
56
+ ariaRoleDescription: string|null;
57
+ ariaRowCount: `${number}`|null;
58
+ ariaRowIndex: `${number}`|null;
59
+ ariaRowIndexText: string|null;
60
+ ariaRowSpan: `${number}`|null;
61
+ ariaSelected: 'true'|'false'|null;
62
+ ariaSetSize: `${number}`|null;
63
+ ariaSort: 'ascending'|'descending'|'none'|'other'|null;
64
+ ariaValueMax: `${number}`|null;
65
+ ariaValueMin: `${number}`|null;
66
+ ariaValueNow: `${number}`|null;
67
+ ariaValueText: string|null;
68
+ role: ARIARole|null;
69
+ }
70
+
11
71
  /**
12
72
  * Valid values for `aria-expanded`.
13
73
  */
@@ -1,79 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2022 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { LitElement } from 'lit';
7
- import { ActionController, ActionControllerHost, BeginPressConfig, EndPressConfig } from '../controller/action-controller.js';
8
- export { BeginPressConfig, EndPressConfig };
9
- /**
10
- * @soyCompatible
11
- *
12
- * ActionElement is a base class that provides a handy starting point for using
13
- * ActionController. Subclasses should add the event handlers on the interactive
14
- * node in the template, and override `beginPress` and `endPress` to handle
15
- * pressed state, ripple interaction, and any other "press" interaction.
16
- */
17
- export declare abstract class ActionElement extends LitElement implements ActionControllerHost {
18
- /**
19
- * ActionController needs to know if the component is disabled, so subclasses
20
- * must implement a `disabled` property.
21
- */
22
- abstract disabled: boolean;
23
- protected actionController: ActionController;
24
- /**
25
- * Hook method called when we've confirmed that the gesture is intended to be
26
- * a press. Subclasses should change the visual state of the control to
27
- * 'active' at this point, and possibly fire an event. Subclasses should
28
- * override this method if more needs to be done.
29
- *
30
- * @param options `positionEvent` is the Event that is considered the
31
- * beginning of the press. Null if this was a keyboard interaction.
32
- */
33
- beginPress(options: BeginPressConfig): void;
34
- /**
35
- * Hook method called when the control goes from a pressed to unpressed
36
- * state.
37
- *
38
- * @param options If `cancelled` is true, means the user canceled the action.
39
- * Subclasses which trigger events on endPress() should check the value
40
- * of this flag, and modify their behavior accordingly.
41
- */
42
- endPress({ cancelled, actionData }: EndPressConfig): void;
43
- /**
44
- * Hook method for the ActionController.
45
- * Subclasses should add this method as an event handler on the interactive
46
- * template element with `@pointerdown="${this.handlePointerDown}"`
47
- */
48
- handlePointerDown(e: PointerEvent): void;
49
- /**
50
- * Hook method for the ActionController.
51
- * Subclasses should add this method as an event handler on the interactive
52
- * template element with `@pointerup="${this.handlePointerUp}"`
53
- */
54
- handlePointerUp(e: PointerEvent): void;
55
- /**
56
- * Hook method for the ActionController.
57
- * Subclasses should add this method as an event handler on the interactive
58
- * template element with `@pointercancel="${this.handlePointerCancel}"`
59
- */
60
- handlePointerCancel(e: PointerEvent): void;
61
- /**
62
- * Hook method for the ActionController.
63
- * Subclasses should add this method as an event handler on the interactive
64
- * template element with `@pointerleave="${this.handlePointerleave}"`
65
- */
66
- handlePointerLeave(e: PointerEvent): void;
67
- /**
68
- * Hook method for the ActionController.
69
- * Subclasses should add this method as an event handler on the interactive
70
- * template element with `@click="${this.handleClick}"`
71
- */
72
- handleClick(e: MouseEvent): void;
73
- /**
74
- * Hook method for the ActionController.
75
- * Subclasses should add this method as an event handler on the interactive
76
- * template element with `@contextmenu="${this.handleContextMenu}"`
77
- */
78
- handleContextMenu(): void;
79
- }
@@ -1,97 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2022 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { LitElement } from 'lit';
7
- import { ActionController } from '../controller/action-controller.js';
8
- /**
9
- * @soyCompatible
10
- *
11
- * ActionElement is a base class that provides a handy starting point for using
12
- * ActionController. Subclasses should add the event handlers on the interactive
13
- * node in the template, and override `beginPress` and `endPress` to handle
14
- * pressed state, ripple interaction, and any other "press" interaction.
15
- */
16
- export class ActionElement extends LitElement {
17
- constructor() {
18
- super(...arguments);
19
- this.actionController = new ActionController(this);
20
- }
21
- /**
22
- * Hook method called when we've confirmed that the gesture is intended to be
23
- * a press. Subclasses should change the visual state of the control to
24
- * 'active' at this point, and possibly fire an event. Subclasses should
25
- * override this method if more needs to be done.
26
- *
27
- * @param options `positionEvent` is the Event that is considered the
28
- * beginning of the press. Null if this was a keyboard interaction.
29
- */
30
- beginPress(options) { }
31
- /**
32
- * Hook method called when the control goes from a pressed to unpressed
33
- * state.
34
- *
35
- * @param options If `cancelled` is true, means the user canceled the action.
36
- * Subclasses which trigger events on endPress() should check the value
37
- * of this flag, and modify their behavior accordingly.
38
- */
39
- endPress({ cancelled, actionData }) {
40
- if (!cancelled) {
41
- this.dispatchEvent(new CustomEvent('action', {
42
- detail: actionData,
43
- bubbles: true,
44
- composed: true,
45
- }));
46
- }
47
- }
48
- /**
49
- * Hook method for the ActionController.
50
- * Subclasses should add this method as an event handler on the interactive
51
- * template element with `@pointerdown="${this.handlePointerDown}"`
52
- */
53
- handlePointerDown(e) {
54
- this.actionController.pointerDown(e);
55
- }
56
- /**
57
- * Hook method for the ActionController.
58
- * Subclasses should add this method as an event handler on the interactive
59
- * template element with `@pointerup="${this.handlePointerUp}"`
60
- */
61
- handlePointerUp(e) {
62
- this.actionController.pointerUp(e);
63
- }
64
- /**
65
- * Hook method for the ActionController.
66
- * Subclasses should add this method as an event handler on the interactive
67
- * template element with `@pointercancel="${this.handlePointerCancel}"`
68
- */
69
- handlePointerCancel(e) {
70
- this.actionController.pointerCancel(e);
71
- }
72
- /**
73
- * Hook method for the ActionController.
74
- * Subclasses should add this method as an event handler on the interactive
75
- * template element with `@pointerleave="${this.handlePointerleave}"`
76
- */
77
- handlePointerLeave(e) {
78
- this.actionController.pointerLeave(e);
79
- }
80
- /**
81
- * Hook method for the ActionController.
82
- * Subclasses should add this method as an event handler on the interactive
83
- * template element with `@click="${this.handleClick}"`
84
- */
85
- handleClick(e) {
86
- this.actionController.click(e);
87
- }
88
- /**
89
- * Hook method for the ActionController.
90
- * Subclasses should add this method as an event handler on the interactive
91
- * template element with `@contextmenu="${this.handleContextMenu}"`
92
- */
93
- handleContextMenu() {
94
- this.actionController.contextMenu();
95
- }
96
- }
97
- //# sourceMappingURL=action-element.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-element.js","sourceRoot":"","sources":["action-element.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,UAAU,EAAC,MAAM,KAAK,CAAC;AAE/B,OAAO,EAAC,gBAAgB,EAAyD,MAAM,oCAAoC,CAAC;AAI5H;;;;;;;GAOG;AACH,MAAM,OAAgB,aAAc,SAAQ,UAAU;IAAtD;;QAQY,qBAAgB,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAoF1D,CAAC;IAlFC;;;;;;;;OAQG;IACH,UAAU,CAAC,OAAyB,IAAG,CAAC;IAExC;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAC,SAAS,EAAE,UAAU,EAAiB;QAC9C,IAAI,CAAC,SAAS,EAAE;YACd,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,QAAQ,EAAE;gBAC3C,MAAM,EAAE,UAAU;gBAClB,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,IAAI;aACf,CAAC,CAAC,CAAC;SACL;IACH,CAAC;IAED;;;;OAIG;IACH,iBAAiB,CAAC,CAAe;QAC/B,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;IAED;;;;OAIG;IACH,eAAe,CAAC,CAAe;QAC7B,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACrC,CAAC;IAED;;;;OAIG;IACH,mBAAmB,CAAC,CAAe;QACjC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IACzC,CAAC;IAED;;;;OAIG;IACH,kBAAkB,CAAC,CAAe;QAChC,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC;IAED;;;;OAIG;IACH,WAAW,CAAC,CAAa;QACvB,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACjC,CAAC;IAED;;;;OAIG;IACH,iBAAiB;QACf,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC;IACtC,CAAC;CACF","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {LitElement} from 'lit';\n\nimport {ActionController, ActionControllerHost, BeginPressConfig, EndPressConfig} from '../controller/action-controller.js';\n\nexport {BeginPressConfig, EndPressConfig};\n\n/**\n * @soyCompatible\n *\n * ActionElement is a base class that provides a handy starting point for using\n * ActionController. Subclasses should add the event handlers on the interactive\n * node in the template, and override `beginPress` and `endPress` to handle\n * pressed state, ripple interaction, and any other \"press\" interaction.\n */\nexport abstract class ActionElement extends LitElement implements\n ActionControllerHost {\n /**\n * ActionController needs to know if the component is disabled, so subclasses\n * must implement a `disabled` property.\n */\n abstract disabled: boolean;\n\n protected actionController = new ActionController(this);\n\n /**\n * Hook method called when we've confirmed that the gesture is intended to be\n * a press. Subclasses should change the visual state of the control to\n * 'active' at this point, and possibly fire an event. Subclasses should\n * override this method if more needs to be done.\n *\n * @param options `positionEvent` is the Event that is considered the\n * beginning of the press. Null if this was a keyboard interaction.\n */\n beginPress(options: BeginPressConfig) {}\n\n /**\n * Hook method called when the control goes from a pressed to unpressed\n * state.\n *\n * @param options If `cancelled` is true, means the user canceled the action.\n * Subclasses which trigger events on endPress() should check the value\n * of this flag, and modify their behavior accordingly.\n */\n endPress({cancelled, actionData}: EndPressConfig) {\n if (!cancelled) {\n this.dispatchEvent(new CustomEvent('action', {\n detail: actionData,\n bubbles: true,\n composed: true,\n }));\n }\n }\n\n /**\n * Hook method for the ActionController.\n * Subclasses should add this method as an event handler on the interactive\n * template element with `@pointerdown=\"${this.handlePointerDown}\"`\n */\n handlePointerDown(e: PointerEvent) {\n this.actionController.pointerDown(e);\n }\n\n /**\n * Hook method for the ActionController.\n * Subclasses should add this method as an event handler on the interactive\n * template element with `@pointerup=\"${this.handlePointerUp}\"`\n */\n handlePointerUp(e: PointerEvent) {\n this.actionController.pointerUp(e);\n }\n\n /**\n * Hook method for the ActionController.\n * Subclasses should add this method as an event handler on the interactive\n * template element with `@pointercancel=\"${this.handlePointerCancel}\"`\n */\n handlePointerCancel(e: PointerEvent) {\n this.actionController.pointerCancel(e);\n }\n\n /**\n * Hook method for the ActionController.\n * Subclasses should add this method as an event handler on the interactive\n * template element with `@pointerleave=\"${this.handlePointerleave}\"`\n */\n handlePointerLeave(e: PointerEvent) {\n this.actionController.pointerLeave(e);\n }\n\n /**\n * Hook method for the ActionController.\n * Subclasses should add this method as an event handler on the interactive\n * template element with `@click=\"${this.handleClick}\"`\n */\n handleClick(e: MouseEvent) {\n this.actionController.click(e);\n }\n\n /**\n * Hook method for the ActionController.\n * Subclasses should add this method as an event handler on the interactive\n * template element with `@contextmenu=\"${this.handleContextMenu}\"`\n */\n handleContextMenu() {\n this.actionController.contextMenu();\n }\n}\n"]}
@@ -1,36 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { ElevatedLinkButton } from './lib/elevated-link-button.js';
7
- declare global {
8
- interface HTMLElementTagNameMap {
9
- 'md-elevated-link-button': MdElevatedLinkButton;
10
- }
11
- }
12
- /**
13
- * @summary Buttons help people take action, such as sending an email, sharing a
14
- * document, or liking a comment. This is a linkable variant.
15
- *
16
- * @description
17
- * __Emphasis:__ Medium emphasis – For important actions that don’t distract
18
- * from other onscreen elements.
19
- *
20
- * __Rationale:__ Elevated buttons are essentially filled buttons with a lighter
21
- * background color and a shadow. To prevent shadow creep, only use them when
22
- * absolutely necessary, such as when the button requires visual separation from
23
- * a patterned background.
24
- *
25
- * __Example usages:__
26
- * - Reply
27
- * - View all
28
- * - Add to cart
29
- * - Take out of trash
30
- *
31
- * @final
32
- * @suppress {visibility}
33
- */
34
- export declare class MdElevatedLinkButton extends ElevatedLinkButton {
35
- static styles: import("lit").CSSResult[];
36
- }
@@ -1,41 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { __decorate } from "tslib";
7
- import { customElement } from 'lit/decorators.js';
8
- import { ElevatedLinkButton } from './lib/elevated-link-button.js';
9
- import { styles as elevatedStyles } from './lib/elevated-styles.css.js';
10
- import { styles as sharedElevationStyles } from './lib/shared-elevation-styles.css.js';
11
- import { styles as sharedStyles } from './lib/shared-styles.css.js';
12
- /**
13
- * @summary Buttons help people take action, such as sending an email, sharing a
14
- * document, or liking a comment. This is a linkable variant.
15
- *
16
- * @description
17
- * __Emphasis:__ Medium emphasis – For important actions that don’t distract
18
- * from other onscreen elements.
19
- *
20
- * __Rationale:__ Elevated buttons are essentially filled buttons with a lighter
21
- * background color and a shadow. To prevent shadow creep, only use them when
22
- * absolutely necessary, such as when the button requires visual separation from
23
- * a patterned background.
24
- *
25
- * __Example usages:__
26
- * - Reply
27
- * - View all
28
- * - Add to cart
29
- * - Take out of trash
30
- *
31
- * @final
32
- * @suppress {visibility}
33
- */
34
- let MdElevatedLinkButton = class MdElevatedLinkButton extends ElevatedLinkButton {
35
- };
36
- MdElevatedLinkButton.styles = [sharedStyles, sharedElevationStyles, elevatedStyles];
37
- MdElevatedLinkButton = __decorate([
38
- customElement('md-elevated-link-button')
39
- ], MdElevatedLinkButton);
40
- export { MdElevatedLinkButton };
41
- //# sourceMappingURL=elevated-link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"elevated-link-button.js","sourceRoot":"","sources":["elevated-link-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAC,MAAM,IAAI,cAAc,EAAC,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAC,MAAM,IAAI,qBAAqB,EAAC,MAAM,sCAAsC,CAAC;AACrF,OAAO,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAQlE;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEI,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,kBAAkB;;AAC1C,2BAAM,GAClB,CAAC,YAAY,EAAE,qBAAqB,EAAE,cAAc,CAAC,CAAC;AAF/C,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAGhC;SAHY,oBAAoB","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {customElement} from 'lit/decorators.js';\n\nimport {ElevatedLinkButton} from './lib/elevated-link-button.js';\nimport {styles as elevatedStyles} from './lib/elevated-styles.css.js';\nimport {styles as sharedElevationStyles} from './lib/shared-elevation-styles.css.js';\nimport {styles as sharedStyles} from './lib/shared-styles.css.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-elevated-link-button': MdElevatedLinkButton;\n }\n}\n\n/**\n * @summary Buttons help people take action, such as sending an email, sharing a\n * document, or liking a comment. This is a linkable variant.\n *\n * @description\n * __Emphasis:__ Medium emphasis – For important actions that don’t distract\n * from other onscreen elements.\n *\n * __Rationale:__ Elevated buttons are essentially filled buttons with a lighter\n * background color and a shadow. To prevent shadow creep, only use them when\n * absolutely necessary, such as when the button requires visual separation from\n * a patterned background.\n *\n * __Example usages:__\n * - Reply\n * - View all\n * - Add to cart\n * - Take out of trash\n *\n * @final\n * @suppress {visibility}\n */\n@customElement('md-elevated-link-button')\nexport class MdElevatedLinkButton extends ElevatedLinkButton {\n static override styles =\n [sharedStyles, sharedElevationStyles, elevatedStyles];\n}\n"]}
@@ -1,34 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { FilledLinkButton } from './lib/filled-link-button.js';
7
- declare global {
8
- interface HTMLElementTagNameMap {
9
- 'md-filled-link-button': MdFilledLinkButton;
10
- }
11
- }
12
- /**
13
- * @summary Buttons help people take action, such as sending an email, sharing a
14
- * document, or liking a comment. This is a linkable variant.
15
- *
16
- * @description
17
- * __Emphasis:__ High emphasis – For the primary, most important, or most common
18
- * action on a screen
19
- *
20
- * __Rationale:__ The filled button’s contrasting surface color makes it the
21
- * most prominent button after the FAB. It’s used for final or unblocking
22
- * actions in a flow.
23
- *
24
- * __Example usages:__
25
- * - Save
26
- * - Confirm
27
- * - Done
28
- *
29
- * @final
30
- * @suppress {visibility}
31
- */
32
- export declare class MdFilledLinkButton extends FilledLinkButton {
33
- static styles: import("lit").CSSResult[];
34
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { __decorate } from "tslib";
7
- import { customElement } from 'lit/decorators.js';
8
- import { FilledLinkButton } from './lib/filled-link-button.js';
9
- import { styles as filledStyles } from './lib/filled-styles.css.js';
10
- import { styles as sharedElevationStyles } from './lib/shared-elevation-styles.css.js';
11
- import { styles as sharedStyles } from './lib/shared-styles.css.js';
12
- /**
13
- * @summary Buttons help people take action, such as sending an email, sharing a
14
- * document, or liking a comment. This is a linkable variant.
15
- *
16
- * @description
17
- * __Emphasis:__ High emphasis – For the primary, most important, or most common
18
- * action on a screen
19
- *
20
- * __Rationale:__ The filled button’s contrasting surface color makes it the
21
- * most prominent button after the FAB. It’s used for final or unblocking
22
- * actions in a flow.
23
- *
24
- * __Example usages:__
25
- * - Save
26
- * - Confirm
27
- * - Done
28
- *
29
- * @final
30
- * @suppress {visibility}
31
- */
32
- let MdFilledLinkButton = class MdFilledLinkButton extends FilledLinkButton {
33
- };
34
- MdFilledLinkButton.styles = [sharedStyles, sharedElevationStyles, filledStyles];
35
- MdFilledLinkButton = __decorate([
36
- customElement('md-filled-link-button')
37
- ], MdFilledLinkButton);
38
- export { MdFilledLinkButton };
39
- //# sourceMappingURL=filled-link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filled-link-button.js","sourceRoot":"","sources":["filled-link-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAC,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAC,MAAM,IAAI,qBAAqB,EAAC,MAAM,sCAAsC,CAAC;AACrF,OAAO,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAQlE;;;;;;;;;;;;;;;;;;;GAmBG;AAEI,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,gBAAgB;;AACtC,yBAAM,GAAG,CAAC,YAAY,EAAE,qBAAqB,EAAE,YAAY,CAAC,CAAC;AADlE,kBAAkB;IAD9B,aAAa,CAAC,uBAAuB,CAAC;GAC1B,kBAAkB,CAE9B;SAFY,kBAAkB","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {customElement} from 'lit/decorators.js';\n\nimport {FilledLinkButton} from './lib/filled-link-button.js';\nimport {styles as filledStyles} from './lib/filled-styles.css.js';\nimport {styles as sharedElevationStyles} from './lib/shared-elevation-styles.css.js';\nimport {styles as sharedStyles} from './lib/shared-styles.css.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-filled-link-button': MdFilledLinkButton;\n }\n}\n\n/**\n * @summary Buttons help people take action, such as sending an email, sharing a\n * document, or liking a comment. This is a linkable variant.\n *\n * @description\n * __Emphasis:__ High emphasis – For the primary, most important, or most common\n * action on a screen\n *\n * __Rationale:__ The filled button’s contrasting surface color makes it the\n * most prominent button after the FAB. It’s used for final or unblocking\n * actions in a flow.\n *\n * __Example usages:__\n * - Save\n * - Confirm\n * - Done\n *\n * @final\n * @suppress {visibility}\n */\n@customElement('md-filled-link-button')\nexport class MdFilledLinkButton extends FilledLinkButton {\n static override styles = [sharedStyles, sharedElevationStyles, filledStyles];\n}\n"]}
@@ -1,13 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import '../../elevation/elevation.js';
7
- import { TemplateResult } from 'lit';
8
- import { ClassInfo } from 'lit/directives/class-map.js';
9
- import { LinkButton } from './link-button.js';
10
- export declare class ElevatedLinkButton extends LinkButton {
11
- protected getRenderClasses(): ClassInfo;
12
- protected renderElevation(): TemplateResult;
13
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import '../../elevation/elevation.js';
7
- import { html } from 'lit';
8
- import { LinkButton } from './link-button.js';
9
- // tslint:disable-next-line:enforce-comments-on-exported-symbols
10
- export class ElevatedLinkButton extends LinkButton {
11
- getRenderClasses() {
12
- return {
13
- ...super.getRenderClasses(),
14
- 'md3-button--elevated': true,
15
- };
16
- }
17
- renderElevation() {
18
- return html `<md-elevation shadow surface></md-elevation>`;
19
- }
20
- }
21
- //# sourceMappingURL=elevated-link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"elevated-link-button.js","sourceRoot":"","sources":["elevated-link-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EAAC,IAAI,EAAiB,MAAM,KAAK,CAAC;AAGzC,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,gEAAgE;AAChE,MAAM,OAAO,kBAAmB,SAAQ,UAAU;IAC7B,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,sBAAsB,EAAE,IAAI;SAC7B,CAAC;IACJ,CAAC;IAEkB,eAAe;QAChC,OAAO,IAAI,CAAA,8CAA8C,CAAC;IAC5D,CAAC;CACF","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport '../../elevation/elevation.js';\n\nimport {html, TemplateResult} from 'lit';\nimport {ClassInfo} from 'lit/directives/class-map.js';\n\nimport {LinkButton} from './link-button.js';\n\n// tslint:disable-next-line:enforce-comments-on-exported-symbols\nexport class ElevatedLinkButton extends LinkButton {\n protected override getRenderClasses(): ClassInfo {\n return {\n ...super.getRenderClasses(),\n 'md3-button--elevated': true,\n };\n }\n\n protected override renderElevation(): TemplateResult {\n return html`<md-elevation shadow surface></md-elevation>`;\n }\n}\n"]}
@@ -1,14 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import '../../elevation/elevation.js';
7
- import { TemplateResult } from 'lit';
8
- import { ClassInfo } from 'lit/directives/class-map.js';
9
- import { LinkButton } from './link-button.js';
10
- export declare class FilledLinkButton extends LinkButton {
11
- protected getRenderClasses(): ClassInfo;
12
- /** @soyTemplate */
13
- protected renderElevation(): TemplateResult;
14
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import '../../elevation/elevation.js';
7
- import { html } from 'lit';
8
- import { LinkButton } from './link-button.js';
9
- // tslint:disable-next-line:enforce-comments-on-exported-symbols
10
- export class FilledLinkButton extends LinkButton {
11
- getRenderClasses() {
12
- return {
13
- ...super.getRenderClasses(),
14
- 'md3-button--filled': true,
15
- };
16
- }
17
- /** @soyTemplate */
18
- renderElevation() {
19
- return html `<md-elevation shadow surface></md-elevation>`;
20
- }
21
- }
22
- //# sourceMappingURL=filled-link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filled-link-button.js","sourceRoot":"","sources":["filled-link-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EAAC,IAAI,EAAiB,MAAM,KAAK,CAAC;AAGzC,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,gEAAgE;AAChE,MAAM,OAAO,gBAAiB,SAAQ,UAAU;IAC3B,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,oBAAoB,EAAE,IAAI;SAC3B,CAAC;IACJ,CAAC;IAED,mBAAmB;IACA,eAAe;QAChC,OAAO,IAAI,CAAA,8CAA8C,CAAC;IAC5D,CAAC;CACF","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport '../../elevation/elevation.js';\n\nimport {html, TemplateResult} from 'lit';\nimport {ClassInfo} from 'lit/directives/class-map.js';\n\nimport {LinkButton} from './link-button.js';\n\n// tslint:disable-next-line:enforce-comments-on-exported-symbols\nexport class FilledLinkButton extends LinkButton {\n protected override getRenderClasses(): ClassInfo {\n return {\n ...super.getRenderClasses(),\n 'md3-button--filled': true,\n };\n }\n\n /** @soyTemplate */\n protected override renderElevation(): TemplateResult {\n return html`<md-elevation shadow surface></md-elevation>`;\n }\n}\n"]}
@@ -1,24 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { TemplateResult } from 'lit';
7
- import { ClassInfo } from 'lit/directives/class-map.js';
8
- import { Button } from './button.js';
9
- export declare abstract class LinkButton extends Button {
10
- /**
11
- * Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.
12
- */
13
- href: string;
14
- /**
15
- * Sets the underlying `HTMLAnchorElement`'s `target` attribute.
16
- */
17
- target: string;
18
- /**
19
- * Link buttons cannot be disabled.
20
- */
21
- disabled: boolean;
22
- protected getRenderClasses(): ClassInfo;
23
- protected render(): TemplateResult;
24
- }
@@ -1,59 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { __decorate, __metadata } from "tslib";
7
- import { html } from 'lit';
8
- import { property } from 'lit/decorators.js';
9
- import { classMap } from 'lit/directives/class-map.js';
10
- import { ifDefined } from 'lit/directives/if-defined.js';
11
- import { when } from 'lit/directives/when.js';
12
- import { ripple } from '../../ripple/directive.js';
13
- import { Button } from './button.js';
14
- // tslint:disable-next-line:enforce-comments-on-exported-symbols
15
- export class LinkButton extends Button {
16
- constructor() {
17
- super(...arguments);
18
- /**
19
- * Link buttons cannot be disabled.
20
- */
21
- this.disabled = false;
22
- }
23
- // Note: link buttons cannot have trailing icons.
24
- getRenderClasses() {
25
- return {
26
- 'md3-button--icon-leading': this.hasIcon,
27
- };
28
- }
29
- render() {
30
- return html `
31
- <span class="md3-link-button-wrapper">
32
- <a class="md3-button ${classMap(this.getRenderClasses())}"
33
- href="${ifDefined(this.href)}"
34
- target="${ifDefined(this.target)}"
35
- aria-label="${ifDefined(this.ariaLabel)}"
36
- @focus="${this.handleFocus}"
37
- @blur="${this.handleBlur}"
38
- @pointerdown="${this.handlePointerDown}"
39
- @click="${this.handleClick}"
40
- ${ripple(this.getRipple)}>
41
- ${this.renderFocusRing()}
42
- ${this.renderElevation()}
43
- ${when(this.showRipple, this.renderRipple)}
44
- ${this.renderOutline()}
45
- ${this.renderTouchTarget()}
46
- ${this.renderIcon()}
47
- ${this.renderLabel()}</a>
48
- </span>`;
49
- }
50
- }
51
- __decorate([
52
- property({ type: String }),
53
- __metadata("design:type", String)
54
- ], LinkButton.prototype, "href", void 0);
55
- __decorate([
56
- property({ type: String }),
57
- __metadata("design:type", String)
58
- ], LinkButton.prototype, "target", void 0);
59
- //# sourceMappingURL=link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"link-button.js","sourceRoot":"","sources":["link-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAC,IAAI,EAAiB,MAAM,KAAK,CAAC;AACzC,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAY,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAC,IAAI,EAAC,MAAM,wBAAwB,CAAC;AAE5C,OAAO,EAAC,MAAM,EAAC,MAAM,2BAA2B,CAAC;AAEjD,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAUnC,gEAAgE;AAChE,MAAM,OAAgB,UAAW,SAAQ,MAAM;IAA/C;;QAWE;;WAEG;QACM,aAAQ,GAAG,KAAK,CAAC;IA8B5B,CAAC;IA5BC,iDAAiD;IAC9B,gBAAgB;QACjC,OAAO;YACL,0BAA0B,EAAE,IAAI,CAAC,OAAO;SACzC,CAAC;IACJ,CAAC;IAEkB,MAAM;QACvB,OAAO,IAAI,CAAA;;+BAEgB,QAAQ,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC;kBAC9C,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;oBAClB,SAAS,CAAC,IAAI,CAAC,MAAoB,CAAC;wBAChC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC;oBAC7B,IAAI,CAAC,WAAW;mBACjB,IAAI,CAAC,UAAU;0BACR,IAAI,CAAC,iBAAiB;oBAC5B,IAAI,CAAC,WAAW;YACxB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;cACpB,IAAI,CAAC,eAAe,EAAE;cACtB,IAAI,CAAC,eAAe,EAAE;cACtB,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;cACxC,IAAI,CAAC,aAAa,EAAE;cACpB,IAAI,CAAC,iBAAiB,EAAE;cACxB,IAAI,CAAC,UAAU,EAAE;cACjB,IAAI,CAAC,WAAW,EAAE;cAClB,CAAC;IACb,CAAC;CACF;AAxCC;IAAC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;wCAAe;AAKxC;IAAC,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;;0CAAiB","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {html, TemplateResult} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport {ClassInfo, classMap} from 'lit/directives/class-map.js';\nimport {ifDefined} from 'lit/directives/if-defined.js';\nimport {when} from 'lit/directives/when.js';\n\nimport {ripple} from '../../ripple/directive.js';\n\nimport {Button} from './button.js';\n\n/**\n * Note that we cast `linkTarget` to this type, below. The Lit compiler\n * enforces the `target` attribute value to be of this type, but this is not\n * compatible with the generated Wit Soy/JS, which expects `linkTarget`\n * to be a string type.\n */\ntype LinkTarget = '_blank'|'_parent'|'_self'|'_top';\n\n// tslint:disable-next-line:enforce-comments-on-exported-symbols\nexport abstract class LinkButton extends Button {\n /**\n * Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.\n */\n @property({type: String}) href!: string;\n\n /**\n * Sets the underlying `HTMLAnchorElement`'s `target` attribute.\n */\n @property({type: String}) target!: string;\n\n /**\n * Link buttons cannot be disabled.\n */\n override disabled = false;\n\n // Note: link buttons cannot have trailing icons.\n protected override getRenderClasses(): ClassInfo {\n return {\n 'md3-button--icon-leading': this.hasIcon,\n };\n }\n\n protected override render(): TemplateResult {\n return html`\n <span class=\"md3-link-button-wrapper\">\n <a class=\"md3-button ${classMap(this.getRenderClasses())}\"\n href=\"${ifDefined(this.href)}\"\n target=\"${ifDefined(this.target as LinkTarget)}\"\n aria-label=\"${ifDefined(this.ariaLabel)}\"\n @focus=\"${this.handleFocus}\"\n @blur=\"${this.handleBlur}\"\n @pointerdown=\"${this.handlePointerDown}\"\n @click=\"${this.handleClick}\"\n ${ripple(this.getRipple)}>\n ${this.renderFocusRing()}\n ${this.renderElevation()}\n ${when(this.showRipple, this.renderRipple)}\n ${this.renderOutline()}\n ${this.renderTouchTarget()}\n ${this.renderIcon()}\n ${this.renderLabel()}</a>\n </span>`;\n }\n}\n"]}
@@ -1,12 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { TemplateResult } from 'lit';
7
- import { ClassInfo } from 'lit/directives/class-map.js';
8
- import { LinkButton } from './link-button.js';
9
- export declare class OutlinedLinkButton extends LinkButton {
10
- protected getRenderClasses(): ClassInfo;
11
- protected renderOutline(): TemplateResult;
12
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { html } from 'lit';
7
- import { LinkButton } from './link-button.js';
8
- // tslint:disable-next-line:enforce-comments-on-exported-symbols
9
- export class OutlinedLinkButton extends LinkButton {
10
- getRenderClasses() {
11
- return {
12
- ...super.getRenderClasses(),
13
- 'md3-button--outlined': true,
14
- };
15
- }
16
- renderOutline() {
17
- return html `<span class="md3-button__outline"></span>`;
18
- }
19
- }
20
- //# sourceMappingURL=outlined-link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"outlined-link-button.js","sourceRoot":"","sources":["outlined-link-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAC,IAAI,EAAiB,MAAM,KAAK,CAAC;AAGzC,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,gEAAgE;AAChE,MAAM,OAAO,kBAAmB,SAAQ,UAAU;IAC7B,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,sBAAsB,EAAE,IAAI;SAC7B,CAAC;IACJ,CAAC;IAEkB,aAAa;QAC9B,OAAO,IAAI,CAAA,2CAA2C,CAAC;IACzD,CAAC;CACF","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport {html, TemplateResult} from 'lit';\nimport {ClassInfo} from 'lit/directives/class-map.js';\n\nimport {LinkButton} from './link-button.js';\n\n// tslint:disable-next-line:enforce-comments-on-exported-symbols\nexport class OutlinedLinkButton extends LinkButton {\n protected override getRenderClasses(): ClassInfo {\n return {\n ...super.getRenderClasses(),\n 'md3-button--outlined': true,\n };\n }\n\n protected override renderOutline(): TemplateResult {\n return html`<span class=\"md3-button__outline\"></span>`;\n }\n}\n"]}