@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,5 +1,116 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
import { PopoverPlacement } from "../../global/interfaces";
|
|
3
|
+
/**
|
|
4
|
+
* Date input that lets users type a date or pick one from a calendar popup. Supports
|
|
5
|
+
* configurable date formats, pre-selection, validation, and full keyboard navigation of the calendar.
|
|
6
|
+
* Use instead of native `<input type="date">`.
|
|
7
|
+
*
|
|
8
|
+
* @keyboardInteraction
|
|
9
|
+
* - **Input field**: Tab moves focus to the calendar toggle button.
|
|
10
|
+
* - **Calendar toggle**: Space / Enter / Down Arrow opens the calendar; Shift+Tab returns to the input.
|
|
11
|
+
* - **Day grid**: Arrow keys navigate dates; Enter selects; Escape closes and returns focus to the toggle;
|
|
12
|
+
* Home/End jump to the first/last day of the month; Tab cycles through calendar controls.
|
|
13
|
+
* - **Month/year selectors**: Arrow keys cycle values; Tab/Shift+Tab move focus clockwise/counter-clockwise.
|
|
14
|
+
*
|
|
15
|
+
* @accessibility
|
|
16
|
+
* - `label` is required even when `label-position` is `"none"` — it becomes the input's `aria-label`.
|
|
17
|
+
* - The calendar toggle button announces "Select date" to screen readers and reflects `aria-expanded`.
|
|
18
|
+
* - Validation errors are announced via an `aria-live` region when `error-message` changes.
|
|
19
|
+
* - When the input value cannot be parsed as a valid date, the calendar opens to the current date.
|
|
20
|
+
*
|
|
21
|
+
* @usageNotes
|
|
22
|
+
* - Set `value` in the same format as `date-format` (default `mm/dd/yyyy`). For programmatic date
|
|
23
|
+
* setting, prefer ISO format via `preselected` and convert with the `reformatDate` method.
|
|
24
|
+
* - The calendar popup hides its toggle automatically when there is no room to display it; always
|
|
25
|
+
* allow users to type a date directly in the input as a fallback.
|
|
26
|
+
*
|
|
27
|
+
* @example {html} Basic datepicker
|
|
28
|
+
* <wm-datepicker label="Start date"></wm-datepicker>
|
|
29
|
+
*
|
|
30
|
+
* @example {react} Basic datepicker
|
|
31
|
+
* // The component does not update its own value after a calendar selection --
|
|
32
|
+
* // the app must call reformatDate and set value/errorMessage imperatively via a ref.
|
|
33
|
+
* const ref = useRef(null);
|
|
34
|
+
*
|
|
35
|
+
* function getFormatName(format) {
|
|
36
|
+
* const map = { 'mm/dd/yyyy': 'US', 'dd/mm/yyyy': 'INT', 'yyyy/mm/dd': 'ISO' };
|
|
37
|
+
* return format ? map[format] : 'US';
|
|
38
|
+
* }
|
|
39
|
+
*
|
|
40
|
+
* // event.detail is { date: string } -- ISO 8601 (YYYY-MM-DD)
|
|
41
|
+
* const handleDateSelected = async (event) => {
|
|
42
|
+
* const dp = ref.current;
|
|
43
|
+
* const fmt = getFormatName(dp.getAttribute('date-format'));
|
|
44
|
+
* dp.value = await dp.reformatDate('ISO', fmt, event.detail.date);
|
|
45
|
+
* dp.errorMessage = '';
|
|
46
|
+
* };
|
|
47
|
+
*
|
|
48
|
+
* const handleInputBlurred = async () => {
|
|
49
|
+
* const dp = ref.current;
|
|
50
|
+
* const fmt = getFormatName(dp.getAttribute('date-format'));
|
|
51
|
+
* if (dp.value) {
|
|
52
|
+
* const iso = await dp.reformatDate(fmt, 'ISO', dp.value);
|
|
53
|
+
* if (await dp.isValidIso(iso)) {
|
|
54
|
+
* dp.value = await dp.reformatDate('ISO', fmt, iso);
|
|
55
|
+
* dp.errorMessage = '';
|
|
56
|
+
* } else {
|
|
57
|
+
* dp.errorMessage = `Please enter a valid date in the format ${dp.getAttribute('date-format') ?? 'mm/dd/yyyy'}`;
|
|
58
|
+
* }
|
|
59
|
+
* }
|
|
60
|
+
* };
|
|
61
|
+
*
|
|
62
|
+
* const handleBlur = () => {
|
|
63
|
+
* const dp = ref.current;
|
|
64
|
+
* if (dp.requiredField && dp.value === '') dp.errorMessage = 'A date is required';
|
|
65
|
+
* };
|
|
66
|
+
*
|
|
67
|
+
* <WmDatepicker
|
|
68
|
+
* ref={ref}
|
|
69
|
+
* label="Start date"
|
|
70
|
+
* onWmDatepickerDateSelected={handleDateSelected}
|
|
71
|
+
* onWmDatepickerInputBlurred={handleInputBlurred}
|
|
72
|
+
* onBlur={handleBlur}
|
|
73
|
+
* />
|
|
74
|
+
*
|
|
75
|
+
* @example {html} Required field with validation
|
|
76
|
+
* <wm-datepicker label="Date of birth" required-field></wm-datepicker>
|
|
77
|
+
*
|
|
78
|
+
* @example {react} Required field with validation
|
|
79
|
+
* <WmDatepicker
|
|
80
|
+
* ref={ref}
|
|
81
|
+
* label="Date of birth"
|
|
82
|
+
* requiredField={true}
|
|
83
|
+
* onWmDatepickerDateSelected={handleDateSelected}
|
|
84
|
+
* onWmDatepickerInputBlurred={handleInputBlurred}
|
|
85
|
+
* onBlur={handleBlur}
|
|
86
|
+
* />
|
|
87
|
+
*
|
|
88
|
+
* @example {html} With validation error
|
|
89
|
+
* <wm-datepicker label="Start date" required-field error-message="Please enter a valid start date"></wm-datepicker>
|
|
90
|
+
*
|
|
91
|
+
* @example {react} With validation error
|
|
92
|
+
* <WmDatepicker label="Start date" requiredField={true} errorMessage="Please enter a valid start date" />
|
|
93
|
+
*
|
|
94
|
+
* @example {html} Pre-opened to a specific date
|
|
95
|
+
* <wm-datepicker label="Enrollment date" preselected="2025-09-01"></wm-datepicker>
|
|
96
|
+
*
|
|
97
|
+
* @example {react} Pre-opened to a specific date
|
|
98
|
+
* <WmDatepicker label="Enrollment date" preselected="2025-09-01" />
|
|
99
|
+
*
|
|
100
|
+
* @example {html} International date format
|
|
101
|
+
* <wm-datepicker label="Graduation date" date-format="dd/mm/yyyy"></wm-datepicker>
|
|
102
|
+
*
|
|
103
|
+
* @example {react} International date format
|
|
104
|
+
* <WmDatepicker label="Graduation date" dateFormat="dd/mm/yyyy" />
|
|
105
|
+
*
|
|
106
|
+
* @example {html} Disabled
|
|
107
|
+
* <wm-datepicker label="Locked date" value="05/15/2024" disabled></wm-datepicker>
|
|
108
|
+
*
|
|
109
|
+
* @example {react} Disabled
|
|
110
|
+
* <WmDatepicker label="Locked date" value="05/15/2024" disabled={true} />
|
|
111
|
+
*
|
|
112
|
+
* @category Form Inputs
|
|
113
|
+
*/
|
|
3
114
|
export declare class DatePicker {
|
|
4
115
|
el: HTMLWmDatepickerElement;
|
|
5
116
|
private liveRegionEl;
|
|
@@ -9,15 +120,51 @@ export declare class DatePicker {
|
|
|
9
120
|
private toggleEl;
|
|
10
121
|
private popupEl;
|
|
11
122
|
private anchorEl;
|
|
123
|
+
/**
|
|
124
|
+
* @description The date displayed in the input field, in the format specified by `date-format`. Updated as the user types. Can also be set programmatically by the application.
|
|
125
|
+
*/
|
|
12
126
|
value?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @description Disables the datepicker, preventing all interaction.
|
|
129
|
+
* @default false
|
|
130
|
+
*/
|
|
13
131
|
disabled: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* @description The expected date format. Shown in the input placeholder and announced to screen reader users.
|
|
134
|
+
* @default "mm/dd/yyyy"
|
|
135
|
+
*/
|
|
14
136
|
dateFormat: string;
|
|
137
|
+
/**
|
|
138
|
+
* @description Puts the component in an error state and displays this message below the input.
|
|
139
|
+
*/
|
|
15
140
|
errorMessage?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @description Position of the label relative to the input. `'none'` hides the label visually but keeps it accessible via `aria-label`.
|
|
143
|
+
* @default "top"
|
|
144
|
+
*/
|
|
16
145
|
labelPosition: "top" | "left" | "none";
|
|
146
|
+
/**
|
|
147
|
+
* @description Visible label for the input. Required even when `label-position` is `'none'` — used as the ARIA accessible name.
|
|
148
|
+
* @required
|
|
149
|
+
*/
|
|
17
150
|
label: string;
|
|
151
|
+
/**
|
|
152
|
+
* @description Displays a required-field asterisk (*) next to the label.
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
18
155
|
requiredField: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* @description The date the calendar popup focuses when first opened, in ISO format (YYYY-MM-DD). Falls back to the parsed `value`, then the current date if neither can be parsed.
|
|
158
|
+
*/
|
|
19
159
|
preselected?: string;
|
|
160
|
+
/**
|
|
161
|
+
* @description Fires when the user selects a date from the calendar popup.
|
|
162
|
+
* @eventDetails {{ date: string }} date — the selected date in ISO format (YYYY-MM-DD).
|
|
163
|
+
*/
|
|
20
164
|
wmDatepickerDateSelected: EventEmitter;
|
|
165
|
+
/**
|
|
166
|
+
* @description Fires when the text input loses focus.
|
|
167
|
+
*/
|
|
21
168
|
wmDatepickerInputBlurred: EventEmitter;
|
|
22
169
|
isExpanded: boolean;
|
|
23
170
|
canOpen: boolean;
|
|
@@ -46,8 +193,29 @@ export declare class DatePicker {
|
|
|
46
193
|
handleLabelMouseEnter(ev: MouseEvent): void;
|
|
47
194
|
handleKeydown(ev: KeyboardEvent): void;
|
|
48
195
|
handleCellTriggered(ev: CustomEvent): void;
|
|
49
|
-
|
|
50
|
-
|
|
196
|
+
/**
|
|
197
|
+
* @description Converts a date string between the supported format tokens: `"US"` (mm/dd/yyyy),
|
|
198
|
+
* `"INT"` (dd/mm/yyyy), and `"ISO"` (YYYY-MM-DD). Direct US ↔ INT conversion is not supported —
|
|
199
|
+
* route through ISO as an intermediate step.
|
|
200
|
+
* @param inputFormat - Format of the input date string.
|
|
201
|
+
* @param outputFormat - Desired output format.
|
|
202
|
+
* @param date - The date string to reformat.
|
|
203
|
+
* @returns The reformatted date string, an empty string if `date` is omitted or falsy, or the
|
|
204
|
+
* original string unchanged if it cannot be parsed.
|
|
205
|
+
* @example reformatDate("US", "ISO", "06/20/1969") // → "1969-06-20"
|
|
206
|
+
* @example reformatDate("ISO", "US", "1969-06-20") // → "06/20/1969"
|
|
207
|
+
*/
|
|
208
|
+
reformatDate(inputFormat: "US" | "INT" | "ISO", outputFormat: "US" | "INT" | "ISO", date?: string): Promise<string>;
|
|
209
|
+
reformatDateInternal(inputFormat: "US" | "INT" | "ISO", outputFormat: "US" | "INT" | "ISO", date?: string): string;
|
|
210
|
+
/**
|
|
211
|
+
* @description Validates whether a string is a well-formed, calendar-correct ISO date
|
|
212
|
+
* (YYYY-MM-DD). Accounts for invalid day-of-month values and leap years.
|
|
213
|
+
* @param input - The string to validate.
|
|
214
|
+
* @returns `true` if the string is a valid ISO date, `false` otherwise.
|
|
215
|
+
* @example isValidIso("1969-06-20") // → true
|
|
216
|
+
* @example isValidIso("1969-06-33") // → false (day 33 does not exist)
|
|
217
|
+
* @example isValidIso("2023-02-29") // → false (2023 is not a leap year)
|
|
218
|
+
*/
|
|
51
219
|
isValidIso(input?: string): Promise<boolean>;
|
|
52
220
|
isValidIsoInternal(input?: string): boolean;
|
|
53
221
|
componentWillLoad(): void;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* @description Internal listbox, search field, and Select All button used by wm-select,
|
|
5
|
+
* wm-nested-select, and wm-optgroup. Manages keyboard navigation, option filtering, and
|
|
6
|
+
* clone options for multiselect. Not for direct application use.
|
|
7
|
+
*/
|
|
2
8
|
export declare class PrivOptionList {
|
|
3
9
|
el: HTMLPrivOptionListElement;
|
|
4
10
|
private searchFieldWrapperEl;
|
|
@@ -1,4 +1,102 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Dropdown list of grouped options that allows single or multi-select. Like wm-select but
|
|
4
|
+
* options are organized into labeled categories via a two-level hierarchy. Composed of a
|
|
5
|
+
* parent wm-nested-select, one or more wm-optgroup children, and wm-option elements inside
|
|
6
|
+
* each group.
|
|
7
|
+
*
|
|
8
|
+
* @keyboardInteraction
|
|
9
|
+
* - **Closed button**: Space / Enter / Arrow Down opens the dropdown and focuses the first
|
|
10
|
+
* group; Arrow Up opens and focuses the last group.
|
|
11
|
+
* - **Group level**: Arrow Up / Down navigate group buttons; Arrow Right / Enter enters the
|
|
12
|
+
* group; Escape closes the dropdown.
|
|
13
|
+
* - **Option level (inside a group)**: Arrow Up / Down navigate options; Arrow Left returns
|
|
14
|
+
* to the group list; Home / End jump to first / last option; typing a letter jumps to the
|
|
15
|
+
* first matching option.
|
|
16
|
+
* - **Tab** (anywhere in dropdown): Closes the dropdown.
|
|
17
|
+
*
|
|
18
|
+
* @accessibility
|
|
19
|
+
* - `label` is required even when `label-position` is `"none"` — it is used as the dropdown's
|
|
20
|
+
* ARIA accessible name.
|
|
21
|
+
* - Group buttons render with `role="menuitem"` inside a `role="menu"`. The option level
|
|
22
|
+
* renders as a `role="listbox"` with `role="option"` items.
|
|
23
|
+
* - Validation errors are announced via an `aria-live` region when `error-message` changes.
|
|
24
|
+
*
|
|
25
|
+
* @usageNotes
|
|
26
|
+
* - Selection state is maintained via the `selected` prop on each wm-option child.
|
|
27
|
+
* - To respond to selection changes, listen for `wmOptionSelected` (declared on wm-option but
|
|
28
|
+
* bubbles to wm-nested-select). `event.detail` is the `HTMLWmOptionElement`; read `.value`
|
|
29
|
+
* or `.textContent` to get the selected value.
|
|
30
|
+
* - `select-all` adds a "Select All / Deselect All" toggle at the top of each group; it
|
|
31
|
+
* requires `multiple` to be set.
|
|
32
|
+
* - `search` filters options within the currently open group only.
|
|
33
|
+
*
|
|
34
|
+
* @example {html} Single-select nested select
|
|
35
|
+
* <wm-nested-select label="Department">
|
|
36
|
+
* <wm-optgroup label="Sciences">
|
|
37
|
+
* <wm-option selected>Select a department</wm-option>
|
|
38
|
+
* <wm-option>Biology</wm-option>
|
|
39
|
+
* </wm-optgroup>
|
|
40
|
+
* <wm-optgroup label="Humanities">
|
|
41
|
+
* <wm-option>English</wm-option>
|
|
42
|
+
* </wm-optgroup>
|
|
43
|
+
* </wm-nested-select>
|
|
44
|
+
*
|
|
45
|
+
* @example {react} Single-select nested select
|
|
46
|
+
* const [department, setDepartment] = useState('');
|
|
47
|
+
*
|
|
48
|
+
* // event.detail is the selected HTMLWmOptionElement
|
|
49
|
+
* const handleSelect = (event) => {
|
|
50
|
+
* setDepartment(event.detail.value ?? event.detail.textContent);
|
|
51
|
+
* };
|
|
52
|
+
*
|
|
53
|
+
* <WmNestedSelect label="Department" onWmOptionSelected={handleSelect}>
|
|
54
|
+
* <WmOptgroup label="Sciences">
|
|
55
|
+
* <WmOption selected>Select a department</WmOption>
|
|
56
|
+
* <WmOption value="bio">Biology</WmOption>
|
|
57
|
+
* </WmOptgroup>
|
|
58
|
+
* <WmOptgroup label="Humanities">
|
|
59
|
+
* <WmOption value="eng">English</WmOption>
|
|
60
|
+
* </WmOptgroup>
|
|
61
|
+
* </WmNestedSelect>
|
|
62
|
+
*
|
|
63
|
+
* @example {html} Multi-select with Select All
|
|
64
|
+
* <wm-nested-select label="Programs" multiple select-all>
|
|
65
|
+
* <wm-optgroup label="Sciences">
|
|
66
|
+
* <wm-option value="bio">Biology</wm-option>
|
|
67
|
+
* <wm-option value="chem">Chemistry</wm-option>
|
|
68
|
+
* </wm-optgroup>
|
|
69
|
+
* </wm-nested-select>
|
|
70
|
+
*
|
|
71
|
+
* @example {react} Multi-select with Select All
|
|
72
|
+
* const [selected, setSelected] = useState([]);
|
|
73
|
+
*
|
|
74
|
+
* // event.detail is the HTMLWmOptionElement that was selected or deselected
|
|
75
|
+
* const handleSelect = (event) => {
|
|
76
|
+
* const value = event.detail.value ?? event.detail.textContent;
|
|
77
|
+
* setSelected((prev) => [...prev, value]);
|
|
78
|
+
* };
|
|
79
|
+
*
|
|
80
|
+
* const handleDeselect = (event) => {
|
|
81
|
+
* const value = event.detail.value ?? event.detail.textContent;
|
|
82
|
+
* setSelected((prev) => prev.filter((v) => v !== value));
|
|
83
|
+
* };
|
|
84
|
+
*
|
|
85
|
+
* <WmNestedSelect
|
|
86
|
+
* label="Programs"
|
|
87
|
+
* multiple={true}
|
|
88
|
+
* selectAll={true}
|
|
89
|
+
* onWmOptionSelected={handleSelect}
|
|
90
|
+
* onWmOptionDeselected={handleDeselect}
|
|
91
|
+
* >
|
|
92
|
+
* <WmOptgroup label="Sciences">
|
|
93
|
+
* <WmOption value="bio">Biology</WmOption>
|
|
94
|
+
* <WmOption value="chem">Chemistry</WmOption>
|
|
95
|
+
* </WmOptgroup>
|
|
96
|
+
* </WmNestedSelect>
|
|
97
|
+
*
|
|
98
|
+
* @category Basic Controls
|
|
99
|
+
*/
|
|
2
100
|
export declare class NestedSelect {
|
|
3
101
|
el: HTMLWmNestedSelectElement;
|
|
4
102
|
private buttonEl;
|
|
@@ -6,24 +104,88 @@ export declare class NestedSelect {
|
|
|
6
104
|
private menuEl;
|
|
7
105
|
private measurementAreaEl;
|
|
8
106
|
private liveRegionEl;
|
|
107
|
+
/**
|
|
108
|
+
* @description Fires when focus leaves the component entirely (not when moving between
|
|
109
|
+
* internal elements such as options or group buttons).
|
|
110
|
+
*/
|
|
9
111
|
wmNestedSelectBlurred: EventEmitter<void>;
|
|
112
|
+
/**
|
|
113
|
+
* @description Disables the entire nested select component, preventing any interaction.
|
|
114
|
+
* @default false
|
|
115
|
+
*/
|
|
10
116
|
disabled: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* @description Overrides the maximum height of the options dropdown. Accepts any valid CSS
|
|
119
|
+
* length value (e.g. `"300px"`).
|
|
120
|
+
* @default "200px"
|
|
121
|
+
*/
|
|
11
122
|
maxHeight: string;
|
|
123
|
+
/**
|
|
124
|
+
* @description Accessible label describing the dropdown's purpose. Required even when
|
|
125
|
+
* `label-position` is `"none"` — it is used as the ARIA accessible name for the button.
|
|
126
|
+
* @required
|
|
127
|
+
*/
|
|
12
128
|
label?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @description Controls where the label is rendered relative to the dropdown button.
|
|
131
|
+
* `"none"` hides the label visually but keeps it accessible.
|
|
132
|
+
* @default "top"
|
|
133
|
+
*/
|
|
13
134
|
labelPosition: "top" | "left" | "none";
|
|
135
|
+
/**
|
|
136
|
+
* @description Renders a required-field asterisk (*) next to the label.
|
|
137
|
+
* @default false
|
|
138
|
+
*/
|
|
14
139
|
requiredField: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* @description Displays the component in an error state with the provided message shown
|
|
142
|
+
* beneath the button.
|
|
143
|
+
*/
|
|
15
144
|
errorMessage?: string;
|
|
145
|
+
/**
|
|
146
|
+
* @description Enables multiselect mode, allowing more than one option to be selected at
|
|
147
|
+
* a time.
|
|
148
|
+
* @default false
|
|
149
|
+
*/
|
|
16
150
|
multiple: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* @description Adds a search input that filters visible options within the currently open
|
|
153
|
+
* group.
|
|
154
|
+
* @default false
|
|
155
|
+
*/
|
|
17
156
|
search: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* @description Adds a "Select All / Deselect All" toggle at the top of each group. Requires
|
|
159
|
+
* `multiple` to be set.
|
|
160
|
+
* @default false
|
|
161
|
+
*/
|
|
18
162
|
selectAll: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* @description Text displayed in the trigger button when no options are selected.
|
|
165
|
+
* @default Locale-specific placeholder string
|
|
166
|
+
*/
|
|
19
167
|
placeholder: string;
|
|
168
|
+
/**
|
|
169
|
+
* @description Placeholder text displayed inside the search input when `search` is enabled.
|
|
170
|
+
* @default Locale-specific search placeholder string
|
|
171
|
+
*/
|
|
20
172
|
searchPlaceholder: string;
|
|
173
|
+
/**
|
|
174
|
+
* @description Text displayed in the trigger button when all options across all groups are
|
|
175
|
+
* selected (multiselect mode).
|
|
176
|
+
* @default Locale-specific "all selected" string
|
|
177
|
+
*/
|
|
21
178
|
allSelectedMessage: string;
|
|
22
179
|
isExpanded: boolean;
|
|
23
180
|
isGroupExpanded: boolean;
|
|
24
181
|
showClearSelectionButton: boolean;
|
|
25
182
|
announcement: string;
|
|
26
183
|
private openUp;
|
|
184
|
+
/**
|
|
185
|
+
* @internal
|
|
186
|
+
* @description Constrains the dropdown height when it opens upward and available space above
|
|
187
|
+
* is less than maxHeight. Set programmatically — not for application use.
|
|
188
|
+
*/
|
|
27
189
|
constrainedMaxHeight: string;
|
|
28
190
|
get isDisabled(): boolean;
|
|
29
191
|
get childOptions(): HTMLWmOptionElement[];
|
|
@@ -1,19 +1,106 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Named group of wm-option elements used inside wm-nested-select. Renders as a slide-in
|
|
4
|
+
* panel that appears when the user selects the group from the top-level menu.
|
|
5
|
+
*
|
|
6
|
+
* @usageNotes
|
|
7
|
+
* - Always used as a direct child of wm-nested-select.
|
|
8
|
+
* - `label` is required — it is shown as the group heading in the dropdown menu.
|
|
9
|
+
* - The `disabled` prop prevents the group button from being clicked, hiding all its options.
|
|
10
|
+
* - `wmOptgroupAllSelected` and `wmOptgroupAllDeselected` are fired when the "Select All /
|
|
11
|
+
* Deselect All" button inside the group is activated; they bubble to wm-nested-select.
|
|
12
|
+
*
|
|
13
|
+
* @example {html} Optgroup inside nested select
|
|
14
|
+
* <wm-nested-select label="Department">
|
|
15
|
+
* <wm-optgroup label="Sciences">
|
|
16
|
+
* <wm-option selected>Select a department</wm-option>
|
|
17
|
+
* <wm-option>Biology</wm-option>
|
|
18
|
+
* </wm-optgroup>
|
|
19
|
+
* </wm-nested-select>
|
|
20
|
+
*
|
|
21
|
+
* @example {react} Optgroup inside nested select
|
|
22
|
+
* <WmNestedSelect label="Department">
|
|
23
|
+
* <WmOptgroup label="Sciences">
|
|
24
|
+
* <WmOption selected={true}>Select a department</WmOption>
|
|
25
|
+
* <WmOption>Biology</WmOption>
|
|
26
|
+
* </WmOptgroup>
|
|
27
|
+
* </WmNestedSelect>
|
|
28
|
+
*
|
|
29
|
+
* @example {html} Disabled optgroup
|
|
30
|
+
* <wm-nested-select label="Program">
|
|
31
|
+
* <wm-optgroup label="Sciences" disabled>
|
|
32
|
+
* <wm-option>Biology</wm-option>
|
|
33
|
+
* </wm-optgroup>
|
|
34
|
+
* </wm-nested-select>
|
|
35
|
+
*
|
|
36
|
+
* @example {react} Disabled optgroup
|
|
37
|
+
* <WmNestedSelect label="Program">
|
|
38
|
+
* <WmOptgroup label="Sciences" disabled={true}>
|
|
39
|
+
* <WmOption>Biology</WmOption>
|
|
40
|
+
* </WmOptgroup>
|
|
41
|
+
* </WmNestedSelect>
|
|
42
|
+
*/
|
|
2
43
|
export declare class Optgroup {
|
|
3
44
|
el: HTMLWmOptgroupElement;
|
|
4
45
|
private optionListEl;
|
|
46
|
+
/**
|
|
47
|
+
* @description Display name for this group, shown as the group button text in the
|
|
48
|
+
* dropdown menu.
|
|
49
|
+
* @required
|
|
50
|
+
*/
|
|
5
51
|
label: string;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @description Controls whether this group's option panel is currently visible. Managed
|
|
55
|
+
* by the parent wm-nested-select — not for application use.
|
|
56
|
+
*/
|
|
6
57
|
isExpanded: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @description Propagated from the parent wm-nested-select to configure the internal
|
|
61
|
+
* option list — not for application use.
|
|
62
|
+
*/
|
|
7
63
|
multiple: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @description Disables this group, preventing the user from opening it or selecting any
|
|
66
|
+
* of its options.
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
8
69
|
disabled: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* @description Fires when the "Select All" button inside this group is activated.
|
|
72
|
+
*/
|
|
9
73
|
wmOptgroupAllSelected: EventEmitter;
|
|
74
|
+
/**
|
|
75
|
+
* @description Fires when the "Deselect All" button inside this group is activated.
|
|
76
|
+
*/
|
|
10
77
|
wmOptgroupAllDeselected: EventEmitter;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
* @description Signals the parent wm-nested-select that this group's panel has opened —
|
|
81
|
+
* not for application use.
|
|
82
|
+
*/
|
|
11
83
|
optgroupExpanded: EventEmitter;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @description Signals the parent wm-nested-select that this group's panel has closed,
|
|
87
|
+
* carrying the group label so the parent can restore focus — not for application use.
|
|
88
|
+
*/
|
|
12
89
|
optgroupHidden: EventEmitter;
|
|
13
90
|
get parentNestedSelect(): HTMLWmNestedSelectElement;
|
|
14
91
|
get isDisabled(): boolean;
|
|
15
92
|
isExpandedChanged(): void;
|
|
93
|
+
/**
|
|
94
|
+
* @description Programmatically deselects all options in this group by emitting
|
|
95
|
+
* `wmOptgroupAllDeselected`.
|
|
96
|
+
* @returns `Promise<void>`
|
|
97
|
+
*/
|
|
16
98
|
emitDeselection(): Promise<void>;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
* @description Notifies the internal option list that child options have changed so it can
|
|
102
|
+
* refresh clone state — not for application use.
|
|
103
|
+
*/
|
|
17
104
|
handleChildChange(): Promise<void>;
|
|
18
105
|
handleOptionKeyLeft(): void;
|
|
19
106
|
componentWillLoad(): void;
|
|
@@ -1,25 +1,142 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Individual selectable item used inside wm-select, wm-nested-select (via wm-optgroup), and
|
|
4
|
+
* wm-optgroup. Renders as a listbox option with optional secondary text.
|
|
5
|
+
*
|
|
6
|
+
* @usageNotes
|
|
7
|
+
* - Text content is supplied as the element's text node (slot content). Do not nest other
|
|
8
|
+
* elements inside wm-option.
|
|
9
|
+
* - Set the `selected` attribute/prop to pre-select an option on load.
|
|
10
|
+
* - In single-select mode, exactly one wm-option should be pre-selected (typically a
|
|
11
|
+
* placeholder). In multi-select mode, zero or more options may be pre-selected.
|
|
12
|
+
* - The `value` prop is a pass-through convenience for application code to attach an
|
|
13
|
+
* identifier; the component itself never reads or mutates it.
|
|
14
|
+
*
|
|
15
|
+
* @example {html} Basic option usage
|
|
16
|
+
* <wm-select label="Status">
|
|
17
|
+
* <wm-option selected>Select a status</wm-option>
|
|
18
|
+
* <wm-option value="active">Active</wm-option>
|
|
19
|
+
* <wm-option value="inactive">Inactive</wm-option>
|
|
20
|
+
* </wm-select>
|
|
21
|
+
*
|
|
22
|
+
* @example {react} Basic option usage
|
|
23
|
+
* <WmSelect label="Status">
|
|
24
|
+
* <WmOption selected={true}>Select a status</WmOption>
|
|
25
|
+
* <WmOption value="active">Active</WmOption>
|
|
26
|
+
* <WmOption value="inactive">Inactive</WmOption>
|
|
27
|
+
* </WmSelect>
|
|
28
|
+
*
|
|
29
|
+
* @example {html} Option with subinfo
|
|
30
|
+
* <wm-select label="User" multiple>
|
|
31
|
+
* <wm-option subinfo="Biology dept">Alice</wm-option>
|
|
32
|
+
* <wm-option subinfo="Chemistry dept">Bob</wm-option>
|
|
33
|
+
* </wm-select>
|
|
34
|
+
*
|
|
35
|
+
* @example {react} Option with subinfo
|
|
36
|
+
* <WmSelect label="User" multiple={true}>
|
|
37
|
+
* <WmOption subinfo="Biology dept">Alice</WmOption>
|
|
38
|
+
* <WmOption subinfo="Chemistry dept">Bob</WmOption>
|
|
39
|
+
* </WmSelect>
|
|
40
|
+
*/
|
|
2
41
|
export declare class Option {
|
|
3
42
|
el: HTMLElement;
|
|
43
|
+
/**
|
|
44
|
+
* @description Application-defined identifier for this option. The component never reads
|
|
45
|
+
* or modifies this value — it is purely a pass-through for application code to attach an ID
|
|
46
|
+
* or key.
|
|
47
|
+
*/
|
|
4
48
|
value?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* @description Secondary text displayed beneath the option label.
|
|
51
|
+
*/
|
|
5
52
|
subinfo?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @description Prevents the option from being selected.
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
6
57
|
disabled: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @description Marks this option as currently selected.
|
|
60
|
+
* @default false
|
|
61
|
+
*/
|
|
7
62
|
selected: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
* @description Programmatically focuses this option element when set to true. Managed by
|
|
66
|
+
* the parent priv-option-list — not for application use.
|
|
67
|
+
*/
|
|
8
68
|
focused: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @description Fires when this option is selected by the user.
|
|
71
|
+
* @eventDetails `HTMLWmOptionElement` — the option element that was selected.
|
|
72
|
+
*/
|
|
9
73
|
wmOptionSelected: EventEmitter<HTMLWmOptionElement>;
|
|
74
|
+
/**
|
|
75
|
+
* @description Fires when this option is deselected by the user (multiselect mode only).
|
|
76
|
+
* @eventDetails `HTMLWmOptionElement` — the option element that was deselected.
|
|
77
|
+
*/
|
|
10
78
|
wmOptionDeselected: EventEmitter<HTMLWmOptionElement>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
* @description Fires when a clone option is clicked so the parent can relay the selection
|
|
82
|
+
* to the original wm-option — not for application use.
|
|
83
|
+
*/
|
|
11
84
|
intCloneClicked: EventEmitter<HTMLWmOptionElement>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @description Signals Arrow Up keydown to the parent option list for focus management —
|
|
88
|
+
* not for application use.
|
|
89
|
+
*/
|
|
12
90
|
wmKeyUpPressed: EventEmitter<HTMLWmOptionElement>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
* @description Signals Arrow Down keydown to the parent option list for focus management —
|
|
94
|
+
* not for application use.
|
|
95
|
+
*/
|
|
13
96
|
wmKeyDownPressed: EventEmitter<HTMLWmOptionElement>;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
* @description Signals Arrow Left keydown to the parent wm-nested-select to navigate back
|
|
100
|
+
* to the group list — not for application use.
|
|
101
|
+
*/
|
|
14
102
|
wmKeyLeftPressed: EventEmitter;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
* @description Signals Escape keydown to close the parent dropdown — not for application use.
|
|
106
|
+
*/
|
|
15
107
|
wmEscKeyPressed: EventEmitter<HTMLWmOptionElement>;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
* @description Signals Home keydown to the parent option list to jump to the first option —
|
|
111
|
+
* not for application use.
|
|
112
|
+
*/
|
|
16
113
|
wmHomeKeyPressed: EventEmitter<HTMLWmOptionElement>;
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
* @description Signals End keydown to the parent option list to jump to the last option —
|
|
117
|
+
* not for application use.
|
|
118
|
+
*/
|
|
17
119
|
wmEndKeyPressed: EventEmitter<HTMLWmOptionElement>;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
* @description Signals Enter keydown for single-select close-on-confirm — not for
|
|
123
|
+
* application use.
|
|
124
|
+
*/
|
|
18
125
|
wmEnterKeyPressed: EventEmitter<HTMLWmOptionElement>;
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
* @description Signals a printable-character keydown to the parent option list for
|
|
129
|
+
* jump-to-match navigation — not for application use.
|
|
130
|
+
*/
|
|
19
131
|
wmLetterPressed: EventEmitter<{
|
|
20
132
|
optionEl: HTMLElement;
|
|
21
133
|
letter: string;
|
|
22
134
|
}>;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
* @description Fires on blur so the parent can determine whether focus left the dropdown
|
|
138
|
+
* entirely — not for application use.
|
|
139
|
+
*/
|
|
23
140
|
wmOptionBlurred: EventEmitter<{
|
|
24
141
|
relatedTarget: EventTarget | null;
|
|
25
142
|
}>;
|