@carbon/ibm-products-web-components 0.11.0-rc.0 → 0.11.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/es/components/about-modal/about-modal.d.ts +87 -61
- package/es/components/side-panel/side-panel.d.ts +87 -61
- package/es/components/tearsheet/tearsheet.d.ts +87 -61
- package/es/components/user-avatar/user-avatar.d.ts +87 -61
- package/es/package.json.js +1 -1
- package/es-custom/components/about-modal/about-modal.d.ts +418 -0
- package/es-custom/components/about-modal/about-modal.js +143 -0
- package/es-custom/components/about-modal/about-modal.js.map +1 -0
- package/es-custom/components/about-modal/about-modal.scss.js +13 -0
- package/es-custom/components/about-modal/about-modal.scss.js.map +1 -0
- package/es-custom/components/about-modal/about-modal.test.d.ts +7 -0
- package/es-custom/components/about-modal/about-modal.test.js +87 -0
- package/es-custom/components/about-modal/about-modal.test.js.map +1 -0
- package/es-custom/components/about-modal/defs.d.ts +8 -0
- package/es-custom/components/about-modal/defs.js +8 -0
- package/es-custom/components/about-modal/defs.js.map +1 -0
- package/es-custom/components/about-modal/index.d.ts +9 -0
- package/es-custom/components/about-modal/index.js +9 -0
- package/es-custom/components/about-modal/index.js.map +1 -0
- package/es-custom/components/side-panel/defs.d.ts +39 -0
- package/es-custom/components/side-panel/defs.js +51 -0
- package/es-custom/components/side-panel/defs.js.map +1 -0
- package/es-custom/components/side-panel/index.d.ts +9 -0
- package/es-custom/components/side-panel/index.js +9 -0
- package/es-custom/components/side-panel/index.js.map +1 -0
- package/es-custom/components/side-panel/side-panel.d.ts +546 -0
- package/es-custom/components/side-panel/side-panel.js +828 -0
- package/es-custom/components/side-panel/side-panel.js.map +1 -0
- package/es-custom/components/side-panel/side-panel.scss.js +13 -0
- package/es-custom/components/side-panel/side-panel.scss.js.map +1 -0
- package/es-custom/components/side-panel/side-panel.test.d.ts +7 -0
- package/es-custom/components/side-panel/side-panel.test.js +56 -0
- package/es-custom/components/side-panel/side-panel.test.js.map +1 -0
- package/es-custom/components/tearsheet/defs.d.ts +26 -0
- package/es-custom/components/tearsheet/defs.js +39 -0
- package/es-custom/components/tearsheet/defs.js.map +1 -0
- package/es-custom/components/tearsheet/index.d.ts +9 -0
- package/es-custom/components/tearsheet/index.js +9 -0
- package/es-custom/components/tearsheet/index.js.map +1 -0
- package/es-custom/components/tearsheet/tearsheet.d.ts +516 -0
- package/es-custom/components/tearsheet/tearsheet.js +676 -0
- package/es-custom/components/tearsheet/tearsheet.js.map +1 -0
- package/es-custom/components/tearsheet/tearsheet.scss.js +13 -0
- package/es-custom/components/tearsheet/tearsheet.scss.js.map +1 -0
- package/es-custom/components/tearsheet/tearsheet.test.d.ts +7 -0
- package/es-custom/components/tearsheet/tearsheet.test.js +121 -0
- package/es-custom/components/tearsheet/tearsheet.test.js.map +1 -0
- package/es-custom/components/user-avatar/index.d.ts +9 -0
- package/es-custom/components/user-avatar/index.js +9 -0
- package/es-custom/components/user-avatar/index.js.map +1 -0
- package/es-custom/components/user-avatar/user-avatar.d.ts +405 -0
- package/es-custom/components/user-avatar/user-avatar.js +151 -0
- package/es-custom/components/user-avatar/user-avatar.js.map +1 -0
- package/es-custom/components/user-avatar/user-avatar.scss.js +13 -0
- package/es-custom/components/user-avatar/user-avatar.scss.js.map +1 -0
- package/es-custom/globals/internal/handle.d.ts +18 -0
- package/es-custom/globals/internal/handle.js +8 -0
- package/es-custom/globals/internal/handle.js.map +1 -0
- package/es-custom/globals/internal/storybook-cdn.js +78 -0
- package/es-custom/globals/internal/storybook-cdn.js.map +1 -0
- package/es-custom/globals/settings.d.ts +15 -0
- package/es-custom/globals/settings.js +28 -0
- package/es-custom/globals/settings.js.map +1 -0
- package/es-custom/index.d.ts +12 -0
- package/es-custom/index.js +12 -0
- package/es-custom/index.js.map +1 -0
- package/es-custom/package.json.js +13 -0
- package/es-custom/package.json.js.map +1 -0
- package/lib/components/about-modal/about-modal.d.ts +87 -61
- package/lib/components/side-panel/side-panel.d.ts +87 -61
- package/lib/components/tearsheet/tearsheet.d.ts +87 -61
- package/lib/components/user-avatar/user-avatar.d.ts +87 -61
- package/package.json +6 -4
@@ -33,15 +33,20 @@ declare const CDSSidePanel_base: {
|
|
33
33
|
readonly offsetTop: number;
|
34
34
|
readonly offsetWidth: number;
|
35
35
|
outerText: string;
|
36
|
+
popover: string | null;
|
36
37
|
spellcheck: boolean;
|
37
38
|
title: string;
|
38
39
|
translate: boolean;
|
40
|
+
writingSuggestions: string;
|
39
41
|
attachInternals(): ElementInternals;
|
40
42
|
click(): void;
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
43
|
+
hidePopover(): void;
|
44
|
+
showPopover(): void;
|
45
|
+
togglePopover(force?: boolean): boolean;
|
46
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
47
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
48
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
49
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
45
50
|
readonly attributes: NamedNodeMap;
|
46
51
|
readonly classList: DOMTokenList;
|
47
52
|
className: string;
|
@@ -49,7 +54,9 @@ declare const CDSSidePanel_base: {
|
|
49
54
|
readonly clientLeft: number;
|
50
55
|
readonly clientTop: number;
|
51
56
|
readonly clientWidth: number;
|
57
|
+
readonly currentCSSZoom: number;
|
52
58
|
id: string;
|
59
|
+
innerHTML: string;
|
53
60
|
readonly localName: string;
|
54
61
|
readonly namespaceURI: string | null;
|
55
62
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
@@ -66,9 +73,12 @@ declare const CDSSidePanel_base: {
|
|
66
73
|
slot: string;
|
67
74
|
readonly tagName: string;
|
68
75
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
69
|
-
|
70
|
-
closest<
|
76
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
77
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
78
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
79
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
71
80
|
closest<E extends Element = Element>(selectors: string): E | null;
|
81
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
72
82
|
getAttribute(qualifiedName: string): string | null;
|
73
83
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
74
84
|
getAttributeNames(): string[];
|
@@ -77,39 +87,44 @@ declare const CDSSidePanel_base: {
|
|
77
87
|
getBoundingClientRect(): DOMRect;
|
78
88
|
getClientRects(): DOMRectList;
|
79
89
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
80
|
-
getElementsByTagName<
|
81
|
-
getElementsByTagName<
|
90
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
91
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
92
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
93
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
82
94
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
83
95
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
84
96
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
97
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
85
98
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
99
|
+
getHTML(options?: GetHTMLOptions): string;
|
86
100
|
hasAttribute(qualifiedName: string): boolean;
|
87
101
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
88
102
|
hasAttributes(): boolean;
|
89
103
|
hasPointerCapture(pointerId: number): boolean;
|
90
104
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
91
|
-
insertAdjacentHTML(position: InsertPosition,
|
105
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
92
106
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
93
107
|
matches(selectors: string): boolean;
|
94
108
|
releasePointerCapture(pointerId: number): void;
|
95
109
|
removeAttribute(qualifiedName: string): void;
|
96
110
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
97
111
|
removeAttributeNode(attr: Attr): Attr;
|
98
|
-
requestFullscreen(options?: FullscreenOptions
|
99
|
-
requestPointerLock(): void
|
100
|
-
scroll(options?: ScrollToOptions
|
112
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
113
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
114
|
+
scroll(options?: ScrollToOptions): void;
|
101
115
|
scroll(x: number, y: number): void;
|
102
|
-
scrollBy(options?: ScrollToOptions
|
116
|
+
scrollBy(options?: ScrollToOptions): void;
|
103
117
|
scrollBy(x: number, y: number): void;
|
104
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
105
|
-
scrollTo(options?: ScrollToOptions
|
118
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
119
|
+
scrollTo(options?: ScrollToOptions): void;
|
106
120
|
scrollTo(x: number, y: number): void;
|
107
121
|
setAttribute(qualifiedName: string, value: string): void;
|
108
122
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
109
123
|
setAttributeNode(attr: Attr): Attr | null;
|
110
124
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
125
|
+
setHTMLUnsafe(html: string): void;
|
111
126
|
setPointerCapture(pointerId: number): void;
|
112
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
127
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
113
128
|
webkitMatchesSelector(selectors: string): boolean;
|
114
129
|
readonly baseURI: string;
|
115
130
|
readonly childNodes: NodeListOf<ChildNode>;
|
@@ -125,41 +140,43 @@ declare const CDSSidePanel_base: {
|
|
125
140
|
readonly previousSibling: ChildNode | null;
|
126
141
|
textContent: string | null;
|
127
142
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
128
|
-
cloneNode(deep?: boolean
|
143
|
+
cloneNode(deep?: boolean): Node;
|
129
144
|
compareDocumentPosition(other: Node): number;
|
130
145
|
contains(other: Node | null): boolean;
|
131
|
-
getRootNode(options?: GetRootNodeOptions
|
146
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
132
147
|
hasChildNodes(): boolean;
|
133
|
-
insertBefore<
|
148
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
134
149
|
isDefaultNamespace(namespace: string | null): boolean;
|
135
150
|
isEqualNode(otherNode: Node | null): boolean;
|
136
151
|
isSameNode(otherNode: Node | null): boolean;
|
137
152
|
lookupNamespaceURI(prefix: string | null): string | null;
|
138
153
|
lookupPrefix(namespace: string | null): string | null;
|
139
154
|
normalize(): void;
|
140
|
-
removeChild<
|
141
|
-
replaceChild<
|
142
|
-
readonly
|
143
|
-
readonly
|
144
|
-
readonly
|
145
|
-
readonly
|
146
|
-
readonly
|
147
|
-
readonly
|
148
|
-
readonly
|
149
|
-
readonly
|
150
|
-
readonly
|
151
|
-
readonly
|
152
|
-
readonly
|
153
|
-
readonly
|
154
|
-
readonly
|
155
|
-
readonly
|
156
|
-
readonly
|
157
|
-
readonly
|
158
|
-
readonly
|
159
|
-
readonly
|
155
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
156
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
157
|
+
readonly ELEMENT_NODE: 1;
|
158
|
+
readonly ATTRIBUTE_NODE: 2;
|
159
|
+
readonly TEXT_NODE: 3;
|
160
|
+
readonly CDATA_SECTION_NODE: 4;
|
161
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
162
|
+
readonly ENTITY_NODE: 6;
|
163
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
164
|
+
readonly COMMENT_NODE: 8;
|
165
|
+
readonly DOCUMENT_NODE: 9;
|
166
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
167
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
168
|
+
readonly NOTATION_NODE: 12;
|
169
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
170
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
171
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
172
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
173
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
174
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
160
175
|
dispatchEvent(event: Event): boolean;
|
161
176
|
ariaAtomic: string | null;
|
162
177
|
ariaAutoComplete: string | null;
|
178
|
+
ariaBrailleLabel: string | null;
|
179
|
+
ariaBrailleRoleDescription: string | null;
|
163
180
|
ariaBusy: string | null;
|
164
181
|
ariaChecked: string | null;
|
165
182
|
ariaColCount: string | null;
|
@@ -167,6 +184,7 @@ declare const CDSSidePanel_base: {
|
|
167
184
|
ariaColIndexText: string | null;
|
168
185
|
ariaColSpan: string | null;
|
169
186
|
ariaCurrent: string | null;
|
187
|
+
ariaDescription: string | null;
|
170
188
|
ariaDisabled: string | null;
|
171
189
|
ariaExpanded: string | null;
|
172
190
|
ariaHasPopup: string | null;
|
@@ -198,32 +216,33 @@ declare const CDSSidePanel_base: {
|
|
198
216
|
ariaValueNow: string | null;
|
199
217
|
ariaValueText: string | null;
|
200
218
|
role: string | null;
|
201
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
202
|
-
getAnimations(options?: GetAnimationsOptions
|
203
|
-
after(...nodes: (
|
204
|
-
before(...nodes: (
|
219
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
220
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
221
|
+
after(...nodes: (Node | string)[]): void;
|
222
|
+
before(...nodes: (Node | string)[]): void;
|
205
223
|
remove(): void;
|
206
|
-
replaceWith(...nodes: (
|
207
|
-
innerHTML: string;
|
224
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
208
225
|
readonly nextElementSibling: Element | null;
|
209
226
|
readonly previousElementSibling: Element | null;
|
210
227
|
readonly childElementCount: number;
|
211
228
|
readonly children: HTMLCollection;
|
212
229
|
readonly firstElementChild: Element | null;
|
213
230
|
readonly lastElementChild: Element | null;
|
214
|
-
append(...nodes: (
|
215
|
-
prepend(...nodes: (
|
216
|
-
querySelector<
|
217
|
-
querySelector<
|
218
|
-
querySelector<
|
219
|
-
|
220
|
-
|
221
|
-
querySelectorAll<
|
222
|
-
|
231
|
+
append(...nodes: (Node | string)[]): void;
|
232
|
+
prepend(...nodes: (Node | string)[]): void;
|
233
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
234
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
235
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
236
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
237
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
238
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
239
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
240
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
241
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
242
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
243
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
223
244
|
readonly assignedSlot: HTMLSlotElement | null;
|
224
|
-
|
225
|
-
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
226
|
-
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
245
|
+
readonly attributeStyleMap: StylePropertyMap;
|
227
246
|
readonly style: CSSStyleDeclaration;
|
228
247
|
contentEditable: string;
|
229
248
|
enterKeyHint: string;
|
@@ -236,6 +255,7 @@ declare const CDSSidePanel_base: {
|
|
236
255
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
237
256
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
238
257
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
258
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
239
259
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
240
260
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
241
261
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
@@ -243,8 +263,12 @@ declare const CDSSidePanel_base: {
|
|
243
263
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
244
264
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
245
265
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
266
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
246
267
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
268
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
269
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
247
270
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
271
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
248
272
|
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
249
273
|
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
250
274
|
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
@@ -277,6 +301,7 @@ declare const CDSSidePanel_base: {
|
|
277
301
|
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
278
302
|
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
279
303
|
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
304
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
280
305
|
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
281
306
|
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
282
307
|
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
@@ -288,11 +313,12 @@ declare const CDSSidePanel_base: {
|
|
288
313
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
289
314
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
290
315
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
291
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
316
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
292
317
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
293
318
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
294
319
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
295
320
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
321
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
296
322
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
297
323
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
298
324
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
@@ -322,15 +348,15 @@ declare const CDSSidePanel_base: {
|
|
322
348
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
323
349
|
autofocus: boolean;
|
324
350
|
readonly dataset: DOMStringMap;
|
325
|
-
nonce?: string
|
351
|
+
nonce?: string;
|
326
352
|
tabIndex: number;
|
327
353
|
blur(): void;
|
328
|
-
focus(options?: FocusOptions
|
354
|
+
focus(options?: FocusOptions): void;
|
329
355
|
};
|
330
356
|
_hostListeners: {
|
331
357
|
[listenerName: string]: {
|
332
358
|
[type: string]: {
|
333
|
-
options?: boolean | AddEventListenerOptions
|
359
|
+
options?: boolean | AddEventListenerOptions;
|
334
360
|
};
|
335
361
|
};
|
336
362
|
};
|
@@ -33,15 +33,20 @@ declare const CDSTearsheet_base: {
|
|
33
33
|
readonly offsetTop: number;
|
34
34
|
readonly offsetWidth: number;
|
35
35
|
outerText: string;
|
36
|
+
popover: string | null;
|
36
37
|
spellcheck: boolean;
|
37
38
|
title: string;
|
38
39
|
translate: boolean;
|
40
|
+
writingSuggestions: string;
|
39
41
|
attachInternals(): ElementInternals;
|
40
42
|
click(): void;
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
43
|
+
hidePopover(): void;
|
44
|
+
showPopover(): void;
|
45
|
+
togglePopover(force?: boolean): boolean;
|
46
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
47
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
48
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
49
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
45
50
|
readonly attributes: NamedNodeMap;
|
46
51
|
readonly classList: DOMTokenList;
|
47
52
|
className: string;
|
@@ -49,7 +54,9 @@ declare const CDSTearsheet_base: {
|
|
49
54
|
readonly clientLeft: number;
|
50
55
|
readonly clientTop: number;
|
51
56
|
readonly clientWidth: number;
|
57
|
+
readonly currentCSSZoom: number;
|
52
58
|
id: string;
|
59
|
+
innerHTML: string;
|
53
60
|
readonly localName: string;
|
54
61
|
readonly namespaceURI: string | null;
|
55
62
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
@@ -66,9 +73,12 @@ declare const CDSTearsheet_base: {
|
|
66
73
|
slot: string;
|
67
74
|
readonly tagName: string;
|
68
75
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
69
|
-
|
70
|
-
closest<
|
76
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
77
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
78
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
79
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
71
80
|
closest<E extends Element = Element>(selectors: string): E | null;
|
81
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
72
82
|
getAttribute(qualifiedName: string): string | null;
|
73
83
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
74
84
|
getAttributeNames(): string[];
|
@@ -77,39 +87,44 @@ declare const CDSTearsheet_base: {
|
|
77
87
|
getBoundingClientRect(): DOMRect;
|
78
88
|
getClientRects(): DOMRectList;
|
79
89
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
80
|
-
getElementsByTagName<
|
81
|
-
getElementsByTagName<
|
90
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
91
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
92
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
93
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
82
94
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
83
95
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
84
96
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
97
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
85
98
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
99
|
+
getHTML(options?: GetHTMLOptions): string;
|
86
100
|
hasAttribute(qualifiedName: string): boolean;
|
87
101
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
88
102
|
hasAttributes(): boolean;
|
89
103
|
hasPointerCapture(pointerId: number): boolean;
|
90
104
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
91
|
-
insertAdjacentHTML(position: InsertPosition,
|
105
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
92
106
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
93
107
|
matches(selectors: string): boolean;
|
94
108
|
releasePointerCapture(pointerId: number): void;
|
95
109
|
removeAttribute(qualifiedName: string): void;
|
96
110
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
97
111
|
removeAttributeNode(attr: Attr): Attr;
|
98
|
-
requestFullscreen(options?: FullscreenOptions
|
99
|
-
requestPointerLock(): void
|
100
|
-
scroll(options?: ScrollToOptions
|
112
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
113
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
114
|
+
scroll(options?: ScrollToOptions): void;
|
101
115
|
scroll(x: number, y: number): void;
|
102
|
-
scrollBy(options?: ScrollToOptions
|
116
|
+
scrollBy(options?: ScrollToOptions): void;
|
103
117
|
scrollBy(x: number, y: number): void;
|
104
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
105
|
-
scrollTo(options?: ScrollToOptions
|
118
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
119
|
+
scrollTo(options?: ScrollToOptions): void;
|
106
120
|
scrollTo(x: number, y: number): void;
|
107
121
|
setAttribute(qualifiedName: string, value: string): void;
|
108
122
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
109
123
|
setAttributeNode(attr: Attr): Attr | null;
|
110
124
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
125
|
+
setHTMLUnsafe(html: string): void;
|
111
126
|
setPointerCapture(pointerId: number): void;
|
112
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
127
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
113
128
|
webkitMatchesSelector(selectors: string): boolean;
|
114
129
|
readonly baseURI: string;
|
115
130
|
readonly childNodes: NodeListOf<ChildNode>;
|
@@ -125,41 +140,43 @@ declare const CDSTearsheet_base: {
|
|
125
140
|
readonly previousSibling: ChildNode | null;
|
126
141
|
textContent: string | null;
|
127
142
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
128
|
-
cloneNode(deep?: boolean
|
143
|
+
cloneNode(deep?: boolean): Node;
|
129
144
|
compareDocumentPosition(other: Node): number;
|
130
145
|
contains(other: Node | null): boolean;
|
131
|
-
getRootNode(options?: GetRootNodeOptions
|
146
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
132
147
|
hasChildNodes(): boolean;
|
133
|
-
insertBefore<
|
148
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
134
149
|
isDefaultNamespace(namespace: string | null): boolean;
|
135
150
|
isEqualNode(otherNode: Node | null): boolean;
|
136
151
|
isSameNode(otherNode: Node | null): boolean;
|
137
152
|
lookupNamespaceURI(prefix: string | null): string | null;
|
138
153
|
lookupPrefix(namespace: string | null): string | null;
|
139
154
|
normalize(): void;
|
140
|
-
removeChild<
|
141
|
-
replaceChild<
|
142
|
-
readonly
|
143
|
-
readonly
|
144
|
-
readonly
|
145
|
-
readonly
|
146
|
-
readonly
|
147
|
-
readonly
|
148
|
-
readonly
|
149
|
-
readonly
|
150
|
-
readonly
|
151
|
-
readonly
|
152
|
-
readonly
|
153
|
-
readonly
|
154
|
-
readonly
|
155
|
-
readonly
|
156
|
-
readonly
|
157
|
-
readonly
|
158
|
-
readonly
|
159
|
-
readonly
|
155
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
156
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
157
|
+
readonly ELEMENT_NODE: 1;
|
158
|
+
readonly ATTRIBUTE_NODE: 2;
|
159
|
+
readonly TEXT_NODE: 3;
|
160
|
+
readonly CDATA_SECTION_NODE: 4;
|
161
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
162
|
+
readonly ENTITY_NODE: 6;
|
163
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
164
|
+
readonly COMMENT_NODE: 8;
|
165
|
+
readonly DOCUMENT_NODE: 9;
|
166
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
167
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
168
|
+
readonly NOTATION_NODE: 12;
|
169
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
170
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
171
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
172
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
173
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
174
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
160
175
|
dispatchEvent(event: Event): boolean;
|
161
176
|
ariaAtomic: string | null;
|
162
177
|
ariaAutoComplete: string | null;
|
178
|
+
ariaBrailleLabel: string | null;
|
179
|
+
ariaBrailleRoleDescription: string | null;
|
163
180
|
ariaBusy: string | null;
|
164
181
|
ariaChecked: string | null;
|
165
182
|
ariaColCount: string | null;
|
@@ -167,6 +184,7 @@ declare const CDSTearsheet_base: {
|
|
167
184
|
ariaColIndexText: string | null;
|
168
185
|
ariaColSpan: string | null;
|
169
186
|
ariaCurrent: string | null;
|
187
|
+
ariaDescription: string | null;
|
170
188
|
ariaDisabled: string | null;
|
171
189
|
ariaExpanded: string | null;
|
172
190
|
ariaHasPopup: string | null;
|
@@ -198,32 +216,33 @@ declare const CDSTearsheet_base: {
|
|
198
216
|
ariaValueNow: string | null;
|
199
217
|
ariaValueText: string | null;
|
200
218
|
role: string | null;
|
201
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
202
|
-
getAnimations(options?: GetAnimationsOptions
|
203
|
-
after(...nodes: (
|
204
|
-
before(...nodes: (
|
219
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
220
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
221
|
+
after(...nodes: (Node | string)[]): void;
|
222
|
+
before(...nodes: (Node | string)[]): void;
|
205
223
|
remove(): void;
|
206
|
-
replaceWith(...nodes: (
|
207
|
-
innerHTML: string;
|
224
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
208
225
|
readonly nextElementSibling: Element | null;
|
209
226
|
readonly previousElementSibling: Element | null;
|
210
227
|
readonly childElementCount: number;
|
211
228
|
readonly children: HTMLCollection;
|
212
229
|
readonly firstElementChild: Element | null;
|
213
230
|
readonly lastElementChild: Element | null;
|
214
|
-
append(...nodes: (
|
215
|
-
prepend(...nodes: (
|
216
|
-
querySelector<
|
217
|
-
querySelector<
|
218
|
-
querySelector<
|
219
|
-
|
220
|
-
|
221
|
-
querySelectorAll<
|
222
|
-
|
231
|
+
append(...nodes: (Node | string)[]): void;
|
232
|
+
prepend(...nodes: (Node | string)[]): void;
|
233
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
234
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
235
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
236
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
237
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
238
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
239
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
240
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
241
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
242
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
243
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
223
244
|
readonly assignedSlot: HTMLSlotElement | null;
|
224
|
-
|
225
|
-
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
226
|
-
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
245
|
+
readonly attributeStyleMap: StylePropertyMap;
|
227
246
|
readonly style: CSSStyleDeclaration;
|
228
247
|
contentEditable: string;
|
229
248
|
enterKeyHint: string;
|
@@ -236,6 +255,7 @@ declare const CDSTearsheet_base: {
|
|
236
255
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
237
256
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
238
257
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
258
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
239
259
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
240
260
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
241
261
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
@@ -243,8 +263,12 @@ declare const CDSTearsheet_base: {
|
|
243
263
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
244
264
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
245
265
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
266
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
246
267
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
268
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
269
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
247
270
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
271
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
248
272
|
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
249
273
|
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
250
274
|
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
@@ -277,6 +301,7 @@ declare const CDSTearsheet_base: {
|
|
277
301
|
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
278
302
|
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
279
303
|
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
304
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
280
305
|
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
281
306
|
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
282
307
|
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
@@ -288,11 +313,12 @@ declare const CDSTearsheet_base: {
|
|
288
313
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
289
314
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
290
315
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
291
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
316
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
292
317
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
293
318
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
294
319
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
295
320
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
321
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
296
322
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
297
323
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
298
324
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
@@ -322,15 +348,15 @@ declare const CDSTearsheet_base: {
|
|
322
348
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
323
349
|
autofocus: boolean;
|
324
350
|
readonly dataset: DOMStringMap;
|
325
|
-
nonce?: string
|
351
|
+
nonce?: string;
|
326
352
|
tabIndex: number;
|
327
353
|
blur(): void;
|
328
|
-
focus(options?: FocusOptions
|
354
|
+
focus(options?: FocusOptions): void;
|
329
355
|
};
|
330
356
|
_hostListeners: {
|
331
357
|
[listenerName: string]: {
|
332
358
|
[type: string]: {
|
333
|
-
options?: boolean | AddEventListenerOptions
|
359
|
+
options?: boolean | AddEventListenerOptions;
|
334
360
|
};
|
335
361
|
};
|
336
362
|
};
|