Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 27, 2023
1 parent 95ddb05 commit 50321f3
Show file tree
Hide file tree
Showing 11 changed files with 95 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .changeset/angry-hotels-run.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slimy-tigers-notice.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# reactjs-otp-input

## 2.0.8

### Patch Changes

- 064ce6f: update ci
- 95ddb05: update github actions
26 changes: 26 additions & 0 deletions dist/cjs/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from 'react';
interface IOtpInput {
className?: string;
containerStyle?: React.CSSProperties | string;
disabledStyle?: React.CSSProperties | string;
errorStyle?: React.CSSProperties | string;
focusStyle?: React.CSSProperties | string;
inputStyle?: React.CSSProperties | string;
hasErrored?: boolean;
isDisabled?: boolean;
isInputNum?: boolean;
isInputSecure?: boolean;
numInputs: number;
onChange: (otp: string) => void;
placeholder?: string;
separator?: React.ReactNode | string;
shouldAutoFocus?: boolean;
value?: string;
'data-testid'?: string;
'data-cy'?: string;
}
export type OtpInputHandle = {
focusInput: (index: number) => void;
};
declare const OtpInput: React.ForwardRefExoticComponent<IOtpInput & React.RefAttributes<OtpInputHandle>>;
export { OtpInput };
2 changes: 2 additions & 0 deletions dist/cjs/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/cjs/index.js.map

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions dist/esm/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from 'react';
interface IOtpInput {
className?: string;
containerStyle?: React.CSSProperties | string;
disabledStyle?: React.CSSProperties | string;
errorStyle?: React.CSSProperties | string;
focusStyle?: React.CSSProperties | string;
inputStyle?: React.CSSProperties | string;
hasErrored?: boolean;
isDisabled?: boolean;
isInputNum?: boolean;
isInputSecure?: boolean;
numInputs: number;
onChange: (otp: string) => void;
placeholder?: string;
separator?: React.ReactNode | string;
shouldAutoFocus?: boolean;
value?: string;
'data-testid'?: string;
'data-cy'?: string;
}
export type OtpInputHandle = {
focusInput: (index: number) => void;
};
declare const OtpInput: React.ForwardRefExoticComponent<IOtpInput & React.RefAttributes<OtpInputHandle>>;
export { OtpInput };
2 changes: 2 additions & 0 deletions dist/esm/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/esm/index.js.map

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React from 'react';

interface IOtpInput {
className?: string;
containerStyle?: React.CSSProperties | string;
disabledStyle?: React.CSSProperties | string;
errorStyle?: React.CSSProperties | string;
focusStyle?: React.CSSProperties | string;
inputStyle?: React.CSSProperties | string;
hasErrored?: boolean;
isDisabled?: boolean;
isInputNum?: boolean;
isInputSecure?: boolean;
numInputs: number;
onChange: (otp: string) => void;
placeholder?: string;
separator?: React.ReactNode | string;
shouldAutoFocus?: boolean;
value?: string;
'data-testid'?: string;
'data-cy'?: string;
}
type OtpInputHandle = {
focusInput: (index: number) => void;
};
declare const OtpInput: React.ForwardRefExoticComponent<IOtpInput & React.RefAttributes<OtpInputHandle>>;

export { OtpInput, OtpInputHandle };
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactjs-otp-input",
"version": "2.0.7",
"version": "2.0.8",
"description": "A fully customizable, one-time password input component for the web built with React",
"scripts": {
"build": "rollup -c",
Expand Down

0 comments on commit 50321f3

Please sign in to comment.