From be4c8c16112437b9556ff35a747e65246e5e659b Mon Sep 17 00:00:00 2001 From: rshen91 Date: Mon, 18 Nov 2024 13:03:09 -0700 Subject: [PATCH] types --- .../components/external_link/external_link_component.tsx | 5 ----- .../url_drilldown_collect_config/test_samples/demo.tsx | 2 -- .../public/drilldowns/url_drilldown/constants.ts | 2 -- .../public/drilldowns/url_drilldown/types.ts | 2 -- 4 files changed, 11 deletions(-) diff --git a/src/plugins/links/public/components/external_link/external_link_component.tsx b/src/plugins/links/public/components/external_link/external_link_component.tsx index 489b11bfa60fd..a0e495c32dc48 100644 --- a/src/plugins/links/public/components/external_link/external_link_component.tsx +++ b/src/plugins/links/public/components/external_link/external_link_component.tsx @@ -7,7 +7,6 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -import classNames from 'classnames'; import React, { useMemo } from 'react'; import { EuiListGroupItem } from '@elastic/eui'; import { METRIC_TYPE } from '@kbn/analytics'; @@ -52,10 +51,6 @@ export const ExternalLinkComponent = ({ external color="text" isDisabled={Boolean(link.error)} - className={classNames('linksPanelLink', { - overflowEllipsis: linkOptions?.overflowEllipsis, - overflowTextWrap: linkOptions?.overflowTextWrap, - })} showToolTip={Boolean(link.error)} toolTipProps={{ content: link.error?.message, diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx index 10d94d0e4fefd..247b62f081809 100644 --- a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx @@ -16,8 +16,6 @@ export const Demo = () => { openInNewTab: false, encodeUrl: true, url: { template: '' }, - overflowEllipsis: true, - overflowTextWrap: false, }); return ( diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/constants.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/constants.ts index ae4b00622ed1d..45ec9c27c8217 100644 --- a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/constants.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/constants.ts @@ -12,6 +12,4 @@ import { UrlDrilldownOptions } from './types'; export const DEFAULT_URL_DRILLDOWN_OPTIONS: UrlDrilldownOptions = { encodeUrl: true, openInNewTab: true, - overflowEllipsis: true, - overflowTextWrap: false, }; diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts index e2d2ecf42108b..973fcb1c8ebbf 100644 --- a/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts @@ -18,8 +18,6 @@ export type UrlDrilldownConfig = { export type UrlDrilldownOptions = { openInNewTab: boolean; encodeUrl: boolean; - overflowEllipsis: boolean; - overflowTextWrap: boolean; }; /**