@am92/react-design-system 2.8.1 → 2.8.2

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.
@@ -6,7 +6,6 @@ export const DsBottomNavigationActionOverrides = {
6
6
  root: {
7
7
  marginLeft: 'var(--ds-spacing-quickFreeze)',
8
8
  marginRight: 'var(--ds-spacing-quickFreeze)',
9
- borderTopWidth: '2px',
10
9
  borderTopStyle: 'solid',
11
10
  borderTopColor: 'transparent',
12
11
  padding: 'var(--ds-spacing-zero)',
@@ -16,8 +15,16 @@ export const DsBottomNavigationActionOverrides = {
16
15
  paddingTop: 'var(--ds-spacing-glacial)'
17
16
  },
18
17
  '&.Mui-selected': {
19
- borderTopColor: 'var(--ds-colour-actionSecondary)',
20
- color: 'var(--ds-colour-actionSecondary)'
18
+ color: 'var(--ds-colour-actionSecondary)',
19
+ // adding this for the inverse curve at top
20
+ '&::before': {
21
+ content: '""',
22
+ position: 'absolute',
23
+ width: '100%',
24
+ height: '2px',
25
+ backgroundColor: 'var(--ds-colour-actionSecondary)',
26
+ borderRadius: '0 0 2px 2px',
27
+ }
21
28
  }
22
29
  },
23
30
  label: {
@@ -28,7 +35,10 @@ export const DsBottomNavigationActionOverrides = {
28
35
  color: 'var(--ds-colour-typoDisabled)',
29
36
  paddingBottom: 'var(--ds-spacing-quickFreeze)',
30
37
  '&.Mui-selected': {
31
- fontSize: 'var(--ds-typo-bodyRegularSmall-fontSize)',
38
+ fontWeight: 'var(--ds-typo-bodyBoldMedium-fontWeight)',
39
+ fontSize: 'var(--ds-typo-bodyBoldMedium-fontSize)',
40
+ lineHeight: 'var(--ds-typo-bodyBoldMedium-lineHeight)',
41
+ letterSpacing: 'var(--ds-typo-bodyBoldMedium-letterSpacing)',
32
42
  color: 'var(--ds-colour-actionSecondary)'
33
43
  }
34
44
  }
@@ -1,6 +1,7 @@
1
1
  import { CSSInterpolation } from '@mui/system';
2
2
  export declare const DsFormHelperTextOverrides: {
3
3
  MuiFormHelperText: {
4
+ defaultProps: import("../DsHelperText").DsHelperTextProps;
4
5
  styleOverrides: {
5
6
  root: CSSInterpolation;
6
7
  };
@@ -1,5 +1,7 @@
1
+ import { DsHelperTextDefaultProps } from '../DsHelperText';
1
2
  export const DsFormHelperTextOverrides = {
2
3
  MuiFormHelperText: {
4
+ defaultProps: DsHelperTextDefaultProps,
3
5
  styleOverrides: {
4
6
  root: {
5
7
  textTransform: 'none',
@@ -1,5 +1 @@
1
- export declare const DsHelperTextOverrides: {
2
- MuiFormHelperText: {
3
- defaultProps: import("./DsHelperText.Types").DsHelperTextProps;
4
- };
5
- };
1
+ export declare const DsHelperTextOverrides: {};
@@ -1,6 +1 @@
1
- import { DsHelperTextDefaultProps } from "./DsHelperText.Types";
2
- export const DsHelperTextOverrides = {
3
- MuiFormHelperText: {
4
- defaultProps: DsHelperTextDefaultProps
5
- }
6
- };
1
+ export const DsHelperTextOverrides = {};
@@ -11,7 +11,12 @@ export declare const DsLinkOverrides: {
11
11
  textDecorationColor: string;
12
12
  };
13
13
  '&:active': {
14
+ fontWeight: string;
15
+ fontSize: string;
16
+ lineHeight: string;
17
+ letterSpacing: string;
14
18
  color: string;
19
+ textDecoration: string;
15
20
  textDecorationColor: string;
16
21
  };
17
22
  '&:disabled': {
@@ -12,7 +12,12 @@ export const DsLinkOverrides = {
12
12
  textDecorationColor: 'var(--ds-colour-stateSelectedVisitedTextLink)'
13
13
  },
14
14
  '&:active': {
15
+ fontWeight: 'var(--ds-typo-bodyBoldSmall-fontWeight)',
16
+ fontSize: 'var(--ds-typo-bodyBoldSmall-fontSize)',
17
+ lineHeight: 'var(--ds-typo-bodyBoldSmall-lineHeight)',
18
+ letterSpacing: 'var(--ds-typo-bodyBoldSmall-letterSpacing)',
15
19
  color: 'var(--ds-colour-typoActionPrimary)',
20
+ textDecoration: 'underline',
16
21
  textDecorationColor: 'var(--ds-colour-typoActionPrimary)'
17
22
  },
18
23
  '&:disabled': {
@@ -4,7 +4,7 @@ import { DsRadioDefaultProps } from './DsRadio.Types';
4
4
  import { DsFormControlLabel } from '../DsFormControlLabel';
5
5
  import { DsRemixIcon } from '../DsRemixIcon';
6
6
  export const DsRadio = (inProps) => {
7
- const props = { ...inProps, ...DsRadioDefaultProps };
7
+ const props = { ...DsRadioDefaultProps, ...inProps };
8
8
  const { disabled, RadioProps, ...restProps } = props;
9
9
  return (_jsx(DsFormControlLabel, { ...restProps, disabled: disabled, control: _jsx(Radio, { icon: _jsx(DsRemixIcon, { className: "ri-checkbox-blank-circle-line", sx: { fontSize: 'var(--ds-typo-fontSizeBitterCold)' } }), checkedIcon: _jsx(DsRemixIcon, { className: "ri-radio-button-line", sx: { fontSize: 'var(--ds-typo-fontSizeBitterCold)' } }), color: "secondary", ...RadioProps, disabled: disabled }) }));
10
10
  };
@@ -9,7 +9,8 @@ export const DsStepConnectorOverrides = {
9
9
  borderLeftWidth: '2px',
10
10
  borderLeftStyle: 'solid',
11
11
  borderLeftColor: 'var(--ds-colour-strokeDefault)',
12
- minHeight: 'var(--ds-rules-stepperConnectorMinHeight)'
12
+ minHeight: 'var(--ds-rules-stepperConnectorMinHeight)',
13
+ marginLeft: '15px'
13
14
  },
14
15
  lineHorizontal: {
15
16
  borderTopWidth: '2px',
@@ -18,6 +18,12 @@ export const DsTabOverrides = {
18
18
  '> .MuiTab-iconWrapper': {
19
19
  fontSize: 'var(--ds-typo-fontSizeFrostbite)',
20
20
  margin: 'var(--ds-spacing-zero)'
21
+ },
22
+ '&.Mui-selected': {
23
+ fontWeight: 'var(--ds-typo-bodyBoldMedium-fontWeight)',
24
+ fontSize: 'var(--ds-typo-bodyBoldMedium-fontSize)',
25
+ lineHeight: 'var(--ds-typo-bodyBoldMedium-lineHeight)',
26
+ letterSpacing: 'var(--ds-typo-bodyBoldMedium-letterSpacing)',
21
27
  }
22
28
  }
23
29
  }
@@ -11,6 +11,7 @@ export declare const DsTabsOverrides: {
11
11
  root: CSSInterpolation;
12
12
  indicator: {
13
13
  height: string;
14
+ borderRadius: string;
14
15
  };
15
16
  };
16
17
  };
@@ -44,7 +44,8 @@ export const DsTabsOverrides = {
44
44
  minHeight: '36px'
45
45
  },
46
46
  indicator: {
47
- height: '1px'
47
+ height: '2px',
48
+ borderRadius: '2px 2px 0px 0px'
48
49
  }
49
50
  }
50
51
  }
@@ -36,7 +36,7 @@ export const DsToastOverrides = {
36
36
  }
37
37
  },
38
38
  filledDefault: {
39
- borderColor: 'var(--ds-colour-strokeDefault)',
39
+ borderColor: 'var(--ds-colour-strokeActive)',
40
40
  backgroundColor: 'var(--ds-colour-surfaceTertiary)',
41
41
  color: 'var(--ds-colour-typoOnSurfaceDynamic)'
42
42
  },
@@ -493,6 +493,7 @@ declare const componentOverrides: {
493
493
  root: import("@mui/system").CSSInterpolation;
494
494
  indicator: {
495
495
  height: string;
496
+ borderRadius: string;
496
497
  };
497
498
  };
498
499
  };
@@ -773,7 +774,12 @@ declare const componentOverrides: {
773
774
  textDecorationColor: string;
774
775
  };
775
776
  '&:active': {
777
+ fontWeight: string;
778
+ fontSize: string;
779
+ lineHeight: string;
780
+ letterSpacing: string;
776
781
  color: string;
782
+ textDecoration: string;
777
783
  textDecorationColor: string;
778
784
  };
779
785
  '&:disabled': {
@@ -984,6 +990,9 @@ declare const componentOverrides: {
984
990
  };
985
991
  MuiFormHelperText: {
986
992
  defaultProps: import("../Components").DsHelperTextProps;
993
+ styleOverrides: {
994
+ root: import("@mui/system").CSSInterpolation;
995
+ };
987
996
  };
988
997
  MuiFormControlLabel: {
989
998
  styleOverrides: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@am92/react-design-system",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "ReactJS Design System using Material UI",
5
5
  "sideEffects": false,
6
6
  "types": "dist/index.d.ts",