@zohodesk/dot 1.0.0-temp-151 → 1.0.0-temp-152

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 (217) hide show
  1. package/README.md +18 -0
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +1 -1
  3. package/assets/Appearance/default/mode/dotDefaultMode.module.css +1 -1
  4. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +1 -1
  5. package/es/ActionButton/ActionButton.module.css +14 -14
  6. package/es/AlphabeticList/AlphabeticList.module.css +10 -10
  7. package/es/Attachment/Attachment.module.css +26 -24
  8. package/es/AttachmentViewer/AttachmentViewer.module.css +41 -41
  9. package/es/ChannelIcon/ChannelIcon.module.css +22 -22
  10. package/es/Drawer/Drawer.module.css +41 -40
  11. package/es/FormAction/FormAction.module.css +20 -20
  12. package/es/FreezeLayer/FreezeLayer.js +5 -13
  13. package/es/Hooks/Dragger/useDragger.js +7 -2
  14. package/es/IconButton/IconButton.module.css +2 -2
  15. package/es/Image/Image.module.css +1 -0
  16. package/es/ImportantNotes/ImportantNotes.module.css +5 -5
  17. package/es/Loader/Loader.module.css +1 -0
  18. package/es/Message/Message.module.css +9 -9
  19. package/es/MessageBanner/MessageBanner.module.css +7 -7
  20. package/es/NewStar/NewStar.module.css +18 -10
  21. package/es/Separator/Separator.module.css +6 -6
  22. package/es/TagWithIcon/TagWithIcon.module.css +6 -6
  23. package/es/ToastMessage/ToastMessage.module.css +23 -23
  24. package/es/Upload/Upload.module.css +15 -15
  25. package/es/alert/AlertHeader/AlertHeader.module.css +12 -12
  26. package/es/alert/AlertLookup/AlertLookup.module.css +6 -6
  27. package/es/avatar/AvatarClose/AvatarClose.module.css +1 -1
  28. package/es/avatar/AvatarCollision/AvatarCollision.module.css +7 -7
  29. package/es/avatar/AvatarStatus/AvatarStatus.module.css +32 -32
  30. package/es/avatar/AvatarThread/AvatarThread.module.css +24 -24
  31. package/es/avatar/AvatarUser/AvatarUser.module.css +40 -40
  32. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +4 -4
  33. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
  34. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +13 -13
  35. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +11 -11
  36. package/es/emptystate/EditionPage/EditionPage.css +13 -13
  37. package/es/errorstate/EmptyStates.module.css +18 -18
  38. package/es/errorstate/Inconvenience/Inconvenience.module.css +3 -3
  39. package/es/errorstate/LinkText/LinkText.module.css +1 -1
  40. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
  41. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +8 -8
  42. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
  43. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
  44. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
  45. package/es/errorstate/WillBack/WillBack.module.css +10 -10
  46. package/es/form/fields/Fields.module.css +26 -26
  47. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +13 -13
  48. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
  49. package/es/form/fields/TextEditor/TextEditor.js +10 -11
  50. package/es/form/fields/TextEditor/TextEditor.module.css +84 -77
  51. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +3 -2
  52. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +3 -3
  53. package/es/layout/SetupDetailLayout/SetupDetailLayout.js +18 -3
  54. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +31 -31
  55. package/es/layout/SetupDetailLayout/props/defaultProps.js +4 -2
  56. package/es/layout/SetupDetailLayout/props/propTypes.js +10 -2
  57. package/es/layout/SubtabLayout/SubtabLayout.module.css +32 -32
  58. package/es/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
  59. package/es/list/Comment/Comment.module.css +4 -4
  60. package/es/list/Dot/Dot.module.css +3 -3
  61. package/es/list/DotNew/DotNew.module.css +4 -4
  62. package/es/list/GridStencils/GridStencils.module.css +24 -24
  63. package/es/list/Icons/AddNewIcon.js +2 -3
  64. package/es/list/Icons/CompleteIcon.js +2 -2
  65. package/es/list/Icons/DeleteIcon.js +3 -4
  66. package/es/list/Icons/EditIcon.js +3 -5
  67. package/es/list/Icons/Icons.module.css +2 -2
  68. package/es/list/Icons/ReadUnreadIcon.js +3 -5
  69. package/es/list/Icons/SmartIcon.js +3 -5
  70. package/es/list/ListLayout/ListLayout.module.css +14 -30
  71. package/es/list/ListStencils/ListStencils.module.css +12 -12
  72. package/es/list/SecondaryText/SecondaryText.module.css +11 -11
  73. package/es/list/SentimentStatus/SentimentStatus.module.css +3 -3
  74. package/es/list/TagNew/TagNew.module.css +4 -4
  75. package/es/list/Thread/Thread.module.css +7 -7
  76. package/es/list/UserTime/UserTime.module.css +8 -8
  77. package/es/list/listCommon.module.css +9 -31
  78. package/es/list/status/StatusDropdown/StatusDropdown.js +2 -9
  79. package/es/list/status/StatusDropdown/StatusDropdown.module.css +13 -13
  80. package/es/list/status/StatusListItem/StatusListItem.module.css +16 -16
  81. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
  82. package/es/lookup/Lookup/Lookup.module.css +5 -5
  83. package/es/lookup/Section/LookupSection.module.css +1 -1
  84. package/es/lookup/header/Close/LookupClose.module.css +3 -3
  85. package/es/lookup/header/Search/LookupSearch.module.css +14 -14
  86. package/es/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
  87. package/es/lookup/header/Title/LookupTitle.module.css +1 -1
  88. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
  89. package/es/lookup/header/lookupHeaderCommon.module.css +8 -8
  90. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
  91. package/es/setup/header/Button/HeaderButton.module.css +2 -2
  92. package/es/setup/header/Link/HeaderLink.module.css +5 -5
  93. package/es/setup/header/Search/Search.module.css +8 -8
  94. package/es/setup/header/Views/Views.module.css +4 -4
  95. package/es/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  96. package/es/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  97. package/es/setup/helptips/ListGroup/ListGroup.module.css +3 -3
  98. package/es/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  99. package/es/setup/table/TableData/SetupTableData.module.css +6 -6
  100. package/es/setup/table/TableHead/SetupTableHead.module.css +5 -5
  101. package/es/setup/table/TableRow/SetupTableRow.module.css +5 -5
  102. package/es/setup/table/Text/TableText.module.css +2 -2
  103. package/es/version2/AlertClose/AlertClose.module.css +2 -2
  104. package/es/version2/GlobalNotification/GlobalNotification.module.css +13 -13
  105. package/es/version2/errorstate/V2_ErrorStates.module.css +17 -17
  106. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +13 -13
  107. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +6 -6
  108. package/es/version2/lookup/alertLookupCommonNew.module.css +5 -5
  109. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -14
  110. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +23 -23
  111. package/lib/ActionButton/ActionButton.module.css +14 -14
  112. package/lib/AlphabeticList/AlphabeticList.module.css +10 -10
  113. package/lib/Attachment/Attachment.module.css +26 -24
  114. package/lib/AttachmentViewer/AttachmentViewer.module.css +41 -41
  115. package/lib/ChannelIcon/ChannelIcon.module.css +22 -22
  116. package/lib/Drawer/Drawer.module.css +41 -40
  117. package/lib/FormAction/FormAction.module.css +20 -20
  118. package/lib/FreezeLayer/FreezeLayer.js +5 -13
  119. package/lib/Hooks/Dragger/useDragger.js +7 -2
  120. package/lib/IconButton/IconButton.module.css +2 -2
  121. package/lib/Image/Image.module.css +1 -0
  122. package/lib/ImportantNotes/ImportantNotes.module.css +5 -5
  123. package/lib/Loader/Loader.module.css +1 -0
  124. package/lib/Message/Message.module.css +9 -9
  125. package/lib/MessageBanner/MessageBanner.module.css +7 -7
  126. package/lib/NewStar/NewStar.module.css +18 -10
  127. package/lib/Separator/Separator.module.css +6 -6
  128. package/lib/TagWithIcon/TagWithIcon.module.css +6 -6
  129. package/lib/ToastMessage/ToastMessage.module.css +23 -23
  130. package/lib/Upload/Upload.module.css +15 -15
  131. package/lib/alert/AlertHeader/AlertHeader.module.css +12 -12
  132. package/lib/alert/AlertLookup/AlertLookup.module.css +6 -6
  133. package/lib/avatar/AvatarClose/AvatarClose.module.css +1 -1
  134. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +7 -7
  135. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +32 -32
  136. package/lib/avatar/AvatarThread/AvatarThread.module.css +24 -24
  137. package/lib/avatar/AvatarUser/AvatarUser.module.css +40 -40
  138. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +4 -4
  139. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +11 -11
  140. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +13 -13
  141. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +11 -11
  142. package/lib/emptystate/EditionPage/EditionPage.css +13 -13
  143. package/lib/errorstate/EmptyStates.module.css +18 -18
  144. package/lib/errorstate/Inconvenience/Inconvenience.module.css +3 -3
  145. package/lib/errorstate/LinkText/LinkText.module.css +1 -1
  146. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +1 -1
  147. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +8 -8
  148. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +1 -1
  149. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +1 -1
  150. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +1 -1
  151. package/lib/errorstate/WillBack/WillBack.module.css +10 -10
  152. package/lib/form/fields/Fields.module.css +26 -26
  153. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +13 -13
  154. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +3 -3
  155. package/lib/form/fields/TextEditor/TextEditor.js +10 -11
  156. package/lib/form/fields/TextEditor/TextEditor.module.css +84 -77
  157. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +3 -2
  158. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +3 -3
  159. package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +18 -3
  160. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +31 -31
  161. package/lib/layout/SetupDetailLayout/props/defaultProps.js +4 -2
  162. package/lib/layout/SetupDetailLayout/props/propTypes.js +10 -2
  163. package/lib/layout/SubtabLayout/SubtabLayout.module.css +32 -32
  164. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +3 -3
  165. package/lib/list/Comment/Comment.module.css +4 -4
  166. package/lib/list/Dot/Dot.module.css +3 -3
  167. package/lib/list/DotNew/DotNew.module.css +4 -4
  168. package/lib/list/GridStencils/GridStencils.module.css +24 -24
  169. package/lib/list/Icons/AddNewIcon.js +2 -3
  170. package/lib/list/Icons/CompleteIcon.js +2 -2
  171. package/lib/list/Icons/DeleteIcon.js +3 -4
  172. package/lib/list/Icons/EditIcon.js +3 -5
  173. package/lib/list/Icons/Icons.module.css +2 -2
  174. package/lib/list/Icons/ReadUnreadIcon.js +3 -5
  175. package/lib/list/Icons/SmartIcon.js +3 -5
  176. package/lib/list/ListLayout/ListLayout.module.css +14 -30
  177. package/lib/list/ListStencils/ListStencils.module.css +12 -12
  178. package/lib/list/SecondaryText/SecondaryText.module.css +11 -11
  179. package/lib/list/SentimentStatus/SentimentStatus.module.css +3 -3
  180. package/lib/list/TagNew/TagNew.module.css +4 -4
  181. package/lib/list/Thread/Thread.module.css +7 -7
  182. package/lib/list/UserTime/UserTime.module.css +8 -8
  183. package/lib/list/listCommon.module.css +9 -31
  184. package/lib/list/status/StatusDropdown/StatusDropdown.js +2 -9
  185. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +13 -13
  186. package/lib/list/status/StatusListItem/StatusListItem.module.css +16 -16
  187. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +3 -3
  188. package/lib/lookup/Lookup/Lookup.module.css +5 -5
  189. package/lib/lookup/Section/LookupSection.module.css +1 -1
  190. package/lib/lookup/header/Close/LookupClose.module.css +3 -3
  191. package/lib/lookup/header/Search/LookupSearch.module.css +14 -14
  192. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +2 -2
  193. package/lib/lookup/header/Title/LookupTitle.module.css +1 -1
  194. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +11 -11
  195. package/lib/lookup/header/lookupHeaderCommon.module.css +8 -8
  196. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +3 -3
  197. package/lib/setup/header/Button/HeaderButton.module.css +2 -2
  198. package/lib/setup/header/Link/HeaderLink.module.css +5 -5
  199. package/lib/setup/header/Search/Search.module.css +8 -8
  200. package/lib/setup/header/Views/Views.module.css +4 -4
  201. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +2 -2
  202. package/lib/setup/helptips/Link/HelpTipsLink.module.css +2 -2
  203. package/lib/setup/helptips/ListGroup/ListGroup.module.css +3 -3
  204. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
  205. package/lib/setup/table/TableData/SetupTableData.module.css +6 -6
  206. package/lib/setup/table/TableHead/SetupTableHead.module.css +5 -5
  207. package/lib/setup/table/TableRow/SetupTableRow.module.css +5 -5
  208. package/lib/setup/table/Text/TableText.module.css +2 -2
  209. package/lib/version2/AlertClose/AlertClose.module.css +2 -2
  210. package/lib/version2/GlobalNotification/GlobalNotification.module.css +13 -13
  211. package/lib/version2/errorstate/V2_ErrorStates.module.css +17 -17
  212. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +13 -13
  213. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +6 -6
  214. package/lib/version2/lookup/alertLookupCommonNew.module.css +5 -5
  215. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +14 -14
  216. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +23 -23
  217. package/package.json +23 -9
@@ -1,9 +1,9 @@
1
1
  .container{
2
2
  position: relative;
3
- min-height: var(--zd_size28);
3
+ min-height: 28px;
4
4
  }
5
5
  .textBox {
6
- height: var(--zd_size28);
6
+ height: 28px;
7
7
  width: 100%;
8
8
  position: absolute;
9
9
  transition: border var(--zd_transition2) linear 0s;
@@ -20,6 +20,7 @@
20
20
  .textEditor {
21
21
  position: relative;
22
22
  z-index: 1;
23
+ /* Variable:Ignore */
23
24
  }
24
25
  [dir=ltr] .textEditor {
25
26
  padding-right: 1px;
@@ -7,13 +7,13 @@
7
7
  .icon{
8
8
  color:var(--label_text_color);
9
9
  display: inline-block;
10
- margin: 0 var(--zd_size5);
10
+ margin: 0 5px;
11
11
  }
12
12
  .primary {
13
13
  position: absolute;
14
14
  top: 100%;
15
15
  composes:basic;
16
- margin-top: var(--zd_size5);
16
+ margin-top: 5px;
17
17
  }
18
18
  [dir=ltr] .primary {
19
19
  left: 0;
@@ -23,5 +23,5 @@
23
23
  }
24
24
  .secondary {
25
25
  composes:basic;
26
- margin-top: var(--zd_size5);
26
+ margin-top: 5px;
27
27
  }
@@ -29,8 +29,13 @@ export default class SetupDetailLayout extends React.Component {
29
29
  needHelpInfo,
30
30
  getHelpInfo,
31
31
  helpInfoTitle,
32
- dataId
32
+ dataId,
33
+ i18nKeys
33
34
  } = this.props;
35
+ const {
36
+ infoText = 'Help',
37
+ closeText = 'Close'
38
+ } = i18nKeys;
34
39
  return /*#__PURE__*/React.createElement(Container, {
35
40
  isScrollAttribute: true,
36
41
  dataId: dataId
@@ -50,7 +55,8 @@ export default class SetupDetailLayout extends React.Component {
50
55
  align: "vertical",
51
56
  className: style.infoHeader
52
57
  }, /*#__PURE__*/React.createElement(Box, {
53
- className: style.infoIcon
58
+ className: style.infoIcon,
59
+ "data-title": infoText
54
60
  }, /*#__PURE__*/React.createElement(Icon, {
55
61
  name: "ZD-info31"
56
62
  })), /*#__PURE__*/React.createElement(Box, {
@@ -59,6 +65,7 @@ export default class SetupDetailLayout extends React.Component {
59
65
  }, helpInfoTitle), /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement("span", {
60
66
  onClick: this.toggleHelpInfo,
61
67
  className: style.infoClose,
68
+ "data-title": closeText,
62
69
  "data-id": `${dataId}_close`
63
70
  }, /*#__PURE__*/React.createElement(Icon, {
64
71
  name: "ZD-close"
@@ -96,8 +103,13 @@ export class SetupHeader extends Component {
96
103
  rightClassName,
97
104
  isCustomizedHeader,
98
105
  headerCustomStyle,
99
- dataId
106
+ dataId,
107
+ i18nKeys
100
108
  } = this.props;
109
+ const {
110
+ infoText = 'Help',
111
+ backText = 'Back'
112
+ } = i18nKeys;
101
113
  return /*#__PURE__*/React.createElement(Box, {
102
114
  className: isCustomizedHeader === true ? headerCustomStyle : style.header,
103
115
  dataId: dataId
@@ -109,6 +121,7 @@ export class SetupHeader extends Component {
109
121
  }, needBack ? /*#__PURE__*/React.createElement("span", {
110
122
  className: style.backIcon,
111
123
  onClick: onBackClick,
124
+ "data-title": backText,
112
125
  "data-id": `${dataId}_back`
113
126
  }, /*#__PURE__*/React.createElement(Icon, {
114
127
  name: "ZD-back"
@@ -138,12 +151,14 @@ export class SetupHeader extends Component {
138
151
  }, /*#__PURE__*/React.createElement("span", {
139
152
  className: style.helpInfo,
140
153
  onClick: openHelpInfo,
154
+ "data-title": infoText,
141
155
  "data-id": `${dataId}_info`
142
156
  }, /*#__PURE__*/React.createElement(Icon, {
143
157
  name: "ZD-info31"
144
158
  }))) : /*#__PURE__*/React.createElement("span", {
145
159
  className: `${style.helpInfo} ${style.mr15}`,
146
160
  onClick: openHelpInfo,
161
+ "data-title": infoText,
147
162
  "data-id": `${dataId}_info`
148
163
  }, /*#__PURE__*/React.createElement(Icon, {
149
164
  name: "ZD-info31"
@@ -1,15 +1,15 @@
1
1
  .header {
2
- height: var(--zd_size50);
2
+ height: 50px;
3
3
  z-index: 2;
4
4
  border-bottom: 1px solid var(--zdt_setupdetail_header_border);
5
5
  }
6
6
  .back {
7
- width: var(--zd_size60);
7
+ width: 60px;
8
8
  }
9
9
  .backIcon {
10
- height: var(--zd_size30);
11
- width: var(--zd_size30);
12
- font-size: var(--zd_font_size12);
10
+ height: 30px;
11
+ width: 30px;
12
+ font-size: 12px;
13
13
  display: inline-block;
14
14
  color: var(--zdt_setupdetail_backicon);
15
15
  line-height: var(--zd_size30);
@@ -18,27 +18,27 @@
18
18
  cursor: pointer;
19
19
  }
20
20
  [dir=ltr] .backIcon {
21
- margin-left: var(--zd_size19);
21
+ margin-left: 19px;
22
22
  }
23
23
  [dir=rtl] .backIcon {
24
- margin-right: var(--zd_size19);
24
+ margin-right: 19px;
25
25
  }
26
26
 
27
27
  .backIcon:hover {
28
28
  background-color: var(--zdt_setupdetail_hover_backicon_bg);
29
29
  }
30
30
  .title {
31
- font-size: var(--zd_font_size16);
31
+ font-size: 16px;
32
32
  line-height: var(--zd_size16);
33
33
  font-family: var(--zd_semibold);
34
34
  color: var(--zdt_setupdetail_backicon);
35
35
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
36
36
  }
37
37
  [dir=ltr] .title {
38
- padding-right: var(--zd_size12);
38
+ padding-right: 12px;
39
39
  }
40
40
  [dir=rtl] .title {
41
- padding-left: var(--zd_size12);
41
+ padding-left: 12px;
42
42
  }
43
43
 
44
44
  .rightPanel {
@@ -50,18 +50,18 @@
50
50
  }
51
51
  [dir=ltr] .helpInfoCont {
52
52
  right: 0;
53
- padding: var(--zd_size12) var(--zd_size15) 0 0;
53
+ padding: 12px 15px 0 0;
54
54
  }
55
55
  [dir=rtl] .helpInfoCont {
56
56
  left: 0;
57
- padding: var(--zd_size12) 0 0 var(--zd_size15);
57
+ padding: 12px 0 0 15px;
58
58
  }
59
59
  .helpInfo {
60
60
  line-height: var(--zd_size26);
61
- height: var(--zd_size28);
62
- width: var(--zd_size28);
61
+ height: 28px;
62
+ width: 28px;
63
63
  color: var(--zdt_setupdetail_helpinfo_text);
64
- font-size: var(--zd_font_size11);
64
+ font-size: 11px;
65
65
  display: inline-block;
66
66
  border: 1px solid var(--zdt_setupdetail_helpinfo);
67
67
  border-radius: 2px;
@@ -69,27 +69,27 @@
69
69
  cursor: pointer;
70
70
  }
71
71
  [dir=ltr] .mr15 {
72
- margin-right: var(--zd_size15);
72
+ margin-right: 15px;
73
73
  }
74
74
  [dir=rtl] .mr15 {
75
- margin-left: var(--zd_size15);
75
+ margin-left: 15px;
76
76
  }
77
77
 
78
78
  .content {
79
79
  z-index: 1;
80
80
  }
81
81
  [dir=ltr] .padding {
82
- padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size60);
82
+ padding: 10px 25px 10px 60px;
83
83
  }
84
84
  [dir=rtl] .padding {
85
- padding: var(--zd_size10) var(--zd_size60) var(--zd_size10) var(--zd_size25);
85
+ padding: 10px 60px 10px 25px;
86
86
  }
87
87
  .popup {
88
88
  z-index: 3;
89
89
  position: absolute;
90
90
  top: 0;
91
91
  bottom: 0;
92
- width: var(--zd_size330);
92
+ width: 330px;
93
93
  transition: transform var(--zd_transition3);
94
94
  border: 1px solid var(--zdt_setupdetail_popup_border);
95
95
  background-color: var(--zdt_setupdetail_popup_bg);
@@ -111,15 +111,15 @@
111
111
 
112
112
  .infoHeader {
113
113
  color: var(--zdt_setupdetail_infoheader_text);
114
- padding: var(--zd_size10) var(--zd_size20) var(--zd_size11);
114
+ padding: 10px 20px 11px;
115
115
  border-bottom: 1px solid var(--zdt_setupdetail_popup_border);
116
116
  background-color: var(--zdt_setupdetail_infoheader_bg);
117
117
  }
118
118
 
119
119
  .infoIcon {
120
- height: var(--zd_size26);
121
- width: var(--zd_size26);
122
- font-size: var(--zd_font_size12);
120
+ height: 26px;
121
+ width: 26px;
122
+ font-size: 12px;
123
123
  line-height: var(--zd_size24);
124
124
  text-align: center;
125
125
  border: 1px solid var(--zdt_setupdetail_infoicon_border);
@@ -128,25 +128,25 @@
128
128
 
129
129
  .infoText {
130
130
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
131
- font-size: var(--zd_font_size13);
131
+ font-size: 13px;
132
132
  }
133
133
 
134
134
  [dir=ltr] .infoText {
135
- margin-left: var(--zd_size8);
136
- margin-right: var(--zd_size8);
135
+ margin-left: 8px;
136
+ margin-right: 8px;
137
137
  }
138
138
 
139
139
  [dir=rtl] .infoText {
140
- margin-right: var(--zd_size8);
141
- margin-left: var(--zd_size8);
140
+ margin-right: 8px;
141
+ margin-left: 8px;
142
142
  }
143
143
 
144
144
  .infoClose {
145
- font-size: var(--zd_font_size28);
145
+ font-size: 28px;
146
146
  color: var(--zdt_setupdetail_infoclose);
147
147
  cursor: pointer;
148
148
  }
149
149
 
150
150
  .infoFooter {
151
- padding: var(--zd_size10) var(--zd_size20);
151
+ padding: 10px 20px;
152
152
  }
@@ -1,13 +1,15 @@
1
1
  export const SetupDetailLayout_defaultProps = {
2
2
  helpInfoTitle: 'Page Tips',
3
3
  needHelpInfo: false,
4
- dataId: 'SetupDetailLayout'
4
+ dataId: 'SetupDetailLayout',
5
+ i18nKeys: {}
5
6
  };
6
7
  export const SetupHeader_defaultProps = {
7
8
  needBack: false,
8
9
  needHelpInfo: false,
9
10
  needHelpInfoWrapper: false,
10
- dataId: 'SetupHeader'
11
+ dataId: 'SetupHeader',
12
+ i18nKeys: {}
11
13
  };
12
14
  export const SetupContent_defaultProps = {
13
15
  needPadding: true,
@@ -4,7 +4,11 @@ export const SetupDetailLayout_propTypes = {
4
4
  dataId: PropTypes.string,
5
5
  getHelpInfo: PropTypes.func,
6
6
  helpInfoTitle: PropTypes.string,
7
- needHelpInfo: PropTypes.bool
7
+ needHelpInfo: PropTypes.bool,
8
+ i18nKeys: PropTypes.shape({
9
+ infoText: PropTypes.string,
10
+ closeText: PropTypes.string
11
+ })
8
12
  };
9
13
  export const SetupHeader_propTypes = {
10
14
  dataId: PropTypes.string,
@@ -19,7 +23,11 @@ export const SetupHeader_propTypes = {
19
23
  onBackClick: PropTypes.func,
20
24
  openHelpInfo: PropTypes.func,
21
25
  rightClassName: PropTypes.string,
22
- title: PropTypes.string
26
+ title: PropTypes.string,
27
+ i18nKeys: PropTypes.shape({
28
+ infoText: PropTypes.string,
29
+ backText: PropTypes.string
30
+ })
23
31
  };
24
32
  export const SetupContent_propTypes = {
25
33
  children: PropTypes.element,
@@ -13,11 +13,11 @@
13
13
  }
14
14
 
15
15
  [dir=ltr] .left {
16
- margin-right: var(--zd_size15);
16
+ margin-right: 15px;
17
17
  }
18
18
 
19
19
  [dir=rtl] .left {
20
- margin-left: var(--zd_size15);
20
+ margin-left: 15px;
21
21
  }
22
22
 
23
23
  .plusIconLine {
@@ -28,19 +28,19 @@
28
28
  .plusIconLine::before {
29
29
  position: absolute;
30
30
  content: '';
31
- width: var(--zd_size1);
32
- height: var(--zd_size28);
33
- top: var(--zd_size38);
31
+ width: 1px;
32
+ height: 28px;
33
+ top: 38px;
34
34
  z-index: -1;
35
35
  background: var(--zdt_subtablayout_plusicon_bg);
36
36
  }
37
37
 
38
38
  [dir=ltr] .plusIconLine::before {
39
- left: var(--zd_size20);
39
+ left: 20px;
40
40
  }
41
41
 
42
42
  [dir=rtl] .plusIconLine::before {
43
- right: var(--zd_size20);
43
+ right: 20px;
44
44
  }
45
45
 
46
46
  .primary_borderStyle, .secondary_borderStyle {
@@ -55,20 +55,20 @@
55
55
  bottom: 0;
56
56
  content: '';
57
57
  position: absolute;
58
- top: var(--zd_size20);
58
+ top: 20px;
59
59
  z-index: -1;
60
60
  box-shadow: var(--zd_bs_subtablayout_shadow);
61
61
  border-radius: 100px/10px;
62
62
  }
63
63
 
64
64
  [dir=ltr] .shadowStyle::before {
65
- left: var(--zd_size50);
66
- right: var(--zd_size50);
65
+ left: 50px;
66
+ right: 50px;
67
67
  }
68
68
 
69
69
  [dir=rtl] .shadowStyle::before {
70
- right: var(--zd_size50);
71
- left: var(--zd_size50);
70
+ right: 50px;
71
+ left: 50px;
72
72
  }
73
73
 
74
74
  .aside {
@@ -77,70 +77,70 @@
77
77
 
78
78
  .title {
79
79
  color: var(--zdt_subtablayout_title_text);
80
- font-size: var(--zd_font_size15);
80
+ font-size: 15px;
81
81
  }
82
82
 
83
83
  .label {
84
- font-size: var(--zd_font_size12);
84
+ font-size: 12px;
85
85
  color: var(--zdt_subtablayout_label_text);
86
86
  }
87
87
 
88
88
  .primary, .primary_peek, .secondary, .secondary_peek, .primary_detailFooter, .primary_peekFooter, .secondary_detailFooter, .secondary_peekFooter {
89
- padding-top: var(--zd_size27);
90
- padding-bottom: var(--zd_size26);
89
+ padding-top: 27px;
90
+ padding-bottom: 26px;
91
91
  }
92
92
 
93
93
  [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 {
94
- padding-left: var(--zd_size25);
94
+ padding-left: 25px;
95
95
  }
96
96
 
97
97
  [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 {
98
- padding-right: var(--zd_size25);
98
+ padding-right: 25px;
99
99
  }
100
100
 
101
101
  [dir=ltr] .primary, [dir=ltr] .primary_peek {
102
- padding-right: var(--zd_size25);
102
+ padding-right: 25px;
103
103
  }
104
104
 
105
105
  [dir=rtl] .primary, [dir=rtl] .primary_peek {
106
- padding-left: var(--zd_size25);
106
+ padding-left: 25px;
107
107
  }
108
108
 
109
109
  [dir=ltr] .secondary, [dir=ltr] .secondary_peek {
110
- padding-right: var(--zd_size115);
110
+ padding-right: 115px;
111
111
  }
112
112
 
113
113
  [dir=rtl] .secondary, [dir=rtl] .secondary_peek {
114
- padding-left: var(--zd_size115);
114
+ padding-left: 115px;
115
115
  }
116
116
 
117
117
  [dir=ltr] .primary_detailFooter, [dir=ltr] .primary_peekFooter {
118
- padding-right: var(--zd_size25);
118
+ padding-right: 25px;
119
119
  }
120
120
 
121
121
  [dir=rtl] .primary_detailFooter, [dir=rtl] .primary_peekFooter {
122
- padding-left: var(--zd_size25);
122
+ padding-left: 25px;
123
123
  }
124
124
 
125
125
  [dir=ltr] .secondary_detailFooter, [dir=ltr] .secondary_peekFooter {
126
- padding-right: var(--zd_size115);
126
+ padding-right: 115px;
127
127
  }
128
128
 
129
129
  [dir=rtl] .secondary_detailFooter, [dir=rtl] .secondary_peekFooter {
130
- padding-left: var(--zd_size115);
130
+ padding-left: 115px;
131
131
  }
132
132
 
133
133
  .tertiary,
134
134
  .tertiary_peek {
135
- height: var(--zd_size50);
135
+ height: 50px;
136
136
  }
137
137
 
138
138
  .tertiary, .tertiary_detailFooter {
139
- padding: 0 var(--zd_size65);
139
+ padding: 0 65px;
140
140
  }
141
141
 
142
142
  .tertiary_peek, .tertiary_peekFooter {
143
- padding: 0 var(--zd_size42);
143
+ padding: 0 42px;
144
144
  }
145
145
 
146
146
  .cursor {
@@ -153,13 +153,13 @@
153
153
  }
154
154
 
155
155
  .medium {
156
- height: var(--zd_size40);
156
+ height: 40px;
157
157
  }
158
158
 
159
159
  .large {
160
- height: var(--zd_size45);
160
+ height: 45px;
161
161
  }
162
162
 
163
163
  .xlarge {
164
- height: var(--zd_size50);
164
+ height: 50px;
165
165
  }
@@ -1,9 +1,9 @@
1
1
  .container {
2
2
  display: inherit;
3
3
  }[dir=ltr] .container {
4
- padding-right: var(--zd_size5);
4
+ padding-right: 5px;
5
5
  }[dir=rtl] .container {
6
- padding-left: var(--zd_size5);
6
+ padding-left: 5px;
7
7
  }
8
8
  /* .danger {
9
9
  color: var(--dot_brightRed);
@@ -13,5 +13,5 @@
13
13
  } */
14
14
  .iconStyle {
15
15
  display: block;
16
- font-size: var(--zd_font_size10);
16
+ font-size: 10px;
17
17
  }
@@ -6,7 +6,7 @@
6
6
  composes: inlineBlockMiddle from '../listCommon.module.css';
7
7
  position: relative;
8
8
  color: var(--icon_color);
9
- padding: 0 var(--zd_size2);
9
+ padding: 0 2px;
10
10
  cursor: pointer;
11
11
  }
12
12
  .container:hover {
@@ -14,8 +14,8 @@
14
14
  }
15
15
  .count {
16
16
  position: absolute;
17
- top: var(--zd_size1);
18
- font-size: var(--zd_font_size9);
17
+ top: 1px;
18
+ font-size: 9px;
19
19
  text-align: center;
20
20
  }
21
21
  [dir=ltr] .count {
@@ -25,5 +25,5 @@
25
25
  right: 100%;
26
26
  }
27
27
  .commentIcon {
28
- font-size: var(--zd_font_size13);
28
+ font-size: 13px;
29
29
  }
@@ -3,13 +3,13 @@
3
3
  }
4
4
  .dot {
5
5
  composes: varClass;
6
- font-size: var(--zd_font_size16);
6
+ font-size: 16px;
7
7
  color: var(--dotColor);
8
8
  transform: perspective(1px);
9
9
  }
10
10
  .list {
11
- margin: 0 var(--zd_size6);
11
+ margin: 0 6px;
12
12
  }
13
13
  .minimalList {
14
- margin: 0 var(--zd_size6);
14
+ margin: 0 6px;
15
15
  }
@@ -1,11 +1,11 @@
1
1
  .medium {
2
- width: var(--zd_size6);
3
- height: var(--zd_size6);
2
+ width: 6px;
3
+ height: 6px;
4
4
  }
5
5
 
6
6
  .small {
7
- width: var(--zd_size5);
8
- height: var(--zd_size5);
7
+ width: 5px;
8
+ height: 5px;
9
9
  }
10
10
 
11
11
  .container {
@@ -2,37 +2,37 @@
2
2
  position: relative;
3
3
  background-color: var(--zdt_gridstencils_default_bg);
4
4
  border-bottom: 1px solid var(--zdt_gridstencils_default_border);
5
- padding: var(--zd_size13) var(--zd_size15) var(--zd_size11) var(--zd_size15);
6
- margin-bottom: var(--zd_size10) ;
5
+ padding: 13px 15px 11px 15px;
6
+ margin-bottom: 10px;
7
7
  border-radius: var(--zd_size5);
8
8
  }
9
9
  [dir=ltr] .stenLoadbody {
10
- margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0;
10
+ margin: 8px 20px 8px 0;
11
11
  }
12
12
  [dir=rtl] .stenLoadbody {
13
- margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20);
13
+ margin: 8px 0 8px 20px;
14
14
  }
15
15
  .stenLoadbody::after {
16
16
  content: '';
17
- height: var(--zd_size22);
18
- width: var(--zd_size22);
19
- top: var(--zd_size15);
17
+ height: 22px;
18
+ width: 22px;
19
+ top: 15px;
20
20
  position: absolute;
21
21
  border-radius: 50%;
22
22
  background-color: var(--zdt_gridstencils_after_bg);
23
23
  }
24
24
  [dir=ltr] .stenLoadbody::after {
25
- right: var(--zd_size20);
25
+ right: 20px;
26
26
  }
27
27
  [dir=rtl] .stenLoadbody::after {
28
- left: var(--zd_size20);
28
+ left: 20px;
29
29
  }
30
30
  .lineBar {
31
31
  width: 90%;
32
32
  }
33
33
  .lineBar2 {
34
34
  width: 70%;
35
- margin: var(--zd_size22) 0;
35
+ margin: 22px 0;
36
36
  }
37
37
  .lineBar3 {
38
38
  width: 50%;
@@ -40,7 +40,7 @@
40
40
  .lineBar,
41
41
  .lineBar2,
42
42
  .lineBar3 {
43
- height: var(--zd_size5);
43
+ height: 5px;
44
44
  }
45
45
  .lineBar, .lineBar2, .lineBar3 {
46
46
  border-radius: var(--zd_size5);
@@ -97,44 +97,44 @@
97
97
  transform: scale(0.8);
98
98
  }
99
99
  [dir=ltr] .threeLayout .stenLoadbody::before {
100
- left: var(--zd_size16);
100
+ left: 16px;
101
101
  }
102
102
  [dir=rtl] .threeLayout .stenLoadbody::before {
103
- right: var(--zd_size16);
103
+ right: 16px;
104
104
  }
105
105
  [dir=ltr] .threeLayout .stenLoadbody {
106
- margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0;
106
+ margin: 8px 20px 8px 0;
107
107
  }
108
108
  [dir=rtl] .threeLayout .stenLoadbody {
109
- margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20);
109
+ margin: 8px 0 8px 20px;
110
110
  }
111
111
  .threeLayout .stenLoadbody::after {
112
- top: var(--zd_size15);
112
+ top: 15px;
113
113
  transform: scale(0.8);
114
114
  }
115
115
  [dir=ltr] .threeLayout .stenLoadbody::after {
116
- right: var(--zd_size20);
116
+ right: 20px;
117
117
  }
118
118
  [dir=rtl] .threeLayout .stenLoadbody::after {
119
- left: var(--zd_size20);
119
+ left: 20px;
120
120
  }
121
121
  [dir=ltr] .leftCont .stenLoadbody::before {
122
- left: var(--zd_size33);
122
+ left: 33px;
123
123
  }
124
124
  [dir=rtl] .leftCont .stenLoadbody::before {
125
- right: var(--zd_size33);
125
+ right: 33px;
126
126
  }
127
127
  [dir=ltr] .leftCont .stenLoadbody {
128
- margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) var(--zd_size46);
128
+ margin: 8px 20px 8px 46px;
129
129
  }
130
130
  [dir=rtl] .leftCont .stenLoadbody {
131
- margin: var(--zd_size8) var(--zd_size46) var(--zd_size8) var(--zd_size20);
131
+ margin: 8px 46px 8px 20px;
132
132
  }
133
133
  [dir=ltr] .leftCont .stenLoadbody::after {
134
- right: var(--zd_size40);
134
+ right: 40px;
135
135
  }
136
136
  [dir=rtl] .leftCont .stenLoadbody::after {
137
- left: var(--zd_size40);
137
+ left: 40px;
138
138
  }
139
139
  .leftCont .lineBar {
140
140
  width: 80%;