Skip to content

Commit 0b81e77

Browse files
feat(website): remove tabular content category (elastic#8753)
1 parent 323d706 commit 0b81e77

33 files changed

+15
-11
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
label: Data grid
2+
position: 7

packages/website/docs/components/tabular-content/data-grid/cells-and-popovers.mdx renamed to packages/website/docs/components/data-grid/cells-and-popovers.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,12 +742,12 @@ for (let i = 0; i < 10; i++) {
742742
<span>{faker.person.firstName()}</span>,
743743

744744
<span>
745-
<EuiLink href="#/tabular-content/data-grid/cells-and-popovers#focus">
745+
<EuiLink href="/data-grid/cells-and-popovers#focus">
746746
{faker.internet.email()}
747747
</EuiLink>
748748
</span>,
749749
<span>
750-
<EuiLink href="#/tabular-content/data-grid/cells-and-popovers#focus">
750+
<EuiLink href="/data-grid/cells-and-popovers#focus">
751751
{faker.internet.email()}
752752
</EuiLink>
753753
</span>,

packages/website/docs/components/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ EUI offers a wide variety of components. This section is organized topically wit
99
The adjacent [patterns](../patterns/index.mdx) section provides additional guidance for handling use cases that cross multiple components.
1010

1111
## Components by topic
12+
1213
- [Layout](./layout/flex/index.mdx)
1314
- [Containers](./containers/accordion.mdx)
1415
- [Navigation](./navigation/breadcrumbs.mdx)
1516
- [Display](./display/badge/index.mdx)
1617
- [Forms](./forms/controls/guidelines.mdx)
17-
- [Tabular content](./tabular-content/tables/basic.mdx)
18+
- [Data grid](./data-grid/data-grid.mdx)
19+
- [Tables](./tables/basic.mdx)
1820
- [Templates](./templates/page-template/index.mdx)
1921
- [Editors and syntax](./editors-and-syntax/markdown/format.mdx)

packages/website/docs/components/navigation/pagination/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ keywords: [EuiPagination]
44

55
# Pagination
66

7-
Some EUI components have pagination built-in, like [EuiBasicTable](../../tabular-content/tables/basic.mdx), but for custom built paginated interfaces you can use **EuiPagination** manually.
7+
Some EUI components have pagination built-in, like [EuiBasicTable](../../tables/basic.mdx), but for custom built paginated interfaces you can use **EuiPagination** manually.
88

99
## Component
1010

@@ -135,7 +135,7 @@ export default function () {
135135

136136
### Table pagination
137137

138-
You can use **EuiTablePagination** to create a combination "Rows per page" and pagination set, commonly used with [tables](../../tabular-content/tables/basic.mdx#pagination). If you pass `0` in as one of the `itemsPerPageOptions`, it will create a "Show all" option and hide the pagination.
138+
You can use **EuiTablePagination** to create a combination "Rows per page" and pagination set, commonly used with [tables](../../tables/basic.mdx#pagination). If you pass `0` in as one of the `itemsPerPageOptions`, it will create a "Show all" option and hide the pagination.
139139

140140
```tsx interactive
141141
import React, { useState } from 'react';

packages/website/docs/components/navigation/side-nav.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ keywords: [EuiSideNav]
44

55
# Side nav
66

7-
**EuiSideNav** is a responsive menu system that usually sits on the left side of a page layout. It will expand to the width of its container. This is the same menu system used for the EUI documentation.
7+
**EuiSideNav** is a responsive menu system that usually sits on the left side of a page layout. It will expand to the width of its container.
88

99
Configure the content of a **EuiSideNav** by passing in an `items` prop. Refer to the source code for an example of this data structure’s anatomy.
1010

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
label: Tables
2+
position: 8

packages/website/docs/components/tabular-content/_category_.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/website/src/components/homepage/highlights/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const CONTENT_DATA = [
102102
},
103103
{
104104
title: 'Table',
105-
href: './docs/components/tabular-content/tables',
105+
href: './docs/components/tables',
106106
svg: SvgTable,
107107
description:
108108
'Flexible tables with sorting, pagination, selection and actions',

wiki/contributing-to-eui/documenting/writing-documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ The story's `id` can be found in the URL. It's the part after `/index.html?path=
247247

248248
### Tables
249249

250-
The preferred way to display content in tables is by leveraging [EuiBasicTable](https://eui.elastic.co/docs/components/tabular-content/tables/basic-tables) and not Markdown tables.
250+
The preferred way to display content in tables is by leveraging [EuiBasicTable](https://eui.elastic.co/docs/components/tables/basic-tables) and not Markdown tables.
251251

252252
Just like with [partials](#partials), the code for the table can be separated in its own file and imported into the MDX document where it'll be displayed. For example:
253253

@@ -256,7 +256,7 @@ Just like with [partials](#partials), the code for the table can be separated in
256256
nice_table.tsx
257257
index.mdx
258258

259-
`nice_table.tsx` can export a component that renders [EuiBasicTable](https://eui.elastic.co/docs/components/tabular-content/tables/basic-tables):
259+
`nice_table.tsx` can export a component that renders [EuiBasicTable](https://eui.elastic.co/docs/components/tables/basic-tables):
260260

261261
```tsx
262262
import { css } from '@emotion/react';

0 commit comments

Comments
 (0)