@mirantes-micro/foundation-design-system 1.2.260 → 1.2.262
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 +3 -2
- package/dist/index.js +189 -192
- package/package.json +198 -198
package/dist/index.d.ts
CHANGED
|
@@ -466,7 +466,7 @@ interface ModalConfigProps {
|
|
|
466
466
|
interface AnimatedModalProps extends BaseModalProps, ModalStyleProps, ModalBehaviorProps, ModalConfigProps {
|
|
467
467
|
}
|
|
468
468
|
|
|
469
|
-
declare function AnimatedModal({ isOpen, onClose, children, variant, className, contentClassName, overlayClassName, closeOnClickOutside, closeOnEscape, hideCloseButton, showOverlay, position, header, zIndex, offsetTop, preventBodyScroll }: AnimatedModalProps): React__default.JSX.Element;
|
|
469
|
+
declare function AnimatedModal({ isOpen, onClose, children, variant, className, contentClassName, overlayClassName, closeOnClickOutside, closeOnEscape, hideCloseButton, showOverlay, position, header, zIndex, offsetTop, preventBodyScroll, }: AnimatedModalProps): React__default.JSX.Element;
|
|
470
470
|
|
|
471
471
|
interface BaseInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
472
472
|
placeholder: string;
|
|
@@ -2314,8 +2314,9 @@ interface SharePostModalProps {
|
|
|
2314
2314
|
post: Post;
|
|
2315
2315
|
isProfileLink?: boolean;
|
|
2316
2316
|
variant?: "share" | "repost";
|
|
2317
|
+
postCardComponent?: React__default.ReactNode | JSX.Element;
|
|
2317
2318
|
}
|
|
2318
|
-
declare const SharePostModal: ({ isOpen, onClose, post, variant, isProfileLink }: SharePostModalProps) =>
|
|
2319
|
+
declare const SharePostModal: ({ isOpen, onClose, post, variant, isProfileLink, postCardComponent, }: SharePostModalProps) => JSX.Element;
|
|
2319
2320
|
|
|
2320
2321
|
declare function getInitials(fullName: string): string;
|
|
2321
2322
|
|