@zohodesk/dot 1.0.0-temp-186 → 1.0.0-temp-187

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 (190) hide show
  1. package/.cli/PropUnificationExcludeFilesArray.js +344 -344
  2. package/.cli/PropValidationExcludeFilesArray.js +8 -8
  3. package/.cli/propValidation_report.html +1 -1
  4. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  5. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  6. package/coverage/ExternalLink/index.html +1 -1
  7. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  8. package/coverage/ExternalLink/props/index.html +1 -1
  9. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  10. package/coverage/IconButton/IconButton.js.html +1 -1
  11. package/coverage/IconButton/IconButton.module.css.html +1 -1
  12. package/coverage/IconButton/index.html +1 -1
  13. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  14. package/coverage/IconButton/props/index.html +1 -1
  15. package/coverage/IconButton/props/propTypes.js.html +1 -1
  16. package/coverage/Image/Image.js.html +1 -1
  17. package/coverage/Image/Image.module.css.html +1 -1
  18. package/coverage/Image/index.html +1 -1
  19. package/coverage/Image/props/defaultProps.js.html +1 -1
  20. package/coverage/Image/props/index.html +1 -1
  21. package/coverage/Image/props/propTypes.js.html +1 -1
  22. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  26. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  27. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  28. package/coverage/coverage-final.json +16 -16
  29. package/coverage/coverage-summary.json +16 -16
  30. package/coverage/index.html +1 -1
  31. package/css_error.log +1 -1
  32. package/es/ExternalLink/ExternalLink.module.css +3 -3
  33. package/es/FlipCard/FlipCard.module.css +44 -44
  34. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
  35. package/es/Hooks/Dragger/css/Dragger.module.css +2 -2
  36. package/es/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
  37. package/es/Image/Image.module.css +11 -11
  38. package/es/Image/__tests__/__snapshots__/Image.spec.js.snap +74 -74
  39. package/es/Link/Link.module.css +3 -3
  40. package/es/Loader/Loader.module.css +47 -47
  41. package/es/MessageBanner/MessageBanner.module.css +46 -46
  42. package/es/NewStar/NewStar.module.css +244 -244
  43. package/es/PlusIcon/PlusIcon.module.css +18 -18
  44. package/es/Upload/Upload.module.css +125 -125
  45. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  46. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  47. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  48. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  49. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  50. package/es/common/dot_animation.module.css +26 -26
  51. package/es/common/dot_boxShadow.module.css +39 -39
  52. package/es/common/dot_common.module.css +3 -3
  53. package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  54. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +59 -59
  55. package/es/deprecated/utils/KeyboardApi.js +25 -25
  56. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  57. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  58. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  59. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  60. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  61. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  62. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  63. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  64. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  65. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  66. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -4
  67. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  68. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  69. package/es/form/layout/Field/Field.module.css +22 -22
  70. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  71. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  72. package/es/list/DepartmentDropDown/DepartmentDropDown.js +7 -2
  73. package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
  74. package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
  75. package/es/list/DotNew/DotNew.module.css +24 -24
  76. package/es/list/Icons/Icons.module.css +16 -16
  77. package/es/list/ListStencils/ListStencils.module.css +67 -67
  78. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  79. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  80. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  81. package/es/list/TagNew/TagNew.module.css +116 -116
  82. package/es/list/listCommon.module.css +78 -78
  83. package/es/list/status/StatusListItem/StatusListItem.module.css +35 -5
  84. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  85. package/es/lookup/Section/LookupSection.module.css +8 -8
  86. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  87. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  88. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  89. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  90. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  91. package/es/setup/header/Views/Views.module.css +38 -38
  92. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  93. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  94. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  95. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  96. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  97. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  98. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  99. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  100. package/es/svg/PlusIcon.js +1 -1
  101. package/es/svg/SnippetIcon.js +2 -2
  102. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -2
  103. package/es/v1/svg/PlusIcon.js +1 -1
  104. package/es/v1/svg/SnippetIcon.js +2 -2
  105. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  106. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  107. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  108. package/install.md +12 -12
  109. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  110. package/lib/FlipCard/FlipCard.module.css +44 -44
  111. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
  112. package/lib/Hooks/Dragger/css/Dragger.module.css +2 -2
  113. package/lib/IconButton/__tests__/__snapshots__/IconButton.spec.js.snap +316 -316
  114. package/lib/Image/Image.module.css +11 -11
  115. package/lib/Image/__tests__/__snapshots__/Image.spec.js.snap +74 -74
  116. package/lib/Link/Link.module.css +3 -3
  117. package/lib/Loader/Loader.module.css +47 -47
  118. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  119. package/lib/NewStar/NewStar.module.css +244 -244
  120. package/lib/PlusIcon/PlusIcon.module.css +18 -18
  121. package/lib/Upload/Upload.module.css +125 -125
  122. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  123. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  124. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  125. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  126. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  127. package/lib/common/dot_animation.module.css +26 -26
  128. package/lib/common/dot_boxShadow.module.css +39 -39
  129. package/lib/common/dot_common.module.css +3 -3
  130. package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  131. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +59 -59
  132. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  133. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  134. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  135. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  136. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  137. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  138. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  139. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  140. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  141. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  142. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  143. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +6 -5
  144. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  145. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  146. package/lib/form/layout/Field/Field.module.css +22 -22
  147. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  148. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  149. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
  150. package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
  151. package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
  152. package/lib/list/DotNew/DotNew.module.css +24 -24
  153. package/lib/list/Icons/Icons.module.css +16 -16
  154. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  155. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  156. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  157. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  158. package/lib/list/TagNew/TagNew.module.css +116 -116
  159. package/lib/list/listCommon.module.css +78 -78
  160. package/lib/list/status/StatusListItem/StatusListItem.module.css +35 -5
  161. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  162. package/lib/lookup/Section/LookupSection.module.css +8 -8
  163. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  164. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  165. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  166. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  167. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  168. package/lib/setup/header/Views/Views.module.css +38 -38
  169. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  170. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  171. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  172. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  173. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  174. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  175. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  176. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  177. package/lib/svg/PlusIcon.js +1 -1
  178. package/lib/svg/SnippetIcon.js +2 -2
  179. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -2
  180. package/lib/v1/svg/PlusIcon.js +1 -1
  181. package/lib/v1/svg/SnippetIcon.js +2 -2
  182. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  183. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  184. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  185. package/package.json +5 -5
  186. package/postPublish.js +8 -8
  187. package/prePublish.js +70 -70
  188. package/propValidationArg.json +11 -11
  189. package/react-cli.config.js +23 -23
  190. package/result.json +1 -1
