@univerjs/preset-sheets-core 1.1.0 → 1.3.0

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 +237 -153
  2. package/package.json +19 -19
package/lib/index.css CHANGED
@@ -192,10 +192,6 @@
192
192
  top: 1px;
193
193
  }
194
194
 
195
- .\!univer-z-\[1090\] {
196
- z-index: 1090 !important;
197
- }
198
-
199
195
  .\!univer-z-\[1390\] {
200
196
  z-index: 1390 !important;
201
197
  }
@@ -297,7 +293,7 @@
297
293
  margin-left: .25rem;
298
294
  }
299
295
 
300
- .univer-ml-auto {
296
+ .univer-ml-auto, .univer-ms-auto {
301
297
  margin-left: auto;
302
298
  }
303
299
 
@@ -479,6 +475,10 @@
479
475
  height: 1rem;
480
476
  }
481
477
 
478
+ .univer-h-40 {
479
+ height: 10rem;
480
+ }
481
+
482
482
  .univer-h-44 {
483
483
  height: 11rem;
484
484
  }
@@ -571,10 +571,6 @@
571
571
  min-height: 520px;
572
572
  }
573
573
 
574
- .\!univer-w-fit {
575
- width: fit-content !important;
576
- }
577
-
578
574
  .\!univer-w-full {
579
575
  width: 100% !important;
580
576
  }
@@ -979,6 +975,16 @@
979
975
  margin-bottom: calc(.5rem * var(--univer-tw-space-y-reverse));
980
976
  }
981
977
 
978
+ .univer-space-y-3 > :not([hidden]) ~ :not([hidden]) {
979
+ --univer-tw-space-y-reverse: 0;
980
+ margin-top: .75rem;
981
+ margin-top: calc(.75rem * (1 - var(--univer-tw-space-y-reverse)));
982
+ margin-top: .75rem;
983
+ margin-top: calc(.75rem * calc(1 - var(--univer-tw-space-y-reverse)));
984
+ margin-bottom: 0;
985
+ margin-bottom: calc(.75rem * var(--univer-tw-space-y-reverse));
986
+ }
987
+
982
988
  .univer-divide-x > :not([hidden]) ~ :not([hidden]) {
983
989
  --univer-tw-divide-x-reverse: 0;
984
990
  border-right-width: 0;
@@ -1231,6 +1237,10 @@
1231
1237
  border-color: #0000 !important;
1232
1238
  }
1233
1239
 
1240
+ .univer-border-black\/10 {
1241
+ border-color: #0000001a;
1242
+ }
1243
+
1234
1244
  .univer-border-gray-0 {
1235
1245
  border-color: var(--univer-gray-0);
1236
1246
  }
@@ -1345,6 +1355,10 @@
1345
1355
  background-color: var(--univer-gray-900);
1346
1356
  }
1347
1357
 
1358
+ .univer-bg-primary-100 {
1359
+ background-color: var(--univer-primary-100);
1360
+ }
1361
+
1348
1362
  .univer-bg-primary-50 {
1349
1363
  background-color: var(--univer-primary-50);
1350
1364
  }
@@ -1902,6 +1916,10 @@
1902
1916
  --univer-tw-text-opacity: .75;
1903
1917
  }
1904
1918
 
1919
+ .univer-decoration-current {
1920
+ text-decoration-color: currentColor;
1921
+ }
1922
+
1905
1923
  .univer-underline-offset-4 {
1906
1924
  text-underline-offset: 4px;
1907
1925
  }
@@ -2020,8 +2038,8 @@
2020
2038
  --univer-tw-ring-offset-width: 2px;
2021
2039
  }
2022
2040
 
2023
- .\!univer-ring-offset-gray-600 {
2024
- --univer-tw-ring-offset-color: var(--univer-gray-600) !important;
2041
+ .\!univer-ring-offset-gray-700 {
2042
+ --univer-tw-ring-offset-color: var(--univer-gray-700) !important;
2025
2043
  }
2026
2044
 
2027
2045
  .\!univer-ring-offset-gray-800 {
@@ -2037,11 +2055,6 @@
2037
2055
  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);
2038
2056
  }
2039
2057
 
2040
- .univer-backdrop-blur-xl {
2041
- --univer-tw-backdrop-blur: blur(24px);
2042
- backdrop-filter: var(--univer-tw-backdrop-blur) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia);
2043
- }
2044
-
2045
2058
  .univer-transition-\[color\,box-shadow\] {
2046
2059
  transition-property: color, box-shadow;
2047
2060
  transition-duration: .15s;
@@ -2078,12 +2091,6 @@
2078
2091
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2079
2092
  }
2080
2093
 
2081
- .univer-transition-shadow {
2082
- transition-property: box-shadow;
2083
- transition-duration: .15s;
2084
- transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2085
- }
2086
-
2087
2094
  .univer-transition-transform {
2088
2095
  transition-property: transform;
2089
2096
  transition-duration: .15s;
@@ -2275,6 +2282,14 @@
2275
2282
  scroll-padding-block: 4px;
2276
2283
  }
2277
2284
 
2285
+ .\[transition-timing-function\:cubic-bezier\(0\.08\,0\.82\,0\.17\,1\)\] {
2286
+ transition-timing-function: cubic-bezier(.08, .82, .17, 1);
2287
+ }
2288
+
2289
+ .\[transition-timing-function\:cubic-bezier\(0\.6\,0\.04\,0\.98\,0\.34\)\] {
2290
+ transition-timing-function: cubic-bezier(.6, .04, .98, .34);
2291
+ }
2292
+
2278
2293
  .placeholder\:univer-text-gray-200::placeholder {
2279
2294
  color: var(--univer-gray-200);
2280
2295
  }
@@ -2485,6 +2500,10 @@
2485
2500
  background-color: var(--univer-gray-50);
2486
2501
  }
2487
2502
 
2503
+ .hover\:univer-bg-primary-100:hover {
2504
+ background-color: var(--univer-primary-100);
2505
+ }
2506
+
2488
2507
  .hover\:univer-bg-primary-500:hover {
2489
2508
  background-color: var(--univer-primary-500);
2490
2509
  }
@@ -2529,10 +2548,6 @@
2529
2548
  opacity: .7;
2530
2549
  }
2531
2550
 
2532
- .hover\:univer-opacity-80:hover {
2533
- opacity: .8;
2534
- }
2535
-
2536
2551
  .hover\:\[--gutter\:1rem\]:hover {
2537
2552
  --gutter: 1rem;
2538
2553
  }
@@ -2618,6 +2633,10 @@
2618
2633
  outline-color: var(--univer-primary-500);
2619
2634
  }
2620
2635
 
2636
+ .focus-visible\:univer-outline-primary-600:focus-visible {
2637
+ outline-color: var(--univer-primary-600);
2638
+ }
2639
+
2621
2640
  .focus-visible\:\!univer-ring-2:focus-visible {
2622
2641
  --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;
2623
2642
  --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) !important;
@@ -2925,16 +2944,12 @@
2925
2944
  --univer-tw-ring-color: var(--univer-primary-400) !important;
2926
2945
  }
2927
2946
 
2928
- .dark\:\!univer-ring-primary-600:where(.univer-dark, .univer-dark *) {
2929
- --univer-tw-ring-color: var(--univer-primary-600) !important;
2930
- }
2931
-
2932
2947
  .dark\:\!univer-ring-primary-900:where(.univer-dark, .univer-dark *) {
2933
2948
  --univer-tw-ring-color: var(--univer-primary-900) !important;
2934
2949
  }
2935
2950
 
2936
- .dark\:\!univer-ring-offset-gray-600:where(.univer-dark, .univer-dark *) {
2937
- --univer-tw-ring-offset-color: var(--univer-gray-600) !important;
2951
+ .dark\:\!univer-ring-offset-gray-700:where(.univer-dark, .univer-dark *) {
2952
+ --univer-tw-ring-offset-color: var(--univer-gray-700) !important;
2938
2953
  }
2939
2954
 
2940
2955
  .dark\:\!univer-ring-offset-gray-800:where(.univer-dark, .univer-dark *) {
@@ -3146,14 +3161,14 @@
3146
3161
  line-height: 1.25rem;
3147
3162
  }
3148
3163
 
3149
- .\[\&_\[data-description\]\]\:univer-text-gray-200 [data-description] {
3150
- color: var(--univer-gray-200);
3151
- }
3152
-
3153
3164
  .\[\&_\[data-description\]\]\:univer-text-gray-600 [data-description] {
3154
3165
  color: var(--univer-gray-600);
3155
3166
  }
3156
3167
 
3168
+ .dark\:\[\&_\[data-description\]\]\:\!univer-text-gray-200 [data-description]:where(.univer-dark, .univer-dark *) {
3169
+ color: var(--univer-gray-200) !important;
3170
+ }
3171
+
3157
3172
  .\[\&_\[data-icon\]\>svg\]\:univer-relative [data-icon] > svg {
3158
3173
  position: relative;
3159
3174
  }
@@ -3229,6 +3244,10 @@
3229
3244
  border-color: var(--univer-gray-200);
3230
3245
  }
3231
3246
 
3247
+ .\[\&_\[data-sonner-toast\]\]\:univer-bg-gray-0 [data-sonner-toast] {
3248
+ background-color: var(--univer-gray-0);
3249
+ }
3250
+
3232
3251
  .\[\&_\[data-sonner-toast\]\]\:univer-shadow-\[0_16px_40px_-20px_rgba\(15\,23\,42\,0\.55\)\] [data-sonner-toast] {
3233
3252
  --univer-tw-shadow: 0 16px 40px -20px #0f172a8c;
3234
3253
  --univer-tw-shadow-colored: 0 16px 40px -20px var(--univer-tw-shadow-color);
@@ -3252,6 +3271,10 @@
3252
3271
  border-color: var(--univer-gray-600) !important;
3253
3272
  }
3254
3273
 
3274
+ .dark\:\[\&_\[data-sonner-toast\]\]\:\!univer-bg-gray-800 [data-sonner-toast]:where(.univer-dark, .univer-dark *) {
3275
+ background-color: var(--univer-gray-800) !important;
3276
+ }
3277
+
3255
3278
  .\[\&_\[data-title\]\]\:univer-text-sm [data-title] {
3256
3279
  font-size: .875rem;
3257
3280
  line-height: 1.25rem;
@@ -3356,10 +3379,6 @@
3356
3379
  border-color: var(--univer-gray-200);
3357
3380
  }
3358
3381
 
3359
- .\[\&_input\]\:univer-border-gray-600 input {
3360
- border-color: var(--univer-gray-600);
3361
- }
3362
-
3363
3382
  .\[\&_input\]\:univer-bg-transparent input {
3364
3383
  background-color: #0000;
3365
3384
  }
@@ -3379,10 +3398,6 @@
3379
3398
  line-height: 1.25rem;
3380
3399
  }
3381
3400
 
3382
- .\[\&_input\]\:univer-text-gray-0 input {
3383
- color: var(--univer-gray-0);
3384
- }
3385
-
3386
3401
  .\[\&_input\]\:univer-text-gray-700 input {
3387
3402
  color: var(--univer-gray-700);
3388
3403
  }
@@ -3392,6 +3407,14 @@
3392
3407
  outline: 2px solid #0000;
3393
3408
  }
3394
3409
 
3410
+ .dark\:\[\&_input\]\:\!univer-border-gray-600 input:where(.univer-dark, .univer-dark *) {
3411
+ border-color: var(--univer-gray-600) !important;
3412
+ }
3413
+
3414
+ .dark\:\[\&_input\]\:\!univer-text-gray-0 input:where(.univer-dark, .univer-dark *) {
3415
+ color: var(--univer-gray-0) !important;
3416
+ }
3417
+
3395
3418
  .\[\&_svg\]\:univer-pointer-events-none svg {
3396
3419
  pointer-events: none;
3397
3420
  }
@@ -3442,10 +3465,6 @@
3442
3465
  bottom: 0;
3443
3466
  }
3444
3467
 
3445
- .univer-bottom-2 {
3446
- bottom: .5rem;
3447
- }
3448
-
3449
3468
  .univer-bottom-4 {
3450
3469
  bottom: 1rem;
3451
3470
  }
@@ -3462,22 +3481,18 @@
3462
3481
  left: 5px;
3463
3482
  }
3464
3483
 
3465
- .univer-top-0 {
3466
- top: 0;
3484
+ .univer-start-0 {
3485
+ left: 0;
3467
3486
  }
3468
3487
 
3469
- .univer-top-1\.5 {
3470
- top: .375rem;
3488
+ .univer-top-0 {
3489
+ top: 0;
3471
3490
  }
3472
3491
 
3473
3492
  .univer-top-1\/2 {
3474
3493
  top: 50%;
3475
3494
  }
3476
3495
 
3477
- .univer-top-2 {
3478
- top: .5rem;
3479
- }
3480
-
3481
3496
  .univer-top-\[5px\] {
3482
3497
  top: 5px;
3483
3498
  }
@@ -3528,6 +3543,10 @@
3528
3543
  margin-bottom: .25rem;
3529
3544
  }
3530
3545
 
3546
+ .univer-mb-2 {
3547
+ margin-bottom: .5rem;
3548
+ }
3549
+
3531
3550
  .univer-mb-3 {
3532
3551
  margin-bottom: .75rem;
3533
3552
  }
@@ -3536,14 +3555,14 @@
3536
3555
  margin-bottom: 1rem;
3537
3556
  }
3538
3557
 
3539
- .univer-ml-3 {
3540
- margin-left: .75rem;
3541
- }
3542
-
3543
3558
  .univer-mr-1 {
3544
3559
  margin-right: .25rem;
3545
3560
  }
3546
3561
 
3562
+ .univer-ms-4 {
3563
+ margin-left: 1rem;
3564
+ }
3565
+
3547
3566
  .univer-mt-1\.5 {
3548
3567
  margin-top: .375rem;
3549
3568
  }
@@ -3652,11 +3671,6 @@
3652
3671
  height: 1.75rem;
3653
3672
  }
3654
3673
 
3655
- .univer-size-8 {
3656
- width: 2rem;
3657
- height: 2rem;
3658
- }
3659
-
3660
3674
  .univer-size-9 {
3661
3675
  width: 2.25rem;
3662
3676
  height: 2.25rem;
@@ -3743,10 +3757,6 @@
3743
3757
  min-height: 2rem;
3744
3758
  }
3745
3759
 
3746
- .univer-w-0\.5 {
3747
- width: .125rem;
3748
- }
3749
-
3750
3760
  .univer-w-10 {
3751
3761
  width: 2.5rem;
3752
3762
  }
@@ -3863,6 +3873,10 @@
3863
3873
  cursor: pointer;
3864
3874
  }
3865
3875
 
3876
+ .univer-select-none {
3877
+ user-select: none;
3878
+ }
3879
+
3866
3880
  .univer-list-none {
3867
3881
  list-style-type: none;
3868
3882
  }
@@ -4115,10 +4129,6 @@
4115
4129
  background-color: var(--univer-gray-50);
4116
4130
  }
4117
4131
 
4118
- .univer-bg-gray-700 {
4119
- background-color: var(--univer-gray-700);
4120
- }
4121
-
4122
4132
  .univer-bg-primary-100 {
4123
4133
  background-color: var(--univer-primary-100);
4124
4134
  }
@@ -4171,11 +4181,6 @@
4171
4181
  padding-right: .5rem;
4172
4182
  }
4173
4183
 
4174
- .univer-px-3 {
4175
- padding-left: .75rem;
4176
- padding-right: .75rem;
4177
- }
4178
-
4179
4184
  .univer-px-4 {
4180
4185
  padding-left: 1rem;
4181
4186
  padding-right: 1rem;
@@ -4215,14 +4220,14 @@
4215
4220
  padding-bottom: .125rem;
4216
4221
  }
4217
4222
 
4218
- .univer-pb-1 {
4219
- padding-bottom: .25rem;
4220
- }
4221
-
4222
4223
  .univer-pb-2 {
4223
4224
  padding-bottom: .5rem;
4224
4225
  }
4225
4226
 
4227
+ .univer-pe-2 {
4228
+ padding-right: .5rem;
4229
+ }
4230
+
4226
4231
  .univer-pl-1\.5 {
4227
4232
  padding-left: .375rem;
4228
4233
  }
@@ -4235,10 +4240,6 @@
4235
4240
  padding-left: 1rem;
4236
4241
  }
4237
4242
 
4238
- .univer-pr-12 {
4239
- padding-right: 3rem;
4240
- }
4241
-
4242
4243
  .univer-pr-2 {
4243
4244
  padding-right: .5rem;
4244
4245
  }
@@ -4247,12 +4248,12 @@
4247
4248
  padding-top: .375rem;
4248
4249
  }
4249
4250
 
4250
- .univer-pt-2 {
4251
- padding-top: .5rem;
4251
+ .univer-pt-10 {
4252
+ padding-top: 2.5rem;
4252
4253
  }
4253
4254
 
4254
- .univer-text-left {
4255
- text-align: left;
4255
+ .univer-pt-2 {
4256
+ padding-top: .5rem;
4256
4257
  }
4257
4258
 
4258
4259
  .univer-text-center {
@@ -4333,6 +4334,10 @@
4333
4334
  line-height: 1;
4334
4335
  }
4335
4336
 
4337
+ .\!univer-text-gray-500 {
4338
+ color: var(--univer-gray-500) !important;
4339
+ }
4340
+
4336
4341
  .\!univer-text-gray-600 {
4337
4342
  color: var(--univer-gray-600) !important;
4338
4343
  }
@@ -4345,10 +4350,6 @@
4345
4350
  color: var(--univer-gray-100);
4346
4351
  }
4347
4352
 
4348
- .univer-text-gray-300 {
4349
- color: var(--univer-gray-300);
4350
- }
4351
-
4352
4353
  .univer-text-gray-400 {
4353
4354
  color: var(--univer-gray-400);
4354
4355
  }
@@ -4373,12 +4374,12 @@
4373
4374
  color: var(--univer-gray-900);
4374
4375
  }
4375
4376
 
4376
- .univer-text-primary-600 {
4377
- color: var(--univer-primary-600);
4377
+ .univer-text-primary-400 {
4378
+ color: var(--univer-primary-400);
4378
4379
  }
4379
4380
 
4380
- .univer-text-primary-700 {
4381
- color: var(--univer-primary-700);
4381
+ .univer-text-primary-600 {
4382
+ color: var(--univer-primary-600);
4382
4383
  }
4383
4384
 
4384
4385
  .univer-text-violet-500 {
@@ -4453,16 +4454,12 @@
4453
4454
  border-color: var(--univer-primary-500);
4454
4455
  }
4455
4456
 
4456
- .hover\:univer-bg-gray-100:hover {
4457
- background-color: var(--univer-gray-100);
4458
- }
4459
-
4460
4457
  .hover\:univer-bg-gray-50:hover {
4461
4458
  background-color: var(--univer-gray-50);
4462
4459
  }
4463
4460
 
4464
- .hover\:univer-bg-primary-50:hover {
4465
- background-color: var(--univer-primary-50);
4461
+ .hover\:\!univer-text-gray-900:hover {
4462
+ color: var(--univer-gray-900) !important;
4466
4463
  }
4467
4464
 
4468
4465
  .hover\:univer-text-gray-900:hover {
@@ -4551,10 +4548,6 @@
4551
4548
  border-color: var(--univer-gray-700) !important;
4552
4549
  }
4553
4550
 
4554
- .dark\:univer-border-gray-700:where(.univer-dark, .univer-dark *) {
4555
- border-color: var(--univer-gray-700);
4556
- }
4557
-
4558
4551
  .dark\:\!univer-bg-gray-500:where(.univer-dark, .univer-dark *) {
4559
4552
  background-color: var(--univer-gray-500) !important;
4560
4553
  }
@@ -4591,10 +4584,6 @@
4591
4584
  background-color: var(--univer-gray-900);
4592
4585
  }
4593
4586
 
4594
- .dark\:univer-bg-primary-400:where(.univer-dark, .univer-dark *) {
4595
- background-color: var(--univer-primary-400);
4596
- }
4597
-
4598
4587
  .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
4599
4588
  color: var(--univer-gray-0) !important;
4600
4589
  }
@@ -4619,10 +4608,6 @@
4619
4608
  color: var(--univer-primary-400) !important;
4620
4609
  }
4621
4610
 
4622
- .dark\:univer-text-gray-100:where(.univer-dark, .univer-dark *) {
4623
- color: var(--univer-gray-100);
4624
- }
4625
-
4626
4611
  .dark\:univer-text-gray-200:where(.univer-dark, .univer-dark *) {
4627
4612
  color: var(--univer-gray-200);
4628
4613
  }
@@ -4635,8 +4620,8 @@
4635
4620
  color: var(--univer-gray-400);
4636
4621
  }
4637
4622
 
4638
- .dark\:univer-text-primary-200:where(.univer-dark, .univer-dark *) {
4639
- color: var(--univer-primary-200);
4623
+ .dark\:univer-text-primary-400:where(.univer-dark, .univer-dark *) {
4624
+ color: var(--univer-primary-400);
4640
4625
  }
4641
4626
 
4642
4627
  @media (hover: hover) and (pointer: fine) {
@@ -4648,12 +4633,12 @@
4648
4633
  background-color: var(--univer-gray-800) !important;
4649
4634
  }
4650
4635
 
4651
- .dark\:hover\:univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
4652
- background-color: var(--univer-gray-700);
4636
+ .dark\:hover\:\!univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
4637
+ color: var(--univer-gray-100) !important;
4653
4638
  }
4654
4639
 
4655
- .dark\:hover\:univer-bg-gray-800:hover:where(.univer-dark, .univer-dark *) {
4656
- background-color: var(--univer-gray-800);
4640
+ .dark\:hover\:univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
4641
+ color: var(--univer-gray-100);
4657
4642
  }
4658
4643
  }
4659
4644
 
@@ -6201,6 +6186,10 @@
6201
6186
  min-width: 18rem;
6202
6187
  }
6203
6188
 
6189
+ .univer-min-w-px {
6190
+ min-width: 1px;
6191
+ }
6192
+
6204
6193
  .univer-max-w-36 {
6205
6194
  max-width: 9rem;
6206
6195
  }
@@ -7510,6 +7499,10 @@
7510
7499
  margin-bottom: 0;
7511
7500
  }
7512
7501
 
7502
+ .univer-mb-1 {
7503
+ margin-bottom: .25rem;
7504
+ }
7505
+
7513
7506
  .univer-ml-2 {
7514
7507
  margin-left: .5rem;
7515
7508
  }
@@ -7592,11 +7585,6 @@
7592
7585
  height: 1rem !important;
7593
7586
  }
7594
7587
 
7595
- .univer-size-1\.5 {
7596
- width: .375rem;
7597
- height: .375rem;
7598
- }
7599
-
7600
7588
  .univer-size-10 {
7601
7589
  width: 2.5rem;
7602
7590
  height: 2.5rem;
@@ -7657,6 +7645,14 @@
7657
7645
  height: 100%;
7658
7646
  }
7659
7647
 
7648
+ .\!univer-h-14 {
7649
+ height: 3.5rem !important;
7650
+ }
7651
+
7652
+ .\!univer-h-auto {
7653
+ height: auto !important;
7654
+ }
7655
+
7660
7656
  .univer-h-0 {
7661
7657
  height: 0;
7662
7658
  }
@@ -7693,6 +7689,10 @@
7693
7689
  height: .5rem;
7694
7690
  }
7695
7691
 
7692
+ .univer-h-3 {
7693
+ height: .75rem;
7694
+ }
7695
+
7696
7696
  .univer-h-4 {
7697
7697
  height: 1rem;
7698
7698
  }
@@ -7725,6 +7725,10 @@
7725
7725
  height: 340px;
7726
7726
  }
7727
7727
 
7728
+ .univer-h-\[73px\] {
7729
+ height: 73px;
7730
+ }
7731
+
7728
7732
  .univer-h-full {
7729
7733
  height: 100%;
7730
7734
  }
@@ -7753,6 +7757,10 @@
7753
7757
  min-height: 5rem;
7754
7758
  }
7755
7759
 
7760
+ .univer-min-h-7 {
7761
+ min-height: 1.75rem;
7762
+ }
7763
+
7756
7764
  .univer-min-h-8 {
7757
7765
  min-height: 2rem;
7758
7766
  }
@@ -7765,6 +7773,10 @@
7765
7773
  min-height: 100%;
7766
7774
  }
7767
7775
 
7776
+ .\!univer-w-14 {
7777
+ width: 3.5rem !important;
7778
+ }
7779
+
7768
7780
  .\!univer-w-full {
7769
7781
  width: 100% !important;
7770
7782
  }
@@ -7825,6 +7837,10 @@
7825
7837
  width: 2rem;
7826
7838
  }
7827
7839
 
7840
+ .univer-w-80 {
7841
+ width: 20rem;
7842
+ }
7843
+
7828
7844
  .univer-w-9 {
7829
7845
  width: 2.25rem;
7830
7846
  }
@@ -7909,6 +7925,10 @@
7909
7925
  max-width: 32%;
7910
7926
  }
7911
7927
 
7928
+ .univer-max-w-\[50\%\] {
7929
+ max-width: 50%;
7930
+ }
7931
+
7912
7932
  .univer-max-w-\[560px\] {
7913
7933
  max-width: 560px;
7914
7934
  }
@@ -8228,6 +8248,10 @@
8228
8248
  overflow: hidden;
8229
8249
  }
8230
8250
 
8251
+ .univer-whitespace-normal {
8252
+ white-space: normal;
8253
+ }
8254
+
8231
8255
  .univer-whitespace-nowrap {
8232
8256
  white-space: nowrap;
8233
8257
  }
@@ -8422,14 +8446,14 @@
8422
8446
  background-color: var(--univer-gray-300);
8423
8447
  }
8424
8448
 
8425
- .univer-bg-gray-400 {
8426
- background-color: var(--univer-gray-400);
8427
- }
8428
-
8429
8449
  .univer-bg-gray-50 {
8430
8450
  background-color: var(--univer-gray-50);
8431
8451
  }
8432
8452
 
8453
+ .univer-bg-gray-600 {
8454
+ background-color: var(--univer-gray-600);
8455
+ }
8456
+
8433
8457
  .univer-bg-gray-700 {
8434
8458
  background-color: var(--univer-gray-700);
8435
8459
  }
@@ -8442,6 +8466,10 @@
8442
8466
  background-color: var(--univer-primary-50);
8443
8467
  }
8444
8468
 
8469
+ .univer-bg-primary-500 {
8470
+ background-color: var(--univer-primary-500);
8471
+ }
8472
+
8445
8473
  .univer-bg-primary-600 {
8446
8474
  background-color: var(--univer-primary-600);
8447
8475
  }
@@ -8666,6 +8694,10 @@
8666
8694
  text-align: right;
8667
8695
  }
8668
8696
 
8697
+ .univer-text-start {
8698
+ text-align: left;
8699
+ }
8700
+
8669
8701
  .univer-font-sans {
8670
8702
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
8671
8703
  }
@@ -8768,6 +8800,10 @@
8768
8800
  color: var(--univer-gray-900);
8769
8801
  }
8770
8802
 
8803
+ .univer-text-inherit {
8804
+ color: inherit;
8805
+ }
8806
+
8771
8807
  .univer-text-primary-500 {
8772
8808
  color: var(--univer-primary-500);
8773
8809
  }
@@ -8780,11 +8816,6 @@
8780
8816
  color: var(--univer-primary-700);
8781
8817
  }
8782
8818
 
8783
- .univer-text-slate-200 {
8784
- --univer-tw-text-opacity: 1;
8785
- color: rgba(226, 232, 240, var(--univer-tw-text-opacity, 1));
8786
- }
8787
-
8788
8819
  .univer-underline {
8789
8820
  text-decoration-line: underline;
8790
8821
  }
@@ -8858,15 +8889,16 @@
8858
8889
  backdrop-filter: var(--univer-tw-backdrop-blur) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia);
8859
8890
  }
8860
8891
 
8861
- .univer-backdrop-blur-xl {
8862
- --univer-tw-backdrop-blur: blur(24px);
8863
- backdrop-filter: var(--univer-tw-backdrop-blur) var(--univer-tw-backdrop-brightness) var(--univer-tw-backdrop-contrast) var(--univer-tw-backdrop-grayscale) var(--univer-tw-backdrop-hue-rotate) var(--univer-tw-backdrop-invert) var(--univer-tw-backdrop-opacity) var(--univer-tw-backdrop-saturate) var(--univer-tw-backdrop-sepia);
8864
- }
8865
-
8866
8892
  .\!univer-transition-none {
8867
8893
  transition-property: none !important;
8868
8894
  }
8869
8895
 
8896
+ .univer-transition {
8897
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
8898
+ transition-duration: .15s;
8899
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
8900
+ }
8901
+
8870
8902
  .univer-transition-\[height\] {
8871
8903
  transition-property: height;
8872
8904
  transition-duration: .15s;
@@ -8987,6 +9019,14 @@
8987
9019
  opacity: .4;
8988
9020
  }
8989
9021
 
9022
+ .data-\[state\=open\]\:univer-bg-primary-50[data-state="open"] {
9023
+ background-color: var(--univer-primary-50);
9024
+ }
9025
+
9026
+ .data-\[state\=open\]\:univer-text-primary-600[data-state="open"] {
9027
+ color: var(--univer-primary-600);
9028
+ }
9029
+
8990
9030
  @media (hover: hover) and (pointer: fine) {
8991
9031
  .hover\:univer-border-primary-600:hover {
8992
9032
  border-color: var(--univer-primary-600);
@@ -9008,6 +9048,10 @@
9008
9048
  background-color: var(--univer-gray-50);
9009
9049
  }
9010
9050
 
9051
+ .hover\:univer-bg-primary-500:hover {
9052
+ background-color: var(--univer-primary-500);
9053
+ }
9054
+
9011
9055
  .hover\:univer-bg-transparent:hover {
9012
9056
  background-color: #0000;
9013
9057
  }
@@ -9032,14 +9076,14 @@
9032
9076
  }
9033
9077
  }
9034
9078
 
9035
- .focus\:univer-bg-gray-0:focus {
9036
- background-color: var(--univer-gray-0);
9037
- }
9038
-
9039
9079
  .focus\:univer-bg-gray-50:focus {
9040
9080
  background-color: var(--univer-gray-50);
9041
9081
  }
9042
9082
 
9083
+ .focus\:univer-bg-transparent:focus {
9084
+ background-color: #0000;
9085
+ }
9086
+
9043
9087
  .focus\:univer-outline-none:focus {
9044
9088
  outline-offset: 2px;
9045
9089
  outline: 2px solid #0000;
@@ -9052,6 +9096,10 @@
9052
9096
  box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
9053
9097
  }
9054
9098
 
9099
+ .focus\:univer-ring-primary-500:focus {
9100
+ --univer-tw-ring-color: var(--univer-primary-500);
9101
+ }
9102
+
9055
9103
  .focus-visible\:univer-outline-none:focus-visible {
9056
9104
  outline-offset: 2px;
9057
9105
  outline: 2px solid #0000;
@@ -9099,6 +9147,10 @@
9099
9147
  background-color: var(--univer-gray-200);
9100
9148
  }
9101
9149
 
9150
+ .active\:univer-bg-primary-500:active {
9151
+ background-color: var(--univer-primary-500);
9152
+ }
9153
+
9102
9154
  .enabled\:active\:univer-scale-\[0\.98\]:active:enabled {
9103
9155
  --univer-tw-scale-x: .98;
9104
9156
  --univer-tw-scale-y: .98;
@@ -9198,6 +9250,10 @@
9198
9250
  border-bottom-right-radius: 0;
9199
9251
  }
9200
9252
 
9253
+ .rtl\:univer-pl-0:where([dir="rtl"], [dir="rtl"] *) {
9254
+ padding-left: 0;
9255
+ }
9256
+
9201
9257
  .rtl\:univer-pl-1\.5:where([dir="rtl"], [dir="rtl"] *) {
9202
9258
  padding-left: .375rem;
9203
9259
  }
@@ -9222,12 +9278,16 @@
9222
9278
  border-color: var(--univer-gray-700) !important;
9223
9279
  }
9224
9280
 
9225
- .dark\:\!univer-bg-gray-200:where(.univer-dark, .univer-dark *) {
9226
- background-color: var(--univer-gray-200) !important;
9281
+ .dark\:\!univer-border-gray-800:where(.univer-dark, .univer-dark *) {
9282
+ border-color: var(--univer-gray-800) !important;
9227
9283
  }
9228
9284
 
9229
- .dark\:\!univer-bg-gray-300:where(.univer-dark, .univer-dark *) {
9230
- background-color: var(--univer-gray-300) !important;
9285
+ .dark\:\!univer-bg-gray-100:where(.univer-dark, .univer-dark *) {
9286
+ background-color: var(--univer-gray-100) !important;
9287
+ }
9288
+
9289
+ .dark\:\!univer-bg-gray-200:where(.univer-dark, .univer-dark *) {
9290
+ background-color: var(--univer-gray-200) !important;
9231
9291
  }
9232
9292
 
9233
9293
  .dark\:\!univer-bg-gray-500:where(.univer-dark, .univer-dark *) {
@@ -9313,6 +9373,14 @@
9313
9373
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow) !important;
9314
9374
  }
9315
9375
 
9376
+ .dark\:data-\[state\=open\]\:\!univer-bg-gray-700[data-state="open"]:where(.univer-dark, .univer-dark *) {
9377
+ background-color: var(--univer-gray-700) !important;
9378
+ }
9379
+
9380
+ .dark\:data-\[state\=open\]\:\!univer-text-primary-300[data-state="open"]:where(.univer-dark, .univer-dark *) {
9381
+ color: var(--univer-primary-300) !important;
9382
+ }
9383
+
9316
9384
  @media (hover: hover) and (pointer: fine) {
9317
9385
  .dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark, .univer-dark *) {
9318
9386
  background-color: var(--univer-gray-600) !important;
@@ -9347,14 +9415,18 @@
9347
9415
  background-color: var(--univer-gray-600) !important;
9348
9416
  }
9349
9417
 
9350
- .dark\:focus\:\!univer-bg-gray-800:focus:where(.univer-dark, .univer-dark *) {
9351
- background-color: var(--univer-gray-800) !important;
9352
- }
9353
-
9354
9418
  .dark\:focus\:\!univer-bg-gray-900:focus:where(.univer-dark, .univer-dark *) {
9355
9419
  background-color: var(--univer-gray-900) !important;
9356
9420
  }
9357
9421
 
9422
+ .dark\:focus\:\!univer-bg-transparent:focus:where(.univer-dark, .univer-dark *) {
9423
+ background-color: #0000 !important;
9424
+ }
9425
+
9426
+ .dark\:focus\:\!univer-ring-primary-300:focus:where(.univer-dark, .univer-dark *) {
9427
+ --univer-tw-ring-color: var(--univer-primary-300) !important;
9428
+ }
9429
+
9358
9430
  .dark\:active\:\!univer-bg-gray-600:active:where(.univer-dark, .univer-dark *) {
9359
9431
  background-color: var(--univer-gray-600) !important;
9360
9432
  }
@@ -9523,12 +9595,20 @@
9523
9595
  width: 100%;
9524
9596
  }
9525
9597
 
9598
+ .\[\&\>span\]\:univer-min-w-0 > span {
9599
+ min-width: 0;
9600
+ }
9601
+
9526
9602
  .\[\&\>span\]\:univer-truncate > span {
9527
9603
  text-overflow: ellipsis;
9528
9604
  white-space: nowrap;
9529
9605
  overflow: hidden;
9530
9606
  }
9531
9607
 
9608
+ .\[\&\>span\]\:univer-whitespace-normal > span {
9609
+ white-space: normal;
9610
+ }
9611
+
9532
9612
  .\[\&\>span\]\:univer-text-base > span {
9533
9613
  font-size: 1rem;
9534
9614
  line-height: 1.5rem;
@@ -9788,6 +9868,10 @@
9788
9868
  outline: 2px solid #0000 !important;
9789
9869
  }
9790
9870
 
9871
+ .\[\&_button\]\:\!\[font-family\:inherit\] button {
9872
+ font-family: inherit !important;
9873
+ }
9874
+
9791
9875
  .\[\&_button_svg\]\:\!univer-size-5 button svg {
9792
9876
  width: 1.25rem !important;
9793
9877
  height: 1.25rem !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-core",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "description": "Preset for core Univer Sheets spreadsheet features.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,28 +61,28 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs/design": "1.1.0",
65
- "@univerjs/docs": "1.1.0",
66
- "@univerjs/docs-ui": "1.1.0",
67
- "@univerjs/engine-formula": "1.1.0",
68
- "@univerjs/engine-render": "1.1.0",
69
- "@univerjs/network": "1.1.0",
70
- "@univerjs/rpc": "1.1.0",
71
- "@univerjs/sheets": "1.1.0",
72
- "@univerjs/sheets-formula": "1.1.0",
73
- "@univerjs/sheets-formula-ui": "1.1.0",
74
- "@univerjs/sheets-numfmt": "1.1.0",
75
- "@univerjs/sheets-numfmt-ui": "1.1.0",
76
- "@univerjs/sheets-ui": "1.1.0",
77
- "@univerjs/ui": "1.1.0"
64
+ "@univerjs/design": "1.3.0",
65
+ "@univerjs/docs": "1.3.0",
66
+ "@univerjs/docs-ui": "1.3.0",
67
+ "@univerjs/engine-formula": "1.3.0",
68
+ "@univerjs/engine-render": "1.3.0",
69
+ "@univerjs/network": "1.3.0",
70
+ "@univerjs/rpc": "1.3.0",
71
+ "@univerjs/sheets": "1.3.0",
72
+ "@univerjs/sheets-formula": "1.3.0",
73
+ "@univerjs/sheets-formula-ui": "1.3.0",
74
+ "@univerjs/sheets-numfmt": "1.3.0",
75
+ "@univerjs/sheets-numfmt-ui": "1.3.0",
76
+ "@univerjs/sheets-ui": "1.3.0",
77
+ "@univerjs/ui": "1.3.0"
78
78
  },
79
79
  "devDependencies": {
80
- "@univerjs-infra/shared": "1.1.0",
81
- "@univerjs/core": "1.1.0",
82
- "@univerjs/presets": "1.1.0",
80
+ "@univerjs-infra/shared": "1.3.0",
81
+ "@univerjs/core": "1.3.0",
82
+ "@univerjs/presets": "1.3.0",
83
83
  "react": "18.3.1",
84
84
  "react-dom": "18.3.1",
85
- "rxjs": "^7.8.2",
85
+ "rxjs": "7.8.2",
86
86
  "typescript": "^6.0.3"
87
87
  },
88
88
  "scripts": {