@platformatic/ui-components 0.1.142 → 0.1.143
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-ebd9cdc0.js +206 -0
- package/dist/assets/index-f415d95b.css +1 -0
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/src/components/Button.jsx +56 -28
- package/src/components/Button.module.css +14 -8
- package/src/components/Common.module.css +17 -11
- package/src/components/FollowUs.jsx +1 -1
- package/src/components/PlatformaticIcon.jsx +9 -2
- package/src/components/SearchBar.module.css +1 -1
- package/src/components/SearchBarV2.module.css +1 -1
- package/src/components/forms/Input.module.css +1 -1
- package/src/components/forms/InputWithSeparator.module.css +1 -1
- package/src/components/forms/Password.module.css +1 -1
- package/src/components/forms/Select.jsx +1 -1
- package/src/components/forms/Select.module.css +2 -2
- package/src/components/forms/TextArea.module.css +1 -1
- package/src/components/icons/AddIcon.jsx +11 -3
- package/src/components/icons/AlertIcon.jsx +11 -3
- package/src/components/icons/AllInOneIcon.jsx +11 -3
- package/src/components/icons/ApiCloudIcon.jsx +11 -3
- package/src/components/icons/ApiEmptyIcon.jsx +11 -3
- package/src/components/icons/ApiIcon.jsx +11 -3
- package/src/components/icons/ApiPerformanceIcon.jsx +11 -3
- package/src/components/icons/AppEmptyIcon.jsx +11 -3
- package/src/components/icons/AppIcon.jsx +11 -3
- package/src/components/icons/AppListIcon.jsx +11 -3
- package/src/components/icons/ApplicationTypeIcon.jsx +11 -3
- package/src/components/icons/ArrowDownFullIcon.jsx +11 -3
- package/src/components/icons/ArrowDownIcon.jsx +11 -3
- package/src/components/icons/ArrowLeftIcon.jsx +11 -3
- package/src/components/icons/ArrowLongLeftIcon.jsx +11 -3
- package/src/components/icons/ArrowLongRightIcon.jsx +11 -3
- package/src/components/icons/ArrowRightIcon.jsx +11 -3
- package/src/components/icons/ArrowUpIcon.jsx +11 -3
- package/src/components/icons/BellIcon.jsx +11 -3
- package/src/components/icons/BillingIcon.jsx +11 -3
- package/src/components/icons/Calendar1DayIcon.jsx +11 -3
- package/src/components/icons/Calendar7DaysIcon.jsx +11 -3
- package/src/components/icons/CalendarIcon.jsx +11 -3
- package/src/components/icons/CheckListIcon.jsx +11 -3
- package/src/components/icons/CircleAddIcon.jsx +11 -3
- package/src/components/icons/CircleArrowLeftIcon.jsx +11 -3
- package/src/components/icons/CircleArrowRightIcon.jsx +11 -3
- package/src/components/icons/CircleCheckMarkButtonIcon.jsx +6 -2
- package/src/components/icons/CircleCheckMarkFullIcon.jsx +11 -3
- package/src/components/icons/CircleCheckMarkIcon.jsx +9 -2
- package/src/components/icons/CircleCloseHoverIcon.jsx +11 -3
- package/src/components/icons/CircleCloseIcon.jsx +11 -3
- package/src/components/icons/CircleCopyPasteIcon.jsx +11 -3
- package/src/components/icons/CircleDownloadIcon.jsx +11 -3
- package/src/components/icons/CircleEditIcon.jsx +11 -3
- package/src/components/icons/CircleExclamationIcon.jsx +4 -1
- package/src/components/icons/CircleFullIcon.jsx +11 -3
- package/src/components/icons/CircleGearIcon.jsx +11 -3
- package/src/components/icons/CircleRestartIcon.jsx +11 -3
- package/src/components/icons/CircleSubtractIcon.jsx +11 -3
- package/src/components/icons/CircleTwoArrowsDownIcon.jsx +11 -3
- package/src/components/icons/CircleTwoArrowsUpIcon.jsx +11 -3
- package/src/components/icons/CloseIcon.jsx +11 -3
- package/src/components/icons/CloudIcon.jsx +11 -3
- package/src/components/icons/ComputerIcon.jsx +11 -3
- package/src/components/icons/ConfigureDatabaseIcon.jsx +11 -3
- package/src/components/icons/CopyPasteIcon.jsx +11 -3
- package/src/components/icons/CreatingAppIcon.jsx +11 -3
- package/src/components/icons/CreditCardIcon.jsx +11 -3
- package/src/components/icons/DatabaseIcon.jsx +11 -3
- package/src/components/icons/DatabaseMigrationIcon.jsx +11 -3
- package/src/components/icons/DepencenciesReloadIcon.jsx +11 -3
- package/src/components/icons/EditDocumentIcon.jsx +11 -3
- package/src/components/icons/EditIcon.jsx +11 -3
- package/src/components/icons/EnlargeIcon.jsx +11 -3
- package/src/components/icons/EntryIcon.jsx +11 -3
- package/src/components/icons/ExpandIcon.jsx +11 -3
- package/src/components/icons/ExploreDocIcon.jsx +11 -3
- package/src/components/icons/EyeClosedIcon.jsx +11 -3
- package/src/components/icons/EyeOpenedIcon.jsx +11 -3
- package/src/components/icons/FolderIcon.jsx +11 -3
- package/src/components/icons/FoldersIcon.jsx +11 -3
- package/src/components/icons/GearIcon.jsx +11 -3
- package/src/components/icons/GenerationLoadingIcon.jsx +11 -3
- package/src/components/icons/GitHubRepo2Icon.jsx +11 -3
- package/src/components/icons/GitHubRepoIcon.jsx +11 -3
- package/src/components/icons/GiveOwnershipIcon.jsx +11 -3
- package/src/components/icons/GraphQLIcon.jsx +11 -3
- package/src/components/icons/Icons.module.css +4 -0
- package/src/components/icons/ImportApplicationIcon.jsx +11 -3
- package/src/components/icons/KeyIcon.jsx +11 -3
- package/src/components/icons/LabelIcon.jsx +11 -3
- package/src/components/icons/LayersIcon.jsx +11 -3
- package/src/components/icons/LensIcon.jsx +11 -3
- package/src/components/icons/LiveIcon.jsx +11 -3
- package/src/components/icons/LoadingAppIcon.jsx +11 -3
- package/src/components/icons/LogOutIcon.jsx +4 -1
- package/src/components/icons/MetricsIcon.jsx +11 -3
- package/src/components/icons/MetricsLoadingIcon.jsx +11 -3
- package/src/components/icons/NameAppIcon.jsx +11 -3
- package/src/components/icons/OrganizationIcon.jsx +11 -3
- package/src/components/icons/OutOfBoxGraphQLIcon.jsx +11 -3
- package/src/components/icons/PlatformaticComposerIcon.jsx +11 -3
- package/src/components/icons/PlatformaticDBIcon.jsx +11 -3
- package/src/components/icons/PlatformaticRuntimeIcon.jsx +11 -3
- package/src/components/icons/PlatformaticServiceIcon.jsx +11 -3
- package/src/components/icons/PlayIcon.jsx +11 -3
- package/src/components/icons/PreviewPRIcon.jsx +11 -3
- package/src/components/icons/PullRequestIcon.jsx +11 -3
- package/src/components/icons/PullRequestLoadingIcon.jsx +11 -3
- package/src/components/icons/RequestOwnershipIcon.jsx +11 -3
- package/src/components/icons/RestartIcon.jsx +11 -3
- package/src/components/icons/RocketIcon.jsx +11 -3
- package/src/components/icons/RunningIcon.jsx +11 -3
- package/src/components/icons/SendIcon.jsx +11 -3
- package/src/components/icons/ServiceIcon.jsx +11 -3
- package/src/components/icons/SlotIcon.jsx +11 -3
- package/src/components/icons/SocialDiscordIcon.jsx +11 -3
- package/src/components/icons/SocialGitHubIcon.jsx +11 -3
- package/src/components/icons/SocialGitLabIcon.jsx +11 -3
- package/src/components/icons/SocialLinkedInIcon.jsx +11 -3
- package/src/components/icons/SocialNPMIcon.jsx +11 -3
- package/src/components/icons/SocialXIcon.jsx +11 -3
- package/src/components/icons/SortableIcon.jsx +11 -3
- package/src/components/icons/StackablesIcon.jsx +11 -3
- package/src/components/icons/StackablesPluginIcon.jsx +11 -3
- package/src/components/icons/StackablesTemplateIcon.jsx +11 -3
- package/src/components/icons/StopIcon.jsx +11 -3
- package/src/components/icons/SwitchIcon.jsx +11 -3
- package/src/components/icons/TeamsIcon.jsx +11 -3
- package/src/components/icons/TerminalIcon.jsx +11 -3
- package/src/components/icons/TrashIcon.jsx +11 -3
- package/src/components/icons/TwoUsersIcon.jsx +11 -3
- package/src/components/icons/UpgradeIcon.jsx +11 -3
- package/src/components/icons/UserComputerIcon.jsx +11 -3
- package/src/components/icons/UserIcon.jsx +11 -3
- package/src/components/icons/UserRemoveIcon.jsx +4 -1
- package/src/components/icons/UserRoleIcon.jsx +4 -1
- package/src/components/icons/WorkspaceDynamicIcon.jsx +11 -3
- package/src/components/icons/WorkspaceEmptyIcon.jsx +11 -3
- package/src/components/icons/WorkspaceFailIcon.jsx +11 -3
- package/src/components/icons/WorkspaceGitHubIcon.jsx +11 -3
- package/src/components/icons/WorkspaceLoadingIcon.jsx +11 -3
- package/src/components/icons/WorkspaceReadyIcon.jsx +11 -3
- package/src/components/icons/WorkspaceStaticIcon.jsx +11 -3
- package/src/stories/Button.stories.jsx +4 -10
- package/tailwind.config.cjs +1 -0
- package/dist/assets/index-45c3b9ea.css +0 -1
- package/dist/assets/index-5faf74a6.js +0 -206
|
@@ -3,11 +3,14 @@ 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 PlatformaticRuntimeIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const PlatformaticRuntimeIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -87,12 +90,17 @@ PlatformaticRuntimeIcon.propTypes = {
|
|
|
87
90
|
/**
|
|
88
91
|
* disabled
|
|
89
92
|
*/
|
|
90
|
-
disabled: PropTypes.bool
|
|
93
|
+
disabled: PropTypes.bool,
|
|
94
|
+
/**
|
|
95
|
+
* inactive
|
|
96
|
+
*/
|
|
97
|
+
inactive: PropTypes.bool
|
|
91
98
|
}
|
|
92
99
|
PlatformaticRuntimeIcon.defaultProps = {
|
|
93
100
|
color: MAIN_DARK_BLUE,
|
|
94
101
|
size: MEDIUM,
|
|
95
|
-
disabled: false
|
|
102
|
+
disabled: false,
|
|
103
|
+
inactive: false
|
|
96
104
|
}
|
|
97
105
|
|
|
98
106
|
export default PlatformaticRuntimeIcon
|
|
@@ -3,11 +3,14 @@ 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 PlatformaticServiceIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const PlatformaticServiceIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -87,12 +90,17 @@ PlatformaticServiceIcon.propTypes = {
|
|
|
87
90
|
/**
|
|
88
91
|
* disabled
|
|
89
92
|
*/
|
|
90
|
-
disabled: PropTypes.bool
|
|
93
|
+
disabled: PropTypes.bool,
|
|
94
|
+
/**
|
|
95
|
+
* inactive
|
|
96
|
+
*/
|
|
97
|
+
inactive: PropTypes.bool
|
|
91
98
|
}
|
|
92
99
|
PlatformaticServiceIcon.defaultProps = {
|
|
93
100
|
color: MAIN_DARK_BLUE,
|
|
94
101
|
size: MEDIUM,
|
|
95
|
-
disabled: false
|
|
102
|
+
disabled: false,
|
|
103
|
+
inactive: false
|
|
96
104
|
}
|
|
97
105
|
|
|
98
106
|
export default PlatformaticServiceIcon
|
|
@@ -3,11 +3,14 @@ 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 PlayIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const PlayIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -72,12 +75,17 @@ PlayIcon.propTypes = {
|
|
|
72
75
|
/**
|
|
73
76
|
* disabled
|
|
74
77
|
*/
|
|
75
|
-
disabled: PropTypes.bool
|
|
78
|
+
disabled: PropTypes.bool,
|
|
79
|
+
/**
|
|
80
|
+
* inactive
|
|
81
|
+
*/
|
|
82
|
+
inactive: PropTypes.bool
|
|
76
83
|
}
|
|
77
84
|
PlayIcon.defaultProps = {
|
|
78
85
|
color: MAIN_DARK_BLUE,
|
|
79
86
|
size: MEDIUM,
|
|
80
|
-
disabled: false
|
|
87
|
+
disabled: false,
|
|
88
|
+
inactive: false
|
|
81
89
|
}
|
|
82
90
|
|
|
83
91
|
export default PlayIcon
|
|
@@ -3,11 +3,14 @@ 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 PreviewPRIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const PreviewPRIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -96,12 +99,17 @@ PreviewPRIcon.propTypes = {
|
|
|
96
99
|
/**
|
|
97
100
|
* disabled
|
|
98
101
|
*/
|
|
99
|
-
disabled: PropTypes.bool
|
|
102
|
+
disabled: PropTypes.bool,
|
|
103
|
+
/**
|
|
104
|
+
* inactive
|
|
105
|
+
*/
|
|
106
|
+
inactive: PropTypes.bool
|
|
100
107
|
}
|
|
101
108
|
PreviewPRIcon.defaultProps = {
|
|
102
109
|
color: MAIN_DARK_BLUE,
|
|
103
110
|
size: MEDIUM,
|
|
104
|
-
disabled: false
|
|
111
|
+
disabled: false,
|
|
112
|
+
inactive: false
|
|
105
113
|
}
|
|
106
114
|
|
|
107
115
|
export default PreviewPRIcon
|
|
@@ -3,11 +3,14 @@ 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 PullRequestIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const PullRequestIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -89,12 +92,17 @@ PullRequestIcon.propTypes = {
|
|
|
89
92
|
/**
|
|
90
93
|
* disabled
|
|
91
94
|
*/
|
|
92
|
-
disabled: PropTypes.bool
|
|
95
|
+
disabled: PropTypes.bool,
|
|
96
|
+
/**
|
|
97
|
+
* inactive
|
|
98
|
+
*/
|
|
99
|
+
inactive: PropTypes.bool
|
|
93
100
|
}
|
|
94
101
|
PullRequestIcon.defaultProps = {
|
|
95
102
|
color: MAIN_DARK_BLUE,
|
|
96
103
|
size: MEDIUM,
|
|
97
|
-
disabled: false
|
|
104
|
+
disabled: false,
|
|
105
|
+
inactive: false
|
|
98
106
|
}
|
|
99
107
|
|
|
100
108
|
export default PullRequestIcon
|
|
@@ -3,11 +3,14 @@ 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 PullRequestLoadingIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const PullRequestLoadingIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
const filledClassName = styles[`filled-${color}`]
|
|
12
15
|
|
|
13
16
|
let icon = <></>
|
|
@@ -56,12 +59,17 @@ PullRequestLoadingIcon.propTypes = {
|
|
|
56
59
|
/**
|
|
57
60
|
* disabled
|
|
58
61
|
*/
|
|
59
|
-
disabled: PropTypes.bool
|
|
62
|
+
disabled: PropTypes.bool,
|
|
63
|
+
/**
|
|
64
|
+
* inactive
|
|
65
|
+
*/
|
|
66
|
+
inactive: PropTypes.bool
|
|
60
67
|
}
|
|
61
68
|
PullRequestLoadingIcon.defaultProps = {
|
|
62
69
|
color: MAIN_DARK_BLUE,
|
|
63
70
|
size: MEDIUM,
|
|
64
|
-
disabled: false
|
|
71
|
+
disabled: false,
|
|
72
|
+
inactive: false
|
|
65
73
|
}
|
|
66
74
|
|
|
67
75
|
export default PullRequestLoadingIcon
|
|
@@ -3,11 +3,14 @@ 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 RequestOwnershipIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const RequestOwnershipIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -80,12 +83,17 @@ RequestOwnershipIcon.propTypes = {
|
|
|
80
83
|
/**
|
|
81
84
|
* disabled
|
|
82
85
|
*/
|
|
83
|
-
disabled: PropTypes.bool
|
|
86
|
+
disabled: PropTypes.bool,
|
|
87
|
+
/**
|
|
88
|
+
* inactive
|
|
89
|
+
*/
|
|
90
|
+
inactive: PropTypes.bool
|
|
84
91
|
}
|
|
85
92
|
RequestOwnershipIcon.defaultProps = {
|
|
86
93
|
color: MAIN_DARK_BLUE,
|
|
87
94
|
size: MEDIUM,
|
|
88
|
-
disabled: false
|
|
95
|
+
disabled: false,
|
|
96
|
+
inactive: false
|
|
89
97
|
}
|
|
90
98
|
|
|
91
99
|
export default RequestOwnershipIcon
|
|
@@ -3,11 +3,14 @@ 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 RestartIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const RestartIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -75,12 +78,17 @@ RestartIcon.propTypes = {
|
|
|
75
78
|
/**
|
|
76
79
|
* disabled
|
|
77
80
|
*/
|
|
78
|
-
disabled: PropTypes.bool
|
|
81
|
+
disabled: PropTypes.bool,
|
|
82
|
+
/**
|
|
83
|
+
* inactive
|
|
84
|
+
*/
|
|
85
|
+
inactive: PropTypes.bool
|
|
79
86
|
}
|
|
80
87
|
RestartIcon.defaultProps = {
|
|
81
88
|
color: MAIN_DARK_BLUE,
|
|
82
89
|
size: MEDIUM,
|
|
83
|
-
disabled: false
|
|
90
|
+
disabled: false,
|
|
91
|
+
inactive: false
|
|
84
92
|
}
|
|
85
93
|
|
|
86
94
|
export default RestartIcon
|
|
@@ -3,11 +3,14 @@ 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 RocketIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const RocketIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -87,12 +90,17 @@ RocketIcon.propTypes = {
|
|
|
87
90
|
/**
|
|
88
91
|
* disabled
|
|
89
92
|
*/
|
|
90
|
-
disabled: PropTypes.bool
|
|
93
|
+
disabled: PropTypes.bool,
|
|
94
|
+
/**
|
|
95
|
+
* inactive
|
|
96
|
+
*/
|
|
97
|
+
inactive: PropTypes.bool
|
|
91
98
|
}
|
|
92
99
|
RocketIcon.defaultProps = {
|
|
93
100
|
color: MAIN_DARK_BLUE,
|
|
94
101
|
size: MEDIUM,
|
|
95
|
-
disabled: false
|
|
102
|
+
disabled: false,
|
|
103
|
+
inactive: false
|
|
96
104
|
}
|
|
97
105
|
|
|
98
106
|
export default RocketIcon
|
|
@@ -3,11 +3,14 @@ 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 RunningIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const RunningIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -79,12 +82,17 @@ RunningIcon.propTypes = {
|
|
|
79
82
|
/**
|
|
80
83
|
* disabled
|
|
81
84
|
*/
|
|
82
|
-
disabled: PropTypes.bool
|
|
85
|
+
disabled: PropTypes.bool,
|
|
86
|
+
/**
|
|
87
|
+
* inactive
|
|
88
|
+
*/
|
|
89
|
+
inactive: PropTypes.bool
|
|
83
90
|
}
|
|
84
91
|
RunningIcon.defaultProps = {
|
|
85
92
|
color: MAIN_DARK_BLUE,
|
|
86
93
|
size: MEDIUM,
|
|
87
|
-
disabled: false
|
|
94
|
+
disabled: false,
|
|
95
|
+
inactive: false
|
|
88
96
|
}
|
|
89
97
|
|
|
90
98
|
export default RunningIcon
|
|
@@ -3,11 +3,14 @@ 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 SendIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const SendIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -72,12 +75,17 @@ SendIcon.propTypes = {
|
|
|
72
75
|
/**
|
|
73
76
|
* disabled
|
|
74
77
|
*/
|
|
75
|
-
disabled: PropTypes.bool
|
|
78
|
+
disabled: PropTypes.bool,
|
|
79
|
+
/**
|
|
80
|
+
* inactive
|
|
81
|
+
*/
|
|
82
|
+
inactive: PropTypes.bool
|
|
76
83
|
}
|
|
77
84
|
SendIcon.defaultProps = {
|
|
78
85
|
color: MAIN_DARK_BLUE,
|
|
79
86
|
size: MEDIUM,
|
|
80
|
-
disabled: false
|
|
87
|
+
disabled: false,
|
|
88
|
+
inactive: false
|
|
81
89
|
}
|
|
82
90
|
|
|
83
91
|
export default SendIcon
|
|
@@ -3,11 +3,14 @@ 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 ServiceIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ServiceIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -86,12 +89,17 @@ ServiceIcon.propTypes = {
|
|
|
86
89
|
/**
|
|
87
90
|
* disabled
|
|
88
91
|
*/
|
|
89
|
-
disabled: PropTypes.bool
|
|
92
|
+
disabled: PropTypes.bool,
|
|
93
|
+
/**
|
|
94
|
+
* inactive
|
|
95
|
+
*/
|
|
96
|
+
inactive: PropTypes.bool
|
|
90
97
|
}
|
|
91
98
|
ServiceIcon.defaultProps = {
|
|
92
99
|
color: MAIN_DARK_BLUE,
|
|
93
100
|
size: MEDIUM,
|
|
94
|
-
disabled: false
|
|
101
|
+
disabled: false,
|
|
102
|
+
inactive: false
|
|
95
103
|
}
|
|
96
104
|
|
|
97
105
|
export default ServiceIcon
|
|
@@ -3,11 +3,14 @@ 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 SlotIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const SlotIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
let icon = <></>
|
|
12
15
|
|
|
13
16
|
switch (size) {
|
|
@@ -84,12 +87,17 @@ SlotIcon.propTypes = {
|
|
|
84
87
|
/**
|
|
85
88
|
* disabled
|
|
86
89
|
*/
|
|
87
|
-
disabled: PropTypes.bool
|
|
90
|
+
disabled: PropTypes.bool,
|
|
91
|
+
/**
|
|
92
|
+
* inactive
|
|
93
|
+
*/
|
|
94
|
+
inactive: PropTypes.bool
|
|
88
95
|
}
|
|
89
96
|
SlotIcon.defaultProps = {
|
|
90
97
|
color: MAIN_DARK_BLUE,
|
|
91
98
|
size: MEDIUM,
|
|
92
|
-
disabled: false
|
|
99
|
+
disabled: false,
|
|
100
|
+
inactive: false
|
|
93
101
|
}
|
|
94
102
|
|
|
95
103
|
export default SlotIcon
|
|
@@ -3,11 +3,14 @@ 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 SocialDiscordIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const SocialDiscordIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
const filledClassName = styles[`filled-${color}`]
|
|
12
15
|
let icon = <></>
|
|
13
16
|
|
|
@@ -76,12 +79,17 @@ SocialDiscordIcon.propTypes = {
|
|
|
76
79
|
/**
|
|
77
80
|
* disabled
|
|
78
81
|
*/
|
|
79
|
-
disabled: PropTypes.bool
|
|
82
|
+
disabled: PropTypes.bool,
|
|
83
|
+
/**
|
|
84
|
+
* inactive
|
|
85
|
+
*/
|
|
86
|
+
inactive: PropTypes.bool
|
|
80
87
|
}
|
|
81
88
|
SocialDiscordIcon.defaultProps = {
|
|
82
89
|
color: MAIN_DARK_BLUE,
|
|
83
90
|
size: MEDIUM,
|
|
84
|
-
disabled: false
|
|
91
|
+
disabled: false,
|
|
92
|
+
inactive: false
|
|
85
93
|
}
|
|
86
94
|
|
|
87
95
|
export default SocialDiscordIcon
|
|
@@ -3,11 +3,14 @@ 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 SocialGitHubIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const SocialGitHubIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
const filledClassName = styles[`filled-${color}`]
|
|
12
15
|
let icon = <></>
|
|
13
16
|
|
|
@@ -95,12 +98,17 @@ SocialGitHubIcon.propTypes = {
|
|
|
95
98
|
/**
|
|
96
99
|
* disabled
|
|
97
100
|
*/
|
|
98
|
-
disabled: PropTypes.bool
|
|
101
|
+
disabled: PropTypes.bool,
|
|
102
|
+
/**
|
|
103
|
+
* inactive
|
|
104
|
+
*/
|
|
105
|
+
inactive: PropTypes.bool
|
|
99
106
|
}
|
|
100
107
|
SocialGitHubIcon.defaultProps = {
|
|
101
108
|
color: MAIN_DARK_BLUE,
|
|
102
109
|
size: MEDIUM,
|
|
103
|
-
disabled: false
|
|
110
|
+
disabled: false,
|
|
111
|
+
inactive: false
|
|
104
112
|
}
|
|
105
113
|
|
|
106
114
|
export default SocialGitHubIcon
|
|
@@ -3,11 +3,14 @@ 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 SocialGitLabIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const SocialGitLabIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
const filledClassName = styles[`filled-${color}`]
|
|
12
15
|
let icon = <></>
|
|
13
16
|
|
|
@@ -119,12 +122,17 @@ SocialGitLabIcon.propTypes = {
|
|
|
119
122
|
/**
|
|
120
123
|
* disabled
|
|
121
124
|
*/
|
|
122
|
-
disabled: PropTypes.bool
|
|
125
|
+
disabled: PropTypes.bool,
|
|
126
|
+
/**
|
|
127
|
+
* inactive
|
|
128
|
+
*/
|
|
129
|
+
inactive: PropTypes.bool
|
|
123
130
|
}
|
|
124
131
|
SocialGitLabIcon.defaultProps = {
|
|
125
132
|
color: MAIN_DARK_BLUE,
|
|
126
133
|
size: MEDIUM,
|
|
127
|
-
disabled: false
|
|
134
|
+
disabled: false,
|
|
135
|
+
inactive: false
|
|
128
136
|
}
|
|
129
137
|
|
|
130
138
|
export default SocialGitLabIcon
|
|
@@ -3,11 +3,14 @@ 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 SocialLinkedInIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const SocialLinkedInIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
const filledClassName = styles[`filled-${color}`]
|
|
12
15
|
let icon = <></>
|
|
13
16
|
|
|
@@ -82,12 +85,17 @@ SocialLinkedInIcon.propTypes = {
|
|
|
82
85
|
/**
|
|
83
86
|
* disabled
|
|
84
87
|
*/
|
|
85
|
-
disabled: PropTypes.bool
|
|
88
|
+
disabled: PropTypes.bool,
|
|
89
|
+
/**
|
|
90
|
+
* inactive
|
|
91
|
+
*/
|
|
92
|
+
inactive: PropTypes.bool
|
|
86
93
|
}
|
|
87
94
|
SocialLinkedInIcon.defaultProps = {
|
|
88
95
|
color: MAIN_DARK_BLUE,
|
|
89
96
|
size: MEDIUM,
|
|
90
|
-
disabled: false
|
|
97
|
+
disabled: false,
|
|
98
|
+
inactive: false
|
|
91
99
|
}
|
|
92
100
|
|
|
93
101
|
export default SocialLinkedInIcon
|
|
@@ -3,11 +3,14 @@ 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 SocialNPMIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const SocialNPMIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
const filledClassName = styles[`filled-${color}`]
|
|
12
15
|
let icon = <></>
|
|
13
16
|
|
|
@@ -74,12 +77,17 @@ SocialNPMIcon.propTypes = {
|
|
|
74
77
|
/**
|
|
75
78
|
* disabled
|
|
76
79
|
*/
|
|
77
|
-
disabled: PropTypes.bool
|
|
80
|
+
disabled: PropTypes.bool,
|
|
81
|
+
/**
|
|
82
|
+
* inactive
|
|
83
|
+
*/
|
|
84
|
+
inactive: PropTypes.bool
|
|
78
85
|
}
|
|
79
86
|
SocialNPMIcon.defaultProps = {
|
|
80
87
|
color: MAIN_DARK_BLUE,
|
|
81
88
|
size: MEDIUM,
|
|
82
|
-
disabled: false
|
|
89
|
+
disabled: false,
|
|
90
|
+
inactive: false
|
|
83
91
|
}
|
|
84
92
|
|
|
85
93
|
export default SocialNPMIcon
|
|
@@ -3,11 +3,14 @@ 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 SocialXIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const SocialXIcon = ({ color, size, disabled, inactive }) => {
|
|
7
7
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
8
|
if (disabled) {
|
|
9
9
|
className += ` ${styles.iconDisabled}`
|
|
10
10
|
}
|
|
11
|
+
if (inactive) {
|
|
12
|
+
className += ` ${styles.iconInactive}`
|
|
13
|
+
}
|
|
11
14
|
const filledClassName = styles[`filled-${color}`]
|
|
12
15
|
let icon = <></>
|
|
13
16
|
|
|
@@ -75,12 +78,17 @@ SocialXIcon.propTypes = {
|
|
|
75
78
|
/**
|
|
76
79
|
* disabled
|
|
77
80
|
*/
|
|
78
|
-
disabled: PropTypes.bool
|
|
81
|
+
disabled: PropTypes.bool,
|
|
82
|
+
/**
|
|
83
|
+
* inactive
|
|
84
|
+
*/
|
|
85
|
+
inactive: PropTypes.bool
|
|
79
86
|
}
|
|
80
87
|
SocialXIcon.defaultProps = {
|
|
81
88
|
color: MAIN_DARK_BLUE,
|
|
82
89
|
size: MEDIUM,
|
|
83
|
-
disabled: false
|
|
90
|
+
disabled: false,
|
|
91
|
+
inactive: false
|
|
84
92
|
}
|
|
85
93
|
|
|
86
94
|
export default SocialXIcon
|