Skip to content

Commit

Permalink
TooltipV2: Remove Hyperlist story (#4996)
Browse files Browse the repository at this point in the history
* Remove hyperlist story

* Lint fixes
  • Loading branch information
TylerJDev committed Sep 20, 2024
1 parent dc80aa6 commit 9fa9989
Showing 1 changed file with 2 additions and 43 deletions.
45 changes: 2 additions & 43 deletions packages/react/src/TooltipV2/Tooltip.examples.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
import React, {useState, useCallback, useRef} from 'react'
import {Button, IconButton, Breadcrumbs, ActionMenu, ActionList, NavList} from '..'
import {Button, IconButton, Breadcrumbs, ActionMenu, ActionList} from '..'
import {PageHeader} from '../PageHeader'
import {Tooltip} from './Tooltip'
import {Dialog} from '../experimental'
import {
GitBranchIcon,
KebabHorizontalIcon,
TriangleDownIcon,
CheckIcon,
PeopleIcon,
SmileyIcon,
EyeIcon,
CommentIcon,
XIcon,
} from '@primer/octicons-react'
import {GitBranchIcon, KebabHorizontalIcon, TriangleDownIcon, CheckIcon, XIcon} from '@primer/octicons-react'
import {default as VisuallyHidden} from '../_VisuallyHidden'

export default {
Expand Down Expand Up @@ -161,37 +151,6 @@ FilesPage.parameters = {
},
}

export const Hyperlist = () => (
<NavList>
<NavList.Item href="/assigned" aria-current="page">
<NavList.LeadingVisual>
<PeopleIcon />
</NavList.LeadingVisual>
Assigned to me
</NavList.Item>
<Tooltip text="Created by me ⌥ ⇧ 2" direction="n">
<NavList.Item href="/created">
<NavList.LeadingVisual>
<SmileyIcon />
</NavList.LeadingVisual>
Created by me
</NavList.Item>
</Tooltip>
<NavList.Item href="/mentioned">
<NavList.LeadingVisual>
<CommentIcon />
</NavList.LeadingVisual>
Mentioned
</NavList.Item>
<NavList.Item href="/recent-activity">
<NavList.LeadingVisual>
<EyeIcon />
</NavList.LeadingVisual>
Recent activity
</NavList.Item>
</NavList>
)

export const DialogTrigger = () => {
const [isOpen, setIsOpen] = useState(false)
const [secondOpen, setSecondOpen] = useState(false)
Expand Down

0 comments on commit 9fa9989

Please sign in to comment.