@dust-tt/sparkle 0.2.77 → 0.2.78
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
2
|
interface CitationProps {
|
|
3
|
-
type?: "slack" | "google_drive" | "github" | "notion" | "document";
|
|
3
|
+
type?: "confluence" | "slack" | "google_drive" | "github" | "notion" | "document";
|
|
4
4
|
title: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
index?: ReactNode;
|
package/dist/esm/index.js
CHANGED
|
@@ -32883,11 +32883,12 @@ var SvgSlack = function (props) { return (React.createElement("svg", __assign({
|
|
|
32883
32883
|
React.createElement("path", { fill: "#ECB22E", d: "M14.633 17.796c1.162 0 2.1.94 2.1 2.102a2.099 2.099 0 1 1-4.2 0v-2.102h2.1Zm0-1.05c-1.161 0-2.1-.94-2.1-2.103a2.1 2.1 0 0 1 2.1-2.102H19.9a2.1 2.1 0 0 1 2.1 2.102 2.099 2.099 0 0 1-2.1 2.102h-5.267Z" }))); };
|
|
32884
32884
|
|
|
32885
32885
|
var typeIcons = {
|
|
32886
|
-
|
|
32887
|
-
|
|
32886
|
+
confluence: SvgConfluence,
|
|
32887
|
+
document: SvgDocumentText,
|
|
32888
32888
|
github: SvgGithub,
|
|
32889
|
+
google_drive: SvgDrive,
|
|
32889
32890
|
notion: SvgNotion,
|
|
32890
|
-
|
|
32891
|
+
slack: SvgSlack,
|
|
32891
32892
|
};
|
|
32892
32893
|
function Citation(_a) {
|
|
32893
32894
|
var title = _a.title, index = _a.index, _b = _a.type, type = _b === void 0 ? "document" : _b, description = _a.description, href = _a.href, onClose = _a.onClose, _c = _a.isBlinking, isBlinking = _c === void 0 ? false : _c, avatarUrl = _a.avatarUrl;
|