@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.
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 +2 -2
  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, LARGE, MAIN_DARK_BLUE, MEDIUM, SIZES, SMALL } from '../constants'
5
5
 
6
- const ConfigureDatabaseIcon = ({ color, size, disabled }) => {
6
+ const ConfigureDatabaseIcon = ({ 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) {
@@ -85,12 +88,17 @@ ConfigureDatabaseIcon.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
  ConfigureDatabaseIcon.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 ConfigureDatabaseIcon
@@ -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 CopyPasteIcon = ({ color, size, disabled }) => {
6
+ const CopyPasteIcon = ({ 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 @@ CopyPasteIcon.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
  CopyPasteIcon.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 CopyPasteIcon
@@ -3,11 +3,14 @@ import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
4
  import { COLORS_ICON, LARGE, MAIN_DARK_BLUE, MEDIUM, SIZES, SMALL } from '../constants'
5
5
 
6
- const CreatingAppIcon = ({ color, size, disabled }) => {
6
+ const CreatingAppIcon = ({ 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) {
@@ -91,12 +94,17 @@ CreatingAppIcon.propTypes = {
91
94
  /**
92
95
  * disabled
93
96
  */
94
- disabled: PropTypes.bool
97
+ disabled: PropTypes.bool,
98
+ /**
99
+ * inactive
100
+ */
101
+ inactive: PropTypes.bool
95
102
  }
96
103
  CreatingAppIcon.defaultProps = {
97
104
  color: MAIN_DARK_BLUE,
98
105
  size: MEDIUM,
99
- disabled: false
106
+ disabled: false,
107
+ inactive: false
100
108
  }
101
109
 
102
110
  export default CreatingAppIcon
@@ -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 CreditCardIcon = ({ color, size, disabled }) => {
6
+ const CreditCardIcon = ({ 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 @@ CreditCardIcon.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
  CreditCardIcon.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 CreditCardIcon
@@ -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 DatabaseIcon = ({ color, size, disabled }) => {
6
+ const DatabaseIcon = ({ 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 @@ DatabaseIcon.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
  DatabaseIcon.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 DatabaseIcon
@@ -3,11 +3,14 @@ import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
4
  import { COLORS_ICON, LARGE, MAIN_DARK_BLUE, MEDIUM, SIZES, SMALL } from '../constants'
5
5
 
6
- const DatabaseMigrationIcon = ({ color, size, disabled }) => {
6
+ const DatabaseMigrationIcon = ({ 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 @@ DatabaseMigrationIcon.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
  DatabaseMigrationIcon.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 DatabaseMigrationIcon
@@ -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 DepencenciesReloadIcon = ({ color, size, disabled }) => {
6
+ const DepencenciesReloadIcon = ({ color, size, disabled, inactive }) => {
7
7
  let className = `${styles.svgClassName} ` + styles[`${color}`]
8
8
  if (disabled) {
9
9
  className += ` ${styles.iconDisabled}`
10
10
  }
11
+ if (inactive) {
12
+ className += ` ${styles.iconInactive}`
13
+ }
11
14
  let icon = <></>
12
15
 
13
16
  switch (size) {
@@ -86,12 +89,17 @@ DepencenciesReloadIcon.propTypes = {
86
89
  /**
87
90
  * disabled
88
91
  */
89
- disabled: PropTypes.bool
92
+ disabled: PropTypes.bool,
93
+ /**
94
+ * inactive
95
+ */
96
+ inactive: PropTypes.bool
90
97
  }
91
98
  DepencenciesReloadIcon.defaultProps = {
92
99
  color: MAIN_DARK_BLUE,
93
100
  size: MEDIUM,
94
- disabled: false
101
+ disabled: false,
102
+ inactive: false
95
103
  }
96
104
 
97
105
  export default DepencenciesReloadIcon
@@ -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 EditDocumentIcon = ({ color, size, disabled }) => {
6
+ const EditDocumentIcon = ({ 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) {
@@ -93,12 +96,17 @@ EditDocumentIcon.propTypes = {
93
96
  /**
94
97
  * disabled
95
98
  */
96
- disabled: PropTypes.bool
99
+ disabled: PropTypes.bool,
100
+ /**
101
+ * inactive
102
+ */
103
+ inactive: PropTypes.bool
97
104
  }
98
105
  EditDocumentIcon.defaultProps = {
99
106
  color: MAIN_DARK_BLUE,
100
107
  size: MEDIUM,
101
- disabled: false
108
+ disabled: false,
109
+ inactive: false
102
110
  }
103
111
 
104
112
  export default EditDocumentIcon
@@ -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 EditIcon = ({ color, size, disabled }) => {
6
+ const EditIcon = ({ 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 @@ EditIcon.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
  EditIcon.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 EditIcon
@@ -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 EnlargeIcon = ({ color, size, disabled }) => {
6
+ const EnlargeIcon = ({ 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 @@ EnlargeIcon.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
  EnlargeIcon.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 EnlargeIcon
@@ -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 EntryIcon = ({ color, size, disabled }) => {
6
+ const EntryIcon = ({ 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 @@ EntryIcon.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
  EntryIcon.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 EntryIcon
@@ -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 ExpandIcon = ({ color, size, disabled }) => {
6
+ const ExpandIcon = ({ 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 @@ ExpandIcon.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
  ExpandIcon.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 ExpandIcon
@@ -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 ExploreDocIcon = ({ color, size, disabled }) => {
6
+ const ExploreDocIcon = ({ 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 @@ ExploreDocIcon.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
  ExploreDocIcon.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 ExploreDocIcon
@@ -3,11 +3,14 @@ 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 = ({ color, size, disabled }) => {
6
+ const EyeClosedIcon = ({ 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 @@ EyeClosedIcon.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
  EyeClosedIcon.defaultProps = {
53
60
  color: MAIN_DARK_BLUE,
54
61
  size: SMALL,
55
- disabled: false
62
+ disabled: false,
63
+ inactive: false
56
64
  }
57
65
 
58
66
  export default EyeClosedIcon
@@ -3,11 +3,14 @@ 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 = ({ color, size, disabled }) => {
6
+ const EyeOpenedIcon = ({ 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) {
@@ -45,12 +48,17 @@ EyeOpenedIcon.propTypes = {
45
48
  /**
46
49
  * disabled
47
50
  */
48
- disabled: PropTypes.bool
51
+ disabled: PropTypes.bool,
52
+ /**
53
+ * inactive
54
+ */
55
+ inactive: PropTypes.bool
49
56
  }
50
57
  EyeOpenedIcon.defaultProps = {
51
58
  color: MAIN_DARK_BLUE,
52
59
  size: SMALL,
53
- disabled: false
60
+ disabled: false,
61
+ inactive: false
54
62
  }
55
63
 
56
64
  export default EyeOpenedIcon
@@ -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 FolderIcon = ({ color, size, disabled }) => {
6
+ const FolderIcon = ({ 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 @@ FolderIcon.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
  FolderIcon.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 FolderIcon
@@ -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 FoldersIcon = ({ color, size, disabled }) => {
6
+ const FoldersIcon = ({ 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 @@ FoldersIcon.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
  FoldersIcon.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 FoldersIcon
@@ -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 GearIcon = ({ color, size, disabled }) => {
6
+ const GearIcon = ({ 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 @@ GearIcon.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
  GearIcon.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 GearIcon
@@ -3,11 +3,14 @@ import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
4
  import { COLORS_ICON, EXTRA_LARGE, SIZES, MAIN_DARK_BLUE, MEDIUM } from '../constants'
5
5
 
6
- const GenerationLoadingIcon = ({ color, size, disabled }) => {
6
+ const GenerationLoadingIcon = ({ 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 = <></>
@@ -52,12 +55,17 @@ GenerationLoadingIcon.propTypes = {
52
55
  /**
53
56
  * disabled
54
57
  */
55
- disabled: PropTypes.bool
58
+ disabled: PropTypes.bool,
59
+ /**
60
+ * inactive
61
+ */
62
+ inactive: PropTypes.bool
56
63
  }
57
64
  GenerationLoadingIcon.defaultProps = {
58
65
  color: MAIN_DARK_BLUE,
59
66
  size: MEDIUM,
60
- disabled: false
67
+ disabled: false,
68
+ inactive: false
61
69
  }
62
70
 
63
71
  export default GenerationLoadingIcon