@vonage/vivid-vue 3.43.0 → 3.45.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/vivid-vue",
3
- "version": "3.43.0",
3
+ "version": "3.45.0",
4
4
  "description": "A Vue wrapper library for Vivid components.",
5
5
  "author": "Vonage",
6
6
  "license": "ISC",
@@ -19,6 +19,6 @@
19
19
  "vue": "^2.7.0 || >=3.0.0"
20
20
  },
21
21
  "dependencies": {
22
- "@vonage/vivid": "^3.43.0"
22
+ "@vonage/vivid": "^3.45.0"
23
23
  }
24
24
  }
package/utils/slots.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VNode } from 'vue';
2
2
  interface V3Node extends VNode {
3
- props: Record<string, any>;
3
+ props: Record<string, unknown>;
4
4
  }
5
5
  type ChildrenFunction = () => V3Node[];
6
6
  export declare function handleNamedSlot(slot: string, children?: VNode[] | ChildrenFunction): VNode[] | null;
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@vonage/vivid-vue",
4
- "version": "3.43.0",
4
+ "version": "3.45.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -359,6 +359,14 @@
359
359
  "type": "'accent' | 'information' | 'success' | 'warning' | 'alert'"
360
360
  }
361
361
  },
362
+ {
363
+ "name": "strategy",
364
+ "description": "alert state",
365
+ "value": {
366
+ "kind": "expression",
367
+ "type": "'fixed' | 'static'"
368
+ }
369
+ },
362
370
  {
363
371
  "name": "open",
364
372
  "description": "indicates whether the alert is open",
@@ -1847,6 +1855,10 @@
1847
1855
  {
1848
1856
  "name": "input",
1849
1857
  "description": "Fires when the value of an element has been changed."
1858
+ },
1859
+ {
1860
+ "name": "cell-click",
1861
+ "description": "Event that fires when a cell is clicked"
1850
1862
  }
1851
1863
  ],
1852
1864
  "slots": [
@@ -1926,6 +1938,10 @@
1926
1938
  {
1927
1939
  "name": "row-focused",
1928
1940
  "description": "Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row"
1941
+ },
1942
+ {
1943
+ "name": "cell-click",
1944
+ "description": "Event that fires when a cell is clicked"
1929
1945
  }
1930
1946
  ],
1931
1947
  "slots": [
@@ -2025,6 +2041,10 @@
2025
2041
  {
2026
2042
  "name": "sort",
2027
2043
  "description": "Event that fires when a sortable column header is clicked"
2044
+ },
2045
+ {
2046
+ "name": "cell-click",
2047
+ "description": "Event that fires when a cell is clicked"
2028
2048
  }
2029
2049
  ],
2030
2050
  "slots": [
@@ -2384,6 +2404,13 @@
2384
2404
  "kind": "expression",
2385
2405
  "type": "string"
2386
2406
  }
2407
+ },
2408
+ {
2409
+ "name": "noLightDismiss",
2410
+ "value": {
2411
+ "kind": "expression",
2412
+ "type": "boolean"
2413
+ }
2387
2414
  }
2388
2415
  ],
2389
2416
  "events": [
@@ -3020,6 +3047,14 @@
3020
3047
  "name": "VMenu",
3021
3048
  "description": "Base class for menu",
3022
3049
  "attributes": [
3050
+ {
3051
+ "name": "anchor",
3052
+ "description": "ID or direct reference to the component's anchor element.",
3053
+ "value": {
3054
+ "kind": "expression",
3055
+ "type": "HTMLElement | string"
3056
+ }
3057
+ },
3023
3058
  {
3024
3059
  "name": "ariaCurrent",
3025
3060
  "description": "Indicates the element that represents the current item within a container or set of related elements.",
@@ -3029,19 +3064,18 @@
3029
3064
  }
3030
3065
  },
3031
3066
  {
3032
- "name": "placement",
3033
- "description": "placement of the menu",
3067
+ "name": "ariaLabel",
3034
3068
  "value": {
3035
3069
  "kind": "expression",
3036
- "type": "'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end'"
3070
+ "type": "string"
3037
3071
  }
3038
3072
  },
3039
3073
  {
3040
- "name": "anchor",
3041
- "description": "id or direct reference to the menu's anchor element",
3074
+ "name": "placement",
3075
+ "description": "placement of the menu",
3042
3076
  "value": {
3043
3077
  "kind": "expression",
3044
- "type": "HTMLElement | string"
3078
+ "type": "'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end'"
3045
3079
  }
3046
3080
  },
3047
3081
  {
@@ -3156,7 +3190,7 @@
3156
3190
  "description": "The role of the element.",
3157
3191
  "value": {
3158
3192
  "kind": "expression",
3159
- "type": "'menuitem' | 'menuitemcheckbox' | 'menuitemradio'"
3193
+ "type": "'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'presentation'"
3160
3194
  }
3161
3195
  },
3162
3196
  {
@@ -5298,6 +5332,14 @@
5298
5332
  "kind": "expression",
5299
5333
  "type": "'accent' | 'cta'"
5300
5334
  }
5335
+ },
5336
+ {
5337
+ "name": "gutters",
5338
+ "description": "sets the initial preferred margin from predefined available options",
5339
+ "value": {
5340
+ "kind": "expression",
5341
+ "type": "'small' | 'medium' | 'large'"
5342
+ }
5301
5343
  }
5302
5344
  ],
5303
5345
  "events": [
@@ -5691,6 +5733,14 @@
5691
5733
  "name": "VToggletip",
5692
5734
  "description": "Base class for toggletip",
5693
5735
  "attributes": [
5736
+ {
5737
+ "name": "anchor",
5738
+ "description": "ID or direct reference to the component's anchor element.",
5739
+ "value": {
5740
+ "kind": "expression",
5741
+ "type": "string | HTMLElement"
5742
+ }
5743
+ },
5694
5744
  {
5695
5745
  "name": "ariaCurrent",
5696
5746
  "description": "Indicates the element that represents the current item within a container or set of related elements.",
@@ -5723,14 +5773,6 @@
5723
5773
  "type": "'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end'"
5724
5774
  }
5725
5775
  },
5726
- {
5727
- "name": "anchor",
5728
- "description": "id or direct reference to the toggletip's anchor element",
5729
- "value": {
5730
- "kind": "expression",
5731
- "type": "string | HTMLElement"
5732
- }
5733
- },
5734
5776
  {
5735
5777
  "name": "open",
5736
5778
  "description": "indicates whether the toggletip is open",
@@ -5786,6 +5828,14 @@
5786
5828
  "name": "VTooltip",
5787
5829
  "description": "Base class for tooltip",
5788
5830
  "attributes": [
5831
+ {
5832
+ "name": "anchor",
5833
+ "description": "ID or direct reference to the component's anchor element.",
5834
+ "value": {
5835
+ "kind": "expression",
5836
+ "type": "string | HTMLElement"
5837
+ }
5838
+ },
5789
5839
  {
5790
5840
  "name": "ariaCurrent",
5791
5841
  "description": "Indicates the element that represents the current item within a container or set of related elements.",
@@ -5815,13 +5865,6 @@
5815
5865
  "kind": "expression",
5816
5866
  "type": "boolean"
5817
5867
  }
5818
- },
5819
- {
5820
- "name": "anchor",
5821
- "value": {
5822
- "kind": "expression",
5823
- "type": "string | HTMLElement"
5824
- }
5825
5868
  }
5826
5869
  ],
5827
5870
  "events": [