@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
28 lines (27 loc) • 2.43 kB
TypeScript
import * as React from 'react';
import { Select as SelectPrimitive } from '@base-ui/react/select';
declare const Select: typeof SelectPrimitive.Root;
declare const SelectGroup: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/select").SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
declare function SelectValue({ className, ...props }: SelectPrimitive.Value.Props): React.JSX.Element;
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/select").SelectTriggerProps & {
size?: "sm" | "default";
'data-name'?: string;
icon?: React.ReactNode;
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, container, stopMouseDownPropagation, ...props }: SelectPrimitive.Popup.Props & Pick<SelectPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'alignItemWithTrigger'> & {
/** Portal mount node (e.g. popover body) so nested floating UI stays “inside” the parent surface. */
container?: React.ComponentProps<typeof SelectPrimitive.Portal>['container'];
/**
* When `true`, stops the native `mousedown` from bubbling beyond the popup.
* Use this when the trigger lives inside an outside-click-detecting overlay
* (e.g. ag-grid's column menu) that would otherwise close itself on
* mousedowns happening inside the portaled popup.
*/
stopMouseDownPropagation?: boolean;
}): React.JSX.Element;
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/select").SelectGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
declare const SelectItem: React.ForwardRefExoticComponent<Omit<import("@base-ui/react/select").SelectItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
declare function SelectSeparator({ className, ...props }: SelectPrimitive.Separator.Props): React.JSX.Element;
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpArrow>): React.JSX.Element;
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownArrow>): React.JSX.Element;
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };