@univerjs/preset-sheets-core 1.0.0-alpha.1 → 1.0.0-alpha.2

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 +136 -8
  2. package/package.json +18 -18
package/lib/index.css CHANGED
@@ -179,6 +179,10 @@
179
179
  top: 1px;
180
180
  }
181
181
 
182
+ .\!univer-z-\[1090\] {
183
+ z-index: 1090 !important;
184
+ }
185
+
182
186
  .univer-z-0 {
183
187
  z-index: 0;
184
188
  }
@@ -945,6 +949,10 @@
945
949
  border-left-width: 0 !important;
946
950
  }
947
951
 
952
+ .\!univer-border-r-0 {
953
+ border-right-width: 0 !important;
954
+ }
955
+
948
956
  .\!univer-border-t-0 {
949
957
  border-top-width: 0 !important;
950
958
  }
@@ -2169,10 +2177,22 @@
2169
2177
  }
2170
2178
  }
2171
2179
 
2180
+ .rtl\:univer-left-4:where([dir="rtl"], [dir="rtl"] *) {
2181
+ left: 1rem;
2182
+ }
2183
+
2184
+ .rtl\:univer-left-auto:where([dir="rtl"], [dir="rtl"] *) {
2185
+ left: auto;
2186
+ }
2187
+
2172
2188
  .rtl\:univer-left-px:where([dir="rtl"], [dir="rtl"] *) {
2173
2189
  left: 1px;
2174
2190
  }
2175
2191
 
2192
+ .rtl\:univer-right-1\.5:where([dir="rtl"], [dir="rtl"] *) {
2193
+ right: .375rem;
2194
+ }
2195
+
2176
2196
  .rtl\:univer-right-auto:where([dir="rtl"], [dir="rtl"] *) {
2177
2197
  right: auto;
2178
2198
  }
@@ -2195,6 +2215,20 @@
2195
2215
  border-right-width: 1px;
2196
2216
  }
2197
2217
 
2218
+ .rtl\:\!univer-pl-2:where([dir="rtl"], [dir="rtl"] *) {
2219
+ padding-left: .5rem !important;
2220
+ }
2221
+
2222
+ .rtl\:\!univer-pr-4:where([dir="rtl"], [dir="rtl"] *) {
2223
+ padding-right: 1rem !important;
2224
+ }
2225
+
2226
+ @media (min-width: 640px) {
2227
+ .sm\:rtl\:\!univer-text-right:where([dir="rtl"], [dir="rtl"] *) {
2228
+ text-align: right !important;
2229
+ }
2230
+ }
2231
+
2198
2232
  .dark\:\!univer-divide-gray-600:where(.univer-dark, .univer-dark *) > :not([hidden]) ~ :not([hidden]) {
2199
2233
  border-color: var(--univer-gray-600) !important;
2200
2234
  }
@@ -3851,6 +3885,10 @@
3851
3885
  background-color: var(--univer-gray-300);
3852
3886
  }
3853
3887
 
3888
+ .rtl\:univer-flex-row-reverse:where([dir="rtl"], [dir="rtl"] *) {
3889
+ flex-direction: row-reverse;
3890
+ }
3891
+
3854
3892
  .dark\:\!univer-bg-gray-600:where(.univer-dark, .univer-dark *) {
3855
3893
  background-color: var(--univer-gray-600) !important;
3856
3894
  }
@@ -3878,10 +3916,6 @@
3878
3916
  margin-bottom: 1.25rem;
3879
3917
  }
3880
3918
 
3881
- .univer-mr-3 {
3882
- margin-right: .75rem;
3883
- }
3884
-
3885
3919
  .univer-mt-2 {
3886
3920
  margin-top: .5rem;
3887
3921
  }
@@ -3970,6 +4004,10 @@
3970
4004
  gap: .375rem;
3971
4005
  }
3972
4006
 
4007
+ .univer-gap-2 {
4008
+ gap: .5rem;
4009
+ }
4010
+
3973
4011
  .univer-gap-6 {
3974
4012
  gap: 1.5rem;
3975
4013
  }
@@ -4042,6 +4080,10 @@
4042
4080
  background-color: var(--univer-gray-100);
4043
4081
  }
4044
4082
 
4083
+ .rtl\:univer-flex-row-reverse:where([dir="rtl"], [dir="rtl"] *) {
4084
+ flex-direction: row-reverse;
4085
+ }
4086
+
4045
4087
  .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
