mainstack-design-system 0.5.5 → 0.5.7

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.
@@ -1,5 +1,5 @@
1
1
  /** @format */
2
- /// <reference types="react" />
2
+ import { ReactNode } from "react";
3
3
  import { DropdownIndicatorProps, GroupBase, MultiValueProps, OptionProps, StylesConfig } from "react-select";
4
4
  export declare const selectStyles: StylesConfig<any, boolean, GroupBase<any>>;
5
5
  export type OptionType = {
@@ -25,7 +25,9 @@ export interface ISelectInputProps {
25
25
  noOptionsMessage?: string;
26
26
  fontFamily?: string;
27
27
  openMenuOnFocus?: boolean;
28
+ isSearchable?: boolean;
29
+ formatOptionLabel?: (arg: any) => ReactNode;
28
30
  }
29
31
  export declare const DropdownIndicator: (props: DropdownIndicatorProps) => import("react/jsx-runtime").JSX.Element;
30
- export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, onInputChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, openMenuOnFocus, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
32
+ export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, onInputChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, openMenuOnFocus, isSearchable, formatOptionLabel, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
31
33
  export declare const CreatableSelectInput: ({ label, id, name, placeholder, onBlur, onChange, onInputChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.5.5",
3
+ "version": "0.5.7",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",