@goodhood-web/nebenan-base 3.4.0-next.1 → 3.5.0-development.1

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.
Files changed (138) hide show
  1. package/index.d.ts +5 -4
  2. package/index.js +80 -91
  3. package/index.mjs +24097 -20914
  4. package/lib/ComplaintModal/ComplaintModal.types.d.ts +1 -1
  5. package/lib/DesktopLayoutTwoColumn/DesktopLayoutTwoColumn.types.d.ts +4 -1
  6. package/lib/Feed/FeedItem/Marketplace/InteractiveElements/InteractiveCardHeader.d.ts +1 -1
  7. package/lib/Feed/FeedItem/Marketplace/MarketplaceActions/MarketplaceActions.types.d.ts +1 -1
  8. package/lib/Feed/FeedItem/Marketplace/MarketplaceActions/components/BuyerActions/BuyerActions.d.ts +1 -1
  9. package/lib/Feed/FeedItem/Marketplace/MarketplaceBody/MarketplaceBody.types.d.ts +1 -1
  10. package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.types.d.ts +1 -1
  11. package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/components/CardAggregator/CardAggregator.d.ts +1 -1
  12. package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/ComplaintModalComponent/ComplaintModalComponent.d.ts +1 -1
  13. package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/InteractivePostInfo/utils.d.ts +1 -1
  14. package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/MarketplaceMoreOptions.types.d.ts +1 -1
  15. package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.d.ts +3 -0
  16. package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.types.d.ts +13 -0
  17. package/lib/Feed/FeedItem/Reactions/PostReactions/utils.d.ts +8 -0
  18. package/lib/Feed/FeedItem/Reactions/ReplyReactions/Like/Like.d.ts +3 -0
  19. package/lib/Feed/FeedItem/Reactions/ReplyReactions/Like/Like.types.d.ts +21 -0
  20. package/lib/Feed/FeedItem/Reactions/ReplyReactions/Like/ReactionLabel/ReactionLabel.d.ts +7 -0
  21. package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.d.ts +3 -0
  22. package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.types.d.ts +16 -0
  23. package/lib/Feed/FeedItem/utils.d.ts +2 -2
  24. package/lib/Feed/GridFeed/GridFeed.d.ts +3 -0
  25. package/lib/Feed/GridFeed/GridFeed.types.d.ts +33 -0
  26. package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/GridFeedAggregator.types.d.ts +2 -2
  27. package/lib/Feed/GridFeed/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.types.d.ts +6 -0
  28. package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/components/FeedEmptyStateCard/FeedEmptyStateCard.types.d.ts +1 -1
  29. package/lib/Feed/GridFeed/GridFeedDynamicRenderer/GridFeedDynamicRenderer.d.ts +3 -0
  30. package/lib/Feed/GridFeed/GridFeedDynamicRenderer/GridFeedDynamicRenderer.types.d.ts +4 -0
  31. package/lib/Feed/GridFeed/utils.d.ts +7 -0
  32. package/lib/Feed/utils.d.ts +1 -1
  33. package/lib/Forms/DynamicForm/DynamicForm.d.ts +1 -1
  34. package/lib/Forms/Fields/CodeField/CodeField.d.ts +3 -0
  35. package/lib/Forms/Fields/CodeField/CodeField.types.d.ts +9 -0
  36. package/lib/Forms/Fields/FormButton/FormButtonProps.d.ts +16 -0
  37. package/lib/Forms/Fields/FormCodeField.d.ts +5 -0
  38. package/lib/Forms/Fields/FormContentCreatorTile.d.ts +6 -0
  39. package/lib/Forms/Fields/FormGenderSelector.d.ts +5 -0
  40. package/lib/Forms/Fields/FormHeader/FormHeader.d.ts +3 -0
  41. package/lib/Forms/Fields/FormHeader/FormHeader.types.d.ts +10 -0
  42. package/lib/Forms/Fields/FormHeader/components/PhoneNumber.d.ts +4 -0
  43. package/lib/Forms/Fields/FormNameAbbreviation.d.ts +7 -0
  44. package/lib/Forms/Fields/FormPasswordField.d.ts +5 -0
  45. package/lib/Forms/Fields/FormPhoneInput.d.ts +5 -0
  46. package/lib/Forms/Fields/FormSelectInput.d.ts +12 -0
  47. package/lib/Forms/Fields/FormTextInput.d.ts +1 -1
  48. package/lib/Forms/Fields/GenderSelector/GenderSelector.d.ts +3 -0
  49. package/lib/Forms/Fields/GenderSelector/GenderSelector.types.d.ts +19 -0
  50. package/lib/Forms/Fields/GenderSelector/GenderSelector.utils.d.ts +4 -0
  51. package/lib/Forms/Fields/NameAbbreviation/NameAbbreviation.d.ts +3 -0
  52. package/lib/Forms/Fields/NameAbbreviation/NameAbbreviation.types.d.ts +11 -0
  53. package/lib/Forms/Fields/PasswordField/PasswordField.d.ts +3 -0
  54. package/lib/Forms/Fields/PasswordField/PasswordField.types.d.ts +16 -0
  55. package/lib/Forms/Fields/PasswordField/utils.d.ts +1 -0
  56. package/lib/Forms/Fields/PhoneInput/PhoneInput.d.ts +3 -0
  57. package/lib/Forms/Fields/PhoneInput/PhoneInput.types.d.ts +16 -0
  58. package/lib/Forms/Fields/PhoneInput/util.d.ts +153 -0
  59. package/lib/Forms/Fields/SelectInput/SelectInput.d.ts +3 -0
  60. package/lib/Forms/Fields/SelectInput/SelectInput.types.d.ts +31 -0
  61. package/lib/Forms/Fields/SelectInput/components/Input/Input.d.ts +3 -0
  62. package/lib/Forms/Fields/SelectInput/components/Input/Input.type.d.ts +5 -0
  63. package/lib/Forms/Fields/SelectInput/components/OptionsList/OptionsList.d.ts +3 -0
  64. package/lib/Forms/Fields/SelectInput/components/OptionsList/OptionsList.types.d.ts +11 -0
  65. package/lib/Forms/Fields/SelectInput/utils.d.ts +4 -0
  66. package/lib/Forms/Fields/index.d.ts +3 -1
  67. package/lib/Forms/Fields/utils.d.ts +1 -0
  68. package/lib/Forms/Form/Form.d.ts +1 -1
  69. package/lib/Forms/Form/Form.types.d.ts +12 -3
  70. package/lib/Forms/Form/utils/parseApiErrors.d.ts +5 -0
  71. package/lib/Forms/Form/utils/utils.d.ts +4 -0
  72. package/lib/Forms/Form.store.d.ts +7 -0
  73. package/lib/Forms/GridForm/GridForm.d.ts +1 -1
  74. package/lib/Forms/Wizard/Wizard.d.ts +1 -1
  75. package/lib/Forms/Wizard/Wizard.types.d.ts +70 -4
  76. package/lib/Forms/Wizard/WizardContext.d.ts +8 -1
  77. package/lib/Forms/Wizard/useWizard.d.ts +6 -1
  78. package/lib/Grids/Grid/Grid.types.d.ts +6 -5
  79. package/lib/Grids/Grid/GridItem/GridItem.d.ts +1 -1
  80. package/lib/Grids/Grid/GridItem/GridItem.types.d.ts +1 -0
  81. package/lib/MobileLayout/MobileLayout.types.d.ts +1 -0
  82. package/lib/Reactions/ReactionSelection/ReactionSelection.types.d.ts +1 -1
  83. package/lib/Reactions/ReactionStack/ReactionStack.types.d.ts +3 -7
  84. package/lib/Reactions/ReactionStack/components/ReactionItem/ReactionItem.types.d.ts +5 -4
  85. package/lib/Reactions/ReactionStack/components/ReactionPill/ReactionPill.d.ts +2 -2
  86. package/lib/Reactions/ReactionStack/components/ReactionPill/ReactionPill.type.d.ts +5 -2
  87. package/lib/Reactions/ReactionTabList/ReactionTabList.types.d.ts +1 -1
  88. package/lib/Reactions/utils.d.ts +1 -1
  89. package/lib/Register/Register.d.ts +3 -0
  90. package/lib/Register/Register.types.d.ts +4 -0
  91. package/lib/Register/components/PrivacyInfoModal/PrivacyInfoModal.d.ts +3 -0
  92. package/lib/Register/components/PrivacyInfoModal/PrivacyInfoModal.types.d.ts +3 -0
  93. package/lib/Registration/Registration.d.ts +3 -0
  94. package/lib/Registration/Registration.store.d.ts +4 -0
  95. package/lib/Registration/Registration.types.d.ts +17 -0
  96. package/lib/Registration/RegistrationCard/RegistrationCard.d.ts +9 -0
  97. package/lib/Registration/RegistrationFieldMappings/RegistrationFieldMappings.d.ts +3 -0
  98. package/lib/Registration/RegistrationForm/FieldMappings/FieldMappings.d.ts +3 -0
  99. package/lib/Registration/RegistrationForm/RegistrationForm.d.ts +3 -0
  100. package/lib/Registration/RegistrationForm/RegistrationForm.types.d.ts +5 -0
  101. package/lib/Registration/RegistrationForm/Steps/Address.d.ts +2 -0
  102. package/lib/Registration/RegistrationForm/Steps/Email.d.ts +3 -0
  103. package/lib/Registration/RegistrationForm/Steps/Name.d.ts +2 -0
  104. package/lib/Registration/RegistrationForm/Steps/index.d.ts +4 -0
  105. package/lib/Registration/RegistrationForm/network.d.ts +4 -0
  106. package/lib/Registration/VerificationForm/FieldMappings/FieldMappings.d.ts +3 -0
  107. package/lib/Registration/VerificationForm/Steps/Gps.d.ts +3 -0
  108. package/lib/Registration/VerificationForm/Steps/InviteCode.d.ts +3 -0
  109. package/lib/Registration/VerificationForm/Steps/Methods.d.ts +3 -0
  110. package/lib/Registration/VerificationForm/Steps/PostalCode.d.ts +3 -0
  111. package/lib/Registration/VerificationForm/Steps/PostalCodeRequested.d.ts +2 -0
  112. package/lib/Registration/VerificationForm/Steps/Sms.d.ts +3 -0
  113. package/lib/Registration/VerificationForm/Steps/SmsCode.d.ts +3 -0
  114. package/lib/Registration/VerificationForm/Steps/index.d.ts +7 -0
  115. package/lib/Registration/VerificationForm/VerificationForm.d.ts +3 -0
  116. package/lib/Registration/VerificationForm/VerificationForm.types.d.ts +10 -0
  117. package/lib/Registration/VerificationForm/data.d.ts +553 -0
  118. package/lib/Registration/VerificationForm/network.d.ts +7 -0
  119. package/lib/Registration/VerificationForm/utils.d.ts +67 -0
  120. package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.d.ts +3 -0
  121. package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.types.d.ts +3 -0
  122. package/lib/Registration/components/MandatoryEmailConfirmation/utils.d.ts +4 -0
  123. package/lib/Registration/components/SuccessScreen/SuccessScreen.d.ts +2 -0
  124. package/lib/Registration/utils.d.ts +2 -0
  125. package/lib/ResponsiveModal/ResponsiveModal.d.ts +1 -1
  126. package/lib/utils/index.d.ts +1 -0
  127. package/package.json +1 -1
  128. package/style.css +1 -1
  129. package/lib/Feed/Aggregators/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.types.d.ts +0 -5
  130. package/lib/Feed/Feed/Feed.d.ts +0 -3
  131. package/lib/Feed/Feed/Feed.types.d.ts +0 -40
  132. package/lib/Feed/Feed/utils.d.ts +0 -26
  133. package/lib/Feed/FeedItem/Post/Post.d.ts +0 -6
  134. /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/GridFeedAggregator.d.ts +0 -0
  135. /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.d.ts +0 -0
  136. /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/components/FeedEmptyStateCard/FeedEmptyStateCard.d.ts +0 -0
  137. /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/components/FeedEmptyStateCard/utils.d.ts +0 -0
  138. /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/utils.d.ts +0 -0
