@vonage/vivid 5.9.0 → 5.11.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 (114) hide show
  1. package/bundled/affix.js +1 -1
  2. package/bundled/anchored.cjs +1 -1
  3. package/bundled/anchored.js +6 -6
  4. package/bundled/definition10.js +4 -4
  5. package/bundled/definition7.js +3 -3
  6. package/bundled/host-semantics.js +4 -4
  7. package/bundled/localized.cjs +1 -1
  8. package/bundled/localized.js +14 -12
  9. package/bundled/mixins.cjs +2 -2
  10. package/bundled/mixins.js +6 -6
  11. package/bundled/{feature.cjs → slottable-request.cjs} +3 -3
  12. package/bundled/{feature.js → slottable-request.js} +63 -42
  13. package/bundled/vivid-element.cjs +1 -1
  14. package/bundled/vivid-element.js +1 -1
  15. package/card/definition.cjs +1 -1
  16. package/card/definition.js +1 -1
  17. package/card/index.cjs +10 -10
  18. package/card/index.js +42 -42
  19. package/country/definition.cjs +340 -0
  20. package/country/definition.js +334 -0
  21. package/country/index.cjs +12 -0
  22. package/country/index.js +317 -0
  23. package/custom-elements.json +12768 -9834
  24. package/index.cjs +26 -14
  25. package/index.js +4 -2
  26. package/lib/components.d.ts +3 -1
  27. package/lib/country/countries-data.d.ts +6 -0
  28. package/lib/country/country-code-to-flag-icon.d.ts +5 -0
  29. package/lib/country/country.d.ts +5 -0
  30. package/lib/country/country.template.d.ts +3 -0
  31. package/lib/country/definition.d.ts +3 -0
  32. package/lib/rich-text-editor/locale.d.ts +2 -0
  33. package/lib/rich-text-editor/popover.d.ts +1 -0
  34. package/lib/rich-text-editor/rte/config.d.ts +2 -1
  35. package/lib/rich-text-editor/rte/exports.d.ts +4 -0
  36. package/lib/rich-text-editor/rte/feature.d.ts +7 -1
  37. package/lib/rich-text-editor/rte/features/internal/basic-text-blocks.d.ts +1 -1
  38. package/lib/rich-text-editor/rte/features/internal/foreign-html.d.ts +1 -1
  39. package/lib/rich-text-editor/rte/features/internal/history.d.ts +1 -1
  40. package/lib/rich-text-editor/rte/features/internal/input-rules.d.ts +15 -0
  41. package/lib/rich-text-editor/rte/instance.d.ts +4 -2
  42. package/lib/rich-text-editor/rte/utils/feature-state.d.ts +8 -0
  43. package/lib/rich-text-editor/rte/utils/sanitization.d.ts +7 -0
  44. package/lib/rich-text-editor/rte/utils/text-before-cursor.d.ts +2 -0
  45. package/lib/rich-text-editor/rte/utils/ui.d.ts +2 -0
  46. package/lib/rich-text-editor/rte/view.d.ts +2 -2
  47. package/lib/rich-text-view/definition.d.ts +1 -0
  48. package/lib/rich-text-view/rich-text-view.d.ts +4 -0
  49. package/lib/selectable-box/selectable-box.d.ts +1 -0
  50. package/lib/status/definition.d.ts +4 -0
  51. package/lib/status/status.d.ts +388 -0
  52. package/lib/status/status.template.d.ts +3 -0
  53. package/lib/{data-table → table}/definition.d.ts +1 -1
  54. package/lib/tag/tag.d.ts +1 -1
  55. package/lib/tag-name-map.d.ts +3 -1
  56. package/locales/de-DE.cjs +3 -1
  57. package/locales/de-DE.js +3 -1
  58. package/locales/en-GB.cjs +3 -1
  59. package/locales/en-GB.js +3 -1
  60. package/locales/en-US.cjs +3 -1
  61. package/locales/en-US.js +3 -1
  62. package/locales/ja-JP.cjs +3 -1
  63. package/locales/ja-JP.js +3 -1
  64. package/locales/zh-CN.cjs +3 -1
  65. package/locales/zh-CN.js +3 -1
  66. package/package.json +6 -5
  67. package/rich-text-editor/definition.cjs +3246 -2183
  68. package/rich-text-editor/definition.js +3042 -1983
  69. package/rich-text-editor/index.cjs +20 -19
  70. package/rich-text-editor/index.js +3897 -3117
  71. package/rich-text-view/definition.cjs +30 -18
  72. package/rich-text-view/definition.js +22 -10
  73. package/rich-text-view/index.cjs +1 -1
  74. package/rich-text-view/index.js +46 -38
  75. package/selectable-box/definition.cjs +16 -5
  76. package/selectable-box/definition.js +16 -5
  77. package/selectable-box/index.cjs +11 -9
  78. package/selectable-box/index.js +86 -78
  79. package/shared/utils/slottable-request.d.ts +7 -0
  80. package/status/definition.cjs +76 -0
  81. package/status/definition.js +70 -0
  82. package/status/index.cjs +11 -0
  83. package/status/index.js +55 -0
  84. package/styles/core/all.css +2 -2
  85. package/styles/core/theme.css +2 -2
  86. package/styles/core/typography.css +1 -1
  87. package/styles/tokens/theme-dark.css +4 -4
  88. package/styles/tokens/theme-light.css +4 -4
  89. package/styles/tokens/vivid-2-compat.css +1 -1
  90. package/{data-table → table}/definition.cjs +21 -57
  91. package/{data-table → table}/definition.js +21 -57
  92. package/{data-table → table}/index.cjs +8 -8
  93. package/{data-table → table}/index.js +43 -79
  94. package/tag/definition.cjs +1 -1
  95. package/tag/definition.js +1 -1
  96. package/tag/index.cjs +24 -24
  97. package/tag/index.js +89 -89
  98. package/unbundled/{feature.cjs → slottable-request.cjs} +24 -0
  99. package/unbundled/{feature.js → slottable-request.js} +23 -1
  100. package/unbundled/vivid-element.cjs +1 -1
  101. package/unbundled/vivid-element.js +1 -1
  102. package/vivid.api.json +505 -26
  103. /package/lib/{data-table → table}/table-body.d.ts +0 -0
  104. /package/lib/{data-table → table}/table-body.template.d.ts +0 -0
  105. /package/lib/{data-table → table}/table-cell.d.ts +0 -0
  106. /package/lib/{data-table → table}/table-cell.template.d.ts +0 -0
  107. /package/lib/{data-table → table}/table-head.d.ts +0 -0
  108. /package/lib/{data-table → table}/table-head.template.d.ts +0 -0
  109. /package/lib/{data-table → table}/table-header-cell.d.ts +0 -0
  110. /package/lib/{data-table → table}/table-header-cell.template.d.ts +0 -0
  111. /package/lib/{data-table → table}/table-row.d.ts +0 -0
  112. /package/lib/{data-table → table}/table-row.template.d.ts +0 -0
  113. /package/lib/{data-table → table}/table.d.ts +0 -0
  114. /package/lib/{data-table → table}/table.template.d.ts +0 -0
@@ -0,0 +1,388 @@
1
+ import type { Connotation } from '../enums';
2
+ import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
+ import type { ExtractFromEnum } from '../../shared/utils/enums';
4
+ export type StatusConnotation = ExtractFromEnum<Connotation, Connotation.Success | Connotation.Information | Connotation.Warning | Connotation.Alert>;
5
+ declare const Status_base: {
6
+ new (...args: any[]): {
7
+ icon?: string | undefined;
8
+ iconSlottedContent?: HTMLElement[] | undefined;
9
+ connectedCallback(): void;
10
+ _vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
11
+ readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
12
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
13
+ disconnectedCallback(): void;
14
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
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
+ readonly attributes: NamedNodeMap;
40
+ readonly classList: DOMTokenList;
41
+ className: string;
42
+ readonly clientHeight: number;
43
+ readonly clientLeft: number;
44
+ readonly clientTop: number;
45
+ readonly clientWidth: number;
46
+ id: string;
47
+ readonly localName: string;
48
+ readonly namespaceURI: string | null;
49
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
50
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
51
+ outerHTML: string;
52
+ readonly ownerDocument: Document;
53
+ readonly part: DOMTokenList;
54
+ readonly prefix: string | null;
55
+ readonly scrollHeight: number;
56
+ scrollLeft: number;
57
+ scrollTop: number;
58
+ readonly scrollWidth: number;
59
+ readonly shadowRoot: ShadowRoot | null;
60
+ slot: string;
61
+ readonly tagName: string;
62
+ attachShadow(init: ShadowRootInit): ShadowRoot;
63
+ checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
64
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
65
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
66
+ closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
67
+ closest<E extends Element = Element>(selectors: string): E | null;
68
+ getAttribute(qualifiedName: string): string | null;
69
+ getAttributeNS(namespace: string | null, localName: string): string | null;
70
+ getAttributeNames(): string[];
71
+ getAttributeNode(qualifiedName: string): Attr | null;
72
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
73
+ getBoundingClientRect(): DOMRect;
74
+ getClientRects(): DOMRectList;
75
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
76
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
77
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
78
+ getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
79
+ getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
80
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
81
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
82
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
83
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
84
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
85
+ hasAttribute(qualifiedName: string): boolean;
86
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
87
+ hasAttributes(): boolean;
88
+ hasPointerCapture(pointerId: number): boolean;
89
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
90
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
91
+ insertAdjacentText(where: InsertPosition, data: string): void;
92
+ matches(selectors: string): boolean;
93
+ releasePointerCapture(pointerId: number): void;
94
+ removeAttribute(qualifiedName: string): void;
95
+ removeAttributeNS(namespace: string | null, localName: string): void;
96
+ removeAttributeNode(attr: Attr): Attr;
97
+ requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
98
+ requestPointerLock(): void;
99
+ scroll(options?: ScrollToOptions | undefined): void;
100
+ scroll(x: number, y: number): void;
101
+ scrollBy(options?: ScrollToOptions | undefined): void;
102
+ scrollBy(x: number, y: number): void;
103
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
104
+ scrollTo(options?: ScrollToOptions | undefined): void;
105
+ scrollTo(x: number, y: number): void;
106
+ setAttribute(qualifiedName: string, value: string): void;
107
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
108
+ setAttributeNode(attr: Attr): Attr | null;
109
+ setAttributeNodeNS(attr: Attr): Attr | null;
110
+ setPointerCapture(pointerId: number): void;
111
+ toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
112
+ webkitMatchesSelector(selectors: string): boolean;
113
+ readonly baseURI: string;
114
+ readonly childNodes: NodeListOf<ChildNode>;
115
+ readonly firstChild: ChildNode | null;
116
+ readonly isConnected: boolean;
117
+ readonly lastChild: ChildNode | null;
118
+ readonly nextSibling: ChildNode | null;
119
+ readonly nodeName: string;
120
+ readonly nodeType: number;
121
+ nodeValue: string | null;
122
+ readonly parentElement: HTMLElement | null;
123
+ readonly parentNode: ParentNode | null;
124
+ readonly previousSibling: ChildNode | null;
125
+ textContent: string | null;
126
+ appendChild<T extends Node>(node: T): T;
127
+ cloneNode(deep?: boolean | undefined): Node;
128
+ compareDocumentPosition(other: Node): number;
129
+ contains(other: Node | null): boolean;
130
+ getRootNode(options?: GetRootNodeOptions | undefined): Node;
131
+ hasChildNodes(): boolean;
132
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
133
+ isDefaultNamespace(namespace: string | null): boolean;
134
+ isEqualNode(otherNode: Node | null): boolean;
135
+ isSameNode(otherNode: Node | null): boolean;
136
+ lookupNamespaceURI(prefix: string | null): string | null;
137
+ lookupPrefix(namespace: string | null): string | null;
138
+ normalize(): void;
139
+ removeChild<T_2 extends Node>(child: T_2): T_2;
140
+ replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
141
+ readonly ELEMENT_NODE: 1;
142
+ readonly ATTRIBUTE_NODE: 2;
143
+ readonly TEXT_NODE: 3;
144
+ readonly CDATA_SECTION_NODE: 4;
145
+ readonly ENTITY_REFERENCE_NODE: 5;
146
+ readonly ENTITY_NODE: 6;
147
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
148
+ readonly COMMENT_NODE: 8;
149
+ readonly DOCUMENT_NODE: 9;
150
+ readonly DOCUMENT_TYPE_NODE: 10;
151
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
152
+ readonly NOTATION_NODE: 12;
153
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
154
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
155
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
156
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
157
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
158
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
159
+ dispatchEvent(event: Event): boolean;
160
+ ariaAtomic: string | null;
161
+ ariaAutoComplete: string | null;
162
+ ariaBusy: string | null;
163
+ ariaChecked: string | null;
164
+ ariaColCount: string | null;
165
+ ariaColIndex: string | null;
166
+ ariaColSpan: string | null;
167
+ ariaCurrent: string | null;
168
+ ariaDisabled: string | null;
169
+ ariaExpanded: string | null;
170
+ ariaHasPopup: string | null;
171
+ ariaHidden: string | null;
172
+ ariaInvalid: string | null;
173
+ ariaKeyShortcuts: string | null;
174
+ ariaLabel: string | null;
175
+ ariaLevel: string | null;
176
+ ariaLive: string | null;
177
+ ariaModal: string | null;
178
+ ariaMultiLine: string | null;
179
+ ariaMultiSelectable: string | null;
180
+ ariaOrientation: string | null;
181
+ ariaPlaceholder: string | null;
182
+ ariaPosInSet: string | null;
183
+ ariaPressed: string | null;
184
+ ariaReadOnly: string | null;
185
+ ariaRequired: string | null;
186
+ ariaRoleDescription: string | null;
187
+ ariaRowCount: string | null;
188
+ ariaRowIndex: string | null;
189
+ ariaRowSpan: string | null;
190
+ ariaSelected: string | null;
191
+ ariaSetSize: string | null;
192
+ ariaSort: string | null;
193
+ ariaValueMax: string | null;
194
+ ariaValueMin: string | null;
195
+ ariaValueNow: string | null;
196
+ ariaValueText: string | null;
197
+ role: string | null;
198
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
199
+ getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
200
+ after(...nodes: (string | Node)[]): void;
201
+ before(...nodes: (string | Node)[]): void;
202
+ remove(): void;
203
+ replaceWith(...nodes: (string | Node)[]): void;
204
+ innerHTML: string;
205
+ readonly nextElementSibling: Element | null;
206
+ readonly previousElementSibling: Element | null;
207
+ readonly childElementCount: number;
208
+ readonly children: HTMLCollection;
209
+ readonly firstElementChild: Element | null;
210
+ readonly lastElementChild: Element | null;
211
+ append(...nodes: (string | Node)[]): void;
212
+ prepend(...nodes: (string | Node)[]): void;
213
+ querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
214
+ querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
215
+ querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
216
+ querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
217
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
218
+ querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
219
+ querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
220
+ querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
221
+ querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
222
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
223
+ replaceChildren(...nodes: (string | Node)[]): void;
224
+ readonly assignedSlot: HTMLSlotElement | null;
225
+ readonly style: CSSStyleDeclaration;
226
+ contentEditable: string;
227
+ enterKeyHint: string;
228
+ inputMode: string;
229
+ readonly isContentEditable: boolean;
230
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
231
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
232
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
233
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
234
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
235
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
236
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
237
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
238
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
239
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
240
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
241
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
242
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
243
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
244
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
245
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
246
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
247
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
248
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
249
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
250
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
251
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
252
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
253
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
254
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
255
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
256
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
257
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
258
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
259
+ onerror: OnErrorEventHandler;
260
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
261
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
262
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
263
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
264
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
265
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
266
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
267
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
268
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
269
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
270
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
271
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
273
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
274
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
275
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
276
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
277
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
278
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
279
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
280
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
281
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
285
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
286
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
287
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
288
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
289
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
290
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
291
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
292
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
293
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
294
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
296
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
298
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
305
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
306
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
307
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
310
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
311
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
312
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
313
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
314
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
315
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
316
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
317
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
318
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
319
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
320
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
324
+ autofocus: boolean;
325
+ readonly dataset: DOMStringMap;
326
+ nonce?: string | undefined;
327
+ tabIndex: number;
328
+ blur(): void;
329
+ focus(options?: FocusOptions | undefined): void;
330
+ ariaColIndexText: string | null;
331
+ ariaDescription: string | null;
332
+ ariaRowIndexText: string | null;
333
+ ariaRelevant: string | null;
334
+ roleChanged(prev: string | null, next: string | null): void;
335
+ ariaAtomicChanged(prev: string | null, next: string | null): void;
336
+ ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
337
+ ariaBusyChanged(prev: string | null, next: string | null): void;
338
+ ariaCheckedChanged(prev: string | null, next: string | null): void;
339
+ ariaColCountChanged(prev: string | null, next: string | null): void;
340
+ ariaColIndexChanged(prev: string | null, next: string | null): void;
341
+ ariaColIndexTextChanged(prev: string | null, next: string | null): void;
342
+ ariaColSpanChanged(prev: string | null, next: string | null): void;
343
+ ariaCurrentChanged(prev: string | null, next: string | null): void;
344
+ ariaDescriptionChanged(prev: string | null, next: string | null): void;
345
+ ariaDisabledChanged(prev: string | null, next: string | null): void;
346
+ ariaExpandedChanged(prev: string | null, next: string | null): void;
347
+ ariaHasPopupChanged(prev: string | null, next: string | null): void;
348
+ ariaHiddenChanged(prev: string | null, next: string | null): void;
349
+ ariaInvalidChanged(prev: string | null, next: string | null): void;
350
+ ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
351
+ ariaLabelChanged(prev: string | null, next: string | null): void;
352
+ ariaLevelChanged(prev: string | null, next: string | null): void;
353
+ ariaLiveChanged(prev: string | null, next: string | null): void;
354
+ ariaModalChanged(prev: string | null, next: string | null): void;
355
+ ariaMultiLineChanged(prev: string | null, next: string | null): void;
356
+ ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
357
+ ariaOrientationChanged(prev: string | null, next: string | null): void;
358
+ ariaPlaceholderChanged(prev: string | null, next: string | null): void;
359
+ ariaPosInSetChanged(prev: string | null, next: string | null): void;
360
+ ariaPressedChanged(prev: string | null, next: string | null): void;
361
+ ariaReadOnlyChanged(prev: string | null, next: string | null): void;
362
+ ariaRequiredChanged(prev: string | null, next: string | null): void;
363
+ ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
364
+ ariaRowCountChanged(prev: string | null, next: string | null): void;
365
+ ariaRowIndexChanged(prev: string | null, next: string | null): void;
366
+ ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
367
+ ariaRowSpanChanged(prev: string | null, next: string | null): void;
368
+ ariaSelectedChanged(prev: string | null, next: string | null): void;
369
+ ariaSetSizeChanged(prev: string | null, next: string | null): void;
370
+ ariaSortChanged(prev: string | null, next: string | null): void;
371
+ ariaValueMaxChanged(prev: string | null, next: string | null): void;
372
+ ariaValueMinChanged(prev: string | null, next: string | null): void;
373
+ ariaValueNowChanged(prev: string | null, next: string | null): void;
374
+ ariaValueTextChanged(prev: string | null, next: string | null): void;
375
+ ariaRelevantChanged(prev: string | null, next: string | null): void;
376
+ "__#1@#handleReplacedProp"(replacedProp: {
377
+ newPropertyName: string;
378
+ deprecatedPropertyName: string;
379
+ fromDeprecated: (v: any) => any;
380
+ toDeprecated?: ((v: any) => any) | undefined;
381
+ }): void;
382
+ };
383
+ } & typeof VividElement;
384
+ export declare class Status extends Status_base {
385
+ status?: string;
386
+ connotation?: StatusConnotation;
387
+ }
388
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { VividElementDefinitionContext } from '../../shared/design-system/defineVividComponent';
2
+ import type { Status } from './status';
3
+ export declare const StatusTemplate: (context: VividElementDefinitionContext) => import("@microsoft/fast-element").ViewTemplate<Status, any>;
@@ -4,5 +4,5 @@ import { TableBody } from './table-body';
4
4
  import { TableRow } from './table-row';
