@lobehub/ui 1.120.3 → 1.120.4

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.
@@ -26,8 +26,7 @@ var EditableMessage = /*#__PURE__*/memo(function (_ref2) {
26
26
  editing = _ref2.editing,
27
27
  openModal = _ref2.openModal,
28
28
  onOpenChange = _ref2.onOpenChange,
29
- _ref2$placeholder = _ref2.placeholder,
30
- placeholder = _ref2$placeholder === void 0 ? 'Type something...' : _ref2$placeholder,
29
+ placeholder = _ref2.placeholder,
31
30
  _ref2$showEditWhenEmp = _ref2.showEditWhenEmpty,
32
31
  showEditWhenEmpty = _ref2$showEditWhenEmp === void 0 ? false : _ref2$showEditWhenEmp,
33
32
  stylesProps = _ref2.styles,
@@ -86,7 +85,7 @@ var EditableMessage = /*#__PURE__*/memo(function (_ref2) {
86
85
  overflowX: 'hidden',
87
86
  overflowY: 'auto'
88
87
  }, stylesProps === null || stylesProps === void 0 ? void 0 : stylesProps.markdown),
89
- children: value || placeholder
88
+ children: value || placeholder || ''
90
89
  }), /*#__PURE__*/_jsx(MessageModal, {
91
90
  editing: isEdit,
92
91
  extra: model === null || model === void 0 ? void 0 : model.extra,
@@ -22,8 +22,7 @@ var MessageInput = /*#__PURE__*/memo(function (_ref) {
22
22
  renderButtons = _ref.renderButtons,
23
23
  textareaStyle = _ref.textareaStyle,
24
24
  textareaClassname = _ref.textareaClassname,
25
- _ref$placeholder = _ref.placeholder,
26
- placeholder = _ref$placeholder === void 0 ? 'Type something...' : _ref$placeholder,
25
+ placeholder = _ref.placeholder,
27
26
  _ref$height = _ref.height,
28
27
  height = _ref$height === void 0 ? 'auto' : _ref$height,
29
28
  style = _ref.style,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.120.3",
3
+ "version": "1.120.4",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",