@fileverse-dev/ddoc 2.0.8-patch-5 → 2.0.8-patch-6
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 +16 -12
- package/dist/package/common/toolbar-button.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -77407,10 +77407,10 @@ const vZe = ({
|
|
77407
77407
|
anchorTrigger: /* @__PURE__ */ z.jsxs(
|
77408
77408
|
"button",
|
77409
77409
|
{
|
77410
|
-
className: "bg-transparent hover:!bg-[#F2F4F5] !text-[#363B3F] rounded p-
|
77410
|
+
className: "bg-transparent hover:!bg-[#F2F4F5] !text-[#363B3F] rounded p-1 flex items-center justify-between gap-2 w-fit max-w-36",
|
77411
77411
|
children: [
|
77412
77412
|
/* @__PURE__ */ z.jsx("span", { className: "text-body-sm !text-[#363B3F] truncate", children: r.name }),
|
77413
|
-
/* @__PURE__ */ z.jsx($e, { name: "ChevronDown", size: "sm" })
|
77413
|
+
/* @__PURE__ */ z.jsx($e, { name: "ChevronDown", size: "sm", className: "mt-1" })
|
77414
77414
|
]
|
77415
77415
|
}
|
77416
77416
|
),
|
@@ -79829,7 +79829,7 @@ const s5 = [
|
|
79829
79829
|
"div",
|
79830
79830
|
{
|
79831
79831
|
ref: t,
|
79832
|
-
className: "w-[300px] bg-[#F8F9FA] shadow-[0px_4px_16px_-4px_rgba(0,0,0,0.15)]
|
79832
|
+
className: "w-[300px] bg-[#F8F9FA] shadow-[0px_4px_16px_-4px_rgba(0,0,0,0.15)] rounded-md",
|
79833
79833
|
children: [
|
79834
79834
|
/* @__PURE__ */ z.jsx(
|
79835
79835
|
dU,
|
@@ -80365,13 +80365,14 @@ const s5 = [
|
|
80365
80365
|
onClick: n,
|
80366
80366
|
tooltip: r,
|
80367
80367
|
classNames: i,
|
80368
|
-
disabled: s
|
80369
|
-
|
80368
|
+
disabled: s,
|
80369
|
+
size: o
|
80370
|
+
}, a) => r ? /* @__PURE__ */ z.jsx(Ed, { text: r, children: /* @__PURE__ */ z.jsx(
|
80370
80371
|
Y1,
|
80371
80372
|
{
|
80372
|
-
ref:
|
80373
|
+
ref: a,
|
80373
80374
|
variant: "ghost",
|
80374
|
-
size: "md",
|
80375
|
+
size: o || "md",
|
80375
80376
|
icon: t,
|
80376
80377
|
onClick: n,
|
80377
80378
|
isActive: e,
|
@@ -80381,9 +80382,9 @@ const s5 = [
|
|
80381
80382
|
) }) : /* @__PURE__ */ z.jsx(
|
80382
80383
|
Y1,
|
80383
80384
|
{
|
80384
|
-
ref:
|
80385
|
+
ref: a,
|
80385
80386
|
variant: "ghost",
|
80386
|
-
size: "md",
|
80387
|
+
size: o || "md",
|
80387
80388
|
icon: t,
|
80388
80389
|
onClick: n,
|
80389
80390
|
isActive: e,
|
@@ -80540,7 +80541,7 @@ const s5 = [
|
|
80540
80541
|
...i,
|
80541
80542
|
shouldShow: l,
|
80542
80543
|
className: Ie(
|
80543
|
-
"flex gap-2 overflow-hidden rounded-lg h-[
|
80544
|
+
"flex gap-2 overflow-hidden rounded-lg h-[45px] min-w-fit w-full py-2 px-4 bg-white items-center shadow-elevation-1",
|
80544
80545
|
e ? "!invisible" : "!visible"
|
80545
80546
|
),
|
80546
80547
|
children: u ? /* @__PURE__ */ z.jsx("div", { className: Ie("relative", e ? "left-1/2 translate-x-1/2" : ""), children: /* @__PURE__ */ z.jsx(
|
@@ -80553,7 +80554,7 @@ const s5 = [
|
|
80553
80554
|
{
|
80554
80555
|
icon: "MessageSquarePlus",
|
80555
80556
|
variant: "ghost",
|
80556
|
-
size: "
|
80557
|
+
size: "sm",
|
80557
80558
|
onClick: () => f()
|
80558
80559
|
}
|
80559
80560
|
),
|
@@ -80571,7 +80572,7 @@ const s5 = [
|
|
80571
80572
|
{
|
80572
80573
|
icon: d.icon,
|
80573
80574
|
variant: "ghost",
|
80574
|
-
size: "
|
80575
|
+
size: "sm",
|
80575
80576
|
onClick: () => d.name === "InlineComment" ? f() : null
|
80576
80577
|
}
|
80577
80578
|
),
|
@@ -80583,6 +80584,7 @@ const s5 = [
|
|
80583
80584
|
Qi,
|
80584
80585
|
{
|
80585
80586
|
icon: d.icon,
|
80587
|
+
size: "sm",
|
80586
80588
|
onClick: d.command,
|
80587
80589
|
isActive: d.isActive()
|
80588
80590
|
}
|
@@ -80597,6 +80599,7 @@ const s5 = [
|
|
80597
80599
|
Qi,
|
80598
80600
|
{
|
80599
80601
|
icon: "Baseline",
|
80602
|
+
size: "sm",
|
80600
80603
|
isActive: a === Dt.TEXT_COLOR
|
80601
80604
|
}
|
80602
80605
|
),
|
@@ -80619,6 +80622,7 @@ const s5 = [
|
|
80619
80622
|
Qi,
|
80620
80623
|
{
|
80621
80624
|
icon: "Highlighter",
|
80625
|
+
size: "sm",
|
80622
80626
|
isActive: a === Dt.HIGHLIGHT
|
80623
80627
|
}
|
80624
80628
|
),
|