5
5
  import { TableHeaderCell } from './table-header-cell';
6
6
  import { TableCell } from './table-cell';
7
- export declare const registerDataTable: (prefix?: string) => void;
7
+ export declare const registerTable: (prefix?: string) => void;
8
8
  export { Table as VwcTableElement, TableHead as VwcTableHeadElement, TableBody as VwcTableBodyElement, TableRow as VwcTableRowElement, TableHeaderCell as VwcTableHeaderCellElement, TableCell as VwcTableCellElement, };
package/lib/tag/tag.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { Appearance, Connotation, Shape } from '../enums.js';
2
2
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
3
  import type { ExtractFromEnum } from '../../shared/utils/enums';
4
- export type TagConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA>;
4
+ export type TagConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information | Connotation.Announcement>;
5
5
  export type TagAppearance = ExtractFromEnum<Appearance, Appearance.Subtle | Appearance.Duotone | Appearance.SubtleLight>;
6
6
  export type TagShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
7
7
  declare const Tag_base: {
@@ -1,4 +1,4 @@
1
- import type { VwcAccordionElement, VwcAccordionItemElement, VwcActionGroupElement, VwcAlertElement, VwcAudioPlayerElement, VwcAvatarElement, VwcBadgeElement, VwcBannerElement, VwcBreadcrumbElement, VwcBreadcrumbItemElement, VwcButtonElement, VwcCalendarElement, VwcCalendarEventElement, VwcCardElement, VwcCheckboxElement, VwcColorPickerElement, VwcComboboxElement, VwcContextualHelpElement, VwcDataGridCellElement, VwcDataGridElement, VwcDataGridRowElement, VwcDatePickerElement, VwcDateRangePickerElement, VwcDateTimePickerElement, VwcDialogElement, VwcDialPadElement, VwcDividerElement, VwcEmptyStateElement, VwcFabElement, VwcFilePickerElement, VwcHeaderElement, VwcIconElement, VwcLayoutElement, VwcMenuElement, VwcMenuItemElement, VwcNavDisclosureElement, VwcNavElement, VwcNavItemElement, VwcNoteElement, VwcNumberFieldElement, VwcOptionElement, VwcPaginationElement, VwcPopoverElement, VwcProgressElement, VwcProgressRingElement, VwcRadioElement, VwcRadioGroupElement, VwcRangeSliderElement, VwcRichTextEditorElement, VwcRichTextViewElement, VwcSearchableSelectElement, VwcSelectableBoxElement, VwcSelectElement, VwcSideDrawerElement, VwcSimpleColorPickerElement, VwcSliderElement, VwcSplitButtonElement, VwcSwitchElement, VwcTabElement, VwcTableBodyElement, VwcTableCellElement, VwcTableElement, VwcTableHeadElement, VwcTableHeaderCellElement, VwcTableRowElement, VwcTabPanelElement, VwcTabsElement, VwcTagElement, VwcTagGroupElement, VwcTextAreaElement, VwcTextFieldElement, VwcTimePickerElement, VwcToggletipElement, VwcTooltipElement, VwcTreeItemElement, VwcTreeViewElement, VwcVideoPlayerElement } from './components';
1
+ import type { VwcAccordionElement, VwcAccordionItemElement, VwcActionGroupElement, VwcAlertElement, VwcAudioPlayerElement, VwcAvatarElement, VwcBadgeElement, VwcBannerElement, VwcBreadcrumbElement, VwcBreadcrumbItemElement, VwcButtonElement, VwcCalendarElement, VwcCalendarEventElement, VwcCardElement, VwcCheckboxElement, VwcColorPickerElement, VwcComboboxElement, VwcContextualHelpElement, VwcCountryElement, VwcDataGridCellElement, VwcDataGridElement, VwcDataGridRowElement, VwcDatePickerElement, VwcDateRangePickerElement, VwcDateTimePickerElement, VwcDialogElement, VwcDialPadElement, VwcDividerElement, VwcEmptyStateElement, VwcFabElement, VwcFilePickerElement, VwcHeaderElement, VwcIconElement, VwcLayoutElement, VwcMenuElement, VwcMenuItemElement, VwcNavDisclosureElement, VwcNavElement, VwcNavItemElement, VwcNoteElement, VwcNumberFieldElement, VwcOptionElement, VwcPaginationElement, VwcPopoverElement, VwcProgressElement, VwcProgressRingElement, VwcRadioElement, VwcRadioGroupElement, VwcRangeSliderElement, VwcRichTextEditorElement, VwcRichTextViewElement, VwcSearchableSelectElement, VwcSelectableBoxElement, VwcSelectElement, VwcSideDrawerElement, VwcSimpleColorPickerElement, VwcSliderElement, VwcSplitButtonElement, VwcStatusElement, VwcSwitchElement, VwcTabElement, VwcTableBodyElement, VwcTableCellElement, VwcTableElement, VwcTableHeadElement, VwcTableHeaderCellElement, VwcTableRowElement, VwcTabPanelElement, VwcTabsElement, VwcTagElement, VwcTagGroupElement, VwcTextAreaElement, VwcTextFieldElement, VwcTimePickerElement, VwcToggletipElement, VwcTooltipElement, VwcTreeItemElement, VwcTreeViewElement, VwcVideoPlayerElement } from './components';
2
2
  type DefaultVividTagNameMap = {
3
3
  'vwc-accordion': VwcAccordionElement;
4
4
  'vwc-accordion-item': VwcAccordionItemElement;
@@ -18,6 +18,7 @@ type DefaultVividTagNameMap = {
18
18
  'vwc-color-picker': VwcColorPickerElement;
19
19
  'vwc-contextual-help': VwcContextualHelpElement;
20
20
  'vwc-combobox': VwcComboboxElement;
21
+ 'vwc-country': VwcCountryElement;
21
22
  'vwc-data-grid-cell': VwcDataGridCellElement;
22
23
  'vwc-data-grid': VwcDataGridElement;
23
24
  'vwc-data-grid-row': VwcDataGridRowElement;
@@ -63,6 +64,7 @@ type DefaultVividTagNameMap = {
63
64
  'vwc-simple-color-picker': VwcSimpleColorPickerElement;
64
65
  'vwc-slider': VwcSliderElement;
65
66
  'vwc-split-button': VwcSplitButtonElement;
67
+ 'vwc-status': VwcStatusElement;
66
68
  'vwc-switch': VwcSwitchElement;
67
69
  'vwc-tab': VwcTabElement;
68
70
  'vwc-tab-panel': VwcTabPanelElement;
package/locales/de-DE.cjs CHANGED
@@ -441,7 +441,9 @@ const deDE = {
441
441
  small: "Klein",
442
442
  fit: "Anpassen",
443
443
  original: "Originalgröße"
444
- }
444
+ },
445
+ suggestLoading: "Laden...",
446
+ suggestNoResults: "Keine Ergebnisse"
445
447
  },
446
448
  button: {
447
449
  pendingLabel: "Laden..."
package/locales/de-DE.js CHANGED
@@ -439,7 +439,9 @@ const deDE = {
439
439
  small: "Klein",
440
440
  fit: "Anpassen",
441
441
  original: "Originalgröße"
442
- }
442
+ },
443
+ suggestLoading: "Laden...",
444
+ suggestNoResults: "Keine Ergebnisse"
443
445
  },
444
446
  button: {
445
447
  pendingLabel: "Laden..."
package/locales/en-GB.cjs CHANGED
@@ -273,7 +273,9 @@ const enGB = {
273
273
  small: "Small",
274
274
  fit: "Fit",
275
275
  original: "Original size"
276
- }
276
+ },
277
+ suggestLoading: "Loading...",
278
+ suggestNoResults: "No results"
277
279
  },
