@platformatic/ui-components 0.1.105 → 0.1.106
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/dist/assets/index-68be35eb.js +206 -0
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/src/components/PlatformaticIcon.jsx +4 -4
- package/src/components/forms/RadioGroup.jsx +1 -1
- package/src/components/forms/TextArea.jsx +1 -1
- package/src/components/icons/AddIcon.jsx +6 -6
- package/src/components/icons/AlertIcon.jsx +6 -6
- package/src/components/icons/AllInOneIcon.jsx +6 -6
- package/src/components/icons/ApiCloudIcon.jsx +6 -6
- package/src/components/icons/ApiEmptyIcon.jsx +4 -4
- package/src/components/icons/ApiIcon.jsx +6 -6
- package/src/components/icons/AppEmptyIcon.jsx +4 -4
- package/src/components/icons/AppIcon.jsx +6 -6
- package/src/components/icons/AppListIcon.jsx +4 -4
- package/src/components/icons/ArrowDownFullIcon.jsx +6 -6
- package/src/components/icons/ArrowDownIcon.jsx +6 -6
- package/src/components/icons/ArrowLeftIcon.jsx +6 -6
- package/src/components/icons/ArrowRightIcon.jsx +6 -6
- package/src/components/icons/ArrowUpIcon.jsx +6 -6
- package/src/components/icons/BellIcon.jsx +6 -6
- package/src/components/icons/BillingIcon.jsx +6 -6
- package/src/components/icons/Calendar1DayIcon.jsx +6 -6
- package/src/components/icons/Calendar7DaysIcon.jsx +6 -6
- package/src/components/icons/CalendarIcon.jsx +6 -6
- package/src/components/icons/ChatGPTIcon.jsx +77 -0
- package/src/components/icons/CheckListIcon.jsx +6 -6
- package/src/components/icons/CircleAddIcon.jsx +6 -6
- package/src/components/icons/CircleArrowLeftIcon.jsx +6 -6
- package/src/components/icons/CircleArrowRightIcon.jsx +6 -6
- package/src/components/icons/CircleCheckMarkFullIcon.jsx +4 -4
- package/src/components/icons/CircleCheckMarkIcon.jsx +6 -6
- package/src/components/icons/CircleCloseHoverIcon.jsx +4 -4
- package/src/components/icons/CircleCloseIcon.jsx +5 -5
- package/src/components/icons/CircleExclamationIcon.jsx +6 -6
- package/src/components/icons/CircleFullIcon.jsx +3 -3
- package/src/components/icons/CircleGearIcon.jsx +6 -6
- package/src/components/icons/CircleTwoArrowsDownIcon.jsx +6 -6
- package/src/components/icons/CircleTwoArrowsUpIcon.jsx +6 -6
- package/src/components/icons/CloseIcon.jsx +6 -6
- package/src/components/icons/CopyPasteIcon.jsx +6 -6
- package/src/components/icons/CreditCardIcon.jsx +6 -6
- package/src/components/icons/DatabaseIcon.jsx +6 -6
- package/src/components/icons/EditIcon.jsx +6 -6
- package/src/components/icons/EnlargeIcon.jsx +6 -6
- package/src/components/icons/EntryIcon.jsx +6 -6
- package/src/components/icons/ExploreDocIcon.jsx +6 -6
- package/src/components/icons/GearIcon.jsx +6 -6
- package/src/components/icons/GenerationLoadingIcon.jsx +3 -3
- package/src/components/icons/GiveOwnershipIcon.jsx +6 -6
- package/src/components/icons/GraphQLIcon.jsx +6 -6
- package/src/components/icons/KeyIcon.jsx +6 -6
- package/src/components/icons/LabelIcon.jsx +3 -3
- package/src/components/icons/LayersIcon.jsx +6 -6
- package/src/components/icons/LensIcon.jsx +6 -6
- package/src/components/icons/LiveIcon.jsx +6 -6
- package/src/components/icons/LoadingAppIcon.jsx +5 -5
- package/src/components/icons/LogOutIcon.jsx +6 -6
- package/src/components/icons/MetricsIcon.jsx +6 -6
- package/src/components/icons/MetricsLoadingIcon.jsx +3 -3
- package/src/components/icons/OrganizationIcon.jsx +6 -6
- package/src/components/icons/PlayIcon.jsx +6 -6
- package/src/components/icons/PullRequestIcon.jsx +6 -6
- package/src/components/icons/PullRequestLoadingIcon.jsx +4 -4
- package/src/components/icons/RequestOwnershipIcon.jsx +6 -6
- package/src/components/icons/RestartIcon.jsx +6 -6
- package/src/components/icons/RocketIcon.jsx +6 -6
- package/src/components/icons/RunningIcon.jsx +6 -6
- package/src/components/icons/SendIcon.jsx +6 -6
- package/src/components/icons/ServiceIcon.jsx +6 -6
- package/src/components/icons/SlotIcon.jsx +6 -6
- package/src/components/icons/SocialDiscordIcon.jsx +6 -6
- package/src/components/icons/SocialGitHubIcon.jsx +6 -6
- package/src/components/icons/SocialGitLabIcon.jsx +6 -6
- package/src/components/icons/SocialLinkedInIcon.jsx +6 -6
- package/src/components/icons/SocialNPMIcon.jsx +6 -6
- package/src/components/icons/SocialTwitterIcon.jsx +6 -6
- package/src/components/icons/StopIcon.jsx +6 -6
- package/src/components/icons/SwitchIcon.jsx +6 -6
- package/src/components/icons/TeamsIcon.jsx +6 -6
- package/src/components/icons/TerminalIcon.jsx +6 -6
- package/src/components/icons/TwoUsersIcon.jsx +6 -6
- package/src/components/icons/UpgradeIcon.jsx +7 -7
- package/src/components/icons/UserIcon.jsx +6 -6
- package/src/components/icons/UserRemoveIcon.jsx +6 -6
- package/src/components/icons/UserRoleIcon.jsx +6 -6
- package/src/components/icons/WorkspaceDynamicIcon.jsx +6 -6
- package/src/components/icons/WorkspaceEmptyIcon.jsx +4 -4
- package/src/components/icons/WorkspaceFailIcon.jsx +7 -7
- package/src/components/icons/WorkspaceGitHubIcon.jsx +7 -7
- package/src/components/icons/WorkspaceLoadingIcon.jsx +4 -4
- package/src/components/icons/WorkspaceReadyIcon.jsx +7 -7
- package/src/components/icons/WorkspaceStaticIcon.jsx +6 -6
- package/src/components/icons/index.js +2 -0
- package/src/stories/PlatformaticIcon.stories.jsx +32 -26
- package/dist/assets/index-3e148026.js +0 -206
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const RocketIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
let icon = <></>
|
|
9
9
|
|
|
10
10
|
switch (size) {
|
|
11
|
-
case
|
|
11
|
+
case SMALL:
|
|
12
12
|
icon = (
|
|
13
13
|
<svg
|
|
14
14
|
width={16}
|
|
@@ -27,7 +27,7 @@ const RocketIcon = ({ color, size }) => {
|
|
|
27
27
|
</svg>
|
|
28
28
|
)
|
|
29
29
|
break
|
|
30
|
-
case
|
|
30
|
+
case MEDIUM:
|
|
31
31
|
icon = (
|
|
32
32
|
<svg
|
|
33
33
|
width={24}
|
|
@@ -46,7 +46,7 @@ const RocketIcon = ({ color, size }) => {
|
|
|
46
46
|
</svg>
|
|
47
47
|
)
|
|
48
48
|
break
|
|
49
|
-
case
|
|
49
|
+
case LARGE:
|
|
50
50
|
icon = (
|
|
51
51
|
<svg
|
|
52
52
|
width={40}
|
|
@@ -84,8 +84,8 @@ RocketIcon.propTypes = {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
RocketIcon.defaultProps = {
|
|
87
|
-
color:
|
|
88
|
-
size:
|
|
87
|
+
color: MAIN_DARK_BLUE,
|
|
88
|
+
size: MEDIUM
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
export default RocketIcon
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const RunningIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
let icon = <></>
|
|
9
9
|
|
|
10
10
|
switch (size) {
|
|
11
|
-
case
|
|
11
|
+
case SMALL:
|
|
12
12
|
icon = (
|
|
13
13
|
<svg
|
|
14
14
|
width={16}
|
|
@@ -24,7 +24,7 @@ const RunningIcon = ({ color, size }) => {
|
|
|
24
24
|
</svg>
|
|
25
25
|
)
|
|
26
26
|
break
|
|
27
|
-
case
|
|
27
|
+
case MEDIUM:
|
|
28
28
|
icon = (
|
|
29
29
|
<svg
|
|
30
30
|
width={24}
|
|
@@ -41,7 +41,7 @@ const RunningIcon = ({ color, size }) => {
|
|
|
41
41
|
</svg>
|
|
42
42
|
)
|
|
43
43
|
break
|
|
44
|
-
case
|
|
44
|
+
case LARGE:
|
|
45
45
|
icon = (
|
|
46
46
|
<svg
|
|
47
47
|
width={40}
|
|
@@ -76,8 +76,8 @@ RunningIcon.propTypes = {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
RunningIcon.defaultProps = {
|
|
79
|
-
color:
|
|
80
|
-
size:
|
|
79
|
+
color: MAIN_DARK_BLUE,
|
|
80
|
+
size: MEDIUM
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
export default RunningIcon
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const SendIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
let icon = <></>
|
|
9
9
|
|
|
10
10
|
switch (size) {
|
|
11
|
-
case
|
|
11
|
+
case SMALL:
|
|
12
12
|
icon = (
|
|
13
13
|
<svg
|
|
14
14
|
width={16}
|
|
@@ -22,7 +22,7 @@ const SendIcon = ({ color, size }) => {
|
|
|
22
22
|
</svg>
|
|
23
23
|
)
|
|
24
24
|
break
|
|
25
|
-
case
|
|
25
|
+
case MEDIUM:
|
|
26
26
|
icon = (
|
|
27
27
|
<svg
|
|
28
28
|
width={24}
|
|
@@ -36,7 +36,7 @@ const SendIcon = ({ color, size }) => {
|
|
|
36
36
|
</svg>
|
|
37
37
|
)
|
|
38
38
|
break
|
|
39
|
-
case
|
|
39
|
+
case LARGE:
|
|
40
40
|
icon = (
|
|
41
41
|
<svg
|
|
42
42
|
width={40}
|
|
@@ -69,8 +69,8 @@ SendIcon.propTypes = {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
SendIcon.defaultProps = {
|
|
72
|
-
color:
|
|
73
|
-
size:
|
|
72
|
+
color: MAIN_DARK_BLUE,
|
|
73
|
+
size: MEDIUM
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export default SendIcon
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const ServiceIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
let icon = <></>
|
|
9
9
|
|
|
10
10
|
switch (size) {
|
|
11
|
-
case
|
|
11
|
+
case SMALL:
|
|
12
12
|
icon = (
|
|
13
13
|
<svg
|
|
14
14
|
width={16}
|
|
@@ -27,7 +27,7 @@ const ServiceIcon = ({ color, size }) => {
|
|
|
27
27
|
</svg>
|
|
28
28
|
)
|
|
29
29
|
break
|
|
30
|
-
case
|
|
30
|
+
case MEDIUM:
|
|
31
31
|
icon = (
|
|
32
32
|
<svg
|
|
33
33
|
width={24}
|
|
@@ -46,7 +46,7 @@ const ServiceIcon = ({ color, size }) => {
|
|
|
46
46
|
</svg>
|
|
47
47
|
)
|
|
48
48
|
break
|
|
49
|
-
case
|
|
49
|
+
case LARGE:
|
|
50
50
|
icon = (
|
|
51
51
|
<svg
|
|
52
52
|
width={40}
|
|
@@ -83,8 +83,8 @@ ServiceIcon.propTypes = {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
ServiceIcon.defaultProps = {
|
|
86
|
-
color:
|
|
87
|
-
size:
|
|
86
|
+
color: MAIN_DARK_BLUE,
|
|
87
|
+
size: MEDIUM
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
export default ServiceIcon
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const SlotIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
let icon = <></>
|
|
9
9
|
|
|
10
10
|
switch (size) {
|
|
11
|
-
case
|
|
11
|
+
case SMALL:
|
|
12
12
|
icon = (
|
|
13
13
|
<svg
|
|
14
14
|
width={16}
|
|
@@ -26,7 +26,7 @@ const SlotIcon = ({ color, size }) => {
|
|
|
26
26
|
</svg>
|
|
27
27
|
)
|
|
28
28
|
break
|
|
29
|
-
case
|
|
29
|
+
case MEDIUM:
|
|
30
30
|
icon = (
|
|
31
31
|
<svg
|
|
32
32
|
width={24}
|
|
@@ -44,7 +44,7 @@ const SlotIcon = ({ color, size }) => {
|
|
|
44
44
|
</svg>
|
|
45
45
|
)
|
|
46
46
|
break
|
|
47
|
-
case
|
|
47
|
+
case LARGE:
|
|
48
48
|
icon = (
|
|
49
49
|
<svg
|
|
50
50
|
width={40}
|
|
@@ -81,8 +81,8 @@ SlotIcon.propTypes = {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
SlotIcon.defaultProps = {
|
|
84
|
-
color:
|
|
85
|
-
size:
|
|
84
|
+
color: MAIN_DARK_BLUE,
|
|
85
|
+
size: MEDIUM
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
export default SlotIcon
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const SocialDiscordIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -9,7 +9,7 @@ const SocialDiscordIcon = ({ color, size }) => {
|
|
|
9
9
|
let icon = <></>
|
|
10
10
|
|
|
11
11
|
switch (size) {
|
|
12
|
-
case
|
|
12
|
+
case SMALL:
|
|
13
13
|
icon = (
|
|
14
14
|
<svg
|
|
15
15
|
width={16}
|
|
@@ -24,7 +24,7 @@ const SocialDiscordIcon = ({ color, size }) => {
|
|
|
24
24
|
</svg>
|
|
25
25
|
)
|
|
26
26
|
break
|
|
27
|
-
case
|
|
27
|
+
case MEDIUM:
|
|
28
28
|
icon = (
|
|
29
29
|
<svg
|
|
30
30
|
width={24}
|
|
@@ -39,7 +39,7 @@ const SocialDiscordIcon = ({ color, size }) => {
|
|
|
39
39
|
</svg>
|
|
40
40
|
)
|
|
41
41
|
break
|
|
42
|
-
case
|
|
42
|
+
case LARGE:
|
|
43
43
|
icon = (
|
|
44
44
|
<svg
|
|
45
45
|
width={40}
|
|
@@ -73,8 +73,8 @@ SocialDiscordIcon.propTypes = {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
SocialDiscordIcon.defaultProps = {
|
|
76
|
-
color:
|
|
77
|
-
size:
|
|
76
|
+
color: MAIN_DARK_BLUE,
|
|
77
|
+
size: MEDIUM
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export default SocialDiscordIcon
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const SocialGitHubIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -9,7 +9,7 @@ const SocialGitHubIcon = ({ color, size }) => {
|
|
|
9
9
|
let icon = <></>
|
|
10
10
|
|
|
11
11
|
switch (size) {
|
|
12
|
-
case
|
|
12
|
+
case SMALL:
|
|
13
13
|
icon = (
|
|
14
14
|
<svg
|
|
15
15
|
width={16}
|
|
@@ -30,7 +30,7 @@ const SocialGitHubIcon = ({ color, size }) => {
|
|
|
30
30
|
</svg>
|
|
31
31
|
)
|
|
32
32
|
break
|
|
33
|
-
case
|
|
33
|
+
case MEDIUM:
|
|
34
34
|
icon = (
|
|
35
35
|
<svg
|
|
36
36
|
width={24}
|
|
@@ -52,7 +52,7 @@ const SocialGitHubIcon = ({ color, size }) => {
|
|
|
52
52
|
</svg>
|
|
53
53
|
)
|
|
54
54
|
break
|
|
55
|
-
case
|
|
55
|
+
case LARGE:
|
|
56
56
|
icon = (
|
|
57
57
|
<svg
|
|
58
58
|
width={40}
|
|
@@ -92,8 +92,8 @@ SocialGitHubIcon.propTypes = {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
SocialGitHubIcon.defaultProps = {
|
|
95
|
-
color:
|
|
96
|
-
size:
|
|
95
|
+
color: MAIN_DARK_BLUE,
|
|
96
|
+
size: MEDIUM
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
export default SocialGitHubIcon
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const SocialGitLabIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -9,7 +9,7 @@ const SocialGitLabIcon = ({ color, size }) => {
|
|
|
9
9
|
let icon = <></>
|
|
10
10
|
|
|
11
11
|
switch (size) {
|
|
12
|
-
case
|
|
12
|
+
case SMALL:
|
|
13
13
|
icon = (
|
|
14
14
|
<svg
|
|
15
15
|
width={16}
|
|
@@ -39,7 +39,7 @@ const SocialGitLabIcon = ({ color, size }) => {
|
|
|
39
39
|
</svg>
|
|
40
40
|
)
|
|
41
41
|
break
|
|
42
|
-
case
|
|
42
|
+
case MEDIUM:
|
|
43
43
|
icon = (
|
|
44
44
|
<svg
|
|
45
45
|
width={24}
|
|
@@ -68,7 +68,7 @@ const SocialGitLabIcon = ({ color, size }) => {
|
|
|
68
68
|
</svg>
|
|
69
69
|
)
|
|
70
70
|
break
|
|
71
|
-
case
|
|
71
|
+
case LARGE:
|
|
72
72
|
icon = (
|
|
73
73
|
<svg
|
|
74
74
|
width={40}
|
|
@@ -116,8 +116,8 @@ SocialGitLabIcon.propTypes = {
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
SocialGitLabIcon.defaultProps = {
|
|
119
|
-
color:
|
|
120
|
-
size:
|
|
119
|
+
color: MAIN_DARK_BLUE,
|
|
120
|
+
size: MEDIUM
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
export default SocialGitLabIcon
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const SocialLinkedInIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -9,7 +9,7 @@ const SocialLinkedInIcon = ({ color, size }) => {
|
|
|
9
9
|
let icon = <></>
|
|
10
10
|
|
|
11
11
|
switch (size) {
|
|
12
|
-
case
|
|
12
|
+
case SMALL:
|
|
13
13
|
icon = (
|
|
14
14
|
<svg
|
|
15
15
|
width={16}
|
|
@@ -26,7 +26,7 @@ const SocialLinkedInIcon = ({ color, size }) => {
|
|
|
26
26
|
</svg>
|
|
27
27
|
)
|
|
28
28
|
break
|
|
29
|
-
case
|
|
29
|
+
case MEDIUM:
|
|
30
30
|
icon = (
|
|
31
31
|
<svg
|
|
32
32
|
width={24}
|
|
@@ -43,7 +43,7 @@ const SocialLinkedInIcon = ({ color, size }) => {
|
|
|
43
43
|
</svg>
|
|
44
44
|
)
|
|
45
45
|
break
|
|
46
|
-
case
|
|
46
|
+
case LARGE:
|
|
47
47
|
icon = (
|
|
48
48
|
<svg
|
|
49
49
|
width={40}
|
|
@@ -79,8 +79,8 @@ SocialLinkedInIcon.propTypes = {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
SocialLinkedInIcon.defaultProps = {
|
|
82
|
-
color:
|
|
83
|
-
size:
|
|
82
|
+
color: MAIN_DARK_BLUE,
|
|
83
|
+
size: MEDIUM
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export default SocialLinkedInIcon
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const SocialNPMIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -9,7 +9,7 @@ const SocialNPMIcon = ({ color, size }) => {
|
|
|
9
9
|
let icon = <></>
|
|
10
10
|
|
|
11
11
|
switch (size) {
|
|
12
|
-
case
|
|
12
|
+
case SMALL:
|
|
13
13
|
icon = (
|
|
14
14
|
<svg
|
|
15
15
|
width={16}
|
|
@@ -23,7 +23,7 @@ const SocialNPMIcon = ({ color, size }) => {
|
|
|
23
23
|
</svg>
|
|
24
24
|
)
|
|
25
25
|
break
|
|
26
|
-
case
|
|
26
|
+
case MEDIUM:
|
|
27
27
|
icon = (
|
|
28
28
|
<svg
|
|
29
29
|
width={24}
|
|
@@ -37,7 +37,7 @@ const SocialNPMIcon = ({ color, size }) => {
|
|
|
37
37
|
</svg>
|
|
38
38
|
)
|
|
39
39
|
break
|
|
40
|
-
case
|
|
40
|
+
case LARGE:
|
|
41
41
|
icon = (
|
|
42
42
|
<svg
|
|
43
43
|
width={40}
|
|
@@ -71,8 +71,8 @@ SocialNPMIcon.propTypes = {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
SocialNPMIcon.defaultProps = {
|
|
74
|
-
color:
|
|
75
|
-
size:
|
|
74
|
+
color: MAIN_DARK_BLUE,
|
|
75
|
+
size: MEDIUM
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
export default SocialNPMIcon
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const SocialTwitterIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -9,7 +9,7 @@ const SocialTwitterIcon = ({ color, size }) => {
|
|
|
9
9
|
let icon = <></>
|
|
10
10
|
|
|
11
11
|
switch (size) {
|
|
12
|
-
case
|
|
12
|
+
case SMALL:
|
|
13
13
|
icon = (
|
|
14
14
|
<svg
|
|
15
15
|
width={16}
|
|
@@ -23,7 +23,7 @@ const SocialTwitterIcon = ({ color, size }) => {
|
|
|
23
23
|
</svg>
|
|
24
24
|
)
|
|
25
25
|
break
|
|
26
|
-
case
|
|
26
|
+
case MEDIUM:
|
|
27
27
|
icon = (
|
|
28
28
|
<svg
|
|
29
29
|
width={24}
|
|
@@ -37,7 +37,7 @@ const SocialTwitterIcon = ({ color, size }) => {
|
|
|
37
37
|
</svg>
|
|
38
38
|
)
|
|
39
39
|
break
|
|
40
|
-
case
|
|
40
|
+
case LARGE:
|
|
41
41
|
icon = (
|
|
42
42
|
<svg
|
|
43
43
|
width={40}
|
|
@@ -71,8 +71,8 @@ SocialTwitterIcon.propTypes = {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
SocialTwitterIcon.defaultProps = {
|
|
74
|
-
color:
|
|
75
|
-
size:
|
|
74
|
+
color: MAIN_DARK_BLUE,
|
|
75
|
+
size: MEDIUM
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
export default SocialTwitterIcon
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const StopIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
let icon = <></>
|
|
9
9
|
|
|
10
10
|
switch (size) {
|
|
11
|
-
case
|
|
11
|
+
case SMALL:
|
|
12
12
|
icon = (
|
|
13
13
|
<svg
|
|
14
14
|
width={16}
|
|
@@ -23,7 +23,7 @@ const StopIcon = ({ color, size }) => {
|
|
|
23
23
|
</svg>
|
|
24
24
|
)
|
|
25
25
|
break
|
|
26
|
-
case
|
|
26
|
+
case MEDIUM:
|
|
27
27
|
icon = (
|
|
28
28
|
<svg
|
|
29
29
|
width={24}
|
|
@@ -38,7 +38,7 @@ const StopIcon = ({ color, size }) => {
|
|
|
38
38
|
</svg>
|
|
39
39
|
)
|
|
40
40
|
break
|
|
41
|
-
case
|
|
41
|
+
case LARGE:
|
|
42
42
|
icon = (
|
|
43
43
|
<svg
|
|
44
44
|
width={40}
|
|
@@ -72,8 +72,8 @@ StopIcon.propTypes = {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
StopIcon.defaultProps = {
|
|
75
|
-
color:
|
|
76
|
-
size:
|
|
75
|
+
color: MAIN_DARK_BLUE,
|
|
76
|
+
size: MEDIUM
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export default StopIcon
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const SwitchIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
let icon = <></>
|
|
9
9
|
|
|
10
10
|
switch (size) {
|
|
11
|
-
case
|
|
11
|
+
case SMALL:
|
|
12
12
|
icon = (
|
|
13
13
|
<svg
|
|
14
14
|
width={16}
|
|
@@ -23,7 +23,7 @@ const SwitchIcon = ({ color, size }) => {
|
|
|
23
23
|
</svg>
|
|
24
24
|
)
|
|
25
25
|
break
|
|
26
|
-
case
|
|
26
|
+
case MEDIUM:
|
|
27
27
|
icon = (
|
|
28
28
|
<svg
|
|
29
29
|
width={24}
|
|
@@ -39,7 +39,7 @@ const SwitchIcon = ({ color, size }) => {
|
|
|
39
39
|
</svg>
|
|
40
40
|
)
|
|
41
41
|
break
|
|
42
|
-
case
|
|
42
|
+
case LARGE:
|
|
43
43
|
icon = (
|
|
44
44
|
<svg
|
|
45
45
|
width={40}
|
|
@@ -74,8 +74,8 @@ SwitchIcon.propTypes = {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
SwitchIcon.defaultProps = {
|
|
77
|
-
color:
|
|
78
|
-
size:
|
|
77
|
+
color: MAIN_DARK_BLUE,
|
|
78
|
+
size: MEDIUM
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export default SwitchIcon
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const TeamsIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
let icon = <></>
|
|
9
9
|
|
|
10
10
|
switch (size) {
|
|
11
|
-
case
|
|
11
|
+
case SMALL:
|
|
12
12
|
icon = (
|
|
13
13
|
<svg
|
|
14
14
|
width={16}
|
|
@@ -27,7 +27,7 @@ const TeamsIcon = ({ color, size }) => {
|
|
|
27
27
|
</svg>
|
|
28
28
|
)
|
|
29
29
|
break
|
|
30
|
-
case
|
|
30
|
+
case MEDIUM:
|
|
31
31
|
icon = (
|
|
32
32
|
<svg
|
|
33
33
|
width={24}
|
|
@@ -46,7 +46,7 @@ const TeamsIcon = ({ color, size }) => {
|
|
|
46
46
|
</svg>
|
|
47
47
|
)
|
|
48
48
|
break
|
|
49
|
-
case
|
|
49
|
+
case LARGE:
|
|
50
50
|
icon = (
|
|
51
51
|
<svg
|
|
52
52
|
width={40}
|
|
@@ -84,8 +84,8 @@ TeamsIcon.propTypes = {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
TeamsIcon.defaultProps = {
|
|
87
|
-
color:
|
|
88
|
-
size:
|
|
87
|
+
color: MAIN_DARK_BLUE,
|
|
88
|
+
size: MEDIUM
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
export default TeamsIcon
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
|
-
import { COLORS_ICON, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const TerminalIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
let icon = <></>
|
|
9
9
|
|
|
10
10
|
switch (size) {
|
|
11
|
-
case
|
|
11
|
+
case SMALL:
|
|
12
12
|
icon = (
|
|
13
13
|
<svg
|
|
14
14
|
width={16}
|
|
@@ -24,7 +24,7 @@ const TerminalIcon = ({ color, size }) => {
|
|
|
24
24
|
</svg>
|
|
25
25
|
)
|
|
26
26
|
break
|
|
27
|
-
case
|
|
27
|
+
case MEDIUM:
|
|
28
28
|
icon = (
|
|
29
29
|
<svg
|
|
30
30
|
width={24}
|
|
@@ -41,7 +41,7 @@ const TerminalIcon = ({ color, size }) => {
|
|
|
41
41
|
</svg>
|
|
42
42
|
)
|
|
43
43
|
break
|
|
44
|
-
case
|
|
44
|
+
case LARGE:
|
|
45
45
|
icon = (
|
|
46
46
|
<svg
|
|
47
47
|
width={40}
|
|
@@ -76,8 +76,8 @@ TerminalIcon.propTypes = {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
TerminalIcon.defaultProps = {
|
|
79
|
-
color:
|
|
80
|
-
size:
|
|
79
|
+
color: MAIN_DARK_BLUE,
|
|
80
|
+
size: MEDIUM
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
export default TerminalIcon
|