@dmsi/wedgekit-react 0.0.163 → 0.0.165
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.
|
@@ -2683,7 +2683,7 @@ function ColumnSelectorHeaderCell({
|
|
|
2683
2683
|
// src/components/DataGrid/index.tsx
|
|
2684
2684
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
2685
2685
|
var PAGE_SIZE_OPTIONS = [5, 10, 15, 20, 25, 30, 35];
|
|
2686
|
-
var NO_RESULTS_HEIGHT = "h-[
|
|
2686
|
+
var NO_RESULTS_HEIGHT = "h-[80px]";
|
|
2687
2687
|
function DataGrid({
|
|
2688
2688
|
id,
|
|
2689
2689
|
testid,
|
|
@@ -2901,7 +2901,7 @@ function DataGrid({
|
|
|
2901
2901
|
{
|
|
2902
2902
|
className: (0, import_clsx13.default)(
|
|
2903
2903
|
"flex overflow-auto scrollbar-thin relative contain-paint will-change-transform",
|
|
2904
|
-
empty ? "overflow-y-hidden" : "h-
|
|
2904
|
+
empty ? "overflow-y-hidden" : "min-h-[120px]"
|
|
2905
2905
|
),
|
|
2906
2906
|
ref: containerRef,
|
|
2907
2907
|
children: [
|
package/dist/components/index.js
CHANGED
|
@@ -599,7 +599,7 @@ function ColumnSelectorHeaderCell({
|
|
|
599
599
|
// src/components/DataGrid/index.tsx
|
|
600
600
|
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
601
601
|
var PAGE_SIZE_OPTIONS = [5, 10, 15, 20, 25, 30, 35];
|
|
602
|
-
var NO_RESULTS_HEIGHT = "h-[
|
|
602
|
+
var NO_RESULTS_HEIGHT = "h-[80px]";
|
|
603
603
|
function DataGrid({
|
|
604
604
|
id,
|
|
605
605
|
testid,
|
|
@@ -817,7 +817,7 @@ function DataGrid({
|
|
|
817
817
|
{
|
|
818
818
|
className: clsx5(
|
|
819
819
|
"flex overflow-auto scrollbar-thin relative contain-paint will-change-transform",
|
|
820
|
-
empty ? "overflow-y-hidden" : "h-
|
|
820
|
+
empty ? "overflow-y-hidden" : "min-h-[120px]"
|
|
821
821
|
),
|
|
822
822
|
ref: containerRef,
|
|
823
823
|
children: [
|
package/dist/index.css
CHANGED
|
@@ -741,8 +741,8 @@
|
|
|
741
741
|
.h-60 {
|
|
742
742
|
height: calc(var(--spacing) * 60);
|
|
743
743
|
}
|
|
744
|
-
.h-\[
|
|
745
|
-
height:
|
|
744
|
+
.h-\[80px\] {
|
|
745
|
+
height: 80px;
|
|
746
746
|
}
|
|
747
747
|
.h-\[166px\] {
|
|
748
748
|
height: 166px;
|
|
@@ -777,6 +777,9 @@
|
|
|
777
777
|
.min-h-\[34px\] {
|
|
778
778
|
min-height: 34px;
|
|
779
779
|
}
|
|
780
|
+
.min-h-\[120px\] {
|
|
781
|
+
min-height: 120px;
|
|
782
|
+
}
|
|
780
783
|
.min-h-min {
|
|
781
784
|
min-height: min-content;
|
|
782
785
|
}
|
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@ import { ColumnSelectorHeaderCell } from "./ColumnSelectorHeaderCell";
|
|
|
53
53
|
|
|
54
54
|
// Constants
|
|
55
55
|
const PAGE_SIZE_OPTIONS = [5, 10, 15, 20, 25, 30, 35];
|
|
56
|
-
const NO_RESULTS_HEIGHT = "h-[
|
|
56
|
+
const NO_RESULTS_HEIGHT = "h-[80px]";
|
|
57
57
|
|
|
58
58
|
export function DataGrid<T extends Record<string, unknown>>({
|
|
59
59
|
id,
|
|
@@ -336,7 +336,7 @@ export function DataGrid<T extends Record<string, unknown>>({
|
|
|
336
336
|
<div
|
|
337
337
|
className={clsx(
|
|
338
338
|
"flex overflow-auto scrollbar-thin relative contain-paint will-change-transform",
|
|
339
|
-
empty ? "overflow-y-hidden" : "h-
|
|
339
|
+
empty ? "overflow-y-hidden" : "min-h-[120px]",
|
|
340
340
|
)}
|
|
341
341
|
ref={containerRef}
|
|
342
342
|
>
|