@zohodesk/dot 1.0.0-temp-138 → 1.0.0-temp.139

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.
Files changed (59) hide show
  1. package/README.md +6 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +66 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +4 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +4 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +4 -0
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +4 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +4 -0
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +66 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +4 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +4 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +4 -0
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +4 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +4 -0
  14. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +66 -0
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +4 -0
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +4 -0
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +4 -0
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +4 -0
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +4 -0
  20. package/css_error.log +1 -0
  21. package/es/TagWithIcon/TagWithIcon.js +62 -0
  22. package/es/TagWithIcon/TagWithIcon.module.css +56 -0
  23. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
  24. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  25. package/es/dropdown/ToggleDropDown/props/propTypes.js +5 -1
  26. package/es/layout/List/CommentsList/CommentListItemCommon.module.css +143 -0
  27. package/es/layout/List/CommentsList/CommentListItemFromTab.module.css +50 -0
  28. package/es/layout/List/CommentsList/CommentListItemFromTabUI.js +121 -0
  29. package/es/layout/List/CommentsList/CommentListItemWeb.module.css +45 -0
  30. package/es/layout/List/CommentsList/CommentListItemWebUI.js +107 -0
  31. package/es/layout/List/ThreadsList/ThreadListItemCommon.module.css +345 -0
  32. package/es/layout/List/ThreadsList/ThreadListItemFromTab.module.css +35 -0
  33. package/es/layout/List/ThreadsList/ThreadListItemFromTabUI.js +282 -0
  34. package/es/layout/List/ThreadsList/ThreadListItemWeb.module.css +35 -0
  35. package/es/layout/List/ThreadsList/ThreadListItemWebUI.js +270 -0
  36. package/es/layout/List/common/SubTabListItemTabCommon.module.css +59 -0
  37. package/es/layout/List/common/SubTabListItemWebCommon.module.css +99 -0
  38. package/es/layout/List/common/twoToneIconColor.module.css +26 -0
  39. package/es/list/status/StatusListItem/StatusListItem.module.css +7 -5
  40. package/lib/TagWithIcon/TagWithIcon.js +92 -0
  41. package/lib/TagWithIcon/TagWithIcon.module.css +56 -0
  42. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +4 -2
  43. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  44. package/lib/dropdown/ToggleDropDown/props/propTypes.js +5 -1
  45. package/lib/layout/List/CommentsList/CommentListItemCommon.module.css +143 -0
  46. package/lib/layout/List/CommentsList/CommentListItemFromTab.module.css +50 -0
  47. package/lib/layout/List/CommentsList/CommentListItemFromTabUI.js +123 -0
  48. package/lib/layout/List/CommentsList/CommentListItemWeb.module.css +45 -0
  49. package/lib/layout/List/CommentsList/CommentListItemWebUI.js +109 -0
  50. package/lib/layout/List/ThreadsList/ThreadListItemCommon.module.css +345 -0
  51. package/lib/layout/List/ThreadsList/ThreadListItemFromTab.module.css +35 -0
  52. package/lib/layout/List/ThreadsList/ThreadListItemFromTabUI.js +283 -0
  53. package/lib/layout/List/ThreadsList/ThreadListItemWeb.module.css +35 -0
  54. package/lib/layout/List/ThreadsList/ThreadListItemWebUI.js +271 -0
  55. package/lib/layout/List/common/SubTabListItemTabCommon.module.css +59 -0
  56. package/lib/layout/List/common/SubTabListItemWebCommon.module.css +99 -0
  57. package/lib/layout/List/common/twoToneIconColor.module.css +26 -0
  58. package/lib/list/status/StatusListItem/StatusListItem.module.css +7 -5
  59. package/package.json +3 -3
package/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.0.0-beta.252
6
+
7
+ - **ToggleDropdown** - customClass (customDropBox and customListBox) Support added.
8
+
9
+ - **StatusDropdown** - align item value changed (center => baseline) and Line-height changed(18px => 20px)
10
+
5
11
  # 1.0.0-beta.251
6
12
 
7
13
  - **ToggleDropdown, StatusDropdown, StatusListItem** - Added New Prop `needMultiLineText`
@@ -538,4 +538,70 @@
538
538
  --zdt_separator_default_text: var(--dot_riverbed);
539
539
  --zdt_separator_primary_text: var(--zdt_cta_primary_text);
540
540
  --zdt_separator_secondary_text: var(--dot_platinum);
541
+
542
+ /* webpage selection color */
543
+ --zdt_selection_bg: var(--zdt_cta_primary_bg);
544
+ --zdt_selection_text: var(--zdt_cta_secondary_text);
545
+
546
+ /* webpage selection color */
547
+ --zdt_inverted_selection_text: var(--dot_black);
548
+
549
+ /* comment list */
550
+ --zdt_commentList_public_bg: #273447;
551
+ --zdt_commentList_public_border: #2c4463;
552
+ --zdt_commentList_private_bg: #323439;
553
+ --zdt_commentList_private_border: #463f32;
554
+ --zdt_commentList_normal_bg: var(--dot_ebonyclay);
555
+ --zdt_commentList_publicIcon_border: var(--dot_butterflyblue);
556
+ --zdt_commentList_publicIcon_bg: #433c32;
557
+ --zdt_commentList_privateIcon_border: var(--dot_brightOrange);
558
+ --zdt_commentList_privateIcon_bg: #313d54;
559
+ --zdt_commentList_edit_hover_text: var(--zdt_cta_primary_text);
560
+ --zdt_commentBox_publicIcon_bg: var(--dot_white);
561
+ --zdt_commentBox_publicIcon_night_bg: var(--dot_ebonyclay);
562
+
563
+ /* Conversation */
564
+ --zdt_conversationList_border: var(--zdt_cta_grey_15_border);
565
+ --zdt_conversationList_secondaryText: var(--dot_cadetblue);
566
+ --zdt_conversationList_attachCount_text: var(--dot_oslogrey);
567
+ --zdt_conversationList_time_text: var(--dot_cadetblue);
568
+ --zdt_conversationList_agentName_text: var(--dot_platinum);
569
+ --zdt_conversationList_thread_text: var(--dot_black);
570
+ --zdt_conversationList_agent_text: var(--zdt_cta_primary_text);
571
+ --zdt_conversationList_agent_hover_text: var(--zdt_cta_primary_hover_text);
572
+
573
+ /* tag with icon */
574
+ --zdt_tagWithIconGrey_bg: rgba(255, 255, 255, 0.03);
575
+ --zdt_tagWithIconGrey_border: rgba(255, 255, 255, 0.2);
576
+ --zdt_tagWithIconGrey_text: var(--dot_platinum);
577
+ --zdt_tagWithIconBlue_bg: #253142;
578
+ --zdt_tagWithIconBlue_border: #2d4869;
579
+ --zdt_tagWithIconBlue_text: var(--dot_butterflyblue);
580
+ --zdt_tagWithIconYellow_bg: #2d3239;
581
+ --zdt_tagWithIconYellow_border: #574c3d;
582
+ --zdt_tagWithIconYellow_text: var(--dot_brightOrange);
583
+
584
+ /* dv threads */
585
+ --zdt_thread_bg: var(--dot_ebonyclay);
586
+ --zdt_threadList_Draft_text: var(--dot_bittersweet);
587
+ --zdt_threadList_BestAns_text: var(--dot_darkmint);
588
+ --zdt_threadList_secondaryText: var(--dot_oslogrey);
589
+ --zdt_threadList_secondaryText_hover: var(--dot_platinum);
590
+ --zdt_threadList_expand_icon: var(--zdt_cta_grey_40_text);
591
+ --zdt_threadList_expand_icon_active: var(--dot_platinum);
592
+ --zdt_threadList_recipient_border: var(--zdt_cta_grey_35_border);
593
+ --zdt_threadList_recipient_border_hover: var(--dot_oslogrey);
594
+ --zdt_threadList_link_text: var(--zdt_cta_primary_text);
595
+ --zdt_threadlistitem_feedbackicon_text: var(--dot_platinum);
596
+ --zdt_threadattachments_text: var(--dot_platinum);
597
+
598
+ /* read receipts */
599
+ --zdt_readReceipts_statusIcon_blue: var(--zdt_cta_primary_text);
600
+ --zdt_readReceipts_statusIcon_green: #4ac064;
601
+ --zdt_readReceipts_statusIcon_red: #ff6b6b;
602
+ --zdt_readReceipts_statusIcon_grey: #a8b0bd;
603
+ --zdt_readReceipts_statusIcon_grey_bg: #2d3748;
604
+ --zdt_readReceipts_statusIcon_green_bg: #2d4e42;
605
+ --zdt_readReceipts_statusIcon_blue_bg: #3f536b;
606
+ --zdt_readReceipts_statusIcon_red_bg: #4b323d;
541
607
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: var(--dot_tuna);
14
14
  --zdt_attachmentviewer_footer_bg: #1b212b;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(27 33 43 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: #39414e;
19
+ --zdt_twotoneIcon_primary_border: var(--dot_cadetblue);
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: var(--dot_tuna);
14
14
  --zdt_attachmentviewer_footer_bg: #1b212b;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(27 33 43 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: #39414e;
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: var(--dot_tuna);
14
14
  --zdt_attachmentviewer_footer_bg: #1b212b;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(27 33 43 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: #39414e;
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: var(--dot_tuna);
14
14
  --zdt_attachmentviewer_footer_bg: #1b212b;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(27 33 43 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: #39414e;
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: var(--dot_tuna);
14
14
  --zdt_attachmentviewer_footer_bg: #1b212b;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(27 33 43 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: #39414e;
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -538,4 +538,70 @@
538
538
  --zdt_separator_default_text: var(--zd_smoke12);
539
539
  --zdt_separator_primary_text: var(--zdt_cta_primary_text);
540
540
  --zdt_separator_secondary_text: var(--dot_black);
541
+
542
+ /* webpage selection color */
543
+ --zdt_selection_bg: var(--zdt_cta_primary_bg);
544
+ --zdt_selection_text: var(--zdt_cta_secondary_text);
545
+
546
+ /* webpage selection color */
547
+ --zdt_inverted_selection_text: var(--zdt_cta_secondary_text);
548
+
549
+ /* comment list */
550
+ --zdt_commentList_public_bg: #edf4fd;
551
+ --zdt_commentList_public_border: #bdd9f9;
552
+ --zdt_commentList_private_bg: #fefcf3;
553
+ --zdt_commentList_private_border: #f8eaae;
554
+ --zdt_commentList_normal_bg: var(--dot_white);
555
+ --zdt_commentList_publicIcon_border: var(--dot_primary);
556
+ --zdt_commentList_publicIcon_bg: var(--dot_white);
557
+ --zdt_commentList_privateIcon_border: var(--dot_brightOrange);
558
+ --zdt_commentList_privateIcon_bg: var(--dot_white);
559
+ --zdt_commentList_edit_hover_text: var(--zdt_cta_primary_text);
560
+ --zdt_commentBox_publicIcon_bg: var(--dot_white);
561
+ --zdt_commentBox_publicIcon_night_bg: var(--dot_white);
562
+
563
+ /* Conversation */
564
+ --zdt_conversationList_border: var(--zdt_cta_grey_15_border);
565
+ --zdt_conversationList_secondaryText: var(--dot_shuttleGrey);
566
+ --zdt_conversationList_attachCount_text: var(--dot_slateGrey);
567
+ --zdt_conversationList_time_text: var(--dot_shuttleGrey);
568
+ --zdt_conversationList_agentName_text: var(--dot_black);
569
+ --zdt_conversationList_thread_text: var(--dot_black);
570
+ --zdt_conversationList_agent_text: var(--zdt_cta_primary_text);
571
+ --zdt_conversationList_agent_hover_text: var(--zdt_cta_primary_hover_text);
572
+
573
+ /* tag with icon */
574
+ --zdt_tagWithIconGrey_bg: var(--zdt_cta_grey_20_bg);
575
+ --zdt_tagWithIconGrey_border: var(--zdt_cta_grey_35_border);
576
+ --zdt_tagWithIconGrey_text: var(--dot_black);
577
+ --zdt_tagWithIconBlue_bg: #e7f1fd;
578
+ --zdt_tagWithIconBlue_border: #bdd9f9;
579
+ --zdt_tagWithIconBlue_text: var(--dot_primary);
580
+ --zdt_tagWithIconYellow_bg: #fefae8;
581
+ --zdt_tagWithIconYellow_border: #f8eaae;
582
+ --zdt_tagWithIconYellow_text: #f6a459;
583
+
584
+ /* dv threads */
585
+ --zdt_thread_bg: var(--dot_white);
586
+ --zdt_threadList_Draft_text: var(--dot_brightRed);
587
+ --zdt_threadList_BestAns_text: var(--dot_strongGreen);
588
+ --zdt_threadList_secondaryText: var(--dot_slateGrey);
589
+ --zdt_threadList_secondaryText_hover: var(--dot_black);
590
+ --zdt_threadList_expand_icon: var(--zdt_cta_grey_40_text);
591
+ --zdt_threadList_expand_icon_active: var(--dot_black);
592
+ --zdt_threadList_recipient_border: var(--zdt_cta_grey_35_border);
593
+ --zdt_threadList_recipient_border_hover: var(--dot_slateGrey);
594
+ --zdt_threadList_link_text: var(--zdt_cta_primary_text);
595
+ --zdt_threadlistitem_feedbackicon_text: #010101;
596
+ --zdt_threadattachments_text: var(--dot_black);
597
+
598
+ /* read receipts */
599
+ --zdt_readReceipts_statusIcon_blue: var(--zdt_cta_primary_text);
600
+ --zdt_readReceipts_statusIcon_green: var(--dot_strongGreen);
601
+ --zdt_readReceipts_statusIcon_red: var(--dot_brightRed);
602
+ --zdt_readReceipts_statusIcon_grey: var(--dot_shuttleGrey);
603
+ --zdt_readReceipts_statusIcon_grey_bg: var(--dot_solitude);
604
+ --zdt_readReceipts_statusIcon_green_bg: #d4eed9;
605
+ --zdt_readReceipts_statusIcon_blue_bg: #e7f1fd;
606
+ --zdt_readReceipts_statusIcon_red_bg: var(--dot_paleRed);
541
607
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: #42485f;
14
14
  --zdt_attachmentviewer_footer_bg: #2c334d;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(44 51 77 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(200, 203, 220, 0.5);
19
+ --zdt_twotoneIcon_primary_border: var(--dot_black);
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: #1a3439;
14
14
  --zdt_attachmentviewer_footer_bg: #0f2226;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(15 34 38 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(197, 205, 199, 0.5);
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: #2e2b11;
14
14
  --zdt_attachmentviewer_footer_bg: #241e13;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(36 30 19 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(204, 201, 199, 0.5);
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: #321f22;
14
14
  --zdt_attachmentviewer_footer_bg: #220f1b;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(34 15 27 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(204, 199, 201, 0.5);
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: rgba(255, 255, 255, 0.08);
14
14
  --zdt_attachmentviewer_footer_bg: #222412;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(34 36 18 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(204, 203, 199, 0.5);
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -538,4 +538,70 @@
538
538
  --zdt_separator_default_text: #585858;
539
539
  --zdt_separator_primary_text: var(--zdt_cta_primary_text);
540
540
  --zdt_separator_secondary_text: var(--dot_platinum);
541
+
542
+ /* webpage selection color */
543
+ --zdt_selection_bg: var(--zdt_cta_primary_bg);
544
+ --zdt_selection_text: var(--zdt_cta_secondary_text);
545
+
546
+ /* webpage selection color */
547
+ --zdt_inverted_selection_text: var(--dot_black);
548
+
549
+ /* comment list */
550
+ --zdt_commentList_public_bg: #23282f;
551
+ --zdt_commentList_public_border: #2b3846;
552
+ --zdt_commentList_private_bg: #2a2722;
553
+ --zdt_commentList_private_border: #3e362a;
554
+ --zdt_commentList_normal_bg: #212121;
555
+ --zdt_commentList_publicIcon_border: var(--dot_butterflyblue);
556
+ --zdt_commentList_publicIcon_bg: #212121;
557
+ --zdt_commentList_privateIcon_border: var(--dot_brightOrange);
558
+ --zdt_commentList_privateIcon_bg: #212121;
559
+ --zdt_commentList_edit_hover_text: var(--zdt_cta_primary_text);
560
+ --zdt_commentBox_publicIcon_bg: var(--dot_white);
561
+ --zdt_commentBox_publicIcon_night_bg: #212121;
562
+
563
+ /* Conversation */
564
+ --zdt_conversationList_border: #2e2e2e;
565
+ --zdt_conversationList_secondaryText: #999;
566
+ --zdt_conversationList_attachCount_text: var(--dot_oslogrey);
567
+ --zdt_conversationList_time_text: #999;
568
+ --zdt_conversationList_agentName_text: var(--dot_platinum);
569
+ --zdt_conversationList_thread_text: var(--dot_black);
570
+ --zdt_conversationList_agent_text: var(--zdt_cta_primary_text);
571
+ --zdt_conversationList_agent_hover_text: var(--zdt_cta_primary_hover_text);
572
+
573
+ /* tag with icon */
574
+ --zdt_tagWithIconGrey_bg: rgba(255, 255, 255, 0.03);
575
+ --zdt_tagWithIconGrey_border: rgba(255, 255, 255, 0.2);
576
+ --zdt_tagWithIconGrey_text: var(--dot_platinum);
577
+ --zdt_tagWithIconBlue_bg: #253142;
578
+ --zdt_tagWithIconBlue_border: #2d4869;
579
+ --zdt_tagWithIconBlue_text: var(--dot_butterflyblue);
580
+ --zdt_tagWithIconYellow_bg: rgba(245, 176, 65, 0.05);
581
+ --zdt_tagWithIconYellow_border: #574c3d;
582
+ --zdt_tagWithIconYellow_text: var(--dot_brightOrange);
583
+
584
+ /* dv threads */
585
+ --zdt_thread_bg: #212121;
586
+ --zdt_threadList_Draft_text: var(--dot_bittersweet);
587
+ --zdt_threadList_BestAns_text: var(--dot_darkmint);
588
+ --zdt_threadList_secondaryText: var(--dot_oslogrey);
589
+ --zdt_threadList_secondaryText_hover: var(--dot_platinum);
590
+ --zdt_threadList_expand_icon: var(--zdt_cta_grey_40_text);
591
+ --zdt_threadList_expand_icon_active: var(--dot_platinum);
592
+ --zdt_threadList_recipient_border: var(--zdt_cta_grey_35_border);
593
+ --zdt_threadList_recipient_border_hover: var(--dot_oslogrey);
594
+ --zdt_threadList_link_text: var(--zdt_cta_primary_text);
595
+ --zdt_threadlistitem_feedbackicon_text: var(--dot_platinum);
596
+ --zdt_threadattachments_text: var(--dot_platinum);
597
+
598
+ /* read receipts */
599
+ --zdt_readReceipts_statusIcon_blue: var(--zdt_cta_primary_text);
600
+ --zdt_readReceipts_statusIcon_green: #4ac064;
601
+ --zdt_readReceipts_statusIcon_red: #ff6b6b;
602
+ --zdt_readReceipts_statusIcon_grey: #a8b0bd;
603
+ --zdt_readReceipts_statusIcon_grey_bg: #2d3748;
604
+ --zdt_readReceipts_statusIcon_green_bg: #2d4e42;
605
+ --zdt_readReceipts_statusIcon_blue_bg: #3f536b;
606
+ --zdt_readReceipts_statusIcon_red_bg: #4b323d;
541
607
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: #222;
14
14
  --zdt_attachmentviewer_footer_bg: #171717;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(16 16 16 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(255, 255, 255, 0.08);
19
+ --zdt_twotoneIcon_primary_border: #999;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: #222;
14
14
  --zdt_attachmentviewer_footer_bg: #171717;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(16 16 16 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(255, 255, 255, 0.08);
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: #222;
14
14
  --zdt_attachmentviewer_footer_bg: #171717;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(16 16 16 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(255, 255, 255, 0.08);
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: #222;
14
14
  --zdt_attachmentviewer_footer_bg: #171717;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(16 16 16 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(255, 255, 255, 0.08);
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
@@ -13,4 +13,8 @@
13
13
  --zdt_attachmentviewer_header_border: #222;
14
14
  --zdt_attachmentviewer_footer_bg: #171717;
15
15
  --zdt_attachmentviewer_arrow_bg_hover: rgb(16 16 16 / 40%);
16
+
17
+ /* twotone icon */
18
+ --zdt_twotoneIcon_primary_bg: rgba(255, 255, 255, 0.08);
19
+ --zdt_twotoneIcon_primary_border: undefined;
16
20
  }
package/css_error.log ADDED
@@ -0,0 +1 @@
1
+ DOT Package error log:
@@ -0,0 +1,62 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import { Container, Box } from '@zohodesk/components/es/Layout';
4
+ import Icon from '@zohodesk/icons/es/Icon';
5
+ import style from './TagWithIcon.module.css';
6
+ export default class TagWithIcon extends React.Component {
7
+ render() {
8
+ const {
9
+ text,
10
+ iconName,
11
+ iconSize,
12
+ palette,
13
+ iconClass,
14
+ isBold,
15
+ size,
16
+ dataId,
17
+ className,
18
+ title
19
+ } = this.props;
20
+ return /*#__PURE__*/React.createElement(Container, {
21
+ isInline: true,
22
+ alignBox: "row",
23
+ align: "vertical",
24
+ isCover: false,
25
+ className: `${style.wrapper} ${style[palette]} ${style[size]} ${className}`,
26
+ dataId: dataId,
27
+ title: title
28
+ }, iconName ? /*#__PURE__*/React.createElement(Icon, {
29
+ name: iconName,
30
+ size: iconSize,
31
+ iconClass: `${text ? style.iconSpace : ''} ${iconClass} `
32
+ }) : null, text ? /*#__PURE__*/React.createElement(Box, {
33
+ shrink: true,
34
+ "data-title": text,
35
+ className: `${style.text} ${style[size]}_text ${isBold ? style.bold : ''}`
36
+ }, text) : null);
37
+ }
38
+ }
39
+ TagWithIcon.defaultProps = {
40
+ iconSize: '9',
41
+ size: 'large',
42
+ iconClass: '',
43
+ isBold: true,
44
+ palette: 'grey',
45
+ className: ''
46
+ };
47
+ TagWithIcon.propTypes = {
48
+ iconClass: PropTypes.string,
49
+ iconName: PropTypes.string,
50
+ iconSize: PropTypes.string,
51
+ title: PropTypes.string,
52
+ isBold: PropTypes.bool,
53
+ palette: PropTypes.oneOf(['yellow', 'blue', 'grey']),
54
+ size: PropTypes.oneOf('small', 'large'),
55
+ className: PropTypes.string,
56
+ text: PropTypes.string
57
+ };
58
+ if (false) {
59
+ TagWithIcon.docs = {
60
+ componentGroup: 'TagWithIcon'
61
+ };
62
+ }
@@ -0,0 +1,56 @@
1
+ .varClass {
2
+ --tag_bg_color: var(--zdt_tagWithIconGrey_bg);
3
+ --tag_text_color: var(--zdt_tagWithIconGrey_text);
4
+ --tag_border_color: var(--zdt_tagWithIconGrey_border);
5
+ --tag_small_fontSize: var(--zd_font_size10);
6
+ --tag_large_fontSize: var(--zd_font_size12);
7
+ }
8
+ .wrapper {
9
+ composes: varClass;
10
+ color: var(--tag_text_color);
11
+ background-color: var(--tag_bg_color);
12
+ }
13
+ .small,
14
+ .large {
15
+ max-width: 100%;
16
+ height: var(--zd_size18);
17
+ }
18
+ .small, .large {
19
+ border: 1px solid;
20
+ border-color: var(--tag_border_color);
21
+ border-radius: var(--zd_size4);
22
+ padding: 0 var(--zd_size6);
23
+ }
24
+ .bold {
25
+ composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
26
+ }
27
+ .small_text {
28
+ font-size: var(--tag_small_fontSize);
29
+ }
30
+ .large_text {
31
+ font-size: var(--tag_large_fontSize);
32
+ }
33
+ .text {
34
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
35
+ }
36
+ [dir=ltr] .iconSpace{
37
+ margin-right: var(--zd_size4);
38
+ }
39
+ [dir=rtl] .iconSpace{
40
+ margin-left: var(--zd_size4);
41
+ }
42
+ .yellow {
43
+ --tag_bg_color: var(--zdt_tagWithIconYellow_bg);
44
+ --tag_text_color: var(--zdt_tagWithIconYellow_text);
45
+ --tag_border_color: var(--zdt_tagWithIconYellow_border);
46
+ }
47
+ .grey {
48
+ --tag_bg_color: var(--zdt_tagWithIconGrey_bg);
49
+ --tag_text_color: var(--zdt_tagWithIconGrey_text);
50
+ --tag_border_color: var(--zdt_tagWithIconGrey_border);
51
+ }
52
+ .blue {
53
+ --tag_bg_color: var(--zdt_tagWithIconBlue_bg);
54
+ --tag_text_color: var(--zdt_tagWithIconBlue_text);
55
+ --tag_border_color: var(--zdt_tagWithIconBlue_border);
56
+ }
@@ -531,8 +531,8 @@ export class ToggleDropDown extends Component {
531
531
  ListItemProps = {}
532
532
  } = customProps;
533
533
  let {
534
- customDropBox,
535
- customListBox
534
+ customDropBox = '',
535
+ customListBox = ''
536
536
  } = customClass;
537
537
  const isPopupOpen = needExternalPopupState ? isPopupActive && isOpen : isOpen;
538
538
  const Component = isToggleStateNeeded ? children.type : null,
@@ -22,5 +22,6 @@ export const defaultProps = {
22
22
  customProps: {},
23
23
  preventPopupClose: false,
24
24
  dataSelectorId: 'toggleDropdown',
25
- needMultiLineText: false
25
+ needMultiLineText: false,
26
+ customClass: {}
26
27
  };
@@ -68,5 +68,9 @@ export const propTypes = {
68
68
  ListItemProps: PropTypes.object
69
69
  }),
70
70
  preventPopupClose: PropTypes.bool,
71
- needMultiLineText: PropTypes.bool
71
+ needMultiLineText: PropTypes.bool,
72
+ customClass: PropTypes.shape({
73
+ customDropBox: PropTypes.string,
74
+ customListBox: PropTypes.string
75
+ })
72
76
  };
@@ -0,0 +1,143 @@
1
+ .private {
2
+ background-color: var(--zdt_commentList_private_bg);
3
+ border: 1px solid var(--zdt_commentList_private_border);
4
+ }
5
+ .public {
6
+ background-color: var(--zdt_commentList_public_bg);
7
+ border: 1px solid var(--zdt_commentList_public_border);
8
+ }
9
+ .normal {
10
+ background-color: var(--zdt_commentList_normal_bg);
11
+ border: 1px solid var(--zdt_conversationList_border);
12
+ }
13
+ .publicIcon :global .path2:before {
14
+ color: var(--zdt_commentList_publicIcon_border);
15
+ }
16
+ .publicIcon :global .path1:before {
17
+ color: var(--zdt_commentList_publicIcon_bg);
18
+ }
19
+ .privateIcon :global .path2:before {
20
+ color: var(--zdt_commentList_privateIcon_border);
21
+ }
22
+ .privateIcon :global .path1:before {
23
+ color: var(--zdt_commentList_privateIcon_bg);
24
+ }
25
+ [dir=ltr] .avatarWrapper {
26
+ margin-right: var(--zd_size15);
27
+ }
28
+ [dir=rtl] .avatarWrapper {
29
+ margin-left: var(--zd_size15);
30
+ }
31
+ .agentName {
32
+ font-size: var(--zd_font_size14);
33
+ composes: bold from '~@zohodesk/components/lib/common/common.module.css';
34
+ color: var(--zdt_conversationList_agentName_text);
35
+ }
36
+ .agentNameHover:hover {
37
+ color: var(--zdt_conversationList_agent_text);
38
+ cursor: pointer;
39
+ }
40
+ .editTxt {
41
+ font-size: var(--zd_font_size12);
42
+ color: var(--zdt_conversationList_secondaryText);
43
+ }
44
+ .editAccess {
45
+ cursor: pointer;
46
+ }
47
+ .editAccess:hover {
48
+ color: var(--zdt_commentList_edit_hover_text);
49
+ }
50
+ .attachCount {
51
+ top: calc(var(--zd_size4) * -1);
52
+ color: var(--zdt_conversationList_attachCount_text);
53
+ position: relative;
54
+ font-size: var(--zd_font_size10);
55
+ }
56
+ .contentWrapper {
57
+ margin-bottom: var(--zd_size12);
58
+ }
59
+ .attachmentWrapper {
60
+ margin-top: var(--zd_size4);
61
+ }
62
+
63
+ .thrdPlain {
64
+ font-size: var(--zd_font_size14);
65
+ word-break: break-word;
66
+ composes: oflowx from '~@zohodesk/components/lib/common/common.module.css';
67
+ color: var(--zdt_conversationList_thread_text);
68
+ }
69
+ .thrdPlain table {
70
+ word-break: initial;
71
+ }
72
+ .thrdPlainContent {
73
+ line-height: var(--zd_size20);
74
+ }
75
+ .thrdPlain a {
76
+ color: var(--zdt_conversationList_primary_text);
77
+ }
78
+ .thrdPlain a:hover {
79
+ color: var(--zdt_conversationList_primary_hover_text);
80
+ }
81
+ .thrdPlain img[src*='/ImageDisplay'], .thrdPlain img[src*='/inlineImages'], .thrdPlain img[src*='/ViewMailAttachment.do'] {
82
+ cursor: pointer;
83
+ }
84
+ [dir=ltr] .thrdPlain blockquote {
85
+ margin: 0 0 0 var(--zd_size4);
86
+ }
87
+ [dir=rtl] .thrdPlain blockquote {
88
+ margin: 0 var(--zd_size4) 0 0;
89
+ }
90
+ .thrdPlain img {
91
+ max-width: 100%;
92
+ }
93
+ .whiteBg.thrdPlain a,
94
+ .whiteBg .thrdPlain a {
95
+ color: var(--zdt_conversationList_agent_text);
96
+ }
97
+ .whiteBg.thrdPlain a:hover,
98
+ .whiteBg .thrdPlain a:hover {
99
+ color: var(--zdt_conversationList_agent_hover_text);
100
+ }
101
+
102
+ /* opposite colors applied in variables to show original theme colors for selection area in inverted threads */
103
+ .invert .thrdPlain ::selection,
104
+ .invert.thrdPlain ::selection,
105
+ .invert .thrdPlain::selection,
106
+ .invert.thrdPlain::selection {
107
+ color: var(--zdt_inverted_selection_text);
108
+ }
109
+ .invert .thrdPlain ::selection, .invert.thrdPlain ::selection, .invert .thrdPlain::selection, .invert.thrdPlain::selection {
110
+ background-color: var(--zdt_selection_bg);
111
+ }
112
+ .invert .thrdPlain ::-moz-selection,
113
+ .invert.thrdPlain ::-moz-selection,
114
+ .invert .thrdPlain::-moz-selection,
115
+ .invert.thrdPlain::-moz-selection {
116
+ color: var(--zdt_inverted_selection_text);
117
+ }
118
+ .invert .thrdPlain ::-moz-selection, .invert.thrdPlain ::-moz-selection, .invert .thrdPlain::-moz-selection, .invert.thrdPlain::-moz-selection {
119
+ background-color: var(--zdt_selection_bg);
120
+ }
121
+ .invert .thrdPlain,
122
+ .invert.thrdPlain {
123
+ filter: invert(1) hue-rotate(180deg);
124
+ }
125
+ /* <img> and <a> elements selection inverted again below. So, to avoid opposite colors in <img> & <a> area original colors variables used below */
126
+ .invert .thrdPlain img::selection,
127
+ .invert.thrdPlain img::selection {
128
+ color: var(--zdt_selection_text);
129
+ }
130
+ .invert .thrdPlain img::selection, .invert.thrdPlain img::selection {
131
+ background-color: var(--zdt_selection_bg);
132
+ }
133
+ .invert .thrdPlain img::-moz-selection,
134
+ .invert.thrdPlain img::-moz-selection {
135
+ color: var(--zdt_selection_text);
136
+ }
137
+ .invert .thrdPlain img::-moz-selection, .invert.thrdPlain img::-moz-selection {
138
+ background-color: var(--zdt_selection_bg);
139
+ }
140
+ .invert img,
141
+ .invert video {
142
+ filter: invert(1) hue-rotate(180deg);
143
+ }