@goodhood-web/nebenan-base 3.0.0-development.6 → 3.0.0-development.60

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 (46) hide show
  1. package/index.d.ts +2 -1
  2. package/index.js +58 -58
  3. package/index.mjs +7211 -7165
  4. package/lib/Attachments/LinkAttachment/LinkAttachment.d.ts +3 -0
  5. package/lib/Attachments/LinkAttachment/LinkAttachment.types.d.ts +12 -0
  6. package/lib/FeedItem/Marketplace/MarketplaceActions/MarketplaceActions.d.ts +1 -1
  7. package/lib/FeedItem/Marketplace/MarketplaceActions/MarketplaceActions.types.d.ts +4 -0
  8. package/lib/FeedItem/Marketplace/MarketplaceActions/components/BuyerActions/BuyerActions.d.ts +9 -2
  9. package/lib/FeedItem/Marketplace/MarketplaceAggregatorCard/MarketplaceAggregatorCard.d.ts +1 -1
  10. package/lib/FeedItem/Marketplace/MarketplaceAggregatorCard/MarketplaceAggregatorCard.types.d.ts +2 -2
  11. package/lib/FeedItem/Marketplace/MarketplaceBody/MarketplaceBody.d.ts +1 -1
  12. package/lib/FeedItem/Marketplace/MarketplaceBody/MarketplaceBody.types.d.ts +3 -1
  13. package/lib/FeedItem/Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.d.ts +1 -1
  14. package/lib/FeedItem/Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.types.d.ts +6 -4
  15. package/lib/FeedItem/Marketplace/MarketplaceDetailPage/components/CardAggregator/CardAggregator.d.ts +3 -6
  16. package/lib/FeedItem/Marketplace/MarketplaceItemCardless/MarketplaceItemCardless.d.ts +1 -1
  17. package/lib/FeedItem/Marketplace/MarketplaceItemCardless/MarketplaceItemCardless.types.d.ts +1 -1
  18. package/lib/FeedItem/Marketplace/MarketplaceRouterProvider/MarketplaceRouterProvider.d.ts +2 -2
  19. package/lib/FeedItem/Marketplace/MarketplaceRouterProvider/useNavigate.d.ts +1 -1
  20. package/lib/FeedItem/PostAuthor/PostAuthor.types.d.ts +1 -1
  21. package/lib/FeedItem/utils.d.ts +28 -9
  22. package/lib/NPEAggregator/NPEAggregator.d.ts +5 -9
  23. package/lib/NPEAggregator/NPEAggregator.types.d.ts +9 -29
  24. package/lib/NPEAggregator/NPEAggregatorCardAddress/NPEAggregatorCardAddress.d.ts +2 -0
  25. package/lib/NPEAggregator/NPEAggregatorCardAddress/types.d.ts +2 -0
  26. package/lib/NPEAggregator/NPEAggregatorCardRecommendation/NPEAggregatorCardRecommendation.d.ts +2 -0
  27. package/lib/NPEAggregator/NPEAggregatorCardRecommendation/types.d.ts +2 -0
  28. package/lib/PointOfInterest/PointOfInterest.d.ts +1 -1
  29. package/lib/PointOfInterest/PointOfInterest.types.d.ts +2 -1
  30. package/lib/Profile/Profile.types.d.ts +1 -1
  31. package/lib/Reactions/ReactionTabList/ReactionTabList.d.ts +1 -1
  32. package/lib/Reactions/ReactionTabList/ReactionTabList.types.d.ts +1 -0
  33. package/package.json +1 -1
  34. package/style.css +1 -1
  35. package/lib/FeedItem/Marketplace/MarketplaceDetailPage/components/CardAggregator/utils.d.ts +0 -5
  36. package/lib/NPEAggregator/NPEAggregatorCardV1/NPEAggregatorCardV1.d.ts +0 -2
  37. package/lib/NPEAggregator/NPEAggregatorCardV1/types.d.ts +0 -2
  38. package/lib/NPEAggregator/NPEAggregatorCardV2/NPEAggregatorCardV2.d.ts +0 -2
  39. package/lib/NPEAggregator/NPEAggregatorCardV2/types.d.ts +0 -2
  40. package/lib/NPEAggregator/NPEAggregatorCardV3/NPEAggregatorCardV3.d.ts +0 -2
  41. package/lib/NPEAggregator/NPEAggregatorCardV3/types.d.ts +0 -2
  42. package/lib/NPEAggregator/NPEAggregatorCardV4/NPEAggregatorCardV4.d.ts +0 -2
  43. package/lib/NPEAggregator/NPEAggregatorCardV4/types.d.ts +0 -2
  44. package/lib/PointOfInterest/assets/index.d.ts +0 -4
  45. package/lib/PointOfInterest/components/POIPlaceholder.d.ts +0 -3
  46. package/lib/PointOfInterest/components/POIPlaceholder.types.d.ts +0 -4
@@ -0,0 +1,3 @@
1
+ import { LinkAttachmentTypes } from './LinkAttachment.types';
2
+ export declare const LinkAttachment: ({ description, headline, image, onClick, onDelete, url, withDeleteIcon, }: LinkAttachmentTypes) => import("react/jsx-runtime").JSX.Element;
3
+ export default LinkAttachment;
@@ -0,0 +1,12 @@
1
+ export interface LinkAttachmentTypes {
2
+ description: string;
3
+ headline: string;
4
+ image?: {
5
+ alt: string;
6
+ src: string;
7
+ };
8
+ onClick?: () => void;
9
+ onDelete?: () => void;
10
+ url: string;
11
+ withDeleteIcon?: boolean;
12
+ }
@@ -1,2 +1,2 @@
1
1
  import { MarketplaceActionsTypes } from './MarketplaceActions.types';
2
- export declare const MarketplaceActions: ({ author, className, handleReserve, id, isFree, isMine, isReserved, }: MarketplaceActionsTypes) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MarketplaceActions: ({ author, body, className, handleReserve, id, images, isFree, isMine, isReserved, subject, }: MarketplaceActionsTypes) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,16 @@
1
+ import { PostImage } from '../../../../../../api/src/lib/core';
1
2
  import { default as PostAuthorProps } from '../../PostAuthor/PostAuthor.types';
2
3
  import { ProfileData } from '../MarketplaceDetailPage/MarketplaceDetailPage.types';
3
4
  export type MarketplaceActionsTypes = {
4
5
  author: PostAuthorProps;
6
+ body: string;
5
7
  className?: string;
6
8
  handleReserve?: () => void;
7
9
  id: number;
10
+ images: PostImage[];
8
11
  isFree: boolean;
9
12
  isMine?: boolean;
10
13
  isReserved: boolean;
11
14
  profileData?: ProfileData | null;
15
+ subject: string;
12
16
  };
@@ -1,4 +1,11 @@
1
+ import { PostImage } from '../../../../../../../../api/src/lib/core';
1
2
  import { default as PostAuthorProps } from '../../../../PostAuthor/PostAuthor.types';
