update input suggestions

This commit is contained in:
Nate Kelley 2025-09-30 21:27:00 -06:00
parent 58b57d3492
commit 9f116af78f
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
3 changed files with 4 additions and 3 deletions

View File

@ -90,8 +90,8 @@ export const BusterChatInputButtons = React.memo(
variant={'ghost'} variant={'ghost'}
prefix={<Microphone />} prefix={<Microphone />}
onClick={listening ? onStopListening : onStartListening} onClick={listening ? onStopListening : onStartListening}
loading={false}
disabled={disabled} disabled={disabled}
size={'tall'}
className={cn( className={cn(
'origin-center transform-gpu transition-all duration-300 ease-out will-change-transform text-text-secondary', 'origin-center transform-gpu transition-all duration-300 ease-out will-change-transform text-text-secondary',
!disabled && 'hover:scale-110 active:scale-95', !disabled && 'hover:scale-110 active:scale-95',
@ -115,6 +115,7 @@ export const BusterChatInputButtons = React.memo(
<Button <Button
rounding={'large'} rounding={'large'}
variant={'default'} variant={'default'}
size={'tall'}
prefix={<ArrowUp />} prefix={<ArrowUp />}
onClick={ onClick={
submitting submitting

View File

@ -182,7 +182,7 @@ export const MentionInputSuggestions = forwardRef<
ref={commandRef} ref={commandRef}
label={ariaLabel} label={ariaLabel}
className={cn( className={cn(
'relative border rounded overflow-hidden bg-background shadow', 'relative border rounded-xl overflow-hidden bg-background shadow',
// CSS-only solution: Hide separators that come after hidden elements // CSS-only solution: Hide separators that come after hidden elements
'[&_[hidden]+[data-separator-after-hidden]]:hidden', '[&_[hidden]+[data-separator-after-hidden]]:hidden',
className className

View File

@ -115,6 +115,6 @@ export const createSecurityHeaders = (isEmbed = false) => {
'X-Content-Type-Options': 'nosniff', 'X-Content-Type-Options': 'nosniff',
'Referrer-Policy': 'strict-origin-when-cross-origin', 'Referrer-Policy': 'strict-origin-when-cross-origin',
'X-XSS-Protection': '1; mode=block', 'X-XSS-Protection': '1; mode=block',
'Permissions-Policy': 'microphone=()', 'Permissions-Policy': 'microphone=(self)',
}; };
}; };