@carbon/web-components 2.40.1 → 2.41.0
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/custom-elements.json +130 -0
- package/dist/ai-label.min.js +8 -8
- package/dist/breadcrumb.min.js +4 -4
- package/dist/button-CmUJmoio.js +93 -0
- package/dist/{button-skeleton-DKiPqzwa.js → button-skeleton-Ba4xDn6y.js} +1 -1
- package/dist/button.min.js +1 -1
- package/dist/chat-button.min.js +3 -3
- package/dist/code-snippet.min.js +29 -29
- package/dist/combo-button.min.js +7 -7
- package/dist/content-switcher-item-Cz7OvIj8.js +54 -0
- package/dist/content-switcher.min.js +1 -1
- package/dist/copy-button.min.js +8 -8
- package/dist/data-table.min.js +41 -41
- package/dist/feature-flags.min.js +1 -1
- package/dist/file-uploader.min.js +29 -29
- package/dist/floating-controller-CxZPAslz.js +28 -0
- package/dist/icon-button.min.js +7 -7
- package/dist/icon-indicator.min.js +1 -1
- package/dist/menu-button.min.js +5 -5
- package/dist/modal.min.js +6 -6
- package/dist/notification.min.js +36 -38
- package/dist/overflow-menu.min.js +6 -6
- package/dist/pagination.min.js +25 -25
- package/dist/password-input.min.js +7 -7
- package/dist/popover.min.js +9 -9
- package/dist/progress-indicator.min.js +12 -12
- package/dist/radio-button.min.js +3 -3
- package/dist/side-panel.min.js +6 -6
- package/dist/skip-to-content.min.js +4 -4
- package/dist/slug.min.js +8 -8
- package/dist/tabs.min.js +24 -24
- package/dist/tag.min.js +49 -49
- package/dist/tearsheet.min.js +1 -1
- package/dist/tile.min.js +1 -1
- package/dist/toggle-tip.min.js +14 -14
- package/dist/tooltip-content-Tyg0Hg0i.js +30 -0
- package/dist/tooltip.min.js +1 -1
- package/dist/tree-view.min.js +5 -2
- package/dist/ui-shell.min.js +53 -53
- package/es/components/accordion/accordion-item.d.ts +27 -11
- package/es/components/ai-label/ai-label.scss.js +1 -1
- package/es/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es/components/button/button.d.ts +56 -22
- package/es/components/button/button.scss.js +1 -1
- package/es/components/chat-button/chat-button.scss.js +1 -1
- package/es/components/checkbox/checkbox-group.d.ts +2 -0
- package/es/components/checkbox/checkbox.d.ts +56 -22
- package/es/components/code-snippet/code-snippet.d.ts +29 -11
- package/es/components/code-snippet/code-snippet.scss.js +1 -1
- package/es/components/combo-button/combo-button.d.ts +27 -11
- package/es/components/combo-button/combo-button.scss.js +1 -1
- package/es/components/content-switcher/content-switcher-item.d.ts +29 -11
- package/es/components/content-switcher/content-switcher.scss.js +1 -1
- package/es/components/copy-button/copy-button.d.ts +27 -11
- package/es/components/copy-button/copy-button.scss.js +1 -1
- package/es/components/data-table/data-table.scss.js +1 -1
- package/es/components/data-table/table-expanded-row.d.ts +27 -11
- package/es/components/data-table/table-header-cell.d.ts +29 -11
- package/es/components/data-table/table-row.d.ts +54 -22
- package/es/components/data-table/table-toolbar-search.d.ts +29 -11
- package/es/components/data-table/table.d.ts +27 -11
- package/es/components/data-table/table.js +12 -4
- package/es/components/data-table/table.js.map +1 -1
- package/es/components/date-picker/date-picker-input.d.ts +29 -11
- package/es/components/date-picker/date-picker.d.ts +54 -22
- package/es/components/dropdown/dropdown.d.ts +110 -44
- package/es/components/feature-flags/index.js +1 -0
- package/es/components/feature-flags/index.js.map +1 -1
- package/es/components/file-uploader/file-uploader-button.d.ts +27 -11
- package/es/components/file-uploader/file-uploader-drop-container.d.ts +27 -11
- package/es/components/file-uploader/file-uploader.scss.js +1 -1
- package/es/components/floating-menu/floating-menu.d.ts +56 -22
- package/es/components/icon-button/icon-button.scss.js +1 -1
- package/es/components/link/link.d.ts +29 -11
- package/es/components/menu/menu-item-selectable.d.ts +2 -0
- package/es/components/menu/menu-item.d.ts +54 -22
- package/es/components/menu/menu.d.ts +27 -11
- package/es/components/menu-button/menu-button.d.ts +27 -11
- package/es/components/menu-button/menu-button.scss.js +1 -1
- package/es/components/modal/modal-close-button.d.ts +29 -11
- package/es/components/modal/modal.d.ts +27 -11
- package/es/components/modal/modal.scss.js +1 -1
- package/es/components/notification/actionable-notification.d.ts +27 -11
- package/es/components/notification/actionable-notification.scss.js +1 -1
- package/es/components/notification/inline-notification.d.ts +27 -11
- package/es/components/notification/inline-notification.scss.js +1 -1
- package/es/components/notification/toast-notification.d.ts +1 -1
- package/es/components/notification/toast-notification.js +13 -15
- package/es/components/notification/toast-notification.js.map +1 -1
- package/es/components/notification/toast-notification.scss.js +1 -1
- package/es/components/number-input/number-input.d.ts +2 -0
- package/es/components/overflow-menu/overflow-menu-item.d.ts +29 -11
- package/es/components/overflow-menu/overflow-menu.d.ts +54 -22
- package/es/components/overflow-menu/overflow-menu.scss.js +1 -1
- package/es/components/pagination/pagination.d.ts +56 -22
- package/es/components/pagination/pagination.js +12 -7
- package/es/components/pagination/pagination.js.map +1 -1
- package/es/components/pagination/pagination.scss.js +1 -1
- package/es/components/password-input/password-input.d.ts +2 -0
- package/es/components/popover/defs.d.ts +13 -0
- package/es/components/popover/defs.js +15 -1
- package/es/components/popover/defs.js.map +1 -1
- package/es/components/popover/popover-content.d.ts +13 -0
- package/es/components/popover/popover-content.js +22 -0
- package/es/components/popover/popover-content.js.map +1 -1
- package/es/components/popover/popover.d.ts +37 -12
- package/es/components/popover/popover.js +31 -3
- package/es/components/popover/popover.js.map +1 -1
- package/es/components/popover/popover.scss.js +1 -1
- package/es/components/progress-indicator/progress-indicator.scss.js +1 -1
- package/es/components/progress-indicator/progress-step.d.ts +29 -11
- package/es/components/radio-button/radio-button-group.d.ts +54 -22
- package/es/components/radio-button/radio-button.d.ts +56 -22
- package/es/components/search/search.d.ts +83 -33
- package/es/components/select/select.d.ts +29 -11
- package/es/components/side-panel/side-panel.d.ts +27 -11
- package/es/components/skip-to-content/skip-to-content.d.ts +29 -11
- package/es/components/skip-to-content/skip-to-content.scss.js +1 -1
- package/es/components/slider/slider-input.d.ts +29 -11
- package/es/components/slider/slider.d.ts +83 -33
- package/es/components/slug/slug.scss.js +1 -1
- package/es/components/structured-list/structured-list-row.d.ts +27 -11
- package/es/components/structured-list/structured-list.d.ts +29 -11
- package/es/components/tabs/tabs.d.ts +27 -11
- package/es/components/tabs/tabs.scss.js +1 -1
- package/es/components/tag/dismissible-tag.d.ts +54 -22
- package/es/components/tag/operational-tag.d.ts +54 -22
- package/es/components/tag/selectable-tag.d.ts +54 -22
- package/es/components/tag/tag.d.ts +54 -22
- package/es/components/tag/tag.scss.js +1 -1
- package/es/components/tearsheet/tearsheet.d.ts +27 -11
- package/es/components/text-input/text-input.d.ts +56 -22
- package/es/components/textarea/textarea.d.ts +2 -0
- package/es/components/tile/expandable-tile.d.ts +54 -22
- package/es/components/tile/selectable-tile.d.ts +56 -22
- package/es/components/tile/tile-group.d.ts +27 -11
- package/es/components/tile/tile.scss.js +1 -1
- package/es/components/time-picker/time-picker-select.d.ts +29 -11
- package/es/components/time-picker/time-picker.d.ts +56 -22
- package/es/components/toggle/toggle.d.ts +27 -11
- package/es/components/toggle-tip/toggletip.d.ts +56 -22
- package/es/components/toggle-tip/toggletip.scss.js +1 -1
- package/es/components/tooltip/tooltip.d.ts +27 -11
- package/es/components/tooltip/tooltip.js +3 -0
- package/es/components/tooltip/tooltip.js.map +1 -1
- package/es/components/tooltip/tooltip.scss.js +1 -1
- package/es/components/tree-view/tree-node.js +4 -4
- package/es/components/tree-view/tree-node.js.map +1 -1
- package/es/components/tree-view/tree-view.d.ts +27 -11
- package/es/components/ui-shell/header-global-action.d.ts +2 -0
- package/es/components/ui-shell/header-menu-button.d.ts +29 -11
- package/es/components/ui-shell/header-menu.d.ts +56 -22
- package/es/components/ui-shell/header-name.d.ts +29 -11
- package/es/components/ui-shell/header-nav-item.d.ts +29 -11
- package/es/components/ui-shell/header-panel.d.ts +2 -0
- package/es/components/ui-shell/header.scss.js +1 -1
- package/es/components/ui-shell/side-nav-link.d.ts +29 -11
- package/es/components/ui-shell/side-nav-menu-item.d.ts +29 -11
- package/es/components/ui-shell/side-nav-menu.d.ts +29 -11
- package/es/components/ui-shell/side-nav.d.ts +27 -11
- package/es/components/ui-shell/switcher-item.d.ts +29 -11
- package/es/components/ui-shell/switcher.d.ts +2 -0
- package/es/feature-flags/es/index.js +30 -2
- package/es/feature-flags/es/index.js.map +1 -1
- package/es/globals/mixins/focus.d.ts +27 -11
- package/es/globals/mixins/form.d.ts +27 -11
- package/es/globals/mixins/host-listener.d.ts +27 -11
- package/es/globals/mixins/validity.d.ts +27 -11
- package/es-custom/components/accordion/accordion-item.d.ts +27 -11
- package/es-custom/components/ai-label/ai-label.scss.js +1 -1
- package/es-custom/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es-custom/components/button/button.d.ts +56 -22
- package/es-custom/components/button/button.scss.js +1 -1
- package/es-custom/components/chat-button/chat-button.scss.js +1 -1
- package/es-custom/components/checkbox/checkbox-group.d.ts +2 -0
- package/es-custom/components/checkbox/checkbox.d.ts +56 -22
- package/es-custom/components/code-snippet/code-snippet.d.ts +29 -11
- package/es-custom/components/code-snippet/code-snippet.scss.js +1 -1
- package/es-custom/components/combo-button/combo-button.d.ts +27 -11
- package/es-custom/components/combo-button/combo-button.scss.js +1 -1
- package/es-custom/components/content-switcher/content-switcher-item.d.ts +29 -11
- package/es-custom/components/content-switcher/content-switcher.scss.js +1 -1
- package/es-custom/components/copy-button/copy-button.d.ts +27 -11
- package/es-custom/components/copy-button/copy-button.scss.js +1 -1
- package/es-custom/components/data-table/data-table.scss.js +1 -1
- package/es-custom/components/data-table/table-expanded-row.d.ts +27 -11
- package/es-custom/components/data-table/table-header-cell.d.ts +29 -11
- package/es-custom/components/data-table/table-row.d.ts +54 -22
- package/es-custom/components/data-table/table-toolbar-search.d.ts +29 -11
- package/es-custom/components/data-table/table.d.ts +27 -11
- package/es-custom/components/data-table/table.js +12 -4
- package/es-custom/components/data-table/table.js.map +1 -1
- package/es-custom/components/date-picker/date-picker-input.d.ts +29 -11
- package/es-custom/components/date-picker/date-picker.d.ts +54 -22
- package/es-custom/components/dropdown/dropdown.d.ts +110 -44
- package/es-custom/components/feature-flags/index.js +1 -0
- package/es-custom/components/feature-flags/index.js.map +1 -1
- package/es-custom/components/file-uploader/file-uploader-button.d.ts +27 -11
- package/es-custom/components/file-uploader/file-uploader-drop-container.d.ts +27 -11
- package/es-custom/components/file-uploader/file-uploader.scss.js +1 -1
- package/es-custom/components/floating-menu/floating-menu.d.ts +56 -22
- package/es-custom/components/icon-button/icon-button.scss.js +1 -1
- package/es-custom/components/link/link.d.ts +29 -11
- package/es-custom/components/menu/menu-item-selectable.d.ts +2 -0
- package/es-custom/components/menu/menu-item.d.ts +54 -22
- package/es-custom/components/menu/menu.d.ts +27 -11
- package/es-custom/components/menu-button/menu-button.d.ts +27 -11
- package/es-custom/components/menu-button/menu-button.scss.js +1 -1
- package/es-custom/components/modal/modal-close-button.d.ts +29 -11
- package/es-custom/components/modal/modal.d.ts +27 -11
- package/es-custom/components/modal/modal.scss.js +1 -1
- package/es-custom/components/notification/actionable-notification.d.ts +27 -11
- package/es-custom/components/notification/actionable-notification.scss.js +1 -1
- package/es-custom/components/notification/inline-notification.d.ts +27 -11
- package/es-custom/components/notification/inline-notification.scss.js +1 -1
- package/es-custom/components/notification/toast-notification.d.ts +1 -1
- package/es-custom/components/notification/toast-notification.js +13 -15
- package/es-custom/components/notification/toast-notification.js.map +1 -1
- package/es-custom/components/notification/toast-notification.scss.js +1 -1
- package/es-custom/components/number-input/number-input.d.ts +2 -0
- package/es-custom/components/overflow-menu/overflow-menu-item.d.ts +29 -11
- package/es-custom/components/overflow-menu/overflow-menu.d.ts +54 -22
- package/es-custom/components/overflow-menu/overflow-menu.scss.js +1 -1
- package/es-custom/components/pagination/pagination.d.ts +56 -22
- package/es-custom/components/pagination/pagination.js +12 -7
- package/es-custom/components/pagination/pagination.js.map +1 -1
- package/es-custom/components/pagination/pagination.scss.js +1 -1
- package/es-custom/components/password-input/password-input.d.ts +2 -0
- package/es-custom/components/popover/defs.d.ts +13 -0
- package/es-custom/components/popover/defs.js +15 -1
- package/es-custom/components/popover/defs.js.map +1 -1
- package/es-custom/components/popover/popover-content.d.ts +13 -0
- package/es-custom/components/popover/popover-content.js +22 -0
- package/es-custom/components/popover/popover-content.js.map +1 -1
- package/es-custom/components/popover/popover.d.ts +37 -12
- package/es-custom/components/popover/popover.js +31 -3
- package/es-custom/components/popover/popover.js.map +1 -1
- package/es-custom/components/popover/popover.scss.js +1 -1
- package/es-custom/components/progress-indicator/progress-indicator.scss.js +1 -1
- package/es-custom/components/progress-indicator/progress-step.d.ts +29 -11
- package/es-custom/components/radio-button/radio-button-group.d.ts +54 -22
- package/es-custom/components/radio-button/radio-button.d.ts +56 -22
- package/es-custom/components/search/search.d.ts +83 -33
- package/es-custom/components/select/select.d.ts +29 -11
- package/es-custom/components/side-panel/side-panel.d.ts +27 -11
- package/es-custom/components/skip-to-content/skip-to-content.d.ts +29 -11
- package/es-custom/components/skip-to-content/skip-to-content.scss.js +1 -1
- package/es-custom/components/slider/slider-input.d.ts +29 -11
- package/es-custom/components/slider/slider.d.ts +83 -33
- package/es-custom/components/slug/slug.scss.js +1 -1
- package/es-custom/components/structured-list/structured-list-row.d.ts +27 -11
- package/es-custom/components/structured-list/structured-list.d.ts +29 -11
- package/es-custom/components/tabs/tabs.d.ts +27 -11
- package/es-custom/components/tabs/tabs.scss.js +1 -1
- package/es-custom/components/tag/dismissible-tag.d.ts +54 -22
- package/es-custom/components/tag/operational-tag.d.ts +54 -22
- package/es-custom/components/tag/selectable-tag.d.ts +54 -22
- package/es-custom/components/tag/tag.d.ts +54 -22
- package/es-custom/components/tag/tag.scss.js +1 -1
- package/es-custom/components/tearsheet/tearsheet.d.ts +27 -11
- package/es-custom/components/text-input/text-input.d.ts +56 -22
- package/es-custom/components/textarea/textarea.d.ts +2 -0
- package/es-custom/components/tile/expandable-tile.d.ts +54 -22
- package/es-custom/components/tile/selectable-tile.d.ts +56 -22
- package/es-custom/components/tile/tile-group.d.ts +27 -11
- package/es-custom/components/tile/tile.scss.js +1 -1
- package/es-custom/components/time-picker/time-picker-select.d.ts +29 -11
- package/es-custom/components/time-picker/time-picker.d.ts +56 -22
- package/es-custom/components/toggle/toggle.d.ts +27 -11
- package/es-custom/components/toggle-tip/toggletip.d.ts +56 -22
- package/es-custom/components/toggle-tip/toggletip.scss.js +1 -1
- package/es-custom/components/tooltip/tooltip.d.ts +27 -11
- package/es-custom/components/tooltip/tooltip.js +3 -0
- package/es-custom/components/tooltip/tooltip.js.map +1 -1
- package/es-custom/components/tooltip/tooltip.scss.js +1 -1
- package/es-custom/components/tree-view/tree-node.js +4 -4
- package/es-custom/components/tree-view/tree-node.js.map +1 -1
- package/es-custom/components/tree-view/tree-view.d.ts +27 -11
- package/es-custom/components/ui-shell/header-global-action.d.ts +2 -0
- package/es-custom/components/ui-shell/header-menu-button.d.ts +29 -11
- package/es-custom/components/ui-shell/header-menu.d.ts +56 -22
- package/es-custom/components/ui-shell/header-name.d.ts +29 -11
- package/es-custom/components/ui-shell/header-nav-item.d.ts +29 -11
- package/es-custom/components/ui-shell/header-panel.d.ts +2 -0
- package/es-custom/components/ui-shell/header.scss.js +1 -1
- package/es-custom/components/ui-shell/side-nav-link.d.ts +29 -11
- package/es-custom/components/ui-shell/side-nav-menu-item.d.ts +29 -11
- package/es-custom/components/ui-shell/side-nav-menu.d.ts +29 -11
- package/es-custom/components/ui-shell/side-nav.d.ts +27 -11
- package/es-custom/components/ui-shell/switcher-item.d.ts +29 -11
- package/es-custom/components/ui-shell/switcher.d.ts +2 -0
- package/es-custom/feature-flags/es/index.js +30 -2
- package/es-custom/feature-flags/es/index.js.map +1 -1
- package/es-custom/globals/mixins/focus.d.ts +27 -11
- package/es-custom/globals/mixins/form.d.ts +27 -11
- package/es-custom/globals/mixins/host-listener.d.ts +27 -11
- package/es-custom/globals/mixins/validity.d.ts +27 -11
- package/lib/components/accordion/accordion-item.d.ts +27 -11
- package/lib/components/button/button.d.ts +56 -22
- package/lib/components/checkbox/checkbox-group.d.ts +2 -0
- package/lib/components/checkbox/checkbox.d.ts +56 -22
- package/lib/components/code-snippet/code-snippet.d.ts +29 -11
- package/lib/components/combo-button/combo-button.d.ts +27 -11
- package/lib/components/content-switcher/content-switcher-item.d.ts +29 -11
- package/lib/components/copy-button/copy-button.d.ts +27 -11
- package/lib/components/data-table/table-expanded-row.d.ts +27 -11
- package/lib/components/data-table/table-header-cell.d.ts +29 -11
- package/lib/components/data-table/table-row.d.ts +54 -22
- package/lib/components/data-table/table-toolbar-search.d.ts +29 -11
- package/lib/components/data-table/table.d.ts +27 -11
- package/lib/components/date-picker/date-picker-input.d.ts +29 -11
- package/lib/components/date-picker/date-picker.d.ts +54 -22
- package/lib/components/dropdown/dropdown.d.ts +110 -44
- package/lib/components/file-uploader/file-uploader-button.d.ts +27 -11
- package/lib/components/file-uploader/file-uploader-drop-container.d.ts +27 -11
- package/lib/components/floating-menu/floating-menu.d.ts +56 -22
- package/lib/components/link/link.d.ts +29 -11
- package/lib/components/menu/menu-item-selectable.d.ts +2 -0
- package/lib/components/menu/menu-item.d.ts +54 -22
- package/lib/components/menu/menu.d.ts +27 -11
- package/lib/components/menu-button/menu-button.d.ts +27 -11
- package/lib/components/modal/modal-close-button.d.ts +29 -11
- package/lib/components/modal/modal.d.ts +27 -11
- package/lib/components/notification/actionable-notification.d.ts +27 -11
- package/lib/components/notification/inline-notification.d.ts +27 -11
- package/lib/components/notification/toast-notification.d.ts +1 -1
- package/lib/components/number-input/number-input.d.ts +2 -0
- package/lib/components/overflow-menu/overflow-menu-item.d.ts +29 -11
- package/lib/components/overflow-menu/overflow-menu.d.ts +54 -22
- package/lib/components/pagination/pagination.d.ts +56 -22
- package/lib/components/password-input/password-input.d.ts +2 -0
- package/lib/components/popover/defs.d.ts +13 -0
- package/lib/components/popover/defs.js +14 -0
- package/lib/components/popover/defs.js.map +1 -1
- package/lib/components/popover/popover-content.d.ts +13 -0
- package/lib/components/popover/popover.d.ts +37 -12
- package/lib/components/progress-indicator/progress-step.d.ts +29 -11
- package/lib/components/radio-button/radio-button-group.d.ts +54 -22
- package/lib/components/radio-button/radio-button.d.ts +56 -22
- package/lib/components/search/search.d.ts +83 -33
- package/lib/components/select/select.d.ts +29 -11
- package/lib/components/side-panel/side-panel.d.ts +27 -11
- package/lib/components/skip-to-content/skip-to-content.d.ts +29 -11
- package/lib/components/slider/slider-input.d.ts +29 -11
- package/lib/components/slider/slider.d.ts +83 -33
- package/lib/components/structured-list/structured-list-row.d.ts +27 -11
- package/lib/components/structured-list/structured-list.d.ts +29 -11
- package/lib/components/tabs/tabs.d.ts +27 -11
- package/lib/components/tag/dismissible-tag.d.ts +54 -22
- package/lib/components/tag/operational-tag.d.ts +54 -22
- package/lib/components/tag/selectable-tag.d.ts +54 -22
- package/lib/components/tag/tag.d.ts +54 -22
- package/lib/components/tearsheet/tearsheet.d.ts +27 -11
- package/lib/components/text-input/text-input.d.ts +56 -22
- package/lib/components/textarea/textarea.d.ts +2 -0
- package/lib/components/tile/expandable-tile.d.ts +54 -22
- package/lib/components/tile/selectable-tile.d.ts +56 -22
- package/lib/components/tile/tile-group.d.ts +27 -11
- package/lib/components/time-picker/time-picker-select.d.ts +29 -11
- package/lib/components/time-picker/time-picker.d.ts +56 -22
- package/lib/components/toggle/toggle.d.ts +27 -11
- package/lib/components/toggle-tip/toggletip.d.ts +56 -22
- package/lib/components/tooltip/tooltip.d.ts +27 -11
- package/lib/components/tree-view/tree-view.d.ts +27 -11
- package/lib/components/ui-shell/header-global-action.d.ts +2 -0
- package/lib/components/ui-shell/header-menu-button.d.ts +29 -11
- package/lib/components/ui-shell/header-menu.d.ts +56 -22
- package/lib/components/ui-shell/header-name.d.ts +29 -11
- package/lib/components/ui-shell/header-nav-item.d.ts +29 -11
- package/lib/components/ui-shell/header-panel.d.ts +2 -0
- package/lib/components/ui-shell/side-nav-link.d.ts +29 -11
- package/lib/components/ui-shell/side-nav-menu-item.d.ts +29 -11
- package/lib/components/ui-shell/side-nav-menu.d.ts +29 -11
- package/lib/components/ui-shell/side-nav.d.ts +27 -11
- package/lib/components/ui-shell/switcher-item.d.ts +29 -11
- package/lib/components/ui-shell/switcher.d.ts +2 -0
- package/lib/globals/mixins/focus.d.ts +27 -11
- package/lib/globals/mixins/form.d.ts +27 -11
- package/lib/globals/mixins/host-listener.d.ts +27 -11
- package/lib/globals/mixins/validity.d.ts +27 -11
- package/package.json +5 -5
- package/scss/components/modal/modal.scss +6 -0
- package/scss/components/popover/popover.scss +210 -9
- package/scss/components/tile/tile.scss +7 -7
- package/telemetry.yml +5 -1
- package/dist/button-Co3aPX0Y.js +0 -93
- package/dist/content-switcher-item-BDJMJLCb.js +0 -54
- package/dist/defs-CBJRLDfw.js +0 -28
- package/dist/floating-controller-CnuSelc_.js +0 -28
- package/dist/tooltip-content-BZBP-szv.js +0 -30
|
@@ -13,6 +13,7 @@ declare const CDSPagination_base: {
|
|
|
13
13
|
accessKey: string;
|
|
14
14
|
readonly accessKeyLabel: string;
|
|
15
15
|
autocapitalize: string;
|
|
16
|
+
autocorrect: boolean;
|
|
16
17
|
dir: string;
|
|
17
18
|
draggable: boolean;
|
|
18
19
|
hidden: boolean;
|
|
@@ -34,13 +35,14 @@ declare const CDSPagination_base: {
|
|
|
34
35
|
click(): void;
|
|
35
36
|
hidePopover(): void;
|
|
36
37
|
showPopover(): void;
|
|
37
|
-
togglePopover(
|
|
38
|
+
togglePopover(options?: boolean): boolean;
|
|
38
39
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
39
40
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
40
41
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
41
42
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
42
43
|
readonly attributes: NamedNodeMap;
|
|
43
|
-
|
|
44
|
+
get classList(): DOMTokenList;
|
|
45
|
+
set classList(value: string);
|
|
44
46
|
className: string;
|
|
45
47
|
readonly clientHeight: number;
|
|
46
48
|
readonly clientLeft: number;
|
|
@@ -55,7 +57,8 @@ declare const CDSPagination_base: {
|
|
|
55
57
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
56
58
|
outerHTML: string;
|
|
57
59
|
readonly ownerDocument: Document;
|
|
58
|
-
|
|
60
|
+
get part(): DOMTokenList;
|
|
61
|
+
set part(value: string);
|
|
59
62
|
readonly prefix: string | null;
|
|
60
63
|
readonly scrollHeight: number;
|
|
61
64
|
scrollLeft: number;
|
|
@@ -118,6 +121,8 @@ declare const CDSPagination_base: {
|
|
|
118
121
|
setPointerCapture(pointerId: number): void;
|
|
119
122
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
120
123
|
webkitMatchesSelector(selectors: string): boolean;
|
|
124
|
+
get textContent(): string;
|
|
125
|
+
set textContent(value: string | null);
|
|
121
126
|
readonly baseURI: string;
|
|
122
127
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
123
128
|
readonly firstChild: ChildNode | null;
|
|
@@ -130,9 +135,8 @@ declare const CDSPagination_base: {
|
|
|
130
135
|
readonly parentElement: HTMLElement | null;
|
|
131
136
|
readonly parentNode: ParentNode | null;
|
|
132
137
|
readonly previousSibling: ChildNode | null;
|
|
133
|
-
textContent: string | null;
|
|
134
138
|
appendChild<T extends Node>(node: T): T;
|
|
135
|
-
cloneNode(
|
|
139
|
+
cloneNode(subtree?: boolean): Node;
|
|
136
140
|
compareDocumentPosition(other: Node): number;
|
|
137
141
|
contains(other: Node | null): boolean;
|
|
138
142
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -165,6 +169,7 @@ declare const CDSPagination_base: {
|
|
|
165
169
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
166
170
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
167
171
|
dispatchEvent(event: Event): boolean;
|
|
172
|
+
ariaActiveDescendantElement: Element | null;
|
|
168
173
|
ariaAtomic: string | null;
|
|
169
174
|
ariaAutoComplete: string | null;
|
|
170
175
|
ariaBrailleLabel: string | null;
|
|
@@ -175,25 +180,33 @@ declare const CDSPagination_base: {
|
|
|
175
180
|
ariaColIndex: string | null;
|
|
176
181
|
ariaColIndexText: string | null;
|
|
177
182
|
ariaColSpan: string | null;
|
|
183
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
178
184
|
ariaCurrent: string | null;
|
|
185
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
179
186
|
ariaDescription: string | null;
|
|
187
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
180
188
|
ariaDisabled: string | null;
|
|
189
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
181
190
|
ariaExpanded: string | null;
|
|
191
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
182
192
|
ariaHasPopup: string | null;
|
|
183
193
|
ariaHidden: string | null;
|
|
184
194
|
ariaInvalid: string | null;
|
|
185
195
|
ariaKeyShortcuts: string | null;
|
|
186
196
|
ariaLabel: string | null;
|
|
197
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
187
198
|
ariaLevel: string | null;
|
|
188
199
|
ariaLive: string | null;
|
|
189
200
|
ariaModal: string | null;
|
|
190
201
|
ariaMultiLine: string | null;
|
|
191
202
|
ariaMultiSelectable: string | null;
|
|
192
203
|
ariaOrientation: string | null;
|
|
204
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
193
205
|
ariaPlaceholder: string | null;
|
|
194
206
|
ariaPosInSet: string | null;
|
|
195
207
|
ariaPressed: string | null;
|
|
196
208
|
ariaReadOnly: string | null;
|
|
209
|
+
ariaRelevant: string | null;
|
|
197
210
|
ariaRequired: string | null;
|
|
198
211
|
ariaRoleDescription: string | null;
|
|
199
212
|
ariaRowCount: string | null;
|
|
@@ -235,7 +248,8 @@ declare const CDSPagination_base: {
|
|
|
235
248
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
236
249
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
237
250
|
readonly attributeStyleMap: StylePropertyMap;
|
|
238
|
-
|
|
251
|
+
get style(): CSSStyleDeclaration;
|
|
252
|
+
set style(cssText: string);
|
|
239
253
|
contentEditable: string;
|
|
240
254
|
enterKeyHint: string;
|
|
241
255
|
inputMode: string;
|
|
@@ -245,18 +259,19 @@ declare const CDSPagination_base: {
|
|
|
245
259
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
246
260
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
247
261
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
248
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
262
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
249
263
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
250
|
-
|
|
264
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
251
266
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
252
267
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
253
268
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
269
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
270
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
271
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
257
272
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
273
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
274
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
260
275
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
276
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
262
277
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -304,6 +319,7 @@ declare const CDSPagination_base: {
|
|
|
304
319
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
320
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
321
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
322
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
323
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
308
324
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
309
325
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -322,7 +338,7 @@ declare const CDSPagination_base: {
|
|
|
322
338
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
323
339
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
324
340
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
341
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
326
342
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
327
343
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
328
344
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -352,6 +368,7 @@ declare const CDSPagination_base: {
|
|
|
352
368
|
accessKey: string;
|
|
353
369
|
readonly accessKeyLabel: string;
|
|
354
370
|
autocapitalize: string;
|
|
371
|
+
autocorrect: boolean;
|
|
355
372
|
dir: string;
|
|
356
373
|
draggable: boolean;
|
|
357
374
|
hidden: boolean;
|
|
@@ -373,13 +390,14 @@ declare const CDSPagination_base: {
|
|
|
373
390
|
click(): void;
|
|
374
391
|
hidePopover(): void;
|
|
375
392
|
showPopover(): void;
|
|
376
|
-
togglePopover(
|
|
393
|
+
togglePopover(options?: boolean): boolean;
|
|
377
394
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
378
395
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
379
396
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
380
397
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
381
398
|
readonly attributes: NamedNodeMap;
|
|
382
|
-
|
|
399
|
+
get classList(): DOMTokenList;
|
|
400
|
+
set classList(value: string);
|
|
383
401
|
className: string;
|
|
384
402
|
readonly clientHeight: number;
|
|
385
403
|
readonly clientLeft: number;
|
|
@@ -394,7 +412,8 @@ declare const CDSPagination_base: {
|
|
|
394
412
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
395
413
|
outerHTML: string;
|
|
396
414
|
readonly ownerDocument: Document;
|
|
397
|
-
|
|
415
|
+
get part(): DOMTokenList;
|
|
416
|
+
set part(value: string);
|
|
398
417
|
readonly prefix: string | null;
|
|
399
418
|
readonly scrollHeight: number;
|
|
400
419
|
scrollLeft: number;
|
|
@@ -457,6 +476,8 @@ declare const CDSPagination_base: {
|
|
|
457
476
|
setPointerCapture(pointerId: number): void;
|
|
458
477
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
459
478
|
webkitMatchesSelector(selectors: string): boolean;
|
|
479
|
+
get textContent(): string;
|
|
480
|
+
set textContent(value: string | null);
|
|
460
481
|
readonly baseURI: string;
|
|
461
482
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
462
483
|
readonly firstChild: ChildNode | null;
|
|
@@ -469,9 +490,8 @@ declare const CDSPagination_base: {
|
|
|
469
490
|
readonly parentElement: HTMLElement | null;
|
|
470
491
|
readonly parentNode: ParentNode | null;
|
|
471
492
|
readonly previousSibling: ChildNode | null;
|
|
472
|
-
textContent: string | null;
|
|
473
493
|
appendChild<T extends Node>(node: T): T;
|
|
474
|
-
cloneNode(
|
|
494
|
+
cloneNode(subtree?: boolean): Node;
|
|
475
495
|
compareDocumentPosition(other: Node): number;
|
|
476
496
|
contains(other: Node | null): boolean;
|
|
477
497
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -504,6 +524,7 @@ declare const CDSPagination_base: {
|
|
|
504
524
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
505
525
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
506
526
|
dispatchEvent(event: Event): boolean;
|
|
527
|
+
ariaActiveDescendantElement: Element | null;
|
|
507
528
|
ariaAtomic: string | null;
|
|
508
529
|
ariaAutoComplete: string | null;
|
|
509
530
|
ariaBrailleLabel: string | null;
|
|
@@ -514,25 +535,33 @@ declare const CDSPagination_base: {
|
|
|
514
535
|
ariaColIndex: string | null;
|
|
515
536
|
ariaColIndexText: string | null;
|
|
516
537
|
ariaColSpan: string | null;
|
|
538
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
517
539
|
ariaCurrent: string | null;
|
|
540
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
518
541
|
ariaDescription: string | null;
|
|
542
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
519
543
|
ariaDisabled: string | null;
|
|
544
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
520
545
|
ariaExpanded: string | null;
|
|
546
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
521
547
|
ariaHasPopup: string | null;
|
|
522
548
|
ariaHidden: string | null;
|
|
523
549
|
ariaInvalid: string | null;
|
|
524
550
|
ariaKeyShortcuts: string | null;
|
|
525
551
|
ariaLabel: string | null;
|
|
552
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
526
553
|
ariaLevel: string | null;
|
|
527
554
|
ariaLive: string | null;
|
|
528
555
|
ariaModal: string | null;
|
|
529
556
|
ariaMultiLine: string | null;
|
|
530
557
|
ariaMultiSelectable: string | null;
|
|
531
558
|
ariaOrientation: string | null;
|
|
559
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
532
560
|
ariaPlaceholder: string | null;
|
|
533
561
|
ariaPosInSet: string | null;
|
|
534
562
|
ariaPressed: string | null;
|
|
535
563
|
ariaReadOnly: string | null;
|
|
564
|
+
ariaRelevant: string | null;
|
|
536
565
|
ariaRequired: string | null;
|
|
537
566
|
ariaRoleDescription: string | null;
|
|
538
567
|
ariaRowCount: string | null;
|
|
@@ -574,7 +603,8 @@ declare const CDSPagination_base: {
|
|
|
574
603
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
575
604
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
576
605
|
readonly attributeStyleMap: StylePropertyMap;
|
|
577
|
-
|
|
606
|
+
get style(): CSSStyleDeclaration;
|
|
607
|
+
set style(cssText: string);
|
|
578
608
|
contentEditable: string;
|
|
579
609
|
enterKeyHint: string;
|
|
580
610
|
inputMode: string;
|
|
@@ -584,18 +614,19 @@ declare const CDSPagination_base: {
|
|
|
584
614
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
585
615
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
586
616
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
587
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
617
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
588
618
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
589
|
-
|
|
619
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
620
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
590
621
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
591
622
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
592
623
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
593
624
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
594
625
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
595
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
626
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
596
627
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
597
628
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
598
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
629
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
599
630
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
600
631
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
601
632
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -643,6 +674,7 @@ declare const CDSPagination_base: {
|
|
|
643
674
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
644
675
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
645
676
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
677
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
646
678
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
647
679
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
648
680
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -661,7 +693,7 @@ declare const CDSPagination_base: {
|
|
|
661
693
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
662
694
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
663
695
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
664
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
696
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
665
697
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
666
698
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
667
699
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -852,6 +884,8 @@ declare class CDSPagination extends CDSPagination_base {
|
|
|
852
884
|
static get eventPageSizeChanged(): string;
|
|
853
885
|
static shadowRootOptions: {
|
|
854
886
|
delegatesFocus: boolean;
|
|
887
|
+
clonable?: boolean;
|
|
888
|
+
customElementRegistry?: CustomElementRegistry;
|
|
855
889
|
mode: ShadowRootMode;
|
|
856
890
|
serializable?: boolean;
|
|
857
891
|
slotAssignment?: SlotAssignmentMode;
|
|
@@ -60,6 +60,8 @@ declare class CDSPasswordInput extends CDSTextInput {
|
|
|
60
60
|
static get slugItem(): string;
|
|
61
61
|
static shadowRootOptions: {
|
|
62
62
|
delegatesFocus: boolean;
|
|
63
|
+
clonable?: boolean;
|
|
64
|
+
customElementRegistry?: CustomElementRegistry;
|
|
63
65
|
mode: ShadowRootMode;
|
|
64
66
|
serializable?: boolean;
|
|
65
67
|
slotAssignment?: SlotAssignmentMode;
|
|
@@ -105,3 +105,16 @@ export declare enum POPOVER_ALIGNMENT {
|
|
|
105
105
|
*/
|
|
106
106
|
RIGHT_END = "right-end"
|
|
107
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* The background token options for popover.
|
|
110
|
+
*/
|
|
111
|
+
export declare enum POPOVER_BACKGROUND_TOKEN {
|
|
112
|
+
/**
|
|
113
|
+
* Use the layer token for the background.
|
|
114
|
+
*/
|
|
115
|
+
LAYER = "layer",
|
|
116
|
+
/**
|
|
117
|
+
* Use the background token for the background.
|
|
118
|
+
*/
|
|
119
|
+
BACKGROUND = "background"
|
|
120
|
+
}
|
|
@@ -115,4 +115,18 @@ exports.POPOVER_ALIGNMENT = void 0;
|
|
|
115
115
|
*/
|
|
116
116
|
POPOVER_ALIGNMENT["RIGHT_END"] = "right-end";
|
|
117
117
|
})(exports.POPOVER_ALIGNMENT || (exports.POPOVER_ALIGNMENT = {}));
|
|
118
|
+
/**
|
|
119
|
+
* The background token options for popover.
|
|
120
|
+
*/
|
|
121
|
+
exports.POPOVER_BACKGROUND_TOKEN = void 0;
|
|
122
|
+
(function (POPOVER_BACKGROUND_TOKEN) {
|
|
123
|
+
/**
|
|
124
|
+
* Use the layer token for the background.
|
|
125
|
+
*/
|
|
126
|
+
POPOVER_BACKGROUND_TOKEN["LAYER"] = "layer";
|
|
127
|
+
/**
|
|
128
|
+
* Use the background token for the background.
|
|
129
|
+
*/
|
|
130
|
+
POPOVER_BACKGROUND_TOKEN["BACKGROUND"] = "background";
|
|
131
|
+
})(exports.POPOVER_BACKGROUND_TOKEN || (exports.POPOVER_BACKGROUND_TOKEN = {}));
|
|
118
132
|
//# sourceMappingURL=defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sources":["../../../src/components/popover/defs.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2020, 2024\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/**\n * The alignment choices of popover.\n */\nexport enum POPOVER_ALIGNMENT {\n /**\n * Align the top position for the popover content.\n */\n TOP = 'top',\n\n /**\n * Align the top-left position for the popover content.\n *\n * @deprecated\n */\n TOP_LEFT = 'top-left',\n\n /**\n * Align the top right position for the popover content.\n *\n * @deprecated\n */\n TOP_RIGHT = 'top-right',\n\n /**\n * Align the top-start position for the popover content.\n */\n TOP_START = 'top-start',\n\n /**\n * Align the top end position for the popover content.\n */\n TOP_END = 'top-end',\n\n /**\n * Align the bottom position for the popover content.\n */\n BOTTOM = 'bottom',\n\n /**\n * Align the bottom left position for the popover content.\n *\n * @deprecated\n */\n BOTTOM_LEFT = 'bottom-left',\n\n /**\n * Align the bottom right position for the popover content.\n *\n * @deprecated\n */\n BOTTOM_RIGHT = 'bottom-right',\n\n /**\n * Align the bottom start position for the popover content.\n */\n BOTTOM_START = 'bottom-start',\n\n /**\n * Align the bottom end position for the popover content.\n */\n BOTTOM_END = 'bottom-end',\n\n /**\n * Align the left position for the popover content.\n */\n LEFT = 'left',\n\n /**\n * Align the left bottom position for the popover content.\n *\n * @deprecated\n */\n LEFT_BOTTOM = 'left-bottom',\n\n /**\n * Align the left top position for the popover content.\n *\n * @deprecated\n */\n LEFT_TOP = 'left-top',\n\n /**\n * Align the left start position for the popover content.\n */\n LEFT_START = 'left-start',\n\n /**\n * Align the left end position for the popover content.\n */\n LEFT_END = 'left-end',\n\n /**\n * Align the right position for the popover content.\n */\n RIGHT = 'right',\n\n /**\n * Align the right bottom position for the popover content.\n *\n * @deprecated\n */\n RIGHT_BOTTOM = 'right-bottom',\n\n /**\n * Align the right top position for the popover content.\n *\n * @deprecated\n */\n RIGHT_TOP = 'right-top',\n\n /**\n * Align the right start position for the popover content.\n */\n RIGHT_START = 'right-start',\n\n /**\n * Align the right end position for the popover content.\n */\n RIGHT_END = 'right-end',\n}\n"],"names":["POPOVER_ALIGNMENT"],"mappings":";;;;;;;;;AAAA;;;;;AAKG;AACH;;AAEG;AACSA;AAAZ,CAAA,UAAY,iBAAiB,EAAA;AAC3B;;AAEG;AACH,IAAA,iBAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AAEX;;;;AAIG;AACH,IAAA,iBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AAErB;;;;AAIG;AACH,IAAA,iBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AAEvB;;AAEG;AACH,IAAA,iBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AAEvB;;AAEG;AACH,IAAA,iBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AAEnB;;AAEG;AACH,IAAA,iBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AAEjB;;;;AAIG;AACH,IAAA,iBAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAE3B;;;;AAIG;AACH,IAAA,iBAAA,CAAA,cAAA,CAAA,GAAA,cAA6B;AAE7B;;AAEG;AACH,IAAA,iBAAA,CAAA,cAAA,CAAA,GAAA,cAA6B;AAE7B;;AAEG;AACH,IAAA,iBAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AAEzB;;AAEG;AACH,IAAA,iBAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AAEb;;;;AAIG;AACH,IAAA,iBAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAE3B;;;;AAIG;AACH,IAAA,iBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AAErB;;AAEG;AACH,IAAA,iBAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AAEzB;;AAEG;AACH,IAAA,iBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AAErB;;AAEG;AACH,IAAA,iBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AAEf;;;;AAIG;AACH,IAAA,iBAAA,CAAA,cAAA,CAAA,GAAA,cAA6B;AAE7B;;;;AAIG;AACH,IAAA,iBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AAEvB;;AAEG;AACH,IAAA,iBAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAE3B;;AAEG;AACH,IAAA,iBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACzB,CAAC,EApHWA,yBAAiB,KAAjBA,yBAAiB,GAoH5B,EAAA,CAAA,CAAA;;"}
|
|
1
|
+
{"version":3,"file":"defs.js","sources":["../../../src/components/popover/defs.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2020, 2024\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/**\n * The alignment choices of popover.\n */\nexport enum POPOVER_ALIGNMENT {\n /**\n * Align the top position for the popover content.\n */\n TOP = 'top',\n\n /**\n * Align the top-left position for the popover content.\n *\n * @deprecated\n */\n TOP_LEFT = 'top-left',\n\n /**\n * Align the top right position for the popover content.\n *\n * @deprecated\n */\n TOP_RIGHT = 'top-right',\n\n /**\n * Align the top-start position for the popover content.\n */\n TOP_START = 'top-start',\n\n /**\n * Align the top end position for the popover content.\n */\n TOP_END = 'top-end',\n\n /**\n * Align the bottom position for the popover content.\n */\n BOTTOM = 'bottom',\n\n /**\n * Align the bottom left position for the popover content.\n *\n * @deprecated\n */\n BOTTOM_LEFT = 'bottom-left',\n\n /**\n * Align the bottom right position for the popover content.\n *\n * @deprecated\n */\n BOTTOM_RIGHT = 'bottom-right',\n\n /**\n * Align the bottom start position for the popover content.\n */\n BOTTOM_START = 'bottom-start',\n\n /**\n * Align the bottom end position for the popover content.\n */\n BOTTOM_END = 'bottom-end',\n\n /**\n * Align the left position for the popover content.\n */\n LEFT = 'left',\n\n /**\n * Align the left bottom position for the popover content.\n *\n * @deprecated\n */\n LEFT_BOTTOM = 'left-bottom',\n\n /**\n * Align the left top position for the popover content.\n *\n * @deprecated\n */\n LEFT_TOP = 'left-top',\n\n /**\n * Align the left start position for the popover content.\n */\n LEFT_START = 'left-start',\n\n /**\n * Align the left end position for the popover content.\n */\n LEFT_END = 'left-end',\n\n /**\n * Align the right position for the popover content.\n */\n RIGHT = 'right',\n\n /**\n * Align the right bottom position for the popover content.\n *\n * @deprecated\n */\n RIGHT_BOTTOM = 'right-bottom',\n\n /**\n * Align the right top position for the popover content.\n *\n * @deprecated\n */\n RIGHT_TOP = 'right-top',\n\n /**\n * Align the right start position for the popover content.\n */\n RIGHT_START = 'right-start',\n\n /**\n * Align the right end position for the popover content.\n */\n RIGHT_END = 'right-end',\n}\n\n/**\n * The background token options for popover.\n */\nexport enum POPOVER_BACKGROUND_TOKEN {\n /**\n * Use the layer token for the background.\n */\n LAYER = 'layer',\n\n /**\n * Use the background token for the background.\n */\n BACKGROUND = 'background',\n}\n"],"names":["POPOVER_ALIGNMENT","POPOVER_BACKGROUND_TOKEN"],"mappings":";;;;;;;;;AAAA;;;;;AAKG;AACH;;AAEG;AACSA;AAAZ,CAAA,UAAY,iBAAiB,EAAA;AAC3B;;AAEG;AACH,IAAA,iBAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AAEX;;;;AAIG;AACH,IAAA,iBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AAErB;;;;AAIG;AACH,IAAA,iBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AAEvB;;AAEG;AACH,IAAA,iBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AAEvB;;AAEG;AACH,IAAA,iBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AAEnB;;AAEG;AACH,IAAA,iBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AAEjB;;;;AAIG;AACH,IAAA,iBAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAE3B;;;;AAIG;AACH,IAAA,iBAAA,CAAA,cAAA,CAAA,GAAA,cAA6B;AAE7B;;AAEG;AACH,IAAA,iBAAA,CAAA,cAAA,CAAA,GAAA,cAA6B;AAE7B;;AAEG;AACH,IAAA,iBAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AAEzB;;AAEG;AACH,IAAA,iBAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AAEb;;;;AAIG;AACH,IAAA,iBAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAE3B;;;;AAIG;AACH,IAAA,iBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AAErB;;AAEG;AACH,IAAA,iBAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AAEzB;;AAEG;AACH,IAAA,iBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AAErB;;AAEG;AACH,IAAA,iBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AAEf;;;;AAIG;AACH,IAAA,iBAAA,CAAA,cAAA,CAAA,GAAA,cAA6B;AAE7B;;;;AAIG;AACH,IAAA,iBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AAEvB;;AAEG;AACH,IAAA,iBAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAE3B;;AAEG;AACH,IAAA,iBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACzB,CAAC,EApHWA,yBAAiB,KAAjBA,yBAAiB,GAoH5B,EAAA,CAAA,CAAA;AAED;;AAEG;AACSC;AAAZ,CAAA,UAAY,wBAAwB,EAAA;AAClC;;AAEG;AACH,IAAA,wBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AAEf;;AAEG;AACH,IAAA,wBAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AAC3B,CAAC,EAVWA,gCAAwB,KAAxBA,gCAAwB,GAUnC,EAAA,CAAA,CAAA;;"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import { LitElement } from 'lit';
|
|
8
|
+
import { POPOVER_BACKGROUND_TOKEN } from './defs';
|
|
8
9
|
/**
|
|
9
10
|
* Popover.
|
|
10
11
|
*
|
|
@@ -27,6 +28,14 @@ declare class CDSPopoverContent extends LitElement {
|
|
|
27
28
|
* Specify whether a dropShadow should be rendered
|
|
28
29
|
*/
|
|
29
30
|
dropShadow: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Specify whether a border should be rendered on the popover
|
|
33
|
+
*/
|
|
34
|
+
border: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Render the component using the high-contrast variant
|
|
37
|
+
*/
|
|
38
|
+
highContrast: boolean;
|
|
30
39
|
/**
|
|
31
40
|
* Specify whether the component is currently open or closed
|
|
32
41
|
*/
|
|
@@ -35,6 +44,10 @@ declare class CDSPopoverContent extends LitElement {
|
|
|
35
44
|
* Render the component using the tab tip variant
|
|
36
45
|
*/
|
|
37
46
|
tabTip: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Specify the background token to use. Default is 'layer'.
|
|
49
|
+
*/
|
|
50
|
+
backgroundToken: POPOVER_BACKGROUND_TOKEN;
|
|
38
51
|
/**
|
|
39
52
|
* The shadow slot this popover content should be in.
|
|
40
53
|
*/
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2019,
|
|
2
|
+
* Copyright IBM Corp. 2019, 2025
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import { LitElement } from 'lit';
|
|
8
|
+
import { POPOVER_BACKGROUND_TOKEN } from './defs';
|
|
8
9
|
declare const CDSPopover_base: {
|
|
9
10
|
new (...args: any[]): {
|
|
10
11
|
_handles: Set<import("../../globals/internal/handle").default>;
|
|
@@ -13,6 +14,7 @@ declare const CDSPopover_base: {
|
|
|
13
14
|
accessKey: string;
|
|
14
15
|
readonly accessKeyLabel: string;
|
|
15
16
|
autocapitalize: string;
|
|
17
|
+
autocorrect: boolean;
|
|
16
18
|
dir: string;
|
|
17
19
|
draggable: boolean;
|
|
18
20
|
hidden: boolean;
|
|
@@ -34,13 +36,14 @@ declare const CDSPopover_base: {
|
|
|
34
36
|
click(): void;
|
|
35
37
|
hidePopover(): void;
|
|
36
38
|
showPopover(): void;
|
|
37
|
-
togglePopover(
|
|
39
|
+
togglePopover(options?: boolean): boolean;
|
|
38
40
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
39
41
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
40
42
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
41
43
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
42
44
|
readonly attributes: NamedNodeMap;
|
|
43
|
-
|
|
45
|
+
get classList(): DOMTokenList;
|
|
46
|
+
set classList(value: string);
|
|
44
47
|
className: string;
|
|
45
48
|
readonly clientHeight: number;
|
|
46
49
|
readonly clientLeft: number;
|
|
@@ -55,7 +58,8 @@ declare const CDSPopover_base: {
|
|
|
55
58
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
56
59
|
outerHTML: string;
|
|
57
60
|
readonly ownerDocument: Document;
|
|
58
|
-
|
|
61
|
+
get part(): DOMTokenList;
|
|
62
|
+
set part(value: string);
|
|
59
63
|
readonly prefix: string | null;
|
|
60
64
|
readonly scrollHeight: number;
|
|
61
65
|
scrollLeft: number;
|
|
@@ -118,6 +122,8 @@ declare const CDSPopover_base: {
|
|
|
118
122
|
setPointerCapture(pointerId: number): void;
|
|
119
123
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
120
124
|
webkitMatchesSelector(selectors: string): boolean;
|
|
125
|
+
get textContent(): string;
|
|
126
|
+
set textContent(value: string | null);
|
|
121
127
|
readonly baseURI: string;
|
|
122
128
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
123
129
|
readonly firstChild: ChildNode | null;
|
|
@@ -130,9 +136,8 @@ declare const CDSPopover_base: {
|
|
|
130
136
|
readonly parentElement: HTMLElement | null;
|
|
131
137
|
readonly parentNode: ParentNode | null;
|
|
132
138
|
readonly previousSibling: ChildNode | null;
|
|
133
|
-
textContent: string | null;
|
|
134
139
|
appendChild<T extends Node>(node: T): T;
|
|
135
|
-
cloneNode(
|
|
140
|
+
cloneNode(subtree?: boolean): Node;
|
|
136
141
|
compareDocumentPosition(other: Node): number;
|
|
137
142
|
contains(other: Node | null): boolean;
|
|
138
143
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -165,6 +170,7 @@ declare const CDSPopover_base: {
|
|
|
165
170
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
166
171
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
167
172
|
dispatchEvent(event: Event): boolean;
|
|
173
|
+
ariaActiveDescendantElement: Element | null;
|
|
168
174
|
ariaAtomic: string | null;
|
|
169
175
|
ariaAutoComplete: string | null;
|
|
170
176
|
ariaBrailleLabel: string | null;
|
|
@@ -175,25 +181,33 @@ declare const CDSPopover_base: {
|
|
|
175
181
|
ariaColIndex: string | null;
|
|
176
182
|
ariaColIndexText: string | null;
|
|
177
183
|
ariaColSpan: string | null;
|
|
184
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
178
185
|
ariaCurrent: string | null;
|
|
186
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
179
187
|
ariaDescription: string | null;
|
|
188
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
180
189
|
ariaDisabled: string | null;
|
|
190
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
181
191
|
ariaExpanded: string | null;
|
|
192
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
182
193
|
ariaHasPopup: string | null;
|
|
183
194
|
ariaHidden: string | null;
|
|
184
195
|
ariaInvalid: string | null;
|
|
185
196
|
ariaKeyShortcuts: string | null;
|
|
186
197
|
ariaLabel: string | null;
|
|
198
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
187
199
|
ariaLevel: string | null;
|
|
188
200
|
ariaLive: string | null;
|
|
189
201
|
ariaModal: string | null;
|
|
190
202
|
ariaMultiLine: string | null;
|
|
191
203
|
ariaMultiSelectable: string | null;
|
|
192
204
|
ariaOrientation: string | null;
|
|
205
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
193
206
|
ariaPlaceholder: string | null;
|
|
194
207
|
ariaPosInSet: string | null;
|
|
195
208
|
ariaPressed: string | null;
|
|
196
209
|
ariaReadOnly: string | null;
|
|
210
|
+
ariaRelevant: string | null;
|
|
197
211
|
ariaRequired: string | null;
|
|
198
212
|
ariaRoleDescription: string | null;
|
|
199
213
|
ariaRowCount: string | null;
|
|
@@ -235,7 +249,8 @@ declare const CDSPopover_base: {
|
|
|
235
249
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
236
250
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
237
251
|
readonly attributeStyleMap: StylePropertyMap;
|
|
238
|
-
|
|
252
|
+
get style(): CSSStyleDeclaration;
|
|
253
|
+
set style(cssText: string);
|
|
239
254
|
contentEditable: string;
|
|
240
255
|
enterKeyHint: string;
|
|
241
256
|
inputMode: string;
|
|
@@ -245,18 +260,19 @@ declare const CDSPopover_base: {
|
|
|
245
260
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
246
261
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
247
262
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
248
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
263
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
249
264
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
250
|
-
|
|
265
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
266
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
251
267
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
252
268
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
253
269
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
270
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
271
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
272
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
257
273
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
274
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
275
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
260
276
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
277
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
262
278
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -304,6 +320,7 @@ declare const CDSPopover_base: {
|
|
|
304
320
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
321
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
322
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
323
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
324
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
308
325
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
309
326
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -322,7 +339,7 @@ declare const CDSPopover_base: {
|
|
|
322
339
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
323
340
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
324
341
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
342
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
326
343
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
327
344
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
328
345
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -387,6 +404,10 @@ declare class CDSPopover extends CDSPopover_base {
|
|
|
387
404
|
* Specify whether a dropShadow should be rendered
|
|
388
405
|
*/
|
|
389
406
|
dropShadow: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* Specify whether a border should be rendered on the popover
|
|
409
|
+
*/
|
|
410
|
+
border: boolean;
|
|
390
411
|
/**
|
|
391
412
|
* Render the component using the high-contrast variant
|
|
392
413
|
*/
|
|
@@ -399,6 +420,10 @@ declare class CDSPopover extends CDSPopover_base {
|
|
|
399
420
|
* Render the component using the tab tip variant
|
|
400
421
|
*/
|
|
401
422
|
tabTip: boolean;
|
|
423
|
+
/**
|
|
424
|
+
* Specify the background token to use. Default is 'layer'.
|
|
425
|
+
*/
|
|
426
|
+
backgroundToken: POPOVER_BACKGROUND_TOKEN;
|
|
402
427
|
/**
|
|
403
428
|
* Handles `slotchange` event.
|
|
404
429
|
*/
|