Skip to content

Commit

Permalink
Rip out Select from ui/lib
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Nov 11, 2023
1 parent dac6825 commit 8744906
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 296 deletions.
14 changes: 1 addition & 13 deletions ui/lib/Layout/RowWithSelect.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,7 @@ export default {
Label
</Label>
),
action: (
<Select
placeholder='Select'
name='storybook-select'
id='storybook-select'
>
<SelectItem value='apple'>Apple</SelectItem>
<SelectItem value='banana'>Banana</SelectItem>
<SelectItem value='blueberry'>Blueberry</SelectItem>
<SelectItem value='grapes'>Grapes</SelectItem>
<SelectItem value='pineapple'>Pineapple</SelectItem>
</Select>
),
action: <div>select</div>,
description: <Label>Description</Label>,
},
} satisfies Meta<typeof RowWithSelect>;
Expand Down
36 changes: 0 additions & 36 deletions ui/lib/Select/Select.stories.tsx

This file was deleted.

50 changes: 0 additions & 50 deletions ui/lib/Select/Select.styles.ts

This file was deleted.

34 changes: 0 additions & 34 deletions ui/lib/Select/Select.tsx

This file was deleted.

36 changes: 0 additions & 36 deletions ui/lib/Select/SelectItem.stories.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions ui/lib/Select/SelectItem.styles.ts

This file was deleted.

17 changes: 0 additions & 17 deletions ui/lib/Select/SelectItem.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions ui/lib/Select/SelectMenu.stories.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions ui/lib/Select/SelectMenu.styles.ts

This file was deleted.

13 changes: 0 additions & 13 deletions ui/lib/Select/SelectMenu.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions ui/lib/Select/index.ts

This file was deleted.

19 changes: 0 additions & 19 deletions ui/lib/Table/Table.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Checkbox } from '../Checkbox';
import { Icon } from '../Icon';
import { Label } from '../Label';
import { SearchField } from '../SearchField';
import { Select } from '../Select';
import { Table } from './Table';
import { TableCell } from './TableCell';
import { TableRow } from './TableRow';
Expand Down Expand Up @@ -50,24 +49,6 @@ export default {
<TableCell as='th' variant='button'>
<Checkbox variant='mixed' defaultChecked />
</TableCell>
<TableCell as='th'>
<Select placeholder='Select' />
</TableCell>
<TableCell as='th'>
<Select placeholder='Select' />
</TableCell>
<TableCell as='th'>
<Select placeholder='Select' />
</TableCell>
<TableCell as='th'>
<Select placeholder='Select' />
</TableCell>
<TableCell as='th'>
<Select placeholder='Select' />
</TableCell>
<TableCell as='th'>
<Select placeholder='Select' />
</TableCell>
<TableCell as='th' variant='button'>
<Button>
<Icon name='more_horiz' />
Expand Down
2 changes: 0 additions & 2 deletions ui/lib/Table/TableCell.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Meta, StoryObj } from '@storybook/react';
import { Checkbox } from '../Checkbox';
import { Label } from '../Label';
import { Select } from '../Select';
import { TableCell } from './TableCell';

export default {
Expand All @@ -27,7 +26,6 @@ export const NormalCell: Story = {
},
render: (props) => (
<TableCell {...props}>
<Select placeholder='Select' />
</TableCell>
),
};
Expand Down
2 changes: 0 additions & 2 deletions ui/lib/Table/TableRow.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Button } from '../Button';
import { Checkbox } from '../Checkbox';
import { Icon } from '../Icon';
import { Label } from '../Label';
import { Select } from '../Select';
import { TableCell } from './TableCell';
import { TableRow } from './TableRow';

Expand All @@ -31,7 +30,6 @@ export default {
<Label>Label</Label>
</TableCell>
<TableCell>
<Select placeholder='Select' />
</TableCell>
<TableCell>
<Badge variant='positive'>Active</Badge>
Expand Down

0 comments on commit 8744906

Please sign in to comment.