forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
174 changed files
with
957 additions
and
718 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -1099,11 +1099,6 @@ const CONST = { | |
USER_CANCELLED: 'User canceled flow.', | ||
USER_TAPPED_BACK: 'User exited by clicking the back button.', | ||
USER_EXITED: 'User exited by manual action.', | ||
USER_CAMERA_DENINED: 'Onfido.OnfidoFlowError', | ||
USER_CAMERA_PERMISSION: 'Encountered an error: cameraPermission', | ||
// eslint-disable-next-line max-len | ||
USER_CAMERA_CONSENT_DENIED: | ||
'Unexpected result Intent. It might be a result of incorrect integration, make sure you only pass Onfido intent to handleActivityResult. It might be due to unpredictable crash or error. Please report the problem to [email protected]. Intent: null \n resultCode: 0', | ||
}, | ||
}, | ||
|
||
|
@@ -2731,17 +2726,125 @@ const CONST = { | |
EXPENSIFY_LOGO_SIZE_RATIO: 0.22, | ||
EXPENSIFY_LOGO_MARGIN_RATIO: 0.03, | ||
}, | ||
/** | ||
* Acceptable values for the `accessibilityRole` prop on react native components. | ||
* | ||
* **IMPORTANT:** Do not use with the `role` prop as it can cause errors. | ||
* | ||
* @deprecated ACCESSIBILITY_ROLE is deprecated. Please use CONST.ROLE instead. | ||
*/ | ||
ACCESSIBILITY_ROLE: { | ||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
BUTTON: 'button', | ||
|
||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
LINK: 'link', | ||
|
||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
MENUITEM: 'menuitem', | ||
TEXT: 'presentation', | ||
|
||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
TEXT: 'text', | ||
|
||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
RADIO: 'radio', | ||
IMAGEBUTTON: 'img button', | ||
|
||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
IMAGEBUTTON: 'imagebutton', | ||
|
||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
CHECKBOX: 'checkbox', | ||
|
||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
SWITCH: 'switch', | ||
|
||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
ADJUSTABLE: 'adjustable', | ||
|
||
/** | ||
* @deprecated Please stop using the accessibilityRole prop and use the role prop instead. | ||
*/ | ||
IMAGE: 'image', | ||
}, | ||
/** | ||
* Acceptable values for the `role` attribute on react native components. | ||
* | ||
* **IMPORTANT:** Not for use with the `accessibilityRole` prop, as it accepts different values, and new components | ||
* should use the `role` prop instead. | ||
*/ | ||
ROLE: { | ||
/** Use for elements with important, time-sensitive information. */ | ||
ALERT: 'alert', | ||
/** Use for elements that act as buttons. */ | ||
BUTTON: 'button', | ||
/** Use for elements representing checkboxes. */ | ||
CHECKBOX: 'checkbox', | ||
/** Use for elements that allow a choice from multiple options. */ | ||
COMBOBOX: 'combobox', | ||
/** Use with scrollable lists to represent a grid layout. */ | ||
GRID: 'grid', | ||
/** Use for section headers or titles. */ | ||
HEADING: 'heading', | ||
/** Use for image elements. */ | ||
IMG: 'img', | ||
/** Use for elements that navigate to other pages or content. */ | ||
LINK: 'link', | ||
/** Use to identify a list of items. */ | ||
LIST: 'list', | ||
/** Use for a list of choices or options. */ | ||
MENU: 'menu', | ||
/** Use for a container of multiple menus. */ | ||
MENUBAR: 'menubar', | ||
/** Use for items within a menu. */ | ||
MENUITEM: 'menuitem', | ||
/** Use when no specific role is needed. */ | ||
NONE: 'none', | ||
/** Use for elements that don't require a specific role. */ | ||
PRESENTATION: 'presentation', | ||
/** Use for elements showing progress of a task. */ | ||
PROGRESSBAR: 'progressbar', | ||
/** Use for radio buttons. */ | ||
RADIO: 'radio', | ||
/** Use for groups of radio buttons. */ | ||
RADIOGROUP: 'radiogroup', | ||
/** Use for scrollbar elements. */ | ||
SCROLLBAR: 'scrollbar', | ||
/** Use for text fields that are used for searching. */ | ||
SEARCHBOX: 'searchbox', | ||
/** Use for adjustable elements like sliders. */ | ||
SLIDER: 'slider', | ||
/** Use for a button that opens a list of choices. */ | ||
SPINBUTTON: 'spinbutton', | ||
/** Use for elements providing a summary of app conditions. */ | ||
SUMMARY: 'summary', | ||
/** Use for on/off switch elements. */ | ||
SWITCH: 'switch', | ||
ADJUSTABLE: 'slider', | ||
IMAGE: 'img', | ||
/** Use for tab elements in a tab list. */ | ||
TAB: 'tab', | ||
/** Use for a list of tabs. */ | ||
TABLIST: 'tablist', | ||
/** Use for timer elements. */ | ||
TIMER: 'timer', | ||
/** Use for toolbars containing action buttons or components. */ | ||
TOOLBAR: 'toolbar', | ||
}, | ||
TRANSLATION_KEYS: { | ||
ATTACHMENT: 'common.attachment', | ||
|
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.