@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.
@@ -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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/react-blueprint",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "React UI component library for CampX applications",
5
5
  "author": "CampX",
6
6
  "license": "MIT",