@platformatic/ui-components 0.1.48 → 0.1.50
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/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 +36 -36
- package/src/components/DropDown.module.css +27 -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 +153 -153
- package/src/components/Sidebar.module.css +66 -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 -87
- 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/ApiEmptyIcon.jsx +107 -107
- package/src/components/icons/ApiIcon.jsx +29 -29
- package/src/components/icons/ApiIconClosed.jsx +19 -19
- package/src/components/icons/AppEmptyIcon.jsx +94 -94
- package/src/components/icons/AppIcon.jsx +38 -38
- package/src/components/icons/AppListIcon.jsx +73 -73
- package/src/components/icons/Calendar1Icon.jsx +54 -54
- package/src/components/icons/Calendar7Icon.jsx +55 -55
- package/src/components/icons/CalendarIcon.jsx +56 -56
- package/src/components/icons/CircleAddIcon.jsx +40 -40
- package/src/components/icons/CircleBackIcon.jsx +51 -51
- package/src/components/icons/CircleCheckMarkIcon.jsx +66 -0
- 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 +31 -31
- package/src/components/icons/CopyIcon.jsx +75 -46
- package/src/components/icons/CreatedWorkspaceIcon.jsx +70 -70
- package/src/components/icons/DynamicWorkspaceIcon.jsx +125 -125
- package/src/components/icons/EditIcon.jsx +38 -0
- package/src/components/icons/GearIcon.jsx +40 -40
- package/src/components/icons/Icons.module.css +29 -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/StaticWorkspaceIcon.jsx +119 -119
- package/src/components/icons/StopIcon.jsx +21 -21
- package/src/components/icons/TerminalIcon.jsx +22 -22
- package/src/components/icons/TriangleExclamationIcon.jsx +26 -26
- package/src/components/icons/UpgradeIcon.jsx +48 -48
- package/src/components/icons/index.js +63 -59
- 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 +51 -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 -69
- 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 +74 -74
- package/src/styles/main.css +15 -15
- package/tailwind.config.cjs +60 -60
- package/vite.config.js +6 -6
- package/vitest.config.js +14 -14
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
|
|
4
|
-
const CreatedWorkspaceIcon = ({ 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
|
-
<rect
|
|
19
|
-
x={15}
|
|
20
|
-
y={15}
|
|
21
|
-
width={37.5}
|
|
22
|
-
height={37.5}
|
|
23
|
-
rx={1}
|
|
24
|
-
stroke='none'
|
|
25
|
-
strokeWidth={6.5}
|
|
26
|
-
/>
|
|
27
|
-
<rect
|
|
28
|
-
x={45}
|
|
29
|
-
y={105}
|
|
30
|
-
width={30}
|
|
31
|
-
height={37.7622}
|
|
32
|
-
rx={1}
|
|
33
|
-
transform='rotate(-180 45 105)'
|
|
34
|
-
stroke='none'
|
|
35
|
-
strokeWidth={6.5}
|
|
36
|
-
/>
|
|
37
|
-
<rect
|
|
38
|
-
x={105}
|
|
39
|
-
y={105}
|
|
40
|
-
width={45}
|
|
41
|
-
height={37.7622}
|
|
42
|
-
rx={1}
|
|
43
|
-
transform='rotate(-180 105 105)'
|
|
44
|
-
stroke='none'
|
|
45
|
-
strokeWidth={6.5}
|
|
46
|
-
/>
|
|
47
|
-
<circle
|
|
48
|
-
cx={86.25}
|
|
49
|
-
cy={33.75}
|
|
50
|
-
r={18.75}
|
|
51
|
-
stroke='none'
|
|
52
|
-
strokeWidth={6.5}
|
|
53
|
-
/>
|
|
54
|
-
<path
|
|
55
|
-
d='M76.875 33.7499L84.6875 39.9999L93.75 30'
|
|
56
|
-
stroke='none'
|
|
57
|
-
strokeWidth={6.5}
|
|
58
|
-
strokeLinecap='round'
|
|
59
|
-
strokeLinejoin='round'
|
|
60
|
-
/>
|
|
61
|
-
</svg>
|
|
62
|
-
)
|
|
63
|
-
break
|
|
64
|
-
default:
|
|
65
|
-
break
|
|
66
|
-
}
|
|
67
|
-
return icon
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export default CreatedWorkspaceIcon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
|
|
4
|
+
const CreatedWorkspaceIcon = ({ 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
|
+
<rect
|
|
19
|
+
x={15}
|
|
20
|
+
y={15}
|
|
21
|
+
width={37.5}
|
|
22
|
+
height={37.5}
|
|
23
|
+
rx={1}
|
|
24
|
+
stroke='none'
|
|
25
|
+
strokeWidth={6.5}
|
|
26
|
+
/>
|
|
27
|
+
<rect
|
|
28
|
+
x={45}
|
|
29
|
+
y={105}
|
|
30
|
+
width={30}
|
|
31
|
+
height={37.7622}
|
|
32
|
+
rx={1}
|
|
33
|
+
transform='rotate(-180 45 105)'
|
|
34
|
+
stroke='none'
|
|
35
|
+
strokeWidth={6.5}
|
|
36
|
+
/>
|
|
37
|
+
<rect
|
|
38
|
+
x={105}
|
|
39
|
+
y={105}
|
|
40
|
+
width={45}
|
|
41
|
+
height={37.7622}
|
|
42
|
+
rx={1}
|
|
43
|
+
transform='rotate(-180 105 105)'
|
|
44
|
+
stroke='none'
|
|
45
|
+
strokeWidth={6.5}
|
|
46
|
+
/>
|
|
47
|
+
<circle
|
|
48
|
+
cx={86.25}
|
|
49
|
+
cy={33.75}
|
|
50
|
+
r={18.75}
|
|
51
|
+
stroke='none'
|
|
52
|
+
strokeWidth={6.5}
|
|
53
|
+
/>
|
|
54
|
+
<path
|
|
55
|
+
d='M76.875 33.7499L84.6875 39.9999L93.75 30'
|
|
56
|
+
stroke='none'
|
|
57
|
+
strokeWidth={6.5}
|
|
58
|
+
strokeLinecap='round'
|
|
59
|
+
strokeLinejoin='round'
|
|
60
|
+
/>
|
|
61
|
+
</svg>
|
|
62
|
+
)
|
|
63
|
+
break
|
|
64
|
+
default:
|
|
65
|
+
break
|
|
66
|
+
}
|
|
67
|
+
return icon
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export default CreatedWorkspaceIcon
|
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
|
|
4
|
-
const DynamicWorkspaceIcon = ({ color = 'green', size = 'normal', tip = '' }) => {
|
|
5
|
-
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
-
let icon = (
|
|
7
|
-
<svg
|
|
8
|
-
width={40}
|
|
9
|
-
height={40}
|
|
10
|
-
viewBox='0 0 40 40'
|
|
11
|
-
fill='none'
|
|
12
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
13
|
-
className={className}
|
|
14
|
-
data-tip={tip}
|
|
15
|
-
>
|
|
16
|
-
<rect
|
|
17
|
-
x={5}
|
|
18
|
-
y={5}
|
|
19
|
-
width={10}
|
|
20
|
-
height={12.5874}
|
|
21
|
-
rx={1}
|
|
22
|
-
stroke='none'
|
|
23
|
-
strokeWidth={2}
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
d='M20 5L27.5 11.25L20 17.5V5Z'
|
|
27
|
-
stroke='none'
|
|
28
|
-
strokeWidth={2}
|
|
29
|
-
strokeLinecap='round'
|
|
30
|
-
strokeLinejoin='round'
|
|
31
|
-
/>
|
|
32
|
-
<rect
|
|
33
|
-
x={35}
|
|
34
|
-
y={35}
|
|
35
|
-
width={10}
|
|
36
|
-
height={12.5874}
|
|
37
|
-
rx={1}
|
|
38
|
-
transform='rotate(-180 35 35)'
|
|
39
|
-
stroke='none'
|
|
40
|
-
strokeWidth={2}
|
|
41
|
-
/>
|
|
42
|
-
<rect
|
|
43
|
-
x={20}
|
|
44
|
-
y={35}
|
|
45
|
-
width={15}
|
|
46
|
-
height={12.5874}
|
|
47
|
-
rx={1}
|
|
48
|
-
transform='rotate(-180 20 35)'
|
|
49
|
-
stroke='none'
|
|
50
|
-
strokeWidth={2}
|
|
51
|
-
/>
|
|
52
|
-
<path
|
|
53
|
-
d='M27.5 15V17.5L35 11.25L27.5 5V7.5'
|
|
54
|
-
stroke='none'
|
|
55
|
-
strokeWidth={2}
|
|
56
|
-
strokeLinecap='round'
|
|
57
|
-
strokeLinejoin='round'
|
|
58
|
-
/>
|
|
59
|
-
</svg>
|
|
60
|
-
)
|
|
61
|
-
switch (size) {
|
|
62
|
-
case 'small':
|
|
63
|
-
icon = (
|
|
64
|
-
<svg
|
|
65
|
-
width={24}
|
|
66
|
-
height={25}
|
|
67
|
-
viewBox='0 0 24 25'
|
|
68
|
-
fill='none'
|
|
69
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
70
|
-
className={className}
|
|
71
|
-
data-tip={tip}
|
|
72
|
-
>
|
|
73
|
-
<rect
|
|
74
|
-
x={3}
|
|
75
|
-
y={3.5}
|
|
76
|
-
width={6}
|
|
77
|
-
height={7.55245}
|
|
78
|
-
rx={1}
|
|
79
|
-
stroke='none'
|
|
80
|
-
strokeWidth={1.5}
|
|
81
|
-
/>
|
|
82
|
-
<path
|
|
83
|
-
d='M12 3.5L16.5 7.25L12 11V3.5Z'
|
|
84
|
-
stroke='none'
|
|
85
|
-
strokeWidth={1.5}
|
|
86
|
-
strokeLinecap='round'
|
|
87
|
-
strokeLinejoin='round'
|
|
88
|
-
/>
|
|
89
|
-
<rect
|
|
90
|
-
x={21}
|
|
91
|
-
y={21.5}
|
|
92
|
-
width={6}
|
|
93
|
-
height={7.55245}
|
|
94
|
-
rx={1}
|
|
95
|
-
transform='rotate(-180 21 21.5)'
|
|
96
|
-
stroke='none'
|
|
97
|
-
strokeWidth={1.5}
|
|
98
|
-
/>
|
|
99
|
-
<rect
|
|
100
|
-
x={12}
|
|
101
|
-
y={21.5}
|
|
102
|
-
width={9}
|
|
103
|
-
height={7.55245}
|
|
104
|
-
rx={1}
|
|
105
|
-
transform='rotate(-180 12 21.5)'
|
|
106
|
-
stroke='none'
|
|
107
|
-
strokeWidth={1.5}
|
|
108
|
-
/>
|
|
109
|
-
<path
|
|
110
|
-
d='M16.5 9.5V11L21 7.25L16.5 3.5V5'
|
|
111
|
-
stroke='none'
|
|
112
|
-
strokeWidth={1.5}
|
|
113
|
-
strokeLinecap='round'
|
|
114
|
-
strokeLinejoin='round'
|
|
115
|
-
/>
|
|
116
|
-
</svg>
|
|
117
|
-
)
|
|
118
|
-
break
|
|
119
|
-
default:
|
|
120
|
-
break
|
|
121
|
-
}
|
|
122
|
-
return icon
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export default DynamicWorkspaceIcon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
|
|
4
|
+
const DynamicWorkspaceIcon = ({ color = 'green', size = 'normal', tip = '' }) => {
|
|
5
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
+
let icon = (
|
|
7
|
+
<svg
|
|
8
|
+
width={40}
|
|
9
|
+
height={40}
|
|
10
|
+
viewBox='0 0 40 40'
|
|
11
|
+
fill='none'
|
|
12
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
13
|
+
className={className}
|
|
14
|
+
data-tip={tip}
|
|
15
|
+
>
|
|
16
|
+
<rect
|
|
17
|
+
x={5}
|
|
18
|
+
y={5}
|
|
19
|
+
width={10}
|
|
20
|
+
height={12.5874}
|
|
21
|
+
rx={1}
|
|
22
|
+
stroke='none'
|
|
23
|
+
strokeWidth={2}
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
d='M20 5L27.5 11.25L20 17.5V5Z'
|
|
27
|
+
stroke='none'
|
|
28
|
+
strokeWidth={2}
|
|
29
|
+
strokeLinecap='round'
|
|
30
|
+
strokeLinejoin='round'
|
|
31
|
+
/>
|
|
32
|
+
<rect
|
|
33
|
+
x={35}
|
|
34
|
+
y={35}
|
|
35
|
+
width={10}
|
|
36
|
+
height={12.5874}
|
|
37
|
+
rx={1}
|
|
38
|
+
transform='rotate(-180 35 35)'
|
|
39
|
+
stroke='none'
|
|
40
|
+
strokeWidth={2}
|
|
41
|
+
/>
|
|
42
|
+
<rect
|
|
43
|
+
x={20}
|
|
44
|
+
y={35}
|
|
45
|
+
width={15}
|
|
46
|
+
height={12.5874}
|
|
47
|
+
rx={1}
|
|
48
|
+
transform='rotate(-180 20 35)'
|
|
49
|
+
stroke='none'
|
|
50
|
+
strokeWidth={2}
|
|
51
|
+
/>
|
|
52
|
+
<path
|
|
53
|
+
d='M27.5 15V17.5L35 11.25L27.5 5V7.5'
|
|
54
|
+
stroke='none'
|
|
55
|
+
strokeWidth={2}
|
|
56
|
+
strokeLinecap='round'
|
|
57
|
+
strokeLinejoin='round'
|
|
58
|
+
/>
|
|
59
|
+
</svg>
|
|
60
|
+
)
|
|
61
|
+
switch (size) {
|
|
62
|
+
case 'small':
|
|
63
|
+
icon = (
|
|
64
|
+
<svg
|
|
65
|
+
width={24}
|
|
66
|
+
height={25}
|
|
67
|
+
viewBox='0 0 24 25'
|
|
68
|
+
fill='none'
|
|
69
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
70
|
+
className={className}
|
|
71
|
+
data-tip={tip}
|
|
72
|
+
>
|
|
73
|
+
<rect
|
|
74
|
+
x={3}
|
|
75
|
+
y={3.5}
|
|
76
|
+
width={6}
|
|
77
|
+
height={7.55245}
|
|
78
|
+
rx={1}
|
|
79
|
+
stroke='none'
|
|
80
|
+
strokeWidth={1.5}
|
|
81
|
+
/>
|
|
82
|
+
<path
|
|
83
|
+
d='M12 3.5L16.5 7.25L12 11V3.5Z'
|
|
84
|
+
stroke='none'
|
|
85
|
+
strokeWidth={1.5}
|
|
86
|
+
strokeLinecap='round'
|
|
87
|
+
strokeLinejoin='round'
|
|
88
|
+
/>
|
|
89
|
+
<rect
|
|
90
|
+
x={21}
|
|
91
|
+
y={21.5}
|
|
92
|
+
width={6}
|
|
93
|
+
height={7.55245}
|
|
94
|
+
rx={1}
|
|
95
|
+
transform='rotate(-180 21 21.5)'
|
|
96
|
+
stroke='none'
|
|
97
|
+
strokeWidth={1.5}
|
|
98
|
+
/>
|
|
99
|
+
<rect
|
|
100
|
+
x={12}
|
|
101
|
+
y={21.5}
|
|
102
|
+
width={9}
|
|
103
|
+
height={7.55245}
|
|
104
|
+
rx={1}
|
|
105
|
+
transform='rotate(-180 12 21.5)'
|
|
106
|
+
stroke='none'
|
|
107
|
+
strokeWidth={1.5}
|
|
108
|
+
/>
|
|
109
|
+
<path
|
|
110
|
+
d='M16.5 9.5V11L21 7.25L16.5 3.5V5'
|
|
111
|
+
stroke='none'
|
|
112
|
+
strokeWidth={1.5}
|
|
113
|
+
strokeLinecap='round'
|
|
114
|
+
strokeLinejoin='round'
|
|
115
|
+
/>
|
|
116
|
+
</svg>
|
|
117
|
+
)
|
|
118
|
+
break
|
|
119
|
+
default:
|
|
120
|
+
break
|
|
121
|
+
}
|
|
122
|
+
return icon
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export default DynamicWorkspaceIcon
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
|
|
4
|
+
const EditIcon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
+
let icon = <></>
|
|
7
|
+
switch (size) {
|
|
8
|
+
case 'small':
|
|
9
|
+
icon = (
|
|
10
|
+
<svg width={16} height={16} viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg' className={className}>
|
|
11
|
+
<rect
|
|
12
|
+
x={10.0554}
|
|
13
|
+
y={4.50607}
|
|
14
|
+
width={2.11765}
|
|
15
|
+
height={7.76471}
|
|
16
|
+
transform='rotate(45 10.0554 4.50607)'
|
|
17
|
+
stroke='none'
|
|
18
|
+
strokeLinejoin='round'
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
d='M6.06234 11.4939L4.56494 9.99654L3.81624 12.2426L6.06234 11.4939Z'
|
|
22
|
+
stroke='none'
|
|
23
|
+
strokeLinejoin='round'
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
d='M10.8456 3.71577C11.2362 3.32525 11.8693 3.32525 12.2598 3.71577L12.343 3.79896C12.7336 4.18949 12.7336 4.82265 12.343 5.21318L11.5527 6.00347L10.0553 4.50607L10.8456 3.71577Z'
|
|
27
|
+
stroke='none'
|
|
28
|
+
/>
|
|
29
|
+
</svg>
|
|
30
|
+
)
|
|
31
|
+
break
|
|
32
|
+
default:
|
|
33
|
+
break
|
|
34
|
+
}
|
|
35
|
+
return icon
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export default EditIcon
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
const GearIcon = ({ color = 'green', size = 'normal' }) => {
|
|
4
|
-
const className = styles[`${color}`]
|
|
5
|
-
let dimension = 33
|
|
6
|
-
switch (size) {
|
|
7
|
-
case 'small':
|
|
8
|
-
dimension = 16
|
|
9
|
-
break
|
|
10
|
-
default:
|
|
11
|
-
break
|
|
12
|
-
}
|
|
13
|
-
return (
|
|
14
|
-
<svg
|
|
15
|
-
width={dimension}
|
|
16
|
-
height={dimension}
|
|
17
|
-
viewBox='0 0 33 32'
|
|
18
|
-
fill='none'
|
|
19
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
20
|
-
className={className}
|
|
21
|
-
>
|
|
22
|
-
<path
|
|
23
|
-
d='M16.5016 20.6575C19.011 20.6575 21.0452 18.6574 21.0452 16.1901C21.0452 13.7228 19.011 11.7227 16.5016 11.7227C13.9922 11.7227 11.958 13.7228 11.958 16.1901C11.958 18.6574 13.9922 20.6575 16.5016 20.6575Z'
|
|
24
|
-
stroke='none'
|
|
25
|
-
strokeWidth={1.5}
|
|
26
|
-
strokeLinecap='round'
|
|
27
|
-
strokeLinejoin='round'
|
|
28
|
-
/>
|
|
29
|
-
<path
|
|
30
|
-
d='M18.9391 4.69606V6.21219C18.9391 6.50074 19.1219 6.76144 19.3974 6.86269L21.3641 7.59418C21.6318 7.69289 21.9356 7.62455 22.1312 7.417L23.076 6.41974C23.354 6.12613 23.8277 6.1236 24.1083 6.41721L26.3891 8.79139C26.6439 9.05716 26.6465 9.46973 26.3968 9.73803L25.1818 11.0491C24.9887 11.2567 24.9423 11.5579 25.0633 11.811L25.8871 13.5575C26.003 13.803 26.2552 13.9625 26.5307 13.9625H27.7921C28.1834 13.9625 28.5 14.2738 28.5 14.6585V17.5895C28.5 17.9743 28.1834 18.2856 27.7921 18.2856H26.4663C26.16 18.2856 25.8871 18.4805 25.7919 18.7665L25.1225 20.7838C25.0427 21.0217 25.0994 21.2824 25.2719 21.4672L26.3608 22.6492C26.6259 22.9378 26.6002 23.3858 26.3016 23.6414L23.7916 25.8005C23.5033 26.0485 23.0657 26.0257 22.8057 25.7498L21.9304 24.8235C21.7399 24.621 21.4439 24.5476 21.1788 24.6387L19.351 25.2664C19.0653 25.3651 18.8748 25.6283 18.8748 25.9245V27.3039C18.8748 27.6887 18.5581 28 18.1668 28H14.8306C14.4393 28 14.1227 27.6887 14.1227 27.3039V25.9245C14.1227 25.6283 13.9322 25.3651 13.6464 25.2664L11.8187 24.6387C11.5535 24.5476 11.2575 24.6184 11.067 24.8235L10.1917 25.7498C9.93173 26.0257 9.4941 26.0485 9.20578 25.8005L6.69586 23.6414C6.39724 23.3858 6.3715 22.9378 6.63665 22.6492L7.72557 21.4672C7.89547 21.2824 7.95211 21.0217 7.87488 20.7838L7.20557 18.7665C7.11032 18.4805 6.83745 18.2856 6.53111 18.2856H5.20793C4.81664 18.2856 4.5 17.9743 4.5 17.5895V14.6585C4.5 14.2738 4.81664 13.9625 5.20793 13.9625H6.46932C6.74477 13.9625 6.99705 13.8055 7.11289 13.5575L7.93666 11.811C8.05765 11.5554 8.00874 11.2567 7.81825 11.0491L6.60319 9.73803C6.35348 9.46973 6.35605 9.05463 6.61091 8.79139L8.89172 6.41721C9.17232 6.12613 9.64598 6.12613 9.92401 6.41974L10.8688 7.417C11.0644 7.62455 11.3682 7.69289 11.6359 7.59418L13.6026 6.86269C13.8781 6.76144 14.0609 6.50074 14.0609 6.21219V4.69606C14.0609 4.31133 14.3775 4 14.7688 4H18.2312C18.6225 4 18.9391 4.31133 18.9391 4.69606Z'
|
|
31
|
-
stroke='none'
|
|
32
|
-
strokeWidth={1.5}
|
|
33
|
-
strokeLinecap='round'
|
|
34
|
-
strokeLinejoin='round'
|
|
35
|
-
/>
|
|
36
|
-
</svg>
|
|
37
|
-
)
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export default GearIcon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
const GearIcon = ({ color = 'green', size = 'normal' }) => {
|
|
4
|
+
const className = styles[`${color}`]
|
|
5
|
+
let dimension = 33
|
|
6
|
+
switch (size) {
|
|
7
|
+
case 'small':
|
|
8
|
+
dimension = 16
|
|
9
|
+
break
|
|
10
|
+
default:
|
|
11
|
+
break
|
|
12
|
+
}
|
|
13
|
+
return (
|
|
14
|
+
<svg
|
|
15
|
+
width={dimension}
|
|
16
|
+
height={dimension}
|
|
17
|
+
viewBox='0 0 33 32'
|
|
18
|
+
fill='none'
|
|
19
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
20
|
+
className={className}
|
|
21
|
+
>
|
|
22
|
+
<path
|
|
23
|
+
d='M16.5016 20.6575C19.011 20.6575 21.0452 18.6574 21.0452 16.1901C21.0452 13.7228 19.011 11.7227 16.5016 11.7227C13.9922 11.7227 11.958 13.7228 11.958 16.1901C11.958 18.6574 13.9922 20.6575 16.5016 20.6575Z'
|
|
24
|
+
stroke='none'
|
|
25
|
+
strokeWidth={1.5}
|
|
26
|
+
strokeLinecap='round'
|
|
27
|
+
strokeLinejoin='round'
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
d='M18.9391 4.69606V6.21219C18.9391 6.50074 19.1219 6.76144 19.3974 6.86269L21.3641 7.59418C21.6318 7.69289 21.9356 7.62455 22.1312 7.417L23.076 6.41974C23.354 6.12613 23.8277 6.1236 24.1083 6.41721L26.3891 8.79139C26.6439 9.05716 26.6465 9.46973 26.3968 9.73803L25.1818 11.0491C24.9887 11.2567 24.9423 11.5579 25.0633 11.811L25.8871 13.5575C26.003 13.803 26.2552 13.9625 26.5307 13.9625H27.7921C28.1834 13.9625 28.5 14.2738 28.5 14.6585V17.5895C28.5 17.9743 28.1834 18.2856 27.7921 18.2856H26.4663C26.16 18.2856 25.8871 18.4805 25.7919 18.7665L25.1225 20.7838C25.0427 21.0217 25.0994 21.2824 25.2719 21.4672L26.3608 22.6492C26.6259 22.9378 26.6002 23.3858 26.3016 23.6414L23.7916 25.8005C23.5033 26.0485 23.0657 26.0257 22.8057 25.7498L21.9304 24.8235C21.7399 24.621 21.4439 24.5476 21.1788 24.6387L19.351 25.2664C19.0653 25.3651 18.8748 25.6283 18.8748 25.9245V27.3039C18.8748 27.6887 18.5581 28 18.1668 28H14.8306C14.4393 28 14.1227 27.6887 14.1227 27.3039V25.9245C14.1227 25.6283 13.9322 25.3651 13.6464 25.2664L11.8187 24.6387C11.5535 24.5476 11.2575 24.6184 11.067 24.8235L10.1917 25.7498C9.93173 26.0257 9.4941 26.0485 9.20578 25.8005L6.69586 23.6414C6.39724 23.3858 6.3715 22.9378 6.63665 22.6492L7.72557 21.4672C7.89547 21.2824 7.95211 21.0217 7.87488 20.7838L7.20557 18.7665C7.11032 18.4805 6.83745 18.2856 6.53111 18.2856H5.20793C4.81664 18.2856 4.5 17.9743 4.5 17.5895V14.6585C4.5 14.2738 4.81664 13.9625 5.20793 13.9625H6.46932C6.74477 13.9625 6.99705 13.8055 7.11289 13.5575L7.93666 11.811C8.05765 11.5554 8.00874 11.2567 7.81825 11.0491L6.60319 9.73803C6.35348 9.46973 6.35605 9.05463 6.61091 8.79139L8.89172 6.41721C9.17232 6.12613 9.64598 6.12613 9.92401 6.41974L10.8688 7.417C11.0644 7.62455 11.3682 7.69289 11.6359 7.59418L13.6026 6.86269C13.8781 6.76144 14.0609 6.50074 14.0609 6.21219V4.69606C14.0609 4.31133 14.3775 4 14.7688 4H18.2312C18.6225 4 18.9391 4.31133 18.9391 4.69606Z'
|
|
31
|
+
stroke='none'
|
|
32
|
+
strokeWidth={1.5}
|
|
33
|
+
strokeLinecap='round'
|
|
34
|
+
strokeLinejoin='round'
|
|
35
|
+
/>
|
|
36
|
+
</svg>
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export default GearIcon
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
.green > circle,
|
|
2
|
-
.green > rect,
|
|
3
|
-
.green > path {
|
|
4
|
-
@apply stroke-main-green;
|
|
5
|
-
}
|
|
6
|
-
.red > circle,
|
|
7
|
-
.red > rect,
|
|
8
|
-
.red > path {
|
|
9
|
-
@apply stroke-error-red;
|
|
10
|
-
}
|
|
11
|
-
.white > circle,
|
|
12
|
-
.white > rect,
|
|
13
|
-
.white > path {
|
|
14
|
-
@apply stroke-white;
|
|
15
|
-
}
|
|
16
|
-
.main-dark-blue > circle,
|
|
17
|
-
.main-dark-blue > rect,
|
|
18
|
-
.main-dark-blue > path {
|
|
19
|
-
@apply stroke-main-dark-blue;
|
|
20
|
-
}
|
|
21
|
-
.fill-circle-green > circle {
|
|
22
|
-
@apply fill-white;
|
|
23
|
-
}
|
|
24
|
-
.fill-circle-main-dark-blue > circle {
|
|
25
|
-
@apply fill-main-dark-blue;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.noShrinkForFlex {
|
|
29
|
-
@apply shrink-0
|
|
1
|
+
.green > circle,
|
|
2
|
+
.green > rect,
|
|
3
|
+
.green > path {
|
|
4
|
+
@apply stroke-main-green;
|
|
5
|
+
}
|
|
6
|
+
.red > circle,
|
|
7
|
+
.red > rect,
|
|
8
|
+
.red > path {
|
|
9
|
+
@apply stroke-error-red;
|
|
10
|
+
}
|
|
11
|
+
.white > circle,
|
|
12
|
+
.white > rect,
|
|
13
|
+
.white > path {
|
|
14
|
+
@apply stroke-white;
|
|
15
|
+
}
|
|
16
|
+
.main-dark-blue > circle,
|
|
17
|
+
.main-dark-blue > rect,
|
|
18
|
+
.main-dark-blue > path {
|
|
19
|
+
@apply stroke-main-dark-blue;
|
|
20
|
+
}
|
|
21
|
+
.fill-circle-green > circle {
|
|
22
|
+
@apply fill-white;
|
|
23
|
+
}
|
|
24
|
+
.fill-circle-main-dark-blue > circle {
|
|
25
|
+
@apply fill-main-dark-blue;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.noShrinkForFlex {
|
|
29
|
+
@apply shrink-0
|
|
30
30
|
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
const LiveIcon = ({ color = 'green', size = 'normal' }) => {
|
|
4
|
-
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
5
|
-
let icon = <></>
|
|
6
|
-
switch (size) {
|
|
7
|
-
case 'small':
|
|
8
|
-
icon = (
|
|
9
|
-
<svg
|
|
10
|
-
width={16}
|
|
11
|
-
height={16}
|
|
12
|
-
viewBox='0 0 16 16'
|
|
13
|
-
fill='none'
|
|
14
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
15
|
-
className={className}
|
|
16
|
-
>
|
|
17
|
-
<circle cx={8} cy={8.75137} r={1.5} fill='none' />
|
|
18
|
-
<path
|
|
19
|
-
d='M6 6.51529C5.38625 7.06461 5 7.8629 5 8.7514C5 9.6399 5.38625 10.4382 6 10.9875M10 6.51529C10.6137 7.06461 11 7.8629 11 8.7514C11 9.6399 10.6137 10.4382 10 10.9875'
|
|
20
|
-
stroke='none'
|
|
21
|
-
strokeLinecap='round'
|
|
22
|
-
strokeLinejoin='round'
|
|
23
|
-
/>
|
|
24
|
-
<path
|
|
25
|
-
d='M11 5.39722C11.9206 6.2212 12.5 7.41863 12.5 8.75138C12.5 10.0841 11.9206 11.2816 11 12.1055M5 5.39722C4.07938 6.2212 3.5 7.41863 3.5 8.75138C3.5 10.0841 4.07938 11.2816 5 12.1055'
|
|
26
|
-
stroke='none'
|
|
27
|
-
strokeLinecap='round'
|
|
28
|
-
/>
|
|
29
|
-
<path
|
|
30
|
-
d='M12 4.27916C13.2275 5.3778 14 6.97437 14 8.75137C14 10.6328 13.134 12.312 11.779 13.412M4.33558 4C2.91494 5.09726 2 6.81747 2 8.75137C2 10.5434 2.78563 12.152 4.03126 13.2514'
|
|
31
|
-
stroke='none'
|
|
32
|
-
strokeLinecap='round'
|
|
33
|
-
/>
|
|
34
|
-
</svg>
|
|
35
|
-
)
|
|
36
|
-
break
|
|
37
|
-
default:
|
|
38
|
-
break
|
|
39
|
-
}
|
|
40
|
-
return icon
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export default LiveIcon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
const LiveIcon = ({ color = 'green', size = 'normal' }) => {
|
|
4
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
5
|
+
let icon = <></>
|
|
6
|
+
switch (size) {
|
|
7
|
+
case 'small':
|
|
8
|
+
icon = (
|
|
9
|
+
<svg
|
|
10
|
+
width={16}
|
|
11
|
+
height={16}
|
|
12
|
+
viewBox='0 0 16 16'
|
|
13
|
+
fill='none'
|
|
14
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
15
|
+
className={className}
|
|
16
|
+
>
|
|
17
|
+
<circle cx={8} cy={8.75137} r={1.5} fill='none' />
|
|
18
|
+
<path
|
|
19
|
+
d='M6 6.51529C5.38625 7.06461 5 7.8629 5 8.7514C5 9.6399 5.38625 10.4382 6 10.9875M10 6.51529C10.6137 7.06461 11 7.8629 11 8.7514C11 9.6399 10.6137 10.4382 10 10.9875'
|
|
20
|
+
stroke='none'
|
|
21
|
+
strokeLinecap='round'
|
|
22
|
+
strokeLinejoin='round'
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
d='M11 5.39722C11.9206 6.2212 12.5 7.41863 12.5 8.75138C12.5 10.0841 11.9206 11.2816 11 12.1055M5 5.39722C4.07938 6.2212 3.5 7.41863 3.5 8.75138C3.5 10.0841 4.07938 11.2816 5 12.1055'
|
|
26
|
+
stroke='none'
|
|
27
|
+
strokeLinecap='round'
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
d='M12 4.27916C13.2275 5.3778 14 6.97437 14 8.75137C14 10.6328 13.134 12.312 11.779 13.412M4.33558 4C2.91494 5.09726 2 6.81747 2 8.75137C2 10.5434 2.78563 12.152 4.03126 13.2514'
|
|
31
|
+
stroke='none'
|
|
32
|
+
strokeLinecap='round'
|
|
33
|
+
/>
|
|
34
|
+
</svg>
|
|
35
|
+
)
|
|
36
|
+
break
|
|
37
|
+
default:
|
|
38
|
+
break
|
|
39
|
+
}
|
|
40
|
+
return icon
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export default LiveIcon
|