@univerjs/preset-docs-drawing 1.3.1 → 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 +11 -11
package/lib/index.css
CHANGED
|
@@ -138,6 +138,14 @@
|
|
|
138
138
|
font-size: 1rem !important;
|
|
139
139
|
line-height: 1.5rem !important;
|
|
140
140
|
}
|
|
141
|
+
.\!univer-pointer-events-none {
|
|
142
|
+
pointer-events: none !important;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.univer-pointer-events-none {
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
141
149
|
.univer-absolute {
|
|
142
150
|
position: absolute;
|
|
143
151
|
}
|
|
@@ -151,6 +159,18 @@
|
|
|
151
159
|
right: 0;
|
|
152
160
|
}
|
|
153
161
|
|
|
162
|
+
.\!univer-end-2 {
|
|
163
|
+
right: .5rem !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.\!univer-start-auto {
|
|
167
|
+
left: auto !important;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.\!univer-top-2 {
|
|
171
|
+
top: .5rem !important;
|
|
172
|
+
}
|
|
173
|
+
|
|
154
174
|
.univer-bottom-0 {
|
|
155
175
|
bottom: 0;
|
|
156
176
|
}
|
|
@@ -159,10 +179,27 @@
|
|
|
159
179
|
z-index: 1200;
|
|
160
180
|
}
|
|
161
181
|
|
|
182
|
+
.univer-col-start-2 {
|
|
183
|
+
grid-column-start: 2;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.\!univer-m-0 {
|
|
187
|
+
margin: 0 !important;
|
|
188
|
+
}
|
|
189
|
+
|
|
162
190
|
.univer-m-0 {
|
|
163
191
|
margin: 0;
|
|
164
192
|
}
|
|
165
193
|
|
|
194
|
+
.univer-mx-0\.5 {
|
|
195
|
+
margin-left: .125rem;
|
|
196
|
+
margin-right: .125rem;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.univer-mt-1 {
|
|
200
|
+
margin-top: .25rem;
|
|
201
|
+
}
|
|
202
|
+
|
|
166
203
|
.univer-mt-2\.5 {
|
|
167
204
|
margin-top: .625rem;
|
|
168
205
|
}
|
|
@@ -179,6 +216,14 @@
|
|
|
179
216
|
display: flex;
|
|
180
217
|
}
|
|
181
218
|
|
|
219
|
+
.univer-inline-flex {
|
|
220
|
+
display: inline-flex;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.\!univer-grid {
|
|
224
|
+
display: grid !important;
|
|
225
|
+
}
|
|
226
|
+
|
|
182
227
|
.univer-grid {
|
|
183
228
|
display: grid;
|
|
184
229
|
}
|
|
@@ -207,15 +252,36 @@
|
|
|
207
252
|
height: 1.75rem;
|
|
208
253
|
}
|
|
209
254
|
|
|
255
|
+
.univer-size-8 {
|
|
256
|
+
width: 2rem;
|
|
257
|
+
height: 2rem;
|
|
258
|
+
}
|
|
259
|
+
|
|
210
260
|
.univer-size-full {
|
|
211
261
|
width: 100%;
|
|
212
262
|
height: 100%;
|
|
213
263
|
}
|
|
214
264
|
|
|
265
|
+
.\!univer-h-4 {
|
|
266
|
+
height: 1rem !important;
|
|
267
|
+
}
|
|
268
|
+
|
|
215
269
|
.\!univer-h-7 {
|
|
216
270
|
height: 1.75rem !important;
|
|
217
271
|
}
|
|
218
272
|
|
|
273
|
+
.\!univer-h-8 {
|
|
274
|
+
height: 2rem !important;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.univer-h-1 {
|
|
278
|
+
height: .25rem;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.univer-h-10 {
|
|
282
|
+
height: 2.5rem;
|
|
283
|
+
}
|
|
284
|
+
|
|
219
285
|
.univer-h-11 {
|
|
220
286
|
height: 2.75rem;
|
|
221
287
|
}
|
|
@@ -268,10 +334,26 @@
|
|
|
268
334
|
width: 1.5rem;
|
|
269
335
|
}
|
|
270
336
|
|
|
337
|
+
.univer-w-60 {
|
|
338
|
+
width: 15rem;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.univer-w-80 {
|
|
342
|
+
width: 20rem;
|
|
343
|
+
}
|
|
344
|
+
|
|
271
345
|
.univer-w-full {
|
|
272
346
|
width: 100%;
|
|
273
347
|
}
|
|
274
348
|
|
|
349
|
+
.univer-w-max {
|
|
350
|
+
width: max-content;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.\!univer-min-w-0 {
|
|
354
|
+
min-width: 0 !important;
|
|
355
|
+
}
|
|
356
|
+
|
|
275
357
|
.univer-min-w-0 {
|
|
276
358
|
min-width: 0;
|
|
277
359
|
}
|
|
@@ -284,6 +366,10 @@
|
|
|
284
366
|
min-width: 2.25rem;
|
|
285
367
|
}
|
|
286
368
|
|
|
369
|
+
.univer-max-w-80 {
|
|
370
|
+
max-width: 20rem;
|
|
371
|
+
}
|
|
372
|
+
|
|
287
373
|
.univer-max-w-full {
|
|
288
374
|
max-width: 100%;
|
|
289
375
|
}
|
|
@@ -312,6 +398,20 @@
|
|
|
312
398
|
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));
|
|
313
399
|
}
|
|
314
400
|
|
|
401
|
+
.\!univer-transform-none {
|
|
402
|
+
transform: none !important;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
@keyframes univer-spin {
|
|
406
|
+
to {
|
|
407
|
+
transform: rotate(360deg);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.univer-animate-spin {
|
|
412
|
+
animation: 1s linear infinite univer-spin;
|
|
413
|
+
}
|
|
414
|
+
|
|
315
415
|
.univer-cursor-not-allowed {
|
|
316
416
|
cursor: not-allowed;
|
|
317
417
|
}
|
|
@@ -320,6 +420,10 @@
|
|
|
320
420
|
resize: none;
|
|
321
421
|
}
|
|
322
422
|
|
|
423
|
+
.\!univer-grid-cols-\[20px_minmax\(0\,1fr\)\] {
|
|
424
|
+
grid-template-columns: 20px minmax(0, 1fr) !important;
|
|
425
|
+
}
|
|
426
|
+
|
|
323
427
|
.univer-grid-cols-2 {
|
|
324
428
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
325
429
|
}
|
|
@@ -332,6 +436,14 @@
|
|
|
332
436
|
flex-direction: column;
|
|
333
437
|
}
|
|
334
438
|
|
|
439
|
+
.univer-flex-nowrap {
|
|
440
|
+
flex-wrap: nowrap;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.\!univer-items-start {
|
|
444
|
+
align-items: flex-start !important;
|
|
445
|
+
}
|
|
446
|
+
|
|
335
447
|
.univer-items-center {
|
|
336
448
|
align-items: center;
|
|
337
449
|
}
|
|
@@ -348,6 +460,10 @@
|
|
|
348
460
|
justify-content: space-between;
|
|
349
461
|
}
|
|
350
462
|
|
|
463
|
+
.\!univer-gap-1 {
|
|
464
|
+
gap: .25rem !important;
|
|
465
|
+
}
|
|
466
|
+
|
|
351
467
|
.univer-gap-0\.5 {
|
|
352
468
|
gap: .125rem;
|
|
353
469
|
}
|
|
@@ -368,6 +484,23 @@
|
|
|
368
484
|
gap: .75rem;
|
|
369
485
|
}
|
|
370
486
|
|
|
487
|
+
.\!univer-gap-x-3 {
|
|
488
|
+
-moz-column-gap: .75rem !important;
|
|
489
|
+
column-gap: .75rem !important;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.\!univer-gap-y-3 {
|
|
493
|
+
row-gap: .75rem !important;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.\!univer-self-start {
|
|
497
|
+
align-self: flex-start !important;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.univer-justify-self-end {
|
|
501
|
+
justify-self: end;
|
|
502
|
+
}
|
|
503
|
+
|
|
371
504
|
.univer-overflow-hidden {
|
|
372
505
|
overflow: hidden;
|
|
373
506
|
}
|
|
@@ -384,6 +517,12 @@
|
|
|
384
517
|
overflow-x: hidden;
|
|
385
518
|
}
|
|
386
519
|
|
|
520
|
+
.\!univer-truncate {
|
|
521
|
+
text-overflow: ellipsis !important;
|
|
522
|
+
white-space: nowrap !important;
|
|
523
|
+
overflow: hidden !important;
|
|
524
|
+
}
|
|
525
|
+
|
|
387
526
|
.univer-truncate {
|
|
388
527
|
text-overflow: ellipsis;
|
|
389
528
|
white-space: nowrap;
|
|
@@ -402,10 +541,26 @@
|
|
|
402
541
|
border-radius: .25rem !important;
|
|
403
542
|
}
|
|
404
543
|
|
|
544
|
+
.\!univer-rounded-lg {
|
|
545
|
+
border-radius: .5rem !important;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.\!univer-rounded-md {
|
|
549
|
+
border-radius: .375rem !important;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.\!univer-rounded-xl {
|
|
553
|
+
border-radius: .75rem !important;
|
|
554
|
+
}
|
|
555
|
+
|
|
405
556
|
.univer-rounded {
|
|
406
557
|
border-radius: .25rem;
|
|
407
558
|
}
|
|
408
559
|
|
|
560
|
+
.univer-rounded-full {
|
|
561
|
+
border-radius: 9999px;
|
|
562
|
+
}
|
|
563
|
+
|
|
409
564
|
.univer-rounded-lg {
|
|
410
565
|
border-radius: .5rem;
|
|
411
566
|
}
|
|
@@ -418,6 +573,10 @@
|
|
|
418
573
|
border-radius: .75rem;
|
|
419
574
|
}
|
|
420
575
|
|
|
576
|
+
.\!univer-border-0 {
|
|
577
|
+
border-width: 0 !important;
|
|
578
|
+
}
|
|
579
|
+
|
|
421
580
|
.univer-border {
|
|
422
581
|
border-width: 1px;
|
|
423
582
|
}
|
|
@@ -426,6 +585,10 @@
|
|
|
426
585
|
border-width: 0;
|
|
427
586
|
}
|
|
428
587
|
|
|
588
|
+
.univer-border-2 {
|
|
589
|
+
border-width: 2px;
|
|
590
|
+
}
|
|
591
|
+
|
|
429
592
|
.univer-border-t {
|
|
430
593
|
border-top-width: 1px;
|
|
431
594
|
}
|
|
@@ -438,10 +601,18 @@
|
|
|
438
601
|
border-style: none;
|
|
439
602
|
}
|
|
440
603
|
|
|
604
|
+
.\!univer-border-gray-200 {
|
|
605
|
+
border-color: var(--univer-gray-200) !important;
|
|
606
|
+
}
|
|
607
|
+
|
|
441
608
|
.\!univer-border-transparent {
|
|
442
609
|
border-color: #0000 !important;
|
|
443
610
|
}
|
|
444
611
|
|
|
612
|
+
.univer-border-current {
|
|
613
|
+
border-color: currentColor;
|
|
614
|
+
}
|
|
615
|
+
|
|
445
616
|
.univer-border-gray-200 {
|
|
446
617
|
border-color: var(--univer-gray-200);
|
|
447
618
|
}
|
|
@@ -450,6 +621,14 @@
|
|
|
450
621
|
border-color: var(--univer-primary-500);
|
|
451
622
|
}
|
|
452
623
|
|
|
624
|
+
.univer-border-t-transparent {
|
|
625
|
+
border-top-color: #0000;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.\!univer-bg-gray-0 {
|
|
629
|
+
background-color: var(--univer-gray-0) !important;
|
|
630
|
+
}
|
|
631
|
+
|
|
453
632
|
.\!univer-bg-gray-800 {
|
|
454
633
|
background-color: var(--univer-gray-800) !important;
|
|
455
634
|
}
|
|
@@ -498,6 +677,10 @@
|
|
|
498
677
|
padding: .25rem;
|
|
499
678
|
}
|
|
500
679
|
|
|
680
|
+
.univer-p-2 {
|
|
681
|
+
padding: .5rem;
|
|
682
|
+
}
|
|
683
|
+
|
|
501
684
|
.univer-p-3 {
|
|
502
685
|
padding: .75rem;
|
|
503
686
|
}
|
|
@@ -507,6 +690,11 @@
|
|
|
507
690
|
padding-right: .25rem !important;
|
|
508
691
|
}
|
|
509
692
|
|
|
693
|
+
.\!univer-px-3 {
|
|
694
|
+
padding-left: .75rem !important;
|
|
695
|
+
padding-right: .75rem !important;
|
|
696
|
+
}
|
|
697
|
+
|
|
510
698
|
.univer-px-1 {
|
|
511
699
|
padding-left: .25rem;
|
|
512
700
|
padding-right: .25rem;
|
|
@@ -550,6 +738,10 @@
|
|
|
550
738
|
padding-bottom: max(12px,env(safe-area-inset-bottom));
|
|
551
739
|
}
|
|
552
740
|
|
|
741
|
+
.univer-pe-5 {
|
|
742
|
+
padding-right: 1.25rem;
|
|
743
|
+
}
|
|
744
|
+
|
|
553
745
|
.univer-pr-1\.5 {
|
|
554
746
|
padding-right: .375rem;
|
|
555
747
|
}
|
|
@@ -570,11 +762,25 @@
|
|
|
570
762
|
text-align: center;
|
|
571
763
|
}
|
|
572
764
|
|
|
765
|
+
.univer-font-sans {
|
|
766
|
+
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;
|
|
767
|
+
}
|
|
768
|
+
|
|
573
769
|
.\!univer-text-base {
|
|
574
770
|
font-size: 1rem !important;
|
|
575
771
|
line-height: 1.5rem !important;
|
|
576
772
|
}
|
|
577
773
|
|
|
774
|
+
.\!univer-text-sm {
|
|
775
|
+
font-size: .875rem !important;
|
|
776
|
+
line-height: 1.25rem !important;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.\!univer-text-xs {
|
|
780
|
+
font-size: .75rem !important;
|
|
781
|
+
line-height: 1rem !important;
|
|
782
|
+
}
|
|
783
|
+
|
|
578
784
|
.univer-text-\[10px\] {
|
|
579
785
|
font-size: 10px;
|
|
580
786
|
}
|
|
@@ -599,6 +805,10 @@
|
|
|
599
805
|
line-height: 1rem;
|
|
600
806
|
}
|
|
601
807
|
|
|
808
|
+
.\!univer-font-medium {
|
|
809
|
+
font-weight: 500 !important;
|
|
810
|
+
}
|
|
811
|
+
|
|
602
812
|
.univer-font-medium {
|
|
603
813
|
font-weight: 500;
|
|
604
814
|
}
|
|
@@ -611,6 +821,22 @@
|
|
|
611
821
|
text-transform: uppercase;
|
|
612
822
|
}
|
|
613
823
|
|
|
824
|
+
.\!univer-leading-5 {
|
|
825
|
+
line-height: 1.25rem !important;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.\!univer-text-gray-0 {
|
|
829
|
+
color: var(--univer-gray-0) !important;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.\!univer-text-gray-500 {
|
|
833
|
+
color: var(--univer-gray-500) !important;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.\!univer-text-gray-600 {
|
|
837
|
+
color: var(--univer-gray-600) !important;
|
|
838
|
+
}
|
|
839
|
+
|
|
614
840
|
.\!univer-text-primary-300 {
|
|
615
841
|
color: var(--univer-primary-300) !important;
|
|
616
842
|
}
|
|
@@ -644,6 +870,14 @@
|
|
|
644
870
|
color: var(--univer-primary-600);
|
|
645
871
|
}
|
|
646
872
|
|
|
873
|
+
.univer-text-red-600 {
|
|
874
|
+
color: var(--univer-red-600);
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
.univer-text-yellow-600 {
|
|
878
|
+
color: var(--univer-yellow-600);
|
|
879
|
+
}
|
|
880
|
+
|
|
647
881
|
.univer-opacity-50 {
|
|
648
882
|
opacity: .5;
|
|
649
883
|
}
|
|
@@ -662,6 +896,13 @@
|
|
|
662
896
|
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
663
897
|
}
|
|
664
898
|
|
|
899
|
+
.univer-shadow-md {
|
|
900
|
+
--univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
|
|
901
|
+
--univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
|
|
902
|
+
box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 6px -2px #1e284d14, 0 2px 6px -1px #1e284d1a;
|
|
903
|
+
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
904
|
+
}
|
|
905
|
+
|
|
665
906
|
.univer-shadow-sm {
|
|
666
907
|
--univer-tw-shadow: 0px 1px 2px 0px #1e284d14;
|
|
667
908
|
--univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);
|
|
@@ -699,6 +940,18 @@
|
|
|
699
940
|
}
|
|
700
941
|
|
|
701
942
|
@media (hover: hover) and (pointer: fine) {
|
|
943
|
+
.hover\:\!univer-bg-gray-100:hover {
|
|
944
|
+
background-color: var(--univer-gray-100) !important;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.hover\:\!univer-bg-primary-500:hover {
|
|
948
|
+
background-color: var(--univer-primary-500) !important;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
.hover\:\!univer-bg-red-50:hover {
|
|
952
|
+
background-color: var(--univer-red-50) !important;
|
|
953
|
+
}
|
|
954
|
+
|
|
702
955
|
.hover\:univer-bg-gray-100:hover {
|
|
703
956
|
background-color: var(--univer-gray-100);
|
|
704
957
|
}
|
|
@@ -707,6 +960,10 @@
|
|
|
707
960
|
background-color: var(--univer-gray-50);
|
|
708
961
|
}
|
|
709
962
|
|
|
963
|
+
.hover\:\!univer-text-red-600:hover {
|
|
964
|
+
color: var(--univer-red-600) !important;
|
|
965
|
+
}
|
|
966
|
+
|
|
710
967
|
.hover\:univer-text-gray-600:hover {
|
|
711
968
|
color: var(--univer-gray-600);
|
|
712
969
|
}
|
|
@@ -735,6 +992,22 @@
|
|
|
735
992
|
--univer-tw-ring-color: var(--univer-primary-100) !important;
|
|
736
993
|
}
|
|
737
994
|
|
|
995
|
+
.focus-visible\:\!univer-text-red-600:focus-visible {
|
|
996
|
+
color: var(--univer-red-600) !important;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.focus-visible\:univer-outline:focus-visible {
|
|
1000
|
+
outline-style: solid;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
.focus-visible\:univer-outline-2:focus-visible {
|
|
1004
|
+
outline-width: 2px;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
.focus-visible\:univer-outline-primary-500:focus-visible {
|
|
1008
|
+
outline-color: var(--univer-primary-500);
|
|
1009
|
+
}
|
|
1010
|
+
|
|
738
1011
|
.active\:univer-scale-95:active {
|
|
739
1012
|
--univer-tw-scale-x: .95;
|
|
740
1013
|
--univer-tw-scale-y: .95;
|
|
@@ -786,6 +1059,10 @@
|
|
|
786
1059
|
border-color: var(--univer-gray-700) !important;
|
|
787
1060
|
}
|
|
788
1061
|
|
|
1062
|
+
.dark\:univer-border-gray-600:where(.univer-dark, .univer-dark *) {
|
|
1063
|
+
border-color: var(--univer-gray-600);
|
|
1064
|
+
}
|
|
1065
|
+
|
|
789
1066
|
.dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
|
|
790
1067
|
background-color: var(--univer-gray-700) !important;
|
|
791
1068
|
}
|
|
@@ -802,6 +1079,10 @@
|
|
|
802
1079
|
background-color: var(--univer-primary-900) !important;
|
|
803
1080
|
}
|
|
804
1081
|
|
|
1082
|
+
.dark\:univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
|
|
1083
|
+
background-color: var(--univer-gray-800);
|
|
1084
|
+
}
|
|
1085
|
+
|
|
805
1086
|
.dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
|
|
806
1087
|
color: var(--univer-gray-0) !important;
|
|
807
1088
|
}
|
|
@@ -834,6 +1115,14 @@
|
|
|
834
1115
|
color: var(--univer-primary-300) !important;
|
|
835
1116
|
}
|
|
836
1117
|
|
|
1118
|
+
.dark\:univer-text-gray-0:where(.univer-dark, .univer-dark *) {
|
|
1119
|
+
color: var(--univer-gray-0);
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
.dark\:univer-text-yellow-400:where(.univer-dark, .univer-dark *) {
|
|
1123
|
+
color: var(--univer-yellow-400);
|
|
1124
|
+
}
|
|
1125
|
+
|
|
837
1126
|
@media (hover: hover) and (pointer: fine) {
|
|
838
1127
|
.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
|
|
839
1128
|
background-color: var(--univer-gray-700) !important;
|
|
@@ -843,6 +1132,10 @@
|
|
|
843
1132
|
background-color: var(--univer-gray-800) !important;
|
|
844
1133
|
}
|
|
845
1134
|
|
|
1135
|
+
.dark\:hover\:\!univer-bg-red-900:hover:where(.univer-dark, .univer-dark *) {
|
|
1136
|
+
background-color: var(--univer-red-900) !important;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
846
1139
|
.dark\:hover\:\!univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
|
|
847
1140
|
color: var(--univer-gray-100) !important;
|
|
848
1141
|
}
|
|
@@ -850,6 +1143,10 @@
|
|
|
850
1143
|
.dark\:hover\:\!univer-text-gray-300:hover:where(.univer-dark, .univer-dark *) {
|
|
851
1144
|
color: var(--univer-gray-300) !important;
|
|
852
1145
|
}
|
|
1146
|
+
|
|
1147
|
+
.dark\:hover\:\!univer-text-red-300:hover:where(.univer-dark, .univer-dark *) {
|
|
1148
|
+
color: var(--univer-red-300) !important;
|
|
1149
|
+
}
|
|
853
1150
|
}
|
|
854
1151
|
|
|
855
1152
|
.dark\:focus\:\!univer-bg-gray-900:focus:where(.univer-dark, .univer-dark *) {
|
|
@@ -868,6 +1165,10 @@
|
|
|
868
1165
|
gap: .5rem;
|
|
869
1166
|
}
|
|
870
1167
|
|
|
1168
|
+
.\[\&\>svg\]\:\!univer-top-0 > svg {
|
|
1169
|
+
top: 0 !important;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
871
1172
|
.\[\&_input\]\:\!univer-h-12 input {
|
|
872
1173
|
height: 3rem !important;
|
|
873
1174
|
}
|
package/lib/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export * from "@univerjs/drawing"
|
|
|
13
13
|
|
|
14
14
|
export * from "@univerjs/drawing-ui"
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
// src/preset.ts
|
|
17
17
|
function UniverDocsDrawingPreset(config = {}) {
|
|
18
18
|
const { collaboration = false } = config;
|
|
19
19
|
return { plugins: [
|
|
@@ -24,5 +24,4 @@ function UniverDocsDrawingPreset(config = {}) {
|
|
|
24
24
|
].filter((v) => !!v) };
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
//#endregion
|
|
28
27
|
export { UniverDocsDrawingPreset };
|
package/lib/locales/ar-SA.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/ar-SA";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ar-SA";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ar-SA.ts
|
|
5
5
|
var ar_SA_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/ca-ES";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ca-ES";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ca-ES.ts
|
|
5
5
|
var ca_ES_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/de-DE";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/de-DE";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/de-DE.ts
|
|
5
5
|
var de_DE_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/en-US";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/en-US";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/en-US.ts
|
|
5
5
|
var en_US_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/es-ES";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/es-ES";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/es-ES.ts
|
|
5
5
|
var es_ES_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/fa-IR";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/fa-IR";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/fa-IR.ts
|
|
5
5
|
var fa_IR_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/fr-FR";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/fr-FR";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/fr-FR.ts
|
|
5
5
|
var fr_FR_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/id-ID";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/id-ID";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/id-ID.ts
|
|
5
5
|
var id_ID_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/it-IT";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/it-IT";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/it-IT.ts
|
|
5
5
|
var it_IT_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/ja-JP";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ja-JP";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ja-JP.ts
|
|
5
5
|
var ja_JP_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/ko-KR";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ko-KR";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ko-KR.ts
|
|
5
5
|
var ko_KR_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
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 univerjsdocsdrawingui from "@univerjs/docs-drawing-ui/locale/pl-PL";
|
|
2
2
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/pl-PL";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/pl-PL.ts
|
|
5
5
|
var pl_PL_default = Object.assign({}, univerjsdocsdrawingui, univerjsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { pl_PL_default as default };
|