@git-diff-view/react 0.0.19 → 0.0.20
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 +39 -6
- package/package.json +4 -4
|
@@ -1553,7 +1553,7 @@ const _InternalDiffView = (props) => {
|
|
|
1553
1553
|
}, [diffFile]);
|
|
1554
1554
|
const value = React.useMemo(() => ({ useDiffContext }), [useDiffContext]);
|
|
1555
1555
|
return (React__namespace.createElement(DiffViewContext.Provider, { value: value },
|
|
1556
|
-
React__namespace.createElement("div", { className: "diff-tailwindcss-wrapper", "data-component": "git-diff-view", "data-theme": diffFile._getTheme() || "light", "data-version": "0.0.
|
|
1556
|
+
React__namespace.createElement("div", { className: "diff-tailwindcss-wrapper", "data-component": "git-diff-view", "data-theme": diffFile._getTheme() || "light", "data-version": "0.0.20", "data-highlighter": diffFile._getHighlighterName(), ref: wrapperRef },
|
|
1557
1557
|
React__namespace.createElement("div", { className: "diff-style-root", style: {
|
|
1558
1558
|
// @ts-ignore
|
|
1559
1559
|
[diffFontSizeName]: diffViewFontSize + "px",
|
|
@@ -1617,7 +1617,7 @@ const DiffViewWithRef = (props, ref) => {
|
|
|
1617
1617
|
};
|
|
1618
1618
|
const DiffView = React.forwardRef(DiffViewWithRef);
|
|
1619
1619
|
DiffView.displayName = "DiffView";
|
|
1620
|
-
const version = "0.0.
|
|
1620
|
+
const version = "0.0.20";
|
|
1621
1621
|
|
|
1622
1622
|
exports.DiffView = DiffView;
|
|
1623
1623
|
exports.DiffViewContext = DiffViewContext;
|