@lion/ui 0.6.0-alpha.0 → 0.6.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/components/core/src/ScopedElementsMixin.js +146 -0
  2. package/components/core/test/SlotMixin.test.js +9 -9
  3. package/components/form-core/src/validate/ValidateMixin.js +1 -1
  4. package/components/form-core/types/validate/ValidateMixinTypes.ts +14 -1
  5. package/components/input-datepicker/src/LionInputDatepicker.js +1 -1
  6. package/components/input-file/src/LionInputFile.js +1 -1
  7. package/components/input-file/src/LionSelectedFileList.js +1 -1
  8. package/components/input-tel-dropdown/test/LionInputTelDropdown.test.js +2 -1
  9. package/components/listbox/src/ListboxMixin.js +1 -1
  10. package/components/overlays/test/local-positioning.test.js +4 -2
  11. package/components/select-rich/src/LionSelectRich.js +1 -1
  12. package/components/switch/src/LionSwitch.js +1 -1
  13. package/components/textarea/test/lion-textarea.test.js +4 -2
  14. package/components/validate-messages/src/getLocalizedMessage.js +111 -0
  15. package/components/validate-messages/src/loadDefaultFeedbackMessagesNoSideEffects.js +9 -179
  16. package/components/validate-messages/src/per-entrypoint/README.md +16 -0
  17. package/components/validate-messages/src/per-entrypoint/loadComboboxMessagesNoSideEffects.js +22 -0
  18. package/components/validate-messages/src/per-entrypoint/loadFormCoreMessagesNoSideEffects.js +77 -0
  19. package/components/validate-messages/src/per-entrypoint/loadInputTelMessagesNoSideEffects.js +39 -0
  20. package/components/validate-messages/translations/fr.js +2 -2
  21. package/custom-elements.json +2128 -7
  22. package/dist-types/components/core/src/ScopedElementsMixin.d.ts +364 -0
  23. package/dist-types/components/core/src/ScopedElementsMixin.d.ts.map +1 -0
  24. package/dist-types/components/form-core/src/LionField.d.ts +1 -1
  25. package/dist-types/components/form-core/types/validate/ValidateMixinTypes.d.ts +13 -1
  26. package/dist-types/components/form-core/types/validate/ValidateMixinTypes.d.ts.map +1 -1
  27. package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +356 -1
  28. package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts.map +1 -1
  29. package/dist-types/components/input-file/src/LionInputFile.d.ts +349 -1
  30. package/dist-types/components/input-file/src/LionInputFile.d.ts.map +1 -1
  31. package/dist-types/components/input-file/src/LionSelectedFileList.d.ts +345 -1
  32. package/dist-types/components/input-file/src/LionSelectedFileList.d.ts.map +1 -1
  33. package/dist-types/components/listbox/src/LionListbox.d.ts +1 -1
  34. package/dist-types/components/select-rich/src/LionSelectRich.d.ts +345 -1
  35. package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
  36. package/dist-types/components/switch/src/LionSwitch.d.ts +348 -2
  37. package/dist-types/components/switch/src/LionSwitch.d.ts.map +1 -1
  38. package/dist-types/components/validate-messages/src/getLocalizedMessage.d.ts +13 -0
  39. package/dist-types/components/validate-messages/src/getLocalizedMessage.d.ts.map +1 -0
  40. package/dist-types/components/validate-messages/src/loadDefaultFeedbackMessagesNoSideEffects.d.ts.map +1 -1
  41. package/dist-types/components/validate-messages/src/per-entrypoint/loadComboboxMessagesNoSideEffects.d.ts +9 -0
  42. package/dist-types/components/validate-messages/src/per-entrypoint/loadComboboxMessagesNoSideEffects.d.ts.map +1 -0
  43. package/dist-types/components/validate-messages/src/per-entrypoint/loadFormCoreMessagesNoSideEffects.d.ts +9 -0
  44. package/dist-types/components/validate-messages/src/per-entrypoint/loadFormCoreMessagesNoSideEffects.d.ts.map +1 -0
  45. package/dist-types/components/validate-messages/src/per-entrypoint/loadInputTelMessagesNoSideEffects.d.ts +9 -0
  46. package/dist-types/components/validate-messages/src/per-entrypoint/loadInputTelMessagesNoSideEffects.d.ts.map +1 -0
  47. package/dist-types/exports/validate-messages-no-side-effects.d.ts +3 -0
  48. package/dist-types/tsconfig.tsbuildinfo +1 -1
  49. package/docs/components/accordion/overview.md +2 -2
  50. package/docs/components/checkbox-group/overview.md +2 -2
  51. package/docs/components/collapsible/overview.md +1 -1
  52. package/docs/components/combobox/overview.md +1 -1
  53. package/docs/components/combobox/use-cases.md +1 -1
  54. package/docs/components/dialog/overview.md +1 -1
  55. package/docs/components/fieldset/overview.md +5 -5
  56. package/docs/components/form/overview.md +3 -3
  57. package/docs/components/icon/use-cases.md +1 -1
  58. package/docs/components/input/overview.md +1 -1
  59. package/docs/components/input-amount/overview.md +3 -3
  60. package/docs/components/input-date/overview.md +3 -3
  61. package/docs/components/input-datepicker/overview.md +5 -5
  62. package/docs/components/input-email/overview.md +2 -2
  63. package/docs/components/input-file/overview.md +1 -1
  64. package/docs/components/input-file/use-cases.md +1 -1
  65. package/docs/components/input-iban/overview.md +2 -2
  66. package/docs/components/input-range/overview.md +2 -2
  67. package/docs/components/input-stepper/overview.md +1 -1
  68. package/docs/components/input-tel/overview.md +1 -1
  69. package/docs/components/input-tel/use-cases.md +6 -6
  70. package/docs/components/input-tel-dropdown/overview.md +1 -1
  71. package/docs/components/input-tel-dropdown/src/intl-input-tel-dropdown.js +1 -1
  72. package/docs/components/radio-group/overview.md +3 -3
  73. package/docs/components/select-rich/use-cases.md +1 -1
  74. package/docs/components/switch/overview.md +2 -2
  75. package/docs/components/tabs/examples.md +1 -1
  76. package/docs/fundamentals/index.md +4 -4
  77. package/docs/fundamentals/node-tools/providence-analytics/LocalConfiguration.md +1 -1
  78. package/docs/fundamentals/node-tools/providence-analytics/QueryResult.md +1 -1
  79. package/docs/fundamentals/node-tools/providence-analytics/analyzer.md +1 -1
  80. package/docs/fundamentals/node-tools/providence-analytics/dashboard.md +1 -1
  81. package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
  82. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  83. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  84. package/docs/fundamentals/rationales/accessibility.md +1 -1
  85. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  86. package/docs/fundamentals/systems/core/overview.md +1 -1
  87. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  88. package/docs/fundamentals/systems/form/model-value.md +1 -1
  89. package/docs/fundamentals/systems/form/overview.md +28 -28
  90. package/docs/fundamentals/systems/form/validate.md +1 -1
  91. package/docs/fundamentals/systems/localize/overview.md +4 -4
  92. package/docs/fundamentals/systems/overlays/assets/demo-el-using-overlaymixin.mjs +2 -1
  93. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  94. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  95. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  96. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  97. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  98. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  99. package/docs/guides/how-to/create-a-form.md +4 -4
  100. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  101. package/docs/guides/index.md +8 -8
  102. package/docs/guides/principles/index.md +5 -5
  103. package/docs/guides/principles/scoped-elements.md +4 -3
  104. package/docs/guides/principles/styling.md +1 -1
  105. package/exports/validate-messages-no-side-effects.js +3 -0
  106. package/package.json +6 -6
  107. package/validate-messages-no-side-effects.js +3 -0
