@univerjs/docs-ui 0.8.0 → 0.8.1-nightly.202506131607
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/lib/cjs/index.js +2 -2
- package/lib/es/index.js +9 -9
- package/lib/index.js +9 -9
- package/lib/umd/index.js +2 -2
- package/package.json +10 -10
- package/LICENSE +0 -176
package/lib/es/index.js
CHANGED
|
@@ -9030,7 +9030,7 @@ const ih = ({ popup: n }) => {
|
|
|
9030
9030
|
{
|
|
9031
9031
|
"data-u-comp": "paragraph-menu",
|
|
9032
9032
|
ref: i,
|
|
9033
|
-
className: Ge("univer-mr-1 univer-inline-flex univer-h-7 univer-cursor-pointer univer-items-center univer-gap-1 univer-rounded-full univer-px-2.5 univer-py-0
|
|
9033
|
+
className: Ge("univer-mr-1 univer-inline-flex univer-h-7 univer-cursor-pointer univer-items-center univer-gap-1 univer-rounded-full univer-px-2.5 univer-py-0 hover:univer-bg-gray-100 dark:hover:!univer-bg-gray-600", wn, {
|
|
9034
9034
|
"univer-bg-gray-100 dark:!univer-bg-gray-700": e,
|
|
9035
9035
|
"univer-bg-white dark:!univer-bg-gray-700": !e
|
|
9036
9036
|
}),
|
|
@@ -9923,7 +9923,7 @@ function $h() {
|
|
|
9923
9923
|
children: e.map((E) => /* @__PURE__ */ Q(Kl, { title: E.label, placement: "bottom", children: /* @__PURE__ */ Q(
|
|
9924
9924
|
"span",
|
|
9925
9925
|
{
|
|
9926
|
-
className: Ge("univer-flex univer-cursor-pointer univer-items-center univer-justify-center univer-rounded univer-bg-none univer-px-3 univer-py-1
|
|
9926
|
+
className: Ge("hover:univer-bg-black/60 univer-flex univer-cursor-pointer univer-items-center univer-justify-center univer-rounded univer-bg-none univer-px-3 univer-py-1", {
|
|
9927
9927
|
"univer-bg-blend-color-dodge/90": o === E.value
|
|
9928
9928
|
}),
|
|
9929
9929
|
onClick: () => r(E.value),
|
|
@@ -9934,28 +9934,28 @@ function $h() {
|
|
|
9934
9934
|
),
|
|
9935
9935
|
/* @__PURE__ */ Q("div", { className: "univer-t-4 univer-text-sm univer-font-medium", children: n.t("doc.paragraphSetting.indentation") }),
|
|
9936
9936
|
/* @__PURE__ */ se("div", { children: [
|
|
9937
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9937
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9938
9938
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9939
9939
|
n.t("doc.paragraphSetting.left"),
|
|
9940
9940
|
"(px)"
|
|
9941
9941
|
] }),
|
|
9942
9942
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: s, onChange: (E) => i(E != null ? E : 0) })
|
|
9943
9943
|
] }),
|
|
9944
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9944
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9945
9945
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9946
9946
|
n.t("doc.paragraphSetting.right"),
|
|
9947
9947
|
"(px)"
|
|
9948
9948
|
] }),
|
|
9949
9949
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: a, onChange: (E) => c(E != null ? E : 0) })
|
|
9950
9950
|
] }),
|
|
9951
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9951
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9952
9952
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9953
9953
|
n.t("doc.paragraphSetting.firstLine"),
|
|
9954
9954
|
"(px)"
|
|
9955
9955
|
] }),
|
|
9956
9956
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: d, onChange: (E) => l(E != null ? E : 0) })
|
|
9957
9957
|
] }),
|
|
9958
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9958
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9959
9959
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9960
9960
|
n.t("doc.paragraphSetting.hanging"),
|
|
9961
9961
|
"(px)"
|
|
@@ -9965,21 +9965,21 @@ function $h() {
|
|
|
9965
9965
|
] }),
|
|
9966
9966
|
/* @__PURE__ */ Q("div", { className: "univer-t-4 univer-text-sm univer-font-medium", children: n.t("doc.paragraphSetting.spacing") }),
|
|
9967
9967
|
/* @__PURE__ */ se("div", { children: [
|
|
9968
|
-
/* @__PURE__ */ se("div", { className: "univer-
|
|
9968
|
+
/* @__PURE__ */ se("div", { className: "univer-justify-betweenuniver-item-center univer-flex", children: [
|
|
9969
9969
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9970
9970
|
n.t("doc.paragraphSetting.before"),
|
|
9971
9971
|
"(px)"
|
|
9972
9972
|
] }),
|
|
9973
9973
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: u, onChange: (E) => g(E != null ? E : 0) })
|
|
9974
9974
|
] }),
|
|
9975
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9975
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9976
9976
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9977
9977
|
n.t("doc.paragraphSetting.after"),
|
|
9978
9978
|
"(px)"
|
|
9979
9979
|
] }),
|
|
9980
9980
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: f, onChange: (E) => p(E != null ? E : 0) })
|
|
9981
9981
|
] }),
|
|
9982
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9982
|
+
/* @__PURE__ */ se("div", { className: "item-center univer-flex univer-justify-between", children: [
|
|
9983
9983
|
/* @__PURE__ */ Q("div", { className: "univer-mt-3 univer-text-xs", children: n.t("doc.paragraphSetting.lineSpace") }),
|
|
9984
9984
|
/* @__PURE__ */ se(
|
|
9985
9985
|
"div",
|
package/lib/index.js
CHANGED
|
@@ -9030,7 +9030,7 @@ const ih = ({ popup: n }) => {
|
|
|
9030
9030
|
{
|
|
9031
9031
|
"data-u-comp": "paragraph-menu",
|
|
9032
9032
|
ref: i,
|
|
9033
|
-
className: Ge("univer-mr-1 univer-inline-flex univer-h-7 univer-cursor-pointer univer-items-center univer-gap-1 univer-rounded-full univer-px-2.5 univer-py-0
|
|
9033
|
+
className: Ge("univer-mr-1 univer-inline-flex univer-h-7 univer-cursor-pointer univer-items-center univer-gap-1 univer-rounded-full univer-px-2.5 univer-py-0 hover:univer-bg-gray-100 dark:hover:!univer-bg-gray-600", wn, {
|
|
9034
9034
|
"univer-bg-gray-100 dark:!univer-bg-gray-700": e,
|
|
9035
9035
|
"univer-bg-white dark:!univer-bg-gray-700": !e
|
|
9036
9036
|
}),
|
|
@@ -9923,7 +9923,7 @@ function $h() {
|
|
|
9923
9923
|
children: e.map((E) => /* @__PURE__ */ Q(Kl, { title: E.label, placement: "bottom", children: /* @__PURE__ */ Q(
|
|
9924
9924
|
"span",
|
|
9925
9925
|
{
|
|
9926
|
-
className: Ge("univer-flex univer-cursor-pointer univer-items-center univer-justify-center univer-rounded univer-bg-none univer-px-3 univer-py-1
|
|
9926
|
+
className: Ge("hover:univer-bg-black/60 univer-flex univer-cursor-pointer univer-items-center univer-justify-center univer-rounded univer-bg-none univer-px-3 univer-py-1", {
|
|
9927
9927
|
"univer-bg-blend-color-dodge/90": o === E.value
|
|
9928
9928
|
}),
|
|
9929
9929
|
onClick: () => r(E.value),
|
|
@@ -9934,28 +9934,28 @@ function $h() {
|
|
|
9934
9934
|
),
|
|
9935
9935
|
/* @__PURE__ */ Q("div", { className: "univer-t-4 univer-text-sm univer-font-medium", children: n.t("doc.paragraphSetting.indentation") }),
|
|
9936
9936
|
/* @__PURE__ */ se("div", { children: [
|
|
9937
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9937
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9938
9938
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9939
9939
|
n.t("doc.paragraphSetting.left"),
|
|
9940
9940
|
"(px)"
|
|
9941
9941
|
] }),
|
|
9942
9942
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: s, onChange: (E) => i(E != null ? E : 0) })
|
|
9943
9943
|
] }),
|
|
9944
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9944
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9945
9945
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9946
9946
|
n.t("doc.paragraphSetting.right"),
|
|
9947
9947
|
"(px)"
|
|
9948
9948
|
] }),
|
|
9949
9949
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: a, onChange: (E) => c(E != null ? E : 0) })
|
|
9950
9950
|
] }),
|
|
9951
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9951
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9952
9952
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9953
9953
|
n.t("doc.paragraphSetting.firstLine"),
|
|
9954
9954
|
"(px)"
|
|
9955
9955
|
] }),
|
|
9956
9956
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: d, onChange: (E) => l(E != null ? E : 0) })
|
|
9957
9957
|
] }),
|
|
9958
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9958
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9959
9959
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9960
9960
|
n.t("doc.paragraphSetting.hanging"),
|
|
9961
9961
|
"(px)"
|
|
@@ -9965,21 +9965,21 @@ function $h() {
|
|
|
9965
9965
|
] }),
|
|
9966
9966
|
/* @__PURE__ */ Q("div", { className: "univer-t-4 univer-text-sm univer-font-medium", children: n.t("doc.paragraphSetting.spacing") }),
|
|
9967
9967
|
/* @__PURE__ */ se("div", { children: [
|
|
9968
|
-
/* @__PURE__ */ se("div", { className: "univer-
|
|
9968
|
+
/* @__PURE__ */ se("div", { className: "univer-justify-betweenuniver-item-center univer-flex", children: [
|
|
9969
9969
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9970
9970
|
n.t("doc.paragraphSetting.before"),
|
|
9971
9971
|
"(px)"
|
|
9972
9972
|
] }),
|
|
9973
9973
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: u, onChange: (E) => g(E != null ? E : 0) })
|
|
9974
9974
|
] }),
|
|
9975
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9975
|
+
/* @__PURE__ */ se("div", { className: "univer-item-center univer-flex univer-justify-between", children: [
|
|
9976
9976
|
/* @__PURE__ */ se("div", { className: "univer-mt-3 univer-text-xs", children: [
|
|
9977
9977
|
n.t("doc.paragraphSetting.after"),
|
|
9978
9978
|
"(px)"
|
|
9979
9979
|
] }),
|
|
9980
9980
|
/* @__PURE__ */ Q(Ot, { className: "univer-mt-4", value: f, onChange: (E) => p(E != null ? E : 0) })
|
|
9981
9981
|
] }),
|
|
9982
|
-
/* @__PURE__ */ se("div", { className: "univer-flex univer-justify-between
|
|
9982
|
+
/* @__PURE__ */ se("div", { className: "item-center univer-flex univer-justify-between", children: [
|
|
9983
9983
|
/* @__PURE__ */ Q("div", { className: "univer-mt-3 univer-text-xs", children: n.t("doc.paragraphSetting.lineSpace") }),
|
|
9984
9984
|
/* @__PURE__ */ se(
|
|
9985
9985
|
"div",
|