@cypress-design/vue-icon 0.38.0 → 0.39.1
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 +22 -0
- package/IconVue.cy.tsx +7 -1
- package/_TreeShakableIcons.ts +264 -24
- package/dist/_TreeShakableIcons.d.ts +45 -0
- package/dist/_TreeShakableIcons.d.ts.map +1 -1
- package/dist/index.es.mjs +1428 -1278
- 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 +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -8,9 +8,9 @@ transforming...
|
|
|
8
8
|
[32m✓[39m 17 modules transformed.
|
|
9
9
|
rendering chunks...
|
|
10
10
|
computing gzip size...
|
|
11
|
-
[2mdist/[22m[36mindex.es.mjs [39m[1m[
|
|
11
|
+
[2mdist/[22m[36mindex.es.mjs [39m[1m[2m292.09 kB[22m[1m[22m[2m │ gzip: 57.45 kB[22m[2m │ map: 522.98 kB[22m
|
|
12
12
|
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.
|
|
13
|
-
[2mdist/[22m[36mindex.umd.js [39m[1m[
|
|
14
|
-
[32m✓ built in
|
|
13
|
+
[2mdist/[22m[36mindex.umd.js [39m[1m[2m264.22 kB[22m[1m[22m[2m │ gzip: 56.53 kB[22m[2m │ map: 510.38 kB[22m
|
|
14
|
+
[32m✓ built in 8.52s[39m
|
|
15
15
|
$ yarn vue-tsc --project ./tsconfig.build.json
|
|
16
16
|
$ /home/runner/work/cypress-design/cypress-design/node_modules/.bin/vue-tsc --project ./tsconfig.build.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @cypress-design/vue-icon
|
|
2
2
|
|
|
3
|
+
## 0.39.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#435](https://github.com/cypress-io/cypress-design/pull/435) [`bf0ef3f`](https://github.com/cypress-io/cypress-design/commit/bf0ef3f6504ea3dba71dcb00d8d2eb0a96e0fa55) Thanks [@elevatebart](https://github.com/elevatebart)! - fix: avoid showing the passed classes twice
|
|
8
|
+
|
|
9
|
+
- [#435](https://github.com/cypress-io/cypress-design/pull/435) [`bf0ef3f`](https://github.com/cypress-io/cypress-design/commit/bf0ef3f6504ea3dba71dcb00d8d2eb0a96e0fa55) Thanks [@elevatebart](https://github.com/elevatebart)! - fix: use proper prefixing for icons defs ids
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`bf0ef3f`](https://github.com/cypress-io/cypress-design/commit/bf0ef3f6504ea3dba71dcb00d8d2eb0a96e0fa55), [`bf0ef3f`](https://github.com/cypress-io/cypress-design/commit/bf0ef3f6504ea3dba71dcb00d8d2eb0a96e0fa55)]:
|
|
12
|
+
- @cypress-design/icon-registry@0.42.1
|
|
13
|
+
|
|
14
|
+
## 0.39.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [#425](https://github.com/cypress-io/cypress-design/pull/425) [`85301f4`](https://github.com/cypress-io/cypress-design/commit/85301f479e547528164bfd002247a2bfeee82a62) Thanks [@emilmilanov](https://github.com/emilmilanov)! - Adding new icons
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`e96abdc`](https://github.com/cypress-io/cypress-design/commit/e96abdc4d38a809632d52bd87699a7567cd9dd93), [`85301f4`](https://github.com/cypress-io/cypress-design/commit/85301f479e547528164bfd002247a2bfeee82a62)]:
|
|
23
|
+
- @cypress-design/icon-registry@0.42.0
|
|
24
|
+
|
|
3
25
|
## 0.38.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/IconVue.cy.tsx
CHANGED
|
@@ -23,7 +23,7 @@ describe('Icon', { viewportWidth: 80, viewportHeight: 80 }, () => {
|
|
|
23
23
|
if (props.name) {
|
|
24
24
|
return mount(() => <Icon {...props} />)
|
|
25
25
|
}
|
|
26
|
-
mount(() => <IconDocumentBlank {...props} />)
|
|
26
|
+
mount(() => <IconDocumentBlank {...props} class={props.class} />)
|
|
27
27
|
})
|
|
28
28
|
|
|
29
29
|
it('renders correctly with array classes', () => {
|
|
@@ -128,4 +128,10 @@ describe('Icon', { viewportWidth: 80, viewportHeight: 80 }, () => {
|
|
|
128
128
|
|
|
129
129
|
cy.get('svg title').should('have.text', 'This is a title')
|
|
130
130
|
})
|
|
131
|
+
|
|
132
|
+
it('renders class passed only once', () => {
|
|
133
|
+
mount(() => <IconBrowserWebkit class="w-16 h-16" />)
|
|
134
|
+
|
|
135
|
+
cy.get('svg[width="16"]').should('have.attr', 'class', 'w-16 h-16')
|
|
136
|
+
})
|
|
131
137
|
})
|