@zohodesk/dot 1.0.0-temp-200.8 → 1.0.0-temp-214

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 (155) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +12 -0
  3. package/es/ActionButton/ActionButton.module.css +2 -2
  4. package/es/AlphabeticList/AlphabeticList.module.css +2 -2
  5. package/es/Attachment/Attachment.module.css +1 -1
  6. package/es/AttachmentViewer/Attachment.js +96 -41
  7. package/es/AttachmentViewer/AttachmentViewer.js +8 -8
  8. package/es/AttachmentViewer/AttachmentViewer.module.css +9 -9
  9. package/es/AttachmentViewer/utils.js +19 -1
  10. package/es/ChannelIcon/ChannelIcon.module.css +2 -2
  11. package/es/DotProvider/hooks/useDotProvider.js +2 -2
  12. package/es/Drawer/Drawer.module.css +1 -1
  13. package/es/FormAction/FormAction.module.css +1 -1
  14. package/es/IconButton/IconButton.module.css +2 -2
  15. package/es/Message/Message.js +1 -1
  16. package/es/Message/Message.module.css +1 -1
  17. package/es/MessageBanner/MessageBanner.module.css +1 -1
  18. package/es/Onboarding/CarouselDots/CarouselDot/css/CarouselDot.module.css +3 -3
  19. package/es/Onboarding/css/Onboarding.module.css +2 -2
  20. package/es/PlusIcon/PlusIcon.module.css +1 -1
  21. package/es/TagWithIcon/TagWithIcon.module.css +2 -2
  22. package/es/ToastMessage/ToastMessage.module.css +8 -8
  23. package/es/Upload/Upload.module.css +1 -1
  24. package/es/avatar/AvatarClose/AvatarClose.module.css +3 -3
  25. package/es/avatar/AvatarCollision/AvatarCollision.module.css +3 -3
  26. package/es/avatar/AvatarIcon/AvatarIcon.module.css +1 -1
  27. package/es/avatar/AvatarStatus/AvatarStatus.module.css +2 -2
  28. package/es/avatar/AvatarThread/AvatarThread.module.css +2 -2
  29. package/es/avatar/AvatarUser/AvatarUser.module.css +3 -3
  30. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
  31. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +2 -2
  32. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +1 -1
  33. package/es/errorstate/EmptyStates.module.css +1 -1
  34. package/es/errorstate/WillBack/WillBack.module.css +1 -1
  35. package/es/form/fields/CheckBoxField/CheckBoxField.js +7 -9
  36. package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
  37. package/es/form/fields/DateField/DateField.js +7 -8
  38. package/es/form/fields/Fields.module.css +12 -9
  39. package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -6
  40. package/es/form/fields/RadioField/RadioField.js +1 -1
  41. package/es/form/fields/SelectField/SelectField.js +5 -6
  42. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +2 -2
  43. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -8
  44. package/es/form/fields/TextBoxField/TextBoxField.js +7 -7
  45. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
  46. package/es/form/fields/TextareaField/TextareaField.js +6 -6
  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/Lookup/Lookup.js +2 -1
  63. package/es/lookup/Lookup/Lookup.module.css +6 -1
  64. package/es/lookup/Lookup/props/propTypes.js +1 -0
  65. package/es/lookup/Section/LookupSection.module.css +1 -1
  66. package/es/lookup/header/Title/LookupTitle.module.css +1 -1
  67. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -4
  68. package/es/lookup/header/lookupHeaderCommon.module.css +1 -1
  69. package/es/setup/header/Link/HeaderLink.module.css +2 -2
  70. package/es/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  71. package/es/setup/table/Text/TableText.module.css +4 -4
  72. package/es/version2/GlobalNotification/GlobalNotification.module.css +2 -2
  73. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
  74. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +4 -4
  75. package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
  76. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +6 -6
  77. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
  78. package/lib/ActionButton/ActionButton.module.css +2 -2
  79. package/lib/AlphabeticList/AlphabeticList.module.css +2 -2
  80. package/lib/Attachment/Attachment.module.css +1 -1
  81. package/lib/AttachmentViewer/Attachment.js +93 -45
  82. package/lib/AttachmentViewer/AttachmentViewer.js +8 -14
  83. package/lib/AttachmentViewer/AttachmentViewer.module.css +9 -9
  84. package/lib/AttachmentViewer/utils.js +21 -4
  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/deprecated/SelectDropdown/SelectDropdown.module.css +2 -2
  107. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +1 -1
  108. package/lib/errorstate/EmptyStates.module.css +1 -1
  109. package/lib/errorstate/WillBack/WillBack.module.css +1 -1
  110. package/lib/form/fields/CheckBoxField/CheckBoxField.js +7 -10
  111. package/lib/form/fields/CurrencyField/CurrencyField.js +4 -5
  112. package/lib/form/fields/DateField/DateField.js +6 -9
  113. package/lib/form/fields/Fields.module.css +12 -9
  114. package/lib/form/fields/MultiSelectField/MultiSelectField.js +5 -7
  115. package/lib/form/fields/RadioField/RadioField.js +1 -1
  116. package/lib/form/fields/SelectField/SelectField.js +5 -7
  117. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +2 -2
  118. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +5 -8
  119. package/lib/form/fields/TextBoxField/TextBoxField.js +6 -8
  120. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
  121. package/lib/form/fields/TextareaField/TextareaField.js +5 -6
  122. package/lib/form/layout/Section/ModuleFormSection.module.css +1 -1
  123. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
  124. package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -1
  125. package/lib/list/DotNew/DotNew.module.css +1 -1
  126. package/lib/list/ListStencils/ListStencils.module.css +3 -3
  127. package/lib/list/SecondaryText/SecondaryText.module.css +4 -4
  128. package/lib/list/SecondryPanel/SecondryPanel.module.css +1 -1
  129. package/lib/list/Subject/Subject.module.css +2 -2
  130. package/lib/list/TagNew/TagNew.module.css +1 -1
  131. package/lib/list/Thread/Thread.module.css +1 -1
  132. package/lib/list/listCommon.module.css +3 -3
  133. package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -3
  134. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +1 -1
  135. package/lib/list/status/StatusListItem/StatusListItem.module.css +2 -2
  136. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
  137. package/lib/lookup/Lookup/Lookup.js +2 -1
  138. package/lib/lookup/Lookup/Lookup.module.css +6 -1
  139. package/lib/lookup/Lookup/props/propTypes.js +1 -0
  140. package/lib/lookup/Section/LookupSection.module.css +1 -1
  141. package/lib/lookup/header/Title/LookupTitle.module.css +1 -1
  142. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -4
  143. package/lib/lookup/header/lookupHeaderCommon.module.css +1 -1
  144. package/lib/setup/header/Link/HeaderLink.module.css +2 -2
  145. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  146. package/lib/setup/table/Text/TableText.module.css +4 -4
  147. package/lib/version2/GlobalNotification/GlobalNotification.module.css +2 -2
  148. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
  149. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +4 -4
  150. package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
  151. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +6 -6
  152. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
  153. package/package.json +17 -15
  154. package/result.json +1 -1
  155. package/unittest/index.html +1 -1
