@zohodesk/dot 1.0.0-temp-137 → 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.
- package/README.md +6 -0
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +66 -0
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +4 -0
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +4 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +4 -0
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +4 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +4 -0
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +66 -0
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +4 -0
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +4 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +4 -0
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +4 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +4 -0
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +66 -0
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +4 -0
- package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +4 -0
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +4 -0
- package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +4 -0
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +4 -0
- package/css_error.log +1 -0
- package/es/TagWithIcon/TagWithIcon.js +62 -0
- package/es/TagWithIcon/TagWithIcon.module.css +56 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +9 -3
- package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
- package/es/dropdown/ToggleDropDown/props/propTypes.js +5 -1
- package/es/layout/List/CommentsList/CommentListItemCommon.module.css +143 -0
- package/es/layout/List/CommentsList/CommentListItemFromTab.module.css +50 -0
- package/es/layout/List/CommentsList/CommentListItemFromTabUI.js +121 -0
- package/es/layout/List/CommentsList/CommentListItemWeb.module.css +45 -0
- package/es/layout/List/CommentsList/CommentListItemWebUI.js +107 -0
- package/es/layout/List/ThreadsList/ThreadListItemCommon.module.css +345 -0
- package/es/layout/List/ThreadsList/ThreadListItemFromTab.module.css +35 -0
- package/es/layout/List/ThreadsList/ThreadListItemFromTabUI.js +282 -0
- package/es/layout/List/ThreadsList/ThreadListItemWeb.module.css +35 -0
- package/es/layout/List/ThreadsList/ThreadListItemWebUI.js +270 -0
- package/es/layout/List/common/SubTabListItemTabCommon.module.css +59 -0
- package/es/layout/List/common/SubTabListItemWebCommon.module.css +99 -0
- package/es/layout/List/common/twoToneIconColor.module.css +26 -0
- package/es/list/status/StatusListItem/StatusListItem.js +1 -1
- package/es/list/status/StatusListItem/StatusListItem.module.css +7 -5
- package/lib/TagWithIcon/TagWithIcon.js +92 -0
- package/lib/TagWithIcon/TagWithIcon.module.css +56 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +9 -3
- package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +5 -1
- package/lib/layout/List/CommentsList/CommentListItemCommon.module.css +143 -0
- package/lib/layout/List/CommentsList/CommentListItemFromTab.module.css +50 -0
- package/lib/layout/List/CommentsList/CommentListItemFromTabUI.js +123 -0
- package/lib/layout/List/CommentsList/CommentListItemWeb.module.css +45 -0
- package/lib/layout/List/CommentsList/CommentListItemWebUI.js +109 -0
- package/lib/layout/List/ThreadsList/ThreadListItemCommon.module.css +345 -0
- package/lib/layout/List/ThreadsList/ThreadListItemFromTab.module.css +35 -0
- package/lib/layout/List/ThreadsList/ThreadListItemFromTabUI.js +283 -0
- package/lib/layout/List/ThreadsList/ThreadListItemWeb.module.css +35 -0
- package/lib/layout/List/ThreadsList/ThreadListItemWebUI.js +271 -0
- package/lib/layout/List/common/SubTabListItemTabCommon.module.css +59 -0
- package/lib/layout/List/common/SubTabListItemWebCommon.module.css +99 -0
- package/lib/layout/List/common/twoToneIconColor.module.css +26 -0
- package/lib/list/status/StatusListItem/StatusListItem.js +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.module.css +7 -5
- 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
|
+
}
|
|
@@ -520,7 +520,8 @@ export class ToggleDropDown extends Component {
|
|
|
520
520
|
palette,
|
|
521
521
|
getFooter,
|
|
522
522
|
customProps,
|
|
523
|
-
needMultiLineText
|
|
523
|
+
needMultiLineText,
|
|
524
|
+
customClass
|
|
524
525
|
} = this.props;
|
|
525
526
|
let {
|
|
526
527
|
ToggleDropDownProps = {},
|
|
@@ -529,6 +530,10 @@ export class ToggleDropDown extends Component {
|
|
|
529
530
|
ListItemWithIconProps = {},
|
|
530
531
|
ListItemProps = {}
|
|
531
532
|
} = customProps;
|
|
533
|
+
let {
|
|
534
|
+
customDropBox = '',
|
|
535
|
+
customListBox = ''
|
|
536
|
+
} = customClass;
|
|
532
537
|
const isPopupOpen = needExternalPopupState ? isPopupActive && isOpen : isOpen;
|
|
533
538
|
const Component = isToggleStateNeeded ? children.type : null,
|
|
534
539
|
componentProps = isToggleStateNeeded ? children.props : null;
|
|
@@ -613,7 +618,8 @@ export class ToggleDropDown extends Component {
|
|
|
613
618
|
isAnimate: true,
|
|
614
619
|
getRef: getContainerRef,
|
|
615
620
|
customClass: {
|
|
616
|
-
customDropBoxWrap: style.dropBoxContainer
|
|
621
|
+
customDropBoxWrap: style.dropBoxContainer,
|
|
622
|
+
customDropBox: customDropBox
|
|
617
623
|
},
|
|
618
624
|
needResponsive: needResponsive,
|
|
619
625
|
isPadding: isPadding,
|
|
@@ -659,7 +665,7 @@ export class ToggleDropDown extends Component {
|
|
|
659
665
|
scroll: "vertical",
|
|
660
666
|
preventParentScroll: "vertical",
|
|
661
667
|
dataId: `${dataId}_list`,
|
|
662
|
-
className: `${tabletMode ? style.responsivemaxHgt : style.maxHgt}`,
|
|
668
|
+
className: `${tabletMode ? style.responsivemaxHgt : style.maxHgt} ${customListBox}`,
|
|
663
669
|
eleRef: this.scrollContentRef,
|
|
664
670
|
onScroll: this.handleScroll,
|
|
665
671
|
role: isSearch ? 'listbox' : undefined,
|
|
@@ -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
|
};
|