@ohhwells/bridge 0.1.33 → 0.1.34-next.41

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
@@ -4,9 +4,13 @@
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;
13
+ --container-xs: 20rem;
10
14
  --container-md: 28rem;
11
15
  --text-xs: 12px;
12
16
  --text-xs--line-height: 16px;
@@ -18,10 +22,6 @@
18
22
  --text-lg--line-height: 28px;
19
23
  --text-xl: 20px;
20
24
  --text-xl--line-height: 28px;
21
- --text-4xl: 36px;
22
- --text-4xl--line-height: 40px;
23
- --text-5xl: 48px;
24
- --text-5xl--line-height: 1;
25
25
  --font-weight-normal: 400;
26
26
  --font-weight-medium: 500;
27
27
  --font-weight-semibold: 600;
@@ -38,6 +38,7 @@
38
38
  --font-body: 'Red Hat Display', system-ui, sans-serif;
39
39
  --color-primary: var(--ohw-primary, #0885FE);
40
40
  --color-primary-foreground: var(--ohw-primary-foreground, #FAFAF9);
41
+ --color-primary-50: var(--ohw-primary-50, #EFF6FF);
41
42
  --color-background: var(--ohw-background, #ffffff);
42
43
  --color-foreground: var(--ohw-foreground, #020617);
43
44
  --color-card-foreground: var(--ohw-card-foreground, #020617);
@@ -53,8 +54,6 @@
53
54
  --color-border: var(--ohw-border, #e2e8f0);
54
55
  --color-input: var(--ohw-input, #e2e8f0);
55
56
  --color-ring: var(--ohw-ring, #64748b);
56
- --text-5xl--letter-spacing: -0.025em;
57
- --text-4xl--letter-spacing: -0.025em;
58
57
  --text-xl--letter-spacing: -0.025em;
59
58
  --text-lg--letter-spacing: 0em;
60
59
  --text-base--letter-spacing: 0em;
@@ -107,6 +106,9 @@
107
106
  .top-\[calc\(100\%\+4px\)\] {
108
107
  top: calc(100% + 4px);
109
108
  }
109
+ .top-full {
110
+ top: 100%;
111
+ }
110
112
  .right-0 {
111
113
  right: calc(var(--spacing) * 0);
112
114
  }
@@ -119,6 +121,9 @@
119
121
  .bottom-0 {
120
122
  bottom: calc(var(--spacing) * 0);
121
123
  }
124
+ .bottom-full {
125
+ bottom: 100%;
126
+ }
122
127
  .left-0 {
123
128
  left: calc(var(--spacing) * 0);
124
129
  }
@@ -170,9 +175,15 @@
170
175
  .mt-0\.5 {
171
176
  margin-top: calc(var(--spacing) * 0.5);
172
177
  }
178
+ .mt-2 {
179
+ margin-top: calc(var(--spacing) * 2);
180
+ }
173
181
  .mr-\[-1px\] {
174
182
  margin-right: -1px;
175
183
  }
184
+ .mb-2 {
185
+ margin-bottom: calc(var(--spacing) * 2);
186
+ }
176
187
  .mb-4 {
177
188
  margin-bottom: calc(var(--spacing) * 4);
178
189
  }
@@ -200,6 +211,13 @@
200
211
  .inline-flex {
201
212
  display: inline-flex;
202
213
  }
214
+ .size-4 {
215
+ width: calc(var(--spacing) * 4);
216
+ height: calc(var(--spacing) * 4);
217
+ }
218
+ .h-6 {
219
+ height: calc(var(--spacing) * 6);
220
+ }
203
221
  .h-7 {
204
222
  height: calc(var(--spacing) * 7);
205
223
  }
@@ -236,6 +254,9 @@
236
254
  .max-h-48 {
237
255
  max-height: calc(var(--spacing) * 48);
238
256
  }
257
+ .max-h-\[30px\] {
258
+ max-height: 30px;
259
+ }
239
260
  .max-h-\[calc\(100\%-32px\)\] {
240
261
  max-height: calc(100% - 32px);
241
262
  }
@@ -251,6 +272,9 @@
251
272
  .w-2 {
252
273
  width: calc(var(--spacing) * 2);
253
274
  }
275
+ .w-4 {
276
+ width: calc(var(--spacing) * 4);
277
+ }
254
278
  .w-7 {
255
279
  width: calc(var(--spacing) * 7);
256
280
  }
@@ -273,6 +297,9 @@
273
297
  .w-full {
274
298
  width: 100%;
275
299
  }
300
+ .w-px {
301
+ width: 1px;
302
+ }
276
303
  .max-w-\[483px\] {
277
304
  max-width: 483px;
278
305
  }
@@ -285,6 +312,9 @@
285
312
  .max-w-\[calc\(100vw-16px\)\] {
286
313
  max-width: calc(100vw - 16px);
287
314
  }
315
+ .max-w-xs {
316
+ max-width: var(--container-xs);
317
+ }
288
318
  .min-w-0 {
289
319
  min-width: calc(var(--spacing) * 0);
290
320
  }
@@ -313,6 +343,10 @@
313
343
  --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
314
344
  translate: var(--tw-translate-x) var(--tw-translate-y);
315
345
  }
346
+ .-translate-x-\[calc\(100\%\+7px\)\] {
347
+ --tw-translate-x: calc(calc(100% + 7px) * -1);
348
+ translate: var(--tw-translate-x) var(--tw-translate-y);
349
+ }
316
350
  .-translate-y-1\/2 {
317
351
  --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
318
352
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -323,6 +357,9 @@
323
357
  .cursor-default {
324
358
  cursor: default;
325
359
  }
360
+ .cursor-grab {
361
+ cursor: grab;
362
+ }
326
363
  .cursor-pointer {
327
364
  cursor: pointer;
328
365
  }
@@ -400,6 +437,9 @@
400
437
  .overflow-x-auto {
401
438
  overflow-x: auto;
402
439
  }
440
+ .rounded {
441
+ border-radius: 0.25rem;
442
+ }
403
443
  .rounded-\[10px\] {
404
444
  border-radius: 10px;
405
445
  }
@@ -491,9 +531,15 @@
491
531
  background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
492
532
  }
493
533
  }
534
+ .bg-border {
535
+ background-color: var(--color-border);
536
+ }
494
537
  .bg-destructive {
495
538
  background-color: var(--color-destructive);
496
539
  }
540
+ .bg-foreground {
541
+ background-color: var(--color-foreground);
542
+ }
497
543
  .bg-muted {
498
544
  background-color: var(--color-muted);
499
545
  }
@@ -629,11 +675,6 @@
629
675
  .font-sans {
630
676
  font-family: var(--font-sans);
631
677
  }
632
- .text-4xl {
633
- font-size: var(--text-4xl);
634
- line-height: var(--tw-leading, var(--text-4xl--line-height));
635
- letter-spacing: var(--tw-tracking, var(--text-4xl--letter-spacing));
636
- }
637
678
  .text-base {
638
679
  font-size: var(--text-base);
639
680
  line-height: var(--tw-leading, var(--text-base--line-height));
@@ -718,6 +759,9 @@
718
759
  .text-\[\#0A0A0A\] {
719
760
  color: #0A0A0A;
720
761
  }
762
+ .text-background {
763
+ color: var(--color-background);
764
+ }
721
765
  .text-card-foreground {
722
766
  color: var(--color-card-foreground);
723
767
  }
@@ -742,6 +786,9 @@
742
786
  .text-secondary-foreground {
743
787
  color: var(--color-secondary-foreground);
744
788
  }
789
+ .text-stone-500 {
790
+ color: var(--color-stone-500);
791
+ }
745
792
  .italic {
746
793
  font-style: italic;
747
794
  }
@@ -768,10 +815,18 @@
768
815
  --tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--ohw-primary));
769
816
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
770
817
  }
818
+ .shadow-\[0px_2px_4px_-2px_rgba\(0\,0\,0\,0\.1\)\,0px_4px_6px_-1px_rgba\(0\,0\,0\,0\.1\)\] {
819
+ --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));
820
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
821
+ }
771
822
  .shadow-lg {
772
823
  --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
824
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
774
825
  }
826
+ .shadow-md {
827
+ --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));
828
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
829
+ }
775
830
  .shadow-none {
776
831
  --tw-shadow: 0 0 #0000;
777
832
  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 +868,20 @@
813
868
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
814
869
  transition-duration: var(--tw-duration, var(--default-transition-duration));
815
870
  }
871
+ .transition-all {
872
+ transition-property: all;
873
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
874
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
875
+ }
816
876
  .transition-colors {
817
877
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
818
878
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
819
879
  transition-duration: var(--tw-duration, var(--default-transition-duration));
820
880
  }
881
+ .duration-200 {
882
+ --tw-duration: 200ms;
883
+ transition-duration: 200ms;
884
+ }
821
885
  .outline-none {
822
886
  --tw-outline-style: none;
823
887
  outline-style: none;
@@ -830,6 +894,107 @@
830
894
  color: var(--color-muted-foreground);
831
895
  }
832
896
  }
897
+ .before\:pointer-events-none {
898
+ &::before {
899
+ content: var(--tw-content);
900
+ pointer-events: none;
901
+ }
902
+ }
903
+ .before\:absolute {
904
+ &::before {
905
+ content: var(--tw-content);
906
+ position: absolute;
907
+ }
908
+ }
909
+ .before\:top-0 {
910
+ &::before {
911
+ content: var(--tw-content);
912
+ top: calc(var(--spacing) * 0);
913
+ }
914
+ }
915
+ .before\:top-1\/2 {
916
+ &::before {
917
+ content: var(--tw-content);
918
+ top: calc(1 / 2 * 100%);
919
+ }
920
+ }
921
+ .before\:right-0 {
922
+ &::before {
923
+ content: var(--tw-content);
924
+ right: calc(var(--spacing) * 0);
925
+ }
926
+ }
927
+ .before\:bottom-0 {
928
+ &::before {
929
+ content: var(--tw-content);
930
+ bottom: calc(var(--spacing) * 0);
931
+ }
932
+ }
933
+ .before\:left-0 {
934
+ &::before {
935
+ content: var(--tw-content);
936
+ left: calc(var(--spacing) * 0);
937
+ }
938
+ }
939
+ .before\:left-1\/2 {
940
+ &::before {
941
+ content: var(--tw-content);
942
+ left: calc(1 / 2 * 100%);
943
+ }
944
+ }
945
+ .before\:size-2 {
946
+ &::before {
947
+ content: var(--tw-content);
948
+ width: calc(var(--spacing) * 2);
949
+ height: calc(var(--spacing) * 2);
950
+ }
951
+ }
952
+ .before\:-translate-x-1\/2 {
953
+ &::before {
954
+ content: var(--tw-content);
955
+ --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
956
+ translate: var(--tw-translate-x) var(--tw-translate-y);
957
+ }
958
+ }
959
+ .before\:translate-x-1\/2 {
960
+ &::before {
961
+ content: var(--tw-content);
962
+ --tw-translate-x: calc(1 / 2 * 100%);
963
+ translate: var(--tw-translate-x) var(--tw-translate-y);
964
+ }
965
+ }
966
+ .before\:-translate-y-1\/2 {
967
+ &::before {
968
+ content: var(--tw-content);
969
+ --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
970
+ translate: var(--tw-translate-x) var(--tw-translate-y);
971
+ }
972
+ }
973
+ .before\:translate-y-1\/2 {
974
+ &::before {
975
+ content: var(--tw-content);
976
+ --tw-translate-y: calc(1 / 2 * 100%);
977
+ translate: var(--tw-translate-x) var(--tw-translate-y);
978
+ }
979
+ }
980
+ .before\:rotate-45 {
981
+ &::before {
982
+ content: var(--tw-content);
983
+ rotate: 45deg;
984
+ }
985
+ }
986
+ .before\:bg-foreground {
987
+ &::before {
988
+ content: var(--tw-content);
989
+ background-color: var(--color-foreground);
990
+ }
991
+ }
992
+ .before\:content-\[\"\"\] {
993
+ &::before {
994
+ --tw-content: "";
995
+ content: var(--tw-content);
996
+ }
997
+ }
833
998
  .hover\:bg-accent {
834
999
  &:hover {
835
1000
  @media (hover: hover) {
@@ -978,6 +1143,78 @@
978
1143
  }
979
1144
  }
980
1145
  }
1146
+ .enabled\:hover\:border {
1147
+ &:enabled {
1148
+ &:hover {
1149
+ @media (hover: hover) {
1150
+ border-style: var(--tw-border-style);
1151
+ border-width: 1px;
1152
+ }
1153
+ }
1154
+ }
1155
+ }
1156
+ .enabled\:hover\:border-stone-200 {
1157
+ &:enabled {
1158
+ &:hover {
1159
+ @media (hover: hover) {
1160
+ border-color: var(--color-stone-200);
1161
+ }
1162
+ }
1163
+ }
1164
+ }
1165
+ .enabled\:hover\:text-stone-950 {
1166
+ &:enabled {
1167
+ &:hover {
1168
+ @media (hover: hover) {
1169
+ color: var(--color-stone-950);
1170
+ }
1171
+ }
1172
+ }
1173
+ }
1174
+ .enabled\:active\:cursor-grabbing {
1175
+ &:enabled {
1176
+ &:active {
1177
+ cursor: grabbing;
1178
+ }
1179
+ }
1180
+ }
1181
+ .enabled\:active\:border {
1182
+ &:enabled {
1183
+ &:active {
1184
+ border-style: var(--tw-border-style);
1185
+ border-width: 1px;
1186
+ }
1187
+ }
1188
+ }
1189
+ .enabled\:active\:border-primary {
1190
+ &:enabled {
1191
+ &:active {
1192
+ border-color: var(--color-primary);
1193
+ }
1194
+ }
1195
+ }
1196
+ .enabled\:active\:bg-primary-50 {
1197
+ &:enabled {
1198
+ &:active {
1199
+ background-color: var(--color-primary-50);
1200
+ }
1201
+ }
1202
+ }
1203
+ .enabled\:active\:text-stone-950 {
1204
+ &:enabled {
1205
+ &:active {
1206
+ color: var(--color-stone-950);
1207
+ }
1208
+ }
1209
+ }
1210
+ .enabled\:active\:shadow {
1211
+ &:enabled {
1212
+ &:active {
1213
+ --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));
1214
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1215
+ }
1216
+ }
1217
+ }
981
1218
  .disabled\:pointer-events-none {
982
1219
  &:disabled {
983
1220
  pointer-events: none;
@@ -988,11 +1225,31 @@
988
1225
  cursor: not-allowed;
989
1226
  }
990
1227
  }
1228
+ .disabled\:text-muted-foreground {
1229
+ &:disabled {
1230
+ color: var(--color-muted-foreground);
1231
+ }
1232
+ }
1233
+ .disabled\:text-stone-950 {
1234
+ &:disabled {
1235
+ color: var(--color-stone-950);
1236
+ }
1237
+ }
1238
+ .disabled\:opacity-40 {
1239
+ &:disabled {
1240
+ opacity: 40%;
1241
+ }
1242
+ }
991
1243
  .disabled\:opacity-50 {
992
1244
  &:disabled {
993
1245
  opacity: 50%;
994
1246
  }
995
1247
  }
1248
+ .disabled\:opacity-60 {
1249
+ &:disabled {
1250
+ opacity: 60%;
1251
+ }
1252
+ }
996
1253
  .aria-invalid\:border-destructive {
997
1254
  &[aria-invalid="true"] {
998
1255
  border-color: var(--color-destructive);
@@ -1096,13 +1353,6 @@
1096
1353
  padding-block: calc(var(--spacing) * 20);
1097
1354
  }
1098
1355
  }
1099
- .sm\:text-5xl {
1100
- @media (width >= 40rem) {
1101
- font-size: var(--text-5xl);
1102
- line-height: var(--tw-leading, var(--text-5xl--line-height));
1103
- letter-spacing: var(--tw-tracking, var(--text-5xl--letter-spacing));
1104
- }
1105
- }
1106
1356
  .md\:w-md {
1107
1357
  @media (width >= 48rem) {
1108
1358
  width: var(--container-md);
@@ -1127,8 +1377,10 @@
1127
1377
  [data-ohw-bridge-root] {
1128
1378
  --color-primary: var(--ohw-primary, #0885FE);
1129
1379
  --color-primary-foreground: var(--ohw-primary-foreground, #FAFAF9);
1380
+ --color-primary-50: var(--ohw-primary-50, #EFF6FF);
1130
1381
  --ohw-primary: #0885FE;
1131
1382
  --ohw-primary-foreground: #FAFAF9;
1383
+ --ohw-primary-50: #EFF6FF;
1132
1384
  --ohw-background: #ffffff;
1133
1385
  --ohw-foreground: #020617;
1134
1386
  --ohw-card: #ffffff;
@@ -1287,6 +1539,7 @@
1287
1539
  --ohw-popover-foreground: #f8fafc;
1288
1540
  --ohw-primary: #f8fafc;
1289
1541
  --ohw-primary-foreground: #0f172a;
1542
+ --ohw-primary-50: #1e3a5f;
1290
1543
  --ohw-hover-primary: #f1f5f9;
1291
1544
  --ohw-secondary: #1e293b;
1292
1545
  --ohw-secondary-foreground: #f8fafc;
@@ -1502,6 +1755,15 @@
1502
1755
  syntax: "*";
1503
1756
  inherits: false;
1504
1757
  }
1758
+ @property --tw-duration {
1759
+ syntax: "*";
1760
+ inherits: false;
1761
+ }
1762
+ @property --tw-content {
1763
+ syntax: "*";
1764
+ initial-value: "";
1765
+ inherits: false;
1766
+ }
1505
1767
  @layer properties {
1506
1768
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1507
1769
  *, ::before, ::after, ::backdrop {
@@ -1545,6 +1807,8 @@
1545
1807
  --tw-drop-shadow-color: initial;
1546
1808
  --tw-drop-shadow-alpha: 100%;
1547
1809
  --tw-drop-shadow-size: initial;
1810
+ --tw-duration: initial;
1811
+ --tw-content: "";
1548
1812
  }
1549
1813
  }
1550
1814
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohhwells/bridge",
3
- "version": "0.1.33",
3
+ "version": "0.1.34-next.41",
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": {