Skip to content

Commit 0cca297

Browse files
authoredJun 26, 2024··
fix: InformationPanel の開閉ボタンはデフォルトなしにする (#4746)
* fix: InformationPanel の開閉ボタンはデフォルトなしにする * docs: Story を修正 * chore: すべての togglable={false} を消す
1 parent 9565029 commit 0cca297

File tree

52 files changed

+129
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+129
-141
lines changed
 

‎packages/smarthr-ui/src/components/AccordionPanel/VRTAccordionPanel.stories.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626

2727
export const VRTOpenAccordion: StoryFn = () => (
2828
<Wrapper>
29-
<VRTInformationPanel title="VRT 用の Story です" togglable={false}>
29+
<VRTInformationPanel title="VRT 用の Story です">
3030
パネルを開いた状態で表示されます
3131
</VRTInformationPanel>
3232
<AccordionStyle />
@@ -35,7 +35,7 @@ export const VRTOpenAccordion: StoryFn = () => (
3535

3636
export const VRTAccordionFocus: StoryFn = () => (
3737
<Wrapper>
38-
<VRTInformationPanel title="VRT 用の Story です" togglable={false}>
38+
<VRTInformationPanel title="VRT 用の Story です">
3939
それぞれ1番目、2番目、3番目のアイテムにフォーカスが当たった状態で表示されます
4040
</VRTInformationPanel>
4141
<AccordionStyle />
@@ -44,7 +44,7 @@ export const VRTAccordionFocus: StoryFn = () => (
4444

4545
export const VRTOpenAccordionNarrow: StoryFn = () => (
4646
<Wrapper>
47-
<VRTInformationPanel title="VRT 用の Story です" togglable={false}>
47+
<VRTInformationPanel title="VRT 用の Story です">
4848
画面幅が狭く、パネルを開いた状態で表示されます
4949
</VRTInformationPanel>
5050
<AccordionStyle />
@@ -53,7 +53,7 @@ export const VRTOpenAccordionNarrow: StoryFn = () => (
5353

5454
export const VRTAccordionForcedColors: StoryFn = () => (
5555
<Wrapper>
56-
<VRTInformationPanel title="VRT 用の Story です" togglable={false}>
56+
<VRTInformationPanel title="VRT 用の Story です">
5757
Chromatic 上では強制カラーモードで表示されます
5858
</VRTInformationPanel>
5959
<AccordionStyle />

‎packages/smarthr-ui/src/components/AppNavi/VRTAppNavi.stories.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const VRTHover: StoryFn = () => {
9090

9191
return (
9292
<Wrapper>
93-
<VRTInformationPanel title="VRT 用の Story です" togglable={false}>
93+
<VRTInformationPanel title="VRT 用の Story です">
9494
hoverした状態で表示されます
9595
</VRTInformationPanel>
9696
<InnerWrapper>
@@ -126,7 +126,7 @@ export const VRTFocusButton: StoryFn = () => {
126126

127127
return (
128128
<Wrapper>
129-
<VRTInformationPanel title="VRT 用の Story です" togglable={false}>
129+
<VRTInformationPanel title="VRT 用の Story です">
130130
ボタンをフォーカスした状態で表示されます
131131
</VRTInformationPanel>
132132
<InnerWrapper>
@@ -156,7 +156,7 @@ export const VRTFocusAnchor: StoryFn = () => {
156156

157157
return (
158158
<Wrapper>
159-
<VRTInformationPanel title="VRT 用の Story です" togglable={false}>
159+
<VRTInformationPanel title="VRT 用の Story です">
160160
アンカーをフォーカスした状態で表示されます
161161
</VRTInformationPanel>
162162
<InnerWrapper>
@@ -186,7 +186,7 @@ export const VRTDropDown: StoryFn = () => {
186186

187187
return (
188188
<Wrapper>
189-
<VRTInformationPanel title="VRT 用の Story です" togglable={false}>
189+
<VRTInformationPanel title="VRT 用の Story です">
190190
ドロップダウンを表示した状態で表示されます
191191
</VRTInformationPanel>
192192
<InnerWrapperDropdown>
@@ -207,7 +207,7 @@ VRTDropDown.play = async ({ canvasElement }) => {
207207

208208
export const VRTForcedColors: StoryFn = () => (
209209
<>
210-
<VRTInformationPanel title="VRT 用の Story です" togglable={false}>
210+
<VRTInformationPanel title="VRT 用の Story です">
211211
Chromatic 上では強制カラーモードで表示されます
212212
</VRTInformationPanel>
213213
<Wrapper>

0 commit comments

Comments
 (0)
Please sign in to comment.