@oliasoft-open-source/react-ui-library 6.6.0 → 6.6.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.
package/dist/index.js CHANGED
@@ -1468,17 +1468,17 @@ var Cr = /* @__PURE__ */ function(e) {
1468
1468
  })
1469
1469
  });
1470
1470
  }, ca = {
1471
- inputInTable: "_inputInTable_1nvil_1",
1472
- inputHover: "_inputHover_1nvil_13",
1473
- inputFocus: "_inputFocus_1nvil_18",
1474
- inputError: "_inputError_1nvil_25",
1475
- inputWarning: "_inputWarning_1nvil_26",
1476
- inputDisabled: "_inputDisabled_1nvil_61",
1477
- hideScrollbars: "_hideScrollbars_1nvil_67",
1478
- column: "_column_1nvil_77",
1479
- noScrollbar: "_noScrollbar_1nvil_101",
1480
- inner: "_inner_1nvil_111",
1481
- innerFlexbox: "_innerFlexbox_1nvil_119"
1471
+ inputInTable: "_inputInTable_10dx9_1",
1472
+ inputHover: "_inputHover_10dx9_13",
1473
+ inputFocus: "_inputFocus_10dx9_18",
1474
+ inputError: "_inputError_10dx9_25",
1475
+ inputWarning: "_inputWarning_10dx9_26",
1476
+ inputDisabled: "_inputDisabled_10dx9_61",
1477
+ hideScrollbars: "_hideScrollbars_10dx9_67",
1478
+ column: "_column_10dx9_77",
1479
+ noScrollbar: "_noScrollbar_10dx9_94",
1480
+ inner: "_inner_10dx9_104",
1481
+ innerFlexbox: "_innerFlexbox_10dx9_111"
1482
1482
  }, la = (e) => {
1483
1483
  if (typeof e == "string") return e;
1484
1484
  if (typeof e == "number") return `${e}px`;
@@ -1486,24 +1486,25 @@ var Cr = /* @__PURE__ */ function(e) {
1486
1486
  if (e === !0) return "1px solid var(--color-border)";
1487
1487
  if (typeof e == "string") return e;
1488
1488
  }, da = (e) => e === !0 ? "var(--padding)" : e === !1 ? "0" : e, fa = ({ background: e = "transparent", borderLeft: t, borderRight: n, children: r = null, flex: i = !0, flexbox: a = !1, padding: o = !1, scroll: s = !1, showScrollbar: c = !0, spacing: l = "var(--padding)", width: u, widthMobile: d, widthTablet: f, testId: p }) => {
1489
- let m = la(u), h = la(f), _ = la(d), y = ua(t), b = ua(n), x = da(o), S = {
1490
- "--column-width": m || "auto",
1491
- "--column-flex-grow": !m && i ? "1" : "0",
1492
- "--column-flex-shrink": m || !i ? "0" : "1",
1493
- "--column-overflow": s ? "auto" : "initial",
1494
- "--column-background": e,
1495
- "--column-spacing": l ? `0 calc(${l} / 2)` : "0",
1496
- "--column-inner-padding": x,
1497
- ...y && { "--column-border-left": y },
1498
- ...b && { "--column-border-right": b },
1499
- ...h && { "--column-width-tablet": h },
1500
- ..._ && { "--column-width-mobile": _ }
1489
+ var m, h, _;
1490
+ let y = la(u), b = la(f), x = la(d), S = ua(t), C = ua(n), w = da(o), T = {
1491
+ "--column-width": y || "auto",
1492
+ "--column-width-tablet": (m = b == null ? y : b) == null ? "auto" : m,
1493
+ "--column-width-mobile": (h = (_ = x == null ? b : x) == null ? y : _) == null ? "auto" : h,
1494
+ flexGrow: !y && i ? 1 : 0,
1495
+ flexShrink: y || !i ? 0 : 1,
1496
+ overflow: s ? "auto" : "initial",
1497
+ background: e,
1498
+ borderLeft: S,
1499
+ borderRight: C,
1500
+ padding: l ? `0 calc(${l} / 2)` : 0
1501
1501
  };
1502
1502
  return /* @__PURE__ */ v("div", {
1503
1503
  className: g(ca.column, !c && ca.noScrollbar),
1504
- style: S,
1504
+ style: T,
1505
1505
  children: /* @__PURE__ */ v("div", {
1506
1506
  className: g(ca.inner, a && !s && ca.innerFlexbox),
1507
+ style: { padding: w },
1507
1508
  "data-testid": p,
1508
1509
  children: r
1509
1510
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "6.6.0",
3
+ "version": "6.6.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": {