@git-diff-view/react 0.0.40 → 0.1.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/cjs/index.development.js +2 -2
- package/dist/cjs/index.development.js.map +1 -1
- package/dist/cjs/index.production.js +2 -2
- package/dist/cjs/index.production.js.map +1 -1
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/index.mjs.map +1 -1
- package/index.d.ts +10 -4
- package/package.json +2 -2
|
@@ -1805,7 +1805,7 @@ const InternalDiffView = (props) => {
|
|
|
1805
1805
|
}, [useDiffContext, wrapperRef]);
|
|
1806
1806
|
const value = React.useMemo(() => ({ useDiffContext }), [useDiffContext]);
|
|
1807
1807
|
return (React__namespace.createElement(DiffViewContext.Provider, { value: value },
|
|
1808
|
-
React__namespace.createElement("div", { className: "diff-tailwindcss-wrapper", "data-component": "git-diff-view", "data-theme": diffFile._getTheme() || "light", "data-version": "0.
|
|
1808
|
+
React__namespace.createElement("div", { className: "diff-tailwindcss-wrapper", "data-component": "git-diff-view", "data-theme": diffFile._getTheme() || "light", "data-version": "0.1.1", "data-highlighter": diffFile._getHighlighterName(), ref: wrapperRef },
|
|
1809
1809
|
React__namespace.createElement("div", { className: "diff-style-root", style: {
|
|
1810
1810
|
// @ts-ignore
|
|
1811
1811
|
[diffFontSizeName]: diffViewFontSize + "px",
|
|
@@ -1895,7 +1895,7 @@ const DiffViewWithRef = (props, ref) => {
|
|
|
1895
1895
|
const InnerDiffView = React.forwardRef(DiffViewWithRef);
|
|
1896
1896
|
InnerDiffView.displayName = "DiffView";
|
|
1897
1897
|
const DiffView = InnerDiffView;
|
|
1898
|
-
const version = "0.
|
|
1898
|
+
const version = "0.1.1";
|
|
1899
1899
|
|
|
1900
1900
|
Object.defineProperty(exports, "SplitSide", {
|
|
1901
1901
|
enumerable: true,
|