From 72c68aa11abce593d0f026654a70fa554d0ae9c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20S=C3=A1zel?= Date: Tue, 9 Feb 2021 17:46:33 +0100 Subject: [PATCH] addressed comments --- .../__snapshots__/Drawer.test.tsx.snap | 18 +- .../__snapshots__/Select.test.tsx.snap | 510 +----------------- packages/react-icons/src/createIcon.tsx | 7 +- 3 files changed, 15 insertions(+), 520 deletions(-) diff --git a/packages/react-core/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap b/packages/react-core/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap index 082f3404d73..74244414a00 100644 --- a/packages/react-core/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap +++ b/packages/react-core/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap @@ -250,14 +250,10 @@ exports[`Drawer has resizable callback and id 1`] = ` @@ -421,14 +417,10 @@ exports[`Drawer has resizable css 1`] = ` @@ -684,14 +676,10 @@ exports[`Drawer isExpanded = false and isInline = true and isStatic = false 1`] diff --git a/packages/react-core/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap b/packages/react-core/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap index 64e4f7f8d88..4d9973b48a8 100644 --- a/packages/react-core/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +++ b/packages/react-core/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap @@ -10750,7 +10750,6 @@ exports[`typeahead select renders closed successfully 1`] = ` fill="currentColor" height="1em" role="img" - style="vertical-align: -0.125em;" viewBox="0 0 320 512" width="1em" > @@ -10813,11 +10812,6 @@ exports[`typeahead select renders closed successfully 1`] = ` fill="currentColor" height="1em" role="img" - style={ - Object { - "verticalAlign": "-0.125em", - } - } viewBox="0 0 320 512" width="1em" > @@ -10873,171 +10867,6 @@ exports[`typeahead select renders expanded successfully 1`] = ` typeAheadAriaLabel="" variant="typeahead" width="" -> - -
- -
- , - } - } - type="button" - variant="typeahead" - > -
-
- -
- -
- - - - -`; - -exports[`typeahead select renders expanded successfully 1`] = ` - - -
- - - , - } - } - onClickTypeaheadToggleButton={[Function]} - onClose={[Function]} - onEnter={[Function]} - onToggle={[MockFunction]} - parentRef={ - Object { - "current":
-
-
- -
- -
-
    - -
-
, - } - } - type="button" - variant="typeahead" - > -
-
- -
- -
-
- - - - , - } - } - isCustomContent={false} - isExpanded={false} - isGrouped={false} - keyHandler={[Function]} - maxHeight="" - openedOnEnter={false} - selected="" - sendRef={[Function]} - > -
    - - - -
-
-
-
-
- -`; - exports[`typeahead select test onChange 1`] = `