@equinor/echo-components 0.4.0 → 0.5.0-r18-beta-0

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,117 +1,122 @@
1
- {
2
- "name": "@equinor/echo-components",
3
- "version": "0.4.0",
4
- "description": "Package for creating echo related components.",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "source": "src/index.ts",
8
- "scripts": {
9
- "build": "rollup -c",
10
- "build-watch": "rollup -c -w ",
11
- "start": "npm run build && node dist/index.js",
12
- "echo-publish": "npm publish --access public",
13
- "echo-publish-next": "npm publish --access public --tag next",
14
- "echo-test": "jest",
15
- "echo-update": "echo-update",
16
- "echo-update-version": "echo-update -v",
17
- "echo-update-next": "echo-update -c",
18
- "echo-update-all": "echo-update -a",
19
- "test": "jest --watchAll",
20
- "test-coverage": "jest --coverage --watchAll",
21
- "patch": "npm version patch",
22
- "major": "npm version major",
23
- "minor": "npm version minor",
24
- "lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
25
- "storybook": "start-storybook -p 6006",
26
- "build-storybook": "build-storybook"
27
- },
28
- "author": "Echo Core",
29
- "license": "MIT",
30
- "peerDependencies": {
31
- "@equinor/echo-utils": "^0.2.7",
32
- "@equinor/eds-core-react": "^0.19.0",
33
- "react": "^17.0.2",
34
- "react-dom": "^17.0.2",
35
- "styled-components": "^5.3.3"
36
- },
37
- "dependencies": {
38
- "@equinor/eds-icons": "^0.10.0",
39
- "react-datepicker": "^4.7.0",
40
- "react-sortablejs": "^6.0.0"
41
- },
42
- "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",
47
- "@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",
60
- "@svgr/rollup": "^6.2.1",
61
- "@svgr/webpack": "^6.2.1",
62
- "@testing-library/dom": "^8.13.0",
63
- "@testing-library/react": "^12.1.4",
64
- "@types/jest": "^27.4.1",
65
- "@types/react": "^17.0.43",
66
- "@types/react-datepicker": "^4.3.4",
67
- "@types/react-test-renderer": "^17.0.1",
68
- "@types/react-window": "^1.8.5",
69
- "@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",
73
- "css-loader": "^6.7.1",
74
- "eslint": "^8.12.0",
75
- "eslint-config-prettier": "^8.5.0",
76
- "eslint-plugin-prettier": "^4.0.0",
77
- "eslint-plugin-react": "^7.29.4",
78
- "eslint-plugin-react-hooks": "^4.4.0",
79
- "html-webpack-plugin": "^5.5.0",
80
- "identity-obj-proxy": "^3.0.0",
81
- "jest": "^27.5.1",
82
- "jest-svg-transformer": "^1.0.0",
83
- "postcss": "^8.4.12",
84
- "postcss-loader": "^6.2.1",
85
- "prettier": "^2.6.2",
86
- "react": "^17.0.2",
87
- "react-datepicker": "^4.7.0",
88
- "react-dom": "^17.0.2",
89
- "react-test-renderer": "^17.0.2",
90
- "react-window": "^1.8.6",
91
- "rollup": "^2.70.1",
92
- "rollup-plugin-babel": "^4.4.0",
93
- "rollup-plugin-commonjs": "^10.1.0",
94
- "rollup-plugin-delete": "^2.0.0",
95
- "rollup-plugin-dts": "^4.2.0",
96
- "rollup-plugin-node-resolve": "^5.2.0",
97
- "rollup-plugin-postcss": "^4.0.2",
98
- "rollup-plugin-typescript": "^1.0.1",
99
- "rollup-plugin-typescript-paths": "^1.3.1",
100
- "rollup-plugin-typescript2": "^0.31.2",
101
- "rollup-plugin-web-worker-loader": "^1.6.1",
102
- "sortablejs": "^1.15.0",
103
- "storybook-css-modules-preset": "^1.1.1",
104
- "style-loader": "^3.3.1",
105
- "styled-components": "^5.3.5",
106
- "ts-jest": "^27.1.4",
107
- "typescript": "^4.6.3",
108
- "webpack": "^5.71.0",
109
- "worker-loader": "^3.0.8"
110
- },
111
- "files": [
112
- "dist/"
113
- ],
114
- "resolutions": {
115
- "@storybook/react/webpack": "^5"
116
- }
117
- }
1
+ {
2
+ "name": "@equinor/echo-components",
3
+ "version": "0.5.0-r18-beta-0",
4
+ "description": "Package for creating echo related components.",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "source": "src/index.ts",
8
+ "scripts": {
9
+ "build": "rollup -c",
10
+ "build-watch": "rollup -c -w ",
11
+ "start": "npm run build && node dist/index.js",
12
+ "echo-publish": "npm publish --access public",
13
+ "echo-publish-next": "npm publish --access public --tag next",
14
+ "echo-test": "jest",
15
+ "echo-update": "echo-update",
16
+ "echo-update-version": "echo-update -v",
17
+ "echo-update-next": "echo-update -c",
18
+ "echo-update-all": "echo-update -a",
19
+ "test": "jest --watchAll",
20
+ "test-coverage": "jest --coverage --watchAll",
21
+ "patch": "npm version patch",
22
+ "major": "npm version major",
23
+ "minor": "npm version minor",
24
+ "lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
25
+ "storybook": "start-storybook -p 6006",
26
+ "build-storybook": "build-storybook"
27
+ },
28
+ "author": "Echo Core",
29
+ "license": "MIT",
30
+ "peerDependencies": {
31
+ "@equinor/echo-utils": ">=0.2.11 < 0.3.0",
32
+ "@equinor/eds-core-react": "^0.19.0",
33
+ "react": "^18.1.0",
34
+ "react-dom": "^18.1.0",
35
+ "styled-components": "^5.3.5"
36
+ },
37
+ "dependencies": {
38
+ "@equinor/eds-icons": "^0.10.0",
39
+ "jest-environment-jsdom": "^28.1.0",
40
+ "react-datepicker": "^4.8.0",
41
+ "react-sortablejs": "^6.1.4"
42
+ },
43
+ "devDependencies": {
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",
48
+ "@equinor/echo-update": "^1.3.0",
49
+ "@equinor/echo-utils": "^0.2.11",
50
+ "@equinor/eds-core-react": "^0.19.0",
51
+ "@mdx-js/react": "^1.6.22",
52
+ "@rollup/plugin-babel": "^5.3.1",
53
+ "@rollup/plugin-commonjs": "^22.0.2",
54
+ "@rollup/plugin-node-resolve": "^13.3.0",
55
+ "@rollup/plugin-typescript": "^8.4.0",
56
+ "@rollup/plugin-url": "^7.0.0",
57
+ "@storybook/addon-actions": "^6.5.6",
58
+ "@storybook/addon-docs": "^6.5.6",
59
+ "@storybook/addon-essentials": "^6.5.6",
60
+ "@storybook/addon-links": "^6.5.6",
61
+ "@storybook/builder-webpack5": "^6.5.6",
62
+ "@storybook/manager-webpack5": "^6.5.6",
63
+ "@storybook/react": "^6.5.10",
64
+ "@svgr/rollup": "^6.2.1",
65
+ "@svgr/webpack": "^6.2.1",
66
+ "@testing-library/dom": "^8.13.0",
67
+ "@testing-library/react": "^12.1.4",
68
+ "@types/jest": "^28.1.0",
69
+ "@types/react": "^17.0.43",
70
+ "@types/react-datepicker": "^4.4.1",
71
+ "@types/react-test-renderer": "^17.0.1",
72
+ "@types/react-window": "^1.8.5",
73
+ "@types/sortablejs": "^1.10.7",
74
+ "@typescript-eslint/eslint-plugin": "^5.27.0",
75
+ "@typescript-eslint/parser": "^5.27.0",
76
+ "babel-loader": "^8.2.5",
77
+ "css-loader": "^6.7.1",
78
+ "eslint": "^8.16.0",
79
+ "eslint-config-prettier": "^8.5.0",
80
+ "eslint-plugin-prettier": "^4.0.0",
81
+ "eslint-plugin-react": "^7.30.0",
82
+ "eslint-plugin-react-hooks": "^4.5.0",
83
+ "html-webpack-plugin": "^5.5.0",
84
+ "identity-obj-proxy": "^3.0.0",
85
+ "jest": "^28.1.0",
86
+ "jest-svg-transformer": "^1.0.0",
87
+ "postcss": "^8.4.14",
88
+ "postcss-loader": "^7.0.0",
89
+ "prettier": "^2.6.2",
90
+ "react": "^18.2.0",
91
+ "react-datepicker": "^4.8.0",
92
+ "react-dom": "^18.2.0",
93
+ "react-test-renderer": "^17.0.2",
94
+ "react-window": "^1.8.7",
95
+ "rollup": "^2.75.5",
96
+ "rollup-plugin-delete": "^2.0.0",
97
+ "rollup-plugin-dts": "^4.2.2",
98
+ "rollup-plugin-postcss": "^4.0.2",
99
+ "rollup-plugin-typescript-paths": "^1.3.1",
100
+ "rollup-plugin-web-worker-loader": "^1.6.1",
101
+ "sortablejs": "^1.15.0",
102
+ "storybook-css-modules-preset": "^1.1.1",
103
+ "style-loader": "^3.3.1",
104
+ "styled-components": "^5.3.5",
105
+ "ts-jest": "^28.0.3",
106
+ "typescript": "^4.7.2",
107
+ "webpack": "^5.72.1",
108
+ "worker-loader": "^3.0.8"
109
+ },
110
+ "files": [
111
+ "dist/"
112
+ ],
113
+ "resolutions": {
114
+ "@storybook/react/webpack": "^5"
115
+ },
116
+ "overrides": {
117
+ "@mdx-js/react": {
118
+ "react": "^18.2.0",
119
+ "react-dom": "^18.2.0"
120
+ }
121
+ }
122
+ }