@vonage/vivid-vue 3.12.0 → 3.13.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 (31) hide show
  1. package/dist/generated/components/VActionGroup.vue2.d.ts +3 -3
  2. package/dist/generated/components/VActionGroup.vue3.d.ts +3 -3
  3. package/dist/generated/components/VAvatar.vue2.d.ts +3 -3
  4. package/dist/generated/components/VAvatar.vue3.d.ts +3 -3
  5. package/dist/generated/components/VButton.vue2.d.ts +3 -3
  6. package/dist/generated/components/VButton.vue3.d.ts +3 -3
  7. package/dist/generated/components/VDataGrid.vue2.d.ts +18 -3
  8. package/dist/generated/components/VDataGrid.vue3.d.ts +18 -3
  9. package/dist/generated/components/VDataGridCell.d.ts +10 -0
  10. package/dist/generated/components/VDataGridCell.vue2.d.ts +95 -0
  11. package/dist/generated/components/VDataGridCell.vue3.d.ts +103 -0
  12. package/dist/generated/components/{VPopup.d.ts → VDataGridRow.d.ts} +3 -3
  13. package/dist/generated/components/VDataGridRow.vue2.d.ts +67 -0
  14. package/dist/generated/components/VDataGridRow.vue3.d.ts +75 -0
  15. package/dist/generated/components/VNavDisclosure.vue2.d.ts +1 -1
  16. package/dist/generated/components/VNavDisclosure.vue3.d.ts +2 -1
  17. package/dist/generated/components/VNumberField.vue2.d.ts +3 -3
  18. package/dist/generated/components/VNumberField.vue3.d.ts +3 -3
  19. package/dist/generated/components/VSelect.vue2.d.ts +3 -3
  20. package/dist/generated/components/VSelect.vue3.d.ts +3 -3
  21. package/dist/generated/components/VTab.vue2.d.ts +1 -1
  22. package/dist/generated/components/VTab.vue3.d.ts +1 -1
  23. package/dist/generated/components/VTextField.vue2.d.ts +3 -3
  24. package/dist/generated/components/VTextField.vue3.d.ts +3 -3
  25. package/dist/generated/components/index.d.ts +2 -1
  26. package/dist/index.es.js +517 -395
  27. package/dist/index.umd.js +1 -1
  28. package/dist/web-types.json +190 -114
  29. package/package.json +2 -2
  30. package/dist/generated/components/VPopup.vue2.d.ts +0 -133
  31. package/dist/generated/components/VPopup.vue3.d.ts +0 -140
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@vonage/vivid-vue",
4
- "version": "3.12.0",
4
+ "version": "3.13.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -220,7 +220,7 @@
220
220
  "description": "The appearance the ActionGroup should have.",
221
221
  "value": {
222
222
  "kind": "expression",
223
- "type": "'filled' | 'outlined' | 'ghost'"
223
+ "type": "'fieldset' | 'ghost'"
224
224
  }
225
225
  },
226
226
  {
@@ -444,7 +444,7 @@
444
444
  "description": "The appearance the avatar should have.",
445
445
  "value": {
446
446
  "kind": "expression",
447
- "type": "'filled' | 'outlined'"
447
+ "type": "'filled' | 'outlined' | 'duotone'"
448
448
  }
449
449
  },
450
450
  {
@@ -1743,7 +1743,15 @@
1743
1743
  "name": "selectionMode",
1744
1744
  "value": {
1745
1745
  "kind": "expression",
1746
- "type": "'none' | 'single-row' | 'multi-row'"
1746
+ "type": "'none' | 'single-row' | 'multi-row' | 'single-cell' | 'multi-cell'"
1747
+ }
1748
+ },
1749
+ {
1750
+ "name": "rowsData",
1751
+ "description": "Array of objects representing the rows of the grid.",
1752
+ "value": {
1753
+ "kind": "expression",
1754
+ "type": "any[]"
1747
1755
  }
1748
1756
  }
1749
1757
  ],
@@ -1785,6 +1793,177 @@
1785
1793
  },
1786
1794
  "priority": "highest"
1787
1795
  },
1796
+ {
1797
+ "name": "VDataGridRow",
1798
+ "description": "Base class for data-grid",
1799
+ "attributes": [
1800
+ {
1801
+ "name": "ariaCurrent",
1802
+ "description": "Indicates the element that represents the current item within a container or set of related elements.",
1803
+ "value": {
1804
+ "kind": "expression",
1805
+ "type": "'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'"
1806
+ }
1807
+ },
1808
+ {
1809
+ "name": "gridTemplateColumns",
1810
+ "description": "String that gets applied to the the css gridTemplateColumns attribute for the row",
1811
+ "value": {
1812
+ "kind": "expression",
1813
+ "type": "string"
1814
+ }
1815
+ },
1816
+ {
1817
+ "name": "rowType",
1818
+ "description": "The type of row",
1819
+ "value": {
1820
+ "kind": "expression",
1821
+ "type": "'default' | 'header' | 'sticky-header'"
1822
+ }
1823
+ },
1824
+ {
1825
+ "name": "ariaSelected",
1826
+ "value": {
1827
+ "kind": "expression",
1828
+ "type": "string"
1829
+ }
1830
+ }
1831
+ ],
1832
+ "events": [
1833
+ {
1834
+ "name": "click",
1835
+ "description": "Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element."
1836
+ },
1837
+ {
1838
+ "name": "focus",
1839
+ "description": "Fires when the element receives focus."
1840
+ },
1841
+ {
1842
+ "name": "blur",
1843
+ "description": "Fires when the element loses focus."
1844
+ },
1845
+ {
1846
+ "name": "keydown",
1847
+ "description": "Fires when a key is pressed."
1848
+ },
1849
+ {
1850
+ "name": "keyup",
1851
+ "description": "Fires when a key is released."
1852
+ },
1853
+ {
1854
+ "name": "input",
1855
+ "description": "Fires when the value of an element has been changed."
1856
+ },
1857
+ {
1858
+ "name": "row-focused",
1859
+ "description": "Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row"
1860
+ }
1861
+ ],
1862
+ "slots": [
1863
+ {
1864
+ "name": "default",
1865
+ "description": "Default slot."
1866
+ }
1867
+ ],
1868
+ "source": {
1869
+ "module": "@vonage/vivid-vue",
1870
+ "symbol": "VDataGridRow"
1871
+ },
1872
+ "priority": "highest"
1873
+ },
1874
+ {
1875
+ "name": "VDataGridCell",
1876
+ "description": "Base class for data-grid",
1877
+ "attributes": [
1878
+ {
1879
+ "name": "columnDefinition",
1880
+ "description": "Extends the data grid cell definition to hold more options.",
1881
+ "value": {
1882
+ "kind": "expression",
1883
+ "type": "any"
1884
+ }
1885
+ },
1886
+ {
1887
+ "name": "ariaCurrent",
1888
+ "description": "Indicates the element that represents the current item within a container or set of related elements.",
1889
+ "value": {
1890
+ "kind": "expression",
1891
+ "type": "'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'"
1892
+ }
1893
+ },
1894
+ {
1895
+ "name": "cellType",
1896
+ "description": "The type of cell",
1897
+ "value": {
1898
+ "kind": "expression",
1899
+ "type": "'default' | 'columnheader' | 'rowheader'"
1900
+ }
1901
+ },
1902
+ {
1903
+ "name": "gridColumn",
1904
+ "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
1905
+ "value": {
1906
+ "kind": "expression",
1907
+ "type": "string"
1908
+ }
1909
+ },
1910
+ {
1911
+ "name": "ariaSelected",
1912
+ "value": {
1913
+ "kind": "expression",
1914
+ "type": "string"
1915
+ }
1916
+ },
1917
+ {
1918
+ "name": "ariaSort",
1919
+ "value": {
1920
+ "kind": "expression",
1921
+ "type": "string"
1922
+ }
1923
+ }
1924
+ ],
1925
+ "events": [
1926
+ {
1927
+ "name": "click",
1928
+ "description": "Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element."
1929
+ },
1930
+ {
1931
+ "name": "focus",
1932
+ "description": "Fires when the element receives focus."
1933
+ },
1934
+ {
1935
+ "name": "blur",
1936
+ "description": "Fires when the element loses focus."
1937
+ },
1938
+ {
1939
+ "name": "keydown",
1940
+ "description": "Fires when a key is pressed."
1941
+ },
1942
+ {
1943
+ "name": "keyup",
1944
+ "description": "Fires when a key is released."
1945
+ },
1946
+ {
1947
+ "name": "input",
1948
+ "description": "Fires when the value of an element has been changed."
1949
+ },
1950
+ {
1951
+ "name": "cell-focused",
1952
+ "description": "Fires a custom 'cell-focused' event when focus is on the cell or its contents"
1953
+ }
1954
+ ],
1955
+ "slots": [
1956
+ {
1957
+ "name": "default",
1958
+ "description": "Default slot."
1959
+ }
1960
+ ],
1961
+ "source": {
1962
+ "module": "@vonage/vivid-vue",
1963
+ "symbol": "VDataGridCell"
1964
+ },
1965
+ "priority": "highest"
1966
+ },
1788
1967
  {
1789
1968
  "name": "VDialog",
1790
1969
  "description": "Base class for dialog",
@@ -2780,6 +2959,10 @@
2780
2959
  {
2781
2960
  "name": "input",
2782
2961
  "description": "Fires when the value of an element has been changed."
2962
+ },
2963
+ {
2964
+ "name": "toggle",
2965
+ "description": "Event emitted when the nav disclosure is toggled."
2783
2966
  }
2784
2967
  ],
