@zohodesk/dot 1.0.0-temp-89 → 1.0.0-temp.888

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 (163) hide show
  1. package/README.md +13 -0
  2. package/es/ActionButton/ActionButton.js +7 -4
  3. package/es/ActionButton/ActionButton.module.css +9 -25
  4. package/es/AlphabeticList/AlphabeticList.module.css +4 -7
  5. package/es/Attachment/Attachment.module.css +9 -20
  6. package/es/AttachmentViewer/AttachmentViewer.module.css +27 -89
  7. package/es/ChannelIcon/ChannelIcon.module.css +21 -30
  8. package/es/Drawer/Drawer.module.css +11 -59
  9. package/es/FlipCard/FlipCard.module.css +5 -14
  10. package/es/FormAction/FormAction.module.css +9 -34
  11. package/es/FreezeLayer/FreezeLayer.module.css +2 -6
  12. package/es/IconButton/IconButton.module.css +1 -1
  13. package/es/ImportantNotes/ImportantNotes.module.css +2 -7
  14. package/es/Loader/Loader.module.css +4 -25
  15. package/es/Message/Message.module.css +9 -42
  16. package/es/MessageBanner/MessageBanner.module.css +4 -12
  17. package/es/NewStar/NewStar.module.css +5 -42
  18. package/es/Provider.js +5 -105
  19. package/es/ToastMessage/ToastMessage.module.css +25 -96
  20. package/es/Upload/Upload.module.css +8 -27
  21. package/es/alert/AlertHeader/AlertHeader.module.css +3 -21
  22. package/es/alert/AlertLookup/AlertLookup.module.css +2 -6
  23. package/es/avatar/AvatarClose/AvatarClose.module.css +3 -9
  24. package/es/avatar/AvatarCollision/AvatarCollision.module.css +4 -18
  25. package/es/avatar/AvatarIcon/AvatarIcon.module.css +4 -3
  26. package/es/avatar/AvatarStatus/AvatarStatus.module.css +9 -59
  27. package/es/avatar/AvatarThread/AvatarThread.module.css +5 -55
  28. package/es/avatar/AvatarUser/AvatarUser.module.css +10 -81
  29. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +3 -10
  30. package/es/common/dot_animation.module.css +3 -16
  31. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +3 -11
  32. package/es/docs/formDocs.js +5 -1
  33. package/es/docs/generalDocs.js +5 -2
  34. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +9 -21
  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/CheckBoxField/CheckBoxField.js +16 -28
  43. package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +8 -1
  44. package/es/form/fields/CurrencyField/CurrencyField.js +16 -29
  45. package/es/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +36 -0
  46. package/es/form/fields/DateField/DateField.js +16 -28
  47. package/es/form/fields/DateField/docs/DateField__default.docs.js +8 -1
  48. package/es/form/fields/FieldContainer/FieldContainer.js +82 -0
  49. package/es/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +49 -0
  50. package/es/form/fields/Fields.module.css +14 -49
  51. package/es/form/fields/MultiSelectField/MultiSelectField.js +16 -28
  52. package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +8 -1
  53. package/es/form/fields/SelectField/SelectField.js +16 -28
  54. package/es/form/fields/SelectField/docs/SelectField__default.docs.js +8 -1
  55. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +7 -4
  56. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +7 -19
  57. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +32 -28
  58. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +1 -4
  59. package/es/form/fields/TextBoxField/TextBoxField.js +18 -43
  60. package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +28 -1
  61. package/es/form/fields/TextEditor/TextEditor.module.css +72 -149
  62. package/es/form/fields/TextEditorField/TextEditorField.js +27 -44
  63. package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +9 -2
  64. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +2 -13
  65. package/es/form/fields/TextareaField/TextareaField.js +16 -28
  66. package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +8 -1
  67. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +4 -9
  68. package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
  69. package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
  70. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +16 -52
  71. package/es/layout/SubtabLayout/SubtabLayout.module.css +29 -55
  72. package/es/list/BluePrintStatus/BluePrintStatus.module.css +1 -4
  73. package/es/list/Comment/Comment.module.css +0 -5
  74. package/es/list/DotNew/DotNew.module.css +3 -3
  75. package/es/list/GridStencils/GridStencils.module.css +21 -82
  76. package/es/list/Icons/Icons.module.css +1 -1
  77. package/es/list/ListLayout/ListLayout.module.css +14 -22
  78. package/es/list/ListStencils/ListStencils.module.css +6 -11
  79. package/es/list/SecondaryText/AccountName.js +34 -38
  80. package/es/list/SecondaryText/ContactName.js +18 -13
  81. package/es/list/SecondaryText/SecondaryText.module.css +14 -39
  82. package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +114 -0
  83. package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +2 -2
  84. package/es/list/SentimentStatus/SentimentStatus.module.css +1 -4
  85. package/es/list/TagNew/TagNew.module.css +7 -14
  86. package/es/list/Thread/Thread.module.css +1 -13
  87. package/es/list/UserTime/UserTime.module.css +0 -6
  88. package/es/list/listCommon.module.css +1 -9
  89. package/es/list/status/StatusDropdown/StatusDropdown.module.css +6 -19
  90. package/es/list/status/StatusListItem/StatusListItem.module.css +15 -38
  91. package/es/lookup/Lookup/Lookup.module.css +2 -2
  92. package/es/lookup/Section/LookupSection.module.css +2 -2
  93. package/es/lookup/header/Close/LookupClose.module.css +4 -4
  94. package/es/lookup/header/Search/LookupSearch.module.css +12 -21
  95. package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -5
  96. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +3 -8
  97. package/es/lookup/header/lookupHeaderCommon.module.css +5 -15
  98. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -12
  99. package/es/setup/header/Button/HeaderButton.module.css +1 -3
  100. package/es/setup/header/Link/HeaderLink.module.css +1 -7
  101. package/es/setup/header/Search/Search.module.css +8 -19
  102. package/es/setup/header/Views/Views.module.css +5 -15
  103. package/es/setup/helptips/Link/HelpTipsLink.module.css +0 -1
  104. package/es/setup/helptips/ListGroup/ListGroup.module.css +1 -6
  105. package/es/setup/table/TableData/SetupTableData.module.css +3 -11
  106. package/es/setup/table/TableHead/SetupTableHead.module.css +0 -4
  107. package/es/setup/table/TableRow/SetupTableRow.module.css +2 -6
  108. package/es/utils/KeyboardApi.js +294 -0
  109. package/es/version2/AlertClose/AlertClose.module.css +1 -1
  110. package/es/version2/GlobalNotification/GlobalNotification.module.css +9 -44
  111. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +2 -25
  112. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +3 -7
  113. package/es/version2/lookup/alertLookupCommonNew.module.css +1 -8
  114. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +10 -26
  115. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +10 -47
  116. package/lib/ActionButton/ActionButton.js +3 -7
  117. package/lib/ActionButton/ActionButton.module.css +1 -0
  118. package/lib/FreezeLayer/FreezeLayer.js +4 -29
  119. package/lib/ImportantNotes/ImportantNotes.js +3 -5
  120. package/lib/Provider.js +38 -115
  121. package/lib/deprecated/SelectDropdown/SelectDropdown.js +38 -60
  122. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +0 -1
  123. package/lib/docs/generalDocs.js +0 -16
  124. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +161 -182
  125. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +0 -3
  126. package/lib/form/fields/CheckBoxField/CheckBoxField.js +1 -1
  127. package/lib/form/fields/CurrencyField/CurrencyField.js +8 -9
  128. package/lib/form/fields/DateField/DateField.js +1 -1
  129. package/lib/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  130. package/lib/form/fields/PhoneField/PhoneField.js +1 -1
  131. package/lib/form/fields/RadioField/RadioField.js +1 -1
  132. package/lib/form/fields/SelectField/SelectField.js +1 -1
  133. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +73 -110
  134. package/lib/form/fields/TextBoxField/TextBoxField.js +1 -1
  135. package/lib/form/fields/TextEditor/TextEditor.js +1 -4
  136. package/lib/form/fields/TextEditor/TextEditor.module.css +2 -13
  137. package/lib/form/fields/TextareaField/TextareaField.js +1 -1
  138. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +1 -1
  139. package/lib/list/GridStencils/GridStencils.module.css +1 -3
  140. package/lib/list/SecondaryText/AccountName.js +34 -38
  141. package/lib/list/SecondaryText/ContactName.js +18 -13
  142. package/lib/list/SecondaryText/SecondaryText.module.css +14 -29
  143. package/lib/list/status/StatusDropdown/StatusDropdown.js +118 -146
  144. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +0 -3
  145. package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -8
  146. package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +3 -13
  147. package/lib/lookup/header/TicketHeader/TicketHeader.js +4 -7
  148. package/lib/lookup/header/ViewDropDown/ViewDropDown.js +52 -75
  149. package/lib/lookup/header/lookupHeaderCommon.module.css +2 -8
  150. package/lib/setup/header/Views/Views.js +2 -2
  151. package/lib/utils/General.js +24 -0
  152. package/lib/{deprecated/utils → utils}/KeyboardApi.js +0 -0
  153. package/package.json +5 -5
  154. package/lib/AttachmentViewer/Attachment.js +0 -28
  155. package/lib/AttachmentViewer/AttachmentImage.js +0 -133
  156. package/lib/AttachmentViewer/AttachmentViewer.js +0 -646
  157. package/lib/AttachmentViewer/AttachmentViewer.module.css +0 -354
  158. package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +0 -123
  159. package/lib/AttachmentViewer/utils.js +0 -134
  160. package/lib/Provider/Config.js +0 -21
  161. package/lib/common/dot_animation.module.css +0 -27
  162. package/lib/common/dot_common.module.css +0 -4
  163. package/lib/deprecated/utils/General.js +0 -29
