@stackframe/stack-ui 2.7.19 → 2.7.20
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/CHANGELOG.md +8 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/package.json +2 -4
- package/dist/components/ui/link.d.ts +0 -11
- package/dist/components/ui/link.js +0 -11
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ export * from "./components/ui/inline-code";
|
|
|
26
26
|
export * from "./components/ui/input";
|
|
27
27
|
export * from "./components/ui/input-otp";
|
|
28
28
|
export * from "./components/ui/label";
|
|
29
|
-
export * from "./components/ui/link";
|
|
30
29
|
export * from "./components/ui/menubar";
|
|
31
30
|
export * from "./components/ui/navigation-menu";
|
|
32
31
|
export * from "./components/ui/password-input";
|
package/dist/index.js
CHANGED
|
@@ -26,7 +26,6 @@ export * from "./components/ui/inline-code";
|
|
|
26
26
|
export * from "./components/ui/input";
|
|
27
27
|
export * from "./components/ui/input-otp";
|
|
28
28
|
export * from "./components/ui/label";
|
|
29
|
-
export * from "./components/ui/link";
|
|
30
29
|
export * from "./components/ui/menubar";
|
|
31
30
|
export * from "./components/ui/navigation-menu";
|
|
32
31
|
export * from "./components/ui/password-input";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackframe/stack-ui",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.20",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@types/react": ">=18.2.12 || >=19.0.0-rc.0",
|
|
21
21
|
"@types/react-dom": ">=18.2.12 || >=19.0.0-rc.0",
|
|
22
|
-
"next": ">=14.1.0 || >=15.0.0-rc.0",
|
|
23
22
|
"react": ">=18.2 || >=19.0.0-rc.0",
|
|
24
23
|
"react-dom": ">=18.2 || >=19.0.0-rc.0",
|
|
25
24
|
"yup": "^1.4.0"
|
|
@@ -77,12 +76,11 @@
|
|
|
77
76
|
"react-hook-form": "^7.53.1",
|
|
78
77
|
"react-resizable-panels": "^2.1.6",
|
|
79
78
|
"tailwind-merge": "^2.5.4",
|
|
80
|
-
"@stackframe/stack-shared": "2.7.
|
|
79
|
+
"@stackframe/stack-shared": "2.7.20"
|
|
81
80
|
},
|
|
82
81
|
"devDependencies": {
|
|
83
82
|
"@types/react": "^18.2.12",
|
|
84
83
|
"@types/react-dom": "^18.2.12",
|
|
85
|
-
"next": "^14.1.0",
|
|
86
84
|
"react": "^18.2",
|
|
87
85
|
"react-dom": "^18.2",
|
|
88
86
|
"rimraf": "^5.0.10"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type LinkProps = {
|
|
2
|
-
href: string;
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
target?: string;
|
|
6
|
-
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
7
|
-
prefetch?: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare function Link(props: LinkProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function StyledLink(props: LinkProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export { Link, StyledLink };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import NextLink from 'next/link';
|
|
4
|
-
import { cn } from "../../lib/utils";
|
|
5
|
-
function Link(props) {
|
|
6
|
-
return _jsx(NextLink, { href: props.href, target: props.target, className: props.className, prefetch: props.prefetch, onClick: props.onClick, children: props.children });
|
|
7
|
-
}
|
|
8
|
-
function StyledLink(props) {
|
|
9
|
-
return (_jsx(Link, { ...props, className: cn("underline font-medium", props.className), children: props.children }));
|
|
10
|
-
}
|
|
11
|
-
export { Link, StyledLink };
|