react-crud-mui 0.2.79 → 0.2.80
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.
|
@@ -3,14 +3,17 @@ import { ButtonGroup, ButtonProps } from '@mui/material';
|
|
|
3
3
|
export interface DropdownButtonProps extends ButtonProps {
|
|
4
4
|
options: DropdownOption[];
|
|
5
5
|
buttonGroupProps?: React.ComponentProps<typeof ButtonGroup>;
|
|
6
|
+
onDropdownVisibilityChange?: (open: boolean) => void;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
dropDownHeight?: string | number;
|
|
6
9
|
}
|
|
7
10
|
export type DropdownOption = {
|
|
8
|
-
label:
|
|
11
|
+
label: React.ReactNode;
|
|
9
12
|
icon?: React.ReactNode;
|
|
10
|
-
value: string;
|
|
13
|
+
value: string | number;
|
|
11
14
|
helperText?: string;
|
|
12
15
|
disabled?: boolean;
|
|
13
16
|
onClick?: (event: React.MouseEvent<HTMLLIElement>) => void;
|
|
14
17
|
};
|
|
15
|
-
declare function DropdownButton({ options, disabled, size, buttonGroupProps, color, variant, ...buttonProps }: DropdownButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function DropdownButton({ options, disabled, dropDownHeight, size, loading, buttonGroupProps, color, variant, onDropdownVisibilityChange, ...buttonProps }: DropdownButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
16
19
|
export default DropdownButton;
|
|
@@ -161,7 +161,7 @@ declare const _default: {
|
|
|
161
161
|
"tags.copy": "Kopyalanıyor",
|
|
162
162
|
"tags.editing": "Düzeltiliyor",
|
|
163
163
|
"tags.steps": "Adımlar",
|
|
164
|
-
"tags.loading": "Yükleniyor",
|
|
164
|
+
"tags.loading": "Yükleniyor...",
|
|
165
165
|
"tags.new": "Yeni kayıt",
|
|
166
166
|
"tags.readonly": "Yalnızca okuma",
|
|
167
167
|
"tags.saving": "Kayıt ediliyor",
|