From d96edb85647b9d39159f0c3a42acbb1c4ffaa5d7 Mon Sep 17 00:00:00 2001 From: Levi Rivkin Date: Wed, 8 Jul 2026 13:43:12 +0000 Subject: [PATCH 1/2] Change float button icon from mic to AudioLines Replace the microphone launcher icon with lucide's AudioLines icon for voice and voice+text channels. The previous mic SVG is retained as a comment for reference, and the unused deprecated CHAT_ICON alias is removed. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01YYXBLjyVPJ24y2StkoeSCo --- packages/sdk/src/float.ts | 4 ++-- packages/sdk/src/styles.ts | 16 +++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/packages/sdk/src/float.ts b/packages/sdk/src/float.ts index ee643ef..1784f82 100644 --- a/packages/sdk/src/float.ts +++ b/packages/sdk/src/float.ts @@ -20,7 +20,7 @@ import { ensureHostPreconnect, } from "./iframe"; import { createLoadingIndicator } from "./loading"; -import { injectStyles, MIC_ICON, MESSAGES_ICON, CLOSE_ICON } from "./styles"; +import { injectStyles, AUDIO_ICON, MESSAGES_ICON, CLOSE_ICON } from "./styles"; import { getPersistedOpenState, setPersistedOpenState } from "./state"; import { cn, @@ -106,7 +106,7 @@ function resolveTeaserConfig( export function getDefaultIconHtml(config: InternalEmbedConfig): string { return getChannelMode(resolveChannel(config)) === "text" ? MESSAGES_ICON - : MIC_ICON; + : AUDIO_ICON; } export function createIconImg( diff --git a/packages/sdk/src/styles.ts b/packages/sdk/src/styles.ts index f9ee75c..4851a42 100644 --- a/packages/sdk/src/styles.ts +++ b/packages/sdk/src/styles.ts @@ -463,18 +463,24 @@ export function injectStyles(): void { document.head.appendChild(style); } -export const MIC_ICON = ` - +export const AUDIO_ICON = ` + + + + + + `; +// export const MIC_ICON = ` +// +// `; + export const MESSAGES_ICON = ` `; -/** @deprecated Use MIC_ICON instead */ -export const CHAT_ICON = MIC_ICON; - export const CLOSE_ICON = ` `; From a0af14dbc5876bf905d9ac83d2b237e27e6508ae Mon Sep 17 00:00:00 2001 From: Levi Rivkin Date: Wed, 8 Jul 2026 14:04:25 +0000 Subject: [PATCH 2/2] Add changeset for AudioLines float icon Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01YYXBLjyVPJ24y2StkoeSCo --- .changeset/audio-lines-float-icon.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/audio-lines-float-icon.md diff --git a/.changeset/audio-lines-float-icon.md b/.changeset/audio-lines-float-icon.md new file mode 100644 index 0000000..1b0450d --- /dev/null +++ b/.changeset/audio-lines-float-icon.md @@ -0,0 +1,5 @@ +--- +"@perspective-ai/sdk": patch +--- + +Change the float launcher's default icon from a microphone to lucide's AudioLines icon for the voice and voice+text channels.