@zohodesk/dot 1.0.0-temp-200.7 → 1.0.0-temp-213

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 (148) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +9 -0
  3. package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +1 -1
  4. package/assets/Appearance/light/mode/Dot_LightMode.module.css +1 -1
  5. package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +1 -1
  6. package/es/ActionButton/ActionButton.module.css +2 -2
  7. package/es/AlphabeticList/AlphabeticList.module.css +2 -2
  8. package/es/Attachment/Attachment.module.css +4 -8
  9. package/es/AttachmentViewer/Attachment.js +0 -50
  10. package/es/AttachmentViewer/AttachmentViewer.js +26 -108
  11. package/es/AttachmentViewer/AttachmentViewer.module.css +18 -41
  12. package/es/AttachmentViewer/props/defaultProps.js +2 -10
  13. package/es/AttachmentViewer/props/propTypes.js +1 -9
  14. package/es/AttachmentViewer/utils.js +13 -80
  15. package/es/ChannelIcon/ChannelIcon.module.css +2 -2
  16. package/es/DotProvider/hooks/useDotProvider.js +2 -2
  17. package/es/Drawer/Drawer.module.css +1 -1
  18. package/es/FormAction/FormAction.module.css +1 -1
  19. package/es/IconButton/IconButton.module.css +2 -2
  20. package/es/Message/Message.js +1 -1
  21. package/es/Message/Message.module.css +1 -1
  22. package/es/MessageBanner/MessageBanner.module.css +1 -1
  23. package/es/Onboarding/CarouselDots/CarouselDot/css/CarouselDot.module.css +3 -3
  24. package/es/Onboarding/css/Onboarding.module.css +2 -2
  25. package/es/PlusIcon/PlusIcon.module.css +1 -1
  26. package/es/TagWithIcon/TagWithIcon.module.css +2 -2
  27. package/es/ToastMessage/ToastMessage.module.css +8 -8
  28. package/es/Upload/Upload.module.css +1 -1
  29. package/es/avatar/AvatarClose/AvatarClose.module.css +3 -3
  30. package/es/avatar/AvatarCollision/AvatarCollision.module.css +3 -3
  31. package/es/avatar/AvatarIcon/AvatarIcon.module.css +1 -1
  32. package/es/avatar/AvatarStatus/AvatarStatus.module.css +2 -2
  33. package/es/avatar/AvatarThread/AvatarThread.module.css +2 -2
  34. package/es/avatar/AvatarUser/AvatarUser.module.css +3 -3
  35. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
  36. package/es/common/dot_common.module.css +4 -0
  37. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +2 -2
  38. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +30 -7
  39. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +1 -1
  40. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  41. package/es/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  42. package/es/errorstate/EmptyStates.module.css +1 -1
  43. package/es/errorstate/WillBack/WillBack.module.css +1 -1
  44. package/es/form/fields/Fields.module.css +9 -9
  45. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +2 -2
  46. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  47. package/es/form/layout/Section/ModuleFormSection.module.css +1 -1
  48. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
  49. package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -1
  50. package/es/list/DotNew/DotNew.module.css +1 -1
  51. package/es/list/ListStencils/ListStencils.module.css +3 -3
  52. package/es/list/SecondaryText/SecondaryText.module.css +4 -4
  53. package/es/list/SecondryPanel/SecondryPanel.module.css +1 -1
  54. package/es/list/Subject/Subject.module.css +2 -2
  55. package/es/list/TagNew/TagNew.module.css +1 -1
  56. package/es/list/Thread/Thread.module.css +1 -1
  57. package/es/list/listCommon.module.css +3 -3
  58. package/es/list/status/StatusDropdown/StatusDropdown.js +2 -2
  59. package/es/list/status/StatusDropdown/StatusDropdown.module.css +1 -1
  60. package/es/list/status/StatusListItem/StatusListItem.module.css +2 -2
  61. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
  62. package/es/lookup/Section/LookupSection.module.css +1 -1
  63. package/es/lookup/header/Title/LookupTitle.module.css +1 -1
  64. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -4
  65. package/es/lookup/header/lookupHeaderCommon.module.css +1 -1
  66. package/es/setup/header/Link/HeaderLink.module.css +2 -2
  67. package/es/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  68. package/es/setup/table/Text/TableText.module.css +4 -4
  69. package/es/utils/General.js +1 -23
  70. package/es/version2/GlobalNotification/GlobalNotification.module.css +2 -2
  71. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
  72. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +4 -4
  73. package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
  74. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +6 -6
  75. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
  76. package/lib/ActionButton/ActionButton.module.css +2 -2
  77. package/lib/AlphabeticList/AlphabeticList.module.css +2 -2
  78. package/lib/Attachment/Attachment.module.css +4 -8
  79. package/lib/AttachmentViewer/Attachment.js +0 -60
  80. package/lib/AttachmentViewer/AttachmentViewer.js +23 -121
  81. package/lib/AttachmentViewer/AttachmentViewer.module.css +18 -41
  82. package/lib/AttachmentViewer/props/defaultProps.js +2 -10
  83. package/lib/AttachmentViewer/props/propTypes.js +1 -9
  84. package/lib/AttachmentViewer/utils.js +8 -85
  85. package/lib/ChannelIcon/ChannelIcon.module.css +2 -2
  86. package/lib/DotProvider/hooks/useDotProvider.js +2 -2
  87. package/lib/Drawer/Drawer.module.css +1 -1
  88. package/lib/FormAction/FormAction.module.css +1 -1
  89. package/lib/IconButton/IconButton.module.css +2 -2
  90. package/lib/Message/Message.js +2 -2
  91. package/lib/Message/Message.module.css +1 -1
  92. package/lib/MessageBanner/MessageBanner.module.css +1 -1
  93. package/lib/Onboarding/CarouselDots/CarouselDot/css/CarouselDot.module.css +3 -3
  94. package/lib/Onboarding/css/Onboarding.module.css +2 -2
  95. package/lib/PlusIcon/PlusIcon.module.css +1 -1
  96. package/lib/TagWithIcon/TagWithIcon.module.css +2 -2
  97. package/lib/ToastMessage/ToastMessage.module.css +8 -8
  98. package/lib/Upload/Upload.module.css +1 -1
  99. package/lib/avatar/AvatarClose/AvatarClose.module.css +3 -3
  100. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +3 -3
  101. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +1 -1
  102. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +2 -2
  103. package/lib/avatar/AvatarThread/AvatarThread.module.css +2 -2
  104. package/lib/avatar/AvatarUser/AvatarUser.module.css +3 -3
  105. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
  106. package/lib/common/dot_common.module.css +4 -0
  107. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +2 -2
  108. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +34 -11
  109. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +1 -1
  110. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -1
  111. package/lib/dropdown/ToggleDropDown/props/propTypes.js +2 -1
  112. package/lib/errorstate/EmptyStates.module.css +1 -1
  113. package/lib/errorstate/WillBack/WillBack.module.css +1 -1
  114. package/lib/form/fields/Fields.module.css +9 -9
  115. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +2 -2
  116. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
  117. package/lib/form/layout/Section/ModuleFormSection.module.css +1 -1
  118. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
  119. package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -1
  120. package/lib/list/DotNew/DotNew.module.css +1 -1
  121. package/lib/list/ListStencils/ListStencils.module.css +3 -3
  122. package/lib/list/SecondaryText/SecondaryText.module.css +4 -4
  123. package/lib/list/SecondryPanel/SecondryPanel.module.css +1 -1
  124. package/lib/list/Subject/Subject.module.css +2 -2
  125. package/lib/list/TagNew/TagNew.module.css +1 -1
  126. package/lib/list/Thread/Thread.module.css +1 -1
  127. package/lib/list/listCommon.module.css +3 -3
  128. package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -3
  129. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +1 -1
  130. package/lib/list/status/StatusListItem/StatusListItem.module.css +2 -2
  131. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
  132. package/lib/lookup/Section/LookupSection.module.css +1 -1
  133. package/lib/lookup/header/Title/LookupTitle.module.css +1 -1
  134. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -4
  135. package/lib/lookup/header/lookupHeaderCommon.module.css +1 -1
  136. package/lib/setup/header/Link/HeaderLink.module.css +2 -2
  137. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  138. package/lib/setup/table/Text/TableText.module.css +4 -4
  139. package/lib/utils/General.js +1 -25
  140. package/lib/version2/GlobalNotification/GlobalNotification.module.css +2 -2
  141. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
  142. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +4 -4
  143. package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
  144. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +6 -6
  145. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
  146. package/package.json +19 -15
  147. package/result.json +0 -1
  148. package/unittest/index.html +0 -45
