Skip to content

Commit

Permalink
📝 chore: update Storybook configuration and component titles to refle…
Browse files Browse the repository at this point in the history
…ct 'In Review' status
  • Loading branch information
futjesus committed Feb 12, 2025
1 parent dc116a0 commit b45a737
Show file tree
Hide file tree
Showing 25 changed files with 29 additions and 23 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Deploy Storybook to GitHub Pages

on:
workflow_dispatch:

workflow_run:
workflows: ['Bump Version and Publish to npm']
types:
Expand All @@ -13,7 +15,7 @@ permissions:
jobs:
build-and-deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: self-hosted
runs-on: self-hosted

steps:
- name: Checkout repository
Expand Down
3 changes: 3 additions & 0 deletions .storybook/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ addons.setConfig({
textColor: '#333',
barTextColor: '#666',
}),
sidebar: {
showRoots: true,
},
});
1 change: 1 addition & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const preview = {
'Documentation',
['Introduction', 'Changelog'],
'Design System',
'In Review',
],
},
},
Expand Down
2 changes: 1 addition & 1 deletion lib/components/AlertDialog/AlertDialog.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { AlertDialog as AlertDialogComponent } from './AlertDialog';
type Story = StoryObj<typeof AlertDialogComponent>;

const meta: Meta<typeof AlertDialogComponent> = {
title: 'Design System/AlertDialog',
title: 'In Review/AlertDialog',
component: AlertDialogComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Autocomplete/Autocomplete.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Autocomplete as AutocompleteComponent } from './Autocomplete';
type Story = StoryObj<typeof AutocompleteComponent>;

