nectiasw 0.0.157 → 0.0.158

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.
@@ -63,7 +63,7 @@ export type TableDataProps = {
63
63
  iconJustify?: "center" | "start" | "end" | "between" | "around";
64
64
  onClickDetail?: () => void;
65
65
  onChangeCheckbox?: (checked: boolean, dataId?: number) => void;
66
- detailText?: string;
66
+ detailText?: React.ReactNode;
67
67
  detailDisabled?: boolean;
68
68
  detailVariant?: ButtonProps["variant"];
69
69
  indexed?: boolean;
@@ -87,6 +87,7 @@ export type TableStatusProps = {
87
87
  disabled?: TableDataProps["detailDisabled"];
88
88
  variant?: ButtonProps["variant"];
89
89
  value: "Normal" | "Cerrado" | "Crítico" | "Por emisión OC";
90
+ buttonChildren?: React.ReactNode;
90
91
  };
91
92
  export type TableColProps = {
92
93
  width?: number;
package/dist/index.es.js CHANGED
@@ -39593,7 +39593,7 @@ const Nae = H.memo(
39593
39593
  sO,
39594
39594
  {
39595
39595
  color: e == null ? void 0 : e.color,
39596
- text: e.detailText,
39596
+ buttonChildren: e.detailText,
39597
39597
  variant: e.detailVariant,
39598
39598
  onClick: e == null ? void 0 : e.onClickDetail,
39599
39599
  disabled: e.detailDisabled,
@@ -39616,7 +39616,7 @@ Nae.defaultProps = {
39616
39616
  align: "left"
39617
39617
  };
39618
39618
  const sO = ({
39619
- text: e,
39619
+ buttonChildren: e,
39620
39620
  disabled: n,
39621
39621
  variant: t,
39622
39622
  children: r,
@@ -39640,7 +39640,7 @@ const sO = ({
39640
39640
  variant: t ?? "secondary",
39641
39641
  onClick: a,
39642
39642
  fontSize: "sm",
39643
- children: /* @__PURE__ */ B("span", { about: "details", children: e })
39643
+ children: e
39644
39644
  }
39645
39645
  ) })
39646
39646
  ] });