@dexma/ui-components 8.0.29 → 8.0.35

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.
@@ -14,6 +14,7 @@ interface Option extends BaseOptionType {
14
14
  label: string;
15
15
  color?: string;
16
16
  disabled?: boolean;
17
+ customSelectedLabel?: React.ReactNode;
17
18
  }
18
19
  export declare const tagRenderButtonPagination: (props: CustomTagProps, options: Option[], maxTagLength: number, theme: Theme, deleteOptionAriaLabel: string) => ReactElement;
19
20
  export declare const dropdownRenderSelect: (menu: React.ReactElement, currentPage: number, options: Option[], handleChangePage: (page: number) => void, handleSelectAll: () => void, text: SelectTextProps, searchValue: string, mode: string, theme: Theme, pageSize?: number) => import("react/jsx-runtime").JSX.Element;
@@ -36,6 +37,7 @@ export type SelectProps = Omit<AntdSelectProps, 'options' | 'mode'> & {
36
37
  overflowLength?: number;
37
38
  handleButtonSelectAll?: (values: any[]) => void;
38
39
  handleClearAll?: () => void;
40
+ selectedOptionRender?: (option: Option) => React.ReactNode;
39
41
  mode?: 'multiple' | 'single';
40
42
  showOptionsAriaLabel: string;
41
43
  hideOptionsAriaLabel: string;
@@ -54,6 +56,7 @@ export declare const Select: import('react').ForwardRefExoticComponent<Omit<Antd
54
56
  overflowLength?: number;
55
57
  handleButtonSelectAll?: (values: any[]) => void;
56
58
  handleClearAll?: () => void;
59
+ selectedOptionRender?: (option: Option) => React.ReactNode;
57
60
  mode?: "multiple" | "single";
58
61
  showOptionsAriaLabel: string;
59
62
  hideOptionsAriaLabel: string;