@watermarkinsights/ripple 5.30.0-alpha.4 → 5.30.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 (277) hide show
  1. package/dist/cjs/{app-globals-33a95391.js → app-globals-f310dc82.js} +1 -1
  2. package/dist/cjs/{chartFunctions-fea69eeb.js → chartFunctions-351edf56.js} +1 -1
  3. package/dist/cjs/{functions-ac930ffe.js → functions-05cd64e3.js} +9 -9
  4. package/dist/cjs/{intl-d174fb3c.js → intl-140f6bea.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/priv-calendar.cjs.entry.js +9 -9
  7. package/dist/cjs/priv-chart-popover-old.cjs.entry.js +1 -1
  8. package/dist/cjs/priv-chart-popover_2.cjs.entry.js +1 -1
  9. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  10. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  11. package/dist/cjs/priv-option-list.cjs.entry.js +3 -3
  12. package/dist/cjs/ripple.cjs.js +2 -2
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +5 -5
  14. package/dist/cjs/wm-button.cjs.entry.js +18 -8
  15. package/dist/cjs/wm-chart-bar.cjs.entry.js +3 -3
  16. package/dist/cjs/wm-chart-column.cjs.entry.js +3 -3
  17. package/dist/cjs/wm-chart.cjs.entry.js +3 -3
  18. package/dist/cjs/wm-date-range.cjs.entry.js +7 -7
  19. package/dist/cjs/wm-datepicker.cjs.entry.js +7 -7
  20. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  21. package/dist/cjs/wm-file.cjs.entry.js +2 -2
  22. package/dist/cjs/wm-flyout.cjs.entry.js +3 -3
  23. package/dist/cjs/wm-input.cjs.entry.js +3 -3
  24. package/dist/cjs/wm-line-chart.cjs.entry.js +3 -3
  25. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +6 -6
  26. package/dist/cjs/wm-modal_3.cjs.entry.js +6 -6
  27. package/dist/cjs/wm-navigation_3.cjs.entry.js +6 -6
  28. package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
  29. package/dist/cjs/wm-nested-select.cjs.entry.js +5 -5
  30. package/dist/cjs/wm-optgroup.cjs.entry.js +2 -2
  31. package/dist/cjs/wm-option_2.cjs.entry.js +7 -7
  32. package/dist/cjs/wm-pagination.cjs.entry.js +3 -3
  33. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
  34. package/dist/cjs/wm-search.cjs.entry.js +5 -5
  35. package/dist/cjs/wm-snackbar.cjs.entry.js +4 -4
  36. package/dist/cjs/wm-tab-item_3.cjs.entry.js +7 -7
  37. package/dist/cjs/wm-tag-input.cjs.entry.js +24 -17
  38. package/dist/cjs/wm-tag-option.cjs.entry.js +1 -1
  39. package/dist/cjs/wm-textarea.cjs.entry.js +3 -3
  40. package/dist/cjs/wm-timepicker.cjs.entry.js +3 -3
  41. package/dist/cjs/wm-toggletip.cjs.entry.js +4 -4
  42. package/dist/cjs/wm-uploader.cjs.entry.js +4 -4
  43. package/dist/collection/components/datepickers/datepicker.css +0 -31
  44. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +8 -8
  45. package/dist/collection/components/datepickers/wm-date-range.js +6 -6
  46. package/dist/collection/components/datepickers/wm-datepicker.js +6 -6
  47. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +1 -1
  48. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
  49. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
  50. package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
  51. package/dist/collection/components/selects/wm-select/wm-select.js +4 -4
  52. package/dist/collection/components/wm-action-menu/wm-action-menu.js +3 -3
  53. package/dist/collection/components/wm-button/wm-button.js +51 -7
  54. package/dist/collection/components/wm-file/wm-file.js +1 -1
  55. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  56. package/dist/collection/components/wm-flyout/wm-flyout.js +1 -1
  57. package/dist/collection/components/wm-input/wm-input.js +1 -1
  58. package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -31
  59. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  60. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  61. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  62. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  63. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
  64. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
  65. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
  66. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  67. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  68. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  69. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -31
  70. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  71. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  72. package/dist/collection/components/wm-pagination/wm-pagination.css +0 -31
  73. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  74. package/dist/collection/components/wm-search/wm-search.css +0 -36
  75. package/dist/collection/components/wm-search/wm-search.js +2 -2
  76. package/dist/collection/components/wm-snackbar/wm-snackbar.css +0 -31
  77. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  78. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +2 -2
  79. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +3 -3
  80. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  81. package/dist/collection/components/wm-tag-input/wm-tag-input.css +4 -2
  82. package/dist/collection/components/wm-tag-input/wm-tag-input.js +24 -15
  83. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  84. package/dist/collection/components/wm-timepicker/wm-timepicker.css +0 -31
  85. package/dist/collection/components/wm-timepicker/wm-timepicker.js +2 -2
  86. package/dist/collection/components/wm-toggletip/wm-toggletip.js +3 -3
  87. package/dist/collection/components/wm-uploader/wm-uploader.css +0 -31
  88. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  89. package/dist/collection/dev/button.js +12 -0
  90. package/dist/esm/{app-globals-672c8a7d.js → app-globals-0d90343d.js} +1 -1
  91. package/dist/esm/{chartFunctions-bae65d16.js → chartFunctions-295d929a.js} +1 -1
  92. package/dist/esm/{functions-cc58fbd9.js → functions-438e60c4.js} +9 -9
  93. package/dist/esm/{intl-9c28b1b5.js → intl-25f6dfb9.js} +1 -1
  94. package/dist/esm/loader.js +2 -2
  95. package/dist/esm/polyfills/core-js.js +0 -0
  96. package/dist/esm/polyfills/dom.js +0 -0
  97. package/dist/esm/polyfills/es5-html-element.js +0 -0
  98. package/dist/esm/polyfills/index.js +0 -0
  99. package/dist/esm/polyfills/system.js +0 -0
  100. package/dist/esm/priv-calendar.entry.js +9 -9
  101. package/dist/esm/priv-chart-popover-old.entry.js +1 -1
  102. package/dist/esm/priv-chart-popover_2.entry.js +1 -1
  103. package/dist/esm/priv-navigator-button.entry.js +1 -1
  104. package/dist/esm/priv-navigator-item.entry.js +1 -1
  105. package/dist/esm/priv-option-list.entry.js +3 -3
  106. package/dist/esm/ripple.js +2 -2
  107. package/dist/esm/wm-action-menu_2.entry.js +5 -5
  108. package/dist/esm/wm-button.entry.js +18 -8
  109. package/dist/esm/wm-chart-bar.entry.js +3 -3
  110. package/dist/esm/wm-chart-column.entry.js +3 -3
  111. package/dist/esm/wm-chart.entry.js +3 -3
  112. package/dist/esm/wm-date-range.entry.js +7 -7
  113. package/dist/esm/wm-datepicker.entry.js +7 -7
  114. package/dist/esm/wm-file-list.entry.js +1 -1
  115. package/dist/esm/wm-file.entry.js +2 -2
  116. package/dist/esm/wm-flyout.entry.js +3 -3
  117. package/dist/esm/wm-input.entry.js +3 -3
  118. package/dist/esm/wm-line-chart.entry.js +3 -3
  119. package/dist/esm/wm-modal-pss_3.entry.js +6 -6
  120. package/dist/esm/wm-modal_3.entry.js +6 -6
  121. package/dist/esm/wm-navigation_3.entry.js +6 -6
  122. package/dist/esm/wm-navigator.entry.js +1 -1
  123. package/dist/esm/wm-nested-select.entry.js +5 -5
  124. package/dist/esm/wm-optgroup.entry.js +2 -2
  125. package/dist/esm/wm-option_2.entry.js +7 -7
  126. package/dist/esm/wm-pagination.entry.js +3 -3
  127. package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
  128. package/dist/esm/wm-search.entry.js +5 -5
  129. package/dist/esm/wm-snackbar.entry.js +4 -4
  130. package/dist/esm/wm-tab-item_3.entry.js +7 -7
  131. package/dist/esm/wm-tag-input.entry.js +25 -18
  132. package/dist/esm/wm-tag-option.entry.js +1 -1
  133. package/dist/esm/wm-textarea.entry.js +3 -3
  134. package/dist/esm/wm-timepicker.entry.js +3 -3
  135. package/dist/esm/wm-toggletip.entry.js +4 -4
  136. package/dist/esm/wm-uploader.entry.js +4 -4
  137. package/dist/esm-es5/app-globals-0d90343d.js +1 -0
  138. package/dist/esm-es5/{chartFunctions-bae65d16.js → chartFunctions-295d929a.js} +1 -1
  139. package/dist/esm-es5/functions-438e60c4.js +1 -0
  140. package/dist/esm-es5/{intl-9c28b1b5.js → intl-25f6dfb9.js} +1 -1
  141. package/dist/esm-es5/loader.js +1 -1
  142. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  143. package/dist/esm-es5/priv-chart-popover-old.entry.js +1 -1
  144. package/dist/esm-es5/priv-chart-popover_2.entry.js +1 -1
  145. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  146. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  147. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  148. package/dist/esm-es5/ripple.js +1 -1
  149. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  150. package/dist/esm-es5/wm-button.entry.js +1 -1
  151. package/dist/esm-es5/wm-chart-bar.entry.js +1 -1
  152. package/dist/esm-es5/wm-chart-column.entry.js +1 -1
  153. package/dist/esm-es5/wm-chart.entry.js +1 -1
  154. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  155. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  156. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  157. package/dist/esm-es5/wm-file.entry.js +1 -1
  158. package/dist/esm-es5/wm-flyout.entry.js +1 -1
  159. package/dist/esm-es5/wm-input.entry.js +1 -1
  160. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  161. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  162. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  163. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  164. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  165. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  166. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  167. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  168. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  169. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  170. package/dist/esm-es5/wm-search.entry.js +1 -1
  171. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  172. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  173. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  174. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  175. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  176. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  177. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  178. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  179. package/dist/ripple/{p-4eb982c6.system.entry.js → p-02c8bf15.system.entry.js} +1 -1
  180. package/dist/ripple/{p-e9a8f44c.entry.js → p-05dae6a0.entry.js} +1 -1
  181. package/dist/ripple/p-065b0134.entry.js +1 -0
  182. package/dist/ripple/{p-16634457.system.entry.js → p-09a44b14.system.entry.js} +1 -1
  183. package/dist/ripple/{p-88aa2b90.entry.js → p-09d5381c.entry.js} +1 -1
  184. package/dist/ripple/{p-67d8977e.system.entry.js → p-0db033c3.system.entry.js} +1 -1
  185. package/dist/ripple/{p-97ef6cea.system.entry.js → p-0feaaae9.system.entry.js} +1 -1
  186. package/dist/ripple/{p-b7a1fda2.system.entry.js → p-10aea5ee.system.entry.js} +1 -1
  187. package/dist/ripple/{p-c17b8d20.entry.js → p-131d57c3.entry.js} +1 -1
  188. package/dist/ripple/p-178ba906.js +1 -0
  189. package/dist/ripple/p-1f051611.system.js +1 -0
  190. package/dist/ripple/{p-904fa178.entry.js → p-1f79c42d.entry.js} +1 -1
  191. package/dist/ripple/{p-62481831.system.entry.js → p-1fc894ac.system.entry.js} +1 -1
  192. package/dist/ripple/p-210773eb.entry.js +1 -0
  193. package/dist/ripple/{p-76c95756.entry.js → p-227b0af9.entry.js} +1 -1
  194. package/dist/ripple/{p-3a08cf7c.system.entry.js → p-28b8a12e.system.entry.js} +1 -1
  195. package/dist/ripple/{p-f609118b.entry.js → p-2a03f658.entry.js} +1 -1
  196. package/dist/ripple/p-2f297bf8.js +1 -0
  197. package/dist/ripple/{p-d022520e.system.entry.js → p-332a3e3d.system.entry.js} +1 -1
  198. package/dist/ripple/{p-880a9ff7.entry.js → p-39bac42a.entry.js} +1 -1
  199. package/dist/ripple/{p-57f49361.entry.js → p-3bd8537c.entry.js} +1 -1
  200. package/dist/ripple/{p-a4bf0458.entry.js → p-3f69041f.entry.js} +1 -1
  201. package/dist/ripple/{p-e0ee2cea.system.entry.js → p-40e8071c.system.entry.js} +1 -1
  202. package/dist/ripple/{p-3617a99d.system.entry.js → p-444feb7d.system.entry.js} +1 -1
  203. package/dist/ripple/{p-f9fd5721.entry.js → p-4533241f.entry.js} +1 -1
  204. package/dist/ripple/{p-1a5be7f7.entry.js → p-463be5be.entry.js} +1 -1
  205. package/dist/ripple/{p-f674eef4.system.entry.js → p-4e7ae2c5.system.entry.js} +1 -1
  206. package/dist/ripple/{p-4ac7f6fc.entry.js → p-4f53544d.entry.js} +1 -1
  207. package/dist/ripple/{p-c5f150f4.system.entry.js → p-503330c1.system.entry.js} +1 -1
  208. package/dist/ripple/{p-b0f024ba.entry.js → p-5173359e.entry.js} +1 -1
  209. package/dist/ripple/{p-7d7623c3.js → p-5afc108c.js} +1 -1
  210. package/dist/ripple/{p-3c41157e.system.entry.js → p-5f092b39.system.entry.js} +1 -1
  211. package/dist/ripple/{p-62cfe06e.entry.js → p-6479b06b.entry.js} +1 -1
  212. package/dist/ripple/{p-474310b4.entry.js → p-680f5703.entry.js} +1 -1
  213. package/dist/ripple/p-6a7b26a1.system.js +1 -0
  214. package/dist/ripple/{p-8a6e13d9.entry.js → p-6de83c6f.entry.js} +1 -1
  215. package/dist/ripple/{p-a42960e1.system.entry.js → p-6f2d3297.system.entry.js} +1 -1
  216. package/dist/ripple/{p-a5d0d757.entry.js → p-709d1765.entry.js} +1 -1
  217. package/dist/ripple/{p-2970732e.system.entry.js → p-7ca0bb68.system.entry.js} +1 -1
  218. package/dist/ripple/{p-300cabee.entry.js → p-84e04896.entry.js} +1 -1
  219. package/dist/ripple/{p-628fd7bc.system.entry.js → p-86148143.system.entry.js} +1 -1
  220. package/dist/ripple/{p-c1419735.entry.js → p-8e6e868a.entry.js} +1 -1
  221. package/dist/ripple/{p-19ff9af0.entry.js → p-928b3e5e.entry.js} +1 -1
  222. package/dist/ripple/{p-1d64a21b.system.js → p-956cb6a9.system.js} +1 -1
  223. package/dist/ripple/{p-25f3270d.entry.js → p-9a5d11cb.entry.js} +1 -1
  224. package/dist/ripple/{p-72b7a4fa.system.entry.js → p-9d345fc7.system.entry.js} +1 -1
  225. package/dist/ripple/{p-d587a3da.system.entry.js → p-a0aba3e0.system.entry.js} +1 -1
  226. package/dist/ripple/{p-2936c3cb.system.entry.js → p-a3dd5204.system.entry.js} +1 -1
  227. package/dist/ripple/{p-ab3789d4.system.entry.js → p-a5a165c6.system.entry.js} +1 -1
  228. package/dist/ripple/{p-94c1096c.system.entry.js → p-a6aef87d.system.entry.js} +1 -1
  229. package/dist/ripple/{p-aadbb9f7.system.entry.js → p-a6ef995c.system.entry.js} +1 -1
  230. package/dist/ripple/{p-3dc29683.system.entry.js → p-a7e637a5.system.entry.js} +1 -1
  231. package/dist/ripple/{p-599dd379.system.entry.js → p-aafced54.system.entry.js} +1 -1
  232. package/dist/ripple/{p-58ccc222.system.entry.js → p-b11abb0d.system.entry.js} +1 -1
  233. package/dist/ripple/{p-f4260538.system.entry.js → p-b1924539.system.entry.js} +1 -1
  234. package/dist/ripple/{p-e5edae54.system.entry.js → p-b654743f.system.entry.js} +1 -1
  235. package/dist/ripple/{p-2ac68f77.system.entry.js → p-b974a535.system.entry.js} +1 -1
  236. package/dist/ripple/p-bb9f54cf.system.entry.js +1 -0
  237. package/dist/ripple/{p-6698e57e.entry.js → p-bd37dd6f.entry.js} +1 -1
  238. package/dist/ripple/{p-55555920.entry.js → p-bdb10d37.entry.js} +1 -1
  239. package/dist/ripple/{p-0431bb7a.entry.js → p-bf3eef42.entry.js} +1 -1
  240. package/dist/ripple/{p-3de3b34d.js → p-bff5c1d5.js} +1 -1
  241. package/dist/ripple/{p-4c813bbc.system.entry.js → p-c04d0eeb.system.entry.js} +1 -1
  242. package/dist/ripple/{p-5a64ca98.entry.js → p-c1abc58e.entry.js} +1 -1
  243. package/dist/ripple/{p-6ff3f70a.entry.js → p-cc028323.entry.js} +1 -1
  244. package/dist/ripple/{p-e180c6ff.entry.js → p-d05b7cd3.entry.js} +1 -1
  245. package/dist/ripple/p-d55bd2b9.entry.js +1 -0
  246. package/dist/ripple/{p-e28ac2de.entry.js → p-dab54a9d.entry.js} +1 -1
  247. package/dist/ripple/{p-84802e9c.system.entry.js → p-dbdae848.system.entry.js} +1 -1
  248. package/dist/ripple/{p-274592b5.system.entry.js → p-df9d5b14.system.entry.js} +1 -1
  249. package/dist/ripple/{p-4e8ac9fd.system.entry.js → p-e0c0e8b0.system.entry.js} +1 -1
  250. package/dist/ripple/{p-050aeacd.entry.js → p-e1a6ee77.entry.js} +1 -1
  251. package/dist/ripple/{p-7c3dec23.system.js → p-e6704efd.system.js} +1 -1
  252. package/dist/ripple/{p-c39e9f51.system.entry.js → p-e78f9572.system.entry.js} +1 -1
  253. package/dist/ripple/{p-e2d01adf.entry.js → p-ee26ba53.entry.js} +1 -1
  254. package/dist/ripple/{p-f04cecce.system.entry.js → p-ee729037.system.entry.js} +1 -1
  255. package/dist/ripple/{p-d3f7034f.entry.js → p-f51404f5.entry.js} +1 -1
  256. package/dist/ripple/p-f7fc6350.system.js +1 -0
  257. package/dist/ripple/{p-78d02ad6.entry.js → p-f94af31c.entry.js} +1 -1
  258. package/dist/ripple/p-fb6aee09.entry.js +1 -0
  259. package/dist/ripple/{p-f1fe253f.system.entry.js → p-ff6fd274.system.entry.js} +1 -1
  260. package/dist/ripple/ripple.esm.js +1 -1
  261. package/dist/ripple/ripple.js +1 -1
  262. package/dist/types/components/wm-button/wm-button.d.ts +13 -0
  263. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +3 -2
  264. package/dist/types/components.d.ts +16 -0
  265. package/package.json +2 -2
  266. package/dist/esm-es5/app-globals-672c8a7d.js +0 -1
  267. package/dist/esm-es5/functions-cc58fbd9.js +0 -1
  268. package/dist/ripple/p-1a6b35e8.system.js +0 -1
  269. package/dist/ripple/p-2818d018.system.js +0 -1
  270. package/dist/ripple/p-356cc61e.entry.js +0 -1
  271. package/dist/ripple/p-36431bb7.entry.js +0 -1
  272. package/dist/ripple/p-392a9242.system.js +0 -1
  273. package/dist/ripple/p-6946c33b.js +0 -1
  274. package/dist/ripple/p-82913757.entry.js +0 -1
  275. package/dist/ripple/p-98d96bca.js +0 -1
  276. package/dist/ripple/p-cdeb3766.entry.js +0 -1
  277. package/dist/ripple/p-d66b977f.system.entry.js +0 -1
@@ -13,22 +13,22 @@ export class PrivCalendar {
13
13
  });
