munza-x-data-grid 3.0.4 → 3.0.5

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.js CHANGED
@@ -1616,7 +1616,6 @@ var At = ({ refs: e, axis: t = "both" }) => {
1616
1616
  };
1617
1617
  }, [e, t]);
1618
1618
  }, jt = n(void 0), Mt = ({ children: e, payload: n, columns: r, state: i = {}, onColumnFiltersChange: a, onPaginationChange: o, onSortingChange: s, onRowSelectionChange: c, setGlobalFilter: l, manualPagination: d = !1, enableRowSelection: p = !0, isError: m, isLoading: g, isFetching: _, refetch: v, getRowCanExpand: y, renderSubComponent: b, name: x = "munza", height: S }) => {
1619
- "use no memo";
1620
1619
  let C = f(null), [w, T] = t.useState(() => bt(x)), [E, D] = _t(x), [O, k] = lt(x), [A, j] = at(x, u(() => r.map((e) => e.id), [r])), [M, N] = kt(x), [P, F] = pt(x), [I, ee] = t.useState({}), [te, ne] = Tt(x), re = tt({
1621
1620
  _features: [yt],
1622
1621
  data: n?.data ?? [],
@@ -7643,7 +7642,6 @@ function Wf({ className: e, ...t }) {
7643
7642
  //#endregion
7644
7643
  //#region src/package/components/pagination/index.tsx
7645
7644
  var Gf = ({ pagination: e = [] }) => {
7646
- "use no memo";
7647
7645
  let { table: t, isError: n, isLoading: r, isFetching: i } = H();
7648
7646
  return /* @__PURE__ */ g("div", {
7649
7647
  className: "mun:flex mun:justify-between mun:flex-wrap",
@@ -7842,7 +7840,6 @@ var ip = () => /* @__PURE__ */ h("div", {
7842
7840
  /* @__PURE__ */ h(rp, { children: "No data found" })
7843
7841
  ] }) })
7844
7842
  }), ap = () => {
7845
- "use no memo";
7846
7843
  let { table: e } = H();
7847
7844
  return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(Kf, { children: /* @__PURE__ */ h(Jf, { children: /* @__PURE__ */ h(Yf, { children: e.getLeftVisibleLeafColumns().map((e, t) => /* @__PURE__ */ h(Zf, { style: {
7848
7845
  width: e.getSize(),
@@ -7881,22 +7878,18 @@ var cp = [
7881
7878
  70,
7882
7879
  40,
7883
7880
  90
7884
- ], lp = ({ column: e, i: t, j: n }) => {
7885
- "use no memo";
7886
- return /* @__PURE__ */ h(m, { children: ["select"].includes(e.id) ? /* @__PURE__ */ h(Pf, {
7887
- size: 16,
7888
- className: "animate-spin"
7889
- }) : [
7890
- "actions",
7891
- "pin",
7892
- "drag-handle",
7893
- "rowNumber"
7894
- ].includes(e.id) ? /* @__PURE__ */ h(sp, { className: "mun:w-full mun:h-4" }) : /* @__PURE__ */ h(sp, {
7895
- className: "mun:h-4",
7896
- style: { width: `${cp[(t + n) % cp.length]}px` }
7897
- }) });
7898
- }, up = () => {
7899
- "use no memo";
7881
+ ], lp = ({ column: e, i: t, j: n }) => /* @__PURE__ */ h(m, { children: ["select"].includes(e.id) ? /* @__PURE__ */ h(Pf, {
7882
+ size: 16,
7883
+ className: "animate-spin"
7884
+ }) : [
7885
+ "actions",
7886
+ "pin",
7887
+ "drag-handle",
7888
+ "rowNumber"
7889
+ ].includes(e.id) ? /* @__PURE__ */ h(sp, { className: "mun:w-full mun:h-4" }) : /* @__PURE__ */ h(sp, {
7890
+ className: "mun:h-4",
7891
+ style: { width: `${cp[(t + n) % cp.length]}px` }
7892
+ }) }), up = () => {
7900
7893
  let { table: e, isSplit: t, density: n } = H(), r = e.getLeftHeaderGroups().map((e) => e.headers.filter((e) => !e.isPlaceholder && !e.subHeaders?.length).map((e) => e.column)).flat();
7901
7894
  return /* @__PURE__ */ h(Kf, { children: /* @__PURE__ */ h(Jf, { children: [...Array(20)].map((e, i) => /* @__PURE__ */ h(Yf, {
7902
7895
  className: "mun:*:border-r mun:*:border-border",
@@ -7917,7 +7910,6 @@ var cp = [
7917
7910
  }, r))
7918
7911
  }, i)) }) });
7919
7912
  }, dp = ({ cell: e }) => {
7920
- "use no memo";
7921
7913
  let { density: t, isSplit: n } = H(), r = f(null), i = {
7922
7914
  width: e.column.getSize(),
7923
7915
  minWidth: e.column.getSize(),
@@ -7947,7 +7939,6 @@ var cp = [
7947
7939
  //#endregion
7948
7940
  //#region src/package/components/table/TableLeftCellPin.tsx
7949
7941
  function fp({ row: e, table: t }) {
7950
- "use no memo";
7951
7942
  return /* @__PURE__ */ h(Yf, {
7952
7943
  style: {
7953
7944
  backgroundColor: "blue",
@@ -7962,7 +7953,6 @@ function fp({ row: e, table: t }) {
7962
7953
  //#endregion
7963
7954
  //#region src/package/components/table/TGetLeftBody.tsx
7964
7955
  var pp = () => {
7965
- "use no memo";
7966
7956
  let { table: e, isLoading: n, isError: r, renderSubComponent: i } = H();
7967
7957
  return n ? /* @__PURE__ */ h(up, {}) : r ? /* @__PURE__ */ h("div", { children: "Error" }) : e.getRowModel().rows.length === 0 ? /* @__PURE__ */ h(ap, {}) : /* @__PURE__ */ g(Kf, { children: [
7968
7958
  e.getTopRows().map((t) => /* @__PURE__ */ h(fp, {
@@ -7997,7 +7987,6 @@ var pp = () => {
7997
7987
  onChange: (e) => o(e.target.value)
7998
7988
  });
7999
7989
  }, hp = ({ column: e }) => {
8000
- "use no memo";
8001
7990
  let t = e.getFilterValue(), { filterVariant: n } = e.columnDef.meta ?? {}, { isFetching: r } = H(), i = !r && n === "select" ? Array.from(e.getFacetedUniqueValues().keys()).sort().slice(0, 5e3) : [];
8002
7991
  return e.getCanFilter() ? /* @__PURE__ */ h("div", {
8003
7992
  className: "mun:p-1.5 mun:border-t mun:border-border mun:w-full",
@@ -8103,7 +8092,6 @@ function Sp({ className: e, ...t }) {
8103
8092
  //#endregion
8104
8093
  //#region src/package/components/header/HeaderMenu.tsx
8105
8094
  var Cp = ({ header: e }) => {
8106
- "use no memo";
8107
8095
  let [t, n] = p(!1), { isLoading: r, isError: i } = H();
8108
8096
  return e.column.getCanFilter() ? /* @__PURE__ */ g(gp, {
8109
8097
  open: t,
@@ -8164,26 +8152,19 @@ var Cp = ({ header: e }) => {
8164
8152
  ]
8165
8153
  })]
8166
8154
  }) : null;
8167
- }, wp = ({ header: e }) => {
8168
- "use no memo";
8169
- return /* @__PURE__ */ h("div", {
8170
- onDoubleClick: () => e.column.resetSize(),
8171
- onMouseDown: e.getResizeHandler(),
8172
- onTouchStart: e.getResizeHandler(),
8173
- className: X("mun:absolute mun:top-0 mun:right-0 mun:h-full mun:w-1.25 mun:bg-black/50 mun:cursor-col-resize mun:select-none mun:touch-none mun:opacity-0 mun:group-hover:opacity-100", e.column.getIsResizing() ? "mun:bg-blue-500 mun:opacity-100" : "")
8174
- });
8175
- }, Tp = ({ header: e }) => {
8176
- "use no memo";
8177
- return /* @__PURE__ */ g("div", {
8178
- className: e.column.getCanSort() ? "mun:cursor-pointer mun:select-none mun:flex mun:items-center mun:gap-2" : "",
8179
- onClick: e.column.getToggleSortingHandler(),
8180
- children: [Ze(e.column.columnDef.header, e.getContext()), {
8181
- asc: /* @__PURE__ */ h(wf, { className: "mun:size-4" }),
8182
- desc: /* @__PURE__ */ h(Sf, { className: "mun:size-4" })
8183
- }[e.column.getIsSorted()] ?? null]
8184
- });
8185
- }, Ep = ({ header: e }) => {
8186
- "use no memo";
8155
+ }, wp = ({ header: e }) => /* @__PURE__ */ h("div", {
8156
+ onDoubleClick: () => e.column.resetSize(),
8157
+ onMouseDown: e.getResizeHandler(),
8158
+ onTouchStart: e.getResizeHandler(),
8159
+ className: X("mun:absolute mun:top-0 mun:right-0 mun:h-full mun:w-1.25 mun:bg-black/50 mun:cursor-col-resize mun:select-none mun:touch-none mun:opacity-0 mun:group-hover:opacity-100", e.column.getIsResizing() ? "mun:bg-blue-500 mun:opacity-100" : "")
8160
+ }), Tp = ({ header: e }) => /* @__PURE__ */ g("div", {
8161
+ className: e.column.getCanSort() ? "mun:cursor-pointer mun:select-none mun:flex mun:items-center mun:gap-2" : "",
8162
+ onClick: e.column.getToggleSortingHandler(),
8163
+ children: [Ze(e.column.columnDef.header, e.getContext()), {
8164
+ asc: /* @__PURE__ */ h(wf, { className: "mun:size-4" }),
8165
+ desc: /* @__PURE__ */ h(Sf, { className: "mun:size-4" })
8166
+ }[e.column.getIsSorted()] ?? null]
8167
+ }), Ep = ({ header: e }) => {
8187
8168
  let { isSplit: t } = H(), n = {
8188
8169
  position: "relative",
8189
8170
  whiteSpace: "nowrap",
@@ -8205,7 +8186,6 @@ var Cp = ({ header: e }) => {
8205
8186
  }), /* @__PURE__ */ h(wp, { header: e })]
8206
8187
  }, e.id);
8207
8188
  }, Dp = () => {
8208
- "use no memo";
8209
8189
  let { table: e } = H();
8210
8190
  return /* @__PURE__ */ h(Kf, { children: /* @__PURE__ */ h(qf, {
8211
8191
  className: "sticky top-0 z-10 bg-muted",
@@ -8215,7 +8195,6 @@ var Cp = ({ header: e }) => {
8215
8195
  }, e.id))
8216
8196
  }) });
8217
8197
  }, Op = () => {
8218
- "use no memo";
8219
8198
  let { isSplit: e, columnPinning: t, paneRef3: n, paneRef4: r, height: i, isError: a } = H();
8220
8199
  return /* @__PURE__ */ h(m, { children: !a && e && (t?.left?.length ?? 0) > 0 ? /* @__PURE__ */ g("div", {
8221
8200
  className: "mun:max-w-80 mun:overflow-hidden",
@@ -8231,7 +8210,6 @@ var Cp = ({ header: e }) => {
8231
8210
  })]
8232
8211
  }) : null });
8233
8212
  }, kp = () => {
8234
- "use no memo";
8235
8213
  let { table: e } = H();
8236
8214
  return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(Kf, { children: /* @__PURE__ */ h(Jf, { children: /* @__PURE__ */ h(Yf, { children: e.getLeftVisibleLeafColumns().map((e, t) => /* @__PURE__ */ h(Zf, { style: {
8237
8215
  width: e.getSize(),
@@ -8239,7 +8217,6 @@ var Cp = ({ header: e }) => {
8239
8217
  maxWidth: e.getSize()
8240
8218
  } }, t)) }) }) }), /* @__PURE__ */ h(ip, {})] });
8241
8219
  }, Ap = () => {
8242
- "use no memo";
8243
8220
  let { table: e, isSplit: t, density: n } = H(), r = e.getRightHeaderGroups().map((e) => e.headers.filter((e) => !e.isPlaceholder && !e.subHeaders?.length).map((e) => e.column)).flat();
8244
8221
  return /* @__PURE__ */ h(Kf, { children: /* @__PURE__ */ h(Jf, { children: [...Array(20)].map((e, i) => /* @__PURE__ */ h(Yf, {
8245
8222
  className: "mun:*:border-r mun:*:border-border",
@@ -8263,7 +8240,6 @@ var Cp = ({ header: e }) => {
8263
8240
  //#endregion
8264
8241
  //#region src/package/components/table/TableRightCellPin.tsx
8265
8242
  function jp({ row: e, table: t }) {
8266
- "use no memo";
8267
8243
  return /* @__PURE__ */ h(Yf, {
8268
8244
  style: {
8269
8245
  backgroundColor: "blue",
@@ -8278,7 +8254,6 @@ function jp({ row: e, table: t }) {
8278
8254
  //#endregion
8279
8255
  //#region src/package/components/table/TGetRightBody.tsx
8280
8256
  var Mp = () => {
8281
- "use no memo";
8282
8257
  let { table: e, isLoading: n, isError: r, renderSubComponent: i } = H();
8283
8258
  return n ? /* @__PURE__ */ h(Ap, {}) : r ? /* @__PURE__ */ h("div", { children: "Error" }) : e.getRowModel().rows.length === 0 ? /* @__PURE__ */ h(kp, {}) : /* @__PURE__ */ g(Kf, { children: [
8284
8259
  e.getTopRows().map((t) => /* @__PURE__ */ h(jp, {
@@ -8299,7 +8274,6 @@ var Mp = () => {
8299
8274
  }, t.id))
8300
8275
  ] });
8301
8276
  }, Np = () => {
8302
- "use no memo";
8303
8277
  let { table: e } = H();
8304
8278
  return /* @__PURE__ */ h(Kf, { children: /* @__PURE__ */ h(qf, {
8305
8279
  className: "sticky top-0 z-10 bg-muted",
@@ -8309,7 +8283,6 @@ var Mp = () => {
8309
8283
  }, e.id))
8310
8284
  }) });
8311
8285
  }, Pp = () => {
8312
- "use no memo";
8313
8286
  let { isSplit: e, columnPinning: t, paneRef5: n, paneRef6: r, height: i, isError: a } = H();
8314
8287
  return /* @__PURE__ */ h(m, { children: !a && e && (t?.right?.length ?? 0) > 0 ? /* @__PURE__ */ g("div", {
8315
8288
  className: "mun:max-w-80 mun:overflow-hidden",
@@ -8360,7 +8333,6 @@ var Mp = () => {
8360
8333
  className: "mun:absolute mun:top-1/2 mun:left-1/2 mun:-translate-x-1/2 mun:-translate-y-1/2",
8361
8334
  children: /* @__PURE__ */ h(Fp, {})
8362
8335
  }), Lp = () => {
8363
- "use no memo";
8364
8336
  let { table: e, isSplit: t } = H();
8365
8337
  return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(Kf, { children: /* @__PURE__ */ h(Jf, { children: /* @__PURE__ */ h(Yf, { children: u(() => t ? e.getCenterVisibleLeafColumns() : e.getVisibleLeafColumns(), [e, t]).map((e, t) => /* @__PURE__ */ h(Zf, { style: {
8366
8338
  width: e.getSize(),
@@ -8368,7 +8340,6 @@ var Mp = () => {
8368
8340
  maxWidth: e.getSize()
8369
8341
  } }, t)) }) }) }), /* @__PURE__ */ h(ip, {})] });
8370
8342
  }, Rp = () => {
8371
- "use no memo";
8372
8343
  let { table: e, isSplit: t, density: n } = H(), r = (t ? e.getCenterHeaderGroups() : e.getHeaderGroups()).map((e) => e.headers.filter((e) => !e.isPlaceholder && !e.subHeaders?.length).map((e) => e.column)).flat();
8373
8344
  return /* @__PURE__ */ h(Kf, { children: /* @__PURE__ */ h(Jf, { children: [...Array(20)].map((e, i) => /* @__PURE__ */ h(Yf, {
8374
8345
  className: "mun:*:border-r mun:*:border-border",
@@ -8392,7 +8363,6 @@ var Mp = () => {
8392
8363
  //#endregion
8393
8364
  //#region src/package/components/table/TableCellPin.tsx
8394
8365
  function zp({ row: e, table: t, isSplit: n }) {
8395
- "use no memo";
8396
8366
  return /* @__PURE__ */ h(Yf, {
8397
8367
  style: {
8398
8368
  backgroundColor: "blue",
@@ -8407,7 +8377,6 @@ function zp({ row: e, table: t, isSplit: n }) {
8407
8377
  //#endregion
8408
8378
  //#region src/package/components/table/TBody.tsx
8409
8379
  var Bp = () => {
8410
- "use no memo";
8411
8380
  let { table: e, isLoading: n, isError: r, renderSubComponent: i, isSplit: a } = H();
8412
8381
  return n ? /* @__PURE__ */ h(Rp, {}) : r ? /* @__PURE__ */ h(Ip, {}) : e.getRowModel().rows.length === 0 ? /* @__PURE__ */ h(Lp, {}) : /* @__PURE__ */ h(Kf, {
8413
8382
  style: { width: e.getCenterTotalSize() },
@@ -8433,7 +8402,6 @@ var Bp = () => {
8433
8402
  ] })
8434
8403
  });
8435
8404
  }, Vp = () => {
8436
- "use no memo";
8437
8405
  let { table: e, isSplit: t } = H();
8438
8406
  return /* @__PURE__ */ h(Kf, {
8439
8407
  style: { width: e.getCenterTotalSize() },
@@ -8446,7 +8414,6 @@ var Bp = () => {
8446
8414
  })
8447
8415
  });
8448
8416
  }, Hp = () => {
8449
- "use no memo";
8450
8417
  let { paneRef1: e, paneRef2: n, height: r } = H();
8451
8418
  return /* @__PURE__ */ g(t.Fragment, { children: [/* @__PURE__ */ h("div", {
8452
8419
  className: "mun:w-full mun:bg-muted mun:border-b mun:border-border mun:overflow-y-scroll mun:[scrollbar-color:transparent_transparent] mun:overflow-x-hidden",
@@ -8485,7 +8452,6 @@ function Wp({ className: e, ...t }) {
8485
8452
  //#endregion
8486
8453
  //#region src/package/components/toolbar/ToolbarColumns.tsx
8487
8454
  var Gp = () => {
8488
- "use no memo";
8489
8455
  let { table: e, setIsSplit: t, isSplit: n } = H(), [r, i] = p(""), a = u(() => e.getAllLeafColumns().filter((e) => !["rowNumber"].includes(e.id)).filter((e) => e.id.toLowerCase().includes(r.toLowerCase())), [r, e]);
8490
8456
  return /* @__PURE__ */ g("div", {
8491
8457
  className: "mun:flex mun:flex-col mun:gap-1.5 mun:h-full mun:py-1.5",
@@ -10771,7 +10737,6 @@ $.Down, $.Right, $.Up, $.Left;
10771
10737
  //#endregion
10772
10738
  //#region src/package/components/toolbar/ToolbarDnd.tsx
10773
10739
  var a_ = ({ columnId: e, label: t }) => {
10774
- "use no memo";
10775
10740
  let { attributes: n, isDragging: r, listeners: i, setNodeRef: a, transform: o, transition: s } = r_({ id: e });
10776
10741
  return /* @__PURE__ */ g("div", {
10777
10742
  ref: a,
@@ -10862,7 +10827,6 @@ function l_({ ...e }) {
10862
10827
  //#endregion
10863
10828
  //#region src/package/components/toolbar/ToolbarFilters.tsx
10864
10829
  var u_ = ({ column: e }) => {
10865
- "use no memo";
10866
10830
  let t = u(() => e.getCanFilter() ? {
10867
10831
  id: e.id.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/^./, (e) => e.toUpperCase()),
10868
10832
  uniqueValues: Array.from(e.getFacetedUniqueValues().keys())
@@ -10932,7 +10896,6 @@ var u_ = ({ column: e }) => {
10932
10896
  ]
10933
10897
  });
10934
10898
  }, f_ = () => {
10935
- "use no memo";
10936
10899
  let { table: e, density: t } = H();
10937
10900
  return /* @__PURE__ */ g("div", {
10938
10901
  className: "mun:flex mun:flex-col mun:gap-1.5 mun:h-full mun:py-1.5",
@@ -10982,7 +10945,6 @@ var u_ = ({ column: e }) => {
10982
10945
  ]
10983
10946
  });
10984
10947
  }, p_ = () => {
10985
- "use no memo";
10986
10948
  let { table: e, setIsSplit: t, gridWrapperRef: n, isFetching: r, refetch: i } = H(), [a, o] = p(!1);
10987
10949
  return c(() => {
10988
10950
  let e = () => {
@@ -11021,7 +10983,6 @@ var u_ = ({ column: e }) => {
11021
10983
  })]
11022
10984
  });
11023
10985
  }, m_ = ({ height: e }) => {
11024
- "use no memo";
11025
10986
  let [t, n] = p(null), r = (e) => {
11026
10987
  n(t === e ? null : e);
11027
10988
  };
@@ -11087,34 +11048,31 @@ var u_ = ({ column: e }) => {
11087
11048
  })
11088
11049
  ]
11089
11050
  });
11090
- }, h_ = ({ columns: e, payload: t, state: n, onColumnFiltersChange: r, onPaginationChange: i, onSortingChange: a, onRowSelectionChange: o, isLoading: s, isError: c, setGlobalFilter: l, getRowCanExpand: u, renderSubComponent: d, manualPagination: f, enableRowSelection: p, isFetching: m, refetch: g, height: _ = "65vh", isToolbar: v = !0, isPagination: y = !0, children: b, name: x }) => {
11091
- "use no memo";
11092
- return /* @__PURE__ */ h(Mt, {
11093
- payload: t,
11094
- columns: e,
11095
- state: n,
11096
- onColumnFiltersChange: r,
11097
- onRowSelectionChange: o,
11098
- onPaginationChange: i,
11099
- onSortingChange: a,
11100
- isLoading: s,
11101
- isError: c,
11102
- setGlobalFilter: l,
11103
- getRowCanExpand: u,
11104
- renderSubComponent: d,
11105
- manualPagination: f,
11106
- enableRowSelection: p,
11107
- isFetching: m,
11108
- refetch: g,
11109
- name: x,
11110
- height: _,
11111
- children: /* @__PURE__ */ h(g_, {
11112
- isToolbar: v,
11113
- isPagination: y,
11114
- children: b
11115
- })
11116
- });
11117
- }, g_ = ({ children: e, isToolbar: t, isPagination: n }) => {
11051
+ }, h_ = ({ columns: e, payload: t, state: n, onColumnFiltersChange: r, onPaginationChange: i, onSortingChange: a, onRowSelectionChange: o, isLoading: s, isError: c, setGlobalFilter: l, getRowCanExpand: u, renderSubComponent: d, manualPagination: f, enableRowSelection: p, isFetching: m, refetch: g, height: _ = "65vh", isToolbar: v = !0, isPagination: y = !0, children: b, name: x }) => /* @__PURE__ */ h(Mt, {
11052
+ payload: t,
11053
+ columns: e,
11054
+ state: n,
11055
+ onColumnFiltersChange: r,
11056
+ onRowSelectionChange: o,
11057
+ onPaginationChange: i,
11058
+ onSortingChange: a,
11059
+ isLoading: s,
11060
+ isError: c,
11061
+ setGlobalFilter: l,
11062
+ getRowCanExpand: u,
11063
+ renderSubComponent: d,
11064
+ manualPagination: f,
11065
+ enableRowSelection: p,
11066
+ isFetching: m,
11067
+ refetch: g,
11068
+ name: x,
11069
+ height: _,
11070
+ children: /* @__PURE__ */ h(g_, {
11071
+ isToolbar: v,
11072
+ isPagination: y,
11073
+ children: b
11074
+ })
11075
+ }), g_ = ({ children: e, isToolbar: t, isPagination: n }) => {
11118
11076
  let { gridWrapperRef: r } = H(), i = f(null), [a, o] = p(0);
11119
11077
  return l(() => {
11120
11078
  i.current && o(i.current.getBoundingClientRect().height);
package/package.json CHANGED
@@ -1,63 +1,63 @@
1
- {
2
- "name": "munza-x-data-grid",
3
- "private": false,
4
- "version": "3.0.4",
5
- "type": "module",
6
- "files": [
7
- "dist"
8
- ],
9
- "module": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
15
- },
16
- "./style.css": "./dist/index.css"
17
- },
18
- "scripts": {
19
- "dev": "vite",
20
- "build": "tsc -b && vite build",
21
- "lint": "eslint .",
22
- "preview": "vite preview"
23
- },
24
- "peerDependencies": {
25
- "react": "^18 || ^19",
26
- "react-dom": "^18 || ^19"
27
- },
28
- "devDependencies": {
29
- "@babel/core": "^7.29.7",
30
- "@eslint/js": "^10.0.1",
31
- "@fontsource-variable/geist": "^5.2.9",
32
- "@rolldown/plugin-babel": "^0.2.3",
33
- "@tailwindcss/vite": "^4.3.2",
34
- "@types/babel__core": "^7.20.5",
35
- "@types/node": "^24.13.2",
36
- "@types/react": "^19.2.17",
37
- "@types/react-dom": "^19.2.3",
38
- "@vitejs/plugin-react": "^6.0.3",
39
- "babel-plugin-react-compiler": "^1.0.0",
40
- "class-variance-authority": "^0.7.1",
41
- "clsx": "^2.1.1",
42
- "eslint": "^10.6.0",
43
- "eslint-plugin-react-hooks": "^7.1.1",
44
- "eslint-plugin-react-refresh": "^0.5.3",
45
- "globals": "^17.7.0",
46
- "lucide-react": "^1.24.0",
47
- "radix-ui": "^1.6.2",
48
- "shadcn": "^4.13.0",
49
- "tailwind-merge": "^3.6.0",
50
- "tailwindcss": "^4.3.2",
51
- "typescript": "~6.0.2",
52
- "typescript-eslint": "^8.62.0",
53
- "vite": "^8.1.1",
54
- "vite-plugin-dts": "^5.0.3"
55
- },
56
- "dependencies": {
57
- "@dnd-kit/core": "^6.3.1",
58
- "@dnd-kit/modifiers": "^9.0.0",
59
- "@dnd-kit/sortable": "^10.0.0",
60
- "@dnd-kit/utilities": "^3.2.2",
61
- "@tanstack/react-table": "^8.21.3"
62
- }
63
- }
1
+ {
2
+ "name": "munza-x-data-grid",
3
+ "private": false,
4
+ "version": "3.0.5",
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "types": "./dist/index.d.ts"
15
+ },
16
+ "./style.css": "./dist/index.css"
17
+ },
18
+ "scripts": {
19
+ "dev": "vite",
20
+ "build": "tsc -b && vite build",
21
+ "lint": "eslint .",
22
+ "preview": "vite preview"
23
+ },
24
+ "peerDependencies": {
25
+ "react": "^18 || ^19",
26
+ "react-dom": "^18 || ^19"
27
+ },
28
+ "devDependencies": {
29
+ "@babel/core": "^7.29.7",
30
+ "@eslint/js": "^10.0.1",
31
+ "@fontsource-variable/geist": "^5.2.9",
32
+ "@rolldown/plugin-babel": "^0.2.3",
33
+ "@tailwindcss/vite": "^4.3.2",
34
+ "@types/babel__core": "^7.20.5",
35
+ "@types/node": "^24.13.2",
36
+ "@types/react": "^19.2.17",
37
+ "@types/react-dom": "^19.2.3",
38
+ "@vitejs/plugin-react": "^6.0.3",
39
+ "babel-plugin-react-compiler": "^1.0.0",
40
+ "class-variance-authority": "^0.7.1",
41
+ "clsx": "^2.1.1",
42
+ "eslint": "^10.6.0",
43
+ "eslint-plugin-react-hooks": "^7.1.1",
44
+ "eslint-plugin-react-refresh": "^0.5.3",
45
+ "globals": "^17.7.0",
46
+ "lucide-react": "^1.24.0",
47
+ "radix-ui": "^1.6.2",
48
+ "shadcn": "^4.13.0",
49
+ "tailwind-merge": "^3.6.0",
50
+ "tailwindcss": "^4.3.2",
51
+ "typescript": "~6.0.2",
52
+ "typescript-eslint": "^8.62.0",
53
+ "vite": "^8.1.1",
54
+ "vite-plugin-dts": "^5.0.3"
55
+ },
56
+ "dependencies": {
57
+ "@dnd-kit/core": "^6.3.1",
58
+ "@dnd-kit/modifiers": "^9.0.0",
59
+ "@dnd-kit/sortable": "^10.0.0",
60
+ "@dnd-kit/utilities": "^3.2.2",
61
+ "@tanstack/react-table": "^8.21.3"
62
+ }
63
+ }