@goodhood-web/nebenan-base 4.2.0-development.5 → 4.2.0-development.7
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 +5 -5
- package/index.js +67 -67
- package/index.mjs +7966 -8082
- package/lib/Feed/FeedItem/Marketplace/MarketplaceItemCardless/MarketplaceItemCardless.types.d.ts +2 -3
- package/lib/Grids/Grid/Grid.d.ts +1 -1
- package/lib/Grids/Grid/Grid.types.d.ts +1 -0
- package/lib/MarkdownRichText/MarkdownRichText.d.ts +1 -1
- package/lib/MarkdownRichText/MarkdownRichText.types.d.ts +1 -0
- package/lib/Quote/Quote.d.ts +1 -1
- package/lib/Quote/Quote.types.d.ts +4 -1
- package/lib/utils/convertV2ToV3Feed.d.ts +17 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/Feed/GridFeed/GridFeed.d.ts +0 -3
- package/lib/Feed/GridFeed/GridFeed.types.d.ts +0 -37
- package/lib/Feed/GridFeed/GridFeedAggregator/GridFeedAggregator.d.ts +0 -2
- package/lib/Feed/GridFeed/GridFeedAggregator/GridFeedAggregator.types.d.ts +0 -14
- package/lib/Feed/GridFeed/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.d.ts +0 -3
- package/lib/Feed/GridFeed/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.types.d.ts +0 -8
- package/lib/Feed/GridFeed/GridFeedAggregator/components/FeedEmptyStateCard/FeedEmptyStateCard.d.ts +0 -2
- package/lib/Feed/GridFeed/GridFeedAggregator/components/FeedEmptyStateCard/FeedEmptyStateCard.types.d.ts +0 -8
- package/lib/Feed/GridFeed/GridFeedAggregator/components/FeedEmptyStateCard/utils.d.ts +0 -2
- package/lib/Feed/GridFeed/GridFeedAggregator/utils.d.ts +0 -1
- package/lib/Feed/GridFeed/GridFeedDynamicRenderer/GridFeedDynamicRenderer.d.ts +0 -3
- package/lib/Feed/GridFeed/GridFeedDynamicRenderer/GridFeedDynamicRenderer.types.d.ts +0 -4
- package/lib/Feed/GridFeed/utils.d.ts +0 -7
package/lib/Feed/FeedItem/Marketplace/MarketplaceItemCardless/MarketplaceItemCardless.types.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { GridFeedProps } from '../../../GridFeed/GridFeed.types';
|
|
2
1
|
export interface MarketplaceItemCardlessTypes {
|
|
3
2
|
content?: React.ReactNode;
|
|
4
|
-
finalizeTest?:
|
|
5
|
-
highlightAbTest?:
|
|
3
|
+
finalizeTest?: () => void;
|
|
4
|
+
highlightAbTest?: string;
|
|
6
5
|
id: number;
|
|
7
6
|
image?: string;
|
|
8
7
|
onClick?: () => void;
|
package/lib/Grids/Grid/Grid.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { GridProps } from './Grid.types';
|
|
2
|
-
export declare const Grid: ({ children, spacing }: GridProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Grid: ({ children, className, spacing }: GridProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Grid;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MarkdownRichTextProps } from './MarkdownRichText.types';
|
|
2
|
-
declare const MarkdownRichText: ({ className, elementTag, text }: MarkdownRichTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const MarkdownRichText: ({ className, elementTag, fontSet, text, }: MarkdownRichTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default MarkdownRichText;
|
package/lib/Quote/Quote.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { QuoteProps } from './Quote.types';
|
|
2
|
-
declare const Quote: ({ author, authorType, contentClassName, fontSet, image, imageSlot, quote, quoteImageClassName, quoteType, }: QuoteProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Quote: ({ author, authorIcon, authorSubtitle, authorType, contentClassName, fontSet, image, imageSlot, quote, quoteImageClassName, quoteType, }: QuoteProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Quote;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
+
import { Icon32 } from '../../../../ui/src/lib/Base/Icon/Icon.types';
|
|
2
3
|
import { TypographyTypeLanding, TypographyTypeProduct } from '../../../../ui/src/lib/Base/Typography/Typography.types';
|
|
3
4
|
type QuoteBaseProps = {
|
|
4
5
|
author: string;
|
|
6
|
+
authorIcon?: Icon32;
|
|
7
|
+
authorSubtitle?: string;
|
|
5
8
|
contentClassName?: string;
|
|
6
|
-
image
|
|
9
|
+
image?: {
|
|
7
10
|
alt: string;
|
|
8
11
|
src: string;
|
|
9
12
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { components } from '../../../../api/src/lib/core';
|
|
2
|
+
import { NewsFeedHoodMessage } from '../../../../api/src/lib/core_v2';
|
|
3
|
+
type PostResponse = components['schemas']['Core_V3_HoodMessage'];
|
|
4
|
+
/**
|
|
5
|
+
* Converts v2 feed items to v3 format
|
|
6
|
+
* This is a simplified converter for feed display purposes
|
|
7
|
+
*/
|
|
8
|
+
export declare function convertV2ToV3FeedItem(v2Item: NewsFeedHoodMessage): PostResponse;
|
|
9
|
+
/**
|
|
10
|
+
* Converts an array of v2 feed items to v3 format
|
|
11
|
+
*/
|
|
12
|
+
export declare function convertV2ToV3FeedItems(v2Items: NewsFeedHoodMessage[]): PostResponse[];
|
|
13
|
+
/**
|
|
14
|
+
* Converts a v2 feed items object (indexed by ID) to v3 array format
|
|
15
|
+
*/
|
|
16
|
+
export declare function convertV2FeedObjectToV3Array(v2ItemsObject: Record<number, NewsFeedHoodMessage>): PostResponse[];
|
|
17
|
+
export {};
|