@kando-env/kando-ui 1.0.22-alpha.0 → 1.0.22-alpha.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.
Files changed (27) hide show
  1. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +1 -1
  2. package/lib/DashboardV2/SamplingParameters/SamplingParameters.stories.js +4 -2
  3. package/lib/DashboardV2/SamplingParameters/charts/options/options.js +28 -31
  4. package/lib/DashboardV2/SamplingParameters/dataParser.js +8 -15
  5. package/lib/DashboardV2/SiteDashboard.js +12 -13
  6. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/Areas.js +3 -3
  7. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/Factories.js +7 -6
  8. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.js +4 -5
  9. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.js +2 -2
  10. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +13 -10
  11. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/Eta.js +2 -1
  12. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +2 -35
  13. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/MostCommon.js +1 -1
  14. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/PieChart.js +2 -2
  15. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/styles.js +2 -2
  16. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/styles.js +2 -2
  17. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.js +6 -2
  18. package/lib/DashboardV2/WaterAuthorityDashboard.js +1 -2
  19. package/lib/EventsView/views/components/Body.js +2 -4
  20. package/lib/EventsView/views/components/events/events_list/EventsList.js +19 -20
  21. package/lib/macros/getVersion.js +1 -1
  22. package/lib/shared/components/KandoNavbar/KandoNavbar.js +15 -15
  23. package/lib/shared/components/PopupModal/PopupModal.js +1 -1
  24. package/lib/shared/components/Toggle/Toggle.js +3 -4
  25. package/lib/shared/utilities/Truncate.js +6 -10
  26. package/lib/styles.scss +1 -1
  27. package/package.json +154 -148
