@vonage/vivid 4.30.1 → 5.0.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 (141) hide show
  1. package/custom-elements.json +129 -172
  2. package/lib/accordion-item/accordion-item.d.ts +42 -1
  3. package/lib/action-group/action-group.d.ts +42 -1
  4. package/lib/alert/alert.d.ts +84 -2
  5. package/lib/audio-player/audio-player.d.ts +42 -1
  6. package/lib/avatar/avatar.d.ts +42 -1
  7. package/lib/badge/badge.d.ts +42 -1
  8. package/lib/banner/banner.d.ts +126 -3
  9. package/lib/breadcrumb/breadcrumb.d.ts +42 -1
  10. package/lib/breadcrumb-item/breadcrumb-item.d.ts +42 -1
  11. package/lib/button/button.d.ts +126 -3
  12. package/lib/calendar-event/calendar-event.d.ts +42 -1
  13. package/lib/card/card.d.ts +42 -1
  14. package/lib/checkbox/checkbox.d.ts +252 -7
  15. package/lib/combobox/combobox.d.ts +252 -6
  16. package/lib/data-grid/data-grid-cell.d.ts +419 -2
  17. package/lib/data-grid/data-grid-row.d.ts +380 -1
  18. package/lib/date-picker/date-picker.d.ts +336 -8
  19. package/lib/date-range-picker/date-range-picker.d.ts +168 -4
  20. package/lib/date-time-picker/date-time-picker.d.ts +336 -8
  21. package/lib/dial-pad/dial-pad.d.ts +42 -1
  22. package/lib/dialog/dialog.d.ts +84 -2
  23. package/lib/divider/divider.d.ts +42 -1
  24. package/lib/fab/fab.d.ts +42 -1
  25. package/lib/file-picker/file-picker.d.ts +252 -6
  26. package/lib/file-picker/locale.d.ts +1 -0
  27. package/lib/header/header.d.ts +42 -1
  28. package/lib/menu/menu.d.ts +84 -2
  29. package/lib/menu-item/menu-item.d.ts +84 -2
  30. package/lib/nav/nav.d.ts +42 -1
  31. package/lib/nav-disclosure/nav-disclosure.d.ts +84 -2
  32. package/lib/nav-item/nav-item.d.ts +84 -2
  33. package/lib/note/note.d.ts +42 -1
  34. package/lib/number-field/number-field.d.ts +336 -8
  35. package/lib/option/option.d.ts +84 -2
  36. package/lib/pagination/pagination.d.ts +42 -1
  37. package/lib/progress/progress.d.ts +42 -1
  38. package/lib/progress-ring/progress-ring.d.ts +42 -1
  39. package/lib/radio/radio.d.ts +126 -4
  40. package/lib/radio-group/radio-group.d.ts +42 -1
  41. package/lib/range-slider/range-slider.d.ts +126 -3
  42. package/lib/rich-text-editor/menubar/menubar.d.ts +42 -1
  43. package/lib/rich-text-editor/rich-text-editor.d.ts +42 -1
  44. package/lib/searchable-select/option-tag.d.ts +42 -1
  45. package/lib/searchable-select/searchable-select.d.ts +336 -8
  46. package/lib/select/select.d.ts +294 -7
  47. package/lib/selectable-box/selectable-box.d.ts +42 -2
  48. package/lib/slider/slider.d.ts +126 -3
  49. package/lib/split-button/split-button.d.ts +126 -3
  50. package/lib/switch/switch.d.ts +84 -2
  51. package/lib/tab/tab.d.ts +126 -3
  52. package/lib/tab-panel/tab-panel.d.ts +42 -1
  53. package/lib/tag/tag.d.ts +126 -3
  54. package/lib/tag-group/tag-group.d.ts +42 -1
  55. package/lib/text-area/text-area.d.ts +294 -7
  56. package/lib/text-field/text-field.d.ts +336 -8
  57. package/lib/time-picker/time-picker.d.ts +168 -4
  58. package/lib/toggletip/locale.d.ts +3 -0
  59. package/lib/toggletip/toggletip.d.ts +430 -11
  60. package/lib/tooltip/tooltip.d.ts +42 -1
  61. package/lib/tree-item/tree-item.d.ts +84 -2
  62. package/lib/tree-view/tree-view.d.ts +42 -1
  63. package/lib/video-player/video-player.d.ts +42 -1
  64. package/locales/de-DE.cjs +8 -1
  65. package/locales/de-DE.js +8 -1
  66. package/locales/en-GB.cjs +8 -1
  67. package/locales/en-GB.js +8 -1
  68. package/locales/en-US.cjs +8 -1
  69. package/locales/en-US.js +8 -1
  70. package/locales/ja-JP.cjs +8 -1
  71. package/locales/ja-JP.js +8 -1
  72. package/locales/zh-CN.cjs +8 -1
  73. package/locales/zh-CN.js +8 -1
  74. package/package.json +1 -1
  75. package/shared/anchored.js +1 -1
  76. package/shared/aria/aria-mixin.d.ts +43 -2
  77. package/shared/aria/attribute-removal.d.ts +3 -0
  78. package/shared/aria/delegate-aria-behavior.d.ts +0 -3
  79. package/shared/aria/delegates-aria.d.ts +42 -1
  80. package/shared/aria/host-semantics.d.ts +42 -1
  81. package/shared/definition13.cjs +1 -1
  82. package/shared/definition13.js +1 -1
  83. package/shared/definition15.cjs +6 -2
  84. package/shared/definition15.js +6 -2
  85. package/shared/definition17.cjs +61 -78
  86. package/shared/definition17.js +61 -78
  87. package/shared/definition26.cjs +37 -2
  88. package/shared/definition26.js +37 -2
  89. package/shared/definition30.cjs +8 -4
  90. package/shared/definition30.js +8 -4
  91. package/shared/definition31.cjs +7 -7
  92. package/shared/definition31.js +7 -7
  93. package/shared/definition42.cjs +0 -4
  94. package/shared/definition42.js +0 -4
  95. package/shared/definition47.cjs +0 -8
  96. package/shared/definition47.js +1 -9
  97. package/shared/definition5.cjs +1 -1
  98. package/shared/definition5.js +1 -1
  99. package/shared/definition54.cjs +1 -1
  100. package/shared/definition54.js +1 -1
  101. package/shared/definition60.cjs +7 -6
  102. package/shared/definition60.js +7 -6
  103. package/shared/definition62.cjs +1 -1
  104. package/shared/definition62.js +1 -1
  105. package/shared/definition63.cjs +1 -2
  106. package/shared/definition63.js +1 -2
  107. package/shared/delegates-aria.cjs +4 -25
  108. package/shared/delegates-aria.js +4 -25
  109. package/shared/divider.cjs +8 -3
  110. package/shared/divider.js +8 -3
  111. package/shared/feedback/feedback-message.d.ts +42 -1
  112. package/shared/feedback/mixins.d.ts +84 -2
  113. package/shared/foundation/button/button.d.ts +84 -2
  114. package/shared/foundation/form-associated/form-associated.d.ts +84 -2
  115. package/shared/foundation/vivid-element/vivid-element.d.ts +43 -2
  116. package/shared/listbox.cjs +1 -1
  117. package/shared/listbox.js +1 -1
  118. package/shared/localization/Locale.d.ts +2 -0
  119. package/shared/option.cjs +15 -2
  120. package/shared/option.js +16 -3
  121. package/shared/patterns/affix.d.ts +84 -2
  122. package/shared/patterns/anchored.d.ts +84 -2
  123. package/shared/patterns/char-count/char-count.d.ts +42 -1
  124. package/shared/patterns/form-elements/form-element.d.ts +84 -2
  125. package/shared/patterns/form-elements/with-error-text.d.ts +126 -3
  126. package/shared/patterns/form-elements/with-success-text.d.ts +42 -1
  127. package/shared/patterns/linkable.d.ts +42 -1
  128. package/shared/patterns/localized.d.ts +42 -1
  129. package/shared/patterns/trapped-focus.d.ts +42 -1
  130. package/shared/picker-field/mixins/calendar-picker.d.ts +84 -2
  131. package/shared/picker-field/mixins/calendar-picker.template.d.ts +84 -2
  132. package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +42 -1
  133. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +168 -4
  134. package/shared/picker-field/mixins/single-date-picker.d.ts +252 -6
  135. package/shared/picker-field/mixins/single-value-picker.d.ts +84 -2
  136. package/shared/picker-field/mixins/time-selection-picker.d.ts +168 -4
  137. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +168 -4
  138. package/shared/picker-field/picker-field.d.ts +252 -6
  139. package/shared/vivid-element.cjs +56 -5
  140. package/shared/vivid-element.js +56 -5
  141. package/vivid.api.json +2 -93
