@lax-wp/design-system 0.5.15 → 0.5.16
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.es.js +7 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -17274,30 +17274,31 @@ const m2 = ({
|
|
|
17274
17274
|
noBanner: a,
|
|
17275
17275
|
noScrollbar: i,
|
|
17276
17276
|
mode: o,
|
|
17277
|
-
displayId: l
|
|
17278
|
-
isMainSideBarOpen: s = !1
|
|
17277
|
+
displayId: l
|
|
17279
17278
|
}) => {
|
|
17280
|
-
const
|
|
17279
|
+
const s = o === we.EDIT || o === we.FOCUS_EDIT ? "edit" : o === we.COMPARISON ? "compare" : null, c = cA(() => s === "edit" && l && !a || s === "compare", [s, l, a]);
|
|
17281
17280
|
return Qa(), /* @__PURE__ */ P(bA, { children: [
|
|
17282
17281
|
/* @__PURE__ */ n(ot, { title: A }),
|
|
17283
17282
|
/* @__PURE__ */ P(
|
|
17284
17283
|
"div",
|
|
17285
17284
|
{
|
|
17285
|
+
style: {
|
|
17286
|
+
marginLeft: "var(--sidebar-ml, 60px)"
|
|
17287
|
+
},
|
|
17286
17288
|
className: q(
|
|
17287
17289
|
"relative h-[calc(100vh-56px)] overflow-y-auto flex flex-col bg-primary-800 dark:bg-black-800",
|
|
17288
17290
|
`ease-in-out duration-${ei}`,
|
|
17289
|
-
s ? "lg:ml-sidebar-width ml-[60px]" : "ml-[60px]",
|
|
17290
17291
|
r
|
|
17291
17292
|
),
|
|
17292
17293
|
children: [
|
|
17293
|
-
|
|
17294
|
+
s === "edit" && l && !a ? /* @__PURE__ */ n(Tt, { status: "warning", children: `You're currently editing ${l || ""}` }) : s === "compare" ? /* @__PURE__ */ n(Tt, { status: "success", children: "You are now in Comparison Mode" }) : null,
|
|
17294
17295
|
/* @__PURE__ */ n(
|
|
17295
17296
|
"div",
|
|
17296
17297
|
{
|
|
17297
17298
|
className: q(
|
|
17298
17299
|
`flex-1 overflow-y-auto overflow-x-hidden bg-gray-50 dark:bg-black-700 ${i ? "hide-scrollbar" : ""}`,
|
|
17299
17300
|
t ? "p-0" : "p-base",
|
|
17300
|
-
|
|
17301
|
+
c ? "rounded-tl-none" : "!rounded-tl-xl"
|
|
17301
17302
|
),
|
|
17302
17303
|
id: "app-body-container",
|
|
17303
17304
|
children: e
|