@francofantomius/material-components 1.1.2 → 1.2.0

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 (378) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +2 -1
  3. package/custom-elements.json +680 -19
  4. package/dist/chunks/{account-menu-Dau0UHTl.js → account-menu-Bo7NghIm.js} +181 -223
  5. package/dist/chunks/{account-menu-Dau0UHTl.js.map → account-menu-Bo7NghIm.js.map} +1 -1
  6. package/dist/chunks/app-drawer-DjKSuatE.js +855 -0
  7. package/dist/chunks/{app-drawer-Du1ePzxZ.js.map → app-drawer-DjKSuatE.js.map} +1 -1
  8. package/dist/chunks/{badge-G4EjcMoy.js → badge-sZzNelZz.js} +30 -34
  9. package/dist/chunks/{badge-G4EjcMoy.js.map → badge-sZzNelZz.js.map} +1 -1
  10. package/dist/chunks/{bottom-sheet-q79BBYAj.js → bottom-sheet-BGgbUmKd.js} +98 -109
  11. package/dist/chunks/{bottom-sheet-q79BBYAj.js.map → bottom-sheet-BGgbUmKd.js.map} +1 -1
  12. package/dist/chunks/{button-D2vn7kJ8.js → button-DeQQlYds.js} +62 -72
  13. package/dist/chunks/{button-D2vn7kJ8.js.map → button-DeQQlYds.js.map} +1 -1
  14. package/dist/chunks/button-group-R2jN8FXK.js +136 -0
  15. package/dist/chunks/{button-group-CNqvJx1n.js.map → button-group-R2jN8FXK.js.map} +1 -1
  16. package/dist/chunks/{card-DVffdPpv.js → card-CVhWizDF.js} +45 -50
  17. package/dist/chunks/{card-DVffdPpv.js.map → card-CVhWizDF.js.map} +1 -1
  18. package/dist/chunks/{carousel-item-BG6kjjjk.js → carousel-item-DNp2zhP9.js} +62 -73
  19. package/dist/chunks/{carousel-item-BG6kjjjk.js.map → carousel-item-DNp2zhP9.js.map} +1 -1
  20. package/dist/chunks/{checkbox-BqlboAHd.js → checkbox-CsqUHVOF.js} +59 -64
  21. package/dist/chunks/{checkbox-BqlboAHd.js.map → checkbox-CsqUHVOF.js.map} +1 -1
  22. package/dist/chunks/{chip-CI1ZINnr.js → chip-B5c-I8bj.js} +56 -63
  23. package/dist/chunks/{chip-CI1ZINnr.js.map → chip-B5c-I8bj.js.map} +1 -1
  24. package/dist/chunks/code-CM6hIZNx.js +1531 -0
  25. package/dist/chunks/{code-C5UFBkCh.js.map → code-CM6hIZNx.js.map} +1 -1
  26. package/dist/chunks/date-picker-B15_rR0f.js +774 -0
  27. package/dist/chunks/date-picker-B15_rR0f.js.map +1 -0
  28. package/dist/chunks/decorate-DknOJ8FJ.js +40 -0
  29. package/dist/chunks/{decorate-DXuynaiA.js.map → decorate-DknOJ8FJ.js.map} +1 -1
  30. package/dist/chunks/{dialog-DGVEE5m_.js → dialog-Czknf8dl.js} +47 -52
  31. package/dist/chunks/{dialog-DGVEE5m_.js.map → dialog-Czknf8dl.js.map} +1 -1
  32. package/dist/chunks/divider-DIyCOosa.js +78 -0
  33. package/dist/chunks/{divider-DNepwoZv.js.map → divider-DIyCOosa.js.map} +1 -1
  34. package/dist/chunks/{fab-C9j3WBHE.js → fab-aZC0-lHo.js} +38 -44
  35. package/dist/chunks/{fab-C9j3WBHE.js.map → fab-aZC0-lHo.js.map} +1 -1
  36. package/dist/chunks/{fab-menu.css-3pu930sZ.js → fab-menu.css-BdVg1k4c.js} +5 -6
  37. package/dist/chunks/{fab-menu.css-3pu930sZ.js.map → fab-menu.css-BdVg1k4c.js.map} +1 -1
  38. package/dist/chunks/focus-ring-K6SY_mIm.js +69 -0
  39. package/dist/chunks/{focus-ring-CuiJuM-y.js.map → focus-ring-K6SY_mIm.js.map} +1 -1
  40. package/dist/chunks/form-associated-Do5uXckv.js +69 -0
  41. package/dist/chunks/{form-associated-Cty_ZaS9.js.map → form-associated-Do5uXckv.js.map} +1 -1
  42. package/dist/chunks/icon-FvKeXi61.js +59 -0
  43. package/dist/chunks/{icon-DrNqcNEL.js.map → icon-FvKeXi61.js.map} +1 -1
  44. package/dist/chunks/{icon-button-BQz73GLa.js → icon-button-CulnCZpZ.js} +58 -67
  45. package/dist/chunks/{icon-button-BQz73GLa.js.map → icon-button-CulnCZpZ.js.map} +1 -1
  46. package/dist/chunks/{list-D8olR7oZ.js → list-D7yrbJRL.js} +64 -72
  47. package/dist/chunks/{list-D8olR7oZ.js.map → list-D7yrbJRL.js.map} +1 -1
  48. package/dist/chunks/{loading-indicator-CvWnZr9o.js → loading-indicator-D9AyxNQh.js} +41 -46
  49. package/dist/chunks/{loading-indicator-CvWnZr9o.js.map → loading-indicator-D9AyxNQh.js.map} +1 -1
  50. package/dist/chunks/{menu-item-BBSp5Cqc.js → menu-item-C3entPo7.js} +77 -91
  51. package/dist/chunks/{menu-item-BBSp5Cqc.js.map → menu-item-C3entPo7.js.map} +1 -1
  52. package/dist/chunks/{navigation-bar-item-C9DfOEzg.js → navigation-bar-item-CWHCQeNw.js} +98 -115
  53. package/dist/chunks/{navigation-bar-item-C9DfOEzg.js.map → navigation-bar-item-CWHCQeNw.js.map} +1 -1
  54. package/dist/chunks/{navigation-drawer-CKl44Ef5.js → navigation-drawer-pGer0t4z.js} +116 -138
  55. package/dist/chunks/{navigation-drawer-CKl44Ef5.js.map → navigation-drawer-pGer0t4z.js.map} +1 -1
  56. package/dist/chunks/{navigation-rail-item-6pdhNHJK.js → navigation-rail-item-CWvGjLjC.js} +70 -86
  57. package/dist/chunks/{navigation-rail-item-6pdhNHJK.js.map → navigation-rail-item-CWvGjLjC.js.map} +1 -1
  58. package/dist/chunks/{player-C4ydiIpr.js → player-dT08kxeG.js} +423 -466
  59. package/dist/chunks/{player-C4ydiIpr.js.map → player-dT08kxeG.js.map} +1 -1
  60. package/dist/chunks/{progress-LQmLMDjX.js → progress-etZuX_VD.js} +46 -53
  61. package/dist/chunks/{progress-LQmLMDjX.js.map → progress-etZuX_VD.js.map} +1 -1
  62. package/dist/chunks/radio-jPCwykIa.js +197 -0
  63. package/dist/chunks/{radio-Bily78NT.js.map → radio-jPCwykIa.js.map} +1 -1
  64. package/dist/chunks/ripple-CBOKeVfm.js +132 -0
  65. package/dist/chunks/{ripple-squbKHhj.js.map → ripple-CBOKeVfm.js.map} +1 -1
  66. package/dist/chunks/{search-bar-CfN-emMP.js → search-bar-B6xxVT7u.js} +167 -185
  67. package/dist/chunks/{search-bar-CfN-emMP.js.map → search-bar-B6xxVT7u.js.map} +1 -1
  68. package/dist/chunks/segmented-button-Fon9kOHV.js +253 -0
  69. package/dist/chunks/{segmented-button-B0BvGSQ7.js.map → segmented-button-Fon9kOHV.js.map} +1 -1
  70. package/dist/chunks/{side-sheet-S2w081AK.js → side-sheet-sQ8qGKVm.js} +73 -81
  71. package/dist/chunks/{side-sheet-S2w081AK.js.map → side-sheet-sQ8qGKVm.js.map} +1 -1
  72. package/dist/chunks/slider-OIyEcUU9.js +448 -0
  73. package/dist/chunks/slider-OIyEcUU9.js.map +1 -0
  74. package/dist/chunks/{snackbar-Wsz3BzEY.js → snackbar-Yi6fF9vM.js} +57 -62
  75. package/dist/chunks/{snackbar-Wsz3BzEY.js.map → snackbar-Yi6fF9vM.js.map} +1 -1
  76. package/dist/chunks/{split-button-DUfjukQY.js → split-button-CLjVJe3I.js} +155 -172
  77. package/dist/chunks/{split-button-DUfjukQY.js.map → split-button-CLjVJe3I.js.map} +1 -1
  78. package/dist/chunks/{switch-DdukrvXb.js → switch-mtu6AVEh.js} +54 -57
  79. package/dist/chunks/{switch-DdukrvXb.js.map → switch-mtu6AVEh.js.map} +1 -1
  80. package/dist/chunks/table-C5rCvdFc.js +724 -0
  81. package/dist/chunks/{table-CqHnneAj.js.map → table-C5rCvdFc.js.map} +1 -1
  82. package/dist/chunks/tabs-C0mtURlT.js +182 -0
  83. package/dist/chunks/{tabs-BfOtoeir.js.map → tabs-C0mtURlT.js.map} +1 -1
  84. package/dist/chunks/{text-field-hN6-2HQy.js → text-field-MifFD7uk.js} +92 -110
  85. package/dist/chunks/{text-field-hN6-2HQy.js.map → text-field-MifFD7uk.js.map} +1 -1
  86. package/dist/chunks/time-picker-JTcLcJuz.js +810 -0
  87. package/dist/chunks/time-picker-JTcLcJuz.js.map +1 -0
  88. package/dist/chunks/{toolbar-DXVQbQKJ.js → toolbar-CsxKc2Yd.js} +48 -55
  89. package/dist/chunks/{toolbar-DXVQbQKJ.js.map → toolbar-CsxKc2Yd.js.map} +1 -1
  90. package/dist/chunks/tooltip-Ds3lNowS.js +380 -0
  91. package/dist/chunks/{tooltip-CE7JMHMu.js.map → tooltip-Ds3lNowS.js.map} +1 -1
  92. package/dist/chunks/{top-app-bar-VzrSd-r5.js → top-app-bar-TrnjKzOX.js} +46 -53
  93. package/dist/chunks/{top-app-bar-VzrSd-r5.js.map → top-app-bar-TrnjKzOX.js.map} +1 -1
  94. package/dist/components/account-menu/account-menu.js +2 -8
  95. package/dist/components/app-drawer/app-drawer.js +2 -9
  96. package/dist/components/badge/badge.js +2 -4
  97. package/dist/components/bottom-sheet/bottom-sheet.js +2 -4
  98. package/dist/components/button/button.js +2 -4
  99. package/dist/components/button-group/button-group.js +2 -4
  100. package/dist/components/card/card.js +2 -4
  101. package/dist/components/carousel/carousel-item.js +2 -4
  102. package/dist/components/carousel/carousel.js +214 -232
  103. package/dist/components/carousel/carousel.js.map +1 -1
  104. package/dist/components/checkbox/checkbox.js +2 -4
  105. package/dist/components/chip/chip.js +2 -5
  106. package/dist/components/code/code.js +2 -5
  107. package/dist/components/date-picker/date-picker.js +2 -4
  108. package/dist/components/dialog/dialog.js +2 -4
  109. package/dist/components/divider/divider.js +2 -4
  110. package/dist/components/fab/fab.js +2 -4
  111. package/dist/components/fab-menu/fab-menu-item.js +53 -61
  112. package/dist/components/fab-menu/fab-menu-item.js.map +1 -1
  113. package/dist/components/fab-menu/fab-menu.js +98 -111
  114. package/dist/components/fab-menu/fab-menu.js.map +1 -1
  115. package/dist/components/icon/icon.js +2 -4
  116. package/dist/components/icon-button/icon-button.js +2 -4
  117. package/dist/components/list/list.js +2 -5
  118. package/dist/components/loading-indicator/loading-indicator.js +2 -4
  119. package/dist/components/menu/menu-item.js +2 -4
  120. package/dist/components/menu/menu.js +165 -183
  121. package/dist/components/menu/menu.js.map +1 -1
  122. package/dist/components/navigation-bar/navigation-bar-item.js +2 -5
  123. package/dist/components/navigation-bar/navigation-bar.js +131 -143
  124. package/dist/components/navigation-bar/navigation-bar.js.map +1 -1
  125. package/dist/components/navigation-drawer/navigation-drawer.js +2 -8
  126. package/dist/components/navigation-rail/navigation-rail-item.js +2 -5
  127. package/dist/components/navigation-rail/navigation-rail.js +92 -102
  128. package/dist/components/navigation-rail/navigation-rail.js.map +1 -1
  129. package/dist/components/player/player.js +2 -7
  130. package/dist/components/progress/progress.js +2 -5
  131. package/dist/components/radio/radio.js +2 -5
  132. package/dist/components/search-bar/search-bar.js +2 -5
  133. package/dist/components/segmented-button/segmented-button.js +2 -5
  134. package/dist/components/side-sheet/side-sheet.js +2 -4
  135. package/dist/components/slider/slider.js +2 -4
  136. package/dist/components/snackbar/snackbar.js +2 -4
  137. package/dist/components/split-button/split-button.js +2 -4
  138. package/dist/components/switch/switch.js +2 -4
  139. package/dist/components/table/table.js +2 -13
  140. package/dist/components/tabs/tabs.js +2 -5
  141. package/dist/components/text-field/text-field.js +2 -4
  142. package/dist/components/time-picker/time-picker.js +2 -4
  143. package/dist/components/toolbar/toolbar.js +2 -4
  144. package/dist/components/tooltip/tooltip.js +2 -4
  145. package/dist/components/top-app-bar/top-app-bar.js +2 -5
  146. package/dist/index.js +52 -150
  147. package/dist/internal/focus-ring/focus-ring.js +2 -4
  148. package/dist/internal/ripple/ripple.js +2 -4
  149. package/dist/tokens/index.js +468 -314
  150. package/dist/tokens/index.js.map +1 -1
  151. package/llms.txt +72 -8
  152. package/package.json +2 -14
  153. package/dist/chunks/app-drawer-Du1ePzxZ.js +0 -903
  154. package/dist/chunks/button-group-CNqvJx1n.js +0 -143
  155. package/dist/chunks/code-C5UFBkCh.js +0 -1830
  156. package/dist/chunks/date-picker-DJeHi4w-.js +0 -777
  157. package/dist/chunks/date-picker-DJeHi4w-.js.map +0 -1
  158. package/dist/chunks/decorate-DXuynaiA.js +0 -39
  159. package/dist/chunks/divider-DNepwoZv.js +0 -82
  160. package/dist/chunks/focus-ring-CuiJuM-y.js +0 -71
  161. package/dist/chunks/form-associated-Cty_ZaS9.js +0 -73
  162. package/dist/chunks/icon-DrNqcNEL.js +0 -62
  163. package/dist/chunks/radio-Bily78NT.js +0 -205
  164. package/dist/chunks/ripple-squbKHhj.js +0 -135
  165. package/dist/chunks/segmented-button-B0BvGSQ7.js +0 -265
  166. package/dist/chunks/slider-D-mnO8yQ.js +0 -450
  167. package/dist/chunks/slider-D-mnO8yQ.js.map +0 -1
  168. package/dist/chunks/table-CqHnneAj.js +0 -773
  169. package/dist/chunks/tabs-BfOtoeir.js +0 -191
  170. package/dist/chunks/time-picker-CZnb2sWz.js +0 -785
  171. package/dist/chunks/time-picker-CZnb2sWz.js.map +0 -1
  172. package/dist/chunks/tooltip-CE7JMHMu.js +0 -398
  173. package/dist/components/account-menu/account-menu.css.d.ts +0 -3
  174. package/dist/components/account-menu/account-menu.css.d.ts.map +0 -1
  175. package/dist/components/account-menu/account-menu.d.ts +0 -111
  176. package/dist/components/account-menu/account-menu.d.ts.map +0 -1
  177. package/dist/components/app-drawer/app-drawer.css.d.ts +0 -3
  178. package/dist/components/app-drawer/app-drawer.css.d.ts.map +0 -1
  179. package/dist/components/app-drawer/app-drawer.d.ts +0 -173
  180. package/dist/components/app-drawer/app-drawer.d.ts.map +0 -1
  181. package/dist/components/badge/badge.css.d.ts +0 -2
  182. package/dist/components/badge/badge.css.d.ts.map +0 -1
  183. package/dist/components/badge/badge.d.ts +0 -16
  184. package/dist/components/badge/badge.d.ts.map +0 -1
  185. package/dist/components/bottom-sheet/bottom-sheet.css.d.ts +0 -2
  186. package/dist/components/bottom-sheet/bottom-sheet.css.d.ts.map +0 -1
  187. package/dist/components/bottom-sheet/bottom-sheet.d.ts +0 -69
  188. package/dist/components/bottom-sheet/bottom-sheet.d.ts.map +0 -1
  189. package/dist/components/button/button.css.d.ts +0 -2
  190. package/dist/components/button/button.css.d.ts.map +0 -1
  191. package/dist/components/button/button.d.ts +0 -25
  192. package/dist/components/button/button.d.ts.map +0 -1
  193. package/dist/components/button-group/button-group.css.d.ts +0 -2
  194. package/dist/components/button-group/button-group.css.d.ts.map +0 -1
  195. package/dist/components/button-group/button-group.d.ts +0 -28
  196. package/dist/components/button-group/button-group.d.ts.map +0 -1
  197. package/dist/components/card/card.css.d.ts +0 -2
  198. package/dist/components/card/card.css.d.ts.map +0 -1
  199. package/dist/components/card/card.d.ts +0 -18
  200. package/dist/components/card/card.d.ts.map +0 -1
  201. package/dist/components/carousel/carousel-item.d.ts +0 -33
  202. package/dist/components/carousel/carousel-item.d.ts.map +0 -1
  203. package/dist/components/carousel/carousel.css.d.ts +0 -3
  204. package/dist/components/carousel/carousel.css.d.ts.map +0 -1
  205. package/dist/components/carousel/carousel.d.ts +0 -81
  206. package/dist/components/carousel/carousel.d.ts.map +0 -1
  207. package/dist/components/checkbox/checkbox.css.d.ts +0 -2
  208. package/dist/components/checkbox/checkbox.css.d.ts.map +0 -1
  209. package/dist/components/checkbox/checkbox.d.ts +0 -24
  210. package/dist/components/checkbox/checkbox.d.ts.map +0 -1
  211. package/dist/components/chip/chip.css.d.ts +0 -3
  212. package/dist/components/chip/chip.css.d.ts.map +0 -1
  213. package/dist/components/chip/chip.d.ts +0 -27
  214. package/dist/components/chip/chip.d.ts.map +0 -1
  215. package/dist/components/code/code.css.d.ts +0 -2
  216. package/dist/components/code/code.css.d.ts.map +0 -1
  217. package/dist/components/code/code.d.ts +0 -106
  218. package/dist/components/code/code.d.ts.map +0 -1
  219. package/dist/components/code/highlighter.d.ts +0 -8
  220. package/dist/components/code/highlighter.d.ts.map +0 -1
  221. package/dist/components/code/linter.d.ts +0 -44
  222. package/dist/components/code/linter.d.ts.map +0 -1
  223. package/dist/components/date-picker/date-picker.css.d.ts +0 -2
  224. package/dist/components/date-picker/date-picker.css.d.ts.map +0 -1
  225. package/dist/components/date-picker/date-picker.d.ts +0 -59
  226. package/dist/components/date-picker/date-picker.d.ts.map +0 -1
  227. package/dist/components/dialog/dialog.css.d.ts +0 -2
  228. package/dist/components/dialog/dialog.css.d.ts.map +0 -1
  229. package/dist/components/dialog/dialog.d.ts +0 -22
  230. package/dist/components/dialog/dialog.d.ts.map +0 -1
  231. package/dist/components/divider/divider.css.d.ts +0 -2
  232. package/dist/components/divider/divider.css.d.ts.map +0 -1
  233. package/dist/components/divider/divider.d.ts +0 -16
  234. package/dist/components/divider/divider.d.ts.map +0 -1
  235. package/dist/components/fab/fab.css.d.ts +0 -2
  236. package/dist/components/fab/fab.css.d.ts.map +0 -1
  237. package/dist/components/fab/fab.d.ts +0 -19
  238. package/dist/components/fab/fab.d.ts.map +0 -1
  239. package/dist/components/fab-menu/fab-menu-item.d.ts +0 -35
  240. package/dist/components/fab-menu/fab-menu-item.d.ts.map +0 -1
  241. package/dist/components/fab-menu/fab-menu.css.d.ts +0 -3
  242. package/dist/components/fab-menu/fab-menu.css.d.ts.map +0 -1
  243. package/dist/components/fab-menu/fab-menu.d.ts +0 -72
  244. package/dist/components/fab-menu/fab-menu.d.ts.map +0 -1
  245. package/dist/components/icon/icon.css.d.ts +0 -2
  246. package/dist/components/icon/icon.css.d.ts.map +0 -1
  247. package/dist/components/icon/icon.d.ts +0 -15
  248. package/dist/components/icon/icon.d.ts.map +0 -1
  249. package/dist/components/icon-button/icon-button.css.d.ts +0 -2
  250. package/dist/components/icon-button/icon-button.css.d.ts.map +0 -1
  251. package/dist/components/icon-button/icon-button.d.ts +0 -22
  252. package/dist/components/icon-button/icon-button.d.ts.map +0 -1
  253. package/dist/components/list/list.css.d.ts +0 -3
  254. package/dist/components/list/list.css.d.ts.map +0 -1
  255. package/dist/components/list/list.d.ts +0 -25
  256. package/dist/components/list/list.d.ts.map +0 -1
  257. package/dist/components/loading-indicator/loading-indicator.css.d.ts +0 -2
  258. package/dist/components/loading-indicator/loading-indicator.css.d.ts.map +0 -1
  259. package/dist/components/loading-indicator/loading-indicator.d.ts +0 -48
  260. package/dist/components/loading-indicator/loading-indicator.d.ts.map +0 -1
  261. package/dist/components/menu/menu-item.d.ts +0 -41
  262. package/dist/components/menu/menu-item.d.ts.map +0 -1
  263. package/dist/components/menu/menu.css.d.ts +0 -3
  264. package/dist/components/menu/menu.css.d.ts.map +0 -1
  265. package/dist/components/menu/menu.d.ts +0 -91
  266. package/dist/components/menu/menu.d.ts.map +0 -1
  267. package/dist/components/navigation-bar/navigation-bar-item.d.ts +0 -49
  268. package/dist/components/navigation-bar/navigation-bar-item.d.ts.map +0 -1
  269. package/dist/components/navigation-bar/navigation-bar.css.d.ts +0 -3
  270. package/dist/components/navigation-bar/navigation-bar.css.d.ts.map +0 -1
  271. package/dist/components/navigation-bar/navigation-bar.d.ts +0 -50
  272. package/dist/components/navigation-bar/navigation-bar.d.ts.map +0 -1
  273. package/dist/components/navigation-drawer/navigation-drawer.css.d.ts +0 -3
  274. package/dist/components/navigation-drawer/navigation-drawer.css.d.ts.map +0 -1
  275. package/dist/components/navigation-drawer/navigation-drawer.d.ts +0 -76
  276. package/dist/components/navigation-drawer/navigation-drawer.d.ts.map +0 -1
  277. package/dist/components/navigation-rail/navigation-rail-item.d.ts +0 -36
  278. package/dist/components/navigation-rail/navigation-rail-item.d.ts.map +0 -1
  279. package/dist/components/navigation-rail/navigation-rail.css.d.ts +0 -3
  280. package/dist/components/navigation-rail/navigation-rail.css.d.ts.map +0 -1
  281. package/dist/components/navigation-rail/navigation-rail.d.ts +0 -43
  282. package/dist/components/navigation-rail/navigation-rail.d.ts.map +0 -1
  283. package/dist/components/player/player.css.d.ts +0 -2
  284. package/dist/components/player/player.css.d.ts.map +0 -1
  285. package/dist/components/player/player.d.ts +0 -99
  286. package/dist/components/player/player.d.ts.map +0 -1
  287. package/dist/components/progress/progress.css.d.ts +0 -2
  288. package/dist/components/progress/progress.css.d.ts.map +0 -1
  289. package/dist/components/progress/progress.d.ts +0 -21
  290. package/dist/components/progress/progress.d.ts.map +0 -1
  291. package/dist/components/radio/radio.css.d.ts +0 -3
  292. package/dist/components/radio/radio.css.d.ts.map +0 -1
  293. package/dist/components/radio/radio.d.ts +0 -38
  294. package/dist/components/radio/radio.d.ts.map +0 -1
  295. package/dist/components/search-bar/search-bar.css.d.ts +0 -2
  296. package/dist/components/search-bar/search-bar.css.d.ts.map +0 -1
  297. package/dist/components/search-bar/search-bar.d.ts +0 -84
  298. package/dist/components/search-bar/search-bar.d.ts.map +0 -1
  299. package/dist/components/segmented-button/segmented-button.css.d.ts +0 -3
  300. package/dist/components/segmented-button/segmented-button.css.d.ts.map +0 -1
  301. package/dist/components/segmented-button/segmented-button.d.ts +0 -40
  302. package/dist/components/segmented-button/segmented-button.d.ts.map +0 -1
  303. package/dist/components/side-sheet/side-sheet.css.d.ts +0 -2
  304. package/dist/components/side-sheet/side-sheet.css.d.ts.map +0 -1
  305. package/dist/components/side-sheet/side-sheet.d.ts +0 -57
  306. package/dist/components/side-sheet/side-sheet.d.ts.map +0 -1
  307. package/dist/components/slider/slider.css.d.ts +0 -2
  308. package/dist/components/slider/slider.css.d.ts.map +0 -1
  309. package/dist/components/slider/slider.d.ts +0 -51
  310. package/dist/components/slider/slider.d.ts.map +0 -1
  311. package/dist/components/snackbar/snackbar.css.d.ts +0 -2
  312. package/dist/components/snackbar/snackbar.css.d.ts.map +0 -1
  313. package/dist/components/snackbar/snackbar.d.ts +0 -24
  314. package/dist/components/snackbar/snackbar.d.ts.map +0 -1
  315. package/dist/components/split-button/split-button.css.d.ts +0 -2
  316. package/dist/components/split-button/split-button.css.d.ts.map +0 -1
  317. package/dist/components/split-button/split-button.d.ts +0 -89
  318. package/dist/components/split-button/split-button.d.ts.map +0 -1
  319. package/dist/components/switch/switch.css.d.ts +0 -2
  320. package/dist/components/switch/switch.css.d.ts.map +0 -1
  321. package/dist/components/switch/switch.d.ts +0 -22
  322. package/dist/components/switch/switch.d.ts.map +0 -1
  323. package/dist/components/table/table.css.d.ts +0 -8
  324. package/dist/components/table/table.css.d.ts.map +0 -1
  325. package/dist/components/table/table.d.ts +0 -158
  326. package/dist/components/table/table.d.ts.map +0 -1
  327. package/dist/components/tabs/tabs.css.d.ts +0 -3
  328. package/dist/components/tabs/tabs.css.d.ts.map +0 -1
  329. package/dist/components/tabs/tabs.d.ts +0 -33
  330. package/dist/components/tabs/tabs.d.ts.map +0 -1
  331. package/dist/components/text-field/text-field.css.d.ts +0 -2
  332. package/dist/components/text-field/text-field.css.d.ts.map +0 -1
  333. package/dist/components/text-field/text-field.d.ts +0 -40
  334. package/dist/components/text-field/text-field.d.ts.map +0 -1
  335. package/dist/components/time-picker/time-picker.css.d.ts +0 -2
  336. package/dist/components/time-picker/time-picker.css.d.ts.map +0 -1
  337. package/dist/components/time-picker/time-picker.d.ts +0 -87
  338. package/dist/components/time-picker/time-picker.d.ts.map +0 -1
  339. package/dist/components/toolbar/toolbar.css.d.ts +0 -2
  340. package/dist/components/toolbar/toolbar.css.d.ts.map +0 -1
  341. package/dist/components/toolbar/toolbar.d.ts +0 -53
  342. package/dist/components/toolbar/toolbar.d.ts.map +0 -1
  343. package/dist/components/tooltip/tooltip.css.d.ts +0 -2
  344. package/dist/components/tooltip/tooltip.css.d.ts.map +0 -1
  345. package/dist/components/tooltip/tooltip.d.ts +0 -89
  346. package/dist/components/tooltip/tooltip.d.ts.map +0 -1
  347. package/dist/components/top-app-bar/top-app-bar.css.d.ts +0 -2
  348. package/dist/components/top-app-bar/top-app-bar.css.d.ts.map +0 -1
  349. package/dist/components/top-app-bar/top-app-bar.d.ts +0 -29
  350. package/dist/components/top-app-bar/top-app-bar.d.ts.map +0 -1
  351. package/dist/index.d.ts +0 -52
  352. package/dist/index.d.ts.map +0 -1
  353. package/dist/internal/base-component.d.ts +0 -13
  354. package/dist/internal/base-component.d.ts.map +0 -1
  355. package/dist/internal/focus-ring/focus-ring.css.d.ts +0 -2
  356. package/dist/internal/focus-ring/focus-ring.css.d.ts.map +0 -1
  357. package/dist/internal/focus-ring/focus-ring.d.ts +0 -18
  358. package/dist/internal/focus-ring/focus-ring.d.ts.map +0 -1
  359. package/dist/internal/form-associated.d.ts +0 -26
  360. package/dist/internal/form-associated.d.ts.map +0 -1
  361. package/dist/internal/ripple/ripple.css.d.ts +0 -2
  362. package/dist/internal/ripple/ripple.css.d.ts.map +0 -1
  363. package/dist/internal/ripple/ripple.d.ts +0 -23
  364. package/dist/internal/ripple/ripple.d.ts.map +0 -1
  365. package/dist/tokens/colors.d.ts +0 -42
  366. package/dist/tokens/colors.d.ts.map +0 -1
  367. package/dist/tokens/elevation.d.ts +0 -9
  368. package/dist/tokens/elevation.d.ts.map +0 -1
  369. package/dist/tokens/index.d.ts +0 -7
  370. package/dist/tokens/index.d.ts.map +0 -1
  371. package/dist/tokens/motion.d.ts +0 -21
  372. package/dist/tokens/motion.d.ts.map +0 -1
  373. package/dist/tokens/shape.d.ts +0 -10
  374. package/dist/tokens/shape.d.ts.map +0 -1
  375. package/dist/tokens/theme.css.d.ts +0 -4
  376. package/dist/tokens/theme.css.d.ts.map +0 -1
  377. package/dist/tokens/typography.d.ts +0 -101
  378. package/dist/tokens/typography.d.ts.map +0 -1
@@ -1,135 +0,0 @@
1
- import { n as l, t as n } from "./decorate-DXuynaiA.js";
2
- import { css as m, html as y } from "lit";
3
- import { customElement as v, property as p, state as b } from "lit/decorators.js";
4
- var w = m`
5
- :host {
6
- display: inline-flex;
7
- position: absolute;
8
- inset: 0;
9
- overflow: hidden;
10
- border-radius: inherit;
11
- pointer-events: none;
12
- -webkit-tap-highlight-color: transparent;
13
- }
14
-
15
- :host([unbounded]) {
16
- overflow: hidden;
17
- border-radius: inherit;
18
- }
19
-
20
- :host([disabled]) {
21
- opacity: 0;
22
- }
23
-
24
- .surface-container {
25
- position: absolute;
26
- inset: 0;
27
- border-radius: inherit;
28
- overflow: hidden;
29
- }
30
-
31
- .surface {
32
- position: absolute;
33
- inset: 0;
34
- border-radius: inherit;
35
- background-color: currentColor;
36
- opacity: 0;
37
- }
38
-
39
- :host(:focus-visible) .surface,
40
- .surface.focused {
41
- opacity: var(--md-sys-state-focus-opacity, 0.12);
42
- }
43
-
44
- .ripple {
45
- position: absolute;
46
- border-radius: 50%;
47
- background-color: currentColor;
48
- opacity: var(--md-sys-state-pressed-opacity, 0.12);
49
- transform: scale(0);
50
- pointer-events: none;
51
- animation: md-ripple-expand 300ms cubic-bezier(0.2, 0, 0, 1) forwards;
52
- }
53
-
54
- .ripple.fading {
55
- animation: md-ripple-fade-out 250ms linear forwards;
56
- }
57
-
58
- @keyframes md-ripple-expand {
59
- from {
60
- transform: scale(0);
61
- opacity: var(--md-sys-state-pressed-opacity, 0.12);
62
- }
63
- to {
64
- transform: scale(1);
65
- opacity: var(--md-sys-state-pressed-opacity, 0.12);
66
- }
67
- }
68
-
69
- @keyframes md-ripple-fade-out {
70
- from {
71
- opacity: var(--md-sys-state-pressed-opacity, 0.12);
72
- }
73
- to {
74
- opacity: 0;
75
- }
76
- }
77
- `, o = class extends l {
78
- constructor(...r) {
79
- super(...r), this.unbounded = !1, this.disabled = !1, this.isFocused = !1, this.ripples = [], this.control = null, this.handleFocusIn = () => {
80
- this.disabled || (this.isFocused = !0);
81
- }, this.handleFocusOut = () => {
82
- this.isFocused = !1;
83
- }, this.handlePointerDown = (t) => {
84
- if (this.disabled || t.button !== 0) return;
85
- const s = this.getBoundingClientRect(), a = Math.max(s.width, s.height) * 2, d = a / 2, u = this.unbounded || !t.clientX ? s.width / 2 : t.clientX - s.left, h = this.unbounded || !t.clientY ? s.height / 2 : t.clientY - s.top, e = document.createElement("div");
86
- e.className = "ripple", e.style.width = `${a}px`, e.style.height = `${a}px`, e.style.left = `${u - d}px`, e.style.top = `${h - d}px`;
87
- const c = this.shadowRoot?.querySelector(".surface-container");
88
- c && (c.appendChild(e), this.ripples.push(e));
89
- const i = () => {
90
- e.classList.add("fading"), setTimeout(() => {
91
- e.remove(), this.ripples = this.ripples.filter((f) => f !== e);
92
- }, 250), window.removeEventListener("pointerup", i), window.removeEventListener("pointercancel", i);
93
- };
94
- window.addEventListener("pointerup", i), window.addEventListener("pointercancel", i);
95
- };
96
- }
97
- static {
98
- this.styles = [l.styles, w];
99
- }
100
- connectedCallback() {
101
- super.connectedCallback(), this.setupControl();
102
- }
103
- disconnectedCallback() {
104
- super.disconnectedCallback(), this.cleanupControl();
105
- }
106
- setupControl() {
107
- const r = this.parentElement, t = this.getRootNode()?.host;
108
- this.control = r || t, this.control && (this.control.addEventListener("pointerdown", this.handlePointerDown), this.control.addEventListener("focusin", this.handleFocusIn), this.control.addEventListener("focusout", this.handleFocusOut));
109
- }
110
- cleanupControl() {
111
- this.control && (this.control.removeEventListener("pointerdown", this.handlePointerDown), this.control.removeEventListener("focusin", this.handleFocusIn), this.control.removeEventListener("focusout", this.handleFocusOut));
112
- }
113
- render() {
114
- return y`
115
- <div class="surface-container">
116
- <div class="surface ${this.isFocused ? "focused" : ""}"></div>
117
- </div>
118
- `;
119
- }
120
- };
121
- n([p({
122
- type: Boolean,
123
- reflect: !0
124
- })], o.prototype, "unbounded", void 0);
125
- n([p({
126
- type: Boolean,
127
- reflect: !0
128
- })], o.prototype, "disabled", void 0);
129
- n([b()], o.prototype, "isFocused", void 0);
130
- o = n([v("md-ripple")], o);
131
- export {
132
- o as t
133
- };
134
-
135
- //# sourceMappingURL=ripple-squbKHhj.js.map
@@ -1,265 +0,0 @@
1
- import { n as u, t as o } from "./decorate-DXuynaiA.js";
2
- import "./ripple-squbKHhj.js";
3
- import "./focus-ring-CuiJuM-y.js";
4
- import "./icon-DrNqcNEL.js";
5
- import { css as m, html as c, nothing as g } from "lit";
6
- import { customElement as b, property as r, queryAssignedElements as f } from "lit/decorators.js";
7
- var k = m`
8
- :host {
9
- display: inline-flex;
10
- align-items: center;
11
- justify-content: center;
12
- position: relative;
13
- box-sizing: border-box;
14
- height: 40px;
15
- min-height: 40px;
16
- padding: 0 16px;
17
- background-color: transparent;
18
- color: var(--md-sys-color-on-surface, #1D1B20);
19
- font-family: var(--md-sys-typescale-font-family, inherit);
20
- font-size: var(--md-sys-typescale-label-large-size, 14px);
21
- font-weight: 500;
22
- line-height: 20px;
23
- letter-spacing: 0.1px;
24
- cursor: pointer;
25
- user-select: none;
26
- outline: none;
27
- text-decoration: none;
28
- -webkit-tap-highlight-color: transparent;
29
- transition: background-color 150ms cubic-bezier(0.2, 0, 0, 1),
30
- color 150ms cubic-bezier(0.2, 0, 0, 1);
31
- }
32
-
33
- :host([selected]) {
34
- background-color: var(--md-sys-color-secondary-container, #E8DEF8);
35
- color: var(--md-sys-color-on-secondary-container, #1D192B);
36
- }
37
-
38
- :host(:hover:not([disabled])) {
39
- background-color: rgba(29, 27, 32, 0.08);
40
- }
41
-
42
- :host([selected]:hover:not([disabled])) {
43
- background-color: color-mix(in srgb, var(--md-sys-color-secondary-container, #E8DEF8) 90%, #1D192B 10%);
44
- }
45
-
46
- :host([disabled]) {
47
- pointer-events: none;
48
- opacity: 0.38;
49
- cursor: not-allowed;
50
- }
51
-
52
- .button {
53
- display: inline-flex;
54
- align-items: center;
55
- justify-content: center;
56
- width: 100%;
57
- height: 100%;
58
- gap: 8px;
59
- position: relative;
60
- }
61
-
62
- .icon {
63
- display: inline-flex;
64
- align-items: center;
65
- justify-content: center;
66
- font-size: 18px;
67
- --md-icon-size: 18px;
68
- }
69
-
70
- .checkmark-icon {
71
- display: inline-flex;
72
- align-items: center;
73
- justify-content: center;
74
- animation: checkmark-pop 150ms cubic-bezier(0.2, 0, 0, 1);
75
- }
76
-
77
- @keyframes checkmark-pop {
78
- 0% {
79
- transform: scale(0.6);
80
- opacity: 0;
81
- }
82
- 100% {
83
- transform: scale(1);
84
- opacity: 1;
85
- }
86
- }
87
-
88
- .label {
89
- display: inline-flex;
90
- align-items: center;
91
- white-space: nowrap;
92
- text-overflow: ellipsis;
93
- }
94
- `, v = m`
95
- :host {
96
- display: inline-flex;
97
- align-items: stretch;
98
- position: relative;
99
- border-radius: var(--md-sys-shape-corner-full, 9999px);
100
- border: 1px solid var(--md-sys-color-outline, #79747E);
101
- background-color: transparent;
102
- overflow: hidden;
103
- box-sizing: border-box;
104
- vertical-align: middle;
105
- }
106
-
107
- :host([disabled]) {
108
- pointer-events: none;
109
- opacity: 0.38;
110
- }
111
-
112
- ::slotted(md-segmented-button:not(:first-child)) {
113
- border-left: 1px solid var(--md-sys-color-outline, #79747E);
114
- }
115
- `, a = class extends u {
116
- constructor(...i) {
117
- super(...i), this.selected = !1, this.disabled = !1, this.value = "", this.label = "", this.icon = "", this.noCheckmark = !1, this.handleClick = (e) => {
118
- if (this.disabled) {
119
- e.preventDefault(), e.stopImmediatePropagation();
120
- return;
121
- }
122
- this.closest("md-segmented-button-set") || (this.selected = !this.selected, this.emitEvent("change", {
123
- selected: this.selected,
124
- value: this.value || this.label || this.textContent?.trim() || ""
125
- }));
126
- }, this.handleKeyDown = (e) => {
127
- this.disabled || (e.key === " " || e.key === "Enter") && (e.preventDefault(), this.click());
128
- };
129
- }
130
- static {
131
- this.styles = [u.styles, k];
132
- }
133
- connectedCallback() {
134
- super.connectedCallback(), this.setAttribute("role", "button"), this.updateAriaAttributes(), this.addEventListener("click", this.handleClick), this.addEventListener("keydown", this.handleKeyDown);
135
- }
136
- disconnectedCallback() {
137
- super.disconnectedCallback(), this.removeEventListener("click", this.handleClick), this.removeEventListener("keydown", this.handleKeyDown);
138
- }
139
- updated(i) {
140
- super.updated(i), (i.has("selected") || i.has("disabled")) && this.updateAriaAttributes();
141
- }
142
- updateAriaAttributes() {
143
- this.setAttribute("aria-pressed", this.selected ? "true" : "false"), this.setAttribute("aria-disabled", this.disabled ? "true" : "false");
144
- }
145
- render() {
146
- const i = this.selected && !this.noCheckmark, e = !!(this.icon || this.assignedIcons && this.assignedIcons.length > 0);
147
- return c`
148
- <div class="button">
149
- <md-ripple ?disabled=${this.disabled}></md-ripple>
150
- <md-focus-ring></md-focus-ring>
151
-
152
- ${i ? c`
153
- <span class="icon checkmark-icon" aria-hidden="true">
154
- <md-icon name="check" size="18"></md-icon>
155
- </span>
156
- ` : e ? c`
157
- <span class="icon">
158
- <slot name="icon">
159
- ${this.icon ? c`<md-icon name=${this.icon} size="18"></md-icon>` : g}
160
- </slot>
161
- </span>
162
- ` : c`<slot name="icon"></slot>`}
163
-
164
- <span class="label">
165
- <slot>${this.label}</slot>
166
- </span>
167
- </div>
168
- `;
169
- }
170
- };
171
- o([r({
172
- type: Boolean,
173
- reflect: !0
174
- })], a.prototype, "selected", void 0);
175
- o([r({
176
- type: Boolean,
177
- reflect: !0
178
- })], a.prototype, "disabled", void 0);
179
- o([r({ type: String })], a.prototype, "value", void 0);
180
- o([r({ type: String })], a.prototype, "label", void 0);
181
- o([r({ type: String })], a.prototype, "icon", void 0);
182
- o([r({
183
- type: Boolean,
184
- attribute: "no-checkmark",
185
- reflect: !0
186
- })], a.prototype, "noCheckmark", void 0);
187
- o([f({ slot: "icon" })], a.prototype, "assignedIcons", void 0);
188
- a = o([b("md-segmented-button")], a);
189
- var h = class extends u {
190
- constructor(...i) {
191
- super(...i), this.multiselect = !1, this.disabled = !1, this.handleSlotChange = () => {
192
- this.syncRovingTabIndex(), this.disabled && this.syncDisabled();
193
- }, this.handleClick = (e) => {
194
- if (this.disabled) return;
195
- const t = e.target.closest("md-segmented-button");
196
- if (!t || t.disabled || !this.buttons.includes(t)) return;
197
- const n = this.buttons.indexOf(t);
198
- this.multiselect ? t.selected = !t.selected : this.buttons.forEach((s) => {
199
- s.selected = s === t;
200
- }), this.syncRovingTabIndex();
201
- const d = this.buttons.filter((s) => s.selected).map((s) => s.value || s.label || s.textContent?.trim() || ""), l = t.value || t.label || t.textContent?.trim() || "";
202
- this.emitEvent("change", {
203
- target: t,
204
- index: n,
205
- selected: t.selected,
206
- value: l,
207
- values: d
208
- });
209
- }, this.handleKeyDown = (e) => {
210
- const t = this.buttons.filter((s) => !s.disabled);
211
- if (t.length === 0) return;
212
- const n = document.activeElement, d = t.findIndex((s) => s === n || s.shadowRoot && s.shadowRoot.activeElement === n);
213
- let l = -1;
214
- if (e.key === "ArrowRight" || e.key === "ArrowDown" ? (e.preventDefault(), l = d >= 0 && d < t.length - 1 ? d + 1 : 0) : e.key === "ArrowLeft" || e.key === "ArrowUp" ? (e.preventDefault(), l = d > 0 ? d - 1 : t.length - 1) : e.key === "Home" ? (e.preventDefault(), l = 0) : e.key === "End" && (e.preventDefault(), l = t.length - 1), l !== -1 && t[l]) {
215
- const s = t[l];
216
- this.buttons.forEach((p) => {
217
- p.tabIndex = p === s ? 0 : -1;
218
- }), s.focus();
219
- }
220
- };
221
- }
222
- static {
223
- this.styles = [u.styles, v];
224
- }
225
- connectedCallback() {
226
- super.connectedCallback(), this.setAttribute("role", "group"), this.addEventListener("click", this.handleClick), this.addEventListener("keydown", this.handleKeyDown);
227
- }
228
- disconnectedCallback() {
229
- super.disconnectedCallback(), this.removeEventListener("click", this.handleClick), this.removeEventListener("keydown", this.handleKeyDown);
230
- }
231
- updated(i) {
232
- super.updated(i), i.has("disabled") && this.syncDisabled();
233
- }
234
- syncDisabled() {
235
- this.buttons && this.buttons.forEach((i) => {
236
- i.disabled = this.disabled;
237
- });
238
- }
239
- syncRovingTabIndex() {
240
- if (!this.buttons || this.buttons.length === 0) return;
241
- const i = this.buttons.find((n) => n.selected && !n.disabled), e = this.buttons.find((n) => !n.disabled), t = i || e;
242
- this.buttons.forEach((n) => {
243
- n.tabIndex = n === t ? 0 : -1;
244
- });
245
- }
246
- render() {
247
- return c`<slot @slotchange=${this.handleSlotChange}></slot>`;
248
- }
249
- };
250
- o([r({
251
- type: Boolean,
252
- reflect: !0
253
- })], h.prototype, "multiselect", void 0);
254
- o([r({
255
- type: Boolean,
256
- reflect: !0
257
- })], h.prototype, "disabled", void 0);
258
- o([f({ selector: "md-segmented-button" })], h.prototype, "buttons", void 0);
259
- h = o([b("md-segmented-button-set")], h);
260
- export {
261
- h as n,
262
- a as t
263
- };
264
-
265
- //# sourceMappingURL=segmented-button-B0BvGSQ7.js.map