@univerjs/preset-docs-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 +233 -153
  2. package/package.json +12 -12
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
 
@@ -4902,6 +4887,10 @@
4902
4887
  margin-bottom: 0;
4903
4888
  }
4904
4889
 
4890
+ .univer-mb-1 {
4891
+ margin-bottom: .25rem;
4892
+ }
4893
+
4905
4894
  .univer-ml-2 {
4906
4895
  margin-left: .5rem;
4907
4896
  }
@@ -4984,11 +4973,6 @@
4984
4973
  height: 1rem !important;
4985
4974
  }
4986
4975
 
4987
- .univer-size-1\.5 {
4988
- width: .375rem;
4989
- height: .375rem;
4990
- }
4991
-
4992
4976
  .univer-size-10 {
4993
4977
  width: 2.5rem;
4994
4978
  height: 2.5rem;
@@ -5049,6 +5033,14 @@
5049
5033
  height: 100%;
5050
5034
  }
5051
5035
 
5036
+ .\!univer-h-14 {
5037
+ height: 3.5rem !important;
5038
+ }
5039
+
5040
+ .\!univer-h-auto {
5041
+ height: auto !important;
5042
+ }
5043
+
5052
5044
  .univer-h-0 {
5053
5045
  height: 0;
5054
5046
  }
@@ -5085,6 +5077,10 @@
5085
5077
  height: .5rem;
5086
5078
  }
5087
5079
 
5080
+ .univer-h-3 {
5081
+ height: .75rem;
5082
+ }
5083
+
5088
5084
  .univer-h-4 {
5089
5085
  height: 1rem;
5090
5086
  }
@@ -5117,6 +5113,10 @@
5117
5113
  height: 340px;
5118
5114
  }
5119
5115
 
5116
+ .univer-h-\[73px\] {
5117
+ height: 73px;
5118
+ }
5119
+
5120
5120
  .univer-h-full {
5121
5121
  height: 100%;
5122
5122
  }
@@ -5145,6 +5145,10 @@
5145
5145
  min-height: 5rem;
5146
5146
  }
5147
5147
 
5148
+ .univer-min-h-7 {
5149
+ min-height: 1.75rem;
5150
+ }
5151
+
5148
5152
  .univer-min-h-8 {
5149
5153
  min-height: 2rem;
5150
5154
  }
@@ -5157,6 +5161,10 @@
5157
5161
  min-height: 100%;
5158
5162
  }
5159
5163
 
5164
+ .\!univer-w-14 {
5165
+ width: 3.5rem !important;
5166
+ }
5167
+
5160
5168
  .\!univer-w-full {
5161
5169
  width: 100% !important;
5162
5170
  }
@@ -5217,6 +5225,10 @@
5217
5225
  width: 2rem;
5218
5226
  }
5219
5227
 
5228
+ .univer-w-80 {
5229
+ width: 20rem;
5230
+ }
5231
+
5220
5232
  .univer-w-9 {
5221
5233
  width: 2.25rem;
5222
5234
  }
@@ -5301,6 +5313,10 @@
5301
5313
  max-width: 32%;
5302
5314
  }
5303
5315
 
5316
+ .univer-max-w-\[50\%\] {
5317
+ max-width: 50%;
5318
+ }
5319
+
5304
5320
  .univer-max-w-\[560px\] {
5305
5321
  max-width: 560px;
5306
5322
  }
@@ -5620,6 +5636,10 @@
5620
5636
  overflow: hidden;
5621
5637
  }
5622
5638
 
5639
+ .univer-whitespace-normal {
5640
+ white-space: normal;
5641
+ }
5642
+
5623
5643
  .univer-whitespace-nowrap {
5624
5644
  white-space: nowrap;
5625
5645
  }
@@ -5814,14 +5834,14 @@
5814
5834
  background-color: var(--univer-gray-300);
5815
5835
  }
5816
5836
 
