@npm_leadtech/legal-lib-components 1.4.0 → 1.5.0
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.
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
export const LogoutSvg = () => (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
7
|
+
xmlnsXlink='http://www.w3.org/1999/xlink'
|
|
8
|
+
width='24'
|
|
9
|
+
height='24'
|
|
10
|
+
viewBox='0 0 24 24'
|
|
11
|
+
>
|
|
12
|
+
<defs>
|
|
13
|
+
<path
|
|
14
|
+
id='prefix__a__logout'
|
|
15
|
+
d='M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 8l4 4-4 4v-3H1v-2h10V8z'
|
|
16
|
+
/>
|
|
17
|
+
</defs>
|
|
18
|
+
<g fill='none' fillRule='evenodd'>
|
|
19
|
+
<path d='M0 0H24V24H0z' />
|
|
20
|
+
<mask id='prefix__b__logout' fill='#fff'>
|
|
21
|
+
<use xlinkHref='#prefix__a__logout' />
|
|
22
|
+
</mask>
|
|
23
|
+
<g fill='#B5BABD' mask='url(#prefix__b__logout)'>
|
|
24
|
+
<path d='M0 0H24V24H0z' />
|
|
25
|
+
</g>
|
|
26
|
+
</g>
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
export const NewDocumentSvg = () => (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
7
|
+
xmlnsXlink='http://www.w3.org/1999/xlink'
|
|
8
|
+
width='24'
|
|
9
|
+
height='24'
|
|
10
|
+
viewBox='0 0 24 24'
|
|
11
|
+
>
|
|
12
|
+
<defs>
|
|
13
|
+
<path
|
|
14
|
+
id='prefix__a'
|
|
15
|
+
d='M8 13h8v2H8v-2zm5-3v8h-2v-8h2zm1-8H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z'
|
|
16
|
+
/>
|
|
17
|
+
</defs>
|
|
18
|
+
<g fill='none' fillRule='evenodd'>
|
|
19
|
+
<path d='M0 0H24V24H0z' />
|
|
20
|
+
<mask id='prefix__b' fill='#fff'>
|
|
21
|
+
<use xlinkHref='#prefix__a' />
|
|
22
|
+
</mask>
|
|
23
|
+
<g fill='#F3F7FA' mask='url(#prefix__b)'>
|
|
24
|
+
<path d='M0 0H24V24H0z' />
|
|
25
|
+
</g>
|
|
26
|
+
</g>
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-lib-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@testing-library/jest-dom": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"react-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
5
|
+
"@testing-library/jest-dom": "5.14.1",
|
|
6
|
+
"@tippyjs/react": "4.2.6",
|
|
7
|
+
"postcss-url": "10.1.3",
|
|
8
|
+
"react-datepicker": "4.6.0",
|
|
9
|
+
"react-select": "3.1.0",
|
|
10
|
+
"sanitize-html": "2.4.0",
|
|
11
|
+
"styled-components": "5.3.3"
|
|
11
12
|
},
|
|
12
13
|
"license": "MIT",
|
|
13
14
|
"browserslist": {
|
|
@@ -23,60 +24,60 @@
|
|
|
23
24
|
]
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
|
-
"@babel/cli": "
|
|
27
|
-
"@babel/core": "
|
|
28
|
-
"@babel/preset-env": "
|
|
29
|
-
"@babel/preset-react": "
|
|
30
|
-
"@rollup/plugin-babel": "
|
|
31
|
-
"@rollup/plugin-commonjs": "
|
|
32
|
-
"@rollup/plugin-image": "
|
|
33
|
-
"@rollup/plugin-node-resolve": "
|
|
34
|
-
"@rollup/plugin-url": "
|
|
35
|
-
"@storybook/addon-actions": "
|
|
36
|
-
"@storybook/addon-essentials": "
|
|
37
|
-
"@storybook/addon-links": "
|
|
38
|
-
"@storybook/react": "
|
|
39
|
-
"@testing-library/jest-dom": "
|
|
40
|
-
"@testing-library/react": "
|
|
41
|
-
"autoprefixer": "
|
|
42
|
-
"babel-eslint": "
|
|
43
|
-
"babel-loader": "
|
|
44
|
-
"babel-preset-react-app": "
|
|
45
|
-
"classnames": "
|
|
46
|
-
"clean-webpack-plugin": "
|
|
47
|
-
"cross-env": "
|
|
48
|
-
"css-loader": "
|
|
49
|
-
"enzyme": "
|
|
50
|
-
"eslint": "
|
|
51
|
-
"eslint-config-prettier": "
|
|
52
|
-
"eslint-plugin-prettier": "
|
|
53
|
-
"eslint-plugin-react": "
|
|
54
|
-
"eslint-plugin-react-hooks": "
|
|
55
|
-
"gatsby-link": "
|
|
56
|
-
"husky": "
|
|
57
|
-
"identity-obj-proxy": "
|
|
58
|
-
"jest": "
|
|
59
|
-
"jest-svg-transformer": "
|
|
60
|
-
"node-sass": "
|
|
61
|
-
"path": "
|
|
62
|
-
"postcss": "
|
|
63
|
-
"postcss-loader": "
|
|
64
|
-
"prettier": "
|
|
65
|
-
"prop-types": "
|
|
66
|
-
"react": "
|
|
67
|
-
"react-dom": "
|
|
68
|
-
"react-test-renderer": "
|
|
69
|
-
"rollup": "
|
|
70
|
-
"rollup-plugin-babel": "
|
|
71
|
-
"rollup-plugin-peer-deps-external": "
|
|
72
|
-
"rollup-plugin-postcss": "
|
|
73
|
-
"rollup-plugin-uglify": "
|
|
27
|
+
"@babel/cli": "7.12.16",
|
|
28
|
+
"@babel/core": "7.12.16",
|
|
29
|
+
"@babel/preset-env": "7.12.16",
|
|
30
|
+
"@babel/preset-react": "7.12.13",
|
|
31
|
+
"@rollup/plugin-babel": "5.2.3",
|
|
32
|
+
"@rollup/plugin-commonjs": "17.1.0",
|
|
33
|
+
"@rollup/plugin-image": "2.1.1",
|
|
34
|
+
"@rollup/plugin-node-resolve": "11.1.1",
|
|
35
|
+
"@rollup/plugin-url": "6.0.0",
|
|
36
|
+
"@storybook/addon-actions": "6.1.17",
|
|
37
|
+
"@storybook/addon-essentials": "6.1.17",
|
|
38
|
+
"@storybook/addon-links": "6.1.17",
|
|
39
|
+
"@storybook/react": "6.1.17",
|
|
40
|
+
"@testing-library/jest-dom": "5.14.1",
|
|
41
|
+
"@testing-library/react": "11.2.5",
|
|
42
|
+
"autoprefixer": "10.2.4",
|
|
43
|
+
"babel-eslint": "10.1.0",
|
|
44
|
+
"babel-loader": "8.2.2",
|
|
45
|
+
"babel-preset-react-app": "10.0.0",
|
|
46
|
+
"classnames": "2.2.6",
|
|
47
|
+
"clean-webpack-plugin": "3.0.0",
|
|
48
|
+
"cross-env": "7.0.3",
|
|
49
|
+
"css-loader": "5.2.6",
|
|
50
|
+
"enzyme": "3.11.0",
|
|
51
|
+
"eslint": "7.19.0",
|
|
52
|
+
"eslint-config-prettier": "7.2.0",
|
|
53
|
+
"eslint-plugin-prettier": "3.3.1",
|
|
54
|
+
"eslint-plugin-react": "7.22.0",
|
|
55
|
+
"eslint-plugin-react-hooks": "4.2.0",
|
|
56
|
+
"gatsby-link": "2.11.0",
|
|
57
|
+
"husky": "4.3.8",
|
|
58
|
+
"identity-obj-proxy": "3.0.0",
|
|
59
|
+
"jest": "27.0.4",
|
|
60
|
+
"jest-svg-transformer": "1.0.0",
|
|
61
|
+
"node-sass": "5.0.0",
|
|
62
|
+
"path": "0.12.7",
|
|
63
|
+
"postcss": "8.4.5",
|
|
64
|
+
"postcss-loader": "5.0.0",
|
|
65
|
+
"prettier": "2.2.1",
|
|
66
|
+
"prop-types": "15.7.2",
|
|
67
|
+
"react": "16.12.0",
|
|
68
|
+
"react-dom": "16.12.0",
|
|
69
|
+
"react-test-renderer": "17.0.1",
|
|
70
|
+
"rollup": "2.39.0",
|
|
71
|
+
"rollup-plugin-babel": "4.4.0",
|
|
72
|
+
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
73
|
+
"rollup-plugin-postcss": "4.0.2",
|
|
74
|
+
"rollup-plugin-uglify": "6.0.4",
|
|
74
75
|
"sass-loader": "10.1.1",
|
|
75
|
-
"style-loader": "
|
|
76
|
+
"style-loader": "2.0.0"
|
|
76
77
|
},
|
|
77
78
|
"peerDependencies": {
|
|
78
|
-
"react": "
|
|
79
|
-
"react-dom": "
|
|
79
|
+
"react": "16.12.0",
|
|
80
|
+
"react-dom": "16.12.0"
|
|
80
81
|
},
|
|
81
82
|
"scripts": {
|
|
82
83
|
"start": "start-storybook -p 6006",
|
|
@@ -91,7 +92,7 @@
|
|
|
91
92
|
"jest": {
|
|
92
93
|
"moduleNameMapper": {
|
|
93
94
|
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy",
|
|
94
|
-
"
|
|
95
|
+
".+\\.svg$": "jest-svg-transformer"
|
|
95
96
|
}
|
|
96
97
|
},
|
|
97
98
|
"main": "build/index.js"
|