@goodhood-web/nebenan-base 4.7.0-development.1 → 4.7.0-development.11

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 (41) hide show
  1. package/index.d.ts +2 -1
  2. package/index.js +98 -96
  3. package/index.mjs +53856 -53458
  4. package/lib/AttendeesModal/network.d.ts +1 -1
  5. package/lib/ChristmasBanner/ChristmasBanner.d.ts +3 -0
  6. package/lib/ChristmasBanner/ChristmasBanner.types.d.ts +5 -0
  7. package/lib/ChristmasBanner/components/ProgressBar.d.ts +5 -0
  8. package/lib/ChristmasBanner/components/utils/useProgressByDate.d.ts +10 -0
  9. package/lib/ContentCreator/ContentCreator.d.ts +1 -1
  10. package/lib/ContentCreator/ContentCreatorForm.types.d.ts +6 -1
  11. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ContentFieldsSheet/ContentFieldsSheet.d.ts +3 -3
  12. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ContentFieldsSheet/ContentFieldsSheet.types.d.ts +7 -3
  13. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/EventFields/EventFields.d.ts +1 -1
  14. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/EventFields/EventFields.types.d.ts +2 -1
  15. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/FormRichTextArea.d.ts +7 -1
  16. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/PostFields.d.ts +1 -1
  17. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/PostFields.types.d.ts +7 -1
  18. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/TopicComponents/ChristmasInfo.d.ts +6 -0
  19. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/TopicComponents/TopicToggle.d.ts +7 -0
  20. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/TopicComponents/index.d.ts +2 -0
  21. package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/index.d.ts +1 -1
  22. package/lib/ContentCreator/constants.d.ts +4 -1
  23. package/lib/ContentCreator/network.d.ts +2 -2
  24. package/lib/ContentCreator/utils/general.d.ts +1 -4
  25. package/lib/ContentCreator/utils/payloadGenerators.d.ts +6 -4
  26. package/lib/ContentCreator/validationSchemas/commonSchemas.d.ts +1 -0
  27. package/lib/ContentCreator/validationSchemas/dynamicValidationSchema.d.ts +17 -5
  28. package/lib/ContentCreator/validationSchemas/eventSchema.d.ts +3 -0
  29. package/lib/ContentCreator/validationSchemas/marketplaceSchema.d.ts +5 -5
  30. package/lib/ContentCreator/validationSchemas/postSchema.d.ts +9 -0
  31. package/lib/DesktopLayoutTwoColumn/DesktopLayoutTwoColumn.types.d.ts +2 -0
  32. package/lib/Forms/Fields/FormToggleInput.d.ts +1 -1
  33. package/lib/InviteModal/network.d.ts +1 -1
  34. package/lib/MobileLayout/MobileLayout.d.ts +1 -1
  35. package/lib/MobileLayout/MobileLayout.types.d.ts +2 -0
  36. package/lib/PremiumFeaturePanel/components/PremiumFeatureSelector/PremiumFeatureSelector.types.d.ts +1 -1
  37. package/lib/PremiumFeaturePanel/components/PremiumFeatureSelector/network.d.ts +1 -1
  38. package/lib/RichTextArea/RichTextArea.types.d.ts +1 -0
  39. package/lib/RichTextArea/lexical/utils.d.ts +5 -8
  40. package/package.json +1 -1
  41. package/style.css +1 -1
@@ -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;
@@ -30,7 +30,7 @@ export declare enum PremiumFeatureOptions {
30
30
  MARKETPLACE_BOOST_HIGHLIGHT = "best_offer",
31
31
  MARKETPLACE_HIGHLIGHT = "highlight"
32
32
  }
33
- export type IconKeys = 'bundle' | 'feature';
33
+ export type IconKeys = 'highlight' | 'boost' | 'feature' | 'bundle';
34
34
  export type PremiumFeatureSelectorProps = {
35
35
  defaultValue?: SelectedPremiumFeature;
36
36
  hasPremiumFeature: boolean;
@@ -4,7 +4,7 @@ export declare const fetchPremiumFeatureProducts: (postId?: number | string) =>
4
4
  identifier: string;
5
5
  name: string;
6
6
  description: string;
7
- icon?: "feature" | "bundle";
7
+ icon?: "highlight" | "boost" | "feature" | "bundle";
8
8
  price_cents: number;
9
9
  tax_rate: number;
10
10
  duration_days?: number | null;
@@ -30,6 +30,7 @@ export type RichTextAreaProps = {
30
30
  onPoiClick?: boolean;
31
31
  onPoiDismiss?: () => void;
32
32
  size?: 'medium' | 'large';
33
+ slot?: ReactNode;
33
34
  submitButton?: ReactNode;
34
35
  value: RichTextAreaValueType;
35
36
  };
@@ -1,11 +1,8 @@
1
- /**
2
- * Generate a unique GID for a mention
3
- */
4
- export declare function generateGID(userId: number): string;
5
- /**
6
- * Fetch neighbours for mention suggestions
7
- */
8
- export declare function fetchNeighbours(query: string, groupId?: number, postId?: number): Promise<{
1
+ export declare function fetchNeighbours(query: string, limit?: string, reach?: 'hood'): Promise<{
2
+ page: import('../../../../../api/src/lib/core').components["schemas"]["Core_V3_Neighbour_List"];
3
+ page_info: import('../../../../../api/src/lib/core').components["schemas"]["PageInfo"];
4
+ } | undefined>;
5
+ export declare function fetchMembers(query: string, groupId: number, after?: string | null, limit?: string): Promise<{
9
6
  page: import('../../../../../api/src/lib/core').components["schemas"]["Core_V3_Neighbour_List"];
10
7
  page_info: import('../../../../../api/src/lib/core').components["schemas"]["PageInfo"];
11
8
  } | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "4.7.0-development.1",
3
+ "version": "4.7.0-development.11",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",