@ohhwells/bridge 0.1.42 → 0.1.44

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/styles.css CHANGED
@@ -40,26 +40,27 @@
40
40
  --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
41
41
  --default-transition-duration: 150ms;
42
42
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
43
+ --radius: 0.5rem;
43
44
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
44
45
  --font-body: 'Red Hat Display', system-ui, sans-serif;
45
46
  --color-primary: var(--ohw-primary, #0885FE);
46
47
  --color-primary-foreground: var(--ohw-primary-foreground, #FAFAF9);
47
48
  --color-primary-50: var(--ohw-primary-50, #EFF6FF);
48
49
  --color-background: var(--ohw-background, #ffffff);
49
- --color-foreground: var(--ohw-foreground, #020617);
50
- --color-card-foreground: var(--ohw-card-foreground, #020617);
50
+ --color-foreground: var(--ohw-foreground, #0c0a09);
51
+ --color-card-foreground: var(--ohw-card-foreground, #0c0a09);
51
52
  --color-popover: var(--ohw-popover, #ffffff);
52
- --color-secondary: var(--ohw-secondary, #f1f5f9);
53
- --color-secondary-foreground: var(--ohw-secondary-foreground, #0f172a);
54
- --color-muted: var(--ohw-muted, #f1f5f9);
55
- --color-muted-foreground: var(--ohw-muted-foreground, #64748b);
56
- --color-accent: var(--ohw-accent, #f1f5f9);
57
- --color-accent-foreground: var(--ohw-accent-foreground, #0f172a);
58
- --color-destructive: var(--ohw-destructive, #dc2626);
59
- --color-destructive-foreground: var(--ohw-destructive-foreground, #f8fafc);
60
- --color-border: var(--ohw-border, #e2e8f0);
61
- --color-input: var(--ohw-input, #e2e8f0);
62
- --color-ring: var(--ohw-ring, #64748b);
53
+ --color-secondary: var(--ohw-secondary, #f5f5f4);
54
+ --color-secondary-foreground: var(--ohw-secondary-foreground, #0c0a09);
55
+ --color-muted: var(--ohw-muted, #f5f5f4);
56
+ --color-muted-foreground: var(--ohw-muted-foreground, #78716c);
57
+ --color-accent: var(--ohw-accent, #f5f5f4);
58
+ --color-accent-foreground: var(--ohw-accent-foreground, #0c0a09);
59
+ --color-destructive: var(--ohw-destructive, #c10007);
60
+ --color-destructive-foreground: var(--ohw-destructive-foreground, #fafaf9);
61
+ --color-border: var(--ohw-border, #e7e5e4);
62
+ --color-input: var(--ohw-input, #e7e5e4);
63
+ --color-ring: var(--ohw-ring, #0885FE);
63
64
  --text-5xl--letter-spacing: -0.025em;
64
65
  --text-4xl--letter-spacing: -0.025em;
65
66
  --text-xl--letter-spacing: -0.025em;
@@ -199,15 +200,9 @@
199
200
  .mt-0\.5 {
200
201
  margin-top: calc(var(--spacing) * 0.5);
201
202
  }
202
- .mt-2 {
203
- margin-top: calc(var(--spacing) * 2);
204
- }
205
203
  .mr-\[-1px\] {
206
204
  margin-right: -1px;
207
205
  }
208
- .mb-2 {
209
- margin-bottom: calc(var(--spacing) * 2);
210
- }
211
206
  .mb-4 {
212
207
  margin-bottom: calc(var(--spacing) * 4);
213
208
  }
@@ -238,6 +233,10 @@
238
233
  .inline-flex {
239
234
  display: inline-flex;
240
235
  }
236
+ .size-2\.5 {
237
+ width: calc(var(--spacing) * 2.5);
238
+ height: calc(var(--spacing) * 2.5);
239
+ }
241
240
  .size-4 {
242
241
  width: calc(var(--spacing) * 4);
243
242
  height: calc(var(--spacing) * 4);
@@ -381,6 +380,9 @@
381
380
  .grow {
382
381
  flex-grow: 1;
383
382
  }
383
+ .origin-\[var\(--radix-tooltip-content-transform-origin\)\] {
384
+ transform-origin: var(--radix-tooltip-content-transform-origin);
385
+ }
384
386
  .-translate-x-1\/2 {
385
387
  --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
386
388
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -397,6 +399,13 @@
397
399
  --tw-translate-y: calc(1 / 2 * 100%);
398
400
  translate: var(--tw-translate-x) var(--tw-translate-y);
399
401
  }
402
+ .translate-y-\[calc\(-50\%-2px\)\] {
403
+ --tw-translate-y: calc(-50% - 2px);
404
+ translate: var(--tw-translate-x) var(--tw-translate-y);
405
+ }
406
+ .rotate-45 {
407
+ rotate: 45deg;
408
+ }
400
409
  .transform {
401
410
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
402
411
  }
@@ -489,12 +498,18 @@
489
498
  .overflow-x-auto {
490
499
  overflow-x: auto;
491
500
  }
492
- .rounded {
493
- border-radius: 0.25rem;
501
+ .rounded-\[2px\] {
502
+ border-radius: 2px;
494
503
  }
495
504
  .rounded-\[10px\] {
496
505
  border-radius: 10px;
497
506
  }
507
+ .rounded-\[calc\(var\(--radius\,0\.5rem\)-2px\)\] {
508
+ border-radius: calc(var(--radius,0.5rem) - 2px);
509
+ }
510
+ .rounded-\[var\(--radius\,0\.5rem\)\] {
511
+ border-radius: var(--radius,0.5rem);
512
+ }
498
513
  .rounded-full {
499
514
  border-radius: calc(infinity * 1px);
500
515
  }
@@ -574,12 +589,6 @@
574
589
  .bg-background {
575
590
  background-color: var(--color-background);
576
591
  }
577
- .bg-background\/90 {
578
- background-color: var(--color-background);
579
- @supports (color: color-mix(in lab, red, red)) {
580
- background-color: color-mix(in oklab, var(--color-background) 90%, transparent);
581
- }
582
- }
583
592
  .bg-black\/20 {
584
593
  background-color: color-mix(in srgb, #000 20%, transparent);
585
594
  @supports (color: color-mix(in lab, red, red)) {
@@ -628,6 +637,9 @@
628
637
  .bg-white {
629
638
  background-color: var(--color-white);
630
639
  }
640
+ .fill-foreground {
641
+ fill: var(--color-foreground);
642
+ }
631
643
  .p-0 {
632
644
  padding: calc(var(--spacing) * 0);
633
645
  }
@@ -920,16 +932,12 @@
920
932
  --tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--ohw-primary));
921
933
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
922
934
  }
923
- .shadow-\[0px_2px_4px_-2px_rgba\(0\,0\,0\,0\.1\)\,0px_4px_6px_-1px_rgba\(0\,0\,0\,0\.1\)\] {
924
- --tw-shadow: 0px 2px 4px -2px var(--tw-shadow-color, rgba(0,0,0,0.1)), 0px 4px 6px -1px var(--tw-shadow-color, rgba(0,0,0,0.1));
925
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
926
- }
927
935
  .shadow-lg {
928
936
  --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));
929
937
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
930
938
  }
931
939
  .shadow-md {
932
- --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));
940
+ --tw-shadow: 0px 2px 4px -2px var(--tw-shadow-color, rgba(0, 0, 0, 0.1)), 0px 4px 6px -1px var(--tw-shadow-color, rgba(0, 0, 0, 0.1));
933
941
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
934
942
  }
935
943
  .shadow-none {
@@ -1017,107 +1025,6 @@
1017
1025
  color: var(--color-muted-foreground);
1018
1026
  }
1019
1027
  }
1020
- .before\:pointer-events-none {
1021
- &::before {
1022
- content: var(--tw-content);
1023
- pointer-events: none;
1024
- }
1025
- }
1026
- .before\:absolute {
1027
- &::before {
1028
- content: var(--tw-content);
1029
- position: absolute;
1030
- }
1031
- }
1032
- .before\:top-0 {
1033
- &::before {
1034
- content: var(--tw-content);
1035
- top: calc(var(--spacing) * 0);
1036
- }
1037
- }
1038
- .before\:top-1\/2 {
1039
- &::before {
1040
- content: var(--tw-content);
1041
- top: calc(1 / 2 * 100%);
1042
- }
1043
- }
1044
- .before\:right-0 {
1045
- &::before {
1046
- content: var(--tw-content);
1047
- right: calc(var(--spacing) * 0);
1048
- }
1049
- }
1050
- .before\:bottom-0 {
1051
- &::before {
1052
- content: var(--tw-content);
1053
- bottom: calc(var(--spacing) * 0);
1054
- }
1055
- }
1056
- .before\:left-0 {
1057
- &::before {
1058
- content: var(--tw-content);
1059
- left: calc(var(--spacing) * 0);
1060
- }
1061
- }
1062
- .before\:left-1\/2 {
1063
- &::before {
1064
- content: var(--tw-content);
1065
- left: calc(1 / 2 * 100%);
1066
- }
1067
- }
1068
- .before\:size-2 {
1069
- &::before {
1070
- content: var(--tw-content);
1071
- width: calc(var(--spacing) * 2);
1072
- height: calc(var(--spacing) * 2);
1073
- }
1074
- }
1075
- .before\:-translate-x-1\/2 {
1076
- &::before {
1077
- content: var(--tw-content);
1078
- --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
1079
- translate: var(--tw-translate-x) var(--tw-translate-y);
1080
- }
1081
- }
1082
- .before\:translate-x-1\/2 {
1083
- &::before {
1084
- content: var(--tw-content);
1085
- --tw-translate-x: calc(1 / 2 * 100%);
1086
- translate: var(--tw-translate-x) var(--tw-translate-y);
1087
- }
1088
- }
1089
- .before\:-translate-y-1\/2 {
1090
- &::before {
1091
- content: var(--tw-content);
1092
- --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
1093
- translate: var(--tw-translate-x) var(--tw-translate-y);
1094
- }
1095
- }
1096
- .before\:translate-y-1\/2 {
1097
- &::before {
1098
- content: var(--tw-content);
1099
- --tw-translate-y: calc(1 / 2 * 100%);
1100
- translate: var(--tw-translate-x) var(--tw-translate-y);
1101
- }
1102
- }
1103
- .before\:rotate-45 {
1104
- &::before {
1105
- content: var(--tw-content);
1106
- rotate: 45deg;
1107
- }
1108
- }
1109
- .before\:bg-foreground {
1110
- &::before {
1111
- content: var(--tw-content);
1112
- background-color: var(--color-foreground);
1113
- }
1114
- }
1115
- .before\:content-\[\"\"\] {
1116
- &::before {
1117
- --tw-content: "";
1118
- content: var(--tw-content);
1119
- }
1120
- }
1121
1028
  .hover\:bg-accent {
1122
1029
  &:hover {
1123
1030
  @media (hover: hover) {
@@ -1514,34 +1421,35 @@
1514
1421
  --ohw-primary-foreground: #FAFAF9;
1515
1422
  --ohw-primary-50: #EFF6FF;
1516
1423
  --ohw-background: #ffffff;
1517
- --ohw-foreground: #020617;
1424
+ --ohw-foreground: #0c0a09;
1518
1425
  --ohw-card: #ffffff;
1519
- --ohw-card-foreground: #020617;
1426
+ --ohw-card-foreground: #0c0a09;
1520
1427
  --ohw-popover: #ffffff;
1521
- --ohw-popover-foreground: #020617;
1522
- --ohw-hover-primary: #1e293b;
1523
- --ohw-secondary: #f1f5f9;
1524
- --ohw-secondary-foreground: #0f172a;
1525
- --ohw-hover-secondary: #e2e8f0;
1526
- --ohw-muted: #f1f5f9;
1527
- --ohw-muted-foreground: #64748b;
1528
- --ohw-accent: #f1f5f9;
1529
- --ohw-accent-foreground: #0f172a;
1530
- --ohw-bg-accent-50: #f1f5f980;
1531
- --ohw-bg-muted-40: #f1f5f966;
1532
- --ohw-bg-muted-50: #f1f5f980;
1533
- --ohw-destructive: #dc2626;
1534
- --ohw-destructive-foreground: #f8fafc;
1428
+ --ohw-popover-foreground: #0c0a09;
1429
+ --ohw-hover-primary: #1c1917;
1430
+ --ohw-secondary: #f5f5f4;
1431
+ --ohw-secondary-foreground: #0c0a09;
1432
+ --ohw-hover-secondary: #e7e5e4;
1433
+ --ohw-muted: #f5f5f4;
1434
+ --ohw-muted-foreground: #78716c;
1435
+ --ohw-accent: #f5f5f4;
1436
+ --ohw-accent-foreground: #0c0a09;
1437
+ --ohw-bg-accent-50: #f5f5f480;
1438
+ --ohw-bg-muted-40: #f5f5f466;
1439
+ --ohw-bg-muted-50: #f5f5f480;
1440
+ --ohw-destructive: #c10007;
1441
+ --ohw-destructive-foreground: #fafaf9;
1535
1442
  --ohw-hover-destructive: #ef4444;
1536
- --ohw-bg-destructive-10: #dc26261a;
1537
- --ohw-hover-destructive-20: #dc262633;
1443
+ --ohw-bg-destructive-10: #c100071a;
1444
+ --ohw-hover-destructive-20: #c1000733;
1538
1445
  --ohw-border-destructive-50: #fecaca;
1539
- --ohw-border: #e2e8f0;
1540
- --ohw-border-muted-40: #f1f5f966;
1541
- --ohw-input: #e2e8f0;
1542
- --ohw-ring: #64748b;
1446
+ --ohw-border: #e7e5e4;
1447
+ --ohw-border-muted-40: #f5f5f466;
1448
+ --ohw-input: #e7e5e4;
1449
+ --ohw-ring: #0885FE;
1543
1450
  --ohw-success: #16a34a;
1544
1451
  --ohw-hover-success: #15803d;
1452
+ --radius: 0.5rem;
1545
1453
  }
1546
1454
  [data-ohw-visible-viewport] {
1547
1455
  position: fixed;
@@ -1936,11 +1844,6 @@ html[data-ohw-section-picking] [data-ohw-state-toggle] {
1936
1844
  syntax: "*";
1937
1845
  inherits: false;
1938
1846
  }
1939
- @property --tw-content {
1940
- syntax: "*";
1941
- initial-value: "";
1942
- inherits: false;
1943
- }
1944
1847
  @keyframes pulse {
1945
1848
  50% {
1946
1849
  opacity: 0.5;
@@ -1991,7 +1894,6 @@ html[data-ohw-section-picking] [data-ohw-state-toggle] {
1991
1894
  --tw-drop-shadow-size: initial;
1992
1895
  --tw-duration: initial;
1993
1896
  --tw-ease: initial;
1994
- --tw-content: "";
1995
1897
  }
1996
1898
  }
1997
1899
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohhwells/bridge",
3
- "version": "0.1.42",
3
+ "version": "0.1.44",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",