@vonage/vivid 4.14.0 → 4.14.2

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 (218) hide show
  1. package/custom-elements.json +152 -197
  2. package/lib/divider/divider.d.ts +1 -1
  3. package/lib/divider/divider.template.d.ts +1 -1
  4. package/lib/elevation/elevation.d.ts +1 -0
  5. package/lib/radio/radio.form-associated.d.ts +2 -0
  6. package/lib/tabs/tabs.d.ts +0 -5
  7. package/lib/text-anchor/text-anchor.d.ts +2 -2
  8. package/lib/tree-item/tree-item.d.ts +2 -2
  9. package/lib/tree-view/tree-view.d.ts +2 -2
  10. package/package.json +1 -1
  11. package/shared/affix.cjs +8 -8
  12. package/shared/affix.js +2 -2
  13. package/shared/anchor.cjs +10 -10
  14. package/shared/anchor.js +1 -1
  15. package/shared/anchored.cjs +6 -6
  16. package/shared/anchored.js +1 -1
  17. package/shared/apply-mixins.cjs +3 -3
  18. package/shared/apply-mixins.js +1 -1
  19. package/shared/apply-mixins2.cjs +3 -3
  20. package/shared/apply-mixins2.js +1 -1
  21. package/shared/applyMixinsWithObservables.cjs +3 -3
  22. package/shared/applyMixinsWithObservables.js +1 -1
  23. package/shared/aria-global.cjs +20 -20
  24. package/shared/aria-global.js +1 -1
  25. package/shared/base-progress.cjs +7 -8
  26. package/shared/base-progress.js +2 -3
  27. package/shared/breadcrumb-item.cjs +2 -3
  28. package/shared/breadcrumb-item.js +1 -2
  29. package/shared/button.cjs +10 -11
  30. package/shared/button.js +1 -2
  31. package/shared/calendar-event.cjs +7 -8
  32. package/shared/calendar-event.js +1 -2
  33. package/shared/children.cjs +2 -2
  34. package/shared/children.js +1 -1
  35. package/shared/definition.cjs +14 -15
  36. package/shared/definition.js +2 -3
  37. package/shared/definition10.cjs +5 -6
  38. package/shared/definition10.js +1 -2
  39. package/shared/definition11.cjs +29 -29
  40. package/shared/definition11.js +2 -2
  41. package/shared/definition12.cjs +6 -6
  42. package/shared/definition12.js +1 -1
  43. package/shared/definition13.cjs +13 -14
  44. package/shared/definition13.js +1 -2
  45. package/shared/definition14.cjs +23 -24
  46. package/shared/definition14.js +1 -2
  47. package/shared/definition15.cjs +15 -16
  48. package/shared/definition15.js +1 -2
  49. package/shared/definition16.cjs +21 -21
  50. package/shared/definition16.js +5 -5
  51. package/shared/definition17.cjs +62 -61
  52. package/shared/definition17.js +10 -9
  53. package/shared/definition18.cjs +4 -4
  54. package/shared/definition18.js +1 -1
  55. package/shared/definition19.cjs +12 -12
  56. package/shared/definition19.js +1 -1
  57. package/shared/definition2.cjs +6 -7
  58. package/shared/definition2.js +1 -2
  59. package/shared/definition20.cjs +20 -21
  60. package/shared/definition20.js +1 -2
  61. package/shared/definition21.cjs +27 -28
  62. package/shared/definition21.js +3 -4
  63. package/shared/definition22.cjs +7 -7
  64. package/shared/definition22.js +3 -3
  65. package/shared/definition23.cjs +10 -11
  66. package/shared/definition23.js +1 -2
  67. package/shared/definition24.cjs +8 -8
  68. package/shared/definition24.js +3 -3
  69. package/shared/definition25.cjs +13 -14
  70. package/shared/definition25.js +1 -2
  71. package/shared/definition26.cjs +5 -6
  72. package/shared/definition26.js +1 -2
  73. package/shared/definition27.cjs +12 -13
  74. package/shared/definition27.js +2 -3
  75. package/shared/definition28.cjs +9 -10
  76. package/shared/definition28.js +2 -3
  77. package/shared/definition29.cjs +44 -45
  78. package/shared/definition29.js +3 -4
  79. package/shared/definition3.cjs +8 -9
  80. package/shared/definition3.js +1 -2
  81. package/shared/definition30.cjs +9 -10
  82. package/shared/definition30.js +2 -3
  83. package/shared/definition31.cjs +5 -5
  84. package/shared/definition31.js +2 -2
  85. package/shared/definition32.cjs +3 -4
  86. package/shared/definition32.js +1 -2
  87. package/shared/definition33.cjs +6 -7
  88. package/shared/definition33.js +2 -3
  89. package/shared/definition34.cjs +112 -45
  90. package/shared/definition34.js +73 -6
  91. package/shared/definition35.cjs +9 -209
  92. package/shared/definition35.js +4 -202
  93. package/shared/definition36.cjs +15 -16
  94. package/shared/definition36.js +1 -2
  95. package/shared/definition37.cjs +9 -9
  96. package/shared/definition37.js +1 -1
  97. package/shared/definition38.cjs +10 -10
  98. package/shared/definition38.js +1 -1
  99. package/shared/definition39.cjs +12 -13
  100. package/shared/definition39.js +1 -2
  101. package/shared/definition4.cjs +19 -20
  102. package/shared/definition4.js +2 -3
  103. package/shared/definition40.cjs +61 -13
  104. package/shared/definition40.js +52 -4
  105. package/shared/definition41.cjs +29 -30
  106. package/shared/definition41.js +1 -2
  107. package/shared/definition42.cjs +52 -53
  108. package/shared/definition42.js +3 -4
  109. package/shared/definition43.cjs +40 -40
  110. package/shared/definition43.js +6 -6
  111. package/shared/definition44.cjs +14 -15
  112. package/shared/definition44.js +1 -2
  113. package/shared/definition45.cjs +9 -10
  114. package/shared/definition45.js +1 -2
  115. package/shared/definition46.cjs +26 -27
  116. package/shared/definition46.js +1 -2
  117. package/shared/definition47.cjs +17 -18
  118. package/shared/definition47.js +2 -3
  119. package/shared/definition48.cjs +9 -10
  120. package/shared/definition48.js +1 -2
  121. package/shared/definition49.cjs +3 -4
  122. package/shared/definition49.js +1 -2
  123. package/shared/definition5.cjs +30 -31
  124. package/shared/definition5.js +1 -2
  125. package/shared/definition50.cjs +12 -13
  126. package/shared/definition50.js +2 -3
  127. package/shared/definition51.cjs +109 -72
  128. package/shared/definition51.js +78 -41
  129. package/shared/definition52.cjs +4 -5
  130. package/shared/definition52.js +1 -2
  131. package/shared/definition53.cjs +15 -16
  132. package/shared/definition53.js +2 -3
  133. package/shared/definition54.cjs +20 -21
  134. package/shared/definition54.js +1 -2
  135. package/shared/definition55.cjs +5 -5
  136. package/shared/definition55.js +1 -1
  137. package/shared/definition56.cjs +18 -19
  138. package/shared/definition56.js +1 -2
  139. package/shared/definition57.cjs +10 -11
  140. package/shared/definition57.js +1 -2
  141. package/shared/definition58.cjs +7 -8
  142. package/shared/definition58.js +1 -2
  143. package/shared/definition59.cjs +16 -17
  144. package/shared/definition59.js +3 -4
  145. package/shared/definition6.cjs +11 -12
  146. package/shared/definition6.js +1 -2
  147. package/shared/definition60.cjs +9 -10
  148. package/shared/definition60.js +2 -3
  149. package/shared/definition61.cjs +27 -30
  150. package/shared/definition61.js +17 -20
  151. package/shared/definition62.cjs +12 -9
  152. package/shared/definition62.js +8 -5
  153. package/shared/definition63.cjs +13 -14
  154. package/shared/definition63.js +1 -2
  155. package/shared/definition7.cjs +9 -10
  156. package/shared/definition7.js +2 -3
  157. package/shared/definition8.cjs +14 -15
  158. package/shared/definition8.js +2 -3
  159. package/shared/definition9.cjs +7 -7
  160. package/shared/definition9.js +1 -1
  161. package/shared/form-associated.cjs +14 -14
  162. package/shared/form-associated.js +1 -1
  163. package/shared/form-associated2.cjs +10 -10
  164. package/shared/form-associated2.js +1 -1
  165. package/shared/form-elements.cjs +13 -13
  166. package/shared/form-elements.js +1 -1
  167. package/shared/foundation/progress/base-progress.d.ts +2 -2
  168. package/shared/foundation-element.cjs +11 -11
  169. package/shared/foundation-element.js +1 -1
  170. package/shared/key-codes2.cjs +0 -56
  171. package/shared/key-codes2.js +1 -53
  172. package/shared/listbox.cjs +15 -16
  173. package/shared/listbox.js +2 -3
  174. package/shared/localized.cjs +2 -2
  175. package/shared/localized.js +1 -1
  176. package/shared/option.cjs +205 -0
  177. package/shared/option.js +202 -0
  178. package/shared/presentationDate.cjs +42 -43
  179. package/shared/presentationDate.js +1 -2
  180. package/shared/ref.cjs +2 -2
  181. package/shared/ref.js +1 -1
  182. package/shared/repeat.cjs +15 -15
  183. package/shared/repeat.js +1 -1
  184. package/shared/slider.template.cjs +4 -4
  185. package/shared/slider.template.js +1 -1
  186. package/shared/slotted.cjs +4 -4
  187. package/shared/slotted.js +1 -1
  188. package/shared/start-end.cjs +52 -0
  189. package/shared/start-end.js +50 -0
  190. package/shared/text-anchor.cjs +5 -6
  191. package/shared/text-anchor.js +3 -4
  192. package/shared/text-anchor.template.cjs +2 -2
  193. package/shared/text-anchor.template.js +1 -1
  194. package/shared/text-field2.cjs +23 -24
  195. package/shared/text-field2.js +2 -3
  196. package/shared/vivid-element.cjs +2610 -2
  197. package/shared/vivid-element.js +2591 -2
  198. package/styles/core/all.css +40 -1
  199. package/styles/core/theme.css +40 -1
  200. package/styles/core/typography.css +1 -1
  201. package/styles/tokens/theme-dark.css +25 -4
  202. package/styles/tokens/theme-light.css +25 -4
  203. package/styles/tokens/vivid-2-compat.css +1 -1
  204. package/text-anchor/index.cjs +3 -3
  205. package/text-anchor/index.js +1 -1
  206. package/lib/listbox/definition.d.ts +0 -2
  207. package/lib/listbox/listbox.d.ts +0 -14
  208. package/lib/listbox/listbox.template.d.ts +0 -2
  209. package/listbox/index.cjs +0 -54
  210. package/listbox/index.js +0 -52
  211. package/shared/aria-global2.cjs +0 -75
  212. package/shared/aria-global2.js +0 -73
  213. package/shared/defineVividComponent.cjs +0 -2612
  214. package/shared/defineVividComponent.js +0 -2592
  215. package/shared/listbox2.cjs +0 -1268
  216. package/shared/listbox2.js +0 -1265
  217. package/shared/strings2.cjs +0 -37
  218. package/shared/strings2.js +0 -33
@@ -2803,6 +2803,7 @@
2803
2803
  "type": {
2804
2804
  "text": "string"
2805
2805
  },
2806
+ "description": "Specifies extra information about the button. This information is typically used by browsers to display a tooltip.",
2806
2807
  "default": "''"
2807
2808
  },
2808
2809
  {
@@ -3226,7 +3227,7 @@
3226
3227
  "type": {
3227
3228
  "text": "boolean"
3228
3229
  },
3229
- "description": "Determines if the element should receive document focus on page load.",
3230
+ "description": "Specifies extra information about the button. This information is typically used by browsers to display a tooltip.",
3230
3231
  "fieldName": "title",
3231
3232
  "default": "''",
3232
3233
  "inheritedFrom": {
@@ -5832,6 +5833,10 @@
5832
5833
  "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
5833
5834
  "privacy": "public"
5834
5835
  },
5836
+ {
5837
+ "kind": "method",
5838
+ "name": "#setTabIndex"
5839
+ },
5835
5840
  {
5836
5841
  "kind": "field",
5837
5842
  "name": "generateHeader",
@@ -8028,6 +8033,16 @@
8028
8033
  "kind": "javascript-module",
8029
8034
  "path": "libs/components/src/lib/divider/divider.ts",
8030
8035
  "declarations": [
8036
+ {
8037
+ "kind": "variable",
8038
+ "name": "DividerRole",
8039
+ "type": {
8040
+ "text": "{\n\t/**\n\t * The divider semantically separates content\n\t */\n\tseparator: 'separator',\n\n\t/**\n\t * The divider has no semantic value and is for visual presentation only.\n\t */\n\tpresentation: 'presentation',\n}"
8041
+ },
8042
+ "default": "{\n\t/**\n\t * The divider semantically separates content\n\t */\n\tseparator: 'separator',\n\n\t/**\n\t * The divider has no semantic value and is for visual presentation only.\n\t */\n\tpresentation: 'presentation',\n}",
8043
+ "description": "Divider roles",
8044
+ "privacy": "public"
8045
+ },
8031
8046
  {
8032
8047
  "kind": "class",
8033
8048
  "description": "",
@@ -8081,6 +8096,14 @@
8081
8096
  }
8082
8097
  ],
8083
8098
  "exports": [
8099
+ {
8100
+ "kind": "js",
8101
+ "name": "DividerRole",
8102
+ "declaration": {
8103
+ "name": "DividerRole",
8104
+ "module": "libs/components/src/lib/divider/divider.ts"
8105
+ }
8106
+ },
8084
8107
  {
8085
8108
  "kind": "js",
8086
8109
  "name": "Divider",
@@ -8150,6 +8173,13 @@
8150
8173
  },
8151
8174
  "description": "toggles the elevation's shadow.",
8152
8175
  "privacy": "public"
8176
+ },
8177
+ {
8178
+ "kind": "field",
8179
+ "name": "notRelative",
8180
+ "type": {
8181
+ "text": "boolean | undefined"
8182
+ }
8153
8183
  }
8154
8184
  ],
8155
8185
  "attributes": [
@@ -8168,6 +8198,13 @@
8168
8198
  },
8169
8199
  "description": "toggles the elevation's shadow.",
8170
8200
  "fieldName": "noShadow"
8201
+ },
8202
+ {
8203
+ "name": "not-relative",
8204
+ "type": {
8205
+ "text": "boolean | undefined"
8206
+ },
8207
+ "fieldName": "notRelative"
8171
8208
  }
8172
8209
  ],
8173
8210
  "superclass": {
@@ -10060,180 +10097,6 @@
10060
10097
  }
10061
10098
  ]
10062
10099
  },
10063
- {
10064
- "kind": "javascript-module",
10065
- "path": "libs/components/src/lib/listbox/definition.ts",
10066
- "declarations": [
10067
- {
10068
- "kind": "variable",
10069
- "name": "registerListbox",
10070
- "description": "Registers the listbox elements with the design system.",
10071
- "parameters": [
10072
- {
10073
- "description": "the prefix to use for the component name",
10074
- "name": "prefix"
10075
- }
10076
- ]
10077
- }
10078
- ],
10079
- "exports": [
10080
- {
10081
- "kind": "js",
10082
- "name": "LisboxAppearance",
10083
- "declaration": {
10084
- "name": "LisboxAppearance",
10085
- "module": "./listbox"
10086
- }
10087
- },
10088
- {
10089
- "kind": "js",
10090
- "name": "registerListbox",
10091
- "declaration": {
10092
- "name": "registerListbox",
10093
- "module": "libs/components/src/lib/listbox/definition.ts"
10094
- }
10095
- }
10096
- ]
10097
- },
10098
- {
10099
- "kind": "javascript-module",
10100
- "path": "libs/components/src/lib/listbox/listbox.ts",
10101
- "declarations": [
10102
- {
10103
- "kind": "class",
10104
- "description": "",
10105
- "name": "Listbox",
10106
- "cssProperties": [
10107
- {
10108
- "name": "--vvd-listbox-accent-intermediate",
10109
- "default": "var(--vvd-color-neutral-500)"
10110
- },
10111
- {
10112
- "name": "--vvd-listbox-accent-primary",
10113
- "default": "var(--vvd-color-canvas-text)"
10114
- },
10115
- {
10116
- "name": "--vvd-listbox-accent-soft",
10117
- "default": "var(--vvd-color-neutral-100)"
10118
- }
10119
- ],
10120
- "slots": [
10121
- {
10122
- "description": "Default slot.",
10123
- "name": ""
10124
- }
10125
- ],
10126
- "members": [
10127
- {
10128
- "kind": "field",
10129
- "name": "appearance",
10130
- "type": {
10131
- "text": "LisboxAppearance | undefined"
10132
- },
10133
- "description": "The appearance the listbox should have.",
10134
- "privacy": "public"
10135
- },
10136
- {
10137
- "kind": "field",
10138
- "name": "orientation",
10139
- "type": {
10140
- "text": "'horizontal' | 'vertical' | undefined"
10141
- },
10142
- "description": "The direction the listbox options should flow.",
10143
- "privacy": "public"
10144
- },
10145
- {
10146
- "kind": "method",
10147
- "name": "orientationChanged",
10148
- "return": {
10149
- "type": {
10150
- "text": "void"
10151
- }
10152
- }
10153
- },
10154
- {
10155
- "kind": "field",
10156
- "name": "shape",
10157
- "type": {
10158
- "text": "ListboxShape | undefined"
10159
- },
10160
- "description": "The shape the listbox should have.",
10161
- "privacy": "public"
10162
- },
10163
- {
10164
- "kind": "method",
10165
- "name": "slottedOptionsChanged",
10166
- "parameters": [
10167
- {
10168
- "name": "prev",
10169
- "type": {
10170
- "text": "Element[] | undefined"
10171
- }
10172
- },
10173
- {
10174
- "name": "next",
10175
- "type": {
10176
- "text": "Element[]"
10177
- }
10178
- }
10179
- ]
10180
- },
10181
- {
10182
- "kind": "method",
10183
- "name": "#disableSlottedChildren",
10184
- "return": {
10185
- "type": {
10186
- "text": "void"
10187
- }
10188
- }
10189
- }
10190
- ],
10191
- "attributes": [
10192
- {
10193
- "name": "appearance",
10194
- "type": {
10195
- "text": "LisboxAppearance | undefined"
10196
- },
10197
- "description": "The appearance the listbox should have.",
10198
- "fieldName": "appearance"
10199
- },
10200
- {
10201
- "name": "orientation",
10202
- "type": {
10203
- "text": "'horizontal' | 'vertical' | undefined"
10204
- },
10205
- "description": "The direction the listbox options should flow.",
10206
- "fieldName": "orientation"
10207
- },
10208
- {
10209
- "name": "shape",
10210
- "type": {
10211
- "text": "ListboxShape | undefined"
10212
- },
10213
- "description": "The shape the listbox should have.",
10214
- "fieldName": "shape"
10215
- }
10216
- ],
10217
- "superclass": {
10218
- "name": "FoundationListboxElement",
10219
- "package": "@microsoft/fast-foundation"
10220
- },
10221
- "vividComponent": {
10222
- "name": "listbox"
10223
- }
10224
- }
10225
- ],
10226
- "exports": [
10227
- {
10228
- "kind": "js",
10229
- "name": "Listbox",
10230
- "declaration": {
10231
- "name": "Listbox",
10232
- "module": "libs/components/src/lib/listbox/listbox.ts"
10233
- }
10234
- }
10235
- ]
10236
- },
10237
10100
  {
10238
10101
  "kind": "javascript-module",
10239
10102
  "path": "libs/components/src/lib/menu/definition.ts",
@@ -13583,6 +13446,29 @@
13583
13446
  {
13584
13447
  "kind": "field",
13585
13448
  "name": "proxy"
13449
+ },
13450
+ {
13451
+ "kind": "field",
13452
+ "name": "#radioSiblings",
13453
+ "privacy": "private",
13454
+ "type": {
13455
+ "text": "_Radio[]"
13456
+ },
13457
+ "readonly": true
13458
+ },
13459
+ {
13460
+ "kind": "field",
13461
+ "name": "#validateValueMissingWithSiblings",
13462
+ "privacy": "private"
13463
+ },
13464
+ {
13465
+ "kind": "field",
13466
+ "name": "#syncSiblingsRequiredValidationStatus",
13467
+ "privacy": "private"
13468
+ },
13469
+ {
13470
+ "kind": "field",
13471
+ "name": "validate"
13586
13472
  }
13587
13473
  ],
