@imtf/icons 0.2.1 → 0.2.4
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/lib/cjs/icons/EyeIcon.js +1 -1
- package/lib/cjs/icons/EyeOffIcon.d.ts +7 -0
- package/lib/cjs/icons/EyeOffIcon.js +39 -0
- package/lib/cjs/icons/LogoIcon.js +6 -9
- package/lib/cjs/icons/index.d.ts +1 -0
- package/lib/cjs/icons/index.js +1 -0
- package/lib/esm/icons/EyeIcon.js +1 -1
- package/lib/esm/icons/EyeOffIcon.d.ts +7 -0
- package/lib/esm/icons/EyeOffIcon.js +30 -0
- package/lib/esm/icons/LogoIcon.js +6 -9
- package/lib/esm/icons/index.d.ts +1 -0
- package/lib/esm/icons/index.js +1 -0
- package/package.json +1 -1
- package/svg/Eye.svg +1 -1
- package/svg/EyeOff.svg +3 -0
- package/svg/Logo.svg +3 -5
- package/svg/Logo1.svg +4 -0
- package/svg/eye.json +4 -2
- package/svg/eyeOff.json +6 -0
- package/svg/logo.json +1 -1
- package/svg/logo1.json +4 -0
package/lib/cjs/icons/EyeIcon.js
CHANGED
|
@@ -31,7 +31,7 @@ const EyeIcon = ({
|
|
|
31
31
|
fill: color,
|
|
32
32
|
ref: ref
|
|
33
33
|
}, props), /*#__PURE__*/createElement("path", {
|
|
34
|
-
d: "M12
|
|
34
|
+
d: "M12 9a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0 8a5 5 0 0 1-5-5 5 5 0 0 1 5-5 5 5 0 0 1 5 5 5 5 0 0 1-5 5m0-12.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5Z"
|
|
35
35
|
}));
|
|
36
36
|
};
|
|
37
37
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const {
|
|
2
|
+
createElement,
|
|
3
|
+
forwardRef,
|
|
4
|
+
useContext,
|
|
5
|
+
useMemo
|
|
6
|
+
} = require('react');
|
|
7
|
+
|
|
8
|
+
const {
|
|
9
|
+
IconContext
|
|
10
|
+
} = require('../index.js');
|
|
11
|
+
|
|
12
|
+
const get = require('lodash.get');
|
|
13
|
+
|
|
14
|
+
const EyeOffIcon = ({
|
|
15
|
+
color: defaultColor,
|
|
16
|
+
size,
|
|
17
|
+
...props
|
|
18
|
+
}, ref) => {
|
|
19
|
+
const defaultContextValues = useContext(IconContext);
|
|
20
|
+
const defaultValues = { ...defaultContextValues,
|
|
21
|
+
color: defaultColor || defaultContextValues.color,
|
|
22
|
+
size: size || defaultContextValues.size,
|
|
23
|
+
...props
|
|
24
|
+
};
|
|
25
|
+
const color = useMemo(() => get(defaultValues.palette, defaultValues.color, defaultValues.color), [defaultValues.color, defaultValues.palette]);
|
|
26
|
+
return /*#__PURE__*/createElement("svg", Object.assign({
|
|
27
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
width: defaultValues.size,
|
|
30
|
+
height: defaultValues.size,
|
|
31
|
+
fill: color,
|
|
32
|
+
ref: ref
|
|
33
|
+
}, props), /*#__PURE__*/createElement("path", {
|
|
34
|
+
d: "M11.83 9 15 12.16V12a3 3 0 0 0-3-3h-.17m-4.3.8 1.55 1.55c-.05.21-.08.42-.08.65a3 3 0 0 0 3 3c.22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53a5 5 0 0 1-5-5c0-.79.2-1.53.53-2.2M2 4.27l2.28 2.28.45.45C3.08 8.3 1.78 10 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.43.42L19.73 22 21 20.73 3.27 3M12 7a5 5 0 0 1 5 5c0 .64-.13 1.26-.36 1.82l2.93 2.93c1.5-1.25 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-4 .7l2.17 2.15C10.74 7.13 11.35 7 12 7Z"
|
|
35
|
+
}));
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
const ForwardRef = forwardRef(EyeOffIcon);
|
|
39
|
+
module.exports = ForwardRef;
|
|
@@ -25,21 +25,18 @@ const LogoIcon = ({
|
|
|
25
25
|
const color = useMemo(() => get(defaultValues.palette, defaultValues.color, defaultValues.color), [defaultValues.color, defaultValues.palette]);
|
|
26
26
|
return /*#__PURE__*/createElement("svg", Object.assign({
|
|
27
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
|
-
viewBox: "0 0
|
|
28
|
+
viewBox: "0 0 138.9 78.66",
|
|
29
29
|
width: defaultValues.size,
|
|
30
30
|
height: defaultValues.size,
|
|
31
31
|
fill: color,
|
|
32
32
|
ref: ref
|
|
33
33
|
}, props), /*#__PURE__*/createElement("path", {
|
|
34
|
-
d: "
|
|
34
|
+
d: "M34.02 31.36h3.25v15.95h-3.25zm16.83 0h3.27l3.41 6.94 3.53-6.94h3.23v15.95h-3.41V37.24l-3.04 5.95h-.59l-2.98-5.95v10.07h-3.42V31.36zM75.57 34v-2.64h10.57v2.61h-3.52v13.34H79.1V34h-3.53zm21.84 13.31V31.36h8.36v2.61h-4.81v3.98h4.5v2.62h-4.5v6.74h-3.55z"
|
|
35
35
|
}), /*#__PURE__*/createElement("path", {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}), /*#__PURE__*/createElement("path", {
|
|
41
|
-
fill: "#D93753",
|
|
42
|
-
d: "M159 65h-11.564v-4.432h7.228V4.432h-7.228V0H159z"
|
|
36
|
+
d: "M19.84 19.84v38.98h8.86v-2.61h-5.61V22.48h5.61v-2.64h-8.86zm99.22 38.98V19.84h-8.86v2.64h5.61v33.73h-5.61v2.61h8.86z",
|
|
37
|
+
style: {
|
|
38
|
+
fill: "#d73d54"
|
|
39
|
+
}
|
|
43
40
|
}));
|
|
44
41
|
};
|
|
45
42
|
|
package/lib/cjs/icons/index.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export { default as EraseIcon } from './EraseIcon';
|
|
|
58
58
|
export { default as ExpandContentIcon } from './ExpandContentIcon';
|
|
59
59
|
export { default as ExternalLinkIcon } from './ExternalLinkIcon';
|
|
60
60
|
export { default as EyeIcon } from './EyeIcon';
|
|
61
|
+
export { default as EyeOffIcon } from './EyeOffIcon';
|
|
61
62
|
export { default as FileIcon } from './FileIcon';
|
|
62
63
|
export { default as FileArchiveIcon } from './FileArchiveIcon';
|
|
63
64
|
export { default as FileImageIcon } from './FileImageIcon';
|
package/lib/cjs/icons/index.js
CHANGED
|
@@ -58,6 +58,7 @@ module.exports.EraseIcon = require('./EraseIcon.js');
|
|
|
58
58
|
module.exports.ExpandContentIcon = require('./ExpandContentIcon.js');
|
|
59
59
|
module.exports.ExternalLinkIcon = require('./ExternalLinkIcon.js');
|
|
60
60
|
module.exports.EyeIcon = require('./EyeIcon.js');
|
|
61
|
+
module.exports.EyeOffIcon = require('./EyeOffIcon.js');
|
|
61
62
|
module.exports.FileIcon = require('./FileIcon.js');
|
|
62
63
|
module.exports.FileArchiveIcon = require('./FileArchiveIcon.js');
|
|
63
64
|
module.exports.FileImageIcon = require('./FileImageIcon.js');
|
package/lib/esm/icons/EyeIcon.js
CHANGED
|
@@ -22,7 +22,7 @@ const EyeIcon = ({
|
|
|
22
22
|
fill: color,
|
|
23
23
|
ref: ref
|
|
24
24
|
}, props), /*#__PURE__*/createElement("path", {
|
|
25
|
-
d: "M12
|
|
25
|
+
d: "M12 9a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0 8a5 5 0 0 1-5-5 5 5 0 0 1 5-5 5 5 0 0 1 5 5 5 5 0 0 1-5 5m0-12.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5Z"
|
|
26
26
|
}));
|
|
27
27
|
};
|
|
28
28
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createElement, forwardRef, useContext, useMemo } from 'react';
|
|
2
|
+
import { IconContext } from '../index.js';
|
|
3
|
+
import get from 'lodash.get';
|
|
4
|
+
|
|
5
|
+
const EyeOffIcon = ({
|
|
6
|
+
color: defaultColor,
|
|
7
|
+
size,
|
|
8
|
+
...props
|
|
9
|
+
}, ref) => {
|
|
10
|
+
const defaultContextValues = useContext(IconContext);
|
|
11
|
+
const defaultValues = { ...defaultContextValues,
|
|
12
|
+
color: defaultColor || defaultContextValues.color,
|
|
13
|
+
size: size || defaultContextValues.size,
|
|
14
|
+
...props
|
|
15
|
+
};
|
|
16
|
+
const color = useMemo(() => get(defaultValues.palette, defaultValues.color, defaultValues.color), [defaultValues.color, defaultValues.palette]);
|
|
17
|
+
return /*#__PURE__*/createElement("svg", Object.assign({
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
viewBox: "0 0 24 24",
|
|
20
|
+
width: defaultValues.size,
|
|
21
|
+
height: defaultValues.size,
|
|
22
|
+
fill: color,
|
|
23
|
+
ref: ref
|
|
24
|
+
}, props), /*#__PURE__*/createElement("path", {
|
|
25
|
+
d: "M11.83 9 15 12.16V12a3 3 0 0 0-3-3h-.17m-4.3.8 1.55 1.55c-.05.21-.08.42-.08.65a3 3 0 0 0 3 3c.22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53a5 5 0 0 1-5-5c0-.79.2-1.53.53-2.2M2 4.27l2.28 2.28.45.45C3.08 8.3 1.78 10 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.43.42L19.73 22 21 20.73 3.27 3M12 7a5 5 0 0 1 5 5c0 .64-.13 1.26-.36 1.82l2.93 2.93c1.5-1.25 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-4 .7l2.17 2.15C10.74 7.13 11.35 7 12 7Z"
|
|
26
|
+
}));
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
const ForwardRef = /*#__PURE__*/forwardRef(EyeOffIcon);
|
|
30
|
+
export default ForwardRef;
|
|
@@ -16,21 +16,18 @@ const LogoIcon = ({
|
|
|
16
16
|
const color = useMemo(() => get(defaultValues.palette, defaultValues.color, defaultValues.color), [defaultValues.color, defaultValues.palette]);
|
|
17
17
|
return /*#__PURE__*/createElement("svg", Object.assign({
|
|
18
18
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
-
viewBox: "0 0
|
|
19
|
+
viewBox: "0 0 138.9 78.66",
|
|
20
20
|
width: defaultValues.size,
|
|
21
21
|
height: defaultValues.size,
|
|
22
22
|
fill: color,
|
|
23
23
|
ref: ref
|
|
24
24
|
}, props), /*#__PURE__*/createElement("path", {
|
|
25
|
-
d: "
|
|
25
|
+
d: "M34.02 31.36h3.25v15.95h-3.25zm16.83 0h3.27l3.41 6.94 3.53-6.94h3.23v15.95h-3.41V37.24l-3.04 5.95h-.59l-2.98-5.95v10.07h-3.42V31.36zM75.57 34v-2.64h10.57v2.61h-3.52v13.34H79.1V34h-3.53zm21.84 13.31V31.36h8.36v2.61h-4.81v3.98h4.5v2.62h-4.5v6.74h-3.55z"
|
|
26
26
|
}), /*#__PURE__*/createElement("path", {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}), /*#__PURE__*/createElement("path", {
|
|
32
|
-
fill: "#D93753",
|
|
33
|
-
d: "M159 65h-11.564v-4.432h7.228V4.432h-7.228V0H159z"
|
|
27
|
+
d: "M19.84 19.84v38.98h8.86v-2.61h-5.61V22.48h5.61v-2.64h-8.86zm99.22 38.98V19.84h-8.86v2.64h5.61v33.73h-5.61v2.61h8.86z",
|
|
28
|
+
style: {
|
|
29
|
+
fill: "#d73d54"
|
|
30
|
+
}
|
|
34
31
|
}));
|
|
35
32
|
};
|
|
36
33
|
|
package/lib/esm/icons/index.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export { default as EraseIcon } from './EraseIcon';
|
|
|
58
58
|
export { default as ExpandContentIcon } from './ExpandContentIcon';
|
|
59
59
|
export { default as ExternalLinkIcon } from './ExternalLinkIcon';
|
|
60
60
|
export { default as EyeIcon } from './EyeIcon';
|
|
61
|
+
export { default as EyeOffIcon } from './EyeOffIcon';
|
|
61
62
|
export { default as FileIcon } from './FileIcon';
|
|
62
63
|
export { default as FileArchiveIcon } from './FileArchiveIcon';
|
|
63
64
|
export { default as FileImageIcon } from './FileImageIcon';
|
package/lib/esm/icons/index.js
CHANGED
|
@@ -58,6 +58,7 @@ export { default as EraseIcon } from './EraseIcon.js';
|
|
|
58
58
|
export { default as ExpandContentIcon } from './ExpandContentIcon.js';
|
|
59
59
|
export { default as ExternalLinkIcon } from './ExternalLinkIcon.js';
|
|
60
60
|
export { default as EyeIcon } from './EyeIcon.js';
|
|
61
|
+
export { default as EyeOffIcon } from './EyeOffIcon.js';
|
|
61
62
|
export { default as FileIcon } from './FileIcon.js';
|
|
62
63
|
export { default as FileArchiveIcon } from './FileArchiveIcon.js';
|
|
63
64
|
export { default as FileImageIcon } from './FileImageIcon.js';
|
package/package.json
CHANGED
package/svg/Eye.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
-
<path d="M12
|
|
2
|
+
<path d="M12 9a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0 8a5 5 0 0 1-5-5 5 5 0 0 1 5-5 5 5 0 0 1 5 5 5 5 0 0 1-5 5m0-12.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5Z"/>
|
|
3
3
|
</svg>
|
package/svg/EyeOff.svg
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
+
<path d="M11.83 9 15 12.16V12a3 3 0 0 0-3-3h-.17m-4.3.8 1.55 1.55c-.05.21-.08.42-.08.65a3 3 0 0 0 3 3c.22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53a5 5 0 0 1-5-5c0-.79.2-1.53.53-2.2M2 4.27l2.28 2.28.45.45C3.08 8.3 1.78 10 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.43.42L19.73 22 21 20.73 3.27 3M12 7a5 5 0 0 1 5 5c0 .64-.13 1.26-.36 1.82l2.93 2.93c1.5-1.25 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-4 .7l2.17 2.15C10.74 7.13 11.35 7 12 7Z"/>
|
|
3
|
+
</svg>
|
package/svg/Logo.svg
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
2
|
-
<path d="
|
|
3
|
-
<path
|
|
4
|
-
<path d="M108.122793 19.1411043v4.3865031l-5.865712-.000209.000099 22.1321109h-5.4745713l-.0002993-22.1321109-5.8653134.000209v-4.3865031h17.205797Zm32.065349 0v4.3865031l-8.211957-.000209v6.5798933l7.625396.0000703v4.3865031l-7.625396-.0002792.0001 11.1659234h-5.474572v-26.518405h13.686429Z"/>
|
|
5
|
-
<path fill="#D93753" d="M159 65h-11.564v-4.432h7.228V4.432h-7.228V0H159z"/>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 138.9 78.66">
|
|
2
|
+
<path d="M34.02 31.36h3.25v15.95h-3.25zm16.83 0h3.27l3.41 6.94 3.53-6.94h3.23v15.95h-3.41V37.24l-3.04 5.95h-.59l-2.98-5.95v10.07h-3.42V31.36zM75.57 34v-2.64h10.57v2.61h-3.52v13.34H79.1V34h-3.53zm21.84 13.31V31.36h8.36v2.61h-4.81v3.98h4.5v2.62h-4.5v6.74h-3.55z"/>
|
|
3
|
+
<path d="M19.84 19.84v38.98h8.86v-2.61h-5.61V22.48h5.61v-2.64h-8.86zm99.22 38.98V19.84h-8.86v2.64h5.61v33.73h-5.61v2.61h8.86z" style="fill:#d73d54"/>
|
|
6
4
|
</svg>
|
package/svg/Logo1.svg
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 138.9 78.66">
|
|
2
|
+
<path d="M34.02 31.36h3.25v15.95h-3.25zm16.83 0h3.27l3.41 6.94 3.53-6.94h3.23v15.95h-3.41V37.24l-3.04 5.95h-.59l-2.98-5.95v10.07h-3.42V31.36zM75.57 34v-2.64h10.57v2.61h-3.52v13.34H79.1V34h-3.53zm21.84 13.31V31.36h8.36v2.61h-4.81v3.98h4.5v2.62h-4.5v6.74h-3.55z"/>
|
|
3
|
+
<path d="M19.84 19.84v38.98h8.86v-2.61h-5.61V22.48h5.61v-2.64h-8.86zm99.22 38.98V19.84h-8.86v2.64h5.61v33.73h-5.61v2.61h8.86z" style="fill:#d73d54"/>
|
|
4
|
+
</svg>
|
package/svg/eye.json
CHANGED
package/svg/eyeOff.json
ADDED
package/svg/logo.json
CHANGED
package/svg/logo1.json
ADDED