@univerjs/preset-docs-drawing 1.3.1 → 1.5.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 (83) hide show
  1. package/README.md +3 -5
  2. package/lib/cjs/index.js +1 -2
  3. package/lib/cjs/locales/ar-SA.js +2 -3
  4. package/lib/cjs/locales/ca-ES.js +2 -3
  5. package/lib/cjs/locales/de-DE.js +2 -3
  6. package/lib/cjs/locales/en-US.js +2 -3
  7. package/lib/cjs/locales/es-ES.js +2 -3
  8. package/lib/cjs/locales/fa-IR.js +2 -3
  9. package/lib/cjs/locales/fr-FR.js +2 -3
  10. package/lib/cjs/locales/id-ID.js +2 -3
  11. package/lib/cjs/locales/it-IT.js +2 -3
  12. package/lib/cjs/locales/ja-JP.js +2 -3
  13. package/lib/cjs/locales/ko-KR.js +2 -3
  14. package/lib/cjs/locales/pl-PL.js +2 -3
  15. package/lib/cjs/locales/pt-BR.js +2 -3
  16. package/lib/cjs/locales/ru-RU.js +2 -3
  17. package/lib/cjs/locales/sk-SK.js +2 -3
  18. package/lib/cjs/locales/vi-VN.js +2 -3
  19. package/lib/cjs/locales/zh-CN.js +2 -3
  20. package/lib/cjs/locales/zh-HK.js +2 -3
  21. package/lib/cjs/locales/zh-TW.js +2 -3
  22. package/lib/cjs/{rolldown-runtime-AN5ru5iW.js → rolldown-runtime-xuxB8TGW.js} +1 -2
  23. package/lib/es/index.js +1 -2
  24. package/lib/es/locales/ar-SA.js +1 -2
  25. package/lib/es/locales/ca-ES.js +1 -2
  26. package/lib/es/locales/de-DE.js +1 -2
  27. package/lib/es/locales/en-US.js +1 -2
  28. package/lib/es/locales/es-ES.js +1 -2
  29. package/lib/es/locales/fa-IR.js +1 -2
  30. package/lib/es/locales/fr-FR.js +1 -2
  31. package/lib/es/locales/id-ID.js +1 -2
  32. package/lib/es/locales/it-IT.js +1 -2
  33. package/lib/es/locales/ja-JP.js +1 -2
  34. package/lib/es/locales/ko-KR.js +1 -2
  35. package/lib/es/locales/pl-PL.js +1 -2
  36. package/lib/es/locales/pt-BR.js +1 -2
  37. package/lib/es/locales/ru-RU.js +1 -2
  38. package/lib/es/locales/sk-SK.js +1 -2
  39. package/lib/es/locales/vi-VN.js +1 -2
  40. package/lib/es/locales/zh-CN.js +1 -2
  41. package/lib/es/locales/zh-HK.js +1 -2
  42. package/lib/es/locales/zh-TW.js +1 -2
  43. package/lib/index.css +285 -73
  44. package/lib/index.js +1 -2
  45. package/lib/locales/ar-SA.js +1 -2
  46. package/lib/locales/ca-ES.js +1 -2
  47. package/lib/locales/de-DE.js +1 -2
  48. package/lib/locales/en-US.js +1 -2
  49. package/lib/locales/es-ES.js +1 -2
  50. package/lib/locales/fa-IR.js +1 -2
  51. package/lib/locales/fr-FR.js +1 -2
  52. package/lib/locales/id-ID.js +1 -2
  53. package/lib/locales/it-IT.js +1 -2
  54. package/lib/locales/ja-JP.js +1 -2
  55. package/lib/locales/ko-KR.js +1 -2
  56. package/lib/locales/pl-PL.js +1 -2
  57. package/lib/locales/pt-BR.js +1 -2
  58. package/lib/locales/ru-RU.js +1 -2
  59. package/lib/locales/sk-SK.js +1 -2
  60. package/lib/locales/vi-VN.js +1 -2
  61. package/lib/locales/zh-CN.js +1 -2
  62. package/lib/locales/zh-HK.js +1 -2
  63. package/lib/locales/zh-TW.js +1 -2
  64. package/lib/types/locales/ar-SA.d.ts +37 -0
  65. package/lib/types/locales/ca-ES.d.ts +37 -0
  66. package/lib/types/locales/de-DE.d.ts +37 -0
  67. package/lib/types/locales/en-US.d.ts +37 -0
  68. package/lib/types/locales/es-ES.d.ts +37 -0
  69. package/lib/types/locales/fa-IR.d.ts +37 -0
  70. package/lib/types/locales/fr-FR.d.ts +37 -0
  71. package/lib/types/locales/id-ID.d.ts +37 -0
  72. package/lib/types/locales/it-IT.d.ts +37 -0
  73. package/lib/types/locales/ja-JP.d.ts +37 -0
  74. package/lib/types/locales/ko-KR.d.ts +37 -0
  75. package/lib/types/locales/pl-PL.d.ts +37 -0
  76. package/lib/types/locales/pt-BR.d.ts +37 -0
  77. package/lib/types/locales/ru-RU.d.ts +37 -0
  78. package/lib/types/locales/sk-SK.d.ts +37 -0
  79. package/lib/types/locales/vi-VN.d.ts +37 -0
  80. package/lib/types/locales/zh-CN.d.ts +37 -0
  81. package/lib/types/locales/zh-HK.d.ts +37 -0
  82. package/lib/types/locales/zh-TW.d.ts +37 -0
  83. package/package.json +11 -11
