@univerjs/sheets-conditional-formatting-ui 1.0.0-alpha.3 → 1.0.0-alpha.4

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/index.css CHANGED
@@ -31,10 +31,6 @@
31
31
  margin-bottom: .625rem;
32
32
  }
33
33
 
34
- .univer-mb-1 {
35
- margin-bottom: .25rem;
36
- }
37
-
38
34
  .univer-mb-2 {
39
35
  margin-bottom: .5rem;
40
36
  }
@@ -43,8 +39,8 @@
43
39
  margin-bottom: .625rem;
44
40
  }
45
41
 
46
- .univer-mb-3 {
47
- margin-bottom: .75rem;
42
+ .univer-mb-4 {
43
+ margin-bottom: 1rem;
48
44
  }
49
45
 
50
46
  .univer-ml-1 {
@@ -206,6 +202,14 @@
206
202
  justify-content: space-between;
207
203
  }
208
204
 
205
+ .univer-gap-0\.5 {
206
+ gap: .125rem;
207
+ }
208
+
209
+ .univer-gap-1 {
210
+ gap: .25rem;
211
+ }
212
+
209
213
  .univer-gap-2 {
210
214
  gap: .5rem;
211
215
  }
@@ -252,6 +256,10 @@
252
256
  border-width: 1px;
253
257
  }
254
258
 
259
+ .univer-border-0 {
260
+ border-width: 0;
261
+ }
262
+
255
263
  .univer-border-solid {
256
264
  border-style: solid;
257
265
  }
@@ -268,6 +276,14 @@
268
276
  background-color: var(--univer-gray-100);
269
277
  }
270
278
 
279
+ .univer-bg-primary-50 {
280
+ background-color: var(--univer-primary-50);
281
+ }
282
+
283
+ .univer-bg-transparent {
284
+ background-color: #0000;
285
+ }
286
+
271
287
  .univer-bg-white {
272
288
  background-color: var(--univer-white);
273
289
  }
@@ -280,6 +296,10 @@
280
296
  padding: .25rem;
281
297
  }
282
298
 
299
+ .univer-p-3 {
300
+ padding: .75rem;
301
+ }
302
+
283
303
  .univer-p-4 {
284
304
  padding: 1rem;
285
305
  }
@@ -289,6 +309,11 @@
289
309
  padding-right: .25rem;
290
310
  }
291
311
 
312
+ .univer-px-2 {
313
+ padding-left: .5rem;
314
+ padding-right: .5rem;
315
+ }
316
+
292
317
  .univer-px-4 {
293
318
  padding-left: 1rem;
294
319
  padding-right: 1rem;
@@ -350,6 +375,10 @@
350
375
  color: var(--univer-gray-400);
351
376
  }
352
377
 
378
+ .univer-text-gray-500 {
379
+ color: var(--univer-gray-500);
380
+ }
381
+
353
382
  .univer-text-gray-600 {
354
383
  color: var(--univer-gray-600);
355
384
  }
@@ -362,6 +391,22 @@
362
391
  color: var(--univer-red-500);
363
392
  }
364
393
 
394
+ .univer-outline-none {
395
+ outline-offset: 2px;
396
+ outline: 2px solid #0000;
397
+ }
398
+
399
+ .univer-ring-1 {
400
+ --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);
401
+ --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);
402
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
403
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
404
+ }
405
+
406
+ .univer-ring-primary-600 {
407
+ --univer-tw-ring-color: var(--univer-primary-600);
408
+ }
409
+
365
410
  .univer-transition-all {
366
411
  transition-property: all;
367
412
  transition-duration: .15s;
@@ -374,6 +419,10 @@
374
419
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
375
420
  }
376
421
 
422
+ .last\:univer-mb-0:last-child {
423
+ margin-bottom: 0;
424
+ }
425
+
377
426
  .univer-group:hover .group-hover\:univer-flex {
378
427
  display: flex;
379
428
  }
@@ -390,6 +439,17 @@
390
439
  background-color: var(--univer-gray-200);
391
440
  }
392
441
 
442
+ .focus-visible\:univer-ring-2:focus-visible {
443
+ --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);
444
+ --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);
445
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
446
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
447
+ }
448
+
449
+ .focus-visible\:univer-ring-primary-600:focus-visible {
450
+ --univer-tw-ring-color: var(--univer-primary-600);
451
+ }
452
+
393
453
  .rtl\:univer-grid-flow-dense:where([dir="rtl"], [dir="rtl"] *) {
394
454
  grid-auto-flow: dense;
395
455
  }
@@ -406,10 +466,18 @@
406
466
  background-color: var(--univer-gray-700) !important;
407
467
  }
408
468
 
469
+ .dark\:\!univer-bg-primary-900:where(.univer-dark, .univer-dark *) {
470
+ background-color: var(--univer-primary-900) !important;
471
+ }
472
+
409
473
  .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
410
474
  color: var(--univer-gray-200) !important;
411
475
  }
412
476
 
477
+ .dark\:\!univer-text-gray-400:where(.univer-dark, .univer-dark *) {
478
+ color: var(--univer-gray-400) !important;
479
+ }
480
+
413
481
  .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
414
482
  color: var(--univer-white) !important;
415
483
  }