@vonage/vivid 4.22.0 → 4.24.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 (232) hide show
  1. package/custom-elements.json +1658 -370
  2. package/lib/accordion-item/accordion-item.d.ts +11 -5
  3. package/lib/action-group/action-group.d.ts +8 -6
  4. package/lib/alert/alert.d.ts +21 -9
  5. package/lib/audio-player/audio-player.d.ts +11 -5
  6. package/lib/badge/badge.d.ts +11 -5
  7. package/lib/banner/banner.d.ts +26 -12
  8. package/lib/breadcrumb/breadcrumb.d.ts +333 -1
  9. package/lib/breadcrumb/breadcrumb.template.d.ts +2 -3
  10. package/lib/breadcrumb-item/breadcrumb-item.d.ts +8 -6
  11. package/lib/button/button.d.ts +11 -5
  12. package/lib/calendar-event/calendar-event.d.ts +333 -1
  13. package/lib/checkbox/checkbox.d.ts +8 -6
  14. package/lib/combobox/combobox.d.ts +11 -5
  15. package/lib/date-picker/date-picker.d.ts +74 -50
  16. package/lib/date-range-picker/date-range-picker.d.ts +38 -26
  17. package/lib/date-time-picker/date-time-picker.d.ts +76 -52
  18. package/lib/dial-pad/dial-pad.d.ts +11 -5
  19. package/lib/dialog/dialog.d.ts +16 -8
  20. package/lib/divider/divider.d.ts +8 -6
  21. package/lib/fab/fab.d.ts +11 -5
  22. package/lib/file-picker/file-picker.d.ts +337 -1
  23. package/lib/file-picker/locale.d.ts +1 -0
  24. package/lib/header/header.d.ts +333 -1
  25. package/lib/menu/menu.d.ts +16 -8
  26. package/lib/menu-item/menu-item.d.ts +338 -2
  27. package/lib/nav/nav.d.ts +333 -1
  28. package/lib/nav-disclosure/nav-disclosure.d.ts +16 -8
  29. package/lib/nav-item/nav-item.d.ts +11 -5
  30. package/lib/note/note.d.ts +11 -5
  31. package/lib/number-field/number-field.d.ts +26 -12
  32. package/lib/option/option.d.ts +339 -3
  33. package/lib/progress/progress.d.ts +8 -6
  34. package/lib/progress-ring/progress-ring.d.ts +8 -6
  35. package/lib/radio-group/radio-group.d.ts +333 -1
  36. package/lib/range-slider/range-slider.d.ts +11 -5
  37. package/lib/rich-text-editor/facades/prose-mirror-vivid.schema.d.ts +1 -1
  38. package/lib/rich-text-editor/facades/vivid-prose-mirror.facade.d.ts +7 -1
  39. package/lib/rich-text-editor/locale.d.ts +9 -0
  40. package/lib/rich-text-editor/menubar/consts.d.ts +18 -0
  41. package/lib/rich-text-editor/menubar/menubar.d.ts +337 -1
  42. package/lib/rich-text-editor/rich-text-editor.d.ts +10 -0
  43. package/lib/searchable-select/locale.d.ts +1 -0
  44. package/lib/searchable-select/option-tag.d.ts +11 -5
  45. package/lib/searchable-select/searchable-select.d.ts +350 -7
  46. package/lib/select/select.d.ts +339 -3
  47. package/lib/selectable-box/selectable-box.d.ts +8 -6
  48. package/lib/slider/slider.d.ts +16 -8
  49. package/lib/split-button/split-button.d.ts +26 -12
  50. package/lib/switch/switch.d.ts +8 -6
  51. package/lib/tab/tab.d.ts +349 -7
  52. package/lib/tab-panel/tab-panel.d.ts +333 -1
  53. package/lib/tabs/tabs.d.ts +5 -21
  54. package/lib/tag/tag.d.ts +338 -2
  55. package/lib/tag-group/tag-group.d.ts +8 -6
  56. package/lib/text-anchor/text-anchor.d.ts +16 -8
  57. package/lib/text-area/text-area.d.ts +8 -6
  58. package/lib/text-field/text-field.d.ts +16 -8
  59. package/lib/time-picker/time-picker.d.ts +38 -26
  60. package/lib/toggletip/toggletip.d.ts +9 -3
  61. package/lib/tooltip/tooltip.d.ts +9 -3
  62. package/lib/tree-item/tree-item.d.ts +338 -2
  63. package/lib/tree-view/tree-view.d.ts +333 -1
  64. package/lib/video-player/video-player.d.ts +11 -5
  65. package/locales/de-DE.cjs +15 -1
  66. package/locales/de-DE.js +15 -1
  67. package/locales/en-GB.cjs +15 -1
  68. package/locales/en-GB.js +15 -1
  69. package/locales/en-US.cjs +15 -1
  70. package/locales/en-US.js +15 -1
  71. package/locales/ja-JP.cjs +15 -1
  72. package/locales/ja-JP.js +15 -1
  73. package/locales/zh-CN.cjs +15 -1
  74. package/locales/zh-CN.js +15 -1
  75. package/package.json +1 -1
  76. package/shared/affix.js +1 -1
  77. package/shared/aria/aria-change-subscription.d.ts +6 -0
  78. package/shared/aria/aria-mixin.d.ts +338 -0
  79. package/shared/aria/delegate-aria-behavior.d.ts +31 -0
  80. package/shared/aria/delegates-aria.d.ts +14 -9
  81. package/shared/aria/host-semantics-behavior.d.ts +22 -0
  82. package/shared/aria/host-semantics.d.ts +337 -0
  83. package/shared/attribute-binding-behaviour.cjs +41 -0
  84. package/shared/attribute-binding-behaviour.js +39 -0
  85. package/shared/button.cjs +6 -3
  86. package/shared/button.js +6 -3
  87. package/shared/calendar-event.cjs +2 -1
  88. package/shared/calendar-event.js +2 -1
  89. package/shared/definition.js +1 -1
  90. package/shared/definition10.cjs +8 -2
  91. package/shared/definition10.js +9 -3
  92. package/shared/definition11.cjs +4 -28
  93. package/shared/definition11.js +5 -29
  94. package/shared/definition12.cjs +5 -2
  95. package/shared/definition12.js +6 -3
  96. package/shared/definition13.js +1 -1
  97. package/shared/definition14.js +1 -1
  98. package/shared/definition15.cjs +8 -7
  99. package/shared/definition15.js +10 -9
  100. package/shared/definition16.js +1 -1
  101. package/shared/definition17.cjs +4 -1
  102. package/shared/definition17.js +5 -2
  103. package/shared/definition18.js +1 -1
  104. package/shared/definition19.js +1 -1
  105. package/shared/definition2.js +1 -1
  106. package/shared/definition20.js +1 -1
  107. package/shared/definition21.js +1 -1
  108. package/shared/definition22.cjs +11 -4
  109. package/shared/definition22.js +13 -6
  110. package/shared/definition23.cjs +4 -2
  111. package/shared/definition23.js +6 -4
  112. package/shared/definition24.js +1 -1
  113. package/shared/definition25.cjs +2 -14
  114. package/shared/definition25.js +3 -15
  115. package/shared/definition26.cjs +19 -3
  116. package/shared/definition26.js +20 -4
  117. package/shared/definition27.cjs +3 -2
  118. package/shared/definition27.js +4 -3
  119. package/shared/definition28.js +1 -1
  120. package/shared/definition29.js +1 -1
  121. package/shared/definition3.cjs +3 -2
  122. package/shared/definition3.js +5 -4
  123. package/shared/definition30.cjs +33 -34
  124. package/shared/definition30.js +35 -36
  125. package/shared/definition31.cjs +6 -4
  126. package/shared/definition31.js +8 -6
  127. package/shared/definition32.js +1 -1
  128. package/shared/definition33.cjs +7 -2
  129. package/shared/definition33.js +8 -3
  130. package/shared/definition34.js +1 -1
  131. package/shared/definition35.cjs +2 -13
  132. package/shared/definition35.js +4 -15
  133. package/shared/definition36.cjs +8 -5
  134. package/shared/definition36.js +9 -6
  135. package/shared/definition37.js +1 -1
  136. package/shared/definition38.cjs +7 -8
  137. package/shared/definition38.js +9 -10
  138. package/shared/definition39.cjs +7 -8
  139. package/shared/definition39.js +9 -10
  140. package/shared/definition4.js +1 -1
  141. package/shared/definition40.cjs +8 -5
  142. package/shared/definition40.js +9 -6
  143. package/shared/definition41.js +1 -1
  144. package/shared/definition42.js +1 -1
  145. package/shared/definition43.cjs +558 -134
  146. package/shared/definition43.js +550 -126
  147. package/shared/definition44.cjs +83 -10
  148. package/shared/definition44.js +84 -11
  149. package/shared/definition45.cjs +20 -8
  150. package/shared/definition45.js +21 -9
  151. package/shared/definition46.cjs +18 -6
  152. package/shared/definition46.js +20 -8
  153. package/shared/definition47.js +1 -1
  154. package/shared/definition48.js +1 -1
  155. package/shared/definition49.cjs +10 -3
  156. package/shared/definition49.js +12 -5
  157. package/shared/definition5.cjs +7 -2
  158. package/shared/definition5.js +8 -3
  159. package/shared/definition50.cjs +8 -7
  160. package/shared/definition50.js +10 -9
  161. package/shared/definition51.cjs +3 -2
  162. package/shared/definition51.js +4 -3
  163. package/shared/definition52.cjs +8 -4
  164. package/shared/definition52.js +9 -5
  165. package/shared/definition53.cjs +219 -297
  166. package/shared/definition53.js +221 -299
  167. package/shared/definition54.cjs +4 -3
  168. package/shared/definition54.js +6 -5
  169. package/shared/definition55.cjs +7 -4
  170. package/shared/definition55.js +8 -5
  171. package/shared/definition56.cjs +68 -14
  172. package/shared/definition56.js +69 -15
  173. package/shared/definition57.cjs +163 -112
  174. package/shared/definition57.js +165 -114
  175. package/shared/definition58.js +1 -1
  176. package/shared/definition59.js +1 -1
  177. package/shared/definition6.js +1 -1
  178. package/shared/definition60.js +1 -1
  179. package/shared/definition61.cjs +8 -5
  180. package/shared/definition61.js +9 -6
  181. package/shared/definition62.cjs +5 -2
  182. package/shared/definition62.js +6 -3
  183. package/shared/definition63.js +1 -1
  184. package/shared/definition64.js +1 -1
  185. package/shared/definition65.js +1 -1
  186. package/shared/definition7.js +1 -1
  187. package/shared/definition8.cjs +4 -2
  188. package/shared/definition8.js +6 -4
  189. package/shared/definition9.js +1 -1
  190. package/shared/delegates-aria.cjs +106 -56
  191. package/shared/delegates-aria.js +107 -58
  192. package/shared/foundation/button/button.d.ts +8 -6
  193. package/shared/foundation/vivid-element/vivid-element.d.ts +339 -1
  194. package/shared/host-semantics.cjs +65 -0
  195. package/shared/host-semantics.js +62 -0
  196. package/shared/localization/Locale.d.ts +2 -0
  197. package/shared/option.cjs +4 -1
  198. package/shared/option.js +4 -1
  199. package/shared/patterns/affix.d.ts +22 -10
  200. package/shared/patterns/anchored.d.ts +18 -6
  201. package/shared/patterns/localized.d.ts +11 -5
  202. package/shared/patterns/trapped-focus.d.ts +11 -5
  203. package/shared/picker-field/mixins/calendar-picker.d.ts +19 -13
  204. package/shared/picker-field/mixins/calendar-picker.template.d.ts +19 -13
  205. package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +11 -5
  206. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +38 -26
  207. package/shared/picker-field/mixins/single-date-picker.d.ts +55 -37
  208. package/shared/picker-field/mixins/single-value-picker.d.ts +17 -11
  209. package/shared/picker-field/mixins/time-selection-picker.d.ts +38 -26
  210. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +38 -26
  211. package/shared/picker-field/picker-field.d.ts +21 -9
  212. package/shared/picker-field.template.js +1 -1
  213. package/shared/repeat.js +1 -1
  214. package/shared/slider.template.cjs +10 -9
  215. package/shared/slider.template.js +10 -9
  216. package/shared/templating/attribute-binding-behaviour.d.ts +15 -0
  217. package/shared/templating/render-in-light-dom.d.ts +22 -0
  218. package/shared/text-anchor.template.cjs +2 -13
  219. package/shared/text-anchor.template.js +2 -13
  220. package/shared/time-selection-picker.template.js +1 -1
  221. package/shared/vivid-element.cjs +96 -2
  222. package/shared/vivid-element.js +93 -3
  223. package/styles/core/all.css +1 -1
  224. package/styles/core/theme.css +1 -1
  225. package/styles/core/typography.css +1 -1
  226. package/styles/tokens/theme-dark.css +4 -4
  227. package/styles/tokens/theme-light.css +4 -4
  228. package/styles/tokens/vivid-2-compat.css +1 -1
  229. package/text-anchor/index.js +1 -1
  230. package/vivid.api.json +188 -17
  231. package/shared/Reflector.cjs +0 -71
  232. package/shared/Reflector.js +0 -69
