@mirantes-micro/foundation-design-system 1.1.2 → 1.1.3
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 +10 -7
- package/dist/index.js +55 -55
- package/package.json +133 -133
package/dist/index.d.ts
CHANGED
|
@@ -622,22 +622,25 @@ declare const designSystemPreset: {
|
|
|
622
622
|
|
|
623
623
|
declare function ChatViewDesktopPage(): React__default.JSX.Element;
|
|
624
624
|
|
|
625
|
-
interface
|
|
626
|
-
avatar?: string;
|
|
627
|
-
name?: string;
|
|
625
|
+
interface TargetEntity {
|
|
628
626
|
id?: string;
|
|
629
|
-
|
|
627
|
+
name?: string;
|
|
628
|
+
avatar?: string;
|
|
629
|
+
logo?: string;
|
|
630
|
+
image?: string;
|
|
631
|
+
}
|
|
632
|
+
interface IMessageButtonProps {
|
|
633
|
+
user?: TargetEntity;
|
|
634
|
+
page?: TargetEntity;
|
|
630
635
|
icon?: React__default.ReactNode;
|
|
631
636
|
label?: string;
|
|
632
637
|
className?: string;
|
|
633
638
|
disabled?: boolean;
|
|
634
639
|
onClick?: () => void;
|
|
635
640
|
isSharing?: boolean;
|
|
636
|
-
user?: any;
|
|
637
|
-
page?: any;
|
|
638
641
|
link?: string;
|
|
639
642
|
}
|
|
640
|
-
declare function MessageButton({
|
|
643
|
+
declare function MessageButton({ user, page, icon, label, className, disabled, onClick: customOnClick, isSharing, link, }: IMessageButtonProps): React__default.JSX.Element;
|
|
641
644
|
|
|
642
645
|
interface JobTriggerState {
|
|
643
646
|
isJobOpen: boolean;
|