@kando-env/kando-ui 1.0.22-alpha.1 → 1.0.22-alpha.4
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.
- package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +1 -1
- package/lib/DashboardV2/SamplingParameters/SamplingParameters.stories.js +4 -2
- package/lib/DashboardV2/SamplingParameters/charts/options/options.js +28 -31
- package/lib/DashboardV2/SamplingParameters/dataParser.js +8 -15
- package/lib/DashboardV2/SiteDashboard.js +12 -13
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/Areas.js +3 -3
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/Factories.js +7 -6
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.js +4 -5
- package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.js +2 -2
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +11 -6
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/Eta.js +1 -1
- package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +1 -33
- package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/MostCommon.js +1 -1
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/PieChart.js +2 -2
- package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/styles.js +2 -2
- package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/styles.js +2 -2
- package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.js +6 -2
- package/lib/DashboardV2/WaterAuthorityDashboard.js +1 -2
- package/lib/EventsView/views/components/Body.js +2 -4
- package/lib/EventsView/views/components/events/events_list/EventsList.js +19 -20
- package/lib/Router.js +3 -4
- package/lib/macros/getVersion.js +1 -1
- package/lib/shared/components/KandoNavbar/KandoNavbar.js +15 -15
- package/lib/shared/components/PopupModal/PopupModal.js +1 -1
- package/lib/shared/components/Toggle/Toggle.js +3 -4
- package/lib/shared/utilities/Truncate.js +6 -10
- package/lib/styles.scss +1 -1
- package/package.json +154 -149
package/package.json
CHANGED
|
@@ -1,151 +1,156 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"
|
|
150
|
-
|
|
2
|
+
"name": "@kando-env/kando-ui",
|
|
3
|
+
"version": "1.0.22-alpha.4",
|
|
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
|
+
}
|
|
151
156
|
}
|