Merge remote-tracking branch 'origin/main' into webcam-capture

This commit is contained in:
Johnpaul
2025-11-25 02:14:51 +01:00
3 changed files with 4 additions and 5 deletions

View File

@@ -32,7 +32,6 @@ export interface IWidgetOptions<TValues = unknown[]> {
/** Optional function to format values for display (e.g., hash → human-readable name) */
getOptionLabel?: (value?: string | null) => string
callback?: IWidget['callback']
iconClass?: string
}

View File

@@ -1,15 +1,15 @@
<template>
<div class="flex flex-col gap-1">
<Button
class="text-text-secondary w-full border-0 bg-component-node-widget-background p-2"
class="text-base-foreground w-full border-0 bg-component-node-widget-background p-2"
v-bind="filteredProps"
:aria-label="widget.label"
size="small"
:text="true"
@click="handleClick"
>
{{ widget.label }}
<i v-if="widget.options?.iconClass" :class="widget.options.iconClass"></i>
{{ widget.label ?? widget.name }}
<i v-if="widget.options?.iconClass" :class="widget.options.iconClass" />
</Button>
</div>
</template>

View File

@@ -2,7 +2,7 @@
<div class="relative">
<div class="mb-4">
<Button
class="text-text-secondary w-full border-0 bg-component-node-widget-background hover:bg-secondary-background-hover"
class="text-base-foreground w-full border-0 bg-secondary-background hover:bg-secondary-background-hover"
:disabled="isRecording || readonly"
@click="handleStartRecording"
>