@watermarkinsights/ripple 5.30.0 → 5.31.0-alpha.1

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 (444) hide show
  1. package/dist/cjs/app-globals-df7ca137.js +103 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/priv-calendar.cjs.entry.js +27 -27
  4. package/dist/cjs/priv-chart-popover-old.cjs.entry.js +2 -2
  5. package/dist/cjs/priv-chart-popover_2.cjs.entry.js +3 -3
  6. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  7. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  8. package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
  9. package/dist/cjs/ripple.cjs.js +1 -1
  10. package/dist/cjs/wm-action-menu_2.cjs.entry.js +5 -4
  11. package/dist/cjs/wm-button.cjs.entry.js +1 -1
  12. package/dist/cjs/wm-chart-bar.cjs.entry.js +1 -1
  13. package/dist/cjs/wm-chart-column.cjs.entry.js +1 -1
  14. package/dist/cjs/wm-chart.cjs.entry.js +1 -1
  15. package/dist/cjs/wm-date-range.cjs.entry.js +25 -9
  16. package/dist/cjs/wm-datepicker.cjs.entry.js +37 -11
  17. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  18. package/dist/cjs/wm-file.cjs.entry.js +1 -1
  19. package/dist/cjs/wm-flyout.cjs.entry.js +6 -1
  20. package/dist/cjs/wm-input.cjs.entry.js +1 -1
  21. package/dist/cjs/wm-line-chart.cjs.entry.js +1 -1
  22. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
  23. package/dist/cjs/wm-modal_3.cjs.entry.js +19 -4
  24. package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
  25. package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
  26. package/dist/cjs/wm-nested-select.cjs.entry.js +3 -3
  27. package/dist/cjs/wm-optgroup.cjs.entry.js +11 -1
  28. package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
  29. package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
  30. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
  31. package/dist/cjs/wm-search.cjs.entry.js +2 -2
  32. package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
  33. package/dist/cjs/wm-tab-item_3.cjs.entry.js +6 -6
  34. package/dist/cjs/wm-tag-input.cjs.entry.js +2 -2
  35. package/dist/cjs/wm-tag-option.cjs.entry.js +8 -0
  36. package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
  37. package/dist/cjs/wm-timepicker.cjs.entry.js +14 -2
  38. package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
  39. package/dist/cjs/wm-uploader.cjs.entry.js +2 -2
  40. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +7 -2
  41. package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.js +7 -2
  42. package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +58 -6
  43. package/dist/collection/components/charts/wm-chart/wm-chart.js +139 -13
  44. package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +134 -7
  45. package/dist/collection/components/charts/wm-chart-column/wm-chart-column.js +102 -8
  46. package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.js +90 -8
  47. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +153 -17
  48. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +63 -7
  49. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +85 -5
  50. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +52 -6
  51. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +47 -47
  52. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +33 -29
  53. package/dist/collection/components/datepickers/wm-date-range.js +246 -29
  54. package/dist/collection/components/datepickers/wm-datepicker.js +254 -30
  55. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +7 -1
  56. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +193 -17
  57. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +116 -11
  58. package/dist/collection/components/selects/wm-option/wm-option.js +153 -18
  59. package/dist/collection/components/selects/wm-select/wm-select.js +187 -21
  60. package/dist/collection/components/wm-action-menu/wm-action-menu.js +148 -12
  61. package/dist/collection/components/wm-button/wm-button.js +212 -18
  62. package/dist/collection/components/wm-file/wm-file.js +108 -14
  63. package/dist/collection/components/wm-file-list/wm-file-list.js +74 -2
  64. package/dist/collection/components/wm-flyout/wm-flyout.js +215 -16
  65. package/dist/collection/components/wm-input/wm-input.js +195 -20
  66. package/dist/collection/components/wm-menuitem/wm-menuitem.js +62 -5
  67. package/dist/collection/components/wm-modal/wm-modal-footer.js +63 -6
  68. package/dist/collection/components/wm-modal/wm-modal-header.js +34 -3
  69. package/dist/collection/components/wm-modal/wm-modal.js +181 -14
  70. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +5 -1
  71. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +5 -1
  72. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +6 -2
  73. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +37 -3
  74. package/dist/collection/components/wm-navigation/wm-navigation-item.js +47 -5
  75. package/dist/collection/components/wm-navigation/wm-navigation.js +54 -4
  76. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +5 -1
  77. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +5 -1
  78. package/dist/collection/components/wm-navigator/wm-navigator.js +102 -9
  79. package/dist/collection/components/wm-pagination/wm-pagination.js +106 -9
  80. package/dist/collection/components/wm-search/wm-search.js +182 -16
  81. package/dist/collection/components/wm-snackbar/wm-snackbar.js +96 -5
  82. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +66 -10
  83. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +96 -5
  84. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +42 -6
  85. package/dist/collection/components/wm-tag-input/wm-tag-input.js +205 -17
  86. package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +97 -12
  87. package/dist/collection/components/wm-textarea/wm-textarea.js +116 -13
  88. package/dist/collection/components/wm-timepicker/wm-timepicker.js +190 -16
  89. package/dist/collection/components/wm-toggletip/wm-toggletip.js +87 -8
  90. package/dist/collection/components/wm-uploader/wm-uploader.js +142 -14
  91. package/dist/collection/components/wm-wrapper/wm-wrapper.js +3 -0
  92. package/dist/collection/global/services/__mocks__/http-service.js +1 -1
  93. package/dist/docs/docs.d.ts +435 -0
  94. package/dist/docs/docs.json +13915 -0
  95. package/dist/docs/props-reference.json +2028 -0
  96. package/dist/docs/skill/index.md +32 -0
  97. package/dist/docs/skill/wm-action-menu.md +93 -0
  98. package/dist/docs/skill/wm-button.md +103 -0
  99. package/dist/docs/skill/wm-chart-bar.md +129 -0
  100. package/dist/docs/skill/wm-chart-column.md +96 -0
  101. package/dist/docs/skill/wm-chart-legend.md +67 -0
  102. package/dist/docs/skill/wm-chart-slice.md +55 -0
  103. package/dist/docs/skill/wm-chart.md +92 -0
  104. package/dist/docs/skill/wm-date-range.md +153 -0
  105. package/dist/docs/skill/wm-datepicker.md +134 -0
  106. package/dist/docs/skill/wm-file-list.md +97 -0
  107. package/dist/docs/skill/wm-file.md +78 -0
  108. package/dist/docs/skill/wm-flyout.md +174 -0
  109. package/dist/docs/skill/wm-input.md +126 -0
  110. package/dist/docs/skill/wm-line-chart.md +108 -0
  111. package/dist/docs/skill/wm-menuitem.md +72 -0
  112. package/dist/docs/skill/wm-modal-footer.md +73 -0
  113. package/dist/docs/skill/wm-modal-header.md +65 -0
  114. package/dist/docs/skill/wm-modal.md +137 -0
  115. package/dist/docs/skill/wm-navigation-hamburger.md +56 -0
  116. package/dist/docs/skill/wm-navigation-item.md +69 -0
  117. package/dist/docs/skill/wm-navigation.md +66 -0
  118. package/dist/docs/skill/wm-navigator.md +91 -0
  119. package/dist/docs/skill/wm-nested-select.md +149 -0
  120. package/dist/docs/skill/wm-optgroup.md +71 -0
  121. package/dist/docs/skill/wm-option.md +68 -0
  122. package/dist/docs/skill/wm-pagination.md +95 -0
  123. package/dist/docs/skill/wm-progress-indicator.md +49 -0
  124. package/dist/docs/skill/wm-progress-monitor.md +93 -0
  125. package/dist/docs/skill/wm-progress-slice.md +41 -0
  126. package/dist/docs/skill/wm-search.md +157 -0
  127. package/dist/docs/skill/wm-select.md +148 -0
  128. package/dist/docs/skill/wm-snackbar.md +101 -0
  129. package/dist/docs/skill/wm-tab-item.md +35 -0
  130. package/dist/docs/skill/wm-tab-list.md +112 -0
  131. package/dist/docs/skill/wm-tab-panel.md +33 -0
  132. package/dist/docs/skill/wm-tag-input.md +165 -0
  133. package/dist/docs/skill/wm-tag-option.md +59 -0
  134. package/dist/docs/skill/wm-textarea.md +94 -0
  135. package/dist/docs/skill/wm-timepicker.md +139 -0
  136. package/dist/docs/skill/wm-toggletip.md +92 -0
  137. package/dist/docs/skill/wm-uploader.md +129 -0
  138. package/dist/docs/skill/wm-wrapper.md +6 -0
  139. package/dist/docs/wm-action-menu.md +111 -0
  140. package/dist/docs/wm-button.md +137 -0
  141. package/dist/docs/wm-chart-bar.md +23 -0
  142. package/dist/docs/wm-chart-column.md +26 -0
  143. package/dist/docs/wm-chart-legend.md +31 -0
  144. package/dist/docs/wm-chart-slice.md +14 -0
  145. package/dist/docs/wm-chart.md +30 -0
  146. package/dist/docs/wm-date-range.md +215 -0
  147. package/dist/docs/wm-datepicker.md +210 -0
  148. package/dist/docs/wm-file-list.md +95 -0
  149. package/dist/docs/wm-file.md +34 -0
  150. package/dist/docs/wm-flyout.md +123 -0
  151. package/dist/docs/wm-input.md +120 -0
  152. package/dist/docs/wm-line-chart.md +32 -0
  153. package/dist/docs/wm-menuitem.md +38 -0
  154. package/dist/docs/wm-modal-footer.md +106 -0
  155. package/dist/docs/wm-modal-header.md +100 -0
  156. package/dist/docs/wm-modal.md +127 -0
  157. package/dist/docs/wm-navigation-hamburger.md +91 -0
  158. package/dist/docs/wm-navigation-item.md +98 -0
  159. package/dist/docs/wm-navigation.md +101 -0
  160. package/dist/docs/wm-navigator.md +99 -0
  161. package/dist/docs/wm-nested-select.md +107 -0
  162. package/dist/docs/wm-optgroup.md +28 -0
  163. package/dist/docs/wm-option.md +24 -0
  164. package/dist/docs/wm-pagination.md +94 -0
  165. package/dist/docs/wm-progress-indicator.md +23 -0
  166. package/dist/docs/wm-progress-monitor.md +27 -0
  167. package/dist/docs/wm-progress-slice.md +16 -0
  168. package/dist/docs/wm-search.md +119 -0
  169. package/dist/docs/wm-select.md +120 -0
  170. package/dist/docs/wm-snackbar.md +87 -0
  171. package/dist/docs/wm-tab-item.md +23 -0
  172. package/dist/docs/wm-tab-list.md +98 -0
  173. package/dist/docs/wm-tab-panel.md +18 -0
  174. package/dist/docs/wm-tag-input.md +123 -0
  175. package/dist/docs/wm-tag-option.md +33 -0
  176. package/dist/docs/wm-textarea.md +101 -0
  177. package/dist/docs/wm-timepicker.md +122 -0
  178. package/dist/docs/wm-toggletip.md +86 -0
  179. package/dist/docs/wm-uploader.md +114 -0
  180. package/dist/docs/wm-wrapper.md +7 -0
  181. package/dist/esm/app-globals-466ed44b.js +101 -0
  182. package/dist/esm/loader.js +1 -1
  183. package/dist/esm/priv-calendar.entry.js +27 -27
  184. package/dist/esm/priv-chart-popover-old.entry.js +2 -2
  185. package/dist/esm/priv-chart-popover_2.entry.js +3 -3
  186. package/dist/esm/priv-navigator-button.entry.js +1 -1
  187. package/dist/esm/priv-navigator-item.entry.js +1 -1
  188. package/dist/esm/priv-option-list.entry.js +1 -1
  189. package/dist/esm/ripple.js +1 -1
  190. package/dist/esm/wm-action-menu_2.entry.js +5 -4
  191. package/dist/esm/wm-button.entry.js +1 -1
  192. package/dist/esm/wm-chart-bar.entry.js +1 -1
  193. package/dist/esm/wm-chart-column.entry.js +1 -1
  194. package/dist/esm/wm-chart.entry.js +1 -1
  195. package/dist/esm/wm-date-range.entry.js +25 -9
  196. package/dist/esm/wm-datepicker.entry.js +37 -11
  197. package/dist/esm/wm-file-list.entry.js +1 -1
  198. package/dist/esm/wm-file.entry.js +1 -1
  199. package/dist/esm/wm-flyout.entry.js +6 -1
  200. package/dist/esm/wm-input.entry.js +1 -1
  201. package/dist/esm/wm-line-chart.entry.js +1 -1
  202. package/dist/esm/wm-modal-pss_3.entry.js +4 -4
  203. package/dist/esm/wm-modal_3.entry.js +19 -4
  204. package/dist/esm/wm-navigation_3.entry.js +4 -4
  205. package/dist/esm/wm-navigator.entry.js +1 -1
  206. package/dist/esm/wm-nested-select.entry.js +3 -3
  207. package/dist/esm/wm-optgroup.entry.js +11 -1
  208. package/dist/esm/wm-option_2.entry.js +5 -5
  209. package/dist/esm/wm-pagination.entry.js +1 -1
  210. package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
  211. package/dist/esm/wm-search.entry.js +2 -2
  212. package/dist/esm/wm-snackbar.entry.js +2 -2
  213. package/dist/esm/wm-tab-item_3.entry.js +6 -6
  214. package/dist/esm/wm-tag-input.entry.js +2 -2
  215. package/dist/esm/wm-tag-option.entry.js +8 -0
  216. package/dist/esm/wm-textarea.entry.js +1 -1
  217. package/dist/esm/wm-timepicker.entry.js +14 -2
  218. package/dist/esm/wm-toggletip.entry.js +3 -3
  219. package/dist/esm/wm-uploader.entry.js +2 -2
  220. package/dist/esm-es5/app-globals-466ed44b.js +1 -0
  221. package/dist/esm-es5/loader.js +1 -1
  222. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  223. package/dist/esm-es5/priv-chart-popover-old.entry.js +1 -1
  224. package/dist/esm-es5/priv-chart-popover_2.entry.js +1 -1
  225. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  226. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  227. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  228. package/dist/esm-es5/ripple.js +1 -1
  229. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  230. package/dist/esm-es5/wm-button.entry.js +1 -1
  231. package/dist/esm-es5/wm-chart-bar.entry.js +1 -1
  232. package/dist/esm-es5/wm-chart-column.entry.js +1 -1
  233. package/dist/esm-es5/wm-chart.entry.js +1 -1
  234. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  235. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  236. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  237. package/dist/esm-es5/wm-file.entry.js +1 -1
  238. package/dist/esm-es5/wm-flyout.entry.js +1 -1
  239. package/dist/esm-es5/wm-input.entry.js +1 -1
  240. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  241. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  242. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  243. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  244. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  245. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  246. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  247. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  248. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  249. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  250. package/dist/esm-es5/wm-search.entry.js +1 -1
  251. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  252. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  253. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  254. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  255. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  256. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  257. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  258. package/dist/ripple/{p-1fc894ac.system.entry.js → p-012bd307.system.entry.js} +1 -1
  259. package/dist/ripple/p-03f352dc.entry.js +1 -0
  260. package/dist/ripple/{p-4f53544d.entry.js → p-03ff4f41.entry.js} +1 -1
  261. package/dist/ripple/{p-2a03f658.entry.js → p-045aa27f.entry.js} +1 -1
  262. package/dist/ripple/{p-709d1765.entry.js → p-057ffccb.entry.js} +1 -1
  263. package/dist/ripple/p-06c3dc14.system.entry.js +1 -0
  264. package/dist/ripple/{p-ff6fd274.system.entry.js → p-09a80f59.system.entry.js} +1 -1
  265. package/dist/ripple/{p-3bd8537c.entry.js → p-09fb0a09.entry.js} +1 -1
  266. package/dist/ripple/p-0a05d3a3.js +1 -0
  267. package/dist/ripple/{p-3f69041f.entry.js → p-0ab9bac7.entry.js} +1 -1
  268. package/dist/ripple/{p-332a3e3d.system.entry.js → p-1059cdb9.system.entry.js} +1 -1
  269. package/dist/ripple/{p-dbdae848.system.entry.js → p-106a9459.system.entry.js} +1 -1
  270. package/dist/ripple/{p-e1a6ee77.entry.js → p-16381033.entry.js} +1 -1
  271. package/dist/ripple/{p-b11abb0d.system.entry.js → p-181109f0.system.entry.js} +1 -1
  272. package/dist/ripple/{p-bb9f54cf.system.entry.js → p-1855c3b1.system.entry.js} +1 -1
  273. package/dist/ripple/{p-4533241f.entry.js → p-1c25838e.entry.js} +1 -1
  274. package/dist/ripple/{p-fb6aee09.entry.js → p-1f67b172.entry.js} +1 -1
  275. package/dist/ripple/{p-a3dd5204.system.entry.js → p-22703bcd.system.entry.js} +1 -1
  276. package/dist/ripple/{p-a6aef87d.system.entry.js → p-237388c5.system.entry.js} +1 -1
  277. package/dist/ripple/p-237f5977.system.entry.js +1 -0
  278. package/dist/ripple/p-25d6cc45.system.js +1 -0
  279. package/dist/ripple/{p-09d5381c.entry.js → p-299d2d8b.entry.js} +1 -1
  280. package/dist/ripple/{p-e78f9572.system.entry.js → p-2c1d219f.system.entry.js} +1 -1
  281. package/dist/ripple/{p-84e04896.entry.js → p-2dbf9636.entry.js} +1 -1
  282. package/dist/ripple/{p-05dae6a0.entry.js → p-2dc1071a.entry.js} +1 -1
  283. package/dist/ripple/{p-39bac42a.entry.js → p-3216e2e7.entry.js} +1 -1
  284. package/dist/ripple/p-3252c04b.system.entry.js +1 -0
  285. package/dist/ripple/{p-7ca0bb68.system.entry.js → p-32bac954.system.entry.js} +1 -1
  286. package/dist/ripple/p-33eeaa18.entry.js +1 -0
  287. package/dist/ripple/p-3441da90.entry.js +1 -0
  288. package/dist/ripple/p-3502fd33.system.entry.js +1 -0
  289. package/dist/ripple/{p-f51404f5.entry.js → p-351000b9.entry.js} +1 -1
  290. package/dist/ripple/{p-bf3eef42.entry.js → p-3c0062c5.entry.js} +1 -1
  291. package/dist/ripple/{p-c1abc58e.entry.js → p-3d3836ad.entry.js} +1 -1
  292. package/dist/ripple/p-3e8bfc68.system.entry.js +1 -0
  293. package/dist/ripple/p-3f403a64.system.entry.js +1 -0
  294. package/dist/ripple/{p-b974a535.system.entry.js → p-43e8d384.system.entry.js} +1 -1
  295. package/dist/ripple/p-49dc64ba.entry.js +1 -0
  296. package/dist/ripple/{p-9d345fc7.system.entry.js → p-4a942d74.system.entry.js} +1 -1
  297. package/dist/ripple/p-4cc09fa3.system.entry.js +1 -0
  298. package/dist/ripple/p-5177d4fa.entry.js +1 -0
  299. package/dist/ripple/p-51fff3a7.system.entry.js +1 -0
  300. package/dist/ripple/p-54ba0eae.entry.js +1 -0
  301. package/dist/ripple/{p-c04d0eeb.system.entry.js → p-5609bde2.system.entry.js} +1 -1
  302. package/dist/ripple/{p-86148143.system.entry.js → p-56e1a71d.system.entry.js} +1 -1
  303. package/dist/ripple/{p-f94af31c.entry.js → p-578b5443.entry.js} +1 -1
  304. package/dist/ripple/p-57901fc3.entry.js +1 -0
  305. package/dist/ripple/{p-463be5be.entry.js → p-57a0cb5f.entry.js} +1 -1
  306. package/dist/ripple/{p-0db033c3.system.entry.js → p-59b3f92b.system.entry.js} +1 -1
  307. package/dist/ripple/p-5a533e7c.entry.js +1 -0
  308. package/dist/ripple/{p-5f092b39.system.entry.js → p-61a0ba92.system.entry.js} +1 -1
  309. package/dist/ripple/{p-6de83c6f.entry.js → p-623b89e0.entry.js} +1 -1
  310. package/dist/ripple/{p-6479b06b.entry.js → p-668c0758.entry.js} +1 -1
  311. package/dist/ripple/p-6a6e98c7.entry.js +1 -0
  312. package/dist/ripple/{p-b654743f.system.entry.js → p-6c46dd9a.system.entry.js} +1 -1
  313. package/dist/ripple/{p-4e7ae2c5.system.entry.js → p-6ea254d2.system.entry.js} +1 -1
  314. package/dist/ripple/p-6f875608.system.entry.js +1 -0
  315. package/dist/ripple/{p-d05b7cd3.entry.js → p-71a38bd2.entry.js} +1 -1
  316. package/dist/ripple/{p-dab54a9d.entry.js → p-73a2389d.entry.js} +1 -1
  317. package/dist/ripple/p-759d87de.entry.js +1 -0
  318. package/dist/ripple/{p-227b0af9.entry.js → p-75c5ec39.entry.js} +1 -1
  319. package/dist/ripple/{p-ee729037.system.entry.js → p-7bc3b4ee.system.entry.js} +1 -1
  320. package/dist/ripple/p-7c7988a3.entry.js +1 -0
  321. package/dist/ripple/p-81735196.entry.js +1 -0
  322. package/dist/ripple/{p-a0aba3e0.system.entry.js → p-8376699e.system.entry.js} +1 -1
  323. package/dist/ripple/{p-503330c1.system.entry.js → p-865208b7.system.entry.js} +1 -1
  324. package/dist/ripple/{p-28b8a12e.system.entry.js → p-8715d758.system.entry.js} +1 -1
  325. package/dist/ripple/p-8bfb7664.entry.js +1 -0
  326. package/dist/ripple/{p-680f5703.entry.js → p-8deb22bc.entry.js} +1 -1
  327. package/dist/ripple/p-8e32e9de.system.entry.js +1 -0
  328. package/dist/ripple/{p-bdb10d37.entry.js → p-92e3bf68.entry.js} +1 -1
  329. package/dist/ripple/{p-0feaaae9.system.entry.js → p-942b323c.system.entry.js} +1 -1
  330. package/dist/ripple/{p-5173359e.entry.js → p-94fd1dcc.entry.js} +1 -1
  331. package/dist/ripple/p-991455a2.system.entry.js +1 -0
  332. package/dist/ripple/p-99a112c8.system.entry.js +1 -0
  333. package/dist/ripple/p-9a8d91d6.entry.js +1 -0
  334. package/dist/ripple/{p-e0c0e8b0.system.entry.js → p-9afb642d.system.entry.js} +1 -1
  335. package/dist/ripple/p-9c850273.system.js +1 -0
  336. package/dist/ripple/p-a3f9e257.entry.js +1 -0
  337. package/dist/ripple/p-a5b07241.entry.js +1 -0
  338. package/dist/ripple/{p-d55bd2b9.entry.js → p-a7a6cf55.system.entry.js} +1 -1
  339. package/dist/ripple/{p-6f2d3297.system.entry.js → p-a917ea86.system.entry.js} +1 -1
  340. package/dist/ripple/p-ab5664cd.entry.js +1 -0
  341. package/dist/ripple/{p-cc028323.entry.js → p-acb04e6e.entry.js} +1 -1
  342. package/dist/ripple/p-b2624d8f.system.entry.js +1 -0
  343. package/dist/ripple/p-b5b37960.entry.js +1 -0
  344. package/dist/ripple/p-b713b6de.system.entry.js +1 -0
  345. package/dist/ripple/p-b75e9e5f.entry.js +1 -0
  346. package/dist/ripple/{p-b1924539.system.entry.js → p-b7969fd7.system.entry.js} +1 -1
  347. package/dist/ripple/{p-a7e637a5.system.entry.js → p-b9596bfc.system.entry.js} +1 -1
  348. package/dist/ripple/p-b9d3d967.system.entry.js +1 -0
  349. package/dist/ripple/{p-aafced54.system.entry.js → p-bd365c44.system.entry.js} +1 -1
  350. package/dist/ripple/p-bd9ab5ae.system.entry.js +1 -0
  351. package/dist/ripple/p-c0028f4d.system.entry.js +1 -0
  352. package/dist/ripple/p-c7d3ee52.entry.js +1 -0
  353. package/dist/ripple/p-c8e4e95b.entry.js +1 -0
  354. package/dist/ripple/p-c996ade8.entry.js +1 -0
  355. package/dist/ripple/p-ca8378b0.entry.js +1 -0
  356. package/dist/ripple/{p-bd37dd6f.entry.js → p-cc2176ad.entry.js} +1 -1
  357. package/dist/ripple/p-cd496e63.entry.js +1 -0
  358. package/dist/ripple/p-d0653c32.entry.js +1 -0
  359. package/dist/ripple/{p-9a5d11cb.entry.js → p-d11e5029.entry.js} +1 -1
  360. package/dist/ripple/p-d3d0b626.entry.js +1 -0
  361. package/dist/ripple/p-d4899263.entry.js +1 -0
  362. package/dist/ripple/p-dc82f194.entry.js +1 -0
  363. package/dist/ripple/{p-a6ef995c.system.entry.js → p-ddfb976f.system.entry.js} +1 -1
  364. package/dist/ripple/{p-ee26ba53.entry.js → p-e1899945.entry.js} +1 -1
  365. package/dist/ripple/p-e26b9711.system.entry.js +1 -0
  366. package/dist/ripple/{p-10aea5ee.system.entry.js → p-e31f597a.system.entry.js} +1 -1
  367. package/dist/ripple/p-e35de3cd.system.entry.js +1 -0
  368. package/dist/ripple/p-e3effa1a.system.entry.js +1 -0
  369. package/dist/ripple/p-e674e6a7.system.entry.js +1 -0
  370. package/dist/ripple/{p-8e6e868a.entry.js → p-e7ffd796.entry.js} +1 -1
  371. package/dist/ripple/p-e800717d.entry.js +1 -0
  372. package/dist/ripple/p-eab35bea.entry.js +1 -0
  373. package/dist/ripple/{p-df9d5b14.system.entry.js → p-ebdf16fa.system.entry.js} +1 -1
  374. package/dist/ripple/p-ed9fc1c1.system.entry.js +1 -0
  375. package/dist/ripple/p-eda49f0e.entry.js +1 -0
  376. package/dist/ripple/p-ee33fd7f.system.entry.js +1 -0
  377. package/dist/ripple/p-ee5f43fe.system.entry.js +1 -0
  378. package/dist/ripple/{p-928b3e5e.entry.js → p-f0ee3616.entry.js} +1 -1
  379. package/dist/ripple/{p-02c8bf15.system.entry.js → p-f1215c25.system.entry.js} +1 -1
  380. package/dist/ripple/p-f148ae9d.system.entry.js +1 -0
  381. package/dist/ripple/p-f307aabe.entry.js +1 -0
  382. package/dist/ripple/p-f4f6c904.system.entry.js +1 -0
  383. package/dist/ripple/p-f58833ae.system.entry.js +1 -0
  384. package/dist/ripple/p-f7fc6350.system.js +1 -1
  385. package/dist/ripple/p-f881cdc8.system.entry.js +1 -0
  386. package/dist/ripple/{p-444feb7d.system.entry.js → p-fbb37b4b.system.entry.js} +1 -1
  387. package/dist/ripple/{p-40e8071c.system.entry.js → p-fc905b2f.system.entry.js} +1 -1
  388. package/dist/ripple/ripple.esm.js +1 -1
  389. package/dist/ripple/ripple.js +1 -1
  390. package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +5 -0
  391. package/dist/types/components/charts/priv-chart-popover-old/priv-chart-popover-old.d.ts +5 -0
  392. package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +52 -0
  393. package/dist/types/components/charts/wm-chart/wm-chart.d.ts +111 -0
  394. package/dist/types/components/charts/wm-chart-bar/wm-chart-bar.d.ts +131 -0
  395. package/dist/types/components/charts/wm-chart-column/wm-chart-column.d.ts +100 -0
  396. package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +77 -0
  397. package/dist/types/components/charts/wm-line-chart/wm-line-chart.d.ts +134 -0
  398. package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +52 -0
  399. package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +84 -0
  400. package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +44 -0
  401. package/dist/types/components/datepickers/priv-calendar/priv-calendar.d.ts +6 -2
  402. package/dist/types/components/datepickers/wm-date-range.d.ts +186 -0
  403. package/dist/types/components/datepickers/wm-datepicker.d.ts +170 -2
  404. package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +6 -0
  405. package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +162 -0
  406. package/dist/types/components/selects/wm-optgroup/wm-optgroup.d.ts +87 -0
  407. package/dist/types/components/selects/wm-option/wm-option.d.ts +117 -0
  408. package/dist/types/components/selects/wm-select/wm-select.d.ts +164 -0
  409. package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +122 -0
  410. package/dist/types/components/wm-button/wm-button.d.ts +170 -2
  411. package/dist/types/components/wm-file/wm-file.d.ts +92 -0
  412. package/dist/types/components/wm-file-list/wm-file-list.d.ts +71 -0
  413. package/dist/types/components/wm-flyout/wm-flyout.d.ts +193 -0
  414. package/dist/types/components/wm-input/wm-input.d.ts +158 -0
  415. package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +58 -0
  416. package/dist/types/components/wm-modal/wm-modal-footer.d.ts +54 -0
  417. package/dist/types/components/wm-modal/wm-modal-header.d.ts +30 -0
  418. package/dist/types/components/wm-modal/wm-modal.d.ts +148 -0
  419. package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +4 -0
  420. package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +4 -0
  421. package/dist/types/components/wm-modal-pss/wm-modal-pss.d.ts +4 -0
  422. package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +34 -0
  423. package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +41 -0
  424. package/dist/types/components/wm-navigation/wm-navigation.d.ts +50 -0
  425. package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +4 -0
  426. package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +4 -0
  427. package/dist/types/components/wm-navigator/wm-navigator.d.ts +91 -3
  428. package/dist/types/components/wm-pagination/wm-pagination.d.ts +90 -0
  429. package/dist/types/components/wm-search/wm-search.d.ts +148 -5
  430. package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +94 -0
  431. package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +43 -2
  432. package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +93 -0
  433. package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +28 -2
  434. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +185 -0
  435. package/dist/types/components/wm-tag-input/wm-tag-option/wm-tag-option.d.ts +68 -0
  436. package/dist/types/components/wm-textarea/wm-textarea.d.ts +97 -0
  437. package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +145 -0
  438. package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +74 -0
  439. package/dist/types/components/wm-uploader/wm-uploader.d.ts +128 -0
  440. package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +3 -0
  441. package/dist/types/components.d.ts +10513 -57
  442. package/package.json +2 -2
  443. package/dist/ripple/p-065b0134.entry.js +0 -1
  444. package/dist/ripple/p-210773eb.entry.js +0 -1
@@ -1,5 +1,93 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import { debounce, getTextDir, hideTooltip, showTooltip, findAllScrollableParents } from "../../global/functions";
3
+ /**
4
+ * Dropdown interface that displays a list of action items. When closed it shows a text
5
+ * button, icon button, or selector box depending on action-menu-type. Selecting an item
6
+ * executes an action and closes the menu. Composed of a parent wm-action-menu element and
7
+ * one or more wm-menuitem children.
8
+ *
9
+ * @slot - One or more wm-menuitem elements.
10
+ *
11
+ * @keyboardInteraction
12
+ * - **Trigger button (closed)**: Down Arrow / Space / Enter opens the menu and focuses the first item; Up Arrow opens and focuses the last item.
13
+ * - **Open menu**: Up/Down Arrow navigates items (wraps around); Home/End jumps to first/last; Enter activates the focused item and closes the menu; Escape closes the menu and returns focus to the trigger; Tab closes the menu; typing a character focuses the next item starting with that letter.
14
+ *
15
+ * @accessibility
16
+ * - For `icon` menus, `tooltip` is required and serves as the accessible name announced by screen readers.
17
+ * - When multiple action menus share identical tooltips or button text, use `label-for-identical-buttons` to give each a unique `aria-label`.
18
+ * - Focus returns automatically to the trigger button after an item is activated, unless the action removes the trigger from the DOM — in that case, manage focus explicitly in your action handler.
19
+ *
20
+ * @usageNotes
21
+ * - The default type is `icon` (three-dot "more options" button). Use `text` for a labelled trigger, `selector` or `selector-primary` for a select-box appearance.
22
+ * - `button-text` is required when `action-menu-type` is `text`, `selector`, or `selector-primary`.
23
+ * - `tooltip` is required when `action-menu-type` is `icon`.
24
+ *
25
+ * @example {html} Icon action menu (default)
26
+ * <wm-action-menu tooltip="More options">
27
+ * <wm-menuitem>Edit</wm-menuitem>
28
+ * <wm-menuitem>Delete</wm-menuitem>
29
+ * </wm-action-menu>
30
+ *
31
+ * @example {react} Icon action menu
32
+ * <WmActionMenu tooltip="More options">
33
+ * <WmMenuitem>Edit</WmMenuitem>
34
+ * <WmMenuitem>Delete</WmMenuitem>
35
+ * </WmActionMenu>
36
+ *
37
+ * @example {html} Text action menu
38
+ * <wm-action-menu action-menu-type="text" button-text="Actions">
39
+ * <wm-menuitem>Edit</wm-menuitem>
40
+ * <wm-menuitem>Delete</wm-menuitem>
41
+ * </wm-action-menu>
42
+ *
43
+ * @example {react} Text action menu
44
+ * <WmActionMenu actionMenuType="text" buttonText="Actions">
45
+ * <WmMenuitem>Edit</WmMenuitem>
46
+ * <WmMenuitem>Delete</WmMenuitem>
47
+ * </WmActionMenu>
48
+ *
49
+ * @example {html} Selector action menu
50
+ * <wm-action-menu action-menu-type="selector" button-text="Sort by">
51
+ * <wm-menuitem>Name</wm-menuitem>
52
+ * <wm-menuitem>Date</wm-menuitem>
53
+ * </wm-action-menu>
54
+ *
55
+ * @example {react} Selector action menu
56
+ * <WmActionMenu actionMenuType="selector" buttonText="Sort by">
57
+ * <WmMenuitem>Name</WmMenuitem>
58
+ * <WmMenuitem>Date</WmMenuitem>
59
+ * </WmActionMenu>
60
+ *
61
+ * @example {html} Menu items with icons
62
+ * <wm-action-menu tooltip="File actions">
63
+ * <wm-menuitem icon="#edit">Edit</wm-menuitem>
64
+ * <wm-menuitem icon="#delete">Delete</wm-menuitem>
65
+ * </wm-action-menu>
66
+ *
67
+ * @example {react} Menu items with icons
68
+ * <WmActionMenu tooltip="File actions">
69
+ * <WmMenuitem icon="#edit">Edit</WmMenuitem>
70
+ * <WmMenuitem icon="#delete">Delete</WmMenuitem>
71
+ * </WmActionMenu>
72
+ *
73
+ * @example {html} Identical menus — disambiguate for screen readers with label-for-identical-buttons
74
+ * <wm-action-menu tooltip="Actions" label-for-identical-buttons="Actions for Introduction to Biology">
75
+ * <wm-menuitem>Edit</wm-menuitem>
76
+ * </wm-action-menu>
77
+ * <wm-action-menu tooltip="Actions" label-for-identical-buttons="Actions for Advanced Chemistry">
78
+ * <wm-menuitem>Edit</wm-menuitem>
79
+ * </wm-action-menu>
80
+ *
81
+ * @example {react} Identical menus
82
+ * <WmActionMenu tooltip="Actions" labelForIdenticalButtons="Actions for Introduction to Biology">
83
+ * <WmMenuitem>Edit</WmMenuitem>
84
+ * </WmActionMenu>
85
+ * <WmActionMenu tooltip="Actions" labelForIdenticalButtons="Actions for Advanced Chemistry">
86
+ * <WmMenuitem>Edit</WmMenuitem>
87
+ * </WmActionMenu>
88
+ *
89
+ * @category Basic Controls
90
+ */
3
91
  export class ActionMenu {
4
92
  constructor() {
5
93
  this.openUp = false;
@@ -335,7 +423,7 @@ export class ActionMenu {
335
423
  return null;
336
424
  }
337
425
  render() {
338
- return (h(Host, { key: '089e41398162bb653228788b4317049cde90677a', onBlur: () => this.close(false) }, h("div", { key: '8bf71c94ed904f5c4308b30aaba78910622918ec', class: getTextDir() }, h("button", { key: 'e907d5dbb4c76d9c1dcc4099b3f79faec27f4bdd', ref: (el) => (this.menubtnEl = el), id: "menubtn", class: `wm-button -${this.internalButtonType}${this.darkMode ? " dark" : ""}${this.isTabbing ? " user-is-tabbing" : ""}`, disabled: this.disabled, "aria-label": this.internalButtonType === "icononly"
426
+ return (h(Host, { key: '19a7b9bbd017ed6100d605c56d497f99084bdadc', onBlur: () => this.close(false) }, h("div", { key: '02352c77a57c3811d5bc66be6eeed8ebdf413aa9', class: getTextDir() }, h("button", { key: '070cea3ac5da73352e952b87d342d4b98716346b', ref: (el) => (this.menubtnEl = el), id: "menubtn", class: `wm-button -${this.internalButtonType}${this.darkMode ? " dark" : ""}${this.isTabbing ? " user-is-tabbing" : ""}`, disabled: this.disabled, "aria-label": this.internalButtonType === "icononly"
339
427
  ? this.labelForIdenticalButtons || this.tooltip
340
428
  : this.labelForIdenticalButtons || undefined, "aria-expanded": this.isExpanded ? "true" : "false", "aria-haspopup": "menu", popoverTarget: "menu", popoverTargetAction: "toggle", onMouseEnter: () => this.actionMenuType === "icon" &&
341
429
  showTooltip(this.tooltipPosition || this.horizontalPosition, this.menubtnEl, this.tooltip), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing &&
@@ -343,9 +431,9 @@ export class ActionMenu {
343
431
  showTooltip(this.tooltipPosition || this.horizontalPosition, this.menubtnEl, this.tooltip), onBlur: (ev) => {
344
432
  hideTooltip();
345
433
  this.handleButtonBlur(ev);
346
- } }, this.actionMenuType === "icon" && (h("span", { key: 'bd615c986c40863c73a2ec9f060fc5b596e7d64f', class: "svg-icon svg-more-options", style: { "--icon-size": "24px" } })), this.actionMenuType !== "icon" && h("span", { key: '27ad43a2bc951784d313f08b210c1092f2adda55', class: "button-text" }, this.buttonText), (this.actionMenuType === "selector" || this.actionMenuType === "selector-primary") && (h("div", { key: '54184d0f5faa1bd80eddc76127d4173f3dacb7ca', class: "selector-icon svg-icon svg-expand-more" }))), h("div", { key: '7f34d1d1527b5b65f512fe636aa243ef06c2ae61', class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "open-up" : ""} ${this.horizontalPosition}`, id: "menu", popover: "auto", tabindex: -1, role: "menu", ref: (el) => (this.dropdownEl = el),
434
+ } }, this.actionMenuType === "icon" && (h("span", { key: '24f876ff7aba8a8f0628c768fd7a3cae4c6b13c1', class: "svg-icon svg-more-options", style: { "--icon-size": "24px" } })), this.actionMenuType !== "icon" && h("span", { key: 'dfe646329373fe5839fba003ec15f3345982097e', class: "button-text" }, this.buttonText), (this.actionMenuType === "selector" || this.actionMenuType === "selector-primary") && (h("div", { key: '8872e66a185503cd1f6fc298e3fb2e28e67d1ae6', class: "selector-icon svg-icon svg-expand-more" }))), h("div", { key: 'a6b8ecffdf3c9886e0b01d4783b22403b2d7c724', class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "open-up" : ""} ${this.horizontalPosition}`, id: "menu", popover: "auto", tabindex: -1, role: "menu", ref: (el) => (this.dropdownEl = el),
347
435
  // @ts-ignore -- don't tell typescript but we're in the future
348
- onToggle: (ev) => this.handleToggle(ev) }, h("slot", { key: 'de4af1e89a98621b4093089e70f7b0c02b759cb2' })))));
436
+ onToggle: (ev) => this.handleToggle(ev) }, h("slot", { key: '3d0b49daa3f5c2c62edb3582a0de2f53888ff2e8' })))));
349
437
  }
350
438
  static get is() { return "wm-action-menu"; }
351
439
  static get encapsulation() { return "shadow"; }
@@ -373,7 +461,13 @@ export class ActionMenu {
373
461
  "required": false,
374
462
  "optional": true,
375
463
  "docs": {
376
- "tags": [],
464
+ "tags": [{
465
+ "name": "description",
466
+ "text": "Position of the tooltip relative to the trigger button. Repositions automatically when there is insufficient space at the specified position."
467
+ }, {
468
+ "name": "default",
469
+ "text": "\"left\""
470
+ }],
377
471
  "text": ""
378
472
  },
379
473
  "attribute": "tooltip-position",
@@ -390,7 +484,13 @@ export class ActionMenu {
390
484
  "required": false,
391
485
  "optional": false,
392
486
  "docs": {
393
- "tags": [],
487
+ "tags": [{
488
+ "name": "description",
489
+ "text": "Visual style of the trigger button. `'icon'` shows an icon-only button (requires `tooltip`). `'text'` shows a labelled button (requires `button-text`). `'selector'` shows a selector box that visually mimics a select control (requires `button-text`). `'selector-primary'` is a primary-styled variant of selector."
490
+ }, {
491
+ "name": "default",
492
+ "text": "\"icon\""
493
+ }],
394
494
  "text": ""
395
495
  },
396
496
  "attribute": "action-menu-type",
@@ -408,7 +508,13 @@ export class ActionMenu {
408
508
  "required": false,
409
509
  "optional": true,
410
510
  "docs": {
411
- "tags": [],
511
+ "tags": [{
512
+ "name": "description",
513
+ "text": "Label displayed on the trigger button."
514
+ }, {
515
+ "name": "conditionallyRequired",
516
+ "text": "when action-menu-type is 'text', 'selector', or 'selector-primary'"
517
+ }],
412
518
  "text": ""
413
519
  },
414
520
  "attribute": "button-text",
@@ -425,7 +531,13 @@ export class ActionMenu {
425
531
  "required": false,
426
532
  "optional": false,
427
533
  "docs": {
428
- "tags": [],
534
+ "tags": [{
535
+ "name": "description",
536
+ "text": "Disables the entire menu, preventing the trigger from being activated."
537
+ }, {
538
+ "name": "default",
539
+ "text": "false"
540
+ }],
429
541
  "text": ""
430
542
  },
431
543
  "attribute": "disabled",
@@ -443,7 +555,13 @@ export class ActionMenu {
443
555
  "required": false,
444
556
  "optional": true,
445
557
  "docs": {
446
- "tags": [],
558
+ "tags": [{
559
+ "name": "description",
560
+ "text": "Tooltip text shown on hover. For `icon` menus, also serves as the accessible name announced by screen readers."
561
+ }, {
562
+ "name": "conditionallyRequired",
563
+ "text": "when action-menu-type is 'icon'"
564
+ }],
447
565
  "text": ""
448
566
  },
449
567
  "attribute": "tooltip",
@@ -460,7 +578,10 @@ export class ActionMenu {
460
578
  "required": false,
461
579
  "optional": true,
462
580
  "docs": {
463
- "tags": [],
581
+ "tags": [{
582
+ "name": "description",
583
+ "text": "Use only when multiple action menus on the same page share identical tooltips or button text. Set this to a more descriptive label for screen readers; the visible label stays unchanged. Sets aria-label to this value."
584
+ }],
464
585
  "text": ""
465
586
  },
466
587
  "attribute": "label-for-identical-buttons",
@@ -477,7 +598,13 @@ export class ActionMenu {
477
598
  "required": false,
478
599
  "optional": true,
479
600
  "docs": {
480
- "tags": [],
601
+ "tags": [{
602
+ "name": "description",
603
+ "text": "Applies dark styling to `selector` and `selector-primary` variants. Has no effect on `icon` or `text` types."
604
+ }, {
605
+ "name": "default",
606
+ "text": "false"
607
+ }],
481
608
  "text": ""
482
609
  },
483
610
  "attribute": "dark-mode",
@@ -500,7 +627,10 @@ export class ActionMenu {
500
627
  "cancelable": true,
501
628
  "composed": true,
502
629
  "docs": {
503
- "tags": [],
630
+ "tags": [{
631
+ "name": "description",
632
+ "text": "Fires when the component finishes loading and child wm-menuitem elements are ready."
633
+ }],
504
634
  "text": ""
505
635
  },
506
636
  "complexType": {
@@ -515,7 +645,13 @@ export class ActionMenu {
515
645
  "cancelable": true,
516
646
  "composed": true,
517
647
  "docs": {
518
- "tags": [],
648
+ "tags": [{
649
+ "name": "description",
650
+ "text": "Fires when the component finishes loading."
651
+ }, {
652
+ "name": "deprecated",
653
+ "text": "Use wmActionMenuLoaded instead."
654
+ }],
519
655
  "text": ""
520
656
  },
521
657
  "complexType": {
@@ -1,6 +1,125 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import { getIconCodeFromName } from "../../global/interfaces";
3
3
  import { generateId, hideTooltip, handleDisabledAttribute, showTooltip, toBool, triggerFormSubmit, } from "../../global/functions";
4
+ /**
5
+ * Interactive button element that triggers actions and workflows. Has seven visual
6
+ * types plus AI variants.
7
+ *
8
+ * @slot - Button label text. Required for all types. For `icononly` and `navigational`
9
+ * buttons, slotted text is not rendered visually but is used as the accessible name
10
+ * when no `tooltip` or `label-for-identical-buttons` is provided.
11
+ *
12
+ * @keyboardInteraction Enter - Fires a click event on the button (mirrors native button behavior).
13
+ *
14
+ * @accessibility
15
+ * `aria-label` resolution order (highest priority first):
16
+ * 1. `aria-label-passthrough`
17
+ * 2. `label-for-identical-buttons` (or `tooltip` for icononly/navigational types)
18
+ * 3. Nothing set — browser derives the label from visible text or slotted content
19
+ *
20
+ * `aria-expanded` — set via `aria-expanded-passthrough` (not directly on `<wm-button>`).
21
+ * `aria-haspopup="menu"` — applied automatically when the host element has an `aria-haspopup` attribute.
22
+ *
23
+ * @usageNotes
24
+ * - **primary**: Use sparingly — ideally once per page or section — for the single most
25
+ * important action.
26
+ * - **pairpositive / pairnegative**: Must always be used together for binary choices where
27
+ * neither option is preferred (e.g. Approve / Reject). Do not use one without the other.
28
+ * - **AI variants** (`primary-ai`, `secondary-ai`, etc.): Do not set the `icon` prop —
29
+ * the AI icon is applied automatically.
30
+ * - **icononly / navigational**: Both `icon` and `tooltip` are required.
31
+ *
32
+ * @example {html} Primary button — the preferred action on a page or section. Use once per context.
33
+ * <wm-button button-type="primary">Save changes</wm-button>
34
+ *
35
+ * @example {react} Primary button
36
+ * <WmButton buttonType="primary" onClick={handleSave}>Save changes</WmButton>
37
+ *
38
+ * @example {html} Primary and secondary pair — the most common pattern.
39
+ * <wm-button button-type="secondary">Cancel</wm-button>
40
+ * <wm-button button-type="primary">Save changes</wm-button>
41
+ *
42
+ * @example {react} Primary and secondary pair
43
+ * <WmButton buttonType="secondary" onClick={handleCancel}>Cancel</WmButton>
44
+ * <WmButton buttonType="primary" onClick={handleSave}>Save changes</WmButton>
45
+ *
46
+ * @example {html} Text-only button with icon
47
+ * <wm-button button-type="textonly" icon="#edit">Edit</wm-button>
48
+ *
49
+ * @example {react} Text-only button with icon
50
+ * <WmButton buttonType="textonly" icon="#edit">Edit</WmButton>
51
+ *
52
+ * @example {html} Icon-only button — icon, tooltip, and slot text are all required.
53
+ * <wm-button button-type="icononly" icon="#edit" tooltip="Edit record">Edit record</wm-button>
54
+ *
55
+ * @example {react} Icon-only button
56
+ * <WmButton buttonType="icononly" icon="#edit" tooltip="Edit record">Edit record</WmButton>
57
+ *
58
+ * @example {html} Icon-only button with local SVG sprite
59
+ * <wm-button button-type="icononly" icon="/assets/icons.svg#pencil" tooltip="Edit">Edit</wm-button>
60
+ *
61
+ * @example {html} Navigational button — for back/forward navigation in flyout panels.
62
+ * <wm-button button-type="navigational" icon="#arrow-back" tooltip="Back">Back</wm-button>
63
+ *
64
+ * @example {react} Navigational button
65
+ * <WmButton buttonType="navigational" icon="#arrow-back" tooltip="Back">Back</WmButton>
66
+ *
67
+ * @example {html} Positive/negative pair — binary choice, neither option preferred. Must be used as a pair.
68
+ * <wm-button button-type="pairnegative">Reject</wm-button>
69
+ * <wm-button button-type="pairpositive">Approve</wm-button>
70
+ *
71
+ * @example {react} Positive/negative pair
72
+ * <WmButton buttonType="pairnegative" onClick={handleReject}>Reject</WmButton>
73
+ * <WmButton buttonType="pairpositive" onClick={handleApprove}>Approve</WmButton>
74
+ *
75
+ * @example {html} Permanently delete — danger styling for irreversible destructive actions only.
76
+ * <wm-button button-type="primary" permanently-delete="true">Delete account</wm-button>
77
+ *
78
+ * @example {react} Permanently delete
79
+ * <WmButton buttonType="primary" permanentlyDelete={true}>Delete account</WmButton>
80
+ *
81
+ * @example {html} Disabled button
82
+ * <wm-button button-type="primary" disabled="true">Save</wm-button>
83
+ *
84
+ * @example {react} Disabled button
85
+ * <WmButton buttonType="primary" disabled={true}>Save</WmButton>
86
+ *
87
+ * @example {html} Form submit button — use is-submit instead of a native type=submit button.
88
+ * <form>
89
+ * <wm-button button-type="primary" is-submit="true">Submit</wm-button>
90
+ * </form>
91
+ *
92
+ * @example {react} Form submit button
93
+ * <WmButton buttonType="primary" isSubmit={true}>Submit</WmButton>
94
+ *
95
+ * @example {html} Button on dark background
96
+ * <wm-button button-type="secondary" custom-background="dark">Continue</wm-button>
97
+ *
98
+ * @example {react} Button on dark background
99
+ * <WmButton buttonType="secondary" customBackground="dark">Continue</WmButton>
100
+ *
101
+ * @example {html} AI primary button — icon is applied automatically, do not set icon prop.
102
+ * <wm-button button-type="primary-ai">Generate summary</wm-button>
103
+ *
104
+ * @example {react} AI primary button
105
+ * <WmButton buttonType="primary-ai">Generate summary</WmButton>
106
+ *
107
+ * @example {html} Rotated icon — reuse directional icons with icon-rotate.
108
+ * <wm-button button-type="icononly" icon="#arrow-back" icon-rotate="180" tooltip="Forward">Forward</wm-button>
109
+ *
110
+ * @example {react} Rotated icon
111
+ * <WmButton buttonType="icononly" icon="#arrow-back" iconRotate={180} tooltip="Forward">Forward</WmButton>
112
+ *
113
+ * @example {html} Identical buttons — use label-for-identical-buttons to disambiguate for screen readers.
114
+ * <wm-button button-type="secondary" label-for-identical-buttons="Edit course: Introduction to Biology">Edit</wm-button>
115
+ * <wm-button button-type="secondary" label-for-identical-buttons="Edit course: Advanced Chemistry">Edit</wm-button>
116
+ *
117
+ * @example {react} Identical buttons
118
+ * <WmButton buttonType="secondary" labelForIdenticalButtons="Edit course: Introduction to Biology">Edit</WmButton>
119
+ * <WmButton buttonType="secondary" labelForIdenticalButtons="Edit course: Advanced Chemistry">Edit</WmButton>
120
+ *
121
+ * @category Basic Controls
122
+ */
4
123
  export class Button {
5
124
  constructor() {
6
125
  this.id = generateId();
@@ -256,7 +375,7 @@ export class Button {
256
375
  }
257
376
  }
258
377
  render() {
259
- return (h(Host, { key: 'bfc5c1c1b69619258f1a15003de34a9884f5b09e', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: '647328418473ec98db1fff54403a5915a8354668', id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-expanded": this.isAriaExpanded !== undefined ? this.isAriaExpanded.toString() : undefined, "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && this.renderIcon(), !this.buttonType.startsWith("navigational") && !this.buttonType.startsWith("icononly") && (h("span", { key: '1f27aeed2c3e7f87d326c6da318f08be083c873e', class: "button-text" }, h("slot", { key: '6cce46f476c7d20aa3c48fa1e87edd495398d5c3' }))), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (h("div", { key: '305255c0423d2971932f3f8ccc2170075aa4dd53', class: "selector-icon svg-icon svg-expand-more" })))));
378
+ return (h(Host, { key: '76a5421d00532673476644aae829a5e4c1705b1f', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: '576012f5b0262fb6ca7dd435e869c4276cc0da06', id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-expanded": this.isAriaExpanded !== undefined ? this.isAriaExpanded.toString() : undefined, "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && this.renderIcon(), !this.buttonType.startsWith("navigational") && !this.buttonType.startsWith("icononly") && (h("span", { key: '2c6548c3708dc18fec38d43dbf75583a0e254cf0', class: "button-text" }, h("slot", { key: '07f076ee9011eb1294315b29cdbb350e8e55270f' }))), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (h("div", { key: '0332bc4f94a44c5b973cee95da7065a05803d0b7', class: "selector-icon svg-icon svg-expand-more" })))));
260
379
  }
261
380
  static get is() { return "wm-button"; }
262
381
  static get encapsulation() { return "shadow"; }
@@ -284,7 +403,13 @@ export class Button {
284
403
  "required": false,
285
404
  "optional": false,
286
405
  "docs": {
287
- "tags": [],
406
+ "tags": [{
407
+ "name": "description",
408
+ "text": "Disables the button, preventing interaction and applying disabled styling."
409
+ }, {
410
+ "name": "default",
411
+ "text": "false"
412
+ }],
288
413
  "text": ""
289
414
  },
290
415
  "attribute": "disabled",
@@ -308,7 +433,13 @@ export class Button {
308
433
  "required": false,
309
434
  "optional": false,
310
435
  "docs": {
311
- "tags": [],
436
+ "tags": [{
437
+ "name": "description",
438
+ "text": "Visual style of the button. 'primary' for the single preferred action (use sparingly, ideally once per page/section). 'secondary' for other actions, often alongside a primary. 'textonly' for low-emphasis actions. 'icononly' requires icon and tooltip. 'navigational' for icon-only back/forward navigation (e.g. flyout back button). 'pairpositive' and 'pairnegative' must be used together for binary choices (neither is preferred, e.g. Approve/Reject). AI variants apply AI styling automatically \u2014 do not set the icon property on AI types. 'selector' and 'selector-primary' are internal types used by wm-select \u2014 do not use directly."
439
+ }, {
440
+ "name": "default",
441
+ "text": "\"secondary\""
442
+ }],
312
443
  "text": ""
313
444
  },
314
445
  "attribute": "button-type",
@@ -326,7 +457,13 @@ export class Button {
326
457
  "required": false,
327
458
  "optional": true,
328
459
  "docs": {
329
- "tags": [],
460
+ "tags": [{
461
+ "name": "description",
462
+ "text": "Icon to display. Required when button-type is 'icononly' or 'navigational'. Formats: '#icon-name' for a commonly-used Ripple icon (e.g. '#edit', '#add-person'), '/path/to/file.svg#symbol-id' for a local SVG sprite symbol, or an MDI character code like 'f3eb' (deprecated). Do not set on AI button types \u2014 their icon is applied automatically."
463
+ }, {
464
+ "name": "conditionallyRequired",
465
+ "text": "when button-type is 'icononly' or 'navigational' (conditionallyRequired means that the prop is required, but only if the button-type is 'icononly' or 'navigational')"
466
+ }],
330
467
  "text": ""
331
468
  },
332
469
  "attribute": "icon",
@@ -343,7 +480,10 @@ export class Button {
343
480
  "required": false,
344
481
  "optional": true,
345
482
  "docs": {
346
- "tags": [],
483
+ "tags": [{
484
+ "name": "description",
485
+ "text": "Overrides the default icon size. Accepts any valid CSS size value, e.g. '22px' or '1.3rem'."
486
+ }],
347
487
  "text": ""
348
488
  },
349
489
  "attribute": "icon-size",
@@ -360,7 +500,10 @@ export class Button {
360
500
  "required": false,
361
501
  "optional": true,
362
502
  "docs": {
363
- "tags": [],
503
+ "tags": [{
504
+ "name": "description",
505
+ "text": "Rotates the icon by the given number of degrees. For use with the icon property."
506
+ }],
364
507
  "text": ""
365
508
  },
366
509
  "attribute": "icon-rotate",
@@ -377,7 +520,10 @@ export class Button {
377
520
  "required": false,
378
521
  "optional": true,
379
522
  "docs": {
380
- "tags": [],
523
+ "tags": [{
524
+ "name": "description",
525
+ "text": "Flips the icon along the specified axis. For use with the icon property."
526
+ }],
381
527
  "text": ""
382
528
  },
383
529
  "attribute": "icon-flip",
@@ -394,7 +540,13 @@ export class Button {
394
540
  "required": false,
395
541
  "optional": true,
396
542
  "docs": {
397
- "tags": [],
543
+ "tags": [{
544
+ "name": "description",
545
+ "text": "Tooltip text displayed on hover."
546
+ }, {
547
+ "name": "conditionallyRequired",
548
+ "text": "when button-type is 'icononly' or 'navigational' (conditionallyRequired means that the prop is required, but only if the button-type is 'icononly' or 'navigational')"
549
+ }],
398
550
  "text": ""
399
551
  },
400
552
  "attribute": "tooltip",
@@ -411,7 +563,13 @@ export class Button {
411
563
  "required": false,
412
564
  "optional": true,
413
565
  "docs": {
414
- "tags": [],
566
+ "tags": [{
567
+ "name": "description",
568
+ "text": "Accessibility prop. Use ONLY when multiple buttons on the same page share identical visible text or identical tooltips. Set this to a more descriptive label for screen readers; leave the visible button text or tooltip unchanged. Sets aria-label to this value."
569
+ }, {
570
+ "name": "conditionallyRequired",
571
+ "text": "when multiple buttons on the same page share identical visible text or identical tooltips (conditionallyRequired means that the prop is required, but only if multiple buttons on the same page share identical visible text or identical tooltips)"
572
+ }],
415
573
  "text": ""
416
574
  },
417
575
  "attribute": "label-for-identical-buttons",
@@ -434,7 +592,13 @@ export class Button {
434
592
  "required": false,
435
593
  "optional": false,
436
594
  "docs": {
437
- "tags": [],
595
+ "tags": [{
596
+ "name": "description",
597
+ "text": "Position of the tooltip relative to the button. If there is insufficient space at the specified position, the component repositions automatically."
598
+ }, {
599
+ "name": "default",
600
+ "text": "\"bottom-right\""
601
+ }],
438
602
  "text": ""
439
603
  },
440
604
  "attribute": "tooltip-position",
@@ -452,7 +616,13 @@ export class Button {
452
616
  "required": false,
453
617
  "optional": true,
454
618
  "docs": {
455
- "tags": [],
619
+ "tags": [{
620
+ "name": "description",
621
+ "text": "Applies danger/destructive styling to the button. Use sparingly and only for irreversible destructive actions (e.g. permanently deleting an account or record). Applied as a modifier \u2014 not a separate button-type."
622
+ }, {
623
+ "name": "default",
624
+ "text": "false"
625
+ }],
456
626
  "text": ""
457
627
  },
458
628
  "attribute": "permanently-delete",
@@ -470,7 +640,13 @@ export class Button {
470
640
  "required": false,
471
641
  "optional": false,
472
642
  "docs": {
473
- "tags": [],
643
+ "tags": [{
644
+ "name": "description",
645
+ "text": "For 'textonly' buttons only. When false, text is truncated with an ellipsis and a tooltip reveals the full text on hover."
646
+ }, {
647
+ "name": "default",
648
+ "text": "true"
649
+ }],
474
650
  "text": ""
475
651
  },
476
652
  "attribute": "text-wrap",
@@ -488,7 +664,10 @@ export class Button {
488
664
  "required": false,
489
665
  "optional": true,
490
666
  "docs": {
491
- "tags": [],
667
+ "tags": [{
668
+ "name": "description",
669
+ "text": "Set to 'dark' to render button styles appropriate for a dark background surface."
670
+ }],
492
671
  "text": ""
493
672
  },
494
673
  "attribute": "custom-background",
@@ -505,7 +684,13 @@ export class Button {
505
684
  "required": false,
506
685
  "optional": false,
507
686
  "docs": {
508
- "tags": [],
687
+ "tags": [{
688
+ "name": "description",
689
+ "text": "When true, the button submits its containing form. Equivalent to type=\"submit\" on a native button element."
690
+ }, {
691
+ "name": "default",
692
+ "text": "false"
693
+ }],
509
694
  "text": ""
510
695
  },
511
696
  "attribute": "is-submit",
@@ -523,8 +708,11 @@ export class Button {
523
708
  "required": false,
524
709
  "optional": true,
525
710
  "docs": {
526
- "tags": [],
527
- "text": "Sets the button's `aria-label`. Takes priority over `label-for-identical-buttons` and over\nthe label automatically derived from `tooltip` for `icononly` and `navigational` buttons. Use\nthis prop instead of setting `aria-label` directly on `<wm-button>`."
711
+ "tags": [{
712
+ "name": "description",
713
+ "text": "Sets the button's `aria-label`. Takes priority over `label-for-identical-buttons` and over\nthe label automatically derived from `tooltip` for `icononly` and `navigational` buttons. Use\nthis prop instead of setting `aria-label` directly on `<wm-button>`."
714
+ }],
715
+ "text": ""
528
716
  },
529
717
  "attribute": "aria-label-passthrough",
530
718
  "reflect": false
@@ -540,8 +728,14 @@ export class Button {
540
728
  "required": false,
541
729
  "optional": true,
542
730
  "docs": {
543
- "tags": [],
544
- "text": "Sets the button's `aria-expanded` attribute. Use on buttons that toggle a disclosure region,\nmenu, popover, or dialog. Use this prop instead of setting `aria-expanded` directly on\n`<wm-button>`."
731
+ "tags": [{
732
+ "name": "description",
733
+ "text": "Sets the button's `aria-expanded` attribute. Use on buttons that toggle a disclosure region,\nmenu, popover, or dialog. Use this prop instead of setting `aria-expanded` directly on\n`<wm-button>`."
734
+ }, {
735
+ "name": "default",
736
+ "text": "false"
737
+ }],
738
+ "text": ""
545
739
  },
546
740
  "attribute": "aria-expanded-passthrough",
547
741
  "reflect": false