@lobehub/ui 1.72.2 → 1.72.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.
- package/es/Markdown/index.js +1 -2
- package/es/SearchBar/index.js +2 -2
- package/package.json +1 -2
package/es/Markdown/index.js
CHANGED
|
@@ -4,7 +4,6 @@ var _excluded = ["children", "className", "style"];
|
|
|
4
4
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
5
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
import { Collapse, Divider, Typography } from 'antd';
|
|
7
|
-
import pangu from 'pangu';
|
|
8
7
|
import { memo } from 'react';
|
|
9
8
|
import ReactMarkdown from 'react-markdown';
|
|
10
9
|
import remarkGfm from 'remark-gfm';
|
|
@@ -34,7 +33,7 @@ var Markdown = /*#__PURE__*/memo(function (_ref) {
|
|
|
34
33
|
components: components,
|
|
35
34
|
remarkPlugins: [remarkGfm]
|
|
36
35
|
}, props), {}, {
|
|
37
|
-
children:
|
|
36
|
+
children: children
|
|
38
37
|
}))
|
|
39
38
|
});
|
|
40
39
|
});
|
package/es/SearchBar/index.js
CHANGED
|
@@ -53,10 +53,10 @@ var SearchBar = /*#__PURE__*/memo(function (_ref) {
|
|
|
53
53
|
};
|
|
54
54
|
}, []);
|
|
55
55
|
return /*#__PURE__*/_jsxs("div", {
|
|
56
|
-
className: styles.search,
|
|
56
|
+
className: cx(styles.search, className),
|
|
57
57
|
children: [spotlight && /*#__PURE__*/_jsx(Spotlight, {}), /*#__PURE__*/_jsx(Input, _objectSpread({
|
|
58
58
|
allowClear: true,
|
|
59
|
-
className:
|
|
59
|
+
className: styles.input,
|
|
60
60
|
onBlur: function onBlur() {
|
|
61
61
|
return setShowTag(true);
|
|
62
62
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/ui",
|
|
3
|
-
"version": "1.72.
|
|
3
|
+
"version": "1.72.4",
|
|
4
4
|
"description": "Lobe UI is an open-source UI component library for building AIGC web apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -90,7 +90,6 @@
|
|
|
90
90
|
"leva": "^0",
|
|
91
91
|
"lodash-es": "^4",
|
|
92
92
|
"lucide-react": "latest",
|
|
93
|
-
"pangu": "^4",
|
|
94
93
|
"polished": "^4",
|
|
95
94
|
"prism-react-renderer": "^2",
|
|
96
95
|
"rc-footer": "^0",
|