@watermarkinsights/ripple 5.20.0-alpha.9 → 5.21.0-alpha.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 (249) hide show
  1. package/dist/cjs/{app-globals-36cafd76.js → app-globals-bbe1db66.js} +1 -1
  2. package/dist/cjs/{chartFunctions-ce91b2c9.js → chartFunctions-369d5c6e.js} +1 -1
  3. package/dist/cjs/{functions-ea3eae05.js → functions-505d6601.js} +106 -24
  4. package/dist/cjs/{intl-ea56dd40.js → intl-e7d7e719.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/priv-calendar.cjs.entry.js +105 -84
  7. package/dist/cjs/priv-chart-popover.cjs.entry.js +1 -1
  8. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  9. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  10. package/dist/cjs/priv-option-list.cjs.entry.js +3 -3
  11. package/dist/cjs/ripple.cjs.js +2 -2
  12. package/dist/cjs/wm-action-menu_2.cjs.entry.js +3 -3
  13. package/dist/cjs/wm-button.cjs.entry.js +2 -2
  14. package/dist/cjs/wm-chart.cjs.entry.js +3 -3
  15. package/dist/cjs/wm-date-range.cjs.entry.js +1 -1
  16. package/dist/cjs/wm-datepicker.cjs.entry.js +1 -1
  17. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  18. package/dist/cjs/wm-file.cjs.entry.js +2 -2
  19. package/dist/cjs/wm-flyout.cjs.entry.js +3 -3
  20. package/dist/cjs/wm-input.cjs.entry.js +3 -3
  21. package/dist/cjs/wm-line-chart.cjs.entry.js +3 -3
  22. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +6 -6
  23. package/dist/cjs/wm-modal_3.cjs.entry.js +6 -6
  24. package/dist/cjs/wm-navigation_3.cjs.entry.js +6 -6
  25. package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
  26. package/dist/cjs/wm-nested-select.cjs.entry.js +5 -5
  27. package/dist/cjs/wm-optgroup.cjs.entry.js +2 -2
  28. package/dist/cjs/wm-option_2.cjs.entry.js +25 -12
  29. package/dist/cjs/wm-pagination.cjs.entry.js +3 -3
  30. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
  31. package/dist/cjs/wm-search.cjs.entry.js +4 -4
  32. package/dist/cjs/wm-snackbar.cjs.entry.js +4 -4
  33. package/dist/cjs/wm-tab-item_3.cjs.entry.js +14 -29
  34. package/dist/cjs/wm-tag-input.cjs.entry.js +4 -4
  35. package/dist/cjs/wm-tag-option.cjs.entry.js +1 -1
  36. package/dist/cjs/wm-textarea.cjs.entry.js +3 -3
  37. package/dist/cjs/wm-timepicker.cjs.entry.js +3 -3
  38. package/dist/cjs/wm-toggletip.cjs.entry.js +4 -4
  39. package/dist/cjs/wm-uploader.cjs.entry.js +4 -4
  40. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +61 -35
  41. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +106 -83
  42. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +1 -1
  43. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
  44. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
  45. package/dist/collection/components/selects/wm-option/wm-option.css +5 -10
  46. package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
  47. package/dist/collection/components/selects/wm-select/wm-select.css +0 -1
  48. package/dist/collection/components/selects/wm-select/wm-select.js +20 -7
  49. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  50. package/dist/collection/components/wm-button/wm-button.js +1 -1
  51. package/dist/collection/components/wm-file/wm-file.js +1 -1
  52. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  53. package/dist/collection/components/wm-flyout/wm-flyout.js +1 -1
  54. package/dist/collection/components/wm-input/wm-input.js +1 -1
  55. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  56. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  57. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  58. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  59. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
  60. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
  61. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
  62. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  63. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  64. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  65. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  66. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  67. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  68. package/dist/collection/components/wm-search/wm-search.js +2 -2
  69. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  70. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +1 -1
  71. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +2 -13
  72. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +2 -2
  73. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +8 -29
  74. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  75. package/dist/collection/components/wm-tag-input/wm-tag-input.js +2 -2
  76. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  77. package/dist/collection/components/wm-timepicker/wm-timepicker.js +2 -2
  78. package/dist/collection/components/wm-toggletip/wm-toggletip.js +3 -3
  79. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  80. package/dist/collection/global/functions.js +9 -0
  81. package/dist/esm/{app-globals-89e7e2af.js → app-globals-fde74c92.js} +1 -1
  82. package/dist/esm/{chartFunctions-613e9c87.js → chartFunctions-02a60556.js} +1 -1
  83. package/dist/esm/{functions-38e392cb.js → functions-14aaf49d.js} +106 -25
  84. package/dist/esm/{intl-0b8f342e.js → intl-7b5f8017.js} +1 -1
  85. package/dist/esm/loader.js +2 -2
  86. package/dist/esm/priv-calendar.entry.js +105 -84
  87. package/dist/esm/priv-chart-popover.entry.js +1 -1
  88. package/dist/esm/priv-navigator-button.entry.js +1 -1
  89. package/dist/esm/priv-navigator-item.entry.js +1 -1
  90. package/dist/esm/priv-option-list.entry.js +3 -3
  91. package/dist/esm/ripple.js +2 -2
  92. package/dist/esm/wm-action-menu_2.entry.js +3 -3
  93. package/dist/esm/wm-button.entry.js +2 -2
  94. package/dist/esm/wm-chart.entry.js +3 -3
  95. package/dist/esm/wm-date-range.entry.js +1 -1
  96. package/dist/esm/wm-datepicker.entry.js +1 -1
  97. package/dist/esm/wm-file-list.entry.js +1 -1
  98. package/dist/esm/wm-file.entry.js +2 -2
  99. package/dist/esm/wm-flyout.entry.js +3 -3
  100. package/dist/esm/wm-input.entry.js +3 -3
  101. package/dist/esm/wm-line-chart.entry.js +3 -3
  102. package/dist/esm/wm-modal-pss_3.entry.js +6 -6
  103. package/dist/esm/wm-modal_3.entry.js +6 -6
  104. package/dist/esm/wm-navigation_3.entry.js +6 -6
  105. package/dist/esm/wm-navigator.entry.js +1 -1
  106. package/dist/esm/wm-nested-select.entry.js +5 -5
  107. package/dist/esm/wm-optgroup.entry.js +2 -2
  108. package/dist/esm/wm-option_2.entry.js +25 -12
  109. package/dist/esm/wm-pagination.entry.js +3 -3
  110. package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
  111. package/dist/esm/wm-search.entry.js +4 -4
  112. package/dist/esm/wm-snackbar.entry.js +4 -4
  113. package/dist/esm/wm-tab-item_3.entry.js +14 -29
  114. package/dist/esm/wm-tag-input.entry.js +4 -4
  115. package/dist/esm/wm-tag-option.entry.js +1 -1
  116. package/dist/esm/wm-textarea.entry.js +3 -3
  117. package/dist/esm/wm-timepicker.entry.js +3 -3
  118. package/dist/esm/wm-toggletip.entry.js +4 -4
  119. package/dist/esm/wm-uploader.entry.js +4 -4
  120. package/dist/esm-es5/{app-globals-89e7e2af.js → app-globals-fde74c92.js} +1 -1
  121. package/dist/esm-es5/{chartFunctions-613e9c87.js → chartFunctions-02a60556.js} +1 -1
  122. package/dist/esm-es5/functions-14aaf49d.js +1 -0
  123. package/dist/esm-es5/{intl-0b8f342e.js → intl-7b5f8017.js} +1 -1
  124. package/dist/esm-es5/loader.js +1 -1
  125. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  126. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  127. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  128. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  129. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  130. package/dist/esm-es5/ripple.js +1 -1
  131. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  132. package/dist/esm-es5/wm-button.entry.js +1 -1
  133. package/dist/esm-es5/wm-chart.entry.js +1 -1
  134. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  135. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  136. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  137. package/dist/esm-es5/wm-file.entry.js +1 -1
  138. package/dist/esm-es5/wm-flyout.entry.js +1 -1
  139. package/dist/esm-es5/wm-input.entry.js +1 -1
  140. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  141. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  142. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  143. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  144. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  145. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  146. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  147. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  148. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  149. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  150. package/dist/esm-es5/wm-search.entry.js +1 -1
  151. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  152. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  153. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  154. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  155. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  156. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  157. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  158. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  159. package/dist/ripple/{p-4df8346a.entry.js → p-0460b298.entry.js} +1 -1
  160. package/dist/ripple/{p-41664372.entry.js → p-07dd157d.entry.js} +1 -1
  161. package/dist/ripple/{p-b921ee01.entry.js → p-0a47f460.entry.js} +1 -1
  162. package/dist/ripple/{p-667fdcbb.system.entry.js → p-0c737405.system.entry.js} +1 -1
  163. package/dist/ripple/{p-908057b2.entry.js → p-0eb56759.entry.js} +1 -1
  164. package/dist/ripple/{p-44cc05f6.system.entry.js → p-0ed21cab.system.entry.js} +1 -1
  165. package/dist/ripple/{p-9609d8e7.entry.js → p-12f39b2f.entry.js} +1 -1
  166. package/dist/ripple/{p-2b7259cb.system.entry.js → p-135ecb41.system.entry.js} +1 -1
  167. package/dist/ripple/{p-f4390a0a.system.entry.js → p-17d9c6b5.system.entry.js} +1 -1
  168. package/dist/ripple/{p-118093e1.entry.js → p-1ea4427b.entry.js} +1 -1
  169. package/dist/ripple/{p-92c8361f.js → p-220fa36a.js} +1 -1
  170. package/dist/ripple/{p-96f86eb4.system.entry.js → p-223efa2f.system.entry.js} +1 -1
  171. package/dist/ripple/{p-7134a305.system.entry.js → p-22b8d0a4.system.entry.js} +1 -1
  172. package/dist/ripple/{p-c7f3ef7f.system.entry.js → p-241e4847.system.entry.js} +1 -1
  173. package/dist/ripple/p-28f191bf.system.js +1 -0
  174. package/dist/ripple/{p-7edd25f7.system.js → p-2ecde7a9.system.js} +1 -1
  175. package/dist/ripple/{p-17964357.system.entry.js → p-321d4148.system.entry.js} +1 -1
  176. package/dist/ripple/{p-8e2f3a45.entry.js → p-365ab12b.entry.js} +1 -1
  177. package/dist/ripple/{p-65abcbb4.system.js → p-3967eef9.system.js} +1 -1
  178. package/dist/ripple/{p-6a70dc0b.system.entry.js → p-3b9ddb71.system.entry.js} +1 -1
  179. package/dist/ripple/{p-960d2cf0.system.entry.js → p-3ef56754.system.entry.js} +1 -1
  180. package/dist/ripple/p-3ef6eadd.entry.js +1 -0
  181. package/dist/ripple/{p-56b6d9f6.entry.js → p-3fb09574.entry.js} +1 -1
  182. package/dist/ripple/{p-00eaa361.system.entry.js → p-4086d2f2.system.entry.js} +1 -1
  183. package/dist/ripple/{p-4d0abf7a.entry.js → p-4cc3a15f.entry.js} +1 -1
  184. package/dist/ripple/{p-91c5b14e.system.entry.js → p-4e9f0f73.system.entry.js} +1 -1
  185. package/dist/ripple/{p-b1fb99e4.system.entry.js → p-4edc18b1.system.entry.js} +1 -1
  186. package/dist/ripple/{p-26ffcd83.entry.js → p-4f37838a.entry.js} +1 -1
  187. package/dist/ripple/{p-5405df80.system.entry.js → p-533290cd.system.entry.js} +1 -1
  188. package/dist/ripple/{p-fbad04d7.system.entry.js → p-58b7509e.system.entry.js} +1 -1
  189. package/dist/ripple/{p-1a89139d.system.entry.js → p-5e15c72a.system.entry.js} +1 -1
  190. package/dist/ripple/{p-b0da7ad4.system.entry.js → p-5fbc65d9.system.entry.js} +1 -1
  191. package/dist/ripple/{p-3612ee73.entry.js → p-61f780ab.entry.js} +1 -1
  192. package/dist/ripple/{p-23e1112c.system.entry.js → p-6d0f7f1d.system.entry.js} +1 -1
  193. package/dist/ripple/{p-d2ae64dd.js → p-700fa3a5.js} +1 -1
  194. package/dist/ripple/{p-ecd1c2ba.entry.js → p-71a3be1c.entry.js} +1 -1
  195. package/dist/ripple/{p-56e376b2.system.entry.js → p-736dc15d.system.entry.js} +1 -1
  196. package/dist/ripple/{p-39a4934f.entry.js → p-742451fa.entry.js} +1 -1
  197. package/dist/ripple/{p-7c3bf608.entry.js → p-7a189f76.entry.js} +1 -1
  198. package/dist/ripple/p-7a68fd88.system.entry.js +1 -0
  199. package/dist/ripple/{p-f9bbb123.system.entry.js → p-86113458.system.entry.js} +1 -1
  200. package/dist/ripple/{p-2db6573e.system.entry.js → p-8754858a.system.entry.js} +1 -1
  201. package/dist/ripple/{p-a9ddfa2c.entry.js → p-886b50fb.entry.js} +1 -1
  202. package/dist/ripple/p-8e59cec0.entry.js +1 -0
  203. package/dist/ripple/{p-4602304a.system.entry.js → p-8eba876d.system.entry.js} +1 -1
  204. package/dist/ripple/{p-3133ce3c.system.entry.js → p-9a691e9d.system.entry.js} +1 -1
  205. package/dist/ripple/{p-d815809f.js → p-9f10c71b.js} +1 -1
  206. package/dist/ripple/{p-86a61a2a.entry.js → p-9f27c966.entry.js} +1 -1
  207. package/dist/ripple/{p-507ea41f.system.entry.js → p-a0acef05.system.entry.js} +1 -1
  208. package/dist/ripple/p-a0b38e60.system.js +1 -0
  209. package/dist/ripple/{p-0825151e.entry.js → p-ace61ebd.entry.js} +1 -1
  210. package/dist/ripple/p-ad409bbe.system.entry.js +1 -0
  211. package/dist/ripple/{p-4b8f7d1e.entry.js → p-b275c070.entry.js} +1 -1
  212. package/dist/ripple/{p-abcdd7be.system.entry.js → p-b3682bbf.system.entry.js} +1 -1
  213. package/dist/ripple/{p-e5c34af5.system.entry.js → p-b5bfb1a3.system.entry.js} +1 -1
  214. package/dist/ripple/{p-72e1fdb5.entry.js → p-be8f0d4c.entry.js} +1 -1
  215. package/dist/ripple/{p-f91fc18d.entry.js → p-c68699f5.entry.js} +1 -1
  216. package/dist/ripple/{p-0bce3f83.entry.js → p-c9c76589.entry.js} +1 -1
  217. package/dist/ripple/{p-a5c5c64c.entry.js → p-cc85cd9b.entry.js} +1 -1
  218. package/dist/ripple/{p-a7cde3fc.entry.js → p-d22239ed.entry.js} +1 -1
  219. package/dist/ripple/{p-9e89655f.entry.js → p-d3aa80bc.entry.js} +1 -1
  220. package/dist/ripple/{p-a14dee02.system.entry.js → p-d66d99cd.system.entry.js} +1 -1
  221. package/dist/ripple/{p-bde7e77b.system.entry.js → p-d8e7f0ab.system.entry.js} +1 -1
  222. package/dist/ripple/{p-1fcf0ea8.system.entry.js → p-dab72fca.system.entry.js} +1 -1
  223. package/dist/ripple/{p-8d1e0f23.system.entry.js → p-dca07826.system.entry.js} +1 -1
  224. package/dist/ripple/p-e72235c6.js +1 -0
  225. package/dist/ripple/{p-60e16c79.entry.js → p-e73d5896.entry.js} +1 -1
  226. package/dist/ripple/{p-5e7893f0.entry.js → p-e9038796.entry.js} +1 -1
  227. package/dist/ripple/{p-2508b801.entry.js → p-eb68ec38.entry.js} +1 -1
  228. package/dist/ripple/{p-957f13fb.entry.js → p-ecafbfba.entry.js} +1 -1
  229. package/dist/ripple/{p-31bac55d.entry.js → p-ef3a4568.entry.js} +1 -1
  230. package/dist/ripple/{p-d9c7206b.system.entry.js → p-f1dea7a8.system.entry.js} +1 -1
  231. package/dist/ripple/{p-9202d9e9.entry.js → p-f3216137.entry.js} +1 -1
  232. package/dist/ripple/{p-ee96cea8.entry.js → p-f5c59ec1.entry.js} +1 -1
  233. package/dist/ripple/{p-ee89aa62.system.js → p-f768a9a5.system.js} +1 -1
  234. package/dist/ripple/ripple.esm.js +1 -1
  235. package/dist/ripple/ripple.js +1 -1
  236. package/dist/types/components/datepickers/priv-calendar/priv-calendar.d.ts +8 -0
  237. package/dist/types/components/selects/wm-select/wm-select.d.ts +3 -2
  238. package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +0 -1
  239. package/dist/types/components.d.ts +0 -2
  240. package/dist/types/global/functions.d.ts +1 -0
  241. package/package.json +2 -2
  242. package/dist/esm-es5/functions-38e392cb.js +0 -1
  243. package/dist/ripple/p-24594868.system.entry.js +0 -1
  244. package/dist/ripple/p-608971f2.system.js +0 -1
  245. package/dist/ripple/p-8ec6ec53.entry.js +0 -1
  246. package/dist/ripple/p-b511ebfd.js +0 -1
  247. package/dist/ripple/p-b5739e00.system.js +0 -1
  248. package/dist/ripple/p-e660d0b8.system.entry.js +0 -1
  249. package/dist/ripple/p-f11198be.entry.js +0 -1
@@ -22,7 +22,7 @@ export class ModalHeader {
22
22
  parentModal.emitCloseEvent();
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: 'ebb2d8038aa0ac395c53d4f0d91499919aa932f6' }, h("div", { key: '1f5486f23c9a9a32e5e33e47b6edc31c37c37821', class: "wm-wrapper" }, h("div", { key: 'a1192d79c1d5d7fed157386cc6acb92522e14cf7' }, h("h2", { key: 'bf4b908dad455408550d5a2695d3c4fcfcd75c3b', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '32347ba7f539174fee47edfce977f7c8426a3298', class: "subtitle" }, this.subheading))), h("wm-button", { key: '04324e5098e8580bcc3e44a107a348ff6fe5c9df', "button-type": "navigational", icon: "#close", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
25
+ return (h(Host, { key: '282b0960d221b5f6872f6259fefa4fde964229eb' }, h("div", { key: '7878bb4bf1fed4f0f980820d0d16b7171c64a0bf', class: "wm-wrapper" }, h("div", { key: 'cdb85926e03539e69d2d5df1d285b6b97a148ce4' }, h("h2", { key: '6c86104ac8b3fe0c177ad20f3ec258cf8ca48d45', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '2a7be253b0d28c95b530af26464f2d303a396dde', class: "subtitle" }, this.subheading))), h("wm-button", { key: '33c15118c3aa70c11889c5d2fc1d75e16e528b19', "button-type": "navigational", icon: "#close", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
26
26
  }
27
27
  static get is() { return "wm-modal-header"; }
28
28
  static get originalStyleUrls() {
@@ -115,11 +115,11 @@ export class Modal {
115
115
  }
116
116
  }
117
117
  render() {
118
- return (h("dialog", { key: '5c4ddc0193a1cc7bba49a6a7150b9ad636332236', class: `${"wm-" + this.modalType}`, "aria-labelledby": `wm-modal-heading-text-${this.uid}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: '29169f8a1f7276ee1211fd92a1a5eab37b43caea', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
118
+ return (h("dialog", { key: 'e23ee429416c463f88c1b1afc4406ab2c401271c', class: `${"wm-" + this.modalType}`, "aria-labelledby": `wm-modal-heading-text-${this.uid}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'f77480357d2d9dda2c9e03dfb073bc03e66e87af', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
119
119
  const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
120
120
  // no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
121
121
  focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
122
- } }), !this.hasBrowserPopoverSupport && h("div", { key: '7f828fd069855d9c7c62b510fc84a0dc1815dc4e', class: "wm-tooltip" }), h("slot", { key: '30af9b2f280d018a32074296dc3740c904873c3c' }), h("div", { key: 'dac6ebcd555cb4e0c0369854e030b78a014d7c9b', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
122
+ } }), !this.hasBrowserPopoverSupport && h("div", { key: 'eee145a7fb566a5459c34bea39e153066e8896a9', class: "wm-tooltip" }), h("slot", { key: '0367b39c9ae9713e163b30be907fe61ca8699474' }), h("div", { key: 'bbf27e8b209d9e57c5e0ff31556b0e11e99d6deb', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
123
123
  this.focusFirstElement.emit();
124
124
  } })));
125
125
  }
@@ -27,7 +27,7 @@ export class ModalPssFooter {
27
27
  parentModal.emitSecondaryEvent();
28
28
  }
29
29
  render() {
30
- return (h("div", { key: '1f7745220c7ad6d0aca3efd4b3cb8c334e680127', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '88168cdc61009781665a8a9edf365fa67907a770', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '2f2314c0cb6160b86e3ce361fd3a8536e06ad154', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '8cd98e5c43a01e42c38c54f8f9421cd20db4f34a', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '3b30db05b3a1101b6865b5986452c284f16733ef', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.primaryText))));
30
+ return (h("div", { key: 'f3ed1135a2ccfa49c16dd66daece5bfb993c7534', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '4403427b56f79606065a754d646bf18bc912db9e', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '36862f60cdcacb441672d34120f6badc3bee9048', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '07cba5e6270813ccd39429e8924bdc57f686ef5d', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '05b061ea376bd9b309158b5e59f1058c351efb22', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.primaryText))));
31
31
  }
