@campxdev/react-blueprint 2.0.7 → 2.0.9
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/cjs/index.js +1 -2
- package/dist/cjs/types/src/components/Input/OtpInput/OtpInput.d.ts +9 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/src/components/Input/OtpInput/OtpInput.d.ts +9 -1
- package/dist/index.d.ts +8 -1
- package/package.json +1 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
1
2
|
interface OtpInputProps {
|
|
2
3
|
length: number;
|
|
3
4
|
onChangeOtp: (otp: string) => void;
|
|
5
|
+
containerSx?: SxProps;
|
|
6
|
+
inputSx?: SxProps;
|
|
7
|
+
label?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
error?: boolean;
|
|
11
|
+
helperText?: string;
|
|
4
12
|
}
|
|
5
|
-
export declare const OtpInput: ({ length, onChangeOtp }: OtpInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const OtpInput: ({ length, onChangeOtp, containerSx, inputSx, label, name, required, error, helperText, }: OtpInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
14
|
export type { OtpInputProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -824,8 +824,15 @@ declare const TimePicker: <TDate extends PickerValidDate, TEnableAccessibleField
|
|
|
824
824
|
interface OtpInputProps {
|
|
825
825
|
length: number;
|
|
826
826
|
onChangeOtp: (otp: string) => void;
|
|
827
|
+
containerSx?: SxProps;
|
|
828
|
+
inputSx?: SxProps;
|
|
829
|
+
label?: string;
|
|
830
|
+
name?: string;
|
|
831
|
+
required?: boolean;
|
|
832
|
+
error?: boolean;
|
|
833
|
+
helperText?: string;
|
|
827
834
|
}
|
|
828
|
-
declare const OtpInput: ({ length, onChangeOtp }: OtpInputProps) => react_jsx_runtime.JSX.Element;
|
|
835
|
+
declare const OtpInput: ({ length, onChangeOtp, containerSx, inputSx, label, name, required, error, helperText, }: OtpInputProps) => react_jsx_runtime.JSX.Element;
|
|
829
836
|
|
|
830
837
|
type AppHeaderProps = {
|
|
831
838
|
actions?: ReactNode[];
|