@univerjs-pro/shape-editor-ui 1.0.0-alpha.5 → 1.0.0-alpha.7
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.
- package/lib/cjs/formula-shape-en-us-B0fVf3OO.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/formula-shape-en-us-BbvC914f.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/formula-shape-en-us-BbvC914f.js +1 -0
- package/lib/index.css +134 -0
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/formula-shape-en-us.d.ts +44 -0
- package/lib/types/config/config.d.ts +20 -0
- package/lib/types/index.d.ts +9 -1
- package/lib/types/locale/en-US.d.ts +44 -0
- package/lib/types/services/shape-formula-editor.d.ts +20 -0
- package/lib/types/services/shape-formula-reference.d.ts +15 -0
- package/lib/types/services/shape-formula-unit-viewer.service.d.ts +67 -0
- package/lib/types/views/formula-shape/FormulaShapeNumberFormat.d.ts +23 -0
- package/lib/types/views/formula-shape/UseFormulaShapeToolbar.d.ts +13 -0
- package/lib/types/views/formula-shape/formula-shape-animation.d.ts +33 -0
- package/lib/types/views/formula-shape/formula-shape-auto-fit.d.ts +15 -0
- package/lib/types/views/formula-shape/formula-shape-number-format-utils.d.ts +17 -0
- package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +13 -1
- package/lib/types/views/shape-text-editor/shape-text-behavior.d.ts +0 -3
- package/lib/types/views/shape-text-editor/shape-text-placeholder.d.ts +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +25 -11
package/lib/index.css
CHANGED
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
position: relative;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
.univer-inset-0 {
|
|
14
|
+
top: 0;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
left: 0;
|
|
17
|
+
right: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
.-univer-top-3 {
|
|
14
21
|
top: -.75rem;
|
|
15
22
|
}
|
|
@@ -26,6 +33,10 @@
|
|
|
26
33
|
left: 50%;
|
|
27
34
|
}
|
|
28
35
|
|
|
36
|
+
.univer-top-full {
|
|
37
|
+
top: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
29
40
|
.univer-z-10 {
|
|
30
41
|
z-index: 10;
|
|
31
42
|
}
|
|
@@ -39,6 +50,11 @@
|
|
|
39
50
|
margin-right: auto;
|
|
40
51
|
}
|
|
41
52
|
|
|
53
|
+
.univer-my-1 {
|
|
54
|
+
margin-top: .25rem;
|
|
55
|
+
margin-bottom: .25rem;
|
|
56
|
+
}
|
|
57
|
+
|
|
42
58
|
.univer-mb-1 {
|
|
43
59
|
margin-bottom: .25rem;
|
|
44
60
|
}
|
|
@@ -47,6 +63,10 @@
|
|
|
47
63
|
margin-bottom: .5rem;
|
|
48
64
|
}
|
|
49
65
|
|
|
66
|
+
.univer-ml-2 {
|
|
67
|
+
margin-left: .5rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
50
70
|
.univer-ml-auto {
|
|
51
71
|
margin-left: auto;
|
|
52
72
|
}
|
|
@@ -55,10 +75,22 @@
|
|
|
55
75
|
margin-right: 1.25rem;
|
|
56
76
|
}
|
|
57
77
|
|
|
78
|
+
.univer-mt-1 {
|
|
79
|
+
margin-top: .25rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
58
82
|
.univer-mt-2 {
|
|
59
83
|
margin-top: .5rem;
|
|
60
84
|
}
|
|
61
85
|
|
|
86
|
+
.univer-mt-3 {
|
|
87
|
+
margin-top: .75rem;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.univer-mt-4 {
|
|
91
|
+
margin-top: 1rem;
|
|
92
|
+
}
|
|
93
|
+
|
|
62
94
|
.univer-box-border {
|
|
63
95
|
box-sizing: border-box;
|
|
64
96
|
}
|
|
@@ -126,6 +158,10 @@
|
|
|
126
158
|
height: 3.5rem;
|
|
127
159
|
}
|
|
128
160
|
|
|
161
|
+
.univer-h-28 {
|
|
162
|
+
height: 7rem;
|
|
163
|
+
}
|
|
164
|
+
|
|
129
165
|
.univer-h-3 {
|
|
130
166
|
height: .75rem;
|
|
131
167
|
}
|
|
@@ -154,10 +190,34 @@
|
|
|
154
190
|
height: 100px;
|
|
155
191
|
}
|
|
156
192
|
|
|
193
|
+
.univer-h-\[500px\] {
|
|
194
|
+
height: 500px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.univer-h-\[min\(780px\,calc\(100vh-180px\)\)\] {
|
|
198
|
+
height: min(780px, 100vh - 180px);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.univer-h-full {
|
|
202
|
+
height: 100%;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.\!univer-max-h-none {
|
|
206
|
+
max-height: none !important;
|
|
207
|
+
}
|
|
208
|
+
|
|
157
209
|
.univer-max-h-\[75vh\] {
|
|
158
210
|
max-height: 75vh;
|
|
159
211
|
}
|
|
160
212
|
|
|
213
|
+
.univer-min-h-0 {
|
|
214
|
+
min-height: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.univer-min-h-\[560px\] {
|
|
218
|
+
min-height: 560px;
|
|
219
|
+
}
|
|
220
|
+
|
|
161
221
|
.univer-w-0 {
|
|
162
222
|
width: 0;
|
|
163
223
|
}
|
|
@@ -206,6 +266,10 @@
|
|
|
206
266
|
width: 10rem;
|
|
207
267
|
}
|
|
208
268
|
|
|
269
|
+
.univer-w-52 {
|
|
270
|
+
width: 13rem;
|
|
271
|
+
}
|
|
272
|
+
|
|
209
273
|
.univer-w-6 {
|
|
210
274
|
width: 1.5rem;
|
|
211
275
|
}
|
|
@@ -214,6 +278,10 @@
|
|
|
214
278
|
width: 1.75rem;
|
|
215
279
|
}
|
|
216
280
|
|
|
281
|
+
.univer-w-72 {
|
|
282
|
+
width: 18rem;
|
|
283
|
+
}
|
|
284
|
+
|
|
217
285
|
.univer-w-8 {
|
|
218
286
|
width: 2rem;
|
|
219
287
|
}
|
|
@@ -340,6 +408,10 @@
|
|
|
340
408
|
user-select: none;
|
|
341
409
|
}
|
|
342
410
|
|
|
411
|
+
.univer-resize-none {
|
|
412
|
+
resize: none;
|
|
413
|
+
}
|
|
414
|
+
|
|
343
415
|
.univer-appearance-none {
|
|
344
416
|
-webkit-appearance: none;
|
|
345
417
|
appearance: none;
|
|
@@ -373,6 +445,10 @@
|
|
|
373
445
|
align-items: center;
|
|
374
446
|
}
|
|
375
447
|
|
|
448
|
+
.univer-justify-end {
|
|
449
|
+
justify-content: flex-end;
|
|
450
|
+
}
|
|
451
|
+
|
|
376
452
|
.univer-justify-center {
|
|
377
453
|
justify-content: center;
|
|
378
454
|
}
|
|
@@ -405,6 +481,10 @@
|
|
|
405
481
|
gap: 1rem;
|
|
406
482
|
}
|
|
407
483
|
|
|
484
|
+
.univer-gap-6 {
|
|
485
|
+
gap: 1.5rem;
|
|
486
|
+
}
|
|
487
|
+
|
|
408
488
|
.univer-gap-8 {
|
|
409
489
|
gap: 2rem;
|
|
410
490
|
}
|
|
@@ -425,10 +505,24 @@
|
|
|
425
505
|
overflow-y: auto;
|
|
426
506
|
}
|
|
427
507
|
|
|
508
|
+
.univer-truncate {
|
|
509
|
+
text-overflow: ellipsis;
|
|
510
|
+
white-space: nowrap;
|
|
511
|
+
overflow: hidden;
|
|
512
|
+
}
|
|
513
|
+
|
|
428
514
|
.univer-whitespace-nowrap {
|
|
429
515
|
white-space: nowrap;
|
|
430
516
|
}
|
|
431
517
|
|
|
518
|
+
.univer-whitespace-pre-wrap {
|
|
519
|
+
white-space: pre-wrap;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.univer-break-words {
|
|
523
|
+
word-wrap: break-word;
|
|
524
|
+
}
|
|
525
|
+
|
|
432
526
|
.\!univer-rounded-md {
|
|
433
527
|
border-radius: .375rem !important;
|
|
434
528
|
}
|
|
@@ -494,6 +588,10 @@
|
|
|
494
588
|
border-left-width: 2px;
|
|
495
589
|
}
|
|
496
590
|
|
|
591
|
+
.univer-border-r {
|
|
592
|
+
border-right-width: 1px;
|
|
593
|
+
}
|
|
594
|
+
|
|
497
595
|
.univer-border-t-2 {
|
|
498
596
|
border-top-width: 2px;
|
|
499
597
|
}
|
|
@@ -550,6 +648,10 @@
|
|
|
550
648
|
background-color: var(--univer-gray-200);
|
|
551
649
|
}
|
|
552
650
|
|
|
651
|
+
.univer-bg-gray-50 {
|
|
652
|
+
background-color: var(--univer-gray-50);
|
|
653
|
+
}
|
|
654
|
+
|
|
553
655
|
.univer-bg-primary-50 {
|
|
554
656
|
background-color: var(--univer-primary-50);
|
|
555
657
|
}
|
|
@@ -575,6 +677,10 @@
|
|
|
575
677
|
padding: .25rem !important;
|
|
576
678
|
}
|
|
577
679
|
|
|
680
|
+
.\!univer-p-1\.5 {
|
|
681
|
+
padding: .375rem !important;
|
|
682
|
+
}
|
|
683
|
+
|
|
578
684
|
.univer-p-0 {
|
|
579
685
|
padding: 0;
|
|
580
686
|
}
|
|
@@ -644,10 +750,18 @@
|
|
|
644
750
|
padding-left: .75rem;
|
|
645
751
|
}
|
|
646
752
|
|
|
753
|
+
.univer-pr-3 {
|
|
754
|
+
padding-right: .75rem;
|
|
755
|
+
}
|
|
756
|
+
|
|
647
757
|
.univer-pt-2 {
|
|
648
758
|
padding-top: .5rem;
|
|
649
759
|
}
|
|
650
760
|
|
|
761
|
+
.univer-pt-4 {
|
|
762
|
+
padding-top: 1rem;
|
|
763
|
+
}
|
|
764
|
+
|
|
651
765
|
.univer-text-left {
|
|
652
766
|
text-align: left;
|
|
653
767
|
}
|
|
@@ -656,6 +770,10 @@
|
|
|
656
770
|
text-align: center;
|
|
657
771
|
}
|
|
658
772
|
|
|
773
|
+
.univer-font-mono {
|
|
774
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
|
775
|
+
}
|
|
776
|
+
|
|
659
777
|
.univer-text-\[10px\] {
|
|
660
778
|
font-size: 10px;
|
|
661
779
|
}
|
|
@@ -688,6 +806,14 @@
|
|
|
688
806
|
font-weight: 600;
|
|
689
807
|
}
|
|
690
808
|
|
|
809
|
+
.univer-leading-5 {
|
|
810
|
+
line-height: 1.25rem;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.univer-leading-6 {
|
|
814
|
+
line-height: 1.5rem;
|
|
815
|
+
}
|
|
816
|
+
|
|
691
817
|
.univer-leading-none {
|
|
692
818
|
line-height: 1;
|
|
693
819
|
}
|
|
@@ -696,6 +822,10 @@
|
|
|
696
822
|
color: var(--univer-primary-300) !important;
|
|
697
823
|
}
|
|
698
824
|
|
|
825
|
+
.\!univer-text-transparent {
|
|
826
|
+
color: #0000 !important;
|
|
827
|
+
}
|
|
828
|
+
|
|
699
829
|
.univer-text-gray-400 {
|
|
700
830
|
color: var(--univer-gray-400);
|
|
701
831
|
}
|
|
@@ -724,6 +854,10 @@
|
|
|
724
854
|
color: var(--univer-primary-600);
|
|
725
855
|
}
|
|
726
856
|
|
|
857
|
+
.univer-text-primary-700 {
|
|
858
|
+
color: var(--univer-primary-700);
|
|
859
|
+
}
|
|
860
|
+
|
|
727
861
|
.univer-opacity-60 {
|
|
728
862
|
opacity: .6;
|
|
729
863
|
}
|