@jamsrui/textfield 0.0.2
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-3AWOGADB.mjs +1 -0
- package/dist/chunk-IRWZN5NQ.mjs +1 -0
- package/dist/chunk-LHBVQ575.mjs +1 -0
- package/dist/chunk-UIWXNOKE.mjs +1 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.mjs +1 -0
- package/dist/textfield-context.d.mts +13 -0
- package/dist/textfield-context.mjs +1 -0
- package/dist/textfield-root.d.mts +10 -0
- package/dist/textfield-root.mjs +1 -0
- package/dist/textfield.d.mts +13 -0
- package/dist/textfield.mjs +1 -0
- package/dist/use-textfield.d.mts +13 -0
- package/dist/use-textfield.mjs +1 -0
- package/package.json +47 -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{useCallback as s,useMemo as p}from"react";import{cn as l}from"@jamsrui/utils";var x=r=>{let{className:e,...t}=r,o=s(()=>({className:l("flex flex-col gap-1",e),...t}),[e,t]);return p(()=>({getRootProps:o}),[o])};export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i}from"./chunk-LHBVQ575.mjs";import{a as o}from"./chunk-UIWXNOKE.mjs";import{a as x}from"./chunk-3AWOGADB.mjs";import{FieldA11yContext as n,useFieldA11y as s}from"@jamsrui/context";import{jsx as e}from"react/jsx-runtime";var m=t=>{let l=x(t),{children:d}=t,r=s();return e(o,{value:l,children:e(n,{value:r,children:e(i,{children:d})})})};export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-UIWXNOKE.mjs";import{useRenderElement as r}from"@jamsrui/hooks";var i=t=>{let o=e();return r("div",{props:[t,o?.getRootProps({})??{}]})};export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createContext as e,use as t}from"react";var o=e(null),r=()=>t(o);export{o as a,r as b};
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { TextField } from './textfield.mjs';
|
|
2
|
+
export { useTextFieldContext } from './textfield-context.mjs';
|
|
3
|
+
export { useTextField } from './use-textfield.mjs';
|
|
4
|
+
import 'react/jsx-runtime';
|
|
5
|
+
import 'react';
|
|
6
|
+
import '@jamsrui/utils';
|
|
7
|
+
import './textfield-root.mjs';
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as o}from"./chunk-IRWZN5NQ.mjs";import"./chunk-LHBVQ575.mjs";import{b as e}from"./chunk-UIWXNOKE.mjs";import{a as t}from"./chunk-3AWOGADB.mjs";export{o as TextField,t as useTextField,e as useTextFieldContext};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { useTextField } from './use-textfield.mjs';
|
|
3
|
+
import '@jamsrui/utils';
|
|
4
|
+
import './textfield-root.mjs';
|
|
5
|
+
|
|
6
|
+
declare const useTextFieldContext: () => TextFieldContext.Props | null;
|
|
7
|
+
declare const TextFieldContext: react.Context<TextFieldContext.Props | null>;
|
|
8
|
+
declare namespace TextFieldContext {
|
|
9
|
+
interface Props extends ReturnType<typeof useTextField> {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { TextFieldContext, useTextFieldContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a,b}from"./chunk-UIWXNOKE.mjs";export{a as TextFieldContext,b as useTextFieldContext};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { UIProps } from '@jamsrui/utils';
|
|
3
|
+
|
|
4
|
+
declare const TextfieldRoot: (props: TextfieldRoot.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
5
|
+
declare namespace TextfieldRoot {
|
|
6
|
+
interface Props extends UIProps<"div"> {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { TextfieldRoot };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-LHBVQ575.mjs";import"./chunk-UIWXNOKE.mjs";export{a as TextfieldRoot};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { useTextField } from './use-textfield.mjs';
|
|
3
|
+
import '@jamsrui/utils';
|
|
4
|
+
import './textfield-root.mjs';
|
|
5
|
+
import 'react';
|
|
6
|
+
|
|
7
|
+
declare const TextField: (props: TextField.Props) => react_jsx_runtime.JSX.Element;
|
|
8
|
+
declare namespace TextField {
|
|
9
|
+
interface Props extends useTextField.Props {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { TextField };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-IRWZN5NQ.mjs";import"./chunk-LHBVQ575.mjs";import"./chunk-UIWXNOKE.mjs";import"./chunk-3AWOGADB.mjs";export{a as TextField};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PropGetter } from '@jamsrui/utils';
|
|
2
|
+
import { TextfieldRoot } from './textfield-root.mjs';
|
|
3
|
+
import 'react';
|
|
4
|
+
|
|
5
|
+
declare const useTextField: (props: useTextField.Props) => {
|
|
6
|
+
getRootProps: PropGetter<TextfieldRoot.Props>;
|
|
7
|
+
};
|
|
8
|
+
declare namespace useTextField {
|
|
9
|
+
interface Props extends TextfieldRoot.Props {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { useTextField };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a}from"./chunk-3AWOGADB.mjs";export{a as useTextField};
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jamsrui/textfield",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"react": ">=19"
|
|
6
|
+
},
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@jamsrui/context": "^0.0.2",
|
|
9
|
+
"@jamsrui/hooks": "^0.0.13",
|
|
10
|
+
"@jamsrui/utils": "^0.0.13"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.mjs"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"description": "A modern and beautiful Next.js UI components library.",
|
|
19
|
+
"keywords": [
|
|
20
|
+
"react",
|
|
21
|
+
"ui",
|
|
22
|
+
"UI components",
|
|
23
|
+
"Next.js",
|
|
24
|
+
"React",
|
|
25
|
+
"JamsrUI",
|
|
26
|
+
"jamsr-ui",
|
|
27
|
+
"TypeScript"
|
|
28
|
+
],
|
|
29
|
+
"sideEffects": false,
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"author": "@jamsrworld",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/jamsrworld/jamsr-ui"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/jamsrworld/jamsr-ui/issues"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://jamsr-ui.jamsrworld.com",
|
|
40
|
+
"files": [
|
|
41
|
+
"dist",
|
|
42
|
+
"README",
|
|
43
|
+
"README.md",
|
|
44
|
+
"package.json",
|
|
45
|
+
"LICENSE"
|
|
46
|
+
]
|
|
47
|
+
}
|