@univerjs/docs-ui 0.6.2 → 0.6.3

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/es/index.js CHANGED
@@ -7224,15 +7224,12 @@ const ma = {
7224
7224
  );
7225
7225
  };
7226
7226
  function jd() {
7227
- const n = $($e), e = Fe(
7228
- () => [
7229
- { label: n.t("toolbar.alignLeft"), value: String(De.LEFT), icon: /* @__PURE__ */ V(Gi, {}) },
7230
- { label: n.t("toolbar.alignCenter"), value: String(De.CENTER), icon: /* @__PURE__ */ V(ji, {}) },
7231
- { label: n.t("toolbar.alignRight"), value: String(De.RIGHT), icon: /* @__PURE__ */ V(Yi, {}) },
7232
- { label: n.t("toolbar.alignJustify"), value: String(De.JUSTIFIED), icon: /* @__PURE__ */ V(zi, {}) }
7233
- ],
7234
- []
7235
- ), t = Td(), [o, s] = Bd(t, e[0].value), [r, i] = Md(t), [a, c] = _d(t), [A, l] = Dd(t), [d, h] = Pd(t), [u, g] = wd(t), [f, p] = Nd(t), { lineSpacing: [m, E], spacingRule: [I, C] } = Qd(t), R = Fe(() => I === Bt.AUTO ? { min: 1, max: 5, step: m < 2 ? 0.5 : 1 } : { min: 1, max: 100 }, [I, m]);
7227
+ const n = $($e), e = Fe(() => [
7228
+ { label: n.t("toolbar.alignLeft"), value: String(De.LEFT), icon: /* @__PURE__ */ V(Gi, {}) },
7229
+ { label: n.t("toolbar.alignCenter"), value: String(De.CENTER), icon: /* @__PURE__ */ V(ji, {}) },
7230
+ { label: n.t("toolbar.alignRight"), value: String(De.RIGHT), icon: /* @__PURE__ */ V(Yi, {}) },
7231
+ { label: n.t("toolbar.alignJustify"), value: String(De.JUSTIFIED), icon: /* @__PURE__ */ V(zi, {}) }
7232
+ ], []), t = Td(), [o, s] = Bd(t, e[0].value), [r, i] = Md(t), [a, c] = _d(t), [A, l] = Dd(t), [d, h] = Pd(t), [u, g] = wd(t), [f, p] = Nd(t), { lineSpacing: [m, E], spacingRule: [I, C] } = Qd(t), R = Fe(() => I === Bt.AUTO ? { min: 1, max: 5, step: m < 2 ? 0.5 : 1 } : { min: 1, max: 100 }, [I, m]);
7236
7233
  return /* @__PURE__ */ de("div", { className: ae.paragraphSetting, children: [
7237
7234
  /* @__PURE__ */ V("div", { className: ae.paragraphSettingTitle, children: n.t("doc.paragraphSetting.alignment") }),
7238
7235
  /* @__PURE__ */ V(
@@ -7245,10 +7242,7 @@ function jd() {
7245
7242
  children: e.map((S) => /* @__PURE__ */ V(Hc, { title: S.label, placement: "bottom", children: /* @__PURE__ */ V(
7246
7243
  "span",
7247
7244
  {
7248
- className: dn(
7249
- ae.paragraphSettingIconListItem,
7250
- { [ae.paragraphSettingIconListActive]: o === S.value }
7251
- ),
7245
+ className: dn(ae.paragraphSettingIconListItem, { [ae.paragraphSettingIconListActive]: o === S.value }),
7252
7246
  onClick: () => s(S.value),
7253
7247
  children: S.icon
7254
7248
  }
@@ -1,6 +1,6 @@
1
+ import { Nullable, DOC_RANGE_TYPE, RANGE_DIRECTION } from '@univerjs/core';
1
2
  import { Documents, DocumentSkeleton, INodePosition, ITextSelectionStyle, Scene } from '@univerjs/engine-render';
2
3
  import { IDocRange } from './range-interface';
3
- import { DOC_RANGE_TYPE, Nullable, RANGE_DIRECTION } from '@univerjs/core';
4
4
  export declare function convertPositionsToRectRanges(scene: Scene, document: Documents, docSkeleton: DocumentSkeleton, anchorNodePosition: INodePosition, focusNodePosition: INodePosition, style?: ITextSelectionStyle, segmentId?: string, segmentPage?: number): RectRange[];
5
5
  export declare class RectRange implements IDocRange {
6
6
  private _scene;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/docs-ui",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "private": false,
5
5
  "description": "Univer normal ui-plugin-docs",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -60,12 +60,12 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@univerjs/icons": "^0.2.20",
63
- "@univerjs/core": "0.6.2",
64
- "@univerjs/design": "0.6.2",
65
- "@univerjs/drawing": "0.6.2",
66
- "@univerjs/docs": "0.6.2",
67
- "@univerjs/engine-render": "0.6.2",
68
- "@univerjs/ui": "0.6.2"
63
+ "@univerjs/core": "0.6.3",
64
+ "@univerjs/design": "0.6.3",
65
+ "@univerjs/docs": "0.6.3",
66
+ "@univerjs/drawing": "0.6.3",
67
+ "@univerjs/engine-render": "0.6.3",
68
+ "@univerjs/ui": "0.6.3"
69
69
  },
70
70
  "devDependencies": {
71
71
  "less": "^4.2.2",
@@ -73,11 +73,11 @@
73
73
  "react": "18.3.1",
74
74
  "rxjs": "^7.8.1",
75
75
  "tailwindcss": "^3.4.17",
76
- "typescript": "^5.7.3",
76
+ "typescript": "^5.8.2",
77
77
  "vite": "^6.2.0",
78
78
  "vitest": "^3.0.7",
79
- "@univerjs-infra/shared": "0.6.2",
80
- "@univerjs/docs-drawing": "0.6.2"
79
+ "@univerjs/docs-drawing": "0.6.3",
80
+ "@univerjs-infra/shared": "0.6.3"
81
81
  },
82
82
  "scripts": {
83
83
  "test": "vitest run",