@hybr1d-tech/charizard 2.3.2 → 2.3.4

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.
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { ClassNames } from 'react-day-picker';
4
4
  import { ColumnPinningState } from '@tanstack/react-table';
5
5
  import { DateRange } from 'react-day-picker';
6
6
  import { default as default_2 } from 'react';
7
+ import * as dialog from '@zag-js/dialog';
7
8
  import { HTMLInputTypeAttribute } from 'react';
8
9
  import { Id } from 'react-toastify';
9
10
  import { JSX } from 'react/jsx-runtime';
@@ -1905,7 +1906,7 @@ declare type ModalProps = {
1905
1906
  * @param {ModalV2Props} props - The props for the ModalV2 component.
1906
1907
  * @returns {JSX.Element} The rendered modal component.
1907
1908
  */
1908
- export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop, onClose, customModalClasses, }: ModalV2Props): JSX.Element;
1909
+ export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop, onClose, customModalClasses, onCustomInteractOutside, closeOnInteractOutside, }: ModalV2Props): JSX.Element;
1909
1910
 
1910
1911
  declare interface ModalV2Props {
1911
1912
  /** Indicates if the modal is open. */
@@ -1925,6 +1926,8 @@ declare interface ModalV2Props {
1925
1926
  /** Indicates whether to show a backdrop behind the modal. */
1926
1927
  showBackdrop?: boolean;
1927
1928
  customModalClasses?: string;
1929
+ onCustomInteractOutside?: (event: dialog.InteractOutsideEvent) => void;
1930
+ closeOnInteractOutside?: boolean;
1928
1931
  }
1929
1932
 
1930
1933
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"