@platformatic/ui-components 0.1.142 → 0.1.144

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