@ohhwells/bridge 0.1.48 → 0.1.49-next.115
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/README.md +12 -0
- package/dist/index.cjs +1321 -483
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -4
- package/dist/index.d.ts +28 -4
- package/dist/index.js +1169 -337
- package/dist/index.js.map +1 -1
- package/dist/styles.css +135 -18
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -22,10 +22,6 @@
|
|
|
22
22
|
--text-lg--line-height: 28px;
|
|
23
23
|
--text-xl: 20px;
|
|
24
24
|
--text-xl--line-height: 28px;
|
|
25
|
-
--text-4xl: 36px;
|
|
26
|
-
--text-4xl--line-height: 40px;
|
|
27
|
-
--text-5xl: 48px;
|
|
28
|
-
--text-5xl--line-height: 1;
|
|
29
25
|
--font-weight-normal: 400;
|
|
30
26
|
--font-weight-medium: 500;
|
|
31
27
|
--font-weight-semibold: 600;
|
|
@@ -50,6 +46,7 @@
|
|
|
50
46
|
--color-foreground: var(--ohw-foreground, #0c0a09);
|
|
51
47
|
--color-card-foreground: var(--ohw-card-foreground, #0c0a09);
|
|
52
48
|
--color-popover: var(--ohw-popover, #ffffff);
|
|
49
|
+
--color-popover-foreground: var(--ohw-popover-foreground, #0c0a09);
|
|
53
50
|
--color-secondary: var(--ohw-secondary, #f5f5f4);
|
|
54
51
|
--color-secondary-foreground: var(--ohw-secondary-foreground, #0c0a09);
|
|
55
52
|
--color-muted: var(--ohw-muted, #f5f5f4);
|
|
@@ -58,11 +55,10 @@
|
|
|
58
55
|
--color-accent-foreground: var(--ohw-accent-foreground, #0c0a09);
|
|
59
56
|
--color-destructive: var(--ohw-destructive, #c10007);
|
|
60
57
|
--color-destructive-foreground: var(--ohw-destructive-foreground, #fafaf9);
|
|
58
|
+
--color-bg-destructive-10: var(--ohw-bg-destructive-10, #c100071a);
|
|
61
59
|
--color-border: var(--ohw-border, #e7e5e4);
|
|
62
60
|
--color-input: var(--ohw-input, #e7e5e4);
|
|
63
61
|
--color-ring: var(--ohw-ring, #0885FE);
|
|
64
|
-
--text-5xl--letter-spacing: -0.025em;
|
|
65
|
-
--text-4xl--letter-spacing: -0.025em;
|
|
66
62
|
--text-xl--letter-spacing: -0.025em;
|
|
67
63
|
--text-lg--letter-spacing: 0em;
|
|
68
64
|
--text-base--letter-spacing: 0em;
|
|
@@ -152,6 +148,9 @@
|
|
|
152
148
|
.left-1\/2 {
|
|
153
149
|
left: calc(1 / 2 * 100%);
|
|
154
150
|
}
|
|
151
|
+
.left-2 {
|
|
152
|
+
left: calc(var(--spacing) * 2);
|
|
153
|
+
}
|
|
155
154
|
.left-5 {
|
|
156
155
|
left: calc(var(--spacing) * 5);
|
|
157
156
|
}
|
|
@@ -339,6 +338,9 @@
|
|
|
339
338
|
.w-14 {
|
|
340
339
|
width: calc(var(--spacing) * 14);
|
|
341
340
|
}
|
|
341
|
+
.w-56 {
|
|
342
|
+
width: calc(var(--spacing) * 56);
|
|
343
|
+
}
|
|
342
344
|
.w-\[3px\] {
|
|
343
345
|
width: 3px;
|
|
344
346
|
}
|
|
@@ -376,6 +378,9 @@
|
|
|
376
378
|
.min-w-10 {
|
|
377
379
|
min-width: calc(var(--spacing) * 10);
|
|
378
380
|
}
|
|
381
|
+
.min-w-32 {
|
|
382
|
+
min-width: calc(var(--spacing) * 32);
|
|
383
|
+
}
|
|
379
384
|
.min-w-\[64px\] {
|
|
380
385
|
min-width: 64px;
|
|
381
386
|
}
|
|
@@ -391,6 +396,9 @@
|
|
|
391
396
|
.grow {
|
|
392
397
|
flex-grow: 1;
|
|
393
398
|
}
|
|
399
|
+
.origin-\[var\(--radix-dropdown-menu-content-transform-origin\)\] {
|
|
400
|
+
transform-origin: var(--radix-dropdown-menu-content-transform-origin);
|
|
401
|
+
}
|
|
394
402
|
.origin-\[var\(--radix-tooltip-content-transform-origin\)\] {
|
|
395
403
|
transform-origin: var(--radix-tooltip-content-transform-origin);
|
|
396
404
|
}
|
|
@@ -406,6 +414,10 @@
|
|
|
406
414
|
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
407
415
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
408
416
|
}
|
|
417
|
+
.-translate-y-full {
|
|
418
|
+
--tw-translate-y: -100%;
|
|
419
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
420
|
+
}
|
|
409
421
|
.translate-y-1\/2 {
|
|
410
422
|
--tw-translate-y: calc(1 / 2 * 100%);
|
|
411
423
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -505,12 +517,18 @@
|
|
|
505
517
|
.overflow-x-auto {
|
|
506
518
|
overflow-x: auto;
|
|
507
519
|
}
|
|
520
|
+
.rounded-\[6px\] {
|
|
521
|
+
border-radius: 6px;
|
|
522
|
+
}
|
|
508
523
|
.rounded-\[10px\] {
|
|
509
524
|
border-radius: 10px;
|
|
510
525
|
}
|
|
511
526
|
.rounded-\[calc\(var\(--radius\,0\.5rem\)-2px\)\] {
|
|
512
527
|
border-radius: calc(var(--radius,0.5rem) - 2px);
|
|
513
528
|
}
|
|
529
|
+
.rounded-\[calc\(var\(--radius\,0\.5rem\)-4px\)\] {
|
|
530
|
+
border-radius: calc(var(--radius,0.5rem) - 4px);
|
|
531
|
+
}
|
|
514
532
|
.rounded-\[var\(--radius\,0\.5rem\)\] {
|
|
515
533
|
border-radius: var(--radius,0.5rem);
|
|
516
534
|
}
|
|
@@ -547,6 +565,10 @@
|
|
|
547
565
|
border-style: var(--tw-border-style);
|
|
548
566
|
border-width: 2px;
|
|
549
567
|
}
|
|
568
|
+
.border-t {
|
|
569
|
+
border-top-style: var(--tw-border-style);
|
|
570
|
+
border-top-width: 1px;
|
|
571
|
+
}
|
|
550
572
|
.border-b {
|
|
551
573
|
border-bottom-style: var(--tw-border-style);
|
|
552
574
|
border-bottom-width: 1px;
|
|
@@ -753,6 +775,9 @@
|
|
|
753
775
|
.pl-4 {
|
|
754
776
|
padding-left: calc(var(--spacing) * 4);
|
|
755
777
|
}
|
|
778
|
+
.pl-8 {
|
|
779
|
+
padding-left: calc(var(--spacing) * 8);
|
|
780
|
+
}
|
|
756
781
|
.text-center {
|
|
757
782
|
text-align: center;
|
|
758
783
|
}
|
|
@@ -768,11 +793,6 @@
|
|
|
768
793
|
.font-sans {
|
|
769
794
|
font-family: var(--font-sans);
|
|
770
795
|
}
|
|
771
|
-
.text-4xl {
|
|
772
|
-
font-size: var(--text-4xl);
|
|
773
|
-
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
|
774
|
-
letter-spacing: var(--tw-tracking, var(--text-4xl--letter-spacing));
|
|
775
|
-
}
|
|
776
796
|
.text-base {
|
|
777
797
|
font-size: var(--text-base);
|
|
778
798
|
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
@@ -890,6 +910,9 @@
|
|
|
890
910
|
.text-muted-foreground {
|
|
891
911
|
color: var(--color-muted-foreground);
|
|
892
912
|
}
|
|
913
|
+
.text-popover-foreground {
|
|
914
|
+
color: var(--color-popover-foreground);
|
|
915
|
+
}
|
|
893
916
|
.text-primary-foreground {
|
|
894
917
|
color: var(--color-primary-foreground);
|
|
895
918
|
}
|
|
@@ -940,6 +963,10 @@
|
|
|
940
963
|
--tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--ohw-primary));
|
|
941
964
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
942
965
|
}
|
|
966
|
+
.shadow-\[0px_4px_6px_0px_rgba\(0\,0\,0\,0\.1\)\,0px_2px_4px_0px_rgba\(0\,0\,0\,0\.1\)\] {
|
|
967
|
+
--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));
|
|
968
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
969
|
+
}
|
|
943
970
|
.shadow-lg {
|
|
944
971
|
--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));
|
|
945
972
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -1029,6 +1056,11 @@
|
|
|
1029
1056
|
--tw-outline-style: none;
|
|
1030
1057
|
outline-style: none;
|
|
1031
1058
|
}
|
|
1059
|
+
.select-none {
|
|
1060
|
+
-webkit-user-select: none;
|
|
1061
|
+
-moz-user-select: none;
|
|
1062
|
+
user-select: none;
|
|
1063
|
+
}
|
|
1032
1064
|
.placeholder\:text-muted-foreground {
|
|
1033
1065
|
&::-moz-placeholder {
|
|
1034
1066
|
color: var(--color-muted-foreground);
|
|
@@ -1251,6 +1283,11 @@
|
|
|
1251
1283
|
}
|
|
1252
1284
|
}
|
|
1253
1285
|
}
|
|
1286
|
+
.focus\:bg-muted {
|
|
1287
|
+
&:focus {
|
|
1288
|
+
background-color: var(--color-muted);
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1254
1291
|
.focus\:ring-2 {
|
|
1255
1292
|
&:focus {
|
|
1256
1293
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -1413,6 +1450,21 @@
|
|
|
1413
1450
|
}
|
|
1414
1451
|
}
|
|
1415
1452
|
}
|
|
1453
|
+
.data-\[disabled\]\:pointer-events-none {
|
|
1454
|
+
&[data-disabled] {
|
|
1455
|
+
pointer-events: none;
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
.data-\[disabled\]\:opacity-50 {
|
|
1459
|
+
&[data-disabled] {
|
|
1460
|
+
opacity: 50%;
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
.data-\[highlighted\]\:bg-muted {
|
|
1464
|
+
&[data-highlighted] {
|
|
1465
|
+
background-color: var(--color-muted);
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1416
1468
|
.data-\[state\=off\]\:opacity-50 {
|
|
1417
1469
|
&[data-state="off"] {
|
|
1418
1470
|
opacity: 50%;
|
|
@@ -1448,6 +1500,39 @@
|
|
|
1448
1500
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1449
1501
|
}
|
|
1450
1502
|
}
|
|
1503
|
+
.data-\[variant\=destructive\]\:text-destructive {
|
|
1504
|
+
&[data-variant="destructive"] {
|
|
1505
|
+
color: var(--color-destructive);
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
.data-\[variant\=destructive\]\:focus\:bg-bg-destructive-10 {
|
|
1509
|
+
&[data-variant="destructive"] {
|
|
1510
|
+
&:focus {
|
|
1511
|
+
background-color: var(--color-bg-destructive-10);
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
.data-\[variant\=destructive\]\:focus\:text-destructive {
|
|
1516
|
+
&[data-variant="destructive"] {
|
|
1517
|
+
&:focus {
|
|
1518
|
+
color: var(--color-destructive);
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
.data-\[variant\=destructive\]\:data-\[highlighted\]\:bg-bg-destructive-10 {
|
|
1523
|
+
&[data-variant="destructive"] {
|
|
1524
|
+
&[data-highlighted] {
|
|
1525
|
+
background-color: var(--color-bg-destructive-10);
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
.data-\[variant\=destructive\]\:data-\[highlighted\]\:text-destructive {
|
|
1530
|
+
&[data-variant="destructive"] {
|
|
1531
|
+
&[data-highlighted] {
|
|
1532
|
+
color: var(--color-destructive);
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1451
1536
|
.sm\:contents {
|
|
1452
1537
|
@media (width >= 40rem) {
|
|
1453
1538
|
display: contents;
|
|
@@ -1503,29 +1588,61 @@
|
|
|
1503
1588
|
padding-block: calc(var(--spacing) * 20);
|
|
1504
1589
|
}
|
|
1505
1590
|
}
|
|
1506
|
-
.sm\:text-5xl {
|
|
1507
|
-
@media (width >= 40rem) {
|
|
1508
|
-
font-size: var(--text-5xl);
|
|
1509
|
-
line-height: var(--tw-leading, var(--text-5xl--line-height));
|
|
1510
|
-
letter-spacing: var(--tw-tracking, var(--text-5xl--letter-spacing));
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
1591
|
.\[\&_svg\]\:pointer-events-none {
|
|
1514
1592
|
& svg {
|
|
1515
1593
|
pointer-events: none;
|
|
1516
1594
|
}
|
|
1517
1595
|
}
|
|
1596
|
+
.\[\&_svg\]\:size-4 {
|
|
1597
|
+
& svg {
|
|
1598
|
+
width: calc(var(--spacing) * 4);
|
|
1599
|
+
height: calc(var(--spacing) * 4);
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1518
1602
|
.\[\&_svg\]\:shrink-0 {
|
|
1519
1603
|
& svg {
|
|
1520
1604
|
flex-shrink: 0;
|
|
1521
1605
|
}
|
|
1522
1606
|
}
|
|
1607
|
+
.data-\[variant\=destructive\]\:\[\&_svg\]\:text-destructive {
|
|
1608
|
+
&[data-variant="destructive"] {
|
|
1609
|
+
& svg {
|
|
1610
|
+
color: var(--color-destructive);
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1523
1614
|
.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 {
|
|
1524
1615
|
& svg:not([class*='size-']) {
|
|
1525
1616
|
width: calc(var(--spacing) * 4);
|
|
1526
1617
|
height: calc(var(--spacing) * 4);
|
|
1527
1618
|
}
|
|
1528
1619
|
}
|
|
1620
|
+
.\[\&_svg\:not\(\[class\*\=absolute\]\)\]\:relative {
|
|
1621
|
+
& svg:not([class*=absolute]) {
|
|
1622
|
+
position: relative;
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
.\[\&\>svg\:first-child\]\:absolute {
|
|
1626
|
+
&>svg:first-child {
|
|
1627
|
+
position: absolute;
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
.\[\&\>svg\:first-child\]\:top-1\/2 {
|
|
1631
|
+
&>svg:first-child {
|
|
1632
|
+
top: calc(1 / 2 * 100%);
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
.\[\&\>svg\:first-child\]\:left-2 {
|
|
1636
|
+
&>svg:first-child {
|
|
1637
|
+
left: calc(var(--spacing) * 2);
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
.\[\&\>svg\:first-child\]\:-translate-y-1\/2 {
|
|
1641
|
+
&>svg:first-child {
|
|
1642
|
+
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
1643
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1529
1646
|
[data-ohw-bridge-root] {
|
|
1530
1647
|
--color-primary: var(--ohw-primary, #0885FE);
|
|
1531
1648
|
--color-primary-foreground: var(--ohw-primary-foreground, #FAFAF9);
|