@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.
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +15 -0
- package/Icon.ts +11 -14
- package/_TreeShakableIcons.ts +2653 -2432
- package/dist/Icon.d.ts +139 -3
- package/dist/Icon.d.ts.map +1 -1
- package/dist/_TreeShakableIcons.d.ts +2431 -664
- package/dist/_TreeShakableIcons.d.ts.map +1 -1
- package/dist/index.es.mjs +926 -1150
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/generate-icons.js +19 -16
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -7,9 +7,9 @@ transforming...
|
|
|
7
7
|
[32m✓[39m 4 modules transformed.
|
|
8
8
|
rendering chunks...
|
|
9
9
|
computing gzip size...
|
|
10
|
-
[2mdist/[22m[36mindex.es.mjs [39m[1m[
|
|
10
|
+
[2mdist/[22m[36mindex.es.mjs [39m[1m[2m253.99 kB[22m[1m[22m[2m │ gzip: 51.52 kB[22m[2m │ map: 442.33 kB[22m
|
|
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
|
-
[2mdist/[22m[36mindex.umd.js [39m[1m[
|
|
13
|
-
[32m✓ built in
|
|
12
|
+
[2mdist/[22m[36mindex.umd.js [39m[1m[2m230.66 kB[22m[1m[22m[2m │ gzip: 51.12 kB[22m[2m │ map: 431.44 kB[22m
|
|
13
|
+
[32m✓ built in 6.79s[39m
|
|
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
|
+
})
|