@watermarkinsights/ripple 5.12.0-11 → 5.12.0-13

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 (359) hide show
  1. package/dist/{esm/global-c1827d25.js → cjs/app-globals-f7b7659e.js} +10 -1
  2. package/dist/cjs/{chartFunctions-0436714f.js → chartFunctions-1e1d3cae.js} +3 -3
  3. package/dist/cjs/{functions-e24249e6.js → functions-4f353093.js} +1684 -273
  4. package/dist/cjs/index-788526f5.js +1859 -0
  5. package/dist/cjs/{intl-a70cf8c2.js → intl-f7c9452b.js} +104 -1
  6. package/dist/cjs/loader.cjs.js +4 -3
  7. package/dist/cjs/priv-calendar.cjs.entry.js +6 -5
  8. package/dist/cjs/priv-chart-popover.cjs.entry.js +6 -5
  9. package/dist/cjs/priv-navigator-button.cjs.entry.js +4 -3
  10. package/dist/cjs/priv-navigator-item.cjs.entry.js +4 -3
  11. package/dist/cjs/priv-option-list.cjs.entry.js +15 -51
  12. package/dist/cjs/ripple.cjs.js +12 -11
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +8 -6
  14. package/dist/cjs/wm-button.cjs.entry.js +5 -4
  15. package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -1
  16. package/dist/cjs/wm-chart.cjs.entry.js +7 -6
  17. package/dist/cjs/wm-date-range.cjs.entry.js +22 -10
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +9 -8
  19. package/dist/cjs/wm-file-list.cjs.entry.js +4 -3
  20. package/dist/cjs/wm-file.cjs.entry.js +5 -4
  21. package/dist/cjs/wm-input.cjs.entry.js +6 -5
  22. package/dist/cjs/wm-line-chart.cjs.entry.js +19 -17
  23. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +13 -10
  24. package/dist/cjs/wm-modal_3.cjs.entry.js +13 -10
  25. package/dist/cjs/wm-navigation_3.cjs.entry.js +13 -10
  26. package/dist/cjs/wm-navigator.cjs.entry.js +4 -3
  27. package/dist/cjs/wm-nested-select.cjs.entry.js +17 -55
  28. package/dist/cjs/wm-optgroup.cjs.entry.js +5 -4
  29. package/dist/cjs/wm-option_2.cjs.entry.js +13 -23
  30. package/dist/cjs/wm-pagination.cjs.entry.js +66 -13
  31. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +9 -7
  32. package/dist/cjs/wm-search.cjs.entry.js +7 -6
  33. package/dist/cjs/wm-snackbar.cjs.entry.js +14 -8
  34. package/dist/cjs/wm-tab-item_3.cjs.entry.js +17 -9
  35. package/dist/cjs/wm-tag-input.cjs.entry.js +30 -23
  36. package/dist/cjs/wm-tag-option.cjs.entry.js +2 -2
  37. package/dist/cjs/wm-textarea.cjs.entry.js +6 -5
  38. package/dist/cjs/wm-timepicker.cjs.entry.js +6 -5
  39. package/dist/cjs/wm-toggletip.cjs.entry.js +7 -6
  40. package/dist/cjs/wm-uploader.cjs.entry.js +7 -6
  41. package/dist/cjs/wm-wrapper.cjs.entry.js +1 -1
  42. package/dist/collection/collection-manifest.json +2 -2
  43. package/dist/collection/components/charts/chartFunctions.js +1 -1
  44. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +2 -2
  45. package/dist/collection/components/charts/wm-chart/wm-chart.js +1 -1
  46. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +14 -13
  47. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +1 -1
  48. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
  49. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
  50. package/dist/collection/components/datepickers/wm-date-range.js +30 -15
  51. package/dist/collection/components/datepickers/wm-datepicker.js +17 -13
  52. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +18 -53
  53. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +17 -56
  54. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
  55. package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
  56. package/dist/collection/components/selects/wm-select/wm-select.js +10 -22
  57. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  58. package/dist/collection/components/wm-button/wm-button.js +1 -1
  59. package/dist/collection/components/wm-file/wm-file.js +1 -1
  60. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  61. package/dist/collection/components/wm-input/wm-input.js +1 -1
  62. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  63. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  64. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  65. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  66. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
  67. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
  68. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
  69. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  70. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  71. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  72. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  73. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  74. package/dist/collection/components/wm-pagination/wm-pagination.js +63 -11
  75. package/dist/collection/components/wm-search/wm-search.js +5 -4
  76. package/dist/collection/components/wm-snackbar/wm-snackbar.js +10 -5
  77. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
  78. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +8 -3
  79. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  80. package/dist/collection/components/wm-tag-input/wm-tag-input.js +25 -19
  81. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  82. package/dist/collection/components/wm-timepicker/wm-timepicker.js +11 -8
  83. package/dist/collection/components/wm-toggletip/wm-toggletip.css +0 -1
  84. package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
  85. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  86. package/dist/collection/global/intl.js +102 -0
  87. package/dist/collection/lang/piglatin.js +9 -1
  88. package/dist/{cjs/global-da3d372b.js → esm/app-globals-abcdae09.js} +7 -2
  89. package/dist/esm/{chartFunctions-7a2b7a90.js → chartFunctions-4cfa7410.js} +3 -3
  90. package/dist/esm/{functions-899cea51.js → functions-9e8253e7.js} +1685 -274
  91. package/dist/esm/index-130e07bb.js +1828 -0
  92. package/dist/esm/{intl-87b9b541.js → intl-d78f158c.js} +104 -2
  93. package/dist/esm/loader.js +5 -4
  94. package/dist/esm/priv-calendar.entry.js +6 -5
  95. package/dist/esm/priv-chart-popover.entry.js +6 -5
  96. package/dist/esm/priv-navigator-button.entry.js +4 -3
  97. package/dist/esm/priv-navigator-item.entry.js +4 -3
  98. package/dist/esm/priv-option-list.entry.js +15 -51
  99. package/dist/esm/ripple.js +13 -12
  100. package/dist/esm/wm-action-menu_2.entry.js +8 -6
  101. package/dist/esm/wm-button.entry.js +5 -4
  102. package/dist/esm/wm-chart-slice.entry.js +1 -1
  103. package/dist/esm/wm-chart.entry.js +7 -6
  104. package/dist/esm/wm-date-range.entry.js +22 -10
  105. package/dist/esm/wm-datepicker.entry.js +9 -8
  106. package/dist/esm/wm-file-list.entry.js +4 -3
  107. package/dist/esm/wm-file.entry.js +5 -4
  108. package/dist/esm/wm-input.entry.js +6 -5
  109. package/dist/esm/wm-line-chart.entry.js +19 -17
  110. package/dist/esm/wm-modal-pss_3.entry.js +13 -10
  111. package/dist/esm/wm-modal_3.entry.js +13 -10
  112. package/dist/esm/wm-navigation_3.entry.js +13 -10
  113. package/dist/esm/wm-navigator.entry.js +4 -3
  114. package/dist/esm/wm-nested-select.entry.js +17 -55
  115. package/dist/esm/wm-optgroup.entry.js +5 -4
  116. package/dist/esm/wm-option_2.entry.js +13 -23
  117. package/dist/esm/wm-pagination.entry.js +66 -13
  118. package/dist/esm/wm-progress-indicator_3.entry.js +9 -7
  119. package/dist/esm/wm-search.entry.js +7 -6
  120. package/dist/esm/wm-snackbar.entry.js +14 -8
  121. package/dist/esm/wm-tab-item_3.entry.js +17 -9
  122. package/dist/esm/wm-tag-input.entry.js +30 -23
  123. package/dist/esm/wm-tag-option.entry.js +2 -2
  124. package/dist/esm/wm-textarea.entry.js +6 -5
  125. package/dist/esm/wm-timepicker.entry.js +6 -5
  126. package/dist/esm/wm-toggletip.entry.js +7 -6
  127. package/dist/esm/wm-uploader.entry.js +7 -6
  128. package/dist/esm/wm-wrapper.entry.js +1 -1
  129. package/dist/esm-es5/app-globals-abcdae09.js +1 -0
  130. package/dist/esm-es5/{chartFunctions-7a2b7a90.js → chartFunctions-4cfa7410.js} +1 -1
  131. package/dist/esm-es5/functions-9e8253e7.js +1 -0
  132. package/dist/esm-es5/index-130e07bb.js +1 -0
  133. package/dist/esm-es5/intl-d78f158c.js +1 -0
  134. package/dist/esm-es5/loader.js +1 -1
  135. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  136. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  137. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  138. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  139. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  140. package/dist/esm-es5/ripple.js +1 -1
  141. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  142. package/dist/esm-es5/wm-button.entry.js +1 -1
  143. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  144. package/dist/esm-es5/wm-chart.entry.js +1 -1
  145. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  146. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  147. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  148. package/dist/esm-es5/wm-file.entry.js +1 -1
  149. package/dist/esm-es5/wm-input.entry.js +1 -1
  150. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  151. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  152. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  153. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  154. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  155. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  156. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  157. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  158. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  159. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  160. package/dist/esm-es5/wm-search.entry.js +1 -1
  161. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  162. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  163. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  164. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  165. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  166. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  167. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  168. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  169. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  170. package/dist/loader/cdn.js +1 -2
  171. package/dist/loader/index.cjs.js +1 -2
  172. package/dist/loader/index.d.ts +3 -0
  173. package/dist/loader/index.es2017.js +1 -2
  174. package/dist/loader/index.js +1 -2
  175. package/dist/ripple/{p-65d26233.system.entry.js → p-043901ab.system.entry.js} +1 -1
  176. package/dist/ripple/{p-555091aa.system.entry.js → p-0a6cbbce.system.entry.js} +1 -1
  177. package/dist/ripple/{p-48e09589.entry.js → p-13b1d775.entry.js} +1 -1
  178. package/dist/ripple/p-142e4c2d.entry.js +1 -0
  179. package/dist/ripple/{p-1a71d867.system.entry.js → p-165b5d3d.system.entry.js} +1 -1
  180. package/dist/ripple/p-1a5b91c1.entry.js +1 -0
  181. package/dist/ripple/{p-bda32fc9.system.entry.js → p-1f5f9e07.system.entry.js} +1 -1
  182. package/dist/ripple/p-236247d1.entry.js +1 -0
  183. package/dist/ripple/{p-6c7e754c.js → p-2fa21bed.js} +1 -1
  184. package/dist/ripple/{p-a04ef164.system.entry.js → p-3376581a.system.entry.js} +1 -1
  185. package/dist/ripple/{p-39436e07.system.entry.js → p-39abb5e4.system.entry.js} +1 -1
  186. package/dist/ripple/{p-ce219de1.system.entry.js → p-3d520a26.system.entry.js} +1 -1
  187. package/dist/ripple/p-41ce71aa.system.js +1 -0
  188. package/dist/ripple/{p-68e04222.entry.js → p-45c4fc87.entry.js} +1 -1
  189. package/dist/ripple/p-4d29bcf8.entry.js +1 -0
  190. package/dist/ripple/p-56d386b7.system.entry.js +1 -0
  191. package/dist/ripple/{p-29bc2e29.entry.js → p-5c62e26d.entry.js} +1 -1
  192. package/dist/ripple/{p-b22b8da5.system.entry.js → p-629f5f7d.system.entry.js} +1 -1
  193. package/dist/ripple/p-6354858c.system.entry.js +1 -0
  194. package/dist/ripple/{p-b027e0e7.entry.js → p-63f9a56d.entry.js} +1 -1
  195. package/dist/ripple/{p-1a4b6b02.system.entry.js → p-658f146a.system.entry.js} +1 -1
  196. package/dist/ripple/{p-50ba37b9.entry.js → p-68bd4288.entry.js} +1 -1
  197. package/dist/ripple/p-70aa314c.entry.js +1 -0
  198. package/dist/ripple/p-75656013.entry.js +1 -0
  199. package/dist/ripple/{p-e9177cb5.entry.js → p-76f9acec.entry.js} +1 -1
  200. package/dist/ripple/p-77b420a9.entry.js +1 -0
  201. package/dist/ripple/p-7b75564f.entry.js +1 -0
  202. package/dist/ripple/p-7bdacaba.entry.js +1 -0
  203. package/dist/ripple/{p-1a6699ee.entry.js → p-7c306fa3.entry.js} +1 -1
  204. package/dist/ripple/{p-639011da.system.entry.js → p-7c4fa135.system.entry.js} +1 -1
  205. package/dist/ripple/{p-32bf3f5b.system.entry.js → p-823d7b4e.system.entry.js} +1 -1
  206. package/dist/ripple/{p-63faf802.system.entry.js → p-83839da3.system.entry.js} +1 -1
  207. package/dist/ripple/p-86457680.js +1 -0
  208. package/dist/ripple/p-86ee3a1c.system.entry.js +1 -0
  209. package/dist/ripple/{p-4392f369.system.entry.js → p-8ad6cfa7.system.entry.js} +1 -1
  210. package/dist/ripple/{p-3703934b.system.js → p-8afa85d7.system.js} +1 -1
  211. package/dist/ripple/p-91427f79.system.js +1 -0
  212. package/dist/ripple/p-933bdedf.entry.js +1 -0
  213. package/dist/ripple/{p-f3b7781a.system.entry.js → p-9345ff24.system.entry.js} +1 -1
  214. package/dist/ripple/p-93649ba1.entry.js +1 -0
  215. package/dist/ripple/{p-a94b1ea9.entry.js → p-988dc626.entry.js} +1 -1
  216. package/dist/ripple/p-9973d3c4.entry.js +1 -0
  217. package/dist/ripple/{p-08cae940.system.entry.js → p-9d1301b5.system.entry.js} +1 -1
  218. package/dist/ripple/{p-c850c123.system.entry.js → p-9fa2a154.system.entry.js} +1 -1
  219. package/dist/ripple/{p-e27499cc.entry.js → p-a2535dde.entry.js} +1 -1
  220. package/dist/ripple/{p-8a555fea.system.entry.js → p-a32c32a5.system.entry.js} +1 -1
  221. package/dist/ripple/p-a3b005be.entry.js +1 -0
  222. package/dist/ripple/{p-00daed0d.system.entry.js → p-a5647b5c.system.entry.js} +1 -1
  223. package/dist/ripple/{p-ab7a7407.entry.js → p-a7252c5d.entry.js} +1 -1
  224. package/dist/ripple/p-a766c2d9.js +1 -0
  225. package/dist/ripple/{p-c32d42ff.system.entry.js → p-aad4c911.system.entry.js} +1 -1
  226. package/dist/ripple/{p-49faa27e.system.entry.js → p-b57307fb.system.entry.js} +1 -1
  227. package/dist/ripple/{p-5567f97d.system.entry.js → p-b85b90df.system.entry.js} +1 -1
  228. package/dist/ripple/p-b9fd87cf.system.entry.js +1 -0
  229. package/dist/ripple/p-bdc1ca1c.entry.js +1 -0
  230. package/dist/ripple/p-bf95dc5f.js +1 -0
  231. package/dist/ripple/p-c508b49a.system.js +1 -0
  232. package/dist/ripple/{p-0b779f0c.system.entry.js → p-c53f75cd.system.entry.js} +1 -1
  233. package/dist/ripple/{p-dbca5668.system.entry.js → p-c5500fcd.system.entry.js} +1 -1
  234. package/dist/ripple/{p-930a43cd.system.entry.js → p-c9c0614b.system.entry.js} +1 -1
  235. package/dist/ripple/p-cb60f6cc.entry.js +1 -0
  236. package/dist/ripple/{p-3f3dadc5.system.entry.js → p-cce8e977.system.entry.js} +1 -1
  237. package/dist/ripple/{p-88ebddd7.entry.js → p-cd0cc88d.entry.js} +1 -1
  238. package/dist/ripple/p-cef8a45b.system.js +2 -0
  239. package/dist/ripple/p-d03e0e35.system.entry.js +1 -0
  240. package/dist/ripple/{p-66b8e9a0.entry.js → p-d2de817b.entry.js} +1 -1
  241. package/dist/ripple/{p-94cf5830.system.entry.js → p-d9b5f378.system.entry.js} +1 -1
  242. package/dist/ripple/p-d9da0502.js +2 -0
  243. package/dist/ripple/{p-9609af5c.system.entry.js → p-db2d9e78.system.entry.js} +1 -1
  244. package/dist/ripple/p-dc86a666.system.js +1 -0
  245. package/dist/ripple/p-ded3327c.entry.js +1 -0
  246. package/dist/ripple/{p-f594d6e1.entry.js → p-deec276d.entry.js} +1 -1
  247. package/dist/ripple/p-e2cf5473.entry.js +1 -0
  248. package/dist/ripple/{p-17a72fc6.system.entry.js → p-edca689f.system.entry.js} +1 -1
  249. package/dist/ripple/p-f1528c80.entry.js +1 -0
  250. package/dist/ripple/p-f26a2a38.entry.js +1 -0
  251. package/dist/ripple/{p-f6ec10c6.entry.js → p-f5380902.entry.js} +1 -1
  252. package/dist/ripple/p-f9a71cf6.entry.js +1 -0
  253. package/dist/ripple/{p-08c0a003.system.entry.js → p-fde28903.system.entry.js} +1 -1
  254. package/dist/ripple/ripple.esm.js +1 -1
  255. package/dist/ripple/ripple.js +1 -1
  256. package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +0 -6
  257. package/dist/types/components/wm-pagination/wm-pagination.d.ts +6 -0
  258. package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +1 -0
  259. package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +1 -0
  260. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +2 -1
  261. package/dist/types/global/intl.d.ts +22 -0
  262. package/dist/types/stencil-public-runtime.d.ts +3 -10
  263. package/package.json +2 -2
  264. package/dist/cjs/index-e86c28b6.js +0 -2649
  265. package/dist/collection/components/charts/chartFunctions.spec.js +0 -16
  266. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.e2e.js +0 -81
  267. package/dist/collection/components/charts/screenshots.e2e.js +0 -96
  268. package/dist/collection/components/charts/wm-chart/wm-chart.e2e.js +0 -213
  269. package/dist/collection/components/charts/wm-chart/wm-chart.spec.js +0 -37
  270. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.e2e.js +0 -176
  271. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.spec.js +0 -163
  272. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.e2e.js +0 -69
  273. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.spec.js +0 -79
  274. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.spec.js +0 -89
  275. package/dist/collection/components/datepickers/wm-date-range.e2e.js +0 -443
  276. package/dist/collection/components/datepickers/wm-date-range.spec.js +0 -22
  277. package/dist/collection/components/datepickers/wm-datepicker.e2e.js +0 -382
  278. package/dist/collection/components/datepickers/wm-datepicker.spec.js +0 -21
  279. package/dist/collection/components/selects/wm-option/wm-option.e2e.js +0 -22
  280. package/dist/collection/components/selects/wm-option/wm-option.spec.js +0 -63
  281. package/dist/collection/components/selects/wm-select/wm-select.e2e.js +0 -521
  282. package/dist/collection/components/selects/wm-select/wm-select.spec.js +0 -271
  283. package/dist/collection/components/wm-action-menu/wm-action-menu.e2e.js +0 -200
  284. package/dist/collection/components/wm-action-menu/wm-action-menu.spec.js +0 -48
  285. package/dist/collection/components/wm-button/wm-button.e2e.js +0 -55
  286. package/dist/collection/components/wm-button/wm-button.spec.js +0 -74
  287. package/dist/collection/components/wm-file/wm-file.spec.js +0 -194
  288. package/dist/collection/components/wm-file-list/wm-file-list.spec.js +0 -69
  289. package/dist/collection/components/wm-input/wm-input.e2e.js +0 -32
  290. package/dist/collection/components/wm-input/wm-input.spec.js +0 -173
  291. package/dist/collection/components/wm-menuitem/wm-menuitem.e2e.js +0 -23
  292. package/dist/collection/components/wm-menuitem/wm-menuitem.spec.js +0 -54
  293. package/dist/collection/components/wm-modal/wm-modal-footer.spec.js +0 -11
  294. package/dist/collection/components/wm-modal/wm-modal-header.spec.js +0 -8
  295. package/dist/collection/components/wm-modal/wm-modal.e2e.js +0 -104
  296. package/dist/collection/components/wm-modal/wm-modal.spec.js +0 -30
  297. package/dist/collection/components/wm-navigation/wm-navigation.e2e.js +0 -102
  298. package/dist/collection/components/wm-navigation/wm-navigation.spec.js +0 -91
  299. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.e2e.js +0 -50
  300. package/dist/collection/components/wm-navigator/wm-navigator.e2e.js +0 -209
  301. package/dist/collection/components/wm-navigator/wm-navigator.spec.js +0 -177
  302. package/dist/collection/components/wm-pagination/wm-pagination.e2e.js +0 -312
  303. package/dist/collection/components/wm-search/wm-search.e2e.js +0 -76
  304. package/dist/collection/components/wm-search/wm-search.spec.js +0 -71
  305. package/dist/collection/components/wm-snackbar/wm-snackbar.e2e.js +0 -112
  306. package/dist/collection/components/wm-snackbar/wm-snackbar.spec.js +0 -9
  307. package/dist/collection/components/wm-tabs/wm-tabs.e2e.js +0 -91
  308. package/dist/collection/components/wm-tabs/wm-tabs.spec.js +0 -12
  309. package/dist/collection/components/wm-tag-input/wm-tag-input.e2e.js +0 -204
  310. package/dist/collection/components/wm-tag-input/wm-tag-input.spec.js +0 -195
  311. package/dist/collection/components/wm-textarea/wm-textarea.e2e.js +0 -41
  312. package/dist/collection/components/wm-textarea/wm-textarea.spec.js +0 -79
  313. package/dist/collection/components/wm-timepicker/wm-timepicker.e2e.js +0 -163
  314. package/dist/collection/components/wm-timepicker/wm-timepicker.spec.js +0 -147
  315. package/dist/collection/components/wm-toggletip/wm-toggletip.e2e.js +0 -69
  316. package/dist/collection/components/wm-toggletip/wm-toggletip.spec.js +0 -21
  317. package/dist/collection/components/wm-uploader/wm-uploader.e2e.js +0 -70
  318. package/dist/collection/components/wm-uploader/wm-uploader.spec.js +0 -234
  319. package/dist/collection/global/functions.spec.js +0 -126
  320. package/dist/collection/lang/lang.spec.js +0 -20
  321. package/dist/esm/index-558b5a82.js +0 -2618
  322. package/dist/esm-es5/functions-899cea51.js +0 -1
  323. package/dist/esm-es5/global-c1827d25.js +0 -1
  324. package/dist/esm-es5/index-558b5a82.js +0 -1
  325. package/dist/esm-es5/intl-87b9b541.js +0 -1
  326. package/dist/ripple/p-15778b2d.entry.js +0 -1
  327. package/dist/ripple/p-1fcea04c.entry.js +0 -1
  328. package/dist/ripple/p-20cb733d.js +0 -1
  329. package/dist/ripple/p-2d0b6f97.entry.js +0 -1
  330. package/dist/ripple/p-338f476b.entry.js +0 -1
  331. package/dist/ripple/p-3ffd83ff.entry.js +0 -1
  332. package/dist/ripple/p-466c31d7.entry.js +0 -1
  333. package/dist/ripple/p-47285fc5.system.entry.js +0 -1
  334. package/dist/ripple/p-4b6ef736.system.js +0 -1
  335. package/dist/ripple/p-529bf080.system.js +0 -1
  336. package/dist/ripple/p-568c595f.js +0 -2
  337. package/dist/ripple/p-56f88847.system.entry.js +0 -1
  338. package/dist/ripple/p-688b090d.entry.js +0 -1
  339. package/dist/ripple/p-69d44bc5.js +0 -1
  340. package/dist/ripple/p-7dc6ea5b.system.js +0 -1
  341. package/dist/ripple/p-8fcd6f3e.system.entry.js +0 -1
  342. package/dist/ripple/p-90f4a160.entry.js +0 -1
  343. package/dist/ripple/p-92b3a061.system.js +0 -1
  344. package/dist/ripple/p-94495341.entry.js +0 -1
  345. package/dist/ripple/p-9479898e.entry.js +0 -1
  346. package/dist/ripple/p-98c0893f.system.entry.js +0 -1
  347. package/dist/ripple/p-98f95d71.entry.js +0 -1
  348. package/dist/ripple/p-a7709012.entry.js +0 -1
  349. package/dist/ripple/p-ab8d78cc.system.js +0 -2
  350. package/dist/ripple/p-adc254e6.entry.js +0 -1
  351. package/dist/ripple/p-b7577799.entry.js +0 -1
  352. package/dist/ripple/p-bfe5815c.system.entry.js +0 -1
  353. package/dist/ripple/p-c0deae46.entry.js +0 -1
  354. package/dist/ripple/p-d1da356b.entry.js +0 -1
  355. package/dist/ripple/p-dd566933.entry.js +0 -1
  356. package/dist/ripple/p-e917500f.entry.js +0 -1
  357. package/dist/ripple/p-f0645532.entry.js +0 -1
  358. package/dist/ripple/p-f8192441.js +0 -1
  359. package/dist/ripple/p-fa0dcbe4.entry.js +0 -1
