@mirantes-micro/foundation-design-system 1.1.2 → 1.1.4

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 +10 -7
  2. package/dist/index.js +58 -57
  3. 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 IMessageButton {
626
- avatar?: string;
627
- name?: string;
625
+ interface TargetEntity {
628
626
  id?: string;
629
- sendToPage?: boolean;
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({ avatar, id, name, sendToPage, icon, label, className, disabled, onClick: customOnClick, isSharing, user, page, link }: IMessageButton): React__default.JSX.Element;
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;