diff --git a/packages/components/README.md b/packages/components/README.md index 790b05ecc..6e6758ae3 100644 --- a/packages/components/README.md +++ b/packages/components/README.md @@ -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) diff --git a/packages/components/doc/longTextTooltip.md b/packages/components/doc/longTextTooltip.md deleted file mode 100644 index 2c0a7056d..000000000 --- a/packages/components/doc/longTextTooltip.md +++ /dev/null @@ -1,32 +0,0 @@ -# LongTextTooltip - -Truncating long text by characters number and showing tooltip with full text variant above the truncated snippet. - -## Usage - -Import LongTextTooltip from this package. - -```JSX -import React from 'react'; -import { LongTextTooltip } from '@redhat-cloud-services/frontend-components'; -class YourCmp extends React.Component { - render() { - return ( - - ) - } -} -``` - -## Props - -LongTextTooltip - -```javascript -{ - content: propTypes.string, - maxLength: propTypes.number, - tooltipPosition: propTypes.string, // (top), right, bottom, left - tooltipMaxWidth: propTypes.string -}; -``` diff --git a/packages/components/src/DownloadButton/__snapshots__/DownloadButton.test.js.snap b/packages/components/src/DownloadButton/__snapshots__/DownloadButton.test.js.snap index e1a19c32d..a79e7cebe 100644 --- a/packages/components/src/DownloadButton/__snapshots__/DownloadButton.test.js.snap +++ b/packages/components/src/DownloadButton/__snapshots__/DownloadButton.test.js.snap @@ -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);" >
= (props) => ; - -export default LongTextTooltip; diff --git a/packages/components/src/LongTextTooltip/index.ts b/packages/components/src/LongTextTooltip/index.ts deleted file mode 100644 index 830a5e307..000000000 --- a/packages/components/src/LongTextTooltip/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from '@patternfly/react-component-groups/dist/dynamic/LongTextTooltip'; -export { default } from './LongTextTooltip'; -export { default as LongTextTooltip } from './LongTextTooltip'; diff --git a/packages/components/src/PrimaryToolbar/__snapshots__/Actions.test.js.snap b/packages/components/src/PrimaryToolbar/__snapshots__/Actions.test.js.snap index 0a83c1521..4522cfbbe 100644 --- a/packages/components/src/PrimaryToolbar/__snapshots__/Actions.test.js.snap +++ b/packages/components/src/PrimaryToolbar/__snapshots__/Actions.test.js.snap @@ -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;" >
{
"name": "TooltipPosition"
}|`TooltipPosition.top`|| -|tooltipMaxWidth|`string`|`'50vw'`|| - - - diff --git a/packages/notifications/src/Notification/__snapshots__/Notification.test.tsx.snap b/packages/notifications/src/Notification/__snapshots__/Notification.test.tsx.snap index beec8543a..dcaf55b48 100644 --- a/packages/notifications/src/Notification/__snapshots__/Notification.test.tsx.snap +++ b/packages/notifications/src/Notification/__snapshots__/Notification.test.tsx.snap @@ -30,7 +30,7 @@ exports[`Notification component should render correctly 1`] = ` class="pf-v5-c-alert__title" > Success alert: @@ -87,7 +87,7 @@ exports[`Notification component should render correctly with HTML description 1` class="pf-v5-c-alert__title" > Success alert: @@ -144,7 +144,7 @@ exports[`Notification component should render correctly with HTML title 1`] = ` class="pf-v5-c-alert__title" > Success alert: @@ -201,7 +201,7 @@ exports[`Notification component should render correctly with dismiss button 1`] class="pf-v5-c-alert__title" > Success alert: @@ -283,7 +283,7 @@ exports[`Notification component should render correctly with sentryId 1`] = ` class="pf-v5-c-alert__title" > Success alert: @@ -354,7 +354,7 @@ exports[`Notification component should render correctly without description 1`] class="pf-v5-c-alert__title" > Success alert: diff --git a/packages/notifications/src/NotificationPortal/__snapshots__/NotificationPortal.test.js.snap b/packages/notifications/src/NotificationPortal/__snapshots__/NotificationPortal.test.js.snap index ea6beab24..2572dbad5 100644 --- a/packages/notifications/src/NotificationPortal/__snapshots__/NotificationPortal.test.js.snap +++ b/packages/notifications/src/NotificationPortal/__snapshots__/NotificationPortal.test.js.snap @@ -127,7 +127,7 @@ exports[`Notification portal should render notifications given as direct props 1 class="pf-v5-c-alert__title" > Success alert: @@ -210,7 +210,7 @@ exports[`Notification portal should render notifications given as direct props 1 class="pf-v5-c-alert__title" > Success alert: @@ -331,7 +331,7 @@ exports[`Notification portal should render notifications given as direct props 1 className="pf-v5-c-alert__title" > Success alert: @@ -553,7 +553,7 @@ exports[`Notification portal should render notifications given as direct props o class="pf-v5-c-alert__title" > Success alert: @@ -636,7 +636,7 @@ exports[`Notification portal should render notifications given as direct props o class="pf-v5-c-alert__title" > Success alert: @@ -719,7 +719,7 @@ exports[`Notification portal should render notifications given as direct props o class="pf-v5-c-alert__title" > Success alert: @@ -840,7 +840,7 @@ exports[`Notification portal should render notifications given as direct props o className="pf-v5-c-alert__title" > Success alert: @@ -1040,7 +1040,7 @@ exports[`Notification portal should render notifications given from store 1`] = class="pf-v5-c-alert__title" > Success alert: @@ -1161,7 +1161,7 @@ exports[`Notification portal should render notifications given from store 1`] = className="pf-v5-c-alert__title" > Success alert: