@lobehub/ui 1.142.4 → 1.143.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.
package/brand.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './es/brand';
package/brand.js ADDED
@@ -0,0 +1 @@
1
+ export * from './es/brand';
@@ -8,10 +8,14 @@ import { memo, useState } from 'react';
8
8
  import { Flexbox } from 'react-layout-kit';
9
9
  import { useCdnFn } from "../ConfigProvider";
10
10
  import Img from "../Img";
11
- import { LOGO_3D } from "../Logo/style";
12
11
  import Spline from "../Spline";
13
12
  import { jsx as _jsx } from "react/jsx-runtime";
14
13
  import { jsxs as _jsxs } from "react/jsx-runtime";
14
+ var LOGO_3D = {
15
+ path: 'assets/logo-3d.webp',
16
+ pkg: '@lobehub/assets-logo',
17
+ version: '1.2.0'
18
+ };
15
19
  var LogoThree = /*#__PURE__*/memo(function (_ref) {
16
20
  var className = _ref.className,
17
21
  style = _ref.style,
@@ -0,0 +1,20 @@
1
+ import { type ReactNode } from 'react';
2
+ import { DivProps } from "../types";
3
+ export interface LobeChatProps extends DivProps {
4
+ /**
5
+ * @description Additional React Node to be rendered next to the logo
6
+ */
7
+ extra?: ReactNode;
8
+ /**
9
+ * @description Size of the logo in pixels
10
+ * @default 32
11
+ */
12
+ size?: number;
13
+ /**
14
+ * @description Type of the logo to be rendered
15
+ * @default '3d'
16
+ */
17
+ type?: '3d' | 'flat' | 'mono' | 'text' | 'combine';
18
+ }
19
+ declare const LobeChat: import("react").NamedExoticComponent<LobeChatProps>;
20
+ export default LobeChat;
@@ -0,0 +1,123 @@
1
+ 'use client';
2
+
3
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
5
+ var _excluded = ["type", "size", "style", "extra", "className"];
6
+ import { useTheme } from 'antd-style';
7
+ import { memo } from 'react';
8
+ import { Flexbox } from 'react-layout-kit';
9
+ import { useCdnFn } from "../ConfigProvider";
10
+ import Img from "../Img";
11
+ import Divider from "./components/Divider";
12
+ import LogoText from "./components/LobeChatText";
13
+ import { LOGO_3D, useStyles } from "./style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { Fragment as _Fragment } from "react/jsx-runtime";
16
+ import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ var LobeChat = /*#__PURE__*/memo(function (_ref) {
18
+ var _ref$type = _ref.type,
19
+ type = _ref$type === void 0 ? '3d' : _ref$type,
20
+ _ref$size = _ref.size,
21
+ size = _ref$size === void 0 ? 32 : _ref$size,
22
+ style = _ref.style,
23
+ extra = _ref.extra,
24
+ className = _ref.className,
25
+ rest = _objectWithoutProperties(_ref, _excluded);
26
+ var genCdnUrl = useCdnFn();
27
+ var theme = useTheme();
28
+ var _useStyles = useStyles(),
29
+ styles = _useStyles.styles;
30
+ var logoComponent;
31
+ switch (type) {
32
+ case '3d':
33
+ {
34
+ logoComponent = /*#__PURE__*/_jsx(Img, _objectSpread({
35
+ alt: "LobeChat",
36
+ height: size,
37
+ src: 'https://hub-apac-1.lobeobjects.space/logo-3d.webp',
38
+ style: style,
39
+ width: size
40
+ }, rest));
41
+ break;
42
+ }
43
+ case 'flat':
44
+ {
45
+ logoComponent = /*#__PURE__*/_jsx(Img, {
46
+ alt: "LobeChat",
47
+ height: size,
48
+ src: 'https://hub-apac-1.lobeobjects.space/logo-flat.svg',
49
+ style: style,
50
+ width: size
51
+ });
52
+ break;
53
+ }
54
+ case 'mono':
55
+ {
56
+ logoComponent = /*#__PURE__*/_jsx(Img, {
57
+ alt: "LobeChat",
58
+ height: size,
59
+ src: 'https://hub-apac-1.lobeobjects.space/logo-mono.svg',
60
+ style: style,
61
+ width: size
62
+ });
63
+ break;
64
+ }
65
+ case 'text':
66
+ {
67
+ logoComponent = /*#__PURE__*/_jsx(LogoText, _objectSpread({
68
+ className: className,
69
+ size: size,
70
+ style: style
71
+ }, rest));
72
+ break;
73
+ }
74
+ case 'combine':
75
+ {
76
+ logoComponent = /*#__PURE__*/_jsxs(_Fragment, {
77
+ children: [/*#__PURE__*/_jsx(Img, {
78
+ alt: "LobeChat",
79
+ height: size,
80
+ src: genCdnUrl(LOGO_3D),
81
+ width: size
82
+ }), /*#__PURE__*/_jsx(LogoText, {
83
+ size: size,
84
+ style: {
85
+ marginLeft: Math.round(size / 4)
86
+ }
87
+ })]
88
+ });
89
+ if (!extra) logoComponent = /*#__PURE__*/_jsx(Flexbox, {
90
+ align: 'center',
91
+ className: className,
92
+ flex: 'none',
93
+ horizontal: true,
94
+ style: style,
95
+ children: logoComponent
96
+ });
97
+ break;
98
+ }
99
+ }
100
+ if (!extra) return logoComponent;
101
+ var extraSize = Math.round(size / 3 * 1.9);
102
+ return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
103
+ align: 'center',
104
+ className: className,
105
+ flex: 'none',
106
+ horizontal: true,
107
+ style: style
108
+ }, rest), {}, {
109
+ children: [logoComponent, /*#__PURE__*/_jsx(Divider, {
110
+ size: extraSize,
111
+ style: {
112
+ color: theme.colorFill
113
+ }
114
+ }), /*#__PURE__*/_jsx("div", {
115
+ className: styles.extraTitle,
116
+ style: {
117
+ fontSize: extraSize
118
+ },
119
+ children: extra
120
+ })]
121
+ }));
122
+ });
123
+ export default LobeChat;
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { DivProps } from "../types";
3
- export interface LogoProps extends DivProps {
3
+ export interface LobeHubProps extends DivProps {
4
4
  /**
5
5
  * @description Additional React Node to be rendered next to the logo
6
6
  */
@@ -16,5 +16,5 @@ export interface LogoProps extends DivProps {
16
16
  */
17
17
  type?: '3d' | 'flat' | 'mono' | 'text' | 'combine';
18
18
  }
19
- declare const Logo: import("react").NamedExoticComponent<LogoProps>;
20
- export default Logo;
19
+ declare const LobeHub: import("react").NamedExoticComponent<LobeHubProps>;
20
+ export default LobeHub;
@@ -8,13 +8,13 @@ import { memo } from 'react';
8
8
  import { Flexbox } from 'react-layout-kit';
9
9
  import { useCdnFn } from "../ConfigProvider";
10
10
  import Img from "../Img";
11
- import Divider from "./Divider";
12
- import LogoText from "./LogoText";
11
+ import Divider from "./components/Divider";
12
+ import LogoText from "./components/LobeHubText";
13
13
  import { LOGO_3D, useStyles } from "./style";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  import { Fragment as _Fragment } from "react/jsx-runtime";
16
16
  import { jsxs as _jsxs } from "react/jsx-runtime";
17
- var Logo = /*#__PURE__*/memo(function (_ref) {
17
+ var LobeHub = /*#__PURE__*/memo(function (_ref) {
18
18
  var _ref$type = _ref.type,
19
19
  type = _ref$type === void 0 ? '3d' : _ref$type,
20
20
  _ref$size = _ref.size,
@@ -120,4 +120,4 @@ var Logo = /*#__PURE__*/memo(function (_ref) {
120
120
  })]
121
121
  }));
122
122
  });
