@angular/material 2.0.0-beta.0 → 2.0.0-beta.12

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 (1664) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +4 -165
  3. package/_theming.scss +3878 -0
  4. package/autocomplete/index.d.ts +8 -5
  5. package/autocomplete/index.metadata.json +12 -1
  6. package/autocomplete/package.json +7 -0
  7. package/autocomplete/typings/autocomplete-module.d.ts +2 -0
  8. package/autocomplete/typings/autocomplete-trigger.d.ts +159 -0
  9. package/autocomplete/typings/autocomplete.d.ts +62 -0
  10. package/autocomplete/typings/index.d.ts +4 -0
  11. package/autocomplete/typings/index.metadata.json +1 -0
  12. package/autocomplete/typings/public-api.d.ts +10 -0
  13. package/autocomplete.d.ts +8 -0
  14. package/autocomplete.metadata.json +12 -0
  15. package/bundles/material-autocomplete.umd.js +2969 -0
  16. package/bundles/material-autocomplete.umd.js.map +1 -0
  17. package/bundles/material-autocomplete.umd.min.js +10 -0
  18. package/bundles/material-autocomplete.umd.min.js.map +1 -0
  19. package/bundles/material-button-toggle.umd.js +2284 -0
  20. package/bundles/material-button-toggle.umd.js.map +1 -0
  21. package/bundles/material-button-toggle.umd.min.js +10 -0
  22. package/bundles/material-button-toggle.umd.min.js.map +1 -0
  23. package/bundles/material-button.umd.js +2092 -0
  24. package/bundles/material-button.umd.js.map +1 -0
  25. package/bundles/material-button.umd.min.js +10 -0
  26. package/bundles/material-button.umd.min.js.map +1 -0
  27. package/bundles/material-card.umd.js +2006 -0
  28. package/bundles/material-card.umd.js.map +1 -0
  29. package/bundles/material-card.umd.min.js +9 -0
  30. package/bundles/material-card.umd.min.js.map +1 -0
  31. package/bundles/material-checkbox.umd.js +2327 -0
  32. package/bundles/material-checkbox.umd.js.map +1 -0
  33. package/bundles/material-checkbox.umd.min.js +10 -0
  34. package/bundles/material-checkbox.umd.min.js.map +1 -0
  35. package/bundles/material-chips.umd.js +3542 -0
  36. package/bundles/material-chips.umd.js.map +1 -0
  37. package/bundles/material-chips.umd.min.js +10 -0
  38. package/bundles/material-chips.umd.min.js.map +1 -0
  39. package/bundles/material-core.umd.js +2206 -0
  40. package/bundles/material-core.umd.js.map +1 -0
  41. package/bundles/material-core.umd.min.js +9 -0
  42. package/bundles/material-core.umd.min.js.map +1 -0
  43. package/bundles/material-datepicker.umd.js +6128 -0
  44. package/bundles/material-datepicker.umd.js.map +1 -0
  45. package/bundles/material-datepicker.umd.min.js +12 -0
  46. package/bundles/material-datepicker.umd.min.js.map +1 -0
  47. package/bundles/material-dialog.umd.js +2530 -0
  48. package/bundles/material-dialog.umd.js.map +1 -0
  49. package/bundles/material-dialog.umd.min.js +10 -0
  50. package/bundles/material-dialog.umd.min.js.map +1 -0
  51. package/bundles/material-expansion.umd.js +2128 -0
  52. package/bundles/material-expansion.umd.js.map +1 -0
  53. package/bundles/material-expansion.umd.min.js +9 -0
  54. package/bundles/material-expansion.umd.min.js.map +1 -0
  55. package/bundles/material-form-field.umd.js +2091 -0
  56. package/bundles/material-form-field.umd.js.map +1 -0
  57. package/bundles/material-form-field.umd.min.js +10 -0
  58. package/bundles/material-form-field.umd.min.js.map +1 -0
  59. package/bundles/material-grid-list.umd.js +2621 -0
  60. package/bundles/material-grid-list.umd.js.map +1 -0
  61. package/bundles/material-grid-list.umd.min.js +10 -0
  62. package/bundles/material-grid-list.umd.min.js.map +1 -0
  63. package/bundles/material-icon.umd.js +2442 -0
  64. package/bundles/material-icon.umd.js.map +1 -0
  65. package/bundles/material-icon.umd.min.js +10 -0
  66. package/bundles/material-icon.umd.min.js.map +1 -0
  67. package/bundles/material-input.umd.js +2716 -0
  68. package/bundles/material-input.umd.js.map +1 -0
  69. package/bundles/material-input.umd.min.js +10 -0
  70. package/bundles/material-input.umd.min.js.map +1 -0
  71. package/bundles/material-list.umd.js +2611 -0
  72. package/bundles/material-list.umd.js.map +1 -0
  73. package/bundles/material-list.umd.min.js +11 -0
  74. package/bundles/material-list.umd.min.js.map +1 -0
  75. package/bundles/material-menu.umd.js +2613 -0
  76. package/bundles/material-menu.umd.js.map +1 -0
  77. package/bundles/material-menu.umd.min.js +10 -0
  78. package/bundles/material-menu.umd.min.js.map +1 -0
  79. package/bundles/material-paginator.umd.js +5228 -0
  80. package/bundles/material-paginator.umd.js.map +1 -0
  81. package/bundles/material-paginator.umd.min.js +11 -0
  82. package/bundles/material-paginator.umd.min.js.map +1 -0
  83. package/bundles/material-progress-bar.umd.js +1784 -0
  84. package/bundles/material-progress-bar.umd.js.map +1 -0
  85. package/bundles/material-progress-bar.umd.min.js +9 -0
  86. package/bundles/material-progress-bar.umd.min.js.map +1 -0
  87. package/bundles/material-progress-spinner.umd.js +2005 -0
  88. package/bundles/material-progress-spinner.umd.js.map +1 -0
  89. package/bundles/material-progress-spinner.umd.min.js +10 -0
  90. package/bundles/material-progress-spinner.umd.min.js.map +1 -0
  91. package/bundles/material-radio.umd.js +2530 -0
  92. package/bundles/material-radio.umd.js.map +1 -0
  93. package/bundles/material-radio.umd.min.js +10 -0
  94. package/bundles/material-radio.umd.min.js.map +1 -0
  95. package/bundles/material-select.umd.js +3843 -0
  96. package/bundles/material-select.umd.js.map +1 -0
  97. package/bundles/material-select.umd.min.js +10 -0
  98. package/bundles/material-select.umd.min.js.map +1 -0
  99. package/bundles/material-sidenav.umd.js +2577 -0
  100. package/bundles/material-sidenav.umd.js.map +1 -0
  101. package/bundles/material-sidenav.umd.min.js +10 -0
  102. package/bundles/material-sidenav.umd.min.js.map +1 -0
  103. package/bundles/material-slide-toggle.umd.js +2253 -0
  104. package/bundles/material-slide-toggle.umd.js.map +1 -0
  105. package/bundles/material-slide-toggle.umd.min.js +10 -0
  106. package/bundles/material-slide-toggle.umd.min.js.map +1 -0
  107. package/bundles/material-slider.umd.js +2621 -0
  108. package/bundles/material-slider.umd.js.map +1 -0
  109. package/bundles/material-slider.umd.min.js +10 -0
  110. package/bundles/material-slider.umd.min.js.map +1 -0
  111. package/bundles/material-snack-bar.umd.js +2258 -0
  112. package/bundles/material-snack-bar.umd.js.map +1 -0
  113. package/bundles/material-snack-bar.umd.min.js +10 -0
  114. package/bundles/material-snack-bar.umd.min.js.map +1 -0
  115. package/bundles/material-sort.umd.js +1917 -0
  116. package/bundles/material-sort.umd.js.map +1 -0
  117. package/bundles/material-sort.umd.min.js +9 -0
  118. package/bundles/material-sort.umd.min.js.map +1 -0
  119. package/bundles/material-stepper.umd.js +3271 -0
  120. package/bundles/material-stepper.umd.js.map +1 -0
  121. package/bundles/material-stepper.umd.min.js +10 -0
  122. package/bundles/material-stepper.umd.min.js.map +1 -0
  123. package/bundles/material-table.umd.js +1976 -0
  124. package/bundles/material-table.umd.js.map +1 -0
  125. package/bundles/material-table.umd.min.js +9 -0
  126. package/bundles/material-table.umd.min.js.map +1 -0
  127. package/bundles/material-tabs.umd.js +3341 -0
  128. package/bundles/material-tabs.umd.js.map +1 -0
  129. package/bundles/material-tabs.umd.min.js +10 -0
  130. package/bundles/material-tabs.umd.min.js.map +1 -0
  131. package/bundles/material-toolbar.umd.js +1790 -0
  132. package/bundles/material-toolbar.umd.js.map +1 -0
  133. package/bundles/material-toolbar.umd.min.js +9 -0
  134. package/bundles/material-toolbar.umd.min.js.map +1 -0
  135. package/bundles/material-tooltip.umd.js +2339 -0
  136. package/bundles/material-tooltip.umd.js.map +1 -0
  137. package/bundles/material-tooltip.umd.min.js +10 -0
  138. package/bundles/material-tooltip.umd.min.js.map +1 -0
  139. package/bundles/material.umd.js +21541 -12552
  140. package/bundles/material.umd.js.map +1 -0
  141. package/bundles/material.umd.min.js +22 -0
  142. package/bundles/material.umd.min.js.map +1 -0
  143. package/button/index.d.ts +8 -1
  144. package/button/index.metadata.json +12 -1
  145. package/button/package.json +7 -0
  146. package/button/typings/button-module.d.ts +2 -0
  147. package/button/typings/button.d.ts +77 -0
  148. package/button/typings/index.d.ts +4 -0
  149. package/button/typings/index.metadata.json +1 -0
  150. package/button/typings/public-api.d.ts +9 -0
  151. package/button-toggle/index.d.ts +8 -1
  152. package/button-toggle/index.metadata.json +12 -1
  153. package/button-toggle/package.json +7 -0
  154. package/button-toggle/typings/button-toggle-module.d.ts +2 -0
  155. package/button-toggle/typings/button-toggle.d.ts +163 -0
  156. package/button-toggle/typings/index.d.ts +4 -0
  157. package/button-toggle/typings/index.metadata.json +1 -0
  158. package/button-toggle/typings/public-api.d.ts +9 -0
  159. package/button-toggle.d.ts +8 -0
  160. package/button-toggle.metadata.json +12 -0
  161. package/button.d.ts +8 -0
  162. package/button.metadata.json +12 -0
  163. package/card/index.d.ts +8 -1
  164. package/card/index.metadata.json +12 -1
  165. package/card/package.json +7 -0
  166. package/card/typings/card-module.d.ts +2 -0
  167. package/card/typings/card.d.ts +95 -0
  168. package/card/typings/index.d.ts +4 -0
  169. package/card/typings/index.metadata.json +1 -0
  170. package/card/typings/public-api.d.ts +9 -0
  171. package/card.d.ts +8 -0
  172. package/card.metadata.json +12 -0
  173. package/checkbox/index.d.ts +8 -1
  174. package/checkbox/index.metadata.json +12 -1
  175. package/checkbox/package.json +7 -0
  176. package/checkbox/typings/checkbox-module.d.ts +2 -0
  177. package/checkbox/typings/checkbox-required-validator.d.ts +18 -0
  178. package/checkbox/typings/checkbox.d.ts +157 -0
  179. package/checkbox/typings/index.d.ts +4 -0
  180. package/checkbox/typings/index.metadata.json +1 -0
  181. package/checkbox/typings/public-api.d.ts +10 -0
  182. package/checkbox.d.ts +8 -0
  183. package/checkbox.metadata.json +12 -0
  184. package/chips/index.d.ts +8 -2
  185. package/chips/index.metadata.json +12 -1
  186. package/chips/package.json +7 -0
  187. package/chips/typings/chip-input.d.ts +43 -0
  188. package/chips/typings/chip-list.d.ts +222 -0
  189. package/chips/typings/chip.d.ts +123 -0
  190. package/chips/typings/chips-module.d.ts +2 -0
  191. package/chips/typings/index.d.ts +4 -0
  192. package/chips/typings/index.metadata.json +1 -0
  193. package/chips/typings/public-api.d.ts +11 -0
  194. package/chips.d.ts +8 -0
  195. package/chips.metadata.json +12 -0
  196. package/core/index.d.ts +8 -1
  197. package/core/index.metadata.json +12 -1
  198. package/core/package.json +7 -0
  199. package/core/typings/animation/animation.d.ts +20 -0
  200. package/core/typings/common-behaviors/color.d.ts +22 -0
  201. package/core/typings/common-behaviors/common-module.d.ts +25 -0
  202. package/core/typings/common-behaviors/constructor.d.ts +9 -0
  203. package/core/typings/common-behaviors/disable-ripple.d.ts +7 -0
  204. package/core/typings/common-behaviors/disabled.d.ts +7 -0
  205. package/core/typings/common-behaviors/index.d.ts +12 -0
  206. package/core/typings/common-behaviors/tabindex.d.ts +15 -0
  207. package/core/typings/compatibility/compatibility.d.ts +32 -0
  208. package/core/typings/datetime/date-adapter.d.ts +198 -0
  209. package/core/typings/datetime/date-formats.d.ts +20 -0
  210. package/core/typings/datetime/index.d.ts +8 -0
  211. package/core/typings/datetime/native-date-adapter.d.ts +50 -0
  212. package/core/typings/datetime/native-date-formats.d.ts +9 -0
  213. package/core/typings/error/error-options.d.ts +9 -0
  214. package/core/typings/gestures/gesture-annotations.d.ts +51 -0
  215. package/core/{gestures → typings/gestures}/gesture-config.d.ts +0 -0
  216. package/core/typings/index.d.ts +5 -0
  217. package/core/typings/index.metadata.json +1 -0
  218. package/core/typings/line/line.d.ts +30 -0
  219. package/core/typings/option/index.d.ts +4 -0
  220. package/core/typings/option/optgroup.d.ts +14 -0
  221. package/core/typings/option/option.d.ts +90 -0
  222. package/core/typings/placeholder/placeholder-options.d.ts +15 -0
  223. package/core/typings/public-api.d.ts +22 -0
  224. package/core/typings/ripple/index.d.ts +5 -0
  225. package/core/typings/ripple/ripple-ref.d.ts +28 -0
  226. package/core/typings/ripple/ripple-renderer.d.ts +69 -0
  227. package/core/typings/ripple/ripple.d.ts +65 -0
  228. package/core/typings/selection/index.d.ts +3 -0
  229. package/core/typings/selection/pseudo-checkbox/pseudo-checkbox.d.ts +20 -0
  230. package/core/typings/style/apply-transform.d.ts +13 -0
  231. package/core/typings/style/index.d.ts +8 -0
  232. package/core/typings/testing/month-constants.d.ts +12 -0
  233. package/core/typings/util/object-extend.d.ts +15 -0
  234. package/core.d.ts +7 -0
  235. package/core.metadata.json +12 -1
  236. package/datepicker/index.d.ts +8 -0
  237. package/datepicker/index.metadata.json +12 -0
  238. package/datepicker/package.json +7 -0
  239. package/datepicker/typings/calendar-body.d.ts +52 -0
  240. package/datepicker/typings/calendar.d.ts +97 -0
  241. package/datepicker/typings/coerce-date-property.d.ts +19 -0
  242. package/datepicker/typings/datepicker-errors.d.ts +9 -0
  243. package/datepicker/typings/datepicker-input.d.ts +92 -0
  244. package/datepicker/typings/datepicker-intl.d.ts +25 -0
  245. package/datepicker/typings/datepicker-module.d.ts +2 -0
  246. package/datepicker/typings/datepicker-toggle.d.ts +24 -0
  247. package/datepicker/typings/datepicker.d.ts +117 -0
  248. package/datepicker/typings/index.d.ts +4 -0
  249. package/datepicker/typings/index.metadata.json +1 -0
  250. package/datepicker/typings/month-view.d.ts +66 -0
  251. package/datepicker/typings/public-api.d.ts +17 -0
  252. package/datepicker/typings/year-view.d.ts +55 -0
  253. package/datepicker.d.ts +8 -0
  254. package/datepicker.metadata.json +12 -0
  255. package/dialog/index.d.ts +8 -9
  256. package/dialog/index.metadata.json +12 -1
  257. package/dialog/package.json +7 -0
  258. package/dialog/typings/dialog-config.d.ts +54 -0
  259. package/dialog/typings/dialog-container.d.ts +68 -0
  260. package/dialog/typings/dialog-content-directives.d.ts +43 -0
  261. package/dialog/typings/dialog-module.d.ts +2 -0
  262. package/dialog/typings/dialog-ref.d.ts +68 -0
  263. package/dialog/typings/dialog.d.ts +108 -0
  264. package/dialog/typings/index.d.ts +4 -0
  265. package/dialog/typings/index.metadata.json +1 -0
  266. package/dialog/typings/public-api.d.ts +13 -0
  267. package/dialog.d.ts +8 -0
  268. package/dialog.metadata.json +12 -0
  269. package/esm2015/autocomplete.js +673 -0
  270. package/esm2015/autocomplete.js.map +1 -0
  271. package/esm2015/button-toggle.js +589 -0
  272. package/esm2015/button-toggle.js.map +1 -0
  273. package/esm2015/button.js +318 -0
  274. package/esm2015/button.js.map +1 -0
  275. package/esm2015/card.js +312 -0
  276. package/esm2015/card.js.map +1 -0
  277. package/esm2015/checkbox.js +500 -0
  278. package/esm2015/checkbox.js.map +1 -0
  279. package/esm2015/chips.js +1330 -0
  280. package/esm2015/chips.js.map +1 -0
  281. package/esm2015/core.js +2117 -0
  282. package/esm2015/core.js.map +1 -0
  283. package/esm2015/datepicker.js +1813 -0
  284. package/esm2015/datepicker.js.map +1 -0
  285. package/esm2015/dialog.js +854 -0
  286. package/esm2015/dialog.js.map +1 -0
  287. package/esm2015/expansion.js +587 -0
  288. package/esm2015/expansion.js.map +1 -0
  289. package/esm2015/form-field.js +535 -0
  290. package/esm2015/form-field.js.map +1 -0
  291. package/esm2015/grid-list.js +827 -0
  292. package/esm2015/grid-list.js.map +1 -0
  293. package/esm2015/icon.js +735 -0
  294. package/esm2015/icon.js.map +1 -0
  295. package/esm2015/input.js +585 -0
  296. package/esm2015/input.js.map +1 -0
  297. package/esm2015/list.js +640 -0
  298. package/esm2015/list.js.map +1 -0
  299. package/esm2015/material.js +51 -0
  300. package/esm2015/material.js.map +1 -0
  301. package/esm2015/menu.js +923 -0
  302. package/esm2015/menu.js.map +1 -0
  303. package/esm2015/paginator.js +303 -0
  304. package/esm2015/paginator.js.map +1 -0
  305. package/esm2015/progress-bar.js +133 -0
  306. package/esm2015/progress-bar.js.map +1 -0
  307. package/esm2015/progress-spinner.js +303 -0
  308. package/esm2015/progress-spinner.js.map +1 -0
  309. package/esm2015/radio.js +709 -0
  310. package/esm2015/radio.js.map +1 -0
  311. package/esm2015/select.js +1394 -0
  312. package/esm2015/select.js.map +1 -0
  313. package/esm2015/sidenav.js +866 -0
  314. package/esm2015/sidenav.js.map +1 -0
  315. package/esm2015/slide-toggle.js +428 -0
  316. package/esm2015/slide-toggle.js.map +1 -0
  317. package/esm2015/slider.js +834 -0
  318. package/esm2015/slider.js.map +1 -0
  319. package/esm2015/snack-bar.js +596 -0
  320. package/esm2015/snack-bar.js.map +1 -0
  321. package/esm2015/sort.js +371 -0
  322. package/esm2015/sort.js.map +1 -0
  323. package/esm2015/stepper.js +395 -0
  324. package/esm2015/stepper.js.map +1 -0
  325. package/esm2015/table.js +272 -0
  326. package/esm2015/table.js.map +1 -0
  327. package/esm2015/tabs.js +1480 -0
  328. package/esm2015/tabs.js.map +1 -0
  329. package/esm2015/toolbar.js +89 -0
  330. package/esm2015/toolbar.js.map +1 -0
  331. package/esm2015/tooltip.js +671 -0
  332. package/esm2015/tooltip.js.map +1 -0
  333. package/esm5/autocomplete.es5.js +712 -0
  334. package/esm5/autocomplete.es5.js.map +1 -0
  335. package/esm5/button-toggle.es5.js +646 -0
  336. package/esm5/button-toggle.es5.js.map +1 -0
  337. package/esm5/button.es5.js +344 -0
  338. package/esm5/button.es5.js.map +1 -0
  339. package/esm5/card.es5.js +355 -0
  340. package/esm5/card.es5.js.map +1 -0
  341. package/esm5/checkbox.es5.js +538 -0
  342. package/esm5/checkbox.es5.js.map +1 -0
  343. package/esm5/chips.es5.js +1464 -0
  344. package/esm5/chips.es5.js.map +1 -0
  345. package/esm5/core.es5.js +2126 -0
  346. package/esm5/core.es5.js.map +1 -0
  347. package/esm5/datepicker.es5.js +1946 -0
  348. package/esm5/datepicker.es5.js.map +1 -0
  349. package/esm5/dialog.es5.js +894 -0
  350. package/esm5/dialog.es5.js.map +1 -0
  351. package/esm5/expansion.es5.js +622 -0
  352. package/esm5/expansion.es5.js.map +1 -0
  353. package/esm5/form-field.es5.js +580 -0
  354. package/esm5/form-field.es5.js.map +1 -0
  355. package/esm5/grid-list.es5.js +888 -0
  356. package/esm5/grid-list.es5.js.map +1 -0
  357. package/esm5/icon.es5.js +754 -0
  358. package/esm5/icon.es5.js.map +1 -0
  359. package/esm5/input.es5.js +630 -0
  360. package/esm5/input.es5.js.map +1 -0
  361. package/esm5/list.es5.js +704 -0
  362. package/esm5/list.es5.js.map +1 -0
  363. package/esm5/material.es5.js +51 -0
  364. package/esm5/material.es5.js.map +1 -0
  365. package/esm5/menu.es5.js +962 -0
  366. package/esm5/menu.es5.js.map +1 -0
  367. package/esm5/paginator.es5.js +328 -0
  368. package/esm5/paginator.es5.js.map +1 -0
  369. package/esm5/progress-bar.es5.js +147 -0
  370. package/esm5/progress-bar.es5.js.map +1 -0
  371. package/esm5/progress-spinner.es5.js +317 -0
  372. package/esm5/progress-spinner.es5.js.map +1 -0
  373. package/esm5/radio.es5.js +786 -0
  374. package/esm5/radio.es5.js.map +1 -0
  375. package/esm5/select.es5.js +1481 -0
  376. package/esm5/select.es5.js.map +1 -0
  377. package/esm5/sidenav.es5.js +946 -0
  378. package/esm5/sidenav.es5.js.map +1 -0
  379. package/esm5/slide-toggle.es5.js +455 -0
  380. package/esm5/slide-toggle.es5.js.map +1 -0
  381. package/esm5/slider.es5.js +938 -0
  382. package/esm5/slider.es5.js.map +1 -0
  383. package/esm5/snack-bar.es5.js +622 -0
  384. package/esm5/snack-bar.es5.js.map +1 -0
  385. package/esm5/sort.es5.js +389 -0
  386. package/esm5/sort.es5.js.map +1 -0
  387. package/esm5/stepper.es5.js +448 -0
  388. package/esm5/stepper.es5.js.map +1 -0
  389. package/esm5/table.es5.js +323 -0
  390. package/esm5/table.es5.js.map +1 -0
  391. package/esm5/tabs.es5.js +1591 -0
  392. package/esm5/tabs.es5.js.map +1 -0
  393. package/esm5/toolbar.es5.js +100 -0
  394. package/esm5/toolbar.es5.js.map +1 -0
  395. package/esm5/tooltip.es5.js +705 -0
  396. package/esm5/tooltip.es5.js.map +1 -0
  397. package/expansion/index.d.ts +8 -0
  398. package/expansion/index.metadata.json +12 -0
  399. package/expansion/package.json +7 -0
  400. package/expansion/typings/accordion-item.d.ts +41 -0
  401. package/expansion/typings/accordion.d.ts +29 -0
  402. package/expansion/typings/expansion-module.d.ts +2 -0
  403. package/expansion/typings/expansion-panel-header.d.ts +49 -0
  404. package/expansion/typings/expansion-panel.d.ts +40 -0
  405. package/expansion/typings/index.d.ts +5 -0
  406. package/expansion/typings/index.metadata.json +1 -0
  407. package/expansion/typings/public-api.d.ts +12 -0
  408. package/expansion.d.ts +8 -0
  409. package/expansion.metadata.json +12 -0
  410. package/form-field/index.d.ts +8 -0
  411. package/form-field/index.metadata.json +12 -0
  412. package/form-field/package.json +7 -0
  413. package/form-field/typings/error.d.ts +4 -0
  414. package/form-field/typings/form-field-control.d.ts +47 -0
  415. package/form-field/typings/form-field-errors.d.ts +13 -0
  416. package/form-field/typings/form-field-module.d.ts +2 -0
  417. package/form-field/typings/form-field.d.ts +78 -0
  418. package/form-field/typings/hint.d.ts +7 -0
  419. package/form-field/typings/index.d.ts +4 -0
  420. package/form-field/typings/index.metadata.json +1 -0
  421. package/form-field/typings/placeholder.d.ts +3 -0
  422. package/form-field/typings/prefix.d.ts +3 -0
  423. package/form-field/typings/public-api.d.ts +16 -0
  424. package/form-field/typings/suffix.d.ts +3 -0
  425. package/form-field.d.ts +8 -0
  426. package/form-field.metadata.json +12 -0
  427. package/grid-list/index.d.ts +8 -1
  428. package/grid-list/index.metadata.json +12 -1
  429. package/grid-list/package.json +7 -0
  430. package/grid-list/typings/grid-list-measure.d.ts +17 -0
  431. package/grid-list/typings/grid-list-module.d.ts +2 -0
  432. package/grid-list/typings/grid-list.d.ts +53 -0
  433. package/grid-list/typings/grid-tile.d.ts +55 -0
  434. package/grid-list/typings/index.d.ts +5 -0
  435. package/grid-list/typings/index.metadata.json +1 -0
  436. package/grid-list/typings/public-api.d.ts +10 -0
  437. package/grid-list/typings/tile-coordinator.d.ts +64 -0
  438. package/grid-list/typings/tile-styler.d.ts +129 -0
  439. package/grid-list.d.ts +8 -0
  440. package/grid-list.metadata.json +12 -0
  441. package/icon/index.d.ts +8 -1
  442. package/icon/index.metadata.json +12 -1
  443. package/icon/package.json +7 -0
  444. package/icon/typings/icon-module.d.ts +2 -0
  445. package/icon/typings/icon-registry.d.ts +187 -0
  446. package/icon/typings/icon.d.ts +69 -0
  447. package/icon/typings/index.d.ts +4 -0
  448. package/icon/typings/index.metadata.json +1 -0
  449. package/icon/typings/public-api.d.ts +10 -0
  450. package/icon.d.ts +8 -0
  451. package/icon.metadata.json +12 -0
  452. package/input/index.d.ts +8 -4
  453. package/input/index.metadata.json +12 -1
  454. package/input/package.json +7 -0
  455. package/input/typings/autosize.d.ts +43 -0
  456. package/input/typings/index.d.ts +4 -0
  457. package/input/typings/index.metadata.json +1 -0
  458. package/input/typings/input-errors.d.ts +9 -0
  459. package/input/typings/input-module.d.ts +2 -0
  460. package/input/typings/input.d.ts +85 -0
  461. package/input/typings/public-api.d.ts +11 -0
  462. package/input.d.ts +8 -0
  463. package/input.metadata.json +12 -0
  464. package/list/index.d.ts +8 -1
  465. package/list/index.metadata.json +12 -1
  466. package/list/package.json +7 -0
  467. package/list/typings/index.d.ts +4 -0
  468. package/list/typings/index.metadata.json +1 -0
  469. package/list/typings/list-module.d.ts +2 -0
  470. package/list/typings/list.d.ts +77 -0
  471. package/list/typings/public-api.d.ts +10 -0
  472. package/list/typings/selection-list.d.ts +103 -0
  473. package/list.d.ts +8 -0
  474. package/list.metadata.json +12 -0
  475. package/material.d.ts +39 -0
  476. package/material.metadata.json +105 -0
  477. package/menu/index.d.ts +8 -5
  478. package/menu/index.metadata.json +12 -1
  479. package/menu/package.json +7 -0
  480. package/menu/typings/index.d.ts +6 -0
  481. package/menu/typings/index.metadata.json +1 -0
  482. package/menu/typings/menu-animations.d.ts +27 -0
  483. package/menu/typings/menu-directive.d.ts +89 -0
  484. package/menu/typings/menu-errors.d.ts +24 -0
  485. package/menu/typings/menu-item.d.ts +42 -0
  486. package/menu/typings/menu-module.d.ts +2 -0
  487. package/menu/typings/menu-panel.d.ts +22 -0
  488. package/menu/typings/menu-positions.d.ts +9 -0
  489. package/menu/typings/menu-trigger.d.ts +115 -0
  490. package/menu/typings/menu.d.ts +12 -0
  491. package/menu/typings/public-api.d.ts +11 -0
  492. package/menu.d.ts +8 -0
  493. package/menu.metadata.json +12 -0
  494. package/package.json +10 -9
  495. package/paginator/index.d.ts +8 -0
  496. package/paginator/index.metadata.json +12 -0
  497. package/paginator/package.json +7 -0
  498. package/paginator/typings/index.d.ts +4 -0
  499. package/paginator/typings/index.metadata.json +1 -0
  500. package/paginator/typings/paginator-intl.d.ts +20 -0
  501. package/paginator/typings/paginator-module.d.ts +2 -0
  502. package/paginator/typings/paginator.d.ts +75 -0
  503. package/paginator/typings/public-api.d.ts +10 -0
  504. package/paginator.d.ts +8 -0
  505. package/paginator.metadata.json +12 -0
  506. package/prebuilt-themes/deeppurple-amber.css +1 -0
  507. package/prebuilt-themes/indigo-pink.css +1 -0
  508. package/prebuilt-themes/pink-bluegrey.css +1 -0
  509. package/prebuilt-themes/purple-green.css +1 -0
  510. package/progress-bar/index.d.ts +8 -1
  511. package/progress-bar/index.metadata.json +12 -1
  512. package/progress-bar/package.json +7 -0
  513. package/progress-bar/typings/index.d.ts +4 -0
  514. package/progress-bar/typings/index.metadata.json +1 -0
  515. package/progress-bar/typings/progress-bar-module.d.ts +2 -0
  516. package/progress-bar/typings/progress-bar.d.ts +32 -0
  517. package/progress-bar/typings/public-api.d.ts +9 -0
  518. package/progress-bar.d.ts +8 -0
  519. package/progress-bar.metadata.json +12 -0
  520. package/progress-spinner/index.d.ts +8 -2
  521. package/progress-spinner/index.metadata.json +12 -1
  522. package/progress-spinner/package.json +7 -0
  523. package/progress-spinner/typings/index.d.ts +4 -0
  524. package/progress-spinner/typings/index.metadata.json +1 -0
  525. package/progress-spinner/typings/progress-spinner-module.d.ts +3 -0
  526. package/progress-spinner/typings/progress-spinner.d.ts +69 -0
  527. package/progress-spinner/typings/public-api.d.ts +9 -0
  528. package/progress-spinner.d.ts +8 -0
  529. package/progress-spinner.metadata.json +12 -0
  530. package/radio/index.d.ts +8 -1
  531. package/radio/index.metadata.json +12 -1
  532. package/radio/package.json +7 -0
  533. package/radio/typings/index.d.ts +4 -0
  534. package/radio/typings/index.metadata.json +1 -0
  535. package/radio/typings/public-api.d.ts +9 -0
  536. package/radio/typings/radio-module.d.ts +2 -0
  537. package/radio/typings/radio.d.ts +215 -0
  538. package/radio.d.ts +8 -0
  539. package/radio.metadata.json +12 -0
  540. package/select/index.d.ts +8 -7
  541. package/select/index.metadata.json +12 -1
  542. package/select/package.json +7 -0
  543. package/select/typings/index.d.ts +4 -0
  544. package/select/typings/index.metadata.json +1 -0
  545. package/select/typings/public-api.d.ts +10 -0
  546. package/select/typings/select-animations.d.ts +30 -0
  547. package/select/typings/select-errors.d.ts +26 -0
  548. package/select/typings/select-module.d.ts +2 -0
  549. package/select/typings/select.d.ts +393 -0
  550. package/select.d.ts +8 -0
  551. package/select.metadata.json +12 -0
  552. package/sidenav/index.d.ts +8 -1
  553. package/sidenav/index.metadata.json +12 -1
  554. package/sidenav/package.json +7 -0
  555. package/sidenav/typings/drawer.d.ts +190 -0
  556. package/sidenav/typings/index.d.ts +4 -0
  557. package/sidenav/typings/index.metadata.json +1 -0
  558. package/sidenav/typings/public-api.d.ts +10 -0
  559. package/sidenav/typings/sidenav-module.d.ts +2 -0
  560. package/sidenav/typings/sidenav.d.ts +33 -0
  561. package/sidenav.d.ts +8 -0
  562. package/sidenav.metadata.json +12 -0
  563. package/slide-toggle/index.d.ts +8 -1
  564. package/slide-toggle/index.metadata.json +12 -1
  565. package/slide-toggle/package.json +7 -0
  566. package/slide-toggle/typings/index.d.ts +4 -0
  567. package/slide-toggle/typings/index.metadata.json +1 -0
  568. package/slide-toggle/typings/public-api.d.ts +9 -0
  569. package/slide-toggle/typings/slide-toggle-module.d.ts +2 -0
  570. package/slide-toggle/typings/slide-toggle.d.ts +93 -0
  571. package/slide-toggle.d.ts +8 -0
  572. package/slide-toggle.metadata.json +12 -0
  573. package/slider/index.d.ts +8 -1
  574. package/slider/index.metadata.json +12 -1
  575. package/slider/package.json +7 -0
  576. package/slider/typings/index.d.ts +4 -0
  577. package/slider/typings/index.metadata.json +1 -0
  578. package/slider/typings/public-api.d.ts +9 -0
  579. package/slider/typings/slider-module.d.ts +2 -0
  580. package/slider/typings/slider.d.ts +207 -0
  581. package/slider.d.ts +8 -0
  582. package/slider.metadata.json +12 -0
  583. package/snack-bar/index.d.ts +8 -4
  584. package/snack-bar/index.metadata.json +12 -1
  585. package/snack-bar/package.json +7 -0
  586. package/snack-bar/typings/index.d.ts +4 -0
  587. package/snack-bar/typings/index.metadata.json +1 -0
  588. package/snack-bar/typings/public-api.d.ts +13 -0
  589. package/snack-bar/typings/simple-snack-bar.d.ts +18 -0
  590. package/snack-bar/typings/snack-bar-config.d.ts +38 -0
  591. package/snack-bar/typings/snack-bar-container.d.ts +55 -0
  592. package/snack-bar/typings/snack-bar-module.d.ts +2 -0
  593. package/snack-bar/typings/snack-bar-ref.d.ts +51 -0
  594. package/snack-bar/typings/snack-bar.d.ts +70 -0
  595. package/snack-bar.d.ts +8 -0
  596. package/snack-bar.metadata.json +12 -0
  597. package/sort/index.d.ts +8 -0
  598. package/sort/index.metadata.json +12 -0
  599. package/sort/package.json +7 -0
  600. package/sort/typings/index.d.ts +4 -0
  601. package/sort/typings/index.metadata.json +1 -0
  602. package/sort/typings/public-api.d.ts +12 -0
  603. package/sort/typings/sort-direction.d.ts +8 -0
  604. package/sort/typings/sort-errors.d.ts +15 -0
  605. package/sort/typings/sort-header-intl.d.ts +17 -0
  606. package/sort/typings/sort-header.d.ts +43 -0
  607. package/sort/typings/sort-module.d.ts +2 -0
  608. package/sort/typings/sort.d.ts +55 -0
  609. package/sort.d.ts +8 -0
  610. package/sort.metadata.json +12 -0
  611. package/stepper/index.d.ts +8 -0
  612. package/stepper/index.metadata.json +12 -0
  613. package/stepper/package.json +7 -0
  614. package/stepper/typings/index.d.ts +4 -0
  615. package/stepper/typings/index.metadata.json +1 -0
  616. package/stepper/typings/public-api.d.ts +13 -0
  617. package/stepper/typings/step-header.d.ts +41 -0
  618. package/stepper/typings/step-label.d.ts +14 -0
  619. package/stepper/typings/stepper-button.d.ts +10 -0
  620. package/stepper/typings/stepper-intl.d.ts +11 -0
  621. package/stepper/typings/stepper-module.d.ts +2 -0
  622. package/stepper/typings/stepper.d.ts +26 -0
  623. package/stepper.d.ts +8 -0
  624. package/stepper.metadata.json +12 -0
  625. package/table/index.d.ts +8 -0
  626. package/table/index.metadata.json +12 -0
  627. package/table/package.json +7 -0
  628. package/table/typings/cell.d.ts +43 -0
  629. package/table/typings/index.d.ts +4 -0
  630. package/table/typings/index.metadata.json +1 -0
  631. package/table/typings/public-api.d.ts +11 -0
  632. package/table/typings/row.d.ts +25 -0
  633. package/table/typings/table-module.d.ts +2 -0
  634. package/table/typings/table.d.ts +8 -0
  635. package/table.d.ts +8 -0
  636. package/table.metadata.json +12 -0
  637. package/tabs/index.d.ts +8 -7
  638. package/tabs/index.metadata.json +12 -1
  639. package/tabs/package.json +7 -0
  640. package/tabs/typings/index.d.ts +8 -0
  641. package/tabs/typings/index.metadata.json +1 -0
  642. package/tabs/typings/ink-bar.d.ts +33 -0
  643. package/tabs/typings/public-api.d.ts +16 -0
  644. package/tabs/typings/tab-body.d.ts +69 -0
  645. package/tabs/typings/tab-group.d.ts +104 -0
  646. package/tabs/typings/tab-header.d.ts +158 -0
  647. package/tabs/typings/tab-label-wrapper.d.ts +25 -0
  648. package/tabs/typings/tab-label.d.ts +15 -0
  649. package/tabs/typings/tab-nav-bar/index.d.ts +8 -0
  650. package/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts +78 -0
  651. package/tabs/typings/tab.d.ts +50 -0
  652. package/tabs/typings/tabs-module.d.ts +2 -0
  653. package/tabs.d.ts +8 -0
  654. package/tabs.metadata.json +12 -0
  655. package/toolbar/index.d.ts +8 -1
  656. package/toolbar/index.metadata.json +12 -1
  657. package/toolbar/package.json +7 -0
  658. package/toolbar/typings/index.d.ts +4 -0
  659. package/toolbar/typings/index.metadata.json +1 -0
  660. package/toolbar/typings/public-api.d.ts +9 -0
  661. package/toolbar/typings/toolbar-module.d.ts +2 -0
  662. package/toolbar/typings/toolbar.d.ts +21 -0
  663. package/toolbar.d.ts +8 -0
  664. package/toolbar.metadata.json +12 -0
  665. package/tooltip/index.d.ts +8 -1
  666. package/tooltip/index.metadata.json +12 -1
  667. package/tooltip/package.json +7 -0
  668. package/tooltip/typings/index.d.ts +4 -0
  669. package/tooltip/typings/index.metadata.json +1 -0
  670. package/tooltip/typings/public-api.d.ts +9 -0
  671. package/tooltip/typings/tooltip-module.d.ts +2 -0
  672. package/tooltip/typings/tooltip.d.ts +175 -0
  673. package/tooltip.d.ts +8 -0
  674. package/tooltip.metadata.json +12 -0
  675. package/typings/autocomplete/autocomplete-module.d.ts +2 -0
  676. package/typings/autocomplete/autocomplete-trigger.d.ts +159 -0
  677. package/typings/autocomplete/autocomplete.d.ts +62 -0
  678. package/typings/autocomplete/index.d.ts +4 -0
  679. package/typings/autocomplete/index.metadata.json +1 -0
  680. package/typings/autocomplete/public-api.d.ts +10 -0
  681. package/typings/button/button-module.d.ts +2 -0
  682. package/typings/button/button.d.ts +77 -0
  683. package/typings/button/index.d.ts +4 -0
  684. package/typings/button/index.metadata.json +1 -0
  685. package/typings/button/public-api.d.ts +9 -0
  686. package/typings/button-toggle/button-toggle-module.d.ts +2 -0
  687. package/typings/button-toggle/button-toggle.d.ts +163 -0
  688. package/typings/button-toggle/index.d.ts +4 -0
  689. package/typings/button-toggle/index.metadata.json +1 -0
  690. package/typings/button-toggle/public-api.d.ts +9 -0
  691. package/typings/card/card-module.d.ts +2 -0
  692. package/typings/card/card.d.ts +95 -0
  693. package/typings/card/index.d.ts +4 -0
  694. package/typings/card/index.metadata.json +1 -0
  695. package/typings/card/public-api.d.ts +9 -0
  696. package/typings/checkbox/checkbox-module.d.ts +2 -0
  697. package/typings/checkbox/checkbox-required-validator.d.ts +18 -0
  698. package/typings/checkbox/checkbox.d.ts +157 -0
  699. package/typings/checkbox/index.d.ts +4 -0
  700. package/typings/checkbox/index.metadata.json +1 -0
  701. package/typings/checkbox/public-api.d.ts +10 -0
  702. package/typings/chips/chip-input.d.ts +43 -0
  703. package/typings/chips/chip-list.d.ts +222 -0
  704. package/typings/chips/chip.d.ts +123 -0
  705. package/typings/chips/chips-module.d.ts +2 -0
  706. package/typings/chips/index.d.ts +4 -0
  707. package/typings/chips/index.metadata.json +1 -0
  708. package/typings/chips/public-api.d.ts +11 -0
  709. package/typings/core/animation/animation.d.ts +20 -0
  710. package/typings/core/common-behaviors/color.d.ts +22 -0
  711. package/typings/core/common-behaviors/common-module.d.ts +25 -0
  712. package/typings/core/common-behaviors/constructor.d.ts +9 -0
  713. package/typings/core/common-behaviors/disable-ripple.d.ts +7 -0
  714. package/typings/core/common-behaviors/disabled.d.ts +7 -0
  715. package/typings/core/common-behaviors/index.d.ts +12 -0
  716. package/typings/core/common-behaviors/tabindex.d.ts +15 -0
  717. package/typings/core/compatibility/compatibility.d.ts +32 -0
  718. package/typings/core/datetime/date-adapter.d.ts +198 -0
  719. package/typings/core/datetime/date-formats.d.ts +20 -0
  720. package/typings/core/datetime/index.d.ts +8 -0
  721. package/typings/core/datetime/native-date-adapter.d.ts +50 -0
  722. package/typings/core/datetime/native-date-formats.d.ts +9 -0
  723. package/typings/core/error/error-options.d.ts +9 -0
  724. package/typings/core/gestures/gesture-annotations.d.ts +51 -0
  725. package/typings/core/gestures/gesture-config.d.ts +23 -0
  726. package/typings/core/index.d.ts +5 -0
  727. package/typings/core/index.metadata.json +1 -0
  728. package/typings/core/line/line.d.ts +30 -0
  729. package/typings/core/option/index.d.ts +4 -0
  730. package/typings/core/option/optgroup.d.ts +14 -0
  731. package/typings/core/option/option.d.ts +90 -0
  732. package/typings/core/placeholder/placeholder-options.d.ts +15 -0
  733. package/typings/core/public-api.d.ts +22 -0
  734. package/typings/core/ripple/index.d.ts +5 -0
  735. package/typings/core/ripple/ripple-ref.d.ts +28 -0
  736. package/typings/core/ripple/ripple-renderer.d.ts +69 -0
  737. package/typings/core/ripple/ripple.d.ts +65 -0
  738. package/typings/core/selection/index.d.ts +3 -0
  739. package/typings/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +20 -0
  740. package/typings/core/style/apply-transform.d.ts +13 -0
  741. package/typings/core/style/index.d.ts +8 -0
  742. package/typings/core/testing/month-constants.d.ts +12 -0
  743. package/typings/core/util/object-extend.d.ts +15 -0
  744. package/typings/datepicker/calendar-body.d.ts +52 -0
  745. package/typings/datepicker/calendar.d.ts +97 -0
  746. package/typings/datepicker/coerce-date-property.d.ts +19 -0
  747. package/typings/datepicker/datepicker-errors.d.ts +9 -0
  748. package/typings/datepicker/datepicker-input.d.ts +92 -0
  749. package/typings/datepicker/datepicker-intl.d.ts +25 -0
  750. package/typings/datepicker/datepicker-module.d.ts +2 -0
  751. package/typings/datepicker/datepicker-toggle.d.ts +24 -0
  752. package/typings/datepicker/datepicker.d.ts +117 -0
  753. package/typings/datepicker/index.d.ts +4 -0
  754. package/typings/datepicker/index.metadata.json +1 -0
  755. package/typings/datepicker/month-view.d.ts +66 -0
  756. package/typings/datepicker/public-api.d.ts +17 -0
  757. package/typings/datepicker/year-view.d.ts +55 -0
  758. package/typings/dialog/dialog-config.d.ts +54 -0
  759. package/typings/dialog/dialog-container.d.ts +68 -0
  760. package/typings/dialog/dialog-content-directives.d.ts +43 -0
  761. package/typings/dialog/dialog-module.d.ts +2 -0
  762. package/typings/dialog/dialog-ref.d.ts +68 -0
  763. package/typings/dialog/dialog.d.ts +108 -0
  764. package/typings/dialog/index.d.ts +4 -0
  765. package/typings/dialog/index.metadata.json +1 -0
  766. package/typings/dialog/public-api.d.ts +13 -0
  767. package/typings/expansion/accordion-item.d.ts +41 -0
  768. package/typings/expansion/accordion.d.ts +29 -0
  769. package/typings/expansion/expansion-module.d.ts +2 -0
  770. package/typings/expansion/expansion-panel-header.d.ts +49 -0
  771. package/typings/expansion/expansion-panel.d.ts +40 -0
  772. package/typings/expansion/index.d.ts +5 -0
  773. package/typings/expansion/index.metadata.json +1 -0
  774. package/typings/expansion/public-api.d.ts +12 -0
  775. package/typings/form-field/error.d.ts +4 -0
  776. package/typings/form-field/form-field-control.d.ts +47 -0
  777. package/typings/form-field/form-field-errors.d.ts +13 -0
  778. package/typings/form-field/form-field-module.d.ts +2 -0
  779. package/typings/form-field/form-field.d.ts +78 -0
  780. package/typings/form-field/hint.d.ts +7 -0
  781. package/typings/form-field/index.d.ts +4 -0
  782. package/typings/form-field/index.metadata.json +1 -0
  783. package/typings/form-field/placeholder.d.ts +3 -0
  784. package/typings/form-field/prefix.d.ts +3 -0
  785. package/typings/form-field/public-api.d.ts +16 -0
  786. package/typings/form-field/suffix.d.ts +3 -0
  787. package/typings/grid-list/grid-list-measure.d.ts +17 -0
  788. package/typings/grid-list/grid-list-module.d.ts +2 -0
  789. package/typings/grid-list/grid-list.d.ts +53 -0
  790. package/typings/grid-list/grid-tile.d.ts +55 -0
  791. package/typings/grid-list/index.d.ts +5 -0
  792. package/typings/grid-list/index.metadata.json +1 -0
  793. package/typings/grid-list/public-api.d.ts +10 -0
  794. package/typings/grid-list/tile-coordinator.d.ts +64 -0
  795. package/typings/grid-list/tile-styler.d.ts +129 -0
  796. package/typings/icon/icon-module.d.ts +2 -0
  797. package/typings/icon/icon-registry.d.ts +187 -0
  798. package/typings/icon/icon.d.ts +69 -0
  799. package/typings/icon/index.d.ts +4 -0
  800. package/typings/icon/index.metadata.json +1 -0
  801. package/typings/icon/public-api.d.ts +10 -0
  802. package/typings/index.d.ts +4 -0
  803. package/typings/index.metadata.json +1 -0
  804. package/typings/input/autosize.d.ts +43 -0
  805. package/typings/input/index.d.ts +4 -0
  806. package/typings/input/index.metadata.json +1 -0
  807. package/typings/input/input-errors.d.ts +9 -0
  808. package/typings/input/input-module.d.ts +2 -0
  809. package/typings/input/input.d.ts +85 -0
  810. package/typings/input/public-api.d.ts +11 -0
  811. package/typings/list/index.d.ts +4 -0
  812. package/typings/list/index.metadata.json +1 -0
  813. package/typings/list/list-module.d.ts +2 -0
  814. package/typings/list/list.d.ts +77 -0
  815. package/typings/list/public-api.d.ts +10 -0
  816. package/typings/list/selection-list.d.ts +103 -0
  817. package/typings/menu/index.d.ts +6 -0
  818. package/typings/menu/index.metadata.json +1 -0
  819. package/typings/menu/menu-animations.d.ts +27 -0
  820. package/typings/menu/menu-directive.d.ts +89 -0
  821. package/typings/menu/menu-errors.d.ts +24 -0
  822. package/typings/menu/menu-item.d.ts +42 -0
  823. package/typings/menu/menu-module.d.ts +2 -0
  824. package/typings/menu/menu-panel.d.ts +22 -0
  825. package/typings/menu/menu-positions.d.ts +9 -0
  826. package/typings/menu/menu-trigger.d.ts +115 -0
  827. package/typings/menu/menu.d.ts +12 -0
  828. package/typings/menu/public-api.d.ts +11 -0
  829. package/typings/paginator/index.d.ts +4 -0
  830. package/typings/paginator/index.metadata.json +1 -0
  831. package/typings/paginator/paginator-intl.d.ts +20 -0
  832. package/typings/paginator/paginator-module.d.ts +2 -0
  833. package/typings/paginator/paginator.d.ts +75 -0
  834. package/typings/paginator/public-api.d.ts +10 -0
  835. package/typings/progress-bar/index.d.ts +4 -0
  836. package/typings/progress-bar/index.metadata.json +1 -0
  837. package/typings/progress-bar/progress-bar-module.d.ts +2 -0
  838. package/typings/progress-bar/progress-bar.d.ts +32 -0
  839. package/typings/progress-bar/public-api.d.ts +9 -0
  840. package/typings/progress-spinner/index.d.ts +4 -0
  841. package/typings/progress-spinner/index.metadata.json +1 -0
  842. package/typings/progress-spinner/progress-spinner-module.d.ts +3 -0
  843. package/typings/progress-spinner/progress-spinner.d.ts +69 -0
  844. package/typings/progress-spinner/public-api.d.ts +9 -0
  845. package/typings/public-api.d.ts +39 -0
  846. package/typings/radio/index.d.ts +4 -0
  847. package/typings/radio/index.metadata.json +1 -0
  848. package/typings/radio/public-api.d.ts +9 -0
  849. package/typings/radio/radio-module.d.ts +2 -0
  850. package/typings/radio/radio.d.ts +215 -0
  851. package/typings/select/index.d.ts +4 -0
  852. package/typings/select/index.metadata.json +1 -0
  853. package/typings/select/public-api.d.ts +10 -0
  854. package/typings/select/select-animations.d.ts +30 -0
  855. package/typings/select/select-errors.d.ts +26 -0
  856. package/typings/select/select-module.d.ts +2 -0
  857. package/typings/select/select.d.ts +393 -0
  858. package/typings/sidenav/drawer.d.ts +190 -0
  859. package/typings/sidenav/index.d.ts +4 -0
  860. package/typings/sidenav/index.metadata.json +1 -0
  861. package/typings/sidenav/public-api.d.ts +10 -0
  862. package/typings/sidenav/sidenav-module.d.ts +2 -0
  863. package/typings/sidenav/sidenav.d.ts +33 -0
  864. package/typings/slide-toggle/index.d.ts +4 -0
  865. package/typings/slide-toggle/index.metadata.json +1 -0
  866. package/typings/slide-toggle/public-api.d.ts +9 -0
  867. package/typings/slide-toggle/slide-toggle-module.d.ts +2 -0
  868. package/typings/slide-toggle/slide-toggle.d.ts +93 -0
  869. package/typings/slider/index.d.ts +4 -0
  870. package/typings/slider/index.metadata.json +1 -0
  871. package/typings/slider/public-api.d.ts +9 -0
  872. package/typings/slider/slider-module.d.ts +2 -0
  873. package/typings/slider/slider.d.ts +207 -0
  874. package/typings/snack-bar/index.d.ts +4 -0
  875. package/typings/snack-bar/index.metadata.json +1 -0
  876. package/typings/snack-bar/public-api.d.ts +13 -0
  877. package/typings/snack-bar/simple-snack-bar.d.ts +18 -0
  878. package/typings/snack-bar/snack-bar-config.d.ts +38 -0
  879. package/typings/snack-bar/snack-bar-container.d.ts +55 -0
  880. package/typings/snack-bar/snack-bar-module.d.ts +2 -0
  881. package/typings/snack-bar/snack-bar-ref.d.ts +51 -0
  882. package/typings/snack-bar/snack-bar.d.ts +70 -0
  883. package/typings/sort/index.d.ts +4 -0
  884. package/typings/sort/index.metadata.json +1 -0
  885. package/typings/sort/public-api.d.ts +12 -0
  886. package/typings/sort/sort-direction.d.ts +8 -0
  887. package/typings/sort/sort-errors.d.ts +15 -0
  888. package/typings/sort/sort-header-intl.d.ts +17 -0
  889. package/typings/sort/sort-header.d.ts +43 -0
  890. package/typings/sort/sort-module.d.ts +2 -0
  891. package/typings/sort/sort.d.ts +55 -0
  892. package/typings/stepper/index.d.ts +4 -0
  893. package/typings/stepper/index.metadata.json +1 -0
  894. package/typings/stepper/public-api.d.ts +13 -0
  895. package/typings/stepper/step-header.d.ts +41 -0
  896. package/typings/stepper/step-label.d.ts +14 -0
  897. package/typings/stepper/stepper-button.d.ts +10 -0
  898. package/typings/stepper/stepper-intl.d.ts +11 -0
  899. package/typings/stepper/stepper-module.d.ts +2 -0
  900. package/typings/stepper/stepper.d.ts +26 -0
  901. package/typings/table/cell.d.ts +43 -0
  902. package/typings/table/index.d.ts +4 -0
  903. package/typings/table/index.metadata.json +1 -0
  904. package/typings/table/public-api.d.ts +11 -0
  905. package/typings/table/row.d.ts +25 -0
  906. package/typings/table/table-module.d.ts +2 -0
  907. package/typings/table/table.d.ts +8 -0
  908. package/typings/tabs/index.d.ts +8 -0
  909. package/typings/tabs/index.metadata.json +1 -0
  910. package/typings/tabs/ink-bar.d.ts +33 -0
  911. package/typings/tabs/public-api.d.ts +16 -0
  912. package/typings/tabs/tab-body.d.ts +69 -0
  913. package/typings/tabs/tab-group.d.ts +104 -0
  914. package/typings/tabs/tab-header.d.ts +158 -0
  915. package/typings/tabs/tab-label-wrapper.d.ts +25 -0
  916. package/typings/tabs/tab-label.d.ts +15 -0
  917. package/typings/tabs/tab-nav-bar/index.d.ts +8 -0
  918. package/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts +78 -0
  919. package/typings/tabs/tab.d.ts +50 -0
  920. package/typings/tabs/tabs-module.d.ts +2 -0
  921. package/typings/toolbar/index.d.ts +4 -0
  922. package/typings/toolbar/index.metadata.json +1 -0
  923. package/typings/toolbar/public-api.d.ts +9 -0
  924. package/typings/toolbar/toolbar-module.d.ts +2 -0
  925. package/typings/toolbar/toolbar.d.ts +21 -0
  926. package/typings/tooltip/index.d.ts +4 -0
  927. package/typings/tooltip/index.metadata.json +1 -0
  928. package/typings/tooltip/public-api.d.ts +9 -0
  929. package/typings/tooltip/tooltip-module.d.ts +2 -0
  930. package/typings/tooltip/tooltip.d.ts +175 -0
  931. package/typings/version.d.ts +10 -0
  932. package/autocomplete/README.md +0 -5
  933. package/autocomplete/_autocomplete-theme.scss +0 -5
  934. package/autocomplete/autocomplete.css +0 -0
  935. package/autocomplete/autocomplete.css.map +0 -1
  936. package/autocomplete/autocomplete.d.ts +0 -2
  937. package/autocomplete/autocomplete.html +0 -1
  938. package/autocomplete/autocomplete.js +0 -25
  939. package/autocomplete/autocomplete.js.map +0 -1
  940. package/autocomplete/autocomplete.metadata.json +0 -1
  941. package/autocomplete/autocomplete.scss +0 -0
  942. package/autocomplete/index.js +0 -34
  943. package/autocomplete/index.js.map +0 -1
  944. package/button/OVERVIEW.md +0 -25
  945. package/button/README.md +0 -116
  946. package/button/_button-base.scss +0 -111
  947. package/button/_button-theme.scss +0 -85
  948. package/button/button.css +0 -1
  949. package/button/button.css.map +0 -1
  950. package/button/button.d.ts +0 -46
  951. package/button/button.html +0 -1
  952. package/button/button.js +0 -203
  953. package/button/button.js.map +0 -1
  954. package/button/button.metadata.json +0 -1
  955. package/button/button.scss +0 -105
  956. package/button/index.js +0 -3
  957. package/button/index.js.map +0 -1
  958. package/button-toggle/OVERVIEW.md +0 -22
  959. package/button-toggle/README.md +0 -139
  960. package/button-toggle/_button-toggle-theme.scss +0 -14
  961. package/button-toggle/button-toggle.css +0 -1
  962. package/button-toggle/button-toggle.css.map +0 -1
  963. package/button-toggle/button-toggle.d.ts +0 -136
  964. package/button-toggle/button-toggle.html +0 -1
  965. package/button-toggle/button-toggle.js +0 -502
  966. package/button-toggle/button-toggle.js.map +0 -1
  967. package/button-toggle/button-toggle.metadata.json +0 -1
  968. package/button-toggle/button-toggle.scss +0 -49
  969. package/button-toggle/index.js +0 -3
  970. package/button-toggle/index.js.map +0 -1
  971. package/card/OVERVIEW.md +0 -45
  972. package/card/README.md +0 -116
  973. package/card/_card-theme.scss +0 -17
  974. package/card/card-header.html +0 -1
  975. package/card/card-title-group.html +0 -1
  976. package/card/card.css +0 -1
  977. package/card/card.css.map +0 -1
  978. package/card/card.d.ts +0 -54
  979. package/card/card.html +0 -1
  980. package/card/card.js +0 -174
  981. package/card/card.js.map +0 -1
  982. package/card/card.metadata.json +0 -1
  983. package/card/card.scss +0 -227
  984. package/card/index.js +0 -3
  985. package/card/index.js.map +0 -1
  986. package/checkbox/OVERVIEW.md +0 -28
  987. package/checkbox/README.md +0 -93
  988. package/checkbox/_checkbox-theme.scss +0 -84
  989. package/checkbox/checkbox.css +0 -1
  990. package/checkbox/checkbox.css.map +0 -1
  991. package/checkbox/checkbox.d.ts +0 -155
  992. package/checkbox/checkbox.html +0 -1
  993. package/checkbox/checkbox.js +0 -432
  994. package/checkbox/checkbox.js.map +0 -1
  995. package/checkbox/checkbox.metadata.json +0 -1
  996. package/checkbox/checkbox.scss +0 -431
  997. package/checkbox/index.js +0 -3
  998. package/checkbox/index.js.map +0 -1
  999. package/chips/OVERVIEW.md +0 -40
  1000. package/chips/README.md +0 -7
  1001. package/chips/_chips-theme.scss +0 -49
  1002. package/chips/chip-list.d.ts +0 -66
  1003. package/chips/chip-list.js +0 -210
  1004. package/chips/chip-list.js.map +0 -1
  1005. package/chips/chip-list.metadata.json +0 -1
  1006. package/chips/chip.d.ts +0 -53
  1007. package/chips/chip.js +0 -177
  1008. package/chips/chip.js.map +0 -1
  1009. package/chips/chip.metadata.json +0 -1
  1010. package/chips/chips.css +0 -1
  1011. package/chips/chips.css.map +0 -1
  1012. package/chips/chips.scss +0 -80
  1013. package/chips/index.js +0 -4
  1014. package/chips/index.js.map +0 -1
  1015. package/core/README.md +0 -1
  1016. package/core/_core.scss +0 -27
  1017. package/core/a11y/README.md +0 -30
  1018. package/core/a11y/_a11y.scss +0 -24
  1019. package/core/a11y/fake-mousedown.d.ts +0 -8
  1020. package/core/a11y/fake-mousedown.js +0 -12
  1021. package/core/a11y/fake-mousedown.js.map +0 -1
  1022. package/core/a11y/fake-mousedown.metadata.json +0 -1
  1023. package/core/a11y/focus-trap.d.ts +0 -41
  1024. package/core/a11y/focus-trap.html +0 -1
  1025. package/core/a11y/focus-trap.js +0 -129
  1026. package/core/a11y/focus-trap.js.map +0 -1
  1027. package/core/a11y/focus-trap.metadata.json +0 -1
  1028. package/core/a11y/index.d.ts +0 -7
  1029. package/core/a11y/index.js +0 -40
  1030. package/core/a11y/index.js.map +0 -1
  1031. package/core/a11y/index.metadata.json +0 -1
  1032. package/core/a11y/interactivity-checker.d.ts +0 -45
  1033. package/core/a11y/interactivity-checker.js +0 -210
  1034. package/core/a11y/interactivity-checker.js.map +0 -1
  1035. package/core/a11y/interactivity-checker.metadata.json +0 -1
  1036. package/core/a11y/list-key-manager.d.ts +0 -83
  1037. package/core/a11y/list-key-manager.js +0 -157
  1038. package/core/a11y/list-key-manager.js.map +0 -1
  1039. package/core/a11y/list-key-manager.metadata.json +0 -1
  1040. package/core/a11y/live-announcer.d.ts +0 -17
  1041. package/core/a11y/live-announcer.js +0 -63
  1042. package/core/a11y/live-announcer.js.map +0 -1
  1043. package/core/a11y/live-announcer.metadata.json +0 -1
  1044. package/core/animation/animation.d.ts +0 -13
  1045. package/core/animation/animation.js +0 -21
  1046. package/core/animation/animation.js.map +0 -1
  1047. package/core/animation/animation.metadata.json +0 -1
  1048. package/core/async/promise-completer.d.ts +0 -7
  1049. package/core/async/promise-completer.js +0 -13
  1050. package/core/async/promise-completer.js.map +0 -1
  1051. package/core/async/promise-completer.metadata.json +0 -1
  1052. package/core/coercion/boolean-property.d.ts +0 -2
  1053. package/core/coercion/boolean-property.js +0 -6
  1054. package/core/coercion/boolean-property.js.map +0 -1
  1055. package/core/coercion/boolean-property.metadata.json +0 -1
  1056. package/core/coercion/number-property.d.ts +0 -2
  1057. package/core/coercion/number-property.js +0 -10
  1058. package/core/coercion/number-property.js.map +0 -1
  1059. package/core/coercion/number-property.metadata.json +0 -1
  1060. package/core/compatibility/default-mode.d.ts +0 -19
  1061. package/core/compatibility/default-mode.js +0 -61
  1062. package/core/compatibility/default-mode.js.map +0 -1
  1063. package/core/compatibility/default-mode.metadata.json +0 -1
  1064. package/core/compatibility/no-conflict-mode.d.ts +0 -10
  1065. package/core/compatibility/no-conflict-mode.js +0 -47
  1066. package/core/compatibility/no-conflict-mode.js.map +0 -1
  1067. package/core/compatibility/no-conflict-mode.metadata.json +0 -1
  1068. package/core/coordination/unique-selection-dispatcher.d.ts +0 -21
  1069. package/core/coordination/unique-selection-dispatcher.js +0 -46
  1070. package/core/coordination/unique-selection-dispatcher.js.map +0 -1
  1071. package/core/coordination/unique-selection-dispatcher.metadata.json +0 -1
  1072. package/core/core.d.ts +0 -45
  1073. package/core/core.js +0 -110
  1074. package/core/core.js.map +0 -1
  1075. package/core/core.metadata.json +0 -1
  1076. package/core/errors/error.d.ts +0 -7
  1077. package/core/errors/error.js +0 -20
  1078. package/core/errors/error.js.map +0 -1
  1079. package/core/errors/error.metadata.json +0 -1
  1080. package/core/gestures/gesture-annotations.d.ts +0 -44
  1081. package/core/gestures/gesture-annotations.js +0 -7
  1082. package/core/gestures/gesture-annotations.js.map +0 -1
  1083. package/core/gestures/gesture-config.js +0 -85
  1084. package/core/gestures/gesture-config.js.map +0 -1
  1085. package/core/gestures/gesture-config.metadata.json +0 -1
  1086. package/core/index.js +0 -3
  1087. package/core/index.js.map +0 -1
  1088. package/core/keyboard/keycodes.d.ts +0 -14
  1089. package/core/keyboard/keycodes.js +0 -20
  1090. package/core/keyboard/keycodes.js.map +0 -1
  1091. package/core/keyboard/keycodes.metadata.json +0 -1
  1092. package/core/line/line.d.ts +0 -23
  1093. package/core/line/line.js +0 -74
  1094. package/core/line/line.js.map +0 -1
  1095. package/core/line/line.metadata.json +0 -1
  1096. package/core/observe-content/observe-content.d.ts +0 -17
  1097. package/core/observe-content/observe-content.js +0 -66
  1098. package/core/observe-content/observe-content.js.map +0 -1
  1099. package/core/observe-content/observe-content.metadata.json +0 -1
  1100. package/core/overlay/_overlay.scss +0 -68
  1101. package/core/overlay/generic-component-type.d.ts +0 -3
  1102. package/core/overlay/generic-component-type.js +0 -3
  1103. package/core/overlay/generic-component-type.js.map +0 -1
  1104. package/core/overlay/overlay-container.d.ts +0 -19
  1105. package/core/overlay/overlay-container.js +0 -33
  1106. package/core/overlay/overlay-container.js.map +0 -1
  1107. package/core/overlay/overlay-container.metadata.json +0 -1
  1108. package/core/overlay/overlay-directives.d.ts +0 -80
  1109. package/core/overlay/overlay-directives.js +0 -316
  1110. package/core/overlay/overlay-directives.js.map +0 -1
  1111. package/core/overlay/overlay-directives.metadata.json +0 -1
  1112. package/core/overlay/overlay-ref.d.ts +0 -56
  1113. package/core/overlay/overlay-ref.js +0 -155
  1114. package/core/overlay/overlay-ref.js.map +0 -1
  1115. package/core/overlay/overlay-ref.metadata.json +0 -1
  1116. package/core/overlay/overlay-state.d.ts +0 -24
  1117. package/core/overlay/overlay-state.js +0 -17
  1118. package/core/overlay/overlay-state.js.map +0 -1
  1119. package/core/overlay/overlay-state.metadata.json +0 -1
  1120. package/core/overlay/overlay.d.ts +0 -54
  1121. package/core/overlay/overlay.js +0 -97
  1122. package/core/overlay/overlay.js.map +0 -1
  1123. package/core/overlay/overlay.metadata.json +0 -1
  1124. package/core/overlay/position/connected-position-strategy.d.ts +0 -133
  1125. package/core/overlay/position/connected-position-strategy.js +0 -292
  1126. package/core/overlay/position/connected-position-strategy.js.map +0 -1
  1127. package/core/overlay/position/connected-position-strategy.metadata.json +0 -1
  1128. package/core/overlay/position/connected-position.d.ts +0 -56
  1129. package/core/overlay/position/connected-position.js +0 -65
  1130. package/core/overlay/position/connected-position.js.map +0 -1
  1131. package/core/overlay/position/connected-position.metadata.json +0 -1
  1132. package/core/overlay/position/fake-viewport-ruler.d.ts +0 -15
  1133. package/core/overlay/position/fake-viewport-ruler.js +0 -16
  1134. package/core/overlay/position/fake-viewport-ruler.js.map +0 -1
  1135. package/core/overlay/position/fake-viewport-ruler.metadata.json +0 -1
  1136. package/core/overlay/position/global-position-strategy.d.ts +0 -75
  1137. package/core/overlay/position/global-position-strategy.js +0 -148
  1138. package/core/overlay/position/global-position-strategy.js.map +0 -1
  1139. package/core/overlay/position/global-position-strategy.metadata.json +0 -1
  1140. package/core/overlay/position/overlay-position-builder.d.ts +0 -21
  1141. package/core/overlay/position/overlay-position-builder.js +0 -41
  1142. package/core/overlay/position/overlay-position-builder.js.map +0 -1
  1143. package/core/overlay/position/overlay-position-builder.metadata.json +0 -1
  1144. package/core/overlay/position/position-strategy.d.ts +0 -7
  1145. package/core/overlay/position/position-strategy.js +0 -3
  1146. package/core/overlay/position/position-strategy.js.map +0 -1
  1147. package/core/overlay/position/relative-position-strategy.d.ts +0 -9
  1148. package/core/overlay/position/relative-position-strategy.js +0 -16
  1149. package/core/overlay/position/relative-position-strategy.js.map +0 -1
  1150. package/core/overlay/position/relative-position-strategy.metadata.json +0 -1
  1151. package/core/overlay/position/viewport-ruler.d.ts +0 -16
  1152. package/core/overlay/position/viewport-ruler.js +0 -67
  1153. package/core/overlay/position/viewport-ruler.js.map +0 -1
  1154. package/core/overlay/position/viewport-ruler.metadata.json +0 -1
  1155. package/core/overlay/scroll/scroll-dispatcher.d.ts +0 -44
  1156. package/core/overlay/scroll/scroll-dispatcher.js +0 -94
  1157. package/core/overlay/scroll/scroll-dispatcher.js.map +0 -1
  1158. package/core/overlay/scroll/scroll-dispatcher.metadata.json +0 -1
  1159. package/core/overlay/scroll/scrollable.d.ts +0 -21
  1160. package/core/overlay/scroll/scrollable.js +0 -48
  1161. package/core/overlay/scroll/scrollable.js.map +0 -1
  1162. package/core/overlay/scroll/scrollable.metadata.json +0 -1
  1163. package/core/platform/features.d.ts +0 -2
  1164. package/core/platform/features.js +0 -37
  1165. package/core/platform/features.js.map +0 -1
  1166. package/core/platform/features.metadata.json +0 -1
  1167. package/core/platform/index.d.ts +0 -6
  1168. package/core/platform/index.js +0 -30
  1169. package/core/platform/index.js.map +0 -1
  1170. package/core/platform/index.metadata.json +0 -1
  1171. package/core/platform/platform.d.ts +0 -16
  1172. package/core/platform/platform.js +0 -48
  1173. package/core/platform/platform.js.map +0 -1
  1174. package/core/platform/platform.metadata.json +0 -1
  1175. package/core/portal/README.md +0 -72
  1176. package/core/portal/dom-portal-host.d.ts +0 -31
  1177. package/core/portal/dom-portal-host.js +0 -108
  1178. package/core/portal/dom-portal-host.js.map +0 -1
  1179. package/core/portal/dom-portal-host.metadata.json +0 -1
  1180. package/core/portal/portal-directives.d.ts +0 -49
  1181. package/core/portal/portal-directives.js +0 -148
  1182. package/core/portal/portal-directives.js.map +0 -1
  1183. package/core/portal/portal-directives.metadata.json +0 -1
  1184. package/core/portal/portal-errors.d.ts +0 -43
  1185. package/core/portal/portal-errors.js +0 -75
  1186. package/core/portal/portal-errors.js.map +0 -1
  1187. package/core/portal/portal-errors.metadata.json +0 -1
  1188. package/core/portal/portal.d.ts +0 -85
  1189. package/core/portal/portal.js +0 -155
  1190. package/core/portal/portal.js.map +0 -1
  1191. package/core/portal/portal.metadata.json +0 -1
  1192. package/core/projection/projection.d.ts +0 -45
  1193. package/core/projection/projection.js +0 -111
  1194. package/core/projection/projection.js.map +0 -1
  1195. package/core/projection/projection.metadata.json +0 -1
  1196. package/core/ripple/README.md +0 -27
  1197. package/core/ripple/_ripple.scss +0 -106
  1198. package/core/ripple/ripple-renderer.d.ts +0 -76
  1199. package/core/ripple/ripple-renderer.js +0 -177
  1200. package/core/ripple/ripple-renderer.js.map +0 -1
  1201. package/core/ripple/ripple-renderer.metadata.json +0 -1
  1202. package/core/ripple/ripple.d.ts +0 -92
  1203. package/core/ripple/ripple.js +0 -295
  1204. package/core/ripple/ripple.js.map +0 -1
  1205. package/core/ripple/ripple.metadata.json +0 -1
  1206. package/core/rtl/dir.d.ts +0 -21
  1207. package/core/rtl/dir.js +0 -87
  1208. package/core/rtl/dir.js.map +0 -1
  1209. package/core/rtl/dir.metadata.json +0 -1
  1210. package/core/style/_button-common.scss +0 -7
  1211. package/core/style/_elevation.scss +0 -174
  1212. package/core/style/_form-common.scss +0 -12
  1213. package/core/style/_layout-common.scss +0 -8
  1214. package/core/style/_list-common.scss +0 -49
  1215. package/core/style/_menu-common.scss +0 -89
  1216. package/core/style/_variables.scss +0 -64
  1217. package/core/style/apply-transform.d.ts +0 -6
  1218. package/core/style/apply-transform.js +0 -14
  1219. package/core/style/apply-transform.js.map +0 -1
  1220. package/core/style/apply-transform.metadata.json +0 -1
  1221. package/core/theming/_all-theme.scss +0 -52
  1222. package/core/theming/_palette.scss +0 -694
  1223. package/core/theming/_theming.scss +0 -84
  1224. package/core/theming/prebuilt/deeppurple-amber.css +0 -1
  1225. package/core/theming/prebuilt/deeppurple-amber.css.map +0 -1
  1226. package/core/theming/prebuilt/deeppurple-amber.scss +0 -14
  1227. package/core/theming/prebuilt/indigo-pink.css +0 -1
  1228. package/core/theming/prebuilt/indigo-pink.css.map +0 -1
  1229. package/core/theming/prebuilt/indigo-pink.scss +0 -14
  1230. package/core/theming/prebuilt/pink-bluegrey.css +0 -1
  1231. package/core/theming/prebuilt/pink-bluegrey.css.map +0 -1
  1232. package/core/theming/prebuilt/pink-bluegrey.scss +0 -14
  1233. package/core/theming/prebuilt/purple-green.css +0 -1
  1234. package/core/theming/prebuilt/purple-green.css.map +0 -1
  1235. package/core/theming/prebuilt/purple-green.scss +0 -14
  1236. package/core/typography/_typography.scss +0 -6
  1237. package/core/util/object-extend.d.ts +0 -8
  1238. package/core/util/object-extend.js +0 -29
  1239. package/core/util/object-extend.js.map +0 -1
  1240. package/core/util/object-extend.metadata.json +0 -1
  1241. package/core.js +0 -3
  1242. package/core.js.map +0 -1
  1243. package/dialog/OVERVIEW.md +0 -39
  1244. package/dialog/README.md +0 -102
  1245. package/dialog/_dialog-theme.scss +0 -11
  1246. package/dialog/dialog-config.d.ts +0 -26
  1247. package/dialog/dialog-config.js +0 -19
  1248. package/dialog/dialog-config.js.map +0 -1
  1249. package/dialog/dialog-config.metadata.json +0 -1
  1250. package/dialog/dialog-container.d.ts +0 -37
  1251. package/dialog/dialog-container.html +0 -1
  1252. package/dialog/dialog-container.js +0 -97
  1253. package/dialog/dialog-container.js.map +0 -1
  1254. package/dialog/dialog-container.metadata.json +0 -1
  1255. package/dialog/dialog-content-directives.d.ts +0 -26
  1256. package/dialog/dialog-content-directives.js +0 -81
  1257. package/dialog/dialog-content-directives.js.map +0 -1
  1258. package/dialog/dialog-content-directives.metadata.json +0 -1
  1259. package/dialog/dialog-errors.d.ts +0 -8
  1260. package/dialog/dialog-errors.js +0 -19
  1261. package/dialog/dialog-errors.js.map +0 -1
  1262. package/dialog/dialog-errors.metadata.json +0 -1
  1263. package/dialog/dialog-injector.d.ts +0 -9
  1264. package/dialog/dialog-injector.js +0 -17
  1265. package/dialog/dialog-injector.js.map +0 -1
  1266. package/dialog/dialog-injector.metadata.json +0 -1
  1267. package/dialog/dialog-ref.d.ts +0 -22
  1268. package/dialog/dialog-ref.js +0 -31
  1269. package/dialog/dialog-ref.js.map +0 -1
  1270. package/dialog/dialog-ref.metadata.json +0 -1
  1271. package/dialog/dialog.css +0 -1
  1272. package/dialog/dialog.css.map +0 -1
  1273. package/dialog/dialog.d.ts +0 -57
  1274. package/dialog/dialog.js +0 -157
  1275. package/dialog/dialog.js.map +0 -1
  1276. package/dialog/dialog.metadata.json +0 -1
  1277. package/dialog/dialog.scss +0 -54
  1278. package/dialog/index.js +0 -59
  1279. package/dialog/index.js.map +0 -1
  1280. package/grid-list/OVERVIEW.md +0 -43
  1281. package/grid-list/README.md +0 -105
  1282. package/grid-list/_grid-list-theme.scss +0 -6
  1283. package/grid-list/grid-list-errors.d.ts +0 -22
  1284. package/grid-list/grid-list-errors.js +0 -41
  1285. package/grid-list/grid-list-errors.js.map +0 -1
  1286. package/grid-list/grid-list-errors.metadata.json +0 -1
  1287. package/grid-list/grid-list-measure.d.ts +0 -10
  1288. package/grid-list/grid-list-measure.js +0 -16
  1289. package/grid-list/grid-list-measure.js.map +0 -1
  1290. package/grid-list/grid-list-measure.metadata.json +0 -1
  1291. package/grid-list/grid-list.css +0 -1
  1292. package/grid-list/grid-list.css.map +0 -1
  1293. package/grid-list/grid-list.d.ts +0 -49
  1294. package/grid-list/grid-list.html +0 -1
  1295. package/grid-list/grid-list.js +0 -166
  1296. package/grid-list/grid-list.js.map +0 -1
  1297. package/grid-list/grid-list.metadata.json +0 -1
  1298. package/grid-list/grid-list.scss +0 -91
  1299. package/grid-list/grid-tile-text.html +0 -1
  1300. package/grid-list/grid-tile.d.ts +0 -30
  1301. package/grid-list/grid-tile.html +0 -1
  1302. package/grid-list/grid-tile.js +0 -81
  1303. package/grid-list/grid-tile.js.map +0 -1
  1304. package/grid-list/grid-tile.metadata.json +0 -1
  1305. package/grid-list/index.js +0 -3
  1306. package/grid-list/index.js.map +0 -1
  1307. package/grid-list/tile-coordinator.d.ts +0 -56
  1308. package/grid-list/tile-coordinator.js +0 -129
  1309. package/grid-list/tile-coordinator.js.map +0 -1
  1310. package/grid-list/tile-coordinator.metadata.json +0 -1
  1311. package/grid-list/tile-styler.d.ts +0 -112
  1312. package/grid-list/tile-styler.js +0 -211
  1313. package/grid-list/tile-styler.js.map +0 -1
  1314. package/grid-list/tile-styler.metadata.json +0 -1
  1315. package/icon/OVERVIEW.md +0 -88
  1316. package/icon/README.md +0 -129
  1317. package/icon/_icon-theme.scss +0 -25
  1318. package/icon/fake-svgs.d.ts +0 -6
  1319. package/icon/fake-svgs.js +0 -31
  1320. package/icon/fake-svgs.js.map +0 -1
  1321. package/icon/fake-svgs.metadata.json +0 -1
  1322. package/icon/icon-registry.d.ts +0 -180
  1323. package/icon/icon-registry.js +0 -413
  1324. package/icon/icon-registry.js.map +0 -1
  1325. package/icon/icon-registry.metadata.json +0 -1
  1326. package/icon/icon.css +0 -1
  1327. package/icon/icon.css.map +0 -1
  1328. package/icon/icon.d.ts +0 -91
  1329. package/icon/icon.js +0 -264
  1330. package/icon/icon.js.map +0 -1
  1331. package/icon/icon.metadata.json +0 -1
  1332. package/icon/icon.scss +0 -13
  1333. package/icon/index.js +0 -3
  1334. package/icon/index.js.map +0 -1
  1335. package/index.d.ts +0 -25
  1336. package/index.js +0 -27
  1337. package/index.js.map +0 -1
  1338. package/index.metadata.json +0 -1
  1339. package/input/OVERVIEW.md +0 -72
  1340. package/input/README.md +0 -183
  1341. package/input/_input-theme.scss +0 -62
  1342. package/input/autosize.d.ts +0 -29
  1343. package/input/autosize.js +0 -94
  1344. package/input/autosize.js.map +0 -1
  1345. package/input/autosize.metadata.json +0 -1
  1346. package/input/index.js +0 -6
  1347. package/input/index.js.map +0 -1
  1348. package/input/input-container-errors.d.ts +0 -17
  1349. package/input/input-container-errors.js +0 -41
  1350. package/input/input-container-errors.js.map +0 -1
  1351. package/input/input-container-errors.metadata.json +0 -1
  1352. package/input/input-container.css +0 -1
  1353. package/input/input-container.css.map +0 -1
  1354. package/input/input-container.d.ts +0 -95
  1355. package/input/input-container.html +0 -1
  1356. package/input/input-container.js +0 -352
  1357. package/input/input-container.js.map +0 -1
  1358. package/input/input-container.metadata.json +0 -1
  1359. package/input/input-container.scss +0 -32
  1360. package/input/input.css +0 -1
  1361. package/input/input.css.map +0 -1
  1362. package/input/input.d.ts +0 -184
  1363. package/input/input.html +0 -1
  1364. package/input/input.js +0 -564
  1365. package/input/input.js.map +0 -1
  1366. package/input/input.metadata.json +0 -1
  1367. package/input/input.scss +0 -202
  1368. package/list/OVERVIEW.md +0 -124
  1369. package/list/README.md +0 -154
  1370. package/list/_list-theme.scss +0 -28
  1371. package/list/index.js +0 -3
  1372. package/list/index.js.map +0 -1
  1373. package/list/list-item.html +0 -1
  1374. package/list/list.css +0 -1
  1375. package/list/list.css.map +0 -1
  1376. package/list/list.d.ts +0 -23
  1377. package/list/list.js +0 -119
  1378. package/list/list.js.map +0 -1
  1379. package/list/list.metadata.json +0 -1
  1380. package/list/list.scss +0 -181
  1381. package/menu/OVERVIEW.md +0 -62
  1382. package/menu/README.md +0 -171
  1383. package/menu/_menu-theme.scss +0 -29
  1384. package/menu/index.js +0 -7
  1385. package/menu/index.js.map +0 -1
  1386. package/menu/menu-animations.d.ts +0 -19
  1387. package/menu/menu-animations.js +0 -43
  1388. package/menu/menu-animations.js.map +0 -1
  1389. package/menu/menu-animations.metadata.json +0 -1
  1390. package/menu/menu-directive.d.ts +0 -46
  1391. package/menu/menu-directive.js +0 -136
  1392. package/menu/menu-directive.js.map +0 -1
  1393. package/menu/menu-directive.metadata.json +0 -1
  1394. package/menu/menu-errors.d.ts +0 -24
  1395. package/menu/menu-errors.js +0 -43
  1396. package/menu/menu-errors.js.map +0 -1
  1397. package/menu/menu-errors.metadata.json +0 -1
  1398. package/menu/menu-item.d.ts +0 -20
  1399. package/menu/menu-item.html +0 -1
  1400. package/menu/menu-item.js +0 -77
  1401. package/menu/menu-item.js.map +0 -1
  1402. package/menu/menu-item.metadata.json +0 -1
  1403. package/menu/menu-panel.d.ts +0 -10
  1404. package/menu/menu-panel.js +0 -3
  1405. package/menu/menu-panel.js.map +0 -1
  1406. package/menu/menu-positions.d.ts +0 -2
  1407. package/menu/menu-positions.js +0 -3
  1408. package/menu/menu-positions.js.map +0 -1
  1409. package/menu/menu-trigger.d.ts +0 -92
  1410. package/menu/menu-trigger.js +0 -246
  1411. package/menu/menu-trigger.js.map +0 -1
  1412. package/menu/menu-trigger.metadata.json +0 -1
  1413. package/menu/menu.css +0 -1
  1414. package/menu/menu.css.map +0 -1
  1415. package/menu/menu.d.ts +0 -9
  1416. package/menu/menu.html +0 -1
  1417. package/menu/menu.js +0 -40
  1418. package/menu/menu.js.map +0 -1
  1419. package/menu/menu.metadata.json +0 -1
  1420. package/menu/menu.scss +0 -44
  1421. package/module.d.ts +0 -6
  1422. package/module.js +0 -132
  1423. package/module.js.map +0 -1
  1424. package/module.metadata.json +0 -1
  1425. package/progress-bar/OVERVIEW.md +0 -30
  1426. package/progress-bar/README.md +0 -54
  1427. package/progress-bar/_progress-bar-theme.scss +0 -70
  1428. package/progress-bar/index.js +0 -3
  1429. package/progress-bar/index.js.map +0 -1
  1430. package/progress-bar/progress-bar.css +0 -1
  1431. package/progress-bar/progress-bar.css.map +0 -1
  1432. package/progress-bar/progress-bar.d.ts +0 -36
  1433. package/progress-bar/progress-bar.html +0 -1
  1434. package/progress-bar/progress-bar.js +0 -124
  1435. package/progress-bar/progress-bar.js.map +0 -1
  1436. package/progress-bar/progress-bar.metadata.json +0 -1
  1437. package/progress-bar/progress-bar.scss +0 -230
  1438. package/progress-spinner/OVERVIEW.md +0 -23
  1439. package/progress-spinner/README.md +0 -51
  1440. package/progress-spinner/_progress-spinner-theme.scss +0 -23
  1441. package/progress-spinner/index.js +0 -4
  1442. package/progress-spinner/index.js.map +0 -1
  1443. package/progress-spinner/progress-circle.d.ts +0 -4
  1444. package/progress-spinner/progress-circle.js +0 -6
  1445. package/progress-spinner/progress-circle.js.map +0 -1
  1446. package/progress-spinner/progress-circle.metadata.json +0 -1
  1447. package/progress-spinner/progress-spinner.css +0 -1
  1448. package/progress-spinner/progress-spinner.css.map +0 -1
  1449. package/progress-spinner/progress-spinner.d.ts +0 -80
  1450. package/progress-spinner/progress-spinner.html +0 -1
  1451. package/progress-spinner/progress-spinner.js +0 -337
  1452. package/progress-spinner/progress-spinner.js.map +0 -1
  1453. package/progress-spinner/progress-spinner.metadata.json +0 -1
  1454. package/progress-spinner/progress-spinner.scss +0 -68
  1455. package/radio/OVERVIEW.md +0 -29
  1456. package/radio/README.md +0 -55
  1457. package/radio/_radio-theme.scss +0 -39
  1458. package/radio/index.js +0 -3
  1459. package/radio/index.js.map +0 -1
  1460. package/radio/radio.css +0 -1
  1461. package/radio/radio.css.map +0 -1
  1462. package/radio/radio.d.ts +0 -179
  1463. package/radio/radio.html +0 -1
  1464. package/radio/radio.js +0 -552
  1465. package/radio/radio.js.map +0 -1
  1466. package/radio/radio.metadata.json +0 -1
  1467. package/radio/radio.scss +0 -102
  1468. package/select/OVERVIEW.md +0 -8
  1469. package/select/README.md +0 -3
  1470. package/select/_select-theme.scss +0 -64
  1471. package/select/index.js +0 -38
  1472. package/select/index.js.map +0 -1
  1473. package/select/option.d.ts +0 -44
  1474. package/select/option.html +0 -1
  1475. package/select/option.js +0 -135
  1476. package/select/option.js.map +0 -1
  1477. package/select/option.metadata.json +0 -1
  1478. package/select/select-animations.d.ts +0 -29
  1479. package/select/select-animations.js +0 -66
  1480. package/select/select-animations.js.map +0 -1
  1481. package/select/select-animations.metadata.json +0 -1
  1482. package/select/select.css +0 -1
  1483. package/select/select.css.map +0 -1
  1484. package/select/select.d.ts +0 -258
  1485. package/select/select.html +0 -1
  1486. package/select/select.js +0 -604
  1487. package/select/select.js.map +0 -1
  1488. package/select/select.metadata.json +0 -1
  1489. package/select/select.scss +0 -131
  1490. package/sidenav/OVERVIEW.md +0 -70
  1491. package/sidenav/README.md +0 -166
  1492. package/sidenav/_sidenav-theme.scss +0 -37
  1493. package/sidenav/index.js +0 -3
  1494. package/sidenav/index.js.map +0 -1
  1495. package/sidenav/sidenav-container.html +0 -1
  1496. package/sidenav/sidenav-transitions.css +0 -1
  1497. package/sidenav/sidenav-transitions.css.map +0 -1
  1498. package/sidenav/sidenav-transitions.scss +0 -14
  1499. package/sidenav/sidenav.css +0 -1
  1500. package/sidenav/sidenav.css.map +0 -1
  1501. package/sidenav/sidenav.d.ts +0 -182
  1502. package/sidenav/sidenav.html +0 -1
  1503. package/sidenav/sidenav.js +0 -580
  1504. package/sidenav/sidenav.js.map +0 -1
  1505. package/sidenav/sidenav.metadata.json +0 -1
  1506. package/sidenav/sidenav.scss +0 -151
  1507. package/slide-toggle/OVERVIEW.md +0 -24
  1508. package/slide-toggle/README.md +0 -66
  1509. package/slide-toggle/_slide-toggle-theme.scss +0 -89
  1510. package/slide-toggle/index.js +0 -3
  1511. package/slide-toggle/index.js.map +0 -1
  1512. package/slide-toggle/slide-toggle.css +0 -1
  1513. package/slide-toggle/slide-toggle.css.map +0 -1
  1514. package/slide-toggle/slide-toggle.d.ts +0 -84
  1515. package/slide-toggle/slide-toggle.html +0 -1
  1516. package/slide-toggle/slide-toggle.js +0 -347
  1517. package/slide-toggle/slide-toggle.js.map +0 -1
  1518. package/slide-toggle/slide-toggle.metadata.json +0 -1
  1519. package/slide-toggle/slide-toggle.scss +0 -158
  1520. package/slider/OVERVIEW.md +0 -87
  1521. package/slider/README.md +0 -150
  1522. package/slider/_slider-theme.scss +0 -32
  1523. package/slider/index.js +0 -3
  1524. package/slider/index.js.map +0 -1
  1525. package/slider/slider.css +0 -1
  1526. package/slider/slider.css.map +0 -1
  1527. package/slider/slider.d.ts +0 -176
  1528. package/slider/slider.html +0 -1
  1529. package/slider/slider.js +0 -609
  1530. package/slider/slider.js.map +0 -1
  1531. package/slider/slider.metadata.json +0 -1
  1532. package/slider/slider.scss +0 -307
  1533. package/slider/test-gesture-config.d.ts +0 -21
  1534. package/slider/test-gesture-config.js +0 -60
  1535. package/slider/test-gesture-config.js.map +0 -1
  1536. package/slider/test-gesture-config.metadata.json +0 -1
  1537. package/snack-bar/OVERVIEW.md +0 -47
  1538. package/snack-bar/README.md +0 -37
  1539. package/snack-bar/index.js +0 -6
  1540. package/snack-bar/index.js.map +0 -1
  1541. package/snack-bar/simple-snack-bar.css +0 -1
  1542. package/snack-bar/simple-snack-bar.css.map +0 -1
  1543. package/snack-bar/simple-snack-bar.d.ts +0 -17
  1544. package/snack-bar/simple-snack-bar.html +0 -1
  1545. package/snack-bar/simple-snack-bar.js +0 -38
  1546. package/snack-bar/simple-snack-bar.js.map +0 -1
  1547. package/snack-bar/simple-snack-bar.metadata.json +0 -1
  1548. package/snack-bar/simple-snack-bar.scss +0 -28
  1549. package/snack-bar/snack-bar-config.d.ts +0 -15
  1550. package/snack-bar/snack-bar-config.js +0 -18
  1551. package/snack-bar/snack-bar-config.js.map +0 -1
  1552. package/snack-bar/snack-bar-config.metadata.json +0 -1
  1553. package/snack-bar/snack-bar-container.css +0 -1
  1554. package/snack-bar/snack-bar-container.css.map +0 -1
  1555. package/snack-bar/snack-bar-container.d.ts +0 -43
  1556. package/snack-bar/snack-bar-container.html +0 -1
  1557. package/snack-bar/snack-bar-container.js +0 -124
  1558. package/snack-bar/snack-bar-container.js.map +0 -1
  1559. package/snack-bar/snack-bar-container.metadata.json +0 -1
  1560. package/snack-bar/snack-bar-container.scss +0 -27
  1561. package/snack-bar/snack-bar-errors.d.ts +0 -8
  1562. package/snack-bar/snack-bar-errors.js +0 -19
  1563. package/snack-bar/snack-bar-errors.js.map +0 -1
  1564. package/snack-bar/snack-bar-errors.metadata.json +0 -1
  1565. package/snack-bar/snack-bar-ref.d.ts +0 -38
  1566. package/snack-bar/snack-bar-ref.js +0 -70
  1567. package/snack-bar/snack-bar-ref.js.map +0 -1
  1568. package/snack-bar/snack-bar-ref.metadata.json +0 -1
  1569. package/snack-bar/snack-bar.d.ts +0 -45
  1570. package/snack-bar/snack-bar.js +0 -145
  1571. package/snack-bar/snack-bar.js.map +0 -1
  1572. package/snack-bar/snack-bar.metadata.json +0 -1
  1573. package/system-config-spec.d.ts +0 -2
  1574. package/tabs/OVERVIEW.md +0 -81
  1575. package/tabs/README.md +0 -64
  1576. package/tabs/Tabs Pagination.png +0 -0
  1577. package/tabs/_tabs-common.scss +0 -42
  1578. package/tabs/_tabs-theme.scss +0 -24
  1579. package/tabs/index.js +0 -9
  1580. package/tabs/index.js.map +0 -1
  1581. package/tabs/ink-bar.d.ts +0 -27
  1582. package/tabs/ink-bar.js +0 -58
  1583. package/tabs/ink-bar.js.map +0 -1
  1584. package/tabs/ink-bar.metadata.json +0 -1
  1585. package/tabs/tab-body.d.ts +0 -59
  1586. package/tabs/tab-body.html +0 -1
  1587. package/tabs/tab-body.js +0 -157
  1588. package/tabs/tab-body.js.map +0 -1
  1589. package/tabs/tab-body.metadata.json +0 -1
  1590. package/tabs/tab-group.css +0 -1
  1591. package/tabs/tab-group.css.map +0 -1
  1592. package/tabs/tab-group.d.ts +0 -71
  1593. package/tabs/tab-group.html +0 -1
  1594. package/tabs/tab-group.js +0 -236
  1595. package/tabs/tab-group.js.map +0 -1
  1596. package/tabs/tab-group.metadata.json +0 -1
  1597. package/tabs/tab-group.scss +0 -59
  1598. package/tabs/tab-header.css +0 -1
  1599. package/tabs/tab-header.css.map +0 -1
  1600. package/tabs/tab-header.d.ts +0 -137
  1601. package/tabs/tab-header.html +0 -1
  1602. package/tabs/tab-header.js +0 -354
  1603. package/tabs/tab-header.js.map +0 -1
  1604. package/tabs/tab-header.metadata.json +0 -1
  1605. package/tabs/tab-header.scss +0 -85
  1606. package/tabs/tab-label-wrapper.d.ts +0 -15
  1607. package/tabs/tab-label-wrapper.js +0 -53
  1608. package/tabs/tab-label-wrapper.js.map +0 -1
  1609. package/tabs/tab-label-wrapper.metadata.json +0 -1
  1610. package/tabs/tab-label.d.ts +0 -6
  1611. package/tabs/tab-label.js +0 -32
  1612. package/tabs/tab-label.js.map +0 -1
  1613. package/tabs/tab-label.metadata.json +0 -1
  1614. package/tabs/tab-nav-bar/index.d.ts +0 -1
  1615. package/tabs/tab-nav-bar/index.js +0 -3
  1616. package/tabs/tab-nav-bar/index.js.map +0 -1
  1617. package/tabs/tab-nav-bar/index.metadata.json +0 -1
  1618. package/tabs/tab-nav-bar/tab-nav-bar.css +0 -1
  1619. package/tabs/tab-nav-bar/tab-nav-bar.css.map +0 -1
  1620. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -37
  1621. package/tabs/tab-nav-bar/tab-nav-bar.html +0 -1
  1622. package/tabs/tab-nav-bar/tab-nav-bar.js +0 -103
  1623. package/tabs/tab-nav-bar/tab-nav-bar.js.map +0 -1
  1624. package/tabs/tab-nav-bar/tab-nav-bar.metadata.json +0 -1
  1625. package/tabs/tab-nav-bar/tab-nav-bar.scss +0 -26
  1626. package/tabs/tab.d.ts +0 -30
  1627. package/tabs/tab.html +0 -1
  1628. package/tabs/tab.js +0 -74
  1629. package/tabs/tab.js.map +0 -1
  1630. package/tabs/tab.metadata.json +0 -1
  1631. package/toolbar/OVERVIEW.md +0 -51
  1632. package/toolbar/README.md +0 -68
  1633. package/toolbar/_toolbar-theme.scss +0 -33
  1634. package/toolbar/index.js +0 -3
  1635. package/toolbar/index.js.map +0 -1
  1636. package/toolbar/toolbar.css +0 -1
  1637. package/toolbar/toolbar.css.map +0 -1
  1638. package/toolbar/toolbar.d.ts +0 -16
  1639. package/toolbar/toolbar.html +0 -1
  1640. package/toolbar/toolbar.js +0 -84
  1641. package/toolbar/toolbar.js.map +0 -1
  1642. package/toolbar/toolbar.metadata.json +0 -1
  1643. package/toolbar/toolbar.scss +0 -58
  1644. package/tooltip/OVERVIEW.md +0 -35
  1645. package/tooltip/README.md +0 -28
  1646. package/tooltip/_tooltip-theme.scss +0 -9
  1647. package/tooltip/index.js +0 -3
  1648. package/tooltip/index.js.map +0 -1
  1649. package/tooltip/tooltip-errors.d.ts +0 -8
  1650. package/tooltip/tooltip-errors.js +0 -19
  1651. package/tooltip/tooltip-errors.js.map +0 -1
  1652. package/tooltip/tooltip-errors.metadata.json +0 -1
  1653. package/tooltip/tooltip.css +0 -1
  1654. package/tooltip/tooltip.css.map +0 -1
  1655. package/tooltip/tooltip.d.ts +0 -116
  1656. package/tooltip/tooltip.html +0 -1
  1657. package/tooltip/tooltip.js +0 -387
  1658. package/tooltip/tooltip.js.map +0 -1
  1659. package/tooltip/tooltip.metadata.json +0 -1
  1660. package/tooltip/tooltip.scss +0 -26
  1661. package/tsconfig-srcs.json +0 -31
  1662. package/tsconfig.json +0 -34
  1663. package/typedoc.json +0 -20
  1664. package/typings.d.ts +0 -1
package/_theming.scss ADDED
@@ -0,0 +1,3878 @@
1
+ // Import all the theming functionality.
2
+ // We can use relative imports for imports from the cdk because we bundle everything
3
+ // up into a single flat scss file for material.
4
+ // We want overlays to always appear over user content, so set a baseline
5
+ // very high z-index for the overlay container, which is where we create the new
6
+ // stacking context for all overlays.
7
+ $cdk-z-index-overlay-container: 1000;
8
+ $cdk-z-index-overlay: 1000;
9
+ $cdk-z-index-overlay-backdrop: 1000;
10
+
11
+ // Background color for all of the backdrops
12
+ $cdk-overlay-dark-backdrop-background: rgba(0, 0, 0, 0.6);
13
+
14
+ // Default backdrop animation is based on the Material Design swift-ease-out.
15
+ $backdrop-animation-duration: 400ms !default;
16
+ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
17
+
18
+
19
+ @mixin cdk-overlay() {
20
+ .cdk-overlay-container, .cdk-global-overlay-wrapper {
21
+ // Disable events from being captured on the overlay container.
22
+ pointer-events: none;
23
+
24
+ // The container should be the size of the viewport.
25
+ top: 0;
26
+ left: 0;
27
+ height: 100%;
28
+ width: 100%;
29
+ }
30
+
31
+ // The overlay-container is an invisible element which contains all individual overlays.
32
+ .cdk-overlay-container {
33
+ position: fixed;
34
+ z-index: $cdk-z-index-overlay-container;
35
+ }
36
+
37
+ // We use an extra wrapper element in order to use make the overlay itself a flex item.
38
+ // This makes centering the overlay easy without running into the subpixel rendering
39
+ // problems tied to using `transform` and without interfering with the other position
40
+ // strategies.
41
+ .cdk-global-overlay-wrapper {
42
+ display: flex;
43
+ position: absolute;
44
+ z-index: $cdk-z-index-overlay;
45
+ }
46
+
47
+ // A single overlay pane.
48
+ .cdk-overlay-pane {
49
+ position: absolute;
50
+ pointer-events: auto;
51
+ box-sizing: border-box;
52
+ z-index: $cdk-z-index-overlay;
53
+ }
54
+
55
+ .cdk-overlay-backdrop {
56
+ // TODO(jelbourn): reuse sidenav fullscreen mixin.
57
+ position: absolute;
58
+ top: 0;
59
+ bottom: 0;
60
+ left: 0;
61
+ right: 0;
62
+
63
+ z-index: $cdk-z-index-overlay-backdrop;
64
+ pointer-events: auto;
65
+ -webkit-tap-highlight-color: transparent;
66
+ transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
67
+ opacity: 0;
68
+
69
+ &.cdk-overlay-backdrop-showing {
70
+ opacity: 0.48;
71
+ }
72
+ }
73
+
74
+ .cdk-overlay-dark-backdrop {
75
+ background: $cdk-overlay-dark-backdrop-background;
76
+ }
77
+
78
+ .cdk-overlay-transparent-backdrop {
79
+ background: none;
80
+ }
81
+
82
+ // Used when disabling global scrolling.
83
+ .cdk-global-scrollblock {
84
+ position: fixed;
85
+
86
+ // Necessary for the content not to lose its width. Note that we're using 100%, instead of
87
+ // 100vw, because 100vw includes the width plus the scrollbar, whereas 100% is the width
88
+ // that the element had before we made it `fixed`.
89
+ width: 100%;
90
+
91
+ // Note: this will always add a scrollbar to whatever element it is on, which can
92
+ // potentially result in double scrollbars. It shouldn't be an issue, because we won't
93
+ // block scrolling on a page that doesn't have a scrollbar in the first place.
94
+ overflow-y: scroll;
95
+ }
96
+ }
97
+
98
+ @mixin cdk-a11y {
99
+ .cdk-visually-hidden {
100
+ border: 0;
101
+ clip: rect(0 0 0 0);
102
+ height: 1px;
103
+ margin: -1px;
104
+ overflow: hidden;
105
+ padding: 0;
106
+ position: absolute;
107
+ width: 1px;
108
+ }
109
+ }
110
+
111
+ /**
112
+ * Applies styles for users in high contrast mode. Note that this only applies
113
+ * to Microsoft browsers. Chrome can be included by checking for the `html[hc]`
114
+ * attribute, however Chrome handles high contrast differently.
115
+ */
116
+ @mixin cdk-high-contrast {
117
+ @media screen and (-ms-high-contrast: active) {
118
+ @content;
119
+ }
120
+ }
121
+
122
+
123
+ // Core styles that can be used to apply material design treatments to any element.
124
+ // Media queries
125
+ // TODO: Find a way to respect media query ranges.
126
+ // TODO: For example the xs-breakpoint should not interfere with the sm-breakpoint.
127
+ $mat-xsmall: 'max-width: 600px';
128
+ $mat-small: 'max-width: 960px';
129
+
130
+ // TODO(crisbeto): this isn't being used anywhere within Material. keeping for backwards compat.
131
+ $mat-font-family: Roboto, 'Helvetica Neue', sans-serif !default;
132
+
133
+ // TODO: Revisit all z-indices before beta
134
+ // z-index master list
135
+
136
+ $z-index-fab: 20 !default;
137
+ $z-index-drawer: 100 !default;
138
+
139
+ // Global constants
140
+ $pi: 3.14159265;
141
+
142
+ // Padding between input toggles and their labels
143
+ $mat-toggle-padding: 8px !default;
144
+ // Width and height of input toggles
145
+ $mat-toggle-size: 20px !default;
146
+
147
+ // Easing Curves
148
+ // TODO(jelbourn): all of these need to be revisited
149
+
150
+ // The default animation curves used by material design.
151
+ $mat-linear-out-slow-in-timing-function: cubic-bezier(0, 0, 0.2, 0.1) !default;
152
+ $mat-fast-out-slow-in-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !default;
153
+ $mat-fast-out-linear-in-timing-function: cubic-bezier(0.4, 0, 1, 1) !default;
154
+
155
+ $ease-in-out-curve-function: cubic-bezier(0.35, 0, 0.25, 1) !default;
156
+
157
+ $swift-ease-out-duration: 400ms !default;
158
+ $swift-ease-out-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
159
+ $swift-ease-out: all $swift-ease-out-duration $swift-ease-out-timing-function !default;
160
+
161
+ $swift-ease-in-duration: 300ms !default;
162
+ $swift-ease-in-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2) !default;
163
+ $swift-ease-in: all $swift-ease-in-duration $swift-ease-in-timing-function !default;
164
+
165
+ $swift-ease-in-out-duration: 500ms !default;
166
+ $swift-ease-in-out-timing-function: $ease-in-out-curve-function !default;
167
+ $swift-ease-in-out: all $swift-ease-in-out-duration $swift-ease-in-out-timing-function !default;
168
+
169
+ $swift-linear-duration: 80ms !default;
170
+ $swift-linear-timing-function: linear !default;
171
+ $swift-linear: all $swift-linear-duration $swift-linear-timing-function !default;
172
+
173
+
174
+
175
+ // A collection of mixins and CSS classes that can be used to apply elevation to a material
176
+ // element.
177
+ // See: https://www.google.com/design/spec/what-is-material/elevation-shadows.html
178
+ // Examples:
179
+ //
180
+ //
181
+ // .mat-foo {
182
+ // @include $mat-elevation(2);
183
+ //
184
+ // &:active {
185
+ // @include $mat-elevation(8);
186
+ // }
187
+ // }
188
+ //
189
+ // <div id="external-card" class="mat-elevation-z2"><p>Some content</p></div>
190
+ //
191
+ // For an explanation of the design behind how elevation is implemented, see the design doc at
192
+ // https://goo.gl/Kq0k9Z.
193
+
194
+ // Colors for umbra, penumbra, and ambient shadows. As described in the design doc, each elevation
195
+ // level is created using a set of 3 shadow values, one for umbra (the shadow representing the
196
+ // space completely obscured by an object relative to its light source), one for penumbra (the
197
+ // space partially obscured by an object), and one for ambient (the space which contains the object
198
+ // itself). For a further explanation of these terms and their meanings, see
199
+ // https://en.wikipedia.org/wiki/Umbra,_penumbra_and_antumbra.
200
+
201
+ $_umbra-color: rgba(black, 0.2);
202
+ $_penumbra-color: rgba(black, 0.14);
203
+ $_ambient-color: rgba(black, 0.12);
204
+
205
+ // Maps for the different shadow sets and their values within each z-space. These values were
206
+ // created by taking a few reference shadow sets created by Google's Designers and interpolating
207
+ // all of the values between them.
208
+
209
+ $_umbra-elevation-map: (
210
+ 0: '0px 0px 0px 0px #{$_umbra-color}',
211
+ 1: '0px 2px 1px -1px #{$_umbra-color}',
212
+ 2: '0px 3px 1px -2px #{$_umbra-color}',
213
+ 3: '0px 3px 3px -2px #{$_umbra-color}',
214
+ 4: '0px 2px 4px -1px #{$_umbra-color}',
215
+ 5: '0px 3px 5px -1px #{$_umbra-color}',
216
+ 6: '0px 3px 5px -1px #{$_umbra-color}',
217
+ 7: '0px 4px 5px -2px #{$_umbra-color}',
218
+ 8: '0px 5px 5px -3px #{$_umbra-color}',
219
+ 9: '0px 5px 6px -3px #{$_umbra-color}',
220
+ 10: '0px 6px 6px -3px #{$_umbra-color}',
221
+ 11: '0px 6px 7px -4px #{$_umbra-color}',
222
+ 12: '0px 7px 8px -4px #{$_umbra-color}',
223
+ 13: '0px 7px 8px -4px #{$_umbra-color}',
224
+ 14: '0px 7px 9px -4px #{$_umbra-color}',
225
+ 15: '0px 8px 9px -5px #{$_umbra-color}',
226
+ 16: '0px 8px 10px -5px #{$_umbra-color}',
227
+ 17: '0px 8px 11px -5px #{$_umbra-color}',
228
+ 18: '0px 9px 11px -5px #{$_umbra-color}',
229
+ 19: '0px 9px 12px -6px #{$_umbra-color}',
230
+ 20: '0px 10px 13px -6px #{$_umbra-color}',
231
+ 21: '0px 10px 13px -6px #{$_umbra-color}',
232
+ 22: '0px 10px 14px -6px #{$_umbra-color}',
233
+ 23: '0px 11px 14px -7px #{$_umbra-color}',
234
+ 24: '0px 11px 15px -7px #{$_umbra-color}'
235
+ );
236
+
237
+ $_penumbra-elevation-map: (
238
+ 0: '0px 0px 0px 0px #{$_penumbra-color}',
239
+ 1: '0px 1px 1px 0px #{$_penumbra-color}',
240
+ 2: '0px 2px 2px 0px #{$_penumbra-color}',
241
+ 3: '0px 3px 4px 0px #{$_penumbra-color}',
242
+ 4: '0px 4px 5px 0px #{$_penumbra-color}',
243
+ 5: '0px 5px 8px 0px #{$_penumbra-color}',
244
+ 6: '0px 6px 10px 0px #{$_penumbra-color}',
245
+ 7: '0px 7px 10px 1px #{$_penumbra-color}',
246
+ 8: '0px 8px 10px 1px #{$_penumbra-color}',
247
+ 9: '0px 9px 12px 1px #{$_penumbra-color}',
248
+ 10: '0px 10px 14px 1px #{$_penumbra-color}',
249
+ 11: '0px 11px 15px 1px #{$_penumbra-color}',
250
+ 12: '0px 12px 17px 2px #{$_penumbra-color}',
251
+ 13: '0px 13px 19px 2px #{$_penumbra-color}',
252
+ 14: '0px 14px 21px 2px #{$_penumbra-color}',
253
+ 15: '0px 15px 22px 2px #{$_penumbra-color}',
254
+ 16: '0px 16px 24px 2px #{$_penumbra-color}',
255
+ 17: '0px 17px 26px 2px #{$_penumbra-color}',
256
+ 18: '0px 18px 28px 2px #{$_penumbra-color}',
257
+ 19: '0px 19px 29px 2px #{$_penumbra-color}',
258
+ 20: '0px 20px 31px 3px #{$_penumbra-color}',
259
+ 21: '0px 21px 33px 3px #{$_penumbra-color}',
260
+ 22: '0px 22px 35px 3px #{$_penumbra-color}',
261
+ 23: '0px 23px 36px 3px #{$_penumbra-color}',
262
+ 24: '0px 24px 38px 3px #{$_penumbra-color}'
263
+ );
264
+
265
+ $_ambient-elevation-map: (
266
+ 0: '0px 0px 0px 0px #{$_ambient-color}',
267
+ 1: '0px 1px 3px 0px #{$_ambient-color}',
268
+ 2: '0px 1px 5px 0px #{$_ambient-color}',
269
+ 3: '0px 1px 8px 0px #{$_ambient-color}',
270
+ 4: '0px 1px 10px 0px #{$_ambient-color}',
271
+ 5: '0px 1px 14px 0px #{$_ambient-color}',
272
+ 6: '0px 1px 18px 0px #{$_ambient-color}',
273
+ 7: '0px 2px 16px 1px #{$_ambient-color}',
274
+ 8: '0px 3px 14px 2px #{$_ambient-color}',
275
+ 9: '0px 3px 16px 2px #{$_ambient-color}',
276
+ 10: '0px 4px 18px 3px #{$_ambient-color}',
277
+ 11: '0px 4px 20px 3px #{$_ambient-color}',
278
+ 12: '0px 5px 22px 4px #{$_ambient-color}',
279
+ 13: '0px 5px 24px 4px #{$_ambient-color}',
280
+ 14: '0px 5px 26px 4px #{$_ambient-color}',
281
+ 15: '0px 6px 28px 5px #{$_ambient-color}',
282
+ 16: '0px 6px 30px 5px #{$_ambient-color}',
283
+ 17: '0px 6px 32px 5px #{$_ambient-color}',
284
+ 18: '0px 7px 34px 6px #{$_ambient-color}',
285
+ 19: '0px 7px 36px 6px #{$_ambient-color}',
286
+ 20: '0px 8px 38px 7px #{$_ambient-color}',
287
+ 21: '0px 8px 40px 7px #{$_ambient-color}',
288
+ 22: '0px 8px 42px 7px #{$_ambient-color}',
289
+ 23: '0px 9px 44px 8px #{$_ambient-color}',
290
+ 24: '0px 9px 46px 8px #{$_ambient-color}'
291
+ );
292
+
293
+
294
+ // The default duration value for elevation transitions.
295
+ $mat-elevation-transition-duration: 280ms !default;
296
+
297
+ // The default easing value for elevation transitions.
298
+ $mat-elevation-transition-timing-function: $mat-fast-out-slow-in-timing-function;
299
+
300
+ // Prefix for elevation-related selectors.
301
+ $_mat-elevation-prefix: 'mat-elevation-z';
302
+
303
+ // Applies the correct css rules to an element to give it the elevation specified by $zValue.
304
+ // The $zValue must be between 0 and 24.
305
+ @mixin mat-elevation($zValue) {
306
+ @if type-of($zValue) != number or not unitless($zValue) {
307
+ @error '$zValue must be a unitless number';
308
+ }
309
+ @if $zValue < 0 or $zValue > 24 {
310
+ @error '$zValue must be between 0 and 24';
311
+ }
312
+
313
+ box-shadow: #{map-get($_umbra-elevation-map, $zValue)},
314
+ #{map-get($_penumbra-elevation-map, $zValue)},
315
+ #{map-get($_ambient-elevation-map, $zValue)};
316
+ }
317
+
318
+ // Applies the elevation to an element in a manner that allows
319
+ // consumers to override it via the Material elevation classes.
320
+ @mixin mat-overridable-elevation($zValue) {
321
+ &:not([class*='#{$_mat-elevation-prefix}']) {
322
+ @include mat-elevation($zValue);
323
+ }
324
+ }
325
+
326
+ // Returns a string that can be used as the value for a transition property for elevation.
327
+ // Calling this function directly is useful in situations where a component needs to transition
328
+ // more than one property.
329
+ //
330
+ // .foo {
331
+ // transition: mat-elevation-transition-property-value(), opacity 100ms ease;
332
+ // }
333
+ @function mat-elevation-transition-property-value(
334
+ $duration: $mat-elevation-transition-duration,
335
+ $easing: $mat-elevation-transition-timing-function) {
336
+ @return box-shadow #{$duration} #{$easing};
337
+ }
338
+
339
+ // Applies the correct css rules needed to have an element transition between elevations.
340
+ // This mixin should be applied to elements whose elevation values will change depending on their
341
+ // context (e.g. when active or disabled).
342
+ //
343
+ // NOTE(traviskaufman): Both this mixin and the above function use default parameters so they can
344
+ // be used in the same way by clients.
345
+ @mixin mat-elevation-transition(
346
+ $duration: $mat-elevation-transition-duration,
347
+ $easing: $mat-elevation-transition-timing-function) {
348
+ transition: mat-elevation-transition-property-value($duration, $easing);
349
+ }
350
+
351
+ // Color palettes from the Material Design spec.
352
+ // See https://www.google.com/design/spec/style/color.html
353
+ //
354
+ // Contrast colors are hard-coded because it is too difficult (probably impossible) to
355
+ // calculate them. These contrast colors are pulled from the public Material Design spec swatches.
356
+ // While the contrast colors in the spec are not prescriptive, we use them for convenience.
357
+
358
+
359
+ $black-87-opacity: rgba(black, 0.87);
360
+ $white-87-opacity: rgba(white, 0.87);
361
+ $black-12-opacity: rgba(black, 0.12);
362
+ $white-12-opacity: rgba(white, 0.12);
363
+ $black-6-opacity: rgba(black, 0.06);
364
+ $white-6-opacity: rgba(white, 0.06);
365
+
366
+ $mat-red: (
367
+ 50: #ffebee,
368
+ 100: #ffcdd2,
369
+ 200: #ef9a9a,
370
+ 300: #e57373,
371
+ 400: #ef5350,
372
+ 500: #f44336,
373
+ 600: #e53935,
374
+ 700: #d32f2f,
375
+ 800: #c62828,
376
+ 900: #b71c1c,
377
+ A100: #ff8a80,
378
+ A200: #ff5252,
379
+ A400: #ff1744,
380
+ A700: #d50000,
381
+ contrast: (
382
+ 50: $black-87-opacity,
383
+ 100: $black-87-opacity,
384
+ 200: $black-87-opacity,
385
+ 300: $black-87-opacity,
386
+ 400: $black-87-opacity,
387
+ 500: white,
388
+ 600: white,
389
+ 700: white,
390
+ 800: $white-87-opacity,
391
+ 900: $white-87-opacity,
392
+ A100: $black-87-opacity,
393
+ A200: white,
394
+ A400: white,
395
+ A700: white,
396
+ )
397
+ );
398
+
399
+ $mat-pink: (
400
+ 50: #fce4ec,
401
+ 100: #f8bbd0,
402
+ 200: #f48fb1,
403
+ 300: #f06292,
404
+ 400: #ec407a,
405
+ 500: #e91e63,
406
+ 600: #d81b60,
407
+ 700: #c2185b,
408
+ 800: #ad1457,
409
+ 900: #880e4f,
410
+ A100: #ff80ab,
411
+ A200: #ff4081,
412
+ A400: #f50057,
413
+ A700: #c51162,
414
+ contrast: (
415
+ 50: $black-87-opacity,
416
+ 100: $black-87-opacity,
417
+ 200: $black-87-opacity,
418
+ 300: $black-87-opacity,
419
+ 400: $black-87-opacity,
420
+ 500: white,
421
+ 600: white,
422
+ 700: $white-87-opacity,
423
+ 800: $white-87-opacity,
424
+ 900: $white-87-opacity,
425
+ A100: $black-87-opacity,
426
+ A200: white,
427
+ A400: white,
428
+ A700: white,
429
+ )
430
+ );
431
+
432
+ $mat-purple: (
433
+ 50: #f3e5f5,
434
+ 100: #e1bee7,
435
+ 200: #ce93d8,
436
+ 300: #ba68c8,
437
+ 400: #ab47bc,
438
+ 500: #9c27b0,
439
+ 600: #8e24aa,
440
+ 700: #7b1fa2,
441
+ 800: #6a1b9a,
442
+ 900: #4a148c,
443
+ A100: #ea80fc,
444
+ A200: #e040fb,
445
+ A400: #d500f9,
446
+ A700: #aa00ff,
447
+ contrast: (
448
+ 50: $black-87-opacity,
449
+ 100: $black-87-opacity,
450
+ 200: $black-87-opacity,
451
+ 300: white,
452
+ 400: white,
453
+ 500: $white-87-opacity,
454
+ 600: $white-87-opacity,
455
+ 700: $white-87-opacity,
456
+ 800: $white-87-opacity,
457
+ 900: $white-87-opacity,
458
+ A100: $black-87-opacity,
459
+ A200: white,
460
+ A400: white,
461
+ A700: white,
462
+ )
463
+ );
464
+
465
+ $mat-deep-purple: (
466
+ 50: #ede7f6,
467
+ 100: #d1c4e9,
468
+ 200: #b39ddb,
469
+ 300: #9575cd,
470
+ 400: #7e57c2,
471
+ 500: #673ab7,
472
+ 600: #5e35b1,
473
+ 700: #512da8,
474
+ 800: #4527a0,
475
+ 900: #311b92,
476
+ A100: #b388ff,
477
+ A200: #7c4dff,
478
+ A400: #651fff,
479
+ A700: #6200ea,
480
+ contrast: (
481
+ 50: $black-87-opacity,
482
+ 100: $black-87-opacity,
483
+ 200: $black-87-opacity,
484
+ 300: white,
485
+ 400: white,
486
+ 500: $white-87-opacity,
487
+ 600: $white-87-opacity,
488
+ 700: $white-87-opacity,
489
+ 800: $white-87-opacity,
490
+ 900: $white-87-opacity,
491
+ A100: $black-87-opacity,
492
+ A200: white,
493
+ A400: $white-87-opacity,
494
+ A700: $white-87-opacity,
495
+ )
496
+ );
497
+
498
+ $mat-indigo: (
499
+ 50: #e8eaf6,
500
+ 100: #c5cae9,
501
+ 200: #9fa8da,
502
+ 300: #7986cb,
503
+ 400: #5c6bc0,
504
+ 500: #3f51b5,
505
+ 600: #3949ab,
506
+ 700: #303f9f,
507
+ 800: #283593,
508
+ 900: #1a237e,
509
+ A100: #8c9eff,
510
+ A200: #536dfe,
511
+ A400: #3d5afe,
512
+ A700: #304ffe,
513
+ contrast: (
514
+ 50: $black-87-opacity,
515
+ 100: $black-87-opacity,
516
+ 200: $black-87-opacity,
517
+ 300: white,
518
+ 400: white,
519
+ 500: $white-87-opacity,
520
+ 600: $white-87-opacity,
521
+ 700: $white-87-opacity,
522
+ 800: $white-87-opacity,
523
+ 900: $white-87-opacity,
524
+ A100: $black-87-opacity,
525
+ A200: white,
526
+ A400: white,
527
+ A700: $white-87-opacity,
528
+ )
529
+ );
530
+
531
+ $mat-blue: (
532
+ 50: #e3f2fd,
533
+ 100: #bbdefb,
534
+ 200: #90caf9,
535
+ 300: #64b5f6,
536
+ 400: #42a5f5,
537
+ 500: #2196f3,
538
+ 600: #1e88e5,
539
+ 700: #1976d2,
540
+ 800: #1565c0,
541
+ 900: #0d47a1,
542
+ A100: #82b1ff,
543
+ A200: #448aff,
544
+ A400: #2979ff,
545
+ A700: #2962ff,
546
+ contrast: (
547
+ 50: $black-87-opacity,
548
+ 100: $black-87-opacity,
549
+ 200: $black-87-opacity,
550
+ 300: $black-87-opacity,
551
+ 400: $black-87-opacity,
552
+ 500: white,
553
+ 600: white,
554
+ 700: white,
555
+ 800: $white-87-opacity,
556
+ 900: $white-87-opacity,
557
+ A100: $black-87-opacity,
558
+ A200: white,
559
+ A400: white,
560
+ A700: white,
561
+ )
562
+ );
563
+
564
+ $mat-light-blue: (
565
+ 50: #e1f5fe,
566
+ 100: #b3e5fc,
567
+ 200: #81d4fa,
568
+ 300: #4fc3f7,
569
+ 400: #29b6f6,
570
+ 500: #03a9f4,
571
+ 600: #039be5,
572
+ 700: #0288d1,
573
+ 800: #0277bd,
574
+ 900: #01579b,
575
+ A100: #80d8ff,
576
+ A200: #40c4ff,
577
+ A400: #00b0ff,
578
+ A700: #0091ea,
579
+ contrast: (
580
+ 50: $black-87-opacity,
581
+ 100: $black-87-opacity,
582
+ 200: $black-87-opacity,
583
+ 300: $black-87-opacity,
584
+ 400: $black-87-opacity,
585
+ 500: white,
586
+ 600: white,
587
+ 700: white,
588
+ 800: white,
589
+ 900: $white-87-opacity,
590
+ A100: $black-87-opacity,
591
+ A200: $black-87-opacity,
592
+ A400: $black-87-opacity,
593
+ A700: white,
594
+ )
595
+ );
596
+
597
+ $mat-cyan: (
598
+ 50: #e0f7fa,
599
+ 100: #b2ebf2,
600
+ 200: #80deea,
601
+ 300: #4dd0e1,
602
+ 400: #26c6da,
603
+ 500: #00bcd4,
604
+ 600: #00acc1,
605
+ 700: #0097a7,
606
+ 800: #00838f,
607
+ 900: #006064,
608
+ A100: #84ffff,
609
+ A200: #18ffff,
610
+ A400: #00e5ff,
611
+ A700: #00b8d4,
612
+ contrast: (
613
+ 50: $black-87-opacity,
614
+ 100: $black-87-opacity,
615
+ 200: $black-87-opacity,
616
+ 300: $black-87-opacity,
617
+ 400: $black-87-opacity,
618
+ 500: white,
619
+ 600: white,
620
+ 700: white,
621
+ 800: white,
622
+ 900: $white-87-opacity,
623
+ A100: $black-87-opacity,
624
+ A200: $black-87-opacity,
625
+ A400: $black-87-opacity,
626
+ A700: $black-87-opacity,
627
+ )
628
+ );
629
+
630
+ $mat-teal: (
631
+ 50: #e0f2f1,
632
+ 100: #b2dfdb,
633
+ 200: #80cbc4,
634
+ 300: #4db6ac,
635
+ 400: #26a69a,
636
+ 500: #009688,
637
+ 600: #00897b,
638
+ 700: #00796b,
639
+ 800: #00695c,
640
+ 900: #004d40,
641
+ A100: #a7ffeb,
642
+ A200: #64ffda,
643
+ A400: #1de9b6,
644
+ A700: #00bfa5,
645
+ contrast: (
646
+ 50: $black-87-opacity,
647
+ 100: $black-87-opacity,
648
+ 200: $black-87-opacity,
649
+ 300: $black-87-opacity,
650
+ 400: $black-87-opacity,
651
+ 500: white,
652
+ 600: white,
653
+ 700: white,
654
+ 800: $white-87-opacity,
655
+ 900: $white-87-opacity,
656
+ A100: $black-87-opacity,
657
+ A200: $black-87-opacity,
658
+ A400: $black-87-opacity,
659
+ A700: $black-87-opacity,
660
+ )
661
+ );
662
+
663
+ $mat-green: (
664
+ 50: #e8f5e9,
665
+ 100: #c8e6c9,
666
+ 200: #a5d6a7,
667
+ 300: #81c784,
668
+ 400: #66bb6a,
669
+ 500: #4caf50,
670
+ 600: #43a047,
671
+ 700: #388e3c,
672
+ 800: #2e7d32,
673
+ 900: #1b5e20,
674
+ A100: #b9f6ca,
675
+ A200: #69f0ae,
676
+ A400: #00e676,
677
+ A700: #00c853,
678
+ contrast: (
679
+ 50: $black-87-opacity,
680
+ 100: $black-87-opacity,
681
+ 200: $black-87-opacity,
682
+ 300: $black-87-opacity,
683
+ 400: $black-87-opacity,
684
+ 500: $black-87-opacity,
685
+ 600: white,
686
+ 700: white,
687
+ 800: $white-87-opacity,
688
+ 900: $white-87-opacity,
689
+ A100: $black-87-opacity,
690
+ A200: $black-87-opacity,
691
+ A400: $black-87-opacity,
692
+ A700: $black-87-opacity,
693
+ )
694
+ );
695
+
696
+ $mat-light-green: (
697
+ 50: #f1f8e9,
698
+ 100: #dcedc8,
699
+ 200: #c5e1a5,
700
+ 300: #aed581,
701
+ 400: #9ccc65,
702
+ 500: #8bc34a,
703
+ 600: #7cb342,
704
+ 700: #689f38,
705
+ 800: #558b2f,
706
+ 900: #33691e,
707
+ A100: #ccff90,
708
+ A200: #b2ff59,
709
+ A400: #76ff03,
710
+ A700: #64dd17,
711
+ contrast: (
712
+ 50: $black-87-opacity,
713
+ 100: $black-87-opacity,
714
+ 200: $black-87-opacity,
715
+ 300: $black-87-opacity,
716
+ 400: $black-87-opacity,
717
+ 500: $black-87-opacity,
718
+ 600: $black-87-opacity,
719
+ 700: white,
720
+ 800: white,
721
+ 900: white,
722
+ A100: $black-87-opacity,
723
+ A200: $black-87-opacity,
724
+ A400: $black-87-opacity,
725
+ A700: $black-87-opacity,
726
+ )
727
+ );
728
+
729
+ $mat-lime: (
730
+ 50: #f9fbe7,
731
+ 100: #f0f4c3,
732
+ 200: #e6ee9c,
733
+ 300: #dce775,
734
+ 400: #d4e157,
735
+ 500: #cddc39,
736
+ 600: #c0ca33,
737
+ 700: #afb42b,
738
+ 800: #9e9d24,
739
+ 900: #827717,
740
+ A100: #f4ff81,
741
+ A200: #eeff41,
742
+ A400: #c6ff00,
743
+ A700: #aeea00,
744
+ contrast: (
745
+ 50: $black-87-opacity,
746
+ 100: $black-87-opacity,
747
+ 200: $black-87-opacity,
748
+ 300: $black-87-opacity,
749
+ 400: $black-87-opacity,
750
+ 500: $black-87-opacity,
751
+ 600: $black-87-opacity,
752
+ 700: $black-87-opacity,
753
+ 800: $black-87-opacity,
754
+ 900: white,
755
+ A100: $black-87-opacity,
756
+ A200: $black-87-opacity,
757
+ A400: $black-87-opacity,
758
+ A700: $black-87-opacity,
759
+ )
760
+ );
761
+
762
+ $mat-yellow: (
763
+ 50: #fffde7,
764
+ 100: #fff9c4,
765
+ 200: #fff59d,
766
+ 300: #fff176,
767
+ 400: #ffee58,
768
+ 500: #ffeb3b,
769
+ 600: #fdd835,
770
+ 700: #fbc02d,
771
+ 800: #f9a825,
772
+ 900: #f57f17,
773
+ A100: #ffff8d,
774
+ A200: #ffff00,
775
+ A400: #ffea00,
776
+ A700: #ffd600,
777
+ contrast: (
778
+ 50: $black-87-opacity,
779
+ 100: $black-87-opacity,
780
+ 200: $black-87-opacity,
781
+ 300: $black-87-opacity,
782
+ 400: $black-87-opacity,
783
+ 500: $black-87-opacity,
784
+ 600: $black-87-opacity,
785
+ 700: $black-87-opacity,
786
+ 800: $black-87-opacity,
787
+ 900: $black-87-opacity,
788
+ A100: $black-87-opacity,
789
+ A200: $black-87-opacity,
790
+ A400: $black-87-opacity,
791
+ A700: $black-87-opacity,
792
+ )
793
+ );
794
+
795
+ $mat-amber: (
796
+ 50: #fff8e1,
797
+ 100: #ffecb3,
798
+ 200: #ffe082,
799
+ 300: #ffd54f,
800
+ 400: #ffca28,
801
+ 500: #ffc107,
802
+ 600: #ffb300,
803
+ 700: #ffa000,
804
+ 800: #ff8f00,
805
+ 900: #ff6f00,
806
+ A100: #ffe57f,
807
+ A200: #ffd740,
808
+ A400: #ffc400,
809
+ A700: #ffab00,
810
+ contrast: (
811
+ 50: $black-87-opacity,
812
+ 100: $black-87-opacity,
813
+ 200: $black-87-opacity,
814
+ 300: $black-87-opacity,
815
+ 400: $black-87-opacity,
816
+ 500: $black-87-opacity,
817
+ 600: $black-87-opacity,
818
+ 700: $black-87-opacity,
819
+ 800: $black-87-opacity,
820
+ 900: $black-87-opacity,
821
+ A100: $black-87-opacity,
822
+ A200: $black-87-opacity,
823
+ A400: $black-87-opacity,
824
+ A700: $black-87-opacity,
825
+ )
826
+ );
827
+
828
+ $mat-orange: (
829
+ 50: #fff3e0,
830
+ 100: #ffe0b2,
831
+ 200: #ffcc80,
832
+ 300: #ffb74d,
833
+ 400: #ffa726,
834
+ 500: #ff9800,
835
+ 600: #fb8c00,
836
+ 700: #f57c00,
837
+ 800: #ef6c00,
838
+ 900: #e65100,
839
+ A100: #ffd180,
840
+ A200: #ffab40,
841
+ A400: #ff9100,
842
+ A700: #ff6d00,
843
+ contrast: (
844
+ 50: $black-87-opacity,
845
+ 100: $black-87-opacity,
846
+ 200: $black-87-opacity,
847
+ 300: $black-87-opacity,
848
+ 400: $black-87-opacity,
849
+ 500: $black-87-opacity,
850
+ 600: $black-87-opacity,
851
+ 700: $black-87-opacity,
852
+ 800: white,
853
+ 900: white,
854
+ A100: $black-87-opacity,
855
+ A200: $black-87-opacity,
856
+ A400: $black-87-opacity,
857
+ A700: black,
858
+ )
859
+ );
860
+
861
+ $mat-deep-orange: (
862
+ 50: #fbe9e7,
863
+ 100: #ffccbc,
864
+ 200: #ffab91,
865
+ 300: #ff8a65,
866
+ 400: #ff7043,
867
+ 500: #ff5722,
868
+ 600: #f4511e,
869
+ 700: #e64a19,
870
+ 800: #d84315,
871
+ 900: #bf360c,
872
+ A100: #ff9e80,
873
+ A200: #ff6e40,
874
+ A400: #ff3d00,
875
+ A700: #dd2c00,
876
+ contrast: (
877
+ 50: $black-87-opacity,
878
+ 100: $black-87-opacity,
879
+ 200: $black-87-opacity,
880
+ 300: $black-87-opacity,
881
+ 400: $black-87-opacity,
882
+ 500: white,
883
+ 600: white,
884
+ 700: white,
885
+ 800: white,
886
+ 900: white,
887
+ A100: $black-87-opacity,
888
+ A200: $black-87-opacity,
889
+ A400: white,
890
+ A700: white,
891
+ )
892
+ );
893
+
894
+ $mat-brown: (
895
+ 50: #efebe9,
896
+ 100: #d7ccc8,
897
+ 200: #bcaaa4,
898
+ 300: #a1887f,
899
+ 400: #8d6e63,
900
+ 500: #795548,
901
+ 600: #6d4c41,
902
+ 700: #5d4037,
903
+ 800: #4e342e,
904
+ 900: #3e2723,
905
+ A100: #d7ccc8,
906
+ A200: #bcaaa4,
907
+ A400: #8d6e63,
908
+ A700: #5d4037,
909
+ contrast: (
910
+ 50: $black-87-opacity,
911
+ 100: $black-87-opacity,
912
+ 200: $black-87-opacity,
913
+ 300: white,
914
+ 400: white,
915
+ 500: $white-87-opacity,
916
+ 600: $white-87-opacity,
917
+ 700: $white-87-opacity,
918
+ 800: $white-87-opacity,
919
+ 900: $white-87-opacity,
920
+ A100: $black-87-opacity,
921
+ A200: $black-87-opacity,
922
+ A400: white,
923
+ A700: $white-87-opacity,
924
+ )
925
+ );
926
+
927
+ $mat-grey: (
928
+ 50: #fafafa,
929
+ 100: #f5f5f5,
930
+ 200: #eeeeee,
931
+ 300: #e0e0e0,
932
+ 400: #bdbdbd,
933
+ 500: #9e9e9e,
934
+ 600: #757575,
935
+ 700: #616161,
936
+ 800: #424242,
937
+ 900: #212121,
938
+ A100: #ffffff,
939
+ A200: #eeeeee,
940
+ A400: #bdbdbd,
941
+ A700: #616161,
942
+ contrast: (
943
+ 50: $black-87-opacity,
944
+ 100: $black-87-opacity,
945
+ 200: $black-87-opacity,
946
+ 300: $black-87-opacity,
947
+ 400: $black-87-opacity,
948
+ 500: $black-87-opacity,
949
+ 600: $white-87-opacity,
950
+ 700: $white-87-opacity,
951
+ 800: $white-87-opacity,
952
+ 900: $white-87-opacity,
953
+ A100: $black-87-opacity,
954
+ A200: $black-87-opacity,
955
+ A400: $black-87-opacity,
956
+ A700: $white-87-opacity,
957
+ )
958
+ );
959
+
960
+ $mat-blue-grey: (
961
+ 50: #eceff1,
962
+ 100: #cfd8dc,
963
+ 200: #b0bec5,
964
+ 300: #90a4ae,
965
+ 400: #78909c,
966
+ 500: #607d8b,
967
+ 600: #546e7a,
968
+ 700: #455a64,
969
+ 800: #37474f,
970
+ 900: #263238,
971
+ A100: #cfd8dc,
972
+ A200: #b0bec5,
973
+ A400: #78909c,
974
+ A700: #455a64,
975
+ contrast: (
976
+ 50: $black-87-opacity,
977
+ 100: $black-87-opacity,
978
+ 200: $black-87-opacity,
979
+ 300: $black-87-opacity,
980
+ 400: white,
981
+ 500: white,
982
+ 600: $white-87-opacity,
983
+ 700: $white-87-opacity,
984
+ 800: $white-87-opacity,
985
+ 900: $white-87-opacity,
986
+ A100: $black-87-opacity,
987
+ A200: $black-87-opacity,
988
+ A400: white,
989
+ A700: $white-87-opacity,
990
+ )
991
+ );
992
+
993
+
994
+ // Background palette for light themes.
995
+ $mat-light-theme-background: (
996
+ status-bar: map_get($mat-grey, 300),
997
+ app-bar: map_get($mat-grey, 100),
998
+ background: map_get($mat-grey, 50),
999
+ hover: rgba(black, 0.04), // TODO(kara): check style with Material Design UX
1000
+ card: white,
1001
+ dialog: white,
1002
+ disabled-button: $black-12-opacity,
1003
+ raised-button: white,
1004
+ focused-button: $black-6-opacity,
1005
+ selected-button: map_get($mat-grey, 300),
1006
+ selected-disabled-button: map_get($mat-grey, 400),
1007
+ disabled-button-toggle: map_get($mat-grey, 200),
1008
+ unselected-chip: map_get($mat-grey, 300),
1009
+ disabled-list-option: map_get($mat-grey, 200),
1010
+ );
1011
+
1012
+ // Background palette for dark themes.
1013
+ $mat-dark-theme-background: (
1014
+ status-bar: black,
1015
+ app-bar: map_get($mat-grey, 900),
1016
+ background: #303030,
1017
+ hover: rgba(white, 0.04), // TODO(kara): check style with Material Design UX
1018
+ card: map_get($mat-grey, 800),
1019
+ dialog: map_get($mat-grey, 800),
1020
+ disabled-button: $white-12-opacity,
1021
+ raised-button: map-get($mat-grey, 800),
1022
+ focused-button: $white-6-opacity,
1023
+ selected-button: map_get($mat-grey, 900),
1024
+ selected-disabled-button: map_get($mat-grey, 800),
1025
+ disabled-button-toggle: black,
1026
+ unselected-chip: map_get($mat-grey, 700),
1027
+ disabled-list-option: black,
1028
+ );
1029
+
1030
+ // Foreground palette for light themes.
1031
+ $mat-light-theme-foreground: (
1032
+ base: black,
1033
+ divider: $black-12-opacity,
1034
+ dividers: $black-12-opacity,
1035
+ disabled: rgba(black, 0.38),
1036
+ disabled-button: rgba(black, 0.38),
1037
+ disabled-text: rgba(black, 0.38),
1038
+ hint-text: rgba(black, 0.38),
1039
+ secondary-text: rgba(black, 0.54),
1040
+ icon: rgba(black, 0.54),
1041
+ icons: rgba(black, 0.54),
1042
+ text: rgba(black, 0.87),
1043
+ slider-min: rgba(black, 0.87),
1044
+ slider-off: rgba(black, 0.26),
1045
+ slider-off-active: rgba(black, 0.38),
1046
+ );
1047
+
1048
+ // Foreground palette for dark themes.
1049
+ $mat-dark-theme-foreground: (
1050
+ base: white,
1051
+ divider: $white-12-opacity,
1052
+ dividers: $white-12-opacity,
1053
+ disabled: rgba(white, 0.3),
1054
+ disabled-button: rgba(white, 0.3),
1055
+ disabled-text: rgba(white, 0.3),
1056
+ hint-text: rgba(white, 0.3),
1057
+ secondary-text: rgba(white, 0.7),
1058
+ icon: white,
1059
+ icons: white,
1060
+ text: white,
1061
+ slider-min: white,
1062
+ slider-off: rgba(white, 0.3),
1063
+ slider-off-active: rgba(white, 0.3),
1064
+ );
1065
+
1066
+
1067
+
1068
+ // For a given hue in a palette, return the contrast color from the map of contrast palettes.
1069
+ // @param $color-map
1070
+ // @param $hue
1071
+ @function mat-contrast($palette, $hue) {
1072
+ @return map-get(map-get($palette, contrast), $hue);
1073
+ }
1074
+
1075
+
1076
+ // Creates a map of hues to colors for a theme. This is used to define a theme palette in terms
1077
+ // of the Material Design hues.
1078
+ // @param $color-map
1079
+ // @param $primary
1080
+ // @param $lighter
1081
+ @function mat-palette($base-palette, $default: 500, $lighter: 100, $darker: 700) {
1082
+ $result: map_merge($base-palette, (
1083
+ default: map-get($base-palette, $default),
1084
+ lighter: map-get($base-palette, $lighter),
1085
+ darker: map-get($base-palette, $darker),
1086
+
1087
+ default-contrast: mat-contrast($base-palette, $default),
1088
+ lighter-contrast: mat-contrast($base-palette, $lighter),
1089
+ darker-contrast: mat-contrast($base-palette, $darker)
1090
+ ));
1091
+
1092
+ // For each hue in the palette, add a "-contrast" color to the map.
1093
+ @each $hue, $color in $base-palette {
1094
+ $result: map_merge($result, (
1095
+ '#{$hue}-contrast': mat-contrast($base-palette, $hue)
1096
+ ));
1097
+ }
1098
+
1099
+ @return $result;
1100
+ }
1101
+
1102
+
1103
+ // Gets a color from a theme palette (the output of mat-palette).
1104
+ // The hue can be one of the standard values (500, A400, etc.), one of the three preconfigured
1105
+ // hues (default, lighter, darker), or any of the aforementioned prefixed with "-contrast".
1106
+ //
1107
+ // @param $color-map The theme palette (output of mat-palette).
1108
+ // @param $hue The hue from the palette to use. If this is a value between 0 and 1, it will
1109
+ // be treated as opacity.
1110
+ // @param $opacity The alpha channel value for the color.
1111
+ @function mat-color($palette, $hue: default, $opacity: null) {
1112
+ // If hueKey is a number between zero and one, then it actually contains an
1113
+ // opacity value, so recall this function with the default hue and that given opacity.
1114
+ @if type-of($hue) == number and $hue >= 0 and $hue <= 1 {
1115
+ @return mat-color($palette, default, $hue);
1116
+ }
1117
+
1118
+ $color: map-get($palette, $hue);
1119
+ $opacity: if($opacity == null, opacity($color), $opacity);
1120
+
1121
+ @return rgba($color, $opacity);
1122
+ }
1123
+
1124
+
1125
+ // Creates a container object for a light theme to be given to individual component theme mixins.
1126
+ @function mat-light-theme($primary, $accent, $warn: mat-palette($mat-red)) {
1127
+ @return (
1128
+ primary: $primary,
1129
+ accent: $accent,
1130
+ warn: $warn,
1131
+ is-dark: false,
1132
+ foreground: $mat-light-theme-foreground,
1133
+ background: $mat-light-theme-background,
1134
+ );
1135
+ }
1136
+
1137
+
1138
+ // Creates a container object for a dark theme to be given to individual component theme mixins.
1139
+ @function mat-dark-theme($primary, $accent, $warn: mat-palette($mat-red)) {
1140
+ @return (
1141
+ primary: $primary,
1142
+ accent: $accent,
1143
+ warn: $warn,
1144
+ is-dark: true,
1145
+ foreground: $mat-dark-theme-foreground,
1146
+ background: $mat-dark-theme-background,
1147
+ );
1148
+ }
1149
+
1150
+
1151
+
1152
+ $mat-ripple-color-opacity: 0.1;
1153
+
1154
+ @mixin mat-ripple() {
1155
+ // The host element of an mat-ripple directive should always have a position of "absolute" or
1156
+ // "relative" so that the ripple divs it creates inside itself are correctly positioned.
1157
+ .mat-ripple {
1158
+ overflow: hidden;
1159
+
1160
+ // In high contrast mode the ripple is opaque, causing it to obstruct the content.
1161
+ @include cdk-high-contrast {
1162
+ display: none;
1163
+ }
1164
+ }
1165
+
1166
+ .mat-ripple.mat-ripple-unbounded {
1167
+ overflow: visible;
1168
+ }
1169
+
1170
+ .mat-ripple-element {
1171
+ position: absolute;
1172
+ border-radius: 50%;
1173
+ pointer-events: none;
1174
+
1175
+ transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);
1176
+ transform: scale(0);
1177
+ }
1178
+ }
1179
+
1180
+ /* Theme for the ripple elements.*/
1181
+ @mixin mat-ripple-theme($theme) {
1182
+ $foreground: map_get($theme, foreground);
1183
+ $foreground-base: map_get($foreground, base);
1184
+
1185
+ .mat-ripple-element {
1186
+ background-color: rgba($foreground-base, $mat-ripple-color-opacity);
1187
+ }
1188
+ }
1189
+
1190
+
1191
+
1192
+ // This mixin will ensure that lines that overflow the container will hide the overflow and
1193
+ // truncate neatly with an ellipsis.
1194
+ @mixin mat-truncate-line() {
1195
+ white-space: nowrap;
1196
+ overflow: hidden;
1197
+ text-overflow: ellipsis;
1198
+ }
1199
+
1200
+ // Mixin to provide all mat-line styles, changing secondary font size based on whether the list
1201
+ // is in dense mode.
1202
+ @mixin mat-line-base($secondary-font-size) {
1203
+ .mat-line {
1204
+ @include mat-truncate-line();
1205
+ display: block;
1206
+ box-sizing: border-box;
1207
+
1208
+ // all lines but the top line should have smaller text
1209
+ &:nth-child(n+2) {
1210
+ font-size: $secondary-font-size;
1211
+ }
1212
+ }
1213
+ }
1214
+
1215
+ // This mixin normalizes default element styles, e.g. font weight for heading text.
1216
+ @mixin mat-normalize-text() {
1217
+ & > * {
1218
+ margin: 0;
1219
+ padding: 0;
1220
+ font-weight: normal;
1221
+ font-size: inherit;
1222
+ }
1223
+ }
1224
+
1225
+ // This mixin provides base styles for the wrapper around mat-line elements in a list.
1226
+ @mixin mat-line-wrapper-base() {
1227
+ @include mat-normalize-text();
1228
+
1229
+ display: flex;
1230
+ flex-direction: column;
1231
+ width: 100%;
1232
+ box-sizing: border-box;
1233
+ overflow: hidden;
1234
+
1235
+ // Must remove wrapper when lines are empty or it takes up horizontal
1236
+ // space and pushes other elements to the right.
1237
+ &:empty {
1238
+ display: none;
1239
+ }
1240
+ }
1241
+
1242
+
1243
+ /** The mixins below are shared between mat-menu and mat-select */
1244
+
1245
+ // menu width must be a multiple of 56px
1246
+ $mat-menu-overlay-min-width: 112px !default; // 56 * 2
1247
+ $mat-menu-overlay-max-width: 280px !default; // 56 * 5
1248
+
1249
+ $mat-menu-item-height: 48px !default;
1250
+ $mat-menu-side-padding: 16px !default;
1251
+ $mat-menu-icon-margin: 16px !default;
1252
+
1253
+
1254
+ @mixin mat-menu-base($default-elevation) {
1255
+ @include mat-overridable-elevation($default-elevation);
1256
+ min-width: $mat-menu-overlay-min-width;
1257
+ max-width: $mat-menu-overlay-max-width;
1258
+ overflow: auto;
1259
+ -webkit-overflow-scrolling: touch; // for momentum scroll on mobile
1260
+ }
1261
+
1262
+ @mixin mat-menu-item-base() {
1263
+ @include mat-truncate-line();
1264
+
1265
+ // Needs to be a block for the ellipsis to work.
1266
+ display: block;
1267
+ line-height: $mat-menu-item-height;
1268
+ height: $mat-menu-item-height;
1269
+ padding: 0 $mat-menu-side-padding;
1270
+
1271
+ text-align: left;
1272
+ text-decoration: none; // necessary to reset anchor tags
1273
+
1274
+ &[disabled] {
1275
+ cursor: default;
1276
+ }
1277
+
1278
+ [dir='rtl'] & {
1279
+ text-align: right;
1280
+ }
1281
+
1282
+ .mat-icon {
1283
+ margin-right: $mat-menu-icon-margin;
1284
+
1285
+ [dir='rtl'] & {
1286
+ margin-left: $mat-menu-icon-margin;
1287
+ margin-right: 0;
1288
+ }
1289
+ }
1290
+ }
1291
+
1292
+ /**
1293
+ * This mixin adds the correct panel transform styles based
1294
+ * on the direction that the menu panel opens.
1295
+ */
1296
+ @mixin mat-menu-positions() {
1297
+ &.mat-menu-after.mat-menu-below {
1298
+ transform-origin: left top;
1299
+ }
1300
+
1301
+ &.mat-menu-after.mat-menu-above {
1302
+ transform-origin: left bottom;
1303
+ }
1304
+
1305
+ &.mat-menu-before.mat-menu-below {
1306
+ transform-origin: right top;
1307
+ }
1308
+
1309
+ &.mat-menu-before.mat-menu-above {
1310
+ transform-origin: right bottom;
1311
+ }
1312
+
1313
+ [dir='rtl'] & {
1314
+ &.mat-menu-after.mat-menu-below {
1315
+ transform-origin: right top;
1316
+ }
1317
+
1318
+ &.mat-menu-after.mat-menu-above {
1319
+ transform-origin: right bottom;
1320
+ }
1321
+
1322
+ &.mat-menu-before.mat-menu-below {
1323
+ transform-origin: left top;
1324
+ }
1325
+
1326
+ &.mat-menu-before.mat-menu-above {
1327
+ transform-origin: left bottom;
1328
+ }
1329
+ }
1330
+ }
1331
+
1332
+ /* stylelint-disable material/no-prefixes */
1333
+ @mixin user-select($value) {
1334
+ -webkit-user-select: none;
1335
+ -moz-user-select: none;
1336
+ -ms-user-select: none;
1337
+ user-select: none;
1338
+ }
1339
+
1340
+ @mixin input-placeholder {
1341
+ &::placeholder {
1342
+ @content;
1343
+ }
1344
+
1345
+ &::-moz-placeholder {
1346
+ @content;
1347
+ }
1348
+
1349
+ &::-webkit-input-placeholder {
1350
+ @content;
1351
+ }
1352
+
1353
+ &:-ms-input-placeholder {
1354
+ @content;
1355
+ }
1356
+ }
1357
+
1358
+ @mixin cursor-grab {
1359
+ cursor: -webkit-grab;
1360
+ cursor: grab;
1361
+ }
1362
+
1363
+ @mixin cursor-grabbing {
1364
+ cursor: -webkit-grabbing;
1365
+ cursor: grabbing;
1366
+ }
1367
+
1368
+ @mixin backface-visibility($value) {
1369
+ -webkit-backface-visibility: $value;
1370
+ backface-visibility: $value;
1371
+ }
1372
+ /* stylelint-enable */
1373
+
1374
+ // This mixin ensures an element spans to fill the nearest ancestor with defined positioning.
1375
+ @mixin mat-fill {
1376
+ top: 0;
1377
+ left: 0;
1378
+ right: 0;
1379
+ bottom: 0;
1380
+ position: absolute;
1381
+ }
1382
+
1383
+
1384
+
1385
+ /**
1386
+ * This mixin contains shared option styles between the select and
1387
+ * autocomplete components.
1388
+ */
1389
+ @mixin mat-option() {
1390
+ .mat-option {
1391
+ @include mat-menu-item-base();
1392
+ position: relative;
1393
+ cursor: pointer;
1394
+ outline: none;
1395
+
1396
+ &[aria-disabled='true'] {
1397
+ @include user-select(none);
1398
+ cursor: default;
1399
+ }
1400
+
1401
+ .mat-optgroup &:not(.mat-option-multiple) {
1402
+ padding-left: $mat-menu-side-padding * 2;
1403
+
1404
+ [dir='rtl'] & {
1405
+ padding-left: $mat-menu-side-padding;
1406
+ padding-right: $mat-menu-side-padding * 2;
1407
+ }
1408
+ }
1409
+ }
1410
+
1411
+ // Collapses unwanted whitespace created by newlines in code like the following:
1412
+ // <mat-option>
1413
+ // {{value}}
1414
+ // </mat-option>
1415
+ .mat-option-text {
1416
+ display: inline-block;
1417
+ }
1418
+
1419
+ .mat-option-ripple {
1420
+ @include mat-fill;
1421
+
1422
+ // Disable pointer events for the ripple container because the container will overlay the
1423
+ // user content and we don't want to disable mouse events on the user content.
1424
+ // Pointer events can be safely disabled because the ripple trigger element is the host element.
1425
+ pointer-events: none;
1426
+
1427
+ // Prevents the ripple from completely covering the option in high contrast mode.
1428
+ @include cdk-high-contrast {
1429
+ opacity: 0.5;
1430
+ }
1431
+ }
1432
+
1433
+ .mat-option-pseudo-checkbox {
1434
+ $margin: $mat-menu-side-padding / 2;
1435
+ margin-right: $margin;
1436
+
1437
+ [dir='rtl'] & {
1438
+ margin-left: $margin;
1439
+ margin-right: 0;
1440
+ }
1441
+ }
1442
+ }
1443
+
1444
+
1445
+
1446
+
1447
+ // Utility for fetching a nested value from a typography config.
1448
+ @function _mat-get-type-value($config, $level, $name) {
1449
+ @return map-get(map-get($config, $level), $name);
1450
+ }
1451
+
1452
+ // Gets the font size for a level inside a typography config.
1453
+ @function mat-font-size($config, $level) {
1454
+ @return _mat-get-type-value($config, $level, font-size);
1455
+ }
1456
+
1457
+ // Gets the line height for a level inside a typography config.
1458
+ @function mat-line-height($config, $level) {
1459
+ @return _mat-get-type-value($config, $level, line-height);
1460
+ }
1461
+
1462
+ // Gets the font weight for a level inside a typography config.
1463
+ @function mat-font-weight($config, $level) {
1464
+ @return _mat-get-type-value($config, $level, font-weight);
1465
+ }
1466
+
1467
+ // Gets the font-family from a typography config and removes the quotes around it.
1468
+ @function mat-font-family($config, $level: null) {
1469
+ $font-family: map-get($config, font-family);
1470
+
1471
+ @if $level != null {
1472
+ $font-family: _mat-get-type-value($config, $level, font-family);
1473
+ }
1474
+
1475
+ @return unquote($font-family);
1476
+ }
1477
+
1478
+ // Converts a typography level into CSS styles.
1479
+ @mixin mat-typography-level-to-styles($config, $level) {
1480
+ $font-size: mat-font-size($config, $level);
1481
+ $font-weight: mat-font-weight($config, $level);
1482
+ $line-height: mat-line-height($config, $level);
1483
+ $font-family: mat-font-family($config, $level);
1484
+
1485
+ // Use the shorthand `font` to represent a typography level, because it's the shortest. Notes that
1486
+ // we need to use interpolation for `font-size/line-height` in order to prevent SASS from dividing
1487
+ // the two values.
1488
+ font: $font-weight #{$font-size}/#{$line-height} $font-family;
1489
+ }
1490
+
1491
+
1492
+ @mixin mat-option-theme($theme) {
1493
+ $foreground: map-get($theme, foreground);
1494
+ $background: map-get($theme, background);
1495
+ $primary: map-get($theme, primary);
1496
+ $accent: map-get($theme, accent);
1497
+ $warn: map-get($theme, warn);
1498
+
1499
+ .mat-option {
1500
+ color: mat-color($foreground, text);
1501
+
1502
+ &:hover:not(.mat-option-disabled),
1503
+ &:focus:not(.mat-option-disabled) {
1504
+ background: mat-color($background, hover);
1505
+ }
1506
+
1507
+ .mat-primary &.mat-selected:not(.mat-option-disabled) {
1508
+ color: mat-color($primary);
1509
+ }
1510
+
1511
+ .mat-accent &.mat-selected:not(.mat-option-disabled) {
1512
+ color: mat-color($accent);
1513
+ }
1514
+
1515
+ .mat-warn &.mat-selected:not(.mat-option-disabled) {
1516
+ color: mat-color($warn);
1517
+ }
1518
+
1519
+ // In multiple mode there is a checkbox to show that the option is selected.
1520
+ &.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled) {
1521
+ background: mat-color($background, hover);
1522
+ }
1523
+
1524
+ &.mat-active {
1525
+ background: mat-color($background, hover);
1526
+ color: mat-color($foreground, text);
1527
+ }
1528
+
1529
+ &.mat-option-disabled {
1530
+ color: mat-color($foreground, hint-text);
1531
+ }
1532
+ }
1533
+ }
1534
+
1535
+ @mixin mat-option-typography($config) {
1536
+ .mat-option {
1537
+ font: {
1538
+ family: mat-font-family($config, subheading-2);
1539
+ size: mat-font-size($config, subheading-2);
1540
+ }
1541
+ }
1542
+ }
1543
+
1544
+
1545
+
1546
+
1547
+ @mixin mat-optgroup() {
1548
+ .mat-optgroup-label {
1549
+ @include mat-menu-item-base();
1550
+ @include user-select(none);
1551
+ cursor: default;
1552
+ }
1553
+ }
1554
+
1555
+
1556
+
1557
+
1558
+
1559
+ @mixin mat-optgroup-theme($theme) {
1560
+ $foreground: map-get($theme, foreground);
1561
+
1562
+ .mat-optgroup-label {
1563
+ color: mat-color($foreground, secondary-text);
1564
+ }
1565
+
1566
+ .mat-optgroup-disabled .mat-optgroup-label {
1567
+ color: mat-color($foreground, hint-text);
1568
+ }
1569
+ }
1570
+
1571
+ @mixin mat-optgroup-typography($config) {
1572
+ .mat-optgroup-label {
1573
+ @include mat-typography-level-to-styles($config, body-2);
1574
+ }
1575
+ }
1576
+
1577
+
1578
+
1579
+ @mixin mat-pseudo-checkbox-theme($theme) {
1580
+ $is-dark-theme: map-get($theme, is-dark);
1581
+ $primary: map-get($theme, primary);
1582
+ $accent: map-get($theme, accent);
1583
+ $warn: map-get($theme, warn);
1584
+ $background: map-get($theme, background);
1585
+
1586
+ // NOTE(traviskaufman): While the spec calls for translucent blacks/whites for disabled colors,
1587
+ // this does not work well with elements layered on top of one another. To get around this we
1588
+ // blend the colors together based on the base color and the theme background.
1589
+ $white-30pct-opacity-on-dark: #686868;
1590
+ $black-26pct-opacity-on-light: #b0b0b0;
1591
+ $disabled-color: if($is-dark-theme, $white-30pct-opacity-on-dark, $black-26pct-opacity-on-light);
1592
+ $colored-box-selector: '.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-indeterminate';
1593
+
1594
+ .mat-pseudo-checkbox {
1595
+ color: mat-color(map-get($theme, foreground), secondary-text);
1596
+
1597
+ &::after {
1598
+ color: mat-color($background, background);
1599
+ }
1600
+ }
1601
+
1602
+ // Default to the accent color. Note that the pseudo checkboxes are meant to inherit the
1603
+ // theme from their parent, rather than implementing their own theming, which is why we
1604
+ // don't attach to the `mat-*` classes.
1605
+ .mat-pseudo-checkbox-checked,
1606
+ .mat-pseudo-checkbox-indeterminate,
1607
+ .mat-accent .mat-pseudo-checkbox-checked,
1608
+ .mat-accent .mat-pseudo-checkbox-indeterminate {
1609
+ background: mat-color(map-get($theme, accent));
1610
+ }
1611
+
1612
+ .mat-primary .mat-pseudo-checkbox-checked,
1613
+ .mat-primary .mat-pseudo-checkbox-indeterminate {
1614
+ background: mat-color(map-get($theme, primary));
1615
+ }
1616
+
1617
+ .mat-warn .mat-pseudo-checkbox-checked,
1618
+ .mat-warn .mat-pseudo-checkbox-indeterminate {
1619
+ background: mat-color(map-get($theme, warn));
1620
+ }
1621
+
1622
+ .mat-pseudo-checkbox-checked,
1623
+ .mat-pseudo-checkbox-indeterminate {
1624
+ &.mat-pseudo-checkbox-disabled {
1625
+ background: $disabled-color;
1626
+ }
1627
+ }
1628
+ }
1629
+
1630
+
1631
+
1632
+ // Represents a typography level from the Material design spec.
1633
+ @function mat-typography-level(
1634
+ $font-size,
1635
+ $line-height: $font-size,
1636
+ $font-weight: 400,
1637
+ $font-family: null) {
1638
+
1639
+ @return (
1640
+ font-size: $font-size,
1641
+ line-height: $line-height,
1642
+ font-weight: $font-weight,
1643
+ font-family: $font-family
1644
+ );
1645
+ }
1646
+
1647
+ // Represents a collection of typography levels.
1648
+ // Defaults come from https://material.io/guidelines/style/typography.html
1649
+ @function mat-typography-config(
1650
+ $font-family: 'Roboto, "Helvetica Neue", sans-serif',
1651
+ $display-4: mat-typography-level(112px, 112px, 300),
1652
+ $display-3: mat-typography-level(56px, 56px, 400),
1653
+ $display-2: mat-typography-level(45px, 48px, 400),
1654
+ $display-1: mat-typography-level(34px, 40px, 400),
1655
+ $headline: mat-typography-level(24px, 32px, 400),
1656
+ $title: mat-typography-level(20px, 32px, 500),
1657
+ $subheading-2: mat-typography-level(16px, 28px, 400),
1658
+ $subheading-1: mat-typography-level(15px, 24px, 400),
1659
+ $body-2: mat-typography-level(14px, 24px, 500),
1660
+ $body-1: mat-typography-level(14px, 20px, 400),
1661
+ $caption: mat-typography-level(12px, 20px, 400),
1662
+ $button: mat-typography-level(14px, 14px, 500),
1663
+ // Line-height must be unit-less fraction of the font-size.
1664
+ $input: mat-typography-level(16px, 1.125, 400)
1665
+ ) {
1666
+
1667
+ // Declare an initial map with all of the levels.
1668
+ $config: (
1669
+ display-4: $display-4,
1670
+ display-3: $display-3,
1671
+ display-2: $display-2,
1672
+ display-1: $display-1,
1673
+ headline: $headline,
1674
+ title: $title,
1675
+ subheading-2: $subheading-2,
1676
+ subheading-1: $subheading-1,
1677
+ body-2: $body-2,
1678
+ body-1: $body-1,
1679
+ caption: $caption,
1680
+ button: $button,
1681
+ input: $input,
1682
+ );
1683
+
1684
+ // Loop through the levels and set the `font-family` of the ones that don't have one to the base.
1685
+ // Note that SASS can't modify maps in place, which means that we need to merge and re-assign.
1686
+ @each $key, $level in $config {
1687
+ @if map-get($level, font-family) == null {
1688
+ $new-level: map-merge($level, (font-family: $font-family));
1689
+ $config: map-merge($config, ($key: $new-level));
1690
+ }
1691
+ }
1692
+
1693
+ // Add the base font family to the config.
1694
+ @return map-merge($config, (font-family: $font-family));
1695
+ }
1696
+
1697
+ // Adds the base typography styles, based on a config.
1698
+ @mixin mat-base-typography($config, $selector: '.mat-typography') {
1699
+ .mat-h1, .mat-headline, #{$selector} h1 {
1700
+ @include mat-typography-level-to-styles($config, headline);
1701
+ margin: 0 0 16px;
1702
+ }
1703
+
1704
+ .mat-h2, .mat-title, #{$selector} h2 {
1705
+ @include mat-typography-level-to-styles($config, title);
1706
+ margin: 0 0 16px;
1707
+ }
1708
+
1709
+ .mat-h3, .mat-subheading-2, #{$selector} h3 {
1710
+ @include mat-typography-level-to-styles($config, subheading-2);
1711
+ margin: 0 0 16px;
1712
+ }
1713
+
1714
+ .mat-h4, .mat-subheading-1, #{$selector} h4 {
1715
+ @include mat-typography-level-to-styles($config, subheading-1);
1716
+ margin: 0 0 16px;
1717
+ }
1718
+
1719
+ // Note: the spec doesn't have anything that would correspond to h5 and h6, but we add these for
1720
+ // consistency. The font sizes come from the Chrome user agent styles which have h5 at 0.83em
1721
+ // and h6 at 0.67em.
1722
+ .mat-h5, #{$selector} h5 {
1723
+ font-size: mat-font-size($config, body-1) * 0.83;
1724
+ font-weight: mat-font-weight($config, body-1);
1725
+ font-family: mat-font-family($config, body-1);
1726
+ line-height: mat-line-height($config, body-1);
1727
+ margin: 0 0 12px;
1728
+ }
1729
+
1730
+ .mat-h6, #{$selector} h6 {
1731
+ font-size: mat-font-size($config, body-1) * 0.67;
1732
+ font-weight: mat-font-weight($config, body-1);
1733
+ font-family: mat-font-family($config, body-1);
1734
+ line-height: mat-line-height($config, body-1);
1735
+ margin: 0 0 12px;
1736
+ }
1737
+
1738
+ .mat-body-strong, .mat-body-2 {
1739
+ @include mat-typography-level-to-styles($config, body-2);
1740
+ }
1741
+
1742
+ .mat-body, .mat-body-1, #{$selector} {
1743
+ @include mat-typography-level-to-styles($config, body-1);
1744
+
1745
+ p {
1746
+ margin: 0 0 12px;
1747
+ }
1748
+ }
1749
+
1750
+ .mat-small, .mat-caption {
1751
+ @include mat-typography-level-to-styles($config, caption);
1752
+ }
1753
+
1754
+ // Note: The spec doesn't mention letter spacing. The value comes from
1755
+ // eyeballing it until it looked exactly like the spec examples.
1756
+ .mat-display-4, #{$selector} .mat-display-4 {
1757
+ @include mat-typography-level-to-styles($config, display-4);
1758
+ margin: 0 0 56px;
1759
+ letter-spacing: -0.05em;
1760
+ }
1761
+
1762
+ .mat-display-3, #{$selector} .mat-display-3 {
1763
+ @include mat-typography-level-to-styles($config, display-3);
1764
+ margin: 0 0 64px;
1765
+ letter-spacing: -0.02em;
1766
+ }
1767
+
1768
+ .mat-display-2, #{$selector} .mat-display-2 {
1769
+ @include mat-typography-level-to-styles($config, display-2);
1770
+ margin: 0 0 64px;
1771
+ letter-spacing: -0.005em;
1772
+ }
1773
+
1774
+ .mat-display-1, #{$selector} .mat-display-1 {
1775
+ @include mat-typography-level-to-styles($config, display-1);
1776
+ margin: 0 0 64px;
1777
+ }
1778
+ }
1779
+
1780
+
1781
+
1782
+ @mixin mat-autocomplete-theme($theme) {
1783
+ $foreground: map-get($theme, foreground);
1784
+ $background: map-get($theme, background);
1785
+
1786
+ .mat-autocomplete-panel {
1787
+ background: mat-color($background, card);
1788
+ color: mat-color($foreground, text);
1789
+
1790
+ // Selected options in autocompletes should not be gray, but we
1791
+ // only want to override the background for selected options if
1792
+ // they are *not* in hover or focus state. This change has to be
1793
+ // made here because base option styles are shared between the
1794
+ // autocomplete and the select.
1795
+ .mat-option.mat-selected:not(.mat-active):not(:hover) {
1796
+ background: mat-color($background, card);
1797
+
1798
+ &:not(.mat-option-disabled) {
1799
+ color: mat-color($foreground, text);
1800
+ }
1801
+ }
1802
+ }
1803
+
1804
+ }
1805
+
1806
+ @mixin mat-autocomplete-typography($config) { }
1807
+
1808
+
1809
+
1810
+
1811
+ // Applies a focus style to an mat-button element for each of the supported palettes.
1812
+ @mixin _mat-button-focus-color($theme) {
1813
+ $primary: map-get($theme, primary);
1814
+ $accent: map-get($theme, accent);
1815
+ $warn: map-get($theme, warn);
1816
+
1817
+ &.mat-primary .mat-button-focus-overlay {
1818
+ background-color: mat-color($primary, 0.12);
1819
+ }
1820
+
1821
+ &.mat-accent .mat-button-focus-overlay {
1822
+ background-color: mat-color($accent, 0.12);
1823
+ }
1824
+
1825
+ &.mat-warn .mat-button-focus-overlay {
1826
+ background-color: mat-color($warn, 0.12);
1827
+ }
1828
+
1829
+ &[disabled] .mat-button-focus-overlay {
1830
+ background-color: transparent;
1831
+ }
1832
+ }
1833
+
1834
+ @mixin _mat-button-ripple-color($theme, $hue, $opacity: 0.2) {
1835
+ $primary: map-get($theme, primary);
1836
+ $accent: map-get($theme, accent);
1837
+ $warn: map-get($theme, warn);
1838
+
1839
+ &.mat-primary .mat-ripple-element {
1840
+ background-color: mat-color($primary, $hue, $opacity);
1841
+ }
1842
+
1843
+ &.mat-accent .mat-ripple-element {
1844
+ background-color: mat-color($accent, $hue, $opacity);
1845
+ }
1846
+
1847
+ &.mat-warn .mat-ripple-element {
1848
+ background-color: mat-color($warn, $hue, $opacity);
1849
+ }
1850
+ }
1851
+
1852
+ // Applies a property to an mat-button element for each of the supported palettes.
1853
+ @mixin _mat-button-theme-color($theme, $property, $color: 'default') {
1854
+ $primary: map-get($theme, primary);
1855
+ $accent: map-get($theme, accent);
1856
+ $warn: map-get($theme, warn);
1857
+ $background: map-get($theme, background);
1858
+ $foreground: map-get($theme, foreground);
1859
+
1860
+ &.mat-primary {
1861
+ #{$property}: mat-color($primary, $color);
1862
+ }
1863
+ &.mat-accent {
1864
+ #{$property}: mat-color($accent, $color);
1865
+ }
1866
+ &.mat-warn {
1867
+ #{$property}: mat-color($warn, $color);
1868
+ }
1869
+
1870
+ &.mat-primary, &.mat-accent, &.mat-warn, &[disabled] {
1871
+ &[disabled] {
1872
+ $palette: if($property == 'color', $foreground, $background);
1873
+ #{$property}: mat-color($palette, disabled-button);
1874
+ }
1875
+ }
1876
+ }
1877
+
1878
+ @mixin mat-button-theme($theme) {
1879
+ $primary: map-get($theme, primary);
1880
+ $accent: map-get($theme, accent);
1881
+ $warn: map-get($theme, warn);
1882
+ $background: map-get($theme, background);
1883
+ $foreground: map-get($theme, foreground);
1884
+
1885
+ .mat-button, .mat-icon-button {
1886
+ background: transparent;
1887
+
1888
+ @include _mat-button-focus-color($theme);
1889
+ @include _mat-button-theme-color($theme, 'color');
1890
+ }
1891
+
1892
+ .mat-raised-button, .mat-fab, .mat-mini-fab {
1893
+ // Default properties when not using any [color] value.
1894
+ color: mat-color($foreground, text);
1895
+ background-color: mat-color($background, raised-button);
1896
+
1897
+ @include _mat-button-theme-color($theme, 'color', default-contrast);
1898
+ @include _mat-button-theme-color($theme, 'background-color');
1899
+
1900
+ // Add ripple effect with contrast color to buttons that don't have a focus overlay.
1901
+ @include _mat-button-ripple-color($theme, default-contrast);
1902
+ }
1903
+
1904
+ // Add ripple effect with default color to flat buttons, which also have a focus overlay.
1905
+ .mat-button {
1906
+ @include _mat-button-ripple-color($theme, default, 0.1);
1907
+ }
1908
+
1909
+ // Add ripple effect with default color to the icon button. Ripple color needs to be stronger
1910
+ // since the icon button doesn't have a focus overlay.
1911
+ .mat-icon-button {
1912
+ @include _mat-button-ripple-color($theme, default);
1913
+ }
1914
+ }
1915
+
1916
+ @mixin mat-button-typography($config) {
1917
+ .mat-button, .mat-raised-button, .mat-icon-button, .mat-fab, .mat-mini-fab {
1918
+ font: {
1919
+ family: mat-font-family($config, button);
1920
+ size: mat-font-size($config, button);
1921
+ weight: mat-font-weight($config, button);
1922
+ }
1923
+ }
1924
+ }
1925
+
1926
+
1927
+
1928
+
1929
+
1930
+ // Applies a focus style to an mat-button-toggle element for each of the supported palettes.
1931
+ @mixin _mat-button-toggle-focus-color($theme) {
1932
+ $background: map-get($theme, background);
1933
+
1934
+ .mat-button-toggle-focus-overlay {
1935
+ background-color: mat-color($background, focused-button);
1936
+ }
1937
+ }
1938
+
1939
+ @mixin mat-button-toggle-theme($theme) {
1940
+ $foreground: map-get($theme, foreground);
1941
+ $background: map-get($theme, background);
1942
+
1943
+ .mat-button-toggle {
1944
+ color: mat-color($foreground, hint-text);
1945
+
1946
+ &.cdk-focused {
1947
+ @include _mat-button-toggle-focus-color($theme);
1948
+ }
1949
+ }
1950
+
1951
+ .mat-button-toggle-checked {
1952
+ background-color: mat-color($background, selected-button);
1953
+ color: mat-color($foreground, secondary-text);
1954
+ }
1955
+
1956
+ .mat-button-toggle-disabled {
1957
+ background-color: mat-color($background, disabled-button-toggle);
1958
+ color: mat-color($foreground, disabled-button);
1959
+
1960
+ &.mat-button-toggle-checked {
1961
+ background-color: mat-color($background, selected-disabled-button);
1962
+ }
1963
+ }
1964
+ }
1965
+
1966
+ @mixin mat-button-toggle-typography($config) {
1967
+ .mat-button-toggle {
1968
+ font-family: mat-font-family($config);
1969
+ }
1970
+ }
1971
+
1972
+
1973
+
1974
+
1975
+
1976
+
1977
+ @mixin mat-card-theme($theme) {
1978
+ $background: map-get($theme, background);
1979
+ $foreground: map-get($theme, foreground);
1980
+
1981
+ .mat-card {
1982
+ background: mat-color($background, card);
1983
+ color: mat-color($foreground, text);
1984
+ }
1985
+
1986
+ .mat-card-subtitle {
1987
+ color: mat-color($foreground, secondary-text);
1988
+ }
1989
+ }
1990
+
1991
+ @mixin mat-card-typography($config) {
1992
+ .mat-card {
1993
+ font-family: mat-font-family($config);
1994
+ }
1995
+
1996
+ .mat-card-title {
1997
+ font: {
1998
+ size: mat-font-size($config, headline);
1999
+ weight: mat-font-weight($config, headline);
2000
+ }
2001
+ }
2002
+
2003
+ .mat-card-subtitle,
2004
+ .mat-card-content,
2005
+ .mat-card-header .mat-card-title {
2006
+ font-size: mat-font-size($config, body-1);
2007
+ }
2008
+ }
2009
+
2010
+
2011
+
2012
+
2013
+
2014
+ @mixin mat-checkbox-theme($theme) {
2015
+ $is-dark-theme: map-get($theme, is-dark);
2016
+ $primary: map-get($theme, primary);
2017
+ $accent: map-get($theme, accent);
2018
+ $warn: map-get($theme, warn);
2019
+ $background: map-get($theme, background);
2020
+
2021
+
2022
+ // The color of the checkbox's checkmark / mixedmark.
2023
+ $checkbox-mark-color: mat-color($background, background);
2024
+
2025
+ // NOTE(traviskaufman): While the spec calls for translucent blacks/whites for disabled colors,
2026
+ // this does not work well with elements layered on top of one another. To get around this we
2027
+ // blend the colors together based on the base color and the theme background.
2028
+ $white-30pct-opacity-on-dark: #686868;
2029
+ $black-26pct-opacity-on-light: #b0b0b0;
2030
+ $disabled-color: if($is-dark-theme, $white-30pct-opacity-on-dark, $black-26pct-opacity-on-light);
2031
+
2032
+ .mat-checkbox-frame {
2033
+ border-color: mat-color(map-get($theme, foreground), secondary-text);
2034
+ }
2035
+
2036
+ .mat-checkbox-checkmark {
2037
+ fill: $checkbox-mark-color;
2038
+ }
2039
+
2040
+ .mat-checkbox-checkmark-path {
2041
+ // !important is needed here because a stroke must be set as an attribute on the SVG in order
2042
+ // for line animation to work properly.
2043
+ stroke: $checkbox-mark-color !important;
2044
+ }
2045
+
2046
+ .mat-checkbox-mixedmark {
2047
+ background-color: $checkbox-mark-color;
2048
+ }
2049
+
2050
+ .mat-checkbox-indeterminate, .mat-checkbox-checked {
2051
+ &.mat-primary .mat-checkbox-background {
2052
+ background-color: mat-color($primary);
2053
+ }
2054
+
2055
+ &.mat-accent .mat-checkbox-background {
2056
+ background-color: mat-color($accent);
2057
+ }
2058
+
2059
+ &.mat-warn .mat-checkbox-background {
2060
+ background-color: mat-color($warn);
2061
+ }
2062
+ }
2063
+
2064
+ .mat-checkbox-disabled {
2065
+ &.mat-checkbox-checked, &.mat-checkbox-indeterminate {
2066
+ .mat-checkbox-background {
2067
+ background-color: $disabled-color;
2068
+ }
2069
+ }
2070
+
2071
+ &:not(.mat-checkbox-checked) {
2072
+ .mat-checkbox-frame {
2073
+ border-color: $disabled-color;
2074
+ }
2075
+ }
2076
+
2077
+ .mat-checkbox-label {
2078
+ color: $disabled-color;
2079
+ }
2080
+ }
2081
+
2082
+ .mat-checkbox:not(.mat-checkbox-disabled) {
2083
+ &.mat-primary .mat-checkbox-ripple .mat-ripple-element {
2084
+ background-color: mat-color($primary, 0.26);
2085
+ }
2086
+
2087
+ &.mat-accent .mat-checkbox-ripple .mat-ripple-element {
2088
+ background-color: mat-color($accent, 0.26);
2089
+ }
2090
+
2091
+ &.mat-warn .mat-checkbox-ripple .mat-ripple-element {
2092
+ background-color: mat-color($warn, 0.26);
2093
+ }
2094
+ }
2095
+ }
2096
+
2097
+ @mixin mat-checkbox-typography($config) {
2098
+ .mat-checkbox {
2099
+ font-family: mat-font-family($config);
2100
+ }
2101
+
2102
+ // TODO(kara): Remove this style when fixing vertical baseline
2103
+ .mat-checkbox-layout .mat-checkbox-label {
2104
+ line-height: mat-line-height($config, body-2);
2105
+ }
2106
+ }
2107
+
2108
+
2109
+
2110
+
2111
+
2112
+ // TODO(crisbeto): these values don't correspond to any of the typography breakpoints.
2113
+ $mat-chip-font-size: 13px;
2114
+ $mat-chip-line-height: 18px;
2115
+ $mat-chip-remove-font-size: 18px;
2116
+
2117
+ @mixin mat-chips-theme-color($color) {
2118
+ @include mat-chips-color(mat-color($color, default-contrast), mat-color($color));
2119
+ }
2120
+
2121
+ @mixin mat-chips-color($foreground, $background) {
2122
+ background-color: $background;
2123
+ color: $foreground;
2124
+
2125
+ .mat-chip-remove {
2126
+ color: $foreground;
2127
+ opacity: 0.4;
2128
+ }
2129
+
2130
+ .mat-chip-remove:hover {
2131
+ opacity: 0.54;
2132
+ }
2133
+ }
2134
+
2135
+ @mixin mat-chips-theme($theme) {
2136
+ $is-dark-theme: map-get($theme, is-dark);
2137
+ $primary: map-get($theme, primary);
2138
+ $accent: map-get($theme, accent);
2139
+ $warn: map-get($theme, warn);
2140
+ $background: map-get($theme, background);
2141
+ $foreground: map-get($theme, foreground);
2142
+
2143
+ $unselected-background: mat-color($background, unselected-chip);
2144
+ $unselected-foreground: mat-color($foreground, text);
2145
+
2146
+
2147
+ .mat-chip:not(.mat-basic-chip) {
2148
+ @include mat-chips-color($unselected-foreground, $unselected-background);
2149
+ }
2150
+
2151
+ .mat-chip.mat-chip-selected {
2152
+
2153
+ &.mat-primary {
2154
+ @include mat-chips-theme-color($primary);
2155
+ }
2156
+
2157
+ &.mat-warn {
2158
+ @include mat-chips-theme-color($warn);
2159
+ }
2160
+
2161
+ &.mat-accent {
2162
+ @include mat-chips-theme-color($accent);
2163
+ }
2164
+ }
2165
+ }
2166
+
2167
+ @mixin mat-chips-typography($config) {
2168
+ .mat-chip {
2169
+ font-size: $mat-chip-font-size;
2170
+ line-height: $mat-chip-line-height;
2171
+
2172
+ .mat-chip-remove.mat-icon {
2173
+ font-size: $mat-chip-remove-font-size;
2174
+ }
2175
+ }
2176
+ }
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+ @mixin mat-table-theme($theme) {
2183
+ $background: map-get($theme, background);
2184
+ $foreground: map-get($theme, foreground);
2185
+
2186
+ .mat-table {
2187
+ background: mat-color($background, 'card');
2188
+ }
2189
+
2190
+ .mat-row, .mat-header-row {
2191
+ border-bottom-color: mat-color($foreground, divider);
2192
+ }
2193
+
2194
+ .mat-header-cell {
2195
+ color: mat-color($foreground, secondary-text);
2196
+ }
2197
+
2198
+ .mat-cell {
2199
+ color: mat-color($foreground, text);
2200
+ }
2201
+ }
2202
+
2203
+ @mixin mat-table-typography($config) {
2204
+ .mat-table {
2205
+ font-family: mat-font-family($config);
2206
+ }
2207
+
2208
+ .mat-header-cell {
2209
+ font-size: mat-font-size($config, caption);
2210
+ font-weight: mat-font-weight($config, body-2);
2211
+ }
2212
+
2213
+ .mat-cell {
2214
+ font-size: mat-font-size($config, body-1);
2215
+ }
2216
+ }
2217
+
2218
+
2219
+
2220
+
2221
+
2222
+
2223
+ $mat-calendar-body-font-size: 13px !default;
2224
+ $mat-calendar-weekday-table-font-size: 11px !default;
2225
+
2226
+
2227
+ @mixin mat-datepicker-theme($theme) {
2228
+ $primary: map-get($theme, primary);
2229
+ $foreground: map-get($theme, foreground);
2230
+ $background: map-get($theme, background);
2231
+
2232
+ $mat-datepicker-selected-today-box-shadow-width: 1px;
2233
+ $mat-datepicker-selected-fade-amount: 0.6;
2234
+ $mat-datepicker-today-fade-amount: 0.2;
2235
+
2236
+ .mat-datepicker-content {
2237
+ background-color: mat-color($background, card);
2238
+ color: mat-color($foreground, text);
2239
+ }
2240
+
2241
+ .mat-calendar-arrow {
2242
+ border-top-color: mat-color($foreground, icon);
2243
+ }
2244
+
2245
+ .mat-calendar-next-button,
2246
+ .mat-calendar-previous-button {
2247
+ color: mat-color($foreground, icon);
2248
+ }
2249
+
2250
+ .mat-calendar-table-header {
2251
+ color: mat-color($foreground, hint-text);
2252
+ }
2253
+
2254
+ .mat-calendar-table-header-divider::after {
2255
+ background: mat-color($foreground, divider);
2256
+ }
2257
+
2258
+ .mat-calendar-body-label {
2259
+ color: mat-color($foreground, secondary-text);
2260
+ }
2261
+
2262
+ .mat-calendar-body-cell-content {
2263
+ color: mat-color($foreground, text);
2264
+ border-color: transparent;
2265
+
2266
+ .mat-calendar-body-disabled > &:not(.mat-calendar-body-selected) {
2267
+ color: mat-color($foreground, disabled-text);
2268
+ }
2269
+ }
2270
+
2271
+ :not(.mat-calendar-body-disabled):hover,
2272
+ .cdk-keyboard-focused .mat-calendar-body-active {
2273
+ & > .mat-calendar-body-cell-content:not(.mat-calendar-body-selected) {
2274
+ background-color: mat-color($background, hover);
2275
+ }
2276
+ }
2277
+
2278
+ .mat-calendar-body-selected {
2279
+ background-color: mat-color($primary);
2280
+ color: mat-color($primary, default-contrast);
2281
+ }
2282
+
2283
+ .mat-calendar-body-disabled > .mat-calendar-body-selected {
2284
+ background-color: fade-out(mat-color($primary), $mat-datepicker-selected-fade-amount);
2285
+ }
2286
+
2287
+ .mat-calendar-body-today {
2288
+ &:not(.mat-calendar-body-selected) {
2289
+ // Note: though it's not text, the border is a hint about the fact that this is today's date,
2290
+ // so we use the hint color.
2291
+ border-color: mat-color($foreground, hint-text);
2292
+ }
2293
+
2294
+ &.mat-calendar-body-selected {
2295
+ box-shadow: inset 0 0 0 $mat-datepicker-selected-today-box-shadow-width
2296
+ mat-color($primary, default-contrast);
2297
+ }
2298
+ }
2299
+
2300
+ .mat-calendar-body-disabled > .mat-calendar-body-today:not(.mat-calendar-body-selected) {
2301
+ border-color: fade-out(mat-color($foreground, hint-text), $mat-datepicker-today-fade-amount);
2302
+ }
2303
+ }
2304
+
2305
+ @mixin mat-datepicker-typography($config) {
2306
+ .mat-calendar {
2307
+ font-family: mat-font-family($config);
2308
+ }
2309
+
2310
+ .mat-calendar-body {
2311
+ font-size: $mat-calendar-body-font-size;
2312
+ }
2313
+
2314
+ .mat-calendar-body-label,
2315
+ .mat-calendar-period-button {
2316
+ font: {
2317
+ size: mat-font-size($config, button);
2318
+ weight: mat-font-weight($config, button);
2319
+ }
2320
+ }
2321
+
2322
+ .mat-calendar-table-header th {
2323
+ font: {
2324
+ size: $mat-calendar-weekday-table-font-size;
2325
+ weight: mat-font-weight($config, body-1);
2326
+ }
2327
+ }
2328
+ }
2329
+
2330
+
2331
+
2332
+
2333
+
2334
+
2335
+ @mixin mat-dialog-theme($theme) {
2336
+ $background: map-get($theme, background);
2337
+ $foreground: map-get($theme, foreground);
2338
+
2339
+ .mat-dialog-container {
2340
+ background: mat-color($background, dialog);
2341
+ color: mat-color($foreground, text);
2342
+ }
2343
+ }
2344
+
2345
+ @mixin mat-dialog-typography($config) {
2346
+ .mat-dialog-title {
2347
+ @include mat-typography-level-to-styles($config, title);
2348
+ }
2349
+ }
2350
+
2351
+
2352
+
2353
+
2354
+
2355
+ @mixin mat-expansion-panel-theme($theme) {
2356
+ $background: map-get($theme, background);
2357
+ $foreground: map-get($theme, foreground);
2358
+
2359
+ .mat-expansion-panel {
2360
+ background: mat-color($background, card);
2361
+ color: mat-color($foreground, text);
2362
+ }
2363
+
2364
+ .mat-action-row {
2365
+ border-top-color: mat-color($foreground, divider);
2366
+ }
2367
+
2368
+ .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header {
2369
+ &:not([aria-disabled='true']) {
2370
+ &.cdk-keyboard-focused,
2371
+ &.cdk-program-focused,
2372
+ &:hover {
2373
+ background: mat-color($background, hover);
2374
+ }
2375
+ }
2376
+ }
2377
+
2378
+ .mat-expansion-panel-header-title {
2379
+ color: mat-color($foreground, text);
2380
+ }
2381
+
2382
+ .mat-expansion-panel-header-description,
2383
+ .mat-expansion-indicator::after {
2384
+ color: mat-color($foreground, secondary-text);
2385
+ }
2386
+
2387
+ .mat-expansion-panel-header[aria-disabled='true'] {
2388
+ color: mat-color($foreground, disabled-button);
2389
+
2390
+ .mat-expansion-panel-header-title,
2391
+ .mat-expansion-panel-header-description {
2392
+ color: inherit;
2393
+ }
2394
+ }
2395
+ }
2396
+
2397
+ @mixin mat-expansion-panel-typography($config) {
2398
+ .mat-expansion-panel-header {
2399
+ font: {
2400
+ family: mat-font-family($config, subheading-1);
2401
+ size: mat-font-size($config, subheading-1);
2402
+ weight: mat-font-weight($config, subheading-1);
2403
+ }
2404
+ }
2405
+
2406
+ .mat-expansion-panel-content {
2407
+ @include mat-typography-level-to-styles($config, body-1);
2408
+ }
2409
+ }
2410
+
2411
+
2412
+
2413
+
2414
+
2415
+
2416
+
2417
+ // Include this empty mixin for consistency with the other components.
2418
+ @mixin mat-grid-list-theme($theme) { }
2419
+
2420
+ @mixin mat-grid-list-typography($config) {
2421
+ .mat-grid-tile-header,
2422
+ .mat-grid-tile-footer {
2423
+ @include mat-line-base(mat-font-size($config, caption));
2424
+ font-size: mat-font-size($config, body-1);
2425
+ }
2426
+ }
2427
+
2428
+
2429
+
2430
+
2431
+ // Include this empty mixin for consistency with the other components.
2432
+ @mixin mat-icon-theme($theme) {
2433
+ $primary: map-get($theme, primary);
2434
+ $accent: map-get($theme, accent);
2435
+ $warn: map-get($theme, warn);
2436
+ $background: map-get($theme, background);
2437
+ $foreground: map-get($theme, foreground);
2438
+
2439
+ .mat-icon {
2440
+ &.mat-primary {
2441
+ color: mat-color($primary);
2442
+ }
2443
+
2444
+ &.mat-accent {
2445
+ color: mat-color($accent);
2446
+ }
2447
+
2448
+ &.mat-warn {
2449
+ color: mat-color($warn);
2450
+ }
2451
+ }
2452
+ }
2453
+
2454
+ @mixin mat-icon-typography($config) { }
2455
+
2456
+
2457
+
2458
+ // Renders a gradient for showing the dashed line when the input is disabled.
2459
+ // Unlike using a border, a gradient allows us to adjust the spacing of the dotted line
2460
+ // to match the Material Design spec.
2461
+ @mixin mat-control-disabled-underline($color) {
2462
+ background-image: linear-gradient(to right, $color 0%, $color 33%, transparent 0%);
2463
+ background-size: 4px 1px;
2464
+ background-repeat: repeat-x;
2465
+ }
2466
+
2467
+
2468
+
2469
+
2470
+ @mixin mat-input-theme($theme) {
2471
+ $foreground: map-get($theme, foreground);
2472
+ $is-dark-theme: map-get($theme, is-dark);
2473
+
2474
+ .mat-input-element:disabled {
2475
+ color: mat-color($foreground, secondary-text, if($is-dark-theme, 0.7, 0.42));
2476
+ }
2477
+ }
2478
+
2479
+ @mixin mat-input-typography($config) {
2480
+ // The unit-less line-height from the font config.
2481
+ $line-height: mat-line-height($config, input);
2482
+
2483
+ // The amount of space between the top of the line and the top of the actual text
2484
+ // (as a fraction of the font-size).
2485
+ $line-spacing: ($line-height - 1) / 2;
2486
+
2487
+ // <input> elements seem to have their height set slightly too large on Safari causing the text to
2488
+ // be misaligned w.r.t. the placeholder. Adding this margin corrects it.
2489
+ input.mat-input-element {
2490
+ margin-top: -$line-spacing * 1em;
2491
+ }
2492
+ }
2493
+
2494
+
2495
+
2496
+
2497
+
2498
+
2499
+
2500
+ @mixin mat-list-theme($theme) {
2501
+ $background: map-get($theme, background);
2502
+ $foreground: map-get($theme, foreground);
2503
+
2504
+ .mat-list, .mat-nav-list, .mat-selection-list {
2505
+ .mat-list-item {
2506
+ color: mat-color($foreground, text);
2507
+ }
2508
+
2509
+ .mat-list-option {
2510
+ color: mat-color($foreground, text);
2511
+ }
2512
+
2513
+ .mat-subheader {
2514
+ color: mat-color($foreground, secondary-text);
2515
+ }
2516
+ }
2517
+
2518
+ .mat-list-item-disabled {
2519
+ background-color: mat-color($background, disabled-list-option);
2520
+ }
2521
+
2522
+ .mat-divider {
2523
+ border-top-color: mat-color($foreground, divider);
2524
+ }
2525
+
2526
+ .mat-nav-list .mat-list-item {
2527
+ outline: none;
2528
+
2529
+ &:hover, &.mat-list-item-focus {
2530
+ background: mat-color($background, 'hover');
2531
+ }
2532
+ }
2533
+
2534
+ .mat-list-option {
2535
+ outline: none;
2536
+
2537
+ &:hover, &.mat-list-item-focus {
2538
+ background: mat-color($background, 'hover');
2539
+ }
2540
+ }
2541
+ }
2542
+
2543
+ @mixin mat-list-typography($config) {
2544
+ $font-family: mat-font-family($config);
2545
+
2546
+ .mat-list-item {
2547
+ font-family: $font-family;
2548
+ }
2549
+
2550
+ .mat-list-option {
2551
+ font-family: $font-family;
2552
+ }
2553
+
2554
+ // Default list
2555
+ .mat-list, .mat-nav-list, .mat-selection-list {
2556
+ .mat-list-item {
2557
+ font-size: mat-font-size($config, subheading-2);
2558
+ @include mat-line-base(mat-font-size($config, body-1));
2559
+ }
2560
+
2561
+ .mat-list-option {
2562
+ font-size: mat-font-size($config, subheading-2);
2563
+ @include mat-line-base(mat-font-size($config, body-1));
2564
+ }
2565
+
2566
+ .mat-subheader {
2567
+ font-family: mat-font-family($config, body-2);
2568
+ font-size: mat-font-size($config, body-2);
2569
+ font-weight: mat-font-weight($config, body-2);
2570
+ }
2571
+ }
2572
+
2573
+ // Dense list
2574
+ .mat-list[dense], .mat-nav-list[dense], .mat-selection-list[dense] {
2575
+ .mat-list-item {
2576
+ font-size: mat-font-size($config, caption);
2577
+ @include mat-line-base(mat-font-size($config, caption));
2578
+ }
2579
+
2580
+ .mat-list-option {
2581
+ font-size: mat-font-size($config, caption);
2582
+ @include mat-line-base(mat-font-size($config, caption));
2583
+ }
2584
+
2585
+ .mat-subheader {
2586
+ font-family: $font-family;
2587
+ font-size: mat-font-size($config, caption);
2588
+ font-weight: mat-font-weight($config, body-2);
2589
+ }
2590
+ }
2591
+ }
2592
+
2593
+
2594
+
2595
+
2596
+
2597
+
2598
+ @mixin mat-menu-theme($theme) {
2599
+ $background: map-get($theme, background);
2600
+ $foreground: map-get($theme, foreground);
2601
+
2602
+ .mat-menu-panel {
2603
+ background: mat-color($background, 'card');
2604
+ }
2605
+
2606
+ .mat-menu-item {
2607
+ background: transparent;
2608
+ color: mat-color($foreground, 'text');
2609
+
2610
+ &[disabled] {
2611
+ color: mat-color($foreground, 'disabled');
2612
+ }
2613
+ }
2614
+
2615
+ .mat-menu-item .mat-icon,
2616
+ .mat-menu-item-submenu-trigger::after {
2617
+ color: mat-color($foreground, 'icon');
2618
+ }
2619
+
2620
+ .mat-menu-item:hover,
2621
+ .mat-menu-item:focus,
2622
+ .mat-menu-item-highlighted {
2623
+ &:not([disabled]) {
2624
+ background: mat-color($background, 'hover');
2625
+ }
2626
+ }
2627
+ }
2628
+
2629
+ @mixin mat-menu-typography($config) {
2630
+ .mat-menu-item {
2631
+ font: {
2632
+ family: mat-font-family($config, subheading-2);
2633
+ size: mat-font-size($config, subheading-2);
2634
+ }
2635
+ }
2636
+ }
2637
+
2638
+
2639
+
2640
+
2641
+
2642
+
2643
+ @mixin mat-paginator-theme($theme) {
2644
+ $foreground: map-get($theme, foreground);
2645
+ $background: map-get($theme, background);
2646
+
2647
+ .mat-paginator {
2648
+ background: mat-color($background, 'card');
2649
+ }
2650
+
2651
+ .mat-paginator,
2652
+ .mat-paginator-page-size .mat-select-trigger {
2653
+ color: mat-color($foreground, secondary-text);
2654
+ }
2655
+
2656
+ .mat-paginator-increment,
2657
+ .mat-paginator-decrement {
2658
+ border-top: 2px solid mat-color($foreground, 'icon');
2659
+ border-right: 2px solid mat-color($foreground, 'icon');
2660
+ }
2661
+
2662
+ .mat-icon-button[disabled] {
2663
+ .mat-paginator-increment,
2664
+ .mat-paginator-decrement {
2665
+ border-color: mat-color($foreground, 'disabled');
2666
+ }
2667
+ }
2668
+ }
2669
+
2670
+ @mixin mat-paginator-typography($config) {
2671
+ .mat-paginator,
2672
+ .mat-paginator-page-size .mat-select-trigger {
2673
+ font: {
2674
+ family: mat-font-family($config, caption);
2675
+ size: mat-font-size($config, caption);
2676
+ }
2677
+ }
2678
+ }
2679
+
2680
+
2681
+
2682
+
2683
+
2684
+ @mixin mat-progress-bar-theme($theme) {
2685
+ $primary: map-get($theme, primary);
2686
+ $accent: map-get($theme, accent);
2687
+ $warn: map-get($theme, warn);
2688
+
2689
+ .mat-progress-bar-background {
2690
+ background-image: #{_mat-progress-bar-buffer($primary, lighter)};
2691
+ }
2692
+
2693
+ .mat-progress-bar-buffer {
2694
+ background-color: mat-color($primary, lighter);
2695
+ }
2696
+
2697
+ .mat-progress-bar-fill::after {
2698
+ background-color: mat-color($primary);
2699
+ }
2700
+
2701
+ .mat-progress-bar.mat-accent {
2702
+ .mat-progress-bar-background {
2703
+ background-image: #{_mat-progress-bar-buffer($accent, lighter)};
2704
+ }
2705
+
2706
+ .mat-progress-bar-buffer {
2707
+ background-color: mat-color($accent, lighter);
2708
+ }
2709
+
2710
+ .mat-progress-bar-fill::after {
2711
+ background-color: mat-color($accent);
2712
+ }
2713
+ }
2714
+
2715
+ .mat-progress-bar.mat-warn {
2716
+ .mat-progress-bar-background {
2717
+ background-image: #{_mat-progress-bar-buffer($warn, lighter)};
2718
+ }
2719
+
2720
+ .mat-progress-bar-buffer {
2721
+ background-color: mat-color($warn, lighter);
2722
+ }
2723
+
2724
+ .mat-progress-bar-fill::after {
2725
+ background-color: mat-color($warn);
2726
+ }
2727
+ }
2728
+ }
2729
+
2730
+ @mixin mat-progress-bar-typography($config) { }
2731
+
2732
+ // TODO(josephperrott): Find better way to inline svgs.
2733
+ // In buffer mode a repeated SVG object is used as a background.
2734
+ // Each of the following defines the SVG object for each of the class defined colors.
2735
+ //
2736
+ // The string is a URL encoded version of:
2737
+ //
2738
+ // <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
2739
+ // version="1.1" x="0px" y="0px" enable-background="new 0 0 5 2"
2740
+ // xml:space="preserve" viewBox="0 0 5 2" preserveAspectRatio="none slice">
2741
+ // <circle cx="1" cy="1" r="1" fill="{INJECTED_COLOR}"/>
2742
+ // </svg>
2743
+ @function _mat-progress-bar-buffer($palette, $hue) {
2744
+ $color: mat-color($palette, $hue) + '';
2745
+
2746
+ // We also need to escape the hash in hex colors,
2747
+ // otherwise IE will throw an XML error.
2748
+ @if str-index($color, '#') == 1 {
2749
+ $color: '%23' + str-slice($color, 2);
2750
+ }
2751
+
2752
+ $result: '' +
2753
+ 'data:image/svg+xml;charset=UTF-8,%3Csvg%20version%3D%271.1%27%20xmlns%3D%27http%3A%2F%2F' +
2754
+ 'www.w3.org%2F2000%2Fsvg%27%20xmlns%3Axlink%3D%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%2' +
2755
+ '7%20x%3D%270px%27%20y%3D%270px%27%20enable-background%3D%27new%200%200%205%202%27%20xml%' +
2756
+ '3Aspace%3D%27preserve%27%20viewBox%3D%270%200%205%202%27%20preserveAspectRatio%3D%27none' +
2757
+ '%20slice%27%3E%3Ccircle%20cx%3D%271%27%20cy%3D%271%27%20r%3D%271%27%20fill%3D%27' +
2758
+ $color + '%27%2F%3E%3C%2Fsvg%3E';
2759
+
2760
+ @return url($result);
2761
+ }
2762
+
2763
+
2764
+
2765
+
2766
+
2767
+ @mixin mat-progress-spinner-theme($theme) {
2768
+ $primary: map-get($theme, primary);
2769
+ $accent: map-get($theme, accent);
2770
+ $warn: map-get($theme, warn);
2771
+
2772
+ .mat-progress-spinner, .mat-spinner {
2773
+ circle {
2774
+ stroke: mat-color($primary);
2775
+ }
2776
+
2777
+ &.mat-accent circle {
2778
+ stroke: mat-color($accent);
2779
+ }
2780
+
2781
+ &.mat-warn circle {
2782
+ stroke: mat-color($warn);
2783
+ }
2784
+ }
2785
+ }
2786
+
2787
+ @mixin mat-progress-spinner-typography($config) { }
2788
+
2789
+
2790
+
2791
+
2792
+
2793
+ @mixin mat-radio-color($palette) {
2794
+ &.mat-radio-checked .mat-radio-outer-circle {
2795
+ border-color: mat-color($palette);
2796
+ }
2797
+
2798
+ .mat-radio-inner-circle {
2799
+ background-color: mat-color($palette);
2800
+ }
2801
+
2802
+ .mat-radio-ripple .mat-ripple-element {
2803
+ background-color: mat-color($palette, 0.26);
2804
+ }
2805
+ }
2806
+
2807
+ @mixin mat-radio-theme($theme) {
2808
+ $primary: map-get($theme, primary);
2809
+ $accent: map-get($theme, accent);
2810
+ $warn: map-get($theme, warn);
2811
+ $background: map-get($theme, background);
2812
+ $foreground: map-get($theme, foreground);
2813
+
2814
+ .mat-radio-outer-circle {
2815
+ border-color: mat-color($foreground, secondary-text);
2816
+ }
2817
+
2818
+ .mat-radio-disabled .mat-radio-outer-circle {
2819
+ border-color: mat-color($foreground, disabled);
2820
+ }
2821
+
2822
+ .mat-radio-disabled {
2823
+ .mat-radio-ripple .mat-ripple-element, .mat-radio-inner-circle {
2824
+ background-color: mat-color($foreground, disabled);
2825
+ }
2826
+
2827
+ .mat-radio-label-content {
2828
+ color: mat-color($foreground, disabled);
2829
+ }
2830
+ }
2831
+
2832
+ .mat-radio-button {
2833
+ &.mat-primary {
2834
+ @include mat-radio-color($primary);
2835
+ }
2836
+
2837
+ &.mat-accent {
2838
+ @include mat-radio-color($accent);
2839
+ }
2840
+
2841
+ &.mat-warn {
2842
+ @include mat-radio-color($warn);
2843
+ }
2844
+ }
2845
+ }
2846
+
2847
+ @mixin mat-radio-typography($config) {
2848
+ .mat-radio-button {
2849
+ font-family: mat-font-family($config);
2850
+ }
2851
+ }
2852
+
2853
+
2854
+
2855
+
2856
+
2857
+
2858
+
2859
+ @mixin mat-select-theme($theme) {
2860
+ $foreground: map-get($theme, foreground);
2861
+ $background: map-get($theme, background);
2862
+ $primary: map-get($theme, primary);
2863
+ $accent: map-get($theme, accent);
2864
+ $warn: map-get($theme, warn);
2865
+ $is-dark-theme: map-get($theme, is-dark);
2866
+
2867
+ .mat-select-disabled .mat-select-value,
2868
+ .mat-select-arrow {
2869
+ color: mat-color($foreground, secondary-text);
2870
+ }
2871
+
2872
+ .mat-select-content, .mat-select-panel-done-animating {
2873
+ background: mat-color($background, card);
2874
+ }
2875
+
2876
+ .mat-select-value {
2877
+ color: mat-color($foreground, text);
2878
+ }
2879
+
2880
+ .mat-select-panel {
2881
+ .mat-option.mat-selected:not(.mat-option-multiple) {
2882
+ background: mat-color($background, hover, 0.12);
2883
+ }
2884
+ }
2885
+
2886
+ .mat-form-field {
2887
+ &.mat-focused {
2888
+ &.mat-primary .mat-select-arrow {
2889
+ color: mat-color($primary);
2890
+ }
2891
+
2892
+ &.mat-accent .mat-select-arrow {
2893
+ color: mat-color($accent);
2894
+ }
2895
+
2896
+ &.mat-warn .mat-select-arrow {
2897
+ color: mat-color($warn);
2898
+ }
2899
+ }
2900
+
2901
+ .mat-select.mat-select-invalid .mat-select-arrow {
2902
+ color: mat-color($warn);
2903
+ }
2904
+
2905
+ .mat-select.mat-select-disabled .mat-select-arrow {
2906
+ color: mat-color($foreground, secondary-text);
2907
+ }
2908
+ }
2909
+
2910
+ .mat-select.mat-select-disabled .mat-select-arrow {
2911
+ color: mat-color($warn);
2912
+ }
2913
+ }
2914
+
2915
+ @mixin mat-select-typography($config) {
2916
+ // The unit-less line-height from the font config.
2917
+ $line-height: mat-line-height($config, input);
2918
+
2919
+ .mat-select {
2920
+ font-family: mat-font-family($config);
2921
+ }
2922
+
2923
+ .mat-select-trigger {
2924
+ height: $line-height * 1em;
2925
+ }
2926
+ }
2927
+
2928
+
2929
+
2930
+
2931
+
2932
+ @mixin mat-sidenav-theme($theme) {
2933
+ $primary: map-get($theme, primary);
2934
+ $accent: map-get($theme, accent);
2935
+ $warn: map-get($theme, warn);
2936
+ $background: map-get($theme, background);
2937
+ $foreground: map-get($theme, foreground);
2938
+
2939
+ // We use invert() here to have the darken the background color expected to be used. If the
2940
+ // background is light, we use a dark backdrop. If the background is dark,
2941
+ // we use a light backdrop.
2942
+ $drawer-backdrop-color: invert(mat-color($background, card, 0.6)) !default;
2943
+ $drawer-background-color: mat-color($background, dialog) !default;
2944
+ $drawer-container-background-color: mat-color($background, background) !default;
2945
+ $drawer-push-background-color: mat-color($background, dialog) !default;
2946
+
2947
+ .mat-drawer-container {
2948
+ background-color: $drawer-container-background-color;
2949
+ color: mat-color($foreground, text);
2950
+ }
2951
+
2952
+ .mat-drawer {
2953
+ background-color: $drawer-background-color;
2954
+ color: mat-color($foreground, text);
2955
+
2956
+ &.mat-drawer-push {
2957
+ background-color: $drawer-push-background-color;
2958
+ }
2959
+ }
2960
+
2961
+ .mat-drawer-backdrop.mat-drawer-shown {
2962
+ background-color: $drawer-backdrop-color;
2963
+ }
2964
+ }
2965
+
2966
+ @mixin mat-sidenav-typography($config) { }
2967
+
2968
+
2969
+
2970
+
2971
+
2972
+ @mixin _mat-slide-toggle-checked($palette, $thumb-checked-hue) {
2973
+ // Do not apply the checked colors if the toggle is disabled, because the
2974
+ // specificity would be to high for the disabled styles.
2975
+ &.mat-checked:not(.mat-disabled) {
2976
+ .mat-slide-toggle-thumb {
2977
+ background-color: mat-color($palette, $thumb-checked-hue);
2978
+ }
2979
+
2980
+ .mat-slide-toggle-bar {
2981
+ background-color: mat-color($palette, $thumb-checked-hue, 0.5);
2982
+ }
2983
+ }
2984
+ }
2985
+
2986
+ // Applies the specified colors to the slide-toggle ripple elements.
2987
+ @mixin _mat-slide-toggle-ripple($palette, $ripple-unchecked-color, $ripple-checked-color) {
2988
+ &:not(.mat-checked) .mat-ripple-element {
2989
+ background-color: $ripple-unchecked-color;
2990
+ }
2991
+ .mat-ripple-element {
2992
+ background-color: $ripple-checked-color;
2993
+ }
2994
+ }
2995
+
2996
+ @mixin mat-slide-toggle-theme($theme) {
2997
+ $is-dark: map_get($theme, is-dark);
2998
+ $primary: map-get($theme, primary);
2999
+ $accent: map-get($theme, accent);
3000
+ $warn: map-get($theme, warn);
3001
+ $background: map-get($theme, background);
3002
+ $foreground: map-get($theme, foreground);
3003
+
3004
+ // Color hues based on the specs, which prescribe different hues for dark and light themes
3005
+ // https://material.google.com/components/selection-controls.html#selection-controls-switch
3006
+ $thumb-normal-hue: if($is-dark, 400, 50);
3007
+ $thumb-checked-hue: if($is-dark, 200, 500);
3008
+ $thumb-disabled-hue: if($is-dark, 800, 400);
3009
+
3010
+ $bar-normal-color: mat-color($foreground, disabled);
3011
+ $bar-disabled-color: if($is-dark, rgba(white, 0.12), rgba(black, 0.1));
3012
+
3013
+ // Ripple colors are based on the current palette and the state of the slide-toggle.
3014
+ // See https://material.google.com/components/selection-controls.html#selection-controls-switch
3015
+ $ripple-checked-opacity: 0.12;
3016
+ $ripple-unchecked-color: mat-color($foreground, base, if($is-dark, 0.12, 0.06));
3017
+ $ripple-primary-color: mat-color($primary, $thumb-checked-hue, $ripple-checked-opacity);
3018
+ $ripple-accent-color: mat-color($accent, $thumb-checked-hue, $ripple-checked-opacity);
3019
+ $ripple-warn-color: mat-color($warn, $thumb-checked-hue, $ripple-checked-opacity);
3020
+
3021
+ .mat-slide-toggle {
3022
+ @include _mat-slide-toggle-checked($accent, $thumb-checked-hue);
3023
+ @include _mat-slide-toggle-ripple($accent, $ripple-unchecked-color, $ripple-accent-color);
3024
+
3025
+ &.mat-primary {
3026
+ @include _mat-slide-toggle-checked($primary, $thumb-checked-hue);
3027
+ @include _mat-slide-toggle-ripple($accent, $ripple-unchecked-color, $ripple-primary-color);
3028
+ }
3029
+
3030
+ &.mat-warn {
3031
+ @include _mat-slide-toggle-checked($warn, $thumb-checked-hue);
3032
+ @include _mat-slide-toggle-ripple($accent, $ripple-unchecked-color, $ripple-warn-color);
3033
+ }
3034
+
3035
+ }
3036
+
3037
+ .mat-disabled {
3038
+ .mat-slide-toggle-thumb {
3039
+ // The thumb of the slide-toggle always uses the hue 400 of the grey palette in dark
3040
+ // or light themes. Since this is very specific to the slide-toggle component, we're not
3041
+ // providing it in the background palette.
3042
+ background-color: mat-color($mat-grey, $thumb-disabled-hue);
3043
+ }
3044
+ .mat-slide-toggle-bar {
3045
+ background-color: $bar-disabled-color;
3046
+ }
3047
+ }
3048
+
3049
+ .mat-slide-toggle-thumb {
3050
+ background-color: mat-color($mat-grey, $thumb-normal-hue);
3051
+ }
3052
+
3053
+ .mat-slide-toggle-bar {
3054
+ background-color: $bar-normal-color;
3055
+ }
3056
+ }
3057
+
3058
+ @mixin mat-slide-toggle-typography($config) {
3059
+ .mat-slide-toggle-content {
3060
+ @include mat-typography-level-to-styles($config, body-1);
3061
+ }
3062
+ }
3063
+
3064
+
3065
+
3066
+
3067
+
3068
+ @mixin _mat-slider-inner-content-theme($palette) {
3069
+ .mat-slider-track-fill,
3070
+ .mat-slider-thumb,
3071
+ .mat-slider-thumb-label {
3072
+ background-color: mat-color($palette);
3073
+ }
3074
+
3075
+ .mat-slider-thumb-label-text {
3076
+ color: mat-color($palette, default-contrast);
3077
+ }
3078
+ }
3079
+
3080
+ @mixin mat-slider-theme($theme) {
3081
+ $primary: map-get($theme, primary);
3082
+ $accent: map-get($theme, accent);
3083
+ $warn: map-get($theme, warn);
3084
+ $background: map-get($theme, background);
3085
+ $foreground: map-get($theme, foreground);
3086
+
3087
+ $mat-slider-off-color: mat-color($foreground, slider-off);
3088
+ $mat-slider-off-focused-color: mat-color($foreground, slider-off-active);
3089
+ $mat-slider-disabled-color: mat-color($foreground, slider-off);
3090
+ $mat-slider-labeled-min-value-thumb-color: mat-color($foreground, slider-min);
3091
+ $mat-slider-labeled-min-value-thumb-label-color: mat-color($foreground, slider-off);
3092
+ $mat-slider-focus-ring-color: mat-color($accent, default, 0.2);
3093
+ $mat-slider-focus-ring-min-value-color: mat-color($foreground, base, 0.12);
3094
+ $mat-slider-tick-color: mat-color($foreground, base, 0.7);
3095
+ $mat-slider-tick-size: 2px;
3096
+
3097
+ .mat-slider-track-background {
3098
+ background-color: $mat-slider-off-color;
3099
+ }
3100
+
3101
+ .mat-primary {
3102
+ @include _mat-slider-inner-content-theme($primary);
3103
+ }
3104
+
3105
+ .mat-accent {
3106
+ @include _mat-slider-inner-content-theme($accent);
3107
+ }
3108
+
3109
+ .mat-warn {
3110
+ @include _mat-slider-inner-content-theme($warn);
3111
+ }
3112
+
3113
+ .mat-slider-focus-ring {
3114
+ background-color: $mat-slider-focus-ring-color;
3115
+ }
3116
+
3117
+ .mat-slider:hover,
3118
+ .cdk-focused {
3119
+ .mat-slider-track-background {
3120
+ background-color: $mat-slider-off-focused-color;
3121
+ }
3122
+ }
3123
+
3124
+ .mat-slider-disabled {
3125
+ .mat-slider-track-background,
3126
+ .mat-slider-track-fill,
3127
+ .mat-slider-thumb {
3128
+ background-color: $mat-slider-disabled-color;
3129
+ }
3130
+
3131
+ &:hover {
3132
+ .mat-slider-track-background {
3133
+ background-color: $mat-slider-disabled-color;
3134
+ }
3135
+ }
3136
+ }
3137
+
3138
+ .mat-slider-min-value {
3139
+ .mat-slider-focus-ring {
3140
+ background-color: $mat-slider-focus-ring-min-value-color;
3141
+ }
3142
+
3143
+ &.mat-slider-thumb-label-showing {
3144
+ .mat-slider-thumb,
3145
+ .mat-slider-thumb-label {
3146
+ background-color: $mat-slider-labeled-min-value-thumb-color;
3147
+ }
3148
+
3149
+ &.cdk-focused {
3150
+ .mat-slider-thumb,
3151
+ .mat-slider-thumb-label {
3152
+ background-color: $mat-slider-labeled-min-value-thumb-label-color;
3153
+ }
3154
+ }
3155
+ }
3156
+
3157
+ &:not(.mat-slider-thumb-label-showing) {
3158
+ .mat-slider-thumb {
3159
+ border-color: $mat-slider-off-color;
3160
+ background-color: transparent;
3161
+ }
3162
+
3163
+ &:hover,
3164
+ &.cdk-focused {
3165
+ .mat-slider-thumb {
3166
+ border-color: $mat-slider-off-focused-color;
3167
+ }
3168
+
3169
+ &.mat-slider-disabled .mat-slider-thumb {
3170
+ border-color: $mat-slider-disabled-color;
3171
+ }
3172
+ }
3173
+ }
3174
+ }
3175
+
3176
+ .mat-slider-has-ticks .mat-slider-wrapper::after {
3177
+ border-color: $mat-slider-tick-color;
3178
+ }
3179
+
3180
+ .mat-slider-horizontal .mat-slider-ticks {
3181
+ background-image: repeating-linear-gradient(to right, $mat-slider-tick-color,
3182
+ $mat-slider-tick-color $mat-slider-tick-size, transparent 0, transparent);
3183
+ // Firefox doesn't draw the gradient correctly with 'to right'
3184
+ // (see https://bugzilla.mozilla.org/show_bug.cgi?id=1314319).
3185
+ background-image: -moz-repeating-linear-gradient(0.0001deg, $mat-slider-tick-color,
3186
+ $mat-slider-tick-color $mat-slider-tick-size, transparent 0, transparent);
3187
+ }
3188
+
3189
+ .mat-slider-vertical .mat-slider-ticks {
3190
+ background-image: repeating-linear-gradient(to bottom, $mat-slider-tick-color,
3191
+ $mat-slider-tick-color $mat-slider-tick-size, transparent 0, transparent);
3192
+ }
3193
+ }
3194
+
3195
+ @mixin mat-slider-typography($config) {
3196
+ .mat-slider-thumb-label-text {
3197
+ font: {
3198
+ family: mat-font-family($config);
3199
+ size: mat-font-size($config, caption);
3200
+ weight: mat-font-weight($config, body-2);
3201
+ }
3202
+ }
3203
+ }
3204
+
3205
+
3206
+
3207
+
3208
+
3209
+ @mixin mat-stepper-theme($theme) {
3210
+ $foreground: map-get($theme, foreground);
3211
+ $background: map-get($theme, background);
3212
+ $primary: map-get($theme, primary);
3213
+
3214
+ .mat-step-header {
3215
+ &.cdk-keyboard-focused,
3216
+ &.cdk-program-focused,
3217
+ &:hover {
3218
+ background-color: mat-color($background, hover);
3219
+ }
3220
+
3221
+ .mat-step-label,
3222
+ .mat-step-optional {
3223
+ color: mat-color($foreground, disabled-text);
3224
+ }
3225
+
3226
+ .mat-step-icon {
3227
+ background-color: mat-color($primary);
3228
+ color: mat-color($primary, default-contrast);
3229
+ }
3230
+
3231
+ .mat-step-icon-not-touched {
3232
+ background-color: mat-color($foreground, disabled-text);
3233
+ color: mat-color($primary, default-contrast);
3234
+ }
3235
+
3236
+ .mat-step-label.mat-step-label-active {
3237
+ color: mat-color($foreground, text);
3238
+ }
3239
+ }
3240
+
3241
+ .mat-stepper-horizontal, .mat-stepper-vertical {
3242
+ background-color: mat-color($background, card);
3243
+ }
3244
+
3245
+ .mat-stepper-vertical-line::before {
3246
+ border-left-color: mat-color($foreground, divider);
3247
+ }
3248
+
3249
+ .mat-stepper-horizontal-line {
3250
+ border-top-color: mat-color($foreground, divider);
3251
+ }
3252
+ }
3253
+
3254
+ @mixin mat-stepper-typography($config) {
3255
+ .mat-stepper-vertical, .mat-stepper-horizontal {
3256
+ font-family: mat-font-family($config);
3257
+ }
3258
+
3259
+ .mat-step-label {
3260
+ font: {
3261
+ size: mat-font-size($config, body-1);
3262
+ weight: mat-font-weight($config, body-1);
3263
+ };
3264
+ }
3265
+
3266
+ .mat-step-label-selected {
3267
+ font: {
3268
+ size: mat-font-size($config, body-2);
3269
+ weight: mat-font-weight($config, body-2);
3270
+ };
3271
+ }
3272
+ }
3273
+
3274
+
3275
+
3276
+
3277
+
3278
+ @mixin mat-tabs-theme($theme) {
3279
+ $primary: map-get($theme, primary);
3280
+ $accent: map-get($theme, accent);
3281
+ $warn: map-get($theme, warn);
3282
+ $background: map-get($theme, background);
3283
+ $foreground: map-get($theme, foreground);
3284
+ $header-border: 1px solid mat-color($foreground, divider);
3285
+
3286
+ .mat-tab-nav-bar,
3287
+ .mat-tab-header {
3288
+ border-bottom: $header-border;
3289
+ }
3290
+
3291
+ .mat-tab-group-inverted-header {
3292
+ .mat-tab-nav-bar,
3293
+ .mat-tab-header {
3294
+ border-top: $header-border;
3295
+ border-bottom: none;
3296
+ }
3297
+ }
3298
+
3299
+ .mat-tab-label, .mat-tab-link {
3300
+ color: mat-color($foreground, text);
3301
+
3302
+ &.mat-tab-disabled {
3303
+ color: mat-color($foreground, disabled-text);
3304
+ }
3305
+ }
3306
+
3307
+ .mat-tab-header-pagination-chevron {
3308
+ border-color: mat-color($foreground, text);
3309
+ }
3310
+
3311
+ .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron {
3312
+ border-color: mat-color($foreground, disabled-text);
3313
+ }
3314
+
3315
+ // Remove header border when there is a background color
3316
+ .mat-tab-group[class*='mat-background-'] .mat-tab-header,
3317
+ .mat-tab-nav-bar[class*='mat-background-'] {
3318
+ border-bottom: none;
3319
+ border-top: none;
3320
+ }
3321
+
3322
+ .mat-tab-group, .mat-tab-nav-bar {
3323
+ $theme-colors: (
3324
+ primary: $primary,
3325
+ accent: $accent,
3326
+ warn: $warn
3327
+ );
3328
+
3329
+ @each $name, $color in $theme-colors {
3330
+ // Set the foreground color of the tabs
3331
+ &.mat-#{$name} {
3332
+ @include _mat-tab-label-focus($color);
3333
+ @include _mat-ink-bar($color);
3334
+
3335
+ // Override ink bar when background color is the same
3336
+ &.mat-background-#{$name} {
3337
+ @include _mat-ink-bar($color, default-contrast);
3338
+ }
3339
+ }
3340
+ }
3341
+
3342
+ @each $name, $color in $theme-colors {
3343
+ // Set background color of the tabs and override focus color
3344
+ &.mat-background-#{$name} {
3345
+ @include _mat-tab-label-focus($color);
3346
+ @include _mat-tabs-background($color);
3347
+ }
3348
+ }
3349
+ }
3350
+ }
3351
+
3352
+ @mixin _mat-ink-bar($color, $hue: default) {
3353
+ .mat-ink-bar {
3354
+ background-color: mat-color($color, $hue);
3355
+ }
3356
+ }
3357
+
3358
+ @mixin _mat-tab-label-focus($tab-focus-color) {
3359
+ .mat-tab-label:focus, .mat-tab-link:focus {
3360
+ background-color: mat-color($tab-focus-color, lighter, 0.3);
3361
+ }
3362
+ }
3363
+
3364
+ @mixin _mat-tabs-background($background-color) {
3365
+ // Set background color for the tab group
3366
+ .mat-tab-header, .mat-tab-links {
3367
+ background-color: mat-color($background-color);
3368
+ }
3369
+
3370
+ // Set labels to contrast against background
3371
+ .mat-tab-label, .mat-tab-link {
3372
+ color: mat-color($background-color, default-contrast);
3373
+
3374
+ &.mat-tab-disabled {
3375
+ color: mat-color($background-color, default-contrast, 0.4);
3376
+ }
3377
+ }
3378
+
3379
+ // Set pagination chevrons to contrast background
3380
+ .mat-tab-header-pagination-chevron {
3381
+ border-color: mat-color($background-color, default-contrast);
3382
+ }
3383
+
3384
+ .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron {
3385
+ border-color: mat-color($background-color, default-contrast, 0.4);
3386
+ }
3387
+ }
3388
+
3389
+ @mixin mat-tabs-typography($config) {
3390
+ .mat-tab-group {
3391
+ font-family: mat-font-family($config);
3392
+ }
3393
+
3394
+ .mat-tab-label, .mat-tab-link {
3395
+ font: {
3396
+ family: mat-font-family($config, button);
3397
+ size: mat-font-size($config, button);
3398
+ weight: mat-font-weight($config, button);
3399
+ }
3400
+ }
3401
+ }
3402
+
3403
+
3404
+
3405
+
3406
+
3407
+
3408
+ @mixin _mat-toolbar-color($palette) {
3409
+ background: mat-color($palette);
3410
+ color: mat-color($palette, default-contrast);
3411
+ }
3412
+
3413
+ @mixin mat-toolbar-theme($theme) {
3414
+ $primary: map-get($theme, primary);
3415
+ $accent: map-get($theme, accent);
3416
+ $warn: map-get($theme, warn);
3417
+ $background: map-get($theme, background);
3418
+ $foreground: map-get($theme, foreground);
3419
+
3420
+ .mat-toolbar {
3421
+ background: mat-color($background, app-bar);
3422
+ color: mat-color($foreground, text);
3423
+
3424
+ &.mat-primary {
3425
+ @include _mat-toolbar-color($primary);
3426
+ }
3427
+
3428
+ &.mat-accent {
3429
+ @include _mat-toolbar-color($accent);
3430
+ }
3431
+
3432
+ &.mat-warn {
3433
+ @include _mat-toolbar-color($warn);
3434
+ }
3435
+ }
3436
+ }
3437
+
3438
+ @mixin mat-toolbar-typography($config) {
3439
+ .mat-toolbar,
3440
+ .mat-toolbar h1,
3441
+ .mat-toolbar h2,
3442
+ .mat-toolbar h3,
3443
+ .mat-toolbar h4,
3444
+ .mat-toolbar h5,
3445
+ .mat-toolbar h6 {
3446
+ @include mat-typography-level-to-styles($config, title);
3447
+ margin: 0;
3448
+ }
3449
+ }
3450
+
3451
+
3452
+
3453
+
3454
+
3455
+ // TODO(crisbeto): these doesn't correspond to any typography levels
3456
+ // and the width/height appear to be off from the spec.
3457
+ $mat-tooltip-target-height: 22px;
3458
+ $mat-tooltip-font-size: 10px;
3459
+ $mat-tooltip-vertical-padding: ($mat-tooltip-target-height - $mat-tooltip-font-size) / 2;
3460
+
3461
+ @mixin mat-tooltip-theme($theme) {
3462
+ .mat-tooltip {
3463
+ background: mat-color($mat-grey, 700, 0.9);
3464
+ }
3465
+ }
3466
+
3467
+ @mixin mat-tooltip-typography($config) {
3468
+ .mat-tooltip {
3469
+ font-family: mat-font-family($config);
3470
+ font-size: $mat-tooltip-font-size;
3471
+ padding-top: $mat-tooltip-vertical-padding;
3472
+ padding-bottom: $mat-tooltip-vertical-padding;
3473
+ }
3474
+ }
3475
+
3476
+
3477
+
3478
+
3479
+ @mixin mat-snack-bar-theme($theme) {
3480
+ $is-dark-theme: map-get($theme, is-dark);
3481
+ $accent: map-get($theme, accent);
3482
+
3483
+ .mat-snack-bar-container {
3484
+ background: if($is-dark-theme, map-get($mat-grey, 50), #323232);
3485
+ color: if($is-dark-theme, $black-87-opacity, white);
3486
+ }
3487
+
3488
+ .mat-simple-snackbar-action {
3489
+ color: if($is-dark-theme, inherit, mat-color($accent));
3490
+ }
3491
+ }
3492
+
3493
+ @mixin mat-snack-bar-typography($config) {
3494
+ .mat-simple-snackbar {
3495
+ font: {
3496
+ family: mat-font-family($config, body-1);
3497
+ size: mat-font-size($config, body-1);
3498
+ }
3499
+ }
3500
+
3501
+ .mat-simple-snackbar-action {
3502
+ line-height: 1;
3503
+ font: {
3504
+ family: inherit;
3505
+ size: inherit;
3506
+ weight: mat-font-weight($config, button);
3507
+ }
3508
+ }
3509
+ }
3510
+
3511
+
3512
+
3513
+
3514
+
3515
+
3516
+
3517
+
3518
+
3519
+ @mixin mat-form-field-theme($theme) {
3520
+ $primary: map-get($theme, primary);
3521
+ $accent: map-get($theme, accent);
3522
+ $warn: map-get($theme, warn);
3523
+ $background: map-get($theme, background);
3524
+ $foreground: map-get($theme, foreground);
3525
+ $is-dark-theme: map-get($theme, is-dark);
3526
+
3527
+ // Placeholder colors. Required is used for the `*` star shown in the placeholder.
3528
+ $placeholder-color: mat-color($foreground, secondary-text);
3529
+ $focused-placeholder-color: mat-color($primary);
3530
+ $required-placeholder-color: mat-color($accent);
3531
+
3532
+ // Underline colors.
3533
+ $underline-color: mat-color($foreground, divider, if($is-dark-theme, 0.7, 0.42));
3534
+ $underline-color-accent: mat-color($accent);
3535
+ $underline-color-warn: mat-color($warn);
3536
+ $underline-focused-color: mat-color($primary);
3537
+
3538
+ // Define the width here so that it is easier for users to override with one css class worth
3539
+ // of specificity.
3540
+ .mat-form-field {
3541
+ width: 200px;
3542
+ }
3543
+
3544
+ .mat-form-field-placeholder {
3545
+ color: $placeholder-color;
3546
+ }
3547
+
3548
+ .mat-hint {
3549
+ color: mat-color($foreground, secondary-text);
3550
+ }
3551
+
3552
+ .mat-focused .mat-form-field-placeholder {
3553
+ color: $focused-placeholder-color;
3554
+
3555
+ &.mat-accent {
3556
+ color: $underline-color-accent;
3557
+ }
3558
+
3559
+ &.mat-warn {
3560
+ color: $underline-color-warn;
3561
+ }
3562
+ }
3563
+
3564
+ .mat-focused .mat-form-field-required-marker {
3565
+ color: $required-placeholder-color;
3566
+ }
3567
+
3568
+ .mat-form-field-underline {
3569
+ background-color: $underline-color;
3570
+
3571
+ &.mat-disabled {
3572
+ @include mat-control-disabled-underline($underline-color);
3573
+ }
3574
+ }
3575
+
3576
+ .mat-form-field-ripple {
3577
+ background-color: $underline-focused-color;
3578
+
3579
+ &.mat-accent {
3580
+ background-color: $underline-color-accent;
3581
+ }
3582
+
3583
+ &.mat-warn {
3584
+ background-color: $underline-color-warn;
3585
+ }
3586
+ }
3587
+
3588
+ // Styling for the error state of the form field. Note that while the same can be
3589
+ // achieved with the ng-* classes, we use this approach in order to ensure that the same
3590
+ // logic is used to style the error state and to show the error messages.
3591
+ .mat-form-field-invalid {
3592
+ .mat-form-field-placeholder {
3593
+ color: $underline-color-warn;
3594
+
3595
+ &.mat-accent,
3596
+ .mat-form-field-required-marker {
3597
+ color: $underline-color-warn;
3598
+ }
3599
+ }
3600
+
3601
+ .mat-form-field-ripple {
3602
+ background-color: $underline-color-warn;
3603
+ }
3604
+ }
3605
+
3606
+ .mat-error {
3607
+ color: $underline-color-warn;
3608
+ }
3609
+ }
3610
+
3611
+ // Applies a floating placeholder above the form field control itself.
3612
+ @mixin _mat-form-field-placeholder-floating($font-scale, $infix-padding, $infix-margin-top) {
3613
+ // We use perspective to fix the text blurriness as described here:
3614
+ // http://www.useragentman.com/blog/2014/05/04/fixing-typography-inside-of-2-d-css-transforms/
3615
+ // This results in a small jitter after the label floats on Firefox, which the
3616
+ // translateZ fixes.
3617
+ transform: translateY(-$infix-margin-top - $infix-padding) scale($font-scale) perspective(100px)
3618
+ translateZ(0.001px);
3619
+ // The tricks above used to smooth out the animation on chrome and firefox actually make things
3620
+ // worse on IE, so we don't include them in the IE version.
3621
+ -ms-transform: translateY(-$infix-margin-top - $infix-padding) scale($font-scale);
3622
+
3623
+ width: 100% / $font-scale;
3624
+ }
3625
+
3626
+ @mixin mat-form-field-typography($config) {
3627
+ // The unit-less line-height from the font config.
3628
+ $line-height: mat-line-height($config, input);
3629
+
3630
+ // The amount to scale the font for the floating label and subscript.
3631
+ $subscript-font-scale: 0.75;
3632
+ // The amount to scale the font for the prefix and suffix icons.
3633
+ $prefix-suffix-icon-font-scale: 1.5;
3634
+
3635
+ // The amount of space between the top of the line and the top of the actual text
3636
+ // (as a fraction of the font-size).
3637
+ $line-spacing: ($line-height - 1) / 2;
3638
+ // The padding on the infix. Mocks show half of the text size, but seem to measure from the edge
3639
+ // of the text itself, not the edge of the line; therefore we subtract off the line spacing.
3640
+ $infix-padding: 0.5em - $line-spacing;
3641
+ // The margin applied to the form-field-infix to reserve space for the floating label.
3642
+ $infix-margin-top: 1em * $line-height * $subscript-font-scale;
3643
+ // Font size to use for the label and subscript text.
3644
+ $subscript-font-size: $subscript-font-scale * 100%;
3645
+ // Font size to use for the for the prefix and suffix icons.
3646
+ $prefix-suffix-icon-font-size: $prefix-suffix-icon-font-scale * 100%;
3647
+ // The space between the bottom of the .mat-form-field-flex area and the subscript wrapper.
3648
+ // Mocks show half of the text size, but this margin is applied to an element with the subscript
3649
+ // text font size, so we need to divide by the scale factor to make it half of the original text
3650
+ // size. We again need to subtract off the line spacing since the mocks measure to the edge of the
3651
+ // text, not the edge of the line.
3652
+ $subscript-margin-top: 0.5em / $subscript-font-scale - ($line-spacing * 2);
3653
+ // The padding applied to the form-field-wrapper to reserve space for the subscript, since it's
3654
+ // absolutely positioned. This is a combination of the subscript's margin and line-height, but we
3655
+ // need to multiply by the subscript font scale factor since the wrapper has a larger font size.
3656
+ $wrapper-padding-bottom: ($subscript-margin-top + $line-height) * $subscript-font-scale;
3657
+
3658
+ .mat-form-field {
3659
+ font-family: mat-font-family($config);
3660
+ font-size: inherit;
3661
+ font-weight: mat-font-weight($config, input);
3662
+ line-height: mat-line-height($config, input);
3663
+ }
3664
+
3665
+ .mat-form-field-wrapper {
3666
+ padding-bottom: $wrapper-padding-bottom;
3667
+ }
3668
+
3669
+ .mat-form-field-prefix,
3670
+ .mat-form-field-suffix {
3671
+ // Allow icons in a prefix or suffix to adapt to the correct size.
3672
+ .mat-icon {
3673
+ font-size: $prefix-suffix-icon-font-size;
3674
+ line-height: $line-height;
3675
+ }
3676
+
3677
+ // Allow icon buttons in a prefix or suffix to adapt to the correct size.
3678
+ .mat-icon-button {
3679
+ height: $prefix-suffix-icon-font-scale * 1em;
3680
+ width: $prefix-suffix-icon-font-scale * 1em;
3681
+
3682
+ .mat-icon {
3683
+ height: $line-height * 1em;
3684
+ line-height: $line-height;
3685
+ }
3686
+ }
3687
+ }
3688
+
3689
+ .mat-form-field-infix {
3690
+ padding: $infix-padding 0;
3691
+ // Throws off the baseline if we do it as a real margin, so we do it as a border instead.
3692
+ border-top: $infix-margin-top solid transparent;
3693
+ }
3694
+
3695
+ .mat-form-field-can-float {
3696
+ &.mat-form-field-should-float .mat-form-field-placeholder {
3697
+ @include _mat-form-field-placeholder-floating(
3698
+ $subscript-font-scale, $infix-padding, $infix-margin-top);
3699
+ }
3700
+
3701
+ .mat-form-field-autofill-control:-webkit-autofill + .mat-form-field-placeholder-wrapper
3702
+ .mat-form-field-placeholder {
3703
+ @include _mat-form-field-placeholder-floating(
3704
+ $subscript-font-scale, $infix-padding, $infix-margin-top);
3705
+ }
3706
+ }
3707
+
3708
+ .mat-form-field-placeholder-wrapper {
3709
+ top: -$infix-margin-top;
3710
+ padding-top: $infix-margin-top;
3711
+ }
3712
+
3713
+ .mat-form-field-placeholder {
3714
+ top: $infix-margin-top + $infix-padding;
3715
+ }
3716
+
3717
+ .mat-form-field-underline {
3718
+ // We want the underline to start at the end of the content box, not the padding box,
3719
+ // so we move it up by the padding amount.
3720
+ bottom: $wrapper-padding-bottom;
3721
+ }
3722
+
3723
+ .mat-form-field-subscript-wrapper {
3724
+ font-size: $subscript-font-size;
3725
+ margin-top: $subscript-margin-top;
3726
+
3727
+ // We want the subscript to start at the end of the content box, not the padding box,
3728
+ // so we move it up by the padding amount (adjusted for the smaller font size);
3729
+ top: calc(100% - #{$wrapper-padding-bottom / $subscript-font-scale});
3730
+ }
3731
+ }
3732
+
3733
+
3734
+
3735
+ // Includes all of the typographic styles.
3736
+ @mixin angular-material-typography($config: null) {
3737
+ @if $config == null {
3738
+ $config: mat-typography-config();
3739
+ }
3740
+
3741
+ @include mat-base-typography($config);
3742
+ @include mat-autocomplete-typography($config);
3743
+ @include mat-button-typography($config);
3744
+ @include mat-button-toggle-typography($config);
3745
+ @include mat-card-typography($config);
3746
+ @include mat-checkbox-typography($config);
3747
+ @include mat-chips-typography($config);
3748
+ @include mat-table-typography($config);
3749
+ @include mat-datepicker-typography($config);
3750
+ @include mat-dialog-typography($config);
3751
+ @include mat-expansion-panel-typography($config);
3752
+ @include mat-form-field-typography($config);
3753
+ @include mat-grid-list-typography($config);
3754
+ @include mat-icon-typography($config);
3755
+ @include mat-input-typography($config);
3756
+ @include mat-menu-typography($config);
3757
+ @include mat-paginator-typography($config);
3758
+ @include mat-progress-bar-typography($config);
3759
+ @include mat-progress-spinner-typography($config);
3760
+ @include mat-radio-typography($config);
3761
+ @include mat-select-typography($config);
3762
+ @include mat-sidenav-typography($config);
3763
+ @include mat-slide-toggle-typography($config);
3764
+ @include mat-slider-typography($config);
3765
+ @include mat-stepper-typography($config);
3766
+ @include mat-tabs-typography($config);
3767
+ @include mat-toolbar-typography($config);
3768
+ @include mat-tooltip-typography($config);
3769
+ @include mat-list-typography($config);
3770
+ @include mat-option-typography($config);
3771
+ @include mat-optgroup-typography($config);
3772
+ @include mat-snack-bar-typography($config);
3773
+ }
3774
+
3775
+
3776
+ // Mixin that renders all of the core styles that are not theme-dependent.
3777
+ @mixin mat-core($typography-config: null) {
3778
+ // Provides external CSS classes for each elevation value. Each CSS class is formatted as
3779
+ // `mat-elevation-z$zValue` where `$zValue` corresponds to the z-space to which the element is
3780
+ // elevated.
3781
+ @for $zValue from 0 through 24 {
3782
+ .#{$_mat-elevation-prefix}#{$zValue} {
3783
+ @include mat-elevation($zValue);
3784
+ }
3785
+ }
3786
+
3787
+ @include angular-material-typography($typography-config);
3788
+ @include mat-ripple();
3789
+ @include mat-option();
3790
+ @include mat-optgroup();
3791
+ @include cdk-a11y();
3792
+ @include cdk-overlay();
3793
+ }
3794
+
3795
+ // Mixin that renders all of the core styles that depend on the theme.
3796
+ @mixin mat-core-theme($theme) {
3797
+ @include mat-ripple-theme($theme);
3798
+ @include mat-option-theme($theme);
3799
+ @include mat-optgroup-theme($theme);
3800
+ @include mat-pseudo-checkbox-theme($theme);
3801
+
3802
+ // Wrapper element that provides the theme background when the
3803
+ // user's content isn't inside of a `mat-sidenav-container`.
3804
+ .mat-app-background {
3805
+ $background: map-get($theme, background);
3806
+ background-color: mat-color($background, background);
3807
+ }
3808
+
3809
+ // Marker that is used to determine whether the user has added a theme to their page.
3810
+ .mat-theme-loaded-marker {
3811
+ display: none;
3812
+ }
3813
+ }
3814
+
3815
+
3816
+
3817
+
3818
+
3819
+
3820
+
3821
+
3822
+
3823
+
3824
+
3825
+
3826
+
3827
+
3828
+
3829
+
3830
+
3831
+
3832
+
3833
+
3834
+
3835
+
3836
+
3837
+
3838
+
3839
+
3840
+
3841
+
3842
+
3843
+
3844
+
3845
+
3846
+ // Create a theme.
3847
+ @mixin angular-material-theme($theme) {
3848
+ @include mat-core-theme($theme);
3849
+ @include mat-autocomplete-theme($theme);
3850
+ @include mat-button-theme($theme);
3851
+ @include mat-button-toggle-theme($theme);
3852
+ @include mat-card-theme($theme);
3853
+ @include mat-checkbox-theme($theme);
3854
+ @include mat-chips-theme($theme);
3855
+ @include mat-table-theme($theme);
3856
+ @include mat-datepicker-theme($theme);
3857
+ @include mat-dialog-theme($theme);
3858
+ @include mat-expansion-panel-theme($theme);
3859
+ @include mat-form-field-theme($theme);
3860
+ @include mat-grid-list-theme($theme);
3861
+ @include mat-icon-theme($theme);
3862
+ @include mat-input-theme($theme);
3863
+ @include mat-list-theme($theme);
3864
+ @include mat-menu-theme($theme);
3865
+ @include mat-paginator-theme($theme);
3866
+ @include mat-progress-bar-theme($theme);
3867
+ @include mat-progress-spinner-theme($theme);
3868
+ @include mat-radio-theme($theme);
3869
+ @include mat-select-theme($theme);
3870
+ @include mat-sidenav-theme($theme);
3871
+ @include mat-slide-toggle-theme($theme);
3872
+ @include mat-slider-theme($theme);
3873
+ @include mat-stepper-theme($theme);
3874
+ @include mat-tabs-theme($theme);
3875
+ @include mat-toolbar-theme($theme);
3876
+ @include mat-tooltip-theme($theme);
3877
+ @include mat-snack-bar-theme($theme);
3878
+ }