@@ -1,3 +1,3 @@
1
- .imageContainer {
2
- margin-top: calc( var(--zd_size60) * -1 ) ;
3
- }
1
+ .imageContainer {
2
+ margin-top: calc( var(--zd_size60) * -1 ) ;
3
+ }
@@ -1,34 +1,34 @@
1
- .headtingText {
2
- font-family: var(--zd_semibold);
3
- font-size: var(--zd_font_size50) ;
4
- letter-spacing: var(--zd_size1);
5
- margin-bottom: var(--zd_size5) ;
6
- }
7
- .title,
8
- .headtingText,
9
- .lastBox {
10
- color: var(--zdt_permissionplay_title_text);
11
- }
12
- .title {
13
- font-size: var(--zd_font_size30) ;
14
- }
15
- .lastBox {
16
- line-height: 1.7143;
17
- font-size: var(--zd_font_size14) ;
18
- margin: 0 auto ;
19
- margin-bottom: var(--zd_size20) ;
20
- }
21
- .lineText {
22
- margin: 0 var(--zd_size4) ;
23
- }
24
- .imageContainer {
25
- height: var(--zd_size400) ;
26
- margin-bottom: var(--zd_size30) ;
27
- }
28
-
29
- .min {
30
- max-width: 48% ;
31
- }
32
- .max {
33
- max-width: 95% ;
34
- }
1
+ .headtingText {
2
+ font-family: var(--zd_semibold);
3
+ font-size: var(--zd_font_size50) ;
4
+ letter-spacing: var(--zd_size1);
5
+ margin-bottom: var(--zd_size5) ;
6
+ }
7
+ .title,
8
+ .headtingText,
9
+ .lastBox {
10
+ color: var(--zdt_permissionplay_title_text);
11
+ }
12
+ .title {
13
+ font-size: var(--zd_font_size30) ;
14
+ }
15
+ .lastBox {
16
+ line-height: 1.7143;
17
+ font-size: var(--zd_font_size14) ;
18
+ margin: 0 auto ;
19
+ margin-bottom: var(--zd_size20) ;
20
+ }
21
+ .lineText {
22
+ margin: 0 var(--zd_size4) ;
23
+ }
24
+ .imageContainer {
25
+ height: var(--zd_size400) ;
26
+ margin-bottom: var(--zd_size30) ;
27
+ }
28
+
29
+ .min {
30
+ max-width: 48% ;
31
+ }
32
+ .max {
33
+ max-width: 95% ;
34
+ }
@@ -1,3 +1,3 @@
1
- .imageContainer {
2
- margin-top: calc( var(--zd_size60) * -1 ) ;
3
- }
1
+ .imageContainer {
2
+ margin-top: calc( var(--zd_size60) * -1 ) ;
3
+ }
@@ -1,3 +1,3 @@
1
- .imageContainer {
2
- margin-top: calc( var(--zd_size40) * -1 ) ;
3
- }
1
+ .imageContainer {
2
+ margin-top: calc( var(--zd_size40) * -1 ) ;
3
+ }
@@ -1,3 +1,3 @@
1
- .imageContainer {
2
- margin-top: calc( var(--zd_size10) * -1 ) ;
3
- }
1
+ .imageContainer {
2
+ margin-top: calc( var(--zd_size10) * -1 ) ;
3
+ }
@@ -1,34 +1,34 @@
1
- .title,
2
- .tabletTitle,
3
- .mobileTitle {
4
- color: var(--zdt_willback_title_text);
5
- composes: bold from '~@zohodesk/components/lib/common/common.module.css';
6
- }
7
- .title {
8
- font-size: var(--zd_font_size50) ;
9
- }
10
- .tabletTitle {
11
- font-size: var(--zd_font_size24) ;
12
- }
13
- .mobileTitle {
14
- font-size: var(--zd_font_size22) ;
15
- }
16
- .header {
17
- min-width: var(--zd_size450) ;
18
- }
19
- .imageContainer, .tabletImageContainer, .mobileImageContainer {
20
- margin-top: calc( var(--zd_size70) * -1 ) ;
21
- margin-bottom: var(--zd_size30) ;
22
- }
23
- .imageContainer {
24
- height: var(--zd_size450) ;
25
- }
26
- .mobileImageContainer {
27
- height: var(--zd_size300) ;
28
- }
29
- .tabletImageContainer {
30
- height: var(--zd_size350) ;
31
- }
32
- .bottomSpace {
33
- margin-bottom: var(--zd_size20) ;
34
- }
1
+ .title,
2
+ .tabletTitle,
3
+ .mobileTitle {
4
+ color: var(--zdt_willback_title_text);
5
+ composes: bold from '~@zohodesk/components/lib/common/common.module.css';
6
+ }
7
+ .title {
8
+ font-size: var(--zd_font_size50) ;
9
+ }
10
+ .tabletTitle {
11
+ font-size: var(--zd_font_size24) ;
12
+ }
13
+ .mobileTitle {
14
+ font-size: var(--zd_font_size22) ;
15
+ }
16
+ .header {
17
+ min-width: var(--zd_size450) ;
18
+ }
19
+ .imageContainer, .tabletImageContainer, .mobileImageContainer {
20
+ margin-top: calc( var(--zd_size70) * -1 ) ;
21
+ margin-bottom: var(--zd_size30) ;
22
+ }
23
+ .imageContainer {
24
+ height: var(--zd_size450) ;
25
+ }
26
+ .mobileImageContainer {
27
+ height: var(--zd_size300) ;
28
+ }
29
+ .tabletImageContainer {
30
+ height: var(--zd_size350) ;
31
+ }
32
+ .bottomSpace {
33
+ margin-bottom: var(--zd_size20) ;
34
+ }
@@ -160,7 +160,8 @@ export default class TagsMultiSelect extends React.Component {
160
160
  const {
161
161
  TextBoxIconProps = {},
162
162
  TagWrapperProps = {},
163
- TagProps = {}
163
+ TagProps = {},
164
+ listProps = {}
164
165
  } = customProps;
165
166
  return /*#__PURE__*/React.createElement("div", {
166
167
  className: `${style.container} ${!isReadOnly ? ` ${needBorder ? style.hasBorder : ''}
@@ -270,8 +271,7 @@ export default class TagsMultiSelect extends React.Component {
270
271
  eleRef: this.getContainerRef
271
272
  }, searchList.length ? /*#__PURE__*/React.createElement(Box, {
272
273
  flexible: true,
273
- shrink: true,
274
- dataId: `${dataId}_Options`
274
+ shrink: true
275
275
  }, searchList.map((item, index) => {
276
276
  let {
277
277
  name,
@@ -290,7 +290,8 @@ export default class TagsMultiSelect extends React.Component {
290
290
  getRef: this.getSelectedItemRef,
291
291
  isDisabled: listDisabled,
292
292
  customProps: listItemProps,
293
- customClass: listItemClass
293
+ customClass: listItemClass,
294
+ ...listProps
294
295
  }, isNew ? /*#__PURE__*/React.createElement(Container, {
295
296
  alignBox: "row",
296
297
  align: "vertical"
@@ -1,9 +1,9 @@
1
- .count {
2
- color: var(--zdt_tagsmultiselectField_count_text);
3
- font-size: var(--zd_font_size12) ;
4
- word-break: break-word;
5
- }[dir=ltr] .count {
6
- margin-left: var(--zd_size4) ;
7
- }[dir=rtl] .count {
8
- margin-right: var(--zd_size4) ;
9
- }
1
+ .count {
2
+ color: var(--zdt_tagsmultiselectField_count_text);
3
+ font-size: var(--zd_font_size12) ;
4
+ word-break: break-word;
5
+ }[dir=ltr] .count {
6
+ margin-left: var(--zd_size4) ;
7
+ }[dir=rtl] .count {
8
+ margin-right: var(--zd_size4) ;
9
+ }
@@ -1,38 +1,38 @@
1
- .container{
2
- position: relative;
3
- min-height: var(--zd_size28) ;
4
- }
5
- .textBox {
6
- height: var(--zd_size28) ;
7
- width: 100% ;
8
- position: absolute;
9
- transition: border var(--zd_transition2) linear 0s;
10
- cursor: text;
11
- }
12
- [dir=ltr] .textBox {
13
- left: 0 ;
14
- animation: fadeIn var(--zd_transition4);
15
- }
16
- [dir=rtl] .textBox {
17
- right: 0 ;
18
- animation: fadeIn var(--zd_transition4);
19
- }
20
- .textEditor {
21
- position: relative;
22
- z-index: 1;
23
- /* Variable:Ignore */
24
- }
25
- [dir=ltr] .textEditor {
26
- padding-right: var(--zd_size1) ;
27
- }
28
- [dir=rtl] .textEditor {
29
- padding-left: var(--zd_size1) ;
30
- }
31
- @keyframes fadeIn {
32
- 0% {
33
- opacity: 0;
34
- }
35
- 100% {
36
- opacity: 1;
37
- }
1
+ .container{
2
+ position: relative;
3
+ min-height: var(--zd_size28) ;
4
+ }
5
+ .textBox {
6
+ height: var(--zd_size28) ;
7
+ width: 100% ;
8
+ position: absolute;
9
+ transition: border var(--zd_transition2) linear 0s;
10
+ cursor: text;
11
+ }
12
+ [dir=ltr] .textBox {
13
+ left: 0 ;
14
+ animation: fadeIn var(--zd_transition4);
15
+ }
16
+ [dir=rtl] .textBox {
17
+ right: 0 ;
18
+ animation: fadeIn var(--zd_transition4);
19
+ }
20
+ .textEditor {
21
+ position: relative;
22
+ z-index: 1;
23
+ /* Variable:Ignore */
24
+ }
25
+ [dir=ltr] .textEditor {
26
+ padding-right: var(--zd_size1) ;
27
+ }
28
+ [dir=rtl] .textEditor {
29
+ padding-left: var(--zd_size1) ;
30
+ }
31
+ @keyframes fadeIn {
32
+ 0% {
33
+ opacity: 0;
34
+ }
35
+ 100% {
36
+ opacity: 1;
37
+ }
38
38
  }
@@ -1,22 +1,22 @@
1
- .container {
2
- min-width: 0 ;
3
- }
4
- .half {
5
- flex: 1 1 50% ;
6
- max-width: 50% ;
7
- }
8
- .full {
9
- flex: 1 1 100% ;
10
- }
11
- .fieldContaier {
12
- display: inline-block;
13
- width: 100% ;
14
- vertical-align: middle;
15
- }
16
- .rowBreak {
17
- display: block;
18
- width: 100% ;
19
- }
20
- .singleColumn {
21
- width: 100% ;
22
- }
1
+ .container {
2
+ min-width: 0 ;
3
+ }
4
+ .half {
5
+ flex: 1 1 50% ;
6
+ max-width: 50% ;
7
+ }
8
+ .full {
9
+ flex: 1 1 100% ;
10
+ }
11
+ .fieldContaier {
12
+ display: inline-block;
13
+ width: 100% ;
14
+ vertical-align: middle;
15
+ }
16
+ .rowBreak {
17
+ display: block;
18
+ width: 100% ;
19
+ }
20
+ .singleColumn {
21
+ width: 100% ;
22
+ }
@@ -1,3 +1,3 @@
1
- .singleColumn {
2
- composes: dflex flexrow from '~@zohodesk/components/lib/common/common.module.css';
3
- }
1
+ .singleColumn {
2
+ composes: dflex flexrow from '~@zohodesk/components/lib/common/common.module.css';
3
+ }
@@ -1,17 +1,17 @@
1
- .container {
2
- display: inherit;
3
- }[dir=ltr] .container {
4
- padding-right: var(--zd_size5) ;
5
- }[dir=rtl] .container {
6
- padding-left: var(--zd_size5) ;
7
- }
8
- /* .danger {
9
- color: var(--dot_brightRed);
10
- }
11
- .default {
12
- color: var(--dot_shuttleGrey);
13
- } */
14
- .iconStyle {
15
- display: block;
16
- font-size: var(--zd_font_size10) ;
17
- }
1
+ .container {
2
+ display: inherit;
3
+ }[dir=ltr] .container {
4
+ padding-right: var(--zd_size5) ;
5
+ }[dir=rtl] .container {
6
+ padding-left: var(--zd_size5) ;
7
+ }
8
+ /* .danger {
9
+ color: var(--dot_brightRed);
10
+ }
11
+ .default {
12
+ color: var(--dot_shuttleGrey);
13
+ } */
14
+ .iconStyle {
15
+ display: block;
16
+ font-size: var(--zd_font_size10) ;
17
+ }
@@ -48,8 +48,12 @@ class DepartmentDropDown extends Component {
48
48
  onSearch,
49
49
  needSearchFetching,
50
50
  searchStr,
51
- i18nKeys
51
+ i18nKeys,
52
+ customProps
52
53
  } = this.props;
54
+ const {
55
+ toggleDropDownProps = {}
56
+ } = customProps;
53
57
  let {
54
58
  title = 'Move Department',
55
59
  searchEmptyText = 'No results found',
@@ -84,7 +88,8 @@ class DepartmentDropDown extends Component {
84
88
  getNextOptions: getNextOptions,
85
89
  isNextOptions: isNextOptions,
86
90
  onSearch: onSearch,
87
- needSearchFetching: needSearchFetching
91
+ needSearchFetching: needSearchFetching,
92
+ ...toggleDropDownProps
88
93
  });
89
94
  }
90
95
 
@@ -3,5 +3,6 @@ export const defaultProps = {
3
3
  isPopupActive: true,
4
4
  isNextOptions: false,
5
5
  searchStr: '',
6
- i18nKeys: {}
6
+ i18nKeys: {},
7
+ customProps: {}
7
8
  };
@@ -20,5 +20,6 @@ export const propTypes = {
20
20
  searchEmptyText: PropTypes.string,
21
21
  searchErrorText: PropTypes.string,
22
22
  placeholder: PropTypes.string
23
- })
23
+ }),
24
+ customProps: PropTypes.string
24
25
  };
@@ -1,25 +1,25 @@
1
- .medium {
2
- width: var(--zd_size6) ;
3
- height: var(--zd_size6) ;
4
- }
5
-
6
- .small {
7
- width: var(--zd_size5) ;
8
- height: var(--zd_size5) ;
9
- }
10
-
11
- .container {
12
- composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
13
- /* animation: dotAnimation 1.25s infinite cubic-bezier(0.66, 0.33, 0, 1);
14
- box-shadow: 0 0 0 0 var(--dot_catskillWhite),
15
- 0 0 0 0 rgba(10, 115, 235, 0.6); */
16
- border-radius: 50%;
17
- background-color: var(--zdt_dotnew_default_bg);
18
- box-shadow: var(--zd_bs_dotnew_shadow);
19
- }
20
-
21
- @keyframes dotAnimation {
22
- to {
23
- box-shadow: 0 0 0 12px var(--zdt_dotnew_animate_box_shadow), 0 0 0 8px var(--zdt_dotnew_animate_to_box_shadow);
24
- }
1
+ .medium {
2
+ width: var(--zd_size6) ;
3
+ height: var(--zd_size6) ;
4
+ }
5
+
6
+ .small {
7
+ width: var(--zd_size5) ;
8
+ height: var(--zd_size5) ;
9
+ }
10
+
11
+ .container {
12
+ composes: dInflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
13
+ /* animation: dotAnimation 1.25s infinite cubic-bezier(0.66, 0.33, 0, 1);
14
+ box-shadow: 0 0 0 0 var(--dot_catskillWhite),
15
+ 0 0 0 0 rgba(10, 115, 235, 0.6); */
16
+ border-radius: 50%;
17
+ background-color: var(--zdt_dotnew_default_bg);
18
+ box-shadow: var(--zd_bs_dotnew_shadow);
19
+ }
20
+
21
+ @keyframes dotAnimation {
22
+ to {
23
+ box-shadow: 0 0 0 12px var(--zdt_dotnew_animate_box_shadow), 0 0 0 8px var(--zdt_dotnew_animate_to_box_shadow);
24
+ }
25
25
  }
@@ -1,16 +1,16 @@
1
- .container,
2
- .iconStyle {
3
- composes: inlineFlex from '../listCommon.module.css';
4
- }
5
- .iconStyle {
6
- color: var(--zdt_icons_default);
7
- width: var(--zd_size33) ;
8
- padding: 0 var(--zd_size8) ;
9
- cursor: pointer;
10
- }
11
- .blueHover:hover {
12
- color: var(--zdt_icons_hover_blue);
13
- }
14
- .redHover:hover {
15
- color: var(--zdt_icons_hover_red);
16
- }
1
+ .container,
2
+ .iconStyle {
3
+ composes: inlineFlex from '../listCommon.module.css';
4
+ }
5
+ .iconStyle {
6
+ color: var(--zdt_icons_default);
7
+ width: var(--zd_size33) ;
8
+ padding: 0 var(--zd_size8) ;
9
+ cursor: pointer;
10
+ }
11
+ .blueHover:hover {
12
+ color: var(--zdt_icons_hover_blue);
13
+ }
14
+ .redHover:hover {
15
+ color: var(--zdt_icons_hover_red);
16
+ }
@@ -1,67 +1,67 @@
1
- .container {
2
- position: relative;
3
- width: 100% ;
4
- padding: 0 var(--zd_size30) ;
5
- }
6
- .innerContainer {
7
- composes: dflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
8
- border-bottom: 1px dotted var(--zdt_liststencils_innercontainer_border);
9
- }
10
- .detailsInnerColumn {
11
- composes: dflex from '~@zohodesk/components/lib/common/common.module.css';
12
- }
13
- [dir=ltr] .avatar {
14
- margin-right: var(--zd_size25) ;
15
- }
16
- [dir=rtl] .avatar {
17
- margin-left: var(--zd_size25) ;
18
- }
19
- .detailsColumn {
20
- min-height: 0 ;
21
- min-width: 0 ;
22
- }
23
- .primaryRow {
24
- composes: flexgrow flexshrink flexbasis from '~@zohodesk/components/lib/common/common.module.css';
25
- }
26
- .classic .detailsColumn {
27
- flex-basis: 60% ;
28
- }
29
- .compact .detailsColumn,
30
- .superCompact .detailsColumn {
31
- flex-basis: 50% ;
32
- }
33
- .classic .secondaryRow {
34
- margin-top: var(--zd_size10) ;
35
- }
36
- [dir=ltr] .compact .secondaryRow, [dir=ltr] .superCompact .secondaryRow {
37
- margin-left: var(--zd_size30) ;
38
- }
39
- [dir=rtl] .compact .secondaryRow, [dir=rtl] .superCompact .secondaryRow {
40
- margin-right: var(--zd_size30) ;
41
- }
42
- .classic .innerContainer {
43
- height: var(--zd_size70) ;
44
- padding: var(--zd_size13) 0 ;
45
- }
46
- .compact .innerContainer {
47
- height: var(--zd_size41) ;
48
- padding: var(--zd_size5) 0 ;
49
- }
50
- .superCompact .innerContainer {
51
- height: var(--zd_size35) ;
52
- padding: var(--zd_size2) 0 ;
53
- }
54
- .classic .detailsInnerColumn {
55
- -webkit-box-orient: vertical;
56
- -webkit-box-direction: normal;
57
- -webkit-flex-direction: column;
58
- -ms-flex-direction: column;
59
- flex-direction: column;
60
- }
61
- .compact .detailsInnerColumn {
62
- -webkit-box-orient: horizontal;
63
- -webkit-box-direction: normal;
64
- -webkit-flex-direction: row;
65
- -ms-flex-direction: row;
66
- flex-direction: row;
67
- }
1
+ .container {
2
+ position: relative;
3
+ width: 100% ;
4
+ padding: 0 var(--zd_size30) ;
5
+ }
6
+ .innerContainer {
7
+ composes: dflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
8
+ border-bottom: 1px dotted var(--zdt_liststencils_innercontainer_border);
9
+ }
10
+ .detailsInnerColumn {
11
+ composes: dflex from '~@zohodesk/components/lib/common/common.module.css';
12
+ }
13
+ [dir=ltr] .avatar {
14
+ margin-right: var(--zd_size25) ;
15
+ }
16
+ [dir=rtl] .avatar {
17
+ margin-left: var(--zd_size25) ;
18
+ }
19
+ .detailsColumn {
20
+ min-height: 0 ;
21
+ min-width: 0 ;
22
+ }
23
+ .primaryRow {
24
+ composes: flexgrow flexshrink flexbasis from '~@zohodesk/components/lib/common/common.module.css';
25
+ }
26
+ .classic .detailsColumn {
27
+ flex-basis: 60% ;
28
+ }
29
+ .compact .detailsColumn,
30
+ .superCompact .detailsColumn {
31
+ flex-basis: 50% ;
32
+ }
33
+ .classic .secondaryRow {
34
+ margin-top: var(--zd_size10) ;
35
+ }
36
+ [dir=ltr] .compact .secondaryRow, [dir=ltr] .superCompact .secondaryRow {
37
+ margin-left: var(--zd_size30) ;
38
+ }
39
+ [dir=rtl] .compact .secondaryRow, [dir=rtl] .superCompact .secondaryRow {
40
+ margin-right: var(--zd_size30) ;
41
+ }
42
+ .classic .innerContainer {
43
+ height: var(--zd_size70) ;
44
+ padding: var(--zd_size13) 0 ;
45
+ }
46
+ .compact .innerContainer {
47
+ height: var(--zd_size41) ;
48
+ padding: var(--zd_size5) 0 ;
49
+ }
50
+ .superCompact .innerContainer {
51
+ height: var(--zd_size35) ;
52
+ padding: var(--zd_size2) 0 ;
53
+ }
54
+ .classic .detailsInnerColumn {
55
+ -webkit-box-orient: vertical;
56
+ -webkit-box-direction: normal;
57
+ -webkit-flex-direction: column;
58
+ -ms-flex-direction: column;
59
+ flex-direction: column;
60
+ }
61
+ .compact .detailsInnerColumn {
62
+ -webkit-box-orient: horizontal;
63
+ -webkit-box-direction: normal;
64
+ -webkit-flex-direction: row;
65
+ -ms-flex-direction: row;
66
+ flex-direction: row;
67
+ }