@carbon/ibm-products-web-components 0.29.0 → 0.30.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.
Files changed (139) hide show
  1. package/custom-elements.json +637 -24
  2. package/es/components/about-modal/about-modal.scss.js +1 -1
  3. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +6 -1
  4. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +15 -2
  5. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -1
  6. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +1 -1
  7. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +8 -1
  8. package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -1
  9. package/es/components/coachmark/coachmark-body.d.ts +382 -0
  10. package/es/components/coachmark/coachmark-body.js +40 -0
  11. package/es/components/coachmark/coachmark-body.js.map +1 -0
  12. package/es/components/coachmark/coachmark-body.scss.js +13 -0
  13. package/es/components/coachmark/coachmark-body.scss.js.map +1 -0
  14. package/es/components/coachmark/coachmark-context.d.ts +11 -0
  15. package/es/components/coachmark/coachmark-context.js +39 -0
  16. package/es/components/coachmark/coachmark-context.js.map +1 -0
  17. package/es/components/coachmark/coachmark-header.d.ts +392 -0
  18. package/es/components/coachmark/coachmark-header.js +92 -0
  19. package/es/components/coachmark/coachmark-header.js.map +1 -0
  20. package/es/components/coachmark/coachmark-header.scss.js +13 -0
  21. package/es/components/coachmark/coachmark-header.scss.js.map +1 -0
  22. package/es/components/coachmark/coachmark.d.ts +416 -0
  23. package/es/components/coachmark/coachmark.js +165 -0
  24. package/es/components/coachmark/coachmark.js.map +1 -0
  25. package/es/components/coachmark/coachmark.scss.js +13 -0
  26. package/es/components/coachmark/coachmark.scss.js.map +1 -0
  27. package/es/components/coachmark/coachmark.test.d.ts +1 -0
  28. package/es/components/coachmark/coachmark.test.js +168 -0
  29. package/es/components/coachmark/coachmark.test.js.map +1 -0
  30. package/es/components/coachmark/index.d.ts +11 -0
  31. package/es/components/coachmark/index.js +11 -0
  32. package/es/components/coachmark/index.js.map +1 -0
  33. package/es/components/guide-banner/guide-banner-element.d.ts +378 -0
  34. package/es/components/guide-banner/guide-banner-element.js +38 -0
  35. package/es/components/guide-banner/guide-banner-element.js.map +1 -0
  36. package/es/components/guide-banner/guide-banner.d.ts +398 -0
  37. package/es/components/guide-banner/guide-banner.js +151 -0
  38. package/es/components/guide-banner/guide-banner.js.map +1 -0
  39. package/es/components/guide-banner/guide-banner.scss.js +13 -0
  40. package/es/components/guide-banner/guide-banner.scss.js.map +1 -0
  41. package/es/components/guide-banner/guide-banner.test.d.ts +1 -0
  42. package/es/components/guide-banner/guide-banner.test.js +121 -0
  43. package/es/components/guide-banner/guide-banner.test.js.map +1 -0
  44. package/es/components/guide-banner/index.d.ts +10 -0
  45. package/es/components/guide-banner/index.js +10 -0
  46. package/es/components/guide-banner/index.js.map +1 -0
  47. package/es/components/notification-panel/notification-footer.scss.js +1 -1
  48. package/es/components/notification-panel/notification-panel.scss.js +1 -1
  49. package/es/components/notification-panel/notification.scss.js +1 -1
  50. package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
  51. package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
  52. package/es/components/side-panel/side-panel.scss.js +1 -1
  53. package/es/components/tearsheet/tearsheet.scss.js +1 -1
  54. package/es/index.d.ts +5 -1
  55. package/es/index.js +4 -0
  56. package/es/index.js.map +1 -1
  57. package/es/packages/ibm-products-web-components/package.json.js +1 -1
  58. package/es/utilities/makeDraggable/makeDraggable.d.ts +38 -0
  59. package/es/utilities/makeDraggable/makeDraggable.js +136 -0
  60. package/es/utilities/makeDraggable/makeDraggable.js.map +1 -0
  61. package/es-custom/components/about-modal/about-modal.scss.js +1 -1
  62. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +6 -1
  63. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +15 -2
  64. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -1
  65. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +1 -1
  66. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +8 -1
  67. package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -1
  68. package/es-custom/components/coachmark/coachmark-body.d.ts +382 -0
  69. package/es-custom/components/coachmark/coachmark-body.js +40 -0
  70. package/es-custom/components/coachmark/coachmark-body.js.map +1 -0
  71. package/es-custom/components/coachmark/coachmark-body.scss.js +13 -0
  72. package/es-custom/components/coachmark/coachmark-body.scss.js.map +1 -0
  73. package/es-custom/components/coachmark/coachmark-context.d.ts +11 -0
  74. package/es-custom/components/coachmark/coachmark-context.js +39 -0
  75. package/es-custom/components/coachmark/coachmark-context.js.map +1 -0
  76. package/es-custom/components/coachmark/coachmark-header.d.ts +392 -0
  77. package/es-custom/components/coachmark/coachmark-header.js +92 -0
  78. package/es-custom/components/coachmark/coachmark-header.js.map +1 -0
  79. package/es-custom/components/coachmark/coachmark-header.scss.js +13 -0
  80. package/es-custom/components/coachmark/coachmark-header.scss.js.map +1 -0
  81. package/es-custom/components/coachmark/coachmark.d.ts +416 -0
  82. package/es-custom/components/coachmark/coachmark.js +165 -0
  83. package/es-custom/components/coachmark/coachmark.js.map +1 -0
  84. package/es-custom/components/coachmark/coachmark.scss.js +13 -0
  85. package/es-custom/components/coachmark/coachmark.scss.js.map +1 -0
  86. package/es-custom/components/coachmark/coachmark.test.d.ts +1 -0
  87. package/es-custom/components/coachmark/coachmark.test.js +168 -0
  88. package/es-custom/components/coachmark/coachmark.test.js.map +1 -0
  89. package/es-custom/components/coachmark/index.d.ts +11 -0
  90. package/es-custom/components/coachmark/index.js +11 -0
  91. package/es-custom/components/coachmark/index.js.map +1 -0
  92. package/es-custom/components/guide-banner/guide-banner-element.d.ts +378 -0
  93. package/es-custom/components/guide-banner/guide-banner-element.js +38 -0
  94. package/es-custom/components/guide-banner/guide-banner-element.js.map +1 -0
  95. package/es-custom/components/guide-banner/guide-banner.d.ts +398 -0
  96. package/es-custom/components/guide-banner/guide-banner.js +151 -0
  97. package/es-custom/components/guide-banner/guide-banner.js.map +1 -0
  98. package/es-custom/components/guide-banner/guide-banner.scss.js +13 -0
  99. package/es-custom/components/guide-banner/guide-banner.scss.js.map +1 -0
  100. package/es-custom/components/guide-banner/guide-banner.test.d.ts +1 -0
  101. package/es-custom/components/guide-banner/guide-banner.test.js +121 -0
  102. package/es-custom/components/guide-banner/guide-banner.test.js.map +1 -0
  103. package/es-custom/components/guide-banner/index.d.ts +10 -0
  104. package/es-custom/components/guide-banner/index.js +10 -0
  105. package/es-custom/components/guide-banner/index.js.map +1 -0
  106. package/es-custom/components/notification-panel/notification-footer.scss.js +1 -1
  107. package/es-custom/components/notification-panel/notification-panel.scss.js +1 -1
  108. package/es-custom/components/notification-panel/notification.scss.js +1 -1
  109. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
  110. package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
  111. package/es-custom/components/side-panel/side-panel.scss.js +1 -1
  112. package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
  113. package/es-custom/index.d.ts +5 -1
  114. package/es-custom/index.js +4 -0
  115. package/es-custom/index.js.map +1 -1
  116. package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
  117. package/es-custom/utilities/makeDraggable/makeDraggable.d.ts +38 -0
  118. package/es-custom/utilities/makeDraggable/makeDraggable.js +136 -0
  119. package/es-custom/utilities/makeDraggable/makeDraggable.js.map +1 -0
  120. package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +6 -1
  121. package/lib/components/coachmark/coachmark-body.d.ts +382 -0
  122. package/lib/components/coachmark/coachmark-context.d.ts +11 -0
  123. package/lib/components/coachmark/coachmark-header.d.ts +392 -0
  124. package/lib/components/coachmark/coachmark.d.ts +416 -0
  125. package/lib/components/coachmark/coachmark.test.d.ts +1 -0
  126. package/lib/components/coachmark/index.d.ts +11 -0
  127. package/lib/components/guide-banner/guide-banner-element.d.ts +378 -0
  128. package/lib/components/guide-banner/guide-banner.d.ts +398 -0
  129. package/lib/components/guide-banner/guide-banner.test.d.ts +1 -0
  130. package/lib/components/guide-banner/index.d.ts +10 -0
  131. package/lib/index.d.ts +5 -1
  132. package/lib/utilities/makeDraggable/makeDraggable.d.ts +38 -0
  133. package/package.json +8 -8
  134. package/scss/components/coachmark/coachmark-beacon/coachmark-beacon.scss +1 -0
  135. package/scss/components/coachmark/coachmark-body.scss +19 -0
  136. package/scss/components/coachmark/coachmark-header.scss +32 -0
  137. package/scss/components/coachmark/coachmark.scss +30 -0
  138. package/scss/components/guide-banner/guide-banner.scss +30 -0
  139. package/telemetry.yml +14 -3
