@carbon/web-components 2.47.0 → 2.48.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 +963 -145
- package/es/components/accordion/accordion-item.d.ts +28 -12
- package/es/components/accordion/accordion-item.js +7 -5
- package/es/components/accordion/accordion-item.js.map +1 -1
- package/es/components/accordion/accordion-skeleton.d.ts +1 -1
- package/es/components/accordion/accordion-skeleton.js +7 -5
- package/es/components/accordion/accordion-skeleton.js.map +1 -1
- package/es/components/accordion/accordion.d.ts +1 -1
- package/es/components/accordion/accordion.js +7 -5
- package/es/components/accordion/accordion.js.map +1 -1
- package/es/components/ai-label/ai-label.d.ts +1 -1
- package/es/components/ai-label/ai-label.js +6 -5
- package/es/components/ai-label/ai-label.js.map +1 -1
- package/es/components/button/button.d.ts +56 -22
- package/es/components/checkbox/checkbox-group.d.ts +2 -0
- package/es/components/checkbox/checkbox.d.ts +57 -23
- package/es/components/checkbox/checkbox.js +7 -5
- package/es/components/checkbox/checkbox.js.map +1 -1
- package/es/components/code-snippet/code-snippet.d.ts +29 -11
- package/es/components/code-snippet/code-snippet.js +15 -14
- package/es/components/code-snippet/code-snippet.js.map +1 -1
- package/es/components/combo-box/combo-box.scss.js +1 -1
- package/es/components/combo-button/combo-button.d.ts +27 -11
- package/es/components/content-switcher/content-switcher-item.d.ts +29 -11
- package/es/components/copy-button/copy-button.d.ts +27 -11
- package/es/components/data-table/table-expanded-row.d.ts +28 -12
- package/es/components/data-table/table-expanded-row.js +7 -5
- package/es/components/data-table/table-expanded-row.js.map +1 -1
- 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 +28 -12
- package/es/components/data-table/table.js +9 -8
- 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/dropdown/dropdown.js +8 -6
- package/es/components/dropdown/dropdown.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/floating-menu/floating-menu.d.ts +56 -22
- package/es/components/fluid-select/fluid-select.d.ts +5 -0
- package/es/components/fluid-select/fluid-select.js +50 -1
- package/es/components/fluid-select/fluid-select.js.map +1 -1
- package/es/components/fluid-textarea/fluid-textarea-skeleton.d.ts +3 -3
- package/es/components/fluid-textarea/fluid-textarea-skeleton.js +3 -3
- package/es/components/fluid-textarea/fluid-textarea-skeleton.js.map +1 -1
- package/es/components/fluid-time-picker/fluid-time-picker-select.d.ts +21 -0
- package/es/components/fluid-time-picker/fluid-time-picker-select.js +53 -0
- package/es/components/fluid-time-picker/fluid-time-picker-select.js.map +1 -0
- package/es/components/fluid-time-picker/fluid-time-picker-skeleton.d.ts +23 -0
- package/es/components/fluid-time-picker/fluid-time-picker-skeleton.js +63 -0
- package/es/components/fluid-time-picker/fluid-time-picker-skeleton.js.map +1 -0
- package/es/components/fluid-time-picker/fluid-time-picker.d.ts +32 -0
- package/es/components/fluid-time-picker/fluid-time-picker.js +239 -0
- package/es/components/fluid-time-picker/fluid-time-picker.js.map +1 -0
- package/es/components/fluid-time-picker/fluid-time-picker.scss.js +13 -0
- package/es/components/fluid-time-picker/fluid-time-picker.scss.js.map +1 -0
- package/es/components/fluid-time-picker/index.d.ts +9 -0
- package/es/components/fluid-time-picker/index.js +11 -0
- package/es/components/fluid-time-picker/index.js.map +1 -0
- package/es/components/grid/column.d.ts +3 -1
- package/es/components/grid/column.js +6 -0
- package/es/components/grid/column.js.map +1 -1
- package/es/components/icon-button/icon-button.d.ts +1 -1
- package/es/components/icon-button/icon-button.js +6 -5
- package/es/components/icon-button/icon-button.js.map +1 -1
- package/es/components/link/link.d.ts +29 -11
- package/es/components/menu/menu-item-selectable.d.ts +5 -3
- package/es/components/menu/menu-item-selectable.js +3 -3
- package/es/components/menu/menu-item-selectable.js.map +1 -1
- package/es/components/menu/menu-item.d.ts +68 -23
- package/es/components/menu/menu-item.js +37 -2
- package/es/components/menu/menu-item.js.map +1 -1
- package/es/components/menu/menu.d.ts +27 -11
- package/es/components/menu-button/menu-button.d.ts +27 -11
- 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.js +6 -4
- package/es/components/modal/modal.js.map +1 -1
- package/es/components/multi-select/multi-select.js +12 -8
- package/es/components/multi-select/multi-select.js.map +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.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/pagination/pagination.d.ts +56 -22
- package/es/components/pagination-nav/defs.d.ts +61 -0
- package/es/components/pagination-nav/defs.js +74 -0
- package/es/components/pagination-nav/defs.js.map +1 -0
- package/es/components/pagination-nav/index.d.ts +7 -0
- package/es/components/pagination-nav/index.js +9 -0
- package/es/components/pagination-nav/index.js.map +1 -0
- package/es/components/pagination-nav/pagination-nav.d.ts +109 -0
- package/es/components/pagination-nav/pagination-nav.js +427 -0
- package/es/components/pagination-nav/pagination-nav.js.map +1 -0
- package/es/components/pagination-nav/pagination-nav.scss.js +13 -0
- package/es/components/pagination-nav/pagination-nav.scss.js.map +1 -0
- package/es/components/password-input/password-input.d.ts +2 -0
- package/es/components/popover/popover.d.ts +27 -11
- package/es/components/popover/popover.js +1 -1
- package/es/components/popover/popover.js.map +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 +57 -23
- package/es/components/radio-button/radio-button.js +7 -5
- package/es/components/radio-button/radio-button.js.map +1 -1
- 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/slider/slider-input.d.ts +29 -11
- package/es/components/slider/slider.d.ts +84 -34
- package/es/components/slider/slider.js +9 -7
- package/es/components/slider/slider.js.map +1 -1
- package/es/components/slug/slug.d.ts +1 -1
- package/es/components/slug/slug.js +6 -4
- package/es/components/slug/slug.js.map +1 -1
- package/es/components/structured-list/structured-list-row.d.ts +27 -11
- package/es/components/structured-list/structured-list.d.ts +30 -12
- package/es/components/structured-list/structured-list.js +7 -5
- package/es/components/structured-list/structured-list.js.map +1 -1
- package/es/components/tabs/tabs.d.ts +27 -11
- 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/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/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 +57 -23
- package/es/components/toggle-tip/toggletip.js +7 -5
- package/es/components/toggle-tip/toggletip.js.map +1 -1
- package/es/components/tooltip/tooltip.d.ts +28 -12
- package/es/components/tooltip/tooltip.js +7 -5
- package/es/components/tooltip/tooltip.js.map +1 -1
- package/es/components/tree-view/tree-view.d.ts +28 -12
- package/es/components/tree-view/tree-view.js +7 -5
- package/es/components/tree-view/tree-view.js.map +1 -1
- 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/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/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 +28 -12
- package/es-custom/components/accordion/accordion-item.js +7 -5
- package/es-custom/components/accordion/accordion-item.js.map +1 -1
- package/es-custom/components/accordion/accordion-skeleton.d.ts +1 -1
- package/es-custom/components/accordion/accordion-skeleton.js +7 -5
- package/es-custom/components/accordion/accordion-skeleton.js.map +1 -1
- package/es-custom/components/accordion/accordion.d.ts +1 -1
- package/es-custom/components/accordion/accordion.js +7 -5
- package/es-custom/components/accordion/accordion.js.map +1 -1
- package/es-custom/components/ai-label/ai-label.d.ts +1 -1
- package/es-custom/components/ai-label/ai-label.js +6 -5
- package/es-custom/components/ai-label/ai-label.js.map +1 -1
- package/es-custom/components/button/button.d.ts +56 -22
- package/es-custom/components/checkbox/checkbox-group.d.ts +2 -0
- package/es-custom/components/checkbox/checkbox.d.ts +57 -23
- package/es-custom/components/checkbox/checkbox.js +7 -5
- package/es-custom/components/checkbox/checkbox.js.map +1 -1
- package/es-custom/components/code-snippet/code-snippet.d.ts +29 -11
- package/es-custom/components/code-snippet/code-snippet.js +15 -14
- package/es-custom/components/code-snippet/code-snippet.js.map +1 -1
- package/es-custom/components/combo-box/combo-box.scss.js +1 -1
- package/es-custom/components/combo-button/combo-button.d.ts +27 -11
- package/es-custom/components/content-switcher/content-switcher-item.d.ts +29 -11
- package/es-custom/components/copy-button/copy-button.d.ts +27 -11
- package/es-custom/components/data-table/table-expanded-row.d.ts +28 -12
- package/es-custom/components/data-table/table-expanded-row.js +7 -5
- package/es-custom/components/data-table/table-expanded-row.js.map +1 -1
- 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 +28 -12
- package/es-custom/components/data-table/table.js +9 -8
- 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/dropdown/dropdown.js +8 -6
- package/es-custom/components/dropdown/dropdown.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/floating-menu/floating-menu.d.ts +56 -22
- package/es-custom/components/fluid-select/fluid-select.d.ts +5 -0
- package/es-custom/components/fluid-select/fluid-select.js +50 -1
- package/es-custom/components/fluid-select/fluid-select.js.map +1 -1
- package/es-custom/components/fluid-textarea/fluid-textarea-skeleton.d.ts +3 -3
- package/es-custom/components/fluid-textarea/fluid-textarea-skeleton.js +3 -3
- package/es-custom/components/fluid-textarea/fluid-textarea-skeleton.js.map +1 -1
- package/es-custom/components/fluid-time-picker/fluid-time-picker-select.d.ts +21 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-select.js +53 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-select.js.map +1 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-skeleton.d.ts +23 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-skeleton.js +63 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker-skeleton.js.map +1 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.d.ts +32 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.js +239 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.js.map +1 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js +13 -0
- package/es-custom/components/fluid-time-picker/fluid-time-picker.scss.js.map +1 -0
- package/es-custom/components/fluid-time-picker/index.d.ts +9 -0
- package/es-custom/components/fluid-time-picker/index.js +11 -0
- package/es-custom/components/fluid-time-picker/index.js.map +1 -0
- package/es-custom/components/grid/column.d.ts +3 -1
- package/es-custom/components/grid/column.js +6 -0
- package/es-custom/components/grid/column.js.map +1 -1
- package/es-custom/components/icon-button/icon-button.d.ts +1 -1
- package/es-custom/components/icon-button/icon-button.js +6 -5
- package/es-custom/components/icon-button/icon-button.js.map +1 -1
- package/es-custom/components/link/link.d.ts +29 -11
- package/es-custom/components/menu/menu-item-selectable.d.ts +5 -3
- package/es-custom/components/menu/menu-item-selectable.js +3 -3
- package/es-custom/components/menu/menu-item-selectable.js.map +1 -1
- package/es-custom/components/menu/menu-item.d.ts +68 -23
- package/es-custom/components/menu/menu-item.js +37 -2
- package/es-custom/components/menu/menu-item.js.map +1 -1
- 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/modal/modal-close-button.d.ts +29 -11
- package/es-custom/components/modal/modal.d.ts +27 -11
- package/es-custom/components/modal/modal.js +6 -4
- package/es-custom/components/modal/modal.js.map +1 -1
- package/es-custom/components/multi-select/multi-select.js +12 -8
- package/es-custom/components/multi-select/multi-select.js.map +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.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/pagination/pagination.d.ts +56 -22
- package/es-custom/components/pagination-nav/defs.d.ts +61 -0
- package/es-custom/components/pagination-nav/defs.js +74 -0
- package/es-custom/components/pagination-nav/defs.js.map +1 -0
- package/es-custom/components/pagination-nav/index.d.ts +7 -0
- package/es-custom/components/pagination-nav/index.js +9 -0
- package/es-custom/components/pagination-nav/index.js.map +1 -0
- package/es-custom/components/pagination-nav/pagination-nav.d.ts +109 -0
- package/es-custom/components/pagination-nav/pagination-nav.js +427 -0
- package/es-custom/components/pagination-nav/pagination-nav.js.map +1 -0
- package/es-custom/components/pagination-nav/pagination-nav.scss.js +13 -0
- package/es-custom/components/pagination-nav/pagination-nav.scss.js.map +1 -0
- package/es-custom/components/password-input/password-input.d.ts +2 -0
- package/es-custom/components/popover/popover.d.ts +27 -11
- package/es-custom/components/popover/popover.js +1 -1
- package/es-custom/components/popover/popover.js.map +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 +57 -23
- package/es-custom/components/radio-button/radio-button.js +7 -5
- package/es-custom/components/radio-button/radio-button.js.map +1 -1
- 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/slider/slider-input.d.ts +29 -11
- package/es-custom/components/slider/slider.d.ts +84 -34
- package/es-custom/components/slider/slider.js +9 -7
- package/es-custom/components/slider/slider.js.map +1 -1
- package/es-custom/components/slug/slug.d.ts +1 -1
- package/es-custom/components/slug/slug.js +6 -4
- package/es-custom/components/slug/slug.js.map +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 +30 -12
- package/es-custom/components/structured-list/structured-list.js +7 -5
- package/es-custom/components/structured-list/structured-list.js.map +1 -1
- package/es-custom/components/tabs/tabs.d.ts +27 -11
- 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/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/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 +57 -23
- package/es-custom/components/toggle-tip/toggletip.js +7 -5
- package/es-custom/components/toggle-tip/toggletip.js.map +1 -1
- package/es-custom/components/tooltip/tooltip.d.ts +28 -12
- package/es-custom/components/tooltip/tooltip.js +7 -5
- package/es-custom/components/tooltip/tooltip.js.map +1 -1
- package/es-custom/components/tree-view/tree-view.d.ts +28 -12
- package/es-custom/components/tree-view/tree-view.js +7 -5
- package/es-custom/components/tree-view/tree-view.js.map +1 -1
- 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/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/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 +28 -12
- package/lib/components/accordion/accordion-skeleton.d.ts +1 -1
- package/lib/components/accordion/accordion.d.ts +1 -1
- package/lib/components/ai-label/ai-label.d.ts +1 -1
- 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 +57 -23
- 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 +28 -12
- 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 +28 -12
- 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/fluid-select/fluid-select.d.ts +5 -0
- package/lib/components/fluid-textarea/fluid-textarea-skeleton.d.ts +3 -3
- package/lib/components/fluid-time-picker/fluid-time-picker-select.d.ts +21 -0
- package/lib/components/fluid-time-picker/fluid-time-picker-skeleton.d.ts +23 -0
- package/lib/components/fluid-time-picker/fluid-time-picker.d.ts +32 -0
- package/lib/components/fluid-time-picker/index.d.ts +9 -0
- package/lib/components/grid/column.d.ts +3 -1
- package/lib/components/icon-button/icon-button.d.ts +1 -1
- package/lib/components/link/link.d.ts +29 -11
- package/lib/components/menu/menu-item-selectable.d.ts +5 -3
- package/lib/components/menu/menu-item.d.ts +68 -23
- 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/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/pagination-nav/defs.d.ts +61 -0
- package/lib/components/pagination-nav/defs.js +74 -0
- package/lib/components/pagination-nav/defs.js.map +1 -0
- package/lib/components/pagination-nav/index.d.ts +7 -0
- package/lib/components/pagination-nav/pagination-nav.d.ts +109 -0
- package/lib/components/password-input/password-input.d.ts +2 -0
- package/lib/components/popover/popover.d.ts +27 -11
- 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 +57 -23
- 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 +84 -34
- package/lib/components/slug/slug.d.ts +1 -1
- package/lib/components/structured-list/structured-list-row.d.ts +27 -11
- package/lib/components/structured-list/structured-list.d.ts +30 -12
- 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 +57 -23
- package/lib/components/tooltip/tooltip.d.ts +28 -12
- package/lib/components/tree-view/tree-view.d.ts +28 -12
- 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 +7 -7
- package/scss/components/combo-box/combo-box.scss +1 -1
- package/scss/components/fluid-time-picker/fluid-time-picker.scss +198 -0
- package/scss/components/pagination-nav/pagination-nav.scss +29 -0
- package/telemetry.yml +16 -8
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { LitElement } from 'lit';
|
|
8
|
+
import '../fluid-text-input/fluid-text-input-skeleton';
|
|
9
|
+
import '../fluid-select/fluid-select-skeleton';
|
|
10
|
+
/**
|
|
11
|
+
* Fluid time picker skeleton.
|
|
12
|
+
*
|
|
13
|
+
* @element cds-fluid-time-picker-skeleton
|
|
14
|
+
*/
|
|
15
|
+
declare class CDSFluidTimePickerSkeleton extends LitElement {
|
|
16
|
+
/**
|
|
17
|
+
* Specify if there are only two TimePicker elements.
|
|
18
|
+
*/
|
|
19
|
+
isOnlyTwo: boolean;
|
|
20
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
21
|
+
static styles: any;
|
|
22
|
+
}
|
|
23
|
+
export default CDSFluidTimePickerSkeleton;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import CDSTimePicker from '../time-picker/time-picker';
|
|
8
|
+
/**
|
|
9
|
+
* Fluid Time Picker component.
|
|
10
|
+
*
|
|
11
|
+
* @element cds-fluid-time-picker
|
|
12
|
+
* @slot label-text - The label text.
|
|
13
|
+
* @slot invalid-text - The invalid text.
|
|
14
|
+
* @slot warning-text - The warning text.
|
|
15
|
+
* @slot - slot for fluid time picker select components.
|
|
16
|
+
*/
|
|
17
|
+
declare class CDSFluidTimePicker extends CDSTimePicker {
|
|
18
|
+
private _hoverTargets;
|
|
19
|
+
private _handleSelectMouseEnter;
|
|
20
|
+
private _handleSelectMouseLeave;
|
|
21
|
+
private _getNormalizedProps;
|
|
22
|
+
private _syncSelectState;
|
|
23
|
+
private _setHoverState;
|
|
24
|
+
private _syncHoverListeners;
|
|
25
|
+
updated(changedProperties: any): void;
|
|
26
|
+
protected _handleSlotChange(): void;
|
|
27
|
+
disconnectedCallback(): void;
|
|
28
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
29
|
+
static get selectorTimePickerSelect(): string;
|
|
30
|
+
static styles: any[];
|
|
31
|
+
}
|
|
32
|
+
export default CDSFluidTimePicker;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import './fluid-time-picker';
|
|
8
|
+
import './fluid-time-picker-select';
|
|
9
|
+
import './fluid-time-picker-skeleton';
|
|
@@ -15,7 +15,7 @@ export type ColumnSpec = ColumnSpecSimple | `span:${number} start:${number}` | `
|
|
|
15
15
|
declare class CDSColumn extends LitElement {
|
|
16
16
|
/**
|
|
17
17
|
* Specify column size
|
|
18
|
-
* Keys sm, md
|
|
18
|
+
* Keys sm, md, lg, xlg, max
|
|
19
19
|
*
|
|
20
20
|
* Values
|
|
21
21
|
* - N, P, { span:N start:S}, { start: S, end: E}
|
|
@@ -27,6 +27,8 @@ declare class CDSColumn extends LitElement {
|
|
|
27
27
|
sm?: ColumnSpec;
|
|
28
28
|
md?: ColumnSpec;
|
|
29
29
|
lg?: ColumnSpec;
|
|
30
|
+
xlg?: ColumnSpec;
|
|
31
|
+
max?: ColumnSpec;
|
|
30
32
|
span?: ColumnSpecSimple;
|
|
31
33
|
createRenderRoot(): this;
|
|
32
34
|
}
|
|
@@ -20,6 +20,7 @@ declare const CDSLink_base: {
|
|
|
20
20
|
accessKey: string;
|
|
21
21
|
readonly accessKeyLabel: string;
|
|
22
22
|
autocapitalize: string;
|
|
23
|
+
autocorrect: boolean;
|
|
23
24
|
dir: string;
|
|
24
25
|
draggable: boolean;
|
|
25
26
|
hidden: boolean;
|
|
@@ -41,13 +42,14 @@ declare const CDSLink_base: {
|
|
|
41
42
|
click(): void;
|
|
42
43
|
hidePopover(): void;
|
|
43
44
|
showPopover(): void;
|
|
44
|
-
togglePopover(
|
|
45
|
+
togglePopover(options?: boolean): boolean;
|
|
45
46
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
46
47
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
47
48
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
48
49
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
49
50
|
readonly attributes: NamedNodeMap;
|
|
50
|
-
|
|
51
|
+
get classList(): DOMTokenList;
|
|
52
|
+
set classList(value: string);
|
|
51
53
|
className: string;
|
|
52
54
|
readonly clientHeight: number;
|
|
53
55
|
readonly clientLeft: number;
|
|
@@ -62,7 +64,8 @@ declare const CDSLink_base: {
|
|
|
62
64
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
63
65
|
outerHTML: string;
|
|
64
66
|
readonly ownerDocument: Document;
|
|
65
|
-
|
|
67
|
+
get part(): DOMTokenList;
|
|
68
|
+
set part(value: string);
|
|
66
69
|
readonly prefix: string | null;
|
|
67
70
|
readonly scrollHeight: number;
|
|
68
71
|
scrollLeft: number;
|
|
@@ -125,6 +128,8 @@ declare const CDSLink_base: {
|
|
|
125
128
|
setPointerCapture(pointerId: number): void;
|
|
126
129
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
127
130
|
webkitMatchesSelector(selectors: string): boolean;
|
|
131
|
+
get textContent(): string;
|
|
132
|
+
set textContent(value: string | null);
|
|
128
133
|
readonly baseURI: string;
|
|
129
134
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
130
135
|
readonly firstChild: ChildNode | null;
|
|
@@ -137,9 +142,8 @@ declare const CDSLink_base: {
|
|
|
137
142
|
readonly parentElement: HTMLElement | null;
|
|
138
143
|
readonly parentNode: ParentNode | null;
|
|
139
144
|
readonly previousSibling: ChildNode | null;
|
|
140
|
-
textContent: string | null;
|
|
141
145
|
appendChild<T extends Node>(node: T): T;
|
|
142
|
-
cloneNode(
|
|
146
|
+
cloneNode(subtree?: boolean): Node;
|
|
143
147
|
compareDocumentPosition(other: Node): number;
|
|
144
148
|
contains(other: Node | null): boolean;
|
|
145
149
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -172,6 +176,7 @@ declare const CDSLink_base: {
|
|
|
172
176
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
173
177
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
174
178
|
dispatchEvent(event: Event): boolean;
|
|
179
|
+
ariaActiveDescendantElement: Element | null;
|
|
175
180
|
ariaAtomic: string | null;
|
|
176
181
|
ariaAutoComplete: string | null;
|
|
177
182
|
ariaBrailleLabel: string | null;
|
|
@@ -182,25 +187,33 @@ declare const CDSLink_base: {
|
|
|
182
187
|
ariaColIndex: string | null;
|
|
183
188
|
ariaColIndexText: string | null;
|
|
184
189
|
ariaColSpan: string | null;
|
|
190
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
185
191
|
ariaCurrent: string | null;
|
|
192
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
186
193
|
ariaDescription: string | null;
|
|
194
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
187
195
|
ariaDisabled: string | null;
|
|
196
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
188
197
|
ariaExpanded: string | null;
|
|
198
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
189
199
|
ariaHasPopup: string | null;
|
|
190
200
|
ariaHidden: string | null;
|
|
191
201
|
ariaInvalid: string | null;
|
|
192
202
|
ariaKeyShortcuts: string | null;
|
|
193
203
|
ariaLabel: string | null;
|
|
204
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
194
205
|
ariaLevel: string | null;
|
|
195
206
|
ariaLive: string | null;
|
|
196
207
|
ariaModal: string | null;
|
|
197
208
|
ariaMultiLine: string | null;
|
|
198
209
|
ariaMultiSelectable: string | null;
|
|
199
210
|
ariaOrientation: string | null;
|
|
211
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
200
212
|
ariaPlaceholder: string | null;
|
|
201
213
|
ariaPosInSet: string | null;
|
|
202
214
|
ariaPressed: string | null;
|
|
203
215
|
ariaReadOnly: string | null;
|
|
216
|
+
ariaRelevant: string | null;
|
|
204
217
|
ariaRequired: string | null;
|
|
205
218
|
ariaRoleDescription: string | null;
|
|
206
219
|
ariaRowCount: string | null;
|
|
@@ -242,7 +255,8 @@ declare const CDSLink_base: {
|
|
|
242
255
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
243
256
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
244
257
|
readonly attributeStyleMap: StylePropertyMap;
|
|
245
|
-
|
|
258
|
+
get style(): CSSStyleDeclaration;
|
|
259
|
+
set style(cssText: string);
|
|
246
260
|
contentEditable: string;
|
|
247
261
|
enterKeyHint: string;
|
|
248
262
|
inputMode: string;
|
|
@@ -252,18 +266,19 @@ declare const CDSLink_base: {
|
|
|
252
266
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
253
267
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
254
268
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
255
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
269
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
256
270
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
257
|
-
|
|
271
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
258
273
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
259
274
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
275
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
276
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
277
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
263
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
278
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
264
279
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
280
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
266
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
281
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
267
282
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
283
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
269
284
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -311,6 +326,7 @@ declare const CDSLink_base: {
|
|
|
311
326
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
312
327
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
313
328
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
329
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
330
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
315
331
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
316
332
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -329,7 +345,7 @@ declare const CDSLink_base: {
|
|
|
329
345
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
330
346
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
347
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
348
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
333
349
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
334
350
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
335
351
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -439,6 +455,8 @@ declare class CDSLink extends CDSLink_base {
|
|
|
439
455
|
render(): import("lit-html").TemplateResult<1>;
|
|
440
456
|
static shadowRootOptions: {
|
|
441
457
|
delegatesFocus: boolean;
|
|
458
|
+
clonable?: boolean;
|
|
459
|
+
customElementRegistry?: CustomElementRegistry;
|
|
442
460
|
mode: ShadowRootMode;
|
|
443
461
|
serializable?: boolean;
|
|
444
462
|
slotAssignment?: SlotAssignmentMode;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2019,
|
|
2
|
+
* Copyright IBM Corp. 2019, 2026
|
|
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
8
|
/**
|
|
9
|
-
* Menu Item.
|
|
9
|
+
* Menu Item Selectable.
|
|
10
10
|
*
|
|
11
|
-
* @element cds-menu-item
|
|
11
|
+
* @element cds-menu-item-selectable
|
|
12
12
|
*/
|
|
13
13
|
declare class CDSmenuItemSelectable extends LitElement {
|
|
14
14
|
context: any;
|
|
@@ -29,6 +29,8 @@ declare class CDSmenuItemSelectable extends LitElement {
|
|
|
29
29
|
*/
|
|
30
30
|
static shadowRootOptions: {
|
|
31
31
|
delegatesFocus: boolean;
|
|
32
|
+
clonable?: boolean;
|
|
33
|
+
customElementRegistry?: CustomElementRegistry;
|
|
32
34
|
mode: ShadowRootMode;
|
|
33
35
|
serializable?: boolean;
|
|
34
36
|
slotAssignment?: SlotAssignmentMode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2019,
|
|
2
|
+
* Copyright IBM Corp. 2019, 2026
|
|
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.
|
|
@@ -16,6 +16,7 @@ declare const CDSmenuItem_base: {
|
|
|
16
16
|
accessKey: string;
|
|
17
17
|
readonly accessKeyLabel: string;
|
|
18
18
|
autocapitalize: string;
|
|
19
|
+
autocorrect: boolean;
|
|
19
20
|
dir: string;
|
|
20
21
|
draggable: boolean;
|
|
21
22
|
hidden: boolean;
|
|
@@ -37,13 +38,14 @@ declare const CDSmenuItem_base: {
|
|
|
37
38
|
click(): void;
|
|
38
39
|
hidePopover(): void;
|
|
39
40
|
showPopover(): void;
|
|
40
|
-
togglePopover(
|
|
41
|
+
togglePopover(options?: boolean): boolean;
|
|
41
42
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
42
43
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
43
44
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
44
45
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
45
46
|
readonly attributes: NamedNodeMap;
|
|
46
|
-
|
|
47
|
+
get classList(): DOMTokenList;
|
|
48
|
+
set classList(value: string);
|
|
47
49
|
className: string;
|
|
48
50
|
readonly clientHeight: number;
|
|
49
51
|
readonly clientLeft: number;
|
|
@@ -58,7 +60,8 @@ declare const CDSmenuItem_base: {
|
|
|
58
60
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
59
61
|
outerHTML: string;
|
|
60
62
|
readonly ownerDocument: Document;
|
|
61
|
-
|
|
63
|
+
get part(): DOMTokenList;
|
|
64
|
+
set part(value: string);
|
|
62
65
|
readonly prefix: string | null;
|
|
63
66
|
readonly scrollHeight: number;
|
|
64
67
|
scrollLeft: number;
|
|
@@ -121,6 +124,8 @@ declare const CDSmenuItem_base: {
|
|
|
121
124
|
setPointerCapture(pointerId: number): void;
|
|
122
125
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
123
126
|
webkitMatchesSelector(selectors: string): boolean;
|
|
127
|
+
get textContent(): string;
|
|
128
|
+
set textContent(value: string | null);
|
|
124
129
|
readonly baseURI: string;
|
|
125
130
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
126
131
|
readonly firstChild: ChildNode | null;
|
|
@@ -133,9 +138,8 @@ declare const CDSmenuItem_base: {
|
|
|
133
138
|
readonly parentElement: HTMLElement | null;
|
|
134
139
|
readonly parentNode: ParentNode | null;
|
|
135
140
|
readonly previousSibling: ChildNode | null;
|
|
136
|
-
textContent: string | null;
|
|
137
141
|
appendChild<T extends Node>(node: T): T;
|
|
138
|
-
cloneNode(
|
|
142
|
+
cloneNode(subtree?: boolean): Node;
|
|
139
143
|
compareDocumentPosition(other: Node): number;
|
|
140
144
|
contains(other: Node | null): boolean;
|
|
141
145
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -168,6 +172,7 @@ declare const CDSmenuItem_base: {
|
|
|
168
172
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
169
173
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
170
174
|
dispatchEvent(event: Event): boolean;
|
|
175
|
+
ariaActiveDescendantElement: Element | null;
|
|
171
176
|
ariaAtomic: string | null;
|
|
172
177
|
ariaAutoComplete: string | null;
|
|
173
178
|
ariaBrailleLabel: string | null;
|
|
@@ -178,25 +183,33 @@ declare const CDSmenuItem_base: {
|
|
|
178
183
|
ariaColIndex: string | null;
|
|
179
184
|
ariaColIndexText: string | null;
|
|
180
185
|
ariaColSpan: string | null;
|
|
186
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
181
187
|
ariaCurrent: string | null;
|
|
188
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
182
189
|
ariaDescription: string | null;
|
|
190
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
183
191
|
ariaDisabled: string | null;
|
|
192
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
184
193
|
ariaExpanded: string | null;
|
|
194
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
185
195
|
ariaHasPopup: string | null;
|
|
186
196
|
ariaHidden: string | null;
|
|
187
197
|
ariaInvalid: string | null;
|
|
188
198
|
ariaKeyShortcuts: string | null;
|
|
189
199
|
ariaLabel: string | null;
|
|
200
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
190
201
|
ariaLevel: string | null;
|
|
191
202
|
ariaLive: string | null;
|
|
192
203
|
ariaModal: string | null;
|
|
193
204
|
ariaMultiLine: string | null;
|
|
194
205
|
ariaMultiSelectable: string | null;
|
|
195
206
|
ariaOrientation: string | null;
|
|
207
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
196
208
|
ariaPlaceholder: string | null;
|
|
197
209
|
ariaPosInSet: string | null;
|
|
198
210
|
ariaPressed: string | null;
|
|
199
211
|
ariaReadOnly: string | null;
|
|
212
|
+
ariaRelevant: string | null;
|
|
200
213
|
ariaRequired: string | null;
|
|
201
214
|
ariaRoleDescription: string | null;
|
|
202
215
|
ariaRowCount: string | null;
|
|
@@ -238,7 +251,8 @@ declare const CDSmenuItem_base: {
|
|
|
238
251
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
239
252
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
240
253
|
readonly attributeStyleMap: StylePropertyMap;
|
|
241
|
-
|
|
254
|
+
get style(): CSSStyleDeclaration;
|
|
255
|
+
set style(cssText: string);
|
|
242
256
|
contentEditable: string;
|
|
243
257
|
enterKeyHint: string;
|
|
244
258
|
inputMode: string;
|
|
@@ -248,18 +262,19 @@ declare const CDSmenuItem_base: {
|
|
|
248
262
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
249
263
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
250
264
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
251
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
265
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
252
266
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
253
|
-
|
|
267
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
254
269
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
255
270
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
271
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
272
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
273
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
274
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
260
275
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
276
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
277
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
263
278
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
264
279
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
265
280
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -307,6 +322,7 @@ declare const CDSmenuItem_base: {
|
|
|
307
322
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
308
323
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
309
324
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
325
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
310
326
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
311
327
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
312
328
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -325,7 +341,7 @@ declare const CDSmenuItem_base: {
|
|
|
325
341
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
326
342
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
343
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
344
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
329
345
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
330
346
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
331
347
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -363,6 +379,7 @@ declare const CDSmenuItem_base: {
|
|
|
363
379
|
accessKey: string;
|
|
364
380
|
readonly accessKeyLabel: string;
|
|
365
381
|
autocapitalize: string;
|
|
382
|
+
autocorrect: boolean;
|
|
366
383
|
dir: string;
|
|
367
384
|
draggable: boolean;
|
|
368
385
|
hidden: boolean;
|
|
@@ -384,13 +401,14 @@ declare const CDSmenuItem_base: {
|
|
|
384
401
|
click(): void;
|
|
385
402
|
hidePopover(): void;
|
|
386
403
|
showPopover(): void;
|
|
387
|
-
togglePopover(
|
|
404
|
+
togglePopover(options?: boolean): boolean;
|
|
388
405
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
389
406
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
390
407
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
391
408
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
392
409
|
readonly attributes: NamedNodeMap;
|
|
393
|
-
|
|
410
|
+
get classList(): DOMTokenList;
|
|
411
|
+
set classList(value: string);
|
|
394
412
|
className: string;
|
|
395
413
|
readonly clientHeight: number;
|
|
396
414
|
readonly clientLeft: number;
|
|
@@ -405,7 +423,8 @@ declare const CDSmenuItem_base: {
|
|
|
405
423
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
406
424
|
outerHTML: string;
|
|
407
425
|
readonly ownerDocument: Document;
|
|
408
|
-
|
|
426
|
+
get part(): DOMTokenList;
|
|
427
|
+
set part(value: string);
|
|
409
428
|
readonly prefix: string | null;
|
|
410
429
|
readonly scrollHeight: number;
|
|
411
430
|
scrollLeft: number;
|
|
@@ -468,6 +487,8 @@ declare const CDSmenuItem_base: {
|
|
|
468
487
|
setPointerCapture(pointerId: number): void;
|
|
469
488
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
470
489
|
webkitMatchesSelector(selectors: string): boolean;
|
|
490
|
+
get textContent(): string;
|
|
491
|
+
set textContent(value: string | null);
|
|
471
492
|
readonly baseURI: string;
|
|
472
493
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
473
494
|
readonly firstChild: ChildNode | null;
|
|
@@ -480,9 +501,8 @@ declare const CDSmenuItem_base: {
|
|
|
480
501
|
readonly parentElement: HTMLElement | null;
|
|
481
502
|
readonly parentNode: ParentNode | null;
|
|
482
503
|
readonly previousSibling: ChildNode | null;
|
|
483
|
-
textContent: string | null;
|
|
484
504
|
appendChild<T extends Node>(node: T): T;
|
|
485
|
-
cloneNode(
|
|
505
|
+
cloneNode(subtree?: boolean): Node;
|
|
486
506
|
compareDocumentPosition(other: Node): number;
|
|
487
507
|
contains(other: Node | null): boolean;
|
|
488
508
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -515,6 +535,7 @@ declare const CDSmenuItem_base: {
|
|
|
515
535
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
516
536
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
517
537
|
dispatchEvent(event: Event): boolean;
|
|
538
|
+
ariaActiveDescendantElement: Element | null;
|
|
518
539
|
ariaAtomic: string | null;
|
|
519
540
|
ariaAutoComplete: string | null;
|
|
520
541
|
ariaBrailleLabel: string | null;
|
|
@@ -525,25 +546,33 @@ declare const CDSmenuItem_base: {
|
|
|
525
546
|
ariaColIndex: string | null;
|
|
526
547
|
ariaColIndexText: string | null;
|
|
527
548
|
ariaColSpan: string | null;
|
|
549
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
528
550
|
ariaCurrent: string | null;
|
|
551
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
529
552
|
ariaDescription: string | null;
|
|
553
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
530
554
|
ariaDisabled: string | null;
|
|
555
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
531
556
|
ariaExpanded: string | null;
|
|
557
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
532
558
|
ariaHasPopup: string | null;
|
|
533
559
|
ariaHidden: string | null;
|
|
534
560
|
ariaInvalid: string | null;
|
|
535
561
|
ariaKeyShortcuts: string | null;
|
|
536
562
|
ariaLabel: string | null;
|
|
563
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
537
564
|
ariaLevel: string | null;
|
|
538
565
|
ariaLive: string | null;
|
|
539
566
|
ariaModal: string | null;
|
|
540
567
|
ariaMultiLine: string | null;
|
|
541
568
|
ariaMultiSelectable: string | null;
|
|
542
569
|
ariaOrientation: string | null;
|
|
570
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
543
571
|
ariaPlaceholder: string | null;
|
|
544
572
|
ariaPosInSet: string | null;
|
|
545
573
|
ariaPressed: string | null;
|
|
546
574
|
ariaReadOnly: string | null;
|
|
575
|
+
ariaRelevant: string | null;
|
|
547
576
|
ariaRequired: string | null;
|
|
548
577
|
ariaRoleDescription: string | null;
|
|
549
578
|
ariaRowCount: string | null;
|
|
@@ -585,7 +614,8 @@ declare const CDSmenuItem_base: {
|
|
|
585
614
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
586
615
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
587
616
|
readonly attributeStyleMap: StylePropertyMap;
|
|
588
|
-
|
|
617
|
+
get style(): CSSStyleDeclaration;
|
|
618
|
+
set style(cssText: string);
|
|
589
619
|
contentEditable: string;
|
|
590
620
|
enterKeyHint: string;
|
|
591
621
|
inputMode: string;
|
|
@@ -595,18 +625,19 @@ declare const CDSmenuItem_base: {
|
|
|
595
625
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
596
626
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
597
627
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
598
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
628
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
599
629
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
600
|
-
|
|
630
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
631
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
601
632
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
602
633
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
603
634
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
604
635
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
605
636
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
606
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
637
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
607
638
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
608
639
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
609
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
640
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
610
641
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
611
642
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
612
643
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -654,6 +685,7 @@ declare const CDSmenuItem_base: {
|
|
|
654
685
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
655
686
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
656
687
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
688
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
657
689
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
658
690
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
659
691
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -672,7 +704,7 @@ declare const CDSmenuItem_base: {
|
|
|
672
704
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
673
705
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
674
706
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
675
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
707
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
676
708
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
677
709
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
678
710
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -712,6 +744,14 @@ declare class CDSmenuItem extends CDSmenuItem_base {
|
|
|
712
744
|
context: any;
|
|
713
745
|
readonly hoverIntentDelay = 150;
|
|
714
746
|
hoverIntentTimeout: any;
|
|
747
|
+
/**
|
|
748
|
+
* The parent cds-menu element
|
|
749
|
+
*/
|
|
750
|
+
private _parentMenu;
|
|
751
|
+
/**
|
|
752
|
+
* MutationObserver that observes the parent cds-menu element
|
|
753
|
+
*/
|
|
754
|
+
private _parentMenuObserver?;
|
|
715
755
|
/**
|
|
716
756
|
* Label for the menu item.
|
|
717
757
|
*/
|
|
@@ -724,6 +764,10 @@ declare class CDSmenuItem extends CDSmenuItem_base {
|
|
|
724
764
|
* Disabled property for the menu item.
|
|
725
765
|
*/
|
|
726
766
|
disabled: any;
|
|
767
|
+
/**
|
|
768
|
+
* Specify the message read by screen readers for the danger menu item variant
|
|
769
|
+
*/
|
|
770
|
+
dangerDescription: string;
|
|
727
771
|
/**
|
|
728
772
|
* Whether the menu submen for an item is open or not.
|
|
729
773
|
*/
|
|
@@ -752,6 +796,7 @@ declare class CDSmenuItem extends CDSmenuItem_base {
|
|
|
752
796
|
dispatchIconDetect(): Promise<void>;
|
|
753
797
|
private _updateAttributes;
|
|
754
798
|
firstUpdated(): void;
|
|
799
|
+
disconnectedCallback(): void;
|
|
755
800
|
updated(_changedProperties: PropertyValues): void;
|
|
756
801
|
handleClick(event: MouseEvent): void;
|
|
757
802
|
handleMouseEnter(): void;
|