@jamsrui/otp-input 0.0.2 → 0.0.3

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/dist/index.mjs CHANGED
@@ -1 +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};
1
+ "use client";import{OtpInput as n}from"./otp-input";import{OtpInputConfig as e,useOtpInputConfig as u}from"./otp-input-config";export{n as OtpInput,e as OtpInputConfig,u as useOtpInputConfig};
@@ -1 +1 @@
1
- import{a,b}from"./chunk-WEHL2U4J.mjs";export{a as OtpInputConfig,b as useOtpInputConfig};
1
+ import{createConfigContext as p}from"@jamsrui/utils";const[o,n]=p({displayName:"OtpInputConfig"});export{o as OtpInputConfig,n as useOtpInputConfig};
@@ -1 +1 @@
1
- import{a}from"./chunk-WPMKZ7NQ.mjs";export{a as OtpInput};
1
+ import{useRenderElement as t}from"@jamsrui/hooks";const s=e=>{const{render:p,...r}=e;return t("div",{props:r})};export{s as OtpInput};
@@ -1 +1 @@
1
- var e=p=>{};export{e as useOTPInput};
1
+ const e=p=>{};export{e as useOTPInput};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/otp-input",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.2",
9
- "@jamsrui/core": "^0.0.2",
10
- "@jamsrui/utils": "^0.0.2"
8
+ "@jamsrui/core": "^0.0.3",
9
+ "@jamsrui/hooks": "^0.0.3",
10
+ "@jamsrui/utils": "^0.0.3"
11
11
  },
12
12
  "exports": {
13
13
  ".": {
@@ -1 +0,0 @@
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;
@@ -1 +0,0 @@
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;
@@ -1 +0,0 @@
1
- import{createConfigContext as p}from"@jamsrui/utils";var[o,n]=p({displayName:"OtpInputConfig"});export{o as a,n as b};
@@ -1 +0,0 @@
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};
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
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 DELETED
@@ -1 +0,0 @@
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;
@@ -1,19 +0,0 @@
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 };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkFJTXAXR2js = require('./chunk-FJTXAXR2.js');exports.OtpInputConfig = _chunkFJTXAXR2js.a; exports.useOtpInputConfig = _chunkFJTXAXR2js.b;
@@ -1,10 +0,0 @@
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 };
package/dist/otp-input.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSBKL7MWVjs = require('./chunk-SBKL7MWV.js');exports.OtpInput = _chunkSBKL7MWVjs.a;
package/dist/styles.d.ts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { }
package/dist/styles.js DELETED
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,7 +0,0 @@
1
- declare const useOTPInput: (props: useOTPInput.Props) => void;
2
- declare namespace useOTPInput {
3
- interface Props {
4
- }
5
- }
6
-
7
- export { useOTPInput };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var e=p=>{};exports.useOTPInput = e;