4046
4088
  color: var(--univer-gray-200) !important;
4047
4089
  }
@@ -4405,10 +4447,6 @@
4405
4447
  width: 300px;
4406
4448
  }
4407
4449
 
4408
- .univer-w-\[50\%\] {
4409
- width: 50%;
4410
- }
4411
-
4412
4450
  .univer-w-fit {
4413
4451
  width: fit-content;
4414
4452
  }
@@ -4473,6 +4511,10 @@
4473
4511
  flex-grow: 0;
4474
4512
  }
4475
4513
 
4514
+ .univer-basis-0 {
4515
+ flex-basis: 0;
4516
+ }
4517
+
4476
4518
  .-univer-translate-y-1\/2 {
4477
4519
  --univer-tw-translate-y: -50%;
4478
4520
  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));
@@ -5171,6 +5213,40 @@
5171
5213
  background-color: var(--univer-gray-100);
5172
5214
  }
5173
5215
 
5216
+ .rtl\:univer-left-0:where([dir="rtl"], [dir="rtl"] *) {
5217
+ left: 0;
5218
+ }
5219
+
5220
+ .rtl\:univer-right-auto:where([dir="rtl"], [dir="rtl"] *) {
5221
+ right: auto;
5222
+ }
5223
+
5224
+ .rtl\:univer-flex-row-reverse:where([dir="rtl"], [dir="rtl"] *) {
5225
+ flex-direction: row-reverse;
5226
+ }
5227
+
5228
+ .rtl\:univer-pl-5:where([dir="rtl"], [dir="rtl"] *) {
5229
+ padding-left: 1.25rem;
5230
+ }
5231
+
5232
+ .rtl\:univer-pr-1\.5:where([dir="rtl"], [dir="rtl"] *) {
5233
+ padding-right: .375rem;
5234
+ }
5235
+
5236
+ .rtl\:univer-text-right:where([dir="rtl"], [dir="rtl"] *) {
5237
+ text-align: right;
5238
+ }
5239
+
5240
+ .rtl\:after\:univer-left-0:where([dir="rtl"], [dir="rtl"] *):after {
5241
+ content: var(--univer-tw-content);
5242
+ left: 0;
5243
+ }
5244
+
5245
+ .rtl\:after\:univer-right-auto:where([dir="rtl"], [dir="rtl"] *):after {
5246
+ content: var(--univer-tw-content);
5247
+ right: auto;
5248
+ }
5249
+
5174
5250
  .dark\:\!univer-divide-gray-600:where(.univer-dark, .univer-dark *) > :not([hidden]) ~ :not([hidden]) {
5175
5251
  border-color: var(--univer-gray-600) !important;
5176
5252
  }
@@ -5563,6 +5639,10 @@
5563
5639
  height: 100%;
5564
5640
  }
5565
5641
 
5642
+ .univer-max-h-72 {
5643
+ max-height: 18rem;
5644
+ }
5645
+
5566
5646
  .univer-max-h-\[80vh\] {
5567
5647
  max-height: 80vh;
5568
5648
  }
@@ -5667,6 +5747,10 @@
5667
5747
  min-width: 0;
5668
5748
  }
5669
5749
 
5750
+ .univer-min-w-44 {
5751
+ min-width: 11rem;
5752
+ }
5753
+
5670
5754
  .univer-min-w-52 {
5671
5755
  min-width: 13rem;
5672
5756
  }
@@ -5845,6 +5929,10 @@
5845
5929
  grid-template-rows: auto 1fr auto;
5846
5930
  }
5847
5931
 
5932
+ .univer-flex-row {
5933
+ flex-direction: row;
5934
+ }
5935
+
5848
5936
  .univer-flex-col {
5849
5937
  flex-direction: column;
5850
5938
  }
@@ -6665,10 +6753,50 @@
6665
6753
  }
6666
6754
  }
6667
6755
 
6756
+ .rtl\:univer-left-0:where([dir="rtl"], [dir="rtl"] *) {
6757
+ left: 0;
6758
+ }
6759
+
6760
+ .rtl\:univer-left-2:where([dir="rtl"], [dir="rtl"] *) {
6761
+ left: .5rem;
6762
+ }
6763
+
6764
+ .rtl\:univer-right-auto:where([dir="rtl"], [dir="rtl"] *) {
6765
+ right: auto;
6766
+ }
6767
+
6768
+ .rtl\:univer-divide-x-reverse:where([dir="rtl"], [dir="rtl"] *) > :not([hidden]) ~ :not([hidden]) {
6769
+ --univer-tw-divide-x-reverse: 1;
6770
+ }
6771
+
6772
+ .rtl\:univer-rounded-l:where([dir="rtl"], [dir="rtl"] *) {
6773
+ border-top-left-radius: .25rem;
6774
+ border-bottom-left-radius: .25rem;
6775
+ }
6776
+
6777
+ .rtl\:univer-rounded-l-none:where([dir="rtl"], [dir="rtl"] *) {
6778
+ border-top-left-radius: 0;
6779
+ border-bottom-left-radius: 0;
6780
+ }
6781
+
6782
+ .rtl\:univer-rounded-r:where([dir="rtl"], [dir="rtl"] *) {
6783
+ border-top-right-radius: .25rem;
6784
+ border-bottom-right-radius: .25rem;
6785
+ }
6786
+
6787
+ .rtl\:univer-rounded-r-none:where([dir="rtl"], [dir="rtl"] *) {
6788
+ border-top-right-radius: 0;
6789
+ border-bottom-right-radius: 0;
6790
+ }
6791
+
6668
6792
  .rtl\:univer-pl-1\.5:where([dir="rtl"], [dir="rtl"] *) {
6669
6793
  padding-left: .375rem;
6670
6794
  }
6671
6795
 
6796
+ .rtl\:univer-pl-5:where([dir="rtl"], [dir="rtl"] *) {
6797
+ padding-left: 1.25rem;
6798
+ }
6799
+
6672
6800
  .rtl\:univer-pr-0:where([dir="rtl"], [dir="rtl"] *) {
6673
6801
  padding-right: 0;
6674
6802
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-core",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.2",
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.1",
65
- "@univerjs/docs": "1.0.0-alpha.1",
66
- "@univerjs/docs-ui": "1.0.0-alpha.1",
67
- "@univerjs/engine-formula": "1.0.0-alpha.1",
68
- "@univerjs/network": "1.0.0-alpha.1",
69
- "@univerjs/rpc": "1.0.0-alpha.1",
70
- "@univerjs/engine-render": "1.0.0-alpha.1",
71
- "@univerjs/sheets-formula": "1.0.0-alpha.1",
72
- "@univerjs/sheets": "1.0.0-alpha.1",
73
- "@univerjs/sheets-formula-ui": "1.0.0-alpha.1",
74
- "@univerjs/sheets-numfmt": "1.0.0-alpha.1",
75
- "@univerjs/sheets-numfmt-ui": "1.0.0-alpha.1",
76
- "@univerjs/sheets-ui": "1.0.0-alpha.1",
77
- "@univerjs/ui": "1.0.0-alpha.1"
64
+ "@univerjs/docs": "1.0.0-alpha.2",
65
+ "@univerjs/docs-ui": "1.0.0-alpha.2",
66
+ "@univerjs/engine-render": "1.0.0-alpha.2",
67
+ "@univerjs/network": "1.0.0-alpha.2",
68
+ "@univerjs/engine-formula": "1.0.0-alpha.2",
69
+ "@univerjs/design": "1.0.0-alpha.2",
70
+ "@univerjs/sheets": "1.0.0-alpha.2",
71
+ "@univerjs/rpc": "1.0.0-alpha.2",
72
+ "@univerjs/sheets-formula": "1.0.0-alpha.2",
73
+ "@univerjs/sheets-formula-ui": "1.0.0-alpha.2",
74
+ "@univerjs/sheets-numfmt": "1.0.0-alpha.2",
75
+ "@univerjs/sheets-ui": "1.0.0-alpha.2",
76
+ "@univerjs/sheets-numfmt-ui": "1.0.0-alpha.2",
77
+ "@univerjs/ui": "1.0.0-alpha.2"
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.1",
85
- "@univerjs/core": "1.0.0-alpha.1",
86
- "@univerjs/presets": "1.0.0-alpha.1"
84
+ "@univerjs/presets": "1.0.0-alpha.2",
85
+ "@univerjs-infra/shared": "1.0.0-alpha.2",
86
+ "@univerjs/core": "1.0.0-alpha.2"
87
87
  },
88
88
  "scripts": {
89
89
  "build:bundle": "univer-cli preset build --cleanup",