@platformatic/ui-components 0.1.124 → 0.1.125
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-78f54889.js +206 -0
- package/dist/assets/index-89e9ad97.css +1 -0
- package/dist/index.html +2 -2
- package/dist/main.css +0 -10
- package/fonts/Inter/Inter-VariableFont_slnt,wght.ttf +0 -0
- package/fonts/Inter/OFL.txt +93 -0
- package/fonts/Inter/README.txt +72 -0
- package/fonts/Inter/static/Inter-Black.ttf +0 -0
- package/fonts/Inter/static/Inter-Bold.ttf +0 -0
- package/fonts/Inter/static/Inter-ExtraBold.ttf +0 -0
- package/fonts/Inter/static/Inter-ExtraLight.ttf +0 -0
- package/fonts/Inter/static/Inter-Light.ttf +0 -0
- package/fonts/Inter/static/Inter-Medium.ttf +0 -0
- package/fonts/Inter/static/Inter-Regular.ttf +0 -0
- package/fonts/Inter/static/Inter-SemiBold.ttf +0 -0
- package/fonts/Inter/static/Inter-Thin.ttf +0 -0
- package/fonts/{Montserrat/fonts.css → fonts.css} +7 -0
- package/index.js +8 -0
- package/package.json +1 -1
- package/src/components/BorderedBox.jsx +25 -6
- package/src/components/BorderedBox.module.css +3 -0
- package/src/components/Common.module.css +34 -3
- package/src/components/HorizontalSeparator.jsx +2 -1
- package/src/components/HorizontalSeparator.module.css +19 -0
- package/src/components/LoadingSpinnerV2.jsx +45 -0
- package/src/components/LoadingSpinnerV2.module.css +8 -0
- package/src/components/Modal.jsx +36 -3
- package/src/components/Modal.module.css +9 -1
- package/src/components/ModalDirectional.jsx +83 -0
- package/src/components/ModalDirectional.module.css +38 -0
- package/src/components/PlatformaticIcon.jsx +20 -5
- package/src/components/SearchBarV2.jsx +120 -0
- package/src/components/SearchBarV2.module.css +28 -0
- package/src/components/TabbedWindowV2.jsx +82 -0
- package/src/components/TabbedWindowV2.module.css +17 -0
- package/src/components/VerticalSeparator.jsx +18 -6
- package/src/components/VerticalSeparator.module.css +3 -0
- package/src/components/constants.js +10 -2
- package/src/components/forms/Field.jsx +29 -8
- package/src/components/forms/Field.module.css +7 -1
- package/src/components/forms/Input.jsx +73 -8
- package/src/components/forms/Input.module.css +8 -3
- package/src/components/forms/Select.jsx +98 -20
- package/src/components/forms/Select.module.css +17 -6
- package/src/components/forms/ToggleSwitch.jsx +11 -5
- package/src/components/forms/ToggleSwitch.module.css +2 -2
- package/src/components/icons/AddIcon.jsx +12 -5
- package/src/components/icons/AlertIcon.jsx +12 -5
- package/src/components/icons/AllInOneIcon.jsx +12 -5
- package/src/components/icons/ApiCloudIcon.jsx +12 -5
- package/src/components/icons/ApiEmptyIcon.jsx +12 -5
- package/src/components/icons/ApiIcon.jsx +12 -5
- package/src/components/icons/ApiIconClosed.jsx +10 -4
- package/src/components/icons/ApiPerformanceIcon.jsx +12 -5
- package/src/components/icons/AppEmptyIcon.jsx +12 -5
- package/src/components/icons/AppIcon.jsx +12 -5
- package/src/components/icons/AppListIcon.jsx +12 -5
- package/src/components/icons/AppWorkspace.jsx +5 -2
- package/src/components/icons/ApplicationTypeIcon.jsx +12 -5
- package/src/components/icons/ArrowDownFullIcon.jsx +12 -5
- package/src/components/icons/ArrowDownIcon.jsx +12 -5
- package/src/components/icons/ArrowLeftIcon.jsx +12 -5
- package/src/components/icons/ArrowLongLeftIcon.jsx +84 -0
- package/src/components/icons/ArrowLongRightIcon.jsx +12 -5
- package/src/components/icons/ArrowRightIcon.jsx +12 -5
- package/src/components/icons/ArrowUpIcon.jsx +12 -5
- package/src/components/icons/BellIcon.jsx +12 -5
- package/src/components/icons/BillingIcon.jsx +12 -5
- package/src/components/icons/Calendar1DayIcon.jsx +12 -5
- package/src/components/icons/Calendar7DaysIcon.jsx +12 -5
- package/src/components/icons/CalendarIcon.jsx +12 -5
- package/src/components/icons/CheckListIcon.jsx +12 -5
- package/src/components/icons/CircleAddIcon.jsx +12 -5
- package/src/components/icons/CircleArrowLeftIcon.jsx +12 -5
- package/src/components/icons/CircleArrowRightIcon.jsx +12 -5
- package/src/components/icons/CircleCheckMarkButtonIcon.jsx +7 -3
- package/src/components/icons/CircleCheckMarkFullIcon.jsx +12 -5
- package/src/components/icons/CircleCheckMarkIcon.jsx +10 -4
- package/src/components/icons/CircleCloseHoverIcon.jsx +12 -5
- package/src/components/icons/CircleCloseIcon.jsx +12 -5
- package/src/components/icons/CircleCopyPasteIcon.jsx +12 -5
- package/src/components/icons/CircleDownloadIcon.jsx +12 -5
- package/src/components/icons/CircleEditIcon.jsx +12 -5
- package/src/components/icons/CircleExclamationIcon.jsx +5 -2
- package/src/components/icons/CircleFullIcon.jsx +12 -5
- package/src/components/icons/CircleGearIcon.jsx +12 -5
- package/src/components/icons/CircleRestartIcon.jsx +12 -5
- package/src/components/icons/CircleSubtractIcon.jsx +12 -5
- package/src/components/icons/CircleTwoArrowsDownIcon.jsx +12 -5
- package/src/components/icons/CircleTwoArrowsUpIcon.jsx +12 -5
- package/src/components/icons/CloseIcon.jsx +12 -5
- package/src/components/icons/CloudIcon.jsx +12 -5
- package/src/components/icons/ConfigureDatabaseIcon.jsx +12 -5
- package/src/components/icons/CopyPasteIcon.jsx +12 -5
- package/src/components/icons/CreatingAppIcon.jsx +12 -5
- package/src/components/icons/CreditCardIcon.jsx +12 -5
- package/src/components/icons/DatabaseIcon.jsx +12 -5
- package/src/components/icons/DatabaseMigrationIcon.jsx +12 -5
- package/src/components/icons/DepencenciesReloadIcon.jsx +12 -5
- package/src/components/icons/EditDocumentIcon.jsx +12 -5
- package/src/components/icons/EditIcon.jsx +12 -5
- package/src/components/icons/EnlargeIcon.jsx +12 -5
- package/src/components/icons/EntryIcon.jsx +12 -5
- package/src/components/icons/ExpandIcon.jsx +92 -0
- package/src/components/icons/ExploreDocIcon.jsx +12 -5
- package/src/components/icons/EyeClosedIcon.jsx +12 -5
- package/src/components/icons/EyeOpenedIcon.jsx +12 -5
- package/src/components/icons/FolderIcon.jsx +83 -0
- package/src/components/icons/FoldersIcon.jsx +86 -0
- package/src/components/icons/GearIcon.jsx +12 -5
- package/src/components/icons/GenerationLoadingIcon.jsx +12 -5
- package/src/components/icons/GitHubRepo2Icon.jsx +12 -5
- package/src/components/icons/GitHubRepoIcon.jsx +12 -5
- package/src/components/icons/GiveOwnershipIcon.jsx +12 -5
- package/src/components/icons/GraphQLIcon.jsx +12 -5
- package/src/components/icons/Icons.module.css +7 -2
- package/src/components/icons/ImportApplicationIcon.jsx +12 -5
- package/src/components/icons/KeyIcon.jsx +12 -5
- package/src/components/icons/LabelIcon.jsx +12 -5
- package/src/components/icons/LayersIcon.jsx +12 -5
- package/src/components/icons/LensIcon.jsx +12 -5
- package/src/components/icons/LiveIcon.jsx +12 -5
- package/src/components/icons/LoadingAppIcon.jsx +12 -5
- package/src/components/icons/LogOutIcon.jsx +5 -2
- package/src/components/icons/MetricsIcon.jsx +12 -5
- package/src/components/icons/MetricsLoadingIcon.jsx +12 -5
- package/src/components/icons/NameAppIcon.jsx +12 -5
- package/src/components/icons/OrganizationIcon.jsx +12 -5
- package/src/components/icons/OutOfBoxGraphQLIcon.jsx +12 -5
- package/src/components/icons/PlatformaticComposerIcon.jsx +12 -5
- package/src/components/icons/PlatformaticDBIcon.jsx +12 -5
- package/src/components/icons/PlatformaticRuntimeIcon.jsx +12 -5
- package/src/components/icons/PlatformaticServiceIcon.jsx +12 -5
- package/src/components/icons/PlayIcon.jsx +12 -5
- package/src/components/icons/PreviewPRIcon.jsx +12 -5
- package/src/components/icons/PullRequestIcon.jsx +12 -5
- package/src/components/icons/PullRequestLoadingIcon.jsx +12 -5
- package/src/components/icons/RequestOwnershipIcon.jsx +12 -5
- package/src/components/icons/RestartIcon.jsx +12 -5
- package/src/components/icons/RocketIcon.jsx +12 -5
- package/src/components/icons/RunningIcon.jsx +12 -5
- package/src/components/icons/SendIcon.jsx +12 -5
- package/src/components/icons/ServiceIcon.jsx +12 -5
- package/src/components/icons/SlotIcon.jsx +12 -5
- package/src/components/icons/SocialDiscordIcon.jsx +12 -5
- package/src/components/icons/SocialGitHubIcon.jsx +12 -5
- package/src/components/icons/SocialGitLabIcon.jsx +12 -5
- package/src/components/icons/SocialLinkedInIcon.jsx +12 -5
- package/src/components/icons/SocialNPMIcon.jsx +12 -5
- package/src/components/icons/SocialXIcon.jsx +12 -5
- package/src/components/icons/SortableIcon.jsx +93 -0
- package/src/components/icons/StackablesPluginIcon.jsx +134 -0
- package/src/components/icons/StackablesTemplateIcon.jsx +133 -0
- package/src/components/icons/StopIcon.jsx +12 -5
- package/src/components/icons/SwitchIcon.jsx +12 -5
- package/src/components/icons/TeamsIcon.jsx +12 -5
- package/src/components/icons/TerminalIcon.jsx +12 -5
- package/src/components/icons/TrashIcon.jsx +95 -0
- package/src/components/icons/TwoUsersIcon.jsx +12 -5
- package/src/components/icons/UpgradeIcon.jsx +12 -5
- package/src/components/icons/UserIcon.jsx +12 -5
- package/src/components/icons/UserRemoveIcon.jsx +5 -2
- package/src/components/icons/UserRoleIcon.jsx +5 -2
- package/src/components/icons/WorkspaceDynamicIcon.jsx +12 -5
- package/src/components/icons/WorkspaceEmptyIcon.jsx +12 -5
- package/src/components/icons/WorkspaceFailIcon.jsx +12 -5
- package/src/components/icons/WorkspaceGitHubIcon.jsx +12 -5
- package/src/components/icons/WorkspaceLoadingIcon.jsx +12 -5
- package/src/components/icons/WorkspaceReadyIcon.jsx +12 -5
- package/src/components/icons/WorkspaceStaticIcon.jsx +12 -5
- package/src/components/icons/index.js +23 -7
- package/src/stories/ModalDirectional.stories.jsx +45 -0
- package/src/stories/forms/Select.stories.jsx +33 -1
- package/tailwind.config.cjs +5 -2
- package/dist/assets/index-3a61658e.css +0 -1
- package/dist/assets/index-8f6ac36c.js +0 -206
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import PropTypes from 'prop-types'
|
|
3
|
+
import styles from './Icons.module.css'
|
|
4
|
+
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
|
+
|
|
6
|
+
const FoldersIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
11
|
+
let icon = <></>
|
|
12
|
+
|
|
13
|
+
switch (size) {
|
|
14
|
+
case SMALL:
|
|
15
|
+
icon = (
|
|
16
|
+
<svg
|
|
17
|
+
width={16}
|
|
18
|
+
height={16}
|
|
19
|
+
viewBox='0 0 16 16'
|
|
20
|
+
fill='none'
|
|
21
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
22
|
+
className={className}
|
|
23
|
+
>
|
|
24
|
+
<path d='M11 7.5V4.6C11 4.04772 10.5523 3.6 10 3.6H7.13566C6.74776 3.6 6.39484 3.37567 6.2302 3.02443L6.0198 2.57557C5.85516 2.22433 5.50224 2 5.11434 2H3C2.44772 2 2 2.44772 2 3V9C2 9.55228 2.44772 10 3 10H5' stroke='none' strokeLinejoin='round' />
|
|
25
|
+
<path d='M8.11434 6H6C5.44772 6 5 6.44772 5 7V13C5 13.5523 5.44772 14 6 14H13C13.5523 14 14 13.5523 14 13V8.6C14 8.04772 13.5523 7.6 13 7.6H10.1357C9.74776 7.6 9.39484 7.37567 9.2302 7.02443L9.0198 6.57557C8.85516 6.22433 8.50224 6 8.11434 6Z' stroke='none' strokeLinejoin='round' />
|
|
26
|
+
</svg>
|
|
27
|
+
)
|
|
28
|
+
break
|
|
29
|
+
case MEDIUM:
|
|
30
|
+
icon = (
|
|
31
|
+
<svg
|
|
32
|
+
width={24}
|
|
33
|
+
height={24}
|
|
34
|
+
viewBox='0 0 24 24'
|
|
35
|
+
fill='none'
|
|
36
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
37
|
+
className={className}
|
|
38
|
+
>
|
|
39
|
+
<path d='M16.5 11.25V6.4C16.5 5.84772 16.0523 5.4 15.5 5.4H10.3857C9.99776 5.4 9.64484 5.17567 9.4802 4.82443L8.8948 3.57557C8.73016 3.22433 8.37724 3 7.98934 3H4C3.44772 3 3 3.44772 3 4V14C3 14.5523 3.44772 15 4 15H7.5' stroke='none' strokeWidth={1.5} strokeLinejoin='round' />
|
|
40
|
+
<path d='M12.4893 9H8.5C7.94772 9 7.5 9.44772 7.5 10V20C7.5 20.5523 7.94772 21 8.5 21H20C20.5523 21 21 20.5523 21 20V12.4C21 11.8477 20.5523 11.4 20 11.4H14.8857C14.4978 11.4 14.1448 11.1757 13.9802 10.8244L13.3948 9.57557C13.2302 9.22433 12.8772 9 12.4893 9Z' stroke='none' strokeWidth={1.5} strokeLinejoin='round' />
|
|
41
|
+
</svg>
|
|
42
|
+
)
|
|
43
|
+
break
|
|
44
|
+
case LARGE:
|
|
45
|
+
icon = (
|
|
46
|
+
<svg
|
|
47
|
+
width={40}
|
|
48
|
+
height={40}
|
|
49
|
+
viewBox='0 0 40 40'
|
|
50
|
+
fill='none'
|
|
51
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
52
|
+
className={className}
|
|
53
|
+
>
|
|
54
|
+
<path d='M27.5 18.75V10C27.5 9.44772 27.0523 9 26.5 9H16.8857C16.4978 9 16.1448 8.77567 15.9802 8.42443L14.6448 5.57557C14.4802 5.22433 14.1272 5 13.7393 5H6C5.44772 5 5 5.44772 5 6V24C5 24.5523 5.44772 25 6 25H12.5' stroke='none' strokeWidth={2} strokeLinejoin='round' />
|
|
55
|
+
<path d='M21.2393 15H13.5C12.9477 15 12.5 15.4477 12.5 16V34C12.5 34.5523 12.9477 35 13.5 35H34C34.5523 35 35 34.5523 35 34V20C35 19.4477 34.5523 19 34 19H24.3857C23.9978 19 23.6448 18.7757 23.4802 18.4244L22.1448 15.5756C21.9802 15.2243 21.6272 15 21.2393 15Z' stroke='none' strokeWidth={2} strokeLinejoin='round' />
|
|
56
|
+
</svg>
|
|
57
|
+
)
|
|
58
|
+
break
|
|
59
|
+
|
|
60
|
+
default:
|
|
61
|
+
break
|
|
62
|
+
}
|
|
63
|
+
return icon
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
FoldersIcon.propTypes = {
|
|
67
|
+
/**
|
|
68
|
+
* color of text, icon and borders
|
|
69
|
+
*/
|
|
70
|
+
color: PropTypes.oneOf(COLORS_ICON),
|
|
71
|
+
/**
|
|
72
|
+
* Size
|
|
73
|
+
*/
|
|
74
|
+
size: PropTypes.oneOf(SIZES),
|
|
75
|
+
/**
|
|
76
|
+
* disabled
|
|
77
|
+
*/
|
|
78
|
+
disabled: PropTypes.bool
|
|
79
|
+
}
|
|
80
|
+
FoldersIcon.defaultProps = {
|
|
81
|
+
color: MAIN_DARK_BLUE,
|
|
82
|
+
size: MEDIUM,
|
|
83
|
+
disabled: false
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export default FoldersIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const GearIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const GearIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -68,12 +71,16 @@ GearIcon.propTypes = {
|
|
|
68
71
|
/**
|
|
69
72
|
* Size
|
|
70
73
|
*/
|
|
71
|
-
size: PropTypes.oneOf(SIZES)
|
|
74
|
+
size: PropTypes.oneOf(SIZES),
|
|
75
|
+
/**
|
|
76
|
+
* disabled
|
|
77
|
+
*/
|
|
78
|
+
disabled: PropTypes.bool
|
|
72
79
|
}
|
|
73
|
-
|
|
74
80
|
GearIcon.defaultProps = {
|
|
75
81
|
color: MAIN_DARK_BLUE,
|
|
76
|
-
size: MEDIUM
|
|
82
|
+
size: MEDIUM,
|
|
83
|
+
disabled: false
|
|
77
84
|
}
|
|
78
85
|
|
|
79
86
|
export default GearIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, EXTRA_LARGE, SIZES, MAIN_DARK_BLUE, MEDIUM } from '../constants'
|
|
5
5
|
|
|
6
|
-
const GenerationLoadingIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const GenerationLoadingIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
const filledClassName = styles[`filled-${color}`]
|
|
9
12
|
|
|
10
13
|
let icon = <></>
|
|
@@ -45,12 +48,16 @@ GenerationLoadingIcon.propTypes = {
|
|
|
45
48
|
/**
|
|
46
49
|
* Size
|
|
47
50
|
*/
|
|
48
|
-
size: PropTypes.oneOf(SIZES)
|
|
51
|
+
size: PropTypes.oneOf(SIZES),
|
|
52
|
+
/**
|
|
53
|
+
* disabled
|
|
54
|
+
*/
|
|
55
|
+
disabled: PropTypes.bool
|
|
49
56
|
}
|
|
50
|
-
|
|
51
57
|
GenerationLoadingIcon.defaultProps = {
|
|
52
58
|
color: MAIN_DARK_BLUE,
|
|
53
|
-
size: MEDIUM
|
|
59
|
+
size: MEDIUM,
|
|
60
|
+
disabled: false
|
|
54
61
|
}
|
|
55
62
|
|
|
56
63
|
export default GenerationLoadingIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const GitHubRepo2Icon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const GitHubRepo2Icon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -75,12 +78,16 @@ GitHubRepo2Icon.propTypes = {
|
|
|
75
78
|
/**
|
|
76
79
|
* Size
|
|
77
80
|
*/
|
|
78
|
-
size: PropTypes.oneOf(SIZES)
|
|
81
|
+
size: PropTypes.oneOf(SIZES),
|
|
82
|
+
/**
|
|
83
|
+
* disabled
|
|
84
|
+
*/
|
|
85
|
+
disabled: PropTypes.bool
|
|
79
86
|
}
|
|
80
|
-
|
|
81
87
|
GitHubRepo2Icon.defaultProps = {
|
|
82
88
|
color: MAIN_DARK_BLUE,
|
|
83
|
-
size: MEDIUM
|
|
89
|
+
size: MEDIUM,
|
|
90
|
+
disabled: false
|
|
84
91
|
}
|
|
85
92
|
|
|
86
93
|
export default GitHubRepo2Icon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, LARGE, MAIN_DARK_BLUE, MEDIUM, SIZES, SMALL } from '../constants'
|
|
5
5
|
|
|
6
|
-
const GitHubRepoIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const GitHubRepoIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
const filledClassName = styles[`filled-${color}`]
|
|
9
12
|
let icon = <></>
|
|
10
13
|
|
|
@@ -97,12 +100,16 @@ GitHubRepoIcon.propTypes = {
|
|
|
97
100
|
/**
|
|
98
101
|
* Size
|
|
99
102
|
*/
|
|
100
|
-
size: PropTypes.oneOf(SIZES)
|
|
103
|
+
size: PropTypes.oneOf(SIZES),
|
|
104
|
+
/**
|
|
105
|
+
* disabled
|
|
106
|
+
*/
|
|
107
|
+
disabled: PropTypes.bool
|
|
101
108
|
}
|
|
102
|
-
|
|
103
109
|
GitHubRepoIcon.defaultProps = {
|
|
104
110
|
color: MAIN_DARK_BLUE,
|
|
105
|
-
size: MEDIUM
|
|
111
|
+
size: MEDIUM,
|
|
112
|
+
disabled: false
|
|
106
113
|
}
|
|
107
114
|
|
|
108
115
|
export default GitHubRepoIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const GiveOwnershipIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const GiveOwnershipIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -73,12 +76,16 @@ GiveOwnershipIcon.propTypes = {
|
|
|
73
76
|
/**
|
|
74
77
|
* Size
|
|
75
78
|
*/
|
|
76
|
-
size: PropTypes.oneOf(SIZES)
|
|
79
|
+
size: PropTypes.oneOf(SIZES),
|
|
80
|
+
/**
|
|
81
|
+
* disabled
|
|
82
|
+
*/
|
|
83
|
+
disabled: PropTypes.bool
|
|
77
84
|
}
|
|
78
|
-
|
|
79
85
|
GiveOwnershipIcon.defaultProps = {
|
|
80
86
|
color: MAIN_DARK_BLUE,
|
|
81
|
-
size: MEDIUM
|
|
87
|
+
size: MEDIUM,
|
|
88
|
+
disabled: false
|
|
82
89
|
}
|
|
83
90
|
|
|
84
91
|
export default GiveOwnershipIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const GraphQLIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const GraphQLIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -88,12 +91,16 @@ GraphQLIcon.propTypes = {
|
|
|
88
91
|
/**
|
|
89
92
|
* Size
|
|
90
93
|
*/
|
|
91
|
-
size: PropTypes.oneOf(SIZES)
|
|
94
|
+
size: PropTypes.oneOf(SIZES),
|
|
95
|
+
/**
|
|
96
|
+
* disabled
|
|
97
|
+
*/
|
|
98
|
+
disabled: PropTypes.bool
|
|
92
99
|
}
|
|
93
|
-
|
|
94
100
|
GraphQLIcon.defaultProps = {
|
|
95
101
|
color: MAIN_DARK_BLUE,
|
|
96
|
-
size: MEDIUM
|
|
102
|
+
size: MEDIUM,
|
|
103
|
+
disabled: false
|
|
97
104
|
}
|
|
98
105
|
|
|
99
106
|
export default GraphQLIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const ImportApplicationIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const ImportApplicationIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -41,12 +44,16 @@ ImportApplicationIcon.propTypes = {
|
|
|
41
44
|
/**
|
|
42
45
|
* Size
|
|
43
46
|
*/
|
|
44
|
-
size: PropTypes.oneOf(SIZES)
|
|
47
|
+
size: PropTypes.oneOf(SIZES),
|
|
48
|
+
/**
|
|
49
|
+
* disabled
|
|
50
|
+
*/
|
|
51
|
+
disabled: PropTypes.bool
|
|
45
52
|
}
|
|
46
|
-
|
|
47
53
|
ImportApplicationIcon.defaultProps = {
|
|
48
54
|
color: MAIN_DARK_BLUE,
|
|
49
|
-
size: LARGE
|
|
55
|
+
size: LARGE,
|
|
56
|
+
disabled: false
|
|
50
57
|
}
|
|
51
58
|
|
|
52
59
|
export default ImportApplicationIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const KeyIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const KeyIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -75,12 +78,16 @@ KeyIcon.propTypes = {
|
|
|
75
78
|
/**
|
|
76
79
|
* Size
|
|
77
80
|
*/
|
|
78
|
-
size: PropTypes.oneOf(SIZES)
|
|
81
|
+
size: PropTypes.oneOf(SIZES),
|
|
82
|
+
/**
|
|
83
|
+
* disabled
|
|
84
|
+
*/
|
|
85
|
+
disabled: PropTypes.bool
|
|
79
86
|
}
|
|
80
|
-
|
|
81
87
|
KeyIcon.defaultProps = {
|
|
82
88
|
color: MAIN_DARK_BLUE,
|
|
83
|
-
size: MEDIUM
|
|
89
|
+
size: MEDIUM,
|
|
90
|
+
disabled: false
|
|
84
91
|
}
|
|
85
92
|
|
|
86
93
|
export default KeyIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, LARGE, MEDIUM, SIZES, MAIN_DARK_BLUE, SMALL } from '../constants'
|
|
5
5
|
|
|
6
|
-
const LabelIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const LabelIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -69,12 +72,16 @@ LabelIcon.propTypes = {
|
|
|
69
72
|
/**
|
|
70
73
|
* Size
|
|
71
74
|
*/
|
|
72
|
-
size: PropTypes.oneOf(SIZES)
|
|
75
|
+
size: PropTypes.oneOf(SIZES),
|
|
76
|
+
/**
|
|
77
|
+
* disabled
|
|
78
|
+
*/
|
|
79
|
+
disabled: PropTypes.bool
|
|
73
80
|
}
|
|
74
|
-
|
|
75
81
|
LabelIcon.defaultProps = {
|
|
76
82
|
color: MAIN_DARK_BLUE,
|
|
77
|
-
size: MEDIUM
|
|
83
|
+
size: MEDIUM,
|
|
84
|
+
disabled: false
|
|
78
85
|
}
|
|
79
86
|
|
|
80
87
|
export default LabelIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const LayersIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const LayersIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -71,12 +74,16 @@ LayersIcon.propTypes = {
|
|
|
71
74
|
/**
|
|
72
75
|
* Size
|
|
73
76
|
*/
|
|
74
|
-
size: PropTypes.oneOf(SIZES)
|
|
77
|
+
size: PropTypes.oneOf(SIZES),
|
|
78
|
+
/**
|
|
79
|
+
* disabled
|
|
80
|
+
*/
|
|
81
|
+
disabled: PropTypes.bool
|
|
75
82
|
}
|
|
76
|
-
|
|
77
83
|
LayersIcon.defaultProps = {
|
|
78
84
|
color: MAIN_DARK_BLUE,
|
|
79
|
-
size: MEDIUM
|
|
85
|
+
size: MEDIUM,
|
|
86
|
+
disabled: false
|
|
80
87
|
}
|
|
81
88
|
|
|
82
89
|
export default LayersIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const LensIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const LensIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -69,12 +72,16 @@ LensIcon.propTypes = {
|
|
|
69
72
|
/**
|
|
70
73
|
* Size
|
|
71
74
|
*/
|
|
72
|
-
size: PropTypes.oneOf(SIZES)
|
|
75
|
+
size: PropTypes.oneOf(SIZES),
|
|
76
|
+
/**
|
|
77
|
+
* disabled
|
|
78
|
+
*/
|
|
79
|
+
disabled: PropTypes.bool
|
|
73
80
|
}
|
|
74
|
-
|
|
75
81
|
LensIcon.defaultProps = {
|
|
76
82
|
color: MAIN_DARK_BLUE,
|
|
77
|
-
size: MEDIUM
|
|
83
|
+
size: MEDIUM,
|
|
84
|
+
disabled: false
|
|
78
85
|
}
|
|
79
86
|
|
|
80
87
|
export default LensIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const LiveIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const LiveIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
const filledClassName = styles[`filled-${color}`]
|
|
9
12
|
let icon = <></>
|
|
10
13
|
|
|
@@ -75,12 +78,16 @@ LiveIcon.propTypes = {
|
|
|
75
78
|
/**
|
|
76
79
|
* Size
|
|
77
80
|
*/
|
|
78
|
-
size: PropTypes.oneOf(SIZES)
|
|
81
|
+
size: PropTypes.oneOf(SIZES),
|
|
82
|
+
/**
|
|
83
|
+
* disabled
|
|
84
|
+
*/
|
|
85
|
+
disabled: PropTypes.bool
|
|
79
86
|
}
|
|
80
|
-
|
|
81
87
|
LiveIcon.defaultProps = {
|
|
82
88
|
color: MAIN_DARK_BLUE,
|
|
83
|
-
size: MEDIUM
|
|
89
|
+
size: MEDIUM,
|
|
90
|
+
disabled: false
|
|
84
91
|
}
|
|
85
92
|
|
|
86
93
|
export default LiveIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, MEDIUM, EXTRA_LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const LoadingAppIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const LoadingAppIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
const filledClassName = styles[`filled-${color}`]
|
|
9
12
|
|
|
10
13
|
let icon = <></>
|
|
@@ -62,12 +65,16 @@ LoadingAppIcon.propTypes = {
|
|
|
62
65
|
/**
|
|
63
66
|
* Size
|
|
64
67
|
*/
|
|
65
|
-
size: PropTypes.oneOf(SIZES)
|
|
68
|
+
size: PropTypes.oneOf(SIZES),
|
|
69
|
+
/**
|
|
70
|
+
* disabled
|
|
71
|
+
*/
|
|
72
|
+
disabled: PropTypes.bool
|
|
66
73
|
}
|
|
67
|
-
|
|
68
74
|
LoadingAppIcon.defaultProps = {
|
|
69
75
|
color: MAIN_DARK_BLUE,
|
|
70
|
-
size: MEDIUM
|
|
76
|
+
size: MEDIUM,
|
|
77
|
+
disabled: false
|
|
71
78
|
}
|
|
72
79
|
|
|
73
80
|
export default LoadingAppIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const LogOutIcon = ({ color, size, tip }) => {
|
|
7
|
-
|
|
6
|
+
const LogOutIcon = ({ color, size, tip, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
|
|
5
5
|
|
|
6
|
-
const MetricsIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const MetricsIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -75,12 +78,16 @@ MetricsIcon.propTypes = {
|
|
|
75
78
|
/**
|
|
76
79
|
* Size
|
|
77
80
|
*/
|
|
78
|
-
size: PropTypes.oneOf(SIZES)
|
|
81
|
+
size: PropTypes.oneOf(SIZES),
|
|
82
|
+
/**
|
|
83
|
+
* disabled
|
|
84
|
+
*/
|
|
85
|
+
disabled: PropTypes.bool
|
|
79
86
|
}
|
|
80
|
-
|
|
81
87
|
MetricsIcon.defaultProps = {
|
|
82
88
|
color: MAIN_DARK_BLUE,
|
|
83
|
-
size: MEDIUM
|
|
89
|
+
size: MEDIUM,
|
|
90
|
+
disabled: false
|
|
84
91
|
}
|
|
85
92
|
|
|
86
93
|
export default MetricsIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, EXTRA_LARGE, SIZES, MAIN_DARK_BLUE, MEDIUM } from '../constants'
|
|
5
5
|
|
|
6
|
-
const MetricsLoadingIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const MetricsLoadingIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
const filledClassName = styles[`filled-${color}`]
|
|
9
12
|
|
|
10
13
|
let icon = <></>
|
|
@@ -44,12 +47,16 @@ MetricsLoadingIcon.propTypes = {
|
|
|
44
47
|
/**
|
|
45
48
|
* Size
|
|
46
49
|
*/
|
|
47
|
-
size: PropTypes.oneOf(SIZES)
|
|
50
|
+
size: PropTypes.oneOf(SIZES),
|
|
51
|
+
/**
|
|
52
|
+
* disabled
|
|
53
|
+
*/
|
|
54
|
+
disabled: PropTypes.bool
|
|
48
55
|
}
|
|
49
|
-
|
|
50
56
|
MetricsLoadingIcon.defaultProps = {
|
|
51
57
|
color: MAIN_DARK_BLUE,
|
|
52
|
-
size: MEDIUM
|
|
58
|
+
size: MEDIUM,
|
|
59
|
+
disabled: false
|
|
53
60
|
}
|
|
54
61
|
|
|
55
62
|
export default MetricsLoadingIcon
|
|
@@ -3,8 +3,11 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, LARGE, MAIN_DARK_BLUE, MEDIUM, SIZES, SMALL } from '../constants'
|
|
5
5
|
|
|
6
|
-
const NameAppIcon = ({ color, size }) => {
|
|
7
|
-
|
|
6
|
+
const NameAppIcon = ({ color, size, disabled }) => {
|
|
7
|
+
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
|
+
if (disabled) {
|
|
9
|
+
className += ` ${styles.iconDisabled}`
|
|
10
|
+
}
|
|
8
11
|
let icon = <></>
|
|
9
12
|
|
|
10
13
|
switch (size) {
|
|
@@ -79,12 +82,16 @@ NameAppIcon.propTypes = {
|
|
|
79
82
|
/**
|
|
80
83
|
* Size
|
|
81
84
|
*/
|
|
82
|
-
size: PropTypes.oneOf(SIZES)
|
|
85
|
+
size: PropTypes.oneOf(SIZES),
|
|
86
|
+
/**
|
|
87
|
+
* disabled
|
|
88
|
+
*/
|
|
89
|
+
disabled: PropTypes.bool
|
|
83
90
|
}
|
|
84
|
-
|
|
85
91
|
NameAppIcon.defaultProps = {
|
|
86
92
|
color: MAIN_DARK_BLUE,
|
|
87
|
-
size: MEDIUM
|
|
93
|
+
size: MEDIUM,
|
|
94
|
+
disabled: false
|
|
88
95
|
}
|
|
89
96
|
|
|
90
97
|
export default NameAppIcon
|