@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 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
-
@@ -1 +1 @@
1
- "use client";import{useRenderElement as s}from"@jamsrui/hooks";import{mergeConfigProps as n}from"@jamsrui/utils";import{useDescriptionConfig as i}from"./description-config.mjs";import{descriptionVariants as p}from"./styles.mjs";import{useDescription as c}from"./use-description.mjs";const P=e=>{const r=i(),o=n(p.defaultVariants,r,e),t=c(o);return s("p",{props:[t]})};export{P as Description};
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};
@@ -1 +1 @@
1
- "use client";import{useFieldA11yContext as p}from"@jamsrui/context";import{useMergeRefs as i}from"@jamsrui/hooks";import{descriptionVariants as n}from"./styles.mjs";const a=r=>{const{className:s,ref:t,...o}=r,e=p();return{ref:i([t,e?.setDescriptionRef]),className:n({className:s}),...e?.getDescriptionProps(),...o}};export{a as useDescription};
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.13",
3
+ "version": "0.1.0",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/context": "^0.0.9",
9
- "@jamsrui/hooks": "^0.0.20",
10
- "@jamsrui/core": "^0.0.16",
11
- "@jamsrui/utils": "^0.0.20"
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};