2
- export declare const BuyerActions: ({ author }: {
3
+ type BuyerActionsProps = {
3
4
  author: PostAuthorProps;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
+ body: string;
6
+ id: number;
7
+ images: PostImage[];
8
+ subject: string;
9
+ };
10
+ export declare const BuyerActions: ({ author, body, id, images, subject, }: BuyerActionsProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -1,2 +1,2 @@
1
1
  import { MarketplaceAggregatorCardTypes } from './MarketplaceAggregatorCard.types';
2
- export default function MarketplaceAggregatorCard({ category, categoryLink, categorySlug, children, className, linkLabel, }: MarketplaceAggregatorCardTypes): import("react/jsx-runtime").JSX.Element;
2
+ export default function MarketplaceAggregatorCard({ category, categoryLink, categorySlug, className, items, linkLabel, }: MarketplaceAggregatorCardTypes): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,9 @@
1
- import { ReactNode } from 'react';
1
+ import { MarketplaceItemCardlessTypes } from '../MarketplaceItemCardless/MarketplaceItemCardless.types';
2
2
  export interface MarketplaceAggregatorCardTypes {
3
3
  category?: string;
4
4
  categoryLink: string;
5
5
  categorySlug?: string;
6
- children: ReactNode[] | ReactNode;
7
6
  className?: string;
7
+ items: MarketplaceItemCardlessTypes[];
8
8
  linkLabel: string;
9
9
  }
@@ -1,3 +1,3 @@
1
1
  import { MarketplaceBodyTypes } from './MarketplaceBody.types';
2
- declare const MarketplaceBody: ({ author, body, category, handleReserve, id, isBookmarked, isFree, isMine, isPublic, isReserved, price, profileData, subject, timeStamp, }: MarketplaceBodyTypes) => import("react/jsx-runtime").JSX.Element;
2
+ declare const MarketplaceBody: ({ author, body, category, embeds, handleReserve, id, images, isBookmarked, isFree, isMine, isPublic, isReserved, price, profileData, subject, timeStamp, }: MarketplaceBodyTypes) => import("react/jsx-runtime").JSX.Element;
3
3
  export default MarketplaceBody;
@@ -1,12 +1,14 @@
1
- import { LevelOfDetail } from '../../../../../../api/src/lib/core';
1
+ import { EmbedResponse, LevelOfDetail, PostImage } from '../../../../../../api/src/lib/core';
2
2
  import { default as PostAuthorProps } from '../../PostAuthor/PostAuthor.types';
3
3
  import { ProfileData } from '../MarketplaceDetailPage/MarketplaceDetailPage.types';
4
4
  export interface MarketplaceBodyTypes {
5
5
  author?: PostAuthorProps;
6
6
  body: string;
7
7
  category?: string;
8
+ embeds?: EmbedResponse[];
8
9
  handleReserve?: () => void;
9
10
  id: number;
11
+ images: PostImage[];
10
12
  isBookmarked: boolean;
11
13
  isFree: boolean;
12
14
  isMine: boolean;
@@ -1,3 +1,3 @@
1
1
  import { MarketplaceDetailPageProps } from './MarketplaceDetailPage.types';
2
- export declare function MarketplaceDetailPage({ ads, categories, feedItem, isChristmas, postData, profile, related, renderAdSlot, renderGallery, }: MarketplaceDetailPageProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function MarketplaceDetailPage({ ads, author, categories, embeds, interactions, isBusinessProfile, postData, profile, related, renderAdSlot, renderGallery, }: MarketplaceDetailPageProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default MarketplaceDetailPage;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { CategoriesResponse, NewsFeedResponse, PostImage, PostResponse, ProfileResponse, RelatedResponse } from '../../../../../../api/src/lib/core';
2
+ import { BusinessProfilesResponse, CategoriesResponse, EmbedResponse, InteractionResponse, NeighbourResponse, PostImage, PostResponse, ProfileResponse, RelatedPostsResponse } from '../../../../../../api/src/lib/core';
3
3
  export interface AdSlot {
4
4
  adnuntius?: {
5
5
  desktop: string;
@@ -12,12 +12,14 @@ export interface ProfileData {
12
12
  }
13
13
  export interface MarketplaceDetailPageProps {
14
14
  ads: AdSlot[];
15
+ author: NeighbourResponse | BusinessProfilesResponse;
15
16
  categories: CategoriesResponse;
16
- feedItem: NewsFeedResponse;
17
- isChristmas?: boolean;
17
+ embeds?: EmbedResponse[];
18
+ interactions: InteractionResponse;
19
+ isBusinessProfile: boolean;
18
20
  postData: PostResponse;
19
21
  profile: ProfileResponse;
20
- related: RelatedResponse;
22
+ related: RelatedPostsResponse;
21
23
  renderAdSlot: (slot: AdSlot) => ReactElement;
22
24
  renderGallery: (images: PostImage[]) => ReactElement;
23
25
  }
@@ -1,10 +1,7 @@
1
- import { Category, Group } from '../../../../../../../../api/src/lib/core';
1
+ import { Section } from '../../../../../../../../api/src/lib/core';
2
2
  type CardAggregatorProps = {
3
- categories: {
4
- marketplace_categories: Category[];
5
- };
6
- group: Group;
7
3
  relatedBookmarks: number[];
4
+ section: Section;
8
5
  };
9
- export declare const CardAggregator: ({ categories, group, relatedBookmarks, }: CardAggregatorProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const CardAggregator: ({ relatedBookmarks, section }: CardAggregatorProps) => import("react/jsx-runtime").JSX.Element;
10
7
  export {};
@@ -1,2 +1,2 @@
1
1
  import { MarketplaceItemCardlessTypes } from './MarketplaceItemCardless.types';
2
- export default function MarketplaceItemCardless({ bookmarked, categorySlug, id, image, price, reserved, reservedText, timeStamp, title, }: MarketplaceItemCardlessTypes): import("react/jsx-runtime").JSX.Element;
2
+ export default function MarketplaceItemCardless({ bookmarked, id, image, onClick, price, reserved, reservedText, timeStamp, title, }: MarketplaceItemCardlessTypes): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
1
  export interface MarketplaceItemCardlessTypes {
2
2
  bookmarked: boolean;
3
- categorySlug?: string;
4
3
  id: number;
5
4
  image?: string;
5
+ onClick?: () => void;
6
6
  price: string;
7
7
  reserved: boolean;
8
8
  reservedText: string;
@@ -1,9 +1,9 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  type MarketplaceRouterContextType = {
3
- navigate: (path: string) => void;
3
+ navigate: (path: string, state?: object) => void;
4
4
  };
5
5
  export declare const MarketplaceRouterContext: import('react').Context<MarketplaceRouterContextType>;
6
6
  export declare const MarketplaceRouterProvider: ({ children, navigate, }: PropsWithChildren<{
7
- navigate: (path: string) => void;
7
+ navigate: (path: string, state?: object) => void;
8
8
  }>) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -1 +1 @@
1
- export declare const useNavigate: () => (path: string) => void;
1
+ export declare const useNavigate: () => (path: string, state?: object) => void;
@@ -3,7 +3,7 @@ import { BadgeProps } from '../../../../../ui/src/lib/Atoms/Badges/Badge/Badge.t
3
3
  import { LinkProps } from '../../../../../ui/src/lib/Atoms/Buttons/Button/Button.types';
4
4
  import { IconButtonProps } from '../../../../../ui/src/lib/Atoms/Buttons/IconButton/IconButton.types';
5
5
  import { ThumbnailCircularProps, ThumbnailSquareProps } from '../../../../../ui/src/lib/Atoms/Content/Thumbnail/Thumbnail.type';
6
- import { default as ThumbnailWrapperProps } from '../../../../../ui/src/lib/Atoms/Content/ThumbnailWrapper/ThumbnailWrapper.types';
6
+ import { ThumbnailWrapperProps } from '../../../../../ui/src/lib/Atoms/Content/ThumbnailWrapper/ThumbnailWrapper.types';
7
7
  import { default as RatingProps } from './Rating/Rating.types';
8
8
  type ThumbnailProps = (ThumbnailCircularProps & {
9
9
  thumbnailType: 'thumbnailCircular';
@@ -1,12 +1,11 @@
1
- import { NewsFeedHoodMessage, NewsFeedResponse, PostResponse, RelatedResponse } from '../../../../api/src/lib/core';
1
+ import { BusinessProfilesResponse, InteractionResponse, NeighbourResponse, PostResponse, Section } from '../../../../api/src/lib/core';
2
2
  import { Category } from '../../../../api/src/lib/core/v2/categories';
3
3
  import { ProfileResponse } from '../../../../api/src/lib/core/v2/profile';
4
4
  import { BadgeIconType } from '../../../../api/src/lib/types/newsFeeds';
5
5
  import { MarketplaceBodyTypes } from './Marketplace/MarketplaceBody/MarketplaceBody.types';
6
- import { ProfileData } from './Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.types';
6
+ import { AdSlot, ProfileData } from './Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.types';
7
7
  import { default as PostAuthorProps } from './PostAuthor/PostAuthor.types';
8
8
  export declare const isFreeItem: (post: PostResponse) => boolean;
9
- export declare const isSold: (item: NewsFeedHoodMessage) => boolean;
10
9
  export declare const isReserved: (item: PostResponse) => boolean;
11
10
  export declare const formatPrice: (number: number) => number;
12
11
  export declare const getPrice: (item: PostResponse) => string;
@@ -14,19 +13,39 @@ export declare const getElapsedTime: (timestamp: string) => string | null;
14
13
  export declare const isPublic: (item: PostResponse) => boolean;
15
14
  export declare const getAuthorId: (profileUrl: string) => number;
16
15
  type BadgesType = [BadgeIconType] | [BadgeIconType, BadgeIconType] | [BadgeIconType, BadgeIconType, BadgeIconType];
17
- export declare const getAuthorData: (post: PostResponse, badges?: BadgesType) => PostAuthorProps;
18
- export declare const getRelatedItemThumbnail: (item: NewsFeedHoodMessage) => string;
16
+ export declare const getAuthorData: (author: NeighbourResponse, postData: PostResponse) => PostAuthorProps;
17
+ export declare const getAuthorDataBusiness: (author: BusinessProfilesResponse, postData: PostResponse) => PostAuthorProps;
18
+ export declare const getRelatedItemThumbnail: (item: PostResponse) => string;
19
19
  export declare const isBookmarked: (id: number, list: number[]) => boolean;
20
- export declare const getRelatedBookmarks: (related: RelatedResponse) => number[] | [];
20
+ export declare const getRelatedBookmarks: (interactions: InteractionResponse) => number[] | [];
21
21
  type GetFeedItemDataProps = {
22
+ author: NeighbourResponse | BusinessProfilesResponse;
22
23
  badges?: BadgesType;
24
+ bookmarkList: number[] | [];
23
25
  category?: Category;
24
- feedItem: NewsFeedResponse;
26
+ isBusinessProfile: boolean;
25
27
  postData: PostResponse;
26
28
  profile?: ProfileResponse;
27
29
  };
28
- export declare const getFeedItemData: ({ badges, category, feedItem, postData, profile, }: GetFeedItemDataProps) => MarketplaceBodyTypes;
30
+ export declare const getFeedItemData: ({ author, bookmarkList, category, isBusinessProfile, postData, profile, }: GetFeedItemDataProps) => MarketplaceBodyTypes;
29
31
  export declare const getProfileData: (profile?: ProfileResponse) => ProfileData | null;
30
- export declare const getLink: (category: Category | undefined) => string;
31
32
  export declare const getAggregatorTrackingName: (categorySlug?: string) => string;
33
+ type InsertAdsProps = {
34
+ ads: AdSlot[];
35
+ positions: number[];
36
+ sections: Section[];
37
+ };
38
+ export type AdInsert = {
39
+ ad: AdSlot;
40
+ position: number;
41
+ };
42
+ export type InsertAds = (Section | {
43
+ ad: AdSlot;
44
+ })[];
45
+ export declare const insertAds: ({ ads, positions, sections }: InsertAdsProps) => InsertAds;
46
+ export declare const isAdSection: (section: Section | {
47
+ ad: AdSlot;
48
+ }) => section is {
49
+ ad: AdSlot;
50
+ };
32
51
  export {};
@@ -1,12 +1,8 @@
1
1
  import { NPEAggregatorProps } from './NPEAggregator.types';
2
- import { default as NPEAggregatorCardV1 } from './NPEAggregatorCardV1/NPEAggregatorCardV1';
3
- import { default as NPEAggregatorCardV2 } from './NPEAggregatorCardV2/NPEAggregatorCardV2';
4
- import { default as NPEAggregatorCardV3 } from './NPEAggregatorCardV3/NPEAggregatorCardV3';
5
- import { default as NPEAggregatorCardV4 } from './NPEAggregatorCardV4/NPEAggregatorCardV4';
2
+ import { default as NPEAggregatorCardAddress } from './NPEAggregatorCardAddress/NPEAggregatorCardAddress';
3
+ import { default as NPEAggregatorCardV4 } from './NPEAggregatorCardRecommendation/NPEAggregatorCardRecommendation';
6
4
  export declare const slideComponentMap: {
7
- readonly v1: typeof NPEAggregatorCardV1;
8
- readonly v2: typeof NPEAggregatorCardV2;
9
- readonly v3: typeof NPEAggregatorCardV3;
10
- readonly v4: typeof NPEAggregatorCardV4;
5
+ readonly profiles_with_address: typeof NPEAggregatorCardAddress;
6
+ readonly profiles_with_written_recommendations: typeof NPEAggregatorCardV4;
11
7
  };
12
- export default function NPEAggregator({ className, items, linkLabel, onLinkClick, onSwipe, title, variant, }: NPEAggregatorProps): import("react/jsx-runtime").JSX.Element;
8
+ export default function NPEAggregator({ className, headerClassname, items, linkLabel, onLinkClick, onSwipe, sliderOffsetDesktop, sliderOffsetMobile, title, variant, }: NPEAggregatorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,25 +1,18 @@
1
1
  import { ReactNode } from 'react';
2
2
  type NPEAggregatorBaseProps = {
3
3
  className?: string;
4
+ headerClassname?: string;
4
5
  linkLabel: string;
5
6
  onLinkClick: () => void;
6
7
  onSwipe?: (direction: 'next' | 'prev') => void;
8
+ sliderOffsetDesktop?: number;
9
+ sliderOffsetMobile?: number;
7
10
  title: string;
8
11
  };
9
12
  type RenderImageType = ({ className }: {
10
13
  className?: string;
11
14
  }) => ReactNode;
12
- export type NPEv1Item = {
13
- categories: string[];
14
- heartAriaLabel: string;
15
- heartCounter: number;
16
- heartFilled?: boolean;
17
- onCardClick: () => void;
18
- onHeartClick: () => void;
19
- renderImage?: RenderImageType;
20
- title: string;
21
- };
22
- export type NPEv2Item = {
15
+ export type NPEAggregatorAddressItem = {
23
16
  address: string;
24
17
  categories: string[];
25
18
  heartAriaLabel: string;
@@ -29,14 +22,7 @@ export type NPEv2Item = {
29
22
  renderImage?: RenderImageType;
30
23
  title: string;
31
24
  };
32
- export type NPEv3Item = {
33
- businessName: string;
34
- onCardClick: () => void;
35
- renderImage?: RenderImageType;
36
- text: string;
37
- title: string;
38
- };
39
- export type NPEv4Item = {
25
+ export type NPEAggregatorRecommendationItem = {
40
26
  authorName: string;
41
27
  categories: string[];
42
28
  onCardClick: () => void;
@@ -45,16 +31,10 @@ export type NPEv4Item = {
45
31
  title: string;
46
32
  };
47
33
  export type NPEAggregatorProps = (NPEAggregatorBaseProps & {
48
- items: NPEv1Item[];
49
- variant: 'v1';
50
- }) | (NPEAggregatorBaseProps & {
51
- items: NPEv2Item[];
52
- variant: 'v2';
53
- }) | (NPEAggregatorBaseProps & {
54
- items: NPEv3Item[];
55
- variant: 'v3';
34
+ items: NPEAggregatorAddressItem[];
35
+ variant: 'profiles_with_address';
56
36
  }) | (NPEAggregatorBaseProps & {
57
- items: NPEv4Item[];
58
- variant: 'v4';
37
+ items: NPEAggregatorRecommendationItem[];
38
+ variant: 'profiles_with_written_recommendations';
59
39
  });
60
40
  export {};
@@ -0,0 +1,2 @@
1
+ import { NPEAggregatorCardAddressProps } from './types';
2
+ export default function NPEAggregatorCardAddress({ address, categories, heartFilled, onCardClick, onHeartClick, renderImage, title, }: NPEAggregatorCardAddressProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { NPEAggregatorAddressItem } from '../NPEAggregator.types';
2
+ export type NPEAggregatorCardAddressProps = NPEAggregatorAddressItem;
@@ -0,0 +1,2 @@
1
+ import { NPEAggregatorCardRecommendationProps } from './types';
2
+ export default function NPEAggregatorCardRecommendation({ authorName, categories, onCardClick, renderImage, text, title, }: NPEAggregatorCardRecommendationProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { NPEAggregatorRecommendationItem } from '../NPEAggregator.types';
2
+ export type NPEAggregatorCardRecommendationProps = NPEAggregatorRecommendationItem;
@@ -1,3 +1,3 @@
1
1
  import { PointOfInterestProps } from './PointOfInterest.types';
2
- declare const PointOfInterest: ({ address, badgeType, heartComponent, hood, imageSrc, isBlocked, onClick, onRemove, placeholderType, subcategory, title, }: PointOfInterestProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const PointOfInterest: ({ address, badges, heartComponent, hood, imageSrc, onClick, onRemove, placeholderType, subcategory, title, }: PointOfInterestProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default PointOfInterest;
@@ -1,6 +1,7 @@
1
+ import { BadgeIconType } from '../../../../api/src/lib/types/newsFeeds';
1
2
  export type PointOfInterestProps = {
2
3
  address?: string;
3
- badgeType?: 'commercial_supporter' | 'organization_supporter';
4
+ badges?: [BadgeIconType] | [BadgeIconType, BadgeIconType] | [BadgeIconType, BadgeIconType, BadgeIconType] | [];
4
5
  heartComponent?: React.ReactNode;
5
6
  hood?: string;
6
7
  imageSrc?: string;
@@ -2,6 +2,6 @@ export interface ProfileProps {
2
2
  alt: string;
3
3
  link: string;
4
4
  name: string;
5
- onClick: () => void;
5
+ onClick?: () => void;
6
6
  src: string;
7
7
  }
@@ -1,3 +1,3 @@
1
1
  import { ReactionTabListProps } from './ReactionTabList.types';
2
- declare const ReactionTabList: ({ closeText, getPicturePlaceholder, getReactions, headerTitle, open, postId, setOpen, }: ReactionTabListProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ declare const ReactionTabList: ({ closeText, getPicturePlaceholder, getReactions, headerTitle, open, postId, setOpen, userLink, }: ReactionTabListProps) => import("react/jsx-runtime").JSX.Element | null;
3
3
  export default ReactionTabList;
@@ -7,4 +7,5 @@ export interface ReactionTabListProps {
7
7
  open: boolean;
8
8
  postId: number;
9
9
  setOpen: () => void;
10
+ userLink?: boolean;
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "3.0.0-development.6",
3
+ "version": "3.0.0-development.60",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",