@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,3 +1,31 @@
1
+ /**
2
+ * Data slice for a wm-chart composition chart. Each slice represents one segment of the whole.
3
+ * Always used as a direct child of wm-chart.
4
+ *
5
+ * @usageNotes
6
+ * - A `legend` is required unless `amount` is `0` or omitted — the component throws if a
7
+ * non-zero amount is provided without a legend.
8
+ * - Slices without an `amount` are not rendered but still occupy a color slot, preserving
9
+ * consistent color assignment when some data points are conditionally absent.
10
+ * - Use `popover-title`, `popover-text`, and `popover-button-text` to surface additional
11
+ * context when a segment is focused or clicked.
12
+ *
13
+ * @example {html} Basic slice
14
+ * <wm-chart-slice legend="Enrolled" amount="310"></wm-chart-slice>
15
+ *
16
+ * @example {react} Basic slice
17
+ * <WmChartSlice legend="Enrolled" amount="310" />
18
+ *
19
+ * @example {html} Slice with popover
20
+ * <wm-chart-slice legend="At risk" amount="45"
21
+ * popover-title="45 students" popover-text="Flagged for early intervention"
22
+ * popover-button-text="View students"></wm-chart-slice>
23
+ *
24
+ * @example {react} Slice with popover
25
+ * <WmChartSlice legend="At risk" amount="45"
26
+ * popoverTitle="45 students" popoverText="Flagged for early intervention"
27
+ * popoverButtonText="View students" />
28
+ */
1
29
  export class ChartSlice {
2
30
  constructor() {
3
31
  this.legend = undefined;
@@ -28,7 +56,13 @@ export class ChartSlice {
28
56
  "required": false,
29
57
  "optional": true,
30
58
  "docs": {
31
- "tags": [],
59
+ "tags": [{
60
+ "name": "description",
61
+ "text": "Label for this slice in the legend and popovers. Required when `amount` is\ngreater than zero."
62
+ }, {
63
+ "name": "required",
64
+ "text": undefined
65
+ }],
32
66
  "text": ""
33
67
  },
34
68
  "attribute": "legend",
@@ -45,7 +79,10 @@ export class ChartSlice {
45
79
  "required": false,
46
80
  "optional": true,
47
81
  "docs": {
48
- "tags": [],
82
+ "tags": [{
83
+ "name": "description",
84
+ "text": "Numeric value for this slice as a string. Slices with no amount (or `0`) are\nnot rendered but still occupy a color slot."
85
+ }],
49
86
  "text": ""
50
87
  },
51
88
  "attribute": "amount",
@@ -62,7 +99,10 @@ export class ChartSlice {
62
99
  "required": false,
63
100
  "optional": true,
64
101
  "docs": {
65
- "tags": [],
102
+ "tags": [{
103
+ "name": "description",
104
+ "text": "Title text shown in the data popover when this segment is focused or clicked."
105
+ }],
66
106
  "text": ""
67
107
  },
68
108
  "attribute": "popover-title",
@@ -79,7 +119,10 @@ export class ChartSlice {
79
119
  "required": false,
80
120
  "optional": true,
81
121
  "docs": {
82
- "tags": [],
122
+ "tags": [{
123
+ "name": "description",
124
+ "text": "Body text shown in the data popover when this segment is focused or clicked."
125
+ }],
83
126
  "text": ""
84
127
  },
85
128
  "attribute": "popover-text",
@@ -96,7 +139,10 @@ export class ChartSlice {
96
139
  "required": false,
97
140
  "optional": true,
98
141
  "docs": {
99
- "tags": [],
142
+ "tags": [{
143
+ "name": "description",
144
+ "text": "Label for the action button in the data popover. When set, the popover\nrenders a button and fires `wmChartPopoverButtonTriggered` when clicked."
145
+ }],
100
146
  "text": ""
101
147
  },
102
148
  "attribute": "popover-button-text",
@@ -112,7 +158,13 @@ export class ChartSlice {
112
158
  "cancelable": true,
113
159
  "composed": true,
114
160
  "docs": {
115
- "tags": [],
161
+ "tags": [{
162
+ "name": "internal",
163
+ "text": undefined
164
+ }, {
165
+ "name": "description",
166
+ "text": "Internal signal notifying the parent wm-chart to re-read slice data after a\nprop update \u2014 not for application use."
167
+ }],
116
168
  "text": ""
117
169
  },
118
170
  "complexType": {
@@ -3,6 +3,63 @@ import { forceUpdate } from "@stencil/core";
3
3
  import { debounce, generateId } from "../../../global/functions";
4
4
  import { amountToPercent, exitChart, getDetails, handleChartKeydown, renderStackedBar, renderSimpleBar, renderDoughnut, renderHiddenValuesMessage, renderInstructionsText, renderLegend, allChartsDetails, removeSegmentInfoHighlight, } from "../chartFunctions";
5
5
  import { chartMessages } from "../../../global/intl";
6
+ /**
7
+ * Composition chart component rendering doughnut or stacked bar charts. Composed of a parent
8
+ * wm-chart element and wm-chart-slice children. Has 3 doughnut subtypes and 5 bar subtypes,
9
+ * each designed for a specific composition use case.
10
+ *
11
+ * **Important:** The bar subtypes (`bar2`–`bar7`) are COMPOSITION patterns — they show parts
12
+ * of a whole for specific qualitative use cases. They are NOT general-purpose bar charts. For
13
+ * general comparison or distribution bar charts, use wm-chart-bar or wm-chart-column instead.
14
+ *
15
+ * @keyboardInteraction
16
+ * - **Tab**: Enters the chart. Subsequent Tab exits the chart.
17
+ * - **Arrow keys**: Navigate between slices/segments.
18
+ * - **Enter / Space**: Opens the data popover for the focused segment.
19
+ * - **Escape**: Closes the popover and returns to the chart container.
20
+ *
21
+ * @accessibility
22
+ * - `label` is required for accessibility — the chart throws if omitted.
23
+ * - The chart renders with `role="application"` and an `aria-roledescription` of
24
+ * "Interactive chart". Each segment is individually focusable with an `aria-label`.
25
+ * - `print-mode` removes keyboard interaction instructions for printed output.
26
+ *
27
+ * @usageNotes
28
+ * - Slices without an `amount` are not rendered but still occupy a color slot, allowing
29
+ * consistent color assignment when some data points are missing.
30
+ * - The `show-legend` prop controls legend visibility but the legend is always read by screen
31
+ * readers regardless of visibility.
32
+ * - For data-driven bar charts (comparison, distribution), prefer wm-chart-bar or
33
+ * wm-chart-column.
34
+ *
35
+ * @example {html} Doughnut chart
36
+ * <wm-chart label="Enrollment by status">
37
+ * <wm-chart-slice legend="Enrolled" amount="310"></wm-chart-slice>
38
+ * <wm-chart-slice legend="Not enrolled" amount="90"></wm-chart-slice>
39
+ * </wm-chart>
40
+ *
41
+ * @example {react} Doughnut chart
42
+ * <WmChart label="Enrollment by status">
43
+ * <WmChartSlice legend="Enrolled" amount="310" />
44
+ * <WmChartSlice legend="Not enrolled" amount="90" />
45
+ * </WmChart>
46
+ *
47
+ * @example {html} Bar composition chart
48
+ * <wm-chart label="Completion by cohort" chart-type="bar5">
49
+ * <wm-chart-slice legend="Completed" amount="200"></wm-chart-slice>
50
+ * <wm-chart-slice legend="In progress" amount="75"></wm-chart-slice>
51
+ * <wm-chart-slice legend="Not started" amount="25"></wm-chart-slice>
52
+ * </wm-chart>
53
+ *
54
+ * @example {react} Bar composition chart
55
+ * <WmChart label="Completion by cohort" chartType="bar5">
56
+ * <WmChartSlice legend="Completed" amount="200" />
57
+ * <WmChartSlice legend="In progress" amount="75" />
58
+ * <WmChartSlice legend="Not started" amount="25" />
59
+ * </WmChart>
60
+ *
61
+ * @category Data Visualization
62
+ */
6
63
  export class Chart {
7
64
  constructor() {
8
65
  this.uid = generateId();
@@ -145,7 +202,7 @@ export class Chart {
145
202
  }
146
203
  }
147
204
  render() {
148
- return (h(Host, { key: '64a6dc03c5a44de1cb06d0ddfa90cf88cf1c467c', onBlur: () => exitChart.call(this) }, h("div", { key: '31b4a39ce530c5e3552b1896feaa081f2e368d1b', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.currentChartType} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""} ${this.labelPosition === "left" && this.currentChartType === "bar4" ? "left-label" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: 0, "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions" }, h("label", { key: 'a62e78dd0eb3f50da81cc09137ea5bc7115b7cf4', id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { key: '9a7219c06f7ef4a1a59f9b23a15574c65942e6c6', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.isBar && renderLegend.call(this, this.currentChartType), this.renderChart(), this.isDoughnut && renderLegend.call(this, this.currentChartType), h("priv-chart-popover-old", { key: 'c561e46795723255b0919e321c4a60f5b58dc021', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
205
+ return (h(Host, { key: 'e0a972bc5e47bead2080f995f6ac7622a9508f4e', onBlur: () => exitChart.call(this) }, h("div", { key: 'a9d2e2b8309229208e9432e7756432f8c4ed0585', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.currentChartType} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""} ${this.labelPosition === "left" && this.currentChartType === "bar4" ? "left-label" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: 0, "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions" }, h("label", { key: '5a2acae3749eed0ce29ce20a43eff4a1324790bb', id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { key: '780eb58732f4ec691ca6623dc4e2e6fb05395faf', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.isBar && renderLegend.call(this, this.currentChartType), this.renderChart(), this.isDoughnut && renderLegend.call(this, this.currentChartType), h("priv-chart-popover-old", { key: '266e79755e835272f69e3f6a9d057fe1dab46837', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
149
206
  }
150
207
  static get is() { return "wm-chart"; }
151
208
  static get encapsulation() { return "shadow"; }
@@ -179,7 +236,13 @@ export class Chart {
179
236
  "required": false,
180
237
  "optional": false,
181
238
  "docs": {
182
- "tags": [],
239
+ "tags": [{
240
+ "name": "description",
241
+ "text": "Chart subtype. Doughnut subtypes (`doughnut1`\u2013`doughnut3`) and bar composition\nsubtypes (`bar2`\u2013`bar7`) \u2014 each tailored to a specific composition use case."
242
+ }, {
243
+ "name": "default",
244
+ "text": "\"doughnut1\""
245
+ }],
183
246
  "text": ""
184
247
  },
185
248
  "attribute": "chart-type",
@@ -197,7 +260,13 @@ export class Chart {
197
260
  "required": false,
198
261
  "optional": true,
199
262
  "docs": {
200
- "tags": [],
263
+ "tags": [{
264
+ "name": "description",
265
+ "text": "Accessible label for the chart. Required \u2014 the component throws an error if\nomitted. Used as the `aria-label` on the chart container and as the visual chart label."
266
+ }, {
267
+ "name": "required",
268
+ "text": undefined
269
+ }],
201
270
  "text": ""
202
271
  },
203
272
  "attribute": "label",
@@ -214,7 +283,13 @@ export class Chart {
214
283
  "required": false,
215
284
  "optional": false,
216
285
  "docs": {
217
- "tags": [],
286
+ "tags": [{
287
+ "name": "description",
288
+ "text": "Controls the bar label width. Only applies to `bar6` and `bar7` subtypes."
289
+ }, {
290
+ "name": "default",
291
+ "text": "\"150px\""
292
+ }],
218
293
  "text": ""
219
294
  },
220
295
  "attribute": "label-width",
@@ -232,7 +307,10 @@ export class Chart {
232
307
  "required": false,
233
308
  "optional": true,
234
309
  "docs": {
235
- "tags": [],
310
+ "tags": [{
311
+ "name": "description",
312
+ "text": "Optional secondary text displayed beneath the chart label. Not shown when\n`label-position` is `\"none\"`."
313
+ }],
236
314
  "text": ""
237
315
  },
238
316
  "attribute": "subinfo",
@@ -249,7 +327,13 @@ export class Chart {
249
327
  "required": false,
250
328
  "optional": false,
251
329
  "docs": {
252
- "tags": [],
330
+ "tags": [{
331
+ "name": "description",
332
+ "text": "Controls how individual segment values are displayed on the chart."
333
+ }, {
334
+ "name": "default",
335
+ "text": "\"none\""
336
+ }],
253
337
  "text": ""
254
338
  },
255
339
  "attribute": "value-format",
@@ -267,7 +351,13 @@ export class Chart {
267
351
  "required": false,
268
352
  "optional": true,
269
353
  "docs": {
270
- "tags": [],
354
+ "tags": [{
355
+ "name": "description",
356
+ "text": "Show or hide the value grid lines. Only applies to `bar6`."
357
+ }, {
358
+ "name": "default",
359
+ "text": "true"
360
+ }],
271
361
  "text": ""
272
362
  },
273
363
  "attribute": "show-grid",
@@ -285,7 +375,13 @@ export class Chart {
285
375
  "required": false,
286
376
  "optional": false,
287
377
  "docs": {
288
- "tags": [],
378
+ "tags": [{
379
+ "name": "description",
380
+ "text": "Show or hide the legend below the chart. The legend is still read by screen\nreaders regardless of this setting."
381
+ }, {
382
+ "name": "default",
383
+ "text": "true"
384
+ }],
289
385
  "text": ""
290
386
  },
291
387
  "attribute": "show-legend",
@@ -303,7 +399,13 @@ export class Chart {
303
399
  "required": false,
304
400
  "optional": false,
305
401
  "docs": {
306
- "tags": [],
402
+ "tags": [{
403
+ "name": "description",
404
+ "text": "Show or hide the y-axis bar legend. Only applies to `bar7`."
405
+ }, {
406
+ "name": "default",
407
+ "text": "false"
408
+ }],
307
409
  "text": ""
308
410
  },
309
411
  "attribute": "show-bar-legend",
@@ -321,7 +423,13 @@ export class Chart {
321
423
  "required": false,
322
424
  "optional": false,
323
425
  "docs": {
324
- "tags": [],
426
+ "tags": [{
427
+ "name": "description",
428
+ "text": "When true, applies a gray color to the first slice to represent a\n\"not started\" state. Only applies to `bar5`."
429
+ }, {
430
+ "name": "default",
431
+ "text": "false"
432
+ }],
325
433
  "text": ""
326
434
  },
327
435
  "attribute": "not-started-color",
@@ -339,7 +447,13 @@ export class Chart {
339
447
  "required": false,
340
448
  "optional": false,
341
449
  "docs": {
342
- "tags": [],
450
+ "tags": [{
451
+ "name": "description",
452
+ "text": "When true, slice values are included in the legend and keyboard interaction\ninstructions are removed from the DOM \u2014 suitable for printed output."
453
+ }, {
454
+ "name": "default",
455
+ "text": "false"
456
+ }],
343
457
  "text": ""
344
458
  },
345
459
  "attribute": "print-mode",
@@ -357,7 +471,13 @@ export class Chart {
357
471
  "required": false,
358
472
  "optional": false,
359
473
  "docs": {
360
- "tags": [],
474
+ "tags": [{
475
+ "name": "description",
476
+ "text": "Format for legend values when `print-mode` is enabled."
477
+ }, {
478
+ "name": "default",
479
+ "text": "\"amount\""
480
+ }],
361
481
  "text": ""
362
482
  },
363
483
  "attribute": "print-mode-format",
@@ -375,7 +495,13 @@ export class Chart {
375
495
  "required": false,
376
496
  "optional": false,
377
497
  "docs": {
378
- "tags": [],
498
+ "tags": [{
499
+ "name": "description",
500
+ "text": "Position of the chart label relative to the chart. When `\"none\"`, no label is\nrendered \u2014 an external label matching `label` must be visually grouped with the chart."
501
+ }, {
502
+ "name": "default",
503
+ "text": "\"top\""
504
+ }],
379
505
  "text": ""
380
506
  },
381
507
  "attribute": "label-position",
@@ -3,6 +3,106 @@ import { chartPalettes, patternKey, } from "../../../global/interfaces";
3
3
  import { formatDisplayValue, suffixNumber, renderInstructionsText, findLargestNiceInterval, getMaxTicks, findNiceRoundNumber, groupProcessedData, computeLegendData, sortGroupedData, inferDecimalPlacesForUnitValue, } from "../chartFunctions";
4
4
  import { chartMessages } from "../../../global/intl";
5
5
  import { isElOrChild } from "../../../global/functions";
6
+ /**
7
+ * Renders a horizontal bar chart for comparing values across nominal categories. Data and
8
+ * configuration are set via JavaScript properties (`chart.config` and `chart.data`) — not
9
+ * HTML attributes. Supports single-color, discrete palette, semantic palette, and grouped bars.
10
+ *
11
+ * **Preferred** over wm-chart's bar subtypes for all comparison and distribution use cases.
12
+ * Use this component (or wm-chart-column) instead of `<wm-chart chart-type="bar*">`.
13
+ *
14
+ * @keyboardInteraction
15
+ * - **Tab**: Enters the chart wrapper.
16
+ * - **Arrow Down / Right**: Focuses the first bar; subsequent presses cycle to the next bar.
17
+ * - **Arrow Up / Left**: Cycles to the previous bar.
18
+ * - **Enter**: Activates the popover button when the popover is open.
19
+ * - **Escape**: Closes the open popover.
20
+ * - **Tab** (from within): Exits the chart and clears focus.
21
+ *
22
+ * @accessibility
23
+ * - `config.label` is required — used as the chart's `aria-label`.
24
+ * - Each bar receives an `aria-label` composed of the category axis label, group name (if
25
+ * grouped), bar legend, and display value.
26
+ * - The chart renders with `role="application"` and `aria-roledescription="Interactive chart"`.
27
+ * - In `print-mode`, keyboard interaction instructions are removed from the DOM.
28
+ *
29
+ * @usageNotes
30
+ * - Set `id` on the element to use with an external `wm-chart-legend` via `chart-ids`.
31
+ * - For grouped charts, each `ChartData` item must include a `groupName` field.
32
+ * - `config.gridMax: "auto"` calculates a "nice" round upper bound from the data.
33
+ * - Bars exceeding the `gridMax` are clipped — set an appropriate `gridMax` to avoid this.
34
+ *
35
+ * @example {html} Single-color bar chart
36
+ * <wm-chart-bar id="enrollment-chart"></wm-chart-bar>
37
+ * <script>
38
+ * const chart = document.querySelector('#enrollment-chart');
39
+ * chart.config = { label: 'Enrollment by program', gridMax: 'auto', valueFormat: 'amount' };
40
+ * chart.data = [{ barLegend: 'Biology', amount: 310 }, { barLegend: 'English', amount: 280 }];
41
+ * </script>
42
+ *
43
+ * @example {react} Single-color bar chart
44
+ * // config and data must be set via JavaScript properties in useEffect -- not as JSX props.
45
+ * const singleRef = useRef(null);
46
+ *
47
+ * useEffect(() => {
48
+ * singleRef.current.config = {
49
+ * label: 'Enrollment by program',
50
+ * gridMax: 'auto',
51
+ * valueFormat: 'amount',
52
+ * popoverTitle: 'Details',
53
+ * };
54
+ * singleRef.current.data = [
55
+ * { barLegend: 'Biology', amount: 310, popoverText: '310 students enrolled' },
56
+ * { barLegend: 'English', amount: 280, popoverText: '280 students enrolled' },
57
+ * { barLegend: 'History', amount: 195, popoverText: '195 students enrolled' },
58
+ * { barLegend: 'Chemistry', amount: 240, popoverText: '240 students enrolled' },
59
+ * ];
60
+ * }, []);
61
+ *
62
+ * <WmChartBar ref={singleRef} />
63
+ *
64
+ * @example {html} Grouped bar chart
65
+ * <wm-chart-bar id="grouped-chart"></wm-chart-bar>
66
+ * <script>
67
+ * const chart = document.querySelector('#grouped-chart');
68
+ * chart.config = { label: 'Retention by cohort and program', gridMax: 'auto',
69
+ * categoryAxisLabel: 'Cohort', valueAxisLabel: 'Students', showLegend: 'bottom' };
70
+ * chart.data = [
71
+ * { barLegend: 'Biology', amount: 120, groupName: '2022', popoverTitle: 'Biology — 2022', popoverText: '120 students retained' },
72
+ * { barLegend: 'English', amount: 95, groupName: '2022', popoverTitle: 'English — 2022', popoverText: '95 students retained' },
73
+ * { barLegend: 'Biology', amount: 135, groupName: '2023', popoverTitle: 'Biology — 2023', popoverText: '135 students retained' },
74
+ * { barLegend: 'English', amount: 110, groupName: '2023', popoverTitle: 'English — 2023', popoverText: '110 students retained' },
75
+ * ];
76
+ * </script>
77
+ *
78
+ * @example {react} Grouped bar chart
79
+ * // config and data must be set via JavaScript properties in useEffect -- not as JSX props.
80
+ * const groupedRef = useRef(null);
81
+ *
82
+ * useEffect(() => {
83
+ * groupedRef.current.config = {
84
+ * label: 'Retention by cohort and program',
85
+ * gridMax: 'auto',
86
+ * valueFormat: 'amount',
87
+ * categoryAxisLabel: 'Cohort',
88
+ * valueAxisLabel: 'Students',
89
+ * showLegend: 'bottom',
90
+ * };
91
+ * groupedRef.current.data = [
92
+ * { barLegend: 'Biology', amount: 120, groupName: '2022', popoverTitle: 'Biology — 2022', popoverText: '120 students retained' },
93
+ * { barLegend: 'English', amount: 95, groupName: '2022', popoverTitle: 'English — 2022', popoverText: '95 students retained' },
94
+ * { barLegend: 'History', amount: 80, groupName: '2022', popoverTitle: 'History — 2022', popoverText: '80 students retained' },
95
+ * { barLegend: 'Biology', amount: 135, groupName: '2023', popoverTitle: 'Biology — 2023', popoverText: '135 students retained' },
96
+ * { barLegend: 'English', amount: 110, groupName: '2023', popoverTitle: 'English — 2023', popoverText: '110 students retained' },
97
+ * { barLegend: 'History', amount: 72, groupName: '2023', popoverTitle: 'History — 2023', popoverText: '72 students retained' },
98
+ * ];
99
+ * }, []);
100
+ *
101
+ * <WmChartBar ref={groupedRef} />
102
+ *
103
+ * @category Data Visualization
104
+ * @displayName Bar Chart
105
+ */
6
106
  export class ChartBar {
7
107
  constructor() {
8
108
  this.gridMax = 0;
@@ -425,7 +525,7 @@ export class ChartBar {
425
525
  render() {
426
526
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
427
527
  const rowCount = (this.isGrouped ? this.processedData.size : (_a = this.processedData.get(null)) === null || _a === void 0 ? void 0 : _a.length) || 1; // processedData keys are the group names, ungrouped data belongs under a key of null
428
- return (h(Host, { key: '6c4e5d5a990eb6b719cf6414bcb08961b265d6f7' }, h("div", { key: '348d77ac265b2ad0abac5aadaf117286b4c8b408', class: "popover-wrapper" }, h("priv-chart-popover", { key: 'bf6ecf7270d6a5862a65c2820c057946171bf380', ref: (el) => (this.popoverEl = el), onIntChartPopoverToggled: (ev) => this.handlePopoverToggled(ev) })), h("div", { key: 'eb2120d0c22302d55ce91c0242cc021586005e41', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${((_b = this.printMode) !== null && _b !== void 0 ? _b : (_c = this.config) === null || _c === void 0 ? void 0 : _c.printMode) ? "print-mode" : ""}`, tabindex: "0", role: "application", onKeyDown: (ev) => this.handleChartKeyDown(ev), onBlur: (ev) => this.handleComponentBlur(ev), "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions", "aria-label": (_d = this.config) === null || _d === void 0 ? void 0 : _d.label }, ((_f = (_e = this.config) === null || _e === void 0 ? void 0 : _e.showLabel) !== null && _f !== void 0 ? _f : true) && (h("label", { key: 'c3c5df95bbe6c59785e3812a3e4a41c1c2c30243', id: "label", class: "label" }, h("span", { key: '9c0cbdc44cf7e261b84a2cb466124b3b3f526bff', class: "label-text" }, (_g = this.config) === null || _g === void 0 ? void 0 : _g.label), this.subinfoText ? h("span", { class: "subinfo" }, this.subinfoText) : "")), this.showLegend === "top" && this.renderLegend("horizontal"), h("div", { key: '2054415ba5137a232b43acdc2776adeb038aa968', class: "chart-wrapper" }, h("div", { key: 'b0238719a9e7d271f1c04d1a22acb9784a9283e3', class: "chart-left-side" }, this.showLegend === "left" && this.renderLegend("vertical"), h("div", { key: 'fc31958261bd6901ec8a37b6d4327058fbc0cc08', class: "left-axis-label" }, h("span", { key: '9d1f9c6976084919bf9c3bc52e4fc05af9d70398', class: "axis-label-text" }, (_h = this.config) === null || _h === void 0 ? void 0 : _h.categoryAxisLabel))), h("div", { key: 'cd8f097b5350c41c0db3e0427cebf71b9f77da03', class: "chart-center" }, h("div", { key: 'cfb29fb64d81c566c97820a1da2a3988a4e3cea7', class: "chart-area", style: { "--row-count": rowCount.toString() } }, this.processedData && (this.isGrouped ? this.renderGroupLegends() : this.renderBarLegends()), h("div", { key: '073309f0b2b5218e0bc4e21c58a9272e40ac376f', class: `bar-area ${this.isKeying ? "user-is-keying" : ""} ${this.isGrouped ? "grouped" : ""}`, ref: (el) => (this.barAreaEl = el) }, this.gridVisible && this.renderGrid(), ((_j = this.config) === null || _j === void 0 ? void 0 : _j.gridMax) != undefined && (this.isGrouped ? this.renderGroupedBars() : this.renderBars()))), h("div", { key: '4e455f2332f393cb1ea2ccc75209434f90c3ef74', class: "bottom-axis-label" }, h("span", { key: 'db1ef4194c3d544c28270892a2c0b85524685e89', class: "axis-label-text" }, (_k = this.config) === null || _k === void 0 ? void 0 : _k.valueAxisLabel)), this.gridVisible && this.renderXAxis()), h("div", { key: '8451642ab2169b7255b82620b9751538c3ecbeda', class: "chart-right-side" }, this.showLegend === "right" && this.renderLegend("vertical"))), this.showLegend === "bottom" && this.renderLegend("horizontal"), renderInstructionsText())));
528
+ return (h(Host, { key: 'fee905a779328fdabd70ead14d0be757809a20b7' }, h("div", { key: '259b8520be79541071c4e9d322d52253b1f31905', class: "popover-wrapper" }, h("priv-chart-popover", { key: '4e67366a3e3328621228faf7b7006cc28ea5d6c6', ref: (el) => (this.popoverEl = el), onIntChartPopoverToggled: (ev) => this.handlePopoverToggled(ev) })), h("div", { key: '040f5c7d13fa72d062fa82069f9da9f11aefa01c', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${((_b = this.printMode) !== null && _b !== void 0 ? _b : (_c = this.config) === null || _c === void 0 ? void 0 : _c.printMode) ? "print-mode" : ""}`, tabindex: "0", role: "application", onKeyDown: (ev) => this.handleChartKeyDown(ev), onBlur: (ev) => this.handleComponentBlur(ev), "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions", "aria-label": (_d = this.config) === null || _d === void 0 ? void 0 : _d.label }, ((_f = (_e = this.config) === null || _e === void 0 ? void 0 : _e.showLabel) !== null && _f !== void 0 ? _f : true) && (h("label", { key: '913ee009cdccb63eb97d7b089e47b3a95afbd033', id: "label", class: "label" }, h("span", { key: 'df61bc316cd501e9747b88705da29c4dff1e8409', class: "label-text" }, (_g = this.config) === null || _g === void 0 ? void 0 : _g.label), this.subinfoText ? h("span", { class: "subinfo" }, this.subinfoText) : "")), this.showLegend === "top" && this.renderLegend("horizontal"), h("div", { key: '7e62e9b642f8c9c82a85a0444718688b559df321', class: "chart-wrapper" }, h("div", { key: '253dec169ae191463f5bae1762927903e28865b9', class: "chart-left-side" }, this.showLegend === "left" && this.renderLegend("vertical"), h("div", { key: 'a334e424f2e6d84f2573958392d998918b108282', class: "left-axis-label" }, h("span", { key: '3e5ce3a0e0de6c6681e8128285f9cb68d380c455', class: "axis-label-text" }, (_h = this.config) === null || _h === void 0 ? void 0 : _h.categoryAxisLabel))), h("div", { key: '6a8569d3747e99acad477eeaa3d23a8e2cd9e86d', class: "chart-center" }, h("div", { key: '9fdd5de7923748a3ece1c878b67345c09ade7b16', class: "chart-area", style: { "--row-count": rowCount.toString() } }, this.processedData && (this.isGrouped ? this.renderGroupLegends() : this.renderBarLegends()), h("div", { key: '384233d4f76764d9e58d4512398b58c2e08da6fa', class: `bar-area ${this.isKeying ? "user-is-keying" : ""} ${this.isGrouped ? "grouped" : ""}`, ref: (el) => (this.barAreaEl = el) }, this.gridVisible && this.renderGrid(), ((_j = this.config) === null || _j === void 0 ? void 0 : _j.gridMax) != undefined && (this.isGrouped ? this.renderGroupedBars() : this.renderBars()))), h("div", { key: '029ce6b851112ba6f3a0bf02f52003fe33ce3236', class: "bottom-axis-label" }, h("span", { key: 'e8e23fbf1446d7e3c6639233ee1bdd95d39be38f', class: "axis-label-text" }, (_k = this.config) === null || _k === void 0 ? void 0 : _k.valueAxisLabel)), this.gridVisible && this.renderXAxis()), h("div", { key: '0019f06abd0b37f496960c499d10a12ca616a6bb', class: "chart-right-side" }, this.showLegend === "right" && this.renderLegend("vertical"))), this.showLegend === "bottom" && this.renderLegend("horizontal"), renderInstructionsText())));
429
529
  }
430
530
  static get is() { return "wm-chart-bar"; }
431
531
  static get encapsulation() { return "shadow"; }
@@ -459,7 +559,10 @@ export class ChartBar {
459
559
  "required": false,
460
560
  "optional": true,
461
561
  "docs": {
462
- "tags": [],
562
+ "tags": [{
563
+ "name": "description",
564
+ "text": "Chart configuration object. Set via JavaScript property \u2014 not an HTML\nattribute. See the `ChartConfig` interface for the full list of options (label, gridMax,\nvalueFormat, colors, showLegend, etc.)."
565
+ }],
463
566
  "text": ""
464
567
  }
465
568
  },
@@ -480,7 +583,10 @@ export class ChartBar {
480
583
  "required": false,
481
584
  "optional": true,
482
585
  "docs": {
483
- "tags": [],
586
+ "tags": [{
587
+ "name": "description",
588
+ "text": "Array of data items to render. Set via JavaScript property \u2014 not an HTML\nattribute. Each item must include at least `barLegend` and `amount`; grouped charts also\nrequire `groupName`. See the `ChartData` interface."
589
+ }],
484
590
  "text": ""
485
591
  }
486
592
  },
@@ -495,7 +601,13 @@ export class ChartBar {
495
601
  "required": false,
496
602
  "optional": true,
497
603
  "docs": {
498
- "tags": [],
604
+ "tags": [{
605
+ "name": "description",
606
+ "text": "When true, bar values are included in the legend and keyboard interaction\ninstructions are removed from the DOM \u2014 suitable for printed output. Takes precedence over\n`config.printMode`."
607
+ }, {
608
+ "name": "default",
609
+ "text": "false"
610
+ }],
499
611
  "text": ""
500
612
  },
501
613
  "attribute": "print-mode",
@@ -512,7 +624,13 @@ export class ChartBar {
512
624
  "required": false,
513
625
  "optional": true,
514
626
  "docs": {
515
- "tags": [],
627
+ "tags": [{
628
+ "name": "description",
629
+ "text": "When true, applies a hatching pattern fill to bars in addition to color,\nimproving distinguishability for users with color vision deficiencies. Takes precedence\nover `config.patternMode`."
630
+ }, {
631
+ "name": "default",
632
+ "text": "false"
633
+ }],
516
634
  "text": ""
517
635
  },
518
636
  "attribute": "pattern-mode",
@@ -529,7 +647,10 @@ export class ChartBar {
529
647
  "required": false,
530
648
  "optional": true,
531
649
  "docs": {
532
- "tags": [],
650
+ "tags": [{
651
+ "name": "description",
652
+ "text": "Optional secondary text displayed beneath the chart label. Takes precedence\nover `config.subinfo`."
653
+ }],
533
654
  "text": ""
534
655
  },
535
656
  "attribute": "subinfo",
@@ -552,7 +673,13 @@ export class ChartBar {
552
673
  "cancelable": true,
553
674
  "composed": true,
554
675
  "docs": {
555
- "tags": [],
676
+ "tags": [{
677
+ "name": "internal",
678
+ "text": undefined
679
+ }, {
680
+ "name": "description",
681
+ "text": "Internal signal used to synchronize bar highlight state with an external\nwm-chart-legend \u2014 not for application use."
682
+ }],
556
683
  "text": ""
557
684
  },
558
685
  "complexType": {