@platformatic/ui-components 0.1.105 → 0.1.106

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 (96) hide show
  1. package/dist/assets/index-68be35eb.js +206 -0
  2. package/dist/index.html +1 -1
  3. package/package.json +1 -1
  4. package/src/components/PlatformaticIcon.jsx +4 -4
  5. package/src/components/forms/RadioGroup.jsx +1 -1
  6. package/src/components/forms/TextArea.jsx +1 -1
  7. package/src/components/icons/AddIcon.jsx +6 -6
  8. package/src/components/icons/AlertIcon.jsx +6 -6
  9. package/src/components/icons/AllInOneIcon.jsx +6 -6
  10. package/src/components/icons/ApiCloudIcon.jsx +6 -6
  11. package/src/components/icons/ApiEmptyIcon.jsx +4 -4
  12. package/src/components/icons/ApiIcon.jsx +6 -6
  13. package/src/components/icons/AppEmptyIcon.jsx +4 -4
  14. package/src/components/icons/AppIcon.jsx +6 -6
  15. package/src/components/icons/AppListIcon.jsx +4 -4
  16. package/src/components/icons/ArrowDownFullIcon.jsx +6 -6
  17. package/src/components/icons/ArrowDownIcon.jsx +6 -6
  18. package/src/components/icons/ArrowLeftIcon.jsx +6 -6
  19. package/src/components/icons/ArrowRightIcon.jsx +6 -6
  20. package/src/components/icons/ArrowUpIcon.jsx +6 -6
  21. package/src/components/icons/BellIcon.jsx +6 -6
  22. package/src/components/icons/BillingIcon.jsx +6 -6
  23. package/src/components/icons/Calendar1DayIcon.jsx +6 -6
  24. package/src/components/icons/Calendar7DaysIcon.jsx +6 -6
  25. package/src/components/icons/CalendarIcon.jsx +6 -6
  26. package/src/components/icons/ChatGPTIcon.jsx +77 -0
  27. package/src/components/icons/CheckListIcon.jsx +6 -6
  28. package/src/components/icons/CircleAddIcon.jsx +6 -6
  29. package/src/components/icons/CircleArrowLeftIcon.jsx +6 -6
  30. package/src/components/icons/CircleArrowRightIcon.jsx +6 -6
  31. package/src/components/icons/CircleCheckMarkFullIcon.jsx +4 -4
  32. package/src/components/icons/CircleCheckMarkIcon.jsx +6 -6
  33. package/src/components/icons/CircleCloseHoverIcon.jsx +4 -4
  34. package/src/components/icons/CircleCloseIcon.jsx +5 -5
  35. package/src/components/icons/CircleExclamationIcon.jsx +6 -6
  36. package/src/components/icons/CircleFullIcon.jsx +3 -3
  37. package/src/components/icons/CircleGearIcon.jsx +6 -6
  38. package/src/components/icons/CircleTwoArrowsDownIcon.jsx +6 -6
  39. package/src/components/icons/CircleTwoArrowsUpIcon.jsx +6 -6
  40. package/src/components/icons/CloseIcon.jsx +6 -6
  41. package/src/components/icons/CopyPasteIcon.jsx +6 -6
  42. package/src/components/icons/CreditCardIcon.jsx +6 -6
  43. package/src/components/icons/DatabaseIcon.jsx +6 -6
  44. package/src/components/icons/EditIcon.jsx +6 -6
  45. package/src/components/icons/EnlargeIcon.jsx +6 -6
  46. package/src/components/icons/EntryIcon.jsx +6 -6
  47. package/src/components/icons/ExploreDocIcon.jsx +6 -6
  48. package/src/components/icons/GearIcon.jsx +6 -6
  49. package/src/components/icons/GenerationLoadingIcon.jsx +3 -3
  50. package/src/components/icons/GiveOwnershipIcon.jsx +6 -6
  51. package/src/components/icons/GraphQLIcon.jsx +6 -6
  52. package/src/components/icons/KeyIcon.jsx +6 -6
  53. package/src/components/icons/LabelIcon.jsx +3 -3
  54. package/src/components/icons/LayersIcon.jsx +6 -6
  55. package/src/components/icons/LensIcon.jsx +6 -6
  56. package/src/components/icons/LiveIcon.jsx +6 -6
  57. package/src/components/icons/LoadingAppIcon.jsx +5 -5
  58. package/src/components/icons/LogOutIcon.jsx +6 -6
  59. package/src/components/icons/MetricsIcon.jsx +6 -6
  60. package/src/components/icons/MetricsLoadingIcon.jsx +3 -3
  61. package/src/components/icons/OrganizationIcon.jsx +6 -6
  62. package/src/components/icons/PlayIcon.jsx +6 -6
  63. package/src/components/icons/PullRequestIcon.jsx +6 -6
  64. package/src/components/icons/PullRequestLoadingIcon.jsx +4 -4
  65. package/src/components/icons/RequestOwnershipIcon.jsx +6 -6
  66. package/src/components/icons/RestartIcon.jsx +6 -6
  67. package/src/components/icons/RocketIcon.jsx +6 -6
  68. package/src/components/icons/RunningIcon.jsx +6 -6
  69. package/src/components/icons/SendIcon.jsx +6 -6
  70. package/src/components/icons/ServiceIcon.jsx +6 -6
  71. package/src/components/icons/SlotIcon.jsx +6 -6
  72. package/src/components/icons/SocialDiscordIcon.jsx +6 -6
  73. package/src/components/icons/SocialGitHubIcon.jsx +6 -6
  74. package/src/components/icons/SocialGitLabIcon.jsx +6 -6
  75. package/src/components/icons/SocialLinkedInIcon.jsx +6 -6
  76. package/src/components/icons/SocialNPMIcon.jsx +6 -6
  77. package/src/components/icons/SocialTwitterIcon.jsx +6 -6
  78. package/src/components/icons/StopIcon.jsx +6 -6
  79. package/src/components/icons/SwitchIcon.jsx +6 -6
  80. package/src/components/icons/TeamsIcon.jsx +6 -6
  81. package/src/components/icons/TerminalIcon.jsx +6 -6
  82. package/src/components/icons/TwoUsersIcon.jsx +6 -6
  83. package/src/components/icons/UpgradeIcon.jsx +7 -7
  84. package/src/components/icons/UserIcon.jsx +6 -6
  85. package/src/components/icons/UserRemoveIcon.jsx +6 -6
  86. package/src/components/icons/UserRoleIcon.jsx +6 -6
  87. package/src/components/icons/WorkspaceDynamicIcon.jsx +6 -6
  88. package/src/components/icons/WorkspaceEmptyIcon.jsx +4 -4
  89. package/src/components/icons/WorkspaceFailIcon.jsx +7 -7
  90. package/src/components/icons/WorkspaceGitHubIcon.jsx +7 -7
  91. package/src/components/icons/WorkspaceLoadingIcon.jsx +4 -4
  92. package/src/components/icons/WorkspaceReadyIcon.jsx +7 -7
  93. package/src/components/icons/WorkspaceStaticIcon.jsx +6 -6
  94. package/src/components/icons/index.js +2 -0
  95. package/src/stories/PlatformaticIcon.stories.jsx +32 -26
  96. package/dist/assets/index-3e148026.js +0 -206
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const RocketIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
8
8
  let icon = <></>