32
32
  static get is() { return "wm-modal-pss-footer"; }
33
33
  static get originalStyleUrls() {
@@ -25,7 +25,7 @@ export class ModalPssHeader {
25
25
  // this.headingElement.focus();
26
26
  // }
27
27
  render() {
28
- return (h(Host, { key: '6298c005e1a4cc648e1311138858845bb121729d' }, h("div", { key: 'af42c86d168c9c5e2e77c39816f74f8801b39e53', class: "wm-wrapper" }, h("div", { key: '23e83cea157490d8db35b6f5b94e4aec59adccef' }, h("h2", { key: 'a2c95748bc7296ba241a1e0c6a6db7316d8c20de', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '0aefd7af87247f19ee926ef097f4ea8f76d49faf', class: "subtitle" }, this.subheading))), h("wm-button", { key: '1a74cb3f9beb7f01a60ae686ac01659a1d8ca23c', "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
28
+ return (h(Host, { key: '92583f333f5795b01afa63e9cf083f04a4f563bf' }, h("div", { key: '70e0f04cc75aaed989f813d9a14c741aaee77701', class: "wm-wrapper" }, h("div", { key: '6f1831c376e983766e60257aec2ced5e99b3996d' }, h("h2", { key: 'a1c39702cd6a48914180013835572e4fbead6ed8', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '30ad4c11aad67657ac9d8ac97c91cc1a419bbf79', class: "subtitle" }, this.subheading))), h("wm-button", { key: 'b2bc0b091b769973801080ae1ee63a7b13ffcee9', "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
29
29
  }
30
30
  static get is() { return "wm-modal-pss-header"; }
31
31
  static get originalStyleUrls() {
@@ -112,9 +112,9 @@ export class ModalPss {
112
112
  }
113
113
  }
114
114
  render() {
115
- return (h(Host, { key: 'bcd5fb7bf017cb1a5263e51a105fab47cb268bdf', class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
115
+ return (h(Host, { key: '457180aeea6baa1364de498c3d0b566655ae6afd', class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
116
116
  this.focusLastElement.emit();
117
- } }, h("div", { key: '2398829034757b569a1f4f754ba46697f72b70e0', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: '06975360afd821c91ab816a2585f89f3c9b36565', class: "sr-only", tabIndex: 0, onFocus: () => {
117
+ } }, h("div", { key: '1350861124c4d9f5555a5e05f426f44351b5b8a8', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: 'b75c04dfef1f95da6a81e01981e3b617522b8dc6', class: "sr-only", tabIndex: 0, onFocus: () => {
118
118
  this.focusFirstElement.emit();
119
119
  } })));
120
120
  }
@@ -34,7 +34,7 @@ export class NavigationHamburger {
34
34
  this.wmNavigationHamburgerClicked.emit();
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '2b4f6528c7ef852581d56121e8269a12129c8c1a', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: 'aa6041f59f4333b6ee68da53bfc7206d2733f059', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { key: '6b58e7ef3f124ba2fc33437e183a9e60844a8cdc', class: "svg-icon svg-menu" }))));
37
+ return (h(Host, { key: 'a43f96c6c9277bcbc28db3f54c1e6dac5a12c711', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: 'e8d172739a625abdd185201609f43660a43d92b4', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { key: '1e6cf4f1d121a4e5b04dcece6a00ac5cffbaecbb', class: "svg-icon svg-menu" }))));
38
38
  }
39
39
  static get is() { return "wm-navigation-hamburger"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@ export class NavigationItem {
6
6
  this.active = undefined;
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: 'fa0d860cef87f2af8b3c8ed67b37a2eafd4229c9', role: "listitem" }, h("a", { key: '192898896ee4310c0fb741d8bf5ebe27e57ab8b3', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: 'b0df43e4aaa9786b2d8e57fbeb766eb5cf348336', class: "icon", "aria-hidden": "true" }, h("slot", { key: 'dd4b646b3b48155163c8816344f3c947eb58403a' })), h("div", { key: 'a195cc9d6dc724553a9240896cddcfadceb7424c', class: "text" }, this.text))));
9
+ return (h(Host, { key: 'bf087268732555bdbe50c267f97c9f0858bba980', role: "listitem" }, h("a", { key: '2b6086ffd77e24e73ea262a9c730825cd9050e94', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '3e2e6f675ad123a095e2ca41f575e988c7949395', class: "icon", "aria-hidden": "true" }, h("slot", { key: '7733614fd071798abf4f8b254293d34cacfd6c5c' })), h("div", { key: 'a5312a7a50264dbfa191ed1136e6433609c337a6', class: "text" }, this.text))));
10
10
  }
11
11
  static get is() { return "wm-navigation-item"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -96,9 +96,9 @@ export class Navigation {
96
96
  } }));
97
97
  }
98
98
  render() {
99
- return (h(Host, { key: '4f3c6aaf5ad09e2274456a581f3cb5f1600eaac7', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '8bf94a53146229835eaec0aaf98e951b43ac799b', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: 'f76c5e0e70f98a4e5fa29e49509c879bac0292bf', class: "tray" }, h("div", { key: 'cfdfd3274efc3b99b0537ea7ca9bffa4f87d7b59', class: "toggle-wrapper" }, h("wm-button", { key: '96b6aa456c319bfa77d2180209c1175647404f5a', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
99
+ return (h(Host, { key: '4bd0e76d45cb8fd3cb5d17eff6483b63a5c504d9', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '83aeb0dd3fc577525956e2ab4b6b910d9ffe8451', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '0754ce2cd6fe0c796efc81d14dd92e09126208a4', class: "tray" }, h("div", { key: '5cc8c4ea179fd4dabcc59c72cc7d8b8c6e5790d2', class: "toggle-wrapper" }, h("wm-button", { key: '718ac087d2392c6f8a21bc33e8fbf827ea1669bb', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
100
100
  this.open = !this.open;
101
- } })), h("ul", { key: '342b7a1980f6d9d978405a8c5574ef45fca49ce4', class: "navlist" }, h("slot", { key: '33d14865bb6c4d9602769344916d7d88ecbfa661' }))), this.isCollapsible && (h("div", { key: '4d600f2eb2525ce3238dd09e102063d448ef8526', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
101
+ } })), h("ul", { key: '76048f353a64d59f11cbf7bb1cb116605c8c5015', class: "navlist" }, h("slot", { key: '89784fc29a3399ee3a08b3b1d961f015fa1a8a8f' }))), this.isCollapsible && (h("div", { key: '3c4902543ccdd22a907cb211495c5e46119774a7', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
102
102
  }
103
103
  static get is() { return "wm-navigation"; }
104
104
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class PrivNavigatorButton {
9
9
  }
10
10
  render() {
11
11
  const { handleClick, altText } = this;
12
- return (h("button", { key: '2f1ba167d864c88cbbd1f8f5f6192ba024fbb961', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
12
+ return (h("button", { key: '37826c509d1b35d0e5ef9915749d521941251722', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
13
13
  }
14
14
  static get is() { return "priv-navigator-button"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class PrivNavigatorItem {
16
16
  render() {
17
17
  const selectedClass = this.selected ? "selected" : "";
18
18
  const focusedClass = this.focused ? "focused" : "";
19
- return (h("div", { key: 'd79d559b7d56f0411ed7a2949c841df1975ed626', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '5004ab186708dca16f92e1b71bdd6c95d1080b7d' })));
19
+ return (h("div", { key: '7dba57536d9412d9f8865433056a2bcbde2f95aa', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: 'fcfc79489b88184203d8e4163f256e531de9bc67' })));
20
20
  }
21
21
  static get is() { return "priv-navigator-item"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -203,7 +203,7 @@ export class Pagination {
203
203
  render() {
204
204
  return (
205
205
  // do not render the component if there's only one page
206
- this.totalItems > this.itemsPerPage && (h("nav", { key: '4915b3425f35f85d5684893fbc82e6d6a29b9d0f', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '56b83b74efa2372e03f27ea654c808a2bb86a85b', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
206
+ this.totalItems > this.itemsPerPage && (h("nav", { key: '6be7673743d44ea45076ea3a7a6bcd4e48d4837d', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: 'd67e8a638a0aad67828a625ac07e5559876b15e8', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
207
207
  }
208
208
  static get is() { return "wm-pagination"; }
209
209
  static get encapsulation() { return "shadow"; }
@@ -168,10 +168,10 @@ export class Search {
168
168
  * End search and find render helpers
169
169
  */
170
170
  render() {
171
- return (h(Host, { key: 'cd7f595a342f69a27e507f9110b1bd67ca536b14' }, h("div", { key: '613883fa806fee9b523776e2c81abcc9c7c80eaf', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '5c944cc9756d6bba9396ef768c0d26cdd4fe7b88', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
171
+ return (h(Host, { key: '54839cc6b1e6c142e3f60d01572f4645816ccf08' }, h("div", { key: '19d72e8d5c578328ca64819a289e974a279ee352', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '1cf69b8f9d3ec4e7fdb0fa6a391fd71c920c7c74', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
172
172
  id: "search.typeToFilterResults",
173
173
  defaultMessage: "Type to filter the results",
174
- })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: 'd6dd15a45a5e449a5b177263e369d5016ae81a4d', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '4c3d42a0e159512713a54f99c403ca4a06549d06', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
174
+ })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '3495eb2351e9e51a114cb8680206196752623135', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '837a9c6a9c68d19c9bf4cb09158b22867036c128', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
175
175
  }
176
176
  static get is() { return "wm-search"; }
177
177
  static get encapsulation() { return "shadow"; }
@@ -145,11 +145,11 @@ export class Snackbar {
145
145
  }, onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, h("span", { "aria-hidden": "true" }, notification.link), notification.newWindow && h("div", { class: "svg-icon svg-open-in-new" })))), h("button", { id: `close-button-${notification.id}`, "aria-label": this.closeSnackMessage, class: "closesnack", tabindex: notification.link ? 0 : -1, onClick: () => this.snackDismissed(notification), onMouseEnter: (ev) => showTooltip("bottom", ev.target, globalMessages.close), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.isTabbing && showTooltip("bottom", ev.target, globalMessages.close), onBlur: () => hideTooltip() }, h("div", { class: "svg-icon svg-close" }))), h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) })))));
146
146
  }
147
147
  render() {
148
- return (h(Host, { key: '01264c3db9744e9b71b6c8cc05c9c80f3c8086c4' }, h("div", { key: '0e49a6805c3f36589077c8685c58ef2e75196a6a', ref: (el) => (this.snackAreaEl = el), class: {
148
+ return (h(Host, { key: 'd3e6bea353d66664559f6dce9fa1d3301f99e3db' }, h("div", { key: 'be5bf8d2ebbab807af66cc479929c3b696537fd8', ref: (el) => (this.snackAreaEl = el), class: {
149
149
  "list-wrapper": true,
150
150
  "user-is-tabbing": this.isTabbing,
151
151
  empty: this.parsedNotifications.length == 0,
152
- } }, this.renderSnackbars()), h("div", { key: '9c4ea98f1ce40e18e82ef66684bd3d7481343a36', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
152
+ } }, this.renderSnackbars()), h("div", { key: 'defc7a78c6a890a4a9566f57ec55352ecc91dfa0', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
153
153
  }
154
154
  static get is() { return "wm-snackbar"; }
155
155
  static get encapsulation() { return "shadow"; }
@@ -926,5 +926,5 @@
926
926
  }
927
927
  .tab-item:has(:focus-visible) {
928
928
  outline: 3px solid var(--wmcolor-interactive-focus);
929
- outline-offset: -3px;
929
+ outline-offset: -10px;
930
930
  }
@@ -27,20 +27,9 @@ export class TabItem {
27
27
  }
28
28
  render() {
29
29
  const isDark = this.parentTabList && this.parentTabList.customBackground == "dark";
30
- let styles = {};
31
- const padding = this.parentTabList && this.parentTabList.customPadding;
32
- if (padding) {
33
- const bkgSize = parseInt(padding, 10) * 2 || 0;
34
- const units = padding.split(/([0-9]+)/).pop();
35
- styles = {
36
- "padding-left": this.parentTabList.customPadding,
37
- "padding-right": this.parentTabList.customPadding,
38
- "background-size": `calc(100% - ${bkgSize}${units}) 3px`,
39
- };
40
- }
41
- return (h(Host, { key: '52900a0ba44bc12c82c17f3f578110fab5869333', role: "presentation" }, h("li", { key: '510269829fc3885c9c45c358446051cf64121882', class: `tab-item ${isDark ? "dark" : ""}`, role: "presentation" }, h("a", { key: '68dcdd7baf19d5a311e3eebe06a4b69627b31e95', class: `tab`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1, onClick: this.tabClicked, onFocus: () => {
30
+ return (h(Host, { key: '32c6aac6411c25d4b82107b6334b1732a0ef2ffa', role: "presentation" }, h("li", { key: 'f6fc4ae969e7a767389b9addf613fb83f8185bae', class: `tab-item ${isDark ? "dark" : ""}`, role: "presentation" }, h("a", { key: '250ad48a22872b09adbf5bac7de1779ecc3a8a9b', class: `tab`, role: "tab", ref: (el) => (this.linkEl = el), id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1, onClick: this.tabClicked, onFocus: () => {
42
31
  this.wmIntTabFocused.emit({ tabItem: this.el });
43
- } }, h("slot", { key: '0cd14642d2b2518ec587567110beb8b42cb01f77' })))));
32
+ } }, h("slot", { key: 'ab90abb21cb8617a158aa3dff4d77c7ac4d49b96' })))));
44
33
  }
45
34
  static get is() { return "wm-tab-item"; }
46
35
  static get encapsulation() { return "shadow"; }
@@ -886,8 +886,8 @@
886
886
  }
887
887
  :host .tabcontainer {
888
888
  margin: 0;
889
- width: fit-content;
890
- max-width: 100%;
889
+ flex: 1;
890
+ min-width: 0;
891
891
  min-height: 2.75rem;
892
892
  display: flex;
893
893
  flex-direction: row;
@@ -7,7 +7,6 @@ export class TabList {
7
7
  this.updateArrowVisibility();
8
8
  }, 16);
9
9
  this.customBackground = undefined;
10
- this.customPadding = undefined;
11
10
  this.selectedTab = undefined;
12
11
  this.announcement = "";
13
12
  this.containerFadeLeft = false;
@@ -55,11 +54,14 @@ export class TabList {
55
54
  componentDidLoad() {
56
55
  const selectedTab = this.selectedTab || this.tabItems[0].tabId;
57
56
  this.setSelected(selectedTab);
58
- this.handleTabFocused(this.selectedTabItem);
59
57
  this.updateArrowVisibility();
60
58
  this.tabContainerEl.addEventListener("scroll", this.debouncedUpdateContainerState);
61
59
  const resizeObserver = new ResizeObserver(() => this.debouncedUpdateContainerState());
62
60
  resizeObserver.observe(this.el);
61
+ requestAnimationFrame(() => {
62
+ // Wait for layout to complete before measuring and scrolling initial tab into view
63
+ this.handleTabFocused(this.selectedTabItem);
64
+ });
63
65
  }
64
66
  tabItemLoaded(ev) {
65
67
  this.setAriaOnPanelAndTab(ev.target);
@@ -179,7 +181,7 @@ export class TabList {
179
181
  updateArrowVisibility() {
180
182
  const leftArrowEl = this.el.shadowRoot.querySelector(".left-arrow");
181
183
  const rightArrowEl = this.el.shadowRoot.querySelector(".right-arrow");
182
- const isScrollable = this.tabContainerEl.scrollWidth > this.el.getBoundingClientRect().width;
184
+ const isScrollable = this.tabContainerEl.scrollWidth > this.tabContainerEl.clientWidth;
183
185
  this.scrollArrowsVisible = isScrollable;
184
186
  requestAnimationFrame(() => {
185
187
  // Let arrows render before checking if they should be disabled
@@ -255,21 +257,15 @@ export class TabList {
255
257
  this.announcement = message;
256
258
  }
257
259
  render() {
258
- let margins = {};
259
- if (this.customPadding) {
260
- margins = {
261
- "margin-inline": "-" + this.customPadding,
262
- };
263
- }
264
- return (h(Host, { key: '951f6dcf457201034adca055366df0107df6a116' }, h("div", { key: '489cf5f1acf3c985c6208e9b5b6f507422251c6c', class: "component-wrapper", style: margins }, h("wm-button", { key: 'c83f686c864b91ef3ac2530a47196e3a767b8609', class: `left-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#previous", tooltip: intl.formatMessage({
260
+ return (h(Host, { key: 'fb6f216a7c2b9008565d2084751daf40267aa43e' }, h("div", { key: '6d8ade20d79c1d3e152cdf01bad10c3b7494a8a6', class: "component-wrapper" }, h("wm-button", { key: '70be40893bb3ececa751eaccf86e33c9035e01b5', class: `left-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#previous", tooltip: intl.formatMessage({
265
261
  id: "tabs.showPreviousTabs",
266
262
  defaultMessage: "Show previous tabs",
267
263
  description: "Tooltip for button scrolling tab group.",
268
- }), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: 'ed524296e4c43f0602c54dc7345cb9403f491e82', id: "tablist", ref: (el) => (this.tabContainerEl = el), class: `tabcontainer ${this.customBackground || ""} ${this.containerFadeLeft ? "fade-left" : ""} ${this.containerFadeRight ? "fade-right" : ""}`, role: "tablist", tabIndex: -1 }, h("slot", { key: '072e8fdff4e4831df0f89002475acd29ef2633d3' })), h("wm-button", { key: '4364a7c4d9ffde71307573bf08c48e8cbba06372', class: `right-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#next", tooltip: intl.formatMessage({
264
+ }), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: '30a4176c4ba68f4a30c269d0998f7634b66ebc0c', id: "tablist", ref: (el) => (this.tabContainerEl = el), class: `tabcontainer ${this.customBackground || ""} ${this.containerFadeLeft ? "fade-left" : ""} ${this.containerFadeRight ? "fade-right" : ""}`, role: "tablist", tabIndex: -1 }, h("slot", { key: 'd3225fe95f7c09287d79886a8a22cf80aab18bb7' })), h("wm-button", { key: 'ef52e8c658dbe0a968bb89c8b3ff15a981d83d23', class: `right-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#next", tooltip: intl.formatMessage({
269
265
  id: "tabs.showNextTabs",
270
266
  defaultMessage: "Show next tabs",
271
267
  description: "Tooltip for button scrolling tab group.",
272
- }), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: 'c347bc2cb5002812bc4c14ef442ae7d820138ac8', "aria-live": "assertive", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
268
+ }), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: 'cc2cf63d5f82dbf25b93888e13cde3fdab9453dc', "aria-live": "assertive", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
273
269
  }
274
270
  static get is() { return "wm-tab-list"; }
275
271
  static get encapsulation() { return "shadow"; }
@@ -303,23 +299,6 @@ export class TabList {
303
299
  "attribute": "custom-background",
304
300
  "reflect": false
305
301
  },
306
- "customPadding": {
307
- "type": "string",
308
- "mutable": false,
309
- "complexType": {
310
- "original": "string",
311
- "resolved": "string | undefined",
312
- "references": {}
313
- },
314
- "required": false,
315
- "optional": true,
316
- "docs": {
317
- "tags": [],
318
- "text": ""
319
- },
320
- "attribute": "custom-padding",
321
- "reflect": false
322
- },
323
302
  "selectedTab": {
324
303
  "type": "string",
325
304
  "mutable": false,
@@ -12,7 +12,7 @@ export class TabPanel {
12
12
  this.tabPanelLoaded.emit({ tabId: this.tabId });
13
13
  }
14
14
  render() {
15
- return h(Host, { key: 'de7b52323f4628b61114793939ad10a3d96a8465', role: "tabpanel", class: { "tab-hidden": !this.active } });
15
+ return h(Host, { key: 'a7969f5c022d18fc579947c557b8177fdee413b4', role: "tabpanel", class: { "tab-hidden": !this.active } });
16
16
  }
17
17
  static get is() { return "wm-tab-panel"; }
18
18
  static get originalStyleUrls() {
@@ -927,10 +927,10 @@ export class TagInput {
927
927
  }
928
928
  }
929
929
  render() {
930
- return (h("div", { key: '4fe42ced37f66d1da1f80d351d2058f2fa04caed', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'feac40a76d0300a640d353789188567b6bce88bd', class: "label-wrapper" }, h("label", { key: '8daeb0009a81b3372686cdcaf7823ca66574ea4c', class: "label", htmlFor: "input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label), this.requiredField && (h("div", { key: 'a09c606545f86da661d38d30bc2207ee138c903d', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '9bb84f04fdb72fd60348a7c47f45a7c6d0eb1e1c', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: 'e67ffb9ecd84146e6feec21602eaa00f76b262b8', class: "upper-row" }, h("div", { key: 'f91652753a955980cd5079030b161abc19df0581', class: "svg-icon svg-search" }), h("div", { key: '6845759499b0f5165c145730c416a6036afb7ed3', class: `tags-and-input-wrapper` }, h("ul", { key: '4f785e55658d3f900b05a2de2a69f162339b46bf', ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"} ${this.isKeying ? "user-is-keying" : ""}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
930
+ return (h("div", { key: '1ea7a4e18d1edcd6c3e66f7b1a7426058b03e1a1', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'd0779f651e99b8f5bdbb6986daf70e7701f83d81', class: "label-wrapper" }, h("label", { key: '80465bcd2dcedd108c353fd95b57163e84ad266d', class: "label", htmlFor: "input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label), this.requiredField && (h("div", { key: '2758d90e08028cac91b7b5894a9bdb919cfa9fe7', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '5d6454cab0ae655c9ad9e5155a2737807552641d', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: '66e23fb5d85d8133e1907f12f354caff5b4f8b09', class: "upper-row" }, h("div", { key: '6b27e970920af73e50e1e6ae04c721f8899bb53b', class: "svg-icon svg-search" }), h("div", { key: 'c67fe9b9a364cb09224abcec3caca9979bcd66a1', class: `tags-and-input-wrapper` }, h("ul", { key: '26e53e16f3498add3b64461b9ad0cc414e7b9cd0', ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"} ${this.isKeying ? "user-is-keying" : ""}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
931
931
  this.focusedTagIndex = undefined;
932
932
  this.handleBlur(ev);
933
- }, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), this.isDropdown && this.renderDropdownInput(), this.isTable && this.renderTableInput()), this.isDropdown && (h("div", { key: 'f6c8abfeba27ff6c8a3e769c90ef8a005ff9a661', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: 'f8633a6fe6a65ac8a3b17f4a9fb8ba1fabe1d827', id: "info", class: "info-text" }, this.info)), h("div", { key: '09279e977b383947404bb3c47dd41a6461e9e259', id: "error" }, this.errorMessage), h("div", { key: 'c9622856c1e7f6fcc9f162563245e561f962252f', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
933
+ }, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), this.isDropdown && this.renderDropdownInput(), this.isTable && this.renderTableInput()), this.isDropdown && (h("div", { key: 'bcb6e30890a2198f54b955a54226f25e1e7e887e', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: 'a00c7fe46e44c232ead4f1ab80f507850dec3185', id: "info", class: "info-text" }, this.info)), h("div", { key: 'de82e4d355b12f88db7b4054f1f318a2452cd4d7', id: "error" }, this.errorMessage), h("div", { key: '318a2efc15622295f94236615d1f6b3e369e77ea', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
934
934
  }
935
935
  static get is() { return "wm-tag-input"; }
936
936
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class Textarea {
71
71
  this.announcement = message;
72
72
  }
73
73
  render() {
74
- return (h("div", { key: '7f63d4224b5570bac29bf622adbd24c12a987fce', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '4b0b469d325eec11069f363f5e7bd44d67a10a46', class: "label-wrapper" }, h("label", { key: '9f7494233096cd6bd246a0994d3e9e04f4ded813', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '558c487419c9906646191d3f57e3826f0e0474ec', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("span", { key: '5efa5cc6d810b34ecb81da1ac013827961b9400f', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: 'caa5d6620b159c6cf24b763afd546c5ab958d625', class: "inner-wrapper" }, h("div", { key: '160d74581d77259428c48c0ade43038280820e10', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '00698ddec17a31ed6cd4ffc27e126bfeaa6aa185', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: 'bf3461f07b38d3ef97143cf3cf1b6d1f2351e079', id: "info", class: "info" }, this.info)), h("div", { key: '39a86570c355661e0136b1bd4855d68fec298514', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '274ebbb587acc31f4d9ffda5d1ba01f279a9053c', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
74
+ return (h("div", { key: '4d66731ba9bd4ba435090f31acc86b7eae07ea25', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '642ce791dc16814534694b36dab601777dc655de', class: "label-wrapper" }, h("label", { key: '2a60aa3829eed6a377f5daecaa9d264dc715b38d', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '76b6ad6c0a639f6fae230a7c1bd13f102fe747c7', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("span", { key: '0d47f3ef8ff15e2c4110cc279f29434f1c1c55ee', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '060b640fcdb2b4a6fc0b310fb152b4a5736a8797', class: "inner-wrapper" }, h("div", { key: '26ec20786b6b6cf22a3b5b042478e8057fcaa471', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '15cc0321f901bd8db6aa9fb8f26ee3906b72d7c7', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: '13f454a13e63f3f583011ab43c7b22409f934a2e', id: "info", class: "info" }, this.info)), h("div", { key: '281885a5098b169ba5f192f5056c7ab14c8d944c', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '32a259bfdda78dc540e71140a4d8fbd1b7e46143', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
75
75
  }
76
76
  static get is() { return "wm-textarea"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -281,13 +281,13 @@ export class Timepicker {
281
281
  return this.times.map((time, index) => (h("li", { id: `option${index + 1}`, "data-time": time, role: "option", onClick: () => this.handleOptionClick(time) }, this.reformatTimeInternal("12", time))));
282
282
  }
283
283
  render() {
284
- return (h(Host, { key: '85faaac7eaff466eef31897a1d02e29d7ec7b223', onBlur: () => this.close(false) }, h("div", { key: '82f88250e7090d6517e7ecd25a4423ff0b7638d7', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '114df6b8a382f59b8b6ea238c29051c1ddf568a0', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: 'd26dcc57be0e23f599d64df50520056cf88c9bf9', id: "label", class: "label", htmlFor: "time-input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: '2b47dbd56c50265a5128a1c77e312b5745db6e2e', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '46df6ba5efc5d779fb301b2e799f19e6acd6a48f' }, h("div", { key: '13c58fb83da101c3ffba9f7647ad3202898db08a', class: "inner-wrapper" }, h("input", { key: 'dc442e2553f0c070355744ad614b2543eac29c62', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: '298e10e7a3edb327d37d7450e3780aeb483934c6', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
284
+ return (h(Host, { key: '8d1fed516e7969fa0e9684d455ed3bd01e9cd040', onBlur: () => this.close(false) }, h("div", { key: '4cb010201d91dec397fd717848e68c98ebd14106', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: 'da58fa1acc6136025158d957e59b45455b5ebeca', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '0dcfe28b0917725ed47c3dfb5da1303f137b0ada', id: "label", class: "label", htmlFor: "time-input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: '9ad3ded1b7adc2d3427bfb7170ad8de29675aebd', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '6ab239767fbe02e97602ad7b758bc5cc83bdced9' }, h("div", { key: '8d194e417f8af4d3c3af3973fac98cfe44fb10f4', class: "inner-wrapper" }, h("input", { key: '13b6ba2e040cfc5857bcd93381873b75422cad92', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: '01af343694382e726544e6c15fec61ffe8f94a52', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
285
285
  // This addresses an issue in Safari, where clicking buttons does not focus them
286
286
  // if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
287
287
  onMouseDown: (ev) => {
288
288
  ev.preventDefault();
289
289
  this.buttonEl.focus();
290
- } }, h("span", { key: 'f5269ee6b6266dd404f11b5c6cc943082dd539f7', class: "svg-icon svg-time" })), h("ul", { key: '219ad64e4a20f478927adff1af541ecc0b8ca688', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: '709e44a44ed4f99a7cbdbc4dacd461f73615324c', id: "error", class: "error" }, this.errorMessage)), h("div", { key: '0b9919a2c9701b6b76b76b780fd35a240eb2adf6', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
290
+ } }, h("span", { key: '9021fa1d31cc4601e36705e23c81bd64a7079de3', class: "svg-icon svg-time" })), h("ul", { key: '070568110a252cfcbeed0db9a650c5aa33f3d6fa', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: '219fedbed0146e2dedb2e2bfb2ac8df4d1fa75bf', id: "error", class: "error" }, this.errorMessage)), h("div", { key: 'dd3b6ebb4f17f49ecb18f361500073ab11cbdeac', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
291
291
  }
292
292
  static get is() { return "wm-timepicker"; }
293
293
  static get encapsulation() { return "shadow"; }
@@ -229,11 +229,11 @@ export class Toggletip {
229
229
  }
230
230
  }
231
231
  render() {
232
- return (h(Host, { key: '19824ec52b7d5a97250fdf7099041c47a9c10667', class: `size-${this.targetSize}` }, h("button", { key: '8442fd803719d93d0354dec15c8f17085f22d955', ref: (el) => (this.buttonEl = el), class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
232
+ return (h(Host, { key: 'c11bb0162cedb31f4acf39a61319c6827f5ebe75', class: `size-${this.targetSize}` }, h("button", { key: '9560429d4dec4e97069adf77f36ac98cf385087e', ref: (el) => (this.buttonEl = el), class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
233
233
  // In order to position the tooltip identically to the toggletip, its presence is determined by these four events
234
- onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: 'dfd429b739ef31459a4957a8cfd36c0279e83e24', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip",
234
+ onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: 'f76ca5ac9fc02c2c7de7365a699b73f543ec1efd', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip",
235
235
  // @ts-ignore - despite what Typescript says, this is a valid event for popover elements
236
- onToggle: (ev) => this.handlePopoverToggle(ev) }, this.tooltip), h("div", { key: 'af70f189b7f510fc3ae813edfd958050b11e636c', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
236
+ onToggle: (ev) => this.handlePopoverToggle(ev) }, this.tooltip), h("div", { key: '37c35790aafadbee0ee979ac5b1dcf28a4f29de5', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
237
237
  }
238
238
  static get is() { return "wm-toggletip"; }
239
239
  static get encapsulation() { return "shadow"; }
@@ -313,9 +313,9 @@ export class Uploader {
313
313
  return (h("div", { class: `drop-area -${this.dropArea}`, ref: (el) => (this.dropAreaEl = el), onDragEnter: (ev) => this.handleDragEnter(ev), onDragOver: (ev) => this.handleDragOver(ev), onDragLeave: (ev) => this.handleDragLeave(ev), onDrop: (ev) => this.handleDrop(ev) }, this.dropArea == "page" && (h("div", { ref: (el) => (this.dropOverlayEl = el), class: "drop-overlay", popover: "manual" }, h("span", { class: "upload-arrow" }), h("span", null, "Drop to Upload")))));
314
314
  }
315
315
  render() {
316
- return (h(Host, { key: 'f6796cb24519a9cce643c24c69abeb9d33c8632f', class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: 'ffe55bea4476877b4df8f3c2df3edcb7ac9ab673', ref: (el) => (this.assertiveLiveRegionEl = el), class: "live-region sr-only", "aria-live": "assertive" // since it's directly linked to the action the user took, it should be read in priority. With polite, some messages get dismissed in favor of the page title
316
+ return (h(Host, { key: 'd9d86bce6f42b72a75225a000e40f49a5fba0a99', class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: '79f4e7e1e37d6726bb7f2a125b06ee36e1f6c888', ref: (el) => (this.assertiveLiveRegionEl = el), class: "live-region sr-only", "aria-live": "assertive" // since it's directly linked to the action the user took, it should be read in priority. With polite, some messages get dismissed in favor of the page title
317
317
  ,
318
- "aria-atomic": "true" }), h("div", { key: 'b38debdfda642c215bbb570082dfdeef24da8a8f', ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
318
+ "aria-atomic": "true" }), h("div", { key: 'bb67797d25cce8b8393cf34eaa4424f0f07ca355', ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
319
319
  }
320
320
  static get is() { return "wm-uploader"; }
321
321
  static get encapsulation() { return "shadow"; }
@@ -750,6 +750,15 @@ export function dateToISO(date) {
750
750
  .toString()
751
751
  .padStart(2, "0")}`;
752
752
  }
753
+ export function clampDate(isoDate) {
754
+ // clamp the day to the maximum number of days in the month
755
+ const y = dateFind.year.asInt(isoDate);
756
+ const m = dateFind.month.asInt(isoDate);
757
+ const d = dateFind.day.asInt(isoDate);
758
+ const maxDays = getMonthLength(m, y);
759
+ const clampedDay = Math.min(d, maxDays);
760
+ return makeISO(y, m, clampedDay);
761
+ }
753
762
  function splitISO(isoDate) {
754
763
  const [year, month, day] = isoDate.split("-");
755
764
  return {
@@ -1,6 +1,6 @@
1
1
  import './index-130e07bb.js';
2
2
 
3
- const version = "5.20.0-alpha.9";
3
+ const version = "5.21.0-alpha.0";
4
4
 
5
5
  // PRINT RIPPLE VERSION IN CONSOLE
6
6
  // test envs return 0 for plugin.length
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-130e07bb.js';
2
- import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-38e392cb.js';
2
+ import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-14aaf49d.js';
3
3
 
4
4
  const colors = {
5
5
  salmon: "#ff5f4e",