@meduza/ui-kit-2 0.8.605 → 0.8.606

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.
@@ -1891,21 +1891,21 @@ const MetaContainer = ({
1891
1891
  }
1892
1892
  case 'duration':
1893
1893
  {
1894
- if (styleContext === 'isInDynamicBlock') {
1895
- return /*#__PURE__*/React.createElement(MetaItem, {
1896
- hasSource: hasSource,
1897
- bullets: true,
1898
- key: component.id
1899
- }, component.text);
1900
- }
1894
+ // if (styleContext === 'isInDynamicBlock') {
1895
+ // return (
1896
+ // <MetaItem hasSource={hasSource} bullets key={component.id}>
1897
+ // {component.text}
1898
+ // </MetaItem>
1899
+ // )
1900
+ // }
1901
1901
  return /*#__PURE__*/React.createElement(MetaItem, {
1902
1902
  hasSource: hasSource,
1903
1903
  bullets: true,
1904
1904
  key: component.id
1905
- }, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SvgSymbol, {
1905
+ }, /*#__PURE__*/React.createElement(React.Fragment, null, styleContext !== 'isInDynamicBlock' && ( /*#__PURE__*/React.createElement(SvgSymbol, {
1906
1906
  icon: "podcast",
1907
1907
  size: "small"
1908
- }), component.text));
1908
+ })), component.text));
1909
1909
  }
1910
1910
  case 'datetime':
1911
1911
  {
@@ -1917,7 +1917,12 @@ const MetaContainer = ({
1917
1917
  type: "datetime"
1918
1918
  }, /*#__PURE__*/React.createElement(Timestamp, {
1919
1919
  publishedAt: component.datetime,
1920
- type: styleContext === 'isInDynamicBlock' ? 'fromNow' : format || 'date',
1920
+ // type={
1921
+ // styleContext === 'isInDynamicBlock'
1922
+ // ? 'fromNow'
1923
+ // : format || 'date'
1924
+ // }
1925
+ type: format || 'date',
1921
1926
  locale: lang
1922
1927
  }));
1923
1928
  }