@commercetools-uikit/rich-text-utils 20.6.3 → 20.6.5

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.
@@ -1302,11 +1302,7 @@ const ToolbarRightControls = /*#__PURE__*/_styled__default["default"]("div", {
1302
1302
  const Toolbar = /*#__PURE__*/_styled__default["default"]("div", {
1303
1303
  target: "e1sckae42"
1304
1304
  } )("display:flex;flex-wrap:wrap;font-family:", designSystem.designTokens.fontFamily, ";border-radius:", designSystem.designTokens.borderRadiusForInput, ";border-bottom:0;padding:none;padding-left:none;align-items:flex-start;align-content:stretch;position:relative;&::after{position:absolute;content:'';width:calc(100% - ", designSystem.designTokens.spacing20, ");height:1px;background:", designSystem.designTokens.colorNeutral, ";left:50%;transform:translateX(-50%);bottom:-1px;}&:focus{outline:none;}" + ("" ));
1305
- var _ref$2 = {
1306
- name: "7g2mws",
1307
- styles: "h1,h2,h3,h4,h5,h6{margin:0;}p{margin:0;line-height:22px;}"
1308
- } ;
1309
- const reset = props => [_ref$2, props.isReadOnly && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.fontColorForInputWhenReadonly, ";" + ("" ), "" ), props.isDisabled && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.fontColorForInputWhenDisabled, ";" + ("" ), "" )];
1305
+ const reset = props => [/*#__PURE__*/react$1.css("h1,h2,h3,h4,h5,h6{margin:0;}p{margin:0;line-height:22px;}ul,ol{margin:", designSystem.designTokens.spacing30, " 0;padding-left:", designSystem.designTokens.spacing40, ";}ul{list-style:disc outside;}ol{list-style:decimal outside;}li{line-height:22px;}" + ("" ), "" ), props.isReadOnly && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.fontColorForInputWhenReadonly, ";" + ("" ), "" ), props.isDisabled && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.fontColorForInputWhenDisabled, ";" + ("" ), "" )];
1310
1306
  const EditorContainer = /*#__PURE__*/_styled__default["default"]("div", {
1311
1307
  target: "e1sckae41"
1312
1308
  } )("padding:", designSystem.designTokens.spacing20, " 0 0;border-radius:", designSystem.designTokens.borderRadiusForInput, ";font-family:", designSystem.designTokens.fontFamily, ";border-color:", props => getBorderColor(props), ";overflow-y:scroll;", reset, " ", getTextColor, ";" + ("" ));
@@ -1932,7 +1928,7 @@ RichTextEditorBody.displayName = 'RichTextEditorBody';
1932
1928
  var RichTextEditorBody$1 = RichTextEditorBody;
1933
1929
 
1934
1930
  // NOTE: This string will be replaced on build time with the package version.
1935
- var version = "20.6.3";
1931
+ var version = "20.6.5";
1936
1932
 
1937
1933
  exports.Element = Element;
1938
1934
  exports.HiddenInput = HiddenInput$1;