qucoon-components 0.0.7 → 0.0.9

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,7 +1,6 @@
1
1
  import { default as React, ReactNode } from 'react';
2
2
  import { ModalPosition } from '../../../../utilities/types/modalTypes';
3
3
  export interface BaseModalProps {
4
- ref: React.RefObject<HTMLDivElement>;
5
4
  id: string;
6
5
  zIndex?: number;
7
6
  backdrop?: 'blur' | 'solid' | 'transparent';
@@ -22,5 +21,5 @@ export interface BaseModalProps {
22
21
  size?: 'sm' | 'md' | 'lg' | 'xl' | 'auto';
23
22
  cssProps?: Record<string, string>;
24
23
  }
25
- export declare function BaseModal({ ref, id, zIndex, backdrop, closeOnBackdropClick, enableBackDrop, position, offset, animation, theme, size, children, onClose, onFocus, containerClassName, containerStyle, backdropClassName, backdropStyle, cssProps, }: BaseModalProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare const BaseModal: React.ForwardRefExoticComponent<BaseModalProps & React.RefAttributes<HTMLDivElement>>;
26
25
  export default BaseModal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qucoon-components",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -55,9 +55,7 @@
55
55
  "peerDependencies": {
56
56
  "formik": "^2.4.6",
57
57
  "react": ">=18 <20",
58
- "react-dom": ">=18 <20",
59
- "@types/react": "*",
60
- "@types/react-dom": "*"
58
+ "react-dom": ">=18 <20"
61
59
  },
62
60
  "devDependencies": {
63
61
  "@react-buddy/ide-toolbox": "^2.4.0",