@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
|
@@ -22,6 +22,7 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
22
22
|
accessKey: string;
|
|
23
23
|
readonly accessKeyLabel: string;
|
|
24
24
|
autocapitalize: string;
|
|
25
|
+
autocorrect: boolean;
|
|
25
26
|
dir: string;
|
|
26
27
|
draggable: boolean;
|
|
27
28
|
hidden: boolean;
|
|
@@ -43,13 +44,14 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
43
44
|
click(): void;
|
|
44
45
|
hidePopover(): void;
|
|
45
46
|
showPopover(): void;
|
|
46
|
-
togglePopover(
|
|
47
|
+
togglePopover(options?: boolean): boolean;
|
|
47
48
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
48
49
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
49
50
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
50
51
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
51
52
|
readonly attributes: NamedNodeMap;
|
|
52
|
-
|
|
53
|
+
get classList(): DOMTokenList;
|
|
54
|
+
set classList(value: string);
|
|
53
55
|
className: string;
|
|
54
56
|
readonly clientHeight: number;
|
|
55
57
|
readonly clientLeft: number;
|
|
@@ -64,7 +66,8 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
64
66
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
65
67
|
outerHTML: string;
|
|
66
68
|
readonly ownerDocument: Document;
|
|
67
|
-
|
|
69
|
+
get part(): DOMTokenList;
|
|
70
|
+
set part(value: string);
|
|
68
71
|
readonly prefix: string | null;
|
|
69
72
|
readonly scrollHeight: number;
|
|
70
73
|
scrollLeft: number;
|
|
@@ -127,6 +130,8 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
127
130
|
setPointerCapture(pointerId: number): void;
|
|
128
131
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
129
132
|
webkitMatchesSelector(selectors: string): boolean;
|
|
133
|
+
get textContent(): string;
|
|
134
|
+
set textContent(value: string | null);
|
|
130
135
|
readonly baseURI: string;
|
|
131
136
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
132
137
|
readonly firstChild: ChildNode | null;
|
|
@@ -139,9 +144,8 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
139
144
|
readonly parentElement: HTMLElement | null;
|
|
140
145
|
readonly parentNode: ParentNode | null;
|
|
141
146
|
readonly previousSibling: ChildNode | null;
|
|
142
|
-
textContent: string | null;
|
|
143
147
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
144
|
-
cloneNode(
|
|
148
|
+
cloneNode(subtree?: boolean): Node;
|
|
145
149
|
compareDocumentPosition(other: Node): number;
|
|
146
150
|
contains(other: Node | null): boolean;
|
|
147
151
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -174,6 +178,7 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
174
178
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
175
179
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
176
180
|
dispatchEvent(event: Event): boolean;
|
|
181
|
+
ariaActiveDescendantElement: Element | null;
|
|
177
182
|
ariaAtomic: string | null;
|
|
178
183
|
ariaAutoComplete: string | null;
|
|
179
184
|
ariaBrailleLabel: string | null;
|
|
@@ -184,25 +189,33 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
184
189
|
ariaColIndex: string | null;
|
|
185
190
|
ariaColIndexText: string | null;
|
|
186
191
|
ariaColSpan: string | null;
|
|
192
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
187
193
|
ariaCurrent: string | null;
|
|
194
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
188
195
|
ariaDescription: string | null;
|
|
196
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
189
197
|
ariaDisabled: string | null;
|
|
198
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
190
199
|
ariaExpanded: string | null;
|
|
200
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
191
201
|
ariaHasPopup: string | null;
|
|
192
202
|
ariaHidden: string | null;
|
|
193
203
|
ariaInvalid: string | null;
|
|
194
204
|
ariaKeyShortcuts: string | null;
|
|
195
205
|
ariaLabel: string | null;
|
|
206
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
196
207
|
ariaLevel: string | null;
|
|
197
208
|
ariaLive: string | null;
|
|
198
209
|
ariaModal: string | null;
|
|
199
210
|
ariaMultiLine: string | null;
|
|
200
211
|
ariaMultiSelectable: string | null;
|
|
201
212
|
ariaOrientation: string | null;
|
|
213
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
202
214
|
ariaPlaceholder: string | null;
|
|
203
215
|
ariaPosInSet: string | null;
|
|
204
216
|
ariaPressed: string | null;
|
|
205
217
|
ariaReadOnly: string | null;
|
|
218
|
+
ariaRelevant: string | null;
|
|
206
219
|
ariaRequired: string | null;
|
|
207
220
|
ariaRoleDescription: string | null;
|
|
208
221
|
ariaRowCount: string | null;
|
|
@@ -244,7 +257,8 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
244
257
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
245
258
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
246
259
|
readonly attributeStyleMap: StylePropertyMap;
|
|
247
|
-
|
|
260
|
+
get style(): CSSStyleDeclaration;
|
|
261
|
+
set style(cssText: string);
|
|
248
262
|
contentEditable: string;
|
|
249
263
|
enterKeyHint: string;
|
|
250
264
|
inputMode: string;
|
|
@@ -254,18 +268,19 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
254
268
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
255
269
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
256
270
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
257
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
271
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
258
272
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
259
|
-
|
|
273
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
260
275
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
261
276
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
277
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
263
278
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
264
279
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
280
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
266
281
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
282
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
283
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
269
284
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
285
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
271
286
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -313,6 +328,7 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
313
328
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
314
329
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
315
330
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
331
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
332
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
317
333
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
318
334
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -331,7 +347,7 @@ declare const HostListenerMixin: <T extends Constructor<HTMLElement>>(Base: T) =
|
|
|
331
347
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
332
348
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
349
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
350
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
335
351
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
336
352
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
337
353
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -71,6 +71,7 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
71
71
|
accessKey: string;
|
|
72
72
|
readonly accessKeyLabel: string;
|
|
73
73
|
autocapitalize: string;
|
|
74
|
+
autocorrect: boolean;
|
|
74
75
|
dir: string;
|
|
75
76
|
draggable: boolean;
|
|
76
77
|
hidden: boolean;
|
|
@@ -92,13 +93,14 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
92
93
|
click(): void;
|
|
93
94
|
hidePopover(): void;
|
|
94
95
|
showPopover(): void;
|
|
95
|
-
togglePopover(
|
|
96
|
+
togglePopover(options?: boolean): boolean;
|
|
96
97
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
97
98
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
98
99
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
99
100
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
100
101
|
readonly attributes: NamedNodeMap;
|
|
101
|
-
|
|
102
|
+
get classList(): DOMTokenList;
|
|
103
|
+
set classList(value: string);
|
|
102
104
|
className: string;
|
|
103
105
|
readonly clientHeight: number;
|
|
104
106
|
readonly clientLeft: number;
|
|
@@ -113,7 +115,8 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
113
115
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
114
116
|
outerHTML: string;
|
|
115
117
|
readonly ownerDocument: Document;
|
|
116
|
-
|
|
118
|
+
get part(): DOMTokenList;
|
|
119
|
+
set part(value: string);
|
|
117
120
|
readonly prefix: string | null;
|
|
118
121
|
readonly scrollHeight: number;
|
|
119
122
|
scrollLeft: number;
|
|
@@ -176,6 +179,8 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
176
179
|
setPointerCapture(pointerId: number): void;
|
|
177
180
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
178
181
|
webkitMatchesSelector(selectors: string): boolean;
|
|
182
|
+
get textContent(): string;
|
|
183
|
+
set textContent(value: string | null);
|
|
179
184
|
readonly baseURI: string;
|
|
180
185
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
181
186
|
readonly firstChild: ChildNode | null;
|
|
@@ -188,9 +193,8 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
188
193
|
readonly parentElement: HTMLElement | null;
|
|
189
194
|
readonly parentNode: ParentNode | null;
|
|
190
195
|
readonly previousSibling: ChildNode | null;
|
|
191
|
-
textContent: string | null;
|
|
192
196
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
193
|
-
cloneNode(
|
|
197
|
+
cloneNode(subtree?: boolean): Node;
|
|
194
198
|
compareDocumentPosition(other: Node): number;
|
|
195
199
|
contains(other: Node | null): boolean;
|
|
196
200
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -223,6 +227,7 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
223
227
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
224
228
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
225
229
|
dispatchEvent(event: Event): boolean;
|
|
230
|
+
ariaActiveDescendantElement: Element | null;
|
|
226
231
|
ariaAtomic: string | null;
|
|
227
232
|
ariaAutoComplete: string | null;
|
|
228
233
|
ariaBrailleLabel: string | null;
|
|
@@ -233,25 +238,33 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
233
238
|
ariaColIndex: string | null;
|
|
234
239
|
ariaColIndexText: string | null;
|
|
235
240
|
ariaColSpan: string | null;
|
|
241
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
236
242
|
ariaCurrent: string | null;
|
|
243
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
237
244
|
ariaDescription: string | null;
|
|
245
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
238
246
|
ariaDisabled: string | null;
|
|
247
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
239
248
|
ariaExpanded: string | null;
|
|
249
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
240
250
|
ariaHasPopup: string | null;
|
|
241
251
|
ariaHidden: string | null;
|
|
242
252
|
ariaInvalid: string | null;
|
|
243
253
|
ariaKeyShortcuts: string | null;
|
|
244
254
|
ariaLabel: string | null;
|
|
255
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
245
256
|
ariaLevel: string | null;
|
|
246
257
|
ariaLive: string | null;
|
|
247
258
|
ariaModal: string | null;
|
|
248
259
|
ariaMultiLine: string | null;
|
|
249
260
|
ariaMultiSelectable: string | null;
|
|
250
261
|
ariaOrientation: string | null;
|
|
262
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
251
263
|
ariaPlaceholder: string | null;
|
|
252
264
|
ariaPosInSet: string | null;
|
|
253
265
|
ariaPressed: string | null;
|
|
254
266
|
ariaReadOnly: string | null;
|
|
267
|
+
ariaRelevant: string | null;
|
|
255
268
|
ariaRequired: string | null;
|
|
256
269
|
ariaRoleDescription: string | null;
|
|
257
270
|
ariaRowCount: string | null;
|
|
@@ -293,7 +306,8 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
293
306
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
294
307
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
295
308
|
readonly attributeStyleMap: StylePropertyMap;
|
|
296
|
-
|
|
309
|
+
get style(): CSSStyleDeclaration;
|
|
310
|
+
set style(cssText: string);
|
|
297
311
|
contentEditable: string;
|
|
298
312
|
enterKeyHint: string;
|
|
299
313
|
inputMode: string;
|
|
@@ -303,18 +317,19 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
303
317
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
304
318
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
305
319
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
306
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
320
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
307
321
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
308
|
-
|
|
322
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
323
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
309
324
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
310
325
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
326
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
327
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
328
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
329
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
315
330
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
331
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
332
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
318
333
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
334
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
320
335
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -362,6 +377,7 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
362
377
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
363
378
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
364
379
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
380
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
365
381
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
366
382
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
367
383
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -380,7 +396,7 @@ declare const ValidityMixin: <T extends Constructor<HTMLElement>>(Base: T) => (a
|
|
|
380
396
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
381
397
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
382
398
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
383
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
399
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
384
400
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
385
401
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
386
402
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/web-components",
|
|
3
3
|
"description": "Web components for the Carbon Design System",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.41.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "es/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@carbon/icon-helpers": "10.47.0",
|
|
70
|
-
"@carbon/styles": "^1.
|
|
70
|
+
"@carbon/styles": "^1.93.0",
|
|
71
71
|
"@floating-ui/dom": "^1.6.3",
|
|
72
72
|
"@ibm/telemetry-js": "^1.10.2",
|
|
73
73
|
"@lit/context": "^1.1.3",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"tslib": "^2.6.3"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@carbon/icons": "^11.
|
|
80
|
+
"@carbon/icons": "^11.70.0",
|
|
81
81
|
"@carbon/layout": "^11.43.0",
|
|
82
82
|
"@carbon/motion": "^11.37.0",
|
|
83
83
|
"@juggle/resize-observer": "^3.4.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@webcomponents/webcomponentsjs": "^2.8.0",
|
|
103
103
|
"autoprefixer": "^10.4.0",
|
|
104
104
|
"cssnano": "^7.1.0",
|
|
105
|
-
"globby": "^
|
|
105
|
+
"globby": "^15.0.0",
|
|
106
106
|
"read-package-up": "^11.0.0",
|
|
107
107
|
"remark-gfm": "^4.0.0",
|
|
108
108
|
"rimraf": "^6.0.1",
|
|
@@ -130,5 +130,5 @@
|
|
|
130
130
|
}
|
|
131
131
|
]
|
|
132
132
|
},
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "44f7fd230585f66d32c839d1c11d2992d5929294"
|
|
134
134
|
}
|
|
@@ -38,6 +38,12 @@
|
|
|
38
38
|
|
|
39
39
|
:host(#{$prefix}-modal) {
|
|
40
40
|
@extend .#{$prefix}--modal;
|
|
41
|
+
|
|
42
|
+
opacity: 0;
|
|
43
|
+
transition:
|
|
44
|
+
opacity $duration-moderate-02 motion(exit, expressive),
|
|
45
|
+
visibility 0ms linear $duration-moderate-02;
|
|
46
|
+
visibility: hidden;
|
|
41
47
|
}
|
|
42
48
|
|
|
43
49
|
:host(#{$prefix}-modal[full-width]) {
|
|
@@ -1,5 +1,5 @@
|
|
|
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.
|
|
@@ -30,6 +30,18 @@ $popover-caret-height: custom-property.get-var(
|
|
|
30
30
|
rem(6px)
|
|
31
31
|
);
|
|
32
32
|
|
|
33
|
+
// The drop shadow value used for the popover container
|
|
34
|
+
$popover-drop-shadow: custom-property.get-var(
|
|
35
|
+
'popover-drop-shadow',
|
|
36
|
+
drop-shadow(0 $spacing-01 $spacing-01 rgba(0, 0, 0, 0.2))
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
// The border value used for the popover container
|
|
40
|
+
$popover-border-color: custom-property.get-var(
|
|
41
|
+
'popover-border-color',
|
|
42
|
+
theme.$border-subtle
|
|
43
|
+
);
|
|
44
|
+
|
|
33
45
|
:host(#{$prefix}-tooltip),
|
|
34
46
|
:host(#{$prefix}-popover) {
|
|
35
47
|
::slotted(.#{$prefix}--popover--tab-tip__button) {
|
|
@@ -45,6 +57,26 @@ $popover-caret-height: custom-property.get-var(
|
|
|
45
57
|
}
|
|
46
58
|
}
|
|
47
59
|
|
|
60
|
+
:host(
|
|
61
|
+
#{$prefix}-popover-content[backgroundToken='background']:not([highContrast])
|
|
62
|
+
) {
|
|
63
|
+
.#{$prefix}--popover-content {
|
|
64
|
+
background: theme.$background;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host(
|
|
69
|
+
#{$prefix}-popover-content[open][caret][backgroundToken='background']:not(
|
|
70
|
+
[highContrast]
|
|
71
|
+
)
|
|
72
|
+
) {
|
|
73
|
+
.#{$prefix}--popover-caret {
|
|
74
|
+
&::after {
|
|
75
|
+
background: theme.$background;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
48
80
|
:host(#{$prefix}-popover[tabTip][open]) {
|
|
49
81
|
::slotted(.#{$prefix}--popover--tab-tip__button) {
|
|
50
82
|
background: theme.$layer !important; /* stylelint-disable-line declaration-no-important */
|
|
@@ -82,16 +114,63 @@ $popover-caret-height: custom-property.get-var(
|
|
|
82
114
|
:host(#{$prefix}-slug[open]) {
|
|
83
115
|
.#{$prefix}--popover-caret {
|
|
84
116
|
display: block;
|
|
117
|
+
|
|
118
|
+
// caret background
|
|
119
|
+
&::after {
|
|
120
|
+
position: absolute;
|
|
121
|
+
display: block;
|
|
122
|
+
background: theme.$layer;
|
|
123
|
+
content: '';
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// caret border
|
|
127
|
+
&::before {
|
|
128
|
+
position: absolute;
|
|
129
|
+
display: none;
|
|
130
|
+
background-color: $popover-border-color;
|
|
131
|
+
content: '';
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:host(#{$prefix}-tooltip-content[open][caret][highContrast]),
|
|
137
|
+
:host(#{$prefix}-popover-content[open][caret][highContrast]) {
|
|
138
|
+
.#{$prefix}--popover-caret {
|
|
139
|
+
&::after {
|
|
140
|
+
background: theme.$background-inverse;
|
|
141
|
+
}
|
|
85
142
|
}
|
|
86
143
|
}
|
|
87
144
|
|
|
145
|
+
:host(#{$prefix}-tooltip-content[border]),
|
|
146
|
+
:host(#{$prefix}-popover-content[border]) {
|
|
147
|
+
.#{$prefix}--popover-content {
|
|
148
|
+
outline: 1px solid $popover-border-color;
|
|
149
|
+
outline-offset: -1px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host(#{$prefix}-tooltip-content[dropShadow]),
|
|
88
154
|
:host(#{$prefix}-popover-content[dropShadow]) {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
155
|
+
.#{$prefix}--popover-content {
|
|
156
|
+
filter: $popover-drop-shadow;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
:host(#{$prefix}-tooltip-content[open][caret][border]),
|
|
161
|
+
:host(#{$prefix}-popover-content[open][caret][border]) {
|
|
162
|
+
.#{$prefix}--popover-caret {
|
|
163
|
+
&::before {
|
|
164
|
+
display: block;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
93
167
|
}
|
|
94
168
|
|
|
169
|
+
//-----------------------------------------------------------------------------
|
|
170
|
+
// Bottom
|
|
171
|
+
//-----------------------------------------------------------------------------
|
|
172
|
+
|
|
173
|
+
// bottom caret
|
|
95
174
|
:host(#{$prefix}-tooltip-content[align^='bottom']:not([autoalign])),
|
|
96
175
|
:host(#{$prefix}-popover-content[align^='bottom']:not([autoalign])),
|
|
97
176
|
:host(#{$prefix}-toggletip[alignment^='bottom']:not([autoalign])),
|
|
@@ -99,11 +178,37 @@ $popover-caret-height: custom-property.get-var(
|
|
|
99
178
|
:host(#{$prefix}-slug[alignment^='bottom']:not([autoalign])) {
|
|
100
179
|
.#{$prefix}--popover-caret {
|
|
101
180
|
block-size: $popover-caret-height;
|
|
102
|
-
clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
|
|
103
181
|
inline-size: $popover-caret-width;
|
|
104
182
|
inset-block-end: 0;
|
|
105
183
|
inset-inline-start: 50%;
|
|
106
184
|
transform: translate(-50%, $popover-offset);
|
|
185
|
+
|
|
186
|
+
&::after {
|
|
187
|
+
block-size: $popover-caret-height;
|
|
188
|
+
clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
|
|
189
|
+
inline-size: $popover-caret-width;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// bottom caret border
|
|
195
|
+
:host(#{$prefix}-tooltip-content[align^='bottom'][border]:not([autoalign])),
|
|
196
|
+
:host(#{$prefix}-popover-content[align^='bottom'][border]:not([autoalign])),
|
|
197
|
+
:host(#{$prefix}-toggletip[alignment^='bottom'][border]:not([autoalign])),
|
|
198
|
+
:host(#{$prefix}-ai-label[alignment^='bottom'][border]:not([autoalign])),
|
|
199
|
+
:host(#{$prefix}-slug[alignment^='bottom'][border]:not([autoalign])) {
|
|
200
|
+
.#{$prefix}--popover-caret {
|
|
201
|
+
&::before {
|
|
202
|
+
block-size: $popover-caret-height;
|
|
203
|
+
clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
|
|
204
|
+
inline-size: $popover-caret-width;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&::after {
|
|
208
|
+
inline-size: calc($popover-caret-width - 1px);
|
|
209
|
+
inset-block-start: 1px;
|
|
210
|
+
inset-inline-start: 0.5px;
|
|
211
|
+
}
|
|
107
212
|
}
|
|
108
213
|
}
|
|
109
214
|
|
|
@@ -206,6 +311,10 @@ $popover-caret-height: custom-property.get-var(
|
|
|
206
311
|
}
|
|
207
312
|
}
|
|
208
313
|
|
|
314
|
+
//-----------------------------------------------------------------------------
|
|
315
|
+
// Left
|
|
316
|
+
//-----------------------------------------------------------------------------
|
|
317
|
+
|
|
209
318
|
:host(#{$prefix}-tooltip-content[align^='left']:not([autoalign])),
|
|
210
319
|
:host(#{$prefix}-popover-content[align^='left']:not([autoalign])),
|
|
211
320
|
:host(#{$prefix}-toggletip[alignment^='left']:not([autoalign])),
|
|
@@ -213,11 +322,35 @@ $popover-caret-height: custom-property.get-var(
|
|
|
213
322
|
:host(#{$prefix}-slug[alignment^='left']:not([autoalign])) {
|
|
214
323
|
.#{$prefix}--popover-caret {
|
|
215
324
|
block-size: $popover-caret-width;
|
|
216
|
-
clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
|
|
217
325
|
inline-size: $popover-caret-height;
|
|
218
326
|
inset-block-start: 50%;
|
|
219
327
|
inset-inline-end: 100%;
|
|
220
328
|
transform: translate(calc(-1 * $popover-offset + 100%), -50%);
|
|
329
|
+
|
|
330
|
+
&::after {
|
|
331
|
+
block-size: $popover-caret-width;
|
|
332
|
+
clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
|
|
333
|
+
inline-size: $popover-caret-height;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
// left caret border
|
|
339
|
+
:host(#{$prefix}-tooltip-content[align^='left'][border]:not([autoalign])),
|
|
340
|
+
:host(#{$prefix}-popover-content[align^='left'][border]:not([autoalign])),
|
|
341
|
+
:host(#{$prefix}-toggletip[alignment^='left'][border]:not([autoalign])),
|
|
342
|
+
:host(#{$prefix}-ai-label[alignment^='left'][border]:not([autoalign])),
|
|
343
|
+
:host(#{$prefix}-slug[alignment^='left'][border]:not([autoalign])) {
|
|
344
|
+
.#{$prefix}--popover-caret {
|
|
345
|
+
&::before {
|
|
346
|
+
block-size: $popover-caret-width;
|
|
347
|
+
clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
|
|
348
|
+
inline-size: $popover-caret-height;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
&::after {
|
|
352
|
+
inset-inline-start: -1px;
|
|
353
|
+
}
|
|
221
354
|
}
|
|
222
355
|
}
|
|
223
356
|
|
|
@@ -230,6 +363,10 @@ $popover-caret-height: custom-property.get-var(
|
|
|
230
363
|
.#{$prefix}--popover-caret {
|
|
231
364
|
inset-inline-end: initial;
|
|
232
365
|
inset-inline-start: 100%;
|
|
366
|
+
|
|
367
|
+
&::after {
|
|
368
|
+
inset-inline-start: 1px;
|
|
369
|
+
}
|
|
233
370
|
}
|
|
234
371
|
}
|
|
235
372
|
|
|
@@ -293,6 +430,11 @@ $popover-caret-height: custom-property.get-var(
|
|
|
293
430
|
}
|
|
294
431
|
}
|
|
295
432
|
|
|
433
|
+
//-----------------------------------------------------------------------------
|
|
434
|
+
// Right
|
|
435
|
+
//-----------------------------------------------------------------------------
|
|
436
|
+
|
|
437
|
+
// right caret
|
|
296
438
|
:host(#{$prefix}-tooltip-content[align^='right']:not([autoalign])),
|
|
297
439
|
:host(#{$prefix}-popover-content[align^='right']:not([autoalign])),
|
|
298
440
|
:host(#{$prefix}-toggletip[alignment^='right']:not([autoalign])),
|
|
@@ -300,11 +442,35 @@ $popover-caret-height: custom-property.get-var(
|
|
|
300
442
|
:host(#{$prefix}-slug[alignment^='right']:not([autoalign])) {
|
|
301
443
|
.#{$prefix}--popover-caret {
|
|
302
444
|
block-size: $popover-caret-width;
|
|
303
|
-
clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
|
|
304
445
|
inline-size: $popover-caret-height;
|
|
305
446
|
inset-block-start: 50%;
|
|
306
447
|
inset-inline-start: 100%;
|
|
307
448
|
transform: translate(calc($popover-offset - 100%), -50%);
|
|
449
|
+
|
|
450
|
+
&::after {
|
|
451
|
+
block-size: $popover-caret-width;
|
|
452
|
+
clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
|
|
453
|
+
inline-size: $popover-caret-height;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
// right caret border
|
|
459
|
+
:host(#{$prefix}-tooltip-content[align^='right'][border]:not([autoalign])),
|
|
460
|
+
:host(#{$prefix}-popover-content[align^='right'][border]:not([autoalign])),
|
|
461
|
+
:host(#{$prefix}-toggletip[alignment^='right'][border]:not([autoalign])),
|
|
462
|
+
:host(#{$prefix}-ai-label[alignment^='right'][border]:not([autoalign])),
|
|
463
|
+
:host(#{$prefix}-slug[alignment^='right'][border]:not([autoalign])) {
|
|
464
|
+
.#{$prefix}--popover-caret {
|
|
465
|
+
&::before {
|
|
466
|
+
block-size: $popover-caret-width;
|
|
467
|
+
clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
|
|
468
|
+
inline-size: $popover-caret-height;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
&::after {
|
|
472
|
+
inset-inline-start: 1px;
|
|
473
|
+
}
|
|
308
474
|
}
|
|
309
475
|
}
|
|
310
476
|
|
|
@@ -317,6 +483,10 @@ $popover-caret-height: custom-property.get-var(
|
|
|
317
483
|
.#{$prefix}--popover-caret {
|
|
318
484
|
inset-inline-end: 100%;
|
|
319
485
|
inset-inline-start: initial;
|
|
486
|
+
|
|
487
|
+
&::after {
|
|
488
|
+
inset-inline-start: -1px;
|
|
489
|
+
}
|
|
320
490
|
}
|
|
321
491
|
}
|
|
322
492
|
|
|
@@ -373,6 +543,11 @@ $popover-caret-height: custom-property.get-var(
|
|
|
373
543
|
}
|
|
374
544
|
}
|
|
375
545
|
|
|
546
|
+
//-----------------------------------------------------------------------------
|
|
547
|
+
// Top
|
|
548
|
+
//-----------------------------------------------------------------------------
|
|
549
|
+
|
|
550
|
+
// top caret
|
|
376
551
|
:host(#{$prefix}-tooltip-content[align^='top']:not([autoalign])),
|
|
377
552
|
:host(#{$prefix}-popover-content[align^='top']:not([autoalign])),
|
|
378
553
|
:host(#{$prefix}-toggletip[alignment^='top']:not([autoalign])),
|
|
@@ -380,11 +555,37 @@ $popover-caret-height: custom-property.get-var(
|
|
|
380
555
|
:host(#{$prefix}-slug[alignment^='top']:not([autoalign])) {
|
|
381
556
|
.#{$prefix}--popover-caret {
|
|
382
557
|
block-size: $popover-caret-height;
|
|
383
|
-
clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
|
|
384
558
|
inline-size: $popover-caret-width;
|
|
385
559
|
inset-block-start: 0;
|
|
386
560
|
inset-inline-start: 50%;
|
|
387
561
|
transform: translate(-50%, calc(-1 * $popover-offset));
|
|
562
|
+
|
|
563
|
+
&::after {
|
|
564
|
+
block-size: $popover-caret-height;
|
|
565
|
+
clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
|
|
566
|
+
inline-size: $popover-caret-width;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
// top caret border
|
|
572
|
+
:host(#{$prefix}-tooltip-content[align^='top'][border]:not([autoalign])),
|
|
573
|
+
:host(#{$prefix}-popover-content[align^='top'][border]:not([autoalign])),
|
|
574
|
+
:host(#{$prefix}-toggletip[alignment^='top'][border]:not([autoalign])),
|
|
575
|
+
:host(#{$prefix}-ai-label[alignment^='top'][border]:not([autoalign])),
|
|
576
|
+
:host(#{$prefix}-slug[alignment^='top'][border]:not([autoalign])) {
|
|
577
|
+
.#{$prefix}--popover-caret {
|
|
578
|
+
&::before {
|
|
579
|
+
block-size: $popover-caret-height;
|
|
580
|
+
clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
|
|
581
|
+
inline-size: $popover-caret-width;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
&::after {
|
|
585
|
+
inline-size: calc($popover-caret-width - 1px);
|
|
586
|
+
inset-block-start: -1px;
|
|
587
|
+
inset-inline-start: 0.5px;
|
|
588
|
+
}
|
|
388
589
|
}
|
|
389
590
|
}
|
|
390
591
|
|