@strands.gg/accui 1.1.3 → 1.2.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/accui.css CHANGED
@@ -72,9 +72,9 @@
72
72
  --spacing: 0.25rem;
73
73
  --container-sm: 24rem;
74
74
  --container-md: 28rem;
75
- --container-lg: 32rem;
76
75
  --container-2xl: 42rem;
77
76
  --container-4xl: 56rem;
77
+ --container-5xl: 64rem;
78
78
  --text-xs: 0.75rem;
79
79
  --text-xs--line-height: calc(1 / 0.75);
80
80
  --text-sm: 0.875rem;
@@ -96,6 +96,7 @@
96
96
  --font-weight-medium: 500;
97
97
  --font-weight-semibold: 600;
98
98
  --font-weight-bold: 700;
99
+ --leading-relaxed: 1.625;
99
100
  --radius-md: 0.375rem;
100
101
  --radius-lg: 0.5rem;
101
102
  --radius-xl: 0.75rem;
@@ -406,9 +407,18 @@
406
407
  .mt-8 {
407
408
  margin-top: calc(var(--spacing) * 8);
408
409
  }
410
+ .mr-1 {
411
+ margin-right: calc(var(--spacing) * 1);
412
+ }
413
+ .mr-2 {
414
+ margin-right: calc(var(--spacing) * 2);
415
+ }
409
416
  .-mb-4 {
410
417
  margin-bottom: calc(var(--spacing) * -4);
411
418
  }
419
+ .-mb-px {
420
+ margin-bottom: -1px;
421
+ }
412
422
  .mb-1 {
413
423
  margin-bottom: calc(var(--spacing) * 1);
414
424
  }
@@ -436,6 +446,9 @@
436
446
  .ml-3 {
437
447
  margin-left: calc(var(--spacing) * 3);
438
448
  }
449
+ .ml-4 {
450
+ margin-left: calc(var(--spacing) * 4);
451
+ }
439
452
  .ml-auto {
440
453
  margin-left: auto;
441
454
  }
@@ -475,6 +488,9 @@
475
488
  .h-12 {
476
489
  height: calc(var(--spacing) * 12);
477
490
  }
491
+ .h-14 {
492
+ height: calc(var(--spacing) * 14);
493
+ }
478
494
  .h-16 {
479
495
  height: calc(var(--spacing) * 16);
480
496
  }
@@ -490,6 +506,9 @@
490
506
  .h-full {
491
507
  height: 100%;
492
508
  }
509
+ .max-h-96 {
510
+ max-height: calc(var(--spacing) * 96);
511
+ }
493
512
  .min-h-screen {
494
513
  min-height: 100vh;
495
514
  }
@@ -517,6 +536,9 @@
517
536
  .w-12 {
518
537
  width: calc(var(--spacing) * 12);
519
538
  }
539
+ .w-14 {
540
+ width: calc(var(--spacing) * 14);
541
+ }
520
542
  .w-16 {
521
543
  width: calc(var(--spacing) * 16);
522
544
  }
@@ -535,8 +557,8 @@
535
557
  .max-w-4xl {
536
558
  max-width: var(--container-4xl);
537
559
  }
538
- .max-w-lg {
539
- max-width: var(--container-lg);
560
+ .max-w-5xl {
561
+ max-width: var(--container-5xl);
540
562
  }
541
563
  .max-w-md {
542
564
  max-width: var(--container-md);
@@ -571,9 +593,6 @@
571
593
  .cursor-pointer {
572
594
  cursor: pointer;
573
595
  }
574
- .touch-manipulation {
575
- touch-action: manipulation;
576
- }
577
596
  .grid-cols-1 {
578
597
  grid-template-columns: repeat(1, minmax(0, 1fr));
579
598
  }
@@ -676,9 +695,26 @@
676
695
  margin-inline-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)));
677
696
  }
678
697
  }
698
+ .space-x-4 {
699
+ :where(& > :not(:last-child)) {
700
+ --tw-space-x-reverse: 0;
701
+ margin-inline-start: calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));
702
+ margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)));
703
+ }
704
+ }
705
+ .space-x-8 {
706
+ :where(& > :not(:last-child)) {
707
+ --tw-space-x-reverse: 0;
708
+ margin-inline-start: calc(calc(var(--spacing) * 8) * var(--tw-space-x-reverse));
709
+ margin-inline-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-x-reverse)));
710
+ }
711
+ }
679
712
  .overflow-hidden {
680
713
  overflow: hidden;
681
714
  }
715
+ .overflow-y-auto {
716
+ overflow-y: auto;
717
+ }
682
718
  .rounded {
683
719
  border-radius: 0.25rem;
684
720
  }
@@ -709,6 +745,13 @@
709
745
  border-bottom-style: var(--tw-border-style);
710
746
  border-bottom-width: 1px;
711
747
  }
748
+ .border-b-2 {
749
+ border-bottom-style: var(--tw-border-style);
750
+ border-bottom-width: 2px;
751
+ }
752
+ .border-\[var\(--strands-primary\)\] {
753
+ border-color: var(--strands-primary);
754
+ }
712
755
  .border-blue-200 {
713
756
  border-color: var(--color-blue-200);
714
757
  }
@@ -736,12 +779,18 @@
736
779
  .border-strands-500 {
737
780
  border-color: var(--color-strands-500);
738
781
  }
782
+ .border-transparent {
783
+ border-color: transparent;
784
+ }
739
785
  .border-yellow-200 {
740
786
  border-color: var(--color-yellow-200);
741
787
  }
742
788
  .border-yellow-300 {
743
789
  border-color: var(--color-yellow-300);
744
790
  }
791
+ .bg-\[var\(--strands-primary\)\] {
792
+ background-color: var(--strands-primary);
793
+ }
745
794
  .bg-black\/40 {
746
795
  background-color: color-mix(in srgb, #000 40%, transparent);
747
796
  @supports (color: color-mix(in lab, red, red)) {
@@ -863,6 +912,9 @@
863
912
  .p-8 {
864
913
  padding: calc(var(--spacing) * 8);
865
914
  }
915
+ .px-1 {
916
+ padding-inline: calc(var(--spacing) * 1);
917
+ }
866
918
  .px-2 {
867
919
  padding-inline: calc(var(--spacing) * 2);
868
920
  }
@@ -902,12 +954,21 @@
902
954
  .py-12 {
903
955
  padding-block: calc(var(--spacing) * 12);
904
956
  }
957
+ .py-16 {
958
+ padding-block: calc(var(--spacing) * 16);
959
+ }
905
960
  .pt-4 {
906
961
  padding-top: calc(var(--spacing) * 4);
907
962
  }
908
963
  .pt-6 {
909
964
  padding-top: calc(var(--spacing) * 6);
910
965
  }
966
+ .pt-8 {
967
+ padding-top: calc(var(--spacing) * 8);
968
+ }
969
+ .pr-2 {
970
+ padding-right: calc(var(--spacing) * 2);
971
+ }
911
972
  .pr-3 {
912
973
  padding-right: calc(var(--spacing) * 3);
913
974
  }
@@ -932,6 +993,9 @@
932
993
  .text-left {
933
994
  text-align: left;
934
995
  }
996
+ .text-right {
997
+ text-align: right;
998
+ }
935
999
  .font-mono {
936
1000
  font-family: var(--font-mono);
937
1001
  }
@@ -971,6 +1035,10 @@
971
1035
  font-size: var(--text-xs);
972
1036
  line-height: var(--tw-leading, var(--text-xs--line-height));
973
1037
  }
1038
+ .leading-relaxed {
1039
+ --tw-leading: var(--leading-relaxed);
1040
+ line-height: var(--leading-relaxed);
1041
+ }
974
1042
  .font-bold {
975
1043
  --tw-font-weight: var(--font-weight-bold);
976
1044
  font-weight: var(--font-weight-bold);
@@ -986,6 +1054,12 @@
986
1054
  .break-all {
987
1055
  word-break: break-all;
988
1056
  }
1057
+ .whitespace-nowrap {
1058
+ white-space: nowrap;
1059
+ }
1060
+ .text-\[var\(--strands-primary\)\] {
1061
+ color: var(--strands-primary);
1062
+ }
989
1063
  .text-black {
990
1064
  color: var(--color-black);
991
1065
  }
@@ -1179,11 +1253,6 @@
1179
1253
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1180
1254
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1181
1255
  }
1182
- .transition-shadow {
1183
- transition-property: box-shadow;
1184
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1185
- transition-duration: var(--tw-duration, var(--default-transition-duration));
1186
- }
1187
1256
  .duration-150 {
1188
1257
  --tw-duration: 150ms;
1189
1258
  transition-duration: 150ms;
@@ -1200,6 +1269,13 @@
1200
1269
  --tw-ease: var(--ease-in-out);
1201
1270
  transition-timing-function: var(--ease-in-out);
1202
1271
  }
1272
+ .group-hover\:bg-\[var\(--strands-primary\)\] {
1273
+ &:is(:where(.group):hover *) {
1274
+ @media (hover: hover) {
1275
+ background-color: var(--strands-primary);
1276
+ }
1277
+ }
1278
+ }
1203
1279
  .group-hover\:bg-blue-100 {
1204
1280
  &:is(:where(.group):hover *) {
1205
1281
  @media (hover: hover) {
@@ -1235,6 +1311,13 @@
1235
1311
  }
1236
1312
  }
1237
1313
  }
1314
+ .hover\:border-\[var\(--strands-primary\)\] {
1315
+ &:hover {
1316
+ @media (hover: hover) {
1317
+ border-color: var(--strands-primary);
1318
+ }
1319
+ }
1320
+ }
1238
1321
  .hover\:border-gray-300 {
1239
1322
  &:hover {
1240
1323
  @media (hover: hover) {
@@ -1270,6 +1353,13 @@
1270
1353
  }
1271
1354
  }
1272
1355
  }
1356
+ .hover\:bg-red-50 {
1357
+ &:hover {
1358
+ @media (hover: hover) {
1359
+ background-color: var(--color-red-50);
1360
+ }
1361
+ }
1362
+ }
1273
1363
  .hover\:bg-strands-50 {
1274
1364
  &:hover {
1275
1365
  @media (hover: hover) {
@@ -1340,6 +1430,13 @@
1340
1430
  }
1341
1431
  }
1342
1432
  }
1433
+ .hover\:text-red-700 {
1434
+ &:hover {
1435
+ @media (hover: hover) {
1436
+ color: var(--color-red-700);
1437
+ }
1438
+ }
1439
+ }
1343
1440
  .hover\:text-strands-600 {
1344
1441
  &:hover {
1345
1442
  @media (hover: hover) {
@@ -1375,18 +1472,18 @@
1375
1472
  }
1376
1473
  }
1377
1474
  }
1378
- .hover\:shadow-md {
1475
+ .hover\:shadow-lg {
1379
1476
  &:hover {
1380
1477
  @media (hover: hover) {
1381
- --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));
1478
+ --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
1382
1479
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1383
1480
  }
1384
1481
  }
1385
1482
  }
1386
- .hover\:shadow-sm {
1483
+ .hover\:shadow-md {
1387
1484
  &:hover {
1388
1485
  @media (hover: hover) {
1389
- --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
1486
+ --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));
1390
1487
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1391
1488
  }
1392
1489
  }
@@ -1434,11 +1531,6 @@
1434
1531
  outline-style: none;
1435
1532
  }
1436
1533
  }
1437
- .active\:scale-\[0\.98\] {
1438
- &:active {
1439
- scale: 0.98;
1440
- }
1441
- }
1442
1534
  .disabled\:cursor-not-allowed {
1443
1535
  &:disabled {
1444
1536
  cursor: not-allowed;
@@ -1464,36 +1556,16 @@
1464
1556
  opacity: 50%;
1465
1557
  }
1466
1558
  }
1467
- .sm\:col-span-2 {
1468
- @media (width >= 40rem) {
1469
- grid-column: span 2 / span 2;
1470
- }
1471
- }
1472
1559
  .sm\:w-auto {
1473
1560
  @media (width >= 40rem) {
1474
1561
  width: auto;
1475
1562
  }
1476
1563
  }
1477
- .sm\:grid-cols-2 {
1478
- @media (width >= 40rem) {
1479
- grid-template-columns: repeat(2, minmax(0, 1fr));
1480
- }
1481
- }
1482
1564
  .sm\:flex-row {
1483
1565
  @media (width >= 40rem) {
1484
1566
  flex-direction: row;
1485
1567
  }
1486
1568
  }
1487
- .sm\:gap-4 {
1488
- @media (width >= 40rem) {
1489
- gap: calc(var(--spacing) * 4);
1490
- }
1491
- }
1492
- .sm\:p-4 {
1493
- @media (width >= 40rem) {
1494
- padding: calc(var(--spacing) * 4);
1495
- }
1496
- }
1497
1569
  .md\:mb-4 {
1498
1570
  @media (width >= 48rem) {
1499
1571
  margin-bottom: calc(var(--spacing) * 4);
@@ -1544,16 +1616,6 @@
1544
1616
  line-height: var(--tw-leading, var(--text-base--line-height));
1545
1617
  }
1546
1618
  }
1547
- .lg\:col-span-1 {
1548
- @media (width >= 64rem) {
1549
- grid-column: span 1 / span 1;
1550
- }
1551
- }
1552
- .lg\:grid-cols-3 {
1553
- @media (width >= 64rem) {
1554
- grid-template-columns: repeat(3, minmax(0, 1fr));
1555
- }
1556
- }
1557
1619
  .dark\:text-gray-300 {
1558
1620
  @media (prefers-color-scheme: dark) {
1559
1621
  color: var(--color-gray-300);
@@ -1864,6 +1926,10 @@
1864
1926
  inherits: false;
1865
1927
  initial-value: 100%;
1866
1928
  }
1929
+ @property --tw-leading {
1930
+ syntax: "*";
1931
+ inherits: false;
1932
+ }
1867
1933
  @property --tw-font-weight {
1868
1934
  syntax: "*";
1869
1935
  inherits: false;
@@ -2065,6 +2131,7 @@
2065
2131
  --tw-gradient-from-position: 0%;
2066
2132
  --tw-gradient-via-position: 50%;
2067
2133
  --tw-gradient-to-position: 100%;
2134
+ --tw-leading: initial;
2068
2135
  --tw-font-weight: initial;
2069
2136
  --tw-shadow: 0 0 #0000;
2070
2137
  --tw-shadow-color: initial;
@@ -2814,80 +2881,14 @@ to {
2814
2881
  transform: translateY(0);
2815
2882
  }
2816
2883
 
2817
- /* Profile container - 80% of dynamic viewport height */
2884
+ /* Profile container - natural height, no constraints */
2818
2885
  .profile-container[data-v-9670e06b] {
2819
- max-height: 80dvh;
2820
- display: flex;
2821
- flex-direction: column;
2822
- overflow: hidden;
2823
- }
2824
-
2825
- /* Profile content - scrollable area */
2826
- .profile-content[data-v-9670e06b] {
2827
- flex: 1;
2828
- overflow-y: auto;
2829
- overflow-x: hidden;
2830
- min-height: 0; /* Important for flex child scrolling */
2831
-
2832
- /* Custom scrollbar styling */
2833
- scrollbar-width: thin;
2834
- scrollbar-color: #cbd5e1 #f1f5f9;
2886
+ /* Removed max-height and overflow constraints */
2835
2887
  }
2836
2888
 
2837
- /* Webkit scrollbar styling */
2838
- .profile-content[data-v-9670e06b]::-webkit-scrollbar {
2839
- width: 6px;
2840
- }
2841
- .profile-content[data-v-9670e06b]::-webkit-scrollbar-track {
2842
- background: #f1f5f9;
2843
- border-radius: 3px;
2844
- }
2845
- .profile-content[data-v-9670e06b]::-webkit-scrollbar-thumb {
2846
- background: #cbd5e1;
2847
- border-radius: 3px;
2848
- -webkit-transition: background-color 0.2s ease;
2849
- transition: background-color 0.2s ease;
2850
- }
2851
- .profile-content[data-v-9670e06b]::-webkit-scrollbar-thumb:hover {
2852
- background: #94a3b8;
2853
- }
2854
-
2855
- /* Mobile: Touch-friendly scrolling */
2856
- @media (max-width: 768px) {
2889
+ /* Profile content - natural flow */
2857
2890
  .profile-content[data-v-9670e06b] {
2858
- -webkit-overflow-scrolling: touch;
2859
- overscroll-behavior: contain;
2860
- scrollbar-width: auto; /* Let mobile decide */
2861
- }
2862
- .profile-content[data-v-9670e06b]::-webkit-scrollbar {
2863
- width: 4px; /* Thinner on mobile */
2864
- }
2891
+ /* Removed overflow and scrolling styles - let the window handle scrolling */
2865
2892
  }
2866
2893
 
2867
- /* Accessibility improvements */
2868
- @media (prefers-reduced-motion: reduce) {
2869
- .profile-content[data-v-9670e06b]::-webkit-scrollbar-thumb {
2870
- -webkit-transition: none;
2871
- transition: none;
2872
- }
2873
- }
2874
-
2875
- /* High contrast mode */
2876
- @media (prefers-contrast: high) {
2877
- .profile-content[data-v-9670e06b]::-webkit-scrollbar-thumb {
2878
- background: #1e293b;
2879
- }
2880
- }
2881
-
2882
- /* Dark mode support */
2883
- @media (prefers-color-scheme: dark) {
2884
- .profile-content[data-v-9670e06b]::-webkit-scrollbar-track {
2885
- background: #374151;
2886
- }
2887
- .profile-content[data-v-9670e06b]::-webkit-scrollbar-thumb {
2888
- background: #6b7280;
2889
- }
2890
- .profile-content[data-v-9670e06b]::-webkit-scrollbar-thumb:hover {
2891
- background: #9ca3af;
2892
- }
2893
- }
2894
+ /* Profile styles - window scrolling, no internal overflow */