@data-c/ui 0.2.46 → 0.2.49

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.d.ts CHANGED
@@ -463,11 +463,14 @@ interface DialogAdicionarButtonProps<T> extends Omit<ButtonProps$4, 'onClick'> {
463
463
  }
464
464
  declare function DialogAdicionarButton<T>(props: DialogAdicionarButtonProps<T>): react_jsx_runtime.JSX.Element;
465
465
 
466
- interface DialogConfirmProps<T = any> extends DialogProps<T, T | false> {
466
+ interface _Props {
467
467
  title?: string;
468
468
  message?: string;
469
469
  confirmButtonLabel?: string;
470
470
  cancelButtonLabel?: string;
471
+ payload: any;
472
+ }
473
+ interface DialogConfirmProps<T extends _Props = any> extends DialogProps<T, T | false> {
471
474
  }
472
475
  declare function DialogConfirm(props: DialogConfirmProps): react_jsx_runtime.JSX.Element;
473
476
 
@@ -512,10 +515,9 @@ declare const Dialog: {
512
515
  Confirm: typeof DialogConfirm;
513
516
  };
514
517
 
515
- interface FilterAdvancedActionsContainerProps {
516
- children: React__default.ReactNode;
518
+ interface FilterAdvancedActionsContainerProps extends StackProps {
517
519
  }
518
- declare function FilterAdvancedActionsContainer({ children, }: FilterAdvancedActionsContainerProps): react_jsx_runtime.JSX.Element;
520
+ declare function FilterAdvancedActionsContainer({ children, ...rest }: FilterAdvancedActionsContainerProps): react_jsx_runtime.JSX.Element;
519
521
 
520
522
  declare function FilterAdvancedButton(): react_jsx_runtime.JSX.Element;
521
523
 
@@ -1020,6 +1022,7 @@ type AutocompleteProps<T = any> = {
1020
1022
  onChange?: (value: T | T[] | null) => void;
1021
1023
  value?: T | null;
1022
1024
  options: Array<T>;
1025
+ filterOptions?: (options: T[], state: any) => T[];
1023
1026
  renderValue?: (value: T) => string;
1024
1027
  onSearchChange?: (query: string, reason: AutocompleteInputChangeReason) => void;
1025
1028
  isLoading?: boolean;
@@ -1046,6 +1049,7 @@ declare function TransporterRoot<T = any>(props: TransporterRootProps<T>): react
1046
1049
 
1047
1050
  type TransporterTextFieldProps = {
1048
1051
  endAdornment?: React.ReactElement;
1052
+ disableLocalFiltering?: boolean;
1049
1053
  } & Omit<AutocompleteProps, 'onChange' | 'value'>;
1050
1054
  declare function TransporterTextField(props: TransporterTextFieldProps): react_jsx_runtime.JSX.Element;
1051
1055