@equinor/echo-components 0.4.0 → 0.5.1

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.
@@ -11,4 +11,4 @@ import { IconListState } from './IconList';
11
11
  * @param {IconItem[]} expandedIcons the icons to be displayed if the row is expandable. Is undefined if the row should not be expandable
12
12
  * @return {*} {React.ReactNode} A list row component created from the input parameters
13
13
  */
14
- export declare const createListRow: (isDraggable: boolean, index: number, iconListState: IconListState, setIconListState: (value: React.SetStateAction<IconListState>) => void, expandedIcons?: IconItem[] | undefined) => React.ReactNode;
14
+ export declare const createListRow: (isDraggable: boolean, index: number, iconListState: IconListState, setIconListState: (value: React.SetStateAction<IconListState>) => void, expandedIcons?: IconItem[]) => React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/echo-components",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "Package for creating echo related components.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,84 +28,85 @@
28
28
  "author": "Echo Core",
29
29
  "license": "MIT",
30
30
  "peerDependencies": {
31
- "@equinor/echo-utils": "^0.2.7",
32
- "@equinor/eds-core-react": "^0.19.0",
31
+ "@equinor/echo-utils": "^0.2.11",
32
+ "@equinor/eds-core-react": "^0.21.0",
33
33
  "react": "^17.0.2",
34
34
  "react-dom": "^17.0.2",
35
- "styled-components": "^5.3.3"
35
+ "styled-components": "^5.3.5"
36
36
  },
37
37
  "dependencies": {
38
38
  "@equinor/eds-icons": "^0.10.0",
39
- "react-datepicker": "^4.7.0",
39
+ "jest-environment-jsdom": "^28.1.0",
40
+ "react-datepicker": "^4.8.0",
40
41
  "react-sortablejs": "^6.0.0"
41
42
  },
