diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e102760..180ce671 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,23 @@ All notable changes to this project will be documented in this file. Dates are displayed in UTC. +#### [3.2.0](https://github.com/coreui/coreui-react/compare/3.1.0...3.2.0) + +> 28 July 2020 + +- chore: fix changelog [`0c6b6cb`](https://github.com/coreui/coreui-react/commit/0c6b6cbb2ef18e5c48be345bdace9ba51595a0f0) +- feat: CDataTable: add cleaner prop [`d0dba67`](https://github.com/coreui/coreui-react/commit/d0dba670cc49817e18f388fa80326d8b2141f6a7) +- chore: add postinstall script [`acde502`](https://github.com/coreui/coreui-react/commit/acde5021d1925e901926171b3381a34809f8cea5) +- refactor: CDataTable: disable filtering and sorting on non data columns [`2b134aa`](https://github.com/coreui/coreui-react/commit/2b134aa0d388b99ab33ea574748814d4effba32e) +- chore: 3.2.0 release: update dependencies [`9c8e377`](https://github.com/coreui/coreui-react/commit/9c8e37729073471c9a48e532e830782dec5ae1a6) +- feat: CModal: add autofucus and `esc` key support [`ecc4920`](https://github.com/coreui/coreui-react/commit/ecc4920a6dc72b5b7a34cd71a08ccdae5d3ca156) +- refactor: CDataTable: small refactors [`407201e`](https://github.com/coreui/coreui-react/commit/407201eddf3ce77591484dd78d2faa8d81a526e5) +- feat: CDrodownMenu: hide menu on `esc` [`c4fea1c`](https://github.com/coreui/coreui-react/commit/c4fea1c72777ff63a62cf9c04cbb59f90cee882c) +- chore: update changelog [`f3d83c3`](https://github.com/coreui/coreui-react/commit/f3d83c3286f4db4ad6b2b18bc8203b2944381d61) +- fix: CDataTable disable auto removing columnFilter [`a745c28`](https://github.com/coreui/coreui-react/commit/a745c286c60bdbb7b75c7db263c303c860865508) +- fix: CBreadcrumbRouter: display route only if it has 'name' key [`e4d743d`](https://github.com/coreui/coreui-react/commit/e4d743da43a51584ddf34a54746b9bd9208df44e) +- fix: CSidebarNavItem: do not render `icon` if prop is undefined #133 [`5fd72b0`](https://github.com/coreui/coreui-react/commit/5fd72b05def832894f9c6b1b166182d984b5068b) + #### [3.1.0](https://github.com/coreui/coreui-react/compare/3.0.6...3.1.0) > 23 July 2020 diff --git a/package-lock.json b/package-lock.json index eea94cae..ddbda09a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@coreui/react", - "version": "3.2.0", + "version": "3.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -3033,9 +3033,9 @@ } }, "eslint-plugin-react": { - "version": "7.20.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.20.4.tgz", - "integrity": "sha512-y4DOQ0LrzuDQFEAnYFGjJMRHQQqfTco02qiWI00eGQYikHTzC15S5aRHGWSffnThv8sBpsmFBLky3K5keniAJg==", + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.20.5.tgz", + "integrity": "sha512-ajbJfHuFnpVNJjhyrfq+pH1C0gLc2y94OiCbAXT5O0J0YCKaFEHDV8+3+mDOr+w8WguRX+vSs1bM2BDG0VLvCw==", "dev": true, "requires": { "array-includes": "^3.1.1", @@ -6608,9 +6608,9 @@ "dev": true }, "tippy.js": { - "version": "6.2.5", - "resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-6.2.5.tgz", - "integrity": "sha512-UIf8G99PMXGmdWPrr36s/DjQBdfxMPwzvPUXsxs3tDFDTZ1SgvKG+Jvt6RJ+aBqYL0oe/STxh3MNkCV3IWAKmw==", + "version": "6.2.6", + "resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-6.2.6.tgz", + "integrity": "sha512-0tTL3WQNT0nWmpslhDryRahoBm6PT9fh1xXyDfOsvZpDzq52by2rF2nvsW0WX2j9nUZP/jSGDqfKJGjCtoGFKg==", "requires": { "@popperjs/core": "^2.4.4" } diff --git a/package.json b/package.json index 0d7bc61e..33882247 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/react", - "version": "3.2.0", + "version": "3.2.1", "description": "CoreUI React Bootstrap 4 components", "license": "MIT", "author": { @@ -53,7 +53,7 @@ "perfect-scrollbar": "~1.5.0", "prop-types": "~15.7.2", "react-transition-group": "~4.4.1", - "tippy.js": "~6.2.5" + "tippy.js": "~6.2.6" }, "peerDependencies": { "react": "^16.13.1", @@ -81,7 +81,7 @@ "enzyme-adapter-react-16": "^1.15.2", "eslint": "^7.5.0", "eslint-plugin-import": "^2.22.0", - "eslint-plugin-react": "^7.20.4", + "eslint-plugin-react": "^7.20.5", "rollup": "^2.23.0", "rollup-plugin-peer-deps-external": "2.2.3", "rollup-plugin-postcss": "3.1.3", diff --git a/src/table/CDataTable.js b/src/table/CDataTable.js index 19f7b0dc..945c6227 100644 --- a/src/table/CDataTable.js +++ b/src/table/CDataTable.js @@ -98,7 +98,7 @@ const CDataTable = props => { const isSortable = i => { const isDataColumn = itemsDataColumns.includes(rawColumnNames[i]) - return sorter && fields && fields[i].sorter !== false && isDataColumn + return sorter && (!fields || fields[i].sorter !== false) && isDataColumn } const headerStyles = (index) => {