@cypress-design/vue-icon 0.34.1 → 0.36.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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +22 -0
- package/Icon.ts +12 -7
- package/_TreeShakableIcons.ts +329 -326
- package/animated/_IconGeneralChatBubble.vue +32 -8
- package/animated/_IconObjectGear.vue +31 -7
- package/animated/_IconTechnologyGitBranches.vue +33 -8
- package/animated/_IconTechnologyServer.vue +33 -9
- package/animated/_IconViewChart.vue +35 -9
- package/animated/_testUtils.tsx +24 -0
- package/dist/Icon.d.ts +4 -140
- package/dist/Icon.d.ts.map +1 -1
- package/dist/_TreeShakableIcons.d.ts +940 -470
- package/dist/_TreeShakableIcons.d.ts.map +1 -1
- package/dist/animated/_IconGeneralChatBubble.vue.d.ts +16 -13
- package/dist/animated/_IconGeneralChatBubble.vue.d.ts.map +1 -1
- package/dist/animated/_IconObjectGear.vue.d.ts +16 -13
- package/dist/animated/_IconObjectGear.vue.d.ts.map +1 -1
- package/dist/animated/_IconTechnologyGitBranches.vue.d.ts +16 -13
- package/dist/animated/_IconTechnologyGitBranches.vue.d.ts.map +1 -1
- package/dist/animated/_IconTechnologyServer.vue.d.ts +16 -13
- package/dist/animated/_IconTechnologyServer.vue.d.ts.map +1 -1
- package/dist/animated/_IconViewChart.vue.d.ts +16 -13
- package/dist/animated/_IconViewChart.vue.d.ts.map +1 -1
- package/dist/animated/_PathMorpher.vue.d.ts +12 -12
- package/dist/animated/_PathMorpher.vue.d.ts.map +1 -1
- package/dist/compileProperties.d.ts +25 -25
- package/dist/index.es.mjs +2215 -2155
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -4
- package/tsconfig.build.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -3,14 +3,14 @@ $ node ./generate-icons.js
|
|
|
3
3
|
$ yarn vite build
|
|
4
4
|
$ /home/runner/work/cypress-design/cypress-design/node_modules/.bin/vite build
|
|
5
5
|
[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.[39m
|
|
6
|
-
[36mvite v5.
|
|
6
|
+
[36mvite v5.2.3 [32mbuilding for production...[36m[39m
|
|
7
7
|
transforming...
|
|
8
|
-
[32m✓[39m
|
|
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[2m278.86 kB[22m[1m[22m[2m │ gzip: 55.73 kB[22m[2m │ map: 499.44 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[2m252.25 kB[22m[1m[22m[2m │ gzip: 54.84 kB[22m[2m │ map: 487.42 kB[22m
|
|
14
|
+
[32m✓ built in 8.00s[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.36.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#402](https://github.com/cypress-io/cypress-design/pull/402) [`6f2ae04`](https://github.com/cypress-io/cypress-design/commit/6f2ae04a7202e13deabf0bf981f035ed03f3616e) Thanks [@elevatebart](https://github.com/elevatebart)! - refactor and add the logo component
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`6f2ae04`](https://github.com/cypress-io/cypress-design/commit/6f2ae04a7202e13deabf0bf981f035ed03f3616e)]:
|
|
12
|
+
- @cypress-design/icon-registry@0.38.0
|
|
13
|
+
|
|
14
|
+
## 0.35.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [#398](https://github.com/cypress-io/cypress-design/pull/398) [`20529b7`](https://github.com/cypress-io/cypress-design/commit/20529b7bc5f96006ce5b8ecde5e740420f0c2fac) Thanks [@emilmilanov](https://github.com/emilmilanov)! - Added pin con x12
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`20529b7`](https://github.com/cypress-io/cypress-design/commit/20529b7bc5f96006ce5b8ecde5e740420f0c2fac)]:
|
|
23
|
+
- @cypress-design/icon-registry@0.37.0
|
|
24
|
+
|
|
3
25
|
## 0.34.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/Icon.ts
CHANGED
|
@@ -10,7 +10,16 @@ import {
|
|
|
10
10
|
useShouldRenderDefs,
|
|
11
11
|
} from './compileProperties'
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
interface Props extends Pick<IconProps, 'name'>, Omit<OpenIconProps, 'name'> {
|
|
14
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15
|
+
class?: any
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default defineComponent<Props>({
|
|
19
|
+
// the props here need to exist because of runtime treatment
|
|
20
|
+
// if we don't have them explicit, vuejs will think it's attributes
|
|
21
|
+
// and not pass it down as props to the components
|
|
22
|
+
// but for typescript to pick up the correct prop types, we need to cast it to unknown
|
|
14
23
|
props: [
|
|
15
24
|
...ICON_COLOR_PROP_NAMES,
|
|
16
25
|
'interactiveColorsOnGroup',
|
|
@@ -18,15 +27,11 @@ export default defineComponent({
|
|
|
18
27
|
'name',
|
|
19
28
|
'alt',
|
|
20
29
|
'class',
|
|
21
|
-
],
|
|
30
|
+
] as unknown as undefined,
|
|
22
31
|
setup(
|
|
23
32
|
// the OpenIconProps helps volar extract the documentation from the props
|
|
24
33
|
// since the IconProps are more restrictive, it will not change the use behavior
|
|
25
|
-
props:
|
|
26
|
-
Pick<IconProps, 'name'> & {
|
|
27
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
28
|
-
class?: any
|
|
29
|
-
},
|
|
34
|
+
props: Props,
|
|
30
35
|
{ attrs }: { attrs: Omit<SVGAttributes, 'name' | 'class'> },
|
|
31
36
|
) {
|
|
32
37
|
const ret = computed(() => {
|