@ultraviolet/icons 2.3.0 → 2.4.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.
|
@@ -2987,6 +2987,82 @@ const PRODUCT_ICONS = {
|
|
|
2987
2987
|
})]
|
|
2988
2988
|
})]
|
|
2989
2989
|
})
|
|
2990
|
+
}),
|
|
2991
|
+
file: /*#__PURE__*/jsxs("g", {
|
|
2992
|
+
className: "File",
|
|
2993
|
+
children: [/*#__PURE__*/jsx("g", {
|
|
2994
|
+
className: ".Square",
|
|
2995
|
+
children: /*#__PURE__*/jsx("path", {
|
|
2996
|
+
fill: "#F1EEFC",
|
|
2997
|
+
d: "M0 16C0 7.163 7.163 0 16 0h32c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H16C7.163 64 0 56.837 0 48V16Z",
|
|
2998
|
+
className: "fillWeak"
|
|
2999
|
+
})
|
|
3000
|
+
}), /*#__PURE__*/jsx("g", {
|
|
3001
|
+
className: "File",
|
|
3002
|
+
children: /*#__PURE__*/jsxs("g", {
|
|
3003
|
+
className: "icon",
|
|
3004
|
+
children: [/*#__PURE__*/jsxs("g", {
|
|
3005
|
+
children: [/*#__PURE__*/jsx("path", {
|
|
3006
|
+
fill: "#521094",
|
|
3007
|
+
fillRule: "evenodd",
|
|
3008
|
+
d: "M21 14a1 1 0 0 0-1 1v33a1 1 0 0 0 1 1h15a1 1 0 1 1 0 2H21a3 3 0 0 1-3-3V15a3 3 0 0 1 3-3h17.5a1 1 0 0 1 .791.389l8.5 11A1 1 0 0 1 48 24v8.5a1 1 0 1 1-2 0v-8.159L38.009 14H21Z",
|
|
3009
|
+
clipRule: "evenodd",
|
|
3010
|
+
className: "fill"
|
|
3011
|
+
}), /*#__PURE__*/jsx("path", {
|
|
3012
|
+
fill: "#521094",
|
|
3013
|
+
d: "M47 25h-1v23a1 1 0 0 1-1 1H30a1 1 0 1 0 0 2h15a3 3 0 0 0 3-3V25h-1Z",
|
|
3014
|
+
className: "fill"
|
|
3015
|
+
}), /*#__PURE__*/jsx("path", {
|
|
3016
|
+
fill: "#521094",
|
|
3017
|
+
fillRule: "evenodd",
|
|
3018
|
+
d: "M37.5 22v-8.5h2V22a1 1 0 0 0 1 1H47v2h-6.5a3 3 0 0 1-3-3Z",
|
|
3019
|
+
clipRule: "evenodd",
|
|
3020
|
+
className: "fill"
|
|
3021
|
+
})]
|
|
3022
|
+
}), /*#__PURE__*/jsx("path", {
|
|
3023
|
+
fill: "#A060F6",
|
|
3024
|
+
fillRule: "evenodd",
|
|
3025
|
+
d: "M24.5 21a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2h-10Zm0 13a1 1 0 1 0 0 2H38a1 1 0 1 0 0-2H24.5Zm-1 8a1 1 0 0 1 1-1h9a1 1 0 1 1 0 2h-9a1 1 0 0 1-1-1Zm1-14.5a1 1 0 1 0 0 2H42a1 1 0 1 0 0-2H24.5Z",
|
|
3026
|
+
className: "fillStrong",
|
|
3027
|
+
clipRule: "evenodd"
|
|
3028
|
+
})]
|
|
3029
|
+
})
|
|
3030
|
+
})]
|
|
3031
|
+
}),
|
|
3032
|
+
folder: /*#__PURE__*/jsxs("g", {
|
|
3033
|
+
className: "Folder",
|
|
3034
|
+
clipPath: "url(#a)",
|
|
3035
|
+
children: [/*#__PURE__*/jsx("g", {
|
|
3036
|
+
className: ".Square",
|
|
3037
|
+
children: /*#__PURE__*/jsx("path", {
|
|
3038
|
+
fill: "#F1EEFC",
|
|
3039
|
+
d: "M0 16C0 7.163 7.163 0 16 0h32c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H16C7.163 64 0 56.837 0 48V16Z",
|
|
3040
|
+
className: "fillWeak"
|
|
3041
|
+
})
|
|
3042
|
+
}), /*#__PURE__*/jsxs("g", {
|
|
3043
|
+
className: "Icon",
|
|
3044
|
+
children: [/*#__PURE__*/jsx("path", {
|
|
3045
|
+
fill: "#A060F6",
|
|
3046
|
+
fillRule: "evenodd",
|
|
3047
|
+
d: "M23 15a4 4 0 0 0-4 4v20a4 4 0 0 0 4 4h26a4 4 0 0 0 4-4V24a4 4 0 0 0-4-4H37.937a2.515 2.515 0 0 1-2.25-1.39l-.159-.317c-.44-.88-.972-1.734-1.595-2.355C33.317 15.323 32.681 15 32 15h-9Zm-6 4a6 6 0 0 1 6-6h9c1.384 0 2.498.676 3.346 1.522.841.84 1.488 1.91 1.971 2.876l.159.317a.515.515 0 0 0 .46.285H49a6 6 0 0 1 6 6v15a6 6 0 0 1-6 6H23a6 6 0 0 1-6-6V19Z",
|
|
3048
|
+
className: "fillStrong",
|
|
3049
|
+
clipRule: "evenodd"
|
|
3050
|
+
}), /*#__PURE__*/jsx("path", {
|
|
3051
|
+
fill: "#F1EEFC",
|
|
3052
|
+
d: "M17 48h26a5 5 0 0 0 5-5V28a5 5 0 0 0-5-5H31.936a1.515 1.515 0 0 1-1.355-.838l-.158-.316C29.499 19.998 28.065 18 26 18h-9a5 5 0 0 0-5 5v20a5 5 0 0 0 5 5Z",
|
|
3053
|
+
className: "fillWeak"
|
|
3054
|
+
}), /*#__PURE__*/jsx("path", {
|
|
3055
|
+
fill: "#521094",
|
|
3056
|
+
fillRule: "evenodd",
|
|
3057
|
+
d: "M17 19a4 4 0 0 0-4 4v20a4 4 0 0 0 4 4h26a4 4 0 0 0 4-4V28a4 4 0 0 0-4-4H31.936a2.515 2.515 0 0 1-2.25-1.39l-.158-.317c-.44-.88-.972-1.734-1.595-2.355C27.317 19.323 26.681 19 26 19h-9Zm-6 4a6 6 0 0 1 6-6h9c1.384 0 2.498.676 3.346 1.522.841.84 1.488 1.91 1.971 2.876l.159.317a.515.515 0 0 0 .46.285H43a6 6 0 0 1 6 6v15a6 6 0 0 1-6 6H17a6 6 0 0 1-6-6V23Z",
|
|
3058
|
+
className: "fill",
|
|
3059
|
+
clipRule: "evenodd"
|
|
3060
|
+
}), /*#__PURE__*/jsx("path", {
|
|
3061
|
+
fill: "#A060F6",
|
|
3062
|
+
d: "M18 23a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Z",
|
|
3063
|
+
className: "fillStrong"
|
|
3064
|
+
})]
|
|
3065
|
+
})]
|
|
2990
3066
|
})
|
|
2991
3067
|
};
|
|
2992
3068
|
|
|
@@ -26,21 +26,21 @@ const StyledIcon = /*#__PURE__*/_styled('svg', {
|
|
|
26
26
|
size
|
|
27
27
|
} = _ref3;
|
|
28
28
|
return `${SIZES[size]}px`;
|
|
29
|
-
}, ";}path[fill].fill{fill:", _ref4 => {
|
|
29
|
+
}, ";}path[fill].fill,g[fill].fill>*,g.fill>*{fill:", _ref4 => {
|
|
30
30
|
let {
|
|
31
31
|
theme,
|
|
32
32
|
variant,
|
|
33
33
|
disabled
|
|
34
34
|
} = _ref4;
|
|
35
35
|
return `${theme.colors.other.icon.product[variant][disabled ? 'fillDisabled' : 'fill']}`;
|
|
36
|
-
}, ";}path[fill].fillStrong{fill:", _ref5 => {
|
|
36
|
+
}, ";}path[fill].fillStrong,g[fill].fillStrong>*,g.fillStrong>*{fill:", _ref5 => {
|
|
37
37
|
let {
|
|
38
38
|
theme,
|
|
39
39
|
variant,
|
|
40
40
|
disabled
|
|
41
41
|
} = _ref5;
|
|
42
42
|
return `${theme.colors.other.icon.product[variant][disabled ? 'fillStrongDisabled' : 'fillStrong']}`;
|
|
43
|
-
}, ";}path[fill].fillWeak{fill:", _ref6 => {
|
|
43
|
+
}, ";}path[fill].fillWeak,g[fill].fillWeak>*,g.fillWeak>*{fill:", _ref6 => {
|
|
44
44
|
let {
|
|
45
45
|
theme,
|
|
46
46
|
variant,
|
package/dist/index.d.ts
CHANGED
|
@@ -140,6 +140,8 @@ declare const PRODUCT_ICONS: {
|
|
|
140
140
|
readonly video: _emotion_react_jsx_runtime.JSX.Element;
|
|
141
141
|
readonly rocket: _emotion_react_jsx_runtime.JSX.Element;
|
|
142
142
|
readonly ipfsNaming: _emotion_react_jsx_runtime.JSX.Element;
|
|
143
|
+
readonly file: _emotion_react_jsx_runtime.JSX.Element;
|
|
144
|
+
readonly folder: _emotion_react_jsx_runtime.JSX.Element;
|
|
143
145
|
};
|
|
144
146
|
|
|
145
147
|
type Variants = 'primary' | 'danger' | 'warning';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultraviolet/icons",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "Ultraviolet Icons",
|
|
5
5
|
"homepage": "https://github.com/scaleway/ultraviolet#readme",
|
|
6
6
|
"repository": {
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"react-dom": "18.2.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@babel/core": "7.23.
|
|
41
|
+
"@babel/core": "7.23.2",
|
|
42
42
|
"@emotion/babel-plugin": "11.11.0",
|
|
43
|
-
"@types/react": "18.2.
|
|
44
|
-
"@types/react-dom": "18.2.
|
|
43
|
+
"@types/react": "18.2.28",
|
|
44
|
+
"@types/react-dom": "18.2.13"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@ultraviolet/themes": "1.2.1"
|