@zohodesk/dot 1.0.0-temp-170 → 1.0.0-temp-171
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.
- package/.cli/PropLessFiles.html +1 -1
- package/.cli/PropUnificationExcludeFilesArray.js +344 -344
- package/.cli/PropValidationExcludeFilesArray.js +8 -8
- package/.cli/propValidation_report.html +1 -1
- package/README.md +1423 -1413
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -16
- package/coverage/coverage-summary.json +16 -16
- package/coverage/index.html +1 -1
- package/css_error.log +1 -1
- package/es/ActionButton/ActionButton.js +10 -1
- package/es/ActionButton/ActionButton.module.css +146 -146
- package/es/ActionButton/props/propTypes.js +2 -1
- package/es/AlphabeticList/AlphabeticList.module.css +59 -59
- package/es/Attachment/Attachment.module.css +165 -163
- package/es/AttachmentViewer/AttachmentViewer.module.css +354 -354
- package/es/ChannelIcon/ChannelIcon.module.css +221 -221
- package/es/Drawer/Drawer.js +3 -6
- package/es/Drawer/Drawer.module.css +190 -190
- package/es/ExternalLink/ExternalLink.js +0 -0
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/FlipCard/FlipCard.module.css +44 -44
- package/es/FormAction/FormAction.module.css +84 -84
- package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
- package/es/Hooks/Dragger/css/Dragger.module.css +2 -2
- package/es/IconButton/IconButton.module.css +23 -23
- package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
- package/es/Image/Image.module.css +11 -11
- package/es/Image/__tests__/__snapshots__/Image.spec.js.snap +74 -74
- package/es/ImportantNotes/ImportantNotes.module.css +24 -20
- package/es/Link/Link.js +1 -2
- package/es/Link/Link.module.css +3 -3
- package/es/Loader/Loader.module.css +47 -47
- package/es/Message/Message.module.css +102 -102
- package/es/MessageBanner/MessageBanner.module.css +46 -46
- package/es/NewStar/NewStar.module.css +183 -183
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/PlusIcon/PlusIcon.module.css +18 -18
- package/es/Separator/Separator.module.css +34 -34
- package/es/TagWithIcon/TagWithIcon.module.css +69 -69
- package/es/ToastMessage/ToastMessage.js +0 -0
- package/es/ToastMessage/ToastMessage.module.css +329 -328
- package/es/Upload/Upload.module.css +125 -125
- package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +64 -64
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -1
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/es/avatar/AvatarUser/AvatarUser.js +0 -0
- package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/es/common/dot_animation.module.css +26 -26
- package/es/common/dot_boxShadow.module.css +37 -37
- package/es/common/dot_common.module.css +3 -3
- package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +59 -56
- package/es/deprecated/utils/KeyboardApi.js +25 -25
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -89
- package/es/emptystate/EditionPage/EditionPage.css +43 -43
- package/es/errorstate/EmptyStates.module.css +87 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/es/errorstate/LinkText/LinkText.module.css +6 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +34 -34
- package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/es/form/fields/Fields.module.css +183 -183
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/es/form/fields/TextEditor/TextEditor.module.css +770 -770
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +28 -28
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Field/Field.module.css +22 -22
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/es/form/layout/Section/Section.js +0 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/es/layout/SubtabLayout/SubtabLayout.module.css +166 -166
- package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/es/list/Comment/Comment.module.css +30 -30
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/es/list/Dot/Dot.module.css +16 -16
- package/es/list/DotNew/DotNew.module.css +24 -24
- package/es/list/GridStencils/GridStencils.module.css +146 -146
- package/es/list/Icons/Icons.module.css +16 -16
- package/es/list/ListLayout/ListLayout.js +1 -1
- package/es/list/ListLayout/ListLayout.module.css +85 -85
- package/es/list/ListStencils/ListStencils.module.css +67 -67
- package/es/list/SecondaryText/SecondaryText.module.css +136 -136
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/es/list/Subject/Subject.module.css +28 -28
- package/es/list/TagNew/TagNew.module.css +116 -116
- package/es/list/Thread/Thread.module.css +43 -43
- package/es/list/listCommon.module.css +78 -77
- package/es/list/status/StatusDropdown/StatusDropdown.js +6 -6
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/es/list/status/StatusListItem/StatusListItem.js +0 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +111 -111
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/es/lookup/Lookup/Lookup.js +1 -1
- package/es/lookup/Lookup/Lookup.module.css +26 -26
- package/es/lookup/Section/LookupSection.module.css +7 -7
- package/es/lookup/header/Close/LookupClose.module.css +15 -15
- package/es/lookup/header/Search/LookupSearch.module.css +57 -57
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/es/lookup/header/Title/LookupTitle.module.css +20 -20
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/es/setup/header/Button/HeaderButton.module.css +5 -5
- package/es/setup/header/Link/HeaderLink.module.css +21 -21
- package/es/setup/header/Search/Search.module.css +70 -69
- package/es/setup/header/Views/Views.module.css +38 -37
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/es/setup/helptips/Link/Link.js +0 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/table/TableData/SetupTableData.module.css +44 -44
- package/es/setup/table/TableData/Tablehover.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/es/setup/table/Text/TableText.module.css +37 -37
- package/es/setup/table/Text/Text.js +0 -0
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +2 -2
- package/es/v1/ActionButton/ActionButton.js +9 -4
- package/es/v1/ActionButton/props/defaultProps.js +17 -0
- package/es/v1/ActionButton/props/propTypes.js +33 -0
- package/es/v1/AlphabeticList/AlphabeticList.js +2 -2
- package/es/v1/AlphabeticList/props/defaultProps.js +12 -0
- package/es/v1/AlphabeticList/props/propTypes.js +23 -0
- package/es/v1/Attachment/Attachment.js +2 -2
- package/es/v1/Attachment/props/defaultProps.js +7 -0
- package/es/v1/Attachment/props/propTypes.js +17 -0
- package/es/v1/AttachmentViewer/AttachmentImage.js +2 -2
- package/es/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/es/v1/AttachmentViewer/props/defaultProps.js +10 -0
- package/es/v1/AttachmentViewer/props/propTypes.js +31 -0
- package/es/v1/ChannelIcon/ChannelIcon.js +3 -3
- package/es/v1/ChannelIcon/props/defaultProps.js +7 -0
- package/es/v1/ChannelIcon/props/propTypes.js +25 -0
- package/es/v1/Drawer/Drawer.js +4 -7
- package/es/v1/Drawer/props/defaultProps.js +22 -0
- package/es/v1/Drawer/props/propTypes.js +52 -0
- package/es/v1/ExternalLink/ExternalLink.js +2 -2
- package/es/v1/ExternalLink/props/defaultProps.js +5 -0
- package/es/v1/ExternalLink/props/propTypes.js +12 -0
- package/es/v1/FlipCard/FlipCard.js +2 -2
- package/es/v1/FlipCard/props/defaultProps.js +5 -0
- package/es/v1/FlipCard/props/propTypes.js +37 -0
- package/es/v1/FormAction/FormAction.js +2 -2
- package/es/v1/FormAction/props/defaultProps.js +5 -0
- package/es/v1/FormAction/props/propTypes.js +8 -0
- package/es/v1/FreezeLayer/FreezeLayer.js +2 -2
- package/es/v1/FreezeLayer/props/defaultProps.js +9 -0
- package/es/v1/FreezeLayer/props/propTypes.js +19 -0
- package/es/v1/GlobalNotification/GlobalNotification.js +2 -2
- package/es/v1/GlobalNotification/props/defaultProps.js +4 -0
- package/es/v1/GlobalNotification/props/propTypes.js +32 -0
- package/es/v1/IconButton/IconButton.js +2 -2
- package/es/v1/IconButton/props/defaultProps.js +17 -0
- package/es/v1/IconButton/props/propTypes.js +33 -0
- package/es/v1/Image/Image.js +2 -2
- package/es/v1/Image/props/defaultProps.js +4 -0
- package/es/v1/Image/props/propTypes.js +13 -0
- package/es/v1/ImportantNotes/ImportantNotes.js +2 -2
- package/es/v1/ImportantNotes/props/defaultProps.js +6 -0
- package/es/v1/ImportantNotes/props/propTypes.js +10 -0
- package/es/v1/Link/Link.js +3 -4
- package/es/v1/Link/props/defaultProps.js +5 -0
- package/es/v1/Link/props/propTypes.js +18 -0
- package/es/v1/Message/Message.js +2 -2
- package/es/v1/Message/props/defaultProps.js +4 -0
- package/es/v1/Message/props/propTypes.js +20 -0
- package/es/v1/MessageBanner/MessageBanner.js +2 -2
- package/es/v1/MessageBanner/props/defaultProps.js +7 -0
- package/es/v1/MessageBanner/props/propTypes.js +13 -0
- package/es/v1/NewStar/NewStar.js +2 -2
- package/es/v1/NewStar/props/defaultProps.js +4 -0
- package/es/v1/NewStar/props/propTypes.js +6 -0
- package/es/v1/PlusIcon/PlusIcon.js +2 -2
- package/es/v1/PlusIcon/props/defaultProps.js +8 -0
- package/es/v1/PlusIcon/props/propTypes.js +11 -0
- package/es/v1/Provider/Config.js +20 -0
- package/es/v1/Separator/Separator.js +2 -2
- package/es/v1/Separator/props/defaultProps.js +12 -0
- package/es/v1/Separator/props/propTypes.js +11 -0
- package/es/v1/TagWithIcon/TagWithIcon.js +2 -2
- package/es/v1/TagWithIcon/props/defaultProps.js +8 -0
- package/es/v1/TagWithIcon/props/propTypes.js +13 -0
- package/es/v1/ToastMessage/ToastMessage.js +2 -2
- package/es/v1/ToastMessage/props/defaultProps.js +18 -0
- package/es/v1/ToastMessage/props/propTypes.js +40 -0
- package/es/v1/Upload/Upload.js +2 -2
- package/es/v1/Upload/props/defaultProps.js +7 -0
- package/es/v1/Upload/props/propTypes.js +17 -0
- package/es/v1/actions/AutoClose.js +2 -2
- package/es/v1/actions/props/defaultProps.js +3 -0
- package/es/v1/actions/props/propTypes.js +8 -0
- package/es/v1/alert/AlertClose/AlertClose.js +1 -1
- package/es/v1/alert/AlertClose/props/propTypes.js +8 -0
- package/es/v1/alert/alertIcons/AlarmAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/AlertIcons.js +2 -2
- package/es/v1/alert/alertIcons/DangerAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/ErrorAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/InfoAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/NotificationAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/SuccessAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/WarningAlertIcon.js +2 -2
- package/es/v1/alert/alertIcons/props/defaultProps.js +27 -0
- package/es/v1/alert/alertIcons/props/propTypes.js +34 -0
- package/es/v1/avatar/AvatarClose/AvatarClose.js +2 -2
- package/es/v1/avatar/AvatarClose/props/defaultProps.js +6 -0
- package/es/v1/avatar/AvatarClose/props/propTypes.js +14 -0
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +2 -2
- package/es/v1/avatar/AvatarCollision/props/defaultProps.js +8 -0
- package/es/v1/avatar/AvatarCollision/props/propTypes.js +17 -0
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/es/v1/avatar/AvatarIcon/props/defaultProps.js +14 -0
- package/es/v1/avatar/AvatarIcon/props/propTypes.js +20 -0
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +2 -3
- package/es/v1/avatar/AvatarStatus/props/defaultProps.js +12 -0
- package/es/v1/avatar/AvatarStatus/props/propTypes.js +26 -0
- package/es/v1/avatar/AvatarThread/AvatarThread.js +2 -2
- package/es/v1/avatar/AvatarThread/props/defaultProps.js +9 -0
- package/es/v1/avatar/AvatarThread/props/propTypes.js +30 -0
- package/es/v1/avatar/AvatarUser/AvatarUser.js +2 -2
- package/es/v1/avatar/AvatarUser/props/defaultProps.js +8 -0
- package/es/v1/avatar/AvatarUser/props/propTypes.js +35 -0
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/es/v1/avatar/AvatarWithTeam/props/defaultProps.js +9 -0
- package/es/v1/avatar/AvatarWithTeam/props/propTypes.js +25 -0
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +27 -0
- package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +79 -0
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
- package/es/v1/emptystate/CommonEmptyState/props/defaultProps.js +10 -0
- package/es/v1/emptystate/CommonEmptyState/props/propTypes.js +21 -0
- package/es/v1/emptystate/EditionPage/EditionPage.js +2 -2
- package/es/v1/emptystate/EditionPage/props/defaultProps.js +5 -0
- package/es/v1/emptystate/EditionPage/props/propTypes.js +11 -0
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +2 -2
- package/es/v1/errorstate/Inconvenience/props/defaultProps.js +8 -0
- package/es/v1/errorstate/Inconvenience/props/propTypes.js +16 -0
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
- package/es/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +8 -0
- package/es/v1/errorstate/OopsSomethingMiss/props/propTypes.js +16 -0
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
- package/es/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +8 -0
- package/es/v1/errorstate/UnableToProcessRequest/props/propTypes.js +16 -0
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
- package/es/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +9 -0
- package/es/v1/errorstate/UnauthorizedLogin/props/propTypes.js +17 -0
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +2 -2
- package/es/v1/errorstate/UrlNotFound/props/defaultProps.js +8 -0
- package/es/v1/errorstate/UrlNotFound/props/propTypes.js +16 -0
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
- package/es/v1/errorstate/WillBeRightBack/props/defaultProps.js +8 -0
- package/es/v1/errorstate/WillBeRightBack/props/propTypes.js +16 -0
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +2 -2
- package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +12 -0
- package/es/v1/form/fields/CheckBoxField/props/propTypes.js +27 -0
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/es/v1/form/fields/CurrencyField/props/defaultProps.js +17 -0
- package/es/v1/form/fields/CurrencyField/props/propTypes.js +39 -0
- package/es/v1/form/fields/DateField/DateField.js +2 -2
- package/es/v1/form/fields/DateField/props/defaultProps.js +19 -0
- package/es/v1/form/fields/DateField/props/propTypes.js +39 -0
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +2 -2
- package/es/v1/form/fields/FieldContainer/props/defaultProps.js +6 -0
- package/es/v1/form/fields/FieldContainer/props/propTypes.js +25 -0
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +17 -0
- package/es/v1/form/fields/MultiSelectField/props/propTypes.js +50 -0
- package/es/v1/form/fields/PhoneField/PhoneField.js +2 -2
- package/es/v1/form/fields/PhoneField/props/defaultProps.js +16 -0
- package/es/v1/form/fields/PhoneField/props/propTypes.js +47 -0
- package/es/v1/form/fields/RadioField/RadioField.js +2 -2
- package/es/v1/form/fields/RadioField/props/defaultProps.js +12 -0
- package/es/v1/form/fields/RadioField/props/propTypes.js +30 -0
- package/es/v1/form/fields/SelectField/SelectField.js +2 -2
- package/es/v1/form/fields/SelectField/props/defaultProps.js +18 -0
- package/es/v1/form/fields/SelectField/props/propTypes.js +50 -0
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +11 -0
- package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +44 -0
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +19 -0
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +63 -0
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/es/v1/form/fields/TextBoxField/props/defaultProps.js +17 -0
- package/es/v1/form/fields/TextBoxField/props/propTypes.js +44 -0
- package/es/v1/form/fields/TextEditor/TextEditor.js +2 -2
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +13 -0
- package/es/v1/form/fields/TextEditor/props/propTypes.js +46 -0
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/es/v1/form/fields/TextEditorField/props/defaultProps.js +15 -0
- package/es/v1/form/fields/TextEditorField/props/propTypes.js +59 -0
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/es/v1/form/fields/TextEditorWrapper/props/defaultProps.js +9 -0
- package/es/v1/form/fields/TextEditorWrapper/props/propTypes.js +40 -0
- package/es/v1/form/fields/TextareaField/TextareaField.js +2 -2
- package/es/v1/form/fields/TextareaField/props/defaultProps.js +15 -0
- package/es/v1/form/fields/TextareaField/props/propTypes.js +34 -0
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/es/v1/form/fields/ValidationMessage/props/defaultProps.js +7 -0
- package/es/v1/form/fields/ValidationMessage/props/propTypes.js +16 -0
- package/es/v1/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/v1/form/fields/props/FieldCommonPropTypes.js +17 -0
- package/es/v1/form/layout/Field/Field.js +2 -2
- package/es/v1/form/layout/Field/props/defaultProps.js +4 -0
- package/es/v1/form/layout/Field/props/propTypes.js +10 -0
- package/es/v1/form/layout/Section/Section.js +1 -1
- package/es/v1/form/layout/Section/props/propTypes.js +11 -0
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
- package/es/v1/layout/SetupDetailLayout/props/defaultProps.js +20 -0
- package/es/v1/layout/SetupDetailLayout/props/propTypes.js +40 -0
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/es/v1/layout/SubtabLayout/props/defaultProps.js +25 -0
- package/es/v1/layout/SubtabLayout/props/propTypes.js +40 -0
- package/es/v1/list/AvatarFlip/AvatarFlip.js +2 -2
- package/es/v1/list/AvatarFlip/props/defaultProps.js +6 -0
- package/es/v1/list/AvatarFlip/props/propTypes.js +29 -0
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +1 -1
- package/es/v1/list/BluePrintStatus/props/propTypes.js +4 -0
- package/es/v1/list/Comment/Comment.js +2 -2
- package/es/v1/list/Comment/props/defaultProps.js +4 -0
- package/es/v1/list/Comment/props/propTypes.js +7 -0
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
- package/es/v1/list/DepartmentDropDown/props/defaultProps.js +7 -0
- package/es/v1/list/DepartmentDropDown/props/propTypes.js +24 -0
- package/es/v1/list/Dot/Dot.js +2 -2
- package/es/v1/list/Dot/props/defaultProps.js +4 -0
- package/es/v1/list/Dot/props/propTypes.js +5 -0
- package/es/v1/list/DotNew/DotNew.js +2 -2
- package/es/v1/list/DotNew/props/defaultProps.js +3 -0
- package/es/v1/list/DotNew/props/propTypes.js +6 -0
- package/es/v1/list/GridStencils/GridStencils.js +1 -1
- package/es/v1/list/GridStencils/props/propTypes.js +8 -0
- package/es/v1/list/Icons/AddNewIcon.js +1 -1
- package/es/v1/list/Icons/CompleteIcon.js +1 -1
- package/es/v1/list/Icons/DeleteIcon.js +1 -1
- package/es/v1/list/Icons/EditIcon.js +1 -1
- package/es/v1/list/Icons/FloatingIcons.js +2 -2
- package/es/v1/list/Icons/ReadUnreadIcon.js +2 -2
- package/es/v1/list/Icons/SmartIcon.js +1 -1
- package/es/v1/list/Icons/props/defaultProps.js +6 -0
- package/es/v1/list/Icons/props/propTypes.js +53 -0
- package/es/v1/list/ListLayout/ListLayout.js +3 -3
- package/es/v1/list/ListLayout/props/defaultProps.js +11 -0
- package/es/v1/list/ListLayout/props/propTypes.js +28 -0
- package/es/v1/list/ListStencils/ListStencils.js +2 -2
- package/es/v1/list/ListStencils/props/defaultProps.js +3 -0
- package/es/v1/list/ListStencils/props/propTypes.js +4 -0
- package/es/v1/list/SecondaryText/AccountName.js +2 -2
- package/es/v1/list/SecondaryText/ContactName.js +2 -2
- package/es/v1/list/SecondaryText/DepartmentText.js +1 -1
- package/es/v1/list/SecondaryText/Email.js +2 -2
- package/es/v1/list/SecondaryText/HappinessRating.js +1 -1
- package/es/v1/list/SecondaryText/PhoneNumber.js +2 -2
- package/es/v1/list/SecondaryText/PriorityText.js +2 -2
- package/es/v1/list/SecondaryText/SecondaryText.js +2 -2
- package/es/v1/list/SecondaryText/StatusText.js +2 -2
- package/es/v1/list/SecondaryText/TicketId.js +2 -2
- package/es/v1/list/SecondaryText/Website.js +2 -2
- package/es/v1/list/SecondaryText/props/defaultProps.js +44 -0
- package/es/v1/list/SecondaryText/props/propTypes.js +142 -0
- package/es/v1/list/SecondryPanel/SecondryPanel.js +2 -2
- package/es/v1/list/SecondryPanel/props/defaultProps.js +18 -0
- package/es/v1/list/SecondryPanel/props/propTypes.js +27 -0
- package/es/v1/list/SentimentStatus/SentimentStatus.js +1 -1
- package/es/v1/list/SentimentStatus/props/propTypes.js +5 -0
- package/es/v1/list/Subject/Subject.js +2 -2
- package/es/v1/list/Subject/props/defaultProps.js +7 -0
- package/es/v1/list/Subject/props/propTypes.js +19 -0
- package/es/v1/list/TagNew/TagNew.js +2 -2
- package/es/v1/list/TagNew/props/defaultProps.js +4 -0
- package/es/v1/list/TagNew/props/propTypes.js +8 -0
- package/es/v1/list/Thread/Thread.js +2 -2
- package/es/v1/list/Thread/props/defaultProps.js +4 -0
- package/es/v1/list/Thread/props/propTypes.js +8 -0
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +8 -8
- package/es/v1/list/status/StatusDropdown/props/defaultProps.js +19 -0
- package/es/v1/list/status/StatusDropdown/props/propTypes.js +54 -0
- package/es/v1/list/status/StatusListItem/StatusListItem.js +2 -2
- package/es/v1/list/status/StatusListItem/props/defaultProps.js +15 -0
- package/es/v1/list/status/StatusListItem/props/propTypes.js +29 -0
- package/es/v1/lookup/EmptyPage/EmptyPage.js +2 -2
- package/es/v1/lookup/EmptyPage/props/defaultProps.js +4 -0
- package/es/v1/lookup/EmptyPage/props/propTypes.js +5 -0
- package/es/v1/lookup/Lookup/Lookup.js +3 -3
- package/es/v1/lookup/Lookup/props/defaultProps.js +8 -0
- package/es/v1/lookup/Lookup/props/propTypes.js +22 -0
- package/es/v1/lookup/Section/Section.js +1 -1
- package/es/v1/lookup/Section/props/propTypes.js +6 -0
- package/es/v1/lookup/header/Close/Close.js +2 -2
- package/es/v1/lookup/header/Close/props/defaultProps.js +3 -0
- package/es/v1/lookup/header/Close/props/propTypes.js +6 -0
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
- package/es/v1/lookup/header/ModuleHeader/props/defaultProps.js +3 -0
- package/es/v1/lookup/header/ModuleHeader/props/propTypes.js +17 -0
- package/es/v1/lookup/header/Search/Search.js +2 -2
- package/es/v1/lookup/header/Search/props/defaultProps.js +5 -0
- package/es/v1/lookup/header/Search/props/propTypes.js +28 -0
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +2 -2
- package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +4 -0
- package/es/v1/lookup/header/TicketHeader/props/propTypes.js +20 -0
- package/es/v1/lookup/header/Title/Title.js +2 -2
- package/es/v1/lookup/header/Title/props/defaultProps.js +3 -0
- package/es/v1/lookup/header/Title/props/propTypes.js +6 -0
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +2 -2
- package/es/v1/lookup/header/ViewDropDown/props/defaultProps.js +7 -0
- package/es/v1/lookup/header/ViewDropDown/props/propTypes.js +22 -0
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/v1/setup/header/Button/Button.js +2 -2
- package/es/v1/setup/header/Button/props/defaultProps.js +4 -0
- package/es/v1/setup/header/Button/props/propTypes.js +7 -0
- package/es/v1/setup/header/Link/Link.js +2 -2
- package/es/v1/setup/header/Link/props/defaultProps.js +4 -0
- package/es/v1/setup/header/Link/props/propTypes.js +8 -0
- package/es/v1/setup/header/Search/Search.js +2 -2
- package/es/v1/setup/header/Search/props/defaultProps.js +5 -0
- package/es/v1/setup/header/Search/props/propTypes.js +11 -0
- package/es/v1/setup/header/Views/Views.js +2 -2
- package/es/v1/setup/header/Views/props/defaultProps.js +6 -0
- package/es/v1/setup/header/Views/props/propTypes.js +9 -0
- package/es/v1/setup/helptips/Description/Description.js +1 -1
- package/es/v1/setup/helptips/Description/props/propTypes.js +4 -0
- package/es/v1/setup/helptips/Link/Link.js +1 -1
- package/es/v1/setup/helptips/Link/props/propTypes.js +7 -0
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +1 -1
- package/es/v1/setup/helptips/ListGroup/props/propTypes.js +5 -0
- package/es/v1/setup/helptips/Title/Title.js +1 -1
- package/es/v1/setup/helptips/Title/props/propTypes.js +4 -0
- package/es/v1/setup/table/Table/Table.js +2 -2
- package/es/v1/setup/table/Table/props/defaultProps.js +4 -0
- package/es/v1/setup/table/Table/props/propTypes.js +6 -0
- package/es/v1/setup/table/TableBody/TableBody.js +2 -2
- package/es/v1/setup/table/TableBody/props/defaultProps.js +3 -0
- package/es/v1/setup/table/TableBody/props/propTypes.js +7 -0
- package/es/v1/setup/table/TableData/TableData.js +2 -2
- package/es/v1/setup/table/TableData/props/defaultProps.js +5 -0
- package/es/v1/setup/table/TableData/props/propTypes.js +11 -0
- package/es/v1/setup/table/TableHead/TableHead.js +2 -2
- package/es/v1/setup/table/TableHead/props/defaultProps.js +4 -0
- package/es/v1/setup/table/TableHead/props/propTypes.js +8 -0
- package/es/v1/setup/table/TableRow/TableRow.js +2 -2
- package/es/v1/setup/table/TableRow/props/defaultProps.js +4 -0
- package/es/v1/setup/table/TableRow/props/propTypes.js +11 -0
- package/es/v1/setup/table/Text/Text.js +2 -2
- package/es/v1/setup/table/Text/props/defaultProps.js +7 -0
- package/es/v1/setup/table/Text/props/propTypes.js +13 -0
- package/es/v1/svg/PlusIcon.js +3 -3
- package/es/v1/svg/SnippetIcon.js +4 -4
- package/es/v1/svg/TemplateIcon.js +2 -2
- package/es/v1/svg/props/defaultProps.js +15 -0
- package/es/v1/svg/props/propTypes.js +16 -0
- package/es/v1/utils/ChannelIconMapping.js +129 -0
- package/es/v1/utils/General.js +45 -0
- package/es/v1/utils/editorUtils.js +193 -0
- package/es/version2/AlertClose/AlertClose.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.js +33 -26
- package/es/version2/GlobalNotification/GlobalNotification.module.css +190 -130
- package/es/version2/GlobalNotification/props/propTypes.js +9 -4
- package/es/version2/alertIcons/AlertIcons.module.css +67 -67
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +88 -88
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +133 -133
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +134 -134
- package/install.md +12 -12
- package/lib/ActionButton/ActionButton.js +41 -32
- package/lib/ActionButton/ActionButton.module.css +146 -146
- package/lib/ActionButton/props/propTypes.js +2 -1
- package/lib/AlphabeticList/AlphabeticList.module.css +59 -59
- package/lib/Attachment/Attachment.module.css +165 -163
- package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -354
- package/lib/ChannelIcon/ChannelIcon.module.css +221 -221
- package/lib/Drawer/Drawer.js +3 -6
- package/lib/Drawer/Drawer.module.css +190 -190
- package/lib/ExternalLink/ExternalLink.js +0 -0
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/FlipCard/FlipCard.module.css +44 -44
- package/lib/FormAction/FormAction.module.css +84 -84
- package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
- package/lib/Hooks/Dragger/css/Dragger.module.css +2 -2
- package/lib/IconButton/IconButton.module.css +23 -23
- package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
- package/lib/Image/Image.module.css +11 -11
- package/lib/Image/__tests__/__snapshots__/Image.spec.js.snap +74 -74
- package/lib/ImportantNotes/ImportantNotes.module.css +24 -20
- package/lib/Link/Link.js +1 -2
- package/lib/Link/Link.module.css +3 -3
- package/lib/Loader/Loader.module.css +47 -47
- package/lib/Message/Message.module.css +102 -102
- package/lib/MessageBanner/MessageBanner.module.css +46 -46
- package/lib/NewStar/NewStar.module.css +183 -183
- package/lib/PlusIcon/PlusIcon.js +0 -0
- package/lib/PlusIcon/PlusIcon.module.css +18 -18
- package/lib/Separator/Separator.module.css +34 -34
- package/lib/TagWithIcon/TagWithIcon.module.css +69 -69
- package/lib/ToastMessage/ToastMessage.js +0 -0
- package/lib/ToastMessage/ToastMessage.module.css +329 -328
- package/lib/Upload/Upload.module.css +125 -125
- package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +64 -64
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -1
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
- package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/lib/common/dot_animation.module.css +26 -26
- package/lib/common/dot_boxShadow.module.css +37 -37
- package/lib/common/dot_common.module.css +3 -3
- package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +59 -56
- package/lib/deprecated/utils/KeyboardApi.js +25 -25
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -89
- package/lib/emptystate/EditionPage/EditionPage.css +43 -43
- package/lib/errorstate/EmptyStates.module.css +87 -87
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/lib/errorstate/LinkText/LinkText.module.css +6 -6
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/lib/errorstate/WillBack/WillBack.module.css +34 -34
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/lib/form/fields/Fields.module.css +183 -183
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/lib/form/fields/TextEditor/TextEditor.module.css +770 -770
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +28 -28
- package/lib/form/layout/Field/Field.js +0 -0
- package/lib/form/layout/Field/Field.module.css +22 -22
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/lib/form/layout/Section/Section.js +0 -0
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +166 -166
- package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/lib/list/Comment/Comment.module.css +30 -30
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/lib/list/Dot/Dot.module.css +16 -16
- package/lib/list/DotNew/DotNew.module.css +24 -24
- package/lib/list/GridStencils/GridStencils.module.css +146 -146
- package/lib/list/Icons/Icons.module.css +16 -16
- package/lib/list/ListLayout/ListLayout.js +1 -1
- package/lib/list/ListLayout/ListLayout.module.css +85 -85
- package/lib/list/ListStencils/ListStencils.module.css +67 -67
- package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
- package/lib/list/SecondaryText/Website.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/lib/list/Subject/Subject.module.css +28 -28
- package/lib/list/TagNew/TagNew.module.css +116 -116
- package/lib/list/Thread/Thread.module.css +43 -43
- package/lib/list/listCommon.module.css +78 -77
- package/lib/list/status/StatusDropdown/StatusDropdown.js +6 -6
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
- package/lib/list/status/StatusListItem/StatusListItem.module.css +111 -111
- package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/lib/lookup/Lookup/Lookup.js +1 -1
- package/lib/lookup/Lookup/Lookup.module.css +26 -26
- package/lib/lookup/Section/LookupSection.module.css +7 -7
- package/lib/lookup/header/Close/LookupClose.module.css +15 -15
- package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/lib/setup/header/Button/HeaderButton.module.css +5 -5
- package/lib/setup/header/Link/HeaderLink.module.css +21 -21
- package/lib/setup/header/Search/Search.module.css +70 -69
- package/lib/setup/header/Views/Views.module.css +38 -37
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/lib/setup/helptips/Link/Link.js +0 -0
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/lib/setup/helptips/Title/Title.js +0 -0
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
- package/lib/setup/table/TableData/Tablehover.module.css +6 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/lib/setup/table/Text/TableText.module.css +37 -37
- package/lib/setup/table/Text/Text.js +0 -0
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +2 -2
- package/lib/v1/ActionButton/ActionButton.js +9 -4
- package/lib/v1/ActionButton/props/defaultProps.js +24 -0
- package/lib/v1/ActionButton/props/propTypes.js +44 -0
- package/lib/v1/AlphabeticList/AlphabeticList.js +2 -2
- package/lib/v1/AlphabeticList/props/defaultProps.js +20 -0
- package/lib/v1/AlphabeticList/props/propTypes.js +50 -0
- package/lib/v1/Attachment/Attachment.js +2 -2
- package/lib/v1/Attachment/props/defaultProps.js +14 -0
- package/lib/v1/Attachment/props/propTypes.js +28 -0
- package/lib/v1/AttachmentViewer/AttachmentImage.js +2 -2
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/lib/v1/AttachmentViewer/props/defaultProps.js +18 -0
- package/lib/v1/AttachmentViewer/props/propTypes.js +43 -0
- package/lib/v1/ChannelIcon/ChannelIcon.js +3 -3
- package/lib/v1/ChannelIcon/props/defaultProps.js +14 -0
- package/lib/v1/ChannelIcon/props/propTypes.js +36 -0
- package/lib/v1/Drawer/Drawer.js +4 -7
- package/lib/v1/Drawer/props/defaultProps.js +31 -0
- package/lib/v1/Drawer/props/propTypes.js +66 -0
- package/lib/v1/ExternalLink/ExternalLink.js +2 -2
- package/lib/v1/ExternalLink/props/defaultProps.js +12 -0
- package/lib/v1/ExternalLink/props/propTypes.js +23 -0
- package/lib/v1/FlipCard/FlipCard.js +2 -2
- package/lib/v1/FlipCard/props/defaultProps.js +12 -0
- package/lib/v1/FlipCard/props/propTypes.js +48 -0
- package/lib/v1/FormAction/FormAction.js +2 -2
- package/lib/v1/FormAction/props/defaultProps.js +12 -0
- package/lib/v1/FormAction/props/propTypes.js +19 -0
- package/lib/v1/FreezeLayer/FreezeLayer.js +2 -2
- package/lib/v1/FreezeLayer/props/defaultProps.js +16 -0
- package/lib/v1/FreezeLayer/props/propTypes.js +31 -0
- package/lib/v1/GlobalNotification/GlobalNotification.js +2 -2
- package/lib/v1/GlobalNotification/props/defaultProps.js +11 -0
- package/lib/v1/GlobalNotification/props/propTypes.js +45 -0
- package/lib/v1/IconButton/IconButton.js +2 -2
- package/lib/v1/IconButton/props/defaultProps.js +24 -0
- package/lib/v1/IconButton/props/propTypes.js +43 -0
- package/lib/v1/Image/Image.js +2 -2
- package/lib/v1/Image/props/defaultProps.js +11 -0
- package/lib/v1/Image/props/propTypes.js +24 -0
- package/lib/v1/ImportantNotes/ImportantNotes.js +2 -2
- package/lib/v1/ImportantNotes/props/defaultProps.js +13 -0
- package/lib/v1/ImportantNotes/props/propTypes.js +21 -0
- package/lib/v1/Link/Link.js +3 -4
- package/lib/v1/Link/props/defaultProps.js +12 -0
- package/lib/v1/Link/props/propTypes.js +29 -0
- package/lib/v1/Message/Message.js +2 -2
- package/lib/v1/Message/props/defaultProps.js +11 -0
- package/lib/v1/Message/props/propTypes.js +41 -0
- package/lib/v1/MessageBanner/MessageBanner.js +2 -2
- package/lib/v1/MessageBanner/props/defaultProps.js +14 -0
- package/lib/v1/MessageBanner/props/propTypes.js +24 -0
- package/lib/v1/NewStar/NewStar.js +2 -2
- package/lib/v1/NewStar/props/defaultProps.js +11 -0
- package/lib/v1/NewStar/props/propTypes.js +17 -0
- package/lib/v1/PlusIcon/PlusIcon.js +2 -2
- package/lib/v1/PlusIcon/props/defaultProps.js +15 -0
- package/lib/v1/PlusIcon/props/propTypes.js +22 -0
- package/lib/v1/Provider/Config.js +29 -0
- package/lib/v1/Separator/Separator.js +2 -2
- package/lib/v1/Separator/props/defaultProps.js +19 -0
- package/lib/v1/Separator/props/propTypes.js +22 -0
- package/lib/v1/TagWithIcon/TagWithIcon.js +2 -2
- package/lib/v1/TagWithIcon/props/defaultProps.js +15 -0
- package/lib/v1/TagWithIcon/props/propTypes.js +24 -0
- package/lib/v1/ToastMessage/ToastMessage.js +2 -2
- package/lib/v1/ToastMessage/props/defaultProps.js +25 -0
- package/lib/v1/ToastMessage/props/propTypes.js +51 -0
- package/lib/v1/Upload/Upload.js +2 -2
- package/lib/v1/Upload/props/defaultProps.js +14 -0
- package/lib/v1/Upload/props/propTypes.js +28 -0
- package/lib/v1/actions/AutoClose.js +2 -2
- package/lib/v1/actions/props/defaultProps.js +10 -0
- package/lib/v1/actions/props/propTypes.js +19 -0
- package/lib/v1/alert/AlertClose/AlertClose.js +1 -1
- package/lib/v1/alert/AlertClose/props/propTypes.js +19 -0
- package/lib/v1/alert/alertIcons/AlarmAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/AlertIcons.js +2 -2
- package/lib/v1/alert/alertIcons/DangerAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/ErrorAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/InfoAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/NotificationAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/SuccessAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/WarningAlertIcon.js +2 -2
- package/lib/v1/alert/alertIcons/props/defaultProps.js +41 -0
- package/lib/v1/alert/alertIcons/props/propTypes.js +52 -0
- package/lib/v1/avatar/AvatarClose/AvatarClose.js +2 -2
- package/lib/v1/avatar/AvatarClose/props/defaultProps.js +13 -0
- package/lib/v1/avatar/AvatarClose/props/propTypes.js +25 -0
- package/lib/v1/avatar/AvatarCollision/AvatarCollision.js +2 -2
- package/lib/v1/avatar/AvatarCollision/props/defaultProps.js +15 -0
- package/lib/v1/avatar/AvatarCollision/props/propTypes.js +28 -0
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/v1/avatar/AvatarIcon/props/defaultProps.js +21 -0
- package/lib/v1/avatar/AvatarIcon/props/propTypes.js +31 -0
- package/lib/v1/avatar/AvatarStatus/AvatarStatus.js +2 -3
- package/lib/v1/avatar/AvatarStatus/props/defaultProps.js +19 -0
- package/lib/v1/avatar/AvatarStatus/props/propTypes.js +35 -0
- package/lib/v1/avatar/AvatarThread/AvatarThread.js +2 -2
- package/lib/v1/avatar/AvatarThread/props/defaultProps.js +16 -0
- package/lib/v1/avatar/AvatarThread/props/propTypes.js +41 -0
- package/lib/v1/avatar/AvatarUser/AvatarUser.js +2 -2
- package/lib/v1/avatar/AvatarUser/props/defaultProps.js +15 -0
- package/lib/v1/avatar/AvatarUser/props/propTypes.js +46 -0
- package/lib/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/lib/v1/avatar/AvatarWithTeam/props/defaultProps.js +16 -0
- package/lib/v1/avatar/AvatarWithTeam/props/propTypes.js +36 -0
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +34 -0
- package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +90 -0
- package/lib/v1/emptystate/CommonEmptyState/CommonEmptyState.js +2 -2
- package/lib/v1/emptystate/CommonEmptyState/props/defaultProps.js +17 -0
- package/lib/v1/emptystate/CommonEmptyState/props/propTypes.js +32 -0
- package/lib/v1/emptystate/EditionPage/EditionPage.js +2 -2
- package/lib/v1/emptystate/EditionPage/props/defaultProps.js +12 -0
- package/lib/v1/emptystate/EditionPage/props/propTypes.js +22 -0
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +2 -2
- package/lib/v1/errorstate/Inconvenience/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/Inconvenience/props/propTypes.js +27 -0
- package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +2 -2
- package/lib/v1/errorstate/OopsSomethingMiss/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/OopsSomethingMiss/props/propTypes.js +27 -0
- package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +2 -2
- package/lib/v1/errorstate/UnableToProcessRequest/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/UnableToProcessRequest/props/propTypes.js +27 -0
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +2 -2
- package/lib/v1/errorstate/UnauthorizedLogin/props/defaultProps.js +16 -0
- package/lib/v1/errorstate/UnauthorizedLogin/props/propTypes.js +28 -0
- package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +2 -2
- package/lib/v1/errorstate/UrlNotFound/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/UrlNotFound/props/propTypes.js +27 -0
- package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +2 -2
- package/lib/v1/errorstate/WillBeRightBack/props/defaultProps.js +15 -0
- package/lib/v1/errorstate/WillBeRightBack/props/propTypes.js +27 -0
- package/lib/v1/form/fields/CheckBoxField/CheckBoxField.js +2 -2
- package/lib/v1/form/fields/CheckBoxField/props/defaultProps.js +27 -0
- package/lib/v1/form/fields/CheckBoxField/props/propTypes.js +45 -0
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +2 -2
- package/lib/v1/form/fields/CurrencyField/props/defaultProps.js +32 -0
- package/lib/v1/form/fields/CurrencyField/props/propTypes.js +57 -0
- package/lib/v1/form/fields/DateField/DateField.js +2 -2
- package/lib/v1/form/fields/DateField/props/defaultProps.js +34 -0
- package/lib/v1/form/fields/DateField/props/propTypes.js +57 -0
- package/lib/v1/form/fields/FieldContainer/FieldContainer.js +2 -2
- package/lib/v1/form/fields/FieldContainer/props/defaultProps.js +22 -0
- package/lib/v1/form/fields/FieldContainer/props/propTypes.js +35 -0
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +2 -2
- package/lib/v1/form/fields/MultiSelectField/props/defaultProps.js +32 -0
- package/lib/v1/form/fields/MultiSelectField/props/propTypes.js +68 -0
- package/lib/v1/form/fields/PhoneField/PhoneField.js +2 -2
- package/lib/v1/form/fields/PhoneField/props/defaultProps.js +23 -0
- package/lib/v1/form/fields/PhoneField/props/propTypes.js +58 -0
- package/lib/v1/form/fields/RadioField/RadioField.js +2 -2
- package/lib/v1/form/fields/RadioField/props/defaultProps.js +19 -0
- package/lib/v1/form/fields/RadioField/props/propTypes.js +41 -0
- package/lib/v1/form/fields/SelectField/SelectField.js +2 -2
- package/lib/v1/form/fields/SelectField/props/defaultProps.js +33 -0
- package/lib/v1/form/fields/SelectField/props/propTypes.js +68 -0
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +18 -0
- package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +55 -0
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +2 -2
- package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +34 -0
- package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +75 -0
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +2 -2
- package/lib/v1/form/fields/TextBoxField/props/defaultProps.js +32 -0
- package/lib/v1/form/fields/TextBoxField/props/propTypes.js +62 -0
- package/lib/v1/form/fields/TextEditor/TextEditor.js +2 -2
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +20 -0
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +57 -0
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +2 -2
- package/lib/v1/form/fields/TextEditorField/props/defaultProps.js +30 -0
- package/lib/v1/form/fields/TextEditorField/props/propTypes.js +67 -0
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/lib/v1/form/fields/TextEditorWrapper/props/defaultProps.js +16 -0
- package/lib/v1/form/fields/TextEditorWrapper/props/propTypes.js +51 -0
- package/lib/v1/form/fields/TextareaField/TextareaField.js +2 -2
- package/lib/v1/form/fields/TextareaField/props/defaultProps.js +30 -0
- package/lib/v1/form/fields/TextareaField/props/propTypes.js +52 -0
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/v1/form/fields/ValidationMessage/props/defaultProps.js +14 -0
- package/lib/v1/form/fields/ValidationMessage/props/propTypes.js +27 -0
- package/lib/v1/form/fields/props/FieldCommonDefaultProps.js +19 -0
- package/lib/v1/form/fields/props/FieldCommonPropTypes.js +28 -0
- package/lib/v1/form/layout/Field/Field.js +2 -2
- package/lib/v1/form/layout/Field/props/defaultProps.js +11 -0
- package/lib/v1/form/layout/Field/props/propTypes.js +21 -0
- package/lib/v1/form/layout/Section/Section.js +1 -1
- package/lib/v1/form/layout/Section/props/propTypes.js +22 -0
- package/lib/v1/layout/SetupDetailLayout/SetupDetailLayout.js +2 -2
- package/lib/v1/layout/SetupDetailLayout/props/defaultProps.js +30 -0
- package/lib/v1/layout/SetupDetailLayout/props/propTypes.js +54 -0
- package/lib/v1/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/lib/v1/layout/SubtabLayout/props/defaultProps.js +35 -0
- package/lib/v1/layout/SubtabLayout/props/propTypes.js +54 -0
- package/lib/v1/list/AvatarFlip/AvatarFlip.js +2 -2
- package/lib/v1/list/AvatarFlip/props/defaultProps.js +13 -0
- package/lib/v1/list/AvatarFlip/props/propTypes.js +40 -0
- package/lib/v1/list/BluePrintStatus/BluePrintStatus.js +1 -1
- package/lib/v1/list/BluePrintStatus/props/propTypes.js +15 -0
- package/lib/v1/list/Comment/Comment.js +2 -2
- package/lib/v1/list/Comment/props/defaultProps.js +11 -0
- package/lib/v1/list/Comment/props/propTypes.js +18 -0
- package/lib/v1/list/DepartmentDropDown/DepartmentDropDown.js +2 -2
- package/lib/v1/list/DepartmentDropDown/props/defaultProps.js +14 -0
- package/lib/v1/list/DepartmentDropDown/props/propTypes.js +35 -0
- package/lib/v1/list/Dot/Dot.js +2 -2
- package/lib/v1/list/Dot/props/defaultProps.js +11 -0
- package/lib/v1/list/Dot/props/propTypes.js +16 -0
- package/lib/v1/list/DotNew/DotNew.js +2 -2
- package/lib/v1/list/DotNew/props/defaultProps.js +10 -0
- package/lib/v1/list/DotNew/props/propTypes.js +17 -0
- package/lib/v1/list/GridStencils/GridStencils.js +1 -1
- package/lib/v1/list/GridStencils/props/propTypes.js +19 -0
- package/lib/v1/list/Icons/AddNewIcon.js +1 -1
- package/lib/v1/list/Icons/CompleteIcon.js +1 -1
- package/lib/v1/list/Icons/DeleteIcon.js +1 -1
- package/lib/v1/list/Icons/EditIcon.js +1 -1
- package/lib/v1/list/Icons/FloatingIcons.js +2 -2
- package/lib/v1/list/Icons/ReadUnreadIcon.js +2 -2
- package/lib/v1/list/Icons/SmartIcon.js +1 -1
- package/lib/v1/list/Icons/props/defaultProps.js +14 -0
- package/lib/v1/list/Icons/props/propTypes.js +70 -0
- package/lib/v1/list/ListLayout/ListLayout.js +3 -3
- package/lib/v1/list/ListLayout/props/defaultProps.js +18 -0
- package/lib/v1/list/ListLayout/props/propTypes.js +41 -0
- package/lib/v1/list/ListStencils/ListStencils.js +2 -2
- package/lib/v1/list/ListStencils/props/defaultProps.js +10 -0
- package/lib/v1/list/ListStencils/props/propTypes.js +15 -0
- package/lib/v1/list/SecondaryText/AccountName.js +2 -2
- package/lib/v1/list/SecondaryText/ContactName.js +2 -2
- package/lib/v1/list/SecondaryText/DepartmentText.js +1 -1
- package/lib/v1/list/SecondaryText/Email.js +2 -2
- package/lib/v1/list/SecondaryText/HappinessRating.js +1 -1
- package/lib/v1/list/SecondaryText/PhoneNumber.js +2 -2
- package/lib/v1/list/SecondaryText/PriorityText.js +2 -2
- package/lib/v1/list/SecondaryText/SecondaryText.js +2 -2
- package/lib/v1/list/SecondaryText/StatusText.js +2 -2
- package/lib/v1/list/SecondaryText/TicketId.js +2 -2
- package/lib/v1/list/SecondaryText/Website.js +2 -2
- package/lib/v1/list/SecondaryText/props/defaultProps.js +59 -0
- package/lib/v1/list/SecondaryText/props/propTypes.js +163 -0
- package/lib/v1/list/SecondryPanel/SecondryPanel.js +2 -2
- package/lib/v1/list/SecondryPanel/props/defaultProps.js +28 -0
- package/lib/v1/list/SecondryPanel/props/propTypes.js +41 -0
- package/lib/v1/list/SentimentStatus/SentimentStatus.js +1 -1
- package/lib/v1/list/SentimentStatus/props/propTypes.js +16 -0
- package/lib/v1/list/Subject/Subject.js +2 -2
- package/lib/v1/list/Subject/props/defaultProps.js +14 -0
- package/lib/v1/list/Subject/props/propTypes.js +30 -0
- package/lib/v1/list/TagNew/TagNew.js +2 -2
- package/lib/v1/list/TagNew/props/defaultProps.js +11 -0
- package/lib/v1/list/TagNew/props/propTypes.js +19 -0
- package/lib/v1/list/Thread/Thread.js +2 -2
- package/lib/v1/list/Thread/props/defaultProps.js +11 -0
- package/lib/v1/list/Thread/props/propTypes.js +19 -0
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +8 -8
- package/lib/v1/list/status/StatusDropdown/props/defaultProps.js +26 -0
- package/lib/v1/list/status/StatusDropdown/props/propTypes.js +34 -0
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +2 -2
- package/lib/v1/list/status/StatusListItem/props/defaultProps.js +22 -0
- package/lib/v1/list/status/StatusListItem/props/propTypes.js +40 -0
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +2 -2
- package/lib/v1/lookup/EmptyPage/props/defaultProps.js +11 -0
- package/lib/v1/lookup/EmptyPage/props/propTypes.js +16 -0
- package/lib/v1/lookup/Lookup/Lookup.js +3 -3
- package/lib/v1/lookup/Lookup/props/defaultProps.js +15 -0
- package/lib/v1/lookup/Lookup/props/propTypes.js +33 -0
- package/lib/v1/lookup/Section/Section.js +1 -1
- package/lib/v1/lookup/Section/props/propTypes.js +17 -0
- package/lib/v1/lookup/header/Close/Close.js +2 -2
- package/lib/v1/lookup/header/Close/props/defaultProps.js +10 -0
- package/lib/v1/lookup/header/Close/props/propTypes.js +17 -0
- package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +2 -2
- package/lib/v1/lookup/header/ModuleHeader/props/defaultProps.js +10 -0
- package/lib/v1/lookup/header/ModuleHeader/props/propTypes.js +28 -0
- package/lib/v1/lookup/header/Search/Search.js +2 -2
- package/lib/v1/lookup/header/Search/props/defaultProps.js +12 -0
- package/lib/v1/lookup/header/Search/props/propTypes.js +40 -0
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +2 -2
- package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +11 -0
- package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +31 -0
- package/lib/v1/lookup/header/Title/Title.js +2 -2
- package/lib/v1/lookup/header/Title/props/defaultProps.js +10 -0
- package/lib/v1/lookup/header/Title/props/propTypes.js +17 -0
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +2 -2
- package/lib/v1/lookup/header/ViewDropDown/props/defaultProps.js +14 -0
- package/lib/v1/lookup/header/ViewDropDown/props/propTypes.js +33 -0
- package/lib/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/lib/v1/setup/header/Button/Button.js +2 -2
- package/lib/v1/setup/header/Button/props/defaultProps.js +11 -0
- package/lib/v1/setup/header/Button/props/propTypes.js +18 -0
- package/lib/v1/setup/header/Link/Link.js +2 -2
- package/lib/v1/setup/header/Link/props/defaultProps.js +11 -0
- package/lib/v1/setup/header/Link/props/propTypes.js +19 -0
- package/lib/v1/setup/header/Search/Search.js +2 -2
- package/lib/v1/setup/header/Search/props/defaultProps.js +12 -0
- package/lib/v1/setup/header/Search/props/propTypes.js +22 -0
- package/lib/v1/setup/header/Views/Views.js +2 -2
- package/lib/v1/setup/header/Views/props/defaultProps.js +13 -0
- package/lib/v1/setup/header/Views/props/propTypes.js +20 -0
- package/lib/v1/setup/helptips/Description/Description.js +1 -1
- package/lib/v1/setup/helptips/Description/props/propTypes.js +15 -0
- package/lib/v1/setup/helptips/Link/Link.js +1 -1
- package/lib/v1/setup/helptips/Link/props/propTypes.js +18 -0
- package/lib/v1/setup/helptips/ListGroup/ListGroup.js +1 -1
- package/lib/v1/setup/helptips/ListGroup/props/propTypes.js +16 -0
- package/lib/v1/setup/helptips/Title/Title.js +1 -1
- package/lib/v1/setup/helptips/Title/props/propTypes.js +15 -0
- package/lib/v1/setup/table/Table/Table.js +2 -2
- package/lib/v1/setup/table/Table/props/defaultProps.js +11 -0
- package/lib/v1/setup/table/Table/props/propTypes.js +17 -0
- package/lib/v1/setup/table/TableBody/TableBody.js +2 -2
- package/lib/v1/setup/table/TableBody/props/defaultProps.js +10 -0
- package/lib/v1/setup/table/TableBody/props/propTypes.js +18 -0
- package/lib/v1/setup/table/TableData/TableData.js +2 -2
- package/lib/v1/setup/table/TableData/props/defaultProps.js +12 -0
- package/lib/v1/setup/table/TableData/props/propTypes.js +22 -0
- package/lib/v1/setup/table/TableHead/TableHead.js +2 -2
- package/lib/v1/setup/table/TableHead/props/defaultProps.js +11 -0
- package/lib/v1/setup/table/TableHead/props/propTypes.js +19 -0
- package/lib/v1/setup/table/TableRow/TableRow.js +2 -2
- package/lib/v1/setup/table/TableRow/props/defaultProps.js +11 -0
- package/lib/v1/setup/table/TableRow/props/propTypes.js +22 -0
- package/lib/v1/setup/table/Text/Text.js +2 -2
- package/lib/v1/setup/table/Text/props/defaultProps.js +14 -0
- package/lib/v1/setup/table/Text/props/propTypes.js +24 -0
- package/lib/v1/svg/PlusIcon.js +3 -3
- package/lib/v1/svg/SnippetIcon.js +4 -4
- package/lib/v1/svg/TemplateIcon.js +2 -2
- package/lib/v1/svg/props/defaultProps.js +24 -0
- package/lib/v1/svg/props/propTypes.js +29 -0
- package/lib/v1/utils/ChannelIconMapping.js +138 -0
- package/lib/v1/utils/General.js +58 -0
- package/lib/v1/utils/editorUtils.js +223 -0
- package/lib/version2/AlertClose/AlertClose.module.css +42 -42
- package/lib/version2/GlobalNotification/GlobalNotification.js +64 -36
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +190 -130
- package/lib/version2/GlobalNotification/props/propTypes.js +9 -4
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +88 -88
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +133 -133
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +134 -134
- package/package.json +85 -83
- package/postPublish.js +8 -8
- package/prePublish.js +70 -70
- package/propValidationArg.json +7 -7
- package/react-cli.config.js +23 -23
- package/result.json +1 -1
- package/unittest/index.html +1 -1
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.bind = bind;
|
|
7
|
+
exports.changeContent = void 0;
|
|
8
|
+
exports.editorContentValidate = editorContentValidate;
|
|
9
|
+
exports.encodeForHtml = encodeForHtml;
|
|
10
|
+
exports.fixEncoding = fixEncoding;
|
|
11
|
+
exports.getExtensionFromFileName = getExtensionFromFileName;
|
|
12
|
+
exports.getRichEditorContent = getRichEditorContent;
|
|
13
|
+
exports.isFileNameSizeInvalid = isFileNameSizeInvalid;
|
|
14
|
+
exports.isImageFormat = isImageFormat;
|
|
15
|
+
exports.loadResource = loadResource;
|
|
16
|
+
exports.triggerKeyup = triggerKeyup;
|
|
17
|
+
exports.validateEditorContentOnInsertHtml = validateEditorContentOnInsertHtml;
|
|
18
|
+
var ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200; // editorUtils
|
|
19
|
+
|
|
20
|
+
function editorContentValidate(editorObj) {
|
|
21
|
+
var content = editorObj && editorObj.getContent && editorObj.getContent() || '';
|
|
22
|
+
|
|
23
|
+
if (content == '' || !content.length || content == '<div><br></div>' || editorObj.mode !== 'plaintext' && !editorObj.doc.body.innerText.trim().length && !editorObj.doc.getElementsByTagName('img').length && !editorObj.doc.getElementsByTagName('iframe').length && !isValidSpace(editorObj)) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function isValidSpace(editorObj) {
|
|
31
|
+
var uTags = editorObj.doc.body.getElementsByTagName('u');
|
|
32
|
+
var isValidContent = false;
|
|
33
|
+
|
|
34
|
+
for (var i = 0; i < uTags.length; i++) {
|
|
35
|
+
var uTag = uTags[i];
|
|
36
|
+
var contentLength = uTag.innerText.length;
|
|
37
|
+
|
|
38
|
+
if (contentLength) {
|
|
39
|
+
isValidContent = true;
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return isValidContent;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function fixEncoding(str) {
|
|
48
|
+
if (/&lt;|&gt;/g.test(str) == true) {
|
|
49
|
+
str = str.replace(/&lt;/g, '<');
|
|
50
|
+
str = str.replace(/&gt;/g, '>');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
return str;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function encodeForHtml(str) {
|
|
57
|
+
if (/<|>|&|"|'|\\/g.test(str) == true) {
|
|
58
|
+
str = str.replace(/&/g, '&');
|
|
59
|
+
str = str.replace(/</g, '<');
|
|
60
|
+
str = str.replace(/>/g, '>');
|
|
61
|
+
str = str.replace(/"/g, '"');
|
|
62
|
+
str = str.replace(/\\/g, '\');
|
|
63
|
+
str = str.replace(/'/g, ''');
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return str;
|
|
67
|
+
} // attachment
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
function isFileNameSizeInvalid(fileName) {
|
|
71
|
+
return fileName.length > ATTACHMENT_FILE_NAME_SIZE_LIMIT;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function isImageFormat(fileName) {
|
|
75
|
+
var extension = getExtensionFromFileName(fileName);
|
|
76
|
+
return /jpeg|jpg|png|gif|bmp|ico/i.test(extension);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function getExtensionFromFileName(fileName) {
|
|
80
|
+
if (fileName && fileName.indexOf('.') != -1) {
|
|
81
|
+
return fileName.substring(fileName.lastIndexOf('.') + 1, fileName.length).toLowerCase();
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return '';
|
|
85
|
+
} // common
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
function triggerKeyup(elem) {
|
|
89
|
+
var keyup = new KeyboardEvent('keyup');
|
|
90
|
+
elem && elem.dispatchEvent && elem.dispatchEvent(keyup);
|
|
91
|
+
} // editor
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
function getRichEditorContent(key) {
|
|
95
|
+
var richTextEditor = global.editor[key];
|
|
96
|
+
|
|
97
|
+
if (richTextEditor != undefined) {
|
|
98
|
+
var content = richTextEditor.getContent();
|
|
99
|
+
content = content.trim();
|
|
100
|
+
|
|
101
|
+
if (content == '<br>') {
|
|
102
|
+
return '';
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (richTextEditor.mode == 'plaintext') {
|
|
106
|
+
content = replaceNewLineCharacter(content);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return content;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
return '';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function replaceNewLineCharacter(content) {
|
|
116
|
+
if (typeof content !== 'undefined') {
|
|
117
|
+
content = encodeForHtml(content);
|
|
118
|
+
content = content.replace(/\n/g, '<br/>');
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
return content;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
var changeContent = function changeContent(id, value) {
|
|
125
|
+
var editorObj = global.editor && global.editor[id];
|
|
126
|
+
|
|
127
|
+
if (editorObj) {
|
|
128
|
+
var content = fixEncoding(value);
|
|
129
|
+
|
|
130
|
+
if (editorObj.mode === 'plaintext') {
|
|
131
|
+
editorObj.squireInstance.setHTML(content);
|
|
132
|
+
editorObj.plainText(editorObj.squireInstance.getHTML());
|
|
133
|
+
} else {
|
|
134
|
+
editorObj.setContent(content);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
exports.changeContent = changeContent;
|
|
140
|
+
|
|
141
|
+
function validateEditorContentOnInsertHtml(node) {
|
|
142
|
+
if (node.nodeName === 'IFRAME') {
|
|
143
|
+
var iframeSrcRegex = /^(https?:)?\/\/((www\.youtube\.com)|(www\.youtube-nocookie\.com)|(([a-z\-]+\.)?flowplayer\.org)|(www\.useloom\.com)|(player\.vimeo\.com)|(www\.dailymotion\.com)|(w\.soundcloud\.com)|(whatfix\.com)|([a-z\-]+\.zoho\.com)|([a-z\-]+\.google\.com)|([a-z\-]+\.efficientforms\.com)|([a-z0-9\-]+\.microsoftstream\.com)).*$/;
|
|
144
|
+
|
|
145
|
+
if (!node.getAttribute('src') || !iframeSrcRegex.test(node.getAttribute('src'))) {
|
|
146
|
+
node.parentNode.removeChild(node);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
} // loadresource
|
|
150
|
+
|
|
151
|
+
/* use promise and remove callback*/
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
function loadResource(url, type, id, callback) {
|
|
155
|
+
return new Promise(function (resolve) {
|
|
156
|
+
var css, script;
|
|
157
|
+
|
|
158
|
+
if (id && document.getElementById(id)) {
|
|
159
|
+
resolve();
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
if (type === 'css') {
|
|
164
|
+
css = document.createElement('link');
|
|
165
|
+
css.type = 'text/css';
|
|
166
|
+
css.rel = 'stylesheet';
|
|
167
|
+
css.href = url;
|
|
168
|
+
css.id = id || '';
|
|
169
|
+
|
|
170
|
+
css.onload = function () {
|
|
171
|
+
resolve();
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
css.onerror = function () {
|
|
175
|
+
resolve();
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
document.getElementsByTagName('head')[0].appendChild(css);
|
|
179
|
+
} else if (type === 'js') {
|
|
180
|
+
script = document.createElement('script');
|
|
181
|
+
script.type = 'text/javascript';
|
|
182
|
+
script.src = url;
|
|
183
|
+
script.defer = true;
|
|
184
|
+
|
|
185
|
+
script.onload = function () {
|
|
186
|
+
resolve();
|
|
187
|
+
|
|
188
|
+
if (id) {
|
|
189
|
+
script.id = id;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
if (typeof callback === 'function') {
|
|
193
|
+
callback();
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
script.onerror = function () {
|
|
198
|
+
resolve();
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
document.getElementsByTagName('head')[0].appendChild(script);
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
} // bind
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
function bind() {
|
|
208
|
+
var _this = this;
|
|
209
|
+
|
|
210
|
+
for (var _len = arguments.length, handlers = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
211
|
+
handlers[_key] = arguments[_key];
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
handlers.forEach(function (handler) {
|
|
215
|
+
if (__DEVELOPMENT__) {
|
|
216
|
+
if (!_this[handler]) {
|
|
217
|
+
console.log('Handler method not defined: ', handler);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
_this[handler] = _this[handler].bind(_this);
|
|
222
|
+
});
|
|
223
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
.close {
|
|
2
|
-
width: var(--zd_size25) ;
|
|
3
|
-
height: var(--zd_size25) ;
|
|
4
|
-
color: var(--zdt_commonalert_close_icon);
|
|
5
|
-
border-radius: var(--zd_size4);
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.closeIcon {
|
|
10
|
-
display: block;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.light {
|
|
14
|
-
color: var(--zdt_commonalert_close_light_icon);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.close:hover {
|
|
18
|
-
background-color: var(--zdt_commonalert_close_hover_bg);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.light:hover {
|
|
22
|
-
background-color: var(--zdt_commonalert_light_hover_bg);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.success:hover {
|
|
26
|
-
background-color: var(--zdt_commonalert_success_hover_bg);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.info:hover {
|
|
30
|
-
background-color:var(--zdt_commonalert_info_hover_bg);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.warning:hover {
|
|
34
|
-
background-color: var(--zdt_commonalert_warning_hover_bg);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.danger:hover {
|
|
38
|
-
background-color: var(--zdt_commonalert_danger_hover_bg);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.error:hover {
|
|
42
|
-
background-color: var(--zdt_commonalert_error_hover_bg);
|
|
1
|
+
.close {
|
|
2
|
+
width: var(--zd_size25) ;
|
|
3
|
+
height: var(--zd_size25) ;
|
|
4
|
+
color: var(--zdt_commonalert_close_icon);
|
|
5
|
+
border-radius: var(--zd_size4);
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.closeIcon {
|
|
10
|
+
display: block;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.light {
|
|
14
|
+
color: var(--zdt_commonalert_close_light_icon);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.close:hover {
|
|
18
|
+
background-color: var(--zdt_commonalert_close_hover_bg);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.light:hover {
|
|
22
|
+
background-color: var(--zdt_commonalert_light_hover_bg);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.success:hover {
|
|
26
|
+
background-color: var(--zdt_commonalert_success_hover_bg);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.info:hover {
|
|
30
|
+
background-color:var(--zdt_commonalert_info_hover_bg);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.warning:hover {
|
|
34
|
+
background-color: var(--zdt_commonalert_warning_hover_bg);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.danger:hover {
|
|
38
|
+
background-color: var(--zdt_commonalert_danger_hover_bg);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.error:hover {
|
|
42
|
+
background-color: var(--zdt_commonalert_error_hover_bg);
|
|
43
43
|
}
|
|
@@ -9,7 +9,7 @@ exports.GlobalNotificationNew = GlobalNotificationNew;
|
|
|
9
9
|
exports.GlobalNotificationUI = GlobalNotificationUI;
|
|
10
10
|
exports["default"] = void 0;
|
|
11
11
|
|
|
12
|
-
var _react =
|
|
12
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
|
|
14
14
|
var _defaultProps = require("./props/defaultProps");
|
|
15
15
|
|
|
@@ -25,10 +25,28 @@ var _GlobalNotificationModule = _interopRequireDefault(require("./GlobalNotifica
|
|
|
25
25
|
|
|
26
26
|
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
27
27
|
|
|
28
|
+
var _Common = require("@zohodesk/components/es/utils/Common");
|
|
29
|
+
|
|
28
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
31
|
|
|
32
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
33
|
+
|
|
34
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
35
|
+
|
|
30
36
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
31
37
|
|
|
38
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
39
|
+
|
|
40
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
41
|
+
|
|
42
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
43
|
+
|
|
44
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
45
|
+
|
|
46
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
47
|
+
|
|
48
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
49
|
+
|
|
32
50
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
33
51
|
|
|
34
52
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
@@ -63,50 +81,47 @@ var GlobalNotification = /*#__PURE__*/function (_React$Component) {
|
|
|
63
81
|
_this.state = {
|
|
64
82
|
hideMessage: false
|
|
65
83
|
};
|
|
84
|
+
_this.setTimeoutId = null;
|
|
66
85
|
return _this;
|
|
67
86
|
}
|
|
68
87
|
|
|
69
88
|
_createClass(GlobalNotification, [{
|
|
70
|
-
key: "
|
|
71
|
-
value: function
|
|
89
|
+
key: "componentDidMount",
|
|
90
|
+
value: function componentDidMount() {
|
|
72
91
|
var _this$props = this.props,
|
|
73
|
-
showMessage = _this$props.showMessage,
|
|
74
92
|
hideMessage = _this$props.hideMessage,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
93
|
+
hideTime = _this$props.hideTime,
|
|
94
|
+
id = _this$props.id,
|
|
95
|
+
needAutoClose = _this$props.needAutoClose;
|
|
96
|
+
|
|
97
|
+
if (needAutoClose) {
|
|
98
|
+
this.setTimoutId = setTimeout(function () {
|
|
99
|
+
hideMessage(id);
|
|
100
|
+
}, hideTime);
|
|
83
101
|
}
|
|
84
102
|
}
|
|
85
103
|
}, {
|
|
86
|
-
key: "
|
|
87
|
-
value: function
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
hideMessage = _this$props2.hideMessage;
|
|
91
|
-
|
|
92
|
-
if (!['danger', 'error', 'warning'].includes(type)) {
|
|
93
|
-
setTimeout(function () {
|
|
94
|
-
hideMessage();
|
|
95
|
-
}, 3000);
|
|
104
|
+
key: "componentWillUnmount",
|
|
105
|
+
value: function componentWillUnmount() {
|
|
106
|
+
if (this.setTimeoutId) {
|
|
107
|
+
clearTimeout(this.setTimeoutId);
|
|
96
108
|
}
|
|
97
109
|
}
|
|
98
110
|
}, {
|
|
99
111
|
key: "render",
|
|
100
112
|
value: function render() {
|
|
101
|
-
var _this$
|
|
102
|
-
type = _this$
|
|
103
|
-
message = _this$
|
|
104
|
-
hideMessage = _this$
|
|
105
|
-
onClick = _this$
|
|
106
|
-
_this$
|
|
107
|
-
i18nKeys = _this$
|
|
108
|
-
customProps = _this$
|
|
109
|
-
dataSelectorId = _this$
|
|
113
|
+
var _this$props2 = this.props,
|
|
114
|
+
type = _this$props2.type,
|
|
115
|
+
message = _this$props2.message,
|
|
116
|
+
hideMessage = _this$props2.hideMessage,
|
|
117
|
+
onClick = _this$props2.onClick,
|
|
118
|
+
_this$props2$i18nKeys = _this$props2.i18nKeys,
|
|
119
|
+
i18nKeys = _this$props2$i18nKeys === void 0 ? {} : _this$props2$i18nKeys,
|
|
120
|
+
customProps = _this$props2.customProps,
|
|
121
|
+
dataSelectorId = _this$props2.dataSelectorId,
|
|
122
|
+
id = _this$props2.id,
|
|
123
|
+
needNotificationExpandUI = _this$props2.needNotificationExpandUI,
|
|
124
|
+
notificationCount = _this$props2.notificationCount;
|
|
110
125
|
var _i18nKeys$closeTitle = i18nKeys.closeTitle,
|
|
111
126
|
closeTitle = _i18nKeys$closeTitle === void 0 ? 'Close' : _i18nKeys$closeTitle;
|
|
112
127
|
return /*#__PURE__*/_react["default"].createElement(GlobalNotificationUI, {
|
|
@@ -116,7 +131,10 @@ var GlobalNotification = /*#__PURE__*/function (_React$Component) {
|
|
|
116
131
|
onClick: onClick,
|
|
117
132
|
closeTitle: closeTitle,
|
|
118
133
|
customProps: customProps,
|
|
119
|
-
dataSelectorId: dataSelectorId
|
|
134
|
+
dataSelectorId: dataSelectorId,
|
|
135
|
+
id: id,
|
|
136
|
+
needNotificationExpandUI: needNotificationExpandUI,
|
|
137
|
+
notificationCount: notificationCount
|
|
120
138
|
});
|
|
121
139
|
}
|
|
122
140
|
}]);
|
|
@@ -134,10 +152,18 @@ GlobalNotification.defaultProps = _defaultProps.defaultProps; // if (__DOCS__) {
|
|
|
134
152
|
// }
|
|
135
153
|
|
|
136
154
|
function GlobalNotificationUI(props) {
|
|
155
|
+
var _useState = (0, _react.useState)(true),
|
|
156
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
157
|
+
shadowClose = _useState2[0],
|
|
158
|
+
setshadowClose = _useState2[1];
|
|
159
|
+
|
|
137
160
|
function onClose(e) {
|
|
161
|
+
setshadowClose(false);
|
|
138
162
|
var hideMessage = props.hideMessage,
|
|
139
|
-
onClose = props.onClose
|
|
140
|
-
|
|
163
|
+
onClose = props.onClose,
|
|
164
|
+
id = props.id;
|
|
165
|
+
(0, _Common.cancelBubblingEffect)(e);
|
|
166
|
+
hideMessage && hideMessage(id);
|
|
141
167
|
onClose && onClose(e);
|
|
142
168
|
}
|
|
143
169
|
|
|
@@ -149,11 +175,13 @@ function GlobalNotificationUI(props) {
|
|
|
149
175
|
closeTitle = _props$closeTitle === void 0 ? '' : _props$closeTitle,
|
|
150
176
|
_props$customProps = props.customProps,
|
|
151
177
|
customProps = _props$customProps === void 0 ? {} : _props$customProps,
|
|
152
|
-
dataSelectorId = props.dataSelectorId
|
|
178
|
+
dataSelectorId = props.dataSelectorId,
|
|
179
|
+
needNotificationExpandUI = props.needNotificationExpandUI,
|
|
180
|
+
notificationCount = props.notificationCount;
|
|
153
181
|
var _customProps$ExtraPro = customProps.ExtraProps,
|
|
154
182
|
ExtraProps = _customProps$ExtraPro === void 0 ? {} : _customProps$ExtraPro;
|
|
155
183
|
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
156
|
-
className: "".concat(_GlobalNotificationModule["default"].message, " ").concat(type ? _GlobalNotificationModule["default"][type] : ''),
|
|
184
|
+
className: "".concat(_GlobalNotificationModule["default"].message, " ").concat(!needNotificationExpandUI && notificationCount > 1 && shadowClose ? _GlobalNotificationModule["default"].stackShadowOne : '', " ").concat(!needNotificationExpandUI && notificationCount > 2 && shadowClose ? _GlobalNotificationModule["default"].stackShadowTwo : '', " ").concat(type ? _GlobalNotificationModule["default"][type] : ''),
|
|
157
185
|
"data-id": "show_".concat(type, "_message"),
|
|
158
186
|
"data-test-id": "show_".concat(type, "_message"),
|
|
159
187
|
tabIndex: 0,
|