@vonage/vivid 4.30.0 → 4.31.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 (51) hide show
  1. package/custom-elements.json +13 -3
  2. package/lib/badge/badge.d.ts +1 -1
  3. package/lib/date-picker/date-picker.d.ts +2 -2
  4. package/lib/date-time-picker/date-time-picker.d.ts +3 -3
  5. package/lib/time-picker/time-picker.d.ts +2 -2
  6. package/lib/toggletip/locale.d.ts +3 -0
  7. package/lib/toggletip/toggletip.d.ts +347 -10
  8. package/locales/de-DE.cjs +6 -0
  9. package/locales/de-DE.js +6 -0
  10. package/locales/en-GB.cjs +6 -0
  11. package/locales/en-GB.js +6 -0
  12. package/locales/en-US.cjs +6 -0
  13. package/locales/en-US.js +6 -0
  14. package/locales/ja-JP.cjs +6 -0
  15. package/locales/ja-JP.js +6 -0
  16. package/locales/zh-CN.cjs +6 -0
  17. package/locales/zh-CN.js +6 -0
  18. package/package.json +1 -1
  19. package/shared/anchored.js +1 -1
  20. package/shared/definition13.cjs +1 -1
  21. package/shared/definition13.js +1 -1
  22. package/shared/definition15.cjs +1 -1
  23. package/shared/definition15.js +1 -1
  24. package/shared/definition31.cjs +1 -1
  25. package/shared/definition31.js +1 -1
  26. package/shared/definition5.cjs +1 -1
  27. package/shared/definition5.js +1 -1
  28. package/shared/definition56.cjs +5 -4
  29. package/shared/definition56.js +5 -4
  30. package/shared/definition60.cjs +7 -6
  31. package/shared/definition60.js +7 -6
  32. package/shared/localization/Locale.d.ts +2 -0
  33. package/shared/picker-field/mixins/single-date-picker.d.ts +2 -2
  34. package/shared/picker-field/mixins/single-value-picker.d.ts +1 -1
  35. package/shared/picker-field/mixins/time-selection-picker.d.ts +2 -2
  36. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +2 -2
  37. package/shared/single-date-picker.cjs +1 -1
  38. package/shared/single-date-picker.js +1 -1
  39. package/shared/single-value-picker.cjs +22 -21
  40. package/shared/single-value-picker.js +22 -21
  41. package/shared/time-selection-picker.template.cjs +2 -1
  42. package/shared/time-selection-picker.template.js +2 -1
  43. package/shared/vivid-element.cjs +1 -1
  44. package/shared/vivid-element.js +1 -1
  45. package/styles/core/all.css +1 -1
  46. package/styles/core/theme.css +1 -1
  47. package/styles/core/typography.css +1 -1
  48. package/styles/tokens/theme-dark.css +4 -4
  49. package/styles/tokens/theme-light.css +4 -4
  50. package/styles/tokens/vivid-2-compat.css +1 -1
  51. package/vivid.api.json +10 -1
@@ -32401,6 +32401,12 @@
32401
32401
  }
32402
32402
  ]
32403
32403
  },
32404
+ {
32405
+ "kind": "javascript-module",
32406
+ "path": "src/lib/toggletip/locale.ts",
32407
+ "declarations": [],
32408
+ "exports": []
32409
+ },
32404
32410
  {
32405
32411
  "kind": "javascript-module",
32406
32412
  "path": "src/lib/toggletip/toggletip.ts",
@@ -32426,12 +32432,12 @@
32426
32432
  "members": [
32427
32433
  {
32428
32434
  "kind": "field",
32429
- "name": "#ANCHOR_ARIA_LABEL_SUFFIX",
32435
+ "name": "#originalAriaLabel",
32430
32436
  "privacy": "private",
32431
32437
  "type": {
32432
- "text": "string"
32438
+ "text": "string | null"
32433
32439
  },
32434
- "default": "' ; Show more information'"
32440
+ "default": "null"
32435
32441
  },
32436
32442
  {
32437
32443
  "kind": "field",
@@ -32680,6 +32686,10 @@
32680
32686
  }
32681
32687
  ],
32682
32688
  "mixins": [
32689
+ {
32690
+ "name": "Localized",
32691
+ "module": "/src/shared/patterns"
32692
+ },
32683
32693
  {
32684
32694
  "name": "Anchored",
32685
32695
  "module": "/src/shared/patterns/anchored"
@@ -1,7 +1,7 @@
1
1
  import type { Appearance, Connotation, Shape, Size } 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 BadgeConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information>;
4
+ export type BadgeConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information | Connotation.Announcement>;
5
5
  export type BadgeAppearance = ExtractFromEnum<Appearance, Appearance.Filled | Appearance.Duotone | Appearance.Subtle | Appearance.SubtleLight>;
6
6
  export type BadgeShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
7
7
  export type BadgeSize = ExtractFromEnum<Size, Size.Normal | Size.Expanded>;
@@ -812,7 +812,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
812
812
  _toPresentationValue(value: string): string;
813
813
  _parsePresentationValue(presentationValue: string): string;
814
814
  _isInternalValueUpdate: boolean;
815
- _updateValueDueToUserInteraction(newValue: string): void;
815
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
816
816
  _isPresentationValueInvalid(): boolean;
817
817
  }) & (abstract new (...args: any[]) => {
818
818
  _isValidValue(value: string): boolean;
@@ -821,7 +821,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
821
821
  _isInternalValueUpdate: boolean;
822
822
  valueChanged(previous: string, next: string): void;
823
823
  _updatePresentationValue(): void;
824
- _updateValueDueToUserInteraction(newValue: string): void;
824
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
825
825
  _onTextFieldChange(): void;
826
826
  _onTextFieldInput(event: Event): void;
827
827
  _isPresentationValueInvalid(): boolean;
@@ -28,7 +28,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
28
28
  _isInternalValueUpdate: boolean;
29
29
  valueChanged: ((previous: string, next: string) => void) & ((_previous: string, _next: string) => void) & ((_previous: string, _next: string) => void);
30
30
  _updatePresentationValue: (() => void) & (() => void);
31
- _updateValueDueToUserInteraction(newValue: string): void;
31
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
32
32
  _onTextFieldChange: (() => void) & (() => void);
33
33
  _onTextFieldInput: ((event: Event) => void) & ((event: Event) => void);
34
34
  _isPresentationValueInvalid(): boolean;
@@ -1602,7 +1602,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
1602
1602
  _toPresentationValue(value: string): string;
1603
1603
  _parsePresentationValue(presentationValue: string): string;
1604
1604
  _isInternalValueUpdate: boolean;
1605
- _updateValueDueToUserInteraction(newValue: string): void;
1605
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
1606
1606
  _isPresentationValueInvalid(): boolean;
1607
1607
  }) & (abstract new (...args: any[]) => {
1608
1608
  _isValidValue(value: string): boolean;
@@ -1611,7 +1611,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
1611
1611
  _isInternalValueUpdate: boolean;
1612
1612
  valueChanged(previous: string, next: string): void;
1613
1613
  _updatePresentationValue(): void;
1614
- _updateValueDueToUserInteraction(newValue: string): void;
1614
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
1615
1615
  _onTextFieldChange(): void;
1616
1616
  _onTextFieldInput(event: Event): void;
1617
1617
  _isPresentationValueInvalid(): boolean;
@@ -30,7 +30,7 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
30
30
  _isInternalValueUpdate: boolean;
31
31
  valueChanged: ((previous: string, next: string) => void) & ((_previous: string, _next: string) => void) & ((_previous: string, _next: string) => void);
32
32
  _updatePresentationValue: (() => void) & (() => void);
33
- _updateValueDueToUserInteraction(newValue: string): void;
33
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
34
34
  _onTextFieldChange: (() => void) & (() => void);
35
35
  _onTextFieldInput: ((event: Event) => void) & ((event: Event) => void);
36
36
  _isPresentationValueInvalid(): boolean;
@@ -798,7 +798,7 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
798
798
  _isInternalValueUpdate: boolean;
799
799
  valueChanged(previous: string, next: string): void;
800
800
  _updatePresentationValue(): void;
801
- _updateValueDueToUserInteraction(newValue: string): void;
801
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
802
802
  _onTextFieldChange(): void;
803
803
  _onTextFieldInput(event: Event): void;
804
804
  _isPresentationValueInvalid(): boolean;
@@ -0,0 +1,3 @@
1
+ export interface ToggletipLocale {
2
+ anchorLabel: (ariaLabel?: string) => string;
3
+ }
@@ -2,21 +2,13 @@ import type { Placement } from '@floating-ui/dom';
2
2
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
3
  declare const Toggletip_base: {
4
4
  new (...args: any[]): {
5
- anchor?: (string | HTMLElement) | undefined;
6
- anchorChanged(): void;
7
- _slottedAnchor?: HTMLElement[] | undefined;
8
- _slottedAnchorChanged(): void;
9
- _anchorEl?: HTMLElement | undefined;
10
- "__#9@#updateAnchorEl": () => void;
11
- "__#9@#observer"?: MutationObserver | undefined;
12
- "__#9@#observeMissingAnchor": (anchorId: string) => void;
13
- "__#9@#cleanupObserverIfNeeded": () => void;
5
+ readonly locale: import("../../shared/localization/Locale").Locale;
14
6
  connectedCallback(): void;
15
- disconnectedCallback(): void;
16
7
  specialHandling: boolean;
17
8
  _vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
18
9
  readonly $fastController: import("@microsoft/fast-element").Controller;
19
10
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
11
+ disconnectedCallback(): void;
20
12
  attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
21
13
  accessKey: string;
22
14
  readonly accessKeyLabel: string;
@@ -345,6 +337,351 @@ declare const Toggletip_base: {
345
337
  toDeprecated?: ((v: any) => any) | undefined;
346
338
  }): void;
347
339
  };
340
+ } & {
341
+ new (...args: any[]): {
342
+ anchor?: (string | HTMLElement) | undefined;
343
+ anchorChanged(): void;
344
+ _slottedAnchor?: HTMLElement[] | undefined;
345
+ _slottedAnchorChanged(): void;
346
+ _anchorEl?: HTMLElement | undefined;
347
+ "__#9@#updateAnchorEl": () => void;
348
+ "__#9@#observer"?: MutationObserver | undefined;
349
+ "__#9@#observeMissingAnchor": (anchorId: string) => void;
350
+ "__#9@#cleanupObserverIfNeeded": () => void;
351
+ connectedCallback(): void;
352
+ disconnectedCallback(): void;
353
+ specialHandling: boolean;
354
+ _vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
355
+ readonly $fastController: import("@microsoft/fast-element").Controller;
356
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
357
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
358
+ accessKey: string;
359
+ readonly accessKeyLabel: string;
360
+ autocapitalize: string;
361
+ dir: string;
362
+ draggable: boolean;
363
+ hidden: boolean;
364
+ inert: boolean;
365
+ innerText: string;
366
+ lang: string;
367
+ readonly offsetHeight: number;
368
+ readonly offsetLeft: number;
369
+ readonly offsetParent: Element | null;
370
+ readonly offsetTop: number;
371
+ readonly offsetWidth: number;
372
+ outerText: string;
373
+ spellcheck: boolean;
374
+ title: string;
375
+ translate: boolean;
376
+ attachInternals(): ElementInternals;
377
+ click(): void;
378
+ addEventListener<K_17 extends keyof HTMLElementEventMap>(type: K_17, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_17]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
379
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
380
+ removeEventListener<K_18 extends keyof HTMLElementEventMap>(type: K_18, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_18]) => any, options?: boolean | EventListenerOptions | undefined): void;
381
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
382
+ dropzone: import("dropzone");
383
+ readonly attributes: NamedNodeMap;
384
+ readonly classList: DOMTokenList;
385
+ className: string;
386
+ readonly clientHeight: number;
387
+ readonly clientLeft: number;
388
+ readonly clientTop: number;
389
+ readonly clientWidth: number;
390
+ id: string;
391
+ readonly localName: string;
392
+ readonly namespaceURI: string | null;
393
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
394
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
395
+ outerHTML: string;
396
+ readonly ownerDocument: Document;
397
+ readonly part: DOMTokenList;
398
+ readonly prefix: string | null;
399
+ readonly scrollHeight: number;
400
+ scrollLeft: number;
401
+ scrollTop: number;
402
+ readonly scrollWidth: number;
403
+ readonly shadowRoot: ShadowRoot | null;
404
+ slot: string;
405
+ readonly tagName: string;
406
+ attachShadow(init: ShadowRootInit): ShadowRoot;
407
+ checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
408
+ closest<K_19 extends keyof HTMLElementTagNameMap>(selector: K_19): HTMLElementTagNameMap[K_19] | null;
409
+ closest<K_20 extends keyof SVGElementTagNameMap>(selector: K_20): SVGElementTagNameMap[K_20] | null;
410
+ closest<K_21 extends keyof MathMLElementTagNameMap>(selector: K_21): MathMLElementTagNameMap[K_21] | null;
411
+ closest<E_3 extends Element = Element>(selectors: string): E_3 | null;
412
+ getAttribute(qualifiedName: string): string | null;
413
+ getAttributeNS(namespace: string | null, localName: string): string | null;
414
+ getAttributeNames(): string[];
415
+ getAttributeNode(qualifiedName: string): Attr | null;
416
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
417
+ getBoundingClientRect(): DOMRect;
418
+ getClientRects(): DOMRectList;
419
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
420
+ getElementsByTagName<K_22 extends keyof HTMLElementTagNameMap>(qualifiedName: K_22): HTMLCollectionOf<HTMLElementTagNameMap[K_22]>;
421
+ getElementsByTagName<K_23 extends keyof SVGElementTagNameMap>(qualifiedName: K_23): HTMLCollectionOf<SVGElementTagNameMap[K_23]>;
422
+ getElementsByTagName<K_24 extends keyof MathMLElementTagNameMap>(qualifiedName: K_24): HTMLCollectionOf<MathMLElementTagNameMap[K_24]>;
423
+ getElementsByTagName<K_25 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_25): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_25]>;
424
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
425
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
426
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
427
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
428
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
429
+ hasAttribute(qualifiedName: string): boolean;
430
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
431
+ hasAttributes(): boolean;
432
+ hasPointerCapture(pointerId: number): boolean;
433
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
434
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
435
+ insertAdjacentText(where: InsertPosition, data: string): void;
436
+ matches(selectors: string): boolean;
437
+ releasePointerCapture(pointerId: number): void;
438
+ removeAttribute(qualifiedName: string): void;
439
+ removeAttributeNS(namespace: string | null, localName: string): void;
440
+ removeAttributeNode(attr: Attr): Attr;
441
+ requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
442
+ requestPointerLock(): void;
443
+ scroll(options?: ScrollToOptions | undefined): void;
444
+ scroll(x: number, y: number): void;
445
+ scrollBy(options?: ScrollToOptions | undefined): void;
446
+ scrollBy(x: number, y: number): void;
447
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
448
+ scrollTo(options?: ScrollToOptions | undefined): void;
449
+ scrollTo(x: number, y: number): void;
450
+ setAttribute(qualifiedName: string, value: string): void;
451
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
452
+ setAttributeNode(attr: Attr): Attr | null;
453
+ setAttributeNodeNS(attr: Attr): Attr | null;
454
+ setPointerCapture(pointerId: number): void;
455
+ toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
456
+ webkitMatchesSelector(selectors: string): boolean;
457
+ readonly baseURI: string;
458
+ readonly childNodes: NodeListOf<ChildNode>;
459
+ readonly firstChild: ChildNode | null;
460
+ readonly isConnected: boolean;
461
+ readonly lastChild: ChildNode | null;
462
+ readonly nextSibling: ChildNode | null;
463
+ readonly nodeName: string;
464
+ readonly nodeType: number;
465
+ nodeValue: string | null;
466
+ readonly parentElement: HTMLElement | null;
467
+ readonly parentNode: ParentNode | null;
468
+ readonly previousSibling: ChildNode | null;
469
+ textContent: string | null;
470
+ appendChild<T extends Node>(node: T): T;
471
+ cloneNode(deep?: boolean | undefined): Node;
472
+ compareDocumentPosition(other: Node): number;
473
+ contains(other: Node | null): boolean;
474
+ getRootNode(options?: GetRootNodeOptions | undefined): Node;
475
+ hasChildNodes(): boolean;
476
+ insertBefore<T_4 extends Node>(node: T_4, child: Node | null): T_4;
477
+ isDefaultNamespace(namespace: string | null): boolean;
478
+ isEqualNode(otherNode: Node | null): boolean;
479
+ isSameNode(otherNode: Node | null): boolean;
480
+ lookupNamespaceURI(prefix: string | null): string | null;
481
+ lookupPrefix(namespace: string | null): string | null;
482
+ normalize(): void;
483
+ removeChild<T_2 extends Node>(child: T_2): T_2;
484
+ replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
485
+ readonly ELEMENT_NODE: 1;
486
+ readonly ATTRIBUTE_NODE: 2;
487
+ readonly TEXT_NODE: 3;
488
+ readonly CDATA_SECTION_NODE: 4;
489
+ readonly ENTITY_REFERENCE_NODE: 5;
490
+ readonly ENTITY_NODE: 6;
491
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
492
+ readonly COMMENT_NODE: 8;
493
+ readonly DOCUMENT_NODE: 9;
494
+ readonly DOCUMENT_TYPE_NODE: 10;
495
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
496
+ readonly NOTATION_NODE: 12;
497
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
498
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
499
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
500
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
501
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
502
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
503
+ dispatchEvent(event: Event): boolean;
504
+ ariaAtomic: string | null;
505
+ ariaAutoComplete: string | null;
506
+ ariaBusy: string | null;
507
+ ariaChecked: string | null;
508
+ ariaColCount: string | null;
509
+ ariaColIndex: string | null;
510
+ ariaColSpan: string | null;
511
+ ariaCurrent: string | null;
512
+ ariaDisabled: string | null;
513
+ ariaExpanded: string | null;
514
+ ariaHasPopup: string | null;
515
+ ariaHidden: string | null;
516
+ ariaInvalid: string | null;
517
+ ariaKeyShortcuts: string | null;
518
+ ariaLabel: string | null;
519
+ ariaLevel: string | null;
520
+ ariaLive: string | null;
521
+ ariaModal: string | null;
522
+ ariaMultiLine: string | null;
523
+ ariaMultiSelectable: string | null;
524
+ ariaOrientation: string | null;
525
+ ariaPlaceholder: string | null;
526
+ ariaPosInSet: string | null;
527
+ ariaPressed: string | null;
528
+ ariaReadOnly: string | null;
529
+ ariaRequired: string | null;
530
+ ariaRoleDescription: string | null;
531
+ ariaRowCount: string | null;
532
+ ariaRowIndex: string | null;
533
+ ariaRowSpan: string | null;
534
+ ariaSelected: string | null;
535
+ ariaSetSize: string | null;
536
+ ariaSort: string | null;
537
+ ariaValueMax: string | null;
538
+ ariaValueMin: string | null;
539
+ ariaValueNow: string | null;
540
+ ariaValueText: string | null;
541
+ role: string | null;
542
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
543
+ getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
544
+ after(...nodes: (string | Node)[]): void;
545
+ before(...nodes: (string | Node)[]): void;
546
+ remove(): void;
547
+ replaceWith(...nodes: (string | Node)[]): void;
548
+ innerHTML: string;
549
+ readonly nextElementSibling: Element | null;
550
+ readonly previousElementSibling: Element | null;
551
+ readonly childElementCount: number;
552
+ readonly children: HTMLCollection;
553
+ readonly firstElementChild: Element | null;
554
+ readonly lastElementChild: Element | null;
555
+ append(...nodes: (string | Node)[]): void;
556
+ prepend(...nodes: (string | Node)[]): void;
557
+ querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
558
+ querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
559
+ querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
560
+ querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
561
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
562
+ querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
563
+ querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
564
+ querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
565
+ querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
566
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
567
+ replaceChildren(...nodes: (string | Node)[]): void;
568
+ readonly assignedSlot: HTMLSlotElement | null;
569
+ readonly style: CSSStyleDeclaration;
570
+ contentEditable: string;
571
+ enterKeyHint: string;
572
+ inputMode: string;
573
+ readonly isContentEditable: boolean;
574
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
575
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
576
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
577
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
578
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
579
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
580
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
581
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
582
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
583
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
584
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
585
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
586
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
587
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
588
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
589
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
590
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
591
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
592
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
593
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
594
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
595
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
596
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
597
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
598
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
599
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
600
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
601
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
602
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
603
+ onerror: OnErrorEventHandler;
604
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
605
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
606
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
607
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
608
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
609
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
610
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
611
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
612
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
613
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
614
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
615
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
616
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
617
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
618
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
619
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
620
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
621
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
622
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
623
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
624
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
625
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
626
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
627
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
628
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
629
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
630
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
631
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
632
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
633
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
634
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
635
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
636
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
637
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
638
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
639
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
640
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
641
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
642
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
643
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
644
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
645
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
646
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
647
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
648
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
649
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
650
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
651
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
652
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
653
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
654
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
655
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
656
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
657
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
658
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
659
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
660
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
661
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
662
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
663
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
664
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
665
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
666
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
667
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
668
+ autofocus: boolean;
669
+ readonly dataset: DOMStringMap;
670
+ nonce?: string | undefined;
671
+ tabIndex: number;
672
+ blur(): void;
673
+ focus(options?: FocusOptions | undefined): void;
674
+ ariaColIndexText: string | null;
675
+ ariaDescription: string | null;
676
+ ariaRowIndexText: string | null;
677
+ ariaRelevant: string | null;
678
+ "__#1@#handleReplacedProp"(replacedProp: {
679
+ newPropertyName: string;
680
+ deprecatedPropertyName: string;
681
+ fromDeprecated: (v: any) => any;
682
+ toDeprecated?: ((v: any) => any) | undefined;
683
+ }): void;
684
+ };
348
685
  } & typeof VividElement;
