@am92/react-design-system 2.5.8 → 2.5.10

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.
@@ -50,15 +50,18 @@ export class DsTextArea extends PureComponent {
50
50
  }
51
51
  return (_jsxs(DsFormControl, { fullWidth: fullWidth, children: [_jsx(DsTextField, { maxRows: 3, minRows: 3, ...rest, fullWidth: fullWidth, onChange: this.handleChange, multiline: true, inputProps: {
52
52
  ref: ref || this.areRef,
53
+ ...inputProps,
53
54
  sx: {
54
55
  minWidth: '288px',
55
- ...inputProps?.sx,
56
- ...maxLengthHandlingInputStyle
56
+ ...maxLengthHandlingInputStyle,
57
+ ...inputProps?.sx
57
58
  },
58
- ...inputProps,
59
59
  maxLength: maxLength || ''
60
60
  }, helperText: helperText,
61
61
  // TODO: To be fixed when we fix the sx passing to inputbase
62
- style: { paddingBottom: 'var(--ds-spacing-mild)' } }), hasMaxLength && !hideCharacterCount && (_jsx(DsTypography, { sx: counterStyle, variant: "supportRegularFootnote", children: `${count}/${maxLength}` }))] }));
62
+ style: {
63
+ paddingBottom: 'var(--ds-spacing-mild)',
64
+ ...rest?.style
65
+ } }), hasMaxLength && !hideCharacterCount && (_jsx(DsTypography, { sx: counterStyle, variant: "supportRegularFootnote", children: `${count}/${maxLength}` }))] }));
63
66
  }
64
67
  }
@@ -41,22 +41,22 @@ export const DsToastOverrides = {
41
41
  color: 'var(--ds-colour-typoOnSurfaceDynamic)'
42
42
  },
43
43
  filledSuccess: {
44
- color: 'var(--ds-colour-typoOnSurface)',
44
+ color: 'var(--ds-colour-typoOnSurfaceDynamic)',
45
45
  borderColor: 'var(--ds-colour-supportPositive)',
46
46
  backgroundColor: 'var(--ds-colour-supportPositive)'
47
47
  },
48
48
  filledInfo: {
49
- color: 'var(--ds-colour-typoOnSurface)',
49
+ color: 'var(--ds-colour-typoOnSurfaceDynamic)',
50
50
  borderColor: 'var(--ds-colour-supportTypical)',
51
51
  backgroundColor: 'var(--ds-colour-supportTypical)'
52
52
  },
53
53
  filledWarning: {
54
- color: 'var(--ds-colour-typoOnSurface)',
54
+ color: 'var(--ds-colour-typoOnSurfaceDynamic)',
55
55
  borderColor: 'var(--ds-colour-supportWarning)',
56
56
  backgroundColor: 'var(--ds-colour-supportWarning)'
57
57
  },
58
58
  filledError: {
59
- color: 'var(--ds-colour-typoOnSurface)',
59
+ color: 'var(--ds-colour-typoOnSurfaceDynamic)',
60
60
  borderColor: 'var(--ds-colour-supportNegative)',
61
61
  backgroundColor: 'var(--ds-colour-supportNegative)'
62
62
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@am92/react-design-system",
3
- "version": "2.5.8",
3
+ "version": "2.5.10",
4
4
  "description": "ReactJS Design System using Material UI",
5
5
  "sideEffects": false,
6
6
  "types": "dist/index.d.ts",