Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio: update Hugeicons to 4.4.0 (#16442)
Michael Han6401ceda29a5
diff --git a/studio/frontend/package-lock.json b/studio/frontend/package-lock.jsonindex 60e9f6b4a87..791ddf042d7 100644--- a/studio/frontend/package-lock.json+++ b/studio/frontend/package-lock.json@@ -18,7 +18,7 @@"@fontsource-variable/figtree": "^5.2.10","@fontsource-variable/inter": "^5.2.8","@fontsource-variable/space-grotesk": "^5.2.10",- "@hugeicons/core-free-icons": "^4.1.1",+ "@hugeicons/core-free-icons": "^4.4.0","@hugeicons/react": "^1.1.5","@huggingface/hub": "^2.9.0","@radix-ui/react-checkbox": "^1.3.3",@@ -994,9 +994,9 @@}},"node_modules/@hugeicons/core-free-icons": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/@hugeicons/core-free-icons/-/core-free-icons-4.1.1.tgz",- "integrity": "sha512-teqIBvPHl90ygIwKyJwTxOH8aNp1X1PjDTcMvLkEwdPxPD+8mssrZ5kXKIAJJFYPsz69a8LYQY0UPid4PAdavg==",+ "version": "4.4.0",+ "resolved": "https://registry.npmjs.org/@hugeicons/core-free-icons/-/core-free-icons-4.4.0.tgz",+ "integrity": "sha512-7Mz8bmGoY6tZ6l3C2TXwNMLVSr0I8HPwjjFIERAuJFj3rWwLxdF2ZLkDqdrVuEE1dx5b/VXyIsP4WoSU6Q40KQ==","license": "MIT"},"node_modules/@hugeicons/react": {diff --git a/studio/frontend/package.json b/studio/frontend/package.jsonindex 5b4377555d3..62305ddf182 100644--- a/studio/frontend/package.json+++ b/studio/frontend/package.json@@ -33,7 +33,7 @@"@fontsource-variable/figtree": "^5.2.10","@fontsource-variable/inter": "^5.2.8","@fontsource-variable/space-grotesk": "^5.2.10",- "@hugeicons/core-free-icons": "^4.1.1",+ "@hugeicons/core-free-icons": "^4.4.0","@hugeicons/react": "^1.1.5","@huggingface/hub": "^2.9.0","@radix-ui/react-checkbox": "^1.3.3",diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsxindex 5208f438f26..7b4af801d11 100644--- a/studio/frontend/src/components/app-sidebar.tsx+++ b/studio/frontend/src/components/app-sidebar.tsx@@ -106,7 +106,7 @@ import { useUiSpaceScale } from "@/hooks/use-ui-space-scale";import { useHoverFlyout } from "@/hooks/use-hover-flyout";import { NAV_FLYOUT_INTENT, NAV_TOOLTIP_INTENT } from "@/lib/hover-intent";import {- Archive03Icon,+ ArchiveIcon,Cancel01Icon,BadgeInfoIcon,ChefHatIcon,@@ -4529,7 +4529,7 @@ export function AppSidebar() {disabled={chats.length === 0}onSelect={() => void archiveSection().catch(() => undefined)}>- <HugeiconsIcon icon={Archive03Icon} strokeWidth={1.75} className="size-icon" />+ <HugeiconsIcon icon={ArchiveIcon} strokeWidth={1.75} className="size-icon" /><span>{t("shell.selection.archiveChats")}</span></DropdownMenuItem><DropdownMenuSeparator />@@ -5144,7 +5144,7 @@ export function AppSidebar() {selectedChatItems.map((selected) => selected.id),)}<ContextMenuItem onSelect={() => void archiveSelected()}>- <HugeiconsIcon icon={Archive03Icon} strokeWidth={1.75} className="size-icon" />+ <HugeiconsIcon icon={ArchiveIcon} strokeWidth={1.75} className="size-icon" /><span>{t("shell.selection.archiveChats")}</span></ContextMenuItem><ContextMenuItem@@ -5284,7 +5284,7 @@ export function AppSidebar() {</P.Sub><P.Separator /><P.Item onSelect={() => void handleArchiveThread(item)}>- <HugeiconsIcon icon={Archive03Icon} strokeWidth={1.75} className="size-icon" />+ <HugeiconsIcon icon={ArchiveIcon} strokeWidth={1.75} className="size-icon" /><span>Archive</span></P.Item><P.Item@@ -5650,7 +5650,7 @@ export function AppSidebar() {anyFiled: !pinnedProjectIdSet.has(project.id) && Boolean(sectionByProjectId[project.id]),})}<P.Item onSelect={() => void archiveProjectChats()}>- <HugeiconsIcon icon={Archive03Icon} strokeWidth={1.75} className="size-icon" />+ <HugeiconsIcon icon={ArchiveIcon} strokeWidth={1.75} className="size-icon" /><span>Archive chats</span></P.Item><P.Separator />diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsxindex 3dd85d7ff4c..3d913af4f67 100644--- a/studio/frontend/src/components/assistant-ui/thread.tsx+++ b/studio/frontend/src/components/assistant-ui/thread.tsx@@ -427,7 +427,7 @@ import {} from "@assistant-ui/react";import { flushResourcesSync } from "@assistant-ui/tap";import {- AttachmentIcon,+ Attachment01Icon,CodeIcon,Download01Icon,Edit03Icon,@@ -5855,7 +5855,7 @@ const Composer: FC<{)}><HugeiconsIcon- icon={AttachmentIcon}+ icon={Attachment01Icon}strokeWidth={2}className="size-6 text-primary"/>@@ -7202,7 +7202,7 @@ const ComposerToolsMenu: FC<{disabled={!composerCanAddAttachments}onSelect={() => pickAttachment()}>- <HugeiconsIcon icon={AttachmentIcon} strokeWidth={2} />+ <HugeiconsIcon icon={Attachment01Icon} strokeWidth={2} />Add photos & files</DropdownMenuItem><DropdownMenuItemdiff --git a/studio/frontend/src/components/gallery-item-menu.tsx b/studio/frontend/src/components/gallery-item-menu.tsxindex 125923fad4d..1acb46543ac 100644--- a/studio/frontend/src/components/gallery-item-menu.tsx+++ b/studio/frontend/src/components/gallery-item-menu.tsx@@ -2,7 +2,7 @@// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0import {- Archive03Icon,+ ArchiveIcon,ArchiveRestoreIcon,Download01Icon,MoreVerticalIcon,@@ -139,7 +139,7 @@ export function GalleryItemMenu({) : null}{project.submenu}<DropdownMenuItem onClick={onToggleArchive}>- <HugeiconsIcon icon={archived ? ArchiveRestoreIcon : Archive03Icon} strokeWidth={1.75} className="size-icon" />+ <HugeiconsIcon icon={archived ? ArchiveRestoreIcon : ArchiveIcon} strokeWidth={1.75} className="size-icon" />{archived ? "Restore from archive" : "Archive"}</DropdownMenuItem><DropdownMenuSeparator />diff --git a/studio/frontend/src/features/audio/transcript-gallery.tsx b/studio/frontend/src/features/audio/transcript-gallery.tsxindex a7baaa3124e..1edf9c2a327 100644--- a/studio/frontend/src/features/audio/transcript-gallery.tsx+++ b/studio/frontend/src/features/audio/transcript-gallery.tsx@@ -12,7 +12,7 @@ import {import { HugeiconsIcon } from "@hugeicons/react";import { TrashIcon } from "@/lib/hugeicons-derived";import {- Archive02Icon,+ ArchiveIcon,Download01Icon,MoreVerticalIcon,} from "@hugeicons/core-free-icons";@@ -357,7 +357,7 @@ export function TranscriptGallery({)}>- <HugeiconsIcon icon={Archive02Icon} />+ <HugeiconsIcon icon={ArchiveIcon} />{record.archived ? "Unarchive" : "Archive"}</DropdownMenuItem><DropdownMenuItemdiff --git a/studio/frontend/src/features/chat/chat-page.tsx b/studio/frontend/src/features/chat/chat-page.tsxindex 38f96498d33..165e0f5fa02 100644--- a/studio/frontend/src/features/chat/chat-page.tsx+++ b/studio/frontend/src/features/chat/chat-page.tsx@@ -115,7 +115,7 @@ import {} from "./utils/conversation-markdown";import { TrashIcon } from "@/lib/hugeicons-derived";import {- Archive03Icon,+ ArchiveIcon,Download01Icon,Edit03Icon,LayoutAlignRightIcon,@@ -2478,7 +2478,7 @@ function ProjectLanding({onSelect={() => void handleArchive(item)}><HugeiconsIcon- icon={Archive03Icon}+ icon={ArchiveIcon}strokeWidth={1.75}className="size-icon"/>diff --git a/studio/frontend/src/features/chat/components/chat-header-menu.tsx b/studio/frontend/src/features/chat/components/chat-header-menu.tsxindex 99a36b33a58..34a08f69134 100644--- a/studio/frontend/src/features/chat/components/chat-header-menu.tsx+++ b/studio/frontend/src/features/chat/components/chat-header-menu.tsx@@ -28,7 +28,7 @@ import { isDownloadCancelled } from "@/lib/native-files";import { toast } from "@/lib/toast";import { cn } from "@/lib/utils";import {- Archive03Icon,+ ArchiveIcon,BubbleChatTemporaryIcon,Cancel01Icon,CollapseIcon,@@ -407,7 +407,7 @@ function ChatMenuItems({ menu }: { menu: ActiveChatMenu }) {<OpenChatFolderItem item={menu.item} /><UploadToChatFolderItem item={menu.item} /><DropdownMenuSeparator className="mx-3" />- <Item icon={Archive03Icon} onSelect={menu.archive} shortcut="archiveChat">+ <Item icon={ArchiveIcon} onSelect={menu.archive} shortcut="archiveChat">{t("settings.data.library.archive")}</Item><Item icon={TrashIcon} onSelect={menu.remove} destructive={true}>diff --git a/studio/frontend/src/features/chat/projects-page.tsx b/studio/frontend/src/features/chat/projects-page.tsxindex bf251d35dce..233bd18122a 100644--- a/studio/frontend/src/features/chat/projects-page.tsx+++ b/studio/frontend/src/features/chat/projects-page.tsx@@ -65,7 +65,7 @@ import { EditProjectDialog } from "./components/edit-project-dialog";import { NewProjectDialog } from "./components/new-project-dialog";import { TrashIcon } from "@/lib/hugeicons-derived";import {- Archive03Icon,+ ArchiveIcon,Download01Icon,Edit03Icon,PencilEdit02Icon,@@ -1032,7 +1032,7 @@ export function ProjectsPage({<OpenChatFolderItem item={chat} /><DropdownMenuSeparator /><DropdownMenuItem onSelect={() => void archiveChat(chat)}>- <HugeiconsIcon icon={Archive03Icon} strokeWidth={1.75} className="size-icon" />+ <HugeiconsIcon icon={ArchiveIcon} strokeWidth={1.75} className="size-icon" /><span>{t("projectsPage.archive")}</span></DropdownMenuItem><DropdownMenuItemdiff --git a/studio/frontend/src/features/chat/shared-composer.tsx b/studio/frontend/src/features/chat/shared-composer.tsxindex 57b6ec59f7f..6e82ec8f704 100644--- a/studio/frontend/src/features/chat/shared-composer.tsx+++ b/studio/frontend/src/features/chat/shared-composer.tsx@@ -114,7 +114,7 @@ import {Columns2Icon,} from "lucide-react";import {- AttachmentIcon,+ Attachment01Icon,CodeIcon,Download01Icon,Image03Icon,@@ -2686,7 +2686,7 @@ export function SharedComposer({className={`pointer-events-none absolute inset-0 z-20 flex flex-col items-center justify-center gap-1 overflow-hidden rounded-[inherit] bg-background/90 backdrop-blur-sm transition-opacity duration-150 dark:bg-card/90 ${dragging ? "opacity-100" : "opacity-0"}`}><HugeiconsIcon- icon={AttachmentIcon}+ icon={Attachment01Icon}strokeWidth={2}className="size-6 text-primary"/>@@ -2793,7 +2793,7 @@ export function SharedComposer({onCloseAutoFocus={(event) => event.preventDefault()}><DropdownMenuItem onSelect={() => fileInputRef.current?.click()}>- <HugeiconsIcon icon={AttachmentIcon} strokeWidth={2} />+ <HugeiconsIcon icon={Attachment01Icon} strokeWidth={2} />Add photos & files</DropdownMenuItem>{activeModel?.hasAudioInput && (diff --git a/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx b/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsxindex 59823a8d910..07072e231ba 100644--- a/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx+++ b/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx@@ -29,9 +29,8 @@ import { ShineBorder } from "@/components/ui/shine-border";import { ChevronDownStandardIcon } from "@/lib/chevron-icons";import { OPEN_LEARNING_RECIPES_ON_ARRIVAL_KEY } from "@/lib/navigation-intents";import { toastError } from "@/shared/toast";-import { TrashIcon } from "@/lib/hugeicons-derived";+import { Album02Icon, TrashIcon } from "@/lib/hugeicons-derived";import {- Album02Icon,BookOpen01Icon,CodeIcon,CookBookIcon,diff --git a/studio/frontend/src/features/hub/components/hf-token-indicator.tsx b/studio/frontend/src/features/hub/components/hf-token-indicator.tsxindex 795b0a1c6b3..e75fc2b06dd 100644--- a/studio/frontend/src/features/hub/components/hf-token-indicator.tsx+++ b/studio/frontend/src/features/hub/components/hf-token-indicator.tsx@@ -9,7 +9,7 @@ import {} from "@/components/ui/tooltip";import { useT } from "@/i18n";import { cn } from "@/lib/utils";-import { AiSecurity03Icon } from "@hugeicons/core-free-icons";+import { AiSecurity03Icon } from "@/lib/hugeicons-derived";import { HugeiconsIcon } from "@hugeicons/react";import { hfApiToken, useHfTokenStore } from "../stores/hf-token-store";diff --git a/studio/frontend/src/features/images/workflows.ts b/studio/frontend/src/features/images/workflows.tsindex 0c801d2c7df..f374b8d53ef 100644--- a/studio/frontend/src/features/images/workflows.ts+++ b/studio/frontend/src/features/images/workflows.ts@@ -2,7 +2,6 @@// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0import {- AiImageIcon,Edit03Icon,MagicWand01Icon,ZoomInAreaIcon,@@ -10,6 +9,7 @@ import {import type { IconSvgElement } from "@hugeicons/react";// Relative with .ts: the node tests import this file and cannot resolve @/.import { ExpandArrowsIcon } from "../../lib/expand-icons.ts";+import { AiImageIcon } from "../../lib/hugeicons-derived.ts";import { ImagesIcon } from "../../lib/hugeicons-derived.ts";import { PaintbrushIcon } from "../../lib/paintbrush-icon.ts";diff --git a/studio/frontend/src/features/library/chats/chats-items.tsx b/studio/frontend/src/features/library/chats/chats-items.tsxindex 1faf6bacf50..b6ff4b21474 100644--- a/studio/frontend/src/features/library/chats/chats-items.tsx+++ b/studio/frontend/src/features/library/chats/chats-items.tsx@@ -38,7 +38,7 @@ import {import { MessageCircleIcon, Settings01Icon, StarPointedIcon, TrashIcon } from "@/lib/hugeicons-derived";import { cn } from "@/lib/utils";import {- Archive03Icon,+ ArchiveIcon,ArchiveRestoreIcon,Cancel01Icon,Download01Icon,@@ -540,7 +540,7 @@ function ChatMenu({/>) : (<MenuItem- icon={Archive03Icon}+ icon={ArchiveIcon}label={t("settings.data.library.archive")}onSelect={() => actions.archive([chat])}/>diff --git a/studio/frontend/src/features/library/chats/chats-library.tsx b/studio/frontend/src/features/library/chats/chats-library.tsxindex 31df194e267..70273688477 100644--- a/studio/frontend/src/features/library/chats/chats-library.tsx+++ b/studio/frontend/src/features/library/chats/chats-library.tsx@@ -59,7 +59,7 @@ import { isDownloadCancelled } from "@/lib/native-files";import { toast } from "@/lib/toast";import { cn } from "@/lib/utils";import {- Archive03Icon,+ ArchiveIcon,ArchiveRestoreIcon,Cancel01Icon,LayerIcon,@@ -192,7 +192,7 @@ const SECTION_ICONS: Partial<Record<ChatsSection, IconSvgElement>> = {chats: MessageCircleIcon,projects: ProjectIcon,sections: LayerIcon,- archived: Archive03Icon,+ archived: ArchiveIcon,};const SECTION_SORTS: SortChoice<SectionSortKey>[] = [@@ -977,7 +977,7 @@ export function ChatsLibrary({if (archived) {return (<EmptyState- icon={Archive03Icon}+ icon={ArchiveIcon}title={t("library.chats.empty.archivedTitle")}description={t("library.chats.empty.archivedDescription")}/>@@ -1527,7 +1527,7 @@ export function ChatsLibrary({onClick={() => archiveChats(selectedChats)}className={cn(BAR_PILL, BAR_OUTLINE)}>- <HugeiconsIcon icon={Archive03Icon} strokeWidth={1.75} className="size-4" />+ <HugeiconsIcon icon={ArchiveIcon} strokeWidth={1.75} className="size-4" />{t("settings.data.library.archive")}</button></>diff --git a/studio/frontend/src/features/rag/components/thread-documents-bar.tsx b/studio/frontend/src/features/rag/components/thread-documents-bar.tsxindex 21827498083..5a894814ea8 100644--- a/studio/frontend/src/features/rag/components/thread-documents-bar.tsx+++ b/studio/frontend/src/features/rag/components/thread-documents-bar.tsx@@ -15,7 +15,7 @@ import {} from "react";import { HugeiconsIcon } from "@hugeicons/react";import {- AttachmentIcon,+ Attachment01Icon,PlusSignIcon,Cancel01Icon,} from "@hugeicons/core-free-icons";@@ -890,7 +890,7 @@ const ATTACHMENT_TARGETS: {},{value: "thread",- icon: AttachmentIcon,+ icon: Attachment01Icon,title: "This chat only",description: "Other chats in the project won't see them",},diff --git a/studio/frontend/src/features/settings/components/chat-menu-order-list.tsx b/studio/frontend/src/features/settings/components/chat-menu-order-list.tsxindex 948f89e9e5b..da71878367e 100644--- a/studio/frontend/src/features/settings/components/chat-menu-order-list.tsx+++ b/studio/frontend/src/features/settings/components/chat-menu-order-list.tsx@@ -5,7 +5,7 @@ import { Switch } from "@/components/ui/switch";import { type PlusMenuItemId, keepSavedSlot, usePlusMenuPrefsStore } from "@/features/chat";import { useT } from "@/i18n";import {- AttachmentIcon,+ Attachment01Icon,CodeIcon,DragDropVerticalIcon,InternetIcon,@@ -156,7 +156,7 @@ export function ChatMenuOrderList({className="flex flex-col rounded-lg border border-border/70 p-1"><FixedRow- icon={AttachmentIcon}+ icon={Attachment01Icon}label={t("settings.chat.menu.addFiles")}/><FixedRow icon={InternetIcon} label={t("settings.chat.menu.webSearch")} />diff --git a/studio/frontend/src/features/settings/tabs/data-tab.tsx b/studio/frontend/src/features/settings/tabs/data-tab.tsxindex cbf0f68cfa0..e4e234a80e6 100644--- a/studio/frontend/src/features/settings/tabs/data-tab.tsx+++ b/studio/frontend/src/features/settings/tabs/data-tab.tsx@@ -77,7 +77,7 @@ import {import { isDownloadCancelled, pickNativeChatImport } from "@/lib/native-files";import { toast } from "@/lib/toast";import {- Archive03Icon,+ ArchiveIcon,Download01Icon,FlimSlateIcon,Image03Icon,@@ -869,7 +869,7 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {size="sm"onClick={() => setArchiveConfirmOpen(true)}>- <HugeiconsIcon icon={Archive03Icon} data-icon="inline-start" />+ <HugeiconsIcon icon={ArchiveIcon} data-icon="inline-start" />{t("settings.data.archiveAllAction")}</Button></SettingsRow>diff --git a/studio/frontend/src/lib/folder-icons.ts b/studio/frontend/src/lib/folder-icons.tsindex 435766b1308..7e3009faebe 100644--- a/studio/frontend/src/lib/folder-icons.ts+++ b/studio/frontend/src/lib/folder-icons.ts@@ -1,10 +1,9 @@// SPDX-License-Identifier: AGPL-3.0-only// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0-import { FolderOpenIcon as InstalledFolderOpenIcon } from "@hugeicons/core-free-icons";import type { IconSvgElement } from "@hugeicons/react";-// Hugeicons 4.4 folder glyphs (MIT); the installed 4.1 has older ones. Import folders from here only.+// Import folders from here only.// 4.4 redrew Folder02 closed, so this one is 4.4's tab over 4.1's open flap.export const Folder02Icon: IconSvgElement = [[@@ -29,167 +28,19 @@ export const Folder02Icon: IconSvgElement = [},],];-export const FolderOpenIcon: IconSvgElement = InstalledFolderOpenIcon;--export const Folder01Icon: IconSvgElement = [- [- "path",- {- d: "M13.6656 6.49446H16C18.8284 6.49446 20.2426 6.49446 21.1213 7.37314C22 8.25182 22 9.66603 22 12.4945V14.5C22 17.3284 22 18.7426 21.1213 19.6213C20.2426 20.5 18.8284 20.5 16 20.5H8C5.17157 20.5 3.75736 20.5 2.87868 19.6213C2 18.7426 2 17.3284 2 14.5V8.99183C2 6.65409 2 5.48521 2.61604 4.67881C2.7778 4.46706 2.96706 4.2778 3.17881 4.11604C3.98521 3.5 5.15409 3.5 7.49183 3.5C8.16633 3.5 8.50358 3.5 8.81392 3.60442C8.8976 3.63257 8.97932 3.66623 9.05854 3.70518C9.35239 3.84965 9.59179 4.08719 10.0706 4.56227L10.8483 5.33389C11.4254 5.9066 11.714 6.19295 12.08 6.3437C12.446 6.49446 12.8525 6.49446 13.6656 6.49446Z",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "0",- },- ],-];--export const FolderAddIcon: IconSvgElement = [- [- "path",- {- d: "M13 20H8C5.17157 20 3.75736 20 2.87868 19.1213C2 18.2426 2 16.8284 2 14V8.49183C2 6.15409 2 4.98521 2.61604 4.17881C2.7778 3.96706 2.96706 3.7778 3.17881 3.61604C3.98521 3 5.15409 3 7.49183 3C8.16633 3 8.50358 3 8.81392 3.10442C8.8976 3.13257 8.97932 3.16623 9.05854 3.20518C9.35239 3.34965 9.59179 3.58719 10.0706 4.06227L10.8483 4.83389C11.4254 5.4066 11.714 5.69295 12.08 5.8437C12.446 5.99446 12.8525 5.99446 13.6656 5.99446H16C18.8284 5.99446 20.2426 5.99446 21.1213 6.87314C22 7.75182 22 9.16603 22 11.9945V12.5",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "0",- },- ],- [- "path",- {- d: "M19 15V21M22 18H16",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "1",- },- ],+// 4.1.1 drawing; 4.4.0 redrew it.+export const FolderOpenIcon: IconSvgElement = [+ ["path", { d: "M2.5 20V8.87695C2.5 7.58945 2.5 6.9457 2.78533 6.47048C2.9541 6.18939 3.18939 5.9541 3.47048 5.78533C3.9457 5.5 4.59449 5.5 5.89206 5.5C6.52339 5.5 6.83906 5.5 7.12612 5.58819C7.31759 5.64702 7.49914 5.73428 7.66469 5.84705C7.91289 6.01611 8.10859 6.26074 8.5 6.75C8.89141 7.23926 9.08711 7.48389 9.33531 7.65295C9.50086 7.76572 9.68241 7.85298 9.87388 7.91181C10.1609 8 10.4742 8 11.1008 8H15C16.4045 8 17.1067 8 17.6111 8.33706C17.8295 8.48298 18.017 8.67048 18.1629 8.88886C18.5 9.39331 18.5 10.0955 18.5 11.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }],+ ["path", { d: "M4.42028 14.0144L3.63368 16.0144C2.65618 18.4998 2.16743 19.7425 2.7524 20.6213C3.33737 21.5 4.65337 21.5 7.28537 21.5H15.1903C16.4249 21.5 17.0422 21.5 17.5295 21.1795C18.0169 20.859 18.2702 20.2865 18.7769 19.1415L19.6618 17.1415C20.7866 14.5992 21.349 13.3281 20.7679 12.4141C20.1868 11.5 18.8163 11.5 16.0752 11.5H8.07196C6.78232 11.5 6.1375 11.5 5.63811 11.8439C5.13872 12.1877 4.89924 12.7966 4.42028 14.0144Z", stroke: "currentColor", strokeWidth: "1.5", key: "1" }],+ ["path", { d: "M11.5 4.51456C12.4151 3.28409 13.6662 2.55594 15.5125 2.50161C16.1155 2.48386 16.7152 2.61395 17.2682 2.85544C18.5748 3.42601 19.4185 4.15644 20 5.5L21.5 3", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }],];-export const FolderAttachmentIcon: IconSvgElement = [- [- "path",- {- d: "M13 20H8C5.17157 20 3.75736 20 2.87868 19.1213C2 18.2426 2 16.8284 2 14V8.49183C2 6.15409 2 4.98521 2.61604 4.17881C2.7778 3.96706 2.96706 3.7778 3.17881 3.61604C3.98521 3 5.15409 3 7.49183 3C8.16633 3 8.50358 3 8.81392 3.10442C8.8976 3.13257 8.97932 3.16623 9.05854 3.20518C9.35239 3.34965 9.59179 3.58719 10.0706 4.06227L10.8483 4.83389C11.4254 5.4066 11.714 5.69295 12.08 5.8437C12.446 5.99446 12.8525 5.99446 13.6656 5.99446H16C18.8284 5.99446 20.2426 5.99446 21.1213 6.87314C22 7.75182 22 9.16603 22 11.9945",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "0",- },- ],- [- "path",- {- d: "M22 15.4615V17.9231C22 19.6224 20.6569 21 19 21C17.3431 21 16 19.6224 16 17.9231V14.5385C16 13.6888 16.6716 13 17.5 13C18.3284 13 19 13.6888 19 14.5385V17.9231",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "1",- },- ],-];--export const FolderClosedIcon: IconSvgElement = [- [- "path",- {- d: "M13.6656 6.49446H16C18.8284 6.49446 20.2426 6.49446 21.1213 7.37314C22 8.25182 22 9.66603 22 12.4945V14.5C22 17.3284 22 18.7426 21.1213 19.6213C20.2426 20.5 18.8284 20.5 16 20.5H8C5.17157 20.5 3.75736 20.5 2.87868 19.6213C2 18.7426 2 17.3284 2 14.5V8.99183C2 6.65409 2 5.48521 2.61604 4.67881C2.7778 4.46706 2.96706 4.2778 3.17881 4.11604C3.98521 3.5 5.15409 3.5 7.49183 3.5C8.16633 3.5 8.50358 3.5 8.81392 3.60442C8.8976 3.63257 8.97932 3.66623 9.05854 3.70518C9.35239 3.84965 9.59179 4.08719 10.0706 4.56227L10.8483 5.33389C11.4254 5.9066 11.714 6.19295 12.08 6.3437C12.446 6.49446 12.8525 6.49446 13.6656 6.49446Z",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "0",- },- ],- [- "path",- {- d: "M7 10.5H17C18.8692 10.5 19.8038 10.5 20.5 10.9019C20.9561 11.1652 21.3348 11.5439 21.5981 12C22 12.6962 22 13.6308 22 15.5C22 17.3692 22 18.3038 21.5981 19C21.3348 19.4561 20.9561 19.8348 20.5 20.0981C19.8038 20.5 18.8692 20.5 17 20.5H7C5.13077 20.5 4.19615 20.5 3.5 20.0981C3.04394 19.8348 2.66523 19.4561 2.40192 19C2 18.3038 2 17.3692 2 15.5C2 13.6308 2 12.6962 2.40192 12C2.66523 11.5439 3.04394 11.1652 3.5 10.9019C4.19615 10.5 5.13077 10.5 7 10.5Z",- stroke: "currentColor",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "1",- },- ],-];--export const FolderExportIcon: IconSvgElement = [- [- "path",- {- d: "M12 20.5H8C5.17157 20.5 3.75736 20.5 2.87868 19.6213C2 18.7426 2 17.3284 2 14.5V8.99183C2 6.65409 2 5.48521 2.61604 4.67881C2.7778 4.46706 2.96706 4.2778 3.17881 4.11604C3.98521 3.5 5.15409 3.5 7.49183 3.5C8.16633 3.5 8.50358 3.5 8.81392 3.60442C8.8976 3.63257 8.97932 3.66623 9.05854 3.70518C9.35239 3.84965 9.59179 4.08719 10.0706 4.56227L10.8483 5.33389C11.4254 5.9066 11.714 6.19295 12.08 6.3437C12.446 6.49446 12.8525 6.49446 13.6656 6.49446H16C18.8284 6.49446 20.2426 6.49446 21.1213 7.37314C21.9472 8.19905 21.9968 9.49811 21.9998 12",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "0",- },- ],- [- "path",- {- d: "M21 17.5L15 17.5M19 14.5C19 14.5 22 16.7095 22 17.5C22 18.2906 19 20.5 19 20.5",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "1",- },- ],-];--export const FolderSearchIcon: IconSvgElement = [- [- "path",- {- d: "M12 20H8C5.17157 20 3.75736 20 2.87868 19.1213C2 18.2426 2 16.8284 2 14V8.49183C2 6.15409 2 4.98521 2.61604 4.17881C2.7778 3.96706 2.96706 3.7778 3.17881 3.61604C3.98521 3 5.15409 3 7.49183 3C8.16633 3 8.50358 3 8.81392 3.10442C8.8976 3.13257 8.97932 3.16623 9.05854 3.20518C9.35239 3.34965 9.59179 3.58719 10.0706 4.06227L10.8483 4.83389C11.4254 5.4066 11.714 5.69295 12.08 5.8437C12.446 5.99446 12.8525 5.99446 13.6656 5.99446H16C18.8284 5.99446 20.2426 5.99446 21.1213 6.87314C22 7.75182 22 9.16603 22 11.9945",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "0",- },- ],- [- "path",- {- d: "M20.5 19.5L22 21M21 17C21 18.6569 19.6569 20 18 20C16.3431 20 15 18.6569 15 17C15 15.3431 16.3431 14 18 14C19.6569 14 21 15.3431 21 17Z",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "1",- },- ],-];--export const FolderSyncIcon: IconSvgElement = [- [- "path",- {- d: "M12.08 20H8C5.17157 20 3.75736 20 2.87868 19.1213C2 18.2426 2 16.8284 2 14V8.49183C2 6.15409 2 4.98521 2.61604 4.17881C2.7778 3.96706 2.96706 3.7778 3.17881 3.61604C3.98521 3 5.15409 3 7.49183 3C8.16633 3 8.50358 3 8.81392 3.10442C8.8976 3.13257 8.97932 3.16623 9.05854 3.20518C9.35239 3.34965 9.59179 3.58719 10.0706 4.06227L10.8483 4.83389C11.4254 5.4066 11.714 5.69295 12.08 5.8437C12.446 5.99446 12.8525 5.99446 13.6656 5.99446H16.0172C18.8456 5.99446 20.2598 5.99446 21.1385 6.87314C21.7805 7.5152 21.9534 8.44321 22 10",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "0",- },- ],- [- "path",- {- d: "M18.5 20C20.433 20 22 18.433 22 16.5C22 15.9632 21.8792 15.4546 21.6632 15M18.5 13C16.567 13 15 14.567 15 16.5C15 17.0368 15.1208 17.5454 15.3368 18M18.5 12V14L19.5 13L18.5 12ZM18.5 19V21L17.5 20L18.5 19Z",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "1",- },- ],-];+export {+ Folder01Icon,+ FolderAddIcon,+ FolderAttachmentIcon,+ FolderClosedIcon,+ FolderExportIcon,+ FolderSearchIcon,+ FolderSyncIcon,+} from "@hugeicons/core-free-icons";diff --git a/studio/frontend/src/lib/hugeicons-derived.ts b/studio/frontend/src/lib/hugeicons-derived.tsindex 2846014f17a..362b06c0a98 100644--- a/studio/frontend/src/lib/hugeicons-derived.ts+++ b/studio/frontend/src/lib/hugeicons-derived.ts@@ -10,36 +10,11 @@ export const TestTubeOutlineIcon = TestTube01Icon.slice(3,) as typeof TestTube01Icon;-// BubbleChatIcon's first path alone is HugeIcons' message-circle, which this set lacks.export const MessageCircleIcon = BubbleChatIcon.slice(0,1,) as typeof BubbleChatIcon;-export const SheetIcon: IconSvgElement = [- ["path", { d: "M2.49219 9.5H21.4922", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }],- ["path", { d: "M2.99219 15.5H20.9922", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }],- ["path", { d: "M8.49219 21L8.49219 9.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }],- ["path", { d: "M15.4922 21L15.4922 9.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "3" }],- [- "path",- {- d: "M2.49219 12C2.49219 7.52166 2.49219 5.28249 3.88343 3.89124C5.27467 2.5 7.51384 2.5 11.9922 2.5C16.4705 2.5 18.7097 2.5 20.1009 3.89124C21.4922 5.28249 21.4922 7.52166 21.4922 12C21.4922 16.4783 21.4922 18.7175 20.1009 20.1088C18.7097 21.5 16.4705 21.5 11.9922 21.5C7.51384 21.5 5.27467 21.5 3.88343 20.1088C2.49219 18.7175 2.49219 16.4783 2.49219 12Z",- stroke: "currentColor",- strokeWidth: "1.5",- key: "4",- },- ],-];---// HugeIcons "images" from @hugeicons/core-free-icons 4.3.5; the installed 4.1 predates it.-export const ImagesIcon: IconSvgElement = [- ["path", { d: "M4 17.0429L8.75635 12.6942C10.4331 11.1612 11.2714 10.3947 12.3096 10.3191C13.3478 10.2435 14.2884 10.8805 16.1695 12.1545L17.5 13.0556", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "0" }],- ["path", { d: "M7.375 7.25H7.25M7.5 7.25C7.5 7.38807 7.38807 7.5 7.25 7.5C7.11193 7.5 7 7.38807 7 7.25C7 7.11193 7.11193 7 7.25 7C7.38807 7 7.5 7.11193 7.5 7.25Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }],- ["path", { d: "M6 17.9745C6.1287 19.2829 6.41956 20.1636 7.07691 20.8209C8.25596 22 10.1536 22 13.9489 22C17.7442 22 19.6419 22 20.8209 20.8209C22 19.6419 22 17.7442 22 13.9489C22 10.1536 22 8.25596 20.8209 7.07691C20.1636 6.41956 19.2829 6.1287 17.9745 6", stroke: "currentColor", strokeWidth: "1.5", key: "2" }],- ["path", { d: "M2 10C2 6.22876 2 4.34315 3.17157 3.17157C4.34315 2 6.22876 2 10 2C13.7712 2 15.6569 2 16.8284 3.17157C18 4.34315 18 6.22876 18 10C18 13.7712 18 15.6569 16.8284 16.8284C15.6569 18 13.7712 18 10 18C6.22876 18 4.34315 18 3.17157 16.8284C2 15.6569 2 13.7712 2 10Z", stroke: "currentColor", strokeWidth: "1.5", key: "3" }],-];export const StarPointedIcon: IconSvgElement = [[@@ -55,7 +30,6 @@ export const StarPointedIcon: IconSvgElement = [],];-// Hugeicons "ai-speech" and "text-to-speach" (MIT), only in core-free-icons 4.3+, newer than the pinned 4.1.1.const speechStroke = {stroke: "currentColor",strokeLinecap: "round",@@ -72,23 +46,6 @@ export const AiSpeechIcon: IconSvgElement = [["path", { d: "M4 9V15", ...speechStroke, key: "4" }],];-// Text to Speech: hugeicons' ai-speech as drawn, sparkle included.-export const TextToSpeechIcon: IconSvgElement = [- ["path", { d: "M12 7V17", ...speechStroke, key: "0" }],- ["path", { d: "M16 11L16 19", ...speechStroke, key: "1" }],- ["path", { d: "M20 11L20 14", ...speechStroke, key: "2" }],- ["path", { d: "M8 3V21", ...speechStroke, key: "3" }],- ["path", { d: "M4 9V15", ...speechStroke, key: "4" }],- [- "path",- {- d: "M18.5 3.9375V5.5M18.5 5.5V7.0625M18.5 5.5H17.25M18.5 5.5H19.75M21 5.5L19.9156 5.13852C19.4179 4.97263 19.0274 4.58211 18.8615 4.08443L18.5 3L18.1385 4.08443C17.9726 4.58211 17.5821 4.97263 17.0844 5.13852L16 5.5L17.0844 5.86148C17.5821 6.02737 17.9726 6.41789 18.1385 6.91557L18.5 8L18.8615 6.91557C19.0274 6.41789 19.4179 6.02737 19.9156 5.86148L21 5.5Z",- ...speechStroke,- key: "5",- },- ],-];-/** `icon` with an accent dot; colours go in `style` because HugeiconsIcon overwrites child stroke attributes. */export function withNoticeDot(icon: IconSvgElement): IconSvgElement {return [@@ -125,47 +82,43 @@ export const FileSearchIcon: IconSvgElement = [["path", { d: "M13.1 1.55V2.1C13.1 5.2113 13.1 6.7669 14.0666 7.7335C15.0331 8.7 16.5888 8.7 19.7 8.7H20.25M20.8 10.5226V14.2C20.8 18.3483 20.8 20.4226 19.5112 21.7112C18.2226 23 16.1483 23 12 23C7.8516 23 5.7775 23 4.4887 21.7112C3.2 20.4226 3.2 18.3483 3.2 14.2V9.2014C3.2 5.6319 3.2 3.8471 4.1747 2.6383C4.3716 2.394 4.594 2.1716 4.8383 1.9747C6.0471 1 7.8319 1 11.4014 1C12.1775 1 12.5655 1 12.9209 1.1254C12.9948 1.1515 13.0672 1.1815 13.138 1.2153C13.478 1.3779 13.7523 1.6523 14.3011 2.2011L19.5112 7.4113C20.1472 8.0471 20.465 8.3651 20.6326 8.7694C20.8 9.1737 20.8 9.6233 20.8 10.5226Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }],];-// Hugeicons chip as drawn in core-free-icons 4.4; the installed 4.1 draws an older version.-export const ChipIcon: IconSvgElement = [- ["path", { d: "M13 20H11C7.70017 20 6.05025 20 5.02513 18.9749C4 17.9497 4 16.2998 4 13V11C4 7.70017 4 6.05025 5.02513 5.02513C6.05025 4 7.70017 4 11 4H13C16.2998 4 17.9497 4 18.9749 5.02513C20 6.05025 20 7.70017 20 11V13C20 16.2998 20 17.9497 18.9749 18.9749C17.9497 20 16.2998 20 13 20Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }],- ["path", { d: "M22 9.00003L20 9.00003M4 9.00003L2 9.00003M20 15L22 15M4 15H2M9 2L9 4M9 20L9 22M15 4L15 2M15 20L15 22", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }],- ["path", { d: "M12 16C13.8856 16 14.8284 16 15.4142 15.4142C16 14.8284 16 13.8856 16 12C16 10.1144 16 9.17157 15.4142 8.58579C14.8284 8 13.8856 8 12 8C10.1144 8 9.17157 8 8.58579 8.58579C8 9.17157 8 10.1144 8 12C8 13.8856 8 14.8284 8.58579 15.4142C9.17157 16 10.1144 16 12 16Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }],-];-export const SiteInfoIcon: IconSvgElement = [["path", { d: "M12.325 7.125H19.625M4.375 16.875H11.675", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "0" }],["circle", { cx: "5.975", cy: "7.125", r: "2.6", stroke: "currentColor", strokeWidth: "1.5", key: "1" }],["circle", { cx: "18.025", cy: "16.875", r: "2.6", stroke: "currentColor", strokeWidth: "1.5", key: "2" }],];-// Hugeicons "settings-01" from core-free-icons 4.4.0; the pinned 4.1.1 has the older drawing.-export const Settings01Icon: IconSvgElement = [- ["path", { d: "M3.95631 10.5829L3.03254 9.07084C2.74505 8.60024 2.7389 8.00978 3.01652 7.5333L3.63533 6.47124C3.90953 6.00064 4.41721 5.71571 4.96162 5.7269L6.69131 5.76245C6.92616 5.76728 7.15379 5.68727 7.34333 5.54846C7.79531 5.21745 8.28334 4.93276 8.80042 4.70139C9.01191 4.60675 9.19222 4.45165 9.30469 4.24903L10.1203 2.77965C10.3847 2.30328 10.8865 2.00781 11.4312 2.00781H12.6937C13.2384 2.00781 13.7403 2.30329 14.0047 2.77966L14.8202 4.24902C14.9327 4.45165 15.113 4.60675 15.3245 4.70139C15.8416 4.93274 16.3296 5.2174 16.7815 5.54838C16.9711 5.68718 17.1987 5.76718 17.4336 5.76235L19.1634 5.72676C19.7078 5.71557 20.2155 6.00049 20.4897 6.47111L21.1085 7.53314C21.3862 8.00963 21.38 8.60009 21.0925 9.07068L20.1687 10.5828C20.0481 10.7803 20.002 11.0134 20.0235 11.2439C20.0707 11.7486 20.0707 12.267 20.0235 12.7717C20.002 13.0022 20.0481 13.2353 20.1687 13.4329L21.0924 14.9448C21.3799 15.4154 21.3861 16.0058 21.1084 16.4823L20.4896 17.5444C20.2154 18.015 19.7077 18.2999 19.1633 18.2887L17.4338 18.2531C17.1989 18.2483 16.9713 18.3283 16.7817 18.4671C16.3297 18.7982 15.8416 19.0829 15.3245 19.3142C15.113 19.4089 14.9327 19.564 14.8202 19.7666L14.0047 21.236C13.7403 21.7123 13.2384 22.0078 12.6937 22.0078H11.4312C10.8866 22.0078 10.3847 21.7123 10.1203 21.236L9.30468 19.7665C9.19222 19.5639 9.01191 19.4088 8.80042 19.3142C8.28329 19.0828 7.79519 18.798 7.34316 18.467C7.15362 18.3282 6.92597 18.2482 6.69111 18.253L4.96175 18.2886C4.41733 18.2998 3.90963 18.0148 3.63543 17.5442L3.01663 16.4822C2.739 16.0057 2.74515 15.4152 3.03264 14.9446L3.95631 13.4327C4.07699 13.2351 4.12309 13.002 4.10154 12.7715C4.05437 12.267 4.05438 11.7486 4.10154 11.244C4.12308 11.0135 4.07699 10.7805 3.95631 10.5829Z", stroke: "currentColor", strokeWidth: "1.5", key: "0" }],- ["circle", { cx: "12.0625", cy: "12.0078", r: "3.5", stroke: "currentColor", strokeWidth: "1.5", key: "1" }],-];-// Hugeicons "shield-check" (4.3.5) with "tick-02" at 55%.export const ShieldCheckIcon: IconSvgElement = [["path", { d: "M20.9922 11.1833V8.28029C20.9922 6.64029 20.9922 5.82028 20.5881 5.28529C20.184 4.75029 19.2703 4.49056 17.4429 3.9711C16.1944 3.6162 15.0938 3.18863 14.2145 2.79829C13.0156 2.2661 12.4161 2 11.9922 2C11.5682 2 10.9688 2.2661 9.7699 2.79829C8.89057 3.18863 7.79002 3.61619 6.54152 3.9711C4.71411 4.49056 3.80041 4.75029 3.3963 5.28529C2.99219 5.82028 2.99219 6.64029 2.99219 8.28029V11.1833C2.99219 16.8085 8.05496 20.1835 10.5861 21.5194C11.1932 21.8398 11.4968 22 11.9922 22C12.4876 22 12.7911 21.8398 13.3982 21.5194C15.9294 20.1835 20.9922 16.8085 20.9922 11.1833Z", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "0" }],["path", { d: "M8.15 12.3L10.075 14.225L15.85 8.175", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }]];-// Hugeicons "hand" (4.3.5).-export const HandIcon: IconSvgElement = [- ["path", { d: "M18.5 11.5V8.75C18.5 7.7835 19.2835 7 20.25 7C21.2165 7 22 7.7835 22 8.75V14.8C22 18.7765 18.7764 22 14.8 22H12.0588M8 14L5.61507 11.2176C5.22468 10.7621 4.65476 10.5 4.05489 10.5H3.91898C2.85916 10.5 2 11.3592 2 12.419C2 12.7978 2.11214 13.1682 2.32229 13.4834L5.7812 18.6718C7.16738 20.7511 9.50102 22 12 22", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }],- ["path", { d: "M18.5 8.5V5.75C18.5 4.7835 17.7165 4 16.75 4C15.7835 4 15 4.7835 15 5.75V10.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }],- ["path", { d: "M15 10.5V3.75C15 2.7835 14.2165 2 13.25 2C12.2835 2 11.5 2.7835 11.5 3.75V10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }],- ["path", { d: "M11.5 10V5.75C11.5 4.7835 10.7165 4 9.75 4C8.7835 4 8 4.7835 8 5.75V14", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "3" }]+// 4.1.1 drawings; 4.4.0 redrew them.+export const AiImageIcon: IconSvgElement = [+ ["circle", { cx: "7", cy: "8", r: "1.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }],+ ["path", { d: "M20.9977 11C21 11.4701 21 11.9693 21 12.5C21 16.9783 21 19.2175 19.6088 20.6088C18.2175 22 15.9783 22 11.5 22C7.02166 22 4.78249 22 3.39124 20.6088C2 19.2175 2 16.9783 2 12.5C2 8.02166 2 5.78249 3.39124 4.39124C4.78249 3 7.02166 3 11.5 3C12.0307 3 12.5299 3 13 3.00231", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "1" }],+ ["path", { d: "M18.5 2L18.7579 2.69703C19.0961 3.61102 19.2652 4.06802 19.5986 4.40139C19.932 4.73477 20.389 4.90387 21.303 5.24208L22 5.5L21.303 5.75792C20.389 6.09613 19.932 6.26524 19.5986 6.59861C19.2652 6.93198 19.0961 7.38898 18.7579 8.30297L18.5 9L18.2421 8.30297C17.9039 7.38898 17.7348 6.93198 17.4014 6.59861C17.068 6.26524 16.611 6.09613 15.697 5.75792L15 5.5L15.697 5.24208C16.611 4.90387 17.068 4.73477 17.4014 4.40139C17.7348 4.06802 17.9039 3.61102 18.2421 2.69703L18.5 2Z", stroke: "currentColor", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }],+ ["path", { d: "M4.5 21.4999C8.87246 16.275 13.7741 9.384 20.9975 14.0424", stroke: "currentColor", strokeWidth: "1.5", key: "3" }],];--// Hugeicons 4.4.0 "trash".-export const TrashIcon: IconSvgElement = [- ["path", { d: "M18.8516 16.3743L19.5 6H4.5L5.14839 16.3743C5.315 19.0401 5.39831 20.373 6.26426 21.1865C7.13021 22 8.46571 22 11.1367 22H12.8633C15.5343 22 16.8698 22 17.7357 21.1865C18.6017 20.373 18.685 19.0401 18.8516 16.3743Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }],- ["path", { d: "M15.5 6H21M15.5 6L15.3721 4.97683C15.1595 3.2762 13.7139 2 12 2C10.2861 2 8.84047 3.2762 8.6279 4.97683L8.5 6M15.5 6H8.5M3 6H8.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }],- ["path", { d: "M9.5 11V17M14.5 11V17", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }],+export const AiSecurity03Icon: IconSvgElement = [+ ["path", { d: "M11.6769 8.67348C11.8274 8.43697 12.1726 8.43697 12.3231 8.67348L12.7586 9.35767C13.2401 10.1143 13.8818 10.756 14.6384 11.2375L15.3226 11.6729C15.5591 11.8235 15.5591 12.1687 15.3226 12.3192L14.6384 12.7547C13.8818 13.2362 13.2401 13.8779 12.7586 14.6345L12.3231 15.3187C12.1726 15.5552 11.8274 15.5552 11.6769 15.3187L11.2414 14.6345C10.7599 13.8779 10.1182 13.2362 9.36157 12.7547L8.67738 12.3192C8.44087 12.1687 8.44087 11.8235 8.67738 11.6729L9.36157 11.2375C10.1182 10.756 10.7599 10.1143 11.2414 9.35767L11.6769 8.67348Z", stroke: "currentColor", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }],+ ["path", { d: "M3.9068 5.28387C6.87149 5.4984 8.78311 2.49713 12.0262 2.49713C15.2208 2.43341 16.784 5.32395 20.059 5.32395C21.8147 14.2606 18.1622 19.8743 12.053 21.4961C6.38992 20.15 2.13481 14.4788 3.9068 5.28387Z", stroke: "currentColor", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }],];--// Hugeicons 4.4.0 "bookmark-01".-export const BookmarkIcon: IconSvgElement = [- ["path", { d: "M4.5 18.212V8.23515C4.5 5.53157 4.5 4.17979 5.32376 3.33989C6.14752 2.5 7.47335 2.5 10.125 2.5H13.875C16.5267 2.5 17.8525 2.5 18.6762 3.33989C19.5 4.17979 19.5 5.53158 19.5 8.23515V18.212C19.5 20.1274 19.5 21.0852 18.8987 21.4076C18.2975 21.7301 17.5234 21.1875 15.9753 20.1024L14.1245 18.805C13.0964 18.0843 12.5824 17.724 12 17.724C11.4176 17.724 10.9036 18.0843 9.87552 18.805L8.02469 20.1024C6.47657 21.1875 5.70252 21.7301 5.10126 21.4076C4.5 21.0852 4.5 20.1274 4.5 18.212Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }],+export const Album02Icon: IconSvgElement = [+ ["path", { d: "M6 17.9745C6.1287 19.2829 6.41956 20.1636 7.07691 20.8209C8.25596 22 10.1536 22 13.9489 22C17.7442 22 19.6419 22 20.8209 20.8209C22 19.6419 22 17.7442 22 13.9489C22 10.1536 22 8.25596 20.8209 7.07691C20.1636 6.41956 19.2829 6.1287 17.9745 6", stroke: "currentColor", strokeWidth: "1.5", key: "0" }],+ ["path", { d: "M2 10C2 6.22876 2 4.34315 3.17157 3.17157C4.34315 2 6.22876 2 10 2C13.7712 2 15.6569 2 16.8284 3.17157C18 4.34315 18 6.22876 18 10C18 13.7712 18 15.6569 16.8284 16.8284C15.6569 18 13.7712 18 10 18C6.22876 18 4.34315 18 3.17157 16.8284C2 15.6569 2 13.7712 2 10Z", stroke: "currentColor", strokeWidth: "1.5", key: "1" }],+ ["path", { d: "M2 11.1185C2.61902 11.0398 3.24484 11.001 3.87171 11.0023C6.52365 10.9533 9.11064 11.6763 11.1711 13.0424C13.082 14.3094 14.4247 16.053 15 18", stroke: "currentColor", strokeLinejoin: "round", strokeWidth: "1.5", key: "2" }],+ ["path", { d: "M13.125 7H13M13.25 7C13.25 7.13807 13.1381 7.25 13 7.25C12.8619 7.25 12.75 7.13807 12.75 7C12.75 6.86193 12.8619 6.75 13 6.75C13.1381 6.75 13.25 6.86193 13.25 7Z", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "3" }],];++export {+ AiSpeechIcon as TextToSpeechIcon,+ Bookmark01Icon as BookmarkIcon,+ ChipIcon,+ HandIcon,+ ImagesIcon,+ Settings01Icon,+ SheetIcon,+ TrashIcon,+} from "@hugeicons/core-free-icons";diff --git a/studio/frontend/src/lib/sparkle-icon.ts b/studio/frontend/src/lib/sparkle-icon.tsindex a4e590d4419..a0ebf0a3543 100644--- a/studio/frontend/src/lib/sparkle-icon.ts+++ b/studio/frontend/src/lib/sparkle-icon.ts@@ -1,20 +1,4 @@// SPDX-License-Identifier: AGPL-3.0-only// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0-import type { IconSvgElement } from "@hugeicons/react";--// Hugeicons "Sparkle" (stroke-rounded), local because @hugeicons/core-free-icons 4.1.1 predates it.-// Stroke swapped to currentColor.-export const SparkleIcon: IconSvgElement = [- [- "path",- {- d: "M10.5279 7.13967C11.3077 5.71322 11.6977 5 11.9958 5C12.294 5 12.6839 5.71322 13.4638 7.13967C14.2665 8.60787 15.3392 9.69316 16.8489 10.52C18.2778 11.3026 18.9922 11.6938 18.9922 11.9923C18.9922 12.2908 18.2773 12.6825 16.8475 13.4658C15.3808 14.2693 14.2966 15.3432 13.4706 16.8545C12.6889 18.2848 12.298 19 11.9998 19C11.7017 19 11.3104 18.2844 10.5279 16.853C9.7252 15.3848 8.65247 14.2995 7.14272 13.4727C5.70903 12.6875 4.99219 12.2949 4.99219 11.9964C4.99219 11.6978 5.70903 11.3052 7.14272 10.52C8.65247 9.69316 9.7252 8.60787 10.5279 7.13967Z",- stroke: "currentColor",- strokeLinecap: "round",- strokeLinejoin: "round",- strokeWidth: "1.5",- key: "0",- },- ],-];+export { SparkleIcon } from "@hugeicons/core-free-icons";diff --git a/studio/frontend/tests/sidebar-custom-sections.test.ts b/studio/frontend/tests/sidebar-custom-sections.test.tsindex 2265bfd3dd9..76f837a6893 100644--- a/studio/frontend/tests/sidebar-custom-sections.test.ts+++ b/studio/frontend/tests/sidebar-custom-sections.test.ts@@ -698,7 +698,7 @@ test("a custom section's menu edits it, acts on its chats, and removes it", () =assert.match(menu, /onSelect=\{\(\) => clearThreadsUnread\(unreadInSection\)\}/);assert.match(menu, /disabled=\{chats\.length === 0\}\n\s*onSelect=\{\(\) => void archiveSection\(\)\.catch\(\(\) => undefined\)\}/);assert.match(menu, /await archiveChatItems\(all\);/);- assert.match(menu, /icon=\{Settings01Icon\}[\s\S]*icon=\{Tick02Icon\}[\s\S]*icon=\{Archive03Icon\}[\s\S]*icon=\{Cancel01Icon\}/);+ assert.match(menu, /icon=\{Settings01Icon\}[\s\S]*icon=\{Tick02Icon\}[\s\S]*icon=\{ArchiveIcon\}[\s\S]*icon=\{Cancel01Icon\}/);assert.doesNotMatch(menu, /variant="destructive"|renderSortSubmenu/);});