@univerjs/preset-sheets-drawing 1.3.0 → 1.4.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.
- package/lib/cjs/index.js +1 -2
- package/lib/cjs/locales/ar-SA.js +2 -3
- package/lib/cjs/locales/ca-ES.js +2 -3
- package/lib/cjs/locales/de-DE.js +2 -3
- package/lib/cjs/locales/en-US.js +2 -3
- package/lib/cjs/locales/es-ES.js +2 -3
- package/lib/cjs/locales/fa-IR.js +2 -3
- package/lib/cjs/locales/fr-FR.js +2 -3
- package/lib/cjs/locales/id-ID.js +2 -3
- package/lib/cjs/locales/it-IT.js +2 -3
- package/lib/cjs/locales/ja-JP.js +2 -3
- package/lib/cjs/locales/ko-KR.js +2 -3
- package/lib/cjs/locales/pl-PL.js +2 -3
- package/lib/cjs/locales/pt-BR.js +2 -3
- package/lib/cjs/locales/ru-RU.js +2 -3
- package/lib/cjs/locales/sk-SK.js +2 -3
- package/lib/cjs/locales/vi-VN.js +2 -3
- package/lib/cjs/locales/zh-CN.js +2 -3
- package/lib/cjs/locales/zh-HK.js +2 -3
- package/lib/cjs/locales/zh-TW.js +2 -3
- package/lib/cjs/{rolldown-runtime-AN5ru5iW.js → rolldown-runtime-xuxB8TGW.js} +1 -2
- package/lib/es/index.js +1 -2
- package/lib/es/locales/ar-SA.js +1 -2
- package/lib/es/locales/ca-ES.js +1 -2
- package/lib/es/locales/de-DE.js +1 -2
- package/lib/es/locales/en-US.js +1 -2
- package/lib/es/locales/es-ES.js +1 -2
- package/lib/es/locales/fa-IR.js +1 -2
- package/lib/es/locales/fr-FR.js +1 -2
- package/lib/es/locales/id-ID.js +1 -2
- package/lib/es/locales/it-IT.js +1 -2
- package/lib/es/locales/ja-JP.js +1 -2
- package/lib/es/locales/ko-KR.js +1 -2
- package/lib/es/locales/pl-PL.js +1 -2
- package/lib/es/locales/pt-BR.js +1 -2
- package/lib/es/locales/ru-RU.js +1 -2
- package/lib/es/locales/sk-SK.js +1 -2
- package/lib/es/locales/vi-VN.js +1 -2
- package/lib/es/locales/zh-CN.js +1 -2
- package/lib/es/locales/zh-HK.js +1 -2
- package/lib/es/locales/zh-TW.js +1 -2
- package/lib/index.css +301 -0
- package/lib/index.js +1 -2
- package/lib/locales/ar-SA.js +1 -2
- package/lib/locales/ca-ES.js +1 -2
- package/lib/locales/de-DE.js +1 -2
- package/lib/locales/en-US.js +1 -2
- package/lib/locales/es-ES.js +1 -2
- package/lib/locales/fa-IR.js +1 -2
- package/lib/locales/fr-FR.js +1 -2
- package/lib/locales/id-ID.js +1 -2
- package/lib/locales/it-IT.js +1 -2
- package/lib/locales/ja-JP.js +1 -2
- package/lib/locales/ko-KR.js +1 -2
- package/lib/locales/pl-PL.js +1 -2
- package/lib/locales/pt-BR.js +1 -2
- package/lib/locales/ru-RU.js +1 -2
- package/lib/locales/sk-SK.js +1 -2
- package/lib/locales/vi-VN.js +1 -2
- package/lib/locales/zh-CN.js +1 -2
- package/lib/locales/zh-HK.js +1 -2
- package/lib/locales/zh-TW.js +1 -2
- package/lib/types/locales/ar-SA.d.ts +37 -0
- package/lib/types/locales/ca-ES.d.ts +37 -0
- package/lib/types/locales/de-DE.d.ts +37 -0
- package/lib/types/locales/en-US.d.ts +37 -0
- package/lib/types/locales/es-ES.d.ts +37 -0
- package/lib/types/locales/fa-IR.d.ts +37 -0
- package/lib/types/locales/fr-FR.d.ts +37 -0
- package/lib/types/locales/id-ID.d.ts +37 -0
- package/lib/types/locales/it-IT.d.ts +37 -0
- package/lib/types/locales/ja-JP.d.ts +37 -0
- package/lib/types/locales/ko-KR.d.ts +37 -0
- package/lib/types/locales/pl-PL.d.ts +37 -0
- package/lib/types/locales/pt-BR.d.ts +37 -0
- package/lib/types/locales/ru-RU.d.ts +37 -0
- package/lib/types/locales/sk-SK.d.ts +37 -0
- package/lib/types/locales/vi-VN.d.ts +37 -0
- package/lib/types/locales/zh-CN.d.ts +37 -0
- package/lib/types/locales/zh-HK.d.ts +37 -0
- package/lib/types/locales/zh-TW.d.ts +37 -0
- package/package.json +12 -12
package/lib/index.css
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
.\!univer-pointer-events-none {
|
|
2
|
+
pointer-events: none !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.univer-pointer-events-none {
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
.univer-absolute {
|
|
2
10
|
position: absolute;
|
|
3
11
|
}
|
|
@@ -11,6 +19,18 @@
|
|
|
11
19
|
right: 0;
|
|
12
20
|
}
|
|
13
21
|
|
|
22
|
+
.\!univer-end-2 {
|
|
23
|
+
right: .5rem !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.\!univer-start-auto {
|
|
27
|
+
left: auto !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.\!univer-top-2 {
|
|
31
|
+
top: .5rem !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
14
34
|
.univer-bottom-0 {
|
|
15
35
|
bottom: 0;
|
|
16
36
|
}
|
|
@@ -19,10 +39,27 @@
|
|
|
19
39
|
z-index: 1200;
|
|
20
40
|
}
|
|
21
41
|
|
|
42
|
+
.univer-col-start-2 {
|
|
43
|
+
grid-column-start: 2;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.\!univer-m-0 {
|
|
47
|
+
margin: 0 !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
22
50
|
.univer-m-0 {
|
|
23
51
|
margin: 0;
|
|
24
52
|
}
|
|
25
53
|
|
|
54
|
+
.univer-mx-0\.5 {
|
|
55
|
+
margin-left: .125rem;
|
|
56
|
+
margin-right: .125rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.univer-mt-1 {
|
|
60
|
+
margin-top: .25rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
26
63
|
.univer-mt-2\.5 {
|
|
27
64
|
margin-top: .625rem;
|
|
28
65
|
}
|
|
@@ -39,6 +76,14 @@
|
|
|
39
76
|
display: flex;
|
|
40
77
|
}
|
|
41
78
|
|
|
79
|
+
.univer-inline-flex {
|
|
80
|
+
display: inline-flex;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.\!univer-grid {
|
|
84
|
+
display: grid !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
42
87
|
.univer-grid {
|
|
43
88
|
display: grid;
|
|
44
89
|
}
|
|
@@ -67,15 +112,36 @@
|
|
|
67
112
|
height: 1.75rem;
|
|
68
113
|
}
|
|
69
114
|
|
|
115
|
+
.univer-size-8 {
|
|
116
|
+
width: 2rem;
|
|
117
|
+
height: 2rem;
|
|
118
|
+
}
|
|
119
|
+
|
|
70
120
|
.univer-size-full {
|
|
71
121
|
width: 100%;
|
|
72
122
|
height: 100%;
|
|
73
123
|
}
|
|
74
124
|
|
|
125
|
+
.\!univer-h-4 {
|
|
126
|
+
height: 1rem !important;
|
|
127
|
+
}
|
|
128
|
+
|
|
75
129
|
.\!univer-h-7 {
|
|
76
130
|
height: 1.75rem !important;
|
|
77
131
|
}
|
|
78
132
|
|
|
133
|
+
.\!univer-h-8 {
|
|
134
|
+
height: 2rem !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.univer-h-1 {
|
|
138
|
+
height: .25rem;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.univer-h-10 {
|
|
142
|
+
height: 2.5rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
79
145
|
.univer-h-11 {
|
|
80
146
|
height: 2.75rem;
|
|
81
147
|
}
|
|
@@ -128,10 +194,26 @@
|
|
|
128
194
|
width: 1.5rem;
|
|
129
195
|
}
|
|
130
196
|
|
|
197
|
+
.univer-w-60 {
|
|
198
|
+
width: 15rem;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.univer-w-80 {
|
|
202
|
+
width: 20rem;
|
|
203
|
+
}
|
|
204
|
+
|
|
131
205
|
.univer-w-full {
|
|
132
206
|
width: 100%;
|
|
133
207
|
}
|
|
134
208
|
|
|
209
|
+
.univer-w-max {
|
|
210
|
+
width: max-content;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.\!univer-min-w-0 {
|
|
214
|
+
min-width: 0 !important;
|
|
215
|
+
}
|
|
216
|
+
|
|
135
217
|
.univer-min-w-0 {
|
|
136
218
|
min-width: 0;
|
|
137
219
|
}
|
|
@@ -144,6 +226,10 @@
|
|
|
144
226
|
min-width: 2.25rem;
|
|
145
227
|
}
|
|
146
228
|
|
|
229
|
+
.univer-max-w-80 {
|
|
230
|
+
max-width: 20rem;
|
|
231
|
+
}
|
|
232
|
+
|
|
147
233
|
.univer-max-w-full {
|
|
148
234
|
max-width: 100%;
|
|
149
235
|
}
|
|
@@ -172,6 +258,20 @@
|
|
|
172
258
|
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));
|
|
173
259
|
}
|
|
174
260
|
|
|
261
|
+
.\!univer-transform-none {
|
|
262
|
+
transform: none !important;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
@keyframes univer-spin {
|
|
266
|
+
to {
|
|
267
|
+
transform: rotate(360deg);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.univer-animate-spin {
|
|
272
|
+
animation: 1s linear infinite univer-spin;
|
|
273
|
+
}
|
|
274
|
+
|
|
175
275
|
.univer-cursor-not-allowed {
|
|
176
276
|
cursor: not-allowed;
|
|
177
277
|
}
|
|
@@ -180,6 +280,10 @@
|
|
|
180
280
|
resize: none;
|
|
181
281
|
}
|
|
182
282
|
|
|
283
|
+
.\!univer-grid-cols-\[20px_minmax\(0\,1fr\)\] {
|
|
284
|
+
grid-template-columns: 20px minmax(0, 1fr) !important;
|
|
285
|
+
}
|
|
286
|
+
|
|
183
287
|
.univer-grid-cols-2 {
|
|
184
288
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
185
289
|
}
|
|
@@ -192,6 +296,14 @@
|
|
|
192
296
|
flex-direction: column;
|
|
193
297
|
}
|
|
194
298
|
|
|
299
|
+
.univer-flex-nowrap {
|
|
300
|
+
flex-wrap: nowrap;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.\!univer-items-start {
|
|
304
|
+
align-items: flex-start !important;
|
|
305
|
+
}
|
|
306
|
+
|
|
195
307
|
.univer-items-center {
|
|
196
308
|
align-items: center;
|
|
197
309
|
}
|
|
@@ -208,6 +320,10 @@
|
|
|
208
320
|
justify-content: space-between;
|
|
209
321
|
}
|
|
210
322
|
|
|
323
|
+
.\!univer-gap-1 {
|
|
324
|
+
gap: .25rem !important;
|
|
325
|
+
}
|
|
326
|
+
|
|
211
327
|
.univer-gap-0\.5 {
|
|
212
328
|
gap: .125rem;
|
|
213
329
|
}
|
|
@@ -228,6 +344,23 @@
|
|
|
228
344
|
gap: .75rem;
|
|
229
345
|
}
|
|
230
346
|
|
|
347
|
+
.\!univer-gap-x-3 {
|
|
348
|
+
-moz-column-gap: .75rem !important;
|
|
349
|
+
column-gap: .75rem !important;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.\!univer-gap-y-3 {
|
|
353
|
+
row-gap: .75rem !important;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.\!univer-self-start {
|
|
357
|
+
align-self: flex-start !important;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.univer-justify-self-end {
|
|
361
|
+
justify-self: end;
|
|
362
|
+
}
|
|
363
|
+
|
|
231
364
|
.univer-overflow-hidden {
|
|
232
365
|
overflow: hidden;
|
|
233
366
|
}
|
|
@@ -244,6 +377,12 @@
|
|
|
244
377
|
overflow-x: hidden;
|
|
245
378
|
}
|
|
246
379
|
|
|
380
|
+
.\!univer-truncate {
|
|
381
|
+
text-overflow: ellipsis !important;
|
|
382
|
+
white-space: nowrap !important;
|
|
383
|
+
overflow: hidden !important;
|
|
384
|
+
}
|
|
385
|
+
|
|
247
386
|
.univer-truncate {
|
|
248
387
|
text-overflow: ellipsis;
|
|
249
388
|
white-space: nowrap;
|
|
@@ -262,10 +401,26 @@
|
|
|
262
401
|
border-radius: .25rem !important;
|
|
263
402
|
}
|
|
264
403
|
|
|
404
|
+
.\!univer-rounded-lg {
|
|
405
|
+
border-radius: .5rem !important;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.\!univer-rounded-md {
|
|
409
|
+
border-radius: .375rem !important;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.\!univer-rounded-xl {
|
|
413
|
+
border-radius: .75rem !important;
|
|
414
|
+
}
|
|
415
|
+
|
|
265
416
|
.univer-rounded {
|
|
266
417
|
border-radius: .25rem;
|
|
267
418
|
}
|
|
268
419
|
|
|
420
|
+
.univer-rounded-full {
|
|
421
|
+
border-radius: 9999px;
|
|
422
|
+
}
|
|
423
|
+
|
|
269
424
|
.univer-rounded-lg {
|
|
270
425
|
border-radius: .5rem;
|
|
271
426
|
}
|
|
@@ -278,6 +433,10 @@
|
|
|
278
433
|
border-radius: .75rem;
|
|
279
434
|
}
|
|
280
435
|
|
|
436
|
+
.\!univer-border-0 {
|
|
437
|
+
border-width: 0 !important;
|
|
438
|
+
}
|
|
439
|
+
|
|
281
440
|
.univer-border {
|
|
282
441
|
border-width: 1px;
|
|
283
442
|
}
|
|
@@ -286,6 +445,10 @@
|
|
|
286
445
|
border-width: 0;
|
|
287
446
|
}
|
|
288
447
|
|
|
448
|
+
.univer-border-2 {
|
|
449
|
+
border-width: 2px;
|
|
450
|
+
}
|
|
451
|
+
|
|
289
452
|
.univer-border-t {
|
|
290
453
|
border-top-width: 1px;
|
|
291
454
|
}
|
|
@@ -298,10 +461,18 @@
|
|
|
298
461
|
border-style: none;
|
|
299
462
|
}
|
|
300
463
|
|
|
464
|
+
.\!univer-border-gray-200 {
|
|
465
|
+
border-color: var(--univer-gray-200) !important;
|
|
466
|
+
}
|
|
467
|
+
|
|
301
468
|
.\!univer-border-transparent {
|
|
302
469
|
border-color: #0000 !important;
|
|
303
470
|
}
|
|
304
471
|
|
|
472
|
+
.univer-border-current {
|
|
473
|
+
border-color: currentColor;
|
|
474
|
+
}
|
|
475
|
+
|
|
305
476
|
.univer-border-gray-200 {
|
|
306
477
|
border-color: var(--univer-gray-200);
|
|
307
478
|
}
|
|
@@ -310,6 +481,14 @@
|
|
|
310
481
|
border-color: var(--univer-primary-500);
|
|
311
482
|
}
|
|
312
483
|
|
|
484
|
+
.univer-border-t-transparent {
|
|
485
|
+
border-top-color: #0000;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.\!univer-bg-gray-0 {
|
|
489
|
+
background-color: var(--univer-gray-0) !important;
|
|
490
|
+
}
|
|
491
|
+
|
|
313
492
|
.\!univer-bg-gray-800 {
|
|
314
493
|
background-color: var(--univer-gray-800) !important;
|
|
315
494
|
}
|
|
@@ -358,6 +537,10 @@
|
|
|
358
537
|
padding: .25rem;
|
|
359
538
|
}
|
|
360
539
|
|
|
540
|
+
.univer-p-2 {
|
|
541
|
+
padding: .5rem;
|
|
542
|
+
}
|
|
543
|
+
|
|
361
544
|
.univer-p-3 {
|
|
362
545
|
padding: .75rem;
|
|
363
546
|
}
|
|
@@ -367,6 +550,11 @@
|
|
|
367
550
|
padding-right: .25rem !important;
|
|
368
551
|
}
|
|
369
552
|
|
|
553
|
+
.\!univer-px-3 {
|
|
554
|
+
padding-left: .75rem !important;
|
|
555
|
+
padding-right: .75rem !important;
|
|
556
|
+
}
|
|
557
|
+
|
|
370
558
|
.univer-px-1 {
|
|
371
559
|
padding-left: .25rem;
|
|
372
560
|
padding-right: .25rem;
|
|
@@ -410,6 +598,10 @@
|
|
|
410
598
|
padding-bottom: max(12px,env(safe-area-inset-bottom));
|
|
411
599
|
}
|
|
412
600
|
|
|
601
|
+
.univer-pe-5 {
|
|
602
|
+
padding-right: 1.25rem;
|
|
603
|
+
}
|
|
604
|
+
|
|
413
605
|
.univer-pr-1\.5 {
|
|
414
606
|
padding-right: .375rem;
|
|
415
607
|
}
|
|
@@ -430,11 +622,25 @@
|
|
|
430
622
|
text-align: center;
|
|
431
623
|
}
|
|
432
624
|
|
|
625
|
+
.univer-font-sans {
|
|
626
|
+
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
627
|
+
}
|
|
628
|
+
|
|
433
629
|
.\!univer-text-base {
|
|
434
630
|
font-size: 1rem !important;
|
|
435
631
|
line-height: 1.5rem !important;
|
|
436
632
|
}
|
|
437
633
|
|
|
634
|
+
.\!univer-text-sm {
|
|
635
|
+
font-size: .875rem !important;
|
|
636
|
+
line-height: 1.25rem !important;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.\!univer-text-xs {
|
|
640
|
+
font-size: .75rem !important;
|
|
641
|
+
line-height: 1rem !important;
|
|
642
|
+
}
|
|
643
|
+
|
|
438
644
|
.univer-text-\[10px\] {
|
|
439
645
|
font-size: 10px;
|
|
440
646
|
}
|
|
@@ -459,6 +665,10 @@
|
|
|
459
665
|
line-height: 1rem;
|
|
460
666
|
}
|
|
461
667
|
|
|
668
|
+
.\!univer-font-medium {
|
|
669
|
+
font-weight: 500 !important;
|
|
670
|
+
}
|
|
671
|
+
|
|
462
672
|
.univer-font-medium {
|
|
463
673
|
font-weight: 500;
|
|
464
674
|
}
|
|
@@ -471,6 +681,22 @@
|
|
|
471
681
|
text-transform: uppercase;
|
|
472
682
|
}
|
|
473
683
|
|
|
684
|
+
.\!univer-leading-5 {
|
|
685
|
+
line-height: 1.25rem !important;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.\!univer-text-gray-0 {
|
|
689
|
+
color: var(--univer-gray-0) !important;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.\!univer-text-gray-500 {
|
|
693
|
+
color: var(--univer-gray-500) !important;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.\!univer-text-gray-600 {
|
|
697
|
+
color: var(--univer-gray-600) !important;
|
|
698
|
+
}
|
|
699
|
+
|
|
474
700
|
.\!univer-text-primary-300 {
|
|
475
701
|
color: var(--univer-primary-300) !important;
|
|
476
702
|
}
|
|
@@ -504,6 +730,14 @@
|
|
|
504
730
|
color: var(--univer-primary-600);
|
|
505
731
|
}
|
|
506
732
|
|
|
733
|
+
.univer-text-red-600 {
|
|
734
|
+
color: var(--univer-red-600);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.univer-text-yellow-600 {
|
|
738
|
+
color: var(--univer-yellow-600);
|
|
739
|
+
}
|
|
740
|
+
|
|
507
741
|
.univer-opacity-50 {
|
|
508
742
|
opacity: .5;
|
|
509
743
|
}
|
|
@@ -522,6 +756,13 @@
|
|
|
522
756
|
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
523
757
|
}
|
|
524
758
|
|
|
759
|
+
.univer-shadow-md {
|
|
760
|
+
--univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
|
|
761
|
+
--univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
|
|
762
|
+
box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 6px -2px #1e284d14, 0 2px 6px -1px #1e284d1a;
|
|
763
|
+
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
764
|
+
}
|
|
765
|
+
|
|
525
766
|
.univer-shadow-sm {
|
|
526
767
|
--univer-tw-shadow: 0px 1px 2px 0px #1e284d14;
|
|
527
768
|
--univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);
|
|
@@ -559,6 +800,18 @@
|
|
|
559
800
|
}
|
|
560
801
|
|
|
561
802
|
@media (hover: hover) and (pointer: fine) {
|
|
803
|
+
.hover\:\!univer-bg-gray-100:hover {
|
|
804
|
+
background-color: var(--univer-gray-100) !important;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.hover\:\!univer-bg-primary-500:hover {
|
|
808
|
+
background-color: var(--univer-primary-500) !important;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.hover\:\!univer-bg-red-50:hover {
|
|
812
|
+
background-color: var(--univer-red-50) !important;
|
|
813
|
+
}
|
|
814
|
+
|
|
562
815
|
.hover\:univer-bg-gray-100:hover {
|
|
563
816
|
background-color: var(--univer-gray-100);
|
|
564
817
|
}
|
|
@@ -567,6 +820,10 @@
|
|
|
567
820
|
background-color: var(--univer-gray-50);
|
|
568
821
|
}
|
|
569
822
|
|
|
823
|
+
.hover\:\!univer-text-red-600:hover {
|
|
824
|
+
color: var(--univer-red-600) !important;
|
|
825
|
+
}
|
|
826
|
+
|
|
570
827
|
.hover\:univer-text-gray-600:hover {
|
|
571
828
|
color: var(--univer-gray-600);
|
|
572
829
|
}
|
|
@@ -595,6 +852,22 @@
|
|
|
595
852
|
--univer-tw-ring-color: var(--univer-primary-100) !important;
|
|
596
853
|
}
|
|
597
854
|
|
|
855
|
+
.focus-visible\:\!univer-text-red-600:focus-visible {
|
|
856
|
+
color: var(--univer-red-600) !important;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.focus-visible\:univer-outline:focus-visible {
|
|
860
|
+
outline-style: solid;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.focus-visible\:univer-outline-2:focus-visible {
|
|
864
|
+
outline-width: 2px;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.focus-visible\:univer-outline-primary-500:focus-visible {
|
|
868
|
+
outline-color: var(--univer-primary-500);
|
|
869
|
+
}
|
|
870
|
+
|
|
598
871
|
.active\:univer-scale-95:active {
|
|
599
872
|
--univer-tw-scale-x: .95;
|
|
600
873
|
--univer-tw-scale-y: .95;
|
|
@@ -646,6 +919,10 @@
|
|
|
646
919
|
border-color: var(--univer-gray-700) !important;
|
|
647
920
|
}
|
|
648
921
|
|
|
922
|
+
.dark\:univer-border-gray-600:where(.univer-dark, .univer-dark *) {
|
|
923
|
+
border-color: var(--univer-gray-600);
|
|
924
|
+
}
|
|
925
|
+
|
|
649
926
|
.dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
|
|
650
927
|
background-color: var(--univer-gray-700) !important;
|
|
651
928
|
}
|
|
@@ -662,6 +939,10 @@
|
|
|
662
939
|
background-color: var(--univer-primary-900) !important;
|
|
663
940
|
}
|
|
664
941
|
|
|
942
|
+
.dark\:univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
|
|
943
|
+
background-color: var(--univer-gray-800);
|
|
944
|
+
}
|
|
945
|
+
|
|
665
946
|
.dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
|
|
666
947
|
color: var(--univer-gray-0) !important;
|
|
667
948
|
}
|
|
@@ -694,6 +975,14 @@
|
|
|
694
975
|
color: var(--univer-primary-300) !important;
|
|
695
976
|
}
|
|
696
977
|
|
|
978
|
+
.dark\:univer-text-gray-0:where(.univer-dark, .univer-dark *) {
|
|
979
|
+
color: var(--univer-gray-0);
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.dark\:univer-text-yellow-400:where(.univer-dark, .univer-dark *) {
|
|
983
|
+
color: var(--univer-yellow-400);
|
|
984
|
+
}
|
|
985
|
+
|
|
697
986
|
@media (hover: hover) and (pointer: fine) {
|
|
698
987
|
.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
|
|
699
988
|
background-color: var(--univer-gray-700) !important;
|
|
@@ -703,6 +992,10 @@
|
|
|
703
992
|
background-color: var(--univer-gray-800) !important;
|
|
704
993
|
}
|
|
705
994
|
|
|
995
|
+
.dark\:hover\:\!univer-bg-red-900:hover:where(.univer-dark, .univer-dark *) {
|
|
996
|
+
background-color: var(--univer-red-900) !important;
|
|
997
|
+
}
|
|
998
|
+
|
|
706
999
|
.dark\:hover\:\!univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
|
|
707
1000
|
color: var(--univer-gray-100) !important;
|
|
708
1001
|
}
|
|
@@ -710,6 +1003,10 @@
|
|
|
710
1003
|
.dark\:hover\:\!univer-text-gray-300:hover:where(.univer-dark, .univer-dark *) {
|
|
711
1004
|
color: var(--univer-gray-300) !important;
|
|
712
1005
|
}
|
|
1006
|
+
|
|
1007
|
+
.dark\:hover\:\!univer-text-red-300:hover:where(.univer-dark, .univer-dark *) {
|
|
1008
|
+
color: var(--univer-red-300) !important;
|
|
1009
|
+
}
|
|
713
1010
|
}
|
|
714
1011
|
|
|
715
1012
|
.dark\:focus\:\!univer-bg-gray-900:focus:where(.univer-dark, .univer-dark *) {
|
|
@@ -728,6 +1025,10 @@
|
|
|
728
1025
|
gap: .5rem;
|
|
729
1026
|
}
|
|
730
1027
|
|
|
1028
|
+
.\[\&\>svg\]\:\!univer-top-0 > svg {
|
|
1029
|
+
top: 0 !important;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
731
1032
|
.\[\&_input\]\:\!univer-h-12 input {
|
|
732
1033
|
height: 3rem !important;
|
|
733
1034
|
}
|
package/lib/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export * from "@univerjs/sheets-drawing"
|
|
|
17
17
|
|
|
18
18
|
export * from "@univerjs/sheets-drawing-ui"
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
// src/preset.ts
|
|
21
21
|
function UniverSheetsDrawingPreset(config = {}) {
|
|
22
22
|
const { collaboration = false, allowImageSize } = config;
|
|
23
23
|
return { plugins: [
|
|
@@ -32,5 +32,4 @@ function UniverSheetsDrawingPreset(config = {}) {
|
|
|
32
32
|
].filter((v) => !!v) };
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
//#endregion
|
|
36
35
|
export { UniverSheetsDrawingPreset };
|
package/lib/locales/ar-SA.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ar-SA";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/ar-SA";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ar-SA.ts
|
|
5
5
|
var ar_SA_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { ar_SA_default as default };
|
package/lib/locales/ca-ES.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ca-ES";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/ca-ES";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ca-ES.ts
|
|
5
5
|
var ca_ES_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { ca_ES_default as default };
|
package/lib/locales/de-DE.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/de-DE";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/de-DE";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/de-DE.ts
|
|
5
5
|
var de_DE_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { de_DE_default as default };
|
package/lib/locales/en-US.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/en-US";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/en-US";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/en-US.ts
|
|
5
5
|
var en_US_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { en_US_default as default };
|
package/lib/locales/es-ES.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/es-ES";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/es-ES";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/es-ES.ts
|
|
5
5
|
var es_ES_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { es_ES_default as default };
|
package/lib/locales/fa-IR.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/fa-IR";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/fa-IR";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/fa-IR.ts
|
|
5
5
|
var fa_IR_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { fa_IR_default as default };
|
package/lib/locales/fr-FR.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/fr-FR";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/fr-FR";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/fr-FR.ts
|
|
5
5
|
var fr_FR_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { fr_FR_default as default };
|
package/lib/locales/id-ID.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/id-ID";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/id-ID";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/id-ID.ts
|
|
5
5
|
var id_ID_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { id_ID_default as default };
|
package/lib/locales/it-IT.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/it-IT";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/it-IT";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/it-IT.ts
|
|
5
5
|
var it_IT_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { it_IT_default as default };
|
package/lib/locales/ja-JP.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ja-JP";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/ja-JP";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ja-JP.ts
|
|
5
5
|
var ja_JP_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { ja_JP_default as default };
|
package/lib/locales/ko-KR.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ko-KR";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/ko-KR";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ko-KR.ts
|
|
5
5
|
var ko_KR_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { ko_KR_default as default };
|
package/lib/locales/pl-PL.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/pl-PL";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/pl-PL";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/pl-PL.ts
|
|
5
5
|
var pl_PL_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { pl_PL_default as default };
|
package/lib/locales/pt-BR.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/pt-BR";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/pt-BR";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/pt-BR.ts
|
|
5
5
|
var pt_BR_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { pt_BR_default as default };
|