@univerjs/preset-docs-thread-comment 0.25.1 → 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/README.md +3 -3
  2. package/lib/cjs/index.js +29 -1
  3. package/lib/cjs/locales/ar-SA.js +11 -1
  4. package/lib/cjs/locales/ca-ES.js +11 -1
  5. package/lib/cjs/locales/de-DE.js +11 -1
  6. package/lib/cjs/locales/en-US.js +11 -1
  7. package/lib/cjs/locales/es-ES.js +11 -1
  8. package/lib/cjs/locales/fa-IR.js +11 -1
  9. package/lib/cjs/locales/fr-FR.js +11 -1
  10. package/lib/cjs/locales/id-ID.js +11 -1
  11. package/lib/cjs/locales/it-IT.js +11 -1
  12. package/lib/cjs/locales/ja-JP.js +11 -1
  13. package/lib/cjs/locales/ko-KR.js +11 -1
  14. package/lib/cjs/locales/pl-PL.js +11 -1
  15. package/lib/cjs/locales/pt-BR.js +11 -1
  16. package/lib/cjs/locales/ru-RU.js +11 -1
  17. package/lib/cjs/locales/sk-SK.js +11 -1
  18. package/lib/cjs/locales/vi-VN.js +11 -1
  19. package/lib/cjs/locales/zh-CN.js +11 -1
  20. package/lib/cjs/locales/zh-HK.js +11 -1
  21. package/lib/cjs/locales/zh-TW.js +11 -1
  22. package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
  23. package/lib/es/index.js +18 -12
  24. package/lib/es/locales/ar-SA.js +8 -10
  25. package/lib/es/locales/ca-ES.js +8 -10
  26. package/lib/es/locales/de-DE.js +8 -10
  27. package/lib/es/locales/en-US.js +8 -10
  28. package/lib/es/locales/es-ES.js +8 -10
  29. package/lib/es/locales/fa-IR.js +8 -10
  30. package/lib/es/locales/fr-FR.js +8 -10
  31. package/lib/es/locales/id-ID.js +8 -10
  32. package/lib/es/locales/it-IT.js +8 -10
  33. package/lib/es/locales/ja-JP.js +8 -10
  34. package/lib/es/locales/ko-KR.js +8 -10
  35. package/lib/es/locales/pl-PL.js +8 -10
  36. package/lib/es/locales/pt-BR.js +8 -10
  37. package/lib/es/locales/ru-RU.js +8 -10
  38. package/lib/es/locales/sk-SK.js +8 -10
  39. package/lib/es/locales/vi-VN.js +8 -10
  40. package/lib/es/locales/zh-CN.js +8 -10
  41. package/lib/es/locales/zh-HK.js +8 -10
  42. package/lib/es/locales/zh-TW.js +8 -10
  43. package/lib/index.css +358 -1
  44. package/lib/index.js +18 -12
  45. package/lib/locales/ar-SA.js +8 -10
  46. package/lib/locales/ca-ES.js +8 -10
  47. package/lib/locales/de-DE.js +8 -10
  48. package/lib/locales/en-US.js +8 -10
  49. package/lib/locales/es-ES.js +8 -10
  50. package/lib/locales/fa-IR.js +8 -10
  51. package/lib/locales/fr-FR.js +8 -10
  52. package/lib/locales/id-ID.js +8 -10
  53. package/lib/locales/it-IT.js +8 -10
  54. package/lib/locales/ja-JP.js +8 -10
  55. package/lib/locales/ko-KR.js +8 -10
  56. package/lib/locales/pl-PL.js +8 -10
  57. package/lib/locales/pt-BR.js +8 -10
  58. package/lib/locales/ru-RU.js +8 -10
  59. package/lib/locales/sk-SK.js +8 -10
  60. package/lib/locales/vi-VN.js +8 -10
  61. package/lib/locales/zh-CN.js +8 -10
  62. package/lib/locales/zh-HK.js +8 -10
  63. package/lib/locales/zh-TW.js +8 -10
  64. package/lib/types/index.d.ts +16 -1
  65. package/lib/types/locales/ar-SA.d.ts +39 -1
  66. package/lib/types/locales/ca-ES.d.ts +39 -1
  67. package/lib/types/locales/de-DE.d.ts +39 -1
  68. package/lib/types/locales/en-US.d.ts +39 -1
  69. package/lib/types/locales/es-ES.d.ts +39 -1
  70. package/lib/types/locales/fa-IR.d.ts +39 -1
  71. package/lib/types/locales/fr-FR.d.ts +39 -1
  72. package/lib/types/locales/id-ID.d.ts +39 -1
  73. package/lib/types/locales/it-IT.d.ts +39 -1
  74. package/lib/types/locales/ja-JP.d.ts +39 -1
  75. package/lib/types/locales/ko-KR.d.ts +39 -1
  76. package/lib/types/locales/pl-PL.d.ts +39 -1
  77. package/lib/types/locales/pt-BR.d.ts +39 -1
  78. package/lib/types/locales/ru-RU.d.ts +39 -1
  79. package/lib/types/locales/sk-SK.d.ts +39 -1
  80. package/lib/types/locales/vi-VN.d.ts +39 -1
  81. package/lib/types/locales/zh-CN.d.ts +39 -1
  82. package/lib/types/locales/zh-HK.d.ts +39 -1
  83. package/lib/types/locales/zh-TW.d.ts +39 -1
  84. package/lib/types/preset.d.ts +24 -0
  85. package/package.json +14 -16
  86. package/lib/types/types.d.ts +0 -11
  87. package/lib/types/umd.d.ts +0 -10
  88. package/lib/umd/index.js +0 -15
  89. package/lib/umd/locales/ar-SA.js +0 -8
  90. package/lib/umd/locales/ca-ES.js +0 -8
  91. package/lib/umd/locales/de-DE.js +0 -8
  92. package/lib/umd/locales/en-US.js +0 -8
  93. package/lib/umd/locales/es-ES.js +0 -8
  94. package/lib/umd/locales/fa-IR.js +0 -8
  95. package/lib/umd/locales/fr-FR.js +0 -8
  96. package/lib/umd/locales/id-ID.js +0 -8
  97. package/lib/umd/locales/it-IT.js +0 -8
  98. package/lib/umd/locales/ja-JP.js +0 -8
  99. package/lib/umd/locales/ko-KR.js +0 -8
  100. package/lib/umd/locales/pl-PL.js +0 -8
  101. package/lib/umd/locales/pt-BR.js +0 -8
  102. package/lib/umd/locales/ru-RU.js +0 -8
  103. package/lib/umd/locales/sk-SK.js +0 -8
  104. package/lib/umd/locales/vi-VN.js +0 -8
  105. package/lib/umd/locales/zh-CN.js +0 -8
  106. package/lib/umd/locales/zh-HK.js +0 -8
  107. package/lib/umd/locales/zh-TW.js +0 -8