13588
13474
  "mixins": [
@@ -13727,6 +13613,45 @@
13727
13613
  "name": "FormAssociatedRadio",
13728
13614
  "module": "libs/components/src/lib/radio/radio.form-associated.ts"
13729
13615
  }
13616
+ },
13617
+ {
13618
+ "kind": "field",
13619
+ "name": "#radioSiblings",
13620
+ "privacy": "private",
13621
+ "type": {
13622
+ "text": "_Radio[]"
13623
+ },
13624
+ "readonly": true,
13625
+ "inheritedFrom": {
13626
+ "name": "FormAssociatedRadio",
13627
+ "module": "libs/components/src/lib/radio/radio.form-associated.ts"
13628
+ }
13629
+ },
13630
+ {
13631
+ "kind": "field",
13632
+ "name": "#validateValueMissingWithSiblings",
13633
+ "privacy": "private",
13634
+ "inheritedFrom": {
13635
+ "name": "FormAssociatedRadio",
13636
+ "module": "libs/components/src/lib/radio/radio.form-associated.ts"
13637
+ }
13638
+ },
13639
+ {
13640
+ "kind": "field",
13641
+ "name": "#syncSiblingsRequiredValidationStatus",
13642
+ "privacy": "private",
13643
+ "inheritedFrom": {
13644
+ "name": "FormAssociatedRadio",
13645
+ "module": "libs/components/src/lib/radio/radio.form-associated.ts"
13646
+ }
13647
+ },
13648
+ {
13649
+ "kind": "field",
13650
+ "name": "validate",
13651
+ "inheritedFrom": {
13652
+ "name": "FormAssociatedRadio",
13653
+ "module": "libs/components/src/lib/radio/radio.form-associated.ts"
13654
+ }
13730
13655
  }
13731
13656
  ],
13732
13657
  "events": [
@@ -13770,6 +13695,14 @@
13770
13695
  },
13771
13696
  "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
13772
13697
  "fieldName": "readOnly"
13698
+ },
13699
+ {
13700
+ "name": "name",
13701
+ "type": {
13702
+ "text": "string"
13703
+ },
13704
+ "description": "The name of the radio. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname | name attribute for more info.",
13705
+ "fieldName": "name"
13773
13706
  }
13774
13707
  ],
13775
13708
  "superclass": {
@@ -18374,6 +18307,11 @@
18374
18307
  "description": "The id of the active tab",
18375
18308
  "privacy": "public"
18376
18309
  },
18310
+ {
18311
+ "kind": "field",
18312
+ "name": "#isLastTabSelectedAfterRemove",
18313
+ "privacy": "private"
18314
+ },
18377
18315
  {
18378
18316
  "kind": "field",
18379
18317
  "name": "activeindicator",
@@ -18505,18 +18443,13 @@
18505
18443
  "privacy": "private"
18506
18444
  },
18507
18445
  {
18508
- "kind": "method",
18509
- "name": "isHorizontal",
18510
- "privacy": "private",
18511
- "return": {
18512
- "type": {
18513
- "text": "boolean"
18514
- }
18515
- }
18446
+ "kind": "field",
18447
+ "name": "#isHorizontal",
18448
+ "privacy": "private"
18516
18449
  },
