@univerjs/preset-docs-drawing 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 (41) hide show
  1. package/lib/cjs/locales/ar-SA.js +1 -1
  2. package/lib/cjs/locales/ca-ES.js +1 -1
  3. package/lib/cjs/locales/de-DE.js +1 -1
  4. package/lib/cjs/locales/en-US.js +1 -1
  5. package/lib/cjs/locales/es-ES.js +1 -1
  6. package/lib/cjs/locales/fa-IR.js +1 -1
  7. package/lib/cjs/locales/fr-FR.js +1 -1
  8. package/lib/cjs/locales/id-ID.js +1 -1
  9. package/lib/cjs/locales/it-IT.js +1 -1
  10. package/lib/cjs/locales/ja-JP.js +1 -1
  11. package/lib/cjs/locales/ko-KR.js +1 -1
  12. package/lib/cjs/locales/pl-PL.js +1 -1
  13. package/lib/cjs/locales/pt-BR.js +1 -1
  14. package/lib/cjs/locales/ru-RU.js +1 -1
  15. package/lib/cjs/locales/sk-SK.js +1 -1
  16. package/lib/cjs/locales/vi-VN.js +1 -1
  17. package/lib/cjs/locales/zh-CN.js +1 -1
  18. package/lib/cjs/locales/zh-HK.js +1 -1
  19. package/lib/cjs/locales/zh-TW.js +1 -1
  20. package/lib/cjs/{rolldown-runtime-C_NdSu1c.js → rolldown-runtime-C24Yb2bl.js} +1 -2
  21. package/lib/index.css +218 -0
  22. package/lib/types/locales/ar-SA.d.ts +6 -0
  23. package/lib/types/locales/ca-ES.d.ts +6 -0
  24. package/lib/types/locales/de-DE.d.ts +6 -0
  25. package/lib/types/locales/en-US.d.ts +6 -0
  26. package/lib/types/locales/es-ES.d.ts +6 -0
  27. package/lib/types/locales/fa-IR.d.ts +6 -0
  28. package/lib/types/locales/fr-FR.d.ts +6 -0
  29. package/lib/types/locales/id-ID.d.ts +6 -0
  30. package/lib/types/locales/it-IT.d.ts +6 -0
  31. package/lib/types/locales/ja-JP.d.ts +6 -0
  32. package/lib/types/locales/ko-KR.d.ts +6 -0
  33. package/lib/types/locales/pl-PL.d.ts +6 -0
  34. package/lib/types/locales/pt-BR.d.ts +6 -0
  35. package/lib/types/locales/ru-RU.d.ts +6 -0
  36. package/lib/types/locales/sk-SK.d.ts +6 -0
  37. package/lib/types/locales/vi-VN.d.ts +6 -0
  38. package/lib/types/locales/zh-CN.d.ts +6 -0
  39. package/lib/types/locales/zh-HK.d.ts +6 -0
  40. package/lib/types/locales/zh-TW.d.ts +6 -0
  41. package/package.json +9 -9
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_ar_SA = require("@univerjs/docs-drawing-ui/locale/ar-SA");
3
3
  _univerjs_docs_drawing_ui_locale_ar_SA = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_ar_SA);
4
4
  let _univerjs_drawing_ui_locale_ar_SA = require("@univerjs/drawing-ui/locale/ar-SA");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_ca_ES = require("@univerjs/docs-drawing-ui/locale/ca-ES");
3
3
  _univerjs_docs_drawing_ui_locale_ca_ES = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_ca_ES);
4
4
  let _univerjs_drawing_ui_locale_ca_ES = require("@univerjs/drawing-ui/locale/ca-ES");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_de_DE = require("@univerjs/docs-drawing-ui/locale/de-DE");
3
3
  _univerjs_docs_drawing_ui_locale_de_DE = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_de_DE);
4
4
  let _univerjs_drawing_ui_locale_de_DE = require("@univerjs/drawing-ui/locale/de-DE");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_en_US = require("@univerjs/docs-drawing-ui/locale/en-US");
3
3
  _univerjs_docs_drawing_ui_locale_en_US = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_en_US);
4
4
  let _univerjs_drawing_ui_locale_en_US = require("@univerjs/drawing-ui/locale/en-US");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_es_ES = require("@univerjs/docs-drawing-ui/locale/es-ES");
3
3
  _univerjs_docs_drawing_ui_locale_es_ES = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_es_ES);
4
4
  let _univerjs_drawing_ui_locale_es_ES = require("@univerjs/drawing-ui/locale/es-ES");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_fa_IR = require("@univerjs/docs-drawing-ui/locale/fa-IR");
3
3
  _univerjs_docs_drawing_ui_locale_fa_IR = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_fa_IR);
4
4
  let _univerjs_drawing_ui_locale_fa_IR = require("@univerjs/drawing-ui/locale/fa-IR");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_fr_FR = require("@univerjs/docs-drawing-ui/locale/fr-FR");
3
3
  _univerjs_docs_drawing_ui_locale_fr_FR = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_fr_FR);
4
4
  let _univerjs_drawing_ui_locale_fr_FR = require("@univerjs/drawing-ui/locale/fr-FR");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_id_ID = require("@univerjs/docs-drawing-ui/locale/id-ID");
3
3
  _univerjs_docs_drawing_ui_locale_id_ID = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_id_ID);
4
4
  let _univerjs_drawing_ui_locale_id_ID = require("@univerjs/drawing-ui/locale/id-ID");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_it_IT = require("@univerjs/docs-drawing-ui/locale/it-IT");
3
3
  _univerjs_docs_drawing_ui_locale_it_IT = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_it_IT);
4
4
  let _univerjs_drawing_ui_locale_it_IT = require("@univerjs/drawing-ui/locale/it-IT");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_ja_JP = require("@univerjs/docs-drawing-ui/locale/ja-JP");
3
3
  _univerjs_docs_drawing_ui_locale_ja_JP = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_ja_JP);
4
4
  let _univerjs_drawing_ui_locale_ja_JP = require("@univerjs/drawing-ui/locale/ja-JP");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_ko_KR = require("@univerjs/docs-drawing-ui/locale/ko-KR");
3
3
  _univerjs_docs_drawing_ui_locale_ko_KR = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_ko_KR);
4
4
  let _univerjs_drawing_ui_locale_ko_KR = require("@univerjs/drawing-ui/locale/ko-KR");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_pl_PL = require("@univerjs/docs-drawing-ui/locale/pl-PL");
3
3
  _univerjs_docs_drawing_ui_locale_pl_PL = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_pl_PL);
4
4
  let _univerjs_drawing_ui_locale_pl_PL = require("@univerjs/drawing-ui/locale/pl-PL");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_pt_BR = require("@univerjs/docs-drawing-ui/locale/pt-BR");
3
3
  _univerjs_docs_drawing_ui_locale_pt_BR = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_pt_BR);
4
4
  let _univerjs_drawing_ui_locale_pt_BR = require("@univerjs/drawing-ui/locale/pt-BR");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_ru_RU = require("@univerjs/docs-drawing-ui/locale/ru-RU");
3
3
  _univerjs_docs_drawing_ui_locale_ru_RU = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_ru_RU);
4
4
  let _univerjs_drawing_ui_locale_ru_RU = require("@univerjs/drawing-ui/locale/ru-RU");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_sk_SK = require("@univerjs/docs-drawing-ui/locale/sk-SK");
3
3
  _univerjs_docs_drawing_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_sk_SK);
4
4
  let _univerjs_drawing_ui_locale_sk_SK = require("@univerjs/drawing-ui/locale/sk-SK");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_vi_VN = require("@univerjs/docs-drawing-ui/locale/vi-VN");
3
3
  _univerjs_docs_drawing_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_vi_VN);
