snapshot of https://github.com/dream-num/univer.git (dev, 2026-09-16; blobs > 131072B omitted)
Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
This commit is contained in:
45
packages/thread-comment-ui/README.md
Normal file
45
packages/thread-comment-ui/README.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# @univerjs/thread-comment-ui
|
||||
|
||||
[](https://npmjs.com/package/@univerjs/thread-comment-ui)
|
||||
[](https://npmjs.com/package/@univerjs/thread-comment-ui)
|
||||
[](https://npmjs.com/package/@univerjs/thread-comment-ui)
|
||||
|
||||
`@univerjs/thread-comment-ui` provides common thread comment UI components and services shared by Docs and Sheets integrations.
|
||||
|
||||
## Package Overview
|
||||
|
||||
| Package | UMD global | CSS | Locales | Facade entry |
|
||||
| --- | --- | :---: | :---: | :---: |
|
||||
| `@univerjs/thread-comment-ui` | `UniverThreadCommentUi` | Yes | Yes | No |
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
pnpm add @univerjs/thread-comment-ui
|
||||
# or
|
||||
npm install @univerjs/thread-comment-ui
|
||||
```
|
||||
|
||||
Keep all `@univerjs/*` packages on the same version.
|
||||
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import '@univerjs/thread-comment-ui/lib/index.css';
|
||||
import EnUS from '@univerjs/thread-comment-ui/locale/en-US';
|
||||
import { UniverThreadCommentUIPlugin } from '@univerjs/thread-comment-ui';
|
||||
|
||||
univer.registerPlugin(UniverThreadCommentUIPlugin);
|
||||
|
||||
// Merge EnUS into your Univer locale map when this package contributes UI text.
|
||||
```
|
||||
|
||||
## Integration Notes
|
||||
|
||||
Product-specific packages such as `@univerjs/sheets-thread-comment-ui` and `@univerjs/docs-thread-comment-ui` build on this shared UI layer.
|
||||
|
||||
## Resources
|
||||
|
||||
- [Documentation](https://docs.univer.ai)
|
||||
- [NPM package](https://npmjs.com/package/@univerjs/thread-comment-ui)
|
||||
- [GitHub repository](https://github.com/dream-num/univer)
|
||||
Reference in New Issue
Block a user