18517
18450
  {
18518
18451
  "kind": "field",
18519
- "name": "handleTabKeyDown",
18452
+ "name": "#handleTabKeyDown",
18520
18453
  "privacy": "private"
18521
18454
  },
18522
18455
  {
@@ -18562,7 +18495,7 @@
18562
18495
  },
18563
18496
  {
18564
18497
  "kind": "field",
18565
- "name": "moveToTabByIndex",
18498
+ "name": "#moveToTabByIndex",
18566
18499
  "privacy": "private"
18567
18500
  },
18568
18501
  {
@@ -18623,6 +18556,16 @@
18623
18556
  "kind": "method",
18624
18557
  "name": "#updateScrollStatus"
18625
18558
  },
18559
+ {
18560
+ "kind": "field",
18561
+ "name": "#shouldMoveIndicator",
18562
+ "privacy": "private",
18563
+ "readonly": true
18564
+ },
18565
+ {
18566
+ "kind": "method",
18567
+ "name": "#patchIndicatorStyleTransition"
18568
+ },
18626
18569
  {
18627
18570
  "kind": "field",
18628
18571
  "name": "#resizeObserver",
@@ -18663,13 +18606,25 @@
18663
18606
  },
18664
18607
  {
18665
18608
  "kind": "method",
18666
- "name": "handleActiveIndicatorPosition",
18667
- "privacy": "private"
18609
+ "name": "#handleActiveIndicatorPosition",
18610
+ "parameters": [
18611
+ {
18612
+ "name": "animate",
18613
+ "default": "true"
18614
+ }
18615
+ ]
18668
18616
  },
18669
18617
  {
18670
18618
  "kind": "method",
18671
- "name": "animateActiveIndicator",
18672
- "privacy": "private"
18619
+ "name": "#animateActiveIndicator",
18620
+ "parameters": [
18621
+ {
18622
+ "name": "animate",
18623
+ "type": {
18624
+ "text": "boolean"
18625
+ }
18626
+ }
18627
+ ]
18673
18628
  }
18674
18629
  ],
18675
18630
  "events": [
@@ -19311,8 +19266,8 @@
19311
19266
  }
19312
19267
  ],
19313
19268
  "superclass": {
19314
- "name": "FoundationElement",
19315
- "package": "@microsoft/fast-foundation"
19269
+ "name": "VividElement",
19270
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
19316
19271
  },
19317
19272
  "vividComponent": {
19318
19273
  "name": "text-anchor"
@@ -21382,8 +21337,8 @@
21382
21337
  }
