dumi-theme-lobehub 1.4.1 → 1.6.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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div align="center">
4
4
 
5
- <img height="120" src="https://npm.elemecdn.com/@lobehub/assets-logo@1.0.0/assets/logo-3d.webp">
5
+ <img height="120" src="https://registry.npmmirror.com/@lobehub/assets-logo/1.0.0/files/assets/logo-3d.webp">
6
6
  <img height="120" src="https://gw.alipayobjects.com/zos/kitchen/qJ3l3EPsdW/split.svg">
7
7
  <img height="120" src="https://gw.alipayobjects.com/zos/bmw-prod/d3e3eb39-1cd7-4aa5-827c-877deced6b7e/lalxt4g3_w256_h256.png">
8
8
 
@@ -1,18 +1,19 @@
1
1
  import { Features } from '@lobehub/ui';
2
+ import { MoonStar, Palette, Zap } from 'lucide-react';
2
3
  import { jsx as _jsx } from "react/jsx-runtime";
3
4
  export default (function () {
4
5
  return /*#__PURE__*/_jsx(Features, {
5
6
  items: [{
6
7
  description: 'Provides a simple way to customize default themes, you can change the colors, fonts, breakpoints and everything you need.',
7
- icon: 'Palette',
8
+ icon: Palette,
8
9
  title: 'Themeable'
9
10
  }, {
10
11
  description: 'voids unnecessary styles props at runtime, making it more performant than other UI libraries.',
11
- icon: 'Zap',
12
+ icon: Zap,
12
13
  title: 'Fast'
13
14
  }, {
14
- description: 'Automatic dark mode recognition, NextUI automatically changes the theme when detects HTML theme prop changes.',
15
- icon: 'MoonStar',
15
+ description: 'Automatic dark mode recognition, LobeUI automatically changes the theme when detects HTML theme prop changes.',
16
+ icon: MoonStar,
16
17
  title: 'Light & Dark UI'
17
18
  }]
18
19
  });
@@ -5,25 +5,25 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
5
5
  var Favicons = /*#__PURE__*/memo(function () {
6
6
  return /*#__PURE__*/_jsxs(Helmet, {
7
7
  children: [/*#__PURE__*/_jsx("link", {
8
- href: "https://npm.elemecdn.com/@lobehub/assets-favicons/assets/apple-touch-icon.png",
8
+ href: "https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/apple-touch-icon.png",
9
9
  rel: "apple-touch-icon",
10
10
  sizes: "180x180"
11
11
  }), /*#__PURE__*/_jsx("link", {
12
- href: "https://npm.elemecdn.com/@lobehub/assets-favicons/assets/favicon-32x32.png",
12
+ href: "https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/favicon-32x32.png",
13
13
  rel: "icon",
14
14
  sizes: "32x32",
15
15
  type: "image/png"
16
16
  }), /*#__PURE__*/_jsx("link", {
17
- href: "https://npm.elemecdn.com/@lobehub/assets-favicons/assets/favicon-16x16.png",
17
+ href: "https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/favicon-16x16.png",
18
18
  rel: "icon",
19
19
  sizes: "16x16",
20
20
  type: "image/png"
21
21
  }), /*#__PURE__*/_jsx("link", {
22
- href: "https://npm.elemecdn.com/@lobehub/assets-favicons/assets/site.webmanifest",
22
+ href: "https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/site.webmanifest",
23
23
  rel: "manifest"
24
24
  }), /*#__PURE__*/_jsx("link", {
25
25
  color: "#000000",
26
- href: "https://npm.elemecdn.com/@lobehub/assets-favicons/assets/safari-pinned-tab.svg",
26
+ href: "https://registry.npmmirror.com/@lobehub/assets-favicons/1.1.0/files/assets/safari-pinned-tab.svg",
27
27
  rel: "mask-icon"
28
28
  }), /*#__PURE__*/_jsx("meta", {
29
29
  content: "LobeHub",
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { useRouteMeta } from 'dumi';
3
- declare type IContentTabs = ReturnType<typeof useRouteMeta>['tabs'];
3
+ type IContentTabs = ReturnType<typeof useRouteMeta>['tabs'];
4
4
  export interface ContentTabsProps {
5
5
  onChange: (tab?: NonNullable<IContentTabs>[0]) => void;
6
6
  tabKey: string | undefined;
@@ -4,7 +4,7 @@ import { PICKED_PKG_FIELDS } from 'dumi/dist/constants';
4
4
  import type { Location } from 'history';
5
5
  import { ComponentType } from 'react';
6
6
  import { SiteThemeConfig } from "../types";
7
- export declare type NavData = (INavItem & {
7
+ export type NavData = (INavItem & {
8
8
  children?: INavItem[] | undefined;
9
9
  })[];
10
10
  export interface ISiteData {
@@ -35,4 +35,4 @@ export interface SiteThemeConfig {
35
35
  };
36
36
  title?: string;
37
37
  }
38
- export declare type SiteConfigToken = Partial<Pick<SiteCustomToken, 'headerHeight' | 'footerHeight' | 'sidebarWidth' | 'tocWidth' | 'contentMaxWidth'>>;
38
+ export type SiteConfigToken = Partial<Pick<SiteCustomToken, 'headerHeight' | 'footerHeight' | 'sidebarWidth' | 'tocWidth' | 'contentMaxWidth'>>;
@@ -1,5 +1,5 @@
1
1
  import { type FeatureItem, type HeroAction } from '@lobehub/ui';
2
- export declare type ImageContainerType = 'light' | 'primary' | 'soon';
2
+ export type ImageContainerType = 'light' | 'primary' | 'soon';
3
3
  export interface HeroConfig {
4
4
  actions: HeroAction[];
5
5
  description?: string;
@@ -19,8 +19,8 @@ export interface AnchorItem {
19
19
  */
20
20
  title: string;
21
21
  }
22
- export declare type DivProps = HTMLAttributes<HTMLDivElement>;
23
- export declare type SvgProps = HTMLAttributes<SVGSVGElement>;
24
- export declare type ImgProps = HTMLAttributes<HTMLImageElement>;
25
- export declare type InputProps = HTMLAttributes<HTMLInputElement>;
26
- export declare type TextAreaProps = HTMLAttributes<HTMLTextAreaElement>;
22
+ export type DivProps = HTMLAttributes<HTMLDivElement>;
23
+ export type SvgProps = HTMLAttributes<SVGSVGElement>;
24
+ export type ImgProps = HTMLAttributes<HTMLImageElement>;
25
+ export type InputProps = HTMLAttributes<HTMLInputElement>;
26
+ export type TextAreaProps = HTMLAttributes<HTMLTextAreaElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dumi-theme-lobehub",
3
- "version": "1.4.1",
3
+ "version": "1.6.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",