@zohodesk/dot 1.7.19 → 1.7.20
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 +8 -0
- 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/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/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/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 +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 +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 +3 -3
- package/es/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- 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/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/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/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/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 +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 +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 +3 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- 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/package.json +7 -6
- package/result.json +1 -1
- package/unittest/index.html +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.7.20
|
|
6
|
+
|
|
7
|
+
- **PhoneField**
|
|
8
|
+
- RTL unicode-bidi issue fixed
|
|
9
|
+
- **Attachment**
|
|
10
|
+
- dataId added for fileName and fileSize element
|
|
11
|
+
- lib imports migrated to es
|
|
12
|
+
|
|
5
13
|
|
|
6
14
|
# 1.7.19
|
|
7
15
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { propTypes } from "./props/propTypes";
|
|
4
|
-
import Popup from '@zohodesk/components/
|
|
4
|
+
import Popup from '@zohodesk/components/es/Popup/Popup';
|
|
5
5
|
import { Icon } from '@zohodesk/icons';
|
|
6
|
-
import Button from '@zohodesk/components/
|
|
7
|
-
import { Container, Box } from '@zohodesk/components/
|
|
8
|
-
import ResponsiveDropBox from '@zohodesk/components/
|
|
9
|
-
import CssProvider from '@zohodesk/components/
|
|
6
|
+
import Button from '@zohodesk/components/es/Button/Button';
|
|
7
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
8
|
+
import ResponsiveDropBox from '@zohodesk/components/es/ResponsiveDropBox/ResponsiveDropBox';
|
|
9
|
+
import CssProvider from '@zohodesk/components/es/Provider/CssProvider';
|
|
10
10
|
import style from "./ActionButton.module.css";
|
|
11
|
-
import btnStyle from '@zohodesk/components/
|
|
11
|
+
import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
|
|
12
12
|
export class ActionButton extends React.Component {
|
|
13
13
|
constructor(props) {
|
|
14
14
|
super(props);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { AlphabeticList_defaultProps, AlphabeticListItem_defaultProps } from "./props/defaultProps";
|
|
4
4
|
import { AlphabeticList_propTypes, AlphabeticListItem_propTypes, AlphabeticCharacters, NumberList, AlphabeticCharactersWithHash } from "./props/propTypes";
|
|
5
|
-
import { Container, Box } from '@zohodesk/components/
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/es/Layout';
|
|
6
6
|
/*** CSS ***/
|
|
7
7
|
|
|
8
8
|
import style from "./AlphabeticList.module.css";
|
|
@@ -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 Link from "../Link/Link";
|
|
7
7
|
import style from "./Attachment.module.css";
|
|
8
8
|
export default class Attachment extends React.Component {
|
|
@@ -49,7 +49,8 @@ export default class Attachment extends React.Component {
|
|
|
49
49
|
align: "horizontal"
|
|
50
50
|
}, fileName ? /*#__PURE__*/React.createElement(Box, {
|
|
51
51
|
className: style.atatchName,
|
|
52
|
-
"data-title": fileName
|
|
52
|
+
"data-title": fileName,
|
|
53
|
+
dataId: `${dataId}_filename`
|
|
53
54
|
}, fileName) : null, /*#__PURE__*/React.createElement(Box, {
|
|
54
55
|
className: style.footer
|
|
55
56
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -60,14 +61,16 @@ export default class Attachment extends React.Component {
|
|
|
60
61
|
className: style.attachSize,
|
|
61
62
|
adjust: true,
|
|
62
63
|
shrink: true,
|
|
63
|
-
"data-title": fileSize
|
|
64
|
+
"data-title": fileSize,
|
|
65
|
+
dataId: `${dataId}_filesize`
|
|
64
66
|
}, fileSize) : null, fileInfo ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
65
67
|
className: style.dot
|
|
66
68
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
67
69
|
className: style.attachSize,
|
|
68
70
|
adjust: true,
|
|
69
71
|
shrink: true,
|
|
70
|
-
"data-title": fileInfo
|
|
72
|
+
"data-title": fileInfo,
|
|
73
|
+
dataId: `${dataId}_fileinfo`
|
|
71
74
|
}, fileInfo)) : null)))), downloadLink && !isDisabled ? /*#__PURE__*/React.createElement(Link, {
|
|
72
75
|
target: "_self",
|
|
73
76
|
href: downloadLink,
|
|
@@ -8,4 +8,28 @@ describe('Attachment', () => {
|
|
|
8
8
|
} = render( /*#__PURE__*/React.createElement(Attachment, null));
|
|
9
9
|
expect(asFragment()).toMatchSnapshot();
|
|
10
10
|
});
|
|
11
|
+
});
|
|
12
|
+
describe('Attachment with props', () => {
|
|
13
|
+
test('rendering the defult props', () => {
|
|
14
|
+
const {
|
|
15
|
+
asFragment
|
|
16
|
+
} = render( /*#__PURE__*/React.createElement(Attachment, {
|
|
17
|
+
onClick: jest.fn(),
|
|
18
|
+
dataId: "test_id",
|
|
19
|
+
size: "medium",
|
|
20
|
+
iconName: "test_icon",
|
|
21
|
+
fileName: "test_file",
|
|
22
|
+
fileSize: "10MB",
|
|
23
|
+
downloadLink: "http://example.com",
|
|
24
|
+
palette: "default",
|
|
25
|
+
tooltip: "test_tooltip",
|
|
26
|
+
fileInfo: "test_info",
|
|
27
|
+
i18nKeys: {
|
|
28
|
+
downloadTitle: 'Download'
|
|
29
|
+
},
|
|
30
|
+
dataSelectorId: "test_selector",
|
|
31
|
+
isDisabled: false
|
|
32
|
+
}));
|
|
33
|
+
expect(asFragment()).toMatchSnapshot();
|
|
34
|
+
});
|
|
11
35
|
});
|
|
@@ -39,3 +39,108 @@ exports[`Attachment rendering the defult props 1`] = `
|
|
|
39
39
|
</div>
|
|
40
40
|
</DocumentFragment>
|
|
41
41
|
`;
|
|
42
|
+
|
|
43
|
+
exports[`Attachment with props rendering the defult props 1`] = `
|
|
44
|
+
<DocumentFragment>
|
|
45
|
+
<div
|
|
46
|
+
class="attachment attachmentHover palette_default medium inflex rowdir"
|
|
47
|
+
data-id="test_id"
|
|
48
|
+
data-selector-id="test_selector"
|
|
49
|
+
data-test-id="test_id"
|
|
50
|
+
data-title="test_tooltip"
|
|
51
|
+
tabindex="0"
|
|
52
|
+
>
|
|
53
|
+
<div
|
|
54
|
+
class="attachleft shrinkOff"
|
|
55
|
+
data-id="boxComponent"
|
|
56
|
+
data-selector-id="box"
|
|
57
|
+
data-test-id="boxComponent"
|
|
58
|
+
>
|
|
59
|
+
<div
|
|
60
|
+
class="flex cover coldir both"
|
|
61
|
+
data-id="containerComponent"
|
|
62
|
+
data-selector-id="container"
|
|
63
|
+
data-test-id="containerComponent"
|
|
64
|
+
/>
|
|
65
|
+
</div>
|
|
66
|
+
<div
|
|
67
|
+
class="attachright grow basis shrinkOff"
|
|
68
|
+
data-id="boxComponent"
|
|
69
|
+
data-selector-id="box"
|
|
70
|
+
data-test-id="boxComponent"
|
|
71
|
+
>
|
|
72
|
+
<div
|
|
73
|
+
class="flex cover coldir hCenter"
|
|
74
|
+
data-id="containerComponent"
|
|
75
|
+
data-selector-id="container"
|
|
76
|
+
data-test-id="containerComponent"
|
|
77
|
+
>
|
|
78
|
+
<div
|
|
79
|
+
class="atatchName shrinkOff"
|
|
80
|
+
data-id="test_id_filename"
|
|
81
|
+
data-selector-id="box"
|
|
82
|
+
data-test-id="test_id_filename"
|
|
83
|
+
data-title="test_file"
|
|
84
|
+
>
|
|
85
|
+
test_file
|
|
86
|
+
</div>
|
|
87
|
+
<div
|
|
88
|
+
class="footer shrinkOff"
|
|
89
|
+
data-id="boxComponent"
|
|
90
|
+
data-selector-id="box"
|
|
91
|
+
data-test-id="boxComponent"
|
|
92
|
+
>
|
|
93
|
+
<div
|
|
94
|
+
class="flex rowdir baseline"
|
|
95
|
+
data-id="containerComponent"
|
|
96
|
+
data-selector-id="container"
|
|
97
|
+
data-test-id="containerComponent"
|
|
98
|
+
>
|
|
99
|
+
<div
|
|
100
|
+
class="attachSize basisAuto shrinkOn"
|
|
101
|
+
data-id="test_id_filesize"
|
|
102
|
+
data-selector-id="box"
|
|
103
|
+
data-test-id="test_id_filesize"
|
|
104
|
+
data-title="10MB"
|
|
105
|
+
>
|
|
106
|
+
10MB
|
|
107
|
+
</div>
|
|
108
|
+
<div
|
|
109
|
+
class="dot shrinkOff"
|
|
110
|
+
data-id="boxComponent"
|
|
111
|
+
data-selector-id="box"
|
|
112
|
+
data-test-id="boxComponent"
|
|
113
|
+
/>
|
|
114
|
+
<div
|
|
115
|
+
class="attachSize basisAuto shrinkOn"
|
|
116
|
+
data-id="test_id_fileinfo"
|
|
117
|
+
data-selector-id="box"
|
|
118
|
+
data-test-id="test_id_fileinfo"
|
|
119
|
+
data-title="test_info"
|
|
120
|
+
>
|
|
121
|
+
test_info
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
<a
|
|
128
|
+
class="container attachDownload"
|
|
129
|
+
data-id="test_id_download"
|
|
130
|
+
data-test-id="test_id_download"
|
|
131
|
+
data-title="Download"
|
|
132
|
+
href="http://example.com"
|
|
133
|
+
rel="noopener noreferrer"
|
|
134
|
+
target="_self"
|
|
135
|
+
>
|
|
136
|
+
<i
|
|
137
|
+
aria-hidden="true"
|
|
138
|
+
class="zd_font_icons basic icon-download-new downIcon "
|
|
139
|
+
data-id="fontIcon"
|
|
140
|
+
data-selector-id="fontIcon"
|
|
141
|
+
data-test-id="fontIcon"
|
|
142
|
+
/>
|
|
143
|
+
</a>
|
|
144
|
+
</div>
|
|
145
|
+
</DocumentFragment>
|
|
146
|
+
`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { AttachmentViewer_defaultProps } from "./props/defaultProps";
|
|
3
3
|
import { AttachmentViewer_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
|
-
import Avatar from '@zohodesk/components/
|
|
7
|
-
import { ResponsiveReceiver } from '@zohodesk/components/
|
|
8
|
-
import Typography from '@zohodesk/components/
|
|
9
|
-
import { getUniqueId } from '@zohodesk/components/
|
|
6
|
+
import Avatar from '@zohodesk/components/es/Avatar/Avatar';
|
|
7
|
+
import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
|
|
8
|
+
import Typography from '@zohodesk/components/es/Typography/Typography';
|
|
9
|
+
import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
|
|
10
10
|
import Button from '@zohodesk/components/es/Button/Button';
|
|
11
11
|
import AttachmentImage from "./AttachmentImage";
|
|
12
12
|
import Link from "../Link/Link";
|
|
@@ -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";
|
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 {
|
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";
|
|
@@ -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 {
|
|
@@ -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) {
|