material 3.9.0 → 3.10.1

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 (618) hide show
  1. package/NOTICE +3 -1
  2. package/README.md +5 -5
  3. package/dist/components/badge/index.d.ts +167 -3
  4. package/dist/components/bottom-app-bar/index.d.ts +141 -4
  5. package/dist/components/bottom-sheet/index.d.ts +114 -2
  6. package/dist/components/button/index.d.ts +10 -5
  7. package/dist/components/button-group/button-group.js +1 -0
  8. package/dist/components/button-group/config.js +9 -6
  9. package/dist/components/button-group/index.d.ts +250 -6
  10. package/dist/components/card/api.js +19 -0
  11. package/dist/components/card/index.d.ts +326 -5
  12. package/dist/components/carousel/features/slides.js +17 -7
  13. package/dist/components/carousel/index.d.ts +102 -3
  14. package/dist/components/checkbox/index.d.ts +217 -5
  15. package/dist/components/chips/chip/chip.js +4 -3
  16. package/dist/components/chips/index.d.ts +343 -3
  17. package/dist/components/datepicker/datepicker.js +62 -84
  18. package/dist/components/datepicker/index.d.ts +313 -2
  19. package/dist/components/datepicker/render.js +25 -21
  20. package/dist/components/datepicker/utils.js +65 -110
  21. package/dist/components/dialog/features.js +1 -1
  22. package/dist/components/dialog/index.d.ts +333 -3
  23. package/dist/components/divider/index.d.ts +96 -3
  24. package/dist/components/drawer/features/items.js +10 -2
  25. package/dist/components/drawer/index.d.ts +196 -3
  26. package/dist/components/extended-fab/index.d.ts +224 -2
  27. package/dist/components/fab/index.d.ts +183 -2
  28. package/dist/components/fab-menu/index.d.ts +106 -6
  29. package/dist/components/icon-button/index.d.ts +11 -4
  30. package/dist/components/list/features/anatomy.js +25 -6
  31. package/dist/components/list/features/selection.js +30 -2
  32. package/dist/components/list/index.d.ts +299 -6
  33. package/dist/components/loading-indicator/index.d.ts +91 -3
  34. package/dist/components/menu/features/controller.js +2 -0
  35. package/dist/components/menu/index.d.ts +10 -6
  36. package/dist/components/menu/inner.d.ts +2 -2
  37. package/dist/components/menu/on-demand.d.ts +5 -9
  38. package/dist/components/menu/types.d.ts +12 -7
  39. package/dist/components/navigation-bar/index.d.ts +70 -2
  40. package/dist/components/navigation-rail/index.d.ts +98 -2
  41. package/dist/components/progress/index.d.ts +9 -2
  42. package/dist/components/progress/types.d.ts +5 -5
  43. package/dist/components/radios/index.d.ts +158 -3
  44. package/dist/components/search/features/states.js +20 -39
  45. package/dist/components/search/features/structure.js +24 -4
  46. package/dist/components/search/features/suggestions.js +4 -0
  47. package/dist/components/search/index.d.ts +255 -2
  48. package/dist/components/select/index.d.ts +252 -6
  49. package/dist/components/side-sheet/index.d.ts +104 -2
  50. package/dist/components/slider/index.d.ts +236 -2
  51. package/dist/components/snackbar/api.js +26 -0
  52. package/dist/components/snackbar/constants.d.ts +4 -0
  53. package/dist/components/snackbar/constants.js +3 -1
  54. package/dist/components/snackbar/index.d.ts +215 -4
  55. package/dist/components/split-button/index.d.ts +10 -3
  56. package/dist/components/split-button/types.d.ts +3 -3
  57. package/dist/components/switch/index.d.ts +190 -3
  58. package/dist/components/tabs/index.d.ts +454 -12
  59. package/dist/components/tabs/index.js +1 -1
  60. package/dist/components/tabs/responsive-legacy.js +65 -0
  61. package/dist/components/tabs/responsive.d.ts +7 -32
  62. package/dist/components/tabs/responsive.js +4 -63
  63. package/dist/components/tabs/tabs.js +1 -0
  64. package/dist/components/text-field/config.js +3 -4
  65. package/dist/components/text-field/features/field.js +61 -0
  66. package/dist/components/text-field/features/leading-icon.js +12 -45
  67. package/dist/components/text-field/features/prefix-text.js +6 -40
  68. package/dist/components/text-field/features/suffix-text.js +6 -40
  69. package/dist/components/text-field/index.d.ts +338 -3
  70. package/dist/components/timepicker/constants.d.ts +4 -4
  71. package/dist/components/timepicker/constants.js +2 -2
  72. package/dist/components/timepicker/dial.js +30 -3
  73. package/dist/components/timepicker/index.d.ts +279 -5
  74. package/dist/components/timepicker/render.js +15 -9
  75. package/dist/components/toolbar/index.d.ts +145 -6
  76. package/dist/components/tooltip/index.d.ts +155 -3
  77. package/dist/components/top-app-bar/index.d.ts +92 -5
  78. package/dist/core/canvas/index.d.ts +172 -5
  79. package/dist/core/canvas/utils.js +3 -13
  80. package/dist/core/compose/cleanup.d.ts +1 -1
  81. package/dist/core/compose/features/icon-opt-in.js +5 -0
  82. package/dist/core/compose/features/icon-slot.js +100 -0
  83. package/dist/core/compose/features/textinput.js +2 -0
  84. package/dist/core/compose/features/track.js +4 -0
  85. package/dist/core/compose/index.d.ts +741 -8
  86. package/dist/core/config/component.d.ts +1 -4
  87. package/dist/core/dom/create.d.ts +1 -4
  88. package/dist/core/dom/index.d.ts +233 -12
  89. package/dist/core/index.d.ts +93 -14
  90. package/dist/core/navigation/destinations.d.ts +6 -6
  91. package/dist/core/shapes/index.d.ts +286 -6
  92. package/dist/core/state/index.d.ts +98 -5
  93. package/dist/core/theme/index.d.ts +80 -4
  94. package/dist/core/utils/index.d.ts +95 -9
  95. package/dist/core/utils/mobile.d.ts +2 -2
  96. package/dist/elements/adapter.d.ts +3 -3
  97. package/dist/elements/css/bottom-sheet.css +1 -1
  98. package/dist/elements/css/button-group.css +1 -1
  99. package/dist/elements/css/button.css +1 -1
  100. package/dist/elements/css/datepicker.css +1 -1
  101. package/dist/elements/css/dialog.css +1 -1
  102. package/dist/elements/css/drawer.css +1 -1
  103. package/dist/elements/css/icon-button.css +1 -1
  104. package/dist/elements/css/list.css +1 -1
  105. package/dist/elements/css/menu.css +1 -1
  106. package/dist/elements/css/side-sheet.css +1 -1
  107. package/dist/elements/css/snackbar.css +1 -1
  108. package/dist/elements/css/text-field.css +1 -1
  109. package/dist/elements/css/timepicker.css +1 -1
  110. package/dist/elements/css/toolbar.css +1 -1
  111. package/dist/elements/datepicker.js +1 -0
  112. package/dist/elements/define.d.ts +3 -3
  113. package/dist/elements/define.js +12 -1
  114. package/dist/elements/drawer.js +2 -0
  115. package/dist/elements/index.d.ts +3974 -107
  116. package/dist/elements/preupgrade/badge.css +1 -1
  117. package/dist/elements/preupgrade/bottom-app-bar.css +1 -1
  118. package/dist/elements/preupgrade/bottom-sheet.css +1 -1
  119. package/dist/elements/preupgrade/button-group.css +2 -2
  120. package/dist/elements/preupgrade/button.css +2 -2
  121. package/dist/elements/preupgrade/card.css +1 -1
  122. package/dist/elements/preupgrade/carousel.css +1 -1
  123. package/dist/elements/preupgrade/checkbox.css +1 -1
  124. package/dist/elements/preupgrade/chips.css +1 -1
  125. package/dist/elements/preupgrade/datepicker.css +1 -1
  126. package/dist/elements/preupgrade/dialog.css +1 -1
  127. package/dist/elements/preupgrade/divider.css +1 -1
  128. package/dist/elements/preupgrade/drawer.css +2 -2
  129. package/dist/elements/preupgrade/extended-fab.css +1 -1
  130. package/dist/elements/preupgrade/fab-menu.css +1 -1
  131. package/dist/elements/preupgrade/fab.css +1 -1
  132. package/dist/elements/preupgrade/icon-button.css +2 -2
  133. package/dist/elements/preupgrade/list.css +2 -2
  134. package/dist/elements/preupgrade/loading-indicator.css +1 -1
  135. package/dist/elements/preupgrade/menu.css +1 -1
  136. package/dist/elements/preupgrade/navigation-bar.css +1 -1
  137. package/dist/elements/preupgrade/navigation-rail.css +1 -1
  138. package/dist/elements/preupgrade/progress.css +1 -1
  139. package/dist/elements/preupgrade/radios.css +1 -1
  140. package/dist/elements/preupgrade/search.css +1 -1
  141. package/dist/elements/preupgrade/select.css +2 -2
  142. package/dist/elements/preupgrade/side-sheet.css +1 -1
  143. package/dist/elements/preupgrade/slider.css +1 -1
  144. package/dist/elements/preupgrade/snackbar.css +1 -1
  145. package/dist/elements/preupgrade/split-button.css +1 -1
  146. package/dist/elements/preupgrade/switch.css +1 -1
  147. package/dist/elements/preupgrade/tabs.css +1 -1
  148. package/dist/elements/preupgrade/text-field.css +2 -2
  149. package/dist/elements/preupgrade/timepicker.css +1 -1
  150. package/dist/elements/preupgrade/toolbar.css +1 -1
  151. package/dist/elements/preupgrade/tooltip.css +1 -1
  152. package/dist/elements/preupgrade/top-app-bar.css +1 -1
  153. package/dist/elements/preupgrade.css +2 -2
  154. package/dist/elements/snackbar.js +2 -0
  155. package/dist/elements/styles.d.ts +7 -7
  156. package/dist/elements/styles.js +15 -15
  157. package/dist/elements/text-field.js +2 -0
  158. package/dist/index.d.ts +78 -4
  159. package/dist/react/create.d.ts +2 -6
  160. package/dist/react/index.d.ts +106 -52
  161. package/dist/react/jsx.d.ts +49 -49
  162. package/dist/solid/create.d.ts +2 -7
  163. package/dist/solid/index.d.ts +106 -52
  164. package/dist/solid/jsx.d.ts +51 -50
  165. package/dist/styles/badge.css +1 -1
  166. package/dist/styles/base-lite.css +2 -2
  167. package/dist/styles/base.css +2 -2
  168. package/dist/styles/bottom-app-bar.css +1 -1
  169. package/dist/styles/bottom-sheet.css +2 -2
  170. package/dist/styles/button-group.css +2 -2
  171. package/dist/styles/button.css +2 -2
  172. package/dist/styles/card.css +1 -1
  173. package/dist/styles/carousel.css +1 -1
  174. package/dist/styles/checkbox.css +1 -1
  175. package/dist/styles/chips.css +1 -1
  176. package/dist/styles/contrast.css +1 -1
  177. package/dist/styles/datepicker.css +2 -2
  178. package/dist/styles/dialog.css +2 -2
  179. package/dist/styles/divider.css +1 -1
  180. package/dist/styles/drawer.css +2 -2
  181. package/dist/styles/extended-fab.css +1 -1
  182. package/dist/styles/fab-menu.css +1 -1
  183. package/dist/styles/fab.css +1 -1
  184. package/dist/styles/icon-button.css +2 -2
  185. package/dist/styles/list.css +2 -2
  186. package/dist/styles/loading-indicator.css +1 -1
  187. package/dist/styles/menu.css +2 -2
  188. package/dist/styles/navigation-bar.css +1 -1
  189. package/dist/styles/navigation-rail.css +1 -1
  190. package/dist/styles/progress.css +1 -1
  191. package/dist/styles/radios.css +1 -1
  192. package/dist/styles/search.css +1 -1
  193. package/dist/styles/select.css +1 -1
  194. package/dist/styles/side-sheet.css +2 -2
  195. package/dist/styles/slider.css +1 -1
  196. package/dist/styles/snackbar.css +2 -2
  197. package/dist/styles/split-button.css +1 -1
  198. package/dist/styles/switch.css +1 -1
  199. package/dist/styles/tabs.css +1 -1
  200. package/dist/styles/text-field.css +2 -2
  201. package/dist/styles/timepicker.css +2 -2
  202. package/dist/styles/toolbar.css +2 -2
  203. package/dist/styles/tooltip.css +1 -1
  204. package/dist/styles/top-app-bar.css +1 -1
  205. package/dist/styles/typography.css +1 -1
  206. package/dist/styles/utilities.css +1 -1
  207. package/dist/styles.css +2 -2
  208. package/dist/svelte/runtime.d.ts +6 -10
  209. package/dist/theme/vendor/contrast/contrast.js +1 -16
  210. package/dist/theme/vendor/dislike/dislike_analyzer.js +1 -16
  211. package/dist/theme/vendor/dynamiccolor/color_spec_2021.js +1 -16
  212. package/dist/theme/vendor/dynamiccolor/color_spec_2025.js +1 -16
  213. package/dist/theme/vendor/dynamiccolor/contrast_curve.js +1 -16
  214. package/dist/theme/vendor/dynamiccolor/dynamic_color.d.ts +2 -2
  215. package/dist/theme/vendor/dynamiccolor/dynamic_color.js +1 -16
  216. package/dist/theme/vendor/dynamiccolor/dynamic_scheme.d.ts +2 -2
  217. package/dist/theme/vendor/dynamiccolor/dynamic_scheme.js +1 -16
  218. package/dist/theme/vendor/dynamiccolor/material_dynamic_colors.js +1 -16
  219. package/dist/theme/vendor/dynamiccolor/spec_2025.js +1 -16
  220. package/dist/theme/vendor/dynamiccolor/spec_extensions.js +1 -16
  221. package/dist/theme/vendor/dynamiccolor/tone_delta_pair.js +1 -16
  222. package/dist/theme/vendor/dynamiccolor/variant.js +1 -16
  223. package/dist/theme/vendor/hct/cam16.js +1 -16
  224. package/dist/theme/vendor/hct/hct.js +1 -16
  225. package/dist/theme/vendor/hct/hct_solver.js +1 -16
  226. package/dist/theme/vendor/hct/viewing_conditions.js +1 -16
  227. package/dist/theme/vendor/palettes/tonal_palette.d.ts +6 -9
  228. package/dist/theme/vendor/palettes/tonal_palette.js +1 -16
  229. package/dist/theme/vendor/quantize/lab_point_provider.js +1 -16
  230. package/dist/theme/vendor/quantize/quantizer_celebi.js +1 -16
  231. package/dist/theme/vendor/quantize/quantizer_map.js +1 -16
  232. package/dist/theme/vendor/quantize/quantizer_wsmeans.js +1 -16
  233. package/dist/theme/vendor/quantize/quantizer_wu.js +1 -16
  234. package/dist/theme/vendor/score/score.js +1 -16
  235. package/dist/theme/vendor/temperature/temperature_cache.js +1 -16
  236. package/dist/theme/vendor/utils/color_utils.js +1 -16
  237. package/dist/theme/vendor/utils/image_utils.js +1 -16
  238. package/dist/theme/vendor/utils/math_utils.js +1 -16
  239. package/dist/theme/vendor/utils/string_utils.js +1 -16
  240. package/dist/themes/autumn-contrast.css +1 -1
  241. package/dist/themes/autumn.css +1 -1
  242. package/dist/themes/baseline-contrast.css +1 -1
  243. package/dist/themes/baseline.css +1 -1
  244. package/dist/themes/brownbeige-contrast.css +1 -1
  245. package/dist/themes/brownbeige.css +1 -1
  246. package/dist/themes/content-contrast.css +1 -1
  247. package/dist/themes/content.css +1 -1
  248. package/dist/themes/desert-contrast.css +1 -1
  249. package/dist/themes/desert.css +1 -1
  250. package/dist/themes/expressive-contrast.css +1 -1
  251. package/dist/themes/expressive.css +1 -1
  252. package/dist/themes/fidelity-contrast.css +1 -1
  253. package/dist/themes/fidelity.css +1 -1
  254. package/dist/themes/forest-contrast.css +1 -1
  255. package/dist/themes/forest.css +1 -1
  256. package/dist/themes/fruit-salad-contrast.css +1 -1
  257. package/dist/themes/fruit-salad.css +1 -1
  258. package/dist/themes/highcontrast-contrast.css +1 -1
  259. package/dist/themes/highcontrast.css +1 -1
  260. package/dist/themes/monochrome-contrast.css +1 -1
  261. package/dist/themes/monochrome.css +1 -1
  262. package/dist/themes/neutral-contrast.css +1 -1
  263. package/dist/themes/neutral.css +1 -1
  264. package/dist/themes/ocean-contrast.css +1 -1
  265. package/dist/themes/ocean.css +1 -1
  266. package/dist/themes/rainbow-contrast.css +1 -1
  267. package/dist/themes/rainbow.css +1 -1
  268. package/dist/themes/sageivory-contrast.css +1 -1
  269. package/dist/themes/sageivory.css +1 -1
  270. package/dist/themes/spring-contrast.css +1 -1
  271. package/dist/themes/spring.css +1 -1
  272. package/dist/themes/summer-contrast.css +1 -1
  273. package/dist/themes/summer.css +1 -1
  274. package/dist/themes/sunset-contrast.css +1 -1
  275. package/dist/themes/sunset.css +1 -1
  276. package/dist/themes/tealcaramel-contrast.css +1 -1
  277. package/dist/themes/tealcaramel.css +1 -1
  278. package/dist/themes/vibrant-contrast.css +1 -1
  279. package/dist/themes/vibrant.css +1 -1
  280. package/dist/vue/index.d.ts +188 -53
  281. package/package.json +5 -1
  282. package/src/styles/abstract/_functions.scss +22 -1
  283. package/src/styles/abstract/_variables.scss +0 -2
  284. package/src/styles/base/_tokens.scss +12 -0
  285. package/src/styles/components/_bottom-sheet.scss +1 -0
  286. package/src/styles/components/_button-group.scss +9 -5
  287. package/src/styles/components/_button.scss +9 -12
  288. package/src/styles/components/_datepicker.scss +2 -1
  289. package/src/styles/components/_dialog.scss +1 -0
  290. package/src/styles/components/_drawer.scss +33 -65
  291. package/src/styles/components/_icon-button.scss +32 -33
  292. package/src/styles/components/_list.scss +19 -5
  293. package/src/styles/components/_menu.scss +1 -0
  294. package/src/styles/components/_side-sheet.scss +1 -0
  295. package/src/styles/components/_snackbar.scss +1 -0
  296. package/src/styles/components/_text-field.scss +17 -109
  297. package/src/styles/components/_timepicker.scss +19 -5
  298. package/src/styles/components/_toolbar.scss +4 -4
  299. package/src/styles/elements/_button-group.scss +17 -4
  300. package/src/styles/elements/_button.scss +3 -2
  301. package/src/styles/elements/_drawer.scss +2 -1
  302. package/src/styles/elements/_field.scss +25 -14
  303. package/src/styles/elements/_icon-button.scss +8 -3
  304. package/src/styles/elements/_list.scss +3 -2
  305. package/src/styles/elements/_text-field.scss +71 -47
  306. package/dist/components/badge/badge.d.ts +0 -7
  307. package/dist/components/badge/types.d.ts +0 -152
  308. package/dist/components/bottom-app-bar/bottom-app-bar.d.ts +0 -12
  309. package/dist/components/bottom-app-bar/types.d.ts +0 -124
  310. package/dist/components/bottom-sheet/bottom-sheet.d.ts +0 -7
  311. package/dist/components/bottom-sheet/types.d.ts +0 -100
  312. package/dist/components/button/button.d.ts +0 -7
  313. package/dist/components/button-group/button-group.d.ts +0 -7
  314. package/dist/components/button-group/types.d.ts +0 -227
  315. package/dist/components/card/card.d.ts +0 -7
  316. package/dist/components/card/content.d.ts +0 -22
  317. package/dist/components/card/types.d.ts +0 -272
  318. package/dist/components/carousel/carousel.d.ts +0 -4
  319. package/dist/components/carousel/types.d.ts +0 -81
  320. package/dist/components/checkbox/checkbox.d.ts +0 -8
  321. package/dist/components/checkbox/types.d.ts +0 -199
  322. package/dist/components/chips/chips.d.ts +0 -7
  323. package/dist/components/chips/factories.d.ts +0 -9
  324. package/dist/components/chips/types.d.ts +0 -304
  325. package/dist/components/datepicker/datepicker.d.ts +0 -7
  326. package/dist/components/datepicker/types.d.ts +0 -300
  327. package/dist/components/datepicker/types.js +0 -17
  328. package/dist/components/dialog/dialog.d.ts +0 -8
  329. package/dist/components/dialog/types.d.ts +0 -311
  330. package/dist/components/divider/config.d.ts +0 -43
  331. package/dist/components/divider/divider.d.ts +0 -7
  332. package/dist/components/divider/types.d.ts +0 -43
  333. package/dist/components/drawer/drawer.d.ts +0 -7
  334. package/dist/components/drawer/types.d.ts +0 -179
  335. package/dist/components/extended-fab/extended-fab.d.ts +0 -7
  336. package/dist/components/extended-fab/types.d.ts +0 -208
  337. package/dist/components/fab/fab.d.ts +0 -7
  338. package/dist/components/fab/types.d.ts +0 -168
  339. package/dist/components/fab-menu/fab-menu.d.ts +0 -8
  340. package/dist/components/fab-menu/types.d.ts +0 -91
  341. package/dist/components/icon-button/icon-button.d.ts +0 -7
  342. package/dist/components/index.d.ts +0 -82
  343. package/dist/components/list/features/listbox.d.ts +0 -16
  344. package/dist/components/list/list.d.ts +0 -7
  345. package/dist/components/list/types.d.ts +0 -257
  346. package/dist/components/loading-indicator/features/renderer.d.ts +0 -28
  347. package/dist/components/loading-indicator/loading-indicator.d.ts +0 -7
  348. package/dist/components/loading-indicator/types.d.ts +0 -53
  349. package/dist/components/menu/menu.d.ts +0 -7
  350. package/dist/components/navigation-bar/navigation-bar.d.ts +0 -3
  351. package/dist/components/navigation-bar/types.d.ts +0 -59
  352. package/dist/components/navigation-rail/navigation-rail.d.ts +0 -3
  353. package/dist/components/navigation-rail/types.d.ts +0 -87
  354. package/dist/components/progress/progress.d.ts +0 -7
  355. package/dist/components/radios/radios.d.ts +0 -7
  356. package/dist/components/radios/types.d.ts +0 -144
  357. package/dist/components/search/search.d.ts +0 -7
  358. package/dist/components/search/types.d.ts +0 -235
  359. package/dist/components/select/select.d.ts +0 -7
  360. package/dist/components/select/types.d.ts +0 -232
  361. package/dist/components/side-sheet/side-sheet.d.ts +0 -7
  362. package/dist/components/side-sheet/types.d.ts +0 -91
  363. package/dist/components/slider/slider.d.ts +0 -7
  364. package/dist/components/slider/types.d.ts +0 -218
  365. package/dist/components/snackbar/snackbar.d.ts +0 -9
  366. package/dist/components/snackbar/types.d.ts +0 -180
  367. package/dist/components/split-button/split-button.d.ts +0 -7
  368. package/dist/components/switch/switch.d.ts +0 -7
  369. package/dist/components/switch/types.d.ts +0 -171
  370. package/dist/components/tabs/indicator.d.ts +0 -44
  371. package/dist/components/tabs/tab.d.ts +0 -7
  372. package/dist/components/tabs/tabs.d.ts +0 -7
  373. package/dist/components/tabs/types.d.ts +0 -304
  374. package/dist/components/tabs/utils.d.ts +0 -46
  375. package/dist/components/text-field/features/trailing-icon.d.ts +0 -54
  376. package/dist/components/text-field/text-field.d.ts +0 -7
  377. package/dist/components/text-field/types.d.ts +0 -261
  378. package/dist/components/timepicker/timepicker.d.ts +0 -3
  379. package/dist/components/timepicker/types.d.ts +0 -258
  380. package/dist/components/toolbar/toolbar.d.ts +0 -8
  381. package/dist/components/toolbar/types.d.ts +0 -129
  382. package/dist/components/tooltip/tooltip.d.ts +0 -7
  383. package/dist/components/tooltip/types.d.ts +0 -137
  384. package/dist/components/top-app-bar/top-app-bar.d.ts +0 -7
  385. package/dist/components/top-app-bar/types.d.ts +0 -80
  386. package/dist/core/canvas/animation.d.ts +0 -20
  387. package/dist/core/canvas/drawing.d.ts +0 -67
  388. package/dist/core/canvas/resize.d.ts +0 -8
  389. package/dist/core/canvas/utils.d.ts +0 -62
  390. package/dist/core/compose/base.d.ts +0 -18
  391. package/dist/core/compose/features/badge.d.ts +0 -27
  392. package/dist/core/compose/features/checkable.d.ts +0 -33
  393. package/dist/core/compose/features/debounce.d.ts +0 -45
  394. package/dist/core/compose/features/disabled.d.ts +0 -26
  395. package/dist/core/compose/features/events.d.ts +0 -31
  396. package/dist/core/compose/features/index.d.ts +0 -34
  397. package/dist/core/compose/features/input.d.ts +0 -54
  398. package/dist/core/compose/features/lifecycle.d.ts +0 -41
  399. package/dist/core/compose/features/position.d.ts +0 -36
  400. package/dist/core/compose/features/ripple.d.ts +0 -35
  401. package/dist/core/compose/features/size.d.ts +0 -12
  402. package/dist/core/compose/features/style.d.ts +0 -11
  403. package/dist/core/compose/features/textinput.d.ts +0 -66
  404. package/dist/core/compose/features/textlabel.d.ts +0 -34
  405. package/dist/core/compose/features/throttle.d.ts +0 -38
  406. package/dist/core/compose/features/track.d.ts +0 -24
  407. package/dist/core/compose/features/variant.d.ts +0 -12
  408. package/dist/core/compose/features/withEvents.d.ts +0 -27
  409. package/dist/core/compose/pipe.d.ts +0 -55
  410. package/dist/core/compose/utils/type-guards.d.ts +0 -17
  411. package/dist/core/config.d.ts +0 -72
  412. package/dist/core/dom/attributes.d.ts +0 -34
  413. package/dist/core/dom/classes.d.ts +0 -29
  414. package/dist/core/dom/events.d.ts +0 -43
  415. package/dist/core/dom/focus.d.ts +0 -15
  416. package/dist/core/dom/html.d.ts +0 -16
  417. package/dist/core/dom/layer.d.ts +0 -57
  418. package/dist/core/dom/roving.d.ts +0 -18
  419. package/dist/core/shapes/cubic.d.ts +0 -45
  420. package/dist/core/shapes/material.d.ts +0 -131
  421. package/dist/core/shapes/polygon.d.ts +0 -38
  422. package/dist/core/state/events.d.ts +0 -25
  423. package/dist/core/state/store.d.ts +0 -60
  424. package/dist/core/theme/shape.d.ts +0 -5
  425. package/dist/core/theme/tokens.d.ts +0 -67
  426. package/dist/core/utils/background.d.ts +0 -13
  427. package/dist/core/utils/color.d.ts +0 -6
  428. package/dist/core/utils/object.d.ts +0 -11
  429. package/dist/core/utils/performance.d.ts +0 -32
  430. package/dist/core/utils/theme.d.ts +0 -17
  431. package/dist/core/utils/url.d.ts +0 -6
  432. package/dist/elements/badge.d.ts +0 -57
  433. package/dist/elements/bottom-app-bar.d.ts +0 -66
  434. package/dist/elements/bottom-sheet.d.ts +0 -107
  435. package/dist/elements/button-group.d.ts +0 -142
  436. package/dist/elements/button.d.ts +0 -101
  437. package/dist/elements/card.d.ts +0 -69
  438. package/dist/elements/carousel.d.ts +0 -119
  439. package/dist/elements/checkbox.d.ts +0 -97
  440. package/dist/elements/chips.d.ts +0 -126
  441. package/dist/elements/datepicker.d.ts +0 -131
  442. package/dist/elements/dialog.d.ts +0 -101
  443. package/dist/elements/divider.d.ts +0 -52
  444. package/dist/elements/drawer.d.ts +0 -119
  445. package/dist/elements/extended-fab.d.ts +0 -97
  446. package/dist/elements/fab-menu.d.ts +0 -102
  447. package/dist/elements/fab.d.ts +0 -71
  448. package/dist/elements/list.d.ts +0 -127
  449. package/dist/elements/loading-indicator.d.ts +0 -47
  450. package/dist/elements/menu.d.ts +0 -144
  451. package/dist/elements/navigation-bar.d.ts +0 -104
  452. package/dist/elements/navigation-rail.d.ts +0 -145
  453. package/dist/elements/progress.d.ts +0 -87
  454. package/dist/elements/radios.d.ts +0 -92
  455. package/dist/elements/search.d.ts +0 -202
  456. package/dist/elements/select.d.ts +0 -119
  457. package/dist/elements/side-sheet.d.ts +0 -86
  458. package/dist/elements/slider.d.ts +0 -160
  459. package/dist/elements/snackbar.d.ts +0 -87
  460. package/dist/elements/split-button.d.ts +0 -87
  461. package/dist/elements/switch.d.ts +0 -98
  462. package/dist/elements/tabs.d.ts +0 -76
  463. package/dist/elements/text-field.d.ts +0 -170
  464. package/dist/elements/timepicker.d.ts +0 -148
  465. package/dist/elements/toolbar.d.ts +0 -98
  466. package/dist/elements/tooltip.d.ts +0 -75
  467. package/dist/elements/top-app-bar.d.ts +0 -60
  468. package/dist/react/badge.d.ts +0 -4
  469. package/dist/react/bottom-app-bar.d.ts +0 -5
  470. package/dist/react/bottom-sheet.d.ts +0 -4
  471. package/dist/react/button-group-item.d.ts +0 -3
  472. package/dist/react/button-group.d.ts +0 -7
  473. package/dist/react/button.d.ts +0 -5
  474. package/dist/react/card.d.ts +0 -4
  475. package/dist/react/carousel-item.d.ts +0 -3
  476. package/dist/react/carousel.d.ts +0 -4
  477. package/dist/react/checkbox.d.ts +0 -4
  478. package/dist/react/chip.d.ts +0 -3
  479. package/dist/react/chips.d.ts +0 -4
  480. package/dist/react/datepicker.d.ts +0 -4
  481. package/dist/react/dialog.d.ts +0 -7
  482. package/dist/react/divider.d.ts +0 -4
  483. package/dist/react/drawer-item.d.ts +0 -3
  484. package/dist/react/drawer.d.ts +0 -4
  485. package/dist/react/extended-fab.d.ts +0 -4
  486. package/dist/react/fab-menu-item.d.ts +0 -3
  487. package/dist/react/fab-menu.d.ts +0 -6
  488. package/dist/react/fab.d.ts +0 -4
  489. package/dist/react/icon-button.d.ts +0 -4
  490. package/dist/react/list-item.d.ts +0 -3
  491. package/dist/react/list.d.ts +0 -4
  492. package/dist/react/loading-indicator.d.ts +0 -4
  493. package/dist/react/menu-item.d.ts +0 -3
  494. package/dist/react/menu.d.ts +0 -4
  495. package/dist/react/navigation-bar-item.d.ts +0 -3
  496. package/dist/react/navigation-bar.d.ts +0 -4
  497. package/dist/react/navigation-rail-item.d.ts +0 -3
  498. package/dist/react/navigation-rail.d.ts +0 -4
  499. package/dist/react/progress.d.ts +0 -4
  500. package/dist/react/radio.d.ts +0 -3
  501. package/dist/react/radios.d.ts +0 -4
  502. package/dist/react/search-suggestion.d.ts +0 -3
  503. package/dist/react/search.d.ts +0 -4
  504. package/dist/react/select-option.d.ts +0 -3
  505. package/dist/react/select.d.ts +0 -6
  506. package/dist/react/side-sheet.d.ts +0 -4
  507. package/dist/react/slider.d.ts +0 -4
  508. package/dist/react/snackbar.d.ts +0 -7
  509. package/dist/react/split-button.d.ts +0 -7
  510. package/dist/react/switch.d.ts +0 -4
  511. package/dist/react/tab.d.ts +0 -3
  512. package/dist/react/tabs.d.ts +0 -7
  513. package/dist/react/text-field.d.ts +0 -4
  514. package/dist/react/timepicker.d.ts +0 -4
  515. package/dist/react/toolbar.d.ts +0 -5
  516. package/dist/react/tooltip.d.ts +0 -4
  517. package/dist/react/top-app-bar.d.ts +0 -4
  518. package/dist/solid/badge.d.ts +0 -4
  519. package/dist/solid/bottom-app-bar.d.ts +0 -5
  520. package/dist/solid/bottom-sheet.d.ts +0 -4
  521. package/dist/solid/button-group-item.d.ts +0 -3
  522. package/dist/solid/button-group.d.ts +0 -7
  523. package/dist/solid/button.d.ts +0 -5
  524. package/dist/solid/card.d.ts +0 -4
  525. package/dist/solid/carousel-item.d.ts +0 -3
  526. package/dist/solid/carousel.d.ts +0 -4
  527. package/dist/solid/checkbox.d.ts +0 -4
  528. package/dist/solid/chip.d.ts +0 -3
  529. package/dist/solid/chips.d.ts +0 -4
  530. package/dist/solid/datepicker.d.ts +0 -4
  531. package/dist/solid/dialog.d.ts +0 -7
  532. package/dist/solid/divider.d.ts +0 -4
  533. package/dist/solid/drawer-item.d.ts +0 -3
  534. package/dist/solid/drawer.d.ts +0 -4
  535. package/dist/solid/extended-fab.d.ts +0 -4
  536. package/dist/solid/fab-menu-item.d.ts +0 -3
  537. package/dist/solid/fab-menu.d.ts +0 -6
  538. package/dist/solid/fab.d.ts +0 -4
  539. package/dist/solid/icon-button.d.ts +0 -4
  540. package/dist/solid/list-item.d.ts +0 -3
  541. package/dist/solid/list.d.ts +0 -4
  542. package/dist/solid/loading-indicator.d.ts +0 -4
  543. package/dist/solid/menu-item.d.ts +0 -3
  544. package/dist/solid/menu.d.ts +0 -4
  545. package/dist/solid/navigation-bar-item.d.ts +0 -3
  546. package/dist/solid/navigation-bar.d.ts +0 -4
  547. package/dist/solid/navigation-rail-item.d.ts +0 -3
  548. package/dist/solid/navigation-rail.d.ts +0 -4
  549. package/dist/solid/progress.d.ts +0 -4
  550. package/dist/solid/radio.d.ts +0 -3
  551. package/dist/solid/radios.d.ts +0 -4
  552. package/dist/solid/search-suggestion.d.ts +0 -3
  553. package/dist/solid/search.d.ts +0 -4
  554. package/dist/solid/select-option.d.ts +0 -3
  555. package/dist/solid/select.d.ts +0 -6
  556. package/dist/solid/side-sheet.d.ts +0 -4
  557. package/dist/solid/slider.d.ts +0 -4
  558. package/dist/solid/snackbar.d.ts +0 -7
  559. package/dist/solid/split-button.d.ts +0 -7
  560. package/dist/solid/switch.d.ts +0 -4
  561. package/dist/solid/tab.d.ts +0 -3
  562. package/dist/solid/tabs.d.ts +0 -7
  563. package/dist/solid/text-field.d.ts +0 -4
  564. package/dist/solid/timepicker.d.ts +0 -4
  565. package/dist/solid/toolbar.d.ts +0 -5
  566. package/dist/solid/tooltip.d.ts +0 -4
  567. package/dist/solid/top-app-bar.d.ts +0 -4
  568. package/dist/vue/badge.d.ts +0 -4
  569. package/dist/vue/bottom-app-bar.d.ts +0 -5
  570. package/dist/vue/bottom-sheet.d.ts +0 -4
  571. package/dist/vue/button-group-item.d.ts +0 -3
  572. package/dist/vue/button-group.d.ts +0 -7
  573. package/dist/vue/button.d.ts +0 -5
  574. package/dist/vue/card.d.ts +0 -4
  575. package/dist/vue/carousel-item.d.ts +0 -3
  576. package/dist/vue/carousel.d.ts +0 -4
  577. package/dist/vue/checkbox.d.ts +0 -4
  578. package/dist/vue/chip.d.ts +0 -3
  579. package/dist/vue/chips.d.ts +0 -4
  580. package/dist/vue/create.d.ts +0 -73
  581. package/dist/vue/datepicker.d.ts +0 -4
  582. package/dist/vue/dialog.d.ts +0 -7
  583. package/dist/vue/divider.d.ts +0 -4
  584. package/dist/vue/drawer-item.d.ts +0 -3
  585. package/dist/vue/drawer.d.ts +0 -4
  586. package/dist/vue/extended-fab.d.ts +0 -4
  587. package/dist/vue/fab-menu-item.d.ts +0 -3
  588. package/dist/vue/fab-menu.d.ts +0 -6
  589. package/dist/vue/fab.d.ts +0 -4
  590. package/dist/vue/icon-button.d.ts +0 -4
  591. package/dist/vue/list-item.d.ts +0 -3
  592. package/dist/vue/list.d.ts +0 -4
  593. package/dist/vue/loading-indicator.d.ts +0 -4
  594. package/dist/vue/menu-item.d.ts +0 -3
  595. package/dist/vue/menu.d.ts +0 -4
  596. package/dist/vue/navigation-bar-item.d.ts +0 -3
  597. package/dist/vue/navigation-bar.d.ts +0 -4
  598. package/dist/vue/navigation-rail-item.d.ts +0 -3
  599. package/dist/vue/navigation-rail.d.ts +0 -4
  600. package/dist/vue/progress.d.ts +0 -4
  601. package/dist/vue/radio.d.ts +0 -3
  602. package/dist/vue/radios.d.ts +0 -4
  603. package/dist/vue/search-suggestion.d.ts +0 -3
  604. package/dist/vue/search.d.ts +0 -4
  605. package/dist/vue/select-option.d.ts +0 -3
  606. package/dist/vue/select.d.ts +0 -6
  607. package/dist/vue/side-sheet.d.ts +0 -4
  608. package/dist/vue/slider.d.ts +0 -4
  609. package/dist/vue/snackbar.d.ts +0 -7
  610. package/dist/vue/split-button.d.ts +0 -7
  611. package/dist/vue/switch.d.ts +0 -4
  612. package/dist/vue/tab.d.ts +0 -3
  613. package/dist/vue/tabs.d.ts +0 -7
  614. package/dist/vue/text-field.d.ts +0 -4
  615. package/dist/vue/timepicker.d.ts +0 -4
  616. package/dist/vue/toolbar.d.ts +0 -5
  617. package/dist/vue/tooltip.d.ts +0 -4
  618. package/dist/vue/top-app-bar.d.ts +0 -4
