@univerjs-pro/shape-editor-ui 1.3.0 → 1.4.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.
- 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/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/index.css +129 -43
- 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/utils/shape-transformer-config.d.ts +2 -2
- package/lib/types/views/smart-art/SmartArtLayoutGallery.d.ts +3 -3
- package/lib/types/views/smart-art/SmartArtQuickStyleGallery.d.ts +1 -1
- 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 -25
package/lib/index.css
CHANGED
|
@@ -77,10 +77,6 @@
|
|
|
77
77
|
margin-bottom: .25rem;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.univer-mb-0\.5 {
|
|
81
|
-
margin-bottom: .125rem;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
80
|
.univer-mb-1 {
|
|
85
81
|
margin-bottom: .25rem;
|
|
86
82
|
}
|
|
@@ -209,11 +205,6 @@
|
|
|
209
205
|
height: 68px;
|
|
210
206
|
}
|
|
211
207
|
|
|
212
|
-
.univer-size-\[88px\] {
|
|
213
|
-
width: 88px;
|
|
214
|
-
height: 88px;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
208
|
.univer-size-full {
|
|
218
209
|
width: 100%;
|
|
219
210
|
height: 100%;
|
|
@@ -295,30 +286,26 @@
|
|
|
295
286
|
height: 100px;
|
|
296
287
|
}
|
|
297
288
|
|
|
298
|
-
.univer-h-\[
|
|
299
|
-
height:
|
|
289
|
+
.univer-h-\[448px\] {
|
|
290
|
+
height: 448px;
|
|
300
291
|
}
|
|
301
292
|
|
|
302
293
|
.univer-h-\[500px\] {
|
|
303
294
|
height: 500px;
|
|
304
295
|
}
|
|
305
296
|
|
|
306
|
-
.univer-h-\[620px\] {
|
|
307
|
-
height: 620px;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
297
|
.univer-h-\[62px\] {
|
|
311
298
|
height: 62px;
|
|
312
299
|
}
|
|
313
300
|
|
|
314
|
-
.univer-h-\[92px\] {
|
|
315
|
-
height: 92px;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
301
|
.univer-h-\[min\(780px\,calc\(100vh-180px\)\)\] {
|
|
319
302
|
height: min(780px, 100vh - 180px);
|
|
320
303
|
}
|
|
321
304
|
|
|
305
|
+
.univer-h-auto {
|
|
306
|
+
height: auto;
|
|
307
|
+
}
|
|
308
|
+
|
|
322
309
|
.univer-h-full {
|
|
323
310
|
height: 100%;
|
|
324
311
|
}
|
|
@@ -331,6 +318,14 @@
|
|
|
331
318
|
max-height: 75vh;
|
|
332
319
|
}
|
|
333
320
|
|
|
321
|
+
.univer-max-h-\[calc\(100vh-180px\)\] {
|
|
322
|
+
max-height: calc(100vh - 180px);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.univer-max-h-\[min\(620px\,calc\(100vh-180px\)\)\] {
|
|
326
|
+
max-height: min(620px, 100vh - 180px);
|
|
327
|
+
}
|
|
328
|
+
|
|
334
329
|
.\!univer-min-h-12 {
|
|
335
330
|
min-height: 3rem !important;
|
|
336
331
|
}
|
|
@@ -355,6 +350,10 @@
|
|
|
355
350
|
min-height: 6rem;
|
|
356
351
|
}
|
|
357
352
|
|
|
353
|
+
.univer-min-h-28 {
|
|
354
|
+
min-height: 7rem;
|
|
355
|
+
}
|
|
356
|
+
|
|
358
357
|
.univer-min-h-60 {
|
|
359
358
|
min-height: 15rem;
|
|
360
359
|
}
|
|
@@ -423,12 +422,12 @@
|
|
|
423
422
|
width: 8rem;
|
|
424
423
|
}
|
|
425
424
|
|
|
426
|
-
.univer-w-
|
|
427
|
-
width:
|
|
425
|
+
.univer-w-36 {
|
|
426
|
+
width: 9rem;
|
|
428
427
|
}
|
|
429
428
|
|
|
430
|
-
.univer-w-
|
|
431
|
-
width:
|
|
429
|
+
.univer-w-4 {
|
|
430
|
+
width: 1rem;
|
|
432
431
|
}
|
|
433
432
|
|
|
434
433
|
.univer-w-44 {
|
|
@@ -503,20 +502,20 @@
|
|
|
503
502
|
width: 366px;
|
|
504
503
|
}
|
|
505
504
|
|
|
506
|
-
.univer-w-\[
|
|
507
|
-
width:
|
|
505
|
+
.univer-w-\[480px\] {
|
|
506
|
+
width: 480px;
|
|
508
507
|
}
|
|
509
508
|
|
|
510
|
-
.univer-w-\[
|
|
511
|
-
width:
|
|
509
|
+
.univer-w-\[600px\] {
|
|
510
|
+
width: 600px;
|
|
512
511
|
}
|
|
513
512
|
|
|
514
|
-
.univer-w-\[
|
|
515
|
-
width:
|
|
513
|
+
.univer-w-\[704px\] {
|
|
514
|
+
width: 704px;
|
|
516
515
|
}
|
|
517
516
|
|
|
518
|
-
.univer-w-\[
|
|
519
|
-
width:
|
|
517
|
+
.univer-w-\[72px\] {
|
|
518
|
+
width: 72px;
|
|
520
519
|
}
|
|
521
520
|
|
|
522
521
|
.univer-w-\[86px\] {
|
|
@@ -567,6 +566,10 @@
|
|
|
567
566
|
max-width: 20rem;
|
|
568
567
|
}
|
|
569
568
|
|
|
569
|
+
.univer-max-w-\[calc\(100vw-32px\)\] {
|
|
570
|
+
max-width: calc(100vw - 32px);
|
|
571
|
+
}
|
|
572
|
+
|
|
570
573
|
.univer-max-w-\[min\(760px\,calc\(100vw-32px\)\)\] {
|
|
571
574
|
max-width: min(760px, 100vw - 32px);
|
|
572
575
|
}
|
|
@@ -647,6 +650,14 @@
|
|
|
647
650
|
grid-template-columns: repeat(3, minmax(0, 1fr)) 76px;
|
|
648
651
|
}
|
|
649
652
|
|
|
653
|
+
.univer-grid-cols-\[repeat\(auto-fill\,minmax\(112px\,1fr\)\)\] {
|
|
654
|
+
grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.univer-grid-cols-\[repeat\(auto-fill\,minmax\(96px\,1fr\)\)\] {
|
|
658
|
+
grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
|
|
659
|
+
}
|
|
660
|
+
|
|
650
661
|
.univer-grid-rows-5 {
|
|
651
662
|
grid-template-rows: repeat(5, minmax(0, 1fr));
|
|
652
663
|
}
|
|
@@ -687,6 +698,10 @@
|
|
|
687
698
|
justify-content: space-between;
|
|
688
699
|
}
|
|
689
700
|
|
|
701
|
+
.univer-justify-stretch {
|
|
702
|
+
justify-content: stretch;
|
|
703
|
+
}
|
|
704
|
+
|
|
690
705
|
.univer-gap-0\.5 {
|
|
691
706
|
gap: .125rem;
|
|
692
707
|
}
|
|
@@ -859,12 +874,12 @@
|
|
|
859
874
|
border-bottom-width: 1px;
|
|
860
875
|
}
|
|
861
876
|
|
|
862
|
-
.univer-border-
|
|
863
|
-
border-
|
|
877
|
+
.univer-border-e {
|
|
878
|
+
border-right-width: 1px;
|
|
864
879
|
}
|
|
865
880
|
|
|
866
|
-
.univer-border-
|
|
867
|
-
border-
|
|
881
|
+
.univer-border-l-2 {
|
|
882
|
+
border-left-width: 2px;
|
|
868
883
|
}
|
|
869
884
|
|
|
870
885
|
.univer-border-t {
|
|
@@ -1011,8 +1026,8 @@
|
|
|
1011
1026
|
fill: var(--univer-gray-200);
|
|
1012
1027
|
}
|
|
1013
1028
|
|
|
1014
|
-
.univer-stroke-gray-
|
|
1015
|
-
stroke: var(--univer-gray-
|
|
1029
|
+
.univer-stroke-gray-500 {
|
|
1030
|
+
stroke: var(--univer-gray-500);
|
|
1016
1031
|
}
|
|
1017
1032
|
|
|
1018
1033
|
.univer-object-cover {
|
|
@@ -1169,6 +1184,10 @@
|
|
|
1169
1184
|
text-align: center;
|
|
1170
1185
|
}
|
|
1171
1186
|
|
|
1187
|
+
.univer-text-start {
|
|
1188
|
+
text-align: left;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1172
1191
|
.univer-font-mono {
|
|
1173
1192
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
|
1174
1193
|
}
|
|
@@ -1216,10 +1235,18 @@
|
|
|
1216
1235
|
font-weight: 500;
|
|
1217
1236
|
}
|
|
1218
1237
|
|
|
1238
|
+
.univer-font-normal {
|
|
1239
|
+
font-weight: 400;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1219
1242
|
.univer-font-semibold {
|
|
1220
1243
|
font-weight: 600;
|
|
1221
1244
|
}
|
|
1222
1245
|
|
|
1246
|
+
.univer-leading-4 {
|
|
1247
|
+
line-height: 1rem;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1223
1250
|
.univer-leading-5 {
|
|
1224
1251
|
line-height: 1.25rem;
|
|
1225
1252
|
}
|
|
@@ -1391,12 +1418,6 @@
|
|
|
1391
1418
|
filter: var(--univer-tw-blur) var(--univer-tw-brightness) var(--univer-tw-contrast) var(--univer-tw-grayscale) var(--univer-tw-hue-rotate) var(--univer-tw-invert) var(--univer-tw-saturate) var(--univer-tw-sepia) var(--univer-tw-drop-shadow);
|
|
1392
1419
|
}
|
|
1393
1420
|
|
|
1394
|
-
.univer-transition-all {
|
|
1395
|
-
transition-property: all;
|
|
1396
|
-
transition-duration: .15s;
|
|
1397
|
-
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
1421
|
.univer-transition-colors {
|
|
1401
1422
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
1402
1423
|
transition-duration: .15s;
|
|
@@ -1417,6 +1438,18 @@
|
|
|
1417
1438
|
animation-fill-mode: backwards;
|
|
1418
1439
|
}
|
|
1419
1440
|
|
|
1441
|
+
.last\:univer-mb-0:last-child {
|
|
1442
|
+
margin-bottom: 0;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
.last\:univer-border-b-0:last-child {
|
|
1446
|
+
border-bottom-width: 0;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
.last\:univer-pb-0:last-child {
|
|
1450
|
+
padding-bottom: 0;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1420
1453
|
@media (hover: hover) and (pointer: fine) {
|
|
1421
1454
|
.univer-group:hover .group-hover\:univer-block {
|
|
1422
1455
|
display: block;
|
|
@@ -1471,6 +1504,11 @@
|
|
|
1471
1504
|
}
|
|
1472
1505
|
}
|
|
1473
1506
|
|
|
1507
|
+
.focus\:univer-outline-none:focus {
|
|
1508
|
+
outline-offset: 2px;
|
|
1509
|
+
outline: 2px solid #0000;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1474
1512
|
.focus\:\!univer-ring-0:focus {
|
|
1475
1513
|
--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color) !important;
|
|
1476
1514
|
--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(0px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color) !important;
|
|
@@ -1478,6 +1516,21 @@
|
|
|
1478
1516
|
box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000) !important;
|
|
1479
1517
|
}
|
|
1480
1518
|
|
|
1519
|
+
.focus\:univer-ring-2:focus {
|
|
1520
|
+
--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);
|
|
1521
|
+
--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);
|
|
1522
|
+
box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
|
|
1523
|
+
box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
.focus\:univer-ring-inset:focus {
|
|
1527
|
+
--univer-tw-ring-inset: inset;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
.focus\:univer-ring-primary-500:focus {
|
|
1531
|
+
--univer-tw-ring-color: var(--univer-primary-500);
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1481
1534
|
.active\:univer-scale-95:active {
|
|
1482
1535
|
--univer-tw-scale-x: .95;
|
|
1483
1536
|
--univer-tw-scale-y: .95;
|
|
@@ -1576,6 +1629,10 @@
|
|
|
1576
1629
|
border-color: var(--univer-gray-300) !important;
|
|
1577
1630
|
}
|
|
1578
1631
|
|
|
1632
|
+
.dark\:\!univer-border-gray-500:where(.univer-dark, .univer-dark *) {
|
|
1633
|
+
border-color: var(--univer-gray-500) !important;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1579
1636
|
.dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
|
|
1580
1637
|
border-color: var(--univer-gray-600) !important;
|
|
1581
1638
|
}
|
|
@@ -1604,6 +1661,14 @@
|
|
|
1604
1661
|
background-color: var(--univer-gray-900) !important;
|
|
1605
1662
|
}
|
|
1606
1663
|
|
|
1664
|
+
.dark\:\!univer-fill-gray-700:where(.univer-dark, .univer-dark *) {
|
|
1665
|
+
fill: var(--univer-gray-700) !important;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
.dark\:\!univer-stroke-gray-400:where(.univer-dark, .univer-dark *) {
|
|
1669
|
+
stroke: var(--univer-gray-400) !important;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1607
1672
|
.dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
|
|
1608
1673
|
color: var(--univer-gray-0) !important;
|
|
1609
1674
|
}
|
|
@@ -1644,7 +1709,15 @@
|
|
|
1644
1709
|
color: var(--univer-red-400) !important;
|
|
1645
1710
|
}
|
|
1646
1711
|
|
|
1712
|
+
.dark\:\!univer-ring-primary-800:where(.univer-dark, .univer-dark *) {
|
|
1713
|
+
--univer-tw-ring-color: var(--univer-primary-800) !important;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1647
1716
|
@media (hover: hover) and (pointer: fine) {
|
|
1717
|
+
.dark\:hover\:\!univer-border-gray-500:hover:where(.univer-dark, .univer-dark *) {
|
|
1718
|
+
border-color: var(--univer-gray-500) !important;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1648
1721
|
.dark\:hover\:\!univer-border-gray-600:hover:where(.univer-dark, .univer-dark *) {
|
|
1649
1722
|
border-color: var(--univer-gray-600) !important;
|
|
1650
1723
|
}
|
|
@@ -1763,6 +1836,19 @@
|
|
|
1763
1836
|
line-height: 1.5rem !important;
|
|
1764
1837
|
}
|
|
1765
1838
|
|
|
1839
|
+
.\[\&_svg\]\:univer-size-8 svg {
|
|
1840
|
+
width: 2rem;
|
|
1841
|
+
height: 2rem;
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
.\[\&_svg\]\:univer-h-16 svg {
|
|
1845
|
+
height: 4rem;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
.\[\&_svg\]\:univer-w-full svg {
|
|
1849
|
+
width: 100%;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1766
1852
|
[data-u-comp="ribbon-grid-toolbar"] .\[\[data-u-comp\=\'ribbon-grid-toolbar\'\]_\&\]\:univer-grid {
|
|
1767
1853
|
display: grid;
|
|
1768
1854
|
}
|