278
280
  button: {
279
281
  pendingLabel: "Loading..."
package/locales/en-GB.js CHANGED
@@ -271,7 +271,9 @@ const enGB = {
271
271
  small: "Small",
272
272
  fit: "Fit",
273
273
  original: "Original size"
274
- }
274
+ },
275
+ suggestLoading: "Loading...",
276
+ suggestNoResults: "No results"
275
277
  },
276
278
  button: {
277
279
  pendingLabel: "Loading..."
package/locales/en-US.cjs CHANGED
@@ -441,7 +441,9 @@ const enUS = {
441
441
  small: "Small",
442
442
  fit: "Fit",
443
443
  original: "Original size"
444
- }
444
+ },
445
+ suggestLoading: "Loading...",
446
+ suggestNoResults: "No results"
445
447
  },
446
448
  button: {
447
449
  pendingLabel: "Loading..."
package/locales/en-US.js CHANGED
@@ -439,7 +439,9 @@ const enUS = {
439
439
  small: "Small",
440
440
  fit: "Fit",
441
441
  original: "Original size"
442
- }
442
+ },
443
+ suggestLoading: "Loading...",
444
+ suggestNoResults: "No results"
443
445
  },
444
446
  button: {
445
447
  pendingLabel: "Loading..."
package/locales/ja-JP.cjs CHANGED
@@ -440,7 +440,9 @@ const jaJP = {
440
440
  small: "小",
441
441
  fit: "フィット",
442
442
  original: "元のサイズ"
443
- }
443
+ },
444
+ suggestLoading: "読み込み中...",
445
+ suggestNoResults: "結果なし"
444
446
  },
445
447
  button: {
446
448
  pendingLabel: "読み込み中"
package/locales/ja-JP.js CHANGED
@@ -438,7 +438,9 @@ const jaJP = {
438
438
  small: "小",
439
439
  fit: "フィット",
440
440
  original: "元のサイズ"
441
- }
441
+ },
442
+ suggestLoading: "読み込み中...",
443
+ suggestNoResults: "結果なし"
442
444
  },
443
445
  button: {
444
446
  pendingLabel: "読み込み中"
package/locales/zh-CN.cjs CHANGED
@@ -442,7 +442,9 @@ const zhCN = {
442
442
  small: "小",
443
443
  fit: "适应",
444
444
  original: "原始大小"
445
- }
445
+ },
446
+ suggestLoading: "加载中...",
447
+ suggestNoResults: "无结果"
446
448
  },
447
449
  button: {
448
450
  pendingLabel: "加载中"
package/locales/zh-CN.js CHANGED
@@ -440,7 +440,9 @@ const zhCN = {
440
440
  small: "小",
441
441
  fit: "适应",
442
442
  original: "原始大小"
443
- }
443
+ },
444
+ suggestLoading: "加载中...",
445
+ suggestNoResults: "无结果"
444
446
  },
445
447
  button: {
446
448
  pendingLabel: "加载中"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/vivid",
3
- "version": "5.9.0",
3
+ "version": "5.11.0",
4
4
  "homepage": "https://vivid.deno.dev",
5
5
  "bugs": {
6
6
  "url": "https://github.com/Vonage/vivid-3/issues"
@@ -39,7 +39,7 @@
39
39
  "module": "./index.js",
40
40
  "dependencies": {
41
41
  "@floating-ui/dom": "^1.6.13",
42
- "@microsoft/fast-element": "^2.8.3",
42
+ "@microsoft/fast-element": "2.8.3",
43
43
  "@microsoft/fast-web-utilities": "^6.0.0",
44
44
  "date-fns": "^3.0.0",
45
45
  "dompurify": "^3.3.0",
@@ -47,6 +47,7 @@
47
47
  "prosemirror-dropcursor": "^1.8.2",
48
48
  "prosemirror-gapcursor": "^1.3.2",
49
49
  "prosemirror-history": "^1.4.1",
50
+ "prosemirror-inputrules": "^1.4.0",
50
51
  "prosemirror-keymap": "^1.2.3",
51
52
  "prosemirror-model": "^1.25.4",
52
53
  "prosemirror-schema-basic": "^1.2.3",
@@ -88,13 +89,13 @@
88
89
  "vitest-fetch-mock": "^0.4.5",
89
90
  "wait-on": "^8.0.5",
90
91
  "@repo/cem-analyzer-plugins": "1.0.0",
91
- "@repo/consts": "1.0.0",
92
- "@repo/shared": "1.0.0",
93
92
  "@repo/eslint-config": "1.0.0",
94
93
  "@repo/eslint-plugin-repo": "1.0.0",
95
- "@repo/tokens": "1.0.0",
94
+ "@repo/consts": "1.0.0",
95
+ "@repo/shared": "1.0.0",
96
96
  "@repo/stylelint-config": "1.0.0",
97
97
  "@repo/styles": "1.0.0",
98
+ "@repo/tokens": "1.0.0",
98
99
  "@repo/tools": "1.0.0",
99
100
  "@repo/typescript-config": "1.0.0",
100
101
  "@repo/vitest-config": "1.0.0"