349
686
  export declare class Toggletip extends Toggletip_base {
350
687
  #private;
package/locales/de-DE.cjs CHANGED
@@ -454,6 +454,12 @@ const deDE = {
454
454
  /* istanbul ignore next */
455
455
  (label) => `Entfernen ${label}`
456
456
  )
457
+ },
458
+ toggletip: {
459
+ anchorLabel: (
460
+ /* istanbul ignore next */
461
+ (ariaLabel) => ariaLabel ? `Weitere Informationen zu ${ariaLabel} anzeigen` : `Weitere Informationen anzeigen`
462
+ )
457
463
  }
458
464
  };
459
465
 
package/locales/de-DE.js CHANGED
@@ -452,6 +452,12 @@ const deDE = {
452
452
  /* istanbul ignore next */
453
453
  (label) => `Entfernen ${label}`
454
454
  )
455
+ },
456
+ toggletip: {
457
+ anchorLabel: (
458
+ /* istanbul ignore next */
459
+ (ariaLabel) => ariaLabel ? `Weitere Informationen zu ${ariaLabel} anzeigen` : `Weitere Informationen anzeigen`
460
+ )
455
461
  }
456
462
  };
457
463
 
package/locales/en-GB.cjs CHANGED
@@ -286,6 +286,12 @@ const enGB = {
286
286
  /* istanbul ignore next */
287
287
  (label) => `Remove ${label}`
288
288
  )
