@majoo-ui/react 1.59.6-rc.4 → 1.59.6-rc.6
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/devicePreview/DevicePreview.d.ts +3 -0
- package/components/form/components/InputSelect/InputSelect.d.ts +1 -10
- package/index.esm.js +10708 -10762
- package/index.umd.js +10731 -10797
- package/package.json +1 -1
- package/utils/request.d.ts +1 -0
|
@@ -131,6 +131,9 @@ export declare const ImageDevicePreview: import("@stitches/react/types/styled-co
|
|
|
131
131
|
my: (value: {
|
|
132
132
|
readonly [Stitches.$$ScaleValue]: "space";
|
|
133
133
|
}) => {
|
|
134
|
+
/**
|
|
135
|
+
* alt prop when url image not found or invalid
|
|
136
|
+
*/
|
|
134
137
|
marginTop: {
|
|
135
138
|
readonly [Stitches.$$ScaleValue]: "space";
|
|
136
139
|
};
|
|
@@ -592,10 +592,7 @@ export declare const SelectOption: import("@stitches/react/types/styled-componen
|
|
|
592
592
|
backgroundColor: string;
|
|
593
593
|
};
|
|
594
594
|
}>>;
|
|
595
|
-
export declare const SelectItem: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
596
|
-
hasGroup?: boolean | "true" | undefined;
|
|
597
|
-
isGroup?: boolean | "true" | undefined;
|
|
598
|
-
}, {
|
|
595
|
+
export declare const SelectItem: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
599
596
|
sm: "(min-width: 359px)";
|
|
600
597
|
md: "(min-width: 767px)";
|
|
601
598
|
lg: "(min-width: 1023px)";
|
|
@@ -696,8 +693,6 @@ export declare type Option = {
|
|
|
696
693
|
name: string;
|
|
697
694
|
isDisabled?: boolean;
|
|
698
695
|
render?: (selectedItem?: Option | null) => React.ReactNode;
|
|
699
|
-
group?: string;
|
|
700
|
-
isGroup?: boolean;
|
|
701
696
|
};
|
|
702
697
|
interface InputSelectProps extends Omit<DownshiftProps<Option>, 'initialSelectedItem' | 'defaultValue'> {
|
|
703
698
|
/**
|
|
@@ -833,10 +828,6 @@ interface InputSelectProps extends Omit<DownshiftProps<Option>, 'initialSelected
|
|
|
833
828
|
* Called whenever the InputSelect state changes.
|
|
834
829
|
*/
|
|
835
830
|
onStateChange?(state: StateChangeOptions<Option>): void;
|
|
836
|
-
/**
|
|
837
|
-
* If true, the input label will be rendered with option render prop (If exist)
|
|
838
|
-
*/
|
|
839
|
-
renderAsLabel?: boolean;
|
|
840
831
|
}
|
|
841
832
|
export declare const InputSelect: React.ForwardRefExoticComponent<InputSelectProps & React.RefAttributes<HTMLInputElement>>;
|
|
842
833
|
export default InputSelect;
|