oolib 2.68.2 → 2.68.3

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.
@@ -79,16 +79,20 @@ function SimpleTable(_a) {
79
79
  } : _b, _value = _a.value, onChange = _a.onChange, _c = _a.defaultColWidth, defaultColWidth = _c === void 0 ? 200 : _c;
80
80
  var props = arguments[0];
81
81
  var theme = (0, styled_components_1.useTheme)();
82
- var _d = theme || {}, _RichTextEditor = _d.RichTextEditor, convertToRichText = _d.convertToRichText;
82
+ var _d = theme || {}, RichTextEditor = _d.RichTextEditor /*: _RichTextEditor*/, convertToRichText = _d.convertToRichText;
83
83
  //memoizing cuz we dont want all cell rtes to render everytime one cell changes
84
- var RichTextEditor = (0, react_1.useMemo)(function () {
85
- var checkMemoFn = function (prevProps, currentProps) {
86
- var prevVal = prevProps.value;
87
- var currentVal = currentProps.value;
88
- return (0, lodash_1.isEqual)(prevVal, currentVal);
89
- };
90
- return _RichTextEditor && react_1.default.memo(_RichTextEditor, checkMemoFn);
91
- }, []);
84
+ // const RichTextEditor = useMemo(() => {
85
+ // const checkMemoFn = (prevProps, currentProps) => {
86
+ // const {
87
+ // value: prevVal,
88
+ // } = prevProps
89
+ // const {
90
+ // value: currentVal
91
+ // } = currentProps
92
+ // return isEqual(prevVal, currentVal)
93
+ // }
94
+ // return _RichTextEditor && React.memo(_RichTextEditor, checkMemoFn)
95
+ // },[])
92
96
  var _e = (0, react_1.useMemo)(function () { return (0, prepInitValueFromConfigIfNoValue_1.prepInitValueFromConfigIfNoValue)({
93
97
  _value: _value,
94
98
  config: config,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.68.2",
3
+ "version": "2.68.3",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",