sanity-plugin-latex-input 3.0.0 → 3.0.1
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.d.ts +3 -5
- package/dist/index.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import * as _$sanity from "sanity";
|
|
2
1
|
import { ObjectDefinition } from "sanity";
|
|
3
|
-
|
|
4
|
-
declare const latexInput: _$sanity.Plugin<void>;
|
|
2
|
+
declare const latexInput: import("sanity").Plugin<void>;
|
|
5
3
|
interface LatexPreviewProps {
|
|
6
4
|
body?: string;
|
|
7
5
|
layout?: string;
|
|
8
6
|
}
|
|
9
|
-
declare const LatexPreview: (props: LatexPreviewProps) =>
|
|
7
|
+
declare const LatexPreview: (props: LatexPreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
8
|
declare const latexTypeName: "latex";
|
|
11
9
|
/**
|
|
12
10
|
* @public
|
|
@@ -23,7 +21,7 @@ declare const latexSchema: {
|
|
|
23
21
|
type: "object";
|
|
24
22
|
name: "latex";
|
|
25
23
|
} & Omit<ObjectDefinition, "preview"> & {
|
|
26
|
-
preview?:
|
|
24
|
+
preview?: import("sanity").PreviewConfig<{
|
|
27
25
|
body: string;
|
|
28
26
|
}, Record<"body", any>> | undefined;
|
|
29
27
|
};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/plugin.tsx","../src/components/LatexPreview.tsx","../src/schema.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/plugin.tsx","../src/components/LatexPreview.tsx","../src/schema.ts"],"mappings":";cAIa,UAAA,mBAAU,MAAA;AAAA,UCCN,iBAAA;EACf,IAAA;EACA,MAAM;AAAA;AAAA,cAKK,YAAA,GAAgB,KAAA,EAAO,iBAAiB,iCAAA,GAAA,CAAA,OAAA;AAAA,cCR/C,aAAA;AFAN;;;AAAA,UEKiB,eAAA,SAAwB,IAAA,CAAK,gBAAA;EAC5C,IAAA,SAAa,aAAA;AAAA;AAAA;EAAA,UAKI,oBAAA;IACf,KAAA,EAAO,eAAe;EAAA;AAAA;AAAA,cAIb,WAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-latex-input",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "LaTeX input for Portable Text Editor in Sanity Studio.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"latex",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"katex": "^0.17.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@sanity/pkg-utils": "^10.5.
|
|
34
|
+
"@sanity/pkg-utils": "^10.5.4",
|
|
35
35
|
"@types/react": "^19.2.14",
|
|
36
36
|
"@types/react-dom": "^19.2.3",
|
|
37
37
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
38
38
|
"react": "^19.2.5",
|
|
39
39
|
"react-dom": "^19.2.5",
|
|
40
|
-
"sanity": "^
|
|
40
|
+
"sanity": "^6.0.0",
|
|
41
41
|
"@repo/package.config": "0.0.0",
|
|
42
42
|
"@repo/tsconfig": "0.0.0"
|
|
43
43
|
},
|