@goodhood-web/nebenan-base 3.5.0-development.2 → 3.5.0-development.21
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/index.d.ts +6 -4
- package/index.js +136 -131
- package/index.mjs +69799 -68836
- package/lib/Authentication/Authentication.types.d.ts +12 -0
- package/lib/Authentication/LoginForm/LoginForm.d.ts +3 -0
- package/lib/Authentication/LoginForm/LoginForm.types.d.ts +8 -0
- package/lib/Authentication/LoginForm/LoginFormFields.d.ts +3 -0
- package/lib/Authentication/LoginForm/network.d.ts +6 -0
- package/lib/Authentication/PasswordForgotten/PasswordForgotten.d.ts +2 -0
- package/lib/Authentication/PasswordForgotten/PasswordForgotten.types.d.ts +4 -0
- package/lib/Authentication/PasswordForgotten/PasswordForgottenFormFields.d.ts +3 -0
- package/lib/Authentication/PasswordForgotten/network.d.ts +3 -0
- package/lib/Authentication/PasswordReset/PasswordReset.d.ts +6 -0
- package/lib/Authentication/PasswordReset/PasswordReset.types.d.ts +6 -0
- package/lib/Authentication/PasswordReset/PasswordResetFormFields.d.ts +3 -0
- package/lib/Authentication/PasswordReset/components/PasswordResetInstructions/PasswordResetInstructions.d.ts +4 -0
- package/lib/Authentication/PasswordReset/network.d.ts +3 -0
- package/lib/Authentication/PasswordReset/utils.d.ts +5 -0
- package/lib/{Registration/RegistrationFieldMappings/RegistrationFieldMappings.d.ts → Authentication/Registration/FieldMappings/FieldMappings.d.ts} +1 -1
- package/lib/Authentication/Registration/Register/Register.d.ts +3 -0
- package/lib/Authentication/Registration/Register/Register.types.d.ts +8 -0
- package/lib/Authentication/Registration/Register/components/InviteCard/InviteCard.d.ts +3 -0
- package/lib/Authentication/Registration/Register/components/InviteCard/InviteCard.types.d.ts +6 -0
- package/lib/Authentication/Registration/Registration.d.ts +3 -0
- package/lib/Authentication/Registration/Registration.types.d.ts +25 -0
- package/lib/Authentication/Registration/RegistrationCard/RegistrationCard.d.ts +3 -0
- package/lib/Authentication/Registration/RegistrationCard/RegistrationCard.types.d.ts +9 -0
- package/lib/{Registration → Authentication/Registration}/RegistrationForm/FieldMappings/FieldMappings.d.ts +1 -1
- package/lib/Authentication/Registration/RegistrationForm/RegistrationForm.d.ts +3 -0
- package/lib/Authentication/Registration/RegistrationForm/RegistrationForm.types.d.ts +8 -0
- package/lib/Authentication/Registration/RegistrationForm/Steps/Address.d.ts +3 -0
- package/lib/{Registration → Authentication/Registration}/RegistrationForm/Steps/Email.d.ts +2 -2
- package/lib/{Registration → Authentication/Registration}/RegistrationForm/Steps/Name.d.ts +1 -1
- package/lib/Authentication/Registration/RegistrationForm/network.d.ts +6 -0
- package/lib/Authentication/Registration/RegistrationForm/utils.d.ts +3 -0
- package/lib/{Registration → Authentication/Registration}/VerificationForm/FieldMappings/FieldMappings.d.ts +1 -1
- package/lib/{Registration → Authentication/Registration}/VerificationForm/Steps/Gps.d.ts +2 -2
- package/lib/{Registration → Authentication/Registration}/VerificationForm/Steps/InviteCode.d.ts +2 -2
- package/lib/Authentication/Registration/VerificationForm/Steps/Methods.d.ts +3 -0
- package/lib/{Registration → Authentication/Registration}/VerificationForm/Steps/PostalCode.d.ts +2 -2
- package/lib/{Registration → Authentication/Registration}/VerificationForm/Steps/PostalCodeRequested.d.ts +1 -1
- package/lib/{Registration → Authentication/Registration}/VerificationForm/Steps/Sms.d.ts +2 -2
- package/lib/{Registration → Authentication/Registration}/VerificationForm/Steps/SmsCode.d.ts +2 -2
- package/lib/Authentication/Registration/VerificationForm/VerificationForm.d.ts +3 -0
- package/lib/{Registration → Authentication/Registration}/VerificationForm/VerificationForm.types.d.ts +2 -2
- package/lib/{Registration → Authentication/Registration}/VerificationForm/network.d.ts +4 -4
- package/lib/{Registration → Authentication/Registration}/VerificationForm/utils.d.ts +2 -2
- package/lib/Authentication/Registration/utils.d.ts +8 -0
- package/lib/Authentication/components/AuthenticationCard/AuthenticationCard.d.ts +3 -0
- package/lib/Authentication/components/AuthenticationCard/AuthenticationCard.types.d.ts +12 -0
- package/lib/Authentication/components/DynamicScreen/DynamicScreen.d.ts +3 -0
- package/lib/Authentication/components/DynamicScreen/DynamicScreen.types.d.ts +26 -0
- package/lib/Authentication/components/DynamicScreen/utils.d.ts +2 -0
- package/lib/Authentication/components/EmailConfirmation/EmailConfirmation.d.ts +3 -0
- package/lib/Authentication/components/EmailConfirmation/EmailConfirmation.types.d.ts +5 -0
- package/lib/Authentication/components/ScreenCard/ScreenCard.d.ts +3 -0
- package/lib/Authentication/components/ScreenCard/ScreenCard.types.d.ts +16 -0
- package/lib/Authentication/components/ScreenLoading/ScreenLoading.d.ts +2 -0
- package/lib/Authentication/components/SuccessScreen/SuccessScreen.d.ts +4 -0
- package/lib/Authentication/components/index.d.ts +6 -0
- package/lib/Authentication/network.d.ts +3 -0
- package/lib/Feed/FeedItem/Marketplace/MarketplaceItemCardless/MarketplaceItemCardless.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceItemCardless/MarketplaceItemCardless.types.d.ts +3 -0
- package/lib/Feed/GridFeed/GridFeed.d.ts +1 -1
- package/lib/Feed/GridFeed/GridFeed.types.d.ts +4 -0
- package/lib/Feed/GridFeed/GridFeedAggregator/GridFeedAggregator.d.ts +1 -1
- package/lib/Feed/GridFeed/GridFeedAggregator/GridFeedAggregator.types.d.ts +2 -0
- package/lib/Feed/GridFeed/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.d.ts +1 -1
- package/lib/Feed/GridFeed/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.types.d.ts +2 -0
- package/lib/Feed/GridFeed/GridFeedDynamicRenderer/GridFeedDynamicRenderer.d.ts +1 -1
- package/lib/Feed/GridFeed/GridFeedDynamicRenderer/GridFeedDynamicRenderer.types.d.ts +1 -1
- package/lib/Forms/Fields/FormButton/FormButtonProps.d.ts +9 -5
- package/lib/Forms/Fields/FormSelectInput.d.ts +1 -0
- package/lib/Forms/Fields/NameAbbreviation/NameAbbreviation.d.ts +1 -1
- package/lib/Forms/Fields/PasswordField/PasswordField.d.ts +1 -1
- package/lib/Forms/Form/Form.types.d.ts +1 -1
- package/lib/Forms/Wizard/Wizard.types.d.ts +1 -1
- package/lib/utils/client.d.ts +2 -0
- package/lib/utils/hooks.d.ts +2 -2
- package/lib/utils/index.d.ts +4 -3
- package/lib/utils/server.d.ts +2 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/AuthenticationForm/AuthenticationForm.d.ts +0 -3
- package/lib/AuthenticationForm/AuthenticationForm.types.d.ts +0 -13
- package/lib/Register/Register.d.ts +0 -3
- package/lib/Register/Register.types.d.ts +0 -4
- package/lib/Registration/Registration.d.ts +0 -3
- package/lib/Registration/Registration.store.d.ts +0 -4
- package/lib/Registration/Registration.types.d.ts +0 -17
- package/lib/Registration/RegistrationCard/RegistrationCard.d.ts +0 -9
- package/lib/Registration/RegistrationForm/RegistrationForm.d.ts +0 -3
- package/lib/Registration/RegistrationForm/RegistrationForm.types.d.ts +0 -5
- package/lib/Registration/RegistrationForm/Steps/Address.d.ts +0 -2
- package/lib/Registration/RegistrationForm/network.d.ts +0 -4
- package/lib/Registration/VerificationForm/Steps/Methods.d.ts +0 -3
- package/lib/Registration/VerificationForm/VerificationForm.d.ts +0 -3
- package/lib/Registration/VerificationForm/data.d.ts +0 -553
- package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.d.ts +0 -3
- package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.types.d.ts +0 -3
- package/lib/Registration/components/MandatoryEmailConfirmation/utils.d.ts +0 -4
- package/lib/Registration/components/SuccessScreen/SuccessScreen.d.ts +0 -2
- package/lib/Registration/utils.d.ts +0 -2
- /package/lib/{Register → Authentication/Registration/Register}/components/PrivacyInfoModal/PrivacyInfoModal.d.ts +0 -0
- /package/lib/{Register → Authentication/Registration/Register}/components/PrivacyInfoModal/PrivacyInfoModal.types.d.ts +0 -0
- /package/lib/{Registration → Authentication/Registration}/RegistrationForm/Steps/index.d.ts +0 -0
- /package/lib/{Registration → Authentication/Registration}/VerificationForm/Steps/index.d.ts +0 -0
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { DefaultValues, FieldValues, Mode, UseFormReturn } from 'react-hook-form';
|
|
3
3
|
import { ZodType } from 'zod';
|
|
4
4
|
import { TGridSpacing } from '../../Grids/Grid/Grid.types';
|
|
5
|
-
export type OnSubmitFunction<FormData extends FieldValues> = (arg: OnFormSubmitType<FormData
|
|
5
|
+
export type OnSubmitFunction<FormData extends FieldValues> = (arg: OnFormSubmitType<FormData>, submitter?: string) => Promise<boolean | undefined | string>;
|
|
6
6
|
export type OnFormSubmitType<FormData extends FieldValues> = {
|
|
7
7
|
data: FormData;
|
|
8
8
|
methods?: UseFormReturn<FormData>;
|
|
@@ -60,7 +60,7 @@ export type ToggleField = StepField & FormToggleInputProps & {
|
|
|
60
60
|
type: 'toggle';
|
|
61
61
|
};
|
|
62
62
|
export type ButtonField = StepField & {
|
|
63
|
-
fieldConfig:
|
|
63
|
+
fieldConfig: FormButtonProps;
|
|
64
64
|
type: 'button';
|
|
65
65
|
};
|
|
66
66
|
export type PasswordField = StepField & FormPasswordFieldProps & {
|
package/lib/utils/hooks.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
type EventType = 'keydown' | 'keyup' | 'keypress';
|
|
2
|
-
declare
|
|
3
|
-
export
|
|
2
|
+
export declare const useKeyEvent: (targetKeys: string | string[], callback: (event: KeyboardEvent) => void, eventType?: EventType) => void;
|
|
3
|
+
export {};
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export * from './client';
|
|
2
|
+
export * from './server';
|
|
3
|
+
export * from './hooks';
|
|
4
|
+
export * from './breakpoints';
|