@rozie-ui/data-table-solid 0.2.4 → 0.2.6
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/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +3 -3
- package/src/DataTable.tsx +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -51,7 +51,7 @@ interface DataTableProps {
|
|
|
51
51
|
/**
|
|
52
52
|
* The row data — `model: true`, so a committed cell/row edit writes a **fresh** array back through `r-model:data` (uncontrolled fallback `dataDefault`). A stable reference per Rozie's setup-once model — fed directly into table-core (never map/cloned in the watcher).
|
|
53
53
|
* @example
|
|
54
|
-
* <DataTable
|
|
54
|
+
* <DataTable data={rows()} onDataChange={setRows} columns={cols} />
|
|
55
55
|
*/
|
|
56
56
|
data: any[];
|
|
57
57
|
defaultData?: any[];
|
package/dist/index.d.mts
CHANGED
|
@@ -51,7 +51,7 @@ interface DataTableProps {
|
|
|
51
51
|
/**
|
|
52
52
|
* The row data — `model: true`, so a committed cell/row edit writes a **fresh** array back through `r-model:data` (uncontrolled fallback `dataDefault`). A stable reference per Rozie's setup-once model — fed directly into table-core (never map/cloned in the watcher).
|
|
53
53
|
* @example
|
|
54
|
-
* <DataTable
|
|
54
|
+
* <DataTable data={rows()} onDataChange={setRows} columns={cols} />
|
|
55
55
|
*/
|
|
56
56
|
data: any[];
|
|
57
57
|
defaultData?: any[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rozie-ui/data-table-solid",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@solid-primitives/keyed": "^1.5.3",
|
|
49
|
-
"@rozie/runtime-solid": "0.
|
|
49
|
+
"@rozie/runtime-solid": "0.7.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"solid-js": "^1.8",
|
|
53
53
|
"@tanstack/table-core": "^8.21",
|
|
54
54
|
"@tanstack/virtual-core": "^3",
|
|
55
|
-
"@rozie-ui/popover-solid": "^0.1.0"
|
|
55
|
+
"@rozie-ui/popover-solid": "^0.1.0 || ^0.2.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependenciesMeta": {
|
|
58
58
|
"solid-js": {
|
package/src/DataTable.tsx
CHANGED
|
@@ -358,7 +358,7 @@ interface DataTableProps {
|
|
|
358
358
|
/**
|
|
359
359
|
* The row data — `model: true`, so a committed cell/row edit writes a **fresh** array back through `r-model:data` (uncontrolled fallback `dataDefault`). A stable reference per Rozie's setup-once model — fed directly into table-core (never map/cloned in the watcher).
|
|
360
360
|
* @example
|
|
361
|
-
* <DataTable
|
|
361
|
+
* <DataTable data={rows()} onDataChange={setRows} columns={cols} />
|
|
362
362
|
*/
|
|
363
363
|
data: any[];
|
|
364
364
|
defaultData?: any[];
|