@univerjs/preset-sheets-advanced 1.0.0-alpha.5 → 1.0.0-alpha.7

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 (2) hide show
  1. package/lib/index.css +134 -0
  2. package/package.json +26 -26
package/lib/index.css CHANGED
@@ -359,6 +359,13 @@
359
359
  position: relative;
360
360
  }
361
361
 
362
+ .univer-inset-0 {
363
+ top: 0;
364
+ bottom: 0;
365
+ left: 0;
366
+ right: 0;
367
+ }
368
+
362
369
  .-univer-top-3 {
363
370
  top: -.75rem;
364
371
  }
@@ -375,6 +382,10 @@
375
382
  left: 50%;
376
383
  }
377
384
 
385
+ .univer-top-full {
386
+ top: 100%;
387
+ }
388
+
378
389
  .univer-z-10 {
379
390
  z-index: 10;
380
391
  }
@@ -388,6 +399,11 @@
388
399
  margin-right: auto;
389
400
  }
390
401
 
402
+ .univer-my-1 {
403
+ margin-top: .25rem;
404
+ margin-bottom: .25rem;
405
+ }
406
+
391
407
  .univer-mb-1 {
392
408
  margin-bottom: .25rem;
393
409
  }
@@ -396,6 +412,10 @@
396
412
  margin-bottom: .5rem;
397
413
  }
398
414
 
415
+ .univer-ml-2 {
416
+ margin-left: .5rem;
417
+ }
418
+
399
419
  .univer-ml-auto {
400
420
  margin-left: auto;
401
421
  }
@@ -404,10 +424,22 @@
404
424
  margin-right: 1.25rem;
405
425
  }
406
426
 
427
+ .univer-mt-1 {
428
+ margin-top: .25rem;
429
+ }
430
+
407
431
  .univer-mt-2 {
408
432
  margin-top: .5rem;
409
433
  }
410
434
 
435
+ .univer-mt-3 {
436
+ margin-top: .75rem;
437
+ }
438
+
439
+ .univer-mt-4 {
440
+ margin-top: 1rem;
441
+ }
442
+
411
443
  .univer-box-border {
412
444
  box-sizing: border-box;
413
445
  }
@@ -475,6 +507,10 @@
475
507
  height: 3.5rem;
476
508
  }
477
509
 
510
+ .univer-h-28 {
511
+ height: 7rem;
512
+ }
513
+
478
514
  .univer-h-3 {
479
515
  height: .75rem;
480
516
  }
@@ -503,10 +539,34 @@
503
539
  height: 100px;
504
540
  }
505
541
 
542
+ .univer-h-\[500px\] {
543
+ height: 500px;
544
+ }
545
+
546
+ .univer-h-\[min\(780px\,calc\(100vh-180px\)\)\] {
547
+ height: min(780px, 100vh - 180px);
548
+ }
549
+
550
+ .univer-h-full {
551
+ height: 100%;
552
+ }
553
+
554
+ .\!univer-max-h-none {
555
+ max-height: none !important;
556
+ }
557
+
506
558
  .univer-max-h-\[75vh\] {
507
559
  max-height: 75vh;
508
560
  }
509
561
 
562
+ .univer-min-h-0 {
563
+ min-height: 0;
564
+ }
565
+
566
+ .univer-min-h-\[560px\] {
567
+ min-height: 560px;
568
+ }
569
+
510
570
  .univer-w-0 {
511
571
  width: 0;
512
572
  }
@@ -555,6 +615,10 @@
555
615
  width: 10rem;
556
616
  }
557
617
 
618
+ .univer-w-52 {
619
+ width: 13rem;
620
+ }
621
+
558
622
  .univer-w-6 {
559
623
  width: 1.5rem;
560
624
  }
@@ -563,6 +627,10 @@
563
627
  width: 1.75rem;
564
628
  }
565
629
 
630
+ .univer-w-72 {
631
+ width: 18rem;
632
+ }
633
+
566
634
  .univer-w-8 {
567
635
  width: 2rem;
568
636
  }
@@ -689,6 +757,10 @@
689
757
  user-select: none;
690
758
  }
691
759
 
760
+ .univer-resize-none {
761
+ resize: none;
762
+ }
763
+
692
764
  .univer-appearance-none {
693
765
  -webkit-appearance: none;
694
766
  appearance: none;
@@ -722,6 +794,10 @@
722
794
  align-items: center;
723
795
  }
724
796
 
797
+ .univer-justify-end {
798
+ justify-content: flex-end;
799
+ }
800
+
725
801
  .univer-justify-center {
726
802
  justify-content: center;
727
803
  }
@@ -754,6 +830,10 @@
754
830
  gap: 1rem;
755
831
  }
756
832
 
833
+ .univer-gap-6 {
834
+ gap: 1.5rem;
835
+ }
836
+
757
837
  .univer-gap-8 {
758
838
  gap: 2rem;
759
839
  }
@@ -774,10 +854,24 @@
774
854
  overflow-y: auto;
775
855
  }
776
856
 
857
+ .univer-truncate {
858
+ text-overflow: ellipsis;
859
+ white-space: nowrap;
860
+ overflow: hidden;
861
+ }
862
+
777
863
  .univer-whitespace-nowrap {
778
864
  white-space: nowrap;
779
865
  }
780
866
 
867
+ .univer-whitespace-pre-wrap {
868
+ white-space: pre-wrap;
869
+ }
870
+
871
+ .univer-break-words {
872
+ word-wrap: break-word;
873
+ }
874
+
781
875
  .\!univer-rounded-md {
782
876
  border-radius: .375rem !important;
783
877
  }
@@ -843,6 +937,10 @@
843
937
  border-left-width: 2px;
844
938
  }
845
939
 
940
+ .univer-border-r {
941
+ border-right-width: 1px;
942
+ }
943
+
846
944
  .univer-border-t-2 {
847
945
  border-top-width: 2px;
848
946
  }
@@ -899,6 +997,10 @@
899
997
  background-color: var(--univer-gray-200);
900
998
  }
901
999
 
1000
+ .univer-bg-gray-50 {
1001
+ background-color: var(--univer-gray-50);
1002
+ }
1003
+
902
1004
  .univer-bg-primary-50 {
903
1005
  background-color: var(--univer-primary-50);
904
1006
  }
@@ -924,6 +1026,10 @@
924
1026
  padding: .25rem !important;
925
1027
  }
926
1028
 
1029
+ .\!univer-p-1\.5 {
1030
+ padding: .375rem !important;
1031
+ }
1032
+
927
1033
  .univer-p-0 {
928
1034
  padding: 0;
929
1035
  }
@@ -993,10 +1099,18 @@
993
1099
  padding-left: .75rem;
994
1100
  }
995
1101
 
1102
+ .univer-pr-3 {
1103
+ padding-right: .75rem;
1104
+ }
1105
+
996
1106
  .univer-pt-2 {
997
1107
  padding-top: .5rem;
998
1108
  }
999
1109
 
1110
+ .univer-pt-4 {
1111
+ padding-top: 1rem;
1112
+ }
1113
+
1000
1114
  .univer-text-left {
1001
1115
  text-align: left;
1002
1116
  }
@@ -1005,6 +1119,10 @@
1005
1119
  text-align: center;
1006
1120
  }
1007
1121
 
1122
+ .univer-font-mono {
1123
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
1124
+ }
1125
+
1008
1126
  .univer-text-\[10px\] {
1009
1127
  font-size: 10px;
1010
1128
  }
@@ -1037,6 +1155,14 @@
1037
1155
  font-weight: 600;
1038
1156
  }
1039
1157
 
1158
+ .univer-leading-5 {
1159
+ line-height: 1.25rem;
1160
+ }
1161
+
1162
+ .univer-leading-6 {
1163
+ line-height: 1.5rem;
1164
+ }
1165
+
1040
1166
  .univer-leading-none {
1041
1167
  line-height: 1;
1042
1168
  }
@@ -1045,6 +1171,10 @@
1045
1171
  color: var(--univer-primary-300) !important;
1046
1172
  }
1047
1173
 
1174
+ .\!univer-text-transparent {
1175
+ color: #0000 !important;
1176
+ }
1177
+
1048
1178
  .univer-text-gray-400 {
1049
1179
  color: var(--univer-gray-400);
1050
1180
  }
@@ -1073,6 +1203,10 @@
1073
1203
  color: var(--univer-primary-600);
1074
1204
  }
1075
1205
 
1206
+ .univer-text-primary-700 {
1207
+ color: var(--univer-primary-700);
1208
+ }
1209
+
1076
1210
  .univer-opacity-60 {
1077
1211
  opacity: .6;
1078
1212
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-advanced",
3
- "version": "1.0.0-alpha.5",
3
+ "version": "1.0.0-alpha.7",
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,37 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/collaboration": "1.0.0-alpha.5",
65
- "@univerjs-pro/engine-formula": "1.0.0-alpha.5",
66
- "@univerjs-pro/engine-chart": "1.0.0-alpha.5",
67
- "@univerjs-pro/engine-shape": "1.0.0-alpha.5",
68
- "@univerjs-pro/engine-pivot": "1.0.0-alpha.5",
69
- "@univerjs-pro/exchange-client": "1.0.0-alpha.5",
70
- "@univerjs-pro/print": "1.0.0-alpha.5",
71
- "@univerjs-pro/shape-editor-ui": "1.0.0-alpha.5",
72
- "@univerjs-pro/license": "1.0.0-alpha.5",
73
- "@univerjs-pro/sheets-chart": "1.0.0-alpha.5",
74
- "@univerjs-pro/sheets-chart-ui": "1.0.0-alpha.5",
75
- "@univerjs-pro/sheets-exchange-client": "1.0.0-alpha.5",
76
- "@univerjs-pro/sheets-graphics": "1.0.0-alpha.5",
77
- "@univerjs-pro/sheets-outline": "1.0.0-alpha.5",
78
- "@univerjs-pro/sheets-outline-ui": "1.0.0-alpha.5",
79
- "@univerjs-pro/sheets-pivot": "1.0.0-alpha.5",
80
- "@univerjs-pro/sheets-pivot-ui": "1.0.0-alpha.5",
81
- "@univerjs-pro/sheets-print": "1.0.0-alpha.5",
82
- "@univerjs-pro/sheets-shape": "1.0.0-alpha.5",
83
- "@univerjs-pro/sheets-sparkline": "1.0.0-alpha.5",
84
- "@univerjs-pro/sheets-sparkline-ui": "1.0.0-alpha.5",
85
- "@univerjs-pro/sheets-shape-ui": "1.0.0-alpha.5"
64
+ "@univerjs-pro/engine-chart": "1.0.0-alpha.7",
65
+ "@univerjs-pro/engine-formula": "1.0.0-alpha.7",
66
+ "@univerjs-pro/engine-pivot": "1.0.0-alpha.7",
67
+ "@univerjs-pro/engine-shape": "1.0.0-alpha.7",
68
+ "@univerjs-pro/collaboration": "1.0.0-alpha.7",
69
+ "@univerjs-pro/license": "1.0.0-alpha.7",
70
+ "@univerjs-pro/print": "1.0.0-alpha.7",
71
+ "@univerjs-pro/exchange-client": "1.0.0-alpha.7",
72
+ "@univerjs-pro/shape-editor-ui": "1.0.0-alpha.7",
73
+ "@univerjs-pro/sheets-chart-ui": "1.0.0-alpha.7",
74
+ "@univerjs-pro/sheets-exchange-client": "1.0.0-alpha.7",
75
+ "@univerjs-pro/sheets-graphics": "1.0.0-alpha.7",
76
+ "@univerjs-pro/sheets-outline": "1.0.0-alpha.7",
77
+ "@univerjs-pro/sheets-chart": "1.0.0-alpha.7",
78
+ "@univerjs-pro/sheets-outline-ui": "1.0.0-alpha.7",
79
+ "@univerjs-pro/sheets-pivot": "1.0.0-alpha.7",
80
+ "@univerjs-pro/sheets-pivot-ui": "1.0.0-alpha.7",
81
+ "@univerjs-pro/sheets-print": "1.0.0-alpha.7",
82
+ "@univerjs-pro/sheets-shape": "1.0.0-alpha.7",
83
+ "@univerjs-pro/sheets-shape-ui": "1.0.0-alpha.7",
84
+ "@univerjs-pro/sheets-sparkline-ui": "1.0.0-alpha.7",
85
+ "@univerjs-pro/sheets-sparkline": "1.0.0-alpha.7"
86
86
  },
87
87
  "devDependencies": {
88
88
  "react": "18.3.1",
89
89
  "react-dom": "18.3.1",
90
90
  "rxjs": "^7.8.2",
91
91
  "typescript": "^6.0.3",
92
- "@univerjs-infra/shared": "1.0.0-alpha.5",
93
- "@univerjs/core": "1.0.0-alpha.5",
94
- "@univerjs/presets": "1.0.0-alpha.5"
92
+ "@univerjs-infra/shared": "1.0.0-alpha.7",
93
+ "@univerjs/core": "1.0.0-alpha.7",
94
+ "@univerjs/presets": "1.0.0-alpha.7"
95
95
  },
96
96
  "scripts": {
97
97
  "build:bundle": "univer-cli preset build --cleanup",