Skip to content

Commit 1515fb8

Browse files
authored
Merge pull request #16 from flatlogic/update
update project
2 parents 54f7368 + e18304e commit 1515fb8

File tree

4 files changed

+42
-33
lines changed

4 files changed

+42
-33
lines changed

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [8.2.2] - 18.05.2023
4+
- Update dependencies
5+
- Update react version
6+
- Corrected minor errors
7+
38
## [8.2.1] - 01.07.2022
49
- UI Adjust
510

package.json

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "light-blue-react",
3-
"version": "8.2.0",
3+
"version": "8.2.2",
44
"private": true,
55
"scripts": {
66
"build": "cross-env REACT_APP_BACKEND=true cross-env PUBLIC_URL='./' node scripts/build.js",
@@ -54,61 +54,62 @@
5454
]
5555
},
5656
"dependencies": {
57-
"@amcharts/amcharts4": "^4.10.25",
58-
"@amcharts/amcharts4-geodata": "^4.1.23",
57+
"@amcharts/amcharts4": "^4.10.35",
58+
"@amcharts/amcharts4-geodata": "^4.1.26",
5959
"@fullcalendar/core": "5.11.0",
6060
"@fullcalendar/daygrid": "5.11.0",
6161
"@fullcalendar/interaction": "5.11.0",
6262
"@fullcalendar/list": "5.11.0",
6363
"@fullcalendar/react": "5.11.1",
6464
"@fullcalendar/timegrid": "5.11.0",
6565
"animate.css": "4.1.1",
66-
"apexcharts": "^3.35.3",
66+
"apexcharts": "^3.40.0",
6767
"awesome-bootstrap-checkbox": "https://github.com/flatlogic/awesome-bootstrap-checkbox#bump-to-bootstrap5",
6868
"axios": "^0.27.2",
69-
"bootstrap": "5.1.3",
70-
"classnames": "^2.3.1",
69+
"bootstrap": "5.2.3",
70+
"classnames": "^2.3.2",
7171
"connected-react-router": "6.9.2",
7272
"draft-js": "^0.11.7",
7373
"echarts": "^4.9.0",
7474
"echarts-for-react": "^2.0.16",
7575
"file-saver": "^2.0.5",
76-
"filesize": "^6.3.0",
76+
"filesize": "^6.4.0",
7777
"font-awesome": "4.7.0",
7878
"formik": "1.5.8",
7979
"formsy-react": "0.19.5",
8080
"glyphicons-halflings": "^1.9.1",
81-
"highcharts": "^10.1.0",
82-
"highcharts-react-official": "^3.1.0",
81+
"highcharts": "^10.3.3",
82+
"highcharts-react-official": "^3.2.0",
8383
"history": "^4.10.1",
8484
"jasny-bootstrap": "^4.0.0",
8585
"jsonwebtoken": "^8.5.1",
8686
"line-awesome": "^1.3.0",
8787
"md5": "^2.3.0",
8888
"messenger": "https://github.com/HubSpot/messenger.git",
89-
"moment": "^2.29.3",
89+
"moment": "^2.29.4",
90+
"node-sass": "^8.0.0",
9091
"nvd3": "1.8.6",
9192
"rc-color-picker": "^1.2.6",
9293
"rc-hammerjs": "0.6.10",
9394
"rc-slider": "^9.7.5",
94-
"react": "^17.0.2",
95-
"react-animate-height": "^2.0.23",
95+
"react": "^18.2.0",
96+
"react-animate-height": "^2.1.2",
9697
"react-animated-number": "^0.4.4",
9798
"react-apexcharts": "^1.4.0",
98-
"react-app-polyfill": "^0.2.0",
99+
"react-app-polyfill": "^0.2.2",
99100
"react-autosize-textarea": "^5.0.1",
100101
"react-bootstrap-table": "4.3.1",
101102
"react-bootstrap-table-next": "^3.3.5",
102103
"react-bootstrap-table2-paginator": "^2.1.2",
103104
"react-bootstrap-table2-toolkit": "^1.4.2",
104-
"react-datetime": "^3.1.1",
105+
"react-datetime": "^3.2.0",
105106
"react-dev-utils": "^6.1.1",
106-
"react-dom": "^17.0.2",
107+
"react-dom": "^18.2.0",
107108
"react-draft-wysiwyg": "1.14.7",
108109
"react-dropzone": "^11.7.1",
109110
"react-google-maps": "^9.4.5",
110111
"react-images": "0.5.19",
111-
"react-joyride": "^2.3.0",
112+
"react-joyride": "^2.5.4",
112113
"react-maskedinput": "^4.0.1",
113114
"react-mde": "^11.5.0",
114115
"react-redux": "7.2.8",
@@ -125,18 +126,19 @@
125126
"react-sparklines": "^1.7.0",
126127
"react-syntax-highlighter": "^13.5.3",
127128
"react-table": "6.11.5",
128-
"react-tagsinput": "^3.19.0",
129+
"react-tagsinput": "^3.20.0",
129130
"react-toastify": "^6.2.0",
130131
"react-transition-group": "^4.4.2",
131132
"react-trend": "^1.2.5",
132-
"reactstrap": "^9.1.1",
133-
"redux": "^4.2.0",
133+
"reactstrap": "^9.1.10",
134+
"redux": "^4.2.1",
134135
"redux-thunk": "^2.4.1",
135136
"rickshaw": "1.7.1",
137+
"sass-loader": "^10",
136138
"showdown": "^1.9.1",
137139
"skycons": "^1.0.0",
138140
"sortablejs": "1.15.0",
139-
"styled-components": "^5.3.5",
141+
"styled-components": "^5.3.10",
140142
"uuid": "^8.3.2",
141143
"yup": "^0.32.11"
142144
},
@@ -179,7 +181,6 @@
179181
"lodash.assign": "^4.2.0",
180182
"lodash.clonedeep": "^4.5.0",
181183
"mini-css-extract-plugin": "0.12.0",
182-
"node-sass": "4.14.1",
183184
"optimize-css-assets-webpack-plugin": "5.0.4",
184185
"pnp-webpack-plugin": "1.6.4",
185186
"postcss-flexbugs-fixes": "4.2.1",
@@ -188,7 +189,6 @@
188189
"postcss-safe-parser": "4.0.2",
189190
"redux-logger": "^3.0.6",
190191
"resolve": "1.20.0",
191-
"sass-loader": "7.3.1",
192192
"style-loader": "0.23.1",
193193
"terser-webpack-plugin": "1.4.4",
194194
"url-loader": "1.1.2",
@@ -197,7 +197,10 @@
197197
"webpack-manifest-plugin": "2.2.0",
198198
"workbox-webpack-plugin": "4.3.1"
199199
},
200+
"engines": {
201+
"node": ">=16"
202+
},
200203
"resolutions": {
201-
"react-dom": "17.0.0"
204+
"react-dom": "18.2.0"
202205
}
203206
}

src/components/Header/Header.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ class Header extends React.Component {
144144
</div>
145145
<div className={`d-print-none ${s.root}`}>
146146
<UncontrolledAlert className={`me-3 d-lg-down-none animate__animated animate__bounceIn animate__delay-1s`}>
147-
Check out Light Blue
148-
<button
147+
Check out Light Blue
148+
<button
149149
className="btn-link"
150150
onClick={() => this.setState({ settingsOpen: true })}
151151
>
@@ -166,7 +166,7 @@ class Header extends React.Component {
166166
/>
167167
</InputGroup>
168168
</Collapse>
169-
<Form className="d-md-down-none mx-3 my-auto" inline>
169+
<Form className="d-md-down-none mx-3 my-auto">
170170
<InputGroup className={`input-group-no-border ${s.searchForm}`} >
171171
<InputGroupText className={s.inputGroupText}>
172172
<SearchIcon className={s.headerIcon} />

src/index.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import ReactDOM from 'react-dom';
2+
import ReactDOM from 'react-dom/client';
33
import { routerMiddleware } from 'connected-react-router';
44
import { createStore, applyMiddleware, compose } from 'redux';
55
import { Provider } from 'react-redux'
@@ -16,7 +16,7 @@ import { createHashHistory } from 'history';
1616
const history = createHashHistory();
1717

1818
export function getHistory() {
19-
return history;
19+
return history;
2020
}
2121

2222
axios.defaults.baseURL = config.baseURLApi;
@@ -28,21 +28,22 @@ if (token) {
2828

2929
export const store = createStore(
3030
createRootReducer(history),
31-
compose(
31+
compose(
3232
applyMiddleware(
33-
routerMiddleware(history),
34-
ReduxThunk
33+
routerMiddleware(history),
34+
ReduxThunk
3535
),
3636
)
3737
);
3838

3939
store.dispatch(doInit());
4040

41-
ReactDOM.render(
41+
const root = ReactDOM.createRoot(document.getElementById('root'))
42+
43+
root.render(
4244
<Provider store={store}>
4345
<App />
4446
</Provider>,
45-
document.getElementById('root')
4647
);
4748

4849
// If you want your app to work offline and load faster, you can change

0 commit comments

Comments
 (0)