@@ -1,6 +1,6 @@
1
1
  .container {
2
2
  position: relative;
3
- composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
3
+ composes: dInflex from '~@zohodesk/components/es/common/common.module.css';
4
4
  vertical-align: middle;
5
5
  border-radius: 50%;
6
6
  padding: var(--zd_size2) ;
@@ -17,7 +17,7 @@
17
17
  }
18
18
  .pop {
19
19
  position: absolute;
20
- composes: rounded from '~@zohodesk/components/lib/common/common.module.css';
20
+ composes: rounded from '~@zohodesk/components/es/common/common.module.css';
21
21
  opacity: 0;
22
22
  visibility: hidden;
23
23
  top: 0 ;
@@ -38,7 +38,7 @@
38
38
  .icon {
39
39
  position: absolute;
40
40
  line-height: 0;
41
- composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
41
+ composes: middleBoth from '~@zohodesk/components/es/common/common.module.css';
42
42
  color: var(--zdt_avatarcollision_icon_text);
43
43
  font-size: var(--zd_font_size13) ;
44
44
  }
@@ -57,5 +57,5 @@
57
57
  }
58
58
 
59
59
  .avatar_align_center {
60
- composes: tcenter from '~@zohodesk/components/lib/common/common.module.css';
60
+ composes: tcenter from '~@zohodesk/components/es/common/common.module.css';
61
61
  }
