@univerjs/preset-sheets-drawing 1.0.0-rc.0 → 1.0.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 (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 +135 -0
  22. package/lib/types/locales/ar-SA.d.ts +11 -0
  23. package/lib/types/locales/ca-ES.d.ts +11 -0
  24. package/lib/types/locales/de-DE.d.ts +11 -0
  25. package/lib/types/locales/en-US.d.ts +11 -0
  26. package/lib/types/locales/es-ES.d.ts +11 -0
  27. package/lib/types/locales/fa-IR.d.ts +11 -0
  28. package/lib/types/locales/fr-FR.d.ts +11 -0
  29. package/lib/types/locales/id-ID.d.ts +11 -0
  30. package/lib/types/locales/it-IT.d.ts +11 -0
  31. package/lib/types/locales/ja-JP.d.ts +11 -0
  32. package/lib/types/locales/ko-KR.d.ts +11 -0
  33. package/lib/types/locales/pl-PL.d.ts +11 -0
  34. package/lib/types/locales/pt-BR.d.ts +11 -0
  35. package/lib/types/locales/ru-RU.d.ts +11 -0
  36. package/lib/types/locales/sk-SK.d.ts +11 -0
  37. package/lib/types/locales/vi-VN.d.ts +11 -0
  38. package/lib/types/locales/zh-CN.d.ts +11 -0
  39. package/lib/types/locales/zh-HK.d.ts +11 -0
  40. package/lib/types/locales/zh-TW.d.ts +11 -0
  41. package/package.json +10 -10
@@ -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_drawing_ui_locale_ar_SA = require("@univerjs/drawing-ui/locale/ar-SA");
3
3
  _univerjs_drawing_ui_locale_ar_SA = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_ar_SA);
4
4
  let _univerjs_sheets_drawing_ui_locale_ar_SA = require("@univerjs/sheets-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_drawing_ui_locale_ca_ES = require("@univerjs/drawing-ui/locale/ca-ES");
3
3
  _univerjs_drawing_ui_locale_ca_ES = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_ca_ES);
4
4
  let _univerjs_sheets_drawing_ui_locale_ca_ES = require("@univerjs/sheets-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_drawing_ui_locale_de_DE = require("@univerjs/drawing-ui/locale/de-DE");
3
3
  _univerjs_drawing_ui_locale_de_DE = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_de_DE);
4
4
  let _univerjs_sheets_drawing_ui_locale_de_DE = require("@univerjs/sheets-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_drawing_ui_locale_en_US = require("@univerjs/drawing-ui/locale/en-US");
3
3
  _univerjs_drawing_ui_locale_en_US = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_en_US);
4
4
  let _univerjs_sheets_drawing_ui_locale_en_US = require("@univerjs/sheets-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_drawing_ui_locale_es_ES = require("@univerjs/drawing-ui/locale/es-ES");
3
3
  _univerjs_drawing_ui_locale_es_ES = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_es_ES);
4
4
  let _univerjs_sheets_drawing_ui_locale_es_ES = require("@univerjs/sheets-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_drawing_ui_locale_fa_IR = require("@univerjs/drawing-ui/locale/fa-IR");
3
3
  _univerjs_drawing_ui_locale_fa_IR = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_fa_IR);
4
4
  let _univerjs_sheets_drawing_ui_locale_fa_IR = require("@univerjs/sheets-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_drawing_ui_locale_fr_FR = require("@univerjs/drawing-ui/locale/fr-FR");
3
3
  _univerjs_drawing_ui_locale_fr_FR = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_fr_FR);
4
4
  let _univerjs_sheets_drawing_ui_locale_fr_FR = require("@univerjs/sheets-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_drawing_ui_locale_id_ID = require("@univerjs/drawing-ui/locale/id-ID");
3
3
  _univerjs_drawing_ui_locale_id_ID = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_id_ID);
4
4
  let _univerjs_sheets_drawing_ui_locale_id_ID = require("@univerjs/sheets-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_drawing_ui_locale_it_IT = require("@univerjs/drawing-ui/locale/it-IT");
3
3
  _univerjs_drawing_ui_locale_it_IT = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_it_IT);
4
4
  let _univerjs_sheets_drawing_ui_locale_it_IT = require("@univerjs/sheets-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_drawing_ui_locale_ja_JP = require("@univerjs/drawing-ui/locale/ja-JP");
3
3
  _univerjs_drawing_ui_locale_ja_JP = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_ja_JP);
4
4
  let _univerjs_sheets_drawing_ui_locale_ja_JP = require("@univerjs/sheets-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_drawing_ui_locale_ko_KR = require("@univerjs/drawing-ui/locale/ko-KR");
3
3
  _univerjs_drawing_ui_locale_ko_KR = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_ko_KR);
4
4
  let _univerjs_sheets_drawing_ui_locale_ko_KR = require("@univerjs/sheets-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_drawing_ui_locale_pl_PL = require("@univerjs/drawing-ui/locale/pl-PL");
3
3
  _univerjs_drawing_ui_locale_pl_PL = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_pl_PL);
4
4
  let _univerjs_sheets_drawing_ui_locale_pl_PL = require("@univerjs/sheets-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_drawing_ui_locale_pt_BR = require("@univerjs/drawing-ui/locale/pt-BR");
3
3
  _univerjs_drawing_ui_locale_pt_BR = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_pt_BR);
4
4
  let _univerjs_sheets_drawing_ui_locale_pt_BR = require("@univerjs/sheets-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_drawing_ui_locale_ru_RU = require("@univerjs/drawing-ui/locale/ru-RU");
3
3
  _univerjs_drawing_ui_locale_ru_RU = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_ru_RU);
4
4
  let _univerjs_sheets_drawing_ui_locale_ru_RU = require("@univerjs/sheets-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_drawing_ui_locale_sk_SK = require("@univerjs/drawing-ui/locale/sk-SK");
3
3
  _univerjs_drawing_ui_locale_sk_SK = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_sk_SK);
4
4
  let _univerjs_sheets_drawing_ui_locale_sk_SK = require("@univerjs/sheets-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_drawing_ui_locale_vi_VN = require("@univerjs/drawing-ui/locale/vi-VN");
3
3
  _univerjs_drawing_ui_locale_vi_VN = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_vi_VN);
4
4
  let _univerjs_sheets_drawing_ui_locale_vi_VN = require("@univerjs/sheets-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_drawing_ui_locale_zh_CN = require("@univerjs/drawing-ui/locale/zh-CN");
3
3
  _univerjs_drawing_ui_locale_zh_CN = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_zh_CN);
4
4
  let _univerjs_sheets_drawing_ui_locale_zh_CN = require("@univerjs/sheets-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_drawing_ui_locale_zh_HK = require("@univerjs/drawing-ui/locale/zh-HK");
3
3
  _univerjs_drawing_ui_locale_zh_HK = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_zh_HK);
4
4
  let _univerjs_sheets_drawing_ui_locale_zh_HK = require("@univerjs/sheets-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_drawing_ui_locale_zh_TW = require("@univerjs/drawing-ui/locale/zh-TW");
3
3
  _univerjs_drawing_ui_locale_zh_TW = require_rolldown_runtime.__toESM(_univerjs_drawing_ui_locale_zh_TW);
4
4
  let _univerjs_sheets_drawing_ui_locale_zh_TW = require("@univerjs/sheets-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
@@ -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,6 +746,15 @@
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
+ }
623
758
  .univer-flex {
624
759
  display: flex;
625
760
  }
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
2
  'drawing-ui': {
3
+ mobile: {
4
+ close: string;
5
+ more: string;
6
+ };
3
7
  'image-cropper': {
4
8
  error: string;
5
9
  };
@@ -70,6 +74,8 @@ declare const _default: {
70
74
  lock: string;
71
75
  };
72
76
  crop: {
77
+ cancel: string;
78
+ apply: string;
73
79
  title: string;
74
80
  start: string;
75
81
  mode: string;
@@ -104,6 +110,11 @@ declare const _default: {
104
110
  } & {
105
111
  'sheets-drawing-ui': {
106
112
  title: string;
113
+ backgroundImage: {
114
+ title: string;
115
+ add: string;
116
+ delete: string;
117
+ };
107
118
  uploadLoading: {
108
119
  loading: string;
109
120
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/preset-sheets-drawing",
3
- "version": "1.0.0-rc.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "Preset for drawing capabilities in Univer Sheets.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -56,20 +56,20 @@
56
56
  "rxjs": ">=7.0.0"
57
57
  },
58
58
  "dependencies": {
59
- "@univerjs/drawing": "1.0.0-rc.0",
60
- "@univerjs/core": "1.0.0-rc.0",
61
- "@univerjs/docs-drawing": "1.0.0-rc.0",
62
- "@univerjs/drawing-ui": "1.0.0-rc.0",
63
- "@univerjs/sheets-drawing-ui": "1.0.0-rc.0",
64
- "@univerjs/sheets-drawing": "1.0.0-rc.0"
59
+ "@univerjs/core": "1.0.1",
60
+ "@univerjs/docs-drawing": "1.0.1",
61
+ "@univerjs/drawing": "1.0.1",
62
+ "@univerjs/drawing-ui": "1.0.1",
63
+ "@univerjs/sheets-drawing": "1.0.1",
64
+ "@univerjs/sheets-drawing-ui": "1.0.1"
65
65
  },
66
66
  "devDependencies": {
67
+ "@univerjs-infra/shared": "1.0.1",
68
+ "@univerjs/presets": "1.0.1",
67
69
  "react": "18.3.1",
68
70
  "react-dom": "18.3.1",
69
71
  "rxjs": "^7.8.2",
70
- "typescript": "^6.0.3",
71
- "@univerjs/presets": "1.0.0-rc.0",
72
- "@univerjs-infra/shared": "1.0.0-rc.0"
72
+ "typescript": "^6.0.3"
73
73
  },
74
74
  "scripts": {
75
75
  "build:bundle": "univer-cli preset build --cleanup",