@jamsrui/text 0.0.12 → 0.0.13

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.
@@ -1 +1 @@
1
- import{a as e}from"./chunk-E2WF4HZW.mjs";import{b as t}from"./chunk-NT4MF7PS.mjs";import{useRenderElement as a}from"@jamsrui/hooks";import{mapPropsVariants as i,mergeConfigProps as x}from"@jamsrui/utils";var d=o=>{let r=t(),s=x(r,r,o),[n,p]=i(s,e.variantKeys),m=e(p);return a("p",{props:[n,{className:m}]})};export{d as a};
1
+ import{a as e}from"./chunk-4UR6W37H.mjs";import{b as t}from"./chunk-NT4MF7PS.mjs";import{useRenderElement as a}from"@jamsrui/hooks";import{mapPropsVariants as i,mergeConfigProps as x}from"@jamsrui/utils";var d=o=>{let r=t(),s=x(r,r,o),[n,p]=i(s,e.variantKeys),m=e(p);return a("p",{props:[n,{className:m}]})};export{d as a};
@@ -0,0 +1 @@
1
+ import{tv as t}from"@jamsrui/utils";var e=t({base:"transition-colors cursor-default",variants:{variant:{h1:"text-4xl leading-tight",h2:"text-3xl leading-tight",h3:"text-2xl leading-tight",h4:"text-xl leading-tight",h5:"text-lg leading-tight",h6:"text-md leading-tight",lead:"text-2xs",caption:"text-xs",paragraph2:"text-sm",paragraph:"text-base",body1:"text-md",body2:"text-lg",body3:"text-xl",body4:"text-2xl",body5:"text-3xl",body6:"text-4xl leading-tight",body7:"text-5xl leading-tight",inherit:""},leading:{none:"leading-none",md:"leading-[1.7]"}},compoundVariants:[{variant:["h1","h2","h3"],className:"font-bold"},{variant:["h4","h5","h6"],className:"font-semibold"},{variant:["body1","body2","body3","body4"],className:"font-normal"},{variant:["body5","body6","body7"],className:"font-medium"}]});export{e as a};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{a as r}from"./chunk-U65KIYTA.mjs";import{a as e}from"./chunk-E2WF4HZW.mjs";import{a as t,b as o}from"./chunk-NT4MF7PS.mjs";export{r as Text,t as TextConfig,e as textVariants,o as useTextConfig};
1
+ "use client";import{a as r}from"./chunk-3CNX6NUE.mjs";import{a as e}from"./chunk-4UR6W37H.mjs";import{a as t,b as o}from"./chunk-NT4MF7PS.mjs";export{r as Text,t as TextConfig,e as textVariants,o as useTextConfig};
package/dist/styles.d.mts CHANGED
@@ -26,7 +26,7 @@ declare const textVariants: _jamsrui_utils.TVReturnType<{
26
26
  none: string;
27
27
  md: string;
28
28
  };
29
- }, undefined, "transition-colors", {
29
+ }, undefined, "transition-colors cursor-default", {
30
30
  variant: {
31
31
  h1: string;
32
32
  h2: string;
@@ -76,7 +76,7 @@ declare const textVariants: _jamsrui_utils.TVReturnType<{
76
76
  none: string;
77
77
  md: string;
78
78
  };
79
- }, undefined, "transition-colors", unknown, unknown, undefined>>;
79
+ }, undefined, "transition-colors cursor-default", unknown, unknown, undefined>>;
80
80
  type TextVariants = VariantProps<typeof textVariants>;
81
81
 
82
82
  export { type TextVariants, textVariants };
package/dist/styles.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-E2WF4HZW.mjs";export{a as textVariants};
1
+ import{a}from"./chunk-4UR6W37H.mjs";export{a as textVariants};
package/dist/text.mjs CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-U65KIYTA.mjs";import"./chunk-E2WF4HZW.mjs";import"./chunk-NT4MF7PS.mjs";export{a as Text};
1
+ import{a}from"./chunk-3CNX6NUE.mjs";import"./chunk-4UR6W37H.mjs";import"./chunk-NT4MF7PS.mjs";export{a as Text};
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@jamsrui/text",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
8
  "tailwind-variants": "^1.0.0",
9
- "@jamsrui/hooks": "^0.0.12",
10
- "@jamsrui/utils": "^0.0.12",
11
- "@jamsrui/core": "^0.0.10"
9
+ "@jamsrui/core": "^0.0.11",
10
+ "@jamsrui/utils": "^0.0.13",
11
+ "@jamsrui/hooks": "^0.0.13"
12
12
  },
13
13
  "exports": {
14
14
  ".": {
@@ -1 +0,0 @@
1
- import{tv as t}from"@jamsrui/utils";var e=t({base:"transition-colors",variants:{variant:{h1:"text-4xl leading-tight",h2:"text-3xl leading-tight",h3:"text-2xl leading-tight",h4:"text-xl leading-tight",h5:"text-lg leading-tight",h6:"text-md leading-tight",lead:"text-2xs",caption:"text-xs",paragraph2:"text-sm",paragraph:"text-base",body1:"text-md",body2:"text-lg",body3:"text-xl",body4:"text-2xl",body5:"text-3xl",body6:"text-4xl leading-tight",body7:"text-5xl leading-tight",inherit:""},leading:{none:"leading-none",md:"leading-[1.7]"}},compoundVariants:[{variant:["h1","h2","h3"],className:"font-bold"},{variant:["h4","h5","h6"],className:"font-semibold"},{variant:["body1","body2","body3","body4"],className:"font-normal"},{variant:["body5","body6","body7"],className:"font-medium"}]});export{e as a};