-
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 #7 from creativetimofficial/dev-main
Feature: v1.3.0
- Loading branch information
Showing
41 changed files
with
299 additions
and
173 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,36 @@ | ||
# Change Log | ||
|
||
## [1.3.0] 2021-03-24 | ||
### Bug fixing | ||
- Changed the way we import images | ||
- Old way: `require("path/to/imgae")` | ||
- New way: `require("path/to/imgae").default` | ||
### Major style changes | ||
### Deleted components | ||
### Added components | ||
### Deleted dependencies | ||
- `react-bootstrap-switch` (replaced by the simple Bootstrap Switch: https://reactstrap.github.io/components/form/#Custom-Inputs) | ||
### Added dependencies | ||
- `[email protected]` | ||
- `[email protected]` (Only to stop warnings from Bootstrap) | ||
### Updated dependencies | ||
``` | ||
moment 2.26.0 → 2.29.1 | ||
node-sass 4.14.1 → 5.0.0 | ||
nouislider 14.5.0 → 14.6.4 | ||
react 16.13.1 → 17.0.2 | ||
react-datetime 2.16.3 → 3.0.4 | ||
react-dom 16.13.1 → 17.0.2 | ||
react-scripts 3.4.1 → 4.0.3 | ||
reactstrap 8.4.1 → 8.9.0 | ||
typescript 3.9.5 → 4.2.3 | ||
``` | ||
### Warning | ||
_When doing a clean install, you might have some warnings, those come from `node_modules` and do not affect the project in any way._ | ||
_The following two error might occur while doing a clean install - They do not affect the product in any way:_ | ||
_npm WARN [email protected] requires a peer of react@^16.5.0 but none is installed. You must install peer dependencies yourself._ | ||
_npm WARN @babel/plugin-bugfix-v8-spread-parameters-in[email protected] requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself._ | ||
|
||
## [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) | ||
|
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.custom-switch { | ||
padding-left: 3.25rem; | ||
min-height: 2rem; | ||
display: flex; | ||
.custom-control-label { | ||
display: inline-flex; | ||
align-items: center; | ||
&::after { | ||
height: calc(1.625rem - 4px); | ||
width: calc(1.625rem - 4px); | ||
left: calc(-3.25rem + 2px); | ||
border-radius: 2.5rem; | ||
background-color: white; | ||
} | ||
&::before { | ||
height: 1.625rem; | ||
width: 3rem; | ||
left: -3.25rem; | ||
border-radius: 2.5rem; | ||
background-color: #adb5bd; | ||
} | ||
} | ||
|
||
.custom-control-input:checked ~ .custom-control-label { | ||
&::after { | ||
transform: translateX(1.35rem); | ||
} | ||
&::before { | ||
background-color: $info-color; | ||
border-color: $info-color; | ||
} | ||
} | ||
|
||
.custom-control-input:disabled { | ||
&:checked ~ .custom-control-label::before { | ||
// background-color: $info-color; | ||
} | ||
} | ||
} |
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.