Skip to content

Commit e231b5f

Browse files
authoredDec 3, 2024··
docs: fix *.docs.json stories (#5345)
* docs: fix *.docs.json stories * Create large-rats-film.md * docs(PageHeader): correct story ids
1 parent 4bb159b commit e231b5f

File tree

12 files changed

+86
-80
lines changed

12 files changed

+86
-80
lines changed
 

‎.changeset/large-rats-film.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
docs: fix *.docs.json story ids

‎packages/react/src/ActionBar/ActionBar.docs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"a11yReviewed": true,
66
"stories": [
77
{
8-
"id": "components-actionbar--default"
8+
"id": "experimental-components-actionbar--default"
99
}
1010
],
1111
"importPath": "@primer/react",

‎packages/react/src/Banner/Banner.docs.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -6,46 +6,46 @@
66
"importPath": "@primer/react/experimental",
77
"stories": [
88
{
9-
"id": "components-banner--default"
9+
"id": "experimental-components-banner--default"
1010
},
1111
{
12-
"id": "components-banner-features--critical"
12+
"id": "experimental-components-banner-features--critical"
1313
},
1414
{
15-
"id": "components-banner-features--info"
15+
"id": "experimental-components-banner-features--info"
1616
},
1717
{
18-
"id": "components-banner-features--success"
18+
"id": "experimental-components-banner-features--success"
1919
},
2020
{
21-
"id": "components-banner-features--upsell"
21+
"id": "experimental-components-banner-features--upsell"
2222
},
2323
{
24-
"id": "components-banner-features--warning"
24+
"id": "experimental-components-banner-features--warning"
2525
},
2626
{
27-
"id": "components-banner-features--dismiss"
27+
"id": "experimental-components-banner-features--dismiss"
2828
},
2929
{
30-
"id": "components-banner-features--dismiss-with-actions"
30+
"id": "experimental-components-banner-features--dismiss-with-actions"
3131
},
3232
{
33-
"id": "components-banner-features--with-hidden-title"
33+
"id": "experimental-components-banner-features--with-hidden-title"
3434
},
3535
{
36-
"id": "components-banner-features--with-hidden-title-and-actions"
36+
"id": "experimental-components-banner-features--with-hidden-title-and-actions"
3737
},
3838
{
39-
"id": "components-banner-features--dismissible-with-hidden-title-and-actions"
39+
"id": "experimental-components-banner-features--dismissible-with-hidden-title-and-actions"
4040
},
4141
{
42-
"id": "components-banner-features--dismissible-with-hidden-title-and-secondary-action"
42+
"id": "experimental-components-banner-features--dismissible-with-hidden-title-and-secondary-action"
4343
},
4444
{
45-
"id": "components-banner-features--with-actions"
45+
"id": "experimental-components-banner-features--with-actions"
4646
},
4747
{
48-
"id": "components-banner-features--custom-icon"
48+
"id": "experimental-components-banner-features--custom-icon"
4949
}
5050
],
5151
"props": [

‎packages/react/src/Blankslate/Blankslate.docs.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@
55
"a11yReviewed": false,
66
"stories": [
77
{
8-
"id": "drafts-components-blankslate--default"
8+
"id": "experimental-components-blankslate--default"
99
},
1010
{
11-
"id": "drafts-components-blankslate-features--with-visual"
11+
"id": "experimental-components-blankslate-features--with-visual"
1212
},
1313
{
14-
"id": "drafts-components-blankslate-features--with-primary-action"
14+
"id": "experimental-components-blankslate-features--with-primary-action"
1515
},
1616
{
17-
"id": "drafts-components-blankslate-features--with-secondary-action"
17+
"id": "experimental-components-blankslate-features--with-secondary-action"
1818
},
1919
{
20-
"id": "drafts-components-blankslate-features--with-border"
20+
"id": "experimental-components-blankslate-features--with-border"
2121
},
2222
{
23-
"id": "drafts-components-blankslate-features--narrow"
23+
"id": "experimental-components-blankslate-features--narrow"
2424
},
2525
{
26-
"id": "drafts-components-blankslate-features--spacious"
26+
"id": "experimental-components-blankslate-features--spacious"
2727
}
2828
],
2929
"importPath": "@primer/react/experimental",

‎packages/react/src/DataTable/DataTable.docs.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,43 @@
55
"a11yReviewed": true,
66
"stories": [
77
{
8-
"id": "drafts-components-datatable--default"
8+
"id": "experimental-components-datatable--default"
99
},
1010
{
11-
"id": "drafts-components-datatable-features--with-title"
11+
"id": "experimental-components-datatable-features--with-title"
1212
},
1313
{
14-
"id": "drafts-components-datatable-features--with-title-and-subtitle"
14+
"id": "experimental-components-datatable-features--with-title-and-subtitle"
1515
},
1616
{
17-
"id": "drafts-components-datatable-features--with-sorting"
17+
"id": "experimental-components-datatable-features--with-sorting"
1818
},
1919
{
20-
"id": "drafts-components-datatable-features--with-actions"
20+
"id": "experimental-components-datatable-features--with-actions"
2121
},
2222
{
23-
"id": "drafts-components-datatable-features--with-action"
23+
"id": "experimental-components-datatable-features--with-action"
2424
},
2525
{
26-
"id": "drafts-components-datatable-features--with-row-action"
26+
"id": "experimental-components-datatable-features--with-row-action"
2727
},
2828
{
29-
"id": "drafts-components-datatable-features--with-row-actions"
29+
"id": "experimental-components-datatable-features--with-row-actions"
3030
},
3131
{
32-
"id": "drafts-components-datatable-features--with-row-action-menu"
32+
"id": "experimental-components-datatable-features--with-row-action-menu"
3333
},
3434
{
35-
"id": "drafts-components-datatable-features--with-custom-heading"
35+
"id": "experimental-components-datatable-features--with-custom-heading"
3636
},
3737
{
38-
"id": "drafts-components-datatable-features--with-no-content"
38+
"id": "experimental-components-datatable-features--with-no-content"
3939
},
4040
{
41-
"id": "drafts-components-datatable-features--with-loading"
41+
"id": "experimental-components-datatable-features--with-loading"
4242
},
4343
{
44-
"id": "drafts-components-datatable-features--with-pagination"
44+
"id": "experimental-components-datatable-features--with-pagination"
4545
}
4646
],
4747
"importPath": "@primer/react/experimental",

‎packages/react/src/Dialog/Dialog.docs.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,34 @@
66
"a11yReviewed": false,
77
"stories": [
88
{
9-
"id": "drafts-components-dialog--default"
9+
"id": "components-dialog--default"
1010
},
1111
{
12-
"id": "drafts-components-dialog-features--with-custom-renderers"
12+
"id": "components-dialog-features--with-custom-renderers"
1313
},
1414
{
15-
"id": "drafts-components-dialog-features--stress-test"
15+
"id": "components-dialog-features--stress-test"
1616
},
1717
{
18-
"id": "drafts-components-dialog-features--repro-multistep-dialog-with-conditional-footer"
18+
"id": "components-dialog-features--repro-multistep-dialog-with-conditional-footer"
1919
},
2020
{
21-
"id": "drafts-components-dialog-features--bottom-sheet-narrow"
21+
"id": "components-dialog-features--bottom-sheet-narrow"
2222
},
2323
{
24-
"id": "drafts-components-dialog-features--full-screen-narrow"
24+
"id": "components-dialog-features--full-screen-narrow"
2525
},
2626
{
27-
"id": "drafts-components-dialog-features--side-sheet"
27+
"id": "components-dialog-features--side-sheet"
2828
},
2929
{
30-
"id": "drafts-components-dialog-features--return-focus-ref"
30+
"id": "components-dialog-features--return-focus-ref"
3131
},
3232
{
33-
"id": "drafts-components-dialog-features--new-issues"
33+
"id": "components-dialog-features--new-issues"
3434
},
3535
{
36-
"id": "drafts-components-dialog-features--retains-focus-trap-with-dynamic-content"
36+
"id": "components-dialog-features--retains-focus-trap-with-dynamic-content"
3737
}
3838
],
3939
"importPath": "@primer/react/experimental",

‎packages/react/src/Overlay/Overlay.docs.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"status": "alpha",
55
"a11yReviewed": false,
66
"stories": [
7+
{"id": "private-components-overlay--default"},
78
{"id": "private-components-overlay-features--dialog-overlay"},
89
{"id": "private-components-overlay-features--positioned-overlays"}
910
],

‎packages/react/src/PageHeader/PageHeader.docs.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,43 @@
55
"a11yReviewed": true,
66
"stories": [
77
{
8-
"id": "drafts-components-pageheader--default"
8+
"id": "components-pageheader--default"
99
},
1010
{
11-
"id": "drafts-components-pageheader-features--has-title-only"
11+
"id": "components-pageheader-features--has-title-only"
1212
},
1313
{
14-
"id": "drafts-components-pageheader-features--has-large-title"
14+
"id": "components-pageheader-features--has-large-title"
1515
},
1616
{
17-
"id": "drafts-components-pageheader-features--with-leading-and-trailing-visuals"
17+
"id": "components-pageheader-features--with-leading-and-trailing-visuals"
1818
},
1919
{
20-
"id": "drafts-components-pageheader-features--with-leading-visual-hidden-on-regular-viewport"
20+
"id": "components-pageheader-features--with-leading-visual-hidden-on-regular-viewport"
2121
},
2222
{
23-
"id": "drafts-components-pageheader-features--with-actions"
23+
"id": "components-pageheader-features--with-actions"
2424
},
2525
{
26-
"id": "drafts-components-pageheader-features--with-description-slot"
26+
"id": "components-pageheader-features--with-description-slot"
2727
},
2828
{
29-
"id": "drafts-components-pageheader-features--with-navigation-slot"
29+
"id": "components-pageheader-features--with-navigation-slot"
3030
},
3131
{
32-
"id": "drafts-components-pageheader-features--with-custom-navigation"
32+
"id": "components-pageheader-features--with-custom-navigation"
3333
},
3434
{
35-
"id": "drafts-components-pageheader-features--with-leading-and-trailing-actions"
35+
"id": "components-pageheader-features--with-leading-and-trailing-actions"
3636
},
3737
{
38-
"id": "drafts-components-pageheader-features--with-parent-link-and-actions-of-context-area"
38+
"id": "components-pageheader-features--with-parent-link-and-actions-of-context-area"
3939
},
4040
{
41-
"id": "drafts-components-pageheader-features--with-context-bar-and-actions-of-context-area"
41+
"id": "components-pageheader-features--with-context-bar-and-actions-of-context-area"
4242
},
4343
{
44-
"id": "drafts-components-pageheader-features--with-actions-that-have-responsive-content"
44+
"id": "components-pageheader-features--with-actions-that-have-responsive-content"
4545
}
4646
],
4747
"importPath": "@primer/react",

‎packages/react/src/TabNav/TabNav.docs.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"a11yReviewed": false,
66
"stories": [
77
{
8-
"id": "components-tabnav--default"
8+
"id": "deprecated-components-tabnav--default"
99
},
1010
{
11-
"id": "components-tabnav-features--selected"
11+
"id": "deprecated-components-tabnav-features--selected"
1212
}
1313
],
1414
"importPath": "@primer/react/deprecated",

‎packages/react/src/experimental/Skeleton/SkeletonAvatar.docs.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
"a11yReviewed": false,
66
"stories": [
77
{
8-
"id": "drafts-components-skeletonavatar--default"
8+
"id": "experimental-components-skeleton-skeletonavatar--default"
99
},
1010
{
11-
"id": "drafts-components-skeletonavatar-features--square"
11+
"id": "experimental-components-skeleton-skeletonavatar-features--square"
1212
},
1313
{
14-
"id": "drafts-components-skeletonavatar-features--size"
14+
"id": "experimental-components-skeleton-skeletonavatar-features--size"
1515
},
1616
{
17-
"id": "drafts-components-skeletonavatar-features--size-responsive"
17+
"id": "experimental-components-skeleton-skeletonavatar-features--size-responsive"
1818
},
1919
{
20-
"id": "drafts-components-skeletonavatar-features--in-a-stack"
20+
"id": "experimental-components-skeleton-skeletonavatar-features--in-a-stack"
2121
},
2222
{
23-
"id": "drafts-components-skeletonavatar-features--in-an-avatar-pair"
23+
"id": "experimental-components-skeleton-skeletonavatar-features--in-an-avatar-pair"
2424
}
2525
],
2626
"importPath": "@primer/react/experimental",

‎packages/react/src/experimental/Skeleton/SkeletonBox.docs.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"a11yReviewed": false,
66
"stories": [
77
{
8-
"id": "drafts-components-skeletonbox--default"
8+
"id": "experimental-components-skeleton-skeletonbox--default"
99
},
1010
{
11-
"id": "drafts-components-skeletonbox-features--custom-height"
11+
"id": "experimental-components-skeleton-skeletonbox-features--custom-height"
1212
},
1313
{
14-
"id": "drafts-components-skeletonbox-features--custom-width"
14+
"id": "experimental-components-skeleton-skeletonbox-features--custom-width"
1515
}
1616
],
1717
"importPath": "@primer/react/experimental",

‎packages/react/src/experimental/Skeleton/SkeletonText.docs.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,37 @@
55
"a11yReviewed": false,
66
"stories": [
77
{
8-
"id": "drafts-components-skeletontext--default"
8+
"id": "experimental-components-skeleton-skeletontext--default"
99
},
1010
{
11-
"id": "drafts-components-skeletontext-features--with-max-width"
11+
"id": "experimental-components-skeleton-skeletontext-features--with-max-width"
1212
},
1313
{
14-
"id": "drafts-components-skeletontext-features--with-multiple-lines"
14+
"id": "experimental-components-skeleton-skeletontext-features--with-multiple-lines"
1515
},
1616
{
17-
"id": "drafts-components-skeletontext-features--display"
17+
"id": "experimental-components-skeleton-skeletontext-features--display"
1818
},
1919
{
20-
"id": "drafts-components-skeletontext-features--subtitle"
20+
"id": "experimental-components-skeleton-skeletontext-features--subtitle"
2121
},
2222
{
23-
"id": "drafts-components-skeletontext-features--title-large"
23+
"id": "experimental-components-skeleton-skeletontext-features--title-large"
2424
},
2525
{
26-
"id": "drafts-components-skeletontext-features--title-medium"
26+
"id": "experimental-components-skeleton-skeletontext-features--title-medium"
2727
},
2828
{
29-
"id": "drafts-components-skeletontext-features--title-small"
29+
"id": "experimental-components-skeleton-skeletontext-features--title-small"
3030
},
3131
{
32-
"id": "drafts-components-skeletontext-features--body-large"
32+
"id": "experimental-components-skeleton-skeletontext-features--body-large"
3333
},
3434
{
35-
"id": "drafts-components-skeletontext-features--body-medium"
35+
"id": "experimental-components-skeleton-skeletontext-features--body-medium"
3636
},
3737
{
38-
"id": "drafts-components-skeletontext-features--body-small"
38+
"id": "experimental-components-skeleton-skeletontext-features--body-small"
3939
}
4040
],
4141
"importPath": "@primer/react/experimental",

0 commit comments

Comments
 (0)
Please sign in to comment.