@zohodesk/dot 1.0.0-temp-181.9 → 1.0.0-temp-183.1
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/.cli/propValidation_report.html +1 -1
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/coverage-final.json +16 -16
- package/coverage/coverage-summary.json +16 -16
- package/coverage/index.html +1 -1
- package/es/ActionButton/ActionButton.module.css +192 -192
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/es/ChannelIcon/ChannelIcon.module.css +225 -225
- package/es/Drawer/Drawer.js +5 -4
- package/es/ExternalLink/ExternalLink.js +5 -4
- package/es/FlipCard/FlipCard.js +12 -14
- package/es/FormAction/FormAction.module.css +100 -100
- package/es/IconButton/IconButton.js +5 -4
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Link/Link.js +10 -8
- package/es/Message/Message.js +5 -4
- package/es/TagWithIcon/TagWithIcon.module.css +66 -66
- package/es/ToastMessage/ToastMessage.js +4 -2
- package/es/actions/AutoClose.js +1 -2
- package/es/alert/AlertLookup/AlertLookup.js +12 -14
- package/es/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/avatar/AvatarIcon/AvatarIcon.js +5 -4
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/common/dot_boxShadow.module.css +2 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/es/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/form/fields/DateField/DateField.js +14 -14
- package/es/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/form/fields/RadioField/RadioField.js +15 -18
- package/es/form/fields/SelectField/SelectField.js +14 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -16
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/form/fields/TextEditorField/TextEditorField.js +10 -11
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +9 -3
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/ListLayout/ListLayout.js +5 -4
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/es/list/SecondaryText/AccountName.js +12 -12
- package/es/list/SecondaryText/ContactName.js +9 -8
- package/es/list/SecondaryText/Email.js +8 -8
- package/es/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/list/SecondaryText/SecondaryText.js +5 -4
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/Subject/Subject.js +7 -7
- package/es/list/Subject/Subject.module.css +34 -34
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/list/status/StatusListItem/StatusListItem.module.css +35 -5
- package/es/lookup/Lookup/Lookup.js +5 -4
- package/es/lookup/header/Search/Search.js +3 -5
- package/es/v1/Drawer/Drawer.js +5 -4
- package/es/v1/ExternalLink/ExternalLink.js +5 -4
- package/es/v1/FlipCard/FlipCard.js +12 -14
- package/es/v1/GlobalNotification/GlobalNotification.js +7 -6
- package/es/v1/IconButton/IconButton.js +5 -4
- package/es/v1/Link/Link.js +10 -8
- package/es/v1/Message/Message.js +5 -4
- package/es/v1/ToastMessage/ToastMessage.js +4 -2
- package/es/v1/actions/AutoClose.js +1 -2
- package/es/v1/alert/AlertLookup/AlertLookup.js +15 -15
- package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +5 -4
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +8 -7
- package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/v1/avatar/AvatarUser/AvatarUser.js +9 -10
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +14 -17
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +24 -28
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +13 -15
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +12 -14
- package/es/v1/form/fields/DateField/DateField.js +14 -14
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +12 -13
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +16 -18
- package/es/v1/form/fields/SelectField/SelectField.js +14 -14
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +10 -13
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +10 -11
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +10 -11
- package/es/v1/form/fields/TextareaField/TextareaField.js +13 -14
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +6 -4
- package/es/v1/list/ListLayout/ListLayout.js +5 -4
- package/es/v1/list/SecondaryText/AccountName.js +12 -12
- package/es/v1/list/SecondaryText/ContactName.js +9 -8
- package/es/v1/list/SecondaryText/Email.js +8 -8
- package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/v1/list/SecondaryText/SecondaryText.js +5 -4
- package/es/v1/list/SecondaryText/TicketId.js +7 -7
- package/es/v1/list/Subject/Subject.js +7 -7
- package/es/v1/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/v1/lookup/Lookup/Lookup.js +5 -4
- package/es/v1/lookup/header/Search/Search.js +3 -5
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.js +7 -6
- package/es/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +7 -6
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/lib/ActionButton/ActionButton.module.css +192 -192
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/lib/ChannelIcon/ChannelIcon.module.css +225 -225
- package/lib/FormAction/FormAction.module.css +100 -100
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/TagWithIcon/TagWithIcon.module.css +66 -66
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/common/dot_boxShadow.module.css +2 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
- package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/list/Subject/Subject.module.css +34 -34
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/status/StatusListItem/StatusListItem.module.css +35 -5
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/package.json +4 -4
- package/result.json +1 -1
- package/es/v1/DotWrapper/DotWrapper.js +0 -46
- package/es/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -24
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -3
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -1
- package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -1
- package/es/v1/DotWrapper/props/defaultProps.js +0 -6
- package/es/v1/DotWrapper/props/propTypes.js +0 -9
- package/es/v1/DotWrapper/utils/appearanceProperties.js +0 -46
- package/es/v1/DotWrapper/utils/errorMessage.js +0 -7
- package/es/v1/DotWrapper/utils/importFiles.js +0 -30
- package/es/v1/DotWrapper/utils/sizeProperties.js +0 -12
- package/es/v1/DotWrapper/utils/themeProperties.js +0 -220
- package/lib/v1/DotWrapper/DotWrapper.js +0 -65
- package/lib/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -43
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -7
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -3
- package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -3
- package/lib/v1/DotWrapper/props/defaultProps.js +0 -13
- package/lib/v1/DotWrapper/props/propTypes.js +0 -20
- package/lib/v1/DotWrapper/utils/appearanceProperties.js +0 -79
- package/lib/v1/DotWrapper/utils/errorMessage.js +0 -14
- package/lib/v1/DotWrapper/utils/importFiles.js +0 -39
- package/lib/v1/DotWrapper/utils/sizeProperties.js +0 -31
- package/lib/v1/DotWrapper/utils/themeProperties.js +0 -325
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/**** Libraries ****/
|
|
@@ -27,21 +29,19 @@ export default function Email(props) {
|
|
|
27
29
|
LinkProps = {},
|
|
28
30
|
TextProps = {}
|
|
29
31
|
} = customProps;
|
|
30
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
32
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
31
33
|
href: href,
|
|
32
34
|
title: title,
|
|
33
35
|
urlData: urlData,
|
|
34
36
|
urlName: urlName,
|
|
35
37
|
target: target,
|
|
36
|
-
className: style.link
|
|
37
|
-
|
|
38
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
className: style.link
|
|
39
|
+
}, LinkProps), /*#__PURE__*/React.createElement("div", {
|
|
39
40
|
className: `${style.textStyle} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
40
|
-
}, text)) : /*#__PURE__*/React.createElement("div", {
|
|
41
|
+
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
41
42
|
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''}`,
|
|
42
|
-
"data-title": title
|
|
43
|
-
|
|
44
|
-
}, text));
|
|
43
|
+
"data-title": title
|
|
44
|
+
}, TextProps), text));
|
|
45
45
|
}
|
|
46
46
|
Email.propTypes = Email_propTypes;
|
|
47
47
|
Email.defaultProps = Email_defaultProps;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/**** Libraries ****/
|
|
@@ -29,7 +31,7 @@ export default function PhoneNumber(props) {
|
|
|
29
31
|
LinkProps = {},
|
|
30
32
|
TextProps = {}
|
|
31
33
|
} = customProps;
|
|
32
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
34
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
33
35
|
href: href,
|
|
34
36
|
title: title,
|
|
35
37
|
urlData: urlData,
|
|
@@ -37,15 +39,13 @@ export default function PhoneNumber(props) {
|
|
|
37
39
|
dataId: dataId,
|
|
38
40
|
target: target,
|
|
39
41
|
hasReload: hasReload,
|
|
40
|
-
className: style.link
|
|
41
|
-
|
|
42
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
42
|
+
className: style.link
|
|
43
|
+
}, LinkProps), /*#__PURE__*/React.createElement("div", {
|
|
43
44
|
className: `${style.phoneNumber} ${style[`font_${fontWeight}`]} ${className ? className : ''}`
|
|
44
|
-
}, text)) : /*#__PURE__*/React.createElement("div", {
|
|
45
|
+
}, text)) : /*#__PURE__*/React.createElement("div", _extends({
|
|
45
46
|
className: `${style.secondaryText} ${style[`font_${fontWeight}`]} ${className ? className : ''}`,
|
|
46
|
-
"data-title": title
|
|
47
|
-
|
|
48
|
-
}, text));
|
|
47
|
+
"data-title": title
|
|
48
|
+
}, TextProps), text));
|
|
49
49
|
}
|
|
50
50
|
PhoneNumber.propTypes = PhoneNumber_propTypes;
|
|
51
51
|
PhoneNumber.defaultProps = PhoneNumber_defaultProps;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { SecondaryText_defaultProps } from './props/defaultProps';
|
|
3
5
|
import { SecondaryText_propTypes } from './props/propTypes';
|
|
@@ -14,14 +16,13 @@ export default function SecondaryText(props) {
|
|
|
14
16
|
let {
|
|
15
17
|
SecondaryTextProps
|
|
16
18
|
} = customProps;
|
|
17
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
19
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
18
20
|
className: `${style.secondaryText} ${className ? className : ''}`,
|
|
19
21
|
"data-title": dataTitle,
|
|
20
22
|
"data-id": dataId,
|
|
21
23
|
"data-test-id": dataId,
|
|
22
|
-
onClick: onClick
|
|
23
|
-
|
|
24
|
-
}, text);
|
|
24
|
+
onClick: onClick
|
|
25
|
+
}, SecondaryTextProps), text);
|
|
25
26
|
}
|
|
26
27
|
SecondaryText.propTypes = SecondaryText_propTypes;
|
|
27
28
|
SecondaryText.defaultProps = SecondaryText_defaultProps;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { TicketId_defaultProps } from './props/defaultProps';
|
|
3
5
|
import { TicketId_propTypes } from './props/propTypes';
|
|
@@ -21,21 +23,19 @@ export default function TicketId(props) {
|
|
|
21
23
|
LinkProps = {},
|
|
22
24
|
TicketIdProps = {}
|
|
23
25
|
} = customProps;
|
|
24
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
26
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
25
27
|
className: `${style.ticketId} ${isLink ? style.ticketIdLink : ''} ${className ? className : ''}`,
|
|
26
28
|
"data-id": dataId,
|
|
27
29
|
"data-test-id": dataId,
|
|
28
30
|
"data-title": dataTitle,
|
|
29
|
-
onClick: !isLink && onClick
|
|
30
|
-
|
|
31
|
-
}, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
31
|
+
onClick: !isLink && onClick
|
|
32
|
+
}, TicketIdProps), isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
32
33
|
urlName: urlName,
|
|
33
34
|
urlData: urlData,
|
|
34
35
|
href: url,
|
|
35
36
|
target: target,
|
|
36
|
-
onClick: onClick
|
|
37
|
-
|
|
38
|
-
}, text) : text);
|
|
37
|
+
onClick: onClick
|
|
38
|
+
}, LinkProps), text) : text);
|
|
39
39
|
}
|
|
40
40
|
TicketId.propTypes = TicketId_propTypes;
|
|
41
41
|
TicketId.defaultProps = TicketId_defaultProps;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes } from './props/propTypes';
|
|
@@ -24,7 +26,7 @@ const Subject = props => {
|
|
|
24
26
|
LinkProps = {},
|
|
25
27
|
TextProps = {}
|
|
26
28
|
} = customProps;
|
|
27
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
29
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
28
30
|
urlName: urlName,
|
|
29
31
|
href: href,
|
|
30
32
|
urlData: urlData,
|
|
@@ -32,15 +34,13 @@ const Subject = props => {
|
|
|
32
34
|
className: `${style.subject} ${isDotted ? style.dotted : ''} ${className} ${style[`font_${fontWeight}`]} ${style.cursorPointer}`,
|
|
33
35
|
dataId: dataId,
|
|
34
36
|
title: text,
|
|
35
|
-
target: target
|
|
36
|
-
|
|
37
|
-
}, children ? children : text) : /*#__PURE__*/React.createElement("span", {
|
|
37
|
+
target: target
|
|
38
|
+
}, LinkProps), children ? children : text) : /*#__PURE__*/React.createElement("span", _extends({
|
|
38
39
|
className: `${style.subject} ${isDotted ? style.dotted : ''} ${className} ${style[`font_${fontWeight}`]}`,
|
|
39
40
|
"data-title": text,
|
|
40
41
|
"data-id": dataId,
|
|
41
|
-
"data-test-id": dataId
|
|
42
|
-
|
|
43
|
-
}, text));
|
|
42
|
+
"data-test-id": dataId
|
|
43
|
+
}, TextProps), text));
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
export default Subject;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/**** Libraries ****/
|
|
2
4
|
import React, { useRef } from 'react';
|
|
3
5
|
import { defaultProps } from './props/defaultProps';
|
|
@@ -64,7 +66,7 @@ export default function StatusListItem(props) {
|
|
|
64
66
|
onMouseEnter && onMouseEnter(id, value, index, e);
|
|
65
67
|
}
|
|
66
68
|
|
|
67
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
69
|
+
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
68
70
|
role: role,
|
|
69
71
|
"aria-selected": ariaSelected,
|
|
70
72
|
isCover: false,
|
|
@@ -77,10 +79,8 @@ export default function StatusListItem(props) {
|
|
|
77
79
|
eleRef: getReference,
|
|
78
80
|
tagName: isLink ? 'a' : 'li',
|
|
79
81
|
"data-title": isDisabled ? disableTitle : null,
|
|
80
|
-
tabindex: isDisabled ? '-1' : '0'
|
|
81
|
-
|
|
82
|
-
...a11y
|
|
83
|
-
}, /*#__PURE__*/React.createElement(Box, {
|
|
82
|
+
tabindex: isDisabled ? '-1' : '0'
|
|
83
|
+
}, options, a11y), /*#__PURE__*/React.createElement(Box, {
|
|
84
84
|
className: `${style.statusType} ${style[bulletColor]}`
|
|
85
85
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
86
86
|
flexible: true,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/*** Libraries ***/
|
|
2
4
|
import React, { useRef, useCallback, useEffect } from 'react';
|
|
3
5
|
import { useEffectCallOnlyAfterState } from '@zohodesk/hooks';
|
|
@@ -66,7 +68,7 @@ export default function Lookup(props) {
|
|
|
66
68
|
document.removeEventListener('keydown', handleKeyDown);
|
|
67
69
|
};
|
|
68
70
|
}, []);
|
|
69
|
-
const content = /*#__PURE__*/React.createElement("div", {
|
|
71
|
+
const content = /*#__PURE__*/React.createElement("div", _extends({
|
|
70
72
|
ref: createRef,
|
|
71
73
|
tabIndex: "-1",
|
|
72
74
|
"data-a11y-need-focus-style": "false",
|
|
@@ -78,9 +80,8 @@ export default function Lookup(props) {
|
|
|
78
80
|
id: htmlId,
|
|
79
81
|
className: `${style.box} ${style[`${size}Size`]} ${lookupClass ? lookupClass : ''}`,
|
|
80
82
|
"data-id": dataId,
|
|
81
|
-
"data-test-id": dataId
|
|
82
|
-
|
|
83
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
83
|
+
"data-test-id": dataId
|
|
84
|
+
}, a11yAttributes), /*#__PURE__*/React.createElement(Container, {
|
|
84
85
|
"data-drag-container": "true",
|
|
85
86
|
isCover: false,
|
|
86
87
|
className: isMinHeight ? `${style.wrapper}` : `${style.coverwrap}`
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
/* eslint-disable react/forbid-component-props */
|
|
2
4
|
|
|
3
5
|
/*** Libraries ***/
|
|
@@ -69,11 +71,7 @@ export default function Search(props) {
|
|
|
69
71
|
selectedId: selectedId,
|
|
70
72
|
onDropDownOpen: handleDropDownOpen,
|
|
71
73
|
onDropDownClose: handleDropDownClose
|
|
72
|
-
}, /*#__PURE__*/React.createElement(SearchUI, {
|
|
73
|
-
...searchUIExtraProps
|
|
74
|
-
})) : /*#__PURE__*/React.createElement(SearchUI, { ...props,
|
|
75
|
-
...searchUIExtraProps
|
|
76
|
-
});
|
|
74
|
+
}, /*#__PURE__*/React.createElement(SearchUI, _extends({}, props, searchUIExtraProps))) : /*#__PURE__*/React.createElement(SearchUI, _extends({}, props, searchUIExtraProps));
|
|
77
75
|
}
|
|
78
76
|
Search.propTypes = Search_propTypes;
|
|
79
77
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import defaultProps from './props/defaultProps';
|
|
3
5
|
import { propTypes, DesktopNotificationUI_propTypes } from './props/propTypes';
|
|
@@ -115,15 +117,14 @@ export function DesktopNotificationUI(props) {
|
|
|
115
117
|
let {
|
|
116
118
|
uptoTablet
|
|
117
119
|
} = _ref2;
|
|
118
|
-
return /*#__PURE__*/React.createElement(Container, {
|
|
120
|
+
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
119
121
|
className: `${style.container} ${isAnimate ? animateClass : animateRemoveClass}
|
|
120
122
|
${isShrinkView ? style.globalNotify : ''} ${containerClass}
|
|
121
123
|
${uptoTablet ? style.tapWidth : style[`${size}`]}`,
|
|
122
124
|
isCover: false,
|
|
123
125
|
dataId: dataId,
|
|
124
|
-
isInline: uiVariantTwo
|
|
125
|
-
|
|
126
|
-
}, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
|
|
126
|
+
isInline: uiVariantTwo
|
|
127
|
+
}, ExtraProps), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(DesktopNotificationHeader, {
|
|
127
128
|
type: type,
|
|
128
129
|
title: title,
|
|
129
130
|
variant: titleVariant,
|
|
@@ -177,9 +178,9 @@ export function DesktopNotificationUI(props) {
|
|
|
177
178
|
DesktopNotificationUI.propTypes = DesktopNotificationUI_propTypes;
|
|
178
179
|
DesktopNotificationUI.propTypes = defaultProps;
|
|
179
180
|
export default function DesktopNotification(props) {
|
|
180
|
-
return /*#__PURE__*/React.createElement(AutoClose, {
|
|
181
|
+
return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
|
|
181
182
|
Element: DesktopNotificationUI
|
|
182
|
-
});
|
|
183
|
+
}));
|
|
183
184
|
}
|
|
184
185
|
DesktopNotification.propTypes = propTypes;
|
|
185
186
|
DesktopNotification.defaultProps = defaultProps; // if (__DOCS__) {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { defaultProps } from './props/defaultProps';
|
|
3
5
|
import { propTypes, UI_propTypes, new_propTypes } from './props/propTypes';
|
|
@@ -119,7 +121,7 @@ export function GlobalNotificationUI(props) {
|
|
|
119
121
|
let {
|
|
120
122
|
ExtraProps = {}
|
|
121
123
|
} = customProps;
|
|
122
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
124
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
123
125
|
ref: eleRef,
|
|
124
126
|
className: ` ${style.message}
|
|
125
127
|
${needShadow && shadowCount >= 2 ? shadowCount > 2 ? `${style.stackShadowTwo} ${style.stackShadowOne}` : style.stackShadowOne : ''}
|
|
@@ -128,9 +130,8 @@ export function GlobalNotificationUI(props) {
|
|
|
128
130
|
"data-id": `show_${type}_message`,
|
|
129
131
|
"data-test-id": `show_${type}_message`,
|
|
130
132
|
tabIndex: 0,
|
|
131
|
-
"data-selector-id": dataSelectorId
|
|
132
|
-
|
|
133
|
-
}, /*#__PURE__*/React.createElement(Container, {
|
|
133
|
+
"data-selector-id": dataSelectorId
|
|
134
|
+
}, ExtraProps), /*#__PURE__*/React.createElement(Container, {
|
|
134
135
|
className: `${style.container}`,
|
|
135
136
|
alignBox: "row",
|
|
136
137
|
isCover: false,
|
|
@@ -162,8 +163,8 @@ export function GlobalNotificationUI(props) {
|
|
|
162
163
|
}
|
|
163
164
|
GlobalNotificationUI.propTypes = UI_propTypes;
|
|
164
165
|
export function GlobalNotificationNew(props) {
|
|
165
|
-
return /*#__PURE__*/React.createElement(AutoClose, {
|
|
166
|
+
return /*#__PURE__*/React.createElement(AutoClose, _extends({}, props, {
|
|
166
167
|
Element: GlobalNotificationUI
|
|
167
|
-
});
|
|
168
|
+
}));
|
|
168
169
|
}
|
|
169
170
|
GlobalNotificationNew.propTypes = new_propTypes;
|
|
@@ -1,178 +1,178 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
/* globalnotfication default variables */
|
|
3
|
-
--commonalert_border_color: var(--zdt_commonalert_default_border);
|
|
4
|
-
--globalnotification_bg_color: var(--zdt_globalnotification_default_bg);
|
|
5
|
-
--globalnotification_text_color: var(--zdt_globalnotification_default_text);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.message {
|
|
9
|
-
composes: varClass;
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 0 ;
|
|
12
|
-
z-index: 1000;
|
|
13
|
-
width: var(--zd_size420) ;
|
|
14
|
-
text-align: center;
|
|
15
|
-
margin: auto ;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
[dir=ltr] .message {
|
|
19
|
-
left: 0 ;
|
|
20
|
-
right: 0 ;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
[dir=rtl] .message {
|
|
24
|
-
right: 0 ;
|
|
25
|
-
left: 0 ;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.stackShadowOne::after,
|
|
29
|
-
.stackShadowTwo::before {
|
|
30
|
-
content: '';
|
|
31
|
-
position: absolute;
|
|
32
|
-
height: var(--zd_size20) ;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.stackShadowOne::after, .stackShadowTwo::before {
|
|
36
|
-
background-color: var(--globalnotification_bg_color);
|
|
37
|
-
border-radius: 0 0 6px 6px;
|
|
38
|
-
box-shadow: var(--zd_bs_globalnotification_container);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
[dir=ltr] .stackShadowOne::after, [dir=ltr] .stackShadowTwo::before {
|
|
42
|
-
left: 50% ;
|
|
43
|
-
right: 50% ;
|
|
44
|
-
transform: translate(-50%);
|
|
45
|
-
animation: behindInfo 0.8s forwards;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
[dir=rtl] .stackShadowOne::after, [dir=rtl] .stackShadowTwo::before {
|
|
49
|
-
right: 50% ;
|
|
50
|
-
left: 50% ;
|
|
51
|
-
transform: translate(50%);
|
|
52
|
-
animation: behindInfo 0.8s forwards;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.stackShadowTwo::before {
|
|
56
|
-
width: 90% ;
|
|
57
|
-
bottom: calc( var(--zd_size10) * -1 ) ;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.stackShadowOne::after {
|
|
61
|
-
width: 95% ;
|
|
62
|
-
bottom: calc( var(--zd_size5) * -1 ) ;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@keyframes behindInfo {
|
|
66
|
-
|
|
67
|
-
0%,
|
|
68
|
-
40% {
|
|
69
|
-
opacity: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
100% {
|
|
73
|
-
opacity: 1;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.container {
|
|
78
|
-
position: relative;
|
|
79
|
-
pointer-events: initial;
|
|
80
|
-
color: var(--globalnotification_text_color);
|
|
81
|
-
z-index: 1;
|
|
82
|
-
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
83
|
-
width: 100% ;
|
|
84
|
-
box-shadow: var(--zd_bs_globalnotification_container);
|
|
85
|
-
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
86
|
-
background-color: var(--globalnotification_bg_color);
|
|
87
|
-
border-style: solid;
|
|
88
|
-
border-color: var(--commonalert_border_color);
|
|
89
|
-
border-width: 2px 1px 1px 1px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
[dir=ltr] .container {
|
|
93
|
-
padding: var(--zd_size18) var(--zd_size70) var(--zd_size19) var(--zd_size75) ;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
[dir=rtl] .container {
|
|
97
|
-
padding: var(--zd_size18) var(--zd_size75) var(--zd_size19) var(--zd_size70) ;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.icon {
|
|
101
|
-
width: var(--zd_size44) ;
|
|
102
|
-
height: var(--zd_size44) ;
|
|
103
|
-
position: absolute;
|
|
104
|
-
top: 0 ;
|
|
105
|
-
bottom: 0 ;
|
|
106
|
-
margin: auto 0 ;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
[dir=ltr] .icon {
|
|
110
|
-
left: var(--zd_size18) ;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
[dir=rtl] .icon {
|
|
114
|
-
right: var(--zd_size18) ;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.success {
|
|
118
|
-
--commonalert_border_color: var(--zdt_commonalert_success_border);
|
|
119
|
-
--globalnotification_bg_color: var(--zdt_globalnotification_success_bg);
|
|
120
|
-
--globalnotification_text_color: var(--zdt_globalnotification_success_text);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.info {
|
|
124
|
-
--commonalert_border_color: var(--zdt_commonalert_info_border);
|
|
125
|
-
--globalnotification_bg_color: var(--zdt_globalnotification_info_bg);
|
|
126
|
-
--globalnotification_text_color: var(--zdt_globalnotification_info_text);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.danger {
|
|
130
|
-
--commonalert_border_color: var(--zdt_commonalert_danger_border);
|
|
131
|
-
--globalnotification_bg_color: var(--zdt_globalnotification_danger_bg);
|
|
132
|
-
--globalnotification_text_color: var(--zdt_globalnotification_danger_text);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.error {
|
|
136
|
-
--commonalert_border_color: var(--zdt_commonalert_error_border);
|
|
137
|
-
--globalnotification_bg_color: var(--zdt_globalnotification_error_bg);
|
|
138
|
-
--globalnotification_text_color: var(--zdt_globalnotification_error_text);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.warning {
|
|
142
|
-
--commonalert_border_color: var(--zdt_commonalert_warning_border);
|
|
143
|
-
--globalnotification_bg_color: var(--zdt_globalnotification_warning_bg);
|
|
144
|
-
--globalnotification_text_color: var(--zdt_globalnotification_warning_text);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.text {
|
|
148
|
-
font-size: var(--zd_font_size14) ;
|
|
149
|
-
font-family: var(--zd_semibold);
|
|
150
|
-
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
151
|
-
line-height: 1.4286;
|
|
152
|
-
overflow: hidden;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
[dir=ltr] .text {
|
|
156
|
-
text-align: left;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
[dir=rtl] .text {
|
|
160
|
-
text-align: right;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.close {
|
|
164
|
-
position: absolute;
|
|
165
|
-
top: 0 ;
|
|
166
|
-
bottom: 0 ;
|
|
167
|
-
height: var(--zd_size25) ;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
[dir=ltr] .close {
|
|
171
|
-
right: var(--zd_size12) ;
|
|
172
|
-
margin: auto 0 auto var(--zd_size25) ;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
[dir=rtl] .close {
|
|
176
|
-
left: var(--zd_size12) ;
|
|
177
|
-
margin: auto var(--zd_size25) auto 0 ;
|
|
1
|
+
.varClass {
|
|
2
|
+
/* globalnotfication default variables */
|
|
3
|
+
--commonalert_border_color: var(--zdt_commonalert_default_border);
|
|
4
|
+
--globalnotification_bg_color: var(--zdt_globalnotification_default_bg);
|
|
5
|
+
--globalnotification_text_color: var(--zdt_globalnotification_default_text);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.message {
|
|
9
|
+
composes: varClass;
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0 ;
|
|
12
|
+
z-index: 1000;
|
|
13
|
+
width: var(--zd_size420) ;
|
|
14
|
+
text-align: center;
|
|
15
|
+
margin: auto ;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[dir=ltr] .message {
|
|
19
|
+
left: 0 ;
|
|
20
|
+
right: 0 ;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[dir=rtl] .message {
|
|
24
|
+
right: 0 ;
|
|
25
|
+
left: 0 ;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.stackShadowOne::after,
|
|
29
|
+
.stackShadowTwo::before {
|
|
30
|
+
content: '';
|
|
31
|
+
position: absolute;
|
|
32
|
+
height: var(--zd_size20) ;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.stackShadowOne::after, .stackShadowTwo::before {
|
|
36
|
+
background-color: var(--globalnotification_bg_color);
|
|
37
|
+
border-radius: 0 0 6px 6px;
|
|
38
|
+
box-shadow: var(--zd_bs_globalnotification_container);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[dir=ltr] .stackShadowOne::after, [dir=ltr] .stackShadowTwo::before {
|
|
42
|
+
left: 50% ;
|
|
43
|
+
right: 50% ;
|
|
44
|
+
transform: translate(-50%);
|
|
45
|
+
animation: behindInfo 0.8s forwards;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[dir=rtl] .stackShadowOne::after, [dir=rtl] .stackShadowTwo::before {
|
|
49
|
+
right: 50% ;
|
|
50
|
+
left: 50% ;
|
|
51
|
+
transform: translate(50%);
|
|
52
|
+
animation: behindInfo 0.8s forwards;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.stackShadowTwo::before {
|
|
56
|
+
width: 90% ;
|
|
57
|
+
bottom: calc( var(--zd_size10) * -1 ) ;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.stackShadowOne::after {
|
|
61
|
+
width: 95% ;
|
|
62
|
+
bottom: calc( var(--zd_size5) * -1 ) ;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@keyframes behindInfo {
|
|
66
|
+
|
|
67
|
+
0%,
|
|
68
|
+
40% {
|
|
69
|
+
opacity: 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
100% {
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.container {
|
|
78
|
+
position: relative;
|
|
79
|
+
pointer-events: initial;
|
|
80
|
+
color: var(--globalnotification_text_color);
|
|
81
|
+
z-index: 1;
|
|
82
|
+
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
83
|
+
width: 100% ;
|
|
84
|
+
box-shadow: var(--zd_bs_globalnotification_container);
|
|
85
|
+
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
86
|
+
background-color: var(--globalnotification_bg_color);
|
|
87
|
+
border-style: solid;
|
|
88
|
+
border-color: var(--commonalert_border_color);
|
|
89
|
+
border-width: 2px 1px 1px 1px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
[dir=ltr] .container {
|
|
93
|
+
padding: var(--zd_size18) var(--zd_size70) var(--zd_size19) var(--zd_size75) ;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[dir=rtl] .container {
|
|
97
|
+
padding: var(--zd_size18) var(--zd_size75) var(--zd_size19) var(--zd_size70) ;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.icon {
|
|
101
|
+
width: var(--zd_size44) ;
|
|
102
|
+
height: var(--zd_size44) ;
|
|
103
|
+
position: absolute;
|
|
104
|
+
top: 0 ;
|
|
105
|
+
bottom: 0 ;
|
|
106
|
+
margin: auto 0 ;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
[dir=ltr] .icon {
|
|
110
|
+
left: var(--zd_size18) ;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
[dir=rtl] .icon {
|
|
114
|
+
right: var(--zd_size18) ;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.success {
|
|
118
|
+
--commonalert_border_color: var(--zdt_commonalert_success_border);
|
|
119
|
+
--globalnotification_bg_color: var(--zdt_globalnotification_success_bg);
|
|
120
|
+
--globalnotification_text_color: var(--zdt_globalnotification_success_text);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.info {
|
|
124
|
+
--commonalert_border_color: var(--zdt_commonalert_info_border);
|
|
125
|
+
--globalnotification_bg_color: var(--zdt_globalnotification_info_bg);
|
|
126
|
+
--globalnotification_text_color: var(--zdt_globalnotification_info_text);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.danger {
|
|
130
|
+
--commonalert_border_color: var(--zdt_commonalert_danger_border);
|
|
131
|
+
--globalnotification_bg_color: var(--zdt_globalnotification_danger_bg);
|
|
132
|
+
--globalnotification_text_color: var(--zdt_globalnotification_danger_text);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.error {
|
|
136
|
+
--commonalert_border_color: var(--zdt_commonalert_error_border);
|
|
137
|
+
--globalnotification_bg_color: var(--zdt_globalnotification_error_bg);
|
|
138
|
+
--globalnotification_text_color: var(--zdt_globalnotification_error_text);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.warning {
|
|
142
|
+
--commonalert_border_color: var(--zdt_commonalert_warning_border);
|
|
143
|
+
--globalnotification_bg_color: var(--zdt_globalnotification_warning_bg);
|
|
144
|
+
--globalnotification_text_color: var(--zdt_globalnotification_warning_text);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.text {
|
|
148
|
+
font-size: var(--zd_font_size14) ;
|
|
149
|
+
font-family: var(--zd_semibold);
|
|
150
|
+
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
151
|
+
line-height: 1.4286;
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[dir=ltr] .text {
|
|
156
|
+
text-align: left;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[dir=rtl] .text {
|
|
160
|
+
text-align: right;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.close {
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: 0 ;
|
|
166
|
+
bottom: 0 ;
|
|
167
|
+
height: var(--zd_size25) ;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
[dir=ltr] .close {
|
|
171
|
+
right: var(--zd_size12) ;
|
|
172
|
+
margin: auto 0 auto var(--zd_size25) ;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
[dir=rtl] .close {
|
|
176
|
+
left: var(--zd_size12) ;
|
|
177
|
+
margin: auto var(--zd_size25) auto 0 ;
|
|
178
178
|
}
|