Skip to content

Commit a933592

Browse files
chore(release): 1.3.4 [skip ci]
## [1.3.4](v1.3.3...v1.3.4) (2023-04-05) ### Bug Fixes * add grid props and styles and button width ([a914216](a914216))
1 parent a914216 commit a933592

File tree

3 files changed

+29
-6
lines changed

3 files changed

+29
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.3.4](https://github.com/ocadotechnology/codeforlife-package-javascript/compare/v1.3.3...v1.3.4) (2023-04-05)
2+
3+
4+
### Bug Fixes
5+
6+
* add grid props and styles and button width ([a914216](https://github.com/ocadotechnology/codeforlife-package-javascript/commit/a9142168073230e6034fc3bf1573882e9af1b8dc))
7+
18
## [1.3.3](https://github.com/ocadotechnology/codeforlife-package-javascript/compare/v1.3.2...v1.3.3) (2023-03-23)
29

310

lib/cjs/theme.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,22 @@ var theme = (0, styles_1.responsiveFontSizes)((0, styles_1.createTheme)({
4848
components: {
4949
MuiGrid2: {
5050
defaultProps: {
51-
disableEqualOverflow: true
51+
disableEqualOverflow: true,
52+
padding: 0
5253
},
5354
styleOverrides: {
5455
root: function (_a) {
5556
var ownerState = _a.ownerState;
56-
return (__assign({}, (ownerState.className === 'flex-center' && {
57+
return (__assign(__assign(__assign({}, (ownerState.className === 'flex-center' && {
5758
display: 'flex',
5859
justifyContent: 'center',
5960
alignItems: 'center'
61+
})), (ownerState.className === 'flex-center-x' && {
62+
display: 'flex',
63+
justifyContent: 'center'
64+
})), (ownerState.className === 'flex-center-y' && {
65+
display: 'flex',
66+
alignItems: 'center'
6067
})));
6168
}
6269
}
@@ -65,7 +72,8 @@ var theme = (0, styles_1.responsiveFontSizes)((0, styles_1.createTheme)({
6572
styleOverrides: {
6673
root: {
6774
whiteSpace: 'nowrap',
68-
minWidth: 'max-content'
75+
minWidth: 'max-content',
76+
width: 'fit-content'
6977
}
7078
}
7179
},

lib/esm/theme.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,22 @@ var theme = responsiveFontSizes(createTheme({
4646
components: {
4747
MuiGrid2: {
4848
defaultProps: {
49-
disableEqualOverflow: true
49+
disableEqualOverflow: true,
50+
padding: 0
5051
},
5152
styleOverrides: {
5253
root: function (_a) {
5354
var ownerState = _a.ownerState;
54-
return (__assign({}, (ownerState.className === 'flex-center' && {
55+
return (__assign(__assign(__assign({}, (ownerState.className === 'flex-center' && {
5556
display: 'flex',
5657
justifyContent: 'center',
5758
alignItems: 'center'
59+
})), (ownerState.className === 'flex-center-x' && {
60+
display: 'flex',
61+
justifyContent: 'center'
62+
})), (ownerState.className === 'flex-center-y' && {
63+
display: 'flex',
64+
alignItems: 'center'
5865
})));
5966
}
6067
}
@@ -63,7 +70,8 @@ var theme = responsiveFontSizes(createTheme({
6370
styleOverrides: {
6471
root: {
6572
whiteSpace: 'nowrap',
66-
minWidth: 'max-content'
73+
minWidth: 'max-content',
74+
width: 'fit-content'
6775
}
6876
}
6977
},

0 commit comments

Comments
 (0)