@veeqo/ui 5.17.0 → 5.18.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.
@@ -1,10 +1,16 @@
1
- import React from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import { MenuItemProps } from 'react-aria-components';
3
3
  import { ButtonProps } from '../Button/types';
4
4
  export type ActionMenuProps = {
5
5
  id?: string;
6
6
  menuLabel?: string;
7
- actions: MenuItemProps[];
7
+ actions?: MenuItemProps[];
8
8
  ctaProps: ButtonProps;
9
+ children?: ReactNode;
10
+ };
11
+ export declare const ActionMenu: {
12
+ ({ id, menuLabel, ctaProps, actions, children }: ActionMenuProps): React.JSX.Element;
13
+ Item: import("styled-components").StyledComponent<(<T extends object>(props: MenuItemProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>), any, {}, never>;
14
+ Section: import("styled-components").StyledComponent<(<T_1 extends object>(props: import("react-aria-components").SectionProps<T_1> & React.RefAttributes<HTMLElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>), any, {}, never>;
15
+ Text: React.ForwardRefExoticComponent<import("react-aria-components").TextProps & React.RefAttributes<HTMLElement>>;
9
16
  };
10
- export declare const ActionMenu: ({ id, menuLabel, ctaProps, actions }: ActionMenuProps) => React.JSX.Element;
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  export declare const MenuItem: import("styled-components").StyledComponent<(<T extends object>(props: import("react-aria-components").MenuItemProps<T> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>), any, {}, never>;
3
+ export declare const Section: import("styled-components").StyledComponent<(<T extends object>(props: import("react-aria-components").SectionProps<T> & import("react").RefAttributes<HTMLElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>), any, {}, never>;