@mirantes-micro/foundation-design-system 1.2.46 → 1.2.50

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 (3) hide show
  1. package/dist/index.d.ts +23 -4
  2. package/dist/index.js +125 -229
  3. package/package.json +147 -136
package/dist/index.d.ts CHANGED
@@ -680,8 +680,9 @@ interface RattingSuggestionCardProps {
680
680
  totalRatings?: number;
681
681
  };
682
682
  renderFollowButton?: ReactNode;
683
+ averageRatingScore?: number;
683
684
  }
684
- declare function RattingSuggestionCard({ asPage, page, user, renderFollowButton, }: RattingSuggestionCardProps): React__default.JSX.Element;
685
+ declare function RattingSuggestionCard({ asPage, page, user, renderFollowButton, averageRatingScore, }: RattingSuggestionCardProps): React__default.JSX.Element;
685
686
 
686
687
  interface ShareProfileButtonProps {
687
688
  onClick: () => void;
@@ -709,12 +710,30 @@ declare function AvatarRatingBadge({ name, asPage, src, rating }: AvatarRatingBa
709
710
 
710
711
  type AddRatingProps = {
711
712
  enableTitle?: boolean;
712
- variantStars?: "large" | "small";
713
+ variantStars?: "large" | "medium" | "small";
714
+ starSize?: {
715
+ width: number;
716
+ height: number;
717
+ };
713
718
  forAPage?: boolean;
714
719
  receiverPageId?: string;
715
720
  receiverUserId?: string;
716
721
  className?: string;
717
722
  };
718
- declare function AddRating({ enableTitle, variantStars, forAPage, receiverPageId, receiverUserId, className, }: AddRatingProps): React__default.JSX.Element;
723
+ declare function AddRating({ enableTitle, variantStars, starSize, // <-- RECEBIDO AQUI
724
+ forAPage, receiverPageId, receiverUserId, className, }: AddRatingProps): React__default.JSX.Element;
725
+
726
+ interface PageFloatFooterProps {
727
+ /**
728
+ * Callback chamado quando o botão de adicionar é clicado.
729
+ * Se fornecido, será usado em vez do comportamento padrão.
730
+ */
731
+ onAddClick?: () => void;
732
+ }
733
+ declare function PageFloatFooter({ onAddClick }: PageFloatFooterProps): React__default.JSX.Element;
734
+
735
+ declare const NoRecruitmentResponsiveIlustration: ({ className, }: {
736
+ className?: string;
737
+ }) => React__default.JSX.Element;
719
738
 
720
- 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 };
739
+ 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, NoRecruitmentResponsiveIlustration, PageFloatFooter, 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 };