@jamsrui/description 0.0.13 → 0.1.0
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/README.md +1 -3
- package/dist/description.mjs +1 -1
- package/dist/use-description.mjs +1 -1
- package/package.json +5 -5
- package/dist/description-config.d.mts +0 -18
- package/dist/description-config.mjs +0 -1
- package/dist/styles.d.mts +0 -5
- package/dist/styles.mjs +0 -1
package/README.md
CHANGED
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
**A comprehensive React UI component library designed for developers, with Tailwind CSS integration for seamless styling.**
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
## 📖 **Overview**
|
|
7
6
|
|
|
8
7
|
[JamsrUI](https://jamsr-ui.jamsrworld.com) is designed to help developers build modern, fast and visually appealing web applications with ease.
|
|
9
8
|
|
|
10
|
-
## 🚀 Getting Started
|
|
9
|
+
## 🚀 Getting Started
|
|
11
10
|
|
|
12
11
|
Boost & Build your websites using [JamsrUI](https://jamsr-ui.jamsrworld.com).
|
|
13
12
|
|
|
@@ -37,4 +36,3 @@ We welcome contributions from developers of all skill levels!
|
|
|
37
36
|
## ⭐ Support the Project
|
|
38
37
|
|
|
39
38
|
If you find **JamsrUI** helpful, consider giving it a ⭐ on [GitHub](https://github.com/jamsrworld/jamsr-ui).
|
|
40
|
-
|
package/dist/description.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{useRenderElement as
|
|
1
|
+
"use client";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/use-description.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{useFieldA11yContext as p}from"@jamsrui/context";import{useMergeRefs as i}from"@jamsrui/hooks";
|
|
1
|
+
"use client";import{useFieldA11yContext as p}from"@jamsrui/context";import{useMergeRefs as i}from"@jamsrui/hooks";const u=r=>{const{className:s,ref:t,...o}=r,e=p();return{ref:i([t,e?.setDescriptionRef]),className:s,...e?.getDescriptionProps(),...o}};export{u as useDescription};
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/description",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/context": "^0.0
|
|
9
|
-
"@jamsrui/
|
|
10
|
-
"@jamsrui/
|
|
11
|
-
"@jamsrui/utils": "^0.0
|
|
8
|
+
"@jamsrui/context": "^0.1.0",
|
|
9
|
+
"@jamsrui/core": "^0.1.0",
|
|
10
|
+
"@jamsrui/hooks": "^0.1.0",
|
|
11
|
+
"@jamsrui/utils": "^0.1.0"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { WithGlobalConfig } from '@jamsrui/core';
|
|
3
|
-
import { Description } from './description.mjs';
|
|
4
|
-
import 'react';
|
|
5
|
-
import './use-description.mjs';
|
|
6
|
-
import '@jamsrui/utils';
|
|
7
|
-
|
|
8
|
-
declare const useDescriptionConfig: () => DescriptionConfig.Props;
|
|
9
|
-
declare const DescriptionConfig: (props: Omit<Partial<DescriptionConfig.Props>, "children"> & {
|
|
10
|
-
merge?: boolean;
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
13
|
-
declare namespace DescriptionConfig {
|
|
14
|
-
interface Props extends WithGlobalConfig<Description.Props> {
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { DescriptionConfig, useDescriptionConfig };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{createConfigContext as o}from"@jamsrui/utils";const[r,n]=o({displayName:"DescriptionConfigContext"});export{r as DescriptionConfig,n as useDescriptionConfig};
|
package/dist/styles.d.mts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as _jamsrui_utils from '@jamsrui/utils';
|
|
2
|
-
|
|
3
|
-
declare const descriptionVariants: _jamsrui_utils.TVReturnType<{} | {} | {}, undefined, "description text-xs text-foreground-secondary", {} | {}, undefined, _jamsrui_utils.TVReturnType<unknown, undefined, "description text-xs text-foreground-secondary", unknown, unknown, undefined>>;
|
|
4
|
-
|
|
5
|
-
export { descriptionVariants };
|
package/dist/styles.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tv as t}from"@jamsrui/utils";const r=t({base:"description text-xs text-foreground-secondary"});export{r as descriptionVariants};
|