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