Skip to content

Commit

Permalink
docs: update docs for drafts to experimental (#5162)
Browse files Browse the repository at this point in the history
* docs: update docs for drafts to experimental

* chore: add changeset

* docs: use status draft as a supported value

---------

Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
  • Loading branch information
joshblack and joshblack authored Oct 21, 2024
1 parent e9607e7 commit a5feea7
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 26 deletions.
5 changes: 5 additions & 0 deletions .changeset/young-cats-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Update generated docs for draft components to use experimental instead
24 changes: 12 additions & 12 deletions packages/react/src/DataTable/DataTable.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,40 @@
"a11yReviewed": false,
"stories": [
{
"id": "drafts-components-datatable-features--with-title"
"id": "experimental-components-datatable-features--with-title"
},
{
"id": "drafts-components-datatable-features--with-title-and-subtitle"
"id": "experimental-components-datatable-features--with-title-and-subtitle"
},
{
"id": "drafts-components-datatable-features--with-sorting"
"id": "experimental-components-datatable-features--with-sorting"
},
{
"id": "drafts-components-datatable-features--with-actions"
"id": "experimental-components-datatable-features--with-actions"
},
{
"id": "drafts-components-datatable-features--with-action"
"id": "experimental-components-datatable-features--with-action"
},
{
"id": "drafts-components-datatable-features--with-row-action"
"id": "experimental-components-datatable-features--with-row-action"
},
{
"id": "drafts-components-datatable-features--with-row-actions"
"id": "experimental-components-datatable-features--with-row-actions"
},
{
"id": "drafts-components-datatable-features--with-row-action-menu"
"id": "experimental-components-datatable-features--with-row-action-menu"
},
{
"id": "drafts-components-datatable-features--with-custom-heading"
"id": "experimental-components-datatable-features--with-custom-heading"
},
{
"id": "drafts-components-datatable-features--with-no-content"
"id": "experimental-components-datatable-features--with-no-content"
},
{
"id": "drafts-components-datatable-features--with-loading"
"id": "experimental-components-datatable-features--with-loading"
},
{
"id": "drafts-components-datatable-features--with-pagination"
"id": "experimental-components-datatable-features--with-pagination"
}
],
"importPath": "@primer/react/experimental",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/Dialog/Dialog.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@
}
],
"subcomponents": []
}
}
8 changes: 4 additions & 4 deletions packages/react/src/InlineMessage/InlineMessage.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
"importPath": "@primer/react/experimental",
"stories": [
{
"id": "drafts-components-inlinemessage-features--critical"
"id": "experimental-components-inlinemessage-features--critical"
},
{
"id": "drafts-components-inlinemessage-features--success"
"id": "experimental-components-inlinemessage-features--success"
},
{
"id": "drafts-components-inlinemessage-features--unavailable"
"id": "experimental-components-inlinemessage-features--unavailable"
},
{
"id": "drafts-components-inlinemessage-features--warning"
"id": "experimental-components-inlinemessage-features--warning"
}
],
"props": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"status": "draft",
"a11yReviewed": false,
"stories": [
{"id": "drafts-components-selectpanel-examples--minimal"},
{"id": "drafts-components-selectpanel-examples--short-select-panel"},
{"id": "drafts-components-selectpanel-features--instant-selection-variant"},
{"id": "drafts-components-selectpanel-features--with-warning"},
{"id": "drafts-components-selectpanel-examples--open-from-menu"},
{"id": "drafts-components-selectpanel-examples--with-groups"},
{"id": "drafts-components-selectpanel-examples--async-search-with-use-transition"},
{"id": "drafts-components-selectpanel-examples--async-with-suspended-list"},
{"id": "drafts-components-selectpanel-examples--with-filter-buttons"}
{"id": "experimental-components-selectpanel-examples--minimal"},
{"id": "experimental-components-selectpanel-examples--short-select-panel"},
{"id": "experimental-components-selectpanel-features--instant-selection-variant"},
{"id": "experimental-components-selectpanel-features--with-warning"},
{"id": "experimental-components-selectpanel-examples--open-from-menu"},
{"id": "experimental-components-selectpanel-examples--with-groups"},
{"id": "experimental-components-selectpanel-examples--async-search-with-use-transition"},
{"id": "experimental-components-selectpanel-examples--async-with-suspended-list"},
{"id": "experimental-components-selectpanel-examples--with-filter-buttons"}
],
"importPath": "@primer/react/experimental",
"props": [
Expand Down

0 comments on commit a5feea7

Please sign in to comment.