update dependencies
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { IconSolid } from 'svelte-heros-v2';
|
||||
import { Eye, EyeSlash } from 'svelte-heros-v2';
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
|
||||
export let id: string | null = null;
|
||||
@@ -106,17 +106,9 @@
|
||||
}}
|
||||
>
|
||||
{#if type === 'password'}
|
||||
<IconSolid
|
||||
name="eye-slash-solid"
|
||||
width={passwordEyeSize[size]}
|
||||
height={passwordEyeSize[size]}
|
||||
/>
|
||||
<EyeSlash variation="solid" size={passwordEyeSize[size]} />
|
||||
{:else}
|
||||
<IconSolid
|
||||
name="eye-solid"
|
||||
width={passwordEyeSize[size]}
|
||||
height={passwordEyeSize[size]}
|
||||
/>
|
||||
<Eye variation="solid" size={passwordEyeSize[size]} />
|
||||
{/if}
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { createEventDispatcher, getContext, onDestroy } from 'svelte';
|
||||
import type { Writable } from 'svelte/store';
|
||||
import { IconSolid } from 'svelte-heros-v2';
|
||||
import { ChevronDown, ChevronUp } from 'svelte-heros-v2';
|
||||
|
||||
let id = crypto.randomUUID();
|
||||
let asc = false;
|
||||
@@ -26,10 +26,10 @@
|
||||
}}
|
||||
>
|
||||
<span class="mr-1"><slot /></span>
|
||||
<IconSolid
|
||||
name={$ascHeader === id && asc ? 'chevron-up-solid' : 'chevron-down-solid'}
|
||||
width="12"
|
||||
height="12"
|
||||
/>
|
||||
{#if $ascHeader === id && asc}
|
||||
<ChevronUp variation="solid" />
|
||||
{:else}
|
||||
<ChevronDown variation="solid" />
|
||||
{/if}
|
||||
</button>
|
||||
</th>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { IconOutline } from 'svelte-heros-v2';
|
||||
import { ExclamationCircle } from 'svelte-heros-v2';
|
||||
import { fly } from 'svelte/transition';
|
||||
import { onDestroy } from 'svelte';
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
>
|
||||
<div class="alert alert-error border-none relative text-gray-900 overflow-hidden">
|
||||
<div class="flex gap-2 z-10">
|
||||
<IconOutline name="exclamation-circle-outline" />
|
||||
<ExclamationCircle />
|
||||
<slot />
|
||||
</div>
|
||||
<progress
|
||||
|
||||
Reference in New Issue
Block a user