@goodhood-web/nebenan-base 3.0.0-development.68 → 3.0.0-development.69

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.
@@ -0,0 +1,5 @@
1
+ import { UseControllerProps } from 'react-hook-form';
2
+ import { CheckboxInputProps } from '../../../../../ui/src/lib/Atoms/Inputs/CheckboxInput/CheckboxInput.types';
3
+ export type FormCheckboxInputProps = UseControllerProps & Partial<CheckboxInputProps>;
4
+ export declare const FormCheckboxInput: ({ checked, id, label, name, rules, }: FormCheckboxInputProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FormCheckboxInput;
@@ -0,0 +1,5 @@
1
+ import { UseControllerProps } from 'react-hook-form';
2
+ import { InputFieldSpecialProps } from '../../../../../ui/src/lib/Atoms/Inputs/InputFieldSpecial/InputFieldSpecial.types';
3
+ export type FormTextInputProps = UseControllerProps & Partial<InputFieldSpecialProps>;
4
+ export declare const FormInputFieldSpecial: ({ ariaLabel, id, maxDigits, name, placeholder, rules, style, }: FormTextInputProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FormInputFieldSpecial;
@@ -0,0 +1,5 @@
1
+ import { UseControllerProps } from 'react-hook-form';
2
+ import { RadioButtonTypes } from '../../../../../ui/src/lib/Atoms/Inputs/RadioButton/RadioButton.types';
3
+ export type FormRadioButtonProps = UseControllerProps & Partial<RadioButtonTypes>;
4
+ export declare const FormRadioButton: ({ id, label, name, rules, size, value, }: FormRadioButtonProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FormRadioButton;
@@ -0,0 +1,5 @@
1
+ import { UseControllerProps } from 'react-hook-form';
2
+ import { RadioButtonClusterTypes } from '../../../../../ui/src/lib/Molecules/Selections/RadioButtonCluster/RadioButtonCluster.types';
3
+ export type FormRadioButtonClusterProps = UseControllerProps & Partial<RadioButtonClusterTypes>;
4
+ export declare const FormRadioButtonCluster: ({ children, disabled, name, rules, }: FormRadioButtonClusterProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FormRadioButtonCluster;
@@ -0,0 +1,5 @@
1
+ import { UseControllerProps } from 'react-hook-form';
2
+ import { TextAreaInputProps } from '../../../../../ui/src/lib/Atoms/Inputs/TextAreaInput/TextAreaInput.types';
3
+ export type FormTextInputProps = UseControllerProps & Partial<TextAreaInputProps>;
4
+ export declare const FormTextAreaInput: ({ ariaDescribedby, attachment, charLimit, colorScheme, id, label, name, rules, size, }: FormTextInputProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FormTextAreaInput;
@@ -1,4 +1,4 @@
1
1
  import { UseControllerProps } from 'react-hook-form';
2
2
  import { TextInputProps } from '../../../../../ui/src/lib/Atoms/Inputs/TextInput/TextInput.types';
3
3
  export type FormTextInputProps = UseControllerProps & Partial<TextInputProps>;
4
- export default function FormTextInput({ colorScheme, name, rules, size, }: FormTextInputProps): import("react/jsx-runtime").JSX.Element;
4
+ export default function FormTextInput({ colorScheme, id, label, name, rules, size, value, }: FormTextInputProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { UseControllerProps } from 'react-hook-form';
2
+ import { ToggleInputProps } from '../../../../../ui/src/lib/Molecules/Selections/ToggleInput/ToggleInput.types';
3
+ export type FormToggleInputProps = UseControllerProps & Partial<ToggleInputProps>;
4
+ export declare const FormToggleInput: ({ checked, label, name, rules, }: FormToggleInputProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FormToggleInput;
@@ -1,3 +1,8 @@
1
- import { default as FormSubmitButton } from './FormSubmitButton';
1
+ import { default as FormCheckboxInput } from './FormCheckboxInput';
2
+ import { default as FormInputFieldSpecial } from './FormInputFieldSpecial';
3
+ import { default as FormRadioButton } from './FormRadioButton';
4
+ import { default as FormRadioButtonCluster } from './FormRadioButtonCluster';
5
+ import { default as FormTextAreaInput } from './FormTextAreaInput';
2
6
  import { default as FormTextInput } from './FormTextInput';
3
- export { FormTextInput, FormSubmitButton };
7
+ import { default as FormToggleInput } from './FormToggleInput';
8
+ export { FormCheckboxInput, FormRadioButton, FormRadioButtonCluster, FormTextInput, FormTextAreaInput, FormToggleInput, FormInputFieldSpecial, };
@@ -1,3 +1,3 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { FormProps } from './Form.types';
3
- export default function Form({ children, initialValues, onSubmit, validationSchema, }: PropsWithChildren<FormProps>): import("react/jsx-runtime").JSX.Element;
3
+ export default function Form({ children, className, initialValues, onSubmit, validationSchema, }: PropsWithChildren<FormProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { ZodType } from 'zod';
2
2
  export type FormProps = {
3
+ className?: string;
3
4
  initialValues?: object;
4
5
  onSubmit: (data: object) => void;
5
6
  validationSchema?: ZodType<FormData>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "3.0.0-development.68",
3
+ "version": "3.0.0-development.69",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",
@@ -1,2 +0,0 @@
1
- import { ButtonPrimaryProps } from '../../../../../ui/src/lib/Atoms/Buttons/ButtonPrimary/ButtonPrimary.types';
2
- export default function FormSubmitButton(props: ButtonPrimaryProps): import("react/jsx-runtime").JSX.Element;