@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.
- package/dist/Components/DsBottomNavigationAction/DsBottomNavigationAction.Overrides.js +14 -4
- package/dist/Components/DsFormHelperText/DsFormHelperText.Overrides.d.ts +1 -0
- package/dist/Components/DsFormHelperText/DsFormHelperText.Overrides.js +2 -0
- package/dist/Components/DsHelperText/DsHelperText.Overrides.d.ts +1 -5
- package/dist/Components/DsHelperText/DsHelperText.Overrides.js +1 -6
- package/dist/Components/DsLink/DsLink.Overrides.d.ts +5 -0
- package/dist/Components/DsLink/DsLink.Overrides.js +5 -0
- package/dist/Components/DsRadio/DsRadio.Component.js +1 -1
- package/dist/Components/DsStepConnector/DsStepConnector.Overrides.js +2 -1
- package/dist/Components/DsTab/DsTab.Overrides.js +6 -0
- package/dist/Components/DsTabs/DsTabs.Overrides.d.ts +1 -0
- package/dist/Components/DsTabs/DsTabs.Overrides.js +2 -1
- package/dist/Components/DsToast/DsToast.Overrides.js +1 -1
- package/dist/Theme/componentOverrides.d.ts +9 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
20
|
-
|
|
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
|
-
|
|
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
|
}
|
|
@@ -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 = { ...
|
|
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
|
}
|
|
@@ -36,7 +36,7 @@ export const DsToastOverrides = {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
filledDefault: {
|
|
39
|
-
borderColor: 'var(--ds-colour-
|
|
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: {
|