@lobehub/ui 2.1.2 → 2.1.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.
|
@@ -104,12 +104,12 @@ var FormModal = /*#__PURE__*/memo(function (_ref) {
|
|
|
104
104
|
children: /*#__PURE__*/_jsx(Form, _objectSpread(_objectSpread({
|
|
105
105
|
className: cx(s.form, formClassName),
|
|
106
106
|
clearOnDestroy: destroyOnClose,
|
|
107
|
-
footer:
|
|
107
|
+
footer: /*#__PURE__*/_jsx(Flexbox, {
|
|
108
108
|
align: 'center',
|
|
109
109
|
className: cx(s.footer, footerClassName),
|
|
110
110
|
gap: 8,
|
|
111
111
|
horizontal: true,
|
|
112
|
-
children: /*#__PURE__*/_jsx(Button, _objectSpread(_objectSpread({
|
|
112
|
+
children: footer || /*#__PURE__*/_jsx(Button, _objectSpread(_objectSpread({
|
|
113
113
|
block: true,
|
|
114
114
|
htmlType: "submit",
|
|
115
115
|
loading: submitLoading,
|
|
@@ -74,8 +74,7 @@ export var useMarkdown = function useMarkdown(_ref) {
|
|
|
74
74
|
enableLatex = _ref$enableLatex === void 0 ? true : _ref$enableLatex,
|
|
75
75
|
_ref$enableMermaid = _ref.enableMermaid,
|
|
76
76
|
enableMermaid = _ref$enableMermaid === void 0 ? true : _ref$enableMermaid,
|
|
77
|
-
|
|
78
|
-
enableImageGallery = _ref$enableImageGalle === void 0 ? true : _ref$enableImageGalle,
|
|
77
|
+
enableImageGallery = _ref.enableImageGallery,
|
|
79
78
|
enableCustomFootnotes = _ref.enableCustomFootnotes,
|
|
80
79
|
componentProps = _ref.componentProps,
|
|
81
80
|
allowHtml = _ref.allowHtml,
|
|
@@ -22,7 +22,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
22
22
|
var useStyles = createStyles(function (_ref) {
|
|
23
23
|
var css = _ref.css;
|
|
24
24
|
return {
|
|
25
|
-
container: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n overflow: hidden;\n margin-block:
|
|
25
|
+
container: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n overflow: hidden;\n margin-block: 0.5em;\n border-radius: calc(var(--lobe-markdown-border-radius) * 1px);\n box-shadow: 0 0 0 1px var(--lobe-markdown-border-color) inset;\n "])))
|
|
26
26
|
};
|
|
27
27
|
});
|
|
28
28
|
export var Pre = function Pre(_ref2) {
|