@@ -15,7 +15,7 @@
15
15
  }
16
16
  .radioContainer,
17
17
  .checkbox {
18
- composes: dflex alignVertical flexwrap from '~@zohodesk/components/lib/common/common.module.css';
18
+ composes: dflex alignVertical flexwrap from '~@zohodesk/components/es/common/common.module.css';
19
19
  }
20
20
  .checkbox {
21
21
  min-height: var(--zd_size28) ;
@@ -25,7 +25,7 @@
25
25
  }
26
26
  .lineClamp_one,
27
27
  .lineClamp_two {
28
- composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
28
+ composes: clamp from '~@zohodesk/components/es/common/common.module.css';
29
29
  }
30
30
  .lineClamp_one {
31
31
  -webkit-line-clamp: 1;
@@ -34,7 +34,7 @@
34
34
  -webkit-line-clamp: 2;
35
35
  }
36
36
  .checkboxText {
37
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
37
+ composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
38
38
  line-height: normal;
39
39
  }
40
40
  [dir=ltr] .checkboxText {
@@ -90,10 +90,10 @@
90
90
  width: var(--zd_size94) ;
91
91
  }
92
92
  .flex {
93
- composes: dflex from '~@zohodesk/components/lib/common/common.module.css';
93
+ composes: dflex from '~@zohodesk/components/es/common/common.module.css';
94
94
  }
