@jamsrui/field-error 0.0.5
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 +40 -0
- package/dist/chunk-6QKNY45B.mjs +1 -0
- package/dist/chunk-O2L3JF4N.mjs +1 -0
- package/dist/field-error.d.mts +11 -0
- package/dist/field-error.mjs +1 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.mjs +1 -0
- package/dist/use-field-error.d.mts +11 -0
- package/dist/use-field-error.mjs +1 -0
- package/package.json +46 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# π **JamsrUI**
|
|
2
|
+
|
|
3
|
+
**A comprehensive React UI component library designed for developers, with Tailwind CSS integration for seamless styling.**
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## π **Overview**
|
|
7
|
+
|
|
8
|
+
[JamsrUI](https://jamsr-ui.jamsrworld.com) is designed to help developers build modern, fast and visually appealing web applications with ease.
|
|
9
|
+
|
|
10
|
+
## π Getting Started
|
|
11
|
+
|
|
12
|
+
Boost & Build your websites using [JamsrUI](https://jamsr-ui.jamsrworld.com).
|
|
13
|
+
|
|
14
|
+
## β¨ Features
|
|
15
|
+
|
|
16
|
+
- π **Production-Ready**: Optimized for modern React projects.
|
|
17
|
+
- π¨ **Customizable**: Easily override styles and themes.
|
|
18
|
+
- π οΈ **Reusable Components**: Save time with prebuilt, efficient UI elements.
|
|
19
|
+
- β‘ **Developer-Friendly**: Simple API and well-documented usage.
|
|
20
|
+
- π¦ **Lightweight**: Minimal dependencies for fast performance.
|
|
21
|
+
- π₯οΈ **Modern Design**: Clean, responsive, and user-friendly components.
|
|
22
|
+
|
|
23
|
+
## π± Community
|
|
24
|
+
|
|
25
|
+
Weβre thrilled to see the community actively engage with **JamsrUI**! Whether you're sharing feedback, reporting bugs, requesting features, or showcasing projects built with JamsrUI, your involvement helps us grow and improve.
|
|
26
|
+
|
|
27
|
+
### How to Engage
|
|
28
|
+
|
|
29
|
+
- π¬ **Report Bugs**: [GitHub Issues](https://github.com/jamsrworld/jamsr-ui/issues)
|
|
30
|
+
- π **Request Features**: Share ideas for new components.
|
|
31
|
+
- π€ **Showcase Projects**: Let us know how you use JamsrUI.
|
|
32
|
+
|
|
33
|
+
## Contributing
|
|
34
|
+
|
|
35
|
+
We welcome contributions from developers of all skill levels!
|
|
36
|
+
|
|
37
|
+
## β Support the Project
|
|
38
|
+
|
|
39
|
+
If you find **JamsrUI** helpful, consider giving it a β on [GitHub](https://github.com/jamsrworld/jamsr-ui).
|
|
40
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-O2L3JF4N.mjs";import{useRenderElement as s}from"@jamsrui/hooks";var d=e=>{let o=r(e);return s("span",{props:[o]})};export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cn as t}from"@jamsrui/utils";var p=r=>{let{className:e,...s}=r;return{...s,className:t("field-error text-xs text-danger",e)}};export{p as a};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { useFieldError } from './use-field-error.mjs';
|
|
3
|
+
import '@jamsrui/utils';
|
|
4
|
+
|
|
5
|
+
declare const FieldError: (props: FieldError.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
6
|
+
declare namespace FieldError {
|
|
7
|
+
interface Props extends useFieldError.Props {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { FieldError };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-6QKNY45B.mjs";import"./chunk-O2L3JF4N.mjs";export{a as FieldError};
|
package/dist/index.d.mts
ADDED
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as r}from"./chunk-6QKNY45B.mjs";import"./chunk-O2L3JF4N.mjs";export{r as FieldError};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UIProps } from '@jamsrui/utils';
|
|
2
|
+
|
|
3
|
+
declare const useFieldError: (props: useFieldError.Props) => useFieldError.ReturnType;
|
|
4
|
+
declare namespace useFieldError {
|
|
5
|
+
interface ReturnType extends UIProps<"span"> {
|
|
6
|
+
}
|
|
7
|
+
interface Props extends UIProps<"span"> {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { useFieldError };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-O2L3JF4N.mjs";export{a as useFieldError};
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jamsrui/field-error",
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"react": ">=19"
|
|
6
|
+
},
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@jamsrui/hooks": "^0.0.12",
|
|
9
|
+
"@jamsrui/utils": "^0.0.12"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.mjs"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"description": "A modern and beautiful Next.js UI components library.",
|
|
18
|
+
"keywords": [
|
|
19
|
+
"react",
|
|
20
|
+
"ui",
|
|
21
|
+
"UI components",
|
|
22
|
+
"Next.js",
|
|
23
|
+
"React",
|
|
24
|
+
"JamsrUI",
|
|
25
|
+
"jamsr-ui",
|
|
26
|
+
"TypeScript"
|
|
27
|
+
],
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"author": "@jamsrworld",
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "https://github.com/jamsrworld/jamsr-ui"
|
|
34
|
+
},
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/jamsrworld/jamsr-ui/issues"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://jamsr-ui.jamsrworld.com",
|
|
39
|
+
"files": [
|
|
40
|
+
"dist",
|
|
41
|
+
"README",
|
|
42
|
+
"README.md",
|
|
43
|
+
"package.json",
|
|
44
|
+
"LICENSE"
|
|
45
|
+
]
|
|
46
|
+
}
|