@univerjs/preset-sheets-collaboration 1.0.0-alpha.1 → 1.0.0-alpha.3

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 (2) hide show
  1. package/lib/index.css +72 -0
  2. package/package.json +11 -11
package/lib/index.css CHANGED
@@ -217,6 +217,14 @@
217
217
  right: 0;
218
218
  }
219
219
 
220
+ .univer-left-0 {
221
+ left: 0;
222
+ }
223
+
224
+ .univer-left-\[30px\] {
225
+ left: 30px;
226
+ }
227
+
220
228
  .univer-top-0 {
221
229
  top: 0;
222
230
  }
@@ -233,6 +241,14 @@
233
241
  margin: auto;
234
242
  }
235
243
 
244
+ .\!univer-mb-0 {
245
+ margin-bottom: 0 !important;
246
+ }
247
+
248
+ .\!univer-mt-0 {
249
+ margin-top: 0 !important;
250
+ }
251
+
236
252
  .univer-mb-0\.5 {
237
253
  margin-bottom: .125rem;
238
254
  }
@@ -253,6 +269,10 @@
253
269
  margin-left: 1.5rem;
254
270
  }
255
271
 
272
+ .univer-mr-6 {
273
+ margin-right: 1.5rem;
274
+ }
275
+
256
276
  .univer-mt-1 {
257
277
  margin-top: .25rem;
258
278
  }
@@ -285,6 +305,10 @@
285
305
  height: .25rem;
286
306
  }
287
307
 
308
+ .univer-h-1\/2 {
309
+ height: 50%;
310
+ }
311
+
288
312
  .univer-h-12 {
289
313
  height: 3rem;
290
314
  }
@@ -305,6 +329,10 @@
305
329
  height: 100%;
306
330
  }
307
331
 
332
+ .univer-h-px {
333
+ height: 1px;
334
+ }
335
+
308
336
  .univer-max-h-\[300px\] {
309
337
  max-height: 300px;
310
338
  }
@@ -317,6 +345,14 @@
317
345
  width: 2.5rem;
318
346
  }
319
347
 
348
+ .univer-w-2\.5 {
349
+ width: .625rem;
350
+ }
351
+
352
+ .univer-w-3 {
353
+ width: .75rem;
354
+ }
355
+
320
356
  .univer-w-\[calc\(100\%-16px\)\] {
321
357
  width: calc(100% - 16px);
322
358
  }
@@ -325,6 +361,10 @@
325
361
  width: 100%;
326
362
  }
327
363
 
364
+ .univer-w-px {
365
+ width: 1px;
366
+ }
367
+
328
368
  .univer-min-w-0 {
329
369
  min-width: 0;
330
370
  }
@@ -341,6 +381,12 @@
341
381
  flex-shrink: 0;
342
382
  }
343
383
 
384
+ .-univer-translate-y-1\/2 {
385
+ --univer-tw-translate-y: -50%;
386
+ transform: translate(var(--univer-tw-translate-x), -50%) 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));
387
+ 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));
388
+ }
389
+
344
390
  @keyframes univer-spin {
345
391
  to {
346
392
  transform: rotate(360deg);
@@ -648,6 +694,32 @@
648
694
  background-color: var(--univer-gray-100);
649
695
  }
650
696
 
697
+ .rtl\:univer-left-auto:where([dir="rtl"], [dir="rtl"] *) {
698
+ left: auto;
699
+ }
700
+
701
+ .rtl\:univer-right-0:where([dir="rtl"], [dir="rtl"] *) {
702
+ right: 0;
703
+ }
704
+
705
+ .rtl\:univer-right-\[30px\]:where([dir="rtl"], [dir="rtl"] *) {
706
+ right: 30px;
707
+ }
708
+
709
+ .rtl\:univer-ml-0:where([dir="rtl"], [dir="rtl"] *) {
710
+ margin-left: 0;
711
+ }
712
+
713
+ .rtl\:univer-mr-6:where([dir="rtl"], [dir="rtl"] *) {
714
+ margin-right: 1.5rem;
715
+ }
716
+
717
+ .rtl\:univer-rotate-180:where([dir="rtl"], [dir="rtl"] *) {
718
+ --univer-tw-rotate: 180deg;
719
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(180deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
720
+ 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));
721
+ }
722
+
651
723
  .dark\:\!univer-border-gray-700:where(.univer-dark, .univer-dark *) {
652
724
  border-color: var(--univer-gray-700) !important;
653
725
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-collaboration",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.3",
4
4
  "private": false,
5
5
  "description": "Preset for real-time collaboration and edit history in Univer Sheets.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -55,22 +55,22 @@
55
55
  "rxjs": ">=7.0.0"
56
56
  },
57
57
  "dependencies": {
58
- "@univerjs-pro/collaboration": "1.0.0-alpha.1",
59
- "@univerjs-pro/collaboration-client-ui": "1.0.0-alpha.1",
60
- "@univerjs-pro/collaboration-client": "1.0.0-alpha.1",
61
- "@univerjs-pro/edit-history-loader": "1.0.0-alpha.1",
62
- "@univerjs/preset-sheets-advanced": "1.0.0-alpha.1",
63
- "@univerjs-pro/edit-history-viewer": "1.0.0-alpha.1",
64
- "@univerjs-pro/thread-comment-datasource": "1.0.0-alpha.1"
58
+ "@univerjs-pro/collaboration": "1.0.0-alpha.3",
59
+ "@univerjs-pro/edit-history-loader": "1.0.0-alpha.3",
60
+ "@univerjs-pro/collaboration-client": "1.0.0-alpha.3",
61
+ "@univerjs-pro/thread-comment-datasource": "1.0.0-alpha.3",
62
+ "@univerjs/preset-sheets-advanced": "1.0.0-alpha.3",
63
+ "@univerjs-pro/collaboration-client-ui": "1.0.0-alpha.3",
64
+ "@univerjs-pro/edit-history-viewer": "1.0.0-alpha.3"
65
65
  },
66
66
  "devDependencies": {
67
67
  "react": "18.3.1",
68
68
  "react-dom": "18.3.1",
69
69
  "rxjs": "^7.8.2",
70
70
  "typescript": "^6.0.3",
71
- "@univerjs-infra/shared": "1.0.0-alpha.1",
72
- "@univerjs/core": "1.0.0-alpha.1",
73
- "@univerjs/presets": "1.0.0-alpha.1"
71
+ "@univerjs-infra/shared": "1.0.0-alpha.3",
72
+ "@univerjs/core": "1.0.0-alpha.3",
73
+ "@univerjs/presets": "1.0.0-alpha.3"
74
74
  },
75
75
  "scripts": {
76
76
  "build:bundle": "univer-cli preset build --cleanup",