@@ -11,7 +11,6 @@ declare const PickerField_base: {
11
11
  _slottedHelperTextFeedbackType(): "none" | "helper";
12
12
  _getFeedbackTemplate(ctx: import("../design-system/defineVividComponent").VividElementDefinitionContext): import("@microsoft/fast-element").ViewTemplate<any, any>;
13
13
  connectedCallback(): void;
14
- specialHandling: boolean;
15
14
  _vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
16
15
  readonly $fastController: import("@microsoft/fast-element").Controller;
17
16
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
@@ -337,6 +336,48 @@ declare const PickerField_base: {
337
336
  ariaDescription: string | null;
338
337
  ariaRowIndexText: string | null;
339
338
  ariaRelevant: string | null;
339
+ roleChanged(prev: string | null, next: string | null): void;
340
+ ariaAtomicChanged(prev: string | null, next: string | null): void;
341
+ ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
342
+ ariaBusyChanged(prev: string | null, next: string | null): void;
343
+ ariaCheckedChanged(prev: string | null, next: string | null): void;
344
+ ariaColCountChanged(prev: string | null, next: string | null): void;
345
+ ariaColIndexChanged(prev: string | null, next: string | null): void;
346
+ ariaColIndexTextChanged(prev: string | null, next: string | null): void;
347
+ ariaColSpanChanged(prev: string | null, next: string | null): void;
348
+ ariaCurrentChanged(prev: string | null, next: string | null): void;
349
+ ariaDescriptionChanged(prev: string | null, next: string | null): void;
350
+ ariaDisabledChanged(prev: string | null, next: string | null): void;
351
+ ariaExpandedChanged(prev: string | null, next: string | null): void;
352
+ ariaHasPopupChanged(prev: string | null, next: string | null): void;
353
+ ariaHiddenChanged(prev: string | null, next: string | null): void;
354
+ ariaInvalidChanged(prev: string | null, next: string | null): void;
355
+ ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
356
+ ariaLabelChanged(prev: string | null, next: string | null): void;
357
+ ariaLevelChanged(prev: string | null, next: string | null): void;
358
+ ariaLiveChanged(prev: string | null, next: string | null): void;
359
+ ariaModalChanged(prev: string | null, next: string | null): void;
360
+ ariaMultiLineChanged(prev: string | null, next: string | null): void;
361
+ ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
362
+ ariaOrientationChanged(prev: string | null, next: string | null): void;
363
+ ariaPlaceholderChanged(prev: string | null, next: string | null): void;
364
+ ariaPosInSetChanged(prev: string | null, next: string | null): void;
365
+ ariaPressedChanged(prev: string | null, next: string | null): void;
366
+ ariaReadOnlyChanged(prev: string | null, next: string | null): void;
367
+ ariaRequiredChanged(prev: string | null, next: string | null): void;
368
+ ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
369
+ ariaRowCountChanged(prev: string | null, next: string | null): void;
370
+ ariaRowIndexChanged(prev: string | null, next: string | null): void;
371
+ ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
372
+ ariaRowSpanChanged(prev: string | null, next: string | null): void;
373
+ ariaSelectedChanged(prev: string | null, next: string | null): void;
374
+ ariaSetSizeChanged(prev: string | null, next: string | null): void;
375
+ ariaSortChanged(prev: string | null, next: string | null): void;
376
+ ariaValueMaxChanged(prev: string | null, next: string | null): void;
377
+ ariaValueMinChanged(prev: string | null, next: string | null): void;
378
+ ariaValueNowChanged(prev: string | null, next: string | null): void;
379
+ ariaValueTextChanged(prev: string | null, next: string | null): void;
380
+ ariaRelevantChanged(prev: string | null, next: string | null): void;
340
381
  "__#1@#handleReplacedProp"(replacedProp: {
341
382
  newPropertyName: string;
342
383
  deprecatedPropertyName: string;
@@ -392,7 +433,6 @@ declare const PickerField_base: {
392
433
  setFormValue(value: string | File | FormData | null, state?: string | File | FormData | null | undefined): void;
393
434
  _keypressHandler(e: KeyboardEvent): void;
394
435
  stopPropagation(e: Event): void;
395
- specialHandling: boolean;
396
436
  _vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
397
437
  readonly $fastController: import("@microsoft/fast-element").Controller;
398
438
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
@@ -717,6 +757,48 @@ declare const PickerField_base: {
717
757
  ariaDescription: string | null;
718
758
  ariaRowIndexText: string | null;
719
759
  ariaRelevant: string | null;
760
+ roleChanged(prev: string | null, next: string | null): void;
761
+ ariaAtomicChanged(prev: string | null, next: string | null): void;
762
+ ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
763
+ ariaBusyChanged(prev: string | null, next: string | null): void;
764
+ ariaCheckedChanged(prev: string | null, next: string | null): void;
765
+ ariaColCountChanged(prev: string | null, next: string | null): void;
766
+ ariaColIndexChanged(prev: string | null, next: string | null): void;
767
+ ariaColIndexTextChanged(prev: string | null, next: string | null): void;
768
+ ariaColSpanChanged(prev: string | null, next: string | null): void;
769
+ ariaCurrentChanged(prev: string | null, next: string | null): void;
770
+ ariaDescriptionChanged(prev: string | null, next: string | null): void;
771
+ ariaDisabledChanged(prev: string | null, next: string | null): void;
772
+ ariaExpandedChanged(prev: string | null, next: string | null): void;
773
+ ariaHasPopupChanged(prev: string | null, next: string | null): void;
774
+ ariaHiddenChanged(prev: string | null, next: string | null): void;
775
+ ariaInvalidChanged(prev: string | null, next: string | null): void;
776
+ ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
777
+ ariaLabelChanged(prev: string | null, next: string | null): void;
778
+ ariaLevelChanged(prev: string | null, next: string | null): void;
779
+ ariaLiveChanged(prev: string | null, next: string | null): void;
780
+ ariaModalChanged(prev: string | null, next: string | null): void;
781
+ ariaMultiLineChanged(prev: string | null, next: string | null): void;
782
+ ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
783
+ ariaOrientationChanged(prev: string | null, next: string | null): void;
784
+ ariaPlaceholderChanged(prev: string | null, next: string | null): void;
785
+ ariaPosInSetChanged(prev: string | null, next: string | null): void;
786
+ ariaPressedChanged(prev: string | null, next: string | null): void;
787
+ ariaReadOnlyChanged(prev: string | null, next: string | null): void;
788
+ ariaRequiredChanged(prev: string | null, next: string | null): void;
789
+ ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
790
+ ariaRowCountChanged(prev: string | null, next: string | null): void;
791
+ ariaRowIndexChanged(prev: string | null, next: string | null): void;
792
+ ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
793
+ ariaRowSpanChanged(prev: string | null, next: string | null): void;
794
+ ariaSelectedChanged(prev: string | null, next: string | null): void;
795
+ ariaSetSizeChanged(prev: string | null, next: string | null): void;
796
+ ariaSortChanged(prev: string | null, next: string | null): void;
797
+ ariaValueMaxChanged(prev: string | null, next: string | null): void;
798
+ ariaValueMinChanged(prev: string | null, next: string | null): void;
799
+ ariaValueNowChanged(prev: string | null, next: string | null): void;
800
+ ariaValueTextChanged(prev: string | null, next: string | null): void;
801
+ ariaRelevantChanged(prev: string | null, next: string | null): void;
720
802
  "__#1@#handleReplacedProp"(replacedProp: {
721
803
  newPropertyName: string;
722
804
  deprecatedPropertyName: string;
@@ -766,7 +848,6 @@ declare const PickerField_base: {
766
848
  setFormValue(value: string | File | FormData | null, state?: string | File | FormData | null | undefined): void;
767
849
  _keypressHandler(e: KeyboardEvent): void;
768
850
  stopPropagation(e: Event): void;
769
- specialHandling: boolean;
770
851
  _vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
771
852
  readonly $fastController: import("@microsoft/fast-element").Controller;
772
853
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
@@ -1091,6 +1172,48 @@ declare const PickerField_base: {
1091
1172
  ariaDescription: string | null;
1092
1173
  ariaRowIndexText: string | null;
1093
1174
  ariaRelevant: string | null;
1175
+ roleChanged(prev: string | null, next: string | null): void;
1176
+ ariaAtomicChanged(prev: string | null, next: string | null): void;
1177
+ ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
1178
+ ariaBusyChanged(prev: string | null, next: string | null): void;
1179
+ ariaCheckedChanged(prev: string | null, next: string | null): void;
1180
+ ariaColCountChanged(prev: string | null, next: string | null): void;
1181
+ ariaColIndexChanged(prev: string | null, next: string | null): void;
1182
+ ariaColIndexTextChanged(prev: string | null, next: string | null): void;
1183
+ ariaColSpanChanged(prev: string | null, next: string | null): void;
1184
+ ariaCurrentChanged(prev: string | null, next: string | null): void;
1185
+ ariaDescriptionChanged(prev: string | null, next: string | null): void;
1186
+ ariaDisabledChanged(prev: string | null, next: string | null): void;
1187
+ ariaExpandedChanged(prev: string | null, next: string | null): void;
1188
+ ariaHasPopupChanged(prev: string | null, next: string | null): void;
1189
+ ariaHiddenChanged(prev: string | null, next: string | null): void;
1190
+ ariaInvalidChanged(prev: string | null, next: string | null): void;
1191
+ ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
1192
+ ariaLabelChanged(prev: string | null, next: string | null): void;
1193
+ ariaLevelChanged(prev: string | null, next: string | null): void;
1194
+ ariaLiveChanged(prev: string | null, next: string | null): void;
1195
+ ariaModalChanged(prev: string | null, next: string | null): void;
1196
+ ariaMultiLineChanged(prev: string | null, next: string | null): void;
1197
+ ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
1198
+ ariaOrientationChanged(prev: string | null, next: string | null): void;
1199
+ ariaPlaceholderChanged(prev: string | null, next: string | null): void;
1200
+ ariaPosInSetChanged(prev: string | null, next: string | null): void;
1201
+ ariaPressedChanged(prev: string | null, next: string | null): void;
1202
+ ariaReadOnlyChanged(prev: string | null, next: string | null): void;
1203
+ ariaRequiredChanged(prev: string | null, next: string | null): void;
1204
+ ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
1205
+ ariaRowCountChanged(prev: string | null, next: string | null): void;
1206
+ ariaRowIndexChanged(prev: string | null, next: string | null): void;
1207
+ ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
1208
+ ariaRowSpanChanged(prev: string | null, next: string | null): void;
1209
+ ariaSelectedChanged(prev: string | null, next: string | null): void;
1210
+ ariaSetSizeChanged(prev: string | null, next: string | null): void;
1211
+ ariaSortChanged(prev: string | null, next: string | null): void;
1212
+ ariaValueMaxChanged(prev: string | null, next: string | null): void;
1213
+ ariaValueMinChanged(prev: string | null, next: string | null): void;
1214
+ ariaValueNowChanged(prev: string | null, next: string | null): void;
1215
+ ariaValueTextChanged(prev: string | null, next: string | null): void;
1216
+ ariaRelevantChanged(prev: string | null, next: string | null): void;
1094
1217
  "__#1@#handleReplacedProp"(replacedProp: {
1095
1218
  newPropertyName: string;
1096
1219
  deprecatedPropertyName: string;
@@ -1102,7 +1225,6 @@ declare const PickerField_base: {
1102
1225
  new (...args: any[]): {
1103
1226
  _trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
1104
1227
  connectedCallback(): void;
1105
- specialHandling: boolean;
1106
1228
  _vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
1107
1229
  readonly $fastController: import("@microsoft/fast-element").Controller;
1108
1230
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
@@ -1428,6 +1550,48 @@ declare const PickerField_base: {
1428
1550
  ariaDescription: string | null;
1429
1551
  ariaRowIndexText: string | null;
1430
1552
  ariaRelevant: string | null;
1553
+ roleChanged(prev: string | null, next: string | null): void;
1554
+ ariaAtomicChanged(prev: string | null, next: string | null): void;
1555
+ ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
1556
+ ariaBusyChanged(prev: string | null, next: string | null): void;
1557
+ ariaCheckedChanged(prev: string | null, next: string | null): void;
1558
+ ariaColCountChanged(prev: string | null, next: string | null): void;
1559
+ ariaColIndexChanged(prev: string | null, next: string | null): void;
1560
+ ariaColIndexTextChanged(prev: string | null, next: string | null): void;
1561
+ ariaColSpanChanged(prev: string | null, next: string | null): void;
1562
+ ariaCurrentChanged(prev: string | null, next: string | null): void;
1563
+ ariaDescriptionChanged(prev: string | null, next: string | null): void;
1564
+ ariaDisabledChanged(prev: string | null, next: string | null): void;
1565
+ ariaExpandedChanged(prev: string | null, next: string | null): void;
1566
+ ariaHasPopupChanged(prev: string | null, next: string | null): void;
1567
+ ariaHiddenChanged(prev: string | null, next: string | null): void;
1568
+ ariaInvalidChanged(prev: string | null, next: string | null): void;
1569
+ ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
1570
+ ariaLabelChanged(prev: string | null, next: string | null): void;
1571
+ ariaLevelChanged(prev: string | null, next: string | null): void;
1572
+ ariaLiveChanged(prev: string | null, next: string | null): void;
1573
+ ariaModalChanged(prev: string | null, next: string | null): void;
1574
+ ariaMultiLineChanged(prev: string | null, next: string | null): void;
1575
+ ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
1576
+ ariaOrientationChanged(prev: string | null, next: string | null): void;
1577
+ ariaPlaceholderChanged(prev: string | null, next: string | null): void;
1578
+ ariaPosInSetChanged(prev: string | null, next: string | null): void;
1579
+ ariaPressedChanged(prev: string | null, next: string | null): void;
1580
+ ariaReadOnlyChanged(prev: string | null, next: string | null): void;
1581
+ ariaRequiredChanged(prev: string | null, next: string | null): void;
1582
+ ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
1583
+ ariaRowCountChanged(prev: string | null, next: string | null): void;
1584
+ ariaRowIndexChanged(prev: string | null, next: string | null): void;
1585
+ ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
1586
+ ariaRowSpanChanged(prev: string | null, next: string | null): void;
1587
+ ariaSelectedChanged(prev: string | null, next: string | null): void;
1588
+ ariaSetSizeChanged(prev: string | null, next: string | null): void;
1589
+ ariaSortChanged(prev: string | null, next: string | null): void;
1590
+ ariaValueMaxChanged(prev: string | null, next: string | null): void;
1591
+ ariaValueMinChanged(prev: string | null, next: string | null): void;
1592
+ ariaValueNowChanged(prev: string | null, next: string | null): void;
1593
+ ariaValueTextChanged(prev: string | null, next: string | null): void;
1594
+ ariaRelevantChanged(prev: string | null, next: string | null): void;
1431
1595
  "__#1@#handleReplacedProp"(replacedProp: {
1432
1596
  newPropertyName: string;
1433
1597
  deprecatedPropertyName: string;
@@ -1439,7 +1603,6 @@ declare const PickerField_base: {
1439
1603
  new (...args: any[]): {
1440
1604
  readonly locale: import("../localization/Locale").Locale;
1441
1605
  connectedCallback(): void;
1442
- specialHandling: boolean;
1443
1606
  _vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
1444
1607
  readonly $fastController: import("@microsoft/fast-element").Controller;
1445
1608
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
@@ -1765,6 +1928,48 @@ declare const PickerField_base: {
1765
1928
  ariaDescription: string | null;
1766
1929
  ariaRowIndexText: string | null;
1767
1930
  ariaRelevant: string | null;
1931
+ roleChanged(prev: string | null, next: string | null): void;
1932
+ ariaAtomicChanged(prev: string | null, next: string | null): void;
1933
+ ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
1934
+ ariaBusyChanged(prev: string | null, next: string | null): void;
1935
+ ariaCheckedChanged(prev: string | null, next: string | null): void;
1936
+ ariaColCountChanged(prev: string | null, next: string | null): void;
1937
+ ariaColIndexChanged(prev: string | null, next: string | null): void;
1938
+ ariaColIndexTextChanged(prev: string | null, next: string | null): void;
1939
+ ariaColSpanChanged(prev: string | null, next: string | null): void;
1940
+ ariaCurrentChanged(prev: string | null, next: string | null): void;
1941
+ ariaDescriptionChanged(prev: string | null, next: string | null): void;
1942
+ ariaDisabledChanged(prev: string | null, next: string | null): void;
1943
+ ariaExpandedChanged(prev: string | null, next: string | null): void;
1944
+ ariaHasPopupChanged(prev: string | null, next: string | null): void;
1945
+ ariaHiddenChanged(prev: string | null, next: string | null): void;
1946
+ ariaInvalidChanged(prev: string | null, next: string | null): void;
1947
+ ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
1948
+ ariaLabelChanged(prev: string | null, next: string | null): void;
1949
+ ariaLevelChanged(prev: string | null, next: string | null): void;
1950
+ ariaLiveChanged(prev: string | null, next: string | null): void;
1951
+ ariaModalChanged(prev: string | null, next: string | null): void;
1952
+ ariaMultiLineChanged(prev: string | null, next: string | null): void;
1953
+ ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
1954
+ ariaOrientationChanged(prev: string | null, next: string | null): void;
1955
+ ariaPlaceholderChanged(prev: string | null, next: string | null): void;
1956
+ ariaPosInSetChanged(prev: string | null, next: string | null): void;
1957
+ ariaPressedChanged(prev: string | null, next: string | null): void;
1958
+ ariaReadOnlyChanged(prev: string | null, next: string | null): void;
1959
+ ariaRequiredChanged(prev: string | null, next: string | null): void;
1960
+ ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
1961
+ ariaRowCountChanged(prev: string | null, next: string | null): void;
1962
+ ariaRowIndexChanged(prev: string | null, next: string | null): void;
1963
+ ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
1964
+ ariaRowSpanChanged(prev: string | null, next: string | null): void;
1965
+ ariaSelectedChanged(prev: string | null, next: string | null): void;
1966
+ ariaSetSizeChanged(prev: string | null, next: string | null): void;
1967
+ ariaSortChanged(prev: string | null, next: string | null): void;
1968
+ ariaValueMaxChanged(prev: string | null, next: string | null): void;
1969
+ ariaValueMinChanged(prev: string | null, next: string | null): void;
1970
+ ariaValueNowChanged(prev: string | null, next: string | null): void;
1971
+ ariaValueTextChanged(prev: string | null, next: string | null): void;
1972
+ ariaRelevantChanged(prev: string | null, next: string | null): void;
1768
1973
  "__#1@#handleReplacedProp"(replacedProp: {
1769
1974
  newPropertyName: string;
1770
1975
  deprecatedPropertyName: string;
@@ -1809,7 +2014,6 @@ declare const PickerField_base: {
1809
2014
  setFormValue(value: string | File | FormData | null, state?: string | File | FormData | null | undefined): void;
1810
2015
  _keypressHandler(e: KeyboardEvent): void;
1811
2016
  stopPropagation(e: Event): void;
1812
- specialHandling: boolean;
1813
2017
  _vividAriaBehaviour: import("../aria/aria-mixin").VividAriaBehaviour;
1814
2018
  readonly $fastController: import("@microsoft/fast-element").Controller;
1815
2019
  $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
@@ -2134,6 +2338,48 @@ declare const PickerField_base: {
2134
2338
  ariaDescription: string | null;
2135
2339
  ariaRowIndexText: string | null;
2136
2340
  ariaRelevant: string | null;
2341
+ roleChanged(prev: string | null, next: string | null): void;
2342
+ ariaAtomicChanged(prev: string | null, next: string | null): void;
2343
+ ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
2344
+ ariaBusyChanged(prev: string | null, next: string | null): void;
2345
+ ariaCheckedChanged(prev: string | null, next: string | null): void;
2346
+ ariaColCountChanged(prev: string | null, next: string | null): void;
2347
+ ariaColIndexChanged(prev: string | null, next: string | null): void;
2348
+ ariaColIndexTextChanged(prev: string | null, next: string | null): void;
2349
+ ariaColSpanChanged(prev: string | null, next: string | null): void;
2350
+ ariaCurrentChanged(prev: string | null, next: string | null): void;
2351
+ ariaDescriptionChanged(prev: string | null, next: string | null): void;
2352
+ ariaDisabledChanged(prev: string | null, next: string | null): void;
2353
+ ariaExpandedChanged(prev: string | null, next: string | null): void;
2354
+ ariaHasPopupChanged(prev: string | null, next: string | null): void;
2355
+ ariaHiddenChanged(prev: string | null, next: string | null): void;
2356
+ ariaInvalidChanged(prev: string | null, next: string | null): void;
2357
+ ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
2358
+ ariaLabelChanged(prev: string | null, next: string | null): void;
2359
+ ariaLevelChanged(prev: string | null, next: string | null): void;
2360
+ ariaLiveChanged(prev: string | null, next: string | null): void;
2361
+ ariaModalChanged(prev: string | null, next: string | null): void;
2362
+ ariaMultiLineChanged(prev: string | null, next: string | null): void;
2363
+ ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
2364
+ ariaOrientationChanged(prev: string | null, next: string | null): void;
2365
+ ariaPlaceholderChanged(prev: string | null, next: string | null): void;
2366
+ ariaPosInSetChanged(prev: string | null, next: string | null): void;
2367
+ ariaPressedChanged(prev: string | null, next: string | null): void;
2368
+ ariaReadOnlyChanged(prev: string | null, next: string | null): void;
2369
+ ariaRequiredChanged(prev: string | null, next: string | null): void;
2370
+ ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
2371
+ ariaRowCountChanged(prev: string | null, next: string | null): void;
2372
+ ariaRowIndexChanged(prev: string | null, next: string | null): void;
2373
+ ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
2374
+ ariaRowSpanChanged(prev: string | null, next: string | null): void;
2375
+ ariaSelectedChanged(prev: string | null, next: string | null): void;
2376
+ ariaSetSizeChanged(prev: string | null, next: string | null): void;
2377
+ ariaSortChanged(prev: string | null, next: string | null): void;
2378
+ ariaValueMaxChanged(prev: string | null, next: string | null): void;
2379
+ ariaValueMinChanged(prev: string | null, next: string | null): void;
2380
+ ariaValueNowChanged(prev: string | null, next: string | null): void;
2381
+ ariaValueTextChanged(prev: string | null, next: string | null): void;
2382
+ ariaRelevantChanged(prev: string | null, next: string | null): void;
2137
2383
  "__#1@#handleReplacedProp"(replacedProp: {
2138
2384
  newPropertyName: string;
2139
2385
  deprecatedPropertyName: string;
@@ -2611,6 +2611,53 @@ const publishAriaPropertyChange = (source, changedAriaProperty) => {
2611
2611
  getSubscribers(source).forEach((s) => s(source, changedAriaProperty));
2612
2612
  };
2613
2613
 
2614
+ const shouldRemoveAriaAttributes = (behavior) => behavior === "delegate";
2615
+ const dataPropertyName = (ariaPropertyName) => `vvd${ariaPropertyName.charAt(0).toUpperCase()}${ariaPropertyName.slice(1)}`;
2616
+ const reflectAriaProperty = (element, ariaProperty) => {
2617
+ if (shouldRemoveAriaAttributes(element._vividAriaBehaviour)) {
2618
+ const value = element[ariaProperty];
2619
+ element[`_${ariaProperty}`] = null;
2620
+ element.removeAttribute(ariaAttributeName(ariaProperty));
2621
+ element[`_${ariaProperty}`] = value;
2622
+ if (element[ariaProperty] !== null) {
2623
+ element.dataset[dataPropertyName(ariaProperty)] = element[ariaProperty];
2624
+ } else {
2625
+ delete element.dataset[dataPropertyName(ariaProperty)];
2626
+ }
2627
+ } else {
2628
+ DOM.setAttribute(
2629
+ element,
2630
+ ariaAttributeName(ariaProperty),
2631
+ element[ariaProperty]
2632
+ );
2633
+ }
2634
+ };
2635
+ const changedAriaProperties = /* @__PURE__ */ new WeakMap();
2636
+ const recordAriaPropertyChange = (element, ariaProperty) => {
2637
+ const changedProperties = changedAriaProperties.get(element);
2638
+ if (!changedProperties) {
2639
+ changedAriaProperties.set(element, /* @__PURE__ */ new Set([ariaProperty]));
2640
+ } else {
2641
+ changedProperties.add(ariaProperty);
2642
+ }
2643
+ };
2644
+ const handleAriaPropertyChange = (element, ariaProperty) => {
2645
+ if (element.isConnected) {
2646
+ reflectAriaProperty(element, ariaProperty);
2647
+ } else {
2648
+ recordAriaPropertyChange(element, ariaProperty);
2649
+ }
2650
+ };
2651
+ const handleElementConnectedCallback = (element) => {
2652
+ const changedProperties = changedAriaProperties.get(element);
2653
+ if (changedProperties) {
2654
+ for (const ariaProperty of changedProperties) {
2655
+ reflectAriaProperty(element, ariaProperty);
2656
+ }
2657
+ changedAriaProperties.delete(element);
2658
+ }
2659
+ };
2660
+
2614
2661
  const ariaMixinProperties = [
2615
2662
  "role",
2616
2663
  "ariaAtomic",
@@ -2660,20 +2707,24 @@ const ariaAttributeName = (ariaPropertyName) => ariaPropertyName.replace("aria",
2660
2707
  const AriaMixin = (Base) => {
2661
2708
  class AriaMixinElement extends Base {
2662
2709
  constructor(...args) {
2663
- super(args);
2664
- this.specialHandling = false;
2710
+ super(...args);
2665
2711
  this._vividAriaBehaviour = "default";
2666
2712
  for (const ariaProperty of ariaMixinProperties) {
2667
- this[ariaProperty] = null;
2713
+ this[`_${ariaProperty}`] = null;
2668
2714
  }
2669
2715
  }
2716
+ connectedCallback() {
2717
+ super.connectedCallback();
2718
+ handleElementConnectedCallback(this);
2719
+ }
2670
2720
  }
2671
2721
  for (const ariaProperty of ariaMixinProperties) {
2672
2722
  attr({
2673
2723
  attribute: ariaAttributeName(ariaProperty),
2674
- mode: "reflect"
2724
+ mode: "fromView"
2675
2725
  })(AriaMixinElement.prototype, ariaProperty);
2676
2726
  AriaMixinElement.prototype[`${ariaProperty}Changed`] = function() {
2727
+ handleAriaPropertyChange(this, ariaProperty);
2677
2728
  if (this._vividAriaBehaviour !== "default") {
2678
2729
  publishAriaPropertyChange(this, ariaProperty);
2679
2730
  }
@@ -2734,7 +2785,7 @@ const ReplacedPropHandling = (Base) => {
2734
2785
 
2735
2786
  class VividElement extends AriaMixin(ReplacedPropHandling(FASTElement)) {
2736
2787
  static {
2737
- this.VIVID_VERSION = "4.30.1";
2788
+ this.VIVID_VERSION = "5.0.0";
2738
2789
  }
2739
2790
  /**
2740
2791
  * Add data-vvd-component attribute with component name globally,
@@ -2609,6 +2609,53 @@ const publishAriaPropertyChange = (source, changedAriaProperty) => {
2609
2609
  getSubscribers(source).forEach((s) => s(source, changedAriaProperty));
2610
2610
  };
2611
2611
 
2612
+ const shouldRemoveAriaAttributes = (behavior) => behavior === "delegate";
2613
+ const dataPropertyName = (ariaPropertyName) => `vvd${ariaPropertyName.charAt(0).toUpperCase()}${ariaPropertyName.slice(1)}`;
2614
+ const reflectAriaProperty = (element, ariaProperty) => {
2615
+ if (shouldRemoveAriaAttributes(element._vividAriaBehaviour)) {
2616
+ const value = element[ariaProperty];
2617
+ element[`_${ariaProperty}`] = null;
2618
+ element.removeAttribute(ariaAttributeName(ariaProperty));
2619
+ element[`_${ariaProperty}`] = value;
2620
+ if (element[ariaProperty] !== null) {
2621
+ element.dataset[dataPropertyName(ariaProperty)] = element[ariaProperty];
2622
+ } else {
2623
+ delete element.dataset[dataPropertyName(ariaProperty)];
2624
+ }
2625
+ } else {
2626
+ DOM.setAttribute(
2627
+ element,
2628
+ ariaAttributeName(ariaProperty),
2629
+ element[ariaProperty]
2630
+ );
2631
+ }
2632
+ };
2633
+ const changedAriaProperties = /* @__PURE__ */ new WeakMap();
2634
+ const recordAriaPropertyChange = (element, ariaProperty) => {
2635
+ const changedProperties = changedAriaProperties.get(element);
2636
+ if (!changedProperties) {
2637
+ changedAriaProperties.set(element, /* @__PURE__ */ new Set([ariaProperty]));
2638
+ } else {
2639
+ changedProperties.add(ariaProperty);
2640
+ }
2641
+ };
2642
+ const handleAriaPropertyChange = (element, ariaProperty) => {
2643
+ if (element.isConnected) {
2644
+ reflectAriaProperty(element, ariaProperty);
2645
+ } else {
2646
+ recordAriaPropertyChange(element, ariaProperty);
2647
+ }
2648
+ };
2649
+ const handleElementConnectedCallback = (element) => {
2650
+ const changedProperties = changedAriaProperties.get(element);
2651
+ if (changedProperties) {
2652
+ for (const ariaProperty of changedProperties) {
2653
+ reflectAriaProperty(element, ariaProperty);
2654
+ }
2655
+ changedAriaProperties.delete(element);
2656
+ }
2657
+ };
2658
+
2612
2659
  const ariaMixinProperties = [
2613
2660
  "role",
2614
2661
  "ariaAtomic",
@@ -2658,20 +2705,24 @@ const ariaAttributeName = (ariaPropertyName) => ariaPropertyName.replace("aria",
2658
2705
  const AriaMixin = (Base) => {
2659
2706
  class AriaMixinElement extends Base {
2660
2707
  constructor(...args) {
2661
- super(args);
2662
- this.specialHandling = false;
2708
+ super(...args);
2663
2709
  this._vividAriaBehaviour = "default";
2664
2710
  for (const ariaProperty of ariaMixinProperties) {
2665
- this[ariaProperty] = null;
2711
+ this[`_${ariaProperty}`] = null;
2666
2712
  }
2667
2713
  }
2714
+ connectedCallback() {
2715
+ super.connectedCallback();
2716
+ handleElementConnectedCallback(this);
2717
+ }
2668
2718
  }
2669
2719
  for (const ariaProperty of ariaMixinProperties) {
2670
2720
  attr({
2671
2721
  attribute: ariaAttributeName(ariaProperty),
2672
- mode: "reflect"
2722
+ mode: "fromView"
2673
2723
  })(AriaMixinElement.prototype, ariaProperty);
2674
2724
  AriaMixinElement.prototype[`${ariaProperty}Changed`] = function() {
2725
+ handleAriaPropertyChange(this, ariaProperty);
2675
2726
  if (this._vividAriaBehaviour !== "default") {
2676
2727
  publishAriaPropertyChange(this, ariaProperty);
2677
2728
  }
@@ -2732,7 +2783,7 @@ const ReplacedPropHandling = (Base) => {
2732
2783
 
2733
2784
  class VividElement extends AriaMixin(ReplacedPropHandling(FASTElement)) {
2734
2785
  static {
2735
- this.VIVID_VERSION = "4.30.1";
2786
+ this.VIVID_VERSION = "5.0.0";
2736
2787
  }
2737
2788
  /**
2738
2789
  * Add data-vvd-component attribute with component name globally,
package/vivid.api.json CHANGED
@@ -12188,37 +12188,6 @@
12188
12188
  "overloadIndex": 1,
12189
12189
  "parameters": []
12190
12190
  },
12191
- {
12192
- "kind": "Method",
12193
- "canonicalReference": "@vonage/vivid!VwcCheckboxElement#ariaCheckedChanged:member(1)",
12194
- "docComment": "",
12195
- "excerptTokens": [
12196
- {
12197
- "kind": "Content",
12198
- "text": "ariaCheckedChanged(): "
12199
- },
12200
- {
12201
- "kind": "Content",
12202
- "text": "void"
12203
- },
12204
- {
12205
- "kind": "Content",
12206
- "text": ";"
12207
- }
12208
- ],
12209
- "isStatic": false,
12210
- "returnTypeTokenRange": {
12211
- "startIndex": 1,
12212
- "endIndex": 2
12213
- },
12214
- "releaseTag": "Public",
12215
- "isProtected": false,
12216
- "overloadIndex": 1,
12217
- "parameters": [],
12218
- "isOptional": false,
12219
- "isAbstract": false,
12220
- "name": "ariaCheckedChanged"
12221
- },
12222
12191
  {
12223
12192
  "kind": "Property",
12224
12193
  "canonicalReference": "@vonage/vivid!VwcCheckboxElement#connotation:member",
@@ -13843,8 +13812,8 @@
13843
13812
  },
13844
13813
  {
13845
13814
  "kind": "Reference",
13846
- "text": "VividElement",
13847
- "canonicalReference": "@vonage/vivid!~VividElement:class"
13815
+ "text": "DataGridRow_base",
13816
+ "canonicalReference": "@vonage/vivid!~DataGridRow_base"
13848
13817
  },
13849
13818
  {
13850
13819
  "kind": "Content",
@@ -21450,36 +21419,6 @@
21450
21419
  "overloadIndex": 1,
21451
21420
  "parameters": []
21452
21421
  },
21453
- {
21454
- "kind": "Property",
21455
- "canonicalReference": "@vonage/vivid!VwcRadioElement#ariaLabel:member",
21456
- "docComment": "",
21457
- "excerptTokens": [
21458
- {
21459
- "kind": "Content",
21460
- "text": "ariaLabel: "
21461
- },
21462
- {
21463
- "kind": "Content",
21464
- "text": "string | null"
21465
- },
21466
- {
21467
- "kind": "Content",
21468
- "text": ";"
21469
- }
21470
- ],
21471
- "isReadonly": false,
21472
- "isOptional": false,
21473
- "releaseTag": "Public",
21474
- "name": "ariaLabel",
21475
- "propertyTypeTokenRange": {
21476
- "startIndex": 1,
21477
- "endIndex": 2
21478
- },
21479
- "isStatic": false,
21480
- "isProtected": false,
21481
- "isAbstract": false
21482
- },
21483
21422
  {
21484
21423
  "kind": "Property",
21485
21424
  "canonicalReference": "@vonage/vivid!VwcRadioElement#connotation:member",
@@ -23938,36 +23877,6 @@
23938
23877
  "isProtected": false,
23939
23878
  "isAbstract": false
23940
23879
  },
23941
- {
23942
- "kind": "Property",
23943
- "canonicalReference": "@vonage/vivid!VwcSelectableBoxElement#clickable:member",
23944
- "docComment": "",
23945
- "excerptTokens": [
23946
- {
23947
- "kind": "Content",
23948
- "text": "clickable: "
23949
- },
23950
- {
23951
- "kind": "Content",
23952
- "text": "boolean"
23953
- },
23954
- {
23955
- "kind": "Content",
23956
- "text": ";"
23957
- }
23958
- ],
23959
- "isReadonly": false,
23960
- "isOptional": false,
23961
- "releaseTag": "Public",
23962
- "name": "clickable",
23963
- "propertyTypeTokenRange": {
23964
- "startIndex": 1,
23965
- "endIndex": 2
23966
- },
23967
- "isStatic": false,
23968
- "isProtected": false,
23969
- "isAbstract": false
23970
- },
23971
23880
  {
23972
23881
  "kind": "Property",
23973
23882
  "canonicalReference": "@vonage/vivid!VwcSelectableBoxElement#clickableBox:member",