mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 16:17:43 +02:00
New shared-ui components: - GlassCard: Glassmorphism container for cards - StatRow: Generic stat row with snippet-based icons - TagBadge: Reusable tag badge component - AudioPlayer: Full-featured audio player with customizable icons Updated Memoro to use shared components as wrappers while maintaining app-specific features (icons, styling). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
406 B
Svelte
19 lines
406 B
Svelte
<script lang="ts">
|
|
/**
|
|
* Memoro GlassCard
|
|
* Re-exports from @manacore/shared-ui for backward compatibility
|
|
*/
|
|
import { GlassCard } from '@manacore/shared-ui';
|
|
import type { Snippet } from 'svelte';
|
|
|
|
interface Props {
|
|
children: Snippet;
|
|
class?: string;
|
|
}
|
|
|
|
let { children, class: className = '' }: Props = $props();
|
|
</script>
|
|
|
|
<GlassCard class={className}>
|
|
{@render children()}
|
|
</GlassCard>
|