@univerjs/preset-sheets-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 +11 -11
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-sheets-thread-comment` | Yes | Yes | Yes |
11
+ | Package | UMD global | CSS | Locales | Facade entry | Worker entry |
12
+ | --- | --- | :---: | :---: | :---: | :---: |
13
+ | `@univerjs/preset-sheets-thread-comment` | — | Yes | Yes | No | No |
14
14
 
15
15
  ## Installation
16
16
 
@@ -20,8 +20,6 @@ pnpm add @univerjs/preset-sheets-thread-comment
20
20
  npm install @univerjs/preset-sheets-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
@@ -4,7 +4,7 @@ let _univerjs_sheets_thread_comment_ui = require("@univerjs/sheets-thread-commen
4
4
  let _univerjs_thread_comment_ui = require("@univerjs/thread-comment-ui");
5
5
  require("@univerjs/sheets-thread-comment/facade");
6
6
 
7
- //#region src/preset.ts
7
+ // src/preset.ts
8
8
  /**
9
9
  * This preset add thread comment features into your application.
10
10
  *
@@ -18,7 +18,6 @@ function UniverSheetsThreadCommentPreset(_config = {}) {
18
18
  ] };
19
19
  }
20
20
 
21
- //#endregion
22
21
  exports.UniverSheetsThreadCommentPreset = UniverSheetsThreadCommentPreset;
23
22
  Object.keys(_univerjs_sheets_thread_comment).forEach(function (k) {
24
23
  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_sheets_thread_comment_ui_locale_ar_SA = require("@univerjs/sheets-thread-comment-ui/locale/ar-SA");
3
3
  _univerjs_sheets_thread_comment_ui_locale_ar_SA = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_ca_ES = require("@univerjs/sheets-thread-comment-ui/locale/ca-ES");
3
3
  _univerjs_sheets_thread_comment_ui_locale_ca_ES = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_de_DE = require("@univerjs/sheets-thread-comment-ui/locale/de-DE");
3
3
  _univerjs_sheets_thread_comment_ui_locale_de_DE = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_en_US = require("@univerjs/sheets-thread-comment-ui/locale/en-US");
3
3
  _univerjs_sheets_thread_comment_ui_locale_en_US = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_es_ES = require("@univerjs/sheets-thread-comment-ui/locale/es-ES");
3
3
  _univerjs_sheets_thread_comment_ui_locale_es_ES = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_fa_IR = require("@univerjs/sheets-thread-comment-ui/locale/fa-IR");
3
3
  _univerjs_sheets_thread_comment_ui_locale_fa_IR = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_fr_FR = require("@univerjs/sheets-thread-comment-ui/locale/fr-FR");
3
3
  _univerjs_sheets_thread_comment_ui_locale_fr_FR = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_id_ID = require("@univerjs/sheets-thread-comment-ui/locale/id-ID");
3
3
  _univerjs_sheets_thread_comment_ui_locale_id_ID = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_it_IT = require("@univerjs/sheets-thread-comment-ui/locale/it-IT");
3
3
  _univerjs_sheets_thread_comment_ui_locale_it_IT = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_ja_JP = require("@univerjs/sheets-thread-comment-ui/locale/ja-JP");
3
3
  _univerjs_sheets_thread_comment_ui_locale_ja_JP = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_ko_KR = require("@univerjs/sheets-thread-comment-ui/locale/ko-KR");
3
3
  _univerjs_sheets_thread_comment_ui_locale_ko_KR = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_pl_PL = require("@univerjs/sheets-thread-comment-ui/locale/pl-PL");
3
3
  _univerjs_sheets_thread_comment_ui_locale_pl_PL = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_pt_BR = require("@univerjs/sheets-thread-comment-ui/locale/pt-BR");
3
3
  _univerjs_sheets_thread_comment_ui_locale_pt_BR = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_ru_RU = require("@univerjs/sheets-thread-comment-ui/locale/ru-RU");
3
3
  _univerjs_sheets_thread_comment_ui_locale_ru_RU = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_sk_SK = require("@univerjs/sheets-thread-comment-ui/locale/sk-SK");
3
3
  _univerjs_sheets_thread_comment_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_vi_VN = require("@univerjs/sheets-thread-comment-ui/locale/vi-VN");
3
3
  _univerjs_sheets_thread_comment_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_zh_CN = require("@univerjs/sheets-thread-comment-ui/locale/zh-CN");
3
3
  _univerjs_sheets_thread_comment_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_zh_HK = require("@univerjs/sheets-thread-comment-ui/locale/zh-HK");
3
3
  _univerjs_sheets_thread_comment_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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_sheets_thread_comment_ui_locale_zh_TW = require("@univerjs/sheets-thread-comment-ui/locale/zh-TW");
3
3
  _univerjs_sheets_thread_comment_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_sheets_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_sheets_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
@@ -9,7 +9,7 @@ export * from "@univerjs/sheets-thread-comment-ui"
9
9
 
10
10
  export * from "@univerjs/thread-comment-ui"
11
11
 
12
- //#region src/preset.ts
12
+ // src/preset.ts
13
13
  /**
14
14
  * This preset add thread comment features into your application.
15
15
  *
@@ -23,5 +23,4 @@ function UniverSheetsThreadCommentPreset(_config = {}) {
23
23
  ] };
24
24
  }
25
25
 
26
- //#endregion
27
26
  export { UniverSheetsThreadCommentPreset };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ar_SA_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ca_ES_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { de_DE_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { en_US_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { es_ES_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { fa_IR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { fr_FR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { id_ID_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { it_IT_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ja_JP_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ko_KR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { pl_PL_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { pt_BR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ru_RU_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { sk_SK_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { vi_VN_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_CN_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_HK_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_TW_default as default };
package/lib/index.css CHANGED
@@ -86,11 +86,6 @@
86
86
  display: grid;
87
87
  }
88
88
 
89
- .univer-size-12 {
90
- width: 3rem;
91
- height: 3rem;
92
- }
93
-
94
89
  .univer-size-6 {
95
90
  width: 1.5rem;
96
91
  height: 1.5rem;
@@ -100,10 +95,6 @@
100
95
  height: .375rem;
101
96
  }
102
97
 
103
- .univer-h-10 {
104
- height: 2.5rem;
105
- }
106
-
107
98
  .univer-h-3\.5 {
108
99
  height: .875rem;
109
100
  }
@@ -144,7 +135,7 @@
144
135
  flex: 1;
145
136
  }
146
137
 
147
- .univer-flex-shrink-0, .univer-shrink-0 {
138
+ .univer-flex-shrink-0 {
148
139
  flex-shrink: 0;
149
140
  }
150
141
 
@@ -188,10 +179,6 @@
188
179
  justify-content: space-between;
189
180
  }
190
181
 
191
- .univer-gap-1 {
192
- gap: .25rem;
193
- }
194
-
195
182
  .univer-gap-2 {
196
183
  gap: .5rem;
197
184
  }
@@ -204,10 +191,6 @@
204
191
  overflow: hidden;
205
192
  }
206
193
 
207
- .univer-overflow-x-auto {
208
- overflow-x: auto;
209
- }
210
-
211
194
  .univer-overflow-y-auto {
212
195
  overflow-y: auto;
213
196
  }
@@ -246,10 +229,6 @@
246
229
  border-radius: .125rem;
247
230
  }
248
231
 
249
- .univer-rounded-xl {
250
- border-radius: .75rem;
251
- }
252
-
253
232
  .univer-rounded-t-md {
254
233
  border-top-left-radius: .375rem;
255
234
  border-top-right-radius: .375rem;
@@ -279,10 +258,6 @@
279
258
  background-color: var(--univer-gray-0);
280
259
  }
281
260
 
282
- .univer-bg-gray-100 {
283
- background-color: var(--univer-gray-100);
284
- }
285
-
286
261
  .univer-bg-gray-50 {
287
262
  background-color: var(--univer-gray-50);
288
263
  }
@@ -315,10 +290,6 @@
315
290
  padding: 0;
316
291
  }
317
292
 
318
- .univer-p-1 {
319
- padding: .25rem;
320
- }
321
-
322
293
  .univer-p-1\.5 {
323
294
  padding: .375rem;
324
295
  }
@@ -327,11 +298,6 @@
327
298
  padding: 1rem;
328
299
  }
329
300
 
330
- .univer-px-3 {
331
- padding-left: .75rem;
332
- padding-right: .75rem;
333
- }
334
-
335
301
  .univer-px-4 {
336
302
  padding-left: 1rem;
337
303
  padding-right: 1rem;
@@ -349,11 +315,6 @@
349
315
  padding-left: 30px;
350
316
  }
351
317
 
352
- .univer-text-2xl {
353
- font-size: 1.5rem;
354
- line-height: 2rem;
355
- }
356
-
357
318
  .univer-text-base {
358
319
  font-size: 1rem;
359
320
  line-height: 1.5rem;
@@ -394,10 +355,6 @@
394
355
  color: var(--univer-gray-600);
395
356
  }
396
357
 
397
- .univer-text-gray-700 {
398
- color: var(--univer-gray-700);
399
- }
400
-
401
358
  .univer-text-gray-900 {
402
359
  color: var(--univer-gray-900);
403
360
  }
@@ -406,6 +363,10 @@
406
363
  color: var(--univer-green-500);
407
364
  }
408
365
 
366
+ .univer-text-inherit {
367
+ color: inherit;
368
+ }
369
+
409
370
  .univer-text-primary-600 {
410
371
  color: var(--univer-primary-600);
411
372
  }
@@ -421,16 +382,9 @@
421
382
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
422
383
  }
423
384
 
424
- .univer-shadow-sm {
425
- --univer-tw-shadow: 0px 1px 2px 0px #1e284d14;
426
- --univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);
427
- box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px #1e284d14;
428
- box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
429
- }
430
-
431
385
  @media (hover: hover) and (pointer: fine) {
432
- .hover\:univer-bg-gray-200:hover {
433
- background-color: var(--univer-gray-200);
386
+ .hover\:univer-bg-gray-100:hover {
387
+ background-color: var(--univer-gray-100);
434
388
  }
435
389
 
436
390
  .hover\:univer-bg-gray-50:hover {
@@ -438,17 +392,6 @@
438
392
  }
439
393
  }
440
394
 
441
- .active\:univer-scale-95:active {
442
- --univer-tw-scale-x: .95;
443
- --univer-tw-scale-y: .95;
444
- 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);
445
- 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));
446
- }
447
-
448
- .active\:univer-bg-gray-100:active {
449
- background-color: var(--univer-gray-100);
450
- }
451
-
452
395
  .rtl\:univer-left-auto:where([dir="rtl"], [dir="rtl"] *) {
453
396
  left: auto;
454
397
  }
@@ -489,14 +432,6 @@
489
432
  border-color: var(--univer-gray-700) !important;
490
433
  }
491
434
 
492
- .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
493
- background-color: var(--univer-gray-700) !important;
494
- }
495
-
496
- .dark\:\!univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
497
- background-color: var(--univer-gray-800) !important;
498
- }
499
-
500
435
  .dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
501
436
  background-color: var(--univer-gray-900) !important;
502
437
  }
@@ -513,20 +448,16 @@
513
448
  color: var(--univer-gray-400) !important;
514
449
  }
515
450
 
516
- .dark\:\!univer-text-primary-300:where(.univer-dark, .univer-dark *) {
517
- color: var(--univer-primary-300) !important;
518
- }
519
-
520
451
  @media (hover: hover) and (pointer: fine) {
452
+ .dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark, .univer-dark *) {
453
+ background-color: var(--univer-gray-600) !important;
454
+ }
455
+
521
456
  .dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark, .univer-dark *) {
522
457
  background-color: var(--univer-gray-800) !important;
523
458
  }
524
459
  }
525
460
 
526
- .dark\:active\:\!univer-bg-gray-700:active:where(.univer-dark, .univer-dark *) {
527
- background-color: var(--univer-gray-700) !important;
528
- }
529
-
530
461
  .\[\&_button\]\:univer-block button {
531
462
  display: block;
532
463
  }
@@ -565,6 +496,10 @@
565
496
  text-align: left;
566
497
  }
567
498
 
499
+ .\[\&_button\]\:univer-text-inherit button {
500
+ color: inherit;
501
+ }
502
+
568
503
  .\[\&_button\]\:univer-transition-colors button {
569
504
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
570
505
  transition-duration: .15s;
package/lib/index.js CHANGED
@@ -9,7 +9,7 @@ export * from "@univerjs/sheets-thread-comment-ui"
9
9
 
10
10
  export * from "@univerjs/thread-comment-ui"
11
11
 
12
- //#region src/preset.ts
12
+ // src/preset.ts
13
13
  /**
14
14
  * This preset add thread comment features into your application.
15
15
  *
@@ -23,5 +23,4 @@ function UniverSheetsThreadCommentPreset(_config = {}) {
23
23
  ] };
24
24
  }
25
25
 
26
- //#endregion
27
26
  export { UniverSheetsThreadCommentPreset };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ar_SA_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ca_ES_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { de_DE_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { en_US_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { es_ES_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { fa_IR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { fr_FR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { id_ID_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { it_IT_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ja_JP_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ko_KR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { pl_PL_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { pt_BR_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { ru_RU_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { sk_SK_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { vi_VN_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_CN_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, univerjsthreadcommentui);
6
6
 
7
- //#endregion
8
7
  export { zh_HK_default as default };
@@ -1,8 +1,7 @@
1
1
  import univerjssheetsthreadcommentui from "@univerjs/sheets-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({}, univerjssheetsthreadcommentui, 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-sheets-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 Sheets.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -56,25 +56,25 @@
56
56
  "rxjs": ">=7.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@univerjs/sheets-thread-comment": "1.3.1",
60
- "@univerjs/sheets-thread-comment-ui": "1.3.1",
61
- "@univerjs/thread-comment": "1.3.1",
62
- "@univerjs/thread-comment-ui": "1.3.1"
59
+ "@univerjs/sheets-thread-comment": "1.5.0",
60
+ "@univerjs/sheets-thread-comment-ui": "1.5.0",
61
+ "@univerjs/thread-comment": "1.5.0",
62
+ "@univerjs/thread-comment-ui": "1.5.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@univerjs-infra/shared": "1.3.1",
66
- "@univerjs/core": "1.3.1",
67
- "@univerjs/presets": "1.3.1",
65
+ "@univerjs-infra/shared": "1.5.0",
66
+ "@univerjs/core": "1.5.0",
67
+ "@univerjs/presets": "1.5.0",
68
68
  "react": "18.3.1",
69
69
  "react-dom": "18.3.1",
70
70
  "rxjs": "7.8.2",
71
- "typescript": "^6.0.3"
71
+ "tsrs": "0.23.0-ts7.1.0-beta"
72
72
  },
73
73
  "scripts": {
74
74
  "build:bundle": "univer-cli preset build --cleanup",
75
- "build:types": "tsc -p tsconfig.node.json",
75
+ "build:types": "tsrs -p tsconfig.node.json",
76
76
  "build": "pnpm run build:bundle && pnpm run build:types",
77
- "typecheck": "tsc --noEmit"
77
+ "typecheck": "tsrs --noEmit"
78
78
  },
79
79
  "module": "./lib/es/index.js"
80
80
  }