@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 CHANGED
@@ -3,6 +3,5 @@ export { LinkConfig, useLinkConfig } from './link-config.mjs';
3
3
  import 'react';
4
4
  import '@jamsrui/utils';
5
5
  import './styles.mjs';
6
- import 'tailwind-variants';
7
6
  import 'react/jsx-runtime';
8
7
  import '@jamsrui/core';
@@ -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
- children?: React.ReactNode;
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
@@ -2,4 +2,3 @@ import 'react';
2
2
  export { L as Link } from './link-Dsbt8pgz.mjs';
3
3
  import '@jamsrui/utils';
4
4
  import './styles.mjs';
5
- import 'tailwind-variants';
package/dist/styles.d.mts CHANGED
@@ -1,8 +1,7 @@
1
- import * as tailwind_variants from 'tailwind-variants';
1
+ import * as _jamsrui_utils from '@jamsrui/utils';
2
2
  import { VariantProps } from '@jamsrui/utils';
3
3
 
4
- declare const test = "";
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, tailwind_variants.TVReturnType<{
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, tailwind_variants.TVReturnType<{
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, test };
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 i="",s=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{s as linkVariants,i as test};
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};
@@ -2,4 +2,3 @@ import '@jamsrui/utils';
2
2
  export { u as useLink } from './link-Dsbt8pgz.mjs';
3
3
  import './styles.mjs';
4
4
  import 'react';
5
- import 'tailwind-variants';
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@jamsrui/link",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.7",
9
- "@jamsrui/text": "^0.0.7",
10
- "@jamsrui/utils": "^0.0.7",
11
- "@jamsrui/core": "^0.0.7"
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
  ".": {