@moda/om 21.5.0 → 21.5.2

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.
package/dist/index.cjs.js CHANGED
@@ -11208,12 +11208,14 @@ var Divider = function Divider(_ref) {
11208
11208
  var defaultFamily = type === 'two-line' ? undefined : 'serif';
11209
11209
  return /*#__PURE__*/React.createElement("div", _extends$1({
11210
11210
  className: classNames('Divider', type ? "Divider--".concat(type) : '', className)
11211
+ }, rest), /*#__PURE__*/React.createElement("div", _extends$1({
11212
+ className: classNames('Divider__content', type ? "Divider__content--".concat(type) : '', className)
11211
11213
  }, rest), text && /*#__PURE__*/React.createElement(Text, {
11212
11214
  className: "Divider__text",
11213
11215
  treatment: treatment !== null && treatment !== void 0 ? treatment : defaultTreatment,
11214
11216
  color: color,
11215
11217
  family: family !== null && family !== void 0 ? family : defaultFamily
11216
- }, text));
11218
+ }, text)));
11217
11219
  };
11218
11220
 
11219
11221
  var TwoLineDivider = function TwoLineDivider(props) {