Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
5810d87
Migrate Animation stories into gamut Storybook
aresnik11 Oct 14, 2026
9b89c9b
Migrate Button stories into gamut Storybook
aresnik11 Oct 14, 2026
3f70b08
Migrate Status components into gamut Storybook
aresnik11 Oct 15, 2026
fdd0a11
Migrate SkipToContent into gamut Storybook
aresnik11 Oct 16, 2026
28b6080
Migrate FocusTrap and DelayedRenderWrapper into gamut Storybook
aresnik11 Oct 16, 2026
77f4f1a
Migrate Card and Drawer into gamut Storybook
aresnik11 Oct 16, 2026
efd3fca
Migrate Toggle and Tag into gamut Storybook
aresnik11 Oct 16, 2026
969fe4b
Migrate PopoverContainer into gamut Storybook
aresnik11 Oct 19, 2026
4424ec0
Merge branch 'main' into ajr-migrate-atoms
aresnik11 Oct 19, 2026
b715e4f
Co-locate Card test out of __tests__
aresnik11 Oct 19, 2026
1d9b22c
changeset
aresnik11 Oct 19, 2026
91d8692
Migrate Form into gamut Storybook
aresnik11 Oct 20, 2026
44890fe
Reorganize Form inputs and migrate SelectDropdown tests to plays
aresnik11 Oct 23, 2026
2b78a09
Clean up Form story plays and SelectDropdown stories
aresnik11 Oct 26, 2026
4adea1e
Merge branch 'main' into ajr-migrate-forms
aresnik11 Oct 26, 2026
ee59ac8
Fix SelectDropdown story a11y failures
aresnik11 Oct 26, 2026
ac6605c
Add changeset for Form migration
aresnik11 Oct 26, 2026
3a22d42
Split empty-options story and hide SelectDropdown JSDoc
aresnik11 Oct 26, 2026
7d4a733
Migrate Alert, Toast, and Toaster into gamut Storybook
aresnik11 Oct 27, 2026
2eda4be
Migrate Breadcrumbs and Pagination into gamut Storybook
aresnik11 Oct 27, 2026
cd97a66
Hide className from all Storybook props tables
aresnik11 Oct 27, 2026
5c77b74
Migrate Disclosure into gamut Storybook
aresnik11 Oct 27, 2026
c08d3dc
Tidy subcomponents in LayoutGrid and Toaster stories
aresnik11 Oct 28, 2026
718076e
Migrate Menu and MenuItem into gamut Storybook
aresnik11 Oct 28, 2026
e8db262
Flatten DisclosureButton and DisclosureBody into Disclosure
aresnik11 Oct 28, 2026
3b3dfe2
Migrate Coachmark and Flyout into gamut Storybook
aresnik11 Oct 28, 2026
685d791
Migrate Modal, Overlay, and Popover into gamut Storybook
aresnik11 Oct 28, 2026
bf1c5c3
Move story helpers below meta
aresnik11 Oct 28, 2026
e248668
Migrate Tips into gamut Storybook and rename Tip to Tips
aresnik11 Oct 28, 2026
ddff6a7
Migrate Tabs into gamut Storybook
aresnik11 Oct 28, 2026
326d7f2
Merge branch 'main' into ajr-migrate-forms
aresnik11 Oct 29, 2026
423c0be
Merge branch 'ajr-migrate-forms' into ajr-migrate-molecules
aresnik11 Oct 29, 2026
ad5d22e
clean up
aresnik11 Oct 29, 2026
26b15e1
Track moved SelectDropdown types source in manifest
aresnik11 Nov 2, 2026
81030ed
Enable deep controls per story for form components
aresnik11 Nov 2, 2026
0e2b9e0
Merge branch 'ajr-migrate-forms' into ajr-migrate-molecules
aresnik11 Nov 2, 2026
4964a41
Enable deep controls per story for molecules
aresnik11 Nov 2, 2026
5966b96
Set size control on FormGroupLabel and SelectDropdown
aresnik11 Nov 2, 2026
67ca4bf
Remove stale Remove all TODOs from SelectDropdown stories
aresnik11 Nov 2, 2026
44b36fe
Merge branch 'main' into ajr-migrate-forms
aresnik11 Nov 2, 2026
0bcc009
Merge branch 'ajr-migrate-forms' into ajr-migrate-molecules
aresnik11 Nov 3, 2026
68e494a
Merge branch 'main' into ajr-migrate-molecules
aresnik11 Nov 4, 2026
217fd9b
Track moved Tip types source in manifest
aresnik11 Nov 4, 2026
c73e6bd
Revert className propFilter change
aresnik11 Nov 4, 2026
c757c9e
Add changeset for Disclosure aria-expanded fix
aresnik11 Nov 4, 2026
68e9cd0
test(DatePicker): move tests into colocated stories
aresnik11 Nov 5, 2026
06f0c45
test(ConnectedForm): move tests into colocated stories
aresnik11 Nov 5, 2026
ed213c1
feat(storybook): let a meta hide the DocsPage props table
aresnik11 Nov 6, 2026
5423a86
test(GridForm): move tests into colocated stories
aresnik11 Nov 6, 2026
d5c617d
fix(stories): wire ConnectedForm and GridForm controls
aresnik11 Nov 6, 2026
c0d75fb
test(BarChart): move tests into colocated stories
aresnik11 Nov 6, 2026
c83dc29
test(Markdown): move tests into colocated stories
aresnik11 Nov 6, 2026
5017032
Merge branch 'main' into ajr-migrate-organisms
aresnik11 Nov 9, 2026
bb94251
test(List): move tests into colocated stories
aresnik11 Nov 9, 2026
8c42f3f
chore(List): remove unused Header/ListHeaderCol
aresnik11 Nov 9, 2026
c3c7f3d
test(DataList): move tests into colocated stories
aresnik11 Nov 9, 2026
46565de
Merge branch 'main' into ajr-migrate-organisms
aresnik11 Nov 9, 2026
a6640e7
fix(ListRow): pass args to PlainStyled story
aresnik11 Nov 10, 2026
775dc81
docs(DataList): enable deep controls on DataList and DataTable
aresnik11 Nov 10, 2026
6337f6c
Merge branch 'ajr-migrate-organisms' of ssh://github.com/Codecademy/s…
aresnik11 Nov 10, 2026
ba9ff7e
Migrate Video stories into gamut
aresnik11 Nov 10, 2026
3481820
Fix Markdown video stories
aresnik11 Nov 10, 2026
0fcf5bd
Add empty changeset for Organisms migration
aresnik11 Nov 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/organisms-stories-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

