@univerjs/ui 1.5.2 → 1.6.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 (102) hide show
  1. package/lib/cjs/facade.js +6 -6
  2. package/lib/cjs/index.js +12562 -11849
  3. package/lib/cjs/locale/ar-SA.js +1 -0
  4. package/lib/cjs/locale/ca-ES.js +1 -0
  5. package/lib/cjs/locale/de-DE.js +1 -0
  6. package/lib/cjs/locale/en-US.js +1 -0
  7. package/lib/cjs/locale/es-ES.js +1 -0
  8. package/lib/cjs/locale/fa-IR.js +1 -0
  9. package/lib/cjs/locale/fr-FR.js +1 -0
  10. package/lib/cjs/locale/id-ID.js +1 -0
  11. package/lib/cjs/locale/it-IT.js +1 -0
  12. package/lib/cjs/locale/ja-JP.js +1 -0
  13. package/lib/cjs/locale/ko-KR.js +1 -0
  14. package/lib/cjs/locale/pl-PL.js +1 -0
  15. package/lib/cjs/locale/pt-BR.js +1 -0
  16. package/lib/cjs/locale/ru-RU.js +1 -0
  17. package/lib/cjs/locale/sk-SK.js +1 -0
  18. package/lib/cjs/locale/vi-VN.js +1 -0
  19. package/lib/cjs/locale/zh-CN.js +1 -0
  20. package/lib/cjs/locale/zh-HK.js +1 -0
  21. package/lib/cjs/locale/zh-TW.js +1 -0
  22. package/lib/es/facade.js +6 -6
  23. package/lib/es/index.js +12508 -11819
  24. package/lib/es/locale/ar-SA.js +1 -0
  25. package/lib/es/locale/ca-ES.js +1 -0
  26. package/lib/es/locale/de-DE.js +1 -0
  27. package/lib/es/locale/en-US.js +1 -0
  28. package/lib/es/locale/es-ES.js +1 -0
  29. package/lib/es/locale/fa-IR.js +1 -0
  30. package/lib/es/locale/fr-FR.js +1 -0
  31. package/lib/es/locale/id-ID.js +1 -0
  32. package/lib/es/locale/it-IT.js +1 -0
  33. package/lib/es/locale/ja-JP.js +1 -0
  34. package/lib/es/locale/ko-KR.js +1 -0
  35. package/lib/es/locale/pl-PL.js +1 -0
  36. package/lib/es/locale/pt-BR.js +1 -0
  37. package/lib/es/locale/ru-RU.js +1 -0
  38. package/lib/es/locale/sk-SK.js +1 -0
  39. package/lib/es/locale/vi-VN.js +1 -0
  40. package/lib/es/locale/zh-CN.js +1 -0
  41. package/lib/es/locale/zh-HK.js +1 -0
  42. package/lib/es/locale/zh-TW.js +1 -0
  43. package/lib/facade.js +6 -6
  44. package/lib/index.css +235 -76
  45. package/lib/index.js +12508 -11819
  46. package/lib/locale/ar-SA.js +1 -0
  47. package/lib/locale/ca-ES.js +1 -0
  48. package/lib/locale/de-DE.js +1 -0
  49. package/lib/locale/en-US.js +1 -0
  50. package/lib/locale/es-ES.js +1 -0
  51. package/lib/locale/fa-IR.js +1 -0
  52. package/lib/locale/fr-FR.js +1 -0
  53. package/lib/locale/id-ID.js +1 -0
  54. package/lib/locale/it-IT.js +1 -0
  55. package/lib/locale/ja-JP.js +1 -0
  56. package/lib/locale/ko-KR.js +1 -0
  57. package/lib/locale/pl-PL.js +1 -0
  58. package/lib/locale/pt-BR.js +1 -0
  59. package/lib/locale/ru-RU.js +1 -0
  60. package/lib/locale/sk-SK.js +1 -0
  61. package/lib/locale/vi-VN.js +1 -0
  62. package/lib/locale/zh-CN.js +1 -0
  63. package/lib/locale/zh-HK.js +1 -0
  64. package/lib/locale/zh-TW.js +1 -0
  65. package/lib/types/components/editor-toolbar/EditorFloatingToolbar.d.ts +59 -0
  66. package/lib/types/components/editor-toolbar/EditorMenu.d.ts +33 -0
  67. package/lib/types/components/editor-toolbar/floating-toolbar-interaction.d.ts +19 -0
  68. package/lib/types/components/hyperlink/HyperlinkEditor.d.ts +38 -0
  69. package/lib/types/components/hyperlink/HyperlinkPreview.d.ts +34 -0
  70. package/lib/types/components/table-size-picker/MobileTableSizePicker.d.ts +17 -0
  71. package/lib/types/components/table-size-picker/TableSizePicker.d.ts +61 -0
  72. package/lib/types/controllers/components.controller.d.ts +3 -0
  73. package/lib/types/index.d.ts +14 -0
  74. package/lib/types/locale/en-US.d.ts +1 -0
  75. package/lib/types/services/menu/menu-manager.service.d.ts +2 -0
  76. package/lib/types/services/menu/types.d.ts +1 -0
  77. package/lib/types/views/components/ribbon/RibbonGrid.d.ts +2 -1
  78. package/lib/types/views/components/ribbon/ToolbarItem.d.ts +1 -0
  79. package/lib/types/views/emoji-picker/emoji-picker-utils.d.ts +1 -1
  80. package/lib/types/views/object-permission/ObjectPermissionMembers.d.ts +2 -1
  81. package/lib/types/views/user-info/UserInfo.d.ts +54 -0
  82. package/lib/umd/index.js +19 -19
  83. package/lib/umd/locale/ar-SA.js +1 -1
  84. package/lib/umd/locale/ca-ES.js +1 -1
  85. package/lib/umd/locale/de-DE.js +1 -1
  86. package/lib/umd/locale/en-US.js +1 -1
  87. package/lib/umd/locale/es-ES.js +1 -1
  88. package/lib/umd/locale/fa-IR.js +1 -1
  89. package/lib/umd/locale/fr-FR.js +1 -1
  90. package/lib/umd/locale/id-ID.js +1 -1
  91. package/lib/umd/locale/it-IT.js +1 -1
  92. package/lib/umd/locale/ja-JP.js +1 -1
  93. package/lib/umd/locale/ko-KR.js +1 -1
  94. package/lib/umd/locale/pl-PL.js +1 -1
  95. package/lib/umd/locale/pt-BR.js +1 -1
  96. package/lib/umd/locale/ru-RU.js +1 -1
  97. package/lib/umd/locale/sk-SK.js +1 -1
  98. package/lib/umd/locale/vi-VN.js +1 -1
  99. package/lib/umd/locale/zh-CN.js +1 -1
  100. package/lib/umd/locale/zh-HK.js +1 -1
  101. package/lib/umd/locale/zh-TW.js +1 -1
  102. package/package.json +11 -11
package/lib/index.css CHANGED
@@ -60,10 +60,6 @@
60
60
  right: .125rem !important;
61
61
  }
62
62
 
63
- .\!univer-top-auto {
64
- top: auto !important;
65
- }
66
-
67
63
  .-univer-bottom-1 {
68
64
  bottom: -.25rem;
69
65
  }
@@ -84,10 +80,6 @@
84
80
  bottom: 0;
85
81
  }
86
82
 
87
- .univer-bottom-1\.5 {
88
- bottom: .375rem;
89
- }
90
-
91
83
  .univer-left-0 {
92
84
  left: 0;
93
85
  }
@@ -128,10 +120,6 @@
128
120
  top: 50%;
129
121
  }
130
122
 
131
- .univer-top-3\.5 {
132
- top: .875rem;
133
- }
134
-
135
123
  .univer-top-\[-9999px\] {
136
124
  top: -9999px;
137
125
  }
@@ -184,6 +172,10 @@
184
172
  z-index: 1;
185
173
  }
186
174
 
175
+ .univer-col-span-2 {
176
+ grid-column: span 2 / span 2;
177
+ }
178
+
187
179
  .\!univer-m-0 {
188
180
  margin: 0 !important;
189
181
  }
@@ -202,6 +194,11 @@
202
194
  margin-right: auto;
203
195
  }
204
196
 
197
+ .univer-my-2 {
198
+ margin-top: .5rem;
199
+ margin-bottom: .5rem;
200
+ }
201
+
205
202
  .univer-mb-0 {
206
203
  margin-bottom: 0;
207
204
  }
@@ -210,6 +207,14 @@
210
207
  margin-bottom: .25rem;
211
208
  }
212
209
 
210
+ .univer-mb-2 {
211
+ margin-bottom: .5rem;
212
+ }
213
+
214
+ .univer-mb-3 {
215
+ margin-bottom: .75rem;
216
+ }
217
+
213
218
  .univer-ml-2 {
214
219
  margin-left: .5rem;
215
220
  }
@@ -222,18 +227,22 @@
222
227
  margin-right: .5rem;
223
228
  }
224
229
 
225
- .univer-mr-auto {
226
- margin-right: auto;
227
- }
228
-
229
230
  .univer-mt-2 {
230
231
  margin-top: .5rem;
231
232
  }
232
233
 
234
+ .univer-mt-3 {
235
+ margin-top: .75rem;
236
+ }
237
+
233
238
  .univer-mt-4 {
234
239
  margin-top: 1rem;
235
240
  }
236
241
 
242
+ .univer-mt-5 {
243
+ margin-top: 1.25rem;
244
+ }
245
+
237
246
  .univer-mt-6 {
238
247
  margin-top: 1.5rem;
239
248
  }
@@ -257,6 +266,10 @@
257
266
  display: block;
258
267
  }
259
268
 
269
+ .\!univer-flex {
270
+ display: flex !important;
271
+ }
272
+
260
273
  .univer-flex {
261
274
  display: flex;
262
275
  }
@@ -352,14 +365,14 @@
352
365
  height: 100%;
353
366
  }
354
367
 
355
- .\!univer-h-14 {
356
- height: 3.5rem !important;
357
- }
358
-
359
368
  .\!univer-h-auto {
360
369
  height: auto !important;
361
370
  }
362
371
 
372
+ .\!univer-h-full {
373
+ height: 100% !important;
374
+ }
375
+
363
376
  .univer-h-0 {
364
377
  height: 0;
365
378
  }
@@ -432,14 +445,18 @@
432
445
  height: 340px;
433
446
  }
434
447
 
435
- .univer-h-\[73px\] {
436
- height: 73px;
448
+ .univer-h-\[calc\(4\.25rem\+1px\)\] {
449
+ height: calc(4.25rem + 1px);
437
450
  }
438
451
 
439
452
  .univer-h-full {
440
453
  height: 100%;
441
454
  }
442
455
 
456
+ .univer-max-h-32 {
457
+ max-height: 8rem;
458
+ }
459
+
443
460
  .univer-max-h-60 {
444
461
  max-height: 15rem;
445
462
  }
@@ -492,6 +509,10 @@
492
509
  width: 100% !important;
493
510
  }
494
511
 
512
+ .\!univer-w-max {
513
+ width: max-content !important;
514
+ }
515
+
495
516
  .univer-w-0 {
496
517
  width: 0;
497
518
  }
@@ -564,6 +585,22 @@
564
585
  width: 24rem;
565
586
  }
566
587
 
588
+ .univer-w-\[300px\] {
589
+ width: 300px;
590
+ }
591
+
592
+ .univer-w-\[328px\] {
593
+ width: 328px;
594
+ }
595
+
596
+ .univer-w-\[360px\] {
597
+ width: 360px;
598
+ }
599
+
600
+ .univer-w-\[4\.5rem\] {
601
+ width: 4.5rem;
602
+ }
603
+
567
604
  .univer-w-\[420px\] {
568
605
  width: 420px;
569
606
  }
@@ -572,6 +609,10 @@
572
609
  width: 68px;
573
610
  }
574
611
 
612
+ .univer-w-auto {
613
+ width: auto;
614
+ }
615
+
575
616
  .univer-w-fit {
576
617
  width: fit-content;
577
618
  }
@@ -596,10 +637,18 @@
596
637
  min-width: 3.5rem;
597
638
  }
