@cypress-design/vue-icon 0.24.1 → 0.24.2
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 +9 -0
- package/Icon.ts +11 -14
- package/dist/Icon.d.ts +139 -3
- package/dist/Icon.d.ts.map +1 -1
- package/dist/index.es.mjs +10 -13
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- 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[2m263.
|
|
10
|
+
[2mdist/[22m[36mindex.es.mjs [39m[1m[2m263.49 kB[22m[1m[22m[2m │ gzip: 51.65 kB[22m[2m │ map: 444.10 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[2m228.
|
|
13
|
-
[32m✓ built in
|
|
12
|
+
[2mdist/[22m[36mindex.umd.js [39m[1m[2m228.89 kB[22m[1m[22m[2m │ gzip: 51.09 kB[22m[2m │ map: 431.88 kB[22m
|
|
13
|
+
[32m✓ built in 7.97s[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,14 @@
|
|
|
1
1
|
# @cypress-design/vue-icon
|
|
2
2
|
|
|
3
|
+
## 0.24.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9365cdb`](https://github.com/cypress-io/cypress-design/commit/9365cdbe153f4b2d2243f3183513d24d1215de03) Thanks [@elevatebart](https://github.com/elevatebart)! - make icon compatible with vue 3.2
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`e0c2e5a`](https://github.com/cypress-io/cypress-design/commit/e0c2e5ad3aefaf0716223d2fa5d23445eeb325af)]:
|
|
10
|
+
- @cypress-design/icon-registry@0.26.0
|
|
11
|
+
|
|
3
12
|
## 0.24.1
|
|
4
13
|
|
|
5
14
|
### 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
|
+
})
|
package/dist/Icon.d.ts
CHANGED
|
@@ -1,6 +1,142 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
2
|
+
size?: any;
|
|
3
|
+
name?: any;
|
|
4
|
+
interactiveColorsOnGroup?: any;
|
|
5
|
+
focusWithinStrokeColor?: any;
|
|
6
|
+
hoverStrokeColor?: any;
|
|
7
|
+
focusStrokeColor?: any;
|
|
8
|
+
hocusStrokeColor?: any;
|
|
9
|
+
strokeColor?: any;
|
|
10
|
+
focusWithinFillColor?: any;
|
|
11
|
+
hoverFillColor?: any;
|
|
12
|
+
focusFillColor?: any;
|
|
13
|
+
hocusFillColor?: any;
|
|
14
|
+
fillColor?: any;
|
|
15
|
+
focusWithinSecondaryStrokeColor?: any;
|
|
16
|
+
hoverSecondaryStrokeColor?: any;
|
|
17
|
+
focusSecondaryStrokeColor?: any;
|
|
18
|
+
hocusSecondaryStrokeColor?: any;
|
|
19
|
+
secondaryStrokeColor?: any;
|
|
20
|
+
focusWithinSecondaryFillColor?: any;
|
|
21
|
+
hoverSecondaryFillColor?: any;
|
|
22
|
+
focusSecondaryFillColor?: any;
|
|
23
|
+
hocusSecondaryFillColor?: any;
|
|
24
|
+
secondaryFillColor?: any;
|
|
3
25
|
class?: any;
|
|
4
|
-
|
|
26
|
+
"focus-within-fill-color"?: any;
|
|
27
|
+
"focus-within-stroke-color"?: any;
|
|
28
|
+
"focus-within-secondary-fill-color"?: any;
|
|
29
|
+
"focus-within-secondary-stroke-color"?: any;
|
|
30
|
+
"hover-fill-color"?: any;
|
|
31
|
+
"hover-stroke-color"?: any;
|
|
32
|
+
"hover-secondary-fill-color"?: any;
|
|
33
|
+
"hover-secondary-stroke-color"?: any;
|
|
34
|
+
"focus-fill-color"?: any;
|
|
35
|
+
"focus-stroke-color"?: any;
|
|
36
|
+
"focus-secondary-fill-color"?: any;
|
|
37
|
+
"focus-secondary-stroke-color"?: any;
|
|
38
|
+
"hocus-fill-color"?: any;
|
|
39
|
+
"hocus-stroke-color"?: any;
|
|
40
|
+
"hocus-secondary-fill-color"?: any;
|
|
41
|
+
"hocus-secondary-stroke-color"?: any;
|
|
42
|
+
"fill-color"?: any;
|
|
43
|
+
"stroke-color"?: any;
|
|
44
|
+
"secondary-fill-color"?: any;
|
|
45
|
+
"secondary-stroke-color"?: any;
|
|
46
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
51
|
+
size?: any;
|
|
52
|
+
name?: any;
|
|
53
|
+
interactiveColorsOnGroup?: any;
|
|
54
|
+
focusWithinStrokeColor?: any;
|
|
55
|
+
hoverStrokeColor?: any;
|
|
56
|
+
focusStrokeColor?: any;
|
|
57
|
+
hocusStrokeColor?: any;
|
|
58
|
+
strokeColor?: any;
|
|
59
|
+
focusWithinFillColor?: any;
|
|
60
|
+
hoverFillColor?: any;
|
|
61
|
+
focusFillColor?: any;
|
|
62
|
+
hocusFillColor?: any;
|
|
63
|
+
fillColor?: any;
|
|
64
|
+
focusWithinSecondaryStrokeColor?: any;
|
|
65
|
+
hoverSecondaryStrokeColor?: any;
|
|
66
|
+
focusSecondaryStrokeColor?: any;
|
|
67
|
+
hocusSecondaryStrokeColor?: any;
|
|
68
|
+
secondaryStrokeColor?: any;
|
|
69
|
+
focusWithinSecondaryFillColor?: any;
|
|
70
|
+
hoverSecondaryFillColor?: any;
|
|
71
|
+
focusSecondaryFillColor?: any;
|
|
72
|
+
hocusSecondaryFillColor?: any;
|
|
73
|
+
secondaryFillColor?: any;
|
|
74
|
+
class?: any;
|
|
75
|
+
"focus-within-fill-color"?: any;
|
|
76
|
+
"focus-within-stroke-color"?: any;
|
|
77
|
+
"focus-within-secondary-fill-color"?: any;
|
|
78
|
+
"focus-within-secondary-stroke-color"?: any;
|
|
79
|
+
"hover-fill-color"?: any;
|
|
80
|
+
"hover-stroke-color"?: any;
|
|
81
|
+
"hover-secondary-fill-color"?: any;
|
|
82
|
+
"hover-secondary-stroke-color"?: any;
|
|
83
|
+
"focus-fill-color"?: any;
|
|
84
|
+
"focus-stroke-color"?: any;
|
|
85
|
+
"focus-secondary-fill-color"?: any;
|
|
86
|
+
"focus-secondary-stroke-color"?: any;
|
|
87
|
+
"hocus-fill-color"?: any;
|
|
88
|
+
"hocus-stroke-color"?: any;
|
|
89
|
+
"hocus-secondary-fill-color"?: any;
|
|
90
|
+
"hocus-secondary-stroke-color"?: any;
|
|
91
|
+
"fill-color"?: any;
|
|
92
|
+
"stroke-color"?: any;
|
|
93
|
+
"secondary-fill-color"?: any;
|
|
94
|
+
"secondary-stroke-color"?: any;
|
|
95
|
+
}>>>, {
|
|
96
|
+
readonly size?: any;
|
|
97
|
+
readonly name?: any;
|
|
98
|
+
readonly interactiveColorsOnGroup?: any;
|
|
99
|
+
readonly focusWithinStrokeColor?: any;
|
|
100
|
+
readonly hoverStrokeColor?: any;
|
|
101
|
+
readonly focusStrokeColor?: any;
|
|
102
|
+
readonly hocusStrokeColor?: any;
|
|
103
|
+
readonly strokeColor?: any;
|
|
104
|
+
readonly focusWithinFillColor?: any;
|
|
105
|
+
readonly hoverFillColor?: any;
|
|
106
|
+
readonly focusFillColor?: any;
|
|
107
|
+
readonly hocusFillColor?: any;
|
|
108
|
+
readonly fillColor?: any;
|
|
109
|
+
readonly focusWithinSecondaryStrokeColor?: any;
|
|
110
|
+
readonly hoverSecondaryStrokeColor?: any;
|
|
111
|
+
readonly focusSecondaryStrokeColor?: any;
|
|
112
|
+
readonly hocusSecondaryStrokeColor?: any;
|
|
113
|
+
readonly secondaryStrokeColor?: any;
|
|
114
|
+
readonly focusWithinSecondaryFillColor?: any;
|
|
115
|
+
readonly hoverSecondaryFillColor?: any;
|
|
116
|
+
readonly focusSecondaryFillColor?: any;
|
|
117
|
+
readonly hocusSecondaryFillColor?: any;
|
|
118
|
+
readonly secondaryFillColor?: any;
|
|
119
|
+
readonly class?: any;
|
|
120
|
+
readonly "focus-within-fill-color"?: any;
|
|
121
|
+
readonly "focus-within-stroke-color"?: any;
|
|
122
|
+
readonly "focus-within-secondary-fill-color"?: any;
|
|
123
|
+
readonly "focus-within-secondary-stroke-color"?: any;
|
|
124
|
+
readonly "hover-fill-color"?: any;
|
|
125
|
+
readonly "hover-stroke-color"?: any;
|
|
126
|
+
readonly "hover-secondary-fill-color"?: any;
|
|
127
|
+
readonly "hover-secondary-stroke-color"?: any;
|
|
128
|
+
readonly "focus-fill-color"?: any;
|
|
129
|
+
readonly "focus-stroke-color"?: any;
|
|
130
|
+
readonly "focus-secondary-fill-color"?: any;
|
|
131
|
+
readonly "focus-secondary-stroke-color"?: any;
|
|
132
|
+
readonly "hocus-fill-color"?: any;
|
|
133
|
+
readonly "hocus-stroke-color"?: any;
|
|
134
|
+
readonly "hocus-secondary-fill-color"?: any;
|
|
135
|
+
readonly "hocus-secondary-stroke-color"?: any;
|
|
136
|
+
readonly "fill-color"?: any;
|
|
137
|
+
readonly "stroke-color"?: any;
|
|
138
|
+
readonly "secondary-fill-color"?: any;
|
|
139
|
+
readonly "secondary-stroke-color"?: any;
|
|
140
|
+
}, {}>;
|
|
5
141
|
export default _default;
|
|
6
142
|
//# sourceMappingURL=Icon.d.ts.map
|
package/dist/Icon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../Icon.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../Icon.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAyDE"}
|
package/dist/index.es.mjs
CHANGED
|
@@ -54,8 +54,15 @@ const y = /* @__PURE__ */ new Set(), c = (o, t) => {
|
|
|
54
54
|
componentProps: Z(() => t.value.componentProps),
|
|
55
55
|
defs: Z(() => t.value.defs)
|
|
56
56
|
};
|
|
57
|
-
}, _ = a(
|
|
58
|
-
|
|
57
|
+
}, _ = a({
|
|
58
|
+
props: [
|
|
59
|
+
...b,
|
|
60
|
+
"interactiveColorsOnGroup",
|
|
61
|
+
"size",
|
|
62
|
+
"name",
|
|
63
|
+
"class"
|
|
64
|
+
],
|
|
65
|
+
setup(o, { attrs: t }) {
|
|
59
66
|
const n = Z(() => {
|
|
60
67
|
const { class: m, ...p } = o, u = H(p);
|
|
61
68
|
return { className: m, iconProps: u };
|
|
@@ -84,18 +91,8 @@ const y = /* @__PURE__ */ new Set(), c = (o, t) => {
|
|
|
84
91
|
...s.value,
|
|
85
92
|
class: [n.value.className, s.value.class]
|
|
86
93
|
});
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
// @ts-expect-error - vue types need an update
|
|
90
|
-
props: [
|
|
91
|
-
...b,
|
|
92
|
-
"interactiveColorsOnGroup",
|
|
93
|
-
"size",
|
|
94
|
-
"name",
|
|
95
|
-
"class"
|
|
96
|
-
]
|
|
97
94
|
}
|
|
98
|
-
), d = {
|
|
95
|
+
}), d = {
|
|
99
96
|
props: [...D.ICON_COLOR_PROP_NAMES, "interactiveColorsOnGroup", "size", "class"]
|
|
100
97
|
};
|
|
101
98
|
function i(o, t, n, s) {
|