@platformatic/ui-components 0.15.4 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/dist/assets/{index-DMinbJlj.css → index-BgaMsXXo.css} +1 -1
  2. package/dist/assets/index-CqZKPFqq.js +49 -0
  3. package/dist/index.html +2 -2
  4. package/dist/main.css +0 -4
  5. package/package.json +1 -1
  6. package/src/components/BorderedBox.jsx +1 -37
  7. package/src/components/Button.jsx +0 -72
  8. package/src/components/ButtonFullRounded.jsx +1 -57
  9. package/src/components/ButtonOnlyIcon.jsx +1 -57
  10. package/src/components/Checkbox.jsx +1 -17
  11. package/src/components/CopyAndPaste.jsx +1 -41
  12. package/src/components/DropDown.jsx +2 -53
  13. package/src/components/FollowUs.jsx +1 -36
  14. package/src/components/HorizontalSeparator.jsx +2 -21
  15. package/src/components/InfoBox.jsx +1 -32
  16. package/src/components/ListElement.jsx +1 -32
  17. package/src/components/LoadingSpinner.jsx +0 -8
  18. package/src/components/LoadingSpinnerV2.jsx +0 -25
  19. package/src/components/LogoDropDown.jsx +0 -28
  20. package/src/components/Modal.jsx +0 -59
  21. package/src/components/ModalDirectional.jsx +0 -28
  22. package/src/components/ModalStepsForward.jsx +1 -21
  23. package/src/components/PlatformaticIcon.jsx +1 -41
  24. package/src/components/SearchBarV2.jsx +1 -45
  25. package/src/components/Sidebar.jsx +0 -53
  26. package/src/components/Status.jsx +1 -18
  27. package/src/components/TabbedWindow.jsx +1 -33
  28. package/src/components/Tag.jsx +1 -44
  29. package/src/components/TextWithLabel.jsx +1 -25
  30. package/src/components/Tooltip.jsx +2 -46
  31. package/src/components/TooltipAbsolute.jsx +1 -41
  32. package/src/components/VerticalSeparator.jsx +1 -22
  33. package/src/components/forms/Field.jsx +1 -37
  34. package/src/components/forms/Input.jsx +1 -85
  35. package/src/components/forms/InputFileUpload.jsx +1 -101
  36. package/src/components/forms/InputWithSeparator.jsx +1 -74
  37. package/src/components/forms/Password.jsx +3 -43
  38. package/src/components/forms/Preview.jsx +1 -51
  39. package/src/components/forms/RadioGroup.jsx +0 -35
  40. package/src/components/forms/Select.jsx +1 -110
  41. package/src/components/forms/SelectWithInput.jsx +1 -111
  42. package/src/components/forms/TextArea.jsx +1 -53
  43. package/src/components/forms/ToggleSwitch.jsx +1 -42
  44. package/src/components/icons/APIDocsIcon.jsx +1 -21
  45. package/src/components/icons/APIKeyIcon.jsx +1 -21
  46. package/src/components/icons/AWSIcon.jsx +1 -21
  47. package/src/components/icons/AddEnvVariableIcon.jsx +1 -17
  48. package/src/components/icons/AddIcon.jsx +1 -21
  49. package/src/components/icons/AddRouteIcon.jsx +1 -17
  50. package/src/components/icons/AddUserIcon.jsx +1 -21
  51. package/src/components/icons/AlertIcon.jsx +1 -21
  52. package/src/components/icons/AllAppsIcon.jsx +1 -21
  53. package/src/components/icons/AllInOneIcon.jsx +1 -21
  54. package/src/components/icons/ApiCloudIcon.jsx +1 -21
  55. package/src/components/icons/ApiEmptyIcon.jsx +1 -21
  56. package/src/components/icons/ApiIcon.jsx +1 -21
  57. package/src/components/icons/ApiIconClosed.jsx +1 -17
  58. package/src/components/icons/ApiPerformanceIcon.jsx +1 -21
  59. package/src/components/icons/AppConfigurationIcon.jsx +1 -21
  60. package/src/components/icons/AppDetailsIcon.jsx +1 -21
  61. package/src/components/icons/AppEditIcon.jsx +1 -21
  62. package/src/components/icons/AppEmptyIcon.jsx +1 -21
  63. package/src/components/icons/AppIcon.jsx +1 -21
  64. package/src/components/icons/AppListIcon.jsx +1 -21
  65. package/src/components/icons/AppMissingIcon.jsx +1 -21
  66. package/src/components/icons/AppOptimizedIcon.jsx +1 -21
  67. package/src/components/icons/AppSettingsIcon.jsx +1 -21
  68. package/src/components/icons/AppStoppedIcon.jsx +1 -21
  69. package/src/components/icons/AppWorkspace.jsx +1 -13
  70. package/src/components/icons/ApplicationTypeIcon.jsx +1 -21
  71. package/src/components/icons/ArrowDownFullIcon.jsx +1 -21
  72. package/src/components/icons/ArrowDownIcon.jsx +1 -21
  73. package/src/components/icons/ArrowLeftIcon.jsx +1 -21
  74. package/src/components/icons/ArrowLongDownIcon.jsx +1 -21
  75. package/src/components/icons/ArrowLongLeftIcon.jsx +1 -21
  76. package/src/components/icons/ArrowLongRightIcon.jsx +1 -21
  77. package/src/components/icons/ArrowLongUpIcon.jsx +1 -21
  78. package/src/components/icons/ArrowRightIcon.jsx +1 -21
  79. package/src/components/icons/ArrowUpIcon.jsx +1 -21
  80. package/src/components/icons/BellIcon.jsx +1 -21
  81. package/src/components/icons/BillingIcon.jsx +1 -21
  82. package/src/components/icons/BranchIcon.jsx +1 -21
  83. package/src/components/icons/BuiltInLoggingIcon.jsx +1 -21
  84. package/src/components/icons/CLIIcon.jsx +1 -21
  85. package/src/components/icons/CacheRecommendationIcon.jsx +1 -21
  86. package/src/components/icons/CachingIcon.jsx +1 -21
  87. package/src/components/icons/Calendar1DayIcon.jsx +1 -21
  88. package/src/components/icons/Calendar7DaysIcon.jsx +1 -21
  89. package/src/components/icons/CalendarIcon.jsx +1 -21
  90. package/src/components/icons/CheckListIcon.jsx +1 -21
  91. package/src/components/icons/CheckListReviewIcon.jsx +1 -21
  92. package/src/components/icons/CircleAddIcon.jsx +1 -21
  93. package/src/components/icons/CircleArrowLeftIcon.jsx +2 -22
  94. package/src/components/icons/CircleArrowRightIcon.jsx +1 -21
  95. package/src/components/icons/CircleCheckMarkButtonIcon.jsx +1 -13
  96. package/src/components/icons/CircleCheckMarkFullIcon.jsx +1 -21
  97. package/src/components/icons/CircleCheckMarkIcon.jsx +1 -21
  98. package/src/components/icons/CircleCloseHoverIcon.jsx +1 -21
  99. package/src/components/icons/CircleCloseIcon.jsx +1 -21
  100. package/src/components/icons/CircleCopyPasteIcon.jsx +1 -21
  101. package/src/components/icons/CircleDownloadIcon.jsx +1 -21
  102. package/src/components/icons/CircleEditIcon.jsx +1 -21
  103. package/src/components/icons/CircleExclamationIcon.jsx +1 -17
  104. package/src/components/icons/CircleFullIcon.jsx +1 -21
  105. package/src/components/icons/CircleGearIcon.jsx +1 -21
  106. package/src/components/icons/CirclePlayIcon.jsx +1 -21
  107. package/src/components/icons/CircleRestartIcon.jsx +1 -21
  108. package/src/components/icons/CircleStopIcon.jsx +1 -21
  109. package/src/components/icons/CircleSubtractIcon.jsx +1 -21
  110. package/src/components/icons/CircleTwoArrowsDownIcon.jsx +1 -21
  111. package/src/components/icons/CircleTwoArrowsUpIcon.jsx +1 -21
  112. package/src/components/icons/CloseIcon.jsx +1 -21
  113. package/src/components/icons/CloudIcon.jsx +1 -21
  114. package/src/components/icons/CodeTestingIcon.jsx +1 -21
  115. package/src/components/icons/CollapseIcon.jsx +1 -21
  116. package/src/components/icons/CollapseSquareIcon.jsx +1 -21
  117. package/src/components/icons/ComputerIcon.jsx +1 -21
  118. package/src/components/icons/ComputerInIcon.jsx +1 -21
  119. package/src/components/icons/ComputerOutIcon.jsx +1 -21
  120. package/src/components/icons/ConfigureDatabaseIcon.jsx +1 -21
  121. package/src/components/icons/CopyPasteIcon.jsx +1 -21
  122. package/src/components/icons/CreateAppIcon.jsx +1 -21
  123. package/src/components/icons/CreatingAppIcon.jsx +1 -21
  124. package/src/components/icons/CreditCardIcon.jsx +1 -21
  125. package/src/components/icons/DatabaseEditIcon.jsx +1 -21
  126. package/src/components/icons/DatabaseIcon.jsx +1 -21
  127. package/src/components/icons/DatabaseMigrationIcon.jsx +1 -21
  128. package/src/components/icons/DepencenciesReloadIcon.jsx +1 -21
  129. package/src/components/icons/DeploymentHistoryIcon.jsx +1 -21
  130. package/src/components/icons/DocumentIcon.jsx +1 -21
  131. package/src/components/icons/DownloadIcon.jsx +1 -21
  132. package/src/components/icons/EditDocumentIcon.jsx +1 -21
  133. package/src/components/icons/EditIcon.jsx +1 -21
  134. package/src/components/icons/EnlargeIcon.jsx +1 -21
  135. package/src/components/icons/EntryIcon.jsx +1 -21
  136. package/src/components/icons/EntrypointIcon.jsx +1 -25
  137. package/src/components/icons/EnvVariableszIcon.jsx +1 -21
  138. package/src/components/icons/ExpandIcon.jsx +1 -25
  139. package/src/components/icons/ExpandSquadreIcon.jsx +1 -21
  140. package/src/components/icons/ExploreDocIcon.jsx +1 -21
  141. package/src/components/icons/ExportIcon.jsx +1 -21
  142. package/src/components/icons/EyeClosedIcon.jsx +1 -21
  143. package/src/components/icons/EyeOpenedIcon.jsx +1 -21
  144. package/src/components/icons/FailureRateIcon.jsx +1 -21
  145. package/src/components/icons/FolderIcon.jsx +1 -21
  146. package/src/components/icons/FoldersIcon.jsx +1 -21
  147. package/src/components/icons/GearIcon.jsx +1 -21
  148. package/src/components/icons/GenerationLoadingIcon.jsx +1 -21
  149. package/src/components/icons/GitHubRepo2Icon.jsx +1 -21
  150. package/src/components/icons/GitHubRepoIcon.jsx +1 -21
  151. package/src/components/icons/GiveOwnershipIcon.jsx +2 -22
  152. package/src/components/icons/GraphQLEditsIcon.jsx +1 -21
  153. package/src/components/icons/GraphQLIcon.jsx +1 -21
  154. package/src/components/icons/HorizontalPodAutoscalerIcon.jsx +1 -21
  155. package/src/components/icons/HourglassIcon.jsx +1 -21
  156. package/src/components/icons/ImportAppIcon.jsx +1 -21
  157. package/src/components/icons/ImportIcon.jsx +1 -21
  158. package/src/components/icons/InfoCircleIcon.jsx +1 -21
  159. package/src/components/icons/InfrastructureIcon.jsx +1 -21
  160. package/src/components/icons/IngressControllIcon.jsx +1 -21
  161. package/src/components/icons/InternalLinkIcon.jsx +1 -25
  162. package/src/components/icons/InternetIcon.jsx +1 -25
  163. package/src/components/icons/K8SIcon.jsx +1 -21
  164. package/src/components/icons/K8SMetricsIcon.jsx +4 -24
  165. package/src/components/icons/KeyIcon.jsx +1 -21
  166. package/src/components/icons/LabelIcon.jsx +1 -21
  167. package/src/components/icons/LayersIcon.jsx +1 -21
  168. package/src/components/icons/LensIcon.jsx +1 -21
  169. package/src/components/icons/LiveIcon.jsx +1 -21
  170. package/src/components/icons/LoadingAppIcon.jsx +1 -21
  171. package/src/components/icons/LogOutIcon.jsx +1 -17
  172. package/src/components/icons/LogsRiskIcon.jsx +1 -21
  173. package/src/components/icons/MailIcon.jsx +1 -21
  174. package/src/components/icons/MetricsIcon.jsx +1 -21
  175. package/src/components/icons/MetricsLoadingIcon.jsx +1 -21
  176. package/src/components/icons/MetricsLogsIcon.jsx +1 -21
  177. package/src/components/icons/MissingTemplateIcon.jsx +1 -21
  178. package/src/components/icons/NameAppIcon.jsx +1 -21
  179. package/src/components/icons/NextJSIcon.jsx +1 -25
  180. package/src/components/icons/NoActivitiesIcon.jsx +1 -21
  181. package/src/components/icons/NoDeploymentsIcon.jsx +1 -21
  182. package/src/components/icons/NoMetricsIcon.jsx +1 -21
  183. package/src/components/icons/NoResultsIcon.jsx +1 -21
  184. package/src/components/icons/NodeJSIcon.jsx +1 -21
  185. package/src/components/icons/NodeJSMetricsIcon.jsx +1 -21
  186. package/src/components/icons/NotCompliantServiceIcon.jsx +1 -25
  187. package/src/components/icons/OpenAPIEditsIcon.jsx +1 -21
  188. package/src/components/icons/OrganizationIcon.jsx +1 -21
  189. package/src/components/icons/OtherLogosGoogleIcon.jsx +1 -21
  190. package/src/components/icons/OutOfBoxGraphQLIcon.jsx +1 -21
  191. package/src/components/icons/OutdatedServiceIcon.jsx +1 -25
  192. package/src/components/icons/PlatformaticComposerIcon.jsx +1 -21
  193. package/src/components/icons/PlatformaticDBIcon.jsx +1 -21
  194. package/src/components/icons/PlatformaticRuntimeIcon.jsx +1 -21
  195. package/src/components/icons/PlatformaticServiceIcon.jsx +1 -21
  196. package/src/components/icons/PlayIcon.jsx +1 -21
  197. package/src/components/icons/PodDetailsIcon.jsx +1 -21
  198. package/src/components/icons/PodLogsIcon.jsx +1 -21
  199. package/src/components/icons/PodMetricsIcon.jsx +1 -21
  200. package/src/components/icons/PodPerformanceIcon.jsx +1 -21
  201. package/src/components/icons/PodServicesIcon.jsx +1 -21
  202. package/src/components/icons/PodSettingsIcon.jsx +75 -0
  203. package/src/components/icons/PodhealthIcon.jsx +1 -21
  204. package/src/components/icons/PreviewPRIcon.jsx +1 -21
  205. package/src/components/icons/PullRequestIcon.jsx +1 -21
  206. package/src/components/icons/PullRequestLoadingIcon.jsx +1 -21
  207. package/src/components/icons/RecentAppsIcon.jsx +1 -21
  208. package/src/components/icons/RemoveAppIcon.jsx +1 -21
  209. package/src/components/icons/RemoveIcon.jsx +1 -21
  210. package/src/components/icons/RequestOwnershipIcon.jsx +1 -21
  211. package/src/components/icons/RequestsIcon.jsx +1 -21
  212. package/src/components/icons/ResourceIcon.jsx +1 -21
  213. package/src/components/icons/RestartIcon.jsx +1 -21
  214. package/src/components/icons/RocketIcon.jsx +1 -21
  215. package/src/components/icons/RouteEditIcon.jsx +1 -21
  216. package/src/components/icons/RouteHistoryIcon.jsx +1 -21
  217. package/src/components/icons/RoutingIcon.jsx +1 -21
  218. package/src/components/icons/RunningAppIcon.jsx +1 -21
  219. package/src/components/icons/RunningIcon.jsx +1 -21
  220. package/src/components/icons/ScalerDetailsIcon.jsx +1 -21
  221. package/src/components/icons/ScalerHistoryIcon.jsx +1 -21
  222. package/src/components/icons/ScheduledJobSettingsIcon.jsx +1 -21
  223. package/src/components/icons/ScheduledJobsAppIcon.jsx +1 -21
  224. package/src/components/icons/ScheduledJobsCreateIcon.jsx +1 -21
  225. package/src/components/icons/ScheduledJobsDetailIcon.jsx +1 -21
  226. package/src/components/icons/ScheduledJobsIcon.jsx +1 -21
  227. package/src/components/icons/ScheduledJobsSuspendIcon.jsx +1 -21
  228. package/src/components/icons/SendIcon.jsx +1 -21
  229. package/src/components/icons/ServiceIcon.jsx +1 -21
  230. package/src/components/icons/ServicesWorkingIcon.jsx +1 -21
  231. package/src/components/icons/SlotIcon.jsx +1 -21
  232. package/src/components/icons/SocialDiscordIcon.jsx +1 -21
  233. package/src/components/icons/SocialGitHubIcon.jsx +1 -21
  234. package/src/components/icons/SocialGitLabIcon.jsx +1 -21
  235. package/src/components/icons/SocialLinkedInIcon.jsx +1 -21
  236. package/src/components/icons/SocialNPMIcon.jsx +1 -21
  237. package/src/components/icons/SocialXIcon.jsx +1 -21
  238. package/src/components/icons/SortDownArrowAndBarIcon.jsx +1 -21
  239. package/src/components/icons/SortDownIcon.jsx +1 -21
  240. package/src/components/icons/SortIcon.jsx +1 -21
  241. package/src/components/icons/SortUpArrowAndBarIcon.jsx +1 -21
  242. package/src/components/icons/SortUpIcon.jsx +1 -21
  243. package/src/components/icons/SortableIcon.jsx +1 -21
  244. package/src/components/icons/StackablesIcon.jsx +1 -21
  245. package/src/components/icons/StackablesPluginIcon.jsx +1 -21
  246. package/src/components/icons/StackablesTemplateIcon.jsx +1 -21
  247. package/src/components/icons/StopIcon.jsx +1 -21
  248. package/src/components/icons/SuspendIcon.jsx +1 -21
  249. package/src/components/icons/SwitchIcon.jsx +1 -21
  250. package/src/components/icons/TableIcon.jsx +1 -21
  251. package/src/components/icons/TaxonomyIcon.jsx +1 -21
  252. package/src/components/icons/TeamsIcon.jsx +1 -21
  253. package/src/components/icons/TerminalIcon.jsx +1 -21
  254. package/src/components/icons/TrashIcon.jsx +1 -21
  255. package/src/components/icons/TwoUsersIcon.jsx +1 -21
  256. package/src/components/icons/UpgradeIcon.jsx +1 -21
  257. package/src/components/icons/UploadFileIcon.jsx +1 -21
  258. package/src/components/icons/UserComputerIcon.jsx +1 -21
  259. package/src/components/icons/UserIcon.jsx +1 -21
  260. package/src/components/icons/UserRemoveIcon.jsx +1 -17
  261. package/src/components/icons/UserRoleIcon.jsx +1 -17
  262. package/src/components/icons/WorkspaceDynamicIcon.jsx +1 -21
  263. package/src/components/icons/WorkspaceEmptyIcon.jsx +1 -21
  264. package/src/components/icons/WorkspaceFailIcon.jsx +1 -21
  265. package/src/components/icons/WorkspaceGitHubIcon.jsx +1 -21
  266. package/src/components/icons/WorkspaceLoadingIcon.jsx +1 -21
  267. package/src/components/icons/WorkspaceReadyIcon.jsx +1 -21
  268. package/src/components/icons/WorkspaceStaticIcon.jsx +1 -21
  269. package/src/components/icons/ZoomInIcon.jsx +2 -22
  270. package/src/components/icons/ZoomOutIcon.jsx +1 -21
  271. package/src/components/icons/index.js +2 -0
  272. package/src/components/layouts/Layout.jsx +0 -12
  273. package/src/components/loaders/SpinnerCircular.jsx +1 -21
  274. package/src/components/logos/AdvancedLogo.jsx +0 -16
  275. package/src/components/logos/BasicLogo.jsx +0 -16
  276. package/src/components/logos/FreeLogo.jsx +0 -16
  277. package/src/components/logos/ProLogo.jsx +0 -16
  278. package/dist/assets/index-_8PDjo6Q.js +0 -49
