@carbon/web-components 2.30.0 → 2.31.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 +103 -0
- package/dist/{16-1acbca89.js → 16-0353e7e3.js} +2 -2
- package/dist/{16-e99fe18d.js → 16-2363f096.js} +2 -2
- package/dist/{16-86aaab1b.js → 16-250e2a70.js} +2 -2
- package/dist/{16-ea8d6351.js → 16-41ffb037.js} +2 -2
- package/dist/{16-0753806c.js → 16-9631190c.js} +2 -2
- package/dist/{16-f1660d25.js → 16-a4bb462e.js} +2 -2
- package/dist/{16-9f896de4.js → 16-a6ff8f82.js} +2 -2
- package/dist/{16-37a8844b.js → 16-a9f5da53.js} +2 -2
- package/dist/{16-7a98a3a1.js → 16-acbb0130.js} +2 -2
- package/dist/{16-15766a67.js → 16-c0c2f9cc.js} +2 -2
- package/dist/{16-48100f95.js → 16-dbe65920.js} +2 -2
- package/dist/{16-0815751b.js → 16-f4def175.js} +2 -2
- package/dist/{20-8d9176aa.js → 20-6f209450.js} +2 -2
- package/dist/{20-39279d7b.js → 20-cf8682e7.js} +2 -2
- package/dist/accordion.min.js +2 -2
- package/dist/ai-label.min.js +2 -2
- package/dist/ai-skeleton.min.js +2 -2
- package/dist/badge-indicator.min.js +2 -2
- package/dist/breadcrumb.min.js +2 -2
- package/dist/button-8a9ddb9f.js +144 -0
- package/dist/{button-set-db868f52.js → button-set-e143c49e.js} +2 -2
- package/dist/{button-skeleton-74dbc8c7.js → button-skeleton-eb7300c7.js} +4 -4
- package/dist/button.min.js +2 -2
- package/dist/carbon-element-716e46b0.js +1 -1
- package/dist/chat-button.min.js +2 -2
- package/dist/checkbox-2bd29f97.js +118 -0
- package/dist/{checkbox-skeleton-85225580.js → checkbox-skeleton-5a0295cb.js} +2 -2
- package/dist/checkbox.min.js +2 -2
- package/dist/{class-map-0105578d.js → class-map-287e73b5.js} +2 -2
- package/dist/code-snippet.min.js +3 -3
- package/dist/collection-helpers-eb62fd34.js +1 -1
- package/dist/combo-box.min.js +4 -4
- package/dist/combo-button.min.js +93 -0
- package/dist/content-switcher-item-c66114b8.js +105 -0
- package/dist/content-switcher.min.js +2 -2
- package/dist/copy-button-2dbb2b01.js +94 -0
- package/dist/copy-button.min.js +2 -2
- package/dist/data-table.min.js +5 -5
- package/dist/date-picker.min.js +3 -3
- package/dist/{definition-tooltip-76a6bcfc.js → definition-tooltip-f7e0a735.js} +6 -6
- package/dist/defs-c5cfba1b.js +1 -1
- package/dist/directive-e2d48b9c.js +1 -1
- package/dist/dropdown-item-b80ac457.js +147 -0
- package/dist/dropdown.min.js +3 -3
- package/dist/file-uploader.min.js +4 -4
- package/dist/floating-controller-92da0306.js +1 -1
- package/dist/{floating-menu-5ab3e498.js → floating-menu-f19577a8.js} +2 -2
- package/dist/floating-menu.min.js +2 -2
- package/dist/{focus-b89bb373.js → focus-c9ba63ff.js} +2 -2
- package/dist/form-3c2e14c6.js +1 -1
- package/dist/form-group.min.js +6 -6
- package/dist/form.min.js +2 -2
- package/dist/heading.min.js +2 -2
- package/dist/host-listener-97e78474.js +1 -1
- package/dist/icon-button-6a61637b.js +93 -0
- package/dist/icon-button.min.js +2 -2
- package/dist/icon-indicator.min.js +2 -2
- package/dist/{if-defined-3aa71b6b.js → if-defined-7fb4dd64.js} +2 -2
- package/dist/{if-non-empty-a8509432.js → if-non-empty-d0ff50a3.js} +2 -2
- package/dist/inline-loading.min.js +5 -5
- package/dist/{layer-62205ad5.js → layer-602c2202.js} +2 -2
- package/dist/layer.min.js +2 -2
- package/dist/{link-540fb662.js → link-76646b17.js} +6 -6
- package/dist/link.min.js +2 -2
- package/dist/list.min.js +2 -2
- package/dist/{loading-c1a7d0e7.js → loading-ae8e2f1b.js} +2 -2
- package/dist/{loading-icon-7b5d963f.js → loading-icon-f3d7d50c.js} +4 -4
- package/dist/loading.min.js +2 -2
- package/dist/menu-button.min.js +2 -2
- package/dist/{menu-item-radio-group-2a6c6359.js → menu-item-radio-group-45e474cb.js} +2 -2
- package/dist/menu.min.js +2 -2
- package/dist/modal-label-f93860bf.js +110 -0
- package/dist/modal.min.js +2 -2
- package/dist/multi-select.min.js +2 -2
- package/dist/notification.min.js +19 -9
- package/dist/number-input.min.js +13 -13
- package/dist/on-8707857f.js +1 -1
- package/dist/overflow-menu.min.js +2 -2
- package/dist/pagination.min.js +2 -2
- package/dist/popover-content-b41e9612.js +94 -0
- package/dist/popover.min.js +2 -2
- package/dist/progress-bar.min.js +2 -2
- package/dist/progress-indicator.min.js +2 -2
- package/dist/{property-92d0c002.js → property-dd1c81a7.js} +2 -2
- package/dist/query-602de8af.js +1 -1
- package/dist/query-assigned-elements-1bd68a6e.js +1 -1
- package/dist/radio-button-skeleton-48a9df2a.js +118 -0
- package/dist/radio-button.min.js +2 -2
- package/dist/radio-group-manager-853a7e76.js +1 -1
- package/dist/search-2e2c46ea.js +108 -0
- package/dist/search.min.js +3 -3
- package/dist/select-e40e62af.js +148 -0
- package/dist/select.min.js +3 -3
- package/dist/{settings-acffb3e3.js → settings-c3654bc7.js} +2 -2
- package/dist/shape-indicator.min.js +2 -2
- package/dist/shared-enums-ccc90ee0.js +1 -1
- package/dist/side-panel.min.js +2 -2
- package/dist/{skeleton-icon-6b138257.js → skeleton-icon-e81be97a.js} +2 -2
- package/dist/skeleton-icon.min.js +2 -2
- package/dist/{skeleton-placeholder-f88fcab6.js → skeleton-placeholder-13b648d8.js} +2 -2
- package/dist/skeleton-placeholder.min.js +2 -2
- package/dist/{skeleton-text-03f78801.js → skeleton-text-ec2217a3.js} +2 -2
- package/dist/skeleton-text.min.js +2 -2
- package/dist/skip-to-content.min.js +2 -2
- package/dist/slider.min.js +4 -4
- package/dist/slug.min.js +2 -2
- package/dist/{spread-9f8d827a.js → spread-bbf12ceb.js} +2 -2
- package/dist/stack.min.js +2 -2
- package/dist/{state-670da9a4.js → state-8793f01e.js} +2 -2
- package/dist/structured-list.min.js +3 -3
- package/dist/tabs.min.js +2 -2
- package/dist/tag.min.js +24 -24
- package/dist/tearsheet.min.js +9 -9
- package/dist/text-input-a947ecef.js +140 -0
- package/dist/text-input.min.js +3 -3
- package/dist/textarea.min.js +5 -5
- package/dist/tile.min.js +2 -2
- package/dist/time-picker.min.js +2 -2
- package/dist/toggle-tip.min.js +2 -2
- package/dist/toggle.min.js +2 -2
- package/dist/toggletip-691cdd4c.js +124 -0
- package/dist/tooltip-content-8fc23961.js +81 -0
- package/dist/tooltip.min.js +2 -2
- package/dist/tree-view.min.js +17 -17
- package/dist/ui-shell.min.js +5 -5
- package/dist/validity-de6fe348.js +1 -1
- package/es/components/accordion/accordion.scss.js +1 -1
- package/es/components/ai-label/ai-label.scss.js +1 -1
- package/es/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es/components/button/button.scss.js +1 -1
- package/es/components/chat-button/chat-button.scss.js +1 -1
- package/es/components/checkbox/checkbox.scss.js +1 -1
- package/es/components/code-snippet/code-snippet.scss.js +1 -1
- package/es/components/combo-box/combo-box.scss.js +1 -1
- package/es/components/combo-button/combo-button.d.ts +408 -0
- package/es/components/combo-button/combo-button.js +170 -0
- package/es/components/combo-button/combo-button.js.map +1 -0
- package/es/components/combo-button/combo-button.scss.js +13 -0
- package/es/components/combo-button/combo-button.scss.js.map +1 -0
- package/es/components/combo-button/defs.d.ts +40 -0
- package/es/components/combo-button/defs.js +52 -0
- package/es/components/combo-button/defs.js.map +1 -0
- package/es/components/combo-button/index.d.ts +7 -0
- package/es/components/combo-button/index.js +9 -0
- package/es/components/combo-button/index.js.map +1 -0
- package/es/components/content-switcher/content-switcher.scss.js +1 -1
- package/es/components/copy-button/copy-button.scss.js +1 -1
- package/es/components/data-table/data-table.scss.js +1 -1
- package/es/components/date-picker/date-picker.scss.js +1 -1
- package/es/components/dropdown/dropdown.scss.js +1 -1
- package/es/components/file-uploader/file-uploader.scss.js +1 -1
- package/es/components/form/form-item.scss.js +1 -1
- package/es/components/form-group/form-group.scss.js +1 -1
- package/es/components/icon-button/icon-button.scss.js +1 -1
- package/es/components/layer/layer.d.ts +1 -0
- package/es/components/layer/layer.js +3 -0
- package/es/components/layer/layer.js.map +1 -1
- package/es/components/layer/layer.scss.js +1 -1
- package/es/components/menu-button/menu-button.scss.js +1 -1
- package/es/components/modal/modal.js +27 -0
- package/es/components/modal/modal.js.map +1 -1
- package/es/components/modal/modal.scss.js +1 -1
- package/es/components/multi-select/multi-select.scss.js +1 -1
- package/es/components/notification/actionable-notification.d.ts +18 -0
- package/es/components/notification/actionable-notification.js +130 -4
- package/es/components/notification/actionable-notification.js.map +1 -1
- package/es/components/notification/actionable-notification.scss.js +1 -1
- 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.scss.js +1 -1
- package/es/components/overflow-menu/overflow-menu-body.js +1 -0
- package/es/components/overflow-menu/overflow-menu-body.js.map +1 -1
- package/es/components/overflow-menu/overflow-menu.scss.js +1 -1
- package/es/components/pagination/pagination.scss.js +1 -1
- package/es/components/popover/popover.scss.js +1 -1
- package/es/components/progress-indicator/progress-indicator.scss.js +1 -1
- package/es/components/radio-button/radio-button.scss.js +1 -1
- package/es/components/search/search.scss.js +1 -1
- package/es/components/select/select.scss.js +1 -1
- package/es/components/skip-to-content/skip-to-content.scss.js +1 -1
- package/es/components/slider/slider.scss.js +1 -1
- package/es/components/slug/slug.scss.js +1 -1
- package/es/components/structured-list/structured-list.scss.js +1 -1
- package/es/components/tabs/tabs.scss.js +1 -1
- package/es/components/tag/dismissible-tag.d.ts +5 -0
- package/es/components/tag/dismissible-tag.js +24 -0
- package/es/components/tag/dismissible-tag.js.map +1 -1
- package/es/components/tag/tag.scss.js +1 -1
- package/es/components/text-input/text-input.scss.js +1 -1
- package/es/components/textarea/textarea.scss.js +1 -1
- package/es/components/tile/tile.scss.js +1 -1
- package/es/components/time-picker/time-picker.scss.js +1 -1
- package/es/components/toggle-tip/toggletip.scss.js +1 -1
- package/es/components/tooltip/tooltip.scss.js +1 -1
- package/es/components/tree-view/tree-view.scss.js +1 -1
- package/es/components/ui-shell/header.scss.js +1 -1
- package/es/components/ui-shell/side-nav.scss.js +1 -1
- package/es/globals/settings.d.ts +1 -1
- package/es/globals/settings.js +2 -1
- package/es/globals/settings.js.map +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es-custom/components/accordion/accordion.scss.js +1 -1
- package/es-custom/components/ai-label/ai-label.scss.js +1 -1
- package/es-custom/components/breadcrumb/breadcrumb.scss.js +1 -1
- package/es-custom/components/button/button.scss.js +1 -1
- package/es-custom/components/chat-button/chat-button.scss.js +1 -1
- package/es-custom/components/checkbox/checkbox.scss.js +1 -1
- package/es-custom/components/code-snippet/code-snippet.scss.js +1 -1
- package/es-custom/components/combo-box/combo-box.scss.js +1 -1
- package/es-custom/components/combo-button/combo-button.d.ts +408 -0
- package/es-custom/components/combo-button/combo-button.js +170 -0
- package/es-custom/components/combo-button/combo-button.js.map +1 -0
- package/es-custom/components/combo-button/combo-button.scss.js +13 -0
- package/es-custom/components/combo-button/combo-button.scss.js.map +1 -0
- package/es-custom/components/combo-button/defs.d.ts +40 -0
- package/es-custom/components/combo-button/defs.js +52 -0
- package/es-custom/components/combo-button/defs.js.map +1 -0
- package/es-custom/components/combo-button/index.d.ts +7 -0
- package/es-custom/components/combo-button/index.js +9 -0
- package/es-custom/components/combo-button/index.js.map +1 -0
- package/es-custom/components/content-switcher/content-switcher.scss.js +1 -1
- package/es-custom/components/copy-button/copy-button.scss.js +1 -1
- package/es-custom/components/data-table/data-table.scss.js +1 -1
- package/es-custom/components/date-picker/date-picker.scss.js +1 -1
- package/es-custom/components/dropdown/dropdown.scss.js +1 -1
- package/es-custom/components/file-uploader/file-uploader.scss.js +1 -1
- package/es-custom/components/form/form-item.scss.js +1 -1
- package/es-custom/components/form-group/form-group.scss.js +1 -1
- package/es-custom/components/icon-button/icon-button.scss.js +1 -1
- package/es-custom/components/layer/layer.d.ts +1 -0
- package/es-custom/components/layer/layer.js +3 -0
- package/es-custom/components/layer/layer.js.map +1 -1
- package/es-custom/components/layer/layer.scss.js +1 -1
- package/es-custom/components/menu-button/menu-button.scss.js +1 -1
- package/es-custom/components/modal/modal.js +27 -0
- package/es-custom/components/modal/modal.js.map +1 -1
- package/es-custom/components/modal/modal.scss.js +1 -1
- package/es-custom/components/multi-select/multi-select.scss.js +1 -1
- package/es-custom/components/notification/actionable-notification.d.ts +18 -0
- package/es-custom/components/notification/actionable-notification.js +130 -4
- package/es-custom/components/notification/actionable-notification.js.map +1 -1
- package/es-custom/components/notification/actionable-notification.scss.js +1 -1
- 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.scss.js +1 -1
- package/es-custom/components/overflow-menu/overflow-menu-body.js +1 -0
- package/es-custom/components/overflow-menu/overflow-menu-body.js.map +1 -1
- package/es-custom/components/overflow-menu/overflow-menu.scss.js +1 -1
- package/es-custom/components/pagination/pagination.scss.js +1 -1
- package/es-custom/components/popover/popover.scss.js +1 -1
- package/es-custom/components/progress-indicator/progress-indicator.scss.js +1 -1
- package/es-custom/components/radio-button/radio-button.scss.js +1 -1
- package/es-custom/components/search/search.scss.js +1 -1
- package/es-custom/components/select/select.scss.js +1 -1
- package/es-custom/components/skip-to-content/skip-to-content.scss.js +1 -1
- package/es-custom/components/slider/slider.scss.js +1 -1
- package/es-custom/components/slug/slug.scss.js +1 -1
- package/es-custom/components/structured-list/structured-list.scss.js +1 -1
- package/es-custom/components/tabs/tabs.scss.js +1 -1
- package/es-custom/components/tag/dismissible-tag.d.ts +5 -0
- package/es-custom/components/tag/dismissible-tag.js +24 -0
- package/es-custom/components/tag/dismissible-tag.js.map +1 -1
- package/es-custom/components/tag/tag.scss.js +1 -1
- package/es-custom/components/text-input/text-input.scss.js +1 -1
- package/es-custom/components/textarea/textarea.scss.js +1 -1
- package/es-custom/components/tile/tile.scss.js +1 -1
- package/es-custom/components/time-picker/time-picker.scss.js +1 -1
- package/es-custom/components/toggle-tip/toggletip.scss.js +1 -1
- package/es-custom/components/tooltip/tooltip.scss.js +1 -1
- package/es-custom/components/tree-view/tree-view.scss.js +1 -1
- package/es-custom/components/ui-shell/header.scss.js +1 -1
- package/es-custom/components/ui-shell/side-nav.scss.js +1 -1
- package/es-custom/globals/settings.d.ts +1 -1
- package/es-custom/globals/settings.js +2 -1
- package/es-custom/globals/settings.js.map +1 -1
- package/es-custom/index.d.ts +1 -0
- package/es-custom/index.js +1 -0
- package/es-custom/index.js.map +1 -1
- package/lib/components/combo-button/combo-button.d.ts +408 -0
- package/lib/components/combo-button/defs.d.ts +40 -0
- package/lib/components/combo-button/defs.js +54 -0
- package/lib/components/combo-button/defs.js.map +1 -0
- package/lib/components/combo-button/index.d.ts +7 -0
- package/lib/components/layer/layer.d.ts +1 -0
- package/lib/components/notification/actionable-notification.d.ts +18 -0
- package/lib/components/tag/dismissible-tag.d.ts +5 -0
- package/lib/globals/settings.d.ts +1 -1
- package/lib/globals/settings.js +2 -1
- package/lib/globals/settings.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/package.json +7 -8
- package/scss/components/combo-button/combo-button.scss +22 -0
- package/scss/components/layer/layer-story.scss +5 -0
- package/scss/components/layer/layer.scss +8 -0
- package/scss/components/multi-select/multi-select.scss +20 -1
- package/dist/button-16145b2c.js +0 -144
- package/dist/checkbox-cef62ad0.js +0 -118
- package/dist/content-switcher-item-f2de2bb6.js +0 -105
- package/dist/copy-button-ae38a4d8.js +0 -94
- package/dist/dropdown-item-67a36b6e.js +0 -147
- package/dist/icon-button-95e0ef4f.js +0 -93
- package/dist/modal-label-74958279.js +0 -110
- package/dist/popover-content-ecd216f7.js +0 -94
- package/dist/radio-button-skeleton-4a954abe.js +0 -118
- package/dist/search-ef834921.js +0 -108
- package/dist/select-46b4d65b.js +0 -148
- package/dist/text-input-3c32638b.js +0 -140
- package/dist/toggletip-4f3e6a4b.js +0 -124
- package/dist/tooltip-content-eac4e54e.js +0 -81
package/es-custom/index.d.ts
CHANGED
|
@@ -170,3 +170,4 @@ export { default as CDSTreeView } from './components/tree-view/tree-view';
|
|
|
170
170
|
export { default as CDSTreeNode } from './components/tree-view/tree-node';
|
|
171
171
|
export { default as CDSHeading } from './components/heading/heading';
|
|
172
172
|
export { default as CDSMenuButton } from './components/menu-button/menu-button';
|
|
173
|
+
export { default as CDSComboButton } from './components/combo-button/combo-button';
|
package/es-custom/index.js
CHANGED
|
@@ -171,4 +171,5 @@ export { default as CDSTreeView } from './components/tree-view/tree-view.js';
|
|
|
171
171
|
export { default as CDSTreeNode } from './components/tree-view/tree-node.js';
|
|
172
172
|
export { default as CDSHeading } from './components/heading/heading.js';
|
|
173
173
|
export { default as CDSMenuButton } from './components/menu-button/menu-button.js';
|
|
174
|
+
export { default as CDSComboButton } from './components/combo-button/combo-button.js';
|
|
174
175
|
//# sourceMappingURL=index.js.map
|
package/es-custom/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025, 2025
|
|
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 '../button/index';
|
|
9
|
+
import '../menu/index';
|
|
10
|
+
import '../icon-button/index';
|
|
11
|
+
import CDSMenu from '../menu/menu';
|
|
12
|
+
import CDSButton from '../button/button';
|
|
13
|
+
import { COMBO_BUTTON_SIZE, COMBO_BUTTON_TOOLTIP_ALIGNMENT } from './defs';
|
|
14
|
+
import { POPOVER_ALIGNMENT } from '../popover/defs';
|
|
15
|
+
import { ICON_BUTTON_TOOLTIP_ALIGNMENT } from '../icon-button/defs';
|
|
16
|
+
export { COMBO_BUTTON_SIZE, COMBO_BUTTON_TOOLTIP_ALIGNMENT };
|
|
17
|
+
declare const CDSComboButton_base: {
|
|
18
|
+
new (...args: any[]): {
|
|
19
|
+
_handles: Set<import("../../globals/internal/handle").default>;
|
|
20
|
+
connectedCallback(): void;
|
|
21
|
+
disconnectedCallback(): void;
|
|
22
|
+
accessKey: string;
|
|
23
|
+
readonly accessKeyLabel: string;
|
|
24
|
+
autocapitalize: string;
|
|
25
|
+
dir: string;
|
|
26
|
+
draggable: boolean;
|
|
27
|
+
hidden: boolean;
|
|
28
|
+
inert: boolean;
|
|
29
|
+
innerText: string;
|
|
30
|
+
lang: string;
|
|
31
|
+
readonly offsetHeight: number;
|
|
32
|
+
readonly offsetLeft: number;
|
|
33
|
+
readonly offsetParent: Element | null;
|
|
34
|
+
readonly offsetTop: number;
|
|
35
|
+
readonly offsetWidth: number;
|
|
36
|
+
outerText: string;
|
|
37
|
+
popover: string | null;
|
|
38
|
+
spellcheck: boolean;
|
|
39
|
+
title: string;
|
|
40
|
+
translate: boolean;
|
|
41
|
+
writingSuggestions: string;
|
|
42
|
+
attachInternals(): ElementInternals;
|
|
43
|
+
click(): void;
|
|
44
|
+
hidePopover(): void;
|
|
45
|
+
showPopover(): void;
|
|
46
|
+
togglePopover(force?: boolean): boolean;
|
|
47
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
48
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
49
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
50
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
51
|
+
readonly attributes: NamedNodeMap;
|
|
52
|
+
readonly classList: DOMTokenList;
|
|
53
|
+
className: string;
|
|
54
|
+
readonly clientHeight: number;
|
|
55
|
+
readonly clientLeft: number;
|
|
56
|
+
readonly clientTop: number;
|
|
57
|
+
readonly clientWidth: number;
|
|
58
|
+
readonly currentCSSZoom: number;
|
|
59
|
+
id: string;
|
|
60
|
+
innerHTML: string;
|
|
61
|
+
readonly localName: string;
|
|
62
|
+
readonly namespaceURI: string | null;
|
|
63
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
64
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
65
|
+
outerHTML: string;
|
|
66
|
+
readonly ownerDocument: Document;
|
|
67
|
+
readonly part: DOMTokenList;
|
|
68
|
+
readonly prefix: string | null;
|
|
69
|
+
readonly scrollHeight: number;
|
|
70
|
+
scrollLeft: number;
|
|
71
|
+
scrollTop: number;
|
|
72
|
+
readonly scrollWidth: number;
|
|
73
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
74
|
+
slot: string;
|
|
75
|
+
readonly tagName: string;
|
|
76
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
77
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
78
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
79
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
80
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
81
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
82
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
83
|
+
getAttribute(qualifiedName: string): string | null;
|
|
84
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
85
|
+
getAttributeNames(): string[];
|
|
86
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
87
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
88
|
+
getBoundingClientRect(): DOMRect;
|
|
89
|
+
getClientRects(): DOMRectList;
|
|
90
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
91
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
92
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
93
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
94
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
95
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
96
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
97
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
98
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
99
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
100
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
101
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
102
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
103
|
+
hasAttributes(): boolean;
|
|
104
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
105
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
106
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
107
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
108
|
+
matches(selectors: string): boolean;
|
|
109
|
+
releasePointerCapture(pointerId: number): void;
|
|
110
|
+
removeAttribute(qualifiedName: string): void;
|
|
111
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
112
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
113
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
114
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
115
|
+
scroll(options?: ScrollToOptions): void;
|
|
116
|
+
scroll(x: number, y: number): void;
|
|
117
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
118
|
+
scrollBy(x: number, y: number): void;
|
|
119
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
120
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
121
|
+
scrollTo(x: number, y: number): void;
|
|
122
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
123
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
124
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
125
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
126
|
+
setHTMLUnsafe(html: string): void;
|
|
127
|
+
setPointerCapture(pointerId: number): void;
|
|
128
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
129
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
130
|
+
readonly baseURI: string;
|
|
131
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
132
|
+
readonly firstChild: ChildNode | null;
|
|
133
|
+
readonly isConnected: boolean;
|
|
134
|
+
readonly lastChild: ChildNode | null;
|
|
135
|
+
readonly nextSibling: ChildNode | null;
|
|
136
|
+
readonly nodeName: string;
|
|
137
|
+
readonly nodeType: number;
|
|
138
|
+
nodeValue: string | null;
|
|
139
|
+
readonly parentElement: HTMLElement | null;
|
|
140
|
+
readonly parentNode: ParentNode | null;
|
|
141
|
+
readonly previousSibling: ChildNode | null;
|
|
142
|
+
textContent: string | null;
|
|
143
|
+
appendChild<T extends Node>(node: T): T;
|
|
144
|
+
cloneNode(deep?: boolean): Node;
|
|
145
|
+
compareDocumentPosition(other: Node): number;
|
|
146
|
+
contains(other: Node | null): boolean;
|
|
147
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
148
|
+
hasChildNodes(): boolean;
|
|
149
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
150
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
151
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
152
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
153
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
154
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
155
|
+
normalize(): void;
|
|
156
|
+
removeChild<T extends Node>(child: T): T;
|
|
157
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
158
|
+
readonly ELEMENT_NODE: 1;
|
|
159
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
160
|
+
readonly TEXT_NODE: 3;
|
|
161
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
162
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
163
|
+
readonly ENTITY_NODE: 6;
|
|
164
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
165
|
+
readonly COMMENT_NODE: 8;
|
|
166
|
+
readonly DOCUMENT_NODE: 9;
|
|
167
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
168
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
169
|
+
readonly NOTATION_NODE: 12;
|
|
170
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
171
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
172
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
173
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
174
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
175
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
176
|
+
dispatchEvent(event: Event): boolean;
|
|
177
|
+
ariaAtomic: string | null;
|
|
178
|
+
ariaAutoComplete: string | null;
|
|
179
|
+
ariaBrailleLabel: string | null;
|
|
180
|
+
ariaBrailleRoleDescription: string | null;
|
|
181
|
+
ariaBusy: string | null;
|
|
182
|
+
ariaChecked: string | null;
|
|
183
|
+
ariaColCount: string | null;
|
|
184
|
+
ariaColIndex: string | null;
|
|
185
|
+
ariaColIndexText: string | null;
|
|
186
|
+
ariaColSpan: string | null;
|
|
187
|
+
ariaCurrent: string | null;
|
|
188
|
+
ariaDescription: string | null;
|
|
189
|
+
ariaDisabled: string | null;
|
|
190
|
+
ariaExpanded: string | null;
|
|
191
|
+
ariaHasPopup: string | null;
|
|
192
|
+
ariaHidden: string | null;
|
|
193
|
+
ariaInvalid: string | null;
|
|
194
|
+
ariaKeyShortcuts: string | null;
|
|
195
|
+
ariaLabel: string | null;
|
|
196
|
+
ariaLevel: string | null;
|
|
197
|
+
ariaLive: string | null;
|
|
198
|
+
ariaModal: string | null;
|
|
199
|
+
ariaMultiLine: string | null;
|
|
200
|
+
ariaMultiSelectable: string | null;
|
|
201
|
+
ariaOrientation: string | null;
|
|
202
|
+
ariaPlaceholder: string | null;
|
|
203
|
+
ariaPosInSet: string | null;
|
|
204
|
+
ariaPressed: string | null;
|
|
205
|
+
ariaReadOnly: string | null;
|
|
206
|
+
ariaRequired: string | null;
|
|
207
|
+
ariaRoleDescription: string | null;
|
|
208
|
+
ariaRowCount: string | null;
|
|
209
|
+
ariaRowIndex: string | null;
|
|
210
|
+
ariaRowIndexText: string | null;
|
|
211
|
+
ariaRowSpan: string | null;
|
|
212
|
+
ariaSelected: string | null;
|
|
213
|
+
ariaSetSize: string | null;
|
|
214
|
+
ariaSort: string | null;
|
|
215
|
+
ariaValueMax: string | null;
|
|
216
|
+
ariaValueMin: string | null;
|
|
217
|
+
ariaValueNow: string | null;
|
|
218
|
+
ariaValueText: string | null;
|
|
219
|
+
role: string | null;
|
|
220
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
221
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
222
|
+
after(...nodes: (Node | string)[]): void;
|
|
223
|
+
before(...nodes: (Node | string)[]): void;
|
|
224
|
+
remove(): void;
|
|
225
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
226
|
+
readonly nextElementSibling: Element | null;
|
|
227
|
+
readonly previousElementSibling: Element | null;
|
|
228
|
+
readonly childElementCount: number;
|
|
229
|
+
readonly children: HTMLCollection;
|
|
230
|
+
readonly firstElementChild: Element | null;
|
|
231
|
+
readonly lastElementChild: Element | null;
|
|
232
|
+
append(...nodes: (Node | string)[]): void;
|
|
233
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
234
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
235
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
236
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
237
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
238
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
239
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
240
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
241
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
242
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
243
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
244
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
245
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
246
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
247
|
+
readonly style: CSSStyleDeclaration;
|
|
248
|
+
contentEditable: string;
|
|
249
|
+
enterKeyHint: string;
|
|
250
|
+
inputMode: string;
|
|
251
|
+
readonly isContentEditable: boolean;
|
|
252
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
253
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
254
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
255
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
256
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
257
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
258
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
259
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
261
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
263
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
264
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
266
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
269
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
271
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
273
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
274
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
275
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
276
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
277
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
278
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
279
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
280
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
281
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
|
+
onerror: OnErrorEventHandler;
|
|
285
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
286
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
287
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
288
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
291
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
292
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
293
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
298
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
299
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
300
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
301
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
302
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
303
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
304
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
305
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
306
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
310
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
311
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
312
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
313
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
314
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
315
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
316
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
317
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
318
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
321
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
323
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
324
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
332
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
335
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
336
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
337
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
338
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
339
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
340
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
341
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
342
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
343
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
344
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
345
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
346
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
347
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
348
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
349
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
350
|
+
autofocus: boolean;
|
|
351
|
+
readonly dataset: DOMStringMap;
|
|
352
|
+
nonce?: string;
|
|
353
|
+
tabIndex: number;
|
|
354
|
+
blur(): void;
|
|
355
|
+
focus(options?: FocusOptions): void;
|
|
356
|
+
};
|
|
357
|
+
_hostListeners: {
|
|
358
|
+
[listenerName: string]: {
|
|
359
|
+
[type: string]: {
|
|
360
|
+
options?: boolean | AddEventListenerOptions;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
} & typeof LitElement;
|
|
365
|
+
/**
|
|
366
|
+
* Combo button.
|
|
367
|
+
* @element cds-combo-button
|
|
368
|
+
*/
|
|
369
|
+
declare class CDSComboButton extends CDSComboButton_base {
|
|
370
|
+
private _menuController;
|
|
371
|
+
_triggerNode: CDSButton;
|
|
372
|
+
_menuNode: CDSMenu;
|
|
373
|
+
private _open;
|
|
374
|
+
/**
|
|
375
|
+
* Specify whether the ComboButton should be disabled, or not.
|
|
376
|
+
*/
|
|
377
|
+
disabled?: any;
|
|
378
|
+
/**
|
|
379
|
+
* Provide the label to be rendered on the primary action button.
|
|
380
|
+
*/
|
|
381
|
+
label: string;
|
|
382
|
+
/**
|
|
383
|
+
* Experimental property. Specify how the menu should align with the button element
|
|
384
|
+
*/
|
|
385
|
+
menuAlignment: POPOVER_ALIGNMENT;
|
|
386
|
+
/**
|
|
387
|
+
* Provide an optional function to be called when the primary action element is clicked.
|
|
388
|
+
*/
|
|
389
|
+
onClick?: (event: Event) => void;
|
|
390
|
+
/**
|
|
391
|
+
* Specify the size of the button and menu.
|
|
392
|
+
*/
|
|
393
|
+
size: COMBO_BUTTON_SIZE;
|
|
394
|
+
/**
|
|
395
|
+
* Specify how the trigger tooltip should be aligned.
|
|
396
|
+
*/
|
|
397
|
+
tooltipAlignment: ICON_BUTTON_TOOLTIP_ALIGNMENT;
|
|
398
|
+
/**
|
|
399
|
+
* Provide the tooltip content for the icon button.
|
|
400
|
+
*/
|
|
401
|
+
tooltipContent: string;
|
|
402
|
+
private _handleClick;
|
|
403
|
+
private _handleBlur;
|
|
404
|
+
updated(changedProperties: any): void;
|
|
405
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
406
|
+
static styles: any;
|
|
407
|
+
}
|
|
408
|
+
export default CDSComboButton;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025, 2025
|
|
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
|
+
/**
|
|
8
|
+
* Combo button size.
|
|
9
|
+
*/
|
|
10
|
+
export declare enum COMBO_BUTTON_SIZE {
|
|
11
|
+
/**
|
|
12
|
+
* Small size.
|
|
13
|
+
*/
|
|
14
|
+
SMALL = "sm",
|
|
15
|
+
/**
|
|
16
|
+
* Medium size.
|
|
17
|
+
*/
|
|
18
|
+
MEDIUM = "md",
|
|
19
|
+
/**
|
|
20
|
+
* Large size.
|
|
21
|
+
*/
|
|
22
|
+
LARGE = "lg"
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Combo button tooltip alignment.
|
|
26
|
+
*/
|
|
27
|
+
export declare enum COMBO_BUTTON_TOOLTIP_ALIGNMENT {
|
|
28
|
+
/**
|
|
29
|
+
* Aligned to the start.
|
|
30
|
+
*/
|
|
31
|
+
START = "left",
|
|
32
|
+
/**
|
|
33
|
+
* Aligned to the center.
|
|
34
|
+
*/
|
|
35
|
+
CENTER = "center",
|
|
36
|
+
/**
|
|
37
|
+
* Aligned to the end.
|
|
38
|
+
*/
|
|
39
|
+
END = "right"
|
|
40
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2024
|
|
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
|
+
|
|
8
|
+
'use strict';
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Copyright IBM Corp. 2025, 2025
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Combo button size.
|
|
20
|
+
*/
|
|
21
|
+
exports.COMBO_BUTTON_SIZE = void 0;
|
|
22
|
+
(function (COMBO_BUTTON_SIZE) {
|
|
23
|
+
/**
|
|
24
|
+
* Small size.
|
|
25
|
+
*/
|
|
26
|
+
COMBO_BUTTON_SIZE["SMALL"] = "sm";
|
|
27
|
+
/**
|
|
28
|
+
* Medium size.
|
|
29
|
+
*/
|
|
30
|
+
COMBO_BUTTON_SIZE["MEDIUM"] = "md";
|
|
31
|
+
/**
|
|
32
|
+
* Large size.
|
|
33
|
+
*/
|
|
34
|
+
COMBO_BUTTON_SIZE["LARGE"] = "lg";
|
|
35
|
+
})(exports.COMBO_BUTTON_SIZE || (exports.COMBO_BUTTON_SIZE = {}));
|
|
36
|
+
/**
|
|
37
|
+
* Combo button tooltip alignment.
|
|
38
|
+
*/
|
|
39
|
+
exports.COMBO_BUTTON_TOOLTIP_ALIGNMENT = void 0;
|
|
40
|
+
(function (COMBO_BUTTON_TOOLTIP_ALIGNMENT) {
|
|
41
|
+
/**
|
|
42
|
+
* Aligned to the start.
|
|
43
|
+
*/
|
|
44
|
+
COMBO_BUTTON_TOOLTIP_ALIGNMENT["START"] = "left";
|
|
45
|
+
/**
|
|
46
|
+
* Aligned to the center.
|
|
47
|
+
*/
|
|
48
|
+
COMBO_BUTTON_TOOLTIP_ALIGNMENT["CENTER"] = "center";
|
|
49
|
+
/**
|
|
50
|
+
* Aligned to the end.
|
|
51
|
+
*/
|
|
52
|
+
COMBO_BUTTON_TOOLTIP_ALIGNMENT["END"] = "right";
|
|
53
|
+
})(exports.COMBO_BUTTON_TOOLTIP_ALIGNMENT || (exports.COMBO_BUTTON_TOOLTIP_ALIGNMENT = {}));
|
|
54
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sources":["../../../src/components/combo-button/defs.ts"],"sourcesContent":[null],"names":["COMBO_BUTTON_SIZE","COMBO_BUTTON_TOOLTIP_ALIGNMENT"],"mappings":";;;;;;;;;;;AAAA;;;;;AAKG;AAEH;;AAEG;AACSA,mCAeX;AAfD,CAAA,UAAY,iBAAiB,EAAA;AAC3B;;AAEG;AACH,IAAA,iBAAA,CAAA,OAAA,CAAA,GAAA,IAAY,CAAA;AAEZ;;AAEG;AACH,IAAA,iBAAA,CAAA,QAAA,CAAA,GAAA,IAAa,CAAA;AAEb;;AAEG;AACH,IAAA,iBAAA,CAAA,OAAA,CAAA,GAAA,IAAY,CAAA;AACd,CAAC,EAfWA,yBAAiB,KAAjBA,yBAAiB,GAe5B,EAAA,CAAA,CAAA,CAAA;AAED;;AAEG;AACSC,gDAeX;AAfD,CAAA,UAAY,8BAA8B,EAAA;AACxC;;AAEG;AACH,IAAA,8BAAA,CAAA,OAAA,CAAA,GAAA,MAAc,CAAA;AAEd;;AAEG;AACH,IAAA,8BAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AAEjB;;AAEG;AACH,IAAA,8BAAA,CAAA,KAAA,CAAA,GAAA,OAAa,CAAA;AACf,CAAC,EAfWA,sCAA8B,KAA9BA,sCAA8B,GAezC,EAAA,CAAA,CAAA;;"}
|
|
@@ -377,11 +377,20 @@ declare class CDSActionableNotification extends CDSActionableNotification_base {
|
|
|
377
377
|
* Specify if focus should be moved to the component when the notification contains actions
|
|
378
378
|
*/
|
|
379
379
|
hasFocus: boolean;
|
|
380
|
+
/**
|
|
381
|
+
* Node to track focus going outside of actionable notification content.
|
|
382
|
+
*/
|
|
383
|
+
private _startSentinelNode;
|
|
384
|
+
/**
|
|
385
|
+
* Node to track focus going outside of actionable notification content.
|
|
386
|
+
*/
|
|
387
|
+
private _endSentinelNode;
|
|
380
388
|
/**
|
|
381
389
|
* Handles `keydown` event on this event.
|
|
382
390
|
* Escape will close the notification if `closeOnEscape` is true
|
|
383
391
|
*/
|
|
384
392
|
private _handleKeyDown;
|
|
393
|
+
private _handleBlur;
|
|
385
394
|
connectedCallback(): void;
|
|
386
395
|
protected _renderIcon(): any;
|
|
387
396
|
protected _renderText(): import("lit-html").TemplateResult<1>;
|
|
@@ -391,6 +400,15 @@ declare class CDSActionableNotification extends CDSActionableNotification_base {
|
|
|
391
400
|
caption: string;
|
|
392
401
|
updated(changedProperties: any): void;
|
|
393
402
|
render(): import("lit-html").TemplateResult<1>;
|
|
403
|
+
/**
|
|
404
|
+
* @param ms The number of milliseconds.
|
|
405
|
+
* @returns A promise that is resolves after the given milliseconds.
|
|
406
|
+
*/
|
|
407
|
+
private static _delay;
|
|
408
|
+
/**
|
|
409
|
+
* A selector selecting tabbable nodes.
|
|
410
|
+
*/
|
|
411
|
+
static get selectorTabbable(): string;
|
|
394
412
|
/**
|
|
395
413
|
* A selector that will return the action button element
|
|
396
414
|
*/
|
|
@@ -705,6 +705,11 @@ declare const CDSDismissibleTag_base: {
|
|
|
705
705
|
*/
|
|
706
706
|
declare class CDSDismissibleTag extends CDSDismissibleTag_base {
|
|
707
707
|
protected _buttonNode: HTMLButtonElement;
|
|
708
|
+
/**
|
|
709
|
+
* Finds the next focusable dismissible tag sibling
|
|
710
|
+
* @returns {HTMLElement|null} The next focusable dismissible tag or null
|
|
711
|
+
*/
|
|
712
|
+
protected _findNextFocusableTag(): Element | null;
|
|
708
713
|
/**
|
|
709
714
|
* Handles `slotchange` event.
|
|
710
715
|
*/
|
|
@@ -9,5 +9,5 @@ declare const prefix = "cds";
|
|
|
9
9
|
* A selector selecting tabbable nodes.
|
|
10
10
|
* Borrowed from `carbon-angular`. tabbable === focusable.
|
|
11
11
|
*/
|
|
12
|
-
declare const selectorTabbable = "\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true],\n cds-accordion-item,\n cds-button,\n cds-breadcrumb-link,\n cds-checkbox,\n cds-code-snippet,\n cds-combo-box,\n cds-content-switcher-item,\n cds-copy-button,\n cds-table-header-row,\n cds-table-row,\n cds-table-toolbar-search,\n cds-date-picker-input,\n cds-dropdown,\n cds-input,\n cds-link,\n cds-number-input,\n cds-modal,\n cds-modal-close-button,\n cds-multi-select,\n cds-inline-notification,\n cds-toast-notification,\n cds-overflow-menu,\n cds-overflow-menu-item,\n cds-page-sizes-select,\n cds-pages-select,\n cds-progress-step,\n cds-radio-button,\n cds-search,\n cds-slider,\n cds-slider-input,\n cds-structured-list,\n cds-tab,\n cds-filter-tag,\n cds-textarea,\n cds-text-input,\n cds-clickable-tile,\n cds-expandable-tile,\n cds-radio-tile,\n cds-selectable-tile,\n cds-toggle,\n cds-tooltip,\n cds-tooltip-definition,\n cds-tooltip-icon,\n cds-header-menu,\n cds-header-menu-button,\n cds-header-menu-item,\n cds-header-name,\n cds-header-nav-item,\n cds-side-nav-link,\n cds-side-nav-menu,\n cds-side-nav-menu-item\n";
|
|
12
|
+
declare const selectorTabbable = "\n a[href]:not(#start-sentinel, #end-sentinel), area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true],\n cds-accordion-item,\n cds-actionable-notification-button,\n cds-button,\n cds-breadcrumb-link,\n cds-checkbox,\n cds-code-snippet,\n cds-combo-box,\n cds-content-switcher-item,\n cds-copy-button,\n cds-table-header-row,\n cds-table-row,\n cds-table-toolbar-search,\n cds-date-picker-input,\n cds-dropdown,\n cds-input,\n cds-link,\n cds-number-input,\n cds-modal,\n cds-modal-close-button,\n cds-multi-select,\n cds-inline-notification,\n cds-toast-notification,\n cds-overflow-menu,\n cds-overflow-menu-item,\n cds-page-sizes-select,\n cds-pages-select,\n cds-progress-step,\n cds-radio-button,\n cds-search,\n cds-slider,\n cds-slider-input,\n cds-structured-list,\n cds-tab,\n cds-filter-tag,\n cds-textarea,\n cds-text-input,\n cds-clickable-tile,\n cds-expandable-tile,\n cds-radio-tile,\n cds-selectable-tile,\n cds-toggle,\n cds-tooltip,\n cds-tooltip-definition,\n cds-tooltip-icon,\n cds-header-menu,\n cds-header-menu-button,\n cds-header-menu-item,\n cds-header-name,\n cds-header-nav-item,\n cds-side-nav-link,\n cds-side-nav-menu,\n cds-side-nav-menu-item\n";
|
|
13
13
|
export { prefix, selectorTabbable };
|
package/lib/globals/settings.js
CHANGED
|
@@ -21,11 +21,12 @@ const prefix = 'cds';
|
|
|
21
21
|
* Borrowed from `carbon-angular`. tabbable === focusable.
|
|
22
22
|
*/
|
|
23
23
|
const selectorTabbable = `
|
|
24
|
-
a[href], area[href], input:not([disabled]):not([tabindex='-1']),
|
|
24
|
+
a[href]:not(#start-sentinel, #end-sentinel), area[href], input:not([disabled]):not([tabindex='-1']),
|
|
25
25
|
button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),
|
|
26
26
|
textarea:not([disabled]):not([tabindex='-1']),
|
|
27
27
|
iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true],
|
|
28
28
|
${prefix}-accordion-item,
|
|
29
|
+
${prefix}-actionable-notification-button,
|
|
29
30
|
${prefix}-button,
|
|
30
31
|
${prefix}-breadcrumb-link,
|
|
31
32
|
${prefix}-checkbox,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sources":["../../src/globals/settings.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;AAKG;AAEG,MAAA,MAAM,GAAG,MAAM;AAErB;;;AAGG;AACH,MAAM,gBAAgB,GAAG,CAAA;;;;;IAKrB,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;;;;;;"}
|
|
1
|
+
{"version":3,"file":"settings.js","sources":["../../src/globals/settings.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;AAKG;AAEG,MAAA,MAAM,GAAG,MAAM;AAErB;;;AAGG;AACH,MAAM,gBAAgB,GAAG,CAAA;;;;;IAKrB,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;;;;;;"}
|
package/lib/index.d.ts
CHANGED
|
@@ -170,3 +170,4 @@ export { default as CDSTreeView } from './components/tree-view/tree-view';
|
|
|
170
170
|
export { default as CDSTreeNode } from './components/tree-view/tree-node';
|
|
171
171
|
export { default as CDSHeading } from './components/heading/heading';
|
|
172
172
|
export { default as CDSMenuButton } from './components/menu-button/menu-button';
|
|
173
|
+
export { default as CDSComboButton } from './components/combo-button/combo-button';
|