@ohhwells/bridge 0.1.25 → 0.1.27-next.18
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 +304 -304
- package/dist/index.cjs +366 -217
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +379 -230
- package/dist/index.js.map +1 -1
- package/dist/styles.css +14 -12
- package/package.json +48 -48
package/dist/styles.css
CHANGED
|
@@ -424,10 +424,6 @@
|
|
|
424
424
|
--tw-border-style: none;
|
|
425
425
|
border-style: none;
|
|
426
426
|
}
|
|
427
|
-
.border-solid {
|
|
428
|
-
--tw-border-style: solid;
|
|
429
|
-
border-style: solid;
|
|
430
|
-
}
|
|
431
427
|
.border-\[\#E7E5E4\] {
|
|
432
428
|
border-color: #E7E5E4;
|
|
433
429
|
}
|
|
@@ -488,6 +484,9 @@
|
|
|
488
484
|
.p-0 {
|
|
489
485
|
padding: calc(var(--spacing) * 0);
|
|
490
486
|
}
|
|
487
|
+
.p-0\.5 {
|
|
488
|
+
padding: calc(var(--spacing) * 0.5);
|
|
489
|
+
}
|
|
491
490
|
.p-1 {
|
|
492
491
|
padding: calc(var(--spacing) * 1);
|
|
493
492
|
}
|
|
@@ -718,6 +717,9 @@
|
|
|
718
717
|
.underline {
|
|
719
718
|
text-decoration-line: underline;
|
|
720
719
|
}
|
|
720
|
+
.caret-foreground {
|
|
721
|
+
caret-color: var(--color-foreground);
|
|
722
|
+
}
|
|
721
723
|
.opacity-50 {
|
|
722
724
|
opacity: 50%;
|
|
723
725
|
}
|
|
@@ -1121,7 +1123,7 @@
|
|
|
1121
1123
|
--ohw-success: #16a34a;
|
|
1122
1124
|
--ohw-hover-success: #15803d;
|
|
1123
1125
|
}
|
|
1124
|
-
[data-ohw-link-modal-root],
|
|
1126
|
+
[data-ohw-link-modal-root],
|
|
1125
1127
|
[data-ohw-link-popover-root] {
|
|
1126
1128
|
--ohw-background: #ffffff;
|
|
1127
1129
|
--ohw-foreground: #0c0a09;
|
|
@@ -1159,25 +1161,25 @@
|
|
|
1159
1161
|
letter-spacing: normal;
|
|
1160
1162
|
line-height: normal;
|
|
1161
1163
|
}
|
|
1162
|
-
[data-ohw-link-modal-root] :is(h1, h2, h3, h4, h5, h6, p, label, input, button, span, a, li),
|
|
1164
|
+
[data-ohw-link-modal-root] :is(h1, h2, h3, h4, h5, h6, p, label, input, button, span, a, li),
|
|
1163
1165
|
[data-ohw-link-popover-root] :is(h1, h2, h3, h4, h5, h6, p, label, input, button, span, a, li) {
|
|
1164
1166
|
font-family: var(--font-sans);
|
|
1165
1167
|
letter-spacing: normal;
|
|
1166
1168
|
}
|
|
1167
|
-
[data-ohw-link-modal-root] h2,
|
|
1169
|
+
[data-ohw-link-modal-root] h2,
|
|
1168
1170
|
[data-ohw-link-popover-root] h2 {
|
|
1169
1171
|
font-weight: 600;
|
|
1170
1172
|
line-height: 1;
|
|
1171
1173
|
letter-spacing: -0.025em;
|
|
1172
1174
|
color: var(--ohw-card-foreground);
|
|
1173
1175
|
}
|
|
1174
|
-
[data-ohw-link-modal-root] p,
|
|
1176
|
+
[data-ohw-link-modal-root] p,
|
|
1175
1177
|
[data-ohw-link-popover-root] p {
|
|
1176
1178
|
font-weight: 400;
|
|
1177
1179
|
line-height: 1.25rem;
|
|
1178
1180
|
color: inherit;
|
|
1179
1181
|
}
|
|
1180
|
-
[data-ohw-link-modal-root] label,
|
|
1182
|
+
[data-ohw-link-modal-root] label,
|
|
1181
1183
|
[data-ohw-link-popover-root] label {
|
|
1182
1184
|
font-weight: 500;
|
|
1183
1185
|
line-height: 1.25rem;
|
|
@@ -1196,14 +1198,14 @@
|
|
|
1196
1198
|
border-color: var(--ohw-border);
|
|
1197
1199
|
color: var(--ohw-foreground);
|
|
1198
1200
|
}
|
|
1199
|
-
[data-ohw-link-modal-root] [data-ohw-link-field],
|
|
1201
|
+
[data-ohw-link-modal-root] [data-ohw-link-field],
|
|
1200
1202
|
[data-ohw-link-modal-root] [data-ohw-link-field] button {
|
|
1201
1203
|
font-family: var(--font-sans);
|
|
1202
1204
|
-webkit-appearance: none;
|
|
1203
1205
|
-moz-appearance: none;
|
|
1204
1206
|
appearance: none;
|
|
1205
1207
|
}
|
|
1206
|
-
[data-ohw-link-modal-root] [data-ohw-link-field] input,
|
|
1208
|
+
[data-ohw-link-modal-root] [data-ohw-link-field] input,
|
|
1207
1209
|
[data-ohw-link-modal-root] [data-ohw-link-field] [data-slot="input"] {
|
|
1208
1210
|
border: 0 !important;
|
|
1209
1211
|
outline: none !important;
|
|
@@ -1495,4 +1497,4 @@
|
|
|
1495
1497
|
--tw-drop-shadow-size: initial;
|
|
1496
1498
|
}
|
|
1497
1499
|
}
|
|
1498
|
-
}
|
|
1500
|
+
}
|
package/package.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ohhwells/bridge",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"private": false,
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.cjs",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.js",
|
|
13
|
-
"require": "./dist/index.cjs"
|
|
14
|
-
},
|
|
15
|
-
"./styles": "./dist/styles.css"
|
|
16
|
-
},
|
|
17
|
-
"files": [
|
|
18
|
-
"dist"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "tsup && postcss src/styles.css -o dist/styles.css",
|
|
22
|
-
"dev": "tsup --watch"
|
|
23
|
-
},
|
|
24
|
-
"peerDependencies": {
|
|
25
|
-
"next": ">=14",
|
|
26
|
-
"react": ">=18",
|
|
27
|
-
"react-dom": ">=18"
|
|
28
|
-
},
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"@radix-ui/react-slot": "^1.3.0",
|
|
31
|
-
"radix-ui": "^1.4.3"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@tailwindcss/postcss": "^4",
|
|
35
|
-
"@types/node": "^26.0.0",
|
|
36
|
-
"@types/react": "^18",
|
|
37
|
-
"@types/react-dom": "^18",
|
|
38
|
-
"autoprefixer": "^10.4.0",
|
|
39
|
-
"class-variance-authority": "^0.7.1",
|
|
40
|
-
"clsx": "^2.1.1",
|
|
41
|
-
"postcss": "^8.4.0",
|
|
42
|
-
"postcss-cli": "^11.0.0",
|
|
43
|
-
"tailwind-merge": "^3.6.0",
|
|
44
|
-
"tailwindcss": "^4",
|
|
45
|
-
"tsup": "^8.0.0",
|
|
46
|
-
"typescript": "^5"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ohhwells/bridge",
|
|
3
|
+
"version": "0.1.27-next.18",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./styles": "./dist/styles.css"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsup && postcss src/styles.css -o dist/styles.css",
|
|
22
|
+
"dev": "tsup --watch"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"next": ">=14",
|
|
26
|
+
"react": ">=18",
|
|
27
|
+
"react-dom": ">=18"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@radix-ui/react-slot": "^1.3.0",
|
|
31
|
+
"radix-ui": "^1.4.3"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@tailwindcss/postcss": "^4",
|
|
35
|
+
"@types/node": "^26.0.0",
|
|
36
|
+
"@types/react": "^18",
|
|
37
|
+
"@types/react-dom": "^18",
|
|
38
|
+
"autoprefixer": "^10.4.0",
|
|
39
|
+
"class-variance-authority": "^0.7.1",
|
|
40
|
+
"clsx": "^2.1.1",
|
|
41
|
+
"postcss": "^8.4.0",
|
|
42
|
+
"postcss-cli": "^11.0.0",
|
|
43
|
+
"tailwind-merge": "^3.6.0",
|
|
44
|
+
"tailwindcss": "^4",
|
|
45
|
+
"tsup": "^8.0.0",
|
|
46
|
+
"typescript": "^5"
|
|
47
|
+
}
|
|
48
|
+
}
|