Migrate Organisms and Video stories into packages/gamut and move their Jest tests into story plays. No published code changes.
43 changes: 25 additions & 18 deletions packages/.storybook/components/Elements/DocsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ import { isSystemPropCategory } from '../../systemProps';
* Storybook's default autodocs page, with system props moved out of the main
* props table into their own tab, and the primary story shown only at the top
* instead of again under Stories.
*
* Set `parameters.docs.propsTable: false` on a meta to leave out the props
* table, e.g. when several story files document one component and only one
* of them should show it.
*/
export const DocsPage: React.FC = () => {
const { csfFile, preparedMeta } = useOf('meta', ['meta']);
const isSingleStory = Object.keys(csfFile.stories).length === 1;
const showPropsTable = preparedMeta.parameters.docs?.propsTable !== false;
const systemProps = Object.entries(preparedMeta.argTypes)
.filter(([, argType]) => isSystemPropCategory(argType.table?.category))
.map(([name]) => name);
Expand All @@ -30,24 +35,26 @@ export const DocsPage: React.FC = () => {
<Description of="meta" />
{isSingleStory && <Description of="story" />}
<Primary />
{systemProps.length > 0 ? (
<Tabs defaultSelectedKey="props">
<TabList aria-label="Props">
<Tab id="props">Props</Tab>
<Tab id="system-props">System props</Tab>
</TabList>
<TabPanels>
<TabPanel id="props">
<Controls exclude={systemProps} />
</TabPanel>
<TabPanel id="system-props">
<Controls include={systemProps} />
</TabPanel>
</TabPanels>
</Tabs>
) : (
<Controls />
)}
{showPropsTable ? (
systemProps.length > 0 ? (
<Tabs defaultSelectedKey="props">
<TabList aria-label="Props">
<Tab id="props">Props</Tab>
<Tab id="system-props">System props</Tab>
</TabList>
<TabPanels>
<TabPanel id="props">
<Controls exclude={systemProps} />
</TabPanel>
<TabPanel id="system-props">
<Controls include={systemProps} />
</TabPanel>
</TabPanels>
</Tabs>
) : (
<Controls />
)
) : null}
{!isSingleStory && <Stories includePrimary={false} />}
</>
);
Expand Down
Loading
Loading