@goodhood-web/nebenan-base 3.4.0-development.6 → 3.4.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.
- package/index.d.ts +7 -1
- package/index.js +107 -103
- package/index.mjs +21418 -13909
- package/lib/ComplaintModal/ComplaintModal.types.d.ts +1 -1
- package/lib/DesktopLayoutTwoColumn/DesktopLayoutTwoColumn.d.ts +1 -1
- package/lib/DesktopLayoutTwoColumn/DesktopLayoutTwoColumn.types.d.ts +5 -2
- package/lib/Feed/FeedItem/Marketplace/InteractiveElements/InteractiveCardHeader.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceActions/MarketplaceActions.types.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceActions/components/BuyerActions/BuyerActions.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceBody/MarketplaceBody.types.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.types.d.ts +4 -2
- package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/components/CardAggregator/CardAggregator.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/components/MarketplaceContent/MarketplaceContent.d.ts +3 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/ComplaintModalComponent/ComplaintModalComponent.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/InteractivePostInfo/utils.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/MarketplaceMoreOptions.types.d.ts +1 -1
- package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.d.ts +3 -0
- package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.types.d.ts +13 -0
- package/lib/Feed/FeedItem/Reactions/PostReactions/utils.d.ts +8 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/Like/Like.d.ts +3 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/Like/Like.types.d.ts +21 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/Like/ReactionLabel/ReactionLabel.d.ts +7 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.d.ts +3 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.types.d.ts +16 -0
- package/lib/Feed/FeedItem/utils.d.ts +2 -2
- package/lib/Feed/GridFeed/GridFeed.types.d.ts +1 -1
- package/lib/Feed/utils.d.ts +1 -1
- package/lib/Forms/DynamicForm/DynamicForm.d.ts +1 -1
- package/lib/Forms/Fields/CodeField/CodeField.d.ts +3 -0
- package/lib/Forms/Fields/CodeField/CodeField.types.d.ts +9 -0
- package/lib/Forms/Fields/FormButton/FormButtonProps.d.ts +16 -0
- package/lib/Forms/Fields/FormCodeField.d.ts +5 -0
- package/lib/Forms/Fields/FormContentCreatorTile.d.ts +6 -0
- package/lib/Forms/Fields/FormGenderSelector.d.ts +5 -0
- package/lib/Forms/Fields/FormHeader/FormHeader.d.ts +3 -0
- package/lib/Forms/Fields/FormHeader/FormHeader.types.d.ts +10 -0
- package/lib/Forms/Fields/FormHeader/components/PhoneNumber.d.ts +4 -0
- package/lib/Forms/Fields/FormNameAbbreviation.d.ts +7 -0
- package/lib/Forms/Fields/FormPasswordField.d.ts +5 -0
- package/lib/Forms/Fields/FormPhoneInput.d.ts +5 -0
- package/lib/Forms/Fields/FormSelectInput.d.ts +12 -0
- package/lib/Forms/Fields/FormTextInput.d.ts +1 -1
- package/lib/Forms/Fields/GenderSelector/GenderSelector.d.ts +3 -0
- package/lib/Forms/Fields/GenderSelector/GenderSelector.types.d.ts +19 -0
- package/lib/Forms/Fields/GenderSelector/GenderSelector.utils.d.ts +4 -0
- package/lib/Forms/Fields/NameAbbreviation/NameAbbreviation.d.ts +3 -0
- package/lib/Forms/Fields/NameAbbreviation/NameAbbreviation.types.d.ts +11 -0
- package/lib/Forms/Fields/PasswordField/PasswordField.d.ts +3 -0
- package/lib/Forms/Fields/PasswordField/PasswordField.types.d.ts +16 -0
- package/lib/Forms/Fields/PasswordField/utils.d.ts +1 -0
- package/lib/Forms/Fields/PhoneInput/PhoneInput.d.ts +3 -0
- package/lib/Forms/Fields/PhoneInput/PhoneInput.types.d.ts +16 -0
- package/lib/Forms/Fields/PhoneInput/util.d.ts +153 -0
- package/lib/Forms/Fields/SelectInput/SelectInput.d.ts +3 -0
- package/lib/Forms/Fields/SelectInput/SelectInput.types.d.ts +31 -0
- package/lib/Forms/Fields/SelectInput/components/Input/Input.d.ts +3 -0
- package/lib/Forms/Fields/SelectInput/components/Input/Input.type.d.ts +5 -0
- package/lib/Forms/Fields/SelectInput/components/OptionsList/OptionsList.d.ts +3 -0
- package/lib/Forms/Fields/SelectInput/components/OptionsList/OptionsList.types.d.ts +11 -0
- package/lib/Forms/Fields/SelectInput/utils.d.ts +4 -0
- package/lib/Forms/Fields/index.d.ts +3 -1
- package/lib/Forms/Fields/utils.d.ts +1 -0
- package/lib/Forms/Form/Form.d.ts +1 -1
- package/lib/Forms/Form/Form.types.d.ts +12 -3
- package/lib/Forms/Form/utils/parseApiErrors.d.ts +5 -0
- package/lib/Forms/Form/utils/utils.d.ts +4 -0
- package/lib/Forms/Form.store.d.ts +7 -0
- package/lib/Forms/GridForm/GridForm.d.ts +1 -1
- package/lib/Forms/Wizard/Wizard.d.ts +1 -1
- package/lib/Forms/Wizard/Wizard.types.d.ts +70 -4
- package/lib/Forms/Wizard/WizardContext.d.ts +8 -1
- package/lib/Forms/Wizard/useWizard.d.ts +6 -1
- package/lib/Gallery/Gallery.d.ts +3 -0
- package/lib/Gallery/Gallery.types.d.ts +18 -0
- package/lib/Grids/Grid/Grid.types.d.ts +6 -5
- package/lib/Grids/Grid/GridItem/GridItem.d.ts +1 -1
- package/lib/Grids/Grid/GridItem/GridItem.types.d.ts +1 -0
- package/lib/ImageAttachment/ImageAttachment.d.ts +3 -0
- package/lib/ImageAttachment/ImageAttachment.types.d.ts +10 -0
- package/lib/ImageAttachment/components/CollageImageAttachment/CollageImageAttachment.d.ts +2 -0
- package/lib/ImageAttachment/components/PlaceholderImageAttachment/PlaceholderImageAttachment.d.ts +7 -0
- package/lib/ImageAttachment/components/SwiperImageAttachment/SwiperImageAttachment.d.ts +2 -0
- package/lib/ImageCropper/ImageCropper.d.ts +3 -0
- package/lib/{ImagePicker → ImageCropper}/ImageCropper.types.d.ts +1 -2
- package/lib/ImageCropper/util.d.ts +6 -0
- package/lib/MobileLayout/MobileLayout.types.d.ts +1 -0
- package/lib/ModalGallery/ModalGallery.d.ts +3 -0
- package/lib/ModalGallery/ModalGallery.types.d.ts +9 -0
- package/lib/ModalGallery/utils.d.ts +28 -0
- package/lib/Reactions/ReactionSelection/ReactionSelection.types.d.ts +1 -1
- package/lib/Reactions/ReactionStack/ReactionStack.types.d.ts +3 -7
- package/lib/Reactions/ReactionStack/components/ReactionItem/ReactionItem.types.d.ts +5 -4
- package/lib/Reactions/ReactionStack/components/ReactionPill/ReactionPill.d.ts +2 -2
- package/lib/Reactions/ReactionStack/components/ReactionPill/ReactionPill.type.d.ts +5 -2
- package/lib/Reactions/ReactionTabList/ReactionTabList.types.d.ts +1 -1
- package/lib/Reactions/utils.d.ts +1 -1
- package/lib/Register/Register.d.ts +3 -0
- package/lib/Register/Register.types.d.ts +4 -0
- package/lib/Register/components/PrivacyInfoModal/PrivacyInfoModal.d.ts +3 -0
- package/lib/Register/components/PrivacyInfoModal/PrivacyInfoModal.types.d.ts +3 -0
- package/lib/Registration/Registration.d.ts +3 -0
- package/lib/Registration/Registration.store.d.ts +4 -0
- package/lib/Registration/Registration.types.d.ts +17 -0
- package/lib/Registration/RegistrationCard/RegistrationCard.d.ts +9 -0
- package/lib/Registration/RegistrationFieldMappings/RegistrationFieldMappings.d.ts +3 -0
- package/lib/Registration/RegistrationForm/FieldMappings/FieldMappings.d.ts +3 -0
- package/lib/Registration/RegistrationForm/RegistrationForm.d.ts +3 -0
- package/lib/Registration/RegistrationForm/RegistrationForm.types.d.ts +5 -0
- package/lib/Registration/RegistrationForm/Steps/Address.d.ts +2 -0
- package/lib/Registration/RegistrationForm/Steps/Email.d.ts +3 -0
- package/lib/Registration/RegistrationForm/Steps/Name.d.ts +2 -0
- package/lib/Registration/RegistrationForm/Steps/index.d.ts +4 -0
- package/lib/Registration/RegistrationForm/network.d.ts +4 -0
- package/lib/Registration/VerificationForm/FieldMappings/FieldMappings.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/Gps.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/InviteCode.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/Methods.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/PostalCode.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/PostalCodeRequested.d.ts +2 -0
- package/lib/Registration/VerificationForm/Steps/Sms.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/SmsCode.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/index.d.ts +7 -0
- package/lib/Registration/VerificationForm/VerificationForm.d.ts +3 -0
- package/lib/Registration/VerificationForm/VerificationForm.types.d.ts +10 -0
- package/lib/Registration/VerificationForm/data.d.ts +553 -0
- package/lib/Registration/VerificationForm/network.d.ts +7 -0
- package/lib/Registration/VerificationForm/utils.d.ts +67 -0
- package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.d.ts +3 -0
- package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.types.d.ts +3 -0
- package/lib/Registration/components/MandatoryEmailConfirmation/utils.d.ts +4 -0
- package/lib/Registration/components/SuccessScreen/SuccessScreen.d.ts +2 -0
- package/lib/Registration/utils.d.ts +2 -0
- package/lib/ResponsiveModal/ResponsiveModal.d.ts +1 -1
- package/lib/utils/hooks.d.ts +3 -0
- package/lib/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/ImagePicker/ImageCropper.d.ts +0 -3
- package/lib/ImagePicker/hooks/useCropper.d.ts +0 -5
- package/lib/ImagePicker/util.d.ts +0 -2
- /package/lib/{ImagePicker → ImageCropper}/hooks/useImageLoader.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComplaintReason } from '../../../../api/src/lib/
|
|
1
|
+
import { ComplaintReason } from '../../../../api/src/lib/core_v2/public/v1/types';
|
|
2
2
|
export interface ComplaintModalProps {
|
|
3
3
|
complaintReasons?: ComplaintReason[];
|
|
4
4
|
handleModalClick: () => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DesktopLayoutTwoColumnProps } from './DesktopLayoutTwoColumn.types';
|
|
2
|
-
declare const DesktopLayoutTwoColumn: ({ banner, children, isMainFullWidth, leftAdSlot, navbar, right, rightAdSlot,
|
|
2
|
+
declare const DesktopLayoutTwoColumn: ({ banner, children, enableAdSlots, isMainFullWidth, leftAdSlot, navbar, right, rightAdSlot, }: DesktopLayoutTwoColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default DesktopLayoutTwoColumn;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
export interface DesktopLayoutTwoColumnProps {
|
|
3
|
-
banner
|
|
3
|
+
banner: {
|
|
4
|
+
adSlot?: ReactElement;
|
|
5
|
+
didRender: boolean;
|
|
6
|
+
};
|
|
4
7
|
children: ReactNode;
|
|
5
8
|
enableAdSlots?: boolean;
|
|
9
|
+
isMainFullWidth?: boolean;
|
|
6
10
|
leftAdSlot?: ReactElement;
|
|
7
11
|
navbar: ReactElement;
|
|
8
12
|
right?: ReactElement;
|
|
9
13
|
rightAdSlot?: ReactElement;
|
|
10
|
-
isMainFullWidth?: boolean;
|
|
11
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PostImage } from '../../../../../../../api/src/lib/
|
|
1
|
+
import { PostImage } from '../../../../../../../api/src/lib/core_v2';
|
|
2
2
|
import { default as PostAuthorProps } from '../../PostAuthor/PostAuthor.types';
|
|
3
3
|
import { ProfileData } from '../MarketplaceDetailPage/MarketplaceDetailPage.types';
|
|
4
4
|
export type MarketplaceActionsTypes = {
|
package/lib/Feed/FeedItem/Marketplace/MarketplaceActions/components/BuyerActions/BuyerActions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PostImage } from '../../../../../../../../../api/src/lib/
|
|
1
|
+
import { PostImage } from '../../../../../../../../../api/src/lib/core_v2';
|
|
2
2
|
import { default as PostAuthorProps } from '../../../../PostAuthor/PostAuthor.types';
|
|
3
3
|
type BuyerActionsProps = {
|
|
4
4
|
author: PostAuthorProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EmbedResponse, LevelOfDetail, PostImage } from '../../../../../../../api/src/lib/
|
|
1
|
+
import { EmbedResponse, LevelOfDetail, PostImage } from '../../../../../../../api/src/lib/core_v2';
|
|
2
2
|
import { default as PostAuthorProps } from '../../PostAuthor/PostAuthor.types';
|
|
3
3
|
import { ProfileData } from '../MarketplaceDetailPage/MarketplaceDetailPage.types';
|
|
4
4
|
export interface MarketplaceBodyTypes {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MarketplaceDetailPageProps } from './MarketplaceDetailPage.types';
|
|
2
|
-
export declare function MarketplaceDetailPage({ ads, author, categories, embeds, interactions, isBusinessProfile, postData, profile, related, renderAdSlot, renderGallery, }: MarketplaceDetailPageProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function MarketplaceDetailPage({ ads, author, categories, embeds, handleReserve, interactions, isBusinessProfile, isReserved, postData, profile, related, renderAdSlot, renderGallery, }: MarketplaceDetailPageProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default MarketplaceDetailPage;
|
package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { BusinessProfilesResponse, CategoriesResponse, EmbedResponse, InteractionResponse, NeighbourResponse,
|
|
2
|
+
import { BusinessProfilesResponse, CategoriesResponse, EmbedResponse, InteractionResponse, NeighbourResponse, PostResponse, ProfileResponse, RelatedPostsResponse } from '../../../../../../../api/src/lib/core_v2';
|
|
3
3
|
export interface AdSlot {
|
|
4
4
|
adnuntius?: {
|
|
5
5
|
desktop: string;
|
|
@@ -15,11 +15,13 @@ export interface MarketplaceDetailPageProps {
|
|
|
15
15
|
author: NeighbourResponse | BusinessProfilesResponse;
|
|
16
16
|
categories: CategoriesResponse;
|
|
17
17
|
embeds?: EmbedResponse[];
|
|
18
|
+
handleReserve: () => void;
|
|
18
19
|
interactions: InteractionResponse;
|
|
19
20
|
isBusinessProfile: boolean;
|
|
21
|
+
isReserved: boolean;
|
|
20
22
|
postData: PostResponse;
|
|
21
23
|
profile: ProfileResponse;
|
|
22
24
|
related: RelatedPostsResponse;
|
|
23
25
|
renderAdSlot: (slot: AdSlot) => ReactElement;
|
|
24
|
-
renderGallery:
|
|
26
|
+
renderGallery: ReactElement;
|
|
25
27
|
}
|
|
@@ -2,6 +2,8 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
import { MarketplaceBodyTypes } from '../../../MarketplaceBody/MarketplaceBody.types';
|
|
3
3
|
export interface MarketplaceContentProps {
|
|
4
4
|
children?: ReactElement;
|
|
5
|
+
handleReserve: () => void;
|
|
6
|
+
isReserved: boolean;
|
|
5
7
|
marketplaceBodyItems: MarketplaceBodyTypes;
|
|
6
8
|
}
|
|
7
|
-
export declare const MarketplaceContent: ({ children, marketplaceBodyItems, }: MarketplaceContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const MarketplaceContent: ({ children, handleReserve, isReserved, marketplaceBodyItems, }: MarketplaceContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProfileResponse } from '../../../../../../../../api/src/lib/
|
|
1
|
+
import { ProfileResponse } from '../../../../../../../../api/src/lib/core_v2';
|
|
2
2
|
export declare const ComplaintModalComponent: ({ handleReport, id, open, profile, }: {
|
|
3
3
|
handleReport: () => void;
|
|
4
4
|
id: number;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PostReactionsProps } from './PostReactions.types';
|
|
2
|
+
export declare const PostReactions: ({ getPicturePlaceholder, getReactions, itemId, limit, onReactionSelect, onToggleComments, reactions, replies, selectedReaction, tooltipReactions, }: PostReactionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default PostReactions;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactionType } from '../../../../../../../api/src/lib/types/reactions';
|
|
2
|
+
import { Reaction, ReactionStackProps } from '../../../../Reactions/ReactionStack/ReactionStack.types';
|
|
3
|
+
import { ReactionTabListProps } from '../../../../Reactions/ReactionTabList/ReactionTabList.types';
|
|
4
|
+
export type PostReactionsProps = Omit<ReactionStackProps, 'stack' | 'expanded' | 'onClick'> & {
|
|
5
|
+
getPicturePlaceholder: ReactionTabListProps['getPicturePlaceholder'];
|
|
6
|
+
getReactions: ReactionTabListProps['getReactions'];
|
|
7
|
+
itemId: number;
|
|
8
|
+
onReactionSelect: (emoji: ReactionType) => void;
|
|
9
|
+
onToggleComments: () => void;
|
|
10
|
+
replies?: number;
|
|
11
|
+
selectedReaction?: ReactionType;
|
|
12
|
+
tooltipReactions: Reaction[];
|
|
13
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactionType } from '../../../../../../../api/src/lib/types/reactions';
|
|
2
|
+
import { Reaction } from '../../../../../index';
|
|
3
|
+
export declare const getReactionsArray: (reactions: Reaction[], selectedReaction?: ReactionType) => {
|
|
4
|
+
selected: boolean;
|
|
5
|
+
tooltip?: import('react').ReactNode;
|
|
6
|
+
count?: number | undefined;
|
|
7
|
+
reaction: ReactionType;
|
|
8
|
+
}[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ReactionType } from '../../../../../../../../api/src/lib/types/reactions';
|
|
2
|
+
import { ReplyReactionsProps } from '../ReplyReactions.types';
|
|
3
|
+
export interface Item {
|
|
4
|
+
id: string;
|
|
5
|
+
reaction?: ReactionType;
|
|
6
|
+
}
|
|
7
|
+
export interface Reaction {
|
|
8
|
+
count?: number;
|
|
9
|
+
reaction: ReactionType;
|
|
10
|
+
selected?: boolean;
|
|
11
|
+
tooltip?: string;
|
|
12
|
+
}
|
|
13
|
+
export type SetReaction = (reaction: ReactionType | null) => void;
|
|
14
|
+
export interface LikeProps {
|
|
15
|
+
isComment?: boolean;
|
|
16
|
+
isVerticalLayout?: boolean;
|
|
17
|
+
item: Item;
|
|
18
|
+
locked?: boolean;
|
|
19
|
+
reactions: ReplyReactionsProps['tooltipReactions'];
|
|
20
|
+
setReaction: SetReaction;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactionType } from '../../../../../../../../../api/src/lib/types/reactions';
|
|
2
|
+
type ReactionLabelProps = {
|
|
3
|
+
isLiked: boolean;
|
|
4
|
+
reaction: ReactionType;
|
|
5
|
+
};
|
|
6
|
+
export declare const ReactionLabel: ({ isLiked, reaction }: ReactionLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ReplyReactionsProps } from './ReplyReactions.types';
|
|
2
|
+
export declare const ReplyReactions: ({ getPicturePlaceholder, getReactions, item, itemId, onReactionSelect, onReply, reactions, tooltipReactions, }: ReplyReactionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default ReplyReactions;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactionType } from '../../../../../../../api/src/lib/types/reactions';
|
|
2
|
+
import { Reaction } from '../../../../Reactions/ReactionStack/ReactionStack.types';
|
|
3
|
+
import { ReactionTabListProps } from '../../../../Reactions/ReactionTabList/ReactionTabList.types';
|
|
4
|
+
export type ReplyReactionsProps = {
|
|
5
|
+
getPicturePlaceholder: ReactionTabListProps['getPicturePlaceholder'];
|
|
6
|
+
getReactions: ReactionTabListProps['getReactions'];
|
|
7
|
+
item: {
|
|
8
|
+
id: string;
|
|
9
|
+
reaction?: ReactionType;
|
|
10
|
+
};
|
|
11
|
+
itemId: number;
|
|
12
|
+
onReactionSelect: (emoji: ReactionType | null) => void;
|
|
13
|
+
onReply: () => void;
|
|
14
|
+
reactions: Reaction[];
|
|
15
|
+
tooltipReactions: Reaction[];
|
|
16
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BusinessProfilesResponse, InteractionResponse, NeighbourResponse, PostResponse, ProfileResponse, Section } from '../../../../../api/src/lib/
|
|
2
|
-
import { Category } from '../../../../../api/src/lib/
|
|
1
|
+
import { BusinessProfilesResponse, InteractionResponse, NeighbourResponse, PostResponse, ProfileResponse, Section } from '../../../../../api/src/lib/core_v2';
|
|
2
|
+
import { Category } from '../../../../../api/src/lib/core_v2/v2/categories';
|
|
3
3
|
import { BadgeIconType } from '../../../../../api/src/lib/types/newsFeeds';
|
|
4
4
|
import { MarketplaceBodyTypes } from './Marketplace/MarketplaceBody/MarketplaceBody.types';
|
|
5
5
|
import { AdSlot } from './Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NewsFeedHoodMessage } from '../../../../../api/src/lib/
|
|
1
|
+
import { NewsFeedHoodMessage } from '../../../../../api/src/lib/core_v2';
|
|
2
2
|
import { MarketplaceItemCardlessTypes } from '../FeedItem/Marketplace/MarketplaceItemCardless/MarketplaceItemCardless.types';
|
|
3
3
|
export declare const GridFeedTypeEnum: {
|
|
4
4
|
readonly event: "event";
|
package/lib/Feed/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PostResponse } from '../../../../api/src/lib/
|
|
1
|
+
import { PostResponse } from '../../../../api/src/lib/core_v2';
|
|
2
2
|
export declare const isBookmarked: (id: number, list: number[]) => boolean;
|
|
3
3
|
export declare const getRelatedItemThumbnail: (item: PostResponse) => string;
|
|
4
4
|
export declare const isPublic: (item: PostResponse) => boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { WizardStepT } from '../Wizard/Wizard.types';
|
|
3
|
-
export declare function DynamicForm({ fields, onSubmit }: PropsWithChildren<WizardStepT>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function DynamicForm({ fields, formError, formFieldMap, formKey, id, onSubmit, spacing, validationMode, validationSchema, }: PropsWithChildren<WizardStepT>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default DynamicForm;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonVariationProps } from '../../../../../../ui/src/lib/Atoms/Buttons/Button/Button.types';
|
|
3
|
+
import { TextButtonProps } from '../../../../../../ui/src/lib/Atoms/Buttons/TextButton/TextButton.types';
|
|
4
|
+
export type FormButtonProps = {
|
|
5
|
+
color?: TextButtonProps['color'];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
goTo?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
size?: ButtonVariationProps['size'];
|
|
11
|
+
text?: string;
|
|
12
|
+
type?: React.ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
13
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'text';
|
|
14
|
+
};
|
|
15
|
+
declare const FormButton: ({ color, disabled, goTo, label, onClick, size, text, type, variant, }: FormButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default FormButton;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
+
import { CodeInputProps } from './CodeField/CodeField.types';
|
|
3
|
+
export type FormCodeInputProps = UseControllerProps & Omit<CodeInputProps, 'onComplete' | 'errorText'>;
|
|
4
|
+
export declare const FormCodeField: ({ disabled, length, name, rules, type, variant, }: FormCodeInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default FormCodeField;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ContentCreatorTileProps } from '../../../../../ui/src/lib/Atoms/Buttons/Tiles/ContentCreatorTile/ContentCreatorTile.types';
|
|
2
|
+
export type FormContentCreatorTileProps = ContentCreatorTileProps & {
|
|
3
|
+
id: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const FormContentCreatorTile: ({ description, headline, id, isActive, isPending, sticker, }: FormContentCreatorTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormContentCreatorTile;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
+
import { GenderSelectorProps } from './GenderSelector/GenderSelector.types';
|
|
3
|
+
export type FormGenderSelectorProps = UseControllerProps & Partial<GenderSelectorProps>;
|
|
4
|
+
export declare const FormGenderSelector: ({ name, rules, selectedGender, }: FormGenderSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default FormGenderSelector;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StickerProps } from '../../../../../../ui/src/lib/Atoms/Badges/Sticker/Sticker.types';
|
|
2
|
+
import { NoticeInfoProps, NoticeWarningProps } from '../../../../../../ui/src/lib/Molecules/Notices/Notice/Notice.types';
|
|
3
|
+
export interface FormHeaderProps {
|
|
4
|
+
description?: string;
|
|
5
|
+
header: string;
|
|
6
|
+
notice?: NoticeWarningProps | NoticeInfoProps;
|
|
7
|
+
phoneNr?: boolean;
|
|
8
|
+
sticker?: StickerProps;
|
|
9
|
+
title?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
+
import { NameAbbreviationProps } from './NameAbbreviation/NameAbbreviation.types';
|
|
3
|
+
export type FormNameAbbreviationProps = UseControllerProps & Partial<NameAbbreviationProps> & {
|
|
4
|
+
defaultChecked?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const FormNameAbbreviation: ({ defaultChecked, label, name, rules, }: FormNameAbbreviationProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default FormNameAbbreviation;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
+
import { PasswordFieldProps } from './PasswordField/PasswordField.types';
|
|
3
|
+
export type FormPasswordFieldProps = UseControllerProps & Partial<PasswordFieldProps>;
|
|
4
|
+
declare const FormPasswordField: ({ colorScheme, id, label, name, passwordHint, progressBar, rules, size, value, }: FormPasswordFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default FormPasswordField;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
+
import { default as PhoneInputProps } from './PhoneInput/PhoneInput.types';
|
|
3
|
+
export type FormPhoneInputProps = UseControllerProps & Omit<PhoneInputProps, 'onChange'>;
|
|
4
|
+
export declare const FormPhoneInput: ({ disabledSelect, inputId, name, placeholder, rules, selectId, size, styleInput, styleSelect, }: FormPhoneInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default FormPhoneInput;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseControllerProps } from 'react-hook-form';
|
|
2
|
+
import { SelectInputProps } from './SelectInput/SelectInput.types';
|
|
3
|
+
type FormSelectInputApi = {
|
|
4
|
+
api: {
|
|
5
|
+
dataId: string;
|
|
6
|
+
endpoint: string;
|
|
7
|
+
key: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type FormSelectInputProps = UseControllerProps & Omit<SelectInputProps, 'onSelect' | 'options'> & FormSelectInputApi;
|
|
11
|
+
export declare const FormSelectInput: ({ api, className, disabled, iconButton, id, label, name, rules, sheetBreakpoint, size, style, }: FormSelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default FormSelectInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { UseControllerProps } from 'react-hook-form';
|
|
2
2
|
import { TextInputProps } from '../../../../../ui/src/lib/Atoms/Inputs/TextInput/TextInput.types';
|
|
3
3
|
export type FormTextInputProps = UseControllerProps & Partial<TextInputProps>;
|
|
4
|
-
export default function FormTextInput({ colorScheme, id, label, name, rules, size, value, ...props }: FormTextInputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default function FormTextInput({ colorScheme, hintText, id, label, name, rules, size, value, ...props }: FormTextInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ToggleButtonGroupProps } from '../../../../../../ui/src/lib/Molecules/Selections/SelectablePillGroup/SelectablePillGroup.types';
|
|
2
|
+
export declare const GENDERS: number[];
|
|
3
|
+
export type SelectedGenderOptions = (typeof GENDER_VALUES)[keyof typeof GENDER_VALUES];
|
|
4
|
+
export type GenderSelectorProps = Omit<ToggleButtonGroupProps, 'multiselect' | 'items' | 'selectedItems'> & {
|
|
5
|
+
onChange: (value: SelectedGenderOptions) => void;
|
|
6
|
+
selectedGender: SelectedGenderOptions;
|
|
7
|
+
};
|
|
8
|
+
export declare const GENDER_LABELS: {
|
|
9
|
+
3: string;
|
|
10
|
+
0: string;
|
|
11
|
+
1: string;
|
|
12
|
+
2: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const GENDER_VALUES: {
|
|
15
|
+
3: string;
|
|
16
|
+
0: string;
|
|
17
|
+
1: string;
|
|
18
|
+
2: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SelectablePillProps } from '../../../../../../ui/src/lib/Atoms/Selectables/SelectablePill/SelectablePill.types';
|
|
2
|
+
import { SelectedGenderOptions } from './GenderSelector.types';
|
|
3
|
+
export declare const getGenders: () => SelectablePillProps[];
|
|
4
|
+
export declare const getSelectedGender: (genders: SelectablePillProps[], selectedGender: SelectedGenderOptions) => SelectablePillProps[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ToggleProps } from '../../../../../../ui/src/lib/Atoms/Inputs/Toggle/Toggle.types';
|
|
2
|
+
export interface NameAbbreviationProps extends ToggleProps {
|
|
3
|
+
checked: boolean;
|
|
4
|
+
firstname: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
lastname: string;
|
|
7
|
+
placeholder?: {
|
|
8
|
+
firstname: string;
|
|
9
|
+
lastname: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PasswordFieldProps } from './PasswordField.types';
|
|
2
|
+
declare const PasswordField: ({ colorScheme, errorText, id, label, name, onBlur, onChange, passwordHint, progressBar, size, value, }: PasswordFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default PasswordField;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TextInputProps } from '../../../../../../ui/src/lib/Atoms/Inputs/TextInput/TextInput.types';
|
|
2
|
+
export type PasswordFieldProps = {
|
|
3
|
+
colorScheme?: TextInputProps['colorScheme'];
|
|
4
|
+
error?: TextInputProps['error'];
|
|
5
|
+
errorText?: TextInputProps['errorText'];
|
|
6
|
+
id?: TextInputProps['id'];
|
|
7
|
+
label?: TextInputProps['label'];
|
|
8
|
+
name: TextInputProps['name'];
|
|
9
|
+
onBlur?: TextInputProps['onBlur'];
|
|
10
|
+
onChange?: TextInputProps['onChange'];
|
|
11
|
+
passwordHint?: string;
|
|
12
|
+
progressBar?: boolean;
|
|
13
|
+
showInputHints?: TextInputProps['showInputHints'];
|
|
14
|
+
size?: TextInputProps['size'];
|
|
15
|
+
value?: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getProgressBarProgress: (password: string) => number;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { default as PhoneInputProps } from './PhoneInput.types';
|
|
2
|
+
declare const PhoneInput: ({ defaultSelectValue, disabledSelect, errorText, inputId, onChange, placeholder, selectId, size, styleInput, styleSelect, value, }: PhoneInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default PhoneInput;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TextInputProps } from '../../../../../../ui/src/lib/Atoms/Inputs/TextInput/TextInput.types';
|
|
2
|
+
import { euCountriesOpened } from './util';
|
|
3
|
+
export type DialCode = (typeof euCountriesOpened)[number]['dial_code'];
|
|
4
|
+
export default interface PhoneInputProps {
|
|
5
|
+
defaultSelectValue?: DialCode;
|
|
6
|
+
disabledSelect?: TextInputProps['disabled'];
|
|
7
|
+
errorText?: TextInputProps['errorText'];
|
|
8
|
+
inputId?: string;
|
|
9
|
+
onChange: (selectValue: string, inputValue: string) => void;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
selectId?: string;
|
|
12
|
+
size?: TextInputProps['size'];
|
|
13
|
+
styleInput?: TextInputProps['colorScheme'];
|
|
14
|
+
styleSelect?: TextInputProps['colorScheme'];
|
|
15
|
+
value?: string;
|
|
16
|
+
}
|