598
639
 
640
+ .univer-min-w-4 {
641
+ min-width: 1rem;
642
+ }
643
+
599
644
  .univer-min-w-44 {
600
645
  min-width: 11rem;
601
646
  }
602
647
 
648
+ .univer-min-w-5 {
649
+ min-width: 1.25rem;
650
+ }
651
+
603
652
  .univer-min-w-52 {
604
653
  min-width: 13rem;
605
654
  }
@@ -616,10 +665,22 @@
616
665
  min-width: 1.75rem;
617
666
  }
618
667
 
668
+ .univer-min-w-9 {
669
+ min-width: 2.25rem;
670
+ }
671
+
672
+ .univer-min-w-\[240px\] {
673
+ min-width: 240px;
674
+ }
675
+
619
676
  .univer-min-w-\[60px\] {
620
677
  min-width: 60px;
621
678
  }
622
679
 
680
+ .univer-min-w-full {
681
+ min-width: 100%;
682
+ }
683
+
623
684
  .univer-min-w-min {
624
685
  min-width: min-content;
625
686
  }
@@ -632,6 +693,10 @@
632
693
  max-width: 64rem;
633
694
  }
634
695
 
696
+ .univer-max-w-80 {
697
+ max-width: 20rem;
698
+ }
699
+
635
700
  .univer-max-w-96 {
636
701
  max-width: 24rem;
637
702
  }
@@ -660,6 +725,10 @@
660
725
  max-width: calc(100vw - 24px);
661
726
  }
662
727
 
728
+ .univer-max-w-\[min\(760px\,calc\(100vw-32px\)\)\] {
729
+ max-width: min(760px, 100vw - 32px);
730
+ }
731
+
663
732
  .univer-max-w-full {
664
733
  max-width: 100%;
665
734
  }
@@ -672,6 +741,10 @@
672
741
  flex: 0 auto;
673
742
  }
674
743
 
744
+ .univer-flex-none {
745
+ flex: none;
746
+ }
747
+
675
748
  .univer-flex-shrink-0, .univer-shrink-0 {
676
749
  flex-shrink: 0;
677
750
  }
@@ -733,10 +806,6 @@
733
806
  animation: 2s cubic-bezier(.4, 0, .6, 1) infinite univer-pulse;
734
807
  }
735
808
 
736
- .univer-cursor-col-resize {
737
- cursor: col-resize;
738
- }
739
-
740
809
  .univer-cursor-default {
741
810
  cursor: default;
742
811
  }
@@ -789,6 +858,10 @@
789
858
  grid-template-columns: repeat(10, minmax(0, 1fr));
790
859
  }
791
860
 
861
+ .univer-grid-cols-2 {
862
+ grid-template-columns: repeat(2, minmax(0, 1fr));
863
+ }
864
+
792
865
  .univer-grid-cols-3 {
793
866
  grid-template-columns: repeat(3, minmax(0, 1fr));
794
867
  }
@@ -825,6 +898,10 @@
825
898
  grid-template-columns: auto 1fr auto;
826
899
  }
827
900
 
901
+ .univer-grid-cols-\[minmax\(0\,1fr\)_auto\] {
902
+ grid-template-columns: minmax(0, 1fr) auto;
903
+ }
904
+
828
905
  .univer-grid-rows-\[100\%\] {
829
906
  grid-template-rows: 100%;
830
907
  }
@@ -837,8 +914,8 @@
837
914
  grid-template-rows: auto 1fr auto;
838
915
  }
839
916
 
840
- .univer-grid-rows-\[repeat\(2\,1\.75rem\)\] {
841
- grid-template-rows: repeat(2, 1.75rem);
917
+ .univer-grid-rows-\[repeat\(2\,1\.5rem\)\] {
918
+ grid-template-rows: repeat(2, 1.5rem);
842
919
  }
843
920
 
844
921
  .univer-flex-row {
@@ -869,6 +946,10 @@
869
946
  align-items: stretch;
870
947
  }
871
948
 
949
+ .\!univer-justify-start {
950
+ justify-content: flex-start !important;
951
+ }
952
+
872
953
  .univer-justify-start {
873
954
  justify-content: flex-start;
874
955
  }
@@ -933,8 +1014,8 @@
933
1014
  gap: 1.5rem;
934
1015
  }
