@nimbus-ds/components 5.3.1-rc.1 → 5.3.1-rc.2

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.
package/dist/index.d.ts CHANGED
@@ -2497,9 +2497,10 @@ export interface MultiSelectProperties {
2497
2497
  /**
2498
2498
  * Options of the MultiSelect
2499
2499
  */
2500
- onChange?: (values: string[]) => void;
2500
+ onChange?: (values: MultiSelectOption[]) => void;
2501
+ value?: MultiSelectOption[];
2501
2502
  }
2502
- export type MultiSelectBaseProps = MultiSelectProperties & Omit<InputHTMLAttributes<HTMLInputElement>, "children">;
2503
+ export type MultiSelectBaseProps = MultiSelectProperties & Omit<InputHTMLAttributes<HTMLInputElement>, "children" | "value">;
2503
2504
  export declare const MultiSelect: React.FC<MultiSelectBaseProps> & MultiSelectComponents;
2504
2505
  export type MultiSelectProps = ComponentPropsWithRef<typeof MultiSelect>;
2505
2506
  export type PopoverPlacement = "top" | "right" | "bottom" | "left" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | "top-start" | "top-end";