@lobehub/ui 1.138.20 → 1.138.22

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.
@@ -7,6 +7,7 @@ import { ChevronDown, ChevronUp } from 'lucide-react';
7
7
  import { rgba } from 'polished';
8
8
  import { forwardRef, useCallback, useEffect, useRef, useState } from 'react';
9
9
  import { Flexbox } from 'react-layout-kit';
10
+ import MobileSafeArea from "../../MobileSafeArea";
10
11
  import ActionIcon from "../../ActionIcon";
11
12
  import ChatInputAreaInner from "../ChatInputAreaInner";
12
13
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -35,7 +36,8 @@ var MobileChatInputArea = /*#__PURE__*/forwardRef(function (_ref2, ref) {
35
36
  onSend = _ref2.onSend,
36
37
  onInput = _ref2.onInput,
37
38
  loading = _ref2.loading,
38
- value = _ref2.value;
39
+ value = _ref2.value,
40
+ safeArea = _ref2.safeArea;
39
41
  var containerRef = useRef(null);
40
42
  var _useStyles = useStyles(),
41
43
  cx = _useStyles.cx,
@@ -133,6 +135,8 @@ var MobileChatInputArea = /*#__PURE__*/forwardRef(function (_ref2, ref) {
133
135
  display: 'none'
134
136
  },
135
137
  children: bottomAddons
138
+ }), safeArea && !isFocused && /*#__PURE__*/_jsx(MobileSafeArea, {
139
+ position: 'bottom'
136
140
  })]
137
141
  });
138
142
  });
package/es/Modal/index.js CHANGED
@@ -77,7 +77,7 @@ var Modal = /*#__PURE__*/memo(function (_ref3) {
77
77
  }
78
78
  }),
79
79
  footer: footer,
80
- height: fullscreen ? '100dvh' : maxHeight || '75vh',
80
+ height: fullscreen ? '100%' : maxHeight || '75vh',
81
81
  maskClassName: cx(styles.wrap, wrapClassName),
82
82
  onClose: onCancel,
83
83
  open: open,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.138.20",
3
+ "version": "1.138.22",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",