@oliasoft-open-source/react-ui-library 6.6.0-beta-3 → 6.6.1-beta-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: "
|
|
1472
|
-
inputHover: "
|
|
1473
|
-
inputFocus: "
|
|
1474
|
-
inputError: "
|
|
1475
|
-
inputWarning: "
|
|
1476
|
-
inputDisabled: "
|
|
1477
|
-
hideScrollbars: "
|
|
1478
|
-
column: "
|
|
1479
|
-
noScrollbar: "
|
|
1480
|
-
inner: "
|
|
1481
|
-
innerFlexbox: "
|
|
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
|
-
|
|
1490
|
-
|
|
1491
|
-
"--column-
|
|
1492
|
-
"--column-
|
|
1493
|
-
"--column-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
"
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
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:
|
|
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