@goodhood-web/nebenan-base 4.7.0-development.9 → 4.8.0
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 +2 -1
- package/index.js +91 -91
- package/index.mjs +30540 -30292
- package/lib/ChristmasBanner/ChristmasBanner.d.ts +3 -0
- package/lib/ChristmasBanner/ChristmasBanner.types.d.ts +5 -0
- package/lib/ChristmasBanner/components/ProgressBar.d.ts +5 -0
- package/lib/ChristmasBanner/components/utils/useProgressByDate.d.ts +10 -0
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/FormRichTextArea.d.ts +1 -1
- package/lib/ContentCreator/constants.d.ts +1 -1
- package/lib/ContentCreator/utils/payloadGenerators.d.ts +1 -1
- package/lib/ContentCreator/validationSchemas/dynamicValidationSchema.d.ts +5 -5
- package/lib/ContentCreator/validationSchemas/marketplaceSchema.d.ts +5 -5
- package/lib/DesktopLayoutTwoColumn/DesktopLayoutTwoColumn.types.d.ts +2 -0
- package/lib/MenuLinkList/MenuLinkList.types.d.ts +2 -0
- package/lib/MobileLayout/MobileLayout.d.ts +1 -1
- package/lib/MobileLayout/MobileLayout.types.d.ts +2 -0
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ScheduleItem {
|
|
2
|
+
date: string;
|
|
3
|
+
progress: number;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Hook that returns the current progress value
|
|
7
|
+
* based on the latest matching schedule date.
|
|
8
|
+
* @returns {number} Current progress value
|
|
9
|
+
*/
|
|
10
|
+
export declare function useProgressByDate(): number;
|
|
@@ -144,7 +144,7 @@ declare const FormRichTextAreaInput: import('react').ForwardRefExoticComponent<U
|
|
|
144
144
|
value?: string | undefined;
|
|
145
145
|
pill?: string | undefined;
|
|
146
146
|
};
|
|
147
|
-
|
|
147
|
+
price_in_cents?: string | null | undefined;
|
|
148
148
|
}> & Partial<RichTextAreaProps> & {
|
|
149
149
|
groupId?: number;
|
|
150
150
|
multipleImageUpload?: boolean;
|
|
@@ -43,7 +43,7 @@ export declare const generateMarketplacePayload: (data: MarketplaceFormData) =>
|
|
|
43
43
|
indices?: number[] | null | undefined;
|
|
44
44
|
}[];
|
|
45
45
|
images: string[] | null;
|
|
46
|
-
|
|
46
|
+
price_in_cents: number | null;
|
|
47
47
|
reach: "group" | "profile" | "public" | "hood" | "extended";
|
|
48
48
|
subject: string;
|
|
49
49
|
};
|
|
@@ -296,7 +296,7 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
296
296
|
value?: string | undefined;
|
|
297
297
|
pill?: string | undefined;
|
|
298
298
|
}>;
|
|
299
|
-
|
|
299
|
+
price_in_cents: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
300
300
|
reach: z.ZodEnum<["profile", "hood", "extended", "public", "group"]>;
|
|
301
301
|
subject: z.ZodString;
|
|
302
302
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -337,7 +337,7 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
337
337
|
value?: string | undefined;
|
|
338
338
|
pill?: string | undefined;
|
|
339
339
|
};
|
|
340
|
-
|
|
340
|
+
price_in_cents?: string | null | undefined;
|
|
341
341
|
}, {
|
|
342
342
|
content: {
|
|
343
343
|
body: string;
|
|
@@ -376,7 +376,7 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
376
376
|
value?: string | undefined;
|
|
377
377
|
pill?: string | undefined;
|
|
378
378
|
};
|
|
379
|
-
|
|
379
|
+
price_in_cents?: string | null | undefined;
|
|
380
380
|
}>, {
|
|
381
381
|
content: {
|
|
382
382
|
body: string;
|
|
@@ -415,7 +415,7 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
415
415
|
value?: string | undefined;
|
|
416
416
|
pill?: string | undefined;
|
|
417
417
|
};
|
|
418
|
-
|
|
418
|
+
price_in_cents?: string | null | undefined;
|
|
419
419
|
}, {
|
|
420
420
|
content: {
|
|
421
421
|
body: string;
|
|
@@ -454,7 +454,7 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
454
454
|
value?: string | undefined;
|
|
455
455
|
pill?: string | undefined;
|
|
456
456
|
};
|
|
457
|
-
|
|
457
|
+
price_in_cents?: string | null | undefined;
|
|
458
458
|
}>, z.ZodObject<{
|
|
459
459
|
content: z.ZodObject<{
|
|
460
460
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
@@ -110,7 +110,7 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
110
110
|
value?: string | undefined;
|
|
111
111
|
pill?: string | undefined;
|
|
112
112
|
}>;
|
|
113
|
-
|
|
113
|
+
price_in_cents: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
114
114
|
reach: z.ZodEnum<["profile", "hood", "extended", "public", "group"]>;
|
|
115
115
|
subject: z.ZodString;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -151,7 +151,7 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
151
151
|
value?: string | undefined;
|
|
152
152
|
pill?: string | undefined;
|
|
153
153
|
};
|
|
154
|
-
|
|
154
|
+
price_in_cents?: string | null | undefined;
|
|
155
155
|
}, {
|
|
156
156
|
content: {
|
|
157
157
|
body: string;
|
|
@@ -190,7 +190,7 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
190
190
|
value?: string | undefined;
|
|
191
191
|
pill?: string | undefined;
|
|
192
192
|
};
|
|
193
|
-
|
|
193
|
+
price_in_cents?: string | null | undefined;
|
|
194
194
|
}>, {
|
|
195
195
|
content: {
|
|
196
196
|
body: string;
|
|
@@ -229,7 +229,7 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
229
229
|
value?: string | undefined;
|
|
230
230
|
pill?: string | undefined;
|
|
231
231
|
};
|
|
232
|
-
|
|
232
|
+
price_in_cents?: string | null | undefined;
|
|
233
233
|
}, {
|
|
234
234
|
content: {
|
|
235
235
|
body: string;
|
|
@@ -268,5 +268,5 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
268
268
|
value?: string | undefined;
|
|
269
269
|
pill?: string | undefined;
|
|
270
270
|
};
|
|
271
|
-
|
|
271
|
+
price_in_cents?: string | null | undefined;
|
|
272
272
|
}>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { ChristmasBannerVariant } from '../ChristmasBanner/ChristmasBanner.types';
|
|
2
3
|
export interface DesktopLayoutTwoColumnProps {
|
|
3
4
|
banner: {
|
|
4
5
|
adSlot?: ReactElement;
|
|
6
|
+
christmasBannerVariant?: ChristmasBannerVariant;
|
|
5
7
|
didRender: boolean;
|
|
6
8
|
};
|
|
7
9
|
children: ReactNode;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ClickPayload } from '../../../../services/src/snowplow/schemas/de.nebenan/click.interface';
|
|
1
2
|
import { TypographyTypeProduct } from '../../../../ui/src/lib/Base/Typography/Typography.types';
|
|
2
3
|
export interface MenuLinkListProps {
|
|
3
4
|
className?: string;
|
|
@@ -9,5 +10,6 @@ export interface MenuLinkItem {
|
|
|
9
10
|
label: string;
|
|
10
11
|
onClick?: () => void;
|
|
11
12
|
rel?: string;
|
|
13
|
+
snowplowClickTracking?: ClickPayload;
|
|
12
14
|
target?: string;
|
|
13
15
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MobileLayoutProps } from './MobileLayout.types';
|
|
2
|
-
declare const MobileLayout: ({ action, adSlot, adSlotEnabled, banner, children, footer, header, hideHeaderOnScroll, showFooter, }: MobileLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const MobileLayout: ({ action, adSlot, adSlotEnabled, banner, children, christmasBannerVariant, footer, header, hideHeaderOnScroll, showFooter, }: MobileLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default MobileLayout;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { IconButtonProps } from '../../../../ui/src/lib/Atoms/Buttons/IconButton/IconButton.types';
|
|
3
3
|
import { NavBarProps } from '../../../../ui/src/lib/Molecules/Navigation/NavBar/NavBar.types';
|
|
4
|
+
import { ChristmasBannerProps } from '../ChristmasBanner/ChristmasBanner.types';
|
|
4
5
|
import { MobileHeaderBarProps } from './components/MobileHeaderBar/MobileHeaderBar.types';
|
|
5
6
|
export interface MobileLayoutProps {
|
|
6
7
|
action?: ReactElement<IconButtonProps>;
|
|
@@ -8,6 +9,7 @@ export interface MobileLayoutProps {
|
|
|
8
9
|
adSlotEnabled: boolean;
|
|
9
10
|
banner?: ReactElement;
|
|
10
11
|
children: ReactNode;
|
|
12
|
+
christmasBannerVariant?: ChristmasBannerProps['variant'];
|
|
11
13
|
footer: ReactElement<NavBarProps>;
|
|
12
14
|
header: ReactElement<MobileHeaderBarProps>;
|
|
13
15
|
hideHeaderOnScroll?: boolean;
|