@veeqo/ui 5.9.0 → 5.10.0

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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { DropdownProps } from './types';
3
+ export declare const Dropdown: ({ id, shouldShow, setShouldShow, ctaIconSlot, ctaProps, ...dropdownProps }: DropdownProps) => React.JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { BasicDropdownProps } from './types';
3
+ export declare const DropdownPopover: ({ id, children, className, style, reversed, anchorElement, useAnchorWidth, onShouldClose, ...popoverProps }: BasicDropdownProps) => React.JSX.Element;
@@ -0,0 +1 @@
1
+ export { Dropdown } from './Dropdown';
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export declare const DropdownContainer: import("styled-components").StyledComponent<import("framer-motion").CustomDomComponent<{
3
+ [x: string]: any;
4
+ [x: number]: any;
5
+ [x: symbol]: any;
6
+ } & {
7
+ theme?: any;
8
+ } & {
9
+ as?: string | import("react").ComponentType<any> | undefined;
10
+ forwardedAs?: string | import("react").ComponentType<any> | undefined;
11
+ }>, any, {}, never>;
@@ -0,0 +1,17 @@
1
+ import { ReactElement, ReactNode } from 'react';
2
+ import { EventHandlerProps } from '../types';
3
+ import { PopoverProps } from '../Popover/types';
4
+ import { ButtonProps } from '../Button/types';
5
+ export type BasicDropdownProps = {
6
+ className?: string;
7
+ children: ReactNode;
8
+ reversed?: boolean;
9
+ } & PopoverProps;
10
+ export type DropdownProps = EventHandlerProps & Pick<BasicDropdownProps, 'children' | 'className' | 'placement' | 'useAnchorWidth' | 'rootElementRef' | 'disableFocusLock'> & {
11
+ id: string;
12
+ shouldShow?: boolean;
13
+ setShouldShow?: (newValue: boolean) => void;
14
+ ctaIconSlot?: ReactElement;
15
+ ctaProps?: ButtonProps;
16
+ children?: ReactNode;
17
+ };
@@ -21,6 +21,7 @@ export { DataTable, useCellWidths, useColumns, useDragToScroll, useNested, useSc
21
21
  export { DescriptionList } from './DescriptionList';
22
22
  export { DetailPage } from './DetailPage';
23
23
  export { DimensionsInput } from './DimensionsInput';
24
+ export { Dropdown } from './Dropdown';
24
25
  export { FilterTag } from './FilterTag';
25
26
  export { Grid } from './Grid';
26
27
  export { Image } from './Image';