@carbon/ibm-products-web-components 0.18.0-rc.0 → 0.19.0-rc.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 +509 -0
- package/es/components/about-modal/about-modal.scss.js +1 -1
- package/es/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
- package/es/components/notification-panel/_story-assets/unread-notification-bell.js +45 -0
- package/es/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -0
- package/es/components/notification-panel/date-time-context.d.ts +9 -0
- package/es/components/notification-panel/date-time-context.js +19 -0
- package/es/components/notification-panel/date-time-context.js.map +1 -0
- package/es/components/notification-panel/defs.d.ts +8 -0
- package/es/components/notification-panel/defs.js +8 -0
- package/es/components/notification-panel/defs.js.map +1 -0
- package/es/components/notification-panel/index.d.ts +11 -0
- package/es/components/notification-panel/index.js +11 -0
- package/es/components/notification-panel/index.js.map +1 -0
- package/es/components/notification-panel/notification-footer.d.ts +389 -0
- package/es/components/notification-panel/notification-footer.js +119 -0
- package/es/components/notification-panel/notification-footer.js.map +1 -0
- package/es/components/notification-panel/notification-footer.scss.js +13 -0
- package/es/components/notification-panel/notification-footer.scss.js.map +1 -0
- package/es/components/notification-panel/notification-panel.d.ts +458 -0
- package/es/components/notification-panel/notification-panel.js +414 -0
- package/es/components/notification-panel/notification-panel.js.map +1 -0
- package/es/components/notification-panel/notification-panel.scss.js +13 -0
- package/es/components/notification-panel/notification-panel.scss.js.map +1 -0
- package/es/components/notification-panel/notification-panel.test.d.ts +7 -0
- package/es/components/notification-panel/notification-panel.test.js +30 -0
- package/es/components/notification-panel/notification-panel.test.js.map +1 -0
- package/es/components/notification-panel/notification.d.ts +405 -0
- package/es/components/notification-panel/notification.js +178 -0
- package/es/components/notification-panel/notification.js.map +1 -0
- package/es/components/notification-panel/notification.scss.js +13 -0
- package/es/components/notification-panel/notification.scss.js.map +1 -0
- package/es/components/page-header/index.d.ts +14 -0
- package/es/components/page-header/index.js +14 -0
- package/es/components/page-header/index.js.map +1 -0
- package/es/components/page-header/page-header-breadcrumb.d.ts +35 -0
- package/es/components/page-header/page-header-breadcrumb.js +94 -0
- package/es/components/page-header/page-header-breadcrumb.js.map +1 -0
- package/es/components/page-header/page-header-content-text.d.ts +22 -0
- package/es/components/page-header/page-header-content-text.js +56 -0
- package/es/components/page-header/page-header-content-text.js.map +1 -0
- package/es/components/page-header/page-header-content.d.ts +41 -0
- package/es/components/page-header/page-header-content.js +131 -0
- package/es/components/page-header/page-header-content.js.map +1 -0
- package/es/components/page-header/page-header-hero-image.d.ts +18 -0
- package/es/components/page-header/page-header-hero-image.js +38 -0
- package/es/components/page-header/page-header-hero-image.js.map +1 -0
- package/es/components/page-header/page-header-tabs.d.ts +18 -0
- package/es/components/page-header/page-header-tabs.js +47 -0
- package/es/components/page-header/page-header-tabs.js.map +1 -0
- package/es/components/page-header/page-header.d.ts +18 -0
- package/es/components/page-header/page-header.js +38 -0
- package/es/components/page-header/page-header.js.map +1 -0
- package/es/components/page-header/page-header.scss.js +13 -0
- package/es/components/page-header/page-header.scss.js.map +1 -0
- package/es/components/page-header/page-header.test.d.ts +1 -0
- package/es/components/page-header/page-header.test.js +207 -0
- package/es/components/page-header/page-header.test.js.map +1 -0
- package/es/components/side-panel/side-panel.d.ts +4 -0
- package/es/components/side-panel/side-panel.js +21 -12
- package/es/components/side-panel/side-panel.js.map +1 -1
- package/es/components/side-panel/side-panel.scss.js +1 -1
- package/es/components/side-panel/side-panel.test.js +21 -0
- package/es/components/side-panel/side-panel.test.js.map +1 -1
- package/es/components/tearsheet/tearsheet.scss.js +1 -1
- package/es/globals/internal/storybook-cdn.js +1 -1
- package/es/globals/js/utils/getSupportedLocale.d.ts +12 -0
- package/es/globals/js/utils/getSupportedLocale.js +35 -0
- package/es/globals/js/utils/getSupportedLocale.js.map +1 -0
- package/es/index.d.ts +6 -0
- package/es/index.js +6 -0
- package/es/index.js.map +1 -1
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +13 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +11 -0
- package/es/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +1 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es/{package.json.js → packages/ibm-products-web-components/package.json.js} +1 -1
- package/es-custom/components/about-modal/about-modal.scss.js +1 -1
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js +45 -0
- package/es-custom/components/notification-panel/_story-assets/unread-notification-bell.js.map +1 -0
- package/es-custom/components/notification-panel/date-time-context.d.ts +9 -0
- package/es-custom/components/notification-panel/date-time-context.js +19 -0
- package/es-custom/components/notification-panel/date-time-context.js.map +1 -0
- package/es-custom/components/notification-panel/defs.d.ts +8 -0
- package/es-custom/components/notification-panel/defs.js +8 -0
- package/es-custom/components/notification-panel/defs.js.map +1 -0
- package/es-custom/components/notification-panel/index.d.ts +11 -0
- package/es-custom/components/notification-panel/index.js +11 -0
- package/es-custom/components/notification-panel/index.js.map +1 -0
- package/es-custom/components/notification-panel/notification-footer.d.ts +389 -0
- package/es-custom/components/notification-panel/notification-footer.js +119 -0
- package/es-custom/components/notification-panel/notification-footer.js.map +1 -0
- package/es-custom/components/notification-panel/notification-footer.scss.js +13 -0
- package/es-custom/components/notification-panel/notification-footer.scss.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.d.ts +458 -0
- package/es-custom/components/notification-panel/notification-panel.js +414 -0
- package/es-custom/components/notification-panel/notification-panel.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.scss.js +13 -0
- package/es-custom/components/notification-panel/notification-panel.scss.js.map +1 -0
- package/es-custom/components/notification-panel/notification-panel.test.d.ts +7 -0
- package/es-custom/components/notification-panel/notification-panel.test.js +30 -0
- package/es-custom/components/notification-panel/notification-panel.test.js.map +1 -0
- package/es-custom/components/notification-panel/notification.d.ts +405 -0
- package/es-custom/components/notification-panel/notification.js +178 -0
- package/es-custom/components/notification-panel/notification.js.map +1 -0
- package/es-custom/components/notification-panel/notification.scss.js +13 -0
- package/es-custom/components/notification-panel/notification.scss.js.map +1 -0
- package/es-custom/components/page-header/index.d.ts +14 -0
- package/es-custom/components/page-header/index.js +14 -0
- package/es-custom/components/page-header/index.js.map +1 -0
- package/es-custom/components/page-header/page-header-breadcrumb.d.ts +35 -0
- package/es-custom/components/page-header/page-header-breadcrumb.js +94 -0
- package/es-custom/components/page-header/page-header-breadcrumb.js.map +1 -0
- package/es-custom/components/page-header/page-header-content-text.d.ts +22 -0
- package/es-custom/components/page-header/page-header-content-text.js +56 -0
- package/es-custom/components/page-header/page-header-content-text.js.map +1 -0
- package/es-custom/components/page-header/page-header-content.d.ts +41 -0
- package/es-custom/components/page-header/page-header-content.js +131 -0
- package/es-custom/components/page-header/page-header-content.js.map +1 -0
- package/es-custom/components/page-header/page-header-hero-image.d.ts +18 -0
- package/es-custom/components/page-header/page-header-hero-image.js +38 -0
- package/es-custom/components/page-header/page-header-hero-image.js.map +1 -0
- package/es-custom/components/page-header/page-header-tabs.d.ts +18 -0
- package/es-custom/components/page-header/page-header-tabs.js +47 -0
- package/es-custom/components/page-header/page-header-tabs.js.map +1 -0
- package/es-custom/components/page-header/page-header.d.ts +18 -0
- package/es-custom/components/page-header/page-header.js +38 -0
- package/es-custom/components/page-header/page-header.js.map +1 -0
- package/es-custom/components/page-header/page-header.scss.js +13 -0
- package/es-custom/components/page-header/page-header.scss.js.map +1 -0
- package/es-custom/components/page-header/page-header.test.d.ts +1 -0
- package/es-custom/components/page-header/page-header.test.js +207 -0
- package/es-custom/components/page-header/page-header.test.js.map +1 -0
- package/es-custom/components/side-panel/side-panel.d.ts +4 -0
- package/es-custom/components/side-panel/side-panel.js +21 -12
- package/es-custom/components/side-panel/side-panel.js.map +1 -1
- package/es-custom/components/side-panel/side-panel.scss.js +1 -1
- package/es-custom/components/side-panel/side-panel.test.js +21 -0
- package/es-custom/components/side-panel/side-panel.test.js.map +1 -1
- package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
- package/es-custom/globals/internal/storybook-cdn.js +1 -1
- package/es-custom/globals/js/utils/getSupportedLocale.d.ts +12 -0
- package/es-custom/globals/js/utils/getSupportedLocale.js +35 -0
- package/es-custom/globals/js/utils/getSupportedLocale.js.map +1 -0
- package/es-custom/index.d.ts +6 -0
- package/es-custom/index.js +6 -0
- package/es-custom/index.js.map +1 -1
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js +13 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/index.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js +11 -0
- package/es-custom/node_modules/@carbon/utilities/es/dateTimeFormat/relative.js.map +1 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js +9 -0
- package/es-custom/node_modules/@carbon/utilities/es/documentLang/documentLang.js.map +1 -0
- package/es-custom/{package.json.js → packages/ibm-products-web-components/package.json.js} +1 -1
- package/lib/components/notification-panel/_story-assets/unread-notification-bell.d.ts +3 -0
- package/lib/components/notification-panel/date-time-context.d.ts +9 -0
- package/lib/components/notification-panel/defs.d.ts +8 -0
- package/lib/components/notification-panel/defs.js +10 -0
- package/lib/components/notification-panel/defs.js.map +1 -0
- package/lib/components/notification-panel/index.d.ts +11 -0
- package/lib/components/notification-panel/notification-footer.d.ts +389 -0
- package/lib/components/notification-panel/notification-panel.d.ts +458 -0
- package/lib/components/notification-panel/notification-panel.test.d.ts +7 -0
- package/lib/components/notification-panel/notification.d.ts +405 -0
- package/lib/components/page-header/index.d.ts +14 -0
- package/lib/components/page-header/page-header-breadcrumb.d.ts +35 -0
- package/lib/components/page-header/page-header-content-text.d.ts +22 -0
- package/lib/components/page-header/page-header-content.d.ts +41 -0
- package/lib/components/page-header/page-header-hero-image.d.ts +18 -0
- package/lib/components/page-header/page-header-tabs.d.ts +18 -0
- package/lib/components/page-header/page-header.d.ts +18 -0
- package/lib/components/page-header/page-header.test.d.ts +1 -0
- package/lib/components/side-panel/side-panel.d.ts +4 -0
- package/lib/globals/js/utils/getSupportedLocale.d.ts +12 -0
- package/lib/globals/js/utils/getSupportedLocale.js +37 -0
- package/lib/globals/js/utils/getSupportedLocale.js.map +1 -0
- package/lib/index.d.ts +6 -0
- package/package.json +12 -11
- package/scss/components/notification-panel/notification-footer.scss +65 -0
- package/scss/components/notification-panel/notification-panel.scss +59 -0
- package/scss/components/notification-panel/notification.scss +147 -0
- package/scss/components/notification-panel/story-styles.scss +116 -0
- package/scss/components/page-header/page-header.scss +288 -0
- /package/es/{package.json.js.map → packages/ibm-products-web-components/package.json.js.map} +0 -0
- /package/es-custom/{package.json.js.map → packages/ibm-products-web-components/package.json.js.map} +0 -0
@@ -0,0 +1,458 @@
|
|
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
|
+
import { LitElement } from 'lit';
|
10
|
+
import '@carbon/web-components/es/components/button/index.js';
|
11
|
+
import '@carbon/web-components/es/components/toggle/index.js';
|
12
|
+
import '@carbon/web-components/es/components/icon-button/index.js';
|
13
|
+
declare const CDSNotificationPanel_base: {
|
14
|
+
new (...args: any[]): {
|
15
|
+
_handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
|
16
|
+
connectedCallback(): void;
|
17
|
+
disconnectedCallback(): void;
|
18
|
+
accessKey: string;
|
19
|
+
readonly accessKeyLabel: string;
|
20
|
+
autocapitalize: string;
|
21
|
+
dir: string;
|
22
|
+
draggable: boolean;
|
23
|
+
hidden: boolean;
|
24
|
+
inert: boolean;
|
25
|
+
innerText: string;
|
26
|
+
lang: string;
|
27
|
+
readonly offsetHeight: number;
|
28
|
+
readonly offsetLeft: number;
|
29
|
+
readonly offsetParent: Element | null;
|
30
|
+
readonly offsetTop: number;
|
31
|
+
readonly offsetWidth: number;
|
32
|
+
outerText: string;
|
33
|
+
popover: string | null;
|
34
|
+
spellcheck: boolean;
|
35
|
+
title: string;
|
36
|
+
translate: boolean;
|
37
|
+
writingSuggestions: string;
|
38
|
+
attachInternals(): ElementInternals;
|
39
|
+
click(): void;
|
40
|
+
hidePopover(): void;
|
41
|
+
showPopover(): void;
|
42
|
+
togglePopover(force?: boolean): boolean;
|
43
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
44
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
45
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
46
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
47
|
+
readonly attributes: NamedNodeMap;
|
48
|
+
readonly classList: DOMTokenList;
|
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
|
+
readonly part: DOMTokenList;
|
64
|
+
readonly prefix: string | null;
|
65
|
+
readonly scrollHeight: number;
|
66
|
+
scrollLeft: number;
|
67
|
+
scrollTop: number;
|
68
|
+
readonly scrollWidth: number;
|
69
|
+
readonly shadowRoot: ShadowRoot | null;
|
70
|
+
slot: string;
|
71
|
+
readonly tagName: string;
|
72
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
73
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
74
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
75
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
76
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
77
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
78
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
79
|
+
getAttribute(qualifiedName: string): string | null;
|
80
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
81
|
+
getAttributeNames(): string[];
|
82
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
83
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
84
|
+
getBoundingClientRect(): DOMRect;
|
85
|
+
getClientRects(): DOMRectList;
|
86
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
87
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
88
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
89
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
90
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
91
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
92
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
93
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
94
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
95
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
96
|
+
getHTML(options?: GetHTMLOptions): string;
|
97
|
+
hasAttribute(qualifiedName: string): boolean;
|
98
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
99
|
+
hasAttributes(): boolean;
|
100
|
+
hasPointerCapture(pointerId: number): boolean;
|
101
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
102
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
103
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
104
|
+
matches(selectors: string): boolean;
|
105
|
+
releasePointerCapture(pointerId: number): void;
|
106
|
+
removeAttribute(qualifiedName: string): void;
|
107
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
108
|
+
removeAttributeNode(attr: Attr): Attr;
|
109
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
110
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
111
|
+
scroll(options?: ScrollToOptions): void;
|
112
|
+
scroll(x: number, y: number): void;
|
113
|
+
scrollBy(options?: ScrollToOptions): void;
|
114
|
+
scrollBy(x: number, y: number): void;
|
115
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
116
|
+
scrollTo(options?: ScrollToOptions): void;
|
117
|
+
scrollTo(x: number, y: number): void;
|
118
|
+
setAttribute(qualifiedName: string, value: string): void;
|
119
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
120
|
+
setAttributeNode(attr: Attr): Attr | null;
|
121
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
122
|
+
setHTMLUnsafe(html: string): void;
|
123
|
+
setPointerCapture(pointerId: number): void;
|
124
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
125
|
+
webkitMatchesSelector(selectors: string): boolean;
|
126
|
+
readonly baseURI: string;
|
127
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
128
|
+
readonly firstChild: ChildNode | null;
|
129
|
+
readonly isConnected: boolean;
|
130
|
+
readonly lastChild: ChildNode | null;
|
131
|
+
readonly nextSibling: ChildNode | null;
|
132
|
+
readonly nodeName: string;
|
133
|
+
readonly nodeType: number;
|
134
|
+
nodeValue: string | null;
|
135
|
+
readonly parentElement: HTMLElement | null;
|
136
|
+
readonly parentNode: ParentNode | null;
|
137
|
+
readonly previousSibling: ChildNode | null;
|
138
|
+
textContent: string | null;
|
139
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
140
|
+
cloneNode(deep?: boolean): Node;
|
141
|
+
compareDocumentPosition(other: Node): number;
|
142
|
+
contains(other: Node | null): boolean;
|
143
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
144
|
+
hasChildNodes(): boolean;
|
145
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
146
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
147
|
+
isEqualNode(otherNode: Node | null): boolean;
|
148
|
+
isSameNode(otherNode: Node | null): boolean;
|
149
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
150
|
+
lookupPrefix(namespace: string | null): string | null;
|
151
|
+
normalize(): void;
|
152
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
153
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
154
|
+
readonly ELEMENT_NODE: 1;
|
155
|
+
readonly ATTRIBUTE_NODE: 2;
|
156
|
+
readonly TEXT_NODE: 3;
|
157
|
+
readonly CDATA_SECTION_NODE: 4;
|
158
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
159
|
+
readonly ENTITY_NODE: 6;
|
160
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
161
|
+
readonly COMMENT_NODE: 8;
|
162
|
+
readonly DOCUMENT_NODE: 9;
|
163
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
164
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
165
|
+
readonly NOTATION_NODE: 12;
|
166
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
167
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
168
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
169
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
170
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
171
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
172
|
+
dispatchEvent(event: Event): boolean;
|
173
|
+
ariaAtomic: string | null;
|
174
|
+
ariaAutoComplete: string | null;
|
175
|
+
ariaBrailleLabel: string | null;
|
176
|
+
ariaBrailleRoleDescription: string | null;
|
177
|
+
ariaBusy: string | null;
|
178
|
+
ariaChecked: string | null;
|
179
|
+
ariaColCount: string | null;
|
180
|
+
ariaColIndex: string | null;
|
181
|
+
ariaColIndexText: string | null;
|
182
|
+
ariaColSpan: string | null;
|
183
|
+
ariaCurrent: string | null;
|
184
|
+
ariaDescription: string | null;
|
185
|
+
ariaDisabled: string | null;
|
186
|
+
ariaExpanded: string | null;
|
187
|
+
ariaHasPopup: string | null;
|
188
|
+
ariaHidden: string | null;
|
189
|
+
ariaInvalid: string | null;
|
190
|
+
ariaKeyShortcuts: string | null;
|
191
|
+
ariaLabel: string | null;
|
192
|
+
ariaLevel: string | null;
|
193
|
+
ariaLive: string | null;
|
194
|
+
ariaModal: string | null;
|
195
|
+
ariaMultiLine: string | null;
|
196
|
+
ariaMultiSelectable: string | null;
|
197
|
+
ariaOrientation: string | null;
|
198
|
+
ariaPlaceholder: string | null;
|
199
|
+
ariaPosInSet: string | null;
|
200
|
+
ariaPressed: string | null;
|
201
|
+
ariaReadOnly: string | null;
|
202
|
+
ariaRequired: string | null;
|
203
|
+
ariaRoleDescription: string | null;
|
204
|
+
ariaRowCount: string | null;
|
205
|
+
ariaRowIndex: string | null;
|
206
|
+
ariaRowIndexText: string | null;
|
207
|
+
ariaRowSpan: string | null;
|
208
|
+
ariaSelected: string | null;
|
209
|
+
ariaSetSize: string | null;
|
210
|
+
ariaSort: string | null;
|
211
|
+
ariaValueMax: string | null;
|
212
|
+
ariaValueMin: string | null;
|
213
|
+
ariaValueNow: string | null;
|
214
|
+
ariaValueText: string | null;
|
215
|
+
role: string | null;
|
216
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
217
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
218
|
+
after(...nodes: (Node | string)[]): void;
|
219
|
+
before(...nodes: (Node | string)[]): void;
|
220
|
+
remove(): void;
|
221
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
222
|
+
readonly nextElementSibling: Element | null;
|
223
|
+
readonly previousElementSibling: Element | null;
|
224
|
+
readonly childElementCount: number;
|
225
|
+
readonly children: HTMLCollection;
|
226
|
+
readonly firstElementChild: Element | null;
|
227
|
+
readonly lastElementChild: Element | null;
|
228
|
+
append(...nodes: (Node | string)[]): void;
|
229
|
+
prepend(...nodes: (Node | string)[]): void;
|
230
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
231
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
232
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
233
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
234
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
235
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
236
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
237
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
238
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
239
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
240
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
241
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
242
|
+
readonly attributeStyleMap: StylePropertyMap;
|
243
|
+
readonly style: CSSStyleDeclaration;
|
244
|
+
contentEditable: string;
|
245
|
+
enterKeyHint: string;
|
246
|
+
inputMode: string;
|
247
|
+
readonly isContentEditable: boolean;
|
248
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
249
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
250
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
251
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
252
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
253
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
254
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
255
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
256
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
257
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
258
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
259
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
260
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
261
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
262
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
263
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
264
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
265
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
266
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
267
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
268
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
269
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
270
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
271
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
272
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
273
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
274
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
275
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
276
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
277
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
278
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
279
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
280
|
+
onerror: OnErrorEventHandler;
|
281
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
282
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
283
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
284
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
285
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
286
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
287
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
288
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
289
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
290
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
291
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
292
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
293
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
294
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
295
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
296
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
297
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
298
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
299
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
300
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
301
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
302
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
303
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
304
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
305
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
306
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
307
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
308
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
309
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
310
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
311
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
312
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
313
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
314
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
315
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
316
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
317
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
318
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
319
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
320
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
321
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
322
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
323
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
324
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
325
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
326
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
327
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
328
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
329
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
330
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
331
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
332
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
333
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
334
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
335
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
336
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
337
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
338
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
339
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
340
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
341
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
342
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
343
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
344
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
345
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
346
|
+
autofocus: boolean;
|
347
|
+
readonly dataset: DOMStringMap;
|
348
|
+
nonce?: string;
|
349
|
+
tabIndex: number;
|
350
|
+
blur(): void;
|
351
|
+
focus(options?: FocusOptions): void;
|
352
|
+
};
|
353
|
+
_hostListeners: {
|
354
|
+
[listenerName: string]: {
|
355
|
+
[type: string]: {
|
356
|
+
options?: boolean | AddEventListenerOptions;
|
357
|
+
};
|
358
|
+
};
|
359
|
+
};
|
360
|
+
} & typeof LitElement;
|
361
|
+
/**
|
362
|
+
* NotificationPanel.
|
363
|
+
*
|
364
|
+
* @element c4p-notification-panel
|
365
|
+
* @csspart dialog The dialog.
|
366
|
+
* @slot today - Today Section.
|
367
|
+
* @slot previous - Previous Section.
|
368
|
+
* @slot footer - Footer for the Panel.
|
369
|
+
* @fires c4p-notification-panel-beingclosed - The custom event before notification-panel is closed.
|
370
|
+
* @fires c4p-notification-dismiss-all - The custom event fired after notification-panel is closed upon a user gesture.
|
371
|
+
* @fires c4p-notification-donot-disturb-change - The custom event fired after notification-panel is closed upon a user gesture.
|
372
|
+
* @fires c4p-notification-click-outside - The custom event fired after user clicks outside the panel or Esc key is pressed.
|
373
|
+
*/
|
374
|
+
declare class CDSNotificationPanel extends CDSNotificationPanel_base {
|
375
|
+
/**
|
376
|
+
* Sets the Title for the Notification panel
|
377
|
+
*/
|
378
|
+
titleText: any;
|
379
|
+
/**
|
380
|
+
* Sets the Today text for the Notification panel
|
381
|
+
*/
|
382
|
+
todayText: any;
|
383
|
+
/**
|
384
|
+
* Sets the Previous section title for the Notification panel
|
385
|
+
*/
|
386
|
+
previousText: any;
|
387
|
+
/**
|
388
|
+
* Determines whether the notifications panel should render or not
|
389
|
+
*/
|
390
|
+
open: boolean;
|
391
|
+
/**
|
392
|
+
* Sets the label text for the "Dismiss all" button in the Notification panel
|
393
|
+
*/
|
394
|
+
dismissAllLabel: any;
|
395
|
+
/**
|
396
|
+
* Sets the label text for the "Do Not Disturb" toggle in the Notification panel
|
397
|
+
*/
|
398
|
+
doNotDisturbLabel: any;
|
399
|
+
/**
|
400
|
+
* Reference to the trigger button
|
401
|
+
*/
|
402
|
+
triggerButtonRef?: HTMLElement;
|
403
|
+
/**
|
404
|
+
* The language for each notification's time stamp.
|
405
|
+
* Used with `dateTimeStyle`.
|
406
|
+
*/
|
407
|
+
dateTimeLocale?: string;
|
408
|
+
private _providedLocale;
|
409
|
+
private todaySlot;
|
410
|
+
private previousSlot;
|
411
|
+
private _hasTodayContent;
|
412
|
+
private _hasPreviousContent;
|
413
|
+
_todayElements: Array<HTMLElement>;
|
414
|
+
_previousElements: Array<HTMLElement>;
|
415
|
+
private _mutationObserver?;
|
416
|
+
willUpdate(changedProperties: any): void;
|
417
|
+
firstUpdated(): void;
|
418
|
+
updated(): void;
|
419
|
+
render(): import("lit-html").TemplateResult<1>;
|
420
|
+
disconnectedCallback(): void;
|
421
|
+
private _handleMouseEnter;
|
422
|
+
private _handleMouseLeave;
|
423
|
+
private _markFirstNotification;
|
424
|
+
private _handleSlotChange;
|
425
|
+
private _tryFocusDismissButton;
|
426
|
+
/**
|
427
|
+
* Handles user-initiated dismiss of all notifications.
|
428
|
+
*
|
429
|
+
* @param event The event that triggered the click.
|
430
|
+
*/
|
431
|
+
private _onDismissAllNotifications;
|
432
|
+
private _handleToggle;
|
433
|
+
private _handleKeydown;
|
434
|
+
private _handleClick;
|
435
|
+
/**
|
436
|
+
* A selector selecting tabbable nodes.
|
437
|
+
*/
|
438
|
+
static get selectorTabbable(): string;
|
439
|
+
/**
|
440
|
+
* The name of the custom event fired before this notification-panel is being closed upon a user gesture.
|
441
|
+
* Cancellation of this event stops the user-initiated action of closing this notification-panel.
|
442
|
+
*/
|
443
|
+
static get eventBeforeClose(): string;
|
444
|
+
/**
|
445
|
+
* The name of the custom event fired after this notification-panel is closed upon a user gesture.
|
446
|
+
*/
|
447
|
+
static get eventClickOutside(): string;
|
448
|
+
/**
|
449
|
+
* The name of the custom event fired after this notification-panel is closed upon a user gesture.
|
450
|
+
*/
|
451
|
+
static get eventDismissAll(): string;
|
452
|
+
/**
|
453
|
+
* The name of the custom event fired after this do not disturb button toggled.
|
454
|
+
*/
|
455
|
+
static get eventDonotDisturbChange(): string;
|
456
|
+
static styles: any;
|
457
|
+
}
|
458
|
+
export default CDSNotificationPanel;
|