4
4
  let _univerjs_drawing_ui_locale_vi_VN = require("@univerjs/drawing-ui/locale/vi-VN");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_zh_CN = require("@univerjs/docs-drawing-ui/locale/zh-CN");
3
3
  _univerjs_docs_drawing_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_zh_CN);
4
4
  let _univerjs_drawing_ui_locale_zh_CN = require("@univerjs/drawing-ui/locale/zh-CN");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_zh_HK = require("@univerjs/docs-drawing-ui/locale/zh-HK");
3
3
  _univerjs_docs_drawing_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_zh_HK);
4
4
  let _univerjs_drawing_ui_locale_zh_HK = require("@univerjs/drawing-ui/locale/zh-HK");
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('../rolldown-runtime-C_NdSu1c.js');
1
+ const require_rolldown_runtime = require('../rolldown-runtime-C24Yb2bl.js');
2
2
  let _univerjs_docs_drawing_ui_locale_zh_TW = require("@univerjs/docs-drawing-ui/locale/zh-TW");
3
3
  _univerjs_docs_drawing_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_docs_drawing_ui_locale_zh_TW);
4
4
  let _univerjs_drawing_ui_locale_zh_TW = require("@univerjs/drawing-ui/locale/zh-TW");
@@ -19,13 +19,12 @@ var __copyProps = (to, from, except, desc) => {
19
19
  }
20
20
  return to;
21
21
  };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
23
23
  value: mod,
24
24
  enumerable: true
25
25
  }) : target, mod));
26
26
 
27
27
  //#endregion
28
-
29
28
  Object.defineProperty(exports, '__toESM', {
30
29
  enumerable: true,
31
30
  get: function () {
package/lib/index.css CHANGED
@@ -10,6 +10,14 @@
10
10
  top: 0;
11
11
  }
12
12
 
13
+ .univer-m-0 {
14
+ margin: 0;
15
+ }
16
+
17
+ .univer-flex {
18
+ display: flex;
19
+ }
20
+
13
21
  .univer-grid {
14
22
  display: grid;
15
23
  }
@@ -18,24 +26,78 @@
18
26
  display: none;
19
27
  }
20
28
 
29
+ .univer-h-12 {
30
+ height: 3rem;
31
+ }
32
+
33
+ .univer-w-full {
34
+ width: 100%;
35
+ }
36
+
37
+ .univer-min-w-0 {
38
+ min-width: 0;
39
+ }
40
+
21
41
  .univer-grid-cols-2 {
22
42
  grid-template-columns: repeat(2, minmax(0, 1fr));
23
43
  }
24
44
 
45
+ .univer-grid-cols-3 {
46
+ grid-template-columns: repeat(3, minmax(0, 1fr));
47
+ }
48
+
49
+ .univer-flex-col {
50
+ flex-direction: column;
51
+ }
52
+
25
53
  .univer-gap-2 {
26
54
  gap: .5rem;
27
55
  }
28
56
 
57
+ .univer-gap-3 {
58
+ gap: .75rem;
59
+ }
60
+
61
+ .univer-gap-4 {
62
+ gap: 1rem;
63
+ }
64
+
65
+ .univer-gap-5 {
66
+ gap: 1.25rem;
67
+ }
68
+
69
+ .univer-px-2 {
70
+ padding-left: .5rem;
71
+ padding-right: .5rem;
72
+ }
73
+
74
+ .univer-px-3 {
75
+ padding-left: .75rem;
76
+ padding-right: .75rem;
77
+ }
78
+
29
79
  .univer-py-2 {
30
80
  padding-top: .5rem;
31
81
  padding-bottom: .5rem;
32
82
  }
33
83
 
84
+ .univer-pb-2 {
85
+ padding-bottom: .5rem;
86
+ }
87
+
88
+ .univer-text-center {
89
+ text-align: center;
90
+ }
91
+
34
92
  .univer-text-sm {
35
93
  font-size: .875rem;
36
94
  line-height: 1.25rem;
37
95
  }
38
96
 
97
+ .univer-font-medium {
98
+ font-weight: 500;
99
+ }
100
+
39
101
  .univer-text-gray-400 {
40
102
  color: var(--univer-gray-400);
41
103
  }
@@ -44,6 +106,18 @@
44
106
  color: var(--univer-gray-600);
45
107
  }
46
108
 
109
+ .univer-text-primary-600 {
110
+ color: var(--univer-primary-600);
111
+ }
112
+
113
+ .aria-pressed\:\!univer-bg-primary-50[aria-pressed="true"] {
114
+ background-color: var(--univer-primary-50) !important;
115
+ }
116
+
117
+ .aria-pressed\:\!univer-text-primary-600[aria-pressed="true"] {
118
+ color: var(--univer-primary-600) !important;
119
+ }
120
+
47
121
  .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
48
122
  color: var(--univer-gray-200) !important;
49
123
  }
@@ -55,10 +129,40 @@
55
129
  .\[\&\>div\]\:univer-gap-2 > div {
56
130
  gap: .5rem;
57
131
  }
132
+
133
+ .\[\&_input\]\:\!univer-h-12 input {
134
+ height: 3rem !important;
135
+ }
136
+
137
+ .\[\&_input\]\:\!univer-text-base input {
138
+ font-size: 1rem !important;
139
+ line-height: 1.5rem !important;
140
+ }
141
+ .univer-absolute {
142
+ position: absolute;
143
+ }
144
+
58
145
  .univer-relative {
59
146
  position: relative;
60
147
  }
61
148
 
149
+ .univer-inset-x-0 {
150
+ left: 0;
151
+ right: 0;
152
+ }
153
+
154
+ .univer-bottom-0 {
155
+ bottom: 0;
156
+ }
157
+
158
+ .univer-z-\[1200\] {
159
+ z-index: 1200;
160
+ }
161
+
162
+ .univer-m-0 {
163
+ margin: 0;
164
+ }
165
+
62
166
  .univer-mt-2\.5 {
63
167
  margin-top: .625rem;
64
168
  }
@@ -83,6 +187,11 @@
83
187
  display: none;
84
188
  }
85
189
 
190
+ .univer-size-11 {
191
+ width: 2.75rem;
192
+ height: 2.75rem;
193
+ }
194
+
86
195
  .univer-size-4 {
87
196
  width: 1rem;
88
197
  height: 1rem;
@@ -107,6 +216,14 @@
107
216
  height: 1.75rem !important;
108
217
  }
109
218
 
219
+ .univer-h-11 {
220
+ height: 2.75rem;
221
+ }
222
+
223
+ .univer-h-12 {
224
+ height: 3rem;
225
+ }
226
+
110
227
  .univer-h-6 {
111
228
  height: 1.5rem;
112
229
  }
@@ -119,6 +236,10 @@
119
236
  height: 2rem;
120
237
  }
121
238
 
239
+ .univer-h-auto {
240
+ height: auto;
241
+ }
242
+
122
243
  .univer-h-full {
123
244
  height: 100%;
124
245
  }
@@ -127,6 +248,10 @@
127
248
  min-height: 0;
128
249
  }
129
250
 
251
+ .univer-min-h-12 {
252
+ min-height: 3rem;
253
+ }
254
+
130
255
  .univer-min-h-16 {
131
256
  min-height: 4rem;
132
257
  }
@@ -135,6 +260,10 @@
135
260
  width: 0;
136
261
  }
137
262
 
263
+ .univer-w-2 {
264
+ width: .5rem;
265
+ }
266
+
138
267
  .univer-w-6 {
139
268
  width: 1.5rem;
140
269
  }
@@ -163,6 +292,10 @@
163
292
  flex: 1;
164
293
  }
165
294
 
295
+ .univer-flex-none {
296
+ flex: none;
297
+ }
298
+
166
299
  .univer-shrink-0 {
167
300
  flex-shrink: 0;
168
301
  }
@@ -203,6 +336,10 @@
203
336
  align-items: center;
204
337
  }
205
338
 
339
+ .univer-justify-end {
340
+ justify-content: flex-end;
341
+ }
342
+
206
343
  .univer-justify-center {
207
344
  justify-content: center;
208
345
  }
@@ -235,6 +372,10 @@
235
372
  overflow: hidden;
236
373
  }
237
374
 
375
+ .univer-overflow-visible {
376
+ overflow: visible;
377
+ }
378
+
238
379
  .univer-overflow-y-auto {
239
380
  overflow-y: auto;
240
381
  }
@@ -273,6 +414,10 @@
273
414
  border-radius: .375rem;
274
415
  }
275
416
 
417
+ .univer-rounded-xl {
418
+ border-radius: .75rem;
419
+ }
420
+
276
421
  .univer-border {
277
422
  border-width: 1px;
278
423
  }
@@ -313,6 +458,10 @@
313
458
  background-color: var(--univer-gray-900) !important;
314
459
  }
315
460
 
461
+ .\!univer-bg-primary-600 {
462
+ background-color: var(--univer-primary-600) !important;
463
+ }
464
+
316
465
  .\!univer-bg-transparent {
317
466
  background-color: #0000 !important;
318
467
  }
@@ -325,6 +474,10 @@
325
474
  background-color: var(--univer-gray-100);
326
475
  }
327
476
 
477
+ .univer-bg-gray-50 {
478
+ background-color: var(--univer-gray-50);
479
+ }
480
+
328
481
  .univer-bg-primary-50 {
329
482
  background-color: var(--univer-primary-50);
330
483
  }
@@ -383,11 +536,24 @@
383
536
  padding-bottom: .5rem;
384
537
  }
385
538
 
539
+ .univer-py-3 {
540
+ padding-top: .75rem;
541
+ padding-bottom: .75rem;
542
+ }
543
+
386
544
  .univer-py-6 {
387
545
  padding-top: 1.5rem;
388
546
  padding-bottom: 1.5rem;
389
547
  }
390
548
 
549
+ .univer-pb-4 {
550
+ padding-bottom: 1rem;
551
+ }
552
+
553
+ .univer-pb-\[max\(12px\,env\(safe-area-inset-bottom\)\)\] {
554
+ padding-bottom: max(12px,env(safe-area-inset-bottom));
555
+ }
556
+
391
557
  .univer-pr-1\.5 {
392
558
  padding-right: .375rem;
393
559
  }
@@ -408,10 +574,25 @@
408
574
  text-align: center;
409
575
  }
410
576
 
577
+ .\!univer-text-base {
578
+ font-size: 1rem !important;
579
+ line-height: 1.5rem !important;
580
+ }
581
+
411
582
  .univer-text-\[10px\] {
412
583
  font-size: 10px;
413
584
  }
414
585
 
586
+ .univer-text-base {
587
+ font-size: 1rem;
588
+ line-height: 1.5rem;
589
+ }
590
+
591
+ .univer-text-lg {
592
+ font-size: 1.125rem;
593
+ line-height: 1.75rem;
594
+ }
595
+
415
596
  .univer-text-sm {
416
597
  font-size: .875rem;
417
598
  line-height: 1.25rem;
@@ -438,6 +619,11 @@
438
619
  color: var(--univer-primary-300) !important;
439
620
  }
440
621
 
622
+ .\!univer-text-white {
623
+ --univer-tw-text-opacity: 1 !important;
624
+ color: rgba(255, 255, 255, var(--univer-tw-text-opacity, 1)) !important;
625
+ }
626
+
441
627
  .univer-text-gray-400 {
442
628
  color: var(--univer-gray-400);
443
629
  }
@@ -508,6 +694,14 @@
508
694
  transition-delay: .1s;
509
695
  }
510
696
 
697
+ .aria-pressed\:\!univer-bg-primary-50[aria-pressed="true"] {
698
+ background-color: var(--univer-primary-50) !important;
699
+ }
700
+
701
+ .aria-pressed\:\!univer-text-primary-600[aria-pressed="true"] {
702
+ color: var(--univer-primary-600) !important;
703
+ }
704
+
511
705
  @media (hover: hover) and (pointer: fine) {
512
706
  .hover\:univer-bg-gray-100:hover {
513
707
  background-color: var(--univer-gray-100);
@@ -560,6 +754,21 @@
560
754
  --univer-tw-ring-color: var(--univer-primary-100);
561
755
  }
562
756
 
757
+ .active\:univer-scale-95:active {
758
+ --univer-tw-scale-x: .95;
759
+ --univer-tw-scale-y: .95;
760
+ 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);
761
+ 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));
762
+ }
763
+
764
+ .active\:univer-bg-primary-100:active {
765
+ background-color: var(--univer-primary-100);
766
+ }
767
+
768
+ .active\:univer-text-primary-600:active {
769
+ color: var(--univer-primary-600);
770
+ }
771
+
563
772
  .disabled\:univer-cursor-default:disabled {
564
773
  cursor: default;
565
774
  }
@@ -677,3 +886,12 @@
677
886
  .\[\&\>div\]\:univer-gap-2 > div {
678
887
  gap: .5rem;
679
888
  }
889
+
890
+ .\[\&_input\]\:\!univer-h-12 input {
891
+ height: 3rem !important;
892
+ }
893
+
894
+ .\[\&_input\]\:\!univer-text-base input {
895
+ font-size: 1rem !important;
896
+ line-height: 1.5rem !important;
897
+ }
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
@@ -70,6 +70,10 @@ declare const _default: {
70
70
  };
71
71
  } & {
72
72
  'drawing-ui': {
73
+ mobile: {
74
+ close: string;
75
+ more: string;
76
+ };
73
77
  'image-cropper': {
74
78
  error: string;
75
79
  };
@@ -140,6 +144,8 @@ declare const _default: {
140
144
  lock: string;
141
145
  };
142
146
  crop: {
147
+ cancel: string;
148
+ apply: string;
143
149
  title: string;
144
150
  start: string;
145
151
  mode: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-docs-drawing",
3
- "version": "1.0.0-rc.0",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "description": "Preset for drawing capabilities in Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -56,19 +56,19 @@
56
56
  "rxjs": ">=7.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@univerjs/core": "1.0.0-rc.0",
60
- "@univerjs/drawing": "1.0.0-rc.0",
61
- "@univerjs/docs-drawing-ui": "1.0.0-rc.0",
62
- "@univerjs/docs-drawing": "1.0.0-rc.0",
63
- "@univerjs/drawing-ui": "1.0.0-rc.0"
59
+ "@univerjs/core": "1.0.0",
60
+ "@univerjs/docs-drawing": "1.0.0",
61
+ "@univerjs/docs-drawing-ui": "1.0.0",
62
+ "@univerjs/drawing": "1.0.0",
63
+ "@univerjs/drawing-ui": "1.0.0"
64
64
  },
65
65
  "devDependencies": {
66
+ "@univerjs-infra/shared": "1.0.0",
67
+ "@univerjs/presets": "1.0.0",
66
68
  "react": "18.3.1",
67
69
  "react-dom": "18.3.1",
68
70
  "rxjs": "^7.8.2",
69
- "typescript": "^6.0.3",
70
- "@univerjs-infra/shared": "1.0.0-rc.0",
71
- "@univerjs/presets": "1.0.0-rc.0"
71
+ "typescript": "^6.0.3"
72
72
  },
73
73
  "scripts": {
74
74
  "build:bundle": "univer-cli preset build --cleanup",