5817
- .univer-bg-gray-400 {
5818
- background-color: var(--univer-gray-400);
5819
- }
5820
-
5821
5837
  .univer-bg-gray-50 {
5822
5838
  background-color: var(--univer-gray-50);
5823
5839
  }
5824
5840
 
5841
+ .univer-bg-gray-600 {
5842
+ background-color: var(--univer-gray-600);
5843
+ }
5844
+
5825
5845
  .univer-bg-gray-700 {
5826
5846
  background-color: var(--univer-gray-700);
5827
5847
  }
@@ -5834,6 +5854,10 @@
5834
5854
  background-color: var(--univer-primary-50);
5835
5855
  }
5836
5856
 
5857
+ .univer-bg-primary-500 {
5858
+ background-color: var(--univer-primary-500);
5859
+ }
5860
+
5837
5861
  .univer-bg-primary-600 {
5838
5862
  background-color: var(--univer-primary-600);
5839
5863
  }
@@ -6058,6 +6082,10 @@
6058
6082
  text-align: right;
6059
6083
  }
6060
6084
 
6085
+ .univer-text-start {
6086
+ text-align: left;
6087
+ }
6088
+
6061
6089
  .univer-font-sans {
6062
6090
  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;
6063
6091
  }
@@ -6160,6 +6188,10 @@
6160
6188
  color: var(--univer-gray-900);
6161
6189
  }
6162
6190
 
6191
+ .univer-text-inherit {
6192
+ color: inherit;
6193
+ }
6194
+
6163
6195
  .univer-text-primary-500 {
6164
6196
  color: var(--univer-primary-500);
6165
6197
  }
@@ -6172,11 +6204,6 @@
6172
6204
  color: var(--univer-primary-700);
6173
6205
  }
6174
6206
 
6175
- .univer-text-slate-200 {
6176
- --univer-tw-text-opacity: 1;
6177
- color: rgba(226, 232, 240, var(--univer-tw-text-opacity, 1));
6178
- }
6179
-
6180
6207
  .univer-underline {
6181
6208
  text-decoration-line: underline;
6182
6209
  }
@@ -6250,15 +6277,16 @@
6250
6277
  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);
6251
6278
  }
6252
6279
 
6253
- .univer-backdrop-blur-xl {
6254
- --univer-tw-backdrop-blur: blur(24px);
6255
- 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);
6256
- }
6257
-
6258
6280
  .\!univer-transition-none {
6259
6281
  transition-property: none !important;
6260
6282
  }
6261
6283
 
6284
+ .univer-transition {
6285
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
6286
+ transition-duration: .15s;
6287
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
6288
+ }
6289
+
6262
6290
  .univer-transition-\[height\] {
6263
6291
  transition-property: height;
6264
6292
  transition-duration: .15s;
@@ -6379,6 +6407,14 @@
6379
6407
  opacity: .4;
6380
6408
  }
6381
6409
 
6410
+ .data-\[state\=open\]\:univer-bg-primary-50[data-state="open"] {
6411
+ background-color: var(--univer-primary-50);
6412
+ }
6413
+
6414
+ .data-\[state\=open\]\:univer-text-primary-600[data-state="open"] {
6415
+ color: var(--univer-primary-600);
6416
+ }
6417
+
6382
6418
  @media (hover: hover) and (pointer: fine) {
6383
6419
  .hover\:univer-border-primary-600:hover {
6384
6420
  border-color: var(--univer-primary-600);
@@ -6400,6 +6436,10 @@
6400
6436
  background-color: var(--univer-gray-50);
6401
6437
  }
6402
6438
 
6439
+ .hover\:univer-bg-primary-500:hover {
6440
+ background-color: var(--univer-primary-500);
6441
+ }
6442
+
6403
6443
  .hover\:univer-bg-transparent:hover {
6404
6444
  background-color: #0000;
6405
6445
  }
@@ -6424,14 +6464,14 @@
6424
6464
  }
6425
6465
  }
6426
6466
 
6427
- .focus\:univer-bg-gray-0:focus {
6428
- background-color: var(--univer-gray-0);
6429
- }
6430
-
6431
6467
  .focus\:univer-bg-gray-50:focus {
6432
6468
  background-color: var(--univer-gray-50);
6433
6469
  }
