@kanunilabs/datagrid-react 1.8.12 → 1.8.13
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.cjs +3 -3
- package/dist/index.d.cts +60 -10
- package/dist/index.d.ts +60 -10
- package/dist/index.js +3 -3
- package/dist/styles.css +26 -2
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -3068,13 +3068,37 @@
|
|
|
3068
3068
|
background: var(--dg-surface-hover);
|
|
3069
3069
|
}
|
|
3070
3070
|
|
|
3071
|
+
/* B.9.6: the item under the pointer, when the pointer does not move the highlight. */
|
|
3072
|
+
.kanuni-datagrid-lookup-item--hover {
|
|
3073
|
+
background: var(--dg-surface-hover);
|
|
3074
|
+
}
|
|
3075
|
+
/* B.9.12: finger-sized buttons on a touch screen. */
|
|
3076
|
+
@media (pointer: coarse) {
|
|
3077
|
+
.kanuni-datagrid-root .kanuni-datagrid-lookup-drop,
|
|
3078
|
+
.kanuni-datagrid-root .kanuni-datagrid-lookup-picker,
|
|
3079
|
+
.kanuni-lookup-box .kanuni-datagrid-lookup-drop,
|
|
3080
|
+
.kanuni-lookup-box .kanuni-datagrid-lookup-picker {
|
|
3081
|
+
width: 44px;
|
|
3082
|
+
min-height: 44px;
|
|
3083
|
+
}
|
|
3084
|
+
}
|
|
3085
|
+
.kanuni-lookup-box-error {
|
|
3086
|
+
display: block;
|
|
3087
|
+
margin-top: 4px;
|
|
3088
|
+
color: var(--dg-danger);
|
|
3089
|
+
font-size: var(--dg-font-size);
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3071
3092
|
/* `LookupBox` (Tekax B.4.2): the grid's lookup as a FORM field — the same box,
|
|
3072
3093
|
list and keys, drawn like the row form's inputs. */
|
|
3073
3094
|
.kanuni-lookup-box {
|
|
3074
3095
|
display: inline-flex;
|
|
3075
3096
|
align-items: stretch;
|
|
3076
3097
|
min-width: 0;
|
|
3077
|
-
|
|
3098
|
+
/* B.9.15: the app's own field height — set --kanuni-lookup-box-height on the
|
|
3099
|
+
box or any ancestor (the grid's stylesheet is unlayered, so a utility class
|
|
3100
|
+
cannot override the declaration itself). */
|
|
3101
|
+
height: var(--kanuni-lookup-box-height, 32px);
|
|
3078
3102
|
border: 1px solid var(--dg-border-strong);
|
|
3079
3103
|
border-radius: var(--dg-radius-control);
|
|
3080
3104
|
background: var(--dg-surface);
|
|
@@ -3106,7 +3130,7 @@
|
|
|
3106
3130
|
}
|
|
3107
3131
|
@media (pointer: coarse) {
|
|
3108
3132
|
.kanuni-lookup-box {
|
|
3109
|
-
height: 44px;
|
|
3133
|
+
height: var(--kanuni-lookup-box-height, 44px);
|
|
3110
3134
|
}
|
|
3111
3135
|
.kanuni-lookup-box .kanuni-datagrid-editor {
|
|
3112
3136
|
font-size: max(16px, var(--dg-font-size));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kanunilabs/datagrid-react",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.13",
|
|
4
4
|
"description": "High-performance React data grid — virtualized rows and columns, sticky pinned columns, sorting, filtering and theming",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@kanunilabs/datagrid-core": "1.10.
|
|
60
|
+
"@kanunilabs/datagrid-core": "1.10.13"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"react": ">=18.0.0",
|