-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: RSC 対応テストから漏れているコンポーネントを追加 #5005
Open
s-sasaki-0529
wants to merge
2
commits into
master
Choose a base branch
from
add-rsc-test
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
10 changes: 10 additions & 0 deletions
10
sandbox/next/src/app/rsc_test/AccordionPanelContent/page.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react' | ||
import { AccordionPanelContent } from 'smarthr-ui' | ||
export default function AccordionPanelContentPage() { | ||
return ( | ||
<> | ||
<div>Success: AccordionPanelContent</div> | ||
<AccordionPanelContent>AccordionPanelContent</AccordionPanelContent> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { AccordionPanelItem } from 'smarthr-ui' | ||
export default function AccordionPanelItemPage() { | ||
return ( | ||
<> | ||
<div>Success: AccordionPanelItem</div> | ||
<AccordionPanelItem name="AccordionPanelItem" /> | ||
</> | ||
) | ||
} |
10 changes: 10 additions & 0 deletions
10
sandbox/next/src/app/rsc_test/AccordionPanelTrigger/page.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react' | ||
import { AccordionPanelTrigger } from 'smarthr-ui' | ||
export default function AccordionPanelTriggerPage() { | ||
return ( | ||
<> | ||
<div>Success: AccordionPanelTrigger</div> | ||
<AccordionPanelTrigger>AccordionPanelTrigger</AccordionPanelTrigger> | ||
</> | ||
) | ||
} |
16 changes: 16 additions & 0 deletions
16
sandbox/next/src/app/rsc_test/ActionDialogContent/page.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react' | ||
import { ActionDialogContent } from 'smarthr-ui' | ||
export default function ActionDialogContentPage() { | ||
return ( | ||
<> | ||
<div>Success: ActionDialogContent</div> | ||
<ActionDialogContent | ||
title="title" | ||
titleId="titleId" | ||
contentBgColor="white" | ||
actionText="actionText" | ||
onClickAction={() => {}} | ||
/> | ||
</> | ||
) | ||
} |
16 changes: 16 additions & 0 deletions
16
sandbox/next/src/app/rsc_test/ActionDialogWithTrigger/page.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react' | ||
import { ActionDialogWithTrigger } from 'smarthr-ui' | ||
export default function ActionDialogWithTriggerPage() { | ||
return ( | ||
<> | ||
<div>Success: ActionDialogWithTrigger</div> | ||
<ActionDialogWithTrigger | ||
contentBgColor="white" | ||
title="title" | ||
actionText="actionText" | ||
onClickAction={() => {}} | ||
trigger={<div>trigger</div>} | ||
/> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { AnchorButton } from 'smarthr-ui' | ||
export default function AnchorButtonPage() { | ||
return ( | ||
<> | ||
<div>Success: AnchorButton</div> | ||
<AnchorButton href="/">AnchorButton</AnchorButton> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { AppNaviAnchor } from 'smarthr-ui' | ||
export default function AppNaviAnchorPage() { | ||
return ( | ||
<> | ||
<div>Success: AppNaviAnchor</div> | ||
<AppNaviAnchor href="/">AppNaviAnchor</AppNaviAnchor> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { AppNaviButton } from 'smarthr-ui' | ||
export default function AppNaviButtonPage() { | ||
return ( | ||
<> | ||
<div>Success: AppNaviButton</div> | ||
<AppNaviButton>AppNaviButton</AppNaviButton> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { AppNaviCustomTag, Text } from 'smarthr-ui' | ||
export default function AppNaviCustomTagPage() { | ||
return ( | ||
<> | ||
<div>Success: AppNaviCustomTag</div> | ||
<AppNaviCustomTag tag={Text}></AppNaviCustomTag> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { AppNaviDropdown } from 'smarthr-ui' | ||
export default function AppNaviDropdownPage() { | ||
return ( | ||
<> | ||
<div>Success: AppNaviDropdown</div> | ||
<AppNaviDropdown dropdownContent={<div>AppNaviDropdown</div>} /> | ||
</> | ||
) | ||
} |
10 changes: 10 additions & 0 deletions
10
sandbox/next/src/app/rsc_test/AppNaviDropdownMenuButton/page.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react' | ||
import { AppNaviDropdownMenuButton } from 'smarthr-ui' | ||
export default function AppNaviDropdownMenuButtonPage() { | ||
return ( | ||
<> | ||
<div>Success: AppNaviDropdownMenuButton</div> | ||
<AppNaviDropdownMenuButton label="label" /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { DialogCloser } from 'smarthr-ui' | ||
export default function DialogCloserPage() { | ||
return ( | ||
<> | ||
<div>Success: DialogCloser</div> | ||
<DialogCloser /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { DialogContent } from 'smarthr-ui' | ||
export default function DialogContentPage() { | ||
return ( | ||
<> | ||
<div>Success: DialogContent</div> | ||
<DialogContent /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { DialogTrigger } from 'smarthr-ui' | ||
export default function DialogTriggerPage() { | ||
return ( | ||
<> | ||
<div>Success: DialogTrigger</div> | ||
<DialogTrigger /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { DialogWrapper } from 'smarthr-ui' | ||
export default function DialogWrapperPage() { | ||
return ( | ||
<> | ||
<div>Success: DialogWrapper</div> | ||
<DialogWrapper /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { DropdownCloser } from 'smarthr-ui' | ||
export default function DropdownCloserPage() { | ||
return ( | ||
<> | ||
<div>Success: DropdownCloser</div> | ||
<DropdownCloser /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { DropdownContent } from 'smarthr-ui' | ||
export default function DropdownContentPage() { | ||
return ( | ||
<> | ||
<div>Success: DropdownContent</div> | ||
<DropdownContent /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { DropdownScrollArea } from 'smarthr-ui' | ||
export default function DropdownScrollAreaPage() { | ||
return ( | ||
<> | ||
<div>Success: DropdownScrollArea</div> | ||
<DropdownScrollArea>DropdownScrollArea</DropdownScrollArea> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { DropdownTrigger } from 'smarthr-ui' | ||
export default function DropdownTriggerPage() { | ||
return ( | ||
<> | ||
<div>Success: DropdownTrigger</div> | ||
<DropdownTrigger /> | ||
</> | ||
) | ||
} |
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,16 @@ | ||
import React from 'react' | ||
import { FormDialogContent } from 'smarthr-ui' | ||
export default function FormDialogContentPage() { | ||
return ( | ||
<> | ||
<div>Success: FormDialogContent</div> | ||
<FormDialogContent | ||
title="title" | ||
titleId="titleId" | ||
contentBgColor="white" | ||
actionText="actionText" | ||
onSubmit={() => {}} | ||
/> | ||
</> | ||
) | ||
} |
12 changes: 12 additions & 0 deletions
12
sandbox/next/src/app/rsc_test/HeaderDropdownMenuButton/page.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
import { HeaderDropdownMenuButton } from 'smarthr-ui' | ||
export default function HeaderDropdownMenuButtonPage() { | ||
return ( | ||
<> | ||
<div>Success: HeaderDropdownMenuButton</div> | ||
<HeaderDropdownMenuButton label="label"> | ||
<div>children</div> | ||
</HeaderDropdownMenuButton> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { HeaderLink } from 'smarthr-ui' | ||
export default function HeaderLinkPage() { | ||
return ( | ||
<> | ||
<div>Success: HeaderLink</div> | ||
<HeaderLink href="/">HeaderLink</HeaderLink> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { LanguageSwitcher } from 'smarthr-ui' | ||
export default function LanguageSwitcherPage() { | ||
return ( | ||
<> | ||
<div>Success: LanguageSwitcher</div> | ||
<LanguageSwitcher localeMap={{}} /> | ||
</> | ||
) | ||
} |
15 changes: 15 additions & 0 deletions
15
sandbox/next/src/app/rsc_test/MessageDialogContent/page.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react' | ||
import { MessageDialogContent } from 'smarthr-ui' | ||
export default function MessageDialogContentPage() { | ||
return ( | ||
<> | ||
<div>Success: MessageDialogContent</div> | ||
<MessageDialogContent | ||
title="title" | ||
titleId="titleId" | ||
contentBgColor="white" | ||
description="description" | ||
/> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { SortDropdown } from 'smarthr-ui' | ||
export default function SortDropdownPage() { | ||
return ( | ||
<> | ||
<div>Success: SortDropdown</div> | ||
<SortDropdown sortFields={[]} defaultOrder={'desc'} onApply={() => {}} /> | ||
</> | ||
) | ||
} |
10 changes: 10 additions & 0 deletions
10
sandbox/next/src/app/rsc_test/SpreadsheetTableCorner/page.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from 'react' | ||
import { SpreadsheetTableCorner } from 'smarthr-ui' | ||
export default function SpreadsheetTableCornerPage() { | ||
return ( | ||
<> | ||
<div>Success: SpreadsheetTableCorner</div> | ||
<SpreadsheetTableCorner /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { Stepper } from 'smarthr-ui' | ||
export default function StepperPage() { | ||
return ( | ||
<> | ||
<div>Success: Stepper</div> | ||
<Stepper type="horizontal" steps={[]} /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { TimePicker } from 'smarthr-ui' | ||
export default function TimePickerPage() { | ||
return ( | ||
<> | ||
<div>Success: TimePicker</div> | ||
<TimePicker name="name" /> | ||
</> | ||
) | ||
} |
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,10 @@ | ||
import React from 'react' | ||
import { UpwardLink } from 'smarthr-ui' | ||
export default function UpwardLinkPage() { | ||
return ( | ||
<> | ||
<div>Success: UpwardLink</div> | ||
<UpwardLink href="/">UpwardLink</UpwardLink> | ||
</> | ||
) | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これで多分洗い出し一通り完了。
思ったよりRSC対応してるコンポーネント多いなという印象。