@lobehub/ui 1.164.3 → 1.164.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.
@@ -37,7 +37,7 @@ export var HighlighterFullFeatured = /*#__PURE__*/memo(function (_ref) {
37
37
  className = _ref.className,
38
38
  style = _ref.style,
39
39
  _ref$allowChangeLangu = _ref.allowChangeLanguage,
40
- allowChangeLanguage = _ref$allowChangeLangu === void 0 ? true : _ref$allowChangeLangu,
40
+ allowChangeLanguage = _ref$allowChangeLangu === void 0 ? false : _ref$allowChangeLangu,
41
41
  fileName = _ref.fileName,
42
42
  icon = _ref.icon,
43
43
  actionsRender = _ref.actionsRender,
@@ -117,7 +117,13 @@ export var HighlighterFullFeatured = /*#__PURE__*/memo(function (_ref) {
117
117
  horizontal: true,
118
118
  children: actions
119
119
  })]
120
- }), children]
120
+ }), /*#__PURE__*/_jsx("div", {
121
+ style: expand ? {} : {
122
+ height: 0,
123
+ overflow: 'hidden'
124
+ },
125
+ children: children
126
+ })]
121
127
  }));
122
128
  });
123
129
  export default HighlighterFullFeatured;
@@ -35,6 +35,7 @@ var SyntaxHighlighter = /*#__PURE__*/memo(function (_ref) {
35
35
  dangerouslySetInnerHTML: {
36
36
  __html: data
37
37
  },
38
+ dir: "ltr",
38
39
  style: style
39
40
  }), isLoading && /*#__PURE__*/_jsx(Flexbox, {
40
41
  align: 'center',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.164.3",
3
+ "version": "1.164.4",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",