From 677dcdc2502d437f8b96495ce657c3432da8924c Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Fri, 14 Feb 2020 19:14:17 +0000 Subject: [PATCH 1/8] =?UTF-8?q?=F0=9F=8F=A2=20=F0=9F=94=95=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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sizes-cjs.json b/sizes-cjs.json index 7d5ba74..3c403d7 100644 --- a/sizes-cjs.json +++ b/sizes-cjs.json @@ -1,11 +1,11 @@ [ { - "timestamp": 1578686270736, + "timestamp": 1581707641853, "files": [ { "filename": "index.js", - "size": 23119, - "delta": -3 + "size": 25793, + "delta": 2674 } ] } From 49bdf9520501a3354f3d5163e9f51a8bdca676a5 Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Fri, 14 Feb 2020 19:14:18 +0000 Subject: [PATCH 2/8] =?UTF-8?q?=F0=9F=91=A9=F0=9F=8F=BE=E2=80=8D?= =?UTF-8?q?=F0=9F=92=BB=20=F0=9F=91=8C=F0=9F=8F=BB=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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sizes-es.json b/sizes-es.json index f25218c..fb80998 100644 --- a/sizes-es.json +++ b/sizes-es.json @@ -1,11 +1,11 @@ [ { - "timestamp": 1578686279477, + "timestamp": 1581707649631, "files": [ { "filename": "index.es.js", - "size": 22915, - "delta": -2 + "size": 25591, + "delta": 2676 } ] } From 05d946ecfbe3129a1effe6ed681f4709fdf527a2 Mon Sep 17 00:00:00 2001 From: gargroh <42495927+gargroh@users.noreply.github.com> Date: Sat, 15 Feb 2020 00:45:30 +0530 Subject: [PATCH 3/8] Following columnId instaed of columnID (#1848) --- 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 6fecac7..1cee88d 100644 --- a/docs/api/useSortBy.md +++ b/docs/api/useSortBy.md @@ -72,7 +72,7 @@ The following options are supported on any `Column` object passed to the `column - Defaults to `false` - If set to `true`, the underlying sorting direction will be inverted, but the UI will not. - This may be useful in situations where positive and negative connotation is inverted, eg. a Golfing score where a lower score is considered more positive than a higher one. -- `sortType: String | Function(rowA: , rowB: , columnID: String, desc: Bool)` +- `sortType: String | Function(rowA: , rowB: , columnId: String, desc: Bool)` - Used to compare 2 rows of data and order them correctly. - If a **function** is passed, it must be **memoized** - String options: `basic`, `datetime`, `alphanumeric`. Defaults to `alphanumeric`. From c984796190d977dc3d6abb0e1d40a26ce05138aa Mon Sep 17 00:00:00 2001 From: Ovieh Mosley Date: Fri, 14 Feb 2020 19:55:42 +0000 Subject: [PATCH 4/8] Update App.js (#1858) Fixed typo. --- examples/editable-data/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/editable-data/src/App.js b/examples/editable-data/src/App.js index 0684e71..5495765 100644 --- a/examples/editable-data/src/App.js +++ b/examples/editable-data/src/App.js @@ -63,7 +63,7 @@ const EditableCell = ({ updateMyData(index, id, value) } - // If the initialValue is changed externall, sync it up with our state + // If the initialValue is changed external, sync it up with our state React.useEffect(() => { setValue(initialValue) }, [initialValue]) From 812b41636755ea96df4dae69e3adedfc705940f9 Mon Sep 17 00:00:00 2001 From: Zain Shaikh Date: Sat, 15 Feb 2020 00:57:05 +0500 Subject: [PATCH 5/8] fix: fix spelling of manualGroupBy parameter (#1860) Co-authored-by: Tanner Linsley --- .size-snapshot.json | 8 ++++++++ src/plugin-hooks/useGroupBy.js | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.size-snapshot.json b/.size-snapshot.json index 4493b6c..01d9ccb 100644 --- a/.size-snapshot.json +++ b/.size-snapshot.json @@ -1,5 +1,13 @@ { "dist/index.js": { + "bundled": 113198, + "minified": 52513, + "gzipped": 13835 + }, + "dist/index.es.js": { + "bundled": 112261, + "minified": 51677, + "gzipped": 13669, "bundled": 126701, "minified": 59700, "gzipped": 15373 diff --git a/src/plugin-hooks/useGroupBy.js b/src/plugin-hooks/useGroupBy.js index ea88f29..958bd0c 100755 --- a/src/plugin-hooks/useGroupBy.js +++ b/src/plugin-hooks/useGroupBy.js @@ -128,7 +128,6 @@ function useInstance(instance) { state: { groupBy }, dispatch, autoResetGroupBy = true, - manaulGroupBy, disableGroupBy, defaultCanGroupBy, getHooks, @@ -320,7 +319,7 @@ function useInstance(instance) { if (getAutoResetGroupBy()) { dispatch({ type: actions.resetGroupBy }) } - }, [dispatch, manaulGroupBy ? null : data]) + }, [dispatch, manualGroupBy ? null : data]) Object.assign(instance, { preGroupedRows: rows, From 42ad10a7d89efe1b103655ea59bf7934e524e052 Mon Sep 17 00:00:00 2001 From: gargroh <42495927+gargroh@users.noreply.github.com> Date: Sat, 15 Feb 2020 01:30:42 +0530 Subject: [PATCH 6/8] correct column sort fn (#1866) --- 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 1cee88d..77ade46 100644 --- a/docs/api/useSortBy.md +++ b/docs/api/useSortBy.md @@ -106,7 +106,7 @@ The following properties are available on every `Column` object returned by the - This function is used to resolve any props needed for this column's UI that is responsible for toggling the sort direction when the user clicks it. - You can use the `getSortByToggleProps` hook to extend its functionality. - Custom props may be passed. **NOTE: Custom props may override built-in sortBy props, so be careful!** -- `clearSorting: Function() => void` +- `clearSortBy: Function() => void` - This function can be used to programmatically clear the sorting for this column. - `isSorted: Boolean` - Denotes whether this column is currently being sorted From af58d06a1e49f2880d5a9613880d84a7832aa406 Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Fri, 14 Feb 2020 20:01:08 +0000 Subject: [PATCH 7/8] =?UTF-8?q?=F0=9F=95=A4=20=F0=9F=A4=B7=E2=80=8D?= =?UTF-8?q?=E2=99=82=EF=B8=8F=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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sizes-cjs.json b/sizes-cjs.json index 3c403d7..b0ec55a 100644 --- a/sizes-cjs.json +++ b/sizes-cjs.json @@ -1,11 +1,11 @@ [ { - "timestamp": 1581707641853, + "timestamp": 1581710431975, "files": [ { "filename": "index.js", - "size": 25793, - "delta": 2674 + "size": 25790, + "delta": -3 } ] } From 475c0a0637b1f0266fa2982bb89f673c9a0244f7 Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Fri, 14 Feb 2020 20:01:09 +0000 Subject: [PATCH 8/8] =?UTF-8?q?=F0=9F=8F=BC=20=F0=9F=91=A9=F0=9F=8F=BB?= =?UTF-8?q?=E2=80=8D=E2=9A=95=EF=B8=8F=20update=20sizes-es.json=20?= =?UTF-8?q?=F0=9F=91=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sizes-es.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sizes-es.json b/sizes-es.json index fb80998..1ab8ade 100644 --- a/sizes-es.json +++ b/sizes-es.json @@ -1,11 +1,11 @@ [ { - "timestamp": 1581707649631, + "timestamp": 1581710438411, "files": [ { "filename": "index.es.js", - "size": 25591, - "delta": 2676 + "size": 25587, + "delta": -4 } ] }