@fileverse-dev/ddoc 3.2.8 → 3.2.9
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 +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -187691,7 +187691,7 @@ const Gee = ig(
|
|
|
187691
187691
|
},
|
|
187692
187692
|
[o, f, n]
|
|
187693
187693
|
);
|
|
187694
|
-
return e.length === 0 ? /* @__PURE__ */ F.jsx(Kee, {}) : /* @__PURE__ */ F.jsx("div", { className: "flex flex-col max-[1280px]:gap-2 gap-4
|
|
187694
|
+
return e.length === 0 ? /* @__PURE__ */ F.jsx(Kee, {}) : /* @__PURE__ */ F.jsx("div", { className: "flex flex-col max-[1280px]:gap-2 gap-4 pl-[35px] mb-3", children: c.map((m, b) => /* @__PURE__ */ F.jsx(
|
|
187695
187695
|
Vee,
|
|
187696
187696
|
{
|
|
187697
187697
|
onItemClick: f,
|
|
@@ -188586,7 +188586,7 @@ const BGe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188586
188586
|
{
|
|
188587
188587
|
"data-testid": "tab-sidebar",
|
|
188588
188588
|
className: tt(
|
|
188589
|
-
"flex flex-col items-start w-full h-full
|
|
188589
|
+
"flex flex-col items-start w-full h-full justify-start left-0 px-4",
|
|
188590
188590
|
// Keep landscape TOC responsive: it can shrink to 182px on tighter widths
|
|
188591
188591
|
// and grow up to the original 263px when space allows.
|
|
188592
188592
|
c === "landscape" ? "!w-[clamp(182px,calc((100vw-1190px)/2),263px)] min-w-[182px] max-w-[263px]" : "max-w-[263px]",
|
|
@@ -188657,7 +188657,7 @@ const BGe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188657
188657
|
}
|
|
188658
188658
|
)
|
|
188659
188659
|
] }) }),
|
|
188660
|
-
/* @__PURE__ */ F.jsx("div", { className: "w-full
|
|
188660
|
+
/* @__PURE__ */ F.jsx("div", { className: "w-full overflow-y-auto no-scrollbar space-y-1", children: e.map((U, V) => /* @__PURE__ */ F.jsx(
|
|
188661
188661
|
RGe,
|
|
188662
188662
|
{
|
|
188663
188663
|
tab: U,
|
|
@@ -188751,7 +188751,7 @@ const BGe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188751
188751
|
isConnected: w
|
|
188752
188752
|
}) => {
|
|
188753
188753
|
const D = n > 1;
|
|
188754
|
-
return /* @__PURE__ */ F.jsxs("div", { className: "w-full flex
|
|
188754
|
+
return /* @__PURE__ */ F.jsxs("div", { className: "w-full flex flex-col gap-2", children: [
|
|
188755
188755
|
/* @__PURE__ */ F.jsx(
|
|
188756
188756
|
NGe,
|
|
188757
188757
|
{
|
|
@@ -190080,7 +190080,7 @@ const BGe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
190080
190080
|
className: tt(
|
|
190081
190081
|
"editor-left-rail",
|
|
190082
190082
|
Iv && "editor-left-rail-has-outline",
|
|
190083
|
-
!Gs && "flex-[
|
|
190083
|
+
!Gs && "flex-[1_0_263px]",
|
|
190084
190084
|
!e && !Ze && R && "-mt-[1.5rem] md:!mt-[0.8rem]",
|
|
190085
190085
|
e && "md:!mt-[1rem]",
|
|
190086
190086
|
{ "md:!mt-[0.7rem]": !e && !Ze },
|