@@ -27,7 +27,7 @@ export class ModalPssFooter {
27
27
  parentModal.emitSecondaryEvent();
28
28
  }
29
29
  render() {
30
- return (h("div", { class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { "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: 'd7053a0ac25d4ac0fd6a8113393610aafb01faf1', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '413ea32764100a255732fdf7a0e1eadfd3d8eabb', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '79c0c4d739c49d38e5eeaa3845432e37ee0959ce', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: 'cb0b336e44560a517c396e9a8452c9920c89f994', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '22815a7eadac603d768db2453cd1387626ab4b77', "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, null, h("div", { class: "wm-wrapper" }, h("div", null, h("h2", { class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { class: "subtitle" }, this.subheading))), h("wm-button", { "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: 'ff40133791edec6ccf46344723a61ecca7962381' }, h("div", { key: '348f09f6418d16f01aa89566999ac1a65bb73790', class: "wm-wrapper" }, h("div", { key: '45197f8c1e4b475d3227e0c0aaff01ce5bf20055' }, h("h2", { key: '299a0875fbff68154b8f370b50f9965d5e43a082', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '4ebdd6dc8a29c9615c74c33f4a85d95a26867164', class: "subtitle" }, this.subheading))), h("wm-button", { key: '157e933ac7bbbe451ede2f45e0a9840833ff4df6', "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, { 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: '4c8851746efcbbe4b172bb27b77a71158dd6dc04', 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", { class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { class: "sr-only", tabIndex: 0, onFocus: () => {
117
+ } }, h("div", { key: 'bd96e1abafd5ee50e4c2857a81c36b885eb10423', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: 'e107d2cac3f3acefddd17db95e14870c503718cf', 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, { class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { "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", { class: "svg-icon svg-menu" }))));
37
+ return (h(Host, { key: '9d77aca16635656920d082498162a927e78680bd', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: 'd4cf4f5abc0a1065bbf19fceb0b3eab0b51f2e91', "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: 'd9d3bbb877f541f1809df790776f42c8f8ee4390', 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, { role: "listitem" }, h("a", { class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { class: "icon", "aria-hidden": "true" }, h("slot", null)), h("div", { class: "text" }, this.text))));
9
+ return (h(Host, { key: '9a55adf58c46f162f8a1c8aa2349585353471235', role: "listitem" }, h("a", { key: '629ff3389f4878307d70a6602237cb0e11851430', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '08c82bbb9a9ee82d3c5a152527beb1a45f3bfe37', class: "icon", "aria-hidden": "true" }, h("slot", { key: '1f84ab5e6da8642f8d2c1bfe1d7b1341c25a3bcf' })), h("div", { key: '6ee1fba226110dee9b4194bb6fae93e19e2efc62', 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, { role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { class: "tray" }, h("div", { class: "toggle-wrapper" }, h("wm-button", { 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: '07715708e3ce55d682922a541a2eb3ebc344e3f8', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: 'dc1605e10718db381d62277212075d66c449203a', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '5eac009e3b8ca72758876ba2854f08c0b628272e', class: "tray" }, h("div", { key: 'e55a956593076b1256dc2f9b5afff29bbb6ee02a', class: "toggle-wrapper" }, h("wm-button", { key: '87206deed2d58e192644a29f79b7e43c62cd9527', 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", { class: "navlist" }, h("slot", null))), this.isCollapsible && (h("div", { class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
101
+ } })), h("ul", { key: 'd556f415a4e448737cdd4330ee3b491bdb92406d', class: "navlist" }, h("slot", { key: '4afb84723d83cff39fba23769f84cfc03ee0b83d' }))), this.isCollapsible && (h("div", { key: '2b28fde2e59ffe93d48173f30682ace5297b9266', 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", { "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
12
+ return (h("button", { key: '36fe285b1142a492a6f41a7d4427f62dbd4ca938', "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", { class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", null)));
19
+ return (h("div", { key: 'c0120a6e1efa71fea0ebf431fa5b8db4cd284676', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '0a76e5acbd234f0c92983a24324a7e10f53bd893' })));
20
20
  }
21
21
  static get is() { return "priv-navigator-item"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -1,8 +1,24 @@
1
1
  import { h } from "@stencil/core";
2
- import { debounce } from "../../global/functions";
2
+ import { debounce, intl } from "../../global/functions";
3
+ import { globalMessages } from "../../global/intl";
3
4
  export class Pagination {
4
5
  constructor() {
5
6
  this.totalPages = 0;
7
+ this.navigationLabel = intl.formatMessage({
8
+ id: "pagination.navLabel",
9
+ defaultMessage: "Pagination navigation.",
10
+ description: "Label for a navigation HTML element within a pagination UI element",
11
+ });
12
+ this.nextPageButtonLabel = intl.formatMessage({
13
+ id: "pagination.nextPageButtonLabel",
14
+ defaultMessage: "Go to next page",
15
+ description: "Page refers to a paginated list of items",
16
+ });
17
+ this.previousPageButtonLabel = intl.formatMessage({
18
+ id: "pagination.previousPageButtonLabel",
19
+ defaultMessage: "Go to previous page",
20
+ description: "Page refers to a paginated list of items",
21
+ });
6
22
  this.debouncedResize = debounce(() => (this.isLargeSize = this.el.clientWidth > 500), 100);
7
23
  this.getMiddlePageNums = () => {
8
24
  let coreBtns;
@@ -25,6 +41,33 @@ export class Pagination {
25
41
  this.isLargeSize = window.innerWidth > 600;
26
42
  this.srAnnouncement = "";
27
43
  }
44
+ pageButtonLabel(pageNum) {
45
+ return intl.formatMessage({
46
+ id: "pagination.pageButtonLabel",
47
+ defaultMessage: `Go to page {pageNum}`,
48
+ description: "Page refers to a paginated list of items",
49
+ }, {
50
+ pageNum: pageNum,
51
+ });
52
+ }
53
+ lastPageButtonLabel(totalPages) {
54
+ return intl.formatMessage({
55
+ id: "pagination.lastPageButtonLabel",
56
+ defaultMessage: `Go to last page, page {totalPages}`,
57
+ description: "Page refers to a paginated list of items",
58
+ }, {
59
+ totalPages: totalPages,
60
+ });
61
+ }
62
+ currentPageAnnouncement(currentPage) {
63
+ return intl.formatMessage({
64
+ id: "pagination.currentPageAnnouncement",
65
+ defaultMessage: "Current page, {currentPage}.",
66
+ description: "Page refers to a paginated list of items",
67
+ }, {
68
+ currentPage: currentPage,
69
+ });
70
+ }
28
71
  maintainFocusOnNumberChange(el) {
29
72
  window.requestAnimationFrame(() => {
30
73
  switch (el) {
@@ -73,7 +116,7 @@ export class Pagination {
73
116
  updatePageDisplayed(pageNum) {
74
117
  this.value = pageNum;
75
118
  this.wmPaginationPageClicked.emit();
76
- this.srAnnouncement = `Current page, ${this.currentPage}. ${this.getCurrentPagesInView()}`;
119
+ this.srAnnouncement = `${this.currentPageAnnouncement(this.currentPage)} ${this.getCurrentPagesInView()}`;
77
120
  }
78
121
  displayShortPagination() {
79
122
  let pages = [];
@@ -97,7 +140,7 @@ export class Pagination {
97
140
  this.currentPage = pageNum;
98
141
  this.updatePageDisplayed(pageNum);
99
142
  this.maintainFocusOnNumberChange("page");
100
- }, value: pageNum, "aria-label": this.currentPage !== pageNum ? `Go to page ${pageNum}` : "", "aria-current": this.currentPage === pageNum ? "page" : undefined }, pageNum));
143
+ }, value: pageNum, "aria-label": this.currentPage !== pageNum ? this.pageButtonLabel(pageNum) : "", "aria-current": this.currentPage === pageNum ? "page" : undefined }, pageNum));
101
144
  }
102
145
  displayEllipsis() {
103
146
  return h("span", { class: "ellipsis" }, "...");
@@ -116,42 +159,51 @@ export class Pagination {
116
159
  if (end > this.totalItems) {
117
160
  end = this.totalItems;
118
161
  }
119
- return "Viewing " + (begin === end ? `${begin}` : `${begin}–${end} of ${this.totalItems}`);
162
+ return intl.formatMessage({
163
+ id: "pagination.pagesInView",
164
+ defaultMessage: "Viewing {atEnd, select, true {{itemStart}} other {{itemStart}-{itemEnd} of {totalItems}}}",
165
+ description: "Text indicating the range of items displayed in a list, and the total amount of items the list contains",
166
+ }, {
167
+ atEnd: begin === end,
168
+ itemStart: begin,
169
+ itemEnd: end,
170
+ totalItems: this.totalItems,
171
+ });
120
172
  }
121
173
  renderLarge() {
122
174
  return (h("div", { class: "largescreen" }, h("div", { class: "pageview" }, this.getCurrentPagesInView()), h("div", { class: "pagebtncontainer" }, h("button", { id: "previous", class: "paginationbtn previousbtn", onClick: () => {
123
175
  this.currentPage = this.currentPage - 1;
124
176
  this.updatePageDisplayed(this.currentPage);
125
177
  this.maintainFocusOnNumberChange("previous");
126
- }, disabled: this.currentPage === 1, "aria-label": "Go to previous page", "aria-controls": "status" }, "Previous"), this.totalPages < 6 ? this.displayShortPagination() : this.displayLongPagination(), h("button", { id: "next", class: "paginationbtn nextbtn", onClick: () => {
178
+ }, disabled: this.currentPage === 1, "aria-label": this.previousPageButtonLabel, "aria-controls": "status" }, globalMessages.previous), this.totalPages < 6 ? this.displayShortPagination() : this.displayLongPagination(), h("button", { id: "next", class: "paginationbtn nextbtn", onClick: () => {
127
179
  this.currentPage = this.currentPage + 1;
128
180
  this.updatePageDisplayed(this.currentPage);
129
181
  this.maintainFocusOnNumberChange("next");
130
- }, disabled: this.currentPage === this.totalPages, "aria-label": "Go to next page", "aria-controls": "status" }, "Next"))));
182
+ }, disabled: this.currentPage === this.totalPages, "aria-label": this.nextPageButtonLabel, "aria-controls": "status" }, globalMessages.next))));
131
183
  }
132
184
  renderSmall() {
133
185
  return (h("div", { class: "smallscreen" }, h("div", { class: "pagebtncontainer" }, h("button", { id: "wm-1-arw", class: "paginationbtn", onClick: () => {
134
186
  this.currentPage = 1;
135
187
  this.updatePageDisplayed(1);
136
188
  this.maintainFocusOnNumberChange("prev-arrow");
137
- }, value: 1, "aria-current": this.currentPage === 1 ? "page" : undefined, "aria-label": `Go to page 1`, "aria-controls": "status", disabled: this.currentPage === 1 }, h("svg", { width: "16", height: "12", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6zM15.41 10.59L10.83 6l4.58-4.59L14 0 8 6l6 6z" }))), h("button", { id: "previous-arw", class: "paginationbtn previousbtn", onClick: () => {
189
+ }, value: 1, "aria-current": this.currentPage === 1 ? "page" : undefined, "aria-label": this.pageButtonLabel(1), "aria-controls": "status", disabled: this.currentPage === 1 }, h("svg", { width: "16", height: "12", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6zM15.41 10.59L10.83 6l4.58-4.59L14 0 8 6l6 6z" }))), h("button", { id: "previous-arw", class: "paginationbtn previousbtn", onClick: () => {
138
190
  this.currentPage -= 1;
139
191
  this.updatePageDisplayed(this.currentPage);
140
192
  this.maintainFocusOnNumberChange("prev-arrow");
141
- }, disabled: this.currentPage === 1, "aria-label": "Go to previous page" }, h("svg", { width: "8", height: "12", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6z" }))), "Page ", this.currentPage, " of ", this.totalPages, h("button", { id: "next-arw", class: "paginationbtn nextbtn", onClick: () => {
193
+ }, disabled: this.currentPage === 1, "aria-label": this.previousPageButtonLabel }, h("svg", { width: "8", height: "12", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6z" }))), "Page ", this.currentPage, " of ", this.totalPages, h("button", { id: "next-arw", class: "paginationbtn nextbtn", onClick: () => {
142
194
  this.currentPage += 1;
143
195
  this.updatePageDisplayed(this.currentPage);
144
196
  this.maintainFocusOnNumberChange("next-arrow");
145
- }, disabled: this.currentPage === this.totalPages, "aria-label": "Go to next page" }, h("svg", { width: "8", height: "12", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6z" }))), h("button", { id: `wm-${this.totalPages}-arw`, class: "paginationbtn", onClick: () => {
197
+ }, disabled: this.currentPage === this.totalPages, "aria-label": this.nextPageButtonLabel }, h("svg", { width: "8", height: "12", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6z" }))), h("button", { id: `wm-${this.totalPages}-arw`, class: "paginationbtn", onClick: () => {
146
198
  this.currentPage = this.totalPages;
147
199
  this.updatePageDisplayed(this.totalPages);
148
200
  this.maintainFocusOnNumberChange("next-arrow");
149
- }, value: this.totalPages, "aria-current": this.currentPage === this.totalPages ? "page" : undefined, "aria-label": `Go to last page, page ${this.totalPages}`, "aria-controls": "status", disabled: this.currentPage === this.totalPages }, h("svg", { width: "17", height: "12", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6zM9.59 10.59L14.17 6 9.59 1.41 11 0l6 6-6 6z" }))))));
201
+ }, value: this.totalPages, "aria-current": this.currentPage === this.totalPages ? "page" : undefined, "aria-label": this.lastPageButtonLabel(this.totalPages), "aria-controls": "status", disabled: this.currentPage === this.totalPages }, h("svg", { width: "17", height: "12", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6zM9.59 10.59L14.17 6 9.59 1.41 11 0l6 6-6 6z" }))))));
150
202
  }
151
203
  render() {
152
204
  return (
153
205
  // do not render the component if there's only one page
154
- this.totalItems > this.itemsPerPage && (h("nav", { "aria-label": `Pagination Navigation. ${this.getCurrentPagesInView()}. Current page, ${this.currentPage}.` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
206
+ this.totalItems > this.itemsPerPage && (h("nav", { key: 'e76650f8ad717fa94684ea00be509c33e2766b5a', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: 'd946be73cfeaeb3994a913a0fa20dac4844b209d', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
155
207
  }
156
208
  static get is() { return "wm-pagination"; }
157
209
  static get encapsulation() { return "shadow"; }
@@ -166,10 +166,10 @@ export class Search {
166
166
  * End search and find render helpers
167
167
  */
168
168
  render() {
169
- return (h(Host, null, h("div", { id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
169
+ return (h(Host, { key: '1ffec56e18aeda2b15741dd86adb2a0d2d131dfc' }, h("div", { key: '1253a6ac6923653d7bc5daceb3fa83f3eb3f45ea', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '20d3c4520fdf0fc511f7e2b7866e4089a4a58a71', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
170
170
  id: "search.typeToFilterResults",
171
171
  defaultMessage: "Type to filter the results",
172
- })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { 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()));
172
+ })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '410a1c3e881bbdf76f9b8c3a6aaf3064e200c776', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '51a68b524397adab5278394479a5059708629f2c', 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()));
173
173
  }
174
174
  static get is() { return "wm-search"; }
175
175
  static get encapsulation() { return "shadow"; }
@@ -380,8 +380,9 @@ export class Search {
380
380
  "complexType": {
381
381
  "signature": "(value: string) => Promise<void>",
382
382
  "parameters": [{
383
- "tags": [],
384
- "text": ""
383
+ "name": "value",
384
+ "type": "string",
385
+ "docs": ""
385
386
  }],
386
387
  "references": {
387
388
  "Promise": {
@@ -1,5 +1,5 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { generateId, hideTooltip, showTooltip } from "../../global/functions";
2
+ import { generateId, hideTooltip, intl, showTooltip } from "../../global/functions";
3
3
  import { globalMessages } from "../../global/intl";
4
4
  export class Snackbar {
5
5
  constructor() {
@@ -7,6 +7,11 @@ export class Snackbar {
7
7
  this.uid = this.el.id ? this.el.id : generateId();
8
8
  this.focusOnDismiss = null;
9
9
  this.timers = {};
10
+ this.closeSnackMessage = intl.formatMessage({
11
+ id: "snackbar.closeNotification",
12
+ defaultMessage: "Close this notification",
13
+ description: "Notification refers to a notification UI element that can be dismissed",
14
+ });
10
15
  this.notifications = "[]";
11
16
  this.isTabbing = false;
12
17
  this.announcement = "";
@@ -145,16 +150,16 @@ export class Snackbar {
145
150
  this.announcement = message;
146
151
  }
147
152
  renderSnackbars() {
148
- return this.parsedNotifications.map((notification) => (h("div", { class: "wm-snack-wrapper", key: `snack-${notification.id}` }, h("div", { id: `snack-${notification.id}`, class: "wm-snackbar active neutral" }, h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) }), h("div", { class: "content-wrapper" }, h("div", { class: "msg-wrapper" }, h("span", { class: "msg" }, notification.message), notification.link && (h("a", { id: `action-${notification.id}`, class: `link ${notification.newWindow ? "new-window" : ""}`, "aria-label": `Click to ${notification.link}...${notification.newWindow ? " " + globalMessages.newWindow : ""}`, tabindex: 0, onClick: () => {
153
+ return this.parsedNotifications.map((notification) => (h("div", { class: "wm-snack-wrapper", key: `snack-${notification.id}` }, h("div", { id: `snack-${notification.id}`, class: "wm-snackbar active neutral" }, h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) }), h("div", { class: "content-wrapper" }, h("div", { class: "msg-wrapper" }, h("span", { class: "msg" }, notification.message), notification.link && (h("a", { id: `action-${notification.id}`, class: `link ${notification.newWindow ? "new-window" : ""}`, "aria-label": `${notification.link}${notification.newWindow ? " " + globalMessages.newWindow : ""}`, tabindex: 0, onClick: () => {
149
154
  this.snackLinkClicked(notification);
150
- }, 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": "Close this notification", 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) })))));
155
+ }, 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) })))));
151
156
  }
152
157
  render() {
153
- return (h(Host, null, h("div", { ref: (el) => (this.snackAreaEl = el), class: {
158
+ return (h(Host, { key: 'df6a4fac9fc0407b86ce48381278d98a5227cbd4' }, h("div", { key: '48fcb5222a997df655ce141faf51e9fb9ddd21d1', ref: (el) => (this.snackAreaEl = el), class: {
154
159
  "list-wrapper": true,
155
160
  "user-is-tabbing": this.isTabbing,
156
161
  empty: this.parsedNotifications.length == 0,
157
- } }, this.renderSnackbars()), h("div", { class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
162
+ } }, this.renderSnackbars()), h("div", { key: 'a538a4a466785dba9578aafa067b46b94e3fe61a', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
158
163
  }
159
164
  static get is() { return "wm-snackbar"; }
160
165
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class TabItem {
40
40
  "background-size": `calc(100% - ${bkgSize}${units}) 3px`,
41
41
  };
42
42
  }
43
- return (h(Host, { role: "presentation" }, h("li", { class: "tab-item", role: "presentation" }, h("a", { class: `tab ${classes}`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), onClick: this.tabClicked, id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1 }, h("slot", null)))));
43
+ return (h(Host, { key: '03f7157e9d97d75d964bcf74bd3b22a6d4b134f7', role: "presentation" }, h("li", { key: '4c2f0e96555a70677c07e27a93bc8b32da016044', class: "tab-item", role: "presentation" }, h("a", { key: 'f433630cab179818bd2193b2fdac45a794e9f241', class: `tab ${classes}`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), onClick: this.tabClicked, id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1 }, h("slot", { key: 'cbfdd92ef027ae9c1b73ffe9bbce37ab71007521' })))));
44
44
  }
45
45
  static get is() { return "wm-tab-item"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,12 @@
1
1
  import { forceUpdate, h, Host } from "@stencil/core";
2
- import { debounce } from "../../../global/functions";
2
+ import { debounce, intl } from "../../../global/functions";
3
3
  export class TabList {
4
4
  constructor() {
5
+ this.selectLabel = intl.formatMessage({
6
+ id: "tab.selectLabel",
7
+ defaultMessage: "Choose a tab",
8
+ description: "Tab refers to a tab UI element",
9
+ });
5
10
  this.debouncedSetLayout = debounce(() => {
6
11
  if (!this.listWidth) {
7
12
  this.setListWidth();
@@ -135,7 +140,7 @@ export class TabList {
135
140
  renderMenuOrTabs() {
136
141
  if (this.menuLayout) {
137
142
  this.hideItems();
138
- return (h("wm-select", { label: "Choose a tab", "label-position": "none" }, this.renderOptions()));
143
+ return (h("wm-select", { label: this.selectLabel, "label-position": "none" }, this.renderOptions()));
139
144
  }
140
145
  else {
141
146
  this.showItems();
@@ -155,7 +160,7 @@ export class TabList {
155
160
  } }, t.textContent)));
156
161
  }
157
162
  render() {
158
- return h(Host, { class: this.menuLayout ? "menu" : "" }, this.renderMenuOrTabs());
163
+ return h(Host, { key: '593d7f4f416cce70fb29b8f3098e352e6c159219', class: this.menuLayout ? "menu" : "" }, this.renderMenuOrTabs());
159
164
  }
160
165
  static get is() { return "wm-tab-list"; }
161
166
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class TabPanel {
12
12
  this.tabPanelLoaded.emit({ tabId: this.tabId });
13
13
  }
14
14
  render() {
15
- return h(Host, { role: "tabpanel", class: { "tab-hidden": !this.active } });
15
+ return h(Host, { key: '0f98f2483566f5c10062cf2413ef5a03417f2e6e', role: "tabpanel", class: { "tab-hidden": !this.active } });
16
16
  }
17
17
  static get is() { return "wm-tab-panel"; }
18
18
  static get originalStyleUrls() {
@@ -6,25 +6,31 @@ export class TagInput {
6
6
  this.addNewHelpText = intl.formatMessage({
7
7
  id: "tagInput.addNewHelpText",
8
8
  defaultMessage: "Press the Enter or Comma key to add a new tag.",
9
- description: "Help text appearing in a dropdown. Use imperative",
9
+ description: "Instructional text, where tag refers to a tag UI element that can be added to a list. Use imperative",
10
10
  });
11
11
  this.selectionHelpText = intl.formatMessage({
12
12
  id: "tagInput.selectionHelpText",
13
13
  defaultMessage: "Search and select a tag.",
14
- description: "Help text appearing in a dropdown. Use imperative",
14
+ description: "Instructional text, where tag refers to a tag UI element that can be added to a list. Use imperative",
15
15
  });
16
16
  this.maxTagsReachedMessage = intl.formatMessage({
17
17
  id: "tagInput.maxTagsReached",
18
18
  defaultMessage: "No more tags can be added because the limit has been reached.",
19
+ description: "Tag refers to a tag UI element that can be added to a list.",
19
20
  });
20
21
  this.tagAreaInstructions = intl.formatMessage({
21
22
  id: "tagInput.tagAreaInstructions",
22
23
  defaultMessage: "tag selection. Press Backspace or Delete to remove a tag.",
24
+ description: "Label for a UI element where a user can select from a list of tags.",
23
25
  });
24
26
  this.tagsAddedMessage = intl.formatMessage({
25
27
  id: "tagInput.tagsAdded",
26
28
  defaultMessage: "Tags added",
27
- description: "Full message for context: 'Tags added: x/y",
29
+ description: "Tag refers to a tag UI element that can be added to a list. Full message for context: 'Tags added: x/y",
30
+ });
31
+ this.noResultsMessage = intl.formatMessage({
32
+ id: "tagInput.noResults",
33
+ defaultMessage: "No results match your search.",
28
34
  });
29
35
  this.openUp = false;
30
36
  this.inModal = false;
@@ -51,6 +57,13 @@ export class TagInput {
51
57
  this.focusedTagIndex = undefined;
52
58
  this.tagsList = [];
53
59
  }
60
+ addNewTagMessage(newTagName) {
61
+ return intl.formatMessage({
62
+ id: "tagInput.addNewTag",
63
+ defaultMessage: "Add {newTagName}",
64
+ description: "Button text to add a new tag to a list of tags",
65
+ }, { newTagName: newTagName });
66
+ }
54
67
  toggleKeyingOn() {
55
68
  this.isKeying = true;
56
69
  }
@@ -142,13 +155,6 @@ export class TagInput {
142
155
  get tagLimitReached() {
143
156
  return !!(this.maxTags && this.taggedOptions.length >= this.maxTags);
144
157
  }
145
- get noResultsMessage() {
146
- return intl.formatMessage({
147
- id: "tagInput.noResults",
148
- defaultMessage: "No results match your search.",
149
- description: "Message displayed when a user's search returns empty.",
150
- });
151
- }
152
158
  get inputMinimumWidth() {
153
159
  if (this._tagEls) {
154
160
  // 150px is the minimum width of the input field, or the length of the placeholder text
@@ -180,28 +186,28 @@ export class TagInput {
180
186
  return intl.formatMessage({
181
187
  id: "tagInput.tagAdded",
182
188
  defaultMessage: "{tagName} added.",
183
- description: "A confirmation for adding a tag.",
189
+ description: "Confirmation for adding a tag UI element to a list of tags.",
184
190
  }, { tagName: tag });
185
191
  }
186
192
  tagRemovedMessage(tag) {
187
193
  return intl.formatMessage({
188
194
  id: "tagInput.tagRemoved",
189
195
  defaultMessage: "{tagName} removed.",
190
- description: "A confirmation for removing a tag.",
196
+ description: "Confirmation for removing a tag UI element from a list of tags.",
191
197
  }, { tagName: tag });
192
198
  }
193
199
  tagAlreadyAddedMessage(tag) {
194
200
  return intl.formatMessage({
195
201
  id: "tagInput.tagAlreadyAdded",
196
202
  defaultMessage: "{tagName} has already been added.",
197
- description: "An alert for adding a tag that is already present.",
203
+ description: "Alert for adding a tag UI element that is already included in the list.",
198
204
  }, { tagName: tag });
199
205
  }
200
206
  tagLockedMessage(tag) {
201
207
  return intl.formatMessage({
202
208
  id: "tagInput.tagLocked",
203
209
  defaultMessage: "{tagName} is locked and cannot be removed.",
204
- description: "An alert for when a user tries to remove a tag that is locked.",
210
+ description: "Alert indicating a tag UI element cannot be removed from its list.",
205
211
  }, { tagName: tag });
206
212
  }
207
213
  isElOrChild(el) {
@@ -779,7 +785,7 @@ export class TagInput {
779
785
  const optionAlreadyExists = this.isExistingTag(this.inputEl.value.trim());
780
786
  return (this.addNew &&
781
787
  hasNonWhiteSpaceCharacters &&
782
- !optionAlreadyExists && (h("li", { ref: (el) => (this.addNewButton = el), id: "add-new-btn", class: "add-new-btn", onClick: () => this.addTags(inputValue) }, "Add " + inputValue)));
788
+ !optionAlreadyExists && (h("li", { ref: (el) => (this.addNewButton = el), id: "add-new-btn", class: "add-new-btn", onClick: () => this.addTags(inputValue) }, this.addNewTagMessage(inputValue))));
783
789
  }
784
790
  renderTable() {
785
791
  return (h("div", { class: "table-wrapper", onScroll: () => this.dismissTooltip() }, h("table", { id: "table", role: "grid", class: `${this.colWidths ? "fixed-widths" : ""}`, "aria-label": this.label, "aria-multiselectable": "true" }, this.renderTableHeaders(), this.filteredOptionEls.length ? (this.filteredOptionEls.map((o) => this.renderTableRow(o))) : (h("div", { class: "no-results" }, this.noResultsMessage)))));
@@ -840,7 +846,7 @@ export class TagInput {
840
846
  const classes = {
841
847
  focused: !!this._focusedCell && cellId === this._focusedCell.id,
842
848
  };
843
- return (h("td", { id: cellId, class: classes, role: "gridcell", "aria-describedby": `${cellId}-description`, "aria-selected": o.selected ? "true" : "false", "aria-readonly": o.locked ? "true" : null, onMouseEnter: (ev) => this.handleCellMouseEnter(ev), onMouseLeave: () => hideTooltip() }, h("div", { class: `cell-content-wrapper ${overflowRule}` }, o.locked && idx == 0 && h("div", { class: "svg-icon svg-locked" }), val), h("div", { class: "description", id: `${cellId}-description` }, o.locked ? "locked" : "")));
849
+ return (h("td", { id: cellId, class: classes, role: "gridcell", "aria-describedby": `${cellId}-description`, "aria-selected": o.selected ? "true" : "false", "aria-readonly": o.locked ? "true" : null, onMouseEnter: (ev) => this.handleCellMouseEnter(ev), onMouseLeave: () => hideTooltip() }, h("div", { class: `cell-content-wrapper ${overflowRule}` }, o.locked && idx == 0 && h("div", { class: "svg-icon svg-locked" }), val), h("div", { class: "description", id: `${cellId}-description` }, o.locked ? globalMessages.locked : "")));
844
850
  });
845
851
  }
846
852
  renderTableRow(o) {
@@ -858,12 +864,12 @@ export class TagInput {
858
864
  }
859
865
  }
860
866
  render() {
861
- return (h("div", { class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper" }, h("label", { class: "label", htmlFor: "input" }, this.label, this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*")))), h("div", { class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { class: "upper-row" }, h("div", { class: "svg-icon svg-search" }), h("div", { class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { 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) => {
867
+ return (h("div", { key: 'c7c6274b246a075d3dde1a85c48f74a6f81e8488', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'e111c172efb9f67de292ea97c032eb0aceb5dd7b', class: "label-wrapper" }, h("label", { key: '41022ce3f8be12acda982a6b6fddd5703004278d', class: "label", htmlFor: "input" }, this.label, this.requiredField && (h("span", { key: '778554d1db5854adcc3629fa263a2c1b537bcf7f', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: 'e73b049d34b5de5f7599c7c09b325545a3be0c5e', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: 'd192eac4c59464f4002e99f77ad295c5e3917f38', class: "upper-row" }, h("div", { key: 'fde56c948d07ebfe7f0811bf516b8d466b8aaf20', class: "svg-icon svg-search" }), h("div", { key: '9831080c30d69e89aa482dc439a9210c5f6f0246', class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { key: 'd9b2a3749cd06d1ad5ce381b99c04685cff97c62', 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) => {
862
868
  this.focusedTagIndex = undefined;
863
869
  this.handleBlur(ev);
864
- }, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""} max-tags`, "aria-label": `${this.label} ${this.isDropdown ? globalMessages.getCharacterLimit(this.characterLimit) : ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
870
+ }, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { key: 'cd48d5e5c79157f76e67d89411e3471bd421cb82', id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""} max-tags`, "aria-label": `${this.label} ${this.isDropdown ? globalMessages.getCharacterLimit(this.characterLimit) : ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
865
871
  this.handleBlur(ev);
866
- }, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { id: "info", class: "info-text" }, this.info)), h("div", { id: "error" }, this.errorMessage), h("div", { class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
872
+ }, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (h("div", { key: 'f2bf5d26f43064e12e4a2b51ed3b7a531e30d0f1', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: 'aea747efbca0eb714301678e297052c9bcfb745c', id: "info", class: "info-text" }, this.info)), h("div", { key: 'fa5e0b55abbd2f9608bbea1161a9169adeaee627', id: "error" }, this.errorMessage), h("div", { key: '3f484bbc12775a17f5af366deeb0776808b38016', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
867
873
  }
868
874
  static get is() { return "wm-tag-input"; }
869
875
  static get encapsulation() { return "shadow"; }
@@ -65,7 +65,7 @@ export class Textarea {
65
65
  this.announcement = message;
66
66
  }
67
67
  render() {
68
- return (h("div", { class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper" }, h("label", { htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*")))), h("div", { class: "inner-wrapper" }, h("div", { class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { 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", { id: "info", class: "info" }, this.info)), h("div", { id: "error", class: "error-message" }, this.errorMessage), h("div", { id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
68
+ return (h("div", { key: 'e2d740d8479a2c7fceafb2cd68d9f97eb876f785', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '2f410dc0729e16d0b18e614f376825f2046df597', class: "label-wrapper" }, h("label", { key: '42478a23be2991709f1225d29fc5b70f1c265e60', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: '075b4662280aca2fd60c0d9c1c5c55943432fa40', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: '04170738af7aed5c0c1c93e0514a0820ce95f45d', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: '8c95a78fc48323b507f698b7a60e23ee695eafd5', class: "inner-wrapper" }, h("div", { key: 'f2d97022f110d272158a4b66b99823855e9446ee', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '53c1dfdeaee25b4ead90e5077df55c5e75860510', 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: 'e6752b037381940fd2c02fc994b018bff40d0160', id: "info", class: "info" }, this.info)), h("div", { key: '207fc1dd5736e9c9a401daab3334e52f2dbdb7b5', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: 'a310af56a1bf1b1ba045707ee1b5b8fb7a0bd770', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
69
69
  }
70
70
  static get is() { return "wm-textarea"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -275,13 +275,13 @@ export class Timepicker {
275
275
  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))));
276
276
  }
277
277
  render() {
278
- return (h(Host, { onBlur: () => this.close(false) }, h("div", { class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { id: "label", class: "label", htmlFor: "time-input" }, this.label, this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*"))))), h("div", null, h("div", { class: "inner-wrapper" }, h("input", { 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", { 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()),
278
+ return (h(Host, { key: '6c9babdf2a8237a46321cc7fbb9185f23b6e73ee', onBlur: () => this.close(false) }, h("div", { key: '214da15a53ada6e5e1dbfb2d1d6bf73d9e0231b2', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '3179f94028e1645d63b047e33efe756cd337ce17', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '9d490705cd32b26bf5de757e6fd5889473a7c4c4', id: "label", class: "label", htmlFor: "time-input" }, this.label, this.requiredField && (h("span", { key: '8e54d504e4ab76a03ef7a01cdf8e1fb161c37016', class: "required", "aria-hidden": "true" }, "*"))))), h("div", { key: '22b7b8c33679f6f7c194e9d3bc3c6794af4ddedd' }, h("div", { key: '4eb746fae7776b906053429059cec00c47ce31c4', class: "inner-wrapper" }, h("input", { key: '7f17b1dfedbf3d2f574247c0fa71b256ac094a79', 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: '1c3f6a403417b9baa4e0f17644cac84d7d6ea1af', 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()),
279
279
  // This addresses an issue in Safari, where clicking buttons does not focus them
280
280
  // if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
281
281
  onMouseDown: (ev) => {
282
282
  ev.preventDefault();
283
283
  this.buttonEl.focus();
284
- } }, h("span", { class: "svg-icon svg-time" })), h("ul", { 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", { id: "error", class: "error" }, this.errorMessage)), h("div", { id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
284
+ } }, h("span", { key: 'd679e16b6d81f07ecf96a76a5adac12ac41d75a0', class: "svg-icon svg-time" })), h("ul", { key: 'cc793abe39ce5de00299e8d03051424b43cd8bcc', 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: '3a82aa292fe4d5bfa374d7bcdb8a22bf9f7b3e45', id: "error", class: "error" }, this.errorMessage)), h("div", { key: '11c037ef9b0e95bd6262a34cbdf86be79ef23beb', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
285
285
  }
286
286
  static get is() { return "wm-timepicker"; }
287
287
  static get encapsulation() { return "shadow"; }
@@ -468,8 +468,9 @@ export class Timepicker {
468
468
  "complexType": {
469
469
  "signature": "(input: string) => Promise<boolean>",
470
470
  "parameters": [{
471
- "tags": [],
472
- "text": ""
471
+ "name": "input",
472
+ "type": "string",
473
+ "docs": ""
473
474
  }],
474
475
  "references": {
475
476
  "Promise": {
@@ -488,11 +489,13 @@ export class Timepicker {
488
489
  "complexType": {
489
490
  "signature": "(format: \"12\" | \"24\", time: TimeFormat12 | TimeFormat24) => Promise<string>",
490
491
  "parameters": [{
491
- "tags": [],
492
- "text": ""
492
+ "name": "format",
493
+ "type": "\"12\" | \"24\"",
494
+ "docs": ""
493
495
  }, {
494
- "tags": [],
495
- "text": ""
496
+ "name": "time",
497
+ "type": "string",
498
+ "docs": ""
496
499
  }],
497
500
  "references": {
498
501
  "Promise": {
@@ -895,7 +895,6 @@
895
895
  white-space: nowrap;
896
896
  }
897
897
  :host .toggletip {
898
- position: absolute;
899
898
  max-width: 13.75rem;
900
899
  width: max-content;
901
900
  overflow: visible;