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

@ -15,7 +15,7 @@
*/
export let translateWithId = (id) => defaultTranslations[id];
import ChevronDown16 from "carbon-icons-svelte/lib/ChevronDown16";
import ChevronDown16 from "../icons/ChevronDown16.svelte";
const defaultTranslations = {
[translationIds.close]: "Close menu",

View file

@ -28,7 +28,7 @@
export let ref = null;
import { createEventDispatcher, getContext } from "svelte";
import Close16 from "carbon-icons-svelte/lib/Close16";
import Close16 from "../icons/Close16.svelte";
const defaultTranslations = {
[translationIds.clearAll]: "Clear all selected items",