935
1016
 
936
- .univer-gap-y-0 {
937
- row-gap: 0;
1017
+ .univer-gap-8 {
1018
+ gap: 2rem;
938
1019
  }
939
1020
 
940
1021
  .univer-overflow-auto {
@@ -983,10 +1064,18 @@
983
1064
  white-space: nowrap;
984
1065
  }
985
1066
 
1067
+ .univer-whitespace-pre-wrap {
1068
+ white-space: pre-wrap;
1069
+ }
1070
+
986
1071
  .univer-break-words {
987
1072
  word-wrap: break-word;
988
1073
  }
989
1074
 
1075
+ .\!univer-rounded {
1076
+ border-radius: .25rem !important;
1077
+ }
1078
+
990
1079
  .\!univer-rounded-full {
991
1080
  border-radius: 9999px !important;
992
1081
  }
@@ -1125,6 +1214,10 @@
1125
1214
  border-color: var(--univer-gray-200);
1126
1215
  }
1127
1216
 
1217
+ .univer-border-primary-500 {
1218
+ border-color: var(--univer-primary-500);
1219
+ }
1220
+
1128
1221
  .univer-border-primary-600 {
1129
1222
  border-color: var(--univer-primary-600);
1130
1223
  }
@@ -1189,6 +1282,10 @@
1189
1282
  background-color: var(--univer-gray-900);
1190
1283
  }
1191
1284
 
1285
+ .univer-bg-primary-100 {
1286
+ background-color: var(--univer-primary-100);
1287
+ }
1288
+
1192
1289
  .univer-bg-primary-50 {
1193
1290
  background-color: var(--univer-primary-50);
1194
1291
  }
@@ -1201,6 +1298,12 @@
1201
1298
  background-color: var(--univer-primary-600);
1202
1299
  }
1203
1300
 
1301
+ .univer-bg-red-950 {
1302
+ --univer-tw-bg-opacity: 1;
1303
+ background-color: #450a0a;
1304
+ background-color: rgba(69, 10, 10, var(--univer-tw-bg-opacity, 1));
1305
+ }
1306
+
1204
1307
  .univer-bg-transparent {
1205
1308
  background-color: #0000;
1206
1309
  }
@@ -1268,11 +1371,6 @@
1268
1371
  padding: 1px;
1269
1372
  }
1270
1373
 
1271
- .\!univer-px-0 {
1272
- padding-left: 0 !important;
1273
- padding-right: 0 !important;
1274
- }
1275
-
1276
1374
  .univer-px-0 {
1277
1375
  padding-left: 0;
1278
1376
  padding-right: 0;
@@ -1348,15 +1446,16 @@
1348
1446
  padding-bottom: .75rem;
1349
1447
  }
1350
1448
 
1449
+ .univer-py-5 {
1450
+ padding-top: 1.25rem;
1451
+ padding-bottom: 1.25rem;
1452
+ }
1453
+
1351
1454
  .univer-py-7 {
1352
1455
  padding-top: 1.75rem;
1353
1456
  padding-bottom: 1.75rem;
1354
1457
  }
1355
1458
 
1356
- .\!univer-pr-0 {
1357
- padding-right: 0 !important;
1358
- }
1359
-
1360
1459
  .univer-pb-1 {
1361
1460
  padding-bottom: .25rem;
1362
1461
  }
@@ -1385,6 +1484,10 @@
1385
1484
  padding-left: 1rem;
1386
1485
  }
1387
1486
 
1487
+ .univer-pr-0\.5 {
1488
+ padding-right: .125rem;
1489
+ }
1490
+
1388
1491
  .univer-pr-1\.5 {
1389
1492
  padding-right: .375rem;
1390
1493
  }
@@ -1393,10 +1496,6 @@
1393
1496
  padding-right: .5rem;
1394
1497
  }
1395
1498
 
1396
- .univer-pr-6 {
1397
- padding-right: 1.5rem;
1398
- }
1399
-
1400
1499
  .univer-pt-1 {
1401
1500
  padding-top: .25rem;
1402
1501
  }
