@univerjs/preset-docs-advanced 1.0.0-beta.0 → 1.0.0-beta.1

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 (59) hide show
  1. package/lib/cjs/locales/ar-SA.js +3 -1
  2. package/lib/cjs/locales/ca-ES.js +3 -1
  3. package/lib/cjs/locales/de-DE.js +3 -1
  4. package/lib/cjs/locales/en-US.js +3 -1
  5. package/lib/cjs/locales/es-ES.js +3 -1
  6. package/lib/cjs/locales/fa-IR.js +3 -1
  7. package/lib/cjs/locales/fr-FR.js +3 -1
  8. package/lib/cjs/locales/id-ID.js +3 -1
  9. package/lib/cjs/locales/it-IT.js +3 -1
  10. package/lib/cjs/locales/ja-JP.js +3 -1
  11. package/lib/cjs/locales/ko-KR.js +3 -1
  12. package/lib/cjs/locales/pl-PL.js +3 -1
  13. package/lib/cjs/locales/pt-BR.js +3 -1
  14. package/lib/cjs/locales/ru-RU.js +3 -1
  15. package/lib/cjs/locales/sk-SK.js +3 -1
  16. package/lib/cjs/locales/vi-VN.js +3 -1
  17. package/lib/cjs/locales/zh-CN.js +3 -1
  18. package/lib/cjs/locales/zh-HK.js +3 -1
  19. package/lib/cjs/locales/zh-TW.js +3 -1
  20. package/lib/es/locales/ar-SA.js +2 -1
  21. package/lib/es/locales/ca-ES.js +2 -1
  22. package/lib/es/locales/de-DE.js +2 -1
  23. package/lib/es/locales/en-US.js +2 -1
  24. package/lib/es/locales/es-ES.js +2 -1
  25. package/lib/es/locales/fa-IR.js +2 -1
  26. package/lib/es/locales/fr-FR.js +2 -1
  27. package/lib/es/locales/id-ID.js +2 -1
  28. package/lib/es/locales/it-IT.js +2 -1
  29. package/lib/es/locales/ja-JP.js +2 -1
  30. package/lib/es/locales/ko-KR.js +2 -1
  31. package/lib/es/locales/pl-PL.js +2 -1
  32. package/lib/es/locales/pt-BR.js +2 -1
  33. package/lib/es/locales/ru-RU.js +2 -1
  34. package/lib/es/locales/sk-SK.js +2 -1
  35. package/lib/es/locales/vi-VN.js +2 -1
  36. package/lib/es/locales/zh-CN.js +2 -1
  37. package/lib/es/locales/zh-HK.js +2 -1
  38. package/lib/es/locales/zh-TW.js +2 -1
  39. package/lib/index.css +578 -87
  40. package/lib/locales/ar-SA.js +2 -1
  41. package/lib/locales/ca-ES.js +2 -1
  42. package/lib/locales/de-DE.js +2 -1
  43. package/lib/locales/en-US.js +2 -1
  44. package/lib/locales/es-ES.js +2 -1
  45. package/lib/locales/fa-IR.js +2 -1
  46. package/lib/locales/fr-FR.js +2 -1
  47. package/lib/locales/id-ID.js +2 -1
  48. package/lib/locales/it-IT.js +2 -1
  49. package/lib/locales/ja-JP.js +2 -1
  50. package/lib/locales/ko-KR.js +2 -1
  51. package/lib/locales/pl-PL.js +2 -1
  52. package/lib/locales/pt-BR.js +2 -1
  53. package/lib/locales/ru-RU.js +2 -1
  54. package/lib/locales/sk-SK.js +2 -1
  55. package/lib/locales/vi-VN.js +2 -1
  56. package/lib/locales/zh-CN.js +2 -1
  57. package/lib/locales/zh-HK.js +2 -1
  58. package/lib/locales/zh-TW.js +2 -1
  59. package/package.json +14 -13
package/lib/index.css CHANGED
@@ -26,8 +26,8 @@
26
26
  border-color: var(--univer-gray-200);
27
27
  }
28
28
 
29
- .univer-bg-white {
30
- background-color: var(--univer-white);
29
+ .univer-bg-gray-0 {
30
+ background-color: var(--univer-gray-0);
31
31
  }
32
32
 
33
33
  .univer-p-1 {
@@ -41,6 +41,121 @@
41
41
  .dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
42
42
  background-color: var(--univer-gray-900) !important;
43
43
  }
44
+ .univer-mb-1 {
45
+ margin-bottom: .25rem;
46
+ }
47
+
48
+ .univer-mr-4 {
49
+ margin-right: 1rem;
50
+ }
51
+
52
+ .univer-flex {
53
+ display: flex;
54
+ }
55
+
56
+ .univer-min-h-0 {
57
+ min-height: 0;
58
+ }
59
+
60
+ .univer-w-52 {
61
+ width: 13rem;
62
+ }
63
+
64
+ .univer-w-full {
65
+ width: 100%;
66
+ }
67
+
68
+ .univer-flex-1 {
69
+ flex: 1;
70
+ }
71
+
72
+ .univer-shrink-0 {
73
+ flex-shrink: 0;
74
+ }
75
+
76
+ .univer-overflow-auto {
77
+ overflow: auto;
78
+ }
79
+
80
+ .univer-overflow-y-auto {
81
+ overflow-y: auto;
82
+ }
83
+
84
+ .univer-truncate {
85
+ text-overflow: ellipsis;
86
+ white-space: nowrap;
87
+ overflow: hidden;
88
+ }
89
+
90
+ .univer-rounded {
91
+ border-radius: .25rem;
92
+ }
93
+
94
+ .univer-border {
95
+ border-width: 1px;
96
+ }
97
+
98
+ .univer-border-r {
99
+ border-right-width: 1px;
100
+ }
101
+
102
+ .univer-border-none {
103
+ border-style: none;
104
+ }
105
+
106
+ .univer-border-gray-200 {
107
+ border-color: var(--univer-gray-200);
108
+ }
109
+
110
+ .univer-border-gray-300 {
111
+ border-color: var(--univer-gray-300);
112
+ }
113
+
114
+ .univer-bg-primary-50 {
115
+ background-color: var(--univer-primary-50);
116
+ }
117
+
118
+ .univer-bg-transparent {
119
+ background-color: #0000;
120
+ }
121
+
122
+ .univer-p-2 {
123
+ padding: .5rem;
124
+ }
125
+
126
+ .univer-pr-3 {
127
+ padding-right: .75rem;
128
+ }
129
+
130
+ .univer-text-left {
131
+ text-align: left;
132
+ }
133
+
134
+ .univer-text-sm {
135
+ font-size: .875rem;
136
+ line-height: 1.25rem;
137
+ }
138
+
139
+ .univer-text-xs {
140
+ font-size: .75rem;
141
+ line-height: 1rem;
142
+ }
143
+
144
+ .univer-font-medium {
145
+ font-weight: 500;
146
+ }
147
+
148
+ .univer-text-gray-500 {
149
+ color: var(--univer-gray-500);
150
+ }
151
+
152
+ .univer-text-primary-700 {
153
+ color: var(--univer-primary-700);
154
+ }
155
+
156
+ .dark\:\!univer-border-gray-700:where(.univer-dark, .univer-dark *) {
157
+ border-color: var(--univer-gray-700) !important;
158
+ }
44
159
  .univer-fixed {
45
160
  position: fixed;
46
161
  }
@@ -111,10 +226,6 @@
111
226
  height: 1.25rem;
112
227
  }
113
228
 
114
- .univer-h-7 {
115
- height: 1.75rem;
116
- }
117
-
118
229
  .univer-max-h-72 {
119
230
  max-height: 18rem;
120
231
  }
@@ -157,10 +268,6 @@
157
268
  cursor: pointer;
158
269
  }
159
270
 
160
- .univer-select-none {
161
- user-select: none;
162
- }
163
-
164
271
  .univer-list-none {
165
272
  list-style-type: none;
166
273
  }
@@ -227,16 +334,12 @@
227
334
  border-radius: .375rem;
228
335
  }
229
336
 
230
- .univer-border-0 {
231
- border-width: 0;
232
- }
233
-
234
337
  .univer-border-none {
235
338
  border-style: none;
236
339
  }
237
340
 
238
- .univer-border-transparent {
239
- border-color: #0000;
341
+ .univer-bg-gray-0 {
342
+ background-color: var(--univer-gray-0);
240
343
  }
241
344
 
242
345
  .univer-bg-gray-200 {
@@ -251,10 +354,6 @@
251
354
  background-color: #0000;
252
355
  }
253
356
 
254
- .univer-bg-white {
255
- background-color: var(--univer-white);
256
- }
257
-
258
357
  .univer-p-0 {
259
358
  padding: 0;
260
359
  }
@@ -385,22 +484,12 @@
385
484
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
386
485
  }
387
486
 
388
- .univer-transition-all {
389
- transition-property: all;
390
- transition-duration: .15s;
391
- transition-timing-function: cubic-bezier(.4, 0, .2, 1);
392
- }
393
-
394
487
  .univer-transition-colors {
395
488
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
396
489
  transition-duration: .15s;
397
490
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
398
491
  }
399
492
 
400
- .univer-duration-150 {
401
- transition-duration: .15s;
402
- }
403
-
404
493
  .univer-duration-500 {
405
494
  transition-duration: .5s;
406
495
  }
@@ -409,20 +498,16 @@
409
498
  background-color: var(--univer-gray-200);
410
499
  }
411
500
 
412
- .hover\:univer-bg-primary-50:hover {
413
- background-color: var(--univer-primary-50);
414
- }
415
-
416
501
  .dark\:\!univer-bg-gray-600:where(.univer-dark, .univer-dark *) {
417
502
  background-color: var(--univer-gray-600) !important;
418
503
  }
419
504
 
420
- .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
421
- color: var(--univer-gray-200) !important;
505
+ .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
506
+ color: var(--univer-gray-0) !important;
422
507
  }
