dumi-theme-lobehub 4.0.2 → 4.1.0
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/dist/plugin/index.d.ts
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare module 'dumi' {
|
|
2
|
+
import type { IRouteMeta } from 'dumi/dist/client/theme-api/types';
|
|
3
|
+
|
|
4
|
+
export type { ClientLoader, History } from '@umijs/renderer-react';
|
|
5
|
+
export function getRouteMetaById(id: string): IRouteMeta | Promise<IRouteMeta>;
|
|
6
|
+
export {
|
|
7
|
+
createBrowserHistory,
|
|
8
|
+
createHashHistory,
|
|
9
|
+
createMemoryHistory,
|
|
10
|
+
createSearchParams,
|
|
11
|
+
generatePath,
|
|
12
|
+
Helmet,
|
|
13
|
+
HelmetProvider,
|
|
14
|
+
Link,
|
|
15
|
+
matchPath,
|
|
16
|
+
matchRoutes,
|
|
17
|
+
Navigate,
|
|
18
|
+
NavLink,
|
|
19
|
+
resolvePath,
|
|
20
|
+
useLocation,
|
|
21
|
+
useMatch,
|
|
22
|
+
useNavigate,
|
|
23
|
+
useOutlet,
|
|
24
|
+
useOutletContext,
|
|
25
|
+
useParams,
|
|
26
|
+
useResolvedPath,
|
|
27
|
+
useRoutes,
|
|
28
|
+
useSearchParams,
|
|
29
|
+
} from '@umijs/renderer-react';
|
|
30
|
+
export { defineConfig } from 'dumi/dist';
|
|
31
|
+
export * from 'dumi/dist/client/theme-api';
|
|
32
|
+
export type { IApi } from 'dumi/dist/types';
|
|
33
|
+
export { useIntl } from 'react-intl';
|
|
34
|
+
import type { History as RouterHistory } from 'history';
|
|
35
|
+
|
|
36
|
+
export const history: RouterHistory;
|
|
37
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dumi-theme-lobehub",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
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",
|