@@ -1433,6 +1532,11 @@
1433
1532
  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;
1434
1533
  }
1435
1534
 
1535
+ .\!univer-text-base {
1536
+ font-size: 1rem !important;
1537
+ line-height: 1.5rem !important;
1538
+ }
1539
+
1436
1540
  .univer-text-2xl {
1437
1541
  font-size: 1.5rem;
1438
1542
  line-height: 2rem;
@@ -1463,6 +1567,10 @@
1463
1567
  line-height: 1rem;
1464
1568
  }
1465
1569
 
1570
+ .\!univer-font-normal {
1571
+ font-weight: 400 !important;
1572
+ }
1573
+
1466
1574
  .univer-font-bold {
1467
1575
  font-weight: 700;
1468
1576
  }
@@ -1471,6 +1579,10 @@
1471
1579
  font-weight: 500;
1472
1580
  }
1473
1581
 
1582
+ .univer-font-normal {
1583
+ font-weight: 400;
1584
+ }
1585
+
1474
1586
  .univer-font-semibold {
1475
1587
  font-weight: 600;
1476
1588
  }
@@ -1487,6 +1599,10 @@
1487
1599
  line-height: 1.5rem;
1488
1600
  }
1489
1601
 
1602
+ .univer-leading-none {
1603
+ line-height: 1;
1604
+ }
1605
+
1490
1606
  .univer-tracking-\[0\.08em\] {
1491
1607
  letter-spacing: .08em;
1492
1608
  }
@@ -1495,6 +1611,10 @@
1495
1611
  letter-spacing: -.025em;
1496
1612
  }
1497
1613
 
1614
+ .\!univer-text-primary-300 {
1615
+ color: var(--univer-primary-300) !important;
1616
+ }
1617
+
1498
1618
  .univer-text-gray-0 {
1499
1619
  color: var(--univer-gray-0);
1500
1620
  }
@@ -1547,6 +1667,10 @@
1547
1667
  color: var(--univer-primary-700);
1548
1668
  }
1549
1669
 
1670
+ .univer-text-red-500 {
1671
+ color: var(--univer-red-500);
1672
+ }
1673
+
1550
1674
  .univer-underline {
1551
1675
  text-decoration-line: underline;
1552
1676
  }
@@ -1571,6 +1695,13 @@
1571
1695
  opacity: .6;
1572
1696
  }
1573
1697
 
1698
+ .univer-shadow {
1699
+ --univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
1700
+ --univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);
1701
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 3px #0000001a, 0 1px 2px -1px #0000001a;
1702
+ box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
1703
+ }
1704
+
1574
1705
  .univer-shadow-2xl {
1575
1706
  --univer-tw-shadow: 0px 24px 50px -12px #1e284d3d;
1576
1707
  --univer-tw-shadow-colored: 0px 24px 50px -12px var(--univer-tw-shadow-color);
@@ -1720,7 +1851,7 @@
1720
1851
  animation-delay: .1s;
1721
1852
  }
1722
1853
 
1723
- .univer-fill-mode-backwards {
1854
+ .univer-fill-mode-backwards, .\[animation-fill-mode\:backwards\] {
1724
1855
  animation-fill-mode: backwards;
1725
1856
  }
1726
1857
 
@@ -1770,6 +1901,10 @@
1770
1901
  }
1771
1902
 
1772
1903
  @media (hover: hover) and (pointer: fine) {
1904
+ .hover\:univer-border-primary-300:hover {
1905
+ border-color: var(--univer-primary-300);
1906
+ }
1907
+
1773
1908
  .hover\:univer-border-primary-600:hover {
1774
1909
  border-color: var(--univer-primary-600);
1775
1910
  }
@@ -1790,8 +1925,16 @@
1790
1925
  background-color: var(--univer-gray-50);
1791
1926
  }
1792
1927
 
1793
- .hover\:univer-bg-primary-500:hover {
1794
- background-color: var(--univer-primary-500);
1928
+ .hover\:univer-bg-primary-200:hover {
1929
+ background-color: var(--univer-primary-200);
1930
+ }
1931
+
1932
+ .hover\:univer-bg-primary-50:hover {
1933
+ background-color: var(--univer-primary-50);
1934
+ }
1935
+
1936
+ .hover\:univer-bg-red-50:hover {
1937
+ background-color: var(--univer-red-50);
1795
1938
  }
1796
1939
 
1797
1940
  .hover\:univer-bg-transparent:hover {
@@ -1826,23 +1969,7 @@
1826
1969
  background-color: #0000;
1827
1970
  }
1828
1971
 
1829
- .focus\:univer-outline-none:focus {
1830
- outline-offset: 2px;
1831
- outline: 2px solid #0000;
1832
- }
1833
-
1834
- .focus\:univer-ring-2:focus {
1835
- --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);
1836
- --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);
1837
- box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
1838
- box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
1839
- }
1840
-
1841
- .focus\:univer-ring-primary-500:focus {
1842
- --univer-tw-ring-color: var(--univer-primary-500);
1843
- }
1844
-
1845
- .focus-visible\:univer-outline-none:focus-visible {
1972
+ .focus\:univer-outline-none:focus, .focus-visible\:univer-outline-none:focus-visible {
1846
1973
  outline-offset: 2px;
1847
1974
  outline: 2px solid #0000;
1848
1975
  }
@@ -1889,10 +2016,6 @@
1889
2016
  background-color: var(--univer-gray-200);
1890
2017
  }
1891
2018
 
1892
- .active\:univer-bg-primary-500:active {
1893
- background-color: var(--univer-primary-500);
1894
- }
1895
-
1896
2019
  .enabled\:active\:univer-scale-\[0\.98\]:active:enabled {
1897
2020
  --univer-tw-scale-x: .98;
1898
2021
  --univer-tw-scale-y: .98;
@@ -1904,6 +2027,10 @@
1904
2027
  background-color: var(--univer-gray-100);
1905
2028
  }
1906
2029
 
2030
+ .disabled\:\!univer-pointer-events-auto:disabled {
2031
+ pointer-events: auto !important;
2032
+ }
2033
+
1907
2034
  .disabled\:univer-cursor-not-allowed:disabled {
1908
2035
  cursor: not-allowed;
1909
2036
  }
@@ -1952,10 +2079,6 @@
1952
2079
  }
1953
2080
  }
1954
2081
 
1955
- .rtl\:univer-left-0:where([dir="rtl"], [dir="rtl"] *) {
1956
- left: 0;
1957
- }
1958
-
1959
2082
  .rtl\:univer-left-2:where([dir="rtl"], [dir="rtl"] *) {
1960
2083
  left: .5rem;
1961
2084
  }
@@ -2000,18 +2123,22 @@
2000
2123
  padding-left: 0;
2001
2124
  }
2002
2125
 
2003
- .rtl\:univer-pl-1\.5:where([dir="rtl"], [dir="rtl"] *) {
2004
- padding-left: .375rem;
2126
+ .rtl\:univer-pl-0\.5:where([dir="rtl"], [dir="rtl"] *) {
2127
+ padding-left: .125rem;
2005
2128
  }
2006
2129
 
2007
- .rtl\:univer-pl-6:where([dir="rtl"], [dir="rtl"] *) {
2008
- padding-left: 1.5rem;
2130
+ .rtl\:univer-pl-1\.5:where([dir="rtl"], [dir="rtl"] *) {
2131
+ padding-left: .375rem;
2009
2132
  }
2010
2133
 
2011
2134
  .rtl\:univer-pr-0:where([dir="rtl"], [dir="rtl"] *) {
2012
2135
  padding-right: 0;
2013
2136
  }
2014
2137
 
2138
+ .rtl\:univer-pr-1:where([dir="rtl"], [dir="rtl"] *) {
2139
+ padding-right: .25rem;
2140
+ }
2141
+
2015
2142
  .rtl\:univer-pr-2:where([dir="rtl"], [dir="rtl"] *) {
2016
2143
  padding-right: .5rem;
2017
2144
  }
@@ -2020,6 +2147,10 @@
2020
2147
  text-align: right !important;
2021
2148
  }
2022
2149
 
2150
+ .rtl\:univer-text-right:where([dir="rtl"], [dir="rtl"] *) {
2151
+ text-align: right;
2152
+ }
2153
+
2023
2154
  .dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
2024
2155
  border-color: var(--univer-gray-600) !important;
2025
2156
  }
