@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.
- package/dist/cjs/components/Citation.d.ts +1 -1
- package/dist/cjs/components/Hoverable.d.ts +14 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/stories/Hoverable.stories.d.ts +8 -0
- package/dist/esm/components/Citation.d.ts +1 -1
- package/dist/esm/components/Hoverable.d.ts +14 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/stories/Hoverable.stories.d.ts +8 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -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/cjs/index.js
CHANGED
|
@@ -32937,6 +32937,7 @@ var typeIcons = {
|
|
|
32937
32937
|
document: SvgDocumentText,
|
|
32938
32938
|
github: SvgGithub,
|
|
32939
32939
|
google_drive: SvgDrive,
|
|
32940
|
+
intercom: SvgIntercom,
|
|
32940
32941
|
notion: SvgNotion,
|
|
32941
32942
|
slack: SvgSlack,
|
|
32942
32943
|
};
|