@cypress-design/vue-icon 0.5.1 → 0.7.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.
- package/CHANGELOG.md +31 -0
- package/Icon.ts +4 -6
- package/dist/Icon.d.ts +3 -783
- package/dist/Icon.d.ts.map +1 -1
- package/dist/TreeShakableIcons.d.ts +78 -0
- package/dist/TreeShakableIcons.d.ts.map +1 -1
- package/dist/{index.es.js → index.es.mjs} +624 -284
- package/dist/index.es.mjs.map +1 -0
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
- package/dist/index.es.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @cypress-design/vue-icon
|
|
2
2
|
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#79](https://github.com/cypress-io/cypress-design/pull/79) [`c0fce3f`](https://github.com/cypress-io/cypress-design/commit/c0fce3fac8ba37feadf648ac76e0e83b53e91cfc) Thanks [@mapsandapps](https://github.com/mapsandapps)! - Add icons needed for the marketing site
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`c0fce3f`](https://github.com/cypress-io/cypress-design/commit/c0fce3fac8ba37feadf648ac76e0e83b53e91cfc)]:
|
|
12
|
+
- @cypress-design/icon-registry@0.8.0
|
|
13
|
+
|
|
14
|
+
## 0.6.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [#77](https://github.com/cypress-io/cypress-design/pull/77) [`2008ebd`](https://github.com/cypress-io/cypress-design/commit/2008ebdef09ce917c97179ae305664171baa77ac) Thanks [@mapsandapps](https://github.com/mapsandapps)! - Add new icons needed for marketing site
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`2008ebd`](https://github.com/cypress-io/cypress-design/commit/2008ebdef09ce917c97179ae305664171baa77ac)]:
|
|
23
|
+
- @cypress-design/icon-registry@0.7.0
|
|
24
|
+
|
|
25
|
+
## 0.5.2
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- [#68](https://github.com/cypress-io/cypress-design/pull/68) [`8c577fb`](https://github.com/cypress-io/cypress-design/commit/8c577fb0c6a0411cf8218dfe78281834df3d6f13) Thanks [@elevatebart](https://github.com/elevatebart)! - feat: publish `.mjs` files for esm intead of `.js`
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [[`8c577fb`](https://github.com/cypress-io/cypress-design/commit/8c577fb0c6a0411cf8218dfe78281834df3d6f13)]:
|
|
32
|
+
- @cypress-design/icon-registry@0.6.1
|
|
33
|
+
|
|
3
34
|
## 0.5.1
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
package/Icon.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { compileIcon } from '@cypress-design/icon-registry'
|
|
2
2
|
import type { IconProps } from '@cypress-design/icon-registry'
|
|
3
|
-
import {
|
|
3
|
+
import { h } from 'vue'
|
|
4
4
|
import type { SVGAttributes } from 'vue'
|
|
5
5
|
import { compileVueIconProperties } from './compileProperties'
|
|
6
6
|
|
|
7
|
-
export default
|
|
8
|
-
(
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
)
|
|
7
|
+
export default (props: IconProps & Omit<SVGAttributes, 'name'>) => {
|
|
8
|
+
return h('svg', compileVueIconProperties(compileIcon(props)))
|
|
9
|
+
}
|