@aic-kits/react 0.17.2 → 0.18.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,4 +1,4 @@
1
1
  import { NavItemProps } from './types';
2
- export declare const NavItem: ({ label, isActive, onClick, size, }: NavItemProps & {
2
+ export declare const NavItem: ({ label, isActive, isLoading, onClick, size, }: NavItemProps & {
3
3
  size?: "large" | "medium";
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -9,6 +9,10 @@ export interface NavItemProps {
9
9
  * Whether this navigation item is currently active
10
10
  */
11
11
  isActive?: boolean;
12
+ /**
13
+ * Whether this navigation item is loading
14
+ */
15
+ isLoading?: boolean;
12
16
  /**
13
17
  * Called when the navigation item is clicked
14
18
  */
@@ -1,3 +1,3 @@
1
1
  import { default as React } from 'react';
2
2
  import { ModalProps } from './types';
3
- export declare const Modal: ({ open, onClose, children, "data-testid": testId, }: ModalProps) => React.ReactElement | null;
3
+ export declare const Modal: ({ open, onClose, children, "data-testid": testId, ...boxProps }: ModalProps) => React.ReactElement | null;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
- export interface ModalProps {
2
+ import { BoxProps } from '../Box';
3
+ export interface ModalProps extends BoxProps {
3
4
  /**
4
5
  * If `true`, the modal is open.
5
6
  */