@zohodesk/dot 1.0.0-temp-76 → 1.0.0-temp-77

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 (124) hide show
  1. package/README.md +5 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +0 -2
  3. package/assets/Appearance/default/mode/dotDefaultMode.module.css +0 -2
  4. package/es/ActionButton/ActionButton.module.css +9 -25
  5. package/es/AlphabeticList/AlphabeticList.module.css +4 -7
  6. package/es/Attachment/Attachment.module.css +9 -20
  7. package/es/AttachmentViewer/AttachmentViewer.module.css +27 -82
  8. package/es/ChannelIcon/ChannelIcon.module.css +21 -30
  9. package/es/Drawer/Drawer.module.css +11 -59
  10. package/es/FlipCard/FlipCard.module.css +5 -14
  11. package/es/FormAction/FormAction.module.css +9 -34
  12. package/es/FreezeLayer/FreezeLayer.module.css +2 -6
  13. package/es/IconButton/IconButton.module.css +1 -1
  14. package/es/ImportantNotes/ImportantNotes.js +3 -5
  15. package/es/ImportantNotes/ImportantNotes.module.css +2 -7
  16. package/es/Loader/Loader.module.css +4 -25
  17. package/es/Message/Message.module.css +9 -42
  18. package/es/MessageBanner/MessageBanner.module.css +4 -12
  19. package/es/NewStar/NewStar.module.css +5 -42
  20. package/es/ToastMessage/ToastMessage.module.css +25 -96
  21. package/es/Upload/Upload.module.css +8 -27
  22. package/es/alert/AlertHeader/AlertHeader.module.css +3 -21
  23. package/es/alert/AlertLookup/AlertLookup.module.css +2 -6
  24. package/es/avatar/AvatarClose/AvatarClose.module.css +3 -9
  25. package/es/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
  26. package/es/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
  27. package/es/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
  28. package/es/avatar/AvatarThread/AvatarThread.module.css +5 -55
  29. package/es/avatar/AvatarUser/AvatarUser.module.css +10 -81
  30. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
  31. package/es/common/dot_animation.module.css +3 -16
  32. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +3 -11
  33. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +1 -2
  34. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +6 -19
  35. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +4 -12
  36. package/es/emptystate/EditionPage/EditionPage.css +3 -9
  37. package/es/errorstate/EmptyStates.module.css +10 -13
  38. package/es/errorstate/Inconvenience/Inconvenience.module.css +0 -3
  39. package/es/errorstate/LinkText/LinkText.module.css +1 -1
  40. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +2 -2
  41. package/es/errorstate/WillBack/WillBack.module.css +3 -1
  42. package/es/form/fields/Fields.module.css +14 -49
  43. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +9 -4
  44. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
  45. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
  46. package/es/form/fields/TextEditor/TextEditor.module.css +72 -149
  47. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
  48. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +4 -9
  49. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
  50. package/es/layout/SubtabLayout/SubtabLayout.module.css +29 -55
  51. package/es/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
  52. package/es/list/Comment/Comment.module.css +0 -5
  53. package/es/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
  54. package/es/list/DotNew/DotNew.module.css +3 -3
  55. package/es/list/GridStencils/GridStencils.module.css +19 -71
  56. package/es/list/Icons/Icons.module.css +1 -1
  57. package/es/list/ListLayout/ListLayout.module.css +14 -22
  58. package/es/list/ListStencils/ListStencils.module.css +6 -11
  59. package/es/list/SecondaryText/SecondaryText.module.css +3 -13
  60. package/es/list/SentimentStatus/SentimentStatus.module.css +1 -4
  61. package/es/list/TagNew/TagNew.module.css +7 -14
  62. package/es/list/Thread/Thread.module.css +1 -13
  63. package/es/list/UserTime/UserTime.module.css +0 -6
  64. package/es/list/listCommon.module.css +1 -9
  65. package/es/list/status/StatusDropdown/StatusDropdown.js +1 -2
  66. package/es/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
  67. package/es/list/status/StatusListItem/StatusListItem.module.css +15 -38
  68. package/es/lookup/Lookup/Lookup.module.css +2 -2
  69. package/es/lookup/Section/LookupSection.module.css +2 -2
  70. package/es/lookup/header/Close/LookupClose.module.css +4 -4
  71. package/es/lookup/header/ModuleHeader/ModuleHeader.js +3 -8
  72. package/es/lookup/header/Search/LookupSearch.module.css +12 -21
  73. package/es/lookup/header/TicketHeader/TicketHeader.js +4 -7
  74. package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -5
  75. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +3 -8
  76. package/es/lookup/header/lookupHeaderCommon.module.css +5 -21
  77. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
  78. package/es/setup/header/Button/HeaderButton.module.css +1 -3
  79. package/es/setup/header/Link/HeaderLink.module.css +1 -7
  80. package/es/setup/header/Search/Search.module.css +8 -19
  81. package/es/setup/header/Views/Views.module.css +5 -15
  82. package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -1
  83. package/es/setup/helptips/ListGroup/ListGroup.module.css +1 -6
  84. package/es/setup/table/TableData/SetupTableData.module.css +3 -11
  85. package/es/setup/table/TableHead/SetupTableHead.module.css +0 -4
  86. package/es/setup/table/TableRow/SetupTableRow.module.css +2 -6
  87. package/es/version2/AlertClose/AlertClose.module.css +1 -1
  88. package/es/version2/GlobalNotification/GlobalNotification.module.css +9 -44
  89. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
  90. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
  91. package/es/version2/lookup/alertLookupCommonNew.module.css +1 -8
  92. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -26
  93. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
  94. package/lib/ActionButton/ActionButton.module.css +1 -0
  95. package/lib/FreezeLayer/FreezeLayer.js +4 -31
  96. package/lib/ImportantNotes/ImportantNotes.js +3 -5
  97. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  98. package/lib/form/fields/CurrencyField/CurrencyField.js +8 -9
  99. package/lib/form/fields/DateField/DateField.js +1 -1
  100. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  101. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  102. package/lib/form/fields/RadioField/RadioField.js +1 -1
  103. package/lib/form/fields/SelectField/SelectField.js +1 -1
  104. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -20
  105. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  106. package/lib/form/fields/TextEditor/TextEditor.js +1 -4
  107. package/lib/form/fields/TextEditor/TextEditor.module.css +2 -13
  108. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  109. package/lib/list/status/StatusDropdown/StatusDropdown.js +37 -44
  110. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -8
  111. package/lib/lookup/header/TicketHeader/TicketHeader.js +4 -7
  112. package/lib/lookup/header/lookupHeaderCommon.module.css +2 -8
  113. package/lib/setup/header/Views/Views.js +2 -2
  114. package/lib/utils/General.js +24 -0
  115. package/package.json +3 -2
  116. package/lib/AttachmentViewer/Attachment.js +0 -28
  117. package/lib/AttachmentViewer/AttachmentImage.js +0 -129
  118. package/lib/AttachmentViewer/AttachmentViewer.js +0 -645
  119. package/lib/AttachmentViewer/AttachmentViewer.module.css +0 -346
  120. package/lib/AttachmentViewer/utils.js +0 -134
  121. package/lib/Provider/Config.js +0 -21
  122. package/lib/common/dot_animation.module.css +0 -27
  123. package/lib/common/dot_common.module.css +0 -4
  124. package/lib/deprecated/utils/General.js +0 -29
