Skip to content

Commit 51e10b7

Browse files
author
github-actions
committed
push build files [skip ci]
1 parent 953aca6 commit 51e10b7

18 files changed

+69
-27
lines changed

lib/cjs/components/form/CheckboxField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ var CheckboxField = function (_a) {
108108
form.setFieldValue(name, checked, true);
109109
}
110110
}, onChange);
111-
return (react_1.default.createElement(material_1.Stack, { direction: 'row', alignItems: 'center', marginLeft: '-9px', marginBottom: typography_1.form.marginBottom, gap: 1 },
111+
return (react_1.default.createElement(material_1.Stack, { direction: 'row', alignItems: 'center', marginLeft: '-12px', marginBottom: typography_1.form.marginBottom, gap: 1 },
112112
react_1.default.createElement(material_1.FormControlLabel, __assign({ control: react_1.default.createElement(material_1.Checkbox, __assign({ defaultValue: meta.initialValue, onChange: onChange }, otherCheckboxProps)) }, formControlLabelProps)),
113113
showError && ![undefined, ''].includes(meta.error) &&
114114
react_1.default.createElement(ClickableTooltip_1.default, { title: meta.error },

lib/cjs/theme/components/MuiFormHelperText.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
1414
var typography_1 = require("../typography");
1515
var MuiFormHelperText = {
1616
styleOverrides: {
17-
root: __assign(__assign({}, typography_1.form), { marginTop: 4, marginLeft: 4 })
17+
root: __assign({}, typography_1.form)
1818
}
1919
};
2020
exports.default = MuiFormHelperText;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import Components from './_components';
2+
declare const MuiInputAdornment: Components['MuiInputAdornment'];
3+
export default MuiInputAdornment;
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"use strict";
2+
var __importDefault = (this && this.__importDefault) || function (mod) {
3+
return (mod && mod.__esModule) ? mod : { "default": mod };
4+
};
5+
var _a;
6+
Object.defineProperty(exports, "__esModule", { value: true });
7+
var typography_1 = __importDefault(require("../typography"));
8+
var MuiInputAdornment = {
9+
styleOverrides: {
10+
root: {
11+
color: (_a = typography_1.default.body1) === null || _a === void 0 ? void 0 : _a.color
12+
}
13+
}
14+
};
15+
exports.default = MuiInputAdornment;

lib/cjs/theme/components/MuiInputBase.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
"use strict";
2+
var __importDefault = (this && this.__importDefault) || function (mod) {
3+
return (mod && mod.__esModule) ? mod : { "default": mod };
4+
};
5+
var _a;
26
Object.defineProperty(exports, "__esModule", { value: true });
7+
var typography_1 = __importDefault(require("../typography"));
38
var MuiInputBase = {
49
styleOverrides: {
510
root: {
611
backgroundColor: 'white',
7-
marginBottom: 0
12+
marginBottom: 0,
13+
color: (_a = typography_1.default.body1) === null || _a === void 0 ? void 0 : _a.color
814
}
915
}
1016
};

lib/cjs/theme/components/MuiTextField.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ var MuiTextField = {
2525
borderRadius: '0px !important'
2626
}, _b["& .".concat(material_1.outlinedInputClasses.root, ".").concat(material_1.inputClasses.focused, " > fieldset")] = {
2727
borderColor: 'black !important'
28+
}, _b[".".concat(material_1.formHelperTextClasses.root)] = {
29+
fontSize: '12px !important'
2830
}, _b), (ownerState.multiline === true && __assign(__assign(__assign({}, (((0, helpers_1.includesClassNames)(ownerState, ['resize']) ||
2931
(0, helpers_1.includesClassNames)(ownerState, ['resize-both'])) && (_c = {
3032
width: 'auto'

lib/cjs/theme/components/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var MuiDialog_1 = __importDefault(require("./MuiDialog"));
1212
var MuiFormControlLabel_1 = __importDefault(require("./MuiFormControlLabel"));
1313
var MuiFormHelperText_1 = __importDefault(require("./MuiFormHelperText"));
1414
var MuiGrid2_1 = __importDefault(require("./MuiGrid2"));
15+
var MuiInputAdornment_1 = __importDefault(require("./MuiInputAdornment"));
1516
var MuiInputBase_1 = __importDefault(require("./MuiInputBase"));
1617
var MuiLink_1 = __importDefault(require("./MuiLink"));
1718
var MuiMenu_1 = __importDefault(require("./MuiMenu"));
@@ -35,6 +36,7 @@ var components = {
3536
MuiFormControlLabel: MuiFormControlLabel_1.default,
3637
MuiFormHelperText: MuiFormHelperText_1.default,
3738
MuiGrid2: MuiGrid2_1.default,
39+
MuiInputAdornment: MuiInputAdornment_1.default,
3840
MuiInputBase: MuiInputBase_1.default,
3941
MuiLink: MuiLink_1.default,
4042
MuiMenu: MuiMenu_1.default,

lib/cjs/theme/typography.d.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import { TypographyOptions } from '@mui/material/styles/createTypography';
2-
export declare const form: {
3-
fontFamily: string;
4-
fontSize: string;
5-
fontWeight: number;
6-
marginBottom: string;
7-
};
1+
import { TypographyOptions, CSSProperties } from '@mui/material/styles/createTypography';
2+
export declare const form: CSSProperties;
83
declare const typography: TypographyOptions;
94
export default typography;

lib/cjs/theme/typography.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ exports.form = void 0;
44
// Pseudo typography variant for all form text.
55
exports.form = {
66
fontFamily: '"Inter"',
7-
fontSize: '14px',
8-
fontWeight: 500,
9-
marginBottom: '12px'
7+
fontSize: '14px !important',
8+
fontWeight: 600,
9+
margin: 0,
10+
marginBottom: '12px',
11+
letterSpacing: 0
1012
};
1113
// TODO: assess if line-height is needed.
1214
// Doesn't play well with responsiveFontSizes.

lib/esm/components/form/CheckboxField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ var CheckboxField = function (_a) {
103103
form.setFieldValue(name, checked, true);
104104
}
105105
}, onChange);
106-
return (React.createElement(Stack, { direction: 'row', alignItems: 'center', marginLeft: '-9px', marginBottom: formTypography.marginBottom, gap: 1 },
106+
return (React.createElement(Stack, { direction: 'row', alignItems: 'center', marginLeft: '-12px', marginBottom: formTypography.marginBottom, gap: 1 },
107107
React.createElement(FormControlLabel, __assign({ control: React.createElement(Checkbox, __assign({ defaultValue: meta.initialValue, onChange: onChange }, otherCheckboxProps)) }, formControlLabelProps)),
108108
showError && ![undefined, ''].includes(meta.error) &&
109109
React.createElement(ClickableTooltip, { title: meta.error },

0 commit comments

Comments
 (0)