From e5d672b9ea1b1201e2206800cd93e1e97b1216f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2019 15:48:41 -0500 Subject: [PATCH 1/4] Bump eslint-utils from 1.4.0 to 1.4.3 in /examples/column-hiding (#1717) Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.3. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.3) Signed-off-by: dependabot[bot] --- examples/column-hiding/yarn.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/column-hiding/yarn.lock b/examples/column-hiding/yarn.lock index 5e99a87..8a7c0d8 100644 --- a/examples/column-hiding/yarn.lock +++ b/examples/column-hiding/yarn.lock @@ -3652,16 +3652,16 @@ eslint-scope@^4.0.0, eslint-scope@^4.0.3: estraverse "^4.1.1" eslint-utils@^1.3.1: - version "1.4.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.0.tgz#e2c3c8dba768425f897cf0f9e51fe2e241485d4c" - integrity sha512-7ehnzPaP5IIEh1r1tkjuIrxqhNkzUJa9z3R92tLJdZIVdWaczEhr3EbhGtsMrVxi1KeR8qA7Off6SWc5WNQqyQ== + version "1.4.3" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" + integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== dependencies: - eslint-visitor-keys "^1.0.0" + eslint-visitor-keys "^1.1.0" -eslint-visitor-keys@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" - integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== +eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" + integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== eslint@^5.16.0: version "5.16.0" From 7169b3100b5f0ace291620b4c9d37c258d87b41b Mon Sep 17 00:00:00 2001 From: Martin Brenner Date: Thu, 5 Dec 2019 21:48:57 +0100 Subject: [PATCH 2/4] Remove tooltip if columnDisableSortBy (#1685) * Remove tooltip if columnDisableSortBy * update sorting test snapshot --- .../tests/__snapshots__/useSortBy.test.js.snap | 10 +++++----- src/plugin-hooks/useSortBy.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugin-hooks/tests/__snapshots__/useSortBy.test.js.snap b/src/plugin-hooks/tests/__snapshots__/useSortBy.test.js.snap index 0e939d3..8fc5f09 100644 --- a/src/plugin-hooks/tests/__snapshots__/useSortBy.test.js.snap +++ b/src/plugin-hooks/tests/__snapshots__/useSortBy.test.js.snap @@ -5,7 +5,7 @@ Snapshot Diff: - First value + Second value -@@ -22,11 +22,13 @@ +@@ -20,11 +20,13 @@ colspan="1" style="cursor: pointer;" title="Toggle SortBy" @@ -20,7 +20,7 @@ Snapshot Diff: colspan="1" style="cursor: pointer;" title="Toggle SortBy" -@@ -69,66 +71,66 @@ +@@ -67,66 +69,66 @@ @@ -112,7 +112,7 @@ Snapshot Diff: - First value + Second value -@@ -23,11 +23,11 @@ +@@ -21,11 +21,11 @@ style="cursor: pointer;" title="Toggle SortBy" > @@ -125,7 +125,7 @@ Snapshot Diff: @@ -158,7 +158,7 @@ Snapshot Diff: firstName: joe -@@ -111,26 +111,26 @@ +@@ -109,26 +109,26 @@ progress: 10 diff --git a/src/plugin-hooks/useSortBy.js b/src/plugin-hooks/useSortBy.js index a493122..e433b69 100755 --- a/src/plugin-hooks/useSortBy.js +++ b/src/plugin-hooks/useSortBy.js @@ -233,7 +233,7 @@ function useInstance(instance) { style: { cursor: canSort ? 'pointer' : undefined, }, - title: 'Toggle SortBy', + title: canSort ? 'Toggle SortBy' : undefined, }, applyPropHooks( instanceRef.current.hooks.getSortByToggleProps, From 08d6e2da71bab57009be9b98e39873872626bb7c Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2019 20:48:58 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=A6=BD=20=F0=9F=9F=AA=20update=20size?= =?UTF-8?q?s-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 c8291d0..c4366df 100644 --- a/sizes-es.json +++ b/sizes-es.json @@ -1,4 +1,14 @@ [ + { + "timestamp": 1575578837727, + "files": [ + { + "filename": "index.es.js", + "size": 21023, + "delta": 575 + } + ] + }, { "timestamp": 1575555429414, "files": [ From 4c9d868a1221f077aaca5e9680f0938e25f7029d Mon Sep 17 00:00:00 2001 From: "size-plugin[bot]" <52573255+size-plugin[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2019 20:48:59 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=A7=9C=F0=9F=8F=BD=E2=80=8D=E2=99=80?= =?UTF-8?q?=EF=B8=8F=20=F0=9F=A7=96=E2=80=8D=E2=99=80=EF=B8=8F=20update=20?= =?UTF-8?q?sizes-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 ea4c870..5feca7e 100644 --- a/sizes-cjs.json +++ b/sizes-cjs.json @@ -1,4 +1,14 @@ [ + { + "timestamp": 1575578830463, + "files": [ + { + "filename": "index.js", + "size": 21245, + "delta": 652 + } + ] + }, { "timestamp": 1575555421868, "files": [