@univerjs/preset-docs-core 1.0.0-beta.0 → 1.0.0-beta.1

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 +320 -82
  2. package/package.json +11 -11
package/lib/index.css CHANGED
@@ -655,6 +655,12 @@
655
655
  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));
656
656
  }
657
657
 
658
+ .univer-rotate-90 {
659
+ --univer-tw-rotate: 90deg;
660
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(90deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
661
+ 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));
662
+ }
663
+
658
664
  .univer-rotate-\[-90deg\] {
659
665
  --univer-tw-rotate: -90deg;
660
666
  transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(-90deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
@@ -1038,6 +1044,10 @@
1038
1044
  border-color: var(--univer-gray-200) !important;
1039
1045
  }
1040
1046
 
1047
+ .univer-border-gray-0 {
1048
+ border-color: var(--univer-gray-0);
1049
+ }
1050
+
1041
1051
  .univer-border-gray-100 {
1042
1052
  border-color: var(--univer-gray-100);
1043
1053
  }
@@ -1074,10 +1084,6 @@
1074
1084
  border-color: #0000;
1075
1085
  }
1076
1086
 
1077
- .univer-border-white {
1078
- border-color: var(--univer-white);
1079
- }
1080
-
1081
1087
  .\!univer-bg-gray-500 {
1082
1088
  background-color: var(--univer-gray-500) !important;
1083
1089
  }
@@ -1100,6 +1106,10 @@
1100
1106
  background-color: #000c;
1101
1107
  }
1102
1108
 
1109
+ .univer-bg-gray-0 {
1110
+ background-color: var(--univer-gray-0);
1111
+ }
1112
+
1103
1113
  .univer-bg-gray-100 {
1104
1114
  background-color: var(--univer-gray-100);
1105
1115
  }
@@ -1156,10 +1166,6 @@
1156
1166
  background-color: #0000;
1157
1167
  }
1158
1168
 
1159
- .univer-bg-white {
1160
- background-color: var(--univer-white);
1161
- }
1162
-
1163
1169
  .univer-bg-gradient-to-br {
1164
1170
  background-image: linear-gradient(to bottom right, var(--univer-tw-gradient-stops));
1165
1171
  }
@@ -1472,6 +1478,10 @@
1472
1478
  letter-spacing: .1em;
1473
1479
  }
1474
1480
 
1481
+ .\!univer-text-gray-0 {
1482
+ color: var(--univer-gray-0) !important;
1483
+ }
1484
+
1475
1485
  .\!univer-text-gray-400 {
1476
1486
  color: var(--univer-gray-400) !important;
1477
1487
  }
@@ -1480,10 +1490,6 @@
1480
1490
  color: var(--univer-primary-500) !important;
1481
1491
  }
1482
1492
 
1483
- .\!univer-text-white {
1484
- color: var(--univer-white) !important;
1485
- }
1486
-
1487
1493
  .univer-text-amber-500 {
1488
1494
  --univer-tw-text-opacity: 1;
1489
1495
  color: rgba(245, 158, 11, var(--univer-tw-text-opacity, 1));
@@ -1498,6 +1504,10 @@
1498
1504
  color: rgba(14, 116, 144, var(--univer-tw-text-opacity, 1));
1499
1505
  }
1500
1506
 
1507
+ .univer-text-gray-0 {
1508
+ color: var(--univer-gray-0);
1509
+ }
1510
+
1501
1511
  .univer-text-gray-400 {
1502
1512
  color: var(--univer-gray-400);
1503
1513
  }
@@ -1578,10 +1588,6 @@
1578
1588
  color: rgba(139, 92, 246, var(--univer-tw-text-opacity, 1));
1579
1589
  }
1580
1590
 
1581
- .univer-text-white {
1582
- color: var(--univer-white);
1583
- }
1584
-
1585
1591
  .univer-underline-offset-4 {
1586
1592
  text-underline-offset: 4px;
1587
1593
  }
@@ -1668,6 +1674,10 @@
1668
1674
  --univer-tw-ring-color: var(--univer-primary-900) !important;
1669
1675
  }
1670
1676
 
1677
+ .univer-ring-gray-0 {
1678
+ --univer-tw-ring-color: var(--univer-gray-0);
1679
+ }
1680
+
1671
1681
  .univer-ring-primary-50 {
1672
1682
  --univer-tw-ring-color: var(--univer-primary-50);
1673
1683
  }
@@ -1676,10 +1686,6 @@
1676
1686
  --univer-tw-ring-color: var(--univer-primary-500);
1677
1687
  }
1678
1688
 
1679
- .univer-ring-white {
1680
- --univer-tw-ring-color: var(--univer-white);
1681
- }
1682
-
1683
1689
  .univer-ring-offset-2 {
1684
1690
  --univer-tw-ring-offset-width: 2px;
1685
1691
  }
@@ -1688,8 +1694,8 @@
1688
1694
  --univer-tw-ring-offset-color: var(--univer-gray-600) !important;
1689
1695
  }
1690
1696
 
1691
- .univer-ring-offset-white {
1692
- --univer-tw-ring-offset-color: var(--univer-white);
1697
+ .univer-ring-offset-gray-0 {
1698
+ --univer-tw-ring-offset-color: var(--univer-gray-0);
1693
1699
  }
1694
1700
 
1695
1701
  .univer-drop-shadow-sm {
@@ -2110,6 +2116,10 @@
2110
2116
  background-color: var(--univer-red-400);
2111
2117
  }
2112
2118
 
2119
+ .hover\:univer-text-gray-0:hover {
2120
+ color: var(--univer-gray-0);
2121
+ }
2122
+
2113
2123
  .hover\:univer-text-gray-500:hover {
2114
2124
  color: var(--univer-gray-500);
2115
2125
  }
@@ -2122,10 +2132,6 @@
2122
2132
  color: var(--univer-primary-500);
2123
2133
  }
2124
2134
 
2125
- .hover\:univer-text-white:hover {
2126
- color: var(--univer-white);
2127
- }
2128
-
2129
2135
  .hover\:univer-underline:hover {
2130
2136
  text-decoration-line: underline;
2131
2137
  }
@@ -2280,6 +2286,12 @@
2280
2286
  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));
2281
2287
  }
2282
2288
 
2289
+ .rtl\:univer-rotate-90:where([dir="rtl"], [dir="rtl"] *) {
2290
+ --univer-tw-rotate: 90deg;
2291
+ transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(90deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
2292
+ 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));
2293
+ }
2294
+
2283
2295
  .rtl\:univer-flex-row-reverse:where([dir="rtl"], [dir="rtl"] *) {
2284
2296
  flex-direction: row-reverse;
2285
2297
  }
@@ -2380,6 +2392,10 @@
2380
2392
  background-color: #0000 !important;
2381
2393
  }
2382
2394
 
2395
+ .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
2396
+ color: var(--univer-gray-0) !important;
2397
+ }
2398
+
2383
2399
  .dark\:\!univer-text-gray-100:where(.univer-dark, .univer-dark *) {
2384
2400
  color: var(--univer-gray-100) !important;
2385
2401
  }
@@ -2417,10 +2433,6 @@
2417
2433
  color: rgba(56, 189, 248, var(--univer-tw-text-opacity, 1)) !important;
2418
2434
  }
2419
2435
 
2420
- .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
2421
- color: var(--univer-white) !important;
2422
- }
2423
-
2424
2436
  .dark\:\!univer-ring-primary-600:where(.univer-dark, .univer-dark *) {
2425
2437
  --univer-tw-ring-color: var(--univer-primary-600) !important;
2426
2438
  }
@@ -2462,8 +2474,8 @@
2462
2474
  background-color: var(--univer-gray-700) !important;
2463
2475
  }
2464
2476
 
