@goodhood-web/nebenan-base 3.0.0-development.91 → 3.0.0-development.93
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.js +33 -33
- package/index.mjs +2448 -2437
- package/lib/Feed/GridFeed/GridFeed.types.d.ts +5 -2
- package/lib/StorybookUtils/LayoutTemplate.d.ts +2 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -12,11 +12,13 @@ export interface FeedItems {
|
|
|
12
12
|
is_bookmarked: boolean;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
+
declare const ALLOWED_POSITIONS: readonly [0, 1, 2, 3, 4, 5];
|
|
16
|
+
type Position = (typeof ALLOWED_POSITIONS)[number];
|
|
15
17
|
export interface AdItem {
|
|
16
|
-
block
|
|
18
|
+
block: number;
|
|
17
19
|
content: React.ReactNode;
|
|
18
20
|
id: string;
|
|
19
|
-
position
|
|
21
|
+
position?: Position;
|
|
20
22
|
type?: string;
|
|
21
23
|
}
|
|
22
24
|
export interface GridFeedProps {
|
|
@@ -28,3 +30,4 @@ export interface GridFeedProps {
|
|
|
28
30
|
export type ChunkItem = number | AdItem;
|
|
29
31
|
export type ResultType = Array<ChunkItem[] | AdItem>;
|
|
30
32
|
export type GridFeedMarketplaceItem = MarketplaceItemCardlessTypes | AdItem;
|
|
33
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
declare const Template: ({ bgColor, height, padding, text, }: {
|
|
1
|
+
declare const Template: ({ bgColor, height, padding, text, width, }: {
|
|
2
2
|
bgColor: string;
|
|
3
3
|
height?: string;
|
|
4
4
|
padding?: number;
|
|
5
5
|
text: string;
|
|
6
|
+
width?: string;
|
|
6
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export default Template;
|