@carbon/ibm-products-web-components 0.10.0 → 0.11.0-rc.1

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.
Files changed (112) hide show
  1. package/custom-elements.json +250 -0
  2. package/es/components/about-modal/about-modal.d.ts +418 -0
  3. package/es/components/about-modal/about-modal.js +143 -0
  4. package/es/components/about-modal/about-modal.js.map +1 -0
  5. package/es/components/about-modal/about-modal.scss.js +13 -0
  6. package/es/components/about-modal/about-modal.scss.js.map +1 -0
  7. package/es/components/about-modal/about-modal.test.d.ts +7 -0
  8. package/es/components/about-modal/about-modal.test.js +87 -0
  9. package/es/components/about-modal/about-modal.test.js.map +1 -0
  10. package/es/components/about-modal/defs.d.ts +8 -0
  11. package/es/components/about-modal/defs.js +8 -0
  12. package/es/components/about-modal/defs.js.map +1 -0
  13. package/es/components/about-modal/index.d.ts +9 -0
  14. package/es/components/about-modal/index.js +9 -0
  15. package/es/components/about-modal/index.js.map +1 -0
  16. package/es/components/side-panel/side-panel.d.ts +87 -61
  17. package/es/components/side-panel/side-panel.js +64 -63
  18. package/es/components/side-panel/side-panel.js.map +1 -1
  19. package/es/components/side-panel/side-panel.scss.js +1 -1
  20. package/es/components/side-panel/side-panel.test.js +2 -3
  21. package/es/components/side-panel/side-panel.test.js.map +1 -1
  22. package/es/components/tearsheet/tearsheet.d.ts +87 -61
  23. package/es/components/tearsheet/tearsheet.js +37 -37
  24. package/es/components/tearsheet/tearsheet.js.map +1 -1
  25. package/es/components/tearsheet/tearsheet.scss.js +1 -1
  26. package/es/components/tearsheet/tearsheet.test.js +2 -3
  27. package/es/components/tearsheet/tearsheet.test.js.map +1 -1
  28. package/es/components/user-avatar/user-avatar.d.ts +92 -61
  29. package/es/components/user-avatar/user-avatar.js +21 -19
  30. package/es/components/user-avatar/user-avatar.js.map +1 -1
  31. package/es/components/user-avatar/user-avatar.scss.js +1 -1
  32. package/es/index.d.ts +1 -0
  33. package/es/index.js +1 -0
  34. package/es/index.js.map +1 -1
  35. package/es/package.json.js +1 -1
  36. package/es-custom/components/about-modal/about-modal.d.ts +418 -0
  37. package/es-custom/components/about-modal/about-modal.js +143 -0
  38. package/es-custom/components/about-modal/about-modal.js.map +1 -0
  39. package/es-custom/components/about-modal/about-modal.scss.js +13 -0
  40. package/es-custom/components/about-modal/about-modal.scss.js.map +1 -0
  41. package/es-custom/components/about-modal/about-modal.test.d.ts +7 -0
  42. package/es-custom/components/about-modal/about-modal.test.js +87 -0
  43. package/es-custom/components/about-modal/about-modal.test.js.map +1 -0
  44. package/es-custom/components/about-modal/defs.d.ts +8 -0
  45. package/es-custom/components/about-modal/defs.js +8 -0
  46. package/es-custom/components/about-modal/defs.js.map +1 -0
  47. package/es-custom/components/about-modal/index.d.ts +9 -0
  48. package/es-custom/components/about-modal/index.js +9 -0
  49. package/es-custom/components/about-modal/index.js.map +1 -0
  50. package/es-custom/components/side-panel/defs.d.ts +39 -0
  51. package/es-custom/components/side-panel/defs.js +51 -0
  52. package/es-custom/components/side-panel/defs.js.map +1 -0
  53. package/es-custom/components/side-panel/index.d.ts +9 -0
  54. package/es-custom/components/side-panel/index.js +9 -0
  55. package/es-custom/components/side-panel/index.js.map +1 -0
  56. package/es-custom/components/side-panel/side-panel.d.ts +546 -0
  57. package/es-custom/components/side-panel/side-panel.js +828 -0
  58. package/es-custom/components/side-panel/side-panel.js.map +1 -0
  59. package/es-custom/components/side-panel/side-panel.scss.js +13 -0
  60. package/es-custom/components/side-panel/side-panel.scss.js.map +1 -0
  61. package/es-custom/components/side-panel/side-panel.test.d.ts +7 -0
  62. package/es-custom/components/side-panel/side-panel.test.js +56 -0
  63. package/es-custom/components/side-panel/side-panel.test.js.map +1 -0
  64. package/es-custom/components/tearsheet/defs.d.ts +26 -0
  65. package/es-custom/components/tearsheet/defs.js +39 -0
  66. package/es-custom/components/tearsheet/defs.js.map +1 -0
  67. package/es-custom/components/tearsheet/index.d.ts +9 -0
  68. package/es-custom/components/tearsheet/index.js +9 -0
  69. package/es-custom/components/tearsheet/index.js.map +1 -0
  70. package/es-custom/components/tearsheet/tearsheet.d.ts +516 -0
  71. package/es-custom/components/tearsheet/tearsheet.js +676 -0
  72. package/es-custom/components/tearsheet/tearsheet.js.map +1 -0
  73. package/es-custom/components/tearsheet/tearsheet.scss.js +13 -0
  74. package/es-custom/components/tearsheet/tearsheet.scss.js.map +1 -0
  75. package/es-custom/components/tearsheet/tearsheet.test.d.ts +7 -0
  76. package/es-custom/components/tearsheet/tearsheet.test.js +121 -0
  77. package/es-custom/components/tearsheet/tearsheet.test.js.map +1 -0
  78. package/es-custom/components/user-avatar/index.d.ts +9 -0
  79. package/es-custom/components/user-avatar/index.js +9 -0
  80. package/es-custom/components/user-avatar/index.js.map +1 -0
  81. package/es-custom/components/user-avatar/user-avatar.d.ts +405 -0
  82. package/es-custom/components/user-avatar/user-avatar.js +151 -0
  83. package/es-custom/components/user-avatar/user-avatar.js.map +1 -0
  84. package/es-custom/components/user-avatar/user-avatar.scss.js +13 -0
  85. package/es-custom/components/user-avatar/user-avatar.scss.js.map +1 -0
  86. package/es-custom/globals/internal/handle.d.ts +18 -0
  87. package/es-custom/globals/internal/handle.js +8 -0
  88. package/es-custom/globals/internal/handle.js.map +1 -0
  89. package/es-custom/globals/internal/storybook-cdn.js +78 -0
  90. package/es-custom/globals/internal/storybook-cdn.js.map +1 -0
  91. package/es-custom/globals/settings.d.ts +15 -0
  92. package/es-custom/globals/settings.js +28 -0
  93. package/es-custom/globals/settings.js.map +1 -0
  94. package/es-custom/index.d.ts +12 -0
  95. package/es-custom/index.js +12 -0
  96. package/es-custom/index.js.map +1 -0
  97. package/es-custom/package.json.js +13 -0
  98. package/es-custom/package.json.js.map +1 -0
  99. package/lib/components/about-modal/about-modal.d.ts +418 -0
  100. package/lib/components/about-modal/about-modal.test.d.ts +7 -0
  101. package/lib/components/about-modal/defs.d.ts +8 -0
  102. package/lib/components/about-modal/defs.js +10 -0
  103. package/lib/components/about-modal/defs.js.map +1 -0
  104. package/lib/components/about-modal/index.d.ts +9 -0
  105. package/lib/components/side-panel/side-panel.d.ts +87 -61
  106. package/lib/components/tearsheet/tearsheet.d.ts +87 -61
  107. package/lib/components/user-avatar/user-avatar.d.ts +92 -61
  108. package/lib/index.d.ts +1 -0
  109. package/package.json +17 -13
  110. package/scss/components/about-modal/about-modal.scss +117 -0
  111. package/scss/components/about-modal/story-styles.scss +34 -0
  112. package/scss/components/user-avatar/user-avatar.scss +17 -0
