From cb60b8f87624c8c88aca326c5a04a99760a15e2a Mon Sep 17 00:00:00 2001 From: Andrey Savihin Date: Wed, 4 Sep 2019 14:10:23 +0300 Subject: [PATCH 01/37] ASC.Web.Components: added tabIndex prop to date-input component --- web/ASC.Web.Components/src/components/date-input/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/ASC.Web.Components/src/components/date-input/index.js b/web/ASC.Web.Components/src/components/date-input/index.js index 5ae9a79ec2..d375e2195f 100644 --- a/web/ASC.Web.Components/src/components/date-input/index.js +++ b/web/ASC.Web.Components/src/components/date-input/index.js @@ -31,6 +31,7 @@ const DateInput = props => { iconColor="#A3A9AE" onIconClick={iconClick} scale={true} + tabIndex={props.tabIndex} /> } {...props} From 13ac1efd97b8debcc3af2a64bd8c781865e9597b Mon Sep 17 00:00:00 2001 From: Andrey Savihin Date: Wed, 4 Sep 2019 14:10:29 +0300 Subject: [PATCH 02/37] web: components: bump version --- web/ASC.Web.Components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/ASC.Web.Components/package.json b/web/ASC.Web.Components/package.json index 775811e77e..739f3af9ca 100644 --- a/web/ASC.Web.Components/package.json +++ b/web/ASC.Web.Components/package.json @@ -1,6 +1,6 @@ { "name": "asc-web-components", - "version": "1.0.35", + "version": "1.0.36", "description": "Ascensio System SIA component library", "license": "AGPL-3.0", "main": "dist/asc-web-components.cjs.js", From 8f7613888622e1273b43534262dacbc3483efaf6 Mon Sep 17 00:00:00 2001 From: Andrey Savihin Date: Wed, 4 Sep 2019 14:12:43 +0300 Subject: [PATCH 03/37] ASC.People: ProfileAction: added tabIndex to components --- .../Section/Body/FormFields/DateField.js | 4 +++- .../Section/Body/FormFields/DepartmentField.js | 2 +- .../Section/Body/FormFields/PasswordField.js | 8 +++++--- .../Section/Body/FormFields/RadioField.js | 2 +- .../Section/Body/FormFields/TextChangeField.js | 6 +++++- .../Section/Body/FormFields/TextField.js | 6 +++++- .../ProfileAction/Section/Body/createUserForm.js | 15 ++++++++++++--- .../ProfileAction/Section/Body/updateUserForm.js | 16 +++++++++++++--- 8 files changed, 45 insertions(+), 14 deletions(-) diff --git a/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/DateField.js b/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/DateField.js index 6eaa17d151..7fd15068d5 100644 --- a/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/DateField.js +++ b/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/DateField.js @@ -10,7 +10,8 @@ const DateField = React.memo((props) => { inputName, inputValue, inputIsDisabled, - inputOnChange + inputOnChange, + inputTabIndex } = props; return ( @@ -25,6 +26,7 @@ const DateField = React.memo((props) => { disabled={inputIsDisabled} onChange={inputOnChange} hasError={hasError} + tabIndex={inputTabIndex} /> ); diff --git a/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/DepartmentField.js b/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/DepartmentField.js index 55ab87f01c..bc0620383a 100644 --- a/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/DepartmentField.js +++ b/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/DepartmentField.js @@ -6,7 +6,7 @@ const DepartmentField = React.memo((props) => { isRequired, hasError, labelText, - + departments, onRemoveDepartment } = props; diff --git a/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/PasswordField.js b/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/PasswordField.js index 91c62c8c29..08c8b59a25 100644 --- a/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/PasswordField.js +++ b/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/PasswordField.js @@ -33,18 +33,19 @@ const PasswordField = React.memo((props) => { isRequired, hasError, labelText, - + radioName, radioValue, radioOptions, radioIsDisabled, radioOnChange, - + inputName, inputValue, inputIsDisabled, inputOnChange, - + inputTabIndex, + inputIconOnClick, inputShowPassword, @@ -80,6 +81,7 @@ const PasswordField = React.memo((props) => { onChange={inputOnChange} scale={true} type={inputShowPassword ? "text" : "password"} + tabIndex={inputTabIndex} /> { isRequired, hasError, labelText, - + radioName, radioValue, radioOptions, diff --git a/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/TextChangeField.js b/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/TextChangeField.js index bcc528cd43..0af98f1951 100644 --- a/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/TextChangeField.js +++ b/products/ASC.People/Client/src/components/pages/ProfileAction/Section/Body/FormFields/TextChangeField.js @@ -16,10 +16,12 @@ const TextChangeField = React.memo((props) => { inputName, inputValue, + inputTabIndex, buttonText, buttonIsDisabled, - buttonOnClick + buttonOnClick, + buttonTabIndex } = props; return ( @@ -34,6 +36,7 @@ const TextChangeField = React.memo((props) => { value={inputValue} isDisabled={true} hasError={hasError} + tabIndex={inputTabIndex} />