kelt-ui-kit-react 0.4.4 → 0.4.6

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.
@@ -4,5 +4,7 @@ import { CardActionInterface } from '../cardAction.interface';
4
4
  export type CardActionProps = {
5
5
  actions: CardActionInterface[];
6
6
  item?: CardInterface;
7
+ openActions?: boolean;
8
+ setOpenActions?: (open: boolean) => void;
7
9
  };
8
- export declare const CardAction: ({ actions, item }: CardActionProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const CardAction: ({ actions, openActions, item, setOpenActions, }: CardActionProps) => import("react/jsx-runtime").JSX.Element;
@@ -5,6 +5,7 @@ type ExpandProps = {
5
5
  className?: string;
6
6
  onChange?: (item: ExpandInterface) => void;
7
7
  currentItem?: ExpandInterface;
8
+ showArrow?: boolean;
8
9
  };
9
10
  export declare const Expands: (props: ExpandProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export type { ExpandProps };
@@ -1,9 +1,10 @@
1
1
  import { ExpandInterface } from './expand.interface';
2
2
 
3
3
  export type ExpandProps = {
4
- active: boolean;
4
+ currentExpand?: ExpandInterface;
5
5
  item: ExpandInterface;
6
6
  className?: string;
7
+ showArrow?: boolean;
7
8
  onChange: (item: ExpandInterface) => void;
8
9
  };
9
- export declare const Expand: (props: ExpandProps) => JSX.Element;
10
+ export declare const Expand: ({ currentExpand, item, className, showArrow, onChange, }: ExpandProps) => JSX.Element;
@@ -6,5 +6,4 @@ export interface ExpandInterface {
6
6
  content?: React.ReactNode;
7
7
  headerContent?: React.ReactNode;
8
8
  footer?: JSX.Element;
9
- active?: boolean;
10
9
  }