package/package.json CHANGED
@@ -1,150 +1,156 @@
1
1
  {
2
- "name": "@kando-env/kando-ui",
3
- "version": "1.0.22-alpha.0",
4
- "main": "lib/index.js",
5
- "author": "Nadav(Private) <nadavk72@gmail.com>",
6
- "scripts": {
7
- "start": "cross-env TSC_COMPILE_ON_ERROR=true PORT=3005 react-scripts start",
8
- "test": "TSC_COMPILE_ON_ERROR=true react-scripts test",
9
- "build-demo": "cross-env TSC_COMPILE_ON_ERROR=true react-scripts build",
10
- "serve-demo": "nodemon demo-server.js",
11
- "pre-build": "rimraf lib",
12
- "babel": "cross-env NODE_ENV=production babel src/bundles --extensions .ts,.tsx,.js,.jsx --out-dir lib --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__",
13
- "babel-watch": "cross-env NODE_ENV=production babel src/bundles --watch --extensions .ts,.tsx,.js,.jsx --out-dir lib --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__",
14
- "build-watch": "npm run babel-watch",
15
- "build": "npm run pre-build && npm run babel",
16
- "storybook": "start-storybook -p 6006 -s ./public",
17
- "build-storybook": "build-storybook -s ./public",
18
- "lint-staged": "lint-staged",
19
- "pretty-staged": "pretty-quick --staged",
20
- "version-alpha": "npm version prerelease --preid alpha"
21
- },
22
- "proxy": "http://localhost:3000",
23
- "engines": {
24
- "node": "12"
25
- },
26
- "dependencies": {
27
- "@fortawesome/fontawesome-svg-core": "^1.2.30",
28
- "@fortawesome/free-solid-svg-icons": "^5.14.0",
29
- "@fortawesome/react-fontawesome": "^0.1.11",
30
- "@kenshooui/react-multi-select": "^1.1.6",
31
- "@reduxjs/toolkit": "^1.6.1",
32
- "@svgr/webpack": "^5.5.0",
33
- "actioncable": "^5.2.6",
34
- "array-to-tree": "^3.3.2",
35
- "axios": "^0.21.1",
36
- "bootstrap": "^4.5.3",
37
- "dayjs": "^1.10.6",
38
- "highcharts": "^8.2.0",
39
- "highcharts-react-official": "^3.0.0",
40
- "immer": "^8.0.1",
41
- "jquery": "^3.5.1",
42
- "leaflet": "^1.6.0",
43
- "leaflet-geometryutil": "^0.9.3",
44
- "leaflet-polylinedecorator": "^1.6.0",
45
- "lodash": "^4.17.20",
46
- "moment": "^2.27.0",
47
- "moment-timezone": "^0.5.33",
48
- "msw": "^0.33.3",
49
- "prop-types": "^15.7.2",
50
- "react": "^16.13.0",
51
- "react-bootstrap": "^1.4.0",
52
- "react-content-loader": "^6.0.3",
53
- "react-d3-tree": "^1.16.1",
54
- "react-data-table-component": "^7.0.0-rc2",
55
- "react-dom": "^16.13.0",
56
- "react-full-screen": "^0.2.3",
57
- "react-on-rails": "11.1.7",
58
- "react-redux": "^7.2.0",
59
- "react-responsive-carousel": "^3.2.18",
60
- "react-responsive-modal": "^6.1.0",
61
- "react-router-dom": "^5.2.0",
62
- "react-select": "^4.3.1",
63
- "redux": "^4.0.5",
64
- "redux-devtools-extension": "^2.13.9",
65
- "redux-logger": "^3.0.6",
66
- "redux-thunk": "^2.3.0",
67
- "styled-components": "^5.3.0",
68
- "uuid": "^8.3.2"
69
- },
70
- "browserslist": {
71
- "production": [
72
- ">0.2%",
73
- "not dead",
74
- "not op_mini all"
75
- ],
76
- "development": [
77
- "last 1 chrome version",
78
- "last 1 firefox version",
79
- "last 1 safari version"
80
- ]
81
- },
82
- "devDependencies": {
83
- "@babel/cli": "^7.14.5",
84
- "@babel/core": "^7.14.3",
85
- "@babel/plugin-transform-runtime": "^7.14.5",
86
- "@babel/preset-env": "^7.14.7",
87
- "@babel/preset-typescript": "^7.14.5",
88
- "@babel/runtime": "^7.14.6",
89
- "@storybook/addon-actions": "^6.3.4",
90
- "@storybook/addon-essentials": "^6.3.4",
91
- "@storybook/addon-links": "^6.3.4",
92
- "@storybook/addon-postcss": "^2.0.0",
93
- "@storybook/react": "^6.3.4",
94
- "@testing-library/jest-dom": "^4.2.4",
95
- "@testing-library/react": "^9.5.0",
96
- "@testing-library/user-event": "^7.2.1",
97
- "@types/jest": "^24.9.1",
98
- "@types/jquery": "^3.5.5",
99
- "@types/leaflet": "^1.7.3",
100
- "@types/lodash": "^4.14.168",
101
- "@types/moment-timezone": "^0.5.30",
102
- "@types/node": "^12.12.30",
103
- "@types/react": "^16.9.23",
104
- "@types/react-dom": "^16.9.5",
105
- "@types/react-redux": "^7.1.7",
106
- "@types/react-router-dom": "^5.1.7",
107
- "@types/react-select": "^3.1.2",
108
- "@types/styled-components": "^5.1.10",
109
- "@types/webpack-env": "^1.16.0",
110
- "@typescript-eslint/eslint-plugin": "^4.0.0",
111
- "@typescript-eslint/parser": "^4.0.0",
112
- "babel-eslint": "^10.0.0",
113
- "babel-loader": "8.1.0",
114
- "babel-plugin-module-resolver": "^4.1.0",
115
- "babel-plugin-named-asset-import": "^0.3.7",
116
- "babel-plugin-styled-components": "^1.13.2",
117
- "babel-preset-react": "^6.24.1",
118
- "babel-preset-react-app": "^10.0.0",
119
- "cache-loader": "^4.1.0",
120
- "cross-env": "^7.0.3",
121
- "eslint": "^7.5.0",
122
- "eslint-config-react-app": "^6.0.0",
123
- "eslint-plugin-flowtype": "^5.2.0",
124
- "eslint-plugin-import": "^2.22.0",
125
- "eslint-plugin-jsx-a11y": "^6.3.1",
126
- "eslint-plugin-react": "^7.20.3",
127
- "eslint-plugin-react-hooks": "^4.0.8",
128
- "js-yaml": "^4.1.0",
129
- "lint-staged": "^11.0.0",
130
- "msw-storybook-addon": "^1.2.0",
131
- "node-sass": "^6.0.1",
132
- "nodemon": "^2.0.8",
133
- "prettier": "^2.3.1",
134
- "pretty-quick": "^3.1.1",
135
- "preval.macro": "^5.0.0",
136
- "react-scripts": "^4.0.3",
137
- "rimraf": "^3.0.2",
138
- "thread-loader": "^3.0.1",
139
- "ts-loader": "4.4.2",
140
- "typescript": "^3.7.5",
141
- "webpack-bundle-analyzer": "^4.4.0"
142
- },
143
- "lint-staged": {
144
- "*": "eslint"
145
- },
146
- "license": "UNLICENSED",
147
- "msw": {
148
- "workerDirectory": "public"
149
- }
2
+ "name": "@kando-env/kando-ui",
3
+ "version": "1.0.22-alpha.3",
4
+ "main": "lib/index.js",
5
+ "author": "Nadav(Private) <nadavk72@gmail.com>",
6
+ "scripts": {
7
+ "start": "cross-env TSC_COMPILE_ON_ERROR=true PORT=3005 react-scripts start",
8
+ "test": "TSC_COMPILE_ON_ERROR=true react-scripts test",
9
+ "build-demo": "cross-env TSC_COMPILE_ON_ERROR=true react-scripts build",
10
+ "serve-demo": "nodemon demo-server.js",
11
+ "pre-build": "rimraf lib",
12
+ "prepare": "husky install",
13
+ "babel": "cross-env NODE_ENV=production babel src/bundles --extensions .ts,.tsx,.js,.jsx --out-dir lib --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__",
14
+ "babel-watch": "cross-env NODE_ENV=production babel src/bundles --watch --extensions .ts,.tsx,.js,.jsx --out-dir lib --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__",
15
+ "build-watch": "npm run babel-watch",
16
+ "build": "npm run pre-build && npm run babel",
17
+ "storybook": "start-storybook -p 6006 -s ./public",
18
+ "build-storybook": "build-storybook -s ./public",
19
+ "lint-staged": "lint-staged",
20
+ "lint-fix": "eslint ./src --fix",
21
+ "pretty-staged": "pretty-quick --staged",
22
+ "version-alpha": "npm version prerelease --preid alpha"
23
+ },
24
+ "proxy": "http://localhost:3000",
25
+ "engines": {
26
+ "node": "12"
27
+ },
28
+ "dependencies": {
29
+ "@fortawesome/fontawesome-svg-core": "^1.2.30",
30
+ "@fortawesome/free-solid-svg-icons": "^5.14.0",
31
+ "@fortawesome/react-fontawesome": "^0.1.11",
32
+ "@kenshooui/react-multi-select": "^1.1.6",
33
+ "@reduxjs/toolkit": "^1.6.1",
34
+ "@svgr/webpack": "^5.5.0",
35
+ "actioncable": "^5.2.6",
36
+ "array-to-tree": "^3.3.2",
37
+ "axios": "^0.21.1",
38
+ "bootstrap": "^4.5.3",
39
+ "dayjs": "^1.10.6",
40
+ "eslint-plugin-etc": "^1.5.4",
41
+ "highcharts": "^8.2.0",
42
+ "highcharts-react-official": "^3.0.0",
43
+ "immer": "^8.0.1",
44
+ "jquery": "^3.5.1",
45
+ "leaflet": "^1.6.0",
46
+ "leaflet-geometryutil": "^0.9.3",
47
+ "leaflet-polylinedecorator": "^1.6.0",
48
+ "lodash": "^4.17.20",
49
+ "moment": "^2.27.0",
50
+ "moment-timezone": "^0.5.33",
51
+ "msw": "^0.33.3",
52
+ "prop-types": "^15.7.2",
53
+ "react": "^16.13.0",
54
+ "react-bootstrap": "^1.4.0",
55
+ "react-content-loader": "^6.0.3",
56
+ "react-d3-tree": "^1.16.1",
57
+ "react-data-table-component": "^7.0.0-rc2",
58
+ "react-dom": "^16.13.0",
59
+ "react-full-screen": "^0.2.3",
60
+ "react-on-rails": "11.1.7",
61
+ "react-redux": "^7.2.0",
62
+ "react-responsive-carousel": "^3.2.18",
63
+ "react-responsive-modal": "^6.1.0",
64
+ "react-router-dom": "^5.2.0",
65
+ "react-select": "^4.3.1",
66
+ "redux": "^4.0.5",
67
+ "redux-devtools-extension": "^2.13.9",
68
+ "redux-logger": "^3.0.6",
69
+ "redux-thunk": "^2.3.0",
70
+ "styled-components": "^5.3.0",
71
+ "uuid": "^8.3.2"
72
+ },
73
+ "browserslist": {
74
+ "production": [
75
+ ">0.2%",
76
+ "not dead",
77
+ "not op_mini all"
78
+ ],
79
+ "development": [
80
+ "last 1 chrome version",
81
+ "last 1 firefox version",
82
+ "last 1 safari version"
83
+ ]
84
+ },
85
+ "devDependencies": {
86
+ "@babel/cli": "^7.14.5",
87
+ "@babel/core": "^7.14.3",
88
+ "@babel/plugin-transform-runtime": "^7.14.5",
89
+ "@babel/preset-env": "^7.14.7",
90
+ "@babel/preset-typescript": "^7.14.5",
91
+ "@babel/runtime": "^7.14.6",
92
+ "@storybook/addon-actions": "^6.3.4",
93
+ "@storybook/addon-essentials": "^6.3.4",
94
+ "@storybook/addon-links": "^6.3.4",
95
+ "@storybook/addon-postcss": "^2.0.0",
96
+ "@storybook/react": "^6.3.4",
97
+ "@testing-library/jest-dom": "^4.2.4",
98
+ "@testing-library/react": "^9.5.0",
99
+ "@testing-library/user-event": "^7.2.1",
100
+ "@types/jest": "^24.9.1",
101
+ "@types/jquery": "^3.5.5",
102
+ "@types/leaflet": "^1.7.3",
103
+ "@types/lodash": "^4.14.168",
104
+ "@types/moment-timezone": "^0.5.30",
105
+ "@types/node": "^12.12.30",
106
+ "@types/preval.macro": "^3.0.0",
107
+ "@types/react": "^16.9.23",
108
+ "@types/react-dom": "^16.9.5",
109
+ "@types/react-redux": "^7.1.7",
110
+ "@types/react-router-dom": "^5.1.7",
111
+ "@types/react-select": "^3.1.2",
112
+ "@types/styled-components": "^5.1.10",
113
+ "@types/webpack-env": "^1.16.0",
114
+ "@typescript-eslint/eslint-plugin": "^4.0.0",
115
+ "@typescript-eslint/parser": "^4.0.0",
116
+ "babel-eslint": "^10.0.0",
117
+ "babel-loader": "8.1.0",
118
+ "babel-plugin-module-resolver": "^4.1.0",
119
+ "babel-plugin-named-asset-import": "^0.3.7",
120
+ "babel-plugin-styled-components": "^1.13.2",
121
+ "babel-preset-react": "^6.24.1",
122
+ "babel-preset-react-app": "^10.0.0",
123
+ "cache-loader": "^4.1.0",
124
+ "cross-env": "^7.0.3",
125
+ "eslint": "^7.5.0",
126
+ "eslint-config-react-app": "^6.0.0",
127
+ "eslint-plugin-flowtype": "^5.2.0",
128
+ "eslint-plugin-import": "^2.22.0",
129
+ "eslint-plugin-jsx-a11y": "^6.3.1",
130
+ "eslint-plugin-react": "^7.20.3",
131
+ "eslint-plugin-react-hooks": "^4.0.8",
132
+ "husky": "^7.0.1",
133
+ "js-yaml": "^4.1.0",
134
+ "jscodeshift": "^0.13.0",
135
+ "lint-staged": "^11.0.0",
136
+ "msw-storybook-addon": "^1.2.0",
137
+ "node-sass": "^6.0.1",
138
+ "nodemon": "^2.0.8",
139
+ "prettier": "^2.3.1",
140
+ "pretty-quick": "^3.1.1",
141
+ "preval.macro": "^5.0.0",
142
+ "react-scripts": "^4.0.3",
143
+ "rimraf": "^3.0.2",
144
+ "thread-loader": "^3.0.1",
145
+ "ts-loader": "4.4.2",
146
+ "typescript": "^3.7.5",
147
+ "webpack-bundle-analyzer": "^4.4.0"
148
+ },
149
+ "lint-staged": {
150
+ "*.{js,jsx,ts,tsx}": "eslint --fix"
151
+ },
152
+ "license": "UNLICENSED",
153
+ "msw": {
154
+ "workerDirectory": "public"
155
+ }
150
156
  }