Inline carbon icons, remove carbon-icons-svelte from dependencies (#904)

* feat(icons): inline carbon icons used by components

* feat(icons): update svelte components to use inlined carbon icons

* breaking(deps): remove carbon-icons-svelte

* chore(deps-dev): install carbon-icons-svelte as a devDependency
This commit is contained in:
Eric Liu 2021-11-11 08:54:45 -08:00 committed by GitHub
commit 040e3d3372
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 2077 additions and 58 deletions

View file

@ -33,7 +33,7 @@
export let ref = null;
import { afterUpdate } from "svelte";
import ChevronDown16 from "carbon-icons-svelte/lib/ChevronDown16/ChevronDown16.svelte";
import ChevronDown16 from "../icons/ChevronDown16.svelte";
let refContent = null;
let refAbove = null;

View file

@ -24,7 +24,7 @@
export let name = "";
import { getContext } from "svelte";
import CheckmarkFilled16 from "carbon-icons-svelte/lib/CheckmarkFilled16/CheckmarkFilled16.svelte";
import CheckmarkFilled16 from "../icons/CheckmarkFilled16.svelte";
const { add, update, selectedValue } = getContext("TileGroup");

View file

@ -33,7 +33,7 @@
export let ref = null;
import { createEventDispatcher } from "svelte";
import CheckmarkFilled16 from "carbon-icons-svelte/lib/CheckmarkFilled16/CheckmarkFilled16.svelte";
import CheckmarkFilled16 from "../icons/CheckmarkFilled16.svelte";
const dispatch = createEventDispatcher();