Skip to content

Commit

Permalink
Remove LongTextTooltip component
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac committed Nov 9, 2023
1 parent f77a4e0 commit ea6a13f
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 84 deletions.
1 change: 0 additions & 1 deletion packages/components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ transform: (importName) =>`@redhat-cloud-services/frontend-components/esm/${FECM
* [emptyTable](doc/emptyTable.md)
* [input](doc/input.md)
* [dropdown](doc/dropdown.md)
* [longTextTooltip](doc/longTextTooltip.md)
* [spinner](doc/spinner.md)
* [ansible](doc/ansible.md)
* [filters](doc/filters.md)
Expand Down
32 changes: 0 additions & 32 deletions packages/components/doc/longTextTooltip.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ exports[`DownloadButton component API clicking should open dropdown 1`] = `
data-popper-escaped="true"
data-popper-placement="bottom-start"
data-popper-reference-hidden="true"
style="position: absolute; left: 0px; top: 0px; z-index: 9999; min-width: 0px; transform: translate(0px, 0px);"
style="position: absolute; left: 0px; top: 0px; z-index: 9999; opacity: 1; transition: opacity 0ms cubic-bezier(.54, 1.5, .38, 1.11); min-width: 0px; transform: translate(0px, 0px);"
>
<div
class="pf-v5-c-menu__content"
Expand Down
10 changes: 0 additions & 10 deletions packages/components/src/LongTextTooltip/LongTextTooltip.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions packages/components/src/LongTextTooltip/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exports[`Actions - component API should update open 1`] = `
data-ouia-component-id="Actions"
data-ouia-component-type="PF5/Dropdown"
data-ouia-safe="true"
style="position: absolute; left: 0px; top: 0px; z-index: 9999; min-width: 0px;"
style="position: absolute; left: 0px; top: 0px; z-index: 9999; opacity: 0; transition: opacity 0ms cubic-bezier(.54, 1.5, .38, 1.11); min-width: 0px;"
>
<div
class="pf-v5-c-menu__content"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,9 @@ exports[`Two tables Should render modal with disabled button 1`] = `
>
<Tabs
activeKey={0}
backScrollAriaLabel="Scroll back"
component="div"
forwardScrollAriaLabel="Scroll forward"
hasNoBorderBottom={false}
isBox={false}
isFilled={false}
Expand Down Expand Up @@ -437,7 +439,9 @@ exports[`Two tables should render modal with enabled button 1`] = `
>
<Tabs
activeKey={0}
backScrollAriaLabel="Scroll back"
component="div"
forwardScrollAriaLabel="Scroll forward"
hasNoBorderBottom={false}
isBox={false}
isFilled={false}
Expand Down Expand Up @@ -562,7 +566,9 @@ exports[`Two tables should render two tables 1`] = `
>
<Tabs
activeKey={0}
backScrollAriaLabel="Scroll back"
component="div"
forwardScrollAriaLabel="Scroll forward"
hasNoBorderBottom={false}
isBox={false}
isFilled={false}
Expand Down Expand Up @@ -680,7 +686,9 @@ exports[`Two tables should render two tables in loading state 1`] = `
>
<Tabs
activeKey={0}
backScrollAriaLabel="Scroll back"
component="div"
forwardScrollAriaLabel="Scroll forward"
hasNoBorderBottom={false}
isBox={false}
isFilled={false}
Expand Down
1 change: 0 additions & 1 deletion packages/components/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import * as t from '@redhat-cloud-services/types'; // required to get the API. We can't use simple import due to tree shaking
export * from './LongTextTooltip';
export * from './Section';
export * from './Ansible';
export * from './Main';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,6 @@
"InventoryLoadError"
]
},
{
"group": "LongTextTooltip",
"items": [
"LongTextTooltip"
]
},
{
"group": "Maintenance",
"items": [
Expand Down
14 changes: 0 additions & 14 deletions packages/docs/pages/fec/modules/components/LongTextTooltip.mdx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ exports[`Notification component should render correctly 1`] = `
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -87,7 +87,7 @@ exports[`Notification component should render correctly with HTML description 1`
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -144,7 +144,7 @@ exports[`Notification component should render correctly with HTML title 1`] = `
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -201,7 +201,7 @@ exports[`Notification component should render correctly with dismiss button 1`]
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -283,7 +283,7 @@ exports[`Notification component should render correctly with sentryId 1`] = `
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -354,7 +354,7 @@ exports[`Notification component should render correctly without description 1`]
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ exports[`Notification portal should render notifications given as direct props 1
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -210,7 +210,7 @@ exports[`Notification portal should render notifications given as direct props 1
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -331,7 +331,7 @@ exports[`Notification portal should render notifications given as direct props 1
className="pf-v5-c-alert__title"
>
<span
className="pf-v5-u-screen-reader"
className="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -553,7 +553,7 @@ exports[`Notification portal should render notifications given as direct props o
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -636,7 +636,7 @@ exports[`Notification portal should render notifications given as direct props o
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -719,7 +719,7 @@ exports[`Notification portal should render notifications given as direct props o
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -840,7 +840,7 @@ exports[`Notification portal should render notifications given as direct props o
className="pf-v5-c-alert__title"
>
<span
className="pf-v5-u-screen-reader"
className="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -1040,7 +1040,7 @@ exports[`Notification portal should render notifications given from store 1`] =
class="pf-v5-c-alert__title"
>
<span
class="pf-v5-u-screen-reader"
class="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down Expand Up @@ -1161,7 +1161,7 @@ exports[`Notification portal should render notifications given from store 1`] =
className="pf-v5-c-alert__title"
>
<span
className="pf-v5-u-screen-reader"
className="pf-v5-screen-reader"
>
Success alert:
</span>
Expand Down

0 comments on commit ea6a13f

Please sign in to comment.