@platformatic/ui-components 0.3.6 → 0.5.0
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/.nvmrc +1 -1
- package/dist/assets/index-BHLxMHb5.js +40 -0
- package/dist/assets/{index-BJ-rQoWR.css → index-Of0we_2v.css} +1 -1
- package/dist/index.html +2 -2
- package/dist/main.css +14 -4
- package/index.js +0 -2
- package/package.json +13 -12
- package/setupTests.js +1 -0
- package/src/components/BorderedBox.jsx +9 -20
- package/src/components/Button.jsx +14 -30
- package/src/components/ButtonFullRounded.jsx +13 -31
- package/src/components/ButtonOnlyIcon.jsx +13 -36
- package/src/components/Checkbox.jsx +5 -6
- package/src/components/CopyAndPaste.jsx +8 -19
- package/src/components/HorizontalSeparator.jsx +6 -8
- package/src/components/LoadingSpinnerV2.jsx +4 -11
- package/src/components/LoginButton.test.jsx +0 -1
- package/src/components/Modal.jsx +11 -25
- package/src/components/PlatformaticIcon.jsx +9 -21
- package/src/components/TabbedWindow.jsx +11 -10
- package/src/components/TabbedWindow.module.css +4 -4
- package/src/components/Tag.jsx +9 -11
- package/src/components/VerticalSeparator.jsx +6 -4
- package/src/components/icons/APIDocsIcon.jsx +6 -7
- package/src/components/icons/AddIcon.jsx +6 -7
- package/src/components/icons/AlertIcon.jsx +6 -7
- package/src/components/icons/AllAppsIcon.jsx +6 -7
- package/src/components/icons/AllInOneIcon.jsx +6 -7
- package/src/components/icons/ApiCloudIcon.jsx +6 -7
- package/src/components/icons/ApiEmptyIcon.jsx +6 -7
- package/src/components/icons/ApiIcon.jsx +6 -7
- package/src/components/icons/ApiIconClosed.jsx +10 -6
- package/src/components/icons/ApiPerformanceIcon.jsx +6 -7
- package/src/components/icons/AppConfigurationIcon.jsx +6 -7
- package/src/components/icons/AppDetailsIcon.jsx +6 -7
- package/src/components/icons/AppEditIcon.jsx +6 -7
- package/src/components/icons/AppEmptyIcon.jsx +6 -7
- package/src/components/icons/AppIcon.jsx +6 -7
- package/src/components/icons/AppListIcon.jsx +6 -7
- package/src/components/icons/AppSettingsIcon.jsx +6 -7
- package/src/components/icons/AppWorkspace.jsx +10 -7
- package/src/components/icons/ApplicationTypeIcon.jsx +6 -7
- package/src/components/icons/ArrowDownFullIcon.jsx +6 -7
- package/src/components/icons/ArrowDownIcon.jsx +6 -7
- package/src/components/icons/ArrowLeftIcon.jsx +6 -7
- package/src/components/icons/ArrowLongLeftIcon.jsx +6 -7
- package/src/components/icons/ArrowLongRightIcon.jsx +6 -7
- package/src/components/icons/ArrowRightIcon.jsx +6 -7
- package/src/components/icons/ArrowUpIcon.jsx +6 -7
- package/src/components/icons/BellIcon.jsx +6 -7
- package/src/components/icons/BillingIcon.jsx +6 -7
- package/src/components/icons/BuiltInLoggingIcon.jsx +6 -7
- package/src/components/icons/CLIIcon.jsx +6 -7
- package/src/components/icons/Calendar1DayIcon.jsx +6 -7
- package/src/components/icons/Calendar7DaysIcon.jsx +6 -7
- package/src/components/icons/CalendarIcon.jsx +6 -7
- package/src/components/icons/CheckListIcon.jsx +6 -7
- package/src/components/icons/CircleAddIcon.jsx +6 -7
- package/src/components/icons/CircleArrowLeftIcon.jsx +6 -7
- package/src/components/icons/CircleArrowRightIcon.jsx +6 -7
- package/src/components/icons/CircleCheckMarkButtonIcon.jsx +6 -8
- package/src/components/icons/CircleCheckMarkFullIcon.jsx +6 -7
- package/src/components/icons/CircleCheckMarkIcon.jsx +7 -6
- package/src/components/icons/CircleCloseHoverIcon.jsx +6 -7
- package/src/components/icons/CircleCloseIcon.jsx +6 -7
- package/src/components/icons/CircleCopyPasteIcon.jsx +6 -7
- package/src/components/icons/CircleDownloadIcon.jsx +6 -7
- package/src/components/icons/CircleEditIcon.jsx +6 -7
- package/src/components/icons/CircleExclamationIcon.jsx +7 -7
- package/src/components/icons/CircleFullIcon.jsx +6 -7
- package/src/components/icons/CircleGearIcon.jsx +6 -7
- package/src/components/icons/CirclePlayIcon.jsx +6 -7
- package/src/components/icons/CircleRestartIcon.jsx +6 -7
- package/src/components/icons/CircleStopIcon.jsx +6 -7
- package/src/components/icons/CircleSubtractIcon.jsx +6 -7
- package/src/components/icons/CircleTwoArrowsDownIcon.jsx +6 -7
- package/src/components/icons/CircleTwoArrowsUpIcon.jsx +6 -7
- package/src/components/icons/CloseIcon.jsx +6 -7
- package/src/components/icons/CloudIcon.jsx +6 -7
- package/src/components/icons/CodeTestingIcon.jsx +6 -7
- package/src/components/icons/ComputerIcon.jsx +6 -7
- package/src/components/icons/ConfigureDatabaseIcon.jsx +6 -7
- package/src/components/icons/CopyPasteIcon.jsx +6 -7
- package/src/components/icons/CreateAppIcon.jsx +6 -7
- package/src/components/icons/CreditCardIcon.jsx +6 -7
- package/src/components/icons/DatabaseIcon.jsx +6 -7
- package/src/components/icons/DatabaseMigrationIcon.jsx +6 -7
- package/src/components/icons/DepencenciesReloadIcon.jsx +6 -7
- package/src/components/icons/EditDocumentIcon.jsx +6 -7
- package/src/components/icons/EditIcon.jsx +6 -7
- package/src/components/icons/EnlargeIcon.jsx +6 -7
- package/src/components/icons/EntryIcon.jsx +6 -7
- package/src/components/icons/EntrypointIcon.jsx +6 -7
- package/src/components/icons/ExpandIcon.jsx +6 -7
- package/src/components/icons/ExploreDocIcon.jsx +6 -7
- package/src/components/icons/EyeClosedIcon.jsx +6 -7
- package/src/components/icons/EyeOpenedIcon.jsx +6 -7
- package/src/components/icons/FolderIcon.jsx +6 -7
- package/src/components/icons/FoldersIcon.jsx +6 -7
- package/src/components/icons/GearIcon.jsx +6 -7
- package/src/components/icons/GenerationLoadingIcon.jsx +6 -7
- package/src/components/icons/GitHubRepo2Icon.jsx +6 -7
- package/src/components/icons/GitHubRepoIcon.jsx +6 -7
- package/src/components/icons/GiveOwnershipIcon.jsx +6 -7
- package/src/components/icons/GraphQLIcon.jsx +6 -7
- package/src/components/icons/ImportAppIcon.jsx +6 -7
- package/src/components/icons/KeyIcon.jsx +6 -7
- package/src/components/icons/LabelIcon.jsx +6 -7
- package/src/components/icons/LayersIcon.jsx +6 -7
- package/src/components/icons/LensIcon.jsx +6 -7
- package/src/components/icons/LiveIcon.jsx +6 -7
- package/src/components/icons/LoadingAppIcon.jsx +6 -7
- package/src/components/icons/LogOutIcon.jsx +7 -7
- package/src/components/icons/LogsRiskIcon.jsx +6 -7
- package/src/components/icons/MetricsIcon.jsx +6 -7
- package/src/components/icons/MetricsLoadingIcon.jsx +6 -7
- package/src/components/icons/MissingTemplateIcon.jsx +6 -7
- package/src/components/icons/NameAppIcon.jsx +6 -7
- package/src/components/icons/NoMetricsIcon.jsx +6 -7
- package/src/components/icons/OrganizationIcon.jsx +6 -7
- package/src/components/icons/OutOfBoxGraphQLIcon.jsx +6 -7
- package/src/components/icons/PlatformaticComposerIcon.jsx +6 -7
- package/src/components/icons/PlatformaticDBIcon.jsx +6 -7
- package/src/components/icons/PlatformaticRuntimeIcon.jsx +6 -7
- package/src/components/icons/PlatformaticServiceIcon.jsx +6 -7
- package/src/components/icons/PlayIcon.jsx +6 -7
- package/src/components/icons/PreviewPRIcon.jsx +6 -7
- package/src/components/icons/PullRequestIcon.jsx +6 -7
- package/src/components/icons/PullRequestLoadingIcon.jsx +6 -7
- package/src/components/icons/RecentAppsIcon.jsx +6 -7
- package/src/components/icons/RequestOwnershipIcon.jsx +6 -7
- package/src/components/icons/RestartIcon.jsx +6 -7
- package/src/components/icons/RocketIcon.jsx +6 -7
- package/src/components/icons/RunningAppIcon.jsx +6 -7
- package/src/components/icons/RunningIcon.jsx +6 -7
- package/src/components/icons/SendIcon.jsx +6 -7
- package/src/components/icons/ServiceIcon.jsx +6 -7
- package/src/components/icons/SlotIcon.jsx +6 -7
- package/src/components/icons/SocialDiscordIcon.jsx +6 -7
- package/src/components/icons/SocialGitHubIcon.jsx +6 -7
- package/src/components/icons/SocialGitLabIcon.jsx +6 -7
- package/src/components/icons/SocialLinkedInIcon.jsx +6 -7
- package/src/components/icons/SocialNPMIcon.jsx +6 -7
- package/src/components/icons/SocialXIcon.jsx +6 -7
- package/src/components/icons/SortDownIcon.jsx +6 -7
- package/src/components/icons/SortIcon.jsx +6 -7
- package/src/components/icons/SortUpIcon.jsx +6 -7
- package/src/components/icons/SortableIcon.jsx +6 -7
- package/src/components/icons/StackablesIcon.jsx +6 -7
- package/src/components/icons/StackablesPluginIcon.jsx +6 -7
- package/src/components/icons/StackablesTemplateIcon.jsx +6 -7
- package/src/components/icons/StopIcon.jsx +6 -7
- package/src/components/icons/StoppedAppIcon.jsx +6 -7
- package/src/components/icons/SwitchIcon.jsx +6 -7
- package/src/components/icons/TeamsIcon.jsx +6 -7
- package/src/components/icons/TerminalIcon.jsx +6 -7
- package/src/components/icons/TrashIcon.jsx +6 -8
- package/src/components/icons/TwoUsersIcon.jsx +6 -7
- package/src/components/icons/UpgradeIcon.jsx +6 -7
- package/src/components/icons/UserComputerIcon.jsx +6 -7
- package/src/components/icons/UserIcon.jsx +6 -7
- package/src/components/icons/UserRemoveIcon.jsx +7 -7
- package/src/components/icons/UserRoleIcon.jsx +7 -7
- package/src/components/icons/WorkspaceDynamicIcon.jsx +6 -7
- package/src/components/icons/WorkspaceEmptyIcon.jsx +6 -7
- package/src/components/icons/WorkspaceFailIcon.jsx +6 -7
- package/src/components/icons/WorkspaceGitHubIcon.jsx +6 -7
- package/src/components/icons/WorkspaceLoadingIcon.jsx +6 -7
- package/src/components/icons/WorkspaceReadyIcon.jsx +6 -7
- package/src/components/icons/WorkspaceStaticIcon.jsx +6 -7
- package/src/components/layouts/Layout.jsx +4 -6
- package/src/components/logos/AdvancedLogo.jsx +5 -7
- package/src/components/logos/BasicLogo.jsx +5 -7
- package/src/components/logos/FreeLogo.jsx +5 -7
- package/src/components/logos/ProLogo.jsx +5 -7
- package/src/stories/BorderedBox.stories.jsx +3 -1
- package/src/stories/Button.stories.jsx +224 -47
- package/src/stories/ButtonFullRounded.stories.jsx +31 -6
- package/src/stories/ButtonOnlyIcon.stories.jsx +13 -3
- package/src/stories/DropDown.stories.jsx +43 -20
- package/src/stories/InfoBox.stories.jsx +12 -3
- package/src/stories/{Introduction.stories.mdx → Introduction.mdx} +115 -117
- package/src/stories/List.stories.jsx +28 -5
- package/src/stories/ListElement.stories.jsx +2 -1
- package/src/stories/Loadable.stories.jsx +6 -5
- package/src/stories/LoadingSpinner.stories.jsx +4 -2
- package/src/stories/LogoDropDown.stories.jsx +38 -24
- package/src/stories/Modal.stories.jsx +72 -17
- package/src/stories/ModalDirectional.stories.jsx +12 -2
- package/src/stories/ModalStepsForward.stories.jsx +82 -13
- package/src/stories/PlatformaticIcon.stories.jsx +44 -9
- package/src/stories/SearchBar.stories.jsx +0 -1
- package/src/stories/SearchBarV2.stories.jsx +0 -1
- package/src/stories/Sidebar.stories.jsx +41 -10
- package/src/stories/TabbedWindow.stories.jsx +71 -31
- package/src/stories/TextWithLabel.stories.jsx +5 -1
- package/src/stories/Tooltip.stories.jsx +10 -2
- package/src/stories/TwoColumnsLayout.stories.jsx +7 -2
- package/src/stories/forms/Field.stories.jsx +53 -15
- package/src/stories/forms/Input.stories.jsx +8 -2
- package/src/stories/forms/InputWithSeparator.stories.jsx +31 -9
- package/src/stories/forms/Password.stories.jsx +5 -1
- package/src/stories/forms/Preview.stories.jsx +6 -1
- package/src/stories/forms/RadioGroup.stories.jsx +5 -1
- package/src/stories/forms/Select.stories.jsx +60 -38
- package/src/stories/forms/SelectWithInput.stories.jsx +78 -41
- package/src/stories/forms/ToggleSwitch.stories.jsx +14 -4
- package/src/stories/icons/Icons.stories.jsx +40 -13
- package/src/stories/logos/Logos.stories.jsx +9 -2
- package/vitest.config.js +2 -1
- package/dist/assets/index-YI7s19_T.js +0 -40
- package/src/components/TabbedWindowV2.jsx +0 -82
- package/src/components/TabbedWindowV2.module.css +0 -17
|
@@ -3,7 +3,12 @@ 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 ExploreDocIcon = ({
|
|
6
|
+
const ExploreDocIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -101,11 +106,5 @@ ExploreDocIcon.propTypes = {
|
|
|
101
106
|
*/
|
|
102
107
|
inactive: PropTypes.bool
|
|
103
108
|
}
|
|
104
|
-
ExploreDocIcon.defaultProps = {
|
|
105
|
-
color: MAIN_DARK_BLUE,
|
|
106
|
-
size: MEDIUM,
|
|
107
|
-
disabled: false,
|
|
108
|
-
inactive: false
|
|
109
|
-
}
|
|
110
109
|
|
|
111
110
|
export default ExploreDocIcon
|
|
@@ -3,7 +3,12 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, MAIN_DARK_BLUE, SIZES, SMALL } from '../constants'
|
|
5
5
|
|
|
6
|
-
const EyeClosedIcon = ({
|
|
6
|
+
const EyeClosedIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = SMALL,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -56,11 +61,5 @@ EyeClosedIcon.propTypes = {
|
|
|
56
61
|
*/
|
|
57
62
|
inactive: PropTypes.bool
|
|
58
63
|
}
|
|
59
|
-
EyeClosedIcon.defaultProps = {
|
|
60
|
-
color: MAIN_DARK_BLUE,
|
|
61
|
-
size: SMALL,
|
|
62
|
-
disabled: false,
|
|
63
|
-
inactive: false
|
|
64
|
-
}
|
|
65
64
|
|
|
66
65
|
export default EyeClosedIcon
|
|
@@ -3,7 +3,12 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, MAIN_DARK_BLUE, SIZES, SMALL } from '../constants'
|
|
5
5
|
|
|
6
|
-
const EyeOpenedIcon = ({
|
|
6
|
+
const EyeOpenedIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = SMALL,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -54,11 +59,5 @@ EyeOpenedIcon.propTypes = {
|
|
|
54
59
|
*/
|
|
55
60
|
inactive: PropTypes.bool
|
|
56
61
|
}
|
|
57
|
-
EyeOpenedIcon.defaultProps = {
|
|
58
|
-
color: MAIN_DARK_BLUE,
|
|
59
|
-
size: SMALL,
|
|
60
|
-
disabled: false,
|
|
61
|
-
inactive: false
|
|
62
|
-
}
|
|
63
62
|
|
|
64
63
|
export default EyeOpenedIcon
|
|
@@ -3,7 +3,12 @@ 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 FolderIcon = ({
|
|
6
|
+
const FolderIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -81,11 +86,5 @@ FolderIcon.propTypes = {
|
|
|
81
86
|
*/
|
|
82
87
|
inactive: PropTypes.bool
|
|
83
88
|
}
|
|
84
|
-
FolderIcon.defaultProps = {
|
|
85
|
-
color: MAIN_DARK_BLUE,
|
|
86
|
-
size: MEDIUM,
|
|
87
|
-
disabled: false,
|
|
88
|
-
inactive: false
|
|
89
|
-
}
|
|
90
89
|
|
|
91
90
|
export default FolderIcon
|
|
@@ -3,7 +3,12 @@ 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 FoldersIcon = ({
|
|
6
|
+
const FoldersIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -84,11 +89,5 @@ FoldersIcon.propTypes = {
|
|
|
84
89
|
*/
|
|
85
90
|
inactive: PropTypes.bool
|
|
86
91
|
}
|
|
87
|
-
FoldersIcon.defaultProps = {
|
|
88
|
-
color: MAIN_DARK_BLUE,
|
|
89
|
-
size: MEDIUM,
|
|
90
|
-
disabled: false,
|
|
91
|
-
inactive: false
|
|
92
|
-
}
|
|
93
92
|
|
|
94
93
|
export default FoldersIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const GearIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -84,11 +89,5 @@ GearIcon.propTypes = {
|
|
|
84
89
|
*/
|
|
85
90
|
inactive: PropTypes.bool
|
|
86
91
|
}
|
|
87
|
-
GearIcon.defaultProps = {
|
|
88
|
-
color: MAIN_DARK_BLUE,
|
|
89
|
-
size: MEDIUM,
|
|
90
|
-
disabled: false,
|
|
91
|
-
inactive: false
|
|
92
|
-
}
|
|
93
92
|
|
|
94
93
|
export default GearIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const GenerationLoadingIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -61,11 +66,5 @@ GenerationLoadingIcon.propTypes = {
|
|
|
61
66
|
*/
|
|
62
67
|
inactive: PropTypes.bool
|
|
63
68
|
}
|
|
64
|
-
GenerationLoadingIcon.defaultProps = {
|
|
65
|
-
color: MAIN_DARK_BLUE,
|
|
66
|
-
size: MEDIUM,
|
|
67
|
-
disabled: false,
|
|
68
|
-
inactive: false
|
|
69
|
-
}
|
|
70
69
|
|
|
71
70
|
export default GenerationLoadingIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const GitHubRepo2Icon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -91,11 +96,5 @@ GitHubRepo2Icon.propTypes = {
|
|
|
91
96
|
*/
|
|
92
97
|
inactive: PropTypes.bool
|
|
93
98
|
}
|
|
94
|
-
GitHubRepo2Icon.defaultProps = {
|
|
95
|
-
color: MAIN_DARK_BLUE,
|
|
96
|
-
size: MEDIUM,
|
|
97
|
-
disabled: false,
|
|
98
|
-
inactive: false
|
|
99
|
-
}
|
|
100
99
|
|
|
101
100
|
export default GitHubRepo2Icon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const GitHubRepoIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -113,11 +118,5 @@ GitHubRepoIcon.propTypes = {
|
|
|
113
118
|
*/
|
|
114
119
|
inactive: PropTypes.bool
|
|
115
120
|
}
|
|
116
|
-
GitHubRepoIcon.defaultProps = {
|
|
117
|
-
color: MAIN_DARK_BLUE,
|
|
118
|
-
size: MEDIUM,
|
|
119
|
-
disabled: false,
|
|
120
|
-
inactive: false
|
|
121
|
-
}
|
|
122
121
|
|
|
123
122
|
export default GitHubRepoIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const GiveOwnershipIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -89,11 +94,5 @@ GiveOwnershipIcon.propTypes = {
|
|
|
89
94
|
*/
|
|
90
95
|
inactive: PropTypes.bool
|
|
91
96
|
}
|
|
92
|
-
GiveOwnershipIcon.defaultProps = {
|
|
93
|
-
color: MAIN_DARK_BLUE,
|
|
94
|
-
size: MEDIUM,
|
|
95
|
-
disabled: false,
|
|
96
|
-
inactive: false
|
|
97
|
-
}
|
|
98
97
|
|
|
99
98
|
export default GiveOwnershipIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const GraphQLIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -104,11 +109,5 @@ GraphQLIcon.propTypes = {
|
|
|
104
109
|
*/
|
|
105
110
|
inactive: PropTypes.bool
|
|
106
111
|
}
|
|
107
|
-
GraphQLIcon.defaultProps = {
|
|
108
|
-
color: MAIN_DARK_BLUE,
|
|
109
|
-
size: MEDIUM,
|
|
110
|
-
disabled: false,
|
|
111
|
-
inactive: false
|
|
112
|
-
}
|
|
113
112
|
|
|
114
113
|
export default GraphQLIcon
|
|
@@ -3,7 +3,12 @@ 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 ImportAppIcon = ({
|
|
6
|
+
const ImportAppIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -89,11 +94,5 @@ ImportAppIcon.propTypes = {
|
|
|
89
94
|
*/
|
|
90
95
|
inactive: PropTypes.bool
|
|
91
96
|
}
|
|
92
|
-
ImportAppIcon.defaultProps = {
|
|
93
|
-
color: MAIN_DARK_BLUE,
|
|
94
|
-
size: MEDIUM,
|
|
95
|
-
disabled: false,
|
|
96
|
-
inactive: false
|
|
97
|
-
}
|
|
98
97
|
|
|
99
98
|
export default ImportAppIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const KeyIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -91,11 +96,5 @@ KeyIcon.propTypes = {
|
|
|
91
96
|
*/
|
|
92
97
|
inactive: PropTypes.bool
|
|
93
98
|
}
|
|
94
|
-
KeyIcon.defaultProps = {
|
|
95
|
-
color: MAIN_DARK_BLUE,
|
|
96
|
-
size: MEDIUM,
|
|
97
|
-
disabled: false,
|
|
98
|
-
inactive: false
|
|
99
|
-
}
|
|
100
99
|
|
|
101
100
|
export default KeyIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const LabelIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -85,11 +90,5 @@ LabelIcon.propTypes = {
|
|
|
85
90
|
*/
|
|
86
91
|
inactive: PropTypes.bool
|
|
87
92
|
}
|
|
88
|
-
LabelIcon.defaultProps = {
|
|
89
|
-
color: MAIN_DARK_BLUE,
|
|
90
|
-
size: MEDIUM,
|
|
91
|
-
disabled: false,
|
|
92
|
-
inactive: false
|
|
93
|
-
}
|
|
94
93
|
|
|
95
94
|
export default LabelIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const LayersIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -87,11 +92,5 @@ LayersIcon.propTypes = {
|
|
|
87
92
|
*/
|
|
88
93
|
inactive: PropTypes.bool
|
|
89
94
|
}
|
|
90
|
-
LayersIcon.defaultProps = {
|
|
91
|
-
color: MAIN_DARK_BLUE,
|
|
92
|
-
size: MEDIUM,
|
|
93
|
-
disabled: false,
|
|
94
|
-
inactive: false
|
|
95
|
-
}
|
|
96
95
|
|
|
97
96
|
export default LayersIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const LensIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -85,11 +90,5 @@ LensIcon.propTypes = {
|
|
|
85
90
|
*/
|
|
86
91
|
inactive: PropTypes.bool
|
|
87
92
|
}
|
|
88
|
-
LensIcon.defaultProps = {
|
|
89
|
-
color: MAIN_DARK_BLUE,
|
|
90
|
-
size: MEDIUM,
|
|
91
|
-
disabled: false,
|
|
92
|
-
inactive: false
|
|
93
|
-
}
|
|
94
93
|
|
|
95
94
|
export default LensIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const LiveIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -91,11 +96,5 @@ LiveIcon.propTypes = {
|
|
|
91
96
|
*/
|
|
92
97
|
inactive: PropTypes.bool
|
|
93
98
|
}
|
|
94
|
-
LiveIcon.defaultProps = {
|
|
95
|
-
color: MAIN_DARK_BLUE,
|
|
96
|
-
size: MEDIUM,
|
|
97
|
-
disabled: false,
|
|
98
|
-
inactive: false
|
|
99
|
-
}
|
|
100
99
|
|
|
101
100
|
export default LiveIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const LoadingAppIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -78,11 +83,5 @@ LoadingAppIcon.propTypes = {
|
|
|
78
83
|
*/
|
|
79
84
|
inactive: PropTypes.bool
|
|
80
85
|
}
|
|
81
|
-
LoadingAppIcon.defaultProps = {
|
|
82
|
-
color: MAIN_DARK_BLUE,
|
|
83
|
-
size: MEDIUM,
|
|
84
|
-
disabled: false,
|
|
85
|
-
inactive: false
|
|
86
|
-
}
|
|
87
86
|
|
|
88
87
|
export default LoadingAppIcon
|
|
@@ -3,7 +3,13 @@ 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 = ({
|
|
6
|
+
const LogOutIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
tip = '',
|
|
10
|
+
disabled = false,
|
|
11
|
+
inactive = false
|
|
12
|
+
}) => {
|
|
7
13
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
14
|
if (disabled) {
|
|
9
15
|
className += ` ${styles.iconDisabled}`
|
|
@@ -87,10 +93,4 @@ LogOutIcon.propTypes = {
|
|
|
87
93
|
tip: PropTypes.string
|
|
88
94
|
}
|
|
89
95
|
|
|
90
|
-
LogOutIcon.defaultProps = {
|
|
91
|
-
color: MAIN_DARK_BLUE,
|
|
92
|
-
size: MEDIUM,
|
|
93
|
-
tip: ''
|
|
94
|
-
}
|
|
95
|
-
|
|
96
96
|
export default LogOutIcon
|
|
@@ -3,7 +3,12 @@ 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 LogsRiskIcon = ({
|
|
6
|
+
const LogsRiskIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -113,11 +118,5 @@ LogsRiskIcon.propTypes = {
|
|
|
113
118
|
*/
|
|
114
119
|
inactive: PropTypes.bool
|
|
115
120
|
}
|
|
116
|
-
LogsRiskIcon.defaultProps = {
|
|
117
|
-
color: MAIN_DARK_BLUE,
|
|
118
|
-
size: MEDIUM,
|
|
119
|
-
disabled: false,
|
|
120
|
-
inactive: false
|
|
121
|
-
}
|
|
122
121
|
|
|
123
122
|
export default LogsRiskIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const MetricsIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -91,11 +96,5 @@ MetricsIcon.propTypes = {
|
|
|
91
96
|
*/
|
|
92
97
|
inactive: PropTypes.bool
|
|
93
98
|
}
|
|
94
|
-
MetricsIcon.defaultProps = {
|
|
95
|
-
color: MAIN_DARK_BLUE,
|
|
96
|
-
size: MEDIUM,
|
|
97
|
-
disabled: false,
|
|
98
|
-
inactive: false
|
|
99
|
-
}
|
|
100
99
|
|
|
101
100
|
export default MetricsIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const MetricsLoadingIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -60,11 +65,5 @@ MetricsLoadingIcon.propTypes = {
|
|
|
60
65
|
*/
|
|
61
66
|
inactive: PropTypes.bool
|
|
62
67
|
}
|
|
63
|
-
MetricsLoadingIcon.defaultProps = {
|
|
64
|
-
color: MAIN_DARK_BLUE,
|
|
65
|
-
size: MEDIUM,
|
|
66
|
-
disabled: false,
|
|
67
|
-
inactive: false
|
|
68
|
-
}
|
|
69
68
|
|
|
70
69
|
export default MetricsLoadingIcon
|
|
@@ -3,7 +3,12 @@ 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 MissingTemplateIcon = ({
|
|
6
|
+
const MissingTemplateIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -97,11 +102,5 @@ MissingTemplateIcon.propTypes = {
|
|
|
97
102
|
*/
|
|
98
103
|
inactive: PropTypes.bool
|
|
99
104
|
}
|
|
100
|
-
MissingTemplateIcon.defaultProps = {
|
|
101
|
-
color: MAIN_DARK_BLUE,
|
|
102
|
-
size: MEDIUM,
|
|
103
|
-
disabled: false,
|
|
104
|
-
inactive: false
|
|
105
|
-
}
|
|
106
105
|
|
|
107
106
|
export default MissingTemplateIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const NameAppIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -95,11 +100,5 @@ NameAppIcon.propTypes = {
|
|
|
95
100
|
*/
|
|
96
101
|
inactive: PropTypes.bool
|
|
97
102
|
}
|
|
98
|
-
NameAppIcon.defaultProps = {
|
|
99
|
-
color: MAIN_DARK_BLUE,
|
|
100
|
-
size: MEDIUM,
|
|
101
|
-
disabled: false,
|
|
102
|
-
inactive: false
|
|
103
|
-
}
|
|
104
103
|
|
|
105
104
|
export default NameAppIcon
|
|
@@ -3,7 +3,12 @@ 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 NoMetricsIcon = ({
|
|
6
|
+
const NoMetricsIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -97,11 +102,5 @@ NoMetricsIcon.propTypes = {
|
|
|
97
102
|
*/
|
|
98
103
|
inactive: PropTypes.bool
|
|
99
104
|
}
|
|
100
|
-
NoMetricsIcon.defaultProps = {
|
|
101
|
-
color: MAIN_DARK_BLUE,
|
|
102
|
-
size: MEDIUM,
|
|
103
|
-
disabled: false,
|
|
104
|
-
inactive: false
|
|
105
|
-
}
|
|
106
105
|
|
|
107
106
|
export default NoMetricsIcon
|
|
@@ -3,7 +3,12 @@ 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 = ({
|
|
6
|
+
const OrganizationIcon = ({
|
|
7
|
+
color = MAIN_DARK_BLUE,
|
|
8
|
+
size = MEDIUM,
|
|
9
|
+
disabled = false,
|
|
10
|
+
inactive = false
|
|
11
|
+
}) => {
|
|
7
12
|
let className = `${styles.svgClassName} ` + styles[`${color}`]
|
|
8
13
|
if (disabled) {
|
|
9
14
|
className += ` ${styles.iconDisabled}`
|
|
@@ -95,11 +100,5 @@ OrganizationIcon.propTypes = {
|
|
|
95
100
|
*/
|
|
96
101
|
inactive: PropTypes.bool
|
|
97
102
|
}
|
|
98
|
-
OrganizationIcon.defaultProps = {
|
|
99
|
-
color: MAIN_DARK_BLUE,
|
|
100
|
-
size: MEDIUM,
|
|
101
|
-
disabled: false,
|
|
102
|
-
inactive: false
|
|
103
|
-
}
|
|
104
103
|
|
|
105
104
|
export default OrganizationIcon
|