@cailabs/components.data 0.0.0-stage → 0.0.91
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 +17 -2
- package/index.js +2 -0
- package/package.json +21 -3
package/README.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @cailabs/components.data
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Data segment of the Cai component library. Re-exports `@cailabs/components.base/data`
|
|
4
|
+
(table, datatable, pagination, table loader and the report filter builder).
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
pnpm add @cailabs/components.data svelte-headless-table
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
Peers: `@cailabs/components.base`, `svelte`, `svelte-headless-table`.
|
|
11
|
+
|
|
12
|
+
```svelte
|
|
13
|
+
<script lang="ts">
|
|
14
|
+
import { Datatable, Paginate } from '@cailabs/components.data';
|
|
15
|
+
</script>
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Docs: `/docs/installation` and `/docs/components/datatable`.
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cailabs/components.data",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
|
|
3
|
+
"version": "0.0.91",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/bitblueconsult/cai.components.git"
|
|
7
|
+
},
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "./index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./index.js"
|
|
12
|
+
},
|
|
13
|
+
"peerDependencies": {
|
|
14
|
+
"@cailabs/components.base": "^0.0.91",
|
|
15
|
+
"svelte": "^5.0.0",
|
|
16
|
+
"svelte-headless-table": "^0.18.2"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@cailabs/components.base": "0.0.91"
|
|
20
|
+
},
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
}
|
|
6
24
|
}
|