@rabex-kit/rabex-ui 0.1.20 → 0.1.22
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/rabex-ui.cjs.development.js +12 -32
- package/dist/rabex-ui.cjs.development.js.map +1 -1
- package/dist/rabex-ui.cjs.production.min.js +1 -1
- package/dist/rabex-ui.cjs.production.min.js.map +1 -1
- package/dist/rabex-ui.esm.js +12 -32
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
@@ -1358,14 +1358,14 @@ Input.defaultProps = {
|
|
1358
1358
|
disableUnderline: true,
|
1359
1359
|
titleProps: {
|
1360
1360
|
variant: 'body2',
|
1361
|
-
weight: '
|
1361
|
+
weight: 'regular'
|
1362
1362
|
},
|
1363
1363
|
helperTextProps: {
|
1364
|
-
variant: '
|
1364
|
+
variant: 'body3',
|
1365
1365
|
color: 'textColor.A60'
|
1366
1366
|
},
|
1367
1367
|
helperTextEndAdornmentProps: {
|
1368
|
-
variant: '
|
1368
|
+
variant: 'body3',
|
1369
1369
|
color: 'textColor.A60'
|
1370
1370
|
}
|
1371
1371
|
};
|
@@ -4562,27 +4562,6 @@ var components$6 = {
|
|
4562
4562
|
fontSize: '16px',
|
4563
4563
|
lineHeight: '24px',
|
4564
4564
|
padding: spacing(3)
|
4565
|
-
}, fill === true && {
|
4566
|
-
border: 'transparent',
|
4567
|
-
background: isLight ? palette.base[200] : undefined,
|
4568
|
-
'&.Mui-disabled': {
|
4569
|
-
background: isLight ? palette.base[100] : palette.secondary.A100
|
4570
|
-
},
|
4571
|
-
'&:hover': {
|
4572
|
-
border: isLight ? "1px solid " + palette.base[600] : "1px solid " + palette.base.A60,
|
4573
|
-
backgroundColor: isLight ? palette.base[200] : palette.base.A60
|
4574
|
-
},
|
4575
|
-
'&.Mui-focused': {
|
4576
|
-
border: isLight ? "1.5px solid " + palette.primary[500] : "1px solid " + palette.primary.A80,
|
4577
|
-
backgroundColor: isLight ? palette.base[200] : palette.base.A60
|
4578
|
-
},
|
4579
|
-
'&.Mui-error': {
|
4580
|
-
border: isLight ? "1.5px solid " + palette.error[400] : "1px solid " + palette.error.A60,
|
4581
|
-
backgroundColor: isLight ? palette.base[200] : colorManipulator_js.alpha(palette.error.A100 || '', 0.1)
|
4582
|
-
}
|
4583
|
-
}, success === true && {
|
4584
|
-
border: isLight ? "1px solid " + palette.success.A100 : "1px solid " + palette.success.A40,
|
4585
|
-
backgroundColor: isLight ? palette.base.A0 : colorManipulator_js.alpha(palette.success.A100, 0.1)
|
4586
4565
|
}),
|
4587
4566
|
'& > div.MuiInputBase-root > input.MuiInputBase-input': {
|
4588
4567
|
color: isLight ? palette.textColor.A80 : palette.textColor.A0,
|
@@ -4603,9 +4582,10 @@ var components$6 = {
|
|
4603
4582
|
},
|
4604
4583
|
style: function style(_ref2) {
|
4605
4584
|
var theme = _ref2.theme;
|
4585
|
+
console.log('fill included');
|
4606
4586
|
var isLight = theme.palette.mode === 'light';
|
4607
4587
|
return {
|
4608
|
-
'& .MuiInputBase-root': {
|
4588
|
+
'& > div.MuiInputBase-root': {
|
4609
4589
|
// border: `1px solid ${theme.palette.base[600]}`,
|
4610
4590
|
border: 'transparent',
|
4611
4591
|
background: theme.palette.base[200],
|
@@ -4637,7 +4617,7 @@ var components$6 = {
|
|
4637
4617
|
style: function style(_ref3) {
|
4638
4618
|
var palette = _ref3.theme.palette;
|
4639
4619
|
return {
|
4640
|
-
'& .MuiInputBase-root': {
|
4620
|
+
'& > div.MuiInputBase-root': {
|
4641
4621
|
border: palette.mode === 'light' ? "1px solid " + palette.success.A100 : "1px solid " + palette.success.A40,
|
4642
4622
|
backgroundColor: palette.mode === 'light' ? palette.base.A0 : colorManipulator_js.alpha(palette.success.A100, 0.1)
|
4643
4623
|
}
|
@@ -5084,7 +5064,7 @@ var FormikSelect = function FormikSelect(_ref) {
|
|
5084
5064
|
}, text));
|
5085
5065
|
};
|
5086
5066
|
|
5087
|
-
var _excluded$i = ["title", "helperTextEndAdornment", "helperTextEndAdornmentProps", "titleProps", "helperText", "helperTextIcon", "helperTextProps", "value", "onChange", "valueFormat", "valueFormatOption"
|
5067
|
+
var _excluded$i = ["title", "helperTextEndAdornment", "helperTextEndAdornmentProps", "titleProps", "helperText", "helperTextIcon", "helperTextProps", "value", "onChange", "valueFormat", "valueFormatOption"];
|
5088
5068
|
function _handleHelperColor$1(props, key) {
|
5089
5069
|
var _props$key;
|
5090
5070
|
if (props.error) return 'error.A100';
|
@@ -5107,7 +5087,7 @@ function _handleHelperColor$1(props, key) {
|
|
5107
5087
|
var MuiTextFieldStyled = /*#__PURE__*/styled(MuiTextField, {
|
5108
5088
|
name: 'MuiTextField',
|
5109
5089
|
shouldForwardProp: function shouldForwardProp(prop) {
|
5110
|
-
return !['titleProps', 'helperText', 'helperTextIcon', 'helperTextProps', 'helperTextEndAdornment', 'helperTextEndAdornmentProps', '
|
5090
|
+
return !['fill', 'success', 'titleProps', 'helperText', 'helperTextIcon', 'helperTextProps', 'helperTextEndAdornment', 'helperTextEndAdornmentProps', 'valueFormat', 'valueFormatOption'].includes(prop);
|
5111
5091
|
}
|
5112
5092
|
})(function () {
|
5113
5093
|
return {};
|
@@ -5155,7 +5135,7 @@ var TextField = function TextField(props) {
|
|
5155
5135
|
})), helperText && React__default.createElement(Stack, {
|
5156
5136
|
flexDirection: "row",
|
5157
5137
|
justifyContent: "space-between"
|
5158
|
-
}, React__default.createElement(Typography, Object.assign({}, helperTextProps,
|
5138
|
+
}, React__default.createElement(Typography, Object.assign({}, helperTextProps, {
|
5159
5139
|
variant: 'body3'
|
5160
5140
|
}, {
|
5161
5141
|
color: _handleHelperColor$1(props, 'helperTextProps')
|
@@ -5165,7 +5145,7 @@ var TextField = function TextField(props) {
|
|
5165
5145
|
alignItems: 'center',
|
5166
5146
|
gap: 1
|
5167
5147
|
}
|
5168
|
-
}), helperTextIcon && helperTextIcon, helperText), helperTextEndAdornment && React__default.createElement(Typography, Object.assign({}, helperTextEndAdornmentProps,
|
5148
|
+
}), helperTextIcon && helperTextIcon, helperText), helperTextEndAdornment && React__default.createElement(Typography, Object.assign({}, helperTextEndAdornmentProps, {
|
5169
5149
|
variant: 'body3'
|
5170
5150
|
}, {
|
5171
5151
|
color: _handleHelperColor$1(props, 'helperTextEndAdornmentProps')
|
@@ -5181,11 +5161,11 @@ TextField.defaultProps = {
|
|
5181
5161
|
color: 'textColor.A80'
|
5182
5162
|
},
|
5183
5163
|
helperTextProps: {
|
5184
|
-
variant: '
|
5164
|
+
variant: 'body3',
|
5185
5165
|
color: 'textColor.A60'
|
5186
5166
|
},
|
5187
5167
|
helperTextEndAdornmentProps: {
|
5188
|
-
variant: '
|
5168
|
+
variant: 'body3',
|
5189
5169
|
color: 'textColor.A60'
|
5190
5170
|
}
|
5191
5171
|
};
|