Skip to content

Commit

Permalink
Merge pull request #45 from coreui/dev-vnext
Browse files Browse the repository at this point in the history
v2.1.0
  • Loading branch information
xidedix authored Nov 6, 2018
2 parents 8693743 + dfda836 commit f8346f6
Show file tree
Hide file tree
Showing 6 changed files with 343 additions and 251 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
### [@coreui/react](https://coreui.io/) changelog

##### `v2.1.0`
- feat(SidebarNav): navLink `attributes` - optional JS object with valid JS API naming:
- valid attributes: `rel`, `target`, `hidden`, `disabled`, etc...
- item example:
```json
{
name: 'Try CoreUI PRO',
url: 'https://coreui.io/pro/react/',
icon: 'cui-layers icons',
variant: 'danger',
attributes: { target: '_blank', rel: "noopener" },
},
```
- update `@coreui/coreui` to `2.1.0` - sidebar-nav-link-disabled-*
- chore: update `react-perfect-scrollbar` to `1.4.2`
- chore: update `eslint` to `5.8.0`
- chore: update `react` to `16.6.0`
- chore: update `react-dom` to `16.6.0`
- chore(demo): style.css update to `@coreui/coreui v2.1.0`, navLink `disabled` example

##### `v2.0.9`
- feat(Sidebar): badge on parent dropdown - thanks @jeff-nz
- fix(SidebarNav): handleClick() target->currentTarget open
Expand Down
23 changes: 22 additions & 1 deletion demo/src/_nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,27 @@ export default {
variant: 'info',
text: 'NEW'
}
}
},
{
name: 'Disabled',
url: '/dashboard',
icon: 'cui-ban icons',
attributes: { disabled: true },
},
{
name: 'Download CoreUI',
url: 'https://coreui.io/react/',
icon: 'cui-cloud-download icons',
class: 'mt-auto',
variant: 'success',
attributes: { target: '_blank', rel: "noopener" },
},
{
name: 'Try CoreUI PRO',
url: 'https://coreui.io/pro/react/',
icon: 'cui-layers icons',
variant: 'danger',
attributes: { target: '_blank', rel: "noopener" },
},
]
};
Loading

0 comments on commit f8346f6

Please sign in to comment.