@dust-tt/sparkle 0.2.79 → 0.2.81-rc

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.
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { Hoverable } from "@sparkle/components/Hoverable";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof Hoverable;
6
+ };
7
+ export default meta;
8
+ export declare const HoverableExample: () => React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from "react";
2
2
  interface CitationProps {
3
- type?: "confluence" | "slack" | "google_drive" | "github" | "notion" | "document";
3
+ type?: "confluence" | "slack" | "google_drive" | "github" | "notion" | "intercom" | "document";
4
4
  title: string;
5
5
  description?: string;
6
6
  index?: ReactNode;
@@ -0,0 +1,14 @@
1
+ import React, { SyntheticEvent } from "react";
2
+ import { ReactNode } from "react";
3
+ interface HoverableProps {
4
+ children: ReactNode;
5
+ className: string;
6
+ onClick: (e: SyntheticEvent) => void;
7
+ }
8
+ export declare function Hoverable({ children, className, onClick }: HoverableProps): React.JSX.Element;
9
+ export declare namespace Hoverable {
10
+ var defaultProps: {
11
+ className: string;
12
+ };
13
+ }
14
+ export {};
package/dist/esm/index.js CHANGED
@@ -32917,6 +32917,7 @@ var typeIcons = {
32917
32917
  document: SvgDocumentText,
32918
32918
  github: SvgGithub,
32919
32919
  google_drive: SvgDrive,
32920
+ intercom: SvgIntercom,
32920
32921
  notion: SvgNotion,
32921
32922
  slack: SvgSlack,
32922
32923
  };