Skip to content

Commit

Permalink
Drop scoobie tables (#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronMoat authored Jan 6, 2025
1 parent 7bb6169 commit 63fff4f
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 489 deletions.
7 changes: 7 additions & 0 deletions .changeset/giant-turtles-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'scoobie': major
---

Table, TableRow: Remove components

[braid-design-system 33.3.0](https://github.com/seek-oss/braid-design-system/releases/tag/braid-design-system%4033.3.0) now supports `Table` components directly
27 changes: 0 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,33 +217,6 @@ export const SomeLinks = () => (
);
```

### Table

```tsx
import React, { Fragment } from 'react';
import { Table, TableRow } from 'scoobie';

export const MyFirstTable = () => (
<Table header={['Column A', 'Column B']}>
<TableRow>
<Fragment>This is body cell A1.</Fragment>
<Fragment>B1</Fragment>
</TableRow>

<TableRow>
<Fragment>A2</Fragment>
<Fragment>This is body cell B2.</Fragment>
</TableRow>
</Table>
);
```

### TableRow

`<tr>` component for use with [Table](#table).

Row children are flattened then wrapped with `<td>`s.

## Styling reference

Scoobie distributes some vanilla-extract styles via `scoobie/styles` submodules.
Expand Down
99 changes: 0 additions & 99 deletions src/components/Table.stories.tsx

This file was deleted.

71 changes: 0 additions & 71 deletions src/components/Table.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions src/components/TableRow.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ export { InternalLink } from './components/InternalLink';
export { ScoobieLink } from './components/ScoobieLink';
export { ScoobieLinkProvider } from './components/ScoobieLinkProvider';
export { SmartTextLink } from './components/SmartTextLink';
export { Table } from './components/Table';
export { TableRow } from './components/TableRow';
10 changes: 0 additions & 10 deletions src/private/Table.css.ts

This file was deleted.

36 changes: 0 additions & 36 deletions src/private/Table.tsx

This file was deleted.

Loading

0 comments on commit 63fff4f

Please sign in to comment.