@watermarkinsights/ripple 5.16.0-alpha.1 → 5.16.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. package/dist/cjs/app-globals-DRIUP2B4.js +7 -0
  2. package/dist/cjs/{chartFunctions-439c6fd4.js → chartFunctions-D441_SCy.js} +2 -3
  3. package/dist/cjs/{functions-dd27bda3.js → functions-Cv4tH2z-.js} +90 -83
  4. package/dist/cjs/{index-788526f5.js → index-bkpjhWBk.js} +777 -410
  5. package/dist/cjs/{intl-6d72b4a0.js → intl-CDsbzEBp.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 +42 -48
  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 -9
  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.js +11 -5
  70. package/dist/collection/components/wm-modal/wm-modal-footer.js +16 -6
  71. package/dist/collection/components/wm-modal/wm-modal-header.js +7 -3
  72. package/dist/collection/components/wm-modal/wm-modal.css +1 -1
  73. package/dist/collection/components/wm-modal/wm-modal.js +15 -9
  74. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +16 -6
  75. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +7 -3
  76. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +16 -9
  77. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +6 -5
  78. package/dist/collection/components/wm-navigation/wm-navigation-item.js +10 -9
  79. package/dist/collection/components/wm-navigation/wm-navigation.js +6 -4
  80. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +7 -3
  81. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +10 -4
  82. package/dist/collection/components/wm-navigator/wm-navigator.js +34 -15
  83. package/dist/collection/components/wm-pagination/wm-pagination.js +22 -12
  84. package/dist/collection/components/wm-search/wm-search.js +47 -12
  85. package/dist/collection/components/wm-snackbar/wm-snackbar.js +9 -6
  86. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +19 -7
  87. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +10 -7
  88. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +13 -3
  89. package/dist/collection/components/wm-tag-input/wm-tag-input.css +23 -17
  90. package/dist/collection/components/wm-tag-input/wm-tag-input.js +79 -54
  91. package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +18 -10
  92. package/dist/collection/components/wm-textarea/wm-textarea.css +15 -9
  93. package/dist/collection/components/wm-textarea/wm-textarea.js +42 -18
  94. package/dist/collection/components/wm-timepicker/wm-timepicker.css +15 -9
  95. package/dist/collection/components/wm-timepicker/wm-timepicker.js +36 -18
  96. package/dist/collection/components/wm-toggletip/wm-toggletip.js +21 -13
  97. package/dist/collection/components/wm-uploader/wm-uploader.css +21 -10
  98. package/dist/collection/components/wm-uploader/wm-uploader.js +47 -26
  99. package/dist/collection/global/intl.js +2 -2
  100. package/dist/esm/app-globals-C7MKvxOg.js +5 -0
  101. package/dist/esm/{chartFunctions-6749593d.js → chartFunctions-D1WRRNPk.js} +3 -4
  102. package/dist/esm/{functions-dabfd76f.js → functions-DT2ztGYg.js} +91 -84
  103. package/dist/esm/{index-130e07bb.js → index-BmU89qgm.js} +774 -406
  104. package/dist/esm/{intl-43676e71.js → intl-BnrBfoLu.js} +3 -3
  105. package/dist/esm/loader.js +4 -4
  106. package/dist/esm/priv-calendar.entry.js +6 -10
  107. package/dist/esm/priv-chart-popover.entry.js +4 -6
  108. package/dist/esm/priv-navigator-button.entry.js +3 -4
  109. package/dist/esm/priv-navigator-item.entry.js +3 -4
  110. package/dist/esm/priv-option-list.entry.js +10 -14
  111. package/dist/esm/ripple.js +6 -5
  112. package/dist/esm/wm-action-menu_2.entry.js +11 -18
  113. package/dist/esm/wm-button.entry.js +9 -15
  114. package/dist/esm/wm-chart-slice.entry.js +1 -6
  115. package/dist/esm/wm-chart.entry.js +14 -16
  116. package/dist/esm/wm-date-range.entry.js +10 -13
  117. package/dist/esm/wm-datepicker.entry.js +18 -15
  118. package/dist/esm/wm-file-list.entry.js +3 -4
  119. package/dist/esm/wm-file.entry.js +6 -14
  120. package/dist/esm/wm-flyout.entry.js +6 -15
  121. package/dist/esm/wm-input.entry.js +13 -17
  122. package/dist/esm/wm-line-chart.entry.js +18 -26
  123. package/dist/esm/wm-modal-pss_3.entry.js +12 -16
  124. package/dist/esm/wm-modal_3.entry.js +12 -17
  125. package/dist/esm/wm-navigation_3.entry.js +13 -20
  126. package/dist/esm/wm-navigator.entry.js +17 -13
  127. package/dist/esm/wm-nested-select.entry.js +21 -18
  128. package/dist/esm/wm-optgroup.entry.js +3 -5
  129. package/dist/esm/wm-option_2.entry.js +19 -18
  130. package/dist/esm/wm-pagination.entry.js +11 -12
  131. package/dist/esm/wm-progress-indicator_3.entry.js +10 -25
  132. package/dist/esm/wm-search.entry.js +27 -9
  133. package/dist/esm/wm-snackbar.entry.js +10 -10
  134. package/dist/esm/wm-tab-item_3.entry.js +23 -17
  135. package/dist/esm/wm-tag-input.entry.js +42 -46
  136. package/dist/esm/wm-tag-option.entry.js +2 -6
  137. package/dist/esm/wm-textarea.entry.js +13 -12
  138. package/dist/esm/wm-timepicker.entry.js +18 -15
  139. package/dist/esm/wm-toggletip.entry.js +9 -12
  140. package/dist/esm/wm-uploader.entry.js +18 -20
  141. package/dist/esm/wm-wrapper.entry.js +1 -1
  142. package/dist/esm-es5/app-globals-C7MKvxOg.js +1 -0
  143. package/dist/esm-es5/chartFunctions-D1WRRNPk.js +1 -0
  144. package/dist/esm-es5/functions-DT2ztGYg.js +1 -0
  145. package/dist/esm-es5/index-BmU89qgm.js +1 -0
  146. package/dist/esm-es5/{intl-43676e71.js → intl-BnrBfoLu.js} +1 -1
  147. package/dist/esm-es5/loader.js +1 -1
  148. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  149. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  150. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  151. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  152. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  153. package/dist/esm-es5/ripple.js +1 -1
  154. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  155. package/dist/esm-es5/wm-button.entry.js +1 -1
  156. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  157. package/dist/esm-es5/wm-chart.entry.js +1 -1
  158. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  159. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  160. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  161. package/dist/esm-es5/wm-file.entry.js +1 -1
  162. package/dist/esm-es5/wm-flyout.entry.js +1 -1
  163. package/dist/esm-es5/wm-input.entry.js +1 -1
  164. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  165. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  166. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  167. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  168. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  169. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  170. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  171. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  172. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  173. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  174. package/dist/esm-es5/wm-search.entry.js +1 -1
  175. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  176. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  177. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  178. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  179. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  180. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  181. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  182. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  183. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  184. package/dist/ripple/{p-c7d71181.system.entry.js → p-00cec2a0.system.entry.js} +1 -1
  185. package/dist/ripple/{p-1955c66a.system.entry.js → p-07cb5512.system.entry.js} +1 -1
  186. package/dist/ripple/p-08b265a2.entry.js +1 -0
  187. package/dist/ripple/{p-12d6ab73.system.entry.js → p-0fce4df8.system.entry.js} +1 -1
  188. package/dist/ripple/{p-59591401.entry.js → p-120c9c9c.entry.js} +1 -1
  189. package/dist/ripple/{p-57c25b63.entry.js → p-12e14668.entry.js} +1 -1
  190. package/dist/ripple/p-19f43d88.entry.js +1 -0
  191. package/dist/ripple/{p-b23c6351.system.entry.js → p-2269f7f7.system.entry.js} +1 -1
  192. package/dist/ripple/{p-4fb4deb9.entry.js → p-24857d09.entry.js} +1 -1
  193. package/dist/ripple/{p-89479d02.system.entry.js → p-24a498ec.system.entry.js} +1 -1
  194. package/dist/ripple/p-29eb4cc7.entry.js +1 -0
  195. package/dist/ripple/{p-4c2a044d.system.entry.js → p-2a85a48c.system.entry.js} +1 -1
  196. package/dist/ripple/{p-97ffaa7d.entry.js → p-2f04ea70.entry.js} +1 -1
  197. package/dist/ripple/{p-f9fa1506.system.entry.js → p-35f0c155.system.entry.js} +1 -1
  198. package/dist/ripple/p-3d83fdec.system.entry.js +1 -0
  199. package/dist/ripple/p-423931b7.entry.js +1 -0
  200. package/dist/ripple/p-44004383.entry.js +1 -0
  201. package/dist/ripple/p-4adda78c.entry.js +1 -0
  202. package/dist/ripple/{p-fe71ec64.system.entry.js → p-514af1a7.system.entry.js} +1 -1
  203. package/dist/ripple/{p-61f9987d.system.entry.js → p-582e730d.system.entry.js} +1 -1
  204. package/dist/ripple/p-59030f63.entry.js +1 -0
  205. package/dist/ripple/{p-9b2281e2.system.entry.js → p-5975c901.system.entry.js} +1 -1
  206. package/dist/ripple/{p-091fbc50.system.entry.js → p-5a10db87.system.entry.js} +1 -1
  207. package/dist/ripple/{p-72ed488e.system.entry.js → p-5aeb9091.system.entry.js} +1 -1
  208. package/dist/ripple/p-5b523b9f.system.entry.js +1 -0
  209. package/dist/ripple/p-5bb7a993.entry.js +1 -0
  210. package/dist/ripple/{p-74f103dd.entry.js → p-5ecfe800.entry.js} +1 -1
  211. package/dist/ripple/p-62520534.entry.js +1 -0
  212. package/dist/ripple/{p-c699aec8.system.entry.js → p-628dfdaf.system.entry.js} +1 -1
  213. package/dist/ripple/{p-36fd8aed.system.entry.js → p-64a308de.system.entry.js} +1 -1
  214. package/dist/ripple/p-64f555f9.entry.js +1 -0
  215. package/dist/ripple/{p-92a50b38.system.entry.js → p-65058356.system.entry.js} +1 -1
  216. package/dist/ripple/{p-6a082957.entry.js → p-65c38f2b.entry.js} +1 -1
  217. package/dist/ripple/{p-9328023c.entry.js → p-6650bcad.entry.js} +1 -1
  218. package/dist/ripple/{p-30236be3.system.entry.js → p-6ed1a615.system.entry.js} +1 -1
  219. package/dist/ripple/{p-c53f5914.entry.js → p-72c247fb.system.entry.js} +1 -1
  220. package/dist/ripple/p-81245443.entry.js +1 -0
  221. package/dist/ripple/p-81870134.entry.js +1 -0
  222. package/dist/ripple/{p-2f7ca1a7.system.entry.js → p-819382b4.entry.js} +1 -1
  223. package/dist/ripple/{p-4e6b0a6e.system.entry.js → p-9223a1bf.system.entry.js} +1 -1
  224. package/dist/ripple/p-9635519f.entry.js +1 -0
  225. package/dist/ripple/{p-f8995a5e.system.entry.js → p-98c7683b.system.entry.js} +1 -1
  226. package/dist/ripple/p-9a5a577a.entry.js +1 -0
  227. package/dist/ripple/p-9a9e1d00.entry.js +1 -0
  228. package/dist/ripple/{p-f3df715f.entry.js → p-9e353b52.entry.js} +1 -1
  229. package/dist/ripple/p-B7qucsb3.system.js +1 -0
  230. package/dist/ripple/p-BRUS9KP_.system.js +1 -0
  231. package/dist/ripple/p-BmU89qgm.js +2 -0
  232. package/dist/ripple/p-CLQInGS5.system.js +1 -0
  233. package/dist/ripple/p-CZkA6XrR.js +1 -0
  234. package/dist/ripple/{p-49a347e1.js → p-ChCup6OE.js} +1 -1
  235. package/dist/ripple/p-D1BYKagG.js +1 -0
  236. package/dist/ripple/p-DT2ztGYg.js +1 -0
  237. package/dist/ripple/p-Dd2F6qzY.system.js +2 -0
  238. package/dist/ripple/p-Dg5uzcYb.system.js +1 -0
  239. package/dist/ripple/{p-ba399879.system.js → p-LmBQIm9U.system.js} +1 -1
  240. package/dist/ripple/p-a0add2dd.entry.js +1 -0
  241. package/dist/ripple/p-a1f70a0a.system.entry.js +1 -0
  242. package/dist/ripple/p-a8eff037.system.entry.js +1 -0
  243. package/dist/ripple/p-ac310358.entry.js +1 -0
  244. package/dist/ripple/{p-b01f9572.system.entry.js → p-bda8ce77.system.entry.js} +1 -1
  245. package/dist/ripple/{p-043901ab.system.entry.js → p-c12eb0fa.system.entry.js} +1 -1
  246. package/dist/ripple/p-c44cbbea.entry.js +1 -0
  247. package/dist/ripple/p-c72b5e55.system.entry.js +1 -0
  248. package/dist/ripple/{p-ceac4dea.system.entry.js → p-c889749f.system.entry.js} +1 -1
  249. package/dist/ripple/p-cb5c1920.entry.js +1 -0
  250. package/dist/ripple/{p-0bb576c5.system.entry.js → p-cc9752df.system.entry.js} +1 -1
  251. package/dist/ripple/{p-cd0cc88d.entry.js → p-cca5dd54.entry.js} +1 -1
  252. package/dist/ripple/p-d14aedd7.entry.js +1 -0
  253. package/dist/ripple/p-d1651848.entry.js +1 -0
  254. package/dist/ripple/{p-2823d02b.system.entry.js → p-d83f36af.system.entry.js} +1 -1
  255. package/dist/ripple/p-e01688df.system.entry.js +1 -0
  256. package/dist/ripple/p-e0a1a76d.system.entry.js +1 -0
  257. package/dist/ripple/{p-8ec2e944.system.entry.js → p-ec6e0106.system.entry.js} +1 -1
  258. package/dist/ripple/{p-bc4976e6.entry.js → p-ee8649b3.system.entry.js} +1 -1
  259. package/dist/ripple/p-f073981c.entry.js +1 -0
  260. package/dist/ripple/{p-a5fb4171.system.entry.js → p-f47bacb5.entry.js} +1 -1
  261. package/dist/ripple/{p-c4896784.system.entry.js → p-f4a19c56.system.entry.js} +1 -1
  262. package/dist/ripple/p-f4ad21f8.entry.js +1 -0
  263. package/dist/ripple/p-f5ca18bb.entry.js +1 -0
  264. package/dist/ripple/{p-fe93b6b9.system.entry.js → p-fe71211e.system.entry.js} +1 -1
  265. package/dist/ripple/ripple.esm.js +1 -1
  266. package/dist/ripple/ripple.js +1 -1
  267. package/dist/types/components/datepickers/wm-datepicker.d.ts +1 -0
  268. package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +1 -0
  269. package/dist/types/components/selects/wm-select/wm-select.d.ts +1 -0
  270. package/dist/types/components/wm-input/wm-input.d.ts +1 -0
  271. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +1 -0
  272. package/dist/types/components/wm-textarea/wm-textarea.d.ts +1 -0
  273. package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +1 -0
  274. package/dist/types/components/wm-uploader/wm-uploader.d.ts +1 -0
  275. package/dist/types/components.d.ts +986 -0
  276. package/dist/types/stencil-public-runtime.d.ts +37 -2
  277. package/package.json +2 -2
  278. package/dist/cjs/app-globals-f56991b7.js +0 -92
  279. package/dist/esm/app-globals-cc7a1bd5.js +0 -90
  280. package/dist/esm-es5/app-globals-cc7a1bd5.js +0 -1
  281. package/dist/esm-es5/chartFunctions-6749593d.js +0 -1
  282. package/dist/esm-es5/functions-dabfd76f.js +0 -1
  283. package/dist/esm-es5/index-130e07bb.js +0 -1
  284. package/dist/loader/package.json +0 -11
  285. package/dist/ripple/p-0189929d.entry.js +0 -1
  286. package/dist/ripple/p-0c89b82c.entry.js +0 -1
  287. package/dist/ripple/p-12ac8f93.js +0 -1
  288. package/dist/ripple/p-13b1d775.entry.js +0 -1
  289. package/dist/ripple/p-144ce232.entry.js +0 -1
  290. package/dist/ripple/p-1497ccfc.entry.js +0 -1
  291. package/dist/ripple/p-1a3037aa.entry.js +0 -1
  292. package/dist/ripple/p-22b55b6f.entry.js +0 -1
  293. package/dist/ripple/p-257d2d5c.entry.js +0 -1
  294. package/dist/ripple/p-30201dc9.entry.js +0 -1
  295. package/dist/ripple/p-36d2b888.entry.js +0 -1
  296. package/dist/ripple/p-3f98056c.js +0 -1
  297. package/dist/ripple/p-41120a33.system.js +0 -1
  298. package/dist/ripple/p-492aa9fe.system.entry.js +0 -1
  299. package/dist/ripple/p-4a29bb8c.entry.js +0 -1
  300. package/dist/ripple/p-4cebf2d7.entry.js +0 -1
  301. package/dist/ripple/p-56d54fe6.system.entry.js +0 -1
  302. package/dist/ripple/p-5cff41e0.entry.js +0 -1
  303. package/dist/ripple/p-5ef786db.system.entry.js +0 -1
  304. package/dist/ripple/p-6a03a172.entry.js +0 -1
  305. package/dist/ripple/p-6abc1227.entry.js +0 -1
  306. package/dist/ripple/p-6d12cfb7.system.entry.js +0 -1
  307. package/dist/ripple/p-81ce2697.entry.js +0 -1
  308. package/dist/ripple/p-823d7b4e.system.entry.js +0 -1
  309. package/dist/ripple/p-89316785.system.js +0 -1
  310. package/dist/ripple/p-8a569d3b.entry.js +0 -1
  311. package/dist/ripple/p-8f987f71.entry.js +0 -1
  312. package/dist/ripple/p-92cb12d3.entry.js +0 -1
  313. package/dist/ripple/p-94f776eb.entry.js +0 -1
  314. package/dist/ripple/p-a2c8937d.js +0 -1
  315. package/dist/ripple/p-b34552b0.system.entry.js +0 -1
  316. package/dist/ripple/p-b39ab477.entry.js +0 -1
  317. package/dist/ripple/p-bb9f6920.entry.js +0 -1
  318. package/dist/ripple/p-bd48c50a.entry.js +0 -1
  319. package/dist/ripple/p-c1aa877a.system.js +0 -1
  320. package/dist/ripple/p-c31e1379.entry.js +0 -1
  321. package/dist/ripple/p-cef8a45b.system.js +0 -2
  322. package/dist/ripple/p-d333d851.system.entry.js +0 -1
  323. package/dist/ripple/p-d9da0502.js +0 -2
  324. package/dist/ripple/p-e59a48a6.system.js +0 -1
  325. /package/dist/cjs/{interfaces-85d78ae9.js → interfaces-C7YbtGnk.js} +0 -0
  326. /package/dist/esm/{interfaces-cc5b177f.js → interfaces-COwzv5zO.js} +0 -0
  327. /package/dist/esm-es5/{interfaces-cc5b177f.js → interfaces-COwzv5zO.js} +0 -0
  328. /package/dist/ripple/{p-2732bddd.js → p-COwzv5zO.js} +0 -0
  329. /package/dist/ripple/{p-42fa7a77.system.js → p-ClUp3GkF.system.js} +0 -0
  330. /package/dist/ripple/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
@@ -1,28 +1,19 @@
1
1
  import { h } from "@stencil/core";
2
- import { triggerFormSubmit, toBool, handleDisabledAttribute } from "../../global/functions";
2
+ import { triggerFormSubmit, toBool, handleDisabledAttribute, hideTooltip, showTooltip } from "../../global/functions";
3
3
  import { globalMessages } from "../../global/intl";
4
4
  export class Input {
5
5
  constructor() {
6
- this.previousValue = "";
7
- this.label = undefined;
8
6
  this.labelPosition = "top";
9
7
  this.value = "";
10
8
  this.disabled = false;
11
- this.info = undefined;
12
9
  this.inputWidth = "";
13
10
  this.placeholder = "";
14
11
  this.requiredField = false;
15
- this.errorMessage = undefined;
16
- this.characterLimit = undefined;
17
- this.symbolBefore = undefined;
18
- this.symbolAfter = undefined;
19
- this.textAfter = undefined;
20
12
  this.type = "text";
21
13
  this.step = 1;
22
- this.min = undefined;
23
- this.max = undefined;
24
14
  this.isSubmit = false;
25
15
  this.announcement = "";
16
+ this.previousValue = "";
26
17
  }
27
18
  getInputWidth() {
28
19
  return this.inputWidth ? { width: this.inputWidth } : { flex: "1" };
@@ -58,6 +49,12 @@ export class Input {
58
49
  this.announce(this.generateCharacterLimitWarning(this.charCount, this.characterLimit));
59
50
  }
60
51
  }
52
+ handleLabelMouseEnter(ev) {
53
+ const labelEl = ev.target;
54
+ if (labelEl.scrollWidth > labelEl.clientWidth) {
55
+ showTooltip("right", labelEl, this.label);
56
+ }
57
+ }
61
58
  handleKeyDown(ev) {
62
59
  // in most browsers, onInput doesn't fire if the input's maxLength is reached
63
60
  // to handle the case where a user continues to type after reaching the character limit, the keyDown event must be used
@@ -101,7 +98,7 @@ export class Input {
101
98
  : `info error`;
102
99
  }
103
100
  render() {
104
- return (h("div", { key: 'd71203fd94d6401d49f9c06976da6f380525ea4f', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: 'ec03133431899acf8fb285d695daf5f9887398e8', class: "label-wrapper" }, h("label", { key: '561a5b17203fc6cf2a1bfb3a5dd9d75ba4cf1e66', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: '74f070797a03ce7ea64efcace7f8b6e0eae189ab', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: '0a2daea4a0454cfec2678c50bb685f93a162cd20', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: 'feaa267cd1a3b47fbd6cf666eeee9b73183494ea', class: "inner-wrapper" }, h("div", { key: 'c4f4ac493a9c26644c665bc5dd910c9d2609a9b4', class: "text-after-wrapper" }, h("div", { key: '444b80038a8593d24c84c12e13831c603852306b', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '0a112d83390a206888a73d49185e1e0006d6745c', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '93748d9f8ac38974b6b354dcc7e6b5bcd9993bab', ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (h("span", { key: '2495e1224e1555fbaad0b9eeac0ef6d49c329237', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { key: '382f7ee32c78e0457e25d003a8f3b6762fb99753', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: '0fec1367ee0864a15510c3198818c5d06ec01975', id: "info", class: "info" }, this.info)), h("div", { key: '6f91548dd75581fd91e2b6a789c442607c2bf749', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: 'e2bb78875e9b03f4b45476eedc900cc4498ef1d3', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
101
+ return (h("div", { key: 'abe39d76f1df8098aad09d37dae556ffafed9de3', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: 'f6ebdff5ee4efb2f6ce435848379e8f63bcb3f71', class: "label-wrapper" }, h("label", { key: '2c4f2b47f0b0a9c74b5aad022d7cd902324aeeb9', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '502b0bcc0f333fbfbc3c3d33d57491a1a8fe12c4', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("div", { key: 'aa9cee1f7f3c5dfc63dd9deeb934c81b879c3e03', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '53f479d7516f774efa07b782de29fa77d7d5624c', class: "inner-wrapper" }, h("div", { key: 'b03a37a1f631b49e12846156e7959783379c75ae', class: "text-after-wrapper" }, h("div", { key: '73fae0162460f8fa28ffeffb91b75bb7fa84bc4c', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '86272f79015b42f77b7ba506f179922b1855ef44', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '4d3e1e63ec9236862e7c4969713adcf7ee260ce8', ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (h("span", { key: '6b11f19bdde5657a9f15ce82c541be250bc1e243', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { key: 'c52bb5fa02b5383df5b8eecce28eada592069ad4', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: '107479fef114a8294c2243e4f52844fa1098745e', id: "info", class: "info" }, this.info)), h("div", { key: '56d84ddae6595bce7882d98586edfdb977c1a4e0', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: 'ddfccd79d99b3144acb6733dc89898b07a5a3ca1', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
105
102
  }
106
103
  static get is() { return "wm-input"; }
107
104
  static get encapsulation() { return "shadow"; }
@@ -120,6 +117,7 @@ export class Input {
120
117
  return {
121
118
  "label": {
122
119
  "type": "string",
120
+ "attribute": "label",
123
121
  "mutable": false,
124
122
  "complexType": {
125
123
  "original": "string",
@@ -132,11 +130,13 @@ export class Input {
132
130
  "tags": [],
133
131
  "text": ""
134
132
  },
135
- "attribute": "label",
133
+ "getter": false,
134
+ "setter": false,
136
135
  "reflect": false
137
136
  },
138
137
  "labelPosition": {
139
138
  "type": "string",
139
+ "attribute": "label-position",
140
140
  "mutable": false,
141
141
  "complexType": {
142
142
  "original": "\"top\" | \"left\" | \"none\"",
@@ -149,12 +149,14 @@ export class Input {
149
149
  "tags": [],
150
150
  "text": ""
151
151
  },
152
- "attribute": "label-position",
152
+ "getter": false,
153
+ "setter": false,
153
154
  "reflect": false,
154
155
  "defaultValue": "\"top\""
155
156
  },
156
157
  "value": {
157
158
  "type": "string",
159
+ "attribute": "value",
158
160
  "mutable": true,
159
161
  "complexType": {
160
162
  "original": "string",
@@ -167,12 +169,14 @@ export class Input {
167
169
  "tags": [],
168
170
  "text": ""
169
171
  },
170
- "attribute": "value",
172
+ "getter": false,
173
+ "setter": false,
171
174
  "reflect": false,
172
175
  "defaultValue": "\"\""
173
176
  },
174
177
  "disabled": {
175
178
  "type": "boolean",
179
+ "attribute": "disabled",
176
180
  "mutable": false,
177
181
  "complexType": {
178
182
  "original": "boolean",
@@ -185,12 +189,14 @@ export class Input {
185
189
  "tags": [],
186
190
  "text": ""
187
191
  },
188
- "attribute": "disabled",
192
+ "getter": false,
193
+ "setter": false,
189
194
  "reflect": false,
190
195
  "defaultValue": "false"
191
196
  },
192
197
  "info": {
193
198
  "type": "string",
199
+ "attribute": "info",
194
200
  "mutable": false,
195
201
  "complexType": {
196
202
  "original": "string",
@@ -203,11 +209,13 @@ export class Input {
203
209
  "tags": [],
204
210
  "text": ""
205
211
  },
206
- "attribute": "info",
212
+ "getter": false,
213
+ "setter": false,
207
214
  "reflect": false
208
215
  },
209
216
  "inputWidth": {
210
217
  "type": "string",
218
+ "attribute": "input-width",
211
219
  "mutable": false,
212
220
  "complexType": {
213
221
  "original": "string",
@@ -220,12 +228,14 @@ export class Input {
220
228
  "tags": [],
221
229
  "text": ""
222
230
  },
223
- "attribute": "input-width",
231
+ "getter": false,
232
+ "setter": false,
224
233
  "reflect": false,
225
234
  "defaultValue": "\"\""
226
235
  },
227
236
  "placeholder": {
228
237
  "type": "string",
238
+ "attribute": "placeholder",
229
239
  "mutable": false,
230
240
  "complexType": {
231
241
  "original": "string",
@@ -238,12 +248,14 @@ export class Input {
238
248
  "tags": [],
239
249
  "text": ""
240
250
  },
241
- "attribute": "placeholder",
251
+ "getter": false,
252
+ "setter": false,
242
253
  "reflect": false,
243
254
  "defaultValue": "\"\""
244
255
  },
245
256
  "requiredField": {
246
257
  "type": "boolean",
258
+ "attribute": "required-field",
247
259
  "mutable": false,
248
260
  "complexType": {
249
261
  "original": "boolean",
@@ -256,12 +268,14 @@ export class Input {
256
268
  "tags": [],
257
269
  "text": ""
258
270
  },
259
- "attribute": "required-field",
271
+ "getter": false,
272
+ "setter": false,
260
273
  "reflect": false,
261
274
  "defaultValue": "false"
262
275
  },
263
276
  "errorMessage": {
264
277
  "type": "string",
278
+ "attribute": "error-message",
265
279
  "mutable": false,
266
280
  "complexType": {
267
281
  "original": "string",
@@ -274,11 +288,13 @@ export class Input {
274
288
  "tags": [],
275
289
  "text": ""
276
290
  },
277
- "attribute": "error-message",
291
+ "getter": false,
292
+ "setter": false,
278
293
  "reflect": false
279
294
  },
280
295
  "characterLimit": {
281
296
  "type": "number",
297
+ "attribute": "character-limit",
282
298
  "mutable": false,
283
299
  "complexType": {
284
300
  "original": "number",
@@ -291,11 +307,13 @@ export class Input {
291
307
  "tags": [],
292
308
  "text": ""
293
309
  },
294
- "attribute": "character-limit",
310
+ "getter": false,
311
+ "setter": false,
295
312
  "reflect": false
296
313
  },
297
314
  "symbolBefore": {
298
315
  "type": "string",
316
+ "attribute": "symbol-before",
299
317
  "mutable": false,
300
318
  "complexType": {
301
319
  "original": "string",
@@ -308,11 +326,13 @@ export class Input {
308
326
  "tags": [],
309
327
  "text": ""
310
328
  },
311
- "attribute": "symbol-before",
329
+ "getter": false,
330
+ "setter": false,
312
331
  "reflect": false
313
332
  },
314
333
  "symbolAfter": {
315
334
  "type": "string",
335
+ "attribute": "symbol-after",
316
336
  "mutable": false,
317
337
  "complexType": {
318
338
  "original": "string",
@@ -325,11 +345,13 @@ export class Input {
325
345
  "tags": [],
326
346
  "text": ""
327
347
  },
328
- "attribute": "symbol-after",
348
+ "getter": false,
349
+ "setter": false,
329
350
  "reflect": false
330
351
  },
331
352
  "textAfter": {
332
353
  "type": "string",
354
+ "attribute": "text-after",
333
355
  "mutable": false,
334
356
  "complexType": {
335
357
  "original": "string",
@@ -342,11 +364,13 @@ export class Input {
342
364
  "tags": [],
343
365
  "text": ""
344
366
  },
345
- "attribute": "text-after",
367
+ "getter": false,
368
+ "setter": false,
346
369
  "reflect": false
347
370
  },
348
371
  "type": {
349
372
  "type": "string",
373
+ "attribute": "type",
350
374
  "mutable": false,
351
375
  "complexType": {
352
376
  "original": "\"number\" | \"text\"",
@@ -359,12 +383,14 @@ export class Input {
359
383
  "tags": [],
360
384
  "text": ""
361
385
  },
362
- "attribute": "type",
386
+ "getter": false,
387
+ "setter": false,
363
388
  "reflect": false,
364
389
  "defaultValue": "\"text\""
365
390
  },
366
391
  "step": {
367
392
  "type": "number",
393
+ "attribute": "step",
368
394
  "mutable": false,
369
395
  "complexType": {
370
396
  "original": "number",
@@ -377,12 +403,14 @@ export class Input {
377
403
  "tags": [],
378
404
  "text": ""
379
405
  },
380
- "attribute": "step",
406
+ "getter": false,
407
+ "setter": false,
381
408
  "reflect": false,
382
409
  "defaultValue": "1"
383
410
  },
384
411
  "min": {
385
412
  "type": "number",
413
+ "attribute": "min",
386
414
  "mutable": false,
387
415
  "complexType": {
388
416
  "original": "number",
@@ -395,11 +423,13 @@ export class Input {
395
423
  "tags": [],
396
424
  "text": ""
397
425
  },
398
- "attribute": "min",
426
+ "getter": false,
427
+ "setter": false,
399
428
  "reflect": false
400
429
  },
401
430
  "max": {
402
431
  "type": "number",
432
+ "attribute": "max",
403
433
  "mutable": false,
404
434
  "complexType": {
405
435
  "original": "number",
@@ -412,11 +442,13 @@ export class Input {
412
442
  "tags": [],
413
443
  "text": ""
414
444
  },
415
- "attribute": "max",
445
+ "getter": false,
446
+ "setter": false,
416
447
  "reflect": false
417
448
  },
418
449
  "isSubmit": {
419
450
  "type": "boolean",
451
+ "attribute": "is-submit",
420
452
  "mutable": false,
421
453
  "complexType": {
422
454
  "original": "boolean",
@@ -429,7 +461,8 @@ export class Input {
429
461
  "tags": [],
430
462
  "text": ""
431
463
  },
432
- "attribute": "is-submit",
464
+ "getter": false,
465
+ "setter": false,
433
466
  "reflect": false,
434
467
  "defaultValue": "false"
435
468
  }
@@ -2,10 +2,10 @@ import { h, Host } from "@stencil/core";
2
2
  import { getIconCodeFromName } from "../../global/interfaces";
3
3
  export class Menuitem {
4
4
  constructor() {
5
- this.descriptionCharLimit = 100;
6
5
  this.disabled = false;
7
6
  this.icon = undefined;
8
7
  this.description = undefined;
8
+ this.descriptionCharLimit = 100;
9
9
  }
10
10
  handleKeydown(ev) {
11
11
  const modifierKeyUsed = ev.altKey || ev.ctrlKey || ev.metaKey;
@@ -98,7 +98,7 @@ export class Menuitem {
98
98
  }
99
99
  }
100
100
  render() {
101
- return (h(Host, { key: '16c2fc6ddfd8439be81e11534f9a7303c121c6f8', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: '138d8175228c5de3132e2b8c491baf5ea4ffeaaf', class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, this.icon && this.renderIcon(), this.el.textContent, this.description ? h("div", { class: "description" }, this.description) : "")));
101
+ return (h(Host, { key: 'e6315d1845768369730087b4e9e0cb52224af68a', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: 'a1e8dc4267cf04c0ec5678744e2928acb39102c0', class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, this.icon && this.renderIcon(), this.el.textContent, this.description ? h("div", { class: "description" }, this.description) : "")));
102
102
  }
103
103
  static get is() { return "wm-menuitem"; }
104
104
  static get encapsulation() { return "shadow"; }
@@ -116,6 +116,7 @@ export class Menuitem {
116
116
  return {
117
117
  "disabled": {
118
118
  "type": "boolean",
119
+ "attribute": "disabled",
119
120
  "mutable": false,
120
121
  "complexType": {
121
122
  "original": "boolean",
@@ -128,12 +129,14 @@ export class Menuitem {
128
129
  "tags": [],
129
130
  "text": ""
130
131
  },
131
- "attribute": "disabled",
132
+ "getter": false,
133
+ "setter": false,
132
134
  "reflect": false,
133
135
  "defaultValue": "false"
134
136
  },
135
137
  "icon": {
136
138
  "type": "string",
139
+ "attribute": "icon",
137
140
  "mutable": true,
138
141
  "complexType": {
139
142
  "original": "string",
@@ -146,12 +149,14 @@ export class Menuitem {
146
149
  "tags": [],
147
150
  "text": ""
148
151
  },
149
- "attribute": "icon",
152
+ "getter": false,
153
+ "setter": false,
150
154
  "reflect": false,
151
155
  "defaultValue": "undefined"
152
156
  },
153
157
  "description": {
154
158
  "type": "string",
159
+ "attribute": "description",
155
160
  "mutable": false,
156
161
  "complexType": {
157
162
  "original": "string",
@@ -164,7 +169,8 @@ export class Menuitem {
164
169
  "tags": [],
165
170
  "text": ""
166
171
  },
167
- "attribute": "description",
172
+ "getter": false,
173
+ "setter": false,
168
174
  "reflect": false,
169
175
  "defaultValue": "undefined"
170
176
  }
@@ -31,7 +31,7 @@ export class ModalFooter {
31
31
  }
32
32
  }
33
33
  render() {
34
- return (h("div", { key: '2aa2375ddaf321da10aabcf7012fa2defa56850e', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '345a8ffefc4289177f042777b47310fc2c912211', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '613e9b2ba1bdcd2d76ab79614fd4b184b186f270', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '0bbc068278eb0c926512d7789838bf06ded15f3b', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: '2e495877bb9902f5cd3b977fcb99411764ffd16c', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.primaryText))));
34
+ return (h("div", { key: '019e3ea4b92089f44320cc3f9d256f7cea96cfbc', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: 'e5c34592f8a374bc016fc6cb6125a864f99d17bd', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '6349bd48d3aab79be1f33438f904d758a48066fd', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '4154880503f788a9ea023fe4f0ce05b5f67b0f41', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: 'a48b61feaf42d6da0b237a68af68d5ac8ae49642', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.primaryText))));
35
35
  }
36
36
  static get is() { return "wm-modal-footer"; }
37
37
  static get originalStyleUrls() {
@@ -48,6 +48,7 @@ export class ModalFooter {
48
48
  return {
49
49
  "secondaryText": {
50
50
  "type": "string",
51
+ "attribute": "secondary-text",
51
52
  "mutable": false,
52
53
  "complexType": {
53
54
  "original": "string",
@@ -60,12 +61,14 @@ export class ModalFooter {
60
61
  "tags": [],
61
62
  "text": ""
62
63
  },
63
- "attribute": "secondary-text",
64
+ "getter": false,
65
+ "setter": false,
64
66
  "reflect": false,
65
67
  "defaultValue": "\"\""
66
68
  },
67
69
  "primaryText": {
68
70
  "type": "string",
71
+ "attribute": "primary-text",
69
72
  "mutable": false,
70
73
  "complexType": {
71
74
  "original": "string",
@@ -78,12 +81,14 @@ export class ModalFooter {
78
81
  "tags": [],
79
82
  "text": ""
80
83
  },
81
- "attribute": "primary-text",
84
+ "getter": false,
85
+ "setter": false,
82
86
  "reflect": false,
83
87
  "defaultValue": "\"\""
84
88
  },
85
89
  "infoText": {
86
90
  "type": "string",
91
+ "attribute": "info-text",
87
92
  "mutable": false,
88
93
  "complexType": {
89
94
  "original": "string",
@@ -96,12 +101,14 @@ export class ModalFooter {
96
101
  "tags": [],
97
102
  "text": ""
98
103
  },
99
- "attribute": "info-text",
104
+ "getter": false,
105
+ "setter": false,
100
106
  "reflect": false,
101
107
  "defaultValue": "\"\""
102
108
  },
103
109
  "primaryActionDisabled": {
104
110
  "type": "boolean",
111
+ "attribute": "primary-action-disabled",
105
112
  "mutable": false,
106
113
  "complexType": {
107
114
  "original": "boolean",
@@ -114,12 +121,14 @@ export class ModalFooter {
114
121
  "tags": [],
115
122
  "text": ""
116
123
  },
117
- "attribute": "primary-action-disabled",
124
+ "getter": false,
125
+ "setter": false,
118
126
  "reflect": false,
119
127
  "defaultValue": "false"
120
128
  },
121
129
  "deleteStyle": {
122
130
  "type": "boolean",
131
+ "attribute": "delete-style",
123
132
  "mutable": false,
124
133
  "complexType": {
125
134
  "original": "boolean",
@@ -132,7 +141,8 @@ export class ModalFooter {
132
141
  "tags": [],
133
142
  "text": ""
134
143
  },
135
- "attribute": "delete-style",
144
+ "getter": false,
145
+ "setter": false,
136
146
  "reflect": false,
137
147
  "defaultValue": "false"
138
148
  }
@@ -22,7 +22,7 @@ export class ModalHeader {
22
22
  parentModal.emitCloseEvent();
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: '95b62f6d1ee25e0de5c0977fad860b86eb874a0d' }, h("div", { key: 'c6e396538d6d511c1338e465829438a7de6ca20f', class: "wm-wrapper" }, h("div", { key: 'bf862bb24264b4379895a8168d07a3220582dc2c' }, h("h2", { key: '386f918c359859b2ae8db14db83097dd985f29c6', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '404136724b15cae9ade28f7852934181f22fa010', class: "subtitle" }, this.subheading))), h("wm-button", { key: '0748b3b6ba6e0aaf371435615c818e511f059ec5', "button-type": "navigational", icon: "#close", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
25
+ return (h(Host, { key: 'ebb2d8038aa0ac395c53d4f0d91499919aa932f6' }, h("div", { key: '1f5486f23c9a9a32e5e33e47b6edc31c37c37821', class: "wm-wrapper" }, h("div", { key: 'a1192d79c1d5d7fed157386cc6acb92522e14cf7' }, h("h2", { key: 'bf4b908dad455408550d5a2695d3c4fcfcd75c3b', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '32347ba7f539174fee47edfce977f7c8426a3298', class: "subtitle" }, this.subheading))), h("wm-button", { key: '04324e5098e8580bcc3e44a107a348ff6fe5c9df', "button-type": "navigational", icon: "#close", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
26
26
  }
27
27
  static get is() { return "wm-modal-header"; }
28
28
  static get originalStyleUrls() {
@@ -39,6 +39,7 @@ export class ModalHeader {
39
39
  return {
40
40
  "heading": {
41
41
  "type": "string",
42
+ "attribute": "heading",
42
43
  "mutable": false,
43
44
  "complexType": {
44
45
  "original": "string",
@@ -51,12 +52,14 @@ export class ModalHeader {
51
52
  "tags": [],
52
53
  "text": ""
53
54
  },
54
- "attribute": "heading",
55
+ "getter": false,
56
+ "setter": false,
55
57
  "reflect": false,
56
58
  "defaultValue": "\"\""
57
59
  },
58
60
  "subheading": {
59
61
  "type": "string",
62
+ "attribute": "subheading",
60
63
  "mutable": false,
61
64
  "complexType": {
62
65
  "original": "string",
@@ -69,7 +72,8 @@ export class ModalHeader {
69
72
  "tags": [],
70
73
  "text": ""
71
74
  },
72
- "attribute": "subheading",
75
+ "getter": false,
76
+ "setter": false,
73
77
  "reflect": false,
74
78
  "defaultValue": "\"\""
75
79
  }
@@ -883,7 +883,7 @@ wm-modal dialog.wm-modal[open] {
883
883
  flex-direction: column;
884
884
  }
885
885
  wm-modal dialog.wm-modal > :not(wm-modal-header, wm-modal-footer) {
886
- flex: 1;
886
+ flex: 1 1 auto;
887
887
  }
888
888
  wm-modal dialog.wm-modal > wm-modal-header {
889
889
  border-bottom: 1px solid var(--wmcolor-modal-border);
@@ -3,10 +3,8 @@ import { generateId } from "../../global/functions";
3
3
  export class Modal {
4
4
  constructor() {
5
5
  this.open = false;
6
- this.elementToFocus = "";
6
+ this.elementToFocus = ""; // primary and secondary point to the corresponding buttons, otherwise focus based on element id
7
7
  this.modalType = "modal";
8
- this.uid = undefined;
9
- this.returnFocusEl = undefined;
10
8
  }
11
9
  get closeButtonEl() {
12
10
  return this.el.querySelector(`#wm-modal-close-${this.uid}`);
@@ -108,11 +106,11 @@ export class Modal {
108
106
  }
109
107
  }
110
108
  render() {
111
- return (h("dialog", { key: '6e922556c88e5eb0bebc59264dddaaa08c899df6', class: `${"wm-" + this.modalType}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: '27b1e5ab577d061836a3e3e2d6b7fb01fedc96db', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
109
+ return (h("dialog", { key: '37c9534a1839dc5c6e2be8ca838fa9da956d34ba', class: `${"wm-" + this.modalType}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'ce59adc5fa795c32da6fd374468c451147ccca38', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
112
110
  const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
113
111
  // no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
114
112
  focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
115
- } }), !this.hasBrowserPopoverSupport && h("div", { key: '113b03cdb98de4c9f29b515fa7c6b91fb443ada8', class: "wm-tooltip" }), h("slot", { key: 'a82dbd2e8b1018a2f06db0f30995e6f0ec45d359' }), h("div", { key: '272478190ff26a0e7777ea64ab20f26f1fb260e1', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
113
+ } }), !this.hasBrowserPopoverSupport && h("div", { key: 'c62753c1bba03d72707398899b68fe318d285bc8', class: "wm-tooltip" }), h("slot", { key: '24f8462de2987ddadc5a4573bb9ff0a4ad42d95a' }), h("div", { key: '390395f0b4bc778d6811276f2a7facfe3fd8f9da', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
116
114
  this.focusFirstElement.emit();
117
115
  } })));
118
116
  }
@@ -131,6 +129,7 @@ export class Modal {
131
129
  return {
132
130
  "open": {
133
131
  "type": "boolean",
132
+ "attribute": "open",
134
133
  "mutable": true,
135
134
  "complexType": {
136
135
  "original": "boolean",
@@ -143,12 +142,14 @@ export class Modal {
143
142
  "tags": [],
144
143
  "text": ""
145
144
  },
146
- "attribute": "open",
145
+ "getter": false,
146
+ "setter": false,
147
147
  "reflect": true,
148
148
  "defaultValue": "false"
149
149
  },
150
150
  "elementToFocus": {
151
151
  "type": "string",
152
+ "attribute": "element-to-focus",
152
153
  "mutable": true,
153
154
  "complexType": {
154
155
  "original": "\"primary\" | \"secondary\" | string",
@@ -161,12 +162,14 @@ export class Modal {
161
162
  "tags": [],
162
163
  "text": ""
163
164
  },
164
- "attribute": "element-to-focus",
165
+ "getter": false,
166
+ "setter": false,
165
167
  "reflect": false,
166
168
  "defaultValue": "\"\""
167
169
  },
168
170
  "modalType": {
169
171
  "type": "string",
172
+ "attribute": "modal-type",
170
173
  "mutable": false,
171
174
  "complexType": {
172
175
  "original": "\"modal\" | \"dialog\"",
@@ -179,12 +182,14 @@ export class Modal {
179
182
  "tags": [],
180
183
  "text": ""
181
184
  },
182
- "attribute": "modal-type",
185
+ "getter": false,
186
+ "setter": false,
183
187
  "reflect": true,
184
188
  "defaultValue": "\"modal\""
185
189
  },
186
190
  "uid": {
187
191
  "type": "string",
192
+ "attribute": "uid",
188
193
  "mutable": true,
189
194
  "complexType": {
190
195
  "original": "string",
@@ -197,7 +202,8 @@ export class Modal {
197
202
  "tags": [],
198
203
  "text": ""
199
204
  },
200
- "attribute": "uid",
205
+ "getter": false,
206
+ "setter": false,
201
207
  "reflect": true
202
208
  }
203
209
  };