@mirantes-micro/foundation-design-system 1.2.189 → 1.2.191

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 CHANGED
@@ -86,6 +86,7 @@ interface IMirantesFoundationContext {
86
86
  environment?: string;
87
87
  socketApiUrl?: string;
88
88
  mirantesDomain?: string;
89
+ hostUrl?: string;
89
90
  locale?: TLocale;
90
91
  Link?: LinkComponent;
91
92
  usePathname?: UsePathname;
@@ -828,10 +829,12 @@ interface OportunitiesState {
828
829
  }
829
830
  declare const useOportunitiesStore: zustand.UseBoundStore<zustand.StoreApi<OportunitiesState>>;
830
831
 
831
- declare function ChatContacts({ postId, onClose, searchTerm }: {
832
+ declare function ChatContacts({ postId, onClose, searchTerm, selectedContacts, setSelectedContacts }: {
832
833
  postId?: string;
833
834
  onClose?: () => void;
834
835
  searchTerm?: string;
836
+ selectedContacts?: Set<string>;
837
+ setSelectedContacts?: (contacts: Set<string> | ((prev: Set<string>) => Set<string>)) => void;
835
838
  }): React__default.JSX.Element;
836
839
 
837
840
  declare const DownloadMobileVersionBanner: () => React__default.JSX.Element;
@@ -1089,12 +1092,14 @@ type PostAttachmentProps$2 = {
1089
1092
  description?: string;
1090
1093
  imageUrl?: string;
1091
1094
  url?: string;
1095
+ slug?: string;
1092
1096
  type: string;
1093
1097
  };
1094
1098
  type Post$2 = {
1095
1099
  user: User$2;
1096
1100
  postType: "NORMAL" | "REEL";
1097
1101
  id: string;
1102
+ slug: string;
1098
1103
  createdAt: string;
1099
1104
  scheduledAt?: string;
1100
1105
  bio: string;
@@ -1112,6 +1117,7 @@ type Post$2 = {
1112
1117
  description: string;
1113
1118
  imageUrl: string;
1114
1119
  url: string;
1120
+ slug: string;
1115
1121
  };
1116
1122
  images: PostAssetProps$2[];
1117
1123
  videos: PostAssetProps$2[];
@@ -1479,7 +1485,7 @@ declare function MessagesButtonFromPage({ user, label, className, disabled, onCl
1479
1485
 
1480
1486
  declare function useRestorePendingChat(): void;
1481
1487
 
1482
- type OwnerType = "user" | "organization" | "system" | "chat";
1488
+ type OwnerType = 'user' | 'organization' | 'system' | 'chat';
1483
1489
  interface AssetUploadRequest {
1484
1490
  file: File;
1485
1491
  owner_type: OwnerType;
@@ -1488,14 +1494,15 @@ interface AssetUploadRequest {
1488
1494
  }
1489
1495
  interface AssetUploadResponse {
1490
1496
  data: {
1491
- url: string;
1497
+ url?: string;
1498
+ assetId?: string;
1492
1499
  };
1493
1500
  message: string;
1494
1501
  }
1495
1502
  interface SignedUrlRequest {
1496
1503
  assetId: string;
1497
1504
  expiry: number;
1498
- version: "small" | "medium" | "large";
1505
+ version: 'small' | 'medium' | 'large';
1499
1506
  }
1500
1507
  interface SignedUrlResponse {
1501
1508
  data: {
@@ -1505,7 +1512,7 @@ interface SignedUrlResponse {
1505
1512
  };
1506
1513
  message: string;
1507
1514
  }
1508
- type AssetVersionKey = "small" | "medium" | "large";
1515
+ type AssetVersionKey = 'small' | 'medium' | 'large';
1509
1516
  interface AssetVersion {
1510
1517
  format: string;
1511
1518
  platforms: string[];
@@ -1518,7 +1525,7 @@ interface AssetVersionsResponse {
1518
1525
  versions: Record<AssetVersionKey, AssetVersion>;
1519
1526
  }
1520
1527
  interface BulkAssetUploadItemSuccess {
1521
- status: "success";
1528
+ status: 'success';
1522
1529
  message: string;
1523
1530
  data: {
1524
1531
  url: string;
@@ -1526,7 +1533,7 @@ interface BulkAssetUploadItemSuccess {
1526
1533
  };
1527
1534
  }
1528
1535
  interface BulkAssetUploadItemError {
1529
- status: "error";
1536
+ status: 'error';
1530
1537
  message: string;
1531
1538
  data?: null;
1532
1539
  }