@sphereon/ui-components.ssi-react 0.1.3-unstable.44 → 0.1.3-unstable.46
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
interface
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface Props {
|
|
3
3
|
ariaLabel?: string;
|
|
4
4
|
width?: string | number;
|
|
5
5
|
height?: string | number;
|
|
@@ -12,11 +12,6 @@ interface SSILoaderProps {
|
|
|
12
12
|
[key: string]: string;
|
|
13
13
|
};
|
|
14
14
|
wrapperClass?: string;
|
|
15
|
-
timeout?: number;
|
|
16
|
-
callback: (state?: any) => Promise<void>;
|
|
17
15
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
render(): JSX.Element;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
|
16
|
+
declare const SSILoader: FC<Props>;
|
|
17
|
+
export default SSILoader;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import React from 'react';
|
|
3
2
|
import { Oval } from 'react-loader-spinner';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
import { elements } from "@sphereon/ui-components.core";
|
|
4
|
+
const SSILoader = (props) => {
|
|
5
|
+
const defaultProps = {
|
|
6
|
+
...props,
|
|
7
|
+
width: 80,
|
|
8
|
+
height: 80,
|
|
9
|
+
color: elements.blue,
|
|
10
|
+
secondaryColor: elements.blue,
|
|
11
|
+
strokeWidth: 5,
|
|
12
|
+
strokeWidthSecondary: 5,
|
|
13
|
+
visible: true
|
|
14
|
+
};
|
|
15
|
+
return (_jsx(Oval, { ...defaultProps }));
|
|
16
|
+
};
|
|
17
|
+
export default SSILoader;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ui-components.ssi-react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.3-unstable.
|
|
4
|
+
"version": "0.1.3-unstable.46+30d079e",
|
|
5
5
|
"description": "SSI UI components for React",
|
|
6
6
|
"repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
|
|
7
7
|
"author": "Sphereon <dev@sphereon.com>",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@sphereon/ui-components.core": "0.1.3-unstable.
|
|
31
|
+
"@sphereon/ui-components.core": "0.1.3-unstable.46+30d079e",
|
|
32
32
|
"@tanstack/react-table": "^8.9.3",
|
|
33
33
|
"react-loader-spinner": "^5.4.5",
|
|
34
34
|
"react-toastify": "^9.1.3",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">= 16.8.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "30d079e2458d7a53d80c752763f9b848bf6564d1"
|
|
46
46
|
}
|