-
Notifications
You must be signed in to change notification settings - Fork 284
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 #4 from creativetimofficial/feature/update-to-v1.2.0
Feature: update to v1.2.0
- Loading branch information
Showing
41 changed files
with
491 additions
and
352 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,6 +1,58 @@ | ||
# Change Log | ||
|
||
## [1.0.0] 2018-06-26 | ||
## [1.2.0] 2020-06-12 | ||
### Bug fixing | ||
- https://github.com/creativetimofficial/paper-kit-react/issues/2 (changed the fonts import to `~assets/fonts` and also added assets path inside `jsconfig.json` file) | ||
- Other Paper React products issues solved here as well | ||
- https://github.com/creativetimofficial/ct-paper-kit-pro-react/issues/2 | ||
- https://github.com/creativetimofficial/paper-dashboard-react/issues/15 | ||
- https://github.com/creativetimofficial/paper-dashboard-react/issues/8 | ||
- https://github.com/creativetimofficial/ct-paper-dashboard-pro-react/issues/8 | ||
- https://github.com/creativetimofficial/ct-paper-dashboard-pro-react/issues/6 - solution to this is to change the usage of the ModalHeader from reactstrap to simple Bootstrap ones: | ||
So, instead of: | ||
``` | ||
<ModalHeader className="justify-content-center" toggle={this.toggleModalDemo}> | ||
Modal Title | ||
</ModalHeader> | ||
``` | ||
You should use | ||
``` | ||
<div className="modal-header justify-content-center"> | ||
<button type="button" className="close" data-dismiss="modal" aria-label="Close" onClick={this.toggleModalDemo}> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<h5 className="modal-title">Modal Title</h5> | ||
</div> | ||
``` | ||
### Major style changes | ||
- `src/assets/scss/paper-kit/_nucleo-outline.scss` (changed the fonts import to `~assets/fonts` and also added assets path inside `jsconfig.json` file) | ||
- `src/assets/scss/paper-kit/_nucleo-icons.scss` (changed the fonts import to `~assets/fonts` and also added assets path inside `jsconfig.json` file) | ||
- `src/assets/scss/react/plugins/_plugin-nouislider.scss` (due to new `noUiSlider` API) | ||
### Deleted components | ||
### Added components | ||
### Deleted dependencies | ||
### Added dependencies | ||
+ [email protected] (for Creative Tim copyrights) | ||
+ [email protected] (for Creative Tim copyrights) | ||
### Updated dependencies | ||
``` | ||
moment 2.24.0 → 2.26.0 | ||
node-sass 4.12.0 → 4.14.1 | ||
nouislider 13.1.5 → 14.5.0 | ||
react 16.8.6 → 16.13.1 | ||
react-dom 16.8.6 → 16.13.1 | ||
react-router 5.0.1 → 5.2.0 | ||
react-router-dom 5.0.1 → 5.2.0 | ||
react-scripts 3.0.1 → 3.4.1 | ||
reactstrap 8.0.0 → 8.4.1 | ||
typescript 3.5.2 → 3.9.5 | ||
``` | ||
### Warning | ||
_All the following products: Paper Kit React, Paper Dashboard React, Paper Kit PRO React and Paper Dashboard PRO React have been updated together, and thus, we've added to all of them the same version of 1.2.0 - we may have skipped some versions for some of the above products, we've done so, since we want all Paper & React products to share the same versions._ | ||
_While in development some of the plugins that were used for this product will throw some warnings - note, this only happens in development, the UI or the functionality of the product is not affected, also, if the issues will persist in React 17, we'll drop usage of those plugins, and replace them with other ones._ | ||
_Warnings might appear while doing an npm install - they do not affect the UI or the functionality of the product, and they appear because of NodeJS and not from the product itself._ | ||
|
||
## [1.0.0] 2019-06-26 | ||
### Original Release | ||
- Added Reactstrap as base framework | ||
- Added design from Paper Kit 2 by Creative Tim |
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,74 @@ | ||
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(`/*! | ||
========================================================= | ||
* Paper Kit React - v1.2.0 | ||
========================================================= | ||
* Product Page: https://www.creative-tim.com/product/paper-kit-react | ||
* Copyright 2020 Creative Tim (http://www.creative-tim.com) | ||
* 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(`<!-- | ||
========================================================= | ||
* Paper Kit React - v1.2.0 | ||
========================================================= | ||
* Product Page: https://www.creative-tim.com/product/paper-kit-react | ||
* Copyright 2020 Creative Tim (http://www.creative-tim.com) | ||
* 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(`/*! | ||
========================================================= | ||
* Paper Kit React - v1.2.0 | ||
========================================================= | ||
* Product Page: https://www.creative-tim.com/product/paper-kit-react | ||
* Copyright 2020 Creative Tim (http://www.creative-tim.com) | ||
* 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 |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
"compilerOptions": { | ||
"baseUrl": "src", | ||
"paths": { | ||
"*": ["src/*"] | ||
"*": ["src/*"], | ||
"assets": ["src/assets"] | ||
} | ||
} | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.