@zohodesk/dot 1.0.0-beta.244 → 1.0.0-beta.246
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/assets/Appearance/dark/mode/dotDarkMode.module.css +6 -1
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +6 -1
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +6 -1
- package/es/Attachment/Attachment.js +6 -5
- package/es/AttachmentViewer/AttachmentViewer.js +29 -28
- package/es/ChannelIcon/ChannelIcon.js +5 -5
- package/es/Drawer/Drawer.js +7 -6
- package/es/ExternalLink/ExternalLink.js +6 -5
- package/es/FlipCard/FlipCard.js +5 -5
- package/es/FormAction/FormAction.js +12 -9
- package/es/FreezeLayer/FreezeLayer.js +7 -6
- package/es/IconButton/IconButton.js +6 -5
- package/es/Image/Image.js +5 -5
- package/es/ImportantNotes/ImportantNotes.js +7 -6
- package/es/Link/Link.js +6 -5
- package/es/Loader/Loader.js +6 -5
- package/es/Message/Message.js +7 -5
- package/es/MessageBanner/MessageBanner.js +6 -5
- package/es/NewStar/NewStar.js +6 -5
- package/es/PlusIcon/PlusIcon.js +7 -6
- package/es/Separator/Separator.js +57 -0
- package/es/Separator/Separator.module.css +34 -0
- package/es/Separator/props/defaultProps.js +12 -0
- package/es/Separator/props/propTypes.js +11 -0
- package/es/ToastMessage/ToastMessage.js +6 -5
- package/es/Upload/Upload.js +6 -5
- package/es/alert/AlertHeader/AlertHeader.js +7 -6
- package/es/alert/AlertLookup/AlertLookup.js +7 -6
- package/es/avatar/AvatarClose/AvatarClose.js +5 -5
- package/es/avatar/AvatarCollision/AvatarCollision.js +5 -5
- package/es/avatar/AvatarIcon/AvatarIcon.js +3 -5
- package/es/avatar/AvatarStatus/AvatarStatus.js +6 -5
- package/es/avatar/AvatarThread/AvatarThread.js +6 -5
- package/es/avatar/AvatarUser/AvatarUser.js +6 -5
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
- package/es/deprecated/SelectDropdown/SelectDropdown.js +7 -6
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
- package/es/emptystate/EditionPage/EditionPage.js +6 -5
- package/es/errorstate/LinkText/LinkText.js +5 -5
- package/es/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/es/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/es/errorstate/WillBack/WillBack.js +5 -5
- package/es/form/fields/CheckBoxField/CheckBoxField.js +7 -6
- package/es/form/fields/CurrencyField/CurrencyField.js +7 -6
- package/es/form/fields/DateField/DateField.js +7 -6
- package/es/form/fields/FieldContainer/FieldContainer.js +7 -6
- package/es/form/fields/MultiSelectField/MultiSelectField.js +7 -6
- package/es/form/fields/PhoneField/PhoneField.js +7 -6
- package/es/form/fields/RadioField/RadioField.js +6 -6
- package/es/form/fields/SelectField/SelectField.js +7 -6
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
- package/es/form/fields/TextBoxField/TextBoxField.js +7 -6
- package/es/form/fields/TextEditor/TextEditor.js +10 -10
- package/es/form/fields/TextEditorField/TextEditorField.js +6 -5
- package/es/form/fields/TextareaField/TextareaField.js +7 -6
- package/es/form/fields/ValidationMessage/ValidationMessage.js +7 -6
- package/es/form/layout/Field/Field.js +6 -5
- package/es/form/layout/Section/Section.js +5 -5
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +7 -5
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -5
- package/es/list/AvatarFlip/AvatarFlip.js +7 -6
- package/es/list/BluePrintStatus/BluePrintStatus.js +6 -5
- package/es/list/Comment/Comment.js +7 -6
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +6 -6
- package/es/list/DotNew/DotNew.js +7 -6
- package/es/list/GridStencils/GridStencils.js +7 -6
- package/es/list/Icons/FloatingIcons.js +7 -6
- package/es/list/ListLayout/ListLayout.js +7 -6
- package/es/list/ListStencils/ListStencils.js +7 -6
- package/es/list/SecondaryText/AccountName.js +7 -6
- package/es/list/SecondaryText/ContactName.js +7 -6
- package/es/list/SecondaryText/DepartmentText.js +7 -6
- package/es/list/SecondaryText/Email.js +7 -6
- package/es/list/SecondaryText/HappinessRating.js +7 -6
- package/es/list/SecondaryText/PhoneNumber.js +7 -6
- package/es/list/SecondaryText/PriorityText.js +7 -6
- package/es/list/SecondaryText/SecondaryText.js +7 -6
- package/es/list/SecondaryText/StatusText.js +7 -6
- package/es/list/SecondaryText/TicketId.js +7 -6
- package/es/list/SecondaryText/Website.js +7 -6
- package/es/list/SecondryPanel/SecondryPanel.js +7 -6
- package/es/list/SentimentStatus/SentimentStatus.js +6 -5
- package/es/list/Subject/Subject.js +7 -6
- package/es/list/TagNew/TagNew.js +7 -6
- package/es/list/Thread/Thread.js +7 -6
- package/es/list/UserTime/UserTime.js +7 -6
- package/es/list/status/StatusDropdown/StatusDropdown.js +6 -5
- package/es/list/status/StatusListItem/StatusListItem.js +7 -6
- package/es/lookup/EmptyPage/EmptyPage.js +6 -5
- package/es/lookup/Lookup/Lookup.js +6 -5
- package/es/lookup/header/Close/Close.js +6 -5
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
- package/es/lookup/header/Search/Search.js +6 -5
- package/es/lookup/header/TicketHeader/TicketHeader.js +6 -5
- package/es/lookup/header/Title/Title.js +6 -5
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
- package/es/setup/header/Button/Button.js +7 -6
- package/es/setup/header/Link/Link.js +7 -6
- package/es/setup/header/Search/Search.js +7 -6
- package/es/setup/header/Views/Views.js +7 -6
- package/es/setup/helptips/Description/Description.js +7 -6
- package/es/setup/helptips/Link/Link.js +7 -6
- package/es/setup/helptips/ListGroup/ListGroup.js +7 -6
- package/es/setup/helptips/Title/Title.js +7 -6
- package/es/setup/table/Table/Table.js +7 -6
- package/es/setup/table/TableBody/TableBody.js +7 -6
- package/es/setup/table/TableData/TableData.js +7 -6
- package/es/setup/table/TableHead/TableHead.js +7 -6
- package/es/setup/table/TableRow/TableRow.js +7 -6
- package/es/setup/table/Text/Text.js +7 -6
- package/es/svg/PlusIcon.js +6 -5
- package/es/svg/SnippetIcon.js +6 -5
- package/es/svg/TemplateIcon.js +6 -5
- package/es/utils/editorUtils.js +1 -1
- package/es/version2/AlertClose/AlertClose.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.js +8 -6
- package/es/version2/alertIcons/AlertIcons.js +7 -6
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
- package/es/version2/lookup/AlertHeader/AlertHeader.js +7 -6
- package/es/version2/lookup/AlertLookup/AlertLookup.js +7 -6
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
- package/install.md +12 -0
- package/lib/Attachment/Attachment.js +6 -5
- package/lib/AttachmentViewer/AttachmentViewer.js +17 -16
- package/lib/ChannelIcon/ChannelIcon.js +5 -5
- package/lib/Drawer/Drawer.js +6 -5
- package/lib/ExternalLink/ExternalLink.js +6 -5
- package/lib/FlipCard/FlipCard.js +5 -5
- package/lib/FormAction/FormAction.js +12 -9
- package/lib/FreezeLayer/FreezeLayer.js +7 -6
- package/lib/IconButton/IconButton.js +6 -5
- package/lib/Image/Image.js +5 -5
- package/lib/ImportantNotes/ImportantNotes.js +7 -6
- package/lib/Link/Link.js +6 -5
- package/lib/Loader/Loader.js +6 -7
- package/lib/Message/Message.js +7 -5
- package/lib/MessageBanner/MessageBanner.js +6 -5
- package/lib/NewStar/NewStar.js +6 -5
- package/lib/PlusIcon/PlusIcon.js +7 -6
- package/lib/Separator/Separator.js +82 -0
- package/lib/Separator/Separator.module.css +34 -0
- package/lib/Separator/props/defaultProps.js +19 -0
- package/lib/Separator/props/propTypes.js +19 -0
- package/lib/ToastMessage/ToastMessage.js +6 -5
- package/lib/Upload/Upload.js +6 -5
- package/lib/alert/AlertHeader/AlertHeader.js +7 -6
- package/lib/alert/AlertLookup/AlertLookup.js +7 -6
- package/lib/avatar/AvatarClose/AvatarClose.js +5 -5
- package/lib/avatar/AvatarCollision/AvatarCollision.js +5 -5
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -5
- package/lib/avatar/AvatarStatus/AvatarStatus.js +6 -5
- package/lib/avatar/AvatarThread/AvatarThread.js +6 -5
- package/lib/avatar/AvatarUser/AvatarUser.js +6 -5
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +6 -5
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +6 -6
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +6 -5
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +6 -5
- package/lib/emptystate/EditionPage/EditionPage.js +6 -5
- package/lib/errorstate/LinkText/LinkText.js +5 -5
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +5 -5
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +5 -5
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +5 -5
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +5 -5
- package/lib/errorstate/WillBack/WillBack.js +5 -5
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +7 -6
- package/lib/form/fields/CurrencyField/CurrencyField.js +7 -6
- package/lib/form/fields/DateField/DateField.js +7 -6
- package/lib/form/fields/FieldContainer/FieldContainer.js +7 -6
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +7 -6
- package/lib/form/fields/PhoneField/PhoneField.js +7 -6
- package/lib/form/fields/RadioField/RadioField.js +6 -6
- package/lib/form/fields/SelectField/SelectField.js +7 -6
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -5
- package/lib/form/fields/TextBoxField/TextBoxField.js +7 -6
- package/lib/form/fields/TextEditor/TextEditor.js +10 -10
- package/lib/form/fields/TextEditorField/TextEditorField.js +6 -5
- package/lib/form/fields/TextareaField/TextareaField.js +7 -6
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +7 -6
- package/lib/form/layout/Field/Field.js +6 -5
- package/lib/form/layout/Section/Section.js +5 -5
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +6 -5
- package/lib/layout/SubtabLayout/SubtabLayout.js +6 -5
- package/lib/list/AvatarFlip/AvatarFlip.js +7 -6
- package/lib/list/BluePrintStatus/BluePrintStatus.js +6 -5
- package/lib/list/Comment/Comment.js +7 -6
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +7 -8
- package/lib/list/DotNew/DotNew.js +7 -6
- package/lib/list/GridStencils/GridStencils.js +7 -6
- package/lib/list/Icons/FloatingIcons.js +7 -6
- package/lib/list/ListLayout/ListLayout.js +7 -6
- package/lib/list/ListStencils/ListStencils.js +7 -6
- package/lib/list/SecondaryText/AccountName.js +7 -6
- package/lib/list/SecondaryText/ContactName.js +7 -6
- package/lib/list/SecondaryText/DepartmentText.js +7 -6
- package/lib/list/SecondaryText/Email.js +7 -6
- package/lib/list/SecondaryText/HappinessRating.js +7 -6
- package/lib/list/SecondaryText/PhoneNumber.js +7 -6
- package/lib/list/SecondaryText/PriorityText.js +7 -6
- package/lib/list/SecondaryText/SecondaryText.js +7 -6
- package/lib/list/SecondaryText/StatusText.js +7 -6
- package/lib/list/SecondaryText/TicketId.js +7 -6
- package/lib/list/SecondaryText/Website.js +7 -6
- package/lib/list/SecondryPanel/SecondryPanel.js +7 -6
- package/lib/list/SentimentStatus/SentimentStatus.js +6 -5
- package/lib/list/Subject/Subject.js +7 -6
- package/lib/list/TagNew/TagNew.js +7 -6
- package/lib/list/Thread/Thread.js +7 -6
- package/lib/list/UserTime/UserTime.js +7 -6
- package/lib/list/status/StatusDropdown/StatusDropdown.js +5 -6
- package/lib/list/status/StatusListItem/StatusListItem.js +7 -6
- package/lib/lookup/EmptyPage/EmptyPage.js +6 -5
- package/lib/lookup/Lookup/Lookup.js +6 -5
- package/lib/lookup/header/Close/Close.js +6 -5
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +6 -5
- package/lib/lookup/header/Search/Search.js +6 -5
- package/lib/lookup/header/TicketHeader/TicketHeader.js +6 -5
- package/lib/lookup/header/Title/Title.js +6 -5
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +8 -7
- package/lib/setup/header/Button/Button.js +7 -6
- package/lib/setup/header/Link/Link.js +7 -6
- package/lib/setup/header/Search/Search.js +7 -6
- package/lib/setup/header/Views/Views.js +7 -6
- package/lib/setup/helptips/Description/Description.js +7 -6
- package/lib/setup/helptips/Link/Link.js +7 -6
- package/lib/setup/helptips/ListGroup/ListGroup.js +7 -6
- package/lib/setup/helptips/Title/Title.js +7 -6
- package/lib/setup/table/Table/Table.js +7 -6
- package/lib/setup/table/TableBody/TableBody.js +7 -6
- package/lib/setup/table/TableData/TableData.js +7 -6
- package/lib/setup/table/TableHead/TableHead.js +7 -6
- package/lib/setup/table/TableRow/TableRow.js +7 -6
- package/lib/setup/table/Text/Text.js +7 -6
- package/lib/svg/PlusIcon.js +6 -5
- package/lib/svg/SnippetIcon.js +6 -5
- package/lib/svg/TemplateIcon.js +6 -5
- package/lib/utils/editorUtils.js +1 -1
- package/lib/version2/AlertClose/AlertClose.js +7 -6
- package/lib/version2/GlobalNotification/GlobalNotification.js +8 -6
- package/lib/version2/alertIcons/AlertIcons.js +7 -6
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +6 -5
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +6 -5
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +6 -5
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +6 -5
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +6 -5
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +6 -5
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +7 -6
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +7 -6
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +7 -6
- package/package.json +3 -3
- package/css_error.log +0 -0
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.0.0-beta.246
|
|
6
|
+
|
|
7
|
+
- **AvatarWithTeam** - css variable changed due to the duplicate override issue
|
|
8
|
+
|
|
9
|
+
# 1.0.0-beta.245
|
|
10
|
+
|
|
11
|
+
- **Separator** - New component added.
|
|
12
|
+
|
|
5
13
|
# 1.0.0-beta.244
|
|
6
14
|
|
|
7
15
|
- **ActionButton** - button element margin issue fix(safari browser).
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
--zdt_avataruser_delete_text: var(--dot_ebonyclay);
|
|
94
94
|
|
|
95
95
|
/* avatar with team */
|
|
96
|
-
--
|
|
96
|
+
--zdt_avatarwithteam_default_bg: var(--dot_ebonyclay);
|
|
97
97
|
|
|
98
98
|
/* channel icon */
|
|
99
99
|
--zdt_channelIcon_icon: var(--dot_platinum);
|
|
@@ -533,4 +533,9 @@
|
|
|
533
533
|
--zdt_attachmentviewer_selected_box_shadow: rgba(0, 0, 0, 0.34);
|
|
534
534
|
--zdt_attachmentviewer_loader_border: #2a2e38;
|
|
535
535
|
--zdt_attachmentviewer_loader_border_top: #f3f3f3;
|
|
536
|
+
|
|
537
|
+
/* separator */
|
|
538
|
+
--zdt_separator_default_text: var(--dot_riverbed);
|
|
539
|
+
--zdt_separator_primary_text: var(--zdt_cta_primary_text);
|
|
540
|
+
--zdt_separator_secondary_text: var(--dot_platinum);
|
|
536
541
|
}
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
--zdt_avataruser_delete_text: var(--dot_white);
|
|
94
94
|
|
|
95
95
|
/* avatar with team */
|
|
96
|
-
--
|
|
96
|
+
--zdt_avatarwithteam_default_bg: var(--dot_white);
|
|
97
97
|
|
|
98
98
|
/* channel icon */
|
|
99
99
|
--zdt_channelIcon_icon: var(--dot_black);
|
|
@@ -533,4 +533,9 @@
|
|
|
533
533
|
--zdt_attachmentviewer_selected_box_shadow: rgba(0, 0, 0, 0.34);
|
|
534
534
|
--zdt_attachmentviewer_loader_border: #2a2e38;
|
|
535
535
|
--zdt_attachmentviewer_loader_border_top: #f3f3f3;
|
|
536
|
+
|
|
537
|
+
/* separator */
|
|
538
|
+
--zdt_separator_default_text: var(--zd_smoke12);
|
|
539
|
+
--zdt_separator_primary_text: var(--zdt_cta_primary_text);
|
|
540
|
+
--zdt_separator_secondary_text: var(--dot_black);
|
|
536
541
|
}
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
--zdt_avataruser_delete_text: #212121;
|
|
94
94
|
|
|
95
95
|
/* avatar with team */
|
|
96
|
-
--
|
|
96
|
+
--zdt_avatarwithteam_default_bg: #212121;
|
|
97
97
|
|
|
98
98
|
/* channel icon */
|
|
99
99
|
--zdt_channelIcon_icon: var(--dot_platinum);
|
|
@@ -533,4 +533,9 @@
|
|
|
533
533
|
--zdt_attachmentviewer_selected_box_shadow: rgba(0, 0, 0, 0.34);
|
|
534
534
|
--zdt_attachmentviewer_loader_border: #2a2e38;
|
|
535
535
|
--zdt_attachmentviewer_loader_border_top: #f3f3f3;
|
|
536
|
+
|
|
537
|
+
/* separator */
|
|
538
|
+
--zdt_separator_default_text: #585858;
|
|
539
|
+
--zdt_separator_primary_text: var(--zdt_cta_primary_text);
|
|
540
|
+
--zdt_separator_secondary_text: var(--dot_platinum);
|
|
536
541
|
}
|
|
@@ -78,8 +78,9 @@ export default class Attachment extends React.Component {
|
|
|
78
78
|
}
|
|
79
79
|
Attachment.propTypes = propTypes;
|
|
80
80
|
Attachment.defaultProps = defaultProps;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
81
|
+
|
|
82
|
+
// if (__DOCS__) {
|
|
83
|
+
// Attachment.docs = {
|
|
84
|
+
// componentGroup: 'Attachment'
|
|
85
|
+
// };
|
|
86
|
+
// }
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React, { Component } from
|
|
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
|
|
5
|
-
import Icon from
|
|
6
|
-
import Avatar from
|
|
7
|
-
import { ResponsiveReceiver } from
|
|
8
|
-
import { getUniqueId } from
|
|
9
|
-
import AttachmentImage from
|
|
10
|
-
import Link from
|
|
11
|
-
import IconButton from
|
|
12
|
-
import FreezeLayer from
|
|
13
|
-
import { isAudioFile, getExtensionFromFileName } from
|
|
4
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
|
+
import Icon from '@zohodesk/icons/lib/Icon';
|
|
6
|
+
import Avatar from '@zohodesk/components/lib/Avatar/Avatar';
|
|
7
|
+
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
8
|
+
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
9
|
+
import AttachmentImage from './AttachmentImage';
|
|
10
|
+
import Link from '../Link/Link';
|
|
11
|
+
import IconButton from '../IconButton/IconButton';
|
|
12
|
+
import FreezeLayer from '../FreezeLayer/FreezeLayer';
|
|
13
|
+
import { isAudioFile, getExtensionFromFileName } from './Attachment';
|
|
14
14
|
import { shallowDiff } from '../utils/General';
|
|
15
|
-
import style from
|
|
15
|
+
import style from './AttachmentViewer.module.css';
|
|
16
16
|
export default class AttachmentViewer extends Component {
|
|
17
17
|
constructor(props) {
|
|
18
18
|
super(props);
|
|
@@ -204,19 +204,19 @@ export default class AttachmentViewer extends Component {
|
|
|
204
204
|
position = (i - selectedIndex) * 100;
|
|
205
205
|
return {
|
|
206
206
|
transform: `translateX(${parseInt(position)}%)`,
|
|
207
|
-
opacity:
|
|
207
|
+
opacity: '0'
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
210
|
if (i === selectedIndex) {
|
|
211
211
|
return {
|
|
212
|
-
transform:
|
|
213
|
-
opacity:
|
|
212
|
+
transform: 'translateX(0%)',
|
|
213
|
+
opacity: '1'
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
position = (selectedIndex - i) * 100 * -1;
|
|
217
217
|
return {
|
|
218
218
|
transform: `translateX(${parseInt(position)}%)`,
|
|
219
|
-
opacity:
|
|
219
|
+
opacity: '0'
|
|
220
220
|
};
|
|
221
221
|
};
|
|
222
222
|
return dataList.length && dataList.map(function () {
|
|
@@ -241,7 +241,7 @@ export default class AttachmentViewer extends Component {
|
|
|
241
241
|
src: data.viewUrl,
|
|
242
242
|
type: `audio/${getExtensionFromFileName(data.name)}`
|
|
243
243
|
})) : null : /*#__PURE__*/React.createElement(AttachmentImage, {
|
|
244
|
-
className: `${style.img} ${selectedIndex == i && maintainZoom ? isZoomed ? style.zoomedImg : style.normalImg :
|
|
244
|
+
className: `${style.img} ${selectedIndex == i && maintainZoom ? isZoomed ? style.zoomedImg : style.normalImg : ''}`,
|
|
245
245
|
src: selectedImgUrl,
|
|
246
246
|
onClick: isZoomed ? _this.zoomOut.bind(_this, i) : e => {
|
|
247
247
|
_this.zoomIn(e, i, true);
|
|
@@ -314,8 +314,8 @@ export default class AttachmentViewer extends Component {
|
|
|
314
314
|
className: uptoTablet ? style.mbleMenuBar : style.menuBar
|
|
315
315
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
316
316
|
isInline: true,
|
|
317
|
-
alignBox: uptoTablet ?
|
|
318
|
-
align: uptoTablet ?
|
|
317
|
+
alignBox: uptoTablet ? 'column-reverse' : 'row',
|
|
318
|
+
align: uptoTablet ? 'bottom' : 'center',
|
|
319
319
|
wrap: "wrap",
|
|
320
320
|
isCover: false
|
|
321
321
|
}, isZoomed ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -398,7 +398,7 @@ export default class AttachmentViewer extends Component {
|
|
|
398
398
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
399
399
|
alignBox: "row"
|
|
400
400
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
401
|
-
className: `${style.arrowBox} ${uptoTablet ? style.mbleArrowBox : style.nrmlArrowBox} ${selectedIndex === 0 ? style.hidden :
|
|
401
|
+
className: `${style.arrowBox} ${uptoTablet ? style.mbleArrowBox : style.nrmlArrowBox} ${selectedIndex === 0 ? style.hidden : ''}`,
|
|
402
402
|
onClick: this.changeSelectedIndex.bind(this, selectedIndex - 1),
|
|
403
403
|
"data-title": i18nKeys.previousText,
|
|
404
404
|
"data-title-position": "left"
|
|
@@ -420,7 +420,7 @@ export default class AttachmentViewer extends Component {
|
|
|
420
420
|
scroll: "both",
|
|
421
421
|
flexible: true
|
|
422
422
|
}, this.imgPreviewView()), /*#__PURE__*/React.createElement(Box, {
|
|
423
|
-
className: `${style.arrowBox} ${uptoTablet ? style.mbleArrowBox : style.nrmlArrowBox} ${totalLen === selectedIndex + 1 ? style.hidden :
|
|
423
|
+
className: `${style.arrowBox} ${uptoTablet ? style.mbleArrowBox : style.nrmlArrowBox} ${totalLen === selectedIndex + 1 ? style.hidden : ''}`,
|
|
424
424
|
onClick: this.changeSelectedIndex.bind(this, selectedIndex + 1),
|
|
425
425
|
"data-title": i18nKeys.nextText,
|
|
426
426
|
"data-title-position": "right"
|
|
@@ -467,7 +467,7 @@ export default class AttachmentViewer extends Component {
|
|
|
467
467
|
} = item;
|
|
468
468
|
const isAudio = isAudioFile(name);
|
|
469
469
|
return /*#__PURE__*/React.createElement(Box, {
|
|
470
|
-
className: `${style.imgItem} ${index === selectedIndex ? style.selected :
|
|
470
|
+
className: `${style.imgItem} ${index === selectedIndex ? style.selected : ''} ${isAudio ? style.isAudio : ''}`,
|
|
471
471
|
key: index,
|
|
472
472
|
onClick: this.changeSelectedIndex.bind(this, index),
|
|
473
473
|
eleRef: el => this[`img_${index}`] = el,
|
|
@@ -487,7 +487,7 @@ export default class AttachmentViewer extends Component {
|
|
|
487
487
|
iconName: "ZD-GN-hideTab",
|
|
488
488
|
iconSize: "14",
|
|
489
489
|
hoverType: "border",
|
|
490
|
-
iconClass: `${style.thumpIcon} ${isPViewListOpen ? style.thumpIconActive :
|
|
490
|
+
iconClass: `${style.thumpIcon} ${isPViewListOpen ? style.thumpIconActive : ''}`,
|
|
491
491
|
className: style.button,
|
|
492
492
|
a11y: {
|
|
493
493
|
ariaLabel: i18nKeys.hideText
|
|
@@ -499,8 +499,9 @@ export default class AttachmentViewer extends Component {
|
|
|
499
499
|
}
|
|
500
500
|
AttachmentViewer.propTypes = AttachmentViewer_propTypes;
|
|
501
501
|
AttachmentViewer.defaultProps = AttachmentViewer_defaultProps;
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
}
|
|
502
|
+
|
|
503
|
+
// if (__DOCS__) {
|
|
504
|
+
// AttachmentViewer.docs = {
|
|
505
|
+
// componentGroup: "Molecule"
|
|
506
|
+
// };
|
|
507
|
+
// }
|
|
@@ -88,8 +88,8 @@ export default class ChannelIcon extends Component {
|
|
|
88
88
|
}
|
|
89
89
|
ChannelIcon.defaultProps = defaultProps;
|
|
90
90
|
ChannelIcon.propTypes = propTypes;
|
|
91
|
-
if (
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
91
|
+
// if (__DOCS__) {
|
|
92
|
+
// ChannelIcon.docs = {
|
|
93
|
+
// componentGroup: 'Atom'
|
|
94
|
+
// };
|
|
95
|
+
// }
|
package/es/Drawer/Drawer.js
CHANGED
|
@@ -12,7 +12,7 @@ import IconButton from '../IconButton/IconButton';
|
|
|
12
12
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
13
13
|
import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
14
14
|
import style from './Drawer.module.css';
|
|
15
|
-
import FocusScope from
|
|
15
|
+
import FocusScope from '@zohodesk/a11y/es/FocusScope/FocusScope';
|
|
16
16
|
export class Header extends React.Component {
|
|
17
17
|
render() {
|
|
18
18
|
let {
|
|
@@ -261,8 +261,9 @@ export default class Drawer extends React.Component {
|
|
|
261
261
|
}
|
|
262
262
|
Drawer.propTypes = Drawer_propTypes;
|
|
263
263
|
Drawer.defaultProps = Drawer_defaultProps;
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
}
|
|
264
|
+
|
|
265
|
+
// if (__DOCS__) {
|
|
266
|
+
// Drawer.docs = {
|
|
267
|
+
// componentGroup: 'Template'
|
|
268
|
+
// };
|
|
269
|
+
// }
|
|
@@ -40,8 +40,9 @@ export default class ExternalLink extends React.Component {
|
|
|
40
40
|
}
|
|
41
41
|
ExternalLink.defaultProps = defaultProps;
|
|
42
42
|
ExternalLink.propTypes = propTypes;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
43
|
+
|
|
44
|
+
// if (__DOCS__) {
|
|
45
|
+
// ExternalLink.docs = {
|
|
46
|
+
// componentGroup: 'Atom'
|
|
47
|
+
// };
|
|
48
|
+
// }
|
package/es/FlipCard/FlipCard.js
CHANGED
|
@@ -131,8 +131,8 @@ export default class FlipCard extends Component {
|
|
|
131
131
|
}
|
|
132
132
|
FlipCard.propTypes = propTypes;
|
|
133
133
|
FlipCard.defaultProps = defaultProps;
|
|
134
|
-
if (
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
134
|
+
// if (__DOCS__) {
|
|
135
|
+
// FlipCard.docs = {
|
|
136
|
+
// componentGroup: 'Molecule'
|
|
137
|
+
// };
|
|
138
|
+
// }
|
|
@@ -53,12 +53,14 @@ export default class FormAction extends React.Component {
|
|
|
53
53
|
}, hasLeftChild ? /*#__PURE__*/React.createElement(Box, {
|
|
54
54
|
flexible: hasRightChild ? true : false,
|
|
55
55
|
shrink: !hasRightChild && hasLeftChild ? true : false
|
|
56
|
-
}, leftbuttonGroup.length > 1 ? leftbuttonGroup.map(item => /*#__PURE__*/React.createElement("div", {
|
|
57
|
-
className: style.marginRight
|
|
56
|
+
}, leftbuttonGroup.length > 1 ? leftbuttonGroup.map((item, index) => /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
className: style.marginRight,
|
|
58
|
+
key: index
|
|
58
59
|
}, item)) : leftbuttonGroup[0]) : null, hasRightChild ? /*#__PURE__*/React.createElement(Box, {
|
|
59
60
|
shrink: hasRightChild && !hasLeftChild ? true : false
|
|
60
|
-
}, rightbuttonGroup.length > 1 ? rightbuttonGroup.map(item => /*#__PURE__*/React.createElement("div", {
|
|
61
|
-
className: style.marginRight
|
|
61
|
+
}, rightbuttonGroup.length > 1 ? rightbuttonGroup.map((item, index) => /*#__PURE__*/React.createElement("div", {
|
|
62
|
+
className: style.marginRight,
|
|
63
|
+
key: index
|
|
62
64
|
}, item)) : rightbuttonGroup[0]) : null, hasCenterChild ? /*#__PURE__*/React.createElement(Box, null, centerbuttonGroup.length > 1 ? centerbuttonGroup.map((item, index) => /*#__PURE__*/React.createElement("div", {
|
|
63
65
|
className: style.marginRight,
|
|
64
66
|
key: index
|
|
@@ -67,8 +69,9 @@ export default class FormAction extends React.Component {
|
|
|
67
69
|
}
|
|
68
70
|
FormAction.propTypes = propTypes;
|
|
69
71
|
FormAction.defaultProps = defaultProps;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
72
|
+
|
|
73
|
+
// if (__DOCS__) {
|
|
74
|
+
// FormAction.docs = {
|
|
75
|
+
// componentGroup: 'Atom'
|
|
76
|
+
// };
|
|
77
|
+
// }
|
|
@@ -119,9 +119,10 @@ export default class FreezeLayer extends Component {
|
|
|
119
119
|
}
|
|
120
120
|
FreezeLayer.propTypes = propTypes;
|
|
121
121
|
FreezeLayer.defaultProps = defaultProps;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
122
|
+
|
|
123
|
+
// if (__DOCS__) {
|
|
124
|
+
// FreezeLayer.docs = {
|
|
125
|
+
// componentGroup: 'Atom',
|
|
126
|
+
// folderName: 'General'
|
|
127
|
+
// };
|
|
128
|
+
// }
|
|
@@ -133,8 +133,9 @@ export default class IconButton extends React.Component {
|
|
|
133
133
|
}
|
|
134
134
|
IconButton.propTypes = propTypes;
|
|
135
135
|
IconButton.defaultProps = defaultProps;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
136
|
+
|
|
137
|
+
// if (__DOCS__) {
|
|
138
|
+
// IconButton.docs = {
|
|
139
|
+
// componentGroup: 'Atom'
|
|
140
|
+
// };
|
|
141
|
+
// }
|
package/es/Image/Image.js
CHANGED
|
@@ -31,8 +31,8 @@ export default class Image extends React.Component {
|
|
|
31
31
|
}
|
|
32
32
|
Image.propTypes = propTypes;
|
|
33
33
|
Image.defaultProps = defaultProps;
|
|
34
|
-
if (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
34
|
+
// if (__DOCS__) {
|
|
35
|
+
// Image.docs = {
|
|
36
|
+
// componentGroup: 'Atom'
|
|
37
|
+
// };
|
|
38
|
+
// }
|
|
@@ -39,9 +39,10 @@ export default class ImportantNotes extends React.Component {
|
|
|
39
39
|
}
|
|
40
40
|
ImportantNotes.propTypes = propTypes;
|
|
41
41
|
ImportantNotes.defaultProps = defaultProps;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
42
|
+
|
|
43
|
+
// if (__DOCS__) {
|
|
44
|
+
// ImportantNotes.docs = {
|
|
45
|
+
// componentGroup: 'Common',
|
|
46
|
+
// folderName: 'General'
|
|
47
|
+
// };
|
|
48
|
+
// }
|
package/es/Link/Link.js
CHANGED
|
@@ -86,8 +86,9 @@ export default class Link extends React.Component {
|
|
|
86
86
|
Link.contextType = LinkContext;
|
|
87
87
|
Link.defaultProps = defaultProps;
|
|
88
88
|
Link.propTypes = propTypes;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
89
|
+
|
|
90
|
+
// if (__DOCS__) {
|
|
91
|
+
// Link.docs = {
|
|
92
|
+
// componentGroup: 'Atom'
|
|
93
|
+
// };
|
|
94
|
+
// }
|
package/es/Loader/Loader.js
CHANGED
package/es/Message/Message.js
CHANGED
|
@@ -42,11 +42,13 @@ export default class Message extends React.Component {
|
|
|
42
42
|
}
|
|
43
43
|
Message.propTypes = propTypes;
|
|
44
44
|
Message.defaultProps = defaultProps;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
45
|
+
|
|
46
|
+
// if (__DOCS__) {
|
|
47
|
+
// Message.docs = {
|
|
48
|
+
// componentGroup: 'Atom'
|
|
49
|
+
// };
|
|
50
|
+
// }
|
|
51
|
+
|
|
50
52
|
export function MessageUI(props) {
|
|
51
53
|
function onClose(e) {
|
|
52
54
|
let {
|
|
@@ -52,8 +52,9 @@ export default class MessageBanner extends React.Component {
|
|
|
52
52
|
}
|
|
53
53
|
MessageBanner.defaultProps = defaultProps;
|
|
54
54
|
MessageBanner.propTypes = propTypes;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
55
|
+
|
|
56
|
+
// if (__DOCS__) {
|
|
57
|
+
// MessageBanner.docs = {
|
|
58
|
+
// componentGroup: 'Atom'
|
|
59
|
+
// };
|
|
60
|
+
// }
|
package/es/NewStar/NewStar.js
CHANGED
|
@@ -62,8 +62,9 @@ export default class NewStar extends React.Component {
|
|
|
62
62
|
}
|
|
63
63
|
NewStar.propTypes = propTypes;
|
|
64
64
|
NewStar.defaultProps = defaultProps;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
65
|
+
|
|
66
|
+
// if (__DOCS__) {
|
|
67
|
+
// NewStar.docs = {
|
|
68
|
+
// componentGroup: 'Atom'
|
|
69
|
+
// };
|
|
70
|
+
// }
|
package/es/PlusIcon/PlusIcon.js
CHANGED
|
@@ -34,9 +34,10 @@ export default class PlusIcon extends React.Component {
|
|
|
34
34
|
}
|
|
35
35
|
PlusIcon.defaultProps = defaultProps;
|
|
36
36
|
PlusIcon.propTypes = propTypes;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
37
|
+
|
|
38
|
+
// if (__DOCS__) {
|
|
39
|
+
// PlusIcon.docs = {
|
|
40
|
+
// componentGroup: 'Common',
|
|
41
|
+
// folderName: 'Ticket DetailView'
|
|
42
|
+
// };
|
|
43
|
+
// }
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
3
|
+
import { defaultProps } from './props/defaultProps';
|
|
4
|
+
import { propTypes } from './props/propTypes';
|
|
5
|
+
import style from './Separator.module.css';
|
|
6
|
+
export default class Separator extends React.Component {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
super(props);
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
const {
|
|
12
|
+
children,
|
|
13
|
+
type,
|
|
14
|
+
customSeparatorType,
|
|
15
|
+
palette,
|
|
16
|
+
wrap,
|
|
17
|
+
shrink,
|
|
18
|
+
aligndirection,
|
|
19
|
+
customClass
|
|
20
|
+
} = this.props;
|
|
21
|
+
const {
|
|
22
|
+
customWrapper,
|
|
23
|
+
customSeparator,
|
|
24
|
+
customChildren
|
|
25
|
+
} = customClass;
|
|
26
|
+
const data = children.filter(el => el !== null && el !== undefined && el !== false);
|
|
27
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
28
|
+
alignBox: aligndirection,
|
|
29
|
+
align: aligndirection === 'row' ? 'vertical' : '',
|
|
30
|
+
wrap: wrap,
|
|
31
|
+
isCover: false,
|
|
32
|
+
className: `${style.varClass} ${customWrapper}`
|
|
33
|
+
}, data.map((child, i) => {
|
|
34
|
+
if (child) {
|
|
35
|
+
if (data.length - 1 == i || aligndirection == 'column') {
|
|
36
|
+
return child && /*#__PURE__*/React.createElement(Box, {
|
|
37
|
+
shrink: shrink,
|
|
38
|
+
key: i,
|
|
39
|
+
className: customChildren
|
|
40
|
+
}, child);
|
|
41
|
+
}
|
|
42
|
+
return child && /*#__PURE__*/React.createElement(React.Fragment, {
|
|
43
|
+
key: i
|
|
44
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
45
|
+
shrink: shrink,
|
|
46
|
+
key: i,
|
|
47
|
+
className: customChildren
|
|
48
|
+
}, child), /*#__PURE__*/React.createElement(Box, {
|
|
49
|
+
className: `${style.separator} ${style[palette]} ${customSeparatorType ? '' : style[type]} ${customSeparator} `,
|
|
50
|
+
key: i
|
|
51
|
+
}, customSeparatorType ? customSeparatorType : type == 'slash' ? '/' : type == 'arrow' ? '>' : type == 'comma' ? ',' : '\u2022'));
|
|
52
|
+
}
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
Separator.defaultProps = defaultProps;
|
|
57
|
+
Separator.propTypes = propTypes;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.varClass {
|
|
2
|
+
--separator_fontSize: var(--zd_font_size15);
|
|
3
|
+
}
|
|
4
|
+
.separator {
|
|
5
|
+
font-size: var(--separator_fontSize);
|
|
6
|
+
margin: 0 var(--zd_size5);
|
|
7
|
+
}
|
|
8
|
+
.dot {
|
|
9
|
+
--separator_fontSize: var(--zd_font_size8);
|
|
10
|
+
}
|
|
11
|
+
.slash {
|
|
12
|
+
--separator_fontSize: var(--zd_font_size10);
|
|
13
|
+
/* line-height: var(--zd_size10); */
|
|
14
|
+
}
|
|
15
|
+
.arrow {
|
|
16
|
+
--separator_fontSize: var(--zd_font_size8);
|
|
17
|
+
/* line-height: var(--zd_size7); */
|
|
18
|
+
}
|
|
19
|
+
.comma {
|
|
20
|
+
--separator_fontSize: var(--zd_font_size15);
|
|
21
|
+
/* line-height: var(--zd_size13); */
|
|
22
|
+
}
|
|
23
|
+
.none {
|
|
24
|
+
display: none;
|
|
25
|
+
}
|
|
26
|
+
.default {
|
|
27
|
+
color: var(--zdt_separator_default_text);
|
|
28
|
+
}
|
|
29
|
+
.primary {
|
|
30
|
+
color: var(--zdt_separator_primary_text);
|
|
31
|
+
}
|
|
32
|
+
.secondary {
|
|
33
|
+
color: var(--zdt_separator_secondary_text);
|
|
34
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const propTypes = {
|
|
3
|
+
aligndirection: PropTypes.string,
|
|
4
|
+
children: PropTypes.any,
|
|
5
|
+
palette: PropTypes.oneOf(['default', 'primary', 'secondary']),
|
|
6
|
+
shrink: PropTypes.bool,
|
|
7
|
+
type: PropTypes.oneOf(['dot', 'slash', 'arrow', 'comma', 'none']),
|
|
8
|
+
wrap: PropTypes.bool,
|
|
9
|
+
customClass: PropTypes.obj,
|
|
10
|
+
customSeparatorType: PropTypes.string
|
|
11
|
+
};
|
|
@@ -190,8 +190,9 @@ export default function ToastMessage(props) {
|
|
|
190
190
|
}
|
|
191
191
|
ToastMessage.propTypes = propTypes;
|
|
192
192
|
ToastMessage.defaultProps = defaultProps;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
}
|
|
193
|
+
|
|
194
|
+
// if (__DOCS__) {
|
|
195
|
+
// ToastMessage.docs = {
|
|
196
|
+
// componentGroup: 'Atom'
|
|
197
|
+
// };
|
|
198
|
+
// }
|
package/es/Upload/Upload.js
CHANGED
|
@@ -65,8 +65,9 @@ export default class Upload extends React.Component {
|
|
|
65
65
|
}
|
|
66
66
|
Upload.propTypes = propTypes;
|
|
67
67
|
Upload.defaultProps = defaultProps;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
68
|
+
|
|
69
|
+
// if (__DOCS__) {
|
|
70
|
+
// Upload.docs = {
|
|
71
|
+
// componentGroup: 'Upload'
|
|
72
|
+
// };
|
|
73
|
+
// }
|