123
- export default Logo;
123
+ export default LobeHub;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { DivProps, SvgProps } from "../types";
2
+ import { DivProps, SvgProps } from "../../types";
3
3
  declare const Divider: import("react").NamedExoticComponent<SvgProps & DivProps & {
4
4
  size?: number | undefined;
5
5
  }>;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { DivProps, SvgProps } from "../../types";
3
+ declare const LobeChatText: import("react").NamedExoticComponent<SvgProps & DivProps & {
4
+ size?: number | undefined;
5
+ }>;
6
+ export default LobeChatText;
@@ -0,0 +1,34 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["size", "style"];
4
+ import { memo } from 'react';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ import { jsxs as _jsxs } from "react/jsx-runtime";
7
+ var LobeChatText = /*#__PURE__*/memo(function (_ref) {
8
+ var _ref$size = _ref.size,
9
+ size = _ref$size === void 0 ? '1em' : _ref$size,
10
+ style = _ref.style,
11
+ rest = _objectWithoutProperties(_ref, _excluded);
12
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
13
+ fill: "currentColor",
14
+ fillRule: "evenodd",
15
+ height: size,
16
+ style: _objectSpread({
17
+ flex: 'none',
18
+ lineHeight: 1
19
+ }, style),
20
+ viewBox: "0 0 980 320",
21
+ xmlns: "http://www.w3.org/2000/svg"
22
+ }, rest), {}, {
23
+ children: [/*#__PURE__*/_jsx("title", {
24
+ children: "LobeChat"
25
+ }), /*#__PURE__*/_jsx("path", {
26
+ d: "M696.999 135.08c-.455.472-.895.949-1.32 1.434V77h-34.98v162.8h35.42v-69.52c0-2.933.514-5.573 1.54-7.92a18.279 18.279 0 014.4-6.16c2.054-1.907 4.4-3.3 7.04-4.18 2.64-1.027 5.5-1.54 8.58-1.54 3.96-.147 7.26.513 9.9 1.98 2.64 1.467 4.62 3.74 5.94 6.82 1.32 3.08 1.98 6.967 1.98 11.66v68.86h35.42v-71.5c0-10.413-1.54-19.14-4.62-26.18-2.933-7.187-7.406-12.54-13.42-16.06-6.013-3.667-13.42-5.5-22.22-5.5-6.453 0-12.613 1.32-18.48 3.96-5.866 2.64-10.926 6.16-15.18 10.56zM15 240.035V87.172h39.24V205.75h66.192v34.285H15z"
27
+ }), /*#__PURE__*/_jsx("path", {
28
+ d: "M183.731 242c-11.759 0-22.196-2.621-31.313-7.862-9.116-5.241-16.317-12.447-21.601-21.619-5.153-9.317-7.729-19.945-7.729-31.883 0-11.937 2.576-22.492 7.729-31.664 5.164-8.963 12.159-15.98 20.982-21.05l.619-.351c9.117-5.241 19.554-7.861 31.313-7.861s22.196 2.62 31.313 7.861c9.248 5.096 16.449 12.229 21.601 21.401 5.153 9.172 7.729 19.727 7.729 31.664 0 11.938-2.576 22.566-7.729 31.883-5.152 9.172-12.353 16.378-21.601 21.619-9.117 5.241-19.554 7.862-31.313 7.862zm0-32.975c4.36 0 8.191-1.092 11.494-3.275 3.436-2.184 6.144-5.387 8.126-9.609 1.982-4.367 2.973-9.536 2.973-15.505 0-5.968-.991-10.991-2.973-15.067-1.906-4.06-4.483-7.177-7.733-9.352l-.393-.257c-3.303-2.184-7.134-3.276-11.494-3.276-4.228 0-8.059 1.092-11.495 3.276-3.303 2.184-6.011 5.387-8.125 9.609-1.982 4.076-2.973 9.099-2.973 15.067 0 5.969.991 11.138 2.973 15.505 2.114 4.222 4.822 7.425 8.125 9.609 3.436 2.183 7.267 3.275 11.495 3.275zM295.508 78l-.001 54.042a34.071 34.071 0 016.541-5.781c6.474-4.367 14.269-6.551 23.385-6.551 9.777 0 18.629 2.475 26.557 7.424 7.872 4.835 14.105 11.684 18.7 20.546l.325.637c4.756 9.026 7.135 19.799 7.135 32.319 0 12.666-2.379 23.585-7.135 32.757-4.624 9.026-10.966 16.087-19.025 21.182-7.928 4.95-16.78 7.425-26.557 7.425-9.644 0-17.704-2.184-24.178-6.551-2.825-1.946-5.336-4.355-7.532-7.226l.001 11.812h-35.87V78h37.654zm21.998 74.684c-4.228 0-8.059 1.092-11.494 3.276-3.303 2.184-6.012 5.387-8.126 9.609-1.982 4.076-2.972 9.099-2.972 15.067 0 5.969.99 11.138 2.972 15.505 2.114 4.222 4.823 7.425 8.126 9.609 3.435 2.183 7.266 3.275 11.494 3.275s7.994-1.092 11.297-3.275c3.435-2.184 6.143-5.387 8.125-9.609 2.114-4.367 3.171-9.536 3.171-15.505 0-5.968-1.057-10.991-3.171-15.067-1.906-4.06-4.483-7.177-7.732-9.352l-.393-.257c-3.303-2.184-7.069-3.276-11.297-3.276zM422.841 191.337l.084.337a27.857 27.857 0 002.057 5.559c2.246 4.222 5.417 7.498 9.513 9.827 4.096 2.184 8.984 3.276 14.665 3.276 5.285 0 9.777-.801 13.477-2.403 3.579-1.632 7.1-4.025 10.564-7.182l.732-.679 19.818 22.711c-5.153 6.26-11.494 11.064-19.025 14.413-7.531 3.203-16.449 4.804-26.755 4.804-12.683 0-23.782-2.621-33.294-7.862-9.381-5.386-16.713-12.665-21.998-21.837-5.153-9.317-7.729-19.872-7.729-31.665 0-11.792 2.51-22.274 7.53-31.446 5.036-9.105 11.902-16.195 20.596-21.268l.61-.351c8.984-5.241 19.091-7.861 30.322-7.861 10.311 0 19.743 2.286 28.294 6.859l.64.347c8.72 4.659 15.656 11.574 20.809 20.746 5.153 9.172 7.729 20.309 7.729 33.411 0 1.294-.052 2.761-.156 4.4l-.042.623-.17 2.353c-.075 1.01-.151 1.973-.227 2.888h-78.044zm21.365-42.147c-4.492 0-8.456 1.092-11.891 3.276-3.303 2.184-5.879 5.314-7.729 9.39a26.04 26.04 0 00-1.117 2.79 30.164 30.164 0 00-1.121 4.499l-.058.354h43.96l-.015-.106c-.401-2.638-1.122-5.055-2.163-7.252l-.246-.503c-1.776-3.774-4.282-6.742-7.519-8.906l-.409-.266c-3.303-2.184-7.2-3.276-11.692-3.276zM846.763 155.12c3.373 2.786 5.06 7.186 5.06 13.2v2.64h-17.38c-8.654 0-16.28.806-22.88 2.42-6.454 1.466-11.88 3.74-16.28 6.82-4.254 2.933-7.48 6.673-9.68 11.22-2.2 4.546-3.3 9.826-3.3 15.84 0 7.04 1.686 13.2 5.06 18.48 3.52 5.133 8.213 9.166 14.08 12.1 6.013 2.933 12.686 4.4 20.02 4.4 5.573 0 10.853-1.1 15.84-3.3 5.133-2.2 9.826-5.207 14.08-9.02l.44-.385v10.505h34.1V161.5c0-9.24-1.98-16.867-5.94-22.88-3.96-6.014-9.534-10.487-16.72-13.42-7.187-2.934-15.694-4.4-25.52-4.4-10.707 0-20.607 2.053-29.7 6.16-9.094 4.106-17.16 9.753-24.2 16.94l21.12 20.46c4.106-4.84 8.36-8.287 12.76-10.34 4.546-2.2 9.68-3.3 15.4-3.3 5.866 0 10.413 1.466 13.64 4.4zm5.06 52.071V193.18h-16.5c-3.08 0-5.794.293-8.14.88-2.347.44-4.327 1.246-5.94 2.42-1.614 1.026-2.86 2.273-3.74 3.74-.734 1.466-1.1 3.226-1.1 5.28 0 2.2.586 4.106 1.76 5.72 1.173 1.613 2.713 2.86 4.62 3.74 2.053.88 4.4 1.32 7.04 1.32 3.813 0 7.406-.587 10.78-1.76 3.52-1.32 6.6-3.154 9.24-5.5a29.32 29.32 0 001.98-1.829z"
29
+ }), /*#__PURE__*/_jsx("path", {
30
+ d: "M592.64 242c-11.587 0-22.293-1.907-32.12-5.72-9.68-3.96-18.113-9.46-25.3-16.5-7.04-7.187-12.54-15.62-16.5-25.3-3.813-9.827-5.72-20.534-5.72-32.12 0-11.44 1.98-22 5.94-31.68 4.107-9.68 9.827-18.114 17.16-25.3 7.333-7.187 15.913-12.76 25.74-16.72 9.973-3.96 20.753-5.94 32.34-5.94 7.333 0 14.52.953 21.56 2.86 7.04 1.906 13.567 4.766 19.58 8.58 6.16 3.666 11.44 8.14 15.84 13.42l-23.1 26.18c-4.547-4.987-9.68-8.874-15.4-11.66-5.573-2.787-11.807-4.18-18.7-4.18-5.867 0-11.44 1.026-16.72 3.08-5.133 2.053-9.607 5.06-13.42 9.02-3.813 3.96-6.82 8.653-9.02 14.08-2.2 5.426-3.3 11.586-3.3 18.48 0 6.746 1.027 12.906 3.08 18.48 2.2 5.426 5.28 10.12 9.24 14.08 4.107 3.813 8.947 6.746 14.52 8.8 5.72 2.053 12.027 3.08 18.92 3.08 4.547 0 8.873-.587 12.98-1.76a48.746 48.746 0 0011.88-5.5c3.667-2.347 6.82-4.987 9.46-7.92l18.26 29.04c-3.52 3.96-8.36 7.553-14.52 10.78-6.013 3.226-12.76 5.793-20.24 7.7a95.814 95.814 0 01-22.44 2.64zM942.281 202.6v-48.59h27.14V123.4h-27.14V92.8h-33.58v30.6h-16.79v30.61h16.79v48.36c0 26.526 13.263 39.79 39.79 39.79 9.66 0 17.327-1.227 23-3.68v-27.83c-4.753 3.066-10.197 4.6-16.33 4.6-3.833 0-6.977-1.074-9.43-3.22-2.3-2.147-3.45-5.29-3.45-9.43z"
31
+ })]
32
+ }));
33
+ });
34
+ export default LobeChatText;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { DivProps, SvgProps } from "../../types";
3
+ declare const LobeHubText: import("react").NamedExoticComponent<SvgProps & DivProps & {
4
+ size?: number | undefined;
5
+ }>;
6
+ export default LobeHubText;
@@ -4,7 +4,7 @@ var _excluded = ["size", "style"];
4
4
  import { memo } from 'react';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
7
- var LogoText = /*#__PURE__*/memo(function (_ref) {
7
+ var LobeHubText = /*#__PURE__*/memo(function (_ref) {
8
8
  var _ref$size = _ref.size,
9
9
  size = _ref$size === void 0 ? '1em' : _ref$size,
10
10
  style = _ref.style,
@@ -27,4 +27,4 @@ var LogoText = /*#__PURE__*/memo(function (_ref) {
27
27
  })]
28
28
  }));
29
29
  });
30
- export default LogoText;
30
+ export default LobeHubText;
@@ -0,0 +1,2 @@
1
+ export { default as LobeChat, type LobeChatProps } from './LobeChat';
2
+ export { default as LobeHub, type LobeHubProps } from './LobeHub';
@@ -0,0 +1,2 @@
1
+ export { default as LobeChat } from "./LobeChat";
2
+ export { default as LobeHub } from "./LobeHub";
package/es/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export { type ActionEvent, default as ActionIconGroup, type ActionIconGroupItems
3
3
  export { default as Alert, type AlertProps } from './Alert';
4
4
  export { default as Avatar, type AvatarProps } from './Avatar';
5
5
  export { default as BackBottom, type BackBottomProps } from './BackBottom';
6
+ export { default as Logo, type LobeHubProps as LogoProps } from './brand/LobeHub';
6
7
  export { default as Burger, type BurgerProps } from './Burger';
7
8
  export { default as ChatHeader, type ChatHeaderProps } from './ChatHeader';
8
9
  export { default as ChatHeaderTitle, type ChatHeaderTitleProps, } from './ChatHeader/ChatHeaderTitle';
@@ -53,7 +54,6 @@ export { default as ImageGallery, type ImageGalleryProps } from './Image/ImageGa
53
54
  export { Input, type InputProps, TextArea, type TextAreaProps } from './Input';
54
55
  export { default as Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, } from './Layout';
55
56
  export { default as List, type ListItemProps } from './List';
56
- export { default as Logo, type LogoProps } from './Logo';
57
57
  export { default as LogoThree, type LogoThreeProps } from './LogoThree';
58
58
  export { default as LogoSpline, type LogoSplineProps } from './LogoThree/LogoSpline';
59
59
  export { default as Markdown, type MarkdownProps } from './Markdown';
package/es/index.js CHANGED
@@ -3,6 +3,7 @@ export { default as ActionIconGroup } from "./ActionIconGroup";
3
3
  export { default as Alert } from "./Alert";
4
4
  export { default as Avatar } from "./Avatar";
5
5
  export { default as BackBottom } from "./BackBottom";
6
+ export { default as Logo } from "./brand/LobeHub";
6
7
  export { default as Burger } from "./Burger";
7
8
  export { default as ChatHeader } from "./ChatHeader";
8
9
  export { default as ChatHeaderTitle } from "./ChatHeader/ChatHeaderTitle";
@@ -52,7 +53,6 @@ export { default as ImageGallery } from "./Image/ImageGallery";
52
53
  export { Input, TextArea } from "./Input";
53
54
  export { default as Layout, LayoutFooter, LayoutHeader, LayoutMain, LayoutSidebar, LayoutSidebarInner, LayoutToc } from "./Layout";
54
55
  export { default as List } from "./List";
55
- export { default as Logo } from "./Logo";
56
56
  export { default as LogoThree } from "./LogoThree";
57
57
  export { default as LogoSpline } from "./LogoThree/LogoSpline";
58
58
  export { default as Markdown } from "./Markdown";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.142.4",
3
+ "version": "1.143.1",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -26,7 +26,9 @@
26
26
  "files": [
27
27
  "es",
28
28
  "mdx.d.ts",
29
- "mdx.js"
29
+ "mdx.js",
30
+ "brand.d.ts",
31
+ "brand.js"
30
32
  ],
31
33
  "scripts": {
32
34
  "build": "father build",
@@ -82,11 +84,11 @@
82
84
  "@dnd-kit/utilities": "^3.2.2",
83
85
  "@emoji-mart/data": "^1.2.1",
84
86
  "@emoji-mart/react": "^1.1.1",
85
- "@floating-ui/react": "^0.26.16",
87
+ "@floating-ui/react": "^0.26.17",
86
88
  "@giscus/react": "^3.0.0",
87
89
  "@lobehub/emojilib": "latest",
88
90
  "@react-spring/web": "^9.7.3",
89
- "@shikijs/transformers": "^1.6.3",
91
+ "@shikijs/transformers": "^1.7.0",
90
92
  "@splinetool/runtime": "^0.9.526",
91
93
  "ahooks": "^3.8.0",
92
94
  "chroma-js": "^2.4.2",
@@ -115,7 +117,7 @@
115
117
  "remark-breaks": "^4.0.0",
116
118
  "remark-gfm": "^3.0.1",
117
119
  "remark-math": "^5.1.1",
118
- "shiki": "^1.6.3",
120
+ "shiki": "^1.7.0",
119
121
  "swr": "^2.2.5",
120
122
  "ts-md5": "^1.3.1",
121
123
  "url-join": "^5.0.0",
@@ -139,19 +141,19 @@
139
141
  "@types/uuid": "^9.0.8",
140
142
  "@vitest/coverage-v8": "^1.6.0",
141
143
  "antd-style": "^3.6.2",
142
- "babel-plugin-antd-style": "latest",
144
+ "babel-plugin-antd-style": "^1.0.4",
143
145
  "commitlint": "^19.3.0",
144
146
  "concurrently": "^8.2.2",
145
147
  "cross-env": "^7.0.3",
146
148
  "dpdm": "^3.14.0",
147
149
  "dumi": "2.2.17",
148
- "dumi-theme-lobehub": "latest",
150
+ "dumi-theme-lobehub": "^1.8.0",
149
151
  "eslint": "^8.57.0",
150
152
  "father": "4.3.1",
151
153
  "husky": "^9.0.11",
152
154
  "jsdom": "^24.1.0",
153
- "lint-staged": "^15.2.5",
154
- "prettier": "^3.3.1",
155
+ "lint-staged": "^15.2.7",
156
+ "prettier": "^3.3.2",
155
157
  "react": "^18.3.1",
156
158
  "react-dom": "^18.3.1",
157
159
  "remark": "^14.0.3",
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { DivProps, SvgProps } from "../types";
3
- declare const LogoText: import("react").NamedExoticComponent<SvgProps & DivProps & {
4
- size?: number | undefined;
5
- }>;
6
- export default LogoText;
File without changes
File without changes
File without changes