-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into migration-guide-updates-2
* next: (39 commits) Typo cleanup Add story for empty argTypes and address review fix issues with types, change the comment to not be jsdoc Add E2E test for multiple CSF files with same title in autodocs Fix overflow bug by using a better link remove deprecation of `manager-api`'s `types` export Don't show empty arg tables in doc pages Fix Yarn2Proxy findInstallations method revert component values back to array done perf(manager): improve performance when switching stories Add todo comment Refactor MDX to CSF transform function to return an object instead of a tuple Rename broken MDX files to .mdx.broken Upgrade migration-guide to mention limitations of mdx-to-csf codemod Fix issues where stories.js files were generated although a story doesn't exist Rename transformed mdx files Add version range for removeLegacyMDX1 fix Fix typo in automigrate/types.ts ...
- Loading branch information
Showing
69 changed files
with
758 additions
and
445 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
code/addons/docs/template/stories/docs2/multiple-csf-files-a.stories.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { global as globalThis } from '@storybook/global'; | ||
|
||
export default { | ||
title: 'Multiple CSF Files Same Title', | ||
component: globalThis.Components.Html, | ||
tags: ['autodocs'], | ||
args: { | ||
content: '<p>paragraph</p>', | ||
}, | ||
parameters: { | ||
chromatic: { disable: true }, | ||
}, | ||
}; | ||
|
||
export const DefaultA = {}; | ||
|
||
export const SpanContent = { | ||
args: { content: '<span>span</span>' }, | ||
}; | ||
|
||
export const CodeContent = { | ||
args: { content: '<code>code</code>' }, | ||
}; |
23 changes: 23 additions & 0 deletions
23
code/addons/docs/template/stories/docs2/multiple-csf-files-b.stories.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { global as globalThis } from '@storybook/global'; | ||
|
||
export default { | ||
title: 'Multiple CSF Files Same Title', | ||
component: globalThis.Components.Html, | ||
tags: ['autodocs'], | ||
args: { | ||
content: '<p>paragraph</p>', | ||
}, | ||
parameters: { | ||
chromatic: { disable: true }, | ||
}, | ||
}; | ||
|
||
export const DefaultB = {}; | ||
|
||
export const H1Content = { | ||
args: { content: '<h1>heading 1</h1>' }, | ||
}; | ||
|
||
export const H2Content = { | ||
args: { content: '<h2>heading 2</h2>' }, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
code/lib/cli/src/automigrate/fixes/__snapshots__/angular-builders.test.ts.snap
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../src/automigrate/fixes/mdx-1-to-2.test.ts → .../src/automigrate/fixes/mdx-1-to-3.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.