Skip to content

Commit 4a11e4a

Browse files
authored
Merge pull request #5 from creativetimofficial/dev-master
Update to latest version
2 parents 51216e8 + a0c4bc7 commit 4a11e4a

34 files changed

+463
-203
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Change Log
22

3+
## [1.4.0] 2019-06-15
4+
### Bug fixing
5+
- Other Now UI React products
6+
- https://github.com/creativetimofficial/ct-now-ui-dashboard-pro-react/issues/10 (added `window.scrollTo(0, 0)` and `document.body.scrollTop = 0` to all pages so when you navigate to new page you are sent to the first line of the page)
7+
- https://github.com/creativetimofficial/ct-now-ui-dashboard-pro-react/issues/31 (changed the fonts import to `~assets/fonts` and also added assets path inside `jsconfig.json` file)
8+
- https://github.com/creativetimofficial/ct-now-ui-kit-pro-react/issues/2 (added warnings on the documentation about this issue - unfortunately, we need to keep our own homepage prop inside the package.json for copyright issues)
9+
- https://github.com/creativetimofficial/now-ui-dashboard-react/issues/10
10+
### Major style changes
11+
- `src/assets/scss/now-ui-kit/_nucleo-outline.scss` (changed the fonts import to `~assets/fonts` and also added assets path inside `jsconfig.json` file)
12+
- `src/assets/scss/now-ui-kit/_variables.scss` (changed the fonts import to `~assets/fonts` and also added assets path inside `jsconfig.json` file)
13+
- `src/assets/scss/react/now-ui-kit/_popovers.scss` (because of new bootstrap and reactstrap versions)
14+
- `src/assets/scss/react/now-ui-kit/_tooltips.scss` (because of new bootstrap and reactstrap versions)
15+
- `src/assets/scss/react/react-differences.scss` (to add the new tootlips styles)
16+
### Deleted components
17+
### Added components
18+
### Deleted dependencies
19+
### Added dependencies
20+
+ gulp@4.0.2 (for Creative Tim copyrights)
21+
+ gulp-append-prepend@1.0.8 (for Creative Tim copyrights)
22+
### Updated dependencies
23+
```
24+
moment 2.24.0 → 2.26.0
25+
node-sass 4.12.0 → 4.14.1
26+
nouislider 14.0.2 → 14.5.0
27+
react 16.8.6 → 16.13.1
28+
react-dom 16.8.6 → 16.13.1
29+
react-router 5.0.1 → 5.2.0
30+
react-router-dom 5.0.1 → 5.2.0
31+
react-scripts 3.0.1 → 3.4.1
32+
reactstrap 8.0.1 → 8.4.1
33+
typescript 3.5.3 → 3.9.5
34+
```
35+
### Warning
36+
_All the following products: Now UI Kit React, Now UI Dashboard React, Now UI Kit PRO React and Now UI Dashboard PRO React have been updated together, and thus, we've added to all of them the same version of 1.4.0 - we may have skipped some versions for some of the above products, we've done so, since we want all Now UI & React products to share the same versions._
37+
_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._
38+
_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._
39+
340
## [1.0.0] 2019-07-23
441
### Original Release
542
- Started project with create-react-app

Documentation/documentation.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!--
22
33
=========================================================
4-
* Now UI Kit React - v1.0.0
4+
* Now UI Kit React - v1.4.0
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/now-ui-kit-react
8-
* Copyright 2019 Creative Tim (http://www.creative-tim.com)
8+
* Copyright 2020 Creative Tim (http://www.creative-tim.com)
99
* Licensed under MIT (https://github.com/creativetimofficial/now-ui-kit-react/blob/master/LICENSE.md)
1010
1111
* Designed by www.invisionapp.com Coded by www.creative-tim.com
@@ -46,15 +46,15 @@
4646
/>
4747
<!-- CSS Files -->
4848
<link href="../src/assets/css/bootstrap.min.css" rel="stylesheet" />
49-
<link href="../src/assets/css/now-ui-kit.css?v=1.3.0" rel="stylesheet" />
49+
<link href="../src/assets/css/now-ui-kit.css?v=1.4.0" rel="stylesheet" />
5050
<!-- CSS Just for demo purpose, don't include it in your project -->
5151
<link href="../src/assets/demo/demo.css" rel="stylesheet" />
5252
</head>
5353

5454
<body class="offline-doc">
5555
<!-- Navbar -->
5656
<nav
57-
class="navbar navbar-expand-lg bg-primary fixed-top navbar-transparent "
57+
class="navbar navbar-expand-lg bg-primary fixed-top navbar-transparent"
5858
color-on-scroll="400"
5959
>
6060
<div class="container">
@@ -144,7 +144,7 @@
144144
<h1 class="title">
145145
Now UI Kit React
146146
</h1>
147-
<h3 class="description">Documentation v1.0.0</h3>
147+
<h3 class="description">Documentation v1.4.0</h3>
148148
<br />
149149
<a
150150
href="https://demos.creative-tim.com/now-ui-kit-react/#/documentation/introduction?ref=nukr-static-docs"
@@ -156,7 +156,7 @@ <h3 class="description">Documentation v1.0.0</h3>
156156
</div>
157157
</div>
158158
<footer class="footer">
159-
<div class=" container-fluid ">
159+
<div class="container-fluid">
160160
<nav>
161161
<ul>
162162
<li>
@@ -190,10 +190,9 @@ <h3 class="description">Documentation v1.0.0</h3>
190190
<script>
191191
document
192192
.getElementById("copyright")
193-
.appendChild(
194-
document.createTextNode(new Date().getFullYear())
195-
);</script
196-
>, Designed by
193+
.appendChild(document.createTextNode(new Date().getFullYear()));
194+
</script>
195+
, Designed by
197196
<a href="https://www.invisionapp.com" target="_blank">Invision</a>.
198197
Coded by
199198
<a href="https://www.creative-tim.com" target="_blank">Creative Tim</a

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) 2019 Creative Tim
3+
Copyright (c) 2020 Creative Tim
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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Now UI Kit React - Free Bootstrap 4, React, React Hooks and Reactstrap UI Kit](https://demos.creative-tim.com/now-ui-kit-react/#/index?ref=nukr-github-readme) ![version](https://img.shields.io/badge/version-1.0.0-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/now-ui-kit-react.svg?maxAge=2592000)](https://github.com/creativetimofficial/now-ui-kit-react/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/now-ui-kit-react.svg?maxAge=2592000)](https://github.com/creativetimofficial/now-ui-kit-react/issues?q=is%3Aissue+is%3Aclosed) [![Join the chat at https://gitter.im/NIT-dgp/General](https://badges.gitter.im/NIT-dgp/General.svg)](https://gitter.im/creative-tim-general/Lobby) [![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/E4aHAQy)
1+
# [Now UI Kit React - Free Bootstrap 4, React, React Hooks and Reactstrap UI Kit](https://demos.creative-tim.com/now-ui-kit-react/#/index?ref=nukr-github-readme) ![version](https://img.shields.io/badge/version-1.4.0-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/now-ui-kit-react.svg?maxAge=2592000)](https://github.com/creativetimofficial/now-ui-kit-react/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/now-ui-kit-react.svg?maxAge=2592000)](https://github.com/creativetimofficial/now-ui-kit-react/issues?q=is%3Aissue+is%3Aclosed) [![Join the chat at https://gitter.im/NIT-dgp/General](https://badges.gitter.im/NIT-dgp/General.svg)](https://gitter.im/creative-tim-general/Lobby) [![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/E4aHAQy)
22

33
![Now UI Kit React](https://raw.githubusercontent.com/creativetimofficial/public-assets/master/now-ui-kit-react/opt_nuk_react_thumbnail.jpg)
44

@@ -172,7 +172,7 @@ We use GitHub Issues as the official bug tracker for the Now UI Kit React. Here
172172

173173
## Licensing
174174

175-
- Copyright 2019 Creative Tim (https://www.creative-tim.com/?ref=nukr-github-readme)
175+
- Copyright 2020 Creative Tim (https://www.creative-tim.com/?ref=nukr-github-readme)
176176

177177
[CHANGELOG]: ./CHANGELOG.md
178178
[LICENSE]: ./LICENSE.md

gulpfile.js

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
const gulp = require("gulp");
2+
const gap = require("gulp-append-prepend");
3+
4+
gulp.task("licenses", async function () {
5+
// this is to add Creative Tim licenses in the production mode for the minified js
6+
gulp
7+
.src("build/static/js/*chunk.js", { base: "./" })
8+
.pipe(
9+
gap.prependText(`/*!
10+
11+
=========================================================
12+
* Now UI Kit React - v1.4.0
13+
=========================================================
14+
15+
* Product Page: https://www.creative-tim.com/product/now-ui-kit-react
16+
* Copyright 2020 Creative Tim (http://www.creative-tim.com)
17+
18+
* Coded by Creative Tim
19+
20+
=========================================================
21+
22+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
23+
24+
*/`)
25+
)
26+
.pipe(gulp.dest("./", { overwrite: true }));
27+
28+
// this is to add Creative Tim licenses in the production mode for the minified js
29+
gulp
30+
.src("build/static/js/runtime*.js", { base: "./" })
31+
.pipe(
32+
gap.prependText(`/*!
33+
34+
=========================================================
35+
* Now UI Kit React - v1.4.0
36+
=========================================================
37+
38+
* Product Page: https://www.creative-tim.com/product/now-ui-kit-react
39+
* Copyright 2020 Creative Tim (http://www.creative-tim.com)
40+
41+
* Coded by Creative Tim
42+
43+
=========================================================
44+
45+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
46+
47+
*/`)
48+
)
49+
.pipe(gulp.dest("./", { overwrite: true }));
50+
51+
// this is to add Creative Tim licenses in the production mode for the minified html
52+
gulp
53+
.src("build/index.html", { base: "./" })
54+
.pipe(
55+
gap.prependText(`<!--
56+
57+
=========================================================
58+
* Now UI Kit React - v1.4.0
59+
=========================================================
60+
61+
* Product Page: https://www.creative-tim.com/product/now-ui-kit-react
62+
* Copyright 2020 Creative Tim (http://www.creative-tim.com)
63+
64+
* Coded by Creative Tim
65+
66+
=========================================================
67+
68+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
69+
70+
-->`)
71+
)
72+
.pipe(gulp.dest("./", { overwrite: true }));
73+
74+
// this is to add Creative Tim licenses in the production mode for the minified css
75+
gulp
76+
.src("build/static/css/*chunk.css", { base: "./" })
77+
.pipe(
78+
gap.prependText(`/*!
79+
80+
=========================================================
81+
* Now UI Kit React - v1.4.0
82+
=========================================================
83+
84+
* Product Page: https://www.creative-tim.com/product/now-ui-kit-react
85+
* Copyright 2020 Creative Tim (http://www.creative-tim.com)
86+
87+
* Coded by Creative Tim
88+
89+
=========================================================
90+
91+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
92+
93+
*/`)
94+
)
95+
.pipe(gulp.dest("./", { overwrite: true }));
96+
return;
97+
});

jsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"compilerOptions": {
33
"baseUrl": "src",
44
"paths": {
5-
"*": ["src/*"]
5+
"*": ["src/*"],
6+
"assets": ["src/assets"]
67
}
78
}
89
}

package.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
{
22
"name": "now-ui-kit-react",
3-
"version": "1.0.0",
3+
"version": "1.4.0",
44
"private": true,
55
"dependencies": {
6-
"moment": "2.24.0",
7-
"node-sass": "4.12.0",
8-
"nouislider": "14.0.2",
9-
"react": "16.8.6",
6+
"gulp": "4.0.2",
7+
"gulp-append-prepend": "1.0.8",
8+
"moment": "2.26.0",
9+
"node-sass": "4.14.1",
10+
"nouislider": "14.5.0",
11+
"react": "16.13.1",
1012
"react-bootstrap-switch": "15.5.3",
1113
"react-datetime": "2.16.3",
12-
"react-dom": "16.8.6",
13-
"react-router": "5.0.1",
14-
"react-router-dom": "5.0.1",
15-
"react-scripts": "3.0.1",
16-
"reactstrap": "8.0.1"
14+
"react-dom": "16.13.1",
15+
"react-router": "5.2.0",
16+
"react-router-dom": "5.2.0",
17+
"react-scripts": "3.4.1",
18+
"reactstrap": "8.4.1"
1719
},
1820
"scripts": {
1921
"start": "react-scripts start",
20-
"build": "react-scripts build",
22+
"build": "react-scripts build && gulp licenses",
2123
"test": "react-scripts test",
2224
"eject": "react-scripts eject",
2325
"install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start",
@@ -41,6 +43,6 @@
4143
]
4244
},
4345
"optionalDependencies": {
44-
"typescript": "3.5.3"
46+
"typescript": "3.9.5"
4547
}
4648
}

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!--
22
33
=========================================================
4-
* Now UI Kit React - v1.0.0
4+
* Now UI Kit React - v1.4.0
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/now-ui-kit-react
8-
* Copyright 2019 Creative Tim (http://www.creative-tim.com)
8+
* Copyright 2020 Creative Tim (http://www.creative-tim.com)
99
* Licensed under MIT (https://github.com/creativetimofficial/now-ui-kit-react/blob/master/LICENSE.md)
1010
1111
* Designed by www.invisionapp.com Coded by www.creative-tim.com

src/assets/css/now-ui-kit.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*!
22
33
=========================================================
4-
* Now UI Kit React - v1.0.0 based on Now UI Kit - v1.3.0
4+
* Now UI Kit React - v1.4.0 based on Now UI Kit - v1.3.0
55
=========================================================
66
77
* Product Page: https://www.creative-tim.com/product/now-ui-kit-react
8-
* Copyright 2019 Creative Tim (http://www.creative-tim.com)
8+
* Copyright 2020 Creative Tim (http://www.creative-tim.com)
99
* Licensed under MIT (https://github.com/creativetimofficial/now-ui-kit-react/blob/master/LICENSE.md)
1010
1111
* Designed by www.invisionapp.com Coded by www.creative-tim.com

src/assets/css/now-ui-kit.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)