This PR applies the new Storybook standards from #1455 to all components. Read the issue for more details :wink:.
Simplifies stories filenames: button.show.stories.tsx :arrow_right: show.stories.tsx, button-click.test.stories.tsx :arrow_right: click.test.stories.tsx to save some keystrokes.
Flatten storybook examples organization on both code and storybook: components/button/examples/{example-1|example-2|...examples} :arrow_right: components/button/examples.stories.tsx for more accessible and visible available examples and less verbosity when writing them. The recommendation is to split examples into multiple files IF there are lots of examples and files have 500+ lines.
Divide components sections by package instead of by type of component. From components, layouts, primitives, date, ts-table to components, ts-table (there are only two packages with stories)
This PR applies the new Storybook standards from #1455 to all components. Read the issue for more details :wink:.
button.show.stories.tsx
:arrow_right:show.stories.tsx
,button-click.test.stories.tsx
:arrow_right:click.test.stories.tsx
to save some keystrokes.components/button/examples/{example-1|example-2|...examples}
:arrow_right:components/button/examples.stories.tsx
for more accessible and visible available examples and less verbosity when writing them. The recommendation is to split examples into multiple files IF there are lots of examples and files have 500+ lines.components, layouts, primitives, date, ts-table
tocomponents, ts-table
(there are only two packages with stories)