@kroo-web/design-system 1.32.1 → 1.34.0

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.
@@ -5,24 +5,3 @@ declare const _default: Meta<typeof PinInput>;
5
5
  export default _default;
6
6
  type Story = StoryObj<typeof PinInput>;
7
7
  export declare const GeneralUsage: Story;
8
- export declare const Password: {
9
- args: {
10
- isPassword: boolean;
11
- name: string;
12
- };
13
- };
14
- export declare const Numeric: {
15
- args: {
16
- isNumeric: boolean;
17
- name: string;
18
- };
19
- };
20
- export declare const OTP: {
21
- args: {
22
- isOTP: boolean;
23
- name: string;
24
- };
25
- };
26
- export declare const NewOTPInput: {
27
- render: () => import("react/jsx-runtime").JSX.Element;
28
- };
@@ -1,17 +1,3 @@
1
1
  import { OTPInputProps } from 'input-otp';
2
- import { FieldValues, Path } from 'react-hook-form';
3
2
 
4
- export interface TPinInputProps<T extends FieldValues> {
5
- isNumeric?: boolean;
6
- isOTP?: boolean;
7
- isPassword?: boolean;
8
- label: string;
9
- length: number;
10
- name: Path<T>;
11
- }
12
- /**
13
- * @deprecated This component is deprecated.
14
- * Please use the OTPInput component instead.
15
- */
16
- export declare const PinInput: <T extends FieldValues>(props: TPinInputProps<T>) => import("react/jsx-runtime").JSX.Element;
17
- export declare const OTPInput: (props: Pick<OTPInputProps, "inputMode" | "onChange" | "onComplete" | "value">) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const PinInput: (props: Pick<OTPInputProps, "inputMode" | "onChange" | "onComplete" | "value">) => import("react/jsx-runtime").JSX.Element;