@rozie-ui/data-table-solid 0.5.0 → 0.6.0
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 +18 -10
- package/dist/index.cjs +3153 -1095
- package/dist/index.d.cts +64 -1
- package/dist/index.d.mts +64 -1
- package/dist/index.mjs +3077 -1019
- package/dist/source/index.jsx +6368 -0
- package/package.json +8 -3
- package/src/Column.tsx +1 -1
- package/src/DataTable.tsx +1199 -134
- package/src/EditorCheckbox.tsx +38 -4
- package/src/EditorDate.tsx +79 -8
- package/src/EditorNumber.tsx +52 -6
- package/src/EditorSelect.tsx +51 -6
- package/src/EditorText.tsx +34 -5
- package/src/FilterNumberRange.tsx +79 -12
- package/src/FilterSelect.tsx +18 -3
- package/src/FilterText.tsx +48 -9
- package/src/GroupBar.tsx +75 -3
- package/src/helpers/columnDefUtils.ts +73 -1
- package/src/helpers/dateValue.ts +55 -0
- package/src/themes/base.css +96 -75
- package/src/themes/bootstrap.css +59 -34
- package/src/themes/material.css +53 -32
- package/src/themes/shadcn.css +58 -33
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rozie-ui/data-table-solid",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"exports": {
|
|
36
36
|
".": {
|
|
37
37
|
"types": "./dist/index.d.mts",
|
|
38
|
+
"solid": "./dist/source/index.jsx",
|
|
38
39
|
"import": "./dist/index.mjs",
|
|
39
40
|
"require": "./dist/index.cjs"
|
|
40
41
|
},
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
],
|
|
47
48
|
"dependencies": {
|
|
48
49
|
"@solid-primitives/keyed": "^1.5.3",
|
|
49
|
-
"@rozie/runtime-solid": "^0.7.
|
|
50
|
+
"@rozie/runtime-solid": "^0.7.5"
|
|
50
51
|
},
|
|
51
52
|
"peerDependencies": {
|
|
52
53
|
"solid-js": "^1.8",
|
|
@@ -68,7 +69,11 @@
|
|
|
68
69
|
"optional": false
|
|
69
70
|
}
|
|
70
71
|
},
|
|
71
|
-
"devDependencies": {
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@babel/core": "^7.29.0",
|
|
74
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
75
|
+
"babel-preset-solid": "~1.8.22"
|
|
76
|
+
},
|
|
72
77
|
"publishConfig": {
|
|
73
78
|
"access": "public"
|
|
74
79
|
},
|
package/src/Column.tsx
CHANGED
|
@@ -30,7 +30,7 @@ interface ColumnProps {
|
|
|
30
30
|
*/
|
|
31
31
|
pinned?: string;
|
|
32
32
|
/**
|
|
33
|
-
* Optional fixed/initial column width — a
|
|
33
|
+
* Optional fixed/initial column width, applied as the column's starting size — a px number (`120`) or a px string (`'120px'`). Column sizing is numeric px, so other CSS lengths (`'12rem'`, `'20%'`, `'auto'`) have no px value to apply and are ignored; the column keeps the default width. An interactive resize overrides this.
|
|
34
34
|
*/
|
|
35
35
|
width?: string | number;
|
|
36
36
|
/**
|