6434
6470
 
6471
+ .focus\:univer-bg-transparent:focus {
6472
+ background-color: #0000;
6473
+ }
6474
+
6435
6475
  .focus\:univer-outline-none:focus {
6436
6476
  outline-offset: 2px;
6437
6477
  outline: 2px solid #0000;
@@ -6444,6 +6484,10 @@
6444
6484
  box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
6445
6485
  }
6446
6486
 
6487
+ .focus\:univer-ring-primary-500:focus {
6488
+ --univer-tw-ring-color: var(--univer-primary-500);
6489
+ }
6490
+
6447
6491
  .focus-visible\:univer-outline-none:focus-visible {
6448
6492
  outline-offset: 2px;
6449
6493
  outline: 2px solid #0000;
@@ -6491,6 +6535,10 @@
6491
6535
  background-color: var(--univer-gray-200);
6492
6536
  }
6493
6537
 
6538
+ .active\:univer-bg-primary-500:active {
6539
+ background-color: var(--univer-primary-500);
6540
+ }
6541
+
6494
6542
  .enabled\:active\:univer-scale-\[0\.98\]:active:enabled {
6495
6543
  --univer-tw-scale-x: .98;
6496
6544
  --univer-tw-scale-y: .98;
@@ -6590,6 +6638,10 @@
6590
6638
  border-bottom-right-radius: 0;
6591
6639
  }
6592
6640
 
6641
+ .rtl\:univer-pl-0:where([dir="rtl"], [dir="rtl"] *) {
6642
+ padding-left: 0;
6643
+ }
6644
+
6593
6645
  .rtl\:univer-pl-1\.5:where([dir="rtl"], [dir="rtl"] *) {
6594
6646
  padding-left: .375rem;
6595
6647
  }
@@ -6614,12 +6666,16 @@
6614
6666
  border-color: var(--univer-gray-700) !important;
6615
6667
  }
6616
6668
 
6617
- .dark\:\!univer-bg-gray-200:where(.univer-dark, .univer-dark *) {
6618
- background-color: var(--univer-gray-200) !important;
6669
+ .dark\:\!univer-border-gray-800:where(.univer-dark, .univer-dark *) {
6670
+ border-color: var(--univer-gray-800) !important;
6671
+ }
6672
+
6673
+ .dark\:\!univer-bg-gray-100:where(.univer-dark, .univer-dark *) {
6674
+ background-color: var(--univer-gray-100) !important;
6619
6675
  }
6620
6676
 
6621
- .dark\:\!univer-bg-gray-300:where(.univer-dark, .univer-dark *) {
6622
- background-color: var(--univer-gray-300) !important;
6677
+ .dark\:\!univer-bg-gray-200:where(.univer-dark, .univer-dark *) {
6678
+ background-color: var(--univer-gray-200) !important;
6623
6679
  }
6624
6680
 
6625
6681
  .dark\:\!univer-bg-gray-500:where(.univer-dark, .univer-dark *) {
@@ -6705,6 +6761,14 @@
6705
6761
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow) !important;
6706
6762
  }
6707
6763
 
6764
+ .dark\:data-\[state\=open\]\:\!univer-bg-gray-700[data-state="open"]:where(.univer-dark, .univer-dark *) {
6765
+ background-color: var(--univer-gray-700) !important;
6766
+ }
6767
+
6768
+ .dark\:data-\[state\=open\]\:\!univer-text-primary-300[data-state="open"]:where(.univer-dark, .univer-dark *) {
6769
+ color: var(--univer-primary-300) !important;
6770
+ }
6771
+
6708
6772
  @media (hover: hover) and (pointer: fine) {
6709
6773
  .dark\:hover\:\!univer-bg-gray-600:hover:where(.univer-dark, .univer-dark *) {
6710
6774
  background-color: var(--univer-gray-600) !important;
@@ -6739,14 +6803,18 @@
6739
6803
  background-color: var(--univer-gray-600) !important;
6740
6804
  }
6741
6805
 
6742
- .dark\:focus\:\!univer-bg-gray-800:focus:where(.univer-dark, .univer-dark *) {
6743
- background-color: var(--univer-gray-800) !important;
6744
- }
6745
-
6746
6806
  .dark\:focus\:\!univer-bg-gray-900:focus:where(.univer-dark, .univer-dark *) {
6747
6807
  background-color: var(--univer-gray-900) !important;
6748
6808
  }
6749
6809
 
6810
+ .dark\:focus\:\!univer-bg-transparent:focus:where(.univer-dark, .univer-dark *) {
6811
+ background-color: #0000 !important;
6812
+ }
6813
+
6814
+ .dark\:focus\:\!univer-ring-primary-300:focus:where(.univer-dark, .univer-dark *) {
6815
+ --univer-tw-ring-color: var(--univer-primary-300) !important;
6816
+ }
6817
+
6750
6818
  .dark\:active\:\!univer-bg-gray-600:active:where(.univer-dark, .univer-dark *) {
6751
6819
  background-color: var(--univer-gray-600) !important;
6752
6820
  }
@@ -6915,12 +6983,20 @@
6915
6983
  width: 100%;
6916
6984
  }
6917
6985
 
6986
+ .\[\&\>span\]\:univer-min-w-0 > span {
6987
+ min-width: 0;
6988
+ }
6989
+
6918
6990
  .\[\&\>span\]\:univer-truncate > span {
6919
6991
  text-overflow: ellipsis;
6920
6992
  white-space: nowrap;
6921
6993
  overflow: hidden;
6922
6994
  }
6923
6995
 
6996
+ .\[\&\>span\]\:univer-whitespace-normal > span {
6997
+ white-space: normal;
6998
+ }
6999
+
6924
7000
  .\[\&\>span\]\:univer-text-base > span {
6925
7001
  font-size: 1rem;
6926
7002
  line-height: 1.5rem;
@@ -7180,6 +7256,10 @@
7180
7256
  outline: 2px solid #0000 !important;
7181
7257
  }
7182
7258
 
7259
+ .\[\&_button\]\:\!\[font-family\:inherit\] button {
7260
+ font-family: inherit !important;
7261
+ }
7262
+
7183
7263
  .\[\&_button_svg\]\:\!univer-size-5 button svg {
7184
7264
  width: 1.25rem !important;
7185
7265
  height: 1.25rem !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-docs-core",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "description": "Preset for core Univer Docs editing and UI features.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -56,21 +56,21 @@
56
56
  "rxjs": ">=7.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@univerjs/design": "1.1.0",
60
- "@univerjs/docs": "1.1.0",
61
- "@univerjs/docs-ui": "1.1.0",
62
- "@univerjs/engine-formula": "1.1.0",
63
- "@univerjs/engine-render": "1.1.0",
64
- "@univerjs/network": "1.1.0",
65
- "@univerjs/ui": "1.1.0"
59
+ "@univerjs/design": "1.3.0",
60
+ "@univerjs/docs": "1.3.0",
61
+ "@univerjs/docs-ui": "1.3.0",
62
+ "@univerjs/engine-formula": "1.3.0",
63
+ "@univerjs/engine-render": "1.3.0",
64
+ "@univerjs/network": "1.3.0",
65
+ "@univerjs/ui": "1.3.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@univerjs-infra/shared": "1.1.0",
69
- "@univerjs/core": "1.1.0",
70
- "@univerjs/presets": "1.1.0",
68
+ "@univerjs-infra/shared": "1.3.0",
69
+ "@univerjs/core": "1.3.0",
70
+ "@univerjs/presets": "1.3.0",
71
71
  "react": "18.3.1",
72
72
  "react-dom": "18.3.1",
73
- "rxjs": "^7.8.2",
73
+ "rxjs": "7.8.2",
74
74
  "typescript": "^6.0.3"
75
75
  },
76
76
  "scripts": {