@zohodesk/dot 1.0.0-temp-214 → 1.0.0-temp-216
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 +23 -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/AlphabeticList/AlphabeticList.js +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/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +15 -16
- 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 +44 -0
- package/es/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +145 -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/Drawer/Drawer.js +6 -6
- 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/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/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 +11 -9
- package/es/form/fields/CurrencyField/CurrencyField.js +7 -7
- package/es/form/fields/DateField/DateField.js +10 -9
- 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 +8 -7
- 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 +8 -7
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -7
- package/es/form/fields/TextBoxField/TextBoxField.js +9 -9
- package/es/form/fields/TextEditor/TextEditor.js +1 -1
- 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 +8 -8
- 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/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/SecondryPanel/SecondryPanel.js +2 -2
- 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/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/ViewDropDown/ViewDropDown.js +9 -9
- 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/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/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/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/WillBeRightBack/WillBeRightBack.js +3 -3
- package/es/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
- 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/AlphabeticList/AlphabeticList.js +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/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +15 -16
- 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 +50 -0
- package/lib/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +145 -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/Drawer/Drawer.js +6 -6
- 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/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/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 +12 -9
- package/lib/form/fields/CurrencyField/CurrencyField.js +7 -6
- package/lib/form/fields/DateField/DateField.js +11 -8
- 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 +9 -7
- 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 +9 -7
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +10 -7
- package/lib/form/fields/TextBoxField/TextBoxField.js +10 -8
- package/lib/form/fields/TextEditor/TextEditor.js +1 -1
- 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 +8 -7
- 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/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/SecondryPanel/SecondryPanel.js +2 -2
- 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/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/ViewDropDown/ViewDropDown.js +9 -9
- 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/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/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/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/WillBeRightBack/WillBeRightBack.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +1 -0
- package/package.json +28 -12
- 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
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import { Box } from '@zohodesk/components/
|
|
5
|
-
|
|
6
|
-
import
|
|
7
|
-
import Popup from '@zohodesk/components/lib/Popup/Popup';
|
|
4
|
+
import { Box } from '@zohodesk/components/es/Layout';
|
|
5
|
+
import Label from '@zohodesk/components/es/Label/Label';
|
|
6
|
+
import Popup from '@zohodesk/components/es/Popup/Popup';
|
|
8
7
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
9
8
|
import TagsMultiSelect from "../TagsMultiSelect/TagsMultiSelect";
|
|
10
9
|
import FieldContainer from "../FieldContainer/FieldContainer";
|
|
@@ -207,10 +206,13 @@ const TagsMultiSelectField = props => {
|
|
|
207
206
|
}
|
|
208
207
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
209
208
|
text: labelName,
|
|
210
|
-
|
|
209
|
+
title: labelName,
|
|
210
|
+
id: id,
|
|
211
|
+
size: labelSize,
|
|
212
|
+
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
213
|
+
customClass: `${fieldStyle.fieldLabel} ${isMandatory ? fieldStyle.labelMandatory : ''} ${labelClass ? labelClass : ''}`,
|
|
214
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
211
215
|
htmlFor: htmlId,
|
|
212
|
-
testId: id,
|
|
213
|
-
customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
214
216
|
...LabelProps
|
|
215
217
|
}), selectedValueCount ? /*#__PURE__*/React.createElement(Box, {
|
|
216
218
|
dataId: `${dataId}_tagCount`,
|
|
@@ -3,12 +3,11 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
|
-
// import Label from '@zohodesk/components/lib/Label/Label';
|
|
7
6
|
|
|
8
|
-
import Label from '@zohodesk/components/es/
|
|
9
|
-
import TextBoxIcon from '@zohodesk/components/
|
|
7
|
+
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
|
+
import TextBoxIcon from '@zohodesk/components/es/TextBoxIcon/TextBoxIcon';
|
|
10
9
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
11
|
-
import { getUniqueId } from '@zohodesk/components/
|
|
10
|
+
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
12
11
|
import FieldContainer from "../FieldContainer/FieldContainer";
|
|
13
12
|
/**** CSS ****/
|
|
14
13
|
|
|
@@ -104,12 +103,13 @@ export default class TextBoxField extends PureComponent {
|
|
|
104
103
|
renderProps: renderLabelProps
|
|
105
104
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
106
105
|
text: labelName,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
107
|
+
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
108
|
+
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
110
109
|
htmlFor: uniqueId,
|
|
111
|
-
|
|
112
|
-
...LabelProps
|
|
110
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
111
|
+
...LabelProps,
|
|
112
|
+
id: labelName
|
|
113
113
|
})), /*#__PURE__*/React.createElement("div", {
|
|
114
114
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
115
115
|
}, /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
@@ -3,7 +3,7 @@ import React, { Component } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
import selectn from 'selectn';
|
|
6
|
-
import { Container, Box } from '@zohodesk/components/
|
|
6
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
7
7
|
/***** Methods *****/
|
|
8
8
|
|
|
9
9
|
import { bind, editorContentValidate, fixEncoding, isFileNameSizeInvalid, isImageFormat, triggerKeyup, getRichEditorContent, changeContent, validateEditorContentOnInsertHtml, loadResource } from "../../../utils/editorUtils"; //import './ZohoDeskEditor_Init';
|
|
@@ -4,7 +4,7 @@ import { defaultProps } from "./props/defaultProps";
|
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
6
|
|
|
7
|
-
import Label from '@zohodesk/components/
|
|
7
|
+
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
8
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
9
9
|
import TextEditorWrapper from "../TextEditorWrapper/TextEditorWrapper";
|
|
10
10
|
import FieldContainer from "../FieldContainer/FieldContainer";
|
|
@@ -4,8 +4,8 @@ import { propTypes } from "./props/propTypes";
|
|
|
4
4
|
/**** Components ****/
|
|
5
5
|
|
|
6
6
|
import TextEditor from "../TextEditor/TextEditor";
|
|
7
|
-
import Textarea from '@zohodesk/components/
|
|
8
|
-
import VelocityAnimationGroup from '@zohodesk/components/
|
|
7
|
+
import Textarea from '@zohodesk/components/es/Textarea/Textarea';
|
|
8
|
+
import VelocityAnimationGroup from '@zohodesk/components/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
|
|
9
9
|
import { editorContentValidate } from "../../../utils/editorUtils";
|
|
10
10
|
import style from "./TextEditorWrapper.module.css";
|
|
11
11
|
/* eslint-disable react/no-deprecated */
|
|
@@ -3,12 +3,11 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
|
-
// import Label from '@zohodesk/components/lib/Label/Label';
|
|
7
6
|
|
|
8
|
-
import Label from '@zohodesk/components/es/
|
|
9
|
-
import Textarea from '@zohodesk/components/
|
|
7
|
+
import Label from '@zohodesk/components/es/Label/Label';
|
|
8
|
+
import Textarea from '@zohodesk/components/es/Textarea/Textarea';
|
|
10
9
|
import ValidationMessage from "../ValidationMessage/ValidationMessage";
|
|
11
|
-
import { getUniqueId } from '@zohodesk/components/
|
|
10
|
+
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
12
11
|
import FieldContainer from "../FieldContainer/FieldContainer";
|
|
13
12
|
/**** CSS ****/
|
|
14
13
|
|
|
@@ -132,11 +131,12 @@ export default class TextareaField extends PureComponent {
|
|
|
132
131
|
renderProps: renderLabelProps
|
|
133
132
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
134
133
|
text: labelName,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
id: id,
|
|
135
|
+
size: fieldSize === 'small' ? 'small' : 'medium',
|
|
136
|
+
palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
|
|
137
|
+
customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
|
|
138
138
|
htmlFor: uniqueId,
|
|
139
|
-
|
|
139
|
+
dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
|
|
140
140
|
...LabelProps
|
|
141
141
|
})), /*#__PURE__*/React.createElement("div", {
|
|
142
142
|
className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
|
|
@@ -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 Label from '@zohodesk/components/
|
|
5
|
-
import colors from '@zohodesk/components/
|
|
4
|
+
import Label from '@zohodesk/components/es/Label/Label';
|
|
5
|
+
import colors from '@zohodesk/components/es/Label/LabelColors.module.css';
|
|
6
6
|
import style from "./ValidationMessage.module.css";
|
|
7
7
|
import { Icon } from '@zohodesk/icons';
|
|
8
8
|
export default class ValidationMessage extends React.Component {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { SetupDetailLayout_defaultProps, SetupHeader_defaultProps, SetupContent_defaultProps, SetupFooter_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { SetupDetailLayout_propTypes, SetupHeader_propTypes, SetupContent_propTypes, SetupFooter_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 "./SetupDetailLayout.module.css";
|
|
7
7
|
export default class SetupDetailLayout extends React.Component {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SubtabHeader_propTypes, SubtabFooter_propTypes, SubtabContent_propTypes, SubtabLayout_propTypes } from "./props/propTypes";
|
|
3
3
|
import { SubtabHeader_defaultProps, SubtabFooter_defaultProps, SubtabContent_defaultProps, SubtabLayout_defaultProps } from "./props/defaultProps";
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/
|
|
5
|
-
import { Card, CardHeader, CardContent } from '@zohodesk/components/
|
|
4
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
5
|
+
import { Card, CardHeader, CardContent } from '@zohodesk/components/es/Card';
|
|
6
6
|
import PlusIcon from "../../PlusIcon/PlusIcon";
|
|
7
7
|
import style from "./SubtabLayout.module.css";
|
|
8
8
|
export class SubtabHeader extends React.Component {
|
|
@@ -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 Button from '@zohodesk/components/
|
|
5
|
+
import Button from '@zohodesk/components/es/semantic/Button/Button';
|
|
6
6
|
import style from "./Comment.module.css";
|
|
7
7
|
export default class Comment extends Component {
|
|
8
8
|
constructor(props) {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { AddNewIcon_propTypes } from "./props/propTypes";
|
|
3
3
|
import { Icon } from '@zohodesk/icons';
|
|
4
4
|
import style from "./Icons.module.css";
|
|
5
|
-
import btnStyle from '@zohodesk/components/
|
|
5
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
6
6
|
export default class AddNewIcon extends React.Component {
|
|
7
7
|
render() {
|
|
8
8
|
let {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { CompleteIcon_propTypes } from "./props/propTypes";
|
|
3
3
|
import { Icon } from '@zohodesk/icons';
|
|
4
4
|
import style from "./Icons.module.css";
|
|
5
|
-
import btnStyle from '@zohodesk/components/
|
|
5
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
6
6
|
export default class CompleteIcon extends React.Component {
|
|
7
7
|
render() {
|
|
8
8
|
let {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { DeleteComponent_propTypes } from "./props/propTypes";
|
|
3
3
|
import style from "./Icons.module.css";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import btnStyle from '@zohodesk/components/
|
|
5
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
6
6
|
export default class DeleteComponent extends React.Component {
|
|
7
7
|
render() {
|
|
8
8
|
let {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { EditIcon_propTypes } from "./props/propTypes";
|
|
3
3
|
import style from "./Icons.module.css";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import btnStyle from '@zohodesk/components/
|
|
5
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
6
6
|
export default class EditIcon extends React.Component {
|
|
7
7
|
render() {
|
|
8
8
|
let {
|
|
@@ -3,7 +3,7 @@ import { ReadUnreadIcon_defaultProps } from "./props/defaultProps";
|
|
|
3
3
|
import { ReadUnreadIcon_propTypes } from "./props/propTypes";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import style from "./Icons.module.css";
|
|
6
|
-
import btnStyle from '@zohodesk/components/
|
|
6
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
7
7
|
export default class ReadUnreadIcon extends React.Component {
|
|
8
8
|
render() {
|
|
9
9
|
let {
|
|
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|
|
2
2
|
import { SmartIcon_propTypes } from "./props/propTypes";
|
|
3
3
|
import style from "./Icons.module.css";
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
|
-
import btnStyle from '@zohodesk/components/
|
|
5
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
6
6
|
export default class SmartIcon extends Component {
|
|
7
7
|
render() {
|
|
8
8
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { ListLayout_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { ListLayout_propTypes, Column_propTypes } from "./props/propTypes";
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/
|
|
4
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
5
5
|
import style from "./ListLayout.module.css";
|
|
6
6
|
export default class ListLayout extends Component {
|
|
7
7
|
constructor(props) {
|
|
@@ -4,7 +4,7 @@ import { defaultProps } from "./props/defaultProps";
|
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/*** Components ***/
|
|
6
6
|
|
|
7
|
-
import Stencils from '@zohodesk/components/
|
|
7
|
+
import Stencils from '@zohodesk/components/es/Stencils/Stencils';
|
|
8
8
|
/*** CSS ***/
|
|
9
9
|
|
|
10
10
|
import style from "./ListStencils.module.css";
|
|
@@ -6,7 +6,7 @@ import { AccountName_defaultProps } from "./props/defaultProps";
|
|
|
6
6
|
import { AccountName_propTypes } from "./props/propTypes";
|
|
7
7
|
/**** Components ****/
|
|
8
8
|
|
|
9
|
-
import { Container, Box } from '@zohodesk/components/
|
|
9
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
10
10
|
import Link from "../../Link/Link";
|
|
11
11
|
/**** CSS ****/
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { ContactName_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { ContactName_propTypes } from "./props/propTypes";
|
|
4
|
-
import { Container, Box } from '@zohodesk/components/
|
|
4
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
5
5
|
import Link from "../../Link/Link";
|
|
6
6
|
import SentimentStatus from "../SentimentStatus/SentimentStatus";
|
|
7
7
|
import { Icon } from '@zohodesk/icons';
|
|
@@ -4,9 +4,9 @@ import { SecondryPanel_defaultProps, SecondryPanelUL_defaultProps, SecondryPanel
|
|
|
4
4
|
import { SecondryPanel_propTypes, SecondryPanelUL_propTypes, SecondryPanelLI_propTypes, SecondryPanelItem_propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
6
|
|
|
7
|
-
import { Box } from '@zohodesk/components/
|
|
7
|
+
import { Box } from '@zohodesk/components/es/Layout';
|
|
8
8
|
import Dot from "../Dot/Dot";
|
|
9
|
-
import Container from '@zohodesk/components/
|
|
9
|
+
import Container from '@zohodesk/components/es/Layout/Container';
|
|
10
10
|
/**** CSS ****/
|
|
11
11
|
|
|
12
12
|
import style from "./SecondryPanel.module.css";
|
package/es/list/Thread/Thread.js
CHANGED
|
@@ -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 Button from '@zohodesk/components/
|
|
5
|
+
import Button from '@zohodesk/components/es/semantic/Button/Button';
|
|
6
6
|
import style from "./Thread.module.css";
|
|
7
7
|
export default class Thread extends Component {
|
|
8
8
|
constructor(props) {
|
|
@@ -2,19 +2,19 @@ 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 Popup from '@zohodesk/components/
|
|
6
|
-
import { Box, Container } from '@zohodesk/components/
|
|
7
|
-
import DropDownHeading from '@zohodesk/components/
|
|
8
|
-
import TextBoxIcon from '@zohodesk/components/
|
|
9
|
-
import Loader from '@zohodesk/svg/
|
|
10
|
-
import EmptySearch from '@zohodesk/svg/
|
|
5
|
+
import Popup from '@zohodesk/components/es/Popup/Popup';
|
|
6
|
+
import { Box, Container } from '@zohodesk/components/es/Layout';
|
|
7
|
+
import DropDownHeading from '@zohodesk/components/es/DropDown/DropDownHeading';
|
|
8
|
+
import TextBoxIcon from '@zohodesk/components/es/TextBoxIcon/TextBoxIcon';
|
|
9
|
+
import Loader from '@zohodesk/svg/es/Loader/Loader';
|
|
10
|
+
import EmptySearch from '@zohodesk/svg/es/emptystate/version3/EmptySearch';
|
|
11
11
|
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
12
12
|
import StatusListItem from "../StatusListItem/StatusListItem";
|
|
13
13
|
import commonStyle from '@zohodesk/components/es/common/common.module.css';
|
|
14
|
-
import ResponsiveDropBox from '@zohodesk/components/
|
|
15
|
-
import { ResponsiveReceiver } from '@zohodesk/components/
|
|
16
|
-
import { getUniqueId } from '@zohodesk/components/
|
|
17
|
-
import btnStyle from '@zohodesk/components/
|
|
14
|
+
import ResponsiveDropBox from '@zohodesk/components/es/ResponsiveDropBox/ResponsiveDropBox';
|
|
15
|
+
import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
|
|
16
|
+
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
17
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
18
18
|
import style from "./StatusDropdown.module.css";
|
|
19
19
|
export class StatusDropdown extends React.Component {
|
|
20
20
|
constructor(props) {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
6
6
|
/**** Components ****/
|
|
7
7
|
|
|
8
8
|
import { Icon } from '@zohodesk/icons';
|
|
9
|
-
import CssProvider from '@zohodesk/components/
|
|
9
|
+
import CssProvider from '@zohodesk/components/es/Provider/CssProvider';
|
|
10
10
|
/**** CSS ****/
|
|
11
11
|
|
|
12
12
|
import style from "./StatusListItem.module.css";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
3
|
import { defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
|
-
import EmptySearch from '@zohodesk/svg/
|
|
6
|
-
import EmptyAccounts from '@zohodesk/svg/
|
|
7
|
-
import EmptyContact from '@zohodesk/svg/
|
|
8
|
-
import EmptyProducts from '@zohodesk/svg/
|
|
5
|
+
import EmptySearch from '@zohodesk/svg/es/emptystate/version3/EmptySearch';
|
|
6
|
+
import EmptyAccounts from '@zohodesk/svg/es/emptystate/version3/EmptyAccounts';
|
|
7
|
+
import EmptyContact from '@zohodesk/svg/es/emptystate/version3/EmptyContact';
|
|
8
|
+
import EmptyProducts from '@zohodesk/svg/es/emptystate/version3/EmptyProducts';
|
|
9
9
|
/*** CSS ***/
|
|
10
10
|
|
|
11
11
|
import style from "./LookupEmptyPage.module.css";
|
|
@@ -5,7 +5,7 @@ import { propTypes } from "./props/propTypes";
|
|
|
5
5
|
/*** Components ***/
|
|
6
6
|
|
|
7
7
|
import FreezeLayer from "../../FreezeLayer/FreezeLayer";
|
|
8
|
-
import { Container } from '@zohodesk/components/
|
|
8
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
9
9
|
/*** CSS ***/
|
|
10
10
|
|
|
11
11
|
import style from "./Lookup.module.css";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { propTypes } from "./props/propTypes";
|
|
3
|
-
import { Container, Box } from '@zohodesk/components/
|
|
3
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
4
4
|
import style from "./LookupSection.module.css";
|
|
5
5
|
export default class Section extends Component {
|
|
6
6
|
constructor(props) {
|
|
@@ -7,7 +7,7 @@ import { propTypes } from "./props/propTypes";
|
|
|
7
7
|
import Title from "../Title/Title";
|
|
8
8
|
import Close from "../Close/Close";
|
|
9
9
|
import Search from "../Search/Search";
|
|
10
|
-
import { Container, Box } from '@zohodesk/components/
|
|
10
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
11
11
|
/*** CSS ***/
|
|
12
12
|
|
|
13
13
|
import commonStyle from "../lookupHeaderCommon.module.css";
|
|
@@ -6,14 +6,14 @@ import { SearchUI_defaultProps } from "./props/defaultProps";
|
|
|
6
6
|
import { Search_propTypes, SearchUI_propTypes } from "./props/propTypes";
|
|
7
7
|
/** * Components ** */
|
|
8
8
|
|
|
9
|
-
import TextBoxIcon from '@zohodesk/components/
|
|
10
|
-
import { Container, Box } from '@zohodesk/components/
|
|
9
|
+
import TextBoxIcon from '@zohodesk/components/es/TextBoxIcon/TextBoxIcon';
|
|
10
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
11
11
|
import { mergeStyle } from '@zohodesk/utils';
|
|
12
12
|
import { Icon } from '@zohodesk/icons';
|
|
13
13
|
import ToggleDropDown from "../../../dropdown/ToggleDropDown/ToggleDropDown";
|
|
14
14
|
/** * Methods ** */
|
|
15
15
|
|
|
16
|
-
import { debounce } from '@zohodesk/components/
|
|
16
|
+
import { debounce } from '@zohodesk/components/es/utils/debounce';
|
|
17
17
|
import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
18
18
|
/** * CSS ** */
|
|
19
19
|
|
|
@@ -8,7 +8,7 @@ import Title from "../Title/Title";
|
|
|
8
8
|
import Close from "../Close/Close";
|
|
9
9
|
import Search from "../Search/Search";
|
|
10
10
|
import ViewDropDown from "../ViewDropDown/ViewDropDown";
|
|
11
|
-
import { Container, Box } from '@zohodesk/components/
|
|
11
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
12
12
|
import useDragger from "../../../Hooks/Dragger/useDragger";
|
|
13
13
|
/*** CSS ***/
|
|
14
14
|
|
|
@@ -4,18 +4,18 @@ import { defaultProps } from "./props/defaultProps";
|
|
|
4
4
|
import { propTypes } from "./props/propTypes";
|
|
5
5
|
/**** Components ****/
|
|
6
6
|
|
|
7
|
-
import { SelectComponent } from '@zohodesk/components/
|
|
8
|
-
import Popup from '@zohodesk/components/
|
|
9
|
-
import ListItem from '@zohodesk/components/
|
|
10
|
-
import DropDownSearch from '@zohodesk/components/
|
|
11
|
-
import { Card, CardHeader, CardContent } from '@zohodesk/components/
|
|
12
|
-
import ResponsiveDropBox from '@zohodesk/components/
|
|
13
|
-
import { ResponsiveReceiver } from '@zohodesk/components/
|
|
7
|
+
import { SelectComponent } from '@zohodesk/components/es/Select/Select';
|
|
8
|
+
import Popup from '@zohodesk/components/es/Popup/Popup';
|
|
9
|
+
import ListItem from '@zohodesk/components/es/ListItem/ListItem';
|
|
10
|
+
import DropDownSearch from '@zohodesk/components/es/DropDown/DropDownSearch';
|
|
11
|
+
import { Card, CardHeader, CardContent } from '@zohodesk/components/es/Card';
|
|
12
|
+
import ResponsiveDropBox from '@zohodesk/components/es/ResponsiveDropBox/ResponsiveDropBox';
|
|
13
|
+
import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
|
|
14
14
|
/**** Icons ****/
|
|
15
15
|
|
|
16
16
|
import { Icon } from '@zohodesk/icons';
|
|
17
|
-
import { Container, Box } from '@zohodesk/components/
|
|
18
|
-
import Loader from '@zohodesk/svg/
|
|
17
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
18
|
+
import Loader from '@zohodesk/svg/es/Loader/Loader';
|
|
19
19
|
import style from "./ViewDropDown.module.css";
|
|
20
20
|
/* eslint-disable react/forbid-component-props */
|
|
21
21
|
|
|
@@ -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 GenButton from '@zohodesk/components/
|
|
4
|
+
import GenButton from '@zohodesk/components/es/Button/Button';
|
|
5
5
|
import style from "./HeaderButton.module.css";
|
|
6
6
|
export default class Button extends React.Component {
|
|
7
7
|
constructor(props) {
|
|
@@ -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 { Box } from '@zohodesk/components/
|
|
5
|
+
import { Box } from '@zohodesk/components/es/Layout';
|
|
6
6
|
import ExternalLink from "../../../ExternalLink/ExternalLink";
|
|
7
7
|
import style from "./HeaderLink.module.css";
|
|
8
8
|
export default class Link extends React.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 { Icon } from '@zohodesk/icons';
|
|
5
|
-
import TextBox from '@zohodesk/components/
|
|
5
|
+
import TextBox from '@zohodesk/components/es/TextBox/TextBox';
|
|
6
6
|
import style from "./Search.module.css";
|
|
7
7
|
export default class Search extends React.Component {
|
|
8
8
|
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 } from '@zohodesk/components/
|
|
4
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
5
5
|
export default class Table extends React.Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -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 { Box } from '@zohodesk/components/
|
|
4
|
+
import { Box } from '@zohodesk/components/es/Layout';
|
|
5
5
|
export default class TableBody extends React.Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -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 { Box } from '@zohodesk/components/
|
|
4
|
+
import { Box } from '@zohodesk/components/es/Layout';
|
|
5
5
|
import style from "./SetupTableData.module.css";
|
|
6
6
|
export default class TableData 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 { Container, Box } from '@zohodesk/components/
|
|
4
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
5
5
|
import style from "./SetupTableHead.module.css";
|
|
6
6
|
export default class TableHead 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 { Container } from '@zohodesk/components/
|
|
4
|
+
import { Container } from '@zohodesk/components/es/Layout';
|
|
5
5
|
import style from "./SetupTableRow.module.css";
|
|
6
6
|
export default class TableRow extends React.Component {
|
|
7
7
|
constructor(props) {
|
package/es/svg/PlusIcon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PlusIcon_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { PlusIcon_propTypes } from "./props/propTypes";
|
|
4
|
-
import SVG from '@zohodesk/svg/
|
|
4
|
+
import SVG from '@zohodesk/svg/es/SVG/SVG';
|
|
5
5
|
export default class PlusIcon extends React.Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
package/es/svg/SnippetIcon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SnippetIcon_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { SnippetIcon_propTypes } from "./props/propTypes";
|
|
4
|
-
import SVG from '@zohodesk/svg/
|
|
4
|
+
import SVG from '@zohodesk/svg/es/SVG/SVG';
|
|
5
5
|
export default class SnippetIcon extends React.Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
package/es/svg/TemplateIcon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TemplateIcon_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { TemplateIcon_propTypes } from "./props/propTypes";
|
|
4
|
-
import SVG from '@zohodesk/svg/
|
|
4
|
+
import SVG from '@zohodesk/svg/es/SVG/SVG';
|
|
5
5
|
export default class TemplateIcon extends React.Component {
|
|
6
6
|
render() {
|
|
7
7
|
let {
|
|
@@ -8,9 +8,9 @@ import ListItem from '@zohodesk/components/es/v1/ListItem/ListItem';
|
|
|
8
8
|
import ListItemWithIcon from '@zohodesk/components/es/v1/ListItem/ListItemWithIcon';
|
|
9
9
|
import DropDownHeading from '@zohodesk/components/es/v1/DropDown/DropDownHeading';
|
|
10
10
|
import TextBoxIcon from '@zohodesk/components/es/v1/TextBoxIcon/TextBoxIcon';
|
|
11
|
-
import Loader from '@zohodesk/svg/
|
|
11
|
+
import Loader from '@zohodesk/svg/es/Loader/Loader';
|
|
12
12
|
import CommonEmptyState from "../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
13
|
-
import EmptySearch from '@zohodesk/svg/
|
|
13
|
+
import EmptySearch from '@zohodesk/svg/es/emptystate/version3/EmptySearch';
|
|
14
14
|
import CssProvider from '@zohodesk/components/es/Provider/CssProvider';
|
|
15
15
|
import { scrollTo, findScrollEnd } from '@zohodesk/components/es/utils/Common';
|
|
16
16
|
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
@@ -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 EmptyCrmPotential from '@zohodesk/svg/
|
|
4
|
+
import EmptyCrmPotential from '@zohodesk/svg/es/v1/emptystate/version3/EmptyCrmPotential';
|
|
5
5
|
import style from "../../../emptystate/EditionPage/EditionPage.css";
|
|
6
6
|
export default function EditionPage(props) {
|
|
7
7
|
let {
|