@@ -1,12 +1,9 @@
1
1
 
2
- [dir=ltr] .rotate{
3
- animation-name: rotate-ltr ;
4
- }
5
- [dir=rtl] .rotate{
6
- animation-name: rotate-rtl ;
2
+ .rotate{
3
+ animation-name: rotate;
7
4
  }
8
5
 
9
- @keyframes rotate-ltr {
6
+ @keyframes rotate {
10
7
  from {
11
8
  transform: rotate(0);
12
9
  }
@@ -14,14 +11,4 @@
14
11
  to {
15
12
  transform: rotate(360deg);
16
13
  }
17
- }
18
-
19
- @keyframes rotate-rtl {
20
- from {
21
- transform: rotate(0);
22
- }
23
-
24
- to {
25
- transform: rotate(-360deg);
26
- }
27
14
  }
@@ -1,13 +1,10 @@
1
1
  .container {
2
+ padding: var(--zd_size3) var(--zd_size15);
3
+ margin-left: var(--zd_size15);
2
4
  position: relative;
3
5
  line-height: var(--zd_size18);
4
6
  composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
5
- padding: var(--zd_size3) var(--zd_size15);
6
7
  cursor: pointer;
7
- }[dir=ltr] .container {
8
- margin-left: var(--zd_size15);
9
- }[dir=rtl] .container {
10
- margin-right: var(--zd_size15);
11
8
  }
12
9
  .container:hover {
13
10
  background: var(--zdt_selectdropzdt_selectdropdown_hover_bg down_hover_bg);
@@ -19,13 +16,8 @@
19
16
  }
20
17
  .departIcon {
21
18
  color: var(--zdt_selectdropdown_departicon);
22
- cursor: pointer;
23
- }
24
- [dir=ltr] .departIcon {
25
19
  margin-left: var(--zd_size5);
26
- }
27
- [dir=rtl] .departIcon {
28
- margin-right: var(--zd_size5);
20
+ cursor: pointer;
29
21
  }
30
22
  .rulesPopup {
31
23
  max-height: var(--zd_size260);
@@ -799,8 +799,7 @@ export class ToggleDropDown extends Component {
799
799
  }, ListItemProps)));