@@ -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.0";
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":";;;;;;;;;;;;;"}
@@ -0,0 +1,418 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025
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
+ import { LitElement } from 'lit';
10
+ import '@carbon/web-components/es/components/modal/index.js';
11
+ declare const CDSAboutModal_base: {
12
+ new (...args: any[]): {
13
+ _handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
14
+ connectedCallback(): void;
15
+ disconnectedCallback(): void;
16
+ accessKey: string;
17
+ readonly accessKeyLabel: string;
18
+ autocapitalize: string;
19
+ dir: string;
20
+ draggable: boolean;
21
+ hidden: boolean;
22
+ inert: boolean;
23
+ innerText: string;
24
+ lang: string;
25
+ readonly offsetHeight: number;
26
+ readonly offsetLeft: number;
27
+ readonly offsetParent: Element | null;
28
+ readonly offsetTop: number;
29
+ readonly offsetWidth: number;
30
+ outerText: string;
31
+ popover: string | null;
32
+ spellcheck: boolean;
33
+ title: string;
34
+ translate: boolean;
35
+ writingSuggestions: string;
36
+ attachInternals(): ElementInternals;
37
+ click(): void;
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;
45
+ readonly attributes: NamedNodeMap;
46
+ readonly classList: DOMTokenList;
47
+ className: string;
48
+ readonly clientHeight: number;
49
+ readonly clientLeft: number;
50
+ readonly clientTop: number;
51
+ readonly clientWidth: number;
52
+ readonly currentCSSZoom: number;
53
+ id: string;
54
+ innerHTML: string;
55
+ readonly localName: string;
56
+ readonly namespaceURI: string | null;
57
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
58
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
59
+ outerHTML: string;
60
+ readonly ownerDocument: Document;
61
+ readonly part: DOMTokenList;
62
+ readonly prefix: string | null;
63
+ readonly scrollHeight: number;
64
+ scrollLeft: number;
65
+ scrollTop: number;
66
+ readonly scrollWidth: number;
67
+ readonly shadowRoot: ShadowRoot | null;
68
+ slot: string;
69
+ readonly tagName: string;
70
+ attachShadow(init: ShadowRootInit): ShadowRoot;
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;
75
+ closest<E extends Element = Element>(selectors: string): E | null;
76
+ computedStyleMap(): StylePropertyMapReadOnly;
77
+ getAttribute(qualifiedName: string): string | null;
78
+ getAttributeNS(namespace: string | null, localName: string): string | null;
79
+ getAttributeNames(): string[];
80
+ getAttributeNode(qualifiedName: string): Attr | null;
81
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
82
+ getBoundingClientRect(): DOMRect;
83
+ getClientRects(): DOMRectList;
84
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
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]>;
89
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
90
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
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>;
93
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
94
+ getHTML(options?: GetHTMLOptions): string;
95
+ hasAttribute(qualifiedName: string): boolean;
96
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
97
+ hasAttributes(): boolean;
98
+ hasPointerCapture(pointerId: number): boolean;
99
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
100
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
101
+ insertAdjacentText(where: InsertPosition, data: string): void;
102
+ matches(selectors: string): boolean;
103
+ releasePointerCapture(pointerId: number): void;
104
+ removeAttribute(qualifiedName: string): void;
105
+ removeAttributeNS(namespace: string | null, localName: string): void;
106
+ removeAttributeNode(attr: Attr): Attr;
107
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
108
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
109
+ scroll(options?: ScrollToOptions): void;
110
+ scroll(x: number, y: number): void;
111
+ scrollBy(options?: ScrollToOptions): void;
112
+ scrollBy(x: number, y: number): void;
113
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
114
+ scrollTo(options?: ScrollToOptions): void;
115
+ scrollTo(x: number, y: number): void;
116
+ setAttribute(qualifiedName: string, value: string): void;
117
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
118
+ setAttributeNode(attr: Attr): Attr | null;
119
+ setAttributeNodeNS(attr: Attr): Attr | null;
120
+ setHTMLUnsafe(html: string): void;
121
+ setPointerCapture(pointerId: number): void;
122
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
123
+ webkitMatchesSelector(selectors: string): boolean;
124
+ readonly baseURI: string;
125
+ readonly childNodes: NodeListOf<ChildNode>;
126
+ readonly firstChild: ChildNode | null;
127
+ readonly isConnected: boolean;
128
+ readonly lastChild: ChildNode | null;
129
+ readonly nextSibling: ChildNode | null;
130
+ readonly nodeName: string;
131
+ readonly nodeType: number;
132
+ nodeValue: string | null;
133
+ readonly parentElement: HTMLElement | null;
134
+ readonly parentNode: ParentNode | null;
135
+ readonly previousSibling: ChildNode | null;
136
+ textContent: string | null;
137
+ appendChild<T_1 extends Node>(node: T_1): T_1;
138
+ cloneNode(deep?: boolean): Node;
139
+ compareDocumentPosition(other: Node): number;
140
+ contains(other: Node | null): boolean;
141
+ getRootNode(options?: GetRootNodeOptions): Node;
142
+ hasChildNodes(): boolean;
143
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
144
+ isDefaultNamespace(namespace: string | null): boolean;
145
+ isEqualNode(otherNode: Node | null): boolean;
146
+ isSameNode(otherNode: Node | null): boolean;
147
+ lookupNamespaceURI(prefix: string | null): string | null;
148
+ lookupPrefix(namespace: string | null): string | null;
149
+ normalize(): void;
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;
170
+ dispatchEvent(event: Event): boolean;
171
+ ariaAtomic: string | null;
172
+ ariaAutoComplete: string | null;
173
+ ariaBrailleLabel: string | null;
174
+ ariaBrailleRoleDescription: string | null;
175
+ ariaBusy: string | null;
176
+ ariaChecked: string | null;
177
+ ariaColCount: string | null;
178
+ ariaColIndex: string | null;
179
+ ariaColIndexText: string | null;
180
+ ariaColSpan: string | null;
181
+ ariaCurrent: string | null;
182
+ ariaDescription: string | null;
183
+ ariaDisabled: string | null;
184
+ ariaExpanded: string | null;
185
+ ariaHasPopup: string | null;
186
+ ariaHidden: string | null;
187
+ ariaInvalid: string | null;
188
+ ariaKeyShortcuts: string | null;
189
+ ariaLabel: string | null;
190
+ ariaLevel: string | null;
191
+ ariaLive: string | null;
192
+ ariaModal: string | null;
193
+ ariaMultiLine: string | null;
194
+ ariaMultiSelectable: string | null;
195
+ ariaOrientation: string | null;
196
+ ariaPlaceholder: string | null;
197
+ ariaPosInSet: string | null;
198
+ ariaPressed: string | null;
199
+ ariaReadOnly: string | null;
200
+ ariaRequired: string | null;
201
+ ariaRoleDescription: string | null;
202
+ ariaRowCount: string | null;
203
+ ariaRowIndex: string | null;
204
+ ariaRowIndexText: string | null;
205
+ ariaRowSpan: string | null;
206
+ ariaSelected: string | null;
207
+ ariaSetSize: string | null;
208
+ ariaSort: string | null;
209
+ ariaValueMax: string | null;
210
+ ariaValueMin: string | null;
211
+ ariaValueNow: string | null;
212
+ ariaValueText: string | null;
213
+ role: string | null;
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;
218
+ remove(): void;
219
+ replaceWith(...nodes: (Node | string)[]): void;
220
+ readonly nextElementSibling: Element | null;
221
+ readonly previousElementSibling: Element | null;
222
+ readonly childElementCount: number;
223
+ readonly children: HTMLCollection;
224
+ readonly firstElementChild: Element | null;
225
+ readonly lastElementChild: Element | null;
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;
239
+ readonly assignedSlot: HTMLSlotElement | null;
240
+ readonly attributeStyleMap: StylePropertyMap;
241
+ readonly style: CSSStyleDeclaration;
242
+ contentEditable: string;
243
+ enterKeyHint: string;
244
+ inputMode: string;
245
+ readonly isContentEditable: boolean;
246
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
247
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
248
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
249
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
250
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
251
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
252
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
253
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
254
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
255
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
256
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
257
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
258
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
259
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
260
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
261
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
262
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
263
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
264
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
265
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
266
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
267
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
268
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
269
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
270
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
271
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
272
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
273
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
274
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
275
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ onerror: OnErrorEventHandler;
279
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
280
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
281
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
282
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
285
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
286
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
287
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
288
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
289
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
290
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
291
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
292
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
293
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
294
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
295
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
296
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
297
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
298
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
299
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
300
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
304
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
305
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
306
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
307
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
308
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
309
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
310
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
311
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
312
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
313
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
314
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
315
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
316
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
318
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
319
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
320
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
324
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
325
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
326
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
327
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
329
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
330
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
331
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
332
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
333
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
334
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
335
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
336
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
337
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
344
+ autofocus: boolean;
345
+ readonly dataset: DOMStringMap;
346
+ nonce?: string;
347
+ tabIndex: number;
348
+ blur(): void;
349
+ focus(options?: FocusOptions): void;
350
+ };
351
+ _hostListeners: {
352
+ [listenerName: string]: {
353
+ [type: string]: {
354
+ options?: boolean | AddEventListenerOptions;
355
+ };
356
+ };
357
+ };
358
+ } & typeof LitElement;
359
+ /**
360
+ * About Modal.
361
+ *
362
+ * @element c4p-about-modal
363
+ * @csspart dialog The dialog.
364
+ * @fires c4p-about-modal-beingclosed
365
+ * The custom event fired before this about modal is being closed upon a user gesture.
366
+ * Cancellation of this event stops the user-initiated action of closing this about modal.
367
+ * @fires c4p-about-modal-closed - The custom event fired after this about modal is closed upon a user gesture.
368
+ */
369
+ declare class CDSAboutModal extends CDSAboutModal_base {
370
+ /**
371
+ * Determines if About Modal is open or not.
372
+ */
373
+ open: boolean;
374
+ /**
375
+ * Determines if About Modal is open or not.
376
+ */
377
+ closeIconDescription: string;
378
+ /**
379
+ * Determines if About Modal is open or not.
380
+ */
381
+ copyrightText: any;
382
+ /**
383
+ * A visual symbol used to represent the product.
384
+ */
385
+ logo: any;
386
+ /**
387
+ * Text that provides information on the version number of your product.
388
+ */
389
+ version: any;
390
+ /**
391
+ * Header text that provides the product name. The IBM Services logo consists of two discrete, but required, elements: the iconic IBM 8-bar logo represented alongside the IBM Services logotype. Please follow these guidelines to ensure proper execution.
392
+ */
393
+ title: any;
394
+ /**
395
+ * If you are legally required to display logos of technologies used to build your product you can provide this in the additionalInfo. Additional information will be displayed in the footer.
396
+ */
397
+ additionalInfo: any;
398
+ /**
399
+ * Subhead text providing any relevant product disclaimers including legal information (optional)
400
+ */
401
+ content: any;
402
+ /**
403
+ * An array of Carbon `Link` component if there are additional information to call out within the card. The about modal should be used to display the product information and not where users go to find help (optional)
404
+ */
405
+ links: any;
406
+ /**
407
+ * To check if the modal body is overflowing or not.
408
+ */
409
+ private isOverflowing;
410
+ private container;
411
+ firstUpdated(): void;
412
+ updated(): void;
413
+ render(): import("lit-html").TemplateResult<1>;
414
+ private _handleClose;
415
+ private _checkOverflow;
416
+ static styles: any;
417
+ }
418
+ export default CDSAboutModal;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright IBM Corp. 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
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025
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
+ */
@@ -0,0 +1,10 @@
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
+ //# sourceMappingURL=defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025
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
+ import './about-modal';