package/lib/index.css CHANGED
@@ -26,10 +26,6 @@
26
26
  display: none;
27
27
  }
28
28
 
29
- .univer-h-12 {
30
- height: 3rem;
31
- }
32
-
33
29
  .univer-w-full {
34
30
  width: 100%;
35
31
  }
@@ -129,15 +125,14 @@
129
125
  .\[\&\>div\]\:univer-gap-2 > div {
130
126
  gap: .5rem;
131
127
  }
132
-
133
- .\[\&_input\]\:\!univer-h-12 input {
134
- height: 3rem !important;
128
+ .\!univer-pointer-events-none {
129
+ pointer-events: none !important;
135
130
  }
136
131
 
137
- .\[\&_input\]\:\!univer-text-base input {
138
- font-size: 1rem !important;
139
- line-height: 1.5rem !important;
132
+ .univer-pointer-events-none {
133
+ pointer-events: none;
140
134
  }
135
+
141
136
  .univer-absolute {
142
137
  position: absolute;
143
138
  }
@@ -151,6 +146,18 @@
151
146
  right: 0;
152
147
  }
153
148
 
149
+ .\!univer-end-2 {
150
+ right: .5rem !important;
151
+ }
152
+
153
+ .\!univer-start-auto {
154
+ left: auto !important;
155
+ }
156
+
157
+ .\!univer-top-2 {
158
+ top: .5rem !important;
159
+ }
160
+
154
161
  .univer-bottom-0 {
155
162
  bottom: 0;
156
163
  }
@@ -159,10 +166,27 @@
159
166
  z-index: 1200;
160
167
  }
161
168
 
169
+ .univer-col-start-2 {
170
+ grid-column-start: 2;
171
+ }
172
+
173
+ .\!univer-m-0 {
174
+ margin: 0 !important;
175
+ }
176
+
162
177
  .univer-m-0 {
163
178
  margin: 0;
164
179
  }
165
180
 
181
+ .univer-mx-0\.5 {
182
+ margin-left: .125rem;
183
+ margin-right: .125rem;
184
+ }
185
+
186
+ .univer-mt-1 {
187
+ margin-top: .25rem;
188
+ }
189
+
166
190
  .univer-mt-2\.5 {
167
191
  margin-top: .625rem;
168
192
  }
@@ -179,6 +203,14 @@
179
203
  display: flex;
180
204
  }
181
205
 
206
+ .univer-inline-flex {
207
+ display: inline-flex;
208
+ }
209
+
210
+ .\!univer-grid {
211
+ display: grid !important;
212
+ }
213
+
182
214
  .univer-grid {
183
215
  display: grid;
184
216
  }
@@ -207,21 +239,34 @@
207
239
  height: 1.75rem;
208
240
  }
209
241
 
242
+ .univer-size-8 {
243
+ width: 2rem;
244
+ height: 2rem;
245
+ }
246
+
210
247
  .univer-size-full {
211
248
  width: 100%;
212
249
  height: 100%;
213
250
  }
214
251
 
215
- .\!univer-h-7 {
216
- height: 1.75rem !important;
252
+ .\!univer-h-4 {
253
+ height: 1rem !important;
217
254
  }
218
255
 
219
- .univer-h-11 {
220
- height: 2.75rem;
256
+ .\!univer-h-8 {
257
+ height: 2rem !important;
258
+ }
259
+
260
+ .univer-h-1 {
261
+ height: .25rem;
262
+ }
263
+
264
+ .univer-h-10 {
265
+ height: 2.5rem;
221
266
  }
222
267
 
223
- .univer-h-12 {
224
- height: 3rem;
268
+ .univer-h-11 {
269
+ height: 2.75rem;
225
270
  }
226
271
 
227
272
  .univer-h-6 {
@@ -248,6 +293,10 @@
248
293
  min-height: 0;
249
294
  }
250
295
 
296
+ .univer-min-h-10 {
297
+ min-height: 2.5rem;
298
+ }
299
+
251
300
  .univer-min-h-12 {
252
301
  min-height: 3rem;
253
302
  }
@@ -256,10 +305,6 @@
256
305
  min-height: 4rem;
257
306
  }
258
307
 
259
- .univer-w-0 {
260
- width: 0;
261
- }
262
-
263
308
  .univer-w-2 {
264
309
  width: .5rem;
265
310
  }
@@ -268,10 +313,26 @@
268
313
  width: 1.5rem;
269
314
  }
270
315
 
316
+ .univer-w-60 {
317
+ width: 15rem;
318
+ }
319
+
320
+ .univer-w-80 {
321
+ width: 20rem;
322
+ }
323
+
271
324
  .univer-w-full {
272
325
  width: 100%;
273
326
  }
274
327
 
328
+ .univer-w-max {
329
+ width: max-content;
330
+ }
331
+
332
+ .\!univer-min-w-0 {
333
+ min-width: 0 !important;
334
+ }
335
+
275
336
  .univer-min-w-0 {
276
337
  min-width: 0;
277
338
  }
@@ -284,6 +345,10 @@
284
345
  min-width: 2.25rem;
285
346
  }
286
347
 
348
+ .univer-max-w-80 {
349
+ max-width: 20rem;
350
+ }
351
+
287
352
  .univer-max-w-full {
288
353
  max-width: 100%;
289
354
  }
@@ -312,14 +377,28 @@
312
377
  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
378
  }
314
379
 
315
- .univer-cursor-not-allowed {
316
- cursor: not-allowed;
380
+ .\!univer-transform-none {
381
+ transform: none !important;
382
+ }
383
+
384
+ @keyframes univer-spin {
385
+ to {
386
+ transform: rotate(360deg);
387
+ }
388
+ }
389
+
390
+ .univer-animate-spin {
391
+ animation: 1s linear infinite univer-spin;
317
392
  }
318
393
 
319
394
  .univer-resize-none {
320
395
  resize: none;
321
396
  }
322
397
 
398
+ .\!univer-grid-cols-\[20px_minmax\(0\,1fr\)\] {
399
+ grid-template-columns: 20px minmax(0, 1fr) !important;
400
+ }
401
+
323
402
  .univer-grid-cols-2 {
324
403
  grid-template-columns: repeat(2, minmax(0, 1fr));
325
404
  }
@@ -332,6 +411,14 @@
332
411
  flex-direction: column;
333
412
  }
334
413
 
414
+ .univer-flex-nowrap {
415
+ flex-wrap: nowrap;
416
+ }
417
+
418
+ .\!univer-items-start {
419
+ align-items: flex-start !important;
420
+ }
421
+
335
422
  .univer-items-center {
336
423
  align-items: center;
337
424
  }
@@ -348,6 +435,10 @@
348
435
  justify-content: space-between;
349
436
  }
350
437
 
438
+ .\!univer-gap-1 {
439
+ gap: .25rem !important;
440
+ }
441
+
351
442
  .univer-gap-0\.5 {
352
443
  gap: .125rem;
353
444
  }
@@ -368,6 +459,23 @@
368
459
  gap: .75rem;
369
460
  }
370
461
 
462
+ .\!univer-gap-x-3 {
463
+ -moz-column-gap: .75rem !important;
464
+ column-gap: .75rem !important;
465
+ }
466
+
467
+ .\!univer-gap-y-3 {
468
+ row-gap: .75rem !important;
469
+ }
470
+
471
+ .\!univer-self-start {
472
+ align-self: flex-start !important;
473
+ }
474
+
475
+ .univer-justify-self-end {
476
+ justify-self: end;
477
+ }
478
+
371
479
  .univer-overflow-hidden {
372
480
  overflow: hidden;
373
481
  }
@@ -384,28 +492,38 @@
384
492
  overflow-x: hidden;
385
493
  }
386
494
 
495
+ .\!univer-truncate {
496
+ text-overflow: ellipsis !important;
497
+ white-space: nowrap !important;
498
+ overflow: hidden !important;
499
+ }
500
+
387
501
  .univer-truncate {
388
502
  text-overflow: ellipsis;
389
503
  white-space: nowrap;
390
504
  overflow: hidden;
391
505
  }
392
506
 
393
- .univer-text-ellipsis {
394
- text-overflow: ellipsis;
507
+ .\!univer-rounded-lg {
508
+ border-radius: .5rem !important;
395
509
  }
396
510
 
397
- .univer-whitespace-nowrap {
398
- white-space: nowrap;
511
+ .\!univer-rounded-md {
512
+ border-radius: .375rem !important;
399
513
  }
400
514
 
401
- .\!univer-rounded {
402
- border-radius: .25rem !important;
515
+ .\!univer-rounded-xl {
516
+ border-radius: .75rem !important;
403
517
  }
404
518
 
405
519
  .univer-rounded {
406
520
  border-radius: .25rem;
407
521
  }
408
522
 
523
+ .univer-rounded-full {
524
+ border-radius: 9999px;
525
+ }
526
+
409
527
  .univer-rounded-lg {
410
528
  border-radius: .5rem;
411
529
  }
@@ -418,6 +536,10 @@
418
536
  border-radius: .75rem;
419
537
  }
420
538
 
539
+ .\!univer-border-0 {
540
+ border-width: 0 !important;
541
+ }
542
+
421
543
  .univer-border {
422
544
  border-width: 1px;
423
545
  }
@@ -426,6 +548,10 @@
426
548
  border-width: 0;
427
549
  }
428
550
 
551
+ .univer-border-2 {
552
+ border-width: 2px;
553
+ }
554
+
429
555
  .univer-border-t {
430
556
  border-top-width: 1px;
431
557
  }
@@ -438,8 +564,12 @@
438
564
  border-style: none;
439
565
  }
440
566
 
441
- .\!univer-border-transparent {
442
- border-color: #0000 !important;
567
+ .\!univer-border-gray-200 {
568
+ border-color: var(--univer-gray-200) !important;
569
+ }
570
+
571
+ .univer-border-current {
572
+ border-color: currentColor;
443
573
  }
444
574
 
445
575
  .univer-border-gray-200 {
@@ -450,6 +580,14 @@
450
580
  border-color: var(--univer-primary-500);
451
581
  }
452
582
 
583
+ .univer-border-t-transparent {
584
+ border-top-color: #0000;
585
+ }
586
+
587
+ .\!univer-bg-gray-0 {
588
+ background-color: var(--univer-gray-0) !important;
589
+ }
590
+
453
591
  .\!univer-bg-gray-800 {
454
592
  background-color: var(--univer-gray-800) !important;
455
593
  }
@@ -498,13 +636,17 @@
498
636
  padding: .25rem;
499
637
  }
500
638
 
639
+ .univer-p-2 {
640
+ padding: .5rem;
641
+ }
642
+
501
643
  .univer-p-3 {
502
644
  padding: .75rem;
503
645
  }
504
646
 
505
- .\!univer-px-1 {
506
- padding-left: .25rem !important;
507
- padding-right: .25rem !important;
647
+ .\!univer-px-3 {
648
+ padding-left: .75rem !important;
649
+ padding-right: .75rem !important;
508
650
  }
509
651
 
510
652
  .univer-px-1 {
@@ -550,6 +692,10 @@
550
692
  padding-bottom: max(12px,env(safe-area-inset-bottom));
551
693
  }
552
694
 
695
+ .univer-pe-5 {
696
+ padding-right: 1.25rem;
697
+ }
698
+
553
699
  .univer-pr-1\.5 {
554
700
  padding-right: .375rem;
555
701
  }
@@ -570,11 +716,29 @@
570
716
  text-align: center;
571
717
  }
572
718
 
719
+ .univer-text-start {
720
+ text-align: left;
721
+ }
722
+
723
+ .univer-font-sans {
724
+ 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;
725
+ }
726
+
573
727
  .\!univer-text-base {
574
728
  font-size: 1rem !important;
575
729
  line-height: 1.5rem !important;
576
730
  }
577
731
 
732
+ .\!univer-text-sm {
733
+ font-size: .875rem !important;
734
+ line-height: 1.25rem !important;
735
+ }
736
+
737
+ .\!univer-text-xs {
738
+ font-size: .75rem !important;
739
+ line-height: 1rem !important;
740
+ }
741
+
578
742
  .univer-text-\[10px\] {
579
743
  font-size: 10px;
580
744
  }
@@ -599,6 +763,10 @@
599
763
  line-height: 1rem;
600
764
  }
601
765
 
766
+ .\!univer-font-medium {
767
+ font-weight: 500 !important;
768
+ }
769
+
602
770
  .univer-font-medium {
603
771
  font-weight: 500;
604
772
  }
@@ -611,6 +779,22 @@
611
779
  text-transform: uppercase;
612
780
  }
613
781
 
782
+ .\!univer-leading-5 {
783
+ line-height: 1.25rem !important;
784
+ }
785
+
786
+ .\!univer-text-gray-0 {
787
+ color: var(--univer-gray-0) !important;
788
+ }
789
+
790
+ .\!univer-text-gray-500 {
791
+ color: var(--univer-gray-500) !important;
792
+ }
793
+
794
+ .\!univer-text-gray-600 {
795
+ color: var(--univer-gray-600) !important;
796
+ }
797
+
614
798
  .\!univer-text-primary-300 {
615
799
  color: var(--univer-primary-300) !important;
616
800
  }
@@ -640,19 +824,24 @@
640
824
  color: var(--univer-gray-900);
641
825
  }
642
826
 
827
+ .univer-text-inherit {
828
+ color: inherit;
829
+ }
830
+
643
831
  .univer-text-primary-600 {
644
832
  color: var(--univer-primary-600);
645
833
  }
646
834
 
647
- .univer-opacity-50 {
648
- opacity: .5;
835
+ .univer-text-red-600 {
836
+ color: var(--univer-red-600);
837
+ }
838
+
839
+ .univer-text-yellow-600 {
840
+ color: var(--univer-yellow-600);
649
841
  }
650
842
 
651
- .\!univer-shadow-none {
652
- --univer-tw-shadow: 0 0 #0000 !important;
653
- --univer-tw-shadow-colored: 0 0 #0000 !important;
654
- box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000 !important;
655
- box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow) !important;
843
+ .univer-opacity-50 {
844
+ opacity: .5;
656
845
  }
657
846
 
658
847
  .univer-shadow-lg {
@@ -662,6 +851,13 @@
662
851
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
663
852
  }
664
853
 
854
+ .univer-shadow-md {
855
+ --univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
856
+ --univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
857
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 6px -2px #1e284d14, 0 2px 6px -1px #1e284d1a;
858
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
859
+ }
860
+
665
861
  .univer-shadow-sm {
666
862
  --univer-tw-shadow: 0px 1px 2px 0px #1e284d14;
667
863
  --univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);
@@ -699,6 +895,18 @@
699
895
  }
700
896
 
701
897
  @media (hover: hover) and (pointer: fine) {
898
+ .hover\:\!univer-bg-gray-100:hover {
899
+ background-color: var(--univer-gray-100) !important;
900
+ }
901
+
902
+ .hover\:\!univer-bg-primary-500:hover {
903
+ background-color: var(--univer-primary-500) !important;
904
+ }
905
+
906
+ .hover\:\!univer-bg-red-50:hover {
907
+ background-color: var(--univer-red-50) !important;
908
+ }
909
+
702
910
  .hover\:univer-bg-gray-100:hover {
703
911
  background-color: var(--univer-gray-100);
704
912
  }
@@ -707,6 +915,10 @@
707
915
  background-color: var(--univer-gray-50);
708
916
  }
709
917
 
918
+ .hover\:\!univer-text-red-600:hover {
919
+ color: var(--univer-red-600) !important;
920
+ }
921
+
710
922
  .hover\:univer-text-gray-600:hover {
711
923
  color: var(--univer-gray-600);
712
924
  }
@@ -716,23 +928,20 @@
716
928
  }
717
929
  }
718
930
 
719
- .focus\:\!univer-border-primary-500:focus {
720
- border-color: var(--univer-primary-500) !important;
931
+ .focus-visible\:\!univer-text-red-600:focus-visible {
932
+ color: var(--univer-red-600) !important;
721
933
  }
722
934
 
723
- .focus\:\!univer-bg-gray-0:focus {
724
- background-color: var(--univer-gray-0) !important;
935
+ .focus-visible\:univer-outline:focus-visible {
936
+ outline-style: solid;
725
937
  }
726
938
 
727
- .focus\:\!univer-ring-1:focus {
728
- --univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color) !important;
729
- --univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(1px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color) !important;
730
- box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000 !important;
731
- box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000) !important;
939
+ .focus-visible\:univer-outline-2:focus-visible {
940
+ outline-width: 2px;
732
941
  }
733
942
 
734
- .focus\:\!univer-ring-primary-100:focus {
735
- --univer-tw-ring-color: var(--univer-primary-100) !important;
943
+ .focus-visible\:univer-outline-primary-500:focus-visible {
944
+ outline-color: var(--univer-primary-500);
736
945
  }
737
946
 
738
947
  .active\:univer-scale-95:active {
@@ -758,14 +967,6 @@
758
967
  cursor: not-allowed;
759
968
  }
760
969
 
761
- .disabled\:\!univer-bg-transparent:disabled {
762
- background-color: #0000 !important;
763
- }
764
-
765
- .disabled\:univer-opacity-100:disabled {
766
- opacity: 1;
767
- }
768
-
769
970
  .disabled\:univer-opacity-40:disabled {
770
971
  opacity: .4;
771
972
  }
@@ -786,6 +987,10 @@
786
987
  border-color: var(--univer-gray-700) !important;
787
988
  }
788
989
 
990
+ .dark\:univer-border-gray-600:where(.univer-dark, .univer-dark *) {
991
+ border-color: var(--univer-gray-600);
992
+ }
993
+
789
994
  .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
790
995
  background-color: var(--univer-gray-700) !important;
791
996
  }
@@ -802,6 +1007,10 @@
802
1007
  background-color: var(--univer-primary-900) !important;
803
1008
  }
804
1009
 
1010
+ .dark\:univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
1011
+ background-color: var(--univer-gray-800);
1012
+ }
1013
+
805
1014
  .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
806
1015
  color: var(--univer-gray-0) !important;
807
1016
  }
@@ -834,6 +1043,14 @@
834
1043
  color: var(--univer-primary-300) !important;
835
1044
  }
836
1045
 
1046
+ .dark\:univer-text-gray-0:where(.univer-dark, .univer-dark *) {
1047
+ color: var(--univer-gray-0);
1048
+ }
1049
+
1050
+ .dark\:univer-text-yellow-400:where(.univer-dark, .univer-dark *) {
1051
+ color: var(--univer-yellow-400);
1052
+ }
1053
+
837
1054
  @media (hover: hover) and (pointer: fine) {
838
1055
  .dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
839
1056
  background-color: var(--univer-gray-700) !important;
@@ -843,6 +1060,10 @@
843
1060
  background-color: var(--univer-gray-800) !important;
844
1061
  }
845
1062
 
1063
+ .dark\:hover\:\!univer-bg-red-900:hover:where(.univer-dark, .univer-dark *) {
1064
+ background-color: var(--univer-red-900) !important;
1065
+ }
1066
+
846
1067
  .dark\:hover\:\!univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
847
1068
  color: var(--univer-gray-100) !important;
848
1069
  }
@@ -850,14 +1071,10 @@
850
1071
  .dark\:hover\:\!univer-text-gray-300:hover:where(.univer-dark, .univer-dark *) {
851
1072
  color: var(--univer-gray-300) !important;
852
1073
  }
853
- }
854
1074
 
855
- .dark\:focus\:\!univer-bg-gray-900:focus:where(.univer-dark, .univer-dark *) {
856
- background-color: var(--univer-gray-900) !important;
857
- }
858
-
859
- .dark\:focus\:\!univer-ring-primary-900:focus:where(.univer-dark, .univer-dark *) {
860
- --univer-tw-ring-color: var(--univer-primary-900) !important;
1075
+ .dark\:hover\:\!univer-text-red-300:hover:where(.univer-dark, .univer-dark *) {
1076
+ color: var(--univer-red-300) !important;
1077
+ }
861
1078
  }
862
1079
 
863
1080
  .\[\&\>div\]\:univer-grid > div {
@@ -868,11 +1085,6 @@
868
1085
  gap: .5rem;
869
1086
  }
870
1087
 
871
- .\[\&_input\]\:\!univer-h-12 input {
872
- height: 3rem !important;
873
- }
874
-
875
- .\[\&_input\]\:\!univer-text-base input {
876
- font-size: 1rem !important;
877
- line-height: 1.5rem !important;
1088
+ .\[\&\>svg\]\:\!univer-top-0 > svg {
1089
+ top: 0 !important;
878
1090
  }
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
- //#region src/preset.ts
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 };
@@ -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
- //#region src/locales/ar-SA.ts
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 };
@@ -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
- //#region src/locales/ca-ES.ts
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 };
@@ -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
- //#region src/locales/de-DE.ts
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 };
@@ -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
- //#region src/locales/en-US.ts
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 };