@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,48 @@
|
|
|
1
1
|
import { h, Host, forceUpdate } from "@stencil/core";
|
|
2
2
|
import { debounce, hideTooltip, intl, showTooltip, truncateText } from "../../global/functions";
|
|
3
|
+
/**
|
|
4
|
+
* Displays a single file row with its name, optional metadata, and configurable action buttons
|
|
5
|
+
* (preview, download, delete). Adapts responsively — at narrow widths action buttons collapse
|
|
6
|
+
* into an action menu. Used as a child of wm-file-list or wm-uploader.
|
|
7
|
+
*
|
|
8
|
+
* @accessibility
|
|
9
|
+
* - Icon-only action buttons include context-specific aria labels that embed the filename
|
|
10
|
+
* (e.g. "Download report.pdf") so screen reader users know which file each button acts on.
|
|
11
|
+
* - A visually-hidden `aria-live` region announces upload progress and validation errors.
|
|
12
|
+
*
|
|
13
|
+
* @usageNotes
|
|
14
|
+
* - A unique `id` is required on every wm-file element.
|
|
15
|
+
* - `name` and `type` are both required; `type` is the file extension only (e.g. `pdf`, not a MIME type).
|
|
16
|
+
* - `show-info` is automatically inherited from the parent wm-file-list or wm-uploader when set there.
|
|
17
|
+
* - Pass an empty string to `file-actions` to render no action buttons.
|
|
18
|
+
*
|
|
19
|
+
* @example {html} Basic file row
|
|
20
|
+
* <wm-file-list>
|
|
21
|
+
* <wm-file id="file-1" name="report" type="pdf" last-updated="1/28/2020 5:29 PM"></wm-file>
|
|
22
|
+
* </wm-file-list>
|
|
23
|
+
*
|
|
24
|
+
* @example {react} Basic file row
|
|
25
|
+
* <WmFileList>
|
|
26
|
+
* <WmFile id="file-1" name="report" type="pdf" lastUpdated="1/28/2020 5:29 PM" />
|
|
27
|
+
* </WmFileList>
|
|
28
|
+
*
|
|
29
|
+
* @example {html} All metadata and all actions
|
|
30
|
+
* <wm-file id="file-2" name="thesis" type="docx" file-actions="preview download delete"
|
|
31
|
+
* show-info="all" size="3 MB" last-updated="3/15/2024 9:00 AM"
|
|
32
|
+
* uploaded-by="Uploaded by Smith, John">
|
|
33
|
+
* </wm-file>
|
|
34
|
+
*
|
|
35
|
+
* @example {react} All metadata and all actions
|
|
36
|
+
* <WmFile id="file-2" name="thesis" type="docx" fileActions="preview download delete"
|
|
37
|
+
* showInfo="all" size="3 MB" lastUpdated="3/15/2024 9:00 AM"
|
|
38
|
+
* uploadedBy="Uploaded by Smith, John" />
|
|
39
|
+
*
|
|
40
|
+
* @example {html} File in error state
|
|
41
|
+
* <wm-file id="file-3" name="report" type="pdf" error-message="Upload failed. Please try again."></wm-file>
|
|
42
|
+
*
|
|
43
|
+
* @example {react} File in error state
|
|
44
|
+
* <WmFile id="file-3" name="report" type="pdf" errorMessage="Upload failed. Please try again." />
|
|
45
|
+
*/
|
|
3
46
|
export class File {
|
|
4
47
|
constructor() {
|
|
5
48
|
this.fullFilename = `${this.name}.${this.type}`;
|
|
@@ -187,7 +230,7 @@ export class File {
|
|
|
187
230
|
return (h("div", { class: `file-wrapper` }, h("div", { class: `file ${this.errorMessage ? "--error" : ""} ${this.isCondensed ? "condensed" : ""} ${this.isExtraCondensed ? "extra-condensed" : ""}` }, this.renderFileName(), showRightGroup && (h("div", { class: "right-group" }, !this.isExtraCondensed && this.renderFileInfo(), this.fileActions !== "" && this.renderFileControls())), this.errorMessage && (h("div", { class: "right-group" }, h("wm-button", { "permanently-delete": true, "button-type": "textonly", "label-for-identical-buttons": this.generateClearButtonLabel(this.name), onClick: () => this.wmFileErrorCleared.emit() }, this.clearButtonText))), this.progress == 100 && h("span", { class: "svg-icon svg-success" })), this.errorMessage && h("div", { class: "error-message" }, this.errorMessage)));
|
|
188
231
|
}
|
|
189
232
|
render() {
|
|
190
|
-
return h(Host, { key: '
|
|
233
|
+
return h(Host, { key: 'ab1ef1bbd89e7b604f627fd11db96917cef07821', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
|
|
191
234
|
}
|
|
192
235
|
static get is() { return "wm-file"; }
|
|
193
236
|
static get encapsulation() { return "shadow"; }
|
|
@@ -215,7 +258,13 @@ export class File {
|
|
|
215
258
|
"required": true,
|
|
216
259
|
"optional": false,
|
|
217
260
|
"docs": {
|
|
218
|
-
"tags": [
|
|
261
|
+
"tags": [{
|
|
262
|
+
"name": "description",
|
|
263
|
+
"text": "Filename without the extension."
|
|
264
|
+
}, {
|
|
265
|
+
"name": "required",
|
|
266
|
+
"text": undefined
|
|
267
|
+
}],
|
|
219
268
|
"text": ""
|
|
220
269
|
},
|
|
221
270
|
"attribute": "name",
|
|
@@ -232,7 +281,13 @@ export class File {
|
|
|
232
281
|
"required": true,
|
|
233
282
|
"optional": false,
|
|
234
283
|
"docs": {
|
|
235
|
-
"tags": [
|
|
284
|
+
"tags": [{
|
|
285
|
+
"name": "description",
|
|
286
|
+
"text": "File extension without the leading dot (e.g. `pdf`, `docx`). Not a MIME type."
|
|
287
|
+
}, {
|
|
288
|
+
"name": "required",
|
|
289
|
+
"text": undefined
|
|
290
|
+
}],
|
|
236
291
|
"text": ""
|
|
237
292
|
},
|
|
238
293
|
"attribute": "type",
|
|
@@ -249,7 +304,13 @@ export class File {
|
|
|
249
304
|
"required": false,
|
|
250
305
|
"optional": false,
|
|
251
306
|
"docs": {
|
|
252
|
-
"tags": [
|
|
307
|
+
"tags": [{
|
|
308
|
+
"name": "description",
|
|
309
|
+
"text": "Space-separated list of action buttons to display. Accepts any combination of\n`preview`, `download`, and `delete`. Pass an empty string to show no actions."
|
|
310
|
+
}, {
|
|
311
|
+
"name": "default",
|
|
312
|
+
"text": "\"download delete\""
|
|
313
|
+
}],
|
|
253
314
|
"text": ""
|
|
254
315
|
},
|
|
255
316
|
"attribute": "file-actions",
|
|
@@ -267,7 +328,10 @@ export class File {
|
|
|
267
328
|
"required": false,
|
|
268
329
|
"optional": true,
|
|
269
330
|
"docs": {
|
|
270
|
-
"tags": [
|
|
331
|
+
"tags": [{
|
|
332
|
+
"name": "description",
|
|
333
|
+
"text": "Upload date/time displayed as file metadata. Any display string is accepted\n(e.g. `\"1/28/2020 5:29 PM\"`)."
|
|
334
|
+
}],
|
|
271
335
|
"text": ""
|
|
272
336
|
},
|
|
273
337
|
"attribute": "last-updated",
|
|
@@ -284,7 +348,10 @@ export class File {
|
|
|
284
348
|
"required": false,
|
|
285
349
|
"optional": true,
|
|
286
350
|
"docs": {
|
|
287
|
-
"tags": [
|
|
351
|
+
"tags": [{
|
|
352
|
+
"name": "description",
|
|
353
|
+
"text": "Upload progress as a percentage (0\u2013100). When set and less than 100, the file\nrenders in an in-progress state with a progress bar."
|
|
354
|
+
}],
|
|
288
355
|
"text": ""
|
|
289
356
|
},
|
|
290
357
|
"attribute": "progress",
|
|
@@ -301,7 +368,10 @@ export class File {
|
|
|
301
368
|
"required": false,
|
|
302
369
|
"optional": true,
|
|
303
370
|
"docs": {
|
|
304
|
-
"tags": [
|
|
371
|
+
"tags": [{
|
|
372
|
+
"name": "description",
|
|
373
|
+
"text": "File size displayed as file metadata. Include the unit in the string\n(e.g. `\"3 MB\"`)."
|
|
374
|
+
}],
|
|
305
375
|
"text": ""
|
|
306
376
|
},
|
|
307
377
|
"attribute": "size",
|
|
@@ -318,7 +388,10 @@ export class File {
|
|
|
318
388
|
"required": false,
|
|
319
389
|
"optional": true,
|
|
320
390
|
"docs": {
|
|
321
|
-
"tags": [
|
|
391
|
+
"tags": [{
|
|
392
|
+
"name": "description",
|
|
393
|
+
"text": "Uploader attribution displayed as file metadata\n(e.g. `\"Uploaded by Smith, John\"`)."
|
|
394
|
+
}],
|
|
322
395
|
"text": ""
|
|
323
396
|
},
|
|
324
397
|
"attribute": "uploaded-by",
|
|
@@ -335,7 +408,10 @@ export class File {
|
|
|
335
408
|
"required": false,
|
|
336
409
|
"optional": true,
|
|
337
410
|
"docs": {
|
|
338
|
-
"tags": [
|
|
411
|
+
"tags": [{
|
|
412
|
+
"name": "description",
|
|
413
|
+
"text": "Puts the file row in an error state and displays this message below it."
|
|
414
|
+
}],
|
|
339
415
|
"text": ""
|
|
340
416
|
},
|
|
341
417
|
"attribute": "error-message",
|
|
@@ -352,7 +428,13 @@ export class File {
|
|
|
352
428
|
"required": false,
|
|
353
429
|
"optional": true,
|
|
354
430
|
"docs": {
|
|
355
|
-
"tags": [
|
|
431
|
+
"tags": [{
|
|
432
|
+
"name": "description",
|
|
433
|
+
"text": "Which metadata to display alongside the filename. Automatically inherited\nfrom the parent wm-file-list or wm-uploader when set there."
|
|
434
|
+
}, {
|
|
435
|
+
"name": "default",
|
|
436
|
+
"text": "\"last-updated\""
|
|
437
|
+
}],
|
|
356
438
|
"text": ""
|
|
357
439
|
},
|
|
358
440
|
"attribute": "show-info",
|
|
@@ -369,7 +451,10 @@ export class File {
|
|
|
369
451
|
"cancelable": true,
|
|
370
452
|
"composed": true,
|
|
371
453
|
"docs": {
|
|
372
|
-
"tags": [
|
|
454
|
+
"tags": [{
|
|
455
|
+
"name": "description",
|
|
456
|
+
"text": "Fires when the preview button is clicked."
|
|
457
|
+
}],
|
|
373
458
|
"text": ""
|
|
374
459
|
},
|
|
375
460
|
"complexType": {
|
|
@@ -384,7 +469,10 @@ export class File {
|
|
|
384
469
|
"cancelable": true,
|
|
385
470
|
"composed": true,
|
|
386
471
|
"docs": {
|
|
387
|
-
"tags": [
|
|
472
|
+
"tags": [{
|
|
473
|
+
"name": "description",
|
|
474
|
+
"text": "Fires when the download button is clicked."
|
|
475
|
+
}],
|
|
388
476
|
"text": ""
|
|
389
477
|
},
|
|
390
478
|
"complexType": {
|
|
@@ -399,7 +487,10 @@ export class File {
|
|
|
399
487
|
"cancelable": true,
|
|
400
488
|
"composed": true,
|
|
401
489
|
"docs": {
|
|
402
|
-
"tags": [
|
|
490
|
+
"tags": [{
|
|
491
|
+
"name": "description",
|
|
492
|
+
"text": "Fires when the delete button is clicked."
|
|
493
|
+
}],
|
|
403
494
|
"text": ""
|
|
404
495
|
},
|
|
405
496
|
"complexType": {
|
|
@@ -414,7 +505,10 @@ export class File {
|
|
|
414
505
|
"cancelable": true,
|
|
415
506
|
"composed": true,
|
|
416
507
|
"docs": {
|
|
417
|
-
"tags": [
|
|
508
|
+
"tags": [{
|
|
509
|
+
"name": "description",
|
|
510
|
+
"text": "Fires when the user clears a file error by clicking the Clear button."
|
|
511
|
+
}],
|
|
418
512
|
"text": ""
|
|
419
513
|
},
|
|
420
514
|
"complexType": {
|
|
@@ -1,10 +1,76 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Read-only list of files with optional preview and download actions. Visually similar to the
|
|
4
|
+
* Uploader but with no upload capability. Use when displaying existing files users can view or
|
|
5
|
+
* download, not when they need to upload new ones.
|
|
6
|
+
*
|
|
7
|
+
* @slot - One or more wm-file child elements.
|
|
8
|
+
*
|
|
9
|
+
* @usageNotes
|
|
10
|
+
* - Each child wm-file requires a unique `id`, a `name`, and a `type` (file extension).
|
|
11
|
+
* - Set `show-info` on wm-file-list to apply the same metadata display to all children — each
|
|
12
|
+
* wm-file inherits it automatically. Individual wm-file elements can still override it.
|
|
13
|
+
*
|
|
14
|
+
* @example {html} File list with default metadata (last-updated)
|
|
15
|
+
* <wm-file-list>
|
|
16
|
+
* <wm-file id="file-1" name="report" type="pdf" last-updated="1/28/2020 5:29 PM"></wm-file>
|
|
17
|
+
* <wm-file id="file-2" name="thesis" type="docx" last-updated="3/15/2024 9:00 AM"></wm-file>
|
|
18
|
+
* </wm-file-list>
|
|
19
|
+
*
|
|
20
|
+
* @example {react} File list with managed state
|
|
21
|
+
* // wm-file-list does not manage its own state — drive the file list from React state.
|
|
22
|
+
* // wmFileDelete fires on the wm-file element; use e.target.id to remove the matching entry.
|
|
23
|
+
* // showInfo on wm-file-list propagates automatically to all wm-file children.
|
|
24
|
+
* const [files, setFiles] = useState([
|
|
25
|
+
* { id: "file-1", name: "annual-report", type: "pdf", lastUpdated: "1/28/2024 5:29 PM" },
|
|
26
|
+
* { id: "file-2", name: "budget-summary", type: "xlsx", lastUpdated: "3/15/2024 9:00 AM" },
|
|
27
|
+
* ]);
|
|
28
|
+
*
|
|
29
|
+
* <WmFileList>
|
|
30
|
+
* {files.map((f) => (
|
|
31
|
+
* <WmFile key={f.id} id={f.id} name={f.name} type={f.type} lastUpdated={f.lastUpdated}
|
|
32
|
+
* onWmFileDelete={(e) => setFiles((prev) => prev.filter((f) => f.id !== e.target.id))} />
|
|
33
|
+
* ))}
|
|
34
|
+
* </WmFileList>
|
|
35
|
+
*
|
|
36
|
+
* @example {html} Show all metadata
|
|
37
|
+
* <wm-file-list show-info="all">
|
|
38
|
+
* <wm-file id="file-1" name="report" type="pdf"
|
|
39
|
+
* size="3 MB" last-updated="1/28/2020 5:29 PM" uploaded-by="Uploaded by Smith, John">
|
|
40
|
+
* </wm-file>
|
|
41
|
+
* </wm-file-list>
|
|
42
|
+
*
|
|
43
|
+
* @example {react} Show all metadata with preview and download handlers
|
|
44
|
+
* // fileActions controls which buttons appear; omit delete or pass fileActions="" for none.
|
|
45
|
+
* // onWmFilePreview and onWmFileDownload fire on the wm-file element; e.target.name is the filename.
|
|
46
|
+
* const [files, setFiles] = useState([
|
|
47
|
+
* { id: "file-3", name: "thesis", type: "docx", size: "3.2 MB",
|
|
48
|
+
* lastUpdated: "1/28/2024 5:29 PM", uploadedBy: "Uploaded by Smith, John",
|
|
49
|
+
* fileActions: "preview download delete" },
|
|
50
|
+
* { id: "file-4", name: "presentation", type: "pptx", size: "8.5 MB",
|
|
51
|
+
* lastUpdated: "3/15/2024 9:00 AM", uploadedBy: "Uploaded by Doe, Jane",
|
|
52
|
+
* fileActions: "download delete" },
|
|
53
|
+
* ]);
|
|
54
|
+
*
|
|
55
|
+
* <WmFileList showInfo="all">
|
|
56
|
+
* {files.map((f) => (
|
|
57
|
+
* <WmFile key={f.id} id={f.id} name={f.name} type={f.type}
|
|
58
|
+
* size={f.size} lastUpdated={f.lastUpdated} uploadedBy={f.uploadedBy}
|
|
59
|
+
* fileActions={f.fileActions}
|
|
60
|
+
* onWmFilePreview={(e) => alert(`Preview: ${e.target.name}`)}
|
|
61
|
+
* onWmFileDownload={(e) => alert(`Download: ${e.target.name}`)}
|
|
62
|
+
* onWmFileDelete={(e) => setFiles((prev) => prev.filter((f) => f.id !== e.target.id))} />
|
|
63
|
+
* ))}
|
|
64
|
+
* </WmFileList>
|
|
65
|
+
*
|
|
66
|
+
* @category Form Inputs
|
|
67
|
+
*/
|
|
2
68
|
export class FileList {
|
|
3
69
|
constructor() {
|
|
4
70
|
this.showInfo = "last-updated";
|
|
5
71
|
}
|
|
6
72
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
73
|
+
return (h("div", { key: 'c071d6aff339fe632763b226dc5d91b8df4bba25', role: "list", class: "list-wrapper" }, h("slot", { key: '46ea0a9a4461767f65a186b8e929bf11daeeef40' })));
|
|
8
74
|
}
|
|
9
75
|
static get is() { return "wm-file-list"; }
|
|
10
76
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +98,13 @@ export class FileList {
|
|
|
32
98
|
"required": false,
|
|
33
99
|
"optional": false,
|
|
34
100
|
"docs": {
|
|
35
|
-
"tags": [
|
|
101
|
+
"tags": [{
|
|
102
|
+
"name": "description",
|
|
103
|
+
"text": "Which metadata to display for each file alongside its name. Propagated\nautomatically to all wm-file children."
|
|
104
|
+
}, {
|
|
105
|
+
"name": "default",
|
|
106
|
+
"text": "\"last-updated\""
|
|
107
|
+
}],
|
|
36
108
|
"text": ""
|
|
37
109
|
},
|
|
38
110
|
"attribute": "show-info",
|
|
@@ -1,6 +1,137 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { csvToArray, debounce, getLastFocusableDescendant } from "../../global/functions";
|
|
3
3
|
import { globalMessages } from "../../global/intl";
|
|
4
|
+
/**
|
|
5
|
+
* Slide-in panel that renders over the main content as a modal dialog. Used for detail views,
|
|
6
|
+
* multi-step workflows, and forms that require focus without navigating away from the page.
|
|
7
|
+
*
|
|
8
|
+
* @slot - Main content of the flyout body.
|
|
9
|
+
*
|
|
10
|
+
* @keyboardInteraction
|
|
11
|
+
* - **Escape**: Fires `wmFlyoutCloseTriggered` (the host application is responsible for setting `open` to false).
|
|
12
|
+
* - **Tab**: Cycles forward through focusable elements; wraps from the last element back to the first.
|
|
13
|
+
* - **Shift+Tab**: Cycles backward; wraps from the first element to the last footer button.
|
|
14
|
+
*
|
|
15
|
+
* @accessibility
|
|
16
|
+
* - Rendered as a `<dialog>` element with `aria-labelledby` pointing to the heading.
|
|
17
|
+
* - Focus is trapped inside the flyout while open and returns to the trigger element on close.
|
|
18
|
+
* - Call `focusHeading()` after updating content in a multi-step workflow so screen readers
|
|
19
|
+
* announce the new heading.
|
|
20
|
+
*
|
|
21
|
+
* @usageNotes
|
|
22
|
+
* - Always render the component on page load — do not conditionally mount/unmount based on
|
|
23
|
+
* visibility. Control visibility with the `open` prop instead.
|
|
24
|
+
* - The flyout does not close on outside clicks; the host application must handle close events
|
|
25
|
+
* and set `open` to false.
|
|
26
|
+
* - In React, set `open` imperatively via a ref (`ref.current.open = true/false`). Use a native
|
|
27
|
+
* `onClick` on the trigger element rather than `onWmButtonClicked` to open the flyout.
|
|
28
|
+
* - Use `element-to-focus` to shift initial focus away from the default close button, e.g. to
|
|
29
|
+
* the `primary` footer button or a specific element id for form workflows.
|
|
30
|
+
* - In a multi-step workflow, drive `heading`, `breadcrumb`, `primaryText`, and `secondaryText`
|
|
31
|
+
* from React state so they update on re-render. Call `ref.current.focusHeading()` inside a
|
|
32
|
+
* `useEffect` that runs after the step state change so screen readers announce the new heading.
|
|
33
|
+
* - Apply content padding via a container query on the flyout body wrapper so it reduces
|
|
34
|
+
* automatically on narrower flyout widths:
|
|
35
|
+
* ```css
|
|
36
|
+
* .flyout-content { padding: 1.25rem 1.875rem; }
|
|
37
|
+
* @container flyout (width <= 25.875rem) {
|
|
38
|
+
* .flyout-content { padding: 0.75rem 1rem; }
|
|
39
|
+
* }
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @example {html} Basic flyout
|
|
43
|
+
* <button onclick="document.getElementById('edit-profile').open = true">Open flyout</button>
|
|
44
|
+
*
|
|
45
|
+
* <wm-flyout id="edit-profile" heading="Edit profile" eyebrow="Student"
|
|
46
|
+
* subheading="Update your information below"
|
|
47
|
+
* primary-text="Save" secondary-text="Cancel" info-text="* Required fields">
|
|
48
|
+
* <div class="flyout-content">
|
|
49
|
+
* <wm-input label="First name *"></wm-input>
|
|
50
|
+
* <wm-input label="Last name *"></wm-input>
|
|
51
|
+
* <wm-input label="Email" type="email"></wm-input>
|
|
52
|
+
* </div>
|
|
53
|
+
* </wm-flyout>
|
|
54
|
+
*
|
|
55
|
+
* @example {react} Basic flyout
|
|
56
|
+
* // Set open imperatively via ref -- use onClick on the trigger, not onWmButtonClicked.
|
|
57
|
+
* const flyoutRef = useRef(null);
|
|
58
|
+
*
|
|
59
|
+
* const openFlyout = () => { flyoutRef.current.open = true; };
|
|
60
|
+
* const closeFlyout = () => { flyoutRef.current.open = false; };
|
|
61
|
+
*
|
|
62
|
+
* <WmButton onClick={openFlyout}>Open flyout</WmButton>
|
|
63
|
+
*
|
|
64
|
+
* <WmFlyout
|
|
65
|
+
* ref={flyoutRef}
|
|
66
|
+
* heading="Edit profile"
|
|
67
|
+
* eyebrow="Student"
|
|
68
|
+
* subheading="Update your information below"
|
|
69
|
+
* primaryText="Save"
|
|
70
|
+
* secondaryText="Cancel"
|
|
71
|
+
* infoText="* Required fields"
|
|
72
|
+
* onWmFlyoutCloseTriggered={closeFlyout}
|
|
73
|
+
* onWmFlyoutSecondaryTriggered={closeFlyout}
|
|
74
|
+
* onWmFlyoutPrimaryTriggered={closeFlyout}
|
|
75
|
+
* >
|
|
76
|
+
* <div className="flyout-content">
|
|
77
|
+
* <WmInput label="First name *" />
|
|
78
|
+
* <WmInput label="Last name *" />
|
|
79
|
+
* <WmInput label="Email" type="email" />
|
|
80
|
+
* </div>
|
|
81
|
+
* </WmFlyout>
|
|
82
|
+
*
|
|
83
|
+
* @example {html} Multi-step flyout with breadcrumbs
|
|
84
|
+
* <button onclick="document.getElementById('multi-step').open = true">Open multi-step flyout</button>
|
|
85
|
+
*
|
|
86
|
+
* <wm-flyout id="multi-step" heading="Vestibulum convallis"
|
|
87
|
+
* breadcrumb="Vestibulum convallis"
|
|
88
|
+
* primary-text="Next" secondary-text="Cancel">
|
|
89
|
+
* <div id="step1" class="flyout-content"><p>Step 1 content</p></div>
|
|
90
|
+
* <div id="step2" class="flyout-content" style="display:none"><p>Step 2 content</p></div>
|
|
91
|
+
* </wm-flyout>
|
|
92
|
+
*
|
|
93
|
+
* @example {react} Multi-step flyout with breadcrumbs
|
|
94
|
+
* // Drive heading/breadcrumb/primaryText/secondaryText from step state so React keeps them
|
|
95
|
+
* // in sync on re-render. Use useEffect to call focusHeading() after the DOM has updated.
|
|
96
|
+
* const flyoutRef = useRef(null);
|
|
97
|
+
* const [step, setStep] = useState(0);
|
|
98
|
+
* const [focusHeading, setFocusHeading] = useState(false);
|
|
99
|
+
*
|
|
100
|
+
* const steps = [
|
|
101
|
+
* { heading: "Vestibulum convallis", breadcrumb: "Vestibulum convallis", primaryText: "Next", secondaryText: "Cancel" },
|
|
102
|
+
* { heading: "Dignissim magna", breadcrumb: "Vestibulum convallis,Dignissim magna", primaryText: "Submit", secondaryText: "Back" },
|
|
103
|
+
* ];
|
|
104
|
+
*
|
|
105
|
+
* useEffect(() => {
|
|
106
|
+
* if (focusHeading) {
|
|
107
|
+
* flyoutRef.current.focusHeading();
|
|
108
|
+
* setFocusHeading(false);
|
|
109
|
+
* }
|
|
110
|
+
* }, [step, focusHeading]);
|
|
111
|
+
*
|
|
112
|
+
* const goToStep = (idx) => { setStep(idx); setFocusHeading(true); };
|
|
113
|
+
* const handlePrimary = () => { step === 0 ? goToStep(1) : (flyoutRef.current.open = false); };
|
|
114
|
+
* const handleSecondary = () => { step === 0 ? (flyoutRef.current.open = false) : goToStep(0); };
|
|
115
|
+
*
|
|
116
|
+
* <WmButton onClick={() => { setStep(0); flyoutRef.current.open = true; }}>Open flyout</WmButton>
|
|
117
|
+
*
|
|
118
|
+
* <WmFlyout
|
|
119
|
+
* ref={flyoutRef}
|
|
120
|
+
* heading={steps[step].heading}
|
|
121
|
+
* breadcrumb={steps[step].breadcrumb}
|
|
122
|
+
* primaryText={steps[step].primaryText}
|
|
123
|
+
* secondaryText={steps[step].secondaryText}
|
|
124
|
+
* onWmFlyoutPrimaryTriggered={handlePrimary}
|
|
125
|
+
* onWmFlyoutSecondaryTriggered={handleSecondary}
|
|
126
|
+
* onWmFlyoutCloseTriggered={() => { flyoutRef.current.open = false; }}
|
|
127
|
+
* onWmFlyoutBreadcrumbClicked={(ev) => goToStep(ev.detail.index)}
|
|
128
|
+
* >
|
|
129
|
+
* {step === 0 && <div className="flyout-content"><WmInput label="Program name *" /></div>}
|
|
130
|
+
* {step === 1 && <div className="flyout-content"><WmInput label="Start date" /></div>}
|
|
131
|
+
* </WmFlyout>
|
|
132
|
+
*
|
|
133
|
+
* @category Communication
|
|
134
|
+
*/
|
|
4
135
|
export class Flyout {
|
|
5
136
|
constructor() {
|
|
6
137
|
this.debouncedCheckBreadcrumbOverflow = debounce(this.checkBreadcrumbOverflow, 30);
|
|
@@ -81,6 +212,11 @@ export class Flyout {
|
|
|
81
212
|
setFlyoutWidth() {
|
|
82
213
|
this.el.style.setProperty("--flyout-width", this.flyoutWidth);
|
|
83
214
|
}
|
|
215
|
+
/**
|
|
216
|
+
* @description Moves focus to the flyout's heading element. Call this after updating flyout
|
|
217
|
+
* content in a multi-step workflow so screen readers announce the new heading to the user.
|
|
218
|
+
* @returns A promise that resolves once focus has been applied.
|
|
219
|
+
*/
|
|
84
220
|
async focusHeading() {
|
|
85
221
|
this.headingEl.focus();
|
|
86
222
|
}
|
|
@@ -155,7 +291,7 @@ export class Flyout {
|
|
|
155
291
|
}
|
|
156
292
|
}
|
|
157
293
|
render() {
|
|
158
|
-
return (h(Host, { key: '
|
|
294
|
+
return (h(Host, { key: 'eb123498c8c9452cae1d4c204842e45fb99a2aeb' }, h("dialog", { key: '17a8b8eea564bee116204049747e0e363e77007e', ref: (el) => (this.dialogEl = el), class: "flyout", "aria-labelledby": "heading", onClose: () => this.wmFlyoutCloseTriggered.emit(), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: '805423bf1ff579a534f05d10c7cc530f89d69c5f', tabindex: "0", class: "focus-trap", onFocus: () => this.lastFocusableEl.focus(), "aria-hidden": "true" }), this.renderHeader(), h("div", { key: 'cf31d451909506f531e753bc30c60bc2d0379870', class: "flyout-content" }, h("slot", { key: 'e9717213c3a2b075bb67296f5bff9793ec7c1eb2' })), this.renderFooter(), h("div", { key: 'ba7cf122b72c12e960bc606b463a045f38f2c1f6', tabindex: "0", class: "focus-trap", onFocus: () => this.handleEndBookendFocus(), "aria-hidden": "true" }))));
|
|
159
295
|
}
|
|
160
296
|
static get is() { return "wm-flyout"; }
|
|
161
297
|
static get encapsulation() { return "shadow"; }
|
|
@@ -182,7 +318,10 @@ export class Flyout {
|
|
|
182
318
|
"required": false,
|
|
183
319
|
"optional": true,
|
|
184
320
|
"docs": {
|
|
185
|
-
"tags": [
|
|
321
|
+
"tags": [{
|
|
322
|
+
"name": "description",
|
|
323
|
+
"text": "Small label displayed above the heading. Useful for context like a category or record type."
|
|
324
|
+
}],
|
|
186
325
|
"text": ""
|
|
187
326
|
},
|
|
188
327
|
"attribute": "eyebrow",
|
|
@@ -199,7 +338,13 @@ export class Flyout {
|
|
|
199
338
|
"required": true,
|
|
200
339
|
"optional": false,
|
|
201
340
|
"docs": {
|
|
202
|
-
"tags": [
|
|
341
|
+
"tags": [{
|
|
342
|
+
"name": "description",
|
|
343
|
+
"text": "Heading text displayed at the top of the flyout. Also used as the dialog's accessible name."
|
|
344
|
+
}, {
|
|
345
|
+
"name": "required",
|
|
346
|
+
"text": undefined
|
|
347
|
+
}],
|
|
203
348
|
"text": ""
|
|
204
349
|
},
|
|
205
350
|
"attribute": "heading",
|
|
@@ -216,7 +361,10 @@ export class Flyout {
|
|
|
216
361
|
"required": false,
|
|
217
362
|
"optional": true,
|
|
218
363
|
"docs": {
|
|
219
|
-
"tags": [
|
|
364
|
+
"tags": [{
|
|
365
|
+
"name": "description",
|
|
366
|
+
"text": "Subtitle text displayed below the heading."
|
|
367
|
+
}],
|
|
220
368
|
"text": ""
|
|
221
369
|
},
|
|
222
370
|
"attribute": "subheading",
|
|
@@ -233,7 +381,13 @@ export class Flyout {
|
|
|
233
381
|
"required": false,
|
|
234
382
|
"optional": false,
|
|
235
383
|
"docs": {
|
|
236
|
-
"tags": [
|
|
384
|
+
"tags": [{
|
|
385
|
+
"name": "description",
|
|
386
|
+
"text": "CSS width value for the flyout panel. Capped at 90% of the viewport width,\nand at 100% on viewports narrower than 534px."
|
|
387
|
+
}, {
|
|
388
|
+
"name": "default",
|
|
389
|
+
"text": "\"45rem\""
|
|
390
|
+
}],
|
|
237
391
|
"text": ""
|
|
238
392
|
},
|
|
239
393
|
"attribute": "flyout-width",
|
|
@@ -251,7 +405,10 @@ export class Flyout {
|
|
|
251
405
|
"required": false,
|
|
252
406
|
"optional": true,
|
|
253
407
|
"docs": {
|
|
254
|
-
"tags": [
|
|
408
|
+
"tags": [{
|
|
409
|
+
"name": "description",
|
|
410
|
+
"text": "Label for the primary footer button. When set, a primary button is rendered\nin the footer. Fires `wmFlyoutPrimaryTriggered` when clicked."
|
|
411
|
+
}],
|
|
255
412
|
"text": ""
|
|
256
413
|
},
|
|
257
414
|
"attribute": "primary-text",
|
|
@@ -268,7 +425,10 @@ export class Flyout {
|
|
|
268
425
|
"required": false,
|
|
269
426
|
"optional": true,
|
|
270
427
|
"docs": {
|
|
271
|
-
"tags": [
|
|
428
|
+
"tags": [{
|
|
429
|
+
"name": "description",
|
|
430
|
+
"text": "Label for the secondary footer button. When set, a secondary button is rendered\nin the footer. Fires `wmFlyoutSecondaryTriggered` when clicked."
|
|
431
|
+
}],
|
|
272
432
|
"text": ""
|
|
273
433
|
},
|
|
274
434
|
"attribute": "secondary-text",
|
|
@@ -285,7 +445,10 @@ export class Flyout {
|
|
|
285
445
|
"required": false,
|
|
286
446
|
"optional": true,
|
|
287
447
|
"docs": {
|
|
288
|
-
"tags": [
|
|
448
|
+
"tags": [{
|
|
449
|
+
"name": "description",
|
|
450
|
+
"text": "Informational text displayed in the lower-left corner of the footer\n(e.g. `\"* Required fields\"`)."
|
|
451
|
+
}],
|
|
289
452
|
"text": ""
|
|
290
453
|
},
|
|
291
454
|
"attribute": "info-text",
|
|
@@ -302,7 +465,10 @@ export class Flyout {
|
|
|
302
465
|
"required": false,
|
|
303
466
|
"optional": true,
|
|
304
467
|
"docs": {
|
|
305
|
-
"tags": [
|
|
468
|
+
"tags": [{
|
|
469
|
+
"name": "description",
|
|
470
|
+
"text": "Comma-separated list of breadcrumb labels rendered above the heading.\nThe last item is displayed as plain text (current step); earlier items are rendered as\nbuttons that fire `wmFlyoutBreadcrumbClicked`."
|
|
471
|
+
}],
|
|
306
472
|
"text": ""
|
|
307
473
|
},
|
|
308
474
|
"attribute": "breadcrumb",
|
|
@@ -319,7 +485,13 @@ export class Flyout {
|
|
|
319
485
|
"required": false,
|
|
320
486
|
"optional": false,
|
|
321
487
|
"docs": {
|
|
322
|
-
"tags": [
|
|
488
|
+
"tags": [{
|
|
489
|
+
"name": "description",
|
|
490
|
+
"text": "Element to focus when the flyout opens. Pass `\"primary\"` or `\"secondary\"` to\nfocus the corresponding footer button, or an element `id` to focus a specific element in the\nflyout body. Defaults to the close button."
|
|
491
|
+
}, {
|
|
492
|
+
"name": "default",
|
|
493
|
+
"text": "\"\""
|
|
494
|
+
}],
|
|
323
495
|
"text": ""
|
|
324
496
|
},
|
|
325
497
|
"attribute": "element-to-focus",
|
|
@@ -337,7 +509,13 @@ export class Flyout {
|
|
|
337
509
|
"required": false,
|
|
338
510
|
"optional": false,
|
|
339
511
|
"docs": {
|
|
340
|
-
"tags": [
|
|
512
|
+
"tags": [{
|
|
513
|
+
"name": "description",
|
|
514
|
+
"text": "Controls the open/closed state of the flyout. Always render the component on\npage load and toggle this prop rather than conditionally mounting/unmounting the element."
|
|
515
|
+
}, {
|
|
516
|
+
"name": "default",
|
|
517
|
+
"text": "false"
|
|
518
|
+
}],
|
|
341
519
|
"text": ""
|
|
342
520
|
},
|
|
343
521
|
"attribute": "open",
|
|
@@ -360,7 +538,10 @@ export class Flyout {
|
|
|
360
538
|
"cancelable": true,
|
|
361
539
|
"composed": true,
|
|
362
540
|
"docs": {
|
|
363
|
-
"tags": [
|
|
541
|
+
"tags": [{
|
|
542
|
+
"name": "description",
|
|
543
|
+
"text": "Fires when the close button is clicked, Escape is pressed, or the native\ndialog close event fires. The host application must set `open` to false in response."
|
|
544
|
+
}],
|
|
364
545
|
"text": ""
|
|
365
546
|
},
|
|
366
547
|
"complexType": {
|
|
@@ -375,7 +556,10 @@ export class Flyout {
|
|
|
375
556
|
"cancelable": true,
|
|
376
557
|
"composed": true,
|
|
377
558
|
"docs": {
|
|
378
|
-
"tags": [
|
|
559
|
+
"tags": [{
|
|
560
|
+
"name": "description",
|
|
561
|
+
"text": "Fires when the primary footer button is clicked."
|
|
562
|
+
}],
|
|
379
563
|
"text": ""
|
|
380
564
|
},
|
|
381
565
|
"complexType": {
|
|
@@ -390,7 +574,10 @@ export class Flyout {
|
|
|
390
574
|
"cancelable": true,
|
|
391
575
|
"composed": true,
|
|
392
576
|
"docs": {
|
|
393
|
-
"tags": [
|
|
577
|
+
"tags": [{
|
|
578
|
+
"name": "description",
|
|
579
|
+
"text": "Fires when the secondary footer button is clicked."
|
|
580
|
+
}],
|
|
394
581
|
"text": ""
|
|
395
582
|
},
|
|
396
583
|
"complexType": {
|
|
@@ -405,7 +592,13 @@ export class Flyout {
|
|
|
405
592
|
"cancelable": true,
|
|
406
593
|
"composed": true,
|
|
407
594
|
"docs": {
|
|
408
|
-
"tags": [
|
|
595
|
+
"tags": [{
|
|
596
|
+
"name": "description",
|
|
597
|
+
"text": "Fires when a breadcrumb button (any non-last breadcrumb) is clicked."
|
|
598
|
+
}, {
|
|
599
|
+
"name": "eventDetails",
|
|
600
|
+
"text": "{{ breadcrumb: string, index: number }} breadcrumb \u2014 the label of the clicked breadcrumb; index \u2014 its zero-based position in the original CSV list."
|
|
601
|
+
}],
|
|
409
602
|
"text": ""
|
|
410
603
|
},
|
|
411
604
|
"complexType": {
|
|
@@ -431,7 +624,13 @@ export class Flyout {
|
|
|
431
624
|
},
|
|
432
625
|
"docs": {
|
|
433
626
|
"text": "",
|
|
434
|
-
"tags": [
|
|
627
|
+
"tags": [{
|
|
628
|
+
"name": "description",
|
|
629
|
+
"text": "Moves focus to the flyout's heading element. Call this after updating flyout\ncontent in a multi-step workflow so screen readers announce the new heading to the user."
|
|
630
|
+
}, {
|
|
631
|
+
"name": "returns",
|
|
632
|
+
"text": "A promise that resolves once focus has been applied."
|
|
633
|
+
}]
|
|
435
634
|
}
|
|
436
635
|
}
|
|
437
636
|
};
|