@qodo/design-system 0.20.16 → 0.20.18

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
@@ -79,12 +79,17 @@ export declare interface ActionItemType extends BaseMenuItemType, TypeGuard<"Act
79
79
  isHidden?: boolean;
80
80
  }
81
81
 
82
- export declare const ActionsCell: ({ menuItems, triggerElement: TriggerElement, triggerProps, className, size, asChild, side, modal, }: ActionsCellProps) => JSX_2.Element;
82
+ export declare const ActionsCell: ({ menuItems, triggerElement: TriggerElement, triggerProps, className, size, asChild, side, modal, showOnHover, }: ActionsCellProps) => JSX_2.Element;
83
83
 
84
84
  export declare type ActionsCellProps = OmittedDropdownProps & {
85
85
  triggerElement?: FunctionComponent<TriggerProps>;
86
86
  className?: string;
87
87
  triggerProps?: TriggerProps;
88
+ /**
89
+ * Whether to show the actions cell only on row hover
90
+ * @default true
91
+ */
92
+ showOnHover?: boolean;
88
93
  };
89
94
 
90
95
  export declare function Badge({ className, variant, size, disabled, active, ...props }: BadgeProps): JSX_2.Element;
@@ -146,6 +151,7 @@ declare type BaseSelectProps = {
146
151
  displayValues: string[];
147
152
  }) => ReactNode;
148
153
  size?: "xs" | "default";
154
+ contentMaxWidth?: string;
149
155
  } & Omit<default_3.HTMLAttributes<HTMLDivElement>, "onSelect">;
150
156
 
151
157
  export declare const borderRadius: {
@@ -364,7 +370,7 @@ export declare function DialogTitle({ className, ...props }: React_2.ComponentPr
364
370
 
365
371
  export declare function DialogTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX_2.Element;
366
372
 
367
- export declare const Dropdown: ({ menuItems, header, footer, triggerElement, size, asChild, side, modal, disabled, className, }: DropdownProps) => JSX_2.Element;
373
+ export declare const Dropdown: ({ menuItems, header, footer, triggerElement, size, asChild, side, modal, disabled, className, open, onOpenChange, }: DropdownProps) => JSX_2.Element;
368
374
 
369
375
  declare type DropdownMenuItem = (RadioGroupType | ActionItemType | CheckboxGroupType | SubMenuItemType | MenuLabelType | SeparatorType) & {
370
376
  isHidden?: boolean;
@@ -383,6 +389,8 @@ declare interface DropdownProps {
383
389
  modal?: boolean;
384
390
  disabled?: boolean;
385
391
  className?: string;
392
+ open?: boolean;
393
+ onOpenChange?: (open: boolean) => void;
386
394
  }
387
395
 
388
396
  export declare interface EmailChipProps {
@@ -703,7 +711,7 @@ declare const SearchSize: {
703
711
  LARGE: string;
704
712
  };
705
713
 
706
- 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, size, ...rest }: SelectProps): JSX_2.Element;
714
+ 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, size, contentMaxWidth, ...rest }: SelectProps): JSX_2.Element;
707
715
 
708
716
  declare const SELECT_MODE: {
709
717
  SINGLE: string;