@jamsrui/description 0.0.6 → 0.0.8

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}from"./chunk-HS6BZBIV.mjs";import"./chunk-FRLZOFTN.mjs";export{a as Description};
1
+ import{useRenderElement as o}from"@jamsrui/hooks";import{useDescription as s}from"./use-description.mjs";const i=e=>{const r=s(e);return o("p",{props:[r]})};export{i as Description};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use client";import{a as e}from"./chunk-HS6BZBIV.mjs";import"./chunk-FRLZOFTN.mjs";export{e as Description};
1
+ "use client";import{Description as o}from"./description.mjs";export{o as Description};
@@ -1 +1 @@
1
- import{a}from"./chunk-FRLZOFTN.mjs";export{a as useDescription};
1
+ import{useFieldA11yContext as p}from"@jamsrui/context";import{useMergeRefs as i}from"@jamsrui/hooks";import{cn as n}from"@jamsrui/utils";const x=r=>{const{className:s,ref:t,...o}=r,e=p();return{ref:i([t,e?.setDescriptionRef]),className:n("description text-xs text-foreground-secondary",s),...e?.getDescriptionProps(),...o}};export{x as useDescription};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/description",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.13",
9
- "@jamsrui/context": "^0.0.2",
10
- "@jamsrui/utils": "^0.0.13"
8
+ "@jamsrui/hooks": "^0.0.15",
9
+ "@jamsrui/context": "^0.0.4",
10
+ "@jamsrui/utils": "^0.0.15"
11
11
  },
12
12
  "exports": {
13
13
  ".": {
@@ -1 +0,0 @@
1
- import{useFieldA11yContext as p}from"@jamsrui/context";import{useMergeRefs as i}from"@jamsrui/hooks";import{cn as n}from"@jamsrui/utils";var x=r=>{let{className:s,ref:t,...o}=r,e=p();return{ref:i([t,e?.setDescriptionRef]),className:n("description text-xs text-foreground-secondary",s),...e?.getDescriptionProps(),...o}};export{x as a};
@@ -1 +0,0 @@
1
- import{a as e}from"./chunk-FRLZOFTN.mjs";import{useRenderElement as s}from"@jamsrui/hooks";var i=r=>{let o=e(r);return s("p",{props:[o]})};export{i as a};