@lobehub/ui 1.39.0 → 1.39.1

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.
@@ -1,5 +1,5 @@
1
1
  import { type InputProps as AntdInputProps, type InputRef } from 'antd';
2
- import { TextAreaProps as AntdTextAreaProps } from 'antd/es/input/TextArea';
2
+ import { TextAreaProps as AntdTextAreaProps, TextAreaRef } from 'antd/es/input/TextArea';
3
3
  import { type Ref } from 'react';
4
4
  export interface InputProps extends AntdInputProps {
5
5
  /**
@@ -30,4 +30,4 @@ export interface TextAreaProps extends AntdTextAreaProps {
30
30
  */
31
31
  type?: 'ghost' | 'block' | 'pure';
32
32
  }
33
- export declare const TextArea: import("react").NamedExoticComponent<TextAreaProps>;
33
+ export declare const TextArea: import("react").ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & import("react").RefAttributes<TextAreaRef>>;
package/es/Input/index.js CHANGED
@@ -24,7 +24,7 @@ export var Input = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (_ref, re
24
24
  ref: reference
25
25
  }, props));
26
26
  }));
27
- export var TextArea = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (_ref2, reference) {
27
+ export var TextArea = /*#__PURE__*/forwardRef(function (_ref2, reference) {
28
28
  var className = _ref2.className,
29
29
  _ref2$type = _ref2.type,
30
30
  type = _ref2$type === void 0 ? 'ghost' : _ref2$type,
@@ -45,4 +45,4 @@ export var TextArea = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (_ref2
45
45
  resize: 'none'
46
46
  }, style)
47
47
  }, props));
48
- }));
48
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.39.0",
3
+ "version": "1.39.1",
4
4
  "description": "Lobe UI is an open-source UI component library for building chatbot web apps",
5
5
  "keywords": [
6
6
  "lobehub",