9
9
 
10
10
  switch (size) {
11
- case 'small':
11
+ case SMALL:
12
12
  icon = (
13
13
  <svg
14
14
  width={16}
@@ -27,7 +27,7 @@ const RocketIcon = ({ color, size }) => {
27
27
  </svg>
28
28
  )
29
29
  break
30
- case 'medium':
30
+ case MEDIUM:
31
31
  icon = (
32
32
  <svg
33
33
  width={24}
@@ -46,7 +46,7 @@ const RocketIcon = ({ color, size }) => {
46
46
  </svg>
47
47
  )
48
48
  break
49
- case 'large':
49
+ case LARGE:
50
50
  icon = (
51
51
  <svg
52
52
  width={40}
@@ -84,8 +84,8 @@ RocketIcon.propTypes = {
84
84
  }
85
85
 
86
86
  RocketIcon.defaultProps = {
87
- color: 'main-dark-blue',
88
- size: 'medium'
87
+ color: MAIN_DARK_BLUE,
88
+ size: MEDIUM
89
89
  }
90
90
 
91
91
  export default RocketIcon
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const RunningIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
8
8
  let icon = <></>
9
9
 
10
10
  switch (size) {
11
- case 'small':
11
+ case SMALL:
12
12
  icon = (
13
13
  <svg
14
14
  width={16}
@@ -24,7 +24,7 @@ const RunningIcon = ({ color, size }) => {
24
24
  </svg>
25
25
  )
26
26
  break
27
- case 'medium':
27
+ case MEDIUM:
28
28
  icon = (
29
29
  <svg
30
30
  width={24}
@@ -41,7 +41,7 @@ const RunningIcon = ({ color, size }) => {
41
41
  </svg>
42
42
  )
43
43
  break
44
- case 'large':
44
+ case LARGE:
45
45
  icon = (
46
46
  <svg
47
47
  width={40}
@@ -76,8 +76,8 @@ RunningIcon.propTypes = {
76
76
  }
77
77
 
78
78
  RunningIcon.defaultProps = {
79
- color: 'main-dark-blue',
80
- size: 'medium'
79
+ color: MAIN_DARK_BLUE,
80
+ size: MEDIUM
81
81
  }
82
82
 
83
83
  export default RunningIcon
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const SendIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
8
8
  let icon = <></>
9
9
 
10
10
  switch (size) {
11
- case 'small':
11
+ case SMALL:
12
12
  icon = (
13
13
  <svg
14
14
  width={16}
@@ -22,7 +22,7 @@ const SendIcon = ({ color, size }) => {
22
22
  </svg>
23
23
  )
24
24
  break
25
- case 'medium':
25
+ case MEDIUM:
26
26
  icon = (
27
27
  <svg
28
28
  width={24}
@@ -36,7 +36,7 @@ const SendIcon = ({ color, size }) => {
36
36
  </svg>
37
37
  )
38
38
  break
39
- case 'large':
39
+ case LARGE:
40
40
  icon = (
41
41
  <svg
42
42
  width={40}
@@ -69,8 +69,8 @@ SendIcon.propTypes = {
69
69
  }
70
70
 
71
71
  SendIcon.defaultProps = {
72
- color: 'main-dark-blue',
73
- size: 'medium'
72
+ color: MAIN_DARK_BLUE,
73
+ size: MEDIUM
74
74
  }
75
75
 
76
76
  export default SendIcon
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const ServiceIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
8
8
  let icon = <></>
9
9
 
10
10
  switch (size) {
11
- case 'small':
11
+ case SMALL:
12
12
  icon = (
13
13
  <svg
14
14
  width={16}
@@ -27,7 +27,7 @@ const ServiceIcon = ({ color, size }) => {
27
27
  </svg>
28
28
  )
29
29
  break
30
- case 'medium':
30
+ case MEDIUM:
31
31
  icon = (
32
32
  <svg
33
33
  width={24}
@@ -46,7 +46,7 @@ const ServiceIcon = ({ color, size }) => {
46
46
  </svg>
47
47
  )
48
48
  break
49
- case 'large':
49
+ case LARGE:
50
50
  icon = (
51
51
  <svg
52
52
  width={40}
@@ -83,8 +83,8 @@ ServiceIcon.propTypes = {
83
83
  }
84
84
 
85
85
  ServiceIcon.defaultProps = {
86
- color: 'main-dark-blue',
87
- size: 'medium'
86
+ color: MAIN_DARK_BLUE,
87
+ size: MEDIUM
88
88
  }
89
89
 
90
90
  export default ServiceIcon
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const SlotIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
8
8
  let icon = <></>
9
9
 
10
10
  switch (size) {
11
- case 'small':
11
+ case SMALL:
12
12
  icon = (
13
13
  <svg
14
14
  width={16}
@@ -26,7 +26,7 @@ const SlotIcon = ({ color, size }) => {
26
26
  </svg>
27
27
  )
28
28
  break
29
- case 'medium':
29
+ case MEDIUM:
30
30
  icon = (
31
31
  <svg
32
32
  width={24}
@@ -44,7 +44,7 @@ const SlotIcon = ({ color, size }) => {
44
44
  </svg>
45
45
  )
46
46
  break
47
- case 'large':
47
+ case LARGE:
48
48
  icon = (
49
49
  <svg
50
50
  width={40}
@@ -81,8 +81,8 @@ SlotIcon.propTypes = {
81
81
  }
82
82
 
83
83
  SlotIcon.defaultProps = {
84
- color: 'main-dark-blue',
85
- size: 'medium'
84
+ color: MAIN_DARK_BLUE,
85
+ size: MEDIUM
86
86
  }
87
87
 
88
88
  export default SlotIcon
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const SocialDiscordIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
@@ -9,7 +9,7 @@ const SocialDiscordIcon = ({ color, size }) => {
9
9
  let icon = <></>
10
10
 
11
11
  switch (size) {
12
- case 'small':
12
+ case SMALL:
13
13
  icon = (
14
14
  <svg
15
15
  width={16}
@@ -24,7 +24,7 @@ const SocialDiscordIcon = ({ color, size }) => {
24
24
  </svg>
25
25
  )
26
26
  break
27
- case 'medium':
27
+ case MEDIUM:
28
28
  icon = (
29
29
  <svg
30
30
  width={24}
@@ -39,7 +39,7 @@ const SocialDiscordIcon = ({ color, size }) => {
39
39
  </svg>
40
40
  )
41
41
  break
42
- case 'large':
42
+ case LARGE:
43
43
  icon = (
44
44
  <svg
45
45
  width={40}
@@ -73,8 +73,8 @@ SocialDiscordIcon.propTypes = {
73
73
  }
74
74
 
75
75
  SocialDiscordIcon.defaultProps = {
76
- color: 'main-dark-blue',
77
- size: 'medium'
76
+ color: MAIN_DARK_BLUE,
77
+ size: MEDIUM
78
78
  }
79
79
 
80
80
  export default SocialDiscordIcon
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const SocialGitHubIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
@@ -9,7 +9,7 @@ const SocialGitHubIcon = ({ color, size }) => {
9
9
  let icon = <></>
10
10
 
11
11
  switch (size) {
12
- case 'small':
12
+ case SMALL:
13
13
  icon = (
14
14
  <svg
15
15
  width={16}
@@ -30,7 +30,7 @@ const SocialGitHubIcon = ({ color, size }) => {
30
30
  </svg>
31
31
  )
32
32
  break
33
- case 'medium':
33
+ case MEDIUM:
34
34
  icon = (
35
35
  <svg
36
36
  width={24}
@@ -52,7 +52,7 @@ const SocialGitHubIcon = ({ color, size }) => {
52
52
  </svg>
53
53
  )
54
54
  break
55
- case 'large':
55
+ case LARGE:
56
56
  icon = (
57
57
  <svg
58
58
  width={40}
@@ -92,8 +92,8 @@ SocialGitHubIcon.propTypes = {
92
92
  }
93
93
 
94
94
  SocialGitHubIcon.defaultProps = {
95
- color: 'main-dark-blue',
96
- size: 'medium'
95
+ color: MAIN_DARK_BLUE,
96
+ size: MEDIUM
97
97
  }
98
98
 
99
99
  export default SocialGitHubIcon
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const SocialGitLabIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
@@ -9,7 +9,7 @@ const SocialGitLabIcon = ({ color, size }) => {
9
9
  let icon = <></>
10
10
 
11
11
  switch (size) {
12
- case 'small':
12
+ case SMALL:
13
13
  icon = (
14
14
  <svg
15
15
  width={16}
@@ -39,7 +39,7 @@ const SocialGitLabIcon = ({ color, size }) => {
39
39
  </svg>
40
40
  )
41
41
  break
42
- case 'medium':
42
+ case MEDIUM:
43
43
  icon = (
44
44
  <svg
45
45
  width={24}
@@ -68,7 +68,7 @@ const SocialGitLabIcon = ({ color, size }) => {
68
68
  </svg>
69
69
  )
70
70
  break
71
- case 'large':
71
+ case LARGE:
72
72
  icon = (
73
73
  <svg
74
74
  width={40}
@@ -116,8 +116,8 @@ SocialGitLabIcon.propTypes = {
116
116
  }
117
117
 
118
118
  SocialGitLabIcon.defaultProps = {
119
- color: 'main-dark-blue',
120
- size: 'medium'
119
+ color: MAIN_DARK_BLUE,
120
+ size: MEDIUM
121
121
  }
122
122
 
123
123
  export default SocialGitLabIcon
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const SocialLinkedInIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
@@ -9,7 +9,7 @@ const SocialLinkedInIcon = ({ color, size }) => {
9
9
  let icon = <></>
10
10
 
11
11
  switch (size) {
12
- case 'small':
12
+ case SMALL:
13
13
  icon = (
14
14
  <svg
15
15
  width={16}
@@ -26,7 +26,7 @@ const SocialLinkedInIcon = ({ color, size }) => {
26
26
  </svg>
27
27
  )
28
28
  break
29
- case 'medium':
29
+ case MEDIUM:
30
30
  icon = (
31
31
  <svg
32
32
  width={24}
@@ -43,7 +43,7 @@ const SocialLinkedInIcon = ({ color, size }) => {
43
43
  </svg>
44
44
  )
45
45
  break
46
- case 'large':
46
+ case LARGE:
47
47
  icon = (
48
48
  <svg
49
49
  width={40}
@@ -79,8 +79,8 @@ SocialLinkedInIcon.propTypes = {
79
79
  }
80
80
 
81
81
  SocialLinkedInIcon.defaultProps = {
82
- color: 'main-dark-blue',
83
- size: 'medium'
82
+ color: MAIN_DARK_BLUE,
83
+ size: MEDIUM
84
84
  }
85
85
 
86
86
  export default SocialLinkedInIcon
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const SocialNPMIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
@@ -9,7 +9,7 @@ const SocialNPMIcon = ({ color, size }) => {
9
9
  let icon = <></>
10
10
 
11
11
  switch (size) {
12
- case 'small':
12
+ case SMALL:
13
13
  icon = (
14
14
  <svg
15
15
  width={16}
@@ -23,7 +23,7 @@ const SocialNPMIcon = ({ color, size }) => {
23
23
  </svg>
24
24
  )
25
25
  break
26
- case 'medium':
26
+ case MEDIUM:
27
27
  icon = (
28
28
  <svg
29
29
  width={24}
@@ -37,7 +37,7 @@ const SocialNPMIcon = ({ color, size }) => {
37
37
  </svg>
38
38
  )
39
39
  break
40
- case 'large':
40
+ case LARGE:
41
41
  icon = (
42
42
  <svg
43
43
  width={40}
@@ -71,8 +71,8 @@ SocialNPMIcon.propTypes = {
71
71
  }
72
72
 
73
73
  SocialNPMIcon.defaultProps = {
74
- color: 'main-dark-blue',
75
- size: 'medium'
74
+ color: MAIN_DARK_BLUE,
75
+ size: MEDIUM
76
76
  }
77
77
 
78
78
  export default SocialNPMIcon
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const SocialTwitterIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
@@ -9,7 +9,7 @@ const SocialTwitterIcon = ({ color, size }) => {
9
9
  let icon = <></>
10
10
 
11
11
  switch (size) {
12
- case 'small':
12
+ case SMALL:
13
13
  icon = (
14
14
  <svg
15
15
  width={16}
@@ -23,7 +23,7 @@ const SocialTwitterIcon = ({ color, size }) => {
23
23
  </svg>
24
24
  )
25
25
  break
26
- case 'medium':
26
+ case MEDIUM:
27
27
  icon = (
28
28
  <svg
29
29
  width={24}
@@ -37,7 +37,7 @@ const SocialTwitterIcon = ({ color, size }) => {
37
37
  </svg>
38
38
  )
39
39
  break
40
- case 'large':
40
+ case LARGE:
41
41
  icon = (
42
42
  <svg
43
43
  width={40}
@@ -71,8 +71,8 @@ SocialTwitterIcon.propTypes = {
71
71
  }
72
72
 
73
73
  SocialTwitterIcon.defaultProps = {
74
- color: 'main-dark-blue',
75
- size: 'medium'
74
+ color: MAIN_DARK_BLUE,
75
+ size: MEDIUM
76
76
  }
77
77
 
78
78
  export default SocialTwitterIcon
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const StopIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
8
8
  let icon = <></>
9
9
 
10
10
  switch (size) {
11
- case 'small':
11
+ case SMALL:
12
12
  icon = (
13
13
  <svg
14
14
  width={16}
@@ -23,7 +23,7 @@ const StopIcon = ({ color, size }) => {
23
23
  </svg>
24
24
  )
25
25
  break
26
- case 'medium':
26
+ case MEDIUM:
27
27
  icon = (
28
28
  <svg
29
29
  width={24}
@@ -38,7 +38,7 @@ const StopIcon = ({ color, size }) => {
38
38
  </svg>
39
39
  )
40
40
  break
41
- case 'large':
41
+ case LARGE:
42
42
  icon = (
43
43
  <svg
44
44
  width={40}
@@ -72,8 +72,8 @@ StopIcon.propTypes = {
72
72
  }
73
73
 
74
74
  StopIcon.defaultProps = {
75
- color: 'main-dark-blue',
76
- size: 'medium'
75
+ color: MAIN_DARK_BLUE,
76
+ size: MEDIUM
77
77
  }
78
78
 
79
79
  export default StopIcon
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const SwitchIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
8
8
  let icon = <></>
9
9
 
10
10
  switch (size) {
11
- case 'small':
11
+ case SMALL:
12
12
  icon = (
13
13
  <svg
14
14
  width={16}
@@ -23,7 +23,7 @@ const SwitchIcon = ({ color, size }) => {
23
23
  </svg>
24
24
  )
25
25
  break
26
- case 'medium':
26
+ case MEDIUM:
27
27
  icon = (
28
28
  <svg
29
29
  width={24}
@@ -39,7 +39,7 @@ const SwitchIcon = ({ color, size }) => {
39
39
  </svg>
40
40
  )
41
41
  break
42
- case 'large':
42
+ case LARGE:
43
43
  icon = (
44
44
  <svg
45
45
  width={40}
@@ -74,8 +74,8 @@ SwitchIcon.propTypes = {
74
74
  }
75
75
 
76
76
  SwitchIcon.defaultProps = {
77
- color: 'main-dark-blue',
78
- size: 'medium'
77
+ color: MAIN_DARK_BLUE,
78
+ size: MEDIUM
79
79
  }
80
80
 
81
81
  export default SwitchIcon
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const TeamsIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
8
8
  let icon = <></>
9
9
 
10
10
  switch (size) {
11
- case 'small':
11
+ case SMALL:
12
12
  icon = (
13
13
  <svg
14
14
  width={16}
@@ -27,7 +27,7 @@ const TeamsIcon = ({ color, size }) => {
27
27
  </svg>
28
28
  )
29
29
  break
30
- case 'medium':
30
+ case MEDIUM:
31
31
  icon = (
32
32
  <svg
33
33
  width={24}
@@ -46,7 +46,7 @@ const TeamsIcon = ({ color, size }) => {
46
46
  </svg>
47
47
  )
48
48
  break
49
- case 'large':
49
+ case LARGE:
50
50
  icon = (
51
51
  <svg
52
52
  width={40}
@@ -84,8 +84,8 @@ TeamsIcon.propTypes = {
84
84
  }
85
85
 
86
86
  TeamsIcon.defaultProps = {
87
- color: 'main-dark-blue',
88
- size: 'medium'
87
+ color: MAIN_DARK_BLUE,
88
+ size: MEDIUM
89
89
  }
90
90
 
91
91
  export default TeamsIcon
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react'
2
2
  import PropTypes from 'prop-types'
3
3
  import styles from './Icons.module.css'
4
- import { COLORS_ICON, SIZES } from '../constants'
4
+ import { COLORS_ICON, SIZES, SMALL, MEDIUM, LARGE, MAIN_DARK_BLUE } from '../constants'
5
5
 
6
6
  const TerminalIcon = ({ color, size }) => {
7
7
  const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
8
8
  let icon = <></>
9
9
 
10
10
  switch (size) {
11
- case 'small':
11
+ case SMALL:
12
12
  icon = (
13
13
  <svg
14
14
  width={16}
@@ -24,7 +24,7 @@ const TerminalIcon = ({ color, size }) => {
24
24
  </svg>
25
25
  )
26
26
  break
27
- case 'medium':
27
+ case MEDIUM:
28
28
  icon = (
29
29
  <svg
30
30
  width={24}
@@ -41,7 +41,7 @@ const TerminalIcon = ({ color, size }) => {
41
41
  </svg>
42
42
  )
43
43
  break
44
- case 'large':
44
+ case LARGE:
45
45
  icon = (
46
46
  <svg
47
47
  width={40}
@@ -76,8 +76,8 @@ TerminalIcon.propTypes = {
76
76
  }
77
77
 
78
78
  TerminalIcon.defaultProps = {
79
- color: 'main-dark-blue',
80
- size: 'medium'
79
+ color: MAIN_DARK_BLUE,
80
+ size: MEDIUM
81
81
  }
82
82
 
83
83
  export default TerminalIcon