Skip to content

Commit f2feee7

Browse files
authored
docs: remove events tab for components who don't have it (#4546)
1 parent de9f811 commit f2feee7

File tree

8 files changed

+6
-36
lines changed

8 files changed

+6
-36
lines changed

packages/dnb-design-system-portal/src/docs/uilib/components/avatar.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ description: 'The Avatar component are identifiers that makes people and compani
44
status: null
55
showTabs: true
66
theme: 'sbanken'
7+
hideTabs:
8+
- title: Events
79
---
810

911
import AvatarInfo from 'Docs/uilib/components/avatar/info'

packages/dnb-design-system-portal/src/docs/uilib/components/avatar/events.mdx

-7
This file was deleted.

packages/dnb-design-system-portal/src/docs/uilib/components/badge.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: 'Badge'
33
description: 'The Badge component allows the user to focus on new or unread content or notifications.'
44
showTabs: true
5+
hideTabs:
6+
- title: Events
57
---
68

79
import BadgeInfo from 'Docs/uilib/components/badge/info'

packages/dnb-design-system-portal/src/docs/uilib/components/badge/events.mdx

-7
This file was deleted.

packages/dnb-design-system-portal/src/docs/uilib/components/timeline.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: 'Timeline'
33
description: 'The Timeline component shows events in chronological order and gives a great overview of the overall process.'
44
status: null
55
showTabs: true
6+
hideTabs:
7+
- title: Events
68
---
79

810
import TimelineInfo from 'Docs/uilib/components/timeline/info'

packages/dnb-design-system-portal/src/docs/uilib/components/timeline/events.mdx

-7
This file was deleted.

packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/events.mdx

-8
This file was deleted.

packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/events.mdx

-7
This file was deleted.

0 commit comments

Comments
 (0)