@webpros/mui-theme 0.4.1 → 0.4.2
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/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Copyright 2025 WebPros International GmbH. All rights reserved.
|
|
2
|
-
import {
|
|
2
|
+
import { dialogContentClasses, iconButtonClasses, } from '@mui/material';
|
|
3
3
|
export const getDialog = (theme) => {
|
|
4
4
|
const { spacing, colors } = theme;
|
|
5
5
|
const closeButtonPosition = {
|
|
@@ -28,24 +28,12 @@ export const getDialog = (theme) => {
|
|
|
28
28
|
},
|
|
29
29
|
styleOverrides: {
|
|
30
30
|
paper: {
|
|
31
|
-
|
|
31
|
+
minHeight: spacing(25),
|
|
32
32
|
backgroundColor: colors.schemes.surfaces.elevatedContainer,
|
|
33
33
|
[`& > .${iconButtonClasses.root}`]: closeButtonPosition,
|
|
34
34
|
[`& > .${iconButtonClasses.root} + .${dialogContentClasses.root}`]: {
|
|
35
35
|
paddingTop: spacing(5.125),
|
|
36
36
|
},
|
|
37
|
-
[`&.${dialogClasses.paperFullScreen}`]: {
|
|
38
|
-
borderRadius: 0,
|
|
39
|
-
maxWidth: 'none',
|
|
40
|
-
maxHeight: 'none',
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
root: {
|
|
44
|
-
height: 'auto',
|
|
45
|
-
[`&.${modalClasses.root}.${dialogClasses.root} .${dialogClasses.paper}`]: {
|
|
46
|
-
height: 'auto',
|
|
47
|
-
minHeight: spacing(25),
|
|
48
|
-
},
|
|
49
37
|
},
|
|
50
38
|
},
|
|
51
39
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webpros/mui-theme",
|
|
3
3
|
"description": "MUI v7 theme for WebPros products",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -123,4 +123,4 @@
|
|
|
123
123
|
"resolutions": {
|
|
124
124
|
"react-is": "^18.3.1"
|
|
125
125
|
}
|
|
126
|
-
}
|
|
126
|
+
}
|