@true-engineering/true-react-common-ui-kit 3.4.0 → 3.5.0

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.
@@ -1911,13 +1911,14 @@
1911
1911
  }
1912
1912
  return target;
1913
1913
  }
1914
+ var EMPTY_STYLES = {};
1914
1915
  var isTweakStyle = function(key) {
1915
1916
  return key.startsWith("tweak");
1916
1917
  };
1917
1918
  var cleanStyles = function(tweakStyles) {
1918
1919
  return trueReactPlatformHelpers.isNotEmpty(tweakStyles) && Object.keys(tweakStyles).some(function(key) {
1919
1920
  return !isTweakStyle(key);
1920
- }) ? tweakStyles : void 0;
1921
+ }) ? tweakStyles : EMPTY_STYLES;
1921
1922
  };
1922
1923
  var checkStyles = function(componentName, styles) {
1923
1924
  var invalidClasses = Object.keys(styles).reduce(function(acc, key) {