@jamsrui/otp-input 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 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
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _utils = require('@jamsrui/utils');var[o,n]=_utils.createConfigContext.call(void 0, {displayName:"OtpInputConfig"});exports.a = o; exports.b = n;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _hooks = require('@jamsrui/hooks');var s=e=>{let{render:p,...r}=e;return _hooks.useRenderElement.call(void 0, "div",{props:r})};exports.a = s;
@@ -0,0 +1 @@
1
+ import{createConfigContext as p}from"@jamsrui/utils";var[o,n]=p({displayName:"OtpInputConfig"});export{o as a,n as b};
@@ -0,0 +1 @@
1
+ import{useRenderElement as t}from"@jamsrui/hooks";var s=e=>{let{render:p,...r}=e;return t("div",{props:r})};export{s as a};
@@ -0,0 +1,5 @@
1
+ export { OtpInput } from './otp-input.mjs';
2
+ export { OtpInputConfig, useOtpInputConfig } from './otp-input-config.mjs';
3
+ import 'react';
4
+ import '@jamsrui/utils';
5
+ import '@jamsrui/core';
@@ -0,0 +1,5 @@
1
+ export { OtpInput } from './otp-input.js';
2
+ export { OtpInputConfig, useOtpInputConfig } from './otp-input-config.js';
3
+ import 'react';
4
+ import '@jamsrui/utils';
5
+ import '@jamsrui/core';
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkFJTXAXR2js = require('./chunk-FJTXAXR2.js');var _chunkSBKL7MWVjs = require('./chunk-SBKL7MWV.js');exports.OtpInput = _chunkSBKL7MWVjs.a; exports.OtpInputConfig = _chunkFJTXAXR2js.a; exports.useOtpInputConfig = _chunkFJTXAXR2js.b;
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ "use client";import{a as p,b as n}from"./chunk-WEHL2U4J.mjs";import{a as t}from"./chunk-WPMKZ7NQ.mjs";export{t as OtpInput,p as OtpInputConfig,n as useOtpInputConfig};
@@ -0,0 +1,19 @@
1
+ import { OtpInput } from './otp-input.mjs';
2
+ import * as react from 'react';
3
+ import { GlobalConfigProps } from '@jamsrui/core';
4
+ import '@jamsrui/utils';
5
+
6
+ declare const useOtpInputConfig: () => {
7
+ children?: React.ReactNode;
8
+ };
9
+ declare const OtpInputConfig: (props: {
10
+ children?: React.ReactNode;
11
+ } & {
12
+ merge?: boolean;
13
+ }) => react.JSX.Element;
14
+ declare namespace OtpInputConfig {
15
+ interface Props extends OtpInput.Props, GlobalConfigProps<OtpInput.Props> {
16
+ }
17
+ }
18
+
19
+ export { OtpInputConfig, useOtpInputConfig };
@@ -0,0 +1,19 @@
1
+ import { OtpInput } from './otp-input.js';
2
+ import * as react from 'react';
3
+ import { GlobalConfigProps } from '@jamsrui/core';
4
+ import '@jamsrui/utils';
5
+
6
+ declare const useOtpInputConfig: () => {
7
+ children?: React.ReactNode;
8
+ };
9
+ declare const OtpInputConfig: (props: {
10
+ children?: React.ReactNode;
11
+ } & {
12
+ merge?: boolean;
13
+ }) => react.JSX.Element;
14
+ declare namespace OtpInputConfig {
15
+ interface Props extends OtpInput.Props, GlobalConfigProps<OtpInput.Props> {
16
+ }
17
+ }
18
+
19
+ export { OtpInputConfig, useOtpInputConfig };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkFJTXAXR2js = require('./chunk-FJTXAXR2.js');exports.OtpInputConfig = _chunkFJTXAXR2js.a; exports.useOtpInputConfig = _chunkFJTXAXR2js.b;
@@ -0,0 +1 @@
1
+ import{a,b}from"./chunk-WEHL2U4J.mjs";export{a as OtpInputConfig,b as useOtpInputConfig};
@@ -0,0 +1,10 @@
1
+ import * as react from 'react';
2
+ import { UIProps } from '@jamsrui/utils';
3
+
4
+ declare const OtpInput: (props: OtpInput.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
5
+ declare namespace OtpInput {
6
+ interface Props extends UIProps<"div"> {
7
+ }
8
+ }
9
+
10
+ export { OtpInput };
@@ -0,0 +1,10 @@
1
+ import * as react from 'react';
2
+ import { UIProps } from '@jamsrui/utils';
3
+
4
+ declare const OtpInput: (props: OtpInput.Props) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
5
+ declare namespace OtpInput {
6
+ interface Props extends UIProps<"div"> {
7
+ }
8
+ }
9
+
10
+ export { OtpInput };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSBKL7MWVjs = require('./chunk-SBKL7MWV.js');exports.OtpInput = _chunkSBKL7MWVjs.a;
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-WPMKZ7NQ.mjs";export{a as OtpInput};
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/dist/styles.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
@@ -0,0 +1,7 @@
1
+ declare const useOTPInput: (props: useOTPInput.Props) => void;
2
+ declare namespace useOTPInput {
3
+ interface Props {
4
+ }
5
+ }
6
+
7
+ export { useOTPInput };
@@ -0,0 +1,7 @@
1
+ declare const useOTPInput: (props: useOTPInput.Props) => void;
2
+ declare namespace useOTPInput {
3
+ interface Props {
4
+ }
5
+ }
6
+
7
+ export { useOTPInput };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var e=p=>{};exports.useOTPInput = e;
@@ -0,0 +1 @@
1
+ var e=p=>{};export{e as useOTPInput};
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@jamsrui/otp-input",
3
+ "version": "0.0.2",
4
+ "peerDependencies": {
5
+ "react": ">=19"
6
+ },
7
+ "dependencies": {
8
+ "@jamsrui/hooks": "^0.0.2",
9
+ "@jamsrui/core": "^0.0.2",
10
+ "@jamsrui/utils": "^0.0.2"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.mjs",
16
+ "require": "./dist/index.js"
17
+ }
18
+ },
19
+ "description": "A modern and beautiful Next.js UI components library.",
20
+ "keywords": [
21
+ "react",
22
+ "ui",
23
+ "UI components",
24
+ "Next.js",
25
+ "React",
26
+ "JamsrUI",
27
+ "jamsr-ui",
28
+ "TypeScript"
29
+ ],
30
+ "sideEffects": false,
31
+ "license": "MIT",
32
+ "author": "@jamsrworld",
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/jamsrworld/jamsr-ui"
36
+ },
37
+ "bugs": {
38
+ "url": "https://github.com/jamsrworld/jamsr-ui/issues"
39
+ },
40
+ "homepage": "https://jamsr-ui.jamsrworld.com",
41
+ "files": [
42
+ "dist",
43
+ "README",
44
+ "README.md",
45
+ "package.json",
46
+ "LICENSE"
47
+ ]
48
+ }