analytica-frontend-lib 1.0.11 → 1.0.13
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/dist/index.css +142 -6
- package/package.json +2 -1
package/dist/index.css
CHANGED
|
@@ -47,11 +47,14 @@
|
|
|
47
47
|
--font-weight-bold: 700;
|
|
48
48
|
--font-weight-extrabold: 800;
|
|
49
49
|
--font-weight-black: 900;
|
|
50
|
+
--radius-sm: 0.25rem;
|
|
51
|
+
--radius-md: 0.375rem;
|
|
50
52
|
--radius-xl: 0.75rem;
|
|
51
53
|
--default-transition-duration: 150ms;
|
|
52
54
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
53
55
|
--default-font-family: var(--font-sans);
|
|
54
56
|
--default-mono-font-family: var(--font-mono);
|
|
57
|
+
--color-primary-50: #999999;
|
|
55
58
|
--color-primary-400: #525252;
|
|
56
59
|
--color-primary-500: #333333;
|
|
57
60
|
--color-primary-600: #292929;
|
|
@@ -59,6 +62,7 @@
|
|
|
59
62
|
--color-primary-800: #0d0d0d;
|
|
60
63
|
--color-primary-950: #080808;
|
|
61
64
|
--color-text: #fefeff;
|
|
65
|
+
--color-text-400: #a3a3a3;
|
|
62
66
|
--color-text-600: #737373;
|
|
63
67
|
--color-text-700: #525252;
|
|
64
68
|
--color-text-800: #404040;
|
|
@@ -68,6 +72,7 @@
|
|
|
68
72
|
--color-background-50: #f6f6f6;
|
|
69
73
|
--color-background-100: #f2f1f1;
|
|
70
74
|
--color-background-200: #dcdbdb;
|
|
75
|
+
--color-background-muted: #f7f8f7;
|
|
71
76
|
--color-border-50: #f3f3f3;
|
|
72
77
|
--color-border-100: #e6e6e6;
|
|
73
78
|
--color-border-200: #dddcdb;
|
|
@@ -302,12 +307,36 @@
|
|
|
302
307
|
white-space: nowrap;
|
|
303
308
|
border-width: 0;
|
|
304
309
|
}
|
|
310
|
+
.absolute {
|
|
311
|
+
position: absolute;
|
|
312
|
+
}
|
|
305
313
|
.relative {
|
|
306
314
|
position: relative;
|
|
307
315
|
}
|
|
316
|
+
.top-full {
|
|
317
|
+
top: 100%;
|
|
318
|
+
}
|
|
319
|
+
.right-0 {
|
|
320
|
+
right: calc(var(--spacing) * 0);
|
|
321
|
+
}
|
|
322
|
+
.bottom-full {
|
|
323
|
+
bottom: 100%;
|
|
324
|
+
}
|
|
325
|
+
.left-0 {
|
|
326
|
+
left: calc(var(--spacing) * 0);
|
|
327
|
+
}
|
|
328
|
+
.left-1\/2 {
|
|
329
|
+
left: calc(1/2 * 100%);
|
|
330
|
+
}
|
|
331
|
+
.z-50 {
|
|
332
|
+
z-index: 50;
|
|
333
|
+
}
|
|
308
334
|
.mx-2 {
|
|
309
335
|
margin-inline: calc(var(--spacing) * 2);
|
|
310
336
|
}
|
|
337
|
+
.my-1 {
|
|
338
|
+
margin-block: calc(var(--spacing) * 1);
|
|
339
|
+
}
|
|
311
340
|
.my-4 {
|
|
312
341
|
margin-block: calc(var(--spacing) * 4);
|
|
313
342
|
}
|
|
@@ -347,6 +376,9 @@
|
|
|
347
376
|
.h-10 {
|
|
348
377
|
height: calc(var(--spacing) * 10);
|
|
349
378
|
}
|
|
379
|
+
.h-px {
|
|
380
|
+
height: 1px;
|
|
381
|
+
}
|
|
350
382
|
.w-5 {
|
|
351
383
|
width: calc(var(--spacing) * 5);
|
|
352
384
|
}
|
|
@@ -359,9 +391,16 @@
|
|
|
359
391
|
.w-full {
|
|
360
392
|
width: 100%;
|
|
361
393
|
}
|
|
394
|
+
.min-w-\[210px\] {
|
|
395
|
+
min-width: 210px;
|
|
396
|
+
}
|
|
362
397
|
.caption-bottom {
|
|
363
398
|
caption-side: bottom;
|
|
364
399
|
}
|
|
400
|
+
.-translate-x-1\/2 {
|
|
401
|
+
--tw-translate-x: calc(calc(1/2 * 100%) * -1);
|
|
402
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
403
|
+
}
|
|
365
404
|
.transform {
|
|
366
405
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
367
406
|
}
|
|
@@ -389,6 +428,9 @@
|
|
|
389
428
|
.justify-start {
|
|
390
429
|
justify-content: flex-start;
|
|
391
430
|
}
|
|
431
|
+
.gap-0\.5 {
|
|
432
|
+
gap: calc(var(--spacing) * 0.5);
|
|
433
|
+
}
|
|
392
434
|
.gap-2 {
|
|
393
435
|
gap: calc(var(--spacing) * 2);
|
|
394
436
|
}
|
|
@@ -401,12 +443,21 @@
|
|
|
401
443
|
.gap-6 {
|
|
402
444
|
gap: calc(var(--spacing) * 6);
|
|
403
445
|
}
|
|
446
|
+
.gap-8 {
|
|
447
|
+
gap: calc(var(--spacing) * 8);
|
|
448
|
+
}
|
|
404
449
|
.overflow-hidden {
|
|
405
450
|
overflow: hidden;
|
|
406
451
|
}
|
|
407
452
|
.rounded-full {
|
|
408
453
|
border-radius: calc(infinity * 1px);
|
|
409
454
|
}
|
|
455
|
+
.rounded-md {
|
|
456
|
+
border-radius: var(--radius-md);
|
|
457
|
+
}
|
|
458
|
+
.rounded-sm {
|
|
459
|
+
border-radius: var(--radius-sm);
|
|
460
|
+
}
|
|
410
461
|
.rounded-xl {
|
|
411
462
|
border-radius: var(--radius-xl);
|
|
412
463
|
}
|
|
@@ -465,9 +516,18 @@
|
|
|
465
516
|
.bg-background-50 {
|
|
466
517
|
background-color: var(--color-background-50);
|
|
467
518
|
}
|
|
519
|
+
.bg-background-muted {
|
|
520
|
+
background-color: var(--color-background-muted);
|
|
521
|
+
}
|
|
522
|
+
.bg-border-200 {
|
|
523
|
+
background-color: var(--color-border-200);
|
|
524
|
+
}
|
|
468
525
|
.bg-error-500 {
|
|
469
526
|
background-color: var(--color-error-500);
|
|
470
527
|
}
|
|
528
|
+
.bg-primary-50 {
|
|
529
|
+
background-color: var(--color-primary-50);
|
|
530
|
+
}
|
|
471
531
|
.bg-primary-950 {
|
|
472
532
|
background-color: var(--color-primary-950);
|
|
473
533
|
}
|
|
@@ -477,9 +537,15 @@
|
|
|
477
537
|
.bg-transparent {
|
|
478
538
|
background-color: transparent;
|
|
479
539
|
}
|
|
540
|
+
.p-1 {
|
|
541
|
+
padding: calc(var(--spacing) * 1);
|
|
542
|
+
}
|
|
480
543
|
.p-2 {
|
|
481
544
|
padding: calc(var(--spacing) * 2);
|
|
482
545
|
}
|
|
546
|
+
.p-3 {
|
|
547
|
+
padding: calc(var(--spacing) * 3);
|
|
548
|
+
}
|
|
483
549
|
.p-4 {
|
|
484
550
|
padding: calc(var(--spacing) * 4);
|
|
485
551
|
}
|
|
@@ -501,6 +567,12 @@
|
|
|
501
567
|
.px-7 {
|
|
502
568
|
padding-inline: calc(var(--spacing) * 7);
|
|
503
569
|
}
|
|
570
|
+
.px-12 {
|
|
571
|
+
padding-inline: calc(var(--spacing) * 12);
|
|
572
|
+
}
|
|
573
|
+
.py-1 {
|
|
574
|
+
padding-block: calc(var(--spacing) * 1);
|
|
575
|
+
}
|
|
504
576
|
.py-2 {
|
|
505
577
|
padding-block: calc(var(--spacing) * 2);
|
|
506
578
|
}
|
|
@@ -513,6 +585,9 @@
|
|
|
513
585
|
.py-3\.5 {
|
|
514
586
|
padding-block: calc(var(--spacing) * 3.5);
|
|
515
587
|
}
|
|
588
|
+
.pl-8 {
|
|
589
|
+
padding-left: calc(var(--spacing) * 8);
|
|
590
|
+
}
|
|
516
591
|
.text-left {
|
|
517
592
|
text-align: left;
|
|
518
593
|
}
|
|
@@ -598,6 +673,9 @@
|
|
|
598
673
|
--tw-font-weight: var(--font-weight-semibold);
|
|
599
674
|
font-weight: var(--font-weight-semibold);
|
|
600
675
|
}
|
|
676
|
+
.whitespace-nowrap {
|
|
677
|
+
white-space: nowrap;
|
|
678
|
+
}
|
|
601
679
|
.text-error-500 {
|
|
602
680
|
color: var(--color-error-500);
|
|
603
681
|
}
|
|
@@ -610,6 +688,9 @@
|
|
|
610
688
|
.text-text {
|
|
611
689
|
color: var(--color-text);
|
|
612
690
|
}
|
|
691
|
+
.text-text-400 {
|
|
692
|
+
color: var(--color-text-400);
|
|
693
|
+
}
|
|
613
694
|
.text-text-600 {
|
|
614
695
|
color: var(--color-text-600);
|
|
615
696
|
}
|
|
@@ -631,6 +712,15 @@
|
|
|
631
712
|
.opacity-50 {
|
|
632
713
|
opacity: 50%;
|
|
633
714
|
}
|
|
715
|
+
.shadow-md {
|
|
716
|
+
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
717
|
+
box-shadow:
|
|
718
|
+
var(--tw-inset-shadow),
|
|
719
|
+
var(--tw-inset-ring-shadow),
|
|
720
|
+
var(--tw-ring-offset-shadow),
|
|
721
|
+
var(--tw-ring-shadow),
|
|
722
|
+
var(--tw-shadow);
|
|
723
|
+
}
|
|
634
724
|
.shadow-none {
|
|
635
725
|
--tw-shadow: 0 0 #0000;
|
|
636
726
|
box-shadow:
|
|
@@ -684,6 +774,15 @@
|
|
|
684
774
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
685
775
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
686
776
|
}
|
|
777
|
+
.outline-none {
|
|
778
|
+
--tw-outline-style: none;
|
|
779
|
+
outline-style: none;
|
|
780
|
+
}
|
|
781
|
+
.select-none {
|
|
782
|
+
-webkit-user-select: none;
|
|
783
|
+
-moz-user-select: none;
|
|
784
|
+
user-select: none;
|
|
785
|
+
}
|
|
687
786
|
.hover\:border-error-400 {
|
|
688
787
|
&:hover {
|
|
689
788
|
@media (hover: hover) {
|
|
@@ -740,6 +839,13 @@
|
|
|
740
839
|
}
|
|
741
840
|
}
|
|
742
841
|
}
|
|
842
|
+
.hover\:bg-background-200 {
|
|
843
|
+
&:hover {
|
|
844
|
+
@media (hover: hover) {
|
|
845
|
+
background-color: var(--color-background-200);
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
}
|
|
743
849
|
.hover\:bg-error-600 {
|
|
744
850
|
&:hover {
|
|
745
851
|
@media (hover: hover) {
|
|
@@ -747,6 +853,13 @@
|
|
|
747
853
|
}
|
|
748
854
|
}
|
|
749
855
|
}
|
|
856
|
+
.hover\:bg-primary-600 {
|
|
857
|
+
&:hover {
|
|
858
|
+
@media (hover: hover) {
|
|
859
|
+
background-color: var(--color-primary-600);
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
}
|
|
750
863
|
.hover\:bg-primary-800 {
|
|
751
864
|
&:hover {
|
|
752
865
|
@media (hover: hover) {
|
|
@@ -782,6 +895,13 @@
|
|
|
782
895
|
}
|
|
783
896
|
}
|
|
784
897
|
}
|
|
898
|
+
.hover\:text-text {
|
|
899
|
+
&:hover {
|
|
900
|
+
@media (hover: hover) {
|
|
901
|
+
color: var(--color-text);
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
}
|
|
785
905
|
.hover\:shadow-hard-shadow-1 {
|
|
786
906
|
&:hover {
|
|
787
907
|
@media (hover: hover) {
|
|
@@ -959,6 +1079,11 @@
|
|
|
959
1079
|
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
960
1080
|
}
|
|
961
1081
|
}
|
|
1082
|
+
.disabled\:pointer-events-none {
|
|
1083
|
+
&:disabled {
|
|
1084
|
+
pointer-events: none;
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
962
1087
|
.disabled\:cursor-not-allowed {
|
|
963
1088
|
&:disabled {
|
|
964
1089
|
cursor: not-allowed;
|
|
@@ -1027,6 +1152,17 @@
|
|
|
1027
1152
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1028
1153
|
}
|
|
1029
1154
|
}
|
|
1155
|
+
.\[\&\>svg\]\:size-4 {
|
|
1156
|
+
& > svg {
|
|
1157
|
+
width: calc(var(--spacing) * 4);
|
|
1158
|
+
height: calc(var(--spacing) * 4);
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
.\[\&\>svg\]\:shrink-0 {
|
|
1162
|
+
& > svg {
|
|
1163
|
+
flex-shrink: 0;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1030
1166
|
.\[\&\>tr\]\:last\:border-b-0 {
|
|
1031
1167
|
& > tr {
|
|
1032
1168
|
&:last-child {
|
|
@@ -1356,6 +1492,9 @@
|
|
|
1356
1492
|
--shadow-soft-shadow-4: 0px 0px 40px rgba(38, 38, 38, 0.2);
|
|
1357
1493
|
}
|
|
1358
1494
|
}
|
|
1495
|
+
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1496
|
+
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1497
|
+
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1359
1498
|
@property --tw-rotate-x { syntax: "*"; inherits: false; }
|
|
1360
1499
|
@property --tw-rotate-y { syntax: "*"; inherits: false; }
|
|
1361
1500
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
@@ -1378,15 +1517,15 @@
|
|
|
1378
1517
|
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
1379
1518
|
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1380
1519
|
@property --tw-outline-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
1381
|
-
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1382
|
-
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1383
|
-
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1384
1520
|
@layer properties {
|
|
1385
1521
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
1386
1522
|
*,
|
|
1387
1523
|
::before,
|
|
1388
1524
|
::after,
|
|
1389
1525
|
::backdrop {
|
|
1526
|
+
--tw-translate-x: 0;
|
|
1527
|
+
--tw-translate-y: 0;
|
|
1528
|
+
--tw-translate-z: 0;
|
|
1390
1529
|
--tw-rotate-x: initial;
|
|
1391
1530
|
--tw-rotate-y: initial;
|
|
1392
1531
|
--tw-rotate-z: initial;
|
|
@@ -1409,9 +1548,6 @@
|
|
|
1409
1548
|
--tw-ring-offset-color: #fff;
|
|
1410
1549
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
1411
1550
|
--tw-outline-style: solid;
|
|
1412
|
-
--tw-translate-x: 0;
|
|
1413
|
-
--tw-translate-y: 0;
|
|
1414
|
-
--tw-translate-z: 0;
|
|
1415
1551
|
}
|
|
1416
1552
|
}
|
|
1417
1553
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "analytica-frontend-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Repositório público dos componentes utilizados nas plataformas da Analytica Ensino",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"url": "https://github.com/analytica-ensino/analytica-frontend-lib/issues"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
+
"phosphor-react": "^1.4.1",
|
|
66
67
|
"react": "^19.1.0",
|
|
67
68
|
"react-dom": "^19.1.0"
|
|
68
69
|
},
|