@lion/ui 0.6.0-alpha.3 → 0.6.0-alpha.5
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/components/core/src/ScopedElementsMixin.js +2 -0
- package/components/core/src/SlotMixin.js +5 -0
- package/components/core/src/browserDetection.js +1 -0
- package/components/core/src/types.ts +19 -0
- package/components/core/test/SlotMixin.test.js +79 -1
- package/components/core/types/SlotMixinTypes.ts +8 -1
- package/components/input-stepper/src/LionInputStepper.js +4 -1
- package/components/input-tel-dropdown/test/LionInputTelDropdown.test.js +14 -6
- package/components/overlays/test/local-positioning.test.js +13 -4
- package/components/textarea/src/LionTextarea.js +2 -2
- package/components/textarea/test/lion-textarea.test.js +6 -17
- package/custom-elements.json +67 -1
- package/dist-types/components/core/src/ScopedElementsMixin.d.ts +3 -352
- package/dist-types/components/core/src/ScopedElementsMixin.d.ts.map +1 -1
- package/dist-types/components/core/src/SlotMixin.d.ts.map +1 -1
- package/dist-types/components/core/src/browserDetection.d.ts +1 -0
- package/dist-types/components/core/src/types.d.ts +15 -0
- package/dist-types/components/core/src/types.d.ts.map +1 -0
- package/dist-types/components/core/types/SlotMixinTypes.d.ts +8 -1
- package/dist-types/components/core/types/SlotMixinTypes.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -356
- package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts.map +1 -1
- package/dist-types/components/input-file/src/LionInputFile.d.ts +1 -349
- package/dist-types/components/input-file/src/LionInputFile.d.ts.map +1 -1
- package/dist-types/components/input-file/src/LionSelectedFileList.d.ts +1 -345
- package/dist-types/components/input-file/src/LionSelectedFileList.d.ts.map +1 -1
- package/dist-types/components/input-stepper/src/LionInputStepper.d.ts.map +1 -1
- package/dist-types/components/overlays/test/local-positioning.test.d.ts.map +1 -1
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts +1 -345
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
- package/dist-types/components/switch/src/LionSwitch.d.ts +2 -348
- package/dist-types/components/switch/src/LionSwitch.d.ts.map +1 -1
- package/dist-types/components/textarea/src/LionTextarea.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select-rich/use-cases.md +1 -1
- package/docs/components/tabs/examples.md +1 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
- package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +8 -1
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +1 -1
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/scoped-elements.md +17 -14
- package/docs/guides/principles/styling.md +1 -1
- package/package.json +2 -2
|
@@ -1,359 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @template {LitElementConstructor} T
|
|
3
3
|
* @param {T} superclass
|
|
4
|
+
* @return {T & ScopedElementsHostConstructor & ScopedElementsHostV2Constructor}
|
|
4
5
|
*/
|
|
5
|
-
export function ScopedElementsMixin<T extends LitElementConstructor>(superclass: T):
|
|
6
|
-
new (...args: any[]): {
|
|
7
|
-
createScopedElement(tagName: string): any;
|
|
8
|
-
/**
|
|
9
|
-
* Defines a scoped element.
|
|
10
|
-
*
|
|
11
|
-
* @param {string} tagName
|
|
12
|
-
* @param {typeof HTMLElement} klass
|
|
13
|
-
*/
|
|
14
|
-
defineScopedElement(tagName: string, klass: typeof HTMLElement): any;
|
|
15
|
-
/**
|
|
16
|
-
* @param {ShadowRootInit} options
|
|
17
|
-
* @returns {ShadowRoot}
|
|
18
|
-
*/
|
|
19
|
-
attachShadow(options: ShadowRootInit): ShadowRoot;
|
|
20
|
-
registry: any;
|
|
21
|
-
createRenderRoot(): ShadowRoot;
|
|
22
|
-
readonly renderOptions: import("lit-html").RenderOptions;
|
|
23
|
-
__childPart: any;
|
|
24
|
-
update(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
25
|
-
connectedCallback(): void;
|
|
26
|
-
disconnectedCallback(): void;
|
|
27
|
-
render(): unknown;
|
|
28
|
-
__instanceProperties?: any;
|
|
29
|
-
readonly renderRoot: HTMLElement | DocumentFragment;
|
|
30
|
-
__updatePromise: any;
|
|
31
|
-
isUpdatePending: boolean;
|
|
32
|
-
hasUpdated: boolean;
|
|
33
|
-
__reflectingProperties?: any;
|
|
34
|
-
__reflectingProperty: any;
|
|
35
|
-
__controllers?: any;
|
|
36
|
-
__initialize: any;
|
|
37
|
-
addController(controller: import("lit").ReactiveController): void;
|
|
38
|
-
removeController(controller: import("lit").ReactiveController): void;
|
|
39
|
-
__saveInstanceProperties: any;
|
|
40
|
-
enableUpdating(_requestedUpdate: boolean): void;
|
|
41
|
-
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
42
|
-
__propertyToAttribute: any;
|
|
43
|
-
requestUpdate(name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined): void;
|
|
44
|
-
__enqueueUpdate: any;
|
|
45
|
-
scheduleUpdate(): void | Promise<unknown>;
|
|
46
|
-
performUpdate(): void;
|
|
47
|
-
willUpdate(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
48
|
-
__markUpdated: any;
|
|
49
|
-
readonly updateComplete: Promise<boolean>;
|
|
50
|
-
getUpdateComplete(): Promise<boolean>;
|
|
51
|
-
shouldUpdate(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): boolean;
|
|
52
|
-
updated(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
53
|
-
firstUpdated(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
54
|
-
accessKey: string;
|
|
55
|
-
readonly accessKeyLabel: string;
|
|
56
|
-
autocapitalize: string;
|
|
57
|
-
dir: string;
|
|
58
|
-
draggable: boolean;
|
|
59
|
-
hidden: boolean;
|
|
60
|
-
inert: boolean;
|
|
61
|
-
innerText: string;
|
|
62
|
-
lang: string;
|
|
63
|
-
readonly offsetHeight: number;
|
|
64
|
-
readonly offsetLeft: number;
|
|
65
|
-
readonly offsetParent: Element | null;
|
|
66
|
-
readonly offsetTop: number;
|
|
67
|
-
readonly offsetWidth: number;
|
|
68
|
-
outerText: string;
|
|
69
|
-
spellcheck: boolean;
|
|
70
|
-
title: string;
|
|
71
|
-
translate: boolean;
|
|
72
|
-
attachInternals(): ElementInternals;
|
|
73
|
-
click(): void;
|
|
74
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
75
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
76
|
-
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
77
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
78
|
-
readonly attributes: NamedNodeMap;
|
|
79
|
-
readonly classList: DOMTokenList;
|
|
80
|
-
className: string;
|
|
81
|
-
readonly clientHeight: number;
|
|
82
|
-
readonly clientLeft: number;
|
|
83
|
-
readonly clientTop: number;
|
|
84
|
-
readonly clientWidth: number;
|
|
85
|
-
id: string;
|
|
86
|
-
readonly localName: string;
|
|
87
|
-
readonly namespaceURI: string | null;
|
|
88
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
89
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
90
|
-
outerHTML: string;
|
|
91
|
-
readonly ownerDocument: Document;
|
|
92
|
-
readonly part: DOMTokenList;
|
|
93
|
-
readonly prefix: string | null;
|
|
94
|
-
readonly scrollHeight: number;
|
|
95
|
-
scrollLeft: number;
|
|
96
|
-
scrollTop: number;
|
|
97
|
-
readonly scrollWidth: number;
|
|
98
|
-
readonly shadowRoot: ShadowRoot | null;
|
|
99
|
-
slot: string;
|
|
100
|
-
readonly tagName: string;
|
|
101
|
-
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
102
|
-
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
103
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
|
104
|
-
getAttribute(qualifiedName: string): string | null;
|
|
105
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
106
|
-
getAttributeNames(): string[];
|
|
107
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
|
108
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
109
|
-
getBoundingClientRect(): DOMRect;
|
|
110
|
-
getClientRects(): DOMRectList;
|
|
111
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
112
|
-
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
113
|
-
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
114
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
115
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
116
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
117
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
118
|
-
hasAttribute(qualifiedName: string): boolean;
|
|
119
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
120
|
-
hasAttributes(): boolean;
|
|
121
|
-
hasPointerCapture(pointerId: number): boolean;
|
|
122
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
123
|
-
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
124
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
125
|
-
matches(selectors: string): boolean;
|
|
126
|
-
releasePointerCapture(pointerId: number): void;
|
|
127
|
-
removeAttribute(qualifiedName: string): void;
|
|
128
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
129
|
-
removeAttributeNode(attr: Attr): Attr;
|
|
130
|
-
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
131
|
-
requestPointerLock(): void;
|
|
132
|
-
scroll(options?: ScrollToOptions | undefined): void;
|
|
133
|
-
scroll(x: number, y: number): void;
|
|
134
|
-
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
135
|
-
scrollBy(x: number, y: number): void;
|
|
136
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
137
|
-
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
138
|
-
scrollTo(x: number, y: number): void;
|
|
139
|
-
setAttribute(qualifiedName: string, value: string): void;
|
|
140
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
141
|
-
setAttributeNode(attr: Attr): Attr | null;
|
|
142
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
143
|
-
setPointerCapture(pointerId: number): void;
|
|
144
|
-
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
145
|
-
webkitMatchesSelector(selectors: string): boolean;
|
|
146
|
-
readonly baseURI: string;
|
|
147
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
148
|
-
readonly firstChild: ChildNode | null;
|
|
149
|
-
readonly isConnected: boolean;
|
|
150
|
-
readonly lastChild: ChildNode | null;
|
|
151
|
-
readonly nextSibling: ChildNode | null;
|
|
152
|
-
readonly nodeName: string;
|
|
153
|
-
readonly nodeType: number;
|
|
154
|
-
nodeValue: string | null;
|
|
155
|
-
readonly parentElement: HTMLElement | null;
|
|
156
|
-
readonly parentNode: ParentNode | null;
|
|
157
|
-
readonly previousSibling: ChildNode | null;
|
|
158
|
-
textContent: string | null;
|
|
159
|
-
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
160
|
-
cloneNode(deep?: boolean | undefined): Node;
|
|
161
|
-
compareDocumentPosition(other: Node): number;
|
|
162
|
-
contains(other: Node | null): boolean;
|
|
163
|
-
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
164
|
-
hasChildNodes(): boolean;
|
|
165
|
-
insertBefore<T_2 extends Node>(node: T_2, child: Node | null): T_2;
|
|
166
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
|
167
|
-
isEqualNode(otherNode: Node | null): boolean;
|
|
168
|
-
isSameNode(otherNode: Node | null): boolean;
|
|
169
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
|
170
|
-
lookupPrefix(namespace: string | null): string | null;
|
|
171
|
-
normalize(): void;
|
|
172
|
-
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
173
|
-
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
174
|
-
readonly ATTRIBUTE_NODE: number;
|
|
175
|
-
readonly CDATA_SECTION_NODE: number;
|
|
176
|
-
readonly COMMENT_NODE: number;
|
|
177
|
-
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
178
|
-
readonly DOCUMENT_NODE: number;
|
|
179
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
180
|
-
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
181
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
182
|
-
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
183
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
184
|
-
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
185
|
-
readonly DOCUMENT_TYPE_NODE: number;
|
|
186
|
-
readonly ELEMENT_NODE: number;
|
|
187
|
-
readonly ENTITY_NODE: number;
|
|
188
|
-
readonly ENTITY_REFERENCE_NODE: number;
|
|
189
|
-
readonly NOTATION_NODE: number;
|
|
190
|
-
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
191
|
-
readonly TEXT_NODE: number;
|
|
192
|
-
dispatchEvent(event: Event): boolean;
|
|
193
|
-
ariaAtomic: string | null;
|
|
194
|
-
ariaAutoComplete: string | null;
|
|
195
|
-
ariaBusy: string | null;
|
|
196
|
-
ariaChecked: string | null;
|
|
197
|
-
ariaColCount: string | null;
|
|
198
|
-
ariaColIndex: string | null;
|
|
199
|
-
ariaColSpan: string | null;
|
|
200
|
-
ariaCurrent: string | null;
|
|
201
|
-
ariaDisabled: string | null;
|
|
202
|
-
ariaExpanded: string | null;
|
|
203
|
-
ariaHasPopup: string | null;
|
|
204
|
-
ariaHidden: string | null;
|
|
205
|
-
ariaKeyShortcuts: string | null;
|
|
206
|
-
ariaLabel: string | null;
|
|
207
|
-
ariaLevel: string | null;
|
|
208
|
-
ariaLive: string | null;
|
|
209
|
-
ariaModal: string | null;
|
|
210
|
-
ariaMultiLine: string | null;
|
|
211
|
-
ariaMultiSelectable: string | null;
|
|
212
|
-
ariaOrientation: string | null;
|
|
213
|
-
ariaPlaceholder: string | null;
|
|
214
|
-
ariaPosInSet: string | null;
|
|
215
|
-
ariaPressed: string | null;
|
|
216
|
-
ariaReadOnly: string | null;
|
|
217
|
-
ariaRequired: string | null;
|
|
218
|
-
ariaRoleDescription: string | null;
|
|
219
|
-
ariaRowCount: string | null;
|
|
220
|
-
ariaRowIndex: string | null;
|
|
221
|
-
ariaRowSpan: string | null;
|
|
222
|
-
ariaSelected: string | null;
|
|
223
|
-
ariaSetSize: string | null;
|
|
224
|
-
ariaSort: string | null;
|
|
225
|
-
ariaValueMax: string | null;
|
|
226
|
-
ariaValueMin: string | null;
|
|
227
|
-
ariaValueNow: string | null;
|
|
228
|
-
ariaValueText: string | null;
|
|
229
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
230
|
-
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
231
|
-
after(...nodes: (string | Node)[]): void;
|
|
232
|
-
before(...nodes: (string | Node)[]): void;
|
|
233
|
-
remove(): void;
|
|
234
|
-
replaceWith(...nodes: (string | Node)[]): void;
|
|
235
|
-
innerHTML: string;
|
|
236
|
-
readonly nextElementSibling: Element | null;
|
|
237
|
-
readonly previousElementSibling: Element | null;
|
|
238
|
-
readonly childElementCount: number;
|
|
239
|
-
readonly children: HTMLCollection;
|
|
240
|
-
readonly firstElementChild: Element | null;
|
|
241
|
-
readonly lastElementChild: Element | null;
|
|
242
|
-
append(...nodes: (string | Node)[]): void;
|
|
243
|
-
prepend(...nodes: (string | Node)[]): void;
|
|
244
|
-
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
|
|
245
|
-
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
|
|
246
|
-
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
247
|
-
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
248
|
-
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
249
|
-
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
250
|
-
replaceChildren(...nodes: (string | Node)[]): void;
|
|
251
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
252
|
-
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
253
|
-
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
254
|
-
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
255
|
-
readonly style: CSSStyleDeclaration;
|
|
256
|
-
contentEditable: string;
|
|
257
|
-
enterKeyHint: string;
|
|
258
|
-
inputMode: string;
|
|
259
|
-
readonly isContentEditable: boolean;
|
|
260
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
261
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
262
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
263
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
264
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
265
|
-
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
266
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
267
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
|
-
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
271
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
273
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
275
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
276
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
277
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
278
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
279
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
280
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
281
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
282
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
|
-
onerror: OnErrorEventHandler;
|
|
286
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
287
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
288
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
289
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
291
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
292
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
293
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
294
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
300
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
301
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
302
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
303
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
304
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
305
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
306
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
310
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
311
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
312
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
313
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
314
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
315
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
316
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
317
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
318
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
321
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
323
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
324
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
331
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
-
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
335
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
336
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
337
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
338
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
339
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
340
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
341
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
342
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
343
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
344
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
345
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
346
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
347
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
348
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
349
|
-
autofocus: boolean;
|
|
350
|
-
readonly dataset: DOMStringMap;
|
|
351
|
-
nonce?: string | undefined;
|
|
352
|
-
tabIndex: number;
|
|
353
|
-
blur(): void;
|
|
354
|
-
focus(options?: FocusOptions | undefined): void;
|
|
355
|
-
};
|
|
356
|
-
} & T;
|
|
6
|
+
export function ScopedElementsMixin<T extends LitElementConstructor>(superclass: T): T & ScopedElementsHostConstructor & import("./types.js").ScopedElementsHostV2Constructor;
|
|
357
7
|
export type ScopedElementsHost = import('@open-wc/scoped-elements/lit-element.js').ScopedElementsHost;
|
|
358
8
|
export type ScopedElementsMap = import('../../form-core/types/validate/ValidateMixinTypes.js').ScopedElementsMap;
|
|
359
9
|
export type CSSResultOrNative = import('lit').CSSResultOrNative;
|
|
@@ -361,4 +11,5 @@ export type LitElement = import('lit').LitElement;
|
|
|
361
11
|
export type TypeofLitElement = typeof import('lit').LitElement;
|
|
362
12
|
export type LitElementConstructor = import('@open-wc/dedupe-mixin').Constructor<LitElement>;
|
|
363
13
|
export type ScopedElementsHostConstructor = import('@open-wc/dedupe-mixin').Constructor<ScopedElementsHost>;
|
|
14
|
+
export type ScopedElementsHostV2Constructor = import('./types.js').ScopedElementsHostV2Constructor;
|
|
364
15
|
//# sourceMappingURL=ScopedElementsMixin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScopedElementsMixin.d.ts","sourceRoot":"","sources":["../../../../components/core/src/ScopedElementsMixin.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScopedElementsMixin.d.ts","sourceRoot":"","sources":["../../../../components/core/src/ScopedElementsMixin.js"],"names":[],"mappings":"AA6CA;;;;GAIG;AACH,8KA+FG;iCAnHU,OAAO,yCAAyC,EAAE,kBAAkB;gCACpE,OAAO,sDAAsD,EAAE,iBAAiB;gCAChF,OAAO,KAAK,EAAE,iBAAiB;yBAC/B,OAAO,KAAK,EAAE,UAAU;+BACxB,cAAc,KAAK,EAAE,UAAU;oCAC/B,OAAO,uBAAuB,EAAE,WAAW,CAAC,UAAU,CAAC;4CACvD,OAAO,uBAAuB,EAAE,WAAW,CAAC,kBAAkB,CAAC;8CAC/D,OAAO,YAAY,EAAE,+BAA+B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlotMixin.d.ts","sourceRoot":"","sources":["../../../../components/core/src/SlotMixin.js"],"names":[],"mappings":"wBAMa,OAAO,4BAA4B,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"SlotMixin.d.ts","sourceRoot":"","sources":["../../../../components/core/src/SlotMixin.js"],"names":[],"mappings":"wBAMa,OAAO,4BAA4B,EAAE,SAAS;AAmP3D,4nBAA8D;uBAlPjD,OAAO,4BAA4B,EAAE,QAAQ;iCAC7C,OAAO,4BAA4B,EAAE,kBAAkB;iCACvD,OAAO,4BAA4B,EAAE,kBAAkB;yBACvD,OAAO,KAAK,EAAE,UAAU"}
|
|
@@ -3,6 +3,7 @@ export namespace browserDetection {
|
|
|
3
3
|
const isChrome: boolean | RegExpMatchArray | null | undefined;
|
|
4
4
|
const isIOSChrome: boolean | RegExpMatchArray | null | undefined;
|
|
5
5
|
const isChromium: boolean | RegExpMatchArray | null | undefined;
|
|
6
|
+
const isFirefox: boolean;
|
|
6
7
|
const isMac: boolean;
|
|
7
8
|
const isIOS: boolean;
|
|
8
9
|
const isMacSafari: boolean | "";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Constructor } from '@open-wc/dedupe-mixin';
|
|
2
|
+
export declare class ScopedElementsHostV2 {
|
|
3
|
+
/**
|
|
4
|
+
* Defines a scoped element inside the CustomElementRegistry bound to the shadowRoot.
|
|
5
|
+
*/
|
|
6
|
+
defineScopedElement<T extends HTMLElement>(tagName: string, klass: Constructor<T>): void;
|
|
7
|
+
/**
|
|
8
|
+
* Create a scoped element inside the CustomElementRegistry bound to the shadowRoot.
|
|
9
|
+
*
|
|
10
|
+
* @param tagName string The tag name of the element to create
|
|
11
|
+
*/
|
|
12
|
+
createScopedElement(tagName: string): HTMLElement;
|
|
13
|
+
}
|
|
14
|
+
export declare type ScopedElementsHostV2Constructor = Constructor<ScopedElementsHostV2>;
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/core/src/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,CAAC,OAAO,OAAO,oBAAoB;IACvC;;OAEG;IACH,mBAAmB,CAAC,CAAC,SAAS,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,IAAI;IAExF;;;;OAIG;IACH,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW;CAClD;AAED,oBAAY,+BAA+B,GAAG,WAAW,CAAC,oBAAoB,CAAC,CAAC"}
|
|
@@ -7,9 +7,16 @@ export declare type SlotRerenderObject = {
|
|
|
7
7
|
template: TemplateResult;
|
|
8
8
|
/**
|
|
9
9
|
* Add logic that will be performed after the render
|
|
10
|
-
* @deprecated
|
|
10
|
+
* @deprecated use regular ReactiveElement/LitElement reactive cycle callbacks instead
|
|
11
11
|
*/
|
|
12
12
|
afterRender?: Function;
|
|
13
|
+
/**
|
|
14
|
+
* For backward compat with traditional light render methods,
|
|
15
|
+
* it might be needed to have slot contents available in `connectedCallback`.
|
|
16
|
+
* Only enable this for existing components that rely on light content availability in connectedCallback.
|
|
17
|
+
* For new components, please align with ReactiveElement/LitElement reactive cycle callbacks.
|
|
18
|
+
*/
|
|
19
|
+
firstRenderOnConnected?: boolean;
|
|
13
20
|
};
|
|
14
21
|
export declare type SlotFunctionResult = TemplateResult | Element | SlotRerenderObject | undefined;
|
|
15
22
|
declare function slotFunction(): SlotFunctionResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlotMixinTypes.d.ts","sourceRoot":"","sources":["../../../../components/core/types/SlotMixinTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjD;;GAEG;AACH,oBAAY,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB;;;OAGG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"SlotMixinTypes.d.ts","sourceRoot":"","sources":["../../../../components/core/types/SlotMixinTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjD;;GAEG;AACH,oBAAY,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB;;;OAGG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,oBAAY,kBAAkB,GAAG,cAAc,GAAG,OAAO,GAAG,kBAAkB,GAAG,SAAS,CAAC;AAE3F,OAAO,UAAU,YAAY,IAAI,kBAAkB,CAAC;AAEpD,oBAAY,QAAQ,GAAG;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,YAAY,CAAC;CACpC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC3B;;OAEG;IACH,IAAW,KAAK,IAAI,QAAQ,CAAC;IAE7B;;OAEG;IACH,SAAS,CAAC,iBAAiB,IAAI,IAAI;IAEnC;;;;;;OAMG;IACH,SAAS,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAEnD,iBAAiB,IAAI,IAAI;CAC1B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,UAAU,uBAAuB,CAAC,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EACxE,UAAU,EAAE,CAAC,GACZ,CAAC,GACF,WAAW,CAAC,QAAQ,CAAC,GACrB,IAAI,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC,GAC5C,IAAI,CAAC,OAAO,UAAU,EAAE,MAAM,OAAO,UAAU,CAAC,CAAC;AAEnD,oBAAY,SAAS,GAAG,OAAO,uBAAuB,CAAC"}
|