@univerjs/preset-sheets-advanced 1.0.0-alpha.6 → 1.0.0-alpha.8
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 +0 -8
- package/lib/es/index.js +0 -2
- package/lib/index.css +243 -52
- package/lib/index.js +0 -2
- package/lib/types/index.d.ts +0 -1
- package/package.json +25 -26
package/lib/cjs/index.js
CHANGED
|
@@ -127,14 +127,6 @@ Object.keys(_univerjs_pro_sheets_exchange_client).forEach(function (k) {
|
|
|
127
127
|
});
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
var _univerjs_pro_sheets_graphics = require("@univerjs-pro/sheets-graphics");
|
|
131
|
-
Object.keys(_univerjs_pro_sheets_graphics).forEach(function (k) {
|
|
132
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
133
|
-
enumerable: true,
|
|
134
|
-
get: function () { return _univerjs_pro_sheets_graphics[k]; }
|
|
135
|
-
});
|
|
136
|
-
});
|
|
137
|
-
|
|
138
130
|
Object.keys(_univerjs_pro_sheets_outline).forEach(function (k) {
|
|
139
131
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
140
132
|
enumerable: true,
|
package/lib/es/index.js
CHANGED
|
@@ -57,8 +57,6 @@ export * from "@univerjs-pro/engine-chart"
|
|
|
57
57
|
|
|
58
58
|
export * from "@univerjs-pro/engine-shape"
|
|
59
59
|
|
|
60
|
-
export * from "@univerjs-pro/sheets-graphics"
|
|
61
|
-
|
|
62
60
|
//#region src/preset.ts
|
|
63
61
|
/**
|
|
64
62
|
* This presets helps you to create a Univer sheet with open sourced features.
|
package/lib/index.css
CHANGED
|
@@ -359,8 +359,11 @@
|
|
|
359
359
|
position: relative;
|
|
360
360
|
}
|
|
361
361
|
|
|
362
|
-
|
|
363
|
-
top:
|
|
362
|
+
.univer-inset-0 {
|
|
363
|
+
top: 0;
|
|
364
|
+
bottom: 0;
|
|
365
|
+
left: 0;
|
|
366
|
+
right: 0;
|
|
364
367
|
}
|
|
365
368
|
|
|
366
369
|
.univer-bottom-full {
|
|
@@ -371,8 +374,8 @@
|
|
|
371
374
|
left: 0;
|
|
372
375
|
}
|
|
373
376
|
|
|
374
|
-
.univer-
|
|
375
|
-
|
|
377
|
+
.univer-top-full {
|
|
378
|
+
top: 100%;
|
|
376
379
|
}
|
|
377
380
|
|
|
378
381
|
.univer-z-10 {
|
|
@@ -388,6 +391,11 @@
|
|
|
388
391
|
margin-right: auto;
|
|
389
392
|
}
|
|
390
393
|
|
|
394
|
+
.univer-my-1 {
|
|
395
|
+
margin-top: .25rem;
|
|
396
|
+
margin-bottom: .25rem;
|
|
397
|
+
}
|
|
398
|
+
|
|
391
399
|
.univer-mb-1 {
|
|
392
400
|
margin-bottom: .25rem;
|
|
393
401
|
}
|
|
@@ -396,6 +404,10 @@
|
|
|
396
404
|
margin-bottom: .5rem;
|
|
397
405
|
}
|
|
398
406
|
|
|
407
|
+
.univer-ml-2 {
|
|
408
|
+
margin-left: .5rem;
|
|
409
|
+
}
|
|
410
|
+
|
|
399
411
|
.univer-ml-auto {
|
|
400
412
|
margin-left: auto;
|
|
401
413
|
}
|
|
@@ -404,10 +416,22 @@
|
|
|
404
416
|
margin-right: 1.25rem;
|
|
405
417
|
}
|
|
406
418
|
|
|
419
|
+
.univer-mt-1 {
|
|
420
|
+
margin-top: .25rem;
|
|
421
|
+
}
|
|
422
|
+
|
|
407
423
|
.univer-mt-2 {
|
|
408
424
|
margin-top: .5rem;
|
|
409
425
|
}
|
|
410
426
|
|
|
427
|
+
.univer-mt-3 {
|
|
428
|
+
margin-top: .75rem;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.univer-mt-4 {
|
|
432
|
+
margin-top: 1rem;
|
|
433
|
+
}
|
|
434
|
+
|
|
411
435
|
.univer-box-border {
|
|
412
436
|
box-sizing: border-box;
|
|
413
437
|
}
|
|
@@ -440,6 +464,11 @@
|
|
|
440
464
|
aspect-ratio: 1;
|
|
441
465
|
}
|
|
442
466
|
|
|
467
|
+
.univer-size-2 {
|
|
468
|
+
width: .5rem;
|
|
469
|
+
height: .5rem;
|
|
470
|
+
}
|
|
471
|
+
|
|
443
472
|
.univer-size-4 {
|
|
444
473
|
width: 1rem;
|
|
445
474
|
height: 1rem;
|
|
@@ -475,8 +504,12 @@
|
|
|
475
504
|
height: 3.5rem;
|
|
476
505
|
}
|
|
477
506
|
|
|
478
|
-
.univer-h-
|
|
479
|
-
height: .
|
|
507
|
+
.univer-h-2 {
|
|
508
|
+
height: .5rem;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.univer-h-28 {
|
|
512
|
+
height: 7rem;
|
|
480
513
|
}
|
|
481
514
|
|
|
482
515
|
.univer-h-4 {
|
|
@@ -503,10 +536,34 @@
|
|
|
503
536
|
height: 100px;
|
|
504
537
|
}
|
|
505
538
|
|
|
539
|
+
.univer-h-\[500px\] {
|
|
540
|
+
height: 500px;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.univer-h-\[min\(780px\,calc\(100vh-180px\)\)\] {
|
|
544
|
+
height: min(780px, 100vh - 180px);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.univer-h-full {
|
|
548
|
+
height: 100%;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.\!univer-max-h-none {
|
|
552
|
+
max-height: none !important;
|
|
553
|
+
}
|
|
554
|
+
|
|
506
555
|
.univer-max-h-\[75vh\] {
|
|
507
556
|
max-height: 75vh;
|
|
508
557
|
}
|
|
509
558
|
|
|
559
|
+
.univer-min-h-0 {
|
|
560
|
+
min-height: 0;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.univer-min-h-\[560px\] {
|
|
564
|
+
min-height: 560px;
|
|
565
|
+
}
|
|
566
|
+
|
|
510
567
|
.univer-w-0 {
|
|
511
568
|
width: 0;
|
|
512
569
|
}
|
|
@@ -527,18 +584,10 @@
|
|
|
527
584
|
width: 3.5rem;
|
|
528
585
|
}
|
|
529
586
|
|
|
530
|
-
.univer-w-16 {
|
|
531
|
-
width: 4rem;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
587
|
.univer-w-20 {
|
|
535
588
|
width: 5rem;
|
|
536
589
|
}
|
|
537
590
|
|
|
538
|
-
.univer-w-24 {
|
|
539
|
-
width: 6rem;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
591
|
.univer-w-28 {
|
|
543
592
|
width: 7rem;
|
|
544
593
|
}
|
|
@@ -551,8 +600,12 @@
|
|
|
551
600
|
width: 1rem;
|
|
552
601
|
}
|
|
553
602
|
|
|
554
|
-
.univer-w-
|
|
555
|
-
width:
|
|
603
|
+
.univer-w-44 {
|
|
604
|
+
width: 11rem;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.univer-w-52 {
|
|
608
|
+
width: 13rem;
|
|
556
609
|
}
|
|
557
610
|
|
|
558
611
|
.univer-w-6 {
|
|
@@ -563,6 +616,10 @@
|
|
|
563
616
|
width: 1.75rem;
|
|
564
617
|
}
|
|
565
618
|
|
|
619
|
+
.univer-w-72 {
|
|
620
|
+
width: 18rem;
|
|
621
|
+
}
|
|
622
|
+
|
|
566
623
|
.univer-w-8 {
|
|
567
624
|
width: 2rem;
|
|
568
625
|
}
|
|
@@ -611,10 +668,6 @@
|
|
|
611
668
|
min-width: 8rem;
|
|
612
669
|
}
|
|
613
670
|
|
|
614
|
-
.univer-min-w-40 {
|
|
615
|
-
min-width: 10rem;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
671
|
.univer-min-w-44 {
|
|
619
672
|
min-width: 11rem;
|
|
620
673
|
}
|
|
@@ -647,19 +700,13 @@
|
|
|
647
700
|
flex-shrink: 0;
|
|
648
701
|
}
|
|
649
702
|
|
|
650
|
-
.-univer-translate-x-1\/2 {
|
|
651
|
-
--univer-tw-translate-x: -50%;
|
|
652
|
-
transform: translate(-50%, 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));
|
|
653
|
-
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));
|
|
654
|
-
}
|
|
655
|
-
|
|
656
703
|
.-univer-translate-y-1 {
|
|
657
704
|
--univer-tw-translate-y: -.25rem;
|
|
658
705
|
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));
|
|
659
706
|
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));
|
|
660
707
|
}
|
|
661
708
|
|
|
662
|
-
.-univer-rotate-90
|
|
709
|
+
.-univer-rotate-90 {
|
|
663
710
|
--univer-tw-rotate: -90deg;
|
|
664
711
|
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));
|
|
665
712
|
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));
|
|
@@ -689,6 +736,10 @@
|
|
|
689
736
|
user-select: none;
|
|
690
737
|
}
|
|
691
738
|
|
|
739
|
+
.univer-resize-none {
|
|
740
|
+
resize: none;
|
|
741
|
+
}
|
|
742
|
+
|
|
692
743
|
.univer-appearance-none {
|
|
693
744
|
-webkit-appearance: none;
|
|
694
745
|
appearance: none;
|
|
@@ -722,6 +773,10 @@
|
|
|
722
773
|
align-items: center;
|
|
723
774
|
}
|
|
724
775
|
|
|
776
|
+
.univer-justify-end {
|
|
777
|
+
justify-content: flex-end;
|
|
778
|
+
}
|
|
779
|
+
|
|
725
780
|
.univer-justify-center {
|
|
726
781
|
justify-content: center;
|
|
727
782
|
}
|
|
@@ -754,6 +809,10 @@
|
|
|
754
809
|
gap: 1rem;
|
|
755
810
|
}
|
|
756
811
|
|
|
812
|
+
.univer-gap-6 {
|
|
813
|
+
gap: 1.5rem;
|
|
814
|
+
}
|
|
815
|
+
|
|
757
816
|
.univer-gap-8 {
|
|
758
817
|
gap: 2rem;
|
|
759
818
|
}
|
|
@@ -774,10 +833,24 @@
|
|
|
774
833
|
overflow-y: auto;
|
|
775
834
|
}
|
|
776
835
|
|
|
836
|
+
.univer-truncate {
|
|
837
|
+
text-overflow: ellipsis;
|
|
838
|
+
white-space: nowrap;
|
|
839
|
+
overflow: hidden;
|
|
840
|
+
}
|
|
841
|
+
|
|
777
842
|
.univer-whitespace-nowrap {
|
|
778
843
|
white-space: nowrap;
|
|
779
844
|
}
|
|
780
845
|
|
|
846
|
+
.univer-whitespace-pre-wrap {
|
|
847
|
+
white-space: pre-wrap;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.univer-break-words {
|
|
851
|
+
word-wrap: break-word;
|
|
852
|
+
}
|
|
853
|
+
|
|
781
854
|
.\!univer-rounded-md {
|
|
782
855
|
border-radius: .375rem !important;
|
|
783
856
|
}
|
|
@@ -822,27 +895,26 @@
|
|
|
822
895
|
border-bottom-right-radius: 0;
|
|
823
896
|
}
|
|
824
897
|
|
|
825
|
-
.univer-rounded-t-md {
|
|
826
|
-
border-top-left-radius: .375rem;
|
|
827
|
-
border-top-right-radius: .375rem;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
898
|
.univer-border {
|
|
831
899
|
border-width: 1px;
|
|
832
900
|
}
|
|
833
901
|
|
|
834
|
-
.univer-border-
|
|
835
|
-
border-
|
|
902
|
+
.univer-border-0 {
|
|
903
|
+
border-width: 0;
|
|
836
904
|
}
|
|
837
905
|
|
|
838
|
-
.univer-border-b
|
|
839
|
-
border-bottom-width:
|
|
906
|
+
.univer-border-b {
|
|
907
|
+
border-bottom-width: 1px;
|
|
840
908
|
}
|
|
841
909
|
|
|
842
910
|
.univer-border-l-2 {
|
|
843
911
|
border-left-width: 2px;
|
|
844
912
|
}
|
|
845
913
|
|
|
914
|
+
.univer-border-r {
|
|
915
|
+
border-right-width: 1px;
|
|
916
|
+
}
|
|
917
|
+
|
|
846
918
|
.univer-border-t-2 {
|
|
847
919
|
border-top-width: 2px;
|
|
848
920
|
}
|
|
@@ -899,6 +971,10 @@
|
|
|
899
971
|
background-color: var(--univer-gray-200);
|
|
900
972
|
}
|
|
901
973
|
|
|
974
|
+
.univer-bg-gray-50 {
|
|
975
|
+
background-color: var(--univer-gray-50);
|
|
976
|
+
}
|
|
977
|
+
|
|
902
978
|
.univer-bg-primary-50 {
|
|
903
979
|
background-color: var(--univer-primary-50);
|
|
904
980
|
}
|
|
@@ -907,6 +983,12 @@
|
|
|
907
983
|
background-color: var(--univer-primary-600);
|
|
908
984
|
}
|
|
909
985
|
|
|
986
|
+
.univer-bg-red-950 {
|
|
987
|
+
--univer-tw-bg-opacity: 1;
|
|
988
|
+
background-color: #450a0a;
|
|
989
|
+
background-color: rgba(69, 10, 10, var(--univer-tw-bg-opacity, 1));
|
|
990
|
+
}
|
|
991
|
+
|
|
910
992
|
.univer-bg-transparent {
|
|
911
993
|
background-color: #0000;
|
|
912
994
|
}
|
|
@@ -932,6 +1014,10 @@
|
|
|
932
1014
|
padding: .25rem;
|
|
933
1015
|
}
|
|
934
1016
|
|
|
1017
|
+
.univer-p-1\.5 {
|
|
1018
|
+
padding: .375rem;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
935
1021
|
.univer-p-2 {
|
|
936
1022
|
padding: .5rem;
|
|
937
1023
|
}
|
|
@@ -993,10 +1079,18 @@
|
|
|
993
1079
|
padding-left: .75rem;
|
|
994
1080
|
}
|
|
995
1081
|
|
|
1082
|
+
.univer-pr-3 {
|
|
1083
|
+
padding-right: .75rem;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
996
1086
|
.univer-pt-2 {
|
|
997
1087
|
padding-top: .5rem;
|
|
998
1088
|
}
|
|
999
1089
|
|
|
1090
|
+
.univer-pt-4 {
|
|
1091
|
+
padding-top: 1rem;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1000
1094
|
.univer-text-left {
|
|
1001
1095
|
text-align: left;
|
|
1002
1096
|
}
|
|
@@ -1005,6 +1099,10 @@
|
|
|
1005
1099
|
text-align: center;
|
|
1006
1100
|
}
|
|
1007
1101
|
|
|
1102
|
+
.univer-font-mono {
|
|
1103
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1008
1106
|
.univer-text-\[10px\] {
|
|
1009
1107
|
font-size: 10px;
|
|
1010
1108
|
}
|
|
@@ -1037,6 +1135,14 @@
|
|
|
1037
1135
|
font-weight: 600;
|
|
1038
1136
|
}
|
|
1039
1137
|
|
|
1138
|
+
.univer-leading-5 {
|
|
1139
|
+
line-height: 1.25rem;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
.univer-leading-6 {
|
|
1143
|
+
line-height: 1.5rem;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1040
1146
|
.univer-leading-none {
|
|
1041
1147
|
line-height: 1;
|
|
1042
1148
|
}
|
|
@@ -1045,6 +1151,10 @@
|
|
|
1045
1151
|
color: var(--univer-primary-300) !important;
|
|
1046
1152
|
}
|
|
1047
1153
|
|
|
1154
|
+
.\!univer-text-transparent {
|
|
1155
|
+
color: #0000 !important;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1048
1158
|
.univer-text-gray-400 {
|
|
1049
1159
|
color: var(--univer-gray-400);
|
|
1050
1160
|
}
|
|
@@ -1073,6 +1183,22 @@
|
|
|
1073
1183
|
color: var(--univer-primary-600);
|
|
1074
1184
|
}
|
|
1075
1185
|
|
|
1186
|
+
.univer-text-primary-700 {
|
|
1187
|
+
color: var(--univer-primary-700);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
.univer-text-red-500 {
|
|
1191
|
+
color: var(--univer-red-500);
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
.univer-text-red-600 {
|
|
1195
|
+
color: var(--univer-red-600);
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
.univer-opacity-50 {
|
|
1199
|
+
opacity: .5;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1076
1202
|
.univer-opacity-60 {
|
|
1077
1203
|
opacity: .6;
|
|
1078
1204
|
}
|
|
@@ -1112,6 +1238,12 @@
|
|
|
1112
1238
|
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
1113
1239
|
}
|
|
1114
1240
|
|
|
1241
|
+
.univer-transition {
|
|
1242
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
1243
|
+
transition-duration: .15s;
|
|
1244
|
+
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1115
1247
|
.univer-transition-colors {
|
|
1116
1248
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
1117
1249
|
transition-duration: .15s;
|
|
@@ -1124,12 +1256,12 @@
|
|
|
1124
1256
|
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
1125
1257
|
}
|
|
1126
1258
|
|
|
1127
|
-
.univer-
|
|
1128
|
-
|
|
1259
|
+
.univer-duration-150 {
|
|
1260
|
+
transition-duration: .15s;
|
|
1129
1261
|
}
|
|
1130
1262
|
|
|
1131
|
-
.
|
|
1132
|
-
|
|
1263
|
+
.univer-group:hover .group-hover\:univer-block {
|
|
1264
|
+
display: block;
|
|
1133
1265
|
}
|
|
1134
1266
|
|
|
1135
1267
|
.hover\:univer-border-primary-600:hover {
|
|
@@ -1148,10 +1280,22 @@
|
|
|
1148
1280
|
background-color: var(--univer-gray-50);
|
|
1149
1281
|
}
|
|
1150
1282
|
|
|
1283
|
+
.hover\:univer-bg-red-50:hover {
|
|
1284
|
+
background-color: var(--univer-red-50);
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1151
1287
|
.hover\:univer-text-gray-700:hover {
|
|
1152
1288
|
color: var(--univer-gray-700);
|
|
1153
1289
|
}
|
|
1154
1290
|
|
|
1291
|
+
.hover\:univer-opacity-100:hover {
|
|
1292
|
+
opacity: 1;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
.focus-visible\:univer-opacity-100:focus-visible {
|
|
1296
|
+
opacity: 1;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1155
1299
|
.disabled\:univer-cursor-not-allowed:disabled {
|
|
1156
1300
|
cursor: not-allowed;
|
|
1157
1301
|
}
|
|
@@ -1252,6 +1396,10 @@
|
|
|
1252
1396
|
color: var(--univer-primary-300) !important;
|
|
1253
1397
|
}
|
|
1254
1398
|
|
|
1399
|
+
.dark\:\!univer-text-red-400:where(.univer-dark, .univer-dark *) {
|
|
1400
|
+
color: var(--univer-red-400) !important;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1255
1403
|
.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
|
|
1256
1404
|
background-color: var(--univer-gray-700) !important;
|
|
1257
1405
|
}
|
|
@@ -1260,6 +1408,12 @@
|
|
|
1260
1408
|
background-color: var(--univer-gray-800) !important;
|
|
1261
1409
|
}
|
|
1262
1410
|
|
|
1411
|
+
.dark\:hover\:univer-bg-red-950:hover:where(.univer-dark, .univer-dark *) {
|
|
1412
|
+
--univer-tw-bg-opacity: 1;
|
|
1413
|
+
background-color: #450a0a;
|
|
1414
|
+
background-color: rgba(69, 10, 10, var(--univer-tw-bg-opacity, 1));
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1263
1417
|
.\[\&\:\:-webkit-slider-thumb\]\:univer-size-3\.5::-webkit-slider-thumb {
|
|
1264
1418
|
width: .875rem;
|
|
1265
1419
|
height: .875rem;
|
|
@@ -1292,6 +1446,18 @@
|
|
|
1292
1446
|
.\[\&\>label\]\:univer-gap-1 > label {
|
|
1293
1447
|
gap: .25rem;
|
|
1294
1448
|
}
|
|
1449
|
+
|
|
1450
|
+
.\[\&_input\]\:univer-box-border input {
|
|
1451
|
+
box-sizing: border-box;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
.\[\&_input\]\:univer-w-full input {
|
|
1455
|
+
width: 100%;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
.\[\&_input\]\:univer-p-0 input {
|
|
1459
|
+
padding: 0;
|
|
1460
|
+
}
|
|
1295
1461
|
.univer-absolute {
|
|
1296
1462
|
position: absolute;
|
|
1297
1463
|
}
|
|
@@ -1308,11 +1474,6 @@
|
|
|
1308
1474
|
top: .5rem;
|
|
1309
1475
|
}
|
|
1310
1476
|
|
|
1311
|
-
.-univer-mx-4 {
|
|
1312
|
-
margin-left: -1rem;
|
|
1313
|
-
margin-right: -1rem;
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
1477
|
.univer-my-2 {
|
|
1317
1478
|
margin-top: .5rem;
|
|
1318
1479
|
margin-bottom: .5rem;
|
|
@@ -1334,6 +1495,10 @@
|
|
|
1334
1495
|
margin-left: .75rem;
|
|
1335
1496
|
}
|
|
1336
1497
|
|
|
1498
|
+
.univer-ml-auto {
|
|
1499
|
+
margin-left: auto;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1337
1502
|
.univer-mr-2 {
|
|
1338
1503
|
margin-right: .5rem;
|
|
1339
1504
|
}
|
|
@@ -1374,6 +1539,11 @@
|
|
|
1374
1539
|
display: grid;
|
|
1375
1540
|
}
|
|
1376
1541
|
|
|
1542
|
+
.\!univer-size-6 {
|
|
1543
|
+
width: 1.5rem !important;
|
|
1544
|
+
height: 1.5rem !important;
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1377
1547
|
.univer-size-4 {
|
|
1378
1548
|
width: 1rem;
|
|
1379
1549
|
height: 1rem;
|
|
@@ -1384,11 +1554,6 @@
|
|
|
1384
1554
|
height: 1.5rem;
|
|
1385
1555
|
}
|
|
1386
1556
|
|
|
1387
|
-
.univer-size-full {
|
|
1388
|
-
width: 100%;
|
|
1389
|
-
height: 100%;
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
1557
|
.univer-h-4 {
|
|
1393
1558
|
height: 1rem;
|
|
1394
1559
|
}
|
|
@@ -1413,6 +1578,10 @@
|
|
|
1413
1578
|
height: 26px;
|
|
1414
1579
|
}
|
|
1415
1580
|
|
|
1581
|
+
.univer-min-h-8 {
|
|
1582
|
+
min-height: 2rem;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1416
1585
|
.univer-w-\[--radix-popper-anchor-width\] {
|
|
1417
1586
|
width: var(--radix-popper-anchor-width);
|
|
1418
1587
|
}
|
|
@@ -1437,6 +1606,10 @@
|
|
|
1437
1606
|
min-width: 0 !important;
|
|
1438
1607
|
}
|
|
1439
1608
|
|
|
1609
|
+
.univer-min-w-0 {
|
|
1610
|
+
min-width: 0;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1440
1613
|
.univer-flex-1 {
|
|
1441
1614
|
flex: 1;
|
|
1442
1615
|
}
|
|
@@ -1453,6 +1626,10 @@
|
|
|
1453
1626
|
cursor: pointer;
|
|
1454
1627
|
}
|
|
1455
1628
|
|
|
1629
|
+
.univer-grid-cols-2 {
|
|
1630
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1456
1633
|
.univer-grid-cols-4 {
|
|
1457
1634
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1458
1635
|
}
|
|
@@ -1497,6 +1674,10 @@
|
|
|
1497
1674
|
gap: .625rem;
|
|
1498
1675
|
}
|
|
1499
1676
|
|
|
1677
|
+
.univer-gap-3 {
|
|
1678
|
+
gap: .75rem;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1500
1681
|
.univer-gap-4 {
|
|
1501
1682
|
gap: 1rem;
|
|
1502
1683
|
}
|
|
@@ -1505,8 +1686,10 @@
|
|
|
1505
1686
|
justify-self: end;
|
|
1506
1687
|
}
|
|
1507
1688
|
|
|
1508
|
-
.univer-
|
|
1509
|
-
overflow:
|
|
1689
|
+
.univer-truncate {
|
|
1690
|
+
text-overflow: ellipsis;
|
|
1691
|
+
white-space: nowrap;
|
|
1692
|
+
overflow: hidden;
|
|
1510
1693
|
}
|
|
1511
1694
|
|
|
1512
1695
|
.univer-rounded-lg {
|
|
@@ -1628,6 +1811,10 @@
|
|
|
1628
1811
|
color: var(--univer-primary-600);
|
|
1629
1812
|
}
|
|
1630
1813
|
|
|
1814
|
+
.univer-text-red-500 {
|
|
1815
|
+
color: var(--univer-red-500);
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1631
1818
|
.univer-shadow {
|
|
1632
1819
|
--univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
|
|
1633
1820
|
--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);
|
|
@@ -1677,6 +1864,10 @@
|
|
|
1677
1864
|
--univer-tw-ring-color: var(--univer-primary-50);
|
|
1678
1865
|
}
|
|
1679
1866
|
|
|
1867
|
+
.dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
|
|
1868
|
+
border-color: var(--univer-gray-600) !important;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1680
1871
|
.dark\:\!univer-border-gray-700:where(.univer-dark, .univer-dark *) {
|
|
1681
1872
|
border-color: var(--univer-gray-700) !important;
|
|
1682
1873
|
}
|
package/lib/index.js
CHANGED
|
@@ -57,8 +57,6 @@ export * from "@univerjs-pro/engine-chart"
|
|
|
57
57
|
|
|
58
58
|
export * from "@univerjs-pro/engine-shape"
|
|
59
59
|
|
|
60
|
-
export * from "@univerjs-pro/sheets-graphics"
|
|
61
|
-
|
|
62
60
|
//#region src/preset.ts
|
|
63
61
|
/**
|
|
64
62
|
* This presets helps you to create a Univer sheet with open sourced features.
|
package/lib/types/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export * from '@univerjs-pro/license';
|
|
|
8
8
|
export * from '@univerjs-pro/sheets-chart';
|
|
9
9
|
export * from '@univerjs-pro/sheets-chart-ui';
|
|
10
10
|
export * from '@univerjs-pro/sheets-exchange-client';
|
|
11
|
-
export * from '@univerjs-pro/sheets-graphics';
|
|
12
11
|
export * from '@univerjs-pro/sheets-outline';
|
|
13
12
|
export * from '@univerjs-pro/sheets-outline-ui';
|
|
14
13
|
export * from '@univerjs-pro/sheets-pivot';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-sheets-advanced",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Preset for advanced Univer Sheets with charts, pivot tables, and print capabilities.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,37 +61,36 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/collaboration": "1.0.0-alpha.
|
|
65
|
-
"@univerjs-pro/engine-chart": "1.0.0-alpha.
|
|
66
|
-
"@univerjs-pro/engine-
|
|
67
|
-
"@univerjs-pro/engine-pivot": "1.0.0-alpha.
|
|
68
|
-
"@univerjs-pro/
|
|
69
|
-
"@univerjs-pro/
|
|
70
|
-
"@univerjs-pro/
|
|
71
|
-
"@univerjs-pro/
|
|
72
|
-
"@univerjs-pro/
|
|
73
|
-
"@univerjs-pro/sheets-
|
|
74
|
-
"@univerjs-pro/sheets-
|
|
75
|
-
"@univerjs-pro/sheets-
|
|
76
|
-
"@univerjs-pro/
|
|
77
|
-
"@univerjs-pro/sheets-outline-ui": "1.0.0-alpha.
|
|
78
|
-
"@univerjs-pro/sheets-
|
|
79
|
-
"@univerjs-pro/sheets-pivot": "1.0.0-alpha.
|
|
80
|
-
"@univerjs-pro/sheets-
|
|
81
|
-
"@univerjs-pro/sheets-
|
|
82
|
-
"@univerjs-pro/sheets-shape": "1.0.0-alpha.
|
|
83
|
-
"@univerjs-pro/sheets-
|
|
84
|
-
"@univerjs-pro/sheets-sparkline": "1.0.0-alpha.
|
|
85
|
-
"@univerjs-pro/sheets-sparkline-ui": "1.0.0-alpha.6"
|
|
64
|
+
"@univerjs-pro/collaboration": "1.0.0-alpha.8",
|
|
65
|
+
"@univerjs-pro/engine-chart": "1.0.0-alpha.8",
|
|
66
|
+
"@univerjs-pro/engine-formula": "1.0.0-alpha.8",
|
|
67
|
+
"@univerjs-pro/engine-pivot": "1.0.0-alpha.8",
|
|
68
|
+
"@univerjs-pro/engine-shape": "1.0.0-alpha.8",
|
|
69
|
+
"@univerjs-pro/exchange-client": "1.0.0-alpha.8",
|
|
70
|
+
"@univerjs-pro/license": "1.0.0-alpha.8",
|
|
71
|
+
"@univerjs-pro/print": "1.0.0-alpha.8",
|
|
72
|
+
"@univerjs-pro/sheets-chart": "1.0.0-alpha.8",
|
|
73
|
+
"@univerjs-pro/sheets-chart-ui": "1.0.0-alpha.8",
|
|
74
|
+
"@univerjs-pro/sheets-exchange-client": "1.0.0-alpha.8",
|
|
75
|
+
"@univerjs-pro/sheets-outline": "1.0.0-alpha.8",
|
|
76
|
+
"@univerjs-pro/shape-editor-ui": "1.0.0-alpha.8",
|
|
77
|
+
"@univerjs-pro/sheets-outline-ui": "1.0.0-alpha.8",
|
|
78
|
+
"@univerjs-pro/sheets-pivot": "1.0.0-alpha.8",
|
|
79
|
+
"@univerjs-pro/sheets-pivot-ui": "1.0.0-alpha.8",
|
|
80
|
+
"@univerjs-pro/sheets-shape": "1.0.0-alpha.8",
|
|
81
|
+
"@univerjs-pro/sheets-print": "1.0.0-alpha.8",
|
|
82
|
+
"@univerjs-pro/sheets-shape-ui": "1.0.0-alpha.8",
|
|
83
|
+
"@univerjs-pro/sheets-sparkline": "1.0.0-alpha.8",
|
|
84
|
+
"@univerjs-pro/sheets-sparkline-ui": "1.0.0-alpha.8"
|
|
86
85
|
},
|
|
87
86
|
"devDependencies": {
|
|
88
87
|
"react": "18.3.1",
|
|
89
88
|
"react-dom": "18.3.1",
|
|
90
89
|
"rxjs": "^7.8.2",
|
|
91
90
|
"typescript": "^6.0.3",
|
|
92
|
-
"@univerjs
|
|
93
|
-
"@univerjs/
|
|
94
|
-
"@univerjs/presets": "1.0.0-alpha.
|
|
91
|
+
"@univerjs/core": "1.0.0-alpha.8",
|
|
92
|
+
"@univerjs-infra/shared": "1.0.0-alpha.8",
|
|
93
|
+
"@univerjs/presets": "1.0.0-alpha.8"
|
|
95
94
|
},
|
|
96
95
|
"scripts": {
|
|
97
96
|
"build:bundle": "univer-cli preset build --cleanup",
|