Skip to content

Commit 56fe47a

Browse files
Fixed code styles
1 parent 26fe4b4 commit 56fe47a

29 files changed

Lines changed: 1529 additions & 1492 deletions

DocuSign.Workspaces/DocuSign.Workspaces/ClientApp/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DocuSign.Workspaces/DocuSign.Workspaces/ClientApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"react-hot-toast": "^2.6.0",
2020
"react-i18next": "^16.3.5",
2121
"react-router-dom": "^7.9.6",
22-
"react-scripts": "5.0.1",
22+
"react-scripts": "^5.0.1",
2323
"sass": "^1.94.2",
2424
"web-vitals": "^2.1.4"
2525
},

DocuSign.Workspaces/DocuSign.Workspaces/ClientApp/src/App.scss

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,36 @@ body.home-page::before {
237237
.nav__link:hover {
238238
color: #e0e0f2;
239239
}
240+
.need_to-row {
241+
margin-top: 32px;
242+
display: flex;
243+
flex-direction: row;
244+
}
245+
.need_to-row__label {
246+
color: #141414;
247+
font-weight: 600;
248+
font-family: 'Inter', sans-serif;
249+
font-size: 14px;
250+
line-height: 150%;
251+
margin-top: 0px;
252+
}
253+
.need_to__link {
254+
background: transparent;
255+
color: #4e2ca0;
256+
line-height: 150%;
257+
font-weight: 600;
258+
font-family: 'Inter', sans-serif;
259+
font-size: 14px;
260+
cursor: pointer;
261+
display: inline-flex;
262+
align-items: center;
263+
gap: 4px;
264+
transition: all 0.1s ease 0s;
265+
margin-left: 16px;
266+
}
267+
.need_to__link:hover {
268+
color: #4909de;
269+
}
240270

241271
.nav__actions {
242272
padding-right: 2rem;
@@ -1482,6 +1512,19 @@ body:not(.home-page) .footer {
14821512
margin-left: 0px;
14831513
margin-right: 0px;
14841514
}
1515+
.need_to-row {
1516+
flex-direction: column;
1517+
margin-top: 24px;
1518+
}
1519+
.need_to-row__label {
1520+
font-size: 12px;
1521+
}
1522+
.need_to__link {
1523+
font-size: 12px;
1524+
1525+
margin-left: 0px;
1526+
margin-top: 8px;
1527+
}
14851528
}
14861529

14871530
@media (max-width: 420px) {

DocuSign.Workspaces/DocuSign.Workspaces/ClientApp/src/components/AgreementRow.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { useTranslation } from 'react-i18next';
32

43
export const AgreementRow = ({ label, checked, onToggle, onPreview }) => {
@@ -20,4 +19,4 @@ export const AgreementRow = ({ label, checked, onToggle, onPreview }) => {
2019
</label>
2120
</div>
2221
);
23-
};
22+
};

DocuSign.Workspaces/DocuSign.Workspaces/ClientApp/src/components/ApiDescription.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react';
1+
import { useState } from 'react';
22
import { useTranslation } from 'react-i18next';
33
import parse from 'html-react-parser';
44
import { Collapse } from 'react-bootstrap';
@@ -9,7 +9,7 @@ import './ApiDescription.scss';
99

1010
export const ApiDescription = ({ requesting }) => {
1111
const { t } = useTranslation();
12-
const [open, setOpen] = React.useState(true);
12+
const [open, setOpen] = useState(true);
1313

1414
if (requesting) {
1515
return <ApiDescriptionSkeleton isBig={open} />;

DocuSign.Workspaces/DocuSign.Workspaces/ClientApp/src/components/ApiDescriptionSkeleton.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import './ApiDescriptionSkeleton.scss';
32

43
export const ApiDescriptionSkeleton = ({ isBig }) => {

DocuSign.Workspaces/DocuSign.Workspaces/ClientApp/src/components/DoctorRow.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from 'react';
2-
31
export const DoctorRow = ({ label, checked, onToggle }) => {
42
return (
53
<div className="doctor-row">

DocuSign.Workspaces/DocuSign.Workspaces/ClientApp/src/components/InputText.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import PropTypes from 'prop-types';
32

43
export const InputText = ({
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { useTranslation } from 'react-i18next';
2+
3+
const NeedToContinue = () => {
4+
const { t } = useTranslation();
5+
return (
6+
<div className="need_to-row">
7+
<div>
8+
<span className="need_to-row__label">{t('NeedToContinue.Text')}</span>
9+
</div>
10+
<div>
11+
<a
12+
className="need_to__link"
13+
href="https://apps-d.docusign.com/workspaces"
14+
target="_blank"
15+
rel="noreferrer"
16+
>
17+
{t('NeedToContinue.Link')}
18+
</a>
19+
</div>
20+
</div>
21+
);
22+
};
23+
24+
export default NeedToContinue;

DocuSign.Workspaces/DocuSign.Workspaces/ClientApp/src/components/Onboarding.js

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
import React, { useState } from 'react';
1+
import { useState } from 'react';
22
import PropTypes from 'prop-types';
33
import { useTranslation } from 'react-i18next';
4-
import { SortIcon } from '../components/SortIcon';
4+
import NeedToContinue from '../components/NeedToContinue';
55

6-
export const Onboarding = ({
7-
request,
8-
onSave,
9-
filesList,
10-
onChange,
11-
requesting = false,
12-
errors = {},
13-
onPrevious,
14-
}) => {
6+
export const Onboarding = ({ onSave, filesList }) => {
157
const { t } = useTranslation();
168
const [submitted, setSubmitted] = useState(false);
179
const [listToSign, setListToSign] = useState(filesList);
@@ -80,6 +72,7 @@ export const Onboarding = ({
8072
</div>
8173
</div>
8274
</form>
75+
<NeedToContinue />
8376
</div>
8477
</div>
8578
);

0 commit comments

Comments
 (0)