@dust-tt/sparkle 0.1.47 → 0.1.48

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.
@@ -30,6 +30,8 @@ import { Avatar } from "./components/Avatar";
30
30
  export { Avatar };
31
31
  import Spinner from "./components/Spinner";
32
32
  export { Spinner };
33
+ import { Modal } from "./components/Modal";
34
+ export { Modal };
33
35
  import { LogoHorizontalColor as LogoHorizontalColorLogo, LogoHorizontalDark as LogoHorizontalDarkLogo, LogoHorizontalWhite as LogoHorizontalWhiteLogo, LogoSquareColor as LogoSquareColorLogo, LogoSquareDark as LogoSquareDarkLogo, LogoSquareWhite as LogoSquareWhiteLogo } from "./logo/dust";
34
36
  export { LogoHorizontalColorLogo, LogoHorizontalDarkLogo, LogoHorizontalWhiteLogo, LogoSquareColorLogo, LogoSquareDarkLogo, LogoSquareWhiteLogo, };
35
37
  import { Ai21 as Ai21Logo, Claude as ClaudeLogo, Cohere as CohereLogo, Drive as DriveLogo, Github as GithubLogo, Gpt3 as Gpt3Logo, Gpt4 as Gpt4Logo, HuggingFace as HuggingFaceLogo, Microsoft as MicrosoftLogo, Notion as NotionLogo, Replicate as ReplicateLogo, Slack as SlackLogo } from "./logo/platforms";
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { ButtonProps } from "./Button";
3
+ interface ModalProps {
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ action?: ButtonProps;
7
+ children: React.ReactNode;
8
+ hasChanged: boolean;
9
+ onSave?: () => void;
10
+ }
11
+ export declare function Modal({ isOpen, onClose, action, children, hasChanged, onSave, }: ModalProps): React.JSX.Element;
12
+ export {};