@jamsrui/link 0.0.12 → 0.0.14
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/chunk-6N3LXOK3.mjs +1 -0
- package/dist/{chunk-AGD5QSDG.mjs → chunk-7I77ZUC6.mjs} +1 -1
- package/dist/{chunk-WGSJ5JXZ.mjs → chunk-HZAXKBSG.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/link.mjs +1 -1
- package/dist/styles.d.mts +2 -2
- package/dist/styles.mjs +1 -1
- package/dist/use-link.mjs +1 -1
- package/package.json +5 -5
- package/dist/chunk-IZE7VYXV.mjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{textVariants as e}from"@jamsrui/text";import{focusVisibleClasses as r,tv as n}from"@jamsrui/utils";var o=n({extend:e,base:["cursor-default 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 a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
1
|
+
import{a as t}from"./chunk-6N3LXOK3.mjs";import{useCallback as n,useMemo as p}from"react";import{cn as i,dataAttrDev as m,mapPropsVariants as c}from"@jamsrui/utils";var u=e=>{let[r,a]=c(e,t.variantKeys),o=t(a),s=n(()=>({...r,"data-component":m("link"),className:i(o,r.className)}),[r,o]);return p(()=>({getRootProps:s}),[s])};export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as o}from"./chunk-KDN2W7WQ.mjs";import{a as r}from"./chunk-
|
|
1
|
+
import{b as o}from"./chunk-KDN2W7WQ.mjs";import{a as r}from"./chunk-7I77ZUC6.mjs";import{useRenderElement as i}from"@jamsrui/hooks";import{mergeConfigProps as m}from"@jamsrui/utils";var P=n=>{let e=o(),t=m(e,e,n),s=r(t),{getRootProps:p}=s;return i("a",{props:[p({})]})};export{P as a};
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{a as o}from"./chunk-
|
|
1
|
+
"use client";import{a as o}from"./chunk-HZAXKBSG.mjs";import{a as i,b as n}from"./chunk-KDN2W7WQ.mjs";import"./chunk-7I77ZUC6.mjs";import"./chunk-6N3LXOK3.mjs";export{o as Link,i as LinkConfig,n as useLinkConfig};
|
package/dist/link.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-HZAXKBSG.mjs";import"./chunk-KDN2W7WQ.mjs";import"./chunk-7I77ZUC6.mjs";import"./chunk-6N3LXOK3.mjs";export{a as Link};
|
package/dist/styles.d.mts
CHANGED
|
@@ -57,7 +57,7 @@ declare const linkVariants: _jamsrui_utils.TVReturnType<{
|
|
|
57
57
|
none: string;
|
|
58
58
|
md: string;
|
|
59
59
|
};
|
|
60
|
-
}, undefined, "transition-colors", {
|
|
60
|
+
}, undefined, "transition-colors cursor-default", {
|
|
61
61
|
variant: {
|
|
62
62
|
h1: string;
|
|
63
63
|
h2: string;
|
|
@@ -107,7 +107,7 @@ declare const linkVariants: _jamsrui_utils.TVReturnType<{
|
|
|
107
107
|
none: string;
|
|
108
108
|
md: string;
|
|
109
109
|
};
|
|
110
|
-
}, undefined, "transition-colors", unknown, unknown, undefined>>>;
|
|
110
|
+
}, undefined, "transition-colors cursor-default", unknown, unknown, undefined>>>;
|
|
111
111
|
type LinkVariants = VariantProps<typeof linkVariants>;
|
|
112
112
|
|
|
113
113
|
export { type LinkVariants, linkVariants };
|
package/dist/styles.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-6N3LXOK3.mjs";export{a as linkVariants};
|
package/dist/use-link.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-7I77ZUC6.mjs";import"./chunk-6N3LXOK3.mjs";export{a as useLink};
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/link",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
-
"@jamsrui/core": "^0.0.
|
|
10
|
-
"@jamsrui/utils": "^0.0.
|
|
11
|
-
"@jamsrui/text": "^0.0.
|
|
8
|
+
"@jamsrui/hooks": "^0.0.13",
|
|
9
|
+
"@jamsrui/core": "^0.0.11",
|
|
10
|
+
"@jamsrui/utils": "^0.0.13",
|
|
11
|
+
"@jamsrui/text": "^0.0.13"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
package/dist/chunk-IZE7VYXV.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{textVariants as e}from"@jamsrui/text";import{focusVisibleClasses as r,tv as n}from"@jamsrui/utils";var 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 a};
|