@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
@@ -0,0 +1,78 @@
|
|
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
|
+
import packageJson from '../../package.json.js';
|
9
|
+
|
10
|
+
/**
|
11
|
+
* @license
|
12
|
+
*
|
13
|
+
* Copyright IBM Corp. 2021, 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
|
+
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
/**
|
24
|
+
* Renders the component(s) script tag content and returns back the string
|
25
|
+
*
|
26
|
+
* @param {Array} components array of component names
|
27
|
+
* @param {string} tag tag folder
|
28
|
+
*/
|
29
|
+
function _renderScript(components, tag) {
|
30
|
+
let scripts = '';
|
31
|
+
components.forEach((component) => {
|
32
|
+
scripts += `<script type="module" src="https://1.www.s81c.com/common/carbon/web-components/${tag}/${component}.min.js"></script>\n`;
|
33
|
+
});
|
34
|
+
return scripts;
|
35
|
+
}
|
36
|
+
|
37
|
+
/**
|
38
|
+
* This is the markdown block for JS via CDN
|
39
|
+
*
|
40
|
+
* @param {Array} components array of components to render
|
41
|
+
* @param components.components components to render
|
42
|
+
*/
|
43
|
+
const cdnJs = ({ components }) => {
|
44
|
+
return `
|
45
|
+
### JS (via CDN)
|
46
|
+
|
47
|
+
> NOTE: Only one version of artifacts should be used. Mixing versions will cause rendering issues.
|
48
|
+
|
49
|
+
\`\`\`html
|
50
|
+
// SPECIFIC VERSION (available starting v2.0.0)
|
51
|
+
${_renderScript(components, `version/v${packageJson.version}`)}
|
52
|
+
\`\`\`
|
53
|
+
|
54
|
+
#### Right-to-left (RTL) versions
|
55
|
+
|
56
|
+
\`\`\`html
|
57
|
+
// SPECIFIC VERSION (available starting v2.0.0)
|
58
|
+
${_renderScript(components, `version/v${packageJson.version}`)}
|
59
|
+
\`\`\`
|
60
|
+
`;
|
61
|
+
};
|
62
|
+
|
63
|
+
/**
|
64
|
+
* This is the markdown block for CSS via CDN
|
65
|
+
*/
|
66
|
+
const cdnCss = () => {
|
67
|
+
return `
|
68
|
+
### Carbon CDN style helpers (optional)
|
69
|
+
|
70
|
+
There are optional CDN artifacts available that can assist with global Carbon
|
71
|
+
styles in lieu of including into your specific application bundle.
|
72
|
+
|
73
|
+
[Click here to learn more](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/docs/carbon-cdn-style-helpers.md)\n\n
|
74
|
+
`;
|
75
|
+
};
|
76
|
+
|
77
|
+
export { cdnCss, cdnJs };
|
78
|
+
//# sourceMappingURL=storybook-cdn.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storybook-cdn.js","sources":["../../../src/globals/internal/storybook-cdn.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2021, 2025\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport packageJson from '../../../package.json';\n\n/**\n *\n */\n/**\n * Renders the component(s) script tag content and returns back the string\n *\n * @param {Array} components array of component names\n * @param {string} tag tag folder\n */\nfunction _renderScript(components, tag) {\n let scripts = '';\n components.forEach((component) => {\n scripts += `<script type=\"module\" src=\"https://1.www.s81c.com/common/carbon/web-components/${tag}/${component}.min.js\"></script>\\n`;\n });\n return scripts;\n}\n\n/**\n * This is the markdown block for JS via CDN\n *\n * @param {Array} components array of components to render\n * @param components.components components to render\n */\nexport const cdnJs = ({ components }) => {\n return `\n### JS (via CDN)\n\n > NOTE: Only one version of artifacts should be used. Mixing versions will cause rendering issues.\n\n \\`\\`\\`html\n // SPECIFIC VERSION (available starting v2.0.0)\n ${_renderScript(components, `version/v${packageJson.version}`)}\n \\`\\`\\`\n\n #### Right-to-left (RTL) versions\n\n \\`\\`\\`html\n // SPECIFIC VERSION (available starting v2.0.0)\n ${_renderScript(components, `version/v${packageJson.version}`)}\n \\`\\`\\`\n `;\n};\n\n/**\n * This is the markdown block for CSS via CDN\n */\nexport const cdnCss = () => {\n return `\n### Carbon CDN style helpers (optional)\n\nThere are optional CDN artifacts available that can assist with global Carbon\nstyles in lieu of including into your specific application bundle.\n\n[Click here to learn more](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/web-components/docs/carbon-cdn-style-helpers.md)\\n\\n\n `;\n};\n"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,aAAa,CAAC,UAAU,EAAE,GAAG,EAAE;AACxC,EAAE,IAAI,OAAO,GAAG,EAAE;AAClB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,KAAK;AACpC,IAAI,OAAO,IAAI,CAAC,+EAA+E,EAAE,GAAG,CAAC,CAAC,EAAE,SAAS,CAAC,oBAAoB,CAAC;AACvI,GAAG,CAAC;AACJ,EAAE,OAAO,OAAO;AAChB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,KAAK,GAAG,CAAC,EAAE,UAAU,EAAE,KAAK;AACzC,EAAE,OAAO;AACT;;AAEA;;AAEA;AACA;AACA,CAAC,EAAE,aAAa,CAAC,UAAU,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D;;AAEA;;AAEA;AACA;AACA,CAAC,EAAE,aAAa,CAAC,UAAU,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D;AACA,GAAG,CAAC;AACJ;;AAEA;AACA;AACA;AACY,MAAC,MAAM,GAAG,MAAM;AAC5B,EAAE,OAAO;AACT;;AAEA;AACA;;AAEA;AACA,EAAE,CAAC;AACH;;;;"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
*
|
3
|
+
* Copyright IBM Corp. 2024, 2024
|
4
|
+
*
|
5
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
7
|
+
*/
|
8
|
+
declare const prefix = "c4p";
|
9
|
+
declare const carbonPrefix = "cds-custom";
|
10
|
+
/**
|
11
|
+
* A selector selecting tabbable nodes.
|
12
|
+
* Borrowed from `carbon-angular`. tabbable === focusable.
|
13
|
+
*/
|
14
|
+
declare const selectorTabbable = "\n c4p-side-nav-link,\n c4p-side-nav-menu,\n c4p-side-nav-menu-item\n";
|
15
|
+
export { prefix, carbonPrefix, selectorTabbable };
|
@@ -0,0 +1,28 @@
|
|
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
|
+
/**
|
9
|
+
*
|
10
|
+
* Copyright IBM Corp. 2024, 2024
|
11
|
+
*
|
12
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
14
|
+
*/
|
15
|
+
const prefix = 'c4p';
|
16
|
+
const carbonPrefix = 'cds-custom';
|
17
|
+
/**
|
18
|
+
* A selector selecting tabbable nodes.
|
19
|
+
* Borrowed from `carbon-angular`. tabbable === focusable.
|
20
|
+
*/
|
21
|
+
const selectorTabbable = `
|
22
|
+
${prefix}-side-nav-link,
|
23
|
+
${prefix}-side-nav-menu,
|
24
|
+
${prefix}-side-nav-menu-item
|
25
|
+
`;
|
26
|
+
|
27
|
+
export { carbonPrefix, prefix, selectorTabbable };
|
28
|
+
//# sourceMappingURL=settings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.js","sources":["../../src/globals/settings.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;;;;AAMG;AAEG,MAAA,MAAM,GAAG;AACT,MAAA,YAAY,GAAG;AAErB;;;AAGG;AACH,MAAM,gBAAgB,GAAG;IACrB,MAAM,CAAA;IACN,MAAM,CAAA;IACN,MAAM,CAAA;;;;;"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
*
|
4
|
+
* Copyright IBM Corp. 2024, 2024
|
5
|
+
*
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
8
|
+
*/
|
9
|
+
export { default as CDSSidePanel } from './components/side-panel/side-panel';
|
10
|
+
export { default as CDSTearsheet } from './components/tearsheet/tearsheet';
|
11
|
+
export { default as CDSAboutModal } from './components/about-modal/about-modal';
|
12
|
+
export { default as CDSUseravatar } from './components/user-avatar/user-avatar';
|
@@ -0,0 +1,12 @@
|
|
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
|
+
export { default as CDSSidePanel } from './components/side-panel/side-panel.js';
|
9
|
+
export { default as CDSTearsheet } from './components/tearsheet/tearsheet.js';
|
10
|
+
export { default as CDSAboutModal } from './components/about-modal/about-modal.js';
|
11
|
+
export { default as CDSUseravatar } from './components/user-avatar/user-avatar.js';
|
12
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
@@ -0,0 +1,13 @@
|
|
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
|
+
var version = "0.11.0-rc.1";
|
9
|
+
var packageJson = {
|
10
|
+
version: version};
|
11
|
+
|
12
|
+
export { packageJson as default, version };
|
13
|
+
//# sourceMappingURL=package.json.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"package.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
@@ -28,15 +28,20 @@ declare const CDSAboutModal_base: {
|
|
28
28
|
readonly offsetTop: number;
|
29
29
|
readonly offsetWidth: number;
|
30
30
|
outerText: string;
|
31
|
+
popover: string | null;
|
31
32
|
spellcheck: boolean;
|
32
33
|
title: string;
|
33
34
|
translate: boolean;
|
35
|
+
writingSuggestions: string;
|
34
36
|
attachInternals(): ElementInternals;
|
35
37
|
click(): void;
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
38
|
+
hidePopover(): void;
|
39
|
+
showPopover(): void;
|
40
|
+
togglePopover(force?: boolean): boolean;
|
41
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
42
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
43
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
44
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
40
45
|
readonly attributes: NamedNodeMap;
|
41
46
|
readonly classList: DOMTokenList;
|
42
47
|
className: string;
|
@@ -44,7 +49,9 @@ declare const CDSAboutModal_base: {
|
|
44
49
|
readonly clientLeft: number;
|
45
50
|
readonly clientTop: number;
|
46
51
|
readonly clientWidth: number;
|
52
|
+
readonly currentCSSZoom: number;
|
47
53
|
id: string;
|
54
|
+
innerHTML: string;
|
48
55
|
readonly localName: string;
|
49
56
|
readonly namespaceURI: string | null;
|
50
57
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
@@ -61,9 +68,12 @@ declare const CDSAboutModal_base: {
|
|
61
68
|
slot: string;
|
62
69
|
readonly tagName: string;
|
63
70
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
64
|
-
|
65
|
-
closest<
|
71
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
72
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
73
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
74
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
66
75
|
closest<E extends Element = Element>(selectors: string): E | null;
|
76
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
67
77
|
getAttribute(qualifiedName: string): string | null;
|
68
78
|
getAttributeNS(namespace: string | null, localName: string): string | null;
|
69
79
|
getAttributeNames(): string[];
|
@@ -72,39 +82,44 @@ declare const CDSAboutModal_base: {
|
|
72
82
|
getBoundingClientRect(): DOMRect;
|
73
83
|
getClientRects(): DOMRectList;
|
74
84
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
75
|
-
getElementsByTagName<
|
76
|
-
getElementsByTagName<
|
85
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
86
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
87
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
88
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
77
89
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
78
90
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
79
91
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
92
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
80
93
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
94
|
+
getHTML(options?: GetHTMLOptions): string;
|
81
95
|
hasAttribute(qualifiedName: string): boolean;
|
82
96
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
83
97
|
hasAttributes(): boolean;
|
84
98
|
hasPointerCapture(pointerId: number): boolean;
|
85
99
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
86
|
-
insertAdjacentHTML(position: InsertPosition,
|
100
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
87
101
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
88
102
|
matches(selectors: string): boolean;
|
89
103
|
releasePointerCapture(pointerId: number): void;
|
90
104
|
removeAttribute(qualifiedName: string): void;
|
91
105
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
92
106
|
removeAttributeNode(attr: Attr): Attr;
|
93
|
-
requestFullscreen(options?: FullscreenOptions
|
94
|
-
requestPointerLock(): void
|
95
|
-
scroll(options?: ScrollToOptions
|
107
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
108
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
109
|
+
scroll(options?: ScrollToOptions): void;
|
96
110
|
scroll(x: number, y: number): void;
|
97
|
-
scrollBy(options?: ScrollToOptions
|
111
|
+
scrollBy(options?: ScrollToOptions): void;
|
98
112
|
scrollBy(x: number, y: number): void;
|
99
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
100
|
-
scrollTo(options?: ScrollToOptions
|
113
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
114
|
+
scrollTo(options?: ScrollToOptions): void;
|
101
115
|
scrollTo(x: number, y: number): void;
|
102
116
|
setAttribute(qualifiedName: string, value: string): void;
|
103
117
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
104
118
|
setAttributeNode(attr: Attr): Attr | null;
|
105
119
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
120
|
+
setHTMLUnsafe(html: string): void;
|
106
121
|
setPointerCapture(pointerId: number): void;
|
107
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
122
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
108
123
|
webkitMatchesSelector(selectors: string): boolean;
|
109
124
|
readonly baseURI: string;
|
110
125
|
readonly childNodes: NodeListOf<ChildNode>;
|
@@ -120,41 +135,43 @@ declare const CDSAboutModal_base: {
|
|
120
135
|
readonly previousSibling: ChildNode | null;
|
121
136
|
textContent: string | null;
|
122
137
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
123
|
-
cloneNode(deep?: boolean
|
138
|
+
cloneNode(deep?: boolean): Node;
|
124
139
|
compareDocumentPosition(other: Node): number;
|
125
140
|
contains(other: Node | null): boolean;
|
126
|
-
getRootNode(options?: GetRootNodeOptions
|
141
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
127
142
|
hasChildNodes(): boolean;
|
128
|
-
insertBefore<
|
143
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
129
144
|
isDefaultNamespace(namespace: string | null): boolean;
|
130
145
|
isEqualNode(otherNode: Node | null): boolean;
|
131
146
|
isSameNode(otherNode: Node | null): boolean;
|
132
147
|
lookupNamespaceURI(prefix: string | null): string | null;
|
133
148
|
lookupPrefix(namespace: string | null): string | null;
|
134
149
|
normalize(): void;
|
135
|
-
removeChild<
|
136
|
-
replaceChild<
|
137
|
-
readonly
|
138
|
-
readonly
|
139
|
-
readonly
|
140
|
-
readonly
|
141
|
-
readonly
|
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
|
150
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
151
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
152
|
+
readonly ELEMENT_NODE: 1;
|
153
|
+
readonly ATTRIBUTE_NODE: 2;
|
154
|
+
readonly TEXT_NODE: 3;
|
155
|
+
readonly CDATA_SECTION_NODE: 4;
|
156
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
157
|
+
readonly ENTITY_NODE: 6;
|
158
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
159
|
+
readonly COMMENT_NODE: 8;
|
160
|
+
readonly DOCUMENT_NODE: 9;
|
161
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
162
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
163
|
+
readonly NOTATION_NODE: 12;
|
164
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
165
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
166
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
167
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
168
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
169
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
155
170
|
dispatchEvent(event: Event): boolean;
|
156
171
|
ariaAtomic: string | null;
|
157
172
|
ariaAutoComplete: string | null;
|
173
|
+
ariaBrailleLabel: string | null;
|
174
|
+
ariaBrailleRoleDescription: string | null;
|
158
175
|
ariaBusy: string | null;
|
159
176
|
ariaChecked: string | null;
|
160
177
|
ariaColCount: string | null;
|
@@ -162,6 +179,7 @@ declare const CDSAboutModal_base: {
|
|
162
179
|
ariaColIndexText: string | null;
|
163
180
|
ariaColSpan: string | null;
|
164
181
|
ariaCurrent: string | null;
|
182
|
+
ariaDescription: string | null;
|
165
183
|
ariaDisabled: string | null;
|
166
184
|
ariaExpanded: string | null;
|
167
185
|
ariaHasPopup: string | null;
|
@@ -193,32 +211,33 @@ declare const CDSAboutModal_base: {
|
|
193
211
|
ariaValueNow: string | null;
|
194
212
|
ariaValueText: string | null;
|
195
213
|
role: string | null;
|
196
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
197
|
-
getAnimations(options?: GetAnimationsOptions
|
198
|
-
after(...nodes: (
|
199
|
-
before(...nodes: (
|
214
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
215
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
216
|
+
after(...nodes: (Node | string)[]): void;
|
217
|
+
before(...nodes: (Node | string)[]): void;
|
200
218
|
remove(): void;
|
201
|
-
replaceWith(...nodes: (
|
202
|
-
innerHTML: string;
|
219
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
203
220
|
readonly nextElementSibling: Element | null;
|
204
221
|
readonly previousElementSibling: Element | null;
|
205
222
|
readonly childElementCount: number;
|
206
223
|
readonly children: HTMLCollection;
|
207
224
|
readonly firstElementChild: Element | null;
|
208
225
|
readonly lastElementChild: Element | null;
|
209
|
-
append(...nodes: (
|
210
|
-
prepend(...nodes: (
|
211
|
-
querySelector<
|
212
|
-
querySelector<
|
213
|
-
querySelector<
|
214
|
-
|
215
|
-
|
216
|
-
querySelectorAll<
|
217
|
-
|
226
|
+
append(...nodes: (Node | string)[]): void;
|
227
|
+
prepend(...nodes: (Node | string)[]): void;
|
228
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
229
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
230
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
231
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
232
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
233
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
234
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
235
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
236
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
237
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
238
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
218
239
|
readonly assignedSlot: HTMLSlotElement | null;
|
219
|
-
|
220
|
-
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
221
|
-
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
240
|
+
readonly attributeStyleMap: StylePropertyMap;
|
222
241
|
readonly style: CSSStyleDeclaration;
|
223
242
|
contentEditable: string;
|
224
243
|
enterKeyHint: string;
|
@@ -231,6 +250,7 @@ declare const CDSAboutModal_base: {
|
|
231
250
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
232
251
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
233
252
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
253
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
234
254
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
235
255
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
236
256
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
@@ -238,8 +258,12 @@ declare const CDSAboutModal_base: {
|
|
238
258
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
239
259
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
240
260
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
261
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
241
262
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
263
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
264
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
242
265
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
266
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
243
267
|
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
244
268
|
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
245
269
|
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
@@ -272,6 +296,7 @@ declare const CDSAboutModal_base: {
|
|
272
296
|
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
273
297
|
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
274
298
|
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
299
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
275
300
|
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
276
301
|
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
277
302
|
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
@@ -283,11 +308,12 @@ declare const CDSAboutModal_base: {
|
|
283
308
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
284
309
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
285
310
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
286
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
311
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
287
312
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
288
313
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
289
314
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
290
315
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
316
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
291
317
|
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
292
318
|
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
293
319
|
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
@@ -317,15 +343,15 @@ declare const CDSAboutModal_base: {
|
|
317
343
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
318
344
|
autofocus: boolean;
|
319
345
|
readonly dataset: DOMStringMap;
|
320
|
-
nonce?: string
|
346
|
+
nonce?: string;
|
321
347
|
tabIndex: number;
|
322
348
|
blur(): void;
|
323
|
-
focus(options?: FocusOptions
|
349
|
+
focus(options?: FocusOptions): void;
|
324
350
|
};
|
325
351
|
_hostListeners: {
|
326
352
|
[listenerName: string]: {
|
327
353
|
[type: string]: {
|
328
|
-
options?: boolean | AddEventListenerOptions
|
354
|
+
options?: boolean | AddEventListenerOptions;
|
329
355
|
};
|
330
356
|
};
|
331
357
|
};
|