@univerjs/drawing-ui 1.0.0-rc.0 → 1.0.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 (105) hide show
  1. package/lib/cjs/index.js +3939 -2385
  2. package/lib/cjs/locale/ar-SA.js +6 -1
  3. package/lib/cjs/locale/ca-ES.js +6 -1
  4. package/lib/cjs/locale/de-DE.js +6 -1
  5. package/lib/cjs/locale/en-US.js +6 -1
  6. package/lib/cjs/locale/es-ES.js +6 -1
  7. package/lib/cjs/locale/fa-IR.js +6 -1
  8. package/lib/cjs/locale/fr-FR.js +6 -1
  9. package/lib/cjs/locale/id-ID.js +6 -1
  10. package/lib/cjs/locale/it-IT.js +6 -1
  11. package/lib/cjs/locale/ja-JP.js +6 -1
  12. package/lib/cjs/locale/ko-KR.js +6 -1
  13. package/lib/cjs/locale/pl-PL.js +6 -1
  14. package/lib/cjs/locale/pt-BR.js +6 -1
  15. package/lib/cjs/locale/ru-RU.js +6 -1
  16. package/lib/cjs/locale/sk-SK.js +6 -1
  17. package/lib/cjs/locale/vi-VN.js +6 -1
  18. package/lib/cjs/locale/zh-CN.js +6 -1
  19. package/lib/cjs/locale/zh-HK.js +6 -1
  20. package/lib/cjs/locale/zh-TW.js +6 -1
  21. package/lib/es/index.js +3944 -2390
  22. package/lib/es/locale/ar-SA.js +6 -0
  23. package/lib/es/locale/ca-ES.js +6 -0
  24. package/lib/es/locale/de-DE.js +6 -0
  25. package/lib/es/locale/en-US.js +6 -0
  26. package/lib/es/locale/es-ES.js +6 -0
  27. package/lib/es/locale/fa-IR.js +6 -0
  28. package/lib/es/locale/fr-FR.js +6 -0
  29. package/lib/es/locale/id-ID.js +6 -0
  30. package/lib/es/locale/it-IT.js +6 -0
  31. package/lib/es/locale/ja-JP.js +6 -0
  32. package/lib/es/locale/ko-KR.js +6 -0
  33. package/lib/es/locale/pl-PL.js +6 -0
  34. package/lib/es/locale/pt-BR.js +6 -0
  35. package/lib/es/locale/ru-RU.js +6 -0
  36. package/lib/es/locale/sk-SK.js +6 -0
  37. package/lib/es/locale/vi-VN.js +6 -0
  38. package/lib/es/locale/zh-CN.js +6 -0
  39. package/lib/es/locale/zh-HK.js +6 -0
  40. package/lib/es/locale/zh-TW.js +6 -0
  41. package/lib/index.css +135 -0
  42. package/lib/index.js +3944 -2390
  43. package/lib/locale/ar-SA.js +6 -0
  44. package/lib/locale/ca-ES.js +6 -0
  45. package/lib/locale/de-DE.js +6 -0
  46. package/lib/locale/en-US.js +6 -0
  47. package/lib/locale/es-ES.js +6 -0
  48. package/lib/locale/fa-IR.js +6 -0
  49. package/lib/locale/fr-FR.js +6 -0
  50. package/lib/locale/id-ID.js +6 -0
  51. package/lib/locale/it-IT.js +6 -0
  52. package/lib/locale/ja-JP.js +6 -0
  53. package/lib/locale/ko-KR.js +6 -0
  54. package/lib/locale/pl-PL.js +6 -0
  55. package/lib/locale/pt-BR.js +6 -0
  56. package/lib/locale/ru-RU.js +6 -0
  57. package/lib/locale/sk-SK.js +6 -0
  58. package/lib/locale/vi-VN.js +6 -0
  59. package/lib/locale/zh-CN.js +6 -0
  60. package/lib/locale/zh-HK.js +6 -0
  61. package/lib/locale/zh-TW.js +6 -0
  62. package/lib/types/commands/operations/drawing-group.operation.d.ts +1 -1
  63. package/lib/types/controllers/image-cropper.controller.d.ts +2 -1
  64. package/lib/types/controllers/image-update.controller.d.ts +2 -5
  65. package/lib/types/controllers/mobile/image-cropper.controller.d.ts +51 -0
  66. package/lib/types/controllers/mobile/image-update.controller.d.ts +39 -0
  67. package/lib/types/controllers/mobile/ui.controller.d.ts +27 -0
  68. package/lib/types/controllers/utils.d.ts +5 -3
  69. package/lib/types/index.d.ts +4 -1
  70. package/lib/types/locale/en-US.d.ts +6 -0
  71. package/lib/types/utils/image-crop-transform.d.ts +31 -0
  72. package/lib/types/views/crop/MobileCropActions.d.ts +16 -0
  73. package/lib/types/views/image-popup-menu/ImagePopupMenu.d.ts +2 -1
  74. package/lib/types/views/image-popup-menu/MobileImagePopupMenu.d.ts +2 -1
  75. package/lib/types/views/image-preview/mobile-image-preview-button.d.ts +37 -0
  76. package/lib/types/views/object-list-panel/MobileObjectListPanel.d.ts +17 -0
  77. package/lib/types/views/object-list-panel/ObjectListPanelBase.d.ts +71 -6
  78. package/lib/types/views/panel/DrawingCommonPanel.d.ts +1 -0
  79. package/lib/types/views/panel/ImageCropper.d.ts +1 -0
  80. package/lib/types/views/panel/MobileDrawingArrange.d.ts +22 -0
  81. package/lib/types/views/panel/MobileDrawingControls.d.ts +32 -0
  82. package/lib/types/views/panel/MobileImageCropper.d.ts +17 -0
  83. package/lib/types/views/panel/component-name.d.ts +20 -0
  84. package/lib/types/views/panel/use-image-cropper.d.ts +31 -0
  85. package/lib/umd/index.js +8 -2
  86. package/lib/umd/locale/ar-SA.js +1 -1
  87. package/lib/umd/locale/ca-ES.js +1 -1
  88. package/lib/umd/locale/de-DE.js +1 -1
  89. package/lib/umd/locale/en-US.js +1 -1
  90. package/lib/umd/locale/es-ES.js +1 -1
  91. package/lib/umd/locale/fa-IR.js +1 -1
  92. package/lib/umd/locale/fr-FR.js +1 -1
  93. package/lib/umd/locale/id-ID.js +1 -1
  94. package/lib/umd/locale/it-IT.js +1 -1
  95. package/lib/umd/locale/ja-JP.js +1 -1
  96. package/lib/umd/locale/ko-KR.js +1 -1
  97. package/lib/umd/locale/pl-PL.js +1 -1
  98. package/lib/umd/locale/pt-BR.js +1 -1
  99. package/lib/umd/locale/ru-RU.js +1 -1
  100. package/lib/umd/locale/sk-SK.js +1 -1
  101. package/lib/umd/locale/vi-VN.js +1 -1
  102. package/lib/umd/locale/zh-CN.js +1 -1
  103. package/lib/umd/locale/zh-HK.js +1 -1
  104. package/lib/umd/locale/zh-TW.js +1 -1
  105. package/package.json +10 -10
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/ar-SA.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "إغلاق",
5
+ more: "المزيد"
6
+ },
3
7
  "image-cropper": { error: "لا يمكن قص الكائنات غير الصورية." },
4
8
  objectListPanel: {
5
9
  title: "الطبقات",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "قفل النسبة (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "إلغاء",
76
+ apply: "تم",
71
77
  title: "قص",
72
78
  start: "بدء القص",
73
79
  mode: "حر"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/ca-ES.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Tanca",
5
+ more: "Més"
6
+ },
3
7
  "image-cropper": { error: "No es poden retallar objectes que no siguin imatges." },
4
8
  objectListPanel: {
5
9
  title: "Capes",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Bloca proporció (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Cancel·la",
76
+ apply: "Fet",
71
77
  title: "Retalla",
72
78
  start: "Inicia retallada",
73
79
  mode: "Lliure"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/de-DE.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Schließen",
5
+ more: "Mehr"
6
+ },
3
7
  "image-cropper": { error: "Nicht-Bildobjekte können nicht zugeschnitten werden." },
4
8
  objectListPanel: {
5
9
  title: "Ebenen",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Verhältnis sperren (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Abbrechen",
76
+ apply: "Fertig",
71
77
  title: "Zuschneiden",
72
78
  start: "Zuschneiden starten",
73
79
  mode: "Frei"
@@ -15,6 +15,10 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  const locale = { "drawing-ui": {
18
+ mobile: {
19
+ close: "Close",
20
+ more: "More"
21
+ },
18
22
  "image-cropper": { error: "Cannot crop non-image objects." },
19
23
  objectListPanel: {
20
24
  title: "Layers",
@@ -83,6 +87,8 @@ const locale = { "drawing-ui": {
83
87
  lock: "Lock Ratio (%)"
84
88
  },
85
89
  crop: {
90
+ cancel: "Cancel",
91
+ apply: "Done",
86
92
  title: "Crop",
87
93
  start: "Start Crop",
88
94
  mode: "Free"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/es-ES.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Cerrar",
5
+ more: "Más"
6
+ },
3
7
  "image-cropper": { error: "No se pueden recortar objetos que no sean imágenes." },
4
8
  objectListPanel: {
5
9
  title: "Capas",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Bloquear proporción (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Cancelar",
76
+ apply: "Listo",
71
77
  title: "Recortar",
72
78
  start: "Iniciar recorte",
73
79
  mode: "Libre"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/fa-IR.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "بستن",
5
+ more: "بیشتر"
6
+ },
3
7
  "image-cropper": { error: "کراپ کردن اشیاء غیرتصویری امکان‌پذیر نیست." },
4
8
  objectListPanel: {
5
9
  title: "لایه‌ها",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "قفل نسبت (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "لغو",
76
+ apply: "انجام شد",
71
77
  title: "کراپ",
72
78
  start: "شروع کراپ",
73
79
  mode: "آزاد"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/fr-FR.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Fermer",
5
+ more: "Plus"
6
+ },
3
7
  "image-cropper": { error: "Impossible de rogner des objets non image." },
4
8
  objectListPanel: {
5
9
  title: "Calques",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Verrouiller le ratio (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Annuler",
76
+ apply: "Terminé",
71
77
  title: "Rogner",
72
78
  start: "Commencer à rogner",
73
79
  mode: "Libre"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/id-ID.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Tutup",
5
+ more: "Lebih Banyak"
6
+ },
3
7
  "image-cropper": { error: "Tidak dapat memangkas objek non-gambar." },
4
8
  objectListPanel: {
5
9
  title: "Lapisan",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Kunci Rasio (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Batal",
76
+ apply: "Selesai",
71
77
  title: "Pangkas",
72
78
  start: "Mulai Pangkas",
73
79
  mode: "Bebas"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/it-IT.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Chiudi",
5
+ more: "Altro"
6
+ },
3
7
  "image-cropper": { error: "Impossibile ritagliare oggetti non immagine." },
4
8
  objectListPanel: {
5
9
  title: "Livelli",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Blocca proporzioni (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Annulla",
76
+ apply: "Fine",
71
77
  title: "Ritaglia",
72
78
  start: "Inizia ritaglio",
73
79
  mode: "Libero"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/ja-JP.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "閉じる",
5
+ more: "もっと見る"
6
+ },
3
7
  "image-cropper": { error: "画像以外のオブジェクトはトリミングできません。" },
4
8
  objectListPanel: {
5
9
  title: "レイヤー",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "縦横比を固定 (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "キャンセル",
76
+ apply: "完了",
71
77
  title: "トリミング",
72
78
  start: "トリミングを開始",
73
79
  mode: "自由モード"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/ko-KR.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "닫기",
5
+ more: "더 보기"
6
+ },
3
7
  "image-cropper": { error: "이미지가 아닌 객체는 자를 수 없습니다." },
4
8
  objectListPanel: {
5
9
  title: "레이어",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "비율 고정 (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "취소",
76
+ apply: "완료",
71
77
  title: "자르기",
72
78
  start: "자르기 시작",
73
79
  mode: "자유 모드"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/pl-PL.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Zamknij",
5
+ more: "Więcej"
6
+ },
3
7
  "image-cropper": { error: "Nie można przyciąć obiektów innych niż obraz." },
4
8
  objectListPanel: {
5
9
  title: "Warstwy",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Zablokuj proporcje (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Anuluj",
76
+ apply: "Gotowe",
71
77
  title: "Przytnij",
72
78
  start: "Rozpocznij przycinanie",
73
79
  mode: "Dowolny"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/pt-BR.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Fechar",
5
+ more: "Mais"
6
+ },
3
7
  "image-cropper": { error: "Não é possível cortar objetos que não são imagens." },
4
8
  objectListPanel: {
5
9
  title: "Camadas",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Bloquear proporção (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Cancelar",
76
+ apply: "Concluído",
71
77
  title: "Cortar",
72
78
  start: "Iniciar corte",
73
79
  mode: "Livre"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/ru-RU.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Закрыть",
5
+ more: "Больше"
6
+ },
3
7
  "image-cropper": { error: "Невозможно обрезать не изображения." },
4
8
  objectListPanel: {
5
9
  title: "Слои",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Заблокировать пропорции (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Отмена",
76
+ apply: "Готово",
71
77
  title: "Обрезка",
72
78
  start: "Начать обрезку",
73
79
  mode: "Свободный"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/sk-SK.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Zavrieť",
5
+ more: "Viac"
6
+ },
3
7
  "image-cropper": { error: "Nedá sa orezať neobrázkový objekt." },
4
8
  objectListPanel: {
5
9
  title: "Vrstvy",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Uzamknúť pomer (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Zrušiť",
76
+ apply: "Hotovo",
71
77
  title: "Orezanie",
72
78
  start: "Začať orezanie",
73
79
  mode: "Voľne"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/vi-VN.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "Đóng",
5
+ more: "Thêm"
6
+ },
3
7
  "image-cropper": { error: "Không thể cắt phần tử không phải hình ảnh" },
4
8
  objectListPanel: {
5
9
  title: "Lớp",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "Khóa tỷ lệ (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "Hủy",
76
+ apply: "Xong",
71
77
  title: "Cắt",
72
78
  start: "Bắt đầu cắt",
73
79
  mode: "Cắt tự do tỷ lệ"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/zh-CN.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "关闭",
5
+ more: "更多"
6
+ },
3
7
  "image-cropper": { error: "无法裁剪非图片元素" },
4
8
  objectListPanel: {
5
9
  title: "图层",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "锁定比例 (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "取消",
76
+ apply: "完成",
71
77
  title: "裁剪",
72
78
  start: "开始裁剪",
73
79
  mode: "自由比例裁剪"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/zh-HK.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "關閉",
5
+ more: "更多"
6
+ },
3
7
  "image-cropper": { error: "無法裁切非圖片元素" },
4
8
  objectListPanel: {
5
9
  title: "圖層",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "鎖定比例 (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "取消",
76
+ apply: "完成",
71
77
  title: "裁切",
72
78
  start: "開始裁切",
73
79
  mode: "自由比例裁切"
@@ -1,5 +1,9 @@
1
1
  //#region src/locale/zh-TW.ts
2
2
  const locale = { "drawing-ui": {
3
+ mobile: {
4
+ close: "關閉",
5
+ more: "更多"
6
+ },
3
7
  "image-cropper": { error: "無法裁切非圖片元素" },
4
8
  objectListPanel: {
5
9
  title: "圖層",
@@ -68,6 +72,8 @@ const locale = { "drawing-ui": {
68
72
  lock: "鎖定比例 (%)"
69
73
  },
70
74
  crop: {
75
+ cancel: "取消",
76
+ apply: "完成",
71
77
  title: "裁切",
72
78
  start: "開始裁切",
73
79
  mode: "自由比例裁切"
package/lib/index.css CHANGED
@@ -1,7 +1,28 @@
1
+ .univer-absolute {
2
+ position: absolute;
3
+ }
4
+
1
5
  .univer-relative {
2
6
  position: relative;
3
7
  }
4
8
 
9
+ .univer-inset-x-0 {
10
+ left: 0;
11
+ right: 0;
12
+ }
13
+
14
+ .univer-bottom-0 {
15
+ bottom: 0;
16
+ }
17
+
18
+ .univer-z-\[1200\] {
19
+ z-index: 1200;
20
+ }
21
+
22
+ .univer-m-0 {
23
+ margin: 0;
24
+ }
25
+
5
26
  .univer-mt-2\.5 {
6
27
  margin-top: .625rem;
7
28
  }
@@ -26,6 +47,11 @@
26
47
  display: none;
27
48
  }
28
49
 
50
+ .univer-size-11 {
51
+ width: 2.75rem;
52
+ height: 2.75rem;
53
+ }
54
+
29
55
  .univer-size-4 {
30
56
  width: 1rem;
31
57
  height: 1rem;
@@ -50,6 +76,14 @@
50
76
  height: 1.75rem !important;
51
77
  }
52
78
 
79
+ .univer-h-11 {
80
+ height: 2.75rem;
81
+ }
82
+
83
+ .univer-h-12 {
84
+ height: 3rem;
85
+ }
86
+
53
87
  .univer-h-6 {
54
88
  height: 1.5rem;
55
89
  }
@@ -62,6 +96,10 @@
62
96
  height: 2rem;
63
97
  }
64
98
 
99
+ .univer-h-auto {
100
+ height: auto;
101
+ }
102
+
65
103
  .univer-h-full {
66
104
  height: 100%;
67
105
  }
@@ -70,6 +108,10 @@
70
108
  min-height: 0;
71
109
  }
72
110
 
111
+ .univer-min-h-12 {
112
+ min-height: 3rem;
113
+ }
114
+
73
115
  .univer-min-h-16 {
74
116
  min-height: 4rem;
75
117
  }
@@ -78,6 +120,10 @@
78
120
  width: 0;
79
121
  }
80
122
 
123
+ .univer-w-2 {
124
+ width: .5rem;
125
+ }
126
+
81
127
  .univer-w-6 {
82
128
  width: 1.5rem;
83
129
  }
@@ -106,6 +152,10 @@
106
152
  flex: 1;
107
153
  }
108
154
 
155
+ .univer-flex-none {
156
+ flex: none;
157
+ }
158
+
109
159
  .univer-shrink-0 {
110
160
  flex-shrink: 0;
111
161
  }
@@ -146,6 +196,10 @@
146
196
  align-items: center;
147
197
  }
148
198
 
199
+ .univer-justify-end {
200
+ justify-content: flex-end;
201
+ }
202
+
149
203
  .univer-justify-center {
150
204
  justify-content: center;
151
205
  }
@@ -178,6 +232,10 @@
178
232
  overflow: hidden;
179
233
  }
180
234
 
235
+ .univer-overflow-visible {
236
+ overflow: visible;
237
+ }
238
+
181
239
  .univer-overflow-y-auto {
182
240
  overflow-y: auto;
183
241
  }
@@ -216,6 +274,10 @@
216
274
  border-radius: .375rem;
217
275
  }
218
276
 
277
+ .univer-rounded-xl {
278
+ border-radius: .75rem;
279
+ }
280
+
219
281
  .univer-border {
220
282
  border-width: 1px;
221
283
  }
@@ -256,6 +318,10 @@
256
318
  background-color: var(--univer-gray-900) !important;
257
319
  }
258
320
 
321
+ .\!univer-bg-primary-600 {
322
+ background-color: var(--univer-primary-600) !important;
323
+ }
324
+
259
325
  .\!univer-bg-transparent {
260
326
  background-color: #0000 !important;
261
327
  }
@@ -268,6 +334,10 @@
268
334
  background-color: var(--univer-gray-100);
269
335
  }
270
336
 
337
+ .univer-bg-gray-50 {
338
+ background-color: var(--univer-gray-50);
339
+ }
340
+
271
341
  .univer-bg-primary-50 {
272
342
  background-color: var(--univer-primary-50);
273
343
  }
@@ -326,11 +396,24 @@
326
396
  padding-bottom: .5rem;
327
397
  }
328
398
 
399
+ .univer-py-3 {
400
+ padding-top: .75rem;
401
+ padding-bottom: .75rem;
402
+ }
403
+
329
404
  .univer-py-6 {
330
405
  padding-top: 1.5rem;
331
406
  padding-bottom: 1.5rem;
332
407
  }
333
408
 
409
+ .univer-pb-4 {
410
+ padding-bottom: 1rem;
411
+ }
412
+
413
+ .univer-pb-\[max\(12px\,env\(safe-area-inset-bottom\)\)\] {
414
+ padding-bottom: max(12px,env(safe-area-inset-bottom));
415
+ }
416
+
334
417
  .univer-pr-1\.5 {
335
418
  padding-right: .375rem;
336
419
  }
@@ -351,10 +434,25 @@
351
434
  text-align: center;
352
435
  }
353
436
 
437
+ .\!univer-text-base {
438
+ font-size: 1rem !important;
439
+ line-height: 1.5rem !important;
440
+ }
441
+
354
442
  .univer-text-\[10px\] {
355
443
  font-size: 10px;
356
444
  }
357
445
 
446
+ .univer-text-base {
447
+ font-size: 1rem;
448
+ line-height: 1.5rem;
449
+ }
450
+
451
+ .univer-text-lg {
452
+ font-size: 1.125rem;
453
+ line-height: 1.75rem;
454
+ }
455
+
358
456
  .univer-text-sm {
359
457
  font-size: .875rem;
360
458
  line-height: 1.25rem;
@@ -381,6 +479,11 @@
381
479
  color: var(--univer-primary-300) !important;
382
480
  }
383
481
 
482
+ .\!univer-text-white {
483
+ --univer-tw-text-opacity: 1 !important;
484
+ color: rgba(255, 255, 255, var(--univer-tw-text-opacity, 1)) !important;
485
+ }
486
+
384
487
  .univer-text-gray-400 {
385
488
  color: var(--univer-gray-400);
386
489
  }
@@ -451,6 +554,14 @@
451
554
  transition-delay: .1s;
452
555
  }
453
556
 
557
+ .aria-pressed\:\!univer-bg-primary-50[aria-pressed="true"] {
558
+ background-color: var(--univer-primary-50) !important;
559
+ }
560
+
561
+ .aria-pressed\:\!univer-text-primary-600[aria-pressed="true"] {
562
+ color: var(--univer-primary-600) !important;
563
+ }
564
+
454
565
  @media (hover: hover) and (pointer: fine) {
455
566
  .hover\:univer-bg-gray-100:hover {
456
567
  background-color: var(--univer-gray-100);
@@ -503,6 +614,21 @@
503
614
  --univer-tw-ring-color: var(--univer-primary-100);
504
615
  }
505
616
 
617
+ .active\:univer-scale-95:active {
618
+ --univer-tw-scale-x: .95;
619
+ --univer-tw-scale-y: .95;
620
+ 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(.95) scaleY(.95);
621
+ 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));
622
+ }
623
+
624
+ .active\:univer-bg-primary-100:active {
625
+ background-color: var(--univer-primary-100);
626
+ }
627
+
628
+ .active\:univer-text-primary-600:active {
629
+ color: var(--univer-primary-600);
630
+ }
631
+
506
632
  .disabled\:univer-cursor-default:disabled {
507
633
  cursor: default;
508
634
  }
@@ -620,3 +746,12 @@
620
746
  .\[\&\>div\]\:univer-gap-2 > div {
621
747
  gap: .5rem;
622
748
  }
749
+
750
+ .\[\&_input\]\:\!univer-h-12 input {
751
+ height: 3rem !important;
752
+ }
753
+
754
+ .\[\&_input\]\:\!univer-text-base input {
755
+ font-size: 1rem !important;
756
+ line-height: 1.5rem !important;
757
+ }