@vonage/vivid-vue 5.27.0 → 5.28.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.
package/dist/index.js CHANGED
@@ -231,7 +231,7 @@ var VAccordionItem_default = defineComponent({
231
231
  default: void 0
232
232
  },
233
233
  /**
234
- * Indicates whether the accordion-item has indicator
234
+ * Whether to hide the indicator on the Accordion Item.
235
235
  */
236
236
  noIndicator: {
237
237
  type: Boolean,
@@ -874,7 +874,7 @@ var VAvatar_default = defineComponent({
874
874
  default: void 0
875
875
  },
876
876
  /**
877
- * Indicates whether avatar should be a clickable <button> element.
877
+ * Indicates whether the avatar should be a clickable button element.
878
878
  */
879
879
  clickable: {
880
880
  type: Boolean,
@@ -888,21 +888,21 @@ var VAvatar_default = defineComponent({
888
888
  default: void 0
889
889
  },
890
890
  /**
891
- * Prompts the user to save the linked URL. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
891
+ * Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
892
892
  */
893
893
  download: {
894
894
  type: String,
895
895
  default: void 0
896
896
  },
897
897
  /**
898
- * The URL the hyperlink references. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
898
+ * The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
899
899
  */
900
900
  href: {
901
901
  type: String,
902
902
  default: void 0
903
903
  },
904
904
  /**
905
- * Hints at the language of the referenced resource. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
905
+ * Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
906
906
  */
907
907
  hreflang: {
908
908
  type: String,
@@ -924,21 +924,21 @@ var VAvatar_default = defineComponent({
924
924
  default: void 0
925
925
  },
926
926
  /**
927
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
927
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
928
928
  */
929
929
  ping: {
930
930
  type: String,
931
931
  default: void 0
932
932
  },
933
933
  /**
934
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
934
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
935
935
  */
936
936
  referrerpolicy: {
937
937
  type: String,
938
938
  default: void 0
939
939
  },
940
940
  /**
941
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
941
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
942
942
  */
943
943
  rel: {
944
944
  type: String,
@@ -959,14 +959,14 @@ var VAvatar_default = defineComponent({
959
959
  default: void 0
960
960
  },
961
961
  /**
962
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
962
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
963
963
  */
964
964
  target: {
965
965
  type: String,
966
966
  default: void 0
967
967
  },
968
968
  /**
969
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
969
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
970
970
  */
971
971
  type: {
972
972
  type: String,
@@ -1133,11 +1133,18 @@ var VBadge_default = defineComponent({
1133
1133
  default: void 0
1134
1134
  },
1135
1135
  /**
1136
- * Sets a text on the badge
1136
+ * Sets the text on the badge.
1137
1137
  */
1138
1138
  text: {
1139
1139
  type: String,
1140
1140
  default: void 0
1141
+ },
1142
+ /**
1143
+ * Sets secondary text on the badge, displayed with less emphasis after the text.
1144
+ */
1145
+ textSecondary: {
1146
+ type: String,
1147
+ default: void 0
1141
1148
  }
1142
1149
  },
1143
1150
  emits: [
@@ -1166,7 +1173,8 @@ var VBadge_default = defineComponent({
1166
1173
  ...this.iconTrailing !== void 0 ? { "icon-trailing": this.iconTrailing } : {},
1167
1174
  ...this.shape !== void 0 ? { "shape": this.shape } : {},
1168
1175
  ...this.size !== void 0 ? { "size": this.size } : {},
1169
- ...this.text !== void 0 ? { "text": this.text } : {}
1176
+ ...this.text !== void 0 ? { "text": this.text } : {},
1177
+ ...this.textSecondary !== void 0 ? { "text-secondary": this.textSecondary } : {}
1170
1178
  },
1171
1179
  class: "vvd-component",
1172
1180
  on: {
@@ -1201,7 +1209,8 @@ var VBadge_default = defineComponent({
1201
1209
  ...this.iconTrailing !== void 0 && this.iconTrailing !== false ? { "^icon-trailing": this.iconTrailing } : {},
1202
1210
  ...this.shape !== void 0 ? { "^shape": this.shape } : {},
1203
1211
  ...this.size !== void 0 ? { "^size": this.size } : {},
1204
- ...this.text !== void 0 ? { "^text": this.text } : {}
1212
+ ...this.text !== void 0 ? { "^text": this.text } : {},
1213
+ ...this.textSecondary !== void 0 ? { "^text-secondary": this.textSecondary } : {}
1205
1214
  }),
1206
1215
  "onBlur": (event) => {
1207
1216
  this.$emit("blur", event);
@@ -1423,42 +1432,42 @@ var VBreadcrumbItem_default = defineComponent({
1423
1432
  default: void 0
1424
1433
  },
1425
1434
  /**
1426
- * The URL the hyperlink references. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1435
+ * The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1427
1436
  */
1428
1437
  href: {
1429
1438
  type: String,
1430
1439
  default: void 0
1431
1440
  },
1432
1441
  /**
1433
- * Hints at the language of the referenced resource. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1442
+ * Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1434
1443
  */
1435
1444
  hreflang: {
1436
1445
  type: String,
1437
1446
  default: void 0
1438
1447
  },
1439
1448
  /**
1440
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1449
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1441
1450
  */
1442
1451
  ping: {
1443
1452
  type: String,
1444
1453
  default: void 0
1445
1454
  },
1446
1455
  /**
1447
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1456
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1448
1457
  */
1449
1458
  referrerpolicy: {
1450
1459
  type: String,
1451
1460
  default: void 0
1452
1461
  },
1453
1462
  /**
1454
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1463
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1455
1464
  */
1456
1465
  rel: {
1457
1466
  type: String,
1458
1467
  default: void 0
1459
1468
  },
1460
1469
  /**
1461
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1470
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1462
1471
  */
1463
1472
  target: {
1464
1473
  type: String,
@@ -1469,7 +1478,7 @@ var VBreadcrumbItem_default = defineComponent({
1469
1478
  default: void 0
1470
1479
  },
1471
1480
  /**
1472
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1481
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1473
1482
  */
1474
1483
  type: {
1475
1484
  type: String,
@@ -1600,7 +1609,7 @@ var VButton_default = defineComponent({
1600
1609
  default: void 0
1601
1610
  },
1602
1611
  /**
1603
- * Prompts the user to save the linked URL. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1612
+ * Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1604
1613
  */
1605
1614
  download: {
1606
1615
  type: String,
@@ -1656,14 +1665,14 @@ var VButton_default = defineComponent({
1656
1665
  default: void 0
1657
1666
  },
1658
1667
  /**
1659
- * The URL the hyperlink references. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1668
+ * The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1660
1669
  */
1661
1670
  href: {
1662
1671
  type: String,
1663
1672
  default: void 0
1664
1673
  },
1665
1674
  /**
1666
- * Hints at the language of the referenced resource. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1675
+ * Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1667
1676
  */
1668
1677
  hreflang: {
1669
1678
  type: String,
@@ -1715,7 +1724,7 @@ var VButton_default = defineComponent({
1715
1724
  default: void 0
1716
1725
  },
1717
1726
  /**
1718
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1727
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1719
1728
  */
1720
1729
  ping: {
1721
1730
  type: String,
@@ -1730,14 +1739,14 @@ var VButton_default = defineComponent({
1730
1739
  default: void 0
1731
1740
  },
1732
1741
  /**
1733
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1742
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1734
1743
  */
1735
1744
  referrerpolicy: {
1736
1745
  type: String,
1737
1746
  default: void 0
1738
1747
  },
1739
1748
  /**
1740
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1749
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1741
1750
  */
1742
1751
  rel: {
1743
1752
  type: String,
@@ -1772,7 +1781,7 @@ var VButton_default = defineComponent({
1772
1781
  default: void 0
1773
1782
  },
1774
1783
  /**
1775
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1784
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1776
1785
  */
1777
1786
  target: {
1778
1787
  type: String,
@@ -1786,7 +1795,7 @@ var VButton_default = defineComponent({
1786
1795
  default: void 0
1787
1796
  },
1788
1797
  /**
1789
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
1798
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
1790
1799
  */
1791
1800
  type: {
1792
1801
  type: String,
@@ -2241,7 +2250,7 @@ var VCard_default = defineComponent({
2241
2250
  default: void 0
2242
2251
  },
2243
2252
  /**
2244
- * Prompts the user to save the linked URL. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
2253
+ * Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
2245
2254
  */
2246
2255
  download: {
2247
2256
  type: String,
@@ -2262,14 +2271,14 @@ var VCard_default = defineComponent({
2262
2271
  default: void 0
2263
2272
  },
2264
2273
  /**
2265
- * The URL the hyperlink references. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
2274
+ * The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
2266
2275
  */
2267
2276
  href: {
2268
2277
  type: String,
2269
2278
  default: void 0
2270
2279
  },
2271
2280
  /**
2272
- * Hints at the language of the referenced resource. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
2281
+ * Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
2273
2282
  */
2274
2283
  hreflang: {
2275
2284
  type: String,
@@ -2284,21 +2293,21 @@ var VCard_default = defineComponent({
2284
2293
  default: void 0
2285
2294
  },
2286
2295
  /**
2287
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
2296
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
2288
2297
  */
2289
2298
  ping: {
2290
2299
  type: String,
2291
2300
  default: void 0
2292
2301
  },
2293
2302
  /**
2294
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
2303
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
2295
2304
  */
2296
2305
  referrerpolicy: {
2297
2306
  type: String,
2298
2307
  default: void 0
2299
2308
  },
2300
2309
  /**
2301
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
2310
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
2302
2311
  */
2303
2312
  rel: {
2304
2313
  type: String,
@@ -2312,7 +2321,7 @@ var VCard_default = defineComponent({
2312
2321
  default: void 0
2313
2322
  },
2314
2323
  /**
2315
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
2324
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
2316
2325
  */
2317
2326
  target: {
2318
2327
  type: String,
@@ -2326,7 +2335,7 @@ var VCard_default = defineComponent({
2326
2335
  default: void 0
2327
2336
  },
2328
2337
  /**
2329
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
2338
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
2330
2339
  */
2331
2340
  type: {
2332
2341
  type: String,
@@ -7606,21 +7615,21 @@ var VNavItem_default = defineComponent({
7606
7615
  default: void 0
7607
7616
  },
7608
7617
  /**
7609
- * Prompts the user to save the linked URL. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
7618
+ * Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
7610
7619
  */
7611
7620
  download: {
7612
7621
  type: String,
7613
7622
  default: void 0
7614
7623
  },
7615
7624
  /**
7616
- * The URL the hyperlink references. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
7625
+ * The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
7617
7626
  */
7618
7627
  href: {
7619
7628
  type: String,
7620
7629
  default: void 0
7621
7630
  },
7622
7631
  /**
7623
- * Hints at the language of the referenced resource. See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
7632
+ * Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
7624
7633
  */
7625
7634
  hreflang: {
7626
7635
  type: String,
@@ -7636,28 +7645,28 @@ var VNavItem_default = defineComponent({
7636
7645
  default: void 0
7637
7646
  },
7638
7647
  /**
7639
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
7648
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
7640
7649
  */
7641
7650
  ping: {
7642
7651
  type: String,
7643
7652
  default: void 0
7644
7653
  },
7645
7654
  /**
7646
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
7655
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
7647
7656
  */
7648
7657
  referrerpolicy: {
7649
7658
  type: String,
7650
7659
  default: void 0
7651
7660
  },
7652
7661
  /**
7653
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
7662
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
7654
7663
  */
7655
7664
  rel: {
7656
7665
  type: String,
7657
7666
  default: void 0
7658
7667
  },
7659
7668
  /**
7660
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
7669
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
7661
7670
  */
7662
7671
  target: {
7663
7672
  type: String,
@@ -7671,7 +7680,7 @@ var VNavItem_default = defineComponent({
7671
7680
  default: void 0
7672
7681
  },
7673
7682
  /**
7674
- * See [`<a>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) for more information.
7683
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a for more information.
7675
7684
  */
7676
7685
  type: {
7677
7686
  type: String,
@@ -9990,6 +9999,13 @@ var VRichTextEditor_default = defineComponent({
9990
9999
  instance: {
9991
10000
  type: null,
9992
10001
  default: void 0
10002
+ },
10003
+ /**
10004
+ * The validation state of the editor, displayed by the `fieldset` appearance.
10005
+ */
10006
+ state: {
10007
+ type: String,
10008
+ default: void 0
9993
10009
  }
9994
10010
  },
9995
10011
  emits: [
@@ -10011,7 +10027,10 @@ var VRichTextEditor_default = defineComponent({
10011
10027
  render() {
10012
10028
  if (isVue2) return h(this.componentName, {
10013
10029
  ref: "element",
10014
- attrs: { ...this.appearance !== void 0 ? { "appearance": this.appearance } : {} },
10030
+ attrs: {
10031
+ ...this.appearance !== void 0 ? { "appearance": this.appearance } : {},
10032
+ ...this.state !== void 0 ? { "state": this.state } : {}
10033
+ },
10015
10034
  class: "vvd-component",
10016
10035
  domProps: { ...this.instance !== void 0 ? { "instance": this.instance } : {} },
10017
10036
  on: {
@@ -10057,7 +10076,8 @@ var VRichTextEditor_default = defineComponent({
10057
10076
  class: "vvd-component",
10058
10077
  ...handleVue3Props({
10059
10078
  ...this.appearance !== void 0 ? { "^appearance": this.appearance } : {},
10060
- ...this.instance !== void 0 ? { ".instance": this.instance } : {}
10079
+ ...this.instance !== void 0 ? { ".instance": this.instance } : {},
10080
+ ...this.state !== void 0 ? { "^state": this.state } : {}
10061
10081
  }),
10062
10082
  "onBlur": (event) => {
10063
10083
  this.$emit("blur", event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/vivid-vue",
3
- "version": "5.27.0",
3
+ "version": "5.28.0",
4
4
  "description": "A Vue wrapper library for Vivid components.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,23 +25,23 @@
25
25
  "web-types.json"
26
26
  ],
27
27
  "dependencies": {
28
- "@vonage/vivid": "^5.27.0"
28
+ "@vonage/vivid": "^5.28.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^20.19.43",
32
32
  "eslint": "^10.8.1",
33
33
  "glob": "^13.0.6",
34
- "tsx": "^4.23.12",
34
+ "tsx": "^4.23.13",
35
35
  "typescript": "5.9.3",
36
- "vite": "^8.2.1",
36
+ "vite": "^8.2.2",
37
37
  "vitest": "^4.1.10",
38
38
  "vue": "^2.7.16",
39
39
  "vue3": "npm:vue@^3.5.41",
40
40
  "@repo/eslint-config": "1.0.0",
41
+ "@repo/styles": "1.0.0",
42
+ "@repo/tools": "1.0.0",
41
43
  "@repo/typescript-config": "1.0.0",
42
44
  "@repo/vite-config": "1.0.0",
43
- "@repo/tools": "1.0.0",
44
- "@repo/styles": "1.0.0",
45
45
  "@repo/vitest-config": "1.0.0",
46
46
  "@repo/wrapper-gen": "1.0.0"
47
47
  },