@univerjs/preset-sheets-core 1.0.0-alpha.3 → 1.0.0-alpha.5

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 +120 -0
  2. package/package.json +18 -18
package/lib/index.css CHANGED
@@ -3535,6 +3535,11 @@
3535
3535
  margin-bottom: .5rem;
3536
3536
  }
3537
3537
 
3538
+ .univer-my-3 {
3539
+ margin-top: .75rem;
3540
+ margin-bottom: .75rem;
3541
+ }
3542
+
3538
3543
  .univer-mb-0 {
3539
3544
  margin-bottom: 0;
3540
3545
  }
@@ -3567,6 +3572,10 @@
3567
3572
  margin-top: .25rem;
3568
3573
  }
3569
3574
 
3575
+ .univer-mt-1\.5 {
3576
+ margin-top: .375rem;
3577
+ }
3578
+
3570
3579
  .univer-mt-2 {
3571
3580
  margin-top: .5rem;
3572
3581
  }
@@ -3575,6 +3584,10 @@
3575
3584
  margin-top: .75rem;
3576
3585
  }
3577
3586
 
3587
+ .univer-mt-4 {
3588
+ margin-top: 1rem;
3589
+ }
3590
+
3578
3591
  .univer-box-border {
3579
3592
  box-sizing: border-box;
3580
3593
  }
@@ -3687,6 +3700,10 @@
3687
3700
  gap: .5rem;
3688
3701
  }
3689
3702
 
3703
+ .univer-gap-3 {
3704
+ gap: .75rem;
3705
+ }
3706
+
3690
3707
  .univer-gap-4 {
3691
3708
  gap: 1rem;
3692
3709
  }
@@ -3725,10 +3742,18 @@
3725
3742
  border-radius: .25rem;
3726
3743
  }
3727
3744
 
3745
+ .univer-rounded-full {
3746
+ border-radius: 9999px;
3747
+ }
3748
+
3728
3749
  .univer-rounded-lg {
3729
3750
  border-radius: .5rem;
3730
3751
  }
3731
3752
 
3753
+ .univer-rounded-md {
3754
+ border-radius: .375rem;
3755
+ }
3756
+
3732
3757
  .univer-rounded-none {
3733
3758
  border-radius: 0;
3734
3759
  }
@@ -3758,10 +3783,22 @@
3758
3783
  background-color: var(--univer-gray-600) !important;
3759
3784
  }
3760
3785
 
3786
+ .univer-bg-gray-100 {
3787
+ background-color: var(--univer-gray-100);
3788
+ }
3789
+
3761
3790
  .univer-bg-gray-200 {
3762
3791
  background-color: var(--univer-gray-200);
3763
3792
  }
3764
3793
 
3794
+ .univer-bg-gray-50 {
3795
+ background-color: var(--univer-gray-50);
3796
+ }
3797
+
3798
+ .univer-bg-primary-50 {
3799
+ background-color: var(--univer-primary-50);
3800
+ }
3801
+
3765
3802
  .univer-bg-primary-600 {
3766
3803
  background-color: var(--univer-primary-600);
3767
3804
  }
@@ -3795,6 +3832,11 @@
3795
3832
  padding-right: .5rem;
3796
3833
  }
3797
3834
 
3835
+ .univer-px-3 {
3836
+ padding-left: .75rem;
3837
+ padding-right: .75rem;
3838
+ }
3839
+
3798
3840
  .univer-px-4 {
3799
3841
  padding-left: 1rem;
3800
3842
  padding-right: 1rem;
@@ -3810,6 +3852,11 @@
3810
3852
  padding-right: 1.75rem;
3811
3853
  }
3812
3854
 
3855
+ .univer-py-0\.5 {
3856
+ padding-top: .125rem;
3857
+ padding-bottom: .125rem;
3858
+ }
3859
+
3813
3860
  .univer-py-1 {
3814
3861
  padding-top: .25rem;
3815
3862
  padding-bottom: .25rem;
@@ -3833,6 +3880,10 @@
3833
3880
  padding-top: 0;
3834
3881
  }
3835
3882
 
3883
+ .univer-font-mono {
3884
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
3885
+ }
3886
+
3836
3887
  .univer-text-base {
3837
3888
  font-size: 1rem;
3838
3889
  line-height: 1.5rem;
@@ -3856,6 +3907,14 @@
3856
3907
  font-weight: 500;
3857
3908
  }
3858
3909
 
3910
+ .univer-font-semibold {
3911
+ font-weight: 600;
3912
+ }
3913
+
3914
+ .univer-leading-4 {
3915
+ line-height: 1rem;
3916
+ }
3917
+
3859
3918
  .univer-leading-5 {
3860
3919
  line-height: 1.25rem;
3861
3920
  }
@@ -3945,10 +4004,22 @@
3945
4004
  background-color: var(--univer-gray-600) !important;
3946
4005
  }
3947
4006
 
4007
+ .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
4008
+ background-color: var(--univer-gray-700) !important;
4009
+ }
4010
+
4011
+ .dark\:\!univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
4012
+ background-color: var(--univer-gray-800) !important;
4013
+ }
4014
+
3948
4015
  .dark\:\!univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
3949
4016
  background-color: var(--univer-gray-900) !important;
3950
4017
  }
3951
4018
 
4019
+ .dark\:\!univer-bg-primary-900:where(.univer-dark, .univer-dark *) {
4020
+ background-color: var(--univer-primary-900) !important;
4021
+ }
4022
+
3952
4023
  .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
3953
4024
  color: var(--univer-gray-200) !important;
3954
4025
  }
@@ -3957,6 +4028,10 @@
3957
4028
  color: var(--univer-gray-300) !important;
3958
4029
  }
3959
4030
 
4031
+ .dark\:\!univer-text-primary-200:where(.univer-dark, .univer-dark *) {
4032
+ color: var(--univer-primary-200) !important;
4033
+ }
4034
+
3960
4035
  .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
3961
4036
  color: var(--univer-white) !important;
3962
4037
  }
@@ -4182,6 +4257,10 @@
4182
4257
  top: -.125rem;
4183
4258
  }
4184
4259
 
4260
+ .univer-bottom-0 {
4261
+ bottom: 0;
4262
+ }
4263
+
4185
4264
  .univer-left-0 {
4186
4265
  left: 0;
4187
4266
  }
@@ -4190,6 +4269,10 @@
4190
4269
  left: .25rem;
4191
4270
  }
4192
4271
 
4272
+ .univer-left-1\/2 {
4273
+ left: 50%;
4274
+ }
4275
+
4193
4276
  .univer-left-3 {
4194
4277
  left: .75rem;
4195
4278
  }
@@ -4571,6 +4654,12 @@
4571
4654
  flex-basis: 0;
4572
4655
  }
4573
4656
 
4657
+ .-univer-translate-x-1\/2 {
4658
+ --univer-tw-translate-x: -50%;
4659
+ 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));
4660
+ 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));
4661
+ }
4662
+
4574
4663
  .-univer-translate-y-1\/2 {
4575
4664
  --univer-tw-translate-y: -50%;
4576
4665
  transform: translate(var(--univer-tw-translate-x), -50%) 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));
@@ -4583,6 +4672,16 @@
4583
4672
  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));
4584
4673
  }
4585
4674
 
4675
+ @keyframes univer-pulse {
4676
+ 50% {
4677
+ opacity: .5;
4678
+ }
4679
+ }
4680
+
4681
+ .univer-animate-pulse {
4682
+ animation: 2s cubic-bezier(.4, 0, .6, 1) infinite univer-pulse;
4683
+ }
4684
+
4586
4685
  @keyframes univer-spin {
4587
4686
  to {
4588
4687
  transform: rotate(360deg);
@@ -4783,6 +4882,10 @@
4783
4882
  border-bottom-width: 1px;
4784
4883
  }
4785
4884
 
4885
+ .univer-border-r {
4886
+ border-right-width: 1px;
4887
+ }
4888
+
4786
4889
  .univer-border-solid {
4787
4890
  border-style: solid;
4788
4891
  }
@@ -4827,6 +4930,10 @@
4827
4930
  background-color: var(--univer-gray-900) !important;
4828
4931
  }
4829
4932
 
4933
+ .\!univer-bg-transparent {
4934
+ background-color: #0000 !important;
4935
+ }
4936
+
4830
4937
  .univer-bg-blue-500 {
4831
4938
  background-color: var(--univer-blue-500);
4832
4939
  }
@@ -4843,6 +4950,10 @@
4843
4950
  background-color: var(--univer-gray-200);
4844
4951
  }
4845
4952
 
4953
+ .univer-bg-gray-50 {
4954
+ background-color: var(--univer-gray-50);
4955
+ }
4956
+
4846
4957
  .univer-bg-transparent {
4847
4958
  background-color: #0000;
4848
4959
  }
@@ -5100,6 +5211,11 @@
5100
5211
  color: rgba(225, 29, 72, var(--univer-tw-text-opacity, 1));
5101
5212
  }
5102
5213
 
5214
+ .univer-text-violet-500 {
5215
+ --univer-tw-text-opacity: 1;
5216
+ color: rgba(139, 92, 246, var(--univer-tw-text-opacity, 1));
5217
+ }
5218
+
5103
5219
  .univer-text-white {
5104
5220
  color: var(--univer-white);
5105
5221
  }
@@ -5339,6 +5455,10 @@
5339
5455
  background-color: var(--univer-gray-900) !important;
5340
5456
  }
5341
5457
 
5458
+ .dark\:\!univer-bg-transparent:where(.univer-dark, .univer-dark *) {
5459
+ background-color: #0000 !important;
5460
+ }
5461
+
5342
5462
  .dark\:\!univer-from-gray-800:where(.univer-dark, .univer-dark *) {
5343
5463
  --univer-tw-gradient-from: var(--univer-gray-800) var(--univer-tw-gradient-from-position) !important;
5344
5464
  --univer-tw-gradient-to: #fff0 var(--univer-tw-gradient-to-position) !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-core",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.5",
4
4
  "private": false,
5
5
  "description": "Preset for core Univer Sheets spreadsheet features.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,29 +61,29 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs/design": "1.0.0-alpha.3",
65
- "@univerjs/docs": "1.0.0-alpha.3",
66
- "@univerjs/docs-ui": "1.0.0-alpha.3",
67
- "@univerjs/engine-render": "1.0.0-alpha.3",
68
- "@univerjs/network": "1.0.0-alpha.3",
69
- "@univerjs/engine-formula": "1.0.0-alpha.3",
70
- "@univerjs/rpc": "1.0.0-alpha.3",
71
- "@univerjs/sheets": "1.0.0-alpha.3",
72
- "@univerjs/sheets-formula-ui": "1.0.0-alpha.3",
73
- "@univerjs/sheets-formula": "1.0.0-alpha.3",
74
- "@univerjs/sheets-numfmt": "1.0.0-alpha.3",
75
- "@univerjs/sheets-numfmt-ui": "1.0.0-alpha.3",
76
- "@univerjs/sheets-ui": "1.0.0-alpha.3",
77
- "@univerjs/ui": "1.0.0-alpha.3"
64
+ "@univerjs/design": "1.0.0-alpha.5",
65
+ "@univerjs/docs": "1.0.0-alpha.5",
66
+ "@univerjs/docs-ui": "1.0.0-alpha.5",
67
+ "@univerjs/engine-formula": "1.0.0-alpha.5",
68
+ "@univerjs/engine-render": "1.0.0-alpha.5",
69
+ "@univerjs/network": "1.0.0-alpha.5",
70
+ "@univerjs/sheets": "1.0.0-alpha.5",
71
+ "@univerjs/sheets-formula": "1.0.0-alpha.5",
72
+ "@univerjs/sheets-formula-ui": "1.0.0-alpha.5",
73
+ "@univerjs/rpc": "1.0.0-alpha.5",
74
+ "@univerjs/sheets-numfmt": "1.0.0-alpha.5",
75
+ "@univerjs/ui": "1.0.0-alpha.5",
76
+ "@univerjs/sheets-ui": "1.0.0-alpha.5",
77
+ "@univerjs/sheets-numfmt-ui": "1.0.0-alpha.5"
78
78
  },
79
79
  "devDependencies": {
80
80
  "react": "18.3.1",
81
81
  "react-dom": "18.3.1",
82
82
  "rxjs": "^7.8.2",
83
83
  "typescript": "^6.0.3",
84
- "@univerjs-infra/shared": "1.0.0-alpha.3",
85
- "@univerjs/core": "1.0.0-alpha.3",
86
- "@univerjs/presets": "1.0.0-alpha.3"
84
+ "@univerjs/core": "1.0.0-alpha.5",
85
+ "@univerjs/presets": "1.0.0-alpha.5",
86
+ "@univerjs-infra/shared": "1.0.0-alpha.5"
87
87
  },
88
88
  "scripts": {
89
89
  "build:bundle": "univer-cli preset build --cleanup",