-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert @fluentui/react-text stories to index.stories.tsx approach (#…
…23662) * chore: Convert Text to index based stories * changefile
- Loading branch information
1 parent
4405e16
commit 36d25e9
Showing
14 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-text-a50df107-186b-4e4b-ab2b-806d0e31b0b7.json
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,7 @@ | ||
{ | ||
"type": "none", | ||
"comment": "chore: Convert Text to index based stories", | ||
"packageName": "@fluentui/react-text", | ||
"email": "[email protected]", | ||
"dependentChangeType": "none" | ||
} |
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
4 changes: 2 additions & 2 deletions
4
...eact-text/src/stories/Default.stories.tsx → ...text/src/stories/Text/Default.stories.tsx
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...act-text/src/stories/TextFont.stories.tsx → ...ext/src/stories/Text/TextFont.stories.tsx
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
...t-text/src/stories/TextItalic.stories.tsx → ...t/src/stories/Text/TextItalic.stories.tsx
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import * as React from 'react'; | ||
import { Text } from '../index'; | ||
import { Text } from '@fluentui/react-text'; | ||
|
||
export const Italic = () => <Text italic>Italic text</Text>; |
2 changes: 1 addition & 1 deletion
2
...act-text/src/stories/TextSize.stories.tsx → ...ext/src/stories/Text/TextSize.stories.tsx
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/stories/TextStrikeThrough.stories.tsx → ...tories/Text/TextStrikeThrough.stories.tsx
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import * as React from 'react'; | ||
import { Text } from '../index'; | ||
import { Text } from '@fluentui/react-text'; | ||
|
||
export const StrikeThrough = () => <Text strikethrough>Strikethrough text</Text>; |
2 changes: 1 addition & 1 deletion
2
...text/src/stories/TextTruncate.stories.tsx → ...src/stories/Text/TextTruncate.stories.tsx
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
13 changes: 12 additions & 1 deletion
13
...xt/src/stories/TextTypography.stories.tsx → ...c/stories/Text/TextTypography.stories.tsx
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
...ext/src/stories/TextUnderline.stories.tsx → ...rc/stories/Text/TextUnderline.stories.tsx
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import * as React from 'react'; | ||
import { Text } from '../index'; | ||
import { Text } from '@fluentui/react-text'; | ||
|
||
export const Underline = () => <Text underline>Underlined text</Text>; |
2 changes: 1 addition & 1 deletion
2
...t-text/src/stories/TextWeight.stories.tsx → ...t/src/stories/Text/TextWeight.stories.tsx
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
...s/react-text/src/stories/Text.stories.tsx → ...t-text/src/stories/Text/index.stories.tsx
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