From 4691af9be7c770a73232aa36699a60e8e9d8eab3 Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Mon, 31 Oct 2022 14:52:40 -0500 Subject: [PATCH] chore(search): add playground story and remove next folder (#12380) * chore(search): add playground story * chore(search): remove next folder * chore(search): remove next folder * chore(search): update snapshots * chore(search): update snapshots * Update DataTable-test.js.snap * Update TableToolbarSearch-test.js.snap * docs: update snapshot * docs: add displayname update tests Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../__snapshots__/DataTable-test.js.snap | 124 ++--- .../TableToolbarSearch-test.js.snap | 44 +- .../src/components/Search/Search-test.js | 184 ++++--- .../react/src/components/Search/Search.js | 499 ++++++++---------- .../Search/{next => }/Search.stories.js | 107 +++- packages/react/src/components/Search/index.js | 11 +- .../src/components/Search/next/Search-test.js | 335 ------------ .../src/components/Search/next/Search.js | 255 --------- 8 files changed, 522 insertions(+), 1037 deletions(-) rename packages/react/src/components/Search/{next => }/Search.stories.js (62%) delete mode 100644 packages/react/src/components/Search/next/Search-test.js delete mode 100644 packages/react/src/components/Search/next/Search.js 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 550867deb6e3..041dc78208b4 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 @@ -112,13 +112,13 @@ exports[`DataTable selection -- radio buttons should not have select-all checkbo >

DataTable with selection

@@ -467,13 +467,13 @@ exports[`DataTable selection -- radio buttons should render 1`] = ` >

DataTable with selection

@@ -900,13 +900,13 @@ exports[`DataTable selection should have select-all default to un-checked if no >

DataTable with selection

@@ -1304,13 +1304,13 @@ exports[`DataTable selection should render 1`] = ` >

DataTable with selection

@@ -1965,13 +1965,13 @@ exports[`DataTable should render 1`] = ` >

DataTable with toolbar

- - + - - - - - + + + + + +
@@ -2987,13 +2989,13 @@ exports[`DataTable sticky header should render 1`] = ` >

DataTable with toolbar

- - + - - - - - + + + + + +
diff --git a/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarSearch-test.js.snap b/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarSearch-test.js.snap index aff35f5d1d4c..fe8124b2b101 100644 --- a/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarSearch-test.js.snap +++ b/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarSearch-test.js.snap @@ -12,7 +12,6 @@ exports[`DataTable.TableToolbarSearch should render 1`] = ` >
- - + - - - - - + + + + + +