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