@aic-kits/react 0.19.0 → 0.20.1

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,6 +1,5 @@
1
- import { Size } from '../../theme';
1
+ import { AvatarSize } from '../../theme';
2
2
  import { BoxProps } from '../Box';
3
- export type AvatarSize = Size;
4
3
  export interface AvatarProps extends Omit<BoxProps, 'size'> {
5
4
  /**
6
5
  * The source URL of the avatar image.
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { Color, BorderWidth } from '../../theme';
3
+ import { NavItemProps } from './types';
4
+ interface NavDropdownMenuProps {
5
+ items: NavItemProps[];
6
+ onClick?: (item: NavItemProps, index: number) => void;
7
+ }
8
+ export interface StyledDropdownMenuContainerProps {
9
+ $themeBackgroundColor: Color;
10
+ $themeRadius: number;
11
+ $themeBorderColor: Color;
12
+ $themeBorderWidth: BorderWidth;
13
+ }
14
+ export declare const NavDropdownMenu: React.FC<NavDropdownMenuProps>;
15
+ export {};
@@ -17,6 +17,10 @@ export interface NavItemProps {
17
17
  * Called when the navigation item is clicked
18
18
  */
19
19
  onClick?: () => void;
20
+ /**
21
+ * Dropdown items
22
+ */
23
+ dropdownItems?: NavItemProps[];
20
24
  }
21
25
  export interface HeaderProps extends BoxProps {
22
26
  /**