@e-llm-studio/citation 0.0.58 → 0.0.59
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/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/src/features/CitationRenderer/CitationRenderer.d.ts +19 -0
- package/dist/src/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
interface CitationRendererProps {
|
|
3
|
+
inLineCitation: boolean;
|
|
4
|
+
citationIcon?: ReactNode;
|
|
5
|
+
citationTitle: string;
|
|
6
|
+
chevronUpComponent?: React.ReactNode;
|
|
7
|
+
chevronDownComponent?: React.ReactNode;
|
|
8
|
+
additionalCallbackForPillButton?: any;
|
|
9
|
+
citationComponent?: ReactNode;
|
|
10
|
+
styles?: {
|
|
11
|
+
pillButton?: CSSProperties;
|
|
12
|
+
citationTitle?: CSSProperties;
|
|
13
|
+
citationWrapper?: CSSProperties;
|
|
14
|
+
citationContent?: CSSProperties;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
declare const CitationRenderer: React.FC<CitationRendererProps>;
|
|
18
|
+
export default CitationRenderer;
|
|
19
|
+
//# sourceMappingURL=CitationRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CitationRenderer.d.ts","sourceRoot":"","sources":["../../../../src/features/CitationRenderer/CitationRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlE,UAAU,qBAAqB;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,+BAA+B,CAAC,EAAE,GAAG,CAAC;IACtC,iBAAiB,CAAC,EAAE,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE;QACL,UAAU,CAAC,EAAE,aAAa,CAAC;QAC3B,aAAa,CAAC,EAAE,aAAa,CAAC;QAC9B,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,eAAe,CAAC,EAAE,aAAa,CAAC;KACnC,CAAC;CACL;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAmDrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { default as ProjectAccordian } from './features/ProjectAccordion/Project
|
|
|
4
4
|
export { default as BookCitation } from './features/BookCitation/BookCitation';
|
|
5
5
|
export { default as Bookemon } from './features/Bookemon/Bookemon';
|
|
6
6
|
export { PdfEditorCitation as PdfCitation } from './features/PdfEditorCitation/PdfEditorCitation';
|
|
7
|
+
export { default as CitationRenderer } from './features/CitationRenderer/CitationRenderer';
|
|
7
8
|
export { DiagnosticSeverity as DiagnosticSeverity } from './features/CodeCitation/_components/CodeEditor';
|
|
8
9
|
export type configurationType = ConfigType;
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA4B,MAAM,sBAAsB,CAAC;AAW5E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAA;AACzF,OAAO,EAAC,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,kBAAkB,IAAI,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAE1G,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA4B,MAAM,sBAAsB,CAAC;AAW5E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAA;AACzF,OAAO,EAAC,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,kBAAkB,IAAI,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAE1G,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC"}
|