refactor(icons): use icons from carbon-icons-svelte@11

This commit is contained in:
Eric Liu 2022-04-03 11:09:06 -07:00
commit 0a28d64acf
118 changed files with 1122 additions and 2201 deletions

View file

@ -33,7 +33,7 @@
export let ref = null;
import { afterUpdate } from "svelte";
import ChevronDown16 from "../icons/ChevronDown16.svelte";
import ChevronDown from "../icons/ChevronDown.svelte";
let refAbove = null;
@ -83,7 +83,7 @@
</div>
<div class:bx--tile__chevron="{true}">
<span>{expanded ? tileExpandedLabel : tileCollapsedLabel}</span>
<ChevronDown16 />
<ChevronDown />
</div>
<div class:bx--tile-content="{true}">
<span class:bx--tile-content__below-the-fold="{true}">

View file

@ -24,7 +24,7 @@
export let name = "";
import { getContext } from "svelte";
import CheckmarkFilled16 from "../icons/CheckmarkFilled16.svelte";
import CheckmarkFilled from "../icons/CheckmarkFilled.svelte";
const { add, update, selectedValue } = getContext("TileGroup");
@ -71,10 +71,7 @@
on:mouseleave
>
<span class:bx--tile__checkmark="{true}">
<CheckmarkFilled16
aria-label="{iconDescription}"
title="{iconDescription}"
/>
<CheckmarkFilled aria-label="{iconDescription}" title="{iconDescription}" />
</span>
<span class:bx--tile-content="{true}">
<slot />

View file

@ -33,7 +33,7 @@
export let ref = null;
import { createEventDispatcher } from "svelte";
import CheckmarkFilled16 from "../icons/CheckmarkFilled16.svelte";
import CheckmarkFilled from "../icons/CheckmarkFilled.svelte";
const dispatch = createEventDispatcher();
@ -80,10 +80,7 @@
}}"
>
<span class:bx--tile__checkmark="{true}">
<CheckmarkFilled16
aria-label="{iconDescription}"
title="{iconDescription}"
/>
<CheckmarkFilled aria-label="{iconDescription}" title="{iconDescription}" />
</span>
<span class:bx--tile-content="{true}">
<slot />