@rabex-kit/rabex-ui 0.1.26 → 0.1.28

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.
@@ -1322,7 +1322,8 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
1322
1322
  value = _ref2.value,
1323
1323
  onChange = _ref2.onChange,
1324
1324
  valueFormat = _ref2.valueFormat,
1325
- valueFormatOption = _ref2.valueFormatOption;
1325
+ valueFormatOption = _ref2.valueFormatOption,
1326
+ fullWidth = _ref2.fullWidth;
1326
1327
  if (!valueFormat && !!valueFormatOption) {
1327
1328
  console.warn("'valueFormatOption' Only Work With known 'valueFormat's...");
1328
1329
  }
@@ -1344,7 +1345,8 @@ var Input = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
1344
1345
  };
1345
1346
  return React__default.createElement(Stack, {
1346
1347
  flexDirection: "column",
1347
- gap: props.size === 'sm' ? 1 : 2
1348
+ gap: props.size === 'sm' ? 1 : 2,
1349
+ width: fullWidth ? '100%' : 'unset'
1348
1350
  }, title && React__default.createElement(Typography, Object.assign({
1349
1351
  color: mode === 'light' ? 'textColor.A80' : 'textColor.A30'
1350
1352
  }, titleProps), title), React__default.createElement(MuiInputStyled, Object.assign({
@@ -2274,10 +2276,7 @@ var TabPanel = function TabPanel(_ref) {
2274
2276
  * @returns
2275
2277
  */
2276
2278
  var Tabs = /*#__PURE__*/styled(MuiTabs, {
2277
- name: 'MuiTabs',
2278
- shouldForwardProp: function shouldForwardProp(prop) {
2279
- return !['hasBorder', 'isSeprate', 'size', 'mode'].includes(prop);
2280
- }
2279
+ name: 'MuiTabs'
2281
2280
  })(function () {
2282
2281
  return {};
2283
2282
  });
@@ -3151,17 +3150,26 @@ var RabexTabs = {
3151
3150
  },
3152
3151
  backgroundColor: theme.palette.mode === 'light' ? theme.palette.secondary.A100 : theme.palette.secondary.A100
3153
3152
  }, ownerState.size === 'sm' && {
3153
+ '& .MuiTabs-fixed': {
3154
+ padding: theme.spacing(1, 2),
3155
+ marginBottom: theme.spacing(2)
3156
+ },
3154
3157
  height: theme.spacing(8),
3155
- borderRadius: theme.spacing(2),
3156
- padding: theme.spacing(1, 4)
3158
+ borderRadius: theme.spacing(2)
3157
3159
  }, ownerState.size === 'md' && {
3158
- height: theme.spacing(12),
3159
- borderRadius: theme.spacing(3),
3160
- padding: theme.spacing(2, 3)
3160
+ '& .MuiTabs-fixed': {
3161
+ padding: theme.spacing(2, 4),
3162
+ marginBottom: theme.spacing(2)
3163
+ },
3164
+ height: theme.spacing(10),
3165
+ borderRadius: theme.spacing(2)
3161
3166
  }, ownerState.size === 'lg' && {
3162
- height: theme.spacing(14),
3163
- borderRadius: theme.spacing(3),
3164
- padding: theme.spacing(3, 4)
3167
+ '& .MuiTabs-fixed': {
3168
+ padding: theme.spacing(3, 4),
3169
+ marginBottom: theme.spacing(3)
3170
+ },
3171
+ height: theme.spacing(12),
3172
+ borderRadius: theme.spacing(3)
3165
3173
  }, ownerState.mode === 'underline' && {
3166
3174
  '& .MuiTab-root.Mui-selected': {
3167
3175
  borderRadius: 4,
@@ -3189,8 +3197,11 @@ var RabexTabs = {
3189
3197
  }
3190
3198
  });
3191
3199
  },
3192
- indicator: {
3193
- display: 'show'
3200
+ indicator: function indicator(_ref2) {
3201
+ var ownerState = _ref2.ownerState;
3202
+ return {
3203
+ display: ownerState.mode === 'underline' ? 'show' : 'none'
3204
+ };
3194
3205
  }
3195
3206
  },
3196
3207
  variants: []