@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
@@ -1,21 +1,17 @@
1
1
  import { h } from "@stencil/core";
2
- import { handleDisabledAttribute, toBool } from "../../global/functions";
2
+ import { handleDisabledAttribute, toBool, showTooltip, hideTooltip } from "../../global/functions";
3
3
  import { globalMessages } from "../../global/intl";
4
4
  export class Textarea {
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.placeholder = "";
13
10
  this.requiredField = false;
14
- this.errorMessage = undefined;
15
- this.characterLimit = undefined;
16
11
  this.inputWidth = "";
17
12
  this.inputHeight = "";
18
13
  this.announcement = "";
14
+ this.previousValue = "";
19
15
  }
20
16
  get charCount() {
21
17
  return this.value.length;
@@ -58,6 +54,12 @@ export class Textarea {
58
54
  }
59
55
  this.previousValue = this.value;
60
56
  }
57
+ handleLabelMouseEnter(ev) {
58
+ const labelEl = ev.target;
59
+ if (labelEl.scrollWidth > labelEl.clientWidth) {
60
+ showTooltip("right", ev.target, this.label);
61
+ }
62
+ }
61
63
  announce(message) {
62
64
  if (this.liveRegionEl.textContent === message) {
63
65
  message += "\u00A0";
@@ -65,7 +67,7 @@ export class Textarea {
65
67
  this.announcement = message;
66
68
  }
67
69
  render() {
68
- return (h("div", { key: '51737864a8a2007cd82214adfb9917318eac76ae', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '5dd0a741e86fd626019c3ccfb25cb2741c405a65', class: "label-wrapper" }, h("label", { key: 'a3843d5240a623a31725bb94d73a80616a6c7f70', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: '5d9e488db01668a794bdaa1c0b8b2d29c94874b4', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: 'cfca0f1f18ddc808dd90d300d35de54918aaea80', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: '3d91905f9dd67127c4f84ecc4d5bc8eb011a12e0', class: "inner-wrapper" }, h("div", { key: '603c2ed498216be12a757d1725c96d25a726f1fa', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: 'cdeaa4d4dd779682a7bcc9118119ce120d82489e', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: '32e14b8d7bc414f4d75d6dbce66805c6c8658574', id: "info", class: "info" }, this.info)), h("div", { key: '6bb6d301754a4305704eab7db1285e60d6ebae91', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '9c01d2c255d163bc461cd8cffdf8530831b6858e', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
70
+ return (h("div", { key: '5bd7daf935fa75bec3fccc000c4674b23da1c043', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '52f18f7ef95fb4505f19ec57b3328db9706af750', class: "label-wrapper" }, h("label", { key: '510bf29970364b1caacfd1eef164a2f766217df2', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '47024a21e0940c6c40dde2b131c337636fe1bbdf', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("span", { key: 'dff37fb5a589b44b4eb249b0b3a572e9944a15cb', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '8dda587667514bbf0db310491cf58d2b3ea00fea', class: "inner-wrapper" }, h("div", { key: '8782435cdc9150197ac29a09fd6b3d6b95413c59', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '3d7a017570a79669f03914e00be725a633717c66', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: '7cfb20e30f1413096a861089e932aabc46be0593', id: "info", class: "info" }, this.info)), h("div", { key: '2f450eb52e3bf5e805e125f19e59766c4d45a75c', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '024947b6fa1ef096bb09c1c9183984e647ed5432', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
69
71
  }
70
72
  static get is() { return "wm-textarea"; }
71
73
  static get encapsulation() { return "shadow"; }
@@ -83,6 +85,7 @@ export class Textarea {
83
85
  return {
84
86
  "label": {
85
87
  "type": "string",
88
+ "attribute": "label",
86
89
  "mutable": false,
87
90
  "complexType": {
88
91
  "original": "string",
@@ -95,11 +98,13 @@ export class Textarea {
95
98
  "tags": [],
96
99
  "text": ""
97
100
  },
98
- "attribute": "label",
101
+ "getter": false,
102
+ "setter": false,
99
103
  "reflect": false
100
104
  },
101
105
  "labelPosition": {
102
106
  "type": "string",
107
+ "attribute": "label-position",
103
108
  "mutable": false,
104
109
  "complexType": {
105
110
  "original": "\"top\" | \"left\" | \"none\"",
@@ -112,12 +117,14 @@ export class Textarea {
112
117
  "tags": [],
113
118
  "text": ""
114
119
  },
115
- "attribute": "label-position",
120
+ "getter": false,
121
+ "setter": false,
116
122
  "reflect": false,
117
123
  "defaultValue": "\"top\""
118
124
  },
119
125
  "value": {
120
126
  "type": "string",
127
+ "attribute": "value",
121
128
  "mutable": true,
122
129
  "complexType": {
123
130
  "original": "string",
@@ -130,12 +137,14 @@ export class Textarea {
130
137
  "tags": [],
131
138
  "text": ""
132
139
  },
133
- "attribute": "value",
140
+ "getter": false,
141
+ "setter": false,
134
142
  "reflect": false,
135
143
  "defaultValue": "\"\""
136
144
  },
137
145
  "disabled": {
138
146
  "type": "boolean",
147
+ "attribute": "disabled",
139
148
  "mutable": false,
140
149
  "complexType": {
141
150
  "original": "boolean",
@@ -148,12 +157,14 @@ export class Textarea {
148
157
  "tags": [],
149
158
  "text": ""
150
159
  },
151
- "attribute": "disabled",
160
+ "getter": false,
161
+ "setter": false,
152
162
  "reflect": false,
153
163
  "defaultValue": "false"
154
164
  },
155
165
  "info": {
156
166
  "type": "string",
167
+ "attribute": "info",
157
168
  "mutable": false,
158
169
  "complexType": {
159
170
  "original": "string",
@@ -166,11 +177,13 @@ export class Textarea {
166
177
  "tags": [],
167
178
  "text": ""
168
179
  },
169
- "attribute": "info",
180
+ "getter": false,
181
+ "setter": false,
170
182
  "reflect": false
171
183
  },
172
184
  "placeholder": {
173
185
  "type": "string",
186
+ "attribute": "placeholder",
174
187
  "mutable": false,
175
188
  "complexType": {
176
189
  "original": "string",
@@ -183,12 +196,14 @@ export class Textarea {
183
196
  "tags": [],
184
197
  "text": ""
185
198
  },
186
- "attribute": "placeholder",
199
+ "getter": false,
200
+ "setter": false,
187
201
  "reflect": false,
188
202
  "defaultValue": "\"\""
189
203
  },
190
204
  "requiredField": {
191
205
  "type": "boolean",
206
+ "attribute": "required-field",
192
207
  "mutable": false,
193
208
  "complexType": {
194
209
  "original": "boolean",
@@ -201,12 +216,14 @@ export class Textarea {
201
216
  "tags": [],
202
217
  "text": ""
203
218
  },
204
- "attribute": "required-field",
219
+ "getter": false,
220
+ "setter": false,
205
221
  "reflect": false,
206
222
  "defaultValue": "false"
207
223
  },
208
224
  "errorMessage": {
209
225
  "type": "string",
226
+ "attribute": "error-message",
210
227
  "mutable": false,
211
228
  "complexType": {
212
229
  "original": "string",
@@ -219,11 +236,13 @@ export class Textarea {
219
236
  "tags": [],
220
237
  "text": ""
221
238
  },
222
- "attribute": "error-message",
239
+ "getter": false,
240
+ "setter": false,
223
241
  "reflect": false
224
242
  },
225
243
  "characterLimit": {
226
244
  "type": "number",
245
+ "attribute": "character-limit",
227
246
  "mutable": false,
228
247
  "complexType": {
229
248
  "original": "number",
@@ -236,11 +255,13 @@ export class Textarea {
236
255
  "tags": [],
237
256
  "text": ""
238
257
  },
239
- "attribute": "character-limit",
258
+ "getter": false,
259
+ "setter": false,
240
260
  "reflect": false
241
261
  },
242
262
  "inputWidth": {
243
263
  "type": "string",
264
+ "attribute": "input-width",
244
265
  "mutable": false,
245
266
  "complexType": {
246
267
  "original": "string",
@@ -253,12 +274,14 @@ export class Textarea {
253
274
  "tags": [],
254
275
  "text": ""
255
276
  },
256
- "attribute": "input-width",
277
+ "getter": false,
278
+ "setter": false,
257
279
  "reflect": false,
258
280
  "defaultValue": "\"\""
259
281
  },
260
282
  "inputHeight": {
261
283
  "type": "string",
284
+ "attribute": "input-height",
262
285
  "mutable": false,
263
286
  "complexType": {
264
287
  "original": "string",
@@ -271,7 +294,8 @@ export class Textarea {
271
294
  "tags": [],
272
295
  "text": ""
273
296
  },
274
- "attribute": "input-height",
297
+ "getter": false,
298
+ "setter": false,
275
299
  "reflect": false,
276
300
  "defaultValue": "\"\""
277
301
  }
@@ -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
  }
@@ -921,21 +890,28 @@
921
890
  flex-direction: column;
922
891
  font-size: 0.875rem;
923
892
  }
893
+ :host .wrapper .label-wrapper {
894
+ display: flex;
895
+ }
924
896
  :host .wrapper .label {
925
- display: block;
897
+ display: inline-block;
926
898
  line-height: normal;
927
899
  font-weight: 600;
928
900
  white-space: nowrap;
901
+ overflow: hidden;
902
+ text-overflow: ellipsis;
929
903
  margin-bottom: 0.25rem;
930
904
  }
931
- :host .wrapper .label .required {
905
+ :host .wrapper .required {
906
+ display: inline-block;
932
907
  color: var(--wmcolor-text-required);
933
908
  }
934
909
  :host .wrapper.label-left {
935
910
  flex-direction: row;
936
911
  }
937
912
  :host .wrapper.label-left .label-wrapper {
938
- line-height: 2.5rem;
913
+ height: fit-content;
914
+ margin-right: 0.75rem;
939
915
  }
940
916
  :host .wrapper.label-left .label-wrapper .label {
941
917
  display: flex;
@@ -943,7 +919,6 @@
943
919
  min-height: 2.5rem;
944
920
  white-space: normal;
945
921
  margin-bottom: 0;
946
- margin-right: 0.75rem;
947
922
  }
948
923
  :host .wrapper.label-none label {
949
924
  position: absolute !important;
@@ -957,11 +932,11 @@
957
932
  white-space: nowrap !important;
958
933
  margin: -1px !important;
959
934
  }
960
- :host .wrapper.invalid .label {
935
+ :host .wrapper.invalid .label-wrapper {
961
936
  color: var(--wmcolor-text-error);
962
937
  position: relative;
963
938
  }
964
- :host .wrapper.invalid .label:after {
939
+ :host .wrapper.invalid .label-wrapper:after {
965
940
  content: "";
966
941
  display: block;
967
942
  background-color: var(--icon-fill, currentColor);
@@ -970,14 +945,14 @@
970
945
  -webkit-mask-size: 100%;
971
946
  mask-size: 100%;
972
947
  }
973
- :host .wrapper.invalid .label:after {
948
+ :host .wrapper.invalid .label-wrapper:after {
974
949
  -webkit-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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
975
950
  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='M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z'/%3E%3C/svg%3E%0A");
976
951
  }
977
- :host .wrapper.invalid .label:after {
952
+ :host .wrapper.invalid .label-wrapper:after {
978
953
  display: inline-block;
979
954
  margin-inline-start: 0.25rem;
980
- vertical-align: middle;
955
+ align-self: center;
981
956
  flex-shrink: 0;
982
957
  transform: translateY(-1px);
983
958
  }
@@ -1,7 +1,13 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { intl, shouldOpenUp, toBool, handleDisabledAttribute } from "../../global/functions";
2
+ import { intl, shouldOpenUp, toBool, handleDisabledAttribute, showTooltip, hideTooltip } from "../../global/functions";
3
3
  export class Timepicker {
4
4
  constructor() {
5
+ this.disabled = false;
6
+ this.value = "";
7
+ this.label = "";
8
+ this.labelPosition = "top";
9
+ this.requiredField = false;
10
+ this.isExpanded = false;
5
11
  this.twelveHrValid = /^(0?[0-9]|1[0-2])\s*:?\s*([0-5][0-9])?\s?(a|p|am|pm)?$/i;
6
12
  this.twentyFourHrValid = /^(0?[0-9]|1[0-9]|2[0-4])\s*:?\s*([0-5][0-9])?$/;
7
13
  this.timeFormat = "hh:mm";
@@ -12,14 +18,6 @@ export class Timepicker {
12
18
  defaultMessage: "Select time",
13
19
  description: "Button text for screen readers.",
14
20
  });
15
- this.disabled = false;
16
- this.value = "";
17
- this.errorMessage = undefined;
18
- this.label = "";
19
- this.labelPosition = "top";
20
- this.requiredField = false;
21
- this.preselected = undefined;
22
- this.isExpanded = false;
23
21
  }
24
22
  get selectedOption() {
25
23
  return this.optionsList.filter((option) => option.tabIndex === 0)[0];
@@ -168,6 +166,12 @@ export class Timepicker {
168
166
  this.wmTimepickerInputBlurred.emit();
169
167
  this.tpWrapper.classList.remove("focus");
170
168
  }
169
+ handleLabelMouseEnter(ev) {
170
+ const labelEl = ev.target;
171
+ if (labelEl.scrollWidth > labelEl.clientWidth) {
172
+ showTooltip("right", ev.target, this.label);
173
+ }
174
+ }
171
175
  generateTimeIntervals() {
172
176
  let timeIntervals = [];
173
177
  let startTime = 0;
@@ -275,13 +279,13 @@ export class Timepicker {
275
279
  return this.times.map((time, index) => (h("li", { id: `option${index + 1}`, "data-time": time, role: "option", onClick: () => this.handleOptionClick(time) }, this.reformatTimeInternal("12", time))));
276
280
  }
277
281
  render() {
278
- return (h(Host, { key: '75c58eb3889b4608731626a626c3e258d0ec847f', onBlur: () => this.close(false) }, h("div", { key: 'ca41df7312aee146f9bba55a014db11a4bc7bdca', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '9b23e549863796691cd801d1f7dc4aa2647cd500', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '0a2962b5f6012d7e574a7514c754fd50c6d799a3', id: "label", class: "label", htmlFor: "time-input" }, this.label, this.requiredField && (h("span", { key: '4dd27ce330c1576bcd95c414686504e843b7f383', class: "required", "aria-hidden": "true" }, "*"))))), h("div", { key: 'f25c696ee97660f53339083b8fd8350c6fef3709' }, h("div", { key: '09a6c2e7d95170af417bfb9ec25ba8a57532d666', class: "inner-wrapper" }, h("input", { key: 'c5ab576ef84f9909530fd0ab04f634019ce8ac9a', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: '9669a42ba3897487e8c5ba2096ccbd69431ed6d0', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
282
+ return (h(Host, { key: 'fd0acc447628174ea8551c1ea7cafdc8b0b6ec74', onBlur: () => this.close(false) }, h("div", { key: 'a8c7c453558df7a33fc42d71eff78894a36306d6', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '9f259605e513d12e32716f12b4d5dee9fb97d10a', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '1b1b596a992a66f6738cab61086c9d7298934e8c', id: "label", class: "label", htmlFor: "time-input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: '4fc12427a1b3c62b9a6e7cd53c83cec311b46f1e', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '6f299347f62dd5299f0223bbdee82fc55dafe06a' }, h("div", { key: 'd78e3b28b110714558d94ba03bedc4d63e8a41d7', class: "inner-wrapper" }, h("input", { key: '1af64c4c0ab7bd983d3e926ad1ea146bed0dadea', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: 'a99cd67d7bfa17c4ba512b73097b5987b8d5d4f8', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
279
283
  // This addresses an issue in Safari, where clicking buttons does not focus them
280
284
  // if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
281
285
  onMouseDown: (ev) => {
282
286
  ev.preventDefault();
283
287
  this.buttonEl.focus();
284
- } }, h("span", { key: '1895dd0bb547ff6538c7c9c71ef908789cf0a063', class: "svg-icon svg-time" })), h("ul", { key: 'ff29ad47af475536ee5ff28b331d119a1a62d34f', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: '1bfc84ec0632852c000dc94ef8e63ec55689174e', id: "error", class: "error" }, this.errorMessage)), h("div", { key: 'd7c1b581e3441cadeb547f29399aee7412011670', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
288
+ } }, h("span", { key: 'd50582487d9860716e0bdc67b99ac75b346d62aa', class: "svg-icon svg-time" })), h("ul", { key: '63a9ed95dc1c238d12d84150c406e5ff877d71b3', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: '25ea586bea9676a7d18c2fdeada1dcaf0a224471', id: "error", class: "error" }, this.errorMessage)), h("div", { key: '4985d6ee5df49f687eaeeb06a1b5a0c8b14b7119', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
285
289
  }
286
290
  static get is() { return "wm-timepicker"; }
287
291
  static get encapsulation() { return "shadow"; }
@@ -300,6 +304,7 @@ export class Timepicker {
300
304
  return {
301
305
  "disabled": {
302
306
  "type": "boolean",
307
+ "attribute": "disabled",
303
308
  "mutable": false,
304
309
  "complexType": {
305
310
  "original": "boolean",
@@ -312,12 +317,14 @@ export class Timepicker {
312
317
  "tags": [],
313
318
  "text": ""
314
319
  },
315
- "attribute": "disabled",
320
+ "getter": false,
321
+ "setter": false,
316
322
  "reflect": false,
317
323
  "defaultValue": "false"
318
324
  },
319
325
  "value": {
320
326
  "type": "string",
327
+ "attribute": "value",
321
328
  "mutable": true,
322
329
  "complexType": {
323
330
  "original": "string",
@@ -330,12 +337,14 @@ export class Timepicker {
330
337
  "tags": [],
331
338
  "text": ""
332
339
  },
333
- "attribute": "value",
340
+ "getter": false,
341
+ "setter": false,
334
342
  "reflect": false,
335
343
  "defaultValue": "\"\""
336
344
  },
337
345
  "errorMessage": {
338
346
  "type": "string",
347
+ "attribute": "error-message",
339
348
  "mutable": false,
340
349
  "complexType": {
341
350
  "original": "string",
@@ -348,11 +357,13 @@ export class Timepicker {
348
357
  "tags": [],
349
358
  "text": ""
350
359
  },
351
- "attribute": "error-message",
360
+ "getter": false,
361
+ "setter": false,
352
362
  "reflect": false
353
363
  },
354
364
  "label": {
355
365
  "type": "string",
366
+ "attribute": "label",
356
367
  "mutable": false,
357
368
  "complexType": {
358
369
  "original": "string",
@@ -365,12 +376,14 @@ export class Timepicker {
365
376
  "tags": [],
366
377
  "text": ""
367
378
  },
368
- "attribute": "label",
379
+ "getter": false,
380
+ "setter": false,
369
381
  "reflect": false,
370
382
  "defaultValue": "\"\""
371
383
  },
372
384
  "labelPosition": {
373
385
  "type": "string",
386
+ "attribute": "label-position",
374
387
  "mutable": false,
375
388
  "complexType": {
376
389
  "original": "\"top\" | \"left\" | \"none\"",
@@ -383,12 +396,14 @@ export class Timepicker {
383
396
  "tags": [],
384
397
  "text": ""
385
398
  },
386
- "attribute": "label-position",
399
+ "getter": false,
400
+ "setter": false,
387
401
  "reflect": false,
388
402
  "defaultValue": "\"top\""
389
403
  },
390
404
  "requiredField": {
391
405
  "type": "boolean",
406
+ "attribute": "required-field",
392
407
  "mutable": false,
393
408
  "complexType": {
394
409
  "original": "boolean",
@@ -401,12 +416,14 @@ export class Timepicker {
401
416
  "tags": [],
402
417
  "text": ""
403
418
  },
404
- "attribute": "required-field",
419
+ "getter": false,
420
+ "setter": false,
405
421
  "reflect": false,
406
422
  "defaultValue": "false"
407
423
  },
408
424
  "preselected": {
409
425
  "type": "string",
426
+ "attribute": "preselected",
410
427
  "mutable": false,
411
428
  "complexType": {
412
429
  "original": "string",
@@ -419,7 +436,8 @@ export class Timepicker {
419
436
  "tags": [],
420
437
  "text": ""
421
438
  },
422
- "attribute": "preselected",
439
+ "getter": false,
440
+ "setter": false,
423
441
  "reflect": false
424
442
  }
425
443
  };
@@ -2,6 +2,10 @@ import { Host, h } from "@stencil/core";
2
2
  import { showTooltip, hideTooltip, shouldOpenUp, shouldOpenDown, shouldShiftLeft, shouldShiftRight, intl, debounce, findAllScrollableParents, getCumulativeScrollOffset, } from "../../global/functions";
3
3
  export class Toggletip {
4
4
  constructor() {
5
+ this.tooltipPosition = "bottom-right";
6
+ this.targetSize = "small";
7
+ this.toggletipType = "info";
8
+ this.isHidden = true; // initially toggletip is hidden so it can be measured and replaced before it is displayed. It is also hidden while the user is scrolling in browsers that don't fully implement the popover API (as of this day FF and Safari don't know about anchor())
5
9
  this.scrollableParents = [];
6
10
  this.tooltipInfoMessage = intl.formatMessage({
7
11
  id: "toggletip.moreInformation",
@@ -20,12 +24,6 @@ export class Toggletip {
20
24
  this.debouncedResize = debounce(() => {
21
25
  this.scrollableParents = findAllScrollableParents(this.el);
22
26
  }, 200);
23
- this.label = undefined;
24
- this.tooltip = undefined;
25
- this.tooltipPosition = "bottom-right";
26
- this.targetSize = "small";
27
- this.toggletipType = "info";
28
- this.isHidden = true;
29
27
  }
30
28
  get isOpen() {
31
29
  return this.toggletipEl.matches(":popover-open");
@@ -221,9 +219,9 @@ export class Toggletip {
221
219
  }
222
220
  }
223
221
  render() {
224
- return (h(Host, { key: '5d8d7bd25f7ed0e9626944a09f18c7a534b35181', class: `size-${this.targetSize}` }, h("button", { key: '414f8f09f3a1d20b9e8641cab03632ccd91f8f71', class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
222
+ return (h(Host, { key: '653e8a3a21b1a63ebae98f4813393ae2c3020aa0', class: `size-${this.targetSize}` }, h("button", { key: '15a4de61c15d32091643bbabaf438f5116e5bea9', class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
225
223
  // In order to position the tooltip identically to the toggletip, its presence is determined by these four events
226
- onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '8d032e897502ded7631b494314f201d35dd3acb3', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip" }, this.tooltip), h("div", { key: '4cc15a0db02fb19faa8d8ac7e9253c29e74e7ac5', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
224
+ onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '96e4c18106ed35a41a0fc4ff2ea2b239cac541e1', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip" }, this.tooltip), h("div", { key: 'd6cf716efcd55983e0b86854eac118a9bbb01d76', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
227
225
  }
228
226
  static get is() { return "wm-toggletip"; }
229
227
  static get encapsulation() { return "shadow"; }
@@ -242,6 +240,7 @@ export class Toggletip {
242
240
  return {
243
241
  "label": {
244
242
  "type": "string",
243
+ "attribute": "label",
245
244
  "mutable": false,
246
245
  "complexType": {
247
246
  "original": "string",
@@ -254,11 +253,13 @@ export class Toggletip {
254
253
  "tags": [],
255
254
  "text": ""
256
255
  },
257
- "attribute": "label",
256
+ "getter": false,
257
+ "setter": false,
258
258
  "reflect": false
259
259
  },
260
260
  "tooltip": {
261
261
  "type": "string",
262
+ "attribute": "tooltip",
262
263
  "mutable": false,
263
264
  "complexType": {
264
265
  "original": "string",
@@ -271,11 +272,13 @@ export class Toggletip {
271
272
  "tags": [],
272
273
  "text": ""
273
274
  },
274
- "attribute": "tooltip",
275
+ "getter": false,
276
+ "setter": false,
275
277
  "reflect": false
276
278
  },
277
279
  "tooltipPosition": {
278
280
  "type": "string",
281
+ "attribute": "tooltip-position",
279
282
  "mutable": false,
280
283
  "complexType": {
281
284
  "original": "TooltipPlacement",
@@ -294,12 +297,14 @@ export class Toggletip {
294
297
  "tags": [],
295
298
  "text": ""
296
299
  },
297
- "attribute": "tooltip-position",
300
+ "getter": false,
301
+ "setter": false,
298
302
  "reflect": false,
299
303
  "defaultValue": "\"bottom-right\""
300
304
  },
301
305
  "targetSize": {
302
306
  "type": "string",
307
+ "attribute": "target-size",
303
308
  "mutable": false,
304
309
  "complexType": {
305
310
  "original": "\"small\" | \"large\"",
@@ -312,12 +317,14 @@ export class Toggletip {
312
317
  "tags": [],
313
318
  "text": ""
314
319
  },
315
- "attribute": "target-size",
320
+ "getter": false,
321
+ "setter": false,
316
322
  "reflect": false,
317
323
  "defaultValue": "\"small\""
318
324
  },
319
325
  "toggletipType": {
320
326
  "type": "string",
327
+ "attribute": "toggletip-type",
321
328
  "mutable": false,
322
329
  "complexType": {
323
330
  "original": "\"info\" | \"ai\"",
@@ -330,7 +337,8 @@ export class Toggletip {
330
337
  "tags": [],
331
338
  "text": ""
332
339
  },
333
- "attribute": "toggletip-type",
340
+ "getter": false,
341
+ "setter": false,
334
342
  "reflect": false,
335
343
  "defaultValue": "\"info\""
336
344
  }