Skip to content

Commit 0825e91

Browse files
fixed links
1 parent 120ba9a commit 0825e91

File tree

3 files changed

+8
-84
lines changed

3 files changed

+8
-84
lines changed

docs/30-components/31-table/table-stateful.mdx

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ tags:
88
- Beispiele
99
---
1010

11+
import Readme from '../../../readmes/table-stateful/readme.md';
1112
import { LiveEditorCompact } from '@site/src/components/LiveEditorCompact';
1213
import { ExampleLink } from '@site/src/components/ExampleLink';
1314

@@ -48,7 +49,7 @@ Die Table-Komponente unterstützt folgende Funktionalitäten **nicht**:
4849
4950
### Pagination
5051

51-
Über das Attribut **`_pagination`** kann optional eine Vielzahl zusätzlicher Properties zur Steuerung der Pagination übergeben werden. Die genaue Beschreibung der Optionen ist auf der Seite <kol-link _href="/docs/components/pagination" _label="/docs/components/pagination" _label="Pagination"></kol-link> zu finden.
52+
Über das Attribut **`_pagination`** kann optional eine Vielzahl zusätzlicher Properties zur Steuerung der Pagination übergeben werden. Die genaue Beschreibung der Optionen ist auf der Seite <kol-link _href="../pagination" _label="/docs/components/pagination" _label="Pagination"></kol-link> zu finden.
5253

5354
#### KoliBriTableHeaders
5455

@@ -198,43 +199,7 @@ Warum die Tabelle einen **Tabindex** hat, wird auf der folgenden Webseite beschr
198199
- <kol-link _href="https://stackoverflow.com/questions/1312236/" _target="_blank"></kol-link>
199200
- <kol-link _href="https://dequeuniversity.com/rules/axe/3.5/scrollable-region-focusable" _target="_blank"></kol-link>
200201

201-
<!-- Auto Generated Below -->
202-
203-
204-
## Properties
205-
206-
| Property | Attribute | Description | Type | Default |
207-
| ----------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
208-
| `_allowMultiSort` | `_allow-multi-sort` | Defines whether to allow multi sort. | `boolean` \| `undefined` | `undefined` |
209-
| `_data` _(required)_ | `_data` | Defines the primary table data. | `KoliBriTableDataType[]` \| `string` | `undefined` |
210-
| `_dataFoot` | `_data-foot` | Defines the data for the table footer. | `KoliBriTableDataType[]` \| `string` \| `undefined` | `undefined` |
211-
| `_headers` _(required)_ | `_headers` | Defines the horizontal and vertical table headers. | `string` \| `{ horizontal?: KoliBriTableHeaderCellWithLogic[][]` \| `undefined; vertical?: KoliBriTableHeaderCellWithLogic[][]` \| `undefined; }` | `undefined` |
212-
| `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
213-
| `_minWidth` | `_min-width` | Defines the table min-width. | `string` \| `undefined` | `undefined` |
214-
| `_on` | -- | Defines the callback functions for table events. | `undefined` \| `{ onSelectionChange?: EventValueOrEventCallback<Event, StatefulSelectionChangeEventPayload>` \| `undefined; }` | `undefined` |
215-
| `_pagination` | `_pagination` | Defines whether to show the data distributed over multiple pages. | `boolean` \| `string` \| `undefined` \| `{ _page: number; } & { _on?: KoliBriPaginationButtonCallbacks` \| `undefined; _page?: number` \| `undefined; _max?: number` \| `undefined; _boundaryCount?: number` \| `undefined; _hasButtons?: boolean` \| `Stringified<PaginationHasButton>` \| `undefined; _pageSize?: number` \| `undefined; _pageSizeOptions?: Stringified<number[]>` \| `undefined; _siblingCount?: number` \| `undefined; _customClass?: string` \| `undefined; _label?: string` \| `undefined; _tooltipAlign?: AlignPropType` \| `undefined; }` | `undefined` |
216-
| `_paginationPosition` | `_pagination-position` | Controls the position of the pagination. | `"both"` \| `"bottom"` \| `"top"` \| `undefined` | `'bottom'` |
217-
| `_selection` | `_selection` | Defines how rows can be selected and the current selection. | `string` \| `undefined` \| `({ label: (row: KoliBriTableDataType) => string; keyPropertyName?: string` \| `undefined; multiple?: boolean` \| `undefined; selectedKeys?: string[]` \| `undefined; })` | `undefined` |
218-
219-
220-
## Methods
221-
222-
### getSelection
223-
224-
`getSelection() => Promise<KoliBriTableDataType[] | KoliBriTableDataType | null>`
225-
226-
227-
228-
#### Returns
229-
230-
Type: `Promise<KoliBriTableDataType | KoliBriTableDataType[] | null>`
231-
232-
233-
234-
235-
----------------------------------------------
236-
237-
202+
<Readme />
238203

239204
<ExampleLink component="table-stateful" />
240205

docs/30-components/31-table/table-stateless.mdx

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ tags:
88
- Beispiele
99
---
1010

11+
import Readme from '../../../readmes/table-stateless/readme.md';
1112
import { LiveEditorCompact } from '@site/src/components/LiveEditorCompact';
1213
import { ExampleLink } from '@site/src/components/ExampleLink';
1314

@@ -82,26 +83,7 @@ const selection: KoliBriTableSelection = {
8283
/>
8384
```
8485

85-
<!-- Auto Generated Below -->
86-
87-
88-
## Properties
89-
90-
| Property | Attribute | Description | Type | Default |
91-
| --------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
92-
| `_data` _(required)_ | `_data` | Defines the primary table data. | `KoliBriTableDataType[]` \| `string` | `undefined` |
93-
| `_dataFoot` | `_data-foot` | Defines the data for the table footer. | `KoliBriTableDataType[]` \| `string` \| `undefined` | `undefined` |
94-
| `_headerCells` _(required)_ | `_header-cells` | Defines the horizontal and vertical table headers. | `string` \| `{ horizontal?: KoliBriTableHeaderCell[][]` \| `undefined; vertical?: KoliBriTableHeaderCell[][]` \| `undefined; }` | `undefined` |
95-
| `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
96-
| `_minWidth` | `_min-width` | Defines the table min-width. | `string` \| `undefined` | `undefined` |
97-
| `_on` | -- | Defines the callback functions for table events. | `undefined` \| `{ onSort?: EventValueOrEventCallback<MouseEvent, SortEventPayload>` \| `undefined; onSelectionChange?: EventValueOrEventCallback<Event, SelectionChangeEventPayload>` \| `undefined; }` | `undefined` |
98-
| `_selection` | `_selection` | Defines how rows can be selected and the current selection. | `string` \| `undefined` \| `({ label: (row: KoliBriTableDataType) => string; keyPropertyName?: string` \| `undefined; multiple?: boolean` \| `undefined; selectedKeys?: string[]` \| `undefined; })` | `undefined` |
99-
100-
101-
----------------------------------------------
102-
103-
104-
86+
<Readme />
10587

10688
<ExampleLink component="table-stateless" />
10789

0 commit comments

Comments
 (0)