@@ -0,0 +1,168 @@
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 { describe, beforeEach, vi, it, expect } from 'vitest';
9
+ import { fixture, html } from '@open-wc/testing';
10
+ import './coachmark.js';
11
+ import './coachmark-header.js';
12
+ import './coachmark-body.js';
13
+ import { coachmarkDetailsSignal } from './coachmark-context.js';
14
+ import { prefix, carbonPrefix } from '../../globals/settings.js';
15
+ import iconLoader from '@carbon/web-components/es/globals/internal/icon-loader';
16
+ import Crossroads from '@carbon/icons/es/crossroads/16.js';
17
+
18
+ /**
19
+ * Copyright IBM Corp. 2025
20
+ *
21
+ * This source code is licensed under the Apache-2.0 license found in the
22
+ * LICENSE file in the root directory of this source tree.
23
+ */
24
+ const templateTooltip = (args = {}) => {
25
+ const handleClick = () => {
26
+ var _a;
27
+ (_a = document.querySelector('c4p-coachmark')) === null || _a === void 0 ? void 0 : _a.toggleAttribute('open');
28
+ };
29
+ return html `
30
+ <c4p-coachmark
31
+ .open=${args.open}
32
+ align=${args.align}
33
+ .position=${{ x: 150, y: 100 }}
34
+ >
35
+ <c4p-coachmark-beacon
36
+ label="Show information"
37
+ .expanded=${args.open}
38
+ @c4p-coachmark-beacon-clicked=${handleClick}
39
+ slot="trigger"
40
+ >
41
+ </c4p-coachmark-beacon>
42
+ <c4p-coachmark-header
43
+ class="coachmark-header"
44
+ closeIconDescription="close icon"
45
+ ></c4p-coachmark-header>
46
+ <c4p-coachmark-body class="coachmark-body">
47
+ <h2>Hello World</h2>
48
+ <p>this is a description test</p>
49
+ <cds-custom-button size="sm">Done</cds-custom-button>
50
+ </c4p-coachmark-body>
51
+ </c4p-coachmark>
52
+ `;
53
+ };
54
+ const templateFloating = (args = {}) => {
55
+ const handleClick = () => {
56
+ var _a;
57
+ (_a = document.querySelector('c4p-coachmark')) === null || _a === void 0 ? void 0 : _a.toggleAttribute('open');
58
+ };
59
+ return html `
60
+ <c4p-coachmark
61
+ .open=${args.open}
62
+ align=${args.align}
63
+ ?floating=${args.floating}
64
+ >
65
+ <cds-custom-button
66
+ kind="tertiary"
67
+ slot="trigger"
68
+ class="trigger-btn"
69
+ @click=${handleClick}
70
+ >Show information ${iconLoader(Crossroads, { slot: 'icon' })}
71
+ </cds-custom-button>
72
+ <c4p-coachmark-header
73
+ closeIconDescription="close icon"
74
+ dragIconDescription="drag icon"
75
+ class="coachmark-header"
76
+ ></c4p-coachmark-header>
77
+ <c4p-coachmark-body class="coachmark-body">
78
+ <h2>Hello World</h2>
79
+ <p>this is a description test</p>
80
+ <cds-custom-button size="sm">Done</cds-custom-button>
81
+ </c4p-coachmark-body>
82
+ </c4p-coachmark>
83
+ `;
84
+ };
85
+ describe('c4p-coachmark', function () {
86
+ const mockDetails = {
87
+ open: false,
88
+ floating: false,
89
+ };
90
+ beforeEach(() => {
91
+ coachmarkDetailsSignal.get = vi.fn(() => mockDetails);
92
+ });
93
+ it('applies className to the containing node', async () => {
94
+ const customClass = 'test';
95
+ const el = await fixture(templateTooltip({ align: 'bottom', open: true }));
96
+ el.classList.add(customClass);
97
+ expect(el.getAttribute('class')).to.include(customClass);
98
+ });
99
+ it('should render tooltip variant with beacon and popover(includes header and body)', async () => {
100
+ var _a, _b, _c, _d;
101
+ const el = await fixture(templateTooltip({ align: 'bottom', open: true }));
102
+ //Beacon
103
+ const beacon = el.querySelector('c4p-coachmark-beacon');
104
+ expect(beacon).to.exist;
105
+ expect(beacon === null || beacon === void 0 ? void 0 : beacon.getAttribute('label')).to.equal('Show information');
106
+ // Header
107
+ const header = el === null || el === void 0 ? void 0 : el.querySelector(`${prefix}-coachmark-header`);
108
+ const headerShadow = header.shadowRoot;
109
+ const headerSlot = headerShadow.querySelector('slot[name="header"]');
110
+ expect(headerSlot).to.exist;
111
+ const closeButton = headerShadow.querySelector(`${carbonPrefix}-button`);
112
+ expect(closeButton).to.exist;
113
+ // Popover
114
+ const body = el === null || el === void 0 ? void 0 : el.querySelector(`${prefix}-coachmark-body`);
115
+ const slot = (_a = body.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot');
116
+ expect(slot).to.exist;
117
+ const heading = el.querySelector('h2');
118
+ const paragraph = el.querySelector('p');
119
+ const button = el.querySelector(`${carbonPrefix}-button`);
120
+ expect(heading).to.exist;
121
+ expect((_b = heading === null || heading === void 0 ? void 0 : heading.textContent) === null || _b === void 0 ? void 0 : _b.trim()).to.equal('Hello World');
122
+ expect(paragraph).to.exist;
123
+ expect((_c = paragraph === null || paragraph === void 0 ? void 0 : paragraph.textContent) === null || _c === void 0 ? void 0 : _c.trim()).to.equal('this is a description test');
124
+ expect(button).to.exist;
125
+ expect((_d = button === null || button === void 0 ? void 0 : button.textContent) === null || _d === void 0 ? void 0 : _d.trim()).to.equal('Done');
126
+ });
127
+ it('responds to close button and renders closeIconDescription', async () => {
128
+ const el = (await fixture(templateTooltip({ align: 'bottom', open: true })));
129
+ expect(el === null || el === void 0 ? void 0 : el.open).toBeTruthy();
130
+ const header = el === null || el === void 0 ? void 0 : el.querySelector(`${prefix}-coachmark-header`);
131
+ const headerShadow = header.shadowRoot;
132
+ const headerSlot = headerShadow.querySelector('slot[name="header"]');
133
+ expect(headerSlot).to.exist;
134
+ const closeButton = headerShadow.querySelector(`${carbonPrefix}-button`);
135
+ expect(closeButton).to.exist;
136
+ expect(closeButton.hasAttribute('icondescription')).to.be.true;
137
+ expect(closeButton.getAttribute('icondescription')).to.equal('close icon');
138
+ closeButton === null || closeButton === void 0 ? void 0 : closeButton.click();
139
+ await el.updateComplete;
140
+ expect(coachmarkDetailsSignal.get().open).to.be.false;
141
+ });
142
+ it('responds to position attribute and updates the coachmark’s position accordingly for Tooltip variant.', async () => {
143
+ const el = (await fixture(templateTooltip({ align: 'bottom', open: true })));
144
+ expect(el.style.transform).to.equal('translate(150px, 100px)');
145
+ el.position = { x: 50, y: 20 };
146
+ await el.updateComplete;
147
+ expect(el.style.transform).to.equal('translate(50px, 20px)');
148
+ });
149
+ it('should render floating variant with button and popover(should include Drag icon)', async () => {
150
+ var _a;
151
+ mockDetails.floating = true;
152
+ const el = await fixture(templateFloating({ align: 'bottom', open: true, floating: true }));
153
+ expect(el === null || el === void 0 ? void 0 : el.floating).to.be.true;
154
+ //Button
155
+ const button = el.querySelector('cds-custom-button');
156
+ expect(button).to.exist;
157
+ const contentText = (_a = button === null || button === void 0 ? void 0 : button.textContent) === null || _a === void 0 ? void 0 : _a.trim();
158
+ expect(contentText).to.equal('Show information');
159
+ // Check if drag icon is present in Header
160
+ const header = el === null || el === void 0 ? void 0 : el.querySelector(`${prefix}-coachmark-header`);
161
+ const headerShadow = header.shadowRoot;
162
+ const headerSlot = headerShadow.querySelector('slot[name="header"]');
163
+ expect(headerSlot).to.exist;
164
+ const buttons = headerShadow.querySelectorAll(`${carbonPrefix}-button`);
165
+ expect(buttons[0].getAttribute('icondescription')).to.equal('drag icon');
166
+ });
167
+ });
168
+ //# sourceMappingURL=coachmark.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coachmark.test.js","sources":["../../../src/components/coach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Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import './coachmark';
10
+ import './coachmark-header';
11
+ import './coachmark-body';
@@ -0,0 +1,11 @@
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 './coachmark.js';
9
+ import './coachmark-header.js';
10
+ import './coachmark-body.js';
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1,378 @@
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
+ export declare const blockClass = "c4p--guidebanner__element";
11
+ declare const CDSGuideBannerElement_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
+ autocorrect: boolean;
20
+ dir: string;
21
+ draggable: boolean;
22
+ hidden: boolean;
23
+ inert: boolean;
24
+ innerText: string;
25
+ lang: string;
26
+ readonly offsetHeight: number;
27
+ readonly offsetLeft: number;
28
+ readonly offsetParent: Element | null;
29
+ readonly offsetTop: number;
30
+ readonly offsetWidth: number;
31
+ outerText: string;
32
+ popover: string | null;
33
+ spellcheck: boolean;
34
+ title: string;
35
+ translate: boolean;
36
+ writingSuggestions: string;
37
+ attachInternals(): ElementInternals;
38
+ click(): void;
39
+ hidePopover(): void;
40
+ showPopover(): void;
41
+ togglePopover(options?: boolean): boolean;
42
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
43
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
44
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
45
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
46
+ readonly attributes: NamedNodeMap;
47
+ get classList(): DOMTokenList;
48
+ set classList(value: string): any;
49
+ className: string;
50
+ readonly clientHeight: number;
51
+ readonly clientLeft: number;
52
+ readonly clientTop: number;
53
+ readonly clientWidth: number;
54
+ readonly currentCSSZoom: number;
55
+ id: string;
56
+ innerHTML: string;
57
+ readonly localName: string;
58
+ readonly namespaceURI: string | null;
59
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
60
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
61
+ outerHTML: string;
62
+ readonly ownerDocument: Document;
63
+ get part(): DOMTokenList;
64
+ set part(value: string): any;
65
+ readonly prefix: string | null;
66
+ readonly scrollHeight: number;
67
+ scrollLeft: number;
68
+ scrollTop: number;
69
+ readonly scrollWidth: number;
70
+ readonly shadowRoot: ShadowRoot | null;
71
+ slot: string;
72
+ readonly tagName: string;
73
+ attachShadow(init: ShadowRootInit): ShadowRoot;
74
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
75
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
76
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
77
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
78
+ closest<E extends Element = Element>(selectors: string): E | null;
79
+ computedStyleMap(): StylePropertyMapReadOnly;
80
+ getAttribute(qualifiedName: string): string | null;
81
+ getAttributeNS(namespace: string | null, localName: string): string | null;
82
+ getAttributeNames(): string[];
83
+ getAttributeNode(qualifiedName: string): Attr | null;
84
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
85
+ getBoundingClientRect(): DOMRect;
86
+ getClientRects(): DOMRectList;
87
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
88
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
89
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
90
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
91
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
92
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
93
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
94
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
95
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
96
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
97
+ getHTML(options?: GetHTMLOptions): string;
98
+ hasAttribute(qualifiedName: string): boolean;
99
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
100
+ hasAttributes(): boolean;
101
+ hasPointerCapture(pointerId: number): boolean;
102
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
103
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
104
+ insertAdjacentText(where: InsertPosition, data: string): void;
105
+ matches(selectors: string): boolean;
106
+ releasePointerCapture(pointerId: number): void;
107
+ removeAttribute(qualifiedName: string): void;
108
+ removeAttributeNS(namespace: string | null, localName: string): void;
109
+ removeAttributeNode(attr: Attr): Attr;
110
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
111
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
112
+ scroll(options?: ScrollToOptions): void;
113
+ scroll(x: number, y: number): void;
114
+ scrollBy(options?: ScrollToOptions): void;
115
+ scrollBy(x: number, y: number): void;
116
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
117
+ scrollTo(options?: ScrollToOptions): void;
118
+ scrollTo(x: number, y: number): void;
119
+ setAttribute(qualifiedName: string, value: string): void;
120
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
121
+ setAttributeNode(attr: Attr): Attr | null;
122
+ setAttributeNodeNS(attr: Attr): Attr | null;
123
+ setHTMLUnsafe(html: string): void;
124
+ setPointerCapture(pointerId: number): void;
125
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
126
+ webkitMatchesSelector(selectors: string): boolean;
127
+ get textContent(): string;
128
+ set textContent(value: string | null): any;
129
+ readonly baseURI: string;
130
+ readonly childNodes: NodeListOf<ChildNode>;
131
+ readonly firstChild: ChildNode | null;
132
+ readonly isConnected: boolean;
133
+ readonly lastChild: ChildNode | null;
134
+ readonly nextSibling: ChildNode | null;
135
+ readonly nodeName: string;
136
+ readonly nodeType: number;
137
+ nodeValue: string | null;
138
+ readonly parentElement: HTMLElement | null;
139
+ readonly parentNode: ParentNode | null;
140
+ readonly previousSibling: ChildNode | null;
141
+ appendChild<T_1 extends Node>(node: T_1): T_1;
142
+ cloneNode(subtree?: boolean): Node;
143
+ compareDocumentPosition(other: Node): number;
144
+ contains(other: Node | null): boolean;
145
+ getRootNode(options?: GetRootNodeOptions): Node;
146
+ hasChildNodes(): boolean;
147
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
148
+ isDefaultNamespace(namespace: string | null): boolean;
149
+ isEqualNode(otherNode: Node | null): boolean;
150
+ isSameNode(otherNode: Node | null): boolean;
151
+ lookupNamespaceURI(prefix: string | null): string | null;
152
+ lookupPrefix(namespace: string | null): string | null;
153
+ normalize(): void;
154
+ removeChild<T_1 extends Node>(child: T_1): T_1;
155
+ replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
156
+ readonly ELEMENT_NODE: 1;
157
+ readonly ATTRIBUTE_NODE: 2;
158
+ readonly TEXT_NODE: 3;
159
+ readonly CDATA_SECTION_NODE: 4;
160
+ readonly ENTITY_REFERENCE_NODE: 5;
161
+ readonly ENTITY_NODE: 6;
162
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
163
+ readonly COMMENT_NODE: 8;
164
+ readonly DOCUMENT_NODE: 9;
165
+ readonly DOCUMENT_TYPE_NODE: 10;
166
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
167
+ readonly NOTATION_NODE: 12;
168
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
169
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
170
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
171
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
172
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
173
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
174
+ dispatchEvent(event: Event): boolean;
175
+ ariaActiveDescendantElement: Element | null;
176
+ ariaAtomic: string | null;
177
+ ariaAutoComplete: string | null;
178
+ ariaBrailleLabel: string | null;
179
+ ariaBrailleRoleDescription: string | null;
180
+ ariaBusy: string | null;
181
+ ariaChecked: string | null;
182
+ ariaColCount: string | null;
183
+ ariaColIndex: string | null;
184
+ ariaColIndexText: string | null;
185
+ ariaColSpan: string | null;
186
+ ariaControlsElements: ReadonlyArray<Element> | null;
187
+ ariaCurrent: string | null;
188
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
189
+ ariaDescription: string | null;
190
+ ariaDetailsElements: ReadonlyArray<Element> | null;
191
+ ariaDisabled: string | null;
192
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
193
+ ariaExpanded: string | null;
194
+ ariaFlowToElements: ReadonlyArray<Element> | null;
195
+ ariaHasPopup: string | null;
196
+ ariaHidden: string | null;
197
+ ariaInvalid: string | null;
198
+ ariaKeyShortcuts: string | null;
199
+ ariaLabel: string | null;
200
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
201
+ ariaLevel: string | null;
202
+ ariaLive: string | null;
203
+ ariaModal: string | null;
204
+ ariaMultiLine: string | null;
205
+ ariaMultiSelectable: string | null;
206
+ ariaOrientation: string | null;
207
+ ariaOwnsElements: ReadonlyArray<Element> | null;
208
+ ariaPlaceholder: string | null;
209
+ ariaPosInSet: string | null;
210
+ ariaPressed: string | null;
211
+ ariaReadOnly: string | null;
212
+ ariaRelevant: string | null;
213
+ ariaRequired: string | null;
214
+ ariaRoleDescription: string | null;
215
+ ariaRowCount: string | null;
216
+ ariaRowIndex: string | null;
217
+ ariaRowIndexText: string | null;
218
+ ariaRowSpan: string | null;
219
+ ariaSelected: string | null;
220
+ ariaSetSize: string | null;
221
+ ariaSort: string | null;
222
+ ariaValueMax: string | null;
223
+ ariaValueMin: string | null;
224
+ ariaValueNow: string | null;
225
+ ariaValueText: string | null;
226
+ role: string | null;
227
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
228
+ getAnimations(options?: GetAnimationsOptions): Animation[];
229
+ after(...nodes: (Node | string)[]): void;
230
+ before(...nodes: (Node | string)[]): void;
231
+ remove(): void;
232
+ replaceWith(...nodes: (Node | string)[]): void;
233
+ readonly nextElementSibling: Element | null;
234
+ readonly previousElementSibling: Element | null;
235
+ readonly childElementCount: number;
236
+ readonly children: HTMLCollection;
237
+ readonly firstElementChild: Element | null;
238
+ readonly lastElementChild: Element | null;
239
+ append(...nodes: (Node | string)[]): void;
240
+ prepend(...nodes: (Node | string)[]): void;
241
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
242
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
243
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
244
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
245
+ querySelector<E extends Element = Element>(selectors: string): E | null;
246
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
247
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
248
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
249
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
250
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
251
+ replaceChildren(...nodes: (Node | string)[]): void;
252
+ readonly assignedSlot: HTMLSlotElement | null;
253
+ readonly attributeStyleMap: StylePropertyMap;
254
+ get style(): CSSStyleDeclaration;
255
+ set style(cssText: string): any;
256
+ contentEditable: string;
257
+ enterKeyHint: string;
258
+ inputMode: string;
259
+ readonly isContentEditable: boolean;
260
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
261
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
262
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
263
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
264
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
265
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
266
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
267
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
268
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
269
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
270
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
271
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
274
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
275
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
278
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
280
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
282
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
283
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
284
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
285
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
286
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
287
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
288
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
289
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
290
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
291
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
292
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
293
+ onerror: OnErrorEventHandler;
294
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
295
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
296
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
297
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
300
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
301
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
302
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
305
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
306
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
307
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
308
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
309
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
310
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
311
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
312
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
313
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
314
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
315
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
316
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
318
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
319
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
320
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
321
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
322
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
323
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
325
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
326
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
327
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
328
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
329
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
331
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
334
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
335
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
342
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
345
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
346
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
347
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
348
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
349
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
350
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
351
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
352
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
353
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
354
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
355
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
356
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
357
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
358
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
359
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
360
+ autofocus: boolean;
361
+ readonly dataset: DOMStringMap;
362
+ nonce?: string;
363
+ tabIndex: number;
364
+ blur(): void;
365
+ focus(options?: FocusOptions): void;
366
+ };
367
+ _hostListeners: {
368
+ [listenerName: string]: {
369
+ [type: string]: {
370
+ options?: boolean | AddEventListenerOptions;
371
+ };
372
+ };
373
+ };
374
+ } & typeof LitElement;
375
+ declare class CDSGuideBannerElement extends CDSGuideBannerElement_base {
376
+ render(): import("lit-html").TemplateResult<1>;
377
+ }
378
+ export default CDSGuideBannerElement;
@@ -0,0 +1,38 @@
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 { __decorate } from 'tslib';
9
+ import { LitElement, html } from 'lit';
10
+ import { prefix } from '../../globals/settings.js';
11
+ import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js';
12
+ import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
13
+
14
+ /**
15
+ * @license
16
+ *
17
+ * Copyright IBM Corp. 2025
18
+ *
19
+ * This source code is licensed under the Apache-2.0 license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */
22
+ const blockClass = `${prefix}--guidebanner__element`;
23
+ let CDSGuideBannerElement = class CDSGuideBannerElement extends HostListenerMixin(LitElement) {
24
+ render() {
25
+ return html `
26
+ <div class="${blockClass}">
27
+ <slot></slot>
28
+ </div>
29
+ `;
30
+ }
31
+ };
32
+ CDSGuideBannerElement = __decorate([
33
+ carbonElement(`${prefix}-guide-banner-element`)
34
+ ], CDSGuideBannerElement);
35
+ var CDSGuideBannerElement$1 = CDSGuideBannerElement;
36
+
37
+ export { blockClass, CDSGuideBannerElement$1 as default };
38
+ //# sourceMappingURL=guide-banner-element.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guide-banner-element.js","sources":["../../../src/components/guide-banner/guide-banner-element.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;AAOG;AAOU,MAAA,UAAU,GAAG,CAAG,EAAA,MAAM;AAGnC,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,iBAAiB,CAAC,UAAU,CAAC,CAAA;IAC/D,MAAM,GAAA;AACJ,QAAA,OAAO,IAAI,CAAA;oBACK,UAAU,CAAA;;;KAGzB;;CAEJ;AARK,qBAAqB,GAAA,UAAA,CAAA;AAD1B,IAAAA,aAAa,CAAC,CAAA,EAAG,MAAM,CAAA,qBAAA,CAAuB;AACzC,CAAA,EAAA,qBAAqB,CAQ1B;AAED,8BAAe,qBAAqB;;;;"}