@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
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# `wm-flyout`
|
|
2
|
+
|
|
3
|
+
Slide-in panel that renders over the main content as a modal dialog. Used for detail views,
|
|
4
|
+
multi-step workflows, and forms that require focus without navigating away from the page.
|
|
5
|
+
|
|
6
|
+
## Props
|
|
7
|
+
|
|
8
|
+
| Name | Attribute | Type | Default | Required | Description |
|
|
9
|
+
| ---- | --------- | ---- | ------- | -------- | ----------- |
|
|
10
|
+
| `breadcrumb` | `breadcrumb` | `string \| undefined` | | | |
|
|
11
|
+
| `elementToFocus` | `element-to-focus` | `string` | `""` | | |
|
|
12
|
+
| `eyebrow` | `eyebrow` | `string \| undefined` | | | |
|
|
13
|
+
| `flyoutWidth` | `flyout-width` | `string` | `"45rem"` | | |
|
|
14
|
+
| `heading` | `heading` | `string` | | ✓ | |
|
|
15
|
+
| `infoText` | `info-text` | `string \| undefined` | | | |
|
|
16
|
+
| `open` | `open` | `boolean` | `false` | | |
|
|
17
|
+
| `primaryText` | `primary-text` | `string \| undefined` | | | |
|
|
18
|
+
| `secondaryText` | `secondary-text` | `string \| undefined` | | | |
|
|
19
|
+
| `subheading` | `subheading` | `string \| undefined` | | | |
|
|
20
|
+
|
|
21
|
+
## Events
|
|
22
|
+
|
|
23
|
+
| Event | Detail | Bubbles | Description |
|
|
24
|
+
| ----- | ------ | ------- | ----------- |
|
|
25
|
+
| `wmFlyoutBreadcrumbClicked` | `{ breadcrumb: string; index: number; }` | ✓ | |
|
|
26
|
+
| `wmFlyoutCloseTriggered` | `void` | ✓ | |
|
|
27
|
+
| `wmFlyoutPrimaryTriggered` | `void` | ✓ | |
|
|
28
|
+
| `wmFlyoutSecondaryTriggered` | `void` | ✓ | |
|
|
29
|
+
|
|
30
|
+
## Methods
|
|
31
|
+
|
|
32
|
+
### `focusHeading() => Promise<void>`
|
|
33
|
+
|
|
34
|
+
**Returns** `Promise<void>` -- A promise that resolves once focus has been applied.
|
|
35
|
+
|
|
36
|
+
## Slots
|
|
37
|
+
|
|
38
|
+
| Name | Description |
|
|
39
|
+
| ---- | ----------- |
|
|
40
|
+
| _(default)_ | Main content of the flyout body. |
|
|
41
|
+
|
|
42
|
+
## Depends On
|
|
43
|
+
|
|
44
|
+
- `wm-button`
|
|
45
|
+
|
|
46
|
+
# wm-flyout
|
|
47
|
+
|
|
48
|
+
## Purpose
|
|
49
|
+
|
|
50
|
+
A panel that slides in from the right over the current page, letting users complete a task or view supplementary information without navigating away from their current context.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## When to Use
|
|
55
|
+
|
|
56
|
+
- **Completing a single, focused task without losing page context** -- when a user needs to fill out a form, make selections, or take action on an item while the underlying page remains visible behind them, use a Flyout to keep that context intact rather than navigating to a new page.
|
|
57
|
+
- **Displaying supplementary details about a selected item** -- when a user clicks a row in a table or a card and needs to see more information or edit fields, a Flyout surfaces that content without displacing the list they came from.
|
|
58
|
+
- **Running a short multi-step workflow** -- when a task can be broken into 2-3 manageable steps (using breadcrumbs to navigate between them), a Flyout can host that progression while keeping the originating page visible. The patterns guidance caps this at 3-5 steps before the workflow becomes too complex.
|
|
59
|
+
- **Launching a task from a primary page or immersive view** -- Flyouts can be triggered from main pages and immersive layouts, making them the right container when an action on a parent view needs a dedicated working surface without a full page transition.
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Do Not Use For
|
|
64
|
+
|
|
65
|
+
- **Complex, content-heavy workflows** -- if there is too much content to display comfortably in one view, or the workflow is too involved, use a light immersive view instead; Flyouts are for simple, quick-to-complete tasks.
|
|
66
|
+
- **Launching from another Flyout, Modal, or Dialog** -- stacking containers creates disorienting layers that break focus management and user orientation.
|
|
67
|
+
- **Tasks where the user needs to reference main content alongside the panel** -- if the user is expected to actively compare or interact with the main content area while working in the panel, a side panel is the right choice.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Related Components
|
|
72
|
+
|
|
73
|
+
- Side Panel -- if the user needs to actively reference or interact with the main content area while the panel is open, use a side panel (which pushes content rather than overlaying it); if focus should be on the panel task alone, use Flyout.
|
|
74
|
+
- `<wm-modal>` -- if the task is short, self-contained, and requires the user to complete or dismiss it before doing anything else, use Modal; if the task is longer or should coexist with the underlying page, use Flyout.
|
|
75
|
+
- Light Immersive Layout -- if the workflow is too complex or content-heavy for a Flyout (more than 3-5 steps), escalate to a light immersive view instead.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Accessibility
|
|
80
|
+
|
|
81
|
+
- Conditional DOM rendering based on open state: the Flyout must always be present in the DOM; use the open prop to control visibility. Removing it from the DOM breaks screen reader detection of the live region.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Variants / Types
|
|
86
|
+
|
|
87
|
+
_None documented_
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## Props
|
|
92
|
+
|
|
93
|
+
- `heading` -- required; the panel title, announced by screen readers when the Flyout opens
|
|
94
|
+
- `subheading` -- optional secondary heading rendered below the main heading
|
|
95
|
+
- `eyebrow` -- optional label rendered above the heading
|
|
96
|
+
- `breadcrumb` -- text for the breadcrumb shown at the top; used for multi-step workflows
|
|
97
|
+
- `infoText` -- supplementary text displayed in the panel header area
|
|
98
|
+
- `primaryText` -- label for the primary footer button
|
|
99
|
+
- `secondaryText` -- label for the secondary footer button
|
|
100
|
+
- `open` -- controls panel visibility; always keep the component in the DOM and toggle this prop
|
|
101
|
+
- `flyoutWidth` -- CSS width value for the panel
|
|
102
|
+
- `elementToFocus` -- which element receives focus when opened: "primary", "secondary", or any element ID
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Events
|
|
107
|
+
|
|
108
|
+
- `wmFlyoutPrimaryTriggered` -- fires when the primary footer button is activated
|
|
109
|
+
- `wmFlyoutSecondaryTriggered` -- fires when the secondary footer button is activated
|
|
110
|
+
- `wmFlyoutCloseTriggered` -- fires when the close button or Escape is used
|
|
111
|
+
- `wmFlyoutBreadcrumbClicked` -- fires when the breadcrumb is activated
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Methods
|
|
116
|
+
|
|
117
|
+
- `focusHeading()` -- moves focus to the panel heading; call when content changes mid-workflow so screen reader users are informed
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Code Example
|
|
122
|
+
|
|
123
|
+
*(to be filled in by developer)*
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# `wm-input`
|
|
2
|
+
|
|
3
|
+
Accessible single-line text input. Supports text and number types, character limits,
|
|
4
|
+
symbol prefixes/suffixes, and inline info/error messaging. Use instead of a native
|
|
5
|
+
`<input>` in all Watermark UI.
|
|
6
|
+
|
|
7
|
+
## Props
|
|
8
|
+
|
|
9
|
+
| Name | Attribute | Type | Default | Required | Description |
|
|
10
|
+
| ---- | --------- | ---- | ------- | -------- | ----------- |
|
|
11
|
+
| `characterLimit` | `character-limit` | `number \| undefined` | | | |
|
|
12
|
+
| `disabled` | `disabled` | `boolean` | `false` | | |
|
|
13
|
+
| `errorMessage` | `error-message` | `string \| undefined` | | | |
|
|
14
|
+
| `info` | `info` | `string \| undefined` | | | |
|
|
15
|
+
| `inputWidth` | `input-width` | `string` | `""` | | |
|
|
16
|
+
| `isSubmit` | `is-submit` | `boolean` | `false` | | |
|
|
17
|
+
| `label` | `label` | `string` | | ✓ | |
|
|
18
|
+
| `labelPosition` | `label-position` | `"left" \| "none" \| "top"` | `"top"` | | |
|
|
19
|
+
| `max` | `max` | `number \| undefined` | | | |
|
|
20
|
+
| `min` | `min` | `number \| undefined` | | | |
|
|
21
|
+
| `placeholder` | `placeholder` | `string` | `""` | | |
|
|
22
|
+
| `requiredField` | `required-field` | `boolean` | `false` | | |
|
|
23
|
+
| `step` | `step` | `number \| undefined` | `1` | | |
|
|
24
|
+
| `symbolAfter` | `symbol-after` | `string \| undefined` | | | |
|
|
25
|
+
| `symbolBefore` | `symbol-before` | `string \| undefined` | | | |
|
|
26
|
+
| `textAfter` | `text-after` | `string \| undefined` | | | |
|
|
27
|
+
| `type` | `type` | `"number" \| "text"` | `"text"` | | |
|
|
28
|
+
| `value` | `value` | `string` | `""` | | |
|
|
29
|
+
|
|
30
|
+
## Events
|
|
31
|
+
|
|
32
|
+
| Event | Detail | Bubbles | Description |
|
|
33
|
+
| ----- | ------ | ------- | ----------- |
|
|
34
|
+
| `wmInputValueChanged` | `{ value: string; }` | ✓ | |
|
|
35
|
+
|
|
36
|
+
# wm-input
|
|
37
|
+
|
|
38
|
+
## Purpose
|
|
39
|
+
|
|
40
|
+
The standard single-line text field for collecting free-form or structured short-form values in a form, supporting both plain text and numeric entry with optional character limits, inline symbols, and validation messaging.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## When to Use
|
|
45
|
+
|
|
46
|
+
- **Collecting a short, free-form text value** -- when a user needs to type a name, title, identifier, URL, or any other brief string that does not fit a more specialized input (date, time, search), Input is the default choice.
|
|
47
|
+
- **Displaying a value with a unit or currency symbol** -- when the field has a fixed prefix or suffix that is part of the value's meaning (e.g., "$" before a dollar amount, "%" after a score), use symbol-before or symbol-after to attach it inline.
|
|
48
|
+
- **Enforcing a character limit with live feedback** -- when a field has a maximum length the user should be aware of while typing (e.g., a short title with a cap), use character-limit to display the running count and prevent overrun.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Do Not Use For
|
|
53
|
+
|
|
54
|
+
- **Multi-line or long-form text** -- if the user needs to write a paragraph or any text that may wrap across multiple lines, use wm-textarea instead; Input is a single-line field and will not expand.
|
|
55
|
+
- **Date or time entry** -- if the value is a date or time, use wm-datepicker or wm-timepicker; plain Input has no calendar, no format enforcement, and no date validation utilities.
|
|
56
|
+
- **Search interactions** -- if the field's purpose is to filter or search a dataset, use wm-search instead, which is purpose-built for that interaction pattern.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Related Components
|
|
61
|
+
|
|
62
|
+
- `<wm-textarea>` -- if the expected value spans multiple lines or requires significant length, use Textarea; Input is single-line only.
|
|
63
|
+
- `<wm-search>` -- if the field drives a search or filter interaction rather than collecting a stored form value, use Search; Input has no search-specific behavior or affordances.
|
|
64
|
+
- `<wm-datepicker>` / `<wm-timepicker>` -- if the value is a date or time, use the dedicated components; Input provides no format guidance, calendar navigation, or date validation.
|
|
65
|
+
- `<wm-tag-input>` -- if the user needs to enter multiple discrete values (tags, names, identifiers) as a list rather than a single string, use Tag Input instead.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Accessibility
|
|
70
|
+
|
|
71
|
+
- Collecting a numeric value with optional constraints: use type="number" with min, max, and step when the field represents a quantity, percentage, or score that should be bounded and steppable, rather than accepting arbitrary text.
|
|
72
|
+
- Omitting the label when hiding the visual label: the label is required for accessibility even when label-position="none"; skipping it leaves the field unnamed for screen reader users.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Variants / Types
|
|
77
|
+
|
|
78
|
+
- `type="text"` -- default; accepts any string input
|
|
79
|
+
- `type="number"` -- numeric input with optional min, max, and step constraints
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Props
|
|
84
|
+
|
|
85
|
+
- `label` -- required; the field's accessible name even when label-position="none"
|
|
86
|
+
- `labelPosition` -- "top", "left", or "none"
|
|
87
|
+
- `type` -- "text" or "number"
|
|
88
|
+
- `value` -- the current value of the input
|
|
89
|
+
- `placeholder` -- placeholder text shown when the field is empty
|
|
90
|
+
- `characterLimit` -- maximum character count; displays a running count and prevents overrun
|
|
91
|
+
- `symbolBefore` -- a fixed prefix symbol displayed inside the field (e.g., "$")
|
|
92
|
+
- `symbolAfter` -- a fixed suffix symbol displayed inside the field (e.g., "%")
|
|
93
|
+
- `textAfter` -- a text label rendered after the input (e.g., a unit like "hours")
|
|
94
|
+
- `min` -- minimum value for type="number"
|
|
95
|
+
- `max` -- maximum value for type="number"
|
|
96
|
+
- `step` -- step increment for type="number"
|
|
97
|
+
- `info` -- helper text displayed below the field; announced on focus by screen readers
|
|
98
|
+
- `errorMessage` -- validation error text; announced via live region when set
|
|
99
|
+
- `requiredField` -- marks the field as required
|
|
100
|
+
- `disabled` -- disables the input
|
|
101
|
+
- `inputWidth` -- CSS width override for the input element
|
|
102
|
+
- `isSubmit` -- renders the input as a submit input
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Events
|
|
107
|
+
|
|
108
|
+
- `wmInputValueChanged` -- fires on each change to the input value; detail includes { value: string }
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Methods
|
|
113
|
+
|
|
114
|
+
- _None exposed_
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Code Example
|
|
119
|
+
|
|
120
|
+
*(to be filled in by developer)*
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# `wm-line-chart`
|
|
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
|
+
## Props
|
|
10
|
+
|
|
11
|
+
| Name | Attribute | Type | Default | Required | Description |
|
|
12
|
+
| ---- | --------- | ---- | ------- | -------- | ----------- |
|
|
13
|
+
| `decimalPlaces` | `decimal-places` | `number \| undefined` | | | |
|
|
14
|
+
| `description` | `description` | `string` | `""` | | |
|
|
15
|
+
| `highlightEnd` | `highlight-end` | `string \| undefined` | | | |
|
|
16
|
+
| `highlightQualifier` | `highlight-qualifier` | `string` | `lineChartMessages.highlightQualifier` | | |
|
|
17
|
+
| `highlightStart` | `highlight-start` | `string \| undefined` | | | |
|
|
18
|
+
| `label` | `label` | `string` | | ✓ | |
|
|
19
|
+
| `labelWidth` | `label-width` | `string` | `"120px"` | | |
|
|
20
|
+
| `lineData` | `line-data` | `string \| { [lineLabel: string]: Line; }` | | ✓ | |
|
|
21
|
+
| `showDeltas` | `show-deltas` | `boolean` | `false` | | |
|
|
22
|
+
| `showGrid` | `show-grid` | `boolean` | `true` | | |
|
|
23
|
+
| `spotlightData` | `` | `SpotlightData \| undefined` | | | |
|
|
24
|
+
| `units` | `units` | `string` | `"null,null"` | | |
|
|
25
|
+
| `visibilityToggles` | `visibility-toggles` | `boolean` | `false` | | |
|
|
26
|
+
| `xAxisLabel` | `x-axis-label` | `string` | | ✓ | |
|
|
27
|
+
| `yAxisLabel` | `y-axis-label` | `string` | | ✓ | |
|
|
28
|
+
| `yRange` | `y-range` | `string \| undefined` | | | |
|
|
29
|
+
|
|
30
|
+
## Depends On
|
|
31
|
+
|
|
32
|
+
- `wm-button`
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# `wm-menuitem`
|
|
2
|
+
|
|
3
|
+
A single item within a wm-action-menu dropdown. Always used as a direct child of
|
|
4
|
+
wm-action-menu -- never rendered in isolation.
|
|
5
|
+
|
|
6
|
+
## Props
|
|
7
|
+
|
|
8
|
+
| Name | Attribute | Type | Default | Required | Description |
|
|
9
|
+
| ---- | --------- | ---- | ------- | -------- | ----------- |
|
|
10
|
+
| `description` | `description` | `string \| undefined` | `undefined` | | |
|
|
11
|
+
| `disabled` | `disabled` | `boolean` | `false` | | |
|
|
12
|
+
| `icon` | `icon` | `string \| undefined` | `undefined` | | |
|
|
13
|
+
|
|
14
|
+
## Events
|
|
15
|
+
|
|
16
|
+
| Event | Detail | Bubbles | Description |
|
|
17
|
+
| ----- | ------ | ------- | ----------- |
|
|
18
|
+
| `wmEndKeyPressed` | `HTMLWmMenuitemElement` | ✓ | |
|
|
19
|
+
| `wmEscKeyPressed` | `HTMLWmMenuitemElement` | ✓ | |
|
|
20
|
+
| `wmHomeKeyPressed` | `HTMLWmMenuitemElement` | ✓ | |
|
|
21
|
+
| `wmKeyDownPressed` | `HTMLWmMenuitemElement` | ✓ | |
|
|
22
|
+
| `wmKeyUpPressed` | `HTMLWmMenuitemElement` | ✓ | |
|
|
23
|
+
| `wmLetterPressed` | `any` | ✓ | |
|
|
24
|
+
| `wmMenuitemBlurred` | `{ relatedTarget: EventTarget \| null; }` | ✓ | |
|
|
25
|
+
| `wmMenuitemClicked` | `HTMLWmMenuitemElement` | ✓ | |
|
|
26
|
+
| `wmPageDownItems` | `HTMLWmMenuitemElement` | ✓ | |
|
|
27
|
+
| `wmPageUpItems` | `HTMLWmMenuitemElement` | ✓ | |
|
|
28
|
+
| `wmTabKeyPressed` | `HTMLWmMenuitemElement` | ✓ | |
|
|
29
|
+
|
|
30
|
+
## Slots
|
|
31
|
+
|
|
32
|
+
| Name | Description |
|
|
33
|
+
| ---- | ----------- |
|
|
34
|
+
| _(default)_ | The visible label text for the menu item. |
|
|
35
|
+
|
|
36
|
+
## Used By
|
|
37
|
+
|
|
38
|
+
- `wm-file`
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# `wm-modal-footer`
|
|
2
|
+
|
|
3
|
+
Footer section for a wm-modal. Renders a primary action button, an optional secondary
|
|
4
|
+
button, and optional informational text. Button clicks delegate to the parent modal's
|
|
5
|
+
`emitPrimaryEvent()` and `emitSecondaryEvent()` methods, which fire
|
|
6
|
+
`wmModalPrimaryTriggered` and `wmModalSecondaryTriggered` respectively. Always used as a
|
|
7
|
+
direct child of wm-modal -- never rendered in isolation.
|
|
8
|
+
|
|
9
|
+
## Props
|
|
10
|
+
|
|
11
|
+
| Name | Attribute | Type | Default | Required | Description |
|
|
12
|
+
| ---- | --------- | ---- | ------- | -------- | ----------- |
|
|
13
|
+
| `deleteStyle` | `delete-style` | `boolean` | `false` | | |
|
|
14
|
+
| `infoText` | `info-text` | `string \| undefined` | `""` | | |
|
|
15
|
+
| `primaryActionDisabled` | `primary-action-disabled` | `boolean` | `false` | | |
|
|
16
|
+
| `primaryText` | `primary-text` | `string \| undefined` | `""` | | |
|
|
17
|
+
| `secondaryText` | `secondary-text` | `string \| undefined` | `""` | | |
|
|
18
|
+
|
|
19
|
+
## Depends On
|
|
20
|
+
|
|
21
|
+
- `wm-button`
|
|
22
|
+
|
|
23
|
+
# wm-modal
|
|
24
|
+
|
|
25
|
+
## Purpose
|
|
26
|
+
|
|
27
|
+
An overlay container that appears centered over the page and demands the user's full attention to complete a single, self-contained task before returning to the underlying content.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## When to Use
|
|
32
|
+
|
|
33
|
+
- **Collecting or editing a focused set of information** -- when a user needs to fill out a short form or make a confined set of edits that must be completed or explicitly dismissed before anything else can happen, Modal creates the necessary interruption and focus.
|
|
34
|
+
- **Confirming a consequential or destructive action** -- when the user has initiated something that warrants deliberate confirmation (such as permanently deleting a record), use Modal with deleteStyle on the footer to signal danger and require an explicit choice before proceeding.
|
|
35
|
+
- **Running a short sequential workflow** -- when a task can be broken into a small number of steps using a stepper, Modal can host that progression, provided the workflow is compact enough that a full-page view is not warranted.
|
|
36
|
+
- **Triggering a secondary confirmation from a primary action** -- a Modal's primary action can open an additional Modal, so a two-stage confirmation (e.g., submit then confirm submission) is a supported and appropriate use.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Do Not Use For
|
|
41
|
+
|
|
42
|
+
- **Content that is too large for a centered overlay** -- if there is too much content to display comfortably, use a Flyout or light immersive view instead; Modal is not designed to host expansive content.
|
|
43
|
+
- **More than one primary action** -- if more than one distinct action can be taken, break the workflow into separate Modals or reconsider the pattern entirely.
|
|
44
|
+
- **Launching a Flyout or side panel from within a Modal** -- stacking containers at this level breaks user orientation and focus management.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Related Components
|
|
49
|
+
|
|
50
|
+
- Dialog (modal-type="dialog") -- Dialog is the lighter variant of the same component, intended for simpler message-style interactions; Modal is for task completion with forms and richer content.
|
|
51
|
+
- `<wm-flyout>` -- if the task is longer, benefits from more horizontal space, or should coexist alongside the underlying page rather than block it entirely, use Flyout; Modal is for short, blocking, self-contained tasks.
|
|
52
|
+
- Light Immersive Layout -- if the workflow is too complex or content-heavy for a Modal, escalate to a light immersive view; Modal is not suited to multi-faceted or lengthy workflows.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Accessibility
|
|
57
|
+
|
|
58
|
+
- Conditional DOM rendering based on open state: Modal must always be present in the DOM; use the open prop to control visibility. Removing it from the DOM can permanently break page scrolling.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Variants / Types
|
|
63
|
+
|
|
64
|
+
- `modal-type="modal"` -- full overlay for task completion with forms and richer content
|
|
65
|
+
- `modal-type="dialog"` -- lighter variant for simpler, message-style interactions
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Props
|
|
70
|
+
|
|
71
|
+
- wm-modal props:
|
|
72
|
+
- `uid` -- required; unique identifier for the modal instance
|
|
73
|
+
- `open` -- controls visibility; always keep the component in the DOM and toggle this prop
|
|
74
|
+
- `modalType` -- "modal" or "dialog"
|
|
75
|
+
- `elementToFocus` -- which element receives focus when opened: "primary", "secondary", or any element ID
|
|
76
|
+
- wm-modal-header props:
|
|
77
|
+
- `heading` -- the modal title, announced by screen readers when the Modal opens
|
|
78
|
+
- `subheading` -- optional secondary heading
|
|
79
|
+
- wm-modal-footer props:
|
|
80
|
+
- `primaryText` -- label for the primary action button
|
|
81
|
+
- `secondaryText` -- label for the secondary action button
|
|
82
|
+
- `primaryActionDisabled` -- disables the primary button
|
|
83
|
+
- `deleteStyle` -- applies destructive styling to the footer
|
|
84
|
+
- `infoText` -- supplementary text displayed in the footer
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Events
|
|
89
|
+
|
|
90
|
+
- `wmModalPrimaryTriggered` -- fires when the primary footer button is activated
|
|
91
|
+
- `wmModalSecondaryTriggered` -- fires when the secondary footer button is activated
|
|
92
|
+
- `wmModalCloseTriggered` -- fires when the close button or Escape is used
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Methods
|
|
97
|
+
|
|
98
|
+
- `emitCloseEvent()` -- programmatically emits the close event
|
|
99
|
+
- `emitPrimaryEvent()` -- programmatically emits the primary event
|
|
100
|
+
- `emitSecondaryEvent()` -- programmatically emits the secondary event
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Code Example
|
|
105
|
+
|
|
106
|
+
*(to be filled in by developer)*
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# `wm-modal-header`
|
|
2
|
+
|
|
3
|
+
Header section for a wm-modal. Renders the modal title, an optional subheading, and the
|
|
4
|
+
close button. Always used as a direct child of wm-modal -- never rendered in isolation.
|
|
5
|
+
|
|
6
|
+
## Props
|
|
7
|
+
|
|
8
|
+
| Name | Attribute | Type | Default | Required | Description |
|
|
9
|
+
| ---- | --------- | ---- | ------- | -------- | ----------- |
|
|
10
|
+
| `heading` | `heading` | `string \| undefined` | `""` | | |
|
|
11
|
+
| `subheading` | `subheading` | `string \| undefined` | `""` | | |
|
|
12
|
+
|
|
13
|
+
## Depends On
|
|
14
|
+
|
|
15
|
+
- `wm-button`
|
|
16
|
+
|
|
17
|
+
# wm-modal
|
|
18
|
+
|
|
19
|
+
## Purpose
|
|
20
|
+
|
|
21
|
+
An overlay container that appears centered over the page and demands the user's full attention to complete a single, self-contained task before returning to the underlying content.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## When to Use
|
|
26
|
+
|
|
27
|
+
- **Collecting or editing a focused set of information** -- when a user needs to fill out a short form or make a confined set of edits that must be completed or explicitly dismissed before anything else can happen, Modal creates the necessary interruption and focus.
|
|
28
|
+
- **Confirming a consequential or destructive action** -- when the user has initiated something that warrants deliberate confirmation (such as permanently deleting a record), use Modal with deleteStyle on the footer to signal danger and require an explicit choice before proceeding.
|
|
29
|
+
- **Running a short sequential workflow** -- when a task can be broken into a small number of steps using a stepper, Modal can host that progression, provided the workflow is compact enough that a full-page view is not warranted.
|
|
30
|
+
- **Triggering a secondary confirmation from a primary action** -- a Modal's primary action can open an additional Modal, so a two-stage confirmation (e.g., submit then confirm submission) is a supported and appropriate use.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Do Not Use For
|
|
35
|
+
|
|
36
|
+
- **Content that is too large for a centered overlay** -- if there is too much content to display comfortably, use a Flyout or light immersive view instead; Modal is not designed to host expansive content.
|
|
37
|
+
- **More than one primary action** -- if more than one distinct action can be taken, break the workflow into separate Modals or reconsider the pattern entirely.
|
|
38
|
+
- **Launching a Flyout or side panel from within a Modal** -- stacking containers at this level breaks user orientation and focus management.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Related Components
|
|
43
|
+
|
|
44
|
+
- Dialog (modal-type="dialog") -- Dialog is the lighter variant of the same component, intended for simpler message-style interactions; Modal is for task completion with forms and richer content.
|
|
45
|
+
- `<wm-flyout>` -- if the task is longer, benefits from more horizontal space, or should coexist alongside the underlying page rather than block it entirely, use Flyout; Modal is for short, blocking, self-contained tasks.
|
|
46
|
+
- Light Immersive Layout -- if the workflow is too complex or content-heavy for a Modal, escalate to a light immersive view; Modal is not suited to multi-faceted or lengthy workflows.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Accessibility
|
|
51
|
+
|
|
52
|
+
- Conditional DOM rendering based on open state: Modal must always be present in the DOM; use the open prop to control visibility. Removing it from the DOM can permanently break page scrolling.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Variants / Types
|
|
57
|
+
|
|
58
|
+
- `modal-type="modal"` -- full overlay for task completion with forms and richer content
|
|
59
|
+
- `modal-type="dialog"` -- lighter variant for simpler, message-style interactions
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Props
|
|
64
|
+
|
|
65
|
+
- wm-modal props:
|
|
66
|
+
- `uid` -- required; unique identifier for the modal instance
|
|
67
|
+
- `open` -- controls visibility; always keep the component in the DOM and toggle this prop
|
|
68
|
+
- `modalType` -- "modal" or "dialog"
|
|
69
|
+
- `elementToFocus` -- which element receives focus when opened: "primary", "secondary", or any element ID
|
|
70
|
+
- wm-modal-header props:
|
|
71
|
+
- `heading` -- the modal title, announced by screen readers when the Modal opens
|
|
72
|
+
- `subheading` -- optional secondary heading
|
|
73
|
+
- wm-modal-footer props:
|
|
74
|
+
- `primaryText` -- label for the primary action button
|
|
75
|
+
- `secondaryText` -- label for the secondary action button
|
|
76
|
+
- `primaryActionDisabled` -- disables the primary button
|
|
77
|
+
- `deleteStyle` -- applies destructive styling to the footer
|
|
78
|
+
- `infoText` -- supplementary text displayed in the footer
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Events
|
|
83
|
+
|
|
84
|
+
- `wmModalPrimaryTriggered` -- fires when the primary footer button is activated
|
|
85
|
+
- `wmModalSecondaryTriggered` -- fires when the secondary footer button is activated
|
|
86
|
+
- `wmModalCloseTriggered` -- fires when the close button or Escape is used
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Methods
|
|
91
|
+
|
|
92
|
+
- `emitCloseEvent()` -- programmatically emits the close event
|
|
93
|
+
- `emitPrimaryEvent()` -- programmatically emits the primary event
|
|
94
|
+
- `emitSecondaryEvent()` -- programmatically emits the secondary event
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Code Example
|
|
99
|
+
|
|
100
|
+
*(to be filled in by developer)*
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# `wm-modal`
|
|
2
|
+
|
|
3
|
+
Modal dialog that overlays the page. Renders as a full-bleed `modal` (default) or a
|
|
4
|
+
smaller centered `dialog`. Content is provided through wm-modal-header, wm-modal-footer,
|
|
5
|
+
and arbitrary slotted children.
|
|
6
|
+
|
|
7
|
+
## Props
|
|
8
|
+
|
|
9
|
+
| Name | Attribute | Type | Default | Required | Description |
|
|
10
|
+
| ---- | --------- | ---- | ------- | -------- | ----------- |
|
|
11
|
+
| `elementToFocus` | `element-to-focus` | `string` | `""` | | |
|
|
12
|
+
| `modalType` | `modal-type` | `"dialog" \| "modal"` | `"modal"` | | |
|
|
13
|
+
| `open` | `open` | `boolean` | `false` | | |
|
|
14
|
+
| `uid` | `uid` | `string` | | ✓ | |
|
|
15
|
+
|
|
16
|
+
## Events
|
|
17
|
+
|
|
18
|
+
| Event | Detail | Bubbles | Description |
|
|
19
|
+
| ----- | ------ | ------- | ----------- |
|
|
20
|
+
| `wmModalCloseTriggered` | `any` | | |
|
|
21
|
+
| `wmModalPrimaryTriggered` | `any` | ✓ | |
|
|
22
|
+
| `wmModalSecondaryTriggered` | `any` | ✓ | |
|
|
23
|
+
|
|
24
|
+
## Methods
|
|
25
|
+
|
|
26
|
+
### `emitCloseEvent() => Promise<void>`
|
|
27
|
+
|
|
28
|
+
**Returns** `Promise<void>` -- A promise that resolves once the event has been emitted.
|
|
29
|
+
|
|
30
|
+
### `emitPrimaryEvent() => Promise<void>`
|
|
31
|
+
|
|
32
|
+
**Returns** `Promise<void>` -- A promise that resolves once the event has been emitted.
|
|
33
|
+
|
|
34
|
+
### `emitSecondaryEvent() => Promise<void>`
|
|
35
|
+
|
|
36
|
+
**Returns** `Promise<void>` -- A promise that resolves once the event has been emitted.
|
|
37
|
+
|
|
38
|
+
## Slots
|
|
39
|
+
|
|
40
|
+
| Name | Description |
|
|
41
|
+
| ---- | ----------- |
|
|
42
|
+
| _(default)_ | Modal content: wm-modal-header, body content, and wm-modal-footer. |
|
|
43
|
+
|
|
44
|
+
# wm-modal
|
|
45
|
+
|
|
46
|
+
## Purpose
|
|
47
|
+
|
|
48
|
+
An overlay container that appears centered over the page and demands the user's full attention to complete a single, self-contained task before returning to the underlying content.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## When to Use
|
|
53
|
+
|
|
54
|
+
- **Collecting or editing a focused set of information** -- when a user needs to fill out a short form or make a confined set of edits that must be completed or explicitly dismissed before anything else can happen, Modal creates the necessary interruption and focus.
|
|
55
|
+
- **Confirming a consequential or destructive action** -- when the user has initiated something that warrants deliberate confirmation (such as permanently deleting a record), use Modal with deleteStyle on the footer to signal danger and require an explicit choice before proceeding.
|
|
56
|
+
- **Running a short sequential workflow** -- when a task can be broken into a small number of steps using a stepper, Modal can host that progression, provided the workflow is compact enough that a full-page view is not warranted.
|
|
57
|
+
- **Triggering a secondary confirmation from a primary action** -- a Modal's primary action can open an additional Modal, so a two-stage confirmation (e.g., submit then confirm submission) is a supported and appropriate use.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Do Not Use For
|
|
62
|
+
|
|
63
|
+
- **Content that is too large for a centered overlay** -- if there is too much content to display comfortably, use a Flyout or light immersive view instead; Modal is not designed to host expansive content.
|
|
64
|
+
- **More than one primary action** -- if more than one distinct action can be taken, break the workflow into separate Modals or reconsider the pattern entirely.
|
|
65
|
+
- **Launching a Flyout or side panel from within a Modal** -- stacking containers at this level breaks user orientation and focus management.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Related Components
|
|
70
|
+
|
|
71
|
+
- Dialog (modal-type="dialog") -- Dialog is the lighter variant of the same component, intended for simpler message-style interactions; Modal is for task completion with forms and richer content.
|
|
72
|
+
- `<wm-flyout>` -- if the task is longer, benefits from more horizontal space, or should coexist alongside the underlying page rather than block it entirely, use Flyout; Modal is for short, blocking, self-contained tasks.
|
|
73
|
+
- Light Immersive Layout -- if the workflow is too complex or content-heavy for a Modal, escalate to a light immersive view; Modal is not suited to multi-faceted or lengthy workflows.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Accessibility
|
|
78
|
+
|
|
79
|
+
- Conditional DOM rendering based on open state: Modal must always be present in the DOM; use the open prop to control visibility. Removing it from the DOM can permanently break page scrolling.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Variants / Types
|
|
84
|
+
|
|
85
|
+
- `modal-type="modal"` -- full overlay for task completion with forms and richer content
|
|
86
|
+
- `modal-type="dialog"` -- lighter variant for simpler, message-style interactions
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Props
|
|
91
|
+
|
|
92
|
+
- wm-modal props:
|
|
93
|
+
- `uid` -- required; unique identifier for the modal instance
|
|
94
|
+
- `open` -- controls visibility; always keep the component in the DOM and toggle this prop
|
|
95
|
+
- `modalType` -- "modal" or "dialog"
|
|
96
|
+
- `elementToFocus` -- which element receives focus when opened: "primary", "secondary", or any element ID
|
|
97
|
+
- wm-modal-header props:
|
|
98
|
+
- `heading` -- the modal title, announced by screen readers when the Modal opens
|
|
99
|
+
- `subheading` -- optional secondary heading
|
|
100
|
+
- wm-modal-footer props:
|
|
101
|
+
- `primaryText` -- label for the primary action button
|
|
102
|
+
- `secondaryText` -- label for the secondary action button
|
|
103
|
+
- `primaryActionDisabled` -- disables the primary button
|
|
104
|
+
- `deleteStyle` -- applies destructive styling to the footer
|
|
105
|
+
- `infoText` -- supplementary text displayed in the footer
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## Events
|
|
110
|
+
|
|
111
|
+
- `wmModalPrimaryTriggered` -- fires when the primary footer button is activated
|
|
112
|
+
- `wmModalSecondaryTriggered` -- fires when the secondary footer button is activated
|
|
113
|
+
- `wmModalCloseTriggered` -- fires when the close button or Escape is used
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Methods
|
|
118
|
+
|
|
119
|
+
- `emitCloseEvent()` -- programmatically emits the close event
|
|
120
|
+
- `emitPrimaryEvent()` -- programmatically emits the primary event
|
|
121
|
+
- `emitSecondaryEvent()` -- programmatically emits the secondary event
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Code Example
|
|
126
|
+
|
|
127
|
+
*(to be filled in by developer)*
|