@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.
- package/dist/cjs/app-globals-df7ca137.js +103 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/priv-calendar.cjs.entry.js +27 -27
- package/dist/cjs/priv-chart-popover-old.cjs.entry.js +2 -2
- package/dist/cjs/priv-chart-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
- package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
- package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +5 -4
- package/dist/cjs/wm-button.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart-column.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart.cjs.entry.js +1 -1
- package/dist/cjs/wm-date-range.cjs.entry.js +25 -9
- package/dist/cjs/wm-datepicker.cjs.entry.js +37 -11
- package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +1 -1
- package/dist/cjs/wm-flyout.cjs.entry.js +6 -1
- package/dist/cjs/wm-input.cjs.entry.js +1 -1
- package/dist/cjs/wm-line-chart.cjs.entry.js +1 -1
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-modal_3.cjs.entry.js +19 -4
- package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
- package/dist/cjs/wm-nested-select.cjs.entry.js +3 -3
- package/dist/cjs/wm-optgroup.cjs.entry.js +11 -1
- package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
- package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/wm-search.cjs.entry.js +2 -2
- package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-tag-input.cjs.entry.js +2 -2
- package/dist/cjs/wm-tag-option.cjs.entry.js +8 -0
- package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
- package/dist/cjs/wm-timepicker.cjs.entry.js +14 -2
- package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
- package/dist/cjs/wm-uploader.cjs.entry.js +2 -2
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +7 -2
- package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.js +7 -2
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +58 -6
- package/dist/collection/components/charts/wm-chart/wm-chart.js +139 -13
- package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +134 -7
- package/dist/collection/components/charts/wm-chart-column/wm-chart-column.js +102 -8
- package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.js +90 -8
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +153 -17
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +63 -7
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +85 -5
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +52 -6
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +47 -47
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +33 -29
- package/dist/collection/components/datepickers/wm-date-range.js +246 -29
- package/dist/collection/components/datepickers/wm-datepicker.js +254 -30
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +7 -1
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +193 -17
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +116 -11
- package/dist/collection/components/selects/wm-option/wm-option.js +153 -18
- package/dist/collection/components/selects/wm-select/wm-select.js +187 -21
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +148 -12
- package/dist/collection/components/wm-button/wm-button.js +212 -18
- package/dist/collection/components/wm-file/wm-file.js +108 -14
- package/dist/collection/components/wm-file-list/wm-file-list.js +74 -2
- package/dist/collection/components/wm-flyout/wm-flyout.js +215 -16
- package/dist/collection/components/wm-input/wm-input.js +195 -20
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +62 -5
- package/dist/collection/components/wm-modal/wm-modal-footer.js +63 -6
- package/dist/collection/components/wm-modal/wm-modal-header.js +34 -3
- package/dist/collection/components/wm-modal/wm-modal.js +181 -14
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +5 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +5 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +6 -2
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +37 -3
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +47 -5
- package/dist/collection/components/wm-navigation/wm-navigation.js +54 -4
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +5 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +5 -1
- package/dist/collection/components/wm-navigator/wm-navigator.js +102 -9
- package/dist/collection/components/wm-pagination/wm-pagination.js +106 -9
- package/dist/collection/components/wm-search/wm-search.js +182 -16
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +96 -5
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +66 -10
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +96 -5
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +42 -6
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +205 -17
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +97 -12
- package/dist/collection/components/wm-textarea/wm-textarea.js +116 -13
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +190 -16
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +87 -8
- package/dist/collection/components/wm-uploader/wm-uploader.js +142 -14
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +3 -0
- package/dist/collection/global/services/__mocks__/http-service.js +1 -1
- package/dist/docs/docs.d.ts +435 -0
- package/dist/docs/docs.json +13915 -0
- package/dist/docs/props-reference.json +2028 -0
- package/dist/docs/skill/index.md +32 -0
- package/dist/docs/skill/wm-action-menu.md +93 -0
- package/dist/docs/skill/wm-button.md +103 -0
- package/dist/docs/skill/wm-chart-bar.md +129 -0
- package/dist/docs/skill/wm-chart-column.md +96 -0
- package/dist/docs/skill/wm-chart-legend.md +67 -0
- package/dist/docs/skill/wm-chart-slice.md +55 -0
- package/dist/docs/skill/wm-chart.md +92 -0
- package/dist/docs/skill/wm-date-range.md +153 -0
- package/dist/docs/skill/wm-datepicker.md +134 -0
- package/dist/docs/skill/wm-file-list.md +97 -0
- package/dist/docs/skill/wm-file.md +78 -0
- package/dist/docs/skill/wm-flyout.md +174 -0
- package/dist/docs/skill/wm-input.md +126 -0
- package/dist/docs/skill/wm-line-chart.md +108 -0
- package/dist/docs/skill/wm-menuitem.md +72 -0
- package/dist/docs/skill/wm-modal-footer.md +73 -0
- package/dist/docs/skill/wm-modal-header.md +65 -0
- package/dist/docs/skill/wm-modal.md +137 -0
- package/dist/docs/skill/wm-navigation-hamburger.md +56 -0
- package/dist/docs/skill/wm-navigation-item.md +69 -0
- package/dist/docs/skill/wm-navigation.md +66 -0
- package/dist/docs/skill/wm-navigator.md +91 -0
- package/dist/docs/skill/wm-nested-select.md +149 -0
- package/dist/docs/skill/wm-optgroup.md +71 -0
- package/dist/docs/skill/wm-option.md +68 -0
- package/dist/docs/skill/wm-pagination.md +95 -0
- package/dist/docs/skill/wm-progress-indicator.md +49 -0
- package/dist/docs/skill/wm-progress-monitor.md +93 -0
- package/dist/docs/skill/wm-progress-slice.md +41 -0
- package/dist/docs/skill/wm-search.md +157 -0
- package/dist/docs/skill/wm-select.md +148 -0
- package/dist/docs/skill/wm-snackbar.md +101 -0
- package/dist/docs/skill/wm-tab-item.md +35 -0
- package/dist/docs/skill/wm-tab-list.md +112 -0
- package/dist/docs/skill/wm-tab-panel.md +33 -0
- package/dist/docs/skill/wm-tag-input.md +165 -0
- package/dist/docs/skill/wm-tag-option.md +59 -0
- package/dist/docs/skill/wm-textarea.md +94 -0
- package/dist/docs/skill/wm-timepicker.md +139 -0
- package/dist/docs/skill/wm-toggletip.md +92 -0
- package/dist/docs/skill/wm-uploader.md +129 -0
- package/dist/docs/skill/wm-wrapper.md +6 -0
- package/dist/docs/wm-action-menu.md +111 -0
- package/dist/docs/wm-button.md +137 -0
- package/dist/docs/wm-chart-bar.md +23 -0
- package/dist/docs/wm-chart-column.md +26 -0
- package/dist/docs/wm-chart-legend.md +31 -0
- package/dist/docs/wm-chart-slice.md +14 -0
- package/dist/docs/wm-chart.md +30 -0
- package/dist/docs/wm-date-range.md +215 -0
- package/dist/docs/wm-datepicker.md +210 -0
- package/dist/docs/wm-file-list.md +95 -0
- package/dist/docs/wm-file.md +34 -0
- package/dist/docs/wm-flyout.md +123 -0
- package/dist/docs/wm-input.md +120 -0
- package/dist/docs/wm-line-chart.md +32 -0
- package/dist/docs/wm-menuitem.md +38 -0
- package/dist/docs/wm-modal-footer.md +106 -0
- package/dist/docs/wm-modal-header.md +100 -0
- package/dist/docs/wm-modal.md +127 -0
- package/dist/docs/wm-navigation-hamburger.md +91 -0
- package/dist/docs/wm-navigation-item.md +98 -0
- package/dist/docs/wm-navigation.md +101 -0
- package/dist/docs/wm-navigator.md +99 -0
- package/dist/docs/wm-nested-select.md +107 -0
- package/dist/docs/wm-optgroup.md +28 -0
- package/dist/docs/wm-option.md +24 -0
- package/dist/docs/wm-pagination.md +94 -0
- package/dist/docs/wm-progress-indicator.md +23 -0
- package/dist/docs/wm-progress-monitor.md +27 -0
- package/dist/docs/wm-progress-slice.md +16 -0
- package/dist/docs/wm-search.md +119 -0
- package/dist/docs/wm-select.md +120 -0
- package/dist/docs/wm-snackbar.md +87 -0
- package/dist/docs/wm-tab-item.md +23 -0
- package/dist/docs/wm-tab-list.md +98 -0
- package/dist/docs/wm-tab-panel.md +18 -0
- package/dist/docs/wm-tag-input.md +123 -0
- package/dist/docs/wm-tag-option.md +33 -0
- package/dist/docs/wm-textarea.md +101 -0
- package/dist/docs/wm-timepicker.md +122 -0
- package/dist/docs/wm-toggletip.md +86 -0
- package/dist/docs/wm-uploader.md +114 -0
- package/dist/docs/wm-wrapper.md +7 -0
- package/dist/esm/app-globals-466ed44b.js +101 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/priv-calendar.entry.js +27 -27
- package/dist/esm/priv-chart-popover-old.entry.js +2 -2
- package/dist/esm/priv-chart-popover_2.entry.js +3 -3
- package/dist/esm/priv-navigator-button.entry.js +1 -1
- package/dist/esm/priv-navigator-item.entry.js +1 -1
- package/dist/esm/priv-option-list.entry.js +1 -1
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-action-menu_2.entry.js +5 -4
- package/dist/esm/wm-button.entry.js +1 -1
- package/dist/esm/wm-chart-bar.entry.js +1 -1
- package/dist/esm/wm-chart-column.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +1 -1
- package/dist/esm/wm-date-range.entry.js +25 -9
- package/dist/esm/wm-datepicker.entry.js +37 -11
- package/dist/esm/wm-file-list.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +1 -1
- package/dist/esm/wm-flyout.entry.js +6 -1
- package/dist/esm/wm-input.entry.js +1 -1
- package/dist/esm/wm-line-chart.entry.js +1 -1
- package/dist/esm/wm-modal-pss_3.entry.js +4 -4
- package/dist/esm/wm-modal_3.entry.js +19 -4
- package/dist/esm/wm-navigation_3.entry.js +4 -4
- package/dist/esm/wm-navigator.entry.js +1 -1
- package/dist/esm/wm-nested-select.entry.js +3 -3
- package/dist/esm/wm-optgroup.entry.js +11 -1
- package/dist/esm/wm-option_2.entry.js +5 -5
- package/dist/esm/wm-pagination.entry.js +1 -1
- package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
- package/dist/esm/wm-search.entry.js +2 -2
- package/dist/esm/wm-snackbar.entry.js +2 -2
- package/dist/esm/wm-tab-item_3.entry.js +6 -6
- package/dist/esm/wm-tag-input.entry.js +2 -2
- package/dist/esm/wm-tag-option.entry.js +8 -0
- package/dist/esm/wm-textarea.entry.js +1 -1
- package/dist/esm/wm-timepicker.entry.js +14 -2
- package/dist/esm/wm-toggletip.entry.js +3 -3
- package/dist/esm/wm-uploader.entry.js +2 -2
- package/dist/esm-es5/app-globals-466ed44b.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover-old.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover_2.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/priv-option-list.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart-bar.entry.js +1 -1
- package/dist/esm-es5/wm-chart-column.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-file-list.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-flyout.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/ripple/{p-1fc894ac.system.entry.js → p-012bd307.system.entry.js} +1 -1
- package/dist/ripple/p-03f352dc.entry.js +1 -0
- package/dist/ripple/{p-4f53544d.entry.js → p-03ff4f41.entry.js} +1 -1
- package/dist/ripple/{p-2a03f658.entry.js → p-045aa27f.entry.js} +1 -1
- package/dist/ripple/{p-709d1765.entry.js → p-057ffccb.entry.js} +1 -1
- package/dist/ripple/p-06c3dc14.system.entry.js +1 -0
- package/dist/ripple/{p-ff6fd274.system.entry.js → p-09a80f59.system.entry.js} +1 -1
- package/dist/ripple/{p-3bd8537c.entry.js → p-09fb0a09.entry.js} +1 -1
- package/dist/ripple/p-0a05d3a3.js +1 -0
- package/dist/ripple/{p-3f69041f.entry.js → p-0ab9bac7.entry.js} +1 -1
- package/dist/ripple/{p-332a3e3d.system.entry.js → p-1059cdb9.system.entry.js} +1 -1
- package/dist/ripple/{p-dbdae848.system.entry.js → p-106a9459.system.entry.js} +1 -1
- package/dist/ripple/{p-e1a6ee77.entry.js → p-16381033.entry.js} +1 -1
- package/dist/ripple/{p-b11abb0d.system.entry.js → p-181109f0.system.entry.js} +1 -1
- package/dist/ripple/{p-bb9f54cf.system.entry.js → p-1855c3b1.system.entry.js} +1 -1
- package/dist/ripple/{p-4533241f.entry.js → p-1c25838e.entry.js} +1 -1
- package/dist/ripple/{p-fb6aee09.entry.js → p-1f67b172.entry.js} +1 -1
- package/dist/ripple/{p-a3dd5204.system.entry.js → p-22703bcd.system.entry.js} +1 -1
- package/dist/ripple/{p-a6aef87d.system.entry.js → p-237388c5.system.entry.js} +1 -1
- package/dist/ripple/p-237f5977.system.entry.js +1 -0
- package/dist/ripple/p-25d6cc45.system.js +1 -0
- package/dist/ripple/{p-09d5381c.entry.js → p-299d2d8b.entry.js} +1 -1
- package/dist/ripple/{p-e78f9572.system.entry.js → p-2c1d219f.system.entry.js} +1 -1
- package/dist/ripple/{p-84e04896.entry.js → p-2dbf9636.entry.js} +1 -1
- package/dist/ripple/{p-05dae6a0.entry.js → p-2dc1071a.entry.js} +1 -1
- package/dist/ripple/{p-39bac42a.entry.js → p-3216e2e7.entry.js} +1 -1
- package/dist/ripple/p-3252c04b.system.entry.js +1 -0
- package/dist/ripple/{p-7ca0bb68.system.entry.js → p-32bac954.system.entry.js} +1 -1
- package/dist/ripple/p-33eeaa18.entry.js +1 -0
- package/dist/ripple/p-3441da90.entry.js +1 -0
- package/dist/ripple/p-3502fd33.system.entry.js +1 -0
- package/dist/ripple/{p-f51404f5.entry.js → p-351000b9.entry.js} +1 -1
- package/dist/ripple/{p-bf3eef42.entry.js → p-3c0062c5.entry.js} +1 -1
- package/dist/ripple/{p-c1abc58e.entry.js → p-3d3836ad.entry.js} +1 -1
- package/dist/ripple/p-3e8bfc68.system.entry.js +1 -0
- package/dist/ripple/p-3f403a64.system.entry.js +1 -0
- package/dist/ripple/{p-b974a535.system.entry.js → p-43e8d384.system.entry.js} +1 -1
- package/dist/ripple/p-49dc64ba.entry.js +1 -0
- package/dist/ripple/{p-9d345fc7.system.entry.js → p-4a942d74.system.entry.js} +1 -1
- package/dist/ripple/p-4cc09fa3.system.entry.js +1 -0
- package/dist/ripple/p-5177d4fa.entry.js +1 -0
- package/dist/ripple/p-51fff3a7.system.entry.js +1 -0
- package/dist/ripple/p-54ba0eae.entry.js +1 -0
- package/dist/ripple/{p-c04d0eeb.system.entry.js → p-5609bde2.system.entry.js} +1 -1
- package/dist/ripple/{p-86148143.system.entry.js → p-56e1a71d.system.entry.js} +1 -1
- package/dist/ripple/{p-f94af31c.entry.js → p-578b5443.entry.js} +1 -1
- package/dist/ripple/p-57901fc3.entry.js +1 -0
- package/dist/ripple/{p-463be5be.entry.js → p-57a0cb5f.entry.js} +1 -1
- package/dist/ripple/{p-0db033c3.system.entry.js → p-59b3f92b.system.entry.js} +1 -1
- package/dist/ripple/p-5a533e7c.entry.js +1 -0
- package/dist/ripple/{p-5f092b39.system.entry.js → p-61a0ba92.system.entry.js} +1 -1
- package/dist/ripple/{p-6de83c6f.entry.js → p-623b89e0.entry.js} +1 -1
- package/dist/ripple/{p-6479b06b.entry.js → p-668c0758.entry.js} +1 -1
- package/dist/ripple/p-6a6e98c7.entry.js +1 -0
- package/dist/ripple/{p-b654743f.system.entry.js → p-6c46dd9a.system.entry.js} +1 -1
- package/dist/ripple/{p-4e7ae2c5.system.entry.js → p-6ea254d2.system.entry.js} +1 -1
- package/dist/ripple/p-6f875608.system.entry.js +1 -0
- package/dist/ripple/{p-d05b7cd3.entry.js → p-71a38bd2.entry.js} +1 -1
- package/dist/ripple/{p-dab54a9d.entry.js → p-73a2389d.entry.js} +1 -1
- package/dist/ripple/p-759d87de.entry.js +1 -0
- package/dist/ripple/{p-227b0af9.entry.js → p-75c5ec39.entry.js} +1 -1
- package/dist/ripple/{p-ee729037.system.entry.js → p-7bc3b4ee.system.entry.js} +1 -1
- package/dist/ripple/p-7c7988a3.entry.js +1 -0
- package/dist/ripple/p-81735196.entry.js +1 -0
- package/dist/ripple/{p-a0aba3e0.system.entry.js → p-8376699e.system.entry.js} +1 -1
- package/dist/ripple/{p-503330c1.system.entry.js → p-865208b7.system.entry.js} +1 -1
- package/dist/ripple/{p-28b8a12e.system.entry.js → p-8715d758.system.entry.js} +1 -1
- package/dist/ripple/p-8bfb7664.entry.js +1 -0
- package/dist/ripple/{p-680f5703.entry.js → p-8deb22bc.entry.js} +1 -1
- package/dist/ripple/p-8e32e9de.system.entry.js +1 -0
- package/dist/ripple/{p-bdb10d37.entry.js → p-92e3bf68.entry.js} +1 -1
- package/dist/ripple/{p-0feaaae9.system.entry.js → p-942b323c.system.entry.js} +1 -1
- package/dist/ripple/{p-5173359e.entry.js → p-94fd1dcc.entry.js} +1 -1
- package/dist/ripple/p-991455a2.system.entry.js +1 -0
- package/dist/ripple/p-99a112c8.system.entry.js +1 -0
- package/dist/ripple/p-9a8d91d6.entry.js +1 -0
- package/dist/ripple/{p-e0c0e8b0.system.entry.js → p-9afb642d.system.entry.js} +1 -1
- package/dist/ripple/p-9c850273.system.js +1 -0
- package/dist/ripple/p-a3f9e257.entry.js +1 -0
- package/dist/ripple/p-a5b07241.entry.js +1 -0
- package/dist/ripple/{p-d55bd2b9.entry.js → p-a7a6cf55.system.entry.js} +1 -1
- package/dist/ripple/{p-6f2d3297.system.entry.js → p-a917ea86.system.entry.js} +1 -1
- package/dist/ripple/p-ab5664cd.entry.js +1 -0
- package/dist/ripple/{p-cc028323.entry.js → p-acb04e6e.entry.js} +1 -1
- package/dist/ripple/p-b2624d8f.system.entry.js +1 -0
- package/dist/ripple/p-b5b37960.entry.js +1 -0
- package/dist/ripple/p-b713b6de.system.entry.js +1 -0
- package/dist/ripple/p-b75e9e5f.entry.js +1 -0
- package/dist/ripple/{p-b1924539.system.entry.js → p-b7969fd7.system.entry.js} +1 -1
- package/dist/ripple/{p-a7e637a5.system.entry.js → p-b9596bfc.system.entry.js} +1 -1
- package/dist/ripple/p-b9d3d967.system.entry.js +1 -0
- package/dist/ripple/{p-aafced54.system.entry.js → p-bd365c44.system.entry.js} +1 -1
- package/dist/ripple/p-bd9ab5ae.system.entry.js +1 -0
- package/dist/ripple/p-c0028f4d.system.entry.js +1 -0
- package/dist/ripple/p-c7d3ee52.entry.js +1 -0
- package/dist/ripple/p-c8e4e95b.entry.js +1 -0
- package/dist/ripple/p-c996ade8.entry.js +1 -0
- package/dist/ripple/p-ca8378b0.entry.js +1 -0
- package/dist/ripple/{p-bd37dd6f.entry.js → p-cc2176ad.entry.js} +1 -1
- package/dist/ripple/p-cd496e63.entry.js +1 -0
- package/dist/ripple/p-d0653c32.entry.js +1 -0
- package/dist/ripple/{p-9a5d11cb.entry.js → p-d11e5029.entry.js} +1 -1
- package/dist/ripple/p-d3d0b626.entry.js +1 -0
- package/dist/ripple/p-d4899263.entry.js +1 -0
- package/dist/ripple/p-dc82f194.entry.js +1 -0
- package/dist/ripple/{p-a6ef995c.system.entry.js → p-ddfb976f.system.entry.js} +1 -1
- package/dist/ripple/{p-ee26ba53.entry.js → p-e1899945.entry.js} +1 -1
- package/dist/ripple/p-e26b9711.system.entry.js +1 -0
- package/dist/ripple/{p-10aea5ee.system.entry.js → p-e31f597a.system.entry.js} +1 -1
- package/dist/ripple/p-e35de3cd.system.entry.js +1 -0
- package/dist/ripple/p-e3effa1a.system.entry.js +1 -0
- package/dist/ripple/p-e674e6a7.system.entry.js +1 -0
- package/dist/ripple/{p-8e6e868a.entry.js → p-e7ffd796.entry.js} +1 -1
- package/dist/ripple/p-e800717d.entry.js +1 -0
- package/dist/ripple/p-eab35bea.entry.js +1 -0
- package/dist/ripple/{p-df9d5b14.system.entry.js → p-ebdf16fa.system.entry.js} +1 -1
- package/dist/ripple/p-ed9fc1c1.system.entry.js +1 -0
- package/dist/ripple/p-eda49f0e.entry.js +1 -0
- package/dist/ripple/p-ee33fd7f.system.entry.js +1 -0
- package/dist/ripple/p-ee5f43fe.system.entry.js +1 -0
- package/dist/ripple/{p-928b3e5e.entry.js → p-f0ee3616.entry.js} +1 -1
- package/dist/ripple/{p-02c8bf15.system.entry.js → p-f1215c25.system.entry.js} +1 -1
- package/dist/ripple/p-f148ae9d.system.entry.js +1 -0
- package/dist/ripple/p-f307aabe.entry.js +1 -0
- package/dist/ripple/p-f4f6c904.system.entry.js +1 -0
- package/dist/ripple/p-f58833ae.system.entry.js +1 -0
- package/dist/ripple/p-f7fc6350.system.js +1 -1
- package/dist/ripple/p-f881cdc8.system.entry.js +1 -0
- package/dist/ripple/{p-444feb7d.system.entry.js → p-fbb37b4b.system.entry.js} +1 -1
- package/dist/ripple/{p-40e8071c.system.entry.js → p-fc905b2f.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +5 -0
- package/dist/types/components/charts/priv-chart-popover-old/priv-chart-popover-old.d.ts +5 -0
- package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +52 -0
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +111 -0
- package/dist/types/components/charts/wm-chart-bar/wm-chart-bar.d.ts +131 -0
- package/dist/types/components/charts/wm-chart-column/wm-chart-column.d.ts +100 -0
- package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +77 -0
- package/dist/types/components/charts/wm-line-chart/wm-line-chart.d.ts +134 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +52 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +84 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +44 -0
- package/dist/types/components/datepickers/priv-calendar/priv-calendar.d.ts +6 -2
- package/dist/types/components/datepickers/wm-date-range.d.ts +186 -0
- package/dist/types/components/datepickers/wm-datepicker.d.ts +170 -2
- package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +6 -0
- package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +162 -0
- package/dist/types/components/selects/wm-optgroup/wm-optgroup.d.ts +87 -0
- package/dist/types/components/selects/wm-option/wm-option.d.ts +117 -0
- package/dist/types/components/selects/wm-select/wm-select.d.ts +164 -0
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +122 -0
- package/dist/types/components/wm-button/wm-button.d.ts +170 -2
- package/dist/types/components/wm-file/wm-file.d.ts +92 -0
- package/dist/types/components/wm-file-list/wm-file-list.d.ts +71 -0
- package/dist/types/components/wm-flyout/wm-flyout.d.ts +193 -0
- package/dist/types/components/wm-input/wm-input.d.ts +158 -0
- package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +58 -0
- package/dist/types/components/wm-modal/wm-modal-footer.d.ts +54 -0
- package/dist/types/components/wm-modal/wm-modal-header.d.ts +30 -0
- package/dist/types/components/wm-modal/wm-modal.d.ts +148 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +4 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +4 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss.d.ts +4 -0
- package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +34 -0
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +41 -0
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +50 -0
- package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +4 -0
- package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +4 -0
- package/dist/types/components/wm-navigator/wm-navigator.d.ts +91 -3
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +90 -0
- package/dist/types/components/wm-search/wm-search.d.ts +148 -5
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +94 -0
- package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +43 -2
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +93 -0
- package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +28 -2
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +185 -0
- package/dist/types/components/wm-tag-input/wm-tag-option/wm-tag-option.d.ts +68 -0
- package/dist/types/components/wm-textarea/wm-textarea.d.ts +97 -0
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +145 -0
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +74 -0
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +128 -0
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +3 -0
- package/dist/types/components.d.ts +10513 -57
- package/package.json +2 -2
- package/dist/ripple/p-065b0134.entry.js +0 -1
- package/dist/ripple/p-210773eb.entry.js +0 -1
|
@@ -3,6 +3,70 @@ import { chartPalettes, patternKey, } from "../../../global/interfaces";
|
|
|
3
3
|
import { suffixNumber, renderInstructionsText, findLargestNiceInterval, getMaxTicks, findNiceRoundNumber, formatDisplayValue, groupProcessedData, computeLegendData, sortGroupedData, inferDecimalPlacesForUnitValue, } from "../chartFunctions";
|
|
4
4
|
import { chartMessages } from "../../../global/intl";
|
|
5
5
|
import { isElOrChild, debounce } from "../../../global/functions";
|
|
6
|
+
/**
|
|
7
|
+
* Renders a vertical column chart for comparing values across nominal categories or showing
|
|
8
|
+
* distribution across interval/ratio ranges. Data and configuration are set via JavaScript
|
|
9
|
+
* properties (`chart.config` and `chart.data`) — not HTML attributes. Supports single-color,
|
|
10
|
+
* discrete palette, semantic palette, and grouped columns.
|
|
11
|
+
*
|
|
12
|
+
* **Preferred** over wm-chart's bar subtypes for comparison and distribution use cases.
|
|
13
|
+
* Use this component (or wm-chart-bar) instead of `<wm-chart chart-type="bar*">`. When
|
|
14
|
+
* columns exceed available width, the chart scrolls horizontally.
|
|
15
|
+
*
|
|
16
|
+
* @keyboardInteraction
|
|
17
|
+
* - **Tab**: Enters the chart wrapper.
|
|
18
|
+
* - **Arrow Down / Right**: Focuses the first column; subsequent presses cycle to the next.
|
|
19
|
+
* - **Arrow Up / Left**: Cycles to the previous column.
|
|
20
|
+
* - **Enter**: Activates the popover button when the popover is open.
|
|
21
|
+
* - **Escape**: Closes the open popover.
|
|
22
|
+
* - **Tab** (from within): Exits the chart and clears focus.
|
|
23
|
+
*
|
|
24
|
+
* @accessibility
|
|
25
|
+
* - `config.label` is required — used as the chart's `aria-label`.
|
|
26
|
+
* - Each column receives an `aria-label` composed of the category axis label, group name (if
|
|
27
|
+
* grouped), bar legend, and display value.
|
|
28
|
+
* - The chart renders with `role="application"` and `aria-roledescription="Interactive chart"`.
|
|
29
|
+
* - In `print-mode`, keyboard interaction instructions are removed from the DOM.
|
|
30
|
+
*
|
|
31
|
+
* @usageNotes
|
|
32
|
+
* - Set `id` on the element to use with an external `wm-chart-legend` via `chart-ids`.
|
|
33
|
+
* - Use `print-width` to fix chart width for exported PDFs or print stylesheets (accepts `px`,
|
|
34
|
+
* `in`, or `cm`). The chart will wrap columns across multiple plots when they exceed the
|
|
35
|
+
* available `print-width`.
|
|
36
|
+
* - For grouped charts, each `ChartData` item must include a `groupName` field.
|
|
37
|
+
*
|
|
38
|
+
* @example {html} Single-color column chart
|
|
39
|
+
* <wm-chart-column id="enrollment-chart"></wm-chart-column>
|
|
40
|
+
* <script>
|
|
41
|
+
* const chart = document.querySelector('#enrollment-chart');
|
|
42
|
+
* chart.config = { label: 'Enrollment by term', gridMax: 'auto', valueFormat: 'amount',
|
|
43
|
+
* categoryAxisLabel: 'Term', valueAxisLabel: 'Students' };
|
|
44
|
+
* chart.data = [{ barLegend: 'Fall 2023', amount: 310 }, { barLegend: 'Spring 2024', amount: 280 }];
|
|
45
|
+
* </script>
|
|
46
|
+
*
|
|
47
|
+
* @example {react} Single-color column chart
|
|
48
|
+
* <WmChartColumn ref={chartRef} />
|
|
49
|
+
* // In useEffect: chartRef.current.config = {...}; chartRef.current.data = [...];
|
|
50
|
+
*
|
|
51
|
+
* @example {html} Grouped column chart
|
|
52
|
+
* <wm-chart-column id="grouped-chart"></wm-chart-column>
|
|
53
|
+
* <script>
|
|
54
|
+
* const chart = document.querySelector('#grouped-chart');
|
|
55
|
+
* chart.config = { label: 'Enrollment by term and program', gridMax: 'auto',
|
|
56
|
+
* showLegend: 'bottom' };
|
|
57
|
+
* chart.data = [
|
|
58
|
+
* { barLegend: 'Biology', amount: 120, groupName: 'Fall 2023' },
|
|
59
|
+
* { barLegend: 'English', amount: 95, groupName: 'Fall 2023' },
|
|
60
|
+
* ];
|
|
61
|
+
* </script>
|
|
62
|
+
*
|
|
63
|
+
* @example {react} Grouped column chart
|
|
64
|
+
* <WmChartColumn ref={chartRef} />
|
|
65
|
+
* // In useEffect: chartRef.current.config = {...}; chartRef.current.data = [...];
|
|
66
|
+
*
|
|
67
|
+
* @category Data Visualization
|
|
68
|
+
* @displayName Column Chart
|
|
69
|
+
*/
|
|
6
70
|
export class ChartColumn {
|
|
7
71
|
constructor() {
|
|
8
72
|
this.gridMax = 0;
|
|
@@ -604,7 +668,7 @@ export class ChartColumn {
|
|
|
604
668
|
// #endregion rendering
|
|
605
669
|
render() {
|
|
606
670
|
var _a, _b, _c, _d, _e, _f;
|
|
607
|
-
return (h(Host, { key: '
|
|
671
|
+
return (h(Host, { key: 'b51ad062997d2af1ef9aa4cc77e69b00417052cc' }, h("div", { key: 'e69ca509ec69daf49c384a013cb65929a468dc8b', class: "popover-wrapper" }, h("priv-chart-popover", { key: '335e7e4681ce4227e03a83ddd4dd2c1a599fd9b0', ref: (el) => (this.popoverEl = el), onIntChartPopoverToggled: (ev) => this.handlePopoverToggled(ev) })), h("div", { key: '2198b8cdb1b1293c4dfb8a18673ec1f941ab252d', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${((_a = this.printMode) !== null && _a !== void 0 ? _a : (_b = this.config) === null || _b === void 0 ? void 0 : _b.printMode) ? "print-mode" : ""}`, style: this.isPlotWidthLimited ? { "--forced-width": `${this.printWidthPx}px` } : undefined, tabindex: "0", role: "application", onKeyDown: (ev) => this.handleChartKeyDown(ev), onBlur: (ev) => this.handleComponentBlur(ev), "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions", "aria-label": (_c = this.config) === null || _c === void 0 ? void 0 : _c.label }, ((_e = (_d = this.config) === null || _d === void 0 ? void 0 : _d.showLabel) !== null && _e !== void 0 ? _e : true) && (h("label", { key: '6a31a705fc24b21eb74df46a440c4e5a70c9d4f4', id: "label", class: "label" }, h("span", { key: 'c4b0ab318e570dcc7dfeaab05e4f4e00329de72c', class: "label-text" }, (_f = this.config) === null || _f === void 0 ? void 0 : _f.label), this.subinfoText ? h("span", { class: "subinfo" }, this.subinfoText) : "")), this.showLegend === "top" && this.renderLegend("horizontal"), h("div", { key: 'e1542b6b9f1e157f1a6e0a02c01a9b66d3954952', class: "chart-wrapper" }, h("div", { key: 'dd07a9a03778b3d3665d553e4b581766efbb117d', class: "chart-left-side" }, this.showLegend === "left" && this.renderLegend("vertical")), this.data && this.renderPlotContainers(), h("div", { key: '959c73972b14fb2e31a0273364983a61d89405ed', class: "chart-right-side" }, this.showLegend === "right" && this.renderLegend("vertical"))), this.showLegend === "bottom" && this.renderLegend("horizontal"), renderInstructionsText())));
|
|
608
672
|
}
|
|
609
673
|
static get is() { return "wm-chart-column"; }
|
|
610
674
|
static get encapsulation() { return "shadow"; }
|
|
@@ -638,7 +702,10 @@ export class ChartColumn {
|
|
|
638
702
|
"required": false,
|
|
639
703
|
"optional": true,
|
|
640
704
|
"docs": {
|
|
641
|
-
"tags": [
|
|
705
|
+
"tags": [{
|
|
706
|
+
"name": "description",
|
|
707
|
+
"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.)."
|
|
708
|
+
}],
|
|
642
709
|
"text": ""
|
|
643
710
|
}
|
|
644
711
|
},
|
|
@@ -659,7 +726,10 @@ export class ChartColumn {
|
|
|
659
726
|
"required": false,
|
|
660
727
|
"optional": true,
|
|
661
728
|
"docs": {
|
|
662
|
-
"tags": [
|
|
729
|
+
"tags": [{
|
|
730
|
+
"name": "description",
|
|
731
|
+
"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."
|
|
732
|
+
}],
|
|
663
733
|
"text": ""
|
|
664
734
|
}
|
|
665
735
|
},
|
|
@@ -674,7 +744,10 @@ export class ChartColumn {
|
|
|
674
744
|
"required": false,
|
|
675
745
|
"optional": true,
|
|
676
746
|
"docs": {
|
|
677
|
-
"tags": [
|
|
747
|
+
"tags": [{
|
|
748
|
+
"name": "description",
|
|
749
|
+
"text": "Fixed chart width for print or PDF export. Accepts `px`, `in`, or `cm` (e.g.\n`\"7.5in\"`). When set alongside `print-mode` or during `window.print()`, columns that\nexceed the available width wrap across multiple plot rows."
|
|
750
|
+
}],
|
|
678
751
|
"text": ""
|
|
679
752
|
},
|
|
680
753
|
"attribute": "print-width",
|
|
@@ -691,7 +764,13 @@ export class ChartColumn {
|
|
|
691
764
|
"required": false,
|
|
692
765
|
"optional": true,
|
|
693
766
|
"docs": {
|
|
694
|
-
"tags": [
|
|
767
|
+
"tags": [{
|
|
768
|
+
"name": "description",
|
|
769
|
+
"text": "When true, column 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`."
|
|
770
|
+
}, {
|
|
771
|
+
"name": "default",
|
|
772
|
+
"text": "false"
|
|
773
|
+
}],
|
|
695
774
|
"text": ""
|
|
696
775
|
},
|
|
697
776
|
"attribute": "print-mode",
|
|
@@ -708,7 +787,13 @@ export class ChartColumn {
|
|
|
708
787
|
"required": false,
|
|
709
788
|
"optional": true,
|
|
710
789
|
"docs": {
|
|
711
|
-
"tags": [
|
|
790
|
+
"tags": [{
|
|
791
|
+
"name": "description",
|
|
792
|
+
"text": "When true, applies a hatching pattern fill to columns in addition to color,\nimproving distinguishability for users with color vision deficiencies. Takes precedence\nover `config.patternMode`."
|
|
793
|
+
}, {
|
|
794
|
+
"name": "default",
|
|
795
|
+
"text": "false"
|
|
796
|
+
}],
|
|
712
797
|
"text": ""
|
|
713
798
|
},
|
|
714
799
|
"attribute": "pattern-mode",
|
|
@@ -725,7 +810,10 @@ export class ChartColumn {
|
|
|
725
810
|
"required": false,
|
|
726
811
|
"optional": true,
|
|
727
812
|
"docs": {
|
|
728
|
-
"tags": [
|
|
813
|
+
"tags": [{
|
|
814
|
+
"name": "description",
|
|
815
|
+
"text": "Optional secondary text displayed beneath the chart label. Takes precedence\nover `config.subinfo`."
|
|
816
|
+
}],
|
|
729
817
|
"text": ""
|
|
730
818
|
},
|
|
731
819
|
"attribute": "subinfo",
|
|
@@ -748,7 +836,13 @@ export class ChartColumn {
|
|
|
748
836
|
"cancelable": true,
|
|
749
837
|
"composed": true,
|
|
750
838
|
"docs": {
|
|
751
|
-
"tags": [
|
|
839
|
+
"tags": [{
|
|
840
|
+
"name": "internal",
|
|
841
|
+
"text": undefined
|
|
842
|
+
}, {
|
|
843
|
+
"name": "description",
|
|
844
|
+
"text": "Internal signal used to synchronize column highlight state with an external\nwm-chart-legend \u2014 not for application use."
|
|
845
|
+
}],
|
|
752
846
|
"text": ""
|
|
753
847
|
},
|
|
754
848
|
"complexType": {
|
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { patternKey } from "../../../global/interfaces";
|
|
3
|
+
/**
|
|
4
|
+
* External legend component for wm-chart-bar and wm-chart-column. Retrieves color and label
|
|
5
|
+
* data from one or more charts via element IDs, allowing a single legend to serve multiple
|
|
6
|
+
* charts. Hidden from screen readers — relevant data is announced when the user interacts with
|
|
7
|
+
* the associated chart directly.
|
|
8
|
+
*
|
|
9
|
+
* For simple single-chart scenarios, the `config.showLegend` option on wm-chart-bar or
|
|
10
|
+
* wm-chart-column renders an internal legend without requiring this element. Use
|
|
11
|
+
* wm-chart-legend when sharing one legend across multiple charts or when external placement
|
|
12
|
+
* is required.
|
|
13
|
+
*
|
|
14
|
+
* @usageNotes
|
|
15
|
+
* - Assign an `id` to each chart and pass those IDs (space-separated) to `chart-ids`.
|
|
16
|
+
* - Clicking or hovering a legend item highlights the corresponding bar(s) in all associated
|
|
17
|
+
* charts.
|
|
18
|
+
*
|
|
19
|
+
* @example {html} Shared legend for two charts
|
|
20
|
+
* <wm-chart-legend chart-ids="chart-a chart-b"></wm-chart-legend>
|
|
21
|
+
* <wm-chart-bar id="chart-a"></wm-chart-bar>
|
|
22
|
+
* <wm-chart-bar id="chart-b"></wm-chart-bar>
|
|
23
|
+
*
|
|
24
|
+
* @example {react} Shared legend for two charts
|
|
25
|
+
* const [activeIdx, setActiveIdx] = useState(null);
|
|
26
|
+
*
|
|
27
|
+
* const handleClick = (event) => {
|
|
28
|
+
* setActiveIdx(event.detail.idx);
|
|
29
|
+
* };
|
|
30
|
+
*
|
|
31
|
+
* <WmChartLegend chartIds="chart-a chart-b" onWmLegendItemClick={handleClick} />
|
|
32
|
+
* <WmChartBar id="chart-a" />
|
|
33
|
+
* <WmChartBar id="chart-b" />
|
|
34
|
+
*
|
|
35
|
+
* @example {html} Vertical orientation
|
|
36
|
+
* <wm-chart-legend chart-ids="my-chart" orientation="vertical"></wm-chart-legend>
|
|
37
|
+
*
|
|
38
|
+
* @example {react} Vertical orientation
|
|
39
|
+
* <WmChartLegend chartIds="my-chart" orientation="vertical" />
|
|
40
|
+
*
|
|
41
|
+
* @category Data Visualization
|
|
42
|
+
*/
|
|
3
43
|
export class ChartLegend {
|
|
4
44
|
constructor() {
|
|
5
45
|
this.persistentHighlightIdx = -1;
|
|
@@ -57,7 +97,7 @@ export class ChartLegend {
|
|
|
57
97
|
return this.processedData.map((item, idx) => (h("div", { class: "legend-item", key: item.barLegend, onClick: () => this.handleLegendItemClick(idx), onMouseEnter: () => this.handleLegendItemMouseEnter(idx), onMouseLeave: () => this.handleLegendItemMouseLeave() }, h("div", { class: this.getSwatchClassMap(item), style: { "--color": `var(--${item.color})` } }), h("div", { class: "label" }, item.barLegend), item.printValue && h("span", { class: `print-value` }, "(", item.printValue, ")"))));
|
|
58
98
|
}
|
|
59
99
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
100
|
+
return (h(Host, { key: '96690631fc06cb059813cf67adfb96a87a89ea03' }, h("div", { key: '68afe8f3ed1452d9e031ba8d0c2dbcbe6d57af78', class: `legend-container --${this.orientation} ${this.printMode ? "print-mode" : ""}`, "aria-hidden": "true" }, this.renderLegendItems())));
|
|
61
101
|
}
|
|
62
102
|
static get is() { return "wm-chart-legend"; }
|
|
63
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -85,7 +125,13 @@ export class ChartLegend {
|
|
|
85
125
|
"required": false,
|
|
86
126
|
"optional": false,
|
|
87
127
|
"docs": {
|
|
88
|
-
"tags": [
|
|
128
|
+
"tags": [{
|
|
129
|
+
"name": "description",
|
|
130
|
+
"text": "Space-separated list of element IDs of the wm-chart-bar or wm-chart-column\nelements this legend serves. The legend derives its color swatches and labels from these\ncharts automatically."
|
|
131
|
+
}, {
|
|
132
|
+
"name": "required",
|
|
133
|
+
"text": undefined
|
|
134
|
+
}],
|
|
89
135
|
"text": ""
|
|
90
136
|
},
|
|
91
137
|
"attribute": "chart-ids",
|
|
@@ -103,7 +149,13 @@ export class ChartLegend {
|
|
|
103
149
|
"required": false,
|
|
104
150
|
"optional": false,
|
|
105
151
|
"docs": {
|
|
106
|
-
"tags": [
|
|
152
|
+
"tags": [{
|
|
153
|
+
"name": "description",
|
|
154
|
+
"text": "Layout orientation of legend items."
|
|
155
|
+
}, {
|
|
156
|
+
"name": "default",
|
|
157
|
+
"text": "\"horizontal\""
|
|
158
|
+
}],
|
|
107
159
|
"text": ""
|
|
108
160
|
},
|
|
109
161
|
"attribute": "orientation",
|
|
@@ -127,7 +179,13 @@ export class ChartLegend {
|
|
|
127
179
|
"required": false,
|
|
128
180
|
"optional": false,
|
|
129
181
|
"docs": {
|
|
130
|
-
"tags": [
|
|
182
|
+
"tags": [{
|
|
183
|
+
"name": "internal",
|
|
184
|
+
"text": undefined
|
|
185
|
+
}, {
|
|
186
|
+
"name": "description",
|
|
187
|
+
"text": "Processed chart data injected by the associated chart \u2014 not for application\nuse."
|
|
188
|
+
}],
|
|
131
189
|
"text": ""
|
|
132
190
|
},
|
|
133
191
|
"defaultValue": "[]"
|
|
@@ -143,7 +201,13 @@ export class ChartLegend {
|
|
|
143
201
|
"required": false,
|
|
144
202
|
"optional": false,
|
|
145
203
|
"docs": {
|
|
146
|
-
"tags": [
|
|
204
|
+
"tags": [{
|
|
205
|
+
"name": "description",
|
|
206
|
+
"text": "When true, the print value for each item is shown next to its swatch in the\nlegend \u2014 suitable for printed output."
|
|
207
|
+
}, {
|
|
208
|
+
"name": "default",
|
|
209
|
+
"text": "false"
|
|
210
|
+
}],
|
|
147
211
|
"text": ""
|
|
148
212
|
},
|
|
149
213
|
"attribute": "print-mode",
|
|
@@ -161,7 +225,13 @@ export class ChartLegend {
|
|
|
161
225
|
"required": false,
|
|
162
226
|
"optional": true,
|
|
163
227
|
"docs": {
|
|
164
|
-
"tags": [
|
|
228
|
+
"tags": [{
|
|
229
|
+
"name": "internal",
|
|
230
|
+
"text": undefined
|
|
231
|
+
}, {
|
|
232
|
+
"name": "description",
|
|
233
|
+
"text": "Pattern orientation injected by the associated chart to align swatch hatching\nwith bar orientation \u2014 not for application use."
|
|
234
|
+
}],
|
|
165
235
|
"text": ""
|
|
166
236
|
},
|
|
167
237
|
"attribute": "pattern-mode",
|
|
@@ -177,7 +247,13 @@ export class ChartLegend {
|
|
|
177
247
|
"cancelable": true,
|
|
178
248
|
"composed": true,
|
|
179
249
|
"docs": {
|
|
180
|
-
"tags": [
|
|
250
|
+
"tags": [{
|
|
251
|
+
"name": "description",
|
|
252
|
+
"text": "Fires when the user clicks a legend item. The associated chart highlights\nthe corresponding bar(s) and fades all others."
|
|
253
|
+
}, {
|
|
254
|
+
"name": "eventDetails",
|
|
255
|
+
"text": "{{ idx: number }} idx \u2014 zero-based index of the clicked legend item, or\n`-1` to clear all highlights."
|
|
256
|
+
}],
|
|
181
257
|
"text": ""
|
|
182
258
|
},
|
|
183
259
|
"complexType": {
|
|
@@ -192,7 +268,13 @@ export class ChartLegend {
|
|
|
192
268
|
"cancelable": true,
|
|
193
269
|
"composed": true,
|
|
194
270
|
"docs": {
|
|
195
|
-
"tags": [
|
|
271
|
+
"tags": [{
|
|
272
|
+
"name": "description",
|
|
273
|
+
"text": "Fires when the user hovers over a legend item. The associated chart\nhighlights the corresponding bar(s) and fades all others."
|
|
274
|
+
}, {
|
|
275
|
+
"name": "eventDetails",
|
|
276
|
+
"text": "{{ idx: number }} idx \u2014 zero-based index of the hovered legend item, or\n`-1` to clear all highlights."
|
|
277
|
+
}],
|
|
196
278
|
"text": ""
|
|
197
279
|
},
|
|
198
280
|
"complexType": {
|
|
@@ -2,6 +2,64 @@ import { h, Host, forceUpdate } from "@stencil/core";
|
|
|
2
2
|
import { csvToArray, debounce, transposeMatrix, getSmallestSkipInterval, wrapAround, calcPercentageInRange, } from "../../../global/functions";
|
|
3
3
|
import { getInterval, inferDecimalPlacesForUnitValue, suffixNumber } from "../chartFunctions";
|
|
4
4
|
import { chartMessages, globalMessages, lineChartMessages } from "../../../global/intl";
|
|
5
|
+
/**
|
|
6
|
+
* Visualizes how data changes over time. Ideal for trend analysis — tracking one or more
|
|
7
|
+
* metrics across chronological intervals such as semesters, academic years, or months.
|
|
8
|
+
* Supports up to 7 lines, each differentiated by both color and symbol. Data is set via the
|
|
9
|
+
* `line-data` prop (JSON string or object). Minimum width of 562 px; horizontally scrollable
|
|
10
|
+
* at smaller viewports.
|
|
11
|
+
*
|
|
12
|
+
* @keyboardInteraction
|
|
13
|
+
* - **Tab** (into chart): If `visibility-toggles` is enabled, focuses the first toggle button;
|
|
14
|
+
* otherwise focuses the first data point.
|
|
15
|
+
* - **Tab** (on toggle button): Moves to the first data point of the first visible line.
|
|
16
|
+
* - **Shift+Tab** (on first data point, with toggles): Returns focus to the toggle buttons.
|
|
17
|
+
* - **Arrow Up / Down** (on data point): Moves focus vertically to the same x-interval on
|
|
18
|
+
* the previous/next line.
|
|
19
|
+
* - **Arrow Left / Right** (on data point): Moves focus to the previous/next data point on
|
|
20
|
+
* the same line.
|
|
21
|
+
* - **Arrow Left / Right** (on toggle button): Cycles between toggle buttons.
|
|
22
|
+
*
|
|
23
|
+
* @accessibility
|
|
24
|
+
* - `label`, `x-axis-label`, and `y-axis-label` are required for accessibility.
|
|
25
|
+
* - Each data point renders as `role="img"` with a detailed `aria-label` including the line
|
|
26
|
+
* name, x-value, y-value, units, and (if `show-deltas`) the percentage change from the
|
|
27
|
+
* previous point.
|
|
28
|
+
* - An `aria-live` region announces the line name and data point count when keyboard focus
|
|
29
|
+
* moves to a new line.
|
|
30
|
+
* - The `description` prop is appended to the chart instructions read to screen readers —
|
|
31
|
+
* use it to summarize the key takeaway.
|
|
32
|
+
*
|
|
33
|
+
* @usageNotes
|
|
34
|
+
* - `line-data` expects a JSON object where keys are line labels and values are objects mapping
|
|
35
|
+
* x-axis values (strings) to y-axis values (numbers or `null` for missing data points).
|
|
36
|
+
* In HTML, set it as a JSON string attribute; in JavaScript/React, set it as an object.
|
|
37
|
+
* - Up to 7 lines are supported — each is automatically assigned a color and symbol from
|
|
38
|
+
* the built-in palette.
|
|
39
|
+
* - `spotlight-data` adds a single reference line spanning the whole chart. Provide an object
|
|
40
|
+
* with a `label` key and one x-value key mapping to the y-value.
|
|
41
|
+
*
|
|
42
|
+
* @example {html} Basic line chart
|
|
43
|
+
* <wm-line-chart label="Enrollment trend" x-axis-label="Term" y-axis-label="Students"
|
|
44
|
+
* line-data='{"Biology": {"Fall 2022": 310, "Fall 2023": 340}}'></wm-line-chart>
|
|
45
|
+
*
|
|
46
|
+
* @example {react} Basic line chart
|
|
47
|
+
* <WmLineChart label="Enrollment trend" xAxisLabel="Term" yAxisLabel="Students"
|
|
48
|
+
* lineData={{ Biology: { "Fall 2022": 310, "Fall 2023": 340 } }} />
|
|
49
|
+
*
|
|
50
|
+
* @example {html} Multi-line with delta comparisons
|
|
51
|
+
* <wm-line-chart label="Retention rates" x-axis-label="Year" y-axis-label="Rate"
|
|
52
|
+
* units="null,percent" show-deltas
|
|
53
|
+
* line-data='{"Biology": {"2022": 85, "2023": 88}, "English": {"2022": 79, "2023": 82}}'>
|
|
54
|
+
* </wm-line-chart>
|
|
55
|
+
*
|
|
56
|
+
* @example {react} Multi-line with delta comparisons
|
|
57
|
+
* <WmLineChart label="Retention rates" xAxisLabel="Year" yAxisLabel="Rate"
|
|
58
|
+
* units="null,percent" showDeltas={true}
|
|
59
|
+
* lineData={{ Biology: { "2022": 85, "2023": 88 }, English: { "2022": 79, "2023": 82 } }} />
|
|
60
|
+
*
|
|
61
|
+
* @category Data Visualization
|
|
62
|
+
*/
|
|
5
63
|
export class LineChart {
|
|
6
64
|
constructor() {
|
|
7
65
|
this.minTickWidth = 120;
|
|
@@ -520,7 +578,7 @@ export class LineChart {
|
|
|
520
578
|
}
|
|
521
579
|
}
|
|
522
580
|
render() {
|
|
523
|
-
return (h(Host, { key: '
|
|
581
|
+
return (h(Host, { key: 'acf06c018fdcc2a4fadca621ff30c4e751ca421a', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { key: '0875c154402f16ab666b0ce0d1f94bf64c9a8c9e', class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { key: 'ec7a7af542b83ed0a44a2321df1fbd63daa44de3', class: "chart-wrapper" }, h("div", { key: 'e3c0be9867090427e6f22400d89dfe70c6e37b03', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { key: 'e2b044e94333e2cfdb18755242422d860c21d475', ref: (el) => (this.plotAreaEl = el), class: "plot-area" }, this.renderVerticalGridlines(), this.renderHorizontalGridlines(), this.renderHighlight(), this.renderData(), this.renderHoverAreas(), this.renderSpotlight()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: '50f05b93e40f6c04dcd3cb5aaebc3301f0f293b1', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { key: '8003e1ab7e144fa78dfa01c3df54d72f50fb1426', id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { key: '27c5dd41e90238f22ba5987be52d274a2c6286a2', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
|
|
524
582
|
}
|
|
525
583
|
static get is() { return "wm-line-chart"; }
|
|
526
584
|
static get encapsulation() { return "shadow"; }
|
|
@@ -547,7 +605,13 @@ export class LineChart {
|
|
|
547
605
|
"required": true,
|
|
548
606
|
"optional": false,
|
|
549
607
|
"docs": {
|
|
550
|
-
"tags": [
|
|
608
|
+
"tags": [{
|
|
609
|
+
"name": "description",
|
|
610
|
+
"text": "Accessible label for the chart, used as the `aria-label` on the chart\ncontainer. Required for accessibility."
|
|
611
|
+
}, {
|
|
612
|
+
"name": "required",
|
|
613
|
+
"text": undefined
|
|
614
|
+
}],
|
|
551
615
|
"text": ""
|
|
552
616
|
},
|
|
553
617
|
"attribute": "label",
|
|
@@ -564,7 +628,13 @@ export class LineChart {
|
|
|
564
628
|
"required": false,
|
|
565
629
|
"optional": false,
|
|
566
630
|
"docs": {
|
|
567
|
-
"tags": [
|
|
631
|
+
"tags": [{
|
|
632
|
+
"name": "description",
|
|
633
|
+
"text": "Accessible description appended to the keyboard instructions read to screen\nreaders. Recommended \u2014 use it to summarize the key takeaway of the chart."
|
|
634
|
+
}, {
|
|
635
|
+
"name": "default",
|
|
636
|
+
"text": "\"\""
|
|
637
|
+
}],
|
|
568
638
|
"text": ""
|
|
569
639
|
},
|
|
570
640
|
"attribute": "description",
|
|
@@ -582,7 +652,13 @@ export class LineChart {
|
|
|
582
652
|
"required": true,
|
|
583
653
|
"optional": false,
|
|
584
654
|
"docs": {
|
|
585
|
-
"tags": [
|
|
655
|
+
"tags": [{
|
|
656
|
+
"name": "description",
|
|
657
|
+
"text": "Label for the x-axis (the time dimension, e.g. `\"Term\"`, `\"Academic Year\"`).\nRequired for accessibility."
|
|
658
|
+
}, {
|
|
659
|
+
"name": "required",
|
|
660
|
+
"text": undefined
|
|
661
|
+
}],
|
|
586
662
|
"text": ""
|
|
587
663
|
},
|
|
588
664
|
"attribute": "x-axis-label",
|
|
@@ -599,7 +675,13 @@ export class LineChart {
|
|
|
599
675
|
"required": true,
|
|
600
676
|
"optional": false,
|
|
601
677
|
"docs": {
|
|
602
|
-
"tags": [
|
|
678
|
+
"tags": [{
|
|
679
|
+
"name": "description",
|
|
680
|
+
"text": "Label for the y-axis (the measured value, e.g. `\"Enrollment\"`, `\"Score\"`).\nRequired for accessibility."
|
|
681
|
+
}, {
|
|
682
|
+
"name": "required",
|
|
683
|
+
"text": undefined
|
|
684
|
+
}],
|
|
603
685
|
"text": ""
|
|
604
686
|
},
|
|
605
687
|
"attribute": "y-axis-label",
|
|
@@ -616,7 +698,13 @@ export class LineChart {
|
|
|
616
698
|
"required": false,
|
|
617
699
|
"optional": false,
|
|
618
700
|
"docs": {
|
|
619
|
-
"tags": [
|
|
701
|
+
"tags": [{
|
|
702
|
+
"name": "description",
|
|
703
|
+
"text": "When true, renders horizontal and vertical grid lines."
|
|
704
|
+
}, {
|
|
705
|
+
"name": "default",
|
|
706
|
+
"text": "true"
|
|
707
|
+
}],
|
|
620
708
|
"text": ""
|
|
621
709
|
},
|
|
622
710
|
"attribute": "show-grid",
|
|
@@ -640,7 +728,13 @@ export class LineChart {
|
|
|
640
728
|
"required": true,
|
|
641
729
|
"optional": false,
|
|
642
730
|
"docs": {
|
|
643
|
-
"tags": [
|
|
731
|
+
"tags": [{
|
|
732
|
+
"name": "description",
|
|
733
|
+
"text": "Chart data. Each key is a line label (shown in the legend); each value is an\nobject mapping x-axis values (strings) to y-axis values (numbers or `null` for missing\ndata points). Can be set as a JSON string (HTML attribute) or as an object (JavaScript).\nExample: `{ \"Biology\": { \"2022\u201323\": 310, \"2023\u201324\": 420 } }`."
|
|
734
|
+
}, {
|
|
735
|
+
"name": "required",
|
|
736
|
+
"text": undefined
|
|
737
|
+
}],
|
|
644
738
|
"text": ""
|
|
645
739
|
},
|
|
646
740
|
"attribute": "line-data",
|
|
@@ -657,7 +751,13 @@ export class LineChart {
|
|
|
657
751
|
"required": false,
|
|
658
752
|
"optional": false,
|
|
659
753
|
"docs": {
|
|
660
|
-
"tags": [
|
|
754
|
+
"tags": [{
|
|
755
|
+
"name": "description",
|
|
756
|
+
"text": "Two comma-separated unit labels for the x and y axes, shown in parentheses\nafter axis labels and inside popovers. Use `null` for no unit.\nExample: `\"null,students\"` or `\"semester,percent\"`."
|
|
757
|
+
}, {
|
|
758
|
+
"name": "default",
|
|
759
|
+
"text": "\"null,null\""
|
|
760
|
+
}],
|
|
661
761
|
"text": ""
|
|
662
762
|
},
|
|
663
763
|
"attribute": "units",
|
|
@@ -675,7 +775,13 @@ export class LineChart {
|
|
|
675
775
|
"required": false,
|
|
676
776
|
"optional": false,
|
|
677
777
|
"docs": {
|
|
678
|
-
"tags": [
|
|
778
|
+
"tags": [{
|
|
779
|
+
"name": "description",
|
|
780
|
+
"text": "CSS width of the y-axis interval label column."
|
|
781
|
+
}, {
|
|
782
|
+
"name": "default",
|
|
783
|
+
"text": "\"120px\""
|
|
784
|
+
}],
|
|
679
785
|
"text": ""
|
|
680
786
|
},
|
|
681
787
|
"attribute": "label-width",
|
|
@@ -693,7 +799,10 @@ export class LineChart {
|
|
|
693
799
|
"required": false,
|
|
694
800
|
"optional": false,
|
|
695
801
|
"docs": {
|
|
696
|
-
"tags": [
|
|
802
|
+
"tags": [{
|
|
803
|
+
"name": "description",
|
|
804
|
+
"text": "Screen reader qualifier appended to the `aria-label` of data points that fall\nwithin a highlighted section (e.g. `\"projected\"`)."
|
|
805
|
+
}],
|
|
697
806
|
"text": ""
|
|
698
807
|
},
|
|
699
808
|
"attribute": "highlight-qualifier",
|
|
@@ -711,7 +820,10 @@ export class LineChart {
|
|
|
711
820
|
"required": false,
|
|
712
821
|
"optional": true,
|
|
713
822
|
"docs": {
|
|
714
|
-
"tags": [
|
|
823
|
+
"tags": [{
|
|
824
|
+
"name": "description",
|
|
825
|
+
"text": "x-axis value where the highlighted background area begins. If used without\n`highlight-end`, the highlight extends to the right edge of the chart."
|
|
826
|
+
}],
|
|
715
827
|
"text": ""
|
|
716
828
|
},
|
|
717
829
|
"attribute": "highlight-start",
|
|
@@ -728,7 +840,10 @@ export class LineChart {
|
|
|
728
840
|
"required": false,
|
|
729
841
|
"optional": true,
|
|
730
842
|
"docs": {
|
|
731
|
-
"tags": [
|
|
843
|
+
"tags": [{
|
|
844
|
+
"name": "description",
|
|
845
|
+
"text": "x-axis value where the highlighted background area ends."
|
|
846
|
+
}],
|
|
732
847
|
"text": ""
|
|
733
848
|
},
|
|
734
849
|
"attribute": "highlight-end",
|
|
@@ -745,7 +860,13 @@ export class LineChart {
|
|
|
745
860
|
"required": false,
|
|
746
861
|
"optional": false,
|
|
747
862
|
"docs": {
|
|
748
|
-
"tags": [
|
|
863
|
+
"tags": [{
|
|
864
|
+
"name": "description",
|
|
865
|
+
"text": "When true, renders hide/show toggle buttons in the legend, allowing users to\nhide individual lines."
|
|
866
|
+
}, {
|
|
867
|
+
"name": "default",
|
|
868
|
+
"text": "false"
|
|
869
|
+
}],
|
|
749
870
|
"text": ""
|
|
750
871
|
},
|
|
751
872
|
"attribute": "visibility-toggles",
|
|
@@ -763,7 +884,13 @@ export class LineChart {
|
|
|
763
884
|
"required": false,
|
|
764
885
|
"optional": false,
|
|
765
886
|
"docs": {
|
|
766
|
-
"tags": [
|
|
887
|
+
"tags": [{
|
|
888
|
+
"name": "description",
|
|
889
|
+
"text": "When true, a \"Change since [previous x-value]\" column appears in each data\npoint's popover, showing the percentage change from the preceding data point."
|
|
890
|
+
}, {
|
|
891
|
+
"name": "default",
|
|
892
|
+
"text": "false"
|
|
893
|
+
}],
|
|
767
894
|
"text": ""
|
|
768
895
|
},
|
|
769
896
|
"attribute": "show-deltas",
|
|
@@ -781,7 +908,10 @@ export class LineChart {
|
|
|
781
908
|
"required": false,
|
|
782
909
|
"optional": true,
|
|
783
910
|
"docs": {
|
|
784
|
-
"tags": [
|
|
911
|
+
"tags": [{
|
|
912
|
+
"name": "description",
|
|
913
|
+
"text": "Comma-separated numbers that explicitly define the y-axis tick values.\nOverrides automatic range and interval calculation.\nExample: `\"0,100,200,300\"`."
|
|
914
|
+
}],
|
|
785
915
|
"text": ""
|
|
786
916
|
},
|
|
787
917
|
"attribute": "y-range",
|
|
@@ -804,7 +934,10 @@ export class LineChart {
|
|
|
804
934
|
"required": false,
|
|
805
935
|
"optional": true,
|
|
806
936
|
"docs": {
|
|
807
|
-
"tags": [
|
|
937
|
+
"tags": [{
|
|
938
|
+
"name": "description",
|
|
939
|
+
"text": "Adds a reference data point and a spanning horizontal line across the chart.\nMust include a `label` key and exactly one x-value key mapping to the y-value.\nExample: `{ label: \"Target\", \"2024\u201325\": 500 }`."
|
|
940
|
+
}],
|
|
808
941
|
"text": ""
|
|
809
942
|
}
|
|
810
943
|
},
|
|
@@ -819,7 +952,10 @@ export class LineChart {
|
|
|
819
952
|
"required": false,
|
|
820
953
|
"optional": true,
|
|
821
954
|
"docs": {
|
|
822
|
-
"tags": [
|
|
955
|
+
"tags": [{
|
|
956
|
+
"name": "description",
|
|
957
|
+
"text": "Number of decimal places for data point values and y-axis interval labels.\nIf omitted, the component infers an appropriate number from the data."
|
|
958
|
+
}],
|
|
823
959
|
"text": ""
|
|
824
960
|
},
|
|
825
961
|
"attribute": "decimal-places",
|