mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 01:06:42 +02:00
♻️ refactor(shared-ui): remove lucide-svelte dependency
- Migrate ImmersiveModeToggle to use @manacore/shared-icons (CaretUp/CaretDown) - Remove lucide-svelte from shared-ui package.json - All shared-ui components now use Phosphor icons consistently Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
14ce457c7b
commit
aa5fc451b6
3 changed files with 4 additions and 17 deletions
|
|
@ -43,8 +43,7 @@
|
|||
"d3-selection": "^3.0.0",
|
||||
"d3-transition": "^3.0.0",
|
||||
"d3-zoom": "^3.0.0",
|
||||
"date-fns": "^4.1.0",
|
||||
"lucide-svelte": "^0.468.0"
|
||||
"date-fns": "^4.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/d3-force": "^3.0.10",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { ChevronDown, ChevronUp } from 'lucide-svelte';
|
||||
import { CaretDown, CaretUp } from '@manacore/shared-icons';
|
||||
|
||||
interface Props {
|
||||
/** Whether immersive mode is currently enabled */
|
||||
|
|
@ -21,9 +21,9 @@
|
|||
title={isImmersive ? 'UI anzeigen (F)' : 'UI verstecken (F)'}
|
||||
>
|
||||
{#if isImmersive}
|
||||
<ChevronUp size={20} />
|
||||
<CaretUp size={20} />
|
||||
{:else}
|
||||
<ChevronDown size={20} />
|
||||
<CaretDown size={20} />
|
||||
{/if}
|
||||
</button>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue