chore: remove Hero from studio-panel (archive stub) — 2025-11-10

This commit is contained in:
Cesar Mendivil 2025-11-10 11:19:25 -07:00
parent a501d398ff
commit a81ada0b63
28 changed files with 111 additions and 0 deletions

8
.idea/.gitignore generated vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

12
.idea/AvanzaCast.iml generated Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/copilot.data.migration.agent.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AgentMigrationStateService">
<option name="migrationStatus" value="COMPLETED" />
</component>
</project>

6
.idea/copilot.data.migration.ask.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AskMigrationStateService">
<option name="migrationStatus" value="COMPLETED" />
</component>
</project>

6
.idea/copilot.data.migration.edit.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EditMigrationStateService">
<option name="migrationStatus" value="COMPLETED" />
</component>
</project>

8
.idea/modules.xml generated Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/AvanzaCast.iml" filepath="$PROJECT_DIR$/.idea/AvanzaCast.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

0
docs/REMOVED_Hero.md Normal file
View File

View File

@ -0,0 +1,14 @@
Hero component removed from `packages/studio-panel` on 2025-11-10.
Current file (stub) contents archived here:
// Hero removed for Studio Panel context.
// Kept as a stub to avoid deleting the file from the repo — returns null so it doesn't render.
export default function Hero() {
return null
}
Notes:
- The full original Hero implementation was previously replaced during a refactor and is not available in this archived stub. If you need the original implementation, retrieve it from git history (e.g., `git log -- packages/studio-panel/src/components/Hero.tsx` and `git checkout <commit> -- packages/studio-panel/src/components/Hero.tsx`).
- After archiving this stub, the file `packages/studio-panel/src/components/Hero.tsx` will be deleted from the repository.

0
docs/design-tokens.md Normal file
View File

View File

View File

View File

View File

@ -0,0 +1,27 @@
// ...existing code...
import React from 'react'
type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
variant?: 'default' | 'primary' | 'ghost'
}
export default function Button({
children,
variant = 'default',
className = '',
...props
}: ButtonProps) {
const base = 'inline-flex items-center justify-center rounded-md px-3 py-1 text-sm font-medium transition'
const variants: Record<string, string> = {
default: 'bg-white/10 text-white hover:bg-white/20',
primary: 'bg-gradient-to-br from-blue-600 to-blue-500 text-white shadow-sm',
ghost: 'bg-transparent text-white hover:bg-white/4',
}
return (
<button className={`${base} ${variants[variant] ?? variants.default} ${className}`} {...props}>
{children}
</button>
)
}

View File

@ -0,0 +1,18 @@
// ...existing code...
import React from 'react'
type IconButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
'aria-label': string
}
export default function IconButton({ className = '', children, ...props }: IconButtonProps) {
return (
<button
className={`inline-flex items-center justify-center p-2 rounded-md hover:bg-white/6 transition ${className}`}
{...props}
>
{children}
</button>
)
}