@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 GitHubRepo2Icon = ({ color, size, disabled }) => {
|
|
6
|
+
const GitHubRepo2Icon = ({ 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) {
|
|
@@ -82,12 +85,17 @@ GitHubRepo2Icon.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
|
GitHubRepo2Icon.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 GitHubRepo2Icon
|
|
@@ -3,11 +3,14 @@ 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, disabled }) => {
|
|
6
|
+
const GitHubRepoIcon = ({ 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
|
|
|
@@ -104,12 +107,17 @@ GitHubRepoIcon.propTypes = {
|
|
|
104
107
|
/**
|
|
105
108
|
* disabled
|
|
106
109
|
*/
|
|
107
|
-
disabled: PropTypes.bool
|
|
110
|
+
disabled: PropTypes.bool,
|
|
111
|
+
/**
|
|
112
|
+
* inactive
|
|
113
|
+
*/
|
|
114
|
+
inactive: PropTypes.bool
|
|
108
115
|
}
|
|
109
116
|
GitHubRepoIcon.defaultProps = {
|
|
110
117
|
color: MAIN_DARK_BLUE,
|
|
111
118
|
size: MEDIUM,
|
|
112
|
-
disabled: false
|
|
119
|
+
disabled: false,
|
|
120
|
+
inactive: false
|
|
113
121
|
}
|
|
114
122
|
|
|
115
123
|
export default GitHubRepoIcon
|
|
@@ -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 GiveOwnershipIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const GiveOwnershipIcon = ({ 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 @@ GiveOwnershipIcon.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
|
GiveOwnershipIcon.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 GiveOwnershipIcon
|
|
@@ -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 GraphQLIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const GraphQLIcon = ({ 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) {
|
|
@@ -95,12 +98,17 @@ GraphQLIcon.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
|
GraphQLIcon.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 GraphQLIcon
|
|
@@ -3,11 +3,14 @@ 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, disabled }) => {
|
|
6
|
+
const ImportApplicationIcon = ({ 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) {
|
|
@@ -48,12 +51,17 @@ ImportApplicationIcon.propTypes = {
|
|
|
48
51
|
/**
|
|
49
52
|
* disabled
|
|
50
53
|
*/
|
|
51
|
-
disabled: PropTypes.bool
|
|
54
|
+
disabled: PropTypes.bool,
|
|
55
|
+
/**
|
|
56
|
+
* inactive
|
|
57
|
+
*/
|
|
58
|
+
inactive: PropTypes.bool
|
|
52
59
|
}
|
|
53
60
|
ImportApplicationIcon.defaultProps = {
|
|
54
61
|
color: MAIN_DARK_BLUE,
|
|
55
62
|
size: LARGE,
|
|
56
|
-
disabled: false
|
|
63
|
+
disabled: false,
|
|
64
|
+
inactive: false
|
|
57
65
|
}
|
|
58
66
|
|
|
59
67
|
export default ImportApplicationIcon
|
|
@@ -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 KeyIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const KeyIcon = ({ 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) {
|
|
@@ -82,12 +85,17 @@ KeyIcon.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
|
KeyIcon.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 KeyIcon
|
|
@@ -3,11 +3,14 @@ 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, disabled }) => {
|
|
6
|
+
const LabelIcon = ({ 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) {
|
|
@@ -76,12 +79,17 @@ LabelIcon.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
|
LabelIcon.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 LabelIcon
|
|
@@ -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 LayersIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const LayersIcon = ({ 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) {
|
|
@@ -78,12 +81,17 @@ LayersIcon.propTypes = {
|
|
|
78
81
|
/**
|
|
79
82
|
* disabled
|
|
80
83
|
*/
|
|
81
|
-
disabled: PropTypes.bool
|
|
84
|
+
disabled: PropTypes.bool,
|
|
85
|
+
/**
|
|
86
|
+
* inactive
|
|
87
|
+
*/
|
|
88
|
+
inactive: PropTypes.bool
|
|
82
89
|
}
|
|
83
90
|
LayersIcon.defaultProps = {
|
|
84
91
|
color: MAIN_DARK_BLUE,
|
|
85
92
|
size: MEDIUM,
|
|
86
|
-
disabled: false
|
|
93
|
+
disabled: false,
|
|
94
|
+
inactive: false
|
|
87
95
|
}
|
|
88
96
|
|
|
89
97
|
export default LayersIcon
|
|
@@ -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 LensIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const LensIcon = ({ 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) {
|
|
@@ -76,12 +79,17 @@ LensIcon.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
|
LensIcon.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 LensIcon
|
|
@@ -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 LiveIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const LiveIcon = ({ 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 @@ LiveIcon.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
|
LiveIcon.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 LiveIcon
|
|
@@ -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 LoadingAppIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const LoadingAppIcon = ({ 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 = <></>
|
|
@@ -69,12 +72,17 @@ LoadingAppIcon.propTypes = {
|
|
|
69
72
|
/**
|
|
70
73
|
* disabled
|
|
71
74
|
*/
|
|
72
|
-
disabled: PropTypes.bool
|
|
75
|
+
disabled: PropTypes.bool,
|
|
76
|
+
/**
|
|
77
|
+
* inactive
|
|
78
|
+
*/
|
|
79
|
+
inactive: PropTypes.bool
|
|
73
80
|
}
|
|
74
81
|
LoadingAppIcon.defaultProps = {
|
|
75
82
|
color: MAIN_DARK_BLUE,
|
|
76
83
|
size: MEDIUM,
|
|
77
|
-
disabled: false
|
|
84
|
+
disabled: false,
|
|
85
|
+
inactive: false
|
|
78
86
|
}
|
|
79
87
|
|
|
80
88
|
export default LoadingAppIcon
|
|
@@ -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 LogOutIcon = ({ color, size, tip, disabled }) => {
|
|
6
|
+
const LogOutIcon = ({ color, size, tip, 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) {
|
|
@@ -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 MetricsIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const MetricsIcon = ({ 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) {
|
|
@@ -82,12 +85,17 @@ MetricsIcon.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
|
MetricsIcon.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 MetricsIcon
|
|
@@ -3,11 +3,14 @@ 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, disabled }) => {
|
|
6
|
+
const MetricsLoadingIcon = ({ 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 = <></>
|
|
@@ -51,12 +54,17 @@ MetricsLoadingIcon.propTypes = {
|
|
|
51
54
|
/**
|
|
52
55
|
* disabled
|
|
53
56
|
*/
|
|
54
|
-
disabled: PropTypes.bool
|
|
57
|
+
disabled: PropTypes.bool,
|
|
58
|
+
/**
|
|
59
|
+
* inactive
|
|
60
|
+
*/
|
|
61
|
+
inactive: PropTypes.bool
|
|
55
62
|
}
|
|
56
63
|
MetricsLoadingIcon.defaultProps = {
|
|
57
64
|
color: MAIN_DARK_BLUE,
|
|
58
65
|
size: MEDIUM,
|
|
59
|
-
disabled: false
|
|
66
|
+
disabled: false,
|
|
67
|
+
inactive: false
|
|
60
68
|
}
|
|
61
69
|
|
|
62
70
|
export default MetricsLoadingIcon
|
|
@@ -3,11 +3,14 @@ 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, disabled }) => {
|
|
6
|
+
const NameAppIcon = ({ 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 @@ NameAppIcon.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
|
NameAppIcon.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 NameAppIcon
|
|
@@ -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 OrganizationIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const OrganizationIcon = ({ 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 @@ OrganizationIcon.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
|
OrganizationIcon.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 OrganizationIcon
|
|
@@ -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 OutOfBoxGraphQLIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const OutOfBoxGraphQLIcon = ({ 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) {
|
|
@@ -108,12 +111,17 @@ OutOfBoxGraphQLIcon.propTypes = {
|
|
|
108
111
|
/**
|
|
109
112
|
* disabled
|
|
110
113
|
*/
|
|
111
|
-
disabled: PropTypes.bool
|
|
114
|
+
disabled: PropTypes.bool,
|
|
115
|
+
/**
|
|
116
|
+
* inactive
|
|
117
|
+
*/
|
|
118
|
+
inactive: PropTypes.bool
|
|
112
119
|
}
|
|
113
120
|
OutOfBoxGraphQLIcon.defaultProps = {
|
|
114
121
|
color: MAIN_DARK_BLUE,
|
|
115
122
|
size: MEDIUM,
|
|
116
|
-
disabled: false
|
|
123
|
+
disabled: false,
|
|
124
|
+
inactive: false
|
|
117
125
|
}
|
|
118
126
|
|
|
119
127
|
export default OutOfBoxGraphQLIcon
|
|
@@ -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 PlatformaticComposerIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const PlatformaticComposerIcon = ({ 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 @@ PlatformaticComposerIcon.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
|
PlatformaticComposerIcon.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 PlatformaticComposerIcon
|
|
@@ -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 PlatformaticDBIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const PlatformaticDBIcon = ({ 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) {
|
|
@@ -95,12 +98,17 @@ PlatformaticDBIcon.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
|
PlatformaticDBIcon.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 PlatformaticDBIcon
|