andoncloud-widget-preview 1.2.2 → 1.2.5
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.js +1 -171
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/version.d.ts +1 -1
- package/package.json +6 -6
package/dist/types.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { BaseWidgetData, BaseWidgetSettings, WidgetProps } from 'andoncloud-dash
|
|
|
3
3
|
export interface WidgetPreviewProps {
|
|
4
4
|
baseUrl: string;
|
|
5
5
|
apiUrl: string;
|
|
6
|
+
fetch: typeof global.fetch;
|
|
6
7
|
widgetName: string;
|
|
7
8
|
widgetDisplayName: (lang: 'en' | 'pl') => string;
|
|
8
9
|
widgetWidth?: number;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIBRARY_VERSION = "1.2.
|
|
1
|
+
export declare const LIBRARY_VERSION = "1.2.5";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "andoncloud-widget-preview",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "AndonCloud widget preview",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"node": ">=14"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"build": "library-scripts build --external andoncloud-dashboard-toolkit,react-grid-layout",
|
|
19
|
-
"build:watch": "library-scripts build-watch --external andoncloud-dashboard-toolkit,react-grid-layout",
|
|
18
|
+
"build": "library-scripts build --external andoncloud-sdk,andoncloud-dashboard-toolkit,react-grid-layout",
|
|
19
|
+
"build:watch": "library-scripts build-watch --external andoncloud-sdk,andoncloud-dashboard-toolkit,react-grid-layout",
|
|
20
20
|
"start:sandbox": "cd sandbox && npm run start",
|
|
21
21
|
"start": "run-p build:watch start:sandbox",
|
|
22
22
|
"lint": "eslint --ext .ts,.tsx --quiet --fix .",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@emotion/react": "^11.11.0",
|
|
34
34
|
"@emotion/styled": "^11.11.0",
|
|
35
|
-
"@types/node": "^20.1.
|
|
35
|
+
"@types/node": "^20.1.4",
|
|
36
36
|
"@types/react": "^18.2.6",
|
|
37
37
|
"@types/react-dom": "^18.2.4",
|
|
38
38
|
"@types/react-grid-layout": "^1.3.2",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@mui/icons-material": "^5.11.16",
|
|
56
56
|
"@mui/lab": "^5.0.0-alpha.129",
|
|
57
57
|
"@mui/material": "^5.13.0",
|
|
58
|
-
"andoncloud-dashboard-toolkit": "^1.2.
|
|
59
|
-
"andoncloud-sdk": "^1.4.
|
|
58
|
+
"andoncloud-dashboard-toolkit": "^1.2.10",
|
|
59
|
+
"andoncloud-sdk": "^1.4.45",
|
|
60
60
|
"graphql-request": "^6.0.0",
|
|
61
61
|
"i18next": "^22.4.15",
|
|
62
62
|
"react-i18next": "^12.2.2",
|