@watermarkinsights/ripple 5.30.0 → 5.31.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-df7ca137.js +103 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/priv-calendar.cjs.entry.js +27 -27
- package/dist/cjs/priv-chart-popover-old.cjs.entry.js +2 -2
- package/dist/cjs/priv-chart-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
- package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
- package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +5 -4
- package/dist/cjs/wm-button.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart-column.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart.cjs.entry.js +1 -1
- package/dist/cjs/wm-date-range.cjs.entry.js +25 -9
- package/dist/cjs/wm-datepicker.cjs.entry.js +37 -11
- package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +1 -1
- package/dist/cjs/wm-flyout.cjs.entry.js +6 -1
- package/dist/cjs/wm-input.cjs.entry.js +1 -1
- package/dist/cjs/wm-line-chart.cjs.entry.js +1 -1
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-modal_3.cjs.entry.js +19 -4
- package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
- package/dist/cjs/wm-nested-select.cjs.entry.js +3 -3
- package/dist/cjs/wm-optgroup.cjs.entry.js +11 -1
- package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
- package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/wm-search.cjs.entry.js +2 -2
- package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-tag-input.cjs.entry.js +2 -2
- package/dist/cjs/wm-tag-option.cjs.entry.js +8 -0
- package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
- package/dist/cjs/wm-timepicker.cjs.entry.js +14 -2
- package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
- package/dist/cjs/wm-uploader.cjs.entry.js +2 -2
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +7 -2
- package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.js +7 -2
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +58 -6
- package/dist/collection/components/charts/wm-chart/wm-chart.js +139 -13
- package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +134 -7
- package/dist/collection/components/charts/wm-chart-column/wm-chart-column.js +102 -8
- package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.js +90 -8
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +153 -17
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +63 -7
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +85 -5
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +52 -6
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +47 -47
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +33 -29
- package/dist/collection/components/datepickers/wm-date-range.js +246 -29
- package/dist/collection/components/datepickers/wm-datepicker.js +254 -30
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +7 -1
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +193 -17
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +116 -11
- package/dist/collection/components/selects/wm-option/wm-option.js +153 -18
- package/dist/collection/components/selects/wm-select/wm-select.js +187 -21
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +148 -12
- package/dist/collection/components/wm-button/wm-button.js +212 -18
- package/dist/collection/components/wm-file/wm-file.js +108 -14
- package/dist/collection/components/wm-file-list/wm-file-list.js +74 -2
- package/dist/collection/components/wm-flyout/wm-flyout.js +215 -16
- package/dist/collection/components/wm-input/wm-input.js +195 -20
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +62 -5
- package/dist/collection/components/wm-modal/wm-modal-footer.js +63 -6
- package/dist/collection/components/wm-modal/wm-modal-header.js +34 -3
- package/dist/collection/components/wm-modal/wm-modal.js +181 -14
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +5 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +5 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +6 -2
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +37 -3
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +47 -5
- package/dist/collection/components/wm-navigation/wm-navigation.js +54 -4
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +5 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +5 -1
- package/dist/collection/components/wm-navigator/wm-navigator.js +102 -9
- package/dist/collection/components/wm-pagination/wm-pagination.js +106 -9
- package/dist/collection/components/wm-search/wm-search.js +182 -16
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +96 -5
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +66 -10
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +96 -5
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +42 -6
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +205 -17
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +97 -12
- package/dist/collection/components/wm-textarea/wm-textarea.js +116 -13
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +190 -16
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +87 -8
- package/dist/collection/components/wm-uploader/wm-uploader.js +142 -14
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +3 -0
- package/dist/collection/global/services/__mocks__/http-service.js +1 -1
- package/dist/docs/docs.d.ts +435 -0
- package/dist/docs/docs.json +13915 -0
- package/dist/docs/props-reference.json +2028 -0
- package/dist/docs/skill/index.md +32 -0
- package/dist/docs/skill/wm-action-menu.md +93 -0
- package/dist/docs/skill/wm-button.md +103 -0
- package/dist/docs/skill/wm-chart-bar.md +129 -0
- package/dist/docs/skill/wm-chart-column.md +96 -0
- package/dist/docs/skill/wm-chart-legend.md +67 -0
- package/dist/docs/skill/wm-chart-slice.md +55 -0
- package/dist/docs/skill/wm-chart.md +92 -0
- package/dist/docs/skill/wm-date-range.md +153 -0
- package/dist/docs/skill/wm-datepicker.md +134 -0
- package/dist/docs/skill/wm-file-list.md +97 -0
- package/dist/docs/skill/wm-file.md +78 -0
- package/dist/docs/skill/wm-flyout.md +174 -0
- package/dist/docs/skill/wm-input.md +126 -0
- package/dist/docs/skill/wm-line-chart.md +108 -0
- package/dist/docs/skill/wm-menuitem.md +72 -0
- package/dist/docs/skill/wm-modal-footer.md +73 -0
- package/dist/docs/skill/wm-modal-header.md +65 -0
- package/dist/docs/skill/wm-modal.md +137 -0
- package/dist/docs/skill/wm-navigation-hamburger.md +56 -0
- package/dist/docs/skill/wm-navigation-item.md +69 -0
- package/dist/docs/skill/wm-navigation.md +66 -0
- package/dist/docs/skill/wm-navigator.md +91 -0
- package/dist/docs/skill/wm-nested-select.md +149 -0
- package/dist/docs/skill/wm-optgroup.md +71 -0
- package/dist/docs/skill/wm-option.md +68 -0
- package/dist/docs/skill/wm-pagination.md +95 -0
- package/dist/docs/skill/wm-progress-indicator.md +49 -0
- package/dist/docs/skill/wm-progress-monitor.md +93 -0
- package/dist/docs/skill/wm-progress-slice.md +41 -0
- package/dist/docs/skill/wm-search.md +157 -0
- package/dist/docs/skill/wm-select.md +148 -0
- package/dist/docs/skill/wm-snackbar.md +101 -0
- package/dist/docs/skill/wm-tab-item.md +35 -0
- package/dist/docs/skill/wm-tab-list.md +112 -0
- package/dist/docs/skill/wm-tab-panel.md +33 -0
- package/dist/docs/skill/wm-tag-input.md +165 -0
- package/dist/docs/skill/wm-tag-option.md +59 -0
- package/dist/docs/skill/wm-textarea.md +94 -0
- package/dist/docs/skill/wm-timepicker.md +139 -0
- package/dist/docs/skill/wm-toggletip.md +92 -0
- package/dist/docs/skill/wm-uploader.md +129 -0
- package/dist/docs/skill/wm-wrapper.md +6 -0
- package/dist/docs/wm-action-menu.md +111 -0
- package/dist/docs/wm-button.md +137 -0
- package/dist/docs/wm-chart-bar.md +23 -0
- package/dist/docs/wm-chart-column.md +26 -0
- package/dist/docs/wm-chart-legend.md +31 -0
- package/dist/docs/wm-chart-slice.md +14 -0
- package/dist/docs/wm-chart.md +30 -0
- package/dist/docs/wm-date-range.md +215 -0
- package/dist/docs/wm-datepicker.md +210 -0
- package/dist/docs/wm-file-list.md +95 -0
- package/dist/docs/wm-file.md +34 -0
- package/dist/docs/wm-flyout.md +123 -0
- package/dist/docs/wm-input.md +120 -0
- package/dist/docs/wm-line-chart.md +32 -0
- package/dist/docs/wm-menuitem.md +38 -0
- package/dist/docs/wm-modal-footer.md +106 -0
- package/dist/docs/wm-modal-header.md +100 -0
- package/dist/docs/wm-modal.md +127 -0
- package/dist/docs/wm-navigation-hamburger.md +91 -0
- package/dist/docs/wm-navigation-item.md +98 -0
- package/dist/docs/wm-navigation.md +101 -0
- package/dist/docs/wm-navigator.md +99 -0
- package/dist/docs/wm-nested-select.md +107 -0
- package/dist/docs/wm-optgroup.md +28 -0
- package/dist/docs/wm-option.md +24 -0
- package/dist/docs/wm-pagination.md +94 -0
- package/dist/docs/wm-progress-indicator.md +23 -0
- package/dist/docs/wm-progress-monitor.md +27 -0
- package/dist/docs/wm-progress-slice.md +16 -0
- package/dist/docs/wm-search.md +119 -0
- package/dist/docs/wm-select.md +120 -0
- package/dist/docs/wm-snackbar.md +87 -0
- package/dist/docs/wm-tab-item.md +23 -0
- package/dist/docs/wm-tab-list.md +98 -0
- package/dist/docs/wm-tab-panel.md +18 -0
- package/dist/docs/wm-tag-input.md +123 -0
- package/dist/docs/wm-tag-option.md +33 -0
- package/dist/docs/wm-textarea.md +101 -0
- package/dist/docs/wm-timepicker.md +122 -0
- package/dist/docs/wm-toggletip.md +86 -0
- package/dist/docs/wm-uploader.md +114 -0
- package/dist/docs/wm-wrapper.md +7 -0
- package/dist/esm/app-globals-466ed44b.js +101 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/priv-calendar.entry.js +27 -27
- package/dist/esm/priv-chart-popover-old.entry.js +2 -2
- package/dist/esm/priv-chart-popover_2.entry.js +3 -3
- package/dist/esm/priv-navigator-button.entry.js +1 -1
- package/dist/esm/priv-navigator-item.entry.js +1 -1
- package/dist/esm/priv-option-list.entry.js +1 -1
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-action-menu_2.entry.js +5 -4
- package/dist/esm/wm-button.entry.js +1 -1
- package/dist/esm/wm-chart-bar.entry.js +1 -1
- package/dist/esm/wm-chart-column.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +1 -1
- package/dist/esm/wm-date-range.entry.js +25 -9
- package/dist/esm/wm-datepicker.entry.js +37 -11
- package/dist/esm/wm-file-list.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +1 -1
- package/dist/esm/wm-flyout.entry.js +6 -1
- package/dist/esm/wm-input.entry.js +1 -1
- package/dist/esm/wm-line-chart.entry.js +1 -1
- package/dist/esm/wm-modal-pss_3.entry.js +4 -4
- package/dist/esm/wm-modal_3.entry.js +19 -4
- package/dist/esm/wm-navigation_3.entry.js +4 -4
- package/dist/esm/wm-navigator.entry.js +1 -1
- package/dist/esm/wm-nested-select.entry.js +3 -3
- package/dist/esm/wm-optgroup.entry.js +11 -1
- package/dist/esm/wm-option_2.entry.js +5 -5
- package/dist/esm/wm-pagination.entry.js +1 -1
- package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
- package/dist/esm/wm-search.entry.js +2 -2
- package/dist/esm/wm-snackbar.entry.js +2 -2
- package/dist/esm/wm-tab-item_3.entry.js +6 -6
- package/dist/esm/wm-tag-input.entry.js +2 -2
- package/dist/esm/wm-tag-option.entry.js +8 -0
- package/dist/esm/wm-textarea.entry.js +1 -1
- package/dist/esm/wm-timepicker.entry.js +14 -2
- package/dist/esm/wm-toggletip.entry.js +3 -3
- package/dist/esm/wm-uploader.entry.js +2 -2
- package/dist/esm-es5/app-globals-466ed44b.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover-old.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover_2.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/priv-option-list.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart-bar.entry.js +1 -1
- package/dist/esm-es5/wm-chart-column.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-file-list.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-flyout.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/ripple/{p-1fc894ac.system.entry.js → p-012bd307.system.entry.js} +1 -1
- package/dist/ripple/p-03f352dc.entry.js +1 -0
- package/dist/ripple/{p-4f53544d.entry.js → p-03ff4f41.entry.js} +1 -1
- package/dist/ripple/{p-2a03f658.entry.js → p-045aa27f.entry.js} +1 -1
- package/dist/ripple/{p-709d1765.entry.js → p-057ffccb.entry.js} +1 -1
- package/dist/ripple/p-06c3dc14.system.entry.js +1 -0
- package/dist/ripple/{p-ff6fd274.system.entry.js → p-09a80f59.system.entry.js} +1 -1
- package/dist/ripple/{p-3bd8537c.entry.js → p-09fb0a09.entry.js} +1 -1
- package/dist/ripple/p-0a05d3a3.js +1 -0
- package/dist/ripple/{p-3f69041f.entry.js → p-0ab9bac7.entry.js} +1 -1
- package/dist/ripple/{p-332a3e3d.system.entry.js → p-1059cdb9.system.entry.js} +1 -1
- package/dist/ripple/{p-dbdae848.system.entry.js → p-106a9459.system.entry.js} +1 -1
- package/dist/ripple/{p-e1a6ee77.entry.js → p-16381033.entry.js} +1 -1
- package/dist/ripple/{p-b11abb0d.system.entry.js → p-181109f0.system.entry.js} +1 -1
- package/dist/ripple/{p-bb9f54cf.system.entry.js → p-1855c3b1.system.entry.js} +1 -1
- package/dist/ripple/{p-4533241f.entry.js → p-1c25838e.entry.js} +1 -1
- package/dist/ripple/{p-fb6aee09.entry.js → p-1f67b172.entry.js} +1 -1
- package/dist/ripple/{p-a3dd5204.system.entry.js → p-22703bcd.system.entry.js} +1 -1
- package/dist/ripple/{p-a6aef87d.system.entry.js → p-237388c5.system.entry.js} +1 -1
- package/dist/ripple/p-237f5977.system.entry.js +1 -0
- package/dist/ripple/p-25d6cc45.system.js +1 -0
- package/dist/ripple/{p-09d5381c.entry.js → p-299d2d8b.entry.js} +1 -1
- package/dist/ripple/{p-e78f9572.system.entry.js → p-2c1d219f.system.entry.js} +1 -1
- package/dist/ripple/{p-84e04896.entry.js → p-2dbf9636.entry.js} +1 -1
- package/dist/ripple/{p-05dae6a0.entry.js → p-2dc1071a.entry.js} +1 -1
- package/dist/ripple/{p-39bac42a.entry.js → p-3216e2e7.entry.js} +1 -1
- package/dist/ripple/p-3252c04b.system.entry.js +1 -0
- package/dist/ripple/{p-7ca0bb68.system.entry.js → p-32bac954.system.entry.js} +1 -1
- package/dist/ripple/p-33eeaa18.entry.js +1 -0
- package/dist/ripple/p-3441da90.entry.js +1 -0
- package/dist/ripple/p-3502fd33.system.entry.js +1 -0
- package/dist/ripple/{p-f51404f5.entry.js → p-351000b9.entry.js} +1 -1
- package/dist/ripple/{p-bf3eef42.entry.js → p-3c0062c5.entry.js} +1 -1
- package/dist/ripple/{p-c1abc58e.entry.js → p-3d3836ad.entry.js} +1 -1
- package/dist/ripple/p-3e8bfc68.system.entry.js +1 -0
- package/dist/ripple/p-3f403a64.system.entry.js +1 -0
- package/dist/ripple/{p-b974a535.system.entry.js → p-43e8d384.system.entry.js} +1 -1
- package/dist/ripple/p-49dc64ba.entry.js +1 -0
- package/dist/ripple/{p-9d345fc7.system.entry.js → p-4a942d74.system.entry.js} +1 -1
- package/dist/ripple/p-4cc09fa3.system.entry.js +1 -0
- package/dist/ripple/p-5177d4fa.entry.js +1 -0
- package/dist/ripple/p-51fff3a7.system.entry.js +1 -0
- package/dist/ripple/p-54ba0eae.entry.js +1 -0
- package/dist/ripple/{p-c04d0eeb.system.entry.js → p-5609bde2.system.entry.js} +1 -1
- package/dist/ripple/{p-86148143.system.entry.js → p-56e1a71d.system.entry.js} +1 -1
- package/dist/ripple/{p-f94af31c.entry.js → p-578b5443.entry.js} +1 -1
- package/dist/ripple/p-57901fc3.entry.js +1 -0
- package/dist/ripple/{p-463be5be.entry.js → p-57a0cb5f.entry.js} +1 -1
- package/dist/ripple/{p-0db033c3.system.entry.js → p-59b3f92b.system.entry.js} +1 -1
- package/dist/ripple/p-5a533e7c.entry.js +1 -0
- package/dist/ripple/{p-5f092b39.system.entry.js → p-61a0ba92.system.entry.js} +1 -1
- package/dist/ripple/{p-6de83c6f.entry.js → p-623b89e0.entry.js} +1 -1
- package/dist/ripple/{p-6479b06b.entry.js → p-668c0758.entry.js} +1 -1
- package/dist/ripple/p-6a6e98c7.entry.js +1 -0
- package/dist/ripple/{p-b654743f.system.entry.js → p-6c46dd9a.system.entry.js} +1 -1
- package/dist/ripple/{p-4e7ae2c5.system.entry.js → p-6ea254d2.system.entry.js} +1 -1
- package/dist/ripple/p-6f875608.system.entry.js +1 -0
- package/dist/ripple/{p-d05b7cd3.entry.js → p-71a38bd2.entry.js} +1 -1
- package/dist/ripple/{p-dab54a9d.entry.js → p-73a2389d.entry.js} +1 -1
- package/dist/ripple/p-759d87de.entry.js +1 -0
- package/dist/ripple/{p-227b0af9.entry.js → p-75c5ec39.entry.js} +1 -1
- package/dist/ripple/{p-ee729037.system.entry.js → p-7bc3b4ee.system.entry.js} +1 -1
- package/dist/ripple/p-7c7988a3.entry.js +1 -0
- package/dist/ripple/p-81735196.entry.js +1 -0
- package/dist/ripple/{p-a0aba3e0.system.entry.js → p-8376699e.system.entry.js} +1 -1
- package/dist/ripple/{p-503330c1.system.entry.js → p-865208b7.system.entry.js} +1 -1
- package/dist/ripple/{p-28b8a12e.system.entry.js → p-8715d758.system.entry.js} +1 -1
- package/dist/ripple/p-8bfb7664.entry.js +1 -0
- package/dist/ripple/{p-680f5703.entry.js → p-8deb22bc.entry.js} +1 -1
- package/dist/ripple/p-8e32e9de.system.entry.js +1 -0
- package/dist/ripple/{p-bdb10d37.entry.js → p-92e3bf68.entry.js} +1 -1
- package/dist/ripple/{p-0feaaae9.system.entry.js → p-942b323c.system.entry.js} +1 -1
- package/dist/ripple/{p-5173359e.entry.js → p-94fd1dcc.entry.js} +1 -1
- package/dist/ripple/p-991455a2.system.entry.js +1 -0
- package/dist/ripple/p-99a112c8.system.entry.js +1 -0
- package/dist/ripple/p-9a8d91d6.entry.js +1 -0
- package/dist/ripple/{p-e0c0e8b0.system.entry.js → p-9afb642d.system.entry.js} +1 -1
- package/dist/ripple/p-9c850273.system.js +1 -0
- package/dist/ripple/p-a3f9e257.entry.js +1 -0
- package/dist/ripple/p-a5b07241.entry.js +1 -0
- package/dist/ripple/{p-d55bd2b9.entry.js → p-a7a6cf55.system.entry.js} +1 -1
- package/dist/ripple/{p-6f2d3297.system.entry.js → p-a917ea86.system.entry.js} +1 -1
- package/dist/ripple/p-ab5664cd.entry.js +1 -0
- package/dist/ripple/{p-cc028323.entry.js → p-acb04e6e.entry.js} +1 -1
- package/dist/ripple/p-b2624d8f.system.entry.js +1 -0
- package/dist/ripple/p-b5b37960.entry.js +1 -0
- package/dist/ripple/p-b713b6de.system.entry.js +1 -0
- package/dist/ripple/p-b75e9e5f.entry.js +1 -0
- package/dist/ripple/{p-b1924539.system.entry.js → p-b7969fd7.system.entry.js} +1 -1
- package/dist/ripple/{p-a7e637a5.system.entry.js → p-b9596bfc.system.entry.js} +1 -1
- package/dist/ripple/p-b9d3d967.system.entry.js +1 -0
- package/dist/ripple/{p-aafced54.system.entry.js → p-bd365c44.system.entry.js} +1 -1
- package/dist/ripple/p-bd9ab5ae.system.entry.js +1 -0
- package/dist/ripple/p-c0028f4d.system.entry.js +1 -0
- package/dist/ripple/p-c7d3ee52.entry.js +1 -0
- package/dist/ripple/p-c8e4e95b.entry.js +1 -0
- package/dist/ripple/p-c996ade8.entry.js +1 -0
- package/dist/ripple/p-ca8378b0.entry.js +1 -0
- package/dist/ripple/{p-bd37dd6f.entry.js → p-cc2176ad.entry.js} +1 -1
- package/dist/ripple/p-cd496e63.entry.js +1 -0
- package/dist/ripple/p-d0653c32.entry.js +1 -0
- package/dist/ripple/{p-9a5d11cb.entry.js → p-d11e5029.entry.js} +1 -1
- package/dist/ripple/p-d3d0b626.entry.js +1 -0
- package/dist/ripple/p-d4899263.entry.js +1 -0
- package/dist/ripple/p-dc82f194.entry.js +1 -0
- package/dist/ripple/{p-a6ef995c.system.entry.js → p-ddfb976f.system.entry.js} +1 -1
- package/dist/ripple/{p-ee26ba53.entry.js → p-e1899945.entry.js} +1 -1
- package/dist/ripple/p-e26b9711.system.entry.js +1 -0
- package/dist/ripple/{p-10aea5ee.system.entry.js → p-e31f597a.system.entry.js} +1 -1
- package/dist/ripple/p-e35de3cd.system.entry.js +1 -0
- package/dist/ripple/p-e3effa1a.system.entry.js +1 -0
- package/dist/ripple/p-e674e6a7.system.entry.js +1 -0
- package/dist/ripple/{p-8e6e868a.entry.js → p-e7ffd796.entry.js} +1 -1
- package/dist/ripple/p-e800717d.entry.js +1 -0
- package/dist/ripple/p-eab35bea.entry.js +1 -0
- package/dist/ripple/{p-df9d5b14.system.entry.js → p-ebdf16fa.system.entry.js} +1 -1
- package/dist/ripple/p-ed9fc1c1.system.entry.js +1 -0
- package/dist/ripple/p-eda49f0e.entry.js +1 -0
- package/dist/ripple/p-ee33fd7f.system.entry.js +1 -0
- package/dist/ripple/p-ee5f43fe.system.entry.js +1 -0
- package/dist/ripple/{p-928b3e5e.entry.js → p-f0ee3616.entry.js} +1 -1
- package/dist/ripple/{p-02c8bf15.system.entry.js → p-f1215c25.system.entry.js} +1 -1
- package/dist/ripple/p-f148ae9d.system.entry.js +1 -0
- package/dist/ripple/p-f307aabe.entry.js +1 -0
- package/dist/ripple/p-f4f6c904.system.entry.js +1 -0
- package/dist/ripple/p-f58833ae.system.entry.js +1 -0
- package/dist/ripple/p-f7fc6350.system.js +1 -1
- package/dist/ripple/p-f881cdc8.system.entry.js +1 -0
- package/dist/ripple/{p-444feb7d.system.entry.js → p-fbb37b4b.system.entry.js} +1 -1
- package/dist/ripple/{p-40e8071c.system.entry.js → p-fc905b2f.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +5 -0
- package/dist/types/components/charts/priv-chart-popover-old/priv-chart-popover-old.d.ts +5 -0
- package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +52 -0
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +111 -0
- package/dist/types/components/charts/wm-chart-bar/wm-chart-bar.d.ts +131 -0
- package/dist/types/components/charts/wm-chart-column/wm-chart-column.d.ts +100 -0
- package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +77 -0
- package/dist/types/components/charts/wm-line-chart/wm-line-chart.d.ts +134 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +52 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +84 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +44 -0
- package/dist/types/components/datepickers/priv-calendar/priv-calendar.d.ts +6 -2
- package/dist/types/components/datepickers/wm-date-range.d.ts +186 -0
- package/dist/types/components/datepickers/wm-datepicker.d.ts +170 -2
- package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +6 -0
- package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +162 -0
- package/dist/types/components/selects/wm-optgroup/wm-optgroup.d.ts +87 -0
- package/dist/types/components/selects/wm-option/wm-option.d.ts +117 -0
- package/dist/types/components/selects/wm-select/wm-select.d.ts +164 -0
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +122 -0
- package/dist/types/components/wm-button/wm-button.d.ts +170 -2
- package/dist/types/components/wm-file/wm-file.d.ts +92 -0
- package/dist/types/components/wm-file-list/wm-file-list.d.ts +71 -0
- package/dist/types/components/wm-flyout/wm-flyout.d.ts +193 -0
- package/dist/types/components/wm-input/wm-input.d.ts +158 -0
- package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +58 -0
- package/dist/types/components/wm-modal/wm-modal-footer.d.ts +54 -0
- package/dist/types/components/wm-modal/wm-modal-header.d.ts +30 -0
- package/dist/types/components/wm-modal/wm-modal.d.ts +148 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +4 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +4 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss.d.ts +4 -0
- package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +34 -0
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +41 -0
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +50 -0
- package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +4 -0
- package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +4 -0
- package/dist/types/components/wm-navigator/wm-navigator.d.ts +91 -3
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +90 -0
- package/dist/types/components/wm-search/wm-search.d.ts +148 -5
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +94 -0
- package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +43 -2
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +93 -0
- package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +28 -2
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +185 -0
- package/dist/types/components/wm-tag-input/wm-tag-option/wm-tag-option.d.ts +68 -0
- package/dist/types/components/wm-textarea/wm-textarea.d.ts +97 -0
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +145 -0
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +74 -0
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +128 -0
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +3 -0
- package/dist/types/components.d.ts +10513 -57
- package/package.json +2 -2
- package/dist/ripple/p-065b0134.entry.js +0 -1
- package/dist/ripple/p-210773eb.entry.js +0 -1
|
@@ -1,4 +1,120 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Input for selecting or creating a list of tags. Two variants: `'dropdown'` (options in a
|
|
4
|
+
* filterable list, supports creating new tags) and `'table'` (options in a filterable
|
|
5
|
+
* multi-column table). Options are defined as wm-tag-option children. Selected options appear
|
|
6
|
+
* as removable tags above the search field.
|
|
7
|
+
*
|
|
8
|
+
* @slot - One or more wm-tag-option children.
|
|
9
|
+
*
|
|
10
|
+
* @keyboardInteraction
|
|
11
|
+
* **Tag area (when tags are present):**
|
|
12
|
+
* - **Arrow Left / Arrow Right**: Cycle focus between selected tags.
|
|
13
|
+
* - **Backspace / Delete**: Remove the focused tag.
|
|
14
|
+
*
|
|
15
|
+
* **Search field:**
|
|
16
|
+
* - **Arrow Down / Arrow Up**: Open the dropdown or navigate within it.
|
|
17
|
+
* - **Enter**: Add a new tag from typed value (dropdown, `add-new` enabled) or select the
|
|
18
|
+
* focused option.
|
|
19
|
+
* - **Comma**: Add a new tag immediately (dropdown, `add-new` enabled).
|
|
20
|
+
* - **Escape**: Close the dropdown.
|
|
21
|
+
* - **Backspace** (empty field): Move focus to the last selected tag.
|
|
22
|
+
*
|
|
23
|
+
* @accessibility
|
|
24
|
+
* - `label` is the accessible name for the search input and dropdown/table; required even
|
|
25
|
+
* when `label-position="none"`.
|
|
26
|
+
* - An `aria-live` region announces tag additions, removals, result counts, and errors.
|
|
27
|
+
* - Two tab stops: the tag area (when tags are present) and the search field.
|
|
28
|
+
*
|
|
29
|
+
* @usageNotes
|
|
30
|
+
* - `label` is required and must always be provided.
|
|
31
|
+
* - `col-headers` is required for the `table` variant; `label-position="left"` is not
|
|
32
|
+
* supported in the `table` variant.
|
|
33
|
+
* - `max-tags` displays a counter but does not prevent selection beyond the limit — enforce
|
|
34
|
+
* the limit in your `wmTagOptionSelected` or `wmTagInputTagAdded` handler.
|
|
35
|
+
* - The `add-new` feature (dropdown only) detects and announces duplicate entries.
|
|
36
|
+
* - In React, `wmTagOptionSelected` and `wmTagOptionDeselected` bubble from `wm-tag-option`
|
|
37
|
+
* to `wm-tag-input` for the dropdown variant (listen on `WmTagInput`). For the table
|
|
38
|
+
* variant, put the handlers directly on each `WmTagOption` instead. In both cases, you
|
|
39
|
+
* must set `event.target.selected = true/false` imperatively — the component does not do
|
|
40
|
+
* this automatically.
|
|
41
|
+
* - For the `add-new` dropdown variant, create and append a new `wm-tag-option` element with
|
|
42
|
+
* `selected = true` in the `wmTagInputTagAdded` handler — the component does not create
|
|
43
|
+
* the option element automatically.
|
|
44
|
+
*
|
|
45
|
+
* @example {html} Dropdown with add-new
|
|
46
|
+
* <wm-tag-input label="Skills" add-new="true">
|
|
47
|
+
* <wm-tag-option>JavaScript</wm-tag-option>
|
|
48
|
+
* <wm-tag-option>TypeScript</wm-tag-option>
|
|
49
|
+
* <wm-tag-option>React</wm-tag-option>
|
|
50
|
+
* </wm-tag-input>
|
|
51
|
+
*
|
|
52
|
+
* @example {react} Dropdown with add-new
|
|
53
|
+
* // wmTagOptionSelected/Deselected bubble to WmTagInput for the dropdown variant.
|
|
54
|
+
* // You must set event.target.selected imperatively in each handler.
|
|
55
|
+
* // wmTagInputTagAdded fires when a new tag is created; event.detail is the tag string.
|
|
56
|
+
* // You must create and append a wm-tag-option DOM element with selected=true.
|
|
57
|
+
* const handleOptionSelected = (event) => {
|
|
58
|
+
* event.target.selected = true;
|
|
59
|
+
* setTags((prev) => [...prev, event.target.textContent.trim()]);
|
|
60
|
+
* };
|
|
61
|
+
* const handleOptionDeselected = (event) => {
|
|
62
|
+
* const isUserAdded = event.target.getAttribute('user-added');
|
|
63
|
+
* isUserAdded ? event.target.remove() : (event.target.selected = false);
|
|
64
|
+
* setTags((prev) => prev.filter((t) => t !== event.target.textContent.trim()));
|
|
65
|
+
* };
|
|
66
|
+
* const handleTagAdded = (event) => {
|
|
67
|
+
* const taginput = event.currentTarget;
|
|
68
|
+
* const newTagName = event.detail;
|
|
69
|
+
* const existingNames = Array.from(taginput.querySelectorAll('wm-tag-option'))
|
|
70
|
+
* .map((o) => o.textContent.toLowerCase().trim());
|
|
71
|
+
* if (!existingNames.includes(newTagName.toLowerCase().trim())) {
|
|
72
|
+
* const newOption = document.createElement('wm-tag-option');
|
|
73
|
+
* newOption.textContent = newTagName;
|
|
74
|
+
* newOption.id = 'tag' + Math.random().toString(36).substr(2, 6);
|
|
75
|
+
* newOption.selected = true;
|
|
76
|
+
* newOption.setAttribute('user-added', 'true');
|
|
77
|
+
* taginput.appendChild(newOption);
|
|
78
|
+
* setTags((prev) => [...prev, newTagName]);
|
|
79
|
+
* }
|
|
80
|
+
* };
|
|
81
|
+
*
|
|
82
|
+
* <WmTagInput label="Skills" addNew={true}
|
|
83
|
+
* onWmTagOptionSelected={handleOptionSelected}
|
|
84
|
+
* onWmTagOptionDeselected={handleOptionDeselected}
|
|
85
|
+
* onWmTagInputTagAdded={handleTagAdded}>
|
|
86
|
+
* <WmTagOption>JavaScript</WmTagOption>
|
|
87
|
+
* <WmTagOption>TypeScript</WmTagOption>
|
|
88
|
+
* <WmTagOption>React</WmTagOption>
|
|
89
|
+
* </WmTagInput>
|
|
90
|
+
*
|
|
91
|
+
* @example {html} Table variant
|
|
92
|
+
* <wm-tag-input label="Assign people" tag-input-type="table" col-headers="Name,Department">
|
|
93
|
+
* <wm-tag-option col1="Smith, John" col2="Engineering"></wm-tag-option>
|
|
94
|
+
* <wm-tag-option col1="Doe, Jane" col2="Design"></wm-tag-option>
|
|
95
|
+
* </wm-tag-input>
|
|
96
|
+
*
|
|
97
|
+
* @example {react} Table variant
|
|
98
|
+
* // For the table variant, put handlers on each WmTagOption rather than on WmTagInput.
|
|
99
|
+
* // event.target.col1 is the first column value, used as the tag label.
|
|
100
|
+
* const makeHandlers = (col1Value) => ({
|
|
101
|
+
* onWmTagOptionSelected: (event) => {
|
|
102
|
+
* event.target.selected = true;
|
|
103
|
+
* setSelected((prev) => [...prev, col1Value]);
|
|
104
|
+
* },
|
|
105
|
+
* onWmTagOptionDeselected: (event) => {
|
|
106
|
+
* event.target.selected = false;
|
|
107
|
+
* setSelected((prev) => prev.filter((p) => p !== col1Value));
|
|
108
|
+
* },
|
|
109
|
+
* });
|
|
110
|
+
*
|
|
111
|
+
* <WmTagInput label="Assign people" tagInputType="table" colHeaders="Name,Department">
|
|
112
|
+
* <WmTagOption col1="Smith, John" col2="Engineering" {...makeHandlers('Smith, John')} />
|
|
113
|
+
* <WmTagOption col1="Doe, Jane" col2="Design" {...makeHandlers('Doe, Jane')} />
|
|
114
|
+
* </WmTagInput>
|
|
115
|
+
*
|
|
116
|
+
* @category Form Inputs
|
|
117
|
+
*/
|
|
2
118
|
export declare class TagInput {
|
|
3
119
|
el: HTMLWmTagInputElement;
|
|
4
120
|
private inputEl;
|
|
@@ -7,19 +123,81 @@ export declare class TagInput {
|
|
|
7
123
|
private fieldWrapperEl;
|
|
8
124
|
private dropdownEl?;
|
|
9
125
|
private addNewButton?;
|
|
126
|
+
/**
|
|
127
|
+
* @description Accessible name for the search input and dropdown/table. Required even when
|
|
128
|
+
* `label-position="none"`.
|
|
129
|
+
* @required
|
|
130
|
+
*/
|
|
10
131
|
label: string;
|
|
132
|
+
/**
|
|
133
|
+
* @description Puts the component in an error state and displays this message below the
|
|
134
|
+
* field.
|
|
135
|
+
*/
|
|
11
136
|
errorMessage?: string;
|
|
137
|
+
/**
|
|
138
|
+
* @description Hint text displayed below the component.
|
|
139
|
+
*/
|
|
12
140
|
info?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @description Controls label placement. `'none'` hides the label visually but keeps it
|
|
143
|
+
* accessible. `'left'` is not supported in the `table` variant.
|
|
144
|
+
* @default "top"
|
|
145
|
+
*/
|
|
13
146
|
labelPosition: "top" | "left" | "none";
|
|
147
|
+
/**
|
|
148
|
+
* @description Maximum number of tags allowed. Displays a "Tags added: x/y" counter but
|
|
149
|
+
* does not prevent selection beyond the limit — enforce the limit in your
|
|
150
|
+
* `wmTagOptionSelected` or `wmTagInputTagAdded` handler.
|
|
151
|
+
*/
|
|
14
152
|
maxTags?: number;
|
|
153
|
+
/**
|
|
154
|
+
* @description Placeholder text in the search field. Defaults to a generated string based
|
|
155
|
+
* on `add-new` and available options.
|
|
156
|
+
*/
|
|
15
157
|
placeholder?: string;
|
|
158
|
+
/**
|
|
159
|
+
* @description Displays a required-field asterisk next to the label.
|
|
160
|
+
* @default false
|
|
161
|
+
*/
|
|
16
162
|
requiredField: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* @description Selects the component variant. `'dropdown'` shows a filterable list;
|
|
165
|
+
* `'table'` shows a filterable multi-column table.
|
|
166
|
+
* @default "dropdown"
|
|
167
|
+
*/
|
|
17
168
|
tagInputType: "dropdown" | "table";
|
|
169
|
+
/**
|
|
170
|
+
* @description Overrides the default instructional help text shown at the top of the
|
|
171
|
+
* dropdown (dropdown variant) or below the input when `max-tags` is set (table variant).
|
|
172
|
+
*/
|
|
18
173
|
helpText?: string;
|
|
174
|
+
/**
|
|
175
|
+
* @description Dropdown variant only. When true, the user can type a new value and add it
|
|
176
|
+
* as a tag by pressing Enter or comma.
|
|
177
|
+
* @default true
|
|
178
|
+
*/
|
|
19
179
|
addNew: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* @description Dropdown variant only. Maximum character limit enforced on the search field.
|
|
182
|
+
* @default 50
|
|
183
|
+
*/
|
|
20
184
|
characterLimit: number;
|
|
185
|
+
/**
|
|
186
|
+
* @description Table variant only. Comma-separated list of column header labels. The number
|
|
187
|
+
* of headers determines the number of columns.
|
|
188
|
+
* @conditionallyRequired Required when `tag-input-type="table"`.
|
|
189
|
+
*/
|
|
21
190
|
colHeaders: string;
|
|
191
|
+
/**
|
|
192
|
+
* @description Table variant only. Comma-separated column widths. Blank values fill
|
|
193
|
+
* remaining space.
|
|
194
|
+
*/
|
|
22
195
|
colWidths?: string;
|
|
196
|
+
/**
|
|
197
|
+
* @description Table variant only. Comma-separated text-wrapping rules per column — `'wrap'`
|
|
198
|
+
* or `'trunc'` (truncate with tooltip).
|
|
199
|
+
* @default "wrap" for all columns
|
|
200
|
+
*/
|
|
23
201
|
colWrap?: string;
|
|
24
202
|
addNewHelpText: string;
|
|
25
203
|
selectionHelpText: string;
|
|
@@ -28,6 +206,13 @@ export declare class TagInput {
|
|
|
28
206
|
tagsAddedMessage: string;
|
|
29
207
|
noResultsMessage: string;
|
|
30
208
|
addNewTagMessage(newTagName: string): string;
|
|
209
|
+
/**
|
|
210
|
+
* @description Fires when the user adds a new tag by typing and pressing Enter or comma
|
|
211
|
+
* (dropdown variant, `add-new` enabled). The event detail is the text string of the new
|
|
212
|
+
* tag. Not fired when selecting an existing wm-tag-option — listen to `wmTagOptionSelected`
|
|
213
|
+
* on the wm-tag-option for that.
|
|
214
|
+
* @eventDetails string — the text of the newly created tag.
|
|
215
|
+
*/
|
|
31
216
|
wmTagInputTagAdded: EventEmitter;
|
|
32
217
|
private openUp;
|
|
33
218
|
isKeying: boolean;
|
|
@@ -1,17 +1,85 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Option element for wm-tag-input. Represents a selectable tag in the dropdown list or
|
|
4
|
+
* table. Always used as a direct child of wm-tag-input. For the dropdown variant, slotted
|
|
5
|
+
* text content is the tag label; for the table variant, use `col1`–`col4` props.
|
|
6
|
+
*
|
|
7
|
+
* @usageNotes
|
|
8
|
+
* - Pre-select an option on load by setting `selected`; lock it from removal by setting
|
|
9
|
+
* `locked`.
|
|
10
|
+
* - Listen to `wmTagOptionSelected` and `wmTagOptionDeselected` to react to selection
|
|
11
|
+
* changes.
|
|
12
|
+
*
|
|
13
|
+
* @example {html} Dropdown option
|
|
14
|
+
* <wm-tag-option>JavaScript</wm-tag-option>
|
|
15
|
+
*
|
|
16
|
+
* @example {react} Dropdown option
|
|
17
|
+
* <WmTagOption onWmTagOptionSelected={handleSelect}>JavaScript</WmTagOption>
|
|
18
|
+
*
|
|
19
|
+
* @example {html} Pre-selected option
|
|
20
|
+
* <wm-tag-option selected>TypeScript</wm-tag-option>
|
|
21
|
+
*
|
|
22
|
+
* @example {react} Table option (col1–col4)
|
|
23
|
+
* <WmTagOption col1="Smith, John" col2="Engineering" />
|
|
24
|
+
*/
|
|
2
25
|
export declare class TagOption {
|
|
3
26
|
el: HTMLWmTagOptionElement;
|
|
27
|
+
/**
|
|
28
|
+
* @description Whether this option is currently selected (appears as a tag). Setting this
|
|
29
|
+
* on load pre-selects the option.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
4
32
|
selected: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @description When true, the option is permanently selected and cannot be removed by the
|
|
35
|
+
* user.
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
5
38
|
locked: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* @description First column value for the `table` variant. Also used as the tag label when
|
|
41
|
+
* this option is selected.
|
|
42
|
+
*/
|
|
6
43
|
col1?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @description Second column value for the `table` variant.
|
|
46
|
+
*/
|
|
7
47
|
col2?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @description Third column value for the `table` variant.
|
|
50
|
+
*/
|
|
8
51
|
col3?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @description Fourth column value for the `table` variant.
|
|
54
|
+
*/
|
|
9
55
|
col4?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* @description Internal signal consumed by wm-tag-input to update the tag list — not for application use.
|
|
59
|
+
*/
|
|
10
60
|
privTagOptionSelected: EventEmitter<void>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
* @description Internal signal consumed by wm-tag-input to update the tag list — not for application use.
|
|
64
|
+
*/
|
|
11
65
|
privTagOptionDeselected: EventEmitter<void>;
|
|
66
|
+
/**
|
|
67
|
+
* @description Fires when this option is selected as a tag.
|
|
68
|
+
*/
|
|
12
69
|
wmTagOptionSelected: EventEmitter;
|
|
70
|
+
/**
|
|
71
|
+
* @description Fires when this option's tag is removed.
|
|
72
|
+
*/
|
|
13
73
|
wmTagOptionDeselected: EventEmitter;
|
|
74
|
+
/**
|
|
75
|
+
* @description Programmatically selects this option, adding it as a tag.
|
|
76
|
+
* @returns A promise that resolves once the event has been emitted.
|
|
77
|
+
*/
|
|
14
78
|
emitSelectedEvent(): Promise<void>;
|
|
79
|
+
/**
|
|
80
|
+
* @description Programmatically deselects this option, removing it as a tag.
|
|
81
|
+
* @returns A promise that resolves once the event has been emitted.
|
|
82
|
+
*/
|
|
15
83
|
emitDeselectedEvent(): Promise<void>;
|
|
16
84
|
componentWillLoad(): void;
|
|
17
85
|
handleSelected(): void;
|
|
@@ -1,20 +1,117 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Multi-line plain-text editing control with a drag handle for vertical resizing. Shares
|
|
4
|
+
* most functionality with wm-input. Use instead of native `<textarea>` in all Watermark UI.
|
|
5
|
+
*
|
|
6
|
+
* @accessibility
|
|
7
|
+
* - `label` sets the accessible label for the textarea; required even when
|
|
8
|
+
* `label-position="none"`.
|
|
9
|
+
* - When `character-limit` is set, a counter below the field turns red when exceeded; the
|
|
10
|
+
* count is announced via `aria-live` when within 5 characters of the limit or exceeded.
|
|
11
|
+
* - Error messages are announced via an `aria-live` region.
|
|
12
|
+
* - `info` text is associated via `aria-describedby` and read by screen readers on focus.
|
|
13
|
+
*
|
|
14
|
+
* @usageNotes
|
|
15
|
+
* - In HTML, set the initial value via text content: `<wm-textarea>initial value</wm-textarea>`.
|
|
16
|
+
* In React, use the `value` prop for controlled usage.
|
|
17
|
+
* - `wmTextareaValueChanged` fires on blur only when the value has changed; use the native
|
|
18
|
+
* `input` event for per-keystroke updates.
|
|
19
|
+
* - `event.detail.value` is the current string value.
|
|
20
|
+
*
|
|
21
|
+
* @example {html} Basic textarea
|
|
22
|
+
* <wm-textarea label="Notes" placeholder="Enter notes here..."></wm-textarea>
|
|
23
|
+
*
|
|
24
|
+
* @example {react} Basic textarea
|
|
25
|
+
* // value + onWmTextareaValueChanged is the standard controlled pattern.
|
|
26
|
+
* const [notes, setNotes] = useState("");
|
|
27
|
+
*
|
|
28
|
+
* <WmTextarea
|
|
29
|
+
* label="Notes"
|
|
30
|
+
* placeholder="Enter notes here..."
|
|
31
|
+
* value={notes}
|
|
32
|
+
* onWmTextareaValueChanged={(e) => setNotes(e.detail.value)} />
|
|
33
|
+
*
|
|
34
|
+
* @example {html} With character limit
|
|
35
|
+
* <wm-textarea label="Summary" character-limit="500"></wm-textarea>
|
|
36
|
+
*
|
|
37
|
+
* @example {react} With character limit
|
|
38
|
+
* <WmTextarea label="Summary" characterLimit={500} />
|
|
39
|
+
*
|
|
40
|
+
* @category Form Inputs
|
|
41
|
+
*/
|
|
2
42
|
export declare class Textarea {
|
|
3
43
|
el: HTMLWmTextareaElement;
|
|
4
44
|
private liveRegionEl;
|
|
45
|
+
/**
|
|
46
|
+
* @description Fires on blur when the value has changed since load or the last blur. Use
|
|
47
|
+
* the native `input` event for per-keystroke updates.
|
|
48
|
+
* @eventDetails {{ value: string }} value — the current textarea value at the time of blur.
|
|
49
|
+
*/
|
|
5
50
|
wmTextareaValueChanged: EventEmitter<{
|
|
6
51
|
value: string;
|
|
7
52
|
}>;
|
|
53
|
+
/**
|
|
54
|
+
* @description Accessible label for the textarea. Required even when
|
|
55
|
+
* `label-position="none"`.
|
|
56
|
+
* @required
|
|
57
|
+
*/
|
|
8
58
|
label: string;
|
|
59
|
+
/**
|
|
60
|
+
* @description Controls label placement. `'none'` hides the label visually but keeps it
|
|
61
|
+
* accessible.
|
|
62
|
+
* @default "top"
|
|
63
|
+
*/
|
|
9
64
|
labelPosition: "top" | "left" | "none";
|
|
65
|
+
/**
|
|
66
|
+
* @description The current value typed by the user. Line breaks are represented as `\n`.
|
|
67
|
+
* To set an initial value, use the element's text content instead:
|
|
68
|
+
* `<wm-textarea>initial value</wm-textarea>`.
|
|
69
|
+
* @default ""
|
|
70
|
+
*/
|
|
10
71
|
value: string;
|
|
72
|
+
/**
|
|
73
|
+
* @description Disables the component, preventing all interaction.
|
|
74
|
+
* @default false
|
|
75
|
+
*/
|
|
11
76
|
disabled: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* @description Hint text displayed below the textarea. Read by screen readers on focus via
|
|
79
|
+
* `aria-describedby`.
|
|
80
|
+
*/
|
|
12
81
|
info?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @description Placeholder text shown inside the empty textarea.
|
|
84
|
+
* @default ""
|
|
85
|
+
*/
|
|
13
86
|
placeholder: string;
|
|
87
|
+
/**
|
|
88
|
+
* @description Displays a required-field asterisk next to the label.
|
|
89
|
+
* @default false
|
|
90
|
+
*/
|
|
14
91
|
requiredField: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @description Puts the component in an error state and displays this message below the
|
|
94
|
+
* textarea.
|
|
95
|
+
*/
|
|
15
96
|
errorMessage?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @description Maximum number of characters allowed. Displays a live counter below the
|
|
99
|
+
* field. Does not prevent typing beyond the limit (to allow pasting and editing) but the
|
|
100
|
+
* counter turns red when exceeded. Disabled when unset.
|
|
101
|
+
*/
|
|
16
102
|
characterLimit?: number;
|
|
103
|
+
/**
|
|
104
|
+
* @description CSS width value for the textarea element itself, independent of the overall
|
|
105
|
+
* component width. Useful when the label or error message should extend wider than the
|
|
106
|
+
* field.
|
|
107
|
+
* @default ""
|
|
108
|
+
*/
|
|
17
109
|
inputWidth: string;
|
|
110
|
+
/**
|
|
111
|
+
* @description CSS height value for the initial height of the textarea. The user can resize
|
|
112
|
+
* it with the drag handle.
|
|
113
|
+
* @default "" (approximately 3 lines)
|
|
114
|
+
*/
|
|
18
115
|
inputHeight: string;
|
|
19
116
|
announcement: string;
|
|
20
117
|
private previousValue;
|
|
@@ -1,5 +1,101 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
import { TimeFormat12, TimeFormat24 } from "../../global/interfaces";
|
|
3
|
+
/**
|
|
4
|
+
* Time input that lets users type a time or pick one from a dropdown list of 15-minute
|
|
5
|
+
* intervals. Supports 12-hour and 24-hour display and provides `reformatTime` and
|
|
6
|
+
* `isValidTime` utility methods. Use instead of native `<input type="time">`.
|
|
7
|
+
*
|
|
8
|
+
* @keyboardInteraction
|
|
9
|
+
* **Input field:**
|
|
10
|
+
* - **Arrow Down / Arrow Up**: Open the dropdown focused on the nearest time interval.
|
|
11
|
+
*
|
|
12
|
+
* **Dropdown button:**
|
|
13
|
+
* - **Enter / Space**: Open the dropdown.
|
|
14
|
+
*
|
|
15
|
+
* **Dropdown list:**
|
|
16
|
+
* - **Arrow Down / Arrow Up**: Move focus to the next/previous option; wraps at both ends.
|
|
17
|
+
* - **Home / End**: Move focus to the first/last option.
|
|
18
|
+
* - **Enter / Space**: Select the focused time and close the dropdown.
|
|
19
|
+
* - **Tab**: Close the dropdown and advance focus (without selecting).
|
|
20
|
+
* - **Escape**: Close the dropdown without selecting.
|
|
21
|
+
*
|
|
22
|
+
* @accessibility
|
|
23
|
+
* - `label` sets the accessible name on the input; required even when `label-position="none"`.
|
|
24
|
+
* - Error messages are announced via an `aria-live` region.
|
|
25
|
+
*
|
|
26
|
+
* @usageNotes
|
|
27
|
+
* - The dropdown displays 15-minute intervals (00:00–23:45) in 12-hour format; typed input
|
|
28
|
+
* is accepted in both 12-hour and 24-hour formats.
|
|
29
|
+
* - `wmTimepickerTimeSelected` emits `{ time: string }` in 24-hour `hh:mm` format. Always
|
|
30
|
+
* call `reformatTime("12", ...)` on the result and write it back to `value` so the input
|
|
31
|
+
* displays the formatted string.
|
|
32
|
+
* - Use `reformatTime` and `isValidTime` via an imperative ref — they are async component
|
|
33
|
+
* methods, not props.
|
|
34
|
+
* - When writing a curried event-handler factory, the outer function must NOT be async;
|
|
35
|
+
* only the inner handler should be async, otherwise the factory returns a Promise instead
|
|
36
|
+
* of a function.
|
|
37
|
+
*
|
|
38
|
+
* @example {html} Basic timepicker
|
|
39
|
+
* <wm-timepicker label="Start time"></wm-timepicker>
|
|
40
|
+
*
|
|
41
|
+
* @example {react} Basic timepicker
|
|
42
|
+
* // wmTimepickerTimeSelected emits { time } in 24hr format.
|
|
43
|
+
* // Call reformatTime and write back to value so the input displays the result.
|
|
44
|
+
* // handleInputBlur validates free-form typed input on blur using isValidTime.
|
|
45
|
+
* // NOTE: the outer factory function must NOT be async — only the inner handler should be.
|
|
46
|
+
* const startRef = useRef(null);
|
|
47
|
+
* const [startValue, setStartValue] = useState("");
|
|
48
|
+
* const [startError, setStartError] = useState("");
|
|
49
|
+
*
|
|
50
|
+
* const handleTimeSelected = (ref, setValue, setError) => async (e) => {
|
|
51
|
+
* const time12 = await ref.current.reformatTime("12", e.detail.time);
|
|
52
|
+
* setError("");
|
|
53
|
+
* setValue(time12);
|
|
54
|
+
* };
|
|
55
|
+
*
|
|
56
|
+
* const handleInputBlur = (ref, value, setValue, setError) => async () => {
|
|
57
|
+
* if (!value) return;
|
|
58
|
+
* const valid = await ref.current.isValidTime(value);
|
|
59
|
+
* if (valid) {
|
|
60
|
+
* const time12 = await ref.current.reformatTime("12", value);
|
|
61
|
+
* setError("");
|
|
62
|
+
* setValue(time12);
|
|
63
|
+
* } else {
|
|
64
|
+
* setError("Please enter a valid time.");
|
|
65
|
+
* }
|
|
66
|
+
* };
|
|
67
|
+
*
|
|
68
|
+
* <WmTimepicker
|
|
69
|
+
* ref={startRef}
|
|
70
|
+
* label="Start time"
|
|
71
|
+
* value={startValue}
|
|
72
|
+
* errorMessage={startError}
|
|
73
|
+
* onWmTimepickerTimeSelected={handleTimeSelected(startRef, setStartValue, setStartError)}
|
|
74
|
+
* onWmTimepickerInputBlurred={handleInputBlur(startRef, startValue, setStartValue, setStartError)}
|
|
75
|
+
* />
|
|
76
|
+
*
|
|
77
|
+
* @example {html} With pre-selected time
|
|
78
|
+
* <wm-timepicker label="Meeting time" preselected="14:30" value="2:30 PM"></wm-timepicker>
|
|
79
|
+
*
|
|
80
|
+
* @example {react} With pre-selected time
|
|
81
|
+
* // preselected (24hr) controls where the dropdown focuses on open.
|
|
82
|
+
* // value sets the initial display string in the input.
|
|
83
|
+
* const meetingRef = useRef(null);
|
|
84
|
+
* const [meetingValue, setMeetingValue] = useState("2:30 PM");
|
|
85
|
+
* const [meetingError, setMeetingError] = useState("");
|
|
86
|
+
*
|
|
87
|
+
* <WmTimepicker
|
|
88
|
+
* ref={meetingRef}
|
|
89
|
+
* label="Meeting time"
|
|
90
|
+
* preselected="14:30"
|
|
91
|
+
* value={meetingValue}
|
|
92
|
+
* errorMessage={meetingError}
|
|
93
|
+
* onWmTimepickerTimeSelected={handleTimeSelected(meetingRef, setMeetingValue, setMeetingError)}
|
|
94
|
+
* onWmTimepickerInputBlurred={handleInputBlur(meetingRef, meetingValue, setMeetingValue, setMeetingError)}
|
|
95
|
+
* />
|
|
96
|
+
*
|
|
97
|
+
* @category Form Inputs
|
|
98
|
+
*/
|
|
3
99
|
export declare class Timepicker {
|
|
4
100
|
el: HTMLWmTimepickerElement;
|
|
5
101
|
private inputEl;
|
|
@@ -7,15 +103,52 @@ export declare class Timepicker {
|
|
|
7
103
|
private tpWrapper;
|
|
8
104
|
private buttonEl;
|
|
9
105
|
private liveRegionEl;
|
|
106
|
+
/**
|
|
107
|
+
* @description Disables the timepicker, preventing all interaction.
|
|
108
|
+
* @default false
|
|
109
|
+
*/
|
|
10
110
|
disabled: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* @description The time displayed in the input field. Updated as the user types. Can also
|
|
113
|
+
* be set programmatically by the application.
|
|
114
|
+
* @default ""
|
|
115
|
+
*/
|
|
11
116
|
value: string;
|
|
117
|
+
/**
|
|
118
|
+
* @description Puts the component in an error state and displays this message below the
|
|
119
|
+
* input.
|
|
120
|
+
*/
|
|
12
121
|
errorMessage?: string;
|
|
122
|
+
/**
|
|
123
|
+
* @description Accessible label for the input. Required even when `label-position="none"`.
|
|
124
|
+
* @required
|
|
125
|
+
*/
|
|
13
126
|
label: string;
|
|
127
|
+
/**
|
|
128
|
+
* @description Controls label placement. `'none'` hides the label visually but keeps it
|
|
129
|
+
* accessible.
|
|
130
|
+
* @default "top"
|
|
131
|
+
*/
|
|
14
132
|
labelPosition: "top" | "left" | "none";
|
|
133
|
+
/**
|
|
134
|
+
* @description Displays a required-field asterisk next to the label.
|
|
135
|
+
* @default false
|
|
136
|
+
*/
|
|
15
137
|
requiredField: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* @description The time the dropdown scrolls to and focuses when opened, in 24-hour format
|
|
140
|
+
* (e.g. `'14:30'`). Falls back to parsing `value`; defaults to `'09:00'` if unparseable.
|
|
141
|
+
*/
|
|
16
142
|
preselected?: string;
|
|
17
143
|
isExpanded: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* @description Fires when the input field loses focus.
|
|
146
|
+
*/
|
|
18
147
|
wmTimepickerInputBlurred: EventEmitter;
|
|
148
|
+
/**
|
|
149
|
+
* @description Fires when the user selects a time from the dropdown list.
|
|
150
|
+
* @eventDetails {{ time: string }} time — the selected time in 24-hour `hh:mm` format.
|
|
151
|
+
*/
|
|
19
152
|
wmTimepickerTimeSelected: EventEmitter;
|
|
20
153
|
private twelveHrValid;
|
|
21
154
|
private twentyFourHrValid;
|
|
@@ -26,8 +159,20 @@ export declare class Timepicker {
|
|
|
26
159
|
get selectedOption(): HTMLLIElement;
|
|
27
160
|
get optionsList(): HTMLLIElement[];
|
|
28
161
|
get isDisabled(): boolean;
|
|
162
|
+
/**
|
|
163
|
+
* @description Validates a time string against both 12-hour and 24-hour formats.
|
|
164
|
+
* @param input The time string to validate.
|
|
165
|
+
* @returns `true` if the string is a valid time, `false` otherwise.
|
|
166
|
+
*/
|
|
29
167
|
isValidTime(input: string): Promise<boolean>;
|
|
30
168
|
isValidTimeInternal(input: string): boolean;
|
|
169
|
+
/**
|
|
170
|
+
* @description Converts a time string between 12-hour and 24-hour formats.
|
|
171
|
+
* @param format The target format: `"12"` for 12-hour (e.g. `"02:30 PM"`), `"24"` for
|
|
172
|
+
* 24-hour (e.g. `"14:30"`).
|
|
173
|
+
* @param time The time string to convert. Accepts both 12-hour and 24-hour input.
|
|
174
|
+
* @returns The reformatted time string.
|
|
175
|
+
*/
|
|
31
176
|
reformatTime(format: "12" | "24", time: TimeFormat12 | TimeFormat24): Promise<string>;
|
|
32
177
|
announce(message: string): void;
|
|
33
178
|
reformatTimeInternal(format: "12" | "24", time: TimeFormat12 | TimeFormat24): string;
|
|
@@ -1,10 +1,84 @@
|
|
|
1
1
|
import { TooltipPlacement } from "../../global/interfaces";
|
|
2
|
+
/**
|
|
3
|
+
* Toggletip button that shows a small informational panel when clicked. Two visual types:
|
|
4
|
+
* `'info'` renders an info icon button; `'ai'` renders an animated AI sparkle icon. The
|
|
5
|
+
* panel content is provided via the `tooltip` prop and is announced to screen readers via
|
|
6
|
+
* an `aria-live` region.
|
|
7
|
+
*
|
|
8
|
+
* @keyboardInteraction
|
|
9
|
+
* - **Enter / Space**: Opens or toggles the toggletip panel.
|
|
10
|
+
* - **Escape**: Closes the panel without propagating (will not close a parent modal).
|
|
11
|
+
* - **Tab**: Closes the panel and advances focus to the next element.
|
|
12
|
+
*
|
|
13
|
+
* @accessibility
|
|
14
|
+
* - `label` sets the `aria-label` on the trigger button — required even though the button
|
|
15
|
+
* has a visual icon.
|
|
16
|
+
* - The panel content is announced via `role="status"` / `aria-live="polite"` when opened,
|
|
17
|
+
* and re-announced if the button is activated while the panel is already open.
|
|
18
|
+
* - A hover/focus tooltip shows `"More information"` (info type) or `"Powered by AI"` (ai
|
|
19
|
+
* type) while the panel is closed.
|
|
20
|
+
*
|
|
21
|
+
* @usageNotes
|
|
22
|
+
* - Both `label` and `tooltip` are required; the component logs a console error on load if
|
|
23
|
+
* either is missing.
|
|
24
|
+
* - `tooltip-position` is the preferred opening direction; the component auto-corrects it if
|
|
25
|
+
* the panel would overflow the viewport.
|
|
26
|
+
*
|
|
27
|
+
* @example {html} Info toggletip
|
|
28
|
+
* <wm-toggletip
|
|
29
|
+
* label="More about this field"
|
|
30
|
+
* tooltip="This field accepts ISO 8601 dates.">
|
|
31
|
+
* </wm-toggletip>
|
|
32
|
+
*
|
|
33
|
+
* @example {react} Info toggletip
|
|
34
|
+
* <WmToggletip label="More about this field" tooltip="This field accepts ISO 8601 dates." />
|
|
35
|
+
*
|
|
36
|
+
* @example {html} AI toggletip
|
|
37
|
+
* <wm-toggletip
|
|
38
|
+
* toggletip-type="ai"
|
|
39
|
+
* label="AI-generated content"
|
|
40
|
+
* tooltip="This summary was generated by AI and may contain errors.">
|
|
41
|
+
* </wm-toggletip>
|
|
42
|
+
*
|
|
43
|
+
* @example {react} AI toggletip
|
|
44
|
+
* <WmToggletip
|
|
45
|
+
* toggletipType="ai"
|
|
46
|
+
* label="AI-generated content"
|
|
47
|
+
* tooltip="This summary was generated by AI and may contain errors." />
|
|
48
|
+
*
|
|
49
|
+
* @category Communication
|
|
50
|
+
*/
|
|
2
51
|
export declare class Toggletip {
|
|
3
52
|
el: HTMLWmToggletipElement;
|
|
53
|
+
/**
|
|
54
|
+
* @description Accessible label for the trigger button. Also shown as a hover/focus tooltip
|
|
55
|
+
* while the panel is closed. Required for screen reader users.
|
|
56
|
+
* @required
|
|
57
|
+
*/
|
|
4
58
|
label?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @description Content displayed inside the toggletip panel when opened. Also announced
|
|
61
|
+
* via an `aria-live` region when the panel opens.
|
|
62
|
+
* @required
|
|
63
|
+
*/
|
|
5
64
|
tooltip: string;
|
|
65
|
+
/**
|
|
66
|
+
* @description Preferred opening direction for the panel. Auto-corrected if the panel would
|
|
67
|
+
* overflow the viewport.
|
|
68
|
+
* @default "bottom-right"
|
|
69
|
+
*/
|
|
6
70
|
tooltipPosition: TooltipPlacement;
|
|
71
|
+
/**
|
|
72
|
+
* @description Size of the trigger button icon. `'large'` satisfies WCAG 2.5.8 touch
|
|
73
|
+
* target requirements.
|
|
74
|
+
* @default "small"
|
|
75
|
+
*/
|
|
7
76
|
targetSize: "small" | "large";
|
|
77
|
+
/**
|
|
78
|
+
* @description Visual style of the trigger icon. `'info'` shows an info icon; `'ai'` shows
|
|
79
|
+
* an animated sparkle icon.
|
|
80
|
+
* @default "info"
|
|
81
|
+
*/
|
|
8
82
|
toggletipType: "info" | "ai";
|
|
9
83
|
isHidden: boolean;
|
|
10
84
|
private toggletipEl;
|