@vonage/vivid 4.19.0 → 4.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1648 -525
- package/lib/accordion-item/accordion-item.d.ts +332 -5
- package/lib/action-group/action-group.d.ts +3 -2
- package/lib/alert/alert.d.ts +654 -6
- package/lib/audio-player/audio-player.d.ts +330 -5
- package/lib/avatar/avatar.d.ts +5 -4
- package/lib/badge/badge.d.ts +334 -7
- package/lib/banner/banner.d.ts +662 -15
- package/lib/button/button.d.ts +335 -8
- package/lib/calendar-event/calendar-event.d.ts +3 -2
- package/lib/card/card.d.ts +2 -1
- package/lib/checkbox/checkbox.d.ts +2 -1
- package/lib/combobox/combobox.d.ts +335 -6
- package/lib/date-picker/date-picker.d.ts +12 -12
- package/lib/date-range-picker/date-range-picker.d.ts +6 -6
- package/lib/date-time-picker/date-time-picker.d.ts +12 -12
- package/lib/dial-pad/dial-pad.d.ts +328 -4
- package/lib/dialog/dialog.d.ts +326 -4
- package/lib/empty-state/empty-state.d.ts +3 -2
- package/lib/fab/fab.d.ts +333 -6
- package/lib/file-picker/file-picker.d.ts +334 -4
- package/lib/icon/icon.d.ts +2 -1
- package/lib/layout/layout.d.ts +6 -5
- package/lib/menu-item/menu-item.d.ts +332 -10
- package/lib/nav-disclosure/nav-disclosure.d.ts +330 -6
- package/lib/nav-item/nav-item.d.ts +329 -4
- package/lib/note/note.d.ts +329 -4
- package/lib/number-field/number-field.d.ts +658 -6
- package/lib/option/option.d.ts +330 -4
- package/lib/pagination/pagination.d.ts +3 -2
- package/lib/radio/radio.d.ts +2 -1
- package/lib/range-slider/range-slider.d.ts +330 -3
- package/lib/rich-text-editor/facades/prose-mirror-vivid.schema.d.ts +3 -2
- package/lib/rich-text-editor/facades/vivid-prose-mirror.facade.d.ts +1 -0
- package/lib/rich-text-editor/rich-text-editor.d.ts +1 -0
- package/lib/searchable-select/option-tag.d.ts +330 -5
- package/lib/searchable-select/searchable-select.d.ts +660 -5
- package/lib/select/select.d.ts +336 -6
- package/lib/slider/slider.d.ts +326 -4
- package/lib/split-button/split-button.d.ts +667 -20
- package/lib/tab/tab.d.ts +658 -7
- package/lib/tabs/tabs.d.ts +2 -1
- package/lib/tag/tag.d.ts +333 -7
- package/lib/text-anchor/text-anchor.d.ts +331 -5
- package/lib/text-field/text-field.d.ts +333 -6
- package/lib/time-picker/time-picker.d.ts +6 -6
- package/lib/tree-item/tree-item.d.ts +329 -4
- package/lib/video-player/video-player.d.ts +328 -4
- package/package.json +1 -1
- package/shared/_has.cjs +0 -4
- package/shared/_has.js +0 -4
- package/shared/affix.cjs +25 -19
- package/shared/affix.js +26 -20
- package/shared/apply-mixins.js +1 -1
- package/shared/calendar-picker.template.cjs +1 -1
- package/shared/calendar-picker.template.js +1 -1
- package/shared/children.js +1 -1
- package/shared/definition.cjs +2 -4
- package/shared/definition.js +2 -4
- package/shared/definition11.cjs +2 -4
- package/shared/definition11.js +2 -4
- package/shared/definition13.cjs +85 -159
- package/shared/definition13.js +85 -159
- package/shared/definition15.cjs +1 -1
- package/shared/definition15.js +1 -1
- package/shared/definition16.cjs +2 -3
- package/shared/definition16.js +2 -3
- package/shared/definition17.cjs +1 -1
- package/shared/definition17.js +1 -1
- package/shared/definition21.cjs +2 -4
- package/shared/definition21.js +2 -4
- package/shared/definition22.cjs +2 -4
- package/shared/definition22.js +2 -4
- package/shared/definition25.cjs +2 -4
- package/shared/definition25.js +2 -4
- package/shared/definition26.cjs +3 -3
- package/shared/definition26.js +3 -3
- package/shared/definition28.cjs +27 -38
- package/shared/definition28.js +27 -38
- package/shared/definition30.cjs +4 -11
- package/shared/definition30.js +4 -11
- package/shared/definition31.cjs +2 -4
- package/shared/definition31.js +2 -4
- package/shared/definition32.cjs +2 -4
- package/shared/definition32.js +2 -4
- package/shared/definition34.cjs +1 -3
- package/shared/definition34.js +1 -3
- package/shared/definition35.cjs +6 -6
- package/shared/definition35.js +6 -6
- package/shared/definition36.cjs +1 -1
- package/shared/definition36.js +1 -1
- package/shared/definition37.cjs +5 -1
- package/shared/definition37.js +5 -1
- package/shared/definition4.cjs +1 -7
- package/shared/definition4.js +1 -7
- package/shared/definition41.cjs +1 -1
- package/shared/definition41.js +1 -1
- package/shared/definition42.cjs +3 -5
- package/shared/definition42.js +3 -5
- package/shared/definition43.cjs +219 -28
- package/shared/definition43.js +216 -25
- package/shared/definition44.cjs +9 -10
- package/shared/definition44.js +9 -10
- package/shared/definition45.cjs +3 -4
- package/shared/definition45.js +3 -4
- package/shared/definition46.cjs +1 -1
- package/shared/definition46.js +1 -1
- package/shared/definition48.cjs +3 -5
- package/shared/definition48.js +3 -5
- package/shared/definition49.cjs +4 -7
- package/shared/definition49.js +4 -7
- package/shared/definition5.cjs +1 -3
- package/shared/definition5.js +2 -4
- package/shared/definition50.cjs +1 -1
- package/shared/definition50.js +1 -1
- package/shared/definition52.cjs +2 -5
- package/shared/definition52.js +2 -5
- package/shared/definition55.cjs +2 -4
- package/shared/definition55.js +2 -4
- package/shared/definition56.cjs +1 -1
- package/shared/definition56.js +1 -1
- package/shared/definition57.cjs +3 -2
- package/shared/definition57.js +3 -2
- package/shared/definition61.cjs +2 -4
- package/shared/definition61.js +2 -4
- package/shared/definition63.cjs +2 -4
- package/shared/definition63.js +2 -4
- package/shared/definition7.cjs +1 -3
- package/shared/definition7.js +1 -3
- package/shared/definition8.cjs +2 -5
- package/shared/definition8.js +2 -5
- package/shared/definition9.cjs +1 -1
- package/shared/definition9.js +1 -1
- package/shared/form-associated.js +1 -1
- package/shared/localized.cjs +10 -4
- package/shared/localized.js +10 -4
- package/shared/option.cjs +1 -3
- package/shared/option.js +2 -4
- package/shared/patterns/affix.d.ts +659 -7
- package/shared/patterns/localized.d.ts +328 -3
- package/shared/patterns/trapped-focus.d.ts +329 -6
- package/shared/picker-field/mixins/calendar-picker.d.ts +3 -3
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +3 -3
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +328 -4
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +6 -6
- package/shared/picker-field/mixins/single-date-picker.d.ts +9 -9
- package/shared/picker-field/mixins/single-value-picker.d.ts +3 -3
- package/shared/picker-field/mixins/time-selection-picker.d.ts +6 -6
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +6 -6
- package/shared/picker-field/picker-field.d.ts +655 -3
- package/shared/picker-field.template.cjs +33 -35
- package/shared/picker-field.template.js +33 -35
- package/shared/ref.js +1 -1
- package/shared/slotted.js +1 -1
- package/shared/text-anchor.cjs +2 -2
- package/shared/text-anchor.js +2 -2
- package/shared/text-field.cjs +1 -1
- package/shared/text-field.js +1 -1
- package/shared/time-selection-picker.template.cjs +3 -5
- package/shared/time-selection-picker.template.js +4 -6
- package/shared/utils/enums.d.ts +1 -0
- package/shared/vivid-element.cjs +1 -1
- package/shared/vivid-element.js +2 -2
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/vivid.api.json +187 -990
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { Appearance, Shape, Size } from '../enums';
|
|
2
|
-
import {
|
|
2
|
+
import { type ErrorText, type FormElement, FormElementCharCount, FormElementHelperText, FormElementSuccessText } from '../../shared/patterns';
|
|
3
|
+
import type { ExtractFromEnum } from '../../shared/utils/enums';
|
|
3
4
|
import { FormAssociatedTextField } from './text-field.form-associated';
|
|
4
|
-
export type TextFieldAppearance =
|
|
5
|
-
export type TextFieldShape =
|
|
6
|
-
export type TextFieldSize =
|
|
5
|
+
export type TextFieldAppearance = ExtractFromEnum<Appearance, Appearance.Fieldset | Appearance.Ghost>;
|
|
6
|
+
export type TextFieldShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
|
|
7
|
+
export type TextFieldSize = ExtractFromEnum<Size, Size.Condensed | Size.Normal>;
|
|
7
8
|
export declare const TextFieldType: {
|
|
8
9
|
readonly email: "email";
|
|
9
10
|
readonly password: "password";
|
|
@@ -13,7 +14,9 @@ export declare const TextFieldType: {
|
|
|
13
14
|
};
|
|
14
15
|
export type TextFieldType = typeof TextFieldType[keyof typeof TextFieldType];
|
|
15
16
|
declare const TextField_base: {
|
|
16
|
-
new (...
|
|
17
|
+
new (...args: any[]): {
|
|
18
|
+
icon?: string | undefined;
|
|
19
|
+
iconSlottedContent?: HTMLElement[] | undefined;
|
|
17
20
|
accessKey: string;
|
|
18
21
|
readonly accessKeyLabel: string;
|
|
19
22
|
autocapitalize: string;
|
|
@@ -335,6 +338,330 @@ declare const TextField_base: {
|
|
|
335
338
|
connectedCallback(): void;
|
|
336
339
|
disconnectedCallback(): void;
|
|
337
340
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
341
|
+
};
|
|
342
|
+
} & {
|
|
343
|
+
new (...rest: any[]): {
|
|
344
|
+
accessKey: string;
|
|
345
|
+
readonly accessKeyLabel: string;
|
|
346
|
+
autocapitalize: string;
|
|
347
|
+
dir: string;
|
|
348
|
+
draggable: boolean;
|
|
349
|
+
hidden: boolean;
|
|
350
|
+
inert: boolean;
|
|
351
|
+
innerText: string;
|
|
352
|
+
lang: string;
|
|
353
|
+
readonly offsetHeight: number;
|
|
354
|
+
readonly offsetLeft: number;
|
|
355
|
+
readonly offsetParent: Element | null;
|
|
356
|
+
readonly offsetTop: number;
|
|
357
|
+
readonly offsetWidth: number;
|
|
358
|
+
outerText: string;
|
|
359
|
+
spellcheck: boolean;
|
|
360
|
+
title: string;
|
|
361
|
+
translate: boolean;
|
|
362
|
+
attachInternals(): ElementInternals;
|
|
363
|
+
click(): void;
|
|
364
|
+
addEventListener<K_17 extends keyof HTMLElementEventMap>(type: K_17, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_17]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
365
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
366
|
+
removeEventListener<K_18 extends keyof HTMLElementEventMap>(type: K_18, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_18]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
367
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
368
|
+
dropzone: import("dropzone");
|
|
369
|
+
readonly attributes: NamedNodeMap;
|
|
370
|
+
readonly classList: DOMTokenList;
|
|
371
|
+
className: string;
|
|
372
|
+
readonly clientHeight: number;
|
|
373
|
+
readonly clientLeft: number;
|
|
374
|
+
readonly clientTop: number;
|
|
375
|
+
readonly clientWidth: number;
|
|
376
|
+
id: string;
|
|
377
|
+
readonly localName: string;
|
|
378
|
+
readonly namespaceURI: string | null;
|
|
379
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
380
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
381
|
+
outerHTML: string;
|
|
382
|
+
readonly ownerDocument: Document;
|
|
383
|
+
readonly part: DOMTokenList;
|
|
384
|
+
readonly prefix: string | null;
|
|
385
|
+
readonly scrollHeight: number;
|
|
386
|
+
scrollLeft: number;
|
|
387
|
+
scrollTop: number;
|
|
388
|
+
readonly scrollWidth: number;
|
|
389
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
390
|
+
slot: string;
|
|
391
|
+
readonly tagName: string;
|
|
392
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
393
|
+
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
394
|
+
closest<K_19 extends keyof HTMLElementTagNameMap>(selector: K_19): HTMLElementTagNameMap[K_19] | null;
|
|
395
|
+
closest<K_20 extends keyof SVGElementTagNameMap>(selector: K_20): SVGElementTagNameMap[K_20] | null;
|
|
396
|
+
closest<K_21 extends keyof MathMLElementTagNameMap>(selector: K_21): MathMLElementTagNameMap[K_21] | null;
|
|
397
|
+
closest<E_3 extends Element = Element>(selectors: string): E_3 | null;
|
|
398
|
+
getAttribute(qualifiedName: string): string | null;
|
|
399
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
400
|
+
getAttributeNames(): string[];
|
|
401
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
402
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
403
|
+
getBoundingClientRect(): DOMRect;
|
|
404
|
+
getClientRects(): DOMRectList;
|
|
405
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
406
|
+
getElementsByTagName<K_22 extends keyof HTMLElementTagNameMap>(qualifiedName: K_22): HTMLCollectionOf<HTMLElementTagNameMap[K_22]>;
|
|
407
|
+
getElementsByTagName<K_23 extends keyof SVGElementTagNameMap>(qualifiedName: K_23): HTMLCollectionOf<SVGElementTagNameMap[K_23]>;
|
|
408
|
+
getElementsByTagName<K_24 extends keyof MathMLElementTagNameMap>(qualifiedName: K_24): HTMLCollectionOf<MathMLElementTagNameMap[K_24]>;
|
|
409
|
+
getElementsByTagName<K_25 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_25): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_25]>;
|
|
410
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
411
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
412
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
413
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
414
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
415
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
416
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
417
|
+
hasAttributes(): boolean;
|
|
418
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
419
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
420
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
421
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
422
|
+
matches(selectors: string): boolean;
|
|
423
|
+
releasePointerCapture(pointerId: number): void;
|
|
424
|
+
removeAttribute(qualifiedName: string): void;
|
|
425
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
426
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
427
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
428
|
+
requestPointerLock(): void;
|
|
429
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
430
|
+
scroll(x: number, y: number): void;
|
|
431
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
432
|
+
scrollBy(x: number, y: number): void;
|
|
433
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
434
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
435
|
+
scrollTo(x: number, y: number): void;
|
|
436
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
437
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
438
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
439
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
440
|
+
setPointerCapture(pointerId: number): void;
|
|
441
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
442
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
443
|
+
readonly baseURI: string;
|
|
444
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
445
|
+
readonly firstChild: ChildNode | null;
|
|
446
|
+
readonly isConnected: boolean;
|
|
447
|
+
readonly lastChild: ChildNode | null;
|
|
448
|
+
readonly nextSibling: ChildNode | null;
|
|
449
|
+
readonly nodeName: string;
|
|
450
|
+
readonly nodeType: number;
|
|
451
|
+
nodeValue: string | null;
|
|
452
|
+
readonly parentElement: HTMLElement | null;
|
|
453
|
+
readonly parentNode: ParentNode | null;
|
|
454
|
+
readonly previousSibling: ChildNode | null;
|
|
455
|
+
textContent: string | null;
|
|
456
|
+
appendChild<T extends Node>(node: T): T;
|
|
457
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
458
|
+
compareDocumentPosition(other: Node): number;
|
|
459
|
+
contains(other: Node | null): boolean;
|
|
460
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
461
|
+
hasChildNodes(): boolean;
|
|
462
|
+
insertBefore<T_4 extends Node>(node: T_4, child: Node | null): T_4;
|
|
463
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
464
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
465
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
466
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
467
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
468
|
+
normalize(): void;
|
|
469
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
470
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
471
|
+
readonly ELEMENT_NODE: 1;
|
|
472
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
473
|
+
readonly TEXT_NODE: 3;
|
|
474
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
475
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
476
|
+
readonly ENTITY_NODE: 6;
|
|
477
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
478
|
+
readonly COMMENT_NODE: 8;
|
|
479
|
+
readonly DOCUMENT_NODE: 9;
|
|
480
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
481
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
482
|
+
readonly NOTATION_NODE: 12;
|
|
483
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
484
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
485
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
486
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
487
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
488
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
489
|
+
dispatchEvent(event: Event): boolean;
|
|
490
|
+
ariaAtomic: string | null;
|
|
491
|
+
ariaAutoComplete: string | null;
|
|
492
|
+
ariaBusy: string | null;
|
|
493
|
+
ariaChecked: string | null;
|
|
494
|
+
ariaColCount: string | null;
|
|
495
|
+
ariaColIndex: string | null;
|
|
496
|
+
ariaColSpan: string | null;
|
|
497
|
+
ariaCurrent: string | null;
|
|
498
|
+
ariaDisabled: string | null;
|
|
499
|
+
ariaExpanded: string | null;
|
|
500
|
+
ariaHasPopup: string | null;
|
|
501
|
+
ariaHidden: string | null;
|
|
502
|
+
ariaInvalid: string | null;
|
|
503
|
+
ariaKeyShortcuts: string | null;
|
|
504
|
+
ariaLabel: string | null;
|
|
505
|
+
ariaLevel: string | null;
|
|
506
|
+
ariaLive: string | null;
|
|
507
|
+
ariaModal: string | null;
|
|
508
|
+
ariaMultiLine: string | null;
|
|
509
|
+
ariaMultiSelectable: string | null;
|
|
510
|
+
ariaOrientation: string | null;
|
|
511
|
+
ariaPlaceholder: string | null;
|
|
512
|
+
ariaPosInSet: string | null;
|
|
513
|
+
ariaPressed: string | null;
|
|
514
|
+
ariaReadOnly: string | null;
|
|
515
|
+
ariaRequired: string | null;
|
|
516
|
+
ariaRoleDescription: string | null;
|
|
517
|
+
ariaRowCount: string | null;
|
|
518
|
+
ariaRowIndex: string | null;
|
|
519
|
+
ariaRowSpan: string | null;
|
|
520
|
+
ariaSelected: string | null;
|
|
521
|
+
ariaSetSize: string | null;
|
|
522
|
+
ariaSort: string | null;
|
|
523
|
+
ariaValueMax: string | null;
|
|
524
|
+
ariaValueMin: string | null;
|
|
525
|
+
ariaValueNow: string | null;
|
|
526
|
+
ariaValueText: string | null;
|
|
527
|
+
role: string | null;
|
|
528
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
529
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
530
|
+
after(...nodes: (string | Node)[]): void;
|
|
531
|
+
before(...nodes: (string | Node)[]): void;
|
|
532
|
+
remove(): void;
|
|
533
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
534
|
+
innerHTML: string;
|
|
535
|
+
readonly nextElementSibling: Element | null;
|
|
536
|
+
readonly previousElementSibling: Element | null;
|
|
537
|
+
readonly childElementCount: number;
|
|
538
|
+
readonly children: HTMLCollection;
|
|
539
|
+
readonly firstElementChild: Element | null;
|
|
540
|
+
readonly lastElementChild: Element | null;
|
|
541
|
+
append(...nodes: (string | Node)[]): void;
|
|
542
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
543
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
544
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
545
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
546
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
547
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
548
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
549
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
550
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
551
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
552
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
553
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
554
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
555
|
+
readonly style: CSSStyleDeclaration;
|
|
556
|
+
contentEditable: string;
|
|
557
|
+
enterKeyHint: string;
|
|
558
|
+
inputMode: string;
|
|
559
|
+
readonly isContentEditable: boolean;
|
|
560
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
561
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
562
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
563
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
564
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
565
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
566
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
567
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
568
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
569
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
570
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
571
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
572
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
573
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
574
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
575
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
576
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
577
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
578
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
579
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
580
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
581
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
582
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
583
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
584
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
585
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
586
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
587
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
588
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
589
|
+
onerror: OnErrorEventHandler;
|
|
590
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
591
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
592
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
593
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
594
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
595
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
596
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
597
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
598
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
599
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
600
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
601
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
602
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
603
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
604
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
605
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
606
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
607
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
608
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
609
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
610
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
611
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
612
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
613
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
614
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
615
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
616
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
617
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
618
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
619
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
620
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
621
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
622
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
623
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
624
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
625
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
626
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
627
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
628
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
629
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
630
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
631
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
632
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
633
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
634
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
635
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
636
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
637
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
638
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
639
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
640
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
641
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
642
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
643
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
644
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
645
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
646
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
647
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
648
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
649
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
650
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
651
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
652
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
653
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
654
|
+
autofocus: boolean;
|
|
655
|
+
readonly dataset: DOMStringMap;
|
|
656
|
+
nonce?: string | undefined;
|
|
657
|
+
tabIndex: number;
|
|
658
|
+
blur(): void;
|
|
659
|
+
focus(options?: FocusOptions | undefined): void;
|
|
660
|
+
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
661
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
662
|
+
connectedCallback(): void;
|
|
663
|
+
disconnectedCallback(): void;
|
|
664
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
338
665
|
ariaColIndexText: string | null;
|
|
339
666
|
ariaDescription: string | null;
|
|
340
667
|
ariaRowIndexText: string | null;
|
|
@@ -365,6 +692,6 @@ export declare class TextField extends TextField_base {
|
|
|
365
692
|
disconnectedCallback(): void;
|
|
366
693
|
focus(): void;
|
|
367
694
|
}
|
|
368
|
-
export interface TextField extends
|
|
695
|
+
export interface TextField extends ErrorText, FormElement, FormElementCharCount, FormElementHelperText, FormElementSuccessText {
|
|
369
696
|
}
|
|
370
697
|
export {};
|
|
@@ -68,7 +68,7 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
|
|
|
68
68
|
readonly _pickerButtonLabel: string;
|
|
69
69
|
readonly _pickerButtonIcon: string;
|
|
70
70
|
_onOkClick(): void;
|
|
71
|
-
|
|
71
|
+
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
72
72
|
accessKey: string;
|
|
73
73
|
readonly accessKeyLabel: string;
|
|
74
74
|
autocapitalize: string;
|
|
@@ -388,6 +388,8 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
|
|
|
388
388
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
389
389
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
390
390
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
391
|
+
readonly locale: import("../shared/localization/Locale").Locale;
|
|
392
|
+
proxy: HTMLInputElement;
|
|
391
393
|
dirtyValue: boolean;
|
|
392
394
|
disabled: boolean;
|
|
393
395
|
readonly elementInternals: ElementInternals | null;
|
|
@@ -413,10 +415,8 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
|
|
|
413
415
|
reportValidity: () => boolean;
|
|
414
416
|
setFormValue: (value: string | File | FormData | null, state?: string | File | FormData | null | undefined) => void;
|
|
415
417
|
setValidity: (flags?: ValidityStateFlags | undefined, message?: string | undefined, anchor?: HTMLElement | undefined) => void;
|
|
416
|
-
readonly locale: import("../shared/localization/Locale").Locale;
|
|
417
418
|
helperText?: string | undefined;
|
|
418
419
|
_helperTextSlottedContent?: HTMLElement[] | undefined;
|
|
419
|
-
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
420
420
|
}) & (abstract new (...args: any[]) => {
|
|
421
421
|
_isValidValue(value: string): boolean;
|
|
422
422
|
_toPresentationValue(value: string): string;
|
|
@@ -464,7 +464,7 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
|
|
|
464
464
|
readonly _pickerButtonIcon: string;
|
|
465
465
|
_onPickerButtonClick(): void;
|
|
466
466
|
_onOkClick(): void;
|
|
467
|
-
|
|
467
|
+
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
468
468
|
accessKey: string;
|
|
469
469
|
readonly accessKeyLabel: string;
|
|
470
470
|
autocapitalize: string;
|
|
@@ -784,6 +784,8 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
|
|
|
784
784
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
785
785
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
|
|
786
786
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
787
|
+
readonly locale: import("../shared/localization/Locale").Locale;
|
|
788
|
+
proxy: HTMLInputElement;
|
|
787
789
|
dirtyValue: boolean;
|
|
788
790
|
disabled: boolean;
|
|
789
791
|
readonly elementInternals: ElementInternals | null;
|
|
@@ -809,10 +811,8 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
|
|
|
809
811
|
reportValidity: () => boolean;
|
|
810
812
|
setFormValue: (value: string | File | FormData | null, state?: string | File | FormData | null | undefined) => void;
|
|
811
813
|
setValidity: (flags?: ValidityStateFlags | undefined, message?: string | undefined, anchor?: HTMLElement | undefined) => void;
|
|
812
|
-
readonly locale: import("../shared/localization/Locale").Locale;
|
|
813
814
|
helperText?: string | undefined;
|
|
814
815
|
_helperTextSlottedContent?: HTMLElement[] | undefined;
|
|
815
|
-
_trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
|
|
816
816
|
}) & typeof PickerField;
|
|
817
817
|
export declare class TimePicker extends TimePicker_base {
|
|
818
818
|
min: string;
|