14
14
  this.previousMonthButtonLabel = intl.formatMessage({
15
15
  id: "date.selectPreviousMonth",
16
- defaultMessage: "View previous month",
16
+ defaultMessage: "Previous month",
17
17
  description: "Calendar button",
18
18
  });
19
19
  this.previousYearButtonLabel = intl.formatMessage({
20
20
  id: "date.selectPreviousYear",
21
- defaultMessage: "View previous year",
21
+ defaultMessage: "Previous year",
22
22
  description: "Calendar button",
23
23
  });
24
24
  this.nextMonthButtonLabel = intl.formatMessage({
25
25
  id: "date.selectNextMonth",
26
- defaultMessage: "View next month",
26
+ defaultMessage: "Next month",
27
27
  description: "Calendar button",
28
28
  });
29
29
  this.nextYearButtonLabel = intl.formatMessage({
30
30
  id: "date.selectNextYear",
31
- defaultMessage: "View next year",
31
+ defaultMessage: "Next year",
32
32
  description: "Calendar button",
33
33
  });
34
34
  this.uid = generateId();
@@ -512,7 +512,7 @@ export class PrivCalendar {
512
512
  this._focus.year.decrease(1);
513
513
  }
514
514
  this.announceMonthYear();
515
- }, class: "header-btn arw-btn", ref: (el) => (this.prevBtnEl = el), "aria-label": previousButtonLabel, onMouseOver: () => showTooltip("bottom-right", this.prevBtnEl, previousButtonLabel), onMouseLeave: () => hideTooltip(), onFocus: () => showTooltip("bottom-right", this.prevBtnEl, previousButtonLabel), onBlur: () => hideTooltip() }, h("span", { class: "svg-icon svg-previous" })), h("span", { class: "header-title" }, calendar_months[this._focus.month.asInt() - 1], " ", this._focus.year.asString()), h("button", { onClick: () => {
515
+ }, class: "header-btn arw-btn", ref: (el) => (this.prevBtnEl = el), "aria-label": previousButtonLabel, onMouseOver: () => showTooltip("bottom", this.prevBtnEl, previousButtonLabel), onMouseLeave: () => hideTooltip(), onFocus: () => showTooltip("bottom", this.prevBtnEl, previousButtonLabel), onBlur: () => hideTooltip() }, h("span", { class: "svg-icon svg-previous" })), h("span", { class: "header-title" }, calendar_months[this._focus.month.asInt() - 1], " ", this._focus.year.asString()), h("button", { onClick: () => {
516
516
  if (this.view == "day") {
517
517
  this._focus.month.increase(1);
518
518
  }
@@ -520,7 +520,7 @@ export class PrivCalendar {
520
520
  this._focus.year.increase(1);
521
521
  }
522
522
  this.announceMonthYear();
523
- }, "aria-label": nextButtonLabel, class: "header-btn arw-btn", ref: (el) => (this.nextBtnEl = el), onMouseOver: () => showTooltip("bottom-right", this.nextBtnEl, nextButtonLabel), onMouseLeave: () => hideTooltip(), onFocus: () => showTooltip("bottom-right", this.nextBtnEl, nextButtonLabel), onBlur: () => hideTooltip() }, h("span", { class: "svg-icon svg-next" })), this.renderToggleButton()));
523
+ }, "aria-label": nextButtonLabel, class: "header-btn arw-btn", ref: (el) => (this.nextBtnEl = el), onMouseOver: () => showTooltip("bottom", this.nextBtnEl, nextButtonLabel), onMouseLeave: () => hideTooltip(), onFocus: () => showTooltip("bottom", this.nextBtnEl, nextButtonLabel), onBlur: () => hideTooltip() }, h("span", { class: "svg-icon svg-next" })), this.renderToggleButton()));
524
524
  }
525
525
  renderToggleButton() {
526
526
  return (h("div", { class: "toggle-button" }, h("div", { class: "input-wrapper left" }, h("input", { type: "radio", id: `month-radio-${this.uid}`, "aria-label": intl.formatMessage({
@@ -552,11 +552,11 @@ export class PrivCalendar {
552
552
  return (h("div", { class: "month-view" }, h("div", { "aria-labelledby": "popup-title-year", role: "grid", class: "months" }, h("div", { role: "row", class: "month-row" }, calendar_months.slice(0, 3).map((month, index) => this.renderMonth(month, index))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(3, 6).map((month, index) => this.renderMonth(month, index + 3))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(6, 9).map((month, index) => this.renderMonth(month, index + 6))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(9).map((month, index) => this.renderMonth(month, index + 9))))));
553
553
  }
554
554
  render() {
555
- return (h(Host, { key: '13c2fb6cb68b7e3a35c76bc05dd266ba4525db1f', onMouseOut: (ev) => {
555
+ return (h(Host, { key: '0d795a3a89b285d1e9b0bef0b68685e77eac947e', onMouseOut: (ev) => {
556
556
  // @ts-ignore
557
557
  if (!this.el.parentElement.contains(ev.toElement))
558
558
  this.outOfCal.emit();
559
- }, role: "application", "aria-describedby": `application-${this.uid}` }, h("div", { key: '3faf7478450cdcfbd6aa61fee7b9f8e9d71a4dcb', class: `popup ${this.view}-view` }, this.renderHeader(), this.view === "day" ? this.renderDayView() : this.renderMonthView()), h("div", { key: '17e9cbb2b2ac43846a5eca6db7ef5ce5cb78bbf9', id: `application-${this.uid}`, class: "sr-only" }, this.calName, this.calInstructions), h("div", { key: '0d770c5bdb6c9b788a0ca3be07346d14bfc1a763', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "assertive", "aria-atomic": "true" }, this.announcement)));
559
+ }, role: "application", "aria-describedby": `application-${this.uid}` }, h("div", { key: 'f60032e3d2b7b12df707a83f6963360496535e33', class: `popup ${this.view}-view` }, this.renderHeader(), this.view === "day" ? this.renderDayView() : this.renderMonthView()), h("div", { key: '67b0bbd84a5ce5922937fcd28e554b70cc963c01', id: `application-${this.uid}`, class: "sr-only" }, this.calName, this.calInstructions), h("div", { key: 'b5adb35334738a308afd0d7e8ad3afa96ed8b493', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "assertive", "aria-atomic": "true" }, this.announcement)));
560
560
  }
561
561
  static get is() { return "priv-calendar"; }
562
562
  static get originalStyleUrls() {
@@ -529,25 +529,25 @@ export class DateRange {
529
529
  }
530
530
  render() {
531
531
  var _a, _b, _c, _d;
532
- return (h(Host, { key: '9840d0cb5b3aff858d939fbe2d67dc1d51535c05', "aria-busy": "false" }, h("div", { key: '71e3eb8f71812140abc538cbfec3111c2e2b9cba', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: '094295f1471f1ba0eaea5c65617447efc5dca770', class: "range-wrapper cal", ref: (el) => (this.anchorEl = el) }, h("div", { key: '00bcfac555be41fe8b2f885e2a0335c8d41efd28', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: 'fa7a7f25eb9156ad8de4d3c243f41e974084e35b', id: "startlabel", htmlFor: "start-date-input", class: "label", title: `${this.labelStart} (${this.dateFormat})` }, this.labelStart, this.requiredField && (h("span", { key: '146abd4001789c1020eeb27c154004376a39e4e3', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: 'a112e25addb7a17cf497728a4d4d72018228a706', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: '29834ad29b391967f6313e7a72775f1647f61084', id: "endlabel", htmlFor: "end-date-input", class: "label", title: `${this.labelEnd} (${this.dateFormat})` }, this.labelEnd, this.requiredField && (h("span", { key: 'b3c0b90c040a0552db1e01b8f8aa38725a98357a', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: '1a6b2881f11d9700fd5895ca49b72672d2c903aa', disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '4ab993f81a4af844b51b66acefef64ecbf3c6be3', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: '5ef90c128cc642ad23102f752838b2a2c5d30688', disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '43a4820ce51afc316b96e09aa8581c4791d06aaf', class: "toggle-wrapper", id: "toggle-wrapper" }, this.canOpen && (h("button", { key: '7a39be01375c1406021c8c2015f746710db313b6', disabled: this.disabled, "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
532
+ return (h(Host, { key: '9840d0cb5b3aff858d939fbe2d67dc1d51535c05', "aria-busy": "false" }, h("div", { key: '71e3eb8f71812140abc538cbfec3111c2e2b9cba', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: '094295f1471f1ba0eaea5c65617447efc5dca770', class: "range-wrapper cal", ref: (el) => (this.anchorEl = el) }, h("div", { key: '00bcfac555be41fe8b2f885e2a0335c8d41efd28', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: '1f23a2bb3163e550f9929be4dbd6335bf5bf6579', id: "startlabel", htmlFor: "start-date-input", class: "label" }, this.labelStart, this.requiredField && (h("span", { key: '40dc9394b28b616e1dbfdb028f504474e8576fce', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: '75addeddb3c54576c90fb9c6c662e525934f6166', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: '3015302e413b2bd033dffb9edacc1ecb7c06fb68', id: "endlabel", htmlFor: "end-date-input", class: "label" }, this.labelEnd, this.requiredField && (h("span", { key: '6f27560f7730e1efc19c8f9f7b1845f7a4fc5489', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: 'a350aea0fa321f076f7b0258e6717b349f551813', disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), h("div", { key: 'f3d74eae497160213ac05d99467ab254d30167b1', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: '4e77331018a0ce06846adae9ce01f0acd556dcd8', disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '47f502431bd898d5baab11e483990585e49b648e', class: "toggle-wrapper", id: "toggle-wrapper" }, this.canOpen && (h("button", { key: 'b7dc42e4733418c6da7ecb5eae5a896ad0d92f4d', disabled: this.disabled, "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
533
533
  id: "date.selectRange",
534
534
  defaultMessage: "Select range",
535
535
  description: "Button text for screen readers.",
536
- }), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, h("span", { key: 'd58a8a11fc19a77da89af41ac82c877acb4a0012', class: "svg-icon svg-date" }), h("span", { key: 'c0c3d305723275782e0e97db7a5feb3777de2c1b', class: "calendar", title: intl.formatMessage({
536
+ }), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, h("span", { key: '8fcd8c7cbaff39440838c15354de40ea79230dfd', class: "svg-icon svg-date" }), h("span", { key: '392288ecb5e6617395b306d9e7993ef41c9f27d2', class: "calendar", title: intl.formatMessage({
537
537
  id: "date.calendarView",
538
538
  defaultMessage: "Calendar View",
539
539
  description: "Calendar button",
540
- }) })))), h("div", { key: 'de44f23903d4656c215b10a070dc262057a70a5f', class: `popup-wrapper popup-range ${this.startCalEl && this.startCalEl.view}-view ${this.isExpanded ? "is-open" : ""} ${!this.hasAnchor && !this.isExpanded ? "hidden" : ""} ${(_b = (_a = this.fit) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : ""} ${(_d = (_c = this.fit) === null || _c === void 0 ? void 0 : _c.horizontal) !== null && _d !== void 0 ? _d : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), popover: "auto",
540
+ }) })))), h("div", { key: 'a88e17a38bbee302551a7abc458f9a387afe1d89', class: `popup-wrapper popup-range ${this.startCalEl && this.startCalEl.view}-view ${this.isExpanded ? "is-open" : ""} ${!this.hasAnchor && !this.isExpanded ? "hidden" : ""} ${(_b = (_a = this.fit) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : ""} ${(_d = (_c = this.fit) === null || _c === void 0 ? void 0 : _c.horizontal) !== null && _d !== void 0 ? _d : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), popover: "auto",
541
541
  // @ts-ignore -- onToggle is a valid ToggleEvent listener for popover elements
542
- onToggle: (ev) => this.handleToggle(ev) }, h("div", { key: '0f9e61c2aead0ad0587c99061e43b601b456de51', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.endCalEl.focusLastFocusable() }), h("priv-calendar", { key: 'de148d250b5a9d58eeb186196b8db7ac09e3e111', ref: (el) => (this.startCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), h("priv-calendar", { key: 'f9522d0f4d4f5a9d6790604aebeba53fc18753e5', ref: (el) => (this.endCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), h("div", { key: 'ef7e0bd324e44a0fdab74c5ac90c50533c3c6f65', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.startCalEl.focusFirstFocusable() }))), h("div", { key: '02a384909982487064ee8618783ad89f632effae' }, h("div", { key: '4cbd7f056e57b6cc52d70ec998aa9534f0d8e091', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '27d4adf2fb5da73fc1b0bf1da84a941400dfe75a', id: "month-title", class: "sr-only" }, intl.formatMessage({
542
+ onToggle: (ev) => this.handleToggle(ev) }, h("div", { key: '968c8f59c78dc1358295d5f5a7db69952f31da35', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.endCalEl.focusLastFocusable() }), h("priv-calendar", { key: '73c5f5df127cb560aeaf7131ce4ba6e167857693', ref: (el) => (this.startCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), h("priv-calendar", { key: 'f3177d31c0bcf97d010e16ee4f8ee43568fd28b2', ref: (el) => (this.endCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), h("div", { key: '278ae43445deae7239390b01f0a01c16f3fc0f17', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.startCalEl.focusFirstFocusable() }))), h("div", { key: '2528c193f264b94886be679235595c69d081800c' }, h("div", { key: '4e9a81c12822d560cb0b949b2da38b6f26204c32', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '82603d1a7ed918904df6649f76549a41a644d2ed', id: "month-title", class: "sr-only" }, intl.formatMessage({
543
543
  id: "date.selectMonth",
544
544
  defaultMessage: "Activate to select a month.",
545
545
  description: "Calendar button",
546
- })), h("div", { key: '15de6f6698170ed70687516e4a15abbca041fde5', id: "year-title", class: "sr-only" }, intl.formatMessage({
546
+ })), h("div", { key: '0c98b239ffa8a8f6f27a9eee4e302f8daddc4c89', id: "year-title", class: "sr-only" }, intl.formatMessage({
547
547
  id: "date.selectYear",
548
548
  defaultMessage: "Activate to select a year.",
549
549
  description: "Calendar button",
550
- }))), h("div", { key: '47f6c2dd3072e95927d32910d1bf30cce0bde3f7', id: "error", class: "error" }, this.errorMessage), h("div", { key: '0cbdb396f7422cd1e47b299c7037f495b28ad317', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
550
+ }))), h("div", { key: '13e1dc0b81ffedda3b7f6316ee07d2dc9a8712b9', id: "error", class: "error" }, this.errorMessage), h("span", { key: '5b8d811a975b5dec9e0e9e2c81bd56d5360f178a', id: "date-format-hint", class: "sr-only" }, this.dateFormat), h("div", { key: '0746adc5f997c314567c5f942de26216a449ce57', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
551
551
  }
552
552
  static get is() { return "wm-date-range"; }
553
553
  static get encapsulation() { return "shadow"; }
@@ -329,25 +329,25 @@ export class DatePicker {
329
329
  }
330
330
  render() {
331
331
  var _a, _b, _c, _d;
332
- return (h(Host, { key: '75edb60af8b727174c9e906ea4fd5655610ddd00', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '30cf18c6bdd8d2904bac07075eb7f1278a1dfadc', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'f52d76ff9670902582cff2c266804b138246137a', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '8eaad53d13c5300efcc5f2a8f0c06fb997ba2f80', id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})`, onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: 'bd29520e03f51baec0adc4be0a16c2c04651ea4a', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '997f09274b7f85aa1d2d258e09802fe38c95a062' }, h("div", { key: '127816619a523254ccf63c9e3e26b7d3a8929516', class: "single-wrapper input", ref: (el) => (this.anchorEl = el) }, h("input", { key: 'b714f2bcb4e4fd8072ed1a61d5c3b9df5cd1de40', disabled: this.isDisabled, type: "text", id: "single-date-input", class: "date-input", name: "date", placeholder: this.dateFormat, value: this.value, onFocus: () => this.handleInputFocus(), onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleInputBlur(), onChange: () => this.handleInputChange(), ref: (input) => (this.inputEl = input), "aria-describedby": "error", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), h("div", { key: 'cecb3d7adf4bf0401fce82b131de4767837d52a2', class: "container", id: "wm-container" }, this.canOpen && (h("button", { key: '9da230049feebb37f2f087e760c2671669716e92', disabled: this.disabled, "aria-label": intl.formatMessage({
332
+ return (h(Host, { key: '1ae084fab8bf53b87d769a314f7e6173492d35bc', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'ff4180135e424dfdf985819781117277925cfd4e', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '62df8d9f5634d50508a7a0f47d3d9d6f3d0ad16f', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '3430b1340a0ba7355d4dc22a5bd02a800ffafa5f', id: "datepickerLabel", htmlFor: "date-input", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: '625126eee314eb1ac24f82e2a7bc0e48abe8ad5d', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '39a8bc38fa6aad0a5cafd5fb3af8880229918384' }, h("div", { key: '861923fb1569879e5d8a2f593c6023f295d57e5e', class: "single-wrapper input", ref: (el) => (this.anchorEl = el) }, h("input", { key: 'aa8bf537a6c1e1d50157107a0392b90e984e6ca6', disabled: this.isDisabled, type: "text", id: "single-date-input", class: "date-input", name: "date", placeholder: this.dateFormat, value: this.value, onFocus: () => this.handleInputFocus(), onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleInputBlur(), onChange: () => this.handleInputChange(), ref: (input) => (this.inputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '7c26eb7e1a11ea1ee314ccbe9e1855f5cdd3b5ec', class: "container", id: "wm-container" }, this.canOpen && (h("button", { key: '734718b3ee64ab44fcf44f0ff34f2985f57ccf66', disabled: this.disabled, "aria-label": intl.formatMessage({
333
333
  id: "date.selectDate",
334
334
  defaultMessage: "Select date",
335
335
  description: "Button text for screen readers.",
336
- }), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, h("span", { key: 'b1c40c5c3e63e1096b9e8bcbac78cc5a2beebfd0', class: "svg-icon svg-date" }), h("span", { key: '01675fedff80453c8a8a02360dddf3658fb842c6', class: "calendar", title: intl.formatMessage({
336
+ }), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, h("span", { key: 'eea61f1c8f02f89cca36f8d51f1028f1bb1f5801', class: "svg-icon svg-date" }), h("span", { key: '7910f167d9343f53b8d1df37845179d3580483f1', class: "calendar", title: intl.formatMessage({
337
337
  id: "date.calendarView",
338
338
  defaultMessage: "Calendar View",
339
339
  description: "Calendar button",
340
- }) }))), h("div", { key: 'f0fc896b98dbdfb8ec5a9d3783c52ee324847d5e', class: `popup-wrapper ${this.calEl && this.calEl.view}-view ${this.isExpanded ? "is-open" : ""} ${!this.hasAnchor && !this.isExpanded ? "hidden" : ""} ${(_b = (_a = this.fit) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : ""} ${(_d = (_c = this.fit) === null || _c === void 0 ? void 0 : _c.horizontal) !== null && _d !== void 0 ? _d : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), popover: "auto",
340
+ }) }))), h("div", { key: '9c82f780494e23aefa7e188e060c8243ef9d6e01', class: `popup-wrapper ${this.calEl && this.calEl.view}-view ${this.isExpanded ? "is-open" : ""} ${!this.hasAnchor && !this.isExpanded ? "hidden" : ""} ${(_b = (_a = this.fit) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : ""} ${(_d = (_c = this.fit) === null || _c === void 0 ? void 0 : _c.horizontal) !== null && _d !== void 0 ? _d : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), popover: "auto",
341
341
  // @ts-ignore -- onToggle is a valid ToggleEvent listener for popover elements
342
- onToggle: (ev) => this.handleToggle(ev) }, h("div", { key: '34543b5a222d7875938fc545751d33cd25ecf2c3', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: '7e548bdcc7bccc30dbbc20b32bd594cc0d27128f', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: '07ba79155102bcc5af7a7d3ff8e3252412ea816f', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: '4ff2e5951eabde88a2d2efe46c671e5f87764359', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '8fd50c0d7b5d7f21aa215e71c41a4d071f76e971', id: "month-title", class: "sr-only" }, intl.formatMessage({
342
+ onToggle: (ev) => this.handleToggle(ev) }, h("div", { key: 'dbdff9693acf1c80fc815d9ad734b009120d634e', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: '6db36aebafb43d5a9fef8a108921b0a7baa5ae6b', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: '8b373c91819aedd18bd23086d286ba8409daa932', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: 'f77269cd2e7bce953622c574e9541eded807f708', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '0d5de891b42a3d0b4ac38efa02eb6323719d86a3', id: "month-title", class: "sr-only" }, intl.formatMessage({
343
343
  id: "date.selectMonth",
344
344
  defaultMessage: "Activate to select a month.",
345
345
  description: "Calendar button",
346
- })), h("div", { key: 'f82d186d8f2053f13389c9de24a317bd3673a0fc', id: "year-title", class: "sr-only" }, intl.formatMessage({
346
+ })), h("div", { key: '8044eaab6e1ed7b14164ecbab8adccd9cf10a8e1', id: "year-title", class: "sr-only" }, intl.formatMessage({
347
347
  id: "date.selectYear",
348
348
  defaultMessage: "Activate to select a year.",
349
349
  description: "Calendar button",
350
- })))), h("div", { key: 'bcf3f6665c8fa0bb4e21b8ba92f756aa8570b5c4', id: "error", class: "error" }, this.errorMessage), h("div", { key: '2b249282c6a469e6d91ecae8ac681f4ebc5816b6', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
350
+ })))), h("div", { key: '84e8a07316eb505d1efb41426681c1c50fc57d84', id: "error", class: "error" }, this.errorMessage), h("span", { key: 'eaadadc2b5f4d7665573feff2cce7509e306b07d', id: "date-format-hint", class: "sr-only" }, this.dateFormat), h("div", { key: 'dd22ed0f5451379701210d29c460d832c388ac0d', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
351
351
  }
352
352
  static get is() { return "wm-datepicker"; }
353
353
  static get encapsulation() { return "shadow"; }
@@ -367,7 +367,7 @@ export class PrivOptionList {
367
367
  return (h("div", { class: "non-options-wrapper" }, this.isInNestedSelect && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton()));
368
368
  }
369
369
  render() {
370
- return (h("div", { key: '98ab5904650946f09781f2e61aa6b112b7573509', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: 'aa070c8aa473a64033343eaad82537164fe40005', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-label": this.optgroupLabel, ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", { key: '8f4c76557f6f8ce2d97148566c52f1584ab9d931' })), h("div", { key: '3f199eafffecbe3224a528dbb4416e4cca1ad7af', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
370
+ return (h("div", { key: 'd1dc259bbc48591f82a0e44017349513b7e22f60', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: '5ef4cd1533f03e47175ed6112996ba73a138aacd', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-label": this.optgroupLabel, ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", { key: '53014694e7dc51fbfc4fe6da9abbf0749764b4a1' })), h("div", { key: 'f3e1bb6596bd0e656eb045c5a62dad39ee266985', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
371
371
  }
372
372
  static get is() { return "priv-option-list"; }
373
373
  static get originalStyleUrls() {
@@ -291,16 +291,16 @@ export class NestedSelect {
291
291
  this.isExpanded ? this.close() : this.open();
292
292
  },
293
293
  };
294
- return (h(Host, { key: 'bda282fadc5398b51d54cb27eeaf1c1c1f98eb4c', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '1b2d0bc94e1d57571b1930dcf3566dd66be89ca5', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '64a9f0148d1b09eb6eac15e1049c16e45f2dd411', class: "label-wrapper" }, h("label", { key: '8e188fc0dfe16b08ac9322965c68d77a5c429e90', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
294
+ return (h(Host, { key: '7e8ed5b276c45f62f8d92521e65b6b6dded568db', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '8712a1df1e10912a4e69b6584b1f47670f9fe0ef', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '6a4e9d87422861362ac87b92703dd094748da7e9', class: "label-wrapper" }, h("label", { key: 'e27736516799cf708681ee19eafd179094dd5096', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
295
295
  // we can't use aria-required because the listbox is in a sub-component and it is not announced
296
- this.labelPosition !== "none" && this.requiredField && (h("span", { key: 'abcefcd2375d1c03236a6259cbdefd28f39d5d81', class: "required" }, h("span", { key: '00ab4df49e29a6c1c507911488d34ef2aa3a9172', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '76880a1038559104ed56daceb977425c4192825d', "aria-hidden": "true" }, "*")))), h("div", { key: 'be310db75aff587d31f10f8ba4ec4187287074e6', class: "button-wrapper" }, h("button", Object.assign({ key: '2428e385ee1b29f21314dca563d5e58281bfabd5' }, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: '228adf62c0343582e2619628bad56acc5e44b750', class: "overflowcontrol" }, h("span", { key: 'c75274b26d3d2dc33334dc794e963c4a168859be', class: "button-text" }, this.renderButtonText())), h("div", { key: 'a2574049743302f64c3657bd3426d0c93470fa23', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: 'c62aef44d9f2390603a351356c0cd20eaa95a474', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'b71077c2d05939e0770f33a957fe77e1993abb56', class: `dropdown ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, this.renderClearSelectionButton(), h("div", { key: '9472e55d1c1f3b01a03b8d39a353d17ed21e8897', ref: (el) => (this.menuEl = el), id: "menu", role: "menu", class: this.isGroupExpanded ? "hidden" : "", style: { "--max-height": this.constrainedMaxHeight }, tabIndex: -1 }, this.optgroupEls.map((optgroupEl) => {
296
+ this.labelPosition !== "none" && this.requiredField && (h("span", { key: '0d6e9bc7134d9ce46d53813067eeef7f2af50e81', class: "required" }, h("span", { key: 'a4dd0ef025cf32566f863ce0119e72259d9ca50e', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '8169eaa0d995f90e49e5beb9c66dbac4cf93cc6d', "aria-hidden": "true" }, "*")))), h("div", { key: 'a84486ea919cc9cf713c3f98322b6f8f10e91e84', class: "button-wrapper" }, h("button", Object.assign({ key: 'd8605fbcab85f7c15cb030214e599654a3bbeb5e' }, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: 'ce7182acce7ac9f9bf4259fc73155ec1b8b765a2', class: "overflowcontrol" }, h("span", { key: 'dcda39e2afe152b5c3a75d92e9795f4a4fe93858', class: "button-text" }, this.renderButtonText())), h("div", { key: '8061497676ac1e2c4075f93416663f09b8687ff4', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '4a234681f6ccaf3860e46f193855b56e46e2b221', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '4a73cad886a38ba1674241b0a5147d3941c4f97e', class: `dropdown ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, this.renderClearSelectionButton(), h("div", { key: '4660e100c2e0c5291cced7a26a58143a25852f0a', ref: (el) => (this.menuEl = el), id: "menu", role: "menu", class: this.isGroupExpanded ? "hidden" : "", style: { "--max-height": this.constrainedMaxHeight }, tabIndex: -1 }, this.optgroupEls.map((optgroupEl) => {
297
297
  return (h("button", { class: `menuitem group-btn ${optgroupEl.disabled ? "disabled" : ""}`, role: "menuitem", "data-label": optgroupEl.label, tabindex: -1, "aria-disabled": optgroupEl.disabled, onClick: () => {
298
298
  if (!optgroupEl.disabled) {
299
299
  optgroupEl.isExpanded = !optgroupEl.isExpanded;
300
300
  forceUpdate(this.el);
301
301
  }
302
302
  }, onKeyDown: (ev) => this.handleMenuitemKeydown(ev) }, h("div", { class: "option-text" }, h("span", null, optgroupEl.label), this.renderSelectionCount(optgroupEl), optgroupEl.disabled && h("div", { class: "disabled-indication" }, "Disabled")), h("div", { class: "svg-icon svg-next" })));
303
- })), h("div", { key: '2ace5086fdc7b13f1550f0e2ee4f90a5da7f70f8', class: `option-list-wrapper ${this.isGroupExpanded ? "" : "hidden"}` }, h("slot", { key: '8912f4b90a572e2436602717660d3c3413a88290' }))), h("div", { key: '69a526ffeaa60bb10407cd116369bfc92132d5be', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage))), h("div", { key: 'd1910aeeb9e3155af714be4359bbcd01202c1a8d', id: "nestedselect-announcement", "aria-live": "assertive", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
303
+ })), h("div", { key: 'cd880112ee35cdc1a2a3dafa210db9837426fc47', class: `option-list-wrapper ${this.isGroupExpanded ? "" : "hidden"}` }, h("slot", { key: 'f617faa2bbb0f34e500ec103704d3d1298d3f08d' }))), h("div", { key: '0020de125ad2ada89d5f0b38e3af6396879b4de6', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage))), h("div", { key: 'ecc4b501c84e72461319863f4e6b5c6afc3aa944', id: "nestedselect-announcement", "aria-live": "assertive", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
304
304
  }
305
305
  static get is() { return "wm-nested-select"; }
306
306
  static get encapsulation() { return "shadow"; }
@@ -48,7 +48,7 @@ export class Optgroup {
48
48
  handleDisabledAttribute(this.el, this.isDisabled);
49
49
  }
50
50
  render() {
51
- return (h(Host, { key: '12057d825b7564925f9d36636a6bf3854965c7af' }, h("div", { key: '8bd80f2183e39325a9069e2d763117f9572f203a', class: `list-wrapper` }, h("priv-option-list", { key: 'c7108cc9a10eb4d2e919d5a273e75f2b773a1695', ref: (el) => (this.optionListEl = el), multiple: this.parentNestedSelect.multiple, search: this.parentNestedSelect.search, maxHeight: this.parentNestedSelect.constrainedMaxHeight, searchPlaceholder: this.parentNestedSelect.searchPlaceholder, optgroupLabel: this.label, selectAll: this.parentNestedSelect.selectAll, onOptionListAllSelected: () => this.wmOptgroupAllSelected.emit(), onOptionListAllDeselected: () => this.wmOptgroupAllDeselected.emit() }, h("slot", { key: '46fa349a0460d0630ad53005cd5cb8513e206c46' })))));
51
+ return (h(Host, { key: 'f0aab9a65cc5d21105c75bdc3768e0076123c0c8' }, h("div", { key: '23429cfad03b7026205ed0aef92973353d3ccff0', class: `list-wrapper` }, h("priv-option-list", { key: '6d8d1ea6e0ab9394bec5f4cf5423941fd9979332', ref: (el) => (this.optionListEl = el), multiple: this.parentNestedSelect.multiple, search: this.parentNestedSelect.search, maxHeight: this.parentNestedSelect.constrainedMaxHeight, searchPlaceholder: this.parentNestedSelect.searchPlaceholder, optgroupLabel: this.label, selectAll: this.parentNestedSelect.selectAll, onOptionListAllSelected: () => this.wmOptgroupAllSelected.emit(), onOptionListAllDeselected: () => this.wmOptgroupAllDeselected.emit() }, h("slot", { key: 'e01aeec2a2c3cd346f821c1fe46d7e77944e4f98' })))));
52
52
  }
53
53
  static get is() { return "wm-optgroup"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -143,7 +143,7 @@ export class Option {
143
143
  this.parentOptionList.addEventListener("optionListSearchChanged", (ev) => this.handleSearch(ev));
144
144
  }
145
145
  render() {
146
- return (h(Host, { key: '4453364df27300330171bf85256485c249c565b9', role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { key: '4f8abd91019d780f6ac5daacc892fa9bd0bb8551', class: `option-wrapper ${this.parentOptionList.multiple ? "checkbox" : ""}` }, this.parentOptionList.multiple && (h("div", { key: 'bf57c786e8f201c6ba30d4aef82c5b8a4f0e84f1', class: `checkbox svg-icon ${this.selected ? "svg-checkbox-selected" : "svg-checkbox-blank"}` })), h("span", { key: 'a9d404610f78455878bbd3ec1a832f40c6570cf6', class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { key: '36e7eea2df9eb3b2ec3d65c8f872b67bd8837dd1', class: "sr-only" }, this.el.textContent)), h("div", { key: '693c57136543092bcea5ced3a0042dfcd1d732f9', class: "subinfo" }, this.subinfo)));
146
+ return (h(Host, { key: 'bcabbcc25798f589af99a47142426ed517e1951f', role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { key: '83c81f098705c2ef5b6b2b374cc5d680ec78e2af', class: `option-wrapper ${this.parentOptionList.multiple ? "checkbox" : ""}` }, this.parentOptionList.multiple && (h("div", { key: '4cc738837041f134ef4d6ac1f541b8b0409813c6', class: `checkbox svg-icon ${this.selected ? "svg-checkbox-selected" : "svg-checkbox-blank"}` })), h("span", { key: '44b3d931ed548dc841033ebf4757eb400773a3a4', class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { key: '25a0ecb424a65a7d6c878ad65848ae5270ac563f', class: "sr-only" }, this.el.textContent)), h("div", { key: '4e25dd1f8e9ae5767123d136874ec1e40474c0fb', class: "subinfo" }, this.subinfo)));
147
147
  }
148
148
  static get is() { return "wm-option"; }
149
149
  static get encapsulation() { return "shadow"; }
@@ -323,14 +323,14 @@ export class Select {
323
323
  }
324
324
  render() {
325
325
  const showSubinfo = !this.multiple && this.selectedOptions.length > 0 && this.selectedOptions[0].subinfo;
326
- return (h(Host, { key: 'c3179dce64aec17311a05db1caf40c9046d50266', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: 'ffec93927e318e74ba2a65eea796a17746086101', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '05b63a73a9ba8ce393b9ab12f20e827316cdc45e', class: "label-wrapper" }, h("label", { key: '782ce6c1c996894b55829daf9737de0fe9fbb087', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
326
+ return (h(Host, { key: '9a7eaa936f3f0723a852f780b706ce95dc83641a', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '4ab274d8cf13b0b8702928766bcaae20fa54216e', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '983713098202b6b9774ecabdbe56a43fe21f8938', class: "label-wrapper" }, h("label", { key: '8f79bf97083e3348ef10b15b8637e501915817b2', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
327
327
  // we can't use aria-required because the listbox is in a sub-component and it is not announced
328
- this.labelPosition !== "none" && this.requiredField && (h("span", { key: 'cf907f7414548bfbd9c7b4e4dba50a6bb9c1e577', class: "required" }, h("span", { key: '2ecc4c811c259dd872105c61096c00ffcc8872c9', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '71ac50661c996f1a78ee63df5907f34f107c5301', "aria-hidden": "true" }, "*")))), h("div", { key: 'cb3385816a0c66c5cbe907a24b3d8945a14a8d16', class: "button-wrapper" }, h("button", { key: '79f53e40d93843d53ff28d0f7ebcfebad629605c', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "info error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: 'c6a39cf5e76b2d17a59520152ee56bc259323327', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: 'ba1f1804bdeb6d5deb27ef47f3c4006d0c043814', class: "button-text" }, this.setButtonText()), showSubinfo && h("span", { key: '6f9f8c575d4a4045b0d45db05e52e7d9ea2a5e85', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '2dcf2db70cc00e658fffc0d7003e6a52facb72d3', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: 'abe7e4b5febcef43ad6227fa886d5b2fef612da9', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: '2bdb431c7e2b297928ac0fb8cc5e04f9a16ea833',
328
+ this.labelPosition !== "none" && this.requiredField && (h("span", { key: 'f8fd8c444254d6588b010277684824a4f61bd0c7', class: "required" }, h("span", { key: '4bdbbded3292fa0a7d8ac7a7a14e63c4fa06a0bf', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '6e28deddff56fc2009fdc7b7610c1f379b0e958a', "aria-hidden": "true" }, "*")))), h("div", { key: '47f1f1d2d62006f117d0be49bfccaaee71e91b76', class: "button-wrapper" }, h("button", { key: '9803fc04172c3c85241891b1abd5dedcc39d8db7', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "info error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: 'e5a794d58c1115eaeabad64349aa763b880d8650', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: 'be25d6a9086a68305f23604395897d8ecb19af01', class: "button-text" }, this.setButtonText()), showSubinfo && h("span", { key: '09e34ec7ac74982b1f6c1db55b876d4a72256446', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '75b86a8c694a6bb3e5e92744935242727d2233a7', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '365885ab0546940f1ac4970894066beddf59ac42', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'fd952f83012203e7eaba6fcb8a83b053b5b17a28',
329
329
  // is-open is for the CSS transition in modern browsers
330
330
  // hidden is to wait for position calculations in Firefox
331
331
  class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "upward" : ""}`, id: "dropdown", popover: "auto", ref: (el) => (this.dropdownEl = el),
332
332
  // @ts-ignore -- don't tell typescript but we're in the future
333
- onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: 'bd9a8370bb366966d81d93366f100f15946f2c4d', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
333
+ onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '54216ae45b02cab8b403fe30f0c32814e5085f3a', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
334
334
  this.dropdownEl.hidePopover();
335
335
  }, onOptionListAllSelected: () => {
336
336
  this.returnFocus = true;
@@ -338,7 +338,7 @@ export class Select {
338
338
  }, onOptionListAllDeselected: () => {
339
339
  this.returnFocus = true;
340
340
  this.wmSelectAllDeselected.emit();
341
- } }, h("slot", { key: '76adfa38e6831f440e65dc2965f0335c7ae89b58' }))), this.info && (h("div", { key: '661f5601227afce341989bece0f6c9ccc3bddc00', class: "info" }, this.info)), h("div", { key: 'ed2e09dc4a5c21914940473725fb0e2043a28539', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: 'ef299ca55165327d731b6721777c51743da1f20b', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
341
+ } }, h("slot", { key: 'defde80bf2e3e435fccfda6b910a0d53f4df9989' }))), this.info && (h("div", { key: '464984b66832d1c978df56c53dc4099a671d75c5', class: "info" }, this.info)), h("div", { key: '3a63d5293c2c97f04bddc39a2fcf5181a245f2a3', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: 'a9a47c2c45f0ab1149919504b9787378ccedc3de', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
342
342
  }
343
343
  static get is() { return "wm-select"; }
344
344
  static get encapsulation() { return "shadow"; }
@@ -335,7 +335,7 @@ export class ActionMenu {
335
335
  return null;
336
336
  }
337
337
  render() {
338
- return (h(Host, { key: '1bc92955af44651deb4f7d5d3de9046364e76e45', onBlur: () => this.close(false) }, h("div", { key: 'b83f192550a3480e5085ee7977ae2dea230a644c', class: getTextDir() }, h("button", { key: '04eae1cc66e4fb4ed0bb484ad31cc1573e0e457d', ref: (el) => (this.menubtnEl = el), id: "menubtn", class: `wm-button -${this.internalButtonType}${this.darkMode ? " dark" : ""}${this.isTabbing ? " user-is-tabbing" : ""}`, disabled: this.disabled, "aria-label": this.internalButtonType === "icononly"
338
+ return (h(Host, { key: '089e41398162bb653228788b4317049cde90677a', onBlur: () => this.close(false) }, h("div", { key: '8bf71c94ed904f5c4308b30aaba78910622918ec', class: getTextDir() }, h("button", { key: 'e907d5dbb4c76d9c1dcc4099b3f79faec27f4bdd', ref: (el) => (this.menubtnEl = el), id: "menubtn", class: `wm-button -${this.internalButtonType}${this.darkMode ? " dark" : ""}${this.isTabbing ? " user-is-tabbing" : ""}`, disabled: this.disabled, "aria-label": this.internalButtonType === "icononly"
339
339
  ? this.labelForIdenticalButtons || this.tooltip
340
340
  : this.labelForIdenticalButtons || undefined, "aria-expanded": this.isExpanded ? "true" : "false", "aria-haspopup": "menu", popoverTarget: "menu", popoverTargetAction: "toggle", onMouseEnter: () => this.actionMenuType === "icon" &&
341
341
  showTooltip(this.tooltipPosition || this.horizontalPosition, this.menubtnEl, this.tooltip), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing &&
@@ -343,9 +343,9 @@ export class ActionMenu {
343
343
  showTooltip(this.tooltipPosition || this.horizontalPosition, this.menubtnEl, this.tooltip), onBlur: (ev) => {
344
344
  hideTooltip();
345
345
  this.handleButtonBlur(ev);
346
- } }, this.actionMenuType === "icon" && (h("span", { key: '3a5f8fd6be2e1f65778b886489070410a26037d7', class: "svg-icon svg-more-options", style: { "--icon-size": "24px" } })), this.actionMenuType !== "icon" && h("span", { key: '6a82e201c6efeae33c058957cf78916ff5308b3c', class: "button-text" }, this.buttonText), (this.actionMenuType === "selector" || this.actionMenuType === "selector-primary") && (h("div", { key: '334fe2c0ee2bb53a22257e524270d0f1f8015e59', class: "selector-icon svg-icon svg-expand-more" }))), h("div", { key: 'bd2f15ba52aa8950f5703bad07563e1b2f996db8', class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "open-up" : ""} ${this.horizontalPosition}`, id: "menu", popover: "auto", tabindex: -1, role: "menu", ref: (el) => (this.dropdownEl = el),
346
+ } }, this.actionMenuType === "icon" && (h("span", { key: 'bd615c986c40863c73a2ec9f060fc5b596e7d64f', class: "svg-icon svg-more-options", style: { "--icon-size": "24px" } })), this.actionMenuType !== "icon" && h("span", { key: '27ad43a2bc951784d313f08b210c1092f2adda55', class: "button-text" }, this.buttonText), (this.actionMenuType === "selector" || this.actionMenuType === "selector-primary") && (h("div", { key: '54184d0f5faa1bd80eddc76127d4173f3dacb7ca', class: "selector-icon svg-icon svg-expand-more" }))), h("div", { key: '7f34d1d1527b5b65f512fe636aa243ef06c2ae61', class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "open-up" : ""} ${this.horizontalPosition}`, id: "menu", popover: "auto", tabindex: -1, role: "menu", ref: (el) => (this.dropdownEl = el),
347
347
  // @ts-ignore -- don't tell typescript but we're in the future
348
- onToggle: (ev) => this.handleToggle(ev) }, h("slot", { key: '349a4080dd04947b405dc4dd2d73689b1a50cb71' })))));
348
+ onToggle: (ev) => this.handleToggle(ev) }, h("slot", { key: 'de4af1e89a98621b4093089e70f7b0c02b759cb2' })))));
349
349
  }
350
350
  static get is() { return "wm-action-menu"; }
351
351
  static get encapsulation() { return "shadow"; }
@@ -18,6 +18,8 @@ export class Button {
18
18
  this.textWrap = true;
19
19
  this.customBackground = undefined;
20
20
  this.isSubmit = false;
21
+ this.ariaLabelPassthrough = undefined;
22
+ this.ariaExpandedPassthrough = undefined;
21
23
  this.isTabbing = false;
22
24
  }
23
25
  get isDisabled() {
@@ -27,6 +29,12 @@ export class Button {
27
29
  get isTruncated() {
28
30
  return !!this.buttonEl && this.buttonType === "textonly" && this.buttonEl.offsetWidth < this.buttonEl.scrollWidth;
29
31
  }
32
+ get isAriaExpanded() {
33
+ // string "false" needs to be treated as bool False because react wrappers convert bool to string.
34
+ if (this.ariaExpandedPassthrough === undefined)
35
+ return undefined;
36
+ return toBool(this.ariaExpandedPassthrough);
37
+ }
30
38
  get hasTooltip() {
31
39
  // tooltip is only rendered for icononly and navigational types, or if the button text is truncated
32
40
  return ["icononly", "navigational", "icononly-ai", "navigational-ai"].includes(this.buttonType) || this.isTruncated;
@@ -159,37 +167,37 @@ export class Button {
159
167
  name: "--ai-gradient-start",
160
168
  syntax: "<color>",
161
169
  inherits: false,
162
- initialValue: "#2779C8"
170
+ initialValue: "#2779C8",
163
171
  });
164
172
  CSS.registerProperty({
165
173
  name: "--ai-gradient-end",
166
174
  syntax: "<color>",
167
175
  inherits: false,
168
- initialValue: "#6259C4"
176
+ initialValue: "#6259C4",
169
177
  });
170
178
  CSS.registerProperty({
171
179
  name: "--secondary-button-fill",
172
180
  syntax: "<color>",
173
181
  inherits: false,
174
- initialValue: "#FFFFFF"
182
+ initialValue: "#FFFFFF",
175
183
  });
176
184
  CSS.registerProperty({
177
185
  name: "--wmbutton-percent-1",
178
186
  syntax: "<percentage>",
179
187
  inherits: false,
180
- initialValue: "0%"
188
+ initialValue: "0%",
181
189
  });
182
190
  CSS.registerProperty({
183
191
  name: "--wmbutton-percent-2",
184
192
  syntax: "<percentage>",
185
193
  inherits: false,
186
- initialValue: "70.19%"
194
+ initialValue: "70.19%",
187
195
  });
188
196
  CSS.registerProperty({
189
197
  name: "--wmbutton-percent-3",
190
198
  syntax: "<percentage>",
191
199
  inherits: false,
192
- initialValue: "-50%"
200
+ initialValue: "-50%",
193
201
  });
194
202
  }
195
203
  catch (e) {
@@ -214,6 +222,8 @@ export class Button {
214
222
  this.ariaPopup = !!this.el.getAttribute("aria-haspopup");
215
223
  }
216
224
  getAriaLabel() {
225
+ if (this.ariaLabelPassthrough)
226
+ return this.ariaLabelPassthrough;
217
227
  if (this.buttonType === "icononly" ||
218
228
  this.buttonType === "navigational" ||
219
229
  this.buttonType === "icononly-ai" ||
@@ -246,7 +256,7 @@ export class Button {
246
256
  }
247
257
  }
248
258
  render() {
249
- return (h(Host, { key: '7cfb3bc7bc5f2c0e00c3cb38de71ac1b5465055c', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: '9010f68296e4250cdf85fa21bfeb7b3a725fa072', id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && this.renderIcon(), (!this.buttonType.startsWith("navigational") && !this.buttonType.startsWith("icononly")) && (h("span", { key: '5167fea2767e091408e0b452ecca6d70bce711c6', class: "button-text" }, h("slot", { key: '3a9a85455a00434c1112c6070c83469d15640e31' }))), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (h("div", { key: 'b9f5481cf0bb9fb56be6821127609eea72c788bc', class: "selector-icon svg-icon svg-expand-more" })))));
259
+ return (h(Host, { key: 'bfc5c1c1b69619258f1a15003de34a9884f5b09e', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: '647328418473ec98db1fff54403a5915a8354668', id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-expanded": this.isAriaExpanded !== undefined ? this.isAriaExpanded.toString() : undefined, "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && this.renderIcon(), !this.buttonType.startsWith("navigational") && !this.buttonType.startsWith("icononly") && (h("span", { key: '1f27aeed2c3e7f87d326c6da318f08be083c873e', class: "button-text" }, h("slot", { key: '6cce46f476c7d20aa3c48fa1e87edd495398d5c3' }))), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (h("div", { key: '305255c0423d2971932f3f8ccc2170075aa4dd53', class: "selector-icon svg-icon svg-expand-more" })))));
250
260
  }
251
261
  static get is() { return "wm-button"; }
252
262
  static get encapsulation() { return "shadow"; }
@@ -501,6 +511,40 @@ export class Button {
501
511
  "attribute": "is-submit",
502
512
  "reflect": false,
503
513
  "defaultValue": "false"
514
+ },
515
+ "ariaLabelPassthrough": {
516
+ "type": "string",
517
+ "mutable": false,
518
+ "complexType": {
519
+ "original": "string",
520
+ "resolved": "string | undefined",
521
+ "references": {}
522
+ },
523
+ "required": false,
524
+ "optional": true,
525
+ "docs": {
526
+ "tags": [],
527
+ "text": "Sets the button's `aria-label`. Takes priority over `label-for-identical-buttons` and over\nthe label automatically derived from `tooltip` for `icononly` and `navigational` buttons. Use\nthis prop instead of setting `aria-label` directly on `<wm-button>`."
528
+ },
529
+ "attribute": "aria-label-passthrough",
530
+ "reflect": false
531
+ },
532
+ "ariaExpandedPassthrough": {
533
+ "type": "boolean",
534
+ "mutable": false,
535
+ "complexType": {
536
+ "original": "boolean",
537
+ "resolved": "boolean | undefined",
538
+ "references": {}
539
+ },
540
+ "required": false,
541
+ "optional": true,
542
+ "docs": {
543
+ "tags": [],
544
+ "text": "Sets the button's `aria-expanded` attribute. Use on buttons that toggle a disclosure region,\nmenu, popover, or dialog. Use this prop instead of setting `aria-expanded` directly on\n`<wm-button>`."
545
+ },
546
+ "attribute": "aria-expanded-passthrough",
547
+ "reflect": false
504
548
  }
505
549
  };
506
550
  }
@@ -187,7 +187,7 @@ export class File {
187
187
  return (h("div", { class: `file-wrapper` }, h("div", { class: `file ${this.errorMessage ? "--error" : ""} ${this.isCondensed ? "condensed" : ""} ${this.isExtraCondensed ? "extra-condensed" : ""}` }, this.renderFileName(), showRightGroup && (h("div", { class: "right-group" }, !this.isExtraCondensed && this.renderFileInfo(), this.fileActions !== "" && this.renderFileControls())), this.errorMessage && (h("div", { class: "right-group" }, h("wm-button", { "permanently-delete": true, "button-type": "textonly", "label-for-identical-buttons": this.generateClearButtonLabel(this.name), onClick: () => this.wmFileErrorCleared.emit() }, this.clearButtonText))), this.progress == 100 && h("span", { class: "svg-icon svg-success" })), this.errorMessage && h("div", { class: "error-message" }, this.errorMessage)));
188
188
  }
189
189
  render() {
190
- return h(Host, { key: '223bcc417ef9cceaec684623a0bc81040406cf6c', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
190
+ return h(Host, { key: 'e825957afa878743760074bf8a75afc943432249', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
191
191
  }
192
192
  static get is() { return "wm-file"; }
193
193
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ export class FileList {
4
4
  this.showInfo = "last-updated";
5
5
  }
6
6
  render() {
7
- return (h("div", { key: '7656e0938356e6d763e346270511ec3b4e323579', role: "list", class: "list-wrapper" }, h("slot", { key: 'f405d5f5e4b7c07bb039b43433439d533324d47e' })));
7
+ return (h("div", { key: '85c0c57f99ff0d6b1a3bee24b63724853f37f2b2', role: "list", class: "list-wrapper" }, h("slot", { key: 'a05f7e5ebb27e57a23713a7e029c0bdb18d89286' })));
8
8
  }
9
9
  static get is() { return "wm-file-list"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -155,7 +155,7 @@ export class Flyout {
155
155
  }
156
156
  }
157
157
  render() {
158
- return (h(Host, { key: 'cfd8924fd1cf44ed98e5df149922369a2eb5c022' }, h("dialog", { key: '5495313b42f63f975e4c7e45c4ee87bbe730f1c0', ref: (el) => (this.dialogEl = el), class: "flyout", "aria-labelledby": "heading", onClose: () => this.wmFlyoutCloseTriggered.emit(), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'd3ae2614172a999c931af813fc4d41026ebe08d8', tabindex: "0", class: "focus-trap", onFocus: () => this.lastFocusableEl.focus(), "aria-hidden": "true" }), this.renderHeader(), h("div", { key: 'a5cac28eb96b2d912c9aabb68a927349b41048f4', class: "flyout-content" }, h("slot", { key: '9add65983e9c7beb596aab4b6560af007b78fb0a' })), this.renderFooter(), h("div", { key: '4d8c854f6ff110d805db90102f62a692899aaab4', tabindex: "0", class: "focus-trap", onFocus: () => this.handleEndBookendFocus(), "aria-hidden": "true" }))));
158
+ return (h(Host, { key: 'edef60d2bbbed2d457e1cc1b85aa3f6381084d5b' }, h("dialog", { key: 'be1c6a36c8bd59cdf45590402d24ba94271ada78', ref: (el) => (this.dialogEl = el), class: "flyout", "aria-labelledby": "heading", onClose: () => this.wmFlyoutCloseTriggered.emit(), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: '115b32676ca1215698eeaccac059a1730a65e16b', tabindex: "0", class: "focus-trap", onFocus: () => this.lastFocusableEl.focus(), "aria-hidden": "true" }), this.renderHeader(), h("div", { key: '45a0bc9e0c3366d2e35409712cc4f02566659373', class: "flyout-content" }, h("slot", { key: '4613ce4d6cac4126bb70ab6b0301b68294f0244f' })), this.renderFooter(), h("div", { key: '3646f8d1604cfdbdeb0ce3872431473943978ecb', tabindex: "0", class: "focus-trap", onFocus: () => this.handleEndBookendFocus(), "aria-hidden": "true" }))));
159
159
  }
160
160
  static get is() { return "wm-flyout"; }
161
161
  static get encapsulation() { return "shadow"; }
@@ -107,7 +107,7 @@ export class Input {
107
107
  : `info error`;
108
108
  }
109
109
  render() {
110
- return (h("div", { key: '546031078ab09fbd2d84fb125be712c8a07190fe', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: 'b7ac9fab6f07e86cad99545bb2ea8511ae8a43c4', class: "label-wrapper" }, h("label", { key: '2dc3d393741d0f72b0e8bc8051f63ac4670aa7fd', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: 'c6481dcee99b08d0dc5e019ad8fe5a0174206fdb', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.labelPosition !== "none" && this.requiredField && (h("div", { key: 'f7fc88562bd7c4f81f6a932e2ac044acbcdb2a1f', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '4bc330c3e6ccc46de90d3ab913e160d9dd365788', class: "inner-wrapper" }, h("div", { key: '663312589abf9ce9875c34219091ef2cfeb1690a', class: "text-after-wrapper" }, h("div", { key: '32a711b1680e6fe3d4cd004d0b9d12a497f6a4ba', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: 'ac28228f2c780da57e5b6102b4e2029c8e443d9c', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '95449d5e50f05a7ae28590561d1f2268adfe7b6f', ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (h("span", { key: '3c8deef6390fb7aa50c57aa085cff047da8616d1', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { key: '8a1fb20438d4919aeb94f194f3f132bf34d9824d', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: '5dab1a773ca9223f828a431d9638874473e976ed', id: "info", class: "info" }, this.info)), h("div", { key: 'de5c031a373d6206ab355363ad1ae277d350c648', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '7337aead0388c1c097ee4a76259b121f7df1c86a', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
110
+ return (h("div", { key: 'bce3b3c4252340f54f70ce0090ee9b43601338b3', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: 'eb078f570551eef008b151c6e109ab53bc2e6721', class: "label-wrapper" }, h("label", { key: '5e7890d8802f09854e353648f5e51852ec25f36a', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '29b03586a3302abb855c34740f44cb8331c433d5', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.labelPosition !== "none" && this.requiredField && (h("div", { key: 'c8fda1e852259ceeac78507cc751ff79f1573533', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '564f93368ac8a28d0bb91adc0d97e2e97d20cb21', class: "inner-wrapper" }, h("div", { key: 'ebc9be3527d6a264d4cb90bf59a51999aaf658ad', class: "text-after-wrapper" }, h("div", { key: '9f22cd67d191367ab015f1f7b18f40cd1af0296a', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '4113a8907719fb47d4cf2965c1c212d206ae1a3b', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: 'eed896950ced5aebfad101ec6559ebfd0e84e477', ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (h("span", { key: '81a4a5fb4967223523b91e63775b8b4a30d951f4', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { key: '9c484c909d8f1097d7033576fa9f2d7b655ccf0c', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: '8957eec57120ea823ecb2c0e2f6187ff7302a487', id: "info", class: "info" }, this.info)), h("div", { key: '1d9e53cc2f7c548ed8c1bafeb95da0a98eef07eb', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '88d7f2e6e22166d1f57e8f434436c065fb5aca89', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
111
111
  }
112
112
  static get is() { return "wm-input"; }
113
113
  static get encapsulation() { return "shadow"; }
@@ -887,37 +887,6 @@
887
887
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
888
888
  }
889
889
 
890
- /* --------------------------------------
891
- 1. Box-shadow
892
- -------------------------------------- */
893
- /* --------------------------------------
894
- 2. Border-radius
895
- -------------------------------------- */
896
- /* --------------------------------------
897
- 3. Transforms
898
- -------------------------------------- */
899
- /* --------------------------------------
900
- 4. Button Focus
901
- -------------------------------------- */
902
- /* --------------------------------------
903
- 5. Flex
904
- -------------------------------------- */
905
- /* --------------------------------------
906
- 7. Screen Reader Only
907
- -------------------------------------- */
908
- /* --------------------------------------
909
- 8. Label styles
910
- this mixin includes all the styles for the label
911
- + flex rules on the parent container to switch between top and left position
912
- + srOnly when label is hidden
913
- Assumes the following markup:
914
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
915
- .wrapper is for the flex rules
916
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
917
- the input. It can't be done directly on .label because of possible line wrapping.
918
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
919
- (they can't be aligned on the baseline because of possible description text and error message)
920
- -------------------------------------- */
921
890
  :host(:focus-visible) {
922
891
  outline: none;
923
892
  }
@@ -95,7 +95,7 @@ export class Menuitem {
95
95
  }
96
96
  }
97
97
  render() {
98
- return (h(Host, { key: '6838ceae008466f3bd6dee37624d14f3718a0c00', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: 'dc645e49294d5564575acd479dd34c20b9ca3fac', class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: '2abe28a30d6bdf5f8356544e46f0a65f76db9ba2', class: "main-text" }, this.icon && this.renderIcon(), this.el.textContent), this.description ? h("div", { class: "description" }, this.description) : "")));
98
+ return (h(Host, { key: '3576abf0e512b2088c08a13a9b0da7be22fc4604', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: '5ee18f1dc5bc3ce1498db2038d6e21ed9abeb951', class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: '1eb8c3e8db9dee82803e458dce83ea26314d454f', class: "main-text" }, this.icon && this.renderIcon(), this.el.textContent), this.description ? h("div", { class: "description" }, this.description) : "")));
99
99
  }
100
100
  static get is() { return "wm-menuitem"; }
101
101
  static get encapsulation() { return "shadow"; }
@@ -31,7 +31,7 @@ export class ModalFooter {
31
31
  }
32
32
  }
33
33
  render() {
34
- return (h("div", { key: '6d94cacfebe8d62db1553445ba99f90d7f98c778', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: 'd3f1a4076529f0565ab89e4130cbb0ccfbeba9e4', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: 'd79f0b061536501e84f04d67067cab66df3c9451', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '00ff0c4fbe25049cc0ef30b83da98401b80c8323', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: 'e2696ae801fca202a56a0e82f4cad832e1d7e4cc', "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) : undefined) }, this.primaryText))));
34
+ return (h("div", { key: 'd271a1ae0932d3d178fbc2963a022569304ce00c', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '9b9c1b5bd49ff76b6334e60bc5ada6b311913644', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '7741ec8fe680ddf5fb0aba02e894b2c3138727d1', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '35d73c0fe78849cf0ff55a33f94c69fa126844a9', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: '6c322386f313e52a76fdafe0a7f56f480309b240', "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) : undefined) }, this.primaryText))));
35
35
  }
36
36
  static get is() { return "wm-modal-footer"; }
37
37
  static get originalStyleUrls() {
@@ -22,7 +22,7 @@ export class ModalHeader {
22
22
  parentModal.emitCloseEvent();
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: '85a826bb640f3bd52f2d4ea1ef024ae6aa541fae' }, h("div", { key: '78079591bba9785238ba879ca9509ae3e710b05e', class: "wm-wrapper" }, h("div", { key: '4edd001c26fbdd9c4a749cf5869891b3dc5d5b56' }, h("h2", { key: 'b532fcf221acc7955743b755c615cca9d4148e14', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '73ff408a89e266b5ff2c9a4c0ae9485b7b3c1c4f', class: "subtitle" }, this.subheading))), h("wm-button", { key: '1cc3ec26950a51c45587eec8f77bf4471157f11f', "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: 'b68657ee6be25bb1acf42a1f2ee3c3bf907b82ec' }, h("div", { key: '1cc9bff33ede81baf02895c05eda31be8902705e', class: "wm-wrapper" }, h("div", { key: '079e8e5ed17ace20380cbe720d22a58a125a52c1' }, h("h2", { key: '7d50e7cda2fff6ddb16c4cd98de0e8b5fe1df786', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '68e79ac15c7bfb59754694b5033e9a115fbed6b2', class: "subtitle" }, this.subheading))), h("wm-button", { key: '258bc2a94df987545ec32f46da2903f97dd8bf99', "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() {