@@ -1,4 +1,348 @@
1
- declare const LionInputFile_base: typeof LionField & import("@open-wc/dedupe-mixin").Constructor<import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost> & Pick<typeof import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost, "prototype" | "localizeNamespaces" | "waitForLocalizeNamespaces"> & Pick<typeof import("lit").LitElement, typeof Symbol.metadata | "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions"> & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements/types.js").ScopedElementsHost>;
1
+ declare const LionInputFile_base: {
2
+ new (...args: any[]): {
3
+ createScopedElement(tagName: string): any;
4
+ defineScopedElement(tagName: string, klass: {
5
+ new (): HTMLElement;
6
+ prototype: HTMLElement;
7
+ }): any;
8
+ attachShadow(options: ShadowRootInit): ShadowRoot;
9
+ registry: any;
10
+ createRenderRoot(): ShadowRoot;
11
+ readonly renderOptions: import("lit-html").RenderOptions;
12
+ __childPart: any;
13
+ update(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
14
+ connectedCallback(): void;
15
+ disconnectedCallback(): void; /** @private */
16
+ render(): unknown;
17
+ __instanceProperties?: any;
18
+ readonly renderRoot: HTMLElement | DocumentFragment;
19
+ __updatePromise: any;
20
+ isUpdatePending: boolean;
21
+ hasUpdated: boolean;
22
+ __reflectingProperties?: any;
23
+ __reflectingProperty: any;
24
+ __controllers?: any;
25
+ __initialize: any;
26
+ addController(controller: import("lit").ReactiveController): void;
27
+ removeController(controller: import("lit").ReactiveController): void;
28
+ __saveInstanceProperties: any;
29
+ enableUpdating(_requestedUpdate: boolean): void;
30
+ attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
31
+ __propertyToAttribute: any;
32
+ requestUpdate(name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined): void;
33
+ __enqueueUpdate: any;
34
+ scheduleUpdate(): void | Promise<unknown>;
35
+ performUpdate(): void;
36
+ willUpdate(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
37
+ __markUpdated: any;
38
+ readonly updateComplete: Promise<boolean>;
39
+ getUpdateComplete(): Promise<boolean>;
40
+ shouldUpdate(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): boolean;
41
+ updated(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
42
+ firstUpdated(_changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
43
+ accessKey: string;
44
+ readonly accessKeyLabel: string;
45
+ autocapitalize: string;
46
+ dir: string;
47
+ draggable: boolean;
48
+ hidden: boolean;
49
+ inert: boolean;
50
+ innerText: string;
51
+ lang: string;
52
+ readonly offsetHeight: number;
53
+ readonly offsetLeft: number;
54
+ readonly offsetParent: Element | null;
55
+ readonly offsetTop: number;
56
+ readonly offsetWidth: number;
57
+ outerText: string;
58
+ spellcheck: boolean;
59
+ title: string;
60
+ translate: boolean;
61
+ attachInternals(): ElementInternals;
62
+ click(): void;
63
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
64
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
65
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
66
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
67
+ readonly attributes: NamedNodeMap;
68
+ readonly classList: DOMTokenList;
69
+ className: string;
70
+ readonly clientHeight: number;
71
+ readonly clientLeft: number;
72
+ readonly clientTop: number;
73
+ readonly clientWidth: number;
74
+ id: string;
75
+ readonly localName: string;
76
+ readonly namespaceURI: string | null;
77
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
78
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
79
+ outerHTML: string;
80
+ readonly ownerDocument: Document;
81
+ readonly part: DOMTokenList;
82
+ readonly prefix: string | null;
83
+ readonly scrollHeight: number;
84
+ scrollLeft: number;
85
+ scrollTop: number;
86
+ readonly scrollWidth: number;
87
+ readonly shadowRoot: ShadowRoot | null;
88
+ slot: string;
89
+ readonly tagName: string;
90
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
91
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
92
+ closest<E extends Element = Element>(selectors: string): E | null;
93
+ getAttribute(qualifiedName: string): string | null;
94
+ getAttributeNS(namespace: string | null, localName: string): string | null;
95
+ getAttributeNames(): string[];
96
+ getAttributeNode(qualifiedName: string): Attr | null;
97
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
98
+ getBoundingClientRect(): DOMRect;
99
+ getClientRects(): DOMRectList;
100
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
101
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
102
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
103
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
104
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
105
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
106
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
107
+ hasAttribute(qualifiedName: string): boolean;
108
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
109
+ hasAttributes(): boolean;
110
+ hasPointerCapture(pointerId: number): boolean;
111
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
112
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
113
+ insertAdjacentText(where: InsertPosition, data: string): void;
114
+ matches(selectors: string): boolean;
115
+ releasePointerCapture(pointerId: number): void;
116
+ removeAttribute(qualifiedName: string): void;
117
+ removeAttributeNS(namespace: string | null, localName: string): void;
118
+ removeAttributeNode(attr: Attr): Attr;
119
+ requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
120
+ requestPointerLock(): void;
121
+ scroll(options?: ScrollToOptions | undefined): void;
122
+ scroll(x: number, y: number): void;
123
+ scrollBy(options?: ScrollToOptions | undefined): void;
124
+ scrollBy(x: number, y: number): void;
125
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
126
+ scrollTo(options?: ScrollToOptions | undefined): void;
127
+ scrollTo(x: number, y: number): void;
128
+ setAttribute(qualifiedName: string, value: string): void;
129
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
130
+ setAttributeNode(attr: Attr): Attr | null;
131
+ setAttributeNodeNS(attr: Attr): Attr | null;
132
+ setPointerCapture(pointerId: number): void;
133
+ toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
134
+ webkitMatchesSelector(selectors: string): boolean;
135
+ readonly baseURI: string;
136
+ readonly childNodes: NodeListOf<ChildNode>;
137
+ readonly firstChild: ChildNode | null;
138
+ readonly isConnected: boolean;
139
+ readonly lastChild: ChildNode | null;
140
+ readonly nextSibling: ChildNode | null;
141
+ readonly nodeName: string;
142
+ readonly nodeType: number;
143
+ nodeValue: string | null;
144
+ readonly parentElement: HTMLElement | null;
145
+ readonly parentNode: ParentNode | null;
146
+ readonly previousSibling: ChildNode | null;
147
+ textContent: string | null;
148
+ appendChild<T extends Node>(node: T): T;
149
+ cloneNode(deep?: boolean | undefined): Node;
150
+ compareDocumentPosition(other: Node): number;
151
+ contains(other: Node | null): boolean;
152
+ getRootNode(options?: GetRootNodeOptions | undefined): Node;
153
+ hasChildNodes(): boolean;
154
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
155
+ isDefaultNamespace(namespace: string | null): boolean;
156
+ isEqualNode(otherNode: Node | null): boolean;
157
+ isSameNode(otherNode: Node | null): boolean;
158
+ lookupNamespaceURI(prefix: string | null): string | null;
159
+ lookupPrefix(namespace: string | null): string | null;
160
+ normalize(): void;
161
+ removeChild<T_2 extends Node>(child: T_2): T_2;
162
+ replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
163
+ readonly ATTRIBUTE_NODE: number;
164
+ readonly CDATA_SECTION_NODE: number;
165
+ readonly COMMENT_NODE: number;
166
+ readonly DOCUMENT_FRAGMENT_NODE: number;
167
+ readonly DOCUMENT_NODE: number;
168
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
169
+ readonly DOCUMENT_POSITION_CONTAINS: number;
170
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
171
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
172
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
173
+ readonly DOCUMENT_POSITION_PRECEDING: number;
174
+ readonly DOCUMENT_TYPE_NODE: number;
175
+ readonly ELEMENT_NODE: number;
176
+ readonly ENTITY_NODE: number;
177
+ readonly ENTITY_REFERENCE_NODE: number;
178
+ readonly NOTATION_NODE: number;
179
+ readonly PROCESSING_INSTRUCTION_NODE: number;
180
+ readonly TEXT_NODE: number;
181
+ dispatchEvent(event: Event): boolean;
182
+ ariaAtomic: string | null;
183
+ ariaAutoComplete: string | null;
184
+ ariaBusy: string | null;
185
+ ariaChecked: string | null;
186
+ ariaColCount: string | null;
187
+ ariaColIndex: string | null;
188
+ ariaColSpan: string | null;
189
+ ariaCurrent: string | null;
190
+ ariaDisabled: string | null;
191
+ ariaExpanded: string | null;
192
+ ariaHasPopup: string | null;
193
+ ariaHidden: string | null;
194
+ ariaKeyShortcuts: string | null;
195
+ ariaLabel: string | null;
196
+ ariaLevel: string | null;
197
+ ariaLive: string | null;
198
+ ariaModal: string | null;
199
+ ariaMultiLine: string | null;
200
+ ariaMultiSelectable: string | null;
201
+ ariaOrientation: string | null;
202
+ ariaPlaceholder: string | null;
203
+ ariaPosInSet: string | null;
204
+ ariaPressed: string | null;
205
+ ariaReadOnly: string | null;
206
+ ariaRequired: string | null;
207
+ ariaRoleDescription: string | null;
208
+ ariaRowCount: string | null;
209
+ ariaRowIndex: string | null;
210
+ ariaRowSpan: string | null;
211
+ ariaSelected: string | null;
212
+ ariaSetSize: string | null;
213
+ ariaSort: string | null;
214
+ ariaValueMax: string | null;
215
+ ariaValueMin: string | null;
216
+ ariaValueNow: string | null;
217
+ ariaValueText: string | null;
218
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
219
+ getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
220
+ after(...nodes: (string | Node)[]): void;
221
+ before(...nodes: (string | Node)[]): void;
222
+ remove(): void;
223
+ replaceWith(...nodes: (string | Node)[]): void;
224
+ innerHTML: string;
225
+ readonly nextElementSibling: Element | null;
226
+ readonly previousElementSibling: Element | null;
227
+ readonly childElementCount: number;
228
+ readonly children: HTMLCollection;
229
+ readonly firstElementChild: Element | null;
230
+ readonly lastElementChild: Element | null;
231
+ append(...nodes: (string | Node)[]): void;
232
+ prepend(...nodes: (string | Node)[]): void;
233
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
234
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
235
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
236
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
237
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
238
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
239
+ replaceChildren(...nodes: (string | Node)[]): void;
240
+ readonly assignedSlot: HTMLSlotElement | null;
241
+ oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
242
+ oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
243
+ onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
244
+ readonly style: CSSStyleDeclaration;
245
+ contentEditable: string;
246
+ enterKeyHint: string;
247
+ inputMode: string;
248
+ readonly isContentEditable: boolean;
249
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
250
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
251
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
252
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
253
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
254
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
255
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => 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
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
263
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
264
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
265
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
266
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
267
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
268
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
269
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
270
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
271
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
274
+ onerror: OnErrorEventHandler;
275
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
276
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
277
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
278
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
281
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
282
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
283
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
286
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
287
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
288
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
289
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
290
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
291
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
292
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
293
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
294
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
295
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
299
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
300
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
301
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
302
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
303
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
304
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
305
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
306
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
307
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
310
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
311
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
312
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
313
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
314
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
315
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
316
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
318
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
319
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
320
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
324
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
325
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
326
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
327
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
328
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
329
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
330
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
331
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
335
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
338
+ autofocus: boolean;
339
+ readonly dataset: DOMStringMap;
340
+ nonce?: string | undefined;
341
+ tabIndex: number;
342
+ blur(): void;
343
+ focus(options?: FocusOptions | undefined): void;
344
+ };
345
+ } & typeof LionField & import("@open-wc/dedupe-mixin").Constructor<import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost> & Pick<typeof import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost, "prototype" | "localizeNamespaces" | "waitForLocalizeNamespaces"> & Pick<typeof import("lit").LitElement, typeof Symbol.metadata | "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions">;
2
346
  export class LionInputFile extends LionInputFile_base {
3
347
  static get scopedElements(): {
4
348
  'lion-selected-file-list': typeof LionSelectedFileList;
@@ -147,6 +491,10 @@ export class LionInputFile extends LionInputFile_base {
147
491
  /** @private */
148
492
  private __setupDragDropEventListeners;
149
493
  isDragging: boolean | undefined;
494
+ /**
495
+ * @param {import('lit').PropertyValues } changedProperties
496
+ */
497
+ firstUpdated(changedProperties: import('lit').PropertyValues): void;
150
498
  /**
151
499
  * @param {import('lit').PropertyValues } changedProperties
152
500
  */
@@ -1 +1 @@
1
- {"version":3,"file":"LionInputFile.d.ts","sourceRoot":"","sources":["../../../../components/input-file/src/LionInputFile.js"],"names":[],"mappings":";AAiCA;IACE;;MAKC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYC;IAED,kGAGE;IAEF,uCAEC;IAsxBD,gFAoCC;IAxzBD;;OAEG;IACH;;;;;;MAqBC;IAED;;;OAGG;IACH,6CAEC;IAED;;OAEG;IACH,4CAEC;IAWD;;OAEG;IACH,6BAKC;IAjBD;;;;OAIG;IACH,0BAEC;IAOC,qBAAqB;IACrB,kCAA6B;IAI/B;;;OAGG;IAEH,+CAEC;IAED;;OAEG;IAGH,iDAEC;IAIC,aAAkB;IAClB;;;OAGG;IACH,kCAFU,SAAS,EAAE,CAEW;IAChC;;OAEG;IAEH,gBAHU,cAAc,EAAE,CAGF;IACxB;;OAEG;IACH,gCAAkD;IAElD,wBAA2B;IAC3B,kBAAqB;IACrB,wBAA2B;IAC3B,oBAAgC;IAChC,eAAgB;IAChB;;OAEG;IACH,YAFU,SAAS,EAAE,CAED;IAwkBtB;;;OAGG;IACH,4BAHW,WAAW,QAarB;IA/kBC,eAAe;IACf,sCAA4E;IAG9E;;;OAGG;IACH,oDAIC;IAED,0BAMC;IAED,6BAIC;IAgBD;;;;MAeC;IA2BD;;;;;OAKG;IACH,mDAJW,MAAM,QACN,MAAM,SAUhB;IAED;;;OAGG;IACH,UAFa,SAAS,EAAE,CAKvB;IAED;;;;OAIG;IAEH,aAJW,SAAS,EAAE,GACT,MAAM,CAKlB;IAED,eAAe;IACf,sCAyBC;IAhBO,gCAA2C;IAoDnD;;OAEG;IACH,2BAFW,OAAO,KAAK,EAAE,cAAc,QAmFtC;IAGD;;;OAGG;IACH,+BAcC;IAED;;;OAGG;IACH,mCAHW,SAAS,QAwBnB;IAkBD;;;;OAIG;IAEH,uBAJW,KAAK,QAOf;IAED;;OAEG;IACH,uCASC;IAED;;OAEG;IACH,yDAQC;IAED;;OAEG;IACH,0DAKC;IAED;;OAEG;IACH,8BAMC;IAED;;;;;OAKG;IACH,uCAHW,SAAS,EAAE,QAsDrB;IAED;;;OAGG;IACH,iDAHW,SAAS,EAAE,QAcrB;IAED;;OAEG;IACH,gCAsBC;IADC,oCAA+B;IAGjC;;;OAGG;IAEH,uCAJW,SAAS,QAgEnB;IAED;;;OAGG;IACH,6BAYC;IAmBD;;;OAGG;IACH,mCAHW,SAAS,QAgBnB;IAeD;;;OAGG;IACH,6BAEC;IAED;;;OAGG;IACH,+BAHY,cAAc,CAYzB;IAoED;;OAEG;IACH,2BAFW,UAAU,QAMpB;CACF;6BAv3BY,OAAO,KAAK,EAAE,cAAc;4BAC5B,OAAO,KAAK,EAAE,aAAa;wBAC3B,OAAO,wBAAwB,EAAE,SAAS;yBAC1C,OAAO,wBAAwB,EAAE,UAAU;6BAC3C,OAAO,wBAAwB,EAAE,cAAc"}
1
+ {"version":3,"file":"LionInputFile.d.ts","sourceRoot":"","sources":["../../../../components/input-file/src/LionInputFile.js"],"names":[],"mappings":";;;;;;;;;;;;;;sCA+KI,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA9InB;IACE;;MAKC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYC;IAED,kGAGE;IAEF,uCAEC;IAsxBD,gFAoCC;IAxzBD;;OAEG;IACH;;;;;;MAqBC;IAED;;;OAGG;IACH,6CAEC;IAED;;OAEG;IACH,4CAEC;IAWD;;OAEG;IACH,6BAKC;IAjBD;;;;OAIG;IACH,0BAEC;IAOC,qBAAqB;IACrB,kCAA6B;IAI/B;;;OAGG;IAEH,+CAEC;IAED;;OAEG;IAGH,iDAEC;IAIC,aAAkB;IAClB;;;OAGG;IACH,kCAFU,SAAS,EAAE,CAEW;IAChC;;OAEG;IAEH,gBAHU,cAAc,EAAE,CAGF;IACxB;;OAEG;IACH,gCAAkD;IAElD,wBAA2B;IAC3B,kBAAqB;IACrB,wBAA2B;IAC3B,oBAAgC;IAChC,eAAgB;IAChB;;OAEG;IACH,YAFU,SAAS,EAAE,CAED;IAwkBtB;;;OAGG;IACH,4BAHW,WAAW,QAarB;IA/kBC,eAAe;IACf,sCAA4E;IAG9E;;;OAGG;IACH,oDAIC;IAED,0BAMC;IAED,6BAIC;IAgBD;;;;MAeC;IA2BD;;;;;OAKG;IACH,mDAJW,MAAM,QACN,MAAM,SAUhB;IAED;;;OAGG;IACH,UAFa,SAAS,EAAE,CAKvB;IAED;;;;OAIG;IAEH,aAJW,SAAS,EAAE,GACT,MAAM,CAKlB;IAED,eAAe;IACf,sCAyBC;IAhBO,gCAA2C;IAkBnD;;OAEG;IACH,gCAFW,OAAO,KAAK,EAAE,cAAc,QA+BtC;IAED;;OAEG;IACH,2BAFW,OAAO,KAAK,EAAE,cAAc,QAmFtC;IAGD;;;OAGG;IACH,+BAcC;IAED;;;OAGG;IACH,mCAHW,SAAS,QAwBnB;IAkBD;;;;OAIG;IAEH,uBAJW,KAAK,QAOf;IAED;;OAEG;IACH,uCASC;IAED;;OAEG;IACH,yDAQC;IAED;;OAEG;IACH,0DAKC;IAED;;OAEG;IACH,8BAMC;IAED;;;;;OAKG;IACH,uCAHW,SAAS,EAAE,QAsDrB;IAED;;;OAGG;IACH,iDAHW,SAAS,EAAE,QAcrB;IAED;;OAEG;IACH,gCAsBC;IADC,oCAA+B;IAGjC;;;OAGG;IAEH,uCAJW,SAAS,QAgEnB;IAED;;;OAGG;IACH,6BAYC;IAmBD;;;OAGG;IACH,mCAHW,SAAS,QAgBnB;IAeD;;;OAGG;IACH,6BAEC;IAED;;;OAGG;IACH,+BAHY,cAAc,CAYzB;IAoED;;OAEG;IACH,2BAFW,UAAU,QAMpB;CACF;6BAv3BY,OAAO,KAAK,EAAE,cAAc;4BAC5B,OAAO,KAAK,EAAE,aAAa;wBAC3B,OAAO,wBAAwB,EAAE,SAAS;yBAC1C,OAAO,wBAAwB,EAAE,UAAU;6BAC3C,OAAO,wBAAwB,EAAE,cAAc"}