@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,38 +1,38 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
export default function
|
|
3
|
-
return (
|
|
4
|
-
<svg
|
|
5
|
-
width={32}
|
|
6
|
-
height={33}
|
|
7
|
-
viewBox='0 0 32 33'
|
|
8
|
-
fill='none'
|
|
9
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
10
|
-
>
|
|
11
|
-
<path
|
|
12
|
-
d='M12 6.75317H5C4.44772 6.75317 4 7.20089 4 7.75317V21.1132C4 21.6655 4.44772 22.1132 5 22.1132H27C27.5523 22.1132 28 21.6655 28 21.1132V7.75317C28 7.20089 27.5523 6.75317 27 6.75317H20'
|
|
13
|
-
stroke='#00283D'
|
|
14
|
-
strokeWidth={2}
|
|
15
|
-
strokeLinecap='round'
|
|
16
|
-
/>
|
|
17
|
-
<rect
|
|
18
|
-
x={12}
|
|
19
|
-
y={22.1133}
|
|
20
|
-
width={8}
|
|
21
|
-
height={3.84}
|
|
22
|
-
stroke='#00283D'
|
|
23
|
-
strokeWidth={2}
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
d='M8 26.9534C8 26.4011 8.44772 25.9534 9 25.9534H23C23.5523 25.9534 24 26.4011 24 26.9534V28.8334H8V26.9534Z'
|
|
27
|
-
stroke='#00283D'
|
|
28
|
-
strokeWidth={2}
|
|
29
|
-
/>
|
|
30
|
-
<path
|
|
31
|
-
d='M16 4.83325L17.7961 10.14H23.6085L18.9062 13.4198L20.7023 18.7265L16 15.4468L11.2977 18.7265L13.0938 13.4198L8.39155 10.14H14.2039L16 4.83325Z'
|
|
32
|
-
stroke='#00283D'
|
|
33
|
-
strokeWidth={2}
|
|
34
|
-
strokeLinejoin='round'
|
|
35
|
-
/>
|
|
36
|
-
</svg>
|
|
37
|
-
)
|
|
38
|
-
}
|
|
1
|
+
import React from 'react'
|
|
2
|
+
export default function AppIcon () {
|
|
3
|
+
return (
|
|
4
|
+
<svg
|
|
5
|
+
width={32}
|
|
6
|
+
height={33}
|
|
7
|
+
viewBox='0 0 32 33'
|
|
8
|
+
fill='none'
|
|
9
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
10
|
+
>
|
|
11
|
+
<path
|
|
12
|
+
d='M12 6.75317H5C4.44772 6.75317 4 7.20089 4 7.75317V21.1132C4 21.6655 4.44772 22.1132 5 22.1132H27C27.5523 22.1132 28 21.6655 28 21.1132V7.75317C28 7.20089 27.5523 6.75317 27 6.75317H20'
|
|
13
|
+
stroke='#00283D'
|
|
14
|
+
strokeWidth={2}
|
|
15
|
+
strokeLinecap='round'
|
|
16
|
+
/>
|
|
17
|
+
<rect
|
|
18
|
+
x={12}
|
|
19
|
+
y={22.1133}
|
|
20
|
+
width={8}
|
|
21
|
+
height={3.84}
|
|
22
|
+
stroke='#00283D'
|
|
23
|
+
strokeWidth={2}
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
d='M8 26.9534C8 26.4011 8.44772 25.9534 9 25.9534H23C23.5523 25.9534 24 26.4011 24 26.9534V28.8334H8V26.9534Z'
|
|
27
|
+
stroke='#00283D'
|
|
28
|
+
strokeWidth={2}
|
|
29
|
+
/>
|
|
30
|
+
<path
|
|
31
|
+
d='M16 4.83325L17.7961 10.14H23.6085L18.9062 13.4198L20.7023 18.7265L16 15.4468L11.2977 18.7265L13.0938 13.4198L8.39155 10.14H14.2039L16 4.83325Z'
|
|
32
|
+
stroke='#00283D'
|
|
33
|
+
strokeWidth={2}
|
|
34
|
+
strokeLinejoin='round'
|
|
35
|
+
/>
|
|
36
|
+
</svg>
|
|
37
|
+
)
|
|
38
|
+
}
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
export default function AppListIcon ({ color = 'white' }) {
|
|
4
|
-
const className = styles[`${color}`]
|
|
5
|
-
return (
|
|
6
|
-
<svg
|
|
7
|
-
width={49}
|
|
8
|
-
height={67}
|
|
9
|
-
viewBox='0 0 49 67'
|
|
10
|
-
fill='none'
|
|
11
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
12
|
-
className={className}
|
|
13
|
-
>
|
|
14
|
-
<path
|
|
15
|
-
d='M19.6628 38.0801H11.9961C11.4438 38.0801 10.9961 38.5278 10.9961 39.0801V53.7201C10.9961 54.2724 11.4438 54.7201 11.9961 54.7201H35.9961C36.5484 54.7201 36.9961 54.2724 36.9961 53.7201V39.0801C36.9961 38.5278 36.5484 38.0801 35.9961 38.0801H28.3294'
|
|
16
|
-
stroke='none'
|
|
17
|
-
strokeWidth={2}
|
|
18
|
-
strokeLinecap='round'
|
|
19
|
-
/>
|
|
20
|
-
<rect
|
|
21
|
-
x={19.6631}
|
|
22
|
-
y={54.72}
|
|
23
|
-
width={8.66667}
|
|
24
|
-
height={4.16}
|
|
25
|
-
stroke='white'
|
|
26
|
-
strokeWidth={2}
|
|
27
|
-
/>
|
|
28
|
-
<path
|
|
29
|
-
d='M15.3291 59.8799C15.3291 59.3276 15.7768 58.8799 16.3291 58.8799H31.6624C32.2147 58.8799 32.6624 59.3276 32.6624 59.8799V61.9999H15.3291V59.8799Z'
|
|
30
|
-
stroke='white'
|
|
31
|
-
strokeWidth={2}
|
|
32
|
-
/>
|
|
33
|
-
<path
|
|
34
|
-
d='M23.9958 36L25.9416 41.749H32.2383L27.1441 45.302L29.0899 51.051L23.9958 47.498L18.9016 51.051L20.8474 45.302L15.7533 41.749H22.05L23.9958 36Z'
|
|
35
|
-
stroke='white'
|
|
36
|
-
strokeWidth={2}
|
|
37
|
-
strokeLinejoin='round'
|
|
38
|
-
/>
|
|
39
|
-
<path
|
|
40
|
-
d='M20.9961 34H15.9961V25H13.9961'
|
|
41
|
-
stroke='white'
|
|
42
|
-
strokeWidth={2}
|
|
43
|
-
strokeLinecap='round'
|
|
44
|
-
strokeLinejoin='round'
|
|
45
|
-
/>
|
|
46
|
-
<path
|
|
47
|
-
d='M19.9961 29.5V9'
|
|
48
|
-
stroke='white'
|
|
49
|
-
strokeWidth={2}
|
|
50
|
-
strokeLinecap='round'
|
|
51
|
-
strokeLinejoin='round'
|
|
52
|
-
/>
|
|
53
|
-
<path
|
|
54
|
-
d='M27.9961 35H32V27H38.9961V19'
|
|
55
|
-
stroke='white'
|
|
56
|
-
strokeWidth={2}
|
|
57
|
-
strokeLinecap='round'
|
|
58
|
-
strokeLinejoin='round'
|
|
59
|
-
/>
|
|
60
|
-
<path
|
|
61
|
-
d='M26 31.5V22H30.9961V14.5'
|
|
62
|
-
stroke='white'
|
|
63
|
-
strokeWidth={2}
|
|
64
|
-
strokeLinecap='round'
|
|
65
|
-
strokeLinejoin='round'
|
|
66
|
-
/>
|
|
67
|
-
<circle cx={11.9961} cy={25} r={2} stroke='white' strokeWidth={2} />
|
|
68
|
-
<circle cx={19.9961} cy={7} r={2} stroke='white' strokeWidth={2} />
|
|
69
|
-
<circle cx={30.9961} cy={12} r={2} stroke='white' strokeWidth={2} />
|
|
70
|
-
<circle cx={38.9961} cy={17} r={2} stroke='white' strokeWidth={2} />
|
|
71
|
-
</svg>
|
|
72
|
-
)
|
|
73
|
-
}
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
export default function AppListIcon ({ color = 'white' }) {
|
|
4
|
+
const className = styles[`${color}`]
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
width={49}
|
|
8
|
+
height={67}
|
|
9
|
+
viewBox='0 0 49 67'
|
|
10
|
+
fill='none'
|
|
11
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
12
|
+
className={className}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
d='M19.6628 38.0801H11.9961C11.4438 38.0801 10.9961 38.5278 10.9961 39.0801V53.7201C10.9961 54.2724 11.4438 54.7201 11.9961 54.7201H35.9961C36.5484 54.7201 36.9961 54.2724 36.9961 53.7201V39.0801C36.9961 38.5278 36.5484 38.0801 35.9961 38.0801H28.3294'
|
|
16
|
+
stroke='none'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
strokeLinecap='round'
|
|
19
|
+
/>
|
|
20
|
+
<rect
|
|
21
|
+
x={19.6631}
|
|
22
|
+
y={54.72}
|
|
23
|
+
width={8.66667}
|
|
24
|
+
height={4.16}
|
|
25
|
+
stroke='white'
|
|
26
|
+
strokeWidth={2}
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
d='M15.3291 59.8799C15.3291 59.3276 15.7768 58.8799 16.3291 58.8799H31.6624C32.2147 58.8799 32.6624 59.3276 32.6624 59.8799V61.9999H15.3291V59.8799Z'
|
|
30
|
+
stroke='white'
|
|
31
|
+
strokeWidth={2}
|
|
32
|
+
/>
|
|
33
|
+
<path
|
|
34
|
+
d='M23.9958 36L25.9416 41.749H32.2383L27.1441 45.302L29.0899 51.051L23.9958 47.498L18.9016 51.051L20.8474 45.302L15.7533 41.749H22.05L23.9958 36Z'
|
|
35
|
+
stroke='white'
|
|
36
|
+
strokeWidth={2}
|
|
37
|
+
strokeLinejoin='round'
|
|
38
|
+
/>
|
|
39
|
+
<path
|
|
40
|
+
d='M20.9961 34H15.9961V25H13.9961'
|
|
41
|
+
stroke='white'
|
|
42
|
+
strokeWidth={2}
|
|
43
|
+
strokeLinecap='round'
|
|
44
|
+
strokeLinejoin='round'
|
|
45
|
+
/>
|
|
46
|
+
<path
|
|
47
|
+
d='M19.9961 29.5V9'
|
|
48
|
+
stroke='white'
|
|
49
|
+
strokeWidth={2}
|
|
50
|
+
strokeLinecap='round'
|
|
51
|
+
strokeLinejoin='round'
|
|
52
|
+
/>
|
|
53
|
+
<path
|
|
54
|
+
d='M27.9961 35H32V27H38.9961V19'
|
|
55
|
+
stroke='white'
|
|
56
|
+
strokeWidth={2}
|
|
57
|
+
strokeLinecap='round'
|
|
58
|
+
strokeLinejoin='round'
|
|
59
|
+
/>
|
|
60
|
+
<path
|
|
61
|
+
d='M26 31.5V22H30.9961V14.5'
|
|
62
|
+
stroke='white'
|
|
63
|
+
strokeWidth={2}
|
|
64
|
+
strokeLinecap='round'
|
|
65
|
+
strokeLinejoin='round'
|
|
66
|
+
/>
|
|
67
|
+
<circle cx={11.9961} cy={25} r={2} stroke='white' strokeWidth={2} />
|
|
68
|
+
<circle cx={19.9961} cy={7} r={2} stroke='white' strokeWidth={2} />
|
|
69
|
+
<circle cx={30.9961} cy={12} r={2} stroke='white' strokeWidth={2} />
|
|
70
|
+
<circle cx={38.9961} cy={17} r={2} stroke='white' strokeWidth={2} />
|
|
71
|
+
</svg>
|
|
72
|
+
)
|
|
73
|
+
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
|
|
4
|
-
const Calendar1Icon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
-
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
-
let icon = <></>
|
|
7
|
-
switch (size) {
|
|
8
|
-
case 'small':
|
|
9
|
-
icon = (
|
|
10
|
-
<svg
|
|
11
|
-
width={16}
|
|
12
|
-
height={16}
|
|
13
|
-
viewBox='0 0 16 16'
|
|
14
|
-
fill='none'
|
|
15
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
-
className={className}
|
|
17
|
-
>
|
|
18
|
-
<rect x={2} y={4} width={12} height={10} rx={1} stroke='none' />
|
|
19
|
-
<path
|
|
20
|
-
d='M2 7H5M14 7H11'
|
|
21
|
-
stroke='none'
|
|
22
|
-
strokeLinecap='round'
|
|
23
|
-
strokeLinejoin='round'
|
|
24
|
-
/>
|
|
25
|
-
<line
|
|
26
|
-
x1={4.5}
|
|
27
|
-
y1={5.5}
|
|
28
|
-
x2={4.5}
|
|
29
|
-
y2={2.5}
|
|
30
|
-
stroke='none'
|
|
31
|
-
strokeLinecap='round'
|
|
32
|
-
/>
|
|
33
|
-
<line
|
|
34
|
-
x1={11.5}
|
|
35
|
-
y1={5.5}
|
|
36
|
-
x2={11.5}
|
|
37
|
-
y2={2.5}
|
|
38
|
-
stroke='none'
|
|
39
|
-
strokeLinecap='round'
|
|
40
|
-
/>
|
|
41
|
-
<path
|
|
42
|
-
d='M7.59712 13V6.5L8.21223 7.09L7.59712 8H7.5L6.5 9V7L7.5 6H9V13H7.59712Z'
|
|
43
|
-
fill='none'
|
|
44
|
-
/>
|
|
45
|
-
</svg>
|
|
46
|
-
)
|
|
47
|
-
break
|
|
48
|
-
default:
|
|
49
|
-
break
|
|
50
|
-
}
|
|
51
|
-
return icon
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export default Calendar1Icon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
|
|
4
|
+
const Calendar1Icon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
+
let icon = <></>
|
|
7
|
+
switch (size) {
|
|
8
|
+
case 'small':
|
|
9
|
+
icon = (
|
|
10
|
+
<svg
|
|
11
|
+
width={16}
|
|
12
|
+
height={16}
|
|
13
|
+
viewBox='0 0 16 16'
|
|
14
|
+
fill='none'
|
|
15
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
+
className={className}
|
|
17
|
+
>
|
|
18
|
+
<rect x={2} y={4} width={12} height={10} rx={1} stroke='none' />
|
|
19
|
+
<path
|
|
20
|
+
d='M2 7H5M14 7H11'
|
|
21
|
+
stroke='none'
|
|
22
|
+
strokeLinecap='round'
|
|
23
|
+
strokeLinejoin='round'
|
|
24
|
+
/>
|
|
25
|
+
<line
|
|
26
|
+
x1={4.5}
|
|
27
|
+
y1={5.5}
|
|
28
|
+
x2={4.5}
|
|
29
|
+
y2={2.5}
|
|
30
|
+
stroke='none'
|
|
31
|
+
strokeLinecap='round'
|
|
32
|
+
/>
|
|
33
|
+
<line
|
|
34
|
+
x1={11.5}
|
|
35
|
+
y1={5.5}
|
|
36
|
+
x2={11.5}
|
|
37
|
+
y2={2.5}
|
|
38
|
+
stroke='none'
|
|
39
|
+
strokeLinecap='round'
|
|
40
|
+
/>
|
|
41
|
+
<path
|
|
42
|
+
d='M7.59712 13V6.5L8.21223 7.09L7.59712 8H7.5L6.5 9V7L7.5 6H9V13H7.59712Z'
|
|
43
|
+
fill='none'
|
|
44
|
+
/>
|
|
45
|
+
</svg>
|
|
46
|
+
)
|
|
47
|
+
break
|
|
48
|
+
default:
|
|
49
|
+
break
|
|
50
|
+
}
|
|
51
|
+
return icon
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export default Calendar1Icon
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
|
|
4
|
-
const Calendar7Icon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
-
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
-
let icon = <></>
|
|
7
|
-
switch (size) {
|
|
8
|
-
case 'small':
|
|
9
|
-
icon = (
|
|
10
|
-
<svg
|
|
11
|
-
width={16}
|
|
12
|
-
height={16}
|
|
13
|
-
viewBox='0 0 16 16'
|
|
14
|
-
fill='none'
|
|
15
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
-
className={className}
|
|
17
|
-
>
|
|
18
|
-
<rect x={2} y={4} width={12} height={10} rx={1} stroke='none' />
|
|
19
|
-
|
|
20
|
-
<path
|
|
21
|
-
d='M2 7H4M14 7H12'
|
|
22
|
-
stroke='none'
|
|
23
|
-
strokeLinecap='round'
|
|
24
|
-
strokeLinejoin='round'
|
|
25
|
-
/>
|
|
26
|
-
<line
|
|
27
|
-
x1={4.5}
|
|
28
|
-
y1={5.5}
|
|
29
|
-
x2={4.5}
|
|
30
|
-
y2={2.5}
|
|
31
|
-
stroke='none'
|
|
32
|
-
strokeLinecap='round'
|
|
33
|
-
/>
|
|
34
|
-
<line
|
|
35
|
-
x1={11.5}
|
|
36
|
-
y1={5.5}
|
|
37
|
-
x2={11.5}
|
|
38
|
-
y2={2.5}
|
|
39
|
-
stroke='none'
|
|
40
|
-
strokeLinecap='round'
|
|
41
|
-
/>
|
|
42
|
-
<path
|
|
43
|
-
d='M6.46691 13L9.65441 6.52L10.0294 7.1H5.65074L6.33456 6.47V8.29H5V6H11V6.87L8 13H6.46691Z'
|
|
44
|
-
fill='none'
|
|
45
|
-
/>
|
|
46
|
-
</svg>
|
|
47
|
-
)
|
|
48
|
-
break
|
|
49
|
-
default:
|
|
50
|
-
break
|
|
51
|
-
}
|
|
52
|
-
return icon
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export default Calendar7Icon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
|
|
4
|
+
const Calendar7Icon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
+
let icon = <></>
|
|
7
|
+
switch (size) {
|
|
8
|
+
case 'small':
|
|
9
|
+
icon = (
|
|
10
|
+
<svg
|
|
11
|
+
width={16}
|
|
12
|
+
height={16}
|
|
13
|
+
viewBox='0 0 16 16'
|
|
14
|
+
fill='none'
|
|
15
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
+
className={className}
|
|
17
|
+
>
|
|
18
|
+
<rect x={2} y={4} width={12} height={10} rx={1} stroke='none' />
|
|
19
|
+
|
|
20
|
+
<path
|
|
21
|
+
d='M2 7H4M14 7H12'
|
|
22
|
+
stroke='none'
|
|
23
|
+
strokeLinecap='round'
|
|
24
|
+
strokeLinejoin='round'
|
|
25
|
+
/>
|
|
26
|
+
<line
|
|
27
|
+
x1={4.5}
|
|
28
|
+
y1={5.5}
|
|
29
|
+
x2={4.5}
|
|
30
|
+
y2={2.5}
|
|
31
|
+
stroke='none'
|
|
32
|
+
strokeLinecap='round'
|
|
33
|
+
/>
|
|
34
|
+
<line
|
|
35
|
+
x1={11.5}
|
|
36
|
+
y1={5.5}
|
|
37
|
+
x2={11.5}
|
|
38
|
+
y2={2.5}
|
|
39
|
+
stroke='none'
|
|
40
|
+
strokeLinecap='round'
|
|
41
|
+
/>
|
|
42
|
+
<path
|
|
43
|
+
d='M6.46691 13L9.65441 6.52L10.0294 7.1H5.65074L6.33456 6.47V8.29H5V6H11V6.87L8 13H6.46691Z'
|
|
44
|
+
fill='none'
|
|
45
|
+
/>
|
|
46
|
+
</svg>
|
|
47
|
+
)
|
|
48
|
+
break
|
|
49
|
+
default:
|
|
50
|
+
break
|
|
51
|
+
}
|
|
52
|
+
return icon
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export default Calendar7Icon
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
|
|
4
|
-
const CalendarIcon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
-
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
-
let icon = <></>
|
|
7
|
-
switch (size) {
|
|
8
|
-
case 'small':
|
|
9
|
-
icon = (
|
|
10
|
-
<svg
|
|
11
|
-
width={16}
|
|
12
|
-
height={16}
|
|
13
|
-
viewBox='0 0 16 16'
|
|
14
|
-
fill='none'
|
|
15
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
-
className={className}
|
|
17
|
-
>
|
|
18
|
-
<rect x={2} y={4} width={12} height={10} rx={1} stroke='none' />
|
|
19
|
-
<path
|
|
20
|
-
d='M2 7H14'
|
|
21
|
-
stroke='none'
|
|
22
|
-
strokeLinecap='round'
|
|
23
|
-
strokeLinejoin='round'
|
|
24
|
-
/>
|
|
25
|
-
<line
|
|
26
|
-
x1={4.5}
|
|
27
|
-
y1={5.5}
|
|
28
|
-
x2={4.5}
|
|
29
|
-
y2={2.5}
|
|
30
|
-
stroke='none'
|
|
31
|
-
strokeLinecap='round'
|
|
32
|
-
/>
|
|
33
|
-
<line
|
|
34
|
-
x1={11.5}
|
|
35
|
-
y1={5.5}
|
|
36
|
-
x2={11.5}
|
|
37
|
-
y2={2.5}
|
|
38
|
-
stroke='none'
|
|
39
|
-
strokeLinecap='round'
|
|
40
|
-
/>
|
|
41
|
-
<rect x={4} y={8} width={2} height={2} rx={0.5} fill='none' />
|
|
42
|
-
<rect x={4} y={11} width={2} height={2} rx={0.5} fill='none' />
|
|
43
|
-
<rect x={7} y={8} width={2} height={2} rx={0.5} fill='none' />
|
|
44
|
-
<rect x={10} y={8} width={2} height={2} rx={0.5} fill='none' />
|
|
45
|
-
<rect x={7} y={11} width={2} height={2} rx={0.5} fill='none' />
|
|
46
|
-
<rect x={10} y={11} width={2} height={2} rx={0.5} fill='none' />
|
|
47
|
-
</svg>
|
|
48
|
-
)
|
|
49
|
-
break
|
|
50
|
-
default:
|
|
51
|
-
break
|
|
52
|
-
}
|
|
53
|
-
return icon
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export default CalendarIcon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
|
|
4
|
+
const CalendarIcon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
+
let icon = <></>
|
|
7
|
+
switch (size) {
|
|
8
|
+
case 'small':
|
|
9
|
+
icon = (
|
|
10
|
+
<svg
|
|
11
|
+
width={16}
|
|
12
|
+
height={16}
|
|
13
|
+
viewBox='0 0 16 16'
|
|
14
|
+
fill='none'
|
|
15
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
+
className={className}
|
|
17
|
+
>
|
|
18
|
+
<rect x={2} y={4} width={12} height={10} rx={1} stroke='none' />
|
|
19
|
+
<path
|
|
20
|
+
d='M2 7H14'
|
|
21
|
+
stroke='none'
|
|
22
|
+
strokeLinecap='round'
|
|
23
|
+
strokeLinejoin='round'
|
|
24
|
+
/>
|
|
25
|
+
<line
|
|
26
|
+
x1={4.5}
|
|
27
|
+
y1={5.5}
|
|
28
|
+
x2={4.5}
|
|
29
|
+
y2={2.5}
|
|
30
|
+
stroke='none'
|
|
31
|
+
strokeLinecap='round'
|
|
32
|
+
/>
|
|
33
|
+
<line
|
|
34
|
+
x1={11.5}
|
|
35
|
+
y1={5.5}
|
|
36
|
+
x2={11.5}
|
|
37
|
+
y2={2.5}
|
|
38
|
+
stroke='none'
|
|
39
|
+
strokeLinecap='round'
|
|
40
|
+
/>
|
|
41
|
+
<rect x={4} y={8} width={2} height={2} rx={0.5} fill='none' />
|
|
42
|
+
<rect x={4} y={11} width={2} height={2} rx={0.5} fill='none' />
|
|
43
|
+
<rect x={7} y={8} width={2} height={2} rx={0.5} fill='none' />
|
|
44
|
+
<rect x={10} y={8} width={2} height={2} rx={0.5} fill='none' />
|
|
45
|
+
<rect x={7} y={11} width={2} height={2} rx={0.5} fill='none' />
|
|
46
|
+
<rect x={10} y={11} width={2} height={2} rx={0.5} fill='none' />
|
|
47
|
+
</svg>
|
|
48
|
+
)
|
|
49
|
+
break
|
|
50
|
+
default:
|
|
51
|
+
break
|
|
52
|
+
}
|
|
53
|
+
return icon
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export default CalendarIcon
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import styles from './Icons.module.css'
|
|
3
|
-
|
|
4
|
-
const CircleAddIcon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
-
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
-
let icon = <></>
|
|
7
|
-
switch (size) {
|
|
8
|
-
case 'small':
|
|
9
|
-
icon = (
|
|
10
|
-
<svg
|
|
11
|
-
width={18}
|
|
12
|
-
height={18}
|
|
13
|
-
viewBox='0 0 18 18'
|
|
14
|
-
fill='none'
|
|
15
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
-
className={className}
|
|
17
|
-
>
|
|
18
|
-
<circle cx={9} cy={9} r={8} stroke='none' />
|
|
19
|
-
<path
|
|
20
|
-
d='M4 9H14'
|
|
21
|
-
stroke='none'
|
|
22
|
-
strokeLinecap='round'
|
|
23
|
-
strokeLinejoin='round'
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
d='M9 14L9 4.00002'
|
|
27
|
-
stroke='none'
|
|
28
|
-
strokeLinecap='round'
|
|
29
|
-
strokeLinejoin='round'
|
|
30
|
-
/>
|
|
31
|
-
</svg>
|
|
32
|
-
)
|
|
33
|
-
break
|
|
34
|
-
default:
|
|
35
|
-
break
|
|
36
|
-
}
|
|
37
|
-
return icon
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export default CircleAddIcon
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import styles from './Icons.module.css'
|
|
3
|
+
|
|
4
|
+
const CircleAddIcon = ({ color = 'green', size = 'normal' }) => {
|
|
5
|
+
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
6
|
+
let icon = <></>
|
|
7
|
+
switch (size) {
|
|
8
|
+
case 'small':
|
|
9
|
+
icon = (
|
|
10
|
+
<svg
|
|
11
|
+
width={18}
|
|
12
|
+
height={18}
|
|
13
|
+
viewBox='0 0 18 18'
|
|
14
|
+
fill='none'
|
|
15
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
16
|
+
className={className}
|
|
17
|
+
>
|
|
18
|
+
<circle cx={9} cy={9} r={8} stroke='none' />
|
|
19
|
+
<path
|
|
20
|
+
d='M4 9H14'
|
|
21
|
+
stroke='none'
|
|
22
|
+
strokeLinecap='round'
|
|
23
|
+
strokeLinejoin='round'
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
d='M9 14L9 4.00002'
|
|
27
|
+
stroke='none'
|
|
28
|
+
strokeLinecap='round'
|
|
29
|
+
strokeLinejoin='round'
|
|
30
|
+
/>
|
|
31
|
+
</svg>
|
|
32
|
+
)
|
|
33
|
+
break
|
|
34
|
+
default:
|
|
35
|
+
break
|
|
36
|
+
}
|
|
37
|
+
return icon
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export default CircleAddIcon
|