@vonage/vivid-test-utils 5.20.1 → 5.22.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.
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./dom.cjs`);let e=require(`@vonage/vivid`);function t(){HTMLDialogElement.prototype.showModal=function(){this.open=!0,this.setAttribute(`open`,``)},HTMLDialogElement.prototype.close=function(){this.open=!1,this.removeAttribute(`open`)},HTMLElement.prototype.hidePopover=function(){},HTMLElement.prototype.showPopover=function(){},HTMLElement.prototype.scrollIntoView=function(){},Object.defineProperty(Object.getPrototypeOf(e.VwcButtonElement).prototype,`handleUnsupportedDelegatesFocus`,{set(){},get(){return()=>void 0}}),window.ResizeObserver=class{constructor(){}observe(){}disconnect(){}}}t(),window.HTMLElement.prototype.scrollIntoView=function(){},window.HTMLElement.prototype.scrollTo=function(){},exports.setDialogPolyfill=t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./dom.cjs`);let e=require(`@vonage/vivid`);function t(){HTMLDialogElement.prototype.showModal=function(){this.open=!0,this.setAttribute(`open`,``)},HTMLDialogElement.prototype.close=function(){this.open=!1,this.removeAttribute(`open`)},HTMLElement.prototype.hidePopover=function(){},HTMLElement.prototype.showPopover=function(){},HTMLElement.prototype.scrollIntoView=function(){},Object.defineProperty(Object.getPrototypeOf(e.VwcButtonElement).prototype,`handleUnsupportedDelegatesFocus`,{set(){},get(){return()=>void 0}}),window.ResizeObserver=class{observe(){}disconnect(){}}}t(),window.HTMLElement.prototype.scrollIntoView=function(){},window.HTMLElement.prototype.scrollTo=function(){},exports.setDialogPolyfill=t;
@@ -11,7 +11,6 @@ function t() {
11
11
  return () => void 0;
12
12
  }
13
13
  }), window.ResizeObserver = class {
14
- constructor() {}
15
14
  observe() {}
16
15
  disconnect() {}
17
16
  };
@@ -1,4 +1,4 @@
1
1
  import { PlaywrightDriverT } from './drivers/driver';
2
- import { expect as pwExpect, Page } from '@playwright/test';
2
+ import { Page, expect as pwExpect } from '@playwright/test';
3
3
  import { VividWrapper } from './components.generated';
4
4
  export declare const vividPlaywright: (page: Page, expect: typeof pwExpect) => VividWrapper<PlaywrightDriverT>;
package/dist/queries.d.ts CHANGED
@@ -17,5 +17,5 @@ export declare function rangeAsNumber(el: any): any[];
17
17
  export declare function name(el: any): any;
18
18
  export declare function code(el: any): any;
19
19
  export declare function total(el: any): any;
20
- export declare function paginationSelectedPage(el: any): any;
20
+ export declare function paginationSelectedPage(el: any): number | null;
21
21
  export declare function affixIcon(el: any): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/vivid-test-utils",
3
- "version": "5.20.1",
3
+ "version": "5.22.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./dom": {
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@testing-library/user-event": "^14.6.1",
32
32
  "change-case": "^5.4.4",
33
- "@vonage/vivid": "^5.20.1"
33
+ "@vonage/vivid": "^5.22.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@playwright/test": "1.57.0",
@@ -39,19 +39,21 @@
39
39
  "@vue/test-utils": "^2.4.10",
40
40
  "concurrently": "^9.2.1",
41
41
  "cypress": "15.13.1",
42
+ "eslint": "^10.3.0",
42
43
  "tsx": "^4.21.0",
43
44
  "vite": "^8.0.12",
44
45
  "vitest": "^4.1.5",
45
46
  "vue": "^3.5.34",
46
47
  "wait-on": "^8.0.5",
47
- "@repo/metadata-extractor": "1.0.0",
48
+ "@repo/eslint-config": "1.0.0",
48
49
  "@repo/shared": "1.0.0",
49
- "@repo/typescript-config": "1.0.0",
50
+ "@repo/metadata-extractor": "1.0.0",
50
51
  "@repo/tools": "1.0.0",
51
- "@repo/eslint-config": "1.0.0",
52
- "@repo/wrapper-gen": "1.0.0",
52
+ "@repo/typescript-config": "1.0.0",
53
+ "@repo/vite-config": "1.0.0",
53
54
  "@repo/vitest-config": "1.0.0",
54
- "@vonage/vivid-vue": "5.20.1"
55
+ "@repo/wrapper-gen": "1.0.0",
56
+ "@vonage/vivid-vue": "5.22.0"
55
57
  },
56
58
  "scripts": {
57
59
  "prebuild": "tsx scripts/codegen.ts",