igloo-d2c-components 1.0.31 → 1.0.32
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/cjs/index.js +6 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +6 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -3258,7 +3258,6 @@ const ProductCardContainer = styled(Box)(({ theme, showIndicator }) => {
|
|
|
3258
3258
|
const LogoContainer = styled(Box)({
|
|
3259
3259
|
width: '45px',
|
|
3260
3260
|
height: '40px',
|
|
3261
|
-
border: '1.25px solid rgba(0, 0, 0, 0.1)',
|
|
3262
3261
|
borderRadius: '10px',
|
|
3263
3262
|
display: 'flex',
|
|
3264
3263
|
alignItems: 'center',
|
|
@@ -3441,6 +3440,7 @@ const HealthQuestionGroup = ({ question, questionNumber, value, onChange, error,
|
|
|
3441
3440
|
color: 'error.main',
|
|
3442
3441
|
fontSize: '12px',
|
|
3443
3442
|
mt: 0.5,
|
|
3443
|
+
wordSpacing: '-5px',
|
|
3444
3444
|
} }, { children: error })))] })));
|
|
3445
3445
|
};
|
|
3446
3446
|
|
|
@@ -3514,18 +3514,21 @@ const PersonalInformationForm = ({ renderField, fields, consents, onSubmit, form
|
|
|
3514
3514
|
ml: 2,
|
|
3515
3515
|
color: '#5F5E62',
|
|
3516
3516
|
fontSize: '12px',
|
|
3517
|
+
wordSpacing: '-5px',
|
|
3517
3518
|
} }, { children: fields.full_name.helperText })))] }), renderField(fields.nric), renderField(fields.date_of_birth), renderField(fields.gender), renderField(fields.salutation), renderField(fields.nationality), renderField(fields.occupation), renderField(fields.industry), renderField(fields.crediting_bank_name), renderField(fields.crediting_bank_account_number), desktopGridLayout ? (jsx(FullWidthField$1, { children: jsxs(CheckboxContainer$1, { children: [jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.bank_account_confirmation.checked, onChange: (e) => consents.bank_account_confirmation.onChange(e.target.checked), name: "bank_account_confirmation" }), label: jsx(CheckboxLabel$1, { children: consents.bank_account_confirmation.label ||
|
|
3518
3519
|
defaultBankConfirmationLabel }) }), consents.bank_account_confirmation.error && (jsx(Typography, Object.assign({ sx: {
|
|
3519
3520
|
color: 'error.main',
|
|
3520
3521
|
fontSize: '12px',
|
|
3521
3522
|
mt: 0.5,
|
|
3522
3523
|
ml: 4,
|
|
3524
|
+
wordSpacing: '-5px',
|
|
3523
3525
|
} }, { children: consents.bank_account_confirmation.error })))] }) })) : (jsxs(CheckboxContainer$1, { children: [jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.bank_account_confirmation.checked, onChange: (e) => consents.bank_account_confirmation.onChange(e.target.checked), name: "bank_account_confirmation" }), label: jsx(CheckboxLabel$1, { children: consents.bank_account_confirmation.label ||
|
|
3524
3526
|
defaultBankConfirmationLabel }) }), consents.bank_account_confirmation.error && (jsx(Typography, Object.assign({ sx: {
|
|
3525
3527
|
color: 'error.main',
|
|
3526
3528
|
fontSize: '12px',
|
|
3527
3529
|
mt: 0.5,
|
|
3528
3530
|
ml: 4,
|
|
3531
|
+
wordSpacing: '-5px',
|
|
3529
3532
|
} }, { children: consents.bank_account_confirmation.error })))] })), desktopGridLayout ? (jsx(FullWidthField$1, { children: jsx(CheckboxContainer$1, { children: jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }) })) : (jsx(CheckboxContainer$1, { children: jsx(FormControlLabel, { control: jsx(Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }))] })) })));
|
|
3530
3533
|
};
|
|
3531
3534
|
|
|
@@ -3739,6 +3742,7 @@ const ChildInformationForm = ({ renderField, fields, onSubmit, formRef, sx, desk
|
|
|
3739
3742
|
ml: 2,
|
|
3740
3743
|
color: '#5F5E62',
|
|
3741
3744
|
fontSize: '12px',
|
|
3745
|
+
wordSpacing: '-5px',
|
|
3742
3746
|
} }, { children: fields.full_name.helperText })))] }), fields.nric ? renderField(fields.nric) : renderField(fields.date_of_birth), fields.nric && renderField(fields.date_of_birth), renderField(fields.gender), renderField(fields.nationality)] }) })));
|
|
3743
3747
|
}
|
|
3744
3748
|
// Mobile layout - single column
|
|
@@ -3748,6 +3752,7 @@ const ChildInformationForm = ({ renderField, fields, onSubmit, formRef, sx, desk
|
|
|
3748
3752
|
ml: 2,
|
|
3749
3753
|
color: '#5F5E62',
|
|
3750
3754
|
fontSize: '12px',
|
|
3755
|
+
wordSpacing: '-5px',
|
|
3751
3756
|
} }, { children: fields.full_name.helperText })))] }), fields.nric && renderField(fields.nric), renderField(fields.date_of_birth), renderField(fields.gender), renderField(fields.nationality)] })) })));
|
|
3752
3757
|
};
|
|
3753
3758
|
|