2785
2968
  "slots": [
@@ -3179,7 +3362,7 @@
3179
3362
  "name": "appearance",
3180
3363
  "value": {
3181
3364
  "kind": "expression",
3182
- "type": "'outlined' | 'ghost'"
3365
+ "type": "'fieldset' | 'ghost'"
3183
3366
  }
3184
3367
  },
3185
3368
  {
@@ -3409,113 +3592,6 @@
3409
3592
  },
3410
3593
  "priority": "highest"
3411
3594
  },
3412
- {
3413
- "name": "VPopup",
3414
- "description": "Base class for popup",
3415
- "attributes": [
3416
- {
3417
- "name": "ariaCurrent",
3418
- "description": "Indicates the element that represents the current item within a container or set of related elements.",
3419
- "value": {
3420
- "kind": "expression",
3421
- "type": "'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'"
3422
- }
3423
- },
3424
- {
3425
- "name": "open",
3426
- "description": "indicates whether the popup is open",
3427
- "value": {
3428
- "kind": "expression",
3429
- "type": "boolean"
3430
- }
3431
- },
3432
- {
3433
- "name": "dismissible",
3434
- "description": "adds close button to the popup",
3435
- "value": {
3436
- "kind": "expression",
3437
- "type": "boolean"
3438
- }
3439
- },
3440
- {
3441
- "name": "arrow",
3442
- "description": "adds small triangle to indicate the trigger element",
3443
- "value": {
3444
- "kind": "expression",
3445
- "type": "boolean"
3446
- }
3447
- },
3448
- {
3449
- "name": "alternate",
3450
- "description": "set the color-scheme to dark",
3451
- "value": {
3452
- "kind": "expression",
3453
- "type": "boolean"
3454
- }
3455
- },
3456
- {
3457
- "name": "placement",
3458
- "description": "the placement of the popup",
3459
- "value": {
3460
- "kind": "expression",
3461
- "type": "'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end'"
3462
- }
3463
- },
3464
- {
3465
- "name": "strategy",
3466
- "description": "the strategy of the popup",
3467
- "value": {
3468
- "kind": "expression",
3469
- "type": "'absolute' | 'fixed'"
3470
- }
3471
- },
3472
- {
3473
- "name": "anchor",
3474
- "description": "ID reference to element in the popup’s owner document or HTMLElement.",
3475
- "value": {
3476
- "kind": "expression",
3477
- "type": "string | HTMLElement"
3478
- }
3479
- }
3480
- ],
3481
- "events": [
3482
- {
3483
- "name": "click",
3484
- "description": "Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element."
3485
- },
3486
- {
3487
- "name": "focus",
3488
- "description": "Fires when the element receives focus."
3489
- },
3490
- {
3491
- "name": "blur",
3492
- "description": "Fires when the element loses focus."
3493
- },
3494
- {
3495
- "name": "keydown",
3496
- "description": "Fires when a key is pressed."
3497
- },
3498
- {
3499
- "name": "keyup",
3500
- "description": "Fires when a key is released."
3501
- },
3502
- {
3503
- "name": "input",
3504
- "description": "Fires when the value of an element has been changed."
3505
- }
3506
- ],
3507
- "slots": [
3508
- {
3509
- "name": "default",
3510
- "description": "Default slot."
3511
- }
3512
- ],
3513
- "source": {
3514
- "module": "@vonage/vivid-vue",
3515
- "symbol": "VPopup"
3516
- },
3517
- "priority": "highest"
3518
- },
3519
3595
  {
3520
3596
  "name": "VProgress",
3521
3597
  "description": "Base class for progress",
@@ -4048,7 +4124,7 @@
4048
4124
  "name": "appearance",
4049
4125
  "value": {
4050
4126
  "kind": "expression",
4051
- "type": "'outlined' | 'ghost'"
4127
+ "type": "'fieldset' | 'ghost'"
4052
4128
  }
4053
4129
  },
