@platformatic/ui-components 0.1.79 → 0.1.80
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/dist/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Platformatic UI Components</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index.
|
|
7
|
+
<script type="module" crossorigin src="/assets/index.34b55a44.js"></script>
|
|
8
8
|
<link rel="stylesheet" href="/assets/index.8666e478.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import styles from './Icons.module.css'
|
|
4
4
|
import { COLORS_ICON, SIZES } from '../constants'
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const WorkspaceLoadingIcon = ({ color, size }) => {
|
|
7
7
|
const className = `${styles.noShrinkForFlex} ` + styles[`${color}`]
|
|
8
8
|
const filledClassName = styles[`filled-${color}`]
|
|
9
9
|
|
|
@@ -38,7 +38,7 @@ const WorkpaceLoadingIcon = ({ color, size }) => {
|
|
|
38
38
|
return icon
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
WorkspaceLoadingIcon.propTypes = {
|
|
42
42
|
/**
|
|
43
43
|
* color of text, icon and borders
|
|
44
44
|
*/
|
|
@@ -49,9 +49,9 @@ WorkpaceLoadingIcon.propTypes = {
|
|
|
49
49
|
size: PropTypes.oneOf(SIZES)
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
WorkspaceLoadingIcon.defaultProps = {
|
|
53
53
|
color: 'main-dark-blue',
|
|
54
54
|
size: 'medium'
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
export default
|
|
57
|
+
export default WorkspaceLoadingIcon
|
|
@@ -63,7 +63,7 @@ import WorkspaceDynamicIcon from './WorkspaceDynamicIcon'
|
|
|
63
63
|
import WorkspaceEmptyIcon from './WorkspaceEmptyIcon'
|
|
64
64
|
import WorkspaceGitHubIcon from './WorkspaceGitHubIcon'
|
|
65
65
|
import WorkspaceFailIcon from './WorkspaceFailIcon'
|
|
66
|
-
import
|
|
66
|
+
import WorkspaceLoadingIcon from './WorkspaceLoadingIcon'
|
|
67
67
|
import WorkspaceReadyIcon from './WorkspaceReadyIcon'
|
|
68
68
|
import WorkspaceStaticIcon from './WorkspaceStaticIcon'
|
|
69
69
|
|
|
@@ -133,7 +133,7 @@ export default {
|
|
|
133
133
|
WorkspaceEmptyIcon,
|
|
134
134
|
WorkspaceFailIcon,
|
|
135
135
|
WorkspaceGitHubIcon,
|
|
136
|
-
|
|
136
|
+
WorkspaceLoadingIcon,
|
|
137
137
|
WorkspaceReadyIcon,
|
|
138
138
|
WorkspaceStaticIcon
|
|
139
139
|
}
|