@rabex-kit/rabex-ui 0.2.64 → 0.2.66

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.
@@ -265,7 +265,7 @@ var AlertAction = function AlertAction(_ref) {
265
265
  })));
266
266
  };
267
267
 
268
- var _excluded$1 = ["weight", "color", "sx"];
268
+ var _excluded$1 = ["weight", "sx"];
269
269
  var fontWeight = {
270
270
  bold: '700',
271
271
  semiBold: '600',
@@ -289,16 +289,13 @@ var fontWeight = {
289
289
  */
290
290
  var Typography = function Typography(_ref) {
291
291
  var weight = _ref.weight,
292
- color = _ref.color,
293
292
  sx = _ref.sx,
294
293
  props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
295
- var _useTheme = useTheme(),
296
- palette = _useTheme.palette;
294
+ // const { palette } = useTheme();
297
295
  return React__default.createElement(MuiTypography, Object.assign({
298
296
  sx: _extends({}, sx, {
299
297
  fontWeight: weight ? fontWeight[weight] : 'regular'
300
- }),
301
- color: color || palette.textColor[900]
298
+ })
302
299
  }, props));
303
300
  };
304
301
  Typography.defaultProps = {