@jamsrui/description 0.0.5 → 0.0.6

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