@abdellatifui/react 3.2.69 → 3.2.70
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/nextgen.css +1 -1
- package/dist/nextgen.d.ts +32 -1
- package/dist/nextgen.js +3704 -3596
- package/package.json +1 -1
package/dist/nextgen.d.ts
CHANGED
|
@@ -35,8 +35,9 @@ export declare type AbuiContextType = {
|
|
|
35
35
|
authorization: boolean;
|
|
36
36
|
onReady: (event: any) => void;
|
|
37
37
|
onInit: (event: any) => void;
|
|
38
|
-
|
|
38
|
+
restApi: UseApiProps;
|
|
39
39
|
contentActivityMode: "hidden" | "visible";
|
|
40
|
+
awaitRestApi: boolean;
|
|
40
41
|
};
|
|
41
42
|
|
|
42
43
|
export declare const AccordionGroup: (props: any) => JSX.Element;
|
|
@@ -191,6 +192,33 @@ export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTML
|
|
|
191
192
|
|
|
192
193
|
export declare function capitalizeFirstLetter(string: any): any;
|
|
193
194
|
|
|
195
|
+
export declare const CheckboxGroup: default_2.FC<CheckboxGroupProps>;
|
|
196
|
+
|
|
197
|
+
export declare interface CheckboxGroupProps {
|
|
198
|
+
singleSelection?: boolean;
|
|
199
|
+
onChange?: (api: any) => void;
|
|
200
|
+
children: default_2.ReactNode;
|
|
201
|
+
className?: string;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export declare const CheckboxItem: default_2.FC<CheckboxItemProps>;
|
|
205
|
+
|
|
206
|
+
export declare interface CheckboxItemProps {
|
|
207
|
+
children?: default_2.ReactNode;
|
|
208
|
+
className?: string;
|
|
209
|
+
data?: any;
|
|
210
|
+
onChange?: (ref: default_2.RefObject<any>, state: boolean) => void;
|
|
211
|
+
onChecked?: (ref: default_2.RefObject<any>, state: boolean) => void;
|
|
212
|
+
onUnChecked?: (ref: default_2.RefObject<any>, state: boolean) => void;
|
|
213
|
+
defaultChecked?: boolean;
|
|
214
|
+
variant?: 'primary' | 'secondary';
|
|
215
|
+
border?: boolean | 'ghost';
|
|
216
|
+
checkboxProps?: any;
|
|
217
|
+
disabled?: boolean;
|
|
218
|
+
value?: any;
|
|
219
|
+
checkboxClassName?: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
194
222
|
export declare const CloseButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
195
223
|
|
|
196
224
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
@@ -513,6 +541,7 @@ declare interface InputProps_2 extends InputProps_3 {
|
|
|
513
541
|
debounce: number;
|
|
514
542
|
placement: 'top' | 'bottom';
|
|
515
543
|
onEnterKey: void;
|
|
544
|
+
autoFocus: boolean;
|
|
516
545
|
}
|
|
517
546
|
|
|
518
547
|
declare interface InputProps_3 extends React_2.InputHTMLAttributes<HTMLInputElement> {
|
|
@@ -1364,6 +1393,8 @@ export declare interface UseApiProps {
|
|
|
1364
1393
|
onComplete?: (error: AxiosError | Error | null, response?: AxiosResponse) => void;
|
|
1365
1394
|
onRequest?: (args: any) => void;
|
|
1366
1395
|
onFailureRule?: (response: AxiosResponse) => boolean;
|
|
1396
|
+
onConnect?: () => void;
|
|
1397
|
+
onDisconnect?: () => void;
|
|
1367
1398
|
socketBaseUrl?: string;
|
|
1368
1399
|
notify?: boolean;
|
|
1369
1400
|
}
|