@ohhwells/bridge 0.1.31 → 0.1.32-next.35
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 +21 -0
- package/dist/index.cjs +509 -304
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +359 -156
- package/dist/index.js.map +1 -1
- package/dist/styles.css +123 -0
- package/package.json +2 -1
package/dist/styles.css
CHANGED
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
:root, :host {
|
|
5
5
|
--font-sans: Figtree, sans-serif;
|
|
6
6
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
7
|
+
--color-stone-200: oklch(92.3% 0.003 48.717);
|
|
8
|
+
--color-stone-500: #78716C;
|
|
9
|
+
--color-stone-950: #0C0A09;
|
|
7
10
|
--color-black: #000;
|
|
8
11
|
--color-white: #fff;
|
|
9
12
|
--spacing: 0.25rem;
|
|
@@ -38,6 +41,7 @@
|
|
|
38
41
|
--font-body: 'Red Hat Display', system-ui, sans-serif;
|
|
39
42
|
--color-primary: var(--ohw-primary, #0885FE);
|
|
40
43
|
--color-primary-foreground: var(--ohw-primary-foreground, #FAFAF9);
|
|
44
|
+
--color-primary-50: var(--ohw-primary-50, #EFF6FF);
|
|
41
45
|
--color-background: var(--ohw-background, #ffffff);
|
|
42
46
|
--color-foreground: var(--ohw-foreground, #020617);
|
|
43
47
|
--color-card-foreground: var(--ohw-card-foreground, #020617);
|
|
@@ -200,6 +204,10 @@
|
|
|
200
204
|
.inline-flex {
|
|
201
205
|
display: inline-flex;
|
|
202
206
|
}
|
|
207
|
+
.size-4 {
|
|
208
|
+
width: calc(var(--spacing) * 4);
|
|
209
|
+
height: calc(var(--spacing) * 4);
|
|
210
|
+
}
|
|
203
211
|
.h-7 {
|
|
204
212
|
height: calc(var(--spacing) * 7);
|
|
205
213
|
}
|
|
@@ -236,6 +244,9 @@
|
|
|
236
244
|
.max-h-48 {
|
|
237
245
|
max-height: calc(var(--spacing) * 48);
|
|
238
246
|
}
|
|
247
|
+
.max-h-\[30px\] {
|
|
248
|
+
max-height: 30px;
|
|
249
|
+
}
|
|
239
250
|
.max-h-\[calc\(100\%-32px\)\] {
|
|
240
251
|
max-height: calc(100% - 32px);
|
|
241
252
|
}
|
|
@@ -251,6 +262,9 @@
|
|
|
251
262
|
.w-2 {
|
|
252
263
|
width: calc(var(--spacing) * 2);
|
|
253
264
|
}
|
|
265
|
+
.w-4 {
|
|
266
|
+
width: calc(var(--spacing) * 4);
|
|
267
|
+
}
|
|
254
268
|
.w-7 {
|
|
255
269
|
width: calc(var(--spacing) * 7);
|
|
256
270
|
}
|
|
@@ -323,6 +337,9 @@
|
|
|
323
337
|
.cursor-default {
|
|
324
338
|
cursor: default;
|
|
325
339
|
}
|
|
340
|
+
.cursor-grab {
|
|
341
|
+
cursor: grab;
|
|
342
|
+
}
|
|
326
343
|
.cursor-pointer {
|
|
327
344
|
cursor: pointer;
|
|
328
345
|
}
|
|
@@ -742,6 +759,9 @@
|
|
|
742
759
|
.text-secondary-foreground {
|
|
743
760
|
color: var(--color-secondary-foreground);
|
|
744
761
|
}
|
|
762
|
+
.text-stone-500 {
|
|
763
|
+
color: var(--color-stone-500);
|
|
764
|
+
}
|
|
745
765
|
.italic {
|
|
746
766
|
font-style: italic;
|
|
747
767
|
}
|
|
@@ -772,6 +792,10 @@
|
|
|
772
792
|
--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));
|
|
773
793
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
774
794
|
}
|
|
795
|
+
.shadow-md {
|
|
796
|
+
--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));
|
|
797
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
798
|
+
}
|
|
775
799
|
.shadow-none {
|
|
776
800
|
--tw-shadow: 0 0 #0000;
|
|
777
801
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -813,11 +837,20 @@
|
|
|
813
837
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
814
838
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
815
839
|
}
|
|
840
|
+
.transition-all {
|
|
841
|
+
transition-property: all;
|
|
842
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
843
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
844
|
+
}
|
|
816
845
|
.transition-colors {
|
|
817
846
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
818
847
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
819
848
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
820
849
|
}
|
|
850
|
+
.duration-200 {
|
|
851
|
+
--tw-duration: 200ms;
|
|
852
|
+
transition-duration: 200ms;
|
|
853
|
+
}
|
|
821
854
|
.outline-none {
|
|
822
855
|
--tw-outline-style: none;
|
|
823
856
|
outline-style: none;
|
|
@@ -978,6 +1011,78 @@
|
|
|
978
1011
|
}
|
|
979
1012
|
}
|
|
980
1013
|
}
|
|
1014
|
+
.enabled\:hover\:border {
|
|
1015
|
+
&:enabled {
|
|
1016
|
+
&:hover {
|
|
1017
|
+
@media (hover: hover) {
|
|
1018
|
+
border-style: var(--tw-border-style);
|
|
1019
|
+
border-width: 1px;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
.enabled\:hover\:border-stone-200 {
|
|
1025
|
+
&:enabled {
|
|
1026
|
+
&:hover {
|
|
1027
|
+
@media (hover: hover) {
|
|
1028
|
+
border-color: var(--color-stone-200);
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
.enabled\:hover\:text-stone-950 {
|
|
1034
|
+
&:enabled {
|
|
1035
|
+
&:hover {
|
|
1036
|
+
@media (hover: hover) {
|
|
1037
|
+
color: var(--color-stone-950);
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
.enabled\:active\:cursor-grabbing {
|
|
1043
|
+
&:enabled {
|
|
1044
|
+
&:active {
|
|
1045
|
+
cursor: grabbing;
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
.enabled\:active\:border {
|
|
1050
|
+
&:enabled {
|
|
1051
|
+
&:active {
|
|
1052
|
+
border-style: var(--tw-border-style);
|
|
1053
|
+
border-width: 1px;
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
.enabled\:active\:border-primary {
|
|
1058
|
+
&:enabled {
|
|
1059
|
+
&:active {
|
|
1060
|
+
border-color: var(--color-primary);
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
.enabled\:active\:bg-primary-50 {
|
|
1065
|
+
&:enabled {
|
|
1066
|
+
&:active {
|
|
1067
|
+
background-color: var(--color-primary-50);
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
.enabled\:active\:text-stone-950 {
|
|
1072
|
+
&:enabled {
|
|
1073
|
+
&:active {
|
|
1074
|
+
color: var(--color-stone-950);
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
.enabled\:active\:shadow {
|
|
1079
|
+
&:enabled {
|
|
1080
|
+
&:active {
|
|
1081
|
+
--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));
|
|
1082
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
981
1086
|
.disabled\:pointer-events-none {
|
|
982
1087
|
&:disabled {
|
|
983
1088
|
pointer-events: none;
|
|
@@ -988,6 +1093,16 @@
|
|
|
988
1093
|
cursor: not-allowed;
|
|
989
1094
|
}
|
|
990
1095
|
}
|
|
1096
|
+
.disabled\:text-stone-950 {
|
|
1097
|
+
&:disabled {
|
|
1098
|
+
color: var(--color-stone-950);
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
.disabled\:opacity-40 {
|
|
1102
|
+
&:disabled {
|
|
1103
|
+
opacity: 40%;
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
991
1106
|
.disabled\:opacity-50 {
|
|
992
1107
|
&:disabled {
|
|
993
1108
|
opacity: 50%;
|
|
@@ -1127,8 +1242,10 @@
|
|
|
1127
1242
|
[data-ohw-bridge-root] {
|
|
1128
1243
|
--color-primary: var(--ohw-primary, #0885FE);
|
|
1129
1244
|
--color-primary-foreground: var(--ohw-primary-foreground, #FAFAF9);
|
|
1245
|
+
--color-primary-50: var(--ohw-primary-50, #EFF6FF);
|
|
1130
1246
|
--ohw-primary: #0885FE;
|
|
1131
1247
|
--ohw-primary-foreground: #FAFAF9;
|
|
1248
|
+
--ohw-primary-50: #EFF6FF;
|
|
1132
1249
|
--ohw-background: #ffffff;
|
|
1133
1250
|
--ohw-foreground: #020617;
|
|
1134
1251
|
--ohw-card: #ffffff;
|
|
@@ -1287,6 +1404,7 @@
|
|
|
1287
1404
|
--ohw-popover-foreground: #f8fafc;
|
|
1288
1405
|
--ohw-primary: #f8fafc;
|
|
1289
1406
|
--ohw-primary-foreground: #0f172a;
|
|
1407
|
+
--ohw-primary-50: #1e3a5f;
|
|
1290
1408
|
--ohw-hover-primary: #f1f5f9;
|
|
1291
1409
|
--ohw-secondary: #1e293b;
|
|
1292
1410
|
--ohw-secondary-foreground: #f8fafc;
|
|
@@ -1502,6 +1620,10 @@
|
|
|
1502
1620
|
syntax: "*";
|
|
1503
1621
|
inherits: false;
|
|
1504
1622
|
}
|
|
1623
|
+
@property --tw-duration {
|
|
1624
|
+
syntax: "*";
|
|
1625
|
+
inherits: false;
|
|
1626
|
+
}
|
|
1505
1627
|
@layer properties {
|
|
1506
1628
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
1507
1629
|
*, ::before, ::after, ::backdrop {
|
|
@@ -1545,6 +1667,7 @@
|
|
|
1545
1667
|
--tw-drop-shadow-color: initial;
|
|
1546
1668
|
--tw-drop-shadow-alpha: 100%;
|
|
1547
1669
|
--tw-drop-shadow-size: initial;
|
|
1670
|
+
--tw-duration: initial;
|
|
1548
1671
|
}
|
|
1549
1672
|
}
|
|
1550
1673
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohhwells/bridge",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32-next.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@radix-ui/react-slot": "^1.3.0",
|
|
31
|
+
"lucide-react": "^1.23.0",
|
|
31
32
|
"radix-ui": "^1.4.3"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|