@jamsrui/description 0.0.6 → 0.0.7
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/description.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/use-description.mjs +1 -1
- package/package.json +4 -4
- package/dist/chunk-FRLZOFTN.mjs +0 -1
- package/dist/chunk-HS6BZBIV.mjs +0 -1
package/dist/description.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
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{
|
|
1
|
+
"use client";import{Description as o}from"./description.mjs";export{o as Description};
|
package/dist/use-description.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
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.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
-
"@jamsrui/context": "^0.0.
|
|
10
|
-
"@jamsrui/utils": "^0.0.
|
|
8
|
+
"@jamsrui/hooks": "^0.0.14",
|
|
9
|
+
"@jamsrui/context": "^0.0.3",
|
|
10
|
+
"@jamsrui/utils": "^0.0.14"
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
package/dist/chunk-FRLZOFTN.mjs
DELETED
|
@@ -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};
|
package/dist/chunk-HS6BZBIV.mjs
DELETED
|
@@ -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};
|