@carbon/ibm-products-web-components 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +109 -0
- package/es/components/checklist/checklist-item.d.ts +1 -0
- package/es/components/checklist/checklist-item.js +8 -2
- package/es/components/checklist/checklist-item.js.map +1 -1
- package/es/components/checklist/checklist.d.ts +2 -0
- package/es/components/checklist/checklist.js +15 -3
- package/es/components/checklist/checklist.js.map +1 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +397 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +126 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +13 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +9 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +70 -0
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/defs.d.ts +14 -0
- package/es/components/coachmark/coachmark-beacon/defs.js +25 -0
- package/es/components/coachmark/coachmark-beacon/defs.js.map +1 -0
- package/es/components/coachmark/coachmark-beacon/index.d.ts +9 -0
- package/es/components/coachmark/coachmark-beacon/index.js +9 -0
- package/es/components/coachmark/coachmark-beacon/index.js.map +1 -0
- package/es/components/page-header/page-header-tabs.js +1 -1
- package/es/components/page-header/page-header.scss.js +1 -1
- package/es/components/side-panel/side-panel.scss.js +1 -1
- package/es/packages/ibm-products-web-components/package.json.js +1 -1
- package/es-custom/components/checklist/checklist-item.d.ts +1 -0
- package/es-custom/components/checklist/checklist-item.js +8 -2
- package/es-custom/components/checklist/checklist-item.js.map +1 -1
- package/es-custom/components/checklist/checklist.d.ts +2 -0
- package/es-custom/components/checklist/checklist.js +15 -3
- package/es-custom/components/checklist/checklist.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +397 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +126 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +13 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +9 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +70 -0
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.d.ts +14 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.js +25 -0
- package/es-custom/components/coachmark/coachmark-beacon/defs.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-beacon/index.d.ts +9 -0
- package/es-custom/components/coachmark/coachmark-beacon/index.js +9 -0
- package/es-custom/components/coachmark/coachmark-beacon/index.js.map +1 -0
- package/es-custom/components/page-header/page-header-tabs.js +1 -1
- package/es-custom/components/page-header/page-header.scss.js +1 -1
- package/es-custom/components/side-panel/side-panel.scss.js +1 -1
- package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
- package/lib/components/checklist/checklist-item.d.ts +1 -0
- package/lib/components/checklist/checklist.d.ts +2 -0
- package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +397 -0
- package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.test.d.ts +9 -0
- package/lib/components/coachmark/coachmark-beacon/defs.d.ts +14 -0
- package/lib/components/coachmark/coachmark-beacon/defs.js +25 -0
- package/lib/components/coachmark/coachmark-beacon/defs.js.map +1 -0
- package/lib/components/coachmark/coachmark-beacon/index.d.ts +9 -0
- package/package.json +8 -8
- package/scss/components/coachmark/coachmark-beacon/coachmark-beacon.scss +90 -0
- package/scss/components/page-header/page-header.scss +3 -1
- package/telemetry.yml +2 -0
|
@@ -0,0 +1,397 @@
|
|
|
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/button/button.js';
|
|
11
|
+
import { BEACON_KIND } from './defs';
|
|
12
|
+
declare const CDSCoachmarkBeacon_base: {
|
|
13
|
+
new (...args: any[]): {
|
|
14
|
+
_handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
accessKey: string;
|
|
18
|
+
readonly accessKeyLabel: string;
|
|
19
|
+
autocapitalize: string;
|
|
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(force?: 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
|
+
readonly classList: DOMTokenList;
|
|
48
|
+
className: string;
|
|
49
|
+
readonly clientHeight: number;
|
|
50
|
+
readonly clientLeft: number;
|
|
51
|
+
readonly clientTop: number;
|
|
52
|
+
readonly clientWidth: number;
|
|
53
|
+
readonly currentCSSZoom: number;
|
|
54
|
+
id: string;
|
|
55
|
+
innerHTML: string;
|
|
56
|
+
readonly localName: string;
|
|
57
|
+
readonly namespaceURI: string | null;
|
|
58
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
59
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
60
|
+
outerHTML: string;
|
|
61
|
+
readonly ownerDocument: Document;
|
|
62
|
+
readonly part: DOMTokenList;
|
|
63
|
+
readonly prefix: string | null;
|
|
64
|
+
readonly scrollHeight: number;
|
|
65
|
+
scrollLeft: number;
|
|
66
|
+
scrollTop: number;
|
|
67
|
+
readonly scrollWidth: number;
|
|
68
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
69
|
+
slot: string;
|
|
70
|
+
readonly tagName: string;
|
|
71
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
72
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
73
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
74
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
75
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
76
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
77
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
78
|
+
getAttribute(qualifiedName: string): string | null;
|
|
79
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
80
|
+
getAttributeNames(): string[];
|
|
81
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
82
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
83
|
+
getBoundingClientRect(): DOMRect;
|
|
84
|
+
getClientRects(): DOMRectList;
|
|
85
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
86
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
87
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
88
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
89
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
90
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
91
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
92
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
93
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
94
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
95
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
96
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
97
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
98
|
+
hasAttributes(): boolean;
|
|
99
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
100
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
101
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
102
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
103
|
+
matches(selectors: string): boolean;
|
|
104
|
+
releasePointerCapture(pointerId: number): void;
|
|
105
|
+
removeAttribute(qualifiedName: string): void;
|
|
106
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
107
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
108
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
109
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
110
|
+
scroll(options?: ScrollToOptions): void;
|
|
111
|
+
scroll(x: number, y: number): void;
|
|
112
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
113
|
+
scrollBy(x: number, y: number): void;
|
|
114
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
115
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
116
|
+
scrollTo(x: number, y: number): void;
|
|
117
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
118
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
119
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
120
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
121
|
+
setHTMLUnsafe(html: string): void;
|
|
122
|
+
setPointerCapture(pointerId: number): void;
|
|
123
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
124
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
125
|
+
readonly baseURI: string;
|
|
126
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
127
|
+
readonly firstChild: ChildNode | null;
|
|
128
|
+
readonly isConnected: boolean;
|
|
129
|
+
readonly lastChild: ChildNode | null;
|
|
130
|
+
readonly nextSibling: ChildNode | null;
|
|
131
|
+
readonly nodeName: string;
|
|
132
|
+
readonly nodeType: number;
|
|
133
|
+
nodeValue: string | null;
|
|
134
|
+
readonly parentElement: HTMLElement | null;
|
|
135
|
+
readonly parentNode: ParentNode | null;
|
|
136
|
+
readonly previousSibling: ChildNode | null;
|
|
137
|
+
textContent: string | null;
|
|
138
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
139
|
+
cloneNode(deep?: boolean): Node;
|
|
140
|
+
compareDocumentPosition(other: Node): number;
|
|
141
|
+
contains(other: Node | null): boolean;
|
|
142
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
143
|
+
hasChildNodes(): boolean;
|
|
144
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
145
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
146
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
147
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
148
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
149
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
150
|
+
normalize(): void;
|
|
151
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
152
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
153
|
+
readonly ELEMENT_NODE: 1;
|
|
154
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
155
|
+
readonly TEXT_NODE: 3;
|
|
156
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
157
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
158
|
+
readonly ENTITY_NODE: 6;
|
|
159
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
160
|
+
readonly COMMENT_NODE: 8;
|
|
161
|
+
readonly DOCUMENT_NODE: 9;
|
|
162
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
163
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
164
|
+
readonly NOTATION_NODE: 12;
|
|
165
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
166
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
167
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
168
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
169
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
170
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
171
|
+
dispatchEvent(event: Event): boolean;
|
|
172
|
+
ariaAtomic: string | null;
|
|
173
|
+
ariaAutoComplete: string | null;
|
|
174
|
+
ariaBrailleLabel: string | null;
|
|
175
|
+
ariaBrailleRoleDescription: string | null;
|
|
176
|
+
ariaBusy: string | null;
|
|
177
|
+
ariaChecked: string | null;
|
|
178
|
+
ariaColCount: string | null;
|
|
179
|
+
ariaColIndex: string | null;
|
|
180
|
+
ariaColIndexText: string | null;
|
|
181
|
+
ariaColSpan: string | null;
|
|
182
|
+
ariaCurrent: string | null;
|
|
183
|
+
ariaDescription: string | null;
|
|
184
|
+
ariaDisabled: string | null;
|
|
185
|
+
ariaExpanded: string | null;
|
|
186
|
+
ariaHasPopup: string | null;
|
|
187
|
+
ariaHidden: string | null;
|
|
188
|
+
ariaInvalid: string | null;
|
|
189
|
+
ariaKeyShortcuts: string | null;
|
|
190
|
+
ariaLabel: string | null;
|
|
191
|
+
ariaLevel: string | null;
|
|
192
|
+
ariaLive: string | null;
|
|
193
|
+
ariaModal: string | null;
|
|
194
|
+
ariaMultiLine: string | null;
|
|
195
|
+
ariaMultiSelectable: string | null;
|
|
196
|
+
ariaOrientation: string | null;
|
|
197
|
+
ariaPlaceholder: string | null;
|
|
198
|
+
ariaPosInSet: string | null;
|
|
199
|
+
ariaPressed: string | null;
|
|
200
|
+
ariaReadOnly: string | null;
|
|
201
|
+
ariaRequired: string | null;
|
|
202
|
+
ariaRoleDescription: string | null;
|
|
203
|
+
ariaRowCount: string | null;
|
|
204
|
+
ariaRowIndex: string | null;
|
|
205
|
+
ariaRowIndexText: string | null;
|
|
206
|
+
ariaRowSpan: string | null;
|
|
207
|
+
ariaSelected: string | null;
|
|
208
|
+
ariaSetSize: string | null;
|
|
209
|
+
ariaSort: string | null;
|
|
210
|
+
ariaValueMax: string | null;
|
|
211
|
+
ariaValueMin: string | null;
|
|
212
|
+
ariaValueNow: string | null;
|
|
213
|
+
ariaValueText: string | null;
|
|
214
|
+
role: string | null;
|
|
215
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
216
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
217
|
+
after(...nodes: (Node | string)[]): void;
|
|
218
|
+
before(...nodes: (Node | string)[]): void;
|
|
219
|
+
remove(): void;
|
|
220
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
221
|
+
readonly nextElementSibling: Element | null;
|
|
222
|
+
readonly previousElementSibling: Element | null;
|
|
223
|
+
readonly childElementCount: number;
|
|
224
|
+
readonly children: HTMLCollection;
|
|
225
|
+
readonly firstElementChild: Element | null;
|
|
226
|
+
readonly lastElementChild: Element | null;
|
|
227
|
+
append(...nodes: (Node | string)[]): void;
|
|
228
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
229
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
230
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
231
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
232
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
233
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
234
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
235
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
236
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
237
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
238
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
239
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
240
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
241
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
242
|
+
readonly style: CSSStyleDeclaration;
|
|
243
|
+
contentEditable: string;
|
|
244
|
+
enterKeyHint: string;
|
|
245
|
+
inputMode: string;
|
|
246
|
+
readonly isContentEditable: boolean;
|
|
247
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
248
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
249
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
250
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
251
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
252
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
253
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
254
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
256
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
261
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
263
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
264
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
266
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
268
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
269
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
270
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
271
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
272
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
273
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
274
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
275
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
276
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
|
+
onerror: OnErrorEventHandler;
|
|
280
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
281
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
282
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
286
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
287
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
288
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
291
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
293
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
294
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
295
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
296
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
297
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
298
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
299
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
300
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
301
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
307
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
308
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
309
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
310
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
311
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
312
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
313
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
316
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
319
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
321
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
323
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
324
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
327
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
331
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
332
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
333
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
334
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
335
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
336
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
337
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
338
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
339
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
340
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
341
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
342
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
343
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
344
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
345
|
+
autofocus: boolean;
|
|
346
|
+
readonly dataset: DOMStringMap;
|
|
347
|
+
nonce?: string;
|
|
348
|
+
tabIndex: number;
|
|
349
|
+
blur(): void;
|
|
350
|
+
focus(options?: FocusOptions): void;
|
|
351
|
+
};
|
|
352
|
+
_hostListeners: {
|
|
353
|
+
[listenerName: string]: {
|
|
354
|
+
[type: string]: {
|
|
355
|
+
options?: boolean | AddEventListenerOptions;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
} & typeof LitElement;
|
|
360
|
+
/**
|
|
361
|
+
* CoachmarkBeacon.
|
|
362
|
+
*
|
|
363
|
+
* @element c4p-coachmark-beacon
|
|
364
|
+
* @fires c4p-coachmark-beacon-clicked Custom event fired when beacon is clicked
|
|
365
|
+
* */
|
|
366
|
+
declare class CDSCoachmarkBeacon extends CDSCoachmarkBeacon_base {
|
|
367
|
+
/**
|
|
368
|
+
* What style of beacon.
|
|
369
|
+
* BEACON_KIND is an enum from the Coachmark and can be used for this value.
|
|
370
|
+
* @see {@Link BEACON_KIND}
|
|
371
|
+
*/
|
|
372
|
+
kind?: BEACON_KIND;
|
|
373
|
+
/**
|
|
374
|
+
* The aria label.
|
|
375
|
+
*/
|
|
376
|
+
label: string;
|
|
377
|
+
/**
|
|
378
|
+
* id for the coachmark beacon
|
|
379
|
+
*/
|
|
380
|
+
id: string;
|
|
381
|
+
private expanded;
|
|
382
|
+
firstUpdated(): void;
|
|
383
|
+
private _handleClick;
|
|
384
|
+
private handleOutsideClick;
|
|
385
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
386
|
+
static shadowRootOptions: {
|
|
387
|
+
delegatesFocus: boolean;
|
|
388
|
+
mode: ShadowRootMode;
|
|
389
|
+
serializable?: boolean;
|
|
390
|
+
slotAssignment?: SlotAssignmentMode;
|
|
391
|
+
customElements?: CustomElementRegistry;
|
|
392
|
+
registry?: CustomElementRegistry;
|
|
393
|
+
};
|
|
394
|
+
static get beaconClicked(): string;
|
|
395
|
+
static styles: any;
|
|
396
|
+
}
|
|
397
|
+
export default CDSCoachmarkBeacon;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2023, 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
|
+
/**
|
|
10
|
+
* Reserved for future expansion, i.e. "RING".
|
|
11
|
+
*/
|
|
12
|
+
export declare enum BEACON_KIND {
|
|
13
|
+
DEFAULT = "default"
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* @license
|
|
12
|
+
*
|
|
13
|
+
* Copyright IBM Corp. 2023, 2024
|
|
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
|
+
* Reserved for future expansion, i.e. "RING".
|
|
20
|
+
*/
|
|
21
|
+
exports.BEACON_KIND = void 0;
|
|
22
|
+
(function (BEACON_KIND) {
|
|
23
|
+
BEACON_KIND["DEFAULT"] = "default";
|
|
24
|
+
})(exports.BEACON_KIND || (exports.BEACON_KIND = {}));
|
|
25
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sources":["../../../../src/components/coachmark/coachmark-beacon/defs.ts"],"sourcesContent":[null],"names":["BEACON_KIND"],"mappings":";;;;;;;;;AAAA;;;;;;;AAOG;AACH;;AAEG;AACSA;AAAZ,CAAA,UAAY,WAAW,EAAA;AACrB,IAAA,WAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACrB,CAAC,EAFWA,mBAAW,KAAXA,mBAAW,GAEtB,EAAA,CAAA,CAAA;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ibm-products-web-components",
|
|
3
3
|
"description": "Carbon for IBM Products Web Components",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.27.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "es/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
"postinstall": "ibmtelemetry --config=telemetry.yml",
|
|
50
50
|
"preview": "vite preview",
|
|
51
51
|
"storybook": "storybook dev -p 3000",
|
|
52
|
-
"test": "vitest run",
|
|
52
|
+
"test": "yarn playwright install --with-deps && vitest run",
|
|
53
53
|
"wca": "web-component-analyzer analyze src --outFile custom-elements.json",
|
|
54
54
|
"coverage": "vitest run --coverage",
|
|
55
55
|
"telemetry-config": "ibmtelemetry-config generate --wc --id 8a79d901-a9c0-4672-94a4-fa8eea139832 --endpoint https://www-api.ibm.com/ibm-telemetry/v1/metrics --files ./src/components"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@carbon-labs/wc-empty-state": "^0.9.0",
|
|
59
|
-
"@carbon/ibm-products-styles": "^2.
|
|
59
|
+
"@carbon/ibm-products-styles": "^2.74.0",
|
|
60
60
|
"@carbon/styles": "1.89.0",
|
|
61
61
|
"@carbon/web-components": "2.37.0",
|
|
62
62
|
"@ibm/telemetry-js": "^1.10.2",
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
"@rollup/plugin-json": "^6.1.0",
|
|
79
79
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
80
80
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
81
|
-
"@storybook/addon-docs": "^9.
|
|
82
|
-
"@storybook/addon-links": "^9.
|
|
83
|
-
"@storybook/web-components-vite": "^9.
|
|
81
|
+
"@storybook/addon-docs": "^9.1.10",
|
|
82
|
+
"@storybook/addon-links": "^9.1.10",
|
|
83
|
+
"@storybook/web-components-vite": "^9.1.10",
|
|
84
84
|
"@types/jest": "^29.5.13",
|
|
85
85
|
"@vitest/browser": "^3.2.0",
|
|
86
86
|
"@vitest/coverage-v8": "^3.2.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"rollup": "^4.27.3",
|
|
99
99
|
"rollup-plugin-copy": "^3.5.0",
|
|
100
100
|
"sass": "^1.80.6",
|
|
101
|
-
"storybook": "^9.
|
|
101
|
+
"storybook": "^9.1.10",
|
|
102
102
|
"tslib": "^2.8.1",
|
|
103
103
|
"typescript": "^5.5.3",
|
|
104
104
|
"vite": "^7.0.0",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"vitest": "^3.2.0",
|
|
107
107
|
"web-component-analyzer": "2.0.0"
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "44b9182ef8d8018c9e3e6914e24e2259502e2f49"
|
|
110
110
|
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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
|
+
|
|
8
|
+
$css--plex: true !default;
|
|
9
|
+
|
|
10
|
+
@use '@carbon/styles/scss/spacing' as *;
|
|
11
|
+
@use '@carbon/styles/scss/theme' as *;
|
|
12
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
13
|
+
@use '@carbon/ibm-products-styles/scss/config';
|
|
14
|
+
@use '@carbon/ibm-products-styles/scss/components/Coachmark/_coachmark-beacon';
|
|
15
|
+
|
|
16
|
+
$prefix: config.$pkg-prefix;
|
|
17
|
+
$carbon-prefix: config.$carbon-prefix;
|
|
18
|
+
|
|
19
|
+
$block-class: #{$prefix}--coachmark-beacon;
|
|
20
|
+
|
|
21
|
+
:host(#{$prefix}-coachmark-beacon) {
|
|
22
|
+
position: relative;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host(.#{$prefix}--coachmark-beacon-default) {
|
|
26
|
+
.#{$block-class}__target {
|
|
27
|
+
&::before {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
// the blue dot
|
|
31
|
+
&::after {
|
|
32
|
+
position: absolute;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
|
35
|
+
background-color: $blue-50;
|
|
36
|
+
block-size: $spacing-04;
|
|
37
|
+
content: '';
|
|
38
|
+
inline-size: $spacing-04;
|
|
39
|
+
inset-block-start: calc($spacing-01 + $spacing-03);
|
|
40
|
+
inset-inline-start: calc($spacing-01 + $spacing-03);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:focus {
|
|
44
|
+
outline: transparent;
|
|
45
|
+
|
|
46
|
+
&::before {
|
|
47
|
+
position: absolute;
|
|
48
|
+
display: block;
|
|
49
|
+
border-radius: 100%;
|
|
50
|
+
block-size: 18px;
|
|
51
|
+
content: '';
|
|
52
|
+
inline-size: 18px;
|
|
53
|
+
inset-block-start: 7px;
|
|
54
|
+
inset-inline-start: 7px;
|
|
55
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
|
56
|
+
outline: $spacing-01 $focus solid;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.#{$block-class}__target {
|
|
62
|
+
display: flex;
|
|
63
|
+
padding: 0;
|
|
64
|
+
border: none;
|
|
65
|
+
border-radius: 50%;
|
|
66
|
+
background-color: transparent;
|
|
67
|
+
block-size: $spacing-07;
|
|
68
|
+
box-shadow: none;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
inline-size: $spacing-07;
|
|
71
|
+
|
|
72
|
+
&[aria-expanded='true'] {
|
|
73
|
+
circle {
|
|
74
|
+
animation: none;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.#{$block-class}__target::part(button) {
|
|
80
|
+
background-color: transparent;
|
|
81
|
+
max-block-size: 0;
|
|
82
|
+
min-block-size: 0;
|
|
83
|
+
padding-inline: 0;
|
|
84
|
+
|
|
85
|
+
&:focus {
|
|
86
|
+
border-color: transparent;
|
|
87
|
+
box-shadow: none;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -259,10 +259,12 @@ $carbon-prefix: 'cds';
|
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
:host(#{$prefix}-page-header-tabs) {
|
|
262
|
-
margin-inline-start: -$spacing-05;
|
|
263
262
|
// TODO: remove above styles when styles from React have been migrated
|
|
264
263
|
// and use the extend below
|
|
265
264
|
// @extend .#{$prefix}--page-header__tab-bar;
|
|
265
|
+
.#{$carbon-prefix}--css-grid .#{$carbon-prefix}--css-grid-column {
|
|
266
|
+
margin: 0;
|
|
267
|
+
}
|
|
266
268
|
}
|
|
267
269
|
|
|
268
270
|
:host(#{$prefix}-page-header-tabs) .#{$prefix}--page-header__tab-bar--tablist {
|