@univerjs/thread-comment-ui 0.2.15 → 0.3.0-alpha.1

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
@@ -4,7 +4,7 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key != "symbol" ? key + "" : key, value);
5
5
  import dayjs from "dayjs";
6
6
  import { UniverThreadCommentPlugin, ThreadCommentModel, AddCommentCommand, UpdateCommentCommand, ResolveCommentCommand, DeleteCommentTreeCommand, DeleteCommentCommand } from "@univerjs/thread-comment";
7
- import { Disposable, UniverInstanceType, Inject, IUniverInstanceService, CommandType, createIdentifier, Plugin, mergeOverrideWithDependencies, DependentOn, Injector, ICommandService, IConfigService, CustomRangeType, useDependency, LocaleService, UserManagerService, generateRandomId } from "@univerjs/core";
7
+ import { Inject, Disposable, UniverInstanceType, IUniverInstanceService, CommandType, createIdentifier, DependentOn, Injector, Plugin, mergeOverrideWithDependencies, ICommandService, IConfigService, CustomRangeType, useDependency, LocaleService, UserManagerService, generateRandomId } from "@univerjs/core";
8
8
  import { ISidebarService, useObservable } from "@univerjs/ui";
9
9
  import { BehaviorSubject, filter } from "rxjs";
10
10
  import { Mentions, Mention, Button, Tooltip, Dropdown, Menu, MenuItem, Select } from "@univerjs/design";
@@ -15,11 +15,11 @@
15
15
  */
16
16
  export { getDT } from './common/utils';
17
17
  export { UniverThreadCommentUIPlugin } from './plugin';
18
- export { ThreadCommentPanelService, type ActiveCommentInfo } from './services/thread-comment-panel.service';
18
+ export { type ActiveCommentInfo, ThreadCommentPanelService } from './services/thread-comment-panel.service';
19
19
  export { ThreadCommentPanel } from './views/thread-comment-panel';
20
20
  export type { IThreadCommentPanelProps } from './views/thread-comment-panel';
21
21
  export { ThreadCommentTree } from './views/thread-comment-tree';
22
22
  export type { IThreadCommentTreeProps } from './views/thread-comment-tree';
23
23
  export { THREAD_COMMENT_PANEL } from './types/const';
24
24
  export { IThreadCommentMentionDataService, type IThreadCommentMentionDataSource } from './services/thread-comment-mention-data.service';
25
- export { ToggleSheetCommentPanelOperation, SetActiveCommentOperation, type ISetActiveCommentOperationParams } from './commands/operations/comment.operations';
25
+ export { type ISetActiveCommentOperationParams, SetActiveCommentOperation, ToggleSheetCommentPanelOperation, } from './commands/operations/comment.operations';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/thread-comment-ui",
3
- "version": "0.2.15",
3
+ "version": "0.3.0-alpha.1",
4
4
  "private": false,
5
5
  "description": "Univer common thread comment UI plugin",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -18,9 +18,6 @@
18
18
  "url": "https://github.com/dream-num/univer/issues"
19
19
  },
20
20
  "keywords": [],
21
- "sideEffects": [
22
- "**/*.css"
23
- ],
24
21
  "exports": {
25
22
  ".": {
26
23
  "import": "./lib/es/index.js",
@@ -52,35 +49,35 @@
52
49
  "dayjs": ">=1.11.0",
53
50
  "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
54
51
  "rxjs": ">=7.0.0",
55
- "@univerjs/core": "0.2.15",
56
- "@univerjs/docs": "0.2.15",
57
- "@univerjs/design": "0.2.15",
58
- "@univerjs/docs-ui": "0.2.15",
59
- "@univerjs/thread-comment": "0.2.15",
60
- "@univerjs/engine-render": "0.2.15",
61
- "@univerjs/ui": "0.2.15"
52
+ "@univerjs/core": "0.3.0-alpha.1",
53
+ "@univerjs/design": "0.3.0-alpha.1",
54
+ "@univerjs/docs": "0.3.0-alpha.1",
55
+ "@univerjs/docs-ui": "0.3.0-alpha.1",
56
+ "@univerjs/engine-render": "0.3.0-alpha.1",
57
+ "@univerjs/thread-comment": "0.3.0-alpha.1",
58
+ "@univerjs/ui": "0.3.0-alpha.1"
62
59
  },
63
60
  "dependencies": {
64
61
  "@univerjs/icons": "^0.1.78",
65
62
  "@univerjs/protocol": "0.1.39-alpha.15",
66
63
  "clsx": "^2.1.1",
67
64
  "dayjs": "^1.11.13",
68
- "@univerjs/core": "0.2.15",
69
- "@univerjs/design": "0.2.15",
70
- "@univerjs/docs": "0.2.15",
71
- "@univerjs/docs-ui": "0.2.15",
72
- "@univerjs/engine-render": "0.2.15",
73
- "@univerjs/ui": "0.2.15",
74
- "@univerjs/thread-comment": "0.2.15"
65
+ "@univerjs/core": "0.3.0-alpha.1",
66
+ "@univerjs/design": "0.3.0-alpha.1",
67
+ "@univerjs/docs-ui": "0.3.0-alpha.1",
68
+ "@univerjs/docs": "0.3.0-alpha.1",
69
+ "@univerjs/engine-render": "0.3.0-alpha.1",
70
+ "@univerjs/thread-comment": "0.3.0-alpha.1",
71
+ "@univerjs/ui": "0.3.0-alpha.1"
75
72
  },
76
73
  "devDependencies": {
77
74
  "less": "^4.2.0",
78
75
  "react": "18.3.1",
79
76
  "rxjs": "^7.8.1",
80
77
  "typescript": "^5.6.2",
81
- "vite": "^5.4.4",
82
- "vitest": "^2.0.5",
83
- "@univerjs-infra/shared": "0.2.15"
78
+ "vite": "^5.4.8",
79
+ "vitest": "^2.1.1",
80
+ "@univerjs-infra/shared": "0.3.0-alpha.1"
84
81
  },
85
82
  "univerSpace": {
86
83
  ".": {