@@ -6,27 +6,16 @@
6
6
  height: var(--zd_size28);
7
7
  width: 100%;
8
8
  position: absolute;
9
- transition: border var(--zd_transition2) linear 0s;
10
- cursor: text;
11
- }
12
- [dir=ltr] .textBox {
13
9
  left: 0;
14
- animation: fadeIn var(--zd_transition4);
15
- }
16
- [dir=rtl] .textBox {
17
- right: 0;
10
+ cursor: text;
11
+ transition: border var(--zd_transition2) linear 0s;
18
12
  animation: fadeIn var(--zd_transition4);
19
13
  }
20
14
  .textEditor {
21
15
  position: relative;
22
16
  z-index: 1;
23
- }
24
- [dir=ltr] .textEditor {
25
17
  padding-right: 1px;
26
18
  }
27
- [dir=rtl] .textEditor {
28
- padding-left: 1px;
29
- }
30
19
  @keyframes fadeIn {
31
20
  0% {
32
21
  opacity: 0;
@@ -9,9 +9,11 @@ import Label from '@zohodesk/components/lib/Label/Label';
9
9
  import Textarea from '@zohodesk/components/lib/Textarea/Textarea';
10
10
  import ValidationMessage from '../ValidationMessage/ValidationMessage';
11
11
  import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
12
- /**** Icons ****/
12
+ import FieldContainer from '../FieldContainer/FieldContainer';
13
+ /**** props ****/
13
14
 
14
- import Icon from '@zohodesk/icons/lib/Icon';
15
+ import { FieldCommonDefaultProps } from '../props/FieldCommonDefaultProps';
16
+ import { FieldCommonPropTypes } from '../props/FieldCommonPropTypes';
15
17
  /**** CSS ****/
16
18
 
17
19
  import style from '../Fields.module.css';
@@ -85,7 +87,8 @@ export default class TextareaField extends PureComponent {
85
87
  htmlId,
86
88
  lockedInfoText,
87
89
  isLocked,
88
- customProps
90
+ customProps,
91
+ renderLabelProps
89
92
  } = this.props;
90
93
  const {
91
94
  LabelProps = {},
@@ -97,8 +100,11 @@ export default class TextareaField extends PureComponent {
97
100
  return /*#__PURE__*/React.createElement("div", {
98
101
  className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? style.readonly : ''}`,
99
102
  "data-title": isDisabled ? title : null
100
- }, labelName && /*#__PURE__*/React.createElement("div", {
101
- className: style.labelContainer
103
+ }, labelName && /*#__PURE__*/React.createElement(FieldContainer, {
104
+ infoText: infoText,
105
+ isLocked: isLocked,
106
+ lockedInfoText: lockedInfoText,
107
+ renderProps: renderLabelProps
102
108
  }, /*#__PURE__*/React.createElement(Label, _extends({
103
109
  text: labelName,
104
110
  id: id,
@@ -107,17 +113,7 @@ export default class TextareaField extends PureComponent {
107
113
  customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
108
114
  htmlFor: uniqueId,
109
115
  dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
110
- }, LabelProps)), infoText ? /*#__PURE__*/React.createElement(Icon, {
111
- name: "ZD-GN-info",
112
- iconClass: style.infoIcon,
113
- title: infoText,
114
- size: "15"
115
- }) : null, isLocked ? /*#__PURE__*/React.createElement(Icon, {
116
- name: "ZD-GN-lock",
117
- size: "13",
118
- iconClass: style.lockIcon,
119
- title: lockedInfoText
120
- }) : null), /*#__PURE__*/React.createElement("div", {
116
+ }, LabelProps))), /*#__PURE__*/React.createElement("div", {
121
117
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
122
118
  }, /*#__PURE__*/React.createElement(Textarea, _extends({
123
119
  onChange: this.handleChange,
@@ -156,16 +152,11 @@ export default class TextareaField extends PureComponent {
156
152
  TextareaField.propTypes = {
157
153
  animated: PropTypes.bool,
158
154
  borderColor: PropTypes.oneOf(['transparent', 'default']),
159
- dataId: PropTypes.string,
160
155
  errorType: PropTypes.oneOf(['primary', 'secondary']),
161
156
  fieldSize: PropTypes.oneOf(['small', 'medium']),
162
157
  getRef: PropTypes.func,
163
158
  id: PropTypes.string,
164
- infoText: PropTypes.string,
165
- isDisabled: PropTypes.bool,
166
159
  // isFocusOnLabelClick: PropTypes.bool,
167
- isMandatory: PropTypes.bool,
168
- isReadOnly: PropTypes.bool,
169
160
  labelCustomClass: PropTypes.string,
170
161
  labelName: PropTypes.string,
171
162
  labelPalette: PropTypes.string,
@@ -182,29 +173,26 @@ TextareaField.propTypes = {
182
173
  validationRuleMessage: PropTypes.string,
183
174
  validationRulePalette: PropTypes.string,
184
175
  value: PropTypes.string,
185
- lockedInfoText: PropTypes.string,
186
- isLocked: PropTypes.bool,
187
176
  customProps: PropTypes.shape({
188
177
  LabelProps: PropTypes.object,
189
178
  TextareaProps: PropTypes.object,
190
179
  ValidationMessageProps1: PropTypes.object,
191
180
  ValidationMessageProps2: PropTypes.object
192
- })
181
+ }),
182
+ ...FieldCommonPropTypes()
193
183
  };
194
184
  TextareaField.defaultProps = {
195
- isMandatory: false,
196
- isReadOnly: false,
197
185
  textBoxSize: 'xsmall',
198
186
  textBoxVariant: 'primary',
199
187
  animated: true,
200
188
  errorType: 'primary',
201
189
  borderColor: 'default',
202
- isDisabled: false,
203
190
  fieldSize: 'medium',
204
191
  // isFocusOnLabelClick: true,
205
192
  labelPalette: 'default',
206
193
  labelCustomClass: '',
207
- customProps: {}
194
+ customProps: {},
195
+ ...FieldCommonDefaultProps()
208
196
  };
209
197
 
210
198
  if (false) {
@@ -12,7 +12,14 @@ export default class TextareaField__default extends Component {
12
12
  onChange: () => {},
13
13
  textBoxSize: "xsmall",
14
14
  textBoxVariant: "primary",
15
- validationMessage: "Invalid Input"
15
+ validationMessage: "Invalid Input",
16
+ infoText: "infoText",
17
+ isLocked: true,
18
+ ePhiData: {
19
+ ePhiTitle: 'ePhiTitle',
20
+ ePhiText: 'ePhiText',
21
+ ePhiStatus: true
22
+ }
16
23
  });
17
24
  }
18
25
 
@@ -5,23 +5,18 @@
5
5
  display: inline;
6
6
  }
7
7
  .icon{
8
+ margin: 0 var(--zd_size5);
8
9
  color:var(--label_text_color);
9
10
  display: inline-block;
10
- margin: 0 var(--zd_size5);
11
11
  }
12
12
  .primary {
13
13
  position: absolute;
14
14
  top: 100%;
15
- composes:basic;
16
- margin-top: var(--zd_size5);
17
- }
18
- [dir=ltr] .primary {
19
15
  left: 0;
20
- }
21
- [dir=rtl] .primary {
22
- right: 0;
16
+ margin-top: var(--zd_size5);
17
+ composes:basic;
23
18
  }
24
19
  .secondary {
25
- composes:basic;
26
20
  margin-top: var(--zd_size5);
21
+ composes:basic;
27
22
  }
@@ -0,0 +1,10 @@
1
+ export const FieldCommonDefaultProps = () => {
2
+ return {
3
+ ePhiData: {},
4
+ isLocked: false,
5
+ isMandatory: false,
6
+ isDisabled: false,
7
+ isReadOnly: false,
8
+ renderLabelProps: {}
9
+ };
10
+ };
@@ -0,0 +1,22 @@
1
+ import PropTypes from 'prop-types';
2
+ export const FieldCommonPropTypes = () => {
3
+ return {
4
+ ePhiData: PropTypes.shape({
5
+ ePhiTitle: PropTypes.string,
6
+ ePhiText: PropTypes.string,
7
+ ePhiStatus: PropTypes.bool
8
+ }),
9
+ dataId: PropTypes.string,
10
+ infoText: PropTypes.string,
11
+ lockedInfoText: PropTypes.string,
12
+ isLocked: PropTypes.bool,
13
+ isDisabled: PropTypes.bool,
14
+ isReadOnly: PropTypes.bool,
15
+ isMandatory: PropTypes.bool,
16
+ renderLabelProps: PropTypes.shape({
17
+ start: PropTypes.func,
18
+ middle: PropTypes.func,
19
+ end: PropTypes.func
20
+ })
21
+ };
22
+ };
@@ -1,7 +1,7 @@
1
1
  .header {
2
2
  height: var(--zd_size50);
3
- z-index: 2;
4
3
  border-bottom: 1px solid var(--zdt_setupdetail_header_border);
4
+ z-index: 2;
5
5
  }
6
6
  .back {
7
7
  width: var(--zd_size60);
@@ -11,18 +11,13 @@
11
11
  width: var(--zd_size30);
12
12
  font-size: var(--zd_font_size12);
13
13
  display: inline-block;
14
- color: var(--zdt_setupdetail_backicon);
15
- line-height: var(--zd_size30);
16
14
  text-align: center;
15
+ color: var(--zdt_setupdetail_backicon);
16
+ margin-left: var(--zd_size19);
17
17
  border-radius: 50%;
18
+ line-height: var(--zd_size30);
18
19
  cursor: pointer;
19
20
  }
20
- [dir=ltr] .backIcon {
21
- margin-left: var(--zd_size19);
22
- }
23
- [dir=rtl] .backIcon {
24
- margin-right: var(--zd_size19);
25
- }
26
21
 
27
22
  .backIcon:hover {
28
23
  background-color: var(--zdt_setupdetail_hover_backicon_bg);
@@ -30,16 +25,11 @@
30
25
  .title {
31
26
  font-size: var(--zd_font_size16);
32
27
  line-height: var(--zd_size16);
28
+ padding-right: var(--zd_size12);
33
29
  font-family: var(--zd_semibold);
34
30
  color: var(--zdt_setupdetail_backicon);
35
31
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
36
32
  }
37
- [dir=ltr] .title {
38
- padding-right: var(--zd_size12);
39
- }
40
- [dir=rtl] .title {
41
- padding-left: var(--zd_size12);
42
- }
43
33
 
44
34
  .rightPanel {
45
35
  composes: justifyFend from '~@zohodesk/components/lib/common/common.module.css';
@@ -47,60 +37,42 @@
47
37
  .helpInfoCont {
48
38
  position: absolute;
49
39
  z-index: 10;
50
- }
51
- [dir=ltr] .helpInfoCont {
52
40
  right: 0;
53
41
  padding: var(--zd_size12) var(--zd_size15) 0 0;
54
42
  }
55
- [dir=rtl] .helpInfoCont {
56
- left: 0;
57
- padding: var(--zd_size12) 0 0 var(--zd_size15);
58
- }
59
43
  .helpInfo {
44
+ border: 1px solid var(--zdt_setupdetail_helpinfo);
45
+ border-radius: 2px;
60
46
  line-height: var(--zd_size26);
61
47
  height: var(--zd_size28);
62
48
  width: var(--zd_size28);
63
49
  color: var(--zdt_setupdetail_helpinfo_text);
64
50
  font-size: var(--zd_font_size11);
65
- display: inline-block;
66
- border: 1px solid var(--zdt_setupdetail_helpinfo);
67
- border-radius: 2px;
68
51
  text-align: center;
69
52
  cursor: pointer;
53
+ display: inline-block;
70
54
  }
71
- [dir=ltr] .mr15 {
55
+ .mr15 {
72
56
  margin-right: var(--zd_size15);
73
57
  }
74
- [dir=rtl] .mr15 {
75
- margin-left: var(--zd_size15);
76
- }
77
58
 
78
59
  .content {
79
60
  z-index: 1;
80
61
  }
81
- [dir=ltr] .padding {
62
+ .padding {
82
63
  padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size60);
83
64
  }
84
- [dir=rtl] .padding {
85
- padding: var(--zd_size10) var(--zd_size60) var(--zd_size10) var(--zd_size25);
86
- }
87
65
  .popup {
88
66
  z-index: 3;
89
67
  position: absolute;
90
68
  top: 0;
69
+ right: 0;
91
70
  bottom: 0;
92
71
  width: var(--zd_size330);
93
- transition: transform var(--zd_transition3);
94
72
  border: 1px solid var(--zdt_setupdetail_popup_border);
95
73
  background-color: var(--zdt_setupdetail_popup_bg);
96
- }
97
- [dir=ltr] .popup {
98
- right: 0;
99
74
  transform: translateX(100%);
100
- }
101
- [dir=rtl] .popup {
102
- left: 0;
103
- transform: translateX(-100%);
75
+ transition: transform var(--zd_transition3);
104
76
  }
105
77
  .popup.open {
106
78
  transform: translateX(0);
@@ -110,35 +82,27 @@
110
82
  }
111
83
 
112
84
  .infoHeader {
113
- color: var(--zdt_setupdetail_infoheader_text);
114
85
  padding: var(--zd_size10) var(--zd_size20) var(--zd_size11);
115
86
  border-bottom: 1px solid var(--zdt_setupdetail_popup_border);
116
87
  background-color: var(--zdt_setupdetail_infoheader_bg);
88
+ color: var(--zdt_setupdetail_infoheader_text);
117
89
  }
118
90
 
119
91
  .infoIcon {
120
92
  height: var(--zd_size26);
121
93
  width: var(--zd_size26);
122
94
  font-size: var(--zd_font_size12);
123
- line-height: var(--zd_size24);
124
95
  text-align: center;
125
96
  border: 1px solid var(--zdt_setupdetail_infoicon_border);
126
97
  border-radius: 2px;
98
+ line-height: var(--zd_size24);
127
99
  }
128
100
 
129
101
  .infoText {
130
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
131
- font-size: var(--zd_font_size13);
132
- }
133
-
134
- [dir=ltr] .infoText {
135
102
  margin-left: var(--zd_size8);
136
103
  margin-right: var(--zd_size8);
137
- }
138
-
139
- [dir=rtl] .infoText {
140
- margin-right: var(--zd_size8);
141
- margin-left: var(--zd_size8);
104
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
105
+ font-size: var(--zd_font_size13);
142
106
  }
143
107
 
144
108
  .infoClose {
@@ -5,19 +5,13 @@
5
5
  .shadowStyle {
6
6
  position: relative;
7
7
  composes: varClass;
8
- }
9
- .tabHead, .shadowStyle {
10
8
  background: var(--zdt_subtablayout_tabhead_bg);
11
9
  }
12
10
 
13
- [dir=ltr] .left {
11
+ .left {
14
12
  margin-right: var(--zd_size15);
15
13
  }
16
14
 
17
- [dir=rtl] .left {
18
- margin-left: var(--zd_size15);
19
- }
20
-
21
15
  .plusIconLine {
22
16
  position: relative;
23
17
  z-index: 2;
@@ -26,22 +20,16 @@
26
20
  .plusIconLine::before {
27
21
  position: absolute;
28
22
  content: '';
23
+ left: var(--zd_size20);
24
+ background: var(--zdt_subtablayout_plusicon_bg);
29
25
  width: var(--zd_size1);
30
26
  height: var(--zd_size28);
31
27
  top: var(--zd_size38);
32
28
  z-index: -1;
33
- background: var(--zdt_subtablayout_plusicon_bg);
34
29
  }
35
30
 
36
- [dir=ltr] .plusIconLine::before {
37
- left: var(--zd_size20);
38
- }
39
-
40
- [dir=rtl] .plusIconLine::before {
41
- right: var(--zd_size20);
42
- }
43
-
44
- .primary_borderStyle, .secondary_borderStyle {
31
+ .primary_borderStyle,
32
+ .secondary_borderStyle {
45
33
  border-bottom: 1px solid var(--zdt_subtablayout_primary_border);
46
34
  }
47
35
  .tertiary_borderStyle {
@@ -49,23 +37,15 @@
49
37
  }
50
38
 
51
39
  .shadowStyle::before {
40
+ box-shadow: 0 0 6px var(--zdt_subtablayout_shadowstyle_box_shadow);
41
+ border-radius: 100px/10px;
52
42
  bottom: 0;
53
43
  content: '';
44
+ left: var(--zd_size50);
54
45
  position: absolute;
46
+ right: var(--zd_size50);
55
47
  top: var(--zd_size20);
56
48
  z-index: -1;
57
- box-shadow: 0 0 6px var(--zdt_subtablayout_shadowstyle_box_shadow);
58
- border-radius: 100px/10px;
59
- }
60
-
61
- [dir=ltr] .shadowStyle::before {
62
- left: var(--zd_size50);
63
- right: var(--zd_size50);
64
- }
65
-
66
- [dir=rtl] .shadowStyle::before {
67
- right: var(--zd_size50);
68
- left: var(--zd_size50);
69
49
  }
70
50
 
71
51
  .aside {
@@ -82,50 +62,44 @@
82
62
  color: var(--zdt_subtablayout_label_text);
83
63
  }
84
64
 
85
- .primary, .primary_peek, .secondary, .secondary_peek, .primary_detailFooter, .primary_peekFooter, .secondary_detailFooter, .secondary_peekFooter {
65
+ .primary,
66
+ .primary_peek,
67
+ .secondary,
68
+ .secondary_peek,
69
+ .primary_detailFooter,
70
+ .primary_peekFooter,
71
+ .secondary_detailFooter,
72
+ .secondary_peekFooter {
86
73
  padding-top: var(--zd_size27);
87
74
  padding-bottom: var(--zd_size26);
88
- }
89
-
90
- [dir=ltr] .primary, [dir=ltr] .primary_peek, [dir=ltr] .secondary, [dir=ltr] .secondary_peek, [dir=ltr] .primary_detailFooter, [dir=ltr] .primary_peekFooter, [dir=ltr] .secondary_detailFooter, [dir=ltr] .secondary_peekFooter {
91
75
  padding-left: var(--zd_size25);
92
76
  }
93
-
94
- [dir=rtl] .primary, [dir=rtl] .primary_peek, [dir=rtl] .secondary, [dir=rtl] .secondary_peek, [dir=rtl] .primary_detailFooter, [dir=rtl] .primary_peekFooter, [dir=rtl] .secondary_detailFooter, [dir=rtl] .secondary_peekFooter {
95
- padding-right: var(--zd_size25);
96
- }
97
- [dir=ltr] .primary, [dir=ltr] .primary_peek {
77
+ .primary,
78
+ .primary_peek {
98
79
  padding-right: var(--zd_size25);
99
80
  }
100
- [dir=rtl] .primary, [dir=rtl] .primary_peek {
101
- padding-left: var(--zd_size25);
102
- }
103
- [dir=ltr] .secondary, [dir=ltr] .secondary_peek {
81
+ .secondary,
82
+ .secondary_peek {
104
83
  padding-right: var(--zd_size115);
105
84
  }
106
- [dir=rtl] .secondary, [dir=rtl] .secondary_peek {
107
- padding-left: var(--zd_size115);
108
- }
109
- [dir=ltr] .primary_detailFooter, [dir=ltr] .primary_peekFooter {
85
+ .primary_detailFooter,
86
+ .primary_peekFooter {
110
87
  padding-right: var(--zd_size25);
111
88
  }
112
- [dir=rtl] .primary_detailFooter, [dir=rtl] .primary_peekFooter {
113
- padding-left: var(--zd_size25);
114
- }
115
- [dir=ltr] .secondary_detailFooter, [dir=ltr] .secondary_peekFooter {
89
+ .secondary_detailFooter,
90
+ .secondary_peekFooter {
116
91
  padding-right: var(--zd_size115);
117
92
  }
118
- [dir=rtl] .secondary_detailFooter, [dir=rtl] .secondary_peekFooter {
119
- padding-left: var(--zd_size115);
120
- }
121
93
  .tertiary,
122
94
  .tertiary_peek {
123
95
  height: var(--zd_size50);
124
96
  }
125
- .tertiary, .tertiary_detailFooter {
97
+ .tertiary,
98
+ .tertiary_detailFooter {
126
99
  padding: 0 var(--zd_size65);
127
100
  }
128
- .tertiary_peek, .tertiary_peekFooter {
101
+ .tertiary_peek,
102
+ .tertiary_peekFooter {
129
103
  padding: 0 var(--zd_size42);
130
104
  }
131
105
  .cursor {
@@ -1,9 +1,6 @@
1
1
  .container {
2
- display: inherit;
3
- }[dir=ltr] .container {
4
2
  padding-right: var(--zd_size5);
5
- }[dir=rtl] .container {
6
- padding-left: var(--zd_size5);
3
+ display: inherit;
7
4
  }
8
5
  /* .danger {
9
6
  color: var(--dot_brightRed);
@@ -17,13 +17,8 @@
17
17
  top: var(--zd_size1);
18
18
  font-size: var(--zd_font_size9);
19
19
  text-align: center;
20
- }
21
- [dir=ltr] .count {
22
20
  left: 100%;
23
21
  }
24
- [dir=rtl] .count {
25
- right: 100%;
26
- }
27
22
  .commentIcon {
28
23
  font-size: var(--zd_font_size13);
29
24
  }
@@ -7,13 +7,13 @@
7
7
  height: var(--zd_size5);
8
8
  }
9
9
  .container{
10
+ border-radius: 50%;
11
+ background-color: var(--zdt_dotnew_default_bg);
10
12
  composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
13
+ box-shadow: 0 0 15px 1px var(--zdt_dotnew_default_box_shadow);
11
14
  /* animation: dotAnimation 1.25s infinite cubic-bezier(0.66, 0.33, 0, 1);
12
15
  box-shadow: 0 0 0 0 var(--dot_catskillWhite),
13
16
  0 0 0 0 rgba(10, 115, 235, 0.6); */
14
- border-radius: 50%;
15
- background-color: var(--zdt_dotnew_default_bg);
16
- box-shadow: 0 0 15px 1px var(--zdt_dotnew_default_box_shadow);
17
17
  }
18
18
  @keyframes dotAnimation {
19
19
  to {