remove usage of old Icons component in ModalContent
This commit is contained in:
parent
b9f5868fb3
commit
81f2e14172
|
@ -4,7 +4,7 @@
|
||||||
import Button from "../Button/Button.svelte"
|
import Button from "../Button/Button.svelte"
|
||||||
import Heading from "../Typography/Heading.svelte"
|
import Heading from "../Typography/Heading.svelte"
|
||||||
import Divider from "../Divider/Divider.svelte"
|
import Divider from "../Divider/Divider.svelte"
|
||||||
import Icon from "../Icons/Icon.svelte"
|
import Icon from "../Icon/Icon.svelte"
|
||||||
import Context from "../context"
|
import Context from "../context"
|
||||||
|
|
||||||
export let title = undefined
|
export let title = undefined
|
||||||
|
@ -32,6 +32,7 @@
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="spectrum-Dialog spectrum-Dialog--{size}"
|
class="spectrum-Dialog spectrum-Dialog--{size}"
|
||||||
|
style="position: relative;"
|
||||||
role="dialog"
|
role="dialog"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
aria-modal="true">
|
aria-modal="true">
|
||||||
|
@ -66,7 +67,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
{#if showCloseIcon}
|
{#if showCloseIcon}
|
||||||
<div class="close-icon" on:click={hide}>
|
<div class="close-icon" on:click={hide}>
|
||||||
<Icon name="closeline" />
|
<Icon name="Close" />
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue