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

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 (472) hide show
  1. package/README.md +1 -1
  2. package/badge/lib/badge-styles.css.js +1 -1
  3. package/badge/lib/badge-styles.css.js.map +1 -1
  4. package/button/lib/_elevation.scss +7 -13
  5. package/button/lib/_outlined-button.scss +1 -1
  6. package/button/lib/_shared.scss +5 -0
  7. package/button/lib/_text-button.scss +1 -1
  8. package/button/lib/_tonal-button.scss +1 -1
  9. package/button/lib/button.d.ts +14 -1
  10. package/button/lib/button.js +36 -14
  11. package/button/lib/button.js.map +1 -1
  12. package/button/lib/elevated-button.d.ts +3 -0
  13. package/button/lib/elevated-button.js +4 -2
  14. package/button/lib/elevated-button.js.map +1 -1
  15. package/button/lib/elevated-styles.css.js +1 -1
  16. package/button/lib/elevated-styles.css.js.map +1 -1
  17. package/button/lib/filled-button.d.ts +3 -1
  18. package/button/lib/filled-button.js +4 -3
  19. package/button/lib/filled-button.js.map +1 -1
  20. package/button/lib/filled-styles.css.js +1 -1
  21. package/button/lib/filled-styles.css.js.map +1 -1
  22. package/button/lib/outlined-button.d.ts +3 -0
  23. package/button/lib/outlined-button.js +3 -1
  24. package/button/lib/outlined-button.js.map +1 -1
  25. package/button/lib/outlined-styles.css.js +1 -1
  26. package/button/lib/outlined-styles.css.js.map +1 -1
  27. package/button/lib/shared-elevation-styles.css.js +1 -1
  28. package/button/lib/shared-elevation-styles.css.js.map +1 -1
  29. package/button/lib/shared-styles.css.js +1 -1
  30. package/button/lib/shared-styles.css.js.map +1 -1
  31. package/button/lib/text-button.d.ts +3 -0
  32. package/button/lib/text-button.js +3 -1
  33. package/button/lib/text-button.js.map +1 -1
  34. package/button/lib/text-styles.css.js +1 -1
  35. package/button/lib/text-styles.css.js.map +1 -1
  36. package/button/lib/tonal-button.d.ts +3 -1
  37. package/button/lib/tonal-button.js +4 -3
  38. package/button/lib/tonal-button.js.map +1 -1
  39. package/button/lib/tonal-styles.css.js +1 -1
  40. package/button/lib/tonal-styles.css.js.map +1 -1
  41. package/checkbox/lib/checkbox-styles.css.js +1 -1
  42. package/checkbox/lib/checkbox-styles.css.js.map +1 -1
  43. package/chips/lib/_shared.scss +63 -33
  44. package/chips/lib/assist-styles.css.js +1 -1
  45. package/chips/lib/assist-styles.css.js.map +1 -1
  46. package/chips/lib/chip.js +1 -1
  47. package/chips/lib/chip.js.map +1 -1
  48. package/chips/lib/shared-styles.css.js +1 -1
  49. package/chips/lib/shared-styles.css.js.map +1 -1
  50. package/chips/lib/suggestion-styles.css.js +1 -1
  51. package/chips/lib/suggestion-styles.css.js.map +1 -1
  52. package/circularprogress/_circular-progress.scss +6 -0
  53. package/circularprogress/circular-progress.d.ts +24 -0
  54. package/circularprogress/circular-progress.js +27 -0
  55. package/circularprogress/circular-progress.js.map +1 -0
  56. package/circularprogress/harness.d.ts +12 -0
  57. package/circularprogress/harness.js +12 -0
  58. package/circularprogress/harness.js.map +1 -0
  59. package/circularprogress/lib/_circular-progress.scss +282 -0
  60. package/circularprogress/lib/circular-progress-styles.css.js +9 -0
  61. package/circularprogress/lib/circular-progress-styles.css.js.map +1 -0
  62. package/circularprogress/lib/circular-progress-styles.scss +8 -0
  63. package/circularprogress/lib/circular-progress.d.ts +29 -0
  64. package/circularprogress/lib/circular-progress.js +98 -0
  65. package/circularprogress/lib/circular-progress.js.map +1 -0
  66. package/dialog/lib/_dialog.scss +1 -6
  67. package/dialog/lib/dialog-styles.css.js +1 -1
  68. package/dialog/lib/dialog-styles.css.js.map +1 -1
  69. package/dialog/lib/dialog.js +1 -1
  70. package/dialog/lib/dialog.js.map +1 -1
  71. package/elevation/lib/_elevation.scss +13 -48
  72. package/elevation/lib/elevation-styles.css.js +1 -1
  73. package/elevation/lib/elevation-styles.css.js.map +1 -1
  74. package/elevation/lib/elevation.d.ts +0 -8
  75. package/elevation/lib/elevation.js +1 -25
  76. package/elevation/lib/elevation.js.map +1 -1
  77. package/fab/lib/_shared.scss +18 -21
  78. package/fab/lib/fab-extended-styles.css.js +1 -1
  79. package/fab/lib/fab-extended-styles.css.js.map +1 -1
  80. package/fab/lib/fab-shared-styles.css.js +1 -1
  81. package/fab/lib/fab-shared-styles.css.js.map +1 -1
  82. package/fab/lib/fab-shared.js +1 -1
  83. package/fab/lib/fab-shared.js.map +1 -1
  84. package/fab/lib/fab-styles.css.js +1 -1
  85. package/fab/lib/fab-styles.css.js.map +1 -1
  86. package/field/lib/filled-styles.css.js +1 -1
  87. package/field/lib/filled-styles.css.js.map +1 -1
  88. package/field/lib/outlined-styles.css.js +1 -1
  89. package/field/lib/outlined-styles.css.js.map +1 -1
  90. package/focus/lib/_focus-ring.scss +30 -20
  91. package/focus/lib/focus-ring-styles.css.js +1 -1
  92. package/focus/lib/focus-ring-styles.css.js.map +1 -1
  93. package/focus/strong-focus.d.ts +11 -0
  94. package/focus/strong-focus.js +11 -1
  95. package/focus/strong-focus.js.map +1 -1
  96. package/iconbutton/filled-icon-button.js +1 -0
  97. package/iconbutton/filled-icon-button.js.map +1 -1
  98. package/iconbutton/filled-tonal-icon-button.js +1 -0
  99. package/iconbutton/filled-tonal-icon-button.js.map +1 -1
  100. package/iconbutton/harness.d.ts +1 -2
  101. package/iconbutton/harness.js.map +1 -1
  102. package/iconbutton/lib/filled-styles.css.js +1 -1
  103. package/iconbutton/lib/filled-styles.css.js.map +1 -1
  104. package/iconbutton/lib/filled-tonal-styles.css.js +1 -1
  105. package/iconbutton/lib/filled-tonal-styles.css.js.map +1 -1
  106. package/iconbutton/lib/icon-button.d.ts +33 -2
  107. package/iconbutton/lib/icon-button.js +104 -16
  108. package/iconbutton/lib/icon-button.js.map +1 -1
  109. package/iconbutton/lib/outlined-styles.css.js +1 -1
  110. package/iconbutton/lib/outlined-styles.css.js.map +1 -1
  111. package/iconbutton/lib/standard-styles.css.js +1 -1
  112. package/iconbutton/lib/standard-styles.css.js.map +1 -1
  113. package/list/harness.d.ts +1 -0
  114. package/list/harness.js +1 -0
  115. package/list/harness.js.map +1 -1
  116. package/list/lib/_list.scss +0 -1
  117. package/list/lib/list-styles.css.js +1 -1
  118. package/list/lib/list-styles.css.js.map +1 -1
  119. package/list/lib/list.js +2 -0
  120. package/list/lib/list.js.map +1 -1
  121. package/list/lib/listitem/_list-item.scss +9 -13
  122. package/list/lib/listitem/forced-colors-styles.css.js +9 -0
  123. package/list/lib/listitem/forced-colors-styles.css.js.map +1 -0
  124. package/list/lib/listitem/forced-colors-styles.scss +23 -0
  125. package/list/lib/listitem/list-item-styles.css.js +1 -1
  126. package/list/lib/listitem/list-item-styles.css.js.map +1 -1
  127. package/list/lib/listitem/list-item.d.ts +3 -3
  128. package/list/lib/listitem/list-item.js +3 -3
  129. package/list/lib/listitem/list-item.js.map +1 -1
  130. package/list/list-item-link.js +2 -1
  131. package/list/list-item-link.js.map +1 -1
  132. package/list/list-item.js +2 -1
  133. package/list/list-item.js.map +1 -1
  134. package/menu/harness.d.ts +1 -0
  135. package/menu/harness.js +1 -0
  136. package/menu/harness.js.map +1 -1
  137. package/menu/lib/_menu.scss +5 -10
  138. package/menu/lib/forced-colors-styles.css.d.ts +1 -0
  139. package/menu/lib/forced-colors-styles.css.js +9 -0
  140. package/menu/lib/forced-colors-styles.css.js.map +1 -0
  141. package/menu/lib/forced-colors-styles.scss +12 -0
  142. package/menu/lib/menu-styles.css.js +1 -1
  143. package/menu/lib/menu-styles.css.js.map +1 -1
  144. package/menu/lib/menu.d.ts +12 -1
  145. package/menu/lib/menu.js +42 -4
  146. package/menu/lib/menu.js.map +1 -1
  147. package/menu/lib/menuitem/_menu-item.scss +5 -11
  148. package/menu/lib/menuitem/forced-colors-styles.css.d.ts +1 -0
  149. package/menu/lib/menuitem/forced-colors-styles.css.js +9 -0
  150. package/menu/lib/menuitem/forced-colors-styles.css.js.map +1 -0
  151. package/menu/lib/menuitem/forced-colors-styles.scss +22 -0
  152. package/menu/lib/menuitem/menu-item-styles.css.js +1 -1
  153. package/menu/lib/menuitem/menu-item-styles.css.js.map +1 -1
  154. package/menu/lib/shared.d.ts +10 -0
  155. package/menu/lib/shared.js +23 -0
  156. package/menu/lib/shared.js.map +1 -1
  157. package/menu/lib/submenuitem/sub-menu-item.d.ts +4 -0
  158. package/menu/lib/submenuitem/sub-menu-item.js +12 -0
  159. package/menu/lib/submenuitem/sub-menu-item.js.map +1 -1
  160. package/menu/lib/typeaheadController.d.ts +10 -2
  161. package/menu/lib/typeaheadController.js +20 -14
  162. package/menu/lib/typeaheadController.js.map +1 -1
  163. package/menu/menu-item-link.js +3 -1
  164. package/menu/menu-item-link.js.map +1 -1
  165. package/menu/menu-item.js +4 -2
  166. package/menu/menu-item.js.map +1 -1
  167. package/menu/menu.js +2 -1
  168. package/menu/menu.js.map +1 -1
  169. package/menu/sub-menu-item.js +3 -1
  170. package/menu/sub-menu-item.js.map +1 -1
  171. package/navigationbar/lib/_navigation-bar.scss +3 -6
  172. package/navigationbar/lib/navigation-bar-styles.css.js +1 -1
  173. package/navigationbar/lib/navigation-bar-styles.css.js.map +1 -1
  174. package/navigationbar/lib/navigation-bar.js +2 -2
  175. package/navigationbar/lib/navigation-bar.js.map +1 -1
  176. package/navigationdrawer/lib/_navigation-drawer-modal.scss +10 -11
  177. package/navigationdrawer/lib/_navigation-drawer.scss +9 -14
  178. package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js +1 -1
  179. package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js.map +1 -1
  180. package/navigationdrawer/lib/navigation-drawer-styles.css.js +1 -1
  181. package/navigationdrawer/lib/navigation-drawer-styles.css.js.map +1 -1
  182. package/navigationdrawer/lib/navigation-drawer.js +1 -1
  183. package/navigationdrawer/lib/navigation-drawer.js.map +1 -1
  184. package/navigationtab/lib/navigation-tab-styles.css.js +1 -1
  185. package/navigationtab/lib/navigation-tab-styles.css.js.map +1 -1
  186. package/package.json +2 -1
  187. package/radio/lib/radio-styles.css.js +1 -1
  188. package/radio/lib/radio-styles.css.js.map +1 -1
  189. package/ripple/lib/_md-comp-ripple.scss +3 -3
  190. package/ripple/lib/ripple-styles.css.js +1 -1
  191. package/ripple/lib/ripple-styles.css.js.map +1 -1
  192. package/segmentedbutton/lib/outlined-styles.css.js +1 -1
  193. package/segmentedbutton/lib/outlined-styles.css.js.map +1 -1
  194. package/segmentedbuttonset/lib/outlined-styles.css.js +1 -1
  195. package/segmentedbuttonset/lib/outlined-styles.css.js.map +1 -1
  196. package/slider/lib/_slider.scss +1 -7
  197. package/slider/lib/_tokens.scss +5 -0
  198. package/slider/lib/slider-styles.css.js +1 -1
  199. package/slider/lib/slider-styles.css.js.map +1 -1
  200. package/slider/lib/slider.js +1 -1
  201. package/slider/lib/slider.js.map +1 -1
  202. package/switch/lib/switch-styles.css.js +1 -1
  203. package/switch/lib/switch-styles.css.js.map +1 -1
  204. package/textfield/lib/filled-styles.css.js +1 -1
  205. package/textfield/lib/filled-styles.css.js.map +1 -1
  206. package/textfield/lib/outlined-styles.css.js +1 -1
  207. package/textfield/lib/outlined-styles.css.js.map +1 -1
  208. package/tokens/_index.scss +3 -0
  209. package/tokens/_md-comp-assist-chip.scss +69 -14
  210. package/tokens/_md-comp-badge.scss +8 -1
  211. package/tokens/_md-comp-banner.scss +1 -1
  212. package/tokens/_md-comp-bottom-app-bar.scss +1 -1
  213. package/tokens/_md-comp-carousel-item.scss +1 -1
  214. package/tokens/_md-comp-checkbox.scss +1 -1
  215. package/tokens/_md-comp-circular-progress-indicator.scss +17 -2
  216. package/tokens/_md-comp-data-table.scss +1 -1
  217. package/tokens/_md-comp-date-input-modal.scss +1 -1
  218. package/tokens/_md-comp-date-picker-docked.scss +1 -1
  219. package/tokens/_md-comp-date-picker-modal.scss +1 -1
  220. package/tokens/_md-comp-dialog.scss +10 -1
  221. package/tokens/_md-comp-divider.scss +1 -1
  222. package/tokens/_md-comp-elevated-button.scss +80 -20
  223. package/tokens/_md-comp-elevated-card.scss +1 -1
  224. package/tokens/_md-comp-elevation.scss +28 -0
  225. package/tokens/_md-comp-extended-fab-branded.scss +8 -1
  226. package/tokens/_md-comp-extended-fab-primary.scss +8 -1
  227. package/tokens/_md-comp-extended-fab-secondary.scss +8 -1
  228. package/tokens/_md-comp-extended-fab-surface.scss +8 -1
  229. package/tokens/_md-comp-extended-fab-tertiary.scss +8 -1
  230. package/tokens/_md-comp-fab-branded-large.scss +1 -1
  231. package/tokens/_md-comp-fab-branded.scss +1 -1
  232. package/tokens/_md-comp-fab-primary-large.scss +1 -1
  233. package/tokens/_md-comp-fab-primary-small.scss +1 -1
  234. package/tokens/_md-comp-fab-primary.scss +1 -1
  235. package/tokens/_md-comp-fab-secondary-large.scss +1 -1
  236. package/tokens/_md-comp-fab-secondary-small.scss +1 -1
  237. package/tokens/_md-comp-fab-secondary.scss +1 -1
  238. package/tokens/_md-comp-fab-surface-large.scss +1 -1
  239. package/tokens/_md-comp-fab-surface-small.scss +1 -1
  240. package/tokens/_md-comp-fab-surface.scss +1 -1
  241. package/tokens/_md-comp-fab-tertiary-large.scss +1 -1
  242. package/tokens/_md-comp-fab-tertiary-small.scss +1 -1
  243. package/tokens/_md-comp-fab-tertiary.scss +1 -1
  244. package/tokens/_md-comp-filled-autocomplete.scss +1 -1
  245. package/tokens/_md-comp-filled-button.scss +80 -20
  246. package/tokens/_md-comp-filled-card.scss +1 -1
  247. package/tokens/_md-comp-filled-icon-button.scss +1 -1
  248. package/tokens/_md-comp-filled-menu-button.scss +1 -1
  249. package/tokens/_md-comp-filled-select.scss +1 -1
  250. package/tokens/_md-comp-filled-text-field.scss +10 -1
  251. package/tokens/_md-comp-filled-tonal-button.scss +80 -20
  252. package/tokens/_md-comp-filled-tonal-icon-button.scss +1 -1
  253. package/tokens/_md-comp-filter-chip.scss +201 -11
  254. package/tokens/_md-comp-focus-ring.scss +46 -0
  255. package/tokens/_md-comp-full-screen-dialog.scss +1 -1
  256. package/tokens/_md-comp-icon-button.scss +1 -1
  257. package/tokens/_md-comp-input-chip.scss +194 -11
  258. package/tokens/_md-comp-linear-progress-indicator.scss +1 -1
  259. package/tokens/_md-comp-list.scss +18 -1
  260. package/tokens/_md-comp-menu.scss +1 -1
  261. package/tokens/_md-comp-navigation-bar.scss +1 -1
  262. package/tokens/_md-comp-navigation-drawer.scss +1 -1
  263. package/tokens/_md-comp-navigation-rail.scss +1 -1
  264. package/tokens/_md-comp-outlined-autocomplete.scss +1 -1
  265. package/tokens/_md-comp-outlined-button.scss +77 -19
  266. package/tokens/_md-comp-outlined-card.scss +1 -1
  267. package/tokens/_md-comp-outlined-icon-button.scss +1 -1
  268. package/tokens/_md-comp-outlined-menu-button.scss +1 -1
  269. package/tokens/_md-comp-outlined-segmented-button.scss +10 -1
  270. package/tokens/_md-comp-outlined-select.scss +1 -1
  271. package/tokens/_md-comp-outlined-text-field.scss +10 -1
  272. package/tokens/_md-comp-plain-tooltip.scss +1 -1
  273. package/tokens/_md-comp-primary-navigation-tab.scss +10 -1
  274. package/tokens/_md-comp-radio-button.scss +1 -1
  275. package/tokens/_md-comp-rich-tooltip.scss +1 -1
  276. package/tokens/_md-comp-scrim.scss +1 -1
  277. package/tokens/_md-comp-search-bar.scss +1 -1
  278. package/tokens/_md-comp-search-view.scss +1 -1
  279. package/tokens/_md-comp-secondary-navigation-tab.scss +9 -1
  280. package/tokens/_md-comp-sheet-bottom.scss +1 -1
  281. package/tokens/_md-comp-sheet-floating.scss +1 -1
  282. package/tokens/_md-comp-sheet-side.scss +1 -1
  283. package/tokens/_md-comp-slider.scss +10 -1
  284. package/tokens/_md-comp-snackbar.scss +1 -1
  285. package/tokens/_md-comp-standard-menu-button.scss +1 -1
  286. package/tokens/_md-comp-suggestion-chip.scss +65 -14
  287. package/tokens/_md-comp-switch.scss +1 -1
  288. package/tokens/_md-comp-test-table.scss +31 -0
  289. package/tokens/_md-comp-text-button.scss +70 -19
  290. package/tokens/_md-comp-time-input.scss +1 -1
  291. package/tokens/_md-comp-time-picker.scss +1 -1
  292. package/tokens/_md-comp-top-app-bar-large.scss +1 -1
  293. package/tokens/_md-comp-top-app-bar-medium.scss +1 -1
  294. package/tokens/_md-comp-top-app-bar-small-centered.scss +1 -1
  295. package/tokens/_md-comp-top-app-bar-small.scss +1 -1
  296. package/tokens/_md-ref-palette.scss +1 -1
  297. package/tokens/_md-ref-typeface.scss +24 -2
  298. package/tokens/_md-sys-color.scss +1 -1
  299. package/tokens/_md-sys-elevation.scss +1 -1
  300. package/tokens/_md-sys-motion.scss +1 -1
  301. package/tokens/_md-sys-shape.scss +1 -1
  302. package/tokens/_md-sys-state.scss +1 -1
  303. package/tokens/_md-sys-typescale.scss +36 -2
  304. package/tokens/_values.scss +111 -0
  305. package/tokens/{v0_161 → v0_172}/_md-comp-assist-chip.scss +3 -4
  306. package/tokens/{v0_161 → v0_172}/_md-comp-badge.scss +1 -1
  307. package/tokens/{v0_161 → v0_172}/_md-comp-banner.scss +2 -4
  308. package/tokens/{v0_161 → v0_172}/_md-comp-bottom-app-bar.scss +3 -5
  309. package/tokens/{v0_161 → v0_172}/_md-comp-carousel-item.scss +1 -3
  310. package/tokens/{v0_161 → v0_172}/_md-comp-checkbox.scss +1 -1
  311. package/tokens/{v0_161 → v0_172}/_md-comp-circular-progress-indicator.scss +1 -1
  312. package/tokens/{v0_161 → v0_172}/_md-comp-data-table.scss +2 -2
  313. package/tokens/{v0_161 → v0_172}/_md-comp-date-input-modal.scss +2 -4
  314. package/tokens/{v0_161 → v0_172}/_md-comp-date-picker-docked.scss +2 -4
  315. package/tokens/{v0_161 → v0_172}/_md-comp-date-picker-modal.scss +2 -4
  316. package/tokens/{v0_161 → v0_172}/_md-comp-dialog.scss +2 -4
  317. package/tokens/{v0_161 → v0_172}/_md-comp-divider.scss +1 -1
  318. package/tokens/{v0_161 → v0_172}/_md-comp-elevated-button.scss +2 -4
  319. package/tokens/{v0_161 → v0_172}/_md-comp-elevated-card.scss +2 -4
  320. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-branded.scss +4 -4
  321. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-primary.scss +1 -1
  322. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-secondary.scss +1 -1
  323. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-surface.scss +4 -4
  324. package/tokens/{v0_161 → v0_172}/_md-comp-extended-fab-tertiary.scss +1 -1
  325. package/tokens/{v0_161 → v0_172}/_md-comp-fab-branded-large.scss +4 -4
  326. package/tokens/{v0_161 → v0_172}/_md-comp-fab-branded.scss +4 -4
  327. package/tokens/{v0_161 → v0_172}/_md-comp-fab-primary-large.scss +1 -1
  328. package/tokens/{v0_161 → v0_172}/_md-comp-fab-primary-small.scss +1 -1
  329. package/tokens/{v0_161 → v0_172}/_md-comp-fab-primary.scss +1 -1
  330. package/tokens/{v0_161 → v0_172}/_md-comp-fab-secondary-large.scss +1 -1
  331. package/tokens/{v0_161 → v0_172}/_md-comp-fab-secondary-small.scss +1 -1
  332. package/tokens/{v0_161 → v0_172}/_md-comp-fab-secondary.scss +1 -1
  333. package/tokens/{v0_161 → v0_172}/_md-comp-fab-surface-large.scss +4 -4
  334. package/tokens/{v0_161 → v0_172}/_md-comp-fab-surface-small.scss +4 -4
  335. package/tokens/{v0_161 → v0_172}/_md-comp-fab-surface.scss +4 -4
  336. package/tokens/{v0_161 → v0_172}/_md-comp-fab-tertiary-large.scss +1 -1
  337. package/tokens/{v0_161 → v0_172}/_md-comp-fab-tertiary-small.scss +1 -1
  338. package/tokens/{v0_161 → v0_172}/_md-comp-fab-tertiary.scss +1 -1
  339. package/tokens/{v0_161 → v0_172}/_md-comp-filled-autocomplete.scss +4 -6
  340. package/tokens/{v0_161 → v0_172}/_md-comp-filled-button.scss +1 -1
  341. package/tokens/{v0_161 → v0_172}/_md-comp-filled-card.scss +3 -2
  342. package/tokens/{v0_161 → v0_172}/_md-comp-filled-icon-button.scss +2 -2
  343. package/tokens/{v0_161 → v0_172}/_md-comp-filled-menu-button.scss +1 -1
  344. package/tokens/{v0_161 → v0_172}/_md-comp-filled-select.scss +4 -6
  345. package/tokens/{v0_161 → v0_172}/_md-comp-filled-text-field.scss +3 -2
  346. package/tokens/{v0_161 → v0_172}/_md-comp-filled-tonal-button.scss +1 -1
  347. package/tokens/{v0_161 → v0_172}/_md-comp-filled-tonal-icon-button.scss +2 -2
  348. package/tokens/{v0_161 → v0_172}/_md-comp-filter-chip.scss +2 -4
  349. package/tokens/{v0_161 → v0_172}/_md-comp-full-screen-dialog.scss +3 -3
  350. package/tokens/{v0_161 → v0_172}/_md-comp-icon-button.scss +1 -1
  351. package/tokens/{v0_161 → v0_172}/_md-comp-input-chip.scss +1 -1
  352. package/tokens/{v0_161 → v0_172}/_md-comp-linear-progress-indicator.scss +2 -2
  353. package/tokens/{v0_161 → v0_172}/_md-comp-list.scss +1 -1
  354. package/tokens/{v0_161 → v0_172}/_md-comp-menu.scss +3 -5
  355. package/tokens/{v0_161 → v0_172}/_md-comp-navigation-bar.scss +2 -4
  356. package/tokens/{v0_161 → v0_172}/_md-comp-navigation-drawer.scss +4 -4
  357. package/tokens/{v0_161 → v0_172}/_md-comp-navigation-rail.scss +1 -16
  358. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-autocomplete.scss +4 -6
  359. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-button.scss +1 -1
  360. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-card.scss +1 -3
  361. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-icon-button.scss +1 -1
  362. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-menu-button.scss +1 -1
  363. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-segmented-button.scss +1 -1
  364. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-select.scss +4 -6
  365. package/tokens/{v0_161 → v0_172}/_md-comp-outlined-text-field.scss +1 -1
  366. package/tokens/{v0_161 → v0_172}/_md-comp-plain-tooltip.scss +1 -1
  367. package/tokens/{v0_161 → v0_172}/_md-comp-primary-navigation-tab.scss +1 -1
  368. package/tokens/{v0_161 → v0_172}/_md-comp-radio-button.scss +1 -1
  369. package/tokens/{v0_161 → v0_172}/_md-comp-rich-tooltip.scss +3 -5
  370. package/tokens/{v0_161 → v0_172}/_md-comp-scrim.scss +1 -1
  371. package/tokens/{v0_161 → v0_172}/_md-comp-search-bar.scss +2 -4
  372. package/tokens/{v0_161 → v0_172}/_md-comp-search-view.scss +2 -4
  373. package/tokens/{v0_161 → v0_172}/_md-comp-secondary-navigation-tab.scss +3 -3
  374. package/tokens/{v0_161 → v0_172}/_md-comp-sheet-bottom.scss +3 -4
  375. package/tokens/{v0_161 → v0_172}/_md-comp-sheet-floating.scss +3 -5
  376. package/tokens/{v0_161 → v0_172}/_md-comp-sheet-side.scss +4 -4
  377. package/tokens/{v0_161 → v0_172}/_md-comp-slider.scss +3 -2
  378. package/tokens/{v0_161 → v0_172}/_md-comp-snackbar.scss +1 -1
  379. package/tokens/{v0_161 → v0_172}/_md-comp-standard-menu-button.scss +1 -1
  380. package/tokens/{v0_161 → v0_172}/_md-comp-suggestion-chip.scss +3 -4
  381. package/tokens/{v0_161 → v0_172}/_md-comp-switch.scss +13 -11
  382. package/tokens/{v0_161 → v0_172}/_md-comp-text-button.scss +1 -1
  383. package/tokens/{v0_161 → v0_172}/_md-comp-time-input.scss +3 -4
  384. package/tokens/{v0_161 → v0_172}/_md-comp-time-picker.scss +5 -5
  385. package/tokens/{v0_161 → v0_172}/_md-comp-top-app-bar-large.scss +1 -3
  386. package/tokens/{v0_161 → v0_172}/_md-comp-top-app-bar-medium.scss +1 -3
  387. package/tokens/{v0_161 → v0_172}/_md-comp-top-app-bar-small-centered.scss +3 -1
  388. package/tokens/{v0_161 → v0_172}/_md-comp-top-app-bar-small.scss +3 -3
  389. package/tokens/{v0_161 → v0_172}/_md-ref-palette.scss +23 -23
  390. package/tokens/{v0_161 → v0_172}/_md-ref-typeface.scss +1 -1
  391. package/tokens/{v0_161 → v0_172}/_md-sys-color.scss +9 -9
  392. package/tokens/{v0_161 → v0_172}/_md-sys-elevation.scss +1 -1
  393. package/tokens/{v0_161 → v0_172}/_md-sys-motion.scss +1 -1
  394. package/tokens/{v0_161 → v0_172}/_md-sys-shape.scss +1 -1
  395. package/tokens/{v0_161 → v0_172}/_md-sys-state.scss +1 -1
  396. package/tokens/{v0_161 → v0_172}/_md-sys-typescale.scss +1 -1
  397. package/tokens/v0_172/index.test.css.d.ts +1 -0
  398. package/tokens/v0_172/lib.test.css.d.ts +1 -0
  399. package/button/elevated-link-button.d.ts +0 -36
  400. package/button/elevated-link-button.js +0 -41
  401. package/button/elevated-link-button.js.map +0 -1
  402. package/button/filled-link-button.d.ts +0 -34
  403. package/button/filled-link-button.js +0 -39
  404. package/button/filled-link-button.js.map +0 -1
  405. package/button/lib/elevated-link-button.d.ts +0 -13
  406. package/button/lib/elevated-link-button.js +0 -21
  407. package/button/lib/elevated-link-button.js.map +0 -1
  408. package/button/lib/filled-link-button.d.ts +0 -14
  409. package/button/lib/filled-link-button.js +0 -22
  410. package/button/lib/filled-link-button.js.map +0 -1
  411. package/button/lib/link-button.d.ts +0 -24
  412. package/button/lib/link-button.js +0 -59
  413. package/button/lib/link-button.js.map +0 -1
  414. package/button/lib/outlined-link-button.d.ts +0 -12
  415. package/button/lib/outlined-link-button.js +0 -20
  416. package/button/lib/outlined-link-button.js.map +0 -1
  417. package/button/lib/text-link-button.d.ts +0 -10
  418. package/button/lib/text-link-button.js +0 -16
  419. package/button/lib/text-link-button.js.map +0 -1
  420. package/button/lib/tonal-link-button.d.ts +0 -14
  421. package/button/lib/tonal-link-button.js +0 -22
  422. package/button/lib/tonal-link-button.js.map +0 -1
  423. package/button/outlined-link-button.d.ts +0 -36
  424. package/button/outlined-link-button.js +0 -40
  425. package/button/outlined-link-button.js.map +0 -1
  426. package/button/text-link-button.d.ts +0 -34
  427. package/button/text-link-button.js +0 -38
  428. package/button/text-link-button.js.map +0 -1
  429. package/button/tonal-link-button.d.ts +0 -35
  430. package/button/tonal-link-button.js +0 -40
  431. package/button/tonal-link-button.js.map +0 -1
  432. package/elevation/lib/_md-comp-elevation.scss +0 -27
  433. package/focus/lib/_md-comp-focus-ring.scss +0 -30
  434. package/iconbutton/filled-icon-button-toggle.d.ts +0 -31
  435. package/iconbutton/filled-icon-button-toggle.js +0 -40
  436. package/iconbutton/filled-icon-button-toggle.js.map +0 -1
  437. package/iconbutton/filled-link-icon-button.d.ts +0 -31
  438. package/iconbutton/filled-link-icon-button.js +0 -39
  439. package/iconbutton/filled-link-icon-button.js.map +0 -1
  440. package/iconbutton/filled-tonal-icon-button-toggle.d.ts +0 -31
  441. package/iconbutton/filled-tonal-icon-button-toggle.js +0 -40
  442. package/iconbutton/filled-tonal-icon-button-toggle.js.map +0 -1
  443. package/iconbutton/filled-tonal-link-icon-button.d.ts +0 -31
  444. package/iconbutton/filled-tonal-link-icon-button.js +0 -39
  445. package/iconbutton/filled-tonal-link-icon-button.js.map +0 -1
  446. package/iconbutton/lib/icon-button-toggle.d.ts +0 -34
  447. package/iconbutton/lib/icon-button-toggle.js +0 -87
  448. package/iconbutton/lib/icon-button-toggle.js.map +0 -1
  449. package/iconbutton/lib/link-icon-button.d.ts +0 -23
  450. package/iconbutton/lib/link-icon-button.js +0 -58
  451. package/iconbutton/lib/link-icon-button.js.map +0 -1
  452. package/iconbutton/outlined-icon-button-toggle.d.ts +0 -31
  453. package/iconbutton/outlined-icon-button-toggle.js +0 -39
  454. package/iconbutton/outlined-icon-button-toggle.js.map +0 -1
  455. package/iconbutton/outlined-link-icon-button.d.ts +0 -31
  456. package/iconbutton/outlined-link-icon-button.js +0 -39
  457. package/iconbutton/outlined-link-icon-button.js.map +0 -1
  458. package/iconbutton/standard-icon-button-toggle.d.ts +0 -31
  459. package/iconbutton/standard-icon-button-toggle.js +0 -39
  460. package/iconbutton/standard-icon-button-toggle.js.map +0 -1
  461. package/iconbutton/standard-link-icon-button.d.ts +0 -31
  462. package/iconbutton/standard-link-icon-button.js +0 -39
  463. package/iconbutton/standard-link-icon-button.js.map +0 -1
  464. /package/{tokens/v0_161/index.test.css.d.ts → circularprogress/lib/circular-progress-styles.css.d.ts} +0 -0
  465. /package/{tokens/v0_161/lib.test.css.d.ts → list/lib/listitem/forced-colors-styles.css.d.ts} +0 -0
  466. /package/tokens/{v0_161 → v0_172}/_index.scss +0 -0
  467. /package/tokens/{v0_161 → v0_172}/index.test.css.js +0 -0
  468. /package/tokens/{v0_161 → v0_172}/index.test.css.js.map +0 -0
  469. /package/tokens/{v0_161 → v0_172}/index.test.scss +0 -0
  470. /package/tokens/{v0_161 → v0_172}/lib.test.css.js +0 -0
  471. /package/tokens/{v0_161 → v0_172}/lib.test.css.js.map +0 -0
  472. /package/tokens/{v0_161 → v0_172}/lib.test.scss +0 -0
@@ -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"]}
@@ -1,10 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { ClassInfo } from 'lit/directives/class-map.js';
7
- import { LinkButton } from './link-button.js';
8
- export declare class TextLinkButton extends LinkButton {
9
- protected getRenderClasses(): ClassInfo;
10
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { LinkButton } from './link-button.js';
7
- // tslint:disable-next-line:enforce-comments-on-exported-symbols
8
- export class TextLinkButton extends LinkButton {
9
- getRenderClasses() {
10
- return {
11
- ...super.getRenderClasses(),
12
- 'md3-button--text': true,
13
- };
14
- }
15
- }
16
- //# sourceMappingURL=text-link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-link-button.js","sourceRoot":"","sources":["text-link-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,gEAAgE;AAChE,MAAM,OAAO,cAAe,SAAQ,UAAU;IACzB,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,kBAAkB,EAAE,IAAI;SACzB,CAAC;IACJ,CAAC;CACF","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\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 TextLinkButton extends LinkButton {\n protected override getRenderClasses(): ClassInfo {\n return {\n ...super.getRenderClasses(),\n 'md3-button--text': true,\n };\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 TonalLinkButton 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 TonalLinkButton extends LinkButton {
11
- getRenderClasses() {
12
- return {
13
- ...super.getRenderClasses(),
14
- 'md3-button--tonal': true,
15
- };
16
- }
17
- /** @soyTemplate */
18
- renderElevation() {
19
- return html `<md-elevation shadow></md-elevation>`;
20
- }
21
- }
22
- //# sourceMappingURL=tonal-link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tonal-link-button.js","sourceRoot":"","sources":["tonal-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,eAAgB,SAAQ,UAAU;IAC1B,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,mBAAmB,EAAE,IAAI;SAC1B,CAAC;IACJ,CAAC;IAED,mBAAmB;IACA,eAAe;QAChC,OAAO,IAAI,CAAA,sCAAsC,CAAC;IACpD,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 TonalLinkButton extends LinkButton {\n protected override getRenderClasses(): ClassInfo {\n return {\n ...super.getRenderClasses(),\n 'md3-button--tonal': true,\n };\n }\n\n /** @soyTemplate */\n protected override renderElevation(): TemplateResult {\n return html`<md-elevation shadow></md-elevation>`;\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 { OutlinedLinkButton } from './lib/outlined-link-button.js';
7
- declare global {
8
- interface HTMLElementTagNameMap {
9
- 'md-outlined-link-button': MdOutlinedLinkButton;
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:__ Use an outlined button for actions that need attention but
21
- * aren’t the primary action, such as “See all” or “Add to cart.” This is also
22
- * the button to use for giving someone the opportunity to change their mind or
23
- * escape a flow.
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 MdOutlinedLinkButton extends OutlinedLinkButton {
35
- static styles: import("lit").CSSResult[];
36
- }
@@ -1,40 +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 { OutlinedLinkButton } from './lib/outlined-link-button.js';
9
- import { styles as outlinedStyles } from './lib/outlined-styles.css.js';
10
- import { styles as sharedStyles } from './lib/shared-styles.css.js';
11
- /**
12
- * @summary Buttons help people take action, such as sending an email, sharing a
13
- * document, or liking a comment. This is a linkable variant.
14
- *
15
- * @description
16
- * __Emphasis:__ Medium emphasis – For important actions that don’t distract
17
- * from other onscreen elements.
18
- *
19
- * __Rationale:__ Use an outlined button for actions that need attention but
20
- * aren’t the primary action, such as “See all” or “Add to cart.” This is also
21
- * the button to use for giving someone the opportunity to change their mind or
22
- * escape a flow.
23
- *
24
- * __Example usages:__
25
- * - Reply
26
- * - View all
27
- * - Add to cart
28
- * - Take out of trash
29
- *
30
- * @final
31
- * @suppress {visibility}
32
- */
33
- let MdOutlinedLinkButton = class MdOutlinedLinkButton extends OutlinedLinkButton {
34
- };
35
- MdOutlinedLinkButton.styles = [sharedStyles, outlinedStyles];
36
- MdOutlinedLinkButton = __decorate([
37
- customElement('md-outlined-link-button')
38
- ], MdOutlinedLinkButton);
39
- export { MdOutlinedLinkButton };
40
- //# 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,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,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAQlE;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEI,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,kBAAkB;;AAC1C,2BAAM,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;AAD7C,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAEhC;SAFY,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 {OutlinedLinkButton} from './lib/outlined-link-button.js';\nimport {styles as outlinedStyles} from './lib/outlined-styles.css.js';\nimport {styles as sharedStyles} from './lib/shared-styles.css.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-outlined-link-button': MdOutlinedLinkButton;\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:__ Use an outlined button for actions that need attention but\n * aren’t the primary action, such as “See all” or “Add to cart.” This is also\n * the button to use for giving someone the opportunity to change their mind or\n * escape a flow.\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-outlined-link-button')\nexport class MdOutlinedLinkButton extends OutlinedLinkButton {\n static override styles = [sharedStyles, outlinedStyles];\n}\n"]}
@@ -1,34 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { TextLinkButton } from './lib/text-link-button.js';
7
- declare global {
8
- interface HTMLElementTagNameMap {
9
- 'md-text-link-button': MdTextLinkButton;
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:__ Low emphasis – For optional or supplementary actions with the
18
- * least amount of prominence
19
- *
20
- * __Rationale:__ Text buttons have less visual prominence, so should be used
21
- * for low emphasis actions, such as an alternative option.
22
- *
23
- * __Example usages:__
24
- * - Learn more
25
- * - View all
26
- * - Change account
27
- * - Turn on
28
- *
29
- * @final
30
- * @suppress {visibility}
31
- */
32
- export declare class MdTextLinkButton extends TextLinkButton {
33
- static styles: import("lit").CSSResult[];
34
- }
@@ -1,38 +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 { styles as sharedStyles } from './lib/shared-styles.css.js';
9
- import { TextLinkButton } from './lib/text-link-button.js';
10
- import { styles as textStyles } from './lib/text-styles.css.js';
11
- /**
12
- * @summary Buttons help people take action, such as sending an email, sharing a
13
- * document, or liking a comment. This is a linkable variant.
14
- *
15
- * @description
16
- * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
17
- * least amount of prominence
18
- *
19
- * __Rationale:__ Text buttons have less visual prominence, so should be used
20
- * for low emphasis actions, such as an alternative option.
21
- *
22
- * __Example usages:__
23
- * - Learn more
24
- * - View all
25
- * - Change account
26
- * - Turn on
27
- *
28
- * @final
29
- * @suppress {visibility}
30
- */
31
- let MdTextLinkButton = class MdTextLinkButton extends TextLinkButton {
32
- };
33
- MdTextLinkButton.styles = [sharedStyles, textStyles];
34
- MdTextLinkButton = __decorate([
35
- customElement('md-text-link-button')
36
- ], MdTextLinkButton);
37
- export { MdTextLinkButton };
38
- //# sourceMappingURL=text-link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text-link-button.js","sourceRoot":"","sources":["text-link-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAC,MAAM,IAAI,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAQ9D;;;;;;;;;;;;;;;;;;;GAmBG;AAEI,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,cAAc;;AAClC,uBAAM,GAAG,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;AADzC,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CAE5B;SAFY,gBAAgB","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 {styles as sharedStyles} from './lib/shared-styles.css.js';\nimport {TextLinkButton} from './lib/text-link-button.js';\nimport {styles as textStyles} from './lib/text-styles.css.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-text-link-button': MdTextLinkButton;\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:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence\n *\n * __Rationale:__ Text buttons have less visual prominence, so should be used\n * for low emphasis actions, such as an alternative option.\n *\n * __Example usages:__\n * - Learn more\n * - View all\n * - Change account\n * - Turn on\n *\n * @final\n * @suppress {visibility}\n */\n@customElement('md-text-link-button')\nexport class MdTextLinkButton extends TextLinkButton {\n static override styles = [sharedStyles, textStyles];\n}\n"]}
@@ -1,35 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { TonalLinkButton } from './lib/tonal-link-button.js';
7
- declare global {
8
- interface HTMLElementTagNameMap {
9
- 'md-tonal-link-button': MdTonalLinkButton;
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:__ Filled tonal buttons have a lighter background color and
21
- * darker label color, making them less visually prominent than a regular,
22
- * filled button. They’re still used for final or unblocking actions in a flow,
23
- * but do so with less emphasis.
24
- *
25
- * __Example usages:__
26
- * - Save
27
- * - Confirm
28
- * - Done
29
- *
30
- * @final
31
- * @suppress {visibility}
32
- */
33
- export declare class MdTonalLinkButton extends TonalLinkButton {
34
- static styles: import("lit").CSSResult[];
35
- }
@@ -1,40 +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 { styles as sharedElevationStyles } from './lib/shared-elevation-styles.css.js';
9
- import { styles as sharedStyles } from './lib/shared-styles.css.js';
10
- import { TonalLinkButton } from './lib/tonal-link-button.js';
11
- import { styles as tonalStyles } from './lib/tonal-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:__ Filled tonal buttons have a lighter background color and
21
- * darker label color, making them less visually prominent than a regular,
22
- * filled button. They’re still used for final or unblocking actions in a flow,
23
- * but do so with less emphasis.
24
- *
25
- * __Example usages:__
26
- * - Save
27
- * - Confirm
28
- * - Done
29
- *
30
- * @final
31
- * @suppress {visibility}
32
- */
33
- let MdTonalLinkButton = class MdTonalLinkButton extends TonalLinkButton {
34
- };
35
- MdTonalLinkButton.styles = [sharedStyles, sharedElevationStyles, tonalStyles];
36
- MdTonalLinkButton = __decorate([
37
- customElement('md-tonal-link-button')
38
- ], MdTonalLinkButton);
39
- export { MdTonalLinkButton };
40
- //# sourceMappingURL=tonal-link-button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tonal-link-button.js","sourceRoot":"","sources":["tonal-link-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAC,MAAM,IAAI,qBAAqB,EAAC,MAAM,sCAAsC,CAAC;AACrF,OAAO,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,MAAM,IAAI,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAQhE;;;;;;;;;;;;;;;;;;;;GAoBG;AAEI,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,eAAe;;AACpC,wBAAM,GAAG,CAAC,YAAY,EAAE,qBAAqB,EAAE,WAAW,CAAC,CAAC;AADjE,iBAAiB;IAD7B,aAAa,CAAC,sBAAsB,CAAC;GACzB,iBAAiB,CAE7B;SAFY,iBAAiB","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 {styles as sharedElevationStyles} from './lib/shared-elevation-styles.css.js';\nimport {styles as sharedStyles} from './lib/shared-styles.css.js';\nimport {TonalLinkButton} from './lib/tonal-link-button.js';\nimport {styles as tonalStyles} from './lib/tonal-styles.css.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-tonal-link-button': MdTonalLinkButton;\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:__ Filled tonal buttons have a lighter background color and\n * darker label color, making them less visually prominent than a regular,\n * filled button. They’re still used for final or unblocking actions in a flow,\n * but do so with less emphasis.\n *\n * __Example usages:__\n * - Save\n * - Confirm\n * - Done\n *\n * @final\n * @suppress {visibility}\n */\n@customElement('md-tonal-link-button')\nexport class MdTonalLinkButton extends TonalLinkButton {\n static override styles = [sharedStyles, sharedElevationStyles, tonalStyles];\n}\n"]}
@@ -1,27 +0,0 @@
1
- //
2
- // Copyright 2022 Google LLC
3
- // SPDX-License-Identifier: Apache-2.0
4
- //
5
-
6
- // go/keep-sorted start
7
- @use 'sass:map';
8
- // go/keep-sorted end
9
- // go/keep-sorted start
10
- @use '../../tokens';
11
- // go/keep-sorted end
12
-
13
- $_default-deps: (
14
- md-sys-color: tokens.md-sys-color-values-light(),
15
- md-sys-elevation: tokens.md-sys-elevation-values(),
16
- md-sys-motion: tokens.md-sys-motion-values(),
17
- );
18
-
19
- @function values($deps: $_default-deps, $exclude-hardcoded-values: false) {
20
- @return (
21
- duration: if($exclude-hardcoded-values, null, 0s),
22
- easing: map.get($deps, md-sys-motion, easing-emphasized),
23
- level: map.get($deps, md-sys-elevation, level0),
24
- shadow-color: map.get($deps, md-sys-color, shadow),
25
- surface-tint: map.get($deps, md-sys-color, surface-tint)
26
- );
27
- }
@@ -1,30 +0,0 @@
1
- //
2
- // Copyright 2022 Google LLC
3
- // SPDX-License-Identifier: Apache-2.0
4
- //
5
-
6
- // go/keep-sorted start
7
- @use 'sass:map';
8
- // go/keep-sorted end
9
- // go/keep-sorted start
10
- @use '../../tokens';
11
- // go/keep-sorted end
12
-
13
- $_default: (
14
- md-sys-color: tokens.md-sys-color-values-light(),
15
- md-sys-shape: tokens.md-sys-shape-values(),
16
- );
17
-
18
- @function values($deps: $_default, $exclude-hardcoded-values: false) {
19
- @return (
20
- shape:
21
- if(
22
- $exclude-hardcoded-values,
23
- null,
24
- map.get($deps, md-sys-shape, corner-full)
25
- ),
26
- offset: if($exclude-hardcoded-values, null, 2px),
27
- width: if($exclude-hardcoded-values, null, 3px),
28
- color: map.get($deps, md-sys-color, secondary)
29
- );
30
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2022 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { ClassInfo } from 'lit/directives/class-map.js';
7
- import { IconButtonToggle } from './lib/icon-button-toggle.js';
8
- declare global {
9
- interface HTMLElementTagNameMap {
10
- 'md-filled-icon-button-toggle': MdFilledIconButtonToggle;
11
- }
12
- }
13
- /**
14
- * @summary Icon buttons help people take supplementary actions with a single
15
- * tap. This variant can toggle between icons.
16
- *
17
- * @description
18
- * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
19
- * least amount of prominence.
20
- *
21
- * __Rationale:__ The most compact and unobtrusive type of button, icon buttons
22
- * are used for optional supplementary actions such as "Bookmark" or "Star."
23
- *
24
- * __Example usages:__
25
- * - Add to Favorites
26
- * - Print
27
- */
28
- export declare class MdFilledIconButtonToggle extends IconButtonToggle {
29
- static styles: import("lit").CSSResult[];
30
- protected getRenderClasses(): ClassInfo;
31
- }