@momentum-ui/web-components 2.13.9 → 2.13.11

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 (461) hide show
  1. package/dist/assets/styles/fonts.css +30 -22
  2. package/dist/chunks/md-1.js +1 -1
  3. package/dist/chunks/md-10.js +17 -5
  4. package/dist/chunks/md-100.js +1 -1
  5. package/dist/chunks/md-101.js +1 -1
  6. package/dist/chunks/md-102.js +1 -1
  7. package/dist/chunks/md-103.js +1 -1
  8. package/dist/chunks/md-104.js +1 -1
  9. package/dist/chunks/md-105.js +1 -1
  10. package/dist/chunks/md-106.js +1 -1
  11. package/dist/chunks/md-107.js +1 -1
  12. package/dist/chunks/md-108.js +1 -1
  13. package/dist/chunks/md-109.js +1 -1
  14. package/dist/chunks/md-11.js +1 -1
  15. package/dist/chunks/md-110.js +1 -1
  16. package/dist/chunks/md-111.js +1 -1
  17. package/dist/chunks/md-112.js +1 -1
  18. package/dist/chunks/md-113.js +1 -1
  19. package/dist/chunks/md-114.js +1 -1
  20. package/dist/chunks/md-115.js +1 -1
  21. package/dist/chunks/md-116.js +1 -1
  22. package/dist/chunks/md-117.js +1 -1
  23. package/dist/chunks/md-118.js +1 -1
  24. package/dist/chunks/md-119.js +1 -1
  25. package/dist/chunks/md-12.js +1 -9
  26. package/dist/chunks/md-120.js +1 -1
  27. package/dist/chunks/md-121.js +1 -1
  28. package/dist/chunks/md-122.js +1 -1
  29. package/dist/chunks/md-123.js +1 -1
  30. package/dist/chunks/md-124.js +1 -1
  31. package/dist/chunks/md-125.js +1 -1
  32. package/dist/chunks/md-126.js +1 -1
  33. package/dist/chunks/md-127.js +1 -1
  34. package/dist/chunks/md-128.js +1 -1
  35. package/dist/chunks/md-129.js +1 -1
  36. package/dist/chunks/md-13.js +10 -12
  37. package/dist/chunks/md-130.js +1 -1
  38. package/dist/chunks/md-131.js +1 -1
  39. package/dist/chunks/md-132.js +1 -1
  40. package/dist/chunks/md-133.js +1 -1
  41. package/dist/chunks/md-134.js +1 -1
  42. package/dist/chunks/md-135.js +1 -1
  43. package/dist/chunks/md-136.js +1 -1
  44. package/dist/chunks/md-137.js +1 -1
  45. package/dist/chunks/md-138.js +1 -1
  46. package/dist/chunks/md-139.js +1 -1
  47. package/dist/chunks/md-14.js +9 -1
  48. package/dist/chunks/md-140.js +1 -1
  49. package/dist/chunks/md-141.js +1 -1
  50. package/dist/chunks/md-142.js +1 -1
  51. package/dist/chunks/md-143.js +1 -1
  52. package/dist/chunks/md-144.js +1 -1
  53. package/dist/chunks/md-145.js +1 -1
  54. package/dist/chunks/md-146.js +1 -1
  55. package/dist/chunks/md-147.js +1 -1
  56. package/dist/chunks/md-148.js +1 -1
  57. package/dist/chunks/md-149.js +1 -1
  58. package/dist/chunks/md-15.js +1 -124
  59. package/dist/chunks/md-150.js +1 -1
  60. package/dist/chunks/md-151.js +1 -1
  61. package/dist/chunks/md-152.js +1 -1
  62. package/dist/chunks/md-153.js +1 -1
  63. package/dist/chunks/md-154.js +1 -1
  64. package/dist/chunks/md-155.js +1 -1
  65. package/dist/chunks/md-156.js +1 -1
  66. package/dist/chunks/md-157.js +1 -1
  67. package/dist/chunks/md-158.js +1 -1
  68. package/dist/chunks/md-159.js +1 -1
  69. package/dist/chunks/md-16.js +3 -3
  70. package/dist/chunks/md-160.js +1 -1
  71. package/dist/chunks/md-161.js +1 -1
  72. package/dist/chunks/md-162.js +1 -1
  73. package/dist/chunks/md-163.js +1 -1
  74. package/dist/chunks/md-164.js +1 -1
  75. package/dist/chunks/md-165.js +1 -1
  76. package/dist/chunks/md-166.js +1 -1
  77. package/dist/chunks/md-167.js +1 -1
  78. package/dist/chunks/md-168.js +1 -1
  79. package/dist/chunks/md-169.js +1 -1
  80. package/dist/chunks/md-17.js +122 -17
  81. package/dist/chunks/md-170.js +1 -1
  82. package/dist/chunks/md-171.js +1 -1
  83. package/dist/chunks/md-172.js +1 -1
  84. package/dist/chunks/md-173.js +1 -1
  85. package/dist/chunks/md-174.js +1 -1
  86. package/dist/chunks/md-175.js +1 -1
  87. package/dist/chunks/md-176.js +1 -1
  88. package/dist/chunks/md-177.js +1 -1
  89. package/dist/chunks/md-178.js +1 -1
  90. package/dist/chunks/md-179.js +1 -1
  91. package/dist/chunks/md-18.js +17 -12
  92. package/dist/chunks/md-180.js +1 -1
  93. package/dist/chunks/md-181.js +1 -1
  94. package/dist/chunks/md-182.js +1 -1
  95. package/dist/chunks/md-183.js +1 -1
  96. package/dist/chunks/md-184.js +1 -1
  97. package/dist/chunks/md-185.js +1 -1
  98. package/dist/chunks/md-186.js +1 -1
  99. package/dist/chunks/md-187.js +1 -1
  100. package/dist/chunks/md-188.js +1 -1
  101. package/dist/chunks/md-189.js +1 -1
  102. package/dist/chunks/md-19.js +1 -1
  103. package/dist/chunks/md-190.js +1 -1
  104. package/dist/chunks/md-191.js +1 -1
  105. package/dist/chunks/md-192.js +1 -1
  106. package/dist/chunks/md-193.js +1 -1
  107. package/dist/chunks/md-194.js +1 -1
  108. package/dist/chunks/md-195.js +1 -1
  109. package/dist/chunks/md-196.js +1 -1
  110. package/dist/chunks/md-197.js +1 -1
  111. package/dist/chunks/md-198.js +1 -1
  112. package/dist/chunks/md-199.js +1 -1
  113. package/dist/chunks/md-20.js +8 -7
  114. package/dist/chunks/md-200.js +1 -1
  115. package/dist/chunks/md-201.js +1 -1
  116. package/dist/chunks/md-202.js +1 -1
  117. package/dist/chunks/md-203.js +1 -1
  118. package/dist/chunks/md-204.js +1 -1
  119. package/dist/chunks/md-205.js +1 -1
  120. package/dist/chunks/md-206.js +1 -1
  121. package/dist/chunks/md-207.js +1 -1
  122. package/dist/chunks/md-208.js +1 -1
  123. package/dist/chunks/md-209.js +1 -1
  124. package/dist/chunks/md-21.js +21 -11
  125. package/dist/chunks/md-210.js +1 -1
  126. package/dist/chunks/md-211.js +1 -1
  127. package/dist/chunks/md-212.js +1 -1
  128. package/dist/chunks/md-213.js +1 -1
  129. package/dist/chunks/md-214.js +1 -1
  130. package/dist/chunks/md-215.js +1 -1
  131. package/dist/chunks/md-216.js +1 -1
  132. package/dist/chunks/md-217.js +1 -1
  133. package/dist/chunks/md-218.js +1 -1
  134. package/dist/chunks/md-219.js +1 -1
  135. package/dist/chunks/md-22.js +1 -1
  136. package/dist/chunks/md-220.js +1 -1
  137. package/dist/chunks/md-221.js +1 -1
  138. package/dist/chunks/md-222.js +1 -1
  139. package/dist/chunks/md-223.js +1 -1
  140. package/dist/chunks/md-224.js +1 -1
  141. package/dist/chunks/md-225.js +1 -1
  142. package/dist/chunks/md-226.js +1 -1
  143. package/dist/chunks/md-227.js +1 -1
  144. package/dist/chunks/md-228.js +1 -1
  145. package/dist/chunks/md-229.js +1 -1
  146. package/dist/chunks/md-23.js +7 -1
  147. package/dist/chunks/md-230.js +1 -1
  148. package/dist/chunks/md-231.js +1 -1
  149. package/dist/chunks/md-232.js +1 -1
  150. package/dist/chunks/md-233.js +1 -1
  151. package/dist/chunks/md-234.js +1 -1
  152. package/dist/chunks/md-235.js +1 -1
  153. package/dist/chunks/md-236.js +1 -1
  154. package/dist/chunks/md-237.js +1 -1
  155. package/dist/chunks/md-238.js +1 -1
  156. package/dist/chunks/md-239.js +1 -1
  157. package/dist/chunks/md-24.js +8 -57
  158. package/dist/chunks/md-240.js +1 -1
  159. package/dist/chunks/md-241.js +1 -1
  160. package/dist/chunks/md-242.js +1 -1
  161. package/dist/chunks/md-243.js +1 -1
  162. package/dist/chunks/md-244.js +1 -1
  163. package/dist/chunks/md-245.js +1 -1
  164. package/dist/chunks/md-246.js +1 -1
  165. package/dist/chunks/md-247.js +1 -1
  166. package/dist/chunks/md-248.js +1 -1
  167. package/dist/chunks/md-249.js +1 -1
  168. package/dist/chunks/md-25.js +1 -1
  169. package/dist/chunks/md-250.js +1 -1
  170. package/dist/chunks/md-251.js +1 -1
  171. package/dist/chunks/md-252.js +1 -1
  172. package/dist/chunks/md-253.js +1 -1
  173. package/dist/chunks/md-254.js +1 -1
  174. package/dist/chunks/md-255.js +1 -1
  175. package/dist/chunks/md-256.js +1 -1
  176. package/dist/chunks/md-257.js +1 -1
  177. package/dist/chunks/md-258.js +1 -1
  178. package/dist/chunks/md-259.js +1 -1
  179. package/dist/chunks/md-26.js +1 -1
  180. package/dist/chunks/md-260.js +1 -1
  181. package/dist/chunks/md-261.js +1 -1
  182. package/dist/chunks/md-262.js +1 -1
  183. package/dist/chunks/md-263.js +1 -1
  184. package/dist/chunks/md-264.js +1 -1
  185. package/dist/chunks/md-265.js +1 -1
  186. package/dist/chunks/md-266.js +1 -1
  187. package/dist/chunks/md-267.js +1 -1
  188. package/dist/chunks/md-268.js +1 -1
  189. package/dist/chunks/md-269.js +1 -1
  190. package/dist/chunks/md-27.js +45 -182
  191. package/dist/chunks/md-270.js +1 -1
  192. package/dist/chunks/md-271.js +1 -1
  193. package/dist/chunks/md-272.js +1 -1
  194. package/dist/chunks/md-273.js +1 -1
  195. package/dist/chunks/md-274.js +1 -1
  196. package/dist/chunks/md-275.js +1 -1
  197. package/dist/chunks/md-276.js +1 -0
  198. package/dist/chunks/md-277.js +1 -0
  199. package/dist/chunks/md-28.js +1 -61
  200. package/dist/chunks/md-29.js +192 -1
  201. package/dist/chunks/md-3.js +1 -1
  202. package/dist/chunks/md-30.js +49 -1
  203. package/dist/chunks/md-31.js +1 -33
  204. package/dist/chunks/md-32.js +1 -22
  205. package/dist/chunks/md-33.js +33 -7
  206. package/dist/chunks/md-34.js +23 -5
  207. package/dist/chunks/md-35.js +5 -1
  208. package/dist/chunks/md-36.js +5 -21
  209. package/dist/chunks/md-37.js +1 -24
  210. package/dist/chunks/md-38.js +20 -41
  211. package/dist/chunks/md-39.js +42 -1
  212. package/dist/chunks/md-4.js +1 -1
  213. package/dist/chunks/md-40.js +1 -33
  214. package/dist/chunks/md-41.js +30 -15
  215. package/dist/chunks/md-42.js +16 -1
  216. package/dist/chunks/md-43.js +1 -27
  217. package/dist/chunks/md-44.js +27 -5
  218. package/dist/chunks/md-45.js +4 -33
  219. package/dist/chunks/md-46.js +38 -13
  220. package/dist/chunks/md-47.js +13 -20
  221. package/dist/chunks/md-48.js +18 -45
  222. package/dist/chunks/md-49.js +57 -94
  223. package/dist/chunks/md-5.js +1 -1
  224. package/dist/chunks/md-50.js +98 -13
  225. package/dist/chunks/md-51.js +11 -5
  226. package/dist/chunks/md-52.js +4 -67
  227. package/dist/chunks/md-53.js +64 -20
  228. package/dist/chunks/md-54.js +22 -14
  229. package/dist/chunks/md-55.js +14 -5
  230. package/dist/chunks/md-56.js +5 -43
  231. package/dist/chunks/md-57.js +41 -28
  232. package/dist/chunks/md-58.js +21 -4
  233. package/dist/chunks/md-59.js +5 -1
  234. package/dist/chunks/md-6.js +1 -3
  235. package/dist/chunks/md-60.js +1 -23
  236. package/dist/chunks/md-61.js +23 -5
  237. package/dist/chunks/md-62.js +4 -14
  238. package/dist/chunks/md-63.js +10 -48
  239. package/dist/chunks/md-64.js +48 -29
  240. package/dist/chunks/md-65.js +29 -71
  241. package/dist/chunks/md-66.js +70 -19
  242. package/dist/chunks/md-67.js +19 -17
  243. package/dist/chunks/md-68.js +21 -38
  244. package/dist/chunks/md-69.js +17 -86
  245. package/dist/chunks/md-7.js +6 -16
  246. package/dist/chunks/md-70.js +36 -7
  247. package/dist/chunks/md-71.js +72 -72
  248. package/dist/chunks/md-72.js +6 -71
  249. package/dist/chunks/md-73.js +71 -67
  250. package/dist/chunks/md-74.js +78 -17
  251. package/dist/chunks/md-75.js +65 -4
  252. package/dist/chunks/md-76.js +16 -28
  253. package/dist/chunks/md-77.js +5 -3
  254. package/dist/chunks/md-78.js +18 -186
  255. package/dist/chunks/md-79.js +1 -39
  256. package/dist/chunks/md-8.js +1 -1
  257. package/dist/chunks/md-80.js +159 -83
  258. package/dist/chunks/md-81.js +32 -111
  259. package/dist/chunks/md-82.js +86 -11
  260. package/dist/chunks/md-83.js +79 -41
  261. package/dist/chunks/md-84.js +10 -31
  262. package/dist/chunks/md-85.js +42 -1
  263. package/dist/chunks/md-86.js +34 -1
  264. package/dist/chunks/md-87.js +1 -1
  265. package/dist/chunks/md-88.js +1 -1
  266. package/dist/chunks/md-89.js +1 -1
  267. package/dist/chunks/md-9.js +1 -1
  268. package/dist/chunks/md-90.js +1 -1
  269. package/dist/chunks/md-91.js +1 -1
  270. package/dist/chunks/md-92.js +1 -1
  271. package/dist/chunks/md-93.js +1 -1
  272. package/dist/chunks/md-94.js +1 -1
  273. package/dist/chunks/md-95.js +1 -1
  274. package/dist/chunks/md-96.js +1 -1
  275. package/dist/chunks/md-97.js +1 -1
  276. package/dist/chunks/md-98.js +1 -1
  277. package/dist/chunks/md-99.js +1 -1
  278. package/dist/comp/md-accordion-entry.js +1 -1
  279. package/dist/comp/md-accordion-item-entry.js +1 -1
  280. package/dist/comp/md-accordion-item.js +6 -2
  281. package/dist/comp/md-accordion.js +2 -2
  282. package/dist/comp/md-activity-button-entry.js +1 -1
  283. package/dist/comp/md-activity-button.js +2 -1
  284. package/dist/comp/md-alert-banner-entry.js +1 -1
  285. package/dist/comp/md-alert-banner.js +2 -1
  286. package/dist/comp/md-alert-entry.js +1 -1
  287. package/dist/comp/md-alert.js +2 -1
  288. package/dist/comp/md-audio-player-entry.js +1 -1
  289. package/dist/comp/md-audio-player.js +12 -1
  290. package/dist/comp/md-avatar-entry.js +1 -1
  291. package/dist/comp/md-avatar.js +4 -3
  292. package/dist/comp/md-badge-entry.js +1 -1
  293. package/dist/comp/md-badge.js +1 -1
  294. package/dist/comp/md-breadcrumb-entry.js +1 -1
  295. package/dist/comp/md-breadcrumb.js +1 -1
  296. package/dist/comp/md-button-entry.js +1 -1
  297. package/dist/comp/md-button-group-entry.js +1 -1
  298. package/dist/comp/md-button-group.js +1 -1
  299. package/dist/comp/md-card-entry.js +1 -1
  300. package/dist/comp/md-card.js +9 -4
  301. package/dist/comp/md-chat-message-entry.js +1 -1
  302. package/dist/comp/md-chat-message.js +5 -4
  303. package/dist/comp/md-checkbox-entry.js +1 -1
  304. package/dist/comp/md-checkbox.js +2 -2
  305. package/dist/comp/md-checkboxgroup-entry.js +1 -1
  306. package/dist/comp/md-checkboxgroup.js +2 -2
  307. package/dist/comp/md-chip-entry.js +1 -1
  308. package/dist/comp/md-chip.js +5 -4
  309. package/dist/comp/md-coachmark-entry.js +1 -1
  310. package/dist/comp/md-coachmark.js +2 -2
  311. package/dist/comp/md-combobox-entry.js +1 -1
  312. package/dist/comp/md-combobox.js +4 -3
  313. package/dist/comp/md-composite-avatar-entry.js +1 -1
  314. package/dist/comp/md-composite-avatar.js +2 -2
  315. package/dist/comp/md-date-range-picker-entry.js +1 -1
  316. package/dist/comp/md-date-range-picker.js +9 -8
  317. package/dist/comp/md-date-time-picker-entry.js +1 -1
  318. package/dist/comp/md-date-time-picker.js +4 -3
  319. package/dist/comp/md-datepicker-calendar-entry.js +1 -1
  320. package/dist/comp/md-datepicker-calendar.js +6 -5
  321. package/dist/comp/md-datepicker-day-entry.js +1 -1
  322. package/dist/comp/md-datepicker-day.js +3 -3
  323. package/dist/comp/md-datepicker-entry.js +1 -1
  324. package/dist/comp/md-datepicker-month-entry.js +1 -1
  325. package/dist/comp/md-datepicker-month.js +4 -4
  326. package/dist/comp/md-datepicker-week-entry.js +1 -1
  327. package/dist/comp/md-datepicker-week.js +3 -3
  328. package/dist/comp/md-datepicker.js +8 -7
  329. package/dist/comp/md-draggable-entry.js +1 -1
  330. package/dist/comp/md-draggable-item-entry.js +1 -1
  331. package/dist/comp/md-draggable-item.js +2 -2
  332. package/dist/comp/md-draggable.js +3 -3
  333. package/dist/comp/md-dropdown-entry.js +1 -1
  334. package/dist/comp/md-dropdown.js +2 -1
  335. package/dist/comp/md-editable-field-entry.js +1 -1
  336. package/dist/comp/md-editable-field.js +5 -4
  337. package/dist/comp/md-favorite-entry.js +1 -1
  338. package/dist/comp/md-favorite.js +2 -1
  339. package/dist/comp/md-floating-minimize-entry.js +1 -1
  340. package/dist/comp/md-floating-minimize.js +3 -2
  341. package/dist/comp/md-floating-modal-entry.js +1 -1
  342. package/dist/comp/md-floating-modal.js +4 -3
  343. package/dist/comp/md-form-entry.js +1 -1
  344. package/dist/comp/md-form.js +1 -1
  345. package/dist/comp/md-grabber-entry.js +1 -0
  346. package/dist/comp/md-grabber.js +14 -0
  347. package/dist/comp/md-help-text-entry.js +1 -1
  348. package/dist/comp/md-help-text.js +1 -1
  349. package/dist/comp/md-icon-entry.js +1 -1
  350. package/dist/comp/md-icon.js +1 -0
  351. package/dist/comp/md-inpu.js +1 -1
  352. package/dist/comp/md-input-entry.js +1 -1
  353. package/dist/comp/md-input-file.js +1 -1
  354. package/dist/comp/md-input.js +3 -2
  355. package/dist/comp/md-label-entry.js +1 -1
  356. package/dist/comp/md-label.js +1 -1
  357. package/dist/comp/md-link-entry.js +1 -1
  358. package/dist/comp/md-link.js +1 -1
  359. package/dist/comp/md-list-entry.js +1 -1
  360. package/dist/comp/md-list-item-entry.js +1 -1
  361. package/dist/comp/md-list-item.js +2 -2
  362. package/dist/comp/md-list.js +2 -2
  363. package/dist/comp/md-loading-entry.js +1 -1
  364. package/dist/comp/md-loading.js +1 -1
  365. package/dist/comp/md-meeting-alert-entry.js +1 -1
  366. package/dist/comp/md-meeting-alert.js +5 -4
  367. package/dist/comp/md-menu-entry.js +1 -1
  368. package/dist/comp/md-menu-item-entry.js +1 -1
  369. package/dist/comp/md-menu-item.js +1 -1
  370. package/dist/comp/md-menu-overlay-entry.js +1 -1
  371. package/dist/comp/md-menu-overlay.js +1 -1
  372. package/dist/comp/md-menu.js +2 -2
  373. package/dist/comp/md-modal-entry.js +1 -1
  374. package/dist/comp/md-modal.js +2 -1
  375. package/dist/comp/md-pagination-entry.js +1 -1
  376. package/dist/comp/md-pagination.js +6 -1
  377. package/dist/comp/md-phone-input-entry.js +1 -1
  378. package/dist/comp/md-phone-input.js +7 -6
  379. package/dist/comp/md-progress-bar-entry.js +1 -1
  380. package/dist/comp/md-progress-bar.js +1 -1
  381. package/dist/comp/md-radio-entry.js +1 -1
  382. package/dist/comp/md-radio.js +2 -2
  383. package/dist/comp/md-radiogroup-entry.js +1 -1
  384. package/dist/comp/md-radiogroup.js +2 -2
  385. package/dist/comp/md-slider-entry.js +1 -1
  386. package/dist/comp/md-slider.js +1 -1
  387. package/dist/comp/md-spinner-entry.js +1 -1
  388. package/dist/comp/md-tab-entry.js +1 -1
  389. package/dist/comp/md-tab-panel-entry.js +1 -1
  390. package/dist/comp/md-tab-panel.js +2 -2
  391. package/dist/comp/md-tab.js +2 -2
  392. package/dist/comp/md-table-advanced-entry.js +1 -1
  393. package/dist/comp/md-table-advanced.js +3 -2
  394. package/dist/comp/md-table-entry.js +1 -1
  395. package/dist/comp/md-table.js +1 -1
  396. package/dist/comp/md-tabs-entry.js +1 -1
  397. package/dist/comp/md-tabs.js +6 -5
  398. package/dist/comp/md-task-item-entry.js +1 -1
  399. package/dist/comp/md-task-item.js +3 -2
  400. package/dist/comp/md-theme-entry.js +1 -1
  401. package/dist/comp/md-theme.js +2 -2
  402. package/dist/comp/md-timepicker-entry.js +1 -1
  403. package/dist/comp/md-timepicker.js +7 -6
  404. package/dist/comp/md-toggle-switch-entry.js +1 -1
  405. package/dist/comp/md-toggle-switch.js +2 -2
  406. package/dist/comp/md-tooltip-entry.js +1 -1
  407. package/dist/comp/md-tooltip.js +2 -2
  408. package/dist/index-entry.js +2 -22
  409. package/dist/index.js +51 -49
  410. package/dist/types/components/accordion/AccordionItem.d.ts +8 -0
  411. package/dist/types/components/activity-button/ActivityButton.d.ts +2 -2
  412. package/dist/types/components/alert-banner/AlertBanner.d.ts +2 -2
  413. package/dist/types/components/audio-player/AudioPlayer.d.ts +3 -0
  414. package/dist/types/components/avatar/Avatar.d.ts +12 -2
  415. package/dist/types/components/avatar/CompositeAvatar.d.ts +2 -2
  416. package/dist/types/components/avatar/Presence.d.ts +1 -1
  417. package/dist/types/components/avatar/Presence.utils.d.ts +1 -1
  418. package/dist/types/components/button/Button.d.ts +8 -8
  419. package/dist/types/components/card/Card.d.ts +3 -1
  420. package/dist/types/components/chip/Chip.d.ts +3 -3
  421. package/dist/types/components/coachmark/Coachmark.d.ts +1 -1
  422. package/dist/types/components/combobox/ComboBox.d.ts +1 -1
  423. package/dist/types/components/date-time-picker/DateTimePicker.d.ts +1 -1
  424. package/dist/types/components/datepicker/DatePicker.d.ts +1 -1
  425. package/dist/types/components/datepicker/datepicker-day/DatePickerDay.d.ts +2 -2
  426. package/dist/types/components/datepicker/datepicker-month/DatePickerMonth.d.ts +1 -1
  427. package/dist/types/components/editable-textfield/EditableTextfield.d.ts +2 -2
  428. package/dist/types/components/favorite/Favorite.d.ts +2 -2
  429. package/dist/types/components/floating-modal/FloatingModal.d.ts +2 -2
  430. package/dist/types/components/grabber/Grabber.d.ts +2 -2
  431. package/dist/types/components/help-text/HelpText.d.ts +1 -1
  432. package/dist/types/components/icon/Icon.d.ts +22 -10
  433. package/dist/types/components/input/Input.d.ts +3 -3
  434. package/dist/types/components/link/Link.d.ts +3 -3
  435. package/dist/types/components/meeting-alert/MeetingAlert.d.ts +1 -1
  436. package/dist/types/components/menu-overlay/MenuOverlay.d.ts +4 -3
  437. package/dist/types/components/modal/Modal.d.ts +1 -1
  438. package/dist/types/components/pagination/Pagination.d.ts +2 -0
  439. package/dist/types/components/table/Table.d.ts +1 -1
  440. package/dist/types/components/timepicker/TimePicker.d.ts +3 -3
  441. package/dist/types/components/toggle-switch/ToggleSwitch.d.ts +1 -1
  442. package/dist/types/components/tooltip/Tooltip.d.ts +2 -2
  443. package/dist/types/utils/keyboard.d.ts +1 -0
  444. package/package.json +6 -6
  445. package/dist/assets/fonts/MomentumFontIcon.svg +0 -8634
  446. package/dist/assets/fonts/MomentumFontIcon.ttf +0 -0
  447. package/dist/assets/fonts/MomentumFontIcon.woff +0 -0
  448. package/dist/assets/fonts/MomentumFontIcon.woff2 +0 -0
  449. package/dist/assets/fonts/glyphs.json +0 -20120
  450. package/dist/assets/icons/fonts/MomentumFontIcon.svg +0 -8634
  451. package/dist/assets/icons/fonts/MomentumFontIcon.ttf +0 -0
  452. package/dist/assets/icons/fonts/MomentumFontIcon.woff +0 -0
  453. package/dist/assets/icons/fonts/MomentumFontIcon.woff2 +0 -0
  454. package/dist/assets/icons/fonts/glyphs.json +0 -20120
  455. package/dist/assets/styles/MomentumFontIcons.css +0 -11751
  456. package/dist/assets/styles/MomentumFontIcons.min.css +0 -1
  457. package/dist/assets/styles/functions.scss +0 -3
  458. package/dist/assets/styles/icons.scss +0 -2880
  459. package/dist/assets/styles/mixins.scss +0 -2915
  460. package/dist/assets/styles/placeholders.scss +0 -2901
  461. package/dist/assets/styles/variables.scss +0 -2885
