toolbar: unified filter+sort dropdown with sections, fixed positioning, iconOnly support

This commit is contained in:
Agent Zero
2026-07-28 02:16:03 +02:00
parent bbaded656f
commit 7962d34fcf
3 changed files with 99 additions and 72 deletions
+2 -1
View File
@@ -15,8 +15,9 @@ export interface ToolbarItem {
selectOptions?: { value: string; label: string }[];
selectValue?: string;
onSelect?: (value: string) => void;
menuOptions?: { value: string; label: string; icon?: React.ReactNode; active?: boolean; onClick: () => void }[];
menuOptions?: { value: string; label: string; icon?: React.ReactNode; active?: boolean; onClick: () => void; section?: string; separator?: boolean; disabled?: boolean }[];
menuWidth?: string;
iconOnly?: boolean;
}
interface PluginToolbarState {