@equinor/echo-components 0.5.19-rc1 → 0.6.0-r18-beta-3

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-rc1",
3
+ "version": "0.6.0-r18-beta-3",
4
4
  "description": "Package for creating echo related components.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,11 +29,11 @@
29
29
  "author": "Echo Core",
30
30
  "license": "MIT",
31
31
  "peerDependencies": {
32
- "@equinor/echo-utils": "^0.2.12",
32
+ "@equinor/echo-utils": "^0.3.0-r18-beta-2",
33
33
  "@equinor/eds-core-react": "^0.25.0",
34
- "@equinor/eds-icons": "^0.16.0",
35
- "react": "^17.0.2",
36
- "react-dom": "^17.0.2",
34
+ "@equinor/eds-icons": "^0.17.0",
35
+ "react": ">= 18.2",
36
+ "react-dom": ">= 18.2",
37
37
  "styled-components": "^5.3.5"
38
38
  },
39
39
  "dependencies": {
@@ -53,25 +53,26 @@
53
53
  "@babel/preset-react": "^7.17.12",
54
54
  "@babel/preset-typescript": "^7.17.12",
55
55
  "@equinor/echo-update": "^1.3.0",
56
- "@equinor/echo-utils": "^0.2.12",
56
+ "@equinor/echo-utils": "^0.3.0-r18-beta-2",
57
57
  "@equinor/eds-core-react": "^0.25.0",
58
- "@equinor/eds-icons": "^0.16.0",
58
+ "@equinor/eds-icons": "^0.17.0",
59
+ "@mdx-js/react": "^1.6.22",
59
60
  "@rollup/plugin-babel": "^6.0.2",
60
61
  "@rollup/plugin-commonjs": "^23.0.2",
61
62
  "@rollup/plugin-node-resolve": "^15.0.1",
62
63
  "@rollup/plugin-typescript": "^9.0.2",
63
64
  "@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",
65
+ "@storybook/addon-actions": "^6.5.16",
66
+ "@storybook/addon-docs": "^6.5.16",
67
+ "@storybook/addon-essentials": "^6.5.16",
68
+ "@storybook/addon-links": "^6.5.16",
69
+ "@storybook/builder-webpack5": "^6.5.16",
70
+ "@storybook/manager-webpack5": "^6.5.16",
71
+ "@storybook/react": "^6.5.16",
71
72
  "@svgr/rollup": "^6.5.1",
72
73
  "@svgr/webpack": "^6.2.1",
73
74
  "@testing-library/dom": "^8.13.0",
74
- "@testing-library/react": "^12.1.4",
75
+ "@testing-library/react": "^13.4.0",
75
76
  "@types/jest": "^29.2.0",
76
77
  "@types/lodash.throttle": "^4.1.7",
77
78
  "@types/react": "^17.0.43",
@@ -96,10 +97,10 @@
96
97
  "postcss": "^8.4.14",
97
98
  "postcss-loader": "^7.0.0",
98
99
  "prettier": "^2.6.2",
99
- "react": "^17.0.2",
100
+ "react": "^18.2.0",
100
101
  "react-datepicker": "^4.8.0",
101
- "react-dom": "^17.0.2",
102
- "react-test-renderer": "^17.0.2",
102
+ "react-dom": "^18.2.0",
103
+ "react-test-renderer": "^18.2.0",
103
104
  "react-window": "^1.8.7",
104
105
  "rollup": "^3.2.5",
105
106
  "rollup-plugin-delete": "^2.0.0",
@@ -121,5 +122,11 @@
121
122
  ],
122
123
  "resolutions": {
123
124
  "@storybook/react/webpack": "^5"
125
+ },
126
+ "overrides": {
127
+ "@mdx-js/react": {
128
+ "react": "^18.2.0",
129
+ "react-dom": "^18.2.0"
130
+ }
124
131
  }
125
132
  }