@m3e/web 2.0.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 (966) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +85 -0
  3. package/dist/all.js +28231 -0
  4. package/dist/all.js.map +1 -0
  5. package/dist/all.min.js +482 -0
  6. package/dist/all.min.js.map +1 -0
  7. package/dist/app-bar.js +763 -0
  8. package/dist/app-bar.js.map +1 -0
  9. package/dist/app-bar.min.js +40 -0
  10. package/dist/app-bar.min.js.map +1 -0
  11. package/dist/autocomplete.js +883 -0
  12. package/dist/autocomplete.js.map +1 -0
  13. package/dist/autocomplete.min.js +29 -0
  14. package/dist/autocomplete.min.js.map +1 -0
  15. package/dist/avatar.js +416 -0
  16. package/dist/avatar.js.map +1 -0
  17. package/dist/avatar.min.js +23 -0
  18. package/dist/avatar.min.js.map +1 -0
  19. package/dist/badge.js +583 -0
  20. package/dist/badge.js.map +1 -0
  21. package/dist/badge.min.js +29 -0
  22. package/dist/badge.min.js.map +1 -0
  23. package/dist/bottom-sheet.js +1193 -0
  24. package/dist/bottom-sheet.js.map +1 -0
  25. package/dist/bottom-sheet.min.js +29 -0
  26. package/dist/bottom-sheet.min.js.map +1 -0
  27. package/dist/button-group.js +643 -0
  28. package/dist/button-group.js.map +1 -0
  29. package/dist/button-group.min.js +44 -0
  30. package/dist/button-group.min.js.map +1 -0
  31. package/dist/button.js +1690 -0
  32. package/dist/button.js.map +1 -0
  33. package/dist/button.min.js +40 -0
  34. package/dist/button.min.js.map +1 -0
  35. package/dist/card.js +821 -0
  36. package/dist/card.js.map +1 -0
  37. package/dist/card.min.js +40 -0
  38. package/dist/card.min.js.map +1 -0
  39. package/dist/checkbox.js +608 -0
  40. package/dist/checkbox.js.map +1 -0
  41. package/dist/checkbox.min.js +40 -0
  42. package/dist/checkbox.min.js.map +1 -0
  43. package/dist/chips.js +1761 -0
  44. package/dist/chips.js.map +1 -0
  45. package/dist/chips.min.js +46 -0
  46. package/dist/chips.min.js.map +1 -0
  47. package/dist/core-a11y.js +1810 -0
  48. package/dist/core-a11y.js.map +1 -0
  49. package/dist/core-a11y.min.js +74 -0
  50. package/dist/core-a11y.min.js.map +1 -0
  51. package/dist/core-anchoring.js +1747 -0
  52. package/dist/core-anchoring.js.map +1 -0
  53. package/dist/core-anchoring.min.js +7 -0
  54. package/dist/core-anchoring.min.js.map +1 -0
  55. package/dist/core-bidi.js +105 -0
  56. package/dist/core-bidi.js.map +1 -0
  57. package/dist/core-bidi.min.js +16 -0
  58. package/dist/core-bidi.min.js.map +1 -0
  59. package/dist/core-layout.js +64 -0
  60. package/dist/core-layout.js.map +1 -0
  61. package/dist/core-layout.min.js +15 -0
  62. package/dist/core-layout.min.js.map +1 -0
  63. package/dist/core-platform.js +46 -0
  64. package/dist/core-platform.js.map +1 -0
  65. package/dist/core-platform.min.js +15 -0
  66. package/dist/core-platform.min.js.map +1 -0
  67. package/dist/core.js +5641 -0
  68. package/dist/core.js.map +1 -0
  69. package/dist/core.min.js +55 -0
  70. package/dist/core.min.js.map +1 -0
  71. package/dist/css-custom-data.json +11892 -0
  72. package/dist/custom-elements.json +63037 -0
  73. package/dist/dialog.js +1079 -0
  74. package/dist/dialog.js.map +1 -0
  75. package/dist/dialog.min.js +51 -0
  76. package/dist/dialog.min.js.map +1 -0
  77. package/dist/divider.js +489 -0
  78. package/dist/divider.js.map +1 -0
  79. package/dist/divider.min.js +29 -0
  80. package/dist/divider.min.js.map +1 -0
  81. package/dist/drawer-container.js +861 -0
  82. package/dist/drawer-container.js.map +1 -0
  83. package/dist/drawer-container.min.js +34 -0
  84. package/dist/drawer-container.min.js.map +1 -0
  85. package/dist/expansion-panel.js +878 -0
  86. package/dist/expansion-panel.js.map +1 -0
  87. package/dist/expansion-panel.min.js +40 -0
  88. package/dist/expansion-panel.min.js.map +1 -0
  89. package/dist/fab-menu.js +850 -0
  90. package/dist/fab-menu.js.map +1 -0
  91. package/dist/fab-menu.min.js +40 -0
  92. package/dist/fab-menu.min.js.map +1 -0
  93. package/dist/fab.js +1459 -0
  94. package/dist/fab.js.map +1 -0
  95. package/dist/fab.min.js +40 -0
  96. package/dist/fab.min.js.map +1 -0
  97. package/dist/form-field.js +919 -0
  98. package/dist/form-field.js.map +1 -0
  99. package/dist/form-field.min.js +61 -0
  100. package/dist/form-field.min.js.map +1 -0
  101. package/dist/heading.js +597 -0
  102. package/dist/heading.js.map +1 -0
  103. package/dist/heading.min.js +29 -0
  104. package/dist/heading.min.js.map +1 -0
  105. package/dist/html-custom-data.json +2628 -0
  106. package/dist/icon-button.js +1419 -0
  107. package/dist/icon-button.js.map +1 -0
  108. package/dist/icon-button.min.js +40 -0
  109. package/dist/icon-button.min.js.map +1 -0
  110. package/dist/icon.js +547 -0
  111. package/dist/icon.js.map +1 -0
  112. package/dist/icon.min.js +40 -0
  113. package/dist/icon.min.js.map +1 -0
  114. package/dist/index.js +7 -0
  115. package/dist/index.js.map +1 -0
  116. package/dist/list.js +1840 -0
  117. package/dist/list.js.map +1 -0
  118. package/dist/list.min.js +52 -0
  119. package/dist/list.min.js.map +1 -0
  120. package/dist/loading-indicator.js +533 -0
  121. package/dist/loading-indicator.js.map +1 -0
  122. package/dist/loading-indicator.min.js +40 -0
  123. package/dist/loading-indicator.min.js.map +1 -0
  124. package/dist/menu.js +1509 -0
  125. package/dist/menu.js.map +1 -0
  126. package/dist/menu.min.js +45 -0
  127. package/dist/menu.min.js.map +1 -0
  128. package/dist/nav-bar.js +738 -0
  129. package/dist/nav-bar.js.map +1 -0
  130. package/dist/nav-bar.min.js +45 -0
  131. package/dist/nav-bar.min.js.map +1 -0
  132. package/dist/nav-menu.js +1498 -0
  133. package/dist/nav-menu.js.map +1 -0
  134. package/dist/nav-menu.min.js +50 -0
  135. package/dist/nav-menu.min.js.map +1 -0
  136. package/dist/nav-rail.js +565 -0
  137. package/dist/nav-rail.js.map +1 -0
  138. package/dist/nav-rail.min.js +23 -0
  139. package/dist/nav-rail.min.js.map +1 -0
  140. package/dist/option.js +802 -0
  141. package/dist/option.js.map +1 -0
  142. package/dist/option.min.js +40 -0
  143. package/dist/option.min.js.map +1 -0
  144. package/dist/paginator.js +700 -0
  145. package/dist/paginator.js.map +1 -0
  146. package/dist/paginator.min.js +37 -0
  147. package/dist/paginator.min.js.map +1 -0
  148. package/dist/progress-indicator.js +1405 -0
  149. package/dist/progress-indicator.js.map +1 -0
  150. package/dist/progress-indicator.min.js +108 -0
  151. package/dist/progress-indicator.min.js.map +1 -0
  152. package/dist/radio-group.js +757 -0
  153. package/dist/radio-group.js.map +1 -0
  154. package/dist/radio-group.min.js +40 -0
  155. package/dist/radio-group.min.js.map +1 -0
  156. package/dist/segmented-button.js +782 -0
  157. package/dist/segmented-button.js.map +1 -0
  158. package/dist/segmented-button.min.js +40 -0
  159. package/dist/segmented-button.min.js.map +1 -0
  160. package/dist/select.js +1235 -0
  161. package/dist/select.js.map +1 -0
  162. package/dist/select.min.js +57 -0
  163. package/dist/select.min.js.map +1 -0
  164. package/dist/shape.js +543 -0
  165. package/dist/shape.js.map +1 -0
  166. package/dist/shape.min.js +29 -0
  167. package/dist/shape.min.js.map +1 -0
  168. package/dist/slide-group.js +655 -0
  169. package/dist/slide-group.js.map +1 -0
  170. package/dist/slide-group.min.js +45 -0
  171. package/dist/slide-group.min.js.map +1 -0
  172. package/dist/slider.js +1343 -0
  173. package/dist/slider.js.map +1 -0
  174. package/dist/slider.min.js +50 -0
  175. package/dist/slider.min.js.map +1 -0
  176. package/dist/snackbar.js +632 -0
  177. package/dist/snackbar.js.map +1 -0
  178. package/dist/snackbar.min.js +29 -0
  179. package/dist/snackbar.min.js.map +1 -0
  180. package/dist/split-button.js +661 -0
  181. package/dist/split-button.js.map +1 -0
  182. package/dist/split-button.min.js +40 -0
  183. package/dist/split-button.min.js.map +1 -0
  184. package/dist/src/all.d.ts +47 -0
  185. package/dist/src/all.d.ts.map +1 -0
  186. package/dist/src/app-bar/AppBarElement.d.ts +139 -0
  187. package/dist/src/app-bar/AppBarElement.d.ts.map +1 -0
  188. package/dist/src/app-bar/AppBarSize.d.ts +3 -0
  189. package/dist/src/app-bar/AppBarSize.d.ts.map +1 -0
  190. package/dist/src/app-bar/index.d.ts +3 -0
  191. package/dist/src/app-bar/index.d.ts.map +1 -0
  192. package/dist/src/app-bar/styles/AppBarSizeStyle.d.ts +7 -0
  193. package/dist/src/app-bar/styles/AppBarSizeStyle.d.ts.map +1 -0
  194. package/dist/src/app-bar/styles/AppBarSizeToken.d.ts +28 -0
  195. package/dist/src/app-bar/styles/AppBarSizeToken.d.ts.map +1 -0
  196. package/dist/src/app-bar/styles/AppBarStyle.d.ts +7 -0
  197. package/dist/src/app-bar/styles/AppBarStyle.d.ts.map +1 -0
  198. package/dist/src/app-bar/styles/AppBarToken.d.ts +15 -0
  199. package/dist/src/app-bar/styles/AppBarToken.d.ts.map +1 -0
  200. package/dist/src/app-bar/styles/index.d.ts +3 -0
  201. package/dist/src/app-bar/styles/index.d.ts.map +1 -0
  202. package/dist/src/autocomplete/AutocompleteElement.d.ts +79 -0
  203. package/dist/src/autocomplete/AutocompleteElement.d.ts.map +1 -0
  204. package/dist/src/autocomplete/index.d.ts +2 -0
  205. package/dist/src/autocomplete/index.d.ts.map +1 -0
  206. package/dist/src/avatar/AvatarElement.d.ts +54 -0
  207. package/dist/src/avatar/AvatarElement.d.ts.map +1 -0
  208. package/dist/src/avatar/index.d.ts +2 -0
  209. package/dist/src/avatar/index.d.ts.map +1 -0
  210. package/dist/src/badge/BadgeElement.d.ts +76 -0
  211. package/dist/src/badge/BadgeElement.d.ts.map +1 -0
  212. package/dist/src/badge/BadgePosition.d.ts +3 -0
  213. package/dist/src/badge/BadgePosition.d.ts.map +1 -0
  214. package/dist/src/badge/BadgeSize.d.ts +3 -0
  215. package/dist/src/badge/BadgeSize.d.ts.map +1 -0
  216. package/dist/src/badge/index.d.ts +4 -0
  217. package/dist/src/badge/index.d.ts.map +1 -0
  218. package/dist/src/bottom-sheet/BottomSheetActionElement.d.ts +17 -0
  219. package/dist/src/bottom-sheet/BottomSheetActionElement.d.ts.map +1 -0
  220. package/dist/src/bottom-sheet/BottomSheetElement.d.ts +189 -0
  221. package/dist/src/bottom-sheet/BottomSheetElement.d.ts.map +1 -0
  222. package/dist/src/bottom-sheet/BottomSheetTriggerElement.d.ts +36 -0
  223. package/dist/src/bottom-sheet/BottomSheetTriggerElement.d.ts.map +1 -0
  224. package/dist/src/bottom-sheet/index.d.ts +4 -0
  225. package/dist/src/bottom-sheet/index.d.ts.map +1 -0
  226. package/dist/src/button/ButtonElement.d.ts +429 -0
  227. package/dist/src/button/ButtonElement.d.ts.map +1 -0
  228. package/dist/src/button/ButtonShape.d.ts +3 -0
  229. package/dist/src/button/ButtonShape.d.ts.map +1 -0
  230. package/dist/src/button/ButtonSize.d.ts +3 -0
  231. package/dist/src/button/ButtonSize.d.ts.map +1 -0
  232. package/dist/src/button/ButtonVariant.d.ts +3 -0
  233. package/dist/src/button/ButtonVariant.d.ts.map +1 -0
  234. package/dist/src/button/index.d.ts +5 -0
  235. package/dist/src/button/index.d.ts.map +1 -0
  236. package/dist/src/button/styles/ButtonSizeStyle.d.ts +7 -0
  237. package/dist/src/button/styles/ButtonSizeStyle.d.ts.map +1 -0
  238. package/dist/src/button/styles/ButtonSizeToken.d.ts +27 -0
  239. package/dist/src/button/styles/ButtonSizeToken.d.ts.map +1 -0
  240. package/dist/src/button/styles/ButtonStyle.d.ts +7 -0
  241. package/dist/src/button/styles/ButtonStyle.d.ts.map +1 -0
  242. package/dist/src/button/styles/ButtonVariantStyle.d.ts +7 -0
  243. package/dist/src/button/styles/ButtonVariantStyle.d.ts.map +1 -0
  244. package/dist/src/button/styles/ButtonVariantToken.d.ts +75 -0
  245. package/dist/src/button/styles/ButtonVariantToken.d.ts.map +1 -0
  246. package/dist/src/button/styles/index.d.ts +4 -0
  247. package/dist/src/button/styles/index.d.ts.map +1 -0
  248. package/dist/src/button-group/ButtonGroupElement.d.ts +98 -0
  249. package/dist/src/button-group/ButtonGroupElement.d.ts.map +1 -0
  250. package/dist/src/button-group/ButtonGroupSize.d.ts +3 -0
  251. package/dist/src/button-group/ButtonGroupSize.d.ts.map +1 -0
  252. package/dist/src/button-group/ButtonGroupVariant.d.ts +3 -0
  253. package/dist/src/button-group/ButtonGroupVariant.d.ts.map +1 -0
  254. package/dist/src/button-group/index.d.ts +4 -0
  255. package/dist/src/button-group/index.d.ts.map +1 -0
  256. package/dist/src/card/CardElement.d.ts +171 -0
  257. package/dist/src/card/CardElement.d.ts.map +1 -0
  258. package/dist/src/card/CardOrientation.d.ts +3 -0
  259. package/dist/src/card/CardOrientation.d.ts.map +1 -0
  260. package/dist/src/card/CardVariant.d.ts +3 -0
  261. package/dist/src/card/CardVariant.d.ts.map +1 -0
  262. package/dist/src/card/index.d.ts +4 -0
  263. package/dist/src/card/index.d.ts.map +1 -0
  264. package/dist/src/card/styles/CardStyle.d.ts +7 -0
  265. package/dist/src/card/styles/CardStyle.d.ts.map +1 -0
  266. package/dist/src/card/styles/CardToken.d.ts +9 -0
  267. package/dist/src/card/styles/CardToken.d.ts.map +1 -0
  268. package/dist/src/card/styles/CardVariantStyle.d.ts +7 -0
  269. package/dist/src/card/styles/CardVariantStyle.d.ts.map +1 -0
  270. package/dist/src/card/styles/CardVariantToken.d.ts +50 -0
  271. package/dist/src/card/styles/CardVariantToken.d.ts.map +1 -0
  272. package/dist/src/card/styles/index.d.ts +3 -0
  273. package/dist/src/card/styles/index.d.ts.map +1 -0
  274. package/dist/src/checkbox/CheckboxElement.d.ts +100 -0
  275. package/dist/src/checkbox/CheckboxElement.d.ts.map +1 -0
  276. package/dist/src/checkbox/index.d.ts +2 -0
  277. package/dist/src/checkbox/index.d.ts.map +1 -0
  278. package/dist/src/chips/AssistChipElement.d.ts +83 -0
  279. package/dist/src/chips/AssistChipElement.d.ts.map +1 -0
  280. package/dist/src/chips/ChipElement.d.ts +83 -0
  281. package/dist/src/chips/ChipElement.d.ts.map +1 -0
  282. package/dist/src/chips/ChipSetElement.d.ts +42 -0
  283. package/dist/src/chips/ChipSetElement.d.ts.map +1 -0
  284. package/dist/src/chips/ChipVariant.d.ts +3 -0
  285. package/dist/src/chips/ChipVariant.d.ts.map +1 -0
  286. package/dist/src/chips/FilterChipElement.d.ts +105 -0
  287. package/dist/src/chips/FilterChipElement.d.ts.map +1 -0
  288. package/dist/src/chips/FilterChipSetElement.d.ts +81 -0
  289. package/dist/src/chips/FilterChipSetElement.d.ts.map +1 -0
  290. package/dist/src/chips/InputChipElement.d.ts +117 -0
  291. package/dist/src/chips/InputChipElement.d.ts.map +1 -0
  292. package/dist/src/chips/InputChipSetElement.d.ts +74 -0
  293. package/dist/src/chips/InputChipSetElement.d.ts.map +1 -0
  294. package/dist/src/chips/SuggestionChipElement.d.ts +84 -0
  295. package/dist/src/chips/SuggestionChipElement.d.ts.map +1 -0
  296. package/dist/src/chips/index.d.ts +10 -0
  297. package/dist/src/chips/index.d.ts.map +1 -0
  298. package/dist/src/core/a11y/AriaDescriber.d.ts +31 -0
  299. package/dist/src/core/a11y/AriaDescriber.d.ts.map +1 -0
  300. package/dist/src/core/a11y/FocusTrapElement.d.ts +25 -0
  301. package/dist/src/core/a11y/FocusTrapElement.d.ts.map +1 -0
  302. package/dist/src/core/a11y/InteractivityChecker.d.ts +22 -0
  303. package/dist/src/core/a11y/InteractivityChecker.d.ts.map +1 -0
  304. package/dist/src/core/a11y/LiveAnnouncer.d.ts +56 -0
  305. package/dist/src/core/a11y/LiveAnnouncer.d.ts.map +1 -0
  306. package/dist/src/core/a11y/aria-reference.d.ts +30 -0
  307. package/dist/src/core/a11y/aria-reference.d.ts.map +1 -0
  308. package/dist/src/core/a11y/index.d.ts +8 -0
  309. package/dist/src/core/a11y/index.d.ts.map +1 -0
  310. package/dist/src/core/a11y/keycodes/KeyCode.d.ts +118 -0
  311. package/dist/src/core/a11y/keycodes/KeyCode.d.ts.map +1 -0
  312. package/dist/src/core/a11y/keycodes/ModifierKeys.d.ts +5 -0
  313. package/dist/src/core/a11y/keycodes/ModifierKeys.d.ts.map +1 -0
  314. package/dist/src/core/a11y/keycodes/getKeyCode.d.ts +7 -0
  315. package/dist/src/core/a11y/keycodes/getKeyCode.d.ts.map +1 -0
  316. package/dist/src/core/a11y/keycodes/hasModifierKey.d.ts +9 -0
  317. package/dist/src/core/a11y/keycodes/hasModifierKey.d.ts.map +1 -0
  318. package/dist/src/core/a11y/keycodes/index.d.ts +6 -0
  319. package/dist/src/core/a11y/keycodes/index.d.ts.map +1 -0
  320. package/dist/src/core/a11y/keycodes/isModifierAllowed.d.ts +9 -0
  321. package/dist/src/core/a11y/keycodes/isModifierAllowed.d.ts.map +1 -0
  322. package/dist/src/core/a11y/list-key/FocusKeyManager.d.ts +17 -0
  323. package/dist/src/core/a11y/list-key/FocusKeyManager.d.ts.map +1 -0
  324. package/dist/src/core/a11y/list-key/ListKeyManager.d.ts +125 -0
  325. package/dist/src/core/a11y/list-key/ListKeyManager.d.ts.map +1 -0
  326. package/dist/src/core/a11y/list-key/ListManager.d.ts +37 -0
  327. package/dist/src/core/a11y/list-key/ListManager.d.ts.map +1 -0
  328. package/dist/src/core/a11y/list-key/RadioKeyManager.d.ts +20 -0
  329. package/dist/src/core/a11y/list-key/RadioKeyManager.d.ts.map +1 -0
  330. package/dist/src/core/a11y/list-key/RovingTabIndexManager.d.ts +22 -0
  331. package/dist/src/core/a11y/list-key/RovingTabIndexManager.d.ts.map +1 -0
  332. package/dist/src/core/a11y/list-key/SelectionManager.d.ts +46 -0
  333. package/dist/src/core/a11y/list-key/SelectionManager.d.ts.map +1 -0
  334. package/dist/src/core/a11y/list-key/Typeahead.d.ts +64 -0
  335. package/dist/src/core/a11y/list-key/Typeahead.d.ts.map +1 -0
  336. package/dist/src/core/a11y/list-key/index.d.ts +8 -0
  337. package/dist/src/core/a11y/list-key/index.d.ts.map +1 -0
  338. package/dist/src/core/a11y/visuallyHide.d.ts +6 -0
  339. package/dist/src/core/a11y/visuallyHide.d.ts.map +1 -0
  340. package/dist/src/core/anchoring/AnchorOptions.d.ts +15 -0
  341. package/dist/src/core/anchoring/AnchorOptions.d.ts.map +1 -0
  342. package/dist/src/core/anchoring/AnchorPosition.d.ts +3 -0
  343. package/dist/src/core/anchoring/AnchorPosition.d.ts.map +1 -0
  344. package/dist/src/core/anchoring/index.d.ts +4 -0
  345. package/dist/src/core/anchoring/index.d.ts.map +1 -0
  346. package/dist/src/core/anchoring/positionAnchor.d.ts +12 -0
  347. package/dist/src/core/anchoring/positionAnchor.d.ts.map +1 -0
  348. package/dist/src/core/bidi/Directionality.d.ts +27 -0
  349. package/dist/src/core/bidi/Directionality.d.ts.map +1 -0
  350. package/dist/src/core/bidi/index.d.ts +2 -0
  351. package/dist/src/core/bidi/index.d.ts.map +1 -0
  352. package/dist/src/core/index.d.ts +2 -0
  353. package/dist/src/core/index.d.ts.map +1 -0
  354. package/dist/src/core/layout/Breakpoint.d.ts +26 -0
  355. package/dist/src/core/layout/Breakpoint.d.ts.map +1 -0
  356. package/dist/src/core/layout/BreakpointObserver.d.ts +18 -0
  357. package/dist/src/core/layout/BreakpointObserver.d.ts.map +1 -0
  358. package/dist/src/core/layout/index.d.ts +3 -0
  359. package/dist/src/core/layout/index.d.ts.map +1 -0
  360. package/dist/src/core/platform/Platform.d.ts +34 -0
  361. package/dist/src/core/platform/Platform.d.ts.map +1 -0
  362. package/dist/src/core/platform/index.d.ts +2 -0
  363. package/dist/src/core/platform/index.d.ts.map +1 -0
  364. package/dist/src/core/shared/controllers/AnimationLoopController.d.ts +13 -0
  365. package/dist/src/core/shared/controllers/AnimationLoopController.d.ts.map +1 -0
  366. package/dist/src/core/shared/controllers/FocusController.d.ts +34 -0
  367. package/dist/src/core/shared/controllers/FocusController.d.ts.map +1 -0
  368. package/dist/src/core/shared/controllers/HoverController.d.ts +40 -0
  369. package/dist/src/core/shared/controllers/HoverController.d.ts.map +1 -0
  370. package/dist/src/core/shared/controllers/IntersectionController.d.ts +40 -0
  371. package/dist/src/core/shared/controllers/IntersectionController.d.ts.map +1 -0
  372. package/dist/src/core/shared/controllers/LongPressController.d.ts +32 -0
  373. package/dist/src/core/shared/controllers/LongPressController.d.ts.map +1 -0
  374. package/dist/src/core/shared/controllers/MonitorControllerBase.d.ts +62 -0
  375. package/dist/src/core/shared/controllers/MonitorControllerBase.d.ts.map +1 -0
  376. package/dist/src/core/shared/controllers/MutationController.d.ts +37 -0
  377. package/dist/src/core/shared/controllers/MutationController.d.ts.map +1 -0
  378. package/dist/src/core/shared/controllers/PressedController.d.ts +47 -0
  379. package/dist/src/core/shared/controllers/PressedController.d.ts.map +1 -0
  380. package/dist/src/core/shared/controllers/ResizeController.d.ts +40 -0
  381. package/dist/src/core/shared/controllers/ResizeController.d.ts.map +1 -0
  382. package/dist/src/core/shared/controllers/ScrollController.d.ts +34 -0
  383. package/dist/src/core/shared/controllers/ScrollController.d.ts.map +1 -0
  384. package/dist/src/core/shared/controllers/ScrollLockController.d.ts +16 -0
  385. package/dist/src/core/shared/controllers/ScrollLockController.d.ts.map +1 -0
  386. package/dist/src/core/shared/controllers/index.d.ts +11 -0
  387. package/dist/src/core/shared/controllers/index.d.ts.map +1 -0
  388. package/dist/src/core/shared/converters/index.d.ts +2 -0
  389. package/dist/src/core/shared/converters/index.d.ts.map +1 -0
  390. package/dist/src/core/shared/converters/spaceSeparatedStringConverter.d.ts +4 -0
  391. package/dist/src/core/shared/converters/spaceSeparatedStringConverter.d.ts.map +1 -0
  392. package/dist/src/core/shared/decorators/debounce.d.ts +7 -0
  393. package/dist/src/core/shared/decorators/debounce.d.ts.map +1 -0
  394. package/dist/src/core/shared/decorators/index.d.ts +2 -0
  395. package/dist/src/core/shared/decorators/index.d.ts.map +1 -0
  396. package/dist/src/core/shared/directives/index.d.ts +2 -0
  397. package/dist/src/core/shared/directives/index.d.ts.map +1 -0
  398. package/dist/src/core/shared/directives/safeStyleMap.d.ts +44 -0
  399. package/dist/src/core/shared/directives/safeStyleMap.d.ts.map +1 -0
  400. package/dist/src/core/shared/index.d.ts +9 -0
  401. package/dist/src/core/shared/index.d.ts.map +1 -0
  402. package/dist/src/core/shared/mixins/AttachInternals.d.ts +24 -0
  403. package/dist/src/core/shared/mixins/AttachInternals.d.ts.map +1 -0
  404. package/dist/src/core/shared/mixins/Checked.d.ts +24 -0
  405. package/dist/src/core/shared/mixins/Checked.d.ts.map +1 -0
  406. package/dist/src/core/shared/mixins/CheckedIndeterminate.d.ts +25 -0
  407. package/dist/src/core/shared/mixins/CheckedIndeterminate.d.ts.map +1 -0
  408. package/dist/src/core/shared/mixins/CheckedOrSelected.d.ts +23 -0
  409. package/dist/src/core/shared/mixins/CheckedOrSelected.d.ts.map +1 -0
  410. package/dist/src/core/shared/mixins/ConstraintValidation.d.ts +48 -0
  411. package/dist/src/core/shared/mixins/ConstraintValidation.d.ts.map +1 -0
  412. package/dist/src/core/shared/mixins/Constructor.d.ts +3 -0
  413. package/dist/src/core/shared/mixins/Constructor.d.ts.map +1 -0
  414. package/dist/src/core/shared/mixins/Dirty.d.ts +27 -0
  415. package/dist/src/core/shared/mixins/Dirty.d.ts.map +1 -0
  416. package/dist/src/core/shared/mixins/Disabled.d.ts +25 -0
  417. package/dist/src/core/shared/mixins/Disabled.d.ts.map +1 -0
  418. package/dist/src/core/shared/mixins/DisabledInteractive.d.ts +25 -0
  419. package/dist/src/core/shared/mixins/DisabledInteractive.d.ts.map +1 -0
  420. package/dist/src/core/shared/mixins/EventAttribute.d.ts +11 -0
  421. package/dist/src/core/shared/mixins/EventAttribute.d.ts.map +1 -0
  422. package/dist/src/core/shared/mixins/Focusable.d.ts +11 -0
  423. package/dist/src/core/shared/mixins/Focusable.d.ts.map +1 -0
  424. package/dist/src/core/shared/mixins/FormAssociated.d.ts +34 -0
  425. package/dist/src/core/shared/mixins/FormAssociated.d.ts.map +1 -0
  426. package/dist/src/core/shared/mixins/FormSubmitter.d.ts +34 -0
  427. package/dist/src/core/shared/mixins/FormSubmitter.d.ts.map +1 -0
  428. package/dist/src/core/shared/mixins/HtmlFor.d.ts +30 -0
  429. package/dist/src/core/shared/mixins/HtmlFor.d.ts.map +1 -0
  430. package/dist/src/core/shared/mixins/KeyboardClick.d.ts +11 -0
  431. package/dist/src/core/shared/mixins/KeyboardClick.d.ts.map +1 -0
  432. package/dist/src/core/shared/mixins/Labelled.d.ts +26 -0
  433. package/dist/src/core/shared/mixins/Labelled.d.ts.map +1 -0
  434. package/dist/src/core/shared/mixins/LinkButton.d.ts +46 -0
  435. package/dist/src/core/shared/mixins/LinkButton.d.ts.map +1 -0
  436. package/dist/src/core/shared/mixins/ReadOnly.d.ts +25 -0
  437. package/dist/src/core/shared/mixins/ReadOnly.d.ts.map +1 -0
  438. package/dist/src/core/shared/mixins/Required.d.ts +26 -0
  439. package/dist/src/core/shared/mixins/Required.d.ts.map +1 -0
  440. package/dist/src/core/shared/mixins/RequiredConstraintValidation.d.ts +21 -0
  441. package/dist/src/core/shared/mixins/RequiredConstraintValidation.d.ts.map +1 -0
  442. package/dist/src/core/shared/mixins/Role.d.ts +13 -0
  443. package/dist/src/core/shared/mixins/Role.d.ts.map +1 -0
  444. package/dist/src/core/shared/mixins/Selected.d.ts +24 -0
  445. package/dist/src/core/shared/mixins/Selected.d.ts.map +1 -0
  446. package/dist/src/core/shared/mixins/Touched.d.ts +27 -0
  447. package/dist/src/core/shared/mixins/Touched.d.ts.map +1 -0
  448. package/dist/src/core/shared/mixins/Vertical.d.ts +24 -0
  449. package/dist/src/core/shared/mixins/Vertical.d.ts.map +1 -0
  450. package/dist/src/core/shared/mixins/hasKeys.d.ts +9 -0
  451. package/dist/src/core/shared/mixins/hasKeys.d.ts.map +1 -0
  452. package/dist/src/core/shared/mixins/index.d.ts +25 -0
  453. package/dist/src/core/shared/mixins/index.d.ts.map +1 -0
  454. package/dist/src/core/shared/primitives/ActionElementBase.d.ts +22 -0
  455. package/dist/src/core/shared/primitives/ActionElementBase.d.ts.map +1 -0
  456. package/dist/src/core/shared/primitives/CollapsibleElement.d.ts +58 -0
  457. package/dist/src/core/shared/primitives/CollapsibleElement.d.ts.map +1 -0
  458. package/dist/src/core/shared/primitives/ElevationElement.d.ts +87 -0
  459. package/dist/src/core/shared/primitives/ElevationElement.d.ts.map +1 -0
  460. package/dist/src/core/shared/primitives/ElevationLevel.d.ts +3 -0
  461. package/dist/src/core/shared/primitives/ElevationLevel.d.ts.map +1 -0
  462. package/dist/src/core/shared/primitives/ElevationToken.d.ts +15 -0
  463. package/dist/src/core/shared/primitives/ElevationToken.d.ts.map +1 -0
  464. package/dist/src/core/shared/primitives/FocusRingElement.d.ts +77 -0
  465. package/dist/src/core/shared/primitives/FocusRingElement.d.ts.map +1 -0
  466. package/dist/src/core/shared/primitives/FocusRingToken.d.ts +17 -0
  467. package/dist/src/core/shared/primitives/FocusRingToken.d.ts.map +1 -0
  468. package/dist/src/core/shared/primitives/PseudoCheckboxElement.d.ts +49 -0
  469. package/dist/src/core/shared/primitives/PseudoCheckboxElement.d.ts.map +1 -0
  470. package/dist/src/core/shared/primitives/PseudoRadioElement.d.ts +40 -0
  471. package/dist/src/core/shared/primitives/PseudoRadioElement.d.ts.map +1 -0
  472. package/dist/src/core/shared/primitives/RippleElement.d.ts +97 -0
  473. package/dist/src/core/shared/primitives/RippleElement.d.ts.map +1 -0
  474. package/dist/src/core/shared/primitives/RippleToken.d.ts +12 -0
  475. package/dist/src/core/shared/primitives/RippleToken.d.ts.map +1 -0
  476. package/dist/src/core/shared/primitives/ScrollContainerElement.d.ts +61 -0
  477. package/dist/src/core/shared/primitives/ScrollContainerElement.d.ts.map +1 -0
  478. package/dist/src/core/shared/primitives/ScrollDividers.d.ts +3 -0
  479. package/dist/src/core/shared/primitives/ScrollDividers.d.ts.map +1 -0
  480. package/dist/src/core/shared/primitives/SlideElement.d.ts +45 -0
  481. package/dist/src/core/shared/primitives/SlideElement.d.ts.map +1 -0
  482. package/dist/src/core/shared/primitives/StateLayerElement.d.ts +83 -0
  483. package/dist/src/core/shared/primitives/StateLayerElement.d.ts.map +1 -0
  484. package/dist/src/core/shared/primitives/StateLayerToken.d.ts +13 -0
  485. package/dist/src/core/shared/primitives/StateLayerToken.d.ts.map +1 -0
  486. package/dist/src/core/shared/primitives/TextHighlightElement.d.ts +81 -0
  487. package/dist/src/core/shared/primitives/TextHighlightElement.d.ts.map +1 -0
  488. package/dist/src/core/shared/primitives/TextOverflowElement.d.ts +38 -0
  489. package/dist/src/core/shared/primitives/TextOverflowElement.d.ts.map +1 -0
  490. package/dist/src/core/shared/primitives/index.d.ts +15 -0
  491. package/dist/src/core/shared/primitives/index.d.ts.map +1 -0
  492. package/dist/src/core/shared/tokens/ColorToken.d.ts +96 -0
  493. package/dist/src/core/shared/tokens/ColorToken.d.ts.map +1 -0
  494. package/dist/src/core/shared/tokens/DensityToken.d.ts +15 -0
  495. package/dist/src/core/shared/tokens/DensityToken.d.ts.map +1 -0
  496. package/dist/src/core/shared/tokens/DesignToken.d.ts +366 -0
  497. package/dist/src/core/shared/tokens/DesignToken.d.ts.map +1 -0
  498. package/dist/src/core/shared/tokens/ElevationToken.d.ts +16 -0
  499. package/dist/src/core/shared/tokens/ElevationToken.d.ts.map +1 -0
  500. package/dist/src/core/shared/tokens/MotionToken.d.ts +69 -0
  501. package/dist/src/core/shared/tokens/MotionToken.d.ts.map +1 -0
  502. package/dist/src/core/shared/tokens/ScrollbarToken.d.ts +10 -0
  503. package/dist/src/core/shared/tokens/ScrollbarToken.d.ts.map +1 -0
  504. package/dist/src/core/shared/tokens/ShapeToken.d.ts +79 -0
  505. package/dist/src/core/shared/tokens/ShapeToken.d.ts.map +1 -0
  506. package/dist/src/core/shared/tokens/StateToken.d.ts +10 -0
  507. package/dist/src/core/shared/tokens/StateToken.d.ts.map +1 -0
  508. package/dist/src/core/shared/tokens/TypescaleToken.d.ts +220 -0
  509. package/dist/src/core/shared/tokens/TypescaleToken.d.ts.map +1 -0
  510. package/dist/src/core/shared/tokens/index.d.ts +2 -0
  511. package/dist/src/core/shared/tokens/index.d.ts.map +1 -0
  512. package/dist/src/core/shared/utils/VelocityTracker.d.ts +22 -0
  513. package/dist/src/core/shared/utils/VelocityTracker.d.ts.map +1 -0
  514. package/dist/src/core/shared/utils/computeCssSize.d.ts +8 -0
  515. package/dist/src/core/shared/utils/computeCssSize.d.ts.map +1 -0
  516. package/dist/src/core/shared/utils/computeLineCount.d.ts +7 -0
  517. package/dist/src/core/shared/utils/computeLineCount.d.ts.map +1 -0
  518. package/dist/src/core/shared/utils/focusWhenReady.d.ts +8 -0
  519. package/dist/src/core/shared/utils/focusWhenReady.d.ts.map +1 -0
  520. package/dist/src/core/shared/utils/forcedColorsActive.d.ts +6 -0
  521. package/dist/src/core/shared/utils/forcedColorsActive.d.ts.map +1 -0
  522. package/dist/src/core/shared/utils/generateClipPaths.d.ts +8 -0
  523. package/dist/src/core/shared/utils/generateClipPaths.d.ts.map +1 -0
  524. package/dist/src/core/shared/utils/getTextContent.d.ts +8 -0
  525. package/dist/src/core/shared/utils/getTextContent.d.ts.map +1 -0
  526. package/dist/src/core/shared/utils/guid.d.ts +6 -0
  527. package/dist/src/core/shared/utils/guid.d.ts.map +1 -0
  528. package/dist/src/core/shared/utils/hasAssignedNodes.d.ts +7 -0
  529. package/dist/src/core/shared/utils/hasAssignedNodes.d.ts.map +1 -0
  530. package/dist/src/core/shared/utils/index.d.ts +15 -0
  531. package/dist/src/core/shared/utils/index.d.ts.map +1 -0
  532. package/dist/src/core/shared/utils/interceptProperty.d.ts +17 -0
  533. package/dist/src/core/shared/utils/interceptProperty.d.ts.map +1 -0
  534. package/dist/src/core/shared/utils/prefersReducedMotion.d.ts +6 -0
  535. package/dist/src/core/shared/utils/prefersReducedMotion.d.ts.map +1 -0
  536. package/dist/src/core/shared/utils/resolveElementById.d.ts +8 -0
  537. package/dist/src/core/shared/utils/resolveElementById.d.ts.map +1 -0
  538. package/dist/src/core/shared/utils/resolveFragmentUrl.d.ts +22 -0
  539. package/dist/src/core/shared/utils/resolveFragmentUrl.d.ts.map +1 -0
  540. package/dist/src/core/shared/utils/scrollIntoViewIfNeeded.d.ts +8 -0
  541. package/dist/src/core/shared/utils/scrollIntoViewIfNeeded.d.ts.map +1 -0
  542. package/dist/src/dialog/DialogActionElement.d.ts +24 -0
  543. package/dist/src/dialog/DialogActionElement.d.ts.map +1 -0
  544. package/dist/src/dialog/DialogElement.d.ts +142 -0
  545. package/dist/src/dialog/DialogElement.d.ts.map +1 -0
  546. package/dist/src/dialog/DialogTriggerElement.d.ts +21 -0
  547. package/dist/src/dialog/DialogTriggerElement.d.ts.map +1 -0
  548. package/dist/src/dialog/index.d.ts +4 -0
  549. package/dist/src/dialog/index.d.ts.map +1 -0
  550. package/dist/src/divider/DividerElement.d.ts +63 -0
  551. package/dist/src/divider/DividerElement.d.ts.map +1 -0
  552. package/dist/src/divider/index.d.ts +2 -0
  553. package/dist/src/divider/index.d.ts.map +1 -0
  554. package/dist/src/drawer-container/DrawerContainerElement.d.ts +107 -0
  555. package/dist/src/drawer-container/DrawerContainerElement.d.ts.map +1 -0
  556. package/dist/src/drawer-container/DrawerMode.d.ts +3 -0
  557. package/dist/src/drawer-container/DrawerMode.d.ts.map +1 -0
  558. package/dist/src/drawer-container/DrawerPosition.d.ts +3 -0
  559. package/dist/src/drawer-container/DrawerPosition.d.ts.map +1 -0
  560. package/dist/src/drawer-container/DrawerToggleElement.d.ts +42 -0
  561. package/dist/src/drawer-container/DrawerToggleElement.d.ts.map +1 -0
  562. package/dist/src/drawer-container/index.d.ts +5 -0
  563. package/dist/src/drawer-container/index.d.ts.map +1 -0
  564. package/dist/src/drawer-container/styles/DrawerContainerStyle.d.ts +7 -0
  565. package/dist/src/drawer-container/styles/DrawerContainerStyle.d.ts.map +1 -0
  566. package/dist/src/drawer-container/styles/DrawerContainerToken.d.ts +16 -0
  567. package/dist/src/drawer-container/styles/DrawerContainerToken.d.ts.map +1 -0
  568. package/dist/src/drawer-container/styles/index.d.ts +2 -0
  569. package/dist/src/drawer-container/styles/index.d.ts.map +1 -0
  570. package/dist/src/expansion-panel/AccordionElement.d.ts +53 -0
  571. package/dist/src/expansion-panel/AccordionElement.d.ts.map +1 -0
  572. package/dist/src/expansion-panel/ExpansionHeaderElement.d.ts +62 -0
  573. package/dist/src/expansion-panel/ExpansionHeaderElement.d.ts.map +1 -0
  574. package/dist/src/expansion-panel/ExpansionPanelElement.d.ts +132 -0
  575. package/dist/src/expansion-panel/ExpansionPanelElement.d.ts.map +1 -0
  576. package/dist/src/expansion-panel/ExpansionToggleDirection.d.ts +3 -0
  577. package/dist/src/expansion-panel/ExpansionToggleDirection.d.ts.map +1 -0
  578. package/dist/src/expansion-panel/ExpansionTogglePosition.d.ts +3 -0
  579. package/dist/src/expansion-panel/ExpansionTogglePosition.d.ts.map +1 -0
  580. package/dist/src/expansion-panel/index.d.ts +6 -0
  581. package/dist/src/expansion-panel/index.d.ts.map +1 -0
  582. package/dist/src/expansion-panel/styles/ExpansionHeaderStyle.d.ts +6 -0
  583. package/dist/src/expansion-panel/styles/ExpansionHeaderStyle.d.ts.map +1 -0
  584. package/dist/src/expansion-panel/styles/ExpansionHeaderToken.d.ts +17 -0
  585. package/dist/src/expansion-panel/styles/ExpansionHeaderToken.d.ts.map +1 -0
  586. package/dist/src/expansion-panel/styles/ExpansionPanelStyle.d.ts +6 -0
  587. package/dist/src/expansion-panel/styles/ExpansionPanelStyle.d.ts.map +1 -0
  588. package/dist/src/expansion-panel/styles/ExpansionPanelToken.d.ts +21 -0
  589. package/dist/src/expansion-panel/styles/ExpansionPanelToken.d.ts.map +1 -0
  590. package/dist/src/expansion-panel/styles/index.d.ts +3 -0
  591. package/dist/src/expansion-panel/styles/index.d.ts.map +1 -0
  592. package/dist/src/fab/FabElement.d.ts +356 -0
  593. package/dist/src/fab/FabElement.d.ts.map +1 -0
  594. package/dist/src/fab/FabSize.d.ts +3 -0
  595. package/dist/src/fab/FabSize.d.ts.map +1 -0
  596. package/dist/src/fab/FabVariant.d.ts +3 -0
  597. package/dist/src/fab/FabVariant.d.ts.map +1 -0
  598. package/dist/src/fab/index.d.ts +4 -0
  599. package/dist/src/fab/index.d.ts.map +1 -0
  600. package/dist/src/fab/styles/FabSizeStyle.d.ts +7 -0
  601. package/dist/src/fab/styles/FabSizeStyle.d.ts.map +1 -0
  602. package/dist/src/fab/styles/FabSizeToken.d.ts +25 -0
  603. package/dist/src/fab/styles/FabSizeToken.d.ts.map +1 -0
  604. package/dist/src/fab/styles/FabStyle.d.ts +7 -0
  605. package/dist/src/fab/styles/FabStyle.d.ts.map +1 -0
  606. package/dist/src/fab/styles/FabVariantStyle.d.ts +7 -0
  607. package/dist/src/fab/styles/FabVariantStyle.d.ts.map +1 -0
  608. package/dist/src/fab/styles/FabVariantToken.d.ts +52 -0
  609. package/dist/src/fab/styles/FabVariantToken.d.ts.map +1 -0
  610. package/dist/src/fab/styles/index.d.ts +4 -0
  611. package/dist/src/fab/styles/index.d.ts.map +1 -0
  612. package/dist/src/fab-menu/FabMenuElement.d.ts +110 -0
  613. package/dist/src/fab-menu/FabMenuElement.d.ts.map +1 -0
  614. package/dist/src/fab-menu/FabMenuItemElement.d.ts +74 -0
  615. package/dist/src/fab-menu/FabMenuItemElement.d.ts.map +1 -0
  616. package/dist/src/fab-menu/FabMenuTriggerElement.d.ts +43 -0
  617. package/dist/src/fab-menu/FabMenuTriggerElement.d.ts.map +1 -0
  618. package/dist/src/fab-menu/FabMenuVariant.d.ts +3 -0
  619. package/dist/src/fab-menu/FabMenuVariant.d.ts.map +1 -0
  620. package/dist/src/fab-menu/index.d.ts +5 -0
  621. package/dist/src/fab-menu/index.d.ts.map +1 -0
  622. package/dist/src/form-field/FloatLabelType.d.ts +3 -0
  623. package/dist/src/form-field/FloatLabelType.d.ts.map +1 -0
  624. package/dist/src/form-field/FormFieldControl.d.ts +48 -0
  625. package/dist/src/form-field/FormFieldControl.d.ts.map +1 -0
  626. package/dist/src/form-field/FormFieldElement.d.ts +145 -0
  627. package/dist/src/form-field/FormFieldElement.d.ts.map +1 -0
  628. package/dist/src/form-field/FormFieldVariant.d.ts +3 -0
  629. package/dist/src/form-field/FormFieldVariant.d.ts.map +1 -0
  630. package/dist/src/form-field/HideSubscriptType.d.ts +3 -0
  631. package/dist/src/form-field/HideSubscriptType.d.ts.map +1 -0
  632. package/dist/src/form-field/index.d.ts +6 -0
  633. package/dist/src/form-field/index.d.ts.map +1 -0
  634. package/dist/src/heading/HeadingElement.d.ts +176 -0
  635. package/dist/src/heading/HeadingElement.d.ts.map +1 -0
  636. package/dist/src/heading/HeadingLevel.d.ts +3 -0
  637. package/dist/src/heading/HeadingLevel.d.ts.map +1 -0
  638. package/dist/src/heading/HeadingSize.d.ts +3 -0
  639. package/dist/src/heading/HeadingSize.d.ts.map +1 -0
  640. package/dist/src/heading/HeadingVariant.d.ts +3 -0
  641. package/dist/src/heading/HeadingVariant.d.ts.map +1 -0
  642. package/dist/src/heading/index.d.ts +5 -0
  643. package/dist/src/heading/index.d.ts.map +1 -0
  644. package/dist/src/icon/IconElement.d.ts +83 -0
  645. package/dist/src/icon/IconElement.d.ts.map +1 -0
  646. package/dist/src/icon/IconGrade.d.ts +3 -0
  647. package/dist/src/icon/IconGrade.d.ts.map +1 -0
  648. package/dist/src/icon/IconVariant.d.ts +3 -0
  649. package/dist/src/icon/IconVariant.d.ts.map +1 -0
  650. package/dist/src/icon/index.d.ts +4 -0
  651. package/dist/src/icon/index.d.ts.map +1 -0
  652. package/dist/src/icon-button/IconButtonElement.d.ts +316 -0
  653. package/dist/src/icon-button/IconButtonElement.d.ts.map +1 -0
  654. package/dist/src/icon-button/IconButtonShape.d.ts +3 -0
  655. package/dist/src/icon-button/IconButtonShape.d.ts.map +1 -0
  656. package/dist/src/icon-button/IconButtonSize.d.ts +3 -0
  657. package/dist/src/icon-button/IconButtonSize.d.ts.map +1 -0
  658. package/dist/src/icon-button/IconButtonVariant.d.ts +3 -0
  659. package/dist/src/icon-button/IconButtonVariant.d.ts.map +1 -0
  660. package/dist/src/icon-button/IconButtonWidth.d.ts +3 -0
  661. package/dist/src/icon-button/IconButtonWidth.d.ts.map +1 -0
  662. package/dist/src/icon-button/index.d.ts +6 -0
  663. package/dist/src/icon-button/index.d.ts.map +1 -0
  664. package/dist/src/icon-button/styles/IconButtonSizeStyle.d.ts +7 -0
  665. package/dist/src/icon-button/styles/IconButtonSizeStyle.d.ts.map +1 -0
  666. package/dist/src/icon-button/styles/IconButtonSizeToken.d.ts +26 -0
  667. package/dist/src/icon-button/styles/IconButtonSizeToken.d.ts.map +1 -0
  668. package/dist/src/icon-button/styles/IconButtonStyle.d.ts +7 -0
  669. package/dist/src/icon-button/styles/IconButtonStyle.d.ts.map +1 -0
  670. package/dist/src/icon-button/styles/IconButtonVariantStyle.d.ts +7 -0
  671. package/dist/src/icon-button/styles/IconButtonVariantStyle.d.ts.map +1 -0
  672. package/dist/src/icon-button/styles/IconButtonVariantToken.d.ts +61 -0
  673. package/dist/src/icon-button/styles/IconButtonVariantToken.d.ts.map +1 -0
  674. package/dist/src/icon-button/styles/index.d.ts +4 -0
  675. package/dist/src/icon-button/styles/index.d.ts.map +1 -0
  676. package/dist/src/index.d.ts +1 -0
  677. package/dist/src/index.d.ts.map +1 -0
  678. package/dist/src/list/ActionListElement.d.ts +46 -0
  679. package/dist/src/list/ActionListElement.d.ts.map +1 -0
  680. package/dist/src/list/ExpandableListItemElement.d.ts +152 -0
  681. package/dist/src/list/ExpandableListItemElement.d.ts.map +1 -0
  682. package/dist/src/list/ListActionElement.d.ts +111 -0
  683. package/dist/src/list/ListActionElement.d.ts.map +1 -0
  684. package/dist/src/list/ListElement.d.ts +89 -0
  685. package/dist/src/list/ListElement.d.ts.map +1 -0
  686. package/dist/src/list/ListItemButtonElement.d.ts +25 -0
  687. package/dist/src/list/ListItemButtonElement.d.ts.map +1 -0
  688. package/dist/src/list/ListItemContentType.d.ts +3 -0
  689. package/dist/src/list/ListItemContentType.d.ts.map +1 -0
  690. package/dist/src/list/ListItemElement.d.ts +112 -0
  691. package/dist/src/list/ListItemElement.d.ts.map +1 -0
  692. package/dist/src/list/ListOptionElement.d.ts +127 -0
  693. package/dist/src/list/ListOptionElement.d.ts.map +1 -0
  694. package/dist/src/list/ListVariant.d.ts +3 -0
  695. package/dist/src/list/ListVariant.d.ts.map +1 -0
  696. package/dist/src/list/SelectionListElement.d.ts +77 -0
  697. package/dist/src/list/SelectionListElement.d.ts.map +1 -0
  698. package/dist/src/list/index.d.ts +11 -0
  699. package/dist/src/list/index.d.ts.map +1 -0
  700. package/dist/src/loading-indicator/LoadingIndicatorElement.d.ts +56 -0
  701. package/dist/src/loading-indicator/LoadingIndicatorElement.d.ts.map +1 -0
  702. package/dist/src/loading-indicator/LoadingIndicatorToken.d.ts +9 -0
  703. package/dist/src/loading-indicator/LoadingIndicatorToken.d.ts.map +1 -0
  704. package/dist/src/loading-indicator/LoadingIndicatorVariant.d.ts +3 -0
  705. package/dist/src/loading-indicator/LoadingIndicatorVariant.d.ts.map +1 -0
  706. package/dist/src/loading-indicator/ShapePolygon.d.ts +7 -0
  707. package/dist/src/loading-indicator/ShapePolygon.d.ts.map +1 -0
  708. package/dist/src/loading-indicator/index.d.ts +3 -0
  709. package/dist/src/loading-indicator/index.d.ts.map +1 -0
  710. package/dist/src/menu/MenuElement.d.ts +156 -0
  711. package/dist/src/menu/MenuElement.d.ts.map +1 -0
  712. package/dist/src/menu/MenuItemCheckboxElement.d.ts +94 -0
  713. package/dist/src/menu/MenuItemCheckboxElement.d.ts.map +1 -0
  714. package/dist/src/menu/MenuItemElement.d.ts +130 -0
  715. package/dist/src/menu/MenuItemElement.d.ts.map +1 -0
  716. package/dist/src/menu/MenuItemElementBase.d.ts +21 -0
  717. package/dist/src/menu/MenuItemElementBase.d.ts.map +1 -0
  718. package/dist/src/menu/MenuItemGroupElement.d.ts +27 -0
  719. package/dist/src/menu/MenuItemGroupElement.d.ts.map +1 -0
  720. package/dist/src/menu/MenuItemRadioElement.d.ts +95 -0
  721. package/dist/src/menu/MenuItemRadioElement.d.ts.map +1 -0
  722. package/dist/src/menu/MenuPosition.d.ts +5 -0
  723. package/dist/src/menu/MenuPosition.d.ts.map +1 -0
  724. package/dist/src/menu/MenuTriggerElement.d.ts +78 -0
  725. package/dist/src/menu/MenuTriggerElement.d.ts.map +1 -0
  726. package/dist/src/menu/MenuVariant.d.ts +3 -0
  727. package/dist/src/menu/MenuVariant.d.ts.map +1 -0
  728. package/dist/src/menu/index.d.ts +9 -0
  729. package/dist/src/menu/index.d.ts.map +1 -0
  730. package/dist/src/nav-bar/NavBarElement.d.ts +73 -0
  731. package/dist/src/nav-bar/NavBarElement.d.ts.map +1 -0
  732. package/dist/src/nav-bar/NavBarMode.d.ts +3 -0
  733. package/dist/src/nav-bar/NavBarMode.d.ts.map +1 -0
  734. package/dist/src/nav-bar/NavItemElement.d.ts +105 -0
  735. package/dist/src/nav-bar/NavItemElement.d.ts.map +1 -0
  736. package/dist/src/nav-bar/NavItemOrientation.d.ts +3 -0
  737. package/dist/src/nav-bar/NavItemOrientation.d.ts.map +1 -0
  738. package/dist/src/nav-bar/index.d.ts +5 -0
  739. package/dist/src/nav-bar/index.d.ts.map +1 -0
  740. package/dist/src/nav-menu/NavMenuElement.d.ts +113 -0
  741. package/dist/src/nav-menu/NavMenuElement.d.ts.map +1 -0
  742. package/dist/src/nav-menu/NavMenuItemElement.d.ts +189 -0
  743. package/dist/src/nav-menu/NavMenuItemElement.d.ts.map +1 -0
  744. package/dist/src/nav-menu/NavMenuItemGroupElement.d.ts +63 -0
  745. package/dist/src/nav-menu/NavMenuItemGroupElement.d.ts.map +1 -0
  746. package/dist/src/nav-menu/index.d.ts +4 -0
  747. package/dist/src/nav-menu/index.d.ts.map +1 -0
  748. package/dist/src/nav-rail/NavRailElement.d.ts +69 -0
  749. package/dist/src/nav-rail/NavRailElement.d.ts.map +1 -0
  750. package/dist/src/nav-rail/NavRailToggleElement.d.ts +46 -0
  751. package/dist/src/nav-rail/NavRailToggleElement.d.ts.map +1 -0
  752. package/dist/src/nav-rail/index.d.ts +3 -0
  753. package/dist/src/nav-rail/index.d.ts.map +1 -0
  754. package/dist/src/option/OptGroupElement.d.ts +42 -0
  755. package/dist/src/option/OptGroupElement.d.ts.map +1 -0
  756. package/dist/src/option/OptionElement.d.ts +79 -0
  757. package/dist/src/option/OptionElement.d.ts.map +1 -0
  758. package/dist/src/option/OptionPanelElement.d.ts +82 -0
  759. package/dist/src/option/OptionPanelElement.d.ts.map +1 -0
  760. package/dist/src/option/index.d.ts +4 -0
  761. package/dist/src/option/index.d.ts.map +1 -0
  762. package/dist/src/paginator/PageEventDetail.d.ts +12 -0
  763. package/dist/src/paginator/PageEventDetail.d.ts.map +1 -0
  764. package/dist/src/paginator/PaginatorElement.d.ts +170 -0
  765. package/dist/src/paginator/PaginatorElement.d.ts.map +1 -0
  766. package/dist/src/paginator/index.d.ts +3 -0
  767. package/dist/src/paginator/index.d.ts.map +1 -0
  768. package/dist/src/progress-indicator/CircularProgressIndicatorElement.d.ts +65 -0
  769. package/dist/src/progress-indicator/CircularProgressIndicatorElement.d.ts.map +1 -0
  770. package/dist/src/progress-indicator/LinearProgressIndicatorElement.d.ts +70 -0
  771. package/dist/src/progress-indicator/LinearProgressIndicatorElement.d.ts.map +1 -0
  772. package/dist/src/progress-indicator/LinearProgressMode.d.ts +3 -0
  773. package/dist/src/progress-indicator/LinearProgressMode.d.ts.map +1 -0
  774. package/dist/src/progress-indicator/ProgressElementIndicatorBase.d.ts +29 -0
  775. package/dist/src/progress-indicator/ProgressElementIndicatorBase.d.ts.map +1 -0
  776. package/dist/src/progress-indicator/ProgressIndicatorVariant.d.ts +3 -0
  777. package/dist/src/progress-indicator/ProgressIndicatorVariant.d.ts.map +1 -0
  778. package/dist/src/progress-indicator/index.d.ts +6 -0
  779. package/dist/src/progress-indicator/index.d.ts.map +1 -0
  780. package/dist/src/radio-group/RadioElement.d.ts +88 -0
  781. package/dist/src/radio-group/RadioElement.d.ts.map +1 -0
  782. package/dist/src/radio-group/RadioGroupElement.d.ts +77 -0
  783. package/dist/src/radio-group/RadioGroupElement.d.ts.map +1 -0
  784. package/dist/src/radio-group/index.d.ts +3 -0
  785. package/dist/src/radio-group/index.d.ts.map +1 -0
  786. package/dist/src/segmented-button/ButtonSegmentElement.d.ts +105 -0
  787. package/dist/src/segmented-button/ButtonSegmentElement.d.ts.map +1 -0
  788. package/dist/src/segmented-button/SegmentedButtonElement.d.ts +90 -0
  789. package/dist/src/segmented-button/SegmentedButtonElement.d.ts.map +1 -0
  790. package/dist/src/segmented-button/index.d.ts +3 -0
  791. package/dist/src/segmented-button/index.d.ts.map +1 -0
  792. package/dist/src/select/SelectElement.d.ts +119 -0
  793. package/dist/src/select/SelectElement.d.ts.map +1 -0
  794. package/dist/src/select/index.d.ts +2 -0
  795. package/dist/src/select/index.d.ts.map +1 -0
  796. package/dist/src/shape/ShapeElement.d.ts +48 -0
  797. package/dist/src/shape/ShapeElement.d.ts.map +1 -0
  798. package/dist/src/shape/ShapeName.d.ts +3 -0
  799. package/dist/src/shape/ShapeName.d.ts.map +1 -0
  800. package/dist/src/shape/ShapeNameStyle.d.ts +7 -0
  801. package/dist/src/shape/ShapeNameStyle.d.ts.map +1 -0
  802. package/dist/src/shape/ShapePolygon.d.ts +8 -0
  803. package/dist/src/shape/ShapePolygon.d.ts.map +1 -0
  804. package/dist/src/shape/ShapeStyle.d.ts +7 -0
  805. package/dist/src/shape/ShapeStyle.d.ts.map +1 -0
  806. package/dist/src/shape/ShapeToken.d.ts +13 -0
  807. package/dist/src/shape/ShapeToken.d.ts.map +1 -0
  808. package/dist/src/shape/index.d.ts +3 -0
  809. package/dist/src/shape/index.d.ts.map +1 -0
  810. package/dist/src/slide-group/SlideGroupElement.d.ts +91 -0
  811. package/dist/src/slide-group/SlideGroupElement.d.ts.map +1 -0
  812. package/dist/src/slide-group/index.d.ts +2 -0
  813. package/dist/src/slide-group/index.d.ts.map +1 -0
  814. package/dist/src/slider/SliderElement.d.ts +144 -0
  815. package/dist/src/slider/SliderElement.d.ts.map +1 -0
  816. package/dist/src/slider/SliderSize.d.ts +3 -0
  817. package/dist/src/slider/SliderSize.d.ts.map +1 -0
  818. package/dist/src/slider/SliderThumbElement.d.ts +80 -0
  819. package/dist/src/slider/SliderThumbElement.d.ts.map +1 -0
  820. package/dist/src/slider/index.d.ts +4 -0
  821. package/dist/src/slider/index.d.ts.map +1 -0
  822. package/dist/src/snackbar/Snackbar.d.ts +62 -0
  823. package/dist/src/snackbar/Snackbar.d.ts.map +1 -0
  824. package/dist/src/snackbar/SnackbarElement.d.ts +79 -0
  825. package/dist/src/snackbar/SnackbarElement.d.ts.map +1 -0
  826. package/dist/src/snackbar/index.d.ts +3 -0
  827. package/dist/src/snackbar/index.d.ts.map +1 -0
  828. package/dist/src/split-button/SplitButtonElement.d.ts +106 -0
  829. package/dist/src/split-button/SplitButtonElement.d.ts.map +1 -0
  830. package/dist/src/split-button/SplitButtonVariant.d.ts +3 -0
  831. package/dist/src/split-button/SplitButtonVariant.d.ts.map +1 -0
  832. package/dist/src/split-button/index.d.ts +3 -0
  833. package/dist/src/split-button/index.d.ts.map +1 -0
  834. package/dist/src/stepper/StepElement.d.ts +161 -0
  835. package/dist/src/stepper/StepElement.d.ts.map +1 -0
  836. package/dist/src/stepper/StepHeaderPosition.d.ts +3 -0
  837. package/dist/src/stepper/StepHeaderPosition.d.ts.map +1 -0
  838. package/dist/src/stepper/StepLabelPosition.d.ts +3 -0
  839. package/dist/src/stepper/StepLabelPosition.d.ts.map +1 -0
  840. package/dist/src/stepper/StepPanelElement.d.ts +76 -0
  841. package/dist/src/stepper/StepPanelElement.d.ts.map +1 -0
  842. package/dist/src/stepper/StepperButtonElementBase.d.ts +9 -0
  843. package/dist/src/stepper/StepperButtonElementBase.d.ts.map +1 -0
  844. package/dist/src/stepper/StepperElement.d.ts +139 -0
  845. package/dist/src/stepper/StepperElement.d.ts.map +1 -0
  846. package/dist/src/stepper/StepperNextElement.d.ts +16 -0
  847. package/dist/src/stepper/StepperNextElement.d.ts.map +1 -0
  848. package/dist/src/stepper/StepperOrientation.d.ts +3 -0
  849. package/dist/src/stepper/StepperOrientation.d.ts.map +1 -0
  850. package/dist/src/stepper/StepperPreviousElement.d.ts +16 -0
  851. package/dist/src/stepper/StepperPreviousElement.d.ts.map +1 -0
  852. package/dist/src/stepper/StepperResetElement.d.ts +16 -0
  853. package/dist/src/stepper/StepperResetElement.d.ts.map +1 -0
  854. package/dist/src/stepper/index.d.ts +11 -0
  855. package/dist/src/stepper/index.d.ts.map +1 -0
  856. package/dist/src/switch/SwitchElement.d.ts +147 -0
  857. package/dist/src/switch/SwitchElement.d.ts.map +1 -0
  858. package/dist/src/switch/SwitchIcons.d.ts +3 -0
  859. package/dist/src/switch/SwitchIcons.d.ts.map +1 -0
  860. package/dist/src/switch/index.d.ts +3 -0
  861. package/dist/src/switch/index.d.ts.map +1 -0
  862. package/dist/src/switch/styles/SwitchHandleStyle.d.ts +6 -0
  863. package/dist/src/switch/styles/SwitchHandleStyle.d.ts.map +1 -0
  864. package/dist/src/switch/styles/SwitchIconStyle.d.ts +6 -0
  865. package/dist/src/switch/styles/SwitchIconStyle.d.ts.map +1 -0
  866. package/dist/src/switch/styles/SwitchStateLayerStyle.d.ts +6 -0
  867. package/dist/src/switch/styles/SwitchStateLayerStyle.d.ts.map +1 -0
  868. package/dist/src/switch/styles/SwitchStyle.d.ts +6 -0
  869. package/dist/src/switch/styles/SwitchStyle.d.ts.map +1 -0
  870. package/dist/src/switch/styles/SwitchToken.d.ts +76 -0
  871. package/dist/src/switch/styles/SwitchToken.d.ts.map +1 -0
  872. package/dist/src/switch/styles/SwitchTrackStyle.d.ts +6 -0
  873. package/dist/src/switch/styles/SwitchTrackStyle.d.ts.map +1 -0
  874. package/dist/src/switch/styles/index.d.ts +6 -0
  875. package/dist/src/switch/styles/index.d.ts.map +1 -0
  876. package/dist/src/tabs/TabElement.d.ts +90 -0
  877. package/dist/src/tabs/TabElement.d.ts.map +1 -0
  878. package/dist/src/tabs/TabHeaderPosition.d.ts +3 -0
  879. package/dist/src/tabs/TabHeaderPosition.d.ts.map +1 -0
  880. package/dist/src/tabs/TabPanelElement.d.ts +45 -0
  881. package/dist/src/tabs/TabPanelElement.d.ts.map +1 -0
  882. package/dist/src/tabs/TabVariant.d.ts +3 -0
  883. package/dist/src/tabs/TabVariant.d.ts.map +1 -0
  884. package/dist/src/tabs/TabsElement.d.ts +118 -0
  885. package/dist/src/tabs/TabsElement.d.ts.map +1 -0
  886. package/dist/src/tabs/index.d.ts +6 -0
  887. package/dist/src/tabs/index.d.ts.map +1 -0
  888. package/dist/src/textarea-autosize/TextareaAutosizeElement.d.ts +81 -0
  889. package/dist/src/textarea-autosize/TextareaAutosizeElement.d.ts.map +1 -0
  890. package/dist/src/textarea-autosize/index.d.ts +2 -0
  891. package/dist/src/textarea-autosize/index.d.ts.map +1 -0
  892. package/dist/src/theme/ColorScheme.d.ts +3 -0
  893. package/dist/src/theme/ColorScheme.d.ts.map +1 -0
  894. package/dist/src/theme/ContrastLevel.d.ts +3 -0
  895. package/dist/src/theme/ContrastLevel.d.ts.map +1 -0
  896. package/dist/src/theme/MotionScheme.d.ts +3 -0
  897. package/dist/src/theme/MotionScheme.d.ts.map +1 -0
  898. package/dist/src/theme/ThemeElement.d.ts +91 -0
  899. package/dist/src/theme/ThemeElement.d.ts.map +1 -0
  900. package/dist/src/theme/index.d.ts +5 -0
  901. package/dist/src/theme/index.d.ts.map +1 -0
  902. package/dist/src/toc/TocElement.d.ts +86 -0
  903. package/dist/src/toc/TocElement.d.ts.map +1 -0
  904. package/dist/src/toc/TocGenerator.d.ts +25 -0
  905. package/dist/src/toc/TocGenerator.d.ts.map +1 -0
  906. package/dist/src/toc/TocItemElement.d.ts +49 -0
  907. package/dist/src/toc/TocItemElement.d.ts.map +1 -0
  908. package/dist/src/toc/index.d.ts +4 -0
  909. package/dist/src/toc/index.d.ts.map +1 -0
  910. package/dist/src/toolbar/ToolbarElement.d.ts +89 -0
  911. package/dist/src/toolbar/ToolbarElement.d.ts.map +1 -0
  912. package/dist/src/toolbar/ToolbarShape.d.ts +3 -0
  913. package/dist/src/toolbar/ToolbarShape.d.ts.map +1 -0
  914. package/dist/src/toolbar/ToolbarVariant.d.ts +3 -0
  915. package/dist/src/toolbar/ToolbarVariant.d.ts.map +1 -0
  916. package/dist/src/toolbar/index.d.ts +4 -0
  917. package/dist/src/toolbar/index.d.ts.map +1 -0
  918. package/dist/src/tooltip/RichTooltipActionElement.d.ts +21 -0
  919. package/dist/src/tooltip/RichTooltipActionElement.d.ts.map +1 -0
  920. package/dist/src/tooltip/RichTooltipElement.d.ts +116 -0
  921. package/dist/src/tooltip/RichTooltipElement.d.ts.map +1 -0
  922. package/dist/src/tooltip/RichTooltipPosition.d.ts +3 -0
  923. package/dist/src/tooltip/RichTooltipPosition.d.ts.map +1 -0
  924. package/dist/src/tooltip/TooltipElement.d.ts +73 -0
  925. package/dist/src/tooltip/TooltipElement.d.ts.map +1 -0
  926. package/dist/src/tooltip/TooltipElementBase.d.ts +69 -0
  927. package/dist/src/tooltip/TooltipElementBase.d.ts.map +1 -0
  928. package/dist/src/tooltip/TooltipPosition.d.ts +3 -0
  929. package/dist/src/tooltip/TooltipPosition.d.ts.map +1 -0
  930. package/dist/src/tooltip/TooltipTouchGestures.d.ts +3 -0
  931. package/dist/src/tooltip/TooltipTouchGestures.d.ts.map +1 -0
  932. package/dist/src/tooltip/index.d.ts +8 -0
  933. package/dist/src/tooltip/index.d.ts.map +1 -0
  934. package/dist/stepper.js +1498 -0
  935. package/dist/stepper.js.map +1 -0
  936. package/dist/stepper.min.js +57 -0
  937. package/dist/stepper.min.js.map +1 -0
  938. package/dist/switch.js +758 -0
  939. package/dist/switch.js.map +1 -0
  940. package/dist/switch.min.js +40 -0
  941. package/dist/switch.min.js.map +1 -0
  942. package/dist/tabs.js +1173 -0
  943. package/dist/tabs.js.map +1 -0
  944. package/dist/tabs.min.js +51 -0
  945. package/dist/tabs.min.js.map +1 -0
  946. package/dist/textarea-autosize.js +688 -0
  947. package/dist/textarea-autosize.js.map +1 -0
  948. package/dist/textarea-autosize.min.js +37 -0
  949. package/dist/textarea-autosize.min.js.map +1 -0
  950. package/dist/theme.js +3712 -0
  951. package/dist/theme.js.map +1 -0
  952. package/dist/theme.min.js +339 -0
  953. package/dist/theme.min.js.map +1 -0
  954. package/dist/toc.js +795 -0
  955. package/dist/toc.js.map +1 -0
  956. package/dist/toc.min.js +45 -0
  957. package/dist/toc.min.js.map +1 -0
  958. package/dist/toolbar.js +557 -0
  959. package/dist/toolbar.js.map +1 -0
  960. package/dist/toolbar.min.js +29 -0
  961. package/dist/toolbar.min.js.map +1 -0
  962. package/dist/tooltip.js +1378 -0
  963. package/dist/tooltip.js.map +1 -0
  964. package/dist/tooltip.min.js +57 -0
  965. package/dist/tooltip.min.js.map +1 -0
  966. package/package.json +287 -0
package/dist/tabs.js ADDED
@@ -0,0 +1,1173 @@
1
+ /**
2
+ * @license MIT
3
+ * Copyright (c) 2025 matraic
4
+ * See LICENSE file in the project root for full license text.
5
+ */
6
+ import { LitElement, html, css, nothing, unsafeCSS } from 'lit';
7
+ import { Selected, HtmlFor, KeyboardClick, Focusable, Disabled, AttachInternals, Role, DesignToken, ResizeController } from '@m3e/web/core';
8
+ import { addAriaReferencedId, removeAriaReferencedId, selectionManager, SelectionManager } from '@m3e/web/core/a11y';
9
+ import { M3eDirectionality } from '@m3e/web/core/bidi';
10
+
11
+ /******************************************************************************
12
+ Copyright (c) Microsoft Corporation.
13
+
14
+ Permission to use, copy, modify, and/or distribute this software for any
15
+ purpose with or without fee is hereby granted.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
18
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
20
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
21
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
+ PERFORMANCE OF THIS SOFTWARE.
24
+ ***************************************************************************** */
25
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
26
+
27
+ function __decorate(decorators, target, key, desc) {
28
+ var c = arguments.length,
29
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
30
+ d;
31
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
32
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
33
+ }
34
+ function __classPrivateFieldGet(receiver, state, kind, f) {
35
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
36
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
37
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
38
+ }
39
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
40
+ if (kind === "m") throw new TypeError("Private method is not writable");
41
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
42
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
43
+ return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
44
+ }
45
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
46
+ var e = new Error(message);
47
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
48
+ };
49
+
50
+ /**
51
+ * @license
52
+ * Copyright 2017 Google LLC
53
+ * SPDX-License-Identifier: BSD-3-Clause
54
+ */
55
+ const t$2 = t => (e, o) => {
56
+ void 0 !== o ? o.addInitializer(() => {
57
+ customElements.define(t, e);
58
+ }) : customElements.define(t, e);
59
+ };
60
+
61
+ /**
62
+ * @license
63
+ * Copyright 2019 Google LLC
64
+ * SPDX-License-Identifier: BSD-3-Clause
65
+ */
66
+ const t$1 = globalThis,
67
+ e$4 = t$1.ShadowRoot && (void 0 === t$1.ShadyCSS || t$1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
68
+ s$1 = Symbol(),
69
+ o$4 = new WeakMap();
70
+ let n$3 = class n {
71
+ constructor(t, e, o) {
72
+ if (this._$cssResult$ = true, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
73
+ this.cssText = t, this.t = e;
74
+ }
75
+ get styleSheet() {
76
+ let t = this.o;
77
+ const s = this.t;
78
+ if (e$4 && void 0 === t) {
79
+ const e = void 0 !== s && 1 === s.length;
80
+ e && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && o$4.set(s, t));
81
+ }
82
+ return t;
83
+ }
84
+ toString() {
85
+ return this.cssText;
86
+ }
87
+ };
88
+ const r$4 = t => new n$3("string" == typeof t ? t : t + "", void 0, s$1),
89
+ S$1 = (s, o) => {
90
+ if (e$4) s.adoptedStyleSheets = o.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet);else for (const e of o) {
91
+ const o = document.createElement("style"),
92
+ n = t$1.litNonce;
93
+ void 0 !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
94
+ }
95
+ },
96
+ c$2 = e$4 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
97
+ let e = "";
98
+ for (const s of t.cssRules) e += s.cssText;
99
+ return r$4(e);
100
+ })(t) : t;
101
+
102
+ /**
103
+ * @license
104
+ * Copyright 2017 Google LLC
105
+ * SPDX-License-Identifier: BSD-3-Clause
106
+ */
107
+ const {
108
+ is: i$1,
109
+ defineProperty: e$3,
110
+ getOwnPropertyDescriptor: h$1,
111
+ getOwnPropertyNames: r$3,
112
+ getOwnPropertySymbols: o$3,
113
+ getPrototypeOf: n$2
114
+ } = Object,
115
+ a$1 = globalThis,
116
+ c$1 = a$1.trustedTypes,
117
+ l$1 = c$1 ? c$1.emptyScript : "",
118
+ p$1 = a$1.reactiveElementPolyfillSupport,
119
+ d$1 = (t, s) => t,
120
+ u$1 = {
121
+ toAttribute(t, s) {
122
+ switch (s) {
123
+ case Boolean:
124
+ t = t ? l$1 : null;
125
+ break;
126
+ case Object:
127
+ case Array:
128
+ t = null == t ? t : JSON.stringify(t);
129
+ }
130
+ return t;
131
+ },
132
+ fromAttribute(t, s) {
133
+ let i = t;
134
+ switch (s) {
135
+ case Boolean:
136
+ i = null !== t;
137
+ break;
138
+ case Number:
139
+ i = null === t ? null : Number(t);
140
+ break;
141
+ case Object:
142
+ case Array:
143
+ try {
144
+ i = JSON.parse(t);
145
+ } catch (t) {
146
+ i = null;
147
+ }
148
+ }
149
+ return i;
150
+ }
151
+ },
152
+ f$1 = (t, s) => !i$1(t, s),
153
+ b = {
154
+ attribute: true,
155
+ type: String,
156
+ converter: u$1,
157
+ reflect: false,
158
+ useDefault: false,
159
+ hasChanged: f$1
160
+ };
161
+ Symbol.metadata ??= Symbol("metadata"), a$1.litPropertyMetadata ??= new WeakMap();
162
+ class y extends HTMLElement {
163
+ static addInitializer(t) {
164
+ this._$Ei(), (this.l ??= []).push(t);
165
+ }
166
+ static get observedAttributes() {
167
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
168
+ }
169
+ static createProperty(t, s = b) {
170
+ if (s.state && (s.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t) && ((s = Object.create(s)).wrapped = true), this.elementProperties.set(t, s), !s.noAccessor) {
171
+ const i = Symbol(),
172
+ h = this.getPropertyDescriptor(t, i, s);
173
+ void 0 !== h && e$3(this.prototype, t, h);
174
+ }
175
+ }
176
+ static getPropertyDescriptor(t, s, i) {
177
+ const {
178
+ get: e,
179
+ set: r
180
+ } = h$1(this.prototype, t) ?? {
181
+ get() {
182
+ return this[s];
183
+ },
184
+ set(t) {
185
+ this[s] = t;
186
+ }
187
+ };
188
+ return {
189
+ get: e,
190
+ set(s) {
191
+ const h = e?.call(this);
192
+ r?.call(this, s), this.requestUpdate(t, h, i);
193
+ },
194
+ configurable: true,
195
+ enumerable: true
196
+ };
197
+ }
198
+ static getPropertyOptions(t) {
199
+ return this.elementProperties.get(t) ?? b;
200
+ }
201
+ static _$Ei() {
202
+ if (this.hasOwnProperty(d$1("elementProperties"))) return;
203
+ const t = n$2(this);
204
+ t.finalize(), void 0 !== t.l && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
205
+ }
206
+ static finalize() {
207
+ if (this.hasOwnProperty(d$1("finalized"))) return;
208
+ if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
209
+ const t = this.properties,
210
+ s = [...r$3(t), ...o$3(t)];
211
+ for (const i of s) this.createProperty(i, t[i]);
212
+ }
213
+ const t = this[Symbol.metadata];
214
+ if (null !== t) {
215
+ const s = litPropertyMetadata.get(t);
216
+ if (void 0 !== s) for (const [t, i] of s) this.elementProperties.set(t, i);
217
+ }
218
+ this._$Eh = new Map();
219
+ for (const [t, s] of this.elementProperties) {
220
+ const i = this._$Eu(t, s);
221
+ void 0 !== i && this._$Eh.set(i, t);
222
+ }
223
+ this.elementStyles = this.finalizeStyles(this.styles);
224
+ }
225
+ static finalizeStyles(s) {
226
+ const i = [];
227
+ if (Array.isArray(s)) {
228
+ const e = new Set(s.flat(1 / 0).reverse());
229
+ for (const s of e) i.unshift(c$2(s));
230
+ } else void 0 !== s && i.push(c$2(s));
231
+ return i;
232
+ }
233
+ static _$Eu(t, s) {
234
+ const i = s.attribute;
235
+ return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
236
+ }
237
+ constructor() {
238
+ super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
239
+ }
240
+ _$Ev() {
241
+ this._$ES = new Promise(t => this.enableUpdating = t), this._$AL = new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(t => t(this));
242
+ }
243
+ addController(t) {
244
+ (this._$EO ??= new Set()).add(t), void 0 !== this.renderRoot && this.isConnected && t.hostConnected?.();
245
+ }
246
+ removeController(t) {
247
+ this._$EO?.delete(t);
248
+ }
249
+ _$E_() {
250
+ const t = new Map(),
251
+ s = this.constructor.elementProperties;
252
+ for (const i of s.keys()) this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
253
+ t.size > 0 && (this._$Ep = t);
254
+ }
255
+ createRenderRoot() {
256
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
257
+ return S$1(t, this.constructor.elementStyles), t;
258
+ }
259
+ connectedCallback() {
260
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach(t => t.hostConnected?.());
261
+ }
262
+ enableUpdating(t) {}
263
+ disconnectedCallback() {
264
+ this._$EO?.forEach(t => t.hostDisconnected?.());
265
+ }
266
+ attributeChangedCallback(t, s, i) {
267
+ this._$AK(t, i);
268
+ }
269
+ _$ET(t, s) {
270
+ const i = this.constructor.elementProperties.get(t),
271
+ e = this.constructor._$Eu(t, i);
272
+ if (void 0 !== e && true === i.reflect) {
273
+ const h = (void 0 !== i.converter?.toAttribute ? i.converter : u$1).toAttribute(s, i.type);
274
+ this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
275
+ }
276
+ }
277
+ _$AK(t, s) {
278
+ const i = this.constructor,
279
+ e = i._$Eh.get(t);
280
+ if (void 0 !== e && this._$Em !== e) {
281
+ const t = i.getPropertyOptions(e),
282
+ h = "function" == typeof t.converter ? {
283
+ fromAttribute: t.converter
284
+ } : void 0 !== t.converter?.fromAttribute ? t.converter : u$1;
285
+ this._$Em = e;
286
+ const r = h.fromAttribute(s, t.type);
287
+ this[e] = r ?? this._$Ej?.get(e) ?? r, this._$Em = null;
288
+ }
289
+ }
290
+ requestUpdate(t, s, i) {
291
+ if (void 0 !== t) {
292
+ const e = this.constructor,
293
+ h = this[t];
294
+ if (i ??= e.getPropertyOptions(t), !((i.hasChanged ?? f$1)(h, s) || i.useDefault && i.reflect && h === this._$Ej?.get(t) && !this.hasAttribute(e._$Eu(t, i)))) return;
295
+ this.C(t, s, i);
296
+ }
297
+ false === this.isUpdatePending && (this._$ES = this._$EP());
298
+ }
299
+ C(t, s, {
300
+ useDefault: i,
301
+ reflect: e,
302
+ wrapped: h
303
+ }, r) {
304
+ i && !(this._$Ej ??= new Map()).has(t) && (this._$Ej.set(t, r ?? s ?? this[t]), true !== h || void 0 !== r) || (this._$AL.has(t) || (this.hasUpdated || i || (s = void 0), this._$AL.set(t, s)), true === e && this._$Em !== t && (this._$Eq ??= new Set()).add(t));
305
+ }
306
+ async _$EP() {
307
+ this.isUpdatePending = true;
308
+ try {
309
+ await this._$ES;
310
+ } catch (t) {
311
+ Promise.reject(t);
312
+ }
313
+ const t = this.scheduleUpdate();
314
+ return null != t && (await t), !this.isUpdatePending;
315
+ }
316
+ scheduleUpdate() {
317
+ return this.performUpdate();
318
+ }
319
+ performUpdate() {
320
+ if (!this.isUpdatePending) return;
321
+ if (!this.hasUpdated) {
322
+ if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
323
+ for (const [t, s] of this._$Ep) this[t] = s;
324
+ this._$Ep = void 0;
325
+ }
326
+ const t = this.constructor.elementProperties;
327
+ if (t.size > 0) for (const [s, i] of t) {
328
+ const {
329
+ wrapped: t
330
+ } = i,
331
+ e = this[s];
332
+ true !== t || this._$AL.has(s) || void 0 === e || this.C(s, void 0, i, e);
333
+ }
334
+ }
335
+ let t = false;
336
+ const s = this._$AL;
337
+ try {
338
+ t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach(t => t.hostUpdate?.()), this.update(s)) : this._$EM();
339
+ } catch (s) {
340
+ throw t = false, this._$EM(), s;
341
+ }
342
+ t && this._$AE(s);
343
+ }
344
+ willUpdate(t) {}
345
+ _$AE(t) {
346
+ this._$EO?.forEach(t => t.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
347
+ }
348
+ _$EM() {
349
+ this._$AL = new Map(), this.isUpdatePending = false;
350
+ }
351
+ get updateComplete() {
352
+ return this.getUpdateComplete();
353
+ }
354
+ getUpdateComplete() {
355
+ return this._$ES;
356
+ }
357
+ shouldUpdate(t) {
358
+ return true;
359
+ }
360
+ update(t) {
361
+ this._$Eq &&= this._$Eq.forEach(t => this._$ET(t, this[t])), this._$EM();
362
+ }
363
+ updated(t) {}
364
+ firstUpdated(t) {}
365
+ }
366
+ y.elementStyles = [], y.shadowRootOptions = {
367
+ mode: "open"
368
+ }, y[d$1("elementProperties")] = new Map(), y[d$1("finalized")] = new Map(), p$1?.({
369
+ ReactiveElement: y
370
+ }), (a$1.reactiveElementVersions ??= []).push("2.1.1");
371
+
372
+ /**
373
+ * @license
374
+ * Copyright 2017 Google LLC
375
+ * SPDX-License-Identifier: BSD-3-Clause
376
+ */
377
+ const o$2 = {
378
+ attribute: true,
379
+ type: String,
380
+ converter: u$1,
381
+ reflect: false,
382
+ hasChanged: f$1
383
+ },
384
+ r$2 = (t = o$2, e, r) => {
385
+ const {
386
+ kind: n,
387
+ metadata: i
388
+ } = r;
389
+ let s = globalThis.litPropertyMetadata.get(i);
390
+ if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map()), "setter" === n && ((t = Object.create(t)).wrapped = true), s.set(r.name, t), "accessor" === n) {
391
+ const {
392
+ name: o
393
+ } = r;
394
+ return {
395
+ set(r) {
396
+ const n = e.get.call(this);
397
+ e.set.call(this, r), this.requestUpdate(o, n, t);
398
+ },
399
+ init(e) {
400
+ return void 0 !== e && this.C(o, void 0, t, e), e;
401
+ }
402
+ };
403
+ }
404
+ if ("setter" === n) {
405
+ const {
406
+ name: o
407
+ } = r;
408
+ return function (r) {
409
+ const n = this[o];
410
+ e.call(this, r), this.requestUpdate(o, n, t);
411
+ };
412
+ }
413
+ throw Error("Unsupported decorator location: " + n);
414
+ };
415
+ function n$1(t) {
416
+ return (e, o) => "object" == typeof o ? r$2(t, e, o) : ((t, e, o) => {
417
+ const r = e.hasOwnProperty(o);
418
+ return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
419
+ })(t, e, o);
420
+ }
421
+
422
+ /**
423
+ * @license
424
+ * Copyright 2017 Google LLC
425
+ * SPDX-License-Identifier: BSD-3-Clause
426
+ */
427
+ function r$1(r) {
428
+ return n$1({
429
+ ...r,
430
+ state: true,
431
+ attribute: false
432
+ });
433
+ }
434
+
435
+ /**
436
+ * @license
437
+ * Copyright 2017 Google LLC
438
+ * SPDX-License-Identifier: BSD-3-Clause
439
+ */
440
+ const e$2 = (e, t, c) => (c.configurable = true, c.enumerable = true, Reflect.decorate && "object" != typeof t && Object.defineProperty(e, t, c), c);
441
+
442
+ /**
443
+ * @license
444
+ * Copyright 2017 Google LLC
445
+ * SPDX-License-Identifier: BSD-3-Clause
446
+ */
447
+ function e$1(e, r) {
448
+ return (n, s, i) => {
449
+ const o = t => t.renderRoot?.querySelector(e) ?? null;
450
+ return e$2(n, s, {
451
+ get() {
452
+ return o(this);
453
+ }
454
+ });
455
+ };
456
+ }
457
+
458
+ var _M3eTabElement_instances, _M3eTabElement_clickHandler, _M3eTabElement_handleClick;
459
+ var M3eTabElement_1;
460
+ /**
461
+ * An interactive element that, when activated, presents an associated tab panel.
462
+ *
463
+ * @description
464
+ * The `m3e-tab` component is an interactive control used within a tabbed interface to activate and
465
+ * reveal an associated tab panel. It supports accessible labeling, optional iconography, and selection
466
+ * state styling consistent with Material 3 guidance. Tabs may be disabled, selected, or linked to a
467
+ * specific panel via the `for` attribute, enabling declarative control and semantic clarity.
468
+ *
469
+ * @example
470
+ * The following example illustrates using the `m3e-tabs`, `m3e-tab`, and `m3e-tab-panel` components to present
471
+ * secondary tabs.
472
+ * ```html
473
+ * <m3e-tabs>
474
+ * <m3e-tab selected for="videos"><m3e-icon slot="icon" name="videocam"></m3e-icon>Video</m3e-tab>
475
+ * <m3e-tab for="photos"><m3e-icon slot="icon" name="photo"></m3e-icon>Photos</m3e-tab>
476
+ * <m3e-tab for="audio"><m3e-icon slot="icon" name="music_note"></m3e-icon>Audio</m3e-tab>
477
+ * <m3e-tab-panel id="videos">Videos</m3e-tab-panel>
478
+ * <m3e-tab-panel id="photos">Photos</m3e-tab-panel>
479
+ * <m3e-tab-panel id="audio">Audio</m3e-tab-panel>
480
+ * </m3e-tabs>
481
+ * ```
482
+ *
483
+ * @tag m3e-tab
484
+ *
485
+ * @slot - Renders the label of the tab.
486
+ * @slot icon - Renders an icon before the tab's label.
487
+ *
488
+ * @attr disabled - Whether the element is disabled.
489
+ * @attr for - The identifier of the interactive control to which this element is attached.
490
+ * @attr selected - Whether the element is selected.
491
+ *
492
+ * @fires input - Emitted when the selected state changes.
493
+ * @fires change - Emitted when the selected state changes.
494
+ * @fires click - Emitted when the element is clicked.
495
+ *
496
+ * @cssprop --m3e-tab-font-size - Font size for tab label.
497
+ * @cssprop --m3e-tab-font-weight - Font weight for tab label.
498
+ * @cssprop --m3e-tab-line-height - Line height for tab label.
499
+ * @cssprop --m3e-tab-tracking - Letter spacing for tab label.
500
+ * @cssprop --m3e-tab-padding-start - Padding on the inline start of the tab.
501
+ * @cssprop --m3e-tab-padding-end - Padding on the inline end of the tab.
502
+ * @cssprop --m3e-tab-focus-ring-shape - Border radius for the focus ring.
503
+ * @cssprop --m3e-tab-selected-color - Text color for selected tab.
504
+ * @cssprop --m3e-tab-selected-container-hover-color - Hover state-layer color for selected tab.
505
+ * @cssprop --m3e-tab-selected-container-focus-color - Focus state-layer color for selected tab.
506
+ * @cssprop --m3e-tab-selected-ripple-color - Ripple color for selected tab.
507
+ * @cssprop --m3e-tab-unselected-color - Text color for unselected tab.
508
+ * @cssprop --m3e-tab-unselected-container-hover-color - Hover state-layer color for unselected tab.
509
+ * @cssprop --m3e-tab-unselected-container-focus-color - Focus state-layer color for unselected tab.
510
+ * @cssprop --m3e-tab-unselected-ripple-color - Ripple color for unselected tab.
511
+ * @cssprop --m3e-tab-disabled-color - Text color for disabled tab.
512
+ * @cssprop --m3e-tab-disabled-opacity - Text opacity for disabled tab.
513
+ * @cssprop --m3e-tab-spacing - Column gap between icon and label.
514
+ * @cssprop --m3e-tab-icon-size - Font size for slotted icon.
515
+ */
516
+ let M3eTabElement = M3eTabElement_1 = class M3eTabElement extends Selected(HtmlFor(KeyboardClick(Focusable(Disabled(AttachInternals(Role(LitElement, "tab"), true)))))) {
517
+ constructor() {
518
+ super(...arguments);
519
+ _M3eTabElement_instances.add(this);
520
+ /** @private */
521
+ _M3eTabElement_clickHandler.set(this, e => __classPrivateFieldGet(this, _M3eTabElement_instances, "m", _M3eTabElement_handleClick).call(this, e));
522
+ }
523
+ /** @inheritdoc */
524
+ attach(control) {
525
+ super.attach(control);
526
+ control.id = control.id || `m3e-tab-panel-${M3eTabElement_1.__nextId++}`;
527
+ addAriaReferencedId(this, "aria-controls", control.id);
528
+ }
529
+ /** @inheritdoc */
530
+ detach() {
531
+ if (this.control && this.control.id) {
532
+ removeAriaReferencedId(this, "aria-controls", this.control.id);
533
+ }
534
+ super.detach();
535
+ }
536
+ /** @inheritdoc */
537
+ connectedCallback() {
538
+ super.connectedCallback();
539
+ this.addEventListener("click", __classPrivateFieldGet(this, _M3eTabElement_clickHandler, "f"));
540
+ }
541
+ /** @inheritdoc */
542
+ disconnectedCallback() {
543
+ super.disconnectedCallback();
544
+ this.removeEventListener("click", __classPrivateFieldGet(this, _M3eTabElement_clickHandler, "f"));
545
+ }
546
+ /** @inheritdoc */
547
+ firstUpdated(_changedProperties) {
548
+ super.firstUpdated(_changedProperties);
549
+ [this._focusRing, this._stateLayer, this._ripple].forEach(x => x?.attach(this));
550
+ }
551
+ /** @inheritdoc */
552
+ update(changedProperties) {
553
+ super.update(changedProperties);
554
+ if (changedProperties.has("selected")) {
555
+ this.closest("m3e-tabs")?.[selectionManager].notifySelectionChange(this);
556
+ }
557
+ }
558
+ /** @inheritdoc */
559
+ render() {
560
+ return html`<div class="base"><m3e-state-layer class="state-layer" ?disabled="${this.disabled}"></m3e-state-layer><m3e-focus-ring class="focus-ring" inward ?disabled="${this.disabled}"></m3e-focus-ring><m3e-ripple class="ripple" ?disabled="${this.disabled}"></m3e-ripple><div class="touch" aria-hidden="true"></div><div class="wrapper"><slot name="icon" aria-hidden="true"></slot><span class="label"><slot></slot></span></div></div>`;
561
+ }
562
+ };
563
+ _M3eTabElement_clickHandler = new WeakMap();
564
+ _M3eTabElement_instances = new WeakSet();
565
+ _M3eTabElement_handleClick = function _M3eTabElement_handleClick(e) {
566
+ if (this.disabled) {
567
+ e.preventDefault();
568
+ e.stopImmediatePropagation();
569
+ }
570
+ if (e.defaultPrevented || this.selected) return;
571
+ this.selected = true;
572
+ if (this.dispatchEvent(new Event("input", {
573
+ bubbles: true,
574
+ composed: true,
575
+ cancelable: true
576
+ }))) {
577
+ this.closest("m3e-tabs")?.[selectionManager].notifySelectionChange(this);
578
+ this.dispatchEvent(new Event("change", {
579
+ bubbles: true
580
+ }));
581
+ } else {
582
+ this.selected = false;
583
+ }
584
+ };
585
+ /** The styles of the element. */
586
+ M3eTabElement.styles = css`:host { display: inline-block; outline: none; user-select: none; height: calc(var(--_tab-height) + ${DesignToken.density.calc(-3)}); font-size: var(--m3e-tab-font-size, ${DesignToken.typescale.standard.title.small.fontSize}); font-weight: var(--m3e-tab-font-weight, ${DesignToken.typescale.standard.title.small.fontWeight}); line-height: var(--m3e-tab-line-height, ${DesignToken.typescale.standard.title.small.lineHeight}); letter-spacing: var(--m3e-tab-tracking, ${DesignToken.typescale.standard.title.small.tracking}); flex-grow: var(--_tab-grow); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } :host(:not(:disabled)) { cursor: pointer; } .base { box-sizing: border-box; vertical-align: middle; display: inline-flex; align-items: center; justify-content: center; position: relative; width: 100%; height: 100%; padding-inline-start: var(--m3e-tab-padding-start, 1.5rem); padding-inline-end: var(--m3e-tab-padding-end, 1.5rem); } .touch { position: absolute; height: 3rem; left: 0; right: 0; } .focus-ring { border-radius: var(--m3e-tab-focus-ring-shape, ${DesignToken.shape.corner.large}); } :host([selected]:focus-within) .focus-ring { top: var(--_tab-focus-ring-top-offset, 0); bottom: var(--_tab-focus-ring-bottom-offset, 0); } :host([selected]:not(:disabled)) .base { color: var(--m3e-tab-selected-color, ${DesignToken.color.primary}); --m3e-state-layer-hover-color: var(--m3e-tab-selected-container-hover-color, ${DesignToken.color.primary}); --m3e-state-layer-focus-color: var(--m3e-tab-selected-container-focus-color, ${DesignToken.color.primary}); --m3e-ripple-color: var(--m3e-tab-selected-ripple-color, ${DesignToken.color.primary}); } :host(:not([selected]):not(:disabled)) .base { color: var(--m3e-tab-unselected-color, ${DesignToken.color.onSurface}); --m3e-state-layer-hover-color: var(--m3e-tab-unselected-container-hover-color, ${DesignToken.color.onSurface}); --m3e-state-layer-focus-color: var(--m3e-tab-unselected-container-focus-color, ${DesignToken.color.onSurface}); --m3e-ripple-color: var(--m3e-tab-unselected-ripple-color, ${DesignToken.color.onSurface}); } :host(:disabled) .base { color: color-mix( in srgb, var(--m3e-tab-disabled-color, ${DesignToken.color.onSurface}) var(--m3e-tab-disabled-opacity, 38%), transparent ); } .wrapper { display: inline-flex; align-items: center; white-space: nowrap; flex-direction: var(--_tab-direction); justify-content: center; column-gap: var(--m3e-tab-spacing, 0.5rem); } ::slotted([slot="icon"]) { width: 1em; font-size: var(--m3e-tab-icon-size, 1.5rem) !important; } @media (forced-colors: active) { :host([selected]:not(:disabled)) .base { color: ButtonText; } :host(:not([selected]):not(:disabled)) .base { color: ButtonText; } :host(:disabled) .base { color: GrayText; } }`;
587
+ /** @private */
588
+ M3eTabElement.__nextId = 0;
589
+ __decorate([e$1(".focus-ring")], M3eTabElement.prototype, "_focusRing", void 0);
590
+ __decorate([e$1(".state-layer")], M3eTabElement.prototype, "_stateLayer", void 0);
591
+ __decorate([e$1(".ripple")], M3eTabElement.prototype, "_ripple", void 0);
592
+ __decorate([e$1(".label")], M3eTabElement.prototype, "label", void 0);
593
+ M3eTabElement = M3eTabElement_1 = __decorate([t$2("m3e-tab")], M3eTabElement);
594
+
595
+ /**
596
+ * A panel presented for a tab.
597
+ *
598
+ * @description
599
+ * The `m3e-tab-panel` component represents the content region associated with a selected tab.
600
+ * It is conditionally rendered based on tab selection and provides a structured surface for
601
+ * displaying contextual information, media, or interactive elements. Panels are linked to their
602
+ * corresponding tabs via the `for` attribute on `m3e-tab`, enabling declarative control and
603
+ * accessible navigation consistent with Material 3 guidance.
604
+ *
605
+ * @example
606
+ * The following example illustrates using the `m3e-tabs`, `m3e-tab`, and `m3e-tab-panel` components to present
607
+ * secondary tabs.
608
+ * ```html
609
+ * <m3e-tabs>
610
+ * <m3e-tab selected for="videos"><m3e-icon slot="icon" name="videocam"></m3e-icon>Video</m3e-tab>
611
+ * <m3e-tab for="photos"><m3e-icon slot="icon" name="photo"></m3e-icon>Photos</m3e-tab>
612
+ * <m3e-tab for="audio"><m3e-icon slot="icon" name="music_note"></m3e-icon>Audio</m3e-tab>
613
+ * <m3e-tab-panel id="videos">Videos</m3e-tab-panel>
614
+ * <m3e-tab-panel id="photos">Photos</m3e-tab-panel>
615
+ * <m3e-tab-panel id="audio">Audio</m3e-tab-panel>
616
+ * </m3e-tabs>
617
+ * ```
618
+ *
619
+ * @tag m3e-tab-panel
620
+ *
621
+ * @slot - Renders the content of the panel.
622
+ */
623
+ let M3eTabPanelElement = class M3eTabPanelElement extends Role(LitElement, "tabpanel") {
624
+ /** @inheritdoc */
625
+ connectedCallback() {
626
+ super.connectedCallback();
627
+ this.slot = "panel";
628
+ }
629
+ /** @inheritdoc */
630
+ render() {
631
+ return html`<slot></slot>`;
632
+ }
633
+ };
634
+ /** The styles of the element. */
635
+ M3eTabPanelElement.styles = css`:host { display: block; overflow-y: auto; scrollbar-width: ${DesignToken.scrollbar.width}; scrollbar-color: ${DesignToken.scrollbar.color}; }`;
636
+ M3eTabPanelElement = __decorate([t$2("m3e-tab-panel")], M3eTabPanelElement);
637
+
638
+ /**
639
+ * @license
640
+ * Copyright 2017 Google LLC
641
+ * SPDX-License-Identifier: BSD-3-Clause
642
+ */
643
+ const t = globalThis,
644
+ i = t.trustedTypes,
645
+ s = i ? i.createPolicy("lit-html", {
646
+ createHTML: t => t
647
+ }) : void 0,
648
+ e = "$lit$",
649
+ h = `lit$${Math.random().toFixed(9).slice(2)}$`,
650
+ o$1 = "?" + h,
651
+ n = `<${o$1}>`,
652
+ r = document,
653
+ l = () => r.createComment(""),
654
+ c = t => null === t || "object" != typeof t && "function" != typeof t,
655
+ a = Array.isArray,
656
+ u = t => a(t) || "function" == typeof t?.[Symbol.iterator],
657
+ d = "[ \t\n\f\r]",
658
+ f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
659
+ v = /-->/g,
660
+ _ = />/g,
661
+ m = RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
662
+ p = /'/g,
663
+ g = /"/g,
664
+ $ = /^(?:script|style|textarea|title)$/i,
665
+ T = Symbol.for("lit-noChange"),
666
+ E = Symbol.for("lit-nothing"),
667
+ A = new WeakMap(),
668
+ C = r.createTreeWalker(r, 129);
669
+ function P(t, i) {
670
+ if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
671
+ return void 0 !== s ? s.createHTML(i) : i;
672
+ }
673
+ const V = (t, i) => {
674
+ const s = t.length - 1,
675
+ o = [];
676
+ let r,
677
+ l = 2 === i ? "<svg>" : 3 === i ? "<math>" : "",
678
+ c = f;
679
+ for (let i = 0; i < s; i++) {
680
+ const s = t[i];
681
+ let a,
682
+ u,
683
+ d = -1,
684
+ y = 0;
685
+ for (; y < s.length && (c.lastIndex = y, u = c.exec(s), null !== u);) y = c.lastIndex, c === f ? "!--" === u[1] ? c = v : void 0 !== u[1] ? c = _ : void 0 !== u[2] ? ($.test(u[2]) && (r = RegExp("</" + u[2], "g")), c = m) : void 0 !== u[3] && (c = m) : c === m ? ">" === u[0] ? (c = r ?? f, d = -1) : void 0 === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = void 0 === u[3] ? m : '"' === u[3] ? g : p) : c === g || c === p ? c = m : c === v || c === _ ? c = f : (c = m, r = void 0);
686
+ const x = c === m && t[i + 1].startsWith("/>") ? " " : "";
687
+ l += c === f ? s + n : d >= 0 ? (o.push(a), s.slice(0, d) + e + s.slice(d) + h + x) : s + h + (-2 === d ? i : x);
688
+ }
689
+ return [P(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")), o];
690
+ };
691
+ class N {
692
+ constructor({
693
+ strings: t,
694
+ _$litType$: s
695
+ }, n) {
696
+ let r;
697
+ this.parts = [];
698
+ let c = 0,
699
+ a = 0;
700
+ const u = t.length - 1,
701
+ d = this.parts,
702
+ [f, v] = V(t, s);
703
+ if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {
704
+ const t = this.el.content.firstChild;
705
+ t.replaceWith(...t.childNodes);
706
+ }
707
+ for (; null !== (r = C.nextNode()) && d.length < u;) {
708
+ if (1 === r.nodeType) {
709
+ if (r.hasAttributes()) for (const t of r.getAttributeNames()) if (t.endsWith(e)) {
710
+ const i = v[a++],
711
+ s = r.getAttribute(t).split(h),
712
+ e = /([.?@])?(.*)/.exec(i);
713
+ d.push({
714
+ type: 1,
715
+ index: c,
716
+ name: e[2],
717
+ strings: s,
718
+ ctor: "." === e[1] ? H : "?" === e[1] ? I : "@" === e[1] ? L : k
719
+ }), r.removeAttribute(t);
720
+ } else t.startsWith(h) && (d.push({
721
+ type: 6,
722
+ index: c
723
+ }), r.removeAttribute(t));
724
+ if ($.test(r.tagName)) {
725
+ const t = r.textContent.split(h),
726
+ s = t.length - 1;
727
+ if (s > 0) {
728
+ r.textContent = i ? i.emptyScript : "";
729
+ for (let i = 0; i < s; i++) r.append(t[i], l()), C.nextNode(), d.push({
730
+ type: 2,
731
+ index: ++c
732
+ });
733
+ r.append(t[s], l());
734
+ }
735
+ }
736
+ } else if (8 === r.nodeType) if (r.data === o$1) d.push({
737
+ type: 2,
738
+ index: c
739
+ });else {
740
+ let t = -1;
741
+ for (; -1 !== (t = r.data.indexOf(h, t + 1));) d.push({
742
+ type: 7,
743
+ index: c
744
+ }), t += h.length - 1;
745
+ }
746
+ c++;
747
+ }
748
+ }
749
+ static createElement(t, i) {
750
+ const s = r.createElement("template");
751
+ return s.innerHTML = t, s;
752
+ }
753
+ }
754
+ function S(t, i, s = t, e) {
755
+ if (i === T) return i;
756
+ let h = void 0 !== e ? s._$Co?.[e] : s._$Cl;
757
+ const o = c(i) ? void 0 : i._$litDirective$;
758
+ return h?.constructor !== o && (h?._$AO?.(false), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? (s._$Co ??= [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
759
+ }
760
+ class M {
761
+ constructor(t, i) {
762
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
763
+ }
764
+ get parentNode() {
765
+ return this._$AM.parentNode;
766
+ }
767
+ get _$AU() {
768
+ return this._$AM._$AU;
769
+ }
770
+ u(t) {
771
+ const {
772
+ el: {
773
+ content: i
774
+ },
775
+ parts: s
776
+ } = this._$AD,
777
+ e = (t?.creationScope ?? r).importNode(i, true);
778
+ C.currentNode = e;
779
+ let h = C.nextNode(),
780
+ o = 0,
781
+ n = 0,
782
+ l = s[0];
783
+ for (; void 0 !== l;) {
784
+ if (o === l.index) {
785
+ let i;
786
+ 2 === l.type ? i = new R(h, h.nextSibling, this, t) : 1 === l.type ? i = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i = new z(h, this, t)), this._$AV.push(i), l = s[++n];
787
+ }
788
+ o !== l?.index && (h = C.nextNode(), o++);
789
+ }
790
+ return C.currentNode = r, e;
791
+ }
792
+ p(t) {
793
+ let i = 0;
794
+ for (const s of this._$AV) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
795
+ }
796
+ }
797
+ class R {
798
+ get _$AU() {
799
+ return this._$AM?._$AU ?? this._$Cv;
800
+ }
801
+ constructor(t, i, s, e) {
802
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? true;
803
+ }
804
+ get parentNode() {
805
+ let t = this._$AA.parentNode;
806
+ const i = this._$AM;
807
+ return void 0 !== i && 11 === t?.nodeType && (t = i.parentNode), t;
808
+ }
809
+ get startNode() {
810
+ return this._$AA;
811
+ }
812
+ get endNode() {
813
+ return this._$AB;
814
+ }
815
+ _$AI(t, i = this) {
816
+ t = S(this, t, i), c(t) ? t === E || null == t || "" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
817
+ }
818
+ O(t) {
819
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
820
+ }
821
+ T(t) {
822
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
823
+ }
824
+ _(t) {
825
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
826
+ }
827
+ $(t) {
828
+ const {
829
+ values: i,
830
+ _$litType$: s
831
+ } = t,
832
+ e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);
833
+ if (this._$AH?._$AD === e) this._$AH.p(i);else {
834
+ const t = new M(e, this),
835
+ s = t.u(this.options);
836
+ t.p(i), this.T(s), this._$AH = t;
837
+ }
838
+ }
839
+ _$AC(t) {
840
+ let i = A.get(t.strings);
841
+ return void 0 === i && A.set(t.strings, i = new N(t)), i;
842
+ }
843
+ k(t) {
844
+ a(this._$AH) || (this._$AH = [], this._$AR());
845
+ const i = this._$AH;
846
+ let s,
847
+ e = 0;
848
+ for (const h of t) e === i.length ? i.push(s = new R(this.O(l()), this.O(l()), this, this.options)) : s = i[e], s._$AI(h), e++;
849
+ e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
850
+ }
851
+ _$AR(t = this._$AA.nextSibling, i) {
852
+ for (this._$AP?.(false, true, i); t !== this._$AB;) {
853
+ const i = t.nextSibling;
854
+ t.remove(), t = i;
855
+ }
856
+ }
857
+ setConnected(t) {
858
+ void 0 === this._$AM && (this._$Cv = t, this._$AP?.(t));
859
+ }
860
+ }
861
+ class k {
862
+ get tagName() {
863
+ return this.element.tagName;
864
+ }
865
+ get _$AU() {
866
+ return this._$AM._$AU;
867
+ }
868
+ constructor(t, i, s, e, h) {
869
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = E;
870
+ }
871
+ _$AI(t, i = this, s, e) {
872
+ const h = this.strings;
873
+ let o = false;
874
+ if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);else {
875
+ const e = t;
876
+ let n, r;
877
+ for (t = h[0], n = 0; n < h.length - 1; n++) r = S(this, e[s + n], i, n), r === T && (r = this._$AH[n]), o ||= !c(r) || r !== this._$AH[n], r === E ? t = E : t !== E && (t += (r ?? "") + h[n + 1]), this._$AH[n] = r;
878
+ }
879
+ o && !e && this.j(t);
880
+ }
881
+ j(t) {
882
+ t === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
883
+ }
884
+ }
885
+ class H extends k {
886
+ constructor() {
887
+ super(...arguments), this.type = 3;
888
+ }
889
+ j(t) {
890
+ this.element[this.name] = t === E ? void 0 : t;
891
+ }
892
+ }
893
+ class I extends k {
894
+ constructor() {
895
+ super(...arguments), this.type = 4;
896
+ }
897
+ j(t) {
898
+ this.element.toggleAttribute(this.name, !!t && t !== E);
899
+ }
900
+ }
901
+ class L extends k {
902
+ constructor(t, i, s, e, h) {
903
+ super(t, i, s, e, h), this.type = 5;
904
+ }
905
+ _$AI(t, i = this) {
906
+ if ((t = S(this, t, i, 0) ?? E) === T) return;
907
+ const s = this._$AH,
908
+ e = t === E && s !== E || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive,
909
+ h = t !== E && (s === E || e);
910
+ e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
911
+ }
912
+ handleEvent(t) {
913
+ "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
914
+ }
915
+ }
916
+ class z {
917
+ constructor(t, i, s) {
918
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
919
+ }
920
+ get _$AU() {
921
+ return this._$AM._$AU;
922
+ }
923
+ _$AI(t) {
924
+ S(this, t);
925
+ }
926
+ }
927
+ const j = t.litHtmlPolyfillSupport;
928
+ j?.(N, R), (t.litHtmlVersions ??= []).push("3.3.1");
929
+
930
+ /**
931
+ * @license
932
+ * Copyright 2018 Google LLC
933
+ * SPDX-License-Identifier: BSD-3-Clause
934
+ */
935
+ const o = o => o ?? E;
936
+
937
+ var _M3eTabsElement_instances, _M3eTabsElement_directionalitySubscription, _M3eTabsElement_renderHeader, _M3eTabsElement_handleSlotChange, _M3eTabsElement_handleKeyDown, _M3eTabsElement_handleChange, _M3eTabsElement_handleSelectedChange, _M3eTabsElement_updateInkBar, _a;
938
+ const MIN_PRIMARY_TAB_WIDTH = 24;
939
+ /**
940
+ * Organizes content into separate views where only one view can be visible at a time.
941
+ *
942
+ * @description
943
+ * The `m3e-tabs` component provides a structured navigation surface for organizing content into distinct views,
944
+ * where only one view is visible at a time. It supports scrollable tab headers with optional pagination,
945
+ * accessible labeling for navigation controls, and configurable header positioning to suit various layout
946
+ * contexts. Two visual variants are available: `primary`, which emphasizes active indicators and shape styling
947
+ * for prominent navigation, and `secondary`, which offers a more subtle presentation with reduced indicator
948
+ * thickness. Stretch behavior allows tabs to expand and align rhythmically within their container, consistent
949
+ * with Material 3 guidance.
950
+ *
951
+ * @example
952
+ * The following example illustrates using the `m3e-tabs`, `m3e-tab`, and `m3e-tab-panel` components to present
953
+ * secondary tabs.
954
+ * ```html
955
+ * <m3e-tabs>
956
+ * <m3e-tab selected for="videos"><m3e-icon slot="icon" name="videocam"></m3e-icon>Video</m3e-tab>
957
+ * <m3e-tab for="photos"><m3e-icon slot="icon" name="photo"></m3e-icon>Photos</m3e-tab>
958
+ * <m3e-tab for="audio"><m3e-icon slot="icon" name="music_note"></m3e-icon>Audio</m3e-tab>
959
+ * <m3e-tab-panel id="videos">Videos</m3e-tab-panel>
960
+ * <m3e-tab-panel id="photos">Photos</m3e-tab-panel>
961
+ * <m3e-tab-panel id="audio">Audio</m3e-tab-panel>
962
+ * </m3e-tabs>
963
+ * ```
964
+ *
965
+ * @tag m3e-tabs
966
+ *
967
+ * @slot - Renders the tabs.
968
+ * @slot panel - Renders the panels of the tabs.
969
+ * @slot next-icon - Renders the icon to present for the next button used to paginate.
970
+ * @slot prev-icon - Renders the icon to present for the previous button used to paginate.
971
+ *
972
+ * @attr disable-pagination - Whether scroll buttons are disabled.
973
+ * @attr header-position - The position of the tab headers.
974
+ * @attr next-page-label - The accessible label given to the button used to move to the previous page.
975
+ * @attr previous-page-label - The accessible label given to the button used to move to the next page.
976
+ * @attr stretch - Whether tabs are stretched to fill the header.
977
+ * @attr variant - The appearance variant of the tabs.
978
+ *
979
+ * @fires change - Emitted when the selected tab changes.
980
+ *
981
+ * @cssprop --m3e-tabs-paginator-button-icon-size - Overrides the icon size for paginator buttons.
982
+ * @cssprop --m3e-tabs-active-indicator-color - Color of the active tab indicator.
983
+ * @cssprop --m3e-tabs-primary-before-active-indicator-shape - Border radius for active indicator when header is before and variant is primary.
984
+ * @cssprop --m3e-tabs-primary-after-active-indicator-shape - Border radius for active indicator when header is after and variant is primary.
985
+ * @cssprop --m3e-tabs-primary-active-indicator-inset - Inset for primary variant's active indicator.
986
+ * @cssprop --m3e-tabs-primary-active-indicator-thickness - Thickness for primary variant's active indicator.
987
+ * @cssprop --m3e-tabs-secondary-active-indicator-thickness - Thickness for secondary variant's active indicator.
988
+ */
989
+ let M3eTabsElement = class M3eTabsElement extends AttachInternals(LitElement) {
990
+ constructor() {
991
+ super();
992
+ _M3eTabsElement_instances.add(this);
993
+ /** @private */
994
+ _M3eTabsElement_directionalitySubscription.set(this, void 0);
995
+ /** @private */
996
+ this._selectedIndex = null;
997
+ /** @internal */
998
+ this[_a] = new SelectionManager().onSelectedItemsChange(() => __classPrivateFieldGet(this, _M3eTabsElement_instances, "m", _M3eTabsElement_handleSelectedChange).call(this)).withHomeAndEnd().withWrap().withDirectionality(M3eDirectionality.current);
999
+ /**
1000
+ * Whether scroll buttons are disabled.
1001
+ * @default false
1002
+ */
1003
+ this.disablePagination = false;
1004
+ /**
1005
+ * The position of the tab headers.
1006
+ * @default "before"
1007
+ */
1008
+ this.headerPosition = "before";
1009
+ /**
1010
+ * The appearance variant of the tabs.
1011
+ * @default "secondary"
1012
+ */
1013
+ this.variant = "secondary";
1014
+ /**
1015
+ * Whether tabs are stretched to fill the header.
1016
+ * @default false
1017
+ */
1018
+ this.stretch = false;
1019
+ /**
1020
+ * The accessible label given to the button used to move to the previous page.
1021
+ * @default "Previous page"
1022
+ */
1023
+ this.previousPageLabel = "Previous page";
1024
+ /**
1025
+ * The accessible label given to the button used to move to the next page.
1026
+ * @default "Next page"
1027
+ */
1028
+ this.nextPageLabel = "Next page";
1029
+ new ResizeController(this, {
1030
+ skipInitial: true,
1031
+ callback: () => {
1032
+ this.classList.toggle("-no-animate", true);
1033
+ __classPrivateFieldGet(this, _M3eTabsElement_instances, "m", _M3eTabsElement_updateInkBar).call(this);
1034
+ }
1035
+ });
1036
+ }
1037
+ /** The tabs. */
1038
+ get tabs() {
1039
+ return this[selectionManager]?.items ?? [];
1040
+ }
1041
+ /** The selected tab. */
1042
+ get selectedTab() {
1043
+ return this._selectedIndex !== null ? this.tabs[this._selectedIndex] ?? null : null;
1044
+ }
1045
+ /** The zero-based index of the selected tab. */
1046
+ get selectedIndex() {
1047
+ return this._selectedIndex ?? -1;
1048
+ }
1049
+ set selectedIndex(value) {
1050
+ if (value >= 0 && value < this.tabs.length) {
1051
+ this.tabs[value].selected = true;
1052
+ } else {
1053
+ const selectedTab = this.selectedTab;
1054
+ if (selectedTab) {
1055
+ selectedTab.selected = false;
1056
+ }
1057
+ }
1058
+ }
1059
+ /** @inheritdoc */
1060
+ connectedCallback() {
1061
+ super.connectedCallback();
1062
+ this.classList.toggle("-no-animate", true);
1063
+ __classPrivateFieldSet(this, _M3eTabsElement_directionalitySubscription, M3eDirectionality.observe(() => {
1064
+ this.requestUpdate();
1065
+ this[selectionManager].directionality = M3eDirectionality.current;
1066
+ }), "f");
1067
+ }
1068
+ /** @inheritdoc */
1069
+ disconnectedCallback() {
1070
+ super.disconnectedCallback();
1071
+ __classPrivateFieldGet(this, _M3eTabsElement_directionalitySubscription, "f")?.call(this);
1072
+ }
1073
+ /** @inheritdoc */
1074
+ updated(_changedProperties) {
1075
+ super.updated(_changedProperties);
1076
+ if ((_changedProperties.has("variant") || _changedProperties.has("stretch")) && this._selectedIndex !== null) {
1077
+ __classPrivateFieldGet(this, _M3eTabsElement_instances, "m", _M3eTabsElement_updateInkBar).call(this);
1078
+ }
1079
+ }
1080
+ /** @inheritdoc */
1081
+ render() {
1082
+ let panelIndex;
1083
+ if (this.selectedTab?.control) {
1084
+ panelIndex = [...this.querySelectorAll("[slot='panel']")].indexOf(this.selectedTab.control);
1085
+ if (panelIndex === -1) {
1086
+ panelIndex = undefined;
1087
+ }
1088
+ }
1089
+ return html`${this.headerPosition === "before" ? __classPrivateFieldGet(this, _M3eTabsElement_instances, "m", _M3eTabsElement_renderHeader).call(this) : nothing}<m3e-slide class="tabs" selected-index="${o(panelIndex)}"><slot name="panel"></slot></m3e-slide>${this.headerPosition === "after" ? __classPrivateFieldGet(this, _M3eTabsElement_instances, "m", _M3eTabsElement_renderHeader).call(this) : nothing}`;
1090
+ }
1091
+ };
1092
+ _M3eTabsElement_directionalitySubscription = new WeakMap();
1093
+ _M3eTabsElement_instances = new WeakSet();
1094
+ _a = selectionManager;
1095
+ _M3eTabsElement_renderHeader = function _M3eTabsElement_renderHeader() {
1096
+ return html`<m3e-slide-group class="tablist" threshold="8" previous-page-label="${this.previousPageLabel}" next-page-label="${this.nextPageLabel}" ?disabled="${this.disablePagination}"><slot name="prev-icon" slot="prev-icon">${M3eDirectionality.current === "ltr" ? html`<svg class="prev icon" viewBox="0 -960 960 960" fill="currentColor"><path d="M640-80 240-480l400-400 71 71-329 329 329 329-71 71Z"/></svg>` : html`<svg class="next icon" viewBox="0 -960 960 960" fill="currentColor"><path d="m321-80-71-71 329-329-329-329 71-71 400 400L321-80Z"/></svg>`}</slot><slot name="next-icon" slot="next-icon">${M3eDirectionality.current === "ltr" ? html`<svg class="next icon" viewBox="0 -960 960 960" fill="currentColor"><path d="m321-80-71-71 329-329-329-329 71-71 400 400L321-80Z"/></svg>` : html`<svg class="prev icon" viewBox="0 -960 960 960" fill="currentColor"><path d="M640-80 240-480l400-400 71 71-329 329 329 329-71 71Z"/></svg>`}</slot><div class="header" role="tablist"><div class="tabs"><slot @slotchange="${__classPrivateFieldGet(this, _M3eTabsElement_instances, "m", _M3eTabsElement_handleSlotChange)}" @keydown="${__classPrivateFieldGet(this, _M3eTabsElement_instances, "m", _M3eTabsElement_handleKeyDown)}" @change="${__classPrivateFieldGet(this, _M3eTabsElement_instances, "m", _M3eTabsElement_handleChange)}"></slot></div><div class="ink-bar" aria-hidden="true"><div class="active-indicator"></div></div></div></m3e-slide-group>`;
1097
+ };
1098
+ _M3eTabsElement_handleSlotChange = function _M3eTabsElement_handleSlotChange() {
1099
+ this[selectionManager].setItems([...this.querySelectorAll("m3e-tab")]);
1100
+ };
1101
+ _M3eTabsElement_handleKeyDown = function _M3eTabsElement_handleKeyDown(e) {
1102
+ this[selectionManager].onKeyDown(e);
1103
+ };
1104
+ _M3eTabsElement_handleChange = function _M3eTabsElement_handleChange(e) {
1105
+ e.stopPropagation();
1106
+ this.dispatchEvent(new Event("change", {
1107
+ bubbles: true
1108
+ }));
1109
+ };
1110
+ _M3eTabsElement_handleSelectedChange = function _M3eTabsElement_handleSelectedChange() {
1111
+ const selected = this[selectionManager].selectedItems[0];
1112
+ let selectedIndex = selected ? this.tabs.indexOf(selected) : null;
1113
+ if (selectedIndex === -1) {
1114
+ selectedIndex = null;
1115
+ }
1116
+ this._selectedIndex = selectedIndex;
1117
+ __classPrivateFieldGet(this, _M3eTabsElement_instances, "m", _M3eTabsElement_updateInkBar).call(this);
1118
+ };
1119
+ _M3eTabsElement_updateInkBar = function _M3eTabsElement_updateInkBar() {
1120
+ if (!this._tablist) return;
1121
+ const selected = this[selectionManager].selectedItems[0];
1122
+ let left = 0;
1123
+ let width = 0;
1124
+ if (selected && this._selectedIndex !== null) {
1125
+ for (let i = 0; i < this._selectedIndex; i++) {
1126
+ left += this.tabs[i].clientWidth;
1127
+ }
1128
+ width = selected.clientWidth;
1129
+ if (this.variant === "primary" && selected.label) {
1130
+ left += selected.label.offsetLeft;
1131
+ width = selected.label.clientWidth;
1132
+ if (width < MIN_PRIMARY_TAB_WIDTH) {
1133
+ left -= (MIN_PRIMARY_TAB_WIDTH - width) / 2;
1134
+ width = MIN_PRIMARY_TAB_WIDTH;
1135
+ }
1136
+ }
1137
+ }
1138
+ this._tablist.style.setProperty("--_tabs-active-tab-position", `${left}px`);
1139
+ this._tablist.style.setProperty("--_tabs-active-tab-size", `${width}px`);
1140
+ if (width > 0 && this.classList.contains("-no-animate")) {
1141
+ setTimeout(() => this.classList.toggle("-no-animate", false));
1142
+ }
1143
+ };
1144
+ /** The styles of the element. */
1145
+ M3eTabsElement.styles = css`:host { display: flex; flex-direction: column; position: relative; } .tablist { position: relative; box-sizing: border-box; flex: none; } ::slotted(prev-icon), ::slotted(next-icon), .icon { width: 1em; font-size: var(--m3e-tabs-paginator-button-icon-size, var(--m3e-icon-button-icon-size, 1.5rem)) !important; } .header { display: flex; flex-direction: column; } .tabs { display: flex; flex-wrap: nowrap; align-items: center; } .ink-bar { box-sizing: border-box; height: var(--_tabs-active-indicator-thickness); } .active-indicator { position: relative; height: var(--_tabs-active-indicator-thickness); left: calc(var(--_tabs-active-tab-position) + var(--_tabs-activate-indicator-inset, 0px)); width: calc(var(--_tabs-active-tab-size) - calc(var(--_tabs-activate-indicator-inset, 0px) * 2)); background-color: var(--m3e-tabs-active-indicator-color, ${DesignToken.color.primary}); transition: ${unsafeCSS(`left var(--m3e-slide-animation-duration, ${DesignToken.motion.duration.long2}) ${DesignToken.motion.easing.standard},
1146
+ width var(--m3e-slide-animation-duration, ${DesignToken.motion.duration.long2}) ${DesignToken.motion.easing.standard}`)}; } :host([header-position="after"]) .header { flex-direction: column-reverse; } :host([header-position="before"]) .ink-bar { margin-top: calc(0px - var(--_tabs-active-indicator-thickness)); } :host([header-position="before"]) .tablist { --m3e-slide-group-divider-bottom: var(--m3e-divider-thickness, 1px) solid var(--m3e-divider-color, ${DesignToken.color.outlineVariant}); } :host([header-position="after"]) .ink-bar { margin-bottom: calc(0px - var(--_tabs-active-indicator-thickness)); } :host([header-position="after"]) .tablist { --m3e-slide-group-divider-top: var(--m3e-divider-thickness, 1px) solid var(--m3e-divider-color, ${DesignToken.color.outlineVariant}); } :host([header-position="before"][variant="primary"]) .active-indicator { border-radius: var(--m3e-tabs-primary-before-active-indicator-shape, ${DesignToken.shape.corner.extraSmallTop}); } :host([header-position="after"][variant="primary"]) .active-indicator { border-radius: var(--m3e-tabs-primary-after-active-indicator-shape, ${DesignToken.shape.corner.extraSmallBottom}); } .tabs { flex: 1 1 auto; } :host([variant="primary"]) .tablist { --_tabs-activate-indicator-inset: var(--m3e-tabs-primary-active-indicator-inset, 0.125rem); --_tabs-active-indicator-thickness: var(--m3e-tabs-primary-active-indicator-thickness, 0.1875rem); --_tab-height: 4rem; } :host([header-position="before"]) .tablist { --_tab-focus-ring-bottom-offset: calc(var(--_tabs-active-indicator-thickness) + 1px); } :host([header-position="after"]) .tablist { --_tab-focus-ring-top-offset: calc(var(--_tabs-active-indicator-thickness) + 2px); } :host([header-position="before"][variant="primary"]) .tablist { --_tab-direction: column; } :host([header-position="after"][variant="primary"]) .tablist { --_tab-direction: column-reverse; } :host([variant="secondary"]) .tablist { --_tabs-active-indicator-thickness: var(--m3e-tabs-secondary-active-indicator-thickness, 0.125rem); --_tab-height: 3rem; } :host([stretch]) .header { width: 100%; --_tab-grow: 1; } :host(.-no-animate) .active-indicator { transition: none; } @media (prefers-reduced-motion) { .active-indicator { transition: none; } } @media (forced-colors: active) { .active-indicator { background-color: ButtonText; --m3e-divider-color: GrayText; } }`;
1147
+ __decorate([e$1(".tablist")], M3eTabsElement.prototype, "_tablist", void 0);
1148
+ __decorate([r$1()], M3eTabsElement.prototype, "_selectedIndex", void 0);
1149
+ __decorate([n$1({
1150
+ attribute: "disable-pagination",
1151
+ type: Boolean
1152
+ })], M3eTabsElement.prototype, "disablePagination", void 0);
1153
+ __decorate([n$1({
1154
+ attribute: "header-position",
1155
+ reflect: true
1156
+ })], M3eTabsElement.prototype, "headerPosition", void 0);
1157
+ __decorate([n$1({
1158
+ reflect: true
1159
+ })], M3eTabsElement.prototype, "variant", void 0);
1160
+ __decorate([n$1({
1161
+ type: Boolean,
1162
+ reflect: true
1163
+ })], M3eTabsElement.prototype, "stretch", void 0);
1164
+ __decorate([n$1({
1165
+ attribute: "previous-page-label"
1166
+ })], M3eTabsElement.prototype, "previousPageLabel", void 0);
1167
+ __decorate([n$1({
1168
+ attribute: "next-page-label"
1169
+ })], M3eTabsElement.prototype, "nextPageLabel", void 0);
1170
+ M3eTabsElement = __decorate([t$2("m3e-tabs")], M3eTabsElement);
1171
+
1172
+ export { M3eTabElement, M3eTabPanelElement, M3eTabsElement };
1173
+ //# sourceMappingURL=tabs.js.map