Skip to content

Commit

Permalink
Merge pull request #540 from pixiv/toshusai/test-update-storybook-order
Browse files Browse the repository at this point in the history
test: update stories order
  • Loading branch information
naporin0624 authored May 22, 2024
2 parents be03d10 + 983058d commit 95c6f6f
Show file tree
Hide file tree
Showing 38 changed files with 125 additions and 1,047 deletions.
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const parameters = {
},
options: {
storySort: {
order: ['DOCS'],
order: ['react', ['*', 'internals']],
},
},
viewMode: 'docs',
Expand Down
2 changes: 1 addition & 1 deletion .storybook/src/README.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, Story } from '@storybook/addon-docs'

<Meta title="DOCS/README" />
<Meta title="README" />

![charcoal logo](https://charcoal-web.pixiv.design/charcoal-ogp.jpg)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Storybook Tests Button Danger 1`] = `
exports[`Storybook Tests react/Button Danger 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down Expand Up @@ -116,7 +116,7 @@ exports[`Storybook Tests Button Danger 1`] = `
</div>
`;

exports[`Storybook Tests Button Default 1`] = `
exports[`Storybook Tests react/Button Default 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down Expand Up @@ -232,7 +232,7 @@ exports[`Storybook Tests Button Default 1`] = `
</div>
`;

exports[`Storybook Tests Button Disabled 1`] = `
exports[`Storybook Tests react/Button Disabled 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down Expand Up @@ -348,7 +348,7 @@ exports[`Storybook Tests Button Disabled 1`] = `
</div>
`;

exports[`Storybook Tests Button FullWidth 1`] = `
exports[`Storybook Tests react/Button FullWidth 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down Expand Up @@ -464,7 +464,7 @@ exports[`Storybook Tests Button FullWidth 1`] = `
</div>
`;

exports[`Storybook Tests Button IsActive 1`] = `
exports[`Storybook Tests react/Button IsActive 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down Expand Up @@ -574,7 +574,7 @@ exports[`Storybook Tests Button IsActive 1`] = `
</div>
`;

exports[`Storybook Tests Button Navigation 1`] = `
exports[`Storybook Tests react/Button Navigation 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down Expand Up @@ -690,7 +690,7 @@ exports[`Storybook Tests Button Navigation 1`] = `
</div>
`;

exports[`Storybook Tests Button Overlay 1`] = `
exports[`Storybook Tests react/Button Overlay 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down Expand Up @@ -806,7 +806,7 @@ exports[`Storybook Tests Button Overlay 1`] = `
</div>
`;

exports[`Storybook Tests Button Primary 1`] = `
exports[`Storybook Tests react/Button Primary 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down Expand Up @@ -922,7 +922,7 @@ exports[`Storybook Tests Button Primary 1`] = `
</div>
`;

exports[`Storybook Tests Button Small 1`] = `
exports[`Storybook Tests react/Button Small 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Button/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Button from '.'
import { Meta, StoryObj } from '@storybook/react'

export default {
title: 'Button',
title: 'react/Button',
component: Button,
} as Meta<typeof Button>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Storybook Tests Checkbox Checked 1`] = `
exports[`Storybook Tests react/Checkbox Checked 1`] = `
.c0 {
position: relative;
display: -webkit-box;
Expand Down Expand Up @@ -167,7 +167,7 @@ exports[`Storybook Tests Checkbox Checked 1`] = `
</div>
`;

exports[`Storybook Tests Checkbox Default 1`] = `
exports[`Storybook Tests react/Checkbox Default 1`] = `
.c0 {
position: relative;
display: -webkit-box;
Expand Down Expand Up @@ -325,7 +325,7 @@ exports[`Storybook Tests Checkbox Default 1`] = `
</div>
`;

exports[`Storybook Tests Checkbox Disabled 1`] = `
exports[`Storybook Tests react/Checkbox Disabled 1`] = `
.c0 {
position: relative;
display: -webkit-box;
Expand Down Expand Up @@ -493,7 +493,7 @@ exports[`Storybook Tests Checkbox Disabled 1`] = `
</div>
`;

exports[`Storybook Tests Checkbox Invalid 1`] = `
exports[`Storybook Tests react/Checkbox Invalid 1`] = `
.c0 {
position: relative;
display: -webkit-box;
Expand Down Expand Up @@ -662,7 +662,7 @@ exports[`Storybook Tests Checkbox Invalid 1`] = `
</div>
`;

exports[`Storybook Tests Checkbox Label 1`] = `
exports[`Storybook Tests react/Checkbox Label 1`] = `
.c0 {
position: relative;
display: -webkit-box;
Expand Down Expand Up @@ -830,7 +830,7 @@ exports[`Storybook Tests Checkbox Label 1`] = `
</div>
`;

exports[`Storybook Tests Checkbox ReadOnly 1`] = `
exports[`Storybook Tests react/Checkbox ReadOnly 1`] = `
.c0 {
position: relative;
display: -webkit-box;
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Checkbox/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Meta, StoryObj } from '@storybook/react'
import { useCallback, useState } from 'react'

export default {
title: 'Checkbox',
title: 'react/Checkbox',
component: Checkbox,
parameters: {
layout: 'centered',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Storybook Tests Clickable Button 1`] = `
exports[`Storybook Tests react/Clickable Button 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down Expand Up @@ -51,7 +51,7 @@ exports[`Storybook Tests Clickable Button 1`] = `
</div>
`;

exports[`Storybook Tests Clickable Link 1`] = `
exports[`Storybook Tests react/Clickable Link 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Clickable/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Clickable from '.'
import { Meta, StoryObj } from '@storybook/react'

export default {
title: 'Clickable',
title: 'react/Clickable',
component: Clickable,
} as Meta<typeof Clickable>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Storybook Tests DropdownSelector/ListItem Basic 1`] = `
exports[`Storybook Tests react/internals/ListItem Basic 1`] = `
.c0 {
list-style: none;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import styled from 'styled-components'
import { Meta, StoryObj } from '@storybook/react'

export default {
title: 'DropdownSelector/ListItem',
title: 'react/internals/ListItem',
component: ListItem,
} as Meta<typeof ListItem>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Storybook Tests DropdownSelector/MenuList Basic 1`] = `
exports[`Storybook Tests react/internals/MenuList Basic 1`] = `
.c0 {
padding: 0;
margin: 0;
Expand Down Expand Up @@ -210,7 +210,7 @@ exports[`Storybook Tests DropdownSelector/MenuList Basic 1`] = `
</div>
`;

exports[`Storybook Tests DropdownSelector/MenuList Disabled 1`] = `
exports[`Storybook Tests react/internals/MenuList Disabled 1`] = `
.c0 {
padding: 0;
margin: 0;
Expand Down Expand Up @@ -291,7 +291,7 @@ exports[`Storybook Tests DropdownSelector/MenuList Disabled 1`] = `
</div>
`;

exports[`Storybook Tests DropdownSelector/MenuList Group 1`] = `
exports[`Storybook Tests react/internals/MenuList Group 1`] = `
.c0 {
padding: 0;
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import MenuItemGroup from '../MenuItemGroup'
import { Meta, StoryObj } from '@storybook/react'

export default {
title: 'DropdownSelector/MenuList',
title: 'react/internals/MenuList',
component: MenuList,
} as Meta<typeof MenuList>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Storybook Tests DropdownSelector/Popover Basic 1`] = `
exports[`Storybook Tests react/internals/Popover Basic 1`] = `
.c0 {
cursor: pointer;
-webkit-appearance: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Button from '../../Button'
import { Meta, StoryObj } from '@storybook/react'

export default {
title: 'DropdownSelector/Popover',
title: 'react/internals/Popover',
component: Popover,
} as Meta<typeof Popover>

Expand Down
Loading

0 comments on commit 95c6f6f

Please sign in to comment.