@cypress-design/vue-icon 0.24.1 → 0.24.3

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.
@@ -7,9 +7,9 @@ transforming...
7
7
  ✓ 4 modules transformed.
8
8
  rendering chunks...
9
9
  computing gzip size...
10
- dist/index.es.mjs 263.56 kB │ gzip: 51.64 kB │ map: 444.18 kB
10
+ dist/index.es.mjs 253.99 kB │ gzip: 51.52 kB │ map: 442.33 kB
11
11
  Entry module "index.ts" is using named and default exports together. Consumers of your bundle will have to use `Icon.default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
12
- dist/index.umd.js 228.88 kB │ gzip: 51.08 kB │ map: 431.95 kB
13
- ✓ built in 9.56s
12
+ dist/index.umd.js 230.66 kB │ gzip: 51.12 kB │ map: 431.44 kB
13
+ ✓ built in 6.79s
14
14
  $ yarn tsc --project ./tsconfig.build.json
15
15
  $ /home/runner/work/cypress-design/cypress-design/node_modules/.bin/tsc --project ./tsconfig.build.json
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @cypress-design/vue-icon
2
2
 
3
+ ## 0.24.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`71e0139`](https://github.com/cypress-io/cypress-design/commit/71e013929dc4da74ad49e6109ebe4b9902d8b26c) Thanks [@elevatebart](https://github.com/elevatebart)! - make three-shaken icons compatible with vue 3.2
8
+
9
+ ## 0.24.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`9365cdb`](https://github.com/cypress-io/cypress-design/commit/9365cdbe153f4b2d2243f3183513d24d1215de03) Thanks [@elevatebart](https://github.com/elevatebart)! - make icon compatible with vue 3.2
14
+
15
+ - Updated dependencies [[`e0c2e5a`](https://github.com/cypress-io/cypress-design/commit/e0c2e5ad3aefaf0716223d2fa5d23445eeb325af)]:
16
+ - @cypress-design/icon-registry@0.26.0
17
+
3
18
  ## 0.24.1
4
19
 
5
20
  ### Patch Changes
package/Icon.ts CHANGED
@@ -10,8 +10,15 @@ import {
10
10
  useShouldRenderDefs,
11
11
  } from './compileProperties'
12
12
 
13
- export default defineComponent(
14
- (
13
+ export default defineComponent({
14
+ props: [
15
+ ...ICON_COLOR_PROP_NAMES,
16
+ 'interactiveColorsOnGroup',
17
+ 'size',
18
+ 'name',
19
+ 'class',
20
+ ],
21
+ setup(
15
22
  // the OpenIconProps helps volar extract the documentation from the props
16
23
  // since the IconProps are more restrictive, it will not change the use behavior
17
24
  props: OpenIconProps &
@@ -20,7 +27,7 @@ export default defineComponent(
20
27
  class?: any
21
28
  },
22
29
  { attrs }: { attrs: Omit<SVGAttributes, 'name' | 'class'> },
23
- ) => {
30
+ ) {
24
31
  const ret = computed(() => {
25
32
  const { class: className, ...otherProps } = props
26
33
  const iconProps = compileIcon(otherProps)
@@ -60,14 +67,4 @@ export default defineComponent(
60
67
  })
61
68
  }
62
69
  },
63
- {
64
- // @ts-expect-error - vue types need an update
65
- props: [
66
- ...ICON_COLOR_PROP_NAMES,
67
- 'interactiveColorsOnGroup',
68
- 'size',
69
- 'name',
70
- 'class',
71
- ],
72
- },
73
- )
70
+ })