@carbon/ibmdotcom-web-components 2.30.0 → 2.32.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/dist/dotcom-shell.js +3 -3
- package/dist/dotcom-shell.min.js +2 -2
- package/dist/ibmdotcom-web-components-dotcom-shell.js +3 -3
- package/dist/ibmdotcom-web-components-dotcom-shell.min.js +2 -2
- package/dist/{index-dbec7dea.js → index-34e0f247.js} +1973 -1418
- package/dist/{index-70141123.js → index-b074cd59.js} +204 -166
- package/dist/{left-nav-menu-e123e07b.js → left-nav-menu-01066f18.js} +2 -2
- package/dist/{left-nav-menu-4547bc31.js → left-nav-menu-bcbc0330.js} +3 -3
- package/dist/{left-nav-menu-category-heading-40a84206.js → left-nav-menu-category-heading-0dfb02cf.js} +3 -3
- package/dist/{left-nav-menu-category-heading-ea7b8fd0.js → left-nav-menu-category-heading-cc2abd53.js} +2 -2
- package/dist/{left-nav-menu-item-f0de1048.js → left-nav-menu-item-bbc39404.js} +3 -3
- package/dist/{left-nav-menu-item-b13fa9bd.js → left-nav-menu-item-e69c103b.js} +2 -2
- package/dist/{left-nav-menu-section-12c63c9c.js → left-nav-menu-section-1aabd4ca.js} +2 -2
- package/dist/{left-nav-menu-section-46049aa9.js → left-nav-menu-section-6c32295d.js} +3 -3
- package/dist/{left-nav-overlay-d67d0a6a.js → left-nav-overlay-6b0aaea8.js} +3 -3
- package/dist/{left-nav-overlay-f71e3d74.js → left-nav-overlay-f796104e.js} +2 -2
- package/dist/{megamenu-category-group-2098af3d.js → megamenu-category-group-973395bb.js} +3 -3
- package/dist/{megamenu-category-group-c85b1d1c.js → megamenu-category-group-c7cdba1b.js} +2 -2
- package/dist/{megamenu-category-group-copy-fd64eb79.js → megamenu-category-group-copy-4626f75e.js} +3 -3
- package/dist/{megamenu-category-group-copy-74dadbb3.js → megamenu-category-group-copy-d8dcca06.js} +2 -2
- package/dist/{megamenu-category-heading-88fb4721.js → megamenu-category-heading-2aa128db.js} +2 -2
- package/dist/{megamenu-category-heading-24704ad6.js → megamenu-category-heading-c74bab78.js} +3 -3
- package/dist/{megamenu-category-link-ae6d2273.js → megamenu-category-link-4be5ba05.js} +2 -2
- package/dist/{megamenu-category-link-af006474.js → megamenu-category-link-cb453456.js} +3 -3
- package/dist/{megamenu-category-link-group-8c6969cd.js → megamenu-category-link-group-51f207c0.js} +2 -2
- package/dist/{megamenu-category-link-group-06a95043.js → megamenu-category-link-group-fab7d32b.js} +3 -3
- package/dist/{megamenu-left-navigation-382f79e5.js → megamenu-left-navigation-3261efc4.js} +2 -2
- package/dist/{megamenu-left-navigation-7796fe5e.js → megamenu-left-navigation-aa21b272.js} +3 -3
- package/dist/{megamenu-overlay-d33c2656.js → megamenu-overlay-b94c501b.js} +3 -3
- package/dist/{megamenu-overlay-327917c7.js → megamenu-overlay-f36f4113.js} +2 -2
- package/dist/{megamenu-tab-819a92be.js → megamenu-tab-21e4c36e.js} +2 -2
- package/dist/{megamenu-tab-d7354c99.js → megamenu-tab-6fd6b915.js} +3 -3
- package/es/components/content-block-simple/content-block-simple.css.js +1 -1
- package/es/components/masthead/masthead-composite.d.ts +2 -1
- package/es/components/masthead/masthead-composite.js +14 -9
- package/es/components/masthead/masthead-composite.js.map +1 -1
- package/es/components/masthead/masthead.css.js +1 -1
- package/es/components/masthead/megamenu-language-selector.css.js +12 -0
- package/es/components/masthead/megamenu-language-selector.d.ts +374 -0
- package/es/components/masthead/megamenu-language-selector.js +551 -0
- package/es/components/masthead/megamenu-language-selector.js.map +1 -0
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/lib/component-mixins/callout/defs.js +16 -16
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/package.json +7 -6
- package/scss/components/content-block-simple/content-block-simple.scss +38 -1
- package/scss/components/masthead/masthead.scss +2 -3
- package/scss/components/masthead/megamenu-language-selector.scss +170 -0
- package/telemetry.yml +539 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2020
|
|
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 { css } from 'lit';
|
|
10
|
+
export default css([
|
|
11
|
+
':host{display:block;position:relative}.earth-language-icon{align-items:center;color:var(--cds-icon-secondary,#525252);cursor:pointer;display:flex;justify-content:center;padding:1rem;padding-block-end:14px}.earth-language-icon svg{margin-block-start:-2px}.earth-language-icon:active,.earth-language-icon:hover{background:var(--cds-background-hover,hsla(0,0%,55%,.12));color:var(--cds-icon-primary,#161616)}.earth-language-icon:active,.earth-language-icon:focus{outline:2px solid var(--cds-button-primary,#0f62fe);outline-offset:-2px}.earth-language-icon[aria-expanded=true]{color:var(--cds-icon-secondary,#525252);outline:2px solid var(--cds-focus,#0f62fe)}.earth-language-icon[aria-expanded=true]:hover{background-color:var(--cds-background-selected,hsla(0,0%,55%,.2));color:var(--cds-icon-primary,#161616)}#countrySwitcher{inset-block-start:.2vh;inset-inline:auto 0;position:absolute;z-index:1000}#countryDropdown{background-color:#fff;border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.3);inline-size:320px;margin-block-start:calc(var(--c4d-masthead-l0-bottom-edge, 3rem) + 1px);max-block-size:calc(100vh - var(--cds-spacing-09, 3rem) - var(--cds-layout-05, 4rem));overflow:hidden auto}#countryDropdown.hidden{display:none}@media (min-width:320px) and (max-width:671px){#countryDropdown{block-size:calc(100% - 1px - 3rem);inline-size:100vw;inset-block:0;inset-inline-start:0;max-inline-size:100vw;position:fixed;will-change:inline-size;z-index:8000}}.current-region-container{background:var(--cds-background-inverse,#393939)}.current-region-container .current-region-label{border-block-end-width:1px;color:var(--cds-text-on-color,#fff);font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);padding:15px 16px}.current-region-container .current-region-value{border-block-end-width:1px;color:var(--cds-text-on-color,#fff);font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572);padding:0 16px 15px}.region-selection{background:var(--cds-background,#fff);border-block-end:1px solid var(--cds-border-subtle-01,#c6c6c6);color:var(--cds-text-primary,#161616);font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333);padding:15px 16px}.region-list-container{background:#fff;list-style:none;margin:0;padding:0}.region-list-container li{background:var(--cds-background,#fff);border-block-end:1px solid var(--cds-border-subtle-01,#c6c6c6);cursor:pointer;font-size:14px;padding:15px 16px}.region-list-container li:hover{background:var(--cds-background-hover,hsla(0,0%,55%,.12))}.region-list-container li:active,.region-list-container li:focus{outline:2px solid var(--cds-button-primary,#0f62fe);outline-offset:-2px}.region-list-container li:active{background:var(--cds-background-selected,hsla(0,0%,55%,.2));color:var(--cds-text-primary,#161616);font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);line-height:var(--cds-body-compact-01-line-height,1.28572)}@media (min-width:320px) and (max-width:799px){:host-context(c4d-masthead-container) c4d-masthead c4d-masthead-global-bar c4d-masthead-contact{display:none!important}}',
|
|
12
|
+
]);
|
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2020, 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
|
+
declare const C4DMegaMenuLanguageSelector_base: {
|
|
11
|
+
new (...args: any[]): {
|
|
12
|
+
linkNode: any;
|
|
13
|
+
altAttributes: any;
|
|
14
|
+
_mutationObserver: MutationObserver | null;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
transposeAttributes(linkNodeArg?: any, altAttributesArg?: any): void;
|
|
18
|
+
_cleanAndCreateMutationObserver({ create }?: {
|
|
19
|
+
create?: boolean;
|
|
20
|
+
}): void;
|
|
21
|
+
accessKey: string;
|
|
22
|
+
readonly accessKeyLabel: string;
|
|
23
|
+
autocapitalize: string;
|
|
24
|
+
dir: string;
|
|
25
|
+
draggable: boolean;
|
|
26
|
+
hidden: boolean;
|
|
27
|
+
inert: boolean;
|
|
28
|
+
innerText: string;
|
|
29
|
+
lang: string;
|
|
30
|
+
readonly offsetHeight: number;
|
|
31
|
+
readonly offsetLeft: number;
|
|
32
|
+
readonly offsetParent: Element | null;
|
|
33
|
+
readonly offsetTop: number;
|
|
34
|
+
readonly offsetWidth: number;
|
|
35
|
+
outerText: string;
|
|
36
|
+
popover: string | null;
|
|
37
|
+
spellcheck: boolean;
|
|
38
|
+
title: string;
|
|
39
|
+
translate: boolean;
|
|
40
|
+
attachInternals(): ElementInternals;
|
|
41
|
+
click(): void;
|
|
42
|
+
hidePopover(): void;
|
|
43
|
+
showPopover(): void;
|
|
44
|
+
togglePopover(force?: boolean): boolean;
|
|
45
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
46
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
47
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
48
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
49
|
+
readonly attributes: NamedNodeMap;
|
|
50
|
+
readonly classList: DOMTokenList;
|
|
51
|
+
className: string;
|
|
52
|
+
readonly clientHeight: number;
|
|
53
|
+
readonly clientLeft: number;
|
|
54
|
+
readonly clientTop: number;
|
|
55
|
+
readonly clientWidth: number;
|
|
56
|
+
id: 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
|
+
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, text: 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(): 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 extends Node>(node: T): T;
|
|
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 extends Node>(node: T, child: Node | null): T;
|
|
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 extends Node>(child: T): T;
|
|
152
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
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
|
+
ariaColSpan: string | null;
|
|
181
|
+
ariaCurrent: string | null;
|
|
182
|
+
ariaDescription: string | null;
|
|
183
|
+
ariaDisabled: string | null;
|
|
184
|
+
ariaExpanded: string | null;
|
|
185
|
+
ariaHasPopup: string | null;
|
|
186
|
+
ariaHidden: string | null;
|
|
187
|
+
ariaInvalid: string | null;
|
|
188
|
+
ariaKeyShortcuts: string | null;
|
|
189
|
+
ariaLabel: string | null;
|
|
190
|
+
ariaLevel: string | null;
|
|
191
|
+
ariaLive: string | null;
|
|
192
|
+
ariaModal: string | null;
|
|
193
|
+
ariaMultiLine: string | null;
|
|
194
|
+
ariaMultiSelectable: string | null;
|
|
195
|
+
ariaOrientation: string | null;
|
|
196
|
+
ariaPlaceholder: string | null;
|
|
197
|
+
ariaPosInSet: string | null;
|
|
198
|
+
ariaPressed: string | null;
|
|
199
|
+
ariaReadOnly: string | null;
|
|
200
|
+
ariaRequired: string | null;
|
|
201
|
+
ariaRoleDescription: string | null;
|
|
202
|
+
ariaRowCount: string | null;
|
|
203
|
+
ariaRowIndex: string | null;
|
|
204
|
+
ariaRowSpan: string | null;
|
|
205
|
+
ariaSelected: string | null;
|
|
206
|
+
ariaSetSize: string | null;
|
|
207
|
+
ariaSort: string | null;
|
|
208
|
+
ariaValueMax: string | null;
|
|
209
|
+
ariaValueMin: string | null;
|
|
210
|
+
ariaValueNow: string | null;
|
|
211
|
+
ariaValueText: string | null;
|
|
212
|
+
role: string | null;
|
|
213
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
214
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
215
|
+
after(...nodes: (Node | string)[]): void;
|
|
216
|
+
before(...nodes: (Node | string)[]): void;
|
|
217
|
+
remove(): void;
|
|
218
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
219
|
+
innerHTML: string;
|
|
220
|
+
readonly nextElementSibling: Element | null;
|
|
221
|
+
readonly previousElementSibling: Element | null;
|
|
222
|
+
readonly childElementCount: number;
|
|
223
|
+
readonly children: HTMLCollection;
|
|
224
|
+
readonly firstElementChild: Element | null;
|
|
225
|
+
readonly lastElementChild: Element | null;
|
|
226
|
+
append(...nodes: (Node | string)[]): void;
|
|
227
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
228
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
229
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
230
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
231
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
232
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
233
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
234
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
235
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
236
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
237
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
238
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
239
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
240
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
241
|
+
readonly style: CSSStyleDeclaration;
|
|
242
|
+
contentEditable: string;
|
|
243
|
+
enterKeyHint: string;
|
|
244
|
+
inputMode: string;
|
|
245
|
+
readonly isContentEditable: boolean;
|
|
246
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
247
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
248
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
249
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
250
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
251
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
252
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
253
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
255
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
260
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
262
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
263
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
264
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
265
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
266
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
267
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
268
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
269
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
270
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
271
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
272
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
273
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
|
+
onerror: OnErrorEventHandler;
|
|
277
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
278
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
279
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
280
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
281
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
283
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
284
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
285
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
286
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
287
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
288
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
290
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
291
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
292
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
293
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
294
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
295
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
296
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
297
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
298
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
302
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
303
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
304
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
307
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
308
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
309
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
310
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
313
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
316
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
321
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
323
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
324
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
328
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
329
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
330
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
331
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
332
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
333
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
334
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
335
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
337
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
338
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
339
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
340
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
341
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
342
|
+
autofocus: boolean;
|
|
343
|
+
readonly dataset: DOMStringMap;
|
|
344
|
+
nonce?: string;
|
|
345
|
+
tabIndex: number;
|
|
346
|
+
blur(): void;
|
|
347
|
+
focus(options?: FocusOptions): void;
|
|
348
|
+
};
|
|
349
|
+
stableSelector: string;
|
|
350
|
+
} & typeof LitElement;
|
|
351
|
+
declare class C4DMegaMenuLanguageSelector extends C4DMegaMenuLanguageSelector_base {
|
|
352
|
+
isCountryDropdownOpen: boolean;
|
|
353
|
+
/** Dropdown visibility */
|
|
354
|
+
private dropdownOpen;
|
|
355
|
+
/** Categorized Links */
|
|
356
|
+
private categorizedLinks;
|
|
357
|
+
/** Current region info */
|
|
358
|
+
private currentRegion;
|
|
359
|
+
private countryLanguageMap;
|
|
360
|
+
protected capitalize(text: string): string;
|
|
361
|
+
protected capitalizeWords(text: string): string;
|
|
362
|
+
protected getCurrentRegion(): {
|
|
363
|
+
country: string;
|
|
364
|
+
language: string;
|
|
365
|
+
};
|
|
366
|
+
protected categorizeLinks(): any[];
|
|
367
|
+
private toggleDropdown;
|
|
368
|
+
firstUpdated(): void;
|
|
369
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
370
|
+
static styles: any;
|
|
371
|
+
}
|
|
372
|
+
export default C4DMegaMenuLanguageSelector;
|
|
373
|
+
|
|
374
|
+
//# sourceMappingURL=megamenu-language-selector.d.ts.map
|