-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from creativetimofficial/feature/update-to-v1.1.0
Feature: update to v1.1.0
- Loading branch information
Showing
40 changed files
with
853 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,53 @@ | ||
# Change Log | ||
|
||
## [1.1.0] 2020-04-10 | ||
### Bug fixing | ||
- Github | ||
- https://github.com/creativetimofficial/blk-design-system-react/issues/8 | ||
- https://github.com/creativetimofficial/blk-design-system-react/issues/7 | ||
- https://github.com/creativetimofficial/blk-design-system-react/issues/5 | ||
- https://github.com/creativetimofficial/blk-design-system-react/issues/4 | ||
- https://github.com/creativetimofficial/blk-design-system-react/issues/2 | ||
- https://github.com/creativetimofficial/blk-design-system-react/issues/1 | ||
### Major style changes | ||
- `src/assets/scss/blk-design-system-react/react/plugins/_plugin-nouislider.scss` | ||
### Deleted components | ||
### Added components | ||
### Deleted dependencies | ||
### Added dependencies | ||
+ [email protected] (to stop terminal/cmd warnings) | ||
+ [email protected] (to stop terminal/cmd warnings) | ||
### Updated dependencies | ||
``` | ||
chart.js 2.7.3 → 2.9.3 | ||
node-sass 4.11.0 → 4.13.1 | ||
nouislider 13.1.1 → 14.2.0 | ||
perfect-scrollbar 1.4.0 → 1.5.0 | ||
react 16.8.3 → 16.13.1 | ||
react-chartjs-2 2.7.4 → 2.9.0 | ||
react-dom 16.8.3 → 16.13.1 | ||
react-router-dom 4.3.1 → 5.1.2 | ||
react-scripts 2.1.5 → 3.4.1 | ||
reactstrap 7.1.0 → 8.4.1 | ||
``` | ||
### Warning | ||
**The following warnings may appear when running the installation command, but they do not affect the UI or the functionality of the product:** | ||
``` | ||
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 | ||
npm WARN deprecated [email protected]: Popper changed home, find its new releases at @popperjs/core | ||
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. | ||
``` | ||
**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.** | ||
``` | ||
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details. | ||
* Move data fetching code or side effects to componentDidUpdate. | ||
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state | ||
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder. | ||
Please update the following components: DateTime, Switch | ||
``` | ||
|
||
## [1.0.0] 2019-03-04 | ||
### Original Release | ||
- Added Reactstrap as base framework | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
const gulp = require("gulp"); | ||
const gap = require("gulp-append-prepend"); | ||
|
||
gulp.task("licenses", async function() { | ||
// this is to add Creative Tim licenses in the production mode for the minified js | ||
gulp | ||
.src("build/static/js/*chunk.js", { base: "./" }) | ||
.pipe( | ||
gap.prependText(`/*! | ||
========================================================= | ||
* BLK Design System React - v1.1.0 | ||
========================================================= | ||
* Product Page: https://www.creative-tim.com/product/blk-design-system-react | ||
* Copyright 2020 Creative Tim (https://www.creative-tim.com) | ||
* Licensed under MIT (https://github.com/creativetimofficial/blk-design-system-react/blob/master/LICENSE.md) | ||
* Coded by Creative Tim | ||
========================================================= | ||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
*/`) | ||
) | ||
.pipe(gulp.dest("./", { overwrite: true })); | ||
|
||
// this is to add Creative Tim licenses in the production mode for the minified html | ||
gulp | ||
.src("build/index.html", { base: "./" }) | ||
.pipe( | ||
gap.prependText(`<!-- | ||
========================================================= | ||
* BLK Design System React - v1.1.0 | ||
========================================================= | ||
* Product Page: https://www.creative-tim.com/product/blk-design-system-react | ||
* Copyright 2020 Creative Tim (https://www.creative-tim.com) | ||
* Licensed under MIT (https://github.com/creativetimofficial/blk-design-system-react/blob/master/LICENSE.md) | ||
* Coded by Creative Tim | ||
========================================================= | ||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
-->`) | ||
) | ||
.pipe(gulp.dest("./", { overwrite: true })); | ||
|
||
// this is to add Creative Tim licenses in the production mode for the minified css | ||
gulp | ||
.src("build/static/css/*chunk.css", { base: "./" }) | ||
.pipe( | ||
gap.prependText(`/*! | ||
========================================================= | ||
* BLK Design System React - v1.1.0 | ||
========================================================= | ||
* Product Page: https://www.creative-tim.com/product/blk-design-system-react | ||
* Copyright 2020 Creative Tim (https://www.creative-tim.com) | ||
* Licensed under MIT (https://github.com/creativetimofficial/blk-design-system-react/blob/master/LICENSE.md) | ||
* Coded by Creative Tim | ||
========================================================= | ||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
*/`) | ||
) | ||
.pipe(gulp.dest("./", { overwrite: true })); | ||
return; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": "src", | ||
"paths": { | ||
"*": ["src/*"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.