@git-diff-view/react 0.0.21 → 0.0.22

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.
@@ -1563,7 +1563,7 @@ const _InternalDiffView = (props) => {
1563
1563
  }, [diffFile]);
1564
1564
  const value = React.useMemo(() => ({ useDiffContext }), [useDiffContext]);
1565
1565
  return (React__namespace.createElement(DiffViewContext.Provider, { value: value },
1566
- React__namespace.createElement("div", { className: "diff-tailwindcss-wrapper", "data-component": "git-diff-view", "data-theme": diffFile._getTheme() || "light", "data-version": "0.0.21", "data-highlighter": diffFile._getHighlighterName(), ref: wrapperRef },
1566
+ React__namespace.createElement("div", { className: "diff-tailwindcss-wrapper", "data-component": "git-diff-view", "data-theme": diffFile._getTheme() || "light", "data-version": "0.0.22", "data-highlighter": diffFile._getHighlighterName(), ref: wrapperRef },
1567
1567
  React__namespace.createElement("div", { className: "diff-style-root", style: {
1568
1568
  // @ts-ignore
1569
1569
  [diffFontSizeName]: diffViewFontSize + "px",
@@ -1626,11 +1626,9 @@ const DiffViewWithRef = (props, ref) => {
1626
1626
  return (React__namespace.createElement(InternalDiffView, Object.assign({ key: diffFile.getId() }, restProps, { diffFile: diffFile, diffViewMode: restProps.diffViewMode || exports.DiffModeEnum.SplitGitHub, diffViewFontSize: restProps.diffViewFontSize || 14 })));
1627
1627
  };
1628
1628
  const InnerDiffView = React.forwardRef(DiffViewWithRef);
1629
- function DiffView(props) {
1630
- return React__namespace.createElement(InnerDiffView, Object.assign({}, props));
1631
- }
1632
- DiffView.displayName = "DiffView";
1633
- const version = "0.0.21";
1629
+ InnerDiffView.displayName = "DiffView";
1630
+ const DiffView = InnerDiffView;
1631
+ const version = "0.0.22";
1634
1632
 
1635
1633
  exports.DiffView = DiffView;
1636
1634
  exports.DiffViewContext = DiffViewContext;