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

@ -65,9 +65,9 @@
import { createEventDispatcher, setContext, afterUpdate } from "svelte";
import { writable } from "svelte/store";
import ChevronDown16 from "../icons/ChevronDown16.svelte";
import WarningFilled16 from "../icons/WarningFilled16.svelte";
import WarningAltFilled16 from "../icons/WarningAltFilled16.svelte";
import ChevronDown from "../icons/ChevronDown.svelte";
import WarningFilled from "../icons/WarningFilled.svelte";
import WarningAltFilled from "../icons/WarningAltFilled.svelte";
const dispatch = createEventDispatcher();
const selectedValue = writable(selected);
@ -129,9 +129,9 @@
>
<slot />
</select>
<ChevronDown16 class="bx--select__arrow" />
<ChevronDown class="bx--select__arrow" />
{#if invalid}
<WarningFilled16 class="bx--select__invalid-icon" />
<WarningFilled class="bx--select__invalid-icon" />
{/if}
</div>
{#if invalid}
@ -173,12 +173,12 @@
>
<slot />
</select>
<ChevronDown16 class="bx--select__arrow" />
<ChevronDown class="bx--select__arrow" />
{#if invalid}
<WarningFilled16 class="bx--select__invalid-icon" />
<WarningFilled class="bx--select__invalid-icon" />
{/if}
{#if !invalid && warn}
<WarningAltFilled16
<WarningAltFilled
class="bx--select__invalid-icon bx--select__invalid-icon--warning"
/>
{/if}