@oniratec/onira-react-ui 1.3.1 → 1.3.2
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/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -6
- package/dist/index.js +954 -958
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -340,16 +340,14 @@ export declare type FiltersFactoryResult<T = unknown> = {
|
|
|
340
340
|
buildQueryParams: (state: FiltersState) => Record<string, string | number | boolean | Date | null | undefined>;
|
|
341
341
|
};
|
|
342
342
|
|
|
343
|
-
export declare function FiltersModal({ title, description, children,
|
|
343
|
+
export declare function FiltersModal({ title, description, children, isOpen, onOpenChange, onApply, applyLabel, closeLabel, className, }: FiltersModalProps): JSX.Element;
|
|
344
344
|
|
|
345
345
|
export declare type FiltersModalProps = {
|
|
346
346
|
title?: string;
|
|
347
347
|
description?: string;
|
|
348
348
|
children: ReactNode;
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
defaultOpen?: boolean;
|
|
352
|
-
onOpenChange?: (open: boolean) => void;
|
|
349
|
+
isOpen: boolean;
|
|
350
|
+
onOpenChange: (open: boolean) => void;
|
|
353
351
|
onApply?: () => void;
|
|
354
352
|
applyLabel?: string;
|
|
355
353
|
closeLabel?: string;
|
|
@@ -527,7 +525,7 @@ declare interface Props_5<TFormModel extends FieldValues, TEntity> {
|
|
|
527
525
|
children?: ReactNode;
|
|
528
526
|
}
|
|
529
527
|
|
|
530
|
-
export declare function renderFiltersModal<T>(config: FiltersFactoryConfig<T>, value: FiltersState, onChange: (state: FiltersState) => void, options
|
|
528
|
+
export declare function renderFiltersModal<T>(config: FiltersFactoryConfig<T>, value: FiltersState, onChange: (state: FiltersState) => void, options: RenderFiltersModalOptions): JSX.Element;
|
|
531
529
|
|
|
532
530
|
declare type RenderFiltersModalOptions = Omit<FiltersModalProps_2, 'children'> & {
|
|
533
531
|
panel?: RenderFiltersPanelOptions;
|