@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
|
@@ -1,4 +1,62 @@
|
|
|
1
1
|
import { DataPointDetails, Line, LineChartData, SpotlightData } from "../../../global/interfaces";
|
|
2
|
+
/**
|
|
3
|
+
* Visualizes how data changes over time. Ideal for trend analysis — tracking one or more
|
|
4
|
+
* metrics across chronological intervals such as semesters, academic years, or months.
|
|
5
|
+
* Supports up to 7 lines, each differentiated by both color and symbol. Data is set via the
|
|
6
|
+
* `line-data` prop (JSON string or object). Minimum width of 562 px; horizontally scrollable
|
|
7
|
+
* at smaller viewports.
|
|
8
|
+
*
|
|
9
|
+
* @keyboardInteraction
|
|
10
|
+
* - **Tab** (into chart): If `visibility-toggles` is enabled, focuses the first toggle button;
|
|
11
|
+
* otherwise focuses the first data point.
|
|
12
|
+
* - **Tab** (on toggle button): Moves to the first data point of the first visible line.
|
|
13
|
+
* - **Shift+Tab** (on first data point, with toggles): Returns focus to the toggle buttons.
|
|
14
|
+
* - **Arrow Up / Down** (on data point): Moves focus vertically to the same x-interval on
|
|
15
|
+
* the previous/next line.
|
|
16
|
+
* - **Arrow Left / Right** (on data point): Moves focus to the previous/next data point on
|
|
17
|
+
* the same line.
|
|
18
|
+
* - **Arrow Left / Right** (on toggle button): Cycles between toggle buttons.
|
|
19
|
+
*
|
|
20
|
+
* @accessibility
|
|
21
|
+
* - `label`, `x-axis-label`, and `y-axis-label` are required for accessibility.
|
|
22
|
+
* - Each data point renders as `role="img"` with a detailed `aria-label` including the line
|
|
23
|
+
* name, x-value, y-value, units, and (if `show-deltas`) the percentage change from the
|
|
24
|
+
* previous point.
|
|
25
|
+
* - An `aria-live` region announces the line name and data point count when keyboard focus
|
|
26
|
+
* moves to a new line.
|
|
27
|
+
* - The `description` prop is appended to the chart instructions read to screen readers —
|
|
28
|
+
* use it to summarize the key takeaway.
|
|
29
|
+
*
|
|
30
|
+
* @usageNotes
|
|
31
|
+
* - `line-data` expects a JSON object where keys are line labels and values are objects mapping
|
|
32
|
+
* x-axis values (strings) to y-axis values (numbers or `null` for missing data points).
|
|
33
|
+
* In HTML, set it as a JSON string attribute; in JavaScript/React, set it as an object.
|
|
34
|
+
* - Up to 7 lines are supported — each is automatically assigned a color and symbol from
|
|
35
|
+
* the built-in palette.
|
|
36
|
+
* - `spotlight-data` adds a single reference line spanning the whole chart. Provide an object
|
|
37
|
+
* with a `label` key and one x-value key mapping to the y-value.
|
|
38
|
+
*
|
|
39
|
+
* @example {html} Basic line chart
|
|
40
|
+
* <wm-line-chart label="Enrollment trend" x-axis-label="Term" y-axis-label="Students"
|
|
41
|
+
* line-data='{"Biology": {"Fall 2022": 310, "Fall 2023": 340}}'></wm-line-chart>
|
|
42
|
+
*
|
|
43
|
+
* @example {react} Basic line chart
|
|
44
|
+
* <WmLineChart label="Enrollment trend" xAxisLabel="Term" yAxisLabel="Students"
|
|
45
|
+
* lineData={{ Biology: { "Fall 2022": 310, "Fall 2023": 340 } }} />
|
|
46
|
+
*
|
|
47
|
+
* @example {html} Multi-line with delta comparisons
|
|
48
|
+
* <wm-line-chart label="Retention rates" x-axis-label="Year" y-axis-label="Rate"
|
|
49
|
+
* units="null,percent" show-deltas
|
|
50
|
+
* line-data='{"Biology": {"2022": 85, "2023": 88}, "English": {"2022": 79, "2023": 82}}'>
|
|
51
|
+
* </wm-line-chart>
|
|
52
|
+
*
|
|
53
|
+
* @example {react} Multi-line with delta comparisons
|
|
54
|
+
* <WmLineChart label="Retention rates" xAxisLabel="Year" yAxisLabel="Rate"
|
|
55
|
+
* units="null,percent" showDeltas={true}
|
|
56
|
+
* lineData={{ Biology: { "2022": 85, "2023": 88 }, English: { "2022": 79, "2023": 82 } }} />
|
|
57
|
+
*
|
|
58
|
+
* @category Data Visualization
|
|
59
|
+
*/
|
|
2
60
|
export declare class LineChart {
|
|
3
61
|
el: HTMLWmLineChartElement;
|
|
4
62
|
private plotAreaEl;
|
|
@@ -6,21 +64,97 @@ export declare class LineChart {
|
|
|
6
64
|
private popoverEl;
|
|
7
65
|
private yIntervalsEl;
|
|
8
66
|
private liveRegionEl;
|
|
67
|
+
/**
|
|
68
|
+
* @description Accessible label for the chart, used as the `aria-label` on the chart
|
|
69
|
+
* container. Required for accessibility.
|
|
70
|
+
* @required
|
|
71
|
+
*/
|
|
9
72
|
label: string;
|
|
73
|
+
/**
|
|
74
|
+
* @description Accessible description appended to the keyboard instructions read to screen
|
|
75
|
+
* readers. Recommended — use it to summarize the key takeaway of the chart.
|
|
76
|
+
* @default ""
|
|
77
|
+
*/
|
|
10
78
|
description: string;
|
|
79
|
+
/**
|
|
80
|
+
* @description Label for the x-axis (the time dimension, e.g. `"Term"`, `"Academic Year"`).
|
|
81
|
+
* Required for accessibility.
|
|
82
|
+
* @required
|
|
83
|
+
*/
|
|
11
84
|
xAxisLabel: string;
|
|
85
|
+
/**
|
|
86
|
+
* @description Label for the y-axis (the measured value, e.g. `"Enrollment"`, `"Score"`).
|
|
87
|
+
* Required for accessibility.
|
|
88
|
+
* @required
|
|
89
|
+
*/
|
|
12
90
|
yAxisLabel: string;
|
|
91
|
+
/**
|
|
92
|
+
* @description When true, renders horizontal and vertical grid lines.
|
|
93
|
+
* @default true
|
|
94
|
+
*/
|
|
13
95
|
showGrid: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* @description Chart data. Each key is a line label (shown in the legend); each value is an
|
|
98
|
+
* object mapping x-axis values (strings) to y-axis values (numbers or `null` for missing
|
|
99
|
+
* data points). Can be set as a JSON string (HTML attribute) or as an object (JavaScript).
|
|
100
|
+
* Example: `{ "Biology": { "2022–23": 310, "2023–24": 420 } }`.
|
|
101
|
+
* @required
|
|
102
|
+
*/
|
|
14
103
|
lineData: string | LineChartData;
|
|
104
|
+
/**
|
|
105
|
+
* @description Two comma-separated unit labels for the x and y axes, shown in parentheses
|
|
106
|
+
* after axis labels and inside popovers. Use `null` for no unit.
|
|
107
|
+
* Example: `"null,students"` or `"semester,percent"`.
|
|
108
|
+
* @default "null,null"
|
|
109
|
+
*/
|
|
15
110
|
units: string;
|
|
111
|
+
/**
|
|
112
|
+
* @description CSS width of the y-axis interval label column.
|
|
113
|
+
* @default "120px"
|
|
114
|
+
*/
|
|
16
115
|
labelWidth: string;
|
|
116
|
+
/**
|
|
117
|
+
* @description Screen reader qualifier appended to the `aria-label` of data points that fall
|
|
118
|
+
* within a highlighted section (e.g. `"projected"`).
|
|
119
|
+
*/
|
|
17
120
|
highlightQualifier: string;
|
|
121
|
+
/**
|
|
122
|
+
* @description x-axis value where the highlighted background area begins. If used without
|
|
123
|
+
* `highlight-end`, the highlight extends to the right edge of the chart.
|
|
124
|
+
*/
|
|
18
125
|
highlightStart?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @description x-axis value where the highlighted background area ends.
|
|
128
|
+
*/
|
|
19
129
|
highlightEnd?: string;
|
|
130
|
+
/**
|
|
131
|
+
* @description When true, renders hide/show toggle buttons in the legend, allowing users to
|
|
132
|
+
* hide individual lines.
|
|
133
|
+
* @default false
|
|
134
|
+
*/
|
|
20
135
|
visibilityToggles: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* @description When true, a "Change since [previous x-value]" column appears in each data
|
|
138
|
+
* point's popover, showing the percentage change from the preceding data point.
|
|
139
|
+
* @default false
|
|
140
|
+
*/
|
|
21
141
|
showDeltas: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* @description Comma-separated numbers that explicitly define the y-axis tick values.
|
|
144
|
+
* Overrides automatic range and interval calculation.
|
|
145
|
+
* Example: `"0,100,200,300"`.
|
|
146
|
+
*/
|
|
22
147
|
yRange?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @description Adds a reference data point and a spanning horizontal line across the chart.
|
|
150
|
+
* Must include a `label` key and exactly one x-value key mapping to the y-value.
|
|
151
|
+
* Example: `{ label: "Target", "2024–25": 500 }`.
|
|
152
|
+
*/
|
|
23
153
|
spotlightData?: SpotlightData;
|
|
154
|
+
/**
|
|
155
|
+
* @description Number of decimal places for data point values and y-axis interval labels.
|
|
156
|
+
* If omitted, the component infers an appropriate number from the data.
|
|
157
|
+
*/
|
|
24
158
|
decimalPlaces?: number;
|
|
25
159
|
parsedLineData: LineChartData;
|
|
26
160
|
popoverIndex: number;
|
|
@@ -1,12 +1,64 @@
|
|
|
1
1
|
import { ChartDetails } from "../../../global/interfaces";
|
|
2
|
+
/**
|
|
3
|
+
* Single progress indicator used inside a wm-progress-monitor. Renders the binary completion
|
|
4
|
+
* data for one category as either a doughnut chart (wide layout) or a horizontal bar (narrow
|
|
5
|
+
* layout), switching automatically based on the parent monitor's breakpoint.
|
|
6
|
+
*
|
|
7
|
+
* Must contain EXACTLY TWO wm-progress-slice children — one for the "complete" state and one
|
|
8
|
+
* for the "incomplete" state.
|
|
9
|
+
*
|
|
10
|
+
* @usageNotes
|
|
11
|
+
* - Always used as a direct child of wm-progress-monitor.
|
|
12
|
+
* - `label` is required for accessibility.
|
|
13
|
+
* - The optional `completion-message` is displayed inside the doughnut when the first slice
|
|
14
|
+
* reaches 100%.
|
|
15
|
+
*
|
|
16
|
+
* @example {html} Progress indicator
|
|
17
|
+
* <wm-progress-indicator label="Biology completion">
|
|
18
|
+
* <wm-progress-slice legend="Completed" amount="200"></wm-progress-slice>
|
|
19
|
+
* <wm-progress-slice legend="Not Completed" amount="100"></wm-progress-slice>
|
|
20
|
+
* </wm-progress-indicator>
|
|
21
|
+
*
|
|
22
|
+
* @example {react} Progress indicator
|
|
23
|
+
* <WmProgressIndicator label="Biology completion">
|
|
24
|
+
* <WmProgressSlice legend="Completed" amount="200" />
|
|
25
|
+
* <WmProgressSlice legend="Not Completed" amount="100" />
|
|
26
|
+
* </WmProgressIndicator>
|
|
27
|
+
*/
|
|
2
28
|
export declare class ProgressIndicator {
|
|
3
29
|
el: HTMLWmProgressIndicatorElement;
|
|
4
30
|
private componentWrapperEl;
|
|
31
|
+
/**
|
|
32
|
+
* @description Accessible label for this indicator. Required for accessibility — used as the
|
|
33
|
+
* `aria-label` on the chart container and as the visual chart label.
|
|
34
|
+
* @required
|
|
35
|
+
*/
|
|
5
36
|
label?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @description Optional secondary text displayed beneath the label.
|
|
39
|
+
*/
|
|
6
40
|
subinfo?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @description Text displayed inside the doughnut ring when the completion slice reaches
|
|
43
|
+
* 100%.
|
|
44
|
+
*/
|
|
7
45
|
completionMessage?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @description Show or hide the legend. The legend is still read by screen readers
|
|
48
|
+
* regardless of this setting.
|
|
49
|
+
* @default true
|
|
50
|
+
*/
|
|
8
51
|
showLegend: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* @description When true, slice values are included in the legend and keyboard interaction
|
|
54
|
+
* instructions are removed from the DOM — suitable for printed output.
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
9
57
|
printMode: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @description Format for legend values when `print-mode` is enabled.
|
|
60
|
+
* @default "amount"
|
|
61
|
+
*/
|
|
10
62
|
printModeFormat: "amount" | "percentage";
|
|
11
63
|
isTabbing: boolean;
|
|
12
64
|
mode?: "doughnut" | "bar";
|
|
@@ -1,9 +1,93 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Container for one or more wm-progress-indicator elements, each showing binary completion
|
|
4
|
+
* progress (e.g. "Completed" vs "Not Completed"). Above the layout breakpoint, indicators
|
|
5
|
+
* render as doughnuts in a horizontal row; below it, they collapse into horizontal bars in a
|
|
6
|
+
* vertical stack.
|
|
7
|
+
*
|
|
8
|
+
* **Strict constraints:**
|
|
9
|
+
* 1. Each wm-progress-indicator must have EXACTLY TWO wm-progress-slice children — one for
|
|
10
|
+
* the "complete" state and one for the "incomplete" state.
|
|
11
|
+
* 2. This component is ONLY suitable for binary completion tracking. For more than two states,
|
|
12
|
+
* general comparisons, composition breakdowns, or distributions, use wm-chart,
|
|
13
|
+
* wm-chart-bar, or wm-chart-column.
|
|
14
|
+
*
|
|
15
|
+
* @usageNotes
|
|
16
|
+
* - The `wmProgressMonitorModeChange` event fires once on load and again whenever the layout
|
|
17
|
+
* switches between `"doughnut"` and `"bar"`. Listen to it to synchronize any external UI
|
|
18
|
+
* that depends on the current layout mode.
|
|
19
|
+
* - `group-legend` is only shown in bar mode. Provide two comma-separated keys in
|
|
20
|
+
* complete/incomplete order (e.g. `"Completed,Not Completed"`). Keys cannot contain commas.
|
|
21
|
+
*
|
|
22
|
+
* @example {html} Progress monitor
|
|
23
|
+
* <wm-progress-monitor group-legend="Completed,Not Completed">
|
|
24
|
+
* <wm-progress-indicator label="Biology">
|
|
25
|
+
* <wm-progress-slice legend="Completed" amount="200"
|
|
26
|
+
* popover-title="200 students" popover-text="Completed all requirements"></wm-progress-slice>
|
|
27
|
+
* <wm-progress-slice legend="Not Completed" amount="100"
|
|
28
|
+
* popover-title="100 students" popover-text="Have not completed all requirements"></wm-progress-slice>
|
|
29
|
+
* </wm-progress-indicator>
|
|
30
|
+
* </wm-progress-monitor>
|
|
31
|
+
*
|
|
32
|
+
* @example {react} Progress monitor
|
|
33
|
+
* // wmProgressMonitorModeChange fires on load and whenever the layout switches.
|
|
34
|
+
* // event.detail is "doughnut" | "bar".
|
|
35
|
+
* const [layoutMode, setLayoutMode] = useState("");
|
|
36
|
+
*
|
|
37
|
+
* <WmProgressMonitor
|
|
38
|
+
* groupLegend="Completed,Not Completed"
|
|
39
|
+
* onWmProgressMonitorModeChange={(e) => setLayoutMode(e.detail)}
|
|
40
|
+
* >
|
|
41
|
+
* <WmProgressIndicator label="Biology">
|
|
42
|
+
* <WmProgressSlice legend="Completed" amount="200"
|
|
43
|
+
* popoverTitle="200 students" popoverText="Completed all requirements" />
|
|
44
|
+
* <WmProgressSlice legend="Not Completed" amount="100"
|
|
45
|
+
* popoverTitle="100 students" popoverText="Have not completed all requirements" />
|
|
46
|
+
* </WmProgressIndicator>
|
|
47
|
+
* <WmProgressIndicator label="English">
|
|
48
|
+
* <WmProgressSlice legend="Completed" amount="160"
|
|
49
|
+
* popoverTitle="160 students" popoverText="Completed all requirements" />
|
|
50
|
+
* <WmProgressSlice legend="Not Completed" amount="40"
|
|
51
|
+
* popoverTitle="40 students" popoverText="Have not completed all requirements" />
|
|
52
|
+
* </WmProgressIndicator>
|
|
53
|
+
* </WmProgressMonitor>
|
|
54
|
+
*
|
|
55
|
+
* @example {html} Custom breakpoint
|
|
56
|
+
* <wm-progress-monitor breakpoint="600px" group-legend="Done,Pending">
|
|
57
|
+
* <!-- indicators -->
|
|
58
|
+
* </wm-progress-monitor>
|
|
59
|
+
*
|
|
60
|
+
* @example {react} Custom breakpoint
|
|
61
|
+
* <WmProgressMonitor breakpoint="600px" groupLegend="Done,Pending">
|
|
62
|
+
* {/* indicators *\/}
|
|
63
|
+
* </WmProgressMonitor>
|
|
64
|
+
*
|
|
65
|
+
* @category Data Visualization
|
|
66
|
+
*/
|
|
2
67
|
export declare class ProgressMonitor {
|
|
3
68
|
el: HTMLWmProgressMonitorElement;
|
|
69
|
+
/**
|
|
70
|
+
* @description Controls when indicators switch between doughnut (horizontal row) and bar
|
|
71
|
+
* (vertical stack) layouts. Accepts a unit-less number (minimum number of indicators to
|
|
72
|
+
* show side-by-side — e.g. `4` → 1200 px) or an exact pixel value (e.g. `"900px"`).
|
|
73
|
+
* Defaults to the sum of all indicator widths — the component tries to fit all on one row
|
|
74
|
+
* and collapses to bars when it cannot.
|
|
75
|
+
*/
|
|
4
76
|
breakpoint?: number | string;
|
|
77
|
+
/**
|
|
78
|
+
* @description Two comma-separated legend keys in complete/incomplete order, displayed only
|
|
79
|
+
* in bar layout mode (e.g. `"Completed,Not Completed"`). Keys cannot contain commas.
|
|
80
|
+
*/
|
|
5
81
|
groupLegend?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @description CSS width of the indicator labels when in bar layout mode (e.g. `"180px"`).
|
|
84
|
+
*/
|
|
6
85
|
barLabelsWidth?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @description Fires once on load and again whenever the layout switches between `"doughnut"`
|
|
88
|
+
* and `"bar"` modes. Use this to synchronize external UI that depends on the current layout.
|
|
89
|
+
* @eventDetails `"doughnut" | "bar"` — the new layout mode.
|
|
90
|
+
*/
|
|
7
91
|
wmProgressMonitorModeChange: EventEmitter;
|
|
8
92
|
private doughnutWidth;
|
|
9
93
|
private prevMode?;
|
|
@@ -1,10 +1,54 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Data slice for a wm-progress-indicator. Represents one state (complete or incomplete) in
|
|
4
|
+
* a binary progress chart. Always used as a direct child of wm-progress-indicator.
|
|
5
|
+
*
|
|
6
|
+
* Each wm-progress-indicator must contain EXACTLY TWO wm-progress-slice elements.
|
|
7
|
+
*
|
|
8
|
+
* @usageNotes
|
|
9
|
+
* - The first slice is treated as the "complete" state and the second as the "incomplete"
|
|
10
|
+
* state for color and layout purposes.
|
|
11
|
+
* - Use `popover-title`, `popover-text`, and `popover-button-text` to surface additional
|
|
12
|
+
* context when the segment is focused or clicked.
|
|
13
|
+
*
|
|
14
|
+
* @example {html} Complete/incomplete pair
|
|
15
|
+
* <wm-progress-slice legend="Completed" amount="200"
|
|
16
|
+
* popover-title="200 students" popover-text="Completed all requirements"></wm-progress-slice>
|
|
17
|
+
* <wm-progress-slice legend="Not Completed" amount="100"></wm-progress-slice>
|
|
18
|
+
*
|
|
19
|
+
* @example {react} Complete/incomplete pair
|
|
20
|
+
* <WmProgressSlice legend="Completed" amount="200"
|
|
21
|
+
* popoverTitle="200 students" popoverText="Completed all requirements" />
|
|
22
|
+
* <WmProgressSlice legend="Not Completed" amount="100" />
|
|
23
|
+
*/
|
|
2
24
|
export declare class ProgressSlice {
|
|
25
|
+
/**
|
|
26
|
+
* @description Label for this slice in the legend and popovers.
|
|
27
|
+
* @required
|
|
28
|
+
*/
|
|
3
29
|
legend?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @description Numeric value for this slice as a string.
|
|
32
|
+
*/
|
|
4
33
|
amount?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @description Title text shown in the data popover when this segment is focused or clicked.
|
|
36
|
+
*/
|
|
5
37
|
popoverTitle?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @description Body text shown in the data popover when this segment is focused or clicked.
|
|
40
|
+
*/
|
|
6
41
|
popoverText?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @description Label for the action button in the data popover. When set, fires
|
|
44
|
+
* `wmProgressIndicatorButtonTriggered` when clicked.
|
|
45
|
+
*/
|
|
7
46
|
popoverButtonText?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
* @description Internal signal notifying the parent wm-progress-indicator to re-read slice
|
|
50
|
+
* data after a prop update — not for application use.
|
|
51
|
+
*/
|
|
8
52
|
wmProgressSliceUpdated: EventEmitter<void>;
|
|
9
53
|
componentDidUpdate(): void;
|
|
10
54
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* @description Internal calendar component for date pickers. Not to be used directly.
|
|
5
|
+
*/
|
|
2
6
|
export declare class PrivCalendar {
|
|
3
7
|
el: HTMLPrivCalendarElement;
|
|
4
8
|
private prevBtnEl;
|
|
@@ -6,7 +10,7 @@ export declare class PrivCalendar {
|
|
|
6
10
|
private liveRegionEl;
|
|
7
11
|
private today;
|
|
8
12
|
disabled: boolean;
|
|
9
|
-
view:
|
|
13
|
+
view: "month" | "year";
|
|
10
14
|
focusDate: string;
|
|
11
15
|
startDate?: string;
|
|
12
16
|
endDate?: string;
|
|
@@ -83,7 +87,7 @@ export declare class PrivCalendar {
|
|
|
83
87
|
renderMonth(month: string, index: number): any;
|
|
84
88
|
renderHeader(): any;
|
|
85
89
|
renderToggleButton(): any;
|
|
86
|
-
renderDayView(): any;
|
|
87
90
|
renderMonthView(): any;
|
|
91
|
+
renderYearView(): any;
|
|
88
92
|
render(): any;
|
|
89
93
|
}
|
|
@@ -1,5 +1,116 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
import { PopoverPlacement } from "../../global/interfaces";
|
|
3
|
+
/**
|
|
4
|
+
* Two linked date inputs (start and end) with a shared calendar popup for selecting a date
|
|
5
|
+
* range. Users can type or click to set each date. Provides separate error states for start
|
|
6
|
+
* and end, and emits distinct blur events for each input. Use instead of two native
|
|
7
|
+
* `<input type="date">` elements when a range is required.
|
|
8
|
+
*
|
|
9
|
+
* @keyboardInteraction
|
|
10
|
+
* - **Input fields**: Tab moves focus between start input, end input, and the calendar toggle.
|
|
11
|
+
* - **Calendar toggle**: Space / Enter opens the calendar; Escape closes it and returns focus.
|
|
12
|
+
* - **Day grid**: Arrow keys navigate dates; Enter selects. After selecting the first date,
|
|
13
|
+
* the calendar resets for a second selection. Selecting a date earlier than the first date
|
|
14
|
+
* automatically swaps start and end.
|
|
15
|
+
* - **Month/year selectors**: Arrow keys cycle values; Tab/Shift+Tab move focus through controls.
|
|
16
|
+
*
|
|
17
|
+
* @accessibility
|
|
18
|
+
* - `label-start` and `label-end` are required for accessibility — always provide both even if
|
|
19
|
+
* visually implied by context.
|
|
20
|
+
* - The calendar toggle announces "Select range" to screen readers and reflects `aria-expanded`.
|
|
21
|
+
* - Validation errors are announced via an `aria-live` region when `error-message` changes.
|
|
22
|
+
* - The calendar popup hides its toggle when there is no room to display it; users can still
|
|
23
|
+
* type dates directly into the inputs.
|
|
24
|
+
*
|
|
25
|
+
* @usageNotes
|
|
26
|
+
* - Set `value-start` and `value-end` in the format specified by `date-format` (default
|
|
27
|
+
* `mm/dd/yyyy`). For programmatic pre-population, prefer ISO format via `preselected` and
|
|
28
|
+
* convert with the `reformatDate` method.
|
|
29
|
+
* - `wmRangeSelection` emits a detail object with `startDate` and `endDate`, each in ISO, US,
|
|
30
|
+
* and INT formats.
|
|
31
|
+
* - The same-date re-selection rule: clicking the same date as `date1` a second time resets the
|
|
32
|
+
* range selection so the user can pick a new `date1`.
|
|
33
|
+
*
|
|
34
|
+
* @example {html} Basic date range
|
|
35
|
+
* <wm-date-range label-start="Start date" label-end="End date"></wm-date-range>
|
|
36
|
+
*
|
|
37
|
+
* @example {react} Basic date range
|
|
38
|
+
* // The component does not update its own values after a calendar selection --
|
|
39
|
+
* // the app must call reformatDate and set valueStart/valueEnd imperatively via a ref.
|
|
40
|
+
* const ref = useRef(null);
|
|
41
|
+
*
|
|
42
|
+
* function getFormatName(format) {
|
|
43
|
+
* const map = { 'mm/dd/yyyy': 'US', 'dd/mm/yyyy': 'INT', 'yyyy/mm/dd': 'ISO' };
|
|
44
|
+
* return format ? map[format] : 'US';
|
|
45
|
+
* }
|
|
46
|
+
*
|
|
47
|
+
* // event.detail is { startDate: { iso, us, int }, endDate: { iso, us, int } }
|
|
48
|
+
* const handleRangeSelection = async (event) => {
|
|
49
|
+
* const dr = ref.current;
|
|
50
|
+
* const fmt = getFormatName(dr.getAttribute('date-format'));
|
|
51
|
+
* dr.valueStart = await dr.reformatDate('ISO', fmt, event.detail.startDate.iso);
|
|
52
|
+
* dr.valueEnd = await dr.reformatDate('ISO', fmt, event.detail.endDate.iso);
|
|
53
|
+
* dr.errorMessage = '';
|
|
54
|
+
* };
|
|
55
|
+
*
|
|
56
|
+
* const handleInputBlurred = async (field) => {
|
|
57
|
+
* const dr = ref.current;
|
|
58
|
+
* const fmt = getFormatName(dr.getAttribute('date-format'));
|
|
59
|
+
* const value = field === 'start' ? dr.valueStart : dr.valueEnd;
|
|
60
|
+
* if (value) {
|
|
61
|
+
* const iso = await dr.reformatDate(fmt, 'ISO', value);
|
|
62
|
+
* if (await dr.isValidISO(iso)) {
|
|
63
|
+
* const display = await dr.reformatDate('ISO', fmt, iso);
|
|
64
|
+
* if (field === 'start') dr.valueStart = display;
|
|
65
|
+
* else dr.valueEnd = display;
|
|
66
|
+
* dr.errorMessage = '';
|
|
67
|
+
* dr.invalidStart = false;
|
|
68
|
+
* dr.invalidEnd = false;
|
|
69
|
+
* } else {
|
|
70
|
+
* dr.errorMessage = `Please enter a valid date in the format ${dr.getAttribute('date-format') ?? 'mm/dd/yyyy'}`;
|
|
71
|
+
* if (field === 'start') dr.invalidStart = true;
|
|
72
|
+
* else dr.invalidEnd = true;
|
|
73
|
+
* }
|
|
74
|
+
* }
|
|
75
|
+
* };
|
|
76
|
+
*
|
|
77
|
+
* <WmDateRange
|
|
78
|
+
* ref={ref}
|
|
79
|
+
* labelStart="Start date"
|
|
80
|
+
* labelEnd="End date"
|
|
81
|
+
* onWmRangeSelection={handleRangeSelection}
|
|
82
|
+
* onWmStartInputBlur={() => handleInputBlurred('start')}
|
|
83
|
+
* onWmEndInputBlur={() => handleInputBlurred('end')}
|
|
84
|
+
* />
|
|
85
|
+
*
|
|
86
|
+
* @example {html} Required fields with validation
|
|
87
|
+
* <wm-date-range label-start="From" label-end="To" required-field></wm-date-range>
|
|
88
|
+
*
|
|
89
|
+
* @example {react} Required fields with validation
|
|
90
|
+
* <WmDateRange
|
|
91
|
+
* ref={ref}
|
|
92
|
+
* labelStart="From"
|
|
93
|
+
* labelEnd="To"
|
|
94
|
+
* requiredField={true}
|
|
95
|
+
* onWmRangeSelection={handleRangeSelection}
|
|
96
|
+
* onWmStartInputBlur={() => handleInputBlurred('start')}
|
|
97
|
+
* onWmEndInputBlur={() => handleInputBlurred('end')}
|
|
98
|
+
* />
|
|
99
|
+
*
|
|
100
|
+
* @example {html} International date format
|
|
101
|
+
* <wm-date-range label-start="Start" label-end="End" date-format="dd/mm/yyyy"></wm-date-range>
|
|
102
|
+
*
|
|
103
|
+
* @example {react} International date format
|
|
104
|
+
* <WmDateRange labelStart="Start" labelEnd="End" dateFormat="dd/mm/yyyy" />
|
|
105
|
+
*
|
|
106
|
+
* @example {html} Disabled
|
|
107
|
+
* <wm-date-range label-start="Start" label-end="End" disabled></wm-date-range>
|
|
108
|
+
*
|
|
109
|
+
* @example {react} Disabled
|
|
110
|
+
* <WmDateRange labelStart="Start" labelEnd="End" disabled={true} />
|
|
111
|
+
*
|
|
112
|
+
* @category Form Inputs
|
|
113
|
+
*/
|
|
3
114
|
export declare class DateRange {
|
|
4
115
|
el: HTMLWmDateRangeElement;
|
|
5
116
|
private wrapperEl;
|
|
@@ -11,19 +122,78 @@ export declare class DateRange {
|
|
|
11
122
|
private toggleEl;
|
|
12
123
|
private popupEl;
|
|
13
124
|
private anchorEl;
|
|
125
|
+
/**
|
|
126
|
+
* @description The date format shown in the input placeholders and announced to screen readers.
|
|
127
|
+
* @default "mm/dd/yyyy"
|
|
128
|
+
*/
|
|
14
129
|
dateFormat: string;
|
|
130
|
+
/**
|
|
131
|
+
* @description Disables the entire date range component, preventing all interaction.
|
|
132
|
+
* @default false
|
|
133
|
+
*/
|
|
15
134
|
disabled: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* @description Puts the component in an error state and displays this message below both
|
|
137
|
+
* inputs. Use with `invalid-start` and/or `invalid-end` to highlight specific fields.
|
|
138
|
+
*/
|
|
16
139
|
errorMessage?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @description Puts the start date input in an error state (red border). Use with
|
|
142
|
+
* `error-message`.
|
|
143
|
+
* @default false
|
|
144
|
+
*/
|
|
17
145
|
invalidStart: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* @description Puts the end date input in an error state (red border). Use with
|
|
148
|
+
* `error-message`.
|
|
149
|
+
* @default false
|
|
150
|
+
*/
|
|
18
151
|
invalidEnd: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* @description Visible label for the start date input. Required for accessibility.
|
|
154
|
+
* @required
|
|
155
|
+
*/
|
|
19
156
|
labelStart: string;
|
|
157
|
+
/**
|
|
158
|
+
* @description Visible label for the end date input. Required for accessibility.
|
|
159
|
+
* @required
|
|
160
|
+
*/
|
|
20
161
|
labelEnd: string;
|
|
162
|
+
/**
|
|
163
|
+
* @description The ISO date (YYYY-MM-DD) the calendar popup opens to when first opened and
|
|
164
|
+
* no `value-start` is set. Falls back to today's date if omitted.
|
|
165
|
+
*/
|
|
21
166
|
preselected?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @description Displays a required-field asterisk (*) next to each label.
|
|
169
|
+
* @default false
|
|
170
|
+
*/
|
|
22
171
|
requiredField: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* @description The value of the start date input, in the format specified by `date-format`.
|
|
174
|
+
* Updated as the user types or picks from the calendar.
|
|
175
|
+
*/
|
|
23
176
|
valueStart?: string;
|
|
177
|
+
/**
|
|
178
|
+
* @description The value of the end date input, in the format specified by `date-format`.
|
|
179
|
+
* Updated as the user types or picks from the calendar.
|
|
180
|
+
*/
|
|
24
181
|
valueEnd?: string;
|
|
182
|
+
/**
|
|
183
|
+
* @description Fires when the user completes a range selection from the calendar popup.
|
|
184
|
+
* @eventDetails {{ startDate: { iso: string, us: string, int: string }, endDate: { iso: string, us: string, int: string } }}
|
|
185
|
+
* startDate and endDate — each formatted in ISO (YYYY-MM-DD), US (mm/dd/yyyy), and INT
|
|
186
|
+
* (dd/mm/yyyy). The dates are always returned in chronological order regardless of the order
|
|
187
|
+
* they were clicked.
|
|
188
|
+
*/
|
|
25
189
|
wmRangeSelection: EventEmitter;
|
|
190
|
+
/**
|
|
191
|
+
* @description Fires when the start date input loses focus.
|
|
192
|
+
*/
|
|
26
193
|
wmStartInputBlur: EventEmitter;
|
|
194
|
+
/**
|
|
195
|
+
* @description Fires when the end date input loses focus.
|
|
196
|
+
*/
|
|
27
197
|
wmEndInputBlur: EventEmitter;
|
|
28
198
|
private date1?;
|
|
29
199
|
private date2?;
|
|
@@ -65,8 +235,24 @@ export declare class DateRange {
|
|
|
65
235
|
handleCellTriggered(ev: CustomEvent): void;
|
|
66
236
|
handleOutOfCal(): void;
|
|
67
237
|
handleCellHovered(ev: CustomEvent): void;
|
|
238
|
+
/**
|
|
239
|
+
* @description Converts a date string between `"US"` (mm/dd/yyyy), `"INT"` (dd/mm/yyyy),
|
|
240
|
+
* and `"ISO"` (YYYY-MM-DD). Direct US ↔ INT conversion is not supported — route through
|
|
241
|
+
* ISO as an intermediate step.
|
|
242
|
+
* @param inputFormat - Format of the input date string (`"US"`, `"INT"`, or `"ISO"`).
|
|
243
|
+
* @param outputFormat - Desired output format (`"US"`, `"INT"`, or `"ISO"`).
|
|
244
|
+
* @param date - The date string to reformat.
|
|
245
|
+
* @returns The reformatted date string, an empty string if `date` is omitted, or the original
|
|
246
|
+
* string unchanged if it cannot be parsed.
|
|
247
|
+
*/
|
|
68
248
|
reformatDate(inputFormat: string, outputFormat: string, date?: string): Promise<string>;
|
|
69
249
|
_reformatDate(inputFormat: string, outputFormat: string, date?: string): string;
|
|
250
|
+
/**
|
|
251
|
+
* @description Validates whether a string is a well-formed, calendar-correct ISO date
|
|
252
|
+
* (YYYY-MM-DD). Accounts for invalid day-of-month values and leap years.
|
|
253
|
+
* @param input - The string to validate.
|
|
254
|
+
* @returns `true` if the string is a valid ISO date, `false` otherwise.
|
|
255
|
+
*/
|
|
70
256
|
isValidISO(input?: string): Promise<boolean>;
|
|
71
257
|
_isValidISO(input?: string): boolean;
|
|
72
258
|
componentWillLoad(): void;
|