@cypress-design/vue-icon 3.3.1 → 3.4.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,4 +1,4 @@
1
- import { DefineComponent, ref } from 'vue'
1
+ import { ref } from 'vue'
2
2
  import { mount } from 'cypress/vue'
3
3
 
4
4
  export function iconTests(Icon: any) {
@@ -8,7 +8,7 @@ export function iconTests(Icon: any) {
8
8
  animated={false}
9
9
  width={400}
10
10
  height={400}
11
- class="icon-dark-secondary-indigo-500 icon-light-indigo-300 icon-dark-indigo-400"
11
+ class="icon-light-indigo-300 icon-dark-indigo-400 icon-dark-secondary-indigo-500"
12
12
  />
13
13
  ))
14
14
  })
@@ -24,7 +24,7 @@ export function iconTests(Icon: any) {
24
24
  animated={isAnimated.value}
25
25
  width={400}
26
26
  height={400}
27
- class="icon-dark-secondary-indigo-500 icon-light-indigo-300 icon-dark-indigo-400 m-[50px]"
27
+ class="icon-light-indigo-300 icon-dark-indigo-400 icon-dark-secondary-indigo-500 m-[50px]"
28
28
  onClick={() => {
29
29
  isAnimated.value = !isAnimated.value
30
30
  }}
@@ -61,23 +61,23 @@ export function iconTests(Icon: any) {
61
61
 
62
62
  it('renders both side by side', { viewportWidth: 900 }, () => {
63
63
  mount(() => (
64
- <div class="bg-black flex gap-4 text-center text-2xl">
64
+ <div class="flex gap-4 bg-black text-center text-2xl">
65
65
  <div>
66
- <h2 class="text-indigo-200 font-bold">not animated</h2>
66
+ <h2 class="font-bold text-indigo-200">not animated</h2>
67
67
  <Icon
68
68
  animated={false}
69
69
  width={400}
70
70
  height={400}
71
- class="icon-dark-secondary-indigo-500 icon-light-indigo-300 icon-dark-indigo-400"
71
+ class="icon-light-indigo-300 icon-dark-indigo-400 icon-dark-secondary-indigo-500"
72
72
  />
73
73
  </div>
74
74
  <div>
75
- <h2 class="text-indigo-200 font-bold">animated</h2>
75
+ <h2 class="font-bold text-indigo-200">animated</h2>
76
76
  <Icon
77
77
  animated={true}
78
78
  width={400}
79
79
  height={400}
80
- class="icon-dark-secondary-indigo-500 icon-light-indigo-300 icon-dark-indigo-400"
80
+ class="icon-light-indigo-300 icon-dark-indigo-400 icon-dark-secondary-indigo-500"
81
81
  />
82
82
  </div>
83
83
  </div>
@@ -10,11 +10,6 @@ import {
10
10
  } from 'vue'
11
11
  import type { SVGAttributes } from 'vue'
12
12
 
13
- export type VueComponentClassObject =
14
- | Record<string, boolean>
15
- | string
16
- | Array<Record<string, boolean> | string>
17
-
18
13
  /**
19
14
  * Icon names of the SVGs whose defs already appear in the DOM
20
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../Icon.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAQ7E,UAAU,KAAM,SAAQ,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC;IAE1E,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ;;;;AAED,wBA0DE"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../Icon.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAQ7E,UAAU,KAAM,SAAQ,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC;IAE1E,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ;;;;AAID,wBA2DE"}