4054
4130
  {
@@ -4849,7 +4925,7 @@
4849
4925
  "name": "appearance",
4850
4926
  "value": {
4851
4927
  "kind": "expression",
4852
- "type": "'outlined' | 'ghost'"
4928
+ "type": "'fieldset' | 'ghost'"
4853
4929
  }
4854
4930
  },
4855
4931
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/vivid-vue",
3
- "version": "3.12.0",
3
+ "version": "3.13.0",
4
4
  "description": "A Vue wrapper library for Vivid components.",
5
5
  "author": "Vonage",
6
6
  "license": "ISC",
@@ -28,7 +28,7 @@
28
28
  "vue": "^2.7.0 || >=3.0.0"
29
29
  },
30
30
  "dependencies": {
31
- "@vonage/vivid": "^3.23.0"
31
+ "@vonage/vivid": "^3.26.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^18.15.11",
@@ -1,133 +0,0 @@
1
- import { PropType } from 'vue';
2
- import type { Popup } from '@vonage/vivid/lib/popup/popup';
3
- /**
4
- * Base class for popup
5
- */
6
- declare const _default: import("vue/types/v3-define-component").DefineComponent<{
7
- /**
8
- * Indicates the element that represents the current item within a container or set of related elements.
9
- */
10
- ariaCurrent: {
11
- type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
12
- default: undefined;
13
- };
14
- /**
15
- * indicates whether the popup is open
16
- */
17
- open: {
18
- type: PropType<boolean>;
19
- default: undefined;
20
- };
21
- /**
22
- * adds close button to the popup
23
- */
24
- dismissible: {
25
- type: PropType<boolean>;
26
- default: undefined;
27
- };
28
- /**
29
- * adds small triangle to indicate the trigger element
30
- */
31
- arrow: {
32
- type: PropType<boolean>;
33
- default: undefined;
34
- };
35
- /**
36
- * set the color-scheme to dark
37
- */
38
- alternate: {
39
- type: PropType<boolean>;
40
- default: undefined;
41
- };
42
- /**
43
- * the placement of the popup
44
- */
45
- placement: {
46
- type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end">;
47
- default: undefined;
48
- };
49
- /**
50
- * the strategy of the popup
51
- */
52
- strategy: {
53
- type: PropType<"fixed" | "absolute">;
54
- default: undefined;
55
- };
56
- /**
57
- * ID reference to element in the popup’s owner document or HTMLElement.
58
- */
59
- anchor: {
60
- type: PropType<string | HTMLElement>;
61
- default: undefined;
62
- };
63
- }, {
64
- componentName: import("vue").Ref<string>;
65
- element: import("vue").Ref<Popup | null>;
66
- }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input")[], string, Readonly<import("vue").ExtractPropTypes<{
67
- /**
68
- * Indicates the element that represents the current item within a container or set of related elements.
69
- */
70
- ariaCurrent: {
71
- type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
72
- default: undefined;
73
- };
74
- /**
75
- * indicates whether the popup is open
76
- */
77
- open: {
78
- type: PropType<boolean>;
79
- default: undefined;
80
- };
81
- /**
82
- * adds close button to the popup
83
- */
84
- dismissible: {
85
- type: PropType<boolean>;
86
- default: undefined;
87
- };
88
- /**
89
- * adds small triangle to indicate the trigger element
90
- */
91
- arrow: {
92
- type: PropType<boolean>;
93
- default: undefined;
94
- };
95
- /**
96
- * set the color-scheme to dark
97
- */
98
- alternate: {
99
- type: PropType<boolean>;
100
- default: undefined;
101
- };
102
- /**
103
- * the placement of the popup
104
- */
105
- placement: {
106
- type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end">;
107
- default: undefined;
108
- };
109
- /**
110
- * the strategy of the popup
111
- */
112
- strategy: {
113
- type: PropType<"fixed" | "absolute">;
114
- default: undefined;
115
- };
116
- /**
117
- * ID reference to element in the popup’s owner document or HTMLElement.
118
- */
119
- anchor: {
120
- type: PropType<string | HTMLElement>;
121
- default: undefined;
122
- };
123
- }>>, {
124
- ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
125
- anchor: string | HTMLElement;
126
- placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end";
127
- open: boolean;
128
- alternate: boolean;
129
- dismissible: boolean;
130
- arrow: boolean;
131
- strategy: "fixed" | "absolute";
132
- }>;
133
- export default _default;
@@ -1,140 +0,0 @@
1
- import { PropType } from 'vue';
2
- import type { Popup } from '@vonage/vivid/lib/popup/popup';
3
- /**
4
- * Base class for popup
5
- */
6
- declare const _default: import("vue").DefineComponent<{
7
- /**
8
- * Indicates the element that represents the current item within a container or set of related elements.
9
- */
10
- ariaCurrent: {
11
- type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
12
- default: undefined;
13
- };
14
- /**
15
- * indicates whether the popup is open
16
- */
17
- open: {
18
- type: PropType<boolean>;
19
- default: undefined;
20
- };
21
- /**
22
- * adds close button to the popup
23
- */
24
- dismissible: {
25
- type: PropType<boolean>;
26
- default: undefined;
27
- };
28
- /**
29
- * adds small triangle to indicate the trigger element
30
- */
31
- arrow: {
32
- type: PropType<boolean>;
33
- default: undefined;
34
- };
35
- /**
36
- * set the color-scheme to dark
37
- */
38
- alternate: {
39
- type: PropType<boolean>;
40
- default: undefined;
41
- };
42
- /**
43
- * the placement of the popup
44
- */
45
- placement: {
46
- type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end">;
47
- default: undefined;
48
- };
49
- /**
50
- * the strategy of the popup
51
- */
52
- strategy: {
53
- type: PropType<"fixed" | "absolute">;
54
- default: undefined;
55
- };
56
- /**
57
- * ID reference to element in the popup’s owner document or HTMLElement.
58
- */
59
- anchor: {
60
- type: PropType<string | HTMLElement>;
61
- default: undefined;
62
- };
63
- }, {
64
- componentName: import("vue").Ref<string>;
65
- element: import("vue").Ref<Popup | null>;
66
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
67
- /**
68
- * Indicates the element that represents the current item within a container or set of related elements.
69
- */
70
- ariaCurrent: {
71
- type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
72
- default: undefined;
73
- };
74
- /**
75
- * indicates whether the popup is open
76
- */
77
- open: {
78
- type: PropType<boolean>;
79
- default: undefined;
80
- };
81
- /**
82
- * adds close button to the popup
83
- */
84
- dismissible: {
85
- type: PropType<boolean>;
86
- default: undefined;
87
- };
88
- /**
89
- * adds small triangle to indicate the trigger element
90
- */
91
- arrow: {
92
- type: PropType<boolean>;
93
- default: undefined;
94
- };
95
- /**
96
- * set the color-scheme to dark
97
- */
98
- alternate: {
99
- type: PropType<boolean>;
100
- default: undefined;
101
- };
102
- /**
103
- * the placement of the popup
104
- */
105
- placement: {
106
- type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end">;
107
- default: undefined;
108
- };
109
- /**
110
- * the strategy of the popup
111
- */
112
- strategy: {
113
- type: PropType<"fixed" | "absolute">;
114
- default: undefined;
115
- };
116
- /**
117
- * ID reference to element in the popup’s owner document or HTMLElement.
118
- */
119
- anchor: {
120
- type: PropType<string | HTMLElement>;
121
- default: undefined;
122
- };
123
- }>> & {
124
- onKeydown?: ((...args: any[]) => any) | undefined;
125
- onClick?: ((...args: any[]) => any) | undefined;
126
- onFocus?: ((...args: any[]) => any) | undefined;
127
- onBlur?: ((...args: any[]) => any) | undefined;
128
- onKeyup?: ((...args: any[]) => any) | undefined;
129
- onInput?: ((...args: any[]) => any) | undefined;
130
- }, {
131
- ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
132
- anchor: string | HTMLElement;
133
- placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end";
134
- open: boolean;
135
- alternate: boolean;
136
- dismissible: boolean;
137
- arrow: boolean;
138
- strategy: "fixed" | "absolute";
139
- }>;
140
- export default _default;