@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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.defaultProps = void 0;
|
|
7
|
+
var defaultProps = {
|
|
8
|
+
size: 'small',
|
|
9
|
+
palette: 'default',
|
|
10
|
+
target: '_blank',
|
|
11
|
+
dataId: 'text',
|
|
12
|
+
className: ''
|
|
13
|
+
};
|
|
14
|
+
exports.defaultProps = defaultProps;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.propTypes = void 0;
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var propTypes = {
|
|
13
|
+
className: _propTypes["default"].string,
|
|
14
|
+
dataId: _propTypes["default"].string,
|
|
15
|
+
onClick: _propTypes["default"].func,
|
|
16
|
+
palette: _propTypes["default"].oneOf(['default', 'primary', 'green', 'danger']),
|
|
17
|
+
size: _propTypes["default"].oneOf(['small', 'medium']),
|
|
18
|
+
target: _propTypes["default"].string,
|
|
19
|
+
text: _propTypes["default"].string,
|
|
20
|
+
title: _propTypes["default"].string,
|
|
21
|
+
type: _propTypes["default"].oneOf(['bold', 'semiBold', 'heading']),
|
|
22
|
+
url: _propTypes["default"].string
|
|
23
|
+
};
|
|
24
|
+
exports.propTypes = propTypes;
|
package/lib/v1/svg/PlusIcon.js
CHANGED
|
@@ -7,9 +7,9 @@ exports["default"] = PlusIcon;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var _defaultProps = require("
|
|
10
|
+
var _defaultProps = require("./props/defaultProps");
|
|
11
11
|
|
|
12
|
-
var _propTypes = require("
|
|
12
|
+
var _propTypes = require("./props/propTypes");
|
|
13
13
|
|
|
14
14
|
var _SVG = _interopRequireDefault(require("@zohodesk/svg/lib/v1/SVG/SVG"));
|
|
15
15
|
|
|
@@ -7,9 +7,9 @@ exports["default"] = SnippetIcon;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var _defaultProps = require("
|
|
10
|
+
var _defaultProps = require("./props/defaultProps");
|
|
11
11
|
|
|
12
|
-
var _propTypes = require("
|
|
12
|
+
var _propTypes = require("./props/propTypes");
|
|
13
13
|
|
|
14
14
|
var _SVG = _interopRequireDefault(require("@zohodesk/svg/lib/v1/SVG/SVG"));
|
|
15
15
|
|
|
@@ -7,9 +7,9 @@ exports["default"] = TemplateIcon;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var _defaultProps = require("
|
|
10
|
+
var _defaultProps = require("./props/defaultProps");
|
|
11
11
|
|
|
12
|
-
var _propTypes = require("
|
|
12
|
+
var _propTypes = require("./props/propTypes");
|
|
13
13
|
|
|
14
14
|
var _SVG = _interopRequireDefault(require("@zohodesk/svg/lib/v1/SVG/SVG"));
|
|
15
15
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TemplateIcon_defaultProps = exports.SnippetIcon_defaultProps = exports.PlusIcon_defaultProps = void 0;
|
|
7
|
+
var PlusIcon_defaultProps = {
|
|
8
|
+
isRender: true,
|
|
9
|
+
isSymbol: false,
|
|
10
|
+
className: ''
|
|
11
|
+
};
|
|
12
|
+
exports.PlusIcon_defaultProps = PlusIcon_defaultProps;
|
|
13
|
+
var SnippetIcon_defaultProps = {
|
|
14
|
+
isRender: true,
|
|
15
|
+
isSymbol: false,
|
|
16
|
+
className: ''
|
|
17
|
+
};
|
|
18
|
+
exports.SnippetIcon_defaultProps = SnippetIcon_defaultProps;
|
|
19
|
+
var TemplateIcon_defaultProps = {
|
|
20
|
+
isRender: true,
|
|
21
|
+
isSymbol: false,
|
|
22
|
+
className: ''
|
|
23
|
+
};
|
|
24
|
+
exports.TemplateIcon_defaultProps = TemplateIcon_defaultProps;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TemplateIcon_propTypes = exports.SnippetIcon_propTypes = exports.PlusIcon_propTypes = void 0;
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
var PlusIcon_propTypes = {
|
|
13
|
+
className: _propTypes["default"].string,
|
|
14
|
+
isRender: _propTypes["default"].bool,
|
|
15
|
+
isSymbol: _propTypes["default"].bool
|
|
16
|
+
};
|
|
17
|
+
exports.PlusIcon_propTypes = PlusIcon_propTypes;
|
|
18
|
+
var SnippetIcon_propTypes = {
|
|
19
|
+
className: _propTypes["default"].string,
|
|
20
|
+
isRender: _propTypes["default"].bool,
|
|
21
|
+
isSymbol: _propTypes["default"].bool
|
|
22
|
+
};
|
|
23
|
+
exports.SnippetIcon_propTypes = SnippetIcon_propTypes;
|
|
24
|
+
var TemplateIcon_propTypes = {
|
|
25
|
+
className: _propTypes["default"].string,
|
|
26
|
+
isRender: _propTypes["default"].bool,
|
|
27
|
+
isSymbol: _propTypes["default"].bool
|
|
28
|
+
};
|
|
29
|
+
exports.TemplateIcon_propTypes = TemplateIcon_propTypes;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getActivitiesIconObj = getActivitiesIconObj;
|
|
7
|
+
exports.getChannelMappingObj = getChannelMappingObj;
|
|
8
|
+
|
|
9
|
+
function getChannelMappingObj() {
|
|
10
|
+
return {
|
|
11
|
+
EMAIL: {
|
|
12
|
+
"default": 'ZD-CH-mail',
|
|
13
|
+
incoming: 'ZD-CH-mailIn',
|
|
14
|
+
outgoing: 'ZD-CH-mailOut',
|
|
15
|
+
draft: 'ZD-CH-draft',
|
|
16
|
+
forward: 'ZD-CH-emailForward',
|
|
17
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
18
|
+
missed: 'ZD-CH-mailMissed'
|
|
19
|
+
},
|
|
20
|
+
FACEBOOK: {
|
|
21
|
+
"default": 'ZD-CH-facebook',
|
|
22
|
+
incoming: 'ZD-CH-facebookIn',
|
|
23
|
+
outgoing: 'ZD-CH-facebookOut',
|
|
24
|
+
draft: 'ZD-CH-draft',
|
|
25
|
+
forward: 'ZD-CH-emailForward',
|
|
26
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
27
|
+
missed: 'ZD-CH-facebookMissed'
|
|
28
|
+
},
|
|
29
|
+
FACEBOOK_DM: {
|
|
30
|
+
"default": 'ZD-CH-directFacebook',
|
|
31
|
+
incoming: 'ZD-CH-directFacebookIn',
|
|
32
|
+
outgoing: 'ZD-CH-directFacebookOut',
|
|
33
|
+
draft: 'ZD-CH-draft',
|
|
34
|
+
forward: 'ZD-CH-emailForward',
|
|
35
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
36
|
+
missed: 'ZD-CH-directFacebookMissed'
|
|
37
|
+
},
|
|
38
|
+
TWITTER: {
|
|
39
|
+
"default": 'ZD-CH-twitter',
|
|
40
|
+
incoming: 'ZD-CH-twitterIn',
|
|
41
|
+
outgoing: 'ZD-CH-twitterOut',
|
|
42
|
+
draft: 'ZD-CH-draft',
|
|
43
|
+
forward: 'ZD-CH-emailForward',
|
|
44
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
45
|
+
missed: 'ZD-CH-twitterMissed'
|
|
46
|
+
},
|
|
47
|
+
FORUMS: {
|
|
48
|
+
"default": 'ZD-CH-forum',
|
|
49
|
+
incoming: 'ZD-CH-forumIn',
|
|
50
|
+
outgoing: 'ZD-CH-forumOut',
|
|
51
|
+
draft: 'ZD-CH-draft',
|
|
52
|
+
forward: 'ZD-CH-emailForward',
|
|
53
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
54
|
+
missed: 'ZD-CH-forumMissed'
|
|
55
|
+
},
|
|
56
|
+
CHAT: {
|
|
57
|
+
"default": 'ZD-CH-chat',
|
|
58
|
+
incoming: 'ZD-CH-chatIn',
|
|
59
|
+
outgoing: 'ZD-CH-chatOut',
|
|
60
|
+
draft: 'ZD-CH-draft',
|
|
61
|
+
forward: 'ZD-CH-emailForward',
|
|
62
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
63
|
+
missed: 'ZD-CH-chatMissed'
|
|
64
|
+
},
|
|
65
|
+
OFFLINE_CHAT: {
|
|
66
|
+
"default": 'ZD-CH-chat',
|
|
67
|
+
incoming: 'ZD-CH-chatIn',
|
|
68
|
+
outgoing: 'ZD-CH-chatOut',
|
|
69
|
+
draft: 'ZD-CH-draft',
|
|
70
|
+
forward: 'ZD-CH-emailForward',
|
|
71
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
72
|
+
missed: 'ZD-CH-chatMissed'
|
|
73
|
+
},
|
|
74
|
+
ONLINE_CHAT: {
|
|
75
|
+
"default": 'ZD-CH-chat',
|
|
76
|
+
incoming: 'ZD-CH-chatIn',
|
|
77
|
+
outgoing: 'ZD-CH-chatOut',
|
|
78
|
+
draft: 'ZD-CH-draft',
|
|
79
|
+
forward: 'ZD-CH-emailForward',
|
|
80
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
81
|
+
missed: 'ZD-CH-chatMissed'
|
|
82
|
+
},
|
|
83
|
+
PHONE: {
|
|
84
|
+
"default": 'ZD-CH-call',
|
|
85
|
+
incoming: 'ZD-CH-callIn',
|
|
86
|
+
outgoing: 'ZD-CH-callOut',
|
|
87
|
+
draft: 'ZD-CH-draft',
|
|
88
|
+
forward: 'ZD-CH-emailForward',
|
|
89
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
90
|
+
missed: 'ZD-CH-callMissed'
|
|
91
|
+
},
|
|
92
|
+
WEB: {
|
|
93
|
+
"default": 'ZD-CH-web',
|
|
94
|
+
incoming: 'ZD-CH-webIn',
|
|
95
|
+
out: 'ZD-CH-webOut',
|
|
96
|
+
draft: 'ZD-CH-draft',
|
|
97
|
+
forward: 'ZD-CH-emailForward',
|
|
98
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
99
|
+
missed: 'ZD-CH-webMissed'
|
|
100
|
+
},
|
|
101
|
+
CUSTOMERPORTAL: {
|
|
102
|
+
"default": 'ZD-CH-web',
|
|
103
|
+
incoming: 'ZD-CH-webIn',
|
|
104
|
+
out: 'ZD-CH-webOut',
|
|
105
|
+
draft: 'ZD-CH-draft',
|
|
106
|
+
forward: 'ZD-CH-emailForward',
|
|
107
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
108
|
+
missed: 'ZD-CH-webMissed'
|
|
109
|
+
},
|
|
110
|
+
FEEDBACK: {
|
|
111
|
+
"default": 'ZD-CH-happiness',
|
|
112
|
+
incoming: 'ZD-CH-happinessIn',
|
|
113
|
+
out: 'ZD-CH-happinessOut',
|
|
114
|
+
draft: 'ZD-CH-draft',
|
|
115
|
+
forward: 'ZD-CH-emailForward',
|
|
116
|
+
forwardDraft: 'ZD-TK-forwardDraft',
|
|
117
|
+
missed: 'ZD-CH-happinessMissed'
|
|
118
|
+
},
|
|
119
|
+
'FEEDBACK WIDGET': {
|
|
120
|
+
"default": 'ZD-CH-feedbackWidget'
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
function getActivitiesIconObj(name) {
|
|
126
|
+
var activitiesIcons = {
|
|
127
|
+
'ZD-TK-task': '18',
|
|
128
|
+
'ZD-SE-conversation': '21',
|
|
129
|
+
'ZD-GN-phone': '21',
|
|
130
|
+
'ZD-TK-remoteAssist': '18',
|
|
131
|
+
'ZD-TK-event': '18',
|
|
132
|
+
'ZD-CH-callIn': '21',
|
|
133
|
+
'ZD-CH-callMissed': '21',
|
|
134
|
+
'ZD-CH-callOut': '21',
|
|
135
|
+
'ZD-CH-callOutBound': '21'
|
|
136
|
+
};
|
|
137
|
+
return activitiesIcons[name] ? activitiesIcons[name] : null;
|
|
138
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.formatPhoneUrl = formatPhoneUrl;
|
|
7
|
+
exports.getFullName = getFullName;
|
|
8
|
+
exports.shallowDiff = shallowDiff;
|
|
9
|
+
exports.stopBubbling = stopBubbling;
|
|
10
|
+
|
|
11
|
+
function stopBubbling(event) {
|
|
12
|
+
event.preventDefault();
|
|
13
|
+
event.stopPropagation && event.stopPropagation();
|
|
14
|
+
event.nativeEvent && event.nativeEvent.stopImmediatePropagation && event.nativeEvent.stopImmediatePropagation();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function getFullName() {
|
|
18
|
+
var firstName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
19
|
+
var lastName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
20
|
+
var fullName = '';
|
|
21
|
+
|
|
22
|
+
if (firstName !== null && firstName !== '') {
|
|
23
|
+
fullName = firstName;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
if (lastName !== null && lastName !== '') {
|
|
27
|
+
fullName = "".concat(fullName).concat(lastName);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return fullName;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function shallowDiff() {
|
|
34
|
+
var a = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
35
|
+
var b = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
36
|
+
|
|
37
|
+
for (var i in a) {
|
|
38
|
+
if (!(i in b)) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
for (var _i in b) {
|
|
44
|
+
if (a[_i] !== b[_i]) {
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function formatPhoneUrl(phone) {
|
|
53
|
+
if (/^[0-9]{1,10}$/.test(phone)) {
|
|
54
|
+
return phone.length == 10 ? "(".concat(phone.slice(0, 3), ") ").concat(phone.slice(3, 6), "-").concat(phone.slice(6, 10)) : phone;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return phone;
|
|
58
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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;
|
|
@@ -192,7 +192,8 @@ var AlertLookup = /*#__PURE__*/function (_Component) {
|
|
|
192
192
|
onClick: onLookupClick,
|
|
193
193
|
customClass: containerClass,
|
|
194
194
|
a11y: a11y,
|
|
195
|
-
childAnimationName: childAnimationName
|
|
195
|
+
childAnimationName: childAnimationName,
|
|
196
|
+
isFlexWrapper: false
|
|
196
197
|
}, LookupProps), /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
197
198
|
alignBox: "row",
|
|
198
199
|
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
|
|
|
@@ -113,7 +113,7 @@ var DesktopNotificationHeader = /*#__PURE__*/function (_Component) {
|
|
|
113
113
|
$ui_className: _DesktopNotificationHeaderModule["default"].title,
|
|
114
114
|
$ui_tagName: "h1",
|
|
115
115
|
$ui_size: uptoTablet ? '16' : '18',
|
|
116
|
-
$ui_lineHeight: "
|
|
116
|
+
$ui_lineHeight: "1.2",
|
|
117
117
|
$ui_weight: "bold",
|
|
118
118
|
$flag_reset: true,
|
|
119
119
|
$ui_wordBreak: "breakWord"
|
package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.primary .infoText {
|
|
70
|
-
line-height:
|
|
70
|
+
line-height: 1;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.primary .close {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.secondary .infoText {
|
|
99
|
-
line-height:
|
|
99
|
+
line-height: 1.4286;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.secondary .iconContainer {
|