@paro.io/expert-shared-components 1.8.3 → 1.8.4
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.
|
@@ -16,7 +16,7 @@ type ServiceLinesTemplateProps = {
|
|
|
16
16
|
isInternalProfile?: boolean;
|
|
17
17
|
updateFreelancerPreferences?: any;
|
|
18
18
|
getExpertVanityTitles?: any;
|
|
19
|
-
reactAppUrl
|
|
19
|
+
reactAppUrl?: string;
|
|
20
20
|
};
|
|
21
21
|
export declare const ServiceLinesTemplate: ({ getFreelancerDataResult, createOrUpdateRates, getRatesByExpertId, updateExpert, openServiceLinesTemplate, getServiceLines, legacyFreelancerId, expertId, isFirmProfile, serviceLineData, selectedServicesList, isInternalProfile, updateFreelancerPreferences, getExpertVanityTitles, reactAppUrl, }: ServiceLinesTemplateProps) => false | React.JSX.Element | undefined;
|
|
22
22
|
export {};
|
|
@@ -53,8 +53,6 @@ const ServiceLinesTemplate = ({ getFreelancerDataResult, createOrUpdateRates, ge
|
|
|
53
53
|
const [expandedServices, setExpandedServices] = (0, react_1.useState)(new Map());
|
|
54
54
|
const [currentFeatureStatus, setCurrentFeatureStatus] = (0, react_1.useState)({});
|
|
55
55
|
const [disablePublicProfile, setDisablePublicProfile] = (0, react_1.useState)(true);
|
|
56
|
-
const theme = (0, core_1.useTheme)();
|
|
57
|
-
const isSmallScreen = (0, core_1.useMediaQuery)(theme.breakpoints.down('sm'));
|
|
58
56
|
const handleExpandToggle = (serviceTitle) => {
|
|
59
57
|
setExpandedServices(prev => {
|
|
60
58
|
const updatedState = new Map(prev);
|
|
@@ -259,14 +257,14 @@ const ServiceLinesTemplate = ({ getFreelancerDataResult, createOrUpdateRates, ge
|
|
|
259
257
|
react_1.default.createElement(core_1.Grid, { item: true, direction: "column", justifyContent: "flex-start" },
|
|
260
258
|
react_1.default.createElement(core_1.Typography, { variant: "h6", style: { color: '#12756F', fontSize: '18px', fontWeight: 600, fontFamily: "Roboto" } }, "Expand Your Expertise"),
|
|
261
259
|
react_1.default.createElement(core_1.Typography, { variant: "body2", style: { color: '#1C1F2B', fontSize: '12px', fontWeight: 600, fontFamily: "Roboto" } }, "Step 1: Add more services to your profile to stand out")),
|
|
262
|
-
react_1.default.createElement(core_1.Grid, { item: true, style: { backgroundColor: '#0E3435', color: '#ffffff', borderRadius: '20px', padding: '4px 16px' } },
|
|
260
|
+
!isInternalProfile && react_1.default.createElement(core_1.Grid, { item: true, style: { backgroundColor: '#0E3435', color: '#ffffff', borderRadius: '20px', padding: '4px 16px' } },
|
|
263
261
|
react_1.default.createElement(core_1.Typography, { variant: "body2", style: { fontSize: '10px', fontWeight: 600, fontFamily: "Roboto" } },
|
|
264
262
|
"Step ",
|
|
265
263
|
value + 1,
|
|
266
264
|
" of 2"))),
|
|
267
265
|
react_1.default.createElement(core_1.Grid, { container: true, item: true, direction: "column", justifyContent: "center", alignItems: "center" },
|
|
268
266
|
react_1.default.createElement(core_1.Typography, { variant: "subtitle1", style: { textDecoration: 'underline', fontStyle: 'italic', fontSize: '14px', fontWeight: 400, marginTop: '8px', marginBottom: '8px', fontFamily: "Roboto" } }, "Why Add More Services?")),
|
|
269
|
-
react_1.default.createElement(core_1.Grid, { item: true, container: true, direction:
|
|
267
|
+
react_1.default.createElement(core_1.Grid, { item: true, container: true, direction: "row", justifyContent: "space-between", alignItems: "center", style: { margin: 'auto' } },
|
|
270
268
|
react_1.default.createElement(core_1.Box, { display: "flex", flexDirection: "row", alignItems: "center", width: '50%' },
|
|
271
269
|
react_1.default.createElement(icons_1.AdjustRounded, { style: {
|
|
272
270
|
marginRight: 8,
|
|
@@ -318,7 +316,7 @@ const ServiceLinesTemplate = ({ getFreelancerDataResult, createOrUpdateRates, ge
|
|
|
318
316
|
" of 2"))),
|
|
319
317
|
react_1.default.createElement(core_1.Grid, { container: true, item: true, direction: "column", justifyContent: "center", alignItems: "center" },
|
|
320
318
|
react_1.default.createElement(core_1.Typography, { variant: "subtitle1", style: { textDecoration: 'underline', fontStyle: 'italic', fontSize: '14px', fontWeight: 400, marginTop: '16px', marginBottom: '16px', fontFamily: "Roboto" } }, "Why Add a Job Title to Your Profile?")),
|
|
321
|
-
react_1.default.createElement(core_1.Grid, { container: true, item: true, direction:
|
|
319
|
+
react_1.default.createElement(core_1.Grid, { container: true, item: true, direction: "row", justifyContent: "space-between", alignItems: "center", spacing: 1, style: { margin: 'auto' } },
|
|
322
320
|
react_1.default.createElement(core_1.Box, { display: "flex", flexDirection: "row", alignItems: "center", width: '50%' },
|
|
323
321
|
react_1.default.createElement(icons_1.AdjustRounded, { style: {
|
|
324
322
|
marginRight: 8,
|