@saas-ui/modals 3.0.0-next.41 → 3.0.0-next.43

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,14 +1,10 @@
1
- import { AlertDialogProps as AlertDialogProps_2 } from './alert-dialog';
2
- import { AlertDialogProps as AlertDialogProps_3 } from './alert-dialog.tsx';
3
1
  import { ButtonProps } from '@chakra-ui/react';
4
2
  import { Dialog } from '@saas-ui/react/dialog';
5
3
  import { Drawer as Drawer_2 } from '@saas-ui/react/drawer';
6
- import { DrawerProps as DrawerProps_2 } from './drawer';
7
4
  import { FC } from 'react';
8
5
  import { HTMLChakraProps } from '@chakra-ui/react';
9
6
  import { JSX } from 'react/jsx-runtime';
10
7
  import { MaybeRenderProp } from '@saas-ui/core/utils';
11
- import { ModalProps as ModalProps_2 } from './modal';
12
8
  import { ModalsContextValue } from '@saas-ui/modals-provider';
13
9
  import { ModalsProviderProps } from '@saas-ui/modals-provider';
14
10
  import * as React_2 from 'react';
@@ -78,10 +74,10 @@ export { AlertDialogProps }
78
74
  export { AlertDialogProps as AlertDialogProps_alias_1 }
79
75
 
80
76
  export declare const defaultModals: {
81
- alert: FC<AlertDialogProps_2>;
82
- confirm: FC<AlertDialogProps_2>;
83
- drawer: FC<DrawerProps_2>;
84
- modal: FC<ModalProps_2>;
77
+ alert: FC<AlertDialogProps>;
78
+ confirm: FC<AlertDialogProps>;
79
+ drawer: FC<DrawerProps>;
80
+ modal: FC<ModalProps>;
85
81
  };
86
82
 
87
83
  declare const Drawer: React_2.FC<DrawerProps>;
@@ -203,10 +199,10 @@ export { ModalProps as ModalProps_alias_1 }
203
199
  export declare const ModalsProvider: (props: Omit<ModalsProviderProps, "modals">) => JSX.Element;
204
200
 
205
201
  export declare const useModals: () => ModalsContextValue< {
206
- alert: FC<AlertDialogProps_3>;
207
- confirm: FC<AlertDialogProps_3>;
208
- drawer: FC<DrawerProps_2>;
209
- modal: FC<ModalProps_2>;
202
+ alert: FC<AlertDialogProps>;
203
+ confirm: FC<AlertDialogProps>;
204
+ drawer: FC<DrawerProps>;
205
+ modal: FC<ModalProps>;
210
206
  }, "modal" | "alert" | "drawer" | "confirm">;
211
207
 
212
208
  export { }
@@ -1,14 +1,10 @@
1
- import { AlertDialogProps as AlertDialogProps_2 } from './alert-dialog';
2
- import { AlertDialogProps as AlertDialogProps_3 } from './alert-dialog.tsx';
3
1
  import { ButtonProps } from '@chakra-ui/react';
4
2
  import { Dialog } from '@saas-ui/react/dialog';
5
3
  import { Drawer as Drawer_2 } from '@saas-ui/react/drawer';
6
- import { DrawerProps as DrawerProps_2 } from './drawer';
7
4
  import { FC } from 'react';
8
5
  import { HTMLChakraProps } from '@chakra-ui/react';
9
6
  import { JSX } from 'react/jsx-runtime';
10
7
  import { MaybeRenderProp } from '@saas-ui/core/utils';
11
- import { ModalProps as ModalProps_2 } from './modal';
12
8
  import { ModalsContextValue } from '@saas-ui/modals-provider';
13
9
  import { ModalsProviderProps } from '@saas-ui/modals-provider';
14
10
  import * as React_2 from 'react';
@@ -78,10 +74,10 @@ export { AlertDialogProps }
78
74
  export { AlertDialogProps as AlertDialogProps_alias_1 }
79
75
 
80
76
  export declare const defaultModals: {
81
- alert: FC<AlertDialogProps_2>;
82
- confirm: FC<AlertDialogProps_2>;
83
- drawer: FC<DrawerProps_2>;
84
- modal: FC<ModalProps_2>;
77
+ alert: FC<AlertDialogProps>;
78
+ confirm: FC<AlertDialogProps>;
79
+ drawer: FC<DrawerProps>;
80
+ modal: FC<ModalProps>;
85
81
  };
86
82
 
87
83
  declare const Drawer: React_2.FC<DrawerProps>;
@@ -203,10 +199,10 @@ export { ModalProps as ModalProps_alias_1 }
203
199
  export declare const ModalsProvider: (props: Omit<ModalsProviderProps, "modals">) => JSX.Element;
204
200
 
205
201
  export declare const useModals: () => ModalsContextValue< {
206
- alert: FC<AlertDialogProps_3>;
207
- confirm: FC<AlertDialogProps_3>;
208
- drawer: FC<DrawerProps_2>;
209
- modal: FC<ModalProps_2>;
202
+ alert: FC<AlertDialogProps>;
203
+ confirm: FC<AlertDialogProps>;
204
+ drawer: FC<DrawerProps>;
205
+ modal: FC<ModalProps>;
210
206
  }, "modal" | "alert" | "drawer" | "confirm">;
211
207
 
212
208
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saas-ui/modals",
3
- "version": "3.0.0-next.41",
3
+ "version": "3.0.0-next.43",
4
4
  "description": "A modal manager for Chakra UI",
5
5
  "type": "module",
6
6
  "exports": {
@@ -47,26 +47,27 @@
47
47
  "url": "https://storybook.saas-ui.dev"
48
48
  },
49
49
  "dependencies": {
50
- "@saas-ui/core": "3.0.0-next.11",
51
- "@saas-ui/forms": "3.0.0-next.41",
50
+ "@saas-ui/forms": "3.0.0-next.43",
51
+ "@saas-ui/modals-provider": "1.0.0-next.1",
52
52
  "@saas-ui/hooks": "3.0.0-next.3",
53
- "@saas-ui/modals-provider": "1.0.0-next.1"
53
+ "@saas-ui/core": "3.0.0-next.11"
54
54
  },
55
55
  "peerDependencies": {
56
- "@chakra-ui/react": "^3.20.0",
56
+ "@chakra-ui/react": "3.27.0",
57
57
  "@emotion/react": ">=11.0.0",
58
- "react": ">=18.0.0",
59
- "react-dom": ">=18.0.0",
60
- "@saas-ui/react": "3.0.0-next.41"
58
+ "react": "19.1.1",
59
+ "react-dom": "19.1.1",
60
+ "@saas-ui/react": "3.0.0-next.43"
61
61
  },
62
62
  "devDependencies": {
63
- "yup": "^1.6.1",
64
- "zod": "^3.25.76",
65
- "typescript": "^5.8.3",
66
- "react": "^19.0.0",
67
- "react-dom": "^19.0.0",
68
- "@types/react": "^19.0.12",
69
- "@types/react-dom": "^19.0.4"
63
+ "@microsoft/api-extractor": "^7.52.15",
64
+ "@types/react": "19.2.0",
65
+ "@types/react-dom": "19.2.0",
66
+ "react": "19.2.0",
67
+ "react-dom": "19.2.0",
68
+ "typescript": "5.9.3",
69
+ "zod": "^4.1.11",
70
+ "tsup": "^8.5.0"
70
71
  },
71
72
  "scripts": {
72
73
  "clean": "rimraf dist",