diff --git a/src/components/Link/Link.scss b/src/components/Link/Link.scss index fbf9dd3256..618e92bbcd 100644 --- a/src/components/Link/Link.scss +++ b/src/components/Link/Link.scss @@ -13,8 +13,7 @@ $block: '.#{variables.$ns}link'; outline: 2px solid var(--g-color-line-focus); } - &_view_normal, - &_view_normal-visitable { + &_view_normal { color: var(--g-color-text-link); } @@ -34,8 +33,7 @@ $block: '.#{variables.$ns}link'; } } - &_visitable, - &_view_normal-visitable { + &_visitable { &:visited { color: var(--g-color-text-link-visited); } diff --git a/src/components/Link/Link.tsx b/src/components/Link/Link.tsx index 865fd65b0b..4503356bc4 100644 --- a/src/components/Link/Link.tsx +++ b/src/components/Link/Link.tsx @@ -6,12 +6,9 @@ import {eventBroker} from '../utils/event-broker'; import './Link.scss'; -export type LinkView = 'normal' | 'primary' | 'secondary' | 'normal-visitable'; +export type LinkView = 'normal' | 'primary' | 'secondary'; export interface LinkProps extends DOMProps, QAProps { - /** - * 'normal-visitable' view is deprecated, use 'visitable' prop instead - */ view?: LinkView; visitable?: boolean; title?: string; diff --git a/src/components/Link/__stories__/Link.new.stories.tsx b/src/components/Link/__stories__/Link.new.stories.tsx index aaeaabedbd..40a4e82f2f 100644 --- a/src/components/Link/__stories__/Link.new.stories.tsx +++ b/src/components/Link/__stories__/Link.new.stories.tsx @@ -15,7 +15,7 @@ export default { }, argTypes: { view: { - options: ['normal', 'primary', 'secondary', 'normal-visitable'], + options: ['normal', 'primary', 'secondary'], control: {type: 'select'}, description: 'test', }, diff --git a/src/components/Link/__stories__/LinkShowcase.tsx b/src/components/Link/__stories__/LinkShowcase.tsx index be2ff97cf6..4bc3ce4350 100644 --- a/src/components/Link/__stories__/LinkShowcase.tsx +++ b/src/components/Link/__stories__/LinkShowcase.tsx @@ -24,10 +24,6 @@ export function LinkShowcase() { name: 'View secondary', value: 'secondary', }, - { - name: 'View normal-visitable', - value: 'normal-visitable', - }, ], href: [ {