beca-ui 0.1.42 → 2.0.0-beta.2
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/beca-ui.js +11 -5
- package/dist/main.css +1 -1
- package/package.json +2 -1
package/dist/beca-ui.js
CHANGED
|
@@ -88271,9 +88271,13 @@ const AppContext = createContext$1({}), MainLayout = (a) => {
|
|
|
88271
88271
|
children: /* @__PURE__ */ jsx(I18nextProvider, { i18n, children: /* @__PURE__ */ jsxs(
|
|
88272
88272
|
Layout$1,
|
|
88273
88273
|
{
|
|
88274
|
-
className:
|
|
88274
|
+
className: classNames$1(
|
|
88275
|
+
"bu2-main-layout",
|
|
88276
|
+
B && "is-mobile",
|
|
88277
|
+
C && "custom-sidebar-layout"
|
|
88278
|
+
),
|
|
88275
88279
|
children: [
|
|
88276
|
-
C
|
|
88280
|
+
C,
|
|
88277
88281
|
!C && F.length > 0 && /* @__PURE__ */ jsx(
|
|
88278
88282
|
SideBarMenu,
|
|
88279
88283
|
{
|
|
@@ -88368,8 +88372,10 @@ const AppContext = createContext$1({}), MainLayout = (a) => {
|
|
|
88368
88372
|
if (R) {
|
|
88369
88373
|
const L = R.querySelector(".bu2-card-body");
|
|
88370
88374
|
if (L) {
|
|
88371
|
-
const I = document.querySelector(".ant-layout-header.header"), Y = I ? I.clientHeight : 0, G =
|
|
88372
|
-
|
|
88375
|
+
const I = document.querySelector(".ant-layout-header.header"), Y = I ? I.clientHeight : 0, G = R.querySelector(".bu2-card-header"), X = G ? G.clientHeight : 0, V = window.innerHeight - Y - // contentPadding -
|
|
88376
|
+
// cardPadding -
|
|
88377
|
+
X;
|
|
88378
|
+
L.setAttribute("style", `height:${V}px`), Z && Z(V);
|
|
88373
88379
|
}
|
|
88374
88380
|
}
|
|
88375
88381
|
};
|
|
@@ -88388,7 +88394,7 @@ const AppContext = createContext$1({}), MainLayout = (a) => {
|
|
|
88388
88394
|
style: h,
|
|
88389
88395
|
onClick: b,
|
|
88390
88396
|
children: [
|
|
88391
|
-
(c || d || p || u || v) && /* @__PURE__ */ jsxs("div", { className: "bu2-card-header", children: [
|
|
88397
|
+
(c || d || p || u || v || f) && /* @__PURE__ */ jsxs("div", { className: "bu2-card-header", children: [
|
|
88392
88398
|
/* @__PURE__ */ jsxs("div", { className: "bu2-card-header-top", children: [
|
|
88393
88399
|
/* @__PURE__ */ jsxs("div", { className: "bu2-card-header-title", children: [
|
|
88394
88400
|
v && /* @__PURE__ */ jsx("div", { className: "bu2-card-header-title__back-btn", children: C != null && C.LinkComponent ? /* @__PURE__ */ jsx(C.LinkComponent, { to: v, children: /* @__PURE__ */ jsx(SvgArrowLeftOutlinedStyle, {}) }) : T ? /* @__PURE__ */ jsx(T, { to: v, children: /* @__PURE__ */ jsx(SvgArrowLeftOutlinedStyle, {}) }) : /* @__PURE__ */ jsx("a", { href: v, children: /* @__PURE__ */ jsx(SvgArrowLeftOutlinedStyle, {}) }) }),
|