@univerjs/preset-sheets-drawing 1.3.1 → 1.5.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/README.md +3 -5
- package/lib/cjs/index.js +1 -2
- package/lib/cjs/locales/ar-SA.js +2 -3
- package/lib/cjs/locales/ca-ES.js +2 -3
- package/lib/cjs/locales/de-DE.js +2 -3
- package/lib/cjs/locales/en-US.js +2 -3
- package/lib/cjs/locales/es-ES.js +2 -3
- package/lib/cjs/locales/fa-IR.js +2 -3
- package/lib/cjs/locales/fr-FR.js +2 -3
- package/lib/cjs/locales/id-ID.js +2 -3
- package/lib/cjs/locales/it-IT.js +2 -3
- package/lib/cjs/locales/ja-JP.js +2 -3
- package/lib/cjs/locales/ko-KR.js +2 -3
- package/lib/cjs/locales/pl-PL.js +2 -3
- package/lib/cjs/locales/pt-BR.js +2 -3
- package/lib/cjs/locales/ru-RU.js +2 -3
- package/lib/cjs/locales/sk-SK.js +2 -3
- package/lib/cjs/locales/vi-VN.js +2 -3
- package/lib/cjs/locales/zh-CN.js +2 -3
- package/lib/cjs/locales/zh-HK.js +2 -3
- package/lib/cjs/locales/zh-TW.js +2 -3
- package/lib/cjs/{rolldown-runtime-AN5ru5iW.js → rolldown-runtime-xuxB8TGW.js} +1 -2
- package/lib/es/index.js +1 -2
- package/lib/es/locales/ar-SA.js +1 -2
- package/lib/es/locales/ca-ES.js +1 -2
- package/lib/es/locales/de-DE.js +1 -2
- package/lib/es/locales/en-US.js +1 -2
- package/lib/es/locales/es-ES.js +1 -2
- package/lib/es/locales/fa-IR.js +1 -2
- package/lib/es/locales/fr-FR.js +1 -2
- package/lib/es/locales/id-ID.js +1 -2
- package/lib/es/locales/it-IT.js +1 -2
- package/lib/es/locales/ja-JP.js +1 -2
- package/lib/es/locales/ko-KR.js +1 -2
- package/lib/es/locales/pl-PL.js +1 -2
- package/lib/es/locales/pt-BR.js +1 -2
- package/lib/es/locales/ru-RU.js +1 -2
- package/lib/es/locales/sk-SK.js +1 -2
- package/lib/es/locales/vi-VN.js +1 -2
- package/lib/es/locales/zh-CN.js +1 -2
- package/lib/es/locales/zh-HK.js +1 -2
- package/lib/es/locales/zh-TW.js +1 -2
- package/lib/index.css +288 -63
- package/lib/index.js +1 -2
- package/lib/locales/ar-SA.js +1 -2
- package/lib/locales/ca-ES.js +1 -2
- package/lib/locales/de-DE.js +1 -2
- package/lib/locales/en-US.js +1 -2
- package/lib/locales/es-ES.js +1 -2
- package/lib/locales/fa-IR.js +1 -2
- package/lib/locales/fr-FR.js +1 -2
- package/lib/locales/id-ID.js +1 -2
- package/lib/locales/it-IT.js +1 -2
- package/lib/locales/ja-JP.js +1 -2
- package/lib/locales/ko-KR.js +1 -2
- package/lib/locales/pl-PL.js +1 -2
- package/lib/locales/pt-BR.js +1 -2
- package/lib/locales/ru-RU.js +1 -2
- package/lib/locales/sk-SK.js +1 -2
- package/lib/locales/vi-VN.js +1 -2
- package/lib/locales/zh-CN.js +1 -2
- package/lib/locales/zh-HK.js +1 -2
- package/lib/locales/zh-TW.js +1 -2
- package/lib/types/locales/ar-SA.d.ts +37 -0
- package/lib/types/locales/ca-ES.d.ts +37 -0
- package/lib/types/locales/de-DE.d.ts +37 -0
- package/lib/types/locales/en-US.d.ts +37 -0
- package/lib/types/locales/es-ES.d.ts +37 -0
- package/lib/types/locales/fa-IR.d.ts +37 -0
- package/lib/types/locales/fr-FR.d.ts +37 -0
- package/lib/types/locales/id-ID.d.ts +37 -0
- package/lib/types/locales/it-IT.d.ts +37 -0
- package/lib/types/locales/ja-JP.d.ts +37 -0
- package/lib/types/locales/ko-KR.d.ts +37 -0
- package/lib/types/locales/pl-PL.d.ts +37 -0
- package/lib/types/locales/pt-BR.d.ts +37 -0
- package/lib/types/locales/ru-RU.d.ts +37 -0
- package/lib/types/locales/sk-SK.d.ts +37 -0
- package/lib/types/locales/vi-VN.d.ts +37 -0
- package/lib/types/locales/zh-CN.d.ts +37 -0
- package/lib/types/locales/zh-HK.d.ts +37 -0
- package/lib/types/locales/zh-TW.d.ts +37 -0
- package/package.json +12 -12
package/lib/index.css
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
.\!univer-pointer-events-none {
|
|
2
|
+
pointer-events: none !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.univer-pointer-events-none {
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
.univer-absolute {
|
|
2
10
|
position: absolute;
|
|
3
11
|
}
|
|
@@ -11,6 +19,18 @@
|
|
|
11
19
|
right: 0;
|
|
12
20
|
}
|
|
13
21
|
|
|
22
|
+
.\!univer-end-2 {
|
|
23
|
+
right: .5rem !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.\!univer-start-auto {
|
|
27
|
+
left: auto !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.\!univer-top-2 {
|
|
31
|
+
top: .5rem !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
14
34
|
.univer-bottom-0 {
|
|
15
35
|
bottom: 0;
|
|
16
36
|
}
|
|
@@ -19,10 +39,27 @@
|
|
|
19
39
|
z-index: 1200;
|
|
20
40
|
}
|
|
21
41
|
|
|
42
|
+
.univer-col-start-2 {
|
|
43
|
+
grid-column-start: 2;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.\!univer-m-0 {
|
|
47
|
+
margin: 0 !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
22
50
|
.univer-m-0 {
|
|
23
51
|
margin: 0;
|
|
24
52
|
}
|
|
25
53
|
|
|
54
|
+
.univer-mx-0\.5 {
|
|
55
|
+
margin-left: .125rem;
|
|
56
|
+
margin-right: .125rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.univer-mt-1 {
|
|
60
|
+
margin-top: .25rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
26
63
|
.univer-mt-2\.5 {
|
|
27
64
|
margin-top: .625rem;
|
|
28
65
|
}
|
|
@@ -39,6 +76,14 @@
|
|
|
39
76
|
display: flex;
|
|
40
77
|
}
|
|
41
78
|
|
|
79
|
+
.univer-inline-flex {
|
|
80
|
+
display: inline-flex;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.\!univer-grid {
|
|
84
|
+
display: grid !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
42
87
|
.univer-grid {
|
|
43
88
|
display: grid;
|
|
44
89
|
}
|
|
@@ -67,21 +112,34 @@
|
|
|
67
112
|
height: 1.75rem;
|
|
68
113
|
}
|
|
69
114
|
|
|
115
|
+
.univer-size-8 {
|
|
116
|
+
width: 2rem;
|
|
117
|
+
height: 2rem;
|
|
118
|
+
}
|
|
119
|
+
|
|
70
120
|
.univer-size-full {
|
|
71
121
|
width: 100%;
|
|
72
122
|
height: 100%;
|
|
73
123
|
}
|
|
74
124
|
|
|
75
|
-
.\!univer-h-
|
|
76
|
-
height:
|
|
125
|
+
.\!univer-h-4 {
|
|
126
|
+
height: 1rem !important;
|
|
77
127
|
}
|
|
78
128
|
|
|
79
|
-
|
|
80
|
-
height:
|
|
129
|
+
.\!univer-h-8 {
|
|
130
|
+
height: 2rem !important;
|
|
81
131
|
}
|
|
82
132
|
|
|
83
|
-
.univer-h-
|
|
84
|
-
height:
|
|
133
|
+
.univer-h-1 {
|
|
134
|
+
height: .25rem;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.univer-h-10 {
|
|
138
|
+
height: 2.5rem;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.univer-h-11 {
|
|
142
|
+
height: 2.75rem;
|
|
85
143
|
}
|
|
86
144
|
|
|
87
145
|
.univer-h-6 {
|
|
@@ -108,6 +166,10 @@
|
|
|
108
166
|
min-height: 0;
|
|
109
167
|
}
|
|
110
168
|
|
|
169
|
+
.univer-min-h-10 {
|
|
170
|
+
min-height: 2.5rem;
|
|
171
|
+
}
|
|
172
|
+
|
|
111
173
|
.univer-min-h-12 {
|
|
112
174
|
min-height: 3rem;
|
|
113
175
|
}
|
|
@@ -116,10 +178,6 @@
|
|
|
116
178
|
min-height: 4rem;
|
|
117
179
|
}
|
|
118
180
|
|
|
119
|
-
.univer-w-0 {
|
|
120
|
-
width: 0;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
181
|
.univer-w-2 {
|
|
124
182
|
width: .5rem;
|
|
125
183
|
}
|
|
@@ -128,10 +186,26 @@
|
|
|
128
186
|
width: 1.5rem;
|
|
129
187
|
}
|
|
130
188
|
|
|
189
|
+
.univer-w-60 {
|
|
190
|
+
width: 15rem;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.univer-w-80 {
|
|
194
|
+
width: 20rem;
|
|
195
|
+
}
|
|
196
|
+
|
|
131
197
|
.univer-w-full {
|
|
132
198
|
width: 100%;
|
|
133
199
|
}
|
|
134
200
|
|
|
201
|
+
.univer-w-max {
|
|
202
|
+
width: max-content;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.\!univer-min-w-0 {
|
|
206
|
+
min-width: 0 !important;
|
|
207
|
+
}
|
|
208
|
+
|
|
135
209
|
.univer-min-w-0 {
|
|
136
210
|
min-width: 0;
|
|
137
211
|
}
|
|
@@ -144,6 +218,10 @@
|
|
|
144
218
|
min-width: 2.25rem;
|
|
145
219
|
}
|
|
146
220
|
|
|
221
|
+
.univer-max-w-80 {
|
|
222
|
+
max-width: 20rem;
|
|
223
|
+
}
|
|
224
|
+
|
|
147
225
|
.univer-max-w-full {
|
|
148
226
|
max-width: 100%;
|
|
149
227
|
}
|
|
@@ -172,14 +250,28 @@
|
|
|
172
250
|
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));
|
|
173
251
|
}
|
|
174
252
|
|
|
175
|
-
|
|
176
|
-
|
|
253
|
+
.\!univer-transform-none {
|
|
254
|
+
transform: none !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
@keyframes univer-spin {
|
|
258
|
+
to {
|
|
259
|
+
transform: rotate(360deg);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.univer-animate-spin {
|
|
264
|
+
animation: 1s linear infinite univer-spin;
|
|
177
265
|
}
|
|
178
266
|
|
|
179
267
|
.univer-resize-none {
|
|
180
268
|
resize: none;
|
|
181
269
|
}
|
|
182
270
|
|
|
271
|
+
.\!univer-grid-cols-\[20px_minmax\(0\,1fr\)\] {
|
|
272
|
+
grid-template-columns: 20px minmax(0, 1fr) !important;
|
|
273
|
+
}
|
|
274
|
+
|
|
183
275
|
.univer-grid-cols-2 {
|
|
184
276
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
185
277
|
}
|
|
@@ -192,6 +284,14 @@
|
|
|
192
284
|
flex-direction: column;
|
|
193
285
|
}
|
|
194
286
|
|
|
287
|
+
.univer-flex-nowrap {
|
|
288
|
+
flex-wrap: nowrap;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.\!univer-items-start {
|
|
292
|
+
align-items: flex-start !important;
|
|
293
|
+
}
|
|
294
|
+
|
|
195
295
|
.univer-items-center {
|
|
196
296
|
align-items: center;
|
|
197
297
|
}
|
|
@@ -208,6 +308,10 @@
|
|
|
208
308
|
justify-content: space-between;
|
|
209
309
|
}
|
|
210
310
|
|
|
311
|
+
.\!univer-gap-1 {
|
|
312
|
+
gap: .25rem !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
211
315
|
.univer-gap-0\.5 {
|
|
212
316
|
gap: .125rem;
|
|
213
317
|
}
|
|
@@ -228,6 +332,23 @@
|
|
|
228
332
|
gap: .75rem;
|
|
229
333
|
}
|
|
230
334
|
|
|
335
|
+
.\!univer-gap-x-3 {
|
|
336
|
+
-moz-column-gap: .75rem !important;
|
|
337
|
+
column-gap: .75rem !important;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.\!univer-gap-y-3 {
|
|
341
|
+
row-gap: .75rem !important;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.\!univer-self-start {
|
|
345
|
+
align-self: flex-start !important;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.univer-justify-self-end {
|
|
349
|
+
justify-self: end;
|
|
350
|
+
}
|
|
351
|
+
|
|
231
352
|
.univer-overflow-hidden {
|
|
232
353
|
overflow: hidden;
|
|
233
354
|
}
|
|
@@ -244,28 +365,38 @@
|
|
|
244
365
|
overflow-x: hidden;
|
|
245
366
|
}
|
|
246
367
|
|
|
368
|
+
.\!univer-truncate {
|
|
369
|
+
text-overflow: ellipsis !important;
|
|
370
|
+
white-space: nowrap !important;
|
|
371
|
+
overflow: hidden !important;
|
|
372
|
+
}
|
|
373
|
+
|
|
247
374
|
.univer-truncate {
|
|
248
375
|
text-overflow: ellipsis;
|
|
249
376
|
white-space: nowrap;
|
|
250
377
|
overflow: hidden;
|
|
251
378
|
}
|
|
252
379
|
|
|
253
|
-
|
|
254
|
-
|
|
380
|
+
.\!univer-rounded-lg {
|
|
381
|
+
border-radius: .5rem !important;
|
|
255
382
|
}
|
|
256
383
|
|
|
257
|
-
|
|
258
|
-
|
|
384
|
+
.\!univer-rounded-md {
|
|
385
|
+
border-radius: .375rem !important;
|
|
259
386
|
}
|
|
260
387
|
|
|
261
|
-
.\!univer-rounded {
|
|
262
|
-
border-radius: .
|
|
388
|
+
.\!univer-rounded-xl {
|
|
389
|
+
border-radius: .75rem !important;
|
|
263
390
|
}
|
|
264
391
|
|
|
265
392
|
.univer-rounded {
|
|
266
393
|
border-radius: .25rem;
|
|
267
394
|
}
|
|
268
395
|
|
|
396
|
+
.univer-rounded-full {
|
|
397
|
+
border-radius: 9999px;
|
|
398
|
+
}
|
|
399
|
+
|
|
269
400
|
.univer-rounded-lg {
|
|
270
401
|
border-radius: .5rem;
|
|
271
402
|
}
|
|
@@ -278,6 +409,10 @@
|
|
|
278
409
|
border-radius: .75rem;
|
|
279
410
|
}
|
|
280
411
|
|
|
412
|
+
.\!univer-border-0 {
|
|
413
|
+
border-width: 0 !important;
|
|
414
|
+
}
|
|
415
|
+
|
|
281
416
|
.univer-border {
|
|
282
417
|
border-width: 1px;
|
|
283
418
|
}
|
|
@@ -286,6 +421,10 @@
|
|
|
286
421
|
border-width: 0;
|
|
287
422
|
}
|
|
288
423
|
|
|
424
|
+
.univer-border-2 {
|
|
425
|
+
border-width: 2px;
|
|
426
|
+
}
|
|
427
|
+
|
|
289
428
|
.univer-border-t {
|
|
290
429
|
border-top-width: 1px;
|
|
291
430
|
}
|
|
@@ -298,8 +437,12 @@
|
|
|
298
437
|
border-style: none;
|
|
299
438
|
}
|
|
300
439
|
|
|
301
|
-
.\!univer-border-
|
|
302
|
-
border-color:
|
|
440
|
+
.\!univer-border-gray-200 {
|
|
441
|
+
border-color: var(--univer-gray-200) !important;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.univer-border-current {
|
|
445
|
+
border-color: currentColor;
|
|
303
446
|
}
|
|
304
447
|
|
|
305
448
|
.univer-border-gray-200 {
|
|
@@ -310,6 +453,14 @@
|
|
|
310
453
|
border-color: var(--univer-primary-500);
|
|
311
454
|
}
|
|
312
455
|
|
|
456
|
+
.univer-border-t-transparent {
|
|
457
|
+
border-top-color: #0000;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.\!univer-bg-gray-0 {
|
|
461
|
+
background-color: var(--univer-gray-0) !important;
|
|
462
|
+
}
|
|
463
|
+
|
|
313
464
|
.\!univer-bg-gray-800 {
|
|
314
465
|
background-color: var(--univer-gray-800) !important;
|
|
315
466
|
}
|
|
@@ -358,13 +509,17 @@
|
|
|
358
509
|
padding: .25rem;
|
|
359
510
|
}
|
|
360
511
|
|
|
512
|
+
.univer-p-2 {
|
|
513
|
+
padding: .5rem;
|
|
514
|
+
}
|
|
515
|
+
|
|
361
516
|
.univer-p-3 {
|
|
362
517
|
padding: .75rem;
|
|
363
518
|
}
|
|
364
519
|
|
|
365
|
-
.\!univer-px-
|
|
366
|
-
padding-left: .
|
|
367
|
-
padding-right: .
|
|
520
|
+
.\!univer-px-3 {
|
|
521
|
+
padding-left: .75rem !important;
|
|
522
|
+
padding-right: .75rem !important;
|
|
368
523
|
}
|
|
369
524
|
|
|
370
525
|
.univer-px-1 {
|
|
@@ -410,6 +565,10 @@
|
|
|
410
565
|
padding-bottom: max(12px,env(safe-area-inset-bottom));
|
|
411
566
|
}
|
|
412
567
|
|
|
568
|
+
.univer-pe-5 {
|
|
569
|
+
padding-right: 1.25rem;
|
|
570
|
+
}
|
|
571
|
+
|
|
413
572
|
.univer-pr-1\.5 {
|
|
414
573
|
padding-right: .375rem;
|
|
415
574
|
}
|
|
@@ -430,11 +589,29 @@
|
|
|
430
589
|
text-align: center;
|
|
431
590
|
}
|
|
432
591
|
|
|
592
|
+
.univer-text-start {
|
|
593
|
+
text-align: left;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.univer-font-sans {
|
|
597
|
+
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
598
|
+
}
|
|
599
|
+
|
|
433
600
|
.\!univer-text-base {
|
|
434
601
|
font-size: 1rem !important;
|
|
435
602
|
line-height: 1.5rem !important;
|
|
436
603
|
}
|
|
437
604
|
|
|
605
|
+
.\!univer-text-sm {
|
|
606
|
+
font-size: .875rem !important;
|
|
607
|
+
line-height: 1.25rem !important;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.\!univer-text-xs {
|
|
611
|
+
font-size: .75rem !important;
|
|
612
|
+
line-height: 1rem !important;
|
|
613
|
+
}
|
|
614
|
+
|
|
438
615
|
.univer-text-\[10px\] {
|
|
439
616
|
font-size: 10px;
|
|
440
617
|
}
|
|
@@ -459,6 +636,10 @@
|
|
|
459
636
|
line-height: 1rem;
|
|
460
637
|
}
|
|
461
638
|
|
|
639
|
+
.\!univer-font-medium {
|
|
640
|
+
font-weight: 500 !important;
|
|
641
|
+
}
|
|
642
|
+
|
|
462
643
|
.univer-font-medium {
|
|
463
644
|
font-weight: 500;
|
|
464
645
|
}
|
|
@@ -471,6 +652,22 @@
|
|
|
471
652
|
text-transform: uppercase;
|
|
472
653
|
}
|
|
473
654
|
|
|
655
|
+
.\!univer-leading-5 {
|
|
656
|
+
line-height: 1.25rem !important;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.\!univer-text-gray-0 {
|
|
660
|
+
color: var(--univer-gray-0) !important;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.\!univer-text-gray-500 {
|
|
664
|
+
color: var(--univer-gray-500) !important;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.\!univer-text-gray-600 {
|
|
668
|
+
color: var(--univer-gray-600) !important;
|
|
669
|
+
}
|
|
670
|
+
|
|
474
671
|
.\!univer-text-primary-300 {
|
|
475
672
|
color: var(--univer-primary-300) !important;
|
|
476
673
|
}
|
|
@@ -500,19 +697,24 @@
|
|
|
500
697
|
color: var(--univer-gray-900);
|
|
501
698
|
}
|
|
502
699
|
|
|
700
|
+
.univer-text-inherit {
|
|
701
|
+
color: inherit;
|
|
702
|
+
}
|
|
703
|
+
|
|
503
704
|
.univer-text-primary-600 {
|
|
504
705
|
color: var(--univer-primary-600);
|
|
505
706
|
}
|
|
506
707
|
|
|
507
|
-
.univer-
|
|
508
|
-
|
|
708
|
+
.univer-text-red-600 {
|
|
709
|
+
color: var(--univer-red-600);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.univer-text-yellow-600 {
|
|
713
|
+
color: var(--univer-yellow-600);
|
|
509
714
|
}
|
|
510
715
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
--univer-tw-shadow-colored: 0 0 #0000 !important;
|
|
514
|
-
box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000 !important;
|
|
515
|
-
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow) !important;
|
|
716
|
+
.univer-opacity-50 {
|
|
717
|
+
opacity: .5;
|
|
516
718
|
}
|
|
517
719
|
|
|
518
720
|
.univer-shadow-lg {
|
|
@@ -522,6 +724,13 @@
|
|
|
522
724
|
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
523
725
|
}
|
|
524
726
|
|
|
727
|
+
.univer-shadow-md {
|
|
728
|
+
--univer-tw-shadow: 0px 1px 6px -2px #1e284d14, 0px 2px 6px -1px #1e284d1a;
|
|
729
|
+
--univer-tw-shadow-colored: 0px 1px 6px -2px var(--univer-tw-shadow-color), 0px 2px 6px -1px var(--univer-tw-shadow-color);
|
|
730
|
+
box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 6px -2px #1e284d14, 0 2px 6px -1px #1e284d1a;
|
|
731
|
+
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow);
|
|
732
|
+
}
|
|
733
|
+
|
|
525
734
|
.univer-shadow-sm {
|
|
526
735
|
--univer-tw-shadow: 0px 1px 2px 0px #1e284d14;
|
|
527
736
|
--univer-tw-shadow-colored: 0px 1px 2px 0px var(--univer-tw-shadow-color);
|
|
@@ -559,6 +768,18 @@
|
|
|
559
768
|
}
|
|
560
769
|
|
|
561
770
|
@media (hover: hover) and (pointer: fine) {
|
|
771
|
+
.hover\:\!univer-bg-gray-100:hover {
|
|
772
|
+
background-color: var(--univer-gray-100) !important;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.hover\:\!univer-bg-primary-500:hover {
|
|
776
|
+
background-color: var(--univer-primary-500) !important;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.hover\:\!univer-bg-red-50:hover {
|
|
780
|
+
background-color: var(--univer-red-50) !important;
|
|
781
|
+
}
|
|
782
|
+
|
|
562
783
|
.hover\:univer-bg-gray-100:hover {
|
|
563
784
|
background-color: var(--univer-gray-100);
|
|
564
785
|
}
|
|
@@ -567,6 +788,10 @@
|
|
|
567
788
|
background-color: var(--univer-gray-50);
|
|
568
789
|
}
|
|
569
790
|
|
|
791
|
+
.hover\:\!univer-text-red-600:hover {
|
|
792
|
+
color: var(--univer-red-600) !important;
|
|
793
|
+
}
|
|
794
|
+
|
|
570
795
|
.hover\:univer-text-gray-600:hover {
|
|
571
796
|
color: var(--univer-gray-600);
|
|
572
797
|
}
|
|
@@ -576,23 +801,20 @@
|
|
|
576
801
|
}
|
|
577
802
|
}
|
|
578
803
|
|
|
579
|
-
.focus\:\!univer-
|
|
580
|
-
|
|
804
|
+
.focus-visible\:\!univer-text-red-600:focus-visible {
|
|
805
|
+
color: var(--univer-red-600) !important;
|
|
581
806
|
}
|
|
582
807
|
|
|
583
|
-
.focus
|
|
584
|
-
|
|
808
|
+
.focus-visible\:univer-outline:focus-visible {
|
|
809
|
+
outline-style: solid;
|
|
585
810
|
}
|
|
586
811
|
|
|
587
|
-
.focus
|
|
588
|
-
|
|
589
|
-
--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(1px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color) !important;
|
|
590
|
-
box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000 !important;
|
|
591
|
-
box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000) !important;
|
|
812
|
+
.focus-visible\:univer-outline-2:focus-visible {
|
|
813
|
+
outline-width: 2px;
|
|
592
814
|
}
|
|
593
815
|
|
|
594
|
-
.focus
|
|
595
|
-
|
|
816
|
+
.focus-visible\:univer-outline-primary-500:focus-visible {
|
|
817
|
+
outline-color: var(--univer-primary-500);
|
|
596
818
|
}
|
|
597
819
|
|
|
598
820
|
.active\:univer-scale-95:active {
|
|
@@ -618,14 +840,6 @@
|
|
|
618
840
|
cursor: not-allowed;
|
|
619
841
|
}
|
|
620
842
|
|
|
621
|
-
.disabled\:\!univer-bg-transparent:disabled {
|
|
622
|
-
background-color: #0000 !important;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
.disabled\:univer-opacity-100:disabled {
|
|
626
|
-
opacity: 1;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
843
|
.disabled\:univer-opacity-40:disabled {
|
|
630
844
|
opacity: .4;
|
|
631
845
|
}
|
|
@@ -646,6 +860,10 @@
|
|
|
646
860
|
border-color: var(--univer-gray-700) !important;
|
|
647
861
|
}
|
|
648
862
|
|
|
863
|
+
.dark\:univer-border-gray-600:where(.univer-dark, .univer-dark *) {
|
|
864
|
+
border-color: var(--univer-gray-600);
|
|
865
|
+
}
|
|
866
|
+
|
|
649
867
|
.dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
|
|
650
868
|
background-color: var(--univer-gray-700) !important;
|
|
651
869
|
}
|
|
@@ -662,6 +880,10 @@
|
|
|
662
880
|
background-color: var(--univer-primary-900) !important;
|
|
663
881
|
}
|
|
664
882
|
|
|
883
|
+
.dark\:univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
|
|
884
|
+
background-color: var(--univer-gray-800);
|
|
885
|
+
}
|
|
886
|
+
|
|
665
887
|
.dark\:\!univer-text-gray-0:where(.univer-dark, .univer-dark *) {
|
|
666
888
|
color: var(--univer-gray-0) !important;
|
|
667
889
|
}
|
|
@@ -694,6 +916,14 @@
|
|
|
694
916
|
color: var(--univer-primary-300) !important;
|
|
695
917
|
}
|
|
696
918
|
|
|
919
|
+
.dark\:univer-text-gray-0:where(.univer-dark, .univer-dark *) {
|
|
920
|
+
color: var(--univer-gray-0);
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.dark\:univer-text-yellow-400:where(.univer-dark, .univer-dark *) {
|
|
924
|
+
color: var(--univer-yellow-400);
|
|
925
|
+
}
|
|
926
|
+
|
|
697
927
|
@media (hover: hover) and (pointer: fine) {
|
|
698
928
|
.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
|
|
699
929
|
background-color: var(--univer-gray-700) !important;
|
|
@@ -703,6 +933,10 @@
|
|
|
703
933
|
background-color: var(--univer-gray-800) !important;
|
|
704
934
|
}
|
|
705
935
|
|
|
936
|
+
.dark\:hover\:\!univer-bg-red-900:hover:where(.univer-dark, .univer-dark *) {
|
|
937
|
+
background-color: var(--univer-red-900) !important;
|
|
938
|
+
}
|
|
939
|
+
|
|
706
940
|
.dark\:hover\:\!univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
|
|
707
941
|
color: var(--univer-gray-100) !important;
|
|
708
942
|
}
|
|
@@ -710,14 +944,10 @@
|
|
|
710
944
|
.dark\:hover\:\!univer-text-gray-300:hover:where(.univer-dark, .univer-dark *) {
|
|
711
945
|
color: var(--univer-gray-300) !important;
|
|
712
946
|
}
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
.dark\:focus\:\!univer-bg-gray-900:focus:where(.univer-dark, .univer-dark *) {
|
|
716
|
-
background-color: var(--univer-gray-900) !important;
|
|
717
|
-
}
|
|
718
947
|
|
|
719
|
-
.dark\:
|
|
720
|
-
|
|
948
|
+
.dark\:hover\:\!univer-text-red-300:hover:where(.univer-dark, .univer-dark *) {
|
|
949
|
+
color: var(--univer-red-300) !important;
|
|
950
|
+
}
|
|
721
951
|
}
|
|
722
952
|
|
|
723
953
|
.\[\&\>div\]\:univer-grid > div {
|
|
@@ -728,13 +958,8 @@
|
|
|
728
958
|
gap: .5rem;
|
|
729
959
|
}
|
|
730
960
|
|
|
731
|
-
.\[
|
|
732
|
-
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
.\[\&_input\]\:\!univer-text-base input {
|
|
736
|
-
font-size: 1rem !important;
|
|
737
|
-
line-height: 1.5rem !important;
|
|
961
|
+
.\[\&\>svg\]\:\!univer-top-0 > svg {
|
|
962
|
+
top: 0 !important;
|
|
738
963
|
}
|
|
739
964
|
.univer-absolute {
|
|
740
965
|
position: absolute;
|
package/lib/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export * from "@univerjs/sheets-drawing"
|
|
|
17
17
|
|
|
18
18
|
export * from "@univerjs/sheets-drawing-ui"
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
// src/preset.ts
|
|
21
21
|
function UniverSheetsDrawingPreset(config = {}) {
|
|
22
22
|
const { collaboration = false, allowImageSize } = config;
|
|
23
23
|
return { plugins: [
|
|
@@ -32,5 +32,4 @@ function UniverSheetsDrawingPreset(config = {}) {
|
|
|
32
32
|
].filter((v) => !!v) };
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
//#endregion
|
|
36
35
|
export { UniverSheetsDrawingPreset };
|
package/lib/locales/ar-SA.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ar-SA";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/ar-SA";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ar-SA.ts
|
|
5
5
|
var ar_SA_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { ar_SA_default as default };
|
package/lib/locales/ca-ES.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/ca-ES";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/ca-ES";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/ca-ES.ts
|
|
5
5
|
var ca_ES_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { ca_ES_default as default };
|
package/lib/locales/de-DE.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/de-DE";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/de-DE";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/de-DE.ts
|
|
5
5
|
var de_DE_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { de_DE_default as default };
|
package/lib/locales/en-US.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/en-US";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/en-US";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/en-US.ts
|
|
5
5
|
var en_US_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { en_US_default as default };
|
package/lib/locales/es-ES.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/es-ES";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/es-ES";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/es-ES.ts
|
|
5
5
|
var es_ES_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { es_ES_default as default };
|
package/lib/locales/fa-IR.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import univerjsdrawingui from "@univerjs/drawing-ui/locale/fa-IR";
|
|
2
2
|
import univerjssheetsdrawingui from "@univerjs/sheets-drawing-ui/locale/fa-IR";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/locales/fa-IR.ts
|
|
5
5
|
var fa_IR_default = Object.assign({}, univerjsdrawingui, univerjssheetsdrawingui);
|
|
6
6
|
|
|
7
|
-
//#endregion
|
|
8
7
|
export { fa_IR_default as default };
|