@zohodesk/dot 1.0.0-temp-48 → 1.0.0-temp-52
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 +89 -30
- package/es/ActionButton/ActionButton.module.css +25 -9
- package/es/AlphabeticList/AlphabeticList.module.css +7 -4
- package/es/Appearance/dark/mode/dotDarkMode.module.css +5 -4
- package/es/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +2 -0
- package/es/Appearance/dark/themes/green/greenDarkDotTheme.module.css +2 -0
- package/es/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +2 -0
- package/es/Appearance/dark/themes/red/redDarkDotTheme.module.css +2 -0
- package/es/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +2 -0
- package/es/Appearance/default/mode/dotDefaultMode.module.css +5 -4
- package/es/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +2 -0
- package/es/Appearance/default/themes/green/greenDefaultDotTheme.module.css +2 -0
- package/es/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +2 -0
- package/es/Appearance/default/themes/red/redDefaultDotTheme.module.css +2 -0
- package/es/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +2 -0
- package/es/Attachment/Attachment.module.css +20 -9
- package/es/ChannelIcon/ChannelIcon.module.css +30 -21
- package/es/Drawer/Drawer.module.css +59 -11
- package/es/FlipCard/FlipCard.module.css +14 -5
- package/es/FormAction/FormAction.module.css +34 -9
- package/es/FreezeLayer/FreezeLayer.module.css +7 -3
- package/es/IconButton/IconButton.module.css +1 -1
- package/es/ImportantNotes/ImportantNotes.module.css +7 -2
- package/es/Link/Link.js +1 -1
- package/es/Loader/Loader.module.css +25 -4
- package/es/Message/Message.module.css +42 -9
- package/es/MessageBanner/MessageBanner.js +10 -5
- package/es/MessageBanner/MessageBanner.module.css +13 -4
- package/es/NewStar/NewStar.module.css +43 -6
- package/es/Provider.js +7 -1
- package/es/ToastMessage/ToastMessage.module.css +98 -29
- package/es/Upload/Upload.module.css +27 -8
- package/es/alert/AlertHeader/AlertHeader.module.css +21 -3
- package/es/alert/AlertLookup/AlertLookup.module.css +6 -2
- package/es/avatar/AvatarClose/AvatarClose.module.css +9 -3
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +18 -4
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +3 -4
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +59 -9
- package/es/avatar/AvatarThread/AvatarThread.js +7 -5
- package/es/avatar/AvatarThread/AvatarThread.module.css +55 -5
- package/es/avatar/AvatarUser/AvatarUser.module.css +81 -10
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +10 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -3
- package/es/docs/setupDocs.js +1 -3
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +19 -6
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +12 -4
- package/es/emptystate/EditionPage/EditionPage.css +9 -3
- package/es/errorstate/EmptyStates.module.css +13 -10
- package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -0
- package/es/errorstate/LinkText/LinkText.module.css +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
- package/es/errorstate/WillBack/WillBack.module.css +1 -3
- package/es/form/fields/Fields.module.css +48 -12
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +19 -7
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +4 -1
- package/es/form/fields/TextEditor/TextEditor.js +1 -1
- package/es/form/fields/TextEditor/TextEditor.module.css +143 -71
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +14 -3
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +9 -4
- package/es/form/layout/Section/Section.js +7 -3
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +52 -16
- package/es/layout/SubtabLayout/SubtabLayout.module.css +55 -29
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +4 -1
- package/es/list/Comment/Comment.module.css +5 -0
- package/es/list/DotNew/DotNew.module.css +3 -3
- package/es/list/GridStencils/GridStencils.module.css +72 -18
- package/es/list/Icons/Icons.module.css +1 -1
- package/es/list/ListLayout/ListLayout.js +10 -4
- package/es/list/ListLayout/ListLayout.module.css +34 -12
- package/es/list/ListStencils/ListStencils.module.css +11 -6
- package/es/list/SecondaryText/SecondaryText.module.css +13 -3
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +2 -2
- package/es/list/SentimentStatus/SentimentStatus.module.css +4 -1
- package/es/list/TagNew/TagNew.module.css +14 -7
- package/es/list/Thread/Thread.module.css +13 -1
- package/es/list/UserTime/UserTime.module.css +6 -0
- package/es/list/listCommon.module.css +9 -1
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +19 -6
- package/es/list/status/StatusListItem/StatusListItem.module.css +38 -15
- 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 +4 -4
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +8 -3
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +13 -3
- package/es/lookup/header/Search/LookupSearch.module.css +21 -12
- package/es/lookup/header/TicketHeader/TicketHeader.js +7 -4
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +5 -2
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +9 -4
- package/es/lookup/header/lookupHeaderCommon.module.css +22 -6
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +12 -3
- package/es/setup/header/Button/HeaderButton.module.css +3 -1
- package/es/setup/header/Link/HeaderLink.module.css +7 -1
- package/es/setup/header/Search/Search.module.css +19 -8
- package/es/setup/header/Views/Views.module.css +15 -5
- package/es/setup/helptips/Link/HelpTipsLink.module.css +1 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +6 -1
- package/es/setup/table/TableData/SetupTableData.module.css +11 -3
- package/es/setup/table/TableHead/SetupTableHead.module.css +4 -0
- package/es/setup/table/TableRow/SetupTableRow.module.css +6 -2
- package/es/version2/AlertClose/AlertClose.module.css +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.module.css +44 -9
- package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +25 -2
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +7 -3
- package/es/version2/lookup/alertLookupCommonNew.module.css +8 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +28 -14
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +47 -10
- package/lib/Appearance/dark/mode/dotDarkMode.module.css +5 -4
- package/lib/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +2 -0
- package/lib/Appearance/dark/themes/green/greenDarkDotTheme.module.css +2 -0
- package/lib/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +2 -0
- package/lib/Appearance/dark/themes/red/redDarkDotTheme.module.css +2 -0
- package/lib/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +2 -0
- package/lib/Appearance/default/mode/dotDefaultMode.module.css +5 -4
- package/lib/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +2 -0
- package/lib/Appearance/default/themes/green/greenDefaultDotTheme.module.css +2 -0
- package/lib/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +2 -0
- package/lib/Appearance/default/themes/red/redDefaultDotTheme.module.css +2 -0
- package/lib/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +2 -0
- package/lib/FreezeLayer/FreezeLayer.module.css +1 -1
- package/lib/Link/Link.js +1 -1
- package/lib/MessageBanner/MessageBanner.js +10 -5
- package/lib/MessageBanner/MessageBanner.module.css +4 -3
- package/lib/NewStar/NewStar.module.css +2 -2
- package/lib/Provider.js +8 -1
- package/lib/ToastMessage/ToastMessage.module.css +4 -8
- package/lib/avatar/AvatarThread/AvatarThread.js +7 -5
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -2
- package/lib/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +3 -3
- package/lib/form/layout/Section/Section.js +7 -3
- package/lib/list/GridStencils/GridStencils.module.css +4 -4
- package/lib/list/ListLayout/ListLayout.js +11 -5
- package/lib/list/ListLayout/ListLayout.module.css +29 -4
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +8 -3
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +13 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.js +7 -4
- package/lib/lookup/header/lookupHeaderCommon.module.css +6 -0
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -8
- package/package.json +7 -7
- package/src/Appearance/dark/mode/dotDarkMode.module.css +5 -4
- package/src/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +2 -0
- package/src/Appearance/dark/themes/green/greenDarkDotTheme.module.css +2 -0
- package/src/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +2 -0
- package/src/Appearance/dark/themes/red/redDarkDotTheme.module.css +2 -0
- package/src/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +2 -0
- package/src/Appearance/default/mode/dotDefaultMode.module.css +5 -4
- package/src/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +2 -0
- package/src/Appearance/default/themes/green/greenDefaultDotTheme.module.css +2 -0
- package/src/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +2 -0
- package/src/Appearance/default/themes/red/redDefaultDotTheme.module.css +2 -0
- package/src/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +2 -0
- package/src/FreezeLayer/FreezeLayer.module.css +1 -1
- package/src/Link/Link.js +3 -1
- package/src/MessageBanner/MessageBanner.js +10 -6
- package/src/MessageBanner/MessageBanner.module.css +3 -2
- package/src/NewStar/NewStar.module.css +1 -1
- package/src/Provider.js +3 -0
- package/src/ToastMessage/ToastMessage.module.css +2 -4
- package/src/avatar/AvatarThread/AvatarThread.js +8 -3
- package/src/docs/setupDocs.js +0 -2
- package/src/form/fields/TextEditor/TextEditor.js +1 -1
- package/src/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -2
- package/src/form/layout/Section/Section.js +14 -10
- package/src/list/GridStencils/GridStencils.module.css +2 -2
- package/src/list/ListLayout/ListLayout.js +11 -5
- package/src/list/ListLayout/ListLayout.module.css +18 -4
- package/src/lookup/header/ModuleHeader/ModuleHeader.js +9 -3
- package/src/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +21 -8
- package/src/lookup/header/TicketHeader/TicketHeader.js +7 -4
- package/src/lookup/header/lookupHeaderCommon.module.css +6 -0
- package/src/version2/notification/DesktopNotification/DesktopNotification.module.css +2 -4
- package/es/deprecated/Theme/dotDarkTheme.module.css +0 -532
- package/es/deprecated/Theme/dotDefaultTheme.module.css +0 -532
- package/es/deprecated/Theme/palette/darkPalette.module.css +0 -40
- package/es/deprecated/Theme/palette/defaultPalette.module.css +0 -40
- package/lib/deprecated/Theme/dotDarkTheme.module.css +0 -532
- package/lib/deprecated/Theme/dotDefaultTheme.module.css +0 -532
- package/lib/deprecated/Theme/palette/darkPalette.module.css +0 -40
- package/lib/deprecated/Theme/palette/defaultPalette.module.css +0 -40
- package/src/deprecated/Theme/dotDarkTheme.module.css +0 -532
- package/src/deprecated/Theme/dotDefaultTheme.module.css +0 -532
- package/src/deprecated/Theme/palette/darkPalette.module.css +0 -40
- package/src/deprecated/Theme/palette/defaultPalette.module.css +0 -40
|
@@ -39,16 +39,12 @@
|
|
|
39
39
|
composes: modeForward from '~@zohodesk/components/lib/common/animation.module.css';
|
|
40
40
|
}
|
|
41
41
|
[dir=ltr] .animation {
|
|
42
|
-
animation-duration:
|
|
43
|
-
-webkit-animation-duration:
|
|
44
|
-
-moz-animation-duration: 0.4s;
|
|
45
|
-
-ms-animation-duration: 0.4s;
|
|
42
|
+
animation-duration: var(--zd_transition4);
|
|
43
|
+
-webkit-animation-duration: var(--zd_transition4);
|
|
46
44
|
}
|
|
47
45
|
[dir=rtl] .animation {
|
|
48
|
-
animation-duration:
|
|
49
|
-
-webkit-animation-duration:
|
|
50
|
-
-moz-animation-duration: 0.4s;
|
|
51
|
-
-ms-animation-duration: 0.4s;
|
|
46
|
+
animation-duration: var(--zd_transition4);
|
|
47
|
+
-webkit-animation-duration: var(--zd_transition4);
|
|
52
48
|
}
|
|
53
49
|
.leftanimate {
|
|
54
50
|
composes: slideLeft from '~@zohodesk/components/lib/common/animation.module.css';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/dot",
|
|
3
|
-
"version": "1.0.0-temp-
|
|
3
|
+
"version": "1.0.0-temp-52",
|
|
4
4
|
"main": "lib/index",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"jsnext:main": "es/index.js",
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
"dependencies": {},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"velocity-react": "^1.4.3",
|
|
33
|
-
"@zohodesk/variables": "1.0.0-beta.
|
|
33
|
+
"@zohodesk/variables": "1.0.0-beta.25",
|
|
34
34
|
"@zohodesk/i18n": "^1.0.0-beta.7",
|
|
35
|
-
"@zohodesk/components": "1.0.0-alpha-
|
|
35
|
+
"@zohodesk/components": "1.0.0-alpha-219",
|
|
36
36
|
"@zohodesk/icons": "1.0.0-beta.85",
|
|
37
|
-
"@zohodesk/svg": "1.0.0-beta.
|
|
37
|
+
"@zohodesk/svg": "1.0.0-beta.37",
|
|
38
38
|
"@zohodesk/virtualizer": "1.0.3",
|
|
39
39
|
"react-sortable-hoc": "^0.8.3"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"velocity-react": "^1.4.3",
|
|
43
|
-
"@zohodesk/variables": "^1.0.0-beta.
|
|
43
|
+
"@zohodesk/variables": "^1.0.0-beta.25",
|
|
44
44
|
"@zohodesk/i18n": "^1.0.0-beta.7",
|
|
45
|
-
"@zohodesk/components": "1.0.0-alpha-
|
|
45
|
+
"@zohodesk/components": "1.0.0-alpha-219",
|
|
46
46
|
"@zohodesk/icons": "^1.0.0-beta.85",
|
|
47
|
-
"@zohodesk/svg": "^1.0.0-beta.
|
|
47
|
+
"@zohodesk/svg": "^1.0.0-beta.37"
|
|
48
48
|
},
|
|
49
49
|
"react-cli": {
|
|
50
50
|
"app": {
|
|
@@ -114,8 +114,6 @@
|
|
|
114
114
|
--zdt_commonEmptyState_default_description: #a8b0bd;
|
|
115
115
|
--zdt_commonEmptyState_default_link: var(--zdt_cta_primary_text);
|
|
116
116
|
--zdt_commonEmptyState_default_link_hover: var(--zdt_cta_primary_hover_text);
|
|
117
|
-
--zdt_commonEmptyState_dark_title: #fff;
|
|
118
|
-
--zdt_commonEmptyState_dark_description: #fff;
|
|
119
117
|
|
|
120
118
|
/* edition page */
|
|
121
119
|
--zdt_editionpage_footer_text: var(--zd_text_smoke5);
|
|
@@ -232,8 +230,10 @@
|
|
|
232
230
|
|
|
233
231
|
/* list layout */
|
|
234
232
|
--zdt_listLayout_border: var(--zdt_cta_grey_15_border);
|
|
235
|
-
--
|
|
236
|
-
--
|
|
233
|
+
--zdt_listLayout_hover_bg: var(--dot_listItemHover);
|
|
234
|
+
--zdt_listLayout_active_bg: var(--dot_listItemActive);
|
|
235
|
+
--zdt_listLayout_active_border: var(--zdt_cta_primary_border);
|
|
236
|
+
--zdt_listLayout_keyboard_active_border:#828994;
|
|
237
237
|
|
|
238
238
|
/* list stencils */
|
|
239
239
|
--zdt_liststencils_innercontainer_border: var(--zdt_cta_grey_15_border);
|
|
@@ -296,6 +296,7 @@
|
|
|
296
296
|
|
|
297
297
|
/* lookup header common */
|
|
298
298
|
--zdt_lookupheader_default_bg: var(--zdt_cta_grey_10_bg);
|
|
299
|
+
--zdt_lookupheader_white_bg: #262f3d;
|
|
299
300
|
--zdt_lookupheader_default_border: var(--zdt_cta_grey_35_border);
|
|
300
301
|
--zdt_lookupheader_para_text: #a8b0bd;
|
|
301
302
|
--zdt_lookupheader_input_border: var(--zd_border_smoke33);
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(27, 33, 43, 0.9);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #479dff;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #2469ff;
|
|
8
10
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(27, 33, 43, 0.9);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #45a159;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #0e7c1c;
|
|
8
10
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(27, 33, 43, 0.9);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #ff801f;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #a85100;
|
|
8
10
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(27, 33, 43, 0.9);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #e94f4f;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #a81111;
|
|
8
10
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(27, 33, 43, 0.9);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #d79835;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #9b6808;
|
|
8
10
|
}
|
|
@@ -114,8 +114,6 @@
|
|
|
114
114
|
--zdt_commonEmptyState_default_description: var(--dot_text_shuttleGrey);
|
|
115
115
|
--zdt_commonEmptyState_default_link: var(--zdt_cta_primary_text);
|
|
116
116
|
--zdt_commonEmptyState_default_link_hover: var(--zdt_cta_primary_hover_text);
|
|
117
|
-
--zdt_commonEmptyState_dark_title: #fff;
|
|
118
|
-
--zdt_commonEmptyState_dark_description: #fff;
|
|
119
117
|
|
|
120
118
|
/* edition page */
|
|
121
119
|
--zdt_editionpage_footer_text: var(--zd_text_smoke5);
|
|
@@ -232,8 +230,10 @@
|
|
|
232
230
|
|
|
233
231
|
/* list layout */
|
|
234
232
|
--zdt_listLayout_border: var(--zdt_cta_grey_15_border);
|
|
235
|
-
--
|
|
236
|
-
--
|
|
233
|
+
--zdt_listLayout_hover_bg: var(--dot_listItemHover);
|
|
234
|
+
--zdt_listLayout_active_bg: var(--dot_listItemActive);
|
|
235
|
+
--zdt_listLayout_active_border: var(--zdt_cta_primary_border);
|
|
236
|
+
--zdt_listLayout_keyboard_active_border:var(--dot_border_slateGrey);
|
|
237
237
|
|
|
238
238
|
/* list stencils */
|
|
239
239
|
--zdt_liststencils_innercontainer_border: var(--zdt_cta_grey_15_border);
|
|
@@ -296,6 +296,7 @@
|
|
|
296
296
|
|
|
297
297
|
/* lookup header common */
|
|
298
298
|
--zdt_lookupheader_default_bg: var(--zdt_cta_grey_10_bg);
|
|
299
|
+
--zdt_lookupheader_white_bg: var(--dot_bg_white);
|
|
299
300
|
--zdt_lookupheader_default_border: var(--zdt_cta_grey_35_border);
|
|
300
301
|
--zdt_lookupheader_para_text: var(--dot_text_shuttleGrey);
|
|
301
302
|
--zdt_lookupheader_input_border: var(--zd_border_smoke33);
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(44, 51, 77, 0.94);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #6cbbfc;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #2469ff;
|
|
8
10
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(15, 34, 38, 0.94);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #4ac064;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #0e7526;
|
|
8
10
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(36, 30, 19, 0.94);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #e57717;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #b25900;
|
|
8
10
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(34, 15, 27, 0.94);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #ff6363;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #ab1a18;
|
|
8
10
|
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--zdt_freezelayer_darklight_bg: rgba(34, 36, 18, 0.94);
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_text_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_text_white);
|
|
6
8
|
--zdt_commonEmptyState_dark_link: #e8b923;
|
|
7
9
|
--zdt_commonEmptyState_dark_link_hover: #b59100;
|
|
8
10
|
}
|
package/src/Link/Link.js
CHANGED
|
@@ -15,20 +15,22 @@ export default class MessageBanner extends React.Component {
|
|
|
15
15
|
onClick,
|
|
16
16
|
urlText,
|
|
17
17
|
palette,
|
|
18
|
-
customClass
|
|
18
|
+
customClass,
|
|
19
|
+
dataId
|
|
19
20
|
} = this.props;
|
|
20
21
|
|
|
21
22
|
return (
|
|
22
23
|
<Container
|
|
23
|
-
className={`${style[`type_${
|
|
24
|
-
style[`palette_${
|
|
24
|
+
className={`${style[`type_${type}`]} ${
|
|
25
|
+
style[`palette_${palette}`]
|
|
25
26
|
} ${customClass}`}
|
|
26
27
|
alignBox='row'
|
|
27
28
|
isCover={false}
|
|
29
|
+
dataId={dataId}
|
|
28
30
|
>
|
|
29
31
|
<Box className={style.content} flexible>
|
|
30
32
|
<Container alignBox='row' align='both'>
|
|
31
|
-
<Box className={style.message} adjust shrink>
|
|
33
|
+
<Box className={style.message} adjust shrink data-title={message}>
|
|
32
34
|
{message}
|
|
33
35
|
</Box>
|
|
34
36
|
{href && (
|
|
@@ -59,7 +61,8 @@ export default class MessageBanner extends React.Component {
|
|
|
59
61
|
MessageBanner.defaultProps = {
|
|
60
62
|
type: 'primary',
|
|
61
63
|
palette: 'default',
|
|
62
|
-
customClass: ''
|
|
64
|
+
customClass: '',
|
|
65
|
+
dataId:'MessageBanner'
|
|
63
66
|
};
|
|
64
67
|
MessageBanner.propTypes = {
|
|
65
68
|
customClass: PropTypes.string,
|
|
@@ -69,7 +72,8 @@ MessageBanner.propTypes = {
|
|
|
69
72
|
onClose: PropTypes.func,
|
|
70
73
|
palette: PropTypes.oneOf(['default', 'blue', 'white']),
|
|
71
74
|
type: PropTypes.oneOf(['primary', 'secondary']),
|
|
72
|
-
urlText: PropTypes.string
|
|
75
|
+
urlText: PropTypes.string,
|
|
76
|
+
dataId:PropTypes.string
|
|
73
77
|
};
|
|
74
78
|
|
|
75
79
|
if (__DOCS__) {
|
|
@@ -6,15 +6,16 @@
|
|
|
6
6
|
margin: 0 auto;
|
|
7
7
|
}
|
|
8
8
|
.message {
|
|
9
|
-
padding: var(--zd_size10)
|
|
9
|
+
padding: var(--zd_size10) 0;
|
|
10
10
|
color: var(--zdt_messagebanner_text);
|
|
11
|
-
margin:
|
|
11
|
+
margin-left: var(--zd_size10);
|
|
12
12
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
13
13
|
}
|
|
14
14
|
.link {
|
|
15
15
|
color: var(--zdt_messagebanner_link_text);
|
|
16
16
|
margin-left: var(--zd_size5);
|
|
17
17
|
}
|
|
18
|
+
.message,.link{font-size: var(--zd_font_size14);}
|
|
18
19
|
.close {
|
|
19
20
|
color: var(--zdt_messagebanner_close_text);
|
|
20
21
|
cursor: pointer;
|
package/src/Provider.js
CHANGED
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { I18NProvider } from '@zohodesk/i18n';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import AppContainer from '@zohodesk/components/lib/AppContainer/AppContainer';
|
|
5
|
+
import LibraryContext from '@zohodesk/components/lib/Provider/LibraryContextInit';
|
|
5
6
|
import datetime from '@zohodesk/datetimejs';
|
|
6
7
|
import i18n from './i18n';
|
|
7
8
|
/* component pkg - default mode & themes */
|
|
@@ -134,6 +135,7 @@ export default class Provider extends React.Component {
|
|
|
134
135
|
timeFormat={''}
|
|
135
136
|
direction={'ltr'}
|
|
136
137
|
>
|
|
138
|
+
<LibraryContext.Provider value={{isReducedMotion:false,direction:'ltr'}}>
|
|
137
139
|
<AppContainer
|
|
138
140
|
customProps={{ExtraProps:{'data-mode':appearanceName,'data-theme':themeName}}}
|
|
139
141
|
>
|
|
@@ -194,6 +196,7 @@ export default class Provider extends React.Component {
|
|
|
194
196
|
</div>
|
|
195
197
|
</div>
|
|
196
198
|
</AppContainer>
|
|
199
|
+
</LibraryContext.Provider>
|
|
197
200
|
</I18NProvider>
|
|
198
201
|
);
|
|
199
202
|
}
|
|
@@ -17,10 +17,8 @@
|
|
|
17
17
|
|
|
18
18
|
.animation {
|
|
19
19
|
composes: modeForward from '~@zohodesk/components/lib/common/animation.module.css';
|
|
20
|
-
animation-duration:
|
|
21
|
-
-webkit-animation-duration:
|
|
22
|
-
-moz-animation-duration: 0.4s;
|
|
23
|
-
-ms-animation-duration: 0.4s;
|
|
20
|
+
animation-duration: var(--zd_transition4);
|
|
21
|
+
-webkit-animation-duration: var(--zd_transition4);
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
.leftanimate {
|
|
@@ -28,7 +28,8 @@ export default class AvatarThread extends React.Component {
|
|
|
28
28
|
customTextClass,
|
|
29
29
|
needTitle,
|
|
30
30
|
customProps,
|
|
31
|
-
iconClass
|
|
31
|
+
iconClass,
|
|
32
|
+
getCustomThread
|
|
32
33
|
} = this.props;
|
|
33
34
|
let { AvatarThreadProps = {}, AvatarProps = {} } = customProps;
|
|
34
35
|
let hoverEffect = showOnHover ? style.hover : '';
|
|
@@ -53,7 +54,7 @@ export default class AvatarThread extends React.Component {
|
|
|
53
54
|
needTitle={needTitle}
|
|
54
55
|
{...AvatarProps}
|
|
55
56
|
/>
|
|
56
|
-
{iconName && (
|
|
57
|
+
{(iconName || getCustomThread) && (
|
|
57
58
|
<span
|
|
58
59
|
className={`${style.thread} ${
|
|
59
60
|
onIconClick ? style.pointer : style.defaultCursor
|
|
@@ -64,6 +65,7 @@ export default class AvatarThread extends React.Component {
|
|
|
64
65
|
data-id={iconTitle === 'Remove Follower' && 'removeFollower'}
|
|
65
66
|
onClick={onIconClick}
|
|
66
67
|
>
|
|
68
|
+
{iconName &&
|
|
67
69
|
<span className={style.icon}>
|
|
68
70
|
<Icon
|
|
69
71
|
name={iconName}
|
|
@@ -75,6 +77,8 @@ export default class AvatarThread extends React.Component {
|
|
|
75
77
|
}
|
|
76
78
|
/>
|
|
77
79
|
</span>
|
|
80
|
+
}
|
|
81
|
+
{getCustomThread && getCustomThread()}
|
|
78
82
|
</span>
|
|
79
83
|
)}
|
|
80
84
|
</div>
|
|
@@ -121,7 +125,8 @@ AvatarThread.propTypes = {
|
|
|
121
125
|
AvatarThreadProps: PropTypes.object,
|
|
122
126
|
AvatarProps: PropTypes.object
|
|
123
127
|
}),
|
|
124
|
-
iconClass: PropTypes.string
|
|
128
|
+
iconClass: PropTypes.string,
|
|
129
|
+
getCustomThread: PropTypes.func
|
|
125
130
|
};
|
|
126
131
|
|
|
127
132
|
if (__DOCS__) {
|
package/src/docs/setupDocs.js
CHANGED
|
@@ -9,8 +9,6 @@ export { default as HelpTitle__default } from '../setup/helptips/Title/docs/Titl
|
|
|
9
9
|
export { default as HelpListGroup } from '../setup/helptips/ListGroup/ListGroup';
|
|
10
10
|
export { default as HelpListGroup__default } from '../setup/helptips/ListGroup/docs/ListGroup__default.docs';
|
|
11
11
|
|
|
12
|
-
// export { default as SelectDropdown } from '../setup/header/SelectDropdown/SelectDropdown';
|
|
13
|
-
// export { default as SelectDropdown__default } from '../setup/header/SelectDropdown/docs/SelectDropdown__default.docs';
|
|
14
12
|
export { default as SetupHeaderViews } from '../setup/header/Views/Views';
|
|
15
13
|
export { default as SetupHeaderViews__default } from '../setup/header/Views/docs/Views__default.docs';
|
|
16
14
|
export { default as SetupHeaderSearch } from '../setup/header/Search/Search';
|
|
@@ -228,7 +228,7 @@ export default class TextEditor extends Component {
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
let customFonts= document.createElement('style');
|
|
231
|
-
customFonts.innerText= `@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/
|
|
231
|
+
customFonts.innerText= `@font-face {font-family: 'ZohoPuviRegular';src: url('https://static.zohocdn.com/zohofonts/zohopuvi/4.0/Zoho_Puvi_Regular.woff2') format('woff2');font-style: normal;font-weight: normal;text-rendering: optimizeLegibility;font-display: swap}@font-face {font-family: Regular;src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');font-weight: 400;font-style: normal;font-display: swap}@font-face {font-family: 'RobotoRegular';font-weight: 400;font-style: normal;font-display: swa;src: url('https://static.zohocdn.com/webfonts/robotoregular/font.woff2')}`
|
|
232
232
|
iframeHead.appendChild(customFonts);
|
|
233
233
|
}
|
|
234
234
|
}
|
|
@@ -14,18 +14,21 @@ export default class Section extends Component {
|
|
|
14
14
|
titleClass,
|
|
15
15
|
className,
|
|
16
16
|
column,
|
|
17
|
-
formName
|
|
17
|
+
formName,
|
|
18
|
+
innerContainerClass
|
|
18
19
|
} = this.props;
|
|
19
20
|
return (
|
|
20
21
|
<div data-id={dataId} className={containerClass ? containerClass : ''}>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
<div className={innerContainerClass ? innerContainerClass : '' }>
|
|
23
|
+
{title && <div className={titleClass ? titleClass : ''}>{title}</div>}
|
|
24
|
+
<div
|
|
25
|
+
className={`${className ? className : ''} ${
|
|
26
|
+
column == 'single' ? style.singleColumn : ''
|
|
27
|
+
}`}
|
|
28
|
+
data-id={formName && formName}
|
|
29
|
+
>
|
|
30
|
+
{this.props.children}
|
|
31
|
+
</div>
|
|
29
32
|
</div>
|
|
30
33
|
</div>
|
|
31
34
|
);
|
|
@@ -37,7 +40,8 @@ Section.propTypes = {
|
|
|
37
40
|
containerClass: PropTypes.string,
|
|
38
41
|
dataId: PropTypes.string,
|
|
39
42
|
title: PropTypes.string,
|
|
40
|
-
titleClass: PropTypes.string
|
|
43
|
+
titleClass: PropTypes.string,
|
|
44
|
+
innerContainerClass: PropTypes.string
|
|
41
45
|
};
|
|
42
46
|
if (__DOCS__) {
|
|
43
47
|
Section.docs = {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
border-radius: var(--zd_size5);
|
|
37
37
|
}
|
|
38
38
|
.stenListBAr {
|
|
39
|
-
-webkit-animation-duration:
|
|
39
|
+
-webkit-animation-duration:var(--zd_transition10);
|
|
40
40
|
-webkit-animation-fill-mode: forwards;
|
|
41
41
|
-webkit-animation-iteration-count: infinite;
|
|
42
42
|
-webkit-animation-name: placeHolderShimmer;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
position: relative;
|
|
48
48
|
}
|
|
49
49
|
.stenListBAr {
|
|
50
|
-
-webkit-animation-duration:
|
|
50
|
+
-webkit-animation-duration: var(--zd_transition10);
|
|
51
51
|
-webkit-animation-fill-mode: forwards;
|
|
52
52
|
-webkit-animation-iteration-count: infinite;
|
|
53
53
|
-webkit-animation-name: placeHolderShimmer;
|
|
@@ -22,7 +22,9 @@ export default class ListLayout extends Component {
|
|
|
22
22
|
dataTitle,
|
|
23
23
|
a11y,
|
|
24
24
|
isHovered,
|
|
25
|
-
onMouseEnter
|
|
25
|
+
onMouseEnter,
|
|
26
|
+
needPointer,
|
|
27
|
+
isKeyboardActive
|
|
26
28
|
} = this.props;
|
|
27
29
|
|
|
28
30
|
let { role = 'listitem', ariaLabel, ariaPosinset, ariaSetsize } = a11y;
|
|
@@ -31,8 +33,8 @@ export default class ListLayout extends Component {
|
|
|
31
33
|
className={`${style.container} ${containerClass} ${
|
|
32
34
|
needHover ? style.listHover : ''
|
|
33
35
|
} ${isActive ? style.active : ''} ${style[view]} ${
|
|
34
|
-
onClick ? style.cursorPointer : ''
|
|
35
|
-
} ${isHovered ? style.hoveredStyle : ''} `}
|
|
36
|
+
onClick && needPointer ? style.cursorPointer : ''
|
|
37
|
+
} ${isHovered ? style.hoveredStyle : ''} ${isKeyboardActive ? style.keyboardActive : ''} `}
|
|
36
38
|
onClick={onClick}
|
|
37
39
|
onMouseEnter={onMouseEnter}
|
|
38
40
|
onMouseLeave={onMouseLeave}
|
|
@@ -74,7 +76,9 @@ ListLayout.propTypes = {
|
|
|
74
76
|
ariaSetsize: PropTypes.number
|
|
75
77
|
}),
|
|
76
78
|
onMouseEnter: PropTypes.func,
|
|
77
|
-
view: PropTypes.oneOf(['classic', 'compact', 'superCompact'])
|
|
79
|
+
view: PropTypes.oneOf(['classic', 'compact', 'superCompact']),
|
|
80
|
+
needPointer: PropTypes.bool,
|
|
81
|
+
isKeyboardActive: PropTypes.bool
|
|
78
82
|
};
|
|
79
83
|
ListLayout.defaultProps = {
|
|
80
84
|
needHover: true,
|
|
@@ -83,7 +87,9 @@ ListLayout.defaultProps = {
|
|
|
83
87
|
dataId: 'ticketsListInPopup',
|
|
84
88
|
a11y: {},
|
|
85
89
|
isHovered: false,
|
|
86
|
-
onMouseEnter: () => {}
|
|
90
|
+
onMouseEnter: () => {},
|
|
91
|
+
needPointer: true,
|
|
92
|
+
isKeyboardActive: false
|
|
87
93
|
};
|
|
88
94
|
export class Column extends Component {
|
|
89
95
|
constructor(props) {
|
|
@@ -5,17 +5,16 @@
|
|
|
5
5
|
position: relative;
|
|
6
6
|
composes: varClass;
|
|
7
7
|
}
|
|
8
|
-
.listHover:hover {
|
|
9
|
-
background-color: var(--
|
|
8
|
+
.listHover:hover, .hoveredStyle{
|
|
9
|
+
background-color: var(--zdt_listLayout_hover_bg);
|
|
10
10
|
}
|
|
11
11
|
.active,
|
|
12
12
|
.active:hover {
|
|
13
|
-
background-color: var(--
|
|
13
|
+
background-color: var(--zdt_listLayout_active_bg);
|
|
14
14
|
}
|
|
15
15
|
.cursorPointer{
|
|
16
16
|
cursor: pointer
|
|
17
17
|
}
|
|
18
|
-
|
|
19
18
|
/* View */
|
|
20
19
|
.classic .innerContainer {
|
|
21
20
|
padding: var(--zd_size13) 0;
|
|
@@ -34,3 +33,18 @@
|
|
|
34
33
|
.superCompact .innerContainer {
|
|
35
34
|
border-bottom: 1px dotted var(--listBorder);
|
|
36
35
|
}
|
|
36
|
+
.compact,
|
|
37
|
+
.classic,
|
|
38
|
+
.superCompact {
|
|
39
|
+
border-left: var(--zd_size2) solid transparent;
|
|
40
|
+
}
|
|
41
|
+
.keyboardActive, .active{
|
|
42
|
+
border-top-left-radius: var(--zd_size5);
|
|
43
|
+
border-bottom-left-radius: var(--zd_size5);
|
|
44
|
+
}
|
|
45
|
+
.keyboardActive{
|
|
46
|
+
border-left-color: var(--zdt_listLayout_keyboard_active_border);
|
|
47
|
+
}
|
|
48
|
+
.active{
|
|
49
|
+
border-left-color: var(--zdt_listLayout_active_border);
|
|
50
|
+
}
|
|
@@ -29,13 +29,14 @@ export default class ModuleHeader extends PureComponent {
|
|
|
29
29
|
miniDescription,
|
|
30
30
|
dataId,
|
|
31
31
|
closeTitle,
|
|
32
|
-
onSearchKeyDown
|
|
32
|
+
onSearchKeyDown,
|
|
33
|
+
palette
|
|
33
34
|
} = this.props;
|
|
34
35
|
return (
|
|
35
36
|
<Container
|
|
36
37
|
align='vertical'
|
|
37
38
|
alignBox='row'
|
|
38
|
-
className={`${commonStyle.container}`}
|
|
39
|
+
className={`${commonStyle.container} ${commonStyle[`${palette}`]}`}
|
|
39
40
|
isCover={false}
|
|
40
41
|
wrap='wrap'
|
|
41
42
|
dataId={dataId}
|
|
@@ -87,9 +88,14 @@ ModuleHeader.propTypes = {
|
|
|
87
88
|
title: PropTypes.string,
|
|
88
89
|
dataId: PropTypes.string,
|
|
89
90
|
closeTitle: PropTypes.string,
|
|
90
|
-
onSearchKeyDown: PropTypes.func
|
|
91
|
+
onSearchKeyDown: PropTypes.func,
|
|
92
|
+
palette: PropTypes.oneOf(['default', 'white'])
|
|
91
93
|
};
|
|
92
94
|
|
|
95
|
+
ModuleHeader.defaultProps = {
|
|
96
|
+
palette: 'default'
|
|
97
|
+
}
|
|
98
|
+
|
|
93
99
|
if (__DOCS__) {
|
|
94
100
|
ModuleHeader.docs = {
|
|
95
101
|
componentGroup: 'Lookup'
|
|
@@ -22,14 +22,27 @@ 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
|
-
|
|
25
|
+
<div>
|
|
26
|
+
<ModuleHeader
|
|
27
|
+
title='Find Duplicate'
|
|
28
|
+
needSearch
|
|
29
|
+
searchStr={searchStr}
|
|
30
|
+
onSearchChange={this.handleSearch}
|
|
31
|
+
searchPlaceHolder='Search'
|
|
32
|
+
miniDescription="Select a field to search for duplicate records"
|
|
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>
|
|
33
46
|
);
|
|
34
47
|
}
|
|
35
48
|
}
|