@zohodesk/dot 1.0.0-temp-143 → 1.0.0-temp-145
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 +1233 -1232
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +303 -293
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +9 -9
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +298 -288
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +306 -296
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +9 -9
- package/dubFinder.js +96 -96
- package/es/ActionButton/ActionButton.module.css +139 -139
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/Attachment/Attachment.module.css +157 -157
- package/es/AttachmentViewer/AttachmentViewer.module.css +354 -353
- package/es/ChannelIcon/ChannelIcon.module.css +217 -217
- package/es/Drawer/Drawer.js +3 -2
- package/es/Drawer/Drawer.module.css +150 -189
- package/es/ExternalLink/ExternalLink.js +0 -0
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/FlipCard/FlipCard.module.css +44 -44
- package/es/FormAction/FormAction.module.css +82 -82
- package/es/FreezeLayer/FreezeLayer.js +7 -2
- package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
- package/es/FreezeLayer/useFreezeLayer.js +5 -3
- package/es/Hooks/Dragger/css/Dragger.module.css +3 -0
- package/es/Hooks/Dragger/useDragger.js +74 -0
- package/es/Hooks/Dragger/utils/DraggerUtil.js +33 -0
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Image/Image.module.css +10 -10
- package/es/ImportantNotes/ImportantNotes.module.css +20 -20
- package/es/Link/Link.js +3 -2
- package/es/Link/Link.module.css +3 -3
- package/es/Loader/Loader.module.css +46 -46
- package/es/Message/Message.module.css +102 -102
- package/es/MessageBanner/MessageBanner.module.css +46 -46
- package/es/NewStar/NewStar.module.css +175 -175
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/PlusIcon/PlusIcon.module.css +16 -19
- package/es/Provider/Config.js +2 -1
- package/es/Separator/Separator.module.css +34 -34
- package/es/ToastMessage/ToastMessage.js +2 -5
- package/es/ToastMessage/ToastMessage.module.css +328 -329
- package/es/Upload/Upload.module.css +125 -125
- package/es/actions/AutoClose.js +2 -5
- package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/es/avatar/AvatarUser/AvatarUser.js +0 -0
- package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/es/common/dot_animation.module.css +26 -26
- package/es/common/dot_common.module.css +3 -3
- package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/es/deprecated/utils/KeyboardApi.js +25 -25
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/es/emptystate/EditionPage/EditionPage.css +43 -43
- package/es/errorstate/EmptyStates.module.css +87 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/es/errorstate/LinkText/LinkText.module.css +6 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +34 -34
- package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/es/form/fields/Fields.module.css +183 -183
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/es/form/fields/TextEditor/TextEditor.module.css +666 -764
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Field/Field.module.css +22 -22
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/es/form/layout/Section/Section.js +0 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -165
- package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/DotNew/DotNew.module.css +22 -25
- package/es/list/GridStencils/GridStencils.module.css +146 -146
- package/es/list/Icons/Icons.module.css +16 -16
- package/es/list/ListLayout/ListLayout.module.css +57 -57
- package/es/list/ListStencils/ListStencils.module.css +67 -67
- package/es/list/SecondaryText/SecondaryText.module.css +136 -136
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/es/list/Subject/Subject.module.css +27 -27
- package/es/list/TagNew/TagNew.module.css +115 -117
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/UserTime/UserTime.module.css +58 -58
- package/es/list/listCommon.module.css +60 -60
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/es/list/status/StatusListItem/StatusListItem.js +0 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +109 -109
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/es/lookup/Lookup/Lookup.js +0 -0
- package/es/lookup/Lookup/Lookup.module.css +26 -26
- package/es/lookup/Section/LookupSection.module.css +8 -8
- package/es/lookup/Section/Section.js +1 -0
- package/es/lookup/header/Close/LookupClose.module.css +15 -15
- package/es/lookup/header/Search/LookupSearch.module.css +57 -57
- package/es/lookup/header/Search/Search.js +5 -8
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/es/lookup/header/Title/LookupTitle.module.css +20 -20
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/es/setup/header/Button/HeaderButton.module.css +5 -5
- package/es/setup/header/Link/HeaderLink.module.css +21 -21
- package/es/setup/header/Search/Search.module.css +68 -68
- package/es/setup/header/Views/Views.module.css +37 -37
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/es/setup/helptips/Link/Link.js +0 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/table/TableData/SetupTableData.module.css +44 -44
- package/es/setup/table/TableData/Tablehover.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/es/setup/table/Text/TableText.module.css +37 -37
- package/es/setup/table/Text/Text.js +0 -0
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +2 -2
- package/es/version2/AlertClose/AlertClose.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -127
- package/es/version2/alertIcons/AlertIcons.module.css +67 -67
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/es/version2/lookup/AlertHeader/AlertHeader.js +2 -1
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -86
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/install.md +12 -12
- package/lib/ActionButton/ActionButton.module.css +139 -139
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/Attachment/Attachment.module.css +157 -157
- package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -353
- package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
- package/lib/Drawer/Drawer.js +3 -2
- package/lib/Drawer/Drawer.module.css +150 -189
- package/lib/ExternalLink/ExternalLink.js +0 -0
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/FlipCard/FlipCard.module.css +44 -44
- package/lib/FormAction/FormAction.module.css +82 -82
- package/lib/FreezeLayer/FreezeLayer.js +10 -2
- package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
- package/lib/FreezeLayer/useFreezeLayer.js +4 -2
- package/lib/Hooks/Dragger/css/Dragger.module.css +3 -0
- package/lib/Hooks/Dragger/useDragger.js +80 -0
- package/lib/Hooks/Dragger/utils/DraggerUtil.js +65 -0
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/Image/Image.module.css +10 -10
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
- package/lib/Link/Link.js +3 -2
- package/lib/Link/Link.module.css +3 -3
- package/lib/Loader/Loader.module.css +46 -46
- package/lib/Message/Message.module.css +102 -102
- package/lib/MessageBanner/MessageBanner.module.css +46 -46
- package/lib/NewStar/NewStar.module.css +175 -175
- package/lib/PlusIcon/PlusIcon.js +0 -0
- package/lib/PlusIcon/PlusIcon.module.css +16 -19
- package/lib/Provider/Config.js +2 -1
- package/lib/Separator/Separator.module.css +34 -34
- package/lib/ToastMessage/ToastMessage.js +2 -5
- package/lib/ToastMessage/ToastMessage.module.css +328 -329
- package/lib/Upload/Upload.module.css +125 -125
- package/lib/actions/AutoClose.js +2 -5
- package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
- package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/lib/common/dot_animation.module.css +26 -26
- package/lib/common/dot_common.module.css +3 -3
- package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/lib/deprecated/utils/KeyboardApi.js +25 -25
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/lib/emptystate/EditionPage/EditionPage.css +43 -43
- package/lib/errorstate/EmptyStates.module.css +87 -87
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/lib/errorstate/LinkText/LinkText.module.css +6 -6
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/lib/errorstate/WillBack/WillBack.module.css +34 -34
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/lib/form/fields/Fields.module.css +183 -183
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/lib/form/fields/TextEditor/TextEditor.module.css +666 -764
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/form/layout/Field/Field.js +0 -0
- package/lib/form/layout/Field/Field.module.css +22 -22
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/lib/form/layout/Section/Section.js +0 -0
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -165
- package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/DotNew/DotNew.module.css +22 -25
- package/lib/list/GridStencils/GridStencils.module.css +146 -146
- package/lib/list/Icons/Icons.module.css +16 -16
- package/lib/list/ListLayout/ListLayout.module.css +57 -57
- package/lib/list/ListStencils/ListStencils.module.css +67 -67
- package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
- package/lib/list/SecondaryText/Website.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/lib/list/Subject/Subject.module.css +27 -27
- package/lib/list/TagNew/TagNew.module.css +115 -117
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/UserTime/UserTime.module.css +58 -58
- package/lib/list/listCommon.module.css +60 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
- package/lib/list/status/StatusListItem/StatusListItem.module.css +109 -109
- package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/lib/lookup/Lookup/Lookup.js +0 -0
- package/lib/lookup/Lookup/Lookup.module.css +26 -26
- package/lib/lookup/Section/LookupSection.module.css +8 -8
- package/lib/lookup/Section/Section.js +1 -0
- package/lib/lookup/header/Close/LookupClose.module.css +15 -15
- package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
- package/lib/lookup/header/Search/Search.js +5 -10
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/lib/setup/header/Button/HeaderButton.module.css +5 -5
- package/lib/setup/header/Link/HeaderLink.module.css +21 -21
- package/lib/setup/header/Search/Search.module.css +68 -68
- package/lib/setup/header/Views/Views.module.css +37 -37
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/lib/setup/helptips/Link/Link.js +0 -0
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/lib/setup/helptips/Title/Title.js +0 -0
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
- package/lib/setup/table/TableData/Tablehover.module.css +6 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/lib/setup/table/Text/TableText.module.css +37 -37
- package/lib/setup/table/Text/Text.js +0 -0
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +2 -2
- package/lib/version2/AlertClose/AlertClose.module.css +42 -42
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -127
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +2 -1
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -86
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/package.json +106 -98
- package/css_error.log +0 -1
- package/es/common/dot_boxShadow.module.css +0 -38
- package/es/common/dot_docStyle.module.css +0 -35
- package/lib/common/dot_boxShadow.module.css +0 -38
- package/lib/common/dot_docStyle.module.css +0 -35
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
top: 0;
|
|
3
|
-
bottom: 0;
|
|
4
|
-
position: absolute;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
}[dir=ltr] .container {
|
|
7
|
-
left: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
}[dir=rtl] .container {
|
|
10
|
-
right: 0;
|
|
11
|
-
left: 0;
|
|
12
|
-
}
|
|
13
|
-
.default {
|
|
14
|
-
background-color: var(--zdt_freezelayer_default_bg);
|
|
15
|
-
}
|
|
16
|
-
.dark {
|
|
17
|
-
background-color: var(--zdt_freezelayer_dark_bg);
|
|
18
|
-
}
|
|
19
|
-
.darkLight {
|
|
20
|
-
background-color: var(--zdt_freezelayer_darklight_bg);
|
|
21
|
-
}
|
|
22
|
-
.plain {
|
|
23
|
-
background-color: var(--zdt_freezelayer_plain_bg);
|
|
24
|
-
}
|
|
25
|
-
.snow {
|
|
26
|
-
background-color: var(--zdt_freezelayer_snow_bg);
|
|
27
|
-
}
|
|
28
|
-
.index3 {
|
|
29
|
-
z-index: 3;
|
|
30
|
-
}
|
|
31
|
-
.index5 {
|
|
32
|
-
z-index: 5;
|
|
33
|
-
}
|
|
34
|
-
.index7 {
|
|
35
|
-
z-index: 7;
|
|
36
|
-
}
|
|
37
|
-
.index10 {
|
|
38
|
-
z-index: 10;
|
|
39
|
-
}
|
|
40
|
-
.delay {
|
|
41
|
-
transition-delay: var(--zd_transition2);
|
|
42
|
-
}
|
|
1
|
+
.container {
|
|
2
|
+
top: 0;
|
|
3
|
+
bottom: 0;
|
|
4
|
+
position: absolute;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
}[dir=ltr] .container {
|
|
7
|
+
left: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
}[dir=rtl] .container {
|
|
10
|
+
right: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
}
|
|
13
|
+
.default {
|
|
14
|
+
background-color: var(--zdt_freezelayer_default_bg);
|
|
15
|
+
}
|
|
16
|
+
.dark {
|
|
17
|
+
background-color: var(--zdt_freezelayer_dark_bg);
|
|
18
|
+
}
|
|
19
|
+
.darkLight {
|
|
20
|
+
background-color: var(--zdt_freezelayer_darklight_bg);
|
|
21
|
+
}
|
|
22
|
+
.plain {
|
|
23
|
+
background-color: var(--zdt_freezelayer_plain_bg);
|
|
24
|
+
}
|
|
25
|
+
.snow {
|
|
26
|
+
background-color: var(--zdt_freezelayer_snow_bg);
|
|
27
|
+
}
|
|
28
|
+
.index3 {
|
|
29
|
+
z-index: 3;
|
|
30
|
+
}
|
|
31
|
+
.index5 {
|
|
32
|
+
z-index: 5;
|
|
33
|
+
}
|
|
34
|
+
.index7 {
|
|
35
|
+
z-index: 7;
|
|
36
|
+
}
|
|
37
|
+
.index10 {
|
|
38
|
+
z-index: 10;
|
|
39
|
+
}
|
|
40
|
+
.delay {
|
|
41
|
+
transition-delay: var(--zd_transition2);
|
|
42
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useRef, useState, useEffect } from 'react';
|
|
2
|
-
import { isTextSelected } from '@zohodesk/components/es/utils/Common';
|
|
2
|
+
import { isTextSelected, cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
3
3
|
import { getDotLibraryConfig } from '../Provider/Config';
|
|
4
4
|
export default function useFreezeLayer(_ref) {
|
|
5
5
|
let {
|
|
@@ -9,9 +9,11 @@ export default function useFreezeLayer(_ref) {
|
|
|
9
9
|
const [isActive, setActive] = useState(propsActive);
|
|
10
10
|
const [isChildActive, setChildActive] = useState(false);
|
|
11
11
|
let isFreezeLayerEnabled = useRef(false);
|
|
12
|
-
function handleClick() {
|
|
12
|
+
function handleClick(e) {
|
|
13
13
|
if (onClick && !isTextSelected()) {
|
|
14
|
-
onClick();
|
|
14
|
+
onClick(e);
|
|
15
|
+
} else {
|
|
16
|
+
cancelBubblingEffect(e);
|
|
15
17
|
}
|
|
16
18
|
}
|
|
17
19
|
function enableFreeze() {
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { useEffect, useRef } from "react";
|
|
2
|
+
import { getDotLibraryConfig } from "../../Provider/Config";
|
|
3
|
+
import { elementFinder, DragPosCalc } from "./utils/DraggerUtil";
|
|
4
|
+
import style from './css/Dragger.module.css';
|
|
5
|
+
export default function useDragger(_ref) {
|
|
6
|
+
let {
|
|
7
|
+
ParentRef,
|
|
8
|
+
customInside = false
|
|
9
|
+
} = _ref;
|
|
10
|
+
let dragableEle = useRef(null); //To set the Dragable Element
|
|
11
|
+
let parentEle = useRef(null); // Eo set the Parent Boundary Element
|
|
12
|
+
let offset = useRef({
|
|
13
|
+
x: 0,
|
|
14
|
+
y: 0
|
|
15
|
+
}); //To set the x and y Positions
|
|
16
|
+
let dragable = useRef(false); // To get track of dragable
|
|
17
|
+
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
parentEle.current = ParentRef.current || getDotLibraryConfig('draggerBoundary') || document.body;
|
|
20
|
+
}, [ParentRef.current]);
|
|
21
|
+
const elementDrag = e => {
|
|
22
|
+
e = e || window.event;
|
|
23
|
+
e.preventDefault();
|
|
24
|
+
if (dragable.current) {
|
|
25
|
+
const left = offset.current.x + e.clientX;
|
|
26
|
+
const top = offset.current.y + e.clientY;
|
|
27
|
+
if (parentEle.current) {
|
|
28
|
+
const calcValue = DragPosCalc({
|
|
29
|
+
x: left,
|
|
30
|
+
y: top,
|
|
31
|
+
dragwrpper: parentEle.current,
|
|
32
|
+
elmnt: dragableEle.current,
|
|
33
|
+
customInside
|
|
34
|
+
});
|
|
35
|
+
dragableEle.current.style.left = calcValue.x + "px";
|
|
36
|
+
dragableEle.current.style.top = calcValue.y + "px";
|
|
37
|
+
} else {
|
|
38
|
+
dragableEle.current.style.left = left + "px";
|
|
39
|
+
dragableEle.current.style.top = top + "px";
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const closeDragElement = () => {
|
|
44
|
+
document.removeEventListener("mouseup", closeDragElement);
|
|
45
|
+
document.removeEventListener("mousemove", elementDrag);
|
|
46
|
+
};
|
|
47
|
+
const dragMouseDown = e => {
|
|
48
|
+
//Initial position
|
|
49
|
+
requestAnimationFrame(() => {
|
|
50
|
+
let dragableEleRect = dragableEle.current.getBoundingClientRect();
|
|
51
|
+
e = e || window.event;
|
|
52
|
+
e.preventDefault();
|
|
53
|
+
dragableEle.current.style.top = dragableEleRect.top + "px";
|
|
54
|
+
dragableEle.current.style.left = dragableEleRect.left + "px";
|
|
55
|
+
dragableEle.current.style.width = dragableEleRect.width + "px";
|
|
56
|
+
dragableEle.current.style.position = "fixed";
|
|
57
|
+
offset.current.x = dragableEle.current.offsetLeft - e.clientX;
|
|
58
|
+
offset.current.y = dragableEle.current.offsetTop - e.clientY;
|
|
59
|
+
dragable.current = true;
|
|
60
|
+
document.addEventListener("mouseup", closeDragElement);
|
|
61
|
+
document.addEventListener("mousemove", elementDrag);
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
useEffect(() => {
|
|
65
|
+
elementFinder(parentEle.current, "[data-drag-container=true]").then(dragableElement => {
|
|
66
|
+
dragableEle.current = dragableElement;
|
|
67
|
+
let dragController = dragableEle.current && dragableEle.current.querySelector("[data-drag-hook=true]");
|
|
68
|
+
// ? dragableEle.current.querySelector("[data-drag-hook=true]")
|
|
69
|
+
// : dragableEle.current;
|
|
70
|
+
dragController && dragController.addEventListener("mousedown", dragMouseDown);
|
|
71
|
+
dragController && dragController.classList.add(style.dragCursor);
|
|
72
|
+
});
|
|
73
|
+
}, [parentEle.current]);
|
|
74
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function DragPosCalc(_ref) {
|
|
2
|
+
let {
|
|
3
|
+
x,
|
|
4
|
+
y,
|
|
5
|
+
elmnt,
|
|
6
|
+
dragwrpper,
|
|
7
|
+
customInside
|
|
8
|
+
} = _ref;
|
|
9
|
+
let customInsideWidth = customInside ? elmnt.offsetWidth / 2 : 0;
|
|
10
|
+
let customInsideHeight = customInside ? elmnt.offsetHeight / 2 : 0;
|
|
11
|
+
if (x < -customInsideWidth) {
|
|
12
|
+
x = -customInsideWidth;
|
|
13
|
+
}
|
|
14
|
+
if (x > dragwrpper.offsetWidth - elmnt.offsetWidth + customInsideWidth) {
|
|
15
|
+
x = dragwrpper.offsetWidth - elmnt.offsetWidth + customInsideWidth;
|
|
16
|
+
}
|
|
17
|
+
if (y < -customInsideHeight) {
|
|
18
|
+
y = -customInsideHeight;
|
|
19
|
+
}
|
|
20
|
+
if (y > dragwrpper.offsetHeight - elmnt.offsetHeight + customInsideHeight) {
|
|
21
|
+
y = dragwrpper.offsetHeight - elmnt.offsetHeight + customInsideHeight;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
x,
|
|
25
|
+
y
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export const elementFinder = async (Parent, selector) => {
|
|
29
|
+
while (Parent && Parent.querySelector(selector) === null) {
|
|
30
|
+
await new Promise(resolve => requestAnimationFrame(resolve));
|
|
31
|
+
}
|
|
32
|
+
return Parent && Parent.querySelector(selector);
|
|
33
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--iconColor: var(--zdt_iconButton_icon_black);
|
|
3
|
-
}
|
|
4
|
-
.wrapper {
|
|
5
|
-
height: var(--zd_size28);
|
|
6
|
-
width: var(--zd_size28);
|
|
7
|
-
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
8
|
-
composes: varClass;
|
|
9
|
-
color: var(--iconColor);
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
}
|
|
12
|
-
.primary {
|
|
13
|
-
--iconColor: var(--zdt_iconButton_icon_primary);
|
|
14
|
-
}
|
|
15
|
-
.primary:hover {
|
|
16
|
-
--iconColor: var(--zdt_iconButton_icon_primaryHover);
|
|
17
|
-
}
|
|
18
|
-
.primary_active,
|
|
19
|
-
.primaryFilled,
|
|
20
|
-
.primaryFilled_active {
|
|
21
|
-
--iconColor: var(--zdt_iconButton_icon_primaryActive);
|
|
22
|
-
}
|
|
1
|
+
.varClass {
|
|
2
|
+
--iconColor: var(--zdt_iconButton_icon_black);
|
|
3
|
+
}
|
|
4
|
+
.wrapper {
|
|
5
|
+
height: var(--zd_size28);
|
|
6
|
+
width: var(--zd_size28);
|
|
7
|
+
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
8
|
+
composes: varClass;
|
|
9
|
+
color: var(--iconColor);
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
.primary {
|
|
13
|
+
--iconColor: var(--zdt_iconButton_icon_primary);
|
|
14
|
+
}
|
|
15
|
+
.primary:hover {
|
|
16
|
+
--iconColor: var(--zdt_iconButton_icon_primaryHover);
|
|
17
|
+
}
|
|
18
|
+
.primary_active,
|
|
19
|
+
.primaryFilled,
|
|
20
|
+
.primaryFilled_active {
|
|
21
|
+
--iconColor: var(--zdt_iconButton_icon_primaryActive);
|
|
22
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.imgFullSize{
|
|
2
|
-
height:100%;
|
|
3
|
-
width:100%
|
|
4
|
-
}
|
|
5
|
-
.imgMaxFullSize{
|
|
6
|
-
max-height:100%;
|
|
7
|
-
max-width:100%
|
|
8
|
-
}
|
|
9
|
-
.imgFullSize, .imgMaxFullSize{
|
|
10
|
-
font-size: 12px
|
|
1
|
+
.imgFullSize{
|
|
2
|
+
height:100%;
|
|
3
|
+
width:100%
|
|
4
|
+
}
|
|
5
|
+
.imgMaxFullSize{
|
|
6
|
+
max-height:100%;
|
|
7
|
+
max-width:100%
|
|
8
|
+
}
|
|
9
|
+
.imgFullSize, .imgMaxFullSize{
|
|
10
|
+
font-size: 12px
|
|
11
11
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
.section {
|
|
2
|
-
background: var(--zdt_importantnotes_bg);
|
|
3
|
-
padding: var(--zd_size5) var(--zd_size10);
|
|
4
|
-
}
|
|
5
|
-
.title {
|
|
6
|
-
font-size: var(--zd_font_size13);
|
|
7
|
-
line-height: var(--zd_font_size18);
|
|
8
|
-
color: var(--zdt_importantnotes_title_text);
|
|
9
|
-
}
|
|
10
|
-
.icon {
|
|
11
|
-
color: var(--zdt_importantnotes_icon);
|
|
12
|
-
font-size: 0;
|
|
13
|
-
margin-top: var(--zd_size1);
|
|
14
|
-
}
|
|
15
|
-
[dir=ltr] .icon {
|
|
16
|
-
margin-right: var(--zd_size5);
|
|
17
|
-
}
|
|
18
|
-
[dir=rtl] .icon {
|
|
19
|
-
margin-left: var(--zd_size5);
|
|
20
|
-
}
|
|
1
|
+
.section {
|
|
2
|
+
background: var(--zdt_importantnotes_bg);
|
|
3
|
+
padding: var(--zd_size5) var(--zd_size10);
|
|
4
|
+
}
|
|
5
|
+
.title {
|
|
6
|
+
font-size: var(--zd_font_size13);
|
|
7
|
+
line-height: var(--zd_font_size18);
|
|
8
|
+
color: var(--zdt_importantnotes_title_text);
|
|
9
|
+
}
|
|
10
|
+
.icon {
|
|
11
|
+
color: var(--zdt_importantnotes_icon);
|
|
12
|
+
font-size: 0;
|
|
13
|
+
margin-top: var(--zd_size1);
|
|
14
|
+
}
|
|
15
|
+
[dir=ltr] .icon {
|
|
16
|
+
margin-right: var(--zd_size5);
|
|
17
|
+
}
|
|
18
|
+
[dir=rtl] .icon {
|
|
19
|
+
margin-left: var(--zd_size5);
|
|
20
|
+
}
|
package/es/Link/Link.js
CHANGED
|
@@ -2,6 +2,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { defaultProps } from './props/defaultProps';
|
|
4
4
|
import { propTypes } from './props/propTypes';
|
|
5
|
+
import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
|
|
5
6
|
import style from './Link.module.css';
|
|
6
7
|
import LinkContext from './LinkContext';
|
|
7
8
|
export default class Link extends React.Component {
|
|
@@ -19,14 +20,14 @@ export default class Link extends React.Component {
|
|
|
19
20
|
onCallBack
|
|
20
21
|
} = this.context.options;
|
|
21
22
|
if (e && (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)) {
|
|
22
|
-
e
|
|
23
|
+
cancelBubblingEffect(e);
|
|
23
24
|
return;
|
|
24
25
|
}
|
|
25
26
|
onClick && onClick(e);
|
|
26
27
|
if (!hasReload && target != '_blank') {
|
|
27
28
|
e && e.preventDefault();
|
|
28
29
|
}
|
|
29
|
-
e
|
|
30
|
+
cancelBubblingEffect(e);
|
|
30
31
|
!onClick && onCallBack && onCallBack(urlOutput, href, e);
|
|
31
32
|
}
|
|
32
33
|
addHttp(url) {
|
package/es/Link/Link.module.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
text-decoration: none;
|
|
3
|
-
color: inherit;
|
|
1
|
+
.container {
|
|
2
|
+
text-decoration: none;
|
|
3
|
+
color: inherit;
|
|
4
4
|
}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
.ajaxLoader {
|
|
2
|
-
position: absolute;
|
|
3
|
-
top: 0;
|
|
4
|
-
}[dir=ltr] .ajaxLoader {
|
|
5
|
-
left: 0;
|
|
6
|
-
right: 0;
|
|
7
|
-
}[dir=rtl] .ajaxLoader {
|
|
8
|
-
right: 0;
|
|
9
|
-
left: 0;
|
|
10
|
-
}
|
|
11
|
-
.loader {
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 3px;
|
|
14
|
-
background-image: var(--zdt_loader_gradient_bg);
|
|
15
|
-
background-size: 200% auto;
|
|
16
|
-
}
|
|
17
|
-
[dir=ltr] .loader {
|
|
18
|
-
background-position: 0 100%;
|
|
19
|
-
animation: loading-ltr 3s infinite;
|
|
20
|
-
animation-fill-mode: forwards;
|
|
21
|
-
animation-timing-function: linear;
|
|
22
|
-
}
|
|
23
|
-
[dir=rtl] .loader {
|
|
24
|
-
background-position: 100% 100%;
|
|
25
|
-
animation: loading-rtl 3s infinite;
|
|
26
|
-
animation-fill-mode: forwards;
|
|
27
|
-
animation-timing-function: linear;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@keyframes loading-ltr {
|
|
31
|
-
0% {
|
|
32
|
-
background-position: 0 0;
|
|
33
|
-
}
|
|
34
|
-
100% {
|
|
35
|
-
background-position: -200% 0;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@keyframes loading-rtl {
|
|
40
|
-
0% {
|
|
41
|
-
background-position: 100% 0;
|
|
42
|
-
}
|
|
43
|
-
100% {
|
|
44
|
-
background-position: 300% 0;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
.ajaxLoader {
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: 0;
|
|
4
|
+
}[dir=ltr] .ajaxLoader {
|
|
5
|
+
left: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
}[dir=rtl] .ajaxLoader {
|
|
8
|
+
right: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
}
|
|
11
|
+
.loader {
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 3px;
|
|
14
|
+
background-image: var(--zdt_loader_gradient_bg);
|
|
15
|
+
background-size: 200% auto;
|
|
16
|
+
}
|
|
17
|
+
[dir=ltr] .loader {
|
|
18
|
+
background-position: 0 100%;
|
|
19
|
+
animation: loading-ltr 3s infinite;
|
|
20
|
+
animation-fill-mode: forwards;
|
|
21
|
+
animation-timing-function: linear;
|
|
22
|
+
}
|
|
23
|
+
[dir=rtl] .loader {
|
|
24
|
+
background-position: 100% 100%;
|
|
25
|
+
animation: loading-rtl 3s infinite;
|
|
26
|
+
animation-fill-mode: forwards;
|
|
27
|
+
animation-timing-function: linear;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@keyframes loading-ltr {
|
|
31
|
+
0% {
|
|
32
|
+
background-position: 0 0;
|
|
33
|
+
}
|
|
34
|
+
100% {
|
|
35
|
+
background-position: -200% 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@keyframes loading-rtl {
|
|
40
|
+
0% {
|
|
41
|
+
background-position: 100% 0;
|
|
42
|
+
}
|
|
43
|
+
100% {
|
|
44
|
+
background-position: 300% 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
.message {
|
|
2
|
-
position: absolute;
|
|
3
|
-
top: 0;
|
|
4
|
-
z-index: 1000;
|
|
5
|
-
/*Hook for editor alert*/
|
|
6
|
-
pointer-events: none;
|
|
7
|
-
text-align: center;
|
|
8
|
-
}[dir=ltr] .message {
|
|
9
|
-
right: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
}[dir=rtl] .message {
|
|
12
|
-
left: 0;
|
|
13
|
-
right: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.container {
|
|
17
|
-
position: relative;
|
|
18
|
-
display: inline-block;
|
|
19
|
-
pointer-events: initial;
|
|
20
|
-
box-shadow: var(--
|
|
21
|
-
border-radius: 0 0 5px 5px;
|
|
22
|
-
background: var(--zdt_message_default_bg);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
[dir=ltr] .container {
|
|
26
|
-
padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
[dir=rtl] .container {
|
|
30
|
-
padding: var(--zd_size13) var(--zd_size50) var(--zd_size13) var(--zd_size10);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.text {
|
|
34
|
-
max-width: var(--zd_size480);
|
|
35
|
-
display: inline-block;
|
|
36
|
-
word-break: break-word;
|
|
37
|
-
font-size: var(--zd_font_size14);
|
|
38
|
-
vertical-align: middle;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
[dir=ltr] .text {
|
|
42
|
-
text-align: left;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
[dir=rtl] .text {
|
|
46
|
-
text-align: right;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.icon {
|
|
50
|
-
position: absolute;
|
|
51
|
-
top: 0;
|
|
52
|
-
width: var(--zd_size40);
|
|
53
|
-
display: inline-block;
|
|
54
|
-
height: 100%;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
[dir=ltr] .icon {
|
|
58
|
-
left: 0;
|
|
59
|
-
border-bottom-left-radius: 5px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
[dir=rtl] .icon {
|
|
63
|
-
right: 0;
|
|
64
|
-
border-bottom-right-radius: 5px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.success {
|
|
68
|
-
composes: icon;
|
|
69
|
-
background: var(--zdt_message_success_bg);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.alert {
|
|
73
|
-
composes: icon;
|
|
74
|
-
background: var(--zdt_message_alert_bg);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.info {
|
|
78
|
-
composes: icon;
|
|
79
|
-
background: var(--zdt_message_info_bg);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.tickIcn {
|
|
83
|
-
color: var(--zdt_message_tickicon);
|
|
84
|
-
font-size: var(--zd_font_size16);
|
|
85
|
-
position: absolute;
|
|
86
|
-
composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.close {
|
|
90
|
-
color: var(--zdt_message_close_text);
|
|
91
|
-
font-size: var(--zd_font_size16);
|
|
92
|
-
display: inline-block;
|
|
93
|
-
vertical-align: middle;
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
[dir=ltr] .close {
|
|
98
|
-
margin-left: var(--zd_size10);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
[dir=rtl] .close {
|
|
102
|
-
margin-right: var(--zd_size10);
|
|
1
|
+
.message {
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: 0;
|
|
4
|
+
z-index: 1000;
|
|
5
|
+
/*Hook for editor alert*/
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
text-align: center;
|
|
8
|
+
}[dir=ltr] .message {
|
|
9
|
+
right: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
}[dir=rtl] .message {
|
|
12
|
+
left: 0;
|
|
13
|
+
right: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.container {
|
|
17
|
+
position: relative;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
pointer-events: initial;
|
|
20
|
+
box-shadow: 0 0 19px 1px var(--zdt_message_default_box_shadow);
|
|
21
|
+
border-radius: 0 0 5px 5px;
|
|
22
|
+
background: var(--zdt_message_default_bg);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[dir=ltr] .container {
|
|
26
|
+
padding: var(--zd_size13) var(--zd_size10) var(--zd_size13) var(--zd_size50);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[dir=rtl] .container {
|
|
30
|
+
padding: var(--zd_size13) var(--zd_size50) var(--zd_size13) var(--zd_size10);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.text {
|
|
34
|
+
max-width: var(--zd_size480);
|
|
35
|
+
display: inline-block;
|
|
36
|
+
word-break: break-word;
|
|
37
|
+
font-size: var(--zd_font_size14);
|
|
38
|
+
vertical-align: middle;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[dir=ltr] .text {
|
|
42
|
+
text-align: left;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[dir=rtl] .text {
|
|
46
|
+
text-align: right;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.icon {
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 0;
|
|
52
|
+
width: var(--zd_size40);
|
|
53
|
+
display: inline-block;
|
|
54
|
+
height: 100%;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[dir=ltr] .icon {
|
|
58
|
+
left: 0;
|
|
59
|
+
border-bottom-left-radius: 5px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[dir=rtl] .icon {
|
|
63
|
+
right: 0;
|
|
64
|
+
border-bottom-right-radius: 5px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.success {
|
|
68
|
+
composes: icon;
|
|
69
|
+
background: var(--zdt_message_success_bg);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.alert {
|
|
73
|
+
composes: icon;
|
|
74
|
+
background: var(--zdt_message_alert_bg);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.info {
|
|
78
|
+
composes: icon;
|
|
79
|
+
background: var(--zdt_message_info_bg);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.tickIcn {
|
|
83
|
+
color: var(--zdt_message_tickicon);
|
|
84
|
+
font-size: var(--zd_font_size16);
|
|
85
|
+
position: absolute;
|
|
86
|
+
composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.close {
|
|
90
|
+
color: var(--zdt_message_close_text);
|
|
91
|
+
font-size: var(--zd_font_size16);
|
|
92
|
+
display: inline-block;
|
|
93
|
+
vertical-align: middle;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[dir=ltr] .close {
|
|
98
|
+
margin-left: var(--zd_size10);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
[dir=rtl] .close {
|
|
102
|
+
margin-right: var(--zd_size10);
|
|
103
103
|
}
|