@oliasoft-open-source/react-ui-library 7.1.0-beta-6 → 7.1.1

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/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7925,10 +7925,10 @@ var go = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), _o =
7925
7925
  })) : [];
7926
7926
  }, tp = ({ table: e, unitConfig: t, convertBackToStorageUnit: n = !0, enableCosmeticRounding: r = !0, enableDisplayRounding: i = !0, onListReorder: a, canListReorder: o, beforeRenderRow: s }) => {
7927
7927
  let { headers: c, ...u } = e, { storageUnits: f, preferredUnits: p } = Qf(t), m = Gd(p), [h, g] = _(p), v = ({ unitKey: e, value: n }) => {
7928
- g({
7929
- ...h,
7928
+ g((t) => ({
7929
+ ...t,
7930
7930
  [e]: n
7931
- });
7931
+ }));
7932
7932
  let r = t.find((t) => t.unitKey === e);
7933
7933
  r && typeof r.onChange == "function" && r.onChange({
7934
7934
  oldUnit: h[e],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "7.1.0-beta-6",
3
+ "version": "7.1.1",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {