Skip to content

Commit 450e943

Browse files
committed
update to v1.2.1
1 parent 0ed1833 commit 450e943

33 files changed

Lines changed: 53390 additions & 8882 deletions

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GENERATE_SOURCEMAP=false

CHANGELOG.md

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,40 @@
11
# Change Log
22

3+
## [1.2.1] 2021-08-05
4+
5+
- Update the dependencies
6+
- Migration to React 18
7+
- Migration to sass from node-sass
8+
39
## [1.2.0] 2020-12-08
10+
411
### Enhancements
12+
513
- **Full Hooks Support**: Change `class` components usage with `functional` ones in order to support Hooks
14+
615
### Bug fixing
16+
717
### Misc
18+
819
- Add new branch, named `main`, this will replace the `master` branch
20+
921
### Major style changes
22+
1023
- Remove `src/assets/scss/blk-design-system-react/bootstrap` folder and start using the `node_modules/bootstrap` one
1124
- Add `src/assets/scss/blk-design-system-react/react/_custom-forms.scss` for usage of Bootstrap Switch / Reactstrap CustomInput of type switch
25+
1226
### Deleted components
27+
1328
### Added components
29+
1430
### Deleted dependencies
31+
1532
- react-bootstrap-switch
1633
- This project was not longer maintained, and it had issues with the new React version. The styles for it are still kept inside the product, but we do not recommended using the plugin anymore. You can use the simple Reactstrap CustomInput of type switch or the basic HTML Bootstrap Switch one.
1734
- eslint-plugin-flowtype
35+
1836
### Added dependencies
37+
1938
```
2039
"@testing-library/jest-dom": "5.11.6",
2140
"@testing-library/react": "11.2.2",
@@ -25,7 +44,9 @@
2544
"node-sass-package-importer": "5.3.2",
2645
"web-vitals": "1.0.1"
2746
```
47+
2848
### Updated dependencies
49+
2950
```
3051
chart.js 2.9.3 → 2.9.4
3152
moment 2.24.0 → 2.29.1
@@ -40,35 +61,51 @@ react-scripts 3.4.1 → 4.0.1
4061
reactstrap 8.4.1 → 8.7.1
4162
typescript 3.8.3 → 4.1.2
4263
```
64+
4365
### Important Notes
66+
4467
**The jQuery and TypeScript dependencies are installed only to stop console warnings on install. They are not actually used in our product. So the product is not based on jQuery, and it is not based on TypeScript!**
68+
4569
### Warning
70+
4671
_Some warnings may appear when running the installation command, but they do not affect the UI or the functionality of the product._
4772
_The following warnings will appear when running the installation command, but they do not affect the UI or the functionality of the product (they will be solved in our next update):_
73+
4874
```
4975
npm WARN [email protected] requires a peer of react@^16.5.0 but none is installed. You must install peer dependencies yourself.
5076
npm WARN [email protected] requires a peer of [email protected] || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
5177
npm WARN [email protected] requires a peer of react@^0.14.0 || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
5278
```
5379

5480
## [1.1.0] 2020-04-10
81+
5582
### Bug fixing
83+
5684
- Github
5785
- https://github.com/creativetimofficial/blk-design-system-react/issues/8
5886
- https://github.com/creativetimofficial/blk-design-system-react/issues/7
5987
- https://github.com/creativetimofficial/blk-design-system-react/issues/5
6088
- https://github.com/creativetimofficial/blk-design-system-react/issues/4
6189
- https://github.com/creativetimofficial/blk-design-system-react/issues/2
6290
- https://github.com/creativetimofficial/blk-design-system-react/issues/1
91+
6392
### Major style changes
93+
6494
- `src/assets/scss/blk-design-system-react/react/plugins/_plugin-nouislider.scss`
95+
6596
### Deleted components
97+
6698
### Added components
99+
67100
### Deleted dependencies
101+
68102
### Added dependencies
69-
+ [email protected] (to stop terminal/cmd warnings)
70-
+ [email protected] (to stop terminal/cmd warnings)
103+
104+
- [email protected] (to stop terminal/cmd warnings)
105+
- [email protected] (to stop terminal/cmd warnings)
106+
71107
### Updated dependencies
108+
72109
```
73110
chart.js 2.7.3 → 2.9.3
74111
node-sass 4.11.0 → 4.13.1
@@ -81,14 +118,19 @@ react-router-dom 4.3.1 → 5.1.2
81118
react-scripts 2.1.5 → 3.4.1
82119
reactstrap 7.1.0 → 8.4.1
83120
```
121+
84122
### Warning
123+
85124
**The following warnings may appear when running the installation command, but they do not affect the UI or the functionality of the product:**
125+
86126
```
87127
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
88128
npm WARN deprecated [email protected]: Popper changed home, find its new releases at @popperjs/core
89129
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
90130
```
131+
91132
**The folowing components make react throw errors for using life-cycle methods that will be dropped in React 17.x: react-datetime, react-bootstrap-switch. But the UI or functionality of the product is not affected. When we'll update the product to React 17.x, if the issue will persist, we'll drop support for these components and replace them with other ones that create the same or a similar UI. Also, the warnings are only present in the development, and not in production.**
133+
92134
```
93135
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
94136
@@ -100,6 +142,8 @@ Please update the following components: DateTime, Switch
100142
```
101143

102144
## [1.0.0] 2019-03-04
145+
103146
### Original Release
147+
104148
- Added Reactstrap as base framework
105149
- Added design from BLK Design System by Creative Tim

Documentation/documentation.html

Lines changed: 44 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
/*!
33
44
=========================================================
5-
* BLK Design System React - v1.2.0
5+
* BLK Design System React - v1.2.1
66
=========================================================
77
88
* Product Page: https://www.creative-tim.com/product/blk-design-system-react
9-
* Copyright 2020 Creative Tim (https://www.creative-tim.com)
9+
* Copyright 2022 Creative Tim (https://www.creative-tim.com)
1010
* Licensed under MIT (https://github.com/creativetimofficial/blk-design-system-react/blob/main/LICENSE.md)
1111
1212
* Coded by Creative Tim
@@ -138,7 +138,9 @@
138138
<span class="navbar-toggler-bar bar3"></span>
139139
</button>
140140
</div>
141-
<a class="navbar-brand" href="https://www.creative-tim.com/product/blk-design-system-react?ref=blkdsr-static-docs"
141+
<a
142+
class="navbar-brand"
143+
href="https://www.creative-tim.com/product/blk-design-system-react?ref=blkdsr-static-docs"
142144
>BLK Design System React</a
143145
>
144146
</div>
@@ -157,7 +159,11 @@
157159
<div class="collapse navbar-collapse" id="navigation">
158160
<ul class="navbar-nav ml-auto">
159161
<li class="nav-item">
160-
<a target="_blank" href="https://www.creative-tim.com/product/blk-design-system-pro-react?ref=blkdsr-static-docs" class="nav-link d-none d-lg-block btn btn-primary">
162+
<a
163+
target="_blank"
164+
href="https://www.creative-tim.com/product/blk-design-system-pro-react?ref=blkdsr-static-docs"
165+
class="nav-link d-none d-lg-block btn btn-primary"
166+
>
161167
<i class="tim-icons icon-spaceship"></i> Upgrade to PRO
162168
</a>
163169
</li>
@@ -207,7 +213,7 @@
207213
<div class="page-header clear-filter">
208214
<div
209215
class="page-header-image"
210-
style="background-image: url('../src/assets/img/img_3115.jpg');"
216+
style="background-image: url('../src/assets/img/img_3115.jpg')"
211217
></div>
212218
<div class="content-center">
213219
<div class="col-md-8 ml-auto mr-auto">
@@ -233,17 +239,26 @@ <h1 class="title">BLK• React</h1>
233239
<div class="col-md-3">
234240
<ul class="nav">
235241
<li class="nav-item">
236-
<a href="https://creative-tim.com/contact-us?ref=blkdsr-static-docs-footer" class="nav-link">
242+
<a
243+
href="https://creative-tim.com/contact-us?ref=blkdsr-static-docs-footer"
244+
class="nav-link"
245+
>
237246
Contact Us
238247
</a>
239248
</li>
240249
<li class="nav-item">
241-
<a href="https://creative-tim.com/about-us?ref=blkdsr-static-docs-footer" class="nav-link">
250+
<a
251+
href="https://creative-tim.com/about-us?ref=blkdsr-static-docs-footer"
252+
class="nav-link"
253+
>
242254
About Us
243255
</a>
244256
</li>
245257
<li class="nav-item">
246-
<a href="https://creative-tim.com/blog?ref=blkdsr-static-docs-footer" class="nav-link">
258+
<a
259+
href="https://creative-tim.com/blog?ref=blkdsr-static-docs-footer"
260+
class="nav-link"
261+
>
247262
Blog
248263
</a>
249264
</li>
@@ -257,13 +272,31 @@ <h1 class="title">BLK• React</h1>
257272
<div class="col-md-3">
258273
<h3 class="title">Follow us:</h3>
259274
<div class="btn-wrapper profile">
260-
<a target="_blank" href="https://twitter.com/creativetim" class="btn btn-icon btn-neutral btn-round btn-simple" data-toggle="tooltip" data-original-title="Follow us">
275+
<a
276+
target="_blank"
277+
href="https://twitter.com/creativetim"
278+
class="btn btn-icon btn-neutral btn-round btn-simple"
279+
data-toggle="tooltip"
280+
data-original-title="Follow us"
281+
>
261282
<i class="fab fa-twitter"></i>
262283
</a>
263-
<a target="_blank" href="https://www.facebook.com/creativetim" class="btn btn-icon btn-neutral btn-round btn-simple" data-toggle="tooltip" data-original-title="Like us">
284+
<a
285+
target="_blank"
286+
href="https://www.facebook.com/creativetim"
287+
class="btn btn-icon btn-neutral btn-round btn-simple"
288+
data-toggle="tooltip"
289+
data-original-title="Like us"
290+
>
264291
<i class="fab fa-facebook-square"></i>
265292
</a>
266-
<a target="_blank" href="https://dribbble.com/creativetim" class="btn btn-icon btn-neutral btn-round btn-simple" data-toggle="tooltip" data-original-title="Follow us">
293+
<a
294+
target="_blank"
295+
href="https://dribbble.com/creativetim"
296+
class="btn btn-icon btn-neutral btn-round btn-simple"
297+
data-toggle="tooltip"
298+
data-original-title="Follow us"
299+
>
267300
<i class="fab fa-dribbble"></i>
268301
</a>
269302
</div>

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Creative Tim (https://www.creative-tim.com?ref=blkdsr-license-md)
3+
Copyright (c) 2022 Creative Tim (https://www.creative-tim.com?ref=blkdsr-license-md)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)