@deepcitation/deepcitation-js 1.1.25 → 1.1.26

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/lib/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export { parseCitation, getCitationStatus, getAllCitationsFromLlmOutput, groupCi
8
8
  export { normalizeCitations, getCitationPageNumber, } from "./parsing/normalizeCitation.js";
9
9
  export { isGeminiGarbage, cleanRepeatingLastSentence, } from "./parsing/parseWorkAround.js";
10
10
  export type { Citation, CitationStatus, VerifyCitationRequest, VerifyCitationResponse, OutputImageFormat, } from "./types/citation.js";
11
+ export { DeepCitationIcon } from "./react/icons.js";
11
12
  export { DEFAULT_OUTPUT_IMAGE_FORMAT } from "./types/citation.js";
12
13
  export type { Verification } from "./types/verification.js";
13
14
  export { NOT_FOUND_VERIFICATION_INDEX, PENDING_VERIFICATION_INDEX, BLANK_VERIFICATION, } from "./types/verification.js";
package/lib/index.js CHANGED
@@ -8,6 +8,8 @@ export { DeepCitation } from "./client/index.js";
8
8
  export { parseCitation, getCitationStatus, getAllCitationsFromLlmOutput, groupCitationsByAttachmentId, groupCitationsByAttachmentIdObject, } from "./parsing/parseCitation.js";
9
9
  export { normalizeCitations, getCitationPageNumber, } from "./parsing/normalizeCitation.js";
10
10
  export { isGeminiGarbage, cleanRepeatingLastSentence, } from "./parsing/parseWorkAround.js";
11
+ // Icons
12
+ export { DeepCitationIcon } from "./react/icons.js";
11
13
  export { DEFAULT_OUTPUT_IMAGE_FORMAT } from "./types/citation.js";
12
14
  export { NOT_FOUND_VERIFICATION_INDEX, PENDING_VERIFICATION_INDEX, BLANK_VERIFICATION, } from "./types/verification.js";
13
15
  // Utilities
@@ -1,3 +1,9 @@
1
+ /**
2
+ * DeepCitation icon SVG (no dependencies)
3
+ */
4
+ export declare const DeepCitationIcon: ({ className }: {
5
+ className?: string;
6
+ }) => import("react/jsx-runtime").JSX.Element;
1
7
  /**
2
8
  * Check icon SVG (no dependencies)
3
9
  */
@@ -1,5 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { cn } from "./utils.js";
3
+ /**
4
+ * DeepCitation icon SVG (no dependencies)
5
+ */
6
+ export const DeepCitationIcon = ({ className }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "square", shapeRendering: "crispEdges", className: className, children: [_jsx("path", { d: "M7 3 L3 3 L3 21 L7 21" }), _jsx("path", { d: "M17 3 L21 3 L21 21 L17 21" })] }));
3
7
  /**
4
8
  * Check icon SVG (no dependencies)
5
9
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepcitation/deepcitation-js",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "description": "DeepCitation JavaScript SDK for deterministic AI citation verification",
5
5
  "type": "module",
6
6
  "private": false,