@jamsrui/link 0.0.7 → 0.0.9
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/index.d.mts +0 -1
- package/dist/link-config.d.mts +3 -7
- package/dist/link.d.mts +0 -1
- package/dist/styles.d.mts +5 -6
- package/dist/styles.mjs +1 -1
- package/dist/use-link.d.mts +0 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
package/dist/link-config.d.mts
CHANGED
|
@@ -4,15 +4,11 @@ import { GlobalConfigProps } from '@jamsrui/core';
|
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@jamsrui/utils';
|
|
6
6
|
import './styles.mjs';
|
|
7
|
-
import 'tailwind-variants';
|
|
8
7
|
|
|
9
|
-
declare const useLinkConfig: () =>
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
declare const LinkConfig: (props: {
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
} & {
|
|
8
|
+
declare const useLinkConfig: () => Record<string, any>;
|
|
9
|
+
declare const LinkConfig: (props: Omit<Partial<Record<string, any>>, "children"> & {
|
|
15
10
|
merge?: boolean;
|
|
11
|
+
children: React.ReactNode;
|
|
16
12
|
}) => react_jsx_runtime.JSX.Element;
|
|
17
13
|
declare namespace LinkConfig {
|
|
18
14
|
interface Props extends Link.Props, GlobalConfigProps<Link.Props> {
|
package/dist/link.d.mts
CHANGED
package/dist/styles.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _jamsrui_utils from '@jamsrui/utils';
|
|
2
2
|
import { VariantProps } from '@jamsrui/utils';
|
|
3
3
|
|
|
4
|
-
declare const
|
|
5
|
-
declare const linkVariants: tailwind_variants.TVReturnType<{
|
|
4
|
+
declare const linkVariants: _jamsrui_utils.TVReturnType<{
|
|
6
5
|
underline: {
|
|
7
6
|
hover: string;
|
|
8
7
|
never: string;
|
|
@@ -33,7 +32,7 @@ declare const linkVariants: tailwind_variants.TVReturnType<{
|
|
|
33
32
|
none: string;
|
|
34
33
|
md: string;
|
|
35
34
|
};
|
|
36
|
-
}, undefined,
|
|
35
|
+
}, undefined, _jamsrui_utils.TVReturnType<{
|
|
37
36
|
variant: {
|
|
38
37
|
h1: string;
|
|
39
38
|
h2: string;
|
|
@@ -83,7 +82,7 @@ declare const linkVariants: tailwind_variants.TVReturnType<{
|
|
|
83
82
|
none: string;
|
|
84
83
|
md: string;
|
|
85
84
|
};
|
|
86
|
-
}, undefined,
|
|
85
|
+
}, undefined, _jamsrui_utils.TVReturnType<{
|
|
87
86
|
variant: {
|
|
88
87
|
h1: string;
|
|
89
88
|
h2: string;
|
|
@@ -111,4 +110,4 @@ declare const linkVariants: tailwind_variants.TVReturnType<{
|
|
|
111
110
|
}, undefined, "transition-colors", unknown, unknown, undefined>>>;
|
|
112
111
|
type LinkVariants = VariantProps<typeof linkVariants>;
|
|
113
112
|
|
|
114
|
-
export { type LinkVariants, linkVariants
|
|
113
|
+
export { type LinkVariants, linkVariants };
|
package/dist/styles.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{textVariants as e}from"@jamsrui/text";import{focusVisibleClasses as r,tv as n}from"@jamsrui/utils";const
|
|
1
|
+
import{textVariants as e}from"@jamsrui/text";import{focusVisibleClasses as r,tv as n}from"@jamsrui/utils";const o=n({extend:e,base:["cursor-pointer select-none text-foreground-link hover:text-foreground-link/80",r],variants:{underline:{hover:"hover:underline hover:underline-offset-4",never:"",always:"underline underline-offset-4 transition-all hover:underline-offset-2"}},defaultVariants:{underline:"hover"}});export{o as linkVariants};
|
package/dist/use-link.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/link",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
-
"@jamsrui/
|
|
10
|
-
"@jamsrui/utils": "^0.0.
|
|
11
|
-
"@jamsrui/
|
|
8
|
+
"@jamsrui/hooks": "^0.0.9",
|
|
9
|
+
"@jamsrui/core": "^0.0.8",
|
|
10
|
+
"@jamsrui/utils": "^0.0.9",
|
|
11
|
+
"@jamsrui/text": "^0.0.9"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|