diff --git a/src/components/Table/demo/docs/both.md b/src/components/Table/demo/docs/both.md deleted file mode 100644 index 150557d4..00000000 --- a/src/components/Table/demo/docs/both.md +++ /dev/null @@ -1,13 +0,0 @@ -Feel free to both search and filter. - -```svelte -
-``` diff --git a/src/components/Table/demo/docs/component.md b/src/components/Table/demo/docs/component.md deleted file mode 100644 index 31646f1e..00000000 --- a/src/components/Table/demo/docs/component.md +++ /dev/null @@ -1,14 +0,0 @@ -Present structured data in a table. Consider making it interactive. - ---- - -```svelte - - -
-``` diff --git a/src/components/Table/demo/docs/filter.md b/src/components/Table/demo/docs/filter.md deleted file mode 100644 index ba9f3ba2..00000000 --- a/src/components/Table/demo/docs/filter.md +++ /dev/null @@ -1,11 +0,0 @@ -Allow users to filter the table by providing one of the attributes as the `filterField`. This works best with categorical columns. - -```svelte -
-``` diff --git a/src/components/Table/demo/docs/format.md b/src/components/Table/demo/docs/format.md deleted file mode 100644 index b53d7ba0..00000000 --- a/src/components/Table/demo/docs/format.md +++ /dev/null @@ -1,21 +0,0 @@ -Format column values by supplying functions keyed to field names with the `fieldFormatters` option. Columns are still sorted using the raw, underlying values. - -Among other things, this feature can be used to provide a unit of measurement with numeric fields. - -```svelte - - -
-``` diff --git a/src/components/Table/demo/docs/metadata.md b/src/components/Table/demo/docs/metadata.md deleted file mode 100644 index 9db84c7a..00000000 --- a/src/components/Table/demo/docs/metadata.md +++ /dev/null @@ -1,14 +0,0 @@ -Set the `title`, `dek`, `notes` and `source` options to add supporting metadata above and below the table. - -```svelte - -``` diff --git a/src/components/Table/demo/docs/paginate.md b/src/components/Table/demo/docs/paginate.md deleted file mode 100644 index d18646bf..00000000 --- a/src/components/Table/demo/docs/paginate.md +++ /dev/null @@ -1,14 +0,0 @@ -When your table has lots of rows you should consider breaking it up into pages. This can be done by setting the `paginated` option. - -When it is enabled, readers can leaf through the data using a set of buttons below the table. By default there are 25 records per page. You can change the number by adjusting the `pageSize` option. - -This is a good option when publishing large tables for readers to explore. It works well with interactive features like searching and filters. - -```svelte -
-``` diff --git a/src/components/Table/demo/docs/search.md b/src/components/Table/demo/docs/search.md deleted file mode 100644 index e81b05c8..00000000 --- a/src/components/Table/demo/docs/search.md +++ /dev/null @@ -1,11 +0,0 @@ -Allow users to search the table by setting the optional `searchable` variable. Modify the default text that appears in the box by supplying the `searchPlaceholder` option. - -```svelte -
-``` diff --git a/src/components/Table/demo/docs/sort.md b/src/components/Table/demo/docs/sort.md deleted file mode 100644 index 7ed003cd..00000000 --- a/src/components/Table/demo/docs/sort.md +++ /dev/null @@ -1,14 +0,0 @@ -Allow users to sort the table by setting the `sortable` input. Specify the starting order by setting `sortField` to a column name and `sortDirection` to `ascending` or `descending`. - -By default, all fields are sortable. If you'd like to limit the columns where sorting is allowed, provide a list to the `sortableFields` option. - -```svelte -
-``` diff --git a/src/components/Table/demo/docs/style.md b/src/components/Table/demo/docs/style.md deleted file mode 100644 index 42c89e28..00000000 --- a/src/components/Table/demo/docs/style.md +++ /dev/null @@ -1,23 +0,0 @@ -You can tailor the table's appearance by crafting CSS that targets specific elements. - -Like other components, you can apply labels by providing the `id` of `cls` options, which allow you to make broad changes that remain limited to your element. - -Each column has a `data-field` attribute that contains the field's name. Use it to apply different styles to different fields. One common use is setting different text alignments on different columns. - -```svelte -
- - -``` diff --git a/src/components/Table/demo/docs/truncate.md b/src/components/Table/demo/docs/truncate.md deleted file mode 100644 index d36a230f..00000000 --- a/src/components/Table/demo/docs/truncate.md +++ /dev/null @@ -1,11 +0,0 @@ -When your table has 10 or more rows, consider clipping it by setting the `truncated` option. When it is enabled, the table is clipped and readers must request to see all rows by clicking a button below the table. By default this configuration will limit the table to five records. You can change the cutoff point by adjusting the `truncateLength` option. - -This is a good option for simple tables with row counts between 10 and 30. It works best when the table doesn't require interactivity. - -```svelte -
-```