@volverjs/ui-vue 0.0.1-beta.2 → 0.0.1-beta.4

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.
@@ -0,0 +1,11 @@
1
+ import type { PlayAttributes } from '@/test/types';
2
+ interface ButtonConfig {
3
+ isClickDisabled?: boolean;
4
+ className?: string | string[] | null;
5
+ }
6
+ export declare function testButton({ canvasElement }?: PlayAttributes, { isClickDisabled, className }?: ButtonConfig): Promise<void>;
7
+ export declare function testButtonWithBadge({ canvasElement }: PlayAttributes): Promise<void>;
8
+ export declare function testButtonWithIconLeft({ canvasElement }: PlayAttributes): Promise<void>;
9
+ export declare function testButtonWithIconOnly({ canvasElement }: PlayAttributes): Promise<void>;
10
+ export declare function testButtonLink({ canvasElement }: PlayAttributes, { isClickDisabled, className }?: ButtonConfig): Promise<void>;
11
+ export {};
@@ -0,0 +1,13 @@
1
+ /// <reference types="jest" />
2
+ import { expect } from '@storybook/jest';
3
+ declare global {
4
+ namespace jest {
5
+ interface Matchers<R> {
6
+ toBeClicked: (expected?: HTMLElement) => CustomMatcherResult;
7
+ }
8
+ interface Matchers<R> {
9
+ toHaveClass: (className: string | string[], expected?: HTMLElement) => CustomMatcherResult;
10
+ }
11
+ }
12
+ }
13
+ export { expect };
package/dist/ui-vue.es.js CHANGED
@@ -1088,7 +1088,7 @@ const k0 = ["textContent"], u0 = { class: "vv-input-checkbox-group__wrapper" },
1088
1088
  ], 2);
1089
1089
  };
1090
1090
  }
1091
- }), x0 = "simple", Z0 = 1668011046, A0 = {
1091
+ }), x0 = "simple", Z0 = 1668013456, A0 = {
1092
1092
  add: {
1093
1093
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" d="M.5 8h15M8 .5v15"/>'
1094
1094
  },
@@ -1755,7 +1755,7 @@ const k0 = ["textContent"], u0 = { class: "vv-input-checkbox-group__wrapper" },
1755
1755
  prefix: x0,
1756
1756
  lastModified: Z0,
1757
1757
  icons: A0
1758
- }, H0 = "normal", V0 = 1668011046, j0 = {
1758
+ }, H0 = "normal", V0 = 1668013456, j0 = {
1759
1759
  add: {
1760
1760
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 12h16m-8-8v16"/>'
1761
1761
  },
@@ -2361,7 +2361,7 @@ const k0 = ["textContent"], u0 = { class: "vv-input-checkbox-group__wrapper" },
2361
2361
  icons: j0,
2362
2362
  width: L0,
2363
2363
  height: _0
2364
- }, S0 = "detailed", $0 = 1668011046, B0 = {
2364
+ }, S0 = "detailed", $0 = 1668013456, B0 = {
2365
2365
  add: {
2366
2366
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 15.999h24m-12-12v24"/>'
2367
2367
  },