@@ -2116,6 +2247,10 @@
2116
2247
  color: var(--univer-primary-400) !important;
2117
2248
  }
2118
2249
 
2250
+ .dark\:\!univer-text-red-400:where(.univer-dark, .univer-dark *) {
2251
+ color: var(--univer-red-400) !important;
2252
+ }
2253
+
2119
2254
  .dark\:\!univer-shadow-sm:where(.univer-dark, .univer-dark *) {
2120
2255
  --univer-tw-shadow: 0px 1px 2px 0px #1e284d14 !important;
2121
2256
  --univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color) !important;
@@ -2152,6 +2287,12 @@
2152
2287
  background-color: #0000 !important;
2153
2288
  }
2154
2289
 
2290
+ .dark\:hover\:univer-bg-red-950:hover:where(.univer-dark, .univer-dark *) {
2291
+ --univer-tw-bg-opacity: 1;
2292
+ background-color: #450a0a;
2293
+ background-color: rgba(69, 10, 10, var(--univer-tw-bg-opacity, 1));
2294
+ }
2295
+
2155
2296
  .dark\:hover\:\!univer-text-gray-0:hover:where(.univer-dark, .univer-dark *) {
2156
2297
  color: var(--univer-gray-0) !important;
2157
2298
  }
@@ -2169,7 +2310,7 @@
2169
2310
  background-color: #0000 !important;
2170
2311
  }
2171
2312
 
2172
- .dark\:focus\:\!univer-ring-primary-300:focus:where(.univer-dark, .univer-dark *) {
2313
+ .dark\:focus-visible\:\!univer-ring-primary-300:focus-visible:where(.univer-dark, .univer-dark *) {
2173
2314
  --univer-tw-ring-color: var(--univer-primary-300) !important;
2174
2315
  }
2175
2316
 
@@ -2409,6 +2550,11 @@
2409
2550
  line-height: 1;
2410
2551
  }
2411
2552
 
2553
+ .\[\&_\.univer-text-sm\:not\(svg\)\]\:univer-text-xs .univer-text-sm:not(svg) {
2554
+ font-size: .75rem;
2555
+ line-height: 1rem;
2556
+ }
2557
+
2412
2558
  .\[\&_\.univer-toolbar-button-selector-main\]\:\!univer-h-8 .univer-toolbar-button-selector-main {
2413
2559
  height: 2rem !important;
2414
2560
  }
@@ -2509,6 +2655,10 @@
2509
2655
  width: 100%;
2510
2656
  }
2511
2657
 
2658
+ .\[\&_\[data-u-command\]\]\:univer-animate-none [data-u-command] {
2659
+ animation: none;
2660
+ }
2661
+
2512
2662
  .\[\&_\[data-u-command\]\]\:\!univer-rounded-md [data-u-command] {
2513
2663
  border-radius: .375rem !important;
2514
2664
  }
@@ -2518,6 +2668,10 @@
2518
2668
  padding-right: .375rem !important;
2519
2669
  }
2520
2670
 
2671
+ .\[\&_\[data-u-comp\=\'button\'\]\]\:univer-gap-1 [data-u-comp="button"] {
2672
+ gap: .25rem;
2673
+ }
2674
+
2521
2675
  .\[\&_button\:active\]\:\!univer-opacity-70 button:active {
2522
2676
  opacity: .7 !important;
2523
2677
  }
@@ -2670,6 +2824,11 @@
2670
2824
  text-align: center;
2671
2825
  }
2672
2826
 
2827
+ .\[\&_input\]\:\!univer-text-xs input {
2828
+ font-size: .75rem !important;
2829
+ line-height: 1rem !important;
2830
+ }
2831
+
2673
2832
  .\[\&_input\]\:univer-text-sm input {
2674
2833
  font-size: .875rem;
2675
2834
  line-height: 1.25rem;