@platformatic/ui-components 0.1.51 → 0.1.53
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/README.md +12 -0
- package/dist/main.css +714 -0
- package/package.json +3 -2
- package/src/components/icons/AddIcon.jsx +2 -2
- package/src/components/icons/AlertIcon.jsx +2 -2
- package/src/components/icons/AllInOneIcon.jsx +2 -2
- package/src/components/icons/ApiCloudIcon.jsx +2 -2
- package/src/components/icons/ApiIcon.jsx +2 -2
- package/src/components/icons/AppIcon.jsx +2 -2
- package/src/components/icons/ArrowDownFullIcon.jsx +2 -2
- package/src/components/icons/ArrowDownIcon.jsx +2 -2
- package/src/components/icons/ArrowLeftIcon.jsx +2 -2
- package/src/components/icons/ArrowRightIcon.jsx +2 -2
- package/src/components/icons/ArrowUpIcon.jsx +2 -2
- package/src/components/icons/Calendar1DayIcon.jsx +2 -2
- package/src/components/icons/Calendar7DaysIcon.jsx +2 -2
- package/src/components/icons/CalendarIcon.jsx +2 -2
- package/src/components/icons/CircleAddIcon.jsx +2 -2
- package/src/components/icons/CloseIcon.jsx +2 -2
- package/src/components/icons/CopyPasteIcon.jsx +2 -2
- package/src/components/icons/DatabaseIcon.jsx +2 -2
- package/src/components/icons/EditIcon.jsx +2 -2
- package/src/components/icons/GearIcon.jsx +2 -2
- package/src/components/icons/Users2Icon.jsx +2 -2
- package/src/components/icons/WorkspaceDynamicIcon.jsx +2 -2
- package/src/components/icons/WorkspaceReadyIcon.jsx +2 -2
- package/src/components/icons/WorkspaceStaticIcon.jsx +2 -2
- package/src/stories/PlatformaticIcon.stories.jsx +1 -1
- package/dist/stats.html +0 -6177
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/ui-components",
|
|
3
3
|
"description": "Platformatic UI Components",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.53",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"tailwind": "tailwindcss -i ./src/styles/main.css -o ./dist/main.css",
|
|
19
19
|
"lint": "standard src | snazzy",
|
|
20
20
|
"lint:fix": "standard src --fix",
|
|
21
|
-
"test": "vitest run"
|
|
21
|
+
"test": "vitest run",
|
|
22
|
+
"prepare": "rm -Rf dist; npm run build; npm run tailwind"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
25
|
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
|
@@ -22,7 +22,7 @@ const AddIcon = ({ color, size }) => {
|
|
|
22
22
|
</svg>
|
|
23
23
|
)
|
|
24
24
|
break
|
|
25
|
-
case '
|
|
25
|
+
case 'medium':
|
|
26
26
|
icon = (
|
|
27
27
|
<svg
|
|
28
28
|
width={24}
|
|
@@ -72,7 +72,7 @@ AddIcon.propTypes = {
|
|
|
72
72
|
|
|
73
73
|
AddIcon.defaultProps = {
|
|
74
74
|
color: 'main-dark-blue',
|
|
75
|
-
size: '
|
|
75
|
+
size: 'medium'
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
export default AddIcon
|
|
@@ -23,7 +23,7 @@ const AlertIcon = ({ color, size }) => {
|
|
|
23
23
|
</svg>
|
|
24
24
|
)
|
|
25
25
|
break
|
|
26
|
-
case '
|
|
26
|
+
case 'medium':
|
|
27
27
|
icon = (
|
|
28
28
|
<svg
|
|
29
29
|
width={24}
|
|
@@ -75,7 +75,7 @@ AlertIcon.propTypes = {
|
|
|
75
75
|
|
|
76
76
|
AlertIcon.defaultProps = {
|
|
77
77
|
color: 'red',
|
|
78
|
-
size: '
|
|
78
|
+
size: 'medium'
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export default AlertIcon
|
|
@@ -33,7 +33,7 @@ const AllInOneIcon = ({ color, size }) => {
|
|
|
33
33
|
</svg>
|
|
34
34
|
)
|
|
35
35
|
break
|
|
36
|
-
case '
|
|
36
|
+
case 'medium':
|
|
37
37
|
icon = (
|
|
38
38
|
<svg
|
|
39
39
|
width={24}
|
|
@@ -105,7 +105,7 @@ AllInOneIcon.propTypes = {
|
|
|
105
105
|
|
|
106
106
|
AllInOneIcon.defaultProps = {
|
|
107
107
|
color: 'main-dark-blue',
|
|
108
|
-
size: '
|
|
108
|
+
size: 'medium'
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
export default AllInOneIcon
|
|
@@ -27,7 +27,7 @@ const ApiCloudIcon = ({ color, size }) => {
|
|
|
27
27
|
</svg>
|
|
28
28
|
)
|
|
29
29
|
break
|
|
30
|
-
case '
|
|
30
|
+
case 'medium':
|
|
31
31
|
icon = (
|
|
32
32
|
<svg
|
|
33
33
|
width={24}
|
|
@@ -87,7 +87,7 @@ ApiCloudIcon.propTypes = {
|
|
|
87
87
|
|
|
88
88
|
ApiCloudIcon.defaultProps = {
|
|
89
89
|
color: 'main-dark-blue',
|
|
90
|
-
size: '
|
|
90
|
+
size: 'medium'
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
export default ApiCloudIcon
|
|
@@ -24,7 +24,7 @@ const ApiIcon = ({ color, size }) => {
|
|
|
24
24
|
</svg>
|
|
25
25
|
)
|
|
26
26
|
break
|
|
27
|
-
case '
|
|
27
|
+
case 'medium':
|
|
28
28
|
icon = (
|
|
29
29
|
<svg
|
|
30
30
|
width={24}
|
|
@@ -78,7 +78,7 @@ ApiIcon.propTypes = {
|
|
|
78
78
|
|
|
79
79
|
ApiIcon.defaultProps = {
|
|
80
80
|
color: 'main-dark-blue',
|
|
81
|
-
size: '
|
|
81
|
+
size: 'medium'
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export default ApiIcon
|
|
@@ -25,7 +25,7 @@ const AppIcon = ({ color, size }) => {
|
|
|
25
25
|
</svg>
|
|
26
26
|
)
|
|
27
27
|
break
|
|
28
|
-
case '
|
|
28
|
+
case 'medium':
|
|
29
29
|
icon = (
|
|
30
30
|
<svg
|
|
31
31
|
width={24}
|
|
@@ -79,7 +79,7 @@ AppIcon.propTypes = {
|
|
|
79
79
|
|
|
80
80
|
AppIcon.defaultProps = {
|
|
81
81
|
color: 'main-dark-blue',
|
|
82
|
-
size: '
|
|
82
|
+
size: 'medium'
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
export default AppIcon
|
|
@@ -22,7 +22,7 @@ const ArrowDownFullIcon = ({ color, size }) => {
|
|
|
22
22
|
</svg>
|
|
23
23
|
)
|
|
24
24
|
break
|
|
25
|
-
case '
|
|
25
|
+
case 'medium':
|
|
26
26
|
icon = (
|
|
27
27
|
<svg
|
|
28
28
|
width={24}
|
|
@@ -70,7 +70,7 @@ ArrowDownFullIcon.propTypes = {
|
|
|
70
70
|
|
|
71
71
|
ArrowDownFullIcon.defaultProps = {
|
|
72
72
|
color: 'main-dark-blue',
|
|
73
|
-
size: '
|
|
73
|
+
size: 'medium'
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export default ArrowDownFullIcon
|
|
@@ -21,7 +21,7 @@ const ArrowDownIcon = ({ color, size }) => {
|
|
|
21
21
|
</svg>
|
|
22
22
|
)
|
|
23
23
|
break
|
|
24
|
-
case '
|
|
24
|
+
case 'medium':
|
|
25
25
|
icon = (
|
|
26
26
|
<svg
|
|
27
27
|
width={24}
|
|
@@ -69,7 +69,7 @@ ArrowDownIcon.propTypes = {
|
|
|
69
69
|
|
|
70
70
|
ArrowDownIcon.defaultProps = {
|
|
71
71
|
color: 'main-dark-blue',
|
|
72
|
-
size: '
|
|
72
|
+
size: 'medium'
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export default ArrowDownIcon
|
|
@@ -21,7 +21,7 @@ const ArrowLeftIcon = ({ color, size }) => {
|
|
|
21
21
|
</svg>
|
|
22
22
|
)
|
|
23
23
|
break
|
|
24
|
-
case '
|
|
24
|
+
case 'medium':
|
|
25
25
|
icon = (
|
|
26
26
|
<svg
|
|
27
27
|
width={24}
|
|
@@ -69,7 +69,7 @@ ArrowLeftIcon.propTypes = {
|
|
|
69
69
|
|
|
70
70
|
ArrowLeftIcon.defaultProps = {
|
|
71
71
|
color: 'main-dark-blue',
|
|
72
|
-
size: '
|
|
72
|
+
size: 'medium'
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export default ArrowLeftIcon
|
|
@@ -21,7 +21,7 @@ const ArrowRightIcon = ({ color, size }) => {
|
|
|
21
21
|
</svg>
|
|
22
22
|
)
|
|
23
23
|
break
|
|
24
|
-
case '
|
|
24
|
+
case 'medium':
|
|
25
25
|
icon = (
|
|
26
26
|
<svg
|
|
27
27
|
width={24}
|
|
@@ -69,7 +69,7 @@ ArrowRightIcon.propTypes = {
|
|
|
69
69
|
|
|
70
70
|
ArrowRightIcon.defaultProps = {
|
|
71
71
|
color: 'main-dark-blue',
|
|
72
|
-
size: '
|
|
72
|
+
size: 'medium'
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export default ArrowRightIcon
|
|
@@ -21,7 +21,7 @@ const ArrowDownIcon = ({ color, size }) => {
|
|
|
21
21
|
</svg>
|
|
22
22
|
)
|
|
23
23
|
break
|
|
24
|
-
case '
|
|
24
|
+
case 'medium':
|
|
25
25
|
icon = (
|
|
26
26
|
<svg
|
|
27
27
|
width={24}
|
|
@@ -69,7 +69,7 @@ ArrowDownIcon.propTypes = {
|
|
|
69
69
|
|
|
70
70
|
ArrowDownIcon.defaultProps = {
|
|
71
71
|
color: 'main-dark-blue',
|
|
72
|
-
size: '
|
|
72
|
+
size: 'medium'
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export default ArrowDownIcon
|
|
@@ -27,7 +27,7 @@ const Calendar1DayIcon = ({ color, size }) => {
|
|
|
27
27
|
</svg>
|
|
28
28
|
)
|
|
29
29
|
break
|
|
30
|
-
case '
|
|
30
|
+
case 'medium':
|
|
31
31
|
icon = (
|
|
32
32
|
<svg
|
|
33
33
|
width={24}
|
|
@@ -84,7 +84,7 @@ Calendar1DayIcon.propTypes = {
|
|
|
84
84
|
|
|
85
85
|
Calendar1DayIcon.defaultProps = {
|
|
86
86
|
color: 'main-dark-blue',
|
|
87
|
-
size: '
|
|
87
|
+
size: 'medium'
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
export default Calendar1DayIcon
|
|
@@ -27,7 +27,7 @@ const Calendar7DaysIcon = ({ color, size }) => {
|
|
|
27
27
|
</svg>
|
|
28
28
|
)
|
|
29
29
|
break
|
|
30
|
-
case '
|
|
30
|
+
case 'medium':
|
|
31
31
|
icon = (
|
|
32
32
|
<svg
|
|
33
33
|
width={24}
|
|
@@ -82,7 +82,7 @@ Calendar7DaysIcon.propTypes = {
|
|
|
82
82
|
|
|
83
83
|
Calendar7DaysIcon.defaultProps = {
|
|
84
84
|
color: 'main-dark-blue',
|
|
85
|
-
size: '
|
|
85
|
+
size: 'medium'
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
export default Calendar7DaysIcon
|
|
@@ -31,7 +31,7 @@ const CalendarIcon = ({ color, size }) => {
|
|
|
31
31
|
</svg>
|
|
32
32
|
)
|
|
33
33
|
break
|
|
34
|
-
case '
|
|
34
|
+
case 'medium':
|
|
35
35
|
icon = (
|
|
36
36
|
<svg
|
|
37
37
|
width={24}
|
|
@@ -96,7 +96,7 @@ CalendarIcon.propTypes = {
|
|
|
96
96
|
|
|
97
97
|
CalendarIcon.defaultProps = {
|
|
98
98
|
color: 'main-dark-blue',
|
|
99
|
-
size: '
|
|
99
|
+
size: 'medium'
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
export default CalendarIcon
|
|
@@ -23,7 +23,7 @@ const CircleAddIcon = ({ color, size }) => {
|
|
|
23
23
|
</svg>
|
|
24
24
|
)
|
|
25
25
|
break
|
|
26
|
-
case '
|
|
26
|
+
case 'medium':
|
|
27
27
|
icon = (
|
|
28
28
|
<svg
|
|
29
29
|
width={24}
|
|
@@ -75,7 +75,7 @@ CircleAddIcon.propTypes = {
|
|
|
75
75
|
|
|
76
76
|
CircleAddIcon.defaultProps = {
|
|
77
77
|
color: 'main-dark-blue',
|
|
78
|
-
size: '
|
|
78
|
+
size: 'medium'
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export default CircleAddIcon
|
|
@@ -22,7 +22,7 @@ const CloseIcon = ({ color, size }) => {
|
|
|
22
22
|
</svg>
|
|
23
23
|
)
|
|
24
24
|
break
|
|
25
|
-
case '
|
|
25
|
+
case 'medium':
|
|
26
26
|
icon = (
|
|
27
27
|
<svg
|
|
28
28
|
width={24}
|
|
@@ -73,7 +73,7 @@ CloseIcon.propTypes = {
|
|
|
73
73
|
|
|
74
74
|
CloseIcon.defaultProps = {
|
|
75
75
|
color: 'main-dark-blue',
|
|
76
|
-
size: '
|
|
76
|
+
size: 'medium'
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export default CloseIcon
|
|
@@ -23,7 +23,7 @@ const CopyPasteIcon = ({ color, size }) => {
|
|
|
23
23
|
</svg>
|
|
24
24
|
)
|
|
25
25
|
break
|
|
26
|
-
case '
|
|
26
|
+
case 'medium':
|
|
27
27
|
icon = (
|
|
28
28
|
<svg
|
|
29
29
|
width={24}
|
|
@@ -75,7 +75,7 @@ CopyPasteIcon.propTypes = {
|
|
|
75
75
|
|
|
76
76
|
CopyPasteIcon.defaultProps = {
|
|
77
77
|
color: 'main-dark-blue',
|
|
78
|
-
size: '
|
|
78
|
+
size: 'medium'
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export default CopyPasteIcon
|
|
@@ -23,7 +23,7 @@ const DatabaseIcon = ({ color, size }) => {
|
|
|
23
23
|
</svg>
|
|
24
24
|
)
|
|
25
25
|
break
|
|
26
|
-
case '
|
|
26
|
+
case 'medium':
|
|
27
27
|
icon = (
|
|
28
28
|
<svg
|
|
29
29
|
width={24}
|
|
@@ -75,7 +75,7 @@ DatabaseIcon.propTypes = {
|
|
|
75
75
|
|
|
76
76
|
DatabaseIcon.defaultProps = {
|
|
77
77
|
color: 'main-dark-blue',
|
|
78
|
-
size: '
|
|
78
|
+
size: 'medium'
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export default DatabaseIcon
|
|
@@ -23,7 +23,7 @@ const EditIcon = ({ color, size }) => {
|
|
|
23
23
|
</svg>
|
|
24
24
|
)
|
|
25
25
|
break
|
|
26
|
-
case '
|
|
26
|
+
case 'medium':
|
|
27
27
|
icon = (
|
|
28
28
|
<svg
|
|
29
29
|
width={24}
|
|
@@ -75,7 +75,7 @@ EditIcon.propTypes = {
|
|
|
75
75
|
|
|
76
76
|
EditIcon.defaultProps = {
|
|
77
77
|
color: 'main-dark-blue',
|
|
78
|
-
size: '
|
|
78
|
+
size: 'medium'
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export default EditIcon
|
|
@@ -22,7 +22,7 @@ const GearIcon = ({ color, size }) => {
|
|
|
22
22
|
</svg>
|
|
23
23
|
)
|
|
24
24
|
break
|
|
25
|
-
case '
|
|
25
|
+
case 'medium':
|
|
26
26
|
icon = (
|
|
27
27
|
<svg
|
|
28
28
|
width={24}
|
|
@@ -72,7 +72,7 @@ GearIcon.propTypes = {
|
|
|
72
72
|
|
|
73
73
|
GearIcon.defaultProps = {
|
|
74
74
|
color: 'main-dark-blue',
|
|
75
|
-
size: '
|
|
75
|
+
size: 'medium'
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
export default GearIcon
|
|
@@ -24,7 +24,7 @@ const Users2Icon = ({ color, size }) => {
|
|
|
24
24
|
</svg>
|
|
25
25
|
)
|
|
26
26
|
break
|
|
27
|
-
case '
|
|
27
|
+
case 'medium':
|
|
28
28
|
icon = (
|
|
29
29
|
<svg
|
|
30
30
|
width={24}
|
|
@@ -78,7 +78,7 @@ Users2Icon.propTypes = {
|
|
|
78
78
|
|
|
79
79
|
Users2Icon.defaultProps = {
|
|
80
80
|
color: 'main-dark-blue',
|
|
81
|
-
size: '
|
|
81
|
+
size: 'medium'
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export default Users2Icon
|
|
@@ -25,7 +25,7 @@ const WorkspaceDynamicIcon = ({ color, size }) => {
|
|
|
25
25
|
</svg>
|
|
26
26
|
)
|
|
27
27
|
break
|
|
28
|
-
case '
|
|
28
|
+
case 'medium':
|
|
29
29
|
icon = (
|
|
30
30
|
<svg
|
|
31
31
|
width={24}
|
|
@@ -81,7 +81,7 @@ WorkspaceDynamicIcon.propTypes = {
|
|
|
81
81
|
|
|
82
82
|
WorkspaceDynamicIcon.defaultProps = {
|
|
83
83
|
color: 'main-dark-blue',
|
|
84
|
-
size: '
|
|
84
|
+
size: 'medium'
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export default WorkspaceDynamicIcon
|
|
@@ -26,7 +26,7 @@ const WorkspaceReadyIcon = ({ color, size }) => {
|
|
|
26
26
|
</svg>
|
|
27
27
|
)
|
|
28
28
|
break
|
|
29
|
-
case '
|
|
29
|
+
case 'medium':
|
|
30
30
|
icon = (
|
|
31
31
|
<svg
|
|
32
32
|
width={24}
|
|
@@ -138,7 +138,7 @@ WorkspaceReadyIcon.propTypes = {
|
|
|
138
138
|
|
|
139
139
|
WorkspaceReadyIcon.defaultProps = {
|
|
140
140
|
color: 'main-dark-blue',
|
|
141
|
-
size: '
|
|
141
|
+
size: 'medium'
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
export default WorkspaceReadyIcon
|
|
@@ -24,7 +24,7 @@ const WorkspaceStaticIcon = ({ color, size }) => {
|
|
|
24
24
|
</svg>
|
|
25
25
|
)
|
|
26
26
|
break
|
|
27
|
-
case '
|
|
27
|
+
case 'medium':
|
|
28
28
|
icon = (
|
|
29
29
|
<svg
|
|
30
30
|
width={24}
|
|
@@ -78,7 +78,7 @@ WorkspaceStaticIcon.propTypes = {
|
|
|
78
78
|
|
|
79
79
|
WorkspaceStaticIcon.defaultProps = {
|
|
80
80
|
color: 'main-dark-blue',
|
|
81
|
-
size: '
|
|
81
|
+
size: 'medium'
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export default WorkspaceStaticIcon
|
|
@@ -41,7 +41,7 @@ PlatformaticIconSmall.args = {
|
|
|
41
41
|
export const PlatformaticIconNormal = AllIconsTemplate.bind({})
|
|
42
42
|
PlatformaticIconNormal.args = {
|
|
43
43
|
color: 'white',
|
|
44
|
-
size: '
|
|
44
|
+
size: 'medium'
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export const PlatformaticIconLarge = AllIconsTemplate.bind({})
|