@@ -47,30 +47,26 @@ export interface Binding {
47
47
  }
48
48
  export interface Adapter {
49
49
  tag: string;
50
- /** What to spread on the element. */
50
+
51
51
  attributes: (props: Record<string, unknown>, live: Record<string, unknown>, shadow?: string) => Record<string, unknown>;
52
- /** The named snippets, each with the slot it renders into (`headerAction` → `header-action`). */
52
+
53
53
  snippets: (props: Record<string, unknown>) => Array<[
54
54
  slot: string,
55
55
  snippet: Snippet
56
56
  ]>;
57
57
  action: Action<HTMLElement, Binding>;
58
58
  }
59
- /**
60
- * The runtime of the Svelte component for an element.
61
- * @param spec
62
- * @param define
63
- */
59
+
64
60
  export declare const adapter: (spec: ComponentSpec, define: (options?: DefineOptions) => string) => Adapter;
65
- /** The runtime of the Svelte component for a declaration child; its parent registers the tag. */
61
+
66
62
  export declare const declaration: (spec: DeclarationSpec) => {
67
63
  tag: string;
68
64
  attributes: (props: Record<string, unknown>) => Record<string, unknown>;
69
65
  };
70
- /** Installed only by `material/ssr/svelte` on `Symbol.for("mtrl.ssr")`. */
66
+
71
67
  export type SvelteShadowRenderer = (tag: string, attributes: Record<string, unknown>, children: Snippet | undefined, slots: Array<[
72
68
  slot: string,
73
69
  snippet: Snippet
74
70
  ]>, prefix: string) => string;
75
- /** The declarative shadow template for a host, or `""` in the browser, when `material/ssr/svelte` was not imported, and when the element opts out of SSR. */
71
+
76
72
  export declare const shadowMarkup: (runtime: Adapter, props: Record<string, unknown>, children: Snippet | undefined, live: Record<string, unknown>) => string;
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2022 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2022 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as utils from "../utils/color_utils.js";
18
3
  import * as math from "../utils/math_utils.js";
19
4
  export class Contrast {
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2023 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2023 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { Hct } from "../hct/hct.js";
18
3
  export class DislikeAnalyzer {
19
4
  static isDisliked(hct) {
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2025 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2025 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { DislikeAnalyzer } from "../dislike/dislike_analyzer.js";
18
3
  import { Hct } from "../hct/hct.js";
19
4
  import { ContrastCurve } from "./contrast_curve.js";
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2025 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2025 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { Hct } from "../hct/hct.js";
18
3
  import * as math from "../utils/math_utils.js";
19
4
  import { ColorSpecDelegateImpl2021 } from "./color_spec_2021.js";
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2023 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2023 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as math from "../utils/math_utils.js";
18
3
  export class ContrastCurve {
19
4
  constructor(low, normal, medium, high) {
@@ -1,4 +1,4 @@
1
- /** Registers the 2025 colour-calculation delegate; without one, every version is 2021. */
1
+
2
2
  export function registerCalculationSpec(delegate: any): void;
3
3
  /** A color that adjusts itself based on UI state provided by DynamicScheme. */
4
4
  export class DynamicColor {
@@ -63,7 +63,7 @@ export class DynamicColor {
63
63
  */
64
64
  getTone(scheme: any): any;
65
65
  }
66
- /** A delegate for the color calculation of a DynamicScheme in the 2021 spec. */
66
+
67
67
  export class ColorCalculationDelegateImpl2021 {
68
68
  getHct(scheme: any, color: any): any;
69
69
  getTone(scheme: any, color: any): any;
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2022 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2022 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { Contrast } from "../contrast/contrast.js";
18
3
  import { Hct } from "../hct/hct.js";
19
4
  import * as math from "../utils/math_utils.js";
@@ -1,4 +1,4 @@
1
- /** Registers the 2025 palette delegate; without one, every version is 2021. */
1
+
2
2
  export function registerPaletteSpec(delegate: any): void;
3
3
  /** Constructed by a set of values representing the current UI state (such as whether or not its dark theme, what the theme style is, etc.), and provides a set of TonalPalettes that can create colors that fit in with the theme style. */
4
4
  export class DynamicScheme {
@@ -99,7 +99,7 @@ export namespace DynamicScheme {
99
99
  let DEFAULT_SPEC_VERSION: string;
100
100
  let DEFAULT_PLATFORM: string;
101
101
  }
102
- /** A delegate for the palettes of a DynamicScheme in the 2021 spec. */
102
+
103
103
  export class DynamicSchemePalettesDelegateImpl2021 {
104
104
  getPrimaryPalette(variant: any, sourceColorHct: any, isDark: any, platform: any, contrastLevel: any): TonalPalette;
105
105
  getSecondaryPalette(variant: any, sourceColorHct: any, isDark: any, platform: any, contrastLevel: any): TonalPalette;
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2022 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2022 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { DislikeAnalyzer } from "../dislike/dislike_analyzer.js";
18
3
  import { Hct } from "../hct/hct.js";
19
4
  import { TonalPalette } from "../palettes/tonal_palette.js";
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2022 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2022 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { ColorSpecDelegateImpl2021 } from "./color_spec_2021.js";
18
3
  export class MaterialDynamicColors {
19
4
  constructor() {
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2025 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2025 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { Contrast } from "../contrast/contrast.js";
18
3
  import { Hct } from "../hct/hct.js";
19
4
  import { TonalPalette } from "../palettes/tonal_palette.js";
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2025 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2025 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { DynamicColor } from "./dynamic_color.js";
18
3
  function validateExtendedColor(originalColor, specVersion, extendedColor) {
19
4
  if (originalColor.name !== extendedColor.name) {
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2023 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2023 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  export class ToneDeltaPair {
18
3
  constructor(roleA, roleB, delta, polarity, stayTogether, constraint) {
19
4
  this.roleA = roleA;
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2022 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2022 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  export var Variant;
18
3
  (function (Variant) {
19
4
  Variant[Variant["MONOCHROME"] = 0] = "MONOCHROME";
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as utils from "../utils/color_utils.js";
18
3
  import * as math from "../utils/math_utils.js";
19
4
  import { ViewingConditions } from "./viewing_conditions.js";
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as utils from "../utils/color_utils.js";
18
3
  import { Cam16 } from "./cam16.js";
19
4
  import { HctSolver } from "./hct_solver.js";
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as colorUtils from "../utils/color_utils.js";
18
3
  import * as mathUtils from "../utils/math_utils.js";
19
4
  import { Cam16 } from "./cam16.js";
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as utils from "../utils/color_utils.js";
18
3
  import * as math from "../utils/math_utils.js";
19
4
  export class ViewingConditions {
@@ -1,22 +1,19 @@
1
- /** A convenience class for retrieving colors that are constant in hue and chroma, but vary in tone. */
1
+
2
2
  export class TonalPalette {
3
- /** @param argb */
3
+
4
4
  static fromInt(argb: any): TonalPalette;
5
- /** @param hct */
5
+
6
6
  static fromHct(hct: any): TonalPalette;
7
- /**
8
- * @param hue
9
- * @param chroma
10
- */
7
+
11
8
  static fromHueAndChroma(hue: any, chroma: any): TonalPalette;
12
9
  constructor(hue: any, chroma: any, keyColor: any);
13
10
  hue: any;
14
11
  chroma: any;
15
12
  keyColor: any;
16
13
  cache: Map<any, any>;
17
- /** @param tone */
14
+
18
15
  tone(tone: any): any;
19
- /** @param tone */
16
+
20
17
  getHct(tone: any): Hct;
21
18
  averageArgb(argb1: any, argb2: any): number;
22
19
  }
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { Hct } from "../hct/hct.js";
18
3
  export class TonalPalette {
19
4
  static fromInt(argb) {
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as utils from "../utils/color_utils.js";
18
3
  export class LabPointProvider {
19
4
  fromInt(argb) {
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { QuantizerWsmeans } from "./quantizer_wsmeans.js";
18
3
  import { QuantizerWu } from "./quantizer_wu.js";
19
4
  export class QuantizerCelebi {
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as utils from "../utils/color_utils.js";
18
3
  export class QuantizerMap {
19
4
  static quantize(pixels) {
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { LabPointProvider } from "./lab_point_provider.js";
18
3
  const MAX_ITERATIONS = 10;
19
4
  const MIN_MOVEMENT_DISTANCE = 3.0;
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as utils from "../utils/color_utils.js";
18
3
  import { QuantizerMap } from "./quantizer_map.js";
19
4
  const INDEX_BITS = 5;
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { Hct } from "../hct/hct.js";
18
3
  import * as math from "../utils/math_utils.js";
19
4
  const SCORE_OPTION_DEFAULTS = {
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2023 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2023 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import { Hct } from "../hct/hct.js";
18
3
  import * as colorUtils from "../utils/color_utils.js";
19
4
  import * as mathUtils from "../utils/math_utils.js";
@@ -1,19 +1,4 @@
1
- /*!
2
- * @license
3
- * Copyright 2021 Google LLC
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
1
+ /*! @license Copyright 2021 Google LLC | Apache-2.0 (see NOTICE) */
17
2
  import * as mathUtils from "./math_utils.js";
18
3
  const SRGB_TO_XYZ = [
19
4
  [0.41233895, 0.35762064, 0.18051042],