@nu-art/ts-styles 0.203.10 → 0.203.11
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/icons/icons.d.ts +4 -0
- package/icons/icons.js +3 -1
- package/icons/svgs/icon__add-image.svg +22 -0
- package/package.json +2 -2
package/icons/icons.d.ts
CHANGED
|
@@ -80,6 +80,10 @@ export declare const TS_Icons: {
|
|
|
80
80
|
component: (props: IconAttributes) => React.JSX.Element;
|
|
81
81
|
url: any;
|
|
82
82
|
};
|
|
83
|
+
addImage: {
|
|
84
|
+
component: (props: IconAttributes) => React.JSX.Element;
|
|
85
|
+
url: any;
|
|
86
|
+
};
|
|
83
87
|
};
|
|
84
88
|
export declare const tsIconKeys: () => TSIcons[];
|
|
85
89
|
export type TSIconsType = typeof TS_Icons;
|
package/icons/icons.js
CHANGED
|
@@ -20,6 +20,7 @@ const icon__save_svg_1 = require("./svgs/icon__save.svg");
|
|
|
20
20
|
const icon__menu_svg_1 = require("./svgs/icon__menu.svg");
|
|
21
21
|
const icon__google_svg_1 = require("./svgs/icon__google.svg");
|
|
22
22
|
const icon__download_svg_1 = require("./svgs/icon__download.svg");
|
|
23
|
+
const icon__add_image_svg_1 = require("./svgs/icon__add-image.svg");
|
|
23
24
|
class RenderIcon extends React.Component {
|
|
24
25
|
render() {
|
|
25
26
|
var _a;
|
|
@@ -55,7 +56,8 @@ exports.TS_Icons = {
|
|
|
55
56
|
save: { component: genIcon(icon__save_svg_1.ReactComponent), url: icon__save_svg_1.default },
|
|
56
57
|
menu: { component: genIcon(icon__menu_svg_1.ReactComponent), url: icon__menu_svg_1.default },
|
|
57
58
|
google: { component: genIcon(icon__google_svg_1.ReactComponent), url: icon__google_svg_1.default },
|
|
58
|
-
download: { component: genIcon(icon__download_svg_1.ReactComponent), url: icon__download_svg_1.default }
|
|
59
|
+
download: { component: genIcon(icon__download_svg_1.ReactComponent), url: icon__download_svg_1.default },
|
|
60
|
+
addImage: { component: genIcon(icon__add_image_svg_1.ReactComponent), url: icon__add_image_svg_1.default },
|
|
59
61
|
};
|
|
60
62
|
const tsIconKeys = () => {
|
|
61
63
|
return (0, ts_common_1._keys)(exports.TS_Icons);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
+
<!-- Plus on the top left -->
|
|
3
|
+
<path
|
|
4
|
+
d="M3 8c0 .55.45 1 1 1s1-.45 1-1V6h2c.55 0 1-.45 1-1s-.45-1-1-1H5V2c0-.55-.45-1-1-1s-1 .45-1 1v2H1c-.55 0-1 .45-1 1s.45 1 1 1h2v2z"
|
|
5
|
+
fill="000"
|
|
6
|
+
data-no-stroke="true"
|
|
7
|
+
/>
|
|
8
|
+
<!-- Circle at the center of the camera -->
|
|
9
|
+
<circle
|
|
10
|
+
cx="13"
|
|
11
|
+
cy="14"
|
|
12
|
+
r="3"
|
|
13
|
+
fill="000"
|
|
14
|
+
data-no-stroke="true"
|
|
15
|
+
/>
|
|
16
|
+
<!-- Camera body -->
|
|
17
|
+
<path
|
|
18
|
+
d="M21 6h-3.17l-1.24-1.35c-.37-.41-.91-.65-1.47-.65h-6.4c.17.3.28.63.28 1 0 1.1-.9 2-2 2H6v1c0 1.1-.9 2-2 2-.37 0-.7-.11-1-.28V20c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-8 13c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"
|
|
19
|
+
fill="000"
|
|
20
|
+
data-no-stroke="true"
|
|
21
|
+
/>
|
|
22
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nu-art/ts-styles",
|
|
3
|
-
"version": "0.203.
|
|
3
|
+
"version": "0.203.11",
|
|
4
4
|
"author": "nu-art",
|
|
5
5
|
"description": "Styles by Cipher",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"linkDirectory": true
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@nu-art/ts-common": "0.203.
|
|
16
|
+
"@nu-art/ts-common": "0.203.11",
|
|
17
17
|
"react": "^18.2.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|