Commit Graph

143 Commits

Author SHA1 Message Date
Łukasz Holeczek
379cf4b63e refactor: update layout 2021-05-21 12:32:45 +02:00
Łukasz Holeczek
d7c4c3bc6d refactor: update example views 2021-05-21 12:32:04 +02:00
Łukasz Holeczek
e86fc11070 refactor: add custom tooltips 2021-05-18 23:23:50 +02:00
Łukasz Holeczek
dd64f3c2db refactor: update views 2021-05-18 23:23:33 +02:00
Łukasz Holeczek
9842172b67 refactor: update text color classNames 2021-05-18 23:22:27 +02:00
Łukasz Holeczek
c5421714ba refactor: update example views 2021-05-17 23:31:45 +02:00
Łukasz Holeczek
35be1eac55 refactor: update components examples 2021-05-17 01:16:28 +02:00
Łukasz Holeczek
323e9b9d8d refactor: add form components examples 2021-05-16 20:58:15 +02:00
Łukasz Holeczek
2e1d16dd01 refactor: update routes 2021-05-16 01:05:22 +02:00
Łukasz Holeczek
caa46b8b91 refactor: import components from '@coreui/react' instead of '@coreui/react-ts' 2021-05-15 16:53:31 +02:00
Łukasz Holeczek
d1a87d22f8 refactor: update to v4 2021-04-13 00:38:48 +02:00
Łukasz Holeczek
2f793d1746 styles: improve syntax using prettier 2021-04-09 23:21:48 +02:00
Łukasz Holeczek
f502f58695 refactor: update to CoreUI v4 2021-04-09 23:01:47 +02:00
Łukasz Holeczek
2a2fc79524 refactor: update components to CoreUI 4 2021-04-05 23:17:19 +02:00
Łukasz Holeczek
9870bfdf7e refactor: update to the latest version of @coreui/react 2021-03-23 01:34:27 +01:00
Łukasz Holeczek
e95c7e34bb refactor: update some components to v4 2021-02-18 23:40:31 +01:00
Łukasz Holeczek
76da5c50a7 refactor: migrate to CoreUI v4 2021-02-16 02:15:27 +01:00
Łukasz Holeczek
e484c60e6f refactor: migrate to CoreUI v4 2021-02-16 01:32:28 +01:00
Łukasz Holeczek
d5ba135d18 refactor: migrate part of components to CoreUI v4 2021-02-11 16:42:45 +01:00
xidedix
9d5ba97b4d chore: 3.2.0 release for React 17 2020-12-14 18:15:33 +01:00
xidedix
f3f91c5d72 test: refactor, import temp update 2020-12-14 18:12:10 +01:00
xidedix
ed83c9a3d4 fix(_nav): no anonymous default export 2020-12-14 18:11:09 +01:00
xidedix
f0c0585832 fix(BrandButtons): minor temp fixes with stylings 2020-12-14 18:09:23 +01:00
xidedix
9522ade1f1 refactor: polyfills cleanup 2020-12-14 18:08:27 +01:00
woothu
b31e452fd0 feat: add CSwitch examples to forms 2020-08-12 16:57:49 +02:00
woothu
eef84dbbd7 refactor: add reusable folder with DocsLink component 2020-08-12 15:50:40 +02:00
woothu
be5d1f0618 refactor: add CIcon example in _nav.js 2020-07-30 12:37:29 +02:00
woothu
68ce41db68 fix: fix template testing 2020-07-30 12:32:59 +02:00
woothu
fd5236d473 chore: 3.0.0 version release - update dependencies 2020-06-17 15:45:12 +02:00
woothu
98f8b677ed feat: add query parameters to Users view 2020-06-10 10:27:40 +02:00
woothu
8e4fbc2aa8 refactor: update icons to version 2, rtl fixes 2020-06-08 13:58:51 +02:00
woothu
1df8c15030 refacotor: template updates 2020-06-01 18:34:07 +02:00
woothu
1777a092f6 fix: fix Icons views 2020-05-27 16:52:58 +02:00
woothu
9fed168a53 refactor: optimize icon bundle size, update icons 2020-05-27 16:45:37 +02:00
woothu
8c0deeed16 refactor: turn logos extensions from svg to js 2020-05-27 10:40:33 +02:00
woothu
75138b0d03 refactor: update folder casing to kebab-case 2020-05-27 10:18:26 +02:00
woothu
cb4433a3e3 refactor: temporarily delete views folder 2020-05-27 10:06:35 +02:00
woothu
1ee05619ba fix: delete unneded icons, aside, fix readme.md 2020-05-26 13:11:29 +02:00
woothu
0e6506ea33 fix: fix accordion, delete aside 2020-05-25 11:45:29 +02:00
woothu
bfc79da403 refactor: rename containers from 'Default' to 'The', small fixes 2020-05-22 12:29:10 +02:00
woothu
f479a5dc72 fix: delete obsolete files, fix logos 2020-05-22 12:23:10 +02:00
woothu
cc795425bb feat: update template to version 3 2020-05-22 11:23:29 +02:00
xidedix
0350bfdb42 Ship: v2.6.1 2020-05-19 00:13:49 +02:00
xidedix
5e57e2aef2 refactor(polyfill): cleanup 2020-05-19 00:11:41 +02:00
xidedix
41f1d26a78 fix(Dropdowns): DropdownMenu right 2020-05-19 00:10:56 +02:00
xidedix
ef25cc4202 fix(Dashboard): scales.[x/y]Axes.barPercentage is deprecated, use dataset.barPercentage instead 2020-05-19 00:07:19 +02:00
xidedix
770cfcf5e5 fix(DefaultHeader): replace AppHeaderDropdown with UncontrolledDropdown 2019-06-17 20:54:05 +02:00
xidedix
969bc8593a refactor: add ie polyfills 2019-06-17 20:53:21 +02:00
xidedix
25c8f9f84e Ship: v2.5.0 2019-05-16 17:58:39 +02:00
xidedix
349393e60b refactor: update to react router v5
###### dependencies update
- update: `@coreui/react` to `~2.5.0`
- update: `react-router-config` to `^5.0.0`
- update: `react-router-dom` to `^5.0.0`

__BREAKING CHANGES__
- drop 'Breadcrumb' in favour of `Breadcrumb2`
- drop 'SidebarNav' in favour of `SidebarNav2`
- __Breadcrumb2__: **mandatory** prop `router` see > [Breadcrumb](./src/Breadcrumb.md)
- __SidebarNav2__: **mandatory** prop `router`  see > [SidebarNav](./src/SidebarNav.md)

React Router v5 uses the new React Context API, which is incompatible with version used in 4.3.
That's a breaking change. With raw upgrade to v5, you can encounter an error message: `You should not render a <Route> outside a <Router>` or `You should not use <Link> outside a <Router>` etc... It means that Route, Link etc, can't find the correct context object because `Breadcrumb` and `SidebarNav` components have their own context object.

It's important to use the same instance of the `react-router-dom v5` library with template and coreui components. `@coreui/react` version `2.5.0` moves react-router-dom form dependencies to peerDependecies and takes the same library/module from the template/app instead. We have to pass router module object as a prop to `<AppSidebarNav>` and `<AppBreadcrumb>`

#####_migration guide v2.1 -> v2.5_ 💥
1. update `dependencies` in `package.json`
   - [ ] `@coreui/react` to `~2.5.0`
   - [ ] `react-router-dom` to `^5.0.0`
   - [ ] `react-router-config` to `^5.0.0`

2. modify `DefaultLayout.js`
   - [ ] import react-router-dom module as an object
     ```
     import * as router from 'react-router-dom';
     ```
   - [ ] import new versions of components `AppBreadcrumb2` and `AppSidebarNav2` (alias is optional, just keep consistency with markup)
     ```jsx
     import {
       ...
       AppBreadcrumb2 as AppBreadcrumb,
       AppSidebarNav2 as AppSidebarNav
       ...
     } from '@coreui/react';
     ```
   - [ ] inject `router` object as a prop to `<AppSidebarNav>` and `<AppBreadcrumb>`
     ```html
     <AppSidebarNav navConfig={navigation} {...this.props} router={router}/>
     ```

     ```html
     <AppBreadcrumb appRoutes={routes} router={router}/>
     ```

---
2019-05-16 17:51:38 +02:00