@@ -2589,10 +2589,100 @@ const defineVividComponent = (name, type, template, dependencies, options) => ({
2589
2589
  options
2590
2590
  });
2591
2591
 
2592
- class VividElement extends FASTElement {
2592
+ const ariaChangeSubscribers = /* @__PURE__ */ new WeakMap();
2593
+ const getSubscribers = (source) => {
2594
+ let subscribers = ariaChangeSubscribers.get(source);
2595
+ if (!subscribers) {
2596
+ subscribers = [];
2597
+ ariaChangeSubscribers.set(source, subscribers);
2598
+ }
2599
+ return subscribers;
2600
+ };
2601
+ const subscribeToAriaPropertyChanges = (source, listener) => {
2602
+ getSubscribers(source).push(listener);
2603
+ };
2604
+ const unsubscribeFromAriaPropertyChanges = (source, listener) => {
2605
+ getSubscribers(source).splice(getSubscribers(source).indexOf(listener), 1);
2606
+ };
2607
+ const publishAriaPropertyChange = (source, changedAriaProperty) => {
2608
+ getSubscribers(source).forEach((s) => s(source, changedAriaProperty));
2609
+ };
2610
+
2611
+ const ariaMixinProperties = [
2612
+ "role",
2613
+ "ariaAtomic",
2614
+ "ariaAutoComplete",
2615
+ "ariaBusy",
2616
+ "ariaChecked",
2617
+ "ariaColCount",
2618
+ "ariaColIndex",
2619
+ "ariaColIndexText",
2620
+ "ariaColSpan",
2621
+ "ariaCurrent",
2622
+ "ariaDescription",
2623
+ "ariaDisabled",
2624
+ "ariaExpanded",
2625
+ "ariaHasPopup",
2626
+ "ariaHidden",
2627
+ "ariaInvalid",
2628
+ "ariaKeyShortcuts",
2629
+ "ariaLabel",
2630
+ "ariaLevel",
2631
+ "ariaLive",
2632
+ "ariaModal",
2633
+ "ariaMultiLine",
2634
+ "ariaMultiSelectable",
2635
+ "ariaOrientation",
2636
+ "ariaPlaceholder",
2637
+ "ariaPosInSet",
2638
+ "ariaPressed",
2639
+ "ariaReadOnly",
2640
+ "ariaRequired",
2641
+ "ariaRoleDescription",
2642
+ "ariaRowCount",
2643
+ "ariaRowIndex",
2644
+ "ariaRowIndexText",
2645
+ "ariaRowSpan",
2646
+ "ariaSelected",
2647
+ "ariaSetSize",
2648
+ "ariaSort",
2649
+ "ariaValueMax",
2650
+ "ariaValueMin",
2651
+ "ariaValueNow",
2652
+ "ariaValueText",
2653
+ "ariaRelevant"
2654
+ // Non-standard
2655
+ ];
2656
+ const ariaAttributeName = (ariaPropertyName) => ariaPropertyName.replace("aria", "aria-").toLowerCase();
2657
+ const AriaMixin = (Base) => {
2658
+ class AriaMixinElement extends Base {
2659
+ constructor(...args) {
2660
+ super(args);
2661
+ this.specialHandling = false;
2662
+ this._vividAriaBehaviour = "default";
2663
+ for (const ariaProperty of ariaMixinProperties) {
2664
+ this[ariaProperty] = null;
2665
+ }
2666
+ }
2667
+ }
2668
+ for (const ariaProperty of ariaMixinProperties) {
2669
+ attr({
2670
+ attribute: ariaAttributeName(ariaProperty),
2671
+ mode: "reflect"
2672
+ })(AriaMixinElement.prototype, ariaProperty);
2673
+ AriaMixinElement.prototype[`${ariaProperty}Changed`] = function() {
2674
+ if (this._vividAriaBehaviour !== "default") {
2675
+ publishAriaPropertyChange(this, ariaProperty);
2676
+ }
2677
+ };
2678
+ }
2679
+ return AriaMixinElement;
2680
+ };
2681
+
2682
+ class VividElement extends AriaMixin(FASTElement) {
2593
2683
  static {
2594
- this.VIVID_VERSION = "4.22.0";
2684
+ this.VIVID_VERSION = "4.24.0";
2595
2685
  }
2596
2686
  }
2597
2687
 
2598
- export { AttachedBehaviorHTMLDirective as A, DOM as D, HTMLDirective as H, Observable as O, SubscriberSet as S, VividElement as V, attr as a, booleanConverter as b, AttributeConfiguration as c, createRegisterFunction as d, emptyArray as e, defineVividComponent as f, HTMLView as g, html as h, defaultExecutionContext as i, nullableNumberConverter as n, observable as o, volatile as v };
2688
+ export { AttachedBehaviorHTMLDirective as A, DOM as D, HTMLDirective as H, Observable as O, SubscriberSet as S, VividElement as V, attr as a, booleanConverter as b, AttributeConfiguration as c, ariaAttributeName as d, emptyArray as e, ariaMixinProperties as f, createRegisterFunction as g, html as h, defineVividComponent as i, HTMLView as j, defaultExecutionContext as k, nullableNumberConverter as n, observable as o, subscribeToAriaPropertyChanges as s, unsubscribeFromAriaPropertyChanges as u, volatile as v };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
3
+ * Generated on Mon, 12 May 2025 14:52:13 GMT
4
4
  */
5
5
  .vvd-root {
6
6
  color-scheme: var(--vvd-color-scheme);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
3
+ * Generated on Mon, 12 May 2025 14:52:13 GMT
4
4
  */
5
5
  .vvd-root {
6
6
  color-scheme: var(--vvd-color-scheme);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
3
+ * Generated on Mon, 12 May 2025 14:52:13 GMT
4
4
  */
5
5
  .vvd-root:root {
6
6
  --vvd-size-font-scale-base: 1rem;
@@ -1,18 +1,18 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
3
+ * Generated on Mon, 12 May 2025 14:52:14 GMT
4
4
  */
5
5
  /**
6
6
  * Do not edit directly
7
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
7
+ * Generated on Mon, 12 May 2025 14:52:14 GMT
8
8
  */
9
9
  /**
10
10
  * Do not edit directly
11
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
11
+ * Generated on Mon, 12 May 2025 14:52:14 GMT
12
12
  */
13
13
  /**
14
14
  * Do not edit directly
15
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
15
+ * Generated on Mon, 12 May 2025 14:52:14 GMT
16
16
  */
17
17
  @property --vvd-size-density {
18
18
  syntax: "<integer>";
@@ -1,18 +1,18 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
3
+ * Generated on Mon, 12 May 2025 14:52:14 GMT
4
4
  */
5
5
  /**
6
6
  * Do not edit directly
7
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
7
+ * Generated on Mon, 12 May 2025 14:52:14 GMT
8
8
  */
9
9
  /**
10
10
  * Do not edit directly
11
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
11
+ * Generated on Mon, 12 May 2025 14:52:14 GMT
12
12
  */
13
13
  /**
14
14
  * Do not edit directly
15
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
15
+ * Generated on Mon, 12 May 2025 14:52:14 GMT
16
16
  */
17
17
  @property --vvd-size-density {
18
18
  syntax: "<integer>";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 22 Apr 2025 12:52:38 GMT
3
+ * Generated on Mon, 12 May 2025 14:52:13 GMT
4
4
  */
5
5
  .vvd-root, ::part(vvd-root),
6
6
  .vvd-theme-alternate, ::part(vvd-theme-alternate) {
@@ -1,5 +1,5 @@
1
1
  import { i as iconDefinition } from '../shared/definition28.js';
2
- import { d as createRegisterFunction, f as defineVividComponent } from '../shared/vivid-element.js';
2
+ import { g as createRegisterFunction, i as defineVividComponent } from '../shared/vivid-element.js';
3
3
  import { T as TextAnchor } from '../shared/text-anchor.js';
4
4
  import { t as textAnchorTemplate } from '../shared/text-anchor.template.js';
5
5
 
package/vivid.api.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.52.2",
4
+ "toolVersion": "7.52.5",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -10490,8 +10490,8 @@
10490
10490
  },
10491
10491
  {
10492
10492
  "kind": "Reference",
10493
- "text": "VividElement",
10494
- "canonicalReference": "@vonage/vivid!~VividElement:class"
10493
+ "text": "Breadcrumb_base",
10494
+ "canonicalReference": "@vonage/vivid!~Breadcrumb_base"
10495
10495
  },
10496
10496
  {
10497
10497
  "kind": "Content",
@@ -11478,8 +11478,8 @@
11478
11478
  },
11479
11479
  {
11480
11480
  "kind": "Reference",
11481
- "text": "VividElement",
11482
- "canonicalReference": "@vonage/vivid!~VividElement:class"
11481
+ "text": "CalendarEvent_base",
11482
+ "canonicalReference": "@vonage/vivid!~CalendarEvent_base"
11483
11483
  },
11484
11484
  {
11485
11485
  "kind": "Content",
@@ -17544,8 +17544,8 @@
17544
17544
  },
17545
17545
  {
17546
17546
  "kind": "Reference",
17547
- "text": "VividElement",
17548
- "canonicalReference": "@vonage/vivid!~VividElement:class"
17547
+ "text": "Header_base",
17548
+ "canonicalReference": "@vonage/vivid!~Header_base"
17549
17549
  },
17550
17550
  {
17551
17551
  "kind": "Content",
@@ -18964,8 +18964,8 @@
18964
18964
  },
18965
18965
  {
18966
18966
  "kind": "Reference",
18967
- "text": "VividElement",
18968
- "canonicalReference": "@vonage/vivid!~VividElement:class"
18967
+ "text": "Nav_base",
18968
+ "canonicalReference": "@vonage/vivid!~Nav_base"
18969
18969
  },
18970
18970
  {
18971
18971
  "kind": "Content",
@@ -21681,8 +21681,8 @@
21681
21681
  },
21682
21682
  {
21683
21683
  "kind": "Reference",
21684
- "text": "VividElement",
21685
- "canonicalReference": "@vonage/vivid!~VividElement:class"
21684
+ "text": "RadioGroup_base",
21685
+ "canonicalReference": "@vonage/vivid!~RadioGroup_base"
21686
21686
  },
21687
21687
  {
21688
21688
  "kind": "Content",
@@ -22749,6 +22749,67 @@
22749
22749
  "isAbstract": false,
22750
22750
  "name": "focus"
22751
22751
  },
22752
+ {
22753
+ "kind": "Property",
22754
+ "canonicalReference": "@vonage/vivid!VwcRichTextEditorElement#placeholder:member",
22755
+ "docComment": "",
22756
+ "excerptTokens": [
22757
+ {
22758
+ "kind": "Content",
22759
+ "text": "placeholder?: "
22760
+ },
22761
+ {
22762
+ "kind": "Content",
22763
+ "text": "string"
22764
+ },
22765
+ {
22766
+ "kind": "Content",
22767
+ "text": ";"
22768
+ }
22769
+ ],
22770
+ "isReadonly": false,
22771
+ "isOptional": true,
22772
+ "releaseTag": "Public",
22773
+ "name": "placeholder",
22774
+ "propertyTypeTokenRange": {
22775
+ "startIndex": 1,
22776
+ "endIndex": 2
22777
+ },
22778
+ "isStatic": false,
22779
+ "isProtected": false,
22780
+ "isAbstract": false
22781
+ },
22782
+ {
22783
+ "kind": "Method",
22784
+ "canonicalReference": "@vonage/vivid!VwcRichTextEditorElement#placeholderChanged:member(1)",
22785
+ "docComment": "",
22786
+ "excerptTokens": [
22787
+ {
22788
+ "kind": "Content",
22789
+ "text": "placeholderChanged(): "
22790
+ },
22791
+ {
22792
+ "kind": "Content",
22793
+ "text": "void"
22794
+ },
22795
+ {
22796
+ "kind": "Content",
22797
+ "text": ";"
22798
+ }
22799
+ ],
22800
+ "isStatic": false,
22801
+ "returnTypeTokenRange": {
22802
+ "startIndex": 1,
22803
+ "endIndex": 2
22804
+ },
22805
+ "releaseTag": "Public",
22806
+ "isProtected": false,
22807
+ "overloadIndex": 1,
22808
+ "parameters": [],
22809
+ "isOptional": false,
22810
+ "isAbstract": false,
22811
+ "name": "placeholderChanged"
22812
+ },
22752
22813
  {
22753
22814
  "kind": "Property",
22754
22815
  "canonicalReference": "@vonage/vivid!VwcRichTextEditorElement#selectionEnd:member",
@@ -22871,6 +22932,37 @@
22871
22932
  "isAbstract": false,
22872
22933
  "name": "selectionStartChanged"
22873
22934
  },
22935
+ {
22936
+ "kind": "Property",
22937
+ "canonicalReference": "@vonage/vivid!VwcRichTextEditorElement#selectionStyles:member",
22938
+ "docComment": "",
22939
+ "excerptTokens": [
22940
+ {
22941
+ "kind": "Content",
22942
+ "text": "get selectionStyles(): "
22943
+ },
22944
+ {
22945
+ "kind": "Reference",
22946
+ "text": "SelectionStyles",
22947
+ "canonicalReference": "@vonage/vivid!~SelectionStyles:interface"
22948
+ },
22949
+ {
22950
+ "kind": "Content",
22951
+ "text": ";"
22952
+ }
22953
+ ],
22954
+ "isReadonly": true,
22955
+ "isOptional": false,
22956
+ "releaseTag": "Public",
22957
+ "name": "selectionStyles",
22958
+ "propertyTypeTokenRange": {
22959
+ "startIndex": 1,
22960
+ "endIndex": 2
22961
+ },
22962
+ "isStatic": false,
22963
+ "isProtected": false,
22964
+ "isAbstract": false
22965
+ },
22874
22966
  {
22875
22967
  "kind": "Method",
22876
22968
  "canonicalReference": "@vonage/vivid!VwcRichTextEditorElement#setSelectionDecoration:member(1)",
@@ -22919,6 +23011,55 @@
22919
23011
  "isAbstract": false,
22920
23012
  "name": "setSelectionDecoration"
22921
23013
  },
23014
+ {
23015
+ "kind": "Method",
23016
+ "canonicalReference": "@vonage/vivid!VwcRichTextEditorElement#setSelectionTextSize:member(1)",
23017
+ "docComment": "",
23018
+ "excerptTokens": [
23019
+ {
23020
+ "kind": "Content",
23021
+ "text": "setSelectionTextSize(textSize: "
23022
+ },
23023
+ {
23024
+ "kind": "Reference",
23025
+ "text": "RICH_TEXT_EDITOR_MENUBAR_TEXT_SIZES",
23026
+ "canonicalReference": "@vonage/vivid!~RICH_TEXT_EDITOR_MENUBAR_TEXT_SIZES:type"
23027
+ },
23028
+ {
23029
+ "kind": "Content",
23030
+ "text": "): "
23031
+ },
23032
+ {
23033
+ "kind": "Content",
23034
+ "text": "void"
23035
+ },
23036
+ {
23037
+ "kind": "Content",
23038
+ "text": ";"
23039
+ }
23040
+ ],
23041
+ "isStatic": false,
23042
+ "returnTypeTokenRange": {
23043
+ "startIndex": 3,
23044
+ "endIndex": 4
23045
+ },
23046
+ "releaseTag": "Public",
23047
+ "isProtected": false,
23048
+ "overloadIndex": 1,
23049
+ "parameters": [
23050
+ {
23051
+ "parameterName": "textSize",
23052
+ "parameterTypeTokenRange": {
23053
+ "startIndex": 1,
23054
+ "endIndex": 2
23055
+ },
23056
+ "isOptional": false
23057
+ }
23058
+ ],
23059
+ "isOptional": false,
23060
+ "isAbstract": false,
23061
+ "name": "setSelectionTextSize"
23062
+ },
22922
23063
  {
22923
23064
  "kind": "Method",
22924
23065
  "canonicalReference": "@vonage/vivid!VwcRichTextEditorElement#setTextBlock:member(1)",
@@ -23302,6 +23443,36 @@
23302
23443
  "isProtected": false,
23303
23444
  "isAbstract": false
23304
23445
  },
23446
+ {
23447
+ "kind": "Property",
23448
+ "canonicalReference": "@vonage/vivid!VwcSearchableSelectElement#maxSelected:member",
23449
+ "docComment": "",
23450
+ "excerptTokens": [
23451
+ {
23452
+ "kind": "Content",
23453
+ "text": "maxSelected: "
23454
+ },
23455
+ {
23456
+ "kind": "Content",
23457
+ "text": "number | null"
23458
+ },
23459
+ {
23460
+ "kind": "Content",
23461
+ "text": ";"
23462
+ }
23463
+ ],
23464
+ "isReadonly": false,
23465
+ "isOptional": false,
23466
+ "releaseTag": "Public",
23467
+ "name": "maxSelected",
23468
+ "propertyTypeTokenRange": {
23469
+ "startIndex": 1,
23470
+ "endIndex": 2
23471
+ },
23472
+ "isStatic": false,
23473
+ "isProtected": false,
23474
+ "isAbstract": false
23475
+ },
23305
23476
  {
23306
23477
  "kind": "Property",
23307
23478
  "canonicalReference": "@vonage/vivid!VwcSearchableSelectElement#multiple:member",
@@ -26129,8 +26300,8 @@
26129
26300
  },
26130
26301
  {
26131
26302
  "kind": "Reference",
26132
- "text": "VividElement",
26133
- "canonicalReference": "@vonage/vivid!~VividElement:class"
26303
+ "text": "TabPanel_base",
26304
+ "canonicalReference": "@vonage/vivid!~TabPanel_base"
26134
26305
  },
26135
26306
  {
26136
26307
  "kind": "Content",
@@ -26241,7 +26412,7 @@
26241
26412
  "excerptTokens": [
26242
26413
  {
26243
26414
  "kind": "Content",
26244
- "text": "activetab: "
26415
+ "text": "get activetab(): "
26245
26416
  },
26246
26417
  {
26247
26418
  "kind": "Reference",
@@ -26253,7 +26424,7 @@
26253
26424
  "text": ";"
26254
26425
  }
26255
26426
  ],
26256
- "isReadonly": false,
26427
+ "isReadonly": true,
26257
26428
  "isOptional": false,
26258
26429
  "releaseTag": "Public",
26259
26430
  "name": "activetab",
@@ -29323,8 +29494,8 @@
29323
29494
  },
29324
29495
  {
29325
29496
  "kind": "Reference",
29326
- "text": "VividElement",
29327
- "canonicalReference": "@vonage/vivid!~VividElement:class"
29497
+ "text": "TreeView_base",
29498
+ "canonicalReference": "@vonage/vivid!~TreeView_base"
29328
29499
  },
29329
29500
  {
29330
29501
  "kind": "Content",
@@ -1,71 +0,0 @@
1
- 'use strict';
2
-
3
- const vividElement = require('./vivid-element.cjs');
4
-
5
- class Reflector {
6
- #reflectedProperties = /* @__PURE__ */ new Map();
7
- #source;
8
- #target;
9
- constructor(source, target) {
10
- this.#source = source;
11
- this.#target = target;
12
- }
13
- attribute(propertyName, attributeName) {
14
- this.#addReflectedProperty(propertyName, {
15
- type: "attribute",
16
- destination: attributeName
17
- });
18
- }
19
- booleanAttribute(propertyName, attributeName) {
20
- this.#addReflectedProperty(propertyName, {
21
- type: "boolean-attribute",
22
- destination: attributeName
23
- });
24
- }
25
- property(propertyName, targetProperty, skipIfEqual = false) {
26
- this.#addReflectedProperty(propertyName, {
27
- type: "property",
28
- destination: targetProperty,
29
- skipIfEqual
30
- });
31
- }
32
- destroy() {
33
- const notifier = vividElement.Observable.getNotifier(this.#source);
34
- for (const prop of this.#reflectedProperties.keys()) {
35
- notifier.unsubscribe(this.#propertyChangeHandler, prop);
36
- }
37
- this.#reflectedProperties.clear();
38
- }
39
- #addReflectedProperty(name, reflected) {
40
- this.#reflectedProperties.set(name, reflected);
41
- const notifier = vividElement.Observable.getNotifier(this.#source);
42
- notifier.subscribe(this.#propertyChangeHandler, name);
43
- this.#propertyChangeHandler.handleChange(this.#source, name);
44
- }
45
- #propertyChangeHandler = {
46
- handleChange: (source, propertyName) => {
47
- const reflectedProperty = this.#reflectedProperties.get(propertyName);
48
- const value = source[propertyName];
49
- switch (reflectedProperty.type) {
50
- case "boolean-attribute":
51
- vividElement.DOM.setBooleanAttribute(
52
- this.#target,
53
- reflectedProperty.destination,
54
- Boolean(value)
55
- );
56
- break;
57
- case "attribute":
58
- vividElement.DOM.setAttribute(this.#target, reflectedProperty.destination, value);
59
- break;
60
- case "property":
61
- if (reflectedProperty.skipIfEqual && this.#target[reflectedProperty.destination] === value) {
62
- return;
63
- }
64
- this.#target[reflectedProperty.destination] = value;
65
- break;
66
- }
67
- }
68
- };
69
- }
70
-
71
- exports.Reflector = Reflector;
@@ -1,69 +0,0 @@
1
- import { O as Observable, D as DOM } from './vivid-element.js';
2
-
3
- class Reflector {
4
- #reflectedProperties = /* @__PURE__ */ new Map();
5
- #source;
6
- #target;
7
- constructor(source, target) {
8
- this.#source = source;
9
- this.#target = target;
10
- }
11
- attribute(propertyName, attributeName) {
12
- this.#addReflectedProperty(propertyName, {
13
- type: "attribute",
14
- destination: attributeName
15
- });
16
- }
17
- booleanAttribute(propertyName, attributeName) {
18
- this.#addReflectedProperty(propertyName, {
19
- type: "boolean-attribute",
20
- destination: attributeName
21
- });
22
- }
23
- property(propertyName, targetProperty, skipIfEqual = false) {
24
- this.#addReflectedProperty(propertyName, {
25
- type: "property",
26
- destination: targetProperty,
27
- skipIfEqual
28
- });
29
- }
30
- destroy() {
31
- const notifier = Observable.getNotifier(this.#source);
32
- for (const prop of this.#reflectedProperties.keys()) {
33
- notifier.unsubscribe(this.#propertyChangeHandler, prop);
34
- }
35
- this.#reflectedProperties.clear();
36
- }
37
- #addReflectedProperty(name, reflected) {
38
- this.#reflectedProperties.set(name, reflected);
39
- const notifier = Observable.getNotifier(this.#source);
40
- notifier.subscribe(this.#propertyChangeHandler, name);
41
- this.#propertyChangeHandler.handleChange(this.#source, name);
42
- }
43
- #propertyChangeHandler = {
44
- handleChange: (source, propertyName) => {
45
- const reflectedProperty = this.#reflectedProperties.get(propertyName);
46
- const value = source[propertyName];
47
- switch (reflectedProperty.type) {
48
- case "boolean-attribute":
49
- DOM.setBooleanAttribute(
50
- this.#target,
51
- reflectedProperty.destination,
52
- Boolean(value)
53
- );
54
- break;
55
- case "attribute":
56
- DOM.setAttribute(this.#target, reflectedProperty.destination, value);
57
- break;
58
- case "property":
59
- if (reflectedProperty.skipIfEqual && this.#target[reflectedProperty.destination] === value) {
60
- return;
61
- }
62
- this.#target[reflectedProperty.destination] = value;
63
- break;
64
- }
65
- }
66
- };
67
- }
68
-
69
- export { Reflector as R };