@majoo-ui/react 1.59.3-rc.7 → 1.59.3
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/components/form/components/InputSelect/InputSelect.d.ts +5 -1
- package/index.esm.js +331 -308
- package/index.umd.js +330 -307
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ControllerStateAndHelpers, DownshiftProps } from 'downshift';
|
|
2
|
+
import { ControllerStateAndHelpers, DownshiftProps, StateChangeOptions } from 'downshift';
|
|
3
3
|
import { CSS } from '../../../../config/stitches.config';
|
|
4
4
|
export declare const SelectContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
5
5
|
mobileOnly?: boolean | "true" | undefined;
|
|
@@ -824,6 +824,10 @@ interface InputSelectProps extends Omit<DownshiftProps<Option>, 'initialSelected
|
|
|
824
824
|
* Only show in desktop view.
|
|
825
825
|
*/
|
|
826
826
|
desktopOnly?: boolean;
|
|
827
|
+
/**
|
|
828
|
+
* Called whenever the InputSelect state changes.
|
|
829
|
+
*/
|
|
830
|
+
onStateChange?(state: StateChangeOptions<Option>): void;
|
|
827
831
|
}
|
|
828
832
|
export declare const InputSelect: React.ForwardRefExoticComponent<InputSelectProps & React.RefAttributes<HTMLInputElement>>;
|
|
829
833
|
export default InputSelect;
|