@rabex-kit/rabex-ui 0.1.27 → 0.1.29

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.
@@ -1317,7 +1317,8 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1317
1317
  value = _ref2.value,
1318
1318
  onChange = _ref2.onChange,
1319
1319
  valueFormat = _ref2.valueFormat,
1320
- valueFormatOption = _ref2.valueFormatOption;
1320
+ valueFormatOption = _ref2.valueFormatOption,
1321
+ fullWidth = _ref2.fullWidth;
1321
1322
  if (!valueFormat && !!valueFormatOption) {
1322
1323
  console.warn("'valueFormatOption' Only Work With known 'valueFormat's...");
1323
1324
  }
@@ -1339,7 +1340,8 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1339
1340
  };
1340
1341
  return React.createElement(Stack, {
1341
1342
  flexDirection: "column",
1342
- gap: props.size === 'sm' ? 1 : 2
1343
+ gap: props.size === 'sm' ? 1 : 2,
1344
+ width: fullWidth ? '100%' : 'unset'
1343
1345
  }, title && React.createElement(Typography, Object.assign({
1344
1346
  color: mode === 'light' ? 'textColor.A80' : 'textColor.A30'
1345
1347
  }, titleProps), title), React.createElement(MuiInputStyled, Object.assign({
@@ -2490,7 +2492,8 @@ var components = {
2490
2492
  var palette = _ref2.theme.palette,
2491
2493
  ownerState = _ref2.ownerState;
2492
2494
  var color = (ownerState === null || ownerState === void 0 ? void 0 : ownerState.color) || 'primary';
2493
- var primaryColor = palette.primary[500] || palette[color].A100;
2495
+ // const primaryColor = palette.primary[500] || palette[color].A100;
2496
+ var primaryColor = palette[color][400] || palette.primary[500];
2494
2497
  var textColor = palette.textColor[50] || palette[color].A0;
2495
2498
  var disableBackgroundColor = palette.primary[400] || palette[color].A60;
2496
2499
  return {