const meta: Meta<typeof AutocompleteComponent> = {
title: 'Design System/Autocomplete',
title: 'In Review/Autocomplete',
component: AutocompleteComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Card/Card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { CardProps } from './Card.types';
type Story = StoryObj<typeof CardComponent>;

const meta: Meta<typeof CardComponent> = {
title: 'Design System/Card',
title: 'In Review/Card',
component: CardComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Checkbox/Checkbox.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Checkbox as CheckboxComponent } from './Checkbox';
type Story = StoryObj<typeof CheckboxComponent>;

const meta: Meta<typeof CheckboxComponent> = {
title: 'Design System/Checkbox',
title: 'In Review/Checkbox',
component: CheckboxComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Dropdown/Dropdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Dropdown as DropdownComponent } from './Dropdown';
type Story = StoryObj<typeof DropdownComponent>;

const meta: Meta<typeof DropdownComponent> = {
title: 'Design System/Dropdown',
title: 'In Review/Dropdown',
component: DropdownComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Input/Input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Input as InputComponent } from './Input';
type Story = StoryObj<typeof InputComponent>;

const meta: Meta<typeof InputComponent> = {
title: 'Design System/Input',
title: 'In Review/Input',
component: InputComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Modal/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Theme, ThemeProvider, useTheme } from '../../contexts';
type Story = StoryObj<typeof ModalComponent>;

const meta: Meta<typeof ModalComponent> = {
title: 'Design System/Modal',
title: 'In Review/Modal',
component: ModalComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/NumberInput/NumberInput.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { NumberInput as NumberInputComponent } from './NumberInput';
type Story = StoryObj<typeof NumberInputComponent>;

const meta: Meta<typeof NumberInputComponent> = {
title: 'Design System/NumberInput',
title: 'In Review/NumberInput',
component: NumberInputComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/ProgressBar/ProgressBar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ProgressBar as ProgressBarComponent } from './ProgressBar';
type Story = StoryObj<typeof ProgressBarComponent>;

const meta: Meta<typeof ProgressBarComponent> = {
title: 'Design System/ProgressBar',
title: 'In Review/ProgressBar',
component: ProgressBarComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Radio/Radio.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Radio as RadioComponent } from './Radio';
type Story = StoryObj<typeof RadioComponent>;

const meta: Meta<typeof RadioComponent> = {
title: 'Design System/Radio',
title: 'In Review/Radio',
component: RadioComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/RadioCard/RadioGroup.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { RadioCard as RadioCardComponent } from './RadioCard';
type Story = StoryObj<typeof RadioCardComponent>;

const meta = {
title: 'Design System/RadioCard',
title: 'In Review/RadioCard',
component: RadioCardComponent,
} satisfies Meta<typeof RadioCardComponent>;

Expand Down
2 changes: 1 addition & 1 deletion lib/components/RadioCardGroup/RadioCardGroup.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { RadioCardGroup as RadioCardGroupComponent } from './RadioCardGroup';
type Story = StoryObj<typeof RadioCardGroupComponent>;

const meta = {
title: 'Design System/RadioCardGroup',
title: 'In Review/RadioCardGroup',
component: RadioCardGroupComponent,
} satisfies Meta<typeof RadioCardGroupComponent>;

Expand Down
2 changes: 1 addition & 1 deletion lib/components/RadioGroup/RadioGroup.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { RadioGroup as RadioGroupComponent } from './RadioGroup';
type Story = StoryObj<typeof RadioGroupComponent>;

const meta: Meta<typeof RadioGroupComponent> = {
title: 'Design System/RadioGroup',
title: 'In Review/RadioGroup',
component: RadioGroupComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Range/Range.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Range as RangeComponent } from './Range';
type Story = StoryObj<typeof RangeComponent>;

const meta: Meta<typeof RangeComponent> = {
title: 'Design System/Range',
title: 'In Review/Range',
component: RangeComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Sidebar/Sidebar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
type Story = StoryObj<typeof SidebarPrimitive>;

const meta = {
title: 'Design System/Sidebar',
title: 'In Review/Sidebar',
component: SidebarPrimitive,
decorators: [
(Story) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/components/Slider/Slider.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Slider as SliderComponent } from './Slider';
type Story = StoryObj<typeof SliderComponent>;

const meta: Meta<typeof SliderComponent> = {
title: 'Design System/Slider',
title: 'In Review/Slider',
component: SliderComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Switch/Switch.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Switch as SwitchComponent } from './Switch';
type Story = StoryObj<typeof SwitchComponent>;

const meta: Meta<typeof SwitchComponent> = {
title: 'Design System/Switch',
title: 'In Review/Switch',
component: SwitchComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Tag/Tag.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Tag as TagComponent } from './Tag';
type Story = StoryObj<typeof TagComponent>;

const meta: Meta<typeof TagComponent> = {
title: 'Design System/Tag',
title: 'In Review/Tag',
component: TagComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/TagSelect/TagSelect.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TagSelect as TagSelectComponent } from './TagSelect';
type Story = StoryObj<typeof TagSelectComponent>;

const meta: Meta<typeof TagSelectComponent> = {
title: 'Design System/TagSelect',
title: 'In Review/TagSelect',
component: TagSelectComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/TextArea/TextArea.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TextArea as TextAreaComponent } from './TextArea';
type Story = StoryObj<typeof TextAreaComponent>;

const meta: Meta<typeof TextAreaComponent> = {
title: 'Design System/TextArea',
title: 'In Review/TextArea',
component: TextAreaComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Toast/Toast.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Toast as ToastComponent } from './Toast';
type Story = StoryObj<typeof ToastComponent>;

const meta: Meta<typeof ToastComponent> = {
title: 'Design System/Toast',
title: 'In Review/Toast',
component: ToastComponent,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/components/Tooltip/Tooltip.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ThemeProvider } from '../../contexts';
type Story = StoryObj<typeof TooltipComponent>;

const meta: Meta<typeof TooltipComponent> = {
title: 'Design System/Tooltip',
title: 'In Review/Tooltip',
component: TooltipComponent,
};

Expand Down

0 comments on commit b45a737

Please sign in to comment.