@meduza/ui-kit-2 0.1.34 → 0.1.36

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.
@@ -1956,11 +1956,19 @@ var MetaContainer = function MetaContainer(_ref) {
1956
1956
  var themeColor = styleContext && styleContext.indexOf('dark') !== -1 ? 'light' : 'unset';
1957
1957
  var isPodcast = styleContext && styleContext.indexOf('podcast') !== -1;
1958
1958
  var isSlides = styleContext && styleContext.indexOf('slide') !== -1;
1959
+ var context = [];
1960
+
1961
+ if (styleContext && Array.isArray(styleContext)) {
1962
+ context = styleContext.filter(function (item) {
1963
+ return item !== 'dark';
1964
+ });
1965
+ }
1966
+
1959
1967
  var hasSource = !!components.find(function (item) {
1960
1968
  return item.type === 'source_name';
1961
1969
  });
1962
1970
  return React__default.createElement(Meta, {
1963
- styleContext: styleContext,
1971
+ styleContext: context,
1964
1972
  theme: theme || themeColor,
1965
1973
  onlyOn: block.only_on,
1966
1974
  hasSource: hasSource