95
95
  .periodContainer {
96
- composes: dflex flexrow flexwrap from '~@zohodesk/components/lib/common/common.module.css';
96
+ composes: dflex flexrow flexwrap from '~@zohodesk/components/es/common/common.module.css';
97
97
  width: 100% ;
98
98
  /*margin-left: var(--zd_size15);*/
99
99
  }
@@ -114,12 +114,12 @@
114
114
  color: var(--zdt_fields_newtabicon_hover_icon);
115
115
  }
116
116
  .labelContainer {
117
- composes: dflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
117
+ composes: dflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
118
118
  }
119
119
  .lockIcon,
120
120
  .infoIcon {
121
121
  color: var(--zdt_fields_lockicon_icon);
122
- composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
122
+ composes: dInflex from '~@zohodesk/components/es/common/common.module.css';
123
123
  }
124
124
  [dir=ltr] .lockIcon, [dir=ltr] .infoIcon {
125
125
  margin-left: var(--zd_size5) ;
@@ -172,7 +172,7 @@
172
172
  .lockText {
173
173
  font-size: var(--zd_font_size13) ;
174
174
  font-style: italic;
175
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
175
+ composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
176
176
  }
177
177
  .labelMandatory:after {
178
178
  content: '*';
@@ -185,7 +185,7 @@
185
185
  padding-right: var(--zd_size2) ;
186
186
  }
187
187
  .ePhiTag {
188
- composes: flexshrink from '~@zohodesk/components/lib/common/common.module.css';
188
+ composes: flexshrink from '~@zohodesk/components/es/common/common.module.css';
189
189
  color: var(--zdt_fields_phitag_text);
190
190
  font-size: var(--zd_font_size12) ;
191
191
  height: var(--zd_size18) ;
@@ -70,7 +70,7 @@
70
70
  }
71
71
  .newTagLabel {
72
72
  color: var(--zdt_tagsmultiselect_labelt_text);
73
- composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
73
+ composes: semibold from '~@zohodesk/components/es/common/common.module.css';
74
74
  }
75
75
  [dir=ltr] .newTagLabel {
76
76
  margin-right: var(--zd_size5) ;
@@ -79,7 +79,7 @@
79
79
  margin-left: var(--zd_size5) ;
80
80
  }
81
81
  .dotted {
82
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
82
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
83
83
  }
84
84
  .dropdown {
85
85
  margin-top: var(--zd_size1) ;
@@ -58,7 +58,7 @@ export default class TextEditorWrapper extends Component {
58
58
  onFocus && onFocus();
59
59
  }
60
60
 
61
- componentWillReceiveProps(np) {
61
+ UNSAFE_componentWillReceiveProps(np) {
62
62
  let {
63
63
  id,
64
64
  value
@@ -1,3 +1,3 @@
1
1
  .singleColumn {
2
- composes: dflex flexrow from '~@zohodesk/components/lib/common/common.module.css';
2
+ composes: dflex flexrow from '~@zohodesk/components/es/common/common.module.css';
3
3
  }
@@ -32,7 +32,7 @@
32
32
  line-height: 1;
33
33
  font-family: var(--zd_semibold);
34
34
  color: var(--zdt_setupdetail_backicon);
35
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
35
+ composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
36
36
  }
37
37
  [dir=ltr] .title {
38
38
  padding-right: var(--zd_size12) ;
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  .rightPanel {
45
- composes: justifyFend from '~@zohodesk/components/lib/common/common.module.css';
45
+ composes: justifyFend from '~@zohodesk/components/es/common/common.module.css';
46
46
  }
47
47
  .helpInfoCont {
48
48
  position: absolute;
@@ -106,7 +106,7 @@
106
106
  transform: translateX(0);
107
107
  }
108
108
  .close {
109
- composes: disableFocus from '~@zohodesk/components/lib/common/common.module.css';
109
+ composes: disableFocus from '~@zohodesk/components/es/common/common.module.css';
110
110
  }
111
111
 
112
112
  .infoHeader {
@@ -127,7 +127,7 @@
127
127
  }
128
128
 
129
129
  .infoText {
130
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
130
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
131
131
  font-size: var(--zd_font_size13) ;
132
132
  }
133
133
 
@@ -72,7 +72,7 @@
72
72
  }
73
73
 
74
74
  .aside {
75
- composes: justifyFend from '~@zohodesk/components/lib/common/common.module.css';
75
+ composes: justifyFend from '~@zohodesk/components/es/common/common.module.css';
76
76
  }
77
77
 
78
78
  .title {
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  .container {
12
- composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
12
+ composes: dInflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
13
13
  /* animation: dotAnimation 1.25s infinite cubic-bezier(0.66, 0.33, 0, 1);
14
14
  box-shadow: 0 0 0 0 var(--dot_catskillWhite),
15
15
  0 0 0 0 rgba(10, 115, 235, 0.6); */
@@ -4,11 +4,11 @@
4
4
  padding: 0 var(--zd_size30) ;
5
5
  }
6
6
  .innerContainer {
7
- composes: dflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
7
+ composes: dflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
8
8
  border-bottom: 1px dotted var(--zdt_liststencils_innercontainer_border);
9
9
  }
10
10
  .detailsInnerColumn {
11
- composes: dflex from '~@zohodesk/components/lib/common/common.module.css';
11
+ composes: dflex from '~@zohodesk/components/es/common/common.module.css';
12
12
  }
13
13
  [dir=ltr] .avatar {
14
14
  margin-right: var(--zd_size25) ;
@@ -21,7 +21,7 @@
21
21
  min-width: 0 ;
22
22
  }
23
23
  .primaryRow {
24
- composes: flexgrow flexshrink flexbasis from '~@zohodesk/components/lib/common/common.module.css';
24
+ composes: flexgrow flexshrink flexbasis from '~@zohodesk/components/es/common/common.module.css';
25
25
  }
26
26
  .classic .detailsColumn {
27
27
  flex-basis: 60% ;
@@ -45,7 +45,7 @@ display: block
45
45
  .textStyle,
46
46
  .secondaryText,
47
47
  .phoneNumber {
48
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
48
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
49
49
  max-width: 100% ;
50
50
  display: block;
51
51
  }
@@ -83,11 +83,11 @@ display: block
83
83
  .font_semibold,
84
84
  .font_bold,
85
85
  .textBold {
86
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
86
+ composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
87
87
  }
88
88
  .priorityText,
89
89
  .statusText {
90
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
90
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
91
91
  }
92
92
 
93
93
  .priorityText {
@@ -98,7 +98,7 @@ display: block
98
98
  font-size: var(--zd_font_size12) ;
99
99
  color: var(--zdt_secondaryText_secondaryText_text);
100
100
  max-width: 100% ;
101
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
101
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
102
102
  }
103
103
  /* HappinessRating Style */
104
104
  .happinessContainer {
@@ -2,5 +2,5 @@
2
2
  max-width: 100% ;
3
3
  }
4
4
  .dottedStyle {
5
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
5
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
6
6
  }
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  .dotted {
13
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
13
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
14
14
  }
15
15
 
16
16
  .font_regular {
@@ -27,7 +27,7 @@
27
27
 
28
28
  .font_semibold,
29
29
  .font_bold {
30
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
30
+ composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
31
31
  }
32
32
 
33
33
  .cursorPointer {
@@ -4,7 +4,7 @@
4
4
  font-size: var(--zd_font_size13) ;
5
5
  color: var(--zdt_tagnew_default_text);
6
6
  composes: inlineFlex from '../listCommon.module.css';
7
- composes: alignHorizontal from '~@zohodesk/components/lib/common/common.module.css';
7
+ composes: alignHorizontal from '~@zohodesk/components/es/common/common.module.css';
8
8
  transition: all var(--zd_transition2) ease 0s;
9
9
  opacity: 0;
10
10
  visibility: hidden;
@@ -27,7 +27,7 @@
27
27
  right: var(--zd_size8) ;
28
28
  }
29
29
  .align_right {
30
- composes: dInflex alignFend from '~@zohodesk/components/lib/common/common.module.css';
30
+ composes: dInflex alignFend from '~@zohodesk/components/es/common/common.module.css';
31
31
  }
32
32
  .align_right .count {
33
33
  position: relative;
@@ -4,7 +4,7 @@
4
4
  }
5
5
 
6
6
  .inlineFlex {
7
- composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
7
+ composes: dInflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
8
8
  }
9
9
 
10
10
  [dir=ltr] .avatarMargin {
@@ -16,14 +16,14 @@
16
16
  }
17
17
 
18
18
  .subject {
19
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
19
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
20
20
  font-size: var(--zd_font_size16) ;
21
21
  }
22
22
 
23
23
  /* css:lineheight-validation:ignore */
24
24
  .secondaryPanel {
25
25
  line-height: var(--zd_size18);
26
- composes: dflex alignVertical flexwrap from '~@zohodesk/components/lib/common/common.module.css';
26
+ composes: dflex alignVertical flexwrap from '~@zohodesk/components/es/common/common.module.css';
27
27
  }
28
28
 
29
29
  .statusColumn {
@@ -10,7 +10,7 @@ import Loader from '@zohodesk/svg/lib/Loader/Loader';
10
10
  import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
11
11
  import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
12
12
  import StatusListItem from "../StatusListItem/StatusListItem";
13
- import commonStyle from '@zohodesk/components/lib/common/common.module.css';
13
+ import commonStyle from '@zohodesk/components/es/common/common.module.css';
14
14
  import ResponsiveDropBox from '@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox';
15
15
  import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
16
16
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -52,7 +52,7 @@ export class StatusDropdown extends React.Component {
52
52
  togglePopup(e, boxPosition);
53
53
  }
54
54
 
55
- componentWillReceiveProps(nextProps) {
55
+ UNSAFE_componentWillReceiveProps(nextProps) {
56
56
  if (nextProps.options.length != this.props.options.length) {
57
57
  this.setState({
58
58
  options: nextProps.options
@@ -40,7 +40,7 @@
40
40
  visibility: visible;
41
41
  }
42
42
  .value {
43
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
43
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
44
44
  }
45
45
  .search {
46
46
  padding: var(--zd_size6) var(--zd_size20) 0 ;
@@ -34,11 +34,11 @@
34
34
  line-height: 1.5385;
35
35
  }
36
36
  .value {
37
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
37
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
38
38
  }
39
39
  .multiLineValue{
40
40
  word-break: break-word;
41
- composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
41
+ composes: clamp from '~@zohodesk/components/es/common/common.module.css';
42
42
  }
43
43
  [dir=ltr] .withBorder.active {
44
44
  border-left-color: var(--zdt_statuslistitem_default_active_border);
@@ -7,6 +7,6 @@
7
7
  .contentDiv {
8
8
  font-size: var(--zd_font_size20) ;
9
9
  font-family: var(--zd_semibold);
10
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
10
+ composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
11
11
  margin-top: var(--zd_size15) ;
12
12
  }
@@ -2,7 +2,7 @@
2
2
  /* max-height: 80%; */
3
3
  /* min-height: 390px; */
4
4
  /* height: auto; */
5
- composes: flexgrow from '~@zohodesk/components/lib/common/common.module.css';
5
+ composes: flexgrow from '~@zohodesk/components/es/common/common.module.css';
6
6
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
7
7
  background-color: var(--zdt_lookupsection_bg);
8
8
  box-shadow: var(--zd_bs_lookupsection_shadow)
@@ -1,7 +1,7 @@
1
1
  .title {
2
2
  font-size: var(--zd_font_size16) ;
3
3
  font-family: var(--zd_semibold);
4
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
4
+ composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
5
5
  vertical-align: middle;
6
6
  word-break: break-all;
7
7
  cursor: initial;
@@ -11,11 +11,11 @@
11
11
  font-size: var(--zd_font_size14) ;
12
12
  color: var(--zdt_viewdropdown_empty_text);
13
13
  font-family: var(--zd_semibold);
14
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
14
+ composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
15
15
  padding: var(--zd_size12) var(--zd_size15) ;
16
16
  }
17
17
  .hide {
18
- composes: vishidden from '~@zohodesk/components/lib/common/common.module.css';
18
+ composes: vishidden from '~@zohodesk/components/es/common/common.module.css';
19
19
  }
20
20
  .container {
21
21
  position: relative;
@@ -25,7 +25,7 @@
25
25
  }
26
26
  /* Label Style */
27
27
  .labelCnt {
28
- composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
28
+ composes: dInflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
29
29
  line-height: 1.6667;
30
30
  color: var(--zdt_viewdropdown_label_text);
31
31
  cursor: pointer;
@@ -33,7 +33,7 @@
33
33
  .labelText {
34
34
  font-size: var(--zd_font_size12) ;
35
35
  max-width: var(--zd_size180) ;
36
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
36
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
37
37
  }
38
38
  [dir=ltr] .labelText {
39
39
  margin-right: var(--zd_size5) ;
@@ -27,7 +27,7 @@
27
27
  /* position: absolute;
28
28
  right: 30px;
29
29
  top: 50%;
30
- composes: middleY from '~@zohodesk/components/lib/common/common.module.css'; */
30
+ composes: middleY from '~@zohodesk/components/es/common/common.module.css'; */
31
31
  }
32
32
  .para {
33
33
  font-size: var(--zd_font_size12) ;
@@ -1,5 +1,5 @@
1
1
  .container {
2
- composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
2
+ composes: dInflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
3
3
  color: var(--zdt_headerlink_text);
4
4
  font-size: var(--zd_font_size12) ;
5
5
  }[dir=ltr] .container {
@@ -17,5 +17,5 @@
17
17
  border-bottom: 1px solid var(--zdt_headerlink_hover_text);
18
18
  }
19
19
  .text {
20
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
20
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
21
21
  }
@@ -1,5 +1,5 @@
1
1
  .title {
2
2
  font-size: var(--zd_font_size17) ;
3
- composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
3
+ composes: semibold from '~@zohodesk/components/es/common/common.module.css';
4
4
  color: var(--zdt_helptipstitle_text);
5
5
  }
@@ -1,8 +1,8 @@
1
1
  .bold {
2
- composes: bold from '~@zohodesk/components/lib/common/common.module.css';
2
+ composes: bold from '~@zohodesk/components/es/common/common.module.css';
3
3
  }
4
4
  .semiBold {
5
- composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
5
+ composes: semibold from '~@zohodesk/components/es/common/common.module.css';
6
6
  }
7
7
  .primaryColor {
8
8
  color: var(--zdt_tabletext_primary_text);
@@ -19,12 +19,12 @@
19
19
  .small {
20
20
  font-size: var(--zd_font_size13) ;
21
21
  max-width: 100% ;
22
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
22
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
23
23
  }
24
24
  .medium {
25
25
  font-size: var(--zd_font_size14) ;
26
26
  max-width: 100% ;
27
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
27
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
28
28
  }
29
29
  .heading {
30
30
  text-transform: uppercase;
@@ -43,26 +43,4 @@ export function formatPhoneUrl(phone) {
43
43
 
44
44
  return phone;
45
45
  }
46
- export const DUMMY_OBJECT = Object.freeze({});
47
- export function getBrowserWithVersion() {
48
- const userAgent = navigator.userAgent;
49
- let tempMatch;
50
- let browserMatch = userAgent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*([\d\.]+)/i) || [];
51
-
52
- if (userAgent.toLowerCase().indexOf('edge') !== -1) {
53
- return userAgent.substring(userAgent.toLowerCase().indexOf('edge'));
54
- }
55
-
56
- if (/trident/i.test(browserMatch[1])) {
57
- tempMatch = /\brv[ :]+(\d+(\.\d+)?)/g.exec(userAgent) || [];
58
- return `IE ${tempMatch[1] || ''}`;
59
- }
60
-
61
- browserMatch = browserMatch[2] ? [browserMatch[1], browserMatch[2]] : [navigator.appName, navigator.appVersion, '-?'];
62
-
63
- if ((tempMatch = userAgent.match(/version\/([\.\d]+)/i)) !== null) {
64
- browserMatch[2] = tempMatch[1];
65
- }
66
-
67
- return browserMatch.join(' ');
68
- }
46
+ export const DUMMY_OBJECT = Object.freeze({});
@@ -79,7 +79,7 @@
79
79
  pointer-events: initial;
80
80
  color: var(--globalnotification_text_color);
81
81
  z-index: 1;
82
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
82
+ composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
83
83
  width: 100% ;
84
84
  box-shadow: var(--zd_bs_globalnotification_container);
85
85
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
@@ -149,7 +149,7 @@
149
149
  .text {
150
150
  font-size: var(--zd_font_size14) ;
151
151
  font-family: var(--zd_semibold);
152
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
152
+ composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
153
153
  line-height: 1.4286;
154
154
  overflow: hidden;
155
155
  }
@@ -53,7 +53,7 @@
53
53
  font-size: var(--zd_font_size18) ;
54
54
  line-height: 1.2222;
55
55
  font-family: var(--zd_bold);
56
- composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
56
+ composes: ftsmooth wbreak from '~@zohodesk/components/es/common/common.module.css';
57
57
  vertical-align: middle;
58
58
  cursor: default;
59
59
  }
@@ -6,7 +6,7 @@
6
6
  color: var(--zdt_alertlookupnew_text);
7
7
  font-size: var(--zd_font_size14) ;
8
8
  line-height: 1.428;
9
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
9
+ composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
10
10
  padding: var(--zd_size17) var(--zd_size30) var(--zd_size30) ;
11
11
  }
12
12
 
@@ -34,11 +34,11 @@
34
34
  height: 100% ;
35
35
  }
36
36
  .horizontalScroll {
37
- composes: oflowx from '~@zohodesk/components/lib/common/common.module.css';
37
+ composes: oflowx from '~@zohodesk/components/es/common/common.module.css';
38
38
  }
39
39
  .verticalScroll {
40
- composes: oflowy from '~@zohodesk/components/lib/common/common.module.css';
40
+ composes: oflowy from '~@zohodesk/components/es/common/common.module.css';
41
41
  }
42
42
  .bothScroll {
43
- composes: oflowA from '~@zohodesk/components/lib/common/common.module.css';
43
+ composes: oflowA from '~@zohodesk/components/es/common/common.module.css';
44
44
  }
@@ -15,7 +15,7 @@
15
15
  .noteTitle {
16
16
  font-size: var(--zd_font_size13) ;
17
17
  font-family: var(--zd_semibold);
18
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
18
+ composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
19
19
  }
20
20
 
21
21
  .noteUl {
@@ -49,7 +49,7 @@
49
49
  }
50
50
 
51
51
  .animation {
52
- composes: modeForward from '~@zohodesk/components/lib/common/animation.module.css';
52
+ composes: modeForward from '~@zohodesk/components/es/common/animation.module.css';
53
53
  }
54
54
 
55
55
  [dir=ltr] .animation {
@@ -63,7 +63,7 @@
63
63
  }
64
64
 
65
65
  .leftanimate {
66
- composes: slideLeft from '~@zohodesk/components/lib/common/animation.module.css';
66
+ composes: slideLeft from '~@zohodesk/components/es/common/animation.module.css';
67
67
  composes: animation;
68
68
  }
69
69
 
@@ -73,7 +73,7 @@
73
73
  }
74
74
 
75
75
  .rightanimate {
76
- composes: slideRight from '~@zohodesk/components/lib/common/animation.module.css';
76
+ composes: slideRight from '~@zohodesk/components/es/common/animation.module.css';
77
77
  composes: animation;
78
78
  composes: closeAnimation;
79
79
  }
@@ -83,7 +83,7 @@
83
83
  position: relative;
84
84
  color: var(--zdt_desktopnotification_message_text);
85
85
  font-size: var(--zd_font_size11) ;
86
- composes: dotted textCap from '~@zohodesk/components/lib/common/common.module.css';
86
+ composes: dotted textCap from '~@zohodesk/components/es/common/common.module.css';
87
87
  height: var(--zd_size33) ;
88
88
  transition: padding var(--zd_transition3), height var(--zd_transition3);
89
89
  border-top: 1px solid var(--zdt_desktopnotification_message_border);
@@ -110,7 +110,7 @@
110
110
  font-size: var(--zd_font_size15) ;
111
111
  line-height: 1.3333;
112
112
  font-family: var(--zd_semibold);
113
- composes: ftsmooth wbreak from '~@zohodesk/components/lib/common/common.module.css';
113
+ composes: ftsmooth wbreak from '~@zohodesk/components/es/common/common.module.css';
114
114
  }
115
115
 
116
116
  .subTitleMargin {
@@ -120,7 +120,7 @@
120
120
  .infoText {
121
121
  font-size: var(--zd_font_size14) ;
122
122
  line-height: 1.43;
123
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
123
+ composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
124
124
  }
125
125
 
126
126
  .secondaryInfo {
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .title {
17
- composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
17
+ composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
18
18
  }
19
19
 
20
20
  [dir=ltr] .title {
@@ -89,7 +89,7 @@
89
89
 
90
90
  /* Secondary Header */
91
91
  .secondary_header {
92
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
92
+ composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
93
93
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
94
94
  }
95
95
  [dir=ltr] .secondary_header {
@@ -114,14 +114,14 @@
114
114
 
115
115
  .txt,
116
116
  .subTxt {
117
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
117
+ composes: dotted from '~@zohodesk/components/es/common/common.module.css';
118
118
  /* css:theme-validation:ignore */
119
119
  color: var(--buttonText);
120
120
  }
121
121
 
122
122
  .arrowWrapper {
123
123
  position: relative;
124
- composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
124
+ composes: offSelection from '~@zohodesk/components/es/common/common.module.css';
125
125
  cursor: pointer;
126
126
  }
127
127