mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
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:
parent
4df812bc3f
commit
040e3d3372
90 changed files with 2077 additions and 58 deletions
|
@ -102,7 +102,7 @@
|
|||
|
||||
import { createEventDispatcher, setContext } from "svelte";
|
||||
import { writable, derived } from "svelte/store";
|
||||
import ChevronRight16 from "carbon-icons-svelte/lib/ChevronRight16/ChevronRight16.svelte";
|
||||
import ChevronRight16 from "../icons/ChevronRight16.svelte";
|
||||
import { InlineCheckbox } from "../Checkbox";
|
||||
import { RadioButton } from "../RadioButton";
|
||||
import Table from "./Table.svelte";
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
import { getContext } from "svelte";
|
||||
import ArrowUp20 from "carbon-icons-svelte/lib/ArrowUp20/ArrowUp20.svelte";
|
||||
import ArrowsVertical20 from "carbon-icons-svelte/lib/ArrowsVertical20/ArrowsVertical20.svelte";
|
||||
import ArrowsVertical20 from "../icons/ArrowsVertical20.svelte";
|
||||
|
||||
const { sortHeader, tableSortable, add } = getContext("DataTable");
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/** @extends {"../OverflowMenu/OverflowMenu.svelte"} OverflowMenuProps */
|
||||
|
||||
import { getContext } from "svelte";
|
||||
import Settings16 from "carbon-icons-svelte/lib/Settings16";
|
||||
import Settings16 from "../icons/Settings16.svelte";
|
||||
import { OverflowMenu } from "../OverflowMenu";
|
||||
|
||||
const ctx = getContext("Toolbar");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue