@zohodesk/dot 1.7.19 → 1.7.20-exp.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 +28 -0
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +11 -1
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +11 -1
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +11 -1
- package/es/ActionButton/ActionButton.js +6 -6
- package/es/ActionButton/ActionButton.module.css +1 -1
- package/es/AlphabeticList/AlphabeticList.js +1 -1
- package/es/AlphabeticList/AlphabeticList.module.css +1 -1
- package/es/Attachment/Attachment.js +7 -4
- package/es/Attachment/__tests__/Attachment.spec.js +24 -0
- package/es/Attachment/__tests__/__snapshots__/Attachment.spec.js.snap +105 -0
- package/es/AttachmentViewer/AttachmentViewer.js +5 -5
- package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/es/AudioPlayer/AudioPlayer.js +580 -0
- package/es/AudioPlayer/AudioPlayer.module.css +146 -0
- package/es/AudioPlayer/Timer/Timer.js +67 -0
- package/es/AudioPlayer/Timer/Timer.module.css +5 -0
- package/es/AudioPlayer/Timer/__tests__/Timer.spec.js +20 -0
- package/es/AudioPlayer/Timer/__tests__/__snapshots__/Timer.spec.js.snap +14 -0
- package/es/AudioPlayer/Timer/propTypes/defaultProps.js +4 -0
- package/es/AudioPlayer/Timer/propTypes/propTypes.js +11 -0
- package/es/AudioPlayer/__tests__/AudioPlayer.spec.js +192 -0
- package/es/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +1995 -0
- package/es/AudioPlayer/propTypes/defaultProps.js +14 -0
- package/es/AudioPlayer/propTypes/propTypes.js +33 -0
- package/es/AudioPlayer/utils/utils.js +24 -0
- package/es/ChannelIcon/ChannelIcon.js +1 -1
- package/es/DotProvider/hooks/useDotProvider.js +1 -0
- package/es/Drawer/Drawer.js +6 -6
- package/es/Drawer/Drawer.module.css +1 -1
- package/es/FlipCard/FlipCard.js +3 -3
- package/es/FormAction/FormAction.js +1 -1
- package/es/FreezeLayer/FreezeLayer.js +3 -3
- package/es/Hooks/Dragger/useDragger.js +52 -33
- package/es/IconButton/IconButton.js +3 -3
- package/es/ImportantNotes/ImportantNotes.js +1 -1
- package/es/Loader/Loader.js +1 -1
- package/es/MessageBanner/MessageBanner.js +1 -1
- package/es/NewStar/NewStar.js +1 -1
- package/es/Onboarding/Onboarding.js +3 -3
- package/es/Separator/Separator.js +1 -1
- package/es/ToastMessage/ToastMessage.js +4 -4
- package/es/Upload/Upload.js +1 -1
- package/es/VideoLookup/VideoLookup.js +1 -1
- package/es/alert/AlertHeader/AlertHeader.js +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +1 -1
- package/es/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/es/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/es/deprecated/FreezeLayer/FreezeLayer.js +3 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.js +7 -7
- package/es/dot_layer.module.css +1 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +14 -14
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +1 -1
- package/es/emptystate/EditionPage/EditionPage.css +2 -2
- package/es/emptystate/EditionPage/EditionPage.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/es/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/es/errorstate/WillBack/WillBack.js +3 -3
- package/es/form/fields/CheckBoxField/CheckBoxField.js +3 -3
- package/es/form/fields/CurrencyField/CurrencyField.js +3 -3
- package/es/form/fields/DateField/DateField.js +3 -3
- package/es/form/fields/FieldContainer/FieldContainer.js +1 -1
- package/es/form/fields/Fields.module.css +4 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +3 -3
- package/es/form/fields/PhoneField/PhoneField.js +3 -2
- package/es/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
- package/es/form/fields/RadioField/RadioField.js +2 -2
- package/es/form/fields/SelectField/SelectField.js +3 -3
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +3 -3
- package/es/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/es/form/fields/TextEditor/TextEditor.js +3 -2
- package/es/form/fields/TextEditor/TextEditor.module.css +2 -2
- package/es/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/es/form/fields/TextareaField/TextareaField.js +3 -3
- package/es/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +1 -1
- package/es/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/es/list/Comment/Comment.js +1 -1
- package/es/list/Icons/AddNewIcon.js +1 -1
- package/es/list/Icons/CompleteIcon.js +1 -1
- package/es/list/Icons/DeleteIcon.js +1 -1
- package/es/list/Icons/EditIcon.js +1 -1
- package/es/list/Icons/ReadUnreadIcon.js +1 -1
- package/es/list/Icons/SmartIcon.js +1 -1
- package/es/list/ListLayout/ListLayout.js +1 -1
- package/es/list/ListStencils/ListStencils.js +1 -1
- package/es/list/SecondaryText/AccountName.js +1 -1
- package/es/list/SecondaryText/ContactName.js +1 -1
- package/es/list/SecondaryText/SecondaryText.module.css +8 -8
- package/es/list/SecondryPanel/SecondryPanel.js +2 -2
- package/es/list/Subject/Subject.module.css +3 -3
- package/es/list/Thread/Thread.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +10 -10
- package/es/list/status/StatusListItem/StatusListItem.js +2 -2
- package/es/lookup/EmptyPage/EmptyPage.js +4 -4
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +4 -2
- package/es/lookup/Lookup/Lookup.js +1 -1
- package/es/lookup/Section/Section.js +1 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/es/lookup/header/Search/Search.js +3 -3
- package/es/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/es/lookup/header/Title/LookupTitle.module.css +7 -3
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +9 -9
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
- package/es/setup/header/Button/Button.js +1 -1
- package/es/setup/header/Link/Link.js +1 -1
- package/es/setup/header/Search/Search.js +1 -1
- package/es/setup/header/Search/Search.module.css +1 -1
- package/es/setup/table/Table/Table.js +1 -1
- package/es/setup/table/TableBody/TableBody.js +1 -1
- package/es/setup/table/TableData/TableData.js +1 -1
- package/es/setup/table/TableHead/TableHead.js +1 -1
- package/es/setup/table/TableRow/TableRow.js +1 -1
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +1 -1
- package/es/svg/TemplateIcon.js +1 -1
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/es/v1/emptystate/EditionPage/EditionPage.js +1 -1
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/es/v1/form/fields/TextEditor/TextEditor.js +2 -1
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +4 -4
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/es/v1/svg/PlusIcon.js +1 -1
- package/es/v1/svg/SnippetIcon.js +1 -1
- package/es/v1/svg/TemplateIcon.js +1 -1
- package/es/version2/AlertClose/AlertClose.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +3 -2
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/es/version2/errorstate/V2_ErrorStates.module.css +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/es/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +9 -3
- package/es/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +1 -0
- package/lib/ActionButton/ActionButton.js +6 -6
- package/lib/ActionButton/ActionButton.module.css +1 -1
- package/lib/AlphabeticList/AlphabeticList.js +1 -1
- package/lib/AlphabeticList/AlphabeticList.module.css +1 -1
- package/lib/Attachment/Attachment.js +7 -4
- package/lib/Attachment/__tests__/Attachment.spec.js +24 -0
- package/lib/Attachment/__tests__/__snapshots__/Attachment.spec.js.snap +105 -0
- package/lib/AttachmentViewer/AttachmentViewer.js +5 -5
- package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/lib/AudioPlayer/AudioPlayer.js +662 -0
- package/lib/AudioPlayer/AudioPlayer.module.css +146 -0
- package/lib/AudioPlayer/Timer/Timer.js +117 -0
- package/lib/AudioPlayer/Timer/Timer.module.css +5 -0
- package/lib/AudioPlayer/Timer/__tests__/Timer.spec.js +26 -0
- package/lib/AudioPlayer/Timer/__tests__/__snapshots__/Timer.spec.js.snap +14 -0
- package/lib/AudioPlayer/Timer/propTypes/defaultProps.js +11 -0
- package/lib/AudioPlayer/Timer/propTypes/propTypes.js +22 -0
- package/lib/AudioPlayer/__tests__/AudioPlayer.spec.js +210 -0
- package/lib/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +1995 -0
- package/lib/AudioPlayer/propTypes/defaultProps.js +24 -0
- package/lib/AudioPlayer/propTypes/propTypes.js +44 -0
- package/lib/AudioPlayer/utils/utils.js +33 -0
- package/lib/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/DotProvider/hooks/useDotProvider.js +2 -0
- package/lib/Drawer/Drawer.js +6 -6
- package/lib/Drawer/Drawer.module.css +1 -1
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FormAction/FormAction.js +1 -1
- package/lib/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/Hooks/Dragger/useDragger.js +51 -28
- package/lib/IconButton/IconButton.js +3 -3
- package/lib/ImportantNotes/ImportantNotes.js +1 -1
- package/lib/Loader/Loader.js +1 -1
- package/lib/MessageBanner/MessageBanner.js +1 -1
- package/lib/NewStar/NewStar.js +1 -1
- package/lib/Onboarding/Onboarding.js +3 -3
- package/lib/Separator/Separator.js +1 -1
- package/lib/ToastMessage/ToastMessage.js +4 -4
- package/lib/Upload/Upload.js +1 -1
- package/lib/VideoLookup/VideoLookup.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +1 -1
- package/lib/alert/AlertLookup/AlertLookup.js +1 -1
- package/lib/avatar/AvatarClose/AvatarClose.js +1 -1
- package/lib/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/lib/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/lib/avatar/AvatarThread/AvatarThread.js +1 -1
- package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/lib/deprecated/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +7 -7
- package/lib/dot_layer.module.css +1 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +14 -14
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +1 -1
- package/lib/emptystate/EditionPage/EditionPage.css +2 -2
- package/lib/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/errorstate/WillBack/WillBack.js +3 -3
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -3
- package/lib/form/fields/CurrencyField/CurrencyField.js +3 -3
- package/lib/form/fields/DateField/DateField.js +3 -3
- package/lib/form/fields/FieldContainer/FieldContainer.js +1 -1
- package/lib/form/fields/Fields.module.css +4 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -3
- package/lib/form/fields/PhoneField/PhoneField.js +3 -2
- package/lib/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
- package/lib/form/fields/RadioField/RadioField.js +2 -2
- package/lib/form/fields/SelectField/SelectField.js +3 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +3 -3
- package/lib/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/lib/form/fields/TextEditor/TextEditor.js +2 -2
- package/lib/form/fields/TextEditor/TextEditor.module.css +2 -2
- package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/lib/form/fields/TextareaField/TextareaField.js +3 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +1 -1
- package/lib/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/lib/list/Comment/Comment.js +1 -1
- package/lib/list/Icons/AddNewIcon.js +1 -1
- package/lib/list/Icons/CompleteIcon.js +1 -1
- package/lib/list/Icons/DeleteIcon.js +1 -1
- package/lib/list/Icons/EditIcon.js +1 -1
- package/lib/list/Icons/ReadUnreadIcon.js +1 -1
- package/lib/list/Icons/SmartIcon.js +1 -1
- package/lib/list/ListLayout/ListLayout.js +1 -1
- package/lib/list/ListStencils/ListStencils.js +1 -1
- package/lib/list/SecondaryText/AccountName.js +1 -1
- package/lib/list/SecondaryText/ContactName.js +1 -1
- package/lib/list/SecondaryText/SecondaryText.module.css +8 -8
- package/lib/list/SecondryPanel/SecondryPanel.js +2 -2
- package/lib/list/Subject/Subject.module.css +3 -3
- package/lib/list/Thread/Thread.js +1 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.js +10 -10
- package/lib/list/status/StatusListItem/StatusListItem.js +2 -2
- package/lib/lookup/EmptyPage/EmptyPage.js +4 -4
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +4 -2
- package/lib/lookup/Lookup/Lookup.js +1 -1
- package/lib/lookup/Section/Section.js +1 -1
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/lookup/header/Title/LookupTitle.module.css +7 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +9 -9
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
- package/lib/setup/header/Button/Button.js +1 -1
- package/lib/setup/header/Link/Link.js +1 -1
- package/lib/setup/header/Search/Search.js +1 -1
- package/lib/setup/header/Search/Search.module.css +1 -1
- package/lib/setup/table/Table/Table.js +1 -1
- package/lib/setup/table/TableBody/TableBody.js +1 -1
- package/lib/setup/table/TableData/TableData.js +1 -1
- package/lib/setup/table/TableHead/TableHead.js +1 -1
- package/lib/setup/table/TableRow/TableRow.js +1 -1
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +1 -1
- package/lib/svg/TemplateIcon.js +1 -1
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/lib/v1/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/lib/v1/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +4 -4
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/lib/v1/svg/PlusIcon.js +1 -1
- package/lib/v1/svg/SnippetIcon.js +1 -1
- package/lib/v1/svg/TemplateIcon.js +1 -1
- package/lib/version2/AlertClose/AlertClose.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +3 -2
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/lib/version2/errorstate/V2_ErrorStates.module.css +1 -1
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +9 -3
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +1 -0
- package/package.json +23 -14
- package/.cli/MissedPropType_Keys.html +0 -101
- package/.cli/PropLessFiles.html +0 -101
- package/.cli/PropUnificationExcludeFilesArray.js +0 -345
- package/.cli/PropValidationExcludeFilesArray.js +0 -8
- package/.cli/ThemeValidationExcludeFiles.js +0 -1
- package/.cli/UnValidatedFiles.html +0 -101
- package/.cli/propValidation_report.html +0 -182
- package/.cli/stringContains.js +0 -1
- package/css_error.log +0 -1
- package/images/audio_thumbnail.png +0 -0
- package/install.md +0 -12
- package/postPublish.js +0 -8
- package/prePublish.js +0 -70
- package/propValidationArg.json +0 -12
- package/react-cli.config.js +0 -24
- package/result.json +0 -1
- package/unittest/index.html +0 -37
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const AudioPlayer_defaultProps = {
|
|
2
|
+
isPlay: false,
|
|
3
|
+
timerFormat: 'mm:ss',
|
|
4
|
+
forwardStepInSec: 5,
|
|
5
|
+
backwardStepInSec: 5,
|
|
6
|
+
needClose: true,
|
|
7
|
+
needDownload: true,
|
|
8
|
+
needMuteIcon: false,
|
|
9
|
+
i18nKeys: {},
|
|
10
|
+
dataId: 'AudioPlayer',
|
|
11
|
+
customClass: '',
|
|
12
|
+
range: 0,
|
|
13
|
+
dataId: 'AudioRange'
|
|
14
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const AudioPlayer_propTypes = {
|
|
3
|
+
backwardStepInSec: PropTypes.string,
|
|
4
|
+
forwardStepInSec: PropTypes.string,
|
|
5
|
+
getAudioDuration: PropTypes.func,
|
|
6
|
+
duration: PropTypes.string,
|
|
7
|
+
id: PropTypes.string,
|
|
8
|
+
isPlay: PropTypes.bool,
|
|
9
|
+
needClose: PropTypes.bool,
|
|
10
|
+
needDownload: PropTypes.bool,
|
|
11
|
+
needMuteIcon: PropTypes.bool,
|
|
12
|
+
onAudioLoading: PropTypes.func,
|
|
13
|
+
onAudioSeeking: PropTypes.func,
|
|
14
|
+
onClose: PropTypes.func,
|
|
15
|
+
onDownloading: PropTypes.func,
|
|
16
|
+
onError: PropTypes.func,
|
|
17
|
+
onMuteUnmute: PropTypes.func,
|
|
18
|
+
onPause: PropTypes.func,
|
|
19
|
+
onPlay: PropTypes.func,
|
|
20
|
+
src: PropTypes.string,
|
|
21
|
+
timerFormat: PropTypes.string,
|
|
22
|
+
i18nKeys: PropTypes.shape({
|
|
23
|
+
playTitle: PropTypes.string,
|
|
24
|
+
pauseTitle: PropTypes.string,
|
|
25
|
+
downloadTitle: PropTypes.string,
|
|
26
|
+
closeTitle: PropTypes.string,
|
|
27
|
+
muteTitle: PropTypes.string,
|
|
28
|
+
unmuteTitle: PropTypes.string
|
|
29
|
+
}),
|
|
30
|
+
dataId: PropTypes.string,
|
|
31
|
+
customClass: PropTypes.string,
|
|
32
|
+
range: PropTypes.number
|
|
33
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export function openInNewTabWithNoopener(url) {
|
|
2
|
+
let targetnName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '_blank';
|
|
3
|
+
const aTag = document.createElement('a');
|
|
4
|
+
aTag.rel = 'noopener noreferrer';
|
|
5
|
+
aTag.target = targetnName;
|
|
6
|
+
aTag.href = url;
|
|
7
|
+
aTag.click();
|
|
8
|
+
}
|
|
9
|
+
export function addLeadingZeros(number) {
|
|
10
|
+
let desiredLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '2';
|
|
11
|
+
|
|
12
|
+
if (typeof number !== 'undefined') {
|
|
13
|
+
number = `${number}`;
|
|
14
|
+
desiredLength = Number(desiredLength);
|
|
15
|
+
|
|
16
|
+
if (number.length < desiredLength) {
|
|
17
|
+
for (let i = desiredLength - number.length; i > 0; i--) {
|
|
18
|
+
number = `0${number}`;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return number;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import Avatar from '@zohodesk/components/
|
|
5
|
+
import Avatar from '@zohodesk/components/es/Avatar/Avatar';
|
|
6
6
|
import AvatarIcon from "../avatar/AvatarIcon/AvatarIcon";
|
|
7
7
|
import { getChannelMappingObj } from "../utils/ChannelIconMapping";
|
|
8
8
|
import style from "./ChannelIcon.module.css";
|
|
@@ -7,6 +7,7 @@ import '@zohodesk/variables/assets/colorVariables.module.css';
|
|
|
7
7
|
import '@zohodesk/variables/assets/dotVariables.module.css';
|
|
8
8
|
import '@zohodesk/components/es/common/basic.module.css';
|
|
9
9
|
import '@zohodesk/variables/es/fontFamilyVariables.module.css';
|
|
10
|
+
import '@zohodesk/variables/es/fontWeightVariables.module.css';
|
|
10
11
|
import '@zohodesk/components/es/common/boxShadow.module.css';
|
|
11
12
|
import "../../common/dot_boxShadow.module.css";
|
|
12
13
|
|
package/es/Drawer/Drawer.js
CHANGED
|
@@ -2,15 +2,15 @@ import React from 'react';
|
|
|
2
2
|
import { Header_defaultProps, Footer_defaultProps, Drawer_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { Header_propTypes, Content_propTypes, Footer_propTypes, Drawer_propTypes } from "./props/propTypes";
|
|
4
4
|
import FreezeLayer from "../FreezeLayer/FreezeLayer";
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/
|
|
6
|
-
import { Card, CardHeader, CardContent } from '@zohodesk/components/
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
6
|
+
import { Card, CardHeader, CardContent } from '@zohodesk/components/es/Card';
|
|
7
7
|
import FormAction from "../FormAction/FormAction";
|
|
8
|
-
import VelocityAnimationGroup from '@zohodesk/components/
|
|
9
|
-
import { ResponsiveSender, ResponsiveReceiver } from '@zohodesk/components/
|
|
10
|
-
import Heading from '@zohodesk/components/
|
|
8
|
+
import VelocityAnimationGroup from '@zohodesk/components/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
|
|
9
|
+
import { ResponsiveSender, ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
|
|
10
|
+
import Heading from '@zohodesk/components/es/Heading/Heading';
|
|
11
11
|
import IconButton from "../IconButton/IconButton";
|
|
12
12
|
import { Icon } from '@zohodesk/icons';
|
|
13
|
-
import { getZIndex } from '@zohodesk/components/
|
|
13
|
+
import { getZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
|
|
14
14
|
import style from "./Drawer.module.css";
|
|
15
15
|
import FocusScope from '@zohodesk/a11y/es/FocusScope/FocusScope';
|
|
16
16
|
export class Header extends React.Component {
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
|
|
110
110
|
.title {
|
|
111
111
|
color: var(--zdt_drawer_title_text);
|
|
112
|
-
font-
|
|
112
|
+
font-weight: var(--zd-fw-semibold);
|
|
113
113
|
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
114
114
|
font-size: var(--zd_font_size16) ;
|
|
115
115
|
}
|
package/es/FlipCard/FlipCard.js
CHANGED
|
@@ -3,10 +3,10 @@ import { defaultProps } from "./props/defaultProps";
|
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import AvatarUser from "../avatar/AvatarUser/AvatarUser";
|
|
5
5
|
import AvatarIcon from "../avatar/AvatarIcon/AvatarIcon";
|
|
6
|
-
import CheckBox from '@zohodesk/components/
|
|
7
|
-
import { Container } from '@zohodesk/components/
|
|
6
|
+
import CheckBox from '@zohodesk/components/es/CheckBox/CheckBox';
|
|
7
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
8
8
|
import ChannelIcon from "../ChannelIcon/ChannelIcon";
|
|
9
|
-
import AvatarSize from '@zohodesk/components/
|
|
9
|
+
import AvatarSize from '@zohodesk/components/es/Provider/AvatarSize';
|
|
10
10
|
import style from "./FlipCard.module.css";
|
|
11
11
|
import { stopBubbling } from "../utils/General";
|
|
12
12
|
export default class FlipCard extends Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import style from "./FormAction.module.css";
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
6
6
|
export const LeftSide = props => {
|
|
7
7
|
props.children;
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import { Container } from '@zohodesk/components/
|
|
4
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
5
5
|
import { mergeStyle } from '@zohodesk/utils';
|
|
6
|
-
import VelocityAnimationGroup from '@zohodesk/components/
|
|
7
|
-
import { useZIndex } from '@zohodesk/components/
|
|
6
|
+
import VelocityAnimationGroup from '@zohodesk/components/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
|
|
7
|
+
import { useZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
|
|
8
8
|
import cssJSLogic from "./css/cssJSLogic";
|
|
9
9
|
import useFreezeLayer from "../Hooks/useFreezeLayer";
|
|
10
10
|
import style from "./css/FreezeLayer.module.css";
|
|
@@ -22,6 +22,12 @@ export default function useDragger(_ref) {
|
|
|
22
22
|
y: 0
|
|
23
23
|
});
|
|
24
24
|
const draggable = useRef(false);
|
|
25
|
+
const dragStarted = useRef(false);
|
|
26
|
+
const initialMouse = useRef({
|
|
27
|
+
x: 0,
|
|
28
|
+
y: 0
|
|
29
|
+
});
|
|
30
|
+
const DRAG_DISTANCE_THRESHOLD = 4;
|
|
25
31
|
useEffect(() => {
|
|
26
32
|
if (isActive) {
|
|
27
33
|
parentEle.current = ChildRef.current.closest('[data-drag-parent=true]') || getDotLibraryConfig('draggerBoundary') || document.body;
|
|
@@ -48,49 +54,62 @@ export default function useDragger(_ref) {
|
|
|
48
54
|
e = e || window.event;
|
|
49
55
|
e.preventDefault();
|
|
50
56
|
|
|
51
|
-
if (draggable.current) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
if (!draggable.current) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (!dragStarted.current) {
|
|
62
|
+
const dx = Math.abs(e.clientX - initialMouse.current.x);
|
|
63
|
+
const dy = Math.abs(e.clientY - initialMouse.current.y);
|
|
64
|
+
|
|
65
|
+
if (dx < DRAG_DISTANCE_THRESHOLD && dy < DRAG_DISTANCE_THRESHOLD) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const draggableEleRect = draggableEle.current.getBoundingClientRect();
|
|
70
|
+
const parentEleRect = parentEle ? parentEle.current.getBoundingClientRect() : {
|
|
71
|
+
left: 0,
|
|
72
|
+
top: 0
|
|
73
|
+
};
|
|
74
|
+
offset.current.x = draggableEleRect.left - e.clientX;
|
|
75
|
+
offset.current.y = draggableEleRect.top - e.clientY;
|
|
76
|
+
const relativeRect = {
|
|
77
|
+
left: draggableEleRect.left - parentEleRect.left,
|
|
78
|
+
top: draggableEleRect.top - parentEleRect.top
|
|
79
|
+
};
|
|
80
|
+
const styleRef = draggableEle.current.style;
|
|
81
|
+
styleRef.top = `${relativeRect.top}px`;
|
|
82
|
+
styleRef.left = `${relativeRect.left}px`;
|
|
83
|
+
styleRef.width = `${draggableEleRect.width}px`;
|
|
84
|
+
styleRef.position = "fixed";
|
|
85
|
+
styleRef.bottom = "initial";
|
|
86
|
+
styleRef.right = "initial";
|
|
87
|
+
dragStarted.current = true;
|
|
60
88
|
}
|
|
89
|
+
|
|
90
|
+
const left = offset.current.x + e.clientX;
|
|
91
|
+
const top = offset.current.y + e.clientY;
|
|
92
|
+
const {
|
|
93
|
+
x,
|
|
94
|
+
y
|
|
95
|
+
} = calculateDragPosition(left, top);
|
|
96
|
+
draggableEle.current.style.left = `${x}px`;
|
|
97
|
+
draggableEle.current.style.top = `${y}px`;
|
|
61
98
|
}, [calculateDragPosition]);
|
|
62
99
|
const closeDragElement = useCallback(() => {
|
|
63
100
|
document.removeEventListener('mouseup', closeDragElement);
|
|
64
101
|
document.removeEventListener('mousemove', elementDrag);
|
|
102
|
+
dragStarted.current = false;
|
|
103
|
+
draggable.current = false;
|
|
65
104
|
}, []);
|
|
66
105
|
const dragMouseDown = useCallback(e => {
|
|
67
106
|
e = e || window.event; // e.preventDefault();
|
|
68
107
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
width
|
|
73
|
-
} = draggableEleRect;
|
|
74
|
-
const parentEleRect = parentEle ? parentEle.current.getBoundingClientRect() : {
|
|
75
|
-
left: 0,
|
|
76
|
-
top: 0
|
|
108
|
+
initialMouse.current = {
|
|
109
|
+
x: e.clientX,
|
|
110
|
+
y: e.clientY
|
|
77
111
|
};
|
|
78
|
-
|
|
79
|
-
left: draggableEleRect.left - parentEleRect.left,
|
|
80
|
-
top: draggableEleRect.top - parentEleRect.top
|
|
81
|
-
};
|
|
82
|
-
const {
|
|
83
|
-
top,
|
|
84
|
-
left
|
|
85
|
-
} = relativeRect;
|
|
86
|
-
style.top = `${top}px`;
|
|
87
|
-
style.left = `${left}px`;
|
|
88
|
-
style.width = `${width}px`;
|
|
89
|
-
style.bottom = 'initial';
|
|
90
|
-
style.right = 'initial';
|
|
91
|
-
style.position = 'fixed';
|
|
92
|
-
offset.current.x = draggableEle.current.offsetLeft - e.clientX;
|
|
93
|
-
offset.current.y = draggableEle.current.offsetTop - e.clientY;
|
|
112
|
+
dragStarted.current = false;
|
|
94
113
|
draggable.current = true;
|
|
95
114
|
document.addEventListener('mouseup', closeDragElement);
|
|
96
115
|
document.addEventListener('mousemove', elementDrag);
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import { Container } from '@zohodesk/components/
|
|
6
|
-
import btnStyle from '@zohodesk/components/
|
|
7
|
-
import RippleEffect from '@zohodesk/components/
|
|
5
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
6
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
7
|
+
import RippleEffect from '@zohodesk/components/es/RippleEffect/RippleEffect';
|
|
8
8
|
import style from "./IconButton.module.css";
|
|
9
9
|
export default class IconButton extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/
|
|
4
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import style from "./ImportantNotes.module.css";
|
|
7
7
|
export default class ImportantNotes extends React.Component {
|
package/es/Loader/Loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { getZIndex } from '@zohodesk/components/
|
|
2
|
+
import { getZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
|
|
3
3
|
import style from "./Loader.module.css";
|
|
4
4
|
export default class Loader extends React.Component {
|
|
5
5
|
constructor(props) {
|
|
@@ -3,7 +3,7 @@ import { defaultProps } from "./props/defaultProps";
|
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import Link from "../Link/Link";
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
|
-
import { Container, Box } from '@zohodesk/components/
|
|
6
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
7
7
|
import style from "./MessageBanner.module.css";
|
|
8
8
|
export default class MessageBanner extends React.Component {
|
|
9
9
|
render() {
|
package/es/NewStar/NewStar.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import { Container } from '@zohodesk/components/
|
|
5
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
6
6
|
import style from "./NewStar.module.css";
|
|
7
7
|
export default class NewStar extends React.Component {
|
|
8
8
|
render() {
|
|
@@ -5,10 +5,10 @@ import { propTypes } from "./props/propTypes";
|
|
|
5
5
|
import { defaultProps } from "./props/defaultProps";
|
|
6
6
|
/**components**/
|
|
7
7
|
|
|
8
|
-
import Icon from '@zohodesk/icons/
|
|
8
|
+
import Icon from '@zohodesk/icons/es/Icon';
|
|
9
9
|
import Flex from '@zohodesk/layout/es/Flex/Flex';
|
|
10
|
-
import Button from '@zohodesk/components/
|
|
11
|
-
import Modal from '@zohodesk/components/
|
|
10
|
+
import Button from '@zohodesk/components/es/Button/Button';
|
|
11
|
+
import Modal from '@zohodesk/components/es/Modal/Modal';
|
|
12
12
|
import Ribbon from '@zohodesk/components/es/Ribbon/Ribbon';
|
|
13
13
|
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
14
14
|
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Container, Box } from '@zohodesk/components/
|
|
2
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
import style from "./Separator.module.css";
|
|
@@ -4,11 +4,11 @@ import { propTypes } from "./props/propTypes"; //components
|
|
|
4
4
|
|
|
5
5
|
import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
6
6
|
import { Icon } from '@zohodesk/icons';
|
|
7
|
-
import { Container, Box } from '@zohodesk/components/
|
|
8
|
-
import { useZIndex } from '@zohodesk/components/
|
|
9
|
-
import { useUniqueId } from '@zohodesk/components/
|
|
7
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
8
|
+
import { useZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
|
|
9
|
+
import { useUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
10
10
|
import AutoClose from "../actions/AutoClose";
|
|
11
|
-
import a11yStyle from '@zohodesk/components/
|
|
11
|
+
import a11yStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css'; //style
|
|
12
12
|
|
|
13
13
|
import style from "./ToastMessage.module.css";
|
|
14
14
|
|
package/es/Upload/Upload.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
6
6
|
import Image from "../Image/Image";
|
|
7
7
|
import style from "./Upload.module.css";
|
|
8
8
|
export default class Upload extends React.Component {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**** Libraries ****/
|
|
2
2
|
import React, { useCallback, useEffect } from 'react';
|
|
3
|
-
import Icon from '@zohodesk/icons/
|
|
3
|
+
import Icon from '@zohodesk/icons/es/Icon';
|
|
4
4
|
import Button from '@zohodesk/components/es/Button/Button';
|
|
5
5
|
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
6
6
|
import { mergeStyle } from '@zohodesk/utils';
|
|
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import Title from "../../lookup/header/Title/Title";
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
6
6
|
import { Icon } from '@zohodesk/icons';
|
|
7
7
|
import Close from "../../lookup/header/Close/Close";
|
|
8
8
|
import style from "./AlertHeader.module.css";
|
|
@@ -6,7 +6,7 @@ import { propTypes } from "./props/propTypes";
|
|
|
6
6
|
|
|
7
7
|
import Lookup from "../../lookup/Lookup/Lookup";
|
|
8
8
|
import AlertHeader from "../AlertHeader/AlertHeader";
|
|
9
|
-
import Button from '@zohodesk/components/
|
|
9
|
+
import Button from '@zohodesk/components/es/Button/Button';
|
|
10
10
|
import Section from "../../lookup/Section/Section";
|
|
11
11
|
import FormAction from "../../FormAction/FormAction";
|
|
12
12
|
/**** CSS ****/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import Avatar from '@zohodesk/components/
|
|
4
|
+
import Avatar from '@zohodesk/components/es/Avatar/Avatar';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import style from "./AvatarClose.module.css";
|
|
7
7
|
export default class AvatarClose extends React.Component {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import Avatar from '@zohodesk/components/
|
|
4
|
+
import Avatar from '@zohodesk/components/es/Avatar/Avatar';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import style from "./AvatarCollision.module.css";
|
|
7
7
|
export default class AvatarCollision extends React.Component {
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import { Container } from '@zohodesk/components/
|
|
6
|
-
import AvatarSize from '@zohodesk/components/
|
|
5
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
6
|
+
import AvatarSize from '@zohodesk/components/es/Provider/AvatarSize';
|
|
7
7
|
import style from "./AvatarIcon.module.css";
|
|
8
8
|
export default class AvatarIcon extends React.Component {
|
|
9
9
|
render() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import Avatar from '@zohodesk/components/
|
|
4
|
+
import Avatar from '@zohodesk/components/es/Avatar/Avatar';
|
|
5
5
|
import style from "./AvatarStatus.module.css";
|
|
6
6
|
export default class AvatarStatus extends React.Component {
|
|
7
7
|
constructor(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import Avatar from '@zohodesk/components/
|
|
4
|
+
import Avatar from '@zohodesk/components/es/Avatar/Avatar';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import style from "./AvatarThread.module.css";
|
|
7
7
|
export default class AvatarThread extends React.Component {
|
|
@@ -4,7 +4,7 @@ import { defaultProps } from "./props/defaultProps";
|
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
6
|
|
|
7
|
-
import Avatar from '@zohodesk/components/
|
|
7
|
+
import Avatar from '@zohodesk/components/es/Avatar/Avatar';
|
|
8
8
|
import AvatarIcon from "../AvatarIcon/AvatarIcon";
|
|
9
9
|
import { Icon } from '@zohodesk/icons';
|
|
10
10
|
import style from "./AvatarUser.module.css";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import Avatar from '@zohodesk/components/
|
|
5
|
-
import AvatarTeam from '@zohodesk/components/
|
|
4
|
+
import Avatar from '@zohodesk/components/es/Avatar/Avatar';
|
|
5
|
+
import AvatarTeam from '@zohodesk/components/es/AvatarTeam/AvatarTeam';
|
|
6
6
|
import style from "./AvatarWithTeam.module.css";
|
|
7
7
|
export default class AvatarWithTeam extends React.Component {
|
|
8
8
|
render() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import { Container } from '@zohodesk/components/
|
|
5
|
-
import VelocityAnimationGroup from '@zohodesk/components/
|
|
4
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
5
|
+
import VelocityAnimationGroup from '@zohodesk/components/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
|
|
6
6
|
import style from "./_FreezeLayer.module.css";
|
|
7
|
-
import { getZIndex } from '@zohodesk/components/
|
|
7
|
+
import { getZIndex } from '@zohodesk/components/es/Provider/ZindexProvider';
|
|
8
8
|
import { getDotLibraryConfig } from "../Provider/Config";
|
|
9
9
|
export default class FreezeLayer extends Component {
|
|
10
10
|
constructor(props) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import Popup from '@zohodesk/components/
|
|
4
|
-
import ListItem from '@zohodesk/components/
|
|
5
|
-
import TextBox from '@zohodesk/components/
|
|
6
|
-
import DropDownHeading from '@zohodesk/components/
|
|
3
|
+
import Popup from '@zohodesk/components/es/Popup/Popup';
|
|
4
|
+
import ListItem from '@zohodesk/components/es/ListItem/ListItem';
|
|
5
|
+
import TextBox from '@zohodesk/components/es/TextBox/TextBox';
|
|
6
|
+
import DropDownHeading from '@zohodesk/components/es/DropDown/DropDownHeading';
|
|
7
7
|
import { Icon } from '@zohodesk/icons';
|
|
8
|
-
import { Container, Box } from '@zohodesk/components/
|
|
9
|
-
import ResponsiveDropBox from '@zohodesk/components/
|
|
10
|
-
import { ResponsiveReceiver } from '@zohodesk/components/
|
|
8
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
9
|
+
import ResponsiveDropBox from '@zohodesk/components/es/ResponsiveDropBox/ResponsiveDropBox';
|
|
10
|
+
import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
|
|
11
11
|
import style from "./SelectDropdown.module.css";
|
|
12
12
|
|
|
13
13
|
class SelectDropdown extends React.Component {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer dot-core, dot-core.ActionButton, dot-core.AlphabeticList, dot-core.Attachment, dot-core.AttachmentViewer, dot-core.ChannelIcon, dot-core.Drawer, dot-core.ExternalLink, dot-core.FlipCard, dot-core.FormAction, dot-core.css, dot-core.IconButton, dot-core.Image, dot-core.ImportantNotes, dot-core.Link, dot-core.Loader, dot-core.Message, dot-core.MessageBanner, dot-core.NewStar, dot-core.PlusIcon, dot-core.Separator, dot-core.TagWithIcon, dot-core.ToastMessage, dot-core.Upload, dot-core.AlertHeader, dot-core.AlertLookup, dot-core.AvatarClose, dot-core.AvatarCollision, dot-core.AvatarIcon, dot-core.AvatarStatus, dot-core.AvatarThread, dot-core.AvatarUser, dot-core.AvatarWithTeam, dot-core.common, dot-core.FreezeLayer, dot-core.SelectDropdown, dot-core.ToggleDropDown, dot-core.CommonEmptyState, dot-core.EditionPage, dot-core.errorstate, dot-core.Inconvenience, dot-core.LinkText, dot-core.NoRequestFound, dot-core.PermissionPlay, dot-core.RequestUrlNotFound, dot-core.UnableToProcess, dot-core.UnauthorizedLogin, dot-core.WillBack, dot-core.fields, dot-core.TagsMultiSelect, dot-core.TagsMultiSelectField, dot-core.TextEditor, dot-core.TextEditorWrapper, dot-core.ValidationMessage, dot-core.Field, dot-core.Section, dot-core.SetupDetailLayout, dot-core.SubtabLayout, dot-core.AvatarFlip, dot-core.BluePrintStatus, dot-core.Comment, dot-core.DepartmentDropDown, dot-core.Dot, dot-core.DotNew, dot-core.GridStencils, dot-core.Icons, dot-core.ListLayout, dot-core.ListStencils, dot-core.SecondaryText, dot-core.SecondryPanel, dot-core.SentimentStatus, dot-core.Subject, dot-core.TagNew, dot-core.Thread, dot-core.list, dot-core.StatusDropdown, dot-core.StatusListItem, dot-core.EmptyPage, dot-core.Lookup, dot-core.Close, dot-core.Search, dot-core.TicketHeader, dot-core.Title, dot-core.ViewDropDown, dot-core.header, dot-core.Button, dot-core.Views, dot-core.Description, dot-core.ListGroup, dot-core.TableData, dot-core.TableHead, dot-core.TableRow, dot-core.Text, dot-core.AlertClose, dot-core.GlobalNotification, dot-core.alertIcons, dot-core.lookup, dot-core.DesktopNotification, dot-core.DesktopNotificationHeader, dot-core.mode, dot-core.blue, dot-core.green, dot-core.orange, dot-core.red, dot-core.yellow;
|
|
@@ -2,22 +2,22 @@ import React, { Component, Fragment } from 'react';
|
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import Popup from '@zohodesk/components/
|
|
6
|
-
import { Box, Container } from '@zohodesk/components/
|
|
5
|
+
import Popup from '@zohodesk/components/es/Popup/Popup';
|
|
6
|
+
import { Box, Container } from '@zohodesk/components/es/Layout';
|
|
7
7
|
import ListItem from '@zohodesk/components/es/ListItem/ListItem';
|
|
8
|
-
import ListItemWithIcon from '@zohodesk/components/
|
|
9
|
-
import DropDownHeading from '@zohodesk/components/
|
|
10
|
-
import TextBoxIcon from '@zohodesk/components/
|
|
11
|
-
import Loader from '@zohodesk/svg/
|
|
8
|
+
import ListItemWithIcon from '@zohodesk/components/es/ListItem/ListItemWithIcon';
|
|
9
|
+
import DropDownHeading from '@zohodesk/components/es/DropDown/DropDownHeading';
|
|
10
|
+
import TextBoxIcon from '@zohodesk/components/es/TextBoxIcon/TextBoxIcon';
|
|
11
|
+
import Loader from '@zohodesk/svg/es/Loader/Loader';
|
|
12
12
|
import CommonEmptyState from "../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
13
|
-
import EmptySearch from '@zohodesk/svg/
|
|
14
|
-
import CssProvider from '@zohodesk/components/
|
|
15
|
-
import {
|
|
16
|
-
import { getUniqueId } from '@zohodesk/components/
|
|
17
|
-
import btnStyle from '@zohodesk/components/
|
|
18
|
-
import RippleEffect from '@zohodesk/components/
|
|
19
|
-
import ResponsiveDropBox from '@zohodesk/components/
|
|
20
|
-
import { ResponsiveReceiver } from '@zohodesk/components/
|
|
13
|
+
import EmptySearch from '@zohodesk/svg/es/emptystate/version3/EmptySearch';
|
|
14
|
+
import CssProvider from '@zohodesk/components/es/Provider/CssProvider';
|
|
15
|
+
import { findScrollEnd } from '@zohodesk/components/es/utils/Common';
|
|
16
|
+
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
17
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
18
|
+
import RippleEffect from '@zohodesk/components/es/RippleEffect/RippleEffect';
|
|
19
|
+
import ResponsiveDropBox from '@zohodesk/components/es/ResponsiveDropBox/ResponsiveDropBox';
|
|
20
|
+
import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
|
|
21
21
|
import style from "./ToggleDropDown.module.css";
|
|
22
22
|
export class ToggleDropDown extends Component {
|
|
23
23
|
constructor(props) {
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
}
|
|
7
7
|
.header {
|
|
8
8
|
font-size: var(--zd_font_size20) ;
|
|
9
|
-
font-
|
|
9
|
+
font-weight: var(--zd-fw-semibold);
|
|
10
10
|
margin-top: var(--zd_size16) ;
|
|
11
11
|
}
|
|
12
12
|
.description {
|
|
13
13
|
font-size: var(--zd_font_size15) ;
|
|
14
|
-
font-
|
|
14
|
+
font-weight: var(--zd-fw-semibold);
|
|
15
15
|
margin: var(--zd_size20) 0 ;
|
|
16
16
|
}
|
|
17
17
|
.content {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import EmptyCrmPotential from '@zohodesk/svg/
|
|
4
|
+
import EmptyCrmPotential from '@zohodesk/svg/es/emptystate/version3/EmptyCrmPotential';
|
|
5
5
|
import style from "./EditionPage.css";
|
|
6
6
|
export default class EditionPage extends Component {
|
|
7
7
|
constructor(props) {
|