@contractspec/lib.ui-link 3.6.0 → 3.7.1
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.
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// ui/link.tsx
|
|
2
|
+
import { cn } from "@contractspec/lib.ui-kit-core";
|
|
3
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
4
|
+
function Link({
|
|
5
|
+
className,
|
|
6
|
+
...props
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ jsxDEV("a", {
|
|
9
|
+
className: cn("", className),
|
|
10
|
+
...props
|
|
11
|
+
}, undefined, false, undefined, this);
|
|
12
|
+
}
|
|
13
|
+
var link_default = Link;
|
|
14
|
+
export {
|
|
15
|
+
link_default as default
|
|
16
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ui/link";
|
package/dist/ui/link.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// ui/link.tsx
|
|
3
|
+
import { cn } from "@contractspec/lib.ui-kit-core";
|
|
4
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
5
|
+
function Link({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ jsxDEV("a", {
|
|
10
|
+
className: cn("", className),
|
|
11
|
+
...props
|
|
12
|
+
}, undefined, false, undefined, this);
|
|
13
|
+
}
|
|
14
|
+
var link_default = Link;
|
|
15
|
+
export {
|
|
16
|
+
link_default as default
|
|
17
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.ui-link",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.1",
|
|
4
4
|
"description": "Deep linking utilities for navigation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"typescript"
|
|
12
12
|
],
|
|
13
13
|
"type": "module",
|
|
14
|
-
"types": "./dist/
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
|
|
17
17
|
"publish:pkg:canary": "bun publish:pkg --tag canary",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"typecheck": "tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@contractspec/lib.ui-kit-core": "3.
|
|
31
|
-
"react": "19.2.
|
|
32
|
-
"react-dom": "19.2.
|
|
30
|
+
"@contractspec/lib.ui-kit-core": "3.7.1",
|
|
31
|
+
"react": "19.2.0",
|
|
32
|
+
"react-dom": "19.2.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@contractspec/tool.typescript": "3.
|
|
35
|
+
"@contractspec/tool.typescript": "3.7.1",
|
|
36
36
|
"typescript": "^5.9.3",
|
|
37
|
-
"@contractspec/tool.bun": "3.
|
|
37
|
+
"@contractspec/tool.bun": "3.7.1"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"dist",
|
|
@@ -42,31 +42,31 @@
|
|
|
42
42
|
],
|
|
43
43
|
"exports": {
|
|
44
44
|
".": {
|
|
45
|
-
"types": "./dist/
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"default": "./dist/
|
|
45
|
+
"types": "./dist/index.d.ts",
|
|
46
|
+
"browser": "./dist/browser/index.js",
|
|
47
|
+
"bun": "./dist/index.js",
|
|
48
|
+
"default": "./dist/index.js"
|
|
49
49
|
},
|
|
50
50
|
"./ui/link": {
|
|
51
|
-
"types": "./dist/link.d.ts",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"default": "./dist/link.js"
|
|
51
|
+
"types": "./dist/ui/link.d.ts",
|
|
52
|
+
"browser": "./dist/browser/ui/link.js",
|
|
53
|
+
"bun": "./dist/ui/link.js",
|
|
54
|
+
"default": "./dist/ui/link.js"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"exports": {
|
|
59
59
|
".": {
|
|
60
|
-
"types": "./dist/
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"default": "./dist/
|
|
60
|
+
"types": "./dist/index.d.ts",
|
|
61
|
+
"browser": "./dist/browser/index.js",
|
|
62
|
+
"bun": "./dist/index.js",
|
|
63
|
+
"default": "./dist/index.js"
|
|
64
64
|
},
|
|
65
65
|
"./ui/link": {
|
|
66
|
-
"types": "./dist/link.d.ts",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"default": "./dist/link.js"
|
|
66
|
+
"types": "./dist/ui/link.d.ts",
|
|
67
|
+
"browser": "./dist/browser/ui/link.js",
|
|
68
|
+
"bun": "./dist/ui/link.js",
|
|
69
|
+
"default": "./dist/ui/link.js"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"registry": "https://registry.npmjs.org/",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|