Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk committed Dec 10, 2024
1 parent a12c1d0 commit 45bec2d
Show file tree
Hide file tree
Showing 29 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions docs/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Highlighter, Snippet } from '@lobehub/ui';
import { Features, FeaturesProps } from '@lobehub/ui/awesome';
import { Highlighter, Snippet } from '@bentwnghk/ui';
import { Features, FeaturesProps } from '@bentwnghk/ui/awesome';
import { useTheme } from 'antd-style';
import { MoonStar, Palette, Zap } from 'lucide-react';
import { Center } from 'react-layout-kit';
Expand All @@ -25,7 +25,7 @@ const items: FeaturesProps['items'] = [
},
];

const example = `import { ThemeProvider, GradientButton } from '@lobehub/ui'
const example = `import { ThemeProvider, GradientButton } from '@bentwnghk/ui'
export default () => (
<ThemeProvider>
Expand All @@ -42,7 +42,7 @@ export default () => {
>
<Center>
<h2 style={{ fontSize: 20, textAlign: 'center' }}>Start building your AIGC app now</h2>
<Snippet language={'bash'}>{'$ bun add @lobehub/ui'}</Snippet>
<Snippet language={'bash'}>{'$ bun add @bentwnghk/ui'}</Snippet>
<p style={{ color: theme.colorTextSecondary, textAlign: 'center' }}>
The Lobe UI components are developed based on{' '}
<a href={'https://ant.design/components/overview'} rel="noreferrer" target={'_blank'}>
Expand Down
2 changes: 1 addition & 1 deletion src/Markdown/CodeBlock.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Pre, { PreMermaid, PreSingleLine } from '@lobehub/ui/mdx/mdxComponents/Pre';
import Pre, { PreMermaid, PreSingleLine } from '@bentwnghk/ui/mdx/mdxComponents/Pre';
import { FC } from 'react';

import { type HighlighterProps } from '@/Highlighter';
Expand Down
2 changes: 1 addition & 1 deletion src/Markdown/demos/customPlugins/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StoryBook, useControls, useCreateStore } from '@lobehub/ui/storybook';
import { StoryBook, useControls, useCreateStore } from '@bentwnghk/ui/storybook';

import { Markdown } from '@/index';

Expand Down
2 changes: 1 addition & 1 deletion src/awesome/AuroraBackground/demos/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { AuroraBackground } from '@lobehub/ui/awesome';
import { AuroraBackground } from '@bentwnghk/ui/awesome';

export default () => <AuroraBackground />;
2 changes: 1 addition & 1 deletion src/awesome/AuroraBackground/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Awesome
group: Effect
title: AuroraBackground
apiHeader:
pkg: '@lobehub/ui/awesome'
pkg: '@bentwnghk/ui/awesome'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/AuroraBackground/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/AuroraBackground/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/awesome/Features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Data Display
title: Features
description: The Features component is used to display a list of feature items. It receives an array of feature items and renders them using the Item component. It also allows customization of the maximum width of the content, the class name and style of each item.
apiHeader:
pkg: '@lobehub/ui/awesome'
pkg: '@bentwnghk/ui/awesome'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/Features/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/Features/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/awesome/GaussianBackground/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Awesome
group: Effect
title: GaussianBackground
apiHeader:
pkg: '@lobehub/ui/awesome'
pkg: '@bentwnghk/ui/awesome'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/GaussianBackground/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/GaussianBackground/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/awesome/Giscus/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Feedback
title: Giscus
description: A wrapper component for giscus 💎, a comments system powered by GitHub Discussions.
apiHeader:
pkg: '@lobehub/ui/awesome'
pkg: '@bentwnghk/ui/awesome'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/Giscus/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/Giscus/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/awesome/GradientButton/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: General
title: GradientButton
description: The GradientButton component is a customized button component built on top of Ant Design's Button component. It allows for customization of the button appearance with a gradient background and a glow effect. It also includes an optional spin animation.
apiHeader:
pkg: '@lobehub/ui/awesome'
pkg: '@bentwnghk/ui/awesome'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/GradientButton/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/GradientButton/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/awesome/GridBackground/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Components
group: Effect
title: GridBackground
apiHeader:
pkg: '@lobehub/ui/awesome'
pkg: '@bentwnghk/ui/awesome'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/GridBackground/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/GridBackground/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/awesome/Hero/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Data Display
title: Hero
description: The Hero component is used to display a hero section on a webpage with a title, description, and action buttons. It supports customization of the action buttons, including their text, icon, link, and type. The component also supports responsive design for mobile devices.
apiHeader:
pkg: '@lobehub/ui/awesome'
pkg: '@bentwnghk/ui/awesome'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/Hero/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/Hero/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/awesome/Spotlight/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Effect
title: Spotlight
description: The Spotlight component is a customizable React component that displays a circle following the mouse cursor. The circle can be customized in size with the size prop.
apiHeader:
pkg: '@lobehub/ui/awesome'
pkg: '@bentwnghk/ui/awesome'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/Spotlight/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/Spotlight/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/awesome/SpotlightCard/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Awesome
group: Data Display
title: SpotlightCard
apiHeader:
pkg: '@lobehub/ui/awesome'
pkg: '@bentwnghk/ui/awesome'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/SpotlightCard/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/awesome/SpotlightCard/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/brand/LogoThree/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Brand
group: Spline
title: LogoThree
apiHeader:
pkg: '@lobehub/ui/brand'
pkg: '@bentwnghk/ui/brand'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/brand/LogoThree/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/brand/LogoThree/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/BackBottom/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Navigation
title: BackBottom
description: BackBottom is a component used to provide a button that scrolls the user back to the bottom of the page or chat window.
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/BackBottom/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/BackBottom/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/ChatHeader/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Chat
group: Layout
title: ChatHeader
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/ChatHeader/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/ChatHeader/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/ChatInputArea/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Data Entry
title: ChatInputArea
description: The ChatInputArea component is used to display a chat input area with expandable and collapsible feature, and a send button to submit the chat message. It can be customized with actions and footer, and also supports input value change and composition event for Chinese input.
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/ChatInputArea/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/ChatInputArea/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/ChatItem/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Data Display
title: ChatItem
description: ChatItem is a React component that represents a single item in a chat conversation. It displays the user's avatar, name, and message. It can also display a loading indicator if the message is still being sent.
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/ChatItem/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/ChatItem/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/ChatList/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Data Display
title: ChatList
description: ChatList is a component used to display a list of chat messages. It takes in an array of ChatMessage objects as the data prop and an optional type prop which can be either 'docs' or 'chat'. The component is memoized for better performance.
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/ChatList/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/ChatList/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/EditableMessage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Data Entry
title: EditableMessage
description: The EditableMessage component is used to display a message that can be edited by the user. It consists of a Markdown component and an optional modal for editing the message. When the user clicks on the message, it enters editing mode and displays an input field for editing the message.
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/EditableMessage/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/EditableMessage/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/EditableMessageList/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Data Entry
title: EditableMessageList
description: EditableMessageList is a React component that allows users to edit a list of chat messages, including their content and role. It is designed to be used in chatbot building applications.
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/EditableMessageList/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/EditableMessageList/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/MessageInput/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Chat
group: Data Entry
title: MessageInput
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/MessageInput/ChatItem/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/MessageInput/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/MessageModal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Feedback
title: MessageModal
description: The MessageModal component is a modal window that can display either a message in Markdown format or a message input field for editing the message.
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/MessageModal/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/MessageModal/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/chat/TokenTag/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Data Display
title: TokenTag
description: The TokenTag component is used to display a token tag with a FluentEmoji icon and a text indicating the remaining tokens.
apiHeader:
pkg: '@lobehub/ui/chat'
pkg: '@bentwnghk/ui/chat'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/TokenTag/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/chat/TokenTag/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/mobile/MobileChatInputArea/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Chat
title: ChatInputArea
description: The ChatInputArea component is used to display a chat input area with expandable and collapsible feature, and a send button to submit the chat message. It can be customized with actions and footer, and also supports input value change and composition event for Chinese input.
apiHeader:
pkg: '@lobehub/ui/mobile'
pkg: '@bentwnghk/ui/mobile'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/mobile/MobileChatInputArea/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/mobile/MobileChatInputArea/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/mobile/MobileNavBar/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Mobile
group: Layout
title: MobileNavBar
apiHeader:
pkg: '@lobehub/ui/mobile'
pkg: '@bentwnghk/ui/mobile'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/mobile/MobileNavBar/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/mobile/MobileNavBar/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/mobile/MobileSafeArea/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Mobile
group: Layout
title: MobileSafeArea
apiHeader:
pkg: '@lobehub/ui/mobile'
pkg: '@bentwnghk/ui/mobile'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/mobile/MobileSafeArea/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/mobile/MobileSafeArea/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/mobile/MobileTabBar/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nav: Mobile
group: Layout
title: MobileTabBar
apiHeader:
pkg: '@lobehub/ui/mobile'
pkg: '@bentwnghk/ui/mobile'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/mobile/MobileTabBar/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/mobile/MobileTabBar/index.tsx'
---
Expand Down
2 changes: 1 addition & 1 deletion src/storybook/StoryBook/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group: Components
title: StoryBook
description: The StoryBook component is a customizable panel that can be used to display and edit data. It is composed of a left section, where the main content is displayed, and a right section, where a LevaPanel component is rendered. The LevaPanel is a third-party component that allows users to edit and manipulate data.
apiHeader:
pkg: '@lobehub/ui/storybook'
pkg: '@bentwnghk/ui/storybook'
docUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/storybook/StoryBook/index.md'
sourceUrl: 'https://github.com/lobehub/lobe-ui/tree/master/src/storybook/StoryBook/index.tsx'
---
Expand Down

0 comments on commit 45bec2d

Please sign in to comment.