Commit Graph

744 Commits

Author SHA1 Message Date
woothu
d940f92ef7 chore: 3.0.0-beta.1 release 2020-05-26 13:16:49 +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
e236aad4ab chore: clear packages 2020-05-22 12:56:45 +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
01f3555385 chore: dependencies update
- update: `@coreui/coreui` to `^2.1.16`
- update: `@coreui/react` to `^2.5.7`
- update: `bootstrap` to `^4.5.0`
- update: `chart.js` to `^2.9.3`
- update: `core-js` to `^3.6.5`
- update: `enzyme` to `^3.11.0`
- update: `enzyme-adapter-react-16` to `^1.15.2`
- update: `flag-icon-css` to `^3.4.6`
- update: `node-sass` to `^4.14.1`
- update: `react` to `^16.13.1`
- update: `react-app-polyfill` to `^1.0.6`
- update: `react-chartjs-2` to `^2.9.0`
- update: `react-dom` to `^16.13.1`
- update: `react-router-config` to `^5.1.1`
- update: `react-router-dom` to `^5.2.0`
- update: `react-test-renderer` to `^16.13.1`
- update: `reactstrap` to `^8.4.1`
- update: `react-scripts` to `^3.4.1`
2020-05-19 00:12:29 +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
b9626a8ae6 v2.6.0 version bump 2019-06-17 21:24:55 +02:00
xidedix
08b932dec8
Merge pull request #184 from coreui/dev-v2.6
v2.6.0
2019-06-17 20:57:29 +02:00
xidedix
987c94f8ca
Merge pull request #182 from BrunoSette/master
Readme Typo
2019-06-17 20:56:47 +02:00
xidedix
d142eff79f Ship: v2.6.0 2019-06-17 20:55:24 +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
f99dfd7ce7 chore: dependencies update
- update: `@coreui/coreui` to `^2.1.12`
- update: `@coreui/coreui-plugin-chartjs-custom-tooltips` to `^1.3.1`
- update: `@coreui/react` to `^2.5.1`
- update: `core-js` to `^3.1.4`
- update: `enzyme` to `^3.10.0`
- update: `enzyme-adapter-react-16` to `^1.14.0`
- update: `react-router-config` to `^5.0.1`
- update: `react-router-dom` to `^5.0.1`
- update: `reactstrap` to `^8.0.0`
2019-06-17 20:51:24 +02:00
Bruno Sette
720c760d72
Readme Typo 2019-05-20 16:37:59 -03:00
xidedix
e115106945 chore: changelog v2.5.0 update
It turns out this is not such a breaking change, as it seemed at a
glance.
Just update dependencies and you're good.

- 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`
2019-05-17 17:03:00 +02:00
xidedix
dbe9ec9858
Merge pull request #181 from coreui/dev-router-5
v2.5.0
2019-05-16 18:00:48 +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
xidedix
5fcef7ed9e
Merge pull request #180 from coreui/dev-vnext
v2.1.7
2019-05-14 19:22:13 +02:00
xidedix
5f3380d8e8 Ship: v2.1.7 2019-05-14 19:19:30 +02:00
xidedix
76bd4a796e chore: dependencies update
- update: `@coreui/react` to `~2.1.7`
- update: `@coreui/coreui-plugin-chartjs-custom-tooltips` to `^1.3.0`
- update: `enzyme-adapter-react-16` to `^1.13.0`
- update: `node-sass` to `^4.12.0`
- update: `react` to `^16.8.6`
- update: `react-app-polyfill` to `^1.0.1`
- update: `react-chartjs-2` to `^2.7.6`
- update: `react-dom` to `^16.8.6`
- update: `react-test-renderer` to `^16.8.6`
- update: `react-scripts` to `^3.0.1`
2019-05-14 19:18:16 +02:00
xidedix
3490bba27b fix(Popovers): add trigger=legacy 2019-05-14 19:17:21 +02:00
xidedix
d40ce7e338 chore: add package-lock.json with updated tar dependency
- node-sass > node-gyp > `tar` security issue
2019-05-14 19:12:18 +02:00
xidedix
e5d84e0fc7 Merge branch 'reactbits-fix-circular-dependency' 2019-03-25 15:45:31 +01:00
xidedix
0576d1852c Ship: v2.1.6 2019-03-25 15:44:57 +01:00
xidedix
921519f417 chore: dependencies update 2019-03-25 15:37:21 +01:00
xidedix
24666f6681 refactor(Forms): move to InputGroupButtonDropdown where applicable 2019-03-25 15:36:01 +01:00
xidedix
7ad00e6a33 refactor(DefaultHeader): move to ReactRouter NavLink 2019-03-25 15:32:33 +01:00
xidedix
988b240566 fix(routes): add Home to routes - breadcrumb issue 2019-03-25 14:29:54 +01:00
xidedix
ded4437ae1 refactor(App): change to render in Route 2019-03-25 14:27:54 +01:00
xidedix
68c2cce40d fix: remove redundant react-loadable 2019-03-25 13:39:38 +01:00
sergeyt
691d0cd9b5 remove redundant react-loadable 2019-03-24 18:41:07 +07:00
sergeyt
987c047427 fix circular dependency 2019-03-24 18:31:42 +07:00
xidedix
1ab13261d7
Merge pull request #162 from aaabramov/patch-1
Fix typo
2019-03-22 11:05:21 +01:00
Andrii
3dc462c306
Fix typo 2019-03-22 09:45:34 +02:00
xidedix
43a941e550
Merge pull request #155 from coreui/dev-vnext
Ship: v2.1.5
2019-03-06 16:44:18 +01:00
xidedix
fca29cf0c0 Ship: v2.1.5
- fix: iOS 9 Safari sidebar toggle force issue `@coreui/react@2.1.5`

dependencies update:
- update: `@coreui/react` to `^2.1.5`
- update: `enzyme-adapter-react-16` to `^1.10.0`
- update: `flag-icon-css` to `^3.3.0`
- update: `react` to `^16.8.4`
- update: `react-dom` to `^16.8.4`
- update: `react-test-renderer` to `^16.8.4`
2019-03-06 16:43:38 +01:00
xidedix
bcc28e1d14
Merge pull request #152 from coreui/dev-vnext
v2.1.4
2019-02-21 18:08:24 +01:00
xidedix
1c65d9e76d Ship v2.1.4
- maintenance release: fixes #151 #145
- dependencies update
2019-02-21 18:07:20 +01:00
xidedix
4af6e9b25e refactor(DefaultHeader): Dashboard router link 2019-02-21 18:06:39 +01:00
xidedix
c860888372 chore: 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`
2019-02-21 18:05:27 +01:00
xidedix
f74a369adb
Merge pull request #144 from coreui/dev-vnext
v2.1.3
2019-01-08 16:14:39 +01:00
xidedix
d595e851bc Ship: v2.1.3 2019-01-08 16:13:17 +01:00
xidedix
98c79bcb67 chore: dependencies update
- chore: update `@coreui/coreui` to `^2.1.5`
- chore: update `@coreui/react` to `^2.1.3`
- chore: update `bootstrap` to `^4.2.1`
- chore: update `core-js` to `^2.6.1`
- chore: update `enzyme` to `^3.8.0`
- chore: update `enzyme-adapter-react-16` to `^1.7.1`
- chore: update `node-sass` to `^4.11.0`
- chore: update `react` to `^16.7.0`
- chore: update `react-app-polyfill` to `^0.2.0`
- chore: update `react-chartjs-2` to `^2.7.4`
- chore: update `react-dom` to `^16.7.0`
- chore: update `react-test-renderer` to `^16.7.0`
- chore: update `reactstrap` to `^7.0.2`
- chore: update `react-scripts` to `2.1.3`
2019-01-08 16:10:07 +01:00