Skip to content

Commit

Permalink
Tooltip v2: Update tooltip draft id and add to the `primer.style/reac…
Browse files Browse the repository at this point in the history
…t` navigation (#3810)

* update tooltip draft id and add to the nav

* add a source to mdx

* rename the name
  • Loading branch information
broccolinisoup authored Oct 12, 2023
1 parent a84a149 commit 44dd8ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions docs/content/drafts/Tooltip.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
componentId: tooltip
title: Tooltip
status: Alpha
componentId: tooltip_v2
title: Tooltip v2
status: Draft
source: https://github.com/primer/react/blob/main/src/drafts/Tooltip.tsx
---

import data from '../../../src/drafts/Tooltip/Tooltip.docs.json'
Expand Down
6 changes: 4 additions & 2 deletions docs/src/@primer/gatsby-theme-doctocat/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@
children:
- title: Dialog v2
url: /drafts/Dialog
- title: Hidden
url: /drafts/Hidden
- title: InlineAutocomplete
url: /drafts/InlineAutocomplete
- title: MarkdownEditor
Expand All @@ -170,8 +172,8 @@
url: /drafts/UnderlineNav2
- title: PageHeader
url: /drafts/PageHeader
- title: Hidden
url: /drafts/Hidden
- title: Tooltip v2
url: /drafts/Tooltip
- title: Deprecated
children:
- title: ActionList (legacy)
Expand Down
2 changes: 1 addition & 1 deletion src/drafts/Tooltip/Tooltip.docs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "tooltip",
"id": "tooltip_v2",
"name": "Tooltip",
"status": "draft",
"a11yReviewed": false,
Expand Down

0 comments on commit 44dd8ec

Please sign in to comment.