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/cjs/index.js
CHANGED
|
@@ -3278,7 +3278,6 @@ const ProductCardContainer = styles.styled(material.Box)(({ theme, showIndicator
|
|
|
3278
3278
|
const LogoContainer = styles.styled(material.Box)({
|
|
3279
3279
|
width: '45px',
|
|
3280
3280
|
height: '40px',
|
|
3281
|
-
border: '1.25px solid rgba(0, 0, 0, 0.1)',
|
|
3282
3281
|
borderRadius: '10px',
|
|
3283
3282
|
display: 'flex',
|
|
3284
3283
|
alignItems: 'center',
|
|
@@ -3461,6 +3460,7 @@ const HealthQuestionGroup = ({ question, questionNumber, value, onChange, error,
|
|
|
3461
3460
|
color: 'error.main',
|
|
3462
3461
|
fontSize: '12px',
|
|
3463
3462
|
mt: 0.5,
|
|
3463
|
+
wordSpacing: '-5px',
|
|
3464
3464
|
} }, { children: error })))] })));
|
|
3465
3465
|
};
|
|
3466
3466
|
|
|
@@ -3534,18 +3534,21 @@ const PersonalInformationForm = ({ renderField, fields, consents, onSubmit, form
|
|
|
3534
3534
|
ml: 2,
|
|
3535
3535
|
color: '#5F5E62',
|
|
3536
3536
|
fontSize: '12px',
|
|
3537
|
+
wordSpacing: '-5px',
|
|
3537
3538
|
} }, { 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 ? (jsxRuntime.jsx(FullWidthField$1, { children: jsxRuntime.jsxs(CheckboxContainer$1, { children: [jsxRuntime.jsx(material.FormControlLabel, { control: jsxRuntime.jsx(material.Checkbox, { checked: consents.bank_account_confirmation.checked, onChange: (e) => consents.bank_account_confirmation.onChange(e.target.checked), name: "bank_account_confirmation" }), label: jsxRuntime.jsx(CheckboxLabel$1, { children: consents.bank_account_confirmation.label ||
|
|
3538
3539
|
defaultBankConfirmationLabel }) }), consents.bank_account_confirmation.error && (jsxRuntime.jsx(material.Typography, Object.assign({ sx: {
|
|
3539
3540
|
color: 'error.main',
|
|
3540
3541
|
fontSize: '12px',
|
|
3541
3542
|
mt: 0.5,
|
|
3542
3543
|
ml: 4,
|
|
3544
|
+
wordSpacing: '-5px',
|
|
3543
3545
|
} }, { children: consents.bank_account_confirmation.error })))] }) })) : (jsxRuntime.jsxs(CheckboxContainer$1, { children: [jsxRuntime.jsx(material.FormControlLabel, { control: jsxRuntime.jsx(material.Checkbox, { checked: consents.bank_account_confirmation.checked, onChange: (e) => consents.bank_account_confirmation.onChange(e.target.checked), name: "bank_account_confirmation" }), label: jsxRuntime.jsx(CheckboxLabel$1, { children: consents.bank_account_confirmation.label ||
|
|
3544
3546
|
defaultBankConfirmationLabel }) }), consents.bank_account_confirmation.error && (jsxRuntime.jsx(material.Typography, Object.assign({ sx: {
|
|
3545
3547
|
color: 'error.main',
|
|
3546
3548
|
fontSize: '12px',
|
|
3547
3549
|
mt: 0.5,
|
|
3548
3550
|
ml: 4,
|
|
3551
|
+
wordSpacing: '-5px',
|
|
3549
3552
|
} }, { children: consents.bank_account_confirmation.error })))] })), desktopGridLayout ? (jsxRuntime.jsx(FullWidthField$1, { children: jsxRuntime.jsx(CheckboxContainer$1, { children: jsxRuntime.jsx(material.FormControlLabel, { control: jsxRuntime.jsx(material.Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsxRuntime.jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }) })) : (jsxRuntime.jsx(CheckboxContainer$1, { children: jsxRuntime.jsx(material.FormControlLabel, { control: jsxRuntime.jsx(material.Checkbox, { checked: consents.marketing_consent.checked, onChange: (e) => consents.marketing_consent.onChange(e.target.checked), name: "marketing_consent" }), label: jsxRuntime.jsx(CheckboxLabel$1, { children: consents.marketing_consent.label || defaultMarketingLabel }) }) }))] })) })));
|
|
3550
3553
|
};
|
|
3551
3554
|
|
|
@@ -3759,6 +3762,7 @@ const ChildInformationForm = ({ renderField, fields, onSubmit, formRef, sx, desk
|
|
|
3759
3762
|
ml: 2,
|
|
3760
3763
|
color: '#5F5E62',
|
|
3761
3764
|
fontSize: '12px',
|
|
3765
|
+
wordSpacing: '-5px',
|
|
3762
3766
|
} }, { 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)] }) })));
|
|
3763
3767
|
}
|
|
3764
3768
|
// Mobile layout - single column
|
|
@@ -3768,6 +3772,7 @@ const ChildInformationForm = ({ renderField, fields, onSubmit, formRef, sx, desk
|
|
|
3768
3772
|
ml: 2,
|
|
3769
3773
|
color: '#5F5E62',
|
|
3770
3774
|
fontSize: '12px',
|
|
3775
|
+
wordSpacing: '-5px',
|
|
3771
3776
|
} }, { children: fields.full_name.helperText })))] }), fields.nric && renderField(fields.nric), renderField(fields.date_of_birth), renderField(fields.gender), renderField(fields.nationality)] })) })));
|
|
3772
3777
|
};
|
|
3773
3778
|
|