@@ -0,0 +1,67 @@
1
+ import { VerificationMethods } from '../../../../../api/src/lib/core_v2';
2
+ import { FormField } from '../../Forms';
3
+ export declare const VERIFICATION_POSSIBLE = 0;
4
+ export declare const VERIFICATION_PENDING = 1;
5
+ export declare const VERIFICATION_KEY_CODE = "code";
6
+ export declare const VERIFICATION_KEY_POST = "postcard";
7
+ export declare const VERIFICATION_KEY_GEO = "gps";
8
+ export declare const VERIFICATION_KEY_SMS = "sms";
9
+ export declare const VERIFICATION_METHODS: string[];
10
+ export declare const VERIFICATION_METHODS_FIELDS: {
11
+ code: {
12
+ fieldConfig: {
13
+ description: string;
14
+ headline: string;
15
+ sticker: {
16
+ color: string;
17
+ icon: string;
18
+ size: string;
19
+ };
20
+ };
21
+ id: string;
22
+ type: string;
23
+ };
24
+ gps: {
25
+ fieldConfig: {
26
+ description: string;
27
+ headline: string;
28
+ sticker: {
29
+ color: string;
30
+ icon: string;
31
+ size: string;
32
+ };
33
+ };
34
+ id: string;
35
+ type: string;
36
+ };
37
+ postcard: {
38
+ fieldConfig: {
39
+ description: string;
40
+ headline: string;
41
+ sticker: {
42
+ color: string;
43
+ icon: string;
44
+ size: string;
45
+ };
46
+ };
47
+ id: string;
48
+ type: string;
49
+ };
50
+ sms: {
51
+ fieldConfig: {
52
+ description: string;
53
+ headline: string;
54
+ sticker: {
55
+ color: string;
56
+ icon: string;
57
+ size: string;
58
+ };
59
+ };
60
+ id: string;
61
+ type: string;
62
+ };
63
+ };
64
+ export declare const getVerificationMethods: (verificationMethods: VerificationMethods) => FormField[];
65
+ export declare const isPostcardRequested: (status: {
66
+ is_postcard_verification_pending: boolean;
67
+ }) => boolean;
@@ -0,0 +1,3 @@
1
+ import { MandatoryEmailConfirmationProps } from './MandatoryEmailConfirmation.types';
2
+ declare const MandatoryEmailConfirmation: ({ showSuccessTimer, }: MandatoryEmailConfirmationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MandatoryEmailConfirmation;
@@ -0,0 +1,3 @@
1
+ export interface MandatoryEmailConfirmationProps {
2
+ showSuccessTimer?: number;
3
+ }
@@ -0,0 +1,4 @@
1
+ import { PrimitiveAtom } from 'jotai';
2
+ import { Data } from '../../../Forms/Form/Form.types';
3
+ export declare const getEmail: (atom: PrimitiveAtom<string>) => string;
4
+ export declare const isReloaded: (atom: PrimitiveAtom<Data>) => boolean;
@@ -0,0 +1,2 @@
1
+ declare const SuccessScreen: () => import("react/jsx-runtime").JSX.Element;
2
+ export default SuccessScreen;
@@ -0,0 +1,2 @@
1
+ import { FormErrorMessageObject } from '../Forms/Form/utils/parseApiErrors';
2
+ export declare const handleErrorMassage: (error: unknown, setFormError: (error: string | null) => void, setFormFieldError?: (errorMassage: FormErrorMessageObject) => void, identifier?: string) => boolean;
@@ -1,3 +1,3 @@
1
1
  import { ResponsiveModalProps } from './ResponsiveModal.types';
2
- declare const ResponsiveModal: ({ content, footer, handleClose, open, title, }: ResponsiveModalProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ResponsiveModal: ({ cancelText, content, footer, handleClose, open, title, }: ResponsiveModalProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ResponsiveModal;
@@ -1,2 +1,3 @@
1
1
  export declare const isMobile: (mobileScreenSize?: number) => boolean;
2
2
  export declare const useIsBreakpointMatch: (tabletScreenBreakpoint?: number) => boolean;
3
+ export declare const getLang: <T>(lang: Record<string, T>, selectedLang?: string) => T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "3.4.0-next.1",
3
+ "version": "3.5.0-development.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",