289
+ },
290
+ toggletip: {
291
+ anchorLabel: (
292
+ /* istanbul ignore next */
293
+ (ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
294
+ )
289
295
  }
290
296
  };
291
297
 
package/locales/en-GB.js CHANGED
@@ -284,6 +284,12 @@ const enGB = {
284
284
  /* istanbul ignore next */
285
285
  (label) => `Remove ${label}`
286
286
  )
287
+ },
288
+ toggletip: {
289
+ anchorLabel: (
290
+ /* istanbul ignore next */
291
+ (ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
292
+ )
287
293
  }
288
294
  };
289
295
 
package/locales/en-US.cjs CHANGED
@@ -454,6 +454,12 @@ const enUS = {
454
454
  /* istanbul ignore next */
455
455
  (label) => `Remove ${label}`
456
456
  )
457
+ },
458
+ toggletip: {
459
+ anchorLabel: (
460
+ /* istanbul ignore next */
461
+ (ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
462
+ )
457
463
  }
458
464
  };
459
465
 
package/locales/en-US.js CHANGED
@@ -452,6 +452,12 @@ const enUS = {
452
452
  /* istanbul ignore next */
453
453
  (label) => `Remove ${label}`
454
454
  )
455
+ },
456
+ toggletip: {
457
+ anchorLabel: (
458
+ /* istanbul ignore next */
459
+ (ariaLabel) => ariaLabel ? `Show more information about ${ariaLabel}` : `Show more information`
460
+ )
455
461
  }
456
462
  };
457
463
 
package/locales/ja-JP.cjs CHANGED
@@ -453,6 +453,12 @@ const jaJP = {
453
453
  /* istanbul ignore next */
454
454
  (label) => `削除する ${label}`
455
455
  )
456
+ },
457
+ toggletip: {
458
+ anchorLabel: (
459
+ /* istanbul ignore next */
460
+ (ariaLabel) => ariaLabel ? `さらに情報を表示 ${ariaLabel}` : `さらに情報を表示`
461
+ )
456
462
  }
457
463
  };
458
464
 
package/locales/ja-JP.js CHANGED
@@ -451,6 +451,12 @@ const jaJP = {
451
451
  /* istanbul ignore next */
452
452
  (label) => `削除する ${label}`
453
453
  )
454
+ },
455
+ toggletip: {
456
+ anchorLabel: (
457
+ /* istanbul ignore next */
458
+ (ariaLabel) => ariaLabel ? `さらに情報を表示 ${ariaLabel}` : `さらに情報を表示`
459
+ )
454
460
  }
455
461
  };
456
462
 
package/locales/zh-CN.cjs CHANGED
@@ -455,6 +455,12 @@ const zhCN = {
455
455
  /* istanbul ignore next */
456
456
  (label) => `移除 ${label}`
457
457
  )
458
+ },
459
+ toggletip: {
460
+ anchorLabel: (
461
+ /* istanbul ignore next */
462
+ (ariaLabel) => ariaLabel ? `关于 ${ariaLabel} 的更多信息` : `显示更多信息`
463
+ )
458
464
  }
459
465
  };
460
466
 
package/locales/zh-CN.js CHANGED
@@ -453,6 +453,12 @@ const zhCN = {
453
453
  /* istanbul ignore next */
454
454
  (label) => `移除 ${label}`
455
455
  )
456
+ },
457
+ toggletip: {
458
+ anchorLabel: (
459
+ /* istanbul ignore next */
460
+ (ariaLabel) => ariaLabel ? `关于 ${ariaLabel} 的更多信息` : `显示更多信息`
461
+ )
456
462
  }
457
463
  };
458
464
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/vivid",
3
- "version": "4.30.0",
3
+ "version": "4.31.0",
4
4
  "type": "module",
5
5
  "module": "./index.js",
6
6
  "main": "./index.cjs",
@@ -1,4 +1,4 @@
1
- import { h as html, D as DOM, a as attr, o as observable } from './vivid-element.js';
1
+ import { a as attr, o as observable, h as html, D as DOM } from './vivid-element.js';
2
2
  import { s as slotted } from './slotted.js';
3
3
 
4
4
  var __defProp = Object.defineProperty;