@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
|
@@ -249,19 +249,19 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
|
|
|
249
249
|
position = (i - selectedIndex) * 100;
|
|
250
250
|
return {
|
|
251
251
|
transform: "translateX(".concat(parseInt(position), "%)"),
|
|
252
|
-
opacity:
|
|
252
|
+
opacity: '0'
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
255
|
if (i === selectedIndex) {
|
|
256
256
|
return {
|
|
257
|
-
transform:
|
|
258
|
-
opacity:
|
|
257
|
+
transform: 'translateX(0%)',
|
|
258
|
+
opacity: '1'
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
position = (selectedIndex - i) * 100 * -1;
|
|
262
262
|
return {
|
|
263
263
|
transform: "translateX(".concat(parseInt(position), "%)"),
|
|
264
|
-
opacity:
|
|
264
|
+
opacity: '0'
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
267
|
return dataList.length && dataList.map(function () {
|
|
@@ -286,7 +286,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
|
|
|
286
286
|
src: data.viewUrl,
|
|
287
287
|
type: "audio/".concat((0, _Attachment.getExtensionFromFileName)(data.name))
|
|
288
288
|
})) : null : /*#__PURE__*/_react["default"].createElement(_AttachmentImage["default"], {
|
|
289
|
-
className: "".concat(_AttachmentViewerModule["default"].img, " ").concat(selectedIndex == i && maintainZoom ? isZoomed ? _AttachmentViewerModule["default"].zoomedImg : _AttachmentViewerModule["default"].normalImg :
|
|
289
|
+
className: "".concat(_AttachmentViewerModule["default"].img, " ").concat(selectedIndex == i && maintainZoom ? isZoomed ? _AttachmentViewerModule["default"].zoomedImg : _AttachmentViewerModule["default"].normalImg : ''),
|
|
290
290
|
src: selectedImgUrl,
|
|
291
291
|
onClick: isZoomed ? _this4.zoomOut.bind(_this4, i) : function (e) {
|
|
292
292
|
_this4.zoomIn(e, i, true);
|
|
@@ -357,8 +357,8 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
|
|
|
357
357
|
className: uptoTablet ? _AttachmentViewerModule["default"].mbleMenuBar : _AttachmentViewerModule["default"].menuBar
|
|
358
358
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
359
359
|
isInline: true,
|
|
360
|
-
alignBox: uptoTablet ?
|
|
361
|
-
align: uptoTablet ?
|
|
360
|
+
alignBox: uptoTablet ? 'column-reverse' : 'row',
|
|
361
|
+
align: uptoTablet ? 'bottom' : 'center',
|
|
362
362
|
wrap: "wrap",
|
|
363
363
|
isCover: false
|
|
364
364
|
}, isZoomed ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -443,7 +443,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
|
|
|
443
443
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
444
444
|
alignBox: "row"
|
|
445
445
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
446
|
-
className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(selectedIndex === 0 ? _AttachmentViewerModule["default"].hidden :
|
|
446
|
+
className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(selectedIndex === 0 ? _AttachmentViewerModule["default"].hidden : ''),
|
|
447
447
|
onClick: _this5.changeSelectedIndex.bind(_this5, selectedIndex - 1),
|
|
448
448
|
"data-title": i18nKeys.previousText,
|
|
449
449
|
"data-title-position": "left"
|
|
@@ -465,7 +465,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
|
|
|
465
465
|
scroll: "both",
|
|
466
466
|
flexible: true
|
|
467
467
|
}, _this5.imgPreviewView()), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
468
|
-
className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(totalLen === selectedIndex + 1 ? _AttachmentViewerModule["default"].hidden :
|
|
468
|
+
className: "".concat(_AttachmentViewerModule["default"].arrowBox, " ").concat(uptoTablet ? _AttachmentViewerModule["default"].mbleArrowBox : _AttachmentViewerModule["default"].nrmlArrowBox, " ").concat(totalLen === selectedIndex + 1 ? _AttachmentViewerModule["default"].hidden : ''),
|
|
469
469
|
onClick: _this5.changeSelectedIndex.bind(_this5, selectedIndex + 1),
|
|
470
470
|
"data-title": i18nKeys.nextText,
|
|
471
471
|
"data-title-position": "right"
|
|
@@ -512,7 +512,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
|
|
|
512
512
|
viewUrl = item.viewUrl;
|
|
513
513
|
var isAudio = (0, _Attachment.isAudioFile)(name);
|
|
514
514
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
515
|
-
className: "".concat(_AttachmentViewerModule["default"].imgItem, " ").concat(index === selectedIndex ? _AttachmentViewerModule["default"].selected :
|
|
515
|
+
className: "".concat(_AttachmentViewerModule["default"].imgItem, " ").concat(index === selectedIndex ? _AttachmentViewerModule["default"].selected : '', " ").concat(isAudio ? _AttachmentViewerModule["default"].isAudio : ''),
|
|
516
516
|
key: index,
|
|
517
517
|
onClick: _this5.changeSelectedIndex.bind(_this5, index),
|
|
518
518
|
eleRef: function eleRef(el) {
|
|
@@ -534,7 +534,7 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
|
|
|
534
534
|
iconName: "ZD-GN-hideTab",
|
|
535
535
|
iconSize: "14",
|
|
536
536
|
hoverType: "border",
|
|
537
|
-
iconClass: "".concat(_AttachmentViewerModule["default"].thumpIcon, " ").concat(isPViewListOpen ? _AttachmentViewerModule["default"].thumpIconActive :
|
|
537
|
+
iconClass: "".concat(_AttachmentViewerModule["default"].thumpIcon, " ").concat(isPViewListOpen ? _AttachmentViewerModule["default"].thumpIconActive : ''),
|
|
538
538
|
className: _AttachmentViewerModule["default"].button,
|
|
539
539
|
a11y: {
|
|
540
540
|
ariaLabel: i18nKeys.hideText
|
|
@@ -549,8 +549,9 @@ var AttachmentViewer = /*#__PURE__*/function (_Component) {
|
|
|
549
549
|
exports["default"] = AttachmentViewer;
|
|
550
550
|
AttachmentViewer.propTypes = _propTypes.AttachmentViewer_propTypes;
|
|
551
551
|
AttachmentViewer.defaultProps = _defaultProps.AttachmentViewer_defaultProps;
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
}
|
|
552
|
+
|
|
553
|
+
// if (__DOCS__) {
|
|
554
|
+
// AttachmentViewer.docs = {
|
|
555
|
+
// componentGroup: "Molecule"
|
|
556
|
+
// };
|
|
557
|
+
// }
|
|
@@ -115,8 +115,8 @@ var ChannelIcon = /*#__PURE__*/function (_Component) {
|
|
|
115
115
|
exports["default"] = ChannelIcon;
|
|
116
116
|
ChannelIcon.defaultProps = _defaultProps.defaultProps;
|
|
117
117
|
ChannelIcon.propTypes = _propTypes.propTypes;
|
|
118
|
-
if (
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
118
|
+
// if (__DOCS__) {
|
|
119
|
+
// ChannelIcon.docs = {
|
|
120
|
+
// componentGroup: 'Atom'
|
|
121
|
+
// };
|
|
122
|
+
// }
|
package/lib/Drawer/Drawer.js
CHANGED
|
@@ -317,8 +317,9 @@ var Drawer = /*#__PURE__*/function (_React$Component4) {
|
|
|
317
317
|
exports["default"] = Drawer;
|
|
318
318
|
Drawer.propTypes = _propTypes.Drawer_propTypes;
|
|
319
319
|
Drawer.defaultProps = _defaultProps.Drawer_defaultProps;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
}
|
|
320
|
+
|
|
321
|
+
// if (__DOCS__) {
|
|
322
|
+
// Drawer.docs = {
|
|
323
|
+
// componentGroup: 'Template'
|
|
324
|
+
// };
|
|
325
|
+
// }
|
|
@@ -67,8 +67,9 @@ var ExternalLink = /*#__PURE__*/function (_React$Component) {
|
|
|
67
67
|
exports["default"] = ExternalLink;
|
|
68
68
|
ExternalLink.defaultProps = _defaultProps.defaultProps;
|
|
69
69
|
ExternalLink.propTypes = _propTypes.propTypes;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
70
|
+
|
|
71
|
+
// if (__DOCS__) {
|
|
72
|
+
// ExternalLink.docs = {
|
|
73
|
+
// componentGroup: 'Atom'
|
|
74
|
+
// };
|
|
75
|
+
// }
|
package/lib/FlipCard/FlipCard.js
CHANGED
|
@@ -160,8 +160,8 @@ var FlipCard = /*#__PURE__*/function (_Component) {
|
|
|
160
160
|
exports["default"] = FlipCard;
|
|
161
161
|
FlipCard.propTypes = _propTypes.propTypes;
|
|
162
162
|
FlipCard.defaultProps = _defaultProps.defaultProps;
|
|
163
|
-
if (
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
163
|
+
// if (__DOCS__) {
|
|
164
|
+
// FlipCard.docs = {
|
|
165
|
+
// componentGroup: 'Molecule'
|
|
166
|
+
// };
|
|
167
|
+
// }
|
|
@@ -77,15 +77,17 @@ var FormAction = /*#__PURE__*/function (_React$Component) {
|
|
|
77
77
|
}, hasLeftChild ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
78
78
|
flexible: hasRightChild ? true : false,
|
|
79
79
|
shrink: !hasRightChild && hasLeftChild ? true : false
|
|
80
|
-
}, leftbuttonGroup.length > 1 ? leftbuttonGroup.map(function (item) {
|
|
80
|
+
}, leftbuttonGroup.length > 1 ? leftbuttonGroup.map(function (item, index) {
|
|
81
81
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
82
|
-
className: _FormActionModule["default"].marginRight
|
|
82
|
+
className: _FormActionModule["default"].marginRight,
|
|
83
|
+
key: index
|
|
83
84
|
}, item);
|
|
84
85
|
}) : leftbuttonGroup[0]) : null, hasRightChild ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
85
86
|
shrink: hasRightChild && !hasLeftChild ? true : false
|
|
86
|
-
}, rightbuttonGroup.length > 1 ? rightbuttonGroup.map(function (item) {
|
|
87
|
+
}, rightbuttonGroup.length > 1 ? rightbuttonGroup.map(function (item, index) {
|
|
87
88
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
88
|
-
className: _FormActionModule["default"].marginRight
|
|
89
|
+
className: _FormActionModule["default"].marginRight,
|
|
90
|
+
key: index
|
|
89
91
|
}, item);
|
|
90
92
|
}) : rightbuttonGroup[0]) : null, hasCenterChild ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, null, centerbuttonGroup.length > 1 ? centerbuttonGroup.map(function (item, index) {
|
|
91
93
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -100,8 +102,9 @@ var FormAction = /*#__PURE__*/function (_React$Component) {
|
|
|
100
102
|
exports["default"] = FormAction;
|
|
101
103
|
FormAction.propTypes = _propTypes.propTypes;
|
|
102
104
|
FormAction.defaultProps = _defaultProps.defaultProps;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
105
|
+
|
|
106
|
+
// if (__DOCS__) {
|
|
107
|
+
// FormAction.docs = {
|
|
108
|
+
// componentGroup: 'Atom'
|
|
109
|
+
// };
|
|
110
|
+
// }
|
|
@@ -152,9 +152,10 @@ var FreezeLayer = /*#__PURE__*/function (_Component) {
|
|
|
152
152
|
exports["default"] = FreezeLayer;
|
|
153
153
|
FreezeLayer.propTypes = _propTypes.propTypes;
|
|
154
154
|
FreezeLayer.defaultProps = _defaultProps.defaultProps;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
155
|
+
|
|
156
|
+
// if (__DOCS__) {
|
|
157
|
+
// FreezeLayer.docs = {
|
|
158
|
+
// componentGroup: 'Atom',
|
|
159
|
+
// folderName: 'General'
|
|
160
|
+
// };
|
|
161
|
+
// }
|
|
@@ -161,8 +161,9 @@ var IconButton = /*#__PURE__*/function (_React$Component) {
|
|
|
161
161
|
exports["default"] = IconButton;
|
|
162
162
|
IconButton.propTypes = _propTypes.propTypes;
|
|
163
163
|
IconButton.defaultProps = _defaultProps.defaultProps;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
164
|
+
|
|
165
|
+
// if (__DOCS__) {
|
|
166
|
+
// IconButton.docs = {
|
|
167
|
+
// componentGroup: 'Atom'
|
|
168
|
+
// };
|
|
169
|
+
// }
|
package/lib/Image/Image.js
CHANGED
|
@@ -59,8 +59,8 @@ var Image = /*#__PURE__*/function (_React$Component) {
|
|
|
59
59
|
exports["default"] = Image;
|
|
60
60
|
Image.propTypes = _propTypes.propTypes;
|
|
61
61
|
Image.defaultProps = _defaultProps.defaultProps;
|
|
62
|
-
if (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
62
|
+
// if (__DOCS__) {
|
|
63
|
+
// Image.docs = {
|
|
64
|
+
// componentGroup: 'Atom'
|
|
65
|
+
// };
|
|
66
|
+
// }
|
|
@@ -64,9 +64,10 @@ var ImportantNotes = /*#__PURE__*/function (_React$Component) {
|
|
|
64
64
|
exports["default"] = ImportantNotes;
|
|
65
65
|
ImportantNotes.propTypes = _propTypes.propTypes;
|
|
66
66
|
ImportantNotes.defaultProps = _defaultProps.defaultProps;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
67
|
+
|
|
68
|
+
// if (__DOCS__) {
|
|
69
|
+
// ImportantNotes.docs = {
|
|
70
|
+
// componentGroup: 'Common',
|
|
71
|
+
// folderName: 'General'
|
|
72
|
+
// };
|
|
73
|
+
// }
|
package/lib/Link/Link.js
CHANGED
|
@@ -116,8 +116,9 @@ exports["default"] = Link;
|
|
|
116
116
|
Link.contextType = _LinkContext["default"];
|
|
117
117
|
Link.defaultProps = _defaultProps.defaultProps;
|
|
118
118
|
Link.propTypes = _propTypes.propTypes;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
119
|
+
|
|
120
|
+
// if (__DOCS__) {
|
|
121
|
+
// Link.docs = {
|
|
122
|
+
// componentGroup: 'Atom'
|
|
123
|
+
// };
|
|
124
|
+
// }
|
package/lib/Loader/Loader.js
CHANGED
|
@@ -43,10 +43,9 @@ var Loader = /*#__PURE__*/function (_React$Component) {
|
|
|
43
43
|
}
|
|
44
44
|
}]);
|
|
45
45
|
return Loader;
|
|
46
|
-
}(_react["default"].Component);
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
46
|
+
}(_react["default"].Component); // if (__DOCS__) {
|
|
47
|
+
// Loader.docs = {
|
|
48
|
+
// componentGroup: 'Atom'
|
|
49
|
+
// };
|
|
50
|
+
// }
|
|
51
|
+
exports["default"] = Loader;
|
package/lib/Message/Message.js
CHANGED
|
@@ -74,11 +74,13 @@ var Message = /*#__PURE__*/function (_React$Component) {
|
|
|
74
74
|
exports["default"] = Message;
|
|
75
75
|
Message.propTypes = _propTypes.propTypes;
|
|
76
76
|
Message.defaultProps = _defaultProps.defaultProps;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
77
|
+
|
|
78
|
+
// if (__DOCS__) {
|
|
79
|
+
// Message.docs = {
|
|
80
|
+
// componentGroup: 'Atom'
|
|
81
|
+
// };
|
|
82
|
+
// }
|
|
83
|
+
|
|
82
84
|
function MessageUI(props) {
|
|
83
85
|
function onClose(e) {
|
|
84
86
|
var hideMessage = props.hideMessage,
|
|
@@ -80,8 +80,9 @@ var MessageBanner = /*#__PURE__*/function (_React$Component) {
|
|
|
80
80
|
exports["default"] = MessageBanner;
|
|
81
81
|
MessageBanner.defaultProps = _defaultProps.defaultProps;
|
|
82
82
|
MessageBanner.propTypes = _propTypes.propTypes;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
83
|
+
|
|
84
|
+
// if (__DOCS__) {
|
|
85
|
+
// MessageBanner.docs = {
|
|
86
|
+
// componentGroup: 'Atom'
|
|
87
|
+
// };
|
|
88
|
+
// }
|
package/lib/NewStar/NewStar.js
CHANGED
|
@@ -90,8 +90,9 @@ var NewStar = /*#__PURE__*/function (_React$Component) {
|
|
|
90
90
|
exports["default"] = NewStar;
|
|
91
91
|
NewStar.propTypes = _propTypes.propTypes;
|
|
92
92
|
NewStar.defaultProps = _defaultProps.defaultProps;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
93
|
+
|
|
94
|
+
// if (__DOCS__) {
|
|
95
|
+
// NewStar.docs = {
|
|
96
|
+
// componentGroup: 'Atom'
|
|
97
|
+
// };
|
|
98
|
+
// }
|
package/lib/PlusIcon/PlusIcon.js
CHANGED
|
@@ -59,9 +59,10 @@ var PlusIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
59
59
|
exports["default"] = PlusIcon;
|
|
60
60
|
PlusIcon.defaultProps = _defaultProps.defaultProps;
|
|
61
61
|
PlusIcon.propTypes = _propTypes.propTypes;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
62
|
+
|
|
63
|
+
// if (__DOCS__) {
|
|
64
|
+
// PlusIcon.docs = {
|
|
65
|
+
// componentGroup: 'Common',
|
|
66
|
+
// folderName: 'Ticket DetailView'
|
|
67
|
+
// };
|
|
68
|
+
// }
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
10
|
+
var _defaultProps = require("./props/defaultProps");
|
|
11
|
+
var _propTypes = require("./props/propTypes");
|
|
12
|
+
var _SeparatorModule = _interopRequireDefault(require("./Separator.module.css"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
18
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
19
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
20
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
21
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
22
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
|
+
var Separator = /*#__PURE__*/function (_React$Component) {
|
|
25
|
+
_inherits(Separator, _React$Component);
|
|
26
|
+
var _super = _createSuper(Separator);
|
|
27
|
+
function Separator(props) {
|
|
28
|
+
_classCallCheck(this, Separator);
|
|
29
|
+
return _super.call(this, props);
|
|
30
|
+
}
|
|
31
|
+
_createClass(Separator, [{
|
|
32
|
+
key: "render",
|
|
33
|
+
value: function render() {
|
|
34
|
+
var _this$props = this.props,
|
|
35
|
+
children = _this$props.children,
|
|
36
|
+
type = _this$props.type,
|
|
37
|
+
customSeparatorType = _this$props.customSeparatorType,
|
|
38
|
+
palette = _this$props.palette,
|
|
39
|
+
wrap = _this$props.wrap,
|
|
40
|
+
shrink = _this$props.shrink,
|
|
41
|
+
aligndirection = _this$props.aligndirection,
|
|
42
|
+
customClass = _this$props.customClass;
|
|
43
|
+
var customWrapper = customClass.customWrapper,
|
|
44
|
+
customSeparator = customClass.customSeparator,
|
|
45
|
+
customChildren = customClass.customChildren;
|
|
46
|
+
var data = children.filter(function (el) {
|
|
47
|
+
return el !== null && el !== undefined && el !== false;
|
|
48
|
+
});
|
|
49
|
+
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
50
|
+
alignBox: aligndirection,
|
|
51
|
+
align: aligndirection === 'row' ? 'vertical' : '',
|
|
52
|
+
wrap: wrap,
|
|
53
|
+
isCover: false,
|
|
54
|
+
className: "".concat(_SeparatorModule["default"].varClass, " ").concat(customWrapper)
|
|
55
|
+
}, data.map(function (child, i) {
|
|
56
|
+
if (child) {
|
|
57
|
+
if (data.length - 1 == i || aligndirection == 'column') {
|
|
58
|
+
return child && /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
59
|
+
shrink: shrink,
|
|
60
|
+
key: i,
|
|
61
|
+
className: customChildren
|
|
62
|
+
}, child);
|
|
63
|
+
}
|
|
64
|
+
return child && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, {
|
|
65
|
+
key: i
|
|
66
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
67
|
+
shrink: shrink,
|
|
68
|
+
key: i,
|
|
69
|
+
className: customChildren
|
|
70
|
+
}, child), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
71
|
+
className: "".concat(_SeparatorModule["default"].separator, " ").concat(_SeparatorModule["default"][palette], " ").concat(customSeparatorType ? '' : _SeparatorModule["default"][type], " ").concat(customSeparator, " "),
|
|
72
|
+
key: i
|
|
73
|
+
}, customSeparatorType ? customSeparatorType : type == 'slash' ? '/' : type == 'arrow' ? '>' : type == 'comma' ? ',' : "\u2022"));
|
|
74
|
+
}
|
|
75
|
+
}));
|
|
76
|
+
}
|
|
77
|
+
}]);
|
|
78
|
+
return Separator;
|
|
79
|
+
}(_react["default"].Component);
|
|
80
|
+
exports["default"] = Separator;
|
|
81
|
+
Separator.defaultProps = _defaultProps.defaultProps;
|
|
82
|
+
Separator.propTypes = _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,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.defaultProps = void 0;
|
|
7
|
+
var defaultProps = {
|
|
8
|
+
palette: 'default',
|
|
9
|
+
type: 'dot',
|
|
10
|
+
wrap: false,
|
|
11
|
+
shrink: false,
|
|
12
|
+
aligndirection: 'row',
|
|
13
|
+
customClass: {
|
|
14
|
+
customWrapper: '',
|
|
15
|
+
customSeparator: '',
|
|
16
|
+
customChildren: ''
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
exports.defaultProps = defaultProps;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.propTypes = void 0;
|
|
7
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
var propTypes = {
|
|
10
|
+
aligndirection: _propTypes["default"].string,
|
|
11
|
+
children: _propTypes["default"].any,
|
|
12
|
+
palette: _propTypes["default"].oneOf(['default', 'primary', 'secondary']),
|
|
13
|
+
shrink: _propTypes["default"].bool,
|
|
14
|
+
type: _propTypes["default"].oneOf(['dot', 'slash', 'arrow', 'comma', 'none']),
|
|
15
|
+
wrap: _propTypes["default"].bool,
|
|
16
|
+
customClass: _propTypes["default"].obj,
|
|
17
|
+
customSeparatorType: _propTypes["default"].string
|
|
18
|
+
};
|
|
19
|
+
exports.propTypes = propTypes;
|
|
@@ -208,8 +208,9 @@ function ToastMessage(props) {
|
|
|
208
208
|
}
|
|
209
209
|
ToastMessage.propTypes = _propTypes.propTypes;
|
|
210
210
|
ToastMessage.defaultProps = _defaultProps.defaultProps;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
211
|
+
|
|
212
|
+
// if (__DOCS__) {
|
|
213
|
+
// ToastMessage.docs = {
|
|
214
|
+
// componentGroup: 'Atom'
|
|
215
|
+
// };
|
|
216
|
+
// }
|
package/lib/Upload/Upload.js
CHANGED
|
@@ -92,8 +92,9 @@ var Upload = /*#__PURE__*/function (_React$Component) {
|
|
|
92
92
|
exports["default"] = Upload;
|
|
93
93
|
Upload.propTypes = _propTypes.propTypes;
|
|
94
94
|
Upload.defaultProps = _defaultProps.defaultProps;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
95
|
+
|
|
96
|
+
// if (__DOCS__) {
|
|
97
|
+
// Upload.docs = {
|
|
98
|
+
// componentGroup: 'Upload'
|
|
99
|
+
// };
|
|
100
|
+
// }
|
|
@@ -95,9 +95,10 @@ var AlertHeader = /*#__PURE__*/function (_Component) {
|
|
|
95
95
|
exports["default"] = AlertHeader;
|
|
96
96
|
AlertHeader.propTypes = _propTypes.propTypes;
|
|
97
97
|
AlertHeader.defaultProps = _defaultProps.defaultProps;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
98
|
+
|
|
99
|
+
// if (__DOCS__) {
|
|
100
|
+
// AlertHeader.docs = {
|
|
101
|
+
// componentGroup: 'AlertHeader',
|
|
102
|
+
// folderName: 'Alert'
|
|
103
|
+
// };
|
|
104
|
+
// }
|
|
@@ -125,9 +125,10 @@ var AlertLookup = /*#__PURE__*/function (_Component) {
|
|
|
125
125
|
exports["default"] = AlertLookup;
|
|
126
126
|
AlertLookup.propTypes = _propTypes.propTypes;
|
|
127
127
|
AlertLookup.defaultProps = _defaultProps.defaultProps;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
128
|
+
|
|
129
|
+
// if (__DOCS__) {
|
|
130
|
+
// AlertLookup.docs = {
|
|
131
|
+
// componentGroup: 'AlertLookup',
|
|
132
|
+
// folderName: 'Alert'
|
|
133
|
+
// };
|
|
134
|
+
// }
|
|
@@ -67,8 +67,8 @@ var AvatarClose = /*#__PURE__*/function (_React$Component) {
|
|
|
67
67
|
exports["default"] = AvatarClose;
|
|
68
68
|
AvatarClose.propTypes = _propTypes.propTypes;
|
|
69
69
|
AvatarClose.defaultProps = _defaultProps.defaultProps;
|
|
70
|
-
if (
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
70
|
+
// if (__DOCS__) {
|
|
71
|
+
// AvatarClose.docs = {
|
|
72
|
+
// componentGroup: 'Avatar Group'
|
|
73
|
+
// };
|
|
74
|
+
// }
|
|
@@ -75,8 +75,8 @@ var AvatarCollision = /*#__PURE__*/function (_React$Component) {
|
|
|
75
75
|
exports["default"] = AvatarCollision;
|
|
76
76
|
AvatarCollision.propTypes = _propTypes.propTypes;
|
|
77
77
|
AvatarCollision.defaultProps = _defaultProps.defaultProps;
|
|
78
|
-
if (
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
78
|
+
// if (__DOCS__) {
|
|
79
|
+
// AvatarCollision.docs = {
|
|
80
|
+
// componentGroup: 'Avatar Group'
|
|
81
|
+
// };
|
|
82
|
+
// }
|
|
@@ -73,8 +73,6 @@ var AvatarIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
73
73
|
exports["default"] = AvatarIcon;
|
|
74
74
|
AvatarIcon.defaultProps = _defaultProps.defaultProps;
|
|
75
75
|
AvatarIcon.propTypes = _propTypes.propTypes;
|
|
76
|
-
if (
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
};
|
|
80
|
-
}
|
|
76
|
+
// if (__DOCS__) {
|
|
77
|
+
// AvatarIcon.docs = { componentGroup: 'Avatar Group' };
|
|
78
|
+
// }
|