@zohodesk/dot 1.0.0-temp-131 → 1.0.0-temp-133
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 +20 -0
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +289 -289
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +9 -9
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +9 -9
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +283 -283
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +291 -291
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +9 -9
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +9 -9
- package/es/ActionButton/ActionButton.js +1 -1
- package/es/Attachment/Attachment.js +1 -1
- package/es/AttachmentViewer/AttachmentViewer.js +1 -1
- package/es/ChannelIcon/ChannelIcon.js +1 -1
- package/es/Drawer/Drawer.js +1 -1
- package/es/FreezeLayer/FreezeLayer.js +61 -114
- package/es/FreezeLayer/css/cssJSLogic.js +23 -0
- package/es/FreezeLayer/index.js +2 -0
- package/es/FreezeLayer/props/defaultProps.js +1 -0
- package/es/FreezeLayer/props/propTypes.js +1 -0
- package/es/FreezeLayer/useFreezeLayer.js +50 -0
- package/es/IconButton/IconButton.js +1 -1
- package/es/ImportantNotes/ImportantNotes.js +1 -1
- package/es/Message/Message.js +1 -1
- package/es/MessageBanner/MessageBanner.js +1 -1
- package/es/NewStar/NewStar.js +1 -1
- package/es/ToastMessage/ToastMessage.js +1 -1
- package/es/Upload/Upload.js +1 -1
- package/es/alert/AlertHeader/AlertHeader.js +1 -1
- package/es/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.js +3 -1
- package/es/avatar/AvatarStatus/props/defaultProps.js +3 -1
- package/es/avatar/AvatarStatus/props/propTypes.js +2 -0
- package/es/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -2
- package/es/avatar/AvatarWithTeam/props/defaultProps.js +2 -1
- package/es/avatar/AvatarWithTeam/props/propTypes.js +1 -0
- package/es/deprecated/FreezeLayer/FreezeLayer.js +128 -0
- package/es/deprecated/FreezeLayer/props/defaultProps.js +8 -0
- package/es/deprecated/FreezeLayer/props/propTypes.js +17 -0
- package/es/deprecated/SelectDropdown/SelectDropdown.js +1 -1
- package/es/docs/formDocs.js +1 -16
- package/es/docs/generalDocs.js +1 -107
- package/es/docs/lookupDocs.js +1 -35
- package/es/docs/setupDocs.js +1 -15
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +1 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +1 -1
- package/es/form/fields/PhoneField/PhoneField.js +1 -1
- package/es/form/fields/ValidationMessage/ValidationMessage.js +1 -1
- package/es/index.js +0 -3
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/es/list/AvatarFlip/AvatarFlip.js +4 -2
- package/es/list/AvatarFlip/props/defaultProps.js +2 -1
- package/es/list/AvatarFlip/props/propTypes.js +2 -1
- package/es/list/BluePrintStatus/BluePrintStatus.js +1 -1
- package/es/list/Comment/Comment.js +1 -1
- package/es/list/Icons/AddNewIcon.js +1 -1
- package/es/list/Icons/CompleteIcon.js +1 -1
- package/es/list/Icons/DeleteIcon.js +1 -1
- package/es/list/Icons/EditIcon.js +1 -1
- package/es/list/Icons/ReadUnreadIcon.js +1 -1
- package/es/list/Icons/SmartIcon.js +1 -1
- package/es/list/SecondaryText/ContactName.js +1 -1
- package/es/list/SentimentStatus/SentimentStatus.js +1 -1
- package/es/list/Thread/Thread.js +1 -1
- package/es/list/UserTime/UserTime.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +1 -1
- package/es/list/status/StatusListItem/StatusListItem.js +1 -1
- package/es/lookup/header/Search/Search.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/setup/header/Link/Link.js +1 -1
- package/es/setup/header/Search/Search.js +1 -1
- package/es/setup/header/Views/Views.js +1 -1
- package/es/version2/AlertClose/AlertClose.js +1 -1
- package/lib/ActionButton/ActionButton.js +3 -3
- package/lib/Attachment/Attachment.js +3 -3
- package/lib/AttachmentViewer/AttachmentViewer.js +3 -3
- package/lib/ChannelIcon/ChannelIcon.js +3 -3
- package/lib/Drawer/Drawer.js +2 -2
- package/lib/FreezeLayer/FreezeLayer.js +58 -141
- package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -0
- package/lib/FreezeLayer/css/cssJSLogic.js +22 -0
- package/lib/FreezeLayer/index.js +20 -0
- package/lib/FreezeLayer/props/defaultProps.js +1 -0
- package/lib/FreezeLayer/props/propTypes.js +1 -0
- package/lib/FreezeLayer/useFreezeLayer.js +73 -0
- package/lib/IconButton/IconButton.js +2 -2
- package/lib/ImportantNotes/ImportantNotes.js +2 -2
- package/lib/Message/Message.js +3 -3
- package/lib/MessageBanner/MessageBanner.js +2 -2
- package/lib/NewStar/NewStar.js +4 -4
- package/lib/ToastMessage/ToastMessage.js +5 -5
- package/lib/Upload/Upload.js +3 -3
- package/lib/alert/AlertHeader/AlertHeader.js +2 -2
- package/lib/avatar/AvatarClose/AvatarClose.js +2 -2
- package/lib/avatar/AvatarCollision/AvatarCollision.js +2 -2
- package/lib/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -1
- package/lib/avatar/AvatarStatus/props/defaultProps.js +3 -1
- package/lib/avatar/AvatarStatus/props/propTypes.js +22 -24
- package/lib/avatar/AvatarThread/AvatarThread.js +2 -2
- package/lib/avatar/AvatarUser/AvatarUser.js +5 -5
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -2
- package/lib/avatar/AvatarWithTeam/props/defaultProps.js +2 -1
- package/lib/avatar/AvatarWithTeam/props/propTypes.js +1 -0
- package/lib/deprecated/FreezeLayer/FreezeLayer.js +161 -0
- package/lib/deprecated/FreezeLayer/FreezeLayer.module.css +42 -0
- package/lib/deprecated/FreezeLayer/props/defaultProps.js +15 -0
- package/lib/deprecated/FreezeLayer/props/propTypes.js +25 -0
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +2 -2
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -3
- package/lib/form/fields/FieldContainer/FieldContainer.js +3 -3
- package/lib/form/fields/PhoneField/PhoneField.js +2 -2
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +6 -6
- package/lib/list/AvatarFlip/AvatarFlip.js +4 -2
- package/lib/list/AvatarFlip/props/defaultProps.js +2 -1
- package/lib/list/AvatarFlip/props/propTypes.js +2 -1
- package/lib/list/BluePrintStatus/BluePrintStatus.js +2 -2
- package/lib/list/Comment/Comment.js +2 -2
- package/lib/list/Icons/AddNewIcon.js +2 -2
- package/lib/list/Icons/CompleteIcon.js +2 -2
- package/lib/list/Icons/DeleteIcon.js +2 -2
- package/lib/list/Icons/EditIcon.js +2 -2
- package/lib/list/Icons/ReadUnreadIcon.js +2 -2
- package/lib/list/Icons/SmartIcon.js +2 -2
- package/lib/list/SecondaryText/ContactName.js +2 -2
- package/lib/list/SentimentStatus/SentimentStatus.js +2 -2
- package/lib/list/Thread/Thread.js +2 -2
- package/lib/list/UserTime/UserTime.js +8 -8
- package/lib/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/list/status/StatusListItem/StatusListItem.js +2 -2
- package/lib/lookup/header/Search/Search.js +4 -4
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +2 -2
- package/lib/setup/header/Link/Link.js +2 -2
- package/lib/setup/header/Search/Search.js +2 -2
- package/lib/setup/header/Views/Views.js +3 -3
- package/lib/version2/AlertClose/AlertClose.js +2 -2
- package/package.json +7 -7
- /package/es/FreezeLayer/{FreezeLayer.module.css → css/FreezeLayer.module.css} +0 -0
- /package/{lib → es/deprecated}/FreezeLayer/FreezeLayer.module.css +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
[data-mode='pureDark'][data-theme='blue'] {
|
|
2
2
|
/* freezelayer */
|
|
3
|
-
--zdt_freezelayer_darklight_bg:
|
|
3
|
+
--zdt_freezelayer_darklight_bg: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( 0.9 + var(--zd_bg_alpha)));
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
-
--zdt_commonEmptyState_dark_title:
|
|
7
|
-
--zdt_commonEmptyState_dark_description:
|
|
8
|
-
--zdt_commonEmptyState_dark_link:
|
|
9
|
-
--zdt_commonEmptyState_dark_link_hover:
|
|
6
|
+
--zdt_commonEmptyState_dark_title: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link: hsla(212, 100%, calc(64% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: hsla(221, 100%, calc(57% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
10
10
|
|
|
11
11
|
/* attachment viewer */
|
|
12
|
-
--zdt_attachmentviewer_header_bg:
|
|
13
|
-
--zdt_attachmentviewer_header_border:
|
|
14
|
-
--zdt_attachmentviewer_footer_bg:
|
|
15
|
-
--zdt_attachmentviewer_arrow_bg_hover:
|
|
12
|
+
--zdt_attachmentviewer_header_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
13
|
+
--zdt_attachmentviewer_header_border: hsla(0, 0%, calc(13% + var(--zd_pureDark_border_lValue)), calc(1 + var(--zd_alpha)));
|
|
14
|
+
--zdt_attachmentviewer_footer_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
15
|
+
--zdt_attachmentviewer_arrow_bg_hover: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( + var(--zd_bg_alpha)));
|
|
16
16
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
[data-mode='pureDark'][data-theme='green'] {
|
|
2
2
|
/* freezelayer */
|
|
3
|
-
--zdt_freezelayer_darklight_bg:
|
|
3
|
+
--zdt_freezelayer_darklight_bg: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( 0.9 + var(--zd_bg_alpha)));
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
-
--zdt_commonEmptyState_dark_title:
|
|
7
|
-
--zdt_commonEmptyState_dark_description:
|
|
8
|
-
--zdt_commonEmptyState_dark_link:
|
|
9
|
-
--zdt_commonEmptyState_dark_link_hover:
|
|
6
|
+
--zdt_commonEmptyState_dark_title: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link: hsla(133, 40%, calc(45% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: hsla(128, 80%, calc(27% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
10
10
|
|
|
11
11
|
/* attachment viewer */
|
|
12
|
-
--zdt_attachmentviewer_header_bg:
|
|
13
|
-
--zdt_attachmentviewer_header_border:
|
|
14
|
-
--zdt_attachmentviewer_footer_bg:
|
|
15
|
-
--zdt_attachmentviewer_arrow_bg_hover:
|
|
12
|
+
--zdt_attachmentviewer_header_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
13
|
+
--zdt_attachmentviewer_header_border: hsla(0, 0%, calc(13% + var(--zd_pureDark_border_lValue)), calc(1 + var(--zd_alpha)));
|
|
14
|
+
--zdt_attachmentviewer_footer_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
15
|
+
--zdt_attachmentviewer_arrow_bg_hover: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( + var(--zd_bg_alpha)));
|
|
16
16
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
[data-mode='pureDark'][data-theme='orange'] {
|
|
2
2
|
/* freezelayer */
|
|
3
|
-
--zdt_freezelayer_darklight_bg:
|
|
3
|
+
--zdt_freezelayer_darklight_bg: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( 0.9 + var(--zd_bg_alpha)));
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
-
--zdt_commonEmptyState_dark_title:
|
|
7
|
-
--zdt_commonEmptyState_dark_description:
|
|
8
|
-
--zdt_commonEmptyState_dark_link:
|
|
9
|
-
--zdt_commonEmptyState_dark_link_hover:
|
|
6
|
+
--zdt_commonEmptyState_dark_title: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link: hsla(26, 100%, calc(56% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: hsla(29, 100%, calc(33% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
10
10
|
|
|
11
11
|
/* attachment viewer */
|
|
12
|
-
--zdt_attachmentviewer_header_bg:
|
|
13
|
-
--zdt_attachmentviewer_header_border:
|
|
14
|
-
--zdt_attachmentviewer_footer_bg:
|
|
15
|
-
--zdt_attachmentviewer_arrow_bg_hover:
|
|
12
|
+
--zdt_attachmentviewer_header_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
13
|
+
--zdt_attachmentviewer_header_border: hsla(0, 0%, calc(13% + var(--zd_pureDark_border_lValue)), calc(1 + var(--zd_alpha)));
|
|
14
|
+
--zdt_attachmentviewer_footer_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
15
|
+
--zdt_attachmentviewer_arrow_bg_hover: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( + var(--zd_bg_alpha)));
|
|
16
16
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
[data-mode='pureDark'][data-theme='red'] {
|
|
2
2
|
/* freezelayer */
|
|
3
|
-
--zdt_freezelayer_darklight_bg:
|
|
3
|
+
--zdt_freezelayer_darklight_bg: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( 0.9 + var(--zd_bg_alpha)));
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
-
--zdt_commonEmptyState_dark_title:
|
|
7
|
-
--zdt_commonEmptyState_dark_description:
|
|
8
|
-
--zdt_commonEmptyState_dark_link:
|
|
9
|
-
--zdt_commonEmptyState_dark_link_hover:
|
|
6
|
+
--zdt_commonEmptyState_dark_title: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link: hsla(0, 78%, calc(61% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: hsla(0, 82%, calc(36% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
10
10
|
|
|
11
11
|
/* attachment viewer */
|
|
12
|
-
--zdt_attachmentviewer_header_bg:
|
|
13
|
-
--zdt_attachmentviewer_header_border:
|
|
14
|
-
--zdt_attachmentviewer_footer_bg:
|
|
15
|
-
--zdt_attachmentviewer_arrow_bg_hover:
|
|
12
|
+
--zdt_attachmentviewer_header_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
13
|
+
--zdt_attachmentviewer_header_border: hsla(0, 0%, calc(13% + var(--zd_pureDark_border_lValue)), calc(1 + var(--zd_alpha)));
|
|
14
|
+
--zdt_attachmentviewer_footer_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
15
|
+
--zdt_attachmentviewer_arrow_bg_hover: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( + var(--zd_bg_alpha)));
|
|
16
16
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
[data-mode='pureDark'][data-theme='yellow'] {
|
|
2
2
|
/* freezelayer */
|
|
3
|
-
--zdt_freezelayer_darklight_bg:
|
|
3
|
+
--zdt_freezelayer_darklight_bg: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( 0.9 + var(--zd_bg_alpha)));
|
|
4
4
|
|
|
5
5
|
/* common empty state */
|
|
6
|
-
--zdt_commonEmptyState_dark_title:
|
|
7
|
-
--zdt_commonEmptyState_dark_description:
|
|
8
|
-
--zdt_commonEmptyState_dark_link:
|
|
9
|
-
--zdt_commonEmptyState_dark_link_hover:
|
|
6
|
+
--zdt_commonEmptyState_dark_title: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
7
|
+
--zdt_commonEmptyState_dark_description: hsla(0, 0%, calc(100% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
8
|
+
--zdt_commonEmptyState_dark_link: hsla(37, 67%, calc(53% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: hsla(39, 90%, calc(32% + var(--zd_pureDark_text_lValue)), calc(1 + var(--zd_alpha)));
|
|
10
10
|
|
|
11
11
|
/* attachment viewer */
|
|
12
|
-
--zdt_attachmentviewer_header_bg:
|
|
13
|
-
--zdt_attachmentviewer_header_border:
|
|
14
|
-
--zdt_attachmentviewer_footer_bg:
|
|
15
|
-
--zdt_attachmentviewer_arrow_bg_hover:
|
|
12
|
+
--zdt_attachmentviewer_header_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
13
|
+
--zdt_attachmentviewer_header_border: hsla(0, 0%, calc(13% + var(--zd_pureDark_border_lValue)), calc(1 + var(--zd_alpha)));
|
|
14
|
+
--zdt_attachmentviewer_footer_bg: hsla(0, 0%, calc(9% + var(--zd_pureDark_bg_lValue)), calc(1 + var(--zd_bg_alpha)));
|
|
15
|
+
--zdt_attachmentviewer_arrow_bg_hover: hsla(0, 0%, calc(6% + var(--zd_pureDark_bg_lValue)), calc( + var(--zd_bg_alpha)));
|
|
16
16
|
}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import Popup from '@zohodesk/components/lib/Popup/Popup';
|
|
5
|
-
import Icon from '@zohodesk/icons
|
|
5
|
+
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
8
8
|
import ResponsiveDropBox from '@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
|
-
import Icon from '@zohodesk/icons
|
|
4
|
+
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
import Link from '../Link/Link';
|
|
7
7
|
import style from './Attachment.module.css';
|
|
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|
|
2
2
|
import { AttachmentViewer_defaultProps } from './props/defaultProps';
|
|
3
3
|
import { AttachmentViewer_propTypes } from './props/propTypes';
|
|
4
4
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import Icon from '@zohodesk/icons
|
|
5
|
+
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import Avatar from '@zohodesk/components/lib/Avatar/Avatar';
|
|
7
7
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
8
8
|
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
|
-
import Icon from '@zohodesk/icons
|
|
4
|
+
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import Avatar from '@zohodesk/components/lib/Avatar/Avatar';
|
|
6
6
|
import AvatarIcon from '../avatar/AvatarIcon/AvatarIcon';
|
|
7
7
|
import { getChannelMappingObj } from '../utils/ChannelIconMapping';
|
package/es/Drawer/Drawer.js
CHANGED
|
@@ -9,7 +9,7 @@ import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/V
|
|
|
9
9
|
import { ResponsiveSender, ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
10
10
|
import Heading from '@zohodesk/components/lib/Heading/Heading';
|
|
11
11
|
import IconButton from '../IconButton/IconButton';
|
|
12
|
-
import Icon from '@zohodesk/icons
|
|
12
|
+
import { Icon } from '@zohodesk/icons';
|
|
13
13
|
import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
14
14
|
import style from './Drawer.module.css';
|
|
15
15
|
import FocusScope from '@zohodesk/a11y/es/FocusScope/FocusScope';
|
|
@@ -1,121 +1,68 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
5
|
+
import { mergeStyle } from '@zohodesk/components/es/utils/';
|
|
5
6
|
import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
componentWillUnmount() {
|
|
71
|
-
this.disableFreeze();
|
|
72
|
-
}
|
|
73
|
-
render() {
|
|
74
|
-
let {
|
|
75
|
-
children,
|
|
76
|
-
align,
|
|
77
|
-
childAnimationName,
|
|
78
|
-
palette,
|
|
79
|
-
onClick,
|
|
80
|
-
animationName,
|
|
81
|
-
zIndex,
|
|
82
|
-
runOnMount,
|
|
83
|
-
forwardRef,
|
|
84
|
-
isSvgMask,
|
|
85
|
-
customClass,
|
|
86
|
-
needAutoZindex
|
|
87
|
-
} = this.props;
|
|
88
|
-
let {
|
|
89
|
-
isActive,
|
|
90
|
-
isChildActive
|
|
91
|
-
} = this.state;
|
|
92
|
-
return /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
|
|
93
|
-
name: animationName && animationName,
|
|
94
|
-
isActive: isActive,
|
|
95
|
-
runOnMount: runOnMount
|
|
96
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
97
|
-
style: isActive && needAutoZindex ? {
|
|
98
|
-
zIndex: `${this.getNextIndex()}`
|
|
99
|
-
} : {},
|
|
100
|
-
className: `
|
|
101
|
-
${style.container} ${customClass} ${style[`index${zIndex}`]} ${!isSvgMask ? style[palette] : ''}
|
|
102
|
-
`,
|
|
103
|
-
onClick: onClick ? onClick : null,
|
|
104
|
-
ref: forwardRef
|
|
105
|
-
}, children && /*#__PURE__*/React.createElement(React.Fragment, null, childAnimationName ? /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
|
|
106
|
-
name: childAnimationName,
|
|
107
|
-
isActive: isChildActive,
|
|
108
|
-
enterDelay: palette === 'plain' ? 0 : 300,
|
|
109
|
-
component: Container,
|
|
110
|
-
alignBox: "row",
|
|
111
|
-
align: align,
|
|
112
|
-
dataId: "reactFreezeLayer"
|
|
113
|
-
}, children) : isSvgMask ? /*#__PURE__*/React.createElement(React.Fragment, null, children) : /*#__PURE__*/React.createElement(Container, {
|
|
114
|
-
alignBox: "row",
|
|
115
|
-
align: align,
|
|
116
|
-
dataId: "reactFreezeLayer"
|
|
117
|
-
}, children))));
|
|
118
|
-
}
|
|
7
|
+
import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
8
|
+
import cssJSLogic from './css/cssJSLogic';
|
|
9
|
+
import useFreezeLayer from './useFreezeLayer';
|
|
10
|
+
import style from './css/FreezeLayer.module.css';
|
|
11
|
+
export default function FreezeLayer(props) {
|
|
12
|
+
let {
|
|
13
|
+
isActive: propsActive,
|
|
14
|
+
children,
|
|
15
|
+
align,
|
|
16
|
+
childAnimationName,
|
|
17
|
+
palette,
|
|
18
|
+
onClick,
|
|
19
|
+
animationName,
|
|
20
|
+
runOnMount,
|
|
21
|
+
forwardRef,
|
|
22
|
+
isSvgMask,
|
|
23
|
+
needAutoZindex,
|
|
24
|
+
customStyle
|
|
25
|
+
} = props;
|
|
26
|
+
const finalStyle = mergeStyle(style, customStyle);
|
|
27
|
+
const {
|
|
28
|
+
freezeClass
|
|
29
|
+
} = cssJSLogic({
|
|
30
|
+
props,
|
|
31
|
+
style: finalStyle
|
|
32
|
+
});
|
|
33
|
+
const getNextIndex = useZIndex();
|
|
34
|
+
const {
|
|
35
|
+
isActive,
|
|
36
|
+
isChildActive,
|
|
37
|
+
handleClick
|
|
38
|
+
} = useFreezeLayer({
|
|
39
|
+
isActive: propsActive,
|
|
40
|
+
onClick
|
|
41
|
+
});
|
|
42
|
+
return /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
|
|
43
|
+
name: animationName && animationName,
|
|
44
|
+
isActive: isActive,
|
|
45
|
+
runOnMount: runOnMount
|
|
46
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
47
|
+
style: isActive && needAutoZindex ? {
|
|
48
|
+
zIndex: `${getNextIndex()}`
|
|
49
|
+
} : {},
|
|
50
|
+
className: freezeClass,
|
|
51
|
+
onClick: handleClick,
|
|
52
|
+
ref: forwardRef
|
|
53
|
+
}, children && /*#__PURE__*/React.createElement(React.Fragment, null, childAnimationName ? /*#__PURE__*/React.createElement(VelocityAnimationGroup, {
|
|
54
|
+
name: childAnimationName,
|
|
55
|
+
isActive: isChildActive,
|
|
56
|
+
enterDelay: palette === 'plain' ? 0 : 300,
|
|
57
|
+
component: Container,
|
|
58
|
+
alignBox: "row",
|
|
59
|
+
align: align,
|
|
60
|
+
dataId: "reactFreezeLayer"
|
|
61
|
+
}, children) : isSvgMask ? /*#__PURE__*/React.createElement(React.Fragment, null, children) : /*#__PURE__*/React.createElement(Container, {
|
|
62
|
+
alignBox: "row",
|
|
63
|
+
align: align,
|
|
64
|
+
dataId: "reactFreezeLayer"
|
|
65
|
+
}, children))));
|
|
119
66
|
}
|
|
120
67
|
FreezeLayer.propTypes = propTypes;
|
|
121
68
|
FreezeLayer.defaultProps = defaultProps;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { compileClassNames } from '@zohodesk/components/es/utils';
|
|
2
|
+
export default function cssJSLogic(_ref) {
|
|
3
|
+
let {
|
|
4
|
+
props,
|
|
5
|
+
style
|
|
6
|
+
} = _ref;
|
|
7
|
+
let {
|
|
8
|
+
zIndex,
|
|
9
|
+
palette,
|
|
10
|
+
isSvgMask,
|
|
11
|
+
customClass
|
|
12
|
+
} = props;
|
|
13
|
+
let zIndexClass = `index${zIndex}`;
|
|
14
|
+
let freezeClass = compileClassNames({
|
|
15
|
+
[style.container]: true,
|
|
16
|
+
[customClass]: !!customClass,
|
|
17
|
+
[style[zIndexClass]]: !!zIndex,
|
|
18
|
+
[style[palette]]: !isSvgMask && !!palette
|
|
19
|
+
});
|
|
20
|
+
return {
|
|
21
|
+
freezeClass
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -13,5 +13,6 @@ export const propTypes = {
|
|
|
13
13
|
onClick: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
|
|
14
14
|
palette: PropTypes.oneOf(['dark', 'default', 'darkLight', 'plain', 'snow']),
|
|
15
15
|
runOnMount: PropTypes.bool,
|
|
16
|
+
customStyle: PropTypes.object,
|
|
16
17
|
zIndex: PropTypes.oneOf(['3', '5', '7', '10'])
|
|
17
18
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import React, { useRef, useState, useEffect } from 'react';
|
|
2
|
+
import { isTextSelected } from '@zohodesk/components/es/utils/Common';
|
|
3
|
+
import { getDotLibraryConfig } from '../Provider/Config';
|
|
4
|
+
export default function useFreezeLayer(_ref) {
|
|
5
|
+
let {
|
|
6
|
+
isActive: propsActive,
|
|
7
|
+
onClick
|
|
8
|
+
} = _ref;
|
|
9
|
+
const [isActive, setActive] = useState(propsActive);
|
|
10
|
+
const [isChildActive, setChildActive] = useState(false);
|
|
11
|
+
let isFreezeLayerEnabled = useRef(false);
|
|
12
|
+
function handleClick() {
|
|
13
|
+
if (onClick && !isTextSelected()) {
|
|
14
|
+
onClick();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
function enableFreeze() {
|
|
18
|
+
if (!isFreezeLayerEnabled.current) {
|
|
19
|
+
isFreezeLayerEnabled.current = true;
|
|
20
|
+
const freezeLayerEnable = (getDotLibraryConfig('freezeLayer') || {}).enable;
|
|
21
|
+
freezeLayerEnable && freezeLayerEnable();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function disableFreeze() {
|
|
25
|
+
if (isFreezeLayerEnabled.current) {
|
|
26
|
+
isFreezeLayerEnabled.current = false;
|
|
27
|
+
const freezeLayerDisable = (getDotLibraryConfig('freezeLayer') || {}).disable;
|
|
28
|
+
freezeLayerDisable && freezeLayerDisable();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
if (propsActive) {
|
|
33
|
+
enableFreeze();
|
|
34
|
+
setActive(true);
|
|
35
|
+
setTimeout(() => setChildActive(true));
|
|
36
|
+
} else {
|
|
37
|
+
disableFreeze();
|
|
38
|
+
setChildActive(false);
|
|
39
|
+
setTimeout(() => setActive(false));
|
|
40
|
+
}
|
|
41
|
+
return () => {
|
|
42
|
+
disableFreeze();
|
|
43
|
+
};
|
|
44
|
+
}, [propsActive]);
|
|
45
|
+
return {
|
|
46
|
+
isActive,
|
|
47
|
+
isChildActive,
|
|
48
|
+
handleClick
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { defaultProps } from './props/defaultProps';
|
|
4
4
|
import { propTypes } from './props/propTypes';
|
|
5
|
-
import Icon from '@zohodesk/icons
|
|
5
|
+
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
7
7
|
import btnStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
|
|
8
8
|
import RippleEffect from '@zohodesk/components/lib/RippleEffect/RippleEffect';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
5
|
-
import Icon from '@zohodesk/icons
|
|
5
|
+
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import style from './ImportantNotes.module.css';
|
|
7
7
|
export default class ImportantNotes extends React.Component {
|
|
8
8
|
constructor(props) {
|
package/es/Message/Message.js
CHANGED
|
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { defaultProps } from './props/defaultProps';
|
|
4
4
|
import { propTypes } from './props/propTypes';
|
|
5
|
-
import Icon from '@zohodesk/icons
|
|
5
|
+
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import AutoClose from '../actions/AutoClose';
|
|
7
7
|
import style from './Message.module.css';
|
|
8
8
|
export default class Message extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import Link from '../Link/Link';
|
|
5
|
-
import Icon from '@zohodesk/icons
|
|
5
|
+
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
7
7
|
import style from './MessageBanner.module.css';
|
|
8
8
|
export default class MessageBanner extends React.Component {
|
package/es/NewStar/NewStar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
|
-
import Icon from '@zohodesk/icons
|
|
4
|
+
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
import style from './NewStar.module.css';
|
|
7
7
|
export default class NewStar extends React.Component {
|
|
@@ -3,7 +3,7 @@ import React, { useState } from 'react';
|
|
|
3
3
|
import { defaultProps } from './props/defaultProps';
|
|
4
4
|
import { propTypes } from './props/propTypes';
|
|
5
5
|
//components
|
|
6
|
-
import Icon from '@zohodesk/icons
|
|
6
|
+
import { Icon } from '@zohodesk/icons';
|
|
7
7
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
8
8
|
import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
9
9
|
import { useUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
package/es/Upload/Upload.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
|
-
import Icon from '@zohodesk/icons
|
|
4
|
+
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
import Image from '../Image/Image';
|
|
7
7
|
import style from './Upload.module.css';
|
|
@@ -3,7 +3,7 @@ import { defaultProps } from './props/defaultProps';
|
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import Title from '../../lookup/header/Title/Title';
|
|
5
5
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
|
-
import Icon from '@zohodesk/icons
|
|
6
|
+
import { Icon } from '@zohodesk/icons';
|
|
7
7
|
import Close from '../../lookup/header/Close/Close';
|
|
8
8
|
import style from './AlertHeader.module.css';
|
|
9
9
|
export default class AlertHeader extends Component {
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { defaultProps } from './props/defaultProps';
|
|
4
4
|
import { propTypes } from './props/propTypes';
|
|
5
5
|
import Avatar from '@zohodesk/components/lib/Avatar/Avatar';
|
|
6
|
-
import Icon from '@zohodesk/icons
|
|
6
|
+
import { Icon } from '@zohodesk/icons';
|
|
7
7
|
import style from './AvatarClose.module.css';
|
|
8
8
|
export default class AvatarClose extends React.Component {
|
|
9
9
|
constructor(props) {
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { defaultProps } from './props/defaultProps';
|
|
4
4
|
import { propTypes } from './props/propTypes';
|
|
5
5
|
import Avatar from '@zohodesk/components/lib/Avatar/Avatar';
|
|
6
|
-
import Icon from '@zohodesk/icons
|
|
6
|
+
import { Icon } from '@zohodesk/icons';
|
|
7
7
|
import style from './AvatarCollision.module.css';
|
|
8
8
|
export default class AvatarCollision extends React.Component {
|
|
9
9
|
constructor(props) {
|
|
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { defaultProps } from './props/defaultProps';
|
|
4
4
|
import { propTypes } from './props/propTypes';
|
|
5
|
-
import Icon from '@zohodesk/icons
|
|
5
|
+
import { Icon } from '@zohodesk/icons';
|
|
6
6
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
7
7
|
import AvatarSize from '@zohodesk/components/lib/Provider/AvatarSize';
|
|
8
8
|
import style from './AvatarIcon.module.css';
|
|
@@ -27,7 +27,8 @@ export default class AvatarStatus extends React.Component {
|
|
|
27
27
|
customTextClass,
|
|
28
28
|
statusTitle,
|
|
29
29
|
customProps,
|
|
30
|
-
dataSelectorId
|
|
30
|
+
dataSelectorId,
|
|
31
|
+
needDefaultBorder
|
|
31
32
|
} = this.props;
|
|
32
33
|
let {
|
|
33
34
|
AvatarStatusProps = {},
|
|
@@ -52,6 +53,7 @@ export default class AvatarStatus extends React.Component {
|
|
|
52
53
|
initial: initial,
|
|
53
54
|
shape: shape,
|
|
54
55
|
needTitle: needTitle,
|
|
56
|
+
needDefaultBorder: needDefaultBorder,
|
|
55
57
|
needBorder: needBorder
|
|
56
58
|
}, AvatarProps)), /*#__PURE__*/React.createElement("span", {
|
|
57
59
|
"data-title": statusTitle,
|
|
@@ -13,6 +13,8 @@ export const propTypes = {
|
|
|
13
13
|
size: PropTypes.string,
|
|
14
14
|
src: PropTypes.string,
|
|
15
15
|
state: PropTypes.string,
|
|
16
|
+
needDefaultBorder: PropTypes.bool,
|
|
17
|
+
needBorder: PropTypes.bool,
|
|
16
18
|
statusTitle: PropTypes.string,
|
|
17
19
|
textPalette: PropTypes.oneOf(['white', 'black']),
|
|
18
20
|
title: PropTypes.string,
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { defaultProps } from './props/defaultProps';
|
|
4
4
|
import { propTypes } from './props/propTypes';
|
|
5
5
|
import Avatar from '@zohodesk/components/lib/Avatar/Avatar';
|
|
6
|
-
import Icon from '@zohodesk/icons
|
|
6
|
+
import { Icon } from '@zohodesk/icons';
|
|
7
7
|
import style from './AvatarThread.module.css';
|
|
8
8
|
export default class AvatarThread extends React.Component {
|
|
9
9
|
render() {
|