@titaui/pc 1.11.40-beta.8 → 1.11.40-beta.9
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.
|
@@ -208,14 +208,16 @@ var MblogContent = /*#__PURE__*/function (_PureComponent) {
|
|
|
208
208
|
style: {
|
|
209
209
|
opacity: isFocus ? "0.8" : "1"
|
|
210
210
|
}
|
|
211
|
-
}, placeholderText)), /*#__PURE__*/_react["default"].createElement(_style.TextareaWrapper,
|
|
211
|
+
}, placeholderText)), /*#__PURE__*/_react["default"].createElement(_style.TextareaWrapper, {
|
|
212
|
+
className: "textarea-wrap"
|
|
213
|
+
}, /*#__PURE__*/_react["default"].createElement(_style.Textarea, {
|
|
212
214
|
ref: "textareaSetHeight",
|
|
213
215
|
value: textareaValue,
|
|
214
216
|
onChange: function onChange() {},
|
|
215
217
|
className: "textarea-setheight"
|
|
216
218
|
}), /*#__PURE__*/_react["default"].createElement(_style.Textarea, {
|
|
217
219
|
ref: "textareaInput",
|
|
218
|
-
className: "".concat(visibility === 1 ? "" : "private__bg"),
|
|
220
|
+
className: "textarea-details ".concat(visibility === 1 ? "" : "private__bg"),
|
|
219
221
|
value: textareaValue,
|
|
220
222
|
onFocus: this._handlerFocus,
|
|
221
223
|
onBlur: this._handlerBlur,
|
|
@@ -224,6 +226,7 @@ var MblogContent = /*#__PURE__*/function (_PureComponent) {
|
|
|
224
226
|
onPaste: this._handlerPaste,
|
|
225
227
|
onChange: this._handleInputChange
|
|
226
228
|
})), /*#__PURE__*/_react["default"].createElement(_style.Tips, {
|
|
229
|
+
className: "textarea-tips",
|
|
227
230
|
onMouseDown: this._handlerTipsLabelClick,
|
|
228
231
|
color: maxLength && textareaValueLen > maxLength ? "#EB4447" : textareaValueLen > 0 ? "#2879ff" : "#BFC3C7"
|
|
229
232
|
}, textareaValueLen, "/", maxLength));
|