@@ -1,10 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-thread-comment-ui/locale/pl-PL";
3
- import e from "@univerjs/thread-comment-ui/locale/pl-PL";
4
- const s = o(
5
- r,
6
- e
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/pl-PL";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/pl-PL";
3
+
4
+ //#region src/locales/pl-PL.ts
5
+ var pl_PL_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { pl_PL_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-thread-comment-ui/locale/pt-BR";
3
- import e from "@univerjs/thread-comment-ui/locale/pt-BR";
4
- const s = o(
5
- r,
6
- e
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/pt-BR";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/pt-BR";
3
+
4
+ //#region src/locales/pt-BR.ts
5
+ var pt_BR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { pt_BR_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import o from "@univerjs/docs-thread-comment-ui/locale/ru-RU";
3
- import e from "@univerjs/thread-comment-ui/locale/ru-RU";
4
- const s = r(
5
- o,
6
- e
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ru-RU";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ru-RU";
3
+
4
+ //#region src/locales/ru-RU.ts
5
+ var ru_RU_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { ru_RU_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-thread-comment-ui/locale/sk-SK";
3
- import e from "@univerjs/thread-comment-ui/locale/sk-SK";
4
- const s = o(
5
- r,
6
- e
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/sk-SK";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/sk-SK";
3
+
4
+ //#region src/locales/sk-SK.ts
5
+ var sk_SK_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { sk_SK_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-thread-comment-ui/locale/vi-VN";
3
- import e from "@univerjs/thread-comment-ui/locale/vi-VN";
4
- const s = o(
5
- r,
6
- e
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/vi-VN";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/vi-VN";
3
+
4
+ //#region src/locales/vi-VN.ts
5
+ var vi_VN_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { vi_VN_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-thread-comment-ui/locale/zh-CN";
3
- import e from "@univerjs/thread-comment-ui/locale/zh-CN";
4
- const s = o(
5
- r,
6
- e
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/zh-CN";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/zh-CN";
3
+
4
+ //#region src/locales/zh-CN.ts
5
+ var zh_CN_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { zh_CN_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-thread-comment-ui/locale/zh-HK";
3
- import e from "@univerjs/thread-comment-ui/locale/zh-HK";
4
- const s = o(
5
- r,
6
- e
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/zh-HK";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/zh-HK";
3
+
4
+ //#region src/locales/zh-HK.ts
5
+ var zh_HK_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { zh_HK_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-thread-comment-ui/locale/zh-TW";
3
- import e from "@univerjs/thread-comment-ui/locale/zh-TW";
4
- const s = o(
5
- r,
6
- e
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/zh-TW";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/zh-TW";
3
+
4
+ //#region src/locales/zh-TW.ts
5
+ var zh_TW_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { zh_TW_default as default };
package/lib/index.css CHANGED
@@ -1 +1,358 @@
1
- .univer-absolute{position:absolute}.univer-relative{position:relative}.univer-left-0{left:0}.univer-right-0{right:0}.univer-top-0{top:0}.univer-m-0{margin:0}.univer-mb-1{margin-bottom:.25rem}.univer-mb-3{margin-bottom:.75rem}.univer-mb-4{margin-bottom:1rem}.univer-ml-1{margin-left:.25rem}.univer-mr-1\.5{margin-right:.375rem}.univer-mr-2{margin-right:.5rem}.univer-mt-2{margin-top:.5rem}.univer-mt-3{margin-top:.75rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-inline-flex{display:inline-flex}.univer-grid{display:grid}.univer-size-6{width:1.5rem;height:1.5rem}.univer-h-1\.5{height:.375rem}.univer-h-3\.5{height:.875rem}.univer-h-6{height:1.5rem}.univer-max-h-80{max-height:20rem}.univer-min-h-full{min-height:100%}.univer-w-\[278px\]{width:278px}.univer-w-\[3px\]{width:3px}.univer-w-full{width:100%}.univer-flex-1{flex:1}.univer-flex-shrink-0{flex-shrink:0}.univer-flex-grow-0{flex-grow:0}.univer-cursor-pointer{cursor:pointer}.univer-list-none{list-style-type:none}.univer-flex-row{flex-direction:row}.univer-flex-col{flex-direction:column}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-2{gap:.5rem}.univer-gap-3{gap:.75rem}.univer-overflow-hidden{overflow:hidden}.univer-overflow-y-auto{overflow-y:auto}.univer-overflow-x-hidden{overflow-x:hidden}.univer-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.univer-break-words{word-wrap:break-word}.univer-rounded-\[3px\]{border-radius:3px}.univer-rounded-full{border-radius:9999px}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-rounded-sm{border-radius:.125rem}.univer-rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.\!univer-bg-gray-900{background-color:var(--univer-gray-900)!important}.univer-bg-gray-50{background-color:var(--univer-gray-50)}.univer-bg-white{background-color:var(--univer-white)}.univer-bg-yellow-400{background-color:var(--univer-yellow-400)}.univer-bg-yellow-500{background-color:var(--univer-yellow-500)}.univer-bg-cover{background-size:cover}.univer-bg-center{background-position:center}.univer-bg-no-repeat{background-repeat:no-repeat}.univer-p-1\.5{padding:.375rem}.univer-p-4{padding:1rem}.univer-pb-3{padding-bottom:.75rem}.univer-pl-\[30px\]{padding-left:30px}.univer-text-base{font-size:1rem;line-height:1.5rem}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-text-xs\/normal{font-size:.75rem;line-height:1.5}.univer-font-medium{font-weight:500}.univer-leading-5{line-height:1.25rem}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-green-500{color:var(--univer-green-500)}.univer-text-primary-600{color:var(--univer-primary-600)}.univer-shadow{--univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,0 1px 3px #0000001a,0 1px 2px -1px #0000001a;box-shadow:var(--univer-tw-ring-offset-shadow, 0 0 #0000),var(--univer-tw-ring-shadow, 0 0 #0000),var(--univer-tw-shadow)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.hover\:univer-bg-gray-50:hover{background-color:var(--univer-gray-50)}.dark\:\!univer-bg-gray-900:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-900)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-800)!important}.\[\&_a\]\:univer-block a{display:block}.\[\&_a\]\:univer-cursor-pointer a{cursor:pointer}.\[\&_a\]\:univer-rounded a{border-radius:.25rem}.\[\&_a\]\:univer-px-2 a{padding-left:.5rem;padding-right:.5rem}.\[\&_a\]\:univer-py-1\.5 a{padding-top:.375rem;padding-bottom:.375rem}.\[\&_a\]\:univer-transition-colors a{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}
1
+ .univer-absolute {
2
+ position: absolute;
3
+ }
4
+
5
+ .univer-relative {
6
+ position: relative;
7
+ }
8
+
9
+ .univer-left-0 {
10
+ left: 0;
11
+ }
12
+
13
+ .univer-right-0 {
14
+ right: 0;
15
+ }
16
+
17
+ .univer-top-0 {
18
+ top: 0;
19
+ }
20
+
21
+ .univer-m-0 {
22
+ margin: 0;
23
+ }
24
+
25
+ .univer-mb-1 {
26
+ margin-bottom: .25rem;
27
+ }
28
+
29
+ .univer-mb-3 {
30
+ margin-bottom: .75rem;
31
+ }
32
+
33
+ .univer-mb-4 {
34
+ margin-bottom: 1rem;
35
+ }
36
+
37
+ .univer-ml-1 {
38
+ margin-left: .25rem;
39
+ }
40
+
41
+ .univer-mr-1\.5 {
42
+ margin-right: .375rem;
43
+ }
44
+
45
+ .univer-mr-2 {
46
+ margin-right: .5rem;
47
+ }
48
+
49
+ .univer-mt-2 {
50
+ margin-top: .5rem;
51
+ }
52
+
53
+ .univer-mt-3 {
54
+ margin-top: .75rem;
55
+ }
56
+
57
+ .univer-box-border {
58
+ box-sizing: border-box;
59
+ }
60
+
61
+ .univer-flex {
62
+ display: flex;
63
+ }
64
+
65
+ .univer-inline-flex {
66
+ display: inline-flex;
67
+ }
68
+
69
+ .univer-grid {
70
+ display: grid;
71
+ }
72
+
73
+ .univer-size-6 {
74
+ width: 1.5rem;
75
+ height: 1.5rem;
76
+ }
77
+
78
+ .univer-h-1\.5 {
79
+ height: .375rem;
80
+ }
81
+
82
+ .univer-h-3\.5 {
83
+ height: .875rem;
84
+ }
85
+
86
+ .univer-h-6 {
87
+ height: 1.5rem;
88
+ }
89
+
90
+ .univer-max-h-80 {
91
+ max-height: 20rem;
92
+ }
93
+
94
+ .univer-min-h-full {
95
+ min-height: 100%;
96
+ }
97
+
98
+ .univer-w-\[278px\] {
99
+ width: 278px;
100
+ }
101
+
102
+ .univer-w-\[3px\] {
103
+ width: 3px;
104
+ }
105
+
106
+ .univer-w-full {
107
+ width: 100%;
108
+ }
109
+
110
+ .univer-flex-1 {
111
+ flex: 1;
112
+ }
113
+
114
+ .univer-flex-shrink-0 {
115
+ flex-shrink: 0;
116
+ }
117
+
118
+ .univer-flex-grow-0 {
119
+ flex-grow: 0;
120
+ }
121
+
122
+ .univer-cursor-pointer {
123
+ cursor: pointer;
124
+ }
125
+
126
+ .univer-list-none {
127
+ list-style-type: none;
128
+ }
129
+
130
+ .univer-flex-row {
131
+ flex-direction: row;
132
+ }
133
+
134
+ .univer-flex-col {
135
+ flex-direction: column;
136
+ }
137
+
138
+ .univer-items-center {
139
+ align-items: center;
140
+ }
141
+
142
+ .univer-justify-end {
143
+ justify-content: flex-end;
144
+ }
145
+
146
+ .univer-justify-center {
147
+ justify-content: center;
148
+ }
149
+
150
+ .univer-justify-between {
151
+ justify-content: space-between;
152
+ }
153
+
154
+ .univer-gap-2 {
155
+ gap: .5rem;
156
+ }
157
+
158
+ .univer-gap-3 {
159
+ gap: .75rem;
160
+ }
161
+
162
+ .univer-overflow-hidden {
163
+ overflow: hidden;
164
+ }
165
+
166
+ .univer-overflow-y-auto {
167
+ overflow-y: auto;
168
+ }
169
+
170
+ .univer-overflow-x-hidden {
171
+ overflow-x: hidden;
172
+ }
173
+
174
+ .univer-truncate {
175
+ text-overflow: ellipsis;
176
+ white-space: nowrap;
177
+ overflow: hidden;
178
+ }
179
+
180
+ .univer-break-words {
181
+ word-wrap: break-word;
182
+ }
183
+
184
+ .univer-rounded-\[3px\] {
185
+ border-radius: 3px;
186
+ }
187
+
188
+ .univer-rounded-full {
189
+ border-radius: 9999px;
190
+ }
191
+
192
+ .univer-rounded-lg {
193
+ border-radius: .5rem;
194
+ }
195
+
196
+ .univer-rounded-md {
197
+ border-radius: .375rem;
198
+ }
199
+
200
+ .univer-rounded-sm {
201
+ border-radius: .125rem;
202
+ }
203
+
204
+ .univer-rounded-t-md {
205
+ border-top-left-radius: .375rem;
206
+ border-top-right-radius: .375rem;
207
+ }
208
+
209
+ .\!univer-bg-gray-900 {
210
+ background-color: var(--univer-gray-900) !important;
211
+ }
212
+
213
+ .univer-bg-gray-50 {
214
+ background-color: var(--univer-gray-50);
215
+ }
216
+
217
+ .univer-bg-white {
218
+ background-color: var(--univer-white);
219
+ }
220
+
221
+ .univer-bg-yellow-400 {
222
+ background-color: var(--univer-yellow-400);
223
+ }
224
+
225
+ .univer-bg-yellow-500 {
226
+ background-color: var(--univer-yellow-500);
227
+ }
228
+
229
+ .univer-bg-cover {
230
+ background-size: cover;
231
+ }
232
+
233
+ .univer-bg-center {
234
+ background-position: center;
235
+ }
236
+
237
+ .univer-bg-no-repeat {
238
+ background-repeat: no-repeat;
239
+ }
240
+
241
+ .univer-p-1\.5 {
242
+ padding: .375rem;
243
+ }
244
+
245
+ .univer-p-4 {
246
+ padding: 1rem;
247
+ }
248
+
249
+ .univer-pb-3 {
250
+ padding-bottom: .75rem;
251
+ }
252
+
253
+ .univer-pl-\[30px\] {
254
+ padding-left: 30px;
255
+ }
256
+
257
+ .univer-text-base {
258
+ font-size: 1rem;
259
+ line-height: 1.5rem;
260
+ }
261
+
262
+ .univer-text-sm {
263
+ font-size: .875rem;
264
+ line-height: 1.25rem;
265
+ }
266
+
267
+ .univer-text-xs {
268
+ font-size: .75rem;
269
+ line-height: 1rem;
270
+ }
271
+
272
+ .univer-text-xs\/normal {
273
+ font-size: .75rem;
274
+ line-height: 1.5;
275
+ }
276
+
277
+ .univer-font-medium {
278
+ font-weight: 500;
279
+ }
280
+
281
+ .univer-leading-5 {
282
+ line-height: 1.25rem;
283
+ }
284
+
285
+ .univer-text-gray-600 {
286
+ color: var(--univer-gray-600);
287
+ }
288
+
289
+ .univer-text-gray-900 {
290
+ color: var(--univer-gray-900);
291
+ }
292
+
293
+ .univer-text-green-500 {
294
+ color: var(--univer-green-500);
295
+ }
296
+
297
+ .univer-text-primary-600 {
298
+ color: var(--univer-primary-600);
299
+ }
300
+
301
+ .univer-shadow {
302
+ --univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
303
+ --univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);
304
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px #0000001a, 0 1px 2px -1px #0000001a;
305
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
306
+ }
307
+
308
+ .hover\:univer-bg-gray-200:hover {
309
+ background-color: var(--univer-gray-200);
310
+ }
311
+
312
+ .hover\:univer-bg-gray-50:hover {
313
+ background-color: var(--univer-gray-50);
314
+ }
315
+
316
+ .dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
317
+ background-color: var(--univer-gray-900) !important;
318
+ }
319
+
320
+ .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
321
+ color: var(--univer-gray-200) !important;
322
+ }
323
+
324
+ .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
325
+ color: var(--univer-white) !important;
326
+ }
327
+
328
+ .dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark, .univer-dark *) {
329
+ background-color: var(--univer-gray-800) !important;
330
+ }
331
+
332
+ .\[\&_a\]\:univer-block a {
333
+ display: block;
334
+ }
335
+
336
+ .\[\&_a\]\:univer-cursor-pointer a {
337
+ cursor: pointer;
338
+ }
339
+
340
+ .\[\&_a\]\:univer-rounded a {
341
+ border-radius: .25rem;
342
+ }
343
+
344
+ .\[\&_a\]\:univer-px-2 a {
345
+ padding-left: .5rem;
346
+ padding-right: .5rem;
347
+ }
348
+
349
+ .\[\&_a\]\:univer-py-1\.5 a {
350
+ padding-top: .375rem;
351
+ padding-bottom: .375rem;
352
+ }
353
+
354
+ .\[\&_a\]\:univer-transition-colors a {
355
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
356
+ transition-duration: .15s;
357
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
358
+ }
package/lib/index.js CHANGED
@@ -1,13 +1,19 @@
1
- import { UniverDocsThreadCommentUIPlugin as r } from "@univerjs/docs-thread-comment-ui";
2
- export * from "@univerjs/docs-thread-comment-ui";
3
- import { UniverThreadCommentUIPlugin as o } from "@univerjs/thread-comment-ui";
4
- export * from "@univerjs/thread-comment-ui";
5
- function i(e = {}) {
6
- return { plugins: [
7
- o,
8
- r
9
- ] };
1
+ import { UniverDocsThreadCommentUIPlugin } from "@univerjs/docs-thread-comment-ui";
2
+ import { UniverThreadCommentUIPlugin } from "@univerjs/thread-comment-ui";
3
+
4
+ export * from "@univerjs/docs-thread-comment-ui"
5
+
6
+ export * from "@univerjs/thread-comment-ui"
7
+
8
+ //#region src/preset.ts
9
+ /**
10
+ * This preset add thread comment features into your application.
11
+ *
12
+ * @param {Partial<IUniverDocsThreadCommentPresetConfig>} config - The configuration object.
13
+ */
14
+ function UniverDocsThreadCommentPreset(_config = {}) {
15
+ return { plugins: [UniverThreadCommentUIPlugin, UniverDocsThreadCommentUIPlugin] };
10
16
  }
11
- export {
12
- i as UniverDocsThreadCommentPreset
13
- };
17
+
18
+ //#endregion
19
+ export { UniverDocsThreadCommentPreset };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as r } from "@univerjs/core";
2
- import o from "@univerjs/docs-thread-comment-ui/locale/ar-SA";
3
- import e from "@univerjs/thread-comment-ui/locale/ar-SA";
4
- const a = r(
5
- o,
6
- e
7
- );
8
- export {
9
- a as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ar-SA";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ar-SA";
3
+
4
+ //#region src/locales/ar-SA.ts
5
+ var ar_SA_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { ar_SA_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-thread-comment-ui/locale/ca-ES";
3
- import e from "@univerjs/thread-comment-ui/locale/ca-ES";
4
- const a = o(
5
- r,
6
- e
7
- );
8
- export {
9
- a as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/ca-ES";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/ca-ES";
3
+
4
+ //#region src/locales/ca-ES.ts
5
+ var ca_ES_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { ca_ES_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import o from "@univerjs/docs-thread-comment-ui/locale/de-DE";
3
- import r from "@univerjs/thread-comment-ui/locale/de-DE";
4
- const s = e(
5
- o,
6
- r
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/de-DE";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/de-DE";
3
+
4
+ //#region src/locales/de-DE.ts
5
+ var de_DE_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { de_DE_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import o from "@univerjs/docs-thread-comment-ui/locale/en-US";
3
- import r from "@univerjs/thread-comment-ui/locale/en-US";
4
- const n = e(
5
- o,
6
- r
7
- );
8
- export {
9
- n as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/en-US";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/en-US";
3
+
4
+ //#region src/locales/en-US.ts
5
+ var en_US_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { en_US_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as e } from "@univerjs/core";
2
- import o from "@univerjs/docs-thread-comment-ui/locale/es-ES";
3
- import r from "@univerjs/thread-comment-ui/locale/es-ES";
4
- const s = e(
5
- o,
6
- r
7
- );
8
- export {
9
- s as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/es-ES";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/es-ES";
3
+
4
+ //#region src/locales/es-ES.ts
5
+ var es_ES_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { es_ES_default as default };
@@ -1,10 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/docs-thread-comment-ui/locale/fa-IR";
3
- import e from "@univerjs/thread-comment-ui/locale/fa-IR";
4
- const a = o(
5
- r,
6
- e
7
- );
8
- export {
9
- a as default
10
- };
1
+ import univerjsdocsthreadcommentui from "@univerjs/docs-thread-comment-ui/locale/fa-IR";
2
+ import univerjsthreadcommentui from "@univerjs/thread-comment-ui/locale/fa-IR";
3
+
4
+ //#region src/locales/fa-IR.ts
5
+ var fa_IR_default = Object.assign({}, univerjsdocsthreadcommentui, univerjsthreadcommentui);
6
+
7
+ //#endregion
8
+ export { fa_IR_default as default };