uikit-react-public 0.30.0 → 0.30.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.
@@ -18,5 +18,5 @@ export interface BaseDialogProps extends HTMLAttributes<HTMLDialogElement> {
18
18
  skipCloseOnInitialFocus?: boolean;
19
19
  testId?: string;
20
20
  }
21
- declare const _default: React.MemoExoticComponent<({ open, size, modal, closeOnClickOutside, closeOnClickOutsideStopPropagation, nonModalCloseOnEscape, onClose, className, children, initialFocusRef, finalFocusRef, disableFocusTrap, restoreFocus, skipCloseOnInitialFocus, testId, ...props }: BaseDialogProps) => React.JSX.Element | null>;
21
+ declare const _default: React.NamedExoticComponent<BaseDialogProps & React.RefAttributes<HTMLDialogElement>>;
22
22
  export default _default;
@@ -15,7 +15,7 @@ export interface DialogProps extends BaseDialogProps {
15
15
  onAction?: () => void;
16
16
  onSecondaryAction?: () => void;
17
17
  }
18
- declare const Dialog: ({ onClose, onAction, onSecondaryAction, testId, className, children, ...props }: DialogProps) => import("react").JSX.Element;
18
+ declare const Dialog: import('react').ForwardRefExoticComponent<DialogProps & import('react').RefAttributes<HTMLDialogElement>>;
19
19
  export interface DialogSubComponents {
20
20
  Header: typeof DialogHeader;
21
21
  Body: typeof DialogBody;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: (({ onClose, onAction, onSecondaryAction, testId, className, children, ...props }: import('./Dialog').DialogProps) => import("react").JSX.Element) & import('./Dialog').DialogSubComponents;
4
+ component: import('react').ForwardRefExoticComponent<import('./Dialog').DialogProps & import('react').RefAttributes<HTMLDialogElement>> & import('./Dialog').DialogSubComponents;
5
5
  parameters: {
6
6
  docs: {
7
7
  story: string;