@undp/carbon-library 1.0.293-CARBON-Sprint-54.0 → 1.0.293-CARBON-Sprint-54.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -6713,7 +6713,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6713
6713
|
React.createElement(antd.Radio.Button, { className: companyRoleClassName, value: companyRole },
|
6714
6714
|
companyRole === exports.CompanyRole.CERTIFIER ? (React.createElement(icons.SafetyOutlined, { className: "role-icons" })) : companyRole ===
|
6715
6715
|
exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(icons.ExperimentOutlined, { className: "role-icons" })) : companyRole === exports.CompanyRole.MINISTRY ? (React.createElement(icons.AuditOutlined, { className: "role-icons" })) : (React.createElement(icons.BankOutlined, { className: "role-icons" })),
|
6716
|
-
companyRole))) : (React.createElement(React.Fragment, null,
|
6716
|
+
(companyRole === exports.CompanyRole.PROGRAMME_DEVELOPER) ? "Developer" : companyRole))) : (React.createElement(React.Fragment, null,
|
6717
6717
|
React.createElement("div", { className: "certifier-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
6718
6718
|
exports.CompanyRole.MINISTRY
|
6719
6719
|
? {
|
@@ -6979,7 +6979,7 @@ styleInject(css_248z$u);
|
|
6979
6979
|
var CompanyRoleIcon = function (props) {
|
6980
6980
|
var role = props.role;
|
6981
6981
|
return (React.createElement("div", { style: { display: 'flex', alignItems: 'center' } },
|
6982
|
-
role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : (React.createElement(RoleIcon, { icon: React.createElement(icons.ExperimentOutlined, null), bg: DevBGColor, color: DevColor })),
|
6982
|
+
role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : role === 'ProgrammeDeveloper' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.ExperimentOutlined, null), bg: DevBGColor, color: DevColor })) : React.createElement(RoleIcon, { icon: React.createElement(icons.AuditOutlined, null), bg: MinBGColor, color: MinColor }),
|
6983
6983
|
role === 'ProgrammeDeveloper' ? React.createElement("div", null, 'Developer') : React.createElement("div", null, role)));
|
6984
6984
|
};
|
6985
6985
|
|