@humanspeak/svelte-headless-table 5.0.1 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -20
- package/dist/plugins/addColumnFilters.d.ts +1 -1
- package/package.json +24 -6
package/README.md
CHANGED
|
@@ -5,12 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
<div align="center">
|
|
7
7
|
|
|
8
|
-
[](https://www.npmjs.com/package/@humanspeak/svelte-headless-table)
|
|
9
|
+
[](https://github.com/humanspeak/svelte-headless-table/actions/workflows/npm-publish.yml)
|
|
10
|
+
[](https://coveralls.io/github/humanspeak/svelte-headless-table?branch=main)
|
|
11
|
+
[](https://github.com/humanspeak/svelte-headless-table/blob/main/LICENSE)
|
|
12
|
+
[](https://www.npmjs.com/package/@humanspeak/svelte-headless-table)
|
|
13
|
+
[](https://github.com/humanspeak/svelte-headless-table/actions/workflows/codeql.yml)
|
|
14
|
+
[](https://packagephobia.com/result?p=@humanspeak/svelte-headless-table)
|
|
15
|
+
[](https://trunk.io)
|
|
16
|
+
[](http://www.typescriptlang.org/)
|
|
17
|
+
[](https://www.npmjs.com/package/@humanspeak/svelte-headless-table)
|
|
18
|
+
[](https://github.com/humanspeak/svelte-headless-table/graphs/commit-activity)
|
|
14
19
|
|
|
15
20
|
</div>
|
|
16
21
|
|
|
@@ -18,7 +23,7 @@
|
|
|
18
23
|
|
|
19
24
|
> Build and design powerful datagrid experiences while retaining 100% control over styles and markup.
|
|
20
25
|
|
|
21
|
-
Visit the [documentation](https://
|
|
26
|
+
Visit the [documentation](https://table.svelte.page/) for code examples and API reference, and get started with the [quick start guide](https://table.svelte.page/docs/getting-started/quick-start)!
|
|
22
27
|
|
|
23
28
|
## Why Svelte Headless Table?
|
|
24
29
|
|
|
@@ -40,18 +45,18 @@ Easily extend Svelte Headless Table with complex **sorting**, **filtering**, **g
|
|
|
40
45
|
|
|
41
46
|
### Plugin roadmap
|
|
42
47
|
|
|
43
|
-
- [x] [addSortBy](https://
|
|
44
|
-
- [x] [addColumnFilters](https://
|
|
45
|
-
- [x] [addTableFilter](https://
|
|
46
|
-
- [x] [addColumnOrder](https://
|
|
47
|
-
- [x] [addHiddenColumns](https://
|
|
48
|
-
- [x] [addPagination](https://
|
|
49
|
-
- [x] [addSubRows](https://
|
|
50
|
-
- [x] [addGroupBy](https://
|
|
51
|
-
- [x] [addExpandedRows](https://
|
|
52
|
-
- [x] [addSelectedRows](https://
|
|
53
|
-
- [x] [addResizedColumns](https://
|
|
54
|
-
- [x] [addGridLayout](https://
|
|
48
|
+
- [x] [addSortBy](https://table.svelte.page/docs/plugins/add-sort-by)
|
|
49
|
+
- [x] [addColumnFilters](https://table.svelte.page/docs/plugins/add-column-filters)
|
|
50
|
+
- [x] [addTableFilter](https://table.svelte.page/docs/plugins/add-table-filter)
|
|
51
|
+
- [x] [addColumnOrder](https://table.svelte.page/docs/plugins/add-column-order)
|
|
52
|
+
- [x] [addHiddenColumns](https://table.svelte.page/docs/plugins/add-hidden-columns)
|
|
53
|
+
- [x] [addPagination](https://table.svelte.page/docs/plugins/add-pagination)
|
|
54
|
+
- [x] [addSubRows](https://table.svelte.page/docs/plugins/add-sub-rows)
|
|
55
|
+
- [x] [addGroupBy](https://table.svelte.page/docs/plugins/add-group-by)
|
|
56
|
+
- [x] [addExpandedRows](https://table.svelte.page/docs/plugins/add-expanded-rows)
|
|
57
|
+
- [x] [addSelectedRows](https://table.svelte.page/docs/plugins/add-selected-rows)
|
|
58
|
+
- [x] [addResizedColumns](https://table.svelte.page/docs/plugins/add-resized-columns)
|
|
59
|
+
- [x] [addGridLayout](https://table.svelte.page/docs/plugins/add-grid-layout)
|
|
55
60
|
|
|
56
61
|
## Examples
|
|
57
62
|
|
|
@@ -119,4 +124,4 @@ Easily extend Svelte Headless Table with complex **sorting**, **filtering**, **g
|
|
|
119
124
|
</table>
|
|
120
125
|
```
|
|
121
126
|
|
|
122
|
-
For more complex examples with advanced features, visit the [documentation site](https://
|
|
127
|
+
For more complex examples with advanced features, visit the [documentation site](https://table.svelte.page/docs/plugins/overview).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RenderConfig } from '@humanspeak/svelte-
|
|
1
|
+
import type { RenderConfig } from '@humanspeak/svelte-render';
|
|
2
2
|
import type { BodyRow } from '../bodyRows.js';
|
|
3
3
|
import type { TablePlugin, NewTablePropSet } from '../types/TablePlugin.js';
|
|
4
4
|
import { type Readable, type Writable } from 'svelte/store';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@humanspeak/svelte-headless-table",
|
|
3
|
-
"version": "5.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "5.0.3",
|
|
4
|
+
"description": "A powerful, headless table library for Svelte that provides complete control over table UI while handling complex data operations like sorting, filtering, pagination, grouping, and row expansion. Build custom, accessible data tables with zero styling opinions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"svelte",
|
|
7
7
|
"table",
|
|
@@ -16,7 +16,16 @@
|
|
|
16
16
|
"grouping",
|
|
17
17
|
"selecting",
|
|
18
18
|
"expanding",
|
|
19
|
-
"
|
|
19
|
+
"data-table",
|
|
20
|
+
"data-grid",
|
|
21
|
+
"table-component",
|
|
22
|
+
"pagination",
|
|
23
|
+
"column-sorting",
|
|
24
|
+
"row-selection",
|
|
25
|
+
"typescript",
|
|
26
|
+
"sveltekit",
|
|
27
|
+
"customizable",
|
|
28
|
+
"accessible"
|
|
20
29
|
],
|
|
21
30
|
"homepage": "https://github.com/humanspeak/svelte-headless-table#readme",
|
|
22
31
|
"bugs": {
|
|
@@ -60,15 +69,22 @@
|
|
|
60
69
|
"prepublishOnly": "npm run package",
|
|
61
70
|
"preview": "vite preview",
|
|
62
71
|
"test": "vitest run --coverage",
|
|
72
|
+
"test:all": "npm run test && npm run test:e2e",
|
|
73
|
+
"test:e2e": "playwright test",
|
|
74
|
+
"test:e2e:debug": "playwright test --debug",
|
|
75
|
+
"test:e2e:report": "playwright show-report",
|
|
76
|
+
"test:e2e:ui": "playwright test --ui",
|
|
63
77
|
"test:only": "vitest run",
|
|
64
78
|
"test:watch": "vitest"
|
|
65
79
|
},
|
|
66
80
|
"dependencies": {
|
|
67
|
-
"@humanspeak/svelte-keyed": "^5.0.
|
|
81
|
+
"@humanspeak/svelte-keyed": "^5.0.1",
|
|
68
82
|
"@humanspeak/svelte-render": "^5.0.0",
|
|
69
83
|
"@humanspeak/svelte-subscribe": "^5.0.0"
|
|
70
84
|
},
|
|
71
85
|
"devDependencies": {
|
|
86
|
+
"@faker-js/faker": "^9.4.0",
|
|
87
|
+
"@playwright/test": "^1.50.0",
|
|
72
88
|
"@sveltejs/adapter-auto": "^3.0.0",
|
|
73
89
|
"@sveltejs/kit": "^2.0.0",
|
|
74
90
|
"@sveltejs/package": "^2.0.0",
|
|
@@ -76,14 +92,13 @@
|
|
|
76
92
|
"@testing-library/jest-dom": "^6.1.6",
|
|
77
93
|
"@testing-library/svelte": "^4.0.5",
|
|
78
94
|
"@types/eslint": "8.56.0",
|
|
79
|
-
"@types/
|
|
95
|
+
"@types/node": "^22.10.10",
|
|
80
96
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
81
97
|
"@typescript-eslint/parser": "^6.0.0",
|
|
82
98
|
"@vitest/coverage-v8": "^1.1.1",
|
|
83
99
|
"eslint": "^8.56.0",
|
|
84
100
|
"eslint-config-prettier": "^9.1.0",
|
|
85
101
|
"eslint-plugin-svelte": "^2.35.1",
|
|
86
|
-
"faker": "^5.5.3",
|
|
87
102
|
"prettier": "^3.1.1",
|
|
88
103
|
"prettier-plugin-svelte": "^3.1.2",
|
|
89
104
|
"publint": "^0.1.9",
|
|
@@ -94,5 +109,8 @@
|
|
|
94
109
|
"typescript": "^5.0.0",
|
|
95
110
|
"vite": "^5.0.3",
|
|
96
111
|
"vitest": "^1.0.0"
|
|
112
|
+
},
|
|
113
|
+
"volta": {
|
|
114
|
+
"node": "22.13.1"
|
|
97
115
|
}
|
|
98
116
|
}
|