Skip to content

Commit

Permalink
Cleanup stories
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJDev committed Nov 5, 2024
1 parent 02aefd7 commit 7abad59
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/react/src/TreeView/TreeView.features.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ export const Files: StoryFn = () => (
</TreeView.Item>
</TreeView.SubTree>
</TreeView.Item>
<TreeView.Item id="src/ReallyLongFileNameThatShouldBeTruncated.tsx">
<TreeView.Item id="src/ReallyLongFileNameThatShouldNotTruncated.tsx">
<TreeView.LeadingVisual>
<FileIcon />
</TreeView.LeadingVisual>
ReallyLongFileNameThatShouldBeTruncated.tsx
ReallyLongFileNameThatShouldNotTruncate.tsx
</TreeView.Item>
</TreeView.SubTree>
</TreeView.Item>
Expand Down Expand Up @@ -154,11 +154,11 @@ export const FilesChanged: StoryFn = () => {
</TreeView.Item>
</TreeView.SubTree>
</TreeView.Item>
<TreeView.Item id="src/ReallyLongFileNameThatShouldBeTruncated.tsx">
<TreeView.Item id="src/ReallyLongFileNameThatShouldNotTruncated.tsx">
<TreeView.LeadingVisual>
<FileIcon />
</TreeView.LeadingVisual>
ReallyLongFileNameThatShouldBeTruncated.tsx
ReallyLongFileNameThatShouldNotTruncated.tsx
<TreeView.TrailingVisual label="modified">
<Octicon icon={DiffModifiedIcon} color="attention.fg" />
</TreeView.TrailingVisual>
Expand Down Expand Up @@ -785,7 +785,7 @@ export const ContainIntrinsicSize: StoryFn = () => {
export const InitialFocus: StoryFn = () => (
<div>
<Button>Focusable element before TreeView</Button>
<TreeView aria-label="Test tree">
<TreeView aria-label="Test tree" truncate={false}>
<TreeView.Item id="src" defaultExpanded>
<TreeView.LeadingVisual>
<TreeView.DirectoryIcon />
Expand Down Expand Up @@ -890,11 +890,11 @@ export const InitialFocus: StoryFn = () => (
</TreeView.Item>
</TreeView.SubTree>
</TreeView.Item>
<TreeView.Item id="src/ReallyLongFileNameThatShouldBeTruncated.tsx">
<TreeView.Item id="src/ReallyLongFileNameThatShouldNotBeTruncated.tsx">
<TreeView.LeadingVisual>
<FileIcon />
</TreeView.LeadingVisual>
ReallyLongFileNameThatShouldBeTruncated.tsx
ReallyLongFileNameThatShouldNotBeTruncated.tsx
</TreeView.Item>
</TreeView.SubTree>
</TreeView.Item>
Expand Down Expand Up @@ -1058,7 +1058,7 @@ export const MultilineItems: StoryFn = () => (
<TreeView.LeadingVisual>
<FileIcon />
</TreeView.LeadingVisual>
Avatar.tsx Avatar.tsx Avatar.tsx Avatar.tsx Avatar.tsx
Avatar.tsx
<TreeView.TrailingVisual label="Added">
<Octicon icon={DiffAddedIcon} color="success.fg" />
</TreeView.TrailingVisual>
Expand Down

0 comments on commit 7abad59

Please sign in to comment.