@@ -1,11 +1,11 @@
1
1
  .container {
2
2
  position: relative;
3
- composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
3
+ composes: dInflex from '~@zohodesk/components/es/common/common.module.css';
4
4
  vertical-align: middle;
5
5
  }
6
6
  .state {
7
7
  position: absolute;
8
- composes: rounded from '~@zohodesk/components/lib/common/common.module.css';
8
+ composes: rounded from '~@zohodesk/components/es/common/common.module.css';
9
9
  display: inline-block;
10
10
  }
11
11
  .circle.state {
@@ -1,12 +1,12 @@
1
1
  .container {
2
2
  position: relative;
3
- composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
3
+ composes: dInflex from '~@zohodesk/components/es/common/common.module.css';
4
4
  vertical-align: middle;
5
5
  border-radius: 50%;
6
6
  }
7
7
 
8
8
  .thread {
9
- composes: rounded from '~@zohodesk/components/lib/common/common.module.css';
9
+ composes: rounded from '~@zohodesk/components/es/common/common.module.css';
10
10
  position: absolute;
11
11
  }
12
12
  .pointer {
@@ -1,6 +1,6 @@
1
1
  .container {
2
2
  position: relative;
3
- composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
3
+ composes: dInflex from '~@zohodesk/components/es/common/common.module.css';
4
4
  vertical-align: middle;
5
5
  }
6
6
  .paid,
@@ -16,7 +16,7 @@
16
16
  line-height: 0;
17
17
  }
18
18
  .paid {
19
- composes: middle from '~@zohodesk/components/lib/common/common.module.css';
19
+ composes: middle from '~@zohodesk/components/es/common/common.module.css';
20
20
  }
21
21
  [dir=ltr] .paid {
22
22
  left: 50% ;
@@ -37,7 +37,7 @@
37
37
  height: 100% ;
38
38
  opacity: 0;
39
39
  transition: all var(--zd_transition3);
40
- composes: dflex alignHorizontal alignVertical from '~@zohodesk/components/lib/common/common.module.css';
40
+ composes: dflex alignHorizontal alignVertical from '~@zohodesk/components/es/common/common.module.css';
41
41
  color: var(--zdt_avataruser_delete_text);
42
42
  cursor: pointer;
43
43
  border-radius: 50%;
@@ -1,5 +1,5 @@
1
1
  .container {
2
- composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
2
+ composes: dInflex from '~@zohodesk/components/es/common/common.module.css';
3
3
  vertical-align: middle;
4
4
  position: relative;
5
5
  }
@@ -2,7 +2,7 @@
2
2
  .container {
3
3
  position: relative;
4
4
  line-height: var(--zd_size18);
5
- composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
5
+ composes: dInflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
6
6
  padding: var(--zd_size3) var(--zd_size15) ;
7
7
  cursor: pointer;
8
8
  }
@@ -18,7 +18,7 @@
18
18
  .departName {
19
19
  font-size: var(--zd_font_size13) ;
20
20
  color: var(--zdt_selectdropdown_departname_text);
21
- composes: flexgrow dotted offSelection from '~@zohodesk/components/lib/common/common.module.css';
21
+ composes: flexgrow dotted offSelection from '~@zohodesk/components/es/common/common.module.css';
22
22
  }
23
23
  .departIcon {
24
24
  color: var(--zdt_selectdropdown_departicon);
@@ -40,7 +40,7 @@
40
40
  visibility: visible;
41
41
  }
42
42
  .value {
43
- composes: dotted offSelection from '~@zohodesk/components/lib/common/common.module.css';
43
+ composes: dotted offSelection from '~@zohodesk/components/es/common/common.module.css';
44
44
  }
45
45
  .search {
46
46
  padding: var(--zd_size6) var(--zd_size20) 0 ;
@@ -25,7 +25,7 @@
25
25
  .title,
26
26
  .tabletTitle,
27
27
  .mobileTitle {
28
- composes: semibold from '~@zohodesk/components/lib/common/common.module.css';
28
+ composes: semibold from '~@zohodesk/components/es/common/common.module.css';
29
29
  letter-spacing: var(--zd_size1);
30
30
  }
31
31
  .title, .tabletTitle, .mobileTitle {
@@ -2,7 +2,7 @@
2
2
  .tabletTitle,
3
3
  .mobileTitle {
4
4
  color: var(--zdt_willback_title_text);
5
- composes: bold from '~@zohodesk/components/lib/common/common.module.css';
5
+ composes: bold from '~@zohodesk/components/es/common/common.module.css';
6
6
  }
7
7
  .title {
8
8
  font-size: var(--zd_font_size50) ;
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
3
3
  import { defaultProps } from "./props/defaultProps";
4
4
  import { propTypes } from "./props/propTypes";
5
5
  /**** Components ****/
6
+ // import Label from '@zohodesk/components/lib/Label/Label';
6
7
 
7
- import Label from '@zohodesk/components/lib/Label/Label';
8
+ import Label from '@zohodesk/components/es/v1/Label/Label';
8
9
  import CheckBox from '@zohodesk/components/lib/CheckBox/CheckBox';
9
10
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
10
11
  import { Container, Box } from '@zohodesk/components/lib/Layout';
@@ -87,15 +88,12 @@ export default class CheckBoxField extends PureComponent {
87
88
  renderProps: renderLabelProps
88
89
  }, /*#__PURE__*/React.createElement(Label, {
89
90
  text: labelName,
90
- id: id,
91
- size: fieldSize === 'small' ? 'small' : 'medium',
92
- palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
93
- infoText: infoText,
94
- customClass: `${!isDirectCol ? style.checkboxText : ''} ${!isDirectCol ? style[`lineClamp_${lineClamp}`] : ''} ${isReadOnly || isDisabled ? style.cbTextReadonly : style.cbTextPointer} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
95
- title: labelName,
91
+ isRequired: isMandatory,
92
+ isInlineField: true,
93
+ customStyle: labelCustomClass,
94
+ testId: id,
95
+ customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
96
96
  onClick: !removeEvent ? this.handleLabelClick : null,
97
- variant: isDirectCol ? 'default' : 'primary',
98
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
99
97
  ...LabelProps
100
98
  }));
101
99
  return /*#__PURE__*/React.createElement("div", {
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
3
3
  import { defaultProps } from "./props/defaultProps";
4
4
  import { propTypes } from "./props/propTypes";
5
5
  /**** Components ****/
6
+ // import Label from '@zohodesk/components/lib/Label/Label';
6
7
 
7
- import Label from '@zohodesk/components/lib/Label/Label';
8
+ import Label from '@zohodesk/components/es/v1/Label/Label';
8
9
  import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
9
10
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
10
11
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -129,11 +130,10 @@ export default class CurrencyField extends PureComponent {
129
130
  renderProps: renderLabelProps
130
131
  }, /*#__PURE__*/React.createElement(Label, {
131
132
  text: labelName,
132
- size: fieldSize === 'small' ? 'small' : 'medium',
133
- palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
134
- customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
133
+ isRequired: isMandatory,
134
+ customStyle: labelCustomClass,
135
135
  htmlFor: uniqueId,
136
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
136
+ customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
137
137
  ...LabelProps
138
138
  })), /*#__PURE__*/React.createElement("div", {
139
139
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
3
3
  import { defaultProps } from "./props/defaultProps";
4
4
  import { propTypes } from "./props/propTypes";
5
5
  /**** Components ****/
6
+ // import Label from '@zohodesk/components/lib/Label/Label';
6
7
 
7
- import Label from '@zohodesk/components/lib/Label/Label';
8
+ import Label from '@zohodesk/components/es/v1/Label/Label';
8
9
  import DateWidget from '@zohodesk/components/lib/DateTime/DateWidget';
9
10
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
10
11
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -133,14 +134,12 @@ export default class DateField extends PureComponent {
133
134
  renderProps: renderLabelProps
134
135
  }, /*#__PURE__*/React.createElement(Label, {
135
136
  text: labelName,
137
+ isRequired: isMandatory,
138
+ customStyle: labelCustomClass,
136
139
  htmlFor: getAriaId,
137
- size: fieldSize === 'small' ? 'small' : 'medium',
138
- palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
139
- onClick: isDisabled || isReadOnly ? null : this.handleLabelClick,
140
- customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
141
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
142
- ...LabelProps,
143
- id: labelName
140
+ testId: labelName,
141
+ customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
142
+ ...LabelProps
144
143
  })), /*#__PURE__*/React.createElement("div", {
145
144
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
146
145
  }, isLocked && lockedValueText ? /*#__PURE__*/React.createElement("div", {
@@ -7,6 +7,9 @@
7
7
  position: relative;
8
8
  min-height: var(--zd_size25) ;
9
9
  }
10
+ .fieldMargin_large {
11
+ margin-top: var(--zd_size10) ;
12
+ }
10
13
  .fieldMargin_medium {
11
14
  margin-top: var(--zd_size5) ;
12
15
  }
@@ -15,7 +18,7 @@
15
18
  }
16
19
  .radioContainer,
17
20
  .checkbox {
18
- composes: dflex alignVertical flexwrap from '~@zohodesk/components/lib/common/common.module.css';
21
+ composes: dflex alignVertical flexwrap from '~@zohodesk/components/es/common/common.module.css';
19
22
  }
20
23
  .checkbox {
21
24
  min-height: var(--zd_size28) ;
@@ -25,7 +28,7 @@
25
28
  }
26
29
  .lineClamp_one,
27
30
  .lineClamp_two {
28
- composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
31
+ composes: clamp from '~@zohodesk/components/es/common/common.module.css';
29
32
  }
30
33
  .lineClamp_one {
31
34
  -webkit-line-clamp: 1;
@@ -34,7 +37,7 @@
34
37
  -webkit-line-clamp: 2;
35
38
  }
36
39
  .checkboxText {
37
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
40
+ composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
38
41
  line-height: normal;
39
42
  }
40
43
  [dir=ltr] .checkboxText {
@@ -90,10 +93,10 @@
90
93
  width: var(--zd_size94) ;
91
94
  }
92
95
  .flex {
93
- composes: dflex from '~@zohodesk/components/lib/common/common.module.css';
96
+ composes: dflex from '~@zohodesk/components/es/common/common.module.css';
94
97
  }
95
98
  .periodContainer {
96
- composes: dflex flexrow flexwrap from '~@zohodesk/components/lib/common/common.module.css';
99
+ composes: dflex flexrow flexwrap from '~@zohodesk/components/es/common/common.module.css';
97
100
  width: 100% ;
98
101
  /*margin-left: var(--zd_size15);*/
99
102
  }
@@ -114,12 +117,12 @@
114
117
  color: var(--zdt_fields_newtabicon_hover_icon);
115
118
  }
116
119
  .labelContainer {
117
- composes: dflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
120
+ composes: dflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
118
121
  }
119
122
  .lockIcon,
120
123
  .infoIcon {
121
124
  color: var(--zdt_fields_lockicon_icon);
122
- composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
125
+ composes: dInflex from '~@zohodesk/components/es/common/common.module.css';
123
126
  }
124
127
  [dir=ltr] .lockIcon, [dir=ltr] .infoIcon {
125
128
  margin-left: var(--zd_size5) ;
@@ -172,7 +175,7 @@
172
175
  .lockText {
173
176
  font-size: var(--zd_font_size13) ;
174
177
  font-style: italic;
175
- composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
178
+ composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
176
179
  }
177
180
  .labelMandatory:after {
178
181
  content: '*';
@@ -185,7 +188,7 @@
185
188
  padding-right: var(--zd_size2) ;
186
189
  }
187
190
  .ePhiTag {
188
- composes: flexshrink from '~@zohodesk/components/lib/common/common.module.css';
191
+ composes: flexshrink from '~@zohodesk/components/es/common/common.module.css';
189
192
  color: var(--zdt_fields_phitag_text);
190
193
  font-size: var(--zd_font_size12) ;
191
194
  height: var(--zd_size18) ;
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
3
3
  import { defaultProps } from "./props/defaultProps";
4
4
  import { propTypes } from "./props/propTypes";
5
5
  /**** Components ****/
6
+ // import Label from '@zohodesk/components/lib/Label/Label';
6
7
 
7
- import Label from '@zohodesk/components/lib/Label/Label';
8
+ import Label from '@zohodesk/components/es/v1/Label/Label';
8
9
  import MultiSelect from '@zohodesk/components/lib/MultiSelect/MultiSelect';
9
10
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
10
11
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -145,13 +146,11 @@ export default class MultiSelectField extends PureComponent {
145
146
  renderProps: renderLabelProps
146
147
  }, /*#__PURE__*/React.createElement(Label, {
147
148
  text: labelName,
148
- id: id,
149
- size: fieldSize === 'small' ? 'small' : 'medium',
150
- palette: isDarkPalette ? 'dark' : isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette // onClick={this.handleLabelClick}
149
+ isRequired: isMandatory // customStyle={style.fieldLabel}
151
150
  ,
152
- customClass: `${style.fieldLabel} ${isMandatory ? style.labelMandatory : ''}`,
153
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
154
151
  htmlFor: uniqueId,
152
+ testId: id,
153
+ customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
155
154
  ...LabelProps
156
155
  })), /*#__PURE__*/React.createElement(MultiSelect, {
157
156
  options: options,
@@ -121,7 +121,7 @@ export default class RadioField extends PureComponent {
121
121
  dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
122
122
  ...LabelProps
123
123
  }), /*#__PURE__*/React.createElement("div", {
124
- className: `${style.fieldContainer} ${isBoxStyle ? style.radiosWrapper : ''} ${labelName ? style.fieldMargin_medium : ''} ${style.radioContainer}`
124
+ className: `${style.fieldContainer} ${isBoxStyle ? style.radiosWrapper : ''} ${labelName ? isBoxStyle ? style.fieldMargin_large : style.fieldMargin_medium : ''} ${style.radioContainer}`
125
125
  }, options.map((option, index) => {
126
126
  let {
127
127
  text,
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
3
3
  import { defaultProps } from "./props/defaultProps";
4
4
  import { propTypes } from "./props/propTypes";
5
5
  /**** Components ****/
6
+ // import Label from '@zohodesk/components/lib/Label/Label';
6
7
 
7
- import Label from '@zohodesk/components/lib/Label/Label';
8
+ import Label from '@zohodesk/components/es/v1/Label/Label';
8
9
  import Select from '@zohodesk/components/lib/Select/Select';
9
10
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
10
11
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -115,13 +116,11 @@ export default class SelectField extends PureComponent {
115
116
  renderProps: renderLabelProps
116
117
  }, /*#__PURE__*/React.createElement(Label, {
117
118
  text: labelName,
118
- size: fieldSize === 'small' ? 'small' : 'medium',
119
- palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
120
- customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
119
+ isRequired: isMandatory,
121
120
  htmlFor: uniqueId,
122
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
123
121
  ...LabelProps,
124
- id: uniqueId
122
+ testId: uniqueId,
123
+ customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
125
124
  })), /*#__PURE__*/React.createElement("div", {
126
125
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''} ${fieldClass ? fieldClass : ''}`
127
126
  }, /*#__PURE__*/React.createElement(Select, {
@@ -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) ;
@@ -1,8 +1,9 @@
1
1
  import React, { useState, useEffect } from 'react';
2
2
  import { defaultProps } from "./props/defaultProps";
3
3
  import { propTypes } from "./props/propTypes";
4
- import { Box } from '@zohodesk/components/lib/Layout';
5
- import Label from '@zohodesk/components/lib/Label/Label';
4
+ import { Box } from '@zohodesk/components/lib/Layout'; // import Label from '@zohodesk/components/lib/Label/Label';
5
+
6
+ import Label from '@zohodesk/components/es/v1/Label/Label';
6
7
  import Popup from '@zohodesk/components/lib/Popup/Popup';
7
8
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
8
9
  import TagsMultiSelect from "../TagsMultiSelect/TagsMultiSelect";
@@ -206,13 +207,10 @@ const TagsMultiSelectField = props => {
206
207
  }
207
208
  }, /*#__PURE__*/React.createElement(Label, {
208
209
  text: labelName,
209
- title: labelName,
210
- id: id,
211
- size: labelSize,
212
- palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
213
- customClass: `${fieldStyle.fieldLabel} ${isMandatory ? fieldStyle.labelMandatory : ''} ${labelClass ? labelClass : ''}`,
214
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
210
+ isRequired: isMandatory,
215
211
  htmlFor: htmlId,
212
+ testId: id,
213
+ customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
216
214
  ...LabelProps
217
215
  }), selectedValueCount ? /*#__PURE__*/React.createElement(Box, {
218
216
  dataId: `${dataId}_tagCount`,
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
3
3
  import { defaultProps } from "./props/defaultProps";
4
4
  import { propTypes } from "./props/propTypes";
5
5
  /**** Components ****/
6
+ // import Label from '@zohodesk/components/lib/Label/Label';
6
7
 
7
- import Label from '@zohodesk/components/lib/Label/Label';
8
+ import Label from '@zohodesk/components/es/v1/Label/Label';
8
9
  import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
9
10
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
10
11
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -103,13 +104,12 @@ export default class TextBoxField extends PureComponent {
103
104
  renderProps: renderLabelProps
104
105
  }, /*#__PURE__*/React.createElement(Label, {
105
106
  text: labelName,
106
- size: fieldSize === 'small' ? 'small' : 'medium',
107
- palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
108
- customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
107
+ isRequired: isMandatory,
108
+ customStyle: labelCustomClass,
109
+ testId: labelName,
109
110
  htmlFor: uniqueId,
110
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
111
- ...LabelProps,
112
- id: labelName
111
+ customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
112
+ ...LabelProps
113
113
  })), /*#__PURE__*/React.createElement("div", {
114
114
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
115
115
  }, /*#__PURE__*/React.createElement(TextBoxIcon, {
@@ -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
@@ -3,8 +3,9 @@ import React, { PureComponent } from 'react';
3
3
  import { defaultProps } from "./props/defaultProps";
4
4
  import { propTypes } from "./props/propTypes";
5
5
  /**** Components ****/
6
+ // import Label from '@zohodesk/components/lib/Label/Label';
6
7
 
7
- import Label from '@zohodesk/components/lib/Label/Label';
8
+ import Label from '@zohodesk/components/es/v1/Label/Label';
8
9
  import Textarea from '@zohodesk/components/lib/Textarea/Textarea';
9
10
  import ValidationMessage from "../ValidationMessage/ValidationMessage";
10
11
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
@@ -131,12 +132,11 @@ export default class TextareaField extends PureComponent {
131
132
  renderProps: renderLabelProps
132
133
  }, /*#__PURE__*/React.createElement(Label, {
133
134
  text: labelName,
134
- id: id,
135
- size: fieldSize === 'small' ? 'small' : 'medium',
136
- palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
137
- customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
135
+ isRequired: isMandatory,
136
+ customStyle: labelCustomClass,
137
+ testId: id,
138
138
  htmlFor: uniqueId,
139
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
139
+ customId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
140
140
  ...LabelProps
141
141
  })), /*#__PURE__*/React.createElement("div", {
142
142
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
@@ -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
  }