From 7f621e78d9e8e078b294bace8119797d83bc6a9b Mon Sep 17 00:00:00 2001 From: Josh Black Date: Wed, 11 Dec 2019 12:13:37 -0600 Subject: [PATCH 1/2] fix(data-table): update menu to match visible and accessible labels --- packages/react/src/components/DataTable/TableToolbarMenu.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react/src/components/DataTable/TableToolbarMenu.js b/packages/react/src/components/DataTable/TableToolbarMenu.js index b745f015392c..6ad394bca816 100644 --- a/packages/react/src/components/DataTable/TableToolbarMenu.js +++ b/packages/react/src/components/DataTable/TableToolbarMenu.js @@ -27,9 +27,11 @@ const TableToolbarMenu = ({ ); return ( {children} From e51fa409e363c6d540ffc3e5eaddafbaef64f1bb Mon Sep 17 00:00:00 2001 From: Josh Black Date: Wed, 11 Dec 2019 16:18:09 -0600 Subject: [PATCH 2/2] chore(react): update snapshots --- .../__snapshots__/DataTable-test.js.snap | 32 +++++++++++-------- .../TableToolbarMenu-test.js.snap | 16 ++++++---- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/packages/react/src/components/DataTable/__tests__/__snapshots__/DataTable-test.js.snap b/packages/react/src/components/DataTable/__tests__/__snapshots__/DataTable-test.js.snap index 7273314e7f8e..a2a5c3cd4e80 100644 --- a/packages/react/src/components/DataTable/__tests__/__snapshots__/DataTable-test.js.snap +++ b/packages/react/src/components/DataTable/__tests__/__snapshots__/DataTable-test.js.snap @@ -2342,8 +2342,10 @@ exports[`DataTable should render 1`] = ` } > - open and close list of options + Settings @@ -3317,8 +3319,10 @@ exports[`DataTable sticky header should render 1`] = ` } > - open and close list of options + Settings diff --git a/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarMenu-test.js.snap b/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarMenu-test.js.snap index a8504a0d5e3e..6c5af9ef52bd 100644 --- a/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarMenu-test.js.snap +++ b/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarMenu-test.js.snap @@ -12,8 +12,10 @@ exports[`DataTable.TableToolbarMenu should render 1`] = ` } > - open and close list of options + Add