beca-ui 0.1.39 → 0.1.40

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.
Files changed (2) hide show
  1. package/dist/beca-ui.js +5 -5
  2. package/package.json +1 -1
package/dist/beca-ui.js CHANGED
@@ -90800,9 +90800,9 @@ const ResizableTitle = (a) => {
90800
90800
  ] });
90801
90801
  } : oe == null ? void 0 : oe.title,
90802
90802
  onHeaderCell: M ? (ne) => ({
90803
- width: ne.width,
90803
+ ...ne,
90804
90804
  onResize: (q, { size: $ }) => j(ce, $)
90805
- }) : void 0
90805
+ }) : oe.onHeaderCell
90806
90806
  }));
90807
90807
  useEffect(() => {
90808
90808
  C(m);
@@ -90924,11 +90924,11 @@ const ResizableTitle = (a) => {
90924
90924
  }), V(ce), z(ne);
90925
90925
  }
90926
90926
  function H(oe) {
90927
- return /* @__PURE__ */ jsx(
90927
+ return oe.expandable && /* @__PURE__ */ jsx(
90928
90928
  "div",
90929
90929
  {
90930
90930
  className: "bu2-table-expand-icon-wrap" + (oe.expanded ? " expanded" : ""),
90931
- children: oe.expandable && (oe.expanded ? /* @__PURE__ */ jsx(
90931
+ children: oe.expanded ? /* @__PURE__ */ jsx(
90932
90932
  "span",
90933
90933
  {
90934
90934
  onClick: () => oe.onExpand(oe.record, {}),
@@ -90942,7 +90942,7 @@ const ResizableTitle = (a) => {
90942
90942
  className: "bu2-table-expand-icon",
90943
90943
  children: /* @__PURE__ */ jsx(AddSquareIcon, {})
90944
90944
  }
90945
- ))
90945
+ )
90946
90946
  }
90947
90947
  );
90948
90948
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {