@goodhood-web/nebenan-base 3.6.0-development.11 → 3.6.0-development.2

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 (52) hide show
  1. package/index.d.ts +1 -5
  2. package/index.js +104 -116
  3. package/index.mjs +18108 -26130
  4. package/lib/Authentication/LoginForm/LoginForm.d.ts +1 -1
  5. package/lib/Authentication/LoginForm/LoginForm.types.d.ts +0 -1
  6. package/lib/Authentication/PasswordForgotten/PasswordForgotten.d.ts +1 -3
  7. package/lib/Authentication/PasswordReset/PasswordReset.d.ts +2 -2
  8. package/lib/Authentication/components/AuthenticationCard/AuthenticationCard.d.ts +1 -1
  9. package/lib/Authentication/components/AuthenticationCard/AuthenticationCard.types.d.ts +0 -1
  10. package/lib/Authentication/components/DynamicScreen/DynamicScreen.d.ts +1 -1
  11. package/lib/Authentication/components/DynamicScreen/DynamicScreen.types.d.ts +1 -1
  12. package/lib/Authentication/components/ScreenCard/ScreenCard.d.ts +1 -1
  13. package/lib/Authentication/components/ScreenCard/ScreenCard.types.d.ts +2 -5
  14. package/lib/Feed/FeedItem/Marketplace/InteractiveElements/InteractiveCardHeader.d.ts +4 -1
  15. package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/ComplaintModalComponent/ComplaintModalComponent.d.ts +5 -3
  16. package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/MarketplaceMoreOptions.d.ts +1 -1
  17. package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/MarketplaceMoreOptions.types.d.ts +4 -0
  18. package/lib/Forms/Fields/PasswordField/PasswordField.types.d.ts +1 -0
  19. package/package.json +1 -1
  20. package/style.css +1 -1
  21. package/lib/Authentication/store/auth.d.ts +0 -3
  22. package/lib/MultiImageCropper/MultiImageCropper.d.ts +0 -3
  23. package/lib/MultiImageCropper/MultiImageCropper.types.d.ts +0 -14
  24. package/lib/MultiImageCropper/components/ImageCropperPanel/ImageCropperPanel.d.ts +0 -13
  25. package/lib/MultiImageCropper/components/ImageThumbnailGrid/ImageThumbnailGrid.d.ts +0 -12
  26. package/lib/MultiImageCropper/hooks/useImageLoader.d.ts +0 -5
  27. package/lib/MultiImageCropper/util.d.ts +0 -3
  28. package/lib/RichTextArea/ImageUpload/ImageUpload.d.ts +0 -7
  29. package/lib/RichTextArea/ImagesPreview/ImagesPreview.d.ts +0 -7
  30. package/lib/RichTextArea/RichTextArea.d.ts +0 -2
  31. package/lib/RichTextArea/RichTextArea.types.d.ts +0 -62
  32. package/lib/RichTextArea/components/POI/POIPreview.d.ts +0 -7
  33. package/lib/RichTextArea/components/POI/POIRecommendation.d.ts +0 -3
  34. package/lib/RichTextArea/components/POI/POIRecommendation.types.d.ts +0 -11
  35. package/lib/RichTextArea/components/POI/components/SheetComponents/SheetComponents.d.ts +0 -4
  36. package/lib/RichTextArea/components/POI/components/SheetComponents/SheetComponents.types.d.ts +0 -21
  37. package/lib/RichTextArea/components/POI/components/Suggestions/Suggestions.d.ts +0 -3
  38. package/lib/RichTextArea/components/POI/components/Suggestions/Suggestions.types.d.ts +0 -10
  39. package/lib/RichTextArea/components/POI/network.d.ts +0 -3
  40. package/lib/RichTextArea/components/POI/useBusinessProfile.d.ts +0 -5
  41. package/lib/RichTextArea/components/POI/utils.d.ts +0 -10
  42. package/lib/RichTextArea/constants.d.ts +0 -11
  43. package/lib/RichTextArea/lexical/LexicalImagesPreview.d.ts +0 -7
  44. package/lib/RichTextArea/lexical/nodes/MentionNode.d.ts +0 -29
  45. package/lib/RichTextArea/lexical/plugins/CharacterLimitPlugin.d.ts +0 -6
  46. package/lib/RichTextArea/lexical/plugins/LinkPlugin.d.ts +0 -1
  47. package/lib/RichTextArea/lexical/plugins/MentionPlugin.d.ts +0 -7
  48. package/lib/RichTextArea/lexical/plugins/ValueConverterPlugin.d.ts +0 -7
  49. package/lib/RichTextArea/lexical/utils.d.ts +0 -14
  50. package/lib/RichTextArea/useImageUpload.d.ts +0 -11
  51. package/lib/RichTextArea/useUrlMetaData.d.ts +0 -15
  52. package/lib/RichTextArea/utils.d.ts +0 -3
@@ -1,3 +1,3 @@
1
1
  import { LoginFormProps } from './LoginForm.types';
2
- export declare const LoginForm: ({ emailConfirmationRequired, enableGoogleSSO, onLoginSuccess, }: LoginFormProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const LoginForm: ({ enableGoogleSSO, onLoginSuccess }: LoginFormProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default LoginForm;
@@ -1,5 +1,4 @@
1
1
  export type LoginFormProps = {
2
- emailConfirmationRequired?: boolean;
3
2
  enableGoogleSSO?: boolean;
4
3
  onLoginSuccess: (authentication_token?: string) => void;
5
4
  };
@@ -1,4 +1,2 @@
1
- export declare const PasswordForgotten: ({ isAuthorized }: {
2
- isAuthorized: boolean;
3
- }) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const PasswordForgotten: () => import("react/jsx-runtime").JSX.Element;
4
2
  export default PasswordForgotten;
@@ -1,5 +1,5 @@
1
- export declare const PasswordReset: ({ isAuthorized, requestSuccess, token, }: {
2
- isAuthorized: boolean;
1
+ export declare const PasswordReset: ({ email, requestSuccess, token, }: {
2
+ email?: string;
3
3
  requestSuccess: (authentication_token: string) => void;
4
4
  token?: string;
5
5
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { AuthenticationCardProps } from './AuthenticationCard.types';
2
- declare const AuthenticationCard: ({ children, isAuthorized, onBackClick, progressBar, rightElement, showBackButton, stepHeader, }: AuthenticationCardProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const AuthenticationCard: ({ children, onBackClick, progressBar, rightElement, showBackButton, stepHeader, }: AuthenticationCardProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default AuthenticationCard;
@@ -1,7 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  export interface AuthenticationCardProps {
3
3
  children: ReactNode;
4
- isAuthorized?: boolean;
5
4
  onBackClick?: () => void;
6
5
  progressBar?: {
7
6
  currentStep: number;
@@ -1,3 +1,3 @@
1
1
  import { DynamicScreenProps } from './DynamicScreen.types';
2
- declare const DynamicScreen: ({ atom, atomKey, email, isAuthorized, navigation, onRequest, screen, stickerMobile, }: DynamicScreenProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const DynamicScreen: ({ atom, atomKey, email, navigation, onClick, onRequest, screen, stickerMobile, }: DynamicScreenProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default DynamicScreen;
@@ -18,8 +18,8 @@ export type DynamicScreenProps = {
18
18
  atom?: string;
19
19
  atomKey?: string;
20
20
  email?: string;
21
- isAuthorized?: boolean;
22
21
  navigation?: () => void;
22
+ onClick?: () => void;
23
23
  onRequest?: () => void;
24
24
  screen: Screen;
25
25
  stickerMobile?: boolean;
@@ -1,3 +1,3 @@
1
1
  import { ScreenCardProps } from './ScreenCard.types';
2
- declare const ScreenCard: ({ centered, color, ctaBtnText, ctaText, email, footer, icon, isAuthorized, navigation, navigationHeader, onBtnClick, onClick, size, stickerMobile, text, title, }: ScreenCardProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ScreenCard: ({ color, ctaText, email, footer, icon, navigation, navigationHeader, onClick, onLinkClick, stickerMobile, text, textLink, title, }: ScreenCardProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ScreenCard;
@@ -1,19 +1,16 @@
1
1
  import { StickerProps } from '../../../../../../ui/src/lib/Atoms/Badges/Sticker/Sticker.types';
2
2
  export interface ScreenCardProps {
3
- centered?: boolean;
4
3
  color?: StickerProps['color'];
5
- ctaBtnText?: string;
6
4
  ctaText?: string;
7
5
  email?: string;
8
6
  footer?: string;
9
7
  icon?: StickerProps['icon'];
10
- isAuthorized?: boolean;
11
8
  navigation?: () => void;
12
9
  navigationHeader?: string;
13
- onBtnClick?: () => void;
14
10
  onClick?: () => void;
15
- size?: 'small' | 'large';
11
+ onLinkClick?: () => void;
16
12
  stickerMobile?: boolean;
17
13
  text?: string;
14
+ textLink?: string;
18
15
  title?: string;
19
16
  }
@@ -1,7 +1,10 @@
1
+ import { components } from '../../../../../../../api/src/lib/core';
2
+ type AuthorProfile = components['schemas']['Core_V3_AuthorDetails'];
1
3
  type InteractiveCardHeaderProps = {
2
4
  className?: string;
3
5
  id: number;
4
6
  isMine: boolean;
7
+ profile?: AuthorProfile;
5
8
  };
6
- export declare const InteractiveCardHeader: ({ className, id, isMine, }: InteractiveCardHeaderProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const InteractiveCardHeader: ({ className, id, isMine, profile, }: InteractiveCardHeaderProps) => import("react/jsx-runtime").JSX.Element;
7
10
  export {};
@@ -1,7 +1,9 @@
1
- interface ComplaintModalComponentProps {
1
+ import { components } from '../../../../../../../../api/src/lib/core';
2
+ type AuthorProfile = components['schemas']['Core_V3_AuthorDetails'];
3
+ export declare const ComplaintModalComponent: ({ authorDetails, handleReport, id, open, }: {
4
+ authorDetails?: AuthorProfile;
2
5
  handleReport: () => void;
3
6
  id: number;
4
7
  open: boolean;
5
- }
6
- export declare const ComplaintModalComponent: ({ handleReport, id, open, }: ComplaintModalComponentProps) => import("react/jsx-runtime").JSX.Element | null;
8
+ }) => import("react/jsx-runtime").JSX.Element | null;
7
9
  export {};
@@ -1,3 +1,3 @@
1
1
  import { MarketplaceMoreOptionsProps } from './MarketplaceMoreOptions.types';
2
- export declare const MarketplaceMoreOptions: ({ id, isMine }: MarketplaceMoreOptionsProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MarketplaceMoreOptions: ({ authorProfile, id, isMine, }: MarketplaceMoreOptionsProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default MarketplaceMoreOptions;
@@ -1,4 +1,8 @@
1
+ import { components } from '../../../../../../../api/src/lib/core';
2
+ type AuthorProfile = components['schemas']['Core_V3_AuthorDetails'];
1
3
  export type MarketplaceMoreOptionsProps = {
4
+ authorProfile?: AuthorProfile;
2
5
  id: number;
3
6
  isMine?: boolean;
4
7
  };
8
+ export {};
@@ -10,6 +10,7 @@ export type PasswordFieldProps = {
10
10
  onChange?: TextInputProps['onChange'];
11
11
  passwordHint?: string;
12
12
  progressBar?: boolean;
13
+ showInputHints?: TextInputProps['showInputHints'];
13
14
  size?: TextInputProps['size'];
14
15
  value?: string;
15
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "3.6.0-development.11",
3
+ "version": "3.6.0-development.2",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",