@agility/plenum-ui 2.2.9 → 2.3.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.
package/dist/index.d.ts CHANGED
@@ -856,6 +856,8 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/select/Select' {
856
856
  export interface ISimpleSelectOptions {
857
857
  label: string;
858
858
  value: string;
859
+ emoji?: string;
860
+ description?: string;
859
861
  }
860
862
  export interface ISelectProps {
861
863
  /** Label */
@@ -866,7 +868,7 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/select/Select' {
866
868
  name?: string;
867
869
  /** List of options to display in the select menu */
868
870
  options: ISimpleSelectOptions[];
869
- /** Select name prop */
871
+ /** Called with the selected option's value string */
870
872
  onChange?(value: string): void;
871
873
  /** Select disabled state */
872
874
  isDisabled?: boolean;
@@ -879,6 +881,9 @@ declare module '@agility/plenum-ui/stories/molecules/inputs/select/Select' {
879
881
  onFocus?: () => void;
880
882
  onBlur?: () => void;
881
883
  message?: string;
884
+ inputRef?: React.RefObject<HTMLInputElement>;
885
+ placeholder?: string;
886
+ dropdownMaxHeight?: number;
882
887
  }
883
888
  const Select: React.FC<ISelectProps>;
884
889
  export default Select;