2465
- .dark\:hover\:\!univer-text-white:hover:where(.univer-dark, .univer-dark *) {
2466
- color: var(--univer-white) !important;
2477
+ .dark\:hover\:\!univer-text-gray-0:hover:where(.univer-dark, .univer-dark *) {
2478
+ color: var(--univer-gray-0) !important;
2467
2479
  }
2468
2480
 
2469
2481
  .dark\:focus\:\!univer-border-primary-500:focus:where(.univer-dark, .univer-dark *) {
@@ -2518,8 +2530,8 @@
2518
2530
  border-color: var(--univer-gray-600) !important;
2519
2531
  }
2520
2532
 
2521
- .dark\:\[\&\>input\]\:\!univer-text-white > input:where(.univer-dark, .univer-dark *) {
2522
- color: var(--univer-white) !important;
2533
+ .dark\:\[\&\>input\]\:\!univer-text-gray-0 > input:where(.univer-dark, .univer-dark *) {
2534
+ color: var(--univer-gray-0) !important;
2523
2535
  }
2524
2536
 
2525
2537
  .\[\&\>svg\]\:univer-block > svg {
@@ -2764,12 +2776,12 @@
2764
2776
  line-height: 1.25rem;
2765
2777
  }
2766
2778
 
2767
- .\[\&_input\]\:univer-text-gray-700 input {
2768
- color: var(--univer-gray-700);
2779
+ .\[\&_input\]\:univer-text-gray-0 input {
2780
+ color: var(--univer-gray-0);
2769
2781
  }
2770
2782
 
2771
- .\[\&_input\]\:univer-text-white input {
2772
- color: var(--univer-white);
2783
+ .\[\&_input\]\:univer-text-gray-700 input {
2784
+ color: var(--univer-gray-700);
2773
2785
  }
2774
2786
 
2775
2787
  .\[\&_input\]\:univer-outline-none input {
@@ -2845,6 +2857,10 @@
2845
2857
  z-index: 1019;
2846
2858
  }
2847
2859
 
2860
+ .univer-m-0 {
2861
+ margin: 0;
2862
+ }
2863
+
2848
2864
  .univer-my-1 {
2849
2865
  margin-top: .25rem;
2850
2866
  margin-bottom: .25rem;
@@ -2858,6 +2874,10 @@
2858
2874
  margin-bottom: .5rem;
2859
2875
  }
2860
2876
 
2877
+ .univer-mb-3 {
2878
+ margin-bottom: .75rem;
2879
+ }
2880
+
2861
2881
  .univer-mb-4 {
2862
2882
  margin-bottom: 1rem;
2863
2883
  }
@@ -2866,6 +2886,10 @@
2866
2886
  margin-right: .25rem;
2867
2887
  }
2868
2888
 
2889
+ .univer-mt-0\.5 {
2890
+ margin-top: .125rem;
2891
+ }
2892
+
2869
2893
  .univer-mt-1\.5 {
2870
2894
  margin-top: .375rem;
2871
2895
  }
@@ -2902,6 +2926,10 @@
2902
2926
  display: grid;
2903
2927
  }
2904
2928
 
2929
+ .univer-contents {
2930
+ display: contents;
2931
+ }
2932
+
2905
2933
  .univer-size-0\.5 {
2906
2934
  width: .125rem;
2907
2935
  height: .125rem;
@@ -2912,6 +2940,11 @@
2912
2940
  height: .75rem;
2913
2941
  }
2914
2942
 
2943
+ .univer-size-3\.5 {
2944
+ width: .875rem;
2945
+ height: .875rem;
2946
+ }
2947
+
2915
2948
  .univer-size-4 {
2916
2949
  width: 1rem;
2917
2950
  height: 1rem;
@@ -2932,10 +2965,18 @@
2932
2965
  height: 100%;
2933
2966
  }
2934
2967
 
2968
+ .\!univer-h-7 {
2969
+ height: 1.75rem !important;
2970
+ }
2971
+
2935
2972
  .univer-h-0\.5 {
2936
2973
  height: .125rem;
2937
2974
  }
2938
2975
 
2976
+ .univer-h-1 {
2977
+ height: .25rem;
2978
+ }
2979
+
2939
2980
  .univer-h-16 {
2940
2981
  height: 4rem;
2941
2982
  }
@@ -2980,10 +3021,18 @@
2980
3021
  width: 7rem;
2981
3022
  }
2982
3023
 
3024
+ .univer-w-3 {
3025
+ width: .75rem;
3026
+ }
3027
+
2983
3028
  .univer-w-4\/5 {
2984
3029
  width: 80%;
2985
3030
  }
2986
3031
 
3032
+ .univer-w-80 {
3033
+ width: 20rem;
3034
+ }
3035
+
2987
3036
  .univer-w-\[0px\] {
2988
3037
  width: 0;
2989
3038
  }
@@ -3020,6 +3069,16 @@
3020
3069
  flex-shrink: 0;
3021
3070
  }
3022
3071
 
3072
+ @keyframes univer-spin {
3073
+ to {
3074
+ transform: rotate(360deg);
3075
+ }
3076
+ }
3077
+
3078
+ .univer-animate-spin {
3079
+ animation: 1s linear infinite univer-spin;
3080
+ }
3081
+
3023
3082
  .univer-cursor-grab {
3024
3083
  cursor: grab;
3025
3084
  }
@@ -3040,6 +3099,14 @@
3040
3099
  grid-template-columns: repeat(4, minmax(0, 1fr));
3041
3100
  }
3042
3101
 
3102
+ .univer-grid-cols-\[1fr_auto\] {
3103
+ grid-template-columns: 1fr auto;
3104
+ }
3105
+
3106
+ .univer-grid-rows-4 {
3107
+ grid-template-rows: repeat(4, minmax(0, 1fr));
3108
+ }
3109
+
3043
3110
  .univer-flex-col {
3044
3111
  flex-direction: column;
3045
3112
  }
@@ -3076,6 +3143,10 @@
3076
3143
  gap: .25rem;
3077
3144
  }
3078
3145
 
3146
+ .univer-gap-1\.5 {
3147
+ gap: .375rem;
3148
+ }
3149
+
3079
3150
  .univer-gap-2 {
3080
3151
  gap: .5rem;
3081
3152
  }
@@ -3097,6 +3168,15 @@
3097
3168
  column-gap: .125rem;
3098
3169
  }
3099
3170
 
3171
+ .univer-gap-x-5 {
3172
+ -moz-column-gap: 1.25rem;
3173
+ column-gap: 1.25rem;
3174
+ }
3175
+
3176
+ .univer-gap-y-2 {
3177
+ row-gap: .5rem;
3178
+ }
3179
+
3100
3180
  .univer-gap-y-px {
3101
3181
  row-gap: 1px;
3102
3182
  }
@@ -3184,6 +3264,10 @@
3184
3264
  background-color: var(--univer-primary-900) !important;
3185
3265
  }
3186
3266
 
3267
+ .univer-bg-gray-0 {
3268
+ background-color: var(--univer-gray-0);
3269
+ }
3270
+
3187
3271
  .univer-bg-gray-100 {
3188
3272
  background-color: var(--univer-gray-100);
3189
3273
  }
@@ -3196,6 +3280,10 @@
3196
3280
  background-color: var(--univer-gray-400);
3197
3281
  }
3198
3282
 
3283
+ .univer-bg-gray-50 {
3284
+ background-color: var(--univer-gray-50);
3285
+ }
3286
+
3199
3287
  .univer-bg-primary-600 {
3200
3288
  background-color: var(--univer-primary-600);
3201
3289
  }
@@ -3204,10 +3292,6 @@
3204
3292
  background-color: #0000;
3205
3293
  }
3206
3294
 
3207
- .univer-bg-white {
3208
- background-color: var(--univer-white);
3209
- }
3210
-
3211
3295
  .univer-p-0 {
3212
3296
  padding: 0;
3213
3297
  }
@@ -3220,6 +3304,14 @@
3220
3304
  padding: .375rem;
3221
3305
  }
3222
3306
 
3307
+ .univer-p-2 {
3308
+ padding: .5rem;
3309
+ }
3310
+
3311
+ .univer-p-4 {
3312
+ padding: 1rem;
3313
+ }
3314
+
3223
3315
  .univer-px-2 {
3224
3316
  padding-left: .5rem;
3225
3317
  padding-right: .5rem;
@@ -3257,6 +3349,14 @@
3257
3349
  padding-left: .375rem;
3258
3350
  }
3259
3351
 
3352
+ .univer-pl-2 {
3353
+ padding-left: .5rem;
3354
+ }
3355
+
3356
+ .univer-pl-4 {
3357
+ padding-left: 1rem;
3358
+ }
3359
+
3260
3360
  .univer-pr-1 {
3261
3361
  padding-right: .25rem;
3262
3362
  }
@@ -3277,6 +3377,18 @@
3277
3377
  padding-top: .5rem;
3278
3378
  }
3279
3379
 
3380
+ .univer-text-center {
3381
+ text-align: center;
3382
+ }
3383
+
3384
+ .univer-text-right {
3385
+ text-align: right;
3386
+ }
3387
+
3388
+ .univer-text-\[10px\] {
3389
+ font-size: 10px;
3390
+ }
3391
+
3280
3392
  .univer-text-base {
3281
3393
  font-size: 1rem;
3282
3394
  line-height: 1.5rem;
@@ -3309,6 +3421,14 @@
3309
3421
  font-weight: 600;
3310
3422
  }
3311
3423
 
3424
+ .univer-tabular-nums {
3425
+ --univer-tw-numeric-spacing: tabular-nums;
3426
+ font-feature-settings: var(--univer-tw-ordinal) var(--univer-tw-slashed-zero) var(--univer-tw-numeric-figure) tabular-nums var(--univer-tw-numeric-fraction);
3427
+ font-feature-settings: var(--univer-tw-ordinal) var(--univer-tw-slashed-zero) var(--univer-tw-numeric-figure) var(--univer-tw-numeric-spacing) var(--univer-tw-numeric-fraction);
3428
+ font-variant-numeric: var(--univer-tw-ordinal) var(--univer-tw-slashed-zero) var(--univer-tw-numeric-figure) tabular-nums var(--univer-tw-numeric-fraction);
3429
+ font-variant-numeric: var(--univer-tw-ordinal) var(--univer-tw-slashed-zero) var(--univer-tw-numeric-figure) var(--univer-tw-numeric-spacing) var(--univer-tw-numeric-fraction);
3430
+ }
3431
+
3312
3432
  .univer-leading-5 {
3313
3433
  line-height: 1.25rem;
3314
3434
  }
@@ -3317,6 +3437,14 @@
3317
3437
  line-height: 24px;
3318
3438
  }
3319
3439
 
3440
+ .univer-leading-none {
3441
+ line-height: 1;
3442
+ }
3443
+
3444
+ .\!univer-text-gray-0 {
3445
+ color: var(--univer-gray-0) !important;
3446
+ }
3447
+
3320
3448
  .\!univer-text-gray-200 {
3321
3449
  color: var(--univer-gray-200) !important;
3322
3450
  }
@@ -3325,12 +3453,12 @@
3325
3453
  color: var(--univer-gray-400) !important;
3326
3454
  }
3327
3455
 
3328
- .\!univer-text-primary-600 {
3329
- color: var(--univer-primary-600) !important;
3456
+ .\!univer-text-gray-600 {
3457
+ color: var(--univer-gray-600) !important;
3330
3458
  }
3331
3459
 
3332
- .\!univer-text-white {
3333
- color: var(--univer-white) !important;
3460
+ .\!univer-text-primary-600 {
3461
+ color: var(--univer-primary-600) !important;
3334
3462
  }
3335
3463
 
3336
3464
  .univer-text-gray-400 {
@@ -3364,6 +3492,13 @@
3364
3492
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
3365
3493
  }
3366
3494
 
3495
+ .univer-shadow-lg {
3496
+ --univer-tw-shadow: 0px 4px 6px 0px #1e284d0d, 0px 10px 15px -3px #1e284d1a;
3497
+ --univer-tw-shadow-colored: 0px 4px 6px 0px var(--univer-tw-shadow-color), 0px 10px 15px -3px var(--univer-tw-shadow-color);
3498
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px #1e284d0d, 0 10px 15px -3px #1e284d1a;
3499
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
3500
+ }
3501
+
3367
3502
  .univer-shadow-md {
3368
3503
  --univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
3369
3504
  --univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
@@ -3407,12 +3542,12 @@
3407
3542
  border-color: var(--univer-primary-500);
3408
3543
  }
3409
3544
 
3410
- .hover\:univer-bg-gray-50:hover {
3411
- background-color: var(--univer-gray-50);
3545
+ .hover\:univer-bg-gray-0:hover {
3546
+ background-color: var(--univer-gray-0);
3412
3547
  }
3413
3548
 
3414
- .hover\:univer-bg-white:hover {
3415
- background-color: var(--univer-white);
3549
+ .hover\:univer-bg-gray-50:hover {
3550
+ background-color: var(--univer-gray-50);
3416
3551
  }
3417
3552
 
3418
3553
  .hover\:univer-text-gray-900:hover {
@@ -3430,10 +3565,25 @@
3430
3565
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
3431
3566
  }
3432
3567
 
3568
+ .focus-visible\:univer-ring-2:focus-visible {
3569
+ --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);
3570
+ --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);
3571
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
3572
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
3573
+ }
3574
+
3575
+ .focus-visible\:univer-ring-primary-500:focus-visible {
3576
+ --univer-tw-ring-color: var(--univer-primary-500);
3577
+ }
3578
+
3433
3579
  .active\:univer-cursor-grabbing:active {
3434
3580
  cursor: grabbing;
3435
3581
  }
3436
3582
 
3583
+ .dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
3584
+ border-color: var(--univer-gray-600) !important;
3585
+ }
3586
+
3437
3587
  .dark\:\!univer-border-gray-700:where(.univer-dark, .univer-dark *) {
3438
3588
  border-color: var(--univer-gray-700) !important;
3439
3589
  }
@@ -3466,6 +3616,10 @@
3466
3616
  background-color: var(--univer-gray-700);
3467
3617
  }
3468
3618
 
3619
+ .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
3620
+ color: var(--univer-gray-0) !important;
3621
+ }
3622
+
3469
3623
  .dark\:\!univer-text-gray-100:where(.univer-dark, .univer-dark *) {
3470
3624
  color: var(--univer-gray-100) !important;
3471
3625
  }
@@ -3482,10 +3636,6 @@
3482
3636
  color: var(--univer-gray-400) !important;
3483
3637
  }
3484
3638
 
3485
- .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
3486
- color: var(--univer-white) !important;
3487
- }
3488
-
3489
3639
  .univer-group:hover .dark\:group-hover\:\!univer-bg-gray-300:where(.univer-dark, .univer-dark *) {
3490
3640
  background-color: var(--univer-gray-300) !important;
3491
3641
  }
@@ -3513,6 +3663,10 @@
3513
3663
  position: fixed;
3514
3664
  }
3515
3665
 
3666
+ .\!univer-absolute {
3667
+ position: absolute !important;
3668
+ }
3669
+
3516
3670
  .univer-absolute {
3517
3671
  position: absolute;
3518
3672
  }
@@ -3525,10 +3679,22 @@
3525
3679
  position: sticky;
3526
3680
  }
3527
3681
 
3682
+ .-univer-inset-full {
3683
+ inset: -100%;
3684
+ }
3685
+
3528
3686
  .univer-inset-0 {
3529
3687
  inset: 0;
3530
3688
  }
3531
3689
 
3690
+ .\!univer-bottom-0\.5 {
3691
+ bottom: .125rem !important;
3692
+ }
3693
+
3694
+ .\!univer-right-0\.5 {
3695
+ right: .125rem !important;
3696
+ }
3697
+
3532
3698
  .\!univer-top-auto {
3533
3699
  top: auto !important;
3534
3700
  }
@@ -3686,6 +3852,11 @@
3686
3852
  display: none;
3687
3853
  }
3688
3854
 
3855
+ .\!univer-size-2\.5 {
3856
+ width: .625rem !important;
3857
+ height: .625rem !important;
3858
+ }
3859
+
3689
3860
  .\!univer-size-3\.5 {
3690
3861
  width: .875rem !important;
3691
3862
  height: .875rem !important;
@@ -4310,6 +4481,10 @@
4310
4481
  border-radius: 10px;
4311
4482
  }
4312
4483
 
4484
+ .univer-rounded-\[inherit\] {
4485
+ border-radius: inherit;
4486
+ }
4487
+
4313
4488
  .univer-rounded-full {
4314
4489
  border-radius: 9999px;
4315
4490
  }
@@ -4396,12 +4571,12 @@
4396
4571
  border-color: var(--univer-gray-300) !important;
4397
4572
  }
4398
4573
 
4399
- .univer-border-gray-200 {
4400
- border-color: var(--univer-gray-200);
4574
+ .univer-border-gray-0 {
4575
+ border-color: var(--univer-gray-0);
4401
4576
  }
4402
4577
 
4403
- .univer-border-gray-300 {
4404
- border-color: var(--univer-gray-300);
4578
+ .univer-border-gray-200 {
4579
+ border-color: var(--univer-gray-200);
4405
4580
  }
4406
4581
 
4407
4582
  .univer-border-primary-600 {
@@ -4412,22 +4587,30 @@
4412
4587
  border-color: #0000;
4413
4588
  }
4414
4589
 
4415
- .univer-border-white {
4416
- border-color: var(--univer-white);
4417
- }
4418
-
4419
4590
  .\!univer-bg-gray-200 {
4420
4591
  background-color: var(--univer-gray-200) !important;
4421
4592
  }
4422
4593
 
4594
+ .\!univer-bg-gray-700 {
4595
+ background-color: var(--univer-gray-700) !important;
4596
+ }
4597
+
4423
4598
  .\!univer-bg-gray-800 {
4424
4599
  background-color: var(--univer-gray-800) !important;
4425
4600
  }
4426
4601
 
4602
+ .\!univer-bg-transparent {
4603
+ background-color: #0000 !important;
4604
+ }
4605
+
4427
4606
  .univer-bg-\[rgba\(15\,23\,42\,0\.32\)\] {
4428
4607
  background-color: #0f172a52;
4429
4608
  }
4430
4609
 
4610
+ .univer-bg-gray-0 {
4611
+ background-color: var(--univer-gray-0);
4612
+ }
4613
+
4431
4614
  .univer-bg-gray-100 {
4432
4615
  background-color: var(--univer-gray-100);
4433
4616
  }
@@ -4464,8 +4647,8 @@
4464
4647
  background-color: #0000;
4465
4648
  }
4466
4649
 
4467
- .univer-bg-white {
4468
- background-color: var(--univer-white);
4650
+ .univer-bg-\[conic-gradient\(from_0deg\,transparent_0deg\,transparent_282deg\,var\(--univer-primary-700\)_318deg\,var\(--univer-primary-500\)_342deg\,transparent_360deg\)\] {
4651
+ background-image: conic-gradient(from 0deg,transparent 0deg,transparent 282deg,var(--univer-primary-700) 318deg,var(--univer-primary-500) 342deg,transparent 360deg);
4469
4652
  }
4470
4653
 
4471
4654
  .univer-bg-gradient-to-tr {
@@ -4519,6 +4702,10 @@
4519
4702
  padding: 2rem;
4520
4703
  }
4521
4704
 
4705
+ .univer-p-px {
4706
+ padding: 1px;
4707
+ }
4708
+
4522
4709
  .\!univer-px-0 {
4523
4710
  padding-left: 0 !important;
4524
4711
  padding-right: 0 !important;
@@ -4731,6 +4918,10 @@
4731
4918
  color: currentColor;
4732
4919
  }
4733
4920
 
4921
+ .univer-text-gray-0 {
4922
+ color: var(--univer-gray-0);
4923
+ }
4924
+
4734
4925
  .univer-text-gray-200 {
4735
4926
  color: var(--univer-gray-200);
4736
4927
  }
@@ -4780,10 +4971,6 @@
4780
4971
  color: rgba(226, 232, 240, var(--univer-tw-text-opacity, 1));
4781
4972
  }
4782
4973
 
4783
- .univer-text-white {
4784
- color: var(--univer-white);
4785
- }
4786
-
4787
4974
  .univer-underline {
4788
4975
  text-decoration-line: underline;
4789
4976
  }
@@ -4887,6 +5074,16 @@
4887
5074
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
4888
5075
  }
4889
5076
 
5077
+ .univer-transition-opacity {
5078
+ transition-property: opacity;
5079
+ transition-duration: .15s;
5080
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
5081
+ }
5082
+
5083
+ .univer-duration-150 {
5084
+ transition-duration: .15s;
5085
+ }
5086
+
4890
5087
  @keyframes enter {
4891
5088
  from {
4892
5089
  opacity: 1;
@@ -4923,6 +5120,10 @@
4923
5120
  --univer-tw-enter-opacity: .7;
4924
5121
  }
4925
5122
 
5123
+ .univer-duration-150 {
5124
+ animation-duration: .15s;
5125
+ }
5126
+
4926
5127
  .univer-context-menu-hover-suppressed button:hover:not(:focus) {
4927
5128
  background-color: #0000 !important;
4928
5129
  }
@@ -4935,14 +5136,18 @@
4935
5136
  display: none;
4936
5137
  }
4937
5138
 
4938
- .hover\:univer-border-gray-400:hover {
4939
- border-color: var(--univer-gray-400);
5139
+ .univer-group\/hover-track:hover .group-hover\/hover-track\:univer-opacity-100 {
5140
+ opacity: 1;
4940
5141
  }
4941
5142
 
4942
5143
  .hover\:univer-border-primary-600:hover {
4943
5144
  border-color: var(--univer-primary-600);
4944
5145
  }
4945
5146
 
5147
+ .hover\:\!univer-bg-transparent:hover {
5148
+ background-color: #0000 !important;
5149
+ }
5150
+
4946
5151
  .hover\:univer-bg-gray-100:hover {
4947
5152
  background-color: var(--univer-gray-100);
4948
5153
  }
@@ -4978,12 +5183,12 @@
4978
5183
  box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
4979
5184
  }
4980
5185
 
4981
- .focus\:univer-bg-gray-50:focus {
4982
- background-color: var(--univer-gray-50);
5186
+ .focus\:univer-bg-gray-0:focus {
5187
+ background-color: var(--univer-gray-0);
4983
5188
  }
4984
5189
 
4985
- .focus\:univer-bg-white:focus {
4986
- background-color: var(--univer-white);
5190
+ .focus\:univer-bg-gray-50:focus {
5191
+ background-color: var(--univer-gray-50);
4987
5192
  }
4988
5193
 
4989
5194
  .focus\:univer-outline-none:focus {
@@ -5003,6 +5208,13 @@
5003
5208
  outline: 2px solid #0000;
5004
5209
  }
5005
5210
 
5211
+ .focus-visible\:univer-ring-1:focus-visible {
5212
+ --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);
5213
+ --univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(1px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);
5214
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
5215
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
5216
+ }
5217
+
5006
5218
  .focus-visible\:univer-ring-2:focus-visible {
5007
5219
  --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);
5008
5220
  --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);
@@ -5058,10 +5270,26 @@
5058
5270
  background-color: #0000;
5059
5271
  }
5060
5272
 
5273
+ @media (prefers-reduced-motion: no-preference) {
5274
+ @keyframes univer-spin {
5275
+ to {
5276
+ transform: rotate(360deg);
5277
+ }
5278
+ }
5279
+
5280
+ .univer-group\/hover-track:hover .motion-safe\:group-hover\/hover-track\:univer-animate-\[spin_5s_linear_infinite\] {
5281
+ animation: 5s linear infinite univer-spin;
5282
+ }
5283
+ }
5284
+
5061
5285
  @media (prefers-reduced-motion: reduce) {
5062
5286
  .motion-reduce\:univer-animate-none {
5063
5287
  animation: none;
5064
5288
  }
5289
+
5290
+ .motion-reduce\:univer-bg-primary-700 {
5291
+ background-color: var(--univer-primary-700);
5292
+ }
5065
5293
  }
5066
5294
 
5067
5295
  @media (min-width: 640px) {
@@ -5170,6 +5398,14 @@
5170
5398
  background-color: var(--univer-primary-900) !important;
5171
5399
  }
5172
5400
 
