@nearform/quantum 1.4.4 → 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/dist/global.css CHANGED
@@ -252,6 +252,9 @@
252
252
  .pointer-events-none {
253
253
  pointer-events: none;
254
254
  }
255
+ .collapse {
256
+ visibility: collapse;
257
+ }
255
258
  .invisible {
256
259
  visibility: hidden;
257
260
  }
@@ -278,18 +281,21 @@
278
281
  .inset-0 {
279
282
  inset: 0px;
280
283
  }
281
- .top-\[50\%\] {
282
- top: 50%;
284
+ .inset-x-0 {
285
+ inset-inline: 0px;
283
286
  }
284
- .right-0 {
285
- right: 0px;
287
+ .top-0 {
288
+ top: 0px;
286
289
  }
287
- .left-1 {
288
- left: var(--spacing);
290
+ .top-\[50\%\] {
291
+ top: 50%;
289
292
  }
290
293
  .left-\[50\%\] {
291
294
  left: 50%;
292
295
  }
296
+ .z-10 {
297
+ z-index: 10;
298
+ }
293
299
  .z-50 {
294
300
  z-index: 50;
295
301
  }
@@ -338,12 +344,12 @@
338
344
  .grid {
339
345
  display: grid;
340
346
  }
347
+ .hidden {
348
+ display: none;
349
+ }
341
350
  .inline-flex {
342
351
  display: inline-flex;
343
352
  }
344
- .table {
345
- display: table;
346
- }
347
353
  .field-sizing-content {
348
354
  field-sizing: content;
349
355
  }
@@ -533,17 +539,15 @@
533
539
  .gap-3 {
534
540
  gap: calc(var(--spacing) * 3);
535
541
  }
542
+ .gap-4 {
543
+ gap: calc(var(--spacing) * 4);
544
+ }
536
545
  .gap-6 {
537
546
  gap: calc(var(--spacing) * 6);
538
547
  }
539
548
  .gap-\[8px\] {
540
549
  gap: 8px;
541
550
  }
542
- :where(.space-y-0 > :not(:last-child)) {
543
- --tw-space-y-reverse: 0;
544
- margin-block-start: 0;
545
- margin-block-end: 0;
546
- }
547
551
  :where(.space-y-1\.5 > :not(:last-child)) {
548
552
  --tw-space-y-reverse: 0;
549
553
  margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
@@ -593,19 +597,27 @@
593
597
  .rounded-md {
594
598
  border-radius: var(--radius-md);
595
599
  }
596
- .rounded-none {
597
- border-radius: 0;
600
+ .rounded-none\! {
601
+ border-radius: 0 !important;
598
602
  }
599
603
  .rounded-xs {
600
604
  border-radius: var(--radius-xs);
601
605
  }
602
- .rounded-l-full {
603
- border-top-left-radius: calc(infinity * 1px);
604
- border-bottom-left-radius: calc(infinity * 1px);
606
+ .rounded-l-full\! {
607
+ border-top-left-radius: calc(infinity * 1px) !important;
608
+ border-bottom-left-radius: calc(infinity * 1px) !important;
609
+ }
610
+ .rounded-l-none\! {
611
+ border-top-left-radius: 0 !important;
612
+ border-bottom-left-radius: 0 !important;
605
613
  }
606
- .rounded-r-full {
607
- border-top-right-radius: calc(infinity * 1px);
608
- border-bottom-right-radius: calc(infinity * 1px);
614
+ .rounded-r-full\! {
615
+ border-top-right-radius: calc(infinity * 1px) !important;
616
+ border-bottom-right-radius: calc(infinity * 1px) !important;
617
+ }
618
+ .rounded-r-none\! {
619
+ border-top-right-radius: 0 !important;
620
+ border-bottom-right-radius: 0 !important;
609
621
  }
610
622
  .border {
611
623
  border-style: var(--tw-border-style);
@@ -659,7 +671,7 @@
659
671
  border-color: #0E9F6E;
660
672
  }
661
673
  .border-feedback-red {
662
- border-color: #E02424;
674
+ border-color: #C81E1E;
663
675
  }
664
676
  .border-feedback-yellow {
665
677
  border-color: #FACA15;
@@ -676,6 +688,9 @@
676
688
  .bg-accent {
677
689
  background-color: #000e38;
678
690
  }
691
+ .bg-accent\! {
692
+ background-color: #000e38 !important;
693
+ }
679
694
  .bg-background {
680
695
  background-color: #FFF;
681
696
  }
@@ -698,13 +713,13 @@
698
713
  background-color: #f4f8fa;
699
714
  }
700
715
  .bg-button-danger {
701
- background-color: #E02424;
716
+ background-color: #C81E1E;
702
717
  }
703
718
  .bg-button-primary {
704
719
  background-color: #000e38;
705
720
  }
706
721
  .bg-button-success {
707
- background-color: #0E9F6E;
722
+ background-color: #057A55;
708
723
  }
709
724
  .bg-green-50 {
710
725
  background-color: #F3FAF7;
@@ -715,8 +730,8 @@
715
730
  .bg-grey-200 {
716
731
  background-color: #E5E7EB;
717
732
  }
718
- .bg-grey-400 {
719
- background-color: #9CA3AF;
733
+ .bg-grey-400\! {
734
+ background-color: #9CA3AF !important;
720
735
  }
721
736
  .bg-red-50 {
722
737
  background-color: #FDF2F2;
@@ -769,9 +784,6 @@
769
784
  .p-6 {
770
785
  padding: calc(var(--spacing) * 6);
771
786
  }
772
- .px-0 {
773
- padding-inline: 0px;
774
- }
775
787
  .px-1 {
776
788
  padding-inline: var(--spacing);
777
789
  }
@@ -924,7 +936,7 @@
924
936
  color: #0E9F6E;
925
937
  }
926
938
  .text-feedback-red {
927
- color: #E02424;
939
+ color: #C81E1E;
928
940
  }
929
941
  .text-foreground {
930
942
  color: #111928;
@@ -932,11 +944,11 @@
932
944
  .text-foreground-inverse {
933
945
  color: #FFF;
934
946
  }
935
- .text-foreground-muted {
936
- color: #6B7280;
947
+ .text-foreground-inverse\! {
948
+ color: #FFF !important;
937
949
  }
938
- .text-foreground-subtle {
939
- color: #9CA3AF;
950
+ .text-foreground-muted {
951
+ color: #4B5563;
940
952
  }
941
953
  .text-green-700 {
942
954
  color: #046C4E;
@@ -944,6 +956,9 @@
944
956
  .text-grey-900 {
945
957
  color: #111928;
946
958
  }
959
+ .text-grey-900\! {
960
+ color: #111928 !important;
961
+ }
947
962
  .text-inherit {
948
963
  color: inherit;
949
964
  }
@@ -1162,7 +1177,7 @@
1162
1177
  background-color: #F9FAFB;
1163
1178
  }
1164
1179
  .hover\:bg-button-success-hover:hover {
1165
- background-color: #057A55;
1180
+ background-color: #046C4E;
1166
1181
  }
1167
1182
  .hover\:bg-button-tertiary-hover:hover {
1168
1183
  background-color: #F9FAFB;
@@ -1174,7 +1189,7 @@
1174
1189
  color: #111928;
1175
1190
  }
1176
1191
  .hover\:text-foreground-subtle:hover {
1177
- color: #9CA3AF;
1192
+ color: #6B7280;
1178
1193
  }
1179
1194
  .hover\:text-primary-10:hover {
1180
1195
  color: #f4f8fa;
@@ -1182,6 +1197,9 @@
1182
1197
  .hover\:underline:hover {
1183
1198
  text-decoration-line: underline;
1184
1199
  }
1200
+ .hover\:opacity-100:hover {
1201
+ opacity: 100%;
1202
+ }
1185
1203
  .hover\:focus-within\:border-border-focus:hover:focus-within {
1186
1204
  border-color: #0c3d60;
1187
1205
  }
@@ -1196,13 +1214,13 @@
1196
1214
  }
1197
1215
  }
1198
1216
  .focus\:bg-button-danger:focus {
1199
- background-color: #E02424;
1217
+ background-color: #C81E1E;
1200
1218
  }
1201
1219
  .focus\:bg-button-primary-focus:focus {
1202
1220
  background-color: #000e38;
1203
1221
  }
1204
1222
  .focus\:bg-button-success-focus:focus {
1205
- background-color: #046C4E;
1223
+ background-color: #03543F;
1206
1224
  }
1207
1225
  .focus\:bg-button-tertiary-focus:focus {
1208
1226
  background-color: #FFF;
@@ -1248,6 +1266,9 @@
1248
1266
  outline-offset: 2px;
1249
1267
  }
1250
1268
  }
1269
+ .focus-visible\:opacity-100:focus-visible {
1270
+ opacity: 100%;
1271
+ }
1251
1272
  .focus-visible\:shadow-blue:focus-visible {
1252
1273
  --tw-shadow: 0px 0px 0px 4px var(--tw-shadow-color, rgb(118,169,250));
1253
1274
  box-shadow:
@@ -1292,6 +1313,19 @@
1292
1313
  outline-offset: 2px;
1293
1314
  }
1294
1315
  }
1316
+ .focus-visible\:outline-2:focus-visible {
1317
+ outline-style: var(--tw-outline-style);
1318
+ outline-width: 2px;
1319
+ }
1320
+ .focus-visible\:outline-offset-1:focus-visible {
1321
+ outline-offset: 1px;
1322
+ }
1323
+ .focus-visible\:outline-offset-2:focus-visible {
1324
+ outline-offset: 2px;
1325
+ }
1326
+ .focus-visible\:outline-current:focus-visible {
1327
+ outline-color: currentcolor;
1328
+ }
1295
1329
  .active\:border-border:active {
1296
1330
  border-color: #97a1b8;
1297
1331
  }
@@ -1305,7 +1339,7 @@
1305
1339
  background-color: #F9FAFB;
1306
1340
  }
1307
1341
  .active\:text-foreground-muted:active {
1308
- color: #6B7280;
1342
+ color: #4B5563;
1309
1343
  }
1310
1344
  .active\:text-primary-10:active {
1311
1345
  color: #f4f8fa;
@@ -1320,7 +1354,7 @@
1320
1354
  var(--tw-shadow);
1321
1355
  }
1322
1356
  .enabled\:bg-foreground-subtle:enabled {
1323
- background-color: #9CA3AF;
1357
+ background-color: #6B7280;
1324
1358
  }
1325
1359
  .disabled\:pointer-events-none:disabled {
1326
1360
  pointer-events: none;
@@ -1360,22 +1394,13 @@
1360
1394
  background-color: #E5E7EB;
1361
1395
  }
1362
1396
  .disabled\:text-foreground-subtle:disabled {
1363
- color: #9CA3AF;
1397
+ color: #6B7280;
1364
1398
  }
1365
1399
  .disabled\:opacity-50:disabled {
1366
1400
  opacity: 50%;
1367
1401
  }
1368
- .aria-selected\:bg-accent[aria-selected=true] {
1369
- background-color: #000e38;
1370
- }
1371
- .aria-selected\:bg-accent-alt[aria-selected=true] {
1372
- background-color: #0c3d60;
1373
- }
1374
- .aria-selected\:bg-accent-hover-dark[aria-selected=true] {
1375
- background-color: #97a1b8;
1376
- }
1377
- .aria-selected\:opacity-100[aria-selected=true] {
1378
- opacity: 100%;
1402
+ .aria-disabled\:opacity-50[aria-disabled=true] {
1403
+ opacity: 50%;
1379
1404
  }
1380
1405
  .data-\[active\]\:border-none[data-active] {
1381
1406
  --tw-border-style: none;
@@ -1396,8 +1421,21 @@
1396
1421
  .data-\[disabled\]\:opacity-50[data-disabled] {
1397
1422
  opacity: 50%;
1398
1423
  }
1424
+ .data-\[highlighted\]\:bg-background-alt[data-highlighted] {
1425
+ background-color: #F3F4F6;
1426
+ }
1427
+ .data-\[highlighted\]\:outline-2[data-highlighted] {
1428
+ outline-style: var(--tw-outline-style);
1429
+ outline-width: 2px;
1430
+ }
1431
+ .data-\[highlighted\]\:-outline-offset-2[data-highlighted] {
1432
+ outline-offset: calc(2px * -1);
1433
+ }
1434
+ .data-\[highlighted\]\:outline-current[data-highlighted] {
1435
+ outline-color: currentcolor;
1436
+ }
1399
1437
  .data-\[placeholder\]\:text-foreground-muted[data-placeholder] {
1400
- color: #6B7280;
1438
+ color: #4B5563;
1401
1439
  }
1402
1440
  .data-\[selected\=true\]\:text-secondary-100[data-selected=true] {
1403
1441
  color: #03e5a4;
@@ -1450,7 +1488,7 @@
1450
1488
  background-color: #000e38;
1451
1489
  }
1452
1490
  .data-\[state\=open\]\:text-foreground-muted[data-state=open] {
1453
- color: #6B7280;
1491
+ color: #4B5563;
1454
1492
  }
1455
1493
  .data-\[state\=unchecked\]\:translate-x-\[2px\][data-state=unchecked] {
1456
1494
  --tw-translate-x: 2px;
@@ -1501,6 +1539,9 @@
1501
1539
  .dark\:border-primary-30:is(.dark *) {
1502
1540
  border-color: #97a1b8;
1503
1541
  }
1542
+ .dark\:bg-accent-alt\!:is(.dark *) {
1543
+ background-color: #0c3d60 !important;
1544
+ }
1504
1545
  .dark\:bg-accent-dark:is(.dark *) {
1505
1546
  background-color: #f4f8fa;
1506
1547
  }
@@ -1519,12 +1560,18 @@
1519
1560
  .dark\:bg-black:is(.dark *) {
1520
1561
  background-color: #000;
1521
1562
  }
1563
+ .dark\:bg-blue-400\!:is(.dark *) {
1564
+ background-color: #76A9FA !important;
1565
+ }
1522
1566
  .dark\:bg-border-dark:is(.dark *) {
1523
1567
  background-color: #526288;
1524
1568
  }
1525
1569
  .dark\:bg-border-subtle-dark:is(.dark *) {
1526
1570
  background-color: #374151;
1527
1571
  }
1572
+ .dark\:bg-brandGreen-100:is(.dark *) {
1573
+ background-color: #03e5a4;
1574
+ }
1528
1575
  .dark\:bg-button-primary-dark:is(.dark *) {
1529
1576
  background-color: #f4f8fa;
1530
1577
  }
@@ -1552,9 +1599,15 @@
1552
1599
  .dark\:text-foreground-inverse:is(.dark *) {
1553
1600
  color: #FFF;
1554
1601
  }
1602
+ .dark\:text-foreground-inverse\!:is(.dark *) {
1603
+ color: #FFF !important;
1604
+ }
1555
1605
  .dark\:text-foreground-inverse-dark:is(.dark *) {
1556
1606
  color: #111928;
1557
1607
  }
1608
+ .dark\:text-foreground-inverse-dark\!:is(.dark *) {
1609
+ color: #111928 !important;
1610
+ }
1558
1611
  .dark\:text-foreground-muted-dark:is(.dark *) {
1559
1612
  color: #D1D5DB;
1560
1613
  }
@@ -1687,17 +1740,11 @@
1687
1740
  background-color: #E5E7EB;
1688
1741
  }
1689
1742
  .dark\:disabled\:text-foreground-subtle:is(.dark *):disabled {
1690
- color: #9CA3AF;
1743
+ color: #6B7280;
1691
1744
  }
1692
1745
  .dark\:disabled\:text-foreground-subtle-dark:is(.dark *):disabled {
1693
1746
  color: #6B7280;
1694
1747
  }
1695
- .dark\:aria-selected\:bg-accent-alt:is(.dark *)[aria-selected=true] {
1696
- background-color: #0c3d60;
1697
- }
1698
- .dark\:aria-selected\:bg-brandGreen-100:is(.dark *)[aria-selected=true] {
1699
- background-color: #03e5a4;
1700
- }
1701
1748
  .dark\:data-\[active\]\:bg-foreground-dark:is(.dark *)[data-active] {
1702
1749
  background-color: #FFF;
1703
1750
  }
@@ -1707,6 +1754,9 @@
1707
1754
  .dark\:data-\[disabled\]\:bg-grey-300:is(.dark *)[data-disabled] {
1708
1755
  background-color: #D1D5DB;
1709
1756
  }
1757
+ .dark\:data-\[highlighted\]\:bg-background-alt-dark:is(.dark *)[data-highlighted] {
1758
+ background-color: #374151;
1759
+ }
1710
1760
  .dark\:data-\[selected\=true\]\:text-accent-dark:is(.dark *)[data-selected=true] {
1711
1761
  color: #f4f8fa;
1712
1762
  }
@@ -1732,9 +1782,6 @@
1732
1782
  .\[\&\>\*\]\:flex > * {
1733
1783
  display: flex;
1734
1784
  }
1735
- .\[\&\>\*\]\:flex-row > * {
1736
- flex-direction: row;
1737
- }
1738
1785
  .\[\&\>\*\]\:items-center > * {
1739
1786
  align-items: center;
1740
1787
  }
@@ -1773,6 +1820,14 @@
1773
1820
  .\[\&\>\*\]\:text-grey-900 > * {
1774
1821
  color: #111928;
1775
1822
  }
1823
+ .\[\&\>\*\]\:outline-hidden > * {
1824
+ --tw-outline-style: none;
1825
+ outline-style: none;
1826
+ @media (forced-colors: active) {
1827
+ outline: 2px solid transparent;
1828
+ outline-offset: 2px;
1829
+ }
1830
+ }
1776
1831
  @media (width >= 40rem) {
1777
1832
  .sm\:\[\&\>\*\]\:text-sm > * {
1778
1833
  font-size: var(--text-sm);
@@ -1796,7 +1851,7 @@
1796
1851
  background-color: #F9FAFB;
1797
1852
  }
1798
1853
  .\[\&\>\*\:disabled\]\:text-foreground-subtle > :disabled {
1799
- color: #9CA3AF;
1854
+ color: #6B7280;
1800
1855
  }
1801
1856
  .\[\&\>\*\:focus\]\:bg-button-secondary-focus > :focus {
1802
1857
  background-color: #F3F4F6;
@@ -1825,6 +1880,16 @@
1825
1880
  .dark\:\[\&\>\*\:focus\]\:text-foreground-dark:is(.dark *) > :focus {
1826
1881
  color: #FFF;
1827
1882
  }
1883
+ .\[\&\>\*\:focus-visible\]\:outline-2 > :focus-visible {
1884
+ outline-style: var(--tw-outline-style);
1885
+ outline-width: 2px;
1886
+ }
1887
+ .\[\&\>\*\:focus-visible\]\:-outline-offset-2 > :focus-visible {
1888
+ outline-offset: calc(2px * -1);
1889
+ }
1890
+ .\[\&\>\*\:focus-visible\]\:outline-current > :focus-visible {
1891
+ outline-color: currentcolor;
1892
+ }
1828
1893
  .\[\&\>\*\:hover\]\:bg-button-secondary-hover > :hover {
1829
1894
  background-color: #F9FAFB;
1830
1895
  }
@@ -1910,6 +1975,7 @@
1910
1975
  @property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
1911
1976
  @property --tw-duration { syntax: "*"; inherits: false; }
1912
1977
  @property --tw-ease { syntax: "*"; inherits: false; }
1978
+ @property --tw-outline-style { syntax: "*"; inherits: false; initial-value: solid; }
1913
1979
  @keyframes slideDown {
1914
1980
  from {
1915
1981
  height: 0;
@@ -1957,6 +2023,7 @@
1957
2023
  --tw-ring-offset-shadow: 0 0 #0000;
1958
2024
  --tw-duration: initial;
1959
2025
  --tw-ease: initial;
2026
+ --tw-outline-style: solid;
1960
2027
  }
1961
2028
  }
1962
2029
  }