@data-c/ui 0.2.47 → 0.2.50

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
@@ -515,10 +515,9 @@ declare const Dialog: {
515
515
  Confirm: typeof DialogConfirm;
516
516
  };
517
517
 
518
- interface FilterAdvancedActionsContainerProps {
519
- children: React__default.ReactNode;
518
+ interface FilterAdvancedActionsContainerProps extends StackProps {
520
519
  }
521
- declare function FilterAdvancedActionsContainer({ children, }: FilterAdvancedActionsContainerProps): react_jsx_runtime.JSX.Element;
520
+ declare function FilterAdvancedActionsContainer({ children, ...rest }: FilterAdvancedActionsContainerProps): react_jsx_runtime.JSX.Element;
522
521
 
523
522
  declare function FilterAdvancedButton(): react_jsx_runtime.JSX.Element;
524
523
 
@@ -1023,6 +1022,8 @@ type AutocompleteProps<T = any> = {
1023
1022
  onChange?: (value: T | T[] | null) => void;
1024
1023
  value?: T | null;
1025
1024
  options: Array<T>;
1025
+ filterOptions?: (options: T[], state: any) => T[];
1026
+ renderOption?: (props: React__default.HTMLAttributes<HTMLLIElement>, option: T) => React__default.ReactNode;
1026
1027
  renderValue?: (value: T) => string;
1027
1028
  onSearchChange?: (query: string, reason: AutocompleteInputChangeReason) => void;
1028
1029
  isLoading?: boolean;
@@ -1049,6 +1050,8 @@ declare function TransporterRoot<T = any>(props: TransporterRootProps<T>): react
1049
1050
 
1050
1051
  type TransporterTextFieldProps = {
1051
1052
  endAdornment?: React.ReactElement;
1053
+ disableLocalFiltering?: boolean;
1054
+ renderOption?: (props: React.HTMLAttributes<HTMLLIElement>, option: any) => React.ReactNode;
1052
1055
  } & Omit<AutocompleteProps, 'onChange' | 'value'>;
1053
1056
  declare function TransporterTextField(props: TransporterTextFieldProps): react_jsx_runtime.JSX.Element;
1054
1057