@equinor/echo-components 0.5.5 → 0.5.7

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.
Files changed (71) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +62 -62
  3. package/dist/components/buttonWithPopover/ButtonWithPopover.d.ts +21 -21
  4. package/dist/components/contextMenu/ContextMenu.d.ts +35 -35
  5. package/dist/components/contextMenuPopover/DataInfoButton.d.ts +19 -19
  6. package/dist/components/contextMenuPopover/DataInfoPopover.d.ts +18 -18
  7. package/dist/components/datePicker/PopupHeader.d.ts +19 -19
  8. package/dist/components/datePicker/ReactDatePicker.d.ts +19 -19
  9. package/dist/components/dialogGenerator/DialogGenerator.d.ts +26 -26
  10. package/dist/components/dropdown/Dropdown.d.ts +37 -37
  11. package/dist/components/echoBottomBar/EchoBottomBar.d.ts +7 -7
  12. package/dist/components/echoCard/Body.d.ts +7 -7
  13. package/dist/components/echoCard/DateSection.d.ts +8 -8
  14. package/dist/components/echoCard/EchoCard.d.ts +7 -7
  15. package/dist/components/echoCard/LinkSection.d.ts +8 -8
  16. package/dist/components/echoCard/Title.d.ts +13 -13
  17. package/dist/components/echoCard/index.d.ts +14 -14
  18. package/dist/components/echoHeader/EchoHeader.d.ts +20 -20
  19. package/dist/components/index.d.ts +15 -14
  20. package/dist/components/inlineTagIconLink/InlineTagIconLink.d.ts +12 -12
  21. package/dist/components/listItem/ListItem.d.ts +50 -0
  22. package/dist/components/listItem/index.d.ts +1 -0
  23. package/dist/components/listRow/ListRow.d.ts +29 -29
  24. package/dist/components/sidesheet/enums.d.ts +5 -5
  25. package/dist/components/sidesheet/index.d.ts +11 -11
  26. package/dist/components/sidesheet/sheet/Sheet.d.ts +19 -19
  27. package/dist/components/sidesheet/sheet/index.d.ts +1 -1
  28. package/dist/components/sidesheet/sheet/utils.d.ts +2 -2
  29. package/dist/components/sidesheet/sheetTopArea/SheetTopArea.d.ts +16 -16
  30. package/dist/components/sidesheet/sheetTopArea/index.d.ts +1 -1
  31. package/dist/components/tagContextMenu/TagContextMenu.d.ts +30 -30
  32. package/dist/components/timePicker/TimePicker.d.ts +12 -12
  33. package/dist/elements/draggableItemsWrapper/DraggableItemsWrapper.d.ts +18 -18
  34. package/dist/elements/icon/Icon.d.ts +20 -20
  35. package/dist/elements/index.d.ts +8 -8
  36. package/dist/elements/radioButtonGroup/RadioButtonGroup.d.ts +20 -20
  37. package/dist/elements/roundIconButton/RoundIconButton.d.ts +13 -13
  38. package/dist/elements/sliderField/SliderField.d.ts +25 -25
  39. package/dist/elements/tagIcon/TagIcon.d.ts +16 -16
  40. package/dist/elements/tagIcon/TagIconShadow.d.ts +13 -13
  41. package/dist/elements/textIconButton/TextIconButton.d.ts +19 -19
  42. package/dist/helpers/classnames.d.ts +5 -0
  43. package/dist/helpers/getIcon.d.ts +2 -2
  44. package/dist/helpers/index.d.ts +3 -2
  45. package/dist/helpers/tagCategoryIcon.d.ts +38 -38
  46. package/dist/icons/echoAssets/data.d.ts +3 -3
  47. package/dist/icons/echoAssets/external.d.ts +3 -3
  48. package/dist/icons/echoAssets/index.d.ts +5 -5
  49. package/dist/icons/index.d.ts +1 -1
  50. package/dist/index.d.ts +8 -8
  51. package/dist/index.js +503 -413
  52. package/dist/index.js.map +1 -1
  53. package/dist/setupTests.d.ts +1 -1
  54. package/dist/structure/iconList/IconList.d.ts +32 -32
  55. package/dist/structure/iconList/createListRow.d.ts +14 -14
  56. package/dist/structure/index.d.ts +3 -3
  57. package/dist/structure/linkCard/LinkCard.d.ts +26 -26
  58. package/dist/structure/optionsList/OptionsList.d.ts +24 -24
  59. package/dist/theme/index.d.ts +1 -1
  60. package/dist/theme/themeConst.d.ts +65 -65
  61. package/dist/types/actionButton.d.ts +6 -6
  62. package/dist/types/dataInformation.d.ts +8 -8
  63. package/dist/types/draggableItem.d.ts +5 -5
  64. package/dist/types/expandableRowProps.d.ts +6 -6
  65. package/dist/types/iconItem.d.ts +4 -4
  66. package/dist/types/iconListItem.d.ts +6 -6
  67. package/dist/types/index.d.ts +9 -9
  68. package/dist/types/linkCardItem.d.ts +5 -5
  69. package/dist/types/optionsItem.d.ts +6 -6
  70. package/dist/types/radioButtonItem.d.ts +4 -4
  71. package/package.json +121 -120