5401
+ .dark\:univer-bg-\[conic-gradient\(from_0deg\,transparent_0deg\,transparent_282deg\,var\(--univer-primary-300\)_318deg\,var\(--univer-primary-500\)_342deg\,transparent_360deg\)\]:where(.univer-dark, .univer-dark *) {
5402
+ background-image: conic-gradient(from 0deg,transparent 0deg,transparent 282deg,var(--univer-primary-300) 318deg,var(--univer-primary-500) 342deg,transparent 360deg);
5403
+ }
5404
+
5405
+ .dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
5406
+ color: var(--univer-gray-0) !important;
5407
+ }
5408
+
5173
5409
  .dark\:\!univer-text-gray-100:where(.univer-dark, .univer-dark *) {
5174
5410
  color: var(--univer-gray-100) !important;
5175
5411
  }
@@ -5210,10 +5446,6 @@
5210
5446
  color: var(--univer-primary-400) !important;
5211
5447
  }
5212
5448
 
5213
- .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
5214
- color: var(--univer-white) !important;
5215
- }
5216
-
5217
5449
  .dark\:\!univer-shadow-sm:where(.univer-dark, .univer-dark *) {
5218
5450
  --univer-tw-shadow: 0px 1px 2px 0px #1e284d14 !important;
5219
5451
  --univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color) !important;
@@ -5241,12 +5473,12 @@
5241
5473
  background-color: #0000 !important;
5242
5474
  }
5243
5475
 
5244
- .dark\:hover\:\!univer-text-gray-300:hover:where(.univer-dark, .univer-dark *) {
5245
- color: var(--univer-gray-300) !important;
5476
+ .dark\:hover\:\!univer-text-gray-0:hover:where(.univer-dark, .univer-dark *) {
5477
+ color: var(--univer-gray-0) !important;
5246
5478
  }
5247
5479
 
5248
- .dark\:hover\:\!univer-text-white:hover:where(.univer-dark, .univer-dark *) {
5249
- color: var(--univer-white) !important;
5480
+ .dark\:hover\:\!univer-text-gray-300:hover:where(.univer-dark, .univer-dark *) {
5481
+ color: var(--univer-gray-300) !important;
5250
5482
  }
5251
5483
 
5252
5484
  .dark\:focus\:\!univer-bg-gray-600:focus:where(.univer-dark, .univer-dark *) {
@@ -5265,6 +5497,12 @@
5265
5497
  color: var(--univer-gray-600) !important;
5266
5498
  }
5267
5499
 
5500
+ @media (prefers-reduced-motion: reduce) {
5501
+ .dark\:motion-reduce\:univer-bg-primary-300:where(.univer-dark, .univer-dark *) {
5502
+ background-color: var(--univer-primary-300);
5503
+ }
5504
+ }
5505
+
5268
5506
  .\[\&\:\:-webkit-scrollbar\]\:univer-hidden::-webkit-scrollbar {
5269
5507
  display: none;
5270
5508
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-docs-core",
3
- "version": "1.0.0-beta.0",
3
+ "version": "1.0.0-beta.1",
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,22 +56,22 @@
56
56
  "rxjs": ">=7.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@univerjs/design": "1.0.0-beta.0",
60
- "@univerjs/docs-ui": "1.0.0-beta.0",
61
- "@univerjs/engine-formula": "1.0.0-beta.0",
62
- "@univerjs/engine-render": "1.0.0-beta.0",
63
- "@univerjs/docs": "1.0.0-beta.0",
64
- "@univerjs/ui": "1.0.0-beta.0",
65
- "@univerjs/network": "1.0.0-beta.0"
59
+ "@univerjs/design": "1.0.0-beta.1",
60
+ "@univerjs/docs": "1.0.0-beta.1",
61
+ "@univerjs/docs-ui": "1.0.0-beta.1",
62
+ "@univerjs/engine-formula": "1.0.0-beta.1",
63
+ "@univerjs/engine-render": "1.0.0-beta.1",
64
+ "@univerjs/network": "1.0.0-beta.1",
65
+ "@univerjs/ui": "1.0.0-beta.1"
66
66
  },
67
67
  "devDependencies": {
68
68
  "react": "18.3.1",
69
69
  "react-dom": "18.3.1",
70
70
  "rxjs": "^7.8.2",
71
71
  "typescript": "^6.0.3",
72
- "@univerjs-infra/shared": "1.0.0-beta.0",
73
- "@univerjs/core": "1.0.0-beta.0",
74
- "@univerjs/presets": "1.0.0-beta.0"
72
+ "@univerjs-infra/shared": "1.0.0-beta.1",
73
+ "@univerjs/presets": "1.0.0-beta.1",
74
+ "@univerjs/core": "1.0.0-beta.1"
75
75
  },
76
76
  "scripts": {
77
77
  "build:bundle": "univer-cli preset build --cleanup",