@juv/codego-react-ui 3.2.8 → 3.3.0

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 CHANGED
@@ -6797,8 +6797,7 @@ function DeleteModal({
6797
6797
  itemId,
6798
6798
  onClose,
6799
6799
  onSuccess,
6800
- notif,
6801
- width
6800
+ notif
6802
6801
  }) {
6803
6802
  const [loading, setLoading] = React28.useState(false);
6804
6803
  const [error, setError] = React28.useState(null);
@@ -6820,7 +6819,7 @@ function DeleteModal({
6820
6819
  {
6821
6820
  title: "Confirm Delete",
6822
6821
  onClose,
6823
- width,
6822
+ width: "lg",
6824
6823
  footer: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
6825
6824
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { variant: "outline", size: "sm", onClick: onClose, disabled: loading, children: "Cancel" }),
6826
6825
  /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Button, { variant: "danger", size: "sm", onClick: handleDelete, disabled: loading, children: [
@@ -6840,17 +6839,19 @@ function ActionBtn({
6840
6839
  defaultIcon,
6841
6840
  defaultLabel,
6842
6841
  defaultVariant,
6842
+ defaultSize,
6843
6843
  onClick
6844
6844
  }) {
6845
6845
  const mode = cfg?.displayMode ?? "icon";
6846
6846
  const icon = cfg?.icon ?? defaultIcon;
6847
6847
  const label = cfg?.label ?? defaultLabel;
6848
+ const buttonSize = cfg?.size ?? defaultSize ?? "xs";
6848
6849
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6849
6850
  Button,
6850
6851
  {
6851
6852
  type: "button",
6852
6853
  title: label,
6853
- size: cfg?.size ?? "xs",
6854
+ size: buttonSize,
6854
6855
  variant: cfg?.variant ?? defaultVariant,
6855
6856
  rounded: cfg?.rounded ?? "lg",
6856
6857
  gradientFrom: cfg?.gradientFrom,
@@ -6959,6 +6960,7 @@ function Table({
6959
6960
  defaultIcon: extra.icon,
6960
6961
  defaultLabel: extra.label ?? extra.key,
6961
6962
  defaultVariant: extra.variant ?? "outline",
6963
+ defaultSize: defaultActions.actionsSize,
6962
6964
  onClick: () => extra.onClick(item)
6963
6965
  },
6964
6966
  extra.key
@@ -7337,7 +7339,6 @@ function Table({
7337
7339
  baseUrl: defaultActions.baseUrl,
7338
7340
  itemId: String(deleteItem[actionIdKey] ?? ""),
7339
7341
  notif: defaultActions.onSuccessNotif,
7340
- width: defaultActions.modalWidth,
7341
7342
  onClose: () => setDeleteItem(null),
7342
7343
  onSuccess: (deleted) => {
7343
7344
  setTableData(
@@ -7433,17 +7434,19 @@ function ActionBtn2({
7433
7434
  defaultIcon,
7434
7435
  defaultLabel,
7435
7436
  defaultVariant,
7437
+ defaultSize,
7436
7438
  onClick
7437
7439
  }) {
7438
7440
  const mode = cfg?.displayMode ?? "icon";
7439
7441
  const icon = cfg?.icon ?? defaultIcon;
7440
7442
  const label = cfg?.label ?? defaultLabel;
7443
+ const buttonSize = cfg?.size ?? defaultSize ?? "xs";
7441
7444
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
7442
7445
  Button,
7443
7446
  {
7444
7447
  type: "button",
7445
7448
  title: label,
7446
- size: cfg?.size ?? "xs",
7449
+ size: buttonSize,
7447
7450
  variant: cfg?.variant ?? defaultVariant,
7448
7451
  rounded: cfg?.rounded ?? "lg",
7449
7452
  gradientFrom: cfg?.gradientFrom,
@@ -7666,8 +7669,7 @@ function DGDeleteModal({
7666
7669
  itemId,
7667
7670
  onClose,
7668
7671
  onSuccess,
7669
- notif,
7670
- width
7672
+ notif
7671
7673
  }) {
7672
7674
  const [loading, setLoading] = React29.useState(false);
7673
7675
  const [error, setError] = React29.useState(null);
@@ -7689,7 +7691,7 @@ function DGDeleteModal({
7689
7691
  {
7690
7692
  title: "Confirm Delete",
7691
7693
  onClose,
7692
- width,
7694
+ width: "lg",
7693
7695
  footer: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
7694
7696
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("button", { onClick: onClose, disabled: loading, className: "px-4 py-1.5 text-sm rounded-xl border border-border hover:bg-accent transition-colors", children: "Cancel" }),
7695
7697
  /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("button", { onClick: handleDelete, disabled: loading, className: "px-4 py-1.5 text-sm rounded-xl bg-danger text-danger-foreground hover:bg-danger-hover transition-colors flex items-center gap-1.5", children: [
@@ -7810,6 +7812,7 @@ function DataGrid({
7810
7812
  defaultIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react18.Eye, { className: "h-3.5 w-3.5" }),
7811
7813
  defaultLabel: "View",
7812
7814
  defaultVariant: "outline",
7815
+ defaultSize: defaultActions.actionsSize,
7813
7816
  onClick: () => setViewItem(row)
7814
7817
  }
7815
7818
  ),
@@ -7820,6 +7823,7 @@ function DataGrid({
7820
7823
  defaultIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react18.Pencil, { className: "h-3.5 w-3.5" }),
7821
7824
  defaultLabel: "Edit",
7822
7825
  defaultVariant: "outline",
7826
+ defaultSize: defaultActions.actionsSize,
7823
7827
  onClick: () => setEditItem(row)
7824
7828
  }
7825
7829
  ),
@@ -7830,6 +7834,7 @@ function DataGrid({
7830
7834
  defaultIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react18.Trash, { className: "h-3.5 w-3.5" }),
7831
7835
  defaultLabel: "Delete",
7832
7836
  defaultVariant: "danger",
7837
+ defaultSize: defaultActions.actionsSize,
7833
7838
  onClick: () => setDeleteItem(row)
7834
7839
  }
7835
7840
  ),
@@ -7840,6 +7845,7 @@ function DataGrid({
7840
7845
  defaultIcon: extra.icon,
7841
7846
  defaultLabel: extra.label ?? extra.key,
7842
7847
  defaultVariant: extra.variant ?? "outline",
7848
+ defaultSize: defaultActions.actionsSize,
7843
7849
  onClick: () => extra.onClick(row)
7844
7850
  },
7845
7851
  extra.key
@@ -8073,7 +8079,6 @@ function DataGrid({
8073
8079
  baseUrl: defaultActions.baseUrl,
8074
8080
  itemId: String(deleteItem[actionIdKey] ?? ""),
8075
8081
  notif: defaultActions.onSuccessNotif,
8076
- width: defaultActions.modalWidth,
8077
8082
  onClose: () => setDeleteItem(null),
8078
8083
  onSuccess: (deleted) => {
8079
8084
  setTableData((prev) => prev.filter((r) => String(r[actionIdKey]) !== String(deleted[actionIdKey])));
package/dist/index.d.cts CHANGED
@@ -345,6 +345,8 @@ interface DefaultActionsConfig<T> {
345
345
  viewForm?: ActionField[];
346
346
  /** Grid columns for the edit form layout (e.g. 2 = two-column grid). Default single column. */
347
347
  editFormGrid?: number;
348
+ /** Size of the View / Edit / Delete / extra action buttons. Default "xs". */
349
+ actionsSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
348
350
  /** Width of the Edit/View/Delete modal. Default "lg". */
349
351
  modalWidth?: ModalWidth;
350
352
  /** Called after a successful edit or delete so the parent can refresh data. */
package/dist/index.d.ts CHANGED
@@ -345,6 +345,8 @@ interface DefaultActionsConfig<T> {
345
345
  viewForm?: ActionField[];
346
346
  /** Grid columns for the edit form layout (e.g. 2 = two-column grid). Default single column. */
347
347
  editFormGrid?: number;
348
+ /** Size of the View / Edit / Delete / extra action buttons. Default "xs". */
349
+ actionsSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
348
350
  /** Width of the Edit/View/Delete modal. Default "lg". */
349
351
  modalWidth?: ModalWidth;
350
352
  /** Called after a successful edit or delete so the parent can refresh data. */
@@ -69943,8 +69943,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
69943
69943
  itemId,
69944
69944
  onClose,
69945
69945
  onSuccess,
69946
- notif,
69947
- width
69946
+ notif
69948
69947
  }) {
69949
69948
  const [loading, setLoading] = React28.useState(false);
69950
69949
  const [error, setError] = React28.useState(null);
@@ -69966,7 +69965,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
69966
69965
  {
69967
69966
  title: "Confirm Delete",
69968
69967
  onClose,
69969
- width,
69968
+ width: "lg",
69970
69969
  footer: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
69971
69970
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { variant: "outline", size: "sm", onClick: onClose, disabled: loading, children: "Cancel" }),
69972
69971
  /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Button, { variant: "danger", size: "sm", onClick: handleDelete, disabled: loading, children: [
@@ -69986,17 +69985,19 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
69986
69985
  defaultIcon,
69987
69986
  defaultLabel,
69988
69987
  defaultVariant,
69988
+ defaultSize,
69989
69989
  onClick
69990
69990
  }) {
69991
69991
  const mode = cfg?.displayMode ?? "icon";
69992
69992
  const icon = cfg?.icon ?? defaultIcon;
69993
69993
  const label = cfg?.label ?? defaultLabel;
69994
+ const buttonSize = cfg?.size ?? defaultSize ?? "xs";
69994
69995
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
69995
69996
  Button,
69996
69997
  {
69997
69998
  type: "button",
69998
69999
  title: label,
69999
- size: cfg?.size ?? "xs",
70000
+ size: buttonSize,
70000
70001
  variant: cfg?.variant ?? defaultVariant,
70001
70002
  rounded: cfg?.rounded ?? "lg",
70002
70003
  gradientFrom: cfg?.gradientFrom,
@@ -70105,6 +70106,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
70105
70106
  defaultIcon: extra.icon,
70106
70107
  defaultLabel: extra.label ?? extra.key,
70107
70108
  defaultVariant: extra.variant ?? "outline",
70109
+ defaultSize: defaultActions.actionsSize,
70108
70110
  onClick: () => extra.onClick(item)
70109
70111
  },
70110
70112
  extra.key
@@ -70483,7 +70485,6 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
70483
70485
  baseUrl: defaultActions.baseUrl,
70484
70486
  itemId: String(deleteItem[actionIdKey] ?? ""),
70485
70487
  notif: defaultActions.onSuccessNotif,
70486
- width: defaultActions.modalWidth,
70487
70488
  onClose: () => setDeleteItem(null),
70488
70489
  onSuccess: (deleted) => {
70489
70490
  setTableData(
@@ -70579,17 +70580,19 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
70579
70580
  defaultIcon,
70580
70581
  defaultLabel,
70581
70582
  defaultVariant,
70583
+ defaultSize,
70582
70584
  onClick
70583
70585
  }) {
70584
70586
  const mode = cfg?.displayMode ?? "icon";
70585
70587
  const icon = cfg?.icon ?? defaultIcon;
70586
70588
  const label = cfg?.label ?? defaultLabel;
70589
+ const buttonSize = cfg?.size ?? defaultSize ?? "xs";
70587
70590
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
70588
70591
  Button,
70589
70592
  {
70590
70593
  type: "button",
70591
70594
  title: label,
70592
- size: cfg?.size ?? "xs",
70595
+ size: buttonSize,
70593
70596
  variant: cfg?.variant ?? defaultVariant,
70594
70597
  rounded: cfg?.rounded ?? "lg",
70595
70598
  gradientFrom: cfg?.gradientFrom,
@@ -70812,8 +70815,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
70812
70815
  itemId,
70813
70816
  onClose,
70814
70817
  onSuccess,
70815
- notif,
70816
- width
70818
+ notif
70817
70819
  }) {
70818
70820
  const [loading, setLoading] = React29.useState(false);
70819
70821
  const [error, setError] = React29.useState(null);
@@ -70835,7 +70837,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
70835
70837
  {
70836
70838
  title: "Confirm Delete",
70837
70839
  onClose,
70838
- width,
70840
+ width: "lg",
70839
70841
  footer: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
70840
70842
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("button", { onClick: onClose, disabled: loading, className: "px-4 py-1.5 text-sm rounded-xl border border-border hover:bg-accent transition-colors", children: "Cancel" }),
70841
70843
  /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("button", { onClick: handleDelete, disabled: loading, className: "px-4 py-1.5 text-sm rounded-xl bg-danger text-danger-foreground hover:bg-danger-hover transition-colors flex items-center gap-1.5", children: [
@@ -70956,6 +70958,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
70956
70958
  defaultIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Eye, { className: "h-3.5 w-3.5" }),
70957
70959
  defaultLabel: "View",
70958
70960
  defaultVariant: "outline",
70961
+ defaultSize: defaultActions.actionsSize,
70959
70962
  onClick: () => setViewItem(row)
70960
70963
  }
70961
70964
  ),
@@ -70966,6 +70969,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
70966
70969
  defaultIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Pencil, { className: "h-3.5 w-3.5" }),
70967
70970
  defaultLabel: "Edit",
70968
70971
  defaultVariant: "outline",
70972
+ defaultSize: defaultActions.actionsSize,
70969
70973
  onClick: () => setEditItem(row)
70970
70974
  }
70971
70975
  ),
@@ -70976,6 +70980,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
70976
70980
  defaultIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Trash, { className: "h-3.5 w-3.5" }),
70977
70981
  defaultLabel: "Delete",
70978
70982
  defaultVariant: "danger",
70983
+ defaultSize: defaultActions.actionsSize,
70979
70984
  onClick: () => setDeleteItem(row)
70980
70985
  }
70981
70986
  ),
@@ -70986,6 +70991,7 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
70986
70991
  defaultIcon: extra.icon,
70987
70992
  defaultLabel: extra.label ?? extra.key,
70988
70993
  defaultVariant: extra.variant ?? "outline",
70994
+ defaultSize: defaultActions.actionsSize,
70989
70995
  onClick: () => extra.onClick(row)
70990
70996
  },
70991
70997
  extra.key
@@ -71219,7 +71225,6 @@ ${n2.shaderPreludeCode.vertexSource}`, define: n2.shaderDefine }, defaultProject
71219
71225
  baseUrl: defaultActions.baseUrl,
71220
71226
  itemId: String(deleteItem[actionIdKey] ?? ""),
71221
71227
  notif: defaultActions.onSuccessNotif,
71222
- width: defaultActions.modalWidth,
71223
71228
  onClose: () => setDeleteItem(null),
71224
71229
  onSuccess: (deleted) => {
71225
71230
  setTableData((prev) => prev.filter((r2) => String(r2[actionIdKey]) !== String(deleted[actionIdKey])));
package/dist/index.js CHANGED
@@ -6679,8 +6679,7 @@ function DeleteModal({
6679
6679
  itemId,
6680
6680
  onClose,
6681
6681
  onSuccess,
6682
- notif,
6683
- width
6682
+ notif
6684
6683
  }) {
6685
6684
  const [loading, setLoading] = React28.useState(false);
6686
6685
  const [error, setError] = React28.useState(null);
@@ -6702,7 +6701,7 @@ function DeleteModal({
6702
6701
  {
6703
6702
  title: "Confirm Delete",
6704
6703
  onClose,
6705
- width,
6704
+ width: "lg",
6706
6705
  footer: /* @__PURE__ */ jsxs30(Fragment11, { children: [
6707
6706
  /* @__PURE__ */ jsx32(Button, { variant: "outline", size: "sm", onClick: onClose, disabled: loading, children: "Cancel" }),
6708
6707
  /* @__PURE__ */ jsxs30(Button, { variant: "danger", size: "sm", onClick: handleDelete, disabled: loading, children: [
@@ -6722,17 +6721,19 @@ function ActionBtn({
6722
6721
  defaultIcon,
6723
6722
  defaultLabel,
6724
6723
  defaultVariant,
6724
+ defaultSize,
6725
6725
  onClick
6726
6726
  }) {
6727
6727
  const mode = cfg?.displayMode ?? "icon";
6728
6728
  const icon = cfg?.icon ?? defaultIcon;
6729
6729
  const label = cfg?.label ?? defaultLabel;
6730
+ const buttonSize = cfg?.size ?? defaultSize ?? "xs";
6730
6731
  return /* @__PURE__ */ jsx32(
6731
6732
  Button,
6732
6733
  {
6733
6734
  type: "button",
6734
6735
  title: label,
6735
- size: cfg?.size ?? "xs",
6736
+ size: buttonSize,
6736
6737
  variant: cfg?.variant ?? defaultVariant,
6737
6738
  rounded: cfg?.rounded ?? "lg",
6738
6739
  gradientFrom: cfg?.gradientFrom,
@@ -6841,6 +6842,7 @@ function Table({
6841
6842
  defaultIcon: extra.icon,
6842
6843
  defaultLabel: extra.label ?? extra.key,
6843
6844
  defaultVariant: extra.variant ?? "outline",
6845
+ defaultSize: defaultActions.actionsSize,
6844
6846
  onClick: () => extra.onClick(item)
6845
6847
  },
6846
6848
  extra.key
@@ -7219,7 +7221,6 @@ function Table({
7219
7221
  baseUrl: defaultActions.baseUrl,
7220
7222
  itemId: String(deleteItem[actionIdKey] ?? ""),
7221
7223
  notif: defaultActions.onSuccessNotif,
7222
- width: defaultActions.modalWidth,
7223
7224
  onClose: () => setDeleteItem(null),
7224
7225
  onSuccess: (deleted) => {
7225
7226
  setTableData(
@@ -7315,17 +7316,19 @@ function ActionBtn2({
7315
7316
  defaultIcon,
7316
7317
  defaultLabel,
7317
7318
  defaultVariant,
7319
+ defaultSize,
7318
7320
  onClick
7319
7321
  }) {
7320
7322
  const mode = cfg?.displayMode ?? "icon";
7321
7323
  const icon = cfg?.icon ?? defaultIcon;
7322
7324
  const label = cfg?.label ?? defaultLabel;
7325
+ const buttonSize = cfg?.size ?? defaultSize ?? "xs";
7323
7326
  return /* @__PURE__ */ jsx33(
7324
7327
  Button,
7325
7328
  {
7326
7329
  type: "button",
7327
7330
  title: label,
7328
- size: cfg?.size ?? "xs",
7331
+ size: buttonSize,
7329
7332
  variant: cfg?.variant ?? defaultVariant,
7330
7333
  rounded: cfg?.rounded ?? "lg",
7331
7334
  gradientFrom: cfg?.gradientFrom,
@@ -7548,8 +7551,7 @@ function DGDeleteModal({
7548
7551
  itemId,
7549
7552
  onClose,
7550
7553
  onSuccess,
7551
- notif,
7552
- width
7554
+ notif
7553
7555
  }) {
7554
7556
  const [loading, setLoading] = React29.useState(false);
7555
7557
  const [error, setError] = React29.useState(null);
@@ -7571,7 +7573,7 @@ function DGDeleteModal({
7571
7573
  {
7572
7574
  title: "Confirm Delete",
7573
7575
  onClose,
7574
- width,
7576
+ width: "lg",
7575
7577
  footer: /* @__PURE__ */ jsxs31(Fragment12, { children: [
7576
7578
  /* @__PURE__ */ jsx33("button", { onClick: onClose, disabled: loading, className: "px-4 py-1.5 text-sm rounded-xl border border-border hover:bg-accent transition-colors", children: "Cancel" }),
7577
7579
  /* @__PURE__ */ jsxs31("button", { onClick: handleDelete, disabled: loading, className: "px-4 py-1.5 text-sm rounded-xl bg-danger text-danger-foreground hover:bg-danger-hover transition-colors flex items-center gap-1.5", children: [
@@ -7692,6 +7694,7 @@ function DataGrid({
7692
7694
  defaultIcon: /* @__PURE__ */ jsx33(Eye3, { className: "h-3.5 w-3.5" }),
7693
7695
  defaultLabel: "View",
7694
7696
  defaultVariant: "outline",
7697
+ defaultSize: defaultActions.actionsSize,
7695
7698
  onClick: () => setViewItem(row)
7696
7699
  }
7697
7700
  ),
@@ -7702,6 +7705,7 @@ function DataGrid({
7702
7705
  defaultIcon: /* @__PURE__ */ jsx33(Pencil3, { className: "h-3.5 w-3.5" }),
7703
7706
  defaultLabel: "Edit",
7704
7707
  defaultVariant: "outline",
7708
+ defaultSize: defaultActions.actionsSize,
7705
7709
  onClick: () => setEditItem(row)
7706
7710
  }
7707
7711
  ),
@@ -7712,6 +7716,7 @@ function DataGrid({
7712
7716
  defaultIcon: /* @__PURE__ */ jsx33(Trash4, { className: "h-3.5 w-3.5" }),
7713
7717
  defaultLabel: "Delete",
7714
7718
  defaultVariant: "danger",
7719
+ defaultSize: defaultActions.actionsSize,
7715
7720
  onClick: () => setDeleteItem(row)
7716
7721
  }
7717
7722
  ),
@@ -7722,6 +7727,7 @@ function DataGrid({
7722
7727
  defaultIcon: extra.icon,
7723
7728
  defaultLabel: extra.label ?? extra.key,
7724
7729
  defaultVariant: extra.variant ?? "outline",
7730
+ defaultSize: defaultActions.actionsSize,
7725
7731
  onClick: () => extra.onClick(row)
7726
7732
  },
7727
7733
  extra.key
@@ -7955,7 +7961,6 @@ function DataGrid({
7955
7961
  baseUrl: defaultActions.baseUrl,
7956
7962
  itemId: String(deleteItem[actionIdKey] ?? ""),
7957
7963
  notif: defaultActions.onSuccessNotif,
7958
- width: defaultActions.modalWidth,
7959
7964
  onClose: () => setDeleteItem(null),
7960
7965
  onSuccess: (deleted) => {
7961
7966
  setTableData((prev) => prev.filter((r) => String(r[actionIdKey]) !== String(deleted[actionIdKey])));
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "registry": "https://registry.npmjs.org/",
5
5
  "access": "public"
6
6
  },
7
- "version": "3.2.8",
7
+ "version": "3.3.0",
8
8
  "description": "Reusable React UI components",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",