@oliasoft-open-source/react-ui-library 5.7.0-beta-4 → 5.7.0-beta-6
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.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7020,8 +7020,8 @@ const DiffViewer = ({ oldJson: e, newJson: t, viewType: n = SPLIT_VIEW }) => {
|
|
|
7020
7020
|
}, [n]);
|
|
7021
7021
|
let s = ({ target: { value: e } }) => {
|
|
7022
7022
|
a(e);
|
|
7023
|
-
}, { added: l, removed: u } = renderLinesCount(e, t), d = l + u > 3500;
|
|
7024
|
-
return /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx(Card, {
|
|
7023
|
+
}, { added: l, removed: u } = renderLinesCount(e, t), d = l + u, f = d > 3500;
|
|
7024
|
+
return console.log(e, t), console.log("logs", n, l, u, d, f, DiffMethod.WORDS), /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx(Card, {
|
|
7025
7025
|
bordered: !0,
|
|
7026
7026
|
heading: /* @__PURE__ */ jsxs(Flex, {
|
|
7027
7027
|
gap: !0,
|
|
@@ -7035,7 +7035,7 @@ const DiffViewer = ({ oldJson: e, newJson: t, viewType: n = SPLIT_VIEW }) => {
|
|
|
7035
7035
|
}), /* @__PURE__ */ jsxs(Text, {
|
|
7036
7036
|
error: !0,
|
|
7037
7037
|
children: ["-", u]
|
|
7038
|
-
})] }) }), !
|
|
7038
|
+
})] }) }), !f && /* @__PURE__ */ jsx(RadioButton, {
|
|
7039
7039
|
name: "viewType",
|
|
7040
7040
|
options: o,
|
|
7041
7041
|
value: i,
|
|
@@ -7044,7 +7044,7 @@ const DiffViewer = ({ oldJson: e, newJson: t, viewType: n = SPLIT_VIEW }) => {
|
|
|
7044
7044
|
})]
|
|
7045
7045
|
}),
|
|
7046
7046
|
padding: !1,
|
|
7047
|
-
children:
|
|
7047
|
+
children: f ? /* @__PURE__ */ jsx("div", {
|
|
7048
7048
|
style: { padding: "5px" },
|
|
7049
7049
|
children: /* @__PURE__ */ jsx(Text, {
|
|
7050
7050
|
muted: !0,
|
package/package.json
CHANGED