@johnhalazonetis/data-table 1.24.2 → 1.24.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.
Files changed (2) hide show
  1. package/README.md +12 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,11 +11,18 @@ npm run dev
11
11
 
12
12
  ## Installation
13
13
 
14
- **Dependencies:**
14
+ Install the package from npm:
15
+
16
+ ```bash
17
+ npm install @johnhalazonetis/data-table
18
+ ```
19
+
20
+ **Peer dependencies** (install alongside if they are not already in your app):
15
21
 
16
22
  - Vue 3.5+
17
- - @tanstack/vue-table ^8.21
18
- - @vueuse/core ^14.2
23
+ - `@tanstack/vue-table` ^8.21
24
+ - `@tanstack/vue-virtual` ^3.13
25
+ - `@vueuse/core` ^14.2
19
26
  - Tailwind CSS v4
20
27
 
21
28
  ## Basic Usage
@@ -23,7 +30,8 @@ npm run dev
23
30
  ```vue
24
31
  <script setup>
25
32
  import { ref } from 'vue'
26
- import { DataTable } from './components/DataTable'
33
+ import { DataTable } from '@johnhalazonetis/data-table'
34
+ import '@johnhalazonetis/data-table/style.css'
27
35
  import { createColumnHelper } from '@tanstack/vue-table'
28
36
 
29
37
  const col = createColumnHelper()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@johnhalazonetis/data-table",
3
- "version": "1.24.2",
3
+ "version": "1.24.3",
4
4
  "description": "Feature-rich Vue 3 data grid built on TanStack Table",
5
5
  "license": "MIT",
6
6
  "repository": {