21383
21338
  ],
21384
21339
  "superclass": {
21385
- "name": "FoundationElement",
21386
- "package": "@microsoft/fast-foundation"
21340
+ "name": "VividElement",
21341
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
21387
21342
  },
21388
21343
  "vividComponent": {
21389
21344
  "public": true,
@@ -21596,8 +21551,8 @@
21596
21551
  }
21597
21552
  ],
21598
21553
  "superclass": {
21599
- "name": "FoundationElement",
21600
- "package": "@microsoft/fast-foundation"
21554
+ "name": "VividElement",
21555
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
21601
21556
  },
21602
21557
  "vividComponent": {
21603
21558
  "public": true,
@@ -23596,8 +23551,8 @@
23596
23551
  }
23597
23552
  ],
23598
23553
  "superclass": {
23599
- "name": "FoundationElement",
23600
- "package": "@microsoft/fast-foundation"
23554
+ "name": "VividElement",
23555
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
23601
23556
  }
23602
23557
  }
23603
23558
  ],
@@ -1,6 +1,6 @@
1
1
  import { Orientation } from '@microsoft/fast-web-utilities';
2
2
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
- declare const DividerRole: {
3
+ export declare const DividerRole: {
4
4
  readonly separator: "separator";
5
5
  readonly presentation: "presentation";
6
6
  };
@@ -1,2 +1,2 @@
1
- import type { Divider } from './divider';
1
+ import { type Divider } from './divider';
2
2
  export declare const DividerTemplate: import("@microsoft/fast-element").ViewTemplate<Divider, any>;
@@ -2,4 +2,5 @@ import { VividElement } from '../../shared/foundation/vivid-element/vivid-elemen
2
2
  export declare class Elevation extends VividElement {
3
3
  dp?: 0 | 2 | 4 | 8 | 12 | 16 | 24;
4
4
  noShadow?: boolean;
5
+ notRelative?: boolean;
5
6
  }
@@ -6,6 +6,8 @@ interface _Radio extends CheckableFormAssociated {
6
6
  }
7
7
  declare const FormAssociatedRadio_base: typeof _Radio;
8
8
  export declare class FormAssociatedRadio extends FormAssociatedRadio_base {
9
+ #private;
9
10
  proxy: HTMLInputElement;
11
+ validate: (anchor?: HTMLElement) => void;
10
12
  }
11
13
  export {};
@@ -25,12 +25,9 @@ export declare class Tabs extends VividElement {
25
25
  private getTabPanelIds;
26
26
  private setComponent;
27
27
  private handleTabClick;
28
- private isHorizontal;
29
- private handleTabKeyDown;
30
28
  adjust(adjustment: number): void;
31
29
  private adjustForward;
32
30
  private adjustBackward;
33
- private moveToTabByIndex;
34
31
  private focusTab;
35
32
  tablist?: HTMLElement;
36
33
  connotation?: TabsConnotation;
@@ -39,6 +36,4 @@ export declare class Tabs extends VividElement {
39
36
  tabsLayout?: 'align-start' | 'stretch';
40
37
  connectedCallback(): void;
41
38
  disconnectedCallback(): void;
42
- private handleActiveIndicatorPosition;
43
- private animateActiveIndicator;
44
39
  }
@@ -1,10 +1,10 @@
1
- import { FoundationElement } from '@microsoft/fast-foundation';
2
1
  import { Appearance, Connotation } from '../enums';
3
2
  import { AffixIcon } from '../../shared/patterns/affix';
4
3
  import { Anchor } from '../../shared/foundation/anchor/anchor';
4
+ import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
5
5
  export type TextAnchorConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
6
6
  export type TextAnchorAppearance = Extract<Appearance, Appearance.Ghost | Appearance.GhostLight>;
7
- export declare class TextAnchor extends FoundationElement {
7
+ export declare class TextAnchor extends VividElement {
8
8
  text?: string;
9
9
  connotation?: TextAnchorConnotation;
10
10
  appearance?: TextAnchorAppearance;
@@ -1,7 +1,7 @@
1
- import { FoundationElement } from '@microsoft/fast-foundation';
2
1
  import { AffixIcon } from '../../shared/patterns/affix';
2
+ import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
3
  export declare function isTreeItemElement(el: Element): el is HTMLElement;
4
- export declare class TreeItem extends FoundationElement {
4
+ export declare class TreeItem extends VividElement {
5
5
  text?: string;
6
6
  expanded: boolean;
7
7
  expandedChanged(): void;
@@ -1,7 +1,7 @@
1
- import { FoundationElement } from '@microsoft/fast-foundation';
2
1
  import { TreeItem } from '../tree-item/tree-item.js';
2
+ import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
3
  export declare function getDisplayedNodes(rootNode: HTMLElement, selector: string): HTMLElement[];
4
- export declare class TreeView extends FoundationElement {
4
+ export declare class TreeView extends VividElement {
5
5
  renderCollapsedNodes: boolean;
6
6
  currentSelected: HTMLElement | TreeItem | null;
7
7
  slottedTreeItemsChanged(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/vivid",
3
- "version": "4.14.0",
3
+ "version": "4.14.2",
4
4
  "type": "module",
5
5
  "module": "./index.js",
6
6
  "main": "./index.cjs",
package/shared/affix.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  const definition = require('./definition27.cjs');
4
4
  const slotted = require('./slotted.cjs');
5
- const defineVividComponent = require('./defineVividComponent.cjs');
5
+ const vividElement = require('./vivid-element.cjs');
6
6
 
7
7
  var __defProp = Object.defineProperty;
8
8
  var __decorateClass = (decorators, target, key, kind) => {
@@ -16,10 +16,10 @@ var __decorateClass = (decorators, target, key, kind) => {
16
16
  class AffixIcon {
17
17
  }
18
18
  __decorateClass([
19
- defineVividComponent.attr
19
+ vividElement.attr
20
20
  ], AffixIcon.prototype, "icon");
21
21
  __decorateClass([
22
- defineVividComponent.attr({ mode: "fromView" })
22
+ vividElement.attr({ mode: "fromView" })
23
23
  ], AffixIcon.prototype, "iconSlottedContent");
24
24
  class AffixIconWithTrailing extends AffixIcon {
25
25
  constructor() {
@@ -28,7 +28,7 @@ class AffixIconWithTrailing extends AffixIcon {
28
28
  }
29
29
  }
30
30
  __decorateClass([
31
- defineVividComponent.attr({
31
+ vividElement.attr({
32
32
  mode: "boolean",
33
33
  attribute: "icon-trailing"
34
34
  })
@@ -45,7 +45,7 @@ const affixIconTemplateFactory = (context) => {
45
45
  const iconTag = context.tagFor(definition.Icon);
46
46
  return (icon, slottedState = IconWrapper.Span, ariaHidden = IconAriaHidden.Hidden) => {
47
47
  if (!icon && !slottedState) {
48
- return defineVividComponent.html`<slot
48
+ return vividElement.html`<slot
49
49
  name="icon"
50
50
  aria-hidden="${() => ariaHidden}"
51
51
  ${slotted.slotted("iconSlottedContent")}
@@ -54,10 +54,10 @@ const affixIconTemplateFactory = (context) => {
54
54
  if (!icon && slottedState) {
55
55
  return null;
56
56
  }
57
- const iconTemplate = defineVividComponent.html`<${iconTag} :name="${() => icon}"></${iconTag}>`;
58
- return slottedState ? defineVividComponent.html`<span class="icon" aria-hidden="${() => ariaHidden}"
57
+ const iconTemplate = vividElement.html`<${iconTag} :name="${() => icon}"></${iconTag}>`;
58
+ return slottedState ? vividElement.html`<span class="icon" aria-hidden="${() => ariaHidden}"
59
59
  >${iconTemplate}</span
60
- >` : defineVividComponent.html`<slot name="icon" aria-hidden="${() => ariaHidden}"
60
+ >` : vividElement.html`<slot name="icon" aria-hidden="${() => ariaHidden}"
61
61
  >${iconTemplate}</slot
62
62
  >`;
63
63
  };
package/shared/affix.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { I as Icon } from './definition27.js';
2
2
  import { s as slotted } from './slotted.js';
3
- import { a as attr, h as html } from './defineVividComponent.js';
3
+ import { a as attr, h as html } from './vivid-element.js';
4
4
 
5
5
  var __defProp = Object.defineProperty;
6
6
  var __decorateClass = (decorators, target, key, kind) => {
@@ -61,4 +61,4 @@ const affixIconTemplateFactory = (context) => {
61
61
  };
62
62
  };
63
63
 
64
- export { AffixIcon as A, IconWrapper as I, affixIconTemplateFactory as a, AffixIconWithTrailing as b };
64
+ export { AffixIconWithTrailing as A, IconWrapper as I, affixIconTemplateFactory as a, AffixIcon as b };