@zohodesk/dot 1.4.2 → 1.4.4
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/propValidation_report.html +1 -1
- package/.cli/stringContains.js +1 -0
- package/README.md +13 -0
- 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/es/Attachment/Attachment.js +8 -4
- package/es/Attachment/Attachment.module.css +23 -2
- package/es/Attachment/props/defaultProps.js +2 -1
- package/es/Attachment/props/propTypes.js +2 -1
- package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/es/Drawer/Drawer.js +1 -1
- package/es/Hooks/Dragger/useDragger.js +2 -2
- package/es/ImportantNotes/ImportantNotes.module.css +6 -2
- package/es/ToastMessage/ToastMessage.module.css +3 -2
- package/es/Upload/Upload.module.css +1 -1
- package/es/alert/AlertLookup/AlertLookup.module.css +1 -1
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +5 -2
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +5 -2
- package/es/errorstate/EmptyStates.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
- package/es/form/fields/Fields.module.css +1 -1
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
- package/es/list/listCommon.module.css +1 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +1 -1
- package/es/lookup/Lookup/Lookup.js +9 -2
- package/es/lookup/Lookup/Lookup.module.css +5 -0
- package/es/lookup/Lookup/props/defaultProps.js +2 -1
- package/es/lookup/Lookup/props/propTypes.js +2 -1
- package/es/lookup/Section/LookupSection.module.css +5 -4
- package/es/lookup/Section/Section.js +0 -1
- package/es/lookup/header/Close/LookupClose.module.css +1 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +73 -59
- package/es/lookup/header/ModuleHeader/props/defaultProps.js +7 -1
- package/es/lookup/header/ModuleHeader/props/propTypes.js +4 -1
- package/es/lookup/header/Title/LookupTitle.module.css +1 -0
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
- package/es/lookup/header/lookupHeaderCommon.module.css +6 -11
- package/es/setup/header/Search/Search.module.css +1 -1
- package/es/setup/header/Views/Views.module.css +1 -0
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/es/v1/ActionButton/ActionButton.js +2 -2
- 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 +10 -6
- package/es/v1/Attachment/props/defaultProps.js +8 -0
- package/es/v1/Attachment/props/propTypes.js +18 -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 +2 -2
- 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 +2 -2
- 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/AlertLookup/AlertLookup.js +2 -1
- 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 -2
- 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 +13 -5
- package/es/v1/form/fields/RadioField/props/defaultProps.js +12 -0
- package/es/v1/form/fields/RadioField/props/propTypes.js +31 -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 +2 -2
- 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 +2 -2
- 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 +11 -4
- package/es/v1/lookup/Lookup/props/defaultProps.js +9 -0
- package/es/v1/lookup/Lookup/props/propTypes.js +23 -0
- package/es/v1/lookup/Section/Section.js +1 -2
- 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 +28 -14
- package/es/v1/lookup/header/ModuleHeader/props/defaultProps.js +9 -0
- package/es/v1/lookup/header/ModuleHeader/props/propTypes.js +20 -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 +2 -2
- package/es/v1/svg/SnippetIcon.js +2 -2
- 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/GlobalNotification/GlobalNotification.module.css +1 -1
- package/es/version2/errorstate/V2_ErrorStates.module.css +1 -1
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +2 -1
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
- package/lib/Attachment/Attachment.js +8 -4
- package/lib/Attachment/Attachment.module.css +23 -2
- package/lib/Attachment/props/defaultProps.js +2 -1
- package/lib/Attachment/props/propTypes.js +2 -1
- package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/lib/Drawer/Drawer.js +1 -1
- package/lib/Hooks/Dragger/useDragger.js +2 -2
- package/lib/ImportantNotes/ImportantNotes.module.css +6 -2
- package/lib/ToastMessage/ToastMessage.module.css +3 -2
- package/lib/Upload/Upload.module.css +1 -1
- package/lib/alert/AlertLookup/AlertLookup.module.css +1 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +5 -2
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +5 -2
- package/lib/errorstate/EmptyStates.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
- package/lib/form/fields/Fields.module.css +1 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
- package/lib/list/listCommon.module.css +1 -0
- package/lib/list/status/StatusListItem/StatusListItem.module.css +1 -1
- package/lib/lookup/Lookup/Lookup.js +9 -2
- package/lib/lookup/Lookup/Lookup.module.css +5 -0
- package/lib/lookup/Lookup/props/defaultProps.js +2 -1
- package/lib/lookup/Lookup/props/propTypes.js +2 -1
- package/lib/lookup/Section/LookupSection.module.css +5 -4
- package/lib/lookup/Section/Section.js +0 -1
- package/lib/lookup/header/Close/LookupClose.module.css +1 -1
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +79 -94
- package/lib/lookup/header/ModuleHeader/props/defaultProps.js +7 -1
- package/lib/lookup/header/ModuleHeader/props/propTypes.js +4 -1
- package/lib/lookup/header/Title/LookupTitle.module.css +1 -0
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
- package/lib/lookup/header/lookupHeaderCommon.module.css +6 -11
- package/lib/setup/header/Search/Search.module.css +1 -1
- package/lib/setup/header/Views/Views.module.css +1 -0
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/lib/v1/ActionButton/ActionButton.js +2 -2
- 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 +10 -6
- package/lib/v1/Attachment/props/defaultProps.js +15 -0
- package/lib/v1/Attachment/props/propTypes.js +29 -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 +2 -2
- 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 +2 -2
- 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/AlertLookup/AlertLookup.js +2 -1
- 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 -2
- 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 +15 -5
- package/lib/v1/form/fields/RadioField/props/defaultProps.js +19 -0
- package/lib/v1/form/fields/RadioField/props/propTypes.js +42 -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 +2 -2
- 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 +2 -2
- 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 +11 -4
- package/lib/v1/lookup/Lookup/props/defaultProps.js +16 -0
- package/lib/v1/lookup/Lookup/props/propTypes.js +34 -0
- package/lib/v1/lookup/Section/Section.js +1 -2
- 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 +28 -13
- package/lib/v1/lookup/header/ModuleHeader/props/defaultProps.js +16 -0
- package/lib/v1/lookup/header/ModuleHeader/props/propTypes.js +31 -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 +2 -2
- package/lib/v1/svg/SnippetIcon.js +2 -2
- 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/GlobalNotification/GlobalNotification.module.css +1 -1
- package/lib/version2/errorstate/V2_ErrorStates.module.css +1 -1
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +2 -1
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
- package/package.json +22 -19
- package/result.json +1 -1
- /package/.cli/{AppearanceThemeValidationExcludeFiles.js → ThemeValidationExcludeFiles.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Box } from '@zohodesk/components/es/v1/Layout';
|
|
5
5
|
export default function TableBody(props) {
|
|
6
6
|
let {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Box } from '@zohodesk/components/es/v1/Layout';
|
|
5
5
|
import style from '../../../../setup/table/TableData/SetupTableData.module.css';
|
|
6
6
|
export default function TableData(props) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
align: PropTypes.oneOf(['center', 'left', 'right']),
|
|
4
|
+
children: PropTypes.element,
|
|
5
|
+
dataId: PropTypes.string,
|
|
6
|
+
flexible: PropTypes.string,
|
|
7
|
+
shrink: PropTypes.string,
|
|
8
|
+
eleRef: PropTypes.func,
|
|
9
|
+
type: PropTypes.oneOf(['size70', 'size90', 'size150', 'size220']),
|
|
10
|
+
customClass: PropTypes.string
|
|
11
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Container, Box } from '@zohodesk/components/es/v1/Layout';
|
|
5
5
|
import style from '../../../../setup/table/TableHead/SetupTableHead.module.css';
|
|
6
6
|
export default function TableHead(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Container } from '@zohodesk/components/es/v1/Layout';
|
|
5
5
|
import style from '../../../../setup/table/TableRow/SetupTableRow.module.css';
|
|
6
6
|
export default function TableRow(props) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
children: PropTypes.element,
|
|
4
|
+
className: PropTypes.string,
|
|
5
|
+
dataId: PropTypes.string,
|
|
6
|
+
eleRef: PropTypes.func,
|
|
7
|
+
eleStyle: PropTypes.object,
|
|
8
|
+
onClick: PropTypes.func,
|
|
9
|
+
onMouseEnter: PropTypes.func,
|
|
10
|
+
onMouseLeave: PropTypes.func
|
|
11
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { defaultProps } from '
|
|
3
|
-
import { propTypes } from '
|
|
2
|
+
import { defaultProps } from './props/defaultProps';
|
|
3
|
+
import { propTypes } from './props/propTypes';
|
|
4
4
|
import Link from '../../../../Link/Link';
|
|
5
5
|
import style from '../../../../setup/table/Text/TableText.module.css';
|
|
6
6
|
export default function Text(props) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
className: PropTypes.string,
|
|
4
|
+
dataId: PropTypes.string,
|
|
5
|
+
onClick: PropTypes.func,
|
|
6
|
+
palette: PropTypes.oneOf(['default', 'primary', 'green', 'danger']),
|
|
7
|
+
size: PropTypes.oneOf(['small', 'medium']),
|
|
8
|
+
target: PropTypes.string,
|
|
9
|
+
text: PropTypes.string,
|
|
10
|
+
title: PropTypes.string,
|
|
11
|
+
type: PropTypes.oneOf(['bold', 'semiBold', 'heading']),
|
|
12
|
+
url: PropTypes.string
|
|
13
|
+
};
|
package/es/v1/svg/PlusIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PlusIcon_defaultProps } from '
|
|
3
|
-
import { PlusIcon_propTypes } from '
|
|
2
|
+
import { PlusIcon_defaultProps } from './props/defaultProps';
|
|
3
|
+
import { PlusIcon_propTypes } from './props/propTypes';
|
|
4
4
|
import SVG from '@zohodesk/svg/lib/v1/SVG/SVG';
|
|
5
5
|
export default function PlusIcon(props) {
|
|
6
6
|
let {
|
package/es/v1/svg/SnippetIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SnippetIcon_defaultProps } from '
|
|
3
|
-
import { SnippetIcon_propTypes } from '
|
|
2
|
+
import { SnippetIcon_defaultProps } from './props/defaultProps';
|
|
3
|
+
import { SnippetIcon_propTypes } from './props/propTypes';
|
|
4
4
|
import SVG from '@zohodesk/svg/lib/v1/SVG/SVG';
|
|
5
5
|
export default function SnippetIcon(props) {
|
|
6
6
|
let {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TemplateIcon_defaultProps } from '
|
|
3
|
-
import { TemplateIcon_propTypes } from '
|
|
2
|
+
import { TemplateIcon_defaultProps } from './props/defaultProps';
|
|
3
|
+
import { TemplateIcon_propTypes } from './props/propTypes';
|
|
4
4
|
import SVG from '@zohodesk/svg/lib/v1/SVG/SVG';
|
|
5
5
|
export default function TemplateIcon(props) {
|
|
6
6
|
let {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const PlusIcon_defaultProps = {
|
|
2
|
+
isRender: true,
|
|
3
|
+
isSymbol: false,
|
|
4
|
+
className: ''
|
|
5
|
+
};
|
|
6
|
+
export const SnippetIcon_defaultProps = {
|
|
7
|
+
isRender: true,
|
|
8
|
+
isSymbol: false,
|
|
9
|
+
className: ''
|
|
10
|
+
};
|
|
11
|
+
export const TemplateIcon_defaultProps = {
|
|
12
|
+
isRender: true,
|
|
13
|
+
isSymbol: false,
|
|
14
|
+
className: ''
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const PlusIcon_propTypes = {
|
|
3
|
+
className: PropTypes.string,
|
|
4
|
+
isRender: PropTypes.bool,
|
|
5
|
+
isSymbol: PropTypes.bool
|
|
6
|
+
};
|
|
7
|
+
export const SnippetIcon_propTypes = {
|
|
8
|
+
className: PropTypes.string,
|
|
9
|
+
isRender: PropTypes.bool,
|
|
10
|
+
isSymbol: PropTypes.bool
|
|
11
|
+
};
|
|
12
|
+
export const TemplateIcon_propTypes = {
|
|
13
|
+
className: PropTypes.string,
|
|
14
|
+
isRender: PropTypes.bool,
|
|
15
|
+
isSymbol: PropTypes.bool
|
|
16
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
export function getChannelMappingObj() {
|
|
2
|
+
return {
|
|
3
|
+
EMAIL: {
|
|
4
|
+
default: 'ZD-CH-mail',
|
|
5
|
+
incoming: 'ZD-CH-mailIn',
|
|
6
|
+
outgoing: 'ZD-CH-mailOut',
|
|
7
|
+
draft: 'ZD-CH-draft',
|
|
8
|
+
forward: 'ZD-CH-emailForward',
|
|
9
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
10
|
+
missed: 'ZD-CH-mailMissed'
|
|
11
|
+
},
|
|
12
|
+
FACEBOOK: {
|
|
13
|
+
default: 'ZD-CH-facebook',
|
|
14
|
+
incoming: 'ZD-CH-facebookIn',
|
|
15
|
+
outgoing: 'ZD-CH-facebookOut',
|
|
16
|
+
draft: 'ZD-CH-draft',
|
|
17
|
+
forward: 'ZD-CH-emailForward',
|
|
18
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
19
|
+
missed: 'ZD-CH-facebookMissed'
|
|
20
|
+
},
|
|
21
|
+
FACEBOOK_DM: {
|
|
22
|
+
default: 'ZD-CH-directFacebook',
|
|
23
|
+
incoming: 'ZD-CH-directFacebookIn',
|
|
24
|
+
outgoing: 'ZD-CH-directFacebookOut',
|
|
25
|
+
draft: 'ZD-CH-draft',
|
|
26
|
+
forward: 'ZD-CH-emailForward',
|
|
27
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
28
|
+
missed: 'ZD-CH-directFacebookMissed'
|
|
29
|
+
},
|
|
30
|
+
TWITTER: {
|
|
31
|
+
default: 'ZD-CH-twitter',
|
|
32
|
+
incoming: 'ZD-CH-twitterIn',
|
|
33
|
+
outgoing: 'ZD-CH-twitterOut',
|
|
34
|
+
draft: 'ZD-CH-draft',
|
|
35
|
+
forward: 'ZD-CH-emailForward',
|
|
36
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
37
|
+
missed: 'ZD-CH-twitterMissed'
|
|
38
|
+
},
|
|
39
|
+
FORUMS: {
|
|
40
|
+
default: 'ZD-CH-forum',
|
|
41
|
+
incoming: 'ZD-CH-forumIn',
|
|
42
|
+
outgoing: 'ZD-CH-forumOut',
|
|
43
|
+
draft: 'ZD-CH-draft',
|
|
44
|
+
forward: 'ZD-CH-emailForward',
|
|
45
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
46
|
+
missed: 'ZD-CH-forumMissed'
|
|
47
|
+
},
|
|
48
|
+
CHAT: {
|
|
49
|
+
default: 'ZD-CH-chat',
|
|
50
|
+
incoming: 'ZD-CH-chatIn',
|
|
51
|
+
outgoing: 'ZD-CH-chatOut',
|
|
52
|
+
draft: 'ZD-CH-draft',
|
|
53
|
+
forward: 'ZD-CH-emailForward',
|
|
54
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
55
|
+
missed: 'ZD-CH-chatMissed'
|
|
56
|
+
},
|
|
57
|
+
OFFLINE_CHAT: {
|
|
58
|
+
default: 'ZD-CH-chat',
|
|
59
|
+
incoming: 'ZD-CH-chatIn',
|
|
60
|
+
outgoing: 'ZD-CH-chatOut',
|
|
61
|
+
draft: 'ZD-CH-draft',
|
|
62
|
+
forward: 'ZD-CH-emailForward',
|
|
63
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
64
|
+
missed: 'ZD-CH-chatMissed'
|
|
65
|
+
},
|
|
66
|
+
ONLINE_CHAT: {
|
|
67
|
+
default: 'ZD-CH-chat',
|
|
68
|
+
incoming: 'ZD-CH-chatIn',
|
|
69
|
+
outgoing: 'ZD-CH-chatOut',
|
|
70
|
+
draft: 'ZD-CH-draft',
|
|
71
|
+
forward: 'ZD-CH-emailForward',
|
|
72
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
73
|
+
missed: 'ZD-CH-chatMissed'
|
|
74
|
+
},
|
|
75
|
+
PHONE: {
|
|
76
|
+
default: 'ZD-CH-call',
|
|
77
|
+
incoming: 'ZD-CH-callIn',
|
|
78
|
+
outgoing: 'ZD-CH-callOut',
|
|
79
|
+
draft: 'ZD-CH-draft',
|
|
80
|
+
forward: 'ZD-CH-emailForward',
|
|
81
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
82
|
+
missed: 'ZD-CH-callMissed'
|
|
83
|
+
},
|
|
84
|
+
WEB: {
|
|
85
|
+
default: 'ZD-CH-web',
|
|
86
|
+
incoming: 'ZD-CH-webIn',
|
|
87
|
+
out: 'ZD-CH-webOut',
|
|
88
|
+
draft: 'ZD-CH-draft',
|
|
89
|
+
forward: 'ZD-CH-emailForward',
|
|
90
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
91
|
+
missed: 'ZD-CH-webMissed'
|
|
92
|
+
},
|
|
93
|
+
CUSTOMERPORTAL: {
|
|
94
|
+
default: 'ZD-CH-web',
|
|
95
|
+
incoming: 'ZD-CH-webIn',
|
|
96
|
+
out: 'ZD-CH-webOut',
|
|
97
|
+
draft: 'ZD-CH-draft',
|
|
98
|
+
forward: 'ZD-CH-emailForward',
|
|
99
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
100
|
+
missed: 'ZD-CH-webMissed'
|
|
101
|
+
},
|
|
102
|
+
FEEDBACK: {
|
|
103
|
+
default: 'ZD-CH-happiness',
|
|
104
|
+
incoming: 'ZD-CH-happinessIn',
|
|
105
|
+
out: 'ZD-CH-happinessOut',
|
|
106
|
+
draft: 'ZD-CH-draft',
|
|
107
|
+
forward: 'ZD-CH-emailForward',
|
|
108
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
109
|
+
missed: 'ZD-CH-happinessMissed'
|
|
110
|
+
},
|
|
111
|
+
'FEEDBACK WIDGET': {
|
|
112
|
+
default: 'ZD-CH-feedbackWidget'
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
export function getActivitiesIconObj(name) {
|
|
117
|
+
let activitiesIcons = {
|
|
118
|
+
'ZD-TK-task': '18',
|
|
119
|
+
'ZD-SE-conversation': '21',
|
|
120
|
+
'ZD-GN-phone': '21',
|
|
121
|
+
'ZD-TK-remoteAssist': '18',
|
|
122
|
+
'ZD-TK-event': '18',
|
|
123
|
+
'ZD-CH-callIn': '21',
|
|
124
|
+
'ZD-CH-callMissed': '21',
|
|
125
|
+
'ZD-CH-callOut': '21',
|
|
126
|
+
'ZD-CH-callOutBound': '21'
|
|
127
|
+
};
|
|
128
|
+
return activitiesIcons[name] ? activitiesIcons[name] : null;
|
|
129
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export function stopBubbling(event) {
|
|
2
|
+
event.preventDefault();
|
|
3
|
+
event.stopPropagation && event.stopPropagation();
|
|
4
|
+
event.nativeEvent && event.nativeEvent.stopImmediatePropagation && event.nativeEvent.stopImmediatePropagation();
|
|
5
|
+
}
|
|
6
|
+
export function getFullName() {
|
|
7
|
+
let firstName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
8
|
+
let lastName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
9
|
+
let fullName = '';
|
|
10
|
+
|
|
11
|
+
if (firstName !== null && firstName !== '') {
|
|
12
|
+
fullName = firstName;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (lastName !== null && lastName !== '') {
|
|
16
|
+
fullName = `${fullName}${lastName}`;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return fullName;
|
|
20
|
+
}
|
|
21
|
+
export function shallowDiff() {
|
|
22
|
+
let a = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
23
|
+
let b = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
24
|
+
|
|
25
|
+
for (let i in a) {
|
|
26
|
+
if (!(i in b)) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
for (let i in b) {
|
|
32
|
+
if (a[i] !== b[i]) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
export function formatPhoneUrl(phone) {
|
|
40
|
+
if (/^[0-9]{1,10}$/.test(phone)) {
|
|
41
|
+
return phone.length == 10 ? `(${phone.slice(0, 3)}) ${phone.slice(3, 6)}-${phone.slice(6, 10)}` : phone;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return phone;
|
|
45
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
const ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200; // editorUtils
|
|
2
|
+
|
|
3
|
+
export function editorContentValidate(editorObj) {
|
|
4
|
+
let content = editorObj && editorObj.getContent && editorObj.getContent() || '';
|
|
5
|
+
|
|
6
|
+
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)) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function isValidSpace(editorObj) {
|
|
14
|
+
let uTags = editorObj.doc.body.getElementsByTagName('u');
|
|
15
|
+
let isValidContent = false;
|
|
16
|
+
|
|
17
|
+
for (let i = 0; i < uTags.length; i++) {
|
|
18
|
+
let uTag = uTags[i];
|
|
19
|
+
let contentLength = uTag.innerText.length;
|
|
20
|
+
|
|
21
|
+
if (contentLength) {
|
|
22
|
+
isValidContent = true;
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return isValidContent;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export function fixEncoding(str) {
|
|
31
|
+
if (/&lt;|&gt;/g.test(str) == true) {
|
|
32
|
+
str = str.replace(/&lt;/g, '<');
|
|
33
|
+
str = str.replace(/&gt;/g, '>');
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return str;
|
|
37
|
+
}
|
|
38
|
+
export function encodeForHtml(str) {
|
|
39
|
+
if (/<|>|&|"|'|\\/g.test(str) == true) {
|
|
40
|
+
str = str.replace(/&/g, '&');
|
|
41
|
+
str = str.replace(/</g, '<');
|
|
42
|
+
str = str.replace(/>/g, '>');
|
|
43
|
+
str = str.replace(/"/g, '"');
|
|
44
|
+
str = str.replace(/\\/g, '\');
|
|
45
|
+
str = str.replace(/'/g, ''');
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
return str;
|
|
49
|
+
} // attachment
|
|
50
|
+
|
|
51
|
+
export function isFileNameSizeInvalid(fileName) {
|
|
52
|
+
return fileName.length > ATTACHMENT_FILE_NAME_SIZE_LIMIT;
|
|
53
|
+
}
|
|
54
|
+
export function isImageFormat(fileName) {
|
|
55
|
+
let extension = getExtensionFromFileName(fileName);
|
|
56
|
+
return /jpeg|jpg|png|gif|bmp|ico/i.test(extension);
|
|
57
|
+
}
|
|
58
|
+
export function getExtensionFromFileName(fileName) {
|
|
59
|
+
if (fileName && fileName.indexOf('.') != -1) {
|
|
60
|
+
return fileName.substring(fileName.lastIndexOf('.') + 1, fileName.length).toLowerCase();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return '';
|
|
64
|
+
} // common
|
|
65
|
+
|
|
66
|
+
export function triggerKeyup(elem) {
|
|
67
|
+
let keyup = new KeyboardEvent('keyup');
|
|
68
|
+
elem && elem.dispatchEvent && elem.dispatchEvent(keyup);
|
|
69
|
+
} // editor
|
|
70
|
+
|
|
71
|
+
export function getRichEditorContent(key) {
|
|
72
|
+
let richTextEditor = global.editor[key];
|
|
73
|
+
|
|
74
|
+
if (richTextEditor != undefined) {
|
|
75
|
+
let content = richTextEditor.getContent();
|
|
76
|
+
content = content.trim();
|
|
77
|
+
|
|
78
|
+
if (content == '<br>') {
|
|
79
|
+
return '';
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (richTextEditor.mode == 'plaintext') {
|
|
83
|
+
content = replaceNewLineCharacter(content);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return content;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return '';
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
function replaceNewLineCharacter(content) {
|
|
93
|
+
if (typeof content !== 'undefined') {
|
|
94
|
+
content = encodeForHtml(content);
|
|
95
|
+
content = content.replace(/\n/g, '<br/>');
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return content;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export const changeContent = (id, value) => {
|
|
102
|
+
let editorObj = global.editor && global.editor[id];
|
|
103
|
+
|
|
104
|
+
if (editorObj) {
|
|
105
|
+
let content = fixEncoding(value);
|
|
106
|
+
|
|
107
|
+
if (editorObj.mode === 'plaintext') {
|
|
108
|
+
editorObj.squireInstance.setHTML(content);
|
|
109
|
+
editorObj.plainText(editorObj.squireInstance.getHTML());
|
|
110
|
+
} else {
|
|
111
|
+
editorObj.setContent(content);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
export function validateEditorContentOnInsertHtml(node) {
|
|
116
|
+
if (node.nodeName === 'IFRAME') {
|
|
117
|
+
let 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)).*$/;
|
|
118
|
+
|
|
119
|
+
if (!node.getAttribute('src') || !iframeSrcRegex.test(node.getAttribute('src'))) {
|
|
120
|
+
node.parentNode.removeChild(node);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
} // loadresource
|
|
124
|
+
|
|
125
|
+
/* use promise and remove callback*/
|
|
126
|
+
|
|
127
|
+
export function loadResource(url, type, id, callback) {
|
|
128
|
+
return new Promise(resolve => {
|
|
129
|
+
let css, script;
|
|
130
|
+
|
|
131
|
+
if (id && document.getElementById(id)) {
|
|
132
|
+
resolve();
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
if (type === 'css') {
|
|
137
|
+
css = document.createElement('link');
|
|
138
|
+
css.type = 'text/css';
|
|
139
|
+
css.rel = 'stylesheet';
|
|
140
|
+
css.href = url;
|
|
141
|
+
css.id = id || '';
|
|
142
|
+
|
|
143
|
+
css.onload = function () {
|
|
144
|
+
resolve();
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
css.onerror = function () {
|
|
148
|
+
resolve();
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
document.getElementsByTagName('head')[0].appendChild(css);
|
|
152
|
+
} else if (type === 'js') {
|
|
153
|
+
script = document.createElement('script');
|
|
154
|
+
script.type = 'text/javascript';
|
|
155
|
+
script.src = url;
|
|
156
|
+
script.defer = true;
|
|
157
|
+
|
|
158
|
+
script.onload = function () {
|
|
159
|
+
resolve();
|
|
160
|
+
|
|
161
|
+
if (id) {
|
|
162
|
+
script.id = id;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (typeof callback === 'function') {
|
|
166
|
+
callback();
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
script.onerror = function () {
|
|
171
|
+
resolve();
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
document.getElementsByTagName('head')[0].appendChild(script);
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
} // bind
|
|
178
|
+
|
|
179
|
+
export function bind() {
|
|
180
|
+
for (var _len = arguments.length, handlers = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
181
|
+
handlers[_key] = arguments[_key];
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
handlers.forEach(handler => {
|
|
185
|
+
if (__DEVELOPMENT__) {
|
|
186
|
+
if (!this[handler]) {
|
|
187
|
+
console.log('Handler method not defined: ', handler);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
this[handler] = this[handler].bind(this);
|
|
192
|
+
});
|
|
193
|
+
}
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
.title {
|
|
57
57
|
color: var(--zdt_alertlookupnew_text);
|
|
58
58
|
font-size: var(--zd_font_size18) ;
|
|
59
|
-
line-height:
|
|
59
|
+
line-height: 1.2222;
|
|
60
60
|
font-family: var(--zd_bold);
|
|
61
61
|
composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
62
62
|
vertical-align: middle;
|
|
@@ -133,7 +133,8 @@ export default class AlertLookup extends Component {
|
|
|
133
133
|
onClick: onLookupClick,
|
|
134
134
|
customClass: containerClass,
|
|
135
135
|
a11y: a11y,
|
|
136
|
-
childAnimationName: childAnimationName
|
|
136
|
+
childAnimationName: childAnimationName,
|
|
137
|
+
isFlexWrapper: false
|
|
137
138
|
}, LookupProps), /*#__PURE__*/React.createElement(Container, {
|
|
138
139
|
alignBox: "row",
|
|
139
140
|
align: align,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
.innerSection {
|
|
6
6
|
color: var(--zdt_alertlookupnew_text);
|
|
7
7
|
font-size: var(--zd_font_size14) ;
|
|
8
|
-
line-height:
|
|
8
|
+
line-height: 1.428;
|
|
9
9
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
10
10
|
padding: var(--zd_size17) var(--zd_size30) var(--zd_size30) ;
|
|
11
11
|
}
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
|
|
109
109
|
.subTitle {
|
|
110
110
|
font-size: var(--zd_font_size15) ;
|
|
111
|
-
line-height:
|
|
111
|
+
line-height: 1.3333;
|
|
112
112
|
font-family: var(--zd_semibold);
|
|
113
113
|
composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
114
114
|
}
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
|
|
120
120
|
.infoText {
|
|
121
121
|
font-size: var(--zd_font_size14) ;
|
|
122
|
-
line-height:
|
|
122
|
+
line-height: 1.2857;
|
|
123
123
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -65,7 +65,7 @@ export default class DesktopNotificationHeader extends Component {
|
|
|
65
65
|
$ui_className: style.title,
|
|
66
66
|
$ui_tagName: "h1",
|
|
67
67
|
$ui_size: uptoTablet ? '16' : '18',
|
|
68
|
-
$ui_lineHeight: "
|
|
68
|
+
$ui_lineHeight: "1.2",
|
|
69
69
|
$ui_weight: "bold",
|
|
70
70
|
$flag_reset: true,
|
|
71
71
|
$ui_wordBreak: "breakWord"
|