@univerjs/thread-comment-ui 0.17.0 → 0.18.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 (73) hide show
  1. package/lib/cjs/index.js +55 -4
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +55 -1053
  15. package/lib/es/locale/ca-ES.js +1 -37
  16. package/lib/es/locale/en-US.js +1 -37
  17. package/lib/es/locale/es-ES.js +1 -37
  18. package/lib/es/locale/fa-IR.js +1 -37
  19. package/lib/es/locale/fr-FR.js +1 -37
  20. package/lib/es/locale/ja-JP.js +1 -37
  21. package/lib/es/locale/ko-KR.js +1 -37
  22. package/lib/es/locale/ru-RU.js +1 -37
  23. package/lib/es/locale/sk-SK.js +1 -37
  24. package/lib/es/locale/vi-VN.js +1 -37
  25. package/lib/es/locale/zh-CN.js +1 -37
  26. package/lib/es/locale/zh-TW.js +1 -37
  27. package/lib/index.css +358 -1
  28. package/lib/index.js +55 -1053
  29. package/lib/locale/ca-ES.js +1 -37
  30. package/lib/locale/en-US.js +1 -37
  31. package/lib/locale/es-ES.js +1 -37
  32. package/lib/locale/fa-IR.js +1 -37
  33. package/lib/locale/fr-FR.js +1 -37
  34. package/lib/locale/ja-JP.js +1 -37
  35. package/lib/locale/ko-KR.js +1 -37
  36. package/lib/locale/ru-RU.js +1 -37
  37. package/lib/locale/sk-SK.js +1 -37
  38. package/lib/locale/vi-VN.js +1 -37
  39. package/lib/locale/zh-CN.js +1 -37
  40. package/lib/locale/zh-TW.js +1 -37
  41. package/lib/types/commands/operations/comment.operations.d.ts +16 -1
  42. package/lib/types/config/config.d.ts +17 -2
  43. package/lib/types/locale/ca-ES.d.ts +16 -1
  44. package/lib/types/locale/es-ES.d.ts +16 -1
  45. package/lib/types/locale/fa-IR.d.ts +16 -1
  46. package/lib/types/locale/fr-FR.d.ts +16 -1
  47. package/lib/types/locale/ja-JP.d.ts +16 -1
  48. package/lib/types/locale/ko-KR.d.ts +16 -1
  49. package/lib/types/locale/ru-RU.d.ts +16 -1
  50. package/lib/types/locale/sk-SK.d.ts +16 -1
  51. package/lib/types/locale/vi-VN.d.ts +16 -1
  52. package/lib/types/locale/zh-CN.d.ts +16 -1
  53. package/lib/types/locale/zh-TW.d.ts +16 -1
  54. package/lib/types/plugin.d.ts +16 -1
  55. package/lib/types/services/thread-comment-panel.service.d.ts +19 -3
  56. package/lib/types/views/thread-comment-editor/index.d.ts +19 -3
  57. package/lib/types/views/thread-comment-editor/util.d.ts +17 -2
  58. package/lib/types/views/thread-comment-panel/index.d.ts +20 -4
  59. package/lib/types/views/thread-comment-tree/index.d.ts +17 -2
  60. package/lib/umd/index.js +55 -4
  61. package/lib/umd/locale/ca-ES.js +1 -1
  62. package/lib/umd/locale/en-US.js +1 -1
  63. package/lib/umd/locale/es-ES.js +1 -1
  64. package/lib/umd/locale/fa-IR.js +1 -1
  65. package/lib/umd/locale/fr-FR.js +1 -1
  66. package/lib/umd/locale/ja-JP.js +1 -1
  67. package/lib/umd/locale/ko-KR.js +1 -1
  68. package/lib/umd/locale/ru-RU.js +1 -1
  69. package/lib/umd/locale/sk-SK.js +1 -1
  70. package/lib/umd/locale/vi-VN.js +1 -1
  71. package/lib/umd/locale/zh-CN.js +1 -1
  72. package/lib/umd/locale/zh-TW.js +1 -1
  73. package/package.json +11 -10
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 1 0%}.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{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--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 rgba(0,0,0,0)),var(--univer-tw-ring-shadow, 0 0 rgba(0,0,0,0)),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-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
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
+ }