-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #619 from etn-ccis/bug/5975-Fix-React-workflow-issue
SX Style overrides do not work on full screens
- Loading branch information
Showing
23 changed files
with
141 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2713,14 +2713,23 @@ | |
dependencies: | ||
"@types/react" "*" | ||
|
||
"@types/react@*", "@types/react@^18.3.3": | ||
"@types/react@*": | ||
version "18.3.3" | ||
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.3.tgz#9679020895318b0915d7a3ab004d92d33375c45f" | ||
integrity sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw== | ||
dependencies: | ||
"@types/prop-types" "*" | ||
csstype "^3.0.2" | ||
|
||
"@types/[email protected]": | ||
version "18.2.39" | ||
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.39.tgz#744bee99e053ad61fe74eb8b897f3ab5b19a7e25" | ||
integrity sha512-Oiw+ppED6IremMInLV4HXGbfbG6GyziY3kqAwJYOR0PNbkYDmLWQA3a95EhdSmamsvbkJN96ZNN+YD+fGjzSBA== | ||
dependencies: | ||
"@types/prop-types" "*" | ||
"@types/scheduler" "*" | ||
csstype "^3.0.2" | ||
|
||
"@types/[email protected]": | ||
version "1.17.1" | ||
resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" | ||
|
@@ -2733,6 +2742,11 @@ | |
resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" | ||
integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== | ||
|
||
"@types/scheduler@*": | ||
version "0.23.0" | ||
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.23.0.tgz#0a6655b3e2708eaabca00b7372fafd7a792a7b09" | ||
integrity sha512-YIoDCTH3Af6XM5VuwGG/QL/CJqga1Zm3NkU3HZ4ZHK2fRMPYP1VczsTUqtsf43PH/iJNVlPHAo2oWX7BSdB2Hw== | ||
|
||
"@types/semver@^7.3.12", "@types/semver@^7.3.13": | ||
version "7.5.0" | ||
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.0.tgz#591c1ce3a702c45ee15f47a42ade72c2fd78978a" | ||
|
@@ -9073,7 +9087,7 @@ react-transition-group@^4.4.5: | |
loose-envify "^1.4.0" | ||
prop-types "^15.6.2" | ||
|
||
react@^18.3.1: | ||
react@^18.2.0: | ||
version "18.3.1" | ||
resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" | ||
integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 53 additions & 54 deletions
107
login-workflow/src/screens/AccountDetailsScreen/types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,56 @@ | ||
import { BoxProps, TextFieldProps } from '@mui/material'; | ||
import { TextFieldProps } from '@mui/material'; | ||
import { WorkflowCardProps } from '../../components/WorkflowCard/WorkflowCard.types'; | ||
import { ErrorManagerProps } from '../../components/Error/types'; | ||
|
||
export type AccountDetailsScreenProps = WorkflowCardProps & | ||
BoxProps & { | ||
/** | ||
* The label for the first name text field | ||
*/ | ||
firstNameLabel?: string; | ||
|
||
/** | ||
* The initial value for the first name text field | ||
*/ | ||
initialFirstName?: string; | ||
|
||
/** | ||
* The function that validates the first name text field | ||
* @param {string} firstName - validates first name input length | ||
* @returns boolean | string | ||
*/ | ||
firstNameValidator?: (firstName: string) => boolean | string; | ||
|
||
/** | ||
* The props to pass to the first name field. | ||
* See [MUI's TextFieldProps API](https://mui.com/material-ui/api/text-field/) for more details. | ||
*/ | ||
firstNameTextFieldProps?: TextFieldProps; | ||
|
||
/** | ||
* The label for the last name text field | ||
*/ | ||
lastNameLabel?: string; | ||
|
||
/** | ||
* The initial value for the last name text field | ||
*/ | ||
initialLastName?: string; | ||
|
||
/** | ||
* The function that validates the last name text field | ||
* @param {string} lastName - validates last name input length | ||
* @returns boolean | string | ||
*/ | ||
lastNameValidator?: (lastName: string) => boolean | string; | ||
|
||
/** | ||
* The props to pass to the last name field. | ||
* See [MUI's TextFieldProps API](https://mui.com/material-ui/api/text-field/) for more details. | ||
*/ | ||
lastNameTextFieldProps?: TextFieldProps; | ||
|
||
/** | ||
* The configuration for customizing how errors are displayed | ||
*/ | ||
errorDisplayConfig?: ErrorManagerProps; | ||
}; | ||
export type AccountDetailsScreenProps = WorkflowCardProps & { | ||
/** | ||
* The label for the first name text field | ||
*/ | ||
firstNameLabel?: string; | ||
|
||
/** | ||
* The initial value for the first name text field | ||
*/ | ||
initialFirstName?: string; | ||
|
||
/** | ||
* The function that validates the first name text field | ||
* @param {string} firstName - validates first name input length | ||
* @returns boolean | string | ||
*/ | ||
firstNameValidator?: (firstName: string) => boolean | string; | ||
|
||
/** | ||
* The props to pass to the first name field. | ||
* See [MUI's TextFieldProps API](https://mui.com/material-ui/api/text-field/) for more details. | ||
*/ | ||
firstNameTextFieldProps?: TextFieldProps; | ||
|
||
/** | ||
* The label for the last name text field | ||
*/ | ||
lastNameLabel?: string; | ||
|
||
/** | ||
* The initial value for the last name text field | ||
*/ | ||
initialLastName?: string; | ||
|
||
/** | ||
* The function that validates the last name text field | ||
* @param {string} lastName - validates last name input length | ||
* @returns boolean | string | ||
*/ | ||
lastNameValidator?: (lastName: string) => boolean | string; | ||
|
||
/** | ||
* The props to pass to the last name field. | ||
* See [MUI's TextFieldProps API](https://mui.com/material-ui/api/text-field/) for more details. | ||
*/ | ||
lastNameTextFieldProps?: TextFieldProps; | ||
|
||
/** | ||
* The configuration for customizing how errors are displayed | ||
*/ | ||
errorDisplayConfig?: ErrorManagerProps; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.