chore: upgrade carbon-icons-svelte to v11

This commit is contained in:
Eric Liu 2022-04-03 11:40:44 -07:00
commit d4a55ef4ce
15 changed files with 41 additions and 45 deletions

View file

@ -1,14 +1,14 @@
<script lang="ts">
import { TreeView } from "../types";
import type { TreeNodeId } from "../types/TreeView/TreeView.svelte";
import Analytics16 from "carbon-icons-svelte/lib/Analytics16";
import Analytics from "carbon-icons-svelte/lib/Analytics.svelte";
let treeview: TreeView;
let activeId: TreeNodeId = "";
let selectedIds = [];
let expandedIds = [1];
let children = [
{ id: 0, text: "AI / Machine learning", icon: Analytics16 },
{ id: 0, text: "AI / Machine learning", icon: Analytics },
{
id: 1,
text: "Analytics",