From 1f18260a7062077706543303ef6882fb4454f813 Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2019 06:08:37 +0000 Subject: [PATCH 1/9] =?UTF-8?q?=E2=9C=89=EF=B8=8F=20=F0=9F=87=A7?= =?UTF-8?q?=F0=9F=87=AB=20update=20sizes-cjs.json=20=F0=9F=91=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sizes-cjs.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sizes-cjs.json b/sizes-cjs.json index 8bba4bc..6867575 100644 --- a/sizes-cjs.json +++ b/sizes-cjs.json @@ -1,4 +1,14 @@ [ + { + "timestamp": 1576044489324, + "files": [ + { + "filename": "index.js", + "size": 22554, + "delta": -79 + } + ] + }, { "timestamp": 1576020969676, "files": [ From a9c04ca3dc16e155b61677affec85f3b94950ad8 Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2019 06:08:38 +0000 Subject: [PATCH 2/9] =?UTF-8?q?=F0=9F=A9=B3=20=F0=9F=91=A8=F0=9F=8F=BC=20u?= =?UTF-8?q?pdate=20sizes-es.json=20=F0=9F=91=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sizes-es.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sizes-es.json b/sizes-es.json index b87dd05..b0f99fa 100644 --- a/sizes-es.json +++ b/sizes-es.json @@ -1,4 +1,14 @@ [ + { + "timestamp": 1576044496748, + "files": [ + { + "filename": "index.es.js", + "size": 22375, + "delta": -76 + } + ] + }, { "timestamp": 1576020979047, "files": [ From e661d90d48b19d9f752722554d90894d967f88ac Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Wed, 11 Dec 2019 15:43:57 -0700 Subject: [PATCH 3/9] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index cb8d71a..9a01145 100644 --- a/README.md +++ b/README.md @@ -182,6 +182,7 @@ This library is being built and maintained by me, @tannerlinsley and I am always
  • Robert Tajnšek
  • Pekka Tapani
  • Eric Lanehart (@pushred)
  • +
  • Anish P Patel (@kingswayanish)
  • From 048f1182797d7959895896620eccd505734db136 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Wed, 11 Dec 2019 16:31:33 -0700 Subject: [PATCH 4/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a01145..b54eb14 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ This library is being built and maintained by me, @tannerlinsley and I am always
  • Robert Tajnšek
  • Pekka Tapani
  • Eric Lanehart (@pushred)
  • -
  • Anish P Patel (@kingswayanish)
  • +
  • Anish P Patel (@anishpatelyaadada)
  • From 1509fc0438b27ee74b8c318c312086e91385d710 Mon Sep 17 00:00:00 2001 From: Yarin Benado Date: Thu, 12 Dec 2019 17:50:05 +0200 Subject: [PATCH 5/9] Rename manualSorting to manualSortBy to reflect API changes (#1770) --- docs/api/useSortBy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/useSortBy.md b/docs/api/useSortBy.md index de17029..39acbf8 100644 --- a/docs/api/useSortBy.md +++ b/docs/api/useSortBy.md @@ -19,7 +19,7 @@ The following options are supported via the main options object passed to `useTa - An array of sorting objects. If there is more than one object in the array, multi-sorting will be enabled. Each sorting object should contain an `id` key with the corresponding column ID to sort by. An optional `desc` key may be set to true or false to indicated ascending or descending sorting for that column. This information is stored in state since the table is allowed to manipulate the filter through user interaction. - `initialState.sortBy` - Identical to the `state.sortBy` option above -- `manualSorting: Bool` +- `manualSortBy: Bool` - Enables sorting detection functionality, but does not automatically perform row sorting. Turn this on if you wish to implement your own sorting outside of the table (eg. server-side or manual row grouping/nesting) - `disableSortBy: Bool` - Disables sorting for every column in the entire table. From 32ae1a52e4e09b6e2ac87ee9f7f891a08f2f043c Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Thu, 12 Dec 2019 23:51:37 +0800 Subject: [PATCH 6/9] fix: render components should include memo/forwardRef (#1764) --- src/utils.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 58d29ff..bd40169 100755 --- a/src/utils.js +++ b/src/utils.js @@ -237,8 +237,20 @@ function isFunctionComponent(component) { return typeof component === 'function' } +function isExoticComponent(component) { + return ( + typeof component === 'object' && + typeof component.$$typeof === 'symbol' && + ['react.memo', 'react.forward_ref'].includes(component.$$typeof.description) + ) +} + function isReactComponent(component) { - return isClassComponent(component) || isFunctionComponent(component) + return ( + isClassComponent(component) || + isFunctionComponent(component) || + isExoticComponent(component) + ) } export function isFunction(a) { From cd5f7e696824411517eae1fdc2d34c73d09ebc33 Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2019 15:55:19 +0000 Subject: [PATCH 7/9] =?UTF-8?q?=F0=9F=91=A9=F0=9F=8F=BC=E2=80=8D?= =?UTF-8?q?=F0=9F=8E=93=20=F0=9F=91=B8=F0=9F=8F=BC=20update=20sizes-es.jso?= =?UTF-8?q?n=20=F0=9F=91=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sizes-es.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sizes-es.json b/sizes-es.json index b0f99fa..d30baad 100644 --- a/sizes-es.json +++ b/sizes-es.json @@ -1,4 +1,14 @@ [ + { + "timestamp": 1576165986389, + "files": [ + { + "filename": "index.es.js", + "size": 22515, + "delta": 140 + } + ] + }, { "timestamp": 1576044496748, "files": [ From dafd1a19722192876d6cf9d46ed4b1bbf8e6ae29 Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2019 15:55:20 +0000 Subject: [PATCH 8/9] =?UTF-8?q?=F0=9F=98=B5=20=F0=9F=93=86=20update=20size?= =?UTF-8?q?s-cjs.json=20=F0=9F=91=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sizes-cjs.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sizes-cjs.json b/sizes-cjs.json index 6867575..adc8d5e 100644 --- a/sizes-cjs.json +++ b/sizes-cjs.json @@ -1,4 +1,14 @@ [ + { + "timestamp": 1576165979638, + "files": [ + { + "filename": "index.js", + "size": 22689, + "delta": 135 + } + ] + }, { "timestamp": 1576044489324, "files": [ From 0de4f69f1403ec7d42846036ae7e75a61f6c2c41 Mon Sep 17 00:00:00 2001 From: Jason Law Date: Fri, 13 Dec 2019 15:16:30 +0800 Subject: [PATCH 9/9] Fix useRowSelect shouldExist (#1774) --- src/plugin-hooks/useRowSelect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin-hooks/useRowSelect.js b/src/plugin-hooks/useRowSelect.js index 657e2c9..b8cad36 100644 --- a/src/plugin-hooks/useRowSelect.js +++ b/src/plugin-hooks/useRowSelect.js @@ -106,7 +106,7 @@ function reducer(state, action, previousState, instanceRef) { // in a flat object const row = flatGroupedRowsById.get(id) const isSelected = row.isSelected - const shouldExist = typeof set !== 'undefined' ? selected : !isSelected + const shouldExist = typeof selected !== 'undefined' ? selected : !isSelected if (isSelected === shouldExist) { return state