@mirantes-micro/foundation-design-system 1.2.39 → 1.2.44
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/dist/index.d.ts +23 -3
- package/dist/index.js +88 -60
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ type User = {
|
|
|
111
111
|
role?: string;
|
|
112
112
|
slug: string;
|
|
113
113
|
isInterestsSynced?: boolean;
|
|
114
|
+
headline?: string;
|
|
114
115
|
followersCount?: number;
|
|
115
116
|
followingCount?: number;
|
|
116
117
|
postsCount?: number;
|
|
@@ -653,8 +654,9 @@ interface IRatingsCardProps {
|
|
|
653
654
|
currentUserId?: string;
|
|
654
655
|
}
|
|
655
656
|
|
|
656
|
-
declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, variant, forAPage, currentUserId, }: IRatingsCardProps & {
|
|
657
|
+
declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, variant, forAPage, currentUserId, className, }: IRatingsCardProps & {
|
|
657
658
|
variant?: "maximized" | "minimized";
|
|
659
|
+
className?: string;
|
|
658
660
|
}): React__default.JSX.Element;
|
|
659
661
|
|
|
660
662
|
interface RattingSuggestionCardProps {
|
|
@@ -689,11 +691,29 @@ interface ShareProfileModalProps extends RattingSuggestionCardProps {
|
|
|
689
691
|
isOpen: boolean;
|
|
690
692
|
onClose: () => void;
|
|
691
693
|
}
|
|
692
|
-
declare function ShareProfileModal({ asPage, page, user, isOpen, onClose }: ShareProfileModalProps): React__default.JSX.Element;
|
|
694
|
+
declare function ShareProfileModal({ asPage, page, user, isOpen, onClose, }: ShareProfileModalProps): React__default.JSX.Element;
|
|
693
695
|
|
|
694
696
|
interface ShareProfileDivProps extends RattingSuggestionCardProps {
|
|
695
697
|
className?: string;
|
|
696
698
|
}
|
|
697
699
|
declare function ShareProfile({ asPage, page, user, className }: ShareProfileDivProps): React__default.JSX.Element;
|
|
698
700
|
|
|
699
|
-
|
|
701
|
+
type AvatarRatingBadgeProps = {
|
|
702
|
+
name?: string;
|
|
703
|
+
src?: string;
|
|
704
|
+
rating: number;
|
|
705
|
+
asPage?: boolean;
|
|
706
|
+
};
|
|
707
|
+
declare function AvatarRatingBadge({ name, asPage, src, rating }: AvatarRatingBadgeProps): React__default.JSX.Element;
|
|
708
|
+
|
|
709
|
+
type AddRatingProps = {
|
|
710
|
+
enableTitle?: boolean;
|
|
711
|
+
variantStars?: "large" | "small";
|
|
712
|
+
forAPage?: boolean;
|
|
713
|
+
receiverPageId?: string;
|
|
714
|
+
receiverUserId?: string;
|
|
715
|
+
className?: string;
|
|
716
|
+
};
|
|
717
|
+
declare function AddRating({ enableTitle, variantStars, forAPage, receiverPageId, receiverUserId, className, }: AddRatingProps): React__default.JSX.Element;
|
|
718
|
+
|
|
719
|
+
export { AddRating, AddressAutocompleteInput, AnimatedModal, AutoDownloadBanner, AvatarRatingBadge, BaseInput, Button, ChatContacts, ChatView, ChatViewDesktopPage, CheckBoxInput, ContactsModal, CountryDisplay, CountryInput, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, DownloadMobileVersionBanner, DownloadModalTrigger, GradientModal, Header, MessageButton, MirantesButton, MirantesFoundationProvider, PagesFeedTrigger, RadioButtonInput, RatingsCard, RattingSuggestionCard, ResponsiveDrawer, SalaryInputWithButton, Calendar as ScheduleCalendar, ShareProfile, ShareProfileButton, ShareProfileModal, Spinner, WorkspacePanel, clearSettingsCookie, closeLogoutChannel, getInitials, getSettingsFromCookie, joinUrlWithPathAndQuery, onLogout, stringToObj, useApiGetPage, useCandidaciesTriggerStore, useCommunityTriggerStore, useJobTriggerStore, useLoadSettings, useMirantesFoundation, useModalStore, useOportunitiesStore, usePeriodicDownloadBanner, useSetChatVisibility };
|