diff --git a/.changeset/large-rats-film.md b/.changeset/large-rats-film.md new file mode 100644 index 00000000000..65778f70ed5 --- /dev/null +++ b/.changeset/large-rats-film.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +docs: fix *.docs.json story ids diff --git a/packages/react/src/ActionBar/ActionBar.docs.json b/packages/react/src/ActionBar/ActionBar.docs.json index 8d1ce1dba9b..878a96eafe2 100644 --- a/packages/react/src/ActionBar/ActionBar.docs.json +++ b/packages/react/src/ActionBar/ActionBar.docs.json @@ -5,7 +5,7 @@ "a11yReviewed": true, "stories": [ { - "id": "components-actionbar--default" + "id": "experimental-components-actionbar--default" } ], "importPath": "@primer/react", diff --git a/packages/react/src/Banner/Banner.docs.json b/packages/react/src/Banner/Banner.docs.json index 5e2c8980b3b..9a22b629a39 100644 --- a/packages/react/src/Banner/Banner.docs.json +++ b/packages/react/src/Banner/Banner.docs.json @@ -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": [ diff --git a/packages/react/src/Blankslate/Blankslate.docs.json b/packages/react/src/Blankslate/Blankslate.docs.json index a2cf0807b05..234cfa9cb89 100644 --- a/packages/react/src/Blankslate/Blankslate.docs.json +++ b/packages/react/src/Blankslate/Blankslate.docs.json @@ -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", diff --git a/packages/react/src/DataTable/DataTable.docs.json b/packages/react/src/DataTable/DataTable.docs.json index 773441478d2..88d0373ae34 100644 --- a/packages/react/src/DataTable/DataTable.docs.json +++ b/packages/react/src/DataTable/DataTable.docs.json @@ -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", diff --git a/packages/react/src/Dialog/Dialog.docs.json b/packages/react/src/Dialog/Dialog.docs.json index 195991edd36..fe93cc281b1 100644 --- a/packages/react/src/Dialog/Dialog.docs.json +++ b/packages/react/src/Dialog/Dialog.docs.json @@ -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", diff --git a/packages/react/src/Overlay/Overlay.docs.json b/packages/react/src/Overlay/Overlay.docs.json index 2ad11061816..6091b66b5c7 100644 --- a/packages/react/src/Overlay/Overlay.docs.json +++ b/packages/react/src/Overlay/Overlay.docs.json @@ -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"} ], diff --git a/packages/react/src/PageHeader/PageHeader.docs.json b/packages/react/src/PageHeader/PageHeader.docs.json index 97a43da92b0..5a599706f2b 100644 --- a/packages/react/src/PageHeader/PageHeader.docs.json +++ b/packages/react/src/PageHeader/PageHeader.docs.json @@ -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", diff --git a/packages/react/src/TabNav/TabNav.docs.json b/packages/react/src/TabNav/TabNav.docs.json index c08c3beb19f..640e328cca2 100644 --- a/packages/react/src/TabNav/TabNav.docs.json +++ b/packages/react/src/TabNav/TabNav.docs.json @@ -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", diff --git a/packages/react/src/experimental/Skeleton/SkeletonAvatar.docs.json b/packages/react/src/experimental/Skeleton/SkeletonAvatar.docs.json index e96a36bb936..769e560f30a 100644 --- a/packages/react/src/experimental/Skeleton/SkeletonAvatar.docs.json +++ b/packages/react/src/experimental/Skeleton/SkeletonAvatar.docs.json @@ -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", diff --git a/packages/react/src/experimental/Skeleton/SkeletonBox.docs.json b/packages/react/src/experimental/Skeleton/SkeletonBox.docs.json index 297d00582b6..292c07072b5 100644 --- a/packages/react/src/experimental/Skeleton/SkeletonBox.docs.json +++ b/packages/react/src/experimental/Skeleton/SkeletonBox.docs.json @@ -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", diff --git a/packages/react/src/experimental/Skeleton/SkeletonText.docs.json b/packages/react/src/experimental/Skeleton/SkeletonText.docs.json index 1031e6e4a83..ed691e649b0 100644 --- a/packages/react/src/experimental/Skeleton/SkeletonText.docs.json +++ b/packages/react/src/experimental/Skeleton/SkeletonText.docs.json @@ -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",