Merge pull request #152 from coreui/dev-vnext

v2.1.4
This commit is contained in:
xidedix 2019-02-21 18:08:24 +01:00 committed by GitHub
commit bcc28e1d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 30 deletions

View File

@ -1,5 +1,22 @@
## [CoreUI](https://coreui.io/) for [react](./REACT.md) changelog ## [CoreUI](https://coreui.io/) for [react](./REACT.md) changelog
##### `v2.1.4`
- maintenance release: fixes #151 #145
###### dependencies update
- update: `@coreui/coreui` to `^2.1.7`
- update: `@coreui/react` to `^2.1.4`
- update: `bootstrap` to `^4.3.1`
- update: `core-js` to `^2.6.5`
- update: `enzyme` to `^3.9.0`
- update: `enzyme-adapter-react-16` to `^1.9.1`
- update: `prop-types` to `^15.7.2`
- update: `react` to `^16.8.2`
- update: `react-app-polyfill` to `^0.2.1`
- update: `react-dom` to `^16.8.2`
- update: `react-test-renderer` to `^16.8.2`
- update: `reactstrap` to `^7.1.0`
- update: `react-scripts` to `2.1.5`
##### `v2.1.3` ##### `v2.1.3`
- fix(Collapse): add `mb-0` to accordion cards - fix(Collapse): add `mb-0` to accordion cards
- fix(ButtonGroups): misplaced dropdownOpen - fix(ButtonGroups): misplaced dropdownOpen
@ -42,21 +59,23 @@
- starting with `@coreui/coreui`, `@coreui/react` version `2.1.0` and up - starting with `@coreui/coreui`, `@coreui/react` version `2.1.0` and up
- closes #106 - closes #106
- item example(`./src/_nav.js`): - item example(`./src/_nav.js`):
```js ```js
{ [
name: 'Disabled', {
url: '/disabled', name: 'Disabled',
icon: 'icon-ban', url: '/disabled',
attributes: { disabled: true }, icon: 'icon-ban',
}, attributes: { disabled: true },
{ },
name: 'Try CoreUI PRO', {
url: 'https://coreui.io/pro/react/', name: 'Try CoreUI PRO',
icon: 'cui-layers icons', url: 'https://coreui.io/pro/react/',
variant: 'danger', icon: 'cui-layers icons',
attributes: { target: '_blank', rel: "noopener" }, variant: 'danger',
}, attributes: { target: '_blank', rel: "noopener" },
``` }
]
```
- fix(Cards): `card-header-actions` added to `CardHeader` for `rtl` support - fix(Cards): `card-header-actions` added to `CardHeader` for `rtl` support
- feat(Dashboard): new `Suspense` example with Widget03 - feat(Dashboard): new `Suspense` example with Widget03
- chore: update `@coreui/coreui` to `2.1.0` - chore: update `@coreui/coreui` to `2.1.0`

View File

@ -1,6 +1,6 @@
{ {
"name": "@coreui/coreui-free-react-admin-template", "name": "@coreui/coreui-free-react-admin-template",
"version": "2.1.3", "version": "2.1.4",
"description": "CoreUI React Open Source Bootstrap 4 Admin Template", "description": "CoreUI React Open Source Bootstrap 4 Admin Template",
"author": "Łukasz Holeczek", "author": "Łukasz Holeczek",
"homepage": "https://coreui.io", "homepage": "https://coreui.io",
@ -12,33 +12,33 @@
"url": "git@github.com:coreui/coreui-free-react-admin-template.git" "url": "git@github.com:coreui/coreui-free-react-admin-template.git"
}, },
"dependencies": { "dependencies": {
"@coreui/coreui": "^2.1.5", "@coreui/coreui": "^2.1.7",
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0", "@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0",
"@coreui/icons": "0.3.0", "@coreui/icons": "0.3.0",
"@coreui/react": "^2.1.3", "@coreui/react": "^2.1.4",
"bootstrap": "^4.2.1", "bootstrap": "^4.3.1",
"chart.js": "^2.7.3", "chart.js": "^2.7.3",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"core-js": "^2.6.1", "core-js": "^2.6.5",
"enzyme": "^3.8.0", "enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.7.1", "enzyme-adapter-react-16": "^1.9.1",
"flag-icon-css": "^3.2.1", "flag-icon-css": "^3.2.1",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"node-sass": "^4.11.0", "node-sass": "^4.11.0",
"prop-types": "^15.6.2", "prop-types": "^15.7.2",
"react": "^16.7.0", "react": "^16.8.2",
"react-app-polyfill": "^0.2.0", "react-app-polyfill": "^0.2.1",
"react-chartjs-2": "^2.7.4", "react-chartjs-2": "^2.7.4",
"react-dom": "^16.7.0", "react-dom": "^16.8.2",
"react-loadable": "^5.5.0", "react-loadable": "^5.5.0",
"react-router-config": "^4.4.0-beta.6", "react-router-config": "^4.4.0-beta.6",
"react-router-dom": "^4.3.1", "react-router-dom": "^4.3.1",
"react-test-renderer": "^16.7.0", "react-test-renderer": "^16.8.2",
"reactstrap": "^7.0.2", "reactstrap": "^7.1.0",
"simple-line-icons": "^2.4.1" "simple-line-icons": "^2.4.1"
}, },
"devDependencies": { "devDependencies": {
"react-scripts": "2.1.3" "react-scripts": "2.1.5"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",

View File

@ -30,7 +30,7 @@ class DefaultHeader extends Component {
<Nav className="d-md-down-none" navbar> <Nav className="d-md-down-none" navbar>
<NavItem className="px-3"> <NavItem className="px-3">
<NavLink href="/">Dashboard</NavLink> <Link to="/" className="nav-link" >Dashboard</Link>
</NavItem> </NavItem>
<NavItem className="px-3"> <NavItem className="px-3">
<Link to="/users">Users</Link> <Link to="/users">Users</Link>