dumi-theme-lobehub 1.15.0 → 1.15.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.
|
@@ -7,7 +7,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
9
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
|
-
import { Typography } from '@lobehub/ui';
|
|
11
10
|
import Previewer from 'dumi/theme-default/builtins/Previewer';
|
|
12
11
|
import { useStyles } from "./style";
|
|
13
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -20,13 +19,8 @@ export default (function (_ref) {
|
|
|
20
19
|
var _useStyles = useStyles(pure),
|
|
21
20
|
styles = _useStyles.styles,
|
|
22
21
|
cx = _useStyles.cx;
|
|
23
|
-
return /*#__PURE__*/_jsx(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
marginMultiple: 0,
|
|
27
|
-
children: /*#__PURE__*/_jsx("div", {
|
|
28
|
-
className: cx(styles.container, pure && styles.pure, center && styles.center, nopadding && styles.nopadding, styles[codePlacement]),
|
|
29
|
-
children: /*#__PURE__*/_jsx(Previewer, _objectSpread({}, props))
|
|
30
|
-
})
|
|
22
|
+
return /*#__PURE__*/_jsx("div", {
|
|
23
|
+
className: cx('ignore-markdown-style', styles.container, pure && styles.pure, center && styles.center, nopadding && styles.nopadding, styles[codePlacement]),
|
|
24
|
+
children: /*#__PURE__*/_jsx(Previewer, _objectSpread({}, props))
|
|
31
25
|
});
|
|
32
26
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dumi-theme-lobehub",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.1",
|
|
4
4
|
"description": "dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@floating-ui/react": "^0.27.
|
|
28
|
+
"@floating-ui/react": "^0.27.5",
|
|
29
29
|
"@giscus/react": "^3.1.0",
|
|
30
|
-
"@lobehub/ui": "^1.
|
|
30
|
+
"@lobehub/ui": "^1.167.0",
|
|
31
31
|
"ahooks": "^3.8.4",
|
|
32
|
-
"animated-scroll-to": "^2.3.
|
|
32
|
+
"animated-scroll-to": "^2.3.2",
|
|
33
33
|
"antd-style": "^3.7.1",
|
|
34
34
|
"chalk": "^4.1.2",
|
|
35
35
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"polished": "^4.3.1",
|
|
39
39
|
"rc-footer": "^0.6.8",
|
|
40
40
|
"react-layout-kit": "^1.9.1",
|
|
41
|
-
"swr": "^2.3.
|
|
41
|
+
"swr": "^2.3.3",
|
|
42
42
|
"url-join": "^5.0.0",
|
|
43
43
|
"use-merge-value": "^1.2.0",
|
|
44
44
|
"zustand": "^5.0.3",
|