@angular/material 20.0.0-next.0 → 20.0.0-next.10

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 (698) hide show
  1. package/_index.scss +1 -1
  2. package/autocomplete/_autocomplete-theme.scss +18 -18
  3. package/{core/tokens/m2/mat/_autocomplete.scss → autocomplete/_m2-autocomplete.scss} +7 -7
  4. package/{core/tokens/m3/mat/_autocomplete.scss → autocomplete/_m3-autocomplete.scss} +4 -4
  5. package/autocomplete/index.d.ts +100 -127
  6. package/autocomplete/testing/index.d.ts +7 -11
  7. package/badge/_badge-theme.scss +21 -21
  8. package/{core/tokens/m2/mat/_badge.scss → badge/_m2-badge.scss} +6 -6
  9. package/{core/tokens/m3/mat/_badge.scss → badge/_m3-badge.scss} +28 -27
  10. package/badge/index.d.ts +8 -112
  11. package/badge/testing/index.d.ts +8 -8
  12. package/badge.d-D0iThVg0.d.ts +99 -0
  13. package/bottom-sheet/_bottom-sheet-theme.scss +15 -15
  14. package/{core/tokens/m2/mat/_bottom-sheet.scss → bottom-sheet/_m2-bottom-sheet.scss} +6 -6
  15. package/{core/tokens/m3/mat/_bottom-sheet.scss → bottom-sheet/_m3-bottom-sheet.scss} +5 -5
  16. package/bottom-sheet/index.d.ts +91 -103
  17. package/bottom-sheet/testing/index.d.ts +5 -6
  18. package/button/_button-theme.scss +34 -333
  19. package/button/_fab-theme.scss +23 -128
  20. package/button/_icon-button-theme.scss +29 -36
  21. package/button/_m2-button.scss +249 -0
  22. package/button/_m2-fab.scss +132 -0
  23. package/{core/tokens/m2/mat/_icon-button.scss → button/_m2-icon-button.scss} +35 -26
  24. package/button/_m3-button.scss +260 -0
  25. package/button/_m3-fab.scss +187 -0
  26. package/{core/tokens/m3/mat/_icon-button.scss → button/_m3-icon-button.scss} +32 -7
  27. package/button/index.d.ts +107 -135
  28. package/button/testing/index.d.ts +14 -10
  29. package/button-toggle/_button-toggle-theme.scss +26 -44
  30. package/{core/tokens/m2/mat/_standard-button-toggle.scss → button-toggle/_m2-button-toggle.scss} +40 -20
  31. package/{core/tokens/m3/mat/_standard-button-toggle.scss → button-toggle/_m3-button-toggle.scss} +24 -9
  32. package/button-toggle/index.d.ts +12 -285
  33. package/button-toggle/testing/index.d.ts +39 -37
  34. package/button-toggle.d-B_G01PhW.d.ts +258 -0
  35. package/card/_card-theme.scss +18 -70
  36. package/{core/tokens/m2/mat/_card.scss → card/_m2-card.scss} +20 -18
  37. package/card/_m3-card.scss +48 -0
  38. package/card/index.d.ts +81 -117
  39. package/card/testing/index.d.ts +12 -15
  40. package/checkbox/_checkbox-theme.scss +30 -52
  41. package/{core/tokens/m2/mdc/_checkbox.scss → checkbox/_m2-checkbox.scss} +31 -53
  42. package/checkbox/_m3-checkbox.scss +103 -0
  43. package/checkbox/index.d.ts +45 -105
  44. package/checkbox/testing/index.d.ts +7 -10
  45. package/chips/_chips-theme.scss +24 -67
  46. package/chips/_m2-chip.scss +127 -0
  47. package/chips/_m3-chip.scss +129 -0
  48. package/chips/index.d.ts +624 -694
  49. package/chips/testing/index.d.ts +79 -93
  50. package/common-module.d-C8xzHJDr.d.ts +44 -0
  51. package/core/_core-theme.scss +34 -54
  52. package/core/_core.scss +6 -6
  53. package/core/{tokens/m2/mat/_app.scss → _m2-app.scss} +8 -7
  54. package/core/{tokens/m3/mat/_app.scss → _m3-app.scss} +4 -4
  55. package/core/density/private/_all-density.scss +38 -38
  56. package/core/index.d.ts +60 -976
  57. package/core/m2/_theming.scss +68 -44
  58. package/core/{tokens/m2/mat/_optgroup.scss → option/_m2-optgroup.scss} +6 -6
  59. package/core/{tokens/m2/mat/_option.scss → option/_m2-option.scss} +6 -6
  60. package/core/{tokens/m3/mat/_optgroup.scss → option/_m3-optgroup.scss} +4 -4
  61. package/core/option/_m3-option.scss +57 -0
  62. package/core/option/_optgroup-theme.scss +10 -14
  63. package/core/option/_option-theme.scss +14 -22
  64. package/core/{tokens/m2/mat/_ripple.scss → ripple/_m2-ripple.scss} +6 -6
  65. package/core/{tokens/m3/mat/_ripple.scss → ripple/_m3-ripple.scss} +3 -3
  66. package/core/ripple/_ripple-theme.scss +15 -15
  67. package/core/ripple/_ripple.scss +3 -4
  68. package/core/{tokens/m2/mat/_full-pseudo-checkbox.scss → selection/pseudo-checkbox/_m2-pseudo-checkbox.scss} +15 -13
  69. package/core/selection/pseudo-checkbox/_m3-pseudo-checkbox.scss +49 -0
  70. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +10 -38
  71. package/core/testing/index.d.ts +9 -42
  72. package/core/theming/_color-api-backwards-compatibility.scss +19 -8
  73. package/core/theming/_definition.scss +2 -3
  74. package/core/theming/_inspection.scss +3 -2
  75. package/core/tokens/_m2-tokens.scss +131 -0
  76. package/core/tokens/_m2-utils.scss +109 -0
  77. package/core/tokens/_m3-system.scss +67 -27
  78. package/core/tokens/_m3-tokens.scss +113 -33
  79. package/core/tokens/_m3-utils.scss +85 -0
  80. package/core/tokens/_token-utils.scss +69 -67
  81. package/core/tokens/m3/_index.scss +8 -163
  82. package/core/tokens/m3/{definitions/_md-sys-color.scss → _md-sys-color.scss} +44 -2
  83. package/core/tokens/m3/{definitions/_md-sys-typescale.scss → _md-sys-typescale.scss} +20 -1
  84. package/date-adapter.d-CtKXIxk0.d.ts +267 -0
  85. package/date-range-input-harness.d-CaEyN8dT.d.ts +279 -0
  86. package/datepicker/_datepicker-theme.scss +27 -42
  87. package/{core/tokens/m2/mat/_datepicker.scss → datepicker/_m2-datepicker.scss} +7 -7
  88. package/{core/tokens/m3/mat/_datepicker.scss → datepicker/_m3-datepicker.scss} +13 -11
  89. package/datepicker/index.d.ts +1336 -1481
  90. package/datepicker/testing/index.d.ts +5 -287
  91. package/dialog/_dialog-theme.scss +12 -39
  92. package/{core/tokens/m2/mdc/_dialog.scss → dialog/_m2-dialog.scss} +21 -50
  93. package/dialog/_m3-dialog.scss +47 -0
  94. package/dialog/index.d.ts +59 -453
  95. package/dialog/testing/index.d.ts +23 -26
  96. package/dialog.d-DsYAn2Gk.d.ts +339 -0
  97. package/divider/_divider-theme.scss +10 -14
  98. package/{core/tokens/m2/mat/_divider.scss → divider/_m2-divider.scss} +6 -6
  99. package/{core/tokens/m3/mat/_divider.scss → divider/_m3-divider.scss} +3 -3
  100. package/divider/index.d.ts +6 -11
  101. package/divider/testing/index.d.ts +5 -6
  102. package/error-options.d-CGdTZUYk.d.ts +17 -0
  103. package/expansion/_expansion-theme.scss +19 -22
  104. package/{core/tokens/m2/mat/_expansion.scss → expansion/_m2-expansion.scss} +7 -7
  105. package/{core/tokens/m3/mat/_expansion.scss → expansion/_m3-expansion.scss} +22 -8
  106. package/expansion/index.d.ts +140 -190
  107. package/expansion/testing/index.d.ts +26 -31
  108. package/fesm2022/animation-DfMFjxHu.mjs +41 -0
  109. package/fesm2022/animation-DfMFjxHu.mjs.map +1 -0
  110. package/fesm2022/autocomplete/testing.mjs +2 -1
  111. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  112. package/fesm2022/autocomplete.mjs +79 -51
  113. package/fesm2022/autocomplete.mjs.map +1 -1
  114. package/fesm2022/badge/testing.mjs.map +1 -1
  115. package/fesm2022/badge.mjs +22 -23
  116. package/fesm2022/badge.mjs.map +1 -1
  117. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  118. package/fesm2022/bottom-sheet.mjs +33 -22
  119. package/fesm2022/bottom-sheet.mjs.map +1 -1
  120. package/fesm2022/button/testing.mjs +34 -15
  121. package/fesm2022/button/testing.mjs.map +1 -1
  122. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  123. package/fesm2022/button-toggle.mjs +28 -19
  124. package/fesm2022/button-toggle.mjs.map +1 -1
  125. package/fesm2022/button.mjs +114 -285
  126. package/fesm2022/button.mjs.map +1 -1
  127. package/fesm2022/card/testing.mjs.map +1 -1
  128. package/fesm2022/card.mjs +52 -52
  129. package/fesm2022/card.mjs.map +1 -1
  130. package/fesm2022/checkbox/testing.mjs.map +1 -1
  131. package/fesm2022/checkbox.mjs +39 -78
  132. package/fesm2022/checkbox.mjs.map +1 -1
  133. package/fesm2022/chips/testing.mjs +7 -1
  134. package/fesm2022/chips/testing.mjs.map +1 -1
  135. package/fesm2022/chips.mjs +104 -66
  136. package/fesm2022/chips.mjs.map +1 -1
  137. package/fesm2022/common-module-DZl8g1kc.mjs +42 -0
  138. package/fesm2022/common-module-DZl8g1kc.mjs.map +1 -0
  139. package/fesm2022/core/testing.mjs +2 -43
  140. package/fesm2022/core/testing.mjs.map +1 -1
  141. package/fesm2022/core.mjs +39 -1620
  142. package/fesm2022/core.mjs.map +1 -1
  143. package/fesm2022/date-formats-K6TQue-Y.mjs +190 -0
  144. package/fesm2022/date-formats-K6TQue-Y.mjs.map +1 -0
  145. package/fesm2022/date-range-input-harness-Bp1T4oUe.mjs +467 -0
  146. package/fesm2022/date-range-input-harness-Bp1T4oUe.mjs.map +1 -0
  147. package/fesm2022/datepicker/testing.mjs +5 -465
  148. package/fesm2022/datepicker/testing.mjs.map +1 -1
  149. package/fesm2022/datepicker.mjs +198 -156
  150. package/fesm2022/datepicker.mjs.map +1 -1
  151. package/fesm2022/dialog/testing.mjs +14 -1
  152. package/fesm2022/dialog/testing.mjs.map +1 -1
  153. package/fesm2022/dialog.mjs +16 -895
  154. package/fesm2022/dialog.mjs.map +1 -1
  155. package/fesm2022/divider/testing.mjs.map +1 -1
  156. package/fesm2022/divider.mjs +11 -13
  157. package/fesm2022/divider.mjs.map +1 -1
  158. package/fesm2022/error-options-BWOa3B4G.mjs +29 -0
  159. package/fesm2022/error-options-BWOa3B4G.mjs.map +1 -0
  160. package/fesm2022/error-state-Dtb1IHM-.mjs +37 -0
  161. package/fesm2022/error-state-Dtb1IHM-.mjs.map +1 -0
  162. package/fesm2022/expansion/testing.mjs.map +1 -1
  163. package/fesm2022/expansion.mjs +36 -37
  164. package/fesm2022/expansion.mjs.map +1 -1
  165. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  166. package/fesm2022/form-field/testing.mjs +7 -6
  167. package/fesm2022/form-field/testing.mjs.map +1 -1
  168. package/fesm2022/form-field-BZd6Vhww.mjs +1101 -0
  169. package/fesm2022/form-field-BZd6Vhww.mjs.map +1 -0
  170. package/fesm2022/form-field.mjs +16 -1110
  171. package/fesm2022/form-field.mjs.map +1 -1
  172. package/fesm2022/grid-list/testing.mjs +2 -2
  173. package/fesm2022/grid-list/testing.mjs.map +1 -1
  174. package/fesm2022/grid-list.mjs +32 -176
  175. package/fesm2022/grid-list.mjs.map +1 -1
  176. package/fesm2022/icon/testing.mjs +11 -12
  177. package/fesm2022/icon/testing.mjs.map +1 -1
  178. package/fesm2022/icon-button-4VvBKIK4.mjs +212 -0
  179. package/fesm2022/icon-button-4VvBKIK4.mjs.map +1 -0
  180. package/fesm2022/icon-registry-Bk5cM8Z5.mjs +638 -0
  181. package/fesm2022/icon-registry-Bk5cM8Z5.mjs.map +1 -0
  182. package/fesm2022/icon.mjs +24 -642
  183. package/fesm2022/icon.mjs.map +1 -1
  184. package/fesm2022/index-BHJ4tVIe.mjs +22 -0
  185. package/fesm2022/index-BHJ4tVIe.mjs.map +1 -0
  186. package/fesm2022/index-D2rZ0V78.mjs +20 -0
  187. package/fesm2022/index-D2rZ0V78.mjs.map +1 -0
  188. package/fesm2022/input/testing.mjs +5 -113
  189. package/fesm2022/input/testing.mjs.map +1 -1
  190. package/fesm2022/input-harness-oQzj5EsQ.mjs +115 -0
  191. package/fesm2022/input-harness-oQzj5EsQ.mjs.map +1 -0
  192. package/fesm2022/input-value-accessor-D1GvPuqO.mjs +12 -0
  193. package/fesm2022/input-value-accessor-D1GvPuqO.mjs.map +1 -0
  194. package/fesm2022/input.mjs +32 -40
  195. package/fesm2022/input.mjs.map +1 -1
  196. package/fesm2022/internal-form-field-DVvKYBKJ.mjs +27 -0
  197. package/fesm2022/internal-form-field-DVvKYBKJ.mjs.map +1 -0
  198. package/fesm2022/line-Dwrcg_t9.mjs +59 -0
  199. package/fesm2022/line-Dwrcg_t9.mjs.map +1 -0
  200. package/fesm2022/list/testing.mjs +2 -2
  201. package/fesm2022/list/testing.mjs.map +1 -1
  202. package/fesm2022/list.mjs +71 -68
  203. package/fesm2022/list.mjs.map +1 -1
  204. package/fesm2022/material.mjs.map +1 -1
  205. package/fesm2022/menu/testing.mjs.map +1 -1
  206. package/fesm2022/menu.mjs +57 -46
  207. package/fesm2022/menu.mjs.map +1 -1
  208. package/fesm2022/module-CTd5xD2i.mjs +39 -0
  209. package/fesm2022/module-CTd5xD2i.mjs.map +1 -0
  210. package/fesm2022/module-D-cNfopD.mjs +891 -0
  211. package/fesm2022/module-D-cNfopD.mjs.map +1 -0
  212. package/fesm2022/module-X29xYsIk.mjs +970 -0
  213. package/fesm2022/module-X29xYsIk.mjs.map +1 -0
  214. package/fesm2022/module-qRXgbi2L.mjs +1312 -0
  215. package/fesm2022/module-qRXgbi2L.mjs.map +1 -0
  216. package/fesm2022/option-MOeehkAg.mjs +348 -0
  217. package/fesm2022/option-MOeehkAg.mjs.map +1 -0
  218. package/fesm2022/option-harness-BFcc-M_4.mjs +46 -0
  219. package/fesm2022/option-harness-BFcc-M_4.mjs.map +1 -0
  220. package/fesm2022/paginator/testing.mjs +4 -1
  221. package/fesm2022/paginator/testing.mjs.map +1 -1
  222. package/fesm2022/paginator.mjs +54 -22
  223. package/fesm2022/paginator.mjs.map +1 -1
  224. package/fesm2022/progress-bar/testing.mjs +0 -4
  225. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  226. package/fesm2022/progress-bar.mjs +20 -19
  227. package/fesm2022/progress-bar.mjs.map +1 -1
  228. package/fesm2022/progress-spinner/testing.mjs +0 -4
  229. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  230. package/fesm2022/progress-spinner.mjs +22 -20
  231. package/fesm2022/progress-spinner.mjs.map +1 -1
  232. package/fesm2022/pseudo-checkbox-BFGIaGxz.mjs +53 -0
  233. package/fesm2022/pseudo-checkbox-BFGIaGxz.mjs.map +1 -0
  234. package/fesm2022/pseudo-checkbox-module-Dxth-mPi.mjs +20 -0
  235. package/fesm2022/pseudo-checkbox-module-Dxth-mPi.mjs.map +1 -0
  236. package/fesm2022/public-api-BoO5eSq-.mjs +147 -0
  237. package/fesm2022/public-api-BoO5eSq-.mjs.map +1 -0
  238. package/fesm2022/radio/testing.mjs.map +1 -1
  239. package/fesm2022/radio.mjs +28 -20
  240. package/fesm2022/radio.mjs.map +1 -1
  241. package/fesm2022/ripple-CuyVtN3V.mjs +640 -0
  242. package/fesm2022/ripple-CuyVtN3V.mjs.map +1 -0
  243. package/fesm2022/ripple-loader-pOctSZby.mjs +162 -0
  244. package/fesm2022/ripple-loader-pOctSZby.mjs.map +1 -0
  245. package/fesm2022/select/testing.mjs +3 -2
  246. package/fesm2022/select/testing.mjs.map +1 -1
  247. package/fesm2022/select.mjs +32 -1311
  248. package/fesm2022/select.mjs.map +1 -1
  249. package/fesm2022/sidenav/testing.mjs +1 -1
  250. package/fesm2022/sidenav/testing.mjs.map +1 -1
  251. package/fesm2022/sidenav.mjs +39 -38
  252. package/fesm2022/sidenav.mjs.map +1 -1
  253. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  254. package/fesm2022/slide-toggle.mjs +32 -80
  255. package/fesm2022/slide-toggle.mjs.map +1 -1
  256. package/fesm2022/slider/testing.mjs.map +1 -1
  257. package/fesm2022/slider.mjs +33 -29
  258. package/fesm2022/slider.mjs.map +1 -1
  259. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  260. package/fesm2022/snack-bar.mjs +55 -53
  261. package/fesm2022/snack-bar.mjs.map +1 -1
  262. package/fesm2022/sort/testing.mjs.map +1 -1
  263. package/fesm2022/sort.mjs +31 -23
  264. package/fesm2022/sort.mjs.map +1 -1
  265. package/fesm2022/stepper/testing.mjs.map +1 -1
  266. package/fesm2022/stepper.mjs +60 -45
  267. package/fesm2022/stepper.mjs.map +1 -1
  268. package/fesm2022/structural-styles-CasigI3l.mjs +18 -0
  269. package/fesm2022/structural-styles-CasigI3l.mjs.map +1 -0
  270. package/fesm2022/table/testing.mjs.map +1 -1
  271. package/fesm2022/table.mjs +61 -65
  272. package/fesm2022/table.mjs.map +1 -1
  273. package/fesm2022/tabs/testing.mjs.map +1 -1
  274. package/fesm2022/tabs.mjs +89 -85
  275. package/fesm2022/tabs.mjs.map +1 -1
  276. package/fesm2022/timepicker/testing.mjs +1 -1
  277. package/fesm2022/timepicker/testing.mjs.map +1 -1
  278. package/fesm2022/timepicker.mjs +51 -41
  279. package/fesm2022/timepicker.mjs.map +1 -1
  280. package/fesm2022/toolbar/testing.mjs.map +1 -1
  281. package/fesm2022/toolbar.mjs +15 -18
  282. package/fesm2022/toolbar.mjs.map +1 -1
  283. package/fesm2022/tooltip/testing.mjs.map +1 -1
  284. package/fesm2022/tooltip.mjs +17 -960
  285. package/fesm2022/tooltip.mjs.map +1 -1
  286. package/fesm2022/tree/testing.mjs.map +1 -1
  287. package/fesm2022/tree.mjs +29 -31
  288. package/fesm2022/tree.mjs.map +1 -1
  289. package/form-field/_form-field-theme.scss +30 -97
  290. package/{core/tokens/m2/mat/_form-field.scss → form-field/_m2-form-field.scss} +94 -13
  291. package/form-field/_m3-form-field.scss +153 -0
  292. package/form-field/index.d.ts +16 -508
  293. package/form-field/testing/control/index.d.ts +2 -2
  294. package/form-field/testing/index.d.ts +19 -24
  295. package/form-field-control.d-DvB4ZVlf.d.ts +64 -0
  296. package/form-field.d-b9aHrR4I.d.ts +373 -0
  297. package/grid-list/_grid-list-theme.scss +8 -10
  298. package/{core/tokens/m2/mat/_grid-list.scss → grid-list/_m2-grid-list.scss} +6 -6
  299. package/{core/tokens/m3/mat/_grid-list.scss → grid-list/_m3-grid-list.scss} +2 -2
  300. package/grid-list/index.d.ts +127 -152
  301. package/grid-list/testing/index.d.ts +40 -44
  302. package/icon/_icon-theme.scss +13 -13
  303. package/{core/tokens/m2/mat/_icon.scss → icon/_m2-icon.scss} +5 -5
  304. package/{core/tokens/m3/mat/_icon.scss → icon/_m3-icon.scss} +8 -6
  305. package/icon/index.d.ts +9 -470
  306. package/icon/testing/index.d.ts +42 -44
  307. package/icon-module.d-sA1hmRKS.d.ts +168 -0
  308. package/icon-registry.d-BVwP8t9_.d.ts +287 -0
  309. package/index.d-C5neTPvr.d.ts +11 -0
  310. package/index.d-CikM2bbf.d.ts +13 -0
  311. package/index.d.ts +2 -3
  312. package/input/_input-theme.scss +1 -1
  313. package/input/index.d.ts +39 -64
  314. package/input/testing/index.d.ts +14 -71
  315. package/input-harness.d-8fkAAbu2.d.ts +61 -0
  316. package/line.d-C-QdueRc.d.ts +25 -0
  317. package/list/_list-theme.scss +41 -71
  318. package/list/_m2-list.scss +133 -0
  319. package/list/_m3-list.scss +92 -0
  320. package/list/index.d.ts +155 -244
  321. package/list/testing/index.d.ts +159 -180
  322. package/list-option-types.d-77dQtwu8.d.ts +15 -0
  323. package/{core/tokens/m2/mat/_menu.scss → menu/_m2-menu.scss} +7 -7
  324. package/{core/tokens/m3/mat/_menu.scss → menu/_m3-menu.scss} +14 -17
  325. package/menu/_menu-theme.scss +12 -18
  326. package/menu/index.d.ts +185 -231
  327. package/menu/testing/index.d.ts +18 -23
  328. package/module.d-BGzxQfCs.d.ts +18 -0
  329. package/module.d-CH_8jCsD.d.ts +454 -0
  330. package/module.d-m-qXd3m8.d.ts +329 -0
  331. package/option-harness.d-IqsW95GR.d.ts +35 -0
  332. package/option-parent.d-CnYuuMkO.d.ts +20 -0
  333. package/option.d-BVGX3edu.d.ts +146 -0
  334. package/package.json +5 -2
  335. package/{core/tokens/m2/mat/_paginator.scss → paginator/_m2-paginator.scss} +7 -7
  336. package/{core/tokens/m3/mat/_paginator.scss → paginator/_m3-paginator.scss} +20 -4
  337. package/paginator/_paginator-theme.scss +17 -18
  338. package/paginator/index.d.ts +31 -216
  339. package/paginator/testing/index.d.ts +15 -15
  340. package/paginator.d-3kymf0wo.d.ts +200 -0
  341. package/palette.d-BSSFKjO6.d.ts +4 -0
  342. package/prebuilt-themes/azure-blue.css +1 -1
  343. package/prebuilt-themes/cyan-orange.css +1 -1
  344. package/prebuilt-themes/deeppurple-amber.css +1 -1
  345. package/prebuilt-themes/indigo-pink.css +1 -1
  346. package/prebuilt-themes/magenta-violet.css +1 -1
  347. package/prebuilt-themes/pink-bluegrey.css +1 -1
  348. package/prebuilt-themes/purple-green.css +1 -1
  349. package/prebuilt-themes/rose-red.css +1 -1
  350. package/{core/tokens/m2/mdc/_linear-progress.scss → progress-bar/_m2-progress-bar.scss} +7 -8
  351. package/{core/tokens/m3/mdc/_linear-progress.scss → progress-bar/_m3-progress-bar.scss} +11 -6
  352. package/progress-bar/_progress-bar-theme.scss +11 -11
  353. package/progress-bar/index.d.ts +41 -60
  354. package/progress-bar/testing/index.d.ts +8 -10
  355. package/{core/tokens/m2/mdc/_tab-indicator.scss → progress-spinner/_m2-progress-spinner.scss} +10 -11
  356. package/{core/tokens/m3/mdc/_circular-progress.scss → progress-spinner/_m3-progress-spinner.scss} +10 -6
  357. package/progress-spinner/_progress-spinner-theme.scss +17 -17
  358. package/progress-spinner/index.d.ts +8 -110
  359. package/progress-spinner/testing/index.d.ts +11 -11
  360. package/progress-spinner.d-DtYCWeYd.d.ts +97 -0
  361. package/pseudo-checkbox-module.d-BHmTZ10P.d.ts +45 -0
  362. package/{core/tokens/m2/mdc/_radio.scss → radio/_m2-radio.scss} +28 -36
  363. package/radio/_m3-radio.scss +79 -0
  364. package/radio/_radio-theme.scss +27 -56
  365. package/radio/index.d.ts +152 -170
  366. package/radio/testing/index.d.ts +62 -67
  367. package/ripple-loader.d-9me-KFSi.d.ts +48 -0
  368. package/ripple.d-BT30YVLB.d.ts +256 -0
  369. package/schematics/ng-add/fonts/material-fonts.js +3 -3
  370. package/schematics/ng-add/fonts/material-fonts.js.map +1 -0
  371. package/schematics/ng-add/index.js +2 -2
  372. package/schematics/ng-add/index.js.map +1 -0
  373. package/schematics/ng-add/package-config.js +1 -1
  374. package/schematics/ng-add/package-config.js.map +1 -0
  375. package/schematics/ng-add/schema.js +1 -1
  376. package/schematics/ng-add/schema.js.map +1 -0
  377. package/schematics/ng-add/setup-project.js +5 -5
  378. package/schematics/ng-add/setup-project.js.map +1 -0
  379. package/schematics/ng-add/theming/create-custom-theme.js +1 -1
  380. package/schematics/ng-add/theming/create-custom-theme.js.map +1 -0
  381. package/schematics/ng-add/theming/theming.js +6 -8
  382. package/schematics/ng-add/theming/theming.js.map +1 -0
  383. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
  384. package/schematics/ng-generate/address-form/index.js +1 -1
  385. package/schematics/ng-generate/address-form/index.js.map +1 -0
  386. package/schematics/ng-generate/address-form/schema.js +1 -1
  387. package/schematics/ng-generate/address-form/schema.js.map +1 -0
  388. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
  389. package/schematics/ng-generate/dashboard/index.js +1 -1
  390. package/schematics/ng-generate/dashboard/index.js.map +1 -0
  391. package/schematics/ng-generate/dashboard/schema.js +1 -1
  392. package/schematics/ng-generate/dashboard/schema.js.map +1 -0
  393. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
  394. package/schematics/ng-generate/navigation/index.js +1 -1
  395. package/schematics/ng-generate/navigation/index.js.map +1 -0
  396. package/schematics/ng-generate/navigation/schema.js +1 -1
  397. package/schematics/ng-generate/navigation/schema.js.map +1 -0
  398. package/schematics/ng-generate/table/index.js +1 -1
  399. package/schematics/ng-generate/table/index.js.map +1 -0
  400. package/schematics/ng-generate/table/schema.js +1 -1
  401. package/schematics/ng-generate/table/schema.js.map +1 -0
  402. package/schematics/ng-generate/theme-color/index_bundled.js +1711 -225
  403. package/schematics/ng-generate/theme-color/index_bundled.js.map +2 -3
  404. package/schematics/ng-generate/theme-color/schema.json +10 -0
  405. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
  406. package/schematics/ng-generate/tree/index.js +1 -1
  407. package/schematics/ng-generate/tree/index.js.map +1 -0
  408. package/schematics/ng-generate/tree/schema.js +1 -1
  409. package/schematics/ng-generate/tree/schema.js.map +1 -0
  410. package/schematics/ng-update/index_bundled.js +3465 -4099
  411. package/schematics/ng-update/index_bundled.js.map +3 -4
  412. package/schematics/tsconfig.json +26 -0
  413. package/{core/tokens/m2/mat/_select.scss → select/_m2-select.scss} +11 -11
  414. package/{core/tokens/m3/mat/_select.scss → select/_m3-select.scss} +22 -7
  415. package/select/_select-theme.scss +30 -26
  416. package/select/index.d.ts +25 -505
  417. package/select/testing/index.d.ts +13 -16
  418. package/{core/tokens/m2/mat/_sidenav.scss → sidenav/_m2-sidenav.scss} +7 -7
  419. package/{core/tokens/m3/mat/_sidenav.scss → sidenav/_m3-sidenav.scss} +6 -6
  420. package/sidenav/_sidenav-theme.scss +12 -16
  421. package/sidenav/index.d.ts +51 -93
  422. package/sidenav/testing/index.d.ts +59 -63
  423. package/slide-toggle/_m2-slide-toggle.scss +167 -0
  424. package/slide-toggle/_m3-slide-toggle.scss +160 -0
  425. package/slide-toggle/_slide-toggle-theme.scss +55 -48
  426. package/slide-toggle/index.d.ts +40 -110
  427. package/slide-toggle/testing/index.d.ts +18 -21
  428. package/{core/tokens/m2/mdc/_slider.scss → slider/_m2-slider.scss} +29 -68
  429. package/slider/_m3-slider.scss +121 -0
  430. package/slider/_slider-theme.scss +18 -53
  431. package/slider/index.d.ts +282 -328
  432. package/slider/testing/index.d.ts +43 -47
  433. package/{core/tokens/m2/mat/_snack-bar.scss → snack-bar/_m2-snack-bar.scss} +23 -8
  434. package/snack-bar/_m3-snack-bar.scss +25 -0
  435. package/snack-bar/_snack-bar-theme.scss +11 -30
  436. package/snack-bar/index.d.ts +155 -188
  437. package/snack-bar/testing/index.d.ts +8 -9
  438. package/{core/tokens/m2/mat/_sort.scss → sort/_m2-sort.scss} +6 -6
  439. package/{core/tokens/m3/mat/_sort.scss → sort/_m3-sort.scss} +2 -2
  440. package/sort/_sort-theme.scss +12 -18
  441. package/sort/index.d.ts +62 -170
  442. package/sort/testing/index.d.ts +23 -25
  443. package/sort-direction.d-CF7VUsH-.d.ts +3 -0
  444. package/sort.d-i-bF_IaU.d.ts +88 -0
  445. package/{core/tokens/m2/mat/_stepper.scss → stepper/_m2-stepper.scss} +7 -34
  446. package/stepper/_m3-stepper.scss +102 -0
  447. package/stepper/_stepper-theme.scss +26 -21
  448. package/stepper/index.d.ts +117 -168
  449. package/stepper/testing/index.d.ts +44 -52
  450. package/{core/tokens/m2/mat/_table.scss → table/_m2-table.scss} +7 -7
  451. package/table/_m3-table.scss +44 -0
  452. package/table/_table-theme.scss +18 -22
  453. package/table/index.d.ts +97 -156
  454. package/table/testing/index.d.ts +65 -78
  455. package/{core/tokens/m2/mat/_tab-header.scss → tabs/_m2-tabs.scss} +42 -11
  456. package/tabs/_m3-tabs.scss +70 -0
  457. package/tabs/_tabs-theme.scss +47 -125
  458. package/tabs/index.d.ts +321 -388
  459. package/tabs/testing/index.d.ts +68 -76
  460. package/{core/tokens/m2/mat/_timepicker.scss → timepicker/_m2-timepicker.scss} +7 -7
  461. package/{core/tokens/m3/mat/_timepicker.scss → timepicker/_m3-timepicker.scss} +4 -4
  462. package/timepicker/_timepicker-theme.scss +18 -18
  463. package/timepicker/index.d.ts +127 -161
  464. package/timepicker/testing/index.d.ts +21 -26
  465. package/{core/tokens/m2/mat/_toolbar.scss → toolbar/_m2-toolbar.scss} +7 -7
  466. package/{core/tokens/m3/mat/_toolbar.scss → toolbar/_m3-toolbar.scss} +18 -4
  467. package/toolbar/_toolbar-theme.scss +26 -21
  468. package/toolbar/index.d.ts +15 -26
  469. package/toolbar/testing/index.d.ts +14 -16
  470. package/{core/tokens/m2/mdc/_plain-tooltip.scss → tooltip/_m2-tooltip.scss} +7 -17
  471. package/tooltip/_m3-tooltip.scss +25 -0
  472. package/tooltip/_tooltip-theme.scss +18 -18
  473. package/tooltip/index.d.ts +11 -355
  474. package/tooltip/testing/index.d.ts +8 -10
  475. package/{core/tokens/m2/mat/_tree.scss → tree/_m2-tree.scss} +7 -7
  476. package/{core/tokens/m3/mat/_tree.scss → tree/_m3-tree.scss} +15 -2
  477. package/tree/_tree-theme.scss +19 -15
  478. package/tree/index.d.ts +117 -163
  479. package/tree/testing/index.d.ts +53 -58
  480. package/button/_button-base.scss +0 -181
  481. package/checkbox/_checkbox-common.scss +0 -585
  482. package/core/style/_button-common.scss +0 -17
  483. package/core/style/_form-common.scss +0 -21
  484. package/core/style/_list-common.scss +0 -49
  485. package/core/style/_menu-common.scss +0 -94
  486. package/core/theming/_palette-deprecated.scss +0 -76
  487. package/core/theming/_theming-deprecated.scss +0 -27
  488. package/core/tokens/_density.scss +0 -193
  489. package/core/tokens/_token-definition.scss +0 -273
  490. package/core/tokens/m2/_index.scss +0 -187
  491. package/core/tokens/m2/mat/_checkbox.scss +0 -50
  492. package/core/tokens/m2/mat/_chip.scss +0 -63
  493. package/core/tokens/m2/mat/_dialog.scss +0 -51
  494. package/core/tokens/m2/mat/_fab-small.scss +0 -108
  495. package/core/tokens/m2/mat/_fab.scss +0 -108
  496. package/core/tokens/m2/mat/_filled-button.scss +0 -102
  497. package/core/tokens/m2/mat/_legacy-button-toggle.scss +0 -59
  498. package/core/tokens/m2/mat/_list.scss +0 -44
  499. package/core/tokens/m2/mat/_minimal-pseudo-checkbox.scss +0 -43
  500. package/core/tokens/m2/mat/_outlined-button.scss +0 -88
  501. package/core/tokens/m2/mat/_protected-button.scss +0 -102
  502. package/core/tokens/m2/mat/_radio.scss +0 -52
  503. package/core/tokens/m2/mat/_slider.scss +0 -69
  504. package/core/tokens/m2/mat/_switch.scss +0 -76
  505. package/core/tokens/m2/mat/_tab-header-with-background.scss +0 -42
  506. package/core/tokens/m2/mat/_text-button.scss +0 -91
  507. package/core/tokens/m2/mdc/_chip.scss +0 -313
  508. package/core/tokens/m2/mdc/_circular-progress.scss +0 -61
  509. package/core/tokens/m2/mdc/_elevated-card.scss +0 -77
  510. package/core/tokens/m2/mdc/_extended-fab.scss +0 -87
  511. package/core/tokens/m2/mdc/_fab-small.scss +0 -92
  512. package/core/tokens/m2/mdc/_fab.scss +0 -93
  513. package/core/tokens/m2/mdc/_filled-button.scss +0 -124
  514. package/core/tokens/m2/mdc/_filled-text-field.scss +0 -181
  515. package/core/tokens/m2/mdc/_icon-button.scss +0 -91
  516. package/core/tokens/m2/mdc/_list.scss +0 -219
  517. package/core/tokens/m2/mdc/_outlined-button.scss +0 -124
  518. package/core/tokens/m2/mdc/_outlined-card.scss +0 -85
  519. package/core/tokens/m2/mdc/_outlined-text-field.scss +0 -163
  520. package/core/tokens/m2/mdc/_protected-button.scss +0 -129
  521. package/core/tokens/m2/mdc/_secondary-navigation-tab.scss +0 -87
  522. package/core/tokens/m2/mdc/_snack-bar.scss +0 -93
  523. package/core/tokens/m2/mdc/_switch.scss +0 -192
  524. package/core/tokens/m2/mdc/_text-button.scss +0 -98
  525. package/core/tokens/m3/definitions/_index.scss +0 -94
  526. package/core/tokens/m3/definitions/_md-comp-checkbox.scss +0 -120
  527. package/core/tokens/m3/definitions/_md-comp-circular-progress-indicator.scss +0 -27
  528. package/core/tokens/m3/definitions/_md-comp-data-table.scss +0 -90
  529. package/core/tokens/m3/definitions/_md-comp-dialog.scss +0 -123
  530. package/core/tokens/m3/definitions/_md-comp-elevated-button.scss +0 -87
  531. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +0 -53
  532. package/core/tokens/m3/definitions/_md-comp-extended-fab-primary.scss +0 -90
  533. package/core/tokens/m3/definitions/_md-comp-extended-fab-secondary.scss +0 -91
  534. package/core/tokens/m3/definitions/_md-comp-extended-fab-tertiary.scss +0 -91
  535. package/core/tokens/m3/definitions/_md-comp-fab-primary-small.scss +0 -59
  536. package/core/tokens/m3/definitions/_md-comp-fab-primary.scss +0 -59
  537. package/core/tokens/m3/definitions/_md-comp-fab-secondary-small.scss +0 -60
  538. package/core/tokens/m3/definitions/_md-comp-fab-secondary.scss +0 -60
  539. package/core/tokens/m3/definitions/_md-comp-fab-tertiary-small.scss +0 -60
  540. package/core/tokens/m3/definitions/_md-comp-fab-tertiary.scss +0 -60
  541. package/core/tokens/m3/definitions/_md-comp-filled-button.scss +0 -85
  542. package/core/tokens/m3/definitions/_md-comp-filled-card.scss +0 -52
  543. package/core/tokens/m3/definitions/_md-comp-filled-icon-button.scss +0 -73
  544. package/core/tokens/m3/definitions/_md-comp-filled-text-field.scss +0 -189
  545. package/core/tokens/m3/definitions/_md-comp-icon-button.scss +0 -64
  546. package/core/tokens/m3/definitions/_md-comp-linear-progress-indicator.scss +0 -29
  547. package/core/tokens/m3/definitions/_md-comp-list.scss +0 -252
  548. package/core/tokens/m3/definitions/_md-comp-outlined-button.scss +0 -80
  549. package/core/tokens/m3/definitions/_md-comp-outlined-card.scss +0 -59
  550. package/core/tokens/m3/definitions/_md-comp-outlined-icon-button.scss +0 -73
  551. package/core/tokens/m3/definitions/_md-comp-outlined-text-field.scss +0 -171
  552. package/core/tokens/m3/definitions/_md-comp-plain-tooltip.scss +0 -51
  553. package/core/tokens/m3/definitions/_md-comp-radio-button.scss +0 -62
  554. package/core/tokens/m3/definitions/_md-comp-secondary-navigation-tab.scss +0 -80
  555. package/core/tokens/m3/definitions/_md-comp-slider.scss +0 -110
  556. package/core/tokens/m3/definitions/_md-comp-snackbar.scss +0 -125
  557. package/core/tokens/m3/definitions/_md-comp-switch.scss +0 -130
  558. package/core/tokens/m3/definitions/_md-comp-text-button.scss +0 -73
  559. package/core/tokens/m3/definitions/unused/_md-comp-assist-chip.scss +0 -105
  560. package/core/tokens/m3/definitions/unused/_md-comp-badge.scss +0 -54
  561. package/core/tokens/m3/definitions/unused/_md-comp-banner.scss +0 -71
  562. package/core/tokens/m3/definitions/unused/_md-comp-bottom-app-bar.scss +0 -29
  563. package/core/tokens/m3/definitions/unused/_md-comp-carousel-item.scss +0 -59
  564. package/core/tokens/m3/definitions/unused/_md-comp-date-input-modal.scss +0 -87
  565. package/core/tokens/m3/definitions/unused/_md-comp-date-picker-docked.scss +0 -248
  566. package/core/tokens/m3/definitions/unused/_md-comp-date-picker-modal.scss +0 -313
  567. package/core/tokens/m3/definitions/unused/_md-comp-divider.scss +0 -19
  568. package/core/tokens/m3/definitions/unused/_md-comp-extended-fab-branded.scss +0 -82
  569. package/core/tokens/m3/definitions/unused/_md-comp-extended-fab-surface.scss +0 -86
  570. package/core/tokens/m3/definitions/unused/_md-comp-fab-branded-large.scss +0 -54
  571. package/core/tokens/m3/definitions/unused/_md-comp-fab-branded.scss +0 -54
  572. package/core/tokens/m3/definitions/unused/_md-comp-fab-primary-large.scss +0 -59
  573. package/core/tokens/m3/definitions/unused/_md-comp-fab-secondary-large.scss +0 -60
  574. package/core/tokens/m3/definitions/unused/_md-comp-fab-surface-large.scss +0 -58
  575. package/core/tokens/m3/definitions/unused/_md-comp-fab-surface-small.scss +0 -58
  576. package/core/tokens/m3/definitions/unused/_md-comp-fab-surface.scss +0 -58
  577. package/core/tokens/m3/definitions/unused/_md-comp-fab-tertiary-large.scss +0 -60
  578. package/core/tokens/m3/definitions/unused/_md-comp-filled-autocomplete.scss +0 -269
  579. package/core/tokens/m3/definitions/unused/_md-comp-filled-menu-button.scss +0 -94
  580. package/core/tokens/m3/definitions/unused/_md-comp-filled-select.scss +0 -274
  581. package/core/tokens/m3/definitions/unused/_md-comp-filled-tonal-button.scss +0 -95
  582. package/core/tokens/m3/definitions/unused/_md-comp-filled-tonal-icon-button.scss +0 -80
  583. package/core/tokens/m3/definitions/unused/_md-comp-filter-chip.scss +0 -205
  584. package/core/tokens/m3/definitions/unused/_md-comp-full-screen-dialog.scss +0 -109
  585. package/core/tokens/m3/definitions/unused/_md-comp-input-chip.scss +0 -180
  586. package/core/tokens/m3/definitions/unused/_md-comp-menu.scss +0 -31
  587. package/core/tokens/m3/definitions/unused/_md-comp-navigation-bar.scss +0 -110
  588. package/core/tokens/m3/definitions/unused/_md-comp-navigation-drawer.scss +0 -162
  589. package/core/tokens/m3/definitions/unused/_md-comp-navigation-rail.scss +0 -127
  590. package/core/tokens/m3/definitions/unused/_md-comp-outlined-autocomplete.scss +0 -259
  591. package/core/tokens/m3/definitions/unused/_md-comp-outlined-menu-button.scss +0 -90
  592. package/core/tokens/m3/definitions/unused/_md-comp-outlined-segmented-button.scss +0 -108
  593. package/core/tokens/m3/definitions/unused/_md-comp-outlined-select.scss +0 -264
  594. package/core/tokens/m3/definitions/unused/_md-comp-primary-navigation-tab.scss +0 -117
  595. package/core/tokens/m3/definitions/unused/_md-comp-rich-tooltip.scss +0 -121
  596. package/core/tokens/m3/definitions/unused/_md-comp-scrim.scss +0 -19
  597. package/core/tokens/m3/definitions/unused/_md-comp-search-bar.scss +0 -97
  598. package/core/tokens/m3/definitions/unused/_md-comp-search-view.scss +0 -91
  599. package/core/tokens/m3/definitions/unused/_md-comp-sheet-bottom.scss +0 -39
  600. package/core/tokens/m3/definitions/unused/_md-comp-sheet-floating.scss +0 -28
  601. package/core/tokens/m3/definitions/unused/_md-comp-sheet-side.scss +0 -87
  602. package/core/tokens/m3/definitions/unused/_md-comp-standard-menu-button.scss +0 -94
  603. package/core/tokens/m3/definitions/unused/_md-comp-suggestion-chip.scss +0 -121
  604. package/core/tokens/m3/definitions/unused/_md-comp-time-input.scss +0 -222
  605. package/core/tokens/m3/definitions/unused/_md-comp-time-picker.scss +0 -268
  606. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-large.scss +0 -59
  607. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-medium.scss +0 -59
  608. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-small-centered.scss +0 -62
  609. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-small.scss +0 -60
  610. package/core/tokens/m3/mat/_card.scss +0 -24
  611. package/core/tokens/m3/mat/_checkbox.scss +0 -26
  612. package/core/tokens/m3/mat/_chip.scss +0 -46
  613. package/core/tokens/m3/mat/_dialog.scss +0 -32
  614. package/core/tokens/m3/mat/_fab-small.scss +0 -50
  615. package/core/tokens/m3/mat/_fab.scss +0 -50
  616. package/core/tokens/m3/mat/_filled-button.scss +0 -54
  617. package/core/tokens/m3/mat/_form-field.scss +0 -59
  618. package/core/tokens/m3/mat/_full-pseudo-checkbox.scss +0 -42
  619. package/core/tokens/m3/mat/_list.scss +0 -19
  620. package/core/tokens/m3/mat/_minimal-pseudo-checkbox.scss +0 -33
  621. package/core/tokens/m3/mat/_option.scss +0 -55
  622. package/core/tokens/m3/mat/_outlined-button.scss +0 -54
  623. package/core/tokens/m3/mat/_protected-button.scss +0 -55
  624. package/core/tokens/m3/mat/_radio.scss +0 -45
  625. package/core/tokens/m3/mat/_slider.scss +0 -58
  626. package/core/tokens/m3/mat/_snack-bar.scss +0 -18
  627. package/core/tokens/m3/mat/_stepper.scss +0 -79
  628. package/core/tokens/m3/mat/_switch.scss +0 -56
  629. package/core/tokens/m3/mat/_tab-header.scss +0 -51
  630. package/core/tokens/m3/mat/_table.scss +0 -29
  631. package/core/tokens/m3/mat/_text-button.scss +0 -55
  632. package/core/tokens/m3/mdc/_checkbox.scss +0 -112
  633. package/core/tokens/m3/mdc/_chip.scss +0 -93
  634. package/core/tokens/m3/mdc/_dialog.scss +0 -23
  635. package/core/tokens/m3/mdc/_elevated-card.scss +0 -22
  636. package/core/tokens/m3/mdc/_extended-fab.scss +0 -42
  637. package/core/tokens/m3/mdc/_fab-small.scss +0 -41
  638. package/core/tokens/m3/mdc/_fab.scss +0 -39
  639. package/core/tokens/m3/mdc/_filled-button.scss +0 -86
  640. package/core/tokens/m3/mdc/_filled-text-field.scss +0 -91
  641. package/core/tokens/m3/mdc/_icon-button.scss +0 -60
  642. package/core/tokens/m3/mdc/_list.scss +0 -37
  643. package/core/tokens/m3/mdc/_outlined-button.scss +0 -84
  644. package/core/tokens/m3/mdc/_outlined-card.scss +0 -22
  645. package/core/tokens/m3/mdc/_outlined-text-field.scss +0 -86
  646. package/core/tokens/m3/mdc/_plain-tooltip.scss +0 -15
  647. package/core/tokens/m3/mdc/_protected-button.scss +0 -101
  648. package/core/tokens/m3/mdc/_radio.scss +0 -47
  649. package/core/tokens/m3/mdc/_secondary-navigation-tab.scss +0 -16
  650. package/core/tokens/m3/mdc/_slider.scss +0 -69
  651. package/core/tokens/m3/mdc/_snack-bar.scss +0 -15
  652. package/core/tokens/m3/mdc/_switch.scss +0 -82
  653. package/core/tokens/m3/mdc/_tab-indicator.scss +0 -34
  654. package/core/tokens/m3/mdc/_text-button.scss +0 -79
  655. package/core/typography/_typography-utils-deprecated.scss +0 -6
  656. package/datepicker/_datepicker-legacy-compat.scss +0 -85
  657. package/divider/_divider-offset.scss +0 -12
  658. package/expansion/_expansion-variables.scss +0 -30
  659. package/form-field/_form-field-focus-overlay.scss +0 -31
  660. package/form-field/_form-field-high-contrast.scss +0 -39
  661. package/form-field/_form-field-native-select.scss +0 -97
  662. package/form-field/_form-field-subscript.scss +0 -95
  663. package/form-field/_mdc-text-field-density-overrides.scss +0 -60
  664. package/form-field/_mdc-text-field-structure-overrides.scss +0 -186
  665. package/form-field/_mdc-text-field-structure.scss +0 -621
  666. package/form-field/_mdc-text-field-textarea-overrides.scss +0 -36
  667. package/form-field/_user-agent-overrides.scss +0 -24
  668. package/list/_list-inherited-structure.scss +0 -504
  669. package/list/_list-item-hcm-indicator.scss +0 -29
  670. package/radio/_radio-common.scss +0 -259
  671. package/schematics/ng-add/fonts/material-fonts.mjs +0 -34
  672. package/schematics/ng-add/index.mjs +0 -54
  673. package/schematics/ng-add/package-config.mjs +0 -51
  674. package/schematics/ng-add/schema.mjs +0 -10
  675. package/schematics/ng-add/setup-project.mjs +0 -75
  676. package/schematics/ng-add/theming/create-custom-theme.mjs +0 -30
  677. package/schematics/ng-add/theming/theming.mjs +0 -151
  678. package/schematics/ng-generate/address-form/index.mjs +0 -43
  679. package/schematics/ng-generate/address-form/schema.mjs +0 -10
  680. package/schematics/ng-generate/dashboard/index.mjs +0 -42
  681. package/schematics/ng-generate/dashboard/schema.mjs +0 -10
  682. package/schematics/ng-generate/navigation/index.mjs +0 -42
  683. package/schematics/ng-generate/navigation/schema.mjs +0 -10
  684. package/schematics/ng-generate/table/index.mjs +0 -40
  685. package/schematics/ng-generate/table/schema.mjs +0 -10
  686. package/schematics/ng-generate/tree/index.mjs +0 -40
  687. package/schematics/ng-generate/tree/schema.mjs +0 -10
  688. package/schematics/schematics.externs.js +0 -0
  689. package/stepper/_stepper-variables.scss +0 -29
  690. package/table/_table-flex-styles.scss +0 -61
  691. package/tabs/_tabs-common.scss +0 -497
  692. package/toolbar/_toolbar-variables.scss +0 -28
  693. /package/core/tokens/m3/{definitions/_md-ref-palette.scss → _md-ref-palette.scss} +0 -0
  694. /package/core/tokens/m3/{definitions/_md-ref-typeface.scss → _md-ref-typeface.scss} +0 -0
  695. /package/core/tokens/m3/{definitions/_md-sys-elevation.scss → _md-sys-elevation.scss} +0 -0
  696. /package/core/tokens/m3/{definitions/_md-sys-motion.scss → _md-sys-motion.scss} +0 -0
  697. /package/core/tokens/m3/{definitions/_md-sys-shape.scss → _md-sys-shape.scss} +0 -0
  698. /package/core/tokens/m3/{definitions/_md-sys-state.scss → _md-sys-state.scss} +0 -0
@@ -50,7 +50,7 @@ var __async = (__this, __arguments, generator) => {
50
50
  });
51
51
  };
52
52
 
53
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/theme-color/index.mjs
53
+ // src/material/schematics/ng-generate/theme-color/index.ts
54
54
  var theme_color_exports = {};
55
55
  __export(theme_color_exports, {
56
56
  default: () => theme_color_default,
@@ -63,7 +63,7 @@ __export(theme_color_exports, {
63
63
  });
64
64
  module.exports = __toCommonJS(theme_color_exports);
65
65
 
66
- // node_modules/@material/material-color-utilities/utils/math_utils.js
66
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/utils/math_utils.js
67
67
  function signum(num) {
68
68
  if (num < 0) {
69
69
  return -1;
@@ -116,7 +116,7 @@ function matrixMultiply(row, matrix) {
116
116
  return [a, b, c];
117
117
  }
118
118
 
119
- // node_modules/@material/material-color-utilities/utils/color_utils.js
119
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/utils/color_utils.js
120
120
  var SRGB_TO_XYZ = [
121
121
  [0.41233895, 0.35762064, 0.18051042],
122
122
  [0.2126, 0.7152, 0.0722],
@@ -250,8 +250,30 @@ function labInvf(ft) {
250
250
  }
251
251
  }
252
252
 
253
- // node_modules/@material/material-color-utilities/hct/viewing_conditions.js
254
- var ViewingConditions = class {
253
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/hct/viewing_conditions.js
254
+ var ViewingConditions = class _ViewingConditions {
255
+ /**
256
+ * Create ViewingConditions from a simple, physically relevant, set of
257
+ * parameters.
258
+ *
259
+ * @param whitePoint White point, measured in the XYZ color space.
260
+ * default = D65, or sunny day afternoon
261
+ * @param adaptingLuminance The luminance of the adapting field. Informally,
262
+ * how bright it is in the room where the color is viewed. Can be
263
+ * calculated from lux by multiplying lux by 0.0586. default = 11.72,
264
+ * or 200 lux.
265
+ * @param backgroundLstar The lightness of the area surrounding the color.
266
+ * measured by L* in L*a*b*. default = 50.0
267
+ * @param surround A general description of the lighting surrounding the
268
+ * color. 0 is pitch dark, like watching a movie in a theater. 1.0 is a
269
+ * dimly light room, like watching TV at home at night. 2.0 means there
270
+ * is no difference between the lighting on the color and around it.
271
+ * default = 2.0
272
+ * @param discountingIlluminant Whether the eye accounts for the tint of the
273
+ * ambient lighting, such as knowing an apple is still red in green light.
274
+ * default = false, the eye does not perform this process on
275
+ * self-luminous objects like displays.
276
+ */
255
277
  static make(whitePoint = whitePointD65(), adaptingLuminance = 200 / Math.PI * yFromLstar(50) / 100, backgroundLstar = 50, surround = 2, discountingIlluminant = false) {
256
278
  const xyz = whitePoint;
257
279
  const rW = xyz[0] * 0.401288 + xyz[1] * 0.650173 + xyz[2] * -0.051461;
@@ -286,8 +308,15 @@ var ViewingConditions = class {
286
308
  400 * rgbAFactors[2] / (rgbAFactors[2] + 27.13)
287
309
  ];
288
310
  const aw = (2 * rgbA[0] + rgbA[1] + 0.05 * rgbA[2]) * nbb;
289
- return new ViewingConditions(n, aw, nbb, ncb, c, nc, rgbD, fl, Math.pow(fl, 0.25), z);
290
- }
311
+ return new _ViewingConditions(n, aw, nbb, ncb, c, nc, rgbD, fl, Math.pow(fl, 0.25), z);
312
+ }
313
+ /**
314
+ * Parameters are intermediate values of the CAM16 conversion process. Their
315
+ * names are shorthand for technical color science terminology, this class
316
+ * would not benefit from documenting them individually. A brief overview
317
+ * is available in the CAM16 specification, and a complete overview requires
318
+ * a color science textbook, such as Fairchild's Color Appearance Models.
319
+ */
291
320
  constructor(n, aw, nbb, ncb, c, nc, rgbD, fl, fLRoot, z) {
292
321
  this.n = n;
293
322
  this.aw = aw;
@@ -303,8 +332,28 @@ var ViewingConditions = class {
303
332
  };
304
333
  ViewingConditions.DEFAULT = ViewingConditions.make();
305
334
 
306
- // node_modules/@material/material-color-utilities/hct/cam16.js
307
- var Cam16 = class {
335
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/hct/cam16.js
336
+ var Cam16 = class _Cam16 {
337
+ /**
338
+ * All of the CAM16 dimensions can be calculated from 3 of the dimensions, in
339
+ * the following combinations:
340
+ * - {j or q} and {c, m, or s} and hue
341
+ * - jstar, astar, bstar
342
+ * Prefer using a static method that constructs from 3 of those dimensions.
343
+ * This constructor is intended for those methods to use to return all
344
+ * possible dimensions.
345
+ *
346
+ * @param hue
347
+ * @param chroma informally, colorfulness / color intensity. like saturation
348
+ * in HSL, except perceptually accurate.
349
+ * @param j lightness
350
+ * @param q brightness; ratio of lightness to white point's lightness
351
+ * @param m colorfulness
352
+ * @param s saturation; ratio of chroma to white point's chroma
353
+ * @param jstar CAM16-UCS J coordinate
354
+ * @param astar CAM16-UCS a coordinate
355
+ * @param bstar CAM16-UCS b coordinate
356
+ */
308
357
  constructor(hue, chroma, j, q, m, s, jstar, astar, bstar) {
309
358
  this.hue = hue;
310
359
  this.chroma = chroma;
@@ -316,6 +365,11 @@ var Cam16 = class {
316
365
  this.astar = astar;
317
366
  this.bstar = bstar;
318
367
  }
368
+ /**
369
+ * CAM16 instances also have coordinates in the CAM16-UCS space, called J*,
370
+ * a*, b*, or jstar, astar, bstar in code. CAM16-UCS is included in the CAM16
371
+ * specification, and is used to measure distances between colors.
372
+ */
319
373
  distance(other) {
320
374
  const dJ = this.jstar - other.jstar;
321
375
  const dA = this.astar - other.astar;
@@ -324,9 +378,20 @@ var Cam16 = class {
324
378
  const dE = 1.41 * Math.pow(dEPrime, 0.63);
325
379
  return dE;
326
380
  }
381
+ /**
382
+ * @param argb ARGB representation of a color.
383
+ * @return CAM16 color, assuming the color was viewed in default viewing
384
+ * conditions.
385
+ */
327
386
  static fromInt(argb) {
328
- return Cam16.fromIntInViewingConditions(argb, ViewingConditions.DEFAULT);
329
- }
387
+ return _Cam16.fromIntInViewingConditions(argb, ViewingConditions.DEFAULT);
388
+ }
389
+ /**
390
+ * @param argb ARGB representation of a color.
391
+ * @param viewingConditions Information about the environment where the color
392
+ * was observed.
393
+ * @return CAM16 color.
394
+ */
330
395
  static fromIntInViewingConditions(argb, viewingConditions) {
331
396
  const red = (argb & 16711680) >> 16;
332
397
  const green = (argb & 65280) >> 8;
@@ -372,11 +437,23 @@ var Cam16 = class {
372
437
  const mstar = 1 / 0.0228 * Math.log(1 + 0.0228 * m);
373
438
  const astar = mstar * Math.cos(hueRadians);
374
439
  const bstar = mstar * Math.sin(hueRadians);
375
- return new Cam16(hue, c, j, q, m, s, jstar, astar, bstar);
440
+ return new _Cam16(hue, c, j, q, m, s, jstar, astar, bstar);
376
441
  }
442
+ /**
443
+ * @param j CAM16 lightness
444
+ * @param c CAM16 chroma
445
+ * @param h CAM16 hue
446
+ */
377
447
  static fromJch(j, c, h) {
378
- return Cam16.fromJchInViewingConditions(j, c, h, ViewingConditions.DEFAULT);
379
- }
448
+ return _Cam16.fromJchInViewingConditions(j, c, h, ViewingConditions.DEFAULT);
449
+ }
450
+ /**
451
+ * @param j CAM16 lightness
452
+ * @param c CAM16 chroma
453
+ * @param h CAM16 hue
454
+ * @param viewingConditions Information about the environment where the color
455
+ * was observed.
456
+ */
380
457
  static fromJchInViewingConditions(j, c, h, viewingConditions) {
381
458
  const q = 4 / viewingConditions.c * Math.sqrt(j / 100) * (viewingConditions.aw + 4) * viewingConditions.fLRoot;
382
459
  const m = c * viewingConditions.fLRoot;
@@ -387,11 +464,27 @@ var Cam16 = class {
387
464
  const mstar = 1 / 0.0228 * Math.log(1 + 0.0228 * m);
388
465
  const astar = mstar * Math.cos(hueRadians);
389
466
  const bstar = mstar * Math.sin(hueRadians);
390
- return new Cam16(h, c, j, q, m, s, jstar, astar, bstar);
391
- }
467
+ return new _Cam16(h, c, j, q, m, s, jstar, astar, bstar);
468
+ }
469
+ /**
470
+ * @param jstar CAM16-UCS lightness.
471
+ * @param astar CAM16-UCS a dimension. Like a* in L*a*b*, it is a Cartesian
472
+ * coordinate on the Y axis.
473
+ * @param bstar CAM16-UCS b dimension. Like a* in L*a*b*, it is a Cartesian
474
+ * coordinate on the X axis.
475
+ */
392
476
  static fromUcs(jstar, astar, bstar) {
393
- return Cam16.fromUcsInViewingConditions(jstar, astar, bstar, ViewingConditions.DEFAULT);
394
- }
477
+ return _Cam16.fromUcsInViewingConditions(jstar, astar, bstar, ViewingConditions.DEFAULT);
478
+ }
479
+ /**
480
+ * @param jstar CAM16-UCS lightness.
481
+ * @param astar CAM16-UCS a dimension. Like a* in L*a*b*, it is a Cartesian
482
+ * coordinate on the Y axis.
483
+ * @param bstar CAM16-UCS b dimension. Like a* in L*a*b*, it is a Cartesian
484
+ * coordinate on the X axis.
485
+ * @param viewingConditions Information about the environment where the color
486
+ * was observed.
487
+ */
395
488
  static fromUcsInViewingConditions(jstar, astar, bstar, viewingConditions) {
396
489
  const a = astar;
397
490
  const b = bstar;
@@ -403,11 +496,21 @@ var Cam16 = class {
403
496
  h += 360;
404
497
  }
405
498
  const j = jstar / (1 - (jstar - 100) * 7e-3);
406
- return Cam16.fromJchInViewingConditions(j, c, h, viewingConditions);
499
+ return _Cam16.fromJchInViewingConditions(j, c, h, viewingConditions);
407
500
  }
501
+ /**
502
+ * @return ARGB representation of color, assuming the color was viewed in
503
+ * default viewing conditions, which are near-identical to the default
504
+ * viewing conditions for sRGB.
505
+ */
408
506
  toInt() {
409
507
  return this.viewed(ViewingConditions.DEFAULT);
410
508
  }
509
+ /**
510
+ * @param viewingConditions Information about the environment where the color
511
+ * will be viewed.
512
+ * @return ARGB representation of color
513
+ */
411
514
  viewed(viewingConditions) {
412
515
  const alpha = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100);
413
516
  const t = Math.pow(alpha / Math.pow(1.64 - Math.pow(0.29, viewingConditions.n), 0.73), 1 / 0.9);
@@ -439,6 +542,8 @@ var Cam16 = class {
439
542
  const argb = argbFromXyz(x, y, z);
440
543
  return argb;
441
544
  }
545
+ /// Given color expressed in XYZ and viewed in [viewingConditions], convert to
546
+ /// CAM16.
442
547
  static fromXyzInViewingConditions(x, y, z, viewingConditions) {
443
548
  const rC = 0.401288 * x + 0.650173 * y - 0.051461 * z;
444
549
  const gC = -0.250268 * x + 1.204414 * y + 0.045854 * z;
@@ -475,8 +580,9 @@ var Cam16 = class {
475
580
  const mstar = Math.log(1 + 0.0228 * M) / 0.0228;
476
581
  const astar = mstar * Math.cos(hueRadians);
477
582
  const bstar = mstar * Math.sin(hueRadians);
478
- return new Cam16(hue, C, J, Q, M, s, jstar, astar, bstar);
583
+ return new _Cam16(hue, C, J, Q, M, s, jstar, astar, bstar);
479
584
  }
585
+ /// XYZ representation of CAM16 seen in [viewingConditions].
480
586
  xyzInViewingConditions(viewingConditions) {
481
587
  const alpha = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100);
482
588
  const t = Math.pow(alpha / Math.pow(1.64 - Math.pow(0.29, viewingConditions.n), 0.73), 1 / 0.9);
@@ -509,11 +615,27 @@ var Cam16 = class {
509
615
  }
510
616
  };
511
617
 
512
- // node_modules/@material/material-color-utilities/hct/hct_solver.js
513
- var HctSolver = class {
618
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/hct/hct_solver.js
619
+ var HctSolver = class _HctSolver {
620
+ /**
621
+ * Sanitizes a small enough angle in radians.
622
+ *
623
+ * @param angle An angle in radians; must not deviate too much
624
+ * from 0.
625
+ * @return A coterminal angle between 0 and 2pi.
626
+ */
514
627
  static sanitizeRadians(angle) {
515
628
  return (angle + Math.PI * 8) % (Math.PI * 2);
516
629
  }
630
+ /**
631
+ * Delinearizes an RGB component, returning a floating-point
632
+ * number.
633
+ *
634
+ * @param rgbComponent 0.0 <= rgb_component <= 100.0, represents
635
+ * linear R/G/B channel
636
+ * @return 0.0 <= output <= 255.0, color channel converted to
637
+ * regular RGB space
638
+ */
517
639
  static trueDelinearized(rgbComponent) {
518
640
  const normalized = rgbComponent / 100;
519
641
  let delinearized2 = 0;
@@ -528,20 +650,34 @@ var HctSolver = class {
528
650
  const af = Math.pow(Math.abs(component), 0.42);
529
651
  return signum(component) * 400 * af / (af + 27.13);
530
652
  }
653
+ /**
654
+ * Returns the hue of a linear RGB color in CAM16.
655
+ *
656
+ * @param linrgb The linear RGB coordinates of a color.
657
+ * @return The hue of the color in CAM16, in radians.
658
+ */
531
659
  static hueOf(linrgb) {
532
- const scaledDiscount = matrixMultiply(linrgb, HctSolver.SCALED_DISCOUNT_FROM_LINRGB);
533
- const rA = HctSolver.chromaticAdaptation(scaledDiscount[0]);
534
- const gA = HctSolver.chromaticAdaptation(scaledDiscount[1]);
535
- const bA = HctSolver.chromaticAdaptation(scaledDiscount[2]);
660
+ const scaledDiscount = matrixMultiply(linrgb, _HctSolver.SCALED_DISCOUNT_FROM_LINRGB);
661
+ const rA = _HctSolver.chromaticAdaptation(scaledDiscount[0]);
662
+ const gA = _HctSolver.chromaticAdaptation(scaledDiscount[1]);
663
+ const bA = _HctSolver.chromaticAdaptation(scaledDiscount[2]);
536
664
  const a = (11 * rA + -12 * gA + bA) / 11;
537
665
  const b = (rA + gA - 2 * bA) / 9;
538
666
  return Math.atan2(b, a);
539
667
  }
540
668
  static areInCyclicOrder(a, b, c) {
541
- const deltaAB = HctSolver.sanitizeRadians(b - a);
542
- const deltaAC = HctSolver.sanitizeRadians(c - a);
669
+ const deltaAB = _HctSolver.sanitizeRadians(b - a);
670
+ const deltaAC = _HctSolver.sanitizeRadians(c - a);
543
671
  return deltaAB < deltaAC;
544
672
  }
673
+ /**
674
+ * Solves the lerp equation.
675
+ *
676
+ * @param source The starting number.
677
+ * @param mid The number in the middle.
678
+ * @param target The ending number.
679
+ * @return A number t such that lerp(source, target, t) = mid.
680
+ */
545
681
  static intercept(source, mid, target) {
546
682
  return (mid - source) / (target - source);
547
683
  }
@@ -552,24 +688,45 @@ var HctSolver = class {
552
688
  source[2] + (target[2] - source[2]) * t
553
689
  ];
554
690
  }
691
+ /**
692
+ * Intersects a segment with a plane.
693
+ *
694
+ * @param source The coordinates of point A.
695
+ * @param coordinate The R-, G-, or B-coordinate of the plane.
696
+ * @param target The coordinates of point B.
697
+ * @param axis The axis the plane is perpendicular with. (0: R, 1:
698
+ * G, 2: B)
699
+ * @return The intersection point of the segment AB with the plane
700
+ * R=coordinate, G=coordinate, or B=coordinate
701
+ */
555
702
  static setCoordinate(source, coordinate, target, axis) {
556
- const t = HctSolver.intercept(source[axis], coordinate, target[axis]);
557
- return HctSolver.lerpPoint(source, t, target);
703
+ const t = _HctSolver.intercept(source[axis], coordinate, target[axis]);
704
+ return _HctSolver.lerpPoint(source, t, target);
558
705
  }
559
706
  static isBounded(x) {
560
707
  return 0 <= x && x <= 100;
561
708
  }
709
+ /**
710
+ * Returns the nth possible vertex of the polygonal intersection.
711
+ *
712
+ * @param y The Y value of the plane.
713
+ * @param n The zero-based index of the point. 0 <= n <= 11.
714
+ * @return The nth possible vertex of the polygonal intersection
715
+ * of the y plane and the RGB cube, in linear RGB coordinates, if
716
+ * it exists. If this possible vertex lies outside of the cube,
717
+ * [-1.0, -1.0, -1.0] is returned.
718
+ */
562
719
  static nthVertex(y, n) {
563
- const kR = HctSolver.Y_FROM_LINRGB[0];
564
- const kG = HctSolver.Y_FROM_LINRGB[1];
565
- const kB = HctSolver.Y_FROM_LINRGB[2];
720
+ const kR = _HctSolver.Y_FROM_LINRGB[0];
721
+ const kG = _HctSolver.Y_FROM_LINRGB[1];
722
+ const kB = _HctSolver.Y_FROM_LINRGB[2];
566
723
  const coordA = n % 4 <= 1 ? 0 : 100;
567
724
  const coordB = n % 2 === 0 ? 0 : 100;
568
725
  if (n < 4) {
569
726
  const g = coordA;
570
727
  const b = coordB;
571
728
  const r = (y - g * kG - b * kB) / kR;
572
- if (HctSolver.isBounded(r)) {
729
+ if (_HctSolver.isBounded(r)) {
573
730
  return [r, g, b];
574
731
  } else {
575
732
  return [-1, -1, -1];
@@ -578,7 +735,7 @@ var HctSolver = class {
578
735
  const b = coordA;
579
736
  const r = coordB;
580
737
  const g = (y - r * kR - b * kB) / kG;
581
- if (HctSolver.isBounded(g)) {
738
+ if (_HctSolver.isBounded(g)) {
582
739
  return [r, g, b];
583
740
  } else {
584
741
  return [-1, -1, -1];
@@ -587,13 +744,22 @@ var HctSolver = class {
587
744
  const r = coordA;
588
745
  const g = coordB;
589
746
  const b = (y - r * kR - g * kG) / kB;
590
- if (HctSolver.isBounded(b)) {
747
+ if (_HctSolver.isBounded(b)) {
591
748
  return [r, g, b];
592
749
  } else {
593
750
  return [-1, -1, -1];
594
751
  }
595
752
  }
596
753
  }
754
+ /**
755
+ * Finds the segment containing the desired color.
756
+ *
757
+ * @param y The Y value of the color.
758
+ * @param targetHue The hue of the color.
759
+ * @return A list of two sets of linear RGB coordinates, each
760
+ * corresponding to an endpoint of the segment containing the
761
+ * desired color.
762
+ */
597
763
  static bisectToSegment(y, targetHue) {
598
764
  let left = [-1, -1, -1];
599
765
  let right = left;
@@ -602,11 +768,11 @@ var HctSolver = class {
602
768
  let initialized = false;
603
769
  let uncut = true;
604
770
  for (let n = 0; n < 12; n++) {
605
- const mid = HctSolver.nthVertex(y, n);
771
+ const mid = _HctSolver.nthVertex(y, n);
606
772
  if (mid[0] < 0) {
607
773
  continue;
608
774
  }
609
- const midHue = HctSolver.hueOf(mid);
775
+ const midHue = _HctSolver.hueOf(mid);
610
776
  if (!initialized) {
611
777
  left = mid;
612
778
  right = mid;
@@ -615,9 +781,9 @@ var HctSolver = class {
615
781
  initialized = true;
616
782
  continue;
617
783
  }
618
- if (uncut || HctSolver.areInCyclicOrder(leftHue, midHue, rightHue)) {
784
+ if (uncut || _HctSolver.areInCyclicOrder(leftHue, midHue, rightHue)) {
619
785
  uncut = false;
620
- if (HctSolver.areInCyclicOrder(leftHue, targetHue, midHue)) {
786
+ if (_HctSolver.areInCyclicOrder(leftHue, targetHue, midHue)) {
621
787
  right = mid;
622
788
  rightHue = midHue;
623
789
  } else {
@@ -641,31 +807,39 @@ var HctSolver = class {
641
807
  static criticalPlaneAbove(x) {
642
808
  return Math.ceil(x - 0.5);
643
809
  }
810
+ /**
811
+ * Finds a color with the given Y and hue on the boundary of the
812
+ * cube.
813
+ *
814
+ * @param y The Y value of the color.
815
+ * @param targetHue The hue of the color.
816
+ * @return The desired color, in linear RGB coordinates.
817
+ */
644
818
  static bisectToLimit(y, targetHue) {
645
- const segment = HctSolver.bisectToSegment(y, targetHue);
819
+ const segment = _HctSolver.bisectToSegment(y, targetHue);
646
820
  let left = segment[0];
647
- let leftHue = HctSolver.hueOf(left);
821
+ let leftHue = _HctSolver.hueOf(left);
648
822
  let right = segment[1];
649
823
  for (let axis = 0; axis < 3; axis++) {
650
824
  if (left[axis] !== right[axis]) {
651
825
  let lPlane = -1;
652
826
  let rPlane = 255;
653
827
  if (left[axis] < right[axis]) {
654
- lPlane = HctSolver.criticalPlaneBelow(HctSolver.trueDelinearized(left[axis]));
655
- rPlane = HctSolver.criticalPlaneAbove(HctSolver.trueDelinearized(right[axis]));
828
+ lPlane = _HctSolver.criticalPlaneBelow(_HctSolver.trueDelinearized(left[axis]));
829
+ rPlane = _HctSolver.criticalPlaneAbove(_HctSolver.trueDelinearized(right[axis]));
656
830
  } else {
657
- lPlane = HctSolver.criticalPlaneAbove(HctSolver.trueDelinearized(left[axis]));
658
- rPlane = HctSolver.criticalPlaneBelow(HctSolver.trueDelinearized(right[axis]));
831
+ lPlane = _HctSolver.criticalPlaneAbove(_HctSolver.trueDelinearized(left[axis]));
832
+ rPlane = _HctSolver.criticalPlaneBelow(_HctSolver.trueDelinearized(right[axis]));
659
833
  }
660
834
  for (let i = 0; i < 8; i++) {
661
835
  if (Math.abs(rPlane - lPlane) <= 1) {
662
836
  break;
663
837
  } else {
664
838
  const mPlane = Math.floor((lPlane + rPlane) / 2);
665
- const midPlaneCoordinate = HctSolver.CRITICAL_PLANES[mPlane];
666
- const mid = HctSolver.setCoordinate(left, midPlaneCoordinate, right, axis);
667
- const midHue = HctSolver.hueOf(mid);
668
- if (HctSolver.areInCyclicOrder(leftHue, targetHue, midHue)) {
839
+ const midPlaneCoordinate = _HctSolver.CRITICAL_PLANES[mPlane];
840
+ const mid = _HctSolver.setCoordinate(left, midPlaneCoordinate, right, axis);
841
+ const midHue = _HctSolver.hueOf(mid);
842
+ if (_HctSolver.areInCyclicOrder(leftHue, targetHue, midHue)) {
669
843
  right = mid;
670
844
  rPlane = mPlane;
671
845
  } else {
@@ -677,13 +851,22 @@ var HctSolver = class {
677
851
  }
678
852
  }
679
853
  }
680
- return HctSolver.midpoint(left, right);
854
+ return _HctSolver.midpoint(left, right);
681
855
  }
682
856
  static inverseChromaticAdaptation(adapted) {
683
857
  const adaptedAbs = Math.abs(adapted);
684
858
  const base = Math.max(0, 27.13 * adaptedAbs / (400 - adaptedAbs));
685
859
  return signum(adapted) * Math.pow(base, 1 / 0.42);
686
860
  }
861
+ /**
862
+ * Finds a color with the given hue, chroma, and Y.
863
+ *
864
+ * @param hueRadians The desired hue in radians.
865
+ * @param chroma The desired chroma.
866
+ * @param y The desired Y.
867
+ * @return The desired color as a hexadecimal integer, if found; 0
868
+ * otherwise.
869
+ */
687
870
  static findResultByJ(hueRadians, chroma, y) {
688
871
  let j = Math.sqrt(y) * 11;
689
872
  const viewingConditions = ViewingConditions.DEFAULT;
@@ -704,16 +887,16 @@ var HctSolver = class {
704
887
  const rA = (460 * p2 + 451 * a + 288 * b) / 1403;
705
888
  const gA = (460 * p2 - 891 * a - 261 * b) / 1403;
706
889
  const bA = (460 * p2 - 220 * a - 6300 * b) / 1403;
707
- const rCScaled = HctSolver.inverseChromaticAdaptation(rA);
708
- const gCScaled = HctSolver.inverseChromaticAdaptation(gA);
709
- const bCScaled = HctSolver.inverseChromaticAdaptation(bA);
710
- const linrgb = matrixMultiply([rCScaled, gCScaled, bCScaled], HctSolver.LINRGB_FROM_SCALED_DISCOUNT);
890
+ const rCScaled = _HctSolver.inverseChromaticAdaptation(rA);
891
+ const gCScaled = _HctSolver.inverseChromaticAdaptation(gA);
892
+ const bCScaled = _HctSolver.inverseChromaticAdaptation(bA);
893
+ const linrgb = matrixMultiply([rCScaled, gCScaled, bCScaled], _HctSolver.LINRGB_FROM_SCALED_DISCOUNT);
711
894
  if (linrgb[0] < 0 || linrgb[1] < 0 || linrgb[2] < 0) {
712
895
  return 0;
713
896
  }
714
- const kR = HctSolver.Y_FROM_LINRGB[0];
715
- const kG = HctSolver.Y_FROM_LINRGB[1];
716
- const kB = HctSolver.Y_FROM_LINRGB[2];
897
+ const kR = _HctSolver.Y_FROM_LINRGB[0];
898
+ const kG = _HctSolver.Y_FROM_LINRGB[1];
899
+ const kB = _HctSolver.Y_FROM_LINRGB[2];
717
900
  const fnj = kR * linrgb[0] + kG * linrgb[1] + kB * linrgb[2];
718
901
  if (fnj <= 0) {
719
902
  return 0;
@@ -728,6 +911,18 @@ var HctSolver = class {
728
911
  }
729
912
  return 0;
730
913
  }
914
+ /**
915
+ * Finds an sRGB color with the given hue, chroma, and L*, if
916
+ * possible.
917
+ *
918
+ * @param hueDegrees The desired hue, in degrees.
919
+ * @param chroma The desired chroma.
920
+ * @param lstar The desired L*.
921
+ * @return A hexadecimal representing the sRGB color. The color
922
+ * has sufficiently close hue, chroma, and L* to the desired
923
+ * values, if possible; otherwise, the hue and L* will be
924
+ * sufficiently close, and chroma will be maximized.
925
+ */
731
926
  static solveToInt(hueDegrees, chroma, lstar) {
732
927
  if (chroma < 1e-4 || lstar < 1e-4 || lstar > 99.9999) {
733
928
  return argbFromLstar(lstar);
@@ -735,15 +930,27 @@ var HctSolver = class {
735
930
  hueDegrees = sanitizeDegreesDouble(hueDegrees);
736
931
  const hueRadians = hueDegrees / 180 * Math.PI;
737
932
  const y = yFromLstar(lstar);
738
- const exactAnswer = HctSolver.findResultByJ(hueRadians, chroma, y);
933
+ const exactAnswer = _HctSolver.findResultByJ(hueRadians, chroma, y);
739
934
  if (exactAnswer !== 0) {
740
935
  return exactAnswer;
741
936
  }
742
- const linrgb = HctSolver.bisectToLimit(y, hueRadians);
937
+ const linrgb = _HctSolver.bisectToLimit(y, hueRadians);
743
938
  return argbFromLinrgb(linrgb);
744
939
  }
940
+ /**
941
+ * Finds an sRGB color with the given hue, chroma, and L*, if
942
+ * possible.
943
+ *
944
+ * @param hueDegrees The desired hue, in degrees.
945
+ * @param chroma The desired chroma.
946
+ * @param lstar The desired L*.
947
+ * @return An CAM16 object representing the sRGB color. The color
948
+ * has sufficiently close hue, chroma, and L* to the desired
949
+ * values, if possible; otherwise, the hue and L* will be
950
+ * sufficiently close, and chroma will be maximized.
951
+ */
745
952
  static solveToCam(hueDegrees, chroma, lstar) {
746
- return Cam16.fromInt(HctSolver.solveToInt(hueDegrees, chroma, lstar));
953
+ return Cam16.fromInt(_HctSolver.solveToInt(hueDegrees, chroma, lstar));
747
954
  }
748
955
  };
749
956
  HctSolver.SCALED_DISCOUNT_FROM_LINRGB = [
@@ -1039,32 +1246,56 @@ HctSolver.CRITICAL_PLANES = [
1039
1246
  99.55452497210776
1040
1247
  ];
1041
1248
 
1042
- // node_modules/@material/material-color-utilities/hct/hct.js
1043
- var Hct = class {
1249
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/hct/hct.js
1250
+ var Hct = class _Hct {
1044
1251
  static from(hue, chroma, tone) {
1045
- return new Hct(HctSolver.solveToInt(hue, chroma, tone));
1252
+ return new _Hct(HctSolver.solveToInt(hue, chroma, tone));
1046
1253
  }
1254
+ /**
1255
+ * @param argb ARGB representation of a color.
1256
+ * @return HCT representation of a color in default viewing conditions
1257
+ */
1047
1258
  static fromInt(argb) {
1048
- return new Hct(argb);
1259
+ return new _Hct(argb);
1049
1260
  }
1050
1261
  toInt() {
1051
1262
  return this.argb;
1052
1263
  }
1264
+ /**
1265
+ * A number, in degrees, representing ex. red, orange, yellow, etc.
1266
+ * Ranges from 0 <= hue < 360.
1267
+ */
1053
1268
  get hue() {
1054
1269
  return this.internalHue;
1055
1270
  }
1271
+ /**
1272
+ * @param newHue 0 <= newHue < 360; invalid values are corrected.
1273
+ * Chroma may decrease because chroma has a different maximum for any given
1274
+ * hue and tone.
1275
+ */
1056
1276
  set hue(newHue) {
1057
1277
  this.setInternalState(HctSolver.solveToInt(newHue, this.internalChroma, this.internalTone));
1058
1278
  }
1059
1279
  get chroma() {
1060
1280
  return this.internalChroma;
1061
1281
  }
1282
+ /**
1283
+ * @param newChroma 0 <= newChroma < ?
1284
+ * Chroma may decrease because chroma has a different maximum for any given
1285
+ * hue and tone.
1286
+ */
1062
1287
  set chroma(newChroma) {
1063
1288
  this.setInternalState(HctSolver.solveToInt(this.internalHue, newChroma, this.internalTone));
1064
1289
  }
1290
+ /** Lightness. Ranges from 0 to 100. */
1065
1291
  get tone() {
1066
1292
  return this.internalTone;
1067
1293
  }
1294
+ /**
1295
+ * @param newTone 0 <= newTone <= 100; invalid valids are corrected.
1296
+ * Chroma may decrease because chroma has a different maximum for any given
1297
+ * hue and tone.
1298
+ */
1068
1299
  set tone(newTone) {
1069
1300
  this.setInternalState(HctSolver.solveToInt(this.internalHue, this.internalChroma, newTone));
1070
1301
  }
@@ -1083,34 +1314,64 @@ var Hct = class {
1083
1314
  this.internalTone = lstarFromArgb(argb);
1084
1315
  this.argb = argb;
1085
1316
  }
1317
+ /**
1318
+ * Translates a color into different [ViewingConditions].
1319
+ *
1320
+ * Colors change appearance. They look different with lights on versus off,
1321
+ * the same color, as in hex code, on white looks different when on black.
1322
+ * This is called color relativity, most famously explicated by Josef Albers
1323
+ * in Interaction of Color.
1324
+ *
1325
+ * In color science, color appearance models can account for this and
1326
+ * calculate the appearance of a color in different settings. HCT is based on
1327
+ * CAM16, a color appearance model, and uses it to make these calculations.
1328
+ *
1329
+ * See [ViewingConditions.make] for parameters affecting color appearance.
1330
+ */
1086
1331
  inViewingConditions(vc) {
1087
1332
  const cam = Cam16.fromInt(this.toInt());
1088
1333
  const viewedInVc = cam.xyzInViewingConditions(vc);
1089
1334
  const recastInVc = Cam16.fromXyzInViewingConditions(viewedInVc[0], viewedInVc[1], viewedInVc[2], ViewingConditions.make());
1090
- const recastHct = Hct.from(recastInVc.hue, recastInVc.chroma, lstarFromY(viewedInVc[1]));
1335
+ const recastHct = _Hct.from(recastInVc.hue, recastInVc.chroma, lstarFromY(viewedInVc[1]));
1091
1336
  return recastHct;
1092
1337
  }
1093
1338
  };
1094
1339
 
1095
- // node_modules/@material/material-color-utilities/contrast/contrast.js
1096
- var Contrast = class {
1340
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/contrast/contrast.js
1341
+ var Contrast = class _Contrast {
1342
+ /**
1343
+ * Returns a contrast ratio, which ranges from 1 to 21.
1344
+ *
1345
+ * @param toneA Tone between 0 and 100. Values outside will be clamped.
1346
+ * @param toneB Tone between 0 and 100. Values outside will be clamped.
1347
+ */
1097
1348
  static ratioOfTones(toneA, toneB) {
1098
1349
  toneA = clampDouble(0, 100, toneA);
1099
1350
  toneB = clampDouble(0, 100, toneB);
1100
- return Contrast.ratioOfYs(yFromLstar(toneA), yFromLstar(toneB));
1351
+ return _Contrast.ratioOfYs(yFromLstar(toneA), yFromLstar(toneB));
1101
1352
  }
1102
1353
  static ratioOfYs(y1, y2) {
1103
1354
  const lighter = y1 > y2 ? y1 : y2;
1104
1355
  const darker = lighter === y2 ? y1 : y2;
1105
1356
  return (lighter + 5) / (darker + 5);
1106
1357
  }
1358
+ /**
1359
+ * Returns a tone >= tone parameter that ensures ratio parameter.
1360
+ * Return value is between 0 and 100.
1361
+ * Returns -1 if ratio cannot be achieved with tone parameter.
1362
+ *
1363
+ * @param tone Tone return value must contrast with.
1364
+ * Range is 0 to 100. Invalid values will result in -1 being returned.
1365
+ * @param ratio Contrast ratio of return value and tone.
1366
+ * Range is 1 to 21, invalid values have undefined behavior.
1367
+ */
1107
1368
  static lighter(tone, ratio) {
1108
1369
  if (tone < 0 || tone > 100) {
1109
1370
  return -1;
1110
1371
  }
1111
1372
  const darkY = yFromLstar(tone);
1112
1373
  const lightY = ratio * (darkY + 5) - 5;
1113
- const realContrast = Contrast.ratioOfYs(lightY, darkY);
1374
+ const realContrast = _Contrast.ratioOfYs(lightY, darkY);
1114
1375
  const delta = Math.abs(realContrast - ratio);
1115
1376
  if (realContrast < ratio && delta > 0.04) {
1116
1377
  return -1;
@@ -1121,13 +1382,23 @@ var Contrast = class {
1121
1382
  }
1122
1383
  return returnValue;
1123
1384
  }
1385
+ /**
1386
+ * Returns a tone <= tone parameter that ensures ratio parameter.
1387
+ * Return value is between 0 and 100.
1388
+ * Returns -1 if ratio cannot be achieved with tone parameter.
1389
+ *
1390
+ * @param tone Tone return value must contrast with.
1391
+ * Range is 0 to 100. Invalid values will result in -1 being returned.
1392
+ * @param ratio Contrast ratio of return value and tone.
1393
+ * Range is 1 to 21, invalid values have undefined behavior.
1394
+ */
1124
1395
  static darker(tone, ratio) {
1125
1396
  if (tone < 0 || tone > 100) {
1126
1397
  return -1;
1127
1398
  }
1128
1399
  const lightY = yFromLstar(tone);
1129
1400
  const darkY = (lightY + 5) / ratio - 5;
1130
- const realContrast = Contrast.ratioOfYs(lightY, darkY);
1401
+ const realContrast = _Contrast.ratioOfYs(lightY, darkY);
1131
1402
  const delta = Math.abs(realContrast - ratio);
1132
1403
  if (realContrast < ratio && delta > 0.04) {
1133
1404
  return -1;
@@ -1138,38 +1409,119 @@ var Contrast = class {
1138
1409
  }
1139
1410
  return returnValue;
1140
1411
  }
1412
+ /**
1413
+ * Returns a tone >= tone parameter that ensures ratio parameter.
1414
+ * Return value is between 0 and 100.
1415
+ * Returns 100 if ratio cannot be achieved with tone parameter.
1416
+ *
1417
+ * This method is unsafe because the returned value is guaranteed to be in
1418
+ * bounds for tone, i.e. between 0 and 100. However, that value may not reach
1419
+ * the ratio with tone. For example, there is no color lighter than T100.
1420
+ *
1421
+ * @param tone Tone return value must contrast with.
1422
+ * Range is 0 to 100. Invalid values will result in 100 being returned.
1423
+ * @param ratio Desired contrast ratio of return value and tone parameter.
1424
+ * Range is 1 to 21, invalid values have undefined behavior.
1425
+ */
1141
1426
  static lighterUnsafe(tone, ratio) {
1142
- const lighterSafe = Contrast.lighter(tone, ratio);
1427
+ const lighterSafe = _Contrast.lighter(tone, ratio);
1143
1428
  return lighterSafe < 0 ? 100 : lighterSafe;
1144
1429
  }
1430
+ /**
1431
+ * Returns a tone >= tone parameter that ensures ratio parameter.
1432
+ * Return value is between 0 and 100.
1433
+ * Returns 100 if ratio cannot be achieved with tone parameter.
1434
+ *
1435
+ * This method is unsafe because the returned value is guaranteed to be in
1436
+ * bounds for tone, i.e. between 0 and 100. However, that value may not reach
1437
+ * the [ratio with [tone]. For example, there is no color darker than T0.
1438
+ *
1439
+ * @param tone Tone return value must contrast with.
1440
+ * Range is 0 to 100. Invalid values will result in 0 being returned.
1441
+ * @param ratio Desired contrast ratio of return value and tone parameter.
1442
+ * Range is 1 to 21, invalid values have undefined behavior.
1443
+ */
1145
1444
  static darkerUnsafe(tone, ratio) {
1146
- const darkerSafe = Contrast.darker(tone, ratio);
1445
+ const darkerSafe = _Contrast.darker(tone, ratio);
1147
1446
  return darkerSafe < 0 ? 0 : darkerSafe;
1148
1447
  }
1149
1448
  };
1150
1449
 
1151
- // node_modules/@material/material-color-utilities/dislike/dislike_analyzer.js
1152
- var DislikeAnalyzer = class {
1450
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/dislike/dislike_analyzer.js
1451
+ var DislikeAnalyzer = class _DislikeAnalyzer {
1452
+ /**
1453
+ * Returns true if a color is disliked.
1454
+ *
1455
+ * @param hct A color to be judged.
1456
+ * @return Whether the color is disliked.
1457
+ *
1458
+ * Disliked is defined as a dark yellow-green that is not neutral.
1459
+ */
1153
1460
  static isDisliked(hct) {
1154
1461
  const huePasses = Math.round(hct.hue) >= 90 && Math.round(hct.hue) <= 111;
1155
1462
  const chromaPasses = Math.round(hct.chroma) > 16;
1156
1463
  const tonePasses = Math.round(hct.tone) < 65;
1157
1464
  return huePasses && chromaPasses && tonePasses;
1158
1465
  }
1466
+ /**
1467
+ * If a color is disliked, lighten it to make it likable.
1468
+ *
1469
+ * @param hct A color to be judged.
1470
+ * @return A new color if the original color is disliked, or the original
1471
+ * color if it is acceptable.
1472
+ */
1159
1473
  static fixIfDisliked(hct) {
1160
- if (DislikeAnalyzer.isDisliked(hct)) {
1474
+ if (_DislikeAnalyzer.isDisliked(hct)) {
1161
1475
  return Hct.from(hct.hue, hct.chroma, 70);
1162
1476
  }
1163
1477
  return hct;
1164
1478
  }
1165
1479
  };
1166
1480
 
1167
- // node_modules/@material/material-color-utilities/dynamiccolor/dynamic_color.js
1168
- var DynamicColor = class {
1481
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/dynamiccolor/dynamic_color.js
1482
+ var DynamicColor = class _DynamicColor {
1483
+ /**
1484
+ * Create a DynamicColor defined by a TonalPalette and HCT tone.
1485
+ *
1486
+ * @param args Functions with DynamicScheme as input. Must provide a palette
1487
+ * and tone. May provide a background DynamicColor and ToneDeltaConstraint.
1488
+ */
1169
1489
  static fromPalette(args) {
1170
1490
  var _a, _b;
1171
- return new DynamicColor((_a = args.name) != null ? _a : "", args.palette, args.tone, (_b = args.isBackground) != null ? _b : false, args.background, args.secondBackground, args.contrastCurve, args.toneDeltaPair);
1172
- }
1491
+ return new _DynamicColor((_a = args.name) != null ? _a : "", args.palette, args.tone, (_b = args.isBackground) != null ? _b : false, args.background, args.secondBackground, args.contrastCurve, args.toneDeltaPair);
1492
+ }
1493
+ /**
1494
+ * The base constructor for DynamicColor.
1495
+ *
1496
+ * _Strongly_ prefer using one of the convenience constructors. This class is
1497
+ * arguably too flexible to ensure it can support any scenario. Functional
1498
+ * arguments allow overriding without risks that come with subclasses.
1499
+ *
1500
+ * For example, the default behavior of adjust tone at max contrast
1501
+ * to be at a 7.0 ratio with its background is principled and
1502
+ * matches accessibility guidance. That does not mean it's the desired
1503
+ * approach for _every_ design system, and every color pairing,
1504
+ * always, in every case.
1505
+ *
1506
+ * @param name The name of the dynamic color. Defaults to empty.
1507
+ * @param palette Function that provides a TonalPalette given
1508
+ * DynamicScheme. A TonalPalette is defined by a hue and chroma, so this
1509
+ * replaces the need to specify hue/chroma. By providing a tonal palette, when
1510
+ * contrast adjustments are made, intended chroma can be preserved.
1511
+ * @param tone Function that provides a tone, given a DynamicScheme.
1512
+ * @param isBackground Whether this dynamic color is a background, with
1513
+ * some other color as the foreground. Defaults to false.
1514
+ * @param background The background of the dynamic color (as a function of a
1515
+ * `DynamicScheme`), if it exists.
1516
+ * @param secondBackground A second background of the dynamic color (as a
1517
+ * function of a `DynamicScheme`), if it
1518
+ * exists.
1519
+ * @param contrastCurve A `ContrastCurve` object specifying how its contrast
1520
+ * against its background should behave in various contrast levels options.
1521
+ * @param toneDeltaPair A `ToneDeltaPair` object specifying a tone delta
1522
+ * constraint between two colors. One of them must be the color being
1523
+ * constructed.
1524
+ */
1173
1525
  constructor(name, palette, tone, isBackground, background, secondBackground, contrastCurve, toneDeltaPair) {
1174
1526
  this.name = name;
1175
1527
  this.palette = palette;
@@ -1190,9 +1542,24 @@ var DynamicColor = class {
1190
1542
  throw new Error(`Color ${name} has backgrounddefined, but contrastCurve is not defined.`);
1191
1543
  }
1192
1544
  }
1545
+ /**
1546
+ * Return a ARGB integer (i.e. a hex code).
1547
+ *
1548
+ * @param scheme Defines the conditions of the user interface, for example,
1549
+ * whether or not it is dark mode or light mode, and what the desired
1550
+ * contrast level is.
1551
+ */
1193
1552
  getArgb(scheme) {
1194
1553
  return this.getHct(scheme).toInt();
1195
1554
  }
1555
+ /**
1556
+ * Return a color, expressed in the HCT color space, that this
1557
+ * DynamicColor is under the conditions in scheme.
1558
+ *
1559
+ * @param scheme Defines the conditions of the user interface, for example,
1560
+ * whether or not it is dark mode or light mode, and what the desired
1561
+ * contrast level is.
1562
+ */
1196
1563
  getHct(scheme) {
1197
1564
  const cachedAnswer = this.hctCache.get(scheme);
1198
1565
  if (cachedAnswer != null) {
@@ -1206,6 +1573,14 @@ var DynamicColor = class {
1206
1573
  this.hctCache.set(scheme, answer);
1207
1574
  return answer;
1208
1575
  }
1576
+ /**
1577
+ * Return a tone, T in the HCT color space, that this DynamicColor is under
1578
+ * the conditions in scheme.
1579
+ *
1580
+ * @param scheme Defines the conditions of the user interface, for example,
1581
+ * whether or not it is dark mode or light mode, and what the desired
1582
+ * contrast level is.
1583
+ */
1209
1584
  getTone(scheme) {
1210
1585
  const decreasingContrast = scheme.contrastLevel < 0;
1211
1586
  if (this.toneDeltaPair) {
@@ -1225,12 +1600,12 @@ var DynamicColor = class {
1225
1600
  const nContrast = nearer.contrastCurve.get(scheme.contrastLevel);
1226
1601
  const fContrast = farther.contrastCurve.get(scheme.contrastLevel);
1227
1602
  const nInitialTone = nearer.tone(scheme);
1228
- let nTone = Contrast.ratioOfTones(bgTone, nInitialTone) >= nContrast ? nInitialTone : DynamicColor.foregroundTone(bgTone, nContrast);
1603
+ let nTone = Contrast.ratioOfTones(bgTone, nInitialTone) >= nContrast ? nInitialTone : _DynamicColor.foregroundTone(bgTone, nContrast);
1229
1604
  const fInitialTone = farther.tone(scheme);
1230
- let fTone = Contrast.ratioOfTones(bgTone, fInitialTone) >= fContrast ? fInitialTone : DynamicColor.foregroundTone(bgTone, fContrast);
1605
+ let fTone = Contrast.ratioOfTones(bgTone, fInitialTone) >= fContrast ? fInitialTone : _DynamicColor.foregroundTone(bgTone, fContrast);
1231
1606
  if (decreasingContrast) {
1232
- nTone = DynamicColor.foregroundTone(bgTone, nContrast);
1233
- fTone = DynamicColor.foregroundTone(bgTone, fContrast);
1607
+ nTone = _DynamicColor.foregroundTone(bgTone, nContrast);
1608
+ fTone = _DynamicColor.foregroundTone(bgTone, fContrast);
1234
1609
  }
1235
1610
  if ((fTone - nTone) * expansionDir >= delta) {
1236
1611
  } else {
@@ -1275,10 +1650,10 @@ var DynamicColor = class {
1275
1650
  const desiredRatio = this.contrastCurve.get(scheme.contrastLevel);
1276
1651
  if (Contrast.ratioOfTones(bgTone, answer) >= desiredRatio) {
1277
1652
  } else {
1278
- answer = DynamicColor.foregroundTone(bgTone, desiredRatio);
1653
+ answer = _DynamicColor.foregroundTone(bgTone, desiredRatio);
1279
1654
  }
1280
1655
  if (decreasingContrast) {
1281
- answer = DynamicColor.foregroundTone(bgTone, desiredRatio);
1656
+ answer = _DynamicColor.foregroundTone(bgTone, desiredRatio);
1282
1657
  }
1283
1658
  if (this.isBackground && 50 <= answer && answer < 60) {
1284
1659
  if (Contrast.ratioOfTones(49, bgTone) >= desiredRatio) {
@@ -1301,7 +1676,7 @@ var DynamicColor = class {
1301
1676
  availables.push(lightOption);
1302
1677
  if (darkOption !== -1)
1303
1678
  availables.push(darkOption);
1304
- const prefersLight = DynamicColor.tonePrefersLightForeground(bgTone1) || DynamicColor.tonePrefersLightForeground(bgTone2);
1679
+ const prefersLight = _DynamicColor.tonePrefersLightForeground(bgTone1) || _DynamicColor.tonePrefersLightForeground(bgTone2);
1305
1680
  if (prefersLight) {
1306
1681
  return lightOption < 0 ? 100 : lightOption;
1307
1682
  }
@@ -1313,12 +1688,21 @@ var DynamicColor = class {
1313
1688
  return answer;
1314
1689
  }
1315
1690
  }
1691
+ /**
1692
+ * Given a background tone, find a foreground tone, while ensuring they reach
1693
+ * a contrast ratio that is as close to [ratio] as possible.
1694
+ *
1695
+ * @param bgTone Tone in HCT. Range is 0 to 100, undefined behavior when it
1696
+ * falls outside that range.
1697
+ * @param ratio The contrast ratio desired between bgTone and the return
1698
+ * value.
1699
+ */
1316
1700
  static foregroundTone(bgTone, ratio) {
1317
1701
  const lighterTone = Contrast.lighterUnsafe(bgTone, ratio);
1318
1702
  const darkerTone = Contrast.darkerUnsafe(bgTone, ratio);
1319
1703
  const lighterRatio = Contrast.ratioOfTones(lighterTone, bgTone);
1320
1704
  const darkerRatio = Contrast.ratioOfTones(darkerTone, bgTone);
1321
- const preferLighter = DynamicColor.tonePrefersLightForeground(bgTone);
1705
+ const preferLighter = _DynamicColor.tonePrefersLightForeground(bgTone);
1322
1706
  if (preferLighter) {
1323
1707
  const negligibleDifference = Math.abs(lighterRatio - darkerRatio) < 0.1 && lighterRatio < ratio && darkerRatio < ratio;
1324
1708
  return lighterRatio >= ratio || lighterRatio >= darkerRatio || negligibleDifference ? lighterTone : darkerTone;
@@ -1326,32 +1710,64 @@ var DynamicColor = class {
1326
1710
  return darkerRatio >= ratio || darkerRatio >= lighterRatio ? darkerTone : lighterTone;
1327
1711
  }
1328
1712
  }
1713
+ /**
1714
+ * Returns whether [tone] prefers a light foreground.
1715
+ *
1716
+ * People prefer white foregrounds on ~T60-70. Observed over time, and also
1717
+ * by Andrew Somers during research for APCA.
1718
+ *
1719
+ * T60 used as to create the smallest discontinuity possible when skipping
1720
+ * down to T49 in order to ensure light foregrounds.
1721
+ * Since `tertiaryContainer` in dark monochrome scheme requires a tone of
1722
+ * 60, it should not be adjusted. Therefore, 60 is excluded here.
1723
+ */
1329
1724
  static tonePrefersLightForeground(tone) {
1330
1725
  return Math.round(tone) < 60;
1331
1726
  }
1727
+ /**
1728
+ * Returns whether [tone] can reach a contrast ratio of 4.5 with a lighter
1729
+ * color.
1730
+ */
1332
1731
  static toneAllowsLightForeground(tone) {
1333
1732
  return Math.round(tone) <= 49;
1334
1733
  }
1734
+ /**
1735
+ * Adjust a tone such that white has 4.5 contrast, if the tone is
1736
+ * reasonably close to supporting it.
1737
+ */
1335
1738
  static enableLightForeground(tone) {
1336
- if (DynamicColor.tonePrefersLightForeground(tone) && !DynamicColor.toneAllowsLightForeground(tone)) {
1739
+ if (_DynamicColor.tonePrefersLightForeground(tone) && !_DynamicColor.toneAllowsLightForeground(tone)) {
1337
1740
  return 49;
1338
1741
  }
1339
1742
  return tone;
1340
1743
  }
1341
1744
  };
1342
1745
 
1343
- // node_modules/@material/material-color-utilities/palettes/tonal_palette.js
1344
- var TonalPalette = class {
1746
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/palettes/tonal_palette.js
1747
+ var TonalPalette = class _TonalPalette {
1748
+ /**
1749
+ * @param argb ARGB representation of a color
1750
+ * @return Tones matching that color's hue and chroma.
1751
+ */
1345
1752
  static fromInt(argb) {
1346
1753
  const hct = Hct.fromInt(argb);
1347
- return TonalPalette.fromHct(hct);
1754
+ return _TonalPalette.fromHct(hct);
1348
1755
  }
1756
+ /**
1757
+ * @param hct Hct
1758
+ * @return Tones matching that color's hue and chroma.
1759
+ */
1349
1760
  static fromHct(hct) {
1350
- return new TonalPalette(hct.hue, hct.chroma, hct);
1761
+ return new _TonalPalette(hct.hue, hct.chroma, hct);
1351
1762
  }
1763
+ /**
1764
+ * @param hue HCT hue
1765
+ * @param chroma HCT chroma
1766
+ * @return Tones matching hue and chroma.
1767
+ */
1352
1768
  static fromHueAndChroma(hue, chroma) {
1353
1769
  const keyColor = new KeyColor(hue, chroma).create();
1354
- return new TonalPalette(hue, chroma, keyColor);
1770
+ return new _TonalPalette(hue, chroma, keyColor);
1355
1771
  }
1356
1772
  constructor(hue, chroma, keyColor) {
1357
1773
  this.hue = hue;
@@ -1359,6 +1775,10 @@ var TonalPalette = class {
1359
1775
  this.keyColor = keyColor;
1360
1776
  this.cache = /* @__PURE__ */ new Map();
1361
1777
  }
1778
+ /**
1779
+ * @param tone HCT tone, measured from 0 to 100.
1780
+ * @return ARGB representation of a color with that tone.
1781
+ */
1362
1782
  tone(tone) {
1363
1783
  let argb = this.cache.get(tone);
1364
1784
  if (argb === void 0) {
@@ -1367,6 +1787,10 @@ var TonalPalette = class {
1367
1787
  }
1368
1788
  return argb;
1369
1789
  }
1790
+ /**
1791
+ * @param tone HCT tone.
1792
+ * @return HCT representation of a color with that tone.
1793
+ */
1370
1794
  getHct(tone) {
1371
1795
  return Hct.fromInt(this.tone(tone));
1372
1796
  }
@@ -1378,6 +1802,13 @@ var KeyColor = class {
1378
1802
  this.chromaCache = /* @__PURE__ */ new Map();
1379
1803
  this.maxChromaValue = 200;
1380
1804
  }
1805
+ /**
1806
+ * Creates a key color from a [hue] and a [chroma].
1807
+ * The key color is the first tone, starting from T50, matching the given hue
1808
+ * and chroma.
1809
+ *
1810
+ * @return Key color [Hct]
1811
+ */
1381
1812
  create() {
1382
1813
  const pivotTone = 50;
1383
1814
  const toneStepSize = 1;
@@ -1407,6 +1838,7 @@ var KeyColor = class {
1407
1838
  }
1408
1839
  return Hct.from(this.hue, this.requestedChroma, lowerTone);
1409
1840
  }
1841
+ // Find the maximum chroma for a given tone
1410
1842
  maxChroma(tone) {
1411
1843
  if (this.chromaCache.has(tone)) {
1412
1844
  return this.chromaCache.get(tone);
@@ -1417,14 +1849,29 @@ var KeyColor = class {
1417
1849
  }
1418
1850
  };
1419
1851
 
1420
- // node_modules/@material/material-color-utilities/dynamiccolor/contrast_curve.js
1852
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/dynamiccolor/contrast_curve.js
1421
1853
  var ContrastCurve = class {
1854
+ /**
1855
+ * Creates a `ContrastCurve` object.
1856
+ *
1857
+ * @param low Value for contrast level -1.0
1858
+ * @param normal Value for contrast level 0.0
1859
+ * @param medium Value for contrast level 0.5
1860
+ * @param high Value for contrast level 1.0
1861
+ */
1422
1862
  constructor(low, normal, medium, high) {
1423
1863
  this.low = low;
1424
1864
  this.normal = normal;
1425
1865
  this.medium = medium;
1426
1866
  this.high = high;
1427
1867
  }
1868
+ /**
1869
+ * Returns the value at a given contrast level.
1870
+ *
1871
+ * @param contrastLevel The contrast level. 0.0 is the default (normal); -1.0
1872
+ * is the lowest; 1.0 is the highest.
1873
+ * @return The value. For contrast ratios, a number between 1.0 and 21.0.
1874
+ */
1428
1875
  get(contrastLevel) {
1429
1876
  if (contrastLevel <= -1) {
1430
1877
  return this.low;
@@ -1440,8 +1887,31 @@ var ContrastCurve = class {
1440
1887
  }
1441
1888
  };
1442
1889
 
1443
- // node_modules/@material/material-color-utilities/dynamiccolor/tone_delta_pair.js
1890
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/dynamiccolor/tone_delta_pair.js
1444
1891
  var ToneDeltaPair = class {
1892
+ /**
1893
+ * Documents a constraint in tone distance between two DynamicColors.
1894
+ *
1895
+ * The polarity is an adjective that describes "A", compared to "B".
1896
+ *
1897
+ * For instance, ToneDeltaPair(A, B, 15, 'darker', stayTogether) states that
1898
+ * A's tone should be at least 15 darker than B's.
1899
+ *
1900
+ * 'nearer' and 'farther' describes closeness to the surface roles. For
1901
+ * instance, ToneDeltaPair(A, B, 10, 'nearer', stayTogether) states that A
1902
+ * should be 10 lighter than B in light mode, and 10 darker than B in dark
1903
+ * mode.
1904
+ *
1905
+ * @param roleA The first role in a pair.
1906
+ * @param roleB The second role in a pair.
1907
+ * @param delta Required difference between tones. Absolute value, negative
1908
+ * values have undefined behavior.
1909
+ * @param polarity The relative relation between tones of roleA and roleB,
1910
+ * as described above.
1911
+ * @param stayTogether Whether these two roles should stay on the same side of
1912
+ * the "awkward zone" (T50-59). This is necessary for certain cases where
1913
+ * one role has two backgrounds.
1914
+ */
1445
1915
  constructor(roleA, roleB, delta, polarity, stayTogether) {
1446
1916
  this.roleA = roleA;
1447
1917
  this.roleB = roleB;
@@ -1451,7 +1921,7 @@ var ToneDeltaPair = class {
1451
1921
  }
1452
1922
  };
1453
1923
 
1454
- // node_modules/@material/material-color-utilities/dynamiccolor/variant.js
1924
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/dynamiccolor/variant.js
1455
1925
  var Variant;
1456
1926
  (function(Variant2) {
1457
1927
  Variant2[Variant2["MONOCHROME"] = 0] = "MONOCHROME";
@@ -1465,7 +1935,7 @@ var Variant;
1465
1935
  Variant2[Variant2["FRUIT_SALAD"] = 8] = "FRUIT_SALAD";
1466
1936
  })(Variant || (Variant = {}));
1467
1937
 
1468
- // node_modules/@material/material-color-utilities/dynamiccolor/material_dynamic_colors.js
1938
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/dynamiccolor/material_dynamic_colors.js
1469
1939
  function isFidelity(scheme) {
1470
1940
  return scheme.variant === Variant.FIDELITY || scheme.variant === Variant.CONTENT;
1471
1941
  }
@@ -1496,9 +1966,9 @@ function findDesiredChromaByTone(hue, chroma, tone, byDecreasingTone) {
1496
1966
  }
1497
1967
  return answer;
1498
1968
  }
1499
- var MaterialDynamicColors = class {
1969
+ var MaterialDynamicColors = class _MaterialDynamicColors {
1500
1970
  static highestSurface(s) {
1501
- return s.isDark ? MaterialDynamicColors.surfaceBright : MaterialDynamicColors.surfaceDim;
1971
+ return s.isDark ? _MaterialDynamicColors.surfaceBright : _MaterialDynamicColors.surfaceDim;
1502
1972
  }
1503
1973
  };
1504
1974
  MaterialDynamicColors.contentAccentToneDelta = 15;
@@ -1969,7 +2439,7 @@ MaterialDynamicColors.onTertiaryFixedVariant = DynamicColor.fromPalette({
1969
2439
  contrastCurve: new ContrastCurve(3, 4.5, 7, 11)
1970
2440
  });
1971
2441
 
1972
- // node_modules/@material/material-color-utilities/dynamiccolor/dynamic_scheme.js
2442
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/dynamiccolor/dynamic_scheme.js
1973
2443
  var DynamicScheme = class {
1974
2444
  constructor(args) {
1975
2445
  this.sourceColorArgb = args.sourceColorArgb;
@@ -1984,6 +2454,16 @@ var DynamicScheme = class {
1984
2454
  this.neutralVariantPalette = args.neutralVariantPalette;
1985
2455
  this.errorPalette = TonalPalette.fromHueAndChroma(25, 84);
1986
2456
  }
2457
+ /**
2458
+ * Support design spec'ing Dynamic Color by schemes that specify hue
2459
+ * rotations that should be applied at certain breakpoints.
2460
+ * @param sourceColor the source color of the theme, in HCT.
2461
+ * @param hues The "breakpoints", i.e. the hues at which a rotation should
2462
+ * be apply.
2463
+ * @param rotations The rotation that should be applied when source color's
2464
+ * hue is >= the same index in hues array, and <= the hue at the next index
2465
+ * in hues array.
2466
+ */
1987
2467
  static getRotatedHue(sourceColor, hues, rotations) {
1988
2468
  const sourceHue = sourceColor.hue;
1989
2469
  if (hues.length !== rotations.length) {
@@ -2172,8 +2652,8 @@ var DynamicScheme = class {
2172
2652
  }
2173
2653
  };
2174
2654
 
2175
- // node_modules/@material/material-color-utilities/temperature/temperature_cache.js
2176
- var TemperatureCache = class {
2655
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/temperature/temperature_cache.js
2656
+ var TemperatureCache = class _TemperatureCache {
2177
2657
  constructor(input) {
2178
2658
  this.input = input;
2179
2659
  this.hctsByTempCache = [];
@@ -2198,6 +2678,19 @@ var TemperatureCache = class {
2198
2678
  get coldest() {
2199
2679
  return this.hctsByTemp[0];
2200
2680
  }
2681
+ /**
2682
+ * A set of colors with differing hues, equidistant in temperature.
2683
+ *
2684
+ * In art, this is usually described as a set of 5 colors on a color wheel
2685
+ * divided into 12 sections. This method allows provision of either of those
2686
+ * values.
2687
+ *
2688
+ * Behavior is undefined when [count] or [divisions] is 0.
2689
+ * When divisions < count, colors repeat.
2690
+ *
2691
+ * [count] The number of colors to return, includes the input color.
2692
+ * [divisions] The number of divisions on the color wheel.
2693
+ */
2201
2694
  analogous(count = 5, divisions = 12) {
2202
2695
  const startHue = Math.round(this.input.hue);
2203
2696
  const startHct = this.hctsByHue[startHue];
@@ -2265,6 +2758,13 @@ var TemperatureCache = class {
2265
2758
  }
2266
2759
  return answers;
2267
2760
  }
2761
+ /**
2762
+ * A color that complements the input color aesthetically.
2763
+ *
2764
+ * In art, this is usually described as being across the color wheel.
2765
+ * History of this shows intent as a color that is just as cool-warm as the
2766
+ * input color is warm-cool.
2767
+ */
2268
2768
  get complement() {
2269
2769
  if (this.complementCache != null) {
2270
2770
  return this.complementCache;
@@ -2274,7 +2774,7 @@ var TemperatureCache = class {
2274
2774
  const warmestHue = this.warmest.hue;
2275
2775
  const warmestTemp = this.tempsByHct.get(this.warmest);
2276
2776
  const range = warmestTemp - coldestTemp;
2277
- const startHueIsColdestToWarmest = TemperatureCache.isBetween(this.input.hue, coldestHue, warmestHue);
2777
+ const startHueIsColdestToWarmest = _TemperatureCache.isBetween(this.input.hue, coldestHue, warmestHue);
2278
2778
  const startHue = startHueIsColdestToWarmest ? warmestHue : coldestHue;
2279
2779
  const endHue = startHueIsColdestToWarmest ? coldestHue : warmestHue;
2280
2780
  const directionOfRotation = 1;
@@ -2283,7 +2783,7 @@ var TemperatureCache = class {
2283
2783
  const complementRelativeTemp = 1 - this.inputRelativeTemperature;
2284
2784
  for (let hueAddend = 0; hueAddend <= 360; hueAddend += 1) {
2285
2785
  const hue = sanitizeDegreesDouble(startHue + directionOfRotation * hueAddend);
2286
- if (!TemperatureCache.isBetween(hue, startHue, endHue)) {
2786
+ if (!_TemperatureCache.isBetween(hue, startHue, endHue)) {
2287
2787
  continue;
2288
2788
  }
2289
2789
  const possibleAnswer = this.hctsByHue[Math.round(hue)];
@@ -2297,6 +2797,10 @@ var TemperatureCache = class {
2297
2797
  this.complementCache = answer;
2298
2798
  return this.complementCache;
2299
2799
  }
2800
+ /**
2801
+ * Temperature relative to all colors with the same chroma and tone.
2802
+ * Value on a scale from 0 to 1.
2803
+ */
2300
2804
  relativeTemperature(hct) {
2301
2805
  const range = this.tempsByHct.get(this.warmest) - this.tempsByHct.get(this.coldest);
2302
2806
  const differenceFromColdest = this.tempsByHct.get(hct) - this.tempsByHct.get(this.coldest);
@@ -2305,6 +2809,7 @@ var TemperatureCache = class {
2305
2809
  }
2306
2810
  return differenceFromColdest / range;
2307
2811
  }
2812
+ /** Relative temperature of the input color. See [relativeTemperature]. */
2308
2813
  get inputRelativeTemperature() {
2309
2814
  if (this.inputRelativeTemperatureCache >= 0) {
2310
2815
  return this.inputRelativeTemperatureCache;
@@ -2312,6 +2817,7 @@ var TemperatureCache = class {
2312
2817
  this.inputRelativeTemperatureCache = this.relativeTemperature(this.input);
2313
2818
  return this.inputRelativeTemperatureCache;
2314
2819
  }
2820
+ /** A Map with keys of HCTs in [hctsByTemp], values of raw temperature. */
2315
2821
  get tempsByHct() {
2316
2822
  if (this.tempsByHctCache.size > 0) {
2317
2823
  return this.tempsByHctCache;
@@ -2319,11 +2825,15 @@ var TemperatureCache = class {
2319
2825
  const allHcts = this.hctsByHue.concat([this.input]);
2320
2826
  const temperaturesByHct = /* @__PURE__ */ new Map();
2321
2827
  for (const e of allHcts) {
2322
- temperaturesByHct.set(e, TemperatureCache.rawTemperature(e));
2828
+ temperaturesByHct.set(e, _TemperatureCache.rawTemperature(e));
2323
2829
  }
2324
2830
  this.tempsByHctCache = temperaturesByHct;
2325
2831
  return temperaturesByHct;
2326
2832
  }
2833
+ /**
2834
+ * HCTs for all hues, with the same chroma/tone as the input.
2835
+ * Sorted ascending, hue 0 to 360.
2836
+ */
2327
2837
  get hctsByHue() {
2328
2838
  if (this.hctsByHueCache.length > 0) {
2329
2839
  return this.hctsByHueCache;
@@ -2336,12 +2846,32 @@ var TemperatureCache = class {
2336
2846
  this.hctsByHueCache = hcts;
2337
2847
  return this.hctsByHueCache;
2338
2848
  }
2849
+ /** Determines if an angle is between two other angles, rotating clockwise. */
2339
2850
  static isBetween(angle, a, b) {
2340
2851
  if (a < b) {
2341
2852
  return a <= angle && angle <= b;
2342
2853
  }
2343
2854
  return a <= angle || angle <= b;
2344
2855
  }
2856
+ /**
2857
+ * Value representing cool-warm factor of a color.
2858
+ * Values below 0 are considered cool, above, warm.
2859
+ *
2860
+ * Color science has researched emotion and harmony, which art uses to select
2861
+ * colors. Warm-cool is the foundation of analogous and complementary colors.
2862
+ * See:
2863
+ * - Li-Chen Ou's Chapter 19 in Handbook of Color Psychology (2015).
2864
+ * - Josef Albers' Interaction of Color chapters 19 and 21.
2865
+ *
2866
+ * Implementation of Ou, Woodcock and Wright's algorithm, which uses
2867
+ * L*a*b* / LCH color space.
2868
+ * Return value has these properties:
2869
+ * - Values below 0 are cool, above 0 are warm.
2870
+ * - Lower bound: -0.52 - (chroma ^ 1.07 / 20). L*a*b* chroma is infinite.
2871
+ * Assuming max of 130 chroma, -9.66.
2872
+ * - Upper bound: -0.52 + (chroma ^ 1.07 / 20). L*a*b* chroma is infinite.
2873
+ * Assuming max of 130 chroma, 8.61.
2874
+ */
2345
2875
  static rawTemperature(color) {
2346
2876
  const lab = labFromArgb(color.toInt());
2347
2877
  const hue = sanitizeDegreesDouble(Math.atan2(lab[2], lab[1]) * 180 / Math.PI);
@@ -2351,8 +2881,8 @@ var TemperatureCache = class {
2351
2881
  }
2352
2882
  };
2353
2883
 
2354
- // node_modules/@material/material-color-utilities/scheme/scheme_expressive.js
2355
- var SchemeExpressive = class extends DynamicScheme {
2884
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/scheme/scheme_expressive.js
2885
+ var SchemeExpressive = class _SchemeExpressive extends DynamicScheme {
2356
2886
  constructor(sourceColorHct, isDark, contrastLevel) {
2357
2887
  super({
2358
2888
  sourceColorArgb: sourceColorHct.toInt(),
@@ -2360,8 +2890,8 @@ var SchemeExpressive = class extends DynamicScheme {
2360
2890
  contrastLevel,
2361
2891
  isDark,
2362
2892
  primaryPalette: TonalPalette.fromHueAndChroma(sanitizeDegreesDouble(sourceColorHct.hue + 240), 40),
2363
- secondaryPalette: TonalPalette.fromHueAndChroma(DynamicScheme.getRotatedHue(sourceColorHct, SchemeExpressive.hues, SchemeExpressive.secondaryRotations), 24),
2364
- tertiaryPalette: TonalPalette.fromHueAndChroma(DynamicScheme.getRotatedHue(sourceColorHct, SchemeExpressive.hues, SchemeExpressive.tertiaryRotations), 32),
2893
+ secondaryPalette: TonalPalette.fromHueAndChroma(DynamicScheme.getRotatedHue(sourceColorHct, _SchemeExpressive.hues, _SchemeExpressive.secondaryRotations), 24),
2894
+ tertiaryPalette: TonalPalette.fromHueAndChroma(DynamicScheme.getRotatedHue(sourceColorHct, _SchemeExpressive.hues, _SchemeExpressive.tertiaryRotations), 32),
2365
2895
  neutralPalette: TonalPalette.fromHueAndChroma(sourceColorHct.hue + 15, 8),
2366
2896
  neutralVariantPalette: TonalPalette.fromHueAndChroma(sourceColorHct.hue + 15, 12)
2367
2897
  });
@@ -2401,8 +2931,8 @@ SchemeExpressive.tertiaryRotations = [
2401
2931
  120
2402
2932
  ];
2403
2933
 
2404
- // node_modules/@material/material-color-utilities/scheme/scheme_vibrant.js
2405
- var SchemeVibrant = class extends DynamicScheme {
2934
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/scheme/scheme_vibrant.js
2935
+ var SchemeVibrant = class _SchemeVibrant extends DynamicScheme {
2406
2936
  constructor(sourceColorHct, isDark, contrastLevel) {
2407
2937
  super({
2408
2938
  sourceColorArgb: sourceColorHct.toInt(),
@@ -2410,8 +2940,8 @@ var SchemeVibrant = class extends DynamicScheme {
2410
2940
  contrastLevel,
2411
2941
  isDark,
2412
2942
  primaryPalette: TonalPalette.fromHueAndChroma(sourceColorHct.hue, 200),
2413
- secondaryPalette: TonalPalette.fromHueAndChroma(DynamicScheme.getRotatedHue(sourceColorHct, SchemeVibrant.hues, SchemeVibrant.secondaryRotations), 24),
2414
- tertiaryPalette: TonalPalette.fromHueAndChroma(DynamicScheme.getRotatedHue(sourceColorHct, SchemeVibrant.hues, SchemeVibrant.tertiaryRotations), 32),
2943
+ secondaryPalette: TonalPalette.fromHueAndChroma(DynamicScheme.getRotatedHue(sourceColorHct, _SchemeVibrant.hues, _SchemeVibrant.secondaryRotations), 24),
2944
+ tertiaryPalette: TonalPalette.fromHueAndChroma(DynamicScheme.getRotatedHue(sourceColorHct, _SchemeVibrant.hues, _SchemeVibrant.tertiaryRotations), 32),
2415
2945
  neutralPalette: TonalPalette.fromHueAndChroma(sourceColorHct.hue, 10),
2416
2946
  neutralVariantPalette: TonalPalette.fromHueAndChroma(sourceColorHct.hue, 12)
2417
2947
  });
@@ -2451,11 +2981,12 @@ SchemeVibrant.tertiaryRotations = [
2451
2981
  25
2452
2982
  ];
2453
2983
 
2454
- // node_modules/@material/material-color-utilities/score/score.js
2984
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/score/score.js
2455
2985
  var SCORE_OPTION_DEFAULTS = {
2456
2986
  desired: 4,
2457
2987
  fallbackColorARGB: 4282549748,
2458
2988
  filter: true
2989
+ // Avoid unsuitable colors.
2459
2990
  };
2460
2991
  function compare(a, b) {
2461
2992
  if (a.score > b.score) {
@@ -2465,9 +2996,22 @@ function compare(a, b) {
2465
2996
  }
2466
2997
  return 0;
2467
2998
  }
2468
- var Score = class {
2999
+ var Score = class _Score {
2469
3000
  constructor() {
2470
3001
  }
3002
+ /**
3003
+ * Given a map with keys of colors and values of how often the color appears,
3004
+ * rank the colors based on suitability for being used for a UI theme.
3005
+ *
3006
+ * @param colorsToPopulation map with keys of colors and values of how often
3007
+ * the color appears, usually from a source image.
3008
+ * @param {ScoreOptions} options optional parameters.
3009
+ * @return Colors sorted by suitability for a UI theme. The most suitable
3010
+ * color is the first item, the least suitable is the last. There will
3011
+ * always be at least one color returned. If all the input colors
3012
+ * were not suitable for a theme, a default fallback color will be
3013
+ * provided, Google Blue.
3014
+ */
2471
3015
  static score(colorsToPopulation, options) {
2472
3016
  const { desired, fallbackColorARGB, filter } = __spreadValues(__spreadValues({}, SCORE_OPTION_DEFAULTS), options);
2473
3017
  const colorsHct = [];
@@ -2492,12 +3036,12 @@ var Score = class {
2492
3036
  for (const hct of colorsHct) {
2493
3037
  const hue = sanitizeDegreesInt(Math.round(hct.hue));
2494
3038
  const proportion = hueExcitedProportions[hue];
2495
- if (filter && (hct.chroma < Score.CUTOFF_CHROMA || proportion <= Score.CUTOFF_EXCITED_PROPORTION)) {
3039
+ if (filter && (hct.chroma < _Score.CUTOFF_CHROMA || proportion <= _Score.CUTOFF_EXCITED_PROPORTION)) {
2496
3040
  continue;
2497
3041
  }
2498
- const proportionScore = proportion * 100 * Score.WEIGHT_PROPORTION;
2499
- const chromaWeight = hct.chroma < Score.TARGET_CHROMA ? Score.WEIGHT_CHROMA_BELOW : Score.WEIGHT_CHROMA_ABOVE;
2500
- const chromaScore = (hct.chroma - Score.TARGET_CHROMA) * chromaWeight;
3042
+ const proportionScore = proportion * 100 * _Score.WEIGHT_PROPORTION;
3043
+ const chromaWeight = hct.chroma < _Score.TARGET_CHROMA ? _Score.WEIGHT_CHROMA_BELOW : _Score.WEIGHT_CHROMA_ABOVE;
3044
+ const chromaScore = (hct.chroma - _Score.TARGET_CHROMA) * chromaWeight;
2501
3045
  const score = proportionScore + chromaScore;
2502
3046
  scoredHct.push({ hct, score });
2503
3047
  }
@@ -2535,7 +3079,7 @@ Score.WEIGHT_CHROMA_BELOW = 0.1;
2535
3079
  Score.CUTOFF_CHROMA = 5;
2536
3080
  Score.CUTOFF_EXCITED_PROPORTION = 0.01;
2537
3081
 
2538
- // node_modules/@material/material-color-utilities/utils/string_utils.js
3082
+ // node_modules/.aspect_rules_js/@material+material-color-utilities@0.3.0/node_modules/@material/material-color-utilities/utils/string_utils.js
2539
3083
  function hexFromArgb(argb) {
2540
3084
  const r = redFromArgb(argb);
2541
3085
  const g = greenFromArgb(argb);
@@ -2578,7 +3122,7 @@ function parseIntHex(value) {
2578
3122
  return parseInt(value, 16);
2579
3123
  }
2580
3124
 
2581
- // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/theme-color/index.mjs
3125
+ // src/material/schematics/ng-generate/theme-color/index.ts
2582
3126
  var HUE_TONES = [0, 10, 20, 25, 30, 35, 40, 50, 60, 70, 80, 90, 95, 98, 99, 100];
2583
3127
  var NEUTRAL_HUES = /* @__PURE__ */ new Map([
2584
3128
  [4, { prev: 0, next: 10 }],
@@ -2597,13 +3141,16 @@ function getHctFromHex(color) {
2597
3141
  try {
2598
3142
  return Hct.fromInt(argbFromHex(color));
2599
3143
  } catch (e) {
2600
- throw new Error("Cannot parse the specified color " + color + ". Please verify it is a hex color (ex. #ffffff or ffffff).");
3144
+ throw new Error(
3145
+ "Cannot parse the specified color " + color + ". Please verify it is a hex color (ex. #ffffff or ffffff)."
3146
+ );
2601
3147
  }
2602
3148
  }
2603
3149
  function getMaterialDynamicScheme(primaryPalette, secondaryPalette, tertiaryPalette, neutralPalette, neutralVariantPalette, isDark, contrastLevel) {
2604
3150
  return new DynamicScheme({
2605
3151
  sourceColorArgb: primaryPalette.keyColor.toInt(),
2606
3152
  variant: 6,
3153
+ // Variant.FIDELITY, used number representation since enum is not accessible outside of @material/material-color-utilities
2607
3154
  contrastLevel,
2608
3155
  isDark,
2609
3156
  primaryPalette,
@@ -2620,25 +3167,38 @@ function getColorPalettes(primaryColor, secondaryColor, tertiaryColor, neutralCo
2620
3167
  if (secondaryColor) {
2621
3168
  secondaryPalette = TonalPalette.fromHct(getHctFromHex(secondaryColor));
2622
3169
  } else {
2623
- secondaryPalette = TonalPalette.fromHueAndChroma(primaryColorHct.hue, Math.max(primaryColorHct.chroma - 32, primaryColorHct.chroma * 0.5));
3170
+ secondaryPalette = TonalPalette.fromHueAndChroma(
3171
+ primaryColorHct.hue,
3172
+ Math.max(primaryColorHct.chroma - 32, primaryColorHct.chroma * 0.5)
3173
+ );
2624
3174
  }
2625
3175
  let tertiaryPalette;
2626
3176
  if (tertiaryColor) {
2627
3177
  tertiaryPalette = TonalPalette.fromHct(getHctFromHex(tertiaryColor));
2628
3178
  } else {
2629
- tertiaryPalette = TonalPalette.fromInt(DislikeAnalyzer.fixIfDisliked(new TemperatureCache(primaryColorHct).analogous(3, 6)[2]).toInt());
3179
+ tertiaryPalette = TonalPalette.fromInt(
3180
+ DislikeAnalyzer.fixIfDisliked(
3181
+ new TemperatureCache(primaryColorHct).analogous(3, 6)[2]
3182
+ ).toInt()
3183
+ );
2630
3184
  }
2631
3185
  let neutralPalette;
2632
3186
  if (neutralColor) {
2633
3187
  neutralPalette = TonalPalette.fromHct(getHctFromHex(neutralColor));
2634
3188
  } else {
2635
- neutralPalette = TonalPalette.fromHueAndChroma(primaryColorHct.hue, primaryColorHct.chroma / 8);
3189
+ neutralPalette = TonalPalette.fromHueAndChroma(
3190
+ primaryColorHct.hue,
3191
+ primaryColorHct.chroma / 8
3192
+ );
2636
3193
  }
2637
3194
  let neutralVariantPalette;
2638
3195
  if (neutralVariantColor) {
2639
3196
  neutralVariantPalette = TonalPalette.fromHct(getHctFromHex(neutralVariantColor));
2640
3197
  } else {
2641
- neutralVariantPalette = TonalPalette.fromHueAndChroma(primaryColorHct.hue, primaryColorHct.chroma / 8 + 4);
3198
+ neutralVariantPalette = TonalPalette.fromHueAndChroma(
3199
+ primaryColorHct.hue,
3200
+ primaryColorHct.chroma / 8 + 4
3201
+ );
2642
3202
  }
2643
3203
  let errorPalette;
2644
3204
  if (errorColor) {
@@ -2650,7 +3210,9 @@ function getColorPalettes(primaryColor, secondaryColor, tertiaryColor, neutralCo
2650
3210
  tertiaryPalette,
2651
3211
  neutralPalette,
2652
3212
  neutralVariantPalette,
3213
+ /* isDark */
2653
3214
  false,
3215
+ /* contrastLevel */
2654
3216
  0
2655
3217
  ).errorPalette;
2656
3218
  }
@@ -2733,6 +3295,7 @@ function getHighContrastOverides(colorScheme) {
2733
3295
  overrides.set("surface", hexFromArgb(colorScheme.surface));
2734
3296
  overrides.set("surface-dim", hexFromArgb(colorScheme.surfaceDim));
2735
3297
  overrides.set("surface-bright", hexFromArgb(colorScheme.surfaceBright));
3298
+ overrides.set("surface-container-low", hexFromArgb(colorScheme.surfaceContainerLow));
2736
3299
  overrides.set("surface-container-lowest", hexFromArgb(colorScheme.surfaceContainerLowest));
2737
3300
  overrides.set("surface-container", hexFromArgb(colorScheme.surfaceContainer));
2738
3301
  overrides.set("surface-container-high", hexFromArgb(colorScheme.surfaceContainerHigh));
@@ -2787,61 +3350,289 @@ function getColorSysVariablesCSS(lightScheme, darkScheme, isHighContrast = false
2787
3350
  let css = "";
2788
3351
  let leftSpacing = " ".repeat(isHighContrast ? 4 : 2);
2789
3352
  css += leftSpacing + "/* Primary palette variables */\n";
2790
- css += createLightDarkVar(leftSpacing, "primary", isHighContrast ? lightScheme.primary : lightScheme.primaryPalette.tone(40), isHighContrast ? darkScheme.primary : lightScheme.primaryPalette.tone(80));
2791
- css += createLightDarkVar(leftSpacing, "on-primary", isHighContrast ? lightScheme.onPrimary : lightScheme.primaryPalette.tone(100), isHighContrast ? darkScheme.onPrimary : darkScheme.primaryPalette.tone(20));
2792
- css += createLightDarkVar(leftSpacing, "primary-container", isHighContrast ? lightScheme.primaryContainer : lightScheme.primaryPalette.tone(90), isHighContrast ? darkScheme.primaryContainer : darkScheme.primaryPalette.tone(30));
2793
- css += createLightDarkVar(leftSpacing, "on-primary-container", isHighContrast ? lightScheme.onPrimaryContainer : lightScheme.primaryPalette.tone(10), isHighContrast ? darkScheme.onPrimaryContainer : darkScheme.primaryPalette.tone(90));
2794
- css += createLightDarkVar(leftSpacing, "inverse-primary", lightScheme.inversePrimary, darkScheme.inversePrimary);
2795
- css += createLightDarkVar(leftSpacing, "primary-fixed", isHighContrast ? lightScheme.primaryFixed : lightScheme.primaryPalette.tone(90), isHighContrast ? darkScheme.primaryFixed : darkScheme.primaryPalette.tone(90));
2796
- css += createLightDarkVar(leftSpacing, "primary-fixed-dim", isHighContrast ? lightScheme.primaryFixedDim : lightScheme.primaryPalette.tone(80), isHighContrast ? darkScheme.primaryFixedDim : darkScheme.primaryPalette.tone(80));
2797
- css += createLightDarkVar(leftSpacing, "on-primary-fixed", lightScheme.onPrimaryFixed, darkScheme.onPrimaryFixed);
2798
- css += createLightDarkVar(leftSpacing, "on-primary-fixed-variant", lightScheme.onPrimaryFixedVariant, darkScheme.onPrimaryFixedVariant);
3353
+ css += createLightDarkVar(
3354
+ leftSpacing,
3355
+ "primary",
3356
+ isHighContrast ? lightScheme.primary : lightScheme.primaryPalette.tone(40),
3357
+ isHighContrast ? darkScheme.primary : lightScheme.primaryPalette.tone(80)
3358
+ );
3359
+ css += createLightDarkVar(
3360
+ leftSpacing,
3361
+ "on-primary",
3362
+ isHighContrast ? lightScheme.onPrimary : lightScheme.primaryPalette.tone(100),
3363
+ isHighContrast ? darkScheme.onPrimary : darkScheme.primaryPalette.tone(20)
3364
+ );
3365
+ css += createLightDarkVar(
3366
+ leftSpacing,
3367
+ "primary-container",
3368
+ isHighContrast ? lightScheme.primaryContainer : lightScheme.primaryPalette.tone(90),
3369
+ isHighContrast ? darkScheme.primaryContainer : darkScheme.primaryPalette.tone(30)
3370
+ );
3371
+ css += createLightDarkVar(
3372
+ leftSpacing,
3373
+ "on-primary-container",
3374
+ isHighContrast ? lightScheme.onPrimaryContainer : lightScheme.primaryPalette.tone(10),
3375
+ isHighContrast ? darkScheme.onPrimaryContainer : darkScheme.primaryPalette.tone(90)
3376
+ );
3377
+ css += createLightDarkVar(
3378
+ leftSpacing,
3379
+ "inverse-primary",
3380
+ lightScheme.inversePrimary,
3381
+ darkScheme.inversePrimary
3382
+ );
3383
+ css += createLightDarkVar(
3384
+ leftSpacing,
3385
+ "primary-fixed",
3386
+ isHighContrast ? lightScheme.primaryFixed : lightScheme.primaryPalette.tone(90),
3387
+ isHighContrast ? darkScheme.primaryFixed : darkScheme.primaryPalette.tone(90)
3388
+ );
3389
+ css += createLightDarkVar(
3390
+ leftSpacing,
3391
+ "primary-fixed-dim",
3392
+ isHighContrast ? lightScheme.primaryFixedDim : lightScheme.primaryPalette.tone(80),
3393
+ isHighContrast ? darkScheme.primaryFixedDim : darkScheme.primaryPalette.tone(80)
3394
+ );
3395
+ css += createLightDarkVar(
3396
+ leftSpacing,
3397
+ "on-primary-fixed",
3398
+ lightScheme.onPrimaryFixed,
3399
+ darkScheme.onPrimaryFixed
3400
+ );
3401
+ css += createLightDarkVar(
3402
+ leftSpacing,
3403
+ "on-primary-fixed-variant",
3404
+ lightScheme.onPrimaryFixedVariant,
3405
+ darkScheme.onPrimaryFixedVariant
3406
+ );
2799
3407
  css += "\n" + leftSpacing + "/* Secondary palette variables */\n";
2800
- css += createLightDarkVar(leftSpacing, "secondary", isHighContrast ? lightScheme.secondary : lightScheme.secondaryPalette.tone(40), isHighContrast ? darkScheme.secondary : darkScheme.secondaryPalette.tone(80));
2801
- css += createLightDarkVar(leftSpacing, "on-secondary", isHighContrast ? lightScheme.onSecondary : lightScheme.secondaryPalette.tone(100), isHighContrast ? darkScheme.onSecondary : darkScheme.secondaryPalette.tone(20));
2802
- css += createLightDarkVar(leftSpacing, "secondary-container", isHighContrast ? lightScheme.secondaryContainer : lightScheme.secondaryPalette.tone(90), isHighContrast ? darkScheme.secondaryContainer : darkScheme.secondaryPalette.tone(30));
2803
- css += createLightDarkVar(leftSpacing, "on-secondary-container", isHighContrast ? lightScheme.onSecondaryContainer : lightScheme.secondaryPalette.tone(10), isHighContrast ? darkScheme.onSecondaryContainer : darkScheme.secondaryPalette.tone(90));
2804
- css += createLightDarkVar(leftSpacing, "secondary-fixed", isHighContrast ? lightScheme.secondaryFixed : lightScheme.secondaryPalette.tone(90), isHighContrast ? darkScheme.secondaryFixed : darkScheme.secondaryPalette.tone(90));
2805
- css += createLightDarkVar(leftSpacing, "secondary-fixed-dim", isHighContrast ? lightScheme.secondaryFixedDim : lightScheme.secondaryPalette.tone(80), isHighContrast ? darkScheme.secondaryFixedDim : darkScheme.secondaryPalette.tone(80));
2806
- css += createLightDarkVar(leftSpacing, "on-secondary-fixed", lightScheme.onSecondaryFixed, darkScheme.onSecondaryFixed);
2807
- css += createLightDarkVar(leftSpacing, "on-secondary-fixed-variant", lightScheme.onSecondaryFixedVariant, darkScheme.onSecondaryFixedVariant);
3408
+ css += createLightDarkVar(
3409
+ leftSpacing,
3410
+ "secondary",
3411
+ isHighContrast ? lightScheme.secondary : lightScheme.secondaryPalette.tone(40),
3412
+ isHighContrast ? darkScheme.secondary : darkScheme.secondaryPalette.tone(80)
3413
+ );
3414
+ css += createLightDarkVar(
3415
+ leftSpacing,
3416
+ "on-secondary",
3417
+ isHighContrast ? lightScheme.onSecondary : lightScheme.secondaryPalette.tone(100),
3418
+ isHighContrast ? darkScheme.onSecondary : darkScheme.secondaryPalette.tone(20)
3419
+ );
3420
+ css += createLightDarkVar(
3421
+ leftSpacing,
3422
+ "secondary-container",
3423
+ isHighContrast ? lightScheme.secondaryContainer : lightScheme.secondaryPalette.tone(90),
3424
+ isHighContrast ? darkScheme.secondaryContainer : darkScheme.secondaryPalette.tone(30)
3425
+ );
3426
+ css += createLightDarkVar(
3427
+ leftSpacing,
3428
+ "on-secondary-container",
3429
+ isHighContrast ? lightScheme.onSecondaryContainer : lightScheme.secondaryPalette.tone(10),
3430
+ isHighContrast ? darkScheme.onSecondaryContainer : darkScheme.secondaryPalette.tone(90)
3431
+ );
3432
+ css += createLightDarkVar(
3433
+ leftSpacing,
3434
+ "secondary-fixed",
3435
+ isHighContrast ? lightScheme.secondaryFixed : lightScheme.secondaryPalette.tone(90),
3436
+ isHighContrast ? darkScheme.secondaryFixed : darkScheme.secondaryPalette.tone(90)
3437
+ );
3438
+ css += createLightDarkVar(
3439
+ leftSpacing,
3440
+ "secondary-fixed-dim",
3441
+ isHighContrast ? lightScheme.secondaryFixedDim : lightScheme.secondaryPalette.tone(80),
3442
+ isHighContrast ? darkScheme.secondaryFixedDim : darkScheme.secondaryPalette.tone(80)
3443
+ );
3444
+ css += createLightDarkVar(
3445
+ leftSpacing,
3446
+ "on-secondary-fixed",
3447
+ lightScheme.onSecondaryFixed,
3448
+ darkScheme.onSecondaryFixed
3449
+ );
3450
+ css += createLightDarkVar(
3451
+ leftSpacing,
3452
+ "on-secondary-fixed-variant",
3453
+ lightScheme.onSecondaryFixedVariant,
3454
+ darkScheme.onSecondaryFixedVariant
3455
+ );
2808
3456
  css += "\n" + leftSpacing + "/* Tertiary palette variables */\n";
2809
- css += createLightDarkVar(leftSpacing, "tertiary", isHighContrast ? lightScheme.tertiary : lightScheme.tertiaryPalette.tone(40), isHighContrast ? darkScheme.tertiary : darkScheme.tertiaryPalette.tone(80));
2810
- css += createLightDarkVar(leftSpacing, "on-tertiary", isHighContrast ? lightScheme.tertiary : lightScheme.tertiaryPalette.tone(100), isHighContrast ? darkScheme.tertiary : darkScheme.tertiaryPalette.tone(20));
2811
- css += createLightDarkVar(leftSpacing, "tertiary-container", isHighContrast ? lightScheme.tertiaryContainer : lightScheme.tertiaryPalette.tone(90), isHighContrast ? darkScheme.tertiaryContainer : darkScheme.tertiaryPalette.tone(30));
2812
- css += createLightDarkVar(leftSpacing, "on-tertiary-container", isHighContrast ? lightScheme.onTertiaryContainer : lightScheme.tertiaryPalette.tone(10), isHighContrast ? darkScheme.onTertiaryContainer : darkScheme.tertiaryPalette.tone(90));
2813
- css += createLightDarkVar(leftSpacing, "tertiary-fixed", isHighContrast ? lightScheme.tertiaryFixed : lightScheme.tertiaryPalette.tone(90), isHighContrast ? darkScheme.tertiaryFixed : darkScheme.tertiaryPalette.tone(90));
2814
- css += createLightDarkVar(leftSpacing, "tertiary-fixed-dim", isHighContrast ? lightScheme.tertiaryFixedDim : lightScheme.tertiaryPalette.tone(80), isHighContrast ? darkScheme.tertiaryFixedDim : darkScheme.tertiaryPalette.tone(80));
2815
- css += createLightDarkVar(leftSpacing, "on-tertiary-fixed", lightScheme.onTertiaryFixed, darkScheme.onTertiaryFixed);
2816
- css += createLightDarkVar(leftSpacing, "on-tertiary-fixed-variant", lightScheme.onTertiaryFixedVariant, darkScheme.onTertiaryFixedVariant);
3457
+ css += createLightDarkVar(
3458
+ leftSpacing,
3459
+ "tertiary",
3460
+ isHighContrast ? lightScheme.tertiary : lightScheme.tertiaryPalette.tone(40),
3461
+ isHighContrast ? darkScheme.tertiary : darkScheme.tertiaryPalette.tone(80)
3462
+ );
3463
+ css += createLightDarkVar(
3464
+ leftSpacing,
3465
+ "on-tertiary",
3466
+ isHighContrast ? lightScheme.tertiary : lightScheme.tertiaryPalette.tone(100),
3467
+ isHighContrast ? darkScheme.tertiary : darkScheme.tertiaryPalette.tone(20)
3468
+ );
3469
+ css += createLightDarkVar(
3470
+ leftSpacing,
3471
+ "tertiary-container",
3472
+ isHighContrast ? lightScheme.tertiaryContainer : lightScheme.tertiaryPalette.tone(90),
3473
+ isHighContrast ? darkScheme.tertiaryContainer : darkScheme.tertiaryPalette.tone(30)
3474
+ );
3475
+ css += createLightDarkVar(
3476
+ leftSpacing,
3477
+ "on-tertiary-container",
3478
+ isHighContrast ? lightScheme.onTertiaryContainer : lightScheme.tertiaryPalette.tone(10),
3479
+ isHighContrast ? darkScheme.onTertiaryContainer : darkScheme.tertiaryPalette.tone(90)
3480
+ );
3481
+ css += createLightDarkVar(
3482
+ leftSpacing,
3483
+ "tertiary-fixed",
3484
+ isHighContrast ? lightScheme.tertiaryFixed : lightScheme.tertiaryPalette.tone(90),
3485
+ isHighContrast ? darkScheme.tertiaryFixed : darkScheme.tertiaryPalette.tone(90)
3486
+ );
3487
+ css += createLightDarkVar(
3488
+ leftSpacing,
3489
+ "tertiary-fixed-dim",
3490
+ isHighContrast ? lightScheme.tertiaryFixedDim : lightScheme.tertiaryPalette.tone(80),
3491
+ isHighContrast ? darkScheme.tertiaryFixedDim : darkScheme.tertiaryPalette.tone(80)
3492
+ );
3493
+ css += createLightDarkVar(
3494
+ leftSpacing,
3495
+ "on-tertiary-fixed",
3496
+ lightScheme.onTertiaryFixed,
3497
+ darkScheme.onTertiaryFixed
3498
+ );
3499
+ css += createLightDarkVar(
3500
+ leftSpacing,
3501
+ "on-tertiary-fixed-variant",
3502
+ lightScheme.onTertiaryFixedVariant,
3503
+ darkScheme.onTertiaryFixedVariant
3504
+ );
2817
3505
  css += "\n" + leftSpacing + "/* Neutral palette variables */\n";
2818
- css += createLightDarkVar(leftSpacing, "background", lightScheme.background, darkScheme.background);
2819
- css += createLightDarkVar(leftSpacing, "on-background", lightScheme.onBackground, darkScheme.onBackground);
3506
+ css += createLightDarkVar(
3507
+ leftSpacing,
3508
+ "background",
3509
+ lightScheme.background,
3510
+ darkScheme.background
3511
+ );
3512
+ css += createLightDarkVar(
3513
+ leftSpacing,
3514
+ "on-background",
3515
+ lightScheme.onBackground,
3516
+ darkScheme.onBackground
3517
+ );
2820
3518
  css += createLightDarkVar(leftSpacing, "surface", lightScheme.surface, darkScheme.surface);
2821
- css += createLightDarkVar(leftSpacing, "surface-dim", lightScheme.surfaceDim, darkScheme.surfaceDim);
2822
- css += createLightDarkVar(leftSpacing, "surface-bright", lightScheme.surfaceBright, darkScheme.surfaceBright);
2823
- css += createLightDarkVar(leftSpacing, "surface-container-lowest", lightScheme.surfaceContainerLowest, darkScheme.surfaceContainerLowest);
2824
- css += createLightDarkVar(leftSpacing, "surface-container", lightScheme.surfaceContainer, darkScheme.surfaceContainer);
2825
- css += createLightDarkVar(leftSpacing, "surface-container-high", lightScheme.surfaceContainerHigh, darkScheme.surfaceContainerHigh);
2826
- css += createLightDarkVar(leftSpacing, "surface-container-highest", lightScheme.surfaceContainerHighest, darkScheme.surfaceContainerHighest);
3519
+ css += createLightDarkVar(
3520
+ leftSpacing,
3521
+ "surface-dim",
3522
+ lightScheme.surfaceDim,
3523
+ darkScheme.surfaceDim
3524
+ );
3525
+ css += createLightDarkVar(
3526
+ leftSpacing,
3527
+ "surface-bright",
3528
+ lightScheme.surfaceBright,
3529
+ darkScheme.surfaceBright
3530
+ );
3531
+ css += createLightDarkVar(
3532
+ leftSpacing,
3533
+ "surface-container-low",
3534
+ lightScheme.surfaceContainerLow,
3535
+ darkScheme.surfaceContainerLow
3536
+ );
3537
+ css += createLightDarkVar(
3538
+ leftSpacing,
3539
+ "surface-container-lowest",
3540
+ lightScheme.surfaceContainerLowest,
3541
+ darkScheme.surfaceContainerLowest
3542
+ );
3543
+ css += createLightDarkVar(
3544
+ leftSpacing,
3545
+ "surface-container",
3546
+ lightScheme.surfaceContainer,
3547
+ darkScheme.surfaceContainer
3548
+ );
3549
+ css += createLightDarkVar(
3550
+ leftSpacing,
3551
+ "surface-container-high",
3552
+ lightScheme.surfaceContainerHigh,
3553
+ darkScheme.surfaceContainerHigh
3554
+ );
3555
+ css += createLightDarkVar(
3556
+ leftSpacing,
3557
+ "surface-container-highest",
3558
+ lightScheme.surfaceContainerHighest,
3559
+ darkScheme.surfaceContainerHighest
3560
+ );
2827
3561
  css += createLightDarkVar(leftSpacing, "on-surface", lightScheme.onSurface, darkScheme.onSurface);
2828
3562
  css += createLightDarkVar(leftSpacing, "shadow", lightScheme.shadow, darkScheme.shadow);
2829
3563
  css += createLightDarkVar(leftSpacing, "scrim", lightScheme.scrim, darkScheme.scrim);
2830
- css += createLightDarkVar(leftSpacing, "surface-tint", lightScheme.surfaceTint, darkScheme.surfaceTint);
2831
- css += createLightDarkVar(leftSpacing, "inverse-surface", lightScheme.inverseSurface, darkScheme.inverseSurface);
2832
- css += createLightDarkVar(leftSpacing, "inverse-on-surface", lightScheme.inverseOnSurface, darkScheme.inverseOnSurface);
3564
+ css += createLightDarkVar(
3565
+ leftSpacing,
3566
+ "surface-tint",
3567
+ lightScheme.surfaceTint,
3568
+ darkScheme.surfaceTint
3569
+ );
3570
+ css += createLightDarkVar(
3571
+ leftSpacing,
3572
+ "inverse-surface",
3573
+ lightScheme.inverseSurface,
3574
+ darkScheme.inverseSurface
3575
+ );
3576
+ css += createLightDarkVar(
3577
+ leftSpacing,
3578
+ "inverse-on-surface",
3579
+ lightScheme.inverseOnSurface,
3580
+ darkScheme.inverseOnSurface
3581
+ );
2833
3582
  css += createLightDarkVar(leftSpacing, "outline", lightScheme.outline, darkScheme.outline);
2834
- css += createLightDarkVar(leftSpacing, "outline-variant", lightScheme.outlineVariant, darkScheme.outlineVariant);
2835
- css += createLightDarkVar(leftSpacing, "neutral10", lightScheme.neutralPalette.tone(10), darkScheme.neutralPalette.tone(10), "Variable used for the form field native select option text color");
3583
+ css += createLightDarkVar(
3584
+ leftSpacing,
3585
+ "outline-variant",
3586
+ lightScheme.outlineVariant,
3587
+ darkScheme.outlineVariant
3588
+ );
3589
+ css += createLightDarkVar(
3590
+ leftSpacing,
3591
+ "neutral10",
3592
+ lightScheme.neutralPalette.tone(10),
3593
+ darkScheme.neutralPalette.tone(10),
3594
+ "Variable used for the form field native select option text color"
3595
+ );
2836
3596
  css += "\n" + leftSpacing + "/* Error palette variables */\n";
2837
- css += createLightDarkVar(leftSpacing, "error", isHighContrast ? lightScheme.error : lightScheme.errorPalette.tone(40), isHighContrast ? darkScheme.error : darkScheme.errorPalette.tone(80));
3597
+ css += createLightDarkVar(
3598
+ leftSpacing,
3599
+ "error",
3600
+ isHighContrast ? lightScheme.error : lightScheme.errorPalette.tone(40),
3601
+ isHighContrast ? darkScheme.error : darkScheme.errorPalette.tone(80)
3602
+ );
2838
3603
  css += createLightDarkVar(leftSpacing, "on-error", lightScheme.onError, darkScheme.onError);
2839
- css += createLightDarkVar(leftSpacing, "error-container", isHighContrast ? lightScheme.errorContainer : lightScheme.errorPalette.tone(90), isHighContrast ? darkScheme.errorContainer : darkScheme.errorPalette.tone(30));
2840
- css += createLightDarkVar(leftSpacing, "on-error-container", isHighContrast ? lightScheme.onErrorContainer : lightScheme.errorPalette.tone(10), isHighContrast ? darkScheme.onErrorContainer : darkScheme.errorPalette.tone(90));
3604
+ css += createLightDarkVar(
3605
+ leftSpacing,
3606
+ "error-container",
3607
+ isHighContrast ? lightScheme.errorContainer : lightScheme.errorPalette.tone(90),
3608
+ isHighContrast ? darkScheme.errorContainer : darkScheme.errorPalette.tone(30)
3609
+ );
3610
+ css += createLightDarkVar(
3611
+ leftSpacing,
3612
+ "on-error-container",
3613
+ isHighContrast ? lightScheme.onErrorContainer : lightScheme.errorPalette.tone(10),
3614
+ isHighContrast ? darkScheme.onErrorContainer : darkScheme.errorPalette.tone(90)
3615
+ );
2841
3616
  css += "\n" + leftSpacing + "/* Neutral variant palette variables */\n";
2842
- css += createLightDarkVar(leftSpacing, "surface-variant", lightScheme.surfaceVariant, darkScheme.surfaceVariant);
2843
- css += createLightDarkVar(leftSpacing, "on-surface-variant", lightScheme.onSurfaceVariant, darkScheme.onSurfaceVariant);
2844
- css += createLightDarkVar(leftSpacing, "neutral-variant20", lightScheme.neutralVariantPalette.tone(20), darkScheme.neutralVariantPalette.tone(20), "Variable used for the sidenav scrim (container background shadow when opened)");
3617
+ css += createLightDarkVar(
3618
+ leftSpacing,
3619
+ "surface-variant",
3620
+ lightScheme.surfaceVariant,
3621
+ darkScheme.surfaceVariant
3622
+ );
3623
+ css += createLightDarkVar(
3624
+ leftSpacing,
3625
+ "on-surface-variant",
3626
+ lightScheme.onSurfaceVariant,
3627
+ darkScheme.onSurfaceVariant
3628
+ );
3629
+ css += createLightDarkVar(
3630
+ leftSpacing,
3631
+ "neutral-variant20",
3632
+ lightScheme.neutralVariantPalette.tone(20),
3633
+ darkScheme.neutralVariantPalette.tone(20),
3634
+ "Variable used for the sidenav scrim (container background shadow when opened)"
3635
+ );
2845
3636
  return css;
2846
3637
  }
2847
3638
  function getTypographySysVariablesCSS() {
@@ -3020,7 +3811,12 @@ function getAllSysVariablesCSS(lightColorScheme, darkColorScheme) {
3020
3811
  function getHighContrastOverridesCSS(lightColorScheme, darkColorScheme) {
3021
3812
  let css = "\n";
3022
3813
  css += " @media (prefers-contrast: more) {\n";
3023
- css += getColorSysVariablesCSS(lightColorScheme, darkColorScheme, true);
3814
+ css += getColorSysVariablesCSS(
3815
+ lightColorScheme,
3816
+ darkColorScheme,
3817
+ /* isHighContrast */
3818
+ true
3819
+ );
3024
3820
  css += " }\n";
3025
3821
  return css;
3026
3822
  }
@@ -3050,8 +3846,22 @@ function getColorComment(primaryColor, secondaryColor, tertiaryColor, neutralCol
3050
3846
  }
3051
3847
  function theme_color_default(options) {
3052
3848
  return (tree, context) => __async(this, null, function* () {
3053
- const colorComment = getColorComment(options.primaryColor, options.secondaryColor, options.tertiaryColor, options.neutralColor, options.neutralVariantColor, options.errorColor);
3054
- const colorPalettes = getColorPalettes(options.primaryColor, options.secondaryColor, options.tertiaryColor, options.neutralColor, options.neutralVariantColor, options.errorColor);
3849
+ const colorComment = getColorComment(
3850
+ options.primaryColor,
3851
+ options.secondaryColor,
3852
+ options.tertiaryColor,
3853
+ options.neutralColor,
3854
+ options.neutralVariantColor,
3855
+ options.errorColor
3856
+ );
3857
+ const colorPalettes = getColorPalettes(
3858
+ options.primaryColor,
3859
+ options.secondaryColor,
3860
+ options.tertiaryColor,
3861
+ options.neutralColor,
3862
+ options.neutralVariantColor,
3863
+ options.errorColor
3864
+ );
3055
3865
  let lightHighContrastColorScheme;
3056
3866
  let darkHighContrastColorScheme;
3057
3867
  if (options.includeHighContrast) {
@@ -3061,7 +3871,9 @@ function theme_color_default(options) {
3061
3871
  colorPalettes.tertiary,
3062
3872
  colorPalettes.neutral,
3063
3873
  colorPalettes.neutralVariant,
3874
+ /* isDark */
3064
3875
  false,
3876
+ /* contrastLevel */
3065
3877
  1
3066
3878
  );
3067
3879
  darkHighContrastColorScheme = getMaterialDynamicScheme(
@@ -3070,7 +3882,9 @@ function theme_color_default(options) {
3070
3882
  colorPalettes.tertiary,
3071
3883
  colorPalettes.neutral,
3072
3884
  colorPalettes.neutralVariant,
3885
+ /* isDark */
3073
3886
  true,
3887
+ /* contrastLevel */
3074
3888
  1
3075
3889
  );
3076
3890
  if (options.errorColor) {
@@ -3081,7 +3895,10 @@ function theme_color_default(options) {
3081
3895
  if (options.isScss) {
3082
3896
  let themeScss = generateSCSSTheme(colorPalettes, colorComment);
3083
3897
  if (options.includeHighContrast) {
3084
- themeScss += generateHighContrastOverrideMixinsSCSS(lightHighContrastColorScheme, darkHighContrastColorScheme);
3898
+ themeScss += generateHighContrastOverrideMixinsSCSS(
3899
+ lightHighContrastColorScheme,
3900
+ darkHighContrastColorScheme
3901
+ );
3085
3902
  }
3086
3903
  createThemeFile(themeScss, tree, options.directory);
3087
3904
  } else {
@@ -3094,7 +3911,9 @@ function theme_color_default(options) {
3094
3911
  colorPalettes.tertiary,
3095
3912
  colorPalettes.neutral,
3096
3913
  colorPalettes.neutralVariant,
3914
+ /* isDark */
3097
3915
  false,
3916
+ /* contrastLevel */
3098
3917
  0
3099
3918
  );
3100
3919
  const darkColorScheme = getMaterialDynamicScheme(
@@ -3103,7 +3922,9 @@ function theme_color_default(options) {
3103
3922
  colorPalettes.tertiary,
3104
3923
  colorPalettes.neutral,
3105
3924
  colorPalettes.neutralVariant,
3925
+ /* isDark */
3106
3926
  true,
3927
+ /* contrastLevel */
3107
3928
  0
3108
3929
  );
3109
3930
  if (options.errorColor) {
@@ -3112,10 +3933,19 @@ function theme_color_default(options) {
3112
3933
  }
3113
3934
  themeCss += getAllSysVariablesCSS(lightColorScheme, darkColorScheme);
3114
3935
  if (options.includeHighContrast) {
3115
- themeCss += getHighContrastOverridesCSS(lightHighContrastColorScheme, darkHighContrastColorScheme);
3936
+ themeCss += getHighContrastOverridesCSS(
3937
+ lightHighContrastColorScheme,
3938
+ darkHighContrastColorScheme
3939
+ );
3116
3940
  }
3117
3941
  themeCss += "}\n";
3118
- createThemeFile(themeCss, tree, options.directory, false);
3942
+ createThemeFile(
3943
+ themeCss,
3944
+ tree,
3945
+ options.directory,
3946
+ /* isScss */
3947
+ false
3948
+ );
3119
3949
  }
3120
3950
  });
3121
3951
  }
@@ -3128,54 +3958,6 @@ function theme_color_default(options) {
3128
3958
  getHighContrastOverridesCSS,
3129
3959
  getMaterialDynamicScheme
3130
3960
  });
3131
- /**
3132
- * @license
3133
- * Copyright 2021 Google LLC
3134
- *
3135
- * Licensed under the Apache License, Version 2.0 (the "License");
3136
- * you may not use this file except in compliance with the License.
3137
- * You may obtain a copy of the License at
3138
- *
3139
- * http://www.apache.org/licenses/LICENSE-2.0
3140
- *
3141
- * Unless required by applicable law or agreed to in writing, software
3142
- * distributed under the License is distributed on an "AS IS" BASIS,
3143
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3144
- * See the License for the specific language governing permissions and
3145
- * limitations under the License.
3146
- */
3147
- /**
3148
- * @license
3149
- * Copyright 2022 Google LLC
3150
- *
3151
- * Licensed under the Apache License, Version 2.0 (the "License");
3152
- * you may not use this file except in compliance with the License.
3153
- * You may obtain a copy of the License at
3154
- *
3155
- * http://www.apache.org/licenses/LICENSE-2.0
3156
- *
3157
- * Unless required by applicable law or agreed to in writing, software
3158
- * distributed under the License is distributed on an "AS IS" BASIS,
3159
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3160
- * See the License for the specific language governing permissions and
3161
- * limitations under the License.
3162
- */
3163
- /**
3164
- * @license
3165
- * Copyright 2023 Google LLC
3166
- *
3167
- * Licensed under the Apache License, Version 2.0 (the "License");
3168
- * you may not use this file except in compliance with the License.
3169
- * You may obtain a copy of the License at
3170
- *
3171
- * http://www.apache.org/licenses/LICENSE-2.0
3172
- *
3173
- * Unless required by applicable law or agreed to in writing, software
3174
- * distributed under the License is distributed on an "AS IS" BASIS,
3175
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3176
- * See the License for the specific language governing permissions and
3177
- * limitations under the License.
3178
- */
3179
3961
  /**
3180
3962
  * @license
3181
3963
  * Copyright Google LLC All Rights Reserved.
@@ -3183,4 +3965,708 @@ function theme_color_default(options) {
3183
3965
  * Use of this source code is governed by an MIT-style license that can be
3184
3966
  * found in the LICENSE file at https://angular.dev/license
3185
3967
  */
3968
+ /*! Bundled license information:
3969
+
3970
+ @material/material-color-utilities/utils/math_utils.js:
3971
+ (**
3972
+ * @license
3973
+ * Copyright 2021 Google LLC
3974
+ *
3975
+ * Licensed under the Apache License, Version 2.0 (the "License");
3976
+ * you may not use this file except in compliance with the License.
3977
+ * You may obtain a copy of the License at
3978
+ *
3979
+ * http://www.apache.org/licenses/LICENSE-2.0
3980
+ *
3981
+ * Unless required by applicable law or agreed to in writing, software
3982
+ * distributed under the License is distributed on an "AS IS" BASIS,
3983
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3984
+ * See the License for the specific language governing permissions and
3985
+ * limitations under the License.
3986
+ *)
3987
+
3988
+ @material/material-color-utilities/utils/color_utils.js:
3989
+ (**
3990
+ * @license
3991
+ * Copyright 2021 Google LLC
3992
+ *
3993
+ * Licensed under the Apache License, Version 2.0 (the "License");
3994
+ * you may not use this file except in compliance with the License.
3995
+ * You may obtain a copy of the License at
3996
+ *
3997
+ * http://www.apache.org/licenses/LICENSE-2.0
3998
+ *
3999
+ * Unless required by applicable law or agreed to in writing, software
4000
+ * distributed under the License is distributed on an "AS IS" BASIS,
4001
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4002
+ * See the License for the specific language governing permissions and
4003
+ * limitations under the License.
4004
+ *)
4005
+
4006
+ @material/material-color-utilities/hct/viewing_conditions.js:
4007
+ (**
4008
+ * @license
4009
+ * Copyright 2021 Google LLC
4010
+ *
4011
+ * Licensed under the Apache License, Version 2.0 (the "License");
4012
+ * you may not use this file except in compliance with the License.
4013
+ * You may obtain a copy of the License at
4014
+ *
4015
+ * http://www.apache.org/licenses/LICENSE-2.0
4016
+ *
4017
+ * Unless required by applicable law or agreed to in writing, software
4018
+ * distributed under the License is distributed on an "AS IS" BASIS,
4019
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4020
+ * See the License for the specific language governing permissions and
4021
+ * limitations under the License.
4022
+ *)
4023
+
4024
+ @material/material-color-utilities/hct/cam16.js:
4025
+ (**
4026
+ * @license
4027
+ * Copyright 2021 Google LLC
4028
+ *
4029
+ * Licensed under the Apache License, Version 2.0 (the "License");
4030
+ * you may not use this file except in compliance with the License.
4031
+ * You may obtain a copy of the License at
4032
+ *
4033
+ * http://www.apache.org/licenses/LICENSE-2.0
4034
+ *
4035
+ * Unless required by applicable law or agreed to in writing, software
4036
+ * distributed under the License is distributed on an "AS IS" BASIS,
4037
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4038
+ * See the License for the specific language governing permissions and
4039
+ * limitations under the License.
4040
+ *)
4041
+
4042
+ @material/material-color-utilities/hct/hct_solver.js:
4043
+ (**
4044
+ * @license
4045
+ * Copyright 2021 Google LLC
4046
+ *
4047
+ * Licensed under the Apache License, Version 2.0 (the "License");
4048
+ * you may not use this file except in compliance with the License.
4049
+ * You may obtain a copy of the License at
4050
+ *
4051
+ * http://www.apache.org/licenses/LICENSE-2.0
4052
+ *
4053
+ * Unless required by applicable law or agreed to in writing, software
4054
+ * distributed under the License is distributed on an "AS IS" BASIS,
4055
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4056
+ * See the License for the specific language governing permissions and
4057
+ * limitations under the License.
4058
+ *)
4059
+
4060
+ @material/material-color-utilities/hct/hct.js:
4061
+ (**
4062
+ * @license
4063
+ * Copyright 2021 Google LLC
4064
+ *
4065
+ * Licensed under the Apache License, Version 2.0 (the "License");
4066
+ * you may not use this file except in compliance with the License.
4067
+ * You may obtain a copy of the License at
4068
+ *
4069
+ * http://www.apache.org/licenses/LICENSE-2.0
4070
+ *
4071
+ * Unless required by applicable law or agreed to in writing, software
4072
+ * distributed under the License is distributed on an "AS IS" BASIS,
4073
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4074
+ * See the License for the specific language governing permissions and
4075
+ * limitations under the License.
4076
+ *)
4077
+
4078
+ @material/material-color-utilities/blend/blend.js:
4079
+ (**
4080
+ * @license
4081
+ * Copyright 2021 Google LLC
4082
+ *
4083
+ * Licensed under the Apache License, Version 2.0 (the "License");
4084
+ * you may not use this file except in compliance with the License.
4085
+ * You may obtain a copy of the License at
4086
+ *
4087
+ * http://www.apache.org/licenses/LICENSE-2.0
4088
+ *
4089
+ * Unless required by applicable law or agreed to in writing, software
4090
+ * distributed under the License is distributed on an "AS IS" BASIS,
4091
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4092
+ * See the License for the specific language governing permissions and
4093
+ * limitations under the License.
4094
+ *)
4095
+
4096
+ @material/material-color-utilities/contrast/contrast.js:
4097
+ (**
4098
+ * @license
4099
+ * Copyright 2022 Google LLC
4100
+ *
4101
+ * Licensed under the Apache License, Version 2.0 (the "License");
4102
+ * you may not use this file except in compliance with the License.
4103
+ * You may obtain a copy of the License at
4104
+ *
4105
+ * http://www.apache.org/licenses/LICENSE-2.0
4106
+ *
4107
+ * Unless required by applicable law or agreed to in writing, software
4108
+ * distributed under the License is distributed on an "AS IS" BASIS,
4109
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4110
+ * See the License for the specific language governing permissions and
4111
+ * limitations under the License.
4112
+ *)
4113
+
4114
+ @material/material-color-utilities/dislike/dislike_analyzer.js:
4115
+ (**
4116
+ * @license
4117
+ * Copyright 2023 Google LLC
4118
+ *
4119
+ * Licensed under the Apache License, Version 2.0 (the "License");
4120
+ * you may not use this file except in compliance with the License.
4121
+ * You may obtain a copy of the License at
4122
+ *
4123
+ * http://www.apache.org/licenses/LICENSE-2.0
4124
+ *
4125
+ * Unless required by applicable law or agreed to in writing, software
4126
+ * distributed under the License is distributed on an "AS IS" BASIS,
4127
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4128
+ * See the License for the specific language governing permissions and
4129
+ * limitations under the License.
4130
+ *)
4131
+
4132
+ @material/material-color-utilities/dynamiccolor/dynamic_color.js:
4133
+ (**
4134
+ * @license
4135
+ * Copyright 2022 Google LLC
4136
+ *
4137
+ * Licensed under the Apache License, Version 2.0 (the "License");
4138
+ * you may not use this file except in compliance with the License.
4139
+ * You may obtain a copy of the License at
4140
+ *
4141
+ * http://www.apache.org/licenses/LICENSE-2.0
4142
+ *
4143
+ * Unless required by applicable law or agreed to in writing, software
4144
+ * distributed under the License is distributed on an "AS IS" BASIS,
4145
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4146
+ * See the License for the specific language governing permissions and
4147
+ * limitations under the License.
4148
+ *)
4149
+
4150
+ @material/material-color-utilities/palettes/tonal_palette.js:
4151
+ (**
4152
+ * @license
4153
+ * Copyright 2021 Google LLC
4154
+ *
4155
+ * Licensed under the Apache License, Version 2.0 (the "License");
4156
+ * you may not use this file except in compliance with the License.
4157
+ * You may obtain a copy of the License at
4158
+ *
4159
+ * http://www.apache.org/licenses/LICENSE-2.0
4160
+ *
4161
+ * Unless required by applicable law or agreed to in writing, software
4162
+ * distributed under the License is distributed on an "AS IS" BASIS,
4163
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4164
+ * See the License for the specific language governing permissions and
4165
+ * limitations under the License.
4166
+ *)
4167
+
4168
+ @material/material-color-utilities/dynamiccolor/contrast_curve.js:
4169
+ (**
4170
+ * @license
4171
+ * Copyright 2023 Google LLC
4172
+ *
4173
+ * Licensed under the Apache License, Version 2.0 (the "License");
4174
+ * you may not use this file except in compliance with the License.
4175
+ * You may obtain a copy of the License at
4176
+ *
4177
+ * http://www.apache.org/licenses/LICENSE-2.0
4178
+ *
4179
+ * Unless required by applicable law or agreed to in writing, software
4180
+ * distributed under the License is distributed on an "AS IS" BASIS,
4181
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4182
+ * See the License for the specific language governing permissions and
4183
+ * limitations under the License.
4184
+ *)
4185
+
4186
+ @material/material-color-utilities/dynamiccolor/tone_delta_pair.js:
4187
+ (**
4188
+ * @license
4189
+ * Copyright 2023 Google LLC
4190
+ *
4191
+ * Licensed under the Apache License, Version 2.0 (the "License");
4192
+ * you may not use this file except in compliance with the License.
4193
+ * You may obtain a copy of the License at
4194
+ *
4195
+ * http://www.apache.org/licenses/LICENSE-2.0
4196
+ *
4197
+ * Unless required by applicable law or agreed to in writing, software
4198
+ * distributed under the License is distributed on an "AS IS" BASIS,
4199
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4200
+ * See the License for the specific language governing permissions and
4201
+ * limitations under the License.
4202
+ *)
4203
+
4204
+ @material/material-color-utilities/dynamiccolor/variant.js:
4205
+ (**
4206
+ * @license
4207
+ * Copyright 2022 Google LLC
4208
+ *
4209
+ * Licensed under the Apache License, Version 2.0 (the "License");
4210
+ * you may not use this file except in compliance with the License.
4211
+ * You may obtain a copy of the License at
4212
+ *
4213
+ * http://www.apache.org/licenses/LICENSE-2.0
4214
+ *
4215
+ * Unless required by applicable law or agreed to in writing, software
4216
+ * distributed under the License is distributed on an "AS IS" BASIS,
4217
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4218
+ * See the License for the specific language governing permissions and
4219
+ * limitations under the License.
4220
+ *)
4221
+
4222
+ @material/material-color-utilities/dynamiccolor/material_dynamic_colors.js:
4223
+ (**
4224
+ * @license
4225
+ * Copyright 2022 Google LLC
4226
+ *
4227
+ * Licensed under the Apache License, Version 2.0 (the "License");
4228
+ * you may not use this file except in compliance with the License.
4229
+ * You may obtain a copy of the License at
4230
+ *
4231
+ * http://www.apache.org/licenses/LICENSE-2.0
4232
+ *
4233
+ * Unless required by applicable law or agreed to in writing, software
4234
+ * distributed under the License is distributed on an "AS IS" BASIS,
4235
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4236
+ * See the License for the specific language governing permissions and
4237
+ * limitations under the License.
4238
+ *)
4239
+
4240
+ @material/material-color-utilities/dynamiccolor/dynamic_scheme.js:
4241
+ (**
4242
+ * @license
4243
+ * Copyright 2022 Google LLC
4244
+ *
4245
+ * Licensed under the Apache License, Version 2.0 (the "License");
4246
+ * you may not use this file except in compliance with the License.
4247
+ * You may obtain a copy of the License at
4248
+ *
4249
+ * http://www.apache.org/licenses/LICENSE-2.0
4250
+ *
4251
+ * Unless required by applicable law or agreed to in writing, software
4252
+ * distributed under the License is distributed on an "AS IS" BASIS,
4253
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4254
+ * See the License for the specific language governing permissions and
4255
+ * limitations under the License.
4256
+ *)
4257
+
4258
+ @material/material-color-utilities/palettes/core_palette.js:
4259
+ (**
4260
+ * @license
4261
+ * Copyright 2021 Google LLC
4262
+ *
4263
+ * Licensed under the Apache License, Version 2.0 (the "License");
4264
+ * you may not use this file except in compliance with the License.
4265
+ * You may obtain a copy of the License at
4266
+ *
4267
+ * http://www.apache.org/licenses/LICENSE-2.0
4268
+ *
4269
+ * Unless required by applicable law or agreed to in writing, software
4270
+ * distributed under the License is distributed on an "AS IS" BASIS,
4271
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4272
+ * See the License for the specific language governing permissions and
4273
+ * limitations under the License.
4274
+ *)
4275
+
4276
+ @material/material-color-utilities/quantize/lab_point_provider.js:
4277
+ (**
4278
+ * @license
4279
+ * Copyright 2021 Google LLC
4280
+ *
4281
+ * Licensed under the Apache License, Version 2.0 (the "License");
4282
+ * you may not use this file except in compliance with the License.
4283
+ * You may obtain a copy of the License at
4284
+ *
4285
+ * http://www.apache.org/licenses/LICENSE-2.0
4286
+ *
4287
+ * Unless required by applicable law or agreed to in writing, software
4288
+ * distributed under the License is distributed on an "AS IS" BASIS,
4289
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4290
+ * See the License for the specific language governing permissions and
4291
+ * limitations under the License.
4292
+ *)
4293
+
4294
+ @material/material-color-utilities/quantize/quantizer_wsmeans.js:
4295
+ (**
4296
+ * @license
4297
+ * Copyright 2021 Google LLC
4298
+ *
4299
+ * Licensed under the Apache License, Version 2.0 (the "License");
4300
+ * you may not use this file except in compliance with the License.
4301
+ * You may obtain a copy of the License at
4302
+ *
4303
+ * http://www.apache.org/licenses/LICENSE-2.0
4304
+ *
4305
+ * Unless required by applicable law or agreed to in writing, software
4306
+ * distributed under the License is distributed on an "AS IS" BASIS,
4307
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4308
+ * See the License for the specific language governing permissions and
4309
+ * limitations under the License.
4310
+ *)
4311
+
4312
+ @material/material-color-utilities/quantize/quantizer_map.js:
4313
+ (**
4314
+ * @license
4315
+ * Copyright 2021 Google LLC
4316
+ *
4317
+ * Licensed under the Apache License, Version 2.0 (the "License");
4318
+ * you may not use this file except in compliance with the License.
4319
+ * You may obtain a copy of the License at
4320
+ *
4321
+ * http://www.apache.org/licenses/LICENSE-2.0
4322
+ *
4323
+ * Unless required by applicable law or agreed to in writing, software
4324
+ * distributed under the License is distributed on an "AS IS" BASIS,
4325
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4326
+ * See the License for the specific language governing permissions and
4327
+ * limitations under the License.
4328
+ *)
4329
+
4330
+ @material/material-color-utilities/quantize/quantizer_wu.js:
4331
+ (**
4332
+ * @license
4333
+ * Copyright 2021 Google LLC
4334
+ *
4335
+ * Licensed under the Apache License, Version 2.0 (the "License");
4336
+ * you may not use this file except in compliance with the License.
4337
+ * You may obtain a copy of the License at
4338
+ *
4339
+ * http://www.apache.org/licenses/LICENSE-2.0
4340
+ *
4341
+ * Unless required by applicable law or agreed to in writing, software
4342
+ * distributed under the License is distributed on an "AS IS" BASIS,
4343
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4344
+ * See the License for the specific language governing permissions and
4345
+ * limitations under the License.
4346
+ *)
4347
+
4348
+ @material/material-color-utilities/quantize/quantizer_celebi.js:
4349
+ (**
4350
+ * @license
4351
+ * Copyright 2021 Google LLC
4352
+ *
4353
+ * Licensed under the Apache License, Version 2.0 (the "License");
4354
+ * you may not use this file except in compliance with the License.
4355
+ * You may obtain a copy of the License at
4356
+ *
4357
+ * http://www.apache.org/licenses/LICENSE-2.0
4358
+ *
4359
+ * Unless required by applicable law or agreed to in writing, software
4360
+ * distributed under the License is distributed on an "AS IS" BASIS,
4361
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4362
+ * See the License for the specific language governing permissions and
4363
+ * limitations under the License.
4364
+ *)
4365
+
4366
+ @material/material-color-utilities/scheme/scheme.js:
4367
+ (**
4368
+ * @license
4369
+ * Copyright 2021 Google LLC
4370
+ *
4371
+ * Licensed under the Apache License, Version 2.0 (the "License");
4372
+ * you may not use this file except in compliance with the License.
4373
+ * You may obtain a copy of the License at
4374
+ *
4375
+ * http://www.apache.org/licenses/LICENSE-2.0
4376
+ *
4377
+ * Unless required by applicable law or agreed to in writing, software
4378
+ * distributed under the License is distributed on an "AS IS" BASIS,
4379
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4380
+ * See the License for the specific language governing permissions and
4381
+ * limitations under the License.
4382
+ *)
4383
+
4384
+ @material/material-color-utilities/scheme/scheme_android.js:
4385
+ (**
4386
+ * @license
4387
+ * Copyright 2021 Google LLC
4388
+ *
4389
+ * Licensed under the Apache License, Version 2.0 (the "License");
4390
+ * you may not use this file except in compliance with the License.
4391
+ * You may obtain a copy of the License at
4392
+ *
4393
+ * http://www.apache.org/licenses/LICENSE-2.0
4394
+ *
4395
+ * Unless required by applicable law or agreed to in writing, software
4396
+ * distributed under the License is distributed on an "AS IS" BASIS,
4397
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4398
+ * See the License for the specific language governing permissions and
4399
+ * limitations under the License.
4400
+ *)
4401
+
4402
+ @material/material-color-utilities/temperature/temperature_cache.js:
4403
+ (**
4404
+ * @license
4405
+ * Copyright 2023 Google LLC
4406
+ *
4407
+ * Licensed under the Apache License, Version 2.0 (the "License");
4408
+ * you may not use this file except in compliance with the License.
4409
+ * You may obtain a copy of the License at
4410
+ *
4411
+ * http://www.apache.org/licenses/LICENSE-2.0
4412
+ *
4413
+ * Unless required by applicable law or agreed to in writing, software
4414
+ * distributed under the License is distributed on an "AS IS" BASIS,
4415
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4416
+ * See the License for the specific language governing permissions and
4417
+ * limitations under the License.
4418
+ *)
4419
+
4420
+ @material/material-color-utilities/scheme/scheme_content.js:
4421
+ (**
4422
+ * @license
4423
+ * Copyright 2023 Google LLC
4424
+ *
4425
+ * Licensed under the Apache License, Version 2.0 (the "License");
4426
+ * you may not use this file except in compliance with the License.
4427
+ * You may obtain a copy of the License at
4428
+ *
4429
+ * http://www.apache.org/licenses/LICENSE-2.0
4430
+ *
4431
+ * Unless required by applicable law or agreed to in writing, software
4432
+ * distributed under the License is distributed on an "AS IS" BASIS,
4433
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4434
+ * See the License for the specific language governing permissions and
4435
+ * limitations under the License.
4436
+ *)
4437
+
4438
+ @material/material-color-utilities/scheme/scheme_expressive.js:
4439
+ (**
4440
+ * @license
4441
+ * Copyright 2022 Google LLC
4442
+ *
4443
+ * Licensed under the Apache License, Version 2.0 (the "License");
4444
+ * you may not use this file except in compliance with the License.
4445
+ * You may obtain a copy of the License at
4446
+ *
4447
+ * http://www.apache.org/licenses/LICENSE-2.0
4448
+ *
4449
+ * Unless required by applicable law or agreed to in writing, software
4450
+ * distributed under the License is distributed on an "AS IS" BASIS,
4451
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4452
+ * See the License for the specific language governing permissions and
4453
+ * limitations under the License.
4454
+ *)
4455
+
4456
+ @material/material-color-utilities/scheme/scheme_fidelity.js:
4457
+ (**
4458
+ * @license
4459
+ * Copyright 2023 Google LLC
4460
+ *
4461
+ * Licensed under the Apache License, Version 2.0 (the "License");
4462
+ * you may not use this file except in compliance with the License.
4463
+ * You may obtain a copy of the License at
4464
+ *
4465
+ * http://www.apache.org/licenses/LICENSE-2.0
4466
+ *
4467
+ * Unless required by applicable law or agreed to in writing, software
4468
+ * distributed under the License is distributed on an "AS IS" BASIS,
4469
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4470
+ * See the License for the specific language governing permissions and
4471
+ * limitations under the License.
4472
+ *)
4473
+
4474
+ @material/material-color-utilities/scheme/scheme_fruit_salad.js:
4475
+ (**
4476
+ * @license
4477
+ * Copyright 2022 Google LLC
4478
+ *
4479
+ * Licensed under the Apache License, Version 2.0 (the "License");
4480
+ * you may not use this file except in compliance with the License.
4481
+ * You may obtain a copy of the License at
4482
+ *
4483
+ * http://www.apache.org/licenses/LICENSE-2.0
4484
+ *
4485
+ * Unless required by applicable law or agreed to in writing, software
4486
+ * distributed under the License is distributed on an "AS IS" BASIS,
4487
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4488
+ * See the License for the specific language governing permissions and
4489
+ * limitations under the License.
4490
+ *)
4491
+
4492
+ @material/material-color-utilities/scheme/scheme_monochrome.js:
4493
+ (**
4494
+ * @license
4495
+ * Copyright 2022 Google LLC
4496
+ *
4497
+ * Licensed under the Apache License, Version 2.0 (the "License");
4498
+ * you may not use this file except in compliance with the License.
4499
+ * You may obtain a copy of the License at
4500
+ *
4501
+ * http://www.apache.org/licenses/LICENSE-2.0
4502
+ *
4503
+ * Unless required by applicable law or agreed to in writing, software
4504
+ * distributed under the License is distributed on an "AS IS" BASIS,
4505
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4506
+ * See the License for the specific language governing permissions and
4507
+ * limitations under the License.
4508
+ *)
4509
+
4510
+ @material/material-color-utilities/scheme/scheme_neutral.js:
4511
+ (**
4512
+ * @license
4513
+ * Copyright 2022 Google LLC
4514
+ *
4515
+ * Licensed under the Apache License, Version 2.0 (the "License");
4516
+ * you may not use this file except in compliance with the License.
4517
+ * You may obtain a copy of the License at
4518
+ *
4519
+ * http://www.apache.org/licenses/LICENSE-2.0
4520
+ *
4521
+ * Unless required by applicable law or agreed to in writing, software
4522
+ * distributed under the License is distributed on an "AS IS" BASIS,
4523
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4524
+ * See the License for the specific language governing permissions and
4525
+ * limitations under the License.
4526
+ *)
4527
+
4528
+ @material/material-color-utilities/scheme/scheme_rainbow.js:
4529
+ (**
4530
+ * @license
4531
+ * Copyright 2022 Google LLC
4532
+ *
4533
+ * Licensed under the Apache License, Version 2.0 (the "License");
4534
+ * you may not use this file except in compliance with the License.
4535
+ * You may obtain a copy of the License at
4536
+ *
4537
+ * http://www.apache.org/licenses/LICENSE-2.0
4538
+ *
4539
+ * Unless required by applicable law or agreed to in writing, software
4540
+ * distributed under the License is distributed on an "AS IS" BASIS,
4541
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4542
+ * See the License for the specific language governing permissions and
4543
+ * limitations under the License.
4544
+ *)
4545
+
4546
+ @material/material-color-utilities/scheme/scheme_tonal_spot.js:
4547
+ (**
4548
+ * @license
4549
+ * Copyright 2022 Google LLC
4550
+ *
4551
+ * Licensed under the Apache License, Version 2.0 (the "License");
4552
+ * you may not use this file except in compliance with the License.
4553
+ * You may obtain a copy of the License at
4554
+ *
4555
+ * http://www.apache.org/licenses/LICENSE-2.0
4556
+ *
4557
+ * Unless required by applicable law or agreed to in writing, software
4558
+ * distributed under the License is distributed on an "AS IS" BASIS,
4559
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4560
+ * See the License for the specific language governing permissions and
4561
+ * limitations under the License.
4562
+ *)
4563
+
4564
+ @material/material-color-utilities/scheme/scheme_vibrant.js:
4565
+ (**
4566
+ * @license
4567
+ * Copyright 2022 Google LLC
4568
+ *
4569
+ * Licensed under the Apache License, Version 2.0 (the "License");
4570
+ * you may not use this file except in compliance with the License.
4571
+ * You may obtain a copy of the License at
4572
+ *
4573
+ * http://www.apache.org/licenses/LICENSE-2.0
4574
+ *
4575
+ * Unless required by applicable law or agreed to in writing, software
4576
+ * distributed under the License is distributed on an "AS IS" BASIS,
4577
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4578
+ * See the License for the specific language governing permissions and
4579
+ * limitations under the License.
4580
+ *)
4581
+
4582
+ @material/material-color-utilities/score/score.js:
4583
+ (**
4584
+ * @license
4585
+ * Copyright 2021 Google LLC
4586
+ *
4587
+ * Licensed under the Apache License, Version 2.0 (the "License");
4588
+ * you may not use this file except in compliance with the License.
4589
+ * You may obtain a copy of the License at
4590
+ *
4591
+ * http://www.apache.org/licenses/LICENSE-2.0
4592
+ *
4593
+ * Unless required by applicable law or agreed to in writing, software
4594
+ * distributed under the License is distributed on an "AS IS" BASIS,
4595
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4596
+ * See the License for the specific language governing permissions and
4597
+ * limitations under the License.
4598
+ *)
4599
+
4600
+ @material/material-color-utilities/utils/string_utils.js:
4601
+ (**
4602
+ * @license
4603
+ * Copyright 2021 Google LLC
4604
+ *
4605
+ * Licensed under the Apache License, Version 2.0 (the "License");
4606
+ * you may not use this file except in compliance with the License.
4607
+ * You may obtain a copy of the License at
4608
+ *
4609
+ * http://www.apache.org/licenses/LICENSE-2.0
4610
+ *
4611
+ * Unless required by applicable law or agreed to in writing, software
4612
+ * distributed under the License is distributed on an "AS IS" BASIS,
4613
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4614
+ * See the License for the specific language governing permissions and
4615
+ * limitations under the License.
4616
+ *)
4617
+
4618
+ @material/material-color-utilities/utils/image_utils.js:
4619
+ (**
4620
+ * @license
4621
+ * Copyright 2021 Google LLC
4622
+ *
4623
+ * Licensed under the Apache License, Version 2.0 (the "License");
4624
+ * you may not use this file except in compliance with the License.
4625
+ * You may obtain a copy of the License at
4626
+ *
4627
+ * http://www.apache.org/licenses/LICENSE-2.0
4628
+ *
4629
+ * Unless required by applicable law or agreed to in writing, software
4630
+ * distributed under the License is distributed on an "AS IS" BASIS,
4631
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4632
+ * See the License for the specific language governing permissions and
4633
+ * limitations under the License.
4634
+ *)
4635
+
4636
+ @material/material-color-utilities/utils/theme_utils.js:
4637
+ (**
4638
+ * @license
4639
+ * Copyright 2021 Google LLC
4640
+ *
4641
+ * Licensed under the Apache License, Version 2.0 (the "License");
4642
+ * you may not use this file except in compliance with the License.
4643
+ * You may obtain a copy of the License at
4644
+ *
4645
+ * http://www.apache.org/licenses/LICENSE-2.0
4646
+ *
4647
+ * Unless required by applicable law or agreed to in writing, software
4648
+ * distributed under the License is distributed on an "AS IS" BASIS,
4649
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4650
+ * See the License for the specific language governing permissions and
4651
+ * limitations under the License.
4652
+ *)
4653
+
4654
+ @material/material-color-utilities/index.js:
4655
+ (**
4656
+ * @license
4657
+ * Copyright 2021 Google LLC
4658
+ *
4659
+ * Licensed under the Apache License, Version 2.0 (the "License");
4660
+ * you may not use this file except in compliance with the License.
4661
+ * You may obtain a copy of the License at
4662
+ *
4663
+ * http://www.apache.org/licenses/LICENSE-2.0
4664
+ *
4665
+ * Unless required by applicable law or agreed to in writing, software
4666
+ * distributed under the License is distributed on an "AS IS" BASIS,
4667
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4668
+ * See the License for the specific language governing permissions and
4669
+ * limitations under the License.
4670
+ *)
4671
+ */
3186
4672
  //# sourceMappingURL=index_bundled.js.map