@zohodesk/dot 1.0.0-temp-59 → 1.0.0-temp-60
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 +3 -0
- package/es/ActionButton/ActionButton.module.css +9 -25
- package/es/AlphabeticList/AlphabeticList.module.css +4 -7
- package/es/Appearance/dark/mode/dotDarkMode.module.css +164 -164
- package/es/Appearance/default/mode/dotDefaultMode.module.css +5 -5
- package/es/Attachment/Attachment.module.css +13 -24
- package/es/ChannelIcon/ChannelIcon.module.css +21 -30
- package/es/Drawer/Drawer.module.css +11 -59
- package/es/FlipCard/FlipCard.module.css +5 -14
- package/es/FormAction/FormAction.module.css +9 -34
- package/es/FreezeLayer/FreezeLayer.module.css +2 -6
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.js +3 -5
- package/es/ImportantNotes/ImportantNotes.module.css +3 -8
- package/es/Loader/Loader.module.css +4 -25
- package/es/Message/Message.module.css +9 -42
- package/es/MessageBanner/MessageBanner.module.css +4 -12
- package/es/NewStar/NewStar.module.css +5 -42
- package/es/ToastMessage/ToastMessage.module.css +27 -98
- package/es/Upload/Upload.module.css +9 -28
- package/es/alert/AlertHeader/AlertHeader.module.css +3 -21
- package/es/alert/AlertLookup/AlertLookup.module.css +3 -7
- package/es/avatar/AvatarClose/AvatarClose.module.css +3 -9
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
- package/es/avatar/AvatarThread/AvatarThread.module.css +5 -55
- package/es/avatar/AvatarUser/AvatarUser.module.css +10 -81
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +3 -11
- package/es/deprecated/Theme/dotDarkTheme.module.css +532 -0
- package/es/deprecated/Theme/dotDefaultTheme.module.css +532 -0
- package/es/deprecated/Theme/palette/darkPalette.module.css +40 -0
- package/es/deprecated/Theme/palette/defaultPalette.module.css +40 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +6 -19
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +8 -13
- package/es/emptystate/EditionPage/EditionPage.css +3 -9
- package/es/errorstate/EmptyStates.module.css +13 -16
- package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -3
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +3 -1
- package/es/form/fields/Fields.module.css +12 -48
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- package/es/form/fields/TextEditor/TextEditor.module.css +71 -143
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +4 -9
- package/es/form/layout/Field/Field.js +1 -1
- package/es/form/layout/Section/Section.js +3 -7
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +18 -54
- package/es/layout/SubtabLayout/SubtabLayout.module.css +29 -55
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
- package/es/list/Comment/Comment.module.css +0 -5
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +16 -70
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/ListLayout/ListLayout.module.css +14 -22
- package/es/list/ListStencils/ListStencils.module.css +6 -11
- package/es/list/SecondaryText/SecondaryText.module.css +3 -13
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +2 -2
- package/es/list/SentimentStatus/SentimentStatus.module.css +1 -4
- package/es/list/TagNew/TagNew.module.css +7 -14
- package/es/list/Thread/Thread.module.css +1 -13
- package/es/list/UserTime/UserTime.module.css +0 -6
- package/es/list/listCommon.module.css +2 -10
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
- package/es/list/status/StatusListItem/StatusListItem.module.css +15 -38
- package/es/lookup/Lookup/Lookup.module.css +2 -2
- package/es/lookup/Section/LookupSection.module.css +2 -2
- package/es/lookup/header/Close/LookupClose.module.css +5 -5
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +3 -8
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +3 -13
- package/es/lookup/header/Search/LookupSearch.module.css +12 -21
- package/es/lookup/header/TicketHeader/TicketHeader.js +4 -7
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -5
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -9
- package/es/lookup/header/lookupHeaderCommon.module.css +5 -21
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
- package/es/setup/header/Button/HeaderButton.module.css +1 -3
- package/es/setup/header/Link/HeaderLink.module.css +1 -7
- package/es/setup/header/Search/Search.module.css +9 -20
- package/es/setup/header/Views/Views.module.css +6 -16
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -1
- package/es/setup/helptips/ListGroup/ListGroup.module.css +1 -6
- package/es/setup/table/TableData/SetupTableData.module.css +3 -11
- package/es/setup/table/TableHead/SetupTableHead.module.css +0 -4
- package/es/setup/table/TableRow/SetupTableRow.module.css +2 -6
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +9 -44
- package/es/version2/errorstate/V2_ErrorStates.module.css +3 -2
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +3 -26
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +4 -8
- package/es/version2/lookup/alertLookupCommonNew.module.css +1 -8
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +12 -28
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +13 -50
- package/lib/ActionButton/ActionButton.module.css +9 -25
- package/lib/AlphabeticList/AlphabeticList.module.css +4 -7
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +536 -521
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +8 -8
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +8 -8
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +8 -8
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +8 -8
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +536 -521
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +8 -8
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +8 -8
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +8 -8
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +8 -8
- package/lib/Attachment/Attachment.module.css +9 -20
- package/lib/ChannelIcon/ChannelIcon.module.css +21 -30
- package/lib/Drawer/Drawer.module.css +11 -59
- package/lib/FlipCard/FlipCard.module.css +5 -14
- package/lib/FormAction/FormAction.module.css +9 -34
- package/lib/FreezeLayer/FreezeLayer.module.css +2 -6
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +2 -2
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +2 -2
- package/lib/IconButton/IconButton.module.css +1 -1
- package/lib/ImportantNotes/ImportantNotes.js +3 -5
- package/lib/ImportantNotes/ImportantNotes.module.css +2 -7
- package/lib/Loader/Loader.module.css +4 -25
- package/lib/Loader/docs/Loader__default.docs.js +1 -1
- package/lib/Message/Message.module.css +9 -42
- package/lib/MessageBanner/MessageBanner.module.css +4 -12
- package/lib/NewStar/NewStar.module.css +5 -42
- package/lib/ToastMessage/ToastMessage.module.css +25 -96
- package/lib/Upload/Upload.module.css +8 -27
- package/lib/alert/AlertHeader/AlertHeader.module.css +3 -21
- package/lib/alert/AlertLookup/AlertLookup.module.css +2 -6
- package/lib/avatar/AvatarClose/AvatarClose.module.css +3 -9
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
- package/lib/avatar/AvatarThread/AvatarThread.module.css +5 -55
- package/lib/avatar/AvatarUser/AvatarUser.module.css +10 -81
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +9 -17
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +6 -19
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -12
- package/lib/emptystate/EditionPage/EditionPage.css +3 -9
- package/lib/errorstate/EmptyStates.module.css +10 -13
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +0 -3
- package/lib/errorstate/LinkText/LinkText.module.css +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/lib/errorstate/WillBack/WillBack.module.css +3 -1
- package/lib/form/fields/Fields.module.css +12 -48
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +71 -143
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +4 -9
- package/lib/form/layout/Field/Field.js +1 -1
- package/lib/form/layout/Section/Section.js +3 -7
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +29 -55
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +3 -6
- package/lib/list/Comment/Comment.module.css +0 -5
- package/lib/list/DotNew/DotNew.module.css +6 -6
- package/lib/list/GridStencils/GridStencils.module.css +16 -70
- package/lib/list/Icons/Icons.module.css +1 -1
- package/lib/list/ListLayout/ListLayout.module.css +14 -22
- package/lib/list/ListStencils/ListStencils.module.css +6 -11
- package/lib/list/SecondaryText/SecondaryText.module.css +3 -13
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +2 -2
- package/lib/list/SentimentStatus/SentimentStatus.module.css +1 -4
- package/lib/list/TagNew/TagNew.module.css +7 -14
- package/lib/list/Thread/Thread.module.css +1 -13
- package/lib/list/UserTime/UserTime.module.css +0 -6
- package/lib/list/listCommon.module.css +1 -9
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
- package/lib/list/status/StatusListItem/StatusListItem.module.css +15 -38
- package/lib/lookup/Lookup/Lookup.module.css +2 -2
- package/lib/lookup/Section/LookupSection.module.css +2 -2
- package/lib/lookup/header/Close/LookupClose.module.css +4 -4
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -8
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +3 -13
- package/lib/lookup/header/Search/LookupSearch.module.css +12 -21
- package/lib/lookup/header/TicketHeader/TicketHeader.js +4 -7
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +2 -5
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -9
- package/lib/lookup/header/lookupHeaderCommon.module.css +5 -21
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
- package/lib/setup/header/Button/HeaderButton.module.css +1 -3
- package/lib/setup/header/Link/HeaderLink.module.css +1 -7
- package/lib/setup/header/Search/Search.module.css +8 -19
- package/lib/setup/header/Views/Views.module.css +5 -15
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +0 -1
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +1 -6
- package/lib/setup/table/TableData/SetupTableData.module.css +3 -11
- package/lib/setup/table/TableHead/SetupTableHead.module.css +0 -4
- package/lib/setup/table/TableRow/SetupTableRow.module.css +2 -6
- package/lib/version2/AlertClose/AlertClose.module.css +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +6 -18
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +9 -44
- package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
- package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -8
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +5 -13
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -29
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
- package/package.json +5 -5
- package/preprocess/json/dotAppearanceVariableJson.js +169 -169
- package/src/Appearance/dark/mode/dotDarkMode.module.css +164 -164
- package/src/Appearance/default/mode/dotDefaultMode.module.css +5 -5
- package/src/Attachment/Attachment.module.css +4 -4
- package/src/ImportantNotes/ImportantNotes.js +3 -4
- package/src/ImportantNotes/ImportantNotes.module.css +1 -1
- package/src/ToastMessage/ToastMessage.module.css +3 -3
- package/src/Upload/Upload.module.css +1 -1
- package/src/alert/AlertLookup/AlertLookup.module.css +1 -1
- package/src/emptystate/CommonEmptyState/CommonEmptyState.module.css +5 -2
- package/src/errorstate/EmptyStates.module.css +3 -3
- package/src/errorstate/PermissionPlay/PermissionPlay.module.css +1 -1
- package/src/form/fields/Fields.module.css +1 -1
- package/src/form/layout/Field/Field.js +3 -4
- package/src/form/layout/Section/Section.js +10 -14
- package/src/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
- package/src/list/listCommon.module.css +1 -1
- package/src/lookup/header/Close/LookupClose.module.css +1 -1
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +3 -9
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +8 -21
- package/src/lookup/header/TicketHeader/TicketHeader.js +4 -7
- package/src/lookup/header/ViewDropDown/ViewDropDown.module.css +1 -1
- package/src/lookup/header/lookupHeaderCommon.module.css +0 -6
- package/src/setup/header/Search/Search.module.css +1 -1
- package/src/setup/header/Views/Views.module.css +1 -1
- package/src/setup/helptips/Description/HelpTipsDescription.module.css +1 -1
- package/src/version2/GlobalNotification/GlobalNotification.module.css +1 -1
- package/src/version2/errorstate/V2_ErrorStates.module.css +3 -2
- package/src/version2/lookup/AlertHeader/AlertHeaderNew.module.css +1 -1
- package/src/version2/lookup/AlertLookup/AlertLookupNew.module.css +1 -1
- package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -2
- package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +3 -3
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
}
|
|
59
59
|
.medium .atatchName {
|
|
60
60
|
font-size: var(--zd_font_size14);
|
|
61
|
-
line-height:
|
|
61
|
+
line-height: 1.42;
|
|
62
62
|
}
|
|
63
63
|
.small .atatchName {
|
|
64
64
|
font-size: var(--zd_font_size12);
|
|
65
|
-
line-height:
|
|
65
|
+
line-height: 1.25;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.attachSize {
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
.medium .attachDownload {
|
|
91
91
|
height: var(--zd_size25);
|
|
92
92
|
width: var(--zd_size25);
|
|
93
|
-
line-height:
|
|
93
|
+
line-height: 1.4375;
|
|
94
94
|
}
|
|
95
95
|
.small .attachDownload {
|
|
96
96
|
height: var(--zd_size20);
|
|
97
97
|
width: var(--zd_size20);
|
|
98
|
-
line-height:
|
|
98
|
+
line-height: 1.125;
|
|
99
99
|
}
|
|
100
100
|
.attachDownload:hover {
|
|
101
101
|
background-color: var(--zdt_attachment_download_hover_bg);
|
|
@@ -10,14 +10,14 @@ export default class ImportantNotes extends React.Component {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
render() {
|
|
13
|
-
let { text, iconName, iconSize, children, iconClass, isCover
|
|
13
|
+
let { text, iconName, iconSize, children, iconClass, isCover } = this.props;
|
|
14
14
|
return (
|
|
15
15
|
<Container
|
|
16
16
|
isInline={!isCover}
|
|
17
17
|
isCover={false}
|
|
18
18
|
alignBox='row'
|
|
19
19
|
align='top'
|
|
20
|
-
className={
|
|
20
|
+
className={style.section}
|
|
21
21
|
>
|
|
22
22
|
{iconName ? (
|
|
23
23
|
<Box className={style.icon} align='start'>
|
|
@@ -40,8 +40,7 @@ ImportantNotes.propTypes = {
|
|
|
40
40
|
iconName: PropTypes.string,
|
|
41
41
|
iconSize: PropTypes.string,
|
|
42
42
|
isCover: PropTypes.bool,
|
|
43
|
-
text: PropTypes.string
|
|
44
|
-
className: PropTypes.string
|
|
43
|
+
text: PropTypes.string
|
|
45
44
|
};
|
|
46
45
|
ImportantNotes.defaultProps = {
|
|
47
46
|
iconName: 'ZD-helpCentre',
|
|
@@ -139,14 +139,14 @@
|
|
|
139
139
|
font-size: var(--zd_font_size12);
|
|
140
140
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
141
141
|
margin-top: var(--zd_size5);
|
|
142
|
-
line-height:
|
|
142
|
+
line-height: 1.33;
|
|
143
143
|
color: var(--zdt_toastmessage_alert_text);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.buttonText {
|
|
147
147
|
font-size: inherit;
|
|
148
148
|
text-align: center;
|
|
149
|
-
line-height:
|
|
149
|
+
line-height: 0.875;
|
|
150
150
|
padding: 0 var(--zd_size7);
|
|
151
151
|
cursor: pointer;
|
|
152
152
|
}
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
.fill {
|
|
222
222
|
width: var(--zd_size29);
|
|
223
223
|
height: var(--zd_size29);
|
|
224
|
-
line-height:
|
|
224
|
+
line-height: 1.8125;
|
|
225
225
|
text-align: center;
|
|
226
226
|
composes: rounded from '~@zohodesk/components/lib/common/common.module.css';
|
|
227
227
|
}
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
}
|
|
28
28
|
.title {
|
|
29
29
|
font-size: var(--zd_font_size50);
|
|
30
|
-
line-height:
|
|
30
|
+
line-height: 1.4;
|
|
31
31
|
}
|
|
32
32
|
.tabletTitle {
|
|
33
33
|
font-size: var(--zd_font_size24);
|
|
34
|
-
line-height:
|
|
34
|
+
line-height: 2.08;
|
|
35
35
|
}
|
|
36
36
|
.mobileTitle {
|
|
37
37
|
font-size: var(--zd_font_size22);
|
|
38
|
-
line-height:
|
|
38
|
+
line-height: 1.36;
|
|
39
39
|
}
|
|
40
40
|
.subtitle {
|
|
41
41
|
font-size: var(--zd_font_size30);
|
|
@@ -16,10 +16,9 @@ export default class Field extends Component {
|
|
|
16
16
|
return (
|
|
17
17
|
<React.Fragment>
|
|
18
18
|
<div
|
|
19
|
-
className={`${
|
|
20
|
-
column == 'single' ? `${style.singleColumn}` : `${style[width]}`
|
|
21
|
-
}
|
|
22
|
-
data-id={dataId}
|
|
19
|
+
className={`${containerClass ? containerClass : ''} ${
|
|
20
|
+
column == 'single' ? `${style.singleColumn}` : `${style[width]} `
|
|
21
|
+
}`} data-id={dataId}
|
|
23
22
|
>
|
|
24
23
|
<div
|
|
25
24
|
className={`${className ? className : ''} ${`fieldWidth_${width}`}`}
|
|
@@ -14,21 +14,18 @@ export default class Section extends Component {
|
|
|
14
14
|
titleClass,
|
|
15
15
|
className,
|
|
16
16
|
column,
|
|
17
|
-
formName
|
|
18
|
-
innerContainerClass
|
|
17
|
+
formName
|
|
19
18
|
} = this.props;
|
|
20
19
|
return (
|
|
21
20
|
<div data-id={dataId} className={containerClass ? containerClass : ''}>
|
|
22
|
-
<div className={
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
{this.props.children}
|
|
31
|
-
</div>
|
|
21
|
+
{title && <div className={titleClass ? titleClass : ''}>{title}</div>}
|
|
22
|
+
<div
|
|
23
|
+
className={`${className ? className : ''} ${
|
|
24
|
+
column == 'single' ? style.singleColumn : ''
|
|
25
|
+
}`}
|
|
26
|
+
data-id={formName && formName}
|
|
27
|
+
>
|
|
28
|
+
{this.props.children}
|
|
32
29
|
</div>
|
|
33
30
|
</div>
|
|
34
31
|
);
|
|
@@ -40,8 +37,7 @@ Section.propTypes = {
|
|
|
40
37
|
containerClass: PropTypes.string,
|
|
41
38
|
dataId: PropTypes.string,
|
|
42
39
|
title: PropTypes.string,
|
|
43
|
-
titleClass: PropTypes.string
|
|
44
|
-
innerContainerClass: PropTypes.string
|
|
40
|
+
titleClass: PropTypes.string
|
|
45
41
|
};
|
|
46
42
|
if (__DOCS__) {
|
|
47
43
|
Section.docs = {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
color: var(--zdt_setupdetail_backicon);
|
|
16
16
|
margin-left: var(--zd_size19);
|
|
17
17
|
border-radius: 50%;
|
|
18
|
-
line-height:
|
|
18
|
+
line-height: 2.5;
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
.title {
|
|
26
26
|
font-size: var(--zd_font_size16);
|
|
27
|
-
line-height:
|
|
27
|
+
line-height: 1;
|
|
28
28
|
padding-right: var(--zd_size12);
|
|
29
29
|
font-family: var(--zd_semibold);
|
|
30
30
|
color: var(--zdt_setupdetail_backicon);
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
.helpInfo {
|
|
44
44
|
border: 1px solid var(--zdt_setupdetail_helpinfo);
|
|
45
45
|
border-radius: 2px;
|
|
46
|
-
line-height:
|
|
46
|
+
line-height: 2.36;
|
|
47
47
|
height: var(--zd_size28);
|
|
48
48
|
width: var(--zd_size28);
|
|
49
49
|
color: var(--zdt_setupdetail_helpinfo_text);
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
text-align: center;
|
|
96
96
|
border: 1px solid var(--zdt_setupdetail_infoicon_border);
|
|
97
97
|
border-radius: 2px;
|
|
98
|
-
line-height:
|
|
98
|
+
line-height: 2;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.infoText {
|
|
@@ -29,14 +29,13 @@ export default class ModuleHeader extends PureComponent {
|
|
|
29
29
|
miniDescription,
|
|
30
30
|
dataId,
|
|
31
31
|
closeTitle,
|
|
32
|
-
onSearchKeyDown
|
|
33
|
-
palette
|
|
32
|
+
onSearchKeyDown
|
|
34
33
|
} = this.props;
|
|
35
34
|
return (
|
|
36
35
|
<Container
|
|
37
36
|
align='vertical'
|
|
38
37
|
alignBox='row'
|
|
39
|
-
className={`${commonStyle.container}
|
|
38
|
+
className={`${commonStyle.container}`}
|
|
40
39
|
isCover={false}
|
|
41
40
|
wrap='wrap'
|
|
42
41
|
dataId={dataId}
|
|
@@ -88,14 +87,9 @@ ModuleHeader.propTypes = {
|
|
|
88
87
|
title: PropTypes.string,
|
|
89
88
|
dataId: PropTypes.string,
|
|
90
89
|
closeTitle: PropTypes.string,
|
|
91
|
-
onSearchKeyDown: PropTypes.func
|
|
92
|
-
palette: PropTypes.oneOf(['default', 'white'])
|
|
90
|
+
onSearchKeyDown: PropTypes.func
|
|
93
91
|
};
|
|
94
92
|
|
|
95
|
-
ModuleHeader.defaultProps = {
|
|
96
|
-
palette: 'default'
|
|
97
|
-
}
|
|
98
|
-
|
|
99
93
|
if (__DOCS__) {
|
|
100
94
|
ModuleHeader.docs = {
|
|
101
95
|
componentGroup: 'Lookup'
|
|
@@ -22,27 +22,14 @@ export default class ModuleHeader__default extends Component {
|
|
|
22
22
|
render() {
|
|
23
23
|
let { searchStr } = this.state;
|
|
24
24
|
return (
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
onLookupClose={()=>{}}
|
|
34
|
-
/>
|
|
35
|
-
<ModuleHeader
|
|
36
|
-
title='Find Duplicate'
|
|
37
|
-
needSearch
|
|
38
|
-
searchStr={searchStr}
|
|
39
|
-
onSearchChange={this.handleSearch}
|
|
40
|
-
searchPlaceHolder='Search'
|
|
41
|
-
miniDescription="Select a field to search for duplicate records"
|
|
42
|
-
onLookupClose={()=>{}}
|
|
43
|
-
palette='white'
|
|
44
|
-
/>
|
|
45
|
-
</div>
|
|
25
|
+
<ModuleHeader
|
|
26
|
+
title='Find Duplicate'
|
|
27
|
+
needSearch
|
|
28
|
+
searchStr={searchStr}
|
|
29
|
+
onSearchChange={this.handleSearch}
|
|
30
|
+
searchPlaceHolder='Search'
|
|
31
|
+
miniDescription="Select a field to search for duplicate records"
|
|
32
|
+
/>
|
|
46
33
|
);
|
|
47
34
|
}
|
|
48
35
|
}
|
|
@@ -32,15 +32,14 @@ export default class TicketHeader extends Component {
|
|
|
32
32
|
needOnTypeSearch,
|
|
33
33
|
getSearchBoxRef,
|
|
34
34
|
needViewsList,
|
|
35
|
-
i18nKeys
|
|
36
|
-
palette
|
|
35
|
+
i18nKeys
|
|
37
36
|
} = this.props;
|
|
38
37
|
let { menuEmptyMessage = 'No matches found' } = i18nKeys;
|
|
39
38
|
return (
|
|
40
39
|
<Container
|
|
41
40
|
align='vertical'
|
|
42
41
|
alignBox='row'
|
|
43
|
-
className={`${commonStyle.container} ${
|
|
42
|
+
className={`${commonStyle.container} ${commonResponsive.container} ${style.container}`}
|
|
44
43
|
isCover={false}
|
|
45
44
|
wrap='wrap'
|
|
46
45
|
>
|
|
@@ -110,13 +109,11 @@ TicketHeader.propTypes = {
|
|
|
110
109
|
title: PropTypes.string,
|
|
111
110
|
i18nKeys: PropTypes.shape({
|
|
112
111
|
menuEmptyMessage: PropTypes.string
|
|
113
|
-
})
|
|
114
|
-
palette: PropTypes.oneOf(['default', 'white'])
|
|
112
|
+
})
|
|
115
113
|
};
|
|
116
114
|
|
|
117
115
|
TicketHeader.defaultProps = {
|
|
118
|
-
i18nKeys: {}
|
|
119
|
-
palette: 'default'
|
|
116
|
+
i18nKeys: {}
|
|
120
117
|
};
|
|
121
118
|
|
|
122
119
|
if (__DOCS__) {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.labelCnt {
|
|
28
28
|
composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
|
|
29
29
|
padding: 0 var(--zd_size12);
|
|
30
|
-
line-height:
|
|
30
|
+
line-height: 1.25;
|
|
31
31
|
cursor: pointer;
|
|
32
32
|
color: var(--zdt_viewdropdown_label_text);
|
|
33
33
|
}
|
|
@@ -2,15 +2,9 @@
|
|
|
2
2
|
min-height: var(--zd_size51);
|
|
3
3
|
position: relative;
|
|
4
4
|
padding: 0 var(--zd_size52) 0 var(--zd_size10);
|
|
5
|
-
}
|
|
6
|
-
.default {
|
|
7
5
|
background-color: var(--zdt_lookupheader_default_bg);
|
|
8
6
|
border-bottom: solid 1px var(--zdt_lookupheader_default_border);
|
|
9
7
|
}
|
|
10
|
-
.white {
|
|
11
|
-
background-color: var(--dot_white);
|
|
12
|
-
border-bottom: solid 1px var(--zdt_cta_grey_35_border);
|
|
13
|
-
}
|
|
14
8
|
.searchContainer,
|
|
15
9
|
.title {
|
|
16
10
|
margin: 0 var(--zd_size20);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
font-family: var(--zd_bold);
|
|
9
9
|
}
|
|
10
10
|
.desc {
|
|
11
|
-
line-height:
|
|
11
|
+
line-height: 1.69;
|
|
12
12
|
}
|
|
13
13
|
.large .errorState {
|
|
14
14
|
width: var(--zd_size450);
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
}
|
|
32
32
|
.medium .desc,
|
|
33
33
|
.small .desc {
|
|
34
|
-
font-size: var(--zd_font_size13)
|
|
34
|
+
font-size: var(--zd_font_size13);
|
|
35
|
+
line-height: 1.69;
|
|
35
36
|
}
|
|
36
37
|
.small .errorState {
|
|
37
38
|
width: var(--zd_size230);
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
color: var(--zdt_alertlookupnew_text);
|
|
48
48
|
margin: 0 var(--zd_size5) 0 var(--zd_size10);
|
|
49
49
|
font-size: var(--zd_font_size18);
|
|
50
|
-
line-height:
|
|
50
|
+
line-height: 1.2;
|
|
51
51
|
font-family: var(--zd_bold);
|
|
52
52
|
composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
53
53
|
vertical-align: middle;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
padding: var(--zd_size17) var(--zd_size30) var(--zd_size30);
|
|
7
7
|
color: var(--zdt_alertlookupnew_text);
|
|
8
8
|
font-size: var(--zd_font_size14);
|
|
9
|
-
line-height:
|
|
9
|
+
line-height: 1.28;
|
|
10
10
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
.subTitle {
|
|
71
71
|
font-size: var(--zd_font_size15);
|
|
72
|
-
line-height:
|
|
72
|
+
line-height: 1.3;
|
|
73
73
|
font-family: var(--zd_semibold);
|
|
74
74
|
composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
75
75
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
.infoText {
|
|
80
80
|
font-size: var(--zd_font_size14);
|
|
81
|
-
line-height:
|
|
81
|
+
line-height: 1.28;
|
|
82
82
|
composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
83
83
|
}
|
|
84
84
|
.secondaryInfo {
|
package/src/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
.title {
|
|
16
16
|
margin: 0 var(--zd_size5) 0 var(--zd_size10);
|
|
17
17
|
font-size: var(--zd_font_size18);
|
|
18
|
-
line-height:
|
|
18
|
+
line-height: 1.2;
|
|
19
19
|
font-family: var(--zd_bold);
|
|
20
20
|
composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
|
|
21
21
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.primary .infoText {
|
|
63
|
-
line-height:
|
|
63
|
+
line-height: 1.28;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.primary .close {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.secondary .infoText {
|
|
80
|
-
line-height:
|
|
80
|
+
line-height: 1.42;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.secondary .iconContainer {
|