Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteca66a0

Browse files
authored
Merge pull requesthunghg255#1 from hunghg255/changeset-release/main
Version Packages
2 parents95ddb05 +4bc29c6 commiteca66a0

File tree

11 files changed

+95
-11
lines changed

11 files changed

+95
-11
lines changed

‎.changeset/angry-hotels-run.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/slimy-tigers-notice.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#reactjs-otp-input
2+
3+
##2.0.8
4+
5+
###Patch Changes
6+
7+
- 064ce6f: update ci
8+
- 95ddb05: update github actions

‎dist/cjs/index.d.ts‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
importReactfrom'react';
2+
interfaceIOtpInput{
3+
className?:string;
4+
containerStyle?:React.CSSProperties|string;
5+
disabledStyle?:React.CSSProperties|string;
6+
errorStyle?:React.CSSProperties|string;
7+
focusStyle?:React.CSSProperties|string;
8+
inputStyle?:React.CSSProperties|string;
9+
hasErrored?:boolean;
10+
isDisabled?:boolean;
11+
isInputNum?:boolean;
12+
isInputSecure?:boolean;
13+
numInputs:number;
14+
onChange:(otp:string)=>void;
15+
placeholder?:string;
16+
separator?:React.ReactNode|string;
17+
shouldAutoFocus?:boolean;
18+
value?:string;
19+
'data-testid'?:string;
20+
'data-cy'?:string;
21+
}
22+
exporttypeOtpInputHandle={
23+
focusInput:(index:number)=>void;
24+
};
25+
declareconstOtpInput:React.ForwardRefExoticComponent<IOtpInput&React.RefAttributes<OtpInputHandle>>;
26+
export{OtpInput};

‎dist/cjs/index.js‎

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/cjs/index.js.map‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/esm/index.d.ts‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
importReactfrom'react';
2+
interfaceIOtpInput{
3+
className?:string;
4+
containerStyle?:React.CSSProperties|string;
5+
disabledStyle?:React.CSSProperties|string;
6+
errorStyle?:React.CSSProperties|string;
7+
focusStyle?:React.CSSProperties|string;
8+
inputStyle?:React.CSSProperties|string;
9+
hasErrored?:boolean;
10+
isDisabled?:boolean;
11+
isInputNum?:boolean;
12+
isInputSecure?:boolean;
13+
numInputs:number;
14+
onChange:(otp:string)=>void;
15+
placeholder?:string;
16+
separator?:React.ReactNode|string;
17+
shouldAutoFocus?:boolean;
18+
value?:string;
19+
'data-testid'?:string;
20+
'data-cy'?:string;
21+
}
22+
exporttypeOtpInputHandle={
23+
focusInput:(index:number)=>void;
24+
};
25+
declareconstOtpInput:React.ForwardRefExoticComponent<IOtpInput&React.RefAttributes<OtpInputHandle>>;
26+
export{OtpInput};

‎dist/esm/index.js‎

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/esm/index.js.map‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/index.d.ts‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
importReactfrom'react';
2+
3+
interfaceIOtpInput{
4+
className?:string;
5+
containerStyle?:React.CSSProperties|string;
6+
disabledStyle?:React.CSSProperties|string;
7+
errorStyle?:React.CSSProperties|string;
8+
focusStyle?:React.CSSProperties|string;
9+
inputStyle?:React.CSSProperties|string;
10+
hasErrored?:boolean;
11+
isDisabled?:boolean;
12+
isInputNum?:boolean;
13+
isInputSecure?:boolean;
14+
numInputs:number;
15+
onChange:(otp:string)=>void;
16+
placeholder?:string;
17+
separator?:React.ReactNode|string;
18+
shouldAutoFocus?:boolean;
19+
value?:string;
20+
'data-testid'?:string;
21+
'data-cy'?:string;
22+
}
23+
typeOtpInputHandle={
24+
focusInput:(index:number)=>void;
25+
};
26+
declareconstOtpInput:React.ForwardRefExoticComponent<IOtpInput&React.RefAttributes<OtpInputHandle>>;
27+
28+
export{OtpInput,OtpInputHandle};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp