@platformatic/ui-components 0.1.141 → 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 +2 -2
- 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 ApiPerformanceIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ApiPerformanceIcon = ({ 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
|
|
|
@@ -96,12 +99,17 @@ ApiPerformanceIcon.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
|
ApiPerformanceIcon.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 ApiPerformanceIcon
|
|
@@ -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 AppEmptyIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const AppEmptyIcon = ({ 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) {
|
|
@@ -49,12 +52,17 @@ AppEmptyIcon.propTypes = {
|
|
|
49
52
|
/**
|
|
50
53
|
* disabled
|
|
51
54
|
*/
|
|
52
|
-
disabled: PropTypes.bool
|
|
55
|
+
disabled: PropTypes.bool,
|
|
56
|
+
/**
|
|
57
|
+
* inactive
|
|
58
|
+
*/
|
|
59
|
+
inactive: PropTypes.bool
|
|
53
60
|
}
|
|
54
61
|
AppEmptyIcon.defaultProps = {
|
|
55
62
|
color: MAIN_DARK_BLUE,
|
|
56
63
|
size: MEDIUM,
|
|
57
|
-
disabled: false
|
|
64
|
+
disabled: false,
|
|
65
|
+
inactive: false
|
|
58
66
|
}
|
|
59
67
|
|
|
60
68
|
export default AppEmptyIcon
|
|
@@ -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 AppIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const AppIcon = ({ 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 @@ AppIcon.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
|
AppIcon.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 AppIcon
|
|
@@ -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 AppListIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const AppListIcon = ({ 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) {
|
|
@@ -100,12 +103,17 @@ AppListIcon.propTypes = {
|
|
|
100
103
|
/**
|
|
101
104
|
* disabled
|
|
102
105
|
*/
|
|
103
|
-
disabled: PropTypes.bool
|
|
106
|
+
disabled: PropTypes.bool,
|
|
107
|
+
/**
|
|
108
|
+
* inactive
|
|
109
|
+
*/
|
|
110
|
+
inactive: PropTypes.bool
|
|
104
111
|
}
|
|
105
112
|
AppListIcon.defaultProps = {
|
|
106
113
|
color: MAIN_DARK_BLUE,
|
|
107
114
|
size: MEDIUM,
|
|
108
|
-
disabled: false
|
|
115
|
+
disabled: false,
|
|
116
|
+
inactive: false
|
|
109
117
|
}
|
|
110
118
|
|
|
111
119
|
export default AppListIcon
|
|
@@ -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 ApplicationTypeIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ApplicationTypeIcon = ({ 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) {
|
|
@@ -47,12 +50,17 @@ ApplicationTypeIcon.propTypes = {
|
|
|
47
50
|
/**
|
|
48
51
|
* disabled
|
|
49
52
|
*/
|
|
50
|
-
disabled: PropTypes.bool
|
|
53
|
+
disabled: PropTypes.bool,
|
|
54
|
+
/**
|
|
55
|
+
* inactive
|
|
56
|
+
*/
|
|
57
|
+
inactive: PropTypes.bool
|
|
51
58
|
}
|
|
52
59
|
ApplicationTypeIcon.defaultProps = {
|
|
53
60
|
color: MAIN_DARK_BLUE,
|
|
54
61
|
size: LARGE,
|
|
55
|
-
disabled: false
|
|
62
|
+
disabled: false,
|
|
63
|
+
inactive: false
|
|
56
64
|
}
|
|
57
65
|
|
|
58
66
|
export default ApplicationTypeIcon
|
|
@@ -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 ArrowDownFullIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ArrowDownFullIcon = ({ 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
|
|
|
@@ -73,12 +76,17 @@ ArrowDownFullIcon.propTypes = {
|
|
|
73
76
|
/**
|
|
74
77
|
* disabled
|
|
75
78
|
*/
|
|
76
|
-
disabled: PropTypes.bool
|
|
79
|
+
disabled: PropTypes.bool,
|
|
80
|
+
/**
|
|
81
|
+
* inactive
|
|
82
|
+
*/
|
|
83
|
+
inactive: PropTypes.bool
|
|
77
84
|
}
|
|
78
85
|
ArrowDownFullIcon.defaultProps = {
|
|
79
86
|
color: MAIN_DARK_BLUE,
|
|
80
87
|
size: MEDIUM,
|
|
81
|
-
disabled: false
|
|
88
|
+
disabled: false,
|
|
89
|
+
inactive: false
|
|
82
90
|
}
|
|
83
91
|
|
|
84
92
|
export default ArrowDownFullIcon
|
|
@@ -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 ArrowDownIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ArrowDownIcon = ({ 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 @@ ArrowDownIcon.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
|
ArrowDownIcon.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 ArrowDownIcon
|
|
@@ -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 ArrowLeftIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ArrowLeftIcon = ({ 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 @@ ArrowLeftIcon.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
|
ArrowLeftIcon.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 ArrowLeftIcon
|
|
@@ -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 ArrowLongLeftIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ArrowLongLeftIcon = ({ 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) {
|
|
@@ -73,12 +76,17 @@ ArrowLongLeftIcon.propTypes = {
|
|
|
73
76
|
/**
|
|
74
77
|
* disabled
|
|
75
78
|
*/
|
|
76
|
-
disabled: PropTypes.bool
|
|
79
|
+
disabled: PropTypes.bool,
|
|
80
|
+
/**
|
|
81
|
+
* inactive
|
|
82
|
+
*/
|
|
83
|
+
inactive: PropTypes.bool
|
|
77
84
|
}
|
|
78
85
|
ArrowLongLeftIcon.defaultProps = {
|
|
79
86
|
color: MAIN_DARK_BLUE,
|
|
80
87
|
size: MEDIUM,
|
|
81
|
-
disabled: false
|
|
88
|
+
disabled: false,
|
|
89
|
+
inactive: false
|
|
82
90
|
}
|
|
83
91
|
|
|
84
92
|
export default ArrowLongLeftIcon
|
|
@@ -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 ArrowLongRightIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ArrowLongRightIcon = ({ 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) {
|
|
@@ -73,12 +76,17 @@ ArrowLongRightIcon.propTypes = {
|
|
|
73
76
|
/**
|
|
74
77
|
* disabled
|
|
75
78
|
*/
|
|
76
|
-
disabled: PropTypes.bool
|
|
79
|
+
disabled: PropTypes.bool,
|
|
80
|
+
/**
|
|
81
|
+
* inactive
|
|
82
|
+
*/
|
|
83
|
+
inactive: PropTypes.bool
|
|
77
84
|
}
|
|
78
85
|
ArrowLongRightIcon.defaultProps = {
|
|
79
86
|
color: MAIN_DARK_BLUE,
|
|
80
87
|
size: MEDIUM,
|
|
81
|
-
disabled: false
|
|
88
|
+
disabled: false,
|
|
89
|
+
inactive: false
|
|
82
90
|
}
|
|
83
91
|
|
|
84
92
|
export default ArrowLongRightIcon
|
|
@@ -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 ArrowRightIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ArrowRightIcon = ({ 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 @@ ArrowRightIcon.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
|
ArrowRightIcon.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 ArrowRightIcon
|
|
@@ -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 ArrowUpIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const ArrowUpIcon = ({ 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 @@ ArrowUpIcon.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
|
ArrowUpIcon.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 ArrowUpIcon
|
|
@@ -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 BellIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const BellIcon = ({ 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 @@ BellIcon.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
|
BellIcon.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 BellIcon
|
|
@@ -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 BillingIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const BillingIcon = ({ 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 = <></>
|
|
@@ -95,12 +98,17 @@ BillingIcon.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
|
BillingIcon.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 BillingIcon
|
|
@@ -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 Calendar1DayIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const Calendar1DayIcon = ({ 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 = <></>
|
|
@@ -87,12 +90,17 @@ Calendar1DayIcon.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
|
Calendar1DayIcon.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 Calendar1DayIcon
|
|
@@ -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 Calendar7DaysIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const Calendar7DaysIcon = ({ 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 = <></>
|
|
@@ -85,12 +88,17 @@ Calendar7DaysIcon.propTypes = {
|
|
|
85
88
|
/**
|
|
86
89
|
* disabled
|
|
87
90
|
*/
|
|
88
|
-
disabled: PropTypes.bool
|
|
91
|
+
disabled: PropTypes.bool,
|
|
92
|
+
/**
|
|
93
|
+
* inactive
|
|
94
|
+
*/
|
|
95
|
+
inactive: PropTypes.bool
|
|
89
96
|
}
|
|
90
97
|
Calendar7DaysIcon.defaultProps = {
|
|
91
98
|
color: MAIN_DARK_BLUE,
|
|
92
99
|
size: MEDIUM,
|
|
93
|
-
disabled: false
|
|
100
|
+
disabled: false,
|
|
101
|
+
inactive: false
|
|
94
102
|
}
|
|
95
103
|
|
|
96
104
|
export default Calendar7DaysIcon
|
|
@@ -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 CalendarIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const CalendarIcon = ({ 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
|
|
|
@@ -99,12 +102,17 @@ CalendarIcon.propTypes = {
|
|
|
99
102
|
/**
|
|
100
103
|
* disabled
|
|
101
104
|
*/
|
|
102
|
-
disabled: PropTypes.bool
|
|
105
|
+
disabled: PropTypes.bool,
|
|
106
|
+
/**
|
|
107
|
+
* inactive
|
|
108
|
+
*/
|
|
109
|
+
inactive: PropTypes.bool
|
|
103
110
|
}
|
|
104
111
|
CalendarIcon.defaultProps = {
|
|
105
112
|
color: MAIN_DARK_BLUE,
|
|
106
113
|
size: MEDIUM,
|
|
107
|
-
disabled: false
|
|
114
|
+
disabled: false,
|
|
115
|
+
inactive: false
|
|
108
116
|
}
|
|
109
117
|
|
|
110
118
|
export default CalendarIcon
|
|
@@ -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 CheckListIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const CheckListIcon = ({ 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) {
|
|
@@ -94,12 +97,17 @@ CheckListIcon.propTypes = {
|
|
|
94
97
|
/**
|
|
95
98
|
* disabled
|
|
96
99
|
*/
|
|
97
|
-
disabled: PropTypes.bool
|
|
100
|
+
disabled: PropTypes.bool,
|
|
101
|
+
/**
|
|
102
|
+
* inactive
|
|
103
|
+
*/
|
|
104
|
+
inactive: PropTypes.bool
|
|
98
105
|
}
|
|
99
106
|
CheckListIcon.defaultProps = {
|
|
100
107
|
color: MAIN_DARK_BLUE,
|
|
101
108
|
size: MEDIUM,
|
|
102
|
-
disabled: false
|
|
109
|
+
disabled: false,
|
|
110
|
+
inactive: false
|
|
103
111
|
}
|
|
104
112
|
|
|
105
113
|
export default CheckListIcon
|
|
@@ -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 CircleAddIcon = ({ color, size, disabled }) => {
|
|
6
|
+
const CircleAddIcon = ({ 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 @@ CircleAddIcon.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
|
CircleAddIcon.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 CircleAddIcon
|