800
800
  })) : /*#__PURE__*/React.createElement(CommonEmptyState, {
801
801
  className: style.svgWrapper,
802
- title: searchErrorText || 'oops !',
803
- description: searchEmptyHint,
802
+ title: searchErrorText || 'No results',
804
803
  size: "small",
805
804
  getEmptyState: this.emptySearchSVG
806
805
  }) : /*#__PURE__*/React.createElement("div", {
@@ -9,23 +9,16 @@
9
9
  .title {
10
10
  padding-top: var(--zd_size6);
11
11
  }
12
- [dir=ltr] .default_arrow, [dir=ltr] .overlay_arrow {
12
+ .default_arrow,
13
+ .overlay_arrow {
13
14
  padding: 0 0 0 var(--zd_size5);
14
15
  }
15
- [dir=rtl] .default_arrow, [dir=rtl] .overlay_arrow {
16
- padding: 0 var(--zd_size5) 0 0;
17
- }
18
16
  .overlay_arrow {
19
17
  position: absolute;
18
+ left: 100%;
20
19
  top: 50%;
21
20
  transform: translateY(-50%) perspective(1px);
22
21
  }
23
- [dir=ltr] .overlay_arrow {
24
- left: 100%;
25
- }
26
- [dir=rtl] .overlay_arrow {
27
- right: 100%;
28
- }
29
22
  .hoverIcon .arrow {
30
23
  opacity: 0;
31
24
  visibility: hidden;
@@ -51,18 +44,12 @@
51
44
  .cursor {
52
45
  cursor: pointer;
53
46
  }
54
- [dir=ltr] .dropBoxContainer {
47
+ .dropBoxContainer {
55
48
  text-align: left;
56
49
  }
57
- [dir=rtl] .dropBoxContainer {
58
- text-align: right;
59
- }
60
- [dir=ltr] .iconBox {
50
+ .iconBox {
61
51
  margin-right: var(--zd_size4);
62
52
  }
63
- [dir=rtl] .iconBox {
64
- margin-left: var(--zd_size4);
65
- }
66
53
  .iconBox > i {
67
54
  display: block;
68
55
  }
@@ -83,10 +70,10 @@
83
70
  }
84
71
  .hiddenInputElement{
85
72
  width: 100%;
73
+ padding: 0;
86
74
  -webkit-appearance: none;
87
75
  -moz-appearance: none;
88
76
  appearance: none;
89
- padding: 0;
90
77
  border: 0;
91
78
  }
92
79
  .groupName {
@@ -5,16 +5,10 @@
5
5
  --linkHoverColor: var(--zdt_commonEmptyState_default_link_hover);
6
6
  }
7
7
  .container {
8
- composes: varClass;
9
8
  text-align: center;
10
- }
11
- [dir=ltr] .container {
12
9
  margin-left: auto;
13
10
  margin-right: auto;
14
- }
15
- [dir=rtl] .container {
16
- margin-right: auto;
17
- margin-left: auto;
11
+ composes: varClass;
18
12
  }
19
13
  .fluid {
20
14
  max-width: var(--zd_size430);
@@ -50,19 +44,17 @@
50
44
  .linkDescWrapper {
51
45
  margin-top: var(--zd_size20);
52
46
  }
53
- [dir=ltr] .linkDesc, [dir=ltr] .desc {
47
+ .linkDesc,
48
+ .desc {
54
49
  margin-right: var(--zd_size4);
55
50
  }
56
- [dir=rtl] .linkDesc, [dir=rtl] .desc {
57
- margin-left: var(--zd_size4);
58
- }
59
51
  .desc {
60
52
  line-height: var(--zd_size19);
61
53
  }
62
54
  .link {
55
+ cursor: pointer;
63
56
  color: var(--linkColor);
64
57
  display: inline-block;
65
- cursor: pointer;
66
58
  }
67
59
  .link:hover {
68
60
  color: var(--linkHoverColor);
@@ -19,23 +19,17 @@
19
19
  }
20
20
  .footer {
21
21
  font-size: var(--zd_font_size13);
22
+ margin: var(--zd_size10) 0 var(--zd_size80) 0;
22
23
  position: relative;
23
24
  display: inline-block;
24
- margin: var(--zd_size10) 0 var(--zd_size80) 0;
25
25
  }
26
26
  .footer::before {
27
27
  content: '';
28
- position: absolute;
29
- top: calc(var(--zd_size10) * -1);
30
28
  border-top: var(--zd_size1) solid var(--zdt_editionpage_footer_text);
31
- }
32
- [dir=ltr] .footer::before {
29
+ position: absolute;
33
30
  left: calc(var(--zd_size20) * -1);
34
31
  right: calc(var(--zd_size20) * -1);
35
- }
36
- [dir=rtl] .footer::before {
37
- right: calc(var(--zd_size20) * -1);
38
- left: calc(var(--zd_size20) * -1);
32
+ top: calc(var(--zd_size10) * -1);
39
33
  }
40
34
  .button {
41
35
  color: var(--zdt_editionpage_primary_text);
@@ -1,4 +1,5 @@
1
- .container, .tabletContainer {
1
+ .container,
2
+ .tabletContainer {
2
3
  text-align: center;
3
4
  background-color: var(--zdt_emptystate_default_bg);
4
5
  }
@@ -13,23 +14,16 @@
13
14
  }
14
15
  .header {
15
16
  min-width: var(--zd_size400);
16
- display: inline-block;
17
17
  margin: 0 auto;
18
- }
19
- [dir=ltr] .header {
18
+ display: inline-block;
20
19
  text-align: left;
21
20
  }
22
- [dir=rtl] .header {
23
- text-align: right;
24
- }
25
21
  .title,
26
22
  .tabletTitle,
27
23
  .mobileTitle {
28
24
  composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
29
- letter-spacing: var(--zd_size1);
30
- }
31
- .title, .tabletTitle, .mobileTitle {
32
25
  margin-bottom: var(--zd_size5);
26
+ letter-spacing: var(--zd_size1);
33
27
  }
34
28
  .title {
35
29
  font-size: var(--zd_font_size50);
@@ -58,14 +52,15 @@
58
52
  }
59
53
 
60
54
  .footer {
61
- display: inline-block;
62
55
  text-align: center;
63
56
  margin: 0 auto;
57
+ display: inline-block;
64
58
  }
65
59
  .footerWidth {
66
60
  min-width: var(--zd_size400);
67
61
  }
68
- .btmText, .tabletBtmText {
62
+ .btmText,
63
+ .tabletBtmText {
69
64
  margin-bottom: var(--zd_size10);
70
65
  }
71
66
  .btmText {
@@ -74,7 +69,9 @@
74
69
  .tabletBtmText {
75
70
  font-size: var(--zd_font_size12);
76
71
  }
77
- .imageContainer, .tabletImageContainer, .mobileImageContainer {
72
+ .imageContainer,
73
+ .tabletImageContainer,
74
+ .mobileImageContainer {
78
75
  margin-bottom: var(--zd_size30);
79
76
  }
80
77
  .imageContainer {
@@ -1,7 +1,4 @@
1
1
  .imageContainer {
2
2
  margin-top: calc(var(--zd_size35) * -1);
3
- }[dir=ltr] .imageContainer {
4
3
  margin-left: calc(var(--zd_size30) * -1);
5
- }[dir=rtl] .imageContainer {
6
- margin-right: calc(var(--zd_size30) * -1);
7
4
  }
@@ -1,6 +1,6 @@
1
1
  .text {
2
2
  color: var(--zdt_linktext_default_text);
3
3
  display: inline-block;
4
- font-size: var(--zd_font_size15);
5
4
  cursor: pointer;
5
+ font-size: var(--zd_font_size15);
6
6
  }
@@ -1,8 +1,8 @@
1
1
  .headtingText {
2
2
  font-family: var(--zd_semibold);
3
3
  font-size: var(--zd_font_size50);
4
- letter-spacing: var(--zd_size1);
5
4
  margin-bottom: var(--zd_size5);
5
+ letter-spacing: var(--zd_size1);
6
6
  }
7
7
  .title,
8
8
  .headtingText,
@@ -13,9 +13,9 @@
13
13
  font-size: var(--zd_font_size30);
14
14
  }
15
15
  .lastBox {
16
+ margin: 0 auto;
16
17
  line-height: var(--zd_size24);
17
18
  font-size: var(--zd_font_size14);
18
- margin: 0 auto;
19
19
  margin-bottom: var(--zd_size20);
20
20
  }
21
21
  .lineText {
@@ -16,7 +16,9 @@
16
16
  .header {
17
17
  min-width: var(--zd_size450);
18
18
  }
19
- .imageContainer, .tabletImageContainer, .mobileImageContainer {
19
+ .imageContainer,
20
+ .tabletImageContainer,
21
+ .mobileImageContainer {
20
22
  margin-top: calc(var(--zd_size70) * -1);
21
23
  margin-bottom: var(--zd_size30);
22
24
  }
@@ -34,19 +34,15 @@
34
34
  -webkit-line-clamp: 2;
35
35
  }
36
36
  .checkboxText {
37
+ padding-left: var(--zd_size6);
37
38
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
38
39
  line-height: normal;
39
40
  }
40
- [dir=ltr] .checkboxText {
41
- padding-left: var(--zd_size6);
42
- }
43
- [dir=rtl] .checkboxText {
44
- padding-right: var(--zd_size6);
45
- }
46
41
  .cbTextPointer {
47
42
  cursor: pointer;
48
43
  }
49
- .disabled, .readonly {
44
+ .disabled,
45
+ .readonly {
50
46
  cursor: not-allowed;
51
47
  }
52
48
  .cbTextReadonly,
@@ -54,18 +50,12 @@
54
50
  .readonly .fieldLabel {
55
51
  --label_cursor: not-allowed;
56
52
  }
57
- [dir=ltr] .radio {
53
+ .radio {
58
54
  margin: var(--zd_size5) var(--zd_size32) var(--zd_size5) 0;
59
55
  }
60
- [dir=rtl] .radio {
61
- margin: var(--zd_size5) 0 var(--zd_size5) var(--zd_size32);
62
- }
63
- [dir=ltr] .duration {
56
+ .duration {
64
57
  margin-right: var(--zd_size15);
65
58
  }
66
- [dir=rtl] .duration {
67
- margin-left: var(--zd_size15);
68
- }
69
59
  .durationWidth {
70
60
  width: var(--zd_size94);
71
61
  }
@@ -79,8 +69,8 @@
79
69
  }
80
70
  .phoneIcon {
81
71
  color: var(--zdt_fields_phoneicon_icon);
82
- display: inline-block;
83
72
  margin: var(--zd_size15) var(--zd_size10) 0 var(--zd_size10);
73
+ display: inline-block;
84
74
  cursor: pointer;
85
75
  }
86
76
  .phoneIcon:hover {
@@ -99,13 +89,8 @@
99
89
  .lockIcon,
100
90
  .infoIcon {
101
91
  color: var(--zdt_fields_lockicon_icon);
102
- composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
103
- }
104
- [dir=ltr] .lockIcon, [dir=ltr] .infoIcon {
105
92
  margin-left: var(--zd_size5);
106
- }
107
- [dir=rtl] .lockIcon, [dir=rtl] .infoIcon {
108
- margin-right: var(--zd_size5);
93
+ composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
109
94
  }
110
95
  /* .infoIcon {
111
96
  opacity: 0;
@@ -123,25 +108,15 @@
123
108
  }
124
109
  .timeFormat {
125
110
  font-size: var(--zd_font_size11);
126
- color: var(--zdt_fields_lockicon_icon);
127
- }
128
- [dir=ltr] .timeFormat {
129
111
  margin-left: var(--zd_size4);
130
- }
131
- [dir=rtl] .timeFormat {
132
- margin-right: var(--zd_size4);
112
+ color: var(--zdt_fields_lockicon_icon);
133
113
  }
134
114
  .newTab {
115
+ margin-left: var(--zd_size6);
116
+ cursor: pointer;
135
117
  color: var(--zdt_fields_lockicon_icon);
136
118
  font-size: 0;
137
119
  display: none;
138
- cursor: pointer;
139
- }
140
- [dir=ltr] .newTab {
141
- margin-left: var(--zd_size6);
142
- }
143
- [dir=rtl] .newTab {
144
- margin-right: var(--zd_size6);
145
120
  }
146
121
  .newTab:hover {
147
122
  color: var(--zdt_fields_phoneicon_icon);
@@ -156,28 +131,18 @@
156
131
  }
157
132
  .labelMandatory:after {
158
133
  content: '*';
159
- color: var(--zdt_fields_lockicon_hover_icon);
160
- }
161
- [dir=ltr] .labelMandatory:after {
162
134
  padding-left: var(--zd_size2);
163
- }
164
- [dir=rtl] .labelMandatory:after {
165
- padding-right: var(--zd_size2);
135
+ color: var(--zdt_fields_lockicon_hover_icon);
166
136
  }
167
137
  .ePhiTag {
168
138
  composes: flexshrink from '~@zohodesk/components/lib/common/common.module.css';
169
139
  color: var(--zdt_fields_phitag_text);
170
- font-size: var(--zd_font_size12);
171
- height: var(--zd_size18);
172
- line-height: var(--zd_size18);
173
140
  background-color: var(--zdt_fields_phitag_bg);
174
141
  border: 1px solid var(--zdt_fields_phitag_border);
142
+ font-size: var(--zd_font_size12);
175
143
  padding: 0 var(--zd_size5);
176
144
  border-radius: var(--zd_size3);
177
- }
178
- [dir=ltr] .ePhiTag {
179
145
  margin-left: var(--zd_size8);
180
- }
181
- [dir=rtl] .ePhiTag {
182
- margin-right: var(--zd_size8);
146
+ height: var(--zd_size18);
147
+ line-height: var(--zd_size18);
183
148
  }
@@ -124,7 +124,8 @@ export default class TagsMultiSelect extends React.Component {
124
124
  borderColor,
125
125
  getTextBoxChildren,
126
126
  htmlId,
127
- boxSize
127
+ boxSize,
128
+ onSelectTag
128
129
  } = this.props;
129
130
  let {
130
131
  showAll
@@ -146,17 +147,20 @@ export default class TagsMultiSelect extends React.Component {
146
147
  }, tagsList.length ? /*#__PURE__*/React.createElement(React.Fragment, null, tagsList.map((tag, index) => {
147
148
  let {
148
149
  name,
149
- tagType
150
+ tagType,
151
+ id
150
152
  } = tag;
151
153
  return index < chipLimit ? /*#__PURE__*/React.createElement(Box, {
152
154
  className: style.tag,
153
155
  key: index
154
156
  }, /*#__PURE__*/React.createElement(Tag, {
157
+ id: id,
155
158
  text: name,
156
159
  onRemove: isReadOnly ? null : deleteTag.bind(this, name),
157
160
  closeTitle: i18nKeys.deleteText,
158
161
  palette: tagType === 'SYSTEM' ? 'primary' : 'default',
159
- isReadOnly: isReadOnly
162
+ isReadOnly: isReadOnly,
163
+ onSelectTag: onSelectTag ? onSelectTag : undefined
160
164
  })) : null;
161
165
  }), tagsList.length > chipNeedToShow && !isPopupReady ? /*#__PURE__*/React.createElement(Box, {
162
166
  className: style.moreLess,
@@ -288,7 +292,8 @@ TagsMultiSelect.propTypes = {
288
292
  needBorder: PropTypes.bool,
289
293
  getTextBoxChildren: PropTypes.func,
290
294
  htmlId: PropTypes.string,
291
- boxSize: PropTypes.string
295
+ boxSize: PropTypes.string,
296
+ onSelectTag: PropTypes.func
292
297
  };
293
298
  TagsMultiSelect.defaultProps = {
294
299
  className: '',
@@ -1,28 +1,26 @@
1
1
  .tag {
2
2
  max-width: 100%;
3
3
  }
4
- [dir=ltr] .moreLess, [dir=ltr] .tag {
4
+ .moreLess,
5
+ .tag {
5
6
  margin: 0 var(--zd_size6) var(--zd_size6) 0;
6
7
  }
7
- [dir=rtl] .moreLess, [dir=rtl] .tag {
8
- margin: 0 0 var(--zd_size6) var(--zd_size6);
9
- }
10
8
  .input {
11
9
  height: var(--zd_size20);
12
- width: 100%;
13
10
  margin-bottom: var(--zd_size4);
11
+ width: 100%;
14
12
  }
15
13
  .viewpopNew {
16
14
  max-height: var(--zd_size250);
17
15
  }
18
16
  .tagDiv {
19
- max-height: var(--zd_size160);
20
17
  margin-top: var(--zd_size5);
18
+ max-height: var(--zd_size160);
21
19
  }
22
20
  .hasBorder {
23
- transition: border var(--zd_transition2) linear 0s;
24
21
  border-bottom-style: solid;
25
22
  border-bottom-width: 1px;
23
+ transition: border var(--zd_transition2) linear 0s;
26
24
  }
27
25
  .borderColor_transparent {
28
26
  border-bottom-color: var(--zdt_tagsmultiselect_transparent_border);
@@ -66,15 +64,10 @@
66
64
  font-size: 0;
67
65
  }
68
66
  .newTagLabel {
67
+ margin-right: var(--zd_size5);
69
68
  color: var(--zdt_tagsmultiselect_labelt_text);
70
69
  composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
71
70
  }
72
- [dir=ltr] .newTagLabel {
73
- margin-right: var(--zd_size5);
74
- }
75
- [dir=rtl] .newTagLabel {
76
- margin-left: var(--zd_size5);
77
- }
78
71
  .dotted {
79
72
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
80
73
  }
@@ -94,13 +87,8 @@
94
87
  .custmInp {
95
88
  position: absolute;
96
89
  top: 0;
97
- width: 100%;
98
- }
99
- [dir=ltr] .custmInp {
100
90
  left: 0;
101
- }
102
- [dir=rtl] .custmInp {
103
- right: 0;
91
+ width: 100%;
104
92
  }
105
93
  .newTagText {
106
94
  color: var(--zdt_tagsmultiselect_more_text);
@@ -1,9 +1,6 @@
1
1
  .count {
2
2
  color: var(--zdt_tagsmultiselectField_count_text);
3
3
  font-size: var(--zd_font_size12);
4
- word-break: break-word;
5
- }[dir=ltr] .count {
6
4
  margin-left: var(--zd_size4);
7
- }[dir=rtl] .count {
8
- margin-right: var(--zd_size4);
5
+ word-break: break-word;
9
6
  }