@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/cjs/index.js
CHANGED
|
@@ -32903,11 +32903,12 @@ var SvgSlack = function (props) { return (React__namespace.createElement("svg",
|
|
|
32903
32903
|
React__namespace.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" }))); };
|
|
32904
32904
|
|
|
32905
32905
|
var typeIcons = {
|
|
32906
|
-
|
|
32907
|
-
|
|
32906
|
+
confluence: SvgConfluence,
|
|
32907
|
+
document: SvgDocumentText,
|
|
32908
32908
|
github: SvgGithub,
|
|
32909
|
+
google_drive: SvgDrive,
|
|
32909
32910
|
notion: SvgNotion,
|
|
32910
|
-
|
|
32911
|
+
slack: SvgSlack,
|
|
32911
32912
|
};
|
|
32912
32913
|
function Citation(_a) {
|
|
32913
32914
|
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;
|