@ohhwells/bridge 0.1.51 → 0.1.52
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.cjs +3020 -665
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -12
- package/dist/index.d.ts +55 -12
- package/dist/index.js +2831 -482
- package/dist/index.js.map +1 -1
- package/dist/styles.css +96 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
--color-foreground: var(--ohw-foreground, #0c0a09);
|
|
47
47
|
--color-card-foreground: var(--ohw-card-foreground, #0c0a09);
|
|
48
48
|
--color-popover: var(--ohw-popover, #ffffff);
|
|
49
|
+
--color-popover-foreground: var(--ohw-popover-foreground, #0c0a09);
|
|
49
50
|
--color-secondary: var(--ohw-secondary, #f5f5f4);
|
|
50
51
|
--color-secondary-foreground: var(--ohw-secondary-foreground, #0c0a09);
|
|
51
52
|
--color-muted: var(--ohw-muted, #f5f5f4);
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
--color-accent-foreground: var(--ohw-accent-foreground, #0c0a09);
|
|
55
56
|
--color-destructive: var(--ohw-destructive, #c10007);
|
|
56
57
|
--color-destructive-foreground: var(--ohw-destructive-foreground, #fafaf9);
|
|
58
|
+
--color-bg-destructive-10: var(--ohw-bg-destructive-10, #c100071a);
|
|
57
59
|
--color-border: var(--ohw-border, #e7e5e4);
|
|
58
60
|
--color-input: var(--ohw-input, #e7e5e4);
|
|
59
61
|
--color-ring: var(--ohw-ring, #0885FE);
|
|
@@ -146,6 +148,9 @@
|
|
|
146
148
|
.left-1\/2 {
|
|
147
149
|
left: calc(1 / 2 * 100%);
|
|
148
150
|
}
|
|
151
|
+
.left-2 {
|
|
152
|
+
left: calc(var(--spacing) * 2);
|
|
153
|
+
}
|
|
149
154
|
.left-5 {
|
|
150
155
|
left: calc(var(--spacing) * 5);
|
|
151
156
|
}
|
|
@@ -343,6 +348,9 @@
|
|
|
343
348
|
.w-14 {
|
|
344
349
|
width: calc(var(--spacing) * 14);
|
|
345
350
|
}
|
|
351
|
+
.w-56 {
|
|
352
|
+
width: calc(var(--spacing) * 56);
|
|
353
|
+
}
|
|
346
354
|
.w-\[3px\] {
|
|
347
355
|
width: 3px;
|
|
348
356
|
}
|
|
@@ -380,6 +388,9 @@
|
|
|
380
388
|
.min-w-10 {
|
|
381
389
|
min-width: calc(var(--spacing) * 10);
|
|
382
390
|
}
|
|
391
|
+
.min-w-32 {
|
|
392
|
+
min-width: calc(var(--spacing) * 32);
|
|
393
|
+
}
|
|
383
394
|
.min-w-\[64px\] {
|
|
384
395
|
min-width: 64px;
|
|
385
396
|
}
|
|
@@ -395,6 +406,9 @@
|
|
|
395
406
|
.grow {
|
|
396
407
|
flex-grow: 1;
|
|
397
408
|
}
|
|
409
|
+
.origin-\[var\(--radix-dropdown-menu-content-transform-origin\)\] {
|
|
410
|
+
transform-origin: var(--radix-dropdown-menu-content-transform-origin);
|
|
411
|
+
}
|
|
398
412
|
.origin-\[var\(--radix-tooltip-content-transform-origin\)\] {
|
|
399
413
|
transform-origin: var(--radix-tooltip-content-transform-origin);
|
|
400
414
|
}
|
|
@@ -410,6 +424,10 @@
|
|
|
410
424
|
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
411
425
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
412
426
|
}
|
|
427
|
+
.-translate-y-full {
|
|
428
|
+
--tw-translate-y: -100%;
|
|
429
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
430
|
+
}
|
|
413
431
|
.translate-y-1\/2 {
|
|
414
432
|
--tw-translate-y: calc(1 / 2 * 100%);
|
|
415
433
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -462,6 +480,9 @@
|
|
|
462
480
|
.gap-0 {
|
|
463
481
|
gap: calc(var(--spacing) * 0);
|
|
464
482
|
}
|
|
483
|
+
.gap-0\.5 {
|
|
484
|
+
gap: calc(var(--spacing) * 0.5);
|
|
485
|
+
}
|
|
465
486
|
.gap-1 {
|
|
466
487
|
gap: calc(var(--spacing) * 1);
|
|
467
488
|
}
|
|
@@ -509,12 +530,18 @@
|
|
|
509
530
|
.overflow-x-auto {
|
|
510
531
|
overflow-x: auto;
|
|
511
532
|
}
|
|
533
|
+
.rounded-\[6px\] {
|
|
534
|
+
border-radius: 6px;
|
|
535
|
+
}
|
|
512
536
|
.rounded-\[10px\] {
|
|
513
537
|
border-radius: 10px;
|
|
514
538
|
}
|
|
515
539
|
.rounded-\[calc\(var\(--radius\,0\.5rem\)-2px\)\] {
|
|
516
540
|
border-radius: calc(var(--radius,0.5rem) - 2px);
|
|
517
541
|
}
|
|
542
|
+
.rounded-\[calc\(var\(--radius\,0\.5rem\)-4px\)\] {
|
|
543
|
+
border-radius: calc(var(--radius,0.5rem) - 4px);
|
|
544
|
+
}
|
|
518
545
|
.rounded-\[var\(--radius\,0\.5rem\)\] {
|
|
519
546
|
border-radius: var(--radius,0.5rem);
|
|
520
547
|
}
|
|
@@ -551,6 +578,10 @@
|
|
|
551
578
|
border-style: var(--tw-border-style);
|
|
552
579
|
border-width: 2px;
|
|
553
580
|
}
|
|
581
|
+
.border-t {
|
|
582
|
+
border-top-style: var(--tw-border-style);
|
|
583
|
+
border-top-width: 1px;
|
|
584
|
+
}
|
|
554
585
|
.border-b {
|
|
555
586
|
border-bottom-style: var(--tw-border-style);
|
|
556
587
|
border-bottom-width: 1px;
|
|
@@ -763,6 +794,9 @@
|
|
|
763
794
|
.pl-4 {
|
|
764
795
|
padding-left: calc(var(--spacing) * 4);
|
|
765
796
|
}
|
|
797
|
+
.pl-8 {
|
|
798
|
+
padding-left: calc(var(--spacing) * 8);
|
|
799
|
+
}
|
|
766
800
|
.text-center {
|
|
767
801
|
text-align: center;
|
|
768
802
|
}
|
|
@@ -895,6 +929,9 @@
|
|
|
895
929
|
.text-muted-foreground {
|
|
896
930
|
color: var(--color-muted-foreground);
|
|
897
931
|
}
|
|
932
|
+
.text-popover-foreground {
|
|
933
|
+
color: var(--color-popover-foreground);
|
|
934
|
+
}
|
|
898
935
|
.text-primary-foreground {
|
|
899
936
|
color: var(--color-primary-foreground);
|
|
900
937
|
}
|
|
@@ -945,6 +982,10 @@
|
|
|
945
982
|
--tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--ohw-primary));
|
|
946
983
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
947
984
|
}
|
|
985
|
+
.shadow-\[0px_4px_6px_0px_rgba\(0\,0\,0\,0\.1\)\,0px_2px_4px_0px_rgba\(0\,0\,0\,0\.1\)\] {
|
|
986
|
+
--tw-shadow: 0px 4px 6px 0px var(--tw-shadow-color, rgba(0,0,0,0.1)), 0px 2px 4px 0px var(--tw-shadow-color, rgba(0,0,0,0.1));
|
|
987
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
988
|
+
}
|
|
948
989
|
.shadow-lg {
|
|
949
990
|
--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));
|
|
950
991
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -1034,6 +1075,11 @@
|
|
|
1034
1075
|
--tw-outline-style: none;
|
|
1035
1076
|
outline-style: none;
|
|
1036
1077
|
}
|
|
1078
|
+
.select-none {
|
|
1079
|
+
-webkit-user-select: none;
|
|
1080
|
+
-moz-user-select: none;
|
|
1081
|
+
user-select: none;
|
|
1082
|
+
}
|
|
1037
1083
|
.placeholder\:text-muted-foreground::-moz-placeholder {
|
|
1038
1084
|
color: var(--color-muted-foreground);
|
|
1039
1085
|
}
|
|
@@ -1204,6 +1250,9 @@
|
|
|
1204
1250
|
opacity: 90%;
|
|
1205
1251
|
}
|
|
1206
1252
|
}
|
|
1253
|
+
.focus\:bg-muted:focus {
|
|
1254
|
+
background-color: var(--color-muted);
|
|
1255
|
+
}
|
|
1207
1256
|
.focus\:ring-2:focus {
|
|
1208
1257
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1209
1258
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -1302,6 +1351,15 @@
|
|
|
1302
1351
|
--tw-ring-color: color-mix(in oklab, var(--color-destructive) 20%, transparent);
|
|
1303
1352
|
}
|
|
1304
1353
|
}
|
|
1354
|
+
.data-\[disabled\]\:pointer-events-none[data-disabled] {
|
|
1355
|
+
pointer-events: none;
|
|
1356
|
+
}
|
|
1357
|
+
.data-\[disabled\]\:opacity-50[data-disabled] {
|
|
1358
|
+
opacity: 50%;
|
|
1359
|
+
}
|
|
1360
|
+
.data-\[highlighted\]\:bg-muted[data-highlighted] {
|
|
1361
|
+
background-color: var(--color-muted);
|
|
1362
|
+
}
|
|
1305
1363
|
.data-\[state\=off\]\:opacity-50[data-state="off"] {
|
|
1306
1364
|
opacity: 50%;
|
|
1307
1365
|
}
|
|
@@ -1323,6 +1381,21 @@
|
|
|
1323
1381
|
--tw-shadow: 0px 1px 2px 0px var(--tw-shadow-color, rgba(0, 0, 0, 0.05));
|
|
1324
1382
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1325
1383
|
}
|
|
1384
|
+
.data-\[variant\=destructive\]\:text-destructive[data-variant="destructive"] {
|
|
1385
|
+
color: var(--color-destructive);
|
|
1386
|
+
}
|
|
1387
|
+
.data-\[variant\=destructive\]\:focus\:bg-bg-destructive-10[data-variant="destructive"]:focus {
|
|
1388
|
+
background-color: var(--color-bg-destructive-10);
|
|
1389
|
+
}
|
|
1390
|
+
.data-\[variant\=destructive\]\:focus\:text-destructive[data-variant="destructive"]:focus {
|
|
1391
|
+
color: var(--color-destructive);
|
|
1392
|
+
}
|
|
1393
|
+
.data-\[variant\=destructive\]\:data-\[highlighted\]\:bg-bg-destructive-10[data-variant="destructive"][data-highlighted] {
|
|
1394
|
+
background-color: var(--color-bg-destructive-10);
|
|
1395
|
+
}
|
|
1396
|
+
.data-\[variant\=destructive\]\:data-\[highlighted\]\:text-destructive[data-variant="destructive"][data-highlighted] {
|
|
1397
|
+
color: var(--color-destructive);
|
|
1398
|
+
}
|
|
1326
1399
|
@media (width >= 40rem) {
|
|
1327
1400
|
.sm\:contents {
|
|
1328
1401
|
display: contents;
|
|
@@ -1381,13 +1454,36 @@
|
|
|
1381
1454
|
.\[\&_svg\]\:pointer-events-none svg {
|
|
1382
1455
|
pointer-events: none;
|
|
1383
1456
|
}
|
|
1457
|
+
.\[\&_svg\]\:size-4 svg {
|
|
1458
|
+
width: calc(var(--spacing) * 4);
|
|
1459
|
+
height: calc(var(--spacing) * 4);
|
|
1460
|
+
}
|
|
1384
1461
|
.\[\&_svg\]\:shrink-0 svg {
|
|
1385
1462
|
flex-shrink: 0;
|
|
1386
1463
|
}
|
|
1464
|
+
.data-\[variant\=destructive\]\:\[\&_svg\]\:text-destructive[data-variant="destructive"] svg {
|
|
1465
|
+
color: var(--color-destructive);
|
|
1466
|
+
}
|
|
1387
1467
|
.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*='size-']) {
|
|
1388
1468
|
width: calc(var(--spacing) * 4);
|
|
1389
1469
|
height: calc(var(--spacing) * 4);
|
|
1390
1470
|
}
|
|
1471
|
+
.\[\&_svg\:not\(\[class\*\=absolute\]\)\]\:relative svg:not([class*=absolute]) {
|
|
1472
|
+
position: relative;
|
|
1473
|
+
}
|
|
1474
|
+
.\[\&\>svg\:first-child\]\:absolute > svg:first-child {
|
|
1475
|
+
position: absolute;
|
|
1476
|
+
}
|
|
1477
|
+
.\[\&\>svg\:first-child\]\:top-1\/2 > svg:first-child {
|
|
1478
|
+
top: calc(1 / 2 * 100%);
|
|
1479
|
+
}
|
|
1480
|
+
.\[\&\>svg\:first-child\]\:left-2 > svg:first-child {
|
|
1481
|
+
left: calc(var(--spacing) * 2);
|
|
1482
|
+
}
|
|
1483
|
+
.\[\&\>svg\:first-child\]\:-translate-y-1\/2 > svg:first-child {
|
|
1484
|
+
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
1485
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1486
|
+
}
|
|
1391
1487
|
[data-ohw-bridge-root] {
|
|
1392
1488
|
--color-primary: var(--ohw-primary, #0885FE);
|
|
1393
1489
|
--color-primary-foreground: var(--ohw-primary-foreground, #FAFAF9);
|