@zohodesk/dot 1.0.0-temp-197.3 → 1.0.0-temp-195.2
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/README.md +0 -11
- package/es/ActionButton/ActionButton.js +3 -3
- package/es/ActionButton/__tests__/ActionButton.spec.js +1 -1
- package/es/AlphabeticList/AlphabeticList.js +3 -3
- package/es/AlphabeticList/__tests__/AlphabeticList.spec.js +1 -1
- package/es/Attachment/Attachment.js +4 -4
- package/es/Attachment/__tests__/Attachment.spec.js +1 -1
- package/es/AttachmentViewer/AttachmentImage.js +4 -4
- package/es/AttachmentViewer/AttachmentViewer.js +9 -9
- package/es/AttachmentViewer/__tests__/AttachmentImage.spec.js +1 -1
- package/es/AttachmentViewer/__tests__/AttachmentViewer.spec.js +1 -1
- package/es/ChannelIcon/ChannelIcon.js +5 -5
- package/es/ChannelIcon/__tests__/ChannelIcon.spec.js +1 -1
- package/es/Drawer/Drawer.js +6 -6
- package/es/Drawer/__tests__/Drawer.spec.js +1 -1
- package/es/Drawer/index.js +1 -1
- package/es/ExternalLink/ExternalLink.js +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +1 -1
- package/es/FlipCard/FlipCard.js +7 -7
- package/es/FlipCard/__tests__/FlipCard.spec.js +1 -1
- package/es/FormAction/FormAction.js +3 -3
- package/es/FormAction/__tests__/FormAction.spec.js +1 -1
- package/es/FreezeLayer/FreezeLayer.js +5 -5
- package/es/FreezeLayer/__tests__/FreezeLayer.spec.js +1 -1
- package/es/FreezeLayer/index.js +2 -2
- package/es/Hooks/Dragger/useDragger.js +5 -5
- package/es/Hooks/useFreezeLayer.js +1 -1
- package/es/IconButton/IconButton.js +3 -3
- package/es/IconButton/__tests__/IconButton.spec.js +1 -1
- package/es/Image/Image.js +3 -3
- package/es/Image/__tests__/Image.spec.js +1 -1
- package/es/ImportantNotes/ImportantNotes.js +3 -3
- package/es/ImportantNotes/__tests__/ImportantNotes.spec.js +1 -1
- package/es/Link/Link.js +4 -4
- package/es/Link/__tests__/Link.spec.js +1 -1
- package/es/Loader/Loader.js +1 -1
- package/es/Loader/__tests__/Loader.spec.js +1 -1
- package/es/Message/Message.js +4 -4
- package/es/Message/__tests__/Message.spec.js +1 -1
- package/es/Message/props/propTypes.js +1 -1
- package/es/MessageBanner/MessageBanner.js +4 -4
- package/es/MessageBanner/__tests__/MessageBanner.spec.js +1 -1
- package/es/NewStar/NewStar.js +3 -3
- package/es/NewStar/__tests__/NewStar.spec.js +1 -1
- package/es/PlusIcon/PlusIcon.js +4 -4
- package/es/PlusIcon/__tests__/PlusIcon.spec.js +1 -1
- package/es/Separator/Separator.js +3 -3
- package/es/Separator/__tests__/Separator.spec.js +1 -1
- package/es/TagWithIcon/TagWithIcon.js +3 -3
- package/es/TagWithIcon/__tests__/TagWithIcon.spec.js +1 -1
- package/es/ToastMessage/ToastMessage.js +4 -4
- package/es/ToastMessage/__tests__/ToastMessage.spec.js +1 -1
- package/es/Upload/Upload.js +4 -4
- package/es/Upload/__tests__/Upload.spec.js +1 -1
- package/es/actions/AutoClose.js +2 -2
- package/es/alert/AlertHeader/AlertHeader.js +5 -5
- package/es/alert/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/alert/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/alert/index.js +2 -2
- package/es/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/avatar/AvatarClose/__tests__/AvatarClose.spec.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/avatar/AvatarCollision/__tests__/AvatarCollision.spec.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/es/avatar/AvatarIcon/__tests__/AvatarIcon.spec.js +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/avatar/AvatarStatus/__tests__/AvatarStatus.spec.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/avatar/AvatarThread/__tests__/AvatarThread.spec.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/avatar/AvatarUser/__tests__/AvatarUser.spec.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js +1 -1
- package/es/avatar/index.js +7 -7
- package/es/deprecated/FreezeLayer/FreezeLayer.js +4 -4
- package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
- package/es/dropdown/ToggleDropDown/__tests__/ToggleDropDown.spec.js +1 -1
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/emptystate/CommonEmptyState/__tests__/CommonEmptyState.spec.js +1 -1
- package/es/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/emptystate/EditionPage/__tests__/EditionPage.spec.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +5 -5
- package/es/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/errorstate/LinkText/LinkText.js +4 -4
- package/es/errorstate/LinkText/__tests__/LinkText.spec.js +1 -1
- package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/es/errorstate/NoRequestFound/__tests__/NoRequestFound.spec.js +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/es/errorstate/PermissionPlay/__tests__/PermissionPlay.spec.js +1 -1
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/es/errorstate/RequestUrlNotFound/__tests__/RequestUrlNotFound.spec.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +5 -5
- package/es/errorstate/UnableToProcess/__tests__/UnableToProcess.spec.js +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/es/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/errorstate/WillBack/WillBack.js +4 -4
- package/es/errorstate/WillBack/__tests__/WillBack.spec.js +1 -1
- package/es/errorstate/index.js +8 -8
- package/es/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/form/fields/CheckBoxField/__tests__/CheckBoxField.spec.js +1 -1
- package/es/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/form/fields/CurrencyField/__tests__/CurrencyField.spec.js +1 -1
- package/es/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/form/fields/DateField/DateField.js +5 -5
- package/es/form/fields/DateField/__tests__/DateField.spec.js +1 -1
- package/es/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/form/fields/DateField/props/propTypes.js +1 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/form/fields/FieldContainer/__tests__/FieldContainer.spec.js +1 -1
- package/es/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/form/fields/MultiSelectField/__tests__/MultiSelectField.spec.js +1 -1
- package/es/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/form/fields/PhoneField/__tests__/PhoneField.spec.js +1 -1
- package/es/form/fields/RadioField/RadioField.js +4 -4
- package/es/form/fields/RadioField/__tests__/RadioField.spec.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +5 -5
- package/es/form/fields/SelectField/__tests__/SelectField.spec.js +1 -1
- package/es/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/es/form/fields/TagsMultiSelect/__tests__/TagsMultiSelect.spec.js +1 -1
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
- package/es/form/fields/TagsMultiSelectField/__tests__/TagsMultiSelectField.spec.js +1 -1
- package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
- package/es/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
- package/es/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/form/fields/TextBoxField/__tests__/TextBoxField.spec.js +1 -1
- package/es/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditor/TextEditor.js +44 -45
- package/es/form/fields/TextEditor/__tests__/TextEditor.spec.js +1 -1
- package/es/form/fields/TextEditor/props/defaultProps.js +1 -7
- package/es/form/fields/TextEditor/props/propTypes.js +1 -8
- package/es/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/form/fields/TextEditorField/__tests__/TextEditorField.spec.js +1 -1
- package/es/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/form/fields/TextEditorWrapper/__tests__/TextEditorWrapper.spec.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/form/fields/TextareaField/__tests__/TextareaField.spec.js +1 -1
- package/es/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/form/fields/ValidationMessage/__tests__/ValidationMessage.spec.js +1 -1
- package/es/form/fields/index.js +16 -16
- package/es/form/layout/Field/Field.js +3 -3
- package/es/form/layout/Field/__tests__/Field.spec.js +1 -1
- package/es/form/layout/Section/Section.js +2 -2
- package/es/form/layout/Section/__tests__/Section.spec.js +1 -1
- package/es/form/layout/index.js +2 -2
- package/es/index.js +39 -39
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/layout/SetupDetailLayout/__tests__/SetupDetailLayout.spec.js +1 -1
- package/es/layout/SetupDetailLayout/index.js +4 -4
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/layout/SubtabLayout/__tests__/SubtabLayout.spec.js +1 -1
- package/es/layout/SubtabLayout/index.js +4 -4
- package/es/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/list/AvatarFlip/__tests__/AvatarFlip.spec.js +1 -1
- package/es/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/list/BluePrintStatus/__tests__/BluePrintStatus.spec.js +1 -1
- package/es/list/Comment/Comment.js +3 -3
- package/es/list/Comment/__tests__/Comment.spec.js +1 -1
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/list/DepartmentDropDown/__tests__/DepartmentDropDown.spec.js +1 -1
- package/es/list/Dot/Dot.js +3 -3
- package/es/list/Dot/__tests__/Dot.spec.js +1 -1
- package/es/list/DotNew/DotNew.js +3 -3
- package/es/list/DotNew/__tests__/DotNew.spec.js +1 -1
- package/es/list/GridStencils/GridStencils.js +2 -2
- package/es/list/GridStencils/__tests__/GridStencils.spec.js +1 -1
- package/es/list/Icons/AddNewIcon.js +2 -2
- package/es/list/Icons/CompleteIcon.js +2 -2
- package/es/list/Icons/DeleteIcon.js +2 -2
- package/es/list/Icons/EditIcon.js +2 -2
- package/es/list/Icons/FloatingIcons.js +3 -3
- package/es/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/list/Icons/SmartIcon.js +2 -2
- package/es/list/Icons/__tests__/AddNewIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/CompleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/DeleteIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/EditIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/FloatingIcons.spec.js +1 -1
- package/es/list/Icons/__tests__/ReadUnreadIcon.spec.js +1 -1
- package/es/list/Icons/__tests__/SmartIcon.spec.js +1 -1
- package/es/list/Icons/index.js +7 -7
- package/es/list/ListLayout/ListLayout.js +3 -3
- package/es/list/ListLayout/__tests__/ListLayout.spec.js +1 -1
- package/es/list/ListStencils/ListStencils.js +3 -3
- package/es/list/ListStencils/__tests__/ListStencils.spec.js +1 -1
- package/es/list/SecondaryText/AccountName.js +4 -4
- package/es/list/SecondaryText/ContactName.js +5 -5
- package/es/list/SecondaryText/DepartmentText.js +2 -2
- package/es/list/SecondaryText/Email.js +4 -4
- package/es/list/SecondaryText/HappinessRating.js +2 -2
- package/es/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/list/SecondaryText/PriorityText.js +3 -3
- package/es/list/SecondaryText/SecondaryText.js +3 -3
- package/es/list/SecondaryText/StatusText.js +3 -3
- package/es/list/SecondaryText/TicketId.js +4 -4
- package/es/list/SecondaryText/Website.js +4 -4
- package/es/list/SecondaryText/__tests__/AccountName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/ContactName.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/DepartmentText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Email.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/HappinessRating.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PhoneNumber.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/PriorityText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/SecondaryText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/StatusText.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/TicketId.spec.js +1 -1
- package/es/list/SecondaryText/__tests__/Website.spec.js +1 -1
- package/es/list/SecondaryText/index.js +11 -11
- package/es/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/list/SecondryPanel/__tests__/SecondryPanel.spec.js +1 -1
- package/es/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/list/SentimentStatus/__tests__/SentimentStatus.spec.js +1 -1
- package/es/list/Subject/Subject.js +4 -4
- package/es/list/Subject/__tests__/Subject.spec.js +1 -1
- package/es/list/TagNew/TagNew.js +3 -3
- package/es/list/TagNew/__tests__/TagNew.spec.js +1 -1
- package/es/list/Thread/Thread.js +3 -3
- package/es/list/Thread/__tests__/Thread.spec.js +1 -1
- package/es/list/index.js +16 -16
- package/es/list/status/StatusDropdown/StatusDropdown.js +5 -5
- package/es/list/status/StatusDropdown/__tests__/StatusDropdown.spec.js +1 -1
- package/es/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/list/status/StatusListItem/__tests__/StatusListItem.spec.js +1 -1
- package/es/list/status/index.js +2 -2
- package/es/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/lookup/EmptyPage/__tests__/EmptyPage.spec.js +1 -1
- package/es/lookup/Lookup/Lookup.js +4 -4
- package/es/lookup/Lookup/__tests__/Lookup.spec.js +1 -1
- package/es/lookup/Section/Section.js +2 -2
- package/es/lookup/Section/__tests__/Section.spec.js +1 -1
- package/es/lookup/header/Close/Close.js +3 -3
- package/es/lookup/header/Close/__tests__/Close.spec.js +1 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/lookup/header/ModuleHeader/__tests__/ModuleHeader.spec.js +1 -1
- package/es/lookup/header/Search/Search.js +4 -4
- package/es/lookup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/lookup/header/TicketHeader/__tests__/TicketHeader.spec.js +1 -1
- package/es/lookup/header/Title/Title.js +3 -3
- package/es/lookup/header/Title/__tests__/Titles.spec.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/es/lookup/header/ViewDropDown/__test__/ViewDropDown.spec.js +1 -1
- package/es/lookup/header/index.js +5 -5
- package/es/lookup/index.js +4 -4
- package/es/setup/header/Button/Button.js +3 -3
- package/es/setup/header/Button/__tests__/Button.spec.js +1 -1
- package/es/setup/header/Link/Link.js +4 -4
- package/es/setup/header/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/header/Search/Search.js +3 -3
- package/es/setup/header/Search/__tests__/Search.spec.js +1 -1
- package/es/setup/header/Views/Views.js +3 -3
- package/es/setup/header/Views/__tests__/Views.spec.js +1 -1
- package/es/setup/header/index.js +4 -4
- package/es/setup/helptips/Description/Description.js +2 -2
- package/es/setup/helptips/Description/__tests__/Description.spec.js +1 -1
- package/es/setup/helptips/Link/Link.js +3 -3
- package/es/setup/helptips/Link/__tests__/Link.spec.js +1 -1
- package/es/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/setup/helptips/ListGroup/__tests__/ListGroup.spec.js +1 -1
- package/es/setup/helptips/Title/Title.js +2 -2
- package/es/setup/helptips/Title/__tests__/Title.spec.js +1 -1
- package/es/setup/helptips/index.js +4 -4
- package/es/setup/index.js +3 -3
- package/es/setup/table/Table/Table.js +2 -2
- package/es/setup/table/Table/__tests__/Table.spec.js +1 -1
- package/es/setup/table/TableBody/TableBody.js +2 -2
- package/es/setup/table/TableBody/__tests__/TableBody.spec.js +1 -1
- package/es/setup/table/TableData/TableData.js +3 -3
- package/es/setup/table/TableData/__tests__/TableData.spec.js +1 -1
- package/es/setup/table/TableHead/TableHead.js +3 -3
- package/es/setup/table/TableHead/__tests__/TableHead.spec.js +1 -1
- package/es/setup/table/TableRow/TableRow.js +3 -3
- package/es/setup/table/TableRow/__tests__/TableRow.spec.js +1 -1
- package/es/setup/table/Text/Text.js +4 -4
- package/es/setup/table/Text/__tests__/Text.spec.js +1 -1
- package/es/setup/table/index.js +5 -5
- package/es/svg/PlusIcon.js +2 -2
- package/es/svg/SnippetIcon.js +2 -2
- package/es/svg/TemplateIcon.js +2 -2
- package/es/svg/__tests__/PlusIcon.spec.js +1 -1
- package/es/svg/__tests__/SnippetIcon.spec.js +1 -1
- package/es/svg/__tests__/TemplateIcon.spec.js +1 -1
- package/es/svg/index.js +3 -3
- package/es/utils/editorUtils.js +6 -6
- package/es/v1/ActionButton/ActionButton.js +3 -3
- package/es/v1/AlphabeticList/AlphabeticList.js +3 -3
- package/es/v1/Attachment/Attachment.js +4 -4
- package/es/v1/AttachmentViewer/AttachmentImage.js +4 -4
- package/es/v1/AttachmentViewer/AttachmentViewer.js +9 -9
- package/es/v1/ChannelIcon/ChannelIcon.js +5 -5
- package/es/v1/Drawer/Drawer.js +6 -6
- package/es/v1/ExternalLink/ExternalLink.js +3 -3
- package/es/v1/FlipCard/FlipCard.js +7 -7
- package/es/v1/FormAction/FormAction.js +3 -3
- package/es/v1/FreezeLayer/FreezeLayer.js +5 -5
- package/es/v1/GlobalNotification/GlobalNotification.js +6 -6
- package/es/v1/IconButton/IconButton.js +3 -3
- package/es/v1/Image/Image.js +3 -3
- package/es/v1/ImportantNotes/ImportantNotes.js +3 -3
- package/es/v1/Link/Link.js +4 -4
- package/es/v1/Loader/Loader.js +1 -1
- package/es/v1/Message/Message.js +4 -4
- package/es/v1/Message/props/propTypes.js +1 -1
- package/es/v1/MessageBanner/MessageBanner.js +4 -4
- package/es/v1/NewStar/NewStar.js +3 -3
- package/es/v1/PlusIcon/PlusIcon.js +4 -4
- package/es/v1/Separator/Separator.js +3 -3
- package/es/v1/TagWithIcon/TagWithIcon.js +3 -3
- package/es/v1/ToastMessage/ToastMessage.js +4 -4
- package/es/v1/Upload/Upload.js +4 -4
- package/es/v1/actions/AutoClose.js +2 -2
- package/es/v1/alert/AlertClose/AlertClose.js +2 -2
- package/es/v1/alert/AlertHeader/AlertHeader.js +7 -7
- package/es/v1/alert/AlertLookup/AlertLookup.js +7 -7
- package/es/v1/alert/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/AlertIcons.js +9 -9
- package/es/v1/alert/alertIcons/DangerAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/InfoAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/WarningAlertIcon.js +3 -3
- package/es/v1/alert/alertIcons/index.js +8 -8
- package/es/v1/alert/index.js +2 -2
- package/es/v1/avatar/AvatarClose/AvatarClose.js +3 -3
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/es/v1/avatar/AvatarThread/AvatarThread.js +3 -3
- package/es/v1/avatar/AvatarUser/AvatarUser.js +4 -4
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/es/v1/avatar/index.js +7 -7
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +4 -4
- package/es/v1/emptystate/CommonEmptyState/CommonEmptyState.js +4 -4
- package/es/v1/emptystate/EditionPage/EditionPage.js +3 -3
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +5 -5
- package/es/v1/form/fields/CheckBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/v1/form/fields/CurrencyField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/CurrencyField/props/propTypes.js +1 -1
- package/es/v1/form/fields/DateField/DateField.js +5 -5
- package/es/v1/form/fields/DateField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/DateField/props/propTypes.js +1 -1
- package/es/v1/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/es/v1/form/fields/FieldContainer/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +5 -5
- package/es/v1/form/fields/MultiSelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/MultiSelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/PhoneField/PhoneField.js +6 -6
- package/es/v1/form/fields/RadioField/RadioField.js +5 -5
- package/es/v1/form/fields/SelectField/SelectField.js +5 -5
- package/es/v1/form/fields/SelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/SelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +7 -7
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +5 -5
- package/es/v1/form/fields/TextBoxField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextBoxField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditor/TextEditor.js +30 -34
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +1 -7
- package/es/v1/form/fields/TextEditor/props/propTypes.js +1 -6
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +6 -6
- package/es/v1/form/fields/TextEditorField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextEditorField/props/propTypes.js +1 -1
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +5 -5
- package/es/v1/form/fields/TextareaField/TextareaField.js +5 -5
- package/es/v1/form/fields/TextareaField/props/defaultProps.js +1 -1
- package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -1
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/es/v1/form/fields/index.js +16 -16
- package/es/v1/form/layout/Field/Field.js +3 -3
- package/es/v1/form/layout/Section/Section.js +2 -2
- package/es/v1/form/layout/index.js +2 -2
- package/es/v1/layout/SetupDetailLayout/SetupDetailLayout.js +3 -3
- package/es/v1/layout/SetupDetailLayout/index.js +4 -4
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/es/v1/layout/SubtabLayout/index.js +4 -4
- package/es/v1/list/AvatarFlip/AvatarFlip.js +4 -4
- package/es/v1/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/es/v1/list/Comment/Comment.js +3 -3
- package/es/v1/list/DepartmentDropDown/DepartmentDropDown.js +5 -5
- package/es/v1/list/Dot/Dot.js +3 -3
- package/es/v1/list/DotNew/DotNew.js +3 -3
- package/es/v1/list/GridStencils/GridStencils.js +2 -2
- package/es/v1/list/Icons/AddNewIcon.js +2 -2
- package/es/v1/list/Icons/CompleteIcon.js +2 -2
- package/es/v1/list/Icons/DeleteIcon.js +2 -2
- package/es/v1/list/Icons/EditIcon.js +2 -2
- package/es/v1/list/Icons/FloatingIcons.js +3 -3
- package/es/v1/list/Icons/ReadUnreadIcon.js +3 -3
- package/es/v1/list/Icons/SmartIcon.js +2 -2
- package/es/v1/list/Icons/index.js +7 -7
- package/es/v1/list/ListLayout/ListLayout.js +3 -3
- package/es/v1/list/ListStencils/ListStencils.js +3 -3
- package/es/v1/list/SecondaryText/AccountName.js +4 -4
- package/es/v1/list/SecondaryText/ContactName.js +5 -5
- package/es/v1/list/SecondaryText/DepartmentText.js +2 -2
- package/es/v1/list/SecondaryText/Email.js +4 -4
- package/es/v1/list/SecondaryText/HappinessRating.js +2 -2
- package/es/v1/list/SecondaryText/PhoneNumber.js +4 -4
- package/es/v1/list/SecondaryText/PriorityText.js +3 -3
- package/es/v1/list/SecondaryText/SecondaryText.js +3 -3
- package/es/v1/list/SecondaryText/StatusText.js +3 -3
- package/es/v1/list/SecondaryText/TicketId.js +4 -4
- package/es/v1/list/SecondaryText/Website.js +4 -4
- package/es/v1/list/SecondaryText/index.js +11 -11
- package/es/v1/list/SecondryPanel/SecondryPanel.js +4 -4
- package/es/v1/list/SentimentStatus/SentimentStatus.js +2 -2
- package/es/v1/list/Subject/Subject.js +4 -4
- package/es/v1/list/TagNew/TagNew.js +3 -3
- package/es/v1/list/Thread/Thread.js +3 -3
- package/es/v1/list/index.js +16 -16
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +5 -5
- package/es/v1/list/status/StatusListItem/StatusListItem.js +3 -3
- package/es/v1/list/status/index.js +2 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +3 -3
- package/es/v1/lookup/Lookup/Lookup.js +4 -4
- package/es/v1/lookup/Section/Section.js +2 -2
- package/es/v1/lookup/header/Close/Close.js +3 -3
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +8 -8
- package/es/v1/lookup/header/Search/Search.js +4 -4
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +10 -10
- package/es/v1/lookup/header/Title/Title.js +3 -3
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/es/v1/lookup/header/index.js +5 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +6 -6
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/v1/setup/header/Button/Button.js +3 -3
- package/es/v1/setup/header/Link/Link.js +4 -4
- package/es/v1/setup/header/Search/Search.js +3 -3
- package/es/v1/setup/header/Views/Views.js +3 -3
- package/es/v1/setup/header/index.js +4 -4
- package/es/v1/setup/helptips/Description/Description.js +2 -2
- package/es/v1/setup/helptips/Link/Link.js +3 -3
- package/es/v1/setup/helptips/ListGroup/ListGroup.js +2 -2
- package/es/v1/setup/helptips/Title/Title.js +2 -2
- package/es/v1/setup/helptips/index.js +4 -4
- package/es/v1/setup/index.js +3 -3
- package/es/v1/setup/table/Table/Table.js +2 -2
- package/es/v1/setup/table/TableBody/TableBody.js +2 -2
- package/es/v1/setup/table/TableData/TableData.js +3 -3
- package/es/v1/setup/table/TableHead/TableHead.js +3 -3
- package/es/v1/setup/table/TableRow/TableRow.js +3 -3
- package/es/v1/setup/table/Text/Text.js +4 -4
- package/es/v1/setup/table/index.js +5 -5
- 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/index.js +3 -3
- package/es/v1/utils/editorUtils.js +6 -6
- package/es/version2/AlertClose/AlertClose.js +2 -2
- package/es/version2/AlertClose/__tests__/AlertClose.spec.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -6
- package/es/version2/GlobalNotification/__tests__/GlobalNotification.spec.js +1 -1
- package/es/version2/alertIcons/AlarmAlertIcon.js +3 -3
- package/es/version2/alertIcons/AlertIcons.js +9 -9
- package/es/version2/alertIcons/DangerAlertIcon.js +3 -3
- package/es/version2/alertIcons/ErrorAlertIcon.js +3 -3
- package/es/version2/alertIcons/InfoAlertIcon.js +3 -3
- package/es/version2/alertIcons/NotificationAlertIcon.js +3 -3
- package/es/version2/alertIcons/SuccessAlertIcon.js +3 -3
- package/es/version2/alertIcons/WarningAlertIcon.js +3 -3
- package/es/version2/alertIcons/__tests__/AlarmAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/AlertIcons.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/DangerAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/ErrorAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/InfoAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/NotificationAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/SuccessAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/__tests__/WarningAlertIcon.spec.js +1 -1
- package/es/version2/alertIcons/index.js +8 -8
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +4 -4
- package/es/version2/errorstate/Inconvenience/__tests__/Inconvenience.spec.js +1 -1
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +4 -4
- package/es/version2/errorstate/OopsSomethingMiss/__tests__/OopsSomethingMiss.spec.js +1 -1
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +4 -4
- package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js +1 -1
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +4 -4
- package/es/version2/errorstate/UnauthorizedLogin/__tests__/UnauthorizedLogin.spec.js +1 -1
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +4 -4
- package/es/version2/errorstate/UrlNotFound/__tests__/UrlNotFound.spec.js +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +4 -4
- package/es/version2/errorstate/WillBeRightBack/__tests__/WillBeRightBack.spec.js +1 -1
- package/es/version2/errorstate/index.js +6 -6
- package/es/version2/index.js +8 -8
- package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -7
- package/es/version2/lookup/AlertHeader/__tests__/AlertHeader.spec.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -7
- package/es/version2/lookup/AlertLookup/__tests__/AlertLookup.spec.js +1 -1
- package/es/version2/lookup/index.js +2 -2
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -6
- package/es/version2/notification/DesktopNotification/__tests__/DesktopNotification.spec.js +1 -1
- package/es/version2/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +5 -5
- package/es/version2/notification/DesktopNotificationHeader/__tests__/DesktopNotificationHeader.spec.js +1 -1
- package/es/version2/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/version2/notification/index.js +3 -3
- package/lib/form/fields/TextEditor/TextEditor.js +40 -37
- package/lib/form/fields/TextEditor/props/defaultProps.js +1 -7
- package/lib/form/fields/TextEditor/props/propTypes.js +1 -8
- package/lib/utils/editorUtils.js +5 -6
- package/lib/v1/form/fields/TextEditor/TextEditor.js +26 -26
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +1 -7
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +1 -6
- package/lib/v1/utils/editorUtils.js +5 -6
- package/package.json +8 -8
- package/result.json +1 -1
- package/unittest/index.html +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
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/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorOopsSomethingMiss from '@zohodesk/svg/lib/errorstate/version3/ErrorOopsSomethingMiss';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class OopsSomethingMiss extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import OopsSomethingMiss from
|
|
3
|
+
import OopsSomethingMiss from "../OopsSomethingMiss";
|
|
4
4
|
describe('OopsSomethingMiss', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,11 +1,11 @@
|
|
|
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/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorUnableToProcessRequest from '@zohodesk/svg/lib/errorstate/version3/ErrorUnableToProcessRequest';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class UnableToProcessRequest extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
package/es/version2/errorstate/UnableToProcessRequest/__tests__/UnableToProcessRequest.spec.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import UnableToProcessRequest from
|
|
3
|
+
import UnableToProcessRequest from "../UnableToProcessRequest";
|
|
4
4
|
describe('UnableToProcessRequest', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,11 +1,11 @@
|
|
|
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/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorUnauthorizedLogin from '@zohodesk/svg/lib/errorstate/version3/ErrorUnauthorizedLogin';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class UnauthorizedLogin extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import UnauthorizedLogin from
|
|
3
|
+
import UnauthorizedLogin from "../UnauthorizedLogin";
|
|
4
4
|
describe('UnauthorizedLogin', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,11 +1,11 @@
|
|
|
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/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorUrlNotFound from '@zohodesk/svg/lib/errorstate/version3/ErrorUrlNotFound';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class UrlNotFound extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
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/lib/Layout';
|
|
5
|
-
import CommonEmptyState from
|
|
5
|
+
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
6
6
|
import ErrorWillBeRightBack from '@zohodesk/svg/lib/errorstate/version3/ErrorWillBeRightBack';
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import style from
|
|
8
|
+
import style from "./../V2_ErrorStates.module.css";
|
|
9
9
|
export default class WillBeRightBack extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import WillBeRightBack from
|
|
3
|
+
import WillBeRightBack from "../WillBeRightBack";
|
|
4
4
|
describe('WillBeRightBack', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as Inconvenience } from
|
|
2
|
-
export { default as OopsSomethingMiss } from
|
|
3
|
-
export { default as UnableToProcessRequest } from
|
|
4
|
-
export { default as UnauthorizedLogin } from
|
|
5
|
-
export { default as UrlNotFound } from
|
|
6
|
-
export { default as WillBeRightBack } from
|
|
1
|
+
export { default as Inconvenience } from "./Inconvenience/Inconvenience";
|
|
2
|
+
export { default as OopsSomethingMiss } from "./OopsSomethingMiss/OopsSomethingMiss";
|
|
3
|
+
export { default as UnableToProcessRequest } from "./UnableToProcessRequest/UnableToProcessRequest";
|
|
4
|
+
export { default as UnauthorizedLogin } from "./UnauthorizedLogin/UnauthorizedLogin";
|
|
5
|
+
export { default as UrlNotFound } from "./UrlNotFound/UrlNotFound";
|
|
6
|
+
export { default as WillBeRightBack } from "./WillBeRightBack/WillBeRightBack";
|
package/es/version2/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { default as AlertClose } from
|
|
2
|
-
import * as _alertIcons from
|
|
1
|
+
export { default as AlertClose } from "./AlertClose/AlertClose";
|
|
2
|
+
import * as _alertIcons from "./alertIcons";
|
|
3
3
|
export { _alertIcons as alertIcons };
|
|
4
|
-
import * as _errorstate from
|
|
4
|
+
import * as _errorstate from "./errorstate";
|
|
5
5
|
export { _errorstate as errorstate };
|
|
6
|
-
export { default as GlobalNotification } from
|
|
7
|
-
export { GlobalNotificationUI } from
|
|
8
|
-
export { GlobalNotificationNew } from
|
|
9
|
-
import * as _lookup from
|
|
6
|
+
export { default as GlobalNotification } from "./GlobalNotification/GlobalNotification";
|
|
7
|
+
export { GlobalNotificationUI } from "./GlobalNotification/GlobalNotification";
|
|
8
|
+
export { GlobalNotificationNew } from "./GlobalNotification/GlobalNotification";
|
|
9
|
+
import * as _lookup from "./lookup";
|
|
10
10
|
export { _lookup as lookup };
|
|
11
|
-
import * as _notification from
|
|
11
|
+
import * as _notification from "./notification";
|
|
12
12
|
export { _notification as notification };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React, { useRef } from 'react'; //AlertDependencies
|
|
2
2
|
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
|
-
import AlertClose from
|
|
5
|
-
import AlertIcons from
|
|
4
|
+
import AlertClose from "../../AlertClose/AlertClose";
|
|
5
|
+
import AlertIcons from "../../alertIcons/AlertIcons"; //CSS
|
|
6
6
|
|
|
7
|
-
import style from
|
|
8
|
-
import cssJSLogic from
|
|
7
|
+
import style from "./css/AlertHeaderNew.module.css";
|
|
8
|
+
import cssJSLogic from "./css/cssJSLogic";
|
|
9
9
|
import { mergeStyle } from '@zohodesk/utils'; //customHooks
|
|
10
10
|
|
|
11
|
-
import useDragger from
|
|
11
|
+
import useDragger from "../../../Hooks/Dragger/useDragger"; //Props
|
|
12
12
|
|
|
13
|
-
import defaultProps from
|
|
14
|
-
import propTypes from
|
|
13
|
+
import defaultProps from "./props/defaultProps";
|
|
14
|
+
import propTypes from "./props/propTypes";
|
|
15
15
|
export default function AlertHeader(props) {
|
|
16
16
|
const {
|
|
17
17
|
title,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**** Libraries ****/
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
|
-
import { defaultProps } from
|
|
4
|
-
import { propTypes } from
|
|
3
|
+
import { defaultProps } from "./props/defaultProps";
|
|
4
|
+
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
6
|
|
|
7
|
-
import Lookup from
|
|
8
|
-
import AlertHeader from
|
|
7
|
+
import Lookup from "../../../lookup/Lookup/Lookup";
|
|
8
|
+
import AlertHeader from "../AlertHeader/AlertHeader";
|
|
9
9
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
10
|
-
import Section from
|
|
11
|
-
import FormAction from
|
|
10
|
+
import Section from "../../../lookup/Section/Section";
|
|
11
|
+
import FormAction from "../../../FormAction/FormAction";
|
|
12
12
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
13
13
|
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
14
14
|
/**** CSS ****/
|
|
15
15
|
|
|
16
|
-
import style from
|
|
16
|
+
import style from "./AlertLookupNew.module.css";
|
|
17
17
|
let buttonPaletteObject = {
|
|
18
18
|
success: {
|
|
19
19
|
buttonPalette: 'successFilled'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as AlertHeader } from
|
|
2
|
-
export { default as AlertLookup } from
|
|
1
|
+
export { default as AlertHeader } from "./AlertHeader/AlertHeader";
|
|
2
|
+
export { default as AlertLookup } from "./AlertLookup/AlertLookup";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import { defaultProps } from
|
|
3
|
-
import { propTypes, DesktopNotificationUI_propTypes } from
|
|
2
|
+
import { defaultProps } from "./props/defaultProps";
|
|
3
|
+
import { propTypes, DesktopNotificationUI_propTypes } from "./props/propTypes";
|
|
4
4
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
5
|
import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
6
|
-
import AutoClose from
|
|
6
|
+
import AutoClose from "../../../actions/AutoClose";
|
|
7
7
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
8
|
-
import FormAction from
|
|
9
|
-
import DesktopNotificationHeader from
|
|
8
|
+
import FormAction from "../../../FormAction/FormAction";
|
|
9
|
+
import DesktopNotificationHeader from "../DesktopNotificationHeader/DesktopNotificationHeader";
|
|
10
10
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
11
|
-
import style from
|
|
11
|
+
import style from "./DesktopNotification.module.css";
|
|
12
12
|
let buttonPaletteObject = {
|
|
13
13
|
success: {
|
|
14
14
|
buttonPalette: 'successFilled'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import DesktopNotification from
|
|
3
|
+
import DesktopNotification from "../DesktopNotification";
|
|
4
4
|
describe('DesktopNotification', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { Component } 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/lib/Layout';
|
|
5
|
-
import AlertClose from
|
|
6
|
-
import AlertIcons from
|
|
5
|
+
import AlertClose from "../../AlertClose/AlertClose";
|
|
6
|
+
import AlertIcons from "../../alertIcons/AlertIcons";
|
|
7
7
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
8
8
|
import Typography from '@zohodesk/components/es/v1/Typography/Typography';
|
|
9
|
-
import style from
|
|
9
|
+
import style from "./DesktopNotificationHeader.module.css";
|
|
10
10
|
export default class DesktopNotificationHeader extends Component {
|
|
11
11
|
constructor(props) {
|
|
12
12
|
super(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
|
-
import DesktopNotificationHeader from
|
|
3
|
+
import DesktopNotificationHeader from "../DesktopNotificationHeader";
|
|
4
4
|
describe('DesktopNotificationHeader', () => {
|
|
5
5
|
test('rendering the defult props', () => {
|
|
6
6
|
const {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DesktopNotificationUI } from
|
|
2
|
-
export { default as DesktopNotification } from
|
|
3
|
-
export { default as DesktopNotificationHeader } from
|
|
1
|
+
export { DesktopNotificationUI } from "./DesktopNotification/DesktopNotification";
|
|
2
|
+
export { default as DesktopNotification } from "./DesktopNotification/DesktopNotification";
|
|
3
|
+
export { default as DesktopNotificationHeader } from "./DesktopNotificationHeader/DesktopNotificationHeader";
|
|
@@ -114,8 +114,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
114
114
|
fontSize = _this$props.fontSize,
|
|
115
115
|
initCallback = _this$props.initCallback,
|
|
116
116
|
handleAlertMessage = _this$props.handleAlertMessage,
|
|
117
|
-
needInlineAttachment = _this$props.needInlineAttachment
|
|
118
|
-
customInitOptions = _this$props.customInitOptions;
|
|
117
|
+
needInlineAttachment = _this$props.needInlineAttachment;
|
|
119
118
|
|
|
120
119
|
if (id && global.ZohoDeskEditor) {
|
|
121
120
|
var _defaultObj;
|
|
@@ -143,17 +142,13 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
143
142
|
return true; // By default reply editor needs customPaste, so returning true.
|
|
144
143
|
}), _defineProperty(_defaultObj, "htmlVersion", '<!Doctype html>'), _defaultObj);
|
|
145
144
|
|
|
146
|
-
if (!
|
|
147
|
-
|
|
148
|
-
global.editorInitialize && global.editorInitialize();
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
ZohoDeskEditor_Init.init(editorMode, fontFamily, initCallback, fontSize);
|
|
145
|
+
if (!ZohoDeskEditor_Init.init) {
|
|
146
|
+
global.editorInitialize && global.editorInitialize();
|
|
152
147
|
}
|
|
153
148
|
|
|
154
149
|
defaultObj = Object.assign(defaultObj, editorOptions);
|
|
155
|
-
|
|
156
|
-
|
|
150
|
+
ZohoDeskEditor_Init.init(editorMode, fontFamily, initCallback, fontSize);
|
|
151
|
+
ZohoDeskEditor.create && ZohoDeskEditor.create(defaultObj);
|
|
157
152
|
}
|
|
158
153
|
}
|
|
159
154
|
}, {
|
|
@@ -256,8 +251,7 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
256
251
|
var _this$props5 = this.props,
|
|
257
252
|
editorCallback = _this$props5.editorCallback,
|
|
258
253
|
getRef = _this$props5.getRef,
|
|
259
|
-
isCustomScroll = _this$props5.isCustomScroll
|
|
260
|
-
customCSS = _this$props5.customCSS;
|
|
254
|
+
isCustomScroll = _this$props5.isCustomScroll;
|
|
261
255
|
this.setState({
|
|
262
256
|
isEditorLoad: true,
|
|
263
257
|
isEditorShow: true
|
|
@@ -269,6 +263,18 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
269
263
|
global.editor[id] = editorObj;
|
|
270
264
|
}
|
|
271
265
|
|
|
266
|
+
var css = 'pre {white-space: pre-wrap}',
|
|
267
|
+
head = editorObj.doc.head || editorObj.doc.getElementsByTagName('head')[0],
|
|
268
|
+
style = document.createElement('style');
|
|
269
|
+
style.type = 'text/css';
|
|
270
|
+
|
|
271
|
+
if (style.styleSheet) {
|
|
272
|
+
style.styleSheet.cssText = css;
|
|
273
|
+
} else {
|
|
274
|
+
style.appendChild(editorObj.doc.createTextNode(css));
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
head.appendChild(style);
|
|
272
278
|
editorCallback && editorCallback(editorObj);
|
|
273
279
|
var iframe = (0, _selectn["default"])('iframe.contentDocument.body', editorObj) || null;
|
|
274
280
|
var iframeHead = (0, _selectn["default"])('iframe.contentDocument.head', editorObj) || null;
|
|
@@ -286,11 +292,9 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
286
292
|
iframe.classList.add('scroll');
|
|
287
293
|
}
|
|
288
294
|
|
|
289
|
-
var
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
customStyleTag.innerText = "".concat(customizedCSS, " ").concat(fontCSS);
|
|
293
|
-
iframeHead.appendChild(customStyleTag);
|
|
295
|
+
var customFonts = document.createElement('style');
|
|
296
|
+
customFonts.innerText = "@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/4.0/Zoho_Puvi_Regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}";
|
|
297
|
+
iframeHead.appendChild(customFonts);
|
|
294
298
|
}
|
|
295
299
|
}
|
|
296
300
|
}, {
|
|
@@ -299,21 +303,12 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
299
303
|
var _this$props6 = this.props,
|
|
300
304
|
id = _this$props6.id,
|
|
301
305
|
progress = _this$props6.setInlineAttachmentInProgress,
|
|
302
|
-
i18nKeys = _this$props6.i18nKeys
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
fileNotSupported = i18nKeys.fileNotSupported,
|
|
306
|
-
fileSizeLimitExceed = i18nKeys.fileSizeLimitExceed,
|
|
307
|
-
fileEmptyError = i18nKeys.fileEmptyError,
|
|
308
|
-
fileNameLimitExceed = i18nKeys.fileNameLimitExceed;
|
|
309
|
-
var allowedFileExtensions = inlineImageProps.allowedFileExtensions,
|
|
310
|
-
fileNameMaxCharacters = inlineImageProps.fileNameMaxCharacters,
|
|
311
|
-
fileSizeMax = inlineImageProps.fileSizeMax;
|
|
312
|
-
|
|
313
|
-
if (!(0, _editorUtils.isFileNameSizeInvalid)(file.name, fileNameMaxCharacters)) {
|
|
306
|
+
i18nKeys = _this$props6.i18nKeys;
|
|
307
|
+
|
|
308
|
+
if (!(0, _editorUtils.isFileNameSizeInvalid)(file.name)) {
|
|
314
309
|
if (file.size != 0) {
|
|
315
|
-
if (file.size <=
|
|
316
|
-
if ((0, _editorUtils.isImageFormat)(file.name
|
|
310
|
+
if (file.size <= 3 * 1024 * 1024) {
|
|
311
|
+
if ((0, _editorUtils.isImageFormat)(file.name)) {
|
|
317
312
|
progress && progress(true);
|
|
318
313
|
this.handleUpload(file).then(function (res) {
|
|
319
314
|
successCallback(res);
|
|
@@ -323,19 +318,19 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
323
318
|
(0, _editorUtils.triggerKeyup)(editorObj.doc);
|
|
324
319
|
}
|
|
325
320
|
}, function () {
|
|
326
|
-
failureCallback(fileUploadError);
|
|
321
|
+
failureCallback(i18nKeys.fileUploadError);
|
|
327
322
|
});
|
|
328
323
|
} else {
|
|
329
|
-
failureCallback(fileNotSupported);
|
|
324
|
+
failureCallback(i18nKeys.fileNotSupported);
|
|
330
325
|
}
|
|
331
326
|
} else {
|
|
332
|
-
failureCallback(fileSizeLimitExceed);
|
|
327
|
+
failureCallback(i18nKeys.fileSizeLimitExceed);
|
|
333
328
|
}
|
|
334
329
|
} else {
|
|
335
|
-
failureCallback(fileEmptyError);
|
|
330
|
+
failureCallback(i18nKeys.fileEmptyError);
|
|
336
331
|
}
|
|
337
332
|
} else {
|
|
338
|
-
failureCallback(fileNameLimitExceed);
|
|
333
|
+
failureCallback(i18nKeys.fileNameLimitExceed);
|
|
339
334
|
}
|
|
340
335
|
}
|
|
341
336
|
}, {
|
|
@@ -377,7 +372,15 @@ var TextEditor = /*#__PURE__*/function (_Component) {
|
|
|
377
372
|
formData.append(getCSRFCookieName(), getCSRFCookie());
|
|
378
373
|
}
|
|
379
374
|
|
|
380
|
-
return onUpload(formData, file)
|
|
375
|
+
return onUpload(formData, file).then(function (res) {
|
|
376
|
+
if (editorMode === 'TicketReply') {
|
|
377
|
+
return "".concat(res.data, "&from=r");
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
return res.data;
|
|
381
|
+
}, function (err) {
|
|
382
|
+
throw err;
|
|
383
|
+
});
|
|
381
384
|
} catch (err) {
|
|
382
385
|
return Promise.reject();
|
|
383
386
|
}
|
|
@@ -15,12 +15,6 @@ var defaultProps = {
|
|
|
15
15
|
needInlineAttachment: false,
|
|
16
16
|
isNightMode: false,
|
|
17
17
|
isReadOnly: false,
|
|
18
|
-
dataSelectorId: 'textEditor'
|
|
19
|
-
customCSS: '',
|
|
20
|
-
inlineImageProps: {
|
|
21
|
-
allowedFileExtensions: ["jpeg", "jpg", "png", "gif", "bmp", "ico"],
|
|
22
|
-
fileNameMaxCharacters: 200,
|
|
23
|
-
fileSizeMax: 3 * 1024 * 1024
|
|
24
|
-
}
|
|
18
|
+
dataSelectorId: 'textEditor'
|
|
25
19
|
};
|
|
26
20
|
exports.defaultProps = defaultProps;
|
|
@@ -52,13 +52,6 @@ var propTypes = {
|
|
|
52
52
|
getCSRFCookie: _propTypes["default"].string,
|
|
53
53
|
isEditorDefaultOpen: _propTypes["default"].bool,
|
|
54
54
|
toggleEdit: _propTypes["default"].func,
|
|
55
|
-
dataSelectorId: _propTypes["default"].string
|
|
56
|
-
customInitOptions: _propTypes["default"].object,
|
|
57
|
-
customCSS: _propTypes["default"].string,
|
|
58
|
-
inlineImageProps: {
|
|
59
|
-
allowedFileExtensions: _propTypes["default"].array,
|
|
60
|
-
fileNameMaxCharacters: _propTypes["default"].number,
|
|
61
|
-
fileSizeMax: _propTypes["default"].number
|
|
62
|
-
}
|
|
55
|
+
dataSelectorId: _propTypes["default"].string
|
|
63
56
|
};
|
|
64
57
|
exports.propTypes = propTypes;
|
package/lib/utils/editorUtils.js
CHANGED
|
@@ -15,8 +15,8 @@ exports.isImageFormat = isImageFormat;
|
|
|
15
15
|
exports.loadResource = loadResource;
|
|
16
16
|
exports.triggerKeyup = triggerKeyup;
|
|
17
17
|
exports.validateEditorContentOnInsertHtml = validateEditorContentOnInsertHtml;
|
|
18
|
+
var ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200; // editorUtils
|
|
18
19
|
|
|
19
|
-
// editorUtils
|
|
20
20
|
function editorContentValidate(editorObj) {
|
|
21
21
|
var content = editorObj && editorObj.getContent && editorObj.getContent() || '';
|
|
22
22
|
|
|
@@ -67,14 +67,13 @@ function encodeForHtml(str) {
|
|
|
67
67
|
} // attachment
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
function isFileNameSizeInvalid(fileName
|
|
71
|
-
return fileName.length >
|
|
70
|
+
function isFileNameSizeInvalid(fileName) {
|
|
71
|
+
return fileName.length > ATTACHMENT_FILE_NAME_SIZE_LIMIT;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
function isImageFormat(fileName
|
|
74
|
+
function isImageFormat(fileName) {
|
|
75
75
|
var extension = getExtensionFromFileName(fileName);
|
|
76
|
-
|
|
77
|
-
return isValidExtension;
|
|
76
|
+
return /jpeg|jpg|png|gif|bmp|ico/i.test(extension);
|
|
78
77
|
}
|
|
79
78
|
|
|
80
79
|
function getExtensionFromFileName(fileName) {
|