@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.js","sources":["../../../src/components/radio-button/radio-button.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2019, 2024\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport HostListener from '../../globals/decorators/host-listener';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport RadioGroupManager, {\n NAVIGATION_DIRECTION,\n ManagedRadioButtonDelegate,\n} from '../../globals/internal/radio-group-manager';\nimport { RADIO_BUTTON_LABEL_POSITION, RADIO_BUTTON_ORIENTATION } from './defs';\nimport styles from './radio-button.scss?lit';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { RADIO_BUTTON_LABEL_POSITION };\n\n/**\n * Map of navigation direction by key for horizontal alignment.\n */\nconst navigationDirectionForKeyHorizontal = {\n ArrowLeft: NAVIGATION_DIRECTION.BACKWARD,\n Left: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowRight: NAVIGATION_DIRECTION.FORWARD,\n Right: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * Map of navigation direction by key for vertical alignment.\n */\nconst navigationDirectionForKeyVertical = {\n ArrowUp: NAVIGATION_DIRECTION.BACKWARD,\n Up: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowDown: NAVIGATION_DIRECTION.FORWARD,\n Down: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * The interface for `RadioGroupManager` for radio button.\n */\nclass RadioButtonDelegate implements ManagedRadioButtonDelegate {\n /**\n * The radio button to target.\n */\n private _radio: HTMLInputElement;\n\n constructor(radio: HTMLInputElement) {\n this._radio = radio;\n }\n\n get checked() {\n return this._radio.checked;\n }\n\n set checked(checked) {\n const { host } = this._radio.getRootNode() as ShadowRoot;\n const { eventChange } = host.constructor as typeof CDSRadioButton;\n (host as CDSRadioButton).checked = checked;\n this._radio.tabIndex = checked ? 0 : -1;\n host.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n checked,\n value: this._radio.value,\n name: this._radio.name,\n },\n })\n );\n }\n\n get tabIndex() {\n return this._radio.tabIndex;\n }\n\n set tabIndex(tabIndex) {\n this._radio.tabIndex = tabIndex;\n }\n\n get name() {\n return this._radio.name;\n }\n\n get disabled() {\n return this._radio.disabled;\n }\n\n compareDocumentPosition(other: RadioButtonDelegate) {\n return this._radio.compareDocumentPosition(other._radio);\n }\n\n focus() {\n this._radio.focus();\n }\n}\n\n/**\n * Radio button.\n *\n * @element cds-radio-button\n * @fires cds-radio-button-changed - The custom event fired after this radio button changes its checked state.\n */\n@customElement(`${prefix}-radio-button`)\nclass CDSRadioButton extends HostListenerMixin(FocusMixin(LitElement)) {\n /**\n * The radio group manager associated with the radio button.\n */\n private _manager: RadioGroupManager | null = null;\n\n /**\n * The interface for `RadioGroupManager` for radio button.\n */\n private _radioButtonDelegate!: RadioButtonDelegate;\n\n /**\n * The hidden radio button.\n */\n @query('input')\n private _inputNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on this element.\n */\n @HostListener('click')\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClick = (event) => {\n if (\n !(event.target as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton)?.aiLabelItem\n ) &&\n !(event.target as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton)?.slugItem\n )\n ) {\n const {\n disabled,\n _radioButtonDelegate: radioButtonDelegate,\n readOnly,\n } = this;\n if (readOnly) {\n event.preventDefault();\n return;\n }\n if (radioButtonDelegate && !disabled && !this.disabledItem) {\n this.checked = true;\n if (this._manager) {\n this._manager.select(radioButtonDelegate, this.readOnly);\n }\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSRadioButton).eventChange,\n {\n bubbles: true,\n composed: true,\n detail: {\n checked: this.checked,\n value: this.value,\n name: this.name,\n event,\n },\n }\n )\n );\n }\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSRadioButton).eventChange,\n {\n bubbles: true,\n composed: true,\n detail: {\n checked: this.checked,\n value: this.value,\n name: this.name,\n event,\n },\n }\n )\n );\n }\n };\n\n /**\n * Handles `keydown` event on this element.\n */\n @HostListener('keydown')\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = (event: KeyboardEvent) => {\n if (\n !(event.target as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton)?.aiLabelItem\n ) &&\n !(event.target as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton)?.slugItem\n )\n ) {\n const {\n orientation,\n _radioButtonDelegate: radioButtonDelegate,\n disabled,\n disabledItem,\n readOnly,\n } = this;\n const manager = this._manager;\n if (readOnly) {\n event.preventDefault();\n return;\n }\n if (radioButtonDelegate && manager && !disabled && !disabledItem) {\n const navigationDirectionForKey =\n orientation === RADIO_BUTTON_ORIENTATION.HORIZONTAL\n ? navigationDirectionForKeyHorizontal\n : navigationDirectionForKeyVertical;\n const navigationDirection = navigationDirectionForKey[event.key];\n if (navigationDirection) {\n manager.select(\n manager.navigate(radioButtonDelegate, navigationDirection),\n this.readOnly\n );\n }\n if (event.key === ' ' || event.key === 'Enter') {\n manager.select(radioButtonDelegate, this.readOnly);\n }\n }\n }\n };\n\n /**\n * Handles `slotchange` event.\n */\n protected _handleSlotChange({ target }: Event) {\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .filter((elem) =>\n (elem as HTMLElement).matches !== undefined\n ? (elem as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton).aiLabelItem\n ) ||\n // remove reference to slug in v12\n (elem as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton).slugItem\n )\n : false\n );\n\n this._hasAILabel = Boolean(hasContent);\n const type = (hasContent[0] as HTMLElement).getAttribute('kind');\n (hasContent[0] as HTMLElement).setAttribute(\n 'size',\n type === 'inline' ? 'md' : 'mini'\n );\n this.requestUpdate();\n }\n\n /**\n * `true` if there is an AI Label.\n */\n protected _hasAILabel = false;\n\n /**\n * `true` if this radio button should be checked.\n */\n @property({ type: Boolean, reflect: true })\n checked = false;\n\n /**\n * `true` if the radio button is used in a data table\n */\n @property({ type: Boolean, reflect: true, attribute: 'data-table' })\n dataTable = false;\n\n /**\n * Specify whether the `<radio-button>` should be checked by default\n */\n @property({ type: Boolean, attribute: 'default-checked' })\n defaultChecked = false;\n\n /**\n * `true` if the radio button item should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabledItem = false;\n\n /**\n * `true` if the radio button group should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if the label should be hidden.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-label' })\n hideLabel = false;\n\n /**\n * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Specify whether the control is currently in warning state\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Provide the text that is displayed when the control is in warning state\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * The label position.\n */\n @property({ reflect: true, attribute: 'label-position' })\n labelPosition = RADIO_BUTTON_LABEL_POSITION.RIGHT;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The `name` attribute for the `<input>` for selection.\n */\n @property()\n name!: string;\n\n /**\n * The orientation to lay out radio buttons.\n */\n @property({ reflect: true })\n orientation = RADIO_BUTTON_ORIENTATION.HORIZONTAL;\n\n /**\n * `true` if the radio button group should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n readOnly = false;\n\n /**\n * `true` if the radio button is required.\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property()\n value!: string;\n\n disconnectedCallback() {\n if (this._manager) {\n this._manager.delete(this._radioButtonDelegate);\n }\n super.disconnectedCallback();\n }\n\n firstUpdated() {\n this._radioButtonDelegate = new RadioButtonDelegate(this._inputNode);\n\n // If user hasn’t explicitly set `checked`, respect `defaultChecked`\n if (this.defaultChecked && this.checked === false) {\n this.checked = true;\n }\n }\n\n updated(changedProperties) {\n const {\n _hasAILabel: hasAILabel,\n _inputNode: inputNode,\n _radioButtonDelegate: radioButtonDelegate,\n name,\n disabled,\n disabledItem,\n readOnly,\n invalid,\n warn,\n } = this;\n\n // Normalize input props similar to useNormalizedInputProps in React\n const normalizedProps = {\n disabled: !readOnly && (disabled || disabledItem),\n invalid: !readOnly && !disabled && !disabledItem && invalid,\n warn: !readOnly && !disabled && !disabledItem && !invalid && warn,\n };\n\n if (changedProperties.has('checked') || changedProperties.has('name')) {\n if (!this._manager) {\n this._manager = RadioGroupManager.get(\n this.getRootNode({ composed: true }) as Document\n );\n }\n const { _manager: manager } = this;\n if (changedProperties.has('name')) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452\n manager!.delete(radioButtonDelegate, changedProperties.get('name'));\n if (name) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452\n manager!.add(radioButtonDelegate);\n }\n }\n // Disabled items should have tabIndex -1.\n inputNode.setAttribute(\n 'tabindex',\n !name ||\n !manager ||\n this.disabled ||\n this.disabledItem ||\n !manager.shouldBeFocusable(radioButtonDelegate)\n ? '-1'\n : '0'\n );\n }\n // Handle validation states based on normalized props\n if (\n changedProperties.has('invalid') ||\n changedProperties.has('warn') ||\n changedProperties.has('disabled') ||\n changedProperties.has('disabledItem') ||\n changedProperties.has('readOnly')\n ) {\n // Apply normalized validation states\n if (normalizedProps.invalid) {\n this.setAttribute('invalid', '');\n this.removeAttribute('warn');\n } else if (normalizedProps.warn) {\n this.setAttribute('warn', '');\n this.removeAttribute('invalid');\n } else {\n this.removeAttribute('invalid');\n this.removeAttribute('warn');\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- https://github.com/carbon-design-system/carbon/issues/20452\n hasAILabel\n ? this.setAttribute('ai-label', '')\n : this.removeAttribute('ai-label');\n }\n\n render() {\n const {\n checked,\n hideLabel,\n labelText,\n name,\n value,\n disabled,\n disabledItem,\n readOnly,\n invalid,\n warn,\n } = this;\n\n // Normalize input props similar to useNormalizedInputProps in React\n const normalizedProps = {\n disabled: !readOnly && (disabled || disabledItem),\n invalid: !readOnly && !disabled && !disabledItem && invalid,\n warn: !readOnly && !disabled && !disabledItem && !invalid && warn,\n };\n const innerLabelClasses = classMap({\n [`${prefix}--radio-button__label-text`]: true,\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n return html`\n <input\n id=\"radio\"\n type=\"radio\"\n class=\"${prefix}--radio-button\"\n .checked=${checked}\n ?disabled=\"${disabledItem || disabled}\"\n ?required=${this.required}\n aria-readonly=\"${String(Boolean(readOnly))}\"\n name=${ifDefined(name)}\n value=${ifDefined(value)} />\n <label\n for=\"input\"\n class=\"${prefix}--radio-button__label ${normalizedProps.invalid\n ? `${prefix}--radio-button__label--invalid`\n : ''} ${normalizedProps.warn\n ? `${prefix}--radio-button__label--warn`\n : ''}\">\n <span class=\"${prefix}--radio-button__appearance\"></span>\n <span class=\"${innerLabelClasses}\">\n <slot> ${labelText} </slot>\n <slot name=\"ai-label\" @slotchange=\"${this._handleSlotChange}\"></slot>\n <slot name=\"slug\" @slotchange=\"${this._handleSlotChange}\"></slot\n ></span>\n </label>\n `;\n }\n\n /**\n * A selector that will return the slug item.\n *\n * remove in v12\n */\n static get slugItem() {\n return `${prefix}-slug`;\n }\n\n /**\n * A selector that will return the AI Label item.\n */\n static get aiLabelItem() {\n return `${prefix}-ai-label`;\n }\n\n /**\n * The name of the custom event fired after this radio button changes its checked state.\n */\n static get eventChange() {\n return `${prefix}-radio-button-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSRadioButton;\n"],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AAKG;AAoBH;;AAEG;AACH,MAAM,mCAAmC,GAAG;IAC1C,SAAS,EAAE,oBAAoB,CAAC,QAAQ;AACxC,IAAA,IAAI,EAAE,oBAAoB,CAAC,QAAQ;IACnC,UAAU,EAAE,oBAAoB,CAAC,OAAO;AACxC,IAAA,KAAK,EAAE,oBAAoB,CAAC,OAAO;CACpC;AAED;;AAEG;AACH,MAAM,iCAAiC,GAAG;IACxC,OAAO,EAAE,oBAAoB,CAAC,QAAQ;AACtC,IAAA,EAAE,EAAE,oBAAoB,CAAC,QAAQ;IACjC,SAAS,EAAE,oBAAoB,CAAC,OAAO;AACvC,IAAA,IAAI,EAAE,oBAAoB,CAAC,OAAO;CACnC;AAED;;AAEG;AACH,MAAM,mBAAmB,CAAA;AAMvB,IAAA,WAAA,CAAY,KAAuB,EAAA;AACjC,QAAA,IAAI,CAAC,MAAM,GAAG,KAAK;IACrB;AAEA,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO;IAC5B;IAEA,IAAI,OAAO,CAAC,OAAO,EAAA;QACjB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,EAAgB;AACxD,QAAA,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,WAAoC;AAChE,QAAA,IAAuB,CAAC,OAAO,GAAG,OAAO;AAC1C,QAAA,IAAI,CA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CAAe;AACjC,CAAA,EAAA,cAAc,CAwanB;AAED,uBAAe,cAAc;;;;"}
|
|
1
|
+
{"version":3,"file":"radio-button.js","sources":["../../../src/components/radio-button/radio-button.ts"],"sourcesContent":["/**\n * Copyright IBM Corp. 2019, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { classMap } from 'lit/directives/class-map.js';\nimport { LitElement, html } from 'lit';\nimport { property, query } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport HostListener from '../../globals/decorators/host-listener';\nimport FocusMixin from '../../globals/mixins/focus';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport RadioGroupManager, {\n NAVIGATION_DIRECTION,\n ManagedRadioButtonDelegate,\n} from '../../globals/internal/radio-group-manager';\nimport { RADIO_BUTTON_LABEL_POSITION, RADIO_BUTTON_ORIENTATION } from './defs';\nimport styles from './radio-button.scss?lit';\nimport { carbonElement as customElement } from '../../globals/decorators/carbon-element';\n\nexport { RADIO_BUTTON_LABEL_POSITION };\n\n/**\n * Map of navigation direction by key for horizontal alignment.\n */\nconst navigationDirectionForKeyHorizontal = {\n ArrowLeft: NAVIGATION_DIRECTION.BACKWARD,\n Left: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowRight: NAVIGATION_DIRECTION.FORWARD,\n Right: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * Map of navigation direction by key for vertical alignment.\n */\nconst navigationDirectionForKeyVertical = {\n ArrowUp: NAVIGATION_DIRECTION.BACKWARD,\n Up: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowDown: NAVIGATION_DIRECTION.FORWARD,\n Down: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * The interface for `RadioGroupManager` for radio button.\n */\nclass RadioButtonDelegate implements ManagedRadioButtonDelegate {\n /**\n * The radio button to target.\n */\n private _radio: HTMLInputElement;\n\n constructor(radio: HTMLInputElement) {\n this._radio = radio;\n }\n\n get checked() {\n return this._radio.checked;\n }\n\n set checked(checked) {\n const { host } = this._radio.getRootNode() as ShadowRoot;\n const { eventChange } = host.constructor as typeof CDSRadioButton;\n (host as CDSRadioButton).checked = checked;\n this._radio.tabIndex = checked ? 0 : -1;\n host.dispatchEvent(\n new CustomEvent(eventChange, {\n bubbles: true,\n composed: true,\n detail: {\n checked,\n value: this._radio.value,\n name: this._radio.name,\n },\n })\n );\n }\n\n get tabIndex() {\n return this._radio.tabIndex;\n }\n\n set tabIndex(tabIndex) {\n this._radio.tabIndex = tabIndex;\n }\n\n get name() {\n return this._radio.name;\n }\n\n get disabled() {\n return this._radio.disabled;\n }\n\n compareDocumentPosition(other: RadioButtonDelegate) {\n return this._radio.compareDocumentPosition(other._radio);\n }\n\n focus() {\n this._radio.focus();\n }\n}\n\n/**\n * Radio button.\n *\n * @element cds-radio-button\n * @fires cds-radio-button-changed - The custom event fired after this radio button changes its checked state.\n */\n@customElement(`${prefix}-radio-button`)\nclass CDSRadioButton extends HostListenerMixin(FocusMixin(LitElement)) {\n /**\n * The radio group manager associated with the radio button.\n */\n private _manager: RadioGroupManager | null = null;\n\n /**\n * The interface for `RadioGroupManager` for radio button.\n */\n private _radioButtonDelegate!: RadioButtonDelegate;\n\n /**\n * The hidden radio button.\n */\n @query('input')\n private _inputNode!: HTMLInputElement;\n\n /**\n * Handles `click` event on this element.\n */\n @HostListener('click')\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleClick = (event) => {\n if (\n !(event.target as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton)?.aiLabelItem\n ) &&\n !(event.target as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton)?.slugItem\n )\n ) {\n const {\n disabled,\n _radioButtonDelegate: radioButtonDelegate,\n readOnly,\n } = this;\n if (readOnly) {\n event.preventDefault();\n return;\n }\n if (radioButtonDelegate && !disabled && !this.disabledItem) {\n this.checked = true;\n if (this._manager) {\n this._manager.select(radioButtonDelegate, this.readOnly);\n }\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSRadioButton).eventChange,\n {\n bubbles: true,\n composed: true,\n detail: {\n checked: this.checked,\n value: this.value,\n name: this.name,\n event,\n },\n }\n )\n );\n }\n this.dispatchEvent(\n new CustomEvent(\n (this.constructor as typeof CDSRadioButton).eventChange,\n {\n bubbles: true,\n composed: true,\n detail: {\n checked: this.checked,\n value: this.value,\n name: this.name,\n event,\n },\n }\n )\n );\n }\n };\n\n /**\n * Handles `keydown` event on this element.\n */\n @HostListener('keydown')\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- https://github.com/carbon-design-system/carbon/issues/20452\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = (event: KeyboardEvent) => {\n if (\n !(event.target as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton)?.aiLabelItem\n ) &&\n !(event.target as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton)?.slugItem\n )\n ) {\n const {\n orientation,\n _radioButtonDelegate: radioButtonDelegate,\n disabled,\n disabledItem,\n readOnly,\n } = this;\n const manager = this._manager;\n if (readOnly) {\n event.preventDefault();\n return;\n }\n if (radioButtonDelegate && manager && !disabled && !disabledItem) {\n const navigationDirectionForKey =\n orientation === RADIO_BUTTON_ORIENTATION.HORIZONTAL\n ? navigationDirectionForKeyHorizontal\n : navigationDirectionForKeyVertical;\n const navigationDirection = navigationDirectionForKey[event.key];\n if (navigationDirection) {\n manager.select(\n manager.navigate(radioButtonDelegate, navigationDirection),\n this.readOnly\n );\n }\n if (event.key === ' ' || event.key === 'Enter') {\n manager.select(radioButtonDelegate, this.readOnly);\n }\n }\n }\n };\n\n /**\n * Handles `slotchange` event.\n */\n protected _handleSlotChange({ target }: Event) {\n const hasContent = (target as HTMLSlotElement)\n .assignedNodes()\n .filter((elem) =>\n (elem as HTMLElement).matches !== undefined\n ? (elem as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton).aiLabelItem\n ) ||\n // remove reference to slug in v12\n (elem as HTMLElement).matches(\n (this.constructor as typeof CDSRadioButton).slugItem\n )\n : false\n );\n\n this._hasAILabel = Boolean(hasContent);\n const type = (hasContent[0] as HTMLElement).getAttribute('kind');\n (hasContent[0] as HTMLElement).setAttribute(\n 'size',\n type === 'inline' ? 'md' : 'mini'\n );\n this.requestUpdate();\n }\n\n /**\n * `true` if there is an AI Label.\n */\n protected _hasAILabel = false;\n\n /**\n * `true` if this radio button should be checked.\n */\n @property({ type: Boolean, reflect: true })\n checked = false;\n\n /**\n * `true` if the radio button is used in a data table\n */\n @property({ type: Boolean, reflect: true, attribute: 'data-table' })\n dataTable = false;\n\n /**\n * Specify whether the `<radio-button>` should be checked by default\n */\n @property({ type: Boolean, attribute: 'default-checked' })\n defaultChecked = false;\n\n /**\n * `true` if the radio button item should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabledItem = false;\n\n /**\n * `true` if the radio button group should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * `true` if the label should be hidden.\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-label' })\n hideLabel = false;\n\n /**\n * Specify if the currently value is invalid.\n */\n @property({ type: Boolean, reflect: true })\n invalid = false;\n\n /**\n * Specify whether the control is currently in warning state\n */\n @property({ type: Boolean, reflect: true })\n warn = false;\n\n /**\n * Provide the text that is displayed when the control is in warning state\n */\n @property({ attribute: 'warn-text' })\n warnText = '';\n\n /**\n * The label position.\n */\n @property({ reflect: true, attribute: 'label-position' })\n labelPosition = RADIO_BUTTON_LABEL_POSITION.RIGHT;\n\n /**\n * The label text.\n */\n @property({ attribute: 'label-text' })\n labelText = '';\n\n /**\n * The `name` attribute for the `<input>` for selection.\n */\n @property()\n name!: string;\n\n /**\n * The orientation to lay out radio buttons.\n */\n @property({ reflect: true })\n orientation = RADIO_BUTTON_ORIENTATION.HORIZONTAL;\n\n /**\n * `true` if the radio button group should be disabled.\n */\n @property({ type: Boolean, reflect: true })\n readOnly = false;\n\n /**\n * `true` if the radio button is required.\n */\n @property({ type: Boolean, reflect: true })\n required = false;\n\n /**\n * The `value` attribute for the `<input>` for selection.\n */\n @property()\n value!: string;\n\n disconnectedCallback() {\n if (this._manager) {\n this._manager.delete(this._radioButtonDelegate);\n }\n super.disconnectedCallback();\n }\n\n firstUpdated() {\n this._radioButtonDelegate = new RadioButtonDelegate(this._inputNode);\n\n // If user hasn’t explicitly set `checked`, respect `defaultChecked`\n if (this.defaultChecked && this.checked === false) {\n this.checked = true;\n }\n }\n\n updated(changedProperties) {\n const {\n _hasAILabel: hasAILabel,\n _inputNode: inputNode,\n _radioButtonDelegate: radioButtonDelegate,\n name,\n disabled,\n disabledItem,\n readOnly,\n invalid,\n warn,\n } = this;\n\n // Normalize input props similar to useNormalizedInputProps in React\n const normalizedProps = {\n disabled: !readOnly && (disabled || disabledItem),\n invalid: !readOnly && !disabled && !disabledItem && invalid,\n warn: !readOnly && !disabled && !disabledItem && !invalid && warn,\n };\n\n if (changedProperties.has('checked') || changedProperties.has('name')) {\n if (!this._manager) {\n this._manager = RadioGroupManager.get(\n this.getRootNode({ composed: true }) as Document\n );\n }\n const { _manager: manager } = this;\n if (changedProperties.has('name')) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452\n manager!.delete(radioButtonDelegate, changedProperties.get('name'));\n if (name) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- https://github.com/carbon-design-system/carbon/issues/20452\n manager!.add(radioButtonDelegate);\n }\n }\n // Disabled items should have tabIndex -1.\n inputNode.setAttribute(\n 'tabindex',\n !name ||\n !manager ||\n this.disabled ||\n this.disabledItem ||\n !manager.shouldBeFocusable(radioButtonDelegate)\n ? '-1'\n : '0'\n );\n }\n // Handle validation states based on normalized props\n if (\n changedProperties.has('invalid') ||\n changedProperties.has('warn') ||\n changedProperties.has('disabled') ||\n changedProperties.has('disabledItem') ||\n changedProperties.has('readOnly')\n ) {\n // Apply normalized validation states\n if (normalizedProps.invalid) {\n this.setAttribute('invalid', '');\n this.removeAttribute('warn');\n } else if (normalizedProps.warn) {\n this.setAttribute('warn', '');\n this.removeAttribute('invalid');\n } else {\n this.removeAttribute('invalid');\n this.removeAttribute('warn');\n }\n }\n\n if (hasAILabel) {\n this.setAttribute('ai-label', '');\n } else {\n this.removeAttribute('ai-label');\n }\n }\n\n render() {\n const {\n checked,\n hideLabel,\n labelText,\n name,\n value,\n disabled,\n disabledItem,\n readOnly,\n invalid,\n warn,\n } = this;\n\n // Normalize input props similar to useNormalizedInputProps in React\n const normalizedProps = {\n disabled: !readOnly && (disabled || disabledItem),\n invalid: !readOnly && !disabled && !disabledItem && invalid,\n warn: !readOnly && !disabled && !disabledItem && !invalid && warn,\n };\n const innerLabelClasses = classMap({\n [`${prefix}--radio-button__label-text`]: true,\n [`${prefix}--visually-hidden`]: hideLabel,\n });\n return html`\n <input\n id=\"radio\"\n type=\"radio\"\n class=\"${prefix}--radio-button\"\n .checked=${checked}\n ?disabled=\"${disabledItem || disabled}\"\n ?required=${this.required}\n aria-readonly=\"${String(Boolean(readOnly))}\"\n name=${ifDefined(name)}\n value=${ifDefined(value)} />\n <label\n for=\"input\"\n class=\"${prefix}--radio-button__label ${normalizedProps.invalid\n ? `${prefix}--radio-button__label--invalid`\n : ''} ${normalizedProps.warn\n ? `${prefix}--radio-button__label--warn`\n : ''}\">\n <span class=\"${prefix}--radio-button__appearance\"></span>\n <span class=\"${innerLabelClasses}\">\n <slot> ${labelText} </slot>\n <slot name=\"ai-label\" @slotchange=\"${this._handleSlotChange}\"></slot>\n <slot name=\"slug\" @slotchange=\"${this._handleSlotChange}\"></slot\n ></span>\n </label>\n `;\n }\n\n /**\n * A selector that will return the slug item.\n *\n * remove in v12\n */\n static get slugItem() {\n return `${prefix}-slug`;\n }\n\n /**\n * A selector that will return the AI Label item.\n */\n static get aiLabelItem() {\n return `${prefix}-ai-label`;\n }\n\n /**\n * The name of the custom event fired after this radio button changes its checked state.\n */\n static get eventChange() {\n return `${prefix}-radio-button-changed`;\n }\n\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n static styles = styles;\n}\n\nexport default CDSRadioButton;\n"],"names":["customElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AAKG;AAoBH;;AAEG;AACH,MAAM,mCAAmC,GAAG;IAC1C,SAAS,EAAE,oBAAoB,CAAC,QAAQ;AACxC,IAAA,IAAI,EAAE,oBAAoB,CAAC,QAAQ;IACnC,UAAU,EAAE,oBAAoB,CAAC,OAAO;AACxC,IAAA,KAAK,EAAE,oBAAoB,CAAC,OAAO;CACpC;AAED;;AAEG;AACH,MAAM,iCAAiC,GAAG;IACxC,OAAO,EAAE,oBAAoB,CAAC,QAAQ;AACtC,IAAA,EAAE,EAAE,oBAAoB,CAAC,QAAQ;IACjC,SAAS,EAAE,oBAAoB,CAAC,OAAO;AACvC,IAAA,IAAI,EAAE,oBAAoB,CAAC,OAAO;CACnC;AAED;;AAEG;AACH,MAAM,mBAAmB,CAAA;AAMvB,IAAA,WAAA,CAAY,KAAuB,EAAA;AACjC,QAAA,IAAI,CAAC,MAAM,GAAG,KAAK;IACrB;AAEA,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO;IAC5B;IAEA,IAAI,OAAO,CAAC,OAAO,EAAA;QACjB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,EAAgB;AACxD,QAAA,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,WAAoC;AAChE,QAAA,IAAuB,CAAC,OAAO,GAAG,OAAO;AAC1C,QAAA,IAAI,CAAC,MAAM,CAAC,QAAQ,GAAG,OAAO,GAAG,CAAC,GAAG,EAAE;AACvC,QAAA,I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c,CAyanB;AAED,uBAAe,cAAc;;;;"}
|
|
@@ -14,6 +14,7 @@ declare const CDSSearch_base: {
|
|
|
14
14
|
accessKey: string;
|
|
15
15
|
readonly accessKeyLabel: string;
|
|
16
16
|
autocapitalize: string;
|
|
17
|
+
autocorrect: boolean;
|
|
17
18
|
dir: string;
|
|
18
19
|
draggable: boolean;
|
|
19
20
|
hidden: boolean;
|
|
@@ -35,13 +36,14 @@ declare const CDSSearch_base: {
|
|
|
35
36
|
click(): void;
|
|
36
37
|
hidePopover(): void;
|
|
37
38
|
showPopover(): void;
|
|
38
|
-
togglePopover(
|
|
39
|
+
togglePopover(options?: boolean): boolean;
|
|
39
40
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
40
41
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
41
42
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
42
43
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
43
44
|
readonly attributes: NamedNodeMap;
|
|
44
|
-
|
|
45
|
+
get classList(): DOMTokenList;
|
|
46
|
+
set classList(value: string);
|
|
45
47
|
className: string;
|
|
46
48
|
readonly clientHeight: number;
|
|
47
49
|
readonly clientLeft: number;
|
|
@@ -56,7 +58,8 @@ declare const CDSSearch_base: {
|
|
|
56
58
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
57
59
|
outerHTML: string;
|
|
58
60
|
readonly ownerDocument: Document;
|
|
59
|
-
|
|
61
|
+
get part(): DOMTokenList;
|
|
62
|
+
set part(value: string);
|
|
60
63
|
readonly prefix: string | null;
|
|
61
64
|
readonly scrollHeight: number;
|
|
62
65
|
scrollLeft: number;
|
|
@@ -119,6 +122,8 @@ declare const CDSSearch_base: {
|
|
|
119
122
|
setPointerCapture(pointerId: number): void;
|
|
120
123
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
121
124
|
webkitMatchesSelector(selectors: string): boolean;
|
|
125
|
+
get textContent(): string;
|
|
126
|
+
set textContent(value: string | null);
|
|
122
127
|
readonly baseURI: string;
|
|
123
128
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
124
129
|
readonly firstChild: ChildNode | null;
|
|
@@ -131,9 +136,8 @@ declare const CDSSearch_base: {
|
|
|
131
136
|
readonly parentElement: HTMLElement | null;
|
|
132
137
|
readonly parentNode: ParentNode | null;
|
|
133
138
|
readonly previousSibling: ChildNode | null;
|
|
134
|
-
textContent: string | null;
|
|
135
139
|
appendChild<T extends Node>(node: T): T;
|
|
136
|
-
cloneNode(
|
|
140
|
+
cloneNode(subtree?: boolean): Node;
|
|
137
141
|
compareDocumentPosition(other: Node): number;
|
|
138
142
|
contains(other: Node | null): boolean;
|
|
139
143
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -166,6 +170,7 @@ declare const CDSSearch_base: {
|
|
|
166
170
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
167
171
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
168
172
|
dispatchEvent(event: Event): boolean;
|
|
173
|
+
ariaActiveDescendantElement: Element | null;
|
|
169
174
|
ariaAtomic: string | null;
|
|
170
175
|
ariaAutoComplete: string | null;
|
|
171
176
|
ariaBrailleLabel: string | null;
|
|
@@ -176,25 +181,33 @@ declare const CDSSearch_base: {
|
|
|
176
181
|
ariaColIndex: string | null;
|
|
177
182
|
ariaColIndexText: string | null;
|
|
178
183
|
ariaColSpan: string | null;
|
|
184
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
179
185
|
ariaCurrent: string | null;
|
|
186
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
180
187
|
ariaDescription: string | null;
|
|
188
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
181
189
|
ariaDisabled: string | null;
|
|
190
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
182
191
|
ariaExpanded: string | null;
|
|
192
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
183
193
|
ariaHasPopup: string | null;
|
|
184
194
|
ariaHidden: string | null;
|
|
185
195
|
ariaInvalid: string | null;
|
|
186
196
|
ariaKeyShortcuts: string | null;
|
|
187
197
|
ariaLabel: string | null;
|
|
198
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
188
199
|
ariaLevel: string | null;
|
|
189
200
|
ariaLive: string | null;
|
|
190
201
|
ariaModal: string | null;
|
|
191
202
|
ariaMultiLine: string | null;
|
|
192
203
|
ariaMultiSelectable: string | null;
|
|
193
204
|
ariaOrientation: string | null;
|
|
205
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
194
206
|
ariaPlaceholder: string | null;
|
|
195
207
|
ariaPosInSet: string | null;
|
|
196
208
|
ariaPressed: string | null;
|
|
197
209
|
ariaReadOnly: string | null;
|
|
210
|
+
ariaRelevant: string | null;
|
|
198
211
|
ariaRequired: string | null;
|
|
199
212
|
ariaRoleDescription: string | null;
|
|
200
213
|
ariaRowCount: string | null;
|
|
@@ -236,7 +249,8 @@ declare const CDSSearch_base: {
|
|
|
236
249
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
237
250
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
238
251
|
readonly attributeStyleMap: StylePropertyMap;
|
|
239
|
-
|
|
252
|
+
get style(): CSSStyleDeclaration;
|
|
253
|
+
set style(cssText: string);
|
|
240
254
|
contentEditable: string;
|
|
241
255
|
enterKeyHint: string;
|
|
242
256
|
inputMode: string;
|
|
@@ -246,18 +260,19 @@ declare const CDSSearch_base: {
|
|
|
246
260
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
247
261
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
248
262
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
249
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
263
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
250
264
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
251
|
-
|
|
265
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
266
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
252
267
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
253
268
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
269
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
270
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
271
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
272
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
258
273
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
274
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
275
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
261
276
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
277
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
263
278
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -305,6 +320,7 @@ declare const CDSSearch_base: {
|
|
|
305
320
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
321
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
307
322
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
323
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
324
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
309
325
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
310
326
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -323,7 +339,7 @@ declare const CDSSearch_base: {
|
|
|
323
339
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
324
340
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
341
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
342
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
327
343
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
328
344
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
329
345
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -359,6 +375,7 @@ declare const CDSSearch_base: {
|
|
|
359
375
|
accessKey: string;
|
|
360
376
|
readonly accessKeyLabel: string;
|
|
361
377
|
autocapitalize: string;
|
|
378
|
+
autocorrect: boolean;
|
|
362
379
|
dir: string;
|
|
363
380
|
draggable: boolean;
|
|
364
381
|
hidden: boolean;
|
|
@@ -380,13 +397,14 @@ declare const CDSSearch_base: {
|
|
|
380
397
|
click(): void;
|
|
381
398
|
hidePopover(): void;
|
|
382
399
|
showPopover(): void;
|
|
383
|
-
togglePopover(
|
|
400
|
+
togglePopover(options?: boolean): boolean;
|
|
384
401
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
385
402
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
386
403
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
387
404
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
388
405
|
readonly attributes: NamedNodeMap;
|
|
389
|
-
|
|
406
|
+
get classList(): DOMTokenList;
|
|
407
|
+
set classList(value: string);
|
|
390
408
|
className: string;
|
|
391
409
|
readonly clientHeight: number;
|
|
392
410
|
readonly clientLeft: number;
|
|
@@ -401,7 +419,8 @@ declare const CDSSearch_base: {
|
|
|
401
419
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
402
420
|
outerHTML: string;
|
|
403
421
|
readonly ownerDocument: Document;
|
|
404
|
-
|
|
422
|
+
get part(): DOMTokenList;
|
|
423
|
+
set part(value: string);
|
|
405
424
|
readonly prefix: string | null;
|
|
406
425
|
readonly scrollHeight: number;
|
|
407
426
|
scrollLeft: number;
|
|
@@ -464,6 +483,8 @@ declare const CDSSearch_base: {
|
|
|
464
483
|
setPointerCapture(pointerId: number): void;
|
|
465
484
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
466
485
|
webkitMatchesSelector(selectors: string): boolean;
|
|
486
|
+
get textContent(): string;
|
|
487
|
+
set textContent(value: string | null);
|
|
467
488
|
readonly baseURI: string;
|
|
468
489
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
469
490
|
readonly firstChild: ChildNode | null;
|
|
@@ -476,9 +497,8 @@ declare const CDSSearch_base: {
|
|
|
476
497
|
readonly parentElement: HTMLElement | null;
|
|
477
498
|
readonly parentNode: ParentNode | null;
|
|
478
499
|
readonly previousSibling: ChildNode | null;
|
|
479
|
-
textContent: string | null;
|
|
480
500
|
appendChild<T extends Node>(node: T): T;
|
|
481
|
-
cloneNode(
|
|
501
|
+
cloneNode(subtree?: boolean): Node;
|
|
482
502
|
compareDocumentPosition(other: Node): number;
|
|
483
503
|
contains(other: Node | null): boolean;
|
|
484
504
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -511,6 +531,7 @@ declare const CDSSearch_base: {
|
|
|
511
531
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
512
532
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
513
533
|
dispatchEvent(event: Event): boolean;
|
|
534
|
+
ariaActiveDescendantElement: Element | null;
|
|
514
535
|
ariaAtomic: string | null;
|
|
515
536
|
ariaAutoComplete: string | null;
|
|
516
537
|
ariaBrailleLabel: string | null;
|
|
@@ -521,25 +542,33 @@ declare const CDSSearch_base: {
|
|
|
521
542
|
ariaColIndex: string | null;
|
|
522
543
|
ariaColIndexText: string | null;
|
|
523
544
|
ariaColSpan: string | null;
|
|
545
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
524
546
|
ariaCurrent: string | null;
|
|
547
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
525
548
|
ariaDescription: string | null;
|
|
549
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
526
550
|
ariaDisabled: string | null;
|
|
551
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
527
552
|
ariaExpanded: string | null;
|
|
553
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
528
554
|
ariaHasPopup: string | null;
|
|
529
555
|
ariaHidden: string | null;
|
|
530
556
|
ariaInvalid: string | null;
|
|
531
557
|
ariaKeyShortcuts: string | null;
|
|
532
558
|
ariaLabel: string | null;
|
|
559
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
533
560
|
ariaLevel: string | null;
|
|
534
561
|
ariaLive: string | null;
|
|
535
562
|
ariaModal: string | null;
|
|
536
563
|
ariaMultiLine: string | null;
|
|
537
564
|
ariaMultiSelectable: string | null;
|
|
538
565
|
ariaOrientation: string | null;
|
|
566
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
539
567
|
ariaPlaceholder: string | null;
|
|
540
568
|
ariaPosInSet: string | null;
|
|
541
569
|
ariaPressed: string | null;
|
|
542
570
|
ariaReadOnly: string | null;
|
|
571
|
+
ariaRelevant: string | null;
|
|
543
572
|
ariaRequired: string | null;
|
|
544
573
|
ariaRoleDescription: string | null;
|
|
545
574
|
ariaRowCount: string | null;
|
|
@@ -581,7 +610,8 @@ declare const CDSSearch_base: {
|
|
|
581
610
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
582
611
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
583
612
|
readonly attributeStyleMap: StylePropertyMap;
|
|
584
|
-
|
|
613
|
+
get style(): CSSStyleDeclaration;
|
|
614
|
+
set style(cssText: string);
|
|
585
615
|
contentEditable: string;
|
|
586
616
|
enterKeyHint: string;
|
|
587
617
|
inputMode: string;
|
|
@@ -591,18 +621,19 @@ declare const CDSSearch_base: {
|
|
|
591
621
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
592
622
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
593
623
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
594
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
624
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
595
625
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
596
|
-
|
|
626
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
627
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
597
628
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
598
629
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
599
630
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
600
631
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
601
632
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
602
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
633
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
603
634
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
604
635
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
605
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
636
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
606
637
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
607
638
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
608
639
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -650,6 +681,7 @@ declare const CDSSearch_base: {
|
|
|
650
681
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
651
682
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
652
683
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
684
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
653
685
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
654
686
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
655
687
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -668,7 +700,7 @@ declare const CDSSearch_base: {
|
|
|
668
700
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
669
701
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
670
702
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
671
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
703
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
672
704
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
673
705
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
674
706
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -698,6 +730,7 @@ declare const CDSSearch_base: {
|
|
|
698
730
|
accessKey: string;
|
|
699
731
|
readonly accessKeyLabel: string;
|
|
700
732
|
autocapitalize: string;
|
|
733
|
+
autocorrect: boolean;
|
|
701
734
|
dir: string;
|
|
702
735
|
draggable: boolean;
|
|
703
736
|
hidden: boolean;
|
|
@@ -719,13 +752,14 @@ declare const CDSSearch_base: {
|
|
|
719
752
|
click(): void;
|
|
720
753
|
hidePopover(): void;
|
|
721
754
|
showPopover(): void;
|
|
722
|
-
togglePopover(
|
|
755
|
+
togglePopover(options?: boolean): boolean;
|
|
723
756
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
724
757
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
725
758
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
726
759
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
727
760
|
readonly attributes: NamedNodeMap;
|
|
728
|
-
|
|
761
|
+
get classList(): DOMTokenList;
|
|
762
|
+
set classList(value: string);
|
|
729
763
|
className: string;
|
|
730
764
|
readonly clientHeight: number;
|
|
731
765
|
readonly clientLeft: number;
|
|
@@ -740,7 +774,8 @@ declare const CDSSearch_base: {
|
|
|
740
774
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
741
775
|
outerHTML: string;
|
|
742
776
|
readonly ownerDocument: Document;
|
|
743
|
-
|
|
777
|
+
get part(): DOMTokenList;
|
|
778
|
+
set part(value: string);
|
|
744
779
|
readonly prefix: string | null;
|
|
745
780
|
readonly scrollHeight: number;
|
|
746
781
|
scrollLeft: number;
|
|
@@ -803,6 +838,8 @@ declare const CDSSearch_base: {
|
|
|
803
838
|
setPointerCapture(pointerId: number): void;
|
|
804
839
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
805
840
|
webkitMatchesSelector(selectors: string): boolean;
|
|
841
|
+
get textContent(): string;
|
|
842
|
+
set textContent(value: string | null);
|
|
806
843
|
readonly baseURI: string;
|
|
807
844
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
808
845
|
readonly firstChild: ChildNode | null;
|
|
@@ -815,9 +852,8 @@ declare const CDSSearch_base: {
|
|
|
815
852
|
readonly parentElement: HTMLElement | null;
|
|
816
853
|
readonly parentNode: ParentNode | null;
|
|
817
854
|
readonly previousSibling: ChildNode | null;
|
|
818
|
-
textContent: string | null;
|
|
819
855
|
appendChild<T extends Node>(node: T): T;
|
|
820
|
-
cloneNode(
|
|
856
|
+
cloneNode(subtree?: boolean): Node;
|
|
821
857
|
compareDocumentPosition(other: Node): number;
|
|
822
858
|
contains(other: Node | null): boolean;
|
|
823
859
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
@@ -850,6 +886,7 @@ declare const CDSSearch_base: {
|
|
|
850
886
|
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
851
887
|
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
852
888
|
dispatchEvent(event: Event): boolean;
|
|
889
|
+
ariaActiveDescendantElement: Element | null;
|
|
853
890
|
ariaAtomic: string | null;
|
|
854
891
|
ariaAutoComplete: string | null;
|
|
855
892
|
ariaBrailleLabel: string | null;
|
|
@@ -860,25 +897,33 @@ declare const CDSSearch_base: {
|
|
|
860
897
|
ariaColIndex: string | null;
|
|
861
898
|
ariaColIndexText: string | null;
|
|
862
899
|
ariaColSpan: string | null;
|
|
900
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
863
901
|
ariaCurrent: string | null;
|
|
902
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
864
903
|
ariaDescription: string | null;
|
|
904
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
865
905
|
ariaDisabled: string | null;
|
|
906
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
866
907
|
ariaExpanded: string | null;
|
|
908
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
867
909
|
ariaHasPopup: string | null;
|
|
868
910
|
ariaHidden: string | null;
|
|
869
911
|
ariaInvalid: string | null;
|
|
870
912
|
ariaKeyShortcuts: string | null;
|
|
871
913
|
ariaLabel: string | null;
|
|
914
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
872
915
|
ariaLevel: string | null;
|
|
873
916
|
ariaLive: string | null;
|
|
874
917
|
ariaModal: string | null;
|
|
875
918
|
ariaMultiLine: string | null;
|
|
876
919
|
ariaMultiSelectable: string | null;
|
|
877
920
|
ariaOrientation: string | null;
|
|
921
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
878
922
|
ariaPlaceholder: string | null;
|
|
879
923
|
ariaPosInSet: string | null;
|
|
880
924
|
ariaPressed: string | null;
|
|
881
925
|
ariaReadOnly: string | null;
|
|
926
|
+
ariaRelevant: string | null;
|
|
882
927
|
ariaRequired: string | null;
|
|
883
928
|
ariaRoleDescription: string | null;
|
|
884
929
|
ariaRowCount: string | null;
|
|
@@ -920,7 +965,8 @@ declare const CDSSearch_base: {
|
|
|
920
965
|
replaceChildren(...nodes: (Node | string)[]): void;
|
|
921
966
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
922
967
|
readonly attributeStyleMap: StylePropertyMap;
|
|
923
|
-
|
|
968
|
+
get style(): CSSStyleDeclaration;
|
|
969
|
+
set style(cssText: string);
|
|
924
970
|
contentEditable: string;
|
|
925
971
|
enterKeyHint: string;
|
|
926
972
|
inputMode: string;
|
|
@@ -930,18 +976,19 @@ declare const CDSSearch_base: {
|
|
|
930
976
|
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
931
977
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
932
978
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
933
|
-
onauxclick: ((this: GlobalEventHandlers, ev:
|
|
979
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
934
980
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
935
|
-
|
|
981
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
982
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
936
983
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
937
984
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
938
985
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
939
986
|
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
940
987
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
941
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
988
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
942
989
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
943
990
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
944
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev:
|
|
991
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
945
992
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
946
993
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
947
994
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -989,6 +1036,7 @@ declare const CDSSearch_base: {
|
|
|
989
1036
|
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
990
1037
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
991
1038
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1039
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
992
1040
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
993
1041
|
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
994
1042
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1007,7 +1055,7 @@ declare const CDSSearch_base: {
|
|
|
1007
1055
|
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
1008
1056
|
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1009
1057
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1010
|
-
ontoggle: ((this: GlobalEventHandlers, ev:
|
|
1058
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
1011
1059
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1012
1060
|
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
1013
1061
|
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -1135,6 +1183,8 @@ declare class CDSSearch extends CDSSearch_base {
|
|
|
1135
1183
|
static get eventInput(): string;
|
|
1136
1184
|
static shadowRootOptions: {
|
|
1137
1185
|
delegatesFocus: boolean;
|
|
1186
|
+
clonable?: boolean;
|
|
1187
|
+
customElementRegistry?: CustomElementRegistry;
|
|
1138
1188
|
mode: ShadowRootMode;
|
|
1139
1189
|
serializable?: boolean;
|
|
1140
1190
|
slotAssignment?: SlotAssignmentMode;
|