@bfrs/agentic-components 0.6.9 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@ import { SelectMenuWidth, SelectOption } from '../Select';
9
9
  * discards the draft. An Apply/Cancel footer is shown automatically.
10
10
  */
11
11
  export type MultiSelectCommitMode = "change" | "apply";
12
+ export type MultiSelectVariant = "default" | "filter";
12
13
  export type MultiSelectProps = {
13
14
  options: SelectOption[];
14
15
  value?: string[];
@@ -17,6 +18,10 @@ export type MultiSelectProps = {
17
18
  /** Fired with the committed value when the user applies (apply mode only). */
18
19
  onApply?: (value: string[]) => void;
19
20
  placeholder?: string;
21
+ /** `filter` removes the search field for compact filter dropdowns. */
22
+ variant?: MultiSelectVariant;
23
+ /** Override whether the popover renders the search field. Defaults to false for `variant="filter"`, true otherwise. */
24
+ searchable?: boolean;
20
25
  searchPlaceholder?: string;
21
26
  emptyText?: string;
22
27
  loading?: boolean;