Skip to content

Commit

Permalink
docs: fix *.docs.json stories (#5345)
Browse files Browse the repository at this point in the history
* docs: fix *.docs.json stories

* Create large-rats-film.md

* docs(PageHeader): correct story ids
  • Loading branch information
francinelucca authored Dec 3, 2024
1 parent 4bb159b commit e231b5f
Show file tree
Hide file tree
Showing 12 changed files with 86 additions and 80 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-rats-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

docs: fix *.docs.json story ids
2 changes: 1 addition & 1 deletion packages/react/src/ActionBar/ActionBar.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"a11yReviewed": true,
"stories": [
{
"id": "components-actionbar--default"
"id": "experimental-components-actionbar--default"
}
],
"importPath": "@primer/react",
Expand Down
28 changes: 14 additions & 14 deletions packages/react/src/Banner/Banner.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,46 @@
"importPath": "@primer/react/experimental",
"stories": [
{
"id": "components-banner--default"
"id": "experimental-components-banner--default"
},
{
"id": "components-banner-features--critical"
"id": "experimental-components-banner-features--critical"
},
{
"id": "components-banner-features--info"
"id": "experimental-components-banner-features--info"
},
{
"id": "components-banner-features--success"
"id": "experimental-components-banner-features--success"
},
{
"id": "components-banner-features--upsell"
"id": "experimental-components-banner-features--upsell"
},
{
"id": "components-banner-features--warning"
"id": "experimental-components-banner-features--warning"
},
{
"id": "components-banner-features--dismiss"
"id": "experimental-components-banner-features--dismiss"
},
{
"id": "components-banner-features--dismiss-with-actions"
"id": "experimental-components-banner-features--dismiss-with-actions"
},
{
"id": "components-banner-features--with-hidden-title"
"id": "experimental-components-banner-features--with-hidden-title"
},
{
"id": "components-banner-features--with-hidden-title-and-actions"
"id": "experimental-components-banner-features--with-hidden-title-and-actions"
},
{
"id": "components-banner-features--dismissible-with-hidden-title-and-actions"
"id": "experimental-components-banner-features--dismissible-with-hidden-title-and-actions"
},
{
"id": "components-banner-features--dismissible-with-hidden-title-and-secondary-action"
"id": "experimental-components-banner-features--dismissible-with-hidden-title-and-secondary-action"
},
{
"id": "components-banner-features--with-actions"
"id": "experimental-components-banner-features--with-actions"
},
{
"id": "components-banner-features--custom-icon"
"id": "experimental-components-banner-features--custom-icon"
}
],
"props": [
Expand Down
14 changes: 7 additions & 7 deletions packages/react/src/Blankslate/Blankslate.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@
"a11yReviewed": false,
"stories": [
{
"id": "drafts-components-blankslate--default"
"id": "experimental-components-blankslate--default"
},
{
"id": "drafts-components-blankslate-features--with-visual"
"id": "experimental-components-blankslate-features--with-visual"
},
{
"id": "drafts-components-blankslate-features--with-primary-action"
"id": "experimental-components-blankslate-features--with-primary-action"
},
{
"id": "drafts-components-blankslate-features--with-secondary-action"
"id": "experimental-components-blankslate-features--with-secondary-action"
},
{
"id": "drafts-components-blankslate-features--with-border"
"id": "experimental-components-blankslate-features--with-border"
},
{
"id": "drafts-components-blankslate-features--narrow"
"id": "experimental-components-blankslate-features--narrow"
},
{
"id": "drafts-components-blankslate-features--spacious"
"id": "experimental-components-blankslate-features--spacious"
}
],
"importPath": "@primer/react/experimental",
Expand Down
26 changes: 13 additions & 13 deletions packages/react/src/DataTable/DataTable.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,43 +5,43 @@
"a11yReviewed": true,
"stories": [
{
"id": "drafts-components-datatable--default"
"id": "experimental-components-datatable--default"
},
{
"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
20 changes: 10 additions & 10 deletions packages/react/src/Dialog/Dialog.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,34 @@
"a11yReviewed": false,
"stories": [
{
"id": "drafts-components-dialog--default"
"id": "components-dialog--default"
},
{
"id": "drafts-components-dialog-features--with-custom-renderers"
"id": "components-dialog-features--with-custom-renderers"
},
{
"id": "drafts-components-dialog-features--stress-test"
"id": "components-dialog-features--stress-test"
},
{
"id": "drafts-components-dialog-features--repro-multistep-dialog-with-conditional-footer"
"id": "components-dialog-features--repro-multistep-dialog-with-conditional-footer"
},
{
"id": "drafts-components-dialog-features--bottom-sheet-narrow"
"id": "components-dialog-features--bottom-sheet-narrow"
},
{
"id": "drafts-components-dialog-features--full-screen-narrow"
"id": "components-dialog-features--full-screen-narrow"
},
{
"id": "drafts-components-dialog-features--side-sheet"
"id": "components-dialog-features--side-sheet"
},
{
"id": "drafts-components-dialog-features--return-focus-ref"
"id": "components-dialog-features--return-focus-ref"
},
{
"id": "drafts-components-dialog-features--new-issues"
"id": "components-dialog-features--new-issues"
},
{
"id": "drafts-components-dialog-features--retains-focus-trap-with-dynamic-content"
"id": "components-dialog-features--retains-focus-trap-with-dynamic-content"
}
],
"importPath": "@primer/react/experimental",
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/Overlay/Overlay.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"status": "alpha",
"a11yReviewed": false,
"stories": [
{"id": "private-components-overlay--default"},
{"id": "private-components-overlay-features--dialog-overlay"},
{"id": "private-components-overlay-features--positioned-overlays"}
],
Expand Down
26 changes: 13 additions & 13 deletions packages/react/src/PageHeader/PageHeader.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,43 +5,43 @@
"a11yReviewed": true,
"stories": [
{
"id": "drafts-components-pageheader--default"
"id": "components-pageheader--default"
},
{
"id": "drafts-components-pageheader-features--has-title-only"
"id": "components-pageheader-features--has-title-only"
},
{
"id": "drafts-components-pageheader-features--has-large-title"
"id": "components-pageheader-features--has-large-title"
},
{
"id": "drafts-components-pageheader-features--with-leading-and-trailing-visuals"
"id": "components-pageheader-features--with-leading-and-trailing-visuals"
},
{
"id": "drafts-components-pageheader-features--with-leading-visual-hidden-on-regular-viewport"
"id": "components-pageheader-features--with-leading-visual-hidden-on-regular-viewport"
},
{
"id": "drafts-components-pageheader-features--with-actions"
"id": "components-pageheader-features--with-actions"
},
{
"id": "drafts-components-pageheader-features--with-description-slot"
"id": "components-pageheader-features--with-description-slot"
},
{
"id": "drafts-components-pageheader-features--with-navigation-slot"
"id": "components-pageheader-features--with-navigation-slot"
},
{
"id": "drafts-components-pageheader-features--with-custom-navigation"
"id": "components-pageheader-features--with-custom-navigation"
},
{
"id": "drafts-components-pageheader-features--with-leading-and-trailing-actions"
"id": "components-pageheader-features--with-leading-and-trailing-actions"
},
{
"id": "drafts-components-pageheader-features--with-parent-link-and-actions-of-context-area"
"id": "components-pageheader-features--with-parent-link-and-actions-of-context-area"
},
{
"id": "drafts-components-pageheader-features--with-context-bar-and-actions-of-context-area"
"id": "components-pageheader-features--with-context-bar-and-actions-of-context-area"
},
{
"id": "drafts-components-pageheader-features--with-actions-that-have-responsive-content"
"id": "components-pageheader-features--with-actions-that-have-responsive-content"
}
],
"importPath": "@primer/react",
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/TabNav/TabNav.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"a11yReviewed": false,
"stories": [
{
"id": "components-tabnav--default"
"id": "deprecated-components-tabnav--default"
},
{
"id": "components-tabnav-features--selected"
"id": "deprecated-components-tabnav-features--selected"
}
],
"importPath": "@primer/react/deprecated",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
"a11yReviewed": false,
"stories": [
{
"id": "drafts-components-skeletonavatar--default"
"id": "experimental-components-skeleton-skeletonavatar--default"
},
{
"id": "drafts-components-skeletonavatar-features--square"
"id": "experimental-components-skeleton-skeletonavatar-features--square"
},
{
"id": "drafts-components-skeletonavatar-features--size"
"id": "experimental-components-skeleton-skeletonavatar-features--size"
},
{
"id": "drafts-components-skeletonavatar-features--size-responsive"
"id": "experimental-components-skeleton-skeletonavatar-features--size-responsive"
},
{
"id": "drafts-components-skeletonavatar-features--in-a-stack"
"id": "experimental-components-skeleton-skeletonavatar-features--in-a-stack"
},
{
"id": "drafts-components-skeletonavatar-features--in-an-avatar-pair"
"id": "experimental-components-skeleton-skeletonavatar-features--in-an-avatar-pair"
}
],
"importPath": "@primer/react/experimental",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"a11yReviewed": false,
"stories": [
{
"id": "drafts-components-skeletonbox--default"
"id": "experimental-components-skeleton-skeletonbox--default"
},
{
"id": "drafts-components-skeletonbox-features--custom-height"
"id": "experimental-components-skeleton-skeletonbox-features--custom-height"
},
{
"id": "drafts-components-skeletonbox-features--custom-width"
"id": "experimental-components-skeleton-skeletonbox-features--custom-width"
}
],
"importPath": "@primer/react/experimental",
Expand Down
22 changes: 11 additions & 11 deletions packages/react/src/experimental/Skeleton/SkeletonText.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@
"a11yReviewed": false,
"stories": [
{
"id": "drafts-components-skeletontext--default"
"id": "experimental-components-skeleton-skeletontext--default"
},
{
"id": "drafts-components-skeletontext-features--with-max-width"
"id": "experimental-components-skeleton-skeletontext-features--with-max-width"
},
{
"id": "drafts-components-skeletontext-features--with-multiple-lines"
"id": "experimental-components-skeleton-skeletontext-features--with-multiple-lines"
},
{
"id": "drafts-components-skeletontext-features--display"
"id": "experimental-components-skeleton-skeletontext-features--display"
},
{
"id": "drafts-components-skeletontext-features--subtitle"
"id": "experimental-components-skeleton-skeletontext-features--subtitle"
},
{
"id": "drafts-components-skeletontext-features--title-large"
"id": "experimental-components-skeleton-skeletontext-features--title-large"
},
{
"id": "drafts-components-skeletontext-features--title-medium"
"id": "experimental-components-skeleton-skeletontext-features--title-medium"
},
{
"id": "drafts-components-skeletontext-features--title-small"
"id": "experimental-components-skeleton-skeletontext-features--title-small"
},
{
"id": "drafts-components-skeletontext-features--body-large"
"id": "experimental-components-skeleton-skeletontext-features--body-large"
},
{
"id": "drafts-components-skeletontext-features--body-medium"
"id": "experimental-components-skeleton-skeletontext-features--body-medium"
},
{
"id": "drafts-components-skeletontext-features--body-small"
"id": "experimental-components-skeleton-skeletontext-features--body-small"
}
],
"importPath": "@primer/react/experimental",
Expand Down

0 comments on commit e231b5f

Please sign in to comment.