@imtf/icons 0.2.15 → 0.2.16
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/AccountEntityIcon.d.ts +4 -0
- package/lib/cjs/icons/AccountEntityIcon.js +40 -0
- package/lib/cjs/icons/index.d.ts +2 -1
- package/lib/cjs/icons/index.js +2 -1
- package/lib/esm/icons/AccountEntityIcon.d.ts +4 -0
- package/lib/esm/icons/AccountEntityIcon.js +31 -0
- package/lib/esm/icons/index.d.ts +2 -1
- package/lib/esm/icons/index.js +2 -1
- package/package.json +1 -1
- package/svg/AccountEntity.svg +3 -0
- package/svg/Development.svg +3 -0
- package/svg/accountEntity.json +4 -0
- package/svg/development.json +4 -0
- package/changelog.md +0 -93
- /package/svg/{Logo.json → logo.json} +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const {
|
|
2
|
+
createElement,
|
|
3
|
+
forwardRef,
|
|
4
|
+
useContext,
|
|
5
|
+
useMemo
|
|
6
|
+
} = require('react');
|
|
7
|
+
|
|
8
|
+
const {
|
|
9
|
+
IconContext
|
|
10
|
+
} = require('../providers');
|
|
11
|
+
|
|
12
|
+
const get = require('lodash.get');
|
|
13
|
+
|
|
14
|
+
const AccountEntityIcon = ({
|
|
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
|
+
color: color,
|
|
33
|
+
ref: ref
|
|
34
|
+
}, props), /*#__PURE__*/createElement("path", {
|
|
35
|
+
d: "m19.125 15.063 1.406 1.406L16 21l-3-3 1.406-1.406L16 18.187l3.125-3.125zM17 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm-6-4c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2zm0-2c-2.206 0-4 1.794-4 4s1.794 4 4 4c.3 0 .594-.03.875-.094.66-1.09 1.653-1.978 2.844-2.47.174-.45.28-.923.28-1.436 0-2.206-1.796-4-4-4zM4 7c-.552 0-1 .448-1 1v6c0 .552.448 1 1 1s1-.448 1-1V8c0-.552-.448-1-1-1zM0 3v16h1v1h3v-1h7.094c-.055-.326-.094-.66-.094-1 0-.34.04-.674.094-1H2V5h15v7c.702 0 1.374.122 2 .344V8h1V6h-1V3H0z"
|
|
36
|
+
}));
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
const ForwardRef = forwardRef(AccountEntityIcon);
|
|
40
|
+
module.exports = ForwardRef;
|
package/lib/cjs/icons/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as CollectSignatureIcon } from './CollectSignatureIcon';
|
|
2
2
|
export { default as EditSignatureIcon } from './EditSignatureIcon';
|
|
3
|
-
export { default as LogoIcon } from './LogoIcon';
|
|
4
3
|
export { default as AccountIcon } from './AccountIcon';
|
|
4
|
+
export { default as AccountEntityIcon } from './AccountEntityIcon';
|
|
5
5
|
export { default as ActiveOriginArchiveIcon } from './ActiveOriginArchiveIcon';
|
|
6
6
|
export { default as AddIcon } from './AddIcon';
|
|
7
7
|
export { default as AddCircleIcon } from './AddCircleIcon';
|
|
@@ -101,6 +101,7 @@ export { default as InkIcon } from './InkIcon';
|
|
|
101
101
|
export { default as LegalEntityIcon } from './LegalEntityIcon';
|
|
102
102
|
export { default as LinkIcon } from './LinkIcon';
|
|
103
103
|
export { default as LockIcon } from './LockIcon';
|
|
104
|
+
export { default as LogoIcon } from './LogoIcon';
|
|
104
105
|
export { default as LogoutIcon } from './LogoutIcon';
|
|
105
106
|
export { default as MarkerIcon } from './MarkerIcon';
|
|
106
107
|
export { default as MenuIcon } from './MenuIcon';
|
package/lib/cjs/icons/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module.exports.CollectSignatureIcon = require('./CollectSignatureIcon.js');
|
|
2
2
|
module.exports.EditSignatureIcon = require('./EditSignatureIcon.js');
|
|
3
|
-
module.exports.LogoIcon = require('./LogoIcon.js');
|
|
4
3
|
module.exports.AccountIcon = require('./AccountIcon.js');
|
|
4
|
+
module.exports.AccountEntityIcon = require('./AccountEntityIcon.js');
|
|
5
5
|
module.exports.ActiveOriginArchiveIcon = require('./ActiveOriginArchiveIcon.js');
|
|
6
6
|
module.exports.AddIcon = require('./AddIcon.js');
|
|
7
7
|
module.exports.AddCircleIcon = require('./AddCircleIcon.js');
|
|
@@ -101,6 +101,7 @@ module.exports.InkIcon = require('./InkIcon.js');
|
|
|
101
101
|
module.exports.LegalEntityIcon = require('./LegalEntityIcon.js');
|
|
102
102
|
module.exports.LinkIcon = require('./LinkIcon.js');
|
|
103
103
|
module.exports.LockIcon = require('./LockIcon.js');
|
|
104
|
+
module.exports.LogoIcon = require('./LogoIcon.js');
|
|
104
105
|
module.exports.LogoutIcon = require('./LogoutIcon.js');
|
|
105
106
|
module.exports.MarkerIcon = require('./MarkerIcon.js');
|
|
106
107
|
module.exports.MenuIcon = require('./MenuIcon.js');
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createElement, forwardRef, useContext, useMemo } from 'react';
|
|
2
|
+
import { IconContext } from '../providers';
|
|
3
|
+
import get from 'lodash.get';
|
|
4
|
+
|
|
5
|
+
const AccountEntityIcon = ({
|
|
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
|
+
color: color,
|
|
24
|
+
ref: ref
|
|
25
|
+
}, props), /*#__PURE__*/createElement("path", {
|
|
26
|
+
d: "m19.125 15.063 1.406 1.406L16 21l-3-3 1.406-1.406L16 18.187l3.125-3.125zM17 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm-6-4c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2zm0-2c-2.206 0-4 1.794-4 4s1.794 4 4 4c.3 0 .594-.03.875-.094.66-1.09 1.653-1.978 2.844-2.47.174-.45.28-.923.28-1.436 0-2.206-1.796-4-4-4zM4 7c-.552 0-1 .448-1 1v6c0 .552.448 1 1 1s1-.448 1-1V8c0-.552-.448-1-1-1zM0 3v16h1v1h3v-1h7.094c-.055-.326-.094-.66-.094-1 0-.34.04-.674.094-1H2V5h15v7c.702 0 1.374.122 2 .344V8h1V6h-1V3H0z"
|
|
27
|
+
}));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const ForwardRef = /*#__PURE__*/forwardRef(AccountEntityIcon);
|
|
31
|
+
export default ForwardRef;
|
package/lib/esm/icons/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as CollectSignatureIcon } from './CollectSignatureIcon';
|
|
2
2
|
export { default as EditSignatureIcon } from './EditSignatureIcon';
|
|
3
|
-
export { default as LogoIcon } from './LogoIcon';
|
|
4
3
|
export { default as AccountIcon } from './AccountIcon';
|
|
4
|
+
export { default as AccountEntityIcon } from './AccountEntityIcon';
|
|
5
5
|
export { default as ActiveOriginArchiveIcon } from './ActiveOriginArchiveIcon';
|
|
6
6
|
export { default as AddIcon } from './AddIcon';
|
|
7
7
|
export { default as AddCircleIcon } from './AddCircleIcon';
|
|
@@ -101,6 +101,7 @@ export { default as InkIcon } from './InkIcon';
|
|
|
101
101
|
export { default as LegalEntityIcon } from './LegalEntityIcon';
|
|
102
102
|
export { default as LinkIcon } from './LinkIcon';
|
|
103
103
|
export { default as LockIcon } from './LockIcon';
|
|
104
|
+
export { default as LogoIcon } from './LogoIcon';
|
|
104
105
|
export { default as LogoutIcon } from './LogoutIcon';
|
|
105
106
|
export { default as MarkerIcon } from './MarkerIcon';
|
|
106
107
|
export { default as MenuIcon } from './MenuIcon';
|
package/lib/esm/icons/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as CollectSignatureIcon } from './CollectSignatureIcon.js';
|
|
2
2
|
export { default as EditSignatureIcon } from './EditSignatureIcon.js';
|
|
3
|
-
export { default as LogoIcon } from './LogoIcon.js';
|
|
4
3
|
export { default as AccountIcon } from './AccountIcon.js';
|
|
4
|
+
export { default as AccountEntityIcon } from './AccountEntityIcon.js';
|
|
5
5
|
export { default as ActiveOriginArchiveIcon } from './ActiveOriginArchiveIcon.js';
|
|
6
6
|
export { default as AddIcon } from './AddIcon.js';
|
|
7
7
|
export { default as AddCircleIcon } from './AddCircleIcon.js';
|
|
@@ -101,6 +101,7 @@ export { default as InkIcon } from './InkIcon.js';
|
|
|
101
101
|
export { default as LegalEntityIcon } from './LegalEntityIcon.js';
|
|
102
102
|
export { default as LinkIcon } from './LinkIcon.js';
|
|
103
103
|
export { default as LockIcon } from './LockIcon.js';
|
|
104
|
+
export { default as LogoIcon } from './LogoIcon.js';
|
|
104
105
|
export { default as LogoutIcon } from './LogoutIcon.js';
|
|
105
106
|
export { default as MarkerIcon } from './MarkerIcon.js';
|
|
106
107
|
export { default as MenuIcon } from './MenuIcon.js';
|
package/package.json
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
+
<path d="m19.125 15.063 1.406 1.406L16 21l-3-3 1.406-1.406L16 18.187l3.125-3.125zM17 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm-6-4c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2zm0-2c-2.206 0-4 1.794-4 4s1.794 4 4 4c.3 0 .594-.03.875-.094.66-1.09 1.653-1.978 2.844-2.47.174-.45.28-.923.28-1.436 0-2.206-1.796-4-4-4zM4 7c-.552 0-1 .448-1 1v6c0 .552.448 1 1 1s1-.448 1-1V8c0-.552-.448-1-1-1zM0 3v16h1v1h3v-1h7.094c-.055-.326-.094-.66-.094-1 0-.34.04-.674.094-1H2V5h15v7c.702 0 1.374.122 2 .344V8h1V6h-1V3H0z"/>
|
|
3
|
+
</svg>
|
package/changelog.md
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
# Icons changelog
|
|
2
|
-
|
|
3
|
-
## 0.2.15
|
|
4
|
-
|
|
5
|
-
- Fix type issues
|
|
6
|
-
|
|
7
|
-
## 0.2.14
|
|
8
|
-
|
|
9
|
-
- Add signature icons
|
|
10
|
-
- [DIG-1398] Add IconProps and IconType types
|
|
11
|
-
|
|
12
|
-
## 0.2.13
|
|
13
|
-
|
|
14
|
-
- Fix circular dependencies issue
|
|
15
|
-
|
|
16
|
-
## 0.2.12
|
|
17
|
-
|
|
18
|
-
- [DIG-1271] Add task approval flow icons
|
|
19
|
-
|
|
20
|
-
## 0.2.11
|
|
21
|
-
|
|
22
|
-
- [DIG-1158] Fix color issue with icons
|
|
23
|
-
- Fix website starting issues
|
|
24
|
-
|
|
25
|
-
## 0.2.10
|
|
26
|
-
|
|
27
|
-
- [DIG-1158] Add archive, active and passive documents icons
|
|
28
|
-
|
|
29
|
-
## 0.2.9
|
|
30
|
-
|
|
31
|
-
- Added Workbench & Code icons
|
|
32
|
-
|
|
33
|
-
## 0.2.8
|
|
34
|
-
|
|
35
|
-
- fix: `sideEffects` in package.json must be a boolean or an array
|
|
36
|
-
|
|
37
|
-
## 0.2.7
|
|
38
|
-
|
|
39
|
-
- Updated Group icon
|
|
40
|
-
- Add GroupAdd, GroupRemove, LegalEntity, NaturalPerson icons
|
|
41
|
-
|
|
42
|
-
## 0.2.6
|
|
43
|
-
|
|
44
|
-
- Add Incoming & Outgoing icons
|
|
45
|
-
|
|
46
|
-
## 0.2.5
|
|
47
|
-
|
|
48
|
-
- Add paddingless logo v0.2.5
|
|
49
|
-
|
|
50
|
-
## 0.2.4
|
|
51
|
-
|
|
52
|
-
- Rename logo icon to fix build issue
|
|
53
|
-
|
|
54
|
-
## 0.2.3
|
|
55
|
-
|
|
56
|
-
- Add correct IMTF logo version
|
|
57
|
-
|
|
58
|
-
## 0.2.2
|
|
59
|
-
|
|
60
|
-
- Added Eye Off icon
|
|
61
|
-
|
|
62
|
-
## 0.2.1
|
|
63
|
-
|
|
64
|
-
- Added React 18 to peer dependencies.
|
|
65
|
-
|
|
66
|
-
## 0.2.0
|
|
67
|
-
|
|
68
|
-
- Forwarded ref to svg component / icons
|
|
69
|
-
|
|
70
|
-
## 0.1.3
|
|
71
|
-
|
|
72
|
-
- Fix logo icon color
|
|
73
|
-
|
|
74
|
-
## 0.1.2
|
|
75
|
-
|
|
76
|
-
- Fix changelog issue
|
|
77
|
-
- Add new logo icon
|
|
78
|
-
|
|
79
|
-
## 0.1.1
|
|
80
|
-
|
|
81
|
-
- Add props interface to ts icons
|
|
82
|
-
|
|
83
|
-
## 0.1.0
|
|
84
|
-
|
|
85
|
-
- Added modules icons
|
|
86
|
-
|
|
87
|
-
## 0.0.8
|
|
88
|
-
|
|
89
|
-
- Remove side effects to enable tree shaking
|
|
90
|
-
|
|
91
|
-
## 0.0.7
|
|
92
|
-
|
|
93
|
-
- main export added to package js (was preventing test passing in @imtf/react-component)
|
|
File without changes
|