@platformatic/ui-components 0.1.49 → 0.1.51
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.
- package/.github/workflows/ci.yml +26 -26
- package/.nvmrc +1 -1
- package/LICENSE +201 -201
- package/README.md +30 -30
- package/dist/api-icon-closed.svg +6 -0
- package/dist/api-icon.svg +9 -0
- package/dist/assets/Montserrat-Regular.dcfe8df2.ttf +0 -0
- package/dist/assets/index.691ca940.css +1 -0
- package/dist/assets/index.ff0dadfc.js +797 -0
- package/dist/index.html +14 -0
- package/dist/stats.html +6177 -0
- package/dist/vite.svg +1 -0
- package/fonts/Montserrat/README.txt +81 -81
- package/index.html +12 -12
- package/index.js +71 -71
- package/package.json +76 -76
- package/postcss.config.cjs +8 -8
- package/public/api-icon-closed.svg +6 -6
- package/public/api-icon.svg +9 -9
- package/src/App.jsx +12 -12
- package/src/components/BorderedBox.jsx +18 -18
- package/src/components/BorderedBox.module.css +8 -8
- package/src/components/BorderedText.jsx +8 -8
- package/src/components/BorderedText.module.css +2 -2
- package/src/components/Box.jsx +14 -14
- package/src/components/Box.module.css +7 -7
- package/src/components/Button.jsx +95 -95
- package/src/components/Button.module.css +127 -127
- package/src/components/ButtonFullRounded.jsx +17 -17
- package/src/components/ButtonFullRounded.module.css +28 -28
- package/src/components/Checkbox.jsx +11 -11
- package/src/components/Checkbox.module.css +18 -18
- package/src/components/Common.module.css +28 -28
- package/src/components/DetailedMetric.jsx +32 -32
- package/src/components/DetailedMetric.module.css +2 -2
- package/src/components/DropDown.jsx +35 -36
- package/src/components/DropDown.module.css +25 -27
- package/src/components/FollowUs.jsx +35 -35
- package/src/components/FollowUs.module.css +11 -11
- package/src/components/GHLoginButton.jsx +14 -14
- package/src/components/HorizontalSeparator.jsx +15 -15
- package/src/components/HorizontalSeparator.module.css +26 -26
- package/src/components/InfoBox.jsx +50 -50
- package/src/components/InfoBox.module.css +5 -5
- package/src/components/List.jsx +20 -20
- package/src/components/List.module.css +11 -11
- package/src/components/ListElement.jsx +23 -23
- package/src/components/ListElement.module.css +23 -23
- package/src/components/Loadable.jsx +34 -34
- package/src/components/Loadable.module.css +13 -13
- package/src/components/Loader.jsx +22 -22
- package/src/components/Loader.module.css +13 -13
- package/src/components/LoginButton.jsx +17 -17
- package/src/components/LoginButton.module.css +7 -7
- package/src/components/LoginButton.test.jsx +25 -25
- package/src/components/Logo.jsx +62 -62
- package/src/components/Logo.module.css +5 -5
- package/src/components/Main.jsx +33 -33
- package/src/components/MetricValue.jsx +15 -15
- package/src/components/MetricValue.module.css +9 -9
- package/src/components/Modal.jsx +93 -93
- package/src/components/Modal.module.css +50 -50
- package/src/components/PlatformaticIcon.jsx +57 -57
- package/src/components/PlatformaticIcon.module.css +2 -2
- package/src/components/Playground.jsx +9 -9
- package/src/components/SearchBar.jsx +63 -63
- package/src/components/SearchBar.module.css +20 -20
- package/src/components/Sidebar.jsx +151 -153
- package/src/components/Sidebar.module.css +70 -66
- package/src/components/SimpleMetric.jsx +28 -28
- package/src/components/SimpleMetric.module.css +6 -6
- package/src/components/Status.jsx +26 -26
- package/src/components/TabbedWindow.jsx +39 -39
- package/src/components/TabbedWindow.module.css +16 -16
- package/src/components/TextWithLabel.jsx +11 -11
- package/src/components/TextWithLabel.module.css +8 -8
- package/src/components/Versions.jsx +9 -9
- package/src/components/VerticalSeparator.jsx +5 -5
- package/src/components/forms/Field.jsx +53 -20
- package/src/components/forms/Field.module.css +23 -17
- package/src/components/forms/Input.jsx +80 -80
- package/src/components/forms/Input.module.css +28 -28
- package/src/components/forms/Preview.jsx +75 -77
- package/src/components/forms/Preview.module.css +14 -14
- package/src/components/forms/ToggleSwitch.jsx +18 -18
- package/src/components/forms/ToggleSwitch.module.css +42 -42
- package/src/components/forms/index.js +8 -8
- package/src/components/icons/AddIcon.jsx +78 -0
- package/src/components/icons/AlertIcon.jsx +81 -0
- package/src/components/icons/AllInOneIcon.jsx +111 -0
- package/src/components/icons/ApiCloudIcon.jsx +93 -0
- package/src/components/icons/ApiEmptyIcon.jsx +107 -107
- package/src/components/icons/ApiIcon.jsx +84 -29
- package/src/components/icons/ApiIconClosed.jsx +19 -19
- package/src/components/icons/AppEmptyIcon.jsx +94 -94
- package/src/components/icons/AppIcon.jsx +85 -38
- package/src/components/icons/AppListIcon.jsx +73 -73
- package/src/components/icons/ArrowDownFullIcon.jsx +76 -0
- package/src/components/icons/ArrowDownIcon.jsx +75 -0
- package/src/components/icons/ArrowLeftIcon.jsx +75 -0
- package/src/components/icons/ArrowRightIcon.jsx +75 -0
- package/src/components/icons/ArrowUpIcon.jsx +75 -0
- package/src/components/icons/Calendar1DayIcon.jsx +90 -0
- package/src/components/icons/Calendar7DaysIcon.jsx +88 -0
- package/src/components/icons/CalendarIcon.jsx +102 -56
- package/src/components/icons/CircleAddIcon.jsx +81 -40
- package/src/components/icons/CircleBackIcon.jsx +51 -51
- package/src/components/icons/{Calendar1Icon.jsx → CircleCheckMarkIcon.jsx} +66 -54
- package/src/components/icons/CircleCloseHoverIcon.jsx +42 -42
- package/src/components/icons/CircleCloseIcon.jsx +32 -32
- package/src/components/icons/CircleExclamationIcon.jsx +29 -29
- package/src/components/icons/CloseIcon.jsx +79 -31
- package/src/components/icons/CopyPasteIcon.jsx +81 -0
- package/src/components/icons/DatabaseIcon.jsx +81 -0
- package/src/components/icons/EditIcon.jsx +81 -38
- package/src/components/icons/GearIcon.jsx +78 -40
- package/src/components/icons/Icons.module.css +46 -29
- package/src/components/icons/LiveIcon.jsx +43 -43
- package/src/components/icons/MetricsIcon.jsx +52 -52
- package/src/components/icons/PlayIcon.jsx +20 -20
- package/src/components/icons/PullRequestIcon.jsx +35 -35
- package/src/components/icons/StopIcon.jsx +21 -21
- package/src/components/icons/TerminalIcon.jsx +22 -22
- package/src/components/icons/UpgradeIcon.jsx +48 -48
- package/src/components/icons/Users2Icon.jsx +84 -0
- package/src/components/icons/WorkspaceDynamicIcon.jsx +87 -0
- package/src/components/icons/WorkspaceReadyIcon.jsx +144 -0
- package/src/components/icons/WorkspaceStaticIcon.jsx +84 -0
- package/src/components/icons/index.js +83 -61
- package/src/components/layouts/Layout.jsx +11 -11
- package/src/components/layouts/TwoColumnsLayout.jsx +12 -12
- package/src/components/layouts/TwoColumnsLayout.module.css +9 -9
- package/src/hooks/useEscapeKey.js +20 -20
- package/src/lib/utils.js +23 -23
- package/src/main.jsx +9 -9
- package/src/stories/BorderedBox.stories.jsx +33 -33
- package/src/stories/BorderedText.stories.jsx +24 -24
- package/src/stories/Button.stories.jsx +114 -114
- package/src/stories/ButtonFullRounded.stories.jsx +61 -61
- package/src/stories/Checkbox.stories.jsx +27 -27
- package/src/stories/DetailedMetric.stories.jsx +33 -33
- package/src/stories/DropDown.stories.jsx +62 -62
- package/src/stories/FollowUs.stories.jsx +14 -14
- package/src/stories/GHLoginButton.stories.jsx +14 -14
- package/src/stories/HorizontalSeparator.stories.jsx +12 -12
- package/src/stories/InfoBox.stories.jsx +46 -46
- package/src/stories/Introduction.stories.mdx +211 -211
- package/src/stories/List.stories.jsx +29 -29
- package/src/stories/ListElement.stories.jsx +15 -15
- package/src/stories/Loadable.stories.jsx +75 -75
- package/src/stories/Loader.stories.jsx +44 -44
- package/src/stories/LoginButton.stories.jsx +15 -15
- package/src/stories/Logo.stories.jsx +17 -17
- package/src/stories/Modal.stories.jsx +100 -100
- package/src/stories/PlatformaticIcon.stories.jsx +57 -35
- package/src/stories/SearchBar.stories.jsx +28 -28
- package/src/stories/Sidebar.stories.jsx +61 -61
- package/src/stories/SimpleMetric.stories.jsx +41 -41
- package/src/stories/Status.stories.jsx +31 -31
- package/src/stories/TextWithLabel.stories.jsx +25 -25
- package/src/stories/TwoColumnsLayout.stories.jsx +42 -42
- package/src/stories/forms/Field.stories.jsx +89 -81
- package/src/stories/forms/Input.stories.jsx +89 -89
- package/src/stories/forms/Preview.stories.jsx +57 -57
- package/src/stories/forms/ToggleSwitch.stories.jsx +15 -15
- package/src/stories/icons/Icons.stories.jsx +68 -74
- package/src/styles/main.css +22 -15
- package/tailwind.config.cjs +60 -60
- package/vite.config.js +6 -6
- package/vitest.config.js +14 -14
- package/dist/main.css +0 -704
- package/src/components/icons/Calendar7Icon.jsx +0 -55
- package/src/components/icons/CopyIcon.jsx +0 -75
- package/src/components/icons/CreatedWorkspaceIcon.jsx +0 -70
- package/src/components/icons/DynamicWorkspaceIcon.jsx +0 -125
- package/src/components/icons/StaticWorkspaceIcon.jsx +0 -119
- package/src/components/icons/TriangleExclamationIcon.jsx +0 -26
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
const StopIcon = ({ color = 'green', size = 'normal' }) => {
|
|
4
|
-
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
5
|
-
let icon = <></>
|
|
6
|
-
switch (size) {
|
|
7
|
-
case 'small':
|
|
8
|
-
icon = (
|
|
9
|
-
<svg width={16} height={16} viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg' className={className}>
|
|
10
|
-
<circle cx={8} cy={8} r={6} stroke='none' />
|
|
11
|
-
<path d='M3.5 12L12 3.5' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
12
|
-
</svg>
|
|
13
|
-
)
|
|
14
|
-
break
|
|
15
|
-
default:
|
|
16
|
-
break
|
|
17
|
-
}
|
|
18
|
-
return icon
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export default StopIcon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
const StopIcon = ({ color = 'green', size = 'normal' }) => {
|
|
4
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
5
|
+
let icon = <></>
|
|
6
|
+
switch (size) {
|
|
7
|
+
case 'small':
|
|
8
|
+
icon = (
|
|
9
|
+
<svg width={16} height={16} viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg' className={className}>
|
|
10
|
+
<circle cx={8} cy={8} r={6} stroke='none' />
|
|
11
|
+
<path d='M3.5 12L12 3.5' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
12
|
+
</svg>
|
|
13
|
+
)
|
|
14
|
+
break
|
|
15
|
+
default:
|
|
16
|
+
break
|
|
17
|
+
}
|
|
18
|
+
return icon
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default StopIcon
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
const TerminalIcon = ({ color = 'green', size = 'normal' }) => {
|
|
4
|
-
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
5
|
-
let icon = <></>
|
|
6
|
-
switch (size) {
|
|
7
|
-
case 'small':
|
|
8
|
-
icon = (
|
|
9
|
-
<svg width={16} height={16} viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg' className={className}>
|
|
10
|
-
<rect x={2} y={2} width={12} height={12} rx={1} stroke='none' />
|
|
11
|
-
<path d='M4 9L6 7L4 5' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
12
|
-
<path d='M7 11H11.5' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
13
|
-
</svg>
|
|
14
|
-
)
|
|
15
|
-
break
|
|
16
|
-
default:
|
|
17
|
-
break
|
|
18
|
-
}
|
|
19
|
-
return icon
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export default TerminalIcon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
const TerminalIcon = ({ color = 'green', size = 'normal' }) => {
|
|
4
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
5
|
+
let icon = <></>
|
|
6
|
+
switch (size) {
|
|
7
|
+
case 'small':
|
|
8
|
+
icon = (
|
|
9
|
+
<svg width={16} height={16} viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg' className={className}>
|
|
10
|
+
<rect x={2} y={2} width={12} height={12} rx={1} stroke='none' />
|
|
11
|
+
<path d='M4 9L6 7L4 5' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
12
|
+
<path d='M7 11H11.5' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
13
|
+
</svg>
|
|
14
|
+
)
|
|
15
|
+
break
|
|
16
|
+
default:
|
|
17
|
+
break
|
|
18
|
+
}
|
|
19
|
+
return icon
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export default TerminalIcon
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
|
|
4
|
-
const UpgradeIcon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
-
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
-
let icon = <></>
|
|
7
|
-
switch (size) {
|
|
8
|
-
case 'extra-large':
|
|
9
|
-
icon = (
|
|
10
|
-
<svg
|
|
11
|
-
width={120}
|
|
12
|
-
height={120}
|
|
13
|
-
viewBox='0 0 120 120'
|
|
14
|
-
fill='none'
|
|
15
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
-
className={className}
|
|
17
|
-
>
|
|
18
|
-
<path
|
|
19
|
-
d='M73.5692 71.2499C70.4961 74.9505 65.8773 77.3043 60.7127 77.3043C55.2863 77.3043 50.4624 74.7057 47.4009 70.6768'
|
|
20
|
-
stroke='none'
|
|
21
|
-
strokeWidth={6.5}
|
|
22
|
-
strokeLinecap='round'
|
|
23
|
-
strokeLinejoin='round'
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
d='M23.2957 51.3793L17.6102 51.3793C16.1675 51.3793 15 52.5551 15 54.0082L15 66.8661C15 68.3192 16.1675 69.495 17.6102 69.495L23.2957 69.495C24.3778 69.495 25.3554 70.1738 25.7351 71.1967L28.4782 78.5003C28.8483 79.4946 28.5921 80.6226 27.8138 81.3491L24.074 84.8576C22.973 85.89 22.973 87.649 24.0645 88.691L32.9677 97.161C33.9549 98.1074 35.5115 98.117 36.5176 97.1897L41.4343 92.6775C42.2126 91.97 43.3326 91.7884 44.2913 92.2377L50.8405 95.2968C51.7707 95.727 52.3592 96.6639 52.3592 97.6868L52.3592 102.371C52.3592 103.824 53.5267 105 54.9694 105L65.9608 105C67.4035 105 68.571 103.824 68.571 102.371L68.571 97.4573C68.571 96.3197 69.3018 95.3064 70.3744 94.9527L77.9393 92.4671C78.8315 92.1804 79.8091 92.3907 80.502 93.0216L84.9346 97.0654C86.0167 98.05 87.6967 97.9545 88.6553 96.8455L96.7517 87.5247C97.6819 86.4541 97.5965 84.8289 96.5619 83.8634L93.088 80.613C92.3191 79.9056 92.0534 78.8062 92.3951 77.8216L94.749 71.0342C95.1192 69.973 96.1063 69.2656 97.2168 69.2656L102.39 69.2656C103.833 69.2656 105 68.0898 105 66.6367L105 54.2472C105 52.7941 103.833 51.6183 102.39 51.6183L97.2168 51.6183'
|
|
27
|
-
stroke='none'
|
|
28
|
-
strokeWidth={6.5}
|
|
29
|
-
strokeLinecap='round'
|
|
30
|
-
strokeLinejoin='round'
|
|
31
|
-
/>
|
|
32
|
-
<path
|
|
33
|
-
d='M59.1684 15.3455L37.5 36.8033L48.75 36.8034L48.75 60.1728L71.25 60.1728L71.25 37.7592L82.5 37.7592L59.1684 15.3455Z'
|
|
34
|
-
stroke='none'
|
|
35
|
-
strokeWidth={6.5}
|
|
36
|
-
strokeLinecap='round'
|
|
37
|
-
strokeLinejoin='round'
|
|
38
|
-
/>
|
|
39
|
-
</svg>
|
|
40
|
-
)
|
|
41
|
-
break
|
|
42
|
-
default:
|
|
43
|
-
break
|
|
44
|
-
}
|
|
45
|
-
return icon
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export default UpgradeIcon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
|
|
4
|
+
const UpgradeIcon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
+
let icon = <></>
|
|
7
|
+
switch (size) {
|
|
8
|
+
case 'extra-large':
|
|
9
|
+
icon = (
|
|
10
|
+
<svg
|
|
11
|
+
width={120}
|
|
12
|
+
height={120}
|
|
13
|
+
viewBox='0 0 120 120'
|
|
14
|
+
fill='none'
|
|
15
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
+
className={className}
|
|
17
|
+
>
|
|
18
|
+
<path
|
|
19
|
+
d='M73.5692 71.2499C70.4961 74.9505 65.8773 77.3043 60.7127 77.3043C55.2863 77.3043 50.4624 74.7057 47.4009 70.6768'
|
|
20
|
+
stroke='none'
|
|
21
|
+
strokeWidth={6.5}
|
|
22
|
+
strokeLinecap='round'
|
|
23
|
+
strokeLinejoin='round'
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
d='M23.2957 51.3793L17.6102 51.3793C16.1675 51.3793 15 52.5551 15 54.0082L15 66.8661C15 68.3192 16.1675 69.495 17.6102 69.495L23.2957 69.495C24.3778 69.495 25.3554 70.1738 25.7351 71.1967L28.4782 78.5003C28.8483 79.4946 28.5921 80.6226 27.8138 81.3491L24.074 84.8576C22.973 85.89 22.973 87.649 24.0645 88.691L32.9677 97.161C33.9549 98.1074 35.5115 98.117 36.5176 97.1897L41.4343 92.6775C42.2126 91.97 43.3326 91.7884 44.2913 92.2377L50.8405 95.2968C51.7707 95.727 52.3592 96.6639 52.3592 97.6868L52.3592 102.371C52.3592 103.824 53.5267 105 54.9694 105L65.9608 105C67.4035 105 68.571 103.824 68.571 102.371L68.571 97.4573C68.571 96.3197 69.3018 95.3064 70.3744 94.9527L77.9393 92.4671C78.8315 92.1804 79.8091 92.3907 80.502 93.0216L84.9346 97.0654C86.0167 98.05 87.6967 97.9545 88.6553 96.8455L96.7517 87.5247C97.6819 86.4541 97.5965 84.8289 96.5619 83.8634L93.088 80.613C92.3191 79.9056 92.0534 78.8062 92.3951 77.8216L94.749 71.0342C95.1192 69.973 96.1063 69.2656 97.2168 69.2656L102.39 69.2656C103.833 69.2656 105 68.0898 105 66.6367L105 54.2472C105 52.7941 103.833 51.6183 102.39 51.6183L97.2168 51.6183'
|
|
27
|
+
stroke='none'
|
|
28
|
+
strokeWidth={6.5}
|
|
29
|
+
strokeLinecap='round'
|
|
30
|
+
strokeLinejoin='round'
|
|
31
|
+
/>
|
|
32
|
+
<path
|
|
33
|
+
d='M59.1684 15.3455L37.5 36.8033L48.75 36.8034L48.75 60.1728L71.25 60.1728L71.25 37.7592L82.5 37.7592L59.1684 15.3455Z'
|
|
34
|
+
stroke='none'
|
|
35
|
+
strokeWidth={6.5}
|
|
36
|
+
strokeLinecap='round'
|
|
37
|
+
strokeLinejoin='round'
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
)
|
|
41
|
+
break
|
|
42
|
+
default:
|
|
43
|
+
break
|
|
44
|
+
}
|
|
45
|
+
return icon
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export default UpgradeIcon
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import PropTypes from 'prop-types'
|
|
3
|
+
import styles from './Icons.module.css'
|
|
4
|
+
|
|
5
|
+
const Users2Icon = ({ color, size }) => {
|
|
6
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
7
|
+
let icon = <></>
|
|
8
|
+
|
|
9
|
+
switch (size) {
|
|
10
|
+
case 'small':
|
|
11
|
+
icon = (
|
|
12
|
+
<svg
|
|
13
|
+
width={16}
|
|
14
|
+
height={16}
|
|
15
|
+
viewBox='0 0 16 16'
|
|
16
|
+
fill='none'
|
|
17
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
18
|
+
className={className}
|
|
19
|
+
>
|
|
20
|
+
<path d='M6.00001 10C3.79087 10 2 11.4327 2 13.2H10C10 11.4327 8.20916 10 6.00001 10Z' stroke='none' strokeLinejoin='round' />
|
|
21
|
+
<circle cx={6.00011} cy={6.00001} r={2.40001} stroke='none' />
|
|
22
|
+
<path d='M9.19995 8.40002C11.8509 8.40002 14 9.83272 14 11.6H11' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
23
|
+
<path d='M7.6001 2.61108C8.0247 2.23107 8.5854 2 9.20006 2C10.5255 2 11.6001 3.07452 11.6001 4.40001C11.6001 5.5467 10.7959 6.50556 9.72074 6.74338' stroke='none' strokeLinecap='round' />
|
|
24
|
+
</svg>
|
|
25
|
+
)
|
|
26
|
+
break
|
|
27
|
+
case 'normal':
|
|
28
|
+
icon = (
|
|
29
|
+
<svg
|
|
30
|
+
width={24}
|
|
31
|
+
height={24}
|
|
32
|
+
viewBox='0 0 24 24'
|
|
33
|
+
fill='none'
|
|
34
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
35
|
+
className={className}
|
|
36
|
+
>
|
|
37
|
+
<path d='M9.00002 15C5.6863 15 3 17.1491 3 19.8001H15C15 17.1491 12.3137 15 9.00002 15Z' stroke='none' strokeWidth={1.5} strokeLinejoin='round' />
|
|
38
|
+
<circle cx={8.99991} cy={9.00002} r={3.60001} stroke='none' strokeWidth={1.5} />
|
|
39
|
+
<path d='M13.8 12.6C17.7765 12.6 21.0001 14.7491 21.0001 17.4001H16.5001' stroke='none' strokeWidth={1.5} strokeLinecap='round' strokeLinejoin='round' />
|
|
40
|
+
<path d='M11.4001 3.91662C12.037 3.3466 12.8781 3 13.8001 3C15.7883 3 17.4001 4.61178 17.4001 6.60001C17.4001 8.32004 16.1938 9.75833 14.5811 10.1151' stroke='none' strokeWidth={1.5} strokeLinecap='round' />
|
|
41
|
+
</svg>
|
|
42
|
+
)
|
|
43
|
+
break
|
|
44
|
+
case 'large':
|
|
45
|
+
icon = (
|
|
46
|
+
<svg
|
|
47
|
+
width={40}
|
|
48
|
+
height={40}
|
|
49
|
+
viewBox='0 0 40 40'
|
|
50
|
+
fill='none'
|
|
51
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
52
|
+
className={className}
|
|
53
|
+
>
|
|
54
|
+
<path d='M15 25.0001C9.47717 25.0001 5 28.5818 5 33.0001H25.0001C25.0001 28.5818 20.5229 25.0001 15 25.0001Z' stroke='none' strokeWidth={2} strokeLinejoin='round' />
|
|
55
|
+
<circle cx='15' cy='15' r='6.00002' stroke='none' strokeWidth={2} />
|
|
56
|
+
<path d='M22.9998 21.0001C29.6272 21.0001 34.9998 24.5818 34.9998 29.0001H27.4999' stroke='none' strokeWidth={2} strokeLinecap='round' strokeLinejoin='round' />
|
|
57
|
+
<path d='M19 6.5277C20.0615 5.57767 21.4632 5 22.9999 5C26.3136 5 28.9999 7.6863 28.9999 11C28.9999 13.8667 26.9895 16.2639 24.3016 16.8585' stroke='none' strokeWidth={2} strokeLinecap='round' />
|
|
58
|
+
</svg>
|
|
59
|
+
)
|
|
60
|
+
break
|
|
61
|
+
|
|
62
|
+
default:
|
|
63
|
+
break
|
|
64
|
+
}
|
|
65
|
+
return icon
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
Users2Icon.propTypes = {
|
|
69
|
+
/**
|
|
70
|
+
* color of text, icon and borders
|
|
71
|
+
*/
|
|
72
|
+
color: PropTypes.oneOf(['green', 'white', 'main-dark-blue', 'red']),
|
|
73
|
+
/**
|
|
74
|
+
* Size
|
|
75
|
+
*/
|
|
76
|
+
size: PropTypes.oneOf(['small', 'medium', 'large', 'extra-large'])
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
Users2Icon.defaultProps = {
|
|
80
|
+
color: 'main-dark-blue',
|
|
81
|
+
size: 'normal'
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export default Users2Icon
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import PropTypes from 'prop-types'
|
|
3
|
+
import styles from './Icons.module.css'
|
|
4
|
+
|
|
5
|
+
const WorkspaceDynamicIcon = ({ color, size }) => {
|
|
6
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
7
|
+
let icon = <></>
|
|
8
|
+
|
|
9
|
+
switch (size) {
|
|
10
|
+
case 'small':
|
|
11
|
+
icon = (
|
|
12
|
+
<svg
|
|
13
|
+
width={16}
|
|
14
|
+
height={16}
|
|
15
|
+
viewBox='0 0 16 16'
|
|
16
|
+
fill='none'
|
|
17
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
18
|
+
className={className}
|
|
19
|
+
>
|
|
20
|
+
<rect x={2} y={2} width={4} height={5.03497} rx={1} stroke='none' />
|
|
21
|
+
<path d='M8 2L11 4.5L8 7V2Z' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
22
|
+
<rect x={14} y={14} width={4} height={5.03496} rx={1} transform='rotate(-180 14 14)' stroke='none' />
|
|
23
|
+
<rect x={8} y={14} width={6} height={5.03497} rx={1} transform='rotate(-180 8 14)' stroke='none' />
|
|
24
|
+
<path d='M11 6V7L14 4.5L11 2V3' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
25
|
+
</svg>
|
|
26
|
+
)
|
|
27
|
+
break
|
|
28
|
+
case 'normal':
|
|
29
|
+
icon = (
|
|
30
|
+
<svg
|
|
31
|
+
width={24}
|
|
32
|
+
height={24}
|
|
33
|
+
viewBox='0 0 24 24'
|
|
34
|
+
fill='none'
|
|
35
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
36
|
+
className={className}
|
|
37
|
+
>
|
|
38
|
+
<rect x={3} y={3} width={6} height={7.55245} rx={1} stroke='none' strokeWidth={1.5} />
|
|
39
|
+
<path d='M12 3L16.5 6.75L12 10.5V3Z' stroke='none' strokeWidth={1.5} strokeLinecap='round' strokeLinejoin='round' />
|
|
40
|
+
<rect x={21} y={21} width={6} height={7.55245} rx={1} transform='rotate(-180 21 21)' stroke='none' strokeWidth={1.5} />
|
|
41
|
+
<rect x={12} y={21} width={9} height={7.55245} rx={1} transform='rotate(-180 12 21)' stroke='none' strokeWidth={1.5} />
|
|
42
|
+
<path d='M16.5 9V10.5L21 6.75L16.5 3V4.5' stroke='none' strokeWidth={1.5} strokeLinecap='round' strokeLinejoin='round' />
|
|
43
|
+
</svg>
|
|
44
|
+
)
|
|
45
|
+
break
|
|
46
|
+
case 'large':
|
|
47
|
+
icon = (
|
|
48
|
+
<svg
|
|
49
|
+
width={40}
|
|
50
|
+
height={40}
|
|
51
|
+
viewBox='0 0 40 40'
|
|
52
|
+
fill='none'
|
|
53
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
54
|
+
className={className}
|
|
55
|
+
>
|
|
56
|
+
<rect x={5} y={5} width={10} height={12.5874} rx={1} stroke='none' strokeWidth={2} />
|
|
57
|
+
<path d='M20 5L27.5 11.25L20 17.5V5Z' stroke='none' strokeWidth={2} strokeLinecap='round' strokeLinejoin='round' />
|
|
58
|
+
<rect x={35} y={35} width={10} height={12.5874} rx={1} transform='rotate(-180 35 35)' stroke='none' strokeWidth={2} />
|
|
59
|
+
<rect x={20} y={35} width={15} height={12.5874} rx={1} transform='rotate(-180 20 35)' stroke='none' strokeWidth={2} />
|
|
60
|
+
<path d='M27.5 15V17.5L35 11.25L27.5 5V7.5' stroke='none' strokeWidth={2} strokeLinecap='round' strokeLinejoin='round' />
|
|
61
|
+
</svg>
|
|
62
|
+
)
|
|
63
|
+
break
|
|
64
|
+
|
|
65
|
+
default:
|
|
66
|
+
break
|
|
67
|
+
}
|
|
68
|
+
return icon
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
WorkspaceDynamicIcon.propTypes = {
|
|
72
|
+
/**
|
|
73
|
+
* color of text, icon and borders
|
|
74
|
+
*/
|
|
75
|
+
color: PropTypes.oneOf(['green', 'white', 'main-dark-blue', 'red']),
|
|
76
|
+
/**
|
|
77
|
+
* Size
|
|
78
|
+
*/
|
|
79
|
+
size: PropTypes.oneOf(['small', 'medium', 'large', 'extra-large'])
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
WorkspaceDynamicIcon.defaultProps = {
|
|
83
|
+
color: 'main-dark-blue',
|
|
84
|
+
size: 'normal'
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export default WorkspaceDynamicIcon
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import PropTypes from 'prop-types'
|
|
3
|
+
import styles from './Icons.module.css'
|
|
4
|
+
|
|
5
|
+
const WorkspaceReadyIcon = ({ color, size }) => {
|
|
6
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
7
|
+
let icon = <></>
|
|
8
|
+
|
|
9
|
+
switch (size) {
|
|
10
|
+
case 'small':
|
|
11
|
+
icon = (
|
|
12
|
+
<svg
|
|
13
|
+
width={16}
|
|
14
|
+
height={16}
|
|
15
|
+
viewBox='0 0 16 16'
|
|
16
|
+
fill='none'
|
|
17
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
18
|
+
className={className}
|
|
19
|
+
>
|
|
20
|
+
<rect x={2} y={2} width={5} height={5} rx={1} stroke='none' />
|
|
21
|
+
<rect x={6} y={14} width={4} height={5.03496} rx={1} transform='rotate(-180 6 14)' stroke='none' />
|
|
22
|
+
<rect x={14} y={14} width={6} height={5.03497} rx={1} transform='rotate(-180 14 14)' stroke='none' />
|
|
23
|
+
<circle cx={11.5} cy={4.5} r={2.5} stroke='none' />
|
|
24
|
+
<path d='M10.25 4.5L11.2917 5.33333L12.5 4.00001' stroke='none' strokeLinecap='round' strokeLinejoin='round' />
|
|
25
|
+
|
|
26
|
+
</svg>
|
|
27
|
+
)
|
|
28
|
+
break
|
|
29
|
+
case 'normal':
|
|
30
|
+
icon = (
|
|
31
|
+
<svg
|
|
32
|
+
width={24}
|
|
33
|
+
height={24}
|
|
34
|
+
viewBox='0 0 24 24'
|
|
35
|
+
fill='none'
|
|
36
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
37
|
+
className={className}
|
|
38
|
+
>
|
|
39
|
+
<rect x={3} y={3} width={7.5} height={7.5} rx={1} stroke='none' strokeWidth={1.5} />
|
|
40
|
+
<rect x={9} y={21} width={6} height={7.55245} rx={1} transform='rotate(-180 9 21)' stroke='none' strokeWidth={1.5} />
|
|
41
|
+
<rect x={21} y={21} width={9} height={7.55245} rx={1} transform='rotate(-180 21 21)' stroke='none' strokeWidth={1.5} />
|
|
42
|
+
<circle cx={17.25} cy={6.75} r={3.75} stroke='none' strokeWidth={1.5} />
|
|
43
|
+
<path d='M15.375 6.75L16.9375 8L18.75 6.00002' stroke='none' strokeWidth={1.5} strokeLinecap='round' strokeLinejoin='round' />
|
|
44
|
+
</svg>
|
|
45
|
+
)
|
|
46
|
+
break
|
|
47
|
+
case 'large':
|
|
48
|
+
icon = (
|
|
49
|
+
<svg
|
|
50
|
+
width={40}
|
|
51
|
+
height={40}
|
|
52
|
+
viewBox='0 0 40 40'
|
|
53
|
+
fill='none'
|
|
54
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
55
|
+
className={className}
|
|
56
|
+
>
|
|
57
|
+
<rect x={5} y={5} width={12.5} height={12.5} rx={1} stroke='none' strokeWidth={2} />
|
|
58
|
+
<rect x={15} y={35} width={10} height={12.5874} rx={1} transform='rotate(-180 15 35)' stroke='none' strokeWidth={2} />
|
|
59
|
+
<rect x={35} y={35} width={15} height={12.5874} rx={1} transform='rotate(-180 35 35)' stroke='none' strokeWidth={2} />
|
|
60
|
+
<circle cx={28.75} cy={11.25} r={6.25} stroke='none' strokeWidth={2} />
|
|
61
|
+
<path d='M25.625 11.25L28.2292 13.3333L31.25 10' stroke='none' strokeWidth={2} strokeLinecap='round' strokeLinejoin='round' />
|
|
62
|
+
|
|
63
|
+
</svg>
|
|
64
|
+
)
|
|
65
|
+
break
|
|
66
|
+
case 'extra-large':
|
|
67
|
+
icon = (
|
|
68
|
+
<svg
|
|
69
|
+
width={120}
|
|
70
|
+
height={120}
|
|
71
|
+
viewBox='0 0 120 120'
|
|
72
|
+
fill='none'
|
|
73
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
74
|
+
className={className}
|
|
75
|
+
>
|
|
76
|
+
<rect
|
|
77
|
+
x={15}
|
|
78
|
+
y={15}
|
|
79
|
+
width={37.5}
|
|
80
|
+
height={37.5}
|
|
81
|
+
rx={1}
|
|
82
|
+
stroke='none'
|
|
83
|
+
strokeWidth={6.5}
|
|
84
|
+
/>
|
|
85
|
+
<rect
|
|
86
|
+
x={45}
|
|
87
|
+
y={105}
|
|
88
|
+
width={30}
|
|
89
|
+
height={37.7622}
|
|
90
|
+
rx={1}
|
|
91
|
+
transform='rotate(-180 45 105)'
|
|
92
|
+
stroke='none'
|
|
93
|
+
strokeWidth={6.5}
|
|
94
|
+
/>
|
|
95
|
+
<rect
|
|
96
|
+
x={105}
|
|
97
|
+
y={105}
|
|
98
|
+
width={45}
|
|
99
|
+
height={37.7622}
|
|
100
|
+
rx={1}
|
|
101
|
+
transform='rotate(-180 105 105)'
|
|
102
|
+
stroke='none'
|
|
103
|
+
strokeWidth={6.5}
|
|
104
|
+
/>
|
|
105
|
+
<circle
|
|
106
|
+
cx={86.25}
|
|
107
|
+
cy={33.75}
|
|
108
|
+
r={18.75}
|
|
109
|
+
stroke='none'
|
|
110
|
+
strokeWidth={6.5}
|
|
111
|
+
/>
|
|
112
|
+
<path
|
|
113
|
+
d='M76.875 33.7499L84.6875 39.9999L93.75 30'
|
|
114
|
+
stroke='none'
|
|
115
|
+
strokeWidth={6.5}
|
|
116
|
+
strokeLinecap='round'
|
|
117
|
+
strokeLinejoin='round'
|
|
118
|
+
/>
|
|
119
|
+
</svg>
|
|
120
|
+
)
|
|
121
|
+
break
|
|
122
|
+
default:
|
|
123
|
+
break
|
|
124
|
+
}
|
|
125
|
+
return icon
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
WorkspaceReadyIcon.propTypes = {
|
|
129
|
+
/**
|
|
130
|
+
* color of text, icon and borders
|
|
131
|
+
*/
|
|
132
|
+
color: PropTypes.oneOf(['green', 'white', 'main-dark-blue', 'red']),
|
|
133
|
+
/**
|
|
134
|
+
* Size
|
|
135
|
+
*/
|
|
136
|
+
size: PropTypes.oneOf(['small', 'medium', 'large', 'extra-large'])
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
WorkspaceReadyIcon.defaultProps = {
|
|
140
|
+
color: 'main-dark-blue',
|
|
141
|
+
size: 'normal'
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export default WorkspaceReadyIcon
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import PropTypes from 'prop-types'
|
|
3
|
+
import styles from './Icons.module.css'
|
|
4
|
+
|
|
5
|
+
const WorkspaceStaticIcon = ({ color, size }) => {
|
|
6
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
7
|
+
let icon = <></>
|
|
8
|
+
|
|
9
|
+
switch (size) {
|
|
10
|
+
case 'small':
|
|
11
|
+
icon = (
|
|
12
|
+
<svg
|
|
13
|
+
width={16}
|
|
14
|
+
height={16}
|
|
15
|
+
viewBox='0 0 16 16'
|
|
16
|
+
fill='none'
|
|
17
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
18
|
+
className={className}
|
|
19
|
+
>
|
|
20
|
+
<rect x={2} y={2} width={4} height={5.03497} rx={1} stroke='none' />
|
|
21
|
+
<rect x={8} y={2} width={6} height={5.03497} rx={1} stroke='none' />
|
|
22
|
+
<rect x={14} y={14} width={4} height={5.03496} rx={1} transform='rotate(-180 14 14)' stroke='none' />
|
|
23
|
+
<rect x={8} y={14} width={6} height={5.03497} rx={1} transform='rotate(-180 8 14)' stroke='none' />
|
|
24
|
+
</svg>
|
|
25
|
+
)
|
|
26
|
+
break
|
|
27
|
+
case 'normal':
|
|
28
|
+
icon = (
|
|
29
|
+
<svg
|
|
30
|
+
width={24}
|
|
31
|
+
height={24}
|
|
32
|
+
viewBox='0 0 24 24'
|
|
33
|
+
fill='none'
|
|
34
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
35
|
+
className={className}
|
|
36
|
+
>
|
|
37
|
+
<rect x={3} y={3} width={6} height={7.55245} rx={1} stroke='none' strokeWidth={1.5} />
|
|
38
|
+
<rect x={12} y={3} width={9} height={7.55245} rx={1} stroke='none' strokeWidth={1.5} />
|
|
39
|
+
<rect x={21} y={21} width={6} height={7.55245} rx={1} transform='rotate(-180 21 21)' stroke='none' strokeWidth={1.5} />
|
|
40
|
+
<rect x={12} y={21} width={9} height={7.55245} rx={1} transform='rotate(-180 12 21)' stroke='none' strokeWidth={1.5} />
|
|
41
|
+
</svg>
|
|
42
|
+
)
|
|
43
|
+
break
|
|
44
|
+
case 'large':
|
|
45
|
+
icon = (
|
|
46
|
+
<svg
|
|
47
|
+
width={40}
|
|
48
|
+
height={40}
|
|
49
|
+
viewBox='0 0 40 40'
|
|
50
|
+
fill='none'
|
|
51
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
52
|
+
className={className}
|
|
53
|
+
>
|
|
54
|
+
<rect x={5} y={5} width={10} height={12.5874} rx={1} stroke='none' strokeWidth={2} />
|
|
55
|
+
<rect x={20} y={5} width={15} height={12.5874} rx={1} stroke='none' strokeWidth={2} />
|
|
56
|
+
<rect x={35} y={35} width={10} height={12.5874} rx={1} transform='rotate(-180 35 35)' stroke='none' strokeWidth={2} />
|
|
57
|
+
<rect x={20} y={35} width={15} height={12.5874} rx={1} transform='rotate(-180 20 35)' stroke='none' strokeWidth={2} />
|
|
58
|
+
</svg>
|
|
59
|
+
)
|
|
60
|
+
break
|
|
61
|
+
|
|
62
|
+
default:
|
|
63
|
+
break
|
|
64
|
+
}
|
|
65
|
+
return icon
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
WorkspaceStaticIcon.propTypes = {
|
|
69
|
+
/**
|
|
70
|
+
* color of text, icon and borders
|
|
71
|
+
*/
|
|
72
|
+
color: PropTypes.oneOf(['green', 'white', 'main-dark-blue', 'red']),
|
|
73
|
+
/**
|
|
74
|
+
* Size
|
|
75
|
+
*/
|
|
76
|
+
size: PropTypes.oneOf(['small', 'medium', 'large', 'extra-large'])
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
WorkspaceStaticIcon.defaultProps = {
|
|
80
|
+
color: 'main-dark-blue',
|
|
81
|
+
size: 'normal'
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export default WorkspaceStaticIcon
|