@zohodesk/dot 1.0.0-temp-148 → 1.0.0-temp-150
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 +26 -1
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +1 -1
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +1 -1
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +1 -1
- package/es/ActionButton/ActionButton.module.css +14 -14
- package/es/AlphabeticList/AlphabeticList.module.css +10 -10
- package/es/Attachment/Attachment.module.css +26 -24
- package/es/AttachmentViewer/AttachmentViewer.module.css +41 -41
- package/es/ChannelIcon/ChannelIcon.module.css +22 -22
- package/es/Drawer/Drawer.js +2 -3
- package/es/Drawer/Drawer.module.css +41 -40
- package/es/FormAction/FormAction.module.css +20 -20
- package/es/FreezeLayer/FreezeLayer.js +14 -2
- package/es/Hooks/Dragger/css/Dragger.module.css +3 -0
- package/es/Hooks/Dragger/useDragger.js +82 -0
- package/es/Hooks/Dragger/utils/DraggerUtil.js +66 -0
- package/es/IconButton/IconButton.module.css +2 -2
- package/es/Image/Image.module.css +1 -0
- package/es/ImportantNotes/ImportantNotes.module.css +5 -5
- package/es/Loader/Loader.module.css +1 -0
- package/es/Message/Message.module.css +9 -9
- package/es/MessageBanner/MessageBanner.module.css +7 -7
- package/es/NewStar/NewStar.module.css +18 -10
- package/es/Provider/Config.js +7 -0
- package/es/Separator/Separator.module.css +6 -6
- package/es/TagWithIcon/TagWithIcon.module.css +6 -6
- package/es/ToastMessage/ToastMessage.module.css +23 -23
- package/es/Upload/Upload.module.css +15 -15
- package/es/alert/AlertHeader/AlertHeader.module.css +12 -12
- package/es/alert/AlertLookup/AlertLookup.module.css +6 -6
- package/es/avatar/AvatarClose/AvatarClose.module.css +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +7 -7
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +32 -32
- package/es/avatar/AvatarThread/AvatarThread.module.css +24 -24
- package/es/avatar/AvatarUser/AvatarUser.module.css +40 -40
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +4 -4
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +3 -3
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +13 -13
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +11 -11
- package/es/emptystate/EditionPage/EditionPage.css +13 -13
- package/es/errorstate/EmptyStates.module.css +18 -18
- package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -3
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +8 -8
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
- package/es/errorstate/WillBack/WillBack.module.css +10 -10
- package/es/form/fields/Fields.module.css +26 -26
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +13 -13
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
- package/es/form/fields/TextEditor/TextEditor.js +1 -1
- package/es/form/fields/TextEditor/TextEditor.module.css +84 -77
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +3 -2
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +3 -3
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +31 -31
- package/es/layout/SubtabLayout/SubtabLayout.module.css +32 -32
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
- package/es/list/Comment/Comment.module.css +4 -4
- package/es/list/Dot/Dot.module.css +3 -3
- package/es/list/DotNew/DotNew.module.css +4 -4
- package/es/list/GridStencils/GridStencils.module.css +24 -24
- package/es/list/Icons/Icons.module.css +2 -2
- package/es/list/ListLayout/ListLayout.module.css +6 -6
- package/es/list/ListStencils/ListStencils.module.css +12 -12
- package/es/list/SecondaryText/SecondaryText.module.css +11 -11
- package/es/list/SentimentStatus/SentimentStatus.module.css +3 -3
- package/es/list/TagNew/TagNew.module.css +4 -4
- package/es/list/Thread/Thread.module.css +7 -7
- package/es/list/UserTime/UserTime.module.css +8 -8
- package/es/list/listCommon.module.css +4 -4
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +13 -13
- package/es/list/status/StatusListItem/StatusListItem.module.css +16 -16
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
- package/es/lookup/Lookup/Lookup.module.css +5 -5
- package/es/lookup/Section/LookupSection.module.css +1 -1
- package/es/lookup/Section/Section.js +1 -0
- package/es/lookup/header/Close/LookupClose.module.css +3 -3
- package/es/lookup/header/Search/LookupSearch.module.css +14 -14
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
- package/es/lookup/header/Title/LookupTitle.module.css +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
- package/es/lookup/header/lookupHeaderCommon.module.css +8 -8
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
- package/es/setup/header/Button/HeaderButton.module.css +2 -2
- package/es/setup/header/Link/HeaderLink.module.css +5 -5
- package/es/setup/header/Search/Search.module.css +8 -8
- package/es/setup/header/Views/Views.module.css +4 -4
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
- package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
- package/es/setup/helptips/ListGroup/ListGroup.module.css +3 -3
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
- package/es/setup/table/TableData/SetupTableData.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +5 -5
- package/es/setup/table/TableRow/SetupTableRow.module.css +5 -5
- package/es/setup/table/Text/TableText.module.css +2 -2
- package/es/version2/AlertClose/AlertClose.module.css +2 -2
- package/es/version2/GlobalNotification/GlobalNotification.module.css +13 -13
- package/es/version2/errorstate/V2_ErrorStates.module.css +17 -17
- package/es/version2/lookup/AlertHeader/AlertHeader.js +2 -2
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +14 -13
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +6 -6
- package/es/version2/lookup/alertLookupCommonNew.module.css +5 -5
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -14
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +23 -23
- package/lib/ActionButton/ActionButton.module.css +14 -14
- package/lib/AlphabeticList/AlphabeticList.js +1 -1
- package/lib/AlphabeticList/AlphabeticList.module.css +10 -10
- package/lib/Attachment/Attachment.module.css +26 -24
- package/lib/AttachmentViewer/AttachmentImage.js +1 -1
- package/lib/AttachmentViewer/AttachmentViewer.module.css +41 -41
- package/lib/ChannelIcon/ChannelIcon.module.css +22 -22
- package/lib/Drawer/Drawer.js +2 -3
- package/lib/Drawer/Drawer.module.css +41 -40
- package/lib/ExternalLink/ExternalLink.js +1 -1
- package/lib/FormAction/FormAction.module.css +20 -20
- package/lib/FreezeLayer/FreezeLayer.js +17 -2
- package/lib/Hooks/Dragger/css/Dragger.module.css +3 -0
- package/lib/Hooks/Dragger/useDragger.js +88 -0
- package/lib/Hooks/Dragger/utils/DraggerUtil.js +70 -0
- package/lib/IconButton/IconButton.module.css +2 -2
- package/lib/Image/Image.module.css +1 -0
- package/lib/ImportantNotes/ImportantNotes.module.css +5 -5
- package/lib/Loader/Loader.module.css +1 -0
- package/lib/Message/Message.module.css +9 -9
- package/lib/MessageBanner/MessageBanner.module.css +7 -7
- package/lib/NewStar/NewStar.module.css +18 -10
- package/lib/Provider/Config.js +7 -0
- package/lib/Separator/Separator.module.css +6 -6
- package/lib/TagWithIcon/TagWithIcon.module.css +6 -6
- package/lib/ToastMessage/ToastMessage.js +1 -2
- package/lib/ToastMessage/ToastMessage.module.css +23 -23
- package/lib/Upload/Upload.module.css +15 -15
- package/lib/alert/AlertHeader/AlertHeader.module.css +12 -12
- package/lib/alert/AlertLookup/AlertLookup.js +1 -1
- package/lib/alert/AlertLookup/AlertLookup.module.css +6 -6
- package/lib/avatar/AvatarClose/AvatarClose.module.css +1 -1
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +7 -7
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +32 -32
- package/lib/avatar/AvatarThread/AvatarThread.module.css +24 -24
- package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/avatar/AvatarUser/AvatarUser.module.css +40 -40
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +4 -4
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -3
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +13 -13
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +11 -11
- package/lib/emptystate/EditionPage/EditionPage.css +13 -13
- package/lib/errorstate/EmptyStates.module.css +18 -18
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -3
- package/lib/errorstate/LinkText/LinkText.module.css +1 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +8 -8
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
- package/lib/errorstate/WillBack/WillBack.module.css +10 -10
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +1 -1
- package/lib/form/fields/DateField/DateField.js +1 -1
- package/lib/form/fields/FieldContainer/FieldContainer.js +1 -1
- package/lib/form/fields/Fields.module.css +26 -26
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
- package/lib/form/fields/PhoneField/PhoneField.js +1 -1
- package/lib/form/fields/RadioField/RadioField.js +1 -1
- package/lib/form/fields/SelectField/SelectField.js +1 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +13 -13
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
- package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.js +2 -3
- package/lib/form/fields/TextEditor/TextEditor.module.css +84 -77
- package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +3 -2
- package/lib/form/fields/TextareaField/TextareaField.js +1 -1
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +3 -3
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +31 -31
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +32 -32
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
- package/lib/list/Comment/Comment.module.css +4 -4
- package/lib/list/Dot/Dot.module.css +3 -3
- package/lib/list/DotNew/DotNew.module.css +4 -4
- package/lib/list/GridStencils/GridStencils.module.css +24 -24
- package/lib/list/Icons/Icons.module.css +2 -2
- package/lib/list/ListLayout/ListLayout.module.css +6 -6
- package/lib/list/ListStencils/ListStencils.js +1 -1
- package/lib/list/ListStencils/ListStencils.module.css +12 -12
- package/lib/list/SecondaryText/AccountName.js +1 -1
- package/lib/list/SecondaryText/Email.js +1 -1
- package/lib/list/SecondaryText/HappinessRating.js +1 -1
- package/lib/list/SecondaryText/PhoneNumber.js +1 -1
- package/lib/list/SecondaryText/SecondaryText.module.css +11 -11
- package/lib/list/SecondaryText/Website.js +1 -1
- package/lib/list/SecondryPanel/SecondryPanel.js +1 -1
- package/lib/list/SentimentStatus/SentimentStatus.module.css +3 -3
- package/lib/list/TagNew/TagNew.module.css +4 -4
- package/lib/list/Thread/Thread.module.css +7 -7
- package/lib/list/UserTime/UserTime.module.css +8 -8
- package/lib/list/listCommon.module.css +4 -4
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +13 -13
- package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.module.css +16 -16
- package/lib/lookup/EmptyPage/EmptyPage.js +1 -1
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
- package/lib/lookup/Lookup/Lookup.js +1 -1
- package/lib/lookup/Lookup/Lookup.module.css +5 -5
- package/lib/lookup/Section/LookupSection.module.css +1 -1
- package/lib/lookup/Section/Section.js +1 -0
- package/lib/lookup/header/Close/Close.js +1 -1
- package/lib/lookup/header/Close/LookupClose.module.css +3 -3
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/lookup/header/Search/LookupSearch.module.css +14 -14
- package/lib/lookup/header/Search/Search.js +1 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
- package/lib/lookup/header/Title/LookupTitle.module.css +1 -1
- package/lib/lookup/header/Title/Title.js +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
- package/lib/lookup/header/lookupHeaderCommon.module.css +8 -8
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
- package/lib/setup/header/Button/HeaderButton.module.css +2 -2
- package/lib/setup/header/Link/HeaderLink.module.css +5 -5
- package/lib/setup/header/Search/Search.module.css +8 -8
- package/lib/setup/header/Views/Views.module.css +4 -4
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +3 -3
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
- package/lib/setup/table/TableData/SetupTableData.module.css +6 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +5 -5
- package/lib/setup/table/TableRow/SetupTableRow.module.css +5 -5
- package/lib/setup/table/Text/TableText.module.css +2 -2
- package/lib/version2/AlertClose/AlertClose.js +1 -1
- package/lib/version2/AlertClose/AlertClose.module.css +2 -2
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +13 -13
- package/lib/version2/errorstate/V2_ErrorStates.module.css +17 -17
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +2 -2
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +14 -13
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +6 -6
- package/lib/version2/lookup/alertLookupCommonNew.module.css +5 -5
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -14
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +23 -23
- package/package.json +25 -10
- package/dubFinder.js +0 -96
|
@@ -63,31 +63,31 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.xsmall {
|
|
66
|
-
width:
|
|
66
|
+
width: 360px;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.small {
|
|
70
|
-
width:
|
|
70
|
+
width: 410px;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.medium {
|
|
74
|
-
width:
|
|
74
|
+
width: 660px;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.xmedium {
|
|
78
|
-
width:
|
|
78
|
+
width: 730px;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.large {
|
|
82
|
-
width:
|
|
82
|
+
width: 936px;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.xlarge {
|
|
86
|
-
width:
|
|
86
|
+
width: 840px;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.xxlarge {
|
|
90
|
-
width:
|
|
90
|
+
width: 1142px;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
.mbleSize,
|
|
@@ -96,95 +96,96 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.header {
|
|
99
|
-
min-height:
|
|
99
|
+
min-height: 50px;
|
|
100
100
|
background-color: var(--zdt_drawer_header_bg);
|
|
101
101
|
border-bottom: solid 1px var(--zdt_drawer_header_border);
|
|
102
|
-
padding-top:
|
|
103
|
-
padding-bottom:
|
|
102
|
+
padding-top: 10px;
|
|
103
|
+
padding-bottom: 10px;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.subheader {
|
|
107
|
-
min-height:
|
|
107
|
+
min-height: 28px;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.title {
|
|
111
111
|
color: var(--zdt_drawer_title_text);
|
|
112
|
-
font: var(--
|
|
112
|
+
font-family: var(--zd_semibold);
|
|
113
113
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
114
|
+
font-size: 16px;
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
[dir=ltr] .title {
|
|
117
|
-
padding: 0
|
|
118
|
+
padding: 0 10px 0 0;
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
[dir=rtl] .title {
|
|
121
|
-
padding: 0 0 0
|
|
122
|
+
padding: 0 0 0 10px;
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
[dir=ltr] .smallHeaderPadding {
|
|
125
|
-
padding-right:
|
|
126
|
-
padding-left:
|
|
126
|
+
padding-right: 11px;
|
|
127
|
+
padding-left: 30px;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
[dir=rtl] .smallHeaderPadding {
|
|
130
|
-
padding-left:
|
|
131
|
-
padding-right:
|
|
131
|
+
padding-left: 11px;
|
|
132
|
+
padding-right: 30px;
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
[dir=ltr] .smallContentPadding {
|
|
135
|
-
padding-left:
|
|
136
|
-
padding-right:
|
|
136
|
+
padding-left: 30px;
|
|
137
|
+
padding-right: 30px;
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
[dir=rtl] .smallContentPadding {
|
|
140
|
-
padding-right:
|
|
141
|
-
padding-left:
|
|
141
|
+
padding-right: 30px;
|
|
142
|
+
padding-left: 30px;
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
[dir=ltr] .mediumHeaderPadding {
|
|
145
|
-
padding-right:
|
|
146
|
-
padding-left:
|
|
146
|
+
padding-right: 15px;
|
|
147
|
+
padding-left: 30px;
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
[dir=rtl] .mediumHeaderPadding {
|
|
150
|
-
padding-left:
|
|
151
|
-
padding-right:
|
|
151
|
+
padding-left: 15px;
|
|
152
|
+
padding-right: 30px;
|
|
152
153
|
}
|
|
153
154
|
|
|
154
155
|
[dir=ltr] .mediumContentPadding {
|
|
155
|
-
padding-left:
|
|
156
|
-
padding-right:
|
|
156
|
+
padding-left: 30px;
|
|
157
|
+
padding-right: 30px;
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
[dir=rtl] .mediumContentPadding {
|
|
160
|
-
padding-right:
|
|
161
|
-
padding-left:
|
|
161
|
+
padding-right: 30px;
|
|
162
|
+
padding-left: 30px;
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
[dir=ltr] .largeHeaderPadding {
|
|
165
|
-
padding-right:
|
|
166
|
-
padding-left:
|
|
166
|
+
padding-right: 15px;
|
|
167
|
+
padding-left: 50px;
|
|
167
168
|
}
|
|
168
169
|
|
|
169
170
|
[dir=rtl] .largeHeaderPadding {
|
|
170
|
-
padding-left:
|
|
171
|
-
padding-right:
|
|
171
|
+
padding-left: 15px;
|
|
172
|
+
padding-right: 50px;
|
|
172
173
|
}
|
|
173
174
|
|
|
174
175
|
[dir=ltr] .largeContentPadding {
|
|
175
|
-
padding-left:
|
|
176
|
-
padding-right:
|
|
176
|
+
padding-left: 50px;
|
|
177
|
+
padding-right: 50px;
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
[dir=rtl] .largeContentPadding {
|
|
180
|
-
padding-right:
|
|
181
|
-
padding-left:
|
|
181
|
+
padding-right: 50px;
|
|
182
|
+
padding-left: 50px;
|
|
182
183
|
}
|
|
183
184
|
|
|
184
185
|
[dir=ltr] .iconWrapper {
|
|
185
|
-
margin-right:
|
|
186
|
+
margin-right: 10px;
|
|
186
187
|
}
|
|
187
188
|
|
|
188
189
|
[dir=rtl] .iconWrapper {
|
|
189
|
-
margin-left:
|
|
190
|
+
margin-left: 10px;
|
|
190
191
|
}
|
|
@@ -22,7 +22,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
22
22
|
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); }
|
|
23
23
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
24
24
|
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; } }
|
|
25
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
26
26
|
var ExternalLink = /*#__PURE__*/function (_React$Component) {
|
|
27
27
|
_inherits(ExternalLink, _React$Component);
|
|
28
28
|
var _super = _createSuper(ExternalLink);
|
|
@@ -13,64 +13,64 @@
|
|
|
13
13
|
border-top: solid 1px var(--footerBorder);
|
|
14
14
|
}
|
|
15
15
|
.largeFooter {
|
|
16
|
-
padding-top:
|
|
17
|
-
padding-bottom:
|
|
16
|
+
padding-top: 24px;
|
|
17
|
+
padding-bottom: 24px;
|
|
18
18
|
}
|
|
19
19
|
.mediumFooter {
|
|
20
|
-
padding-top:
|
|
21
|
-
padding-bottom:
|
|
20
|
+
padding-top: 20px;
|
|
21
|
+
padding-bottom: 20px;
|
|
22
22
|
}
|
|
23
23
|
.smallFooter {
|
|
24
|
-
padding-top:
|
|
25
|
-
padding-bottom:
|
|
24
|
+
padding-top: 10px;
|
|
25
|
+
padding-bottom: 10px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
[dir=ltr] .largePadding {
|
|
29
|
-
padding-left:
|
|
29
|
+
padding-left: 60px;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[dir=rtl] .largePadding {
|
|
33
|
-
padding-right:
|
|
33
|
+
padding-right: 60px;
|
|
34
34
|
}
|
|
35
35
|
[dir=ltr] .mediumPadding {
|
|
36
|
-
padding-left:
|
|
36
|
+
padding-left: 50px;
|
|
37
37
|
}
|
|
38
38
|
[dir=rtl] .mediumPadding {
|
|
39
|
-
padding-right:
|
|
39
|
+
padding-right: 50px;
|
|
40
40
|
}
|
|
41
41
|
[dir=ltr] .xmediumPadding {
|
|
42
|
-
padding-left:
|
|
42
|
+
padding-left: 30px;
|
|
43
43
|
}
|
|
44
44
|
[dir=rtl] .xmediumPadding {
|
|
45
|
-
padding-right:
|
|
45
|
+
padding-right: 30px;
|
|
46
46
|
}
|
|
47
47
|
[dir=ltr] .smallPadding {
|
|
48
|
-
padding-left:
|
|
48
|
+
padding-left: 25px;
|
|
49
49
|
}
|
|
50
50
|
[dir=rtl] .smallPadding {
|
|
51
|
-
padding-right:
|
|
51
|
+
padding-right: 25px;
|
|
52
52
|
}
|
|
53
53
|
[dir=ltr] .xsmallPadding {
|
|
54
|
-
padding-left:
|
|
54
|
+
padding-left: 20px;
|
|
55
55
|
}
|
|
56
56
|
[dir=rtl] .xsmallPadding {
|
|
57
|
-
padding-right:
|
|
57
|
+
padding-right: 20px;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.marginRight {
|
|
61
61
|
composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
|
|
62
62
|
}
|
|
63
63
|
[dir=ltr] .largeFooter .marginRight, [dir=ltr] .mediumFooter .marginRight {
|
|
64
|
-
margin-right:
|
|
64
|
+
margin-right: 15px;
|
|
65
65
|
}
|
|
66
66
|
[dir=rtl] .largeFooter .marginRight, [dir=rtl] .mediumFooter .marginRight {
|
|
67
|
-
margin-left:
|
|
67
|
+
margin-left: 15px;
|
|
68
68
|
}
|
|
69
69
|
[dir=ltr] .smallFooter .marginRight {
|
|
70
|
-
margin-right:
|
|
70
|
+
margin-right: 12px;
|
|
71
71
|
}
|
|
72
72
|
[dir=rtl] .smallFooter .marginRight {
|
|
73
|
-
margin-left:
|
|
73
|
+
margin-left: 12px;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
[dir=ltr] .marginRight:last-child {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
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); }
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports["default"] = FreezeLayer;
|
|
7
|
-
var _react =
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
9
|
var _defaultProps = require("./props/defaultProps");
|
|
9
10
|
var _propTypes = require("./props/propTypes");
|
|
10
11
|
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
@@ -14,7 +15,10 @@ var _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider"
|
|
|
14
15
|
var _cssJSLogic2 = _interopRequireDefault(require("./css/cssJSLogic"));
|
|
15
16
|
var _useFreezeLayer2 = _interopRequireDefault(require("./useFreezeLayer"));
|
|
16
17
|
var _FreezeLayerModule = _interopRequireDefault(require("./css/FreezeLayer.module.css"));
|
|
18
|
+
var _useDragger = _interopRequireDefault(require("../Hooks/Dragger/useDragger"));
|
|
17
19
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
22
|
function FreezeLayer(props) {
|
|
19
23
|
var propsActive = props.isActive,
|
|
20
24
|
children = props.children,
|
|
@@ -29,6 +33,7 @@ function FreezeLayer(props) {
|
|
|
29
33
|
needAutoZindex = props.needAutoZindex,
|
|
30
34
|
customStyle = props.customStyle;
|
|
31
35
|
var finalStyle = (0, _utils.mergeStyle)(_FreezeLayerModule["default"], customStyle);
|
|
36
|
+
var dragRef = (0, _react.useRef)(null);
|
|
32
37
|
var _cssJSLogic = (0, _cssJSLogic2["default"])({
|
|
33
38
|
props: props,
|
|
34
39
|
style: finalStyle
|
|
@@ -42,6 +47,16 @@ function FreezeLayer(props) {
|
|
|
42
47
|
isActive = _useFreezeLayer.isActive,
|
|
43
48
|
isChildActive = _useFreezeLayer.isChildActive,
|
|
44
49
|
handleClick = _useFreezeLayer.handleClick;
|
|
50
|
+
var refEle = forwardRef || dragRef;
|
|
51
|
+
(0, _useDragger["default"])({
|
|
52
|
+
ParentRef: refEle,
|
|
53
|
+
boundaryLimit: {
|
|
54
|
+
top: 0,
|
|
55
|
+
left: 50,
|
|
56
|
+
right: 50,
|
|
57
|
+
bottom: 50
|
|
58
|
+
}
|
|
59
|
+
});
|
|
45
60
|
return /*#__PURE__*/_react["default"].createElement(_VelocityAnimationGroup["default"], {
|
|
46
61
|
name: animationName && animationName,
|
|
47
62
|
isActive: isActive,
|
|
@@ -52,7 +67,7 @@ function FreezeLayer(props) {
|
|
|
52
67
|
} : {},
|
|
53
68
|
className: freezeClass,
|
|
54
69
|
onClick: handleClick,
|
|
55
|
-
ref:
|
|
70
|
+
ref: refEle
|
|
56
71
|
}, children && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, childAnimationName ? /*#__PURE__*/_react["default"].createElement(_VelocityAnimationGroup["default"], {
|
|
57
72
|
name: childAnimationName,
|
|
58
73
|
isActive: isChildActive,
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = useDragger;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _Config = require("../../Provider/Config");
|
|
9
|
+
var _DraggerUtil = require("./utils/DraggerUtil");
|
|
10
|
+
var _DraggerModule = _interopRequireDefault(require("./css/Dragger.module.css"));
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function useDragger(_ref) {
|
|
13
|
+
var ParentRef = _ref.ParentRef,
|
|
14
|
+
_ref$boundaryLimit = _ref.boundaryLimit,
|
|
15
|
+
boundaryLimit = _ref$boundaryLimit === void 0 ? (0, _Config.getDotLibraryConfig)('boundaryLimit') : _ref$boundaryLimit;
|
|
16
|
+
var draggableEle = (0, _react.useRef)(null); //To set the Draggable Element
|
|
17
|
+
var parentEle = (0, _react.useRef)(null); // To set the Parent Boundary Element
|
|
18
|
+
var offset = (0, _react.useRef)({
|
|
19
|
+
x: 0,
|
|
20
|
+
y: 0
|
|
21
|
+
}); //To set the x and y Positions
|
|
22
|
+
var draggable = (0, _react.useRef)(false); // To get track of draggable
|
|
23
|
+
|
|
24
|
+
(0, _react.useEffect)(function () {
|
|
25
|
+
parentEle.current = ParentRef.current || (0, _Config.getDotLibraryConfig)('draggerBoundary') || document.body;
|
|
26
|
+
}, [ParentRef.current]);
|
|
27
|
+
var elementDrag = function elementDrag(e) {
|
|
28
|
+
e = e || window.event;
|
|
29
|
+
e.preventDefault();
|
|
30
|
+
if (draggable.current) {
|
|
31
|
+
var left = offset.current.x + e.clientX;
|
|
32
|
+
var top = offset.current.y + e.clientY;
|
|
33
|
+
if (parentEle.current) {
|
|
34
|
+
var calcValue = (0, _DraggerUtil.DragPosCalc)({
|
|
35
|
+
x: left,
|
|
36
|
+
y: top,
|
|
37
|
+
dragWrapper: parentEle.current,
|
|
38
|
+
element: draggableEle.current,
|
|
39
|
+
boundaryLimit: boundaryLimit
|
|
40
|
+
});
|
|
41
|
+
draggableEle.current.style.left = calcValue.x + 'px';
|
|
42
|
+
draggableEle.current.style.top = calcValue.y + 'px';
|
|
43
|
+
} else {
|
|
44
|
+
draggableEle.current.style.left = left + 'px';
|
|
45
|
+
draggableEle.current.style.top = top + 'px';
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
var closeDragElement = function closeDragElement() {
|
|
50
|
+
document.removeEventListener('mouseup', closeDragElement);
|
|
51
|
+
document.removeEventListener('mousemove', elementDrag);
|
|
52
|
+
};
|
|
53
|
+
var dragMouseDown = function dragMouseDown(e) {
|
|
54
|
+
//Initial position
|
|
55
|
+
requestAnimationFrame(function () {
|
|
56
|
+
var draggableEleRect = draggableEle.current.getBoundingClientRect();
|
|
57
|
+
var parentEleRect = parentEle.current.getBoundingClientRect();
|
|
58
|
+
var relativeRect = {
|
|
59
|
+
left: draggableEleRect.left - parentEleRect.left,
|
|
60
|
+
top: draggableEleRect.top - parentEleRect.top
|
|
61
|
+
};
|
|
62
|
+
e = e || window.event;
|
|
63
|
+
e.preventDefault();
|
|
64
|
+
draggableEle.current.style.top = relativeRect.top + 'px';
|
|
65
|
+
draggableEle.current.style.left = relativeRect.left + 'px';
|
|
66
|
+
draggableEle.current.style.width = draggableEleRect.width + 'px';
|
|
67
|
+
draggableEle.current.style.position = 'fixed';
|
|
68
|
+
offset.current.x = draggableEle.current.offsetLeft - e.clientX;
|
|
69
|
+
offset.current.y = draggableEle.current.offsetTop - e.clientY;
|
|
70
|
+
draggable.current = true;
|
|
71
|
+
document.addEventListener('mouseup', closeDragElement);
|
|
72
|
+
document.addEventListener('mousemove', elementDrag);
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
(0, _react.useEffect)(function () {
|
|
76
|
+
(0, _DraggerUtil.elementFinder)(parentEle.current, '[data-drag-container=true]').then(function (draggableElement) {
|
|
77
|
+
draggableEle.current = draggableElement;
|
|
78
|
+
var dragController = draggableEle.current && draggableEle.current.querySelector('[data-drag-hook=true]');
|
|
79
|
+
// ? draggableEle.current.querySelector("[data-drag-hook=true]")
|
|
80
|
+
// : draggableEle.current;
|
|
81
|
+
dragController && dragController.addEventListener('mousedown', dragMouseDown);
|
|
82
|
+
dragController && dragController.classList.add(_DraggerModule["default"].dragCursor);
|
|
83
|
+
});
|
|
84
|
+
}, [parentEle.current]);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
//data-drag-container => To Mention Draggable Element
|
|
88
|
+
//data-drag-hook =>To Mention Draggable target element
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.DragPosCalc = DragPosCalc;
|
|
7
|
+
exports.elementFinder = void 0;
|
|
8
|
+
function DragPosCalc(_ref) {
|
|
9
|
+
var x = _ref.x,
|
|
10
|
+
y = _ref.y,
|
|
11
|
+
element = _ref.element,
|
|
12
|
+
dragWrapper = _ref.dragWrapper,
|
|
13
|
+
boundaryLimit = _ref.boundaryLimit;
|
|
14
|
+
//percent = 50%
|
|
15
|
+
// const percentobj = { top: 0, left: 10, right: 2, bottom: 90 };
|
|
16
|
+
var top = boundaryLimit.top,
|
|
17
|
+
left = boundaryLimit.left,
|
|
18
|
+
right = boundaryLimit.right,
|
|
19
|
+
bottom = boundaryLimit.bottom;
|
|
20
|
+
var offsetWidth = element ? element.offsetWidth : 0;
|
|
21
|
+
var offsetHeight = element ? element.offsetHeight : 0;
|
|
22
|
+
var topOffset = top ? offsetHeight - top : 0;
|
|
23
|
+
var leftOffset = left ? offsetWidth - left : 0;
|
|
24
|
+
var rightOffset = right ? offsetWidth - right : 0;
|
|
25
|
+
var bottomOffset = bottom ? offsetHeight - bottom : 0;
|
|
26
|
+
if (x < -leftOffset) {
|
|
27
|
+
//LEFT
|
|
28
|
+
x = -leftOffset;
|
|
29
|
+
}
|
|
30
|
+
if (x > dragWrapper.offsetWidth - element.offsetWidth + rightOffset) {
|
|
31
|
+
//RIGHT
|
|
32
|
+
x = dragWrapper.offsetWidth - element.offsetWidth + rightOffset;
|
|
33
|
+
}
|
|
34
|
+
if (y < -topOffset) {
|
|
35
|
+
//TOP
|
|
36
|
+
y = -topOffset;
|
|
37
|
+
}
|
|
38
|
+
if (y > dragWrapper.offsetHeight - element.offsetHeight + bottomOffset) {
|
|
39
|
+
//BOTTOM
|
|
40
|
+
y = dragWrapper.offsetHeight - element.offsetHeight + bottomOffset;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
x: x,
|
|
44
|
+
y: y
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// export const elementFinder = async (Parent, selector) => {
|
|
49
|
+
// while (Parent && Parent.querySelector(selector) === null) {
|
|
50
|
+
// await new Promise((resolve) => requestAnimationFrame(resolve));
|
|
51
|
+
// }
|
|
52
|
+
// return Parent && Parent.querySelector(selector);
|
|
53
|
+
// };
|
|
54
|
+
|
|
55
|
+
var elementFinder = function elementFinder(Parent, selector) {
|
|
56
|
+
return new Promise(function (resolve) {
|
|
57
|
+
var observer = new MutationObserver(function (mutations) {
|
|
58
|
+
var element = Parent.querySelector(selector);
|
|
59
|
+
if (element) {
|
|
60
|
+
observer.disconnect();
|
|
61
|
+
resolve(element);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
observer.observe(Parent, {
|
|
65
|
+
childList: true,
|
|
66
|
+
subtree: true
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
exports.elementFinder = elementFinder;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
--iconColor: var(--zdt_iconButton_icon_black);
|
|
3
3
|
}
|
|
4
4
|
.wrapper {
|
|
5
|
-
height:
|
|
6
|
-
width:
|
|
5
|
+
height: 28px;
|
|
6
|
+
width: 28px;
|
|
7
7
|
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
8
8
|
composes: varClass;
|
|
9
9
|
color: var(--iconColor);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
.section {
|
|
2
2
|
background: var(--zdt_importantnotes_bg);
|
|
3
|
-
padding:
|
|
3
|
+
padding: 5px 10px;
|
|
4
4
|
}
|
|
5
5
|
.title {
|
|
6
|
-
font-size:
|
|
6
|
+
font-size: 13px;
|
|
7
7
|
line-height: var(--zd_font_size18);
|
|
8
8
|
color: var(--zdt_importantnotes_title_text);
|
|
9
9
|
}
|
|
10
10
|
.icon {
|
|
11
11
|
color: var(--zdt_importantnotes_icon);
|
|
12
12
|
font-size: 0;
|
|
13
|
-
margin-top:
|
|
13
|
+
margin-top: 1px;
|
|
14
14
|
}
|
|
15
15
|
[dir=ltr] .icon {
|
|
16
|
-
margin-right:
|
|
16
|
+
margin-right: 5px;
|
|
17
17
|
}
|
|
18
18
|
[dir=rtl] .icon {
|
|
19
|
-
margin-left:
|
|
19
|
+
margin-left: 5px;
|
|
20
20
|
}
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
[dir=ltr] .container {
|
|
26
|
-
padding:
|
|
26
|
+
padding: 13px 10px 13px 50px;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
[dir=rtl] .container {
|
|
30
|
-
padding:
|
|
30
|
+
padding: 13px 50px 13px 10px;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.text {
|
|
34
|
-
max-width:
|
|
34
|
+
max-width: 480px;
|
|
35
35
|
display: inline-block;
|
|
36
36
|
word-break: break-word;
|
|
37
|
-
font-size:
|
|
37
|
+
font-size: 14px;
|
|
38
38
|
vertical-align: middle;
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
.icon {
|
|
50
50
|
position: absolute;
|
|
51
51
|
top: 0;
|
|
52
|
-
width:
|
|
52
|
+
width: 40px;
|
|
53
53
|
display: inline-block;
|
|
54
54
|
height: 100%;
|
|
55
55
|
}
|
|
@@ -81,23 +81,23 @@
|
|
|
81
81
|
|
|
82
82
|
.tickIcn {
|
|
83
83
|
color: var(--zdt_message_tickicon);
|
|
84
|
-
font-size:
|
|
84
|
+
font-size: 16px;
|
|
85
85
|
position: absolute;
|
|
86
86
|
composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.close {
|
|
90
90
|
color: var(--zdt_message_close_text);
|
|
91
|
-
font-size:
|
|
91
|
+
font-size: 16px;
|
|
92
92
|
display: inline-block;
|
|
93
93
|
vertical-align: middle;
|
|
94
94
|
cursor: pointer;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
[dir=ltr] .close {
|
|
98
|
-
margin-left:
|
|
98
|
+
margin-left: 10px;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
[dir=rtl] .close {
|
|
102
|
-
margin-right:
|
|
102
|
+
margin-right: 10px;
|
|
103
103
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
.type_secondary {
|
|
2
|
-
max-width:
|
|
2
|
+
max-width: 468px;
|
|
3
3
|
border-radius: 3px;
|
|
4
4
|
margin: 0 auto;
|
|
5
5
|
}
|
|
6
6
|
.message {
|
|
7
7
|
color: var(--zdt_messagebanner_text);
|
|
8
8
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
9
|
-
padding:
|
|
9
|
+
padding: 10px 0;
|
|
10
10
|
}
|
|
11
11
|
[dir=ltr] .message {
|
|
12
|
-
margin-left:
|
|
12
|
+
margin-left: 10px;
|
|
13
13
|
}
|
|
14
14
|
[dir=rtl] .message {
|
|
15
|
-
margin-right:
|
|
15
|
+
margin-right: 10px;
|
|
16
16
|
}
|
|
17
17
|
.link {
|
|
18
18
|
color: var(--zdt_messagebanner_link_text);
|
|
19
19
|
}
|
|
20
20
|
[dir=ltr] .link {
|
|
21
|
-
margin-left:
|
|
21
|
+
margin-left: 5px;
|
|
22
22
|
}
|
|
23
23
|
[dir=rtl] .link {
|
|
24
|
-
margin-right:
|
|
24
|
+
margin-right: 5px;
|
|
25
25
|
}
|
|
26
|
-
.message,.link{font-size:
|
|
26
|
+
.message,.link{font-size: 14px;}
|
|
27
27
|
.close {
|
|
28
28
|
color: var(--zdt_messagebanner_close_text);
|
|
29
29
|
cursor: pointer;
|