42
43
  "devDependencies": {
43
- "@babel/core": "^7.17.8",
44
- "@babel/preset-env": "^7.16.11",
45
- "@babel/preset-react": "^7.16.7",
46
- "@babel/preset-typescript": "^7.16.7",
44
+ "@babel/core": "^7.18.2",
45
+ "@babel/preset-env": "^7.18.2",
46
+ "@babel/preset-react": "^7.17.12",
47
+ "@babel/preset-typescript": "^7.17.12",
47
48
  "@equinor/echo-update": "^1.3.0",
48
- "@equinor/echo-utils": "^0.2.9",
49
- "@equinor/eds-core-react": "^0.19.0",
50
- "@rollup/plugin-node-resolve": "^13.1.3",
51
- "@rollup/plugin-typescript": "^8.3.1",
52
- "@rollup/plugin-url": "^6.1.0",
53
- "@storybook/addon-actions": "^6.4.20",
54
- "@storybook/addon-docs": "^6.4.20",
55
- "@storybook/addon-essentials": "^6.4.20",
56
- "@storybook/addon-links": "^6.4.20",
57
- "@storybook/builder-webpack5": "^6.4.20",
58
- "@storybook/manager-webpack5": "^6.4.20",
59
- "@storybook/react": "^6.4.20",
49
+ "@equinor/echo-utils": "^0.2.11",
50
+ "@equinor/eds-core-react": "^0.21.0",
51
+ "@rollup/plugin-node-resolve": "^13.3.0",
52
+ "@rollup/plugin-typescript": "^8.3.2",
53
+ "@rollup/plugin-url": "^7.0.0",
54
+ "@storybook/addon-actions": "^6.5.6",
55
+ "@storybook/addon-docs": "^6.5.6",
56
+ "@storybook/addon-essentials": "^6.5.6",
57
+ "@storybook/addon-links": "^6.5.6",
58
+ "@storybook/builder-webpack5": "^6.5.6",
59
+ "@storybook/manager-webpack5": "^6.5.6",
60
+ "@storybook/react": "^6.5.6",
60
61
  "@svgr/rollup": "^6.2.1",
61
62
  "@svgr/webpack": "^6.2.1",
62
63
  "@testing-library/dom": "^8.13.0",
63
64
  "@testing-library/react": "^12.1.4",
64
- "@types/jest": "^27.4.1",
65
+ "@types/jest": "^28.1.0",
65
66
  "@types/react": "^17.0.43",
66
- "@types/react-datepicker": "^4.3.4",
67
+ "@types/react-datepicker": "^4.4.1",
67
68
  "@types/react-test-renderer": "^17.0.1",
68
69
  "@types/react-window": "^1.8.5",
69
70
  "@types/sortablejs": "^1.10.7",
70
- "@typescript-eslint/eslint-plugin": "^5.18.0",
71
- "@typescript-eslint/parser": "^5.18.0",
72
- "babel-loader": "^8.2.4",
71
+ "@typescript-eslint/eslint-plugin": "^5.27.0",
72
+ "@typescript-eslint/parser": "^5.27.0",
73
+ "babel-loader": "^8.2.5",
73
74
  "css-loader": "^6.7.1",
74
- "eslint": "^8.12.0",
75
+ "eslint": "^8.16.0",
75
76
  "eslint-config-prettier": "^8.5.0",
76
77
  "eslint-plugin-prettier": "^4.0.0",
77
- "eslint-plugin-react": "^7.29.4",
78
- "eslint-plugin-react-hooks": "^4.4.0",
78
+ "eslint-plugin-react": "^7.30.0",
79
+ "eslint-plugin-react-hooks": "^4.5.0",
79
80
  "html-webpack-plugin": "^5.5.0",
80
81
  "identity-obj-proxy": "^3.0.0",
81
- "jest": "^27.5.1",
82
+ "jest": "^28.1.0",
82
83
  "jest-svg-transformer": "^1.0.0",
83
- "postcss": "^8.4.12",
84
- "postcss-loader": "^6.2.1",
84
+ "postcss": "^8.4.14",
85
+ "postcss-loader": "^7.0.0",
85
86
  "prettier": "^2.6.2",
86
87
  "react": "^17.0.2",
87
- "react-datepicker": "^4.7.0",
88
+ "react-datepicker": "^4.8.0",
88
89
  "react-dom": "^17.0.2",
89
90
  "react-test-renderer": "^17.0.2",
90
- "react-window": "^1.8.6",
91
- "rollup": "^2.70.1",
91
+ "react-window": "^1.8.7",
92
+ "rollup": "^2.75.5",
92
93
  "rollup-plugin-babel": "^4.4.0",
93
94
  "rollup-plugin-commonjs": "^10.1.0",
94
95
  "rollup-plugin-delete": "^2.0.0",
95
- "rollup-plugin-dts": "^4.2.0",
96
+ "rollup-plugin-dts": "^4.2.2",
96
97
  "rollup-plugin-node-resolve": "^5.2.0",
97
98
  "rollup-plugin-postcss": "^4.0.2",
98
99
  "rollup-plugin-typescript": "^1.0.1",
99
100
  "rollup-plugin-typescript-paths": "^1.3.1",
100
- "rollup-plugin-typescript2": "^0.31.2",
101
+ "rollup-plugin-typescript2": "^0.32.0",
101
102
  "rollup-plugin-web-worker-loader": "^1.6.1",
102
103
  "sortablejs": "^1.15.0",
103
104
  "storybook-css-modules-preset": "^1.1.1",
104
105
  "style-loader": "^3.3.1",
105
106
  "styled-components": "^5.3.5",
106
- "ts-jest": "^27.1.4",
107
- "typescript": "^4.6.3",
108
- "webpack": "^5.71.0",
107
+ "ts-jest": "^28.0.3",
108
+ "typescript": "^4.7.2",
109
+ "webpack": "^5.72.1",
109
110
  "worker-loader": "^3.0.8"
110
111
  },
111
112
  "files": [