@platformatic/ui-components 0.1.105 → 0.1.107
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/FollowUs.module.css +2 -2
- package/src/components/ListElement.module.css +2 -2
- 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,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 CircleExclamationIcon = ({ color, size, tip }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -9,7 +9,7 @@ const CircleExclamationIcon = ({ color, size, tip }) => {
|
|
|
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 CircleExclamationIcon = ({ color, size, tip }) => {
|
|
|
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 CircleExclamationIcon = ({ color, size, tip }) => {
|
|
|
44
44
|
</svg>
|
|
45
45
|
)
|
|
46
46
|
break
|
|
47
|
-
case
|
|
47
|
+
case LARGE:
|
|
48
48
|
icon = (
|
|
49
49
|
<svg
|
|
50
50
|
width={40}
|
|
@@ -85,8 +85,8 @@ CircleExclamationIcon.propTypes = {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
CircleExclamationIcon.defaultProps = {
|
|
88
|
-
color:
|
|
89
|
-
size:
|
|
88
|
+
color: MAIN_DARK_BLUE,
|
|
89
|
+
size: MEDIUM,
|
|
90
90
|
tip: ''
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -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_SMALL, LARGE, MEDIUM, SIZES, SMALL } from '../constants'
|
|
4
|
+
import { COLORS_ICON, EXTRA_SMALL, LARGE, MEDIUM, SIZES, SMALL, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
6
|
const CircleFullIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -84,8 +84,8 @@ CircleFullIcon.propTypes = {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
CircleFullIcon.defaultProps = {
|
|
87
|
-
color:
|
|
88
|
-
size:
|
|
87
|
+
color: MAIN_DARK_BLUE,
|
|
88
|
+
size: MEDIUM
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
export default CircleFullIcon
|
|
@@ -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 CircleGearIcon = ({ 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={18}
|
|
@@ -25,7 +25,7 @@ const CircleGearIcon = ({ color, size }) => {
|
|
|
25
25
|
</svg>
|
|
26
26
|
)
|
|
27
27
|
break
|
|
28
|
-
case
|
|
28
|
+
case MEDIUM:
|
|
29
29
|
icon = (
|
|
30
30
|
<svg
|
|
31
31
|
width={26}
|
|
@@ -42,7 +42,7 @@ const CircleGearIcon = ({ color, size }) => {
|
|
|
42
42
|
</svg>
|
|
43
43
|
)
|
|
44
44
|
break
|
|
45
|
-
case
|
|
45
|
+
case LARGE:
|
|
46
46
|
icon = (
|
|
47
47
|
<svg
|
|
48
48
|
width={42}
|
|
@@ -77,8 +77,8 @@ CircleGearIcon.propTypes = {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
CircleGearIcon.defaultProps = {
|
|
80
|
-
color:
|
|
81
|
-
size:
|
|
80
|
+
color: MAIN_DARK_BLUE,
|
|
81
|
+
size: MEDIUM
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export default CircleGearIcon
|
|
@@ -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 CircleTwoArrowsDownIcon = ({ 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={18}
|
|
@@ -25,7 +25,7 @@ const CircleTwoArrowsDownIcon = ({ color, size }) => {
|
|
|
25
25
|
</svg>
|
|
26
26
|
)
|
|
27
27
|
break
|
|
28
|
-
case
|
|
28
|
+
case MEDIUM:
|
|
29
29
|
icon = (
|
|
30
30
|
<svg
|
|
31
31
|
width={26}
|
|
@@ -43,7 +43,7 @@ const CircleTwoArrowsDownIcon = ({ color, size }) => {
|
|
|
43
43
|
)
|
|
44
44
|
break
|
|
45
45
|
|
|
46
|
-
case
|
|
46
|
+
case LARGE:
|
|
47
47
|
icon = (
|
|
48
48
|
<svg
|
|
49
49
|
width={42}
|
|
@@ -78,8 +78,8 @@ CircleTwoArrowsDownIcon.propTypes = {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
CircleTwoArrowsDownIcon.defaultProps = {
|
|
81
|
-
color:
|
|
82
|
-
size:
|
|
81
|
+
color: MAIN_DARK_BLUE,
|
|
82
|
+
size: MEDIUM
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export default CircleTwoArrowsDownIcon
|
|
@@ -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 CircleTwoArrowsUpIcon = ({ 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={18}
|
|
@@ -26,7 +26,7 @@ const CircleTwoArrowsUpIcon = ({ color, size }) => {
|
|
|
26
26
|
</svg>
|
|
27
27
|
)
|
|
28
28
|
break
|
|
29
|
-
case
|
|
29
|
+
case MEDIUM:
|
|
30
30
|
icon = (
|
|
31
31
|
<svg
|
|
32
32
|
width={26}
|
|
@@ -45,7 +45,7 @@ const CircleTwoArrowsUpIcon = ({ color, size }) => {
|
|
|
45
45
|
)
|
|
46
46
|
break
|
|
47
47
|
|
|
48
|
-
case
|
|
48
|
+
case LARGE:
|
|
49
49
|
icon = (
|
|
50
50
|
<svg
|
|
51
51
|
width={42}
|
|
@@ -81,8 +81,8 @@ CircleTwoArrowsUpIcon.propTypes = {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
CircleTwoArrowsUpIcon.defaultProps = {
|
|
84
|
-
color:
|
|
85
|
-
size:
|
|
84
|
+
color: MAIN_DARK_BLUE,
|
|
85
|
+
size: MEDIUM
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
export default CircleTwoArrowsUpIcon
|
|
@@ -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 CloseIcon = ({ 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 CloseIcon = ({ 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 CloseIcon = ({ 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}
|
|
@@ -73,8 +73,8 @@ CloseIcon.propTypes = {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
CloseIcon.defaultProps = {
|
|
76
|
-
color:
|
|
77
|
-
size:
|
|
76
|
+
color: MAIN_DARK_BLUE,
|
|
77
|
+
size: MEDIUM
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
export default CloseIcon
|
|
@@ -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 CopyPasteIcon = ({ 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 CopyPasteIcon = ({ 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 CopyPasteIcon = ({ 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 @@ CopyPasteIcon.propTypes = {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
CopyPasteIcon.defaultProps = {
|
|
78
|
-
color:
|
|
79
|
-
size:
|
|
78
|
+
color: MAIN_DARK_BLUE,
|
|
79
|
+
size: MEDIUM
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export default CopyPasteIcon
|
|
@@ -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 CreditCardIcon = ({ 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}
|
|
@@ -25,7 +25,7 @@ const CreditCardIcon = ({ color, size }) => {
|
|
|
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 CreditCardIcon = ({ color, size }) => {
|
|
|
42
42
|
</svg>
|
|
43
43
|
)
|
|
44
44
|
break
|
|
45
|
-
case
|
|
45
|
+
case LARGE:
|
|
46
46
|
icon = (
|
|
47
47
|
<svg
|
|
48
48
|
width={40}
|
|
@@ -78,8 +78,8 @@ CreditCardIcon.propTypes = {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
CreditCardIcon.defaultProps = {
|
|
81
|
-
color:
|
|
82
|
-
size:
|
|
81
|
+
color: MAIN_DARK_BLUE,
|
|
82
|
+
size: MEDIUM
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export default CreditCardIcon
|
|
@@ -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 DatabaseIcon = ({ 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 DatabaseIcon = ({ 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 DatabaseIcon = ({ 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 @@ DatabaseIcon.propTypes = {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
DatabaseIcon.defaultProps = {
|
|
78
|
-
color:
|
|
79
|
-
size:
|
|
78
|
+
color: MAIN_DARK_BLUE,
|
|
79
|
+
size: MEDIUM
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export default DatabaseIcon
|
|
@@ -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 EditIcon = ({ 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 EditIcon = ({ 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 EditIcon = ({ 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 @@ EditIcon.propTypes = {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
EditIcon.defaultProps = {
|
|
78
|
-
color:
|
|
79
|
-
size:
|
|
78
|
+
color: MAIN_DARK_BLUE,
|
|
79
|
+
size: MEDIUM
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export default EditIcon
|
|
@@ -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 EnlargeIcon = ({ 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}
|
|
@@ -25,7 +25,7 @@ const EnlargeIcon = ({ color, size }) => {
|
|
|
25
25
|
</svg>
|
|
26
26
|
)
|
|
27
27
|
break
|
|
28
|
-
case
|
|
28
|
+
case MEDIUM:
|
|
29
29
|
icon = (
|
|
30
30
|
<svg
|
|
31
31
|
width={24}
|
|
@@ -43,7 +43,7 @@ const EnlargeIcon = ({ 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 @@ EnlargeIcon.propTypes = {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
EnlargeIcon.defaultProps = {
|
|
82
|
-
color:
|
|
83
|
-
size:
|
|
82
|
+
color: MAIN_DARK_BLUE,
|
|
83
|
+
size: MEDIUM
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export default EnlargeIcon
|
|
@@ -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 EntryIcon = ({ 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 EntryIcon = ({ 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 EntryIcon = ({ 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 @@ EntryIcon.propTypes = {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
EntryIcon.defaultProps = {
|
|
79
|
-
color:
|
|
80
|
-
size:
|
|
79
|
+
color: MAIN_DARK_BLUE,
|
|
80
|
+
size: MEDIUM
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
export default EntryIcon
|
|
@@ -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 ExploreDocIcon = ({ 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}
|
|
@@ -28,7 +28,7 @@ const ExploreDocIcon = ({ color, size }) => {
|
|
|
28
28
|
</svg>
|
|
29
29
|
)
|
|
30
30
|
break
|
|
31
|
-
case
|
|
31
|
+
case MEDIUM:
|
|
32
32
|
icon = (
|
|
33
33
|
<svg
|
|
34
34
|
width={24}
|
|
@@ -49,7 +49,7 @@ const ExploreDocIcon = ({ color, size }) => {
|
|
|
49
49
|
</svg>
|
|
50
50
|
)
|
|
51
51
|
break
|
|
52
|
-
case
|
|
52
|
+
case LARGE:
|
|
53
53
|
icon = (
|
|
54
54
|
<svg
|
|
55
55
|
width={40}
|
|
@@ -89,8 +89,8 @@ ExploreDocIcon.propTypes = {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
ExploreDocIcon.defaultProps = {
|
|
92
|
-
color:
|
|
93
|
-
size:
|
|
92
|
+
color: MAIN_DARK_BLUE,
|
|
93
|
+
size: MEDIUM
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
export default ExploreDocIcon
|
|
@@ -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 GearIcon = ({ 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 GearIcon = ({ 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 GearIcon = ({ 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 @@ GearIcon.propTypes = {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
GearIcon.defaultProps = {
|
|
75
|
-
color:
|
|
76
|
-
size:
|
|
75
|
+
color: MAIN_DARK_BLUE,
|
|
76
|
+
size: MEDIUM
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export default GearIcon
|
|
@@ -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 GenerationLoadingIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
@@ -49,8 +49,8 @@ GenerationLoadingIcon.propTypes = {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
GenerationLoadingIcon.defaultProps = {
|
|
52
|
-
color:
|
|
53
|
-
size:
|
|
52
|
+
color: MAIN_DARK_BLUE,
|
|
53
|
+
size: MEDIUM
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export default GenerationLoadingIcon
|
|
@@ -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 GiveOwnershipIcon = ({ 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 GiveOwnershipIcon = ({ 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 GiveOwnershipIcon = ({ 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 @@ GiveOwnershipIcon.propTypes = {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
GiveOwnershipIcon.defaultProps = {
|
|
80
|
-
color:
|
|
81
|
-
size:
|
|
80
|
+
color: MAIN_DARK_BLUE,
|
|
81
|
+
size: MEDIUM
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export default GiveOwnershipIcon
|