@equinor/echo-components 0.5.19 → 0.5.26
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/components/echoTooltip/Tooltip/useTooltip.d.ts +36 -2
- package/dist/components/index.d.ts +1 -1
- package/dist/components/rightPanel/index.d.ts +1 -0
- package/dist/components/rightPanel/menuButton/MenuButton.d.ts +1 -1
- package/dist/components/rightPanel/panel/Panel.d.ts +8 -1
- package/dist/components/rightPanel/panelContent/PanelContentWrapper.d.ts +16 -0
- package/dist/components/workOrderListItem/{WorkOrdertListItem.d.ts → WorkOrderListItem.d.ts} +2 -2
- package/dist/components/workOrderListItem/WorkOrderStatusLabel.d.ts +2 -7
- package/dist/index.js +1461 -1221
- package/dist/index.js.map +1 -1
- package/dist/types/workOrderItem.d.ts +5 -5
- package/dist/utils/workorder.d.ts +1 -2
- package/package.json +49 -48
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export interface WorkOrderItem {
|
|
2
2
|
id: string;
|
|
3
|
-
requiredEndDateTime: Date;
|
|
4
|
-
maintenancePlanDate: Date;
|
|
5
|
-
planningPlant: string;
|
|
6
|
-
activeStatusIds: string;
|
|
7
|
-
description: string;
|
|
8
3
|
orderType: string;
|
|
4
|
+
isActive: boolean;
|
|
5
|
+
requiredEndDateTime?: Date;
|
|
6
|
+
maintenancePlanDate?: Date;
|
|
7
|
+
planningPlant?: string;
|
|
8
|
+
description?: string;
|
|
9
9
|
}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
declare function setWorkOrderIconName(type: string): "workorders_pm01" | "workorders_pm02" | "workorders_pm03" | "workorders_pm04" | "workorders_pm05" | "workorders_pm06" | "workorders_pm10" | "workorders_pm15" | "workorders_pm20" | "workorders_main_group";
|
|
2
|
-
|
|
3
|
-
export { setWorkOrderIconName, getIsActive };
|
|
2
|
+
export { setWorkOrderIconName };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/echo-components",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.26",
|
|
4
4
|
"description": "Package for creating echo related components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -29,56 +29,56 @@
|
|
|
29
29
|
"author": "Echo Core",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@equinor/echo-utils": "^0.2.
|
|
32
|
+
"@equinor/echo-utils": "^0.2.13",
|
|
33
33
|
"@equinor/eds-core-react": "^0.25.0",
|
|
34
|
-
"@equinor/eds-icons": "^0.
|
|
34
|
+
"@equinor/eds-icons": "^0.17.0",
|
|
35
35
|
"react": "^17.0.2",
|
|
36
36
|
"react-dom": "^17.0.2",
|
|
37
|
-
"styled-components": "^5.3.
|
|
37
|
+
"styled-components": "^5.3.6"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@babel/runtime": "^7.
|
|
41
|
-
"@floating-ui/react": "^0.
|
|
42
|
-
"jest-environment-jsdom": "^29.
|
|
40
|
+
"@babel/runtime": "^7.21.0",
|
|
41
|
+
"@floating-ui/react": "^0.19.2",
|
|
42
|
+
"jest-environment-jsdom": "^29.4.3",
|
|
43
43
|
"lodash.throttle": "^4.1.1",
|
|
44
|
-
"react-datepicker": "^4.
|
|
44
|
+
"react-datepicker": "^4.10.0",
|
|
45
45
|
"react-sortablejs": "^6.1.4",
|
|
46
46
|
"sortablejs": "^1.15.0",
|
|
47
|
-
"zustand": "^4.3.
|
|
47
|
+
"zustand": "^4.3.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@babel/core": "^7.
|
|
51
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
52
|
-
"@babel/preset-env": "^7.
|
|
53
|
-
"@babel/preset-react": "^7.
|
|
54
|
-
"@babel/preset-typescript": "^7.
|
|
55
|
-
"@equinor/echo-update": "^1.3.
|
|
56
|
-
"@equinor/echo-utils": "^0.2.
|
|
50
|
+
"@babel/core": "^7.21.0",
|
|
51
|
+
"@babel/plugin-transform-runtime": "^7.21.0",
|
|
52
|
+
"@babel/preset-env": "^7.20.2",
|
|
53
|
+
"@babel/preset-react": "^7.18.6",
|
|
54
|
+
"@babel/preset-typescript": "^7.21.0",
|
|
55
|
+
"@equinor/echo-update": "^1.3.1",
|
|
56
|
+
"@equinor/echo-utils": "^0.2.13",
|
|
57
57
|
"@equinor/eds-core-react": "^0.25.0",
|
|
58
|
-
"@equinor/eds-icons": "^0.
|
|
59
|
-
"@rollup/plugin-babel": "^6.0.
|
|
60
|
-
"@rollup/plugin-commonjs": "^23.0.
|
|
58
|
+
"@equinor/eds-icons": "^0.17.0",
|
|
59
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
60
|
+
"@rollup/plugin-commonjs": "^23.0.7",
|
|
61
61
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
62
|
-
"@rollup/plugin-typescript": "^
|
|
62
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
63
63
|
"@rollup/plugin-url": "^8.0.1",
|
|
64
|
-
"@storybook/addon-actions": "^6.5.
|
|
65
|
-
"@storybook/addon-docs": "^6.5.
|
|
66
|
-
"@storybook/addon-essentials": "^6.5.
|
|
67
|
-
"@storybook/addon-links": "^6.5.
|
|
68
|
-
"@storybook/builder-webpack5": "^6.5.
|
|
69
|
-
"@storybook/manager-webpack5": "^6.5.
|
|
70
|
-
"@storybook/react": "^6.5.
|
|
64
|
+
"@storybook/addon-actions": "^6.5.16",
|
|
65
|
+
"@storybook/addon-docs": "^6.5.16",
|
|
66
|
+
"@storybook/addon-essentials": "^6.5.16",
|
|
67
|
+
"@storybook/addon-links": "^6.5.16",
|
|
68
|
+
"@storybook/builder-webpack5": "^6.5.16",
|
|
69
|
+
"@storybook/manager-webpack5": "^6.5.16",
|
|
70
|
+
"@storybook/react": "^6.5.16",
|
|
71
71
|
"@svgr/rollup": "^6.5.1",
|
|
72
|
-
"@svgr/webpack": "^6.
|
|
73
|
-
"@testing-library/dom": "^8.
|
|
74
|
-
"@testing-library/react": "^12.1.
|
|
75
|
-
"@types/jest": "^29.
|
|
72
|
+
"@svgr/webpack": "^6.5.1",
|
|
73
|
+
"@testing-library/dom": "^8.20.0",
|
|
74
|
+
"@testing-library/react": "^12.1.5",
|
|
75
|
+
"@types/jest": "^29.4.0",
|
|
76
76
|
"@types/lodash.throttle": "^4.1.7",
|
|
77
|
-
"@types/react": "^17.0.
|
|
78
|
-
"@types/react-datepicker": "^4.
|
|
79
|
-
"@types/react-test-renderer": "^17.0.
|
|
77
|
+
"@types/react": "^17.0.53",
|
|
78
|
+
"@types/react-datepicker": "^4.8.0",
|
|
79
|
+
"@types/react-test-renderer": "^17.0.2",
|
|
80
80
|
"@types/react-window": "^1.8.5",
|
|
81
|
-
"@types/sortablejs": "^1.
|
|
81
|
+
"@types/sortablejs": "^1.15.0",
|
|
82
82
|
"@types/styled-components": "^5.1.26",
|
|
83
83
|
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
|
84
84
|
"@typescript-eslint/parser": "^5.40.1",
|
|
@@ -86,34 +86,35 @@
|
|
|
86
86
|
"css-loader": "^6.7.1",
|
|
87
87
|
"eslint": "^8.25.0",
|
|
88
88
|
"eslint-config-prettier": "^8.5.0",
|
|
89
|
+
"eslint-plugin-mdx": "^2.0.5",
|
|
89
90
|
"eslint-plugin-prettier": "^4.2.1",
|
|
90
|
-
"eslint-plugin-react": "^7.
|
|
91
|
+
"eslint-plugin-react": "^7.32.2",
|
|
91
92
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
92
93
|
"html-webpack-plugin": "^5.5.0",
|
|
93
94
|
"identity-obj-proxy": "^3.0.0",
|
|
94
|
-
"jest": "^29.
|
|
95
|
+
"jest": "^29.4.3",
|
|
95
96
|
"jest-svg-transformer": "^1.0.0",
|
|
96
|
-
"postcss": "^8.4.
|
|
97
|
-
"postcss-loader": "^7.0.
|
|
98
|
-
"prettier": "^2.
|
|
97
|
+
"postcss": "^8.4.21",
|
|
98
|
+
"postcss-loader": "^7.0.2",
|
|
99
|
+
"prettier": "^2.8.4",
|
|
99
100
|
"react": "^17.0.2",
|
|
100
|
-
"react-datepicker": "^4.
|
|
101
|
+
"react-datepicker": "^4.10.0",
|
|
101
102
|
"react-dom": "^17.0.2",
|
|
102
103
|
"react-test-renderer": "^17.0.2",
|
|
103
|
-
"react-window": "^1.8.
|
|
104
|
-
"rollup": "^3.2
|
|
104
|
+
"react-window": "^1.8.8",
|
|
105
|
+
"rollup": "^3.17.2",
|
|
105
106
|
"rollup-plugin-delete": "^2.0.0",
|
|
106
107
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
107
108
|
"rollup-plugin-postcss": "^4.0.2",
|
|
108
109
|
"rollup-plugin-typescript-paths": "^1.4.0",
|
|
109
|
-
"rollup-plugin-visualizer": "^5.
|
|
110
|
+
"rollup-plugin-visualizer": "^5.9.0",
|
|
110
111
|
"storybook-css-modules-preset": "^1.1.1",
|
|
111
112
|
"style-loader": "^3.3.1",
|
|
112
|
-
"styled-components": "^5.3.
|
|
113
|
-
"ts-jest": "^29.0.
|
|
113
|
+
"styled-components": "^5.3.6",
|
|
114
|
+
"ts-jest": "^29.0.5",
|
|
114
115
|
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
115
|
-
"typescript": "^4.
|
|
116
|
-
"webpack": "^5.
|
|
116
|
+
"typescript": "^4.9.5",
|
|
117
|
+
"webpack": "^5.75.0",
|
|
117
118
|
"worker-loader": "^3.0.8"
|
|
118
119
|
},
|
|
119
120
|
"files": [
|