mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01: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
|
@ -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}">
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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 />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue