@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.
Files changed (170) hide show
  1. package/custom-elements.json +1648 -525
  2. package/lib/accordion-item/accordion-item.d.ts +332 -5
  3. package/lib/action-group/action-group.d.ts +3 -2
  4. package/lib/alert/alert.d.ts +654 -6
  5. package/lib/audio-player/audio-player.d.ts +330 -5
  6. package/lib/avatar/avatar.d.ts +5 -4
  7. package/lib/badge/badge.d.ts +334 -7
  8. package/lib/banner/banner.d.ts +662 -15
  9. package/lib/button/button.d.ts +335 -8
  10. package/lib/calendar-event/calendar-event.d.ts +3 -2
  11. package/lib/card/card.d.ts +2 -1
  12. package/lib/checkbox/checkbox.d.ts +2 -1
  13. package/lib/combobox/combobox.d.ts +335 -6
  14. package/lib/date-picker/date-picker.d.ts +12 -12
  15. package/lib/date-range-picker/date-range-picker.d.ts +6 -6
  16. package/lib/date-time-picker/date-time-picker.d.ts +12 -12
  17. package/lib/dial-pad/dial-pad.d.ts +328 -4
  18. package/lib/dialog/dialog.d.ts +326 -4
  19. package/lib/empty-state/empty-state.d.ts +3 -2
  20. package/lib/fab/fab.d.ts +333 -6
  21. package/lib/file-picker/file-picker.d.ts +334 -4
  22. package/lib/icon/icon.d.ts +2 -1
  23. package/lib/layout/layout.d.ts +6 -5
  24. package/lib/menu-item/menu-item.d.ts +332 -10
  25. package/lib/nav-disclosure/nav-disclosure.d.ts +330 -6
  26. package/lib/nav-item/nav-item.d.ts +329 -4
  27. package/lib/note/note.d.ts +329 -4
  28. package/lib/number-field/number-field.d.ts +658 -6
  29. package/lib/option/option.d.ts +330 -4
  30. package/lib/pagination/pagination.d.ts +3 -2
  31. package/lib/radio/radio.d.ts +2 -1
  32. package/lib/range-slider/range-slider.d.ts +330 -3
  33. package/lib/rich-text-editor/facades/prose-mirror-vivid.schema.d.ts +3 -2
  34. package/lib/rich-text-editor/facades/vivid-prose-mirror.facade.d.ts +1 -0
  35. package/lib/rich-text-editor/rich-text-editor.d.ts +1 -0
  36. package/lib/searchable-select/option-tag.d.ts +330 -5
  37. package/lib/searchable-select/searchable-select.d.ts +660 -5
  38. package/lib/select/select.d.ts +336 -6
  39. package/lib/slider/slider.d.ts +326 -4
  40. package/lib/split-button/split-button.d.ts +667 -20
  41. package/lib/tab/tab.d.ts +658 -7
  42. package/lib/tabs/tabs.d.ts +2 -1
  43. package/lib/tag/tag.d.ts +333 -7
  44. package/lib/text-anchor/text-anchor.d.ts +331 -5
  45. package/lib/text-field/text-field.d.ts +333 -6
  46. package/lib/time-picker/time-picker.d.ts +6 -6
  47. package/lib/tree-item/tree-item.d.ts +329 -4
  48. package/lib/video-player/video-player.d.ts +328 -4
  49. package/package.json +1 -1
  50. package/shared/_has.cjs +0 -4
  51. package/shared/_has.js +0 -4
  52. package/shared/affix.cjs +25 -19
  53. package/shared/affix.js +26 -20
  54. package/shared/apply-mixins.js +1 -1
  55. package/shared/calendar-picker.template.cjs +1 -1
  56. package/shared/calendar-picker.template.js +1 -1
  57. package/shared/children.js +1 -1
  58. package/shared/definition.cjs +2 -4
  59. package/shared/definition.js +2 -4
  60. package/shared/definition11.cjs +2 -4
  61. package/shared/definition11.js +2 -4
  62. package/shared/definition13.cjs +85 -159
  63. package/shared/definition13.js +85 -159
  64. package/shared/definition15.cjs +1 -1
  65. package/shared/definition15.js +1 -1
  66. package/shared/definition16.cjs +2 -3
  67. package/shared/definition16.js +2 -3
  68. package/shared/definition17.cjs +1 -1
  69. package/shared/definition17.js +1 -1
  70. package/shared/definition21.cjs +2 -4
  71. package/shared/definition21.js +2 -4
  72. package/shared/definition22.cjs +2 -4
  73. package/shared/definition22.js +2 -4
  74. package/shared/definition25.cjs +2 -4
  75. package/shared/definition25.js +2 -4
  76. package/shared/definition26.cjs +3 -3
  77. package/shared/definition26.js +3 -3
  78. package/shared/definition28.cjs +27 -38
  79. package/shared/definition28.js +27 -38
  80. package/shared/definition30.cjs +4 -11
  81. package/shared/definition30.js +4 -11
  82. package/shared/definition31.cjs +2 -4
  83. package/shared/definition31.js +2 -4
  84. package/shared/definition32.cjs +2 -4
  85. package/shared/definition32.js +2 -4
  86. package/shared/definition34.cjs +1 -3
  87. package/shared/definition34.js +1 -3
  88. package/shared/definition35.cjs +6 -6
  89. package/shared/definition35.js +6 -6
  90. package/shared/definition36.cjs +1 -1
  91. package/shared/definition36.js +1 -1
  92. package/shared/definition37.cjs +5 -1
  93. package/shared/definition37.js +5 -1
  94. package/shared/definition4.cjs +1 -7
  95. package/shared/definition4.js +1 -7
  96. package/shared/definition41.cjs +1 -1
  97. package/shared/definition41.js +1 -1
  98. package/shared/definition42.cjs +3 -5
  99. package/shared/definition42.js +3 -5
  100. package/shared/definition43.cjs +219 -28
  101. package/shared/definition43.js +216 -25
  102. package/shared/definition44.cjs +9 -10
  103. package/shared/definition44.js +9 -10
  104. package/shared/definition45.cjs +3 -4
  105. package/shared/definition45.js +3 -4
  106. package/shared/definition46.cjs +1 -1
  107. package/shared/definition46.js +1 -1
  108. package/shared/definition48.cjs +3 -5
  109. package/shared/definition48.js +3 -5
  110. package/shared/definition49.cjs +4 -7
  111. package/shared/definition49.js +4 -7
  112. package/shared/definition5.cjs +1 -3
  113. package/shared/definition5.js +2 -4
  114. package/shared/definition50.cjs +1 -1
  115. package/shared/definition50.js +1 -1
  116. package/shared/definition52.cjs +2 -5
  117. package/shared/definition52.js +2 -5
  118. package/shared/definition55.cjs +2 -4
  119. package/shared/definition55.js +2 -4
  120. package/shared/definition56.cjs +1 -1
  121. package/shared/definition56.js +1 -1
  122. package/shared/definition57.cjs +3 -2
  123. package/shared/definition57.js +3 -2
  124. package/shared/definition61.cjs +2 -4
  125. package/shared/definition61.js +2 -4
  126. package/shared/definition63.cjs +2 -4
  127. package/shared/definition63.js +2 -4
  128. package/shared/definition7.cjs +1 -3
  129. package/shared/definition7.js +1 -3
  130. package/shared/definition8.cjs +2 -5
  131. package/shared/definition8.js +2 -5
  132. package/shared/definition9.cjs +1 -1
  133. package/shared/definition9.js +1 -1
  134. package/shared/form-associated.js +1 -1
  135. package/shared/localized.cjs +10 -4
  136. package/shared/localized.js +10 -4
  137. package/shared/option.cjs +1 -3
  138. package/shared/option.js +2 -4
  139. package/shared/patterns/affix.d.ts +659 -7
  140. package/shared/patterns/localized.d.ts +328 -3
  141. package/shared/patterns/trapped-focus.d.ts +329 -6
  142. package/shared/picker-field/mixins/calendar-picker.d.ts +3 -3
  143. package/shared/picker-field/mixins/calendar-picker.template.d.ts +3 -3
  144. package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +328 -4
  145. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +6 -6
  146. package/shared/picker-field/mixins/single-date-picker.d.ts +9 -9
  147. package/shared/picker-field/mixins/single-value-picker.d.ts +3 -3
  148. package/shared/picker-field/mixins/time-selection-picker.d.ts +6 -6
  149. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +6 -6
  150. package/shared/picker-field/picker-field.d.ts +655 -3
  151. package/shared/picker-field.template.cjs +33 -35
  152. package/shared/picker-field.template.js +33 -35
  153. package/shared/ref.js +1 -1
  154. package/shared/slotted.js +1 -1
  155. package/shared/text-anchor.cjs +2 -2
  156. package/shared/text-anchor.js +2 -2
  157. package/shared/text-field.cjs +1 -1
  158. package/shared/text-field.js +1 -1
  159. package/shared/time-selection-picker.template.cjs +3 -5
  160. package/shared/time-selection-picker.template.js +4 -6
  161. package/shared/utils/enums.d.ts +1 -0
  162. package/shared/vivid-element.cjs +1 -1
  163. package/shared/vivid-element.js +2 -2
  164. package/styles/core/all.css +1 -1
  165. package/styles/core/theme.css +1 -1
  166. package/styles/core/typography.css +1 -1
  167. package/styles/tokens/theme-dark.css +4 -4
  168. package/styles/tokens/theme-light.css +4 -4
  169. package/styles/tokens/vivid-2-compat.css +1 -1
  170. package/vivid.api.json +187 -990
@@ -1,15 +1,341 @@
1
1
  import type { Connotation } from '../enums';
2
2
  import { MediaSkipBy } from '../enums';
3
- import { Localized } from '../../shared/patterns';
4
3
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
5
- export type AudioPlayerConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
4
+ import type { ExtractFromEnum } from '../../shared/utils/enums';
5
+ export type AudioPlayerConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA>;
6
6
  export declare const SKIP_DIRECTIONS: {
7
7
  FORWARD: number;
8
8
  BACKWARD: number;
9
9
  };
10
10
  export type SKIP_DIRECTIONS_TYPE = typeof SKIP_DIRECTIONS[keyof typeof SKIP_DIRECTIONS];
11
11
  export declare function formatTime(time: number): string;
12
- export declare class AudioPlayer extends VividElement {
12
+ declare const AudioPlayer_base: {
13
+ new (...args: any[]): {
14
+ readonly locale: import("../shared/localization/Locale").Locale;
15
+ accessKey: string;
16
+ readonly accessKeyLabel: string;
17
+ autocapitalize: string;
18
+ dir: string;
19
+ draggable: boolean;
20
+ hidden: boolean;
21
+ inert: boolean;
22
+ innerText: string;
23
+ lang: string;
24
+ readonly offsetHeight: number;
25
+ readonly offsetLeft: number;
26
+ readonly offsetParent: Element | null;
27
+ readonly offsetTop: number;
28
+ readonly offsetWidth: number;
29
+ outerText: string;
30
+ spellcheck: boolean;
31
+ title: string;
32
+ translate: boolean;
33
+ attachInternals(): ElementInternals;
34
+ click(): void;
35
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
36
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
37
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
38
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
39
+ dropzone: import("dropzone");
40
+ readonly attributes: NamedNodeMap;
41
+ readonly classList: DOMTokenList;
42
+ className: string;
43
+ readonly clientHeight: number;
44
+ readonly clientLeft: number;
45
+ readonly clientTop: number;
46
+ readonly clientWidth: number;
47
+ id: string;
48
+ readonly localName: string;
49
+ readonly namespaceURI: string | null;
50
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
51
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
52
+ outerHTML: string;
53
+ readonly ownerDocument: Document;
54
+ readonly part: DOMTokenList;
55
+ readonly prefix: string | null;
56
+ readonly scrollHeight: number;
57
+ scrollLeft: number;
58
+ scrollTop: number;
59
+ readonly scrollWidth: number;
60
+ readonly shadowRoot: ShadowRoot | null;
61
+ slot: string;
62
+ readonly tagName: string;
63
+ attachShadow(init: ShadowRootInit): ShadowRoot;
64
+ checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
65
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
66
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
67
+ closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
68
+ closest<E extends Element = Element>(selectors: string): E | null;
69
+ getAttribute(qualifiedName: string): string | null;
70
+ getAttributeNS(namespace: string | null, localName: string): string | null;
71
+ getAttributeNames(): string[];
72
+ getAttributeNode(qualifiedName: string): Attr | null;
73
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
74
+ getBoundingClientRect(): DOMRect;
75
+ getClientRects(): DOMRectList;
76
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
77
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
78
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
79
+ getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
80
+ getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
81
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
82
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
83
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
84
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
85
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
86
+ hasAttribute(qualifiedName: string): boolean;
87
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
88
+ hasAttributes(): boolean;
89
+ hasPointerCapture(pointerId: number): boolean;
90
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
91
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
92
+ insertAdjacentText(where: InsertPosition, data: string): void;
93
+ matches(selectors: string): boolean;
94
+ releasePointerCapture(pointerId: number): void;
95
+ removeAttribute(qualifiedName: string): void;
96
+ removeAttributeNS(namespace: string | null, localName: string): void;
97
+ removeAttributeNode(attr: Attr): Attr;
98
+ requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
99
+ requestPointerLock(): void;
100
+ scroll(options?: ScrollToOptions | undefined): void;
101
+ scroll(x: number, y: number): void;
102
+ scrollBy(options?: ScrollToOptions | undefined): void;
103
+ scrollBy(x: number, y: number): void;
104
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
105
+ scrollTo(options?: ScrollToOptions | undefined): void;
106
+ scrollTo(x: number, y: number): void;
107
+ setAttribute(qualifiedName: string, value: string): void;
108
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
109
+ setAttributeNode(attr: Attr): Attr | null;
110
+ setAttributeNodeNS(attr: Attr): Attr | null;
111
+ setPointerCapture(pointerId: number): void;
112
+ toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
113
+ webkitMatchesSelector(selectors: string): boolean;
114
+ readonly baseURI: string;
115
+ readonly childNodes: NodeListOf<ChildNode>;
116
+ readonly firstChild: ChildNode | null;
117
+ readonly isConnected: boolean;
118
+ readonly lastChild: ChildNode | null;
119
+ readonly nextSibling: ChildNode | null;
120
+ readonly nodeName: string;
121
+ readonly nodeType: number;
122
+ nodeValue: string | null;
123
+ readonly parentElement: HTMLElement | null;
124
+ readonly parentNode: ParentNode | null;
125
+ readonly previousSibling: ChildNode | null;
126
+ textContent: string | null;
127
+ appendChild<T extends Node>(node: T): T;
128
+ cloneNode(deep?: boolean | undefined): Node;
129
+ compareDocumentPosition(other: Node): number;
130
+ contains(other: Node | null): boolean;
131
+ getRootNode(options?: GetRootNodeOptions | undefined): Node;
132
+ hasChildNodes(): boolean;
133
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
134
+ isDefaultNamespace(namespace: string | null): boolean;
135
+ isEqualNode(otherNode: Node | null): boolean;
136
+ isSameNode(otherNode: Node | null): boolean;
137
+ lookupNamespaceURI(prefix: string | null): string | null;
138
+ lookupPrefix(namespace: string | null): string | null;
139
+ normalize(): void;
140
+ removeChild<T_2 extends Node>(child: T_2): T_2;
141
+ replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
142
+ readonly ELEMENT_NODE: 1;
143
+ readonly ATTRIBUTE_NODE: 2;
144
+ readonly TEXT_NODE: 3;
145
+ readonly CDATA_SECTION_NODE: 4;
146
+ readonly ENTITY_REFERENCE_NODE: 5;
147
+ readonly ENTITY_NODE: 6;
148
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
149
+ readonly COMMENT_NODE: 8;
150
+ readonly DOCUMENT_NODE: 9;
151
+ readonly DOCUMENT_TYPE_NODE: 10;
152
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
153
+ readonly NOTATION_NODE: 12;
154
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
155
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
156
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
157
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
158
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
159
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
160
+ dispatchEvent(event: Event): boolean;
161
+ ariaAtomic: string | null;
162
+ ariaAutoComplete: string | null;
163
+ ariaBusy: string | null;
164
+ ariaChecked: string | null;
165
+ ariaColCount: string | null;
166
+ ariaColIndex: string | null;
167
+ ariaColSpan: string | null;
168
+ ariaCurrent: string | null;
169
+ ariaDisabled: string | null;
170
+ ariaExpanded: string | null;
171
+ ariaHasPopup: string | null;
172
+ ariaHidden: string | null;
173
+ ariaInvalid: string | null;
174
+ ariaKeyShortcuts: string | null;
175
+ ariaLabel: string | null;
176
+ ariaLevel: string | null;
177
+ ariaLive: string | null;
178
+ ariaModal: string | null;
179
+ ariaMultiLine: string | null;
180
+ ariaMultiSelectable: string | null;
181
+ ariaOrientation: string | null;
182
+ ariaPlaceholder: string | null;
183
+ ariaPosInSet: string | null;
184
+ ariaPressed: string | null;
185
+ ariaReadOnly: string | null;
186
+ ariaRequired: string | null;
187
+ ariaRoleDescription: string | null;
188
+ ariaRowCount: string | null;
189
+ ariaRowIndex: string | null;
190
+ ariaRowSpan: string | null;
191
+ ariaSelected: string | null;
192
+ ariaSetSize: string | null;
193
+ ariaSort: string | null;
194
+ ariaValueMax: string | null;
195
+ ariaValueMin: string | null;
196
+ ariaValueNow: string | null;
197
+ ariaValueText: string | null;
198
+ role: string | null;
199
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
200
+ getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
201
+ after(...nodes: (string | Node)[]): void;
202
+ before(...nodes: (string | Node)[]): void;
203
+ remove(): void;
204
+ replaceWith(...nodes: (string | Node)[]): void;
205
+ innerHTML: string;
206
+ readonly nextElementSibling: Element | null;
207
+ readonly previousElementSibling: Element | null;
208
+ readonly childElementCount: number;
209
+ readonly children: HTMLCollection;
210
+ readonly firstElementChild: Element | null;
211
+ readonly lastElementChild: Element | null;
212
+ append(...nodes: (string | Node)[]): void;
213
+ prepend(...nodes: (string | Node)[]): void;
214
+ querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
215
+ querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
216
+ querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
217
+ querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
218
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
219
+ querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
220
+ querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
221
+ querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
222
+ querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
223
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
224
+ replaceChildren(...nodes: (string | Node)[]): void;
225
+ readonly assignedSlot: HTMLSlotElement | null;
226
+ readonly style: CSSStyleDeclaration;
227
+ contentEditable: string;
228
+ enterKeyHint: string;
229
+ inputMode: string;
230
+ readonly isContentEditable: boolean;
231
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
232
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
233
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
234
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
235
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
236
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
237
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
238
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
239
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
240
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
241
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
242
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
243
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
244
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
245
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
246
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
247
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
248
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
249
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
250
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
251
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
252
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
253
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
254
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
255
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
256
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
257
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
258
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
259
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
260
+ onerror: OnErrorEventHandler;
261
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
262
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
263
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
264
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
265
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
266
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
267
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
268
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
269
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
270
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
271
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
274
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
275
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
276
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
277
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
278
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
279
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
280
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
281
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
282
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
286
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
287
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
288
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
289
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
290
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
291
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
292
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
293
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
294
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
297
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
299
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
305
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
306
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
307
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
311
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
312
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
313
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
314
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
315
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
316
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
317
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
318
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
319
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
320
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
324
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
325
+ autofocus: boolean;
326
+ readonly dataset: DOMStringMap;
327
+ nonce?: string | undefined;
328
+ tabIndex: number;
329
+ blur(): void;
330
+ focus(options?: FocusOptions | undefined): void;
331
+ readonly $fastController: import("@microsoft/fast-element").Controller;
332
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
333
+ connectedCallback(): void;
334
+ disconnectedCallback(): void;
335
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
336
+ };
337
+ } & typeof VividElement;
338
+ export declare class AudioPlayer extends AudioPlayer_base {
13
339
  #private;
14
340
  playButtonAriaLabel: string | null;
15
341
  pauseButtonAriaLabel: string | null;
@@ -37,5 +363,4 @@ export declare class AudioPlayer extends VividElement {
37
363
  play(): void;
38
364
  pause(): void;
39
365
  }
40
- export interface AudioPlayer extends Localized {
41
- }
366
+ export {};
@@ -1,9 +1,10 @@
1
1
  import type { Appearance, Connotation, Shape, Size } from '../enums.js';
2
2
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
- export type AvatarConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
4
- export type AvatarAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Duotone | Appearance.Subtle>;
5
- export type AvatarShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
6
- export type AvatarSize = Extract<Size, Size.Condensed | Size.Normal | Size.Expanded>;
3
+ import type { ExtractFromEnum } from '../../shared/utils/enums';
4
+ export type AvatarConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA>;
5
+ export type AvatarAppearance = ExtractFromEnum<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Duotone | Appearance.Subtle>;
6
+ export type AvatarShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
7
+ export type AvatarSize = ExtractFromEnum<Size, Size.Condensed | Size.Normal | Size.Expanded>;
7
8
  export declare class Avatar extends VividElement {
8
9
  connotation?: AvatarConnotation;
9
10
  shape?: AvatarShape;