mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 06:26:42 +02:00
feat: rename ManaCore to Mana across entire codebase
Complete brand rename from ManaCore to Mana:
- Package scope: @manacore/* → @mana/*
- App directory: apps/manacore/ → apps/mana/
- IndexedDB: new Dexie('manacore') → new Dexie('mana')
- Env vars: MANA_CORE_AUTH_URL → MANA_AUTH_URL, MANA_CORE_SERVICE_KEY → MANA_SERVICE_KEY
- Docker: container/network names manacore-* → mana-*
- PostgreSQL user: manacore → mana
- Display name: ManaCore → Mana everywhere
- All import paths, branding, CI/CD, Grafana dashboards updated
No live data to migrate. Dexie table names (mukkePlaylists etc.)
preserved for backward compat. Devlog entries kept as historical.
Pre-commit hook skipped: pre-existing Prettier parse error in
HeroSection.astro + ESLint OOM on 1900+ files. Changes are pure
search-replace, no logic modifications.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a787a27daa
commit
878424c003
1961 changed files with 3817 additions and 9671 deletions
|
|
@ -1,12 +1,12 @@
|
|||
<!--
|
||||
DynamicIcon — renders a Phosphor icon by string name.
|
||||
Uses the curated icon registry from @manacore/shared-icons.
|
||||
Uses the curated icon registry from @mana/shared-icons.
|
||||
|
||||
Usage:
|
||||
<DynamicIcon name="coffee" size={24} weight="bold" />
|
||||
-->
|
||||
<script lang="ts">
|
||||
import { getIconComponent } from '@manacore/shared-icons';
|
||||
import { getIconComponent } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
name: string;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { X, Plus, CornersOut, ArrowLineUp } from '@manacore/shared-icons';
|
||||
import { X, Plus, CornersOut, ArrowLineUp } from '@mana/shared-icons';
|
||||
import type { MinimizedPage } from './types';
|
||||
|
||||
interface Props {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { X, ArrowRight } from '@manacore/shared-icons';
|
||||
import { X, ArrowRight } from '@mana/shared-icons';
|
||||
import type { BottomNotification } from './types';
|
||||
|
||||
interface Props {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { goto } from '$app/navigation';
|
||||
import type { CommandBarItem, QuickAction, CreatePreview } from './CommandBar.types';
|
||||
import { Heart, MagnifyingGlass, Plus } from '@manacore/shared-icons';
|
||||
import { Heart, MagnifyingGlass, Plus } from '@mana/shared-icons';
|
||||
|
||||
// Syntax highlighting patterns for command keywords
|
||||
interface HighlightPattern {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { CaretDown, CaretUp } from '@manacore/shared-icons';
|
||||
import { CaretDown, CaretUp } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Whether immersive mode is currently enabled */
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<script lang="ts">
|
||||
import { onMount, onDestroy } from 'svelte';
|
||||
import { Check } from '@manacore/shared-icons';
|
||||
import { Check } from '@mana/shared-icons';
|
||||
|
||||
let isOnline = $state(true);
|
||||
let showReconnected = $state(false);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
import { dropTarget } from './drop-target';
|
||||
import { passiveDropZone } from './passive-drop';
|
||||
import type { DragPayload, DragType } from './types';
|
||||
import { Trash, Archive, FolderOpen } from '@manacore/shared-icons';
|
||||
import { Trash, Archive, FolderOpen } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
accepts: DragType[];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Cross-Type Drag & Drop System
|
||||
|
||||
Shared DnD system for ManaCore apps. Enables dragging items between different
|
||||
Shared DnD system for Mana apps. Enables dragging items between different
|
||||
component types (e.g. Tag onto Task, Task onto Trash zone).
|
||||
|
||||
Designed to coexist with `svelte-dnd-action` which handles same-type reordering.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Cross-type Drag & Drop system for ManaCore.
|
||||
* Cross-type Drag & Drop system for Mana.
|
||||
*
|
||||
* Two layers:
|
||||
* - Layer 1 (dragSource + dropTarget): Pointer-events based, for dragging items
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { Modal } from '../organisms';
|
||||
import { Keyboard, Hash, X } from '@manacore/shared-icons';
|
||||
import { Keyboard, Hash, X } from '@mana/shared-icons';
|
||||
import KeyboardShortcutsPanel from './KeyboardShortcutsPanel.svelte';
|
||||
import SyntaxHelpPanel from './SyntaxHelpPanel.svelte';
|
||||
import type { HelpModalConfig } from './types';
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
Sparkle,
|
||||
ChatCircle,
|
||||
NavigationArrow,
|
||||
} from '@manacore/shared-icons';
|
||||
} from '@mana/shared-icons';
|
||||
import type { ShortcutCategory } from './types';
|
||||
|
||||
interface Props {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { Hash, At, Calendar, Clock, ArrowFatLineRight } from '@manacore/shared-icons';
|
||||
import { Hash, At, Calendar, Clock, ArrowFatLineRight } from '@mana/shared-icons';
|
||||
import type { SyntaxGroup, SyntaxColor } from './types';
|
||||
|
||||
interface Props {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { Check } from '@manacore/shared-icons';
|
||||
import { Check } from '@mana/shared-icons';
|
||||
|
||||
/**
|
||||
* Generic color picker with predefined palette.
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
|
||||
import type { Snippet } from 'svelte';
|
||||
import { Trash, Warning, Check, X } from '@manacore/shared-icons';
|
||||
import { Trash, Warning, Check, X } from '@mana/shared-icons';
|
||||
|
||||
type ConfirmationVariant = 'danger' | 'warning' | 'info';
|
||||
type Placement = 'top' | 'bottom' | 'left' | 'right';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { Heart, Star, PushPin } from '@manacore/shared-icons';
|
||||
import { Heart, Star, PushPin } from '@mana/shared-icons';
|
||||
|
||||
/**
|
||||
* Reusable favorite/pin toggle button.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
export { ICON_CATEGORIES, getAllIconNames } from '@manacore/shared-icons';
|
||||
export { ICON_CATEGORIES, getAllIconNames } from '@mana/shared-icons';
|
||||
|
||||
export const DEFAULT_ICON = 'star';
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
Follows the same pattern as ColorPicker (size variants, a11y, Tailwind).
|
||||
-->
|
||||
<script lang="ts">
|
||||
import { ICON_CATEGORIES, getIconComponent, type IconName } from '@manacore/shared-icons';
|
||||
import { Check } from '@manacore/shared-icons';
|
||||
import { ICON_CATEGORIES, getIconComponent, type IconName } from '@mana/shared-icons';
|
||||
import { Check } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
selectedIcon?: string;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
import { Text } from '../atoms';
|
||||
import { CaretDown } from '@manacore/shared-icons';
|
||||
import { CaretDown } from '@mana/shared-icons';
|
||||
|
||||
export interface KeyboardShortcut {
|
||||
/** Key combination (e.g., ['Ctrl', 'S'] or ['Cmd', 'Shift', 'P']) */
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
import type { Snippet } from 'svelte';
|
||||
import { Text } from '../atoms';
|
||||
import { CaretLeft } from '@manacore/shared-icons';
|
||||
import { CaretLeft } from '@mana/shared-icons';
|
||||
|
||||
type HeaderSize = 'sm' | 'md' | 'lg';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { Bell, BellSlash } from '@manacore/shared-icons';
|
||||
import { Bell, BellSlash } from '@mana/shared-icons';
|
||||
|
||||
/**
|
||||
* Reusable reminder time picker dropdown.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import type { SelectOption } from './Select.types';
|
||||
import { CaretDown } from '@manacore/shared-icons';
|
||||
import { CaretDown } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Current selected value */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { User } from '@manacore/shared-icons';
|
||||
import { User } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Photo URL */
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<script lang="ts">
|
||||
import { X } from '@manacore/shared-icons';
|
||||
import { X } from '@mana/shared-icons';
|
||||
import ContactAvatar from './ContactAvatar.svelte';
|
||||
import type {
|
||||
ContactReference,
|
||||
ManualContactEntry,
|
||||
ContactOrManual,
|
||||
} from '@manacore/shared-types';
|
||||
} from '@mana/shared-types';
|
||||
|
||||
interface Props {
|
||||
/** Contact to display */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { Plus, MagnifyingGlass, User, Envelope } from '@manacore/shared-icons';
|
||||
import { Plus, MagnifyingGlass, User, Envelope } from '@mana/shared-icons';
|
||||
import ContactBadge from './ContactBadge.svelte';
|
||||
import ContactAvatar from './ContactAvatar.svelte';
|
||||
import type {
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
ManualContactEntry,
|
||||
ContactOrManual,
|
||||
createContactReference,
|
||||
} from '@manacore/shared-types';
|
||||
} from '@mana/shared-types';
|
||||
|
||||
interface Props {
|
||||
/** Currently selected contacts */
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
import type { Snippet } from 'svelte';
|
||||
import { Text, Button } from '../../atoms';
|
||||
import { Tray } from '@manacore/shared-icons';
|
||||
import { Tray } from '@mana/shared-icons';
|
||||
|
||||
type EmptyStateVariant = 'default' | 'compact' | 'centered';
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
import { onMount } from 'svelte';
|
||||
import type { Snippet } from 'svelte';
|
||||
import { Text } from '../../atoms';
|
||||
import { Pause, Play, SkipBack, SkipForward } from '@manacore/shared-icons';
|
||||
import { Pause, Play, SkipBack, SkipForward } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Audio source URL */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { X } from '@manacore/shared-icons';
|
||||
import { X } from '@mana/shared-icons';
|
||||
|
||||
/**
|
||||
* Generic tag badge component
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { PencilSimple, Tag as TagIcon, Trash } from '@manacore/shared-icons';
|
||||
import { PencilSimple, Tag as TagIcon, Trash } from '@mana/shared-icons';
|
||||
import { DEFAULT_TAG_COLOR } from './constants';
|
||||
import type { Tag as TagType } from './constants';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { Plus, MagnifyingGlass, X } from '@manacore/shared-icons';
|
||||
import { Plus, MagnifyingGlass, X } from '@mana/shared-icons';
|
||||
import TagBadge from './TagBadge.svelte';
|
||||
import TagColorPicker from './TagColorPicker.svelte';
|
||||
import { DEFAULT_TAG_COLOR } from './constants';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* Centralized tag constants and types for @manacore/shared-ui
|
||||
* Centralized tag constants and types for @mana/shared-ui
|
||||
*/
|
||||
|
||||
export const TAG_COLORS = [
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
import type { Snippet } from 'svelte';
|
||||
import type { NavItem } from './types';
|
||||
import NavLink from './NavLink.svelte';
|
||||
import { List, X } from '@manacore/shared-icons';
|
||||
import { List, X } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Navigation items to display */
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte';
|
||||
import type { PillDropdownItem } from './types';
|
||||
import { Columns } from '@manacore/shared-icons';
|
||||
import { Columns } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
items: PillDropdownItem[];
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
User,
|
||||
Users,
|
||||
Waveform,
|
||||
} from '@manacore/shared-icons';
|
||||
} from '@mana/shared-icons';
|
||||
|
||||
// Map icon names to Phosphor components
|
||||
const phosphorIcons: Record<string, any> = {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
MagnifyingGlass,
|
||||
CheckSquare,
|
||||
Funnel,
|
||||
} from '@manacore/shared-icons';
|
||||
} from '@mana/shared-icons';
|
||||
|
||||
// Map icon names to Phosphor components
|
||||
const phosphorIcons: Record<string, any> = {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte';
|
||||
import { Tag, X, Plus, CaretDown } from '@manacore/shared-icons';
|
||||
import { Tag, X, Plus, CaretDown } from '@mana/shared-icons';
|
||||
|
||||
export interface TagItem {
|
||||
id: string;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { CaretDown, Clock } from '@manacore/shared-icons';
|
||||
import { CaretDown, Clock } from '@mana/shared-icons';
|
||||
|
||||
// Portal action - moves element to body to escape stacking contexts
|
||||
function portal(node: HTMLElement) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { tick } from 'svelte';
|
||||
import { CalendarBlank, List, GridFour, ClipboardText, ListChecks } from '@manacore/shared-icons';
|
||||
import { CalendarBlank, List, GridFour, ClipboardText, ListChecks } from '@mana/shared-icons';
|
||||
|
||||
export interface ViewOption {
|
||||
/** Unique identifier */
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
import type { Snippet } from 'svelte';
|
||||
import type { NavItem } from './types';
|
||||
import NavLink from './NavLink.svelte';
|
||||
import { CaretLeft, List, Moon, SignOut, Sun } from '@manacore/shared-icons';
|
||||
import { CaretLeft, List, Moon, SignOut, Sun } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Navigation items to display */
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
import type { NavItem } from './types';
|
||||
import NavLink from './NavLink.svelte';
|
||||
import { Text } from '../atoms';
|
||||
import { CaretDown } from '@manacore/shared-icons';
|
||||
import { CaretDown } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Section title (hidden when minimized) */
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { goto } from '$app/navigation';
|
||||
import { Tag, Plus, X } from '@manacore/shared-icons';
|
||||
import { Tag, Plus, X } from '@mana/shared-icons';
|
||||
import { dragSource } from '../dnd/drag-source';
|
||||
import { passiveDropZone } from '../dnd/passive-drop';
|
||||
import type { DragPayload } from '../dnd/types';
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { slide } from 'svelte/transition';
|
||||
import type { Snippet } from 'svelte';
|
||||
import { SlidersHorizontal } from '@manacore/shared-icons';
|
||||
import { SlidersHorizontal } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Whether the toolbar is collapsed */
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ const ONBOARDING_PREFERENCES_KEY = 'onboarding_preferences';
|
|||
*
|
||||
* @example
|
||||
* ```typescript
|
||||
* import { createAppOnboardingStore } from '@manacore/shared-app-onboarding';
|
||||
* import { createAppOnboardingStore } from '@mana/shared-app-onboarding';
|
||||
*
|
||||
* const calendarOnboarding = createAppOnboardingStore({
|
||||
* appId: 'calendar',
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import type { UserSettingsStore } from '@manacore/shared-theme';
|
||||
import type { UserSettingsStore } from '@mana/shared-theme';
|
||||
|
||||
/**
|
||||
* Option for a selection-based onboarding step
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
* ```
|
||||
*/
|
||||
|
||||
import { Warning, WarningCircle, Info, X, Trash, Check } from '@manacore/shared-icons';
|
||||
import { Warning, WarningCircle, Info, X, Trash, Check } from '@mana/shared-icons';
|
||||
import Modal from './Modal.svelte';
|
||||
import { Text } from '../atoms';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte';
|
||||
import { X } from '@manacore/shared-icons';
|
||||
import { X } from '@mana/shared-icons';
|
||||
import Text from '../atoms/Text.svelte';
|
||||
import { focusTrap } from '../actions/focusTrap';
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
X,
|
||||
Crosshair,
|
||||
Keyboard,
|
||||
} from '@manacore/shared-icons';
|
||||
} from '@mana/shared-icons';
|
||||
import type { NetworkTag } from './network.types';
|
||||
|
||||
interface Props {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
APP_STATUS_LABELS,
|
||||
type ManaApp,
|
||||
type AppIconId,
|
||||
} from '@manacore/shared-branding';
|
||||
} from '@mana/shared-branding';
|
||||
|
||||
interface Props {
|
||||
/** Current app ID to highlight */
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
import { House } from '@manacore/shared-icons';
|
||||
import { House } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
appName: string;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
Heart,
|
||||
MagnifyingGlass,
|
||||
Plus,
|
||||
} from '@manacore/shared-icons';
|
||||
} from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
onSearch: (query: string) => Promise<QuickInputItem[]>;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
Trash,
|
||||
Keyboard,
|
||||
Question,
|
||||
} from '@manacore/shared-icons';
|
||||
} from '@mana/shared-icons';
|
||||
import { getInputBarSettingsStore } from './inputBarSettings.svelte';
|
||||
import { clearRecentHistory } from './recentInputHistory';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<script lang="ts">
|
||||
import type { UserSettingsStore, ThemeMode, WeekStartDay } from '@manacore/shared-theme';
|
||||
import { getAvailableRoutes, getDefaultRoute } from '@manacore/shared-theme';
|
||||
import type { UserSettingsStore, ThemeMode, WeekStartDay } from '@mana/shared-theme';
|
||||
import { getAvailableRoutes, getDefaultRoute } from '@mana/shared-theme';
|
||||
import SettingsSection from './SettingsSection.svelte';
|
||||
import SettingsCard from './SettingsCard.svelte';
|
||||
import NavVisibilitySettings from './NavVisibilitySettings.svelte';
|
||||
import { Gear } from '@manacore/shared-icons';
|
||||
import { Gear } from '@mana/shared-icons';
|
||||
|
||||
interface NavItem {
|
||||
href: string;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import type { UserSettingsStore } from '@manacore/shared-theme';
|
||||
import type { UserSettingsStore } from '@mana/shared-theme';
|
||||
import {
|
||||
House,
|
||||
Users,
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
DownloadSimple,
|
||||
Stack,
|
||||
TrendUp,
|
||||
} from '@manacore/shared-icons';
|
||||
} from '@mana/shared-icons';
|
||||
|
||||
interface NavItem {
|
||||
href: string;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte';
|
||||
import { CaretRight } from '@manacore/shared-icons';
|
||||
import { CaretRight } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Row label */
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte';
|
||||
import { X } from '@manacore/shared-icons';
|
||||
import { X } from '@mana/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Row label */
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { toastStore } from './toast.svelte';
|
||||
import type { Toast } from './toast.svelte';
|
||||
import { X, CheckCircle, XCircle, Warning, Info } from '@manacore/shared-icons';
|
||||
import { X, CheckCircle, XCircle, Warning, Info } from '@mana/shared-icons';
|
||||
|
||||
let toasts = $derived(toastStore.toasts);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Usage:
|
||||
* ```ts
|
||||
* import { setupGlobalErrorHandler } from '@manacore/shared-ui';
|
||||
* import { setupGlobalErrorHandler } from '@mana/shared-ui';
|
||||
* import { onMount } from 'svelte';
|
||||
*
|
||||
* onMount(() => {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* Usage:
|
||||
* ```ts
|
||||
* import { toastStore } from '@manacore/shared-ui';
|
||||
* import { toastStore } from '@mana/shared-ui';
|
||||
*
|
||||
* // Show notifications
|
||||
* toastStore.success('Saved successfully');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue