analytica-frontend-lib 1.0.11 → 1.0.12
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 +107 -6
- package/package.json +2 -1
package/dist/index.css
CHANGED
|
@@ -47,6 +47,8 @@
|
|
|
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);
|
|
@@ -59,6 +61,7 @@
|
|
|
59
61
|
--color-primary-800: #0d0d0d;
|
|
60
62
|
--color-primary-950: #080808;
|
|
61
63
|
--color-text: #fefeff;
|
|
64
|
+
--color-text-400: #a3a3a3;
|
|
62
65
|
--color-text-600: #737373;
|
|
63
66
|
--color-text-700: #525252;
|
|
64
67
|
--color-text-800: #404040;
|
|
@@ -68,6 +71,7 @@
|
|
|
68
71
|
--color-background-50: #f6f6f6;
|
|
69
72
|
--color-background-100: #f2f1f1;
|
|
70
73
|
--color-background-200: #dcdbdb;
|
|
74
|
+
--color-background-muted: #f7f8f7;
|
|
71
75
|
--color-border-50: #f3f3f3;
|
|
72
76
|
--color-border-100: #e6e6e6;
|
|
73
77
|
--color-border-200: #dddcdb;
|
|
@@ -302,12 +306,36 @@
|
|
|
302
306
|
white-space: nowrap;
|
|
303
307
|
border-width: 0;
|
|
304
308
|
}
|
|
309
|
+
.absolute {
|
|
310
|
+
position: absolute;
|
|
311
|
+
}
|
|
305
312
|
.relative {
|
|
306
313
|
position: relative;
|
|
307
314
|
}
|
|
315
|
+
.top-full {
|
|
316
|
+
top: 100%;
|
|
317
|
+
}
|
|
318
|
+
.right-0 {
|
|
319
|
+
right: calc(var(--spacing) * 0);
|
|
320
|
+
}
|
|
321
|
+
.bottom-full {
|
|
322
|
+
bottom: 100%;
|
|
323
|
+
}
|
|
324
|
+
.left-0 {
|
|
325
|
+
left: calc(var(--spacing) * 0);
|
|
326
|
+
}
|
|
327
|
+
.left-1\/2 {
|
|
328
|
+
left: calc(1/2 * 100%);
|
|
329
|
+
}
|
|
330
|
+
.z-50 {
|
|
331
|
+
z-index: 50;
|
|
332
|
+
}
|
|
308
333
|
.mx-2 {
|
|
309
334
|
margin-inline: calc(var(--spacing) * 2);
|
|
310
335
|
}
|
|
336
|
+
.my-1 {
|
|
337
|
+
margin-block: calc(var(--spacing) * 1);
|
|
338
|
+
}
|
|
311
339
|
.my-4 {
|
|
312
340
|
margin-block: calc(var(--spacing) * 4);
|
|
313
341
|
}
|
|
@@ -347,6 +375,9 @@
|
|
|
347
375
|
.h-10 {
|
|
348
376
|
height: calc(var(--spacing) * 10);
|
|
349
377
|
}
|
|
378
|
+
.h-px {
|
|
379
|
+
height: 1px;
|
|
380
|
+
}
|
|
350
381
|
.w-5 {
|
|
351
382
|
width: calc(var(--spacing) * 5);
|
|
352
383
|
}
|
|
@@ -359,9 +390,16 @@
|
|
|
359
390
|
.w-full {
|
|
360
391
|
width: 100%;
|
|
361
392
|
}
|
|
393
|
+
.min-w-\[210px\] {
|
|
394
|
+
min-width: 210px;
|
|
395
|
+
}
|
|
362
396
|
.caption-bottom {
|
|
363
397
|
caption-side: bottom;
|
|
364
398
|
}
|
|
399
|
+
.-translate-x-1\/2 {
|
|
400
|
+
--tw-translate-x: calc(calc(1/2 * 100%) * -1);
|
|
401
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
402
|
+
}
|
|
365
403
|
.transform {
|
|
366
404
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
367
405
|
}
|
|
@@ -401,12 +439,21 @@
|
|
|
401
439
|
.gap-6 {
|
|
402
440
|
gap: calc(var(--spacing) * 6);
|
|
403
441
|
}
|
|
442
|
+
.gap-8 {
|
|
443
|
+
gap: calc(var(--spacing) * 8);
|
|
444
|
+
}
|
|
404
445
|
.overflow-hidden {
|
|
405
446
|
overflow: hidden;
|
|
406
447
|
}
|
|
407
448
|
.rounded-full {
|
|
408
449
|
border-radius: calc(infinity * 1px);
|
|
409
450
|
}
|
|
451
|
+
.rounded-md {
|
|
452
|
+
border-radius: var(--radius-md);
|
|
453
|
+
}
|
|
454
|
+
.rounded-sm {
|
|
455
|
+
border-radius: var(--radius-sm);
|
|
456
|
+
}
|
|
410
457
|
.rounded-xl {
|
|
411
458
|
border-radius: var(--radius-xl);
|
|
412
459
|
}
|
|
@@ -465,6 +512,12 @@
|
|
|
465
512
|
.bg-background-50 {
|
|
466
513
|
background-color: var(--color-background-50);
|
|
467
514
|
}
|
|
515
|
+
.bg-background-muted {
|
|
516
|
+
background-color: var(--color-background-muted);
|
|
517
|
+
}
|
|
518
|
+
.bg-border-200 {
|
|
519
|
+
background-color: var(--color-border-200);
|
|
520
|
+
}
|
|
468
521
|
.bg-error-500 {
|
|
469
522
|
background-color: var(--color-error-500);
|
|
470
523
|
}
|
|
@@ -477,9 +530,15 @@
|
|
|
477
530
|
.bg-transparent {
|
|
478
531
|
background-color: transparent;
|
|
479
532
|
}
|
|
533
|
+
.p-1 {
|
|
534
|
+
padding: calc(var(--spacing) * 1);
|
|
535
|
+
}
|
|
480
536
|
.p-2 {
|
|
481
537
|
padding: calc(var(--spacing) * 2);
|
|
482
538
|
}
|
|
539
|
+
.p-3 {
|
|
540
|
+
padding: calc(var(--spacing) * 3);
|
|
541
|
+
}
|
|
483
542
|
.p-4 {
|
|
484
543
|
padding: calc(var(--spacing) * 4);
|
|
485
544
|
}
|
|
@@ -513,6 +572,9 @@
|
|
|
513
572
|
.py-3\.5 {
|
|
514
573
|
padding-block: calc(var(--spacing) * 3.5);
|
|
515
574
|
}
|
|
575
|
+
.pl-8 {
|
|
576
|
+
padding-left: calc(var(--spacing) * 8);
|
|
577
|
+
}
|
|
516
578
|
.text-left {
|
|
517
579
|
text-align: left;
|
|
518
580
|
}
|
|
@@ -610,6 +672,9 @@
|
|
|
610
672
|
.text-text {
|
|
611
673
|
color: var(--color-text);
|
|
612
674
|
}
|
|
675
|
+
.text-text-400 {
|
|
676
|
+
color: var(--color-text-400);
|
|
677
|
+
}
|
|
613
678
|
.text-text-600 {
|
|
614
679
|
color: var(--color-text-600);
|
|
615
680
|
}
|
|
@@ -631,6 +696,15 @@
|
|
|
631
696
|
.opacity-50 {
|
|
632
697
|
opacity: 50%;
|
|
633
698
|
}
|
|
699
|
+
.shadow-md {
|
|
700
|
+
--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));
|
|
701
|
+
box-shadow:
|
|
702
|
+
var(--tw-inset-shadow),
|
|
703
|
+
var(--tw-inset-ring-shadow),
|
|
704
|
+
var(--tw-ring-offset-shadow),
|
|
705
|
+
var(--tw-ring-shadow),
|
|
706
|
+
var(--tw-shadow);
|
|
707
|
+
}
|
|
634
708
|
.shadow-none {
|
|
635
709
|
--tw-shadow: 0 0 #0000;
|
|
636
710
|
box-shadow:
|
|
@@ -684,6 +758,15 @@
|
|
|
684
758
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
685
759
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
686
760
|
}
|
|
761
|
+
.outline-none {
|
|
762
|
+
--tw-outline-style: none;
|
|
763
|
+
outline-style: none;
|
|
764
|
+
}
|
|
765
|
+
.select-none {
|
|
766
|
+
-webkit-user-select: none;
|
|
767
|
+
-moz-user-select: none;
|
|
768
|
+
user-select: none;
|
|
769
|
+
}
|
|
687
770
|
.hover\:border-error-400 {
|
|
688
771
|
&:hover {
|
|
689
772
|
@media (hover: hover) {
|
|
@@ -740,6 +823,13 @@
|
|
|
740
823
|
}
|
|
741
824
|
}
|
|
742
825
|
}
|
|
826
|
+
.hover\:bg-background-200 {
|
|
827
|
+
&:hover {
|
|
828
|
+
@media (hover: hover) {
|
|
829
|
+
background-color: var(--color-background-200);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}
|
|
743
833
|
.hover\:bg-error-600 {
|
|
744
834
|
&:hover {
|
|
745
835
|
@media (hover: hover) {
|
|
@@ -1027,6 +1117,17 @@
|
|
|
1027
1117
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1028
1118
|
}
|
|
1029
1119
|
}
|
|
1120
|
+
.\[\&\>svg\]\:size-4 {
|
|
1121
|
+
& > svg {
|
|
1122
|
+
width: calc(var(--spacing) * 4);
|
|
1123
|
+
height: calc(var(--spacing) * 4);
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
.\[\&\>svg\]\:shrink-0 {
|
|
1127
|
+
& > svg {
|
|
1128
|
+
flex-shrink: 0;
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1030
1131
|
.\[\&\>tr\]\:last\:border-b-0 {
|
|
1031
1132
|
& > tr {
|
|
1032
1133
|
&:last-child {
|
|
@@ -1356,6 +1457,9 @@
|
|
|
1356
1457
|
--shadow-soft-shadow-4: 0px 0px 40px rgba(38, 38, 38, 0.2);
|
|
1357
1458
|
}
|
|
1358
1459
|
}
|
|
1460
|
+
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1461
|
+
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1462
|
+
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1359
1463
|
@property --tw-rotate-x { syntax: "*"; inherits: false; }
|
|
1360
1464
|
@property --tw-rotate-y { syntax: "*"; inherits: false; }
|
|
1361
1465
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
@@ -1378,15 +1482,15 @@
|
|
|
1378
1482
|
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
1379
1483
|
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1380
1484
|
@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
1485
|
@layer properties {
|
|
1385
1486
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
1386
1487
|
*,
|
|
1387
1488
|
::before,
|
|
1388
1489
|
::after,
|
|
1389
1490
|
::backdrop {
|
|
1491
|
+
--tw-translate-x: 0;
|
|
1492
|
+
--tw-translate-y: 0;
|
|
1493
|
+
--tw-translate-z: 0;
|
|
1390
1494
|
--tw-rotate-x: initial;
|
|
1391
1495
|
--tw-rotate-y: initial;
|
|
1392
1496
|
--tw-rotate-z: initial;
|
|
@@ -1409,9 +1513,6 @@
|
|
|
1409
1513
|
--tw-ring-offset-color: #fff;
|
|
1410
1514
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
1411
1515
|
--tw-outline-style: solid;
|
|
1412
|
-
--tw-translate-x: 0;
|
|
1413
|
-
--tw-translate-y: 0;
|
|
1414
|
-
--tw-translate-z: 0;
|
|
1415
1516
|
}
|
|
1416
1517
|
}
|
|
1417
1518
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "analytica-frontend-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
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
|
},
|