@mirantes-micro/foundation-design-system 1.2.230 → 1.2.232

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
@@ -2092,7 +2092,7 @@ interface CreatePostContentProps {
2092
2092
  readonly onEditScheduledPost: (postId: string) => void;
2093
2093
  readonly onDeleteScheduledPost: (postId?: string) => void;
2094
2094
  readonly onEditPostSubmit: (postId: string, updatedDate?: Date | null, shouldUpdateScheduledAt?: boolean) => void;
2095
- readonly onSubmit: (type: "REEL" | "NORMAL") => void;
2095
+ readonly onSubmit: (type: 'REEL' | 'NORMAL') => void;
2096
2096
  readonly onClose?: () => void;
2097
2097
  readonly shouldLoadScheduledPosts?: boolean;
2098
2098
  readonly onPostDeleted?: () => void;
@@ -2110,8 +2110,10 @@ type CreatePostToolbarProps = {
2110
2110
  readonly hasMedia?: boolean;
2111
2111
  readonly onEmojiClick?: () => void;
2112
2112
  readonly onViewScheduledPosts?: () => void;
2113
+ readonly onSubmit?: (type: 'REEL' | 'NORMAL') => void;
2114
+ readonly postType?: string;
2113
2115
  };
2114
- declare function CreatePostToolbar({ onMediaSelect, isForReels, onScheduleClick, onMentionClick, showScheduleOption, hasMedia, onEmojiClick, onViewScheduledPosts, }: CreatePostToolbarProps): React__default.JSX.Element;
2116
+ declare function CreatePostToolbar({ onMediaSelect, isForReels, onScheduleClick, onMentionClick, hasMedia, onEmojiClick, onViewScheduledPosts, onSubmit, postType, }: CreatePostToolbarProps): React__default.JSX.Element;
2115
2117
 
2116
2118
  type CreatePostScheduleStepProps = {
2117
2119
  readonly onBack: () => void;
@@ -2140,7 +2142,7 @@ type CreatePostFormProps = {
2140
2142
  readonly showScheduleOption?: boolean;
2141
2143
  readonly onViewScheduledPosts?: () => void;
2142
2144
  };
2143
- declare function CreatePostForm({ onSubmit, onScheduleClick, scheduledDate, showScheduleOption, onViewScheduledPosts }: CreatePostFormProps): React__default.JSX.Element;
2145
+ declare function CreatePostForm({ onSubmit, onScheduleClick, scheduledDate, showScheduleOption, onViewScheduledPosts, }: CreatePostFormProps): React__default.JSX.Element;
2144
2146
 
2145
2147
  type Profile = {
2146
2148
  id: string;
@@ -2152,7 +2154,7 @@ type CreatePostModalFiltersProps = {
2152
2154
  readonly selectedProfile?: Profile | null;
2153
2155
  readonly onProfileSelectClick: () => void;
2154
2156
  };
2155
- declare function CreatePostModalFilters({ selectedProfile, onProfileSelectClick }: CreatePostModalFiltersProps): React__default.JSX.Element;
2157
+ declare function CreatePostModalFilters({ selectedProfile, onProfileSelectClick, }: CreatePostModalFiltersProps): React__default.JSX.Element;
2156
2158
 
2157
2159
  interface SavedItemsStoreProps {
2158
2160
  isOpen: boolean;