@visns-studio/visns-components 6.16.2 → 6.16.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.
package/package.json
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
96
96
|
},
|
|
97
97
|
"name": "@visns-studio/visns-components",
|
|
98
|
-
"version": "6.16.
|
|
98
|
+
"version": "6.16.3",
|
|
99
99
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
100
100
|
"main": "src/index.js",
|
|
101
101
|
"files": [
|
|
@@ -3953,14 +3953,15 @@ const DataGrid = forwardRef(
|
|
|
3953
3953
|
// screens) — columns then render a few px wide
|
|
3954
3954
|
// with no horizontal scrollbar ever appearing.
|
|
3955
3955
|
// A date filter needs room for its locale mask
|
|
3956
|
-
// ("dd/mm/yyyy"
|
|
3957
|
-
//
|
|
3956
|
+
// ("dd / mm / yyyy" in Firefox, glyph included -
|
|
3957
|
+
// Firefox will not hide it); below ~160px the
|
|
3958
|
+
// native input clips its own value.
|
|
3958
3959
|
minWidth:
|
|
3959
3960
|
column.minWidth ??
|
|
3960
3961
|
(['date', 'datetime', 'datetime-local'].includes(
|
|
3961
3962
|
column.type
|
|
3962
3963
|
)
|
|
3963
|
-
? Math.max(grid.columnMinWidth,
|
|
3964
|
+
? Math.max(grid.columnMinWidth, 160)
|
|
3964
3965
|
: grid.columnMinWidth),
|
|
3965
3966
|
maxWidth: column.maxWidth ?? undefined,
|
|
3966
3967
|
textAlign: column.textAlign ?? undefined,
|
|
@@ -541,6 +541,20 @@ body.tablet-mode .InovuaReactDataGrid__cell.cell-word-wrap > div {
|
|
|
541
541
|
display: none;
|
|
542
542
|
}
|
|
543
543
|
|
|
544
|
+
/* Firefox (109+) draws its calendar glyph as part of the control and ignores
|
|
545
|
+
the pseudo-element above, and it pads each date segment itself, which sat
|
|
546
|
+
the text high in the 32px row. Tighter metrics, and the column default below
|
|
547
|
+
(160px for date types) leaves the glyph its room. */
|
|
548
|
+
@-moz-document url-prefix() {
|
|
549
|
+
.visns-native-date-filter__input {
|
|
550
|
+
padding: 0 0 0 2px;
|
|
551
|
+
font-size: 12px;
|
|
552
|
+
line-height: 28px;
|
|
553
|
+
height: 28px;
|
|
554
|
+
align-self: center;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
544
558
|
.visns-native-date-filter__clear {
|
|
545
559
|
flex: none;
|
|
546
560
|
align-self: center;
|