package/package.json CHANGED
@@ -1,120 +1,121 @@
1
- {
2
- "name": "@equinor/echo-components",
3
- "version": "0.5.5",
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
- "re-yalc": "npm run build && yalc push --sig"
28
- },
29
- "author": "Echo Core",
30
- "license": "MIT",
31
- "peerDependencies": {
32
- "@equinor/echo-utils": "^0.2.12",
33
- "@equinor/eds-core-react": "^0.25.0",
34
- "@equinor/eds-icons": "^0.15.0",
35
- "react": "^17.0.2",
36
- "react-dom": "^17.0.2",
37
- "styled-components": "^5.3.5"
38
- },
39
- "dependencies": {
40
- "@babel/runtime": "^7.20.0",
41
- "jest-environment-jsdom": "^29.2.2",
42
- "react-datepicker": "^4.8.0",
43
- "react-sortablejs": "^6.1.4",
44
- "sortablejs": "^1.15.0"
45
- },
46
- "devDependencies": {
47
- "@equinor/eds-icons": "^0.15.0",
48
- "@babel/core": "^7.18.2",
49
- "@babel/plugin-transform-runtime": "^7.19.6",
50
- "@babel/preset-env": "^7.18.2",
51
- "@babel/preset-react": "^7.17.12",
52
- "@babel/preset-typescript": "^7.17.12",
53
- "@equinor/echo-update": "^1.3.0",
54
- "@equinor/echo-utils": "^0.2.12",
55
- "@equinor/eds-core-react": "^0.25.0",
56
- "@rollup/plugin-babel": "^6.0.2",
57
- "@rollup/plugin-commonjs": "^23.0.2",
58
- "@rollup/plugin-node-resolve": "^15.0.1",
59
- "@rollup/plugin-typescript": "^9.0.2",
60
- "@rollup/plugin-url": "^8.0.1",
61
- "@storybook/addon-actions": "^6.5.6",
62
- "@storybook/addon-docs": "^6.5.6",
63
- "@storybook/addon-essentials": "^6.5.6",
64
- "@storybook/addon-links": "^6.5.6",
65
- "@storybook/builder-webpack5": "^6.5.6",
66
- "@storybook/manager-webpack5": "^6.5.6",
67
- "@storybook/react": "^6.5.6",
68
- "@svgr/rollup": "^6.5.1",
69
- "@svgr/webpack": "^6.2.1",
70
- "@testing-library/dom": "^8.13.0",
71
- "@testing-library/react": "^12.1.4",
72
- "@types/jest": "^29.2.0",
73
- "@types/react": "^17.0.43",
74
- "@types/react-datepicker": "^4.4.1",
75
- "@types/react-test-renderer": "^17.0.1",
76
- "@types/react-window": "^1.8.5",
77
- "@types/sortablejs": "^1.10.7",
78
- "@typescript-eslint/eslint-plugin": "^5.40.1",
79
- "@typescript-eslint/parser": "^5.40.1",
80
- "babel-loader": "^8.2.5",
81
- "css-loader": "^6.7.1",
82
- "eslint": "^8.25.0",
83
- "eslint-config-prettier": "^8.5.0",
84
- "eslint-plugin-prettier": "^4.2.1",
85
- "eslint-plugin-react": "^7.31.0",
86
- "eslint-plugin-react-hooks": "^4.6.0",
87
- "html-webpack-plugin": "^5.5.0",
88
- "identity-obj-proxy": "^3.0.0",
89
- "jest": "^29.2.2",
90
- "jest-svg-transformer": "^1.0.0",
91
- "postcss": "^8.4.14",
92
- "postcss-loader": "^7.0.0",
93
- "prettier": "^2.6.2",
94
- "react": "^17.0.2",
95
- "react-datepicker": "^4.8.0",
96
- "react-dom": "^17.0.2",
97
- "react-test-renderer": "^17.0.2",
98
- "react-window": "^1.8.7",
99
- "rollup": "^3.2.5",
100
- "rollup-plugin-delete": "^2.0.0",
101
- "rollup-plugin-peer-deps-external": "^2.2.4",
102
- "rollup-plugin-postcss": "^4.0.2",
103
- "rollup-plugin-typescript-paths": "^1.4.0",
104
- "rollup-plugin-visualizer": "^5.8.3",
105
- "storybook-css-modules-preset": "^1.1.1",
106
- "style-loader": "^3.3.1",
107
- "styled-components": "^5.3.5",
108
- "ts-jest": "^29.0.3",
109
- "tsconfig-paths-webpack-plugin": "^4.0.0",
110
- "typescript": "^4.7.2",
111
- "webpack": "^5.72.1",
112
- "worker-loader": "^3.0.8"
113
- },
114
- "files": [
115
- "dist/"
116
- ],
117
- "resolutions": {
118
- "@storybook/react/webpack": "^5"
119
- }
120
- }
1
+ {
2
+ "name": "@equinor/echo-components",
3
+ "version": "0.5.7",
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
+ "re-yalc": "npm run build && yalc push --sig"
28
+ },
29
+ "author": "Echo Core",
30
+ "license": "MIT",
31
+ "peerDependencies": {
32
+ "@equinor/echo-utils": "^0.2.12",
33
+ "@equinor/eds-core-react": "^0.25.0",
34
+ "@equinor/eds-icons": "^0.15.0",
35
+ "react": "^17.0.2",
36
+ "react-dom": "^17.0.2",
37
+ "styled-components": "^5.3.5"
38
+ },
39
+ "dependencies": {
40
+ "@babel/runtime": "^7.20.0",
41
+ "jest-environment-jsdom": "^29.2.2",
42
+ "react-datepicker": "^4.8.0",
43
+ "react-sortablejs": "^6.1.4",
44
+ "sortablejs": "^1.15.0"
45
+ },
46
+ "devDependencies": {
47
+ "@babel/core": "^7.18.2",
48
+ "@babel/plugin-transform-runtime": "^7.19.6",
49
+ "@babel/preset-env": "^7.18.2",
50
+ "@babel/preset-react": "^7.17.12",
51
+ "@babel/preset-typescript": "^7.17.12",
52
+ "@equinor/echo-update": "^1.3.0",
53
+ "@equinor/echo-utils": "^0.2.12",
54
+ "@equinor/eds-core-react": "^0.25.0",
55
+ "@equinor/eds-icons": "^0.15.0",
56
+ "@rollup/plugin-babel": "^6.0.2",
57
+ "@rollup/plugin-commonjs": "^23.0.2",
58
+ "@rollup/plugin-node-resolve": "^15.0.1",
59
+ "@rollup/plugin-typescript": "^9.0.2",
60
+ "@rollup/plugin-url": "^8.0.1",
61
+ "@storybook/addon-actions": "^6.5.6",
62
+ "@storybook/addon-docs": "^6.5.6",
63
+ "@storybook/addon-essentials": "^6.5.6",
64
+ "@storybook/addon-links": "^6.5.6",
65
+ "@storybook/builder-webpack5": "^6.5.6",
66
+ "@storybook/manager-webpack5": "^6.5.6",
67
+ "@storybook/react": "^6.5.6",
68
+ "@svgr/rollup": "^6.5.1",
69
+ "@svgr/webpack": "^6.2.1",
70
+ "@testing-library/dom": "^8.13.0",
71
+ "@testing-library/react": "^12.1.4",
72
+ "@types/jest": "^29.2.0",
73
+ "@types/react": "^17.0.43",
74
+ "@types/react-datepicker": "^4.4.1",
75
+ "@types/react-test-renderer": "^17.0.1",
76
+ "@types/react-window": "^1.8.5",
77
+ "@types/sortablejs": "^1.10.7",
78
+ "@types/styled-components": "^5.1.26",
79
+ "@typescript-eslint/eslint-plugin": "^5.40.1",
80
+ "@typescript-eslint/parser": "^5.40.1",
81
+ "babel-loader": "^8.2.5",
82
+ "css-loader": "^6.7.1",
83
+ "eslint": "^8.25.0",
84
+ "eslint-config-prettier": "^8.5.0",
85
+ "eslint-plugin-prettier": "^4.2.1",
86
+ "eslint-plugin-react": "^7.31.0",
87
+ "eslint-plugin-react-hooks": "^4.6.0",
88
+ "html-webpack-plugin": "^5.5.0",
89
+ "identity-obj-proxy": "^3.0.0",
90
+ "jest": "^29.2.2",
91
+ "jest-svg-transformer": "^1.0.0",
92
+ "postcss": "^8.4.14",
93
+ "postcss-loader": "^7.0.0",
94
+ "prettier": "^2.6.2",
95
+ "react": "^17.0.2",
96
+ "react-datepicker": "^4.8.0",
97
+ "react-dom": "^17.0.2",
98
+ "react-test-renderer": "^17.0.2",
99
+ "react-window": "^1.8.7",
100
+ "rollup": "^3.2.5",
101
+ "rollup-plugin-delete": "^2.0.0",
102
+ "rollup-plugin-peer-deps-external": "^2.2.4",
103
+ "rollup-plugin-postcss": "^4.0.2",
104
+ "rollup-plugin-typescript-paths": "^1.4.0",
105
+ "rollup-plugin-visualizer": "^5.8.3",
106
+ "storybook-css-modules-preset": "^1.1.1",
107
+ "style-loader": "^3.3.1",
108
+ "styled-components": "^5.3.5",
109
+ "ts-jest": "^29.0.3",
110
+ "tsconfig-paths-webpack-plugin": "^4.0.0",
111
+ "typescript": "^4.7.2",
112
+ "webpack": "^5.72.1",
113
+ "worker-loader": "^3.0.8"
114
+ },
115
+ "files": [
116
+ "dist/"
117
+ ],
118
+ "resolutions": {
119
+ "@storybook/react/webpack": "^5"
120
+ }
121
+ }