@@ -1,8 +1,7 @@
1
1
  import React, { useState, useEffect, useRef } from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './SelectWithInput.module.css'
4
3
  import commonStyles from '../Common.module.css'
5
- import { MAIN_DARK_BLUE, MAIN_GREEN, RICH_BLACK, SMALL, WHITE } from '../constants'
4
+ import { MAIN_DARK_BLUE, MAIN_GREEN, SMALL, WHITE } from '../constants'
6
5
  import PlatformaticIcon from '../PlatformaticIcon'
7
6
 
8
7
  function SelectWithInput ({
@@ -200,113 +199,4 @@ function SelectWithInput ({
200
199
  )
201
200
  }
202
201
 
203
- SelectWithInput.propTypes = {
204
- /**
205
- * defaultContainerClassName
206
- */
207
- defaultContainerClassName: PropTypes.string,
208
- /**
209
- * placeholder
210
- */
211
- placeholder: PropTypes.string,
212
- /**
213
- * name
214
- */
215
- name: PropTypes.oneOfType([
216
- PropTypes.string,
217
- PropTypes.number
218
- ]),
219
- /**
220
- * value
221
- */
222
- value: PropTypes.string,
223
- /**
224
- * options
225
- */
226
- options: PropTypes.arrayOf(PropTypes.shape({
227
- label: PropTypes.string,
228
- value: PropTypes.oneOfType([
229
- PropTypes.string,
230
- PropTypes.number
231
- ]),
232
- iconName: PropTypes.string,
233
- iconSize: PropTypes.string,
234
- iconColor: PropTypes.string,
235
- notSelectable: PropTypes.bool,
236
- notFilterable: PropTypes.bool,
237
- onClick: PropTypes.func,
238
- descriptionValue: PropTypes.string
239
- })),
240
- /**
241
- * defaultOptionsClassName
242
- */
243
- defaultOptionsClassName: PropTypes.string,
244
- /**
245
- * optionsBorderedBottom
246
- */
247
- optionsBorderedBottom: PropTypes.bool,
248
- /**
249
- * color of border
250
- */
251
- borderColor: PropTypes.oneOf([MAIN_GREEN, MAIN_DARK_BLUE, WHITE]),
252
- /**
253
- * color of border UL
254
- */
255
- borderListColor: PropTypes.oneOf([MAIN_GREEN, MAIN_DARK_BLUE, WHITE]),
256
- /**
257
- * onChange
258
- */
259
- onChange: PropTypes.func,
260
- /**
261
- * onSelect
262
- */
263
- onSelect: PropTypes.func,
264
- /**
265
- * onClear
266
- */
267
- onClear: PropTypes.func,
268
- /**
269
- * Disabled
270
- */
271
- disabled: PropTypes.bool,
272
- /**
273
- * mainColor
274
- */
275
- mainColor: PropTypes.oneOf([MAIN_DARK_BLUE, WHITE]),
276
- /**
277
- * optionSelected
278
- */
279
- optionSelected: PropTypes.shape({
280
- label: PropTypes.string,
281
- value: PropTypes.oneOfType([
282
- PropTypes.string,
283
- PropTypes.number
284
- ])
285
- }),
286
- /**
287
- * dataAttrName
288
- */
289
- dataAttrName: PropTypes.string,
290
- /**
291
- * dataAttrValue
292
- */
293
- dataAttrValue: PropTypes.string,
294
- /**
295
- * backgroundColor
296
- */
297
- backgroundColor: PropTypes.oneOf([MAIN_DARK_BLUE, WHITE, RICH_BLACK]),
298
- /**
299
- * inputTextClassName
300
- */
301
- inputTextClassName: PropTypes.string,
302
- /**
303
- * errorMessage
304
- */
305
- errorMessage: PropTypes.string,
306
- /**
307
- * errorMessageTextClassName
308
- */
309
- errorMessageTextClassName: PropTypes.string
310
- }
311
-
312
202
  export default SelectWithInput
@@ -1,9 +1,8 @@
1
1
  import React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './TextArea.module.css'
4
3
  import commonStyles from '../Common.module.css'
5
4
  import PlatformaticIcon from '../PlatformaticIcon'
6
- import { MAIN_DARK_BLUE, MAIN_GREEN } from '../constants'
5
+ import { MAIN_DARK_BLUE } from '../constants'
7
6
 
8
7
  function TextArea ({
9
8
  placeholder = '',
@@ -36,55 +35,4 @@ function TextArea ({
36
35
  )
37
36
  }
38
37
 
39
- TextArea.propTypes = {
40
- /**
41
- * placeholder
42
- */
43
- placeholder: PropTypes.string,
44
- /**
45
- * value
46
- */
47
- value: PropTypes.string,
48
- /**
49
- * name
50
- */
51
- name: PropTypes.string,
52
- /**
53
- * color of border
54
- */
55
- borderColor: PropTypes.oneOf([MAIN_GREEN, MAIN_DARK_BLUE]),
56
- /**
57
- * onChange
58
- */
59
- onChange: PropTypes.func,
60
- /**
61
- * Disabled
62
- */
63
- disabled: PropTypes.bool,
64
- /**
65
- * afterIcon: PlatformaticIcon props
66
- */
67
- afterIcon: PropTypes.shape({
68
- iconName: PropTypes.string,
69
- color: PropTypes.string,
70
- onClick: PropTypes.func
71
- }),
72
- /**
73
- * rows
74
- */
75
- rows: PropTypes.number,
76
- /**
77
- * cols
78
- */
79
- cols: PropTypes.number,
80
- /**
81
- * errorMessage
82
- */
83
- errorMessage: PropTypes.string,
84
- /**
85
- * errorMessageTextClassName
86
- */
87
- errorMessageTextClassName: PropTypes.string
88
- }
89
-
90
38
  export default TextArea
@@ -1,8 +1,7 @@
1
1
  import React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './ToggleSwitch.module.css'
4
3
  import commonStyles from '../Common.module.css'
5
- import { MEDIUM, SMALL } from '../constants'
4
+ import { MEDIUM } from '../constants'
6
5
 
7
6
  function ToggleSwitch ({
8
7
  name = '',
@@ -37,44 +36,4 @@ function ToggleSwitch ({
37
36
  )
38
37
  }
39
38
 
40
- ToggleSwitch.propTypes = {
41
- /**
42
- * name
43
- */
44
- name: PropTypes.string,
45
- /**
46
- * label
47
- */
48
- label: PropTypes.string,
49
- /**
50
- * errorMessage
51
- */
52
- errorMessage: PropTypes.string,
53
- /**
54
- * errorMessageTextClassName
55
- */
56
- errorMessageTextClassName: PropTypes.string,
57
- /**
58
- * checked
59
- */
60
- checked: PropTypes.bool,
61
- /**
62
- * disabled
63
- */
64
- disabled: PropTypes.bool,
65
- /**
66
- * onChange of border
67
- */
68
- onChange: PropTypes.func,
69
- /**
70
- * labelClassName
71
- */
72
- labelClassName: PropTypes.string,
73
- /**
74
- * size
75
- */
76
- size: PropTypes.oneOf([SMALL, MEDIUM])
77
-
78
- }
79
-
80
39
  export default ToggleSwitch
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const APIDocsIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -91,23 +90,4 @@ const APIDocsIcon = ({
91
90
  return icon
92
91
  }
93
92
 
94
- APIDocsIcon.propTypes = {
95
- /**
96
- * color of text, icon and borders
97
- */
98
- color: PropTypes.oneOf(COLORS_ICON),
99
- /**
100
- * Size
101
- */
102
- size: PropTypes.oneOf(SIZES),
103
- /**
104
- * disabled
105
- */
106
- disabled: PropTypes.bool,
107
- /**
108
- * inactive
109
- */
110
- inactive: PropTypes.bool
111
- }
112
-
113
93
  export default APIDocsIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const APIKeyIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -75,23 +74,4 @@ const APIKeyIcon = ({
75
74
  return icon
76
75
  }
77
76
 
78
- APIKeyIcon.propTypes = {
79
- /**
80
- * color of text, icon and borders
81
- */
82
- color: PropTypes.oneOf(COLORS_ICON),
83
- /**
84
- * Size
85
- */
86
- size: PropTypes.oneOf(SIZES),
87
- /**
88
- * disabled
89
- */
90
- disabled: PropTypes.bool,
91
- /**
92
- * inactive
93
- */
94
- inactive: PropTypes.bool
95
- }
96
-
97
77
  export default APIKeyIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const AWSIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -69,23 +68,4 @@ const AWSIcon = ({
69
68
  return icon
70
69
  }
71
70
 
72
- AWSIcon.propTypes = {
73
- /**
74
- * color of text, icon and borders
75
- */
76
- color: PropTypes.oneOf(COLORS_ICON),
77
- /**
78
- * Size
79
- */
80
- size: PropTypes.oneOf(SIZES),
81
- /**
82
- * disabled
83
- */
84
- disabled: PropTypes.bool,
85
- /**
86
- * inactive
87
- */
88
- inactive: PropTypes.bool
89
- }
90
-
91
71
  export default AWSIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const AddEnvVariableIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -79,19 +78,4 @@ const AddEnvVariableIcon = ({
79
78
  return icon
80
79
  }
81
80
 
82
- AddEnvVariableIcon.propTypes = {
83
- /**
84
- * color of text, icon and borders
85
- */
86
- color: PropTypes.oneOf(COLORS_ICON),
87
- /**
88
- * Size
89
- */
90
- size: PropTypes.oneOf(SIZES),
91
- /**
92
- * tip
93
- */
94
- tip: PropTypes.string
95
- }
96
-
97
81
  export default AddEnvVariableIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const AddIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -71,23 +70,4 @@ const AddIcon = ({
71
70
  return icon
72
71
  }
73
72
 
74
- AddIcon.propTypes = {
75
- /**
76
- * color of text, icon and borders
77
- */
78
- color: PropTypes.oneOf(COLORS_ICON),
79
- /**
80
- * Size
81
- */
82
- size: PropTypes.oneOf(SIZES),
83
- /**
84
- * disabled
85
- */
86
- disabled: PropTypes.bool,
87
- /**
88
- * inactive
89
- */
90
- inactive: PropTypes.bool
91
- }
92
-
93
73
  export default AddIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const AddRouteIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -82,19 +81,4 @@ const AddRouteIcon = ({
82
81
  return icon
83
82
  }
84
83
 
85
- AddRouteIcon.propTypes = {
86
- /**
87
- * color of text, icon and borders
88
- */
89
- color: PropTypes.oneOf(COLORS_ICON),
90
- /**
91
- * Size
92
- */
93
- size: PropTypes.oneOf(SIZES),
94
- /**
95
- * tip
96
- */
97
- tip: PropTypes.string
98
- }
99
-
100
84
  export default AddRouteIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const AddUserIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -80,23 +79,4 @@ const AddUserIcon = ({
80
79
  return icon
81
80
  }
82
81
 
83
- AddUserIcon.propTypes = {
84
- /**
85
- * color of text, icon and borders
86
- */
87
- color: PropTypes.oneOf(COLORS_ICON),
88
- /**
89
- * Size
90
- */
91
- size: PropTypes.oneOf(SIZES),
92
- /**
93
- * disabled
94
- */
95
- disabled: PropTypes.bool,
96
- /**
97
- * inactive
98
- */
99
- inactive: PropTypes.bool
100
- }
101
-
102
82
  export default AddUserIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, ERROR_RED } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, ERROR_RED } from '../constants'
5
4
 
6
5
  const AlertIcon = ({
7
6
  color = ERROR_RED,
@@ -74,23 +73,4 @@ const AlertIcon = ({
74
73
  return icon
75
74
  }
76
75
 
77
- AlertIcon.propTypes = {
78
- /**
79
- * color of text, icon and borders
80
- */
81
- color: PropTypes.oneOf(COLORS_ICON),
82
- /**
83
- * Size
84
- */
85
- size: PropTypes.oneOf(SIZES),
86
- /**
87
- * disabled
88
- */
89
- disabled: PropTypes.bool,
90
- /**
91
- * inactive
92
- */
93
- inactive: PropTypes.bool
94
- }
95
-
96
76
  export default AlertIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE, EXTRA_MEDIUM } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE, EXTRA_MEDIUM } from '../constants'
5
4
 
6
5
  const AllAppsIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -117,23 +116,4 @@ const AllAppsIcon = ({
117
116
  return icon
118
117
  }
119
118
 
120
- AllAppsIcon.propTypes = {
121
- /**
122
- * color of text, icon and borders
123
- */
124
- color: PropTypes.oneOf(COLORS_ICON),
125
- /**
126
- * Size
127
- */
128
- size: PropTypes.oneOf(SIZES),
129
- /**
130
- * disabled
131
- */
132
- disabled: PropTypes.bool,
133
- /**
134
- * inactive
135
- */
136
- inactive: PropTypes.bool
137
- }
138
-
139
119
  export default AllAppsIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const AllInOneIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -104,23 +103,4 @@ const AllInOneIcon = ({
104
103
  return icon
105
104
  }
106
105
 
107
- AllInOneIcon.propTypes = {
108
- /**
109
- * color of text, icon and borders
110
- */
111
- color: PropTypes.oneOf(COLORS_ICON),
112
- /**
113
- * Size
114
- */
115
- size: PropTypes.oneOf(SIZES),
116
- /**
117
- * disabled
118
- */
119
- disabled: PropTypes.bool,
120
- /**
121
- * inactive
122
- */
123
- inactive: PropTypes.bool
124
- }
125
-
126
106
  export default AllInOneIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const ApiCloudIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -86,23 +85,4 @@ const ApiCloudIcon = ({
86
85
  return icon
87
86
  }
88
87
 
89
- ApiCloudIcon.propTypes = {
90
- /**
91
- * color of text, icon and borders
92
- */
93
- color: PropTypes.oneOf(COLORS_ICON),
94
- /**
95
- * Size
96
- */
97
- size: PropTypes.oneOf(SIZES),
98
- /**
99
- * disabled
100
- */
101
- disabled: PropTypes.bool,
102
- /**
103
- * inactive
104
- */
105
- inactive: PropTypes.bool
106
- }
107
-
108
88
  export default ApiCloudIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, MEDIUM, EXTRA_LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { MEDIUM, EXTRA_LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const ApiEmptyIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -134,23 +133,4 @@ const ApiEmptyIcon = ({
134
133
  return icon
135
134
  }
136
135
 
137
- ApiEmptyIcon.propTypes = {
138
- /**
139
- * color of text, icon and borders
140
- */
141
- color: PropTypes.oneOf(COLORS_ICON),
142
- /**
143
- * Size
144
- */
145
- size: PropTypes.oneOf(SIZES),
146
- /**
147
- * disabled
148
- */
149
- disabled: PropTypes.bool,
150
- /**
151
- * inactive
152
- */
153
- inactive: PropTypes.bool
154
- }
155
-
156
136
  export default ApiEmptyIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
3
+ import { SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
4
 
6
5
  const ApiIcon = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -77,23 +76,4 @@ const ApiIcon = ({
77
76
  return icon
78
77
  }
79
78
 
80
- ApiIcon.propTypes = {
81
- /**
82
- * color of text, icon and borders
83
- */
84
- color: PropTypes.oneOf(COLORS_ICON),
85
- /**
86
- * Size
87
- */
88
- size: PropTypes.oneOf(SIZES),
89
- /**
90
- * disabled
91
- */
92
- disabled: PropTypes.bool,
93
- /**
94
- * inactive
95
- */
96
- inactive: PropTypes.bool
97
- }
98
-
99
79
  export default ApiIcon
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react'
2
- import PropTypes from 'prop-types'
3
2
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, MAIN_DARK_BLUE, MEDIUM, SIZES } from '../constants'
3
+ import { MAIN_DARK_BLUE, MEDIUM } from '../constants'
5
4
 
6
5
  const ApiIconClosed = ({
7
6
  color = MAIN_DARK_BLUE,
@@ -45,19 +44,4 @@ const ApiIconClosed = ({
45
44
  return icon
46
45
  }
47
46
 
48
- ApiIconClosed.propTypes = {
49
- /**
50
- * color of text, icon and borders
51
- */
52
- color: PropTypes.oneOf(COLORS_ICON),
53
- /**
54
- * Size
55
- */
56
- size: PropTypes.oneOf(SIZES),
57
- /**
58
- * disabled
59
- */
60
- disabled: PropTypes.bool
61
- }
62
-
63
47
  export default ApiIconClosed