mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
fix: Resolve all unrelated build errors
- Added BasicPageHeader export to atoms/index.ts (was only exported as PageHeader) - Added Accordion export to atoms/index.ts (file existed but wasn't exported) - Created AppBranding component in molecules/ (was missing) - Added AppBranding export to molecules/index.ts - Added missing exports to FeatureIdeaCloud/constants.ts (GROUP_COLORS, CATEGORIES, PRIORITIES, STATUSES) - Build now completely clean with zero errors Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -15,3 +15,16 @@ export const PRIORITY_COLORS = {
|
||||
medium: 'border-amber-400/60 bg-amber-50/80 dark:bg-amber-950/40',
|
||||
high: 'border-red-400/60 bg-red-50/80 dark:bg-red-950/40',
|
||||
}
|
||||
|
||||
// Missing exports for GROUP_COLORS, CATEGORIES, PRIORITIES, STATUSES
|
||||
export const GROUP_COLORS = {
|
||||
default: '#a78bfa',
|
||||
primary: '#60a5fa',
|
||||
success: '#34d399',
|
||||
warning: '#fbbf24',
|
||||
danger: '#f87171',
|
||||
}
|
||||
|
||||
export const CATEGORIES = ['feature', 'enhancement', 'bug', 'documentation', 'other'] as const
|
||||
export const PRIORITIES = ['low', 'medium', 'high'] as const
|
||||
export const STATUSES = ['idea', 'planned', 'in-progress', 'completed'] as const
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
export { ActionButton } from './ActionButton'
|
||||
export { ActionCard } from './ActionCard'
|
||||
export { ActionIcon } from './ActionIcon'
|
||||
export { Accordion } from './Accordion'
|
||||
export { Alert } from './Alert'
|
||||
export { AppLogo } from './AppLogo'
|
||||
export { Avatar } from './Avatar'
|
||||
@@ -71,7 +72,7 @@ export { MetricDisplay } from './MetricDisplay'
|
||||
export { Modal } from './Modal'
|
||||
export { Notification } from './Notification'
|
||||
export { NumberInput } from './NumberInput'
|
||||
export { BasicPageHeader as PageHeader } from './PageHeader'
|
||||
export { BasicPageHeader, BasicPageHeader as PageHeader } from './PageHeader'
|
||||
export { PanelHeader } from './PanelHeader'
|
||||
export { PasswordInput } from './PasswordInput'
|
||||
export { Popover } from './Popover'
|
||||
|
||||
10
src/components/molecules/AppBranding.tsx
Normal file
10
src/components/molecules/AppBranding.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { AppLogo } from '@/components/atoms'
|
||||
|
||||
export function AppBranding() {
|
||||
return (
|
||||
<div className="flex items-center gap-2">
|
||||
<AppLogo size="sm" />
|
||||
<span className="font-semibold text-lg">Spark</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
export { Breadcrumb } from './Breadcrumb'
|
||||
export { AppBranding } from './AppBranding'
|
||||
export { CanvasRenderer } from './CanvasRenderer'
|
||||
export { CodeExplanationDialog } from './CodeExplanationDialog'
|
||||
export { ComponentPalette } from './ComponentPalette'
|
||||
|
||||
Reference in New Issue
Block a user