@tap-payments/auth-jsconnect 2.3.96-test → 2.3.98-test
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.
|
@@ -595,7 +595,8 @@ export var updateIndividualPersonalInfo = createAsyncThunk('individual/updateInd
|
|
|
595
595
|
}
|
|
596
596
|
})), (!isDOBNonEditable && {
|
|
597
597
|
date_of_birth: dob
|
|
598
|
-
})), (
|
|
598
|
+
})), (hasBirth &&
|
|
599
|
+
!(isBirthCityNonEditable && isBirthCountryNonEditable) && {
|
|
599
600
|
birth: {
|
|
600
601
|
city: isBirthCityNonEditable ? undefined : placeOfBirthCity === null || placeOfBirthCity === void 0 ? void 0 : placeOfBirthCity.id,
|
|
601
602
|
country: isBirthCountryNonEditable ? undefined : placeOfBirthCountry === null || placeOfBirthCountry === void 0 ? void 0 : placeOfBirthCountry.iso2
|
|
@@ -28,7 +28,7 @@ var TitleStyled = styled(Text)(function (_a) {
|
|
|
28
28
|
});
|
|
29
29
|
var ChipStyled = styled(Chip, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
|
|
30
30
|
var theme = _a.theme, isAr = _a.isAr;
|
|
31
|
-
return (__assign(__assign({ background: alpha(theme.palette.success.main, 0.1), color: theme.palette.success.main, height: theme.spacing(3.125) }, theme.typography.subtitle2), { '& .MuiChip-icon': {
|
|
31
|
+
return (__assign(__assign({ background: alpha(theme.palette.success.main, 0.1), color: theme.palette.success.main, height: theme.spacing(3.125), boxShadow: theme.shadows[0] }, theme.typography.subtitle2), { '& .MuiChip-icon': {
|
|
32
32
|
marginLeft: isAr ? '-6px' : '5px',
|
|
33
33
|
marginRight: isAr ? '5px' : '-6px'
|
|
34
34
|
} }));
|
|
@@ -14,7 +14,7 @@ import { styled } from '@mui/material/styles';
|
|
|
14
14
|
import Chip from '@mui/material/Chip';
|
|
15
15
|
var ChipStyled = styled(Chip)(function (_a) {
|
|
16
16
|
var theme = _a.theme;
|
|
17
|
-
return (__assign(__assign({ borderRadius: theme.spacing(12.625), padding: theme.spacing(0.25, 0.5, 0.25, 0.5), background: theme.palette.common.white }, theme.typography.caption), { color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightRegular }));
|
|
17
|
+
return (__assign(__assign({ borderRadius: theme.spacing(12.625), padding: theme.spacing(0.25, 0.5, 0.25, 0.5), background: theme.palette.common.white }, theme.typography.caption), { color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightRegular, boxShadow: theme.shadows[2] }));
|
|
18
18
|
});
|
|
19
19
|
export default function CustomChip(props) {
|
|
20
20
|
return _jsx(ChipStyled, __assign({}, props));
|
package/build/theme/shadows.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export var shadows = [
|
|
2
2
|
'none',
|
|
3
3
|
'0 0 0 1px rgb(63 63 68 / 5%), 0 1px 2px 0 rgb(63 63 68 / 15%)',
|
|
4
|
-
'0px
|
|
4
|
+
'0px 0px 2px rgba(0, 0, 0, 0.08)',
|
|
5
5
|
'0px 1px 8px 0px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 3px 3px -2px rgba(0,0,0,0.12)',
|
|
6
6
|
'0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)',
|
|
7
7
|
'0px 3px 5px -1px rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px rgba(0,0,0,0.12)',
|