@equinor/echo-components 0.5.19 → 0.5.24

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,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
+ requiredEndDateTime?: Date;
5
+ maintenancePlanDate?: Date;
6
+ planningPlant?: string;
7
+ activeStatusIds?: string;
8
+ description?: string;
9
9
  }
@@ -1,3 +1,3 @@
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
- declare function getIsActive(statusIds: string): boolean;
2
+ declare function getIsActive(statusIds?: string): boolean;
3
3
  export { setWorkOrderIconName, getIsActive };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/echo-components",
3
- "version": "0.5.19",
3
+ "version": "0.5.24",
4
4
  "description": "Package for creating echo related components.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,91 +29,91 @@
29
29
  "author": "Echo Core",
30
30
  "license": "MIT",
31
31
  "peerDependencies": {
32
- "@equinor/echo-utils": "^0.2.12",
32
+ "@equinor/echo-utils": "^0.2.13",
33
33
  "@equinor/eds-core-react": "^0.25.0",
34
- "@equinor/eds-icons": "^0.16.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.5"
37
+ "styled-components": "^5.3.6"
38
38
  },
39
39
  "dependencies": {
40
- "@babel/runtime": "^7.20.0",
41
- "@floating-ui/react": "^0.17.0",
42
- "jest-environment-jsdom": "^29.2.2",
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.8.0",
44
+ "react-datepicker": "^4.10.0",
45
45
  "react-sortablejs": "^6.1.4",
46
46
  "sortablejs": "^1.15.0",
47
- "zustand": "^4.3.2"
47
+ "zustand": "^4.3.3"
48
48
  },
49
49
  "devDependencies": {
50
- "@babel/core": "^7.18.2",
51
- "@babel/plugin-transform-runtime": "^7.19.6",
52
- "@babel/preset-env": "^7.18.2",
53
- "@babel/preset-react": "^7.17.12",
54
- "@babel/preset-typescript": "^7.17.12",
55
- "@equinor/echo-update": "^1.3.0",
56
- "@equinor/echo-utils": "^0.2.12",
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.16.0",
59
- "@rollup/plugin-babel": "^6.0.2",
60
- "@rollup/plugin-commonjs": "^23.0.2",
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": "^9.0.2",
62
+ "@rollup/plugin-typescript": "^11.0.0",
63
63
  "@rollup/plugin-url": "^8.0.1",
64
- "@storybook/addon-actions": "^6.5.6",
65
- "@storybook/addon-docs": "^6.5.6",
66
- "@storybook/addon-essentials": "^6.5.6",
67
- "@storybook/addon-links": "^6.5.6",
68
- "@storybook/builder-webpack5": "^6.5.6",
69
- "@storybook/manager-webpack5": "^6.5.6",
70
- "@storybook/react": "^6.5.6",
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.2.1",
73
- "@testing-library/dom": "^8.13.0",
74
- "@testing-library/react": "^12.1.4",
75
- "@types/jest": "^29.2.0",
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.43",
78
- "@types/react-datepicker": "^4.4.1",
79
- "@types/react-test-renderer": "^17.0.1",
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.10.7",
81
+ "@types/sortablejs": "^1.15.0",
82
82
  "@types/styled-components": "^5.1.26",
83
- "@typescript-eslint/eslint-plugin": "^5.40.1",
84
- "@typescript-eslint/parser": "^5.40.1",
85
- "babel-loader": "^8.2.5",
86
- "css-loader": "^6.7.1",
87
- "eslint": "^8.25.0",
88
- "eslint-config-prettier": "^8.5.0",
83
+ "@typescript-eslint/eslint-plugin": "^5.53.0",
84
+ "@typescript-eslint/parser": "^5.53.0",
85
+ "babel-loader": "^9.1.2",
86
+ "css-loader": "^6.7.3",
87
+ "eslint": "^8.34.0",
88
+ "eslint-config-prettier": "^8.6.0",
89
89
  "eslint-plugin-prettier": "^4.2.1",
90
- "eslint-plugin-react": "^7.31.0",
90
+ "eslint-plugin-react": "^7.32.2",
91
91
  "eslint-plugin-react-hooks": "^4.6.0",
92
92
  "html-webpack-plugin": "^5.5.0",
93
93
  "identity-obj-proxy": "^3.0.0",
94
- "jest": "^29.2.2",
94
+ "jest": "^29.4.3",
95
95
  "jest-svg-transformer": "^1.0.0",
96
- "postcss": "^8.4.14",
97
- "postcss-loader": "^7.0.0",
98
- "prettier": "^2.6.2",
96
+ "postcss": "^8.4.21",
97
+ "postcss-loader": "^7.0.2",
98
+ "prettier": "^2.8.4",
99
99
  "react": "^17.0.2",
100
- "react-datepicker": "^4.8.0",
100
+ "react-datepicker": "^4.10.0",
101
101
  "react-dom": "^17.0.2",
102
102
  "react-test-renderer": "^17.0.2",
103
- "react-window": "^1.8.7",
104
- "rollup": "^3.2.5",
103
+ "react-window": "^1.8.8",
104
+ "rollup": "^3.17.2",
105
105
  "rollup-plugin-delete": "^2.0.0",
106
106
  "rollup-plugin-peer-deps-external": "^2.2.4",
107
107
  "rollup-plugin-postcss": "^4.0.2",
108
108
  "rollup-plugin-typescript-paths": "^1.4.0",
109
- "rollup-plugin-visualizer": "^5.8.3",
109
+ "rollup-plugin-visualizer": "^5.9.0",
110
110
  "storybook-css-modules-preset": "^1.1.1",
111
111
  "style-loader": "^3.3.1",
112
- "styled-components": "^5.3.5",
113
- "ts-jest": "^29.0.3",
112
+ "styled-components": "^5.3.6",
113
+ "ts-jest": "^29.0.5",
114
114
  "tsconfig-paths-webpack-plugin": "^4.0.0",
115
- "typescript": "^4.7.2",
116
- "webpack": "^5.72.1",
115
+ "typescript": "^4.9.5",
116
+ "webpack": "^5.75.0",
117
117
  "worker-loader": "^3.0.8"
118
118
  },
119
119
  "files": [
@@ -122,4 +122,4 @@
122
122
  "resolutions": {
123
123
  "@storybook/react/webpack": "^5"
124
124
  }
125
- }
125
+ }