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

* chore: update ignore rules, remove unused files

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

* docs(time-picker): fix default value

* chore: upgrade carbon-icons-svelte to v11

* docs: update examples to use icons from carbon-icons-svelte@11

* docs: update number of icons [ci skip]
This commit is contained in:
metonym 2022-04-03 11:57:28 -07:00 committed by GitHub
commit ba58ba8f00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
176 changed files with 1410 additions and 2487 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 />