@qodo/design-system 0.20.6 → 0.20.7

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
@@ -138,6 +138,9 @@ declare type BaseSelectProps = {
138
138
  iconPosition?: "left" | "right";
139
139
  selectionIndicator?: "checkmark" | "checkbox";
140
140
  onSearchChange?: (search: string) => void;
141
+ renderValue?: (args: {
142
+ displayValues: string[];
143
+ }) => ReactNode;
141
144
  } & Omit<default_2.HTMLAttributes<HTMLDivElement>, "onSelect">;
142
145
 
143
146
  export declare const borderRadius: {
@@ -553,6 +556,8 @@ declare type Option_2 = {
553
556
  icon?: ReactNode;
554
557
  children?: Option_2[];
555
558
  disabled?: boolean;
559
+ description?: string;
560
+ disableChildrenOnParentSelect?: boolean;
556
561
  };
557
562
  export { Option_2 as Option }
558
563
 
@@ -650,7 +655,7 @@ declare const SearchSize: {
650
655
  LARGE: string;
651
656
  };
652
657
 
653
- export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, toggleIcon, dir, variant, iconPosition, selectionIndicator, onSearchChange, ...rest }: SelectProps): JSX_2.Element;
658
+ export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, toggleIcon, dir, variant, iconPosition, selectionIndicator, onSearchChange, renderValue, ...rest }: SelectProps): JSX_2.Element;
654
659
 
655
660
  declare const SELECT_MODE: {
656
661
  SINGLE: string;