@dmsi/wedgekit-react 0.0.58 → 0.0.59

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.
@@ -2857,7 +2857,7 @@ function DataGrid({
2857
2857
  enableColumnSelector
2858
2858
  }
2859
2859
  ),
2860
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("table", { className: "flex-1 grid min-h-min", children: [
2860
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("table", { className: "flex-1 flex flex-col min-h-min", children: [
2861
2861
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("thead", { className: "sticky top-0 z-10 grid", children: table.getCenterHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("tr", { className: "flex w-full", children: [
2862
2862
  virtualPaddingLeft ? (
2863
2863
  // fake empty column to the left for virtualization scroll padding
@@ -3317,7 +3317,7 @@ function PinnedColumns(_a) {
3317
3317
  "table",
3318
3318
  {
3319
3319
  className: (0, import_clsx14.default)(
3320
- "grid min-h-min sticky z-20 bg-background-grouped-primary-normal",
3320
+ "flex flex-col min-h-min sticky z-20 bg-background-grouped-primary-normal",
3321
3321
  pinDirection === "left" ? "left-0" : "right-0"
3322
3322
  ),
3323
3323
  children: [
@@ -327,7 +327,7 @@ function DataGrid({
327
327
  enableColumnSelector
328
328
  }
329
329
  ),
330
- /* @__PURE__ */ jsxs("table", { className: "flex-1 grid min-h-min", children: [
330
+ /* @__PURE__ */ jsxs("table", { className: "flex-1 flex flex-col min-h-min", children: [
331
331
  /* @__PURE__ */ jsx("thead", { className: "sticky top-0 z-10 grid", children: table.getCenterHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsxs("tr", { className: "flex w-full", children: [
332
332
  virtualPaddingLeft ? (
333
333
  // fake empty column to the left for virtualization scroll padding
@@ -787,7 +787,7 @@ function PinnedColumns(_a) {
787
787
  "table",
788
788
  {
789
789
  className: clsx(
790
- "grid min-h-min sticky z-20 bg-background-grouped-primary-normal",
790
+ "flex flex-col min-h-min sticky z-20 bg-background-grouped-primary-normal",
791
791
  pinDirection === "left" ? "left-0" : "right-0"
792
792
  ),
793
793
  children: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dmsi/wedgekit-react",
3
3
  "private": false,
4
- "version": "0.0.58",
4
+ "version": "0.0.59",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsup",
@@ -418,7 +418,7 @@ export function DataGrid<T extends Record<string, unknown>>({
418
418
  enableColumnSelector={enableColumnSelector}
419
419
  />
420
420
 
421
- <table className="flex-1 grid min-h-min">
421
+ <table className="flex-1 flex flex-col min-h-min">
422
422
  <thead className="sticky top-0 z-10 grid">
423
423
  {table.getCenterHeaderGroups().map((headerGroup) => (
424
424
  <tr key={headerGroup.id} className="flex w-full">
@@ -974,7 +974,7 @@ function PinnedColumns<TData>({
974
974
  headerGroups[0]?.headers.length > 0 && (
975
975
  <table
976
976
  className={clsx(
977
- "grid min-h-min sticky z-20 bg-background-grouped-primary-normal",
977
+ "flex flex-col min-h-min sticky z-20 bg-background-grouped-primary-normal",
978
978
  pinDirection === "left" ? "left-0" : "right-0",
979
979
  )}
980
980
  >