@univerjs/preset-docs-thread-comment 1.3.1 → 1.5.0

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.
Files changed (64) hide show
  1. package/README.md +3 -5
  2. package/lib/cjs/index.js +1 -2
  3. package/lib/cjs/locales/ar-SA.js +2 -3
  4. package/lib/cjs/locales/ca-ES.js +2 -3
  5. package/lib/cjs/locales/de-DE.js +2 -3
  6. package/lib/cjs/locales/en-US.js +2 -3
  7. package/lib/cjs/locales/es-ES.js +2 -3
  8. package/lib/cjs/locales/fa-IR.js +2 -3
  9. package/lib/cjs/locales/fr-FR.js +2 -3
  10. package/lib/cjs/locales/id-ID.js +2 -3
  11. package/lib/cjs/locales/it-IT.js +2 -3
  12. package/lib/cjs/locales/ja-JP.js +2 -3
  13. package/lib/cjs/locales/ko-KR.js +2 -3
  14. package/lib/cjs/locales/pl-PL.js +2 -3
  15. package/lib/cjs/locales/pt-BR.js +2 -3
  16. package/lib/cjs/locales/ru-RU.js +2 -3
  17. package/lib/cjs/locales/sk-SK.js +2 -3
  18. package/lib/cjs/locales/vi-VN.js +2 -3
  19. package/lib/cjs/locales/zh-CN.js +2 -3
  20. package/lib/cjs/locales/zh-HK.js +2 -3
  21. package/lib/cjs/locales/zh-TW.js +2 -3
  22. package/lib/cjs/{rolldown-runtime-AN5ru5iW.js → rolldown-runtime-xuxB8TGW.js} +1 -2
  23. package/lib/es/index.js +1 -2
  24. package/lib/es/locales/ar-SA.js +1 -2
  25. package/lib/es/locales/ca-ES.js +1 -2
  26. package/lib/es/locales/de-DE.js +1 -2
  27. package/lib/es/locales/en-US.js +1 -2
  28. package/lib/es/locales/es-ES.js +1 -2
  29. package/lib/es/locales/fa-IR.js +1 -2
  30. package/lib/es/locales/fr-FR.js +1 -2
  31. package/lib/es/locales/id-ID.js +1 -2
  32. package/lib/es/locales/it-IT.js +1 -2
  33. package/lib/es/locales/ja-JP.js +1 -2
  34. package/lib/es/locales/ko-KR.js +1 -2
  35. package/lib/es/locales/pl-PL.js +1 -2
  36. package/lib/es/locales/pt-BR.js +1 -2
  37. package/lib/es/locales/ru-RU.js +1 -2
  38. package/lib/es/locales/sk-SK.js +1 -2
  39. package/lib/es/locales/vi-VN.js +1 -2
  40. package/lib/es/locales/zh-CN.js +1 -2
  41. package/lib/es/locales/zh-HK.js +1 -2
  42. package/lib/es/locales/zh-TW.js +1 -2
  43. package/lib/index.css +15 -80
  44. package/lib/index.js +1 -2
  45. package/lib/locales/ar-SA.js +1 -2
  46. package/lib/locales/ca-ES.js +1 -2
  47. package/lib/locales/de-DE.js +1 -2
  48. package/lib/locales/en-US.js +1 -2
  49. package/lib/locales/es-ES.js +1 -2
  50. package/lib/locales/fa-IR.js +1 -2
  51. package/lib/locales/fr-FR.js +1 -2
  52. package/lib/locales/id-ID.js +1 -2
  53. package/lib/locales/it-IT.js +1 -2
  54. package/lib/locales/ja-JP.js +1 -2
  55. package/lib/locales/ko-KR.js +1 -2
  56. package/lib/locales/pl-PL.js +1 -2
  57. package/lib/locales/pt-BR.js +1 -2
  58. package/lib/locales/ru-RU.js +1 -2
  59. package/lib/locales/sk-SK.js +1 -2
  60. package/lib/locales/vi-VN.js +1 -2
  61. package/lib/locales/zh-CN.js +1 -2
  62. package/lib/locales/zh-HK.js +1 -2
  63. package/lib/locales/zh-TW.js +1 -2
  64. package/package.json +10 -10
package/README.md CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  ## Package Overview
10
10
 
11
- | Package | CSS | Locales | Facade entry |
12
- | -------------------------------------- | :-: | :-----: | :----------: |
13
- | `@univerjs/preset-docs-thread-comment` | Yes | Yes | No |
11
+ | Package | UMD global | CSS | Locales | Facade entry | Worker entry |
12
+ | --- | --- | :---: | :---: | :---: | :---: |
13
+ | `@univerjs/preset-docs-thread-comment` | — | Yes | Yes | No | No |
14
14
 
15
15
  ## Installation
16
16
 
@@ -20,8 +20,6 @@ pnpm add @univerjs/preset-docs-thread-comment
20
20
  npm install @univerjs/preset-docs-thread-comment
21
21
  ```
22
22
 
23
- Keep all `@univerjs/*` packages on the same version.
24
-
25
23
  ## Usage
26
24
 
27
25
  ```ts
package/lib/cjs/index.js CHANGED
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  let _univerjs_docs_thread_comment_ui = require("@univerjs/docs-thread-comment-ui");
3
3
  let _univerjs_thread_comment_ui = require("@univerjs/thread-comment-ui");
4
4
 
5
- //#region src/preset.ts
5
+ // src/preset.ts
6
6
  /**
7
7
  * This preset add thread comment features into your application.
8
8
  *
@@ -12,7 +12,6 @@ function UniverDocsThreadCommentPreset(_config = {}) {
12
12
  return { plugins: [_univerjs_thread_comment_ui.UniverThreadCommentUIPlugin, _univerjs_docs_thread_comment_ui.UniverDocsThreadCommentUIPlugin] };
13
13
  }
14
14
 
15
- //#endregion
16
15
  exports.UniverDocsThreadCommentPreset = UniverDocsThreadCommentPreset;
17
16
  Object.keys(_univerjs_docs_thread_comment_ui).forEach(function (k) {
18
17
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_ar_SA = require("@univerjs/docs-thread-comment-ui/locale/ar-SA");
3
3
  _univerjs_docs_thread_comment_ui_locale_ar_SA = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_ar_SA);
4
4
  let _univerjs_thread_comment_ui_locale_ar_SA = require("@univerjs/thread-comment-ui/locale/ar-SA");
5
5
  _univerjs_thread_comment_ui_locale_ar_SA = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_ar_SA);
6
6
 
7
- //#region src/locales/ar-SA.ts
7
+ // src/locales/ar-SA.ts
8
8
  var ar_SA_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_ar_SA.default, _univerjs_thread_comment_ui_locale_ar_SA.default);
9
9
 
10
- //#endregion
11
10
  module.exports = ar_SA_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_ca_ES = require("@univerjs/docs-thread-comment-ui/locale/ca-ES");
3
3
  _univerjs_docs_thread_comment_ui_locale_ca_ES = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_ca_ES);
4
4
  let _univerjs_thread_comment_ui_locale_ca_ES = require("@univerjs/thread-comment-ui/locale/ca-ES");
5
5
  _univerjs_thread_comment_ui_locale_ca_ES = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_ca_ES);
6
6
 
7
- //#region src/locales/ca-ES.ts
7
+ // src/locales/ca-ES.ts
8
8
  var ca_ES_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_ca_ES.default, _univerjs_thread_comment_ui_locale_ca_ES.default);
9
9
 
10
- //#endregion
11
10
  module.exports = ca_ES_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_de_DE = require("@univerjs/docs-thread-comment-ui/locale/de-DE");
3
3
  _univerjs_docs_thread_comment_ui_locale_de_DE = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_de_DE);
4
4
  let _univerjs_thread_comment_ui_locale_de_DE = require("@univerjs/thread-comment-ui/locale/de-DE");
5
5
  _univerjs_thread_comment_ui_locale_de_DE = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_de_DE);
6
6
 
7
- //#region src/locales/de-DE.ts
7
+ // src/locales/de-DE.ts
8
8
  var de_DE_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_de_DE.default, _univerjs_thread_comment_ui_locale_de_DE.default);
9
9
 
10
- //#endregion
11
10
  module.exports = de_DE_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_en_US = require("@univerjs/docs-thread-comment-ui/locale/en-US");
3
3
  _univerjs_docs_thread_comment_ui_locale_en_US = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_en_US);
4
4
  let _univerjs_thread_comment_ui_locale_en_US = require("@univerjs/thread-comment-ui/locale/en-US");
5
5
  _univerjs_thread_comment_ui_locale_en_US = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_en_US);
6
6
 
7
- //#region src/locales/en-US.ts
7
+ // src/locales/en-US.ts
8
8
  var en_US_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_en_US.default, _univerjs_thread_comment_ui_locale_en_US.default);
9
9
 
10
- //#endregion
11
10
  module.exports = en_US_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_es_ES = require("@univerjs/docs-thread-comment-ui/locale/es-ES");
3
3
  _univerjs_docs_thread_comment_ui_locale_es_ES = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_es_ES);
4
4
  let _univerjs_thread_comment_ui_locale_es_ES = require("@univerjs/thread-comment-ui/locale/es-ES");
5
5
  _univerjs_thread_comment_ui_locale_es_ES = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_es_ES);
6
6
 
7
- //#region src/locales/es-ES.ts
7
+ // src/locales/es-ES.ts
8
8
  var es_ES_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_es_ES.default, _univerjs_thread_comment_ui_locale_es_ES.default);
9
9
 
10
- //#endregion
11
10
  module.exports = es_ES_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_fa_IR = require("@univerjs/docs-thread-comment-ui/locale/fa-IR");
3
3
  _univerjs_docs_thread_comment_ui_locale_fa_IR = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_fa_IR);
4
4
  let _univerjs_thread_comment_ui_locale_fa_IR = require("@univerjs/thread-comment-ui/locale/fa-IR");
5
5
  _univerjs_thread_comment_ui_locale_fa_IR = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_fa_IR);
6
6
 
7
- //#region src/locales/fa-IR.ts
7
+ // src/locales/fa-IR.ts
8
8
  var fa_IR_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_fa_IR.default, _univerjs_thread_comment_ui_locale_fa_IR.default);
9
9
 
10
- //#endregion
11
10
  module.exports = fa_IR_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_fr_FR = require("@univerjs/docs-thread-comment-ui/locale/fr-FR");
3
3
  _univerjs_docs_thread_comment_ui_locale_fr_FR = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_fr_FR);
4
4
  let _univerjs_thread_comment_ui_locale_fr_FR = require("@univerjs/thread-comment-ui/locale/fr-FR");
5
5
  _univerjs_thread_comment_ui_locale_fr_FR = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_fr_FR);
6
6
 
7
- //#region src/locales/fr-FR.ts
7
+ // src/locales/fr-FR.ts
8
8
  var fr_FR_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_fr_FR.default, _univerjs_thread_comment_ui_locale_fr_FR.default);
9
9
 
10
- //#endregion
11
10
  module.exports = fr_FR_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_id_ID = require("@univerjs/docs-thread-comment-ui/locale/id-ID");
3
3
  _univerjs_docs_thread_comment_ui_locale_id_ID = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_id_ID);
4
4
  let _univerjs_thread_comment_ui_locale_id_ID = require("@univerjs/thread-comment-ui/locale/id-ID");
5
5
  _univerjs_thread_comment_ui_locale_id_ID = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_id_ID);
6
6
 
7
- //#region src/locales/id-ID.ts
7
+ // src/locales/id-ID.ts
8
8
  var id_ID_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_id_ID.default, _univerjs_thread_comment_ui_locale_id_ID.default);
9
9
 
10
- //#endregion
11
10
  module.exports = id_ID_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_it_IT = require("@univerjs/docs-thread-comment-ui/locale/it-IT");
3
3
  _univerjs_docs_thread_comment_ui_locale_it_IT = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_it_IT);
4
4
  let _univerjs_thread_comment_ui_locale_it_IT = require("@univerjs/thread-comment-ui/locale/it-IT");
5
5
  _univerjs_thread_comment_ui_locale_it_IT = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_it_IT);
6
6
 
7
- //#region src/locales/it-IT.ts
7
+ // src/locales/it-IT.ts
8
8
  var it_IT_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_it_IT.default, _univerjs_thread_comment_ui_locale_it_IT.default);
9
9
 
10
- //#endregion
11
10
  module.exports = it_IT_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_ja_JP = require("@univerjs/docs-thread-comment-ui/locale/ja-JP");
3
3
  _univerjs_docs_thread_comment_ui_locale_ja_JP = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_ja_JP);
4
4
  let _univerjs_thread_comment_ui_locale_ja_JP = require("@univerjs/thread-comment-ui/locale/ja-JP");
5
5
  _univerjs_thread_comment_ui_locale_ja_JP = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_ja_JP);
6
6
 
7
- //#region src/locales/ja-JP.ts
7
+ // src/locales/ja-JP.ts
8
8
  var ja_JP_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_ja_JP.default, _univerjs_thread_comment_ui_locale_ja_JP.default);
9
9
 
10
- //#endregion
11
10
  module.exports = ja_JP_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_ko_KR = require("@univerjs/docs-thread-comment-ui/locale/ko-KR");
3
3
  _univerjs_docs_thread_comment_ui_locale_ko_KR = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_ko_KR);
4
4
  let _univerjs_thread_comment_ui_locale_ko_KR = require("@univerjs/thread-comment-ui/locale/ko-KR");
5
5
  _univerjs_thread_comment_ui_locale_ko_KR = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_ko_KR);
6
6
 
7
- //#region src/locales/ko-KR.ts
7
+ // src/locales/ko-KR.ts
8
8
  var ko_KR_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_ko_KR.default, _univerjs_thread_comment_ui_locale_ko_KR.default);
9
9
 
10
- //#endregion
11
10
  module.exports = ko_KR_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_pl_PL = require("@univerjs/docs-thread-comment-ui/locale/pl-PL");
3
3
  _univerjs_docs_thread_comment_ui_locale_pl_PL = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_pl_PL);
4
4
  let _univerjs_thread_comment_ui_locale_pl_PL = require("@univerjs/thread-comment-ui/locale/pl-PL");
5
5
  _univerjs_thread_comment_ui_locale_pl_PL = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_pl_PL);
6
6
 
7
- //#region src/locales/pl-PL.ts
7
+ // src/locales/pl-PL.ts
8
8
  var pl_PL_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_pl_PL.default, _univerjs_thread_comment_ui_locale_pl_PL.default);
9
9
 
10
- //#endregion
11
10
  module.exports = pl_PL_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_pt_BR = require("@univerjs/docs-thread-comment-ui/locale/pt-BR");
3
3
  _univerjs_docs_thread_comment_ui_locale_pt_BR = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_pt_BR);
4
4
  let _univerjs_thread_comment_ui_locale_pt_BR = require("@univerjs/thread-comment-ui/locale/pt-BR");
5
5
  _univerjs_thread_comment_ui_locale_pt_BR = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_pt_BR);
6
6
 
7
- //#region src/locales/pt-BR.ts
7
+ // src/locales/pt-BR.ts
8
8
  var pt_BR_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_pt_BR.default, _univerjs_thread_comment_ui_locale_pt_BR.default);
9
9
 
10
- //#endregion
11
10
  module.exports = pt_BR_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_ru_RU = require("@univerjs/docs-thread-comment-ui/locale/ru-RU");
3
3
  _univerjs_docs_thread_comment_ui_locale_ru_RU = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_ru_RU);
4
4
  let _univerjs_thread_comment_ui_locale_ru_RU = require("@univerjs/thread-comment-ui/locale/ru-RU");
5
5
  _univerjs_thread_comment_ui_locale_ru_RU = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_ru_RU);
6
6
 
7
- //#region src/locales/ru-RU.ts
7
+ // src/locales/ru-RU.ts
8
8
  var ru_RU_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_ru_RU.default, _univerjs_thread_comment_ui_locale_ru_RU.default);
9
9
 
10
- //#endregion
11
10
  module.exports = ru_RU_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_sk_SK = require("@univerjs/docs-thread-comment-ui/locale/sk-SK");
3
3
  _univerjs_docs_thread_comment_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_sk_SK);
4
4
  let _univerjs_thread_comment_ui_locale_sk_SK = require("@univerjs/thread-comment-ui/locale/sk-SK");
5
5
  _univerjs_thread_comment_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_sk_SK);
6
6
 
7
- //#region src/locales/sk-SK.ts
7
+ // src/locales/sk-SK.ts
8
8
  var sk_SK_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_sk_SK.default, _univerjs_thread_comment_ui_locale_sk_SK.default);
9
9
 
10
- //#endregion
11
10
  module.exports = sk_SK_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_vi_VN = require("@univerjs/docs-thread-comment-ui/locale/vi-VN");
3
3
  _univerjs_docs_thread_comment_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_vi_VN);
4
4
  let _univerjs_thread_comment_ui_locale_vi_VN = require("@univerjs/thread-comment-ui/locale/vi-VN");
5
5
  _univerjs_thread_comment_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_vi_VN);
6
6
 
7
- //#region src/locales/vi-VN.ts
7
+ // src/locales/vi-VN.ts
8
8
  var vi_VN_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_vi_VN.default, _univerjs_thread_comment_ui_locale_vi_VN.default);
9
9
 
10
- //#endregion
11
10
  module.exports = vi_VN_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_zh_CN = require("@univerjs/docs-thread-comment-ui/locale/zh-CN");
3
3
  _univerjs_docs_thread_comment_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_zh_CN);
4
4
  let _univerjs_thread_comment_ui_locale_zh_CN = require("@univerjs/thread-comment-ui/locale/zh-CN");
5
5
  _univerjs_thread_comment_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_zh_CN);
6
6
 
7
- //#region src/locales/zh-CN.ts
7
+ // src/locales/zh-CN.ts
8
8
  var zh_CN_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_zh_CN.default, _univerjs_thread_comment_ui_locale_zh_CN.default);
9
9
 
10
- //#endregion
11
10
  module.exports = zh_CN_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_zh_HK = require("@univerjs/docs-thread-comment-ui/locale/zh-HK");
3
3
  _univerjs_docs_thread_comment_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_zh_HK);
4
4
  let _univerjs_thread_comment_ui_locale_zh_HK = require("@univerjs/thread-comment-ui/locale/zh-HK");
5
5
  _univerjs_thread_comment_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_zh_HK);
6
6
 
7
- //#region src/locales/zh-HK.ts
7
+ // src/locales/zh-HK.ts
8
8
  var zh_HK_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_zh_HK.default, _univerjs_thread_comment_ui_locale_zh_HK.default);
9
9
 
10
- //#endregion
11
10
  module.exports = zh_HK_default;
@@ -1,11 +1,10 @@
1
- const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
1
+ const require_rolldown_runtime = require("../rolldown-runtime-xuxB8TGW.js");
2
2
  let _univerjs_docs_thread_comment_ui_locale_zh_TW = require("@univerjs/docs-thread-comment-ui/locale/zh-TW");
3
3
  _univerjs_docs_thread_comment_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_docs_thread_comment_ui_locale_zh_TW);
4
4
  let _univerjs_thread_comment_ui_locale_zh_TW = require("@univerjs/thread-comment-ui/locale/zh-TW");
5
5
  _univerjs_thread_comment_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_thread_comment_ui_locale_zh_TW);
6
6
 
7
- //#region src/locales/zh-TW.ts
7
+ // src/locales/zh-TW.ts
8
8
  var zh_TW_default = Object.assign({}, _univerjs_docs_thread_comment_ui_locale_zh_TW.default, _univerjs_thread_comment_ui_locale_zh_TW.default);
9
9
 
10
- //#endregion
11
10
  module.exports = zh_TW_default;
@@ -1,4 +1,4 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -24,7 +24,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  enumerable: true
25
25
  }) : target, mod));
26
26
 
27
- //#endregion
28
27
  Object.defineProperty(exports, "__toESM", {
29
28
  enumerable: true,
30
29
  get: function () {
package/lib/es/index.js CHANGED
@@ -5,7 +5,7 @@ export * from "@univerjs/docs-thread-comment-ui"
5
5
 
6
6
  export * from "@univerjs/thread-comment-ui"
7
7
 
8
- //#region src/preset.ts
8
+ // src/preset.ts
9
9
  /**
10
10
  * This preset add thread comment features into your application.
11
11
  *
@@ -15,5 +15,4 @@ function UniverDocsThreadCommentPreset(_config = {}) {
15
15
  return { plugins: [UniverThreadCommentUIPlugin, UniverDocsThreadCommentUIPlugin] };
16
16
  }
17
17
 
18
- //#endregion
19
18
  export { UniverDocsThreadCommentPreset };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ar-SA";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ar-SA";
3
3
 
4
- //#region src/locales/ar-SA.ts
4
+ // src/locales/ar-SA.ts
5
5
  var ar_SA_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ar_SA_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ca-ES";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ca-ES";
3
3
 
4
- //#region src/locales/ca-ES.ts
4
+ // src/locales/ca-ES.ts
5
5
  var ca_ES_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ca_ES_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/de-DE";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/de-DE";
3
3
 
4
- //#region src/locales/de-DE.ts
4
+ // src/locales/de-DE.ts
5
5
  var de_DE_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { de_DE_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/en-US";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/en-US";
3
3
 
4
- //#region src/locales/en-US.ts
4
+ // src/locales/en-US.ts
5
5
  var en_US_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { en_US_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/es-ES";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/es-ES";
3
3
 
4
- //#region src/locales/es-ES.ts
4
+ // src/locales/es-ES.ts
5
5
  var es_ES_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { es_ES_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/fa-IR";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/fa-IR";
3
3
 
4
- //#region src/locales/fa-IR.ts
4
+ // src/locales/fa-IR.ts
5
5
  var fa_IR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { fa_IR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/fr-FR";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/fr-FR";
3
3
 
4
- //#region src/locales/fr-FR.ts
4
+ // src/locales/fr-FR.ts
5
5
  var fr_FR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { fr_FR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/id-ID";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/id-ID";
3
3
 
4
- //#region src/locales/id-ID.ts
4
+ // src/locales/id-ID.ts
5
5
  var id_ID_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { id_ID_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/it-IT";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/it-IT";
3
3
 
4
- //#region src/locales/it-IT.ts
4
+ // src/locales/it-IT.ts
5
5
  var it_IT_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { it_IT_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ja-JP";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ja-JP";
3
3
 
4
- //#region src/locales/ja-JP.ts
4
+ // src/locales/ja-JP.ts
5
5
  var ja_JP_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ja_JP_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ko-KR";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ko-KR";
3
3
 
4
- //#region src/locales/ko-KR.ts
4
+ // src/locales/ko-KR.ts
5
5
  var ko_KR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ko_KR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/pl-PL";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/pl-PL";
3
3
 
4
- //#region src/locales/pl-PL.ts
4
+ // src/locales/pl-PL.ts
5
5
  var pl_PL_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { pl_PL_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/pt-BR";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/pt-BR";
3
3
 
4
- //#region src/locales/pt-BR.ts
4
+ // src/locales/pt-BR.ts
5
5
  var pt_BR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { pt_BR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ru-RU";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ru-RU";
3
3
 
4
- //#region src/locales/ru-RU.ts
4
+ // src/locales/ru-RU.ts
5
5
  var ru_RU_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ru_RU_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/sk-SK";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/sk-SK";
3
3
 
4
- //#region src/locales/sk-SK.ts
4
+ // src/locales/sk-SK.ts
5
5
  var sk_SK_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { sk_SK_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/vi-VN";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/vi-VN";
3
3
 
4
- //#region src/locales/vi-VN.ts
4
+ // src/locales/vi-VN.ts
5
5
  var vi_VN_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { vi_VN_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/zh-CN";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/zh-CN";
3
3
 
4
- //#region src/locales/zh-CN.ts
4
+ // src/locales/zh-CN.ts
5
5
  var zh_CN_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_CN_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/zh-HK";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/zh-HK";
3
3
 
4
- //#region src/locales/zh-HK.ts
4
+ // src/locales/zh-HK.ts
5
5
  var zh_HK_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_HK_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/zh-TW";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/zh-TW";
3
3
 
4
- //#region src/locales/zh-TW.ts
4
+ // src/locales/zh-TW.ts
5
5
  var zh_TW_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_TW_default as default };
package/lib/index.css CHANGED
@@ -79,11 +79,6 @@
79
79
  display: grid;
80
80
  }
81
81
 
82
- .univer-size-12 {
83
- width: 3rem;
84
- height: 3rem;
85
- }
86
-
87
82
  .univer-size-6 {
88
83
  width: 1.5rem;
89
84
  height: 1.5rem;
@@ -93,10 +88,6 @@
93
88
  height: .375rem;
94
89
  }
95
90
 
96
- .univer-h-10 {
97
- height: 2.5rem;
98
- }
99
-
100
91
  .univer-h-3\.5 {
101
92
  height: .875rem;
102
93
  }
@@ -137,7 +128,7 @@
137
128
  flex: 1;
138
129
  }
139
130
 
140
- .univer-flex-shrink-0, .univer-shrink-0 {
131
+ .univer-flex-shrink-0 {
141
132
  flex-shrink: 0;
142
133
  }
143
134
 
@@ -181,10 +172,6 @@
181
172
  justify-content: space-between;
182
173
  }
183
174
 
184
- .univer-gap-1 {
185
- gap: .25rem;
186
- }
187
-
188
175
  .univer-gap-2 {
189
176
  gap: .5rem;
190
177
  }
@@ -197,10 +184,6 @@
197
184
  overflow: hidden;
198
185
  }
199
186
 
200
- .univer-overflow-x-auto {
201
- overflow-x: auto;
202
- }
203
-
204
187
  .univer-overflow-y-auto {
205
188
  overflow-y: auto;
206
189
  }
@@ -239,10 +222,6 @@
239
222
  border-radius: .125rem;
240
223
  }
241
224
 
242
- .univer-rounded-xl {
243
- border-radius: .75rem;
244
- }
245
-
246
225
  .univer-rounded-t-md {
247
226
  border-top-left-radius: .375rem;
248
227
  border-top-right-radius: .375rem;
@@ -272,10 +251,6 @@
272
251
  background-color: var(--univer-gray-0);
273
252
  }
274
253
 
275
- .univer-bg-gray-100 {
276
- background-color: var(--univer-gray-100);
277
- }
278
-
279
254
  .univer-bg-gray-50 {
280
255
  background-color: var(--univer-gray-50);
281
256
  }
@@ -308,10 +283,6 @@
308
283
  padding: 0;
309
284
  }
310
285
 
311
- .univer-p-1 {
312
- padding: .25rem;
313
- }
314
-
315
286
  .univer-p-1\.5 {
316
287
  padding: .375rem;
317
288
  }
@@ -320,11 +291,6 @@
320
291
  padding: 1rem;
321
292
  }
322
293
 
323
- .univer-px-3 {
324
- padding-left: .75rem;
325
- padding-right: .75rem;
326
- }
327
-
328
294
  .univer-px-4 {
329
295
  padding-left: 1rem;
330
296
  padding-right: 1rem;
@@ -342,11 +308,6 @@
342
308
  padding-left: 30px;
343
309
  }
344
310
 
345
- .univer-text-2xl {
346
- font-size: 1.5rem;
347
- line-height: 2rem;
348
- }
349
-
350
311
  .univer-text-base {
351
312
  font-size: 1rem;
352
313
  line-height: 1.5rem;
@@ -387,10 +348,6 @@
387
348
  color: var(--univer-gray-600);
388
349
  }
389
350
 
390
- .univer-text-gray-700 {
391
- color: var(--univer-gray-700);
392
- }
393
-
394
351
  .univer-text-gray-900 {
395
352
  color: var(--univer-gray-900);
396
353
  }
@@ -399,6 +356,10 @@
399
356
  color: var(--univer-green-500);
400
357
  }
401
358
 
359
+ .univer-text-inherit {
360
+ color: inherit;
361
+ }
362
+
402
363
  .univer-text-primary-600 {
403
364
  color: var(--univer-primary-600);
404
365
  }
@@ -414,16 +375,9 @@
414
375
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
415
376
  }
416
377
 
417
- .univer-shadow-sm {
418
- --univer-tw-shadow: 0px 1px 2px 0px #1e284d14;
419
- --univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);
420
- box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px #1e284d14;
421
- box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
422
- }
423
-
424
378
  @media (hover: hover) and (pointer: fine) {
425
- .hover\:univer-bg-gray-200:hover {
426
- background-color: var(--univer-gray-200);
379
+ .hover\:univer-bg-gray-100:hover {
380
+ background-color: var(--univer-gray-100);
427
381
  }
428
382
 
429
383
  .hover\:univer-bg-gray-50:hover {
@@ -431,17 +385,6 @@
431
385
  }
432
386
  }
433
387
 
434
- .active\:univer-scale-95:active {
435
- --univer-tw-scale-x: .95;
436
- --univer-tw-scale-y: .95;
437
- transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(.95) scaleY(.95);
438
- transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
439
- }
440
-
441
- .active\:univer-bg-gray-100:active {
442
- background-color: var(--univer-gray-100);
443
- }
444
-
445
388
  .rtl\:univer-left-auto:where([dir="rtl"], [dir="rtl"] *) {
446
389
  left: auto;
447
390
  }
@@ -482,14 +425,6 @@
482
425
  border-color: var(--univer-gray-700) !important;
483
426
  }
484
427
 
485
- .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
486
- background-color: var(--univer-gray-700) !important;
487
- }
488
-
489
- .dark\:\!univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
490
- background-color: var(--univer-gray-800) !important;
491
- }
492
-
493
428
  .dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
494
429
  background-color: var(--univer-gray-900) !important;
495
430
  }
@@ -506,20 +441,16 @@
506
441
  color: var(--univer-gray-400) !important;
507
442
  }
508
443
 
509
- .dark\:\!univer-text-primary-300:where(.univer-dark, .univer-dark *) {
510
- color: var(--univer-primary-300) !important;
511
- }
512
-
513
444
  @media (hover: hover) and (pointer: fine) {
445
+ .dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark, .univer-dark *) {
446
+ background-color: var(--univer-gray-600) !important;
447
+ }
448
+
514
449
  .dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark, .univer-dark *) {
515
450
  background-color: var(--univer-gray-800) !important;
516
451
  }
517
452
  }
518
453
 
519
- .dark\:active\:\!univer-bg-gray-700:active:where(.univer-dark, .univer-dark *) {
520
- background-color: var(--univer-gray-700) !important;
521
- }
522
-
523
454
  .\[\&_button\]\:univer-block button {
524
455
  display: block;
525
456
  }
@@ -558,6 +489,10 @@
558
489
  text-align: left;
559
490
  }
560
491
 
492
+ .\[\&_button\]\:univer-text-inherit button {
493
+ color: inherit;
494
+ }
495
+
561
496
  .\[\&_button\]\:univer-transition-colors button {
562
497
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
563
498
  transition-duration: .15s;
package/lib/index.js CHANGED
@@ -5,7 +5,7 @@ export * from "@univerjs/docs-thread-comment-ui"
5
5
 
6
6
  export * from "@univerjs/thread-comment-ui"
7
7
 
8
- //#region src/preset.ts
8
+ // src/preset.ts
9
9
  /**
10
10
  * This preset add thread comment features into your application.
11
11
  *
@@ -15,5 +15,4 @@ function UniverDocsThreadCommentPreset(_config = {}) {
15
15
  return { plugins: [UniverThreadCommentUIPlugin, UniverDocsThreadCommentUIPlugin] };
16
16
  }
17
17
 
18
- //#endregion
19
18
  export { UniverDocsThreadCommentPreset };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ar-SA";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ar-SA";
3
3
 
4
- //#region src/locales/ar-SA.ts
4
+ // src/locales/ar-SA.ts
5
5
  var ar_SA_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ar_SA_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ca-ES";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ca-ES";
3
3
 
4
- //#region src/locales/ca-ES.ts
4
+ // src/locales/ca-ES.ts
5
5
  var ca_ES_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ca_ES_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/de-DE";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/de-DE";
3
3
 
4
- //#region src/locales/de-DE.ts
4
+ // src/locales/de-DE.ts
5
5
  var de_DE_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { de_DE_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/en-US";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/en-US";
3
3
 
4
- //#region src/locales/en-US.ts
4
+ // src/locales/en-US.ts
5
5
  var en_US_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { en_US_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/es-ES";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/es-ES";
3
3
 
4
- //#region src/locales/es-ES.ts
4
+ // src/locales/es-ES.ts
5
5
  var es_ES_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { es_ES_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/fa-IR";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/fa-IR";
3
3
 
4
- //#region src/locales/fa-IR.ts
4
+ // src/locales/fa-IR.ts
5
5
  var fa_IR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { fa_IR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/fr-FR";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/fr-FR";
3
3
 
4
- //#region src/locales/fr-FR.ts
4
+ // src/locales/fr-FR.ts
5
5
  var fr_FR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { fr_FR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/id-ID";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/id-ID";
3
3
 
4
- //#region src/locales/id-ID.ts
4
+ // src/locales/id-ID.ts
5
5
  var id_ID_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { id_ID_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/it-IT";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/it-IT";
3
3
 
4
- //#region src/locales/it-IT.ts
4
+ // src/locales/it-IT.ts
5
5
  var it_IT_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { it_IT_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ja-JP";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ja-JP";
3
3
 
4
- //#region src/locales/ja-JP.ts
4
+ // src/locales/ja-JP.ts
5
5
  var ja_JP_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ja_JP_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ko-KR";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ko-KR";
3
3
 
4
- //#region src/locales/ko-KR.ts
4
+ // src/locales/ko-KR.ts
5
5
  var ko_KR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ko_KR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/pl-PL";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/pl-PL";
3
3
 
4
- //#region src/locales/pl-PL.ts
4
+ // src/locales/pl-PL.ts
5
5
  var pl_PL_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { pl_PL_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/pt-BR";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/pt-BR";
3
3
 
4
- //#region src/locales/pt-BR.ts
4
+ // src/locales/pt-BR.ts
5
5
  var pt_BR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { pt_BR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ru-RU";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ru-RU";
3
3
 
4
- //#region src/locales/ru-RU.ts
4
+ // src/locales/ru-RU.ts
5
5
  var ru_RU_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ru_RU_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/sk-SK";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/sk-SK";
3
3
 
4
- //#region src/locales/sk-SK.ts
4
+ // src/locales/sk-SK.ts
5
5
  var sk_SK_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { sk_SK_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/vi-VN";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/vi-VN";
3
3
 
4
- //#region src/locales/vi-VN.ts
4
+ // src/locales/vi-VN.ts
5
5
  var vi_VN_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { vi_VN_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/zh-CN";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/zh-CN";
3
3
 
4
- //#region src/locales/zh-CN.ts
4
+ // src/locales/zh-CN.ts
5
5
  var zh_CN_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_CN_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/zh-HK";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/zh-HK";
3
3
 
4
- //#region src/locales/zh-HK.ts
4
+ // src/locales/zh-HK.ts
5
5
  var zh_HK_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_HK_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/zh-TW";
2
2
  import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/zh-TW";
3
3
 
4
- //#region src/locales/zh-TW.ts
4
+ // src/locales/zh-TW.ts
5
5
  var zh_TW_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_TW_default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-docs-thread-comment",
3
- "version": "1.3.1",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "description": "Preset for thread comments in Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -56,24 +56,24 @@
56
56
  "rxjs": ">=7.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@univerjs/docs-thread-comment-ui": "1.3.1",
60
- "@univerjs/thread-comment": "1.3.1",
61
- "@univerjs/thread-comment-ui": "1.3.1"
59
+ "@univerjs/docs-thread-comment-ui": "1.5.0",
60
+ "@univerjs/thread-comment": "1.5.0",
61
+ "@univerjs/thread-comment-ui": "1.5.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@univerjs-infra/shared": "1.3.1",
65
- "@univerjs/core": "1.3.1",
66
- "@univerjs/presets": "1.3.1",
64
+ "@univerjs-infra/shared": "1.5.0",
65
+ "@univerjs/core": "1.5.0",
66
+ "@univerjs/presets": "1.5.0",
67
67
  "react": "18.3.1",
68
68
  "react-dom": "18.3.1",
69
69
  "rxjs": "7.8.2",
70
- "typescript": "^6.0.3"
70
+ "tsrs": "0.23.0-ts7.1.0-beta"
71
71
  },
72
72
  "scripts": {
73
73
  "build:bundle": "univer-cli preset build --cleanup",
74
- "build:types": "tsc -p tsconfig.node.json",
74
+ "build:types": "tsrs -p tsconfig.node.json",
75
75
  "build": "pnpm run build:bundle && pnpm run build:types",
76
- "typecheck": "tsc --noEmit"
76
+ "typecheck": "tsrs --noEmit"
77
77
  },
78
78
  "module": "./lib/es/index.js"
79
79
  }