@campxdev/shared 1.6.7 → 1.6.8
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/package.json
CHANGED
|
@@ -98,13 +98,18 @@ export const CustomDialog = ({
|
|
|
98
98
|
}: CustomDialogProps) => {
|
|
99
99
|
return (
|
|
100
100
|
<Dialog
|
|
101
|
-
PaperProps={{
|
|
101
|
+
PaperProps={{
|
|
102
|
+
...dialogProps.PaperProps,
|
|
103
|
+
elevation: 2,
|
|
104
|
+
sx: { borderRadius: '10px' },
|
|
105
|
+
}}
|
|
102
106
|
fullWidth
|
|
103
107
|
onClose={onClose}
|
|
104
108
|
open={open}
|
|
105
109
|
transitionDuration={140}
|
|
106
110
|
TransitionComponent={Transition}
|
|
107
111
|
sx={{
|
|
112
|
+
...dialogProps.sx,
|
|
108
113
|
'& .MuiBackdrop-root': { backgroundColor: 'rgba(0, 0, 0, 0.4)' },
|
|
109
114
|
}}
|
|
110
115
|
{...dialogProps}
|
package/src/components/index.ts
CHANGED
|
@@ -28,6 +28,8 @@ import AsyncSearchSelect from './Input/AsyncSearchSelect'
|
|
|
28
28
|
import FilterButton from './FilterComponents/FilterButton'
|
|
29
29
|
import Helmet from './Layout/Helmet'
|
|
30
30
|
import NavigationTabs from './Tabs/NavigationTabs'
|
|
31
|
+
import { CustomDialog } from './ModalButtons/DialogButton'
|
|
32
|
+
import { CustomDrawer } from './ModalButtons/DrawerButton'
|
|
31
33
|
export { default as Image } from './Image'
|
|
32
34
|
export { default as PageHeader } from './PageHeader'
|
|
33
35
|
export { PageContent } from './PageContent'
|
|
@@ -84,6 +86,8 @@ export {
|
|
|
84
86
|
FilterButton,
|
|
85
87
|
Helmet,
|
|
86
88
|
NavigationTabs,
|
|
89
|
+
CustomDialog,
|
|
90
|
+
CustomDrawer,
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
export * from './UploadButton/types'
|