@@ -1 +1,16 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[42],{67:function(o,e,r){"use strict";var i=r(0);e.a=i.css`:host{--radio-label-text-color:var(--radio-input-text-color, $lm-radio-input-text-color-light)}:host(md-radio) .md-radio-wrapper{max-height:1.4375rem;display:inline-flex}:host(md-radio) .md-radio-input{height:1.4375rem;position:absolute;visibility:hidden;width:100%}:host(md-radio) .md-radio-label{color:var(--md-primary-text-color,#121212);cursor:pointer;font-size:14px;line-height:1.4375rem;padding-left:calc(1.25rem*1.8);padding-right:calc(.25rem/2);pointer-events:none;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:100%}:host(md-radio) .md-radio-label::before{content:"";position:absolute;border:.0625rem solid var(--radio-input-border-color,#545454);border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-left-radius:50%;border-bottom-right-radius:50%;box-shadow:inset 0 0 0 .36rem var(--radio-input-bg-color,#fff),inset 0 0 0 1.25rem var(--radio-input-bg-color,#fff);box-sizing:border-box;height:1.25rem;left:.125rem;top:.0625rem;width:1.25rem}:host(:focus){box-shadow:none;outline:0}:host([focus-visible]:not([disabled])){box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}:host(:hover:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host(:active:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-pressed-border-color,#ccc);box-shadow:inset 0 0 0 .36rem var(--radio-input-pressed-bg-color,#dedede),inset 0 0 0 1.25rem var(--radio-input-pressed-bg-color,#dedede)}:host([disabled]){cursor:not-allowed;opacity:.4}:host([disabled]) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host([aria-checked=true]) .md-radio-label:before{border-color:var(--radio-input-selected-border-color,#00a0d1);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-bg-color,#00a0d1),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-hover-border-color,#007aa3);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-hover-bg-color,#007aa3),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:active:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-pressed-border-color,#005e7d);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-pressed-bg-color,#005e7d),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}@media(forced-colors:active){:host(md-radio) .md-radio-label::before{border:1px solid CanvasText}:host(:active:not([disabled])) .md-radio-label:before,:host(:hover:not([disabled])) .md-radio-label:before{border:none;outline:2px solid Highlight;outline-offset:-1px}:host([aria-checked=true]) .md-radio-label:before{background-color:Highlight;border:none;outline:0}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{background-color:Highlight}:host([aria-checked=true]) .md-radio-label:after{content:"";position:absolute;top:50%;left:12px;transform:translate(-50%,-50%);width:8px;height:8px;background-color:Canvas;border-radius:50%}:host([focus-visible]:not([disabled])){outline:2px solid Highlight;outline-offset:-1px}}:host(md-radiogroup){display:flex}:host(md-radio){border-radius:.25rem;display:inline!important}:host([alignment=vertical]) div{display:inline-flex;flex-direction:column}:host([alignment=vertical]) div ::slotted(md-radio){margin-bottom:calc(.25rem*3)}:host([alignment=horizontal]) div{display:inline-flex;flex-direction:row}:host([alignment=horizontal]) div ::slotted(md-radio){margin-right:calc(.25rem*8)}:host([disabled]) div ::slotted(md-radio){pointer-events:none}`}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[42],{58:function(e,t,d){"use strict";d.r(t),d.d(t,"MenuItem",(function(){return s}));var s,i=d(5),n=d(6),a=d(0),l=d(4),r=d(2),m=d(67),o=function(e,t,d,s){var i,n=arguments.length,a=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,d):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,d,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(t,d,a):i(t,d))||a);return n>3&&a&&Object.defineProperty(t,d,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.href="",this.label="",this.tabIndex=-1,this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedItem(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[i.a,m.a]}setupEvents(){this.addEventListener("mousedown",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}firstUpdated(e){super.firstUpdated(e),this.label&&this.setAttribute("aria-label",this.label),this.setupEvents()}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}handleClick(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("menu-item-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleKeyDown(e){this.dispatchEvent(new CustomEvent("menu-item-keydown",{detail:{id:this.id,key:e.code,srcEvent:e},bubbles:!0,composed:!0}))}notifySelectedItem(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}get menuItemClassMap(){return{"md-menu-item--selected":this.selected,disabled:this.disabled}}render(){return a.html`
2
+ <li
3
+ role="menuitem"
4
+ part="menu-item"
5
+ class="md-menu-item ${Object(l.classMap)(this.menuItemClassMap)}"
6
+ ?disabled=${this.disabled}
7
+ tabindex="-1"
8
+ aria-hidden="true"
9
+ aria-selected="false"
10
+ aria-label=${Object(r.ifDefined)(this.label)}
11
+ >
12
+ <a href="${Object(r.ifDefined)(this.href||void 0)}">
13
+ <slot></slot>
14
+ </a>
15
+ </li>
16
+ `}};o([Object(a.property)({type:String})],t.prototype,"href",void 0),o([Object(a.property)({type:String})],t.prototype,"label",void 0),o([Object(a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),o([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=o([Object(n.a)("md-menu-item")],t),e.ELEMENT=t}(s||(s={}))},67:function(e,t,d){"use strict";var s=d(0);t.a=s.css`.md-menu{margin:0;padding:0}.md-menu--horizontal .md-menu-list ::slotted(*){display:inline-flex}.md-menu--vertical .md-menu-list ::slotted(*){display:flex}.md-menu.justified .md-menu-list{display:flex;justify-content:space-between}.md-menu .md-menu-list{margin:0}.md-menu-item{list-style:none;padding:.125rem}.md-menu-item a{color:var(--menu-text-color,var(--menu-default,#121212));display:flex;padding:.375rem .75rem}.md-menu-item ::slotted(*){padding:0 .1875rem}.md-menu-item:hover{background:var(--menu-hover-bg,var(--menu-hover-bg,#c9f4ff))}.md-menu-item:active{background:var(--menu-pressed-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item--selected{background:var(--menu-selected-default-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item--selected:hover{background:var(--menu-selected-hover-bg,var(--menu-hover-bg,#c9f4ff))}.md-menu-item--selected:active{background:var(--menu-selected-pressed-bg,var(--menu-pressed-bg,#91ebff))}.md-menu-item.disabled{pointer-events:none}.md-menu-item.disabled a{background:rgba(0,0,0,0);color:var(--md-disabled-text-color)}@media(forced-colors:active){.md-menu-item--selected,.md-menu-item:active,.md-menu-item:focus,.md-menu-item:hover{outline:1px solid Highlight}.md-menu-item.disabled a{color:GrayText}}`}}]);
@@ -1,27 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[43],{43:function(e,t,s){"use strict";s.r(t),s.d(t,"TAB_CROSS_WIDTH",(function(){return p})),s.d(t,"Tab",(function(){return h}));var i=s(1),a=s(7),o=s(6),l=s(5),d=s(0),r=s(4),c=s(2),n=s(38),b=function(e,t,s,i){var a,o=arguments.length,l=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,s,i);else for(var d=e.length-1;d>=0;d--)(a=e[d])&&(l=(o<3?a(l):o>3?a(t,s,l):a(t,s))||l);return o>3&&l&&Object.defineProperty(t,s,l),l};const p=22;var h;!function(e){let t=class extends(Object(a.a)(d.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.ariaRole="tab",this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedTab(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[l.a,n.a]}handleClick(e){e.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCrossKeydown(e){e.stopPropagation(),e.code===i.b.Enter&&this.handleCrossEventDispatch()}handleCrossClick(e){e.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}connectedCallback(){super.connectedCallback()}firstUpdated(e){super.firstUpdated(e),this.ariaRole&&this.setAttribute("role",this.ariaRole)}render(){return d.html`
2
- <button
3
- type="button"
4
- role="button"
5
- ?disabled=${this.disabled}
6
- aria-selected="false"
7
- aria-label=${Object(c.ifDefined)(this.ariaLabel||void 0)}
8
- aria-hidden="true"
9
- tabindex="-1"
10
- part="tab"
11
- class="${Object(r.classMap)({closable:""!==this.closable})}"
12
- @click=${e=>this.handleClick(e)}
13
- >
14
- <slot class="tab-slot"></slot>
15
- ${this.isCrossVisible&&this.closable?d.html`
16
- <div
17
- ?disabled=${this.disabled}
18
- tabindex="-1"
19
- class="tab-action-button"
20
- @click=${e=>this.handleCrossClick(e)}
21
- @keydown=${e=>this.handleCrossKeydown(e)}
22
- >
23
- <md-icon tabindex="0" name="cancel_14"></md-icon>
24
- </div>
25
- `:""}
26
- </button>
27
- `}};b([Object(d.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),b([Object(d.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),b([Object(d.property)({type:String,attribute:"closable"})],t.prototype,"closable",void 0),b([Object(d.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),b([Object(d.property)({type:Boolean,attribute:"cross-visible"})],t.prototype,"isCrossVisible",void 0),b([Object(d.property)({type:String})],t.prototype,"ariaRole",void 0),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"vertical",void 0),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"viewportHidden",void 0),t=b([Object(o.a)("md-tab")],t),e.ELEMENT=t}(h||(h={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[43],{69:function(o,e,r){"use strict";var i=r(0);e.a=i.css`:host{--radio-label-text-color:var(--radio-input-text-color, $lm-radio-input-text-color-light)}:host(md-radio) .md-radio-wrapper{max-height:1.4375rem;display:inline-flex}:host(md-radio) .md-radio-input{height:1.4375rem;position:absolute;visibility:hidden;width:100%}:host(md-radio) .md-radio-label{color:var(--md-primary-text-color,#121212);cursor:pointer;font-size:14px;line-height:1.4375rem;padding-left:calc(1.25rem*1.8);padding-right:calc(.25rem/2);pointer-events:none;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:100%}:host(md-radio) .md-radio-label::before{content:"";position:absolute;border:.0625rem solid var(--radio-input-border-color,#545454);border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-left-radius:50%;border-bottom-right-radius:50%;box-shadow:inset 0 0 0 .36rem var(--radio-input-bg-color,#fff),inset 0 0 0 1.25rem var(--radio-input-bg-color,#fff);box-sizing:border-box;height:1.25rem;left:.125rem;top:.0625rem;width:1.25rem}:host(:focus){box-shadow:none;outline:0}:host([focus-visible]:not([disabled])){box-shadow:0 0 0 .125rem var(--md-default-focus-outline-color,#005e7d)}:host(:hover:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host(:active:not([disabled])) .md-radio-label:before{border:.0625rem solid var(--radio-input-pressed-border-color,#ccc);box-shadow:inset 0 0 0 .36rem var(--radio-input-pressed-bg-color,#dedede),inset 0 0 0 1.25rem var(--radio-input-pressed-bg-color,#dedede)}:host([disabled]){cursor:not-allowed;opacity:.4}:host([disabled]) .md-radio-label:before{border:.0625rem solid var(--radio-input-hover-border-color,#545454);box-shadow:inset 0 0 0 .36rem var(--radio-input-hover-bg-color,#545454),inset 0 0 0 1.25rem var(--radio-input-hover-bg-color,#545454)}:host([aria-checked=true]) .md-radio-label:before{border-color:var(--radio-input-selected-border-color,#00a0d1);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-bg-color,#00a0d1),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-hover-border-color,#007aa3);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-hover-bg-color,#007aa3),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}:host([aria-checked=true]:active:not([disabled])) .md-radio-label:before{border-color:var(--radio-input-selected-pressed-border-color,#005e7d);box-shadow:inset 0 0 0 .36rem var(--radio-input-selected-pressed-bg-color,#005e7d),inset 0 0 0 1.25rem var(--radio-input-icon-color,#fff)}@media(forced-colors:active){:host(md-radio) .md-radio-label::before{border:1px solid CanvasText}:host(:active:not([disabled])) .md-radio-label:before,:host(:hover:not([disabled])) .md-radio-label:before{border:none;outline:2px solid Highlight;outline-offset:-1px}:host([aria-checked=true]) .md-radio-label:before{background-color:Highlight;border:none;outline:0}:host([aria-checked=true]:hover:not([disabled])) .md-radio-label:before{background-color:Highlight}:host([aria-checked=true]) .md-radio-label:after{content:"";position:absolute;top:50%;left:12px;transform:translate(-50%,-50%);width:8px;height:8px;background-color:Canvas;border-radius:50%}:host([focus-visible]:not([disabled])){outline:2px solid Highlight;outline-offset:-1px}}:host(md-radiogroup){display:flex}:host(md-radio){border-radius:.25rem;display:inline!important}:host([alignment=vertical]) div{display:inline-flex;flex-direction:column}:host([alignment=vertical]) div ::slotted(md-radio){margin-bottom:calc(.25rem*3)}:host([alignment=horizontal]) div{display:inline-flex;flex-direction:row}:host([alignment=horizontal]) div ::slotted(md-radio){margin-right:calc(.25rem*8)}:host([disabled]) div ::slotted(md-radio){pointer-events:none}`}}]);
@@ -1,5 +1,27 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{83:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return c}));var c,s=o(1),i=o(7),n=o(6),d=o(5),r=o(0),a=o(57),l=function(e,t,o,c){var s,i=arguments.length,n=i<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,o):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,c);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};!function(e){let t=class extends(Object(i.e)(r.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("focus-visible")),o=this.slotted.length;let c=t;for(c=(o+c+e)%o;this.slotted[c].disabled;)c=(o+c+e)%o;this.focusAccordionItem(this.slotted[c])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame(()=>e.header.focus())}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach(t=>{const o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)})}removeFocusAccordionItems(){this.slotted.forEach(e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case s.b.Space:case s.b.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case s.b.ArrowDown:this.switchFocusedAccordionItem(1);break;case s.b.ArrowUp:this.switchFocusedAccordionItem(-1);break;case s.b.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case s.b.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[d.a,a.a]}render(){return r.html`
2
- <div class="md-accordion" part="accordion">
3
- <slot name="accordion-item"></slot>
4
- </div>
5
- `}};l([Object(r.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),l([Object(r.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=l([Object(n.a)("md-accordion")],t),e.ELEMENT=t}(c||(c={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{45:function(e,t,s){"use strict";s.r(t),s.d(t,"TAB_CROSS_WIDTH",(function(){return p})),s.d(t,"Tab",(function(){return h}));var i=s(1),a=s(7),o=s(6),l=s(5),d=s(0),r=s(4),c=s(2),n=s(39),b=function(e,t,s,i){var a,o=arguments.length,l=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,s,i);else for(var d=e.length-1;d>=0;d--)(a=e[d])&&(l=(o<3?a(l):o>3?a(t,s,l):a(t,s))||l);return o>3&&l&&Object.defineProperty(t,s,l),l};const p=22;var h;!function(e){let t=class extends(Object(a.a)(d.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.ariaRole="tab",this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedTab(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[l.a,n.a]}handleClick(e){e.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCrossKeydown(e){e.stopPropagation(),e.code===i.b.Enter&&this.handleCrossEventDispatch()}handleCrossClick(e){e.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}connectedCallback(){super.connectedCallback()}firstUpdated(e){super.firstUpdated(e),this.ariaRole&&this.setAttribute("role",this.ariaRole)}render(){return d.html`
2
+ <button
3
+ type="button"
4
+ role="button"
5
+ ?disabled=${this.disabled}
6
+ aria-selected="false"
7
+ aria-label=${Object(c.ifDefined)(this.ariaLabel||void 0)}
8
+ aria-hidden="true"
9
+ tabindex="-1"
10
+ part="tab"
11
+ class="${Object(r.classMap)({closable:""!==this.closable})}"
12
+ @click=${e=>this.handleClick(e)}
13
+ >
14
+ <slot class="tab-slot"></slot>
15
+ ${this.isCrossVisible&&this.closable?d.html`
16
+ <div
17
+ ?disabled=${this.disabled}
18
+ tabindex="-1"
19
+ class="tab-action-button"
20
+ @click=${e=>this.handleCrossClick(e)}
21
+ @keydown=${e=>this.handleCrossKeydown(e)}
22
+ >
23
+ <md-icon tabindex="0" name="cancel_14"></md-icon>
24
+ </div>
25
+ `:""}
26
+ </button>
27
+ `}};b([Object(d.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),b([Object(d.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),b([Object(d.property)({type:String,attribute:"closable"})],t.prototype,"closable",void 0),b([Object(d.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),b([Object(d.property)({type:Boolean,attribute:"cross-visible"})],t.prototype,"isCrossVisible",void 0),b([Object(d.property)({type:String})],t.prototype,"ariaRole",void 0),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"vertical",void 0),b([Object(d.property)({type:Boolean,reflect:!0})],t.prototype,"viewportHidden",void 0),t=b([Object(o.a)("md-tab")],t),e.ELEMENT=t}(h||(h={}))}}]);
@@ -1,34 +1,5 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[45],{84:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));var i,n=d(7),o=d(6),s=d(5),a=d(0),l=d(2),r=d(22),c=d(57),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[s.a,c.a]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return a.html`
2
- <div class="md-accordion-item">
3
- <div role="heading" aria-level=${this.level} class="md-accordion-header" part="accordion-header">
4
- <button
5
- type="button"
6
- aria-expanded=${this.expanded}
7
- class="md-accordion-expander"
8
- aria-label=${Object(l.ifDefined)(this.label||void 0)}
9
- aria-controls="panel-${this.uniqueId}"
10
- aria-disabled=${this.disabled}
11
- ?disabled=${this.disabled}
12
- id="header-${this.uniqueId}"
13
- part="accordion-button"
14
- tabindex=${Object(l.ifDefined)(this.disabled?-1:void 0)}
15
- @mousedown=${this.handleMouseDown}
16
- @keydown=${this.handleKeyDown}
17
- >
18
- <slot name="header-content">
19
- <span class="md-accordion-expander-label">${this.label}</span>
20
- </slot>
21
- <md-icon name=${this.expanded?"icon-arrow-up_12":"icon-arrow-down_12"}></md-icon>
22
- </button>
23
- </div>
24
- <div
25
- role="region"
26
- id="panel-${this.uniqueId}"
27
- aria-labelledby="header-${this.uniqueId}"
28
- class="md-accordion-panel"
29
- part="accordion-panel"
30
- >
31
- <slot></slot>
32
- </div>
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[45],{84:function(e,t,o){"use strict";o.r(t),o.d(t,"Accordion",(function(){return c}));var c,s=o(1),i=o(7),n=o(6),d=o(5),r=o(0),a=o(59),l=function(e,t,o,c){var s,i=arguments.length,n=i<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,o):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,c);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(n=(i<3?s(n):i>3?s(t,o,n):s(t,o))||n);return i>3&&n&&Object.defineProperty(t,o,n),n};!function(e){let t=class extends(Object(i.e)(r.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("focus-visible")),o=this.slotted.length;let c=t;for(c=(o+c+e)%o;this.slotted[c].disabled;)c=(o+c+e)%o;this.focusAccordionItem(this.slotted[c])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame(()=>e.header.focus())}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach(t=>{const o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)})}removeFocusAccordionItems(){this.slotted.forEach(e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case s.b.Space:case s.b.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case s.b.ArrowDown:this.switchFocusedAccordionItem(1);break;case s.b.ArrowUp:this.switchFocusedAccordionItem(-1);break;case s.b.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case s.b.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[d.a,a.a]}render(){return r.html`
2
+ <div class="md-accordion" part="accordion">
3
+ <slot name="accordion-item"></slot>
33
4
  </div>
34
- `}};p([Object(a.property)({type:String})],t.prototype,"label",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),p([Object(a.property)({type:Number,reflect:!0})],t.prototype,"level",null),p([Object(a.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=p([Object(o.a)("md-accordion-item")],t),e.ELEMENT=t}(i||(i={}))}}]);
5
+ `}};l([Object(r.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),l([Object(r.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=l([Object(n.a)("md-accordion")],t),e.ELEMENT=t}(c||(c={}))}}]);
@@ -1,13 +1,38 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{85:function(t,e,i){"use strict";i.r(e),i.d(e,"activityButtonSize",(function(){return c})),i.d(e,"activityButtonType",(function(){return p})),i.d(e,"ActivityButton",(function(){return y}));var r=i(5),n=i(6),o=i(0),s=(i(18),i(15),i(58)),a=function(t,e,i,r){var n,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(e,i,s):n(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const c=["56","68","84",56,68,84],p=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var y;!function(t){let e=class extends o.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;p.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,["md-activity__"+this.type]:this.type}}static get styles(){return[r.a,s.a]}render(){return o.html`
2
- <md-button
3
- aria-label=${this.ariaLabel}
4
- circle
5
- .activityType=${this.type}
6
- ?containerLarge=${"84"===this.size}
7
- ?disabled=${this.disabled}
8
- .size=${this.size}
9
- .label=${this.label}
10
- >
11
- <md-icon name=${`icon-${this.type}_${this.buttonToIconSizeMapping[this.size]}`}></md-icon>
12
- </md-button>
13
- `}};a([Object(o.property)({type:String})],e.prototype,"ariaLabel",void 0),a([Object(o.property)({type:Boolean})],e.prototype,"disabled",void 0),a([Object(o.property)({type:String})],e.prototype,"label",void 0),a([Object(o.property)({type:String})],e.prototype,"size",void 0),a([Object(o.property)({type:String})],e.prototype,"type",null),e=a([Object(n.a)("md-activity-button")],e),t.ELEMENT=e}(y||(y={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{85:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));d(13);var i,n=d(7),o=d(6),s=d(5),a=d(0),l=d(2),r=d(22),c=d(59),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[s.a,c.a]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return a.html`
2
+ <div class="md-accordion-item">
3
+ <div role="heading" aria-level=${this.level} class="md-accordion-header" part="accordion-header">
4
+ <button
5
+ type="button"
6
+ aria-expanded=${this.expanded}
7
+ class="md-accordion-expander"
8
+ aria-label=${Object(l.ifDefined)(this.label||void 0)}
9
+ aria-controls="panel-${this.uniqueId}"
10
+ aria-disabled=${this.disabled}
11
+ ?disabled=${this.disabled}
12
+ id="header-${this.uniqueId}"
13
+ part="accordion-button"
14
+ tabindex=${Object(l.ifDefined)(this.disabled?-1:void 0)}
15
+ @mousedown=${this.handleMouseDown}
16
+ @keydown=${this.handleKeyDown}
17
+ >
18
+ <slot name="header-content">
19
+ <span class="md-accordion-expander-label">${this.label}</span>
20
+ </slot>
21
+ <md-icon
22
+ iconSet=${"momentumDesign"}
23
+ size="14"
24
+ name=${this.expanded?"arrow-up-bold":"arrow-down-bold"}
25
+ ></md-icon>
26
+ </button>
27
+ </div>
28
+ <div
29
+ role="region"
30
+ id="panel-${this.uniqueId}"
31
+ aria-labelledby="header-${this.uniqueId}"
32
+ class="md-accordion-panel"
33
+ part="accordion-panel"
34
+ >
35
+ <slot></slot>
36
+ </div>
37
+ </div>
38
+ `}};p([Object(a.property)({type:String})],t.prototype,"label",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([Object(a.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),p([Object(a.property)({type:Number,reflect:!0})],t.prototype,"level",null),p([Object(a.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=p([Object(o.a)("md-accordion-item")],t),e.ELEMENT=t}(i||(i={}))}}]);
@@ -1,20 +1,13 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[47],{104:function(e,r,t){"use strict";t.r(r),t.d(r,"AlertBanner",(function(){return n}));var n,a=t(1),o=t(5),l=t(6),c=t(0),s=t(13),d=(t(18),t(15),c.css`.md-alert-banner{padding:.75rem;position:relative;text-align:center;border-radius:var(--alert-banner-border-radius);font-family:var(--brand-font-regular);font-weight:var(--brand-font-weight-regular)}.md-alert-banner.md-alert-banner--default{background-color:var(--alert-banner-default-bg-color,#c9f4ff);color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--default md-icon{color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--warning{background-color:var(--alert-banner-warning-bg-color,#ffecc2);color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--warning md-icon{color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--error{background-color:var(--alert-banner-error-bg-color,#ffe8e3);color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner.md-alert-banner--error md-icon{color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner.md-alert-banner--success{background-color:var(--alert-banner-success-bg-color,#c9f4ff);color:var(--alert-banner-success-text-color,#005e7d)}.md-alert-banner.md-alert-banner--success md-icon{color:var(--alert-banner-success-text-color,#005e7d)}.md-alert-banner__text{font-size:var(--body-primary-font-size,.875rem);padding:0 1.75rem;text-align:center}.md-alert-banner__text a{color:inherit;text-decoration:underline}.md-alert-banner__close{cursor:pointer;height:1rem;position:absolute;right:1rem;top:.75rem;width:1rem}@media(forced-colors:active){.md-alert-banner{box-shadow:none;outline:2px solid CanvasText}}`),i=function(e,r,t,n){var a,o=arguments.length,l=o<3?r:null===n?n=Object.getOwnPropertyDescriptor(r,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,r,t,n);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(l=(o<3?a(l):o>3?a(r,t,l):a(r,t))||l);return o>3&&l&&Object.defineProperty(r,t,l),l};!function(e){let r=class extends c.LitElement{constructor(){super(...arguments),this.type="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner"}connectedCallback(){super.connectedCallback(),this.requestUpdate("show")}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide")),this.requestUpdate("show")}handleKeyDown(e){const{code:r}=e;r!==a.b.Enter&&r!==a.b.Space||this.onHide()}static get styles(){return[o.a,d]}render(){const e={"md-alert-banner":!0,["md-alert-banner--"+this.type]:this.type},r=this.closable?c.html`
2
- <md-button
3
- class="md-alert-banner__close"
4
- hasRemoveStyle
5
- ariaLabel=${this.closeAriaLabel}
6
- @click="${this.onHide}"
7
- @keydown="${this.handleKeyDown}"
8
- >
9
- <md-icon name="icon-cancel_16"></md-icon>
10
- </md-button>
11
- `:null;return c.html`
12
- ${this.show?c.html`
13
- <div class="${Object(s.classMap)(e)}" role="alert">
14
- <div class="md-alert-banner__text">
15
- <slot><span>${this.message}</span></slot>
16
- </div>
17
- ${r}
18
- </div>
19
- `:null}
20
- `}};i([Object(c.property)({type:String})],r.prototype,"type",void 0),i([Object(c.property)({type:String})],r.prototype,"message",void 0),i([Object(c.property)({type:Boolean})],r.prototype,"closable",void 0),i([Object(c.property)({type:Boolean})],r.prototype,"show",void 0),i([Object(c.property)({type:String,attribute:"close-aria-label"})],r.prototype,"closeAriaLabel",void 0),r=i([Object(l.a)("md-alert-banner")],r),e.ELEMENT=r}(n||(n={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[47],{86:function(t,e,i){"use strict";i.r(e),i.d(e,"activityButtonSize",(function(){return c})),i.d(e,"activityButtonType",(function(){return p})),i.d(e,"ActivityButton",(function(){return y}));var r=i(5),n=i(6),o=i(0),s=(i(16),i(13),i(60)),a=function(t,e,i,r){var n,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(e,i,s):n(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const c=["56","68","84",56,68,84],p=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var y;!function(t){let e=class extends o.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;p.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,["md-activity__"+this.type]:this.type}}static get styles(){return[r.a,s.a]}render(){return o.html`
2
+ <md-button
3
+ aria-label=${this.ariaLabel}
4
+ circle
5
+ .activityType=${this.type}
6
+ ?containerLarge=${"84"===this.size}
7
+ ?disabled=${this.disabled}
8
+ .size=${this.size}
9
+ .label=${this.label}
10
+ >
11
+ <md-icon name=${`icon-${this.type}_${this.buttonToIconSizeMapping[this.size]}`}></md-icon>
12
+ </md-button>
13
+ `}};a([Object(o.property)({type:String})],e.prototype,"ariaLabel",void 0),a([Object(o.property)({type:Boolean})],e.prototype,"disabled",void 0),a([Object(o.property)({type:String})],e.prototype,"label",void 0),a([Object(o.property)({type:String})],e.prototype,"size",void 0),a([Object(o.property)({type:String})],e.prototype,"type",null),e=a([Object(n.a)("md-activity-button")],e),t.ELEMENT=e}(y||(y={}))}}]);
@@ -1,47 +1,20 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[48],{105:function(e,t,r){"use strict";r.r(t),r.d(t,"Alert",(function(){return o}));r(18),r(15);var o,l=r(6),i=r(5),a=r(0),n=r(3),c=r(4),s=a.css`:host{--alert-icon-size:var(--alert-default-icon-size, $lm-alert-default-icon-size-light);--alert-close-btn:var(--alert-close-bg-color, $lm-alert-close-bg-color-light)}:host(md-alert){display:flex;flex:1 1 100%}.md-alert{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:space-between;border-top-left-radius:.3125rem;border-top-right-radius:.3125rem;border-bottom-left-radius:.3125rem;border-bottom-right-radius:.3125rem;background-color:var(--alert-default-bg-color,#fff);border:1px solid var(--alert-default-border-color,rgba(0,0,0,.12));box-shadow:0 8px 16px 0 rgba(0,0,0,.08);flex:1 1 100%;margin-bottom:.5rem;max-height:19.25rem;max-width:23rem;min-height:4.875rem;padding:.75rem}.md-alert__icon{align-self:center}.md-alert__icon md-icon::part(icon){font-size:var(--alert-default-icon-size,24px)!important;line-height:var(--alert-default-icon-size,24px)!important}.md-alert__content{display:flex;flex-basis:0;flex-direction:column;flex-grow:2;max-width:17rem;padding-left:.75rem;padding-right:.125rem;align-self:center}.md-alert__title{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;color:var(--alert-title-text-color,#121212);font-size:var(--alert-title-font-size,1rem);line-height:1.5rem;width:100%}.md-alert__message{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;color:var(--alert-default-text-color,#545454);font-family:var(--brand-font-light, "CiscoSansTT Light", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:var(--body-secondary-font-size,.875rem);line-height:1.35;width:100%;word-wrap:break-word}.md-alert__button{margin-left:.25rem;align-self:center}.md-alert__button md-button::part(button){align-items:center;background-color:var(--alert-close-bg-color,#fff);border-radius:50%;display:inline-flex;height:var(--alert-close-size,1rem);justify-content:center;width:var(--alert-close-size,1rem)}.md-alert__button md-icon::part(icon){color:var(--alert-close-text-color,#121212)}.md-alert.md-alert__inline{border:0;box-shadow:none;margin-bottom:0}@media(forced-colors:active){.md-alert__button md-icon::part(icon){color:ButtonText}.md-alert__icon{background:0 0}.md-alert__icon md-icon::part(icon){color:CanvasText}.md-alert .md-badge{background-color:inherit}}`,d=function(e,t,r,o){var l,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(l=e[n])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.closable=!1,this.message="",this.show=!1,this.internalClose=!0,this.title="",this.btnlabel="Close",this.type="default",this.inline=!1,this.renderIconTemplate=()=>{switch(this.type){case"error":return a.html`
2
- <md-icon name="icon-warning_32" color="var(--md-alert-error-text-color, red)"></md-icon>
3
- `;case"info":return a.html`
4
- <md-icon name="info_32" color="var(--md-alert-info-text-color, blue)"></md-icon>
5
- `;case"success":return a.html`
6
- <md-icon name="check-circle_36" color="var(--md-alert-success-text-color, green)"></md-icon>
7
- `;case"warn":case"warning":return a.html`
8
- <md-icon name="icon-warning_32" color="var(--md-alert-warning-text-color, orange)"></md-icon>
9
- `;default:return a.html`
10
- <slot name="alert-icon"></slot>
11
- `}}}close(){this.dispatchEvent(new CustomEvent("alert-close",{composed:!0,bubbles:!0})),this.internalClose&&(this.show=!1)}static get styles(){return[i.a,s]}get alertClassMap(){return{["md-alert--"+this.type]:!!this.type,"md-alert__inline":this.inline}}render(){return a.html`
12
- ${this.show?a.html`
13
- <div role="alert" aria-live="polite" part="alert" class="md-alert ${Object(c.classMap)(this.alertClassMap)}">
14
- <div class="md-alert__icon aria-hidden="true">
15
- ${this.renderIconTemplate()}
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[48],{105:function(e,r,t){"use strict";t.r(r),t.d(r,"AlertBanner",(function(){return n}));t(16),t(13);var n,a=t(6),o=t(37),l=t(5),c=t(0),s=t(14),i=c.css`.md-alert-banner{padding:.75rem;position:relative;text-align:center;border-radius:var(--alert-banner-border-radius);font-family:var(--brand-font-regular);font-weight:var(--brand-font-weight-regular)}.md-alert-banner.md-alert-banner--default{background-color:var(--alert-banner-default-bg-color,#c9f4ff);color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--default md-icon{color:var(--alert-banner-default-text-color,#005e7d)}.md-alert-banner.md-alert-banner--warning{background-color:var(--alert-banner-warning-bg-color,#ffecc2);color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--warning md-icon{color:var(--alert-banner-warning-text-color,#7d4705)}.md-alert-banner.md-alert-banner--error{background-color:var(--alert-banner-error-bg-color,#ffe8e3);color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner.md-alert-banner--error md-icon{color:var(--alert-banner-error-text-color,#a12512)}.md-alert-banner.md-alert-banner--success{background-color:var(--alert-banner-success-bg-color,#c9f4ff);color:var(--alert-banner-success-text-color,#005e7d)}.md-alert-banner.md-alert-banner--success md-icon{color:var(--alert-banner-success-text-color,#005e7d)}.md-alert-banner__text{font-size:var(--body-primary-font-size,.875rem);padding:0 1.75rem;text-align:center}.md-alert-banner__text a{color:inherit;text-decoration:underline}.md-alert-banner__close{cursor:pointer;height:1rem;position:absolute;right:1rem;top:.75rem;width:1rem}@media(forced-colors:active){.md-alert-banner{box-shadow:none;outline:2px solid CanvasText}}`,d=function(e,r,t,n){var a,o=arguments.length,l=o<3?r:null===n?n=Object.getOwnPropertyDescriptor(r,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,r,t,n);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(l=(o<3?a(l):o>3?a(r,t,l):a(r,t))||l);return o>3&&l&&Object.defineProperty(r,t,l),l};!function(e){let r=class extends c.LitElement{constructor(){super(...arguments),this.type="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner"}connectedCallback(){super.connectedCallback(),this.requestUpdate("show")}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide")),this.requestUpdate("show")}handleKeyDown(e){const{code:r}=e;Object(o.a)(r)&&this.onHide()}static get styles(){return[l.a,i]}render(){const e={"md-alert-banner":!0,["md-alert-banner--"+this.type]:this.type},r=this.closable?c.html`
2
+ <md-button
3
+ class="md-alert-banner__close"
4
+ hasRemoveStyle
5
+ ariaLabel=${this.closeAriaLabel}
6
+ @click="${this.onHide}"
7
+ @keydown="${this.handleKeyDown}"
8
+ >
9
+ <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
10
+ </md-button>
11
+ `:null;return c.html`
12
+ ${this.show?c.html`
13
+ <div class="${Object(s.classMap)(e)}" role="alert">
14
+ <div class="md-alert-banner__text">
15
+ <slot><span>${this.message}</span></slot>
16
16
  </div>
17
- <div part="content" class="md-alert__content">
18
- ${this.title&&""!==this.title?a.html`
19
- <div class="md-alert__title" role="heading" aria-level="1">
20
- ${this.title}
21
- </div>
22
- `:n.nothing}
23
- <div class="md-alert__message">
24
- ${this.message}
25
- <slot name="alert-body"></slot>
26
- </div>
27
- </div>
28
- ${this.closable?a.html`
29
- <div class="md-alert__button">
30
- <md-button
31
- arialabel="${this.btnlabel}"
32
- hasRemoveStyle
33
- color="color-none"
34
- circle
35
- @click="${()=>this.close()}"
36
- >
37
- <md-icon slot="icon" name="icon-cancel_16"></md-icon>
38
- </md-button>
39
- </div>
40
- `:a.html`
41
- <div class="md-alert__footer">
42
- <slot name="alert-footer"></slot>
43
- </div>
44
- `}
17
+ ${r}
45
18
  </div>
46
- `:n.nothing}
47
- `}};d([Object(a.property)({type:Boolean})],t.prototype,"closable",void 0),d([Object(a.property)({type:String})],t.prototype,"message",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"show",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"internalClose",void 0),d([Object(a.property)({type:String})],t.prototype,"title",void 0),d([Object(a.property)({type:String})],t.prototype,"btnlabel",void 0),d([Object(a.property)({type:String})],t.prototype,"type",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"inline",void 0),t=d([Object(l.a)("md-alert")],t),e.ELEMENT=t}(o||(o={}))}}]);
19
+ `:null}
20
+ `}};d([Object(c.property)({type:String})],r.prototype,"type",void 0),d([Object(c.property)({type:String})],r.prototype,"message",void 0),d([Object(c.property)({type:Boolean})],r.prototype,"closable",void 0),d([Object(c.property)({type:Boolean})],r.prototype,"show",void 0),d([Object(c.property)({type:String,attribute:"close-aria-label"})],r.prototype,"closeAriaLabel",void 0),r=d([Object(a.a)("md-alert-banner")],r),e.ELEMENT=r}(n||(n={}))}}]);