mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
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:
parent
755a8aa5bc
commit
ba58ba8f00
176 changed files with 1410 additions and 2487 deletions
|
@ -24,10 +24,10 @@
|
|||
export let id = "ccs-" + Math.random().toString(36);
|
||||
|
||||
import { onMount, getContext } from "svelte";
|
||||
import CheckmarkOutline16 from "../icons/CheckmarkOutline16.svelte";
|
||||
import Warning16 from "../icons/Warning16.svelte";
|
||||
import CircleDash16 from "../icons/CircleDash16.svelte";
|
||||
import Incomplete16 from "../icons/Incomplete16.svelte";
|
||||
import CheckmarkOutline from "../icons/CheckmarkOutline.svelte";
|
||||
import Warning from "../icons/Warning.svelte";
|
||||
import CircleDash from "../icons/CircleDash.svelte";
|
||||
import Incomplete from "../icons/Incomplete.svelte";
|
||||
|
||||
let step = {};
|
||||
|
||||
|
@ -84,13 +84,13 @@
|
|||
}}"
|
||||
>
|
||||
{#if invalid}
|
||||
<Warning16 class="bx--progress__warning" title="{description}" />
|
||||
<Warning class="bx--progress__warning" title="{description}" />
|
||||
{:else if current}
|
||||
<Incomplete16 title="{description}" />
|
||||
<Incomplete title="{description}" />
|
||||
{:else if complete}
|
||||
<CheckmarkOutline16 title="{description}" />
|
||||
<CheckmarkOutline title="{description}" />
|
||||
{:else}
|
||||
<CircleDash16 title="{description}" />
|
||||
<CircleDash title="{description}" />
|
||||
{/if}
|
||||
<slot props="{{ class: 'bx--progress-label' }}">
|
||||
<p class:bx--progress-label="{true}">{label}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue