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