@watermarkinsights/ripple 5.16.0-alpha.0 → 5.16.0-alpha.10

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 (340) hide show
  1. package/dist/cjs/app-globals-C-IAhycr.js +7 -0
  2. package/dist/cjs/{chartFunctions-439c6fd4.js → chartFunctions-C8PCmGmn.js} +2 -3
  3. package/dist/cjs/{functions-dd27bda3.js → functions-DfuY5Jtp.js} +74 -79
  4. package/dist/cjs/{index-788526f5.js → index-DwhNqnaT.js} +777 -410
  5. package/dist/cjs/{intl-6d72b4a0.js → intl-Bl-0Yn5n.js} +3 -3
  6. package/dist/cjs/loader.cjs.js +3 -5
  7. package/dist/cjs/priv-calendar.cjs.entry.js +6 -12
  8. package/dist/cjs/priv-chart-popover.cjs.entry.js +4 -8
  9. package/dist/cjs/priv-navigator-button.cjs.entry.js +3 -6
  10. package/dist/cjs/priv-navigator-item.cjs.entry.js +3 -6
  11. package/dist/cjs/priv-option-list.cjs.entry.js +10 -16
  12. package/dist/cjs/ripple.cjs.js +7 -7
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +11 -20
  14. package/dist/cjs/wm-button.cjs.entry.js +9 -17
  15. package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -8
  16. package/dist/cjs/wm-chart.cjs.entry.js +14 -18
  17. package/dist/cjs/wm-date-range.cjs.entry.js +10 -15
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +18 -17
  19. package/dist/cjs/wm-file-list.cjs.entry.js +3 -6
  20. package/dist/cjs/wm-file.cjs.entry.js +6 -16
  21. package/dist/cjs/wm-flyout.cjs.entry.js +6 -17
  22. package/dist/cjs/wm-input.cjs.entry.js +13 -19
  23. package/dist/cjs/wm-line-chart.cjs.entry.js +18 -28
  24. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +12 -18
  25. package/dist/cjs/wm-modal_3.cjs.entry.js +12 -19
  26. package/dist/cjs/wm-navigation_3.cjs.entry.js +13 -22
  27. package/dist/cjs/wm-navigator.cjs.entry.js +17 -15
  28. package/dist/cjs/wm-nested-select.cjs.entry.js +21 -20
  29. package/dist/cjs/wm-optgroup.cjs.entry.js +3 -7
  30. package/dist/cjs/wm-option_2.cjs.entry.js +19 -20
  31. package/dist/cjs/wm-pagination.cjs.entry.js +11 -14
  32. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +10 -27
  33. package/dist/cjs/wm-search.cjs.entry.js +27 -11
  34. package/dist/cjs/wm-snackbar.cjs.entry.js +10 -12
  35. package/dist/cjs/wm-tab-item_3.cjs.entry.js +23 -19
  36. package/dist/cjs/wm-tag-input.cjs.entry.js +80 -31
  37. package/dist/cjs/wm-tag-option.cjs.entry.js +2 -8
  38. package/dist/cjs/wm-textarea.cjs.entry.js +13 -14
  39. package/dist/cjs/wm-timepicker.cjs.entry.js +18 -17
  40. package/dist/cjs/wm-toggletip.cjs.entry.js +9 -14
  41. package/dist/cjs/wm-uploader.cjs.entry.js +18 -22
  42. package/dist/cjs/wm-wrapper.cjs.entry.js +1 -3
  43. package/dist/collection/collection-manifest.json +2 -2
  44. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +8 -4
  45. package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +15 -12
  46. package/dist/collection/components/charts/wm-chart/wm-chart.js +45 -22
  47. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +52 -33
  48. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +23 -16
  49. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +9 -6
  50. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +15 -12
  51. package/dist/collection/components/datepickers/datepicker.css +15 -40
  52. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +21 -12
  53. package/dist/collection/components/datepickers/wm-date-range.js +39 -19
  54. package/dist/collection/components/datepickers/wm-datepicker.js +39 -19
  55. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +27 -16
  56. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +15 -9
  57. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +56 -26
  58. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +12 -5
  59. package/dist/collection/components/selects/wm-option/wm-option.js +15 -6
  60. package/dist/collection/components/selects/wm-select/wm-select.css +15 -9
  61. package/dist/collection/components/selects/wm-select/wm-select.js +50 -22
  62. package/dist/collection/components/wm-action-menu/wm-action-menu.js +25 -16
  63. package/dist/collection/components/wm-button/wm-button.js +44 -23
  64. package/dist/collection/components/wm-file/wm-file.js +30 -19
  65. package/dist/collection/components/wm-file-list/wm-file-list.js +4 -2
  66. package/dist/collection/components/wm-flyout/wm-flyout.js +32 -20
  67. package/dist/collection/components/wm-input/wm-input.css +15 -9
  68. package/dist/collection/components/wm-input/wm-input.js +63 -30
  69. package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -31
  70. package/dist/collection/components/wm-menuitem/wm-menuitem.js +11 -5
  71. package/dist/collection/components/wm-modal/wm-modal-footer.js +16 -6
  72. package/dist/collection/components/wm-modal/wm-modal-header.js +7 -3
  73. package/dist/collection/components/wm-modal/wm-modal.css +1 -1
  74. package/dist/collection/components/wm-modal/wm-modal.js +15 -9
  75. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +16 -6
  76. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +7 -3
  77. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +16 -9
  78. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +6 -5
  79. package/dist/collection/components/wm-navigation/wm-navigation-item.js +10 -9
  80. package/dist/collection/components/wm-navigation/wm-navigation.js +6 -4
  81. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -31
  82. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +7 -3
  83. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +10 -4
  84. package/dist/collection/components/wm-navigator/wm-navigator.js +34 -15
  85. package/dist/collection/components/wm-pagination/wm-pagination.css +0 -31
  86. package/dist/collection/components/wm-pagination/wm-pagination.js +22 -12
  87. package/dist/collection/components/wm-search/wm-search.css +0 -31
  88. package/dist/collection/components/wm-search/wm-search.js +47 -12
  89. package/dist/collection/components/wm-snackbar/wm-snackbar.css +0 -31
  90. package/dist/collection/components/wm-snackbar/wm-snackbar.js +9 -6
  91. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +19 -7
  92. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +10 -7
  93. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +13 -3
  94. package/dist/collection/components/wm-tag-input/wm-tag-input.css +26 -17
  95. package/dist/collection/components/wm-tag-input/wm-tag-input.js +117 -37
  96. package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +18 -10
  97. package/dist/collection/components/wm-textarea/wm-textarea.css +15 -9
  98. package/dist/collection/components/wm-textarea/wm-textarea.js +42 -18
  99. package/dist/collection/components/wm-timepicker/wm-timepicker.css +15 -40
  100. package/dist/collection/components/wm-timepicker/wm-timepicker.js +36 -18
  101. package/dist/collection/components/wm-toggletip/wm-toggletip.js +21 -13
  102. package/dist/collection/components/wm-uploader/wm-uploader.css +21 -41
  103. package/dist/collection/components/wm-uploader/wm-uploader.js +47 -26
  104. package/dist/collection/global/intl.js +2 -2
  105. package/dist/esm/app-globals-CrcR41XQ.js +5 -0
  106. package/dist/esm/{chartFunctions-6749593d.js → chartFunctions-BocRhQ0T.js} +3 -4
  107. package/dist/esm/{functions-dabfd76f.js → functions-B9BrPorY.js} +75 -80
  108. package/dist/esm/{index-130e07bb.js → index-C20glyTb.js} +774 -406
  109. package/dist/esm/{intl-43676e71.js → intl-D-bH9lQF.js} +3 -3
  110. package/dist/esm/loader.js +4 -4
  111. package/dist/esm/polyfills/core-js.js +0 -0
  112. package/dist/esm/polyfills/dom.js +0 -0
  113. package/dist/esm/polyfills/es5-html-element.js +0 -0
  114. package/dist/esm/polyfills/index.js +0 -0
  115. package/dist/esm/polyfills/system.js +0 -0
  116. package/dist/esm/priv-calendar.entry.js +6 -10
  117. package/dist/esm/priv-chart-popover.entry.js +4 -6
  118. package/dist/esm/priv-navigator-button.entry.js +3 -4
  119. package/dist/esm/priv-navigator-item.entry.js +3 -4
  120. package/dist/esm/priv-option-list.entry.js +10 -14
  121. package/dist/esm/ripple.js +6 -5
  122. package/dist/esm/wm-action-menu_2.entry.js +11 -18
  123. package/dist/esm/wm-button.entry.js +9 -15
  124. package/dist/esm/wm-chart-slice.entry.js +1 -6
  125. package/dist/esm/wm-chart.entry.js +14 -16
  126. package/dist/esm/wm-date-range.entry.js +10 -13
  127. package/dist/esm/wm-datepicker.entry.js +18 -15
  128. package/dist/esm/wm-file-list.entry.js +3 -4
  129. package/dist/esm/wm-file.entry.js +6 -14
  130. package/dist/esm/wm-flyout.entry.js +6 -15
  131. package/dist/esm/wm-input.entry.js +13 -17
  132. package/dist/esm/wm-line-chart.entry.js +18 -26
  133. package/dist/esm/wm-modal-pss_3.entry.js +12 -16
  134. package/dist/esm/wm-modal_3.entry.js +12 -17
  135. package/dist/esm/wm-navigation_3.entry.js +13 -20
  136. package/dist/esm/wm-navigator.entry.js +17 -13
  137. package/dist/esm/wm-nested-select.entry.js +21 -18
  138. package/dist/esm/wm-optgroup.entry.js +3 -5
  139. package/dist/esm/wm-option_2.entry.js +19 -18
  140. package/dist/esm/wm-pagination.entry.js +11 -12
  141. package/dist/esm/wm-progress-indicator_3.entry.js +10 -25
  142. package/dist/esm/wm-search.entry.js +27 -9
  143. package/dist/esm/wm-snackbar.entry.js +10 -10
  144. package/dist/esm/wm-tab-item_3.entry.js +23 -17
  145. package/dist/esm/wm-tag-input.entry.js +80 -29
  146. package/dist/esm/wm-tag-option.entry.js +2 -6
  147. package/dist/esm/wm-textarea.entry.js +13 -12
  148. package/dist/esm/wm-timepicker.entry.js +18 -15
  149. package/dist/esm/wm-toggletip.entry.js +9 -12
  150. package/dist/esm/wm-uploader.entry.js +18 -20
  151. package/dist/esm/wm-wrapper.entry.js +1 -1
  152. package/dist/esm-es5/app-globals-CrcR41XQ.js +1 -0
  153. package/dist/esm-es5/chartFunctions-BocRhQ0T.js +1 -0
  154. package/dist/esm-es5/functions-B9BrPorY.js +1 -0
  155. package/dist/esm-es5/index-C20glyTb.js +1 -0
  156. package/dist/esm-es5/{intl-43676e71.js → intl-D-bH9lQF.js} +1 -1
  157. package/dist/esm-es5/loader.js +1 -1
  158. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  159. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  160. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  161. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  162. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  163. package/dist/esm-es5/ripple.js +1 -1
  164. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  165. package/dist/esm-es5/wm-button.entry.js +1 -1
  166. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  167. package/dist/esm-es5/wm-chart.entry.js +1 -1
  168. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  169. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  170. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  171. package/dist/esm-es5/wm-file.entry.js +1 -1
  172. package/dist/esm-es5/wm-flyout.entry.js +1 -1
  173. package/dist/esm-es5/wm-input.entry.js +1 -1
  174. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  175. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  176. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  177. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  178. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  179. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  180. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  181. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  182. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  183. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  184. package/dist/esm-es5/wm-search.entry.js +1 -1
  185. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  186. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  187. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  188. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  189. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  190. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  191. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  192. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  193. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  194. package/dist/ripple/p-03e28e65.system.entry.js +1 -0
  195. package/dist/ripple/{p-f3df715f.entry.js → p-0616bd1c.entry.js} +1 -1
  196. package/dist/ripple/p-088a84b6.entry.js +1 -0
  197. package/dist/ripple/p-09116c34.entry.js +1 -0
  198. package/dist/ripple/{p-59591401.entry.js → p-0a9f8d0d.entry.js} +1 -1
  199. package/dist/ripple/{p-97ffaa7d.entry.js → p-1a96dc5e.entry.js} +1 -1
  200. package/dist/ripple/{p-b01f9572.system.entry.js → p-1b8f9ff1.system.entry.js} +1 -1
  201. package/dist/ripple/p-21728198.entry.js +1 -0
  202. package/dist/ripple/p-25227bec.entry.js +1 -0
  203. package/dist/ripple/p-264fb4fc.entry.js +1 -0
  204. package/dist/ripple/{p-61f9987d.system.entry.js → p-27c1933e.system.entry.js} +1 -1
  205. package/dist/ripple/p-27de107e.entry.js +1 -0
  206. package/dist/ripple/p-338835e6.entry.js +1 -0
  207. package/dist/ripple/p-3678e285.entry.js +1 -0
  208. package/dist/ripple/p-384f6dc8.entry.js +1 -0
  209. package/dist/ripple/{p-a5fb4171.system.entry.js → p-3fa20b7a.entry.js} +1 -1
  210. package/dist/ripple/{p-74f103dd.entry.js → p-476e2913.entry.js} +1 -1
  211. package/dist/ripple/{p-c699aec8.system.entry.js → p-4a50f797.system.entry.js} +1 -1
  212. package/dist/ripple/p-5026b7e8.entry.js +1 -0
  213. package/dist/ripple/{p-9b2281e2.system.entry.js → p-5166de03.system.entry.js} +1 -1
  214. package/dist/ripple/{p-bc4976e6.entry.js → p-5827cae3.system.entry.js} +1 -1
  215. package/dist/ripple/{p-65c8ef31.system.entry.js → p-59f7cfd7.system.entry.js} +1 -1
  216. package/dist/ripple/{p-b23c6351.system.entry.js → p-5a728ced.system.entry.js} +1 -1
  217. package/dist/ripple/p-5c8e802a.system.entry.js +1 -0
  218. package/dist/ripple/{p-cd0cc88d.entry.js → p-5cc5b46b.entry.js} +1 -1
  219. package/dist/ripple/{p-2f7ca1a7.system.entry.js → p-6c66e270.entry.js} +1 -1
  220. package/dist/ripple/p-6ffa9bfc.entry.js +1 -0
  221. package/dist/ripple/{p-043901ab.system.entry.js → p-70cdc5ce.system.entry.js} +1 -1
  222. package/dist/ripple/p-719b7087.system.entry.js +1 -0
  223. package/dist/ripple/{p-fe93b6b9.system.entry.js → p-734d06dc.system.entry.js} +1 -1
  224. package/dist/ripple/{p-4fb4deb9.entry.js → p-757b04eb.entry.js} +1 -1
  225. package/dist/ripple/{p-0bb576c5.system.entry.js → p-7ea000d6.system.entry.js} +1 -1
  226. package/dist/ripple/{p-30236be3.system.entry.js → p-81783193.system.entry.js} +1 -1
  227. package/dist/ripple/{p-36fd8aed.system.entry.js → p-82a66121.system.entry.js} +1 -1
  228. package/dist/ripple/p-85afd9bf.system.entry.js +1 -0
  229. package/dist/ripple/p-8eWf5O5Z.system.js +1 -0
  230. package/dist/ripple/p-90d11417.system.entry.js +1 -0
  231. package/dist/ripple/p-979cd9f4.entry.js +1 -0
  232. package/dist/ripple/p-B0uE_ID-.system.js +2 -0
  233. package/dist/ripple/p-B9BrPorY.js +1 -0
  234. package/dist/ripple/p-BOTV28v8.system.js +1 -0
  235. package/dist/ripple/{p-ba399879.system.js → p-BVUnLeDz.system.js} +1 -1
  236. package/dist/ripple/p-Bboe1S7O.js +1 -0
  237. package/dist/ripple/p-C20glyTb.js +2 -0
  238. package/dist/ripple/p-CKTNcFzW.system.js +1 -0
  239. package/dist/ripple/{p-49a347e1.js → p-DAuKYO5n.js} +1 -1
  240. package/dist/ripple/p-D_issjBT.system.js +1 -0
  241. package/dist/ripple/p-a1cd3c29.entry.js +1 -0
  242. package/dist/ripple/p-a634e9f5.entry.js +1 -0
  243. package/dist/ripple/p-b0653ac3.entry.js +1 -0
  244. package/dist/ripple/{p-89479d02.system.entry.js → p-b140b04d.system.entry.js} +1 -1
  245. package/dist/ripple/p-b2433a3c.system.entry.js +1 -0
  246. package/dist/ripple/{p-091fbc50.system.entry.js → p-b2604e2b.system.entry.js} +1 -1
  247. package/dist/ripple/{p-72ed488e.system.entry.js → p-b593e93c.system.entry.js} +1 -1
  248. package/dist/ripple/{p-9328023c.entry.js → p-c164a1cb.entry.js} +1 -1
  249. package/dist/ripple/p-c344e3c0.entry.js +1 -0
  250. package/dist/ripple/{p-1955c66a.system.entry.js → p-caef27f1.system.entry.js} +1 -1
  251. package/dist/ripple/{p-f8995a5e.system.entry.js → p-cf3defe6.system.entry.js} +1 -1
  252. package/dist/ripple/{p-4c2a044d.system.entry.js → p-d11e4c6e.system.entry.js} +1 -1
  253. package/dist/ripple/{p-c7d71181.system.entry.js → p-d17bf683.system.entry.js} +1 -1
  254. package/dist/ripple/{p-fe71ec64.system.entry.js → p-d1ea5d4c.system.entry.js} +1 -1
  255. package/dist/ripple/{p-c53f5914.entry.js → p-d293be99.system.entry.js} +1 -1
  256. package/dist/ripple/p-d3bc9393.entry.js +1 -0
  257. package/dist/ripple/{p-4e6b0a6e.system.entry.js → p-d3d5306c.system.entry.js} +1 -1
  258. package/dist/ripple/p-d5232e7d.entry.js +1 -0
  259. package/dist/ripple/{p-6a082957.entry.js → p-d61938ca.entry.js} +1 -1
  260. package/dist/ripple/p-dECFx5ly.js +1 -0
  261. package/dist/ripple/p-dc3e43aa.entry.js +1 -0
  262. package/dist/ripple/{p-57c25b63.entry.js → p-dca6cfbd.entry.js} +1 -1
  263. package/dist/ripple/{p-f9fa1506.system.entry.js → p-de4c51e2.system.entry.js} +1 -1
  264. package/dist/ripple/{p-8ec2e944.system.entry.js → p-e2e2929f.system.entry.js} +1 -1
  265. package/dist/ripple/p-e63b30bd.system.entry.js +1 -0
  266. package/dist/ripple/{p-2823d02b.system.entry.js → p-e6e4e23a.system.entry.js} +1 -1
  267. package/dist/ripple/p-e9b67596.entry.js +1 -0
  268. package/dist/ripple/p-ebd318c6.entry.js +1 -0
  269. package/dist/ripple/p-ee0e88ed.entry.js +1 -0
  270. package/dist/ripple/{p-92a50b38.system.entry.js → p-ef56fc5a.system.entry.js} +1 -1
  271. package/dist/ripple/{p-12d6ab73.system.entry.js → p-f878d184.system.entry.js} +1 -1
  272. package/dist/ripple/{p-c4896784.system.entry.js → p-fb4367a8.system.entry.js} +1 -1
  273. package/dist/ripple/p-fc35bcf9.entry.js +1 -0
  274. package/dist/ripple/p-ffd7de48.entry.js +1 -0
  275. package/dist/ripple/ripple.esm.js +1 -1
  276. package/dist/ripple/ripple.js +1 -1
  277. package/dist/types/components/datepickers/wm-datepicker.d.ts +1 -0
  278. package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +1 -0
  279. package/dist/types/components/selects/wm-select/wm-select.d.ts +1 -0
  280. package/dist/types/components/wm-input/wm-input.d.ts +1 -0
  281. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +3 -0
  282. package/dist/types/components/wm-textarea/wm-textarea.d.ts +1 -0
  283. package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +1 -0
  284. package/dist/types/components/wm-uploader/wm-uploader.d.ts +1 -0
  285. package/dist/types/components.d.ts +986 -0
  286. package/dist/types/stencil-public-runtime.d.ts +37 -2
  287. package/package.json +2 -2
  288. package/dist/cjs/app-globals-ff5fd9b0.js +0 -92
  289. package/dist/esm/app-globals-c63b9640.js +0 -90
  290. package/dist/esm-es5/app-globals-c63b9640.js +0 -1
  291. package/dist/esm-es5/chartFunctions-6749593d.js +0 -1
  292. package/dist/esm-es5/functions-dabfd76f.js +0 -1
  293. package/dist/esm-es5/index-130e07bb.js +0 -1
  294. package/dist/loader/package.json +0 -11
  295. package/dist/ripple/p-0189929d.entry.js +0 -1
  296. package/dist/ripple/p-0c89b82c.entry.js +0 -1
  297. package/dist/ripple/p-1396ff75.entry.js +0 -1
  298. package/dist/ripple/p-13b1d775.entry.js +0 -1
  299. package/dist/ripple/p-144ce232.entry.js +0 -1
  300. package/dist/ripple/p-1497ccfc.entry.js +0 -1
  301. package/dist/ripple/p-1a3037aa.entry.js +0 -1
  302. package/dist/ripple/p-22b55b6f.entry.js +0 -1
  303. package/dist/ripple/p-257d2d5c.entry.js +0 -1
  304. package/dist/ripple/p-30201dc9.entry.js +0 -1
  305. package/dist/ripple/p-36d2b888.entry.js +0 -1
  306. package/dist/ripple/p-3f98056c.js +0 -1
  307. package/dist/ripple/p-41120a33.system.js +0 -1
  308. package/dist/ripple/p-492aa9fe.system.entry.js +0 -1
  309. package/dist/ripple/p-4a29bb8c.entry.js +0 -1
  310. package/dist/ripple/p-4cebf2d7.entry.js +0 -1
  311. package/dist/ripple/p-56d54fe6.system.entry.js +0 -1
  312. package/dist/ripple/p-5cff41e0.entry.js +0 -1
  313. package/dist/ripple/p-5ef786db.system.entry.js +0 -1
  314. package/dist/ripple/p-6a03a172.entry.js +0 -1
  315. package/dist/ripple/p-6d12cfb7.system.entry.js +0 -1
  316. package/dist/ripple/p-81ce2697.entry.js +0 -1
  317. package/dist/ripple/p-823d7b4e.system.entry.js +0 -1
  318. package/dist/ripple/p-89316785.system.js +0 -1
  319. package/dist/ripple/p-8a569d3b.entry.js +0 -1
  320. package/dist/ripple/p-8f987f71.entry.js +0 -1
  321. package/dist/ripple/p-92cb12d3.entry.js +0 -1
  322. package/dist/ripple/p-94f776eb.entry.js +0 -1
  323. package/dist/ripple/p-a05f29f0.system.js +0 -1
  324. package/dist/ripple/p-a2c8937d.js +0 -1
  325. package/dist/ripple/p-b34552b0.system.entry.js +0 -1
  326. package/dist/ripple/p-b39ab477.entry.js +0 -1
  327. package/dist/ripple/p-bb9f6920.entry.js +0 -1
  328. package/dist/ripple/p-bd48c50a.entry.js +0 -1
  329. package/dist/ripple/p-c31e1379.entry.js +0 -1
  330. package/dist/ripple/p-c879e152.js +0 -1
  331. package/dist/ripple/p-cef8a45b.system.js +0 -2
  332. package/dist/ripple/p-d333d851.system.entry.js +0 -1
  333. package/dist/ripple/p-d9da0502.js +0 -2
  334. package/dist/ripple/p-fd6a59f5.system.js +0 -1
  335. /package/dist/cjs/{interfaces-85d78ae9.js → interfaces-C7YbtGnk.js} +0 -0
  336. /package/dist/esm/{interfaces-cc5b177f.js → interfaces-COwzv5zO.js} +0 -0
  337. /package/dist/esm-es5/{interfaces-cc5b177f.js → interfaces-COwzv5zO.js} +0 -0
  338. /package/dist/ripple/{p-2732bddd.js → p-COwzv5zO.js} +0 -0
  339. /package/dist/ripple/{p-42fa7a77.system.js → p-ClUp3GkF.system.js} +0 -0
  340. /package/dist/ripple/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
@@ -4,19 +4,24 @@ import { intl, snakeCaseToCamelCase, getNewIndexToFocus } from "../../global/fun
4
4
  import { getRequest } from "../../global/services/http-service";
5
5
  export class Navigator {
6
6
  constructor() {
7
+ this.authType = 1; // 1: none or off, 2: username-password or username_password_sso, 3: saml or saml_sso
8
+ // The new way is to retrieve user info from an endpoint
9
+ // dev needs to opt-in by setting loadFromUserinfo to true
10
+ this.loadFromUserinfo = false;
7
11
  // comp can check whether the info was successfully retrieved with:
8
12
  this.retrievedInfo = !this.loadFromUserinfo; // when in endpoint mode, only render after get request completed
9
13
  // used either way to store the products
10
14
  this.parsedProducts = [];
11
- this.openRight = false; // whether the menu should open on the right side
12
- this.userName = undefined;
13
- this.email = undefined;
14
- this.authType = 1;
15
- this.connectionName = undefined;
16
- this.logoutUrl = undefined;
17
- this.products = undefined;
18
- this.loadFromUserinfo = false;
15
+ /**
16
+ * Event emitted from child wm-navigator-button updates the state, which is then passed down as a prop by wm-navigator.
17
+ */
19
18
  this.isOpen = false;
19
+ this.openRight = false; // whether the menu should open on the right side
20
+ /**
21
+ * Value is set to the index of the current product on load.
22
+ * Keyboard navigation updates the state to keep track of focus in the dropdown.
23
+ * State resets to the index of the current product when the dropdown closes.
24
+ */
20
25
  this.itemIndexToFocus = 0;
21
26
  }
22
27
  isSafeUrl(url) {
@@ -314,6 +319,7 @@ export class Navigator {
314
319
  return {
315
320
  "userName": {
316
321
  "type": "string",
322
+ "attribute": "user-name",
317
323
  "mutable": false,
318
324
  "complexType": {
319
325
  "original": "string",
@@ -326,11 +332,13 @@ export class Navigator {
326
332
  "tags": [],
327
333
  "text": ""
328
334
  },
329
- "attribute": "user-name",
335
+ "getter": false,
336
+ "setter": false,
330
337
  "reflect": false
331
338
  },
332
339
  "email": {
333
340
  "type": "string",
341
+ "attribute": "email",
334
342
  "mutable": false,
335
343
  "complexType": {
336
344
  "original": "string",
@@ -343,11 +351,13 @@ export class Navigator {
343
351
  "tags": [],
344
352
  "text": ""
345
353
  },
346
- "attribute": "email",
354
+ "getter": false,
355
+ "setter": false,
347
356
  "reflect": false
348
357
  },
349
358
  "authType": {
350
359
  "type": "number",
360
+ "attribute": "auth-type",
351
361
  "mutable": false,
352
362
  "complexType": {
353
363
  "original": "number",
@@ -360,12 +370,14 @@ export class Navigator {
360
370
  "tags": [],
361
371
  "text": ""
362
372
  },
363
- "attribute": "auth-type",
373
+ "getter": false,
374
+ "setter": false,
364
375
  "reflect": false,
365
376
  "defaultValue": "1"
366
377
  },
367
378
  "connectionName": {
368
379
  "type": "string",
380
+ "attribute": "connection-name",
369
381
  "mutable": false,
370
382
  "complexType": {
371
383
  "original": "string",
@@ -378,11 +390,13 @@ export class Navigator {
378
390
  "tags": [],
379
391
  "text": ""
380
392
  },
381
- "attribute": "connection-name",
393
+ "getter": false,
394
+ "setter": false,
382
395
  "reflect": false
383
396
  },
384
397
  "logoutUrl": {
385
398
  "type": "string",
399
+ "attribute": "logout-url",
386
400
  "mutable": false,
387
401
  "complexType": {
388
402
  "original": "string",
@@ -395,11 +409,13 @@ export class Navigator {
395
409
  "tags": [],
396
410
  "text": ""
397
411
  },
398
- "attribute": "logout-url",
412
+ "getter": false,
413
+ "setter": false,
399
414
  "reflect": false
400
415
  },
401
416
  "products": {
402
417
  "type": "string",
418
+ "attribute": "products",
403
419
  "mutable": false,
404
420
  "complexType": {
405
421
  "original": "string | []",
@@ -412,11 +428,13 @@ export class Navigator {
412
428
  "tags": [],
413
429
  "text": ""
414
430
  },
415
- "attribute": "products",
431
+ "getter": false,
432
+ "setter": false,
416
433
  "reflect": false
417
434
  },
418
435
  "loadFromUserinfo": {
419
436
  "type": "boolean",
437
+ "attribute": "load-from-userinfo",
420
438
  "mutable": false,
421
439
  "complexType": {
422
440
  "original": "boolean",
@@ -429,7 +447,8 @@ export class Navigator {
429
447
  "tags": [],
430
448
  "text": ""
431
449
  },
432
- "attribute": "load-from-userinfo",
450
+ "getter": false,
451
+ "setter": false,
433
452
  "reflect": false,
434
453
  "defaultValue": "false"
435
454
  }
@@ -847,37 +847,6 @@
847
847
  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");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host,
882
851
  wm-pagination {
883
852
  --wmcolor-pagination-arrow-disabled: var(--wmcolor-interactive-disabled);
@@ -3,6 +3,12 @@ import { debounce, intl } from "../../global/functions";
3
3
  import { globalMessages } from "../../global/intl";
4
4
  export class Pagination {
5
5
  constructor() {
6
+ this.currentPage = 1;
7
+ this.totalItems = undefined;
8
+ this.itemsPerPage = undefined;
9
+ this.value = 1;
10
+ this.isLargeSize = window.innerWidth > 600; // first estimate is based on window size, then actual measurement takes place on resize
11
+ this.srAnnouncement = "";
6
12
  this.totalPages = 0;
7
13
  this.navigationLabel = intl.formatMessage({
8
14
  id: "pagination.navLabel",
@@ -34,12 +40,6 @@ export class Pagination {
34
40
  }
35
41
  return coreBtns;
36
42
  };
37
- this.currentPage = 1;
38
- this.totalItems = undefined;
39
- this.itemsPerPage = undefined;
40
- this.value = 1;
41
- this.isLargeSize = window.innerWidth > 600;
42
- this.srAnnouncement = "";
43
43
  }
44
44
  pageButtonLabel(pageNum) {
45
45
  return intl.formatMessage({
@@ -203,7 +203,7 @@ export class Pagination {
203
203
  render() {
204
204
  return (
205
205
  // do not render the component if there's only one page
206
- this.totalItems > this.itemsPerPage && (h("nav", { key: 'b560fdf7586a80ce3e117d74d264e56afd7de42e', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '8d35b0f1049ac65751a14d96daef2cfcd5928765', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
206
+ this.totalItems > this.itemsPerPage && (h("nav", { key: '4915b3425f35f85d5684893fbc82e6d6a29b9d0f', "aria-label": `${this.navigationLabel} ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '56b83b74efa2372e03f27ea654c808a2bb86a85b', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
207
207
  }
208
208
  static get is() { return "wm-pagination"; }
209
209
  static get encapsulation() { return "shadow"; }
@@ -222,6 +222,7 @@ export class Pagination {
222
222
  return {
223
223
  "currentPage": {
224
224
  "type": "number",
225
+ "attribute": "current-page",
225
226
  "mutable": false,
226
227
  "complexType": {
227
228
  "original": "number",
@@ -234,12 +235,14 @@ export class Pagination {
234
235
  "tags": [],
235
236
  "text": ""
236
237
  },
237
- "attribute": "current-page",
238
+ "getter": false,
239
+ "setter": false,
238
240
  "reflect": false,
239
241
  "defaultValue": "1"
240
242
  },
241
243
  "totalItems": {
242
244
  "type": "number",
245
+ "attribute": "total-items",
243
246
  "mutable": false,
244
247
  "complexType": {
245
248
  "original": "number",
@@ -252,12 +255,14 @@ export class Pagination {
252
255
  "tags": [],
253
256
  "text": ""
254
257
  },
255
- "attribute": "total-items",
258
+ "getter": false,
259
+ "setter": false,
256
260
  "reflect": false,
257
261
  "defaultValue": "undefined"
258
262
  },
259
263
  "itemsPerPage": {
260
264
  "type": "number",
265
+ "attribute": "items-per-page",
261
266
  "mutable": false,
262
267
  "complexType": {
263
268
  "original": "number",
@@ -270,12 +275,14 @@ export class Pagination {
270
275
  "tags": [],
271
276
  "text": ""
272
277
  },
273
- "attribute": "items-per-page",
278
+ "getter": false,
279
+ "setter": false,
274
280
  "reflect": false,
275
281
  "defaultValue": "undefined"
276
282
  },
277
283
  "value": {
278
284
  "type": "number",
285
+ "attribute": "value",
279
286
  "mutable": false,
280
287
  "complexType": {
281
288
  "original": "number",
@@ -288,12 +295,14 @@ export class Pagination {
288
295
  "tags": [],
289
296
  "text": ""
290
297
  },
291
- "attribute": "value",
298
+ "getter": false,
299
+ "setter": false,
292
300
  "reflect": false,
293
301
  "defaultValue": "1"
294
302
  },
295
303
  "isLargeSize": {
296
304
  "type": "boolean",
305
+ "attribute": "is-large-size",
297
306
  "mutable": false,
298
307
  "complexType": {
299
308
  "original": "boolean",
@@ -306,7 +315,8 @@ export class Pagination {
306
315
  "tags": [],
307
316
  "text": ""
308
317
  },
309
- "attribute": "is-large-size",
318
+ "getter": false,
319
+ "setter": false,
310
320
  "reflect": false,
311
321
  "defaultValue": "window.innerWidth > 600"
312
322
  }
@@ -847,37 +847,6 @@
847
847
  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");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host * {
882
851
  box-sizing: border-box;
883
852
  }
@@ -3,20 +3,39 @@ import { intl, handleDisabledAttribute, toBool } from "../../global/functions";
3
3
  import { globalMessages } from "../../global/intl";
4
4
  export class Search {
5
5
  constructor() {
6
- this.linkEl = null;
7
6
  this.searchType = "basic";
8
7
  this.disabled = false;
8
+ /**
9
+ * Props required for both variants.
10
+ */
9
11
  this.placeholder = "";
10
12
  this.label = "";
11
13
  this.numResults = 0;
14
+ /**
15
+ * This exposes the input's value on the host component so that the app can access it.
16
+ */
12
17
  this.value = "";
18
+ /**
19
+ * If the user is tabbing, the search and find variant will display a link to jump to a search result.
20
+ */
13
21
  this.isTabbing = false;
22
+ /**
23
+ * Prop specifically for the search and find variant. The id points to the id of the option currently highlighted,
24
+ * so that tabbing and screen reader users can jump to this option rather than tab through the list to find it.
25
+ */
14
26
  this.highlightedId = "";
15
27
  this.highlightedName = null;
28
+ /**
29
+ * Indicates which of the search results is currently highlighted. It will be displayed as "[highlightedNum] of [numResults]" next to the input in the search and find variant.
30
+ * This number updates as the user browses using the buttons.
31
+ */
16
32
  this.highlightedNum = 0;
17
33
  this.previousBlurredValue = "";
18
- this.parentModal = undefined;
34
+ /**
35
+ * Live region announcement
36
+ */
19
37
  this.announcement = "";
38
+ this.linkEl = null;
20
39
  }
21
40
  get isDisabled() {
22
41
  // string "false" needs to be treated as bool False because react wrappers convert bool to string.
@@ -168,10 +187,10 @@ export class Search {
168
187
  * End search and find render helpers
169
188
  */
170
189
  render() {
171
- return (h(Host, { key: 'a6a5d00652d75c3f03ca996c283c0566ad229c68' }, h("div", { key: '1e7e8a9207a2ee1d5412cb2456c1c832060ac77d', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '1f36cf57bcfed0f808ef0b222d8eb65cb6518615', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
190
+ return (h(Host, { key: 'cd7f595a342f69a27e507f9110b1bd67ca536b14' }, h("div", { key: '613883fa806fee9b523776e2c81abcc9c7c80eaf', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '5c944cc9756d6bba9396ef768c0d26cdd4fe7b88', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
172
191
  id: "search.typeToFilterResults",
173
192
  defaultMessage: "Type to filter the results",
174
- })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: 'bf128d74c7fdbd590989d7999b1187d34b01bb31', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '9898db1a5c0c3c0e13fb32782aa98d88f124798b', 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()));
193
+ })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: 'd6dd15a45a5e449a5b177263e369d5016ae81a4d', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '4c3d42a0e159512713a54f99c403ca4a06549d06', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
175
194
  }
176
195
  static get is() { return "wm-search"; }
177
196
  static get encapsulation() { return "shadow"; }
@@ -190,6 +209,7 @@ export class Search {
190
209
  return {
191
210
  "searchType": {
192
211
  "type": "string",
212
+ "attribute": "search-type",
193
213
  "mutable": true,
194
214
  "complexType": {
195
215
  "original": "\"basic\" | \"find\"",
@@ -202,12 +222,14 @@ export class Search {
202
222
  "tags": [],
203
223
  "text": ""
204
224
  },
205
- "attribute": "search-type",
225
+ "getter": false,
226
+ "setter": false,
206
227
  "reflect": false,
207
228
  "defaultValue": "\"basic\""
208
229
  },
209
230
  "disabled": {
210
231
  "type": "boolean",
232
+ "attribute": "disabled",
211
233
  "mutable": false,
212
234
  "complexType": {
213
235
  "original": "boolean",
@@ -220,12 +242,14 @@ export class Search {
220
242
  "tags": [],
221
243
  "text": ""
222
244
  },
223
- "attribute": "disabled",
245
+ "getter": false,
246
+ "setter": false,
224
247
  "reflect": true,
225
248
  "defaultValue": "false"
226
249
  },
227
250
  "placeholder": {
228
251
  "type": "string",
252
+ "attribute": "placeholder",
229
253
  "mutable": false,
230
254
  "complexType": {
231
255
  "original": "string",
@@ -238,12 +262,14 @@ export class Search {
238
262
  "tags": [],
239
263
  "text": "Props required for both variants."
240
264
  },
241
- "attribute": "placeholder",
265
+ "getter": false,
266
+ "setter": false,
242
267
  "reflect": false,
243
268
  "defaultValue": "\"\""
244
269
  },
245
270
  "label": {
246
271
  "type": "string",
272
+ "attribute": "label",
247
273
  "mutable": false,
248
274
  "complexType": {
249
275
  "original": "string",
@@ -256,12 +282,14 @@ export class Search {
256
282
  "tags": [],
257
283
  "text": ""
258
284
  },
259
- "attribute": "label",
285
+ "getter": false,
286
+ "setter": false,
260
287
  "reflect": false,
261
288
  "defaultValue": "\"\""
262
289
  },
263
290
  "numResults": {
264
291
  "type": "number",
292
+ "attribute": "num-results",
265
293
  "mutable": true,
266
294
  "complexType": {
267
295
  "original": "number",
@@ -274,12 +302,14 @@ export class Search {
274
302
  "tags": [],
275
303
  "text": ""
276
304
  },
277
- "attribute": "num-results",
305
+ "getter": false,
306
+ "setter": false,
278
307
  "reflect": false,
279
308
  "defaultValue": "0"
280
309
  },
281
310
  "value": {
282
311
  "type": "string",
312
+ "attribute": "value",
283
313
  "mutable": true,
284
314
  "complexType": {
285
315
  "original": "string",
@@ -292,12 +322,14 @@ export class Search {
292
322
  "tags": [],
293
323
  "text": "This exposes the input's value on the host component so that the app can access it."
294
324
  },
295
- "attribute": "value",
325
+ "getter": false,
326
+ "setter": false,
296
327
  "reflect": true,
297
328
  "defaultValue": "\"\""
298
329
  },
299
330
  "highlightedId": {
300
331
  "type": "string",
332
+ "attribute": "highlighted-id",
301
333
  "mutable": false,
302
334
  "complexType": {
303
335
  "original": "string",
@@ -310,12 +342,14 @@ export class Search {
310
342
  "tags": [],
311
343
  "text": "Prop specifically for the search and find variant. The id points to the id of the option currently highlighted,\nso that tabbing and screen reader users can jump to this option rather than tab through the list to find it."
312
344
  },
313
- "attribute": "highlighted-id",
345
+ "getter": false,
346
+ "setter": false,
314
347
  "reflect": false,
315
348
  "defaultValue": "\"\""
316
349
  },
317
350
  "highlightedName": {
318
351
  "type": "string",
352
+ "attribute": "highlighted-name",
319
353
  "mutable": false,
320
354
  "complexType": {
321
355
  "original": "string | null",
@@ -328,7 +362,8 @@ export class Search {
328
362
  "tags": [],
329
363
  "text": ""
330
364
  },
331
- "attribute": "highlighted-name",
365
+ "getter": false,
366
+ "setter": false,
332
367
  "reflect": false,
333
368
  "defaultValue": "null"
334
369
  }
@@ -847,37 +847,6 @@
847
847
  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");
848
848
  }
849
849
 
850
- /* --------------------------------------
851
- 1. Box-shadow
852
- -------------------------------------- */
853
- /* --------------------------------------
854
- 2. Border-radius
855
- -------------------------------------- */
856
- /* --------------------------------------
857
- 3. Transforms
858
- -------------------------------------- */
859
- /* --------------------------------------
860
- 4. Button Focus
861
- -------------------------------------- */
862
- /* --------------------------------------
863
- 5. Flex
864
- -------------------------------------- */
865
- /* --------------------------------------
866
- 7. Screen Reader Only
867
- -------------------------------------- */
868
- /* --------------------------------------
869
- 8. Label styles
870
- this mixin includes all the styles for the label
871
- + flex rules on the parent container to switch between top and left position
872
- + srOnly when label is hidden
873
- Assumes the following markup:
874
- div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
875
- .wrapper is for the flex rules
876
- .label-wrapper is to set the height of the label when positioned left so it's the same height as
877
- the input. It can't be done directly on .label because of possible line wrapping.
878
- When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
879
- (they can't be aligned on the baseline because of possible description text and error message)
880
- -------------------------------------- */
881
850
  :host * {
882
851
  box-sizing: border-box;
883
852
  margin: unset;
@@ -3,18 +3,19 @@ import { generateId, hideTooltip, intl, showTooltip } from "../../global/functio
3
3
  import { globalMessages } from "../../global/intl";
4
4
  export class Snackbar {
5
5
  constructor() {
6
+ //Prop receives notifications as JSON string, which is later parsed into an array of objects.
7
+ this.notifications = "[]";
6
8
  this.parsedNotifications = [];
7
9
  this.uid = this.el.id ? this.el.id : generateId();
8
10
  this.focusOnDismiss = null;
9
11
  this.timers = {};
12
+ this.isTabbing = false;
13
+ this.announcement = "";
10
14
  this.closeSnackMessage = intl.formatMessage({
11
15
  id: "snackbar.closeNotification",
12
16
  defaultMessage: "Close this notification",
13
17
  description: "Notification refers to a notification UI element that can be dismissed",
14
18
  });
15
- this.notifications = "[]";
16
- this.isTabbing = false;
17
- this.announcement = "";
18
19
  }
19
20
  componentDidLoad() {
20
21
  const snackObserver = new MutationObserver((snackMutations) => snackMutations.forEach((mutationRecord) => this.handleSnackMutation(mutationRecord)));
@@ -162,11 +163,11 @@ export class Snackbar {
162
163
  }, 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) })))));
163
164
  }
164
165
  render() {
165
- return (h(Host, { key: '8c811ca49c66eccb3d4071680bccee7a7b80baf3' }, h("div", { key: '3833104505e54755fd90e25622f5e52207cd04ee', ref: (el) => (this.snackAreaEl = el), class: {
166
+ return (h(Host, { key: '9b55b8fa05817c3dd826b1318c3b7fdc35d65a51' }, h("div", { key: '8debb1dfc460b20abdc86238a5850e44949364cc', ref: (el) => (this.snackAreaEl = el), class: {
166
167
  "list-wrapper": true,
167
168
  "user-is-tabbing": this.isTabbing,
168
169
  empty: this.parsedNotifications.length == 0,
169
- } }, this.renderSnackbars()), h("div", { key: '6d011c99adc5a69e2687014854d324d5e97e06d8', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
170
+ } }, this.renderSnackbars()), h("div", { key: 'bd51da7d83c448ea676f4f2530dd3ad8ac529c2f', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
170
171
  }
171
172
  static get is() { return "wm-snackbar"; }
172
173
  static get encapsulation() { return "shadow"; }
@@ -184,6 +185,7 @@ export class Snackbar {
184
185
  return {
185
186
  "notifications": {
186
187
  "type": "string",
188
+ "attribute": "notifications",
187
189
  "mutable": true,
188
190
  "complexType": {
189
191
  "original": "string",
@@ -196,7 +198,8 @@ export class Snackbar {
196
198
  "tags": [],
197
199
  "text": ""
198
200
  },
199
- "attribute": "notifications",
201
+ "getter": false,
202
+ "setter": false,
200
203
  "reflect": true,
201
204
  "defaultValue": "\"[]\""
202
205
  }