@commercetools-uikit/rich-text-utils 20.6.5 → 20.6.7
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,7 +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
|
-
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, ";" + ("" ), "" )];
|
|
1305
|
+
const reset = props => [/*#__PURE__*/react$1.css("h1,h2,h3,h4,h5,h6{margin:0;}p{margin:0;line-height:22px;}h1{font-size:", designSystem.designTokens.fontSize60, ";font-weight:", designSystem.designTokens.fontWeight600, ";line-height:", designSystem.designTokens.lineHeight60, ";}h2{font-size:", designSystem.designTokens.fontSize50, ";font-weight:", designSystem.designTokens.fontWeight500, ";line-height:", designSystem.designTokens.lineHeight50, ";}h3{font-size:", designSystem.designTokens.fontSize40, ";font-weight:", designSystem.designTokens.fontWeight500, ";line-height:", designSystem.designTokens.lineHeight30, ";}h4,h5{font-size:", designSystem.designTokens.fontSize30, ";font-weight:", designSystem.designTokens.fontWeight500, ";line-height:", designSystem.designTokens.lineHeight20, ";}h6{font-size:", designSystem.designTokens.fontSize20, ";font-weight:", designSystem.designTokens.fontWeight500, ";line-height:", designSystem.designTokens.lineHeight20, ";}strong,b{font-weight:", designSystem.designTokens.fontWeight600, ";}u{text-decoration:underline;}s,del{text-decoration:line-through;}sub{vertical-align:sub;}sup{vertical-align:super;}blockquote{margin:0;padding-left:", designSystem.designTokens.spacing20, ";border-left:2px solid ", designSystem.designTokens.colorNeutral, ";}pre{font-family:monospace;}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;}em,i{font-style:italic;}" + ("" ), "" ), props.isReadOnly && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.fontColorForInputWhenReadonly, ";" + ("" ), "" ), props.isDisabled && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.fontColorForInputWhenDisabled, ";" + ("" ), "" )];
|
|
1306
1306
|
const EditorContainer = /*#__PURE__*/_styled__default["default"]("div", {
|
|
1307
1307
|
target: "e1sckae41"
|
|
1308
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, ";" + ("" ));
|
|
@@ -1928,7 +1928,7 @@ RichTextEditorBody.displayName = 'RichTextEditorBody';
|
|
|
1928
1928
|
var RichTextEditorBody$1 = RichTextEditorBody;
|
|
1929
1929
|
|
|
1930
1930
|
// NOTE: This string will be replaced on build time with the package version.
|
|
1931
|
-
var version = "20.6.
|
|
1931
|
+
var version = "20.6.7";
|
|
1932
1932
|
|
|
1933
1933
|
exports.Element = Element;
|
|
1934
1934
|
exports.HiddenInput = HiddenInput$1;
|