skillgrid 0.0.36-dev-40511-42085-40506-alert-placeholder-modal-fix.1220136 → 0.0.36-dev-40511-42085-40506-alert-placeholder-modal-fix.1221738

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,5 +1,5 @@
1
1
  import { DialogProps } from '../Dialog.type';
2
- import { CSSProperties } from 'react';
2
+ import { CSSProperties, HTMLProps } from 'react';
3
3
  type UseDialogDraggableOptions = Pick<DialogProps, 'placement' | 'open' | 'disableEscapeKey' | 'onOpenChange' | 'closeOnDrag'>;
4
4
  /**
5
5
  * Хук для управления диалогом с возможностью закрытия через 'смахивание' (drag-to-close).
@@ -37,6 +37,6 @@ export declare function useDialogDraggable({ open, onOpenChange, placement, disa
37
37
  setFloating: (node: HTMLElement | null) => void;
38
38
  } & import('@floating-ui/react').ExtendedRefs<import('@floating-ui/react').ReferenceType>;
39
39
  transitionStyles: CSSProperties;
40
- getFloatingProps: <T extends object>(userProps: T) => Record<string, unknown>;
40
+ getFloatingProps: (userProps: HTMLProps<HTMLElement>) => Record<string, unknown>;
41
41
  };
42
42
  export {};