423
508
 
424
- .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
425
- color: var(--univer-white) !important;
509
+ .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
510
+ color: var(--univer-gray-200) !important;
426
511
  }
427
512
 
428
513
  .dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark, .univer-dark *) {
@@ -444,6 +529,11 @@
444
529
  inset: 0;
445
530
  }
446
531
 
532
+ .univer-inset-x-1 {
533
+ left: .25rem;
534
+ right: .25rem;
535
+ }
536
+
447
537
  .univer-bottom-full {
448
538
  bottom: 100%;
449
539
  }
@@ -452,6 +542,22 @@
452
542
  left: 0;
453
543
  }
454
544
 
545
+ .univer-left-1\.5 {
546
+ left: .375rem;
547
+ }
548
+
549
+ .univer-top-1 {
550
+ top: .25rem;
551
+ }
552
+
553
+ .univer-top-10 {
554
+ top: 2.5rem;
555
+ }
556
+
557
+ .univer-top-8 {
558
+ top: 2rem;
559
+ }
560
+
455
561
  .univer-top-full {
456
562
  top: 100%;
457
563
  }
@@ -464,6 +570,10 @@
464
570
  z-index: 100;
465
571
  }
466
572
 
573
+ .univer-m-0 {
574
+ margin: 0;
575
+ }
576
+
467
577
  .univer-mx-auto {
468
578
  margin-left: auto;
469
579
  margin-right: auto;
@@ -474,6 +584,10 @@
474
584
  margin-bottom: .25rem;
475
585
  }
476
586
 
587
+ .univer-mb-0\.5 {
588
+ margin-bottom: .125rem;
589
+ }
590
+
477
591
  .univer-mb-1 {
478
592
  margin-bottom: .25rem;
479
593
  }
@@ -482,6 +596,10 @@
482
596
  margin-bottom: .5rem;
483
597
  }
484
598
 
599
+ .univer-mb-3 {
600
+ margin-bottom: .75rem;
601
+ }
602
+
485
603
  .univer-ml-2 {
486
604
  margin-left: .5rem;
487
605
  }
@@ -534,6 +652,10 @@
534
652
  display: grid;
535
653
  }
536
654
 
655
+ .univer-contents {
656
+ display: contents;
657
+ }
658
+
537
659
  .univer-hidden {
538
660
  display: none;
539
661
  }
@@ -542,9 +664,9 @@
542
664
  aspect-ratio: 1;
543
665
  }
544
666
 
545
- .univer-size-2 {
546
- width: .5rem;
547
- height: .5rem;
667
+ .univer-size-10 {
668
+ width: 2.5rem;
669
+ height: 2.5rem;
548
670
  }
549
671
 
550
672
  .univer-size-4 {
@@ -557,6 +679,26 @@
557
679
  height: 1.25rem;
558
680
  }
559
681
 
682
+ .univer-size-6 {
683
+ width: 1.5rem;
684
+ height: 1.5rem;
685
+ }
686
+
687
+ .univer-size-8 {
688
+ width: 2rem;
689
+ height: 2rem;
690
+ }
691
+
692
+ .univer-size-\[68px\] {
693
+ width: 68px;
694
+ height: 68px;
695
+ }
696
+
697
+ .univer-size-\[88px\] {
698
+ width: 88px;
699
+ height: 88px;
700
+ }
701
+
560
702
  .univer-size-full {
561
703
  width: 100%;
562
704
  height: 100%;
@@ -578,10 +720,22 @@
578
720
  height: .375rem;
579
721
  }
580
722
 
723
+ .univer-h-10 {
724
+ height: 2.5rem;
725
+ }
726
+
727
+ .univer-h-12 {
728
+ height: 3rem;
729
+ }
730
+
581
731
  .univer-h-14 {
582
732
  height: 3.5rem;
583
733
  }
584
734
 
735
+ .univer-h-16 {
736
+ height: 4rem;
737
+ }
738
+
585
739
  .univer-h-2 {
586
740
  height: .5rem;
587
741
  }
@@ -590,10 +744,6 @@
590
744
  height: 7rem;
591
745
  }
592
746
 
593
- .univer-h-4 {
594
- height: 1rem;
595
- }
596
-
597
747
  .univer-h-5 {
598
748
  height: 1.25rem;
599
749
  }
@@ -610,14 +760,34 @@
610
760
  height: 2rem;
611
761
  }
612
762
 
763
+ .univer-h-9 {
764
+ height: 2.25rem;
765
+ }
766
+
613
767
  .univer-h-\[100px\] {
614
768
  height: 100px;
615
769
  }
616
770
 
771
+ .univer-h-\[470px\] {
772
+ height: 470px;
773
+ }
774
+
617
775
  .univer-h-\[500px\] {
618
776
  height: 500px;
619
777
  }
620
778
 
779
+ .univer-h-\[620px\] {
780
+ height: 620px;
781
+ }
782
+
783
+ .univer-h-\[62px\] {
784
+ height: 62px;
785
+ }
786
+
787
+ .univer-h-\[92px\] {
788
+ height: 92px;
789
+ }
790
+
621
791
  .univer-h-\[min\(780px\,calc\(100vh-180px\)\)\] {
622
792
  height: min(780px, 100vh - 180px);
623
793
  }
@@ -638,10 +808,22 @@
638
808
  min-height: 0;
639
809
  }
640
810
 
811
+ .univer-min-h-64 {
812
+ min-height: 16rem;
813
+ }
814
+
815
+ .univer-min-h-8 {
816
+ min-height: 2rem;
817
+ }
818
+
641
819
  .univer-min-h-\[560px\] {
642
820
  min-height: 560px;
643
821
  }
644
822
 
823
+ .\!univer-w-auto {
824
+ width: auto !important;
825
+ }
826
+
645
827
  .univer-w-0 {
646
828
  width: 0;
647
829
  }
@@ -670,6 +852,10 @@
670
852
  width: 7rem;
671
853
  }
672
854
 
855
+ .univer-w-3 {
856
+ width: .75rem;
857
+ }
858
+
673
859
  .univer-w-32 {
674
860
  width: 8rem;
675
861
  }
@@ -678,6 +864,10 @@
678
864
  width: 1rem;
679
865
  }
680
866
 
867
+ .univer-w-40 {
868
+ width: 10rem;
869
+ }
870
+
681
871
  .univer-w-44 {
682
872
  width: 11rem;
683
873
  }
@@ -702,14 +892,26 @@
702
892
  width: 2rem;
703
893
  }
704
894
 
895
+ .univer-w-9 {
896
+ width: 2.25rem;
897
+ }
898
+
705
899
  .univer-w-\[100px\] {
706
900
  width: 100px;
707
901
  }
708
902
 
903
+ .univer-w-\[120px\] {
904
+ width: 120px;
905
+ }
906
+
709
907
  .univer-w-\[168px\] {
710
908
  width: 168px;
711
909
  }
712
910
 
911
+ .univer-w-\[210px\] {
912
+ width: 210px;
913
+ }
914
+
713
915
  .univer-w-\[244px\] {
714
916
  width: 244px;
715
917
  }
@@ -726,6 +928,30 @@
726
928
  width: 320px;
727
929
  }
728
930
 
931
+ .univer-w-\[366px\] {
932
+ width: 366px;
933
+ }
934
+
935
+ .univer-w-\[560px\] {
936
+ width: 560px;
937
+ }
938
+
939
+ .univer-w-\[72px\] {
940
+ width: 72px;
941
+ }
942
+
943
+ .univer-w-\[760px\] {
944
+ width: 760px;
945
+ }
946
+
947
+ .univer-w-\[820px\] {
948
+ width: 820px;
949
+ }
950
+
951
+ .univer-w-\[86px\] {
952
+ width: 86px;
953
+ }
954
+
729
955
  .univer-w-auto {
730
956
  width: auto;
731
957
  }
@@ -750,10 +976,6 @@
750
976
  min-width: 11rem;
751
977
  }
752
978
 
753
- .univer-min-w-6 {
754
- min-width: 1.5rem;
755
- }
756
-
757
979
  .univer-min-w-7 {
758
980
  min-width: 1.75rem;
759
981
  }
@@ -778,18 +1000,6 @@
778
1000
  flex-shrink: 0;
779
1001
  }
780
1002
 
781
- .-univer-translate-y-1 {
782
- --univer-tw-translate-y: -.25rem;
783
- transform: translate(var(--univer-tw-translate-x), -.25rem) 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));
784
- 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));
785
- }
786
-
787
- .-univer-rotate-90 {
788
- --univer-tw-rotate: -90deg;
789
- transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(-90deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
790
- 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));
791
- }
792
-
793
1003
  .univer-rotate-180 {
794
1004
  --univer-tw-rotate: 180deg;
795
1005
  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));
@@ -834,10 +1044,26 @@
834
1044
  grid-template-columns: repeat(3, minmax(0, 1fr));
835
1045
  }
836
1046
 
1047
+ .univer-grid-cols-4 {
1048
+ grid-template-columns: repeat(4, minmax(0, 1fr));
1049
+ }
1050
+
1051
+ .univer-grid-cols-5 {
1052
+ grid-template-columns: repeat(5, minmax(0, 1fr));
1053
+ }
1054
+
1055
+ .univer-grid-cols-7 {
1056
+ grid-template-columns: repeat(7, minmax(0, 1fr));
1057
+ }
1058
+
837
1059
  .univer-grid-cols-\[repeat\(3\,minmax\(0\,1fr\)\)_76px\] {
838
1060
  grid-template-columns: repeat(3, minmax(0, 1fr)) 76px;
839
1061
  }
840
1062
 
1063
+ .univer-grid-rows-5 {
1064
+ grid-template-rows: repeat(5, minmax(0, 1fr));
1065
+ }
1066
+
841
1067
  .univer-flex-col {
842
1068
  flex-direction: column;
843
1069
  }
@@ -846,10 +1072,26 @@
846
1072
  flex-wrap: wrap;
847
1073
  }
848
1074
 
1075
+ .univer-items-start {
1076
+ align-items: flex-start;
1077
+ }
1078
+
849
1079
  .univer-items-center {
850
1080
  align-items: center;
851
1081
  }
852
1082
 
1083
+ .univer-items-stretch {
1084
+ align-items: stretch;
1085
+ }
1086
+
1087
+ .\!univer-justify-start {
1088
+ justify-content: flex-start !important;
1089
+ }
1090
+
1091
+ .univer-justify-start {
1092
+ justify-content: flex-start;
1093
+ }
1094
+
853
1095
  .univer-justify-end {
854
1096
  justify-content: flex-end;
855
1097
  }
@@ -886,14 +1128,24 @@
886
1128
  gap: 1rem;
887
1129
  }
888
1130
 
889
- .univer-gap-6 {
890
- gap: 1.5rem;
891
- }
892
-
893
1131
  .univer-gap-8 {
894
1132
  gap: 2rem;
895
1133
  }
896
1134
 
1135
+ .univer-gap-x-1 {
1136
+ -moz-column-gap: .25rem;
1137
+ column-gap: .25rem;
1138
+ }
1139
+
1140
+ .univer-gap-x-3 {
1141
+ -moz-column-gap: .75rem;
1142
+ column-gap: .75rem;
1143
+ }
1144
+
1145
+ .univer-gap-y-1 {
1146
+ row-gap: .25rem;
1147
+ }
1148
+
897
1149
  .univer-overflow-auto {
898
1150
  overflow: auto;
899
1151
  }
@@ -936,6 +1188,10 @@
936
1188
  border-radius: .25rem;
937
1189
  }
938
1190
 
1191
+ .univer-rounded-\[1px\] {
1192
+ border-radius: 1px;
1193
+ }
1194
+
939
1195
  .univer-rounded-full {
940
1196
  border-radius: 9999px;
941
1197
  }
@@ -948,6 +1204,10 @@
948
1204
  border-radius: .375rem;
949
1205
  }
950
1206
 
1207
+ .univer-rounded-sm {
1208
+ border-radius: .125rem;
1209
+ }
1210
+
951
1211
  .univer-rounded-xl {
952
1212
  border-radius: .75rem;
953
1213
  }
@@ -972,6 +1232,10 @@
972
1232
  border-bottom-right-radius: 0;
973
1233
  }
974
1234
 
1235
+ .\!univer-border-0 {
1236
+ border-width: 0 !important;
1237
+ }
1238
+
975
1239
  .univer-border {
976
1240
  border-width: 1px;
977
1241
  }
@@ -992,6 +1256,10 @@
992
1256
  border-right-width: 1px;
993
1257
  }
994
1258
 
1259
+ .univer-border-t {
1260
+ border-top-width: 1px;
1261
+ }
1262
+
995
1263
  .univer-border-t-2 {
996
1264
  border-top-width: 2px;
997
1265
  }
@@ -1012,10 +1280,26 @@
1012
1280
  border-color: var(--univer-gray-200);
1013
1281
  }
1014
1282
 
1283
+ .univer-border-gray-300 {
1284
+ border-color: var(--univer-gray-300);
1285
+ }
1286
+
1015
1287
  .univer-border-gray-400 {
1016
1288
  border-color: var(--univer-gray-400);
1017
1289
  }
1018
1290
 
1291
+ .univer-border-gray-500 {
1292
+ border-color: var(--univer-gray-500);
1293
+ }
1294
+
1295
+ .univer-border-gray-600 {
1296
+ border-color: var(--univer-gray-600);
1297
+ }
1298
+
1299
+ .univer-border-primary-500 {
1300
+ border-color: var(--univer-primary-500);
1301
+ }
1302
+
1019
1303
  .univer-border-primary-600 {
1020
1304
  border-color: var(--univer-primary-600);
1021
1305
  }
@@ -1024,6 +1308,10 @@
1024
1308
  border-color: var(--univer-red-500);
1025
1309
  }
1026
1310
 
1311
+ .univer-border-transparent {
1312
+ border-color: #0000;
1313
+ }
1314
+
1027
1315
  .univer-border-l-gray-200 {
1028
1316
  border-left-color: var(--univer-gray-200);
1029
1317
  }
@@ -1040,6 +1328,22 @@
1040
1328
  background-color: #0000 !important;
1041
1329
  }
1042
1330
 
1331
+ .univer-bg-\[\#70ad47\] {
1332
+ --univer-tw-bg-opacity: 1;
1333
+ background-color: #70ad47;
1334
+ background-color: rgba(112, 173, 71, var(--univer-tw-bg-opacity, 1));
1335
+ }
1336
+
1337
+ .univer-bg-\[\#ed7d31\] {
1338
+ --univer-tw-bg-opacity: 1;
1339
+ background-color: #ed7d31;
1340
+ background-color: rgba(237, 125, 49, var(--univer-tw-bg-opacity, 1));
1341
+ }
1342
+
1343
+ .univer-bg-gray-0 {
1344
+ background-color: var(--univer-gray-0);
1345
+ }
1346
+
1043
1347
  .univer-bg-gray-100 {
1044
1348
  background-color: var(--univer-gray-100);
1045
1349
  }
@@ -1048,6 +1352,10 @@
1048
1352
  background-color: var(--univer-gray-200);
1049
1353
  }
1050
1354
 
1355
+ .univer-bg-gray-300 {
1356
+ background-color: var(--univer-gray-300);
1357
+ }
1358
+
1051
1359
  .univer-bg-gray-50 {
1052
1360
  background-color: var(--univer-gray-50);
1053
1361
  }
@@ -1070,8 +1378,26 @@
1070
1378
  background-color: #0000;
1071
1379
  }
1072
1380
 
1073
- .univer-bg-white {
1074
- background-color: var(--univer-white);
1381
+ .univer-bg-gradient-to-b {
1382
+ background-image: linear-gradient(to bottom, var(--univer-tw-gradient-stops));
1383
+ }
1384
+
1385
+ .univer-from-\[\#ffad79\] {
1386
+ --univer-tw-gradient-from: #ffad79 var(--univer-tw-gradient-from-position);
1387
+ --univer-tw-gradient-to: #ffad7900 var(--univer-tw-gradient-to-position);
1388
+ --univer-tw-gradient-stops: var(--univer-tw-gradient-from), var(--univer-tw-gradient-to);
1389
+ }
1390
+
1391
+ .univer-to-\[\#c54f09\] {
1392
+ --univer-tw-gradient-to: #c54f09 var(--univer-tw-gradient-to-position);
1393
+ }
1394
+
1395
+ .univer-fill-gray-200 {
1396
+ fill: var(--univer-gray-200);
1397
+ }
1398
+
1399
+ .univer-stroke-gray-400 {
1400
+ stroke: var(--univer-gray-400);
1075
1401
  }
1076
1402
 
1077
1403
  .univer-object-cover {
@@ -1083,10 +1409,18 @@
1083
1409
  padding: .25rem !important;
1084
1410
  }
1085
1411
 
1412
+ .\!univer-p-1\.5 {
1413
+ padding: .375rem !important;
1414
+ }
1415
+
1086
1416
  .univer-p-0 {
1087
1417
  padding: 0;
1088
1418
  }
1089
1419
 
1420
+ .univer-p-0\.5 {
1421
+ padding: .125rem;
1422
+ }
1423
+
1090
1424
  .univer-p-1 {
1091
1425
  padding: .25rem;
1092
1426
  }
@@ -1103,6 +1437,11 @@
1103
1437
  padding: .75rem;
1104
1438
  }
1105
1439
 
1440
+ .\!univer-px-1 {
1441
+ padding-left: .25rem !important;
1442
+ padding-right: .25rem !important;
1443
+ }
1444
+
1106
1445
  .\!univer-px-1\.5 {
1107
1446
  padding-left: .375rem !important;
1108
1447
  padding-right: .375rem !important;
@@ -1133,6 +1472,11 @@
1133
1472
  padding-right: 1rem;
1134
1473
  }
1135
1474
 
1475
+ .univer-py-0 {
1476
+ padding-top: 0;
1477
+ padding-bottom: 0;
1478
+ }
1479
+
1136
1480
  .univer-py-1 {
1137
1481
  padding-top: .25rem;
1138
1482
  padding-bottom: .25rem;
@@ -1148,22 +1492,34 @@
1148
1492
  padding-bottom: 1rem;
1149
1493
  }
1150
1494
 
1495
+ .univer-pb-0 {
1496
+ padding-bottom: 0;
1497
+ }
1498
+
1151
1499
  .univer-pb-2\.5 {
1152
1500
  padding-bottom: .625rem;
1153
1501
  }
1154
1502
 
1503
+ .univer-pb-3 {
1504
+ padding-bottom: .75rem;
1505
+ }
1506
+
1155
1507
  .univer-pl-3 {
1156
1508
  padding-left: .75rem;
1157
1509
  }
1158
1510
 
1159
- .univer-pr-3 {
1160
- padding-right: .75rem;
1511
+ .univer-pt-1 {
1512
+ padding-top: .25rem;
1161
1513
  }
1162
1514
 
1163
1515
  .univer-pt-2 {
1164
1516
  padding-top: .5rem;
1165
1517
  }
1166
1518
 
1519
+ .univer-pt-3 {
1520
+ padding-top: .75rem;
1521
+ }
1522
+
1167
1523
  .univer-pt-4 {
1168
1524
  padding-top: 1rem;
1169
1525
  }
@@ -1180,15 +1536,16 @@
1180
1536
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
1181
1537
  }
1182
1538
 
1183
- .univer-text-\[10px\] {
1184
- font-size: 10px;
1185
- }
1186
-
1187
1539
  .univer-text-base {
1188
1540
  font-size: 1rem;
1189
1541
  line-height: 1.5rem;
1190
1542
  }
1191
1543
 
1544
+ .univer-text-lg {
1545
+ font-size: 1.125rem;
1546
+ line-height: 1.75rem;
1547
+ }
1548
+
1192
1549
  .univer-text-sm {
1193
1550
  font-size: .875rem;
1194
1551
  line-height: 1.25rem;
@@ -1260,10 +1617,6 @@
1260
1617
  color: var(--univer-primary-600);
1261
1618
  }
1262
1619
 
1263
- .univer-text-primary-700 {
1264
- color: var(--univer-primary-700);
1265
- }
1266
-
1267
1620
  .univer-text-red-500 {
1268
1621
  color: var(--univer-red-500);
1269
1622
  }
@@ -1272,6 +1625,10 @@
1272
1625
  color: var(--univer-red-600);
1273
1626
  }
1274
1627
 
1628
+ .univer-opacity-40 {
1629
+ opacity: .4;
1630
+ }
1631
+
1275
1632
  .univer-opacity-50 {
1276
1633
  opacity: .5;
1277
1634
  }
@@ -1280,6 +1637,10 @@
1280
1637
  opacity: .6;
1281
1638
  }
1282
1639
 
1640
+ .univer-opacity-70 {
1641
+ opacity: .7;
1642
+ }
1643
+
1283
1644
  .\!univer-shadow-none {
1284
1645
  --univer-tw-shadow: 0 0 #0000 !important;
1285
1646
  --univer-tw-shadow-colored: 0 0 #0000 !important;
@@ -1287,6 +1648,27 @@
1287
1648
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow) !important;
1288
1649
  }
1289
1650
 
1651
+ .univer-shadow-\[2px_3px_0_\#8c4b20\] {
1652
+ --univer-tw-shadow: 2px 3px 0 #8c4b20;
1653
+ --univer-tw-shadow-colored: 2px 3px 0 var(--univer-tw-shadow-color);
1654
+ box-shadow: 0 0 #0000, 0 0 #0000, 2px 3px #8c4b20;
1655
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
1656
+ }
1657
+
1658
+ .univer-shadow-\[inset_-3px_-3px_0_rgba\(0\,0\,0\,\.08\)\] {
1659
+ --univer-tw-shadow: inset -3px -3px 0 #00000014;
1660
+ --univer-tw-shadow-colored: inset -3px -3px 0 var(--univer-tw-shadow-color);
1661
+ box-shadow: 0 0 #0000, 0 0 #0000, inset -3px -3px #00000014;
1662
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
1663
+ }
1664
+
1665
+ .univer-shadow-\[inset_4px_4px_0_rgba\(255\,255\,255\,\.8\)\,inset_-4px_-4px_0_rgba\(75\,85\,99\,\.7\)\] {
1666
+ --univer-tw-shadow: inset 4px 4px 0 #fffc,inset -4px -4px 0 #4b5563b3;
1667
+ --univer-tw-shadow-colored: inset 4px 4px 0 var(--univer-tw-shadow-color), inset -4px -4px 0 var(--univer-tw-shadow-color);
1668
+ box-shadow: 0 0 #0000, 0 0 #0000, inset 4px 4px #fffc, inset -4px -4px #4b5563b3;
1669
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
1670
+ }
1671
+
1290
1672
  .univer-shadow-lg {
1291
1673
  --univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;
1292
1674
  --univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);
@@ -1315,8 +1697,28 @@
1315
1697
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
1316
1698
  }
1317
1699
 
1318
- .univer-transition {
1319
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1700
+ .univer-ring-2 {
1701
+ --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);
1702
+ --univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);
1703
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
1704
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
1705
+ }
1706
+
1707
+ .univer-ring-inset {
1708
+ --univer-tw-ring-inset: inset;
1709
+ }
1710
+
1711
+ .univer-ring-primary-100 {
1712
+ --univer-tw-ring-color: var(--univer-primary-100);
1713
+ }
1714
+
1715
+ .univer-blur-\[1px\] {
1716
+ --univer-tw-blur: blur(1px);
1717
+ filter: var(--univer-tw-blur) var(--univer-tw-brightness) var(--univer-tw-contrast) var(--univer-tw-grayscale) var(--univer-tw-hue-rotate) var(--univer-tw-invert) var(--univer-tw-saturate) var(--univer-tw-sepia) var(--univer-tw-drop-shadow);
1718
+ }
1719
+
1720
+ .univer-transition-all {
1721
+ transition-property: all;
1320
1722
  transition-duration: .15s;
1321
1723
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
1322
1724
  }
@@ -1333,14 +1735,26 @@
1333
1735
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
1334
1736
  }
1335
1737
 
1336
- .univer-duration-150 {
1337
- transition-duration: .15s;
1338
- }
1339
-
1340
1738
  .univer-group:hover .group-hover\:univer-block {
1341
1739
  display: block;
1342
1740
  }
1343
1741
 
1742
+ .hover\:univer-border-gray-300:hover {
1743
+ border-color: var(--univer-gray-300);
1744
+ }
1745
+
1746
+ .hover\:univer-border-gray-400:hover {
1747
+ border-color: var(--univer-gray-400);
1748
+ }
1749
+
1750
+ .hover\:univer-border-primary-400:hover {
1751
+ border-color: var(--univer-primary-400);
1752
+ }
1753
+
1754
+ .hover\:univer-border-primary-500:hover {
1755
+ border-color: var(--univer-primary-500);
1756
+ }
1757
+
1344
1758
  .hover\:univer-border-primary-600:hover {
1345
1759
  border-color: var(--univer-primary-600);
1346
1760
  }
@@ -1357,16 +1771,23 @@
1357
1771
  background-color: var(--univer-gray-50);
1358
1772
  }
1359
1773
 
1774
+ .hover\:univer-bg-primary-50:hover {
1775
+ background-color: var(--univer-primary-50);
1776
+ }
1777
+
1360
1778
  .hover\:univer-bg-red-50:hover {
1361
1779
  background-color: var(--univer-red-50);
1362
1780
  }
1363
1781
 
1364
- .hover\:univer-text-gray-700:hover {
1365
- color: var(--univer-gray-700);
1782
+ .hover\:univer-text-primary-600:hover {
1783
+ color: var(--univer-primary-600);
1366
1784
  }
1367
1785
 
1368
- .hover\:univer-opacity-100:hover, .focus-visible\:univer-opacity-100:focus-visible {
1369
- opacity: 1;
1786
+ .focus\:\!univer-ring-0:focus {
1787
+ --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;
1788
+ --univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(0px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color) !important;
1789
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000 !important;
1790
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000) !important;
1370
1791
  }
1371
1792
 
1372
1793
  .disabled\:univer-cursor-not-allowed:disabled {
@@ -1425,6 +1846,10 @@
1425
1846
  border-color: var(--univer-gray-700) !important;
1426
1847
  }
1427
1848
 
1849
+ .dark\:\!univer-border-primary-400:where(.univer-dark, .univer-dark *) {
1850
+ border-color: var(--univer-primary-400) !important;
1851
+ }
1852
+
1428
1853
  .dark\:\!univer-border-l-gray-600:where(.univer-dark, .univer-dark *) {
1429
1854
  border-left-color: var(--univer-gray-600) !important;
1430
1855
  }
@@ -1473,6 +1898,14 @@
1473
1898
  color: var(--univer-red-400) !important;
1474
1899
  }
1475
1900
 
1901
+ .dark\:hover\:\!univer-border-gray-600:hover:where(.univer-dark, .univer-dark *) {
1902
+ border-color: var(--univer-gray-600) !important;
1903
+ }
1904
+
1905
+ .dark\:hover\:\!univer-border-primary-400:hover:where(.univer-dark, .univer-dark *) {
1906
+ border-color: var(--univer-primary-400) !important;
1907
+ }
1908
+
1476
1909
  .dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
1477
1910
  background-color: var(--univer-gray-700) !important;
1478
1911
  }
@@ -1519,6 +1952,15 @@
1519
1952
  gap: .25rem;
1520
1953
  }
1521
1954
 
1955
+ .\[\&\>span\]\:univer-w-full > span {
1956
+ width: 100%;
1957
+ }
1958
+
1959
+ .\[\&\>svg\]\:univer-size-4 > svg {
1960
+ width: 1rem;
1961
+ height: 1rem;
1962
+ }
1963
+
1522
1964
  .\[\&_input\]\:univer-box-border input {
1523
1965
  box-sizing: border-box;
1524
1966
  }
@@ -1530,3 +1972,52 @@
1530
1972
  .\[\&_input\]\:univer-p-0 input {
1531
1973
  padding: 0;
1532
1974
  }
1975
+
1976
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-grid {
1977
+ display: grid;
1978
+ }
1979
+
1980
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-h-6 {
1981
+ height: 1.5rem;
1982
+ }
1983
+
1984
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-w-11 {
1985
+ width: 2.75rem;
1986
+ }
1987
+
1988
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-w-\[120px\] {
1989
+ width: 120px;
1990
+ }
1991
+
1992
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-w-full {
1993
+ width: 100%;
1994
+ }
1995
+
1996
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-grid-cols-2 {
1997
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1998
+ }
1999
+
2000
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-grid-cols-5 {
2001
+ grid-template-columns: repeat(5, minmax(0, 1fr));
2002
+ }
2003
+
2004
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-grid-rows-2 {
2005
+ grid-template-rows: repeat(2, minmax(0, 1fr));
2006
+ }
2007
+
2008
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-content-center {
2009
+ align-content: center;
2010
+ }
2011
+
2012
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-justify-items-stretch {
2013
+ justify-items: stretch;
2014
+ }
2015
+
2016
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-gap-x-2 {
2017
+ -moz-column-gap: .5rem;
2018
+ column-gap: .5rem;
2019
+ }
2020
+
2021
+ [data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-gap-y-2 {
2022
+ row-gap: .5rem;
2023
+ }