@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
@@ -0,0 +1,32 @@
1
+ ## Component Index
2
+
3
+ | Component | Tag | File | Category |
4
+ |-----------|-----|------|----------|
5
+ | **Action Menu** | `wm-action-menu` | `wm-action-menu.md` | Basic Controls |
6
+ | **Button** | `wm-button` | `wm-button.md` | Basic Controls |
7
+ | **Nested Select** | `wm-nested-select` | `wm-nested-select.md` | Basic Controls |
8
+ | **Select** | `wm-select` | `wm-select.md` | Basic Controls |
9
+ | **Flyout** | `wm-flyout` | `wm-flyout.md` | Communication |
10
+ | **Modal & Dialog** | `wm-modal` | `wm-modal.md` | Communication |
11
+ | **Snackbar** | `wm-snackbar` | `wm-snackbar.md` | Communication |
12
+ | **Toggletip** | `wm-toggletip` | `wm-toggletip.md` | Communication |
13
+ | **Bar Chart** | `wm-chart-bar` | `wm-chart-bar.md` | Data Visualization |
14
+ | **Chart** | `wm-chart` | `wm-chart.md` | Data Visualization |
15
+ | **Chart Legend** | `wm-chart-legend` | `wm-chart-legend.md` | Data Visualization |
16
+ | **Column Chart** | `wm-chart-column` | `wm-chart-column.md` | Data Visualization |
17
+ | **Line Chart** | `wm-line-chart` | `wm-line-chart.md` | Data Visualization |
18
+ | **Progress Monitor** | `wm-progress-monitor` | `wm-progress-monitor.md` | Data Visualization |
19
+ | **Date Range** | `wm-date-range` | `wm-date-range.md` | Form Inputs |
20
+ | **Datepicker** | `wm-datepicker` | `wm-datepicker.md` | Form Inputs |
21
+ | **File List** | `wm-file-list` | `wm-file-list.md` | Form Inputs |
22
+ | **Input** | `wm-input` | `wm-input.md` | Form Inputs |
23
+ | **Search** | `wm-search` | `wm-search.md` | Form Inputs |
24
+ | **Tag Input** | `wm-tag-input` | `wm-tag-input.md` | Form Inputs |
25
+ | **Textarea** | `wm-textarea` | `wm-textarea.md` | Form Inputs |
26
+ | **Timepicker** | `wm-timepicker` | `wm-timepicker.md` | Form Inputs |
27
+ | **Uploader** | `wm-uploader` | `wm-uploader.md` | Form Inputs |
28
+ | **Navigation** | `wm-navigation` | `wm-navigation.md` | Navigation |
29
+ | **Navigator** | `wm-navigator` | `wm-navigator.md` | Navigation |
30
+ | **Pagination** | `wm-pagination` | `wm-pagination.md` | Navigation |
31
+ | **Tabs** | `wm-tab-list` | `wm-tab-list.md` | Navigation |
32
+ | **Wrapper** | `wm-wrapper` | `wm-wrapper.md` | Layout Containers |
@@ -0,0 +1,93 @@
1
+ ### Action Menu
2
+ - **Element:** `<wm-action-menu>`
3
+ - **Status:** stable
4
+
5
+ **Purpose:** Dropdown interface that displays a list of action items. When closed it shows a text
6
+ button, icon button, or selector box depending on action-menu-type. Selecting an item
7
+ executes an action and closes the menu. Composed of a parent wm-action-menu element and
8
+ one or more wm-menuitem children.
9
+
10
+ **When to use:**
11
+
12
+ - **Offering several contextual actions on a row or item** -- when a record in a table or list has multiple possible actions (edit, duplicate, archive, delete), use Action Menu to collapse them behind a single icon trigger rather than rendering a row of buttons.
13
+ - When some actions are secondary or infrequent enough that they do not warrant a persistent button, use a text or icon Action Menu to surface them on demand.
14
+ - **Grouping actions in a space-constrained context** -- when screen real estate is tight (toolbars, card footers, dense data tables), use an icon Action Menu to keep the UI clean while still making all actions reachable.
15
+
16
+ **Do not use for:**
17
+
18
+ - **A single action** -- if only one action is available, use wm-button directly; a menu that opens to reveal one item creates unnecessary friction.
19
+ - **Setting a form field value** -- if the purpose is to pick an option that persists as a form value, use wm-select instead; the selector type is for actions, not form inputs.
20
+ - **Binary decisions** -- if the user is choosing between exactly two opposing outcomes (approve/reject, yes/no), use wm-button with pairpositive and pairnegative; a dropdown is the wrong pattern for a binary choice.
21
+ - **Icon menus without a tooltip** -- the tooltip is required for icon triggers and is the only thing that tells users and screen readers what the menu is for; omitting it produces an unlabeled control that fails accessibility.
22
+
23
+ **Variants / types:**
24
+
25
+ - `action-menu-type="icon"` -- a single icon button trigger; requires tooltip for accessibility
26
+ - `action-menu-type="text"` -- a text button trigger; use button-text to set the label
27
+ - `action-menu-type="selector"` -- a selector-style trigger for action-driven option picking
28
+ - `action-menu-type="selector-primary"` -- a primary-weight selector trigger
29
+
30
+ **Props:**
31
+ - `action-menu-type` -- 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.
32
+ - `button-text` -- Label displayed on the trigger button. _(conditionally required: when action-menu-type is 'text', 'selector', or 'selector-primary')_
33
+ - `dark-mode` -- Applies dark styling to `selector` and `selector-primary` variants. Has no effect on `icon` or `text` types.
34
+ - `disabled` -- Disables the entire menu, preventing the trigger from being activated.
35
+ - `label-for-identical-buttons` -- 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.
36
+ - `tooltip` -- Tooltip text shown on hover. For `icon` menus, also serves as the accessible name announced by screen readers. _(conditionally required: when action-menu-type is 'icon')_
37
+ - `tooltip-position` -- Position of the tooltip relative to the trigger button. Repositions automatically when there is insufficient space at the specified position.
38
+
39
+ **Events:**
40
+ - `menuLoaded`
41
+ - `wmActionMenuLoaded`
42
+
43
+ **Accessibility:**
44
+
45
+ - For `icon` menus, `tooltip` is required and serves as the accessible name announced by screen readers.
46
+ - When multiple action menus share identical tooltips or button text, use `label-for-identical-buttons` to give each a unique `aria-label`.
47
+ - 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.
48
+ - **Keyboard:** - **Trigger button (closed)**: Down Arrow / Space / Enter opens the menu and focuses the first item; Up Arrow opens and focuses the last item.
49
+ - **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.
50
+
51
+ **Related components:**
52
+
53
+ - `<wm-button>` -- if there is one specific, known action to take, use Button; if there are multiple actions to choose from, use Action Menu.
54
+ - `<wm-select>` -- if the user is selecting a value to store or filter by, use Select; if selecting an option immediately triggers an action, use Action Menu's selector type.
55
+ - `<wm-nested-select>` -- if the options are hierarchical and the result is a selected value, use Nested Select; Action Menu does not support nested option structures.
56
+
57
+ **Code example:**
58
+
59
+ _Icon action menu (default)_
60
+
61
+ ```html
62
+ <wm-action-menu tooltip="More options">
63
+ <wm-menuitem>Edit</wm-menuitem>
64
+ <wm-menuitem>Delete</wm-menuitem>
65
+ </wm-action-menu>
66
+ ```
67
+
68
+ _Icon action menu_
69
+
70
+ ```react
71
+ <WmActionMenu tooltip="More options">
72
+ <WmMenuitem>Edit</WmMenuitem>
73
+ <WmMenuitem>Delete</WmMenuitem>
74
+ </WmActionMenu>
75
+ ```
76
+
77
+ _Text action menu_
78
+
79
+ ```html
80
+ <wm-action-menu action-menu-type="text" button-text="Actions">
81
+ <wm-menuitem>Edit</wm-menuitem>
82
+ <wm-menuitem>Delete</wm-menuitem>
83
+ </wm-action-menu>
84
+ ```
85
+
86
+ _Text action menu_
87
+
88
+ ```react
89
+ <WmActionMenu actionMenuType="text" buttonText="Actions">
90
+ <WmMenuitem>Edit</WmMenuitem>
91
+ <WmMenuitem>Delete</WmMenuitem>
92
+ </WmActionMenu>
93
+ ```
@@ -0,0 +1,103 @@
1
+ ### Button
2
+ - **Element:** `<wm-button>`
3
+ - **Status:** stable
4
+
5
+ **Purpose:** Interactive button element that triggers actions and workflows. Has seven visual
6
+ types plus AI variants.
7
+
8
+ **When to use:**
9
+
10
+ - **Confirming a primary workflow action** -- use button-type="primary" when one clear, preferred action should stand out on a page or form, such as saving settings or submitting a report.
11
+ - **Offering a secondary or cancel option alongside a primary action** -- use button-type="secondary" when pairing a less-preferred action next to a primary one, such as Cancel next to Save.
12
+ - **Approving or rejecting with equal weight** -- use pairpositive and pairnegative together when two opposing actions carry no preference, such as an approve/reject decision.
13
+ - **Triggering a destructive, irreversible action** -- use the permanently-delete prop when the user is about to take an action that cannot be undone.
14
+ - **Performing a compact, recognizable action without a label** -- use button-type="icononly" when space is tight and the icon is universally understood, such as edit or delete in a data table.
15
+ - **Completing an action and moving the user to a new context** -- use button-type="navigational" for buttons that both trigger an action and navigate, such as a back button in a flyout.
16
+
17
+ **Do not use for:**
18
+
19
+ - **Icon-only buttons when the icon is not universally recognized** -- use a primary or secondary button with a text label instead.
20
+ - **Destructive styling (permanently-delete) on routine or reversible deletions** -- reserve it for actions that truly cannot be undone.
21
+ - **Multiple primary buttons in the same section** -- there should ideally be only one per page or section.
22
+ - **Lists of contextual actions (edit, duplicate, archive, delete)** -- use wm-action-menu instead.
23
+
24
+ **Variants / types:**
25
+
26
+ - `button-type="primary"` -- the single preferred action on a page or form
27
+ - `button-type="secondary"` -- a supporting or cancel action paired with a primary
28
+ - `button-type="textonly"` -- a low-emphasis action with no button chrome
29
+ - `button-type="icononly"` -- a compact action identified solely by a universally recognized icon
30
+ - `button-type="navigational"` -- an action that also moves the user to a new context
31
+ - `button-type="selector"` -- a toggle-style selection button
32
+ - `button-type="selector-primary"` -- a primary-weight selection button
33
+ - `button-type="pairpositive"` -- the affirmative action in an equal-weight approve/reject pair
34
+ - `button-type="pairnegative"` -- the rejecting action in an equal-weight approve/reject pair
35
+ - `button-type="primary-ai"` -- primary variant for AI-generated or AI-assisted actions
36
+ - `button-type="secondary-ai"` -- secondary variant for AI context
37
+ - `button-type="textonly-ai"` -- text-only variant for AI context
38
+ - `button-type="icononly-ai"` -- icon-only variant for AI context
39
+ - `button-type="navigational-ai"` -- navigational variant for AI context
40
+
41
+ **Props:**
42
+ - `aria-expanded-passthrough` -- Sets the button's `aria-expanded` attribute. Use on buttons that toggle a disclosure region,
43
+ menu, popover, or dialog. Use this prop instead of setting `aria-expanded` directly on
44
+ `<wm-button>`.
45
+ - `aria-label-passthrough` -- Sets the button's `aria-label`. Takes priority over `label-for-identical-buttons` and over
46
+ the label automatically derived from `tooltip` for `icononly` and `navigational` buttons. Use
47
+ this prop instead of setting `aria-label` directly on `<wm-button>`.
48
+ - `button-type` -- 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 -- do not set the icon property on AI types. 'selector' and 'selector-primary' are internal types used by wm-select -- do not use directly.
49
+ - `custom-background` -- Set to 'dark' to render button styles appropriate for a dark background surface.
50
+ - `disabled` -- Disables the button, preventing interaction and applying disabled styling.
51
+ - `icon` -- 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 -- their icon is applied automatically. _(conditionally required: when button-type is 'icononly' or 'navigational')_
52
+ - `icon-flip` -- Flips the icon along the specified axis. For use with the icon property.
53
+ - `icon-rotate` -- Rotates the icon by the given number of degrees. For use with the icon property.
54
+ - `icon-size` -- Overrides the default icon size. Accepts any valid CSS size value, e.g. '22px' or '1.3rem'.
55
+ - `is-submit` -- When true, the button submits its containing form. Equivalent to type="submit" on a native button element.
56
+ - `label-for-identical-buttons` -- 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. _(conditionally required: when multiple buttons on the same page share identical visible text or identical tooltips)_
57
+ - `permanently-delete` -- 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 -- not a separate button-type.
58
+ - `text-wrap` -- For 'textonly' buttons only. When false, text is truncated with an ellipsis and a tooltip reveals the full text on hover.
59
+ - `tooltip` -- Tooltip text displayed on hover. _(conditionally required: when button-type is 'icononly' or 'navigational')_
60
+ - `tooltip-position` -- Position of the tooltip relative to the button. If there is insufficient space at the specified position, the component repositions automatically.
61
+
62
+ **Accessibility:**
63
+
64
+ `aria-label` resolution order (highest priority first):
65
+ 1. `aria-label-passthrough`
66
+ 2. `label-for-identical-buttons` (or `tooltip` for icononly/navigational types)
67
+ 3. Nothing set -- browser derives the label from visible text or slotted content
68
+
69
+ `aria-expanded` -- set via `aria-expanded-passthrough` (not directly on `<wm-button>`).
70
+ `aria-haspopup="menu"` -- applied automatically when the host element has an `aria-haspopup` attribute.
71
+ - **Keyboard:** Enter - Fires a click event on the button (mirrors native button behavior).
72
+
73
+ **Related components:**
74
+
75
+ - `<wm-action-menu>` -- if the interaction triggers one of several contextual actions, use Action Menu; if there is one specific, known action, use Button.
76
+
77
+ **Code example:**
78
+
79
+ _Primary button -- the preferred action on a page or section. Use once per context._
80
+
81
+ ```html
82
+ <wm-button button-type="primary">Save changes</wm-button>
83
+ ```
84
+
85
+ _Primary button_
86
+
87
+ ```react
88
+ <WmButton buttonType="primary" onClick={handleSave}>Save changes</WmButton>
89
+ ```
90
+
91
+ _Primary and secondary pair -- the most common pattern._
92
+
93
+ ```html
94
+ <wm-button button-type="secondary">Cancel</wm-button>
95
+ <wm-button button-type="primary">Save changes</wm-button>
96
+ ```
97
+
98
+ _Primary and secondary pair_
99
+
100
+ ```react
101
+ <WmButton buttonType="secondary" onClick={handleCancel}>Cancel</WmButton>
102
+ <WmButton buttonType="primary" onClick={handleSave}>Save changes</WmButton>
103
+ ```
@@ -0,0 +1,129 @@
1
+ ### Chart Bar
2
+ - **Element:** `<wm-chart-bar>`
3
+ - **Status:** stable
4
+
5
+ **Purpose:** Renders a horizontal bar chart for comparing values across nominal categories. Data and
6
+ configuration are set via JavaScript properties (`chart.config` and `chart.data`) -- not
7
+ HTML attributes. Supports single-color, discrete palette, semantic palette, and grouped bars.
8
+
9
+ **Preferred** over wm-chart's bar subtypes for all comparison and distribution use cases.
10
+ Use this component (or wm-chart-column) instead of `<wm-chart chart-type="bar*">`.
11
+
12
+ **Variants / types:**
13
+
14
+ - Set `id` on the element to use with an external `wm-chart-legend` via `chart-ids`.
15
+ - For grouped charts, each `ChartData` item must include a `groupName` field.
16
+ - `config.gridMax: "auto"` calculates a "nice" round upper bound from the data.
17
+ - Bars exceeding the `gridMax` are clipped -- set an appropriate `gridMax` to avoid this.
18
+
19
+ **Props:**
20
+ - `config` -- Chart configuration object. Set via JavaScript property -- not an HTML
21
+ attribute. See the `ChartConfig` interface for the full list of options (label, gridMax,
22
+ valueFormat, colors, showLegend, etc.).
23
+ - `data` -- Array of data items to render. Set via JavaScript property -- not an HTML
24
+ attribute. Each item must include at least `barLegend` and `amount`; grouped charts also
25
+ require `groupName`. See the `ChartData` interface.
26
+ - `pattern-mode` -- When true, applies a hatching pattern fill to bars in addition to color,
27
+ improving distinguishability for users with color vision deficiencies. Takes precedence
28
+ over `config.patternMode`.
29
+ - `print-mode` -- When true, bar values are included in the legend and keyboard interaction
30
+ instructions are removed from the DOM -- suitable for printed output. Takes precedence over
31
+ `config.printMode`.
32
+ - `subinfo` -- Optional secondary text displayed beneath the chart label. Takes precedence
33
+ over `config.subinfo`.
34
+
35
+ **Accessibility:**
36
+
37
+ - `config.label` is required -- used as the chart's `aria-label`.
38
+ - Each bar receives an `aria-label` composed of the category axis label, group name (if
39
+ grouped), bar legend, and display value.
40
+ - The chart renders with `role="application"` and `aria-roledescription="Interactive chart"`.
41
+ - In `print-mode`, keyboard interaction instructions are removed from the DOM.
42
+ - **Keyboard:** - **Tab**: Enters the chart wrapper.
43
+ - **Arrow Down / Right**: Focuses the first bar; subsequent presses cycle to the next bar.
44
+ - **Arrow Up / Left**: Cycles to the previous bar.
45
+ - **Enter**: Activates the popover button when the popover is open.
46
+ - **Escape**: Closes the open popover.
47
+ - **Tab** (from within): Exits the chart and clears focus.
48
+
49
+ **Code example:**
50
+
51
+ _Single-color bar chart_
52
+
53
+ ```html
54
+ <wm-chart-bar id="enrollment-chart"></wm-chart-bar>
55
+ <script>
56
+ const chart = document.querySelector('#enrollment-chart');
57
+ chart.config = { label: 'Enrollment by program', gridMax: 'auto', valueFormat: 'amount' };
58
+ chart.data = [{ barLegend: 'Biology', amount: 310 }, { barLegend: 'English', amount: 280 }];
59
+ </script>
60
+ ```
61
+
62
+ _Single-color bar chart_
63
+
64
+ ```react
65
+ // config and data must be set via JavaScript properties in useEffect -- not as JSX props.
66
+ const singleRef = useRef(null);
67
+
68
+ useEffect(() => {
69
+ singleRef.current.config = {
70
+ label: 'Enrollment by program',
71
+ gridMax: 'auto',
72
+ valueFormat: 'amount',
73
+ popoverTitle: 'Details',
74
+ };
75
+ singleRef.current.data = [
76
+ { barLegend: 'Biology', amount: 310, popoverText: '310 students enrolled' },
77
+ { barLegend: 'English', amount: 280, popoverText: '280 students enrolled' },
78
+ { barLegend: 'History', amount: 195, popoverText: '195 students enrolled' },
79
+ { barLegend: 'Chemistry', amount: 240, popoverText: '240 students enrolled' },
80
+ ];
81
+ }, []);
82
+
83
+ <WmChartBar ref={singleRef} />
84
+ ```
85
+
86
+ _Grouped bar chart_
87
+
88
+ ```html
89
+ <wm-chart-bar id="grouped-chart"></wm-chart-bar>
90
+ <script>
91
+ const chart = document.querySelector('#grouped-chart');
92
+ chart.config = { label: 'Retention by cohort and program', gridMax: 'auto',
93
+ categoryAxisLabel: 'Cohort', valueAxisLabel: 'Students', showLegend: 'bottom' };
94
+ chart.data = [
95
+ { barLegend: 'Biology', amount: 120, groupName: '2022', popoverTitle: 'Biology -- 2022', popoverText: '120 students retained' },
96
+ { barLegend: 'English', amount: 95, groupName: '2022', popoverTitle: 'English -- 2022', popoverText: '95 students retained' },
97
+ { barLegend: 'Biology', amount: 135, groupName: '2023', popoverTitle: 'Biology -- 2023', popoverText: '135 students retained' },
98
+ { barLegend: 'English', amount: 110, groupName: '2023', popoverTitle: 'English -- 2023', popoverText: '110 students retained' },
99
+ ];
100
+ </script>
101
+ ```
102
+
103
+ _Grouped bar chart_
104
+
105
+ ```react
106
+ // config and data must be set via JavaScript properties in useEffect -- not as JSX props.
107
+ const groupedRef = useRef(null);
108
+
109
+ useEffect(() => {
110
+ groupedRef.current.config = {
111
+ label: 'Retention by cohort and program',
112
+ gridMax: 'auto',
113
+ valueFormat: 'amount',
114
+ categoryAxisLabel: 'Cohort',
115
+ valueAxisLabel: 'Students',
116
+ showLegend: 'bottom',
117
+ };
118
+ groupedRef.current.data = [
119
+ { barLegend: 'Biology', amount: 120, groupName: '2022', popoverTitle: 'Biology -- 2022', popoverText: '120 students retained' },
120
+ { barLegend: 'English', amount: 95, groupName: '2022', popoverTitle: 'English -- 2022', popoverText: '95 students retained' },
121
+ { barLegend: 'History', amount: 80, groupName: '2022', popoverTitle: 'History -- 2022', popoverText: '80 students retained' },
122
+ { barLegend: 'Biology', amount: 135, groupName: '2023', popoverTitle: 'Biology -- 2023', popoverText: '135 students retained' },
123
+ { barLegend: 'English', amount: 110, groupName: '2023', popoverTitle: 'English -- 2023', popoverText: '110 students retained' },
124
+ { barLegend: 'History', amount: 72, groupName: '2023', popoverTitle: 'History -- 2023', popoverText: '72 students retained' },
125
+ ];
126
+ }, []);
127
+
128
+ <WmChartBar ref={groupedRef} />
129
+ ```
@@ -0,0 +1,96 @@
1
+ ### Chart Column
2
+ - **Element:** `<wm-chart-column>`
3
+ - **Status:** stable
4
+
5
+ **Purpose:** Renders a vertical column chart for comparing values across nominal categories or showing
6
+ distribution across interval/ratio ranges. Data and configuration are set via JavaScript
7
+ properties (`chart.config` and `chart.data`) -- not HTML attributes. Supports single-color,
8
+ discrete palette, semantic palette, and grouped columns.
9
+
10
+ **Preferred** over wm-chart's bar subtypes for comparison and distribution use cases.
11
+ Use this component (or wm-chart-bar) instead of `<wm-chart chart-type="bar*">`. When
12
+ columns exceed available width, the chart scrolls horizontally.
13
+
14
+ **Variants / types:**
15
+
16
+ - Set `id` on the element to use with an external `wm-chart-legend` via `chart-ids`.
17
+ - Use `print-width` to fix chart width for exported PDFs or print stylesheets (accepts `px`,
18
+ `in`, or `cm`). The chart will wrap columns across multiple plots when they exceed the
19
+ available `print-width`.
20
+ - For grouped charts, each `ChartData` item must include a `groupName` field.
21
+
22
+ **Props:**
23
+ - `config` -- Chart configuration object. Set via JavaScript property -- not an HTML
24
+ attribute. See the `ChartConfig` interface for the full list of options (label, gridMax,
25
+ valueFormat, colors, showLegend, etc.).
26
+ - `data` -- Array of data items to render. Set via JavaScript property -- not an HTML
27
+ attribute. Each item must include at least `barLegend` and `amount`; grouped charts also
28
+ require `groupName`. See the `ChartData` interface.
29
+ - `pattern-mode` -- When true, applies a hatching pattern fill to columns in addition to color,
30
+ improving distinguishability for users with color vision deficiencies. Takes precedence
31
+ over `config.patternMode`.
32
+ - `print-mode` -- When true, column values are included in the legend and keyboard interaction
33
+ instructions are removed from the DOM -- suitable for printed output. Takes precedence over
34
+ `config.printMode`.
35
+ - `print-width` -- Fixed chart width for print or PDF export. Accepts `px`, `in`, or `cm` (e.g.
36
+ `"7.5in"`). When set alongside `print-mode` or during `window.print()`, columns that
37
+ exceed the available width wrap across multiple plot rows.
38
+ - `subinfo` -- Optional secondary text displayed beneath the chart label. Takes precedence
39
+ over `config.subinfo`.
40
+
41
+ **Accessibility:**
42
+
43
+ - `config.label` is required -- used as the chart's `aria-label`.
44
+ - Each column receives an `aria-label` composed of the category axis label, group name (if
45
+ grouped), bar legend, and display value.
46
+ - The chart renders with `role="application"` and `aria-roledescription="Interactive chart"`.
47
+ - In `print-mode`, keyboard interaction instructions are removed from the DOM.
48
+ - **Keyboard:** - **Tab**: Enters the chart wrapper.
49
+ - **Arrow Down / Right**: Focuses the first column; subsequent presses cycle to the next.
50
+ - **Arrow Up / Left**: Cycles to the previous column.
51
+ - **Enter**: Activates the popover button when the popover is open.
52
+ - **Escape**: Closes the open popover.
53
+ - **Tab** (from within): Exits the chart and clears focus.
54
+
55
+ **Code example:**
56
+
57
+ _Single-color column chart_
58
+
59
+ ```html
60
+ <wm-chart-column id="enrollment-chart"></wm-chart-column>
61
+ <script>
62
+ const chart = document.querySelector('#enrollment-chart');
63
+ chart.config = { label: 'Enrollment by term', gridMax: 'auto', valueFormat: 'amount',
64
+ categoryAxisLabel: 'Term', valueAxisLabel: 'Students' };
65
+ chart.data = [{ barLegend: 'Fall 2023', amount: 310 }, { barLegend: 'Spring 2024', amount: 280 }];
66
+ </script>
67
+ ```
68
+
69
+ _Single-color column chart_
70
+
71
+ ```react
72
+ <WmChartColumn ref={chartRef} />
73
+ // In useEffect: chartRef.current.config = {...}; chartRef.current.data = [...];
74
+ ```
75
+
76
+ _Grouped column chart_
77
+
78
+ ```html
79
+ <wm-chart-column id="grouped-chart"></wm-chart-column>
80
+ <script>
81
+ const chart = document.querySelector('#grouped-chart');
82
+ chart.config = { label: 'Enrollment by term and program', gridMax: 'auto',
83
+ showLegend: 'bottom' };
84
+ chart.data = [
85
+ { barLegend: 'Biology', amount: 120, groupName: 'Fall 2023' },
86
+ { barLegend: 'English', amount: 95, groupName: 'Fall 2023' },
87
+ ];
88
+ </script>
89
+ ```
90
+
91
+ _Grouped column chart_
92
+
93
+ ```react
94
+ <WmChartColumn ref={chartRef} />
95
+ // In useEffect: chartRef.current.config = {...}; chartRef.current.data = [...];
96
+ ```
@@ -0,0 +1,67 @@
1
+ ### Chart Legend
2
+ - **Element:** `<wm-chart-legend>`
3
+ - **Status:** stable
4
+
5
+ **Purpose:** External legend component for wm-chart-bar and wm-chart-column. Retrieves color and label
6
+ data from one or more charts via element IDs, allowing a single legend to serve multiple
7
+ charts. Hidden from screen readers -- relevant data is announced when the user interacts with
8
+ the associated chart directly.
9
+
10
+ For simple single-chart scenarios, the `config.showLegend` option on wm-chart-bar or
11
+ wm-chart-column renders an internal legend without requiring this element. Use
12
+ wm-chart-legend when sharing one legend across multiple charts or when external placement
13
+ is required.
14
+
15
+ **Variants / types:**
16
+
17
+ - Assign an `id` to each chart and pass those IDs (space-separated) to `chart-ids`.
18
+ - Clicking or hovering a legend item highlights the corresponding bar(s) in all associated
19
+ charts.
20
+
21
+ **Props:**
22
+ - `chart-ids` -- Space-separated list of element IDs of the wm-chart-bar or wm-chart-column
23
+ elements this legend serves. The legend derives its color swatches and labels from these
24
+ charts automatically.
25
+ - `orientation` -- Layout orientation of legend items.
26
+ - `print-mode` -- When true, the print value for each item is shown next to its swatch in the
27
+ legend -- suitable for printed output.
28
+
29
+ **Events:**
30
+ - `wmLegendItemClick`
31
+ - `wmLegendItemHover`
32
+
33
+ **Code example:**
34
+
35
+ _Shared legend for two charts_
36
+
37
+ ```html
38
+ <wm-chart-legend chart-ids="chart-a chart-b"></wm-chart-legend>
39
+ <wm-chart-bar id="chart-a"></wm-chart-bar>
40
+ <wm-chart-bar id="chart-b"></wm-chart-bar>
41
+ ```
42
+
43
+ _Shared legend for two charts_
44
+
45
+ ```react
46
+ const [activeIdx, setActiveIdx] = useState(null);
47
+
48
+ const handleClick = (event) => {
49
+ setActiveIdx(event.detail.idx);
50
+ };
51
+
52
+ <WmChartLegend chartIds="chart-a chart-b" onWmLegendItemClick={handleClick} />
53
+ <WmChartBar id="chart-a" />
54
+ <WmChartBar id="chart-b" />
55
+ ```
56
+
57
+ _Vertical orientation_
58
+
59
+ ```html
60
+ <wm-chart-legend chart-ids="my-chart" orientation="vertical"></wm-chart-legend>
61
+ ```
62
+
63
+ _Vertical orientation_
64
+
65
+ ```react
66
+ <WmChartLegend chartIds="my-chart" orientation="vertical" />
67
+ ```
@@ -0,0 +1,55 @@
1
+ ### Chart Slice
2
+ - **Element:** `<wm-chart-slice>`
3
+ - **Status:** stable
4
+
5
+ **Purpose:** Data slice for a wm-chart composition chart. Each slice represents one segment of the whole.
6
+ Always used as a direct child of wm-chart.
7
+
8
+ **Variants / types:**
9
+
10
+ - A `legend` is required unless `amount` is `0` or omitted -- the component throws if a
11
+ non-zero amount is provided without a legend.
12
+ - Slices without an `amount` are not rendered but still occupy a color slot, preserving
13
+ consistent color assignment when some data points are conditionally absent.
14
+ - Use `popover-title`, `popover-text`, and `popover-button-text` to surface additional
15
+ context when a segment is focused or clicked.
16
+
17
+ **Props:**
18
+ - `amount` -- Numeric value for this slice as a string. Slices with no amount (or `0`) are
19
+ not rendered but still occupy a color slot.
20
+ - `legend` -- Label for this slice in the legend and popovers. Required when `amount` is
21
+ greater than zero.
22
+ - `popover-button-text` -- Label for the action button in the data popover. When set, the popover
23
+ renders a button and fires `wmChartPopoverButtonTriggered` when clicked.
24
+ - `popover-text` -- Body text shown in the data popover when this segment is focused or clicked.
25
+ - `popover-title` -- Title text shown in the data popover when this segment is focused or clicked.
26
+
27
+ **Code example:**
28
+
29
+ _Basic slice_
30
+
31
+ ```html
32
+ <wm-chart-slice legend="Enrolled" amount="310"></wm-chart-slice>
33
+ ```
34
+
35
+ _Basic slice_
36
+
37
+ ```react
38
+ <WmChartSlice legend="Enrolled" amount="310" />
39
+ ```
40
+
41
+ _Slice with popover_
42
+
43
+ ```html
44
+ <wm-chart-slice legend="At risk" amount="45"
45
+ popover-title="45 students" popover-text="Flagged for early intervention"
46
+ popover-button-text="View students"></wm-chart-slice>
47
+ ```
48
+
49
+ _Slice with popover_
50
+
51
+ ```react
52
+ <WmChartSlice legend="At risk" amount="45"
53
+ popoverTitle="45 students" popoverText="Flagged for early intervention"
54
+ popoverButtonText="View students" />
55
+ ```