@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 GraphQLIcon = ({ 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}
|
|
@@ -30,7 +30,7 @@ const GraphQLIcon = ({ 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 GraphQLIcon = ({ 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 @@ GraphQLIcon.propTypes = {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
GraphQLIcon.defaultProps = {
|
|
95
|
-
color:
|
|
96
|
-
size:
|
|
95
|
+
color: MAIN_DARK_BLUE,
|
|
96
|
+
size: MEDIUM
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
export default GraphQLIcon
|
|
@@ -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 KeyIcon = ({ 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 KeyIcon = ({ 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 KeyIcon = ({ 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 @@ KeyIcon.propTypes = {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
KeyIcon.defaultProps = {
|
|
82
|
-
color:
|
|
83
|
-
size:
|
|
82
|
+
color: MAIN_DARK_BLUE,
|
|
83
|
+
size: MEDIUM
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export default KeyIcon
|
|
@@ -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, LARGE, MEDIUM, SIZES, SMALL } from '../constants'
|
|
4
|
+
import { COLORS_ICON, LARGE, MEDIUM, SIZES, MAIN_DARK_BLUE, SMALL } from '../constants'
|
|
5
5
|
|
|
6
6
|
const LabelIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -73,8 +73,8 @@ LabelIcon.propTypes = {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
LabelIcon.defaultProps = {
|
|
76
|
-
color:
|
|
77
|
-
size:
|
|
76
|
+
color: MAIN_DARK_BLUE,
|
|
77
|
+
size: MEDIUM
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export default LabelIcon
|
|
@@ -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 LayersIcon = ({ 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 LayersIcon = ({ 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}
|
|
@@ -40,7 +40,7 @@ const LayersIcon = ({ color, size }) => {
|
|
|
40
40
|
</svg>
|
|
41
41
|
)
|
|
42
42
|
break
|
|
43
|
-
case
|
|
43
|
+
case LARGE:
|
|
44
44
|
icon = (
|
|
45
45
|
<svg
|
|
46
46
|
width={40}
|
|
@@ -75,8 +75,8 @@ LayersIcon.propTypes = {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
LayersIcon.defaultProps = {
|
|
78
|
-
color:
|
|
79
|
-
size:
|
|
78
|
+
color: MAIN_DARK_BLUE,
|
|
79
|
+
size: MEDIUM
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export default LayersIcon
|
|
@@ -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 LensIcon = ({ 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 LensIcon = ({ 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 LensIcon = ({ 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 @@ LensIcon.propTypes = {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
LensIcon.defaultProps = {
|
|
76
|
-
color:
|
|
77
|
-
size:
|
|
76
|
+
color: MAIN_DARK_BLUE,
|
|
77
|
+
size: MEDIUM
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export default LensIcon
|
|
@@ -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 LiveIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -9,7 +9,7 @@ const LiveIcon = ({ 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 LiveIcon = ({ 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 LiveIcon = ({ 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 @@ LiveIcon.propTypes = {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
LiveIcon.defaultProps = {
|
|
82
|
-
color:
|
|
83
|
-
size:
|
|
82
|
+
color: MAIN_DARK_BLUE,
|
|
83
|
+
size: MEDIUM
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export default LiveIcon
|
|
@@ -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, MEDIUM, EXTRA_LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const LoadingAppIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -10,7 +10,7 @@ const LoadingAppIcon = ({ color, size }) => {
|
|
|
10
10
|
let icon = <></>
|
|
11
11
|
|
|
12
12
|
switch (size) {
|
|
13
|
-
case
|
|
13
|
+
case MEDIUM:
|
|
14
14
|
icon = (
|
|
15
15
|
<svg
|
|
16
16
|
width={26}
|
|
@@ -29,7 +29,7 @@ const LoadingAppIcon = ({ color, size }) => {
|
|
|
29
29
|
)
|
|
30
30
|
break
|
|
31
31
|
|
|
32
|
-
case
|
|
32
|
+
case EXTRA_LARGE:
|
|
33
33
|
icon = (
|
|
34
34
|
<svg
|
|
35
35
|
width='105'
|
|
@@ -66,8 +66,8 @@ LoadingAppIcon.propTypes = {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
LoadingAppIcon.defaultProps = {
|
|
69
|
-
color:
|
|
70
|
-
size:
|
|
69
|
+
color: MAIN_DARK_BLUE,
|
|
70
|
+
size: MEDIUM
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export default LoadingAppIcon
|
|
@@ -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 LogOutIcon = ({ color, size, tip }) => {
|
|
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}
|
|
@@ -25,7 +25,7 @@ const LogOutIcon = ({ color, size, tip }) => {
|
|
|
25
25
|
</svg>
|
|
26
26
|
)
|
|
27
27
|
break
|
|
28
|
-
case
|
|
28
|
+
case MEDIUM:
|
|
29
29
|
icon = (
|
|
30
30
|
<svg
|
|
31
31
|
width={24}
|
|
@@ -42,7 +42,7 @@ const LogOutIcon = ({ color, size, tip }) => {
|
|
|
42
42
|
</svg>
|
|
43
43
|
)
|
|
44
44
|
break
|
|
45
|
-
case
|
|
45
|
+
case LARGE:
|
|
46
46
|
icon = (
|
|
47
47
|
<svg
|
|
48
48
|
width={40}
|
|
@@ -82,8 +82,8 @@ LogOutIcon.propTypes = {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
LogOutIcon.defaultProps = {
|
|
85
|
-
color:
|
|
86
|
-
size:
|
|
85
|
+
color: MAIN_DARK_BLUE,
|
|
86
|
+
size: MEDIUM,
|
|
87
87
|
tip: ''
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -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 MetricsIcon = ({ 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 MetricsIcon = ({ 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 MetricsIcon = ({ 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 @@ MetricsIcon.propTypes = {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
MetricsIcon.defaultProps = {
|
|
82
|
-
color:
|
|
83
|
-
size:
|
|
82
|
+
color: MAIN_DARK_BLUE,
|
|
83
|
+
size: MEDIUM
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export default MetricsIcon
|
|
@@ -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, EXTRA_LARGE, SIZES } from '../constants'
|
|
4
|
+
import { COLORS_ICON, EXTRA_LARGE, SIZES, MAIN_DARK_BLUE, MEDIUM } from '../constants'
|
|
5
5
|
|
|
6
6
|
const MetricsLoadingIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -48,8 +48,8 @@ MetricsLoadingIcon.propTypes = {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
MetricsLoadingIcon.defaultProps = {
|
|
51
|
-
color:
|
|
52
|
-
size:
|
|
51
|
+
color: MAIN_DARK_BLUE,
|
|
52
|
+
size: MEDIUM
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
export default MetricsLoadingIcon
|
|
@@ -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 OrganizationIcon = ({ 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 OrganizationIcon = ({ 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}
|
|
@@ -45,7 +45,7 @@ const OrganizationIcon = ({ color, size }) => {
|
|
|
45
45
|
</svg>
|
|
46
46
|
)
|
|
47
47
|
break
|
|
48
|
-
case
|
|
48
|
+
case LARGE:
|
|
49
49
|
icon = (
|
|
50
50
|
<svg
|
|
51
51
|
width={40}
|
|
@@ -83,8 +83,8 @@ OrganizationIcon.propTypes = {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
OrganizationIcon.defaultProps = {
|
|
86
|
-
color:
|
|
87
|
-
size:
|
|
86
|
+
color: MAIN_DARK_BLUE,
|
|
87
|
+
size: MEDIUM
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
export default OrganizationIcon
|
|
@@ -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 PlayIcon = ({ 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 PlayIcon = ({ 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 PlayIcon = ({ 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 @@ PlayIcon.propTypes = {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
PlayIcon.defaultProps = {
|
|
72
|
-
color:
|
|
73
|
-
size:
|
|
72
|
+
color: MAIN_DARK_BLUE,
|
|
73
|
+
size: MEDIUM
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export default PlayIcon
|
|
@@ -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 PullRequestIcon = ({ 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 PullRequestIcon = ({ 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}
|
|
@@ -47,7 +47,7 @@ const PullRequestIcon = ({ color, size }) => {
|
|
|
47
47
|
</svg>
|
|
48
48
|
)
|
|
49
49
|
break
|
|
50
|
-
case
|
|
50
|
+
case LARGE:
|
|
51
51
|
icon = (
|
|
52
52
|
<svg
|
|
53
53
|
width={40}
|
|
@@ -86,8 +86,8 @@ PullRequestIcon.propTypes = {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
PullRequestIcon.defaultProps = {
|
|
89
|
-
color:
|
|
90
|
-
size:
|
|
89
|
+
color: MAIN_DARK_BLUE,
|
|
90
|
+
size: MEDIUM
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
export default PullRequestIcon
|
|
@@ -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, MEDIUM, EXTRA_LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const PullRequestLoadingIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -10,7 +10,7 @@ const PullRequestLoadingIcon = ({ color, size }) => {
|
|
|
10
10
|
let icon = <></>
|
|
11
11
|
|
|
12
12
|
switch (size) {
|
|
13
|
-
case
|
|
13
|
+
case EXTRA_LARGE:
|
|
14
14
|
icon = (
|
|
15
15
|
<svg
|
|
16
16
|
width={105}
|
|
@@ -53,8 +53,8 @@ PullRequestLoadingIcon.propTypes = {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
PullRequestLoadingIcon.defaultProps = {
|
|
56
|
-
color:
|
|
57
|
-
size:
|
|
56
|
+
color: MAIN_DARK_BLUE,
|
|
57
|
+
size: MEDIUM
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
export default PullRequestLoadingIcon
|
|
@@ -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 RequestOwnershipIcon = ({ 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 RequestOwnershipIcon = ({ 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 RequestOwnershipIcon = ({ 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}
|
|
@@ -77,8 +77,8 @@ RequestOwnershipIcon.propTypes = {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
RequestOwnershipIcon.defaultProps = {
|
|
80
|
-
color:
|
|
81
|
-
size:
|
|
80
|
+
color: MAIN_DARK_BLUE,
|
|
81
|
+
size: MEDIUM
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export default RequestOwnershipIcon
|
|
@@ -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 RestartIcon = ({ 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 RestartIcon = ({ 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 RestartIcon = ({ 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 @@ RestartIcon.propTypes = {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
RestartIcon.defaultProps = {
|
|
75
|
-
color:
|
|
76
|
-
size:
|
|
75
|
+
color: MAIN_DARK_BLUE,
|
|
76
|
+
size: MEDIUM
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export default RestartIcon
|