@zohodesk/dot 1.0.0-temp-185 → 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 (194) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  3. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  4. package/coverage/ExternalLink/index.html +1 -1
  5. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  6. package/coverage/ExternalLink/props/index.html +1 -1
  7. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  8. package/coverage/IconButton/IconButton.js.html +1 -1
  9. package/coverage/IconButton/IconButton.module.css.html +1 -1
  10. package/coverage/IconButton/index.html +1 -1
  11. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  12. package/coverage/IconButton/props/index.html +1 -1
  13. package/coverage/IconButton/props/propTypes.js.html +1 -1
  14. package/coverage/Image/Image.js.html +1 -1
  15. package/coverage/Image/Image.module.css.html +1 -1
  16. package/coverage/Image/index.html +1 -1
  17. package/coverage/Image/props/defaultProps.js.html +1 -1
  18. package/coverage/Image/props/index.html +1 -1
  19. package/coverage/Image/props/propTypes.js.html +1 -1
  20. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  21. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
  22. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  23. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  26. package/coverage/coverage-final.json +16 -16
  27. package/coverage/coverage-summary.json +16 -16
  28. package/coverage/index.html +1 -1
  29. package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
  30. package/es/Drawer/Drawer.module.css +2 -2
  31. package/es/ExternalLink/ExternalLink.module.css +3 -3
  32. package/es/FlipCard/FlipCard.module.css +44 -44
  33. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
  34. package/es/Hooks/Dragger/css/Dragger.module.css +2 -2
  35. package/es/Image/Image.module.css +11 -11
  36. package/es/Image/__tests__/__snapshots__/Image.spec.js.snap +74 -74
  37. package/es/Link/Link.module.css +3 -3
  38. package/es/Loader/Loader.module.css +47 -47
  39. package/es/Message/Message.module.css +1 -1
  40. package/es/MessageBanner/MessageBanner.module.css +46 -46
  41. package/es/NewStar/NewStar.module.css +244 -244
  42. package/es/PlusIcon/PlusIcon.module.css +18 -18
  43. package/es/ToastMessage/ToastMessage.module.css +1 -1
  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/{deprecated → 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 +4 -2
  67. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  68. package/es/form/fields/TextEditor/TextEditor.module.css +63 -49
  69. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  70. package/es/form/layout/Field/Field.module.css +22 -22
  71. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  72. package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -1
  73. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  74. package/es/list/DepartmentDropDown/DepartmentDropDown.js +7 -2
  75. package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
  76. package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
  77. package/es/list/DotNew/DotNew.module.css +24 -25
  78. package/es/list/Icons/Icons.module.css +16 -16
  79. package/es/list/ListStencils/ListStencils.module.css +67 -67
  80. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  81. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  82. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  83. package/es/list/TagNew/TagNew.module.css +116 -116
  84. package/es/list/listCommon.module.css +78 -78
  85. package/es/list/status/StatusListItem/StatusListItem.module.css +35 -5
  86. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  87. package/es/lookup/Section/LookupSection.module.css +8 -8
  88. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  89. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  90. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  91. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  92. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  93. package/es/setup/header/Views/Views.module.css +38 -38
  94. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  95. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  96. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  97. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  98. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  99. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  100. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  101. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  102. package/es/svg/PlusIcon.js +1 -1
  103. package/es/svg/SnippetIcon.js +2 -2
  104. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  105. package/es/version2/GlobalNotification/GlobalNotification.module.css +2 -2
  106. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  107. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  108. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +3 -4
  109. package/install.md +12 -12
  110. package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
  111. package/lib/Drawer/Drawer.module.css +2 -2
  112. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  113. package/lib/FlipCard/FlipCard.module.css +44 -44
  114. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
  115. package/lib/Hooks/Dragger/css/Dragger.module.css +2 -2
  116. package/lib/Image/Image.module.css +11 -11
  117. package/lib/Image/__tests__/__snapshots__/Image.spec.js.snap +74 -74
  118. package/lib/Link/Link.module.css +3 -3
  119. package/lib/Loader/Loader.module.css +47 -47
  120. package/lib/Message/Message.module.css +1 -1
  121. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  122. package/lib/NewStar/NewStar.module.css +244 -244
  123. package/lib/PlusIcon/PlusIcon.module.css +18 -18
  124. package/lib/ToastMessage/ToastMessage.module.css +1 -1
  125. package/lib/Upload/Upload.module.css +125 -125
  126. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  127. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  128. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  129. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  130. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  131. package/lib/common/dot_animation.module.css +26 -26
  132. package/lib/{deprecated → common}/dot_boxShadow.module.css +39 -39
  133. package/lib/common/dot_common.module.css +3 -3
  134. package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  135. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +59 -59
  136. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  137. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  138. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  139. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  140. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  141. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  142. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  143. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  144. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  145. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  146. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  147. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -3
  148. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  149. package/lib/form/fields/TextEditor/TextEditor.module.css +63 -49
  150. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
  151. package/lib/form/layout/Field/Field.module.css +22 -22
  152. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  153. package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -1
  154. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  155. package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
  156. package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
  157. package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
  158. package/lib/list/DotNew/DotNew.module.css +24 -25
  159. package/lib/list/Icons/Icons.module.css +16 -16
  160. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  161. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  162. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  163. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  164. package/lib/list/TagNew/TagNew.module.css +116 -116
  165. package/lib/list/listCommon.module.css +78 -78
  166. package/lib/list/status/StatusListItem/StatusListItem.module.css +35 -5
  167. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  168. package/lib/lookup/Section/LookupSection.module.css +8 -8
  169. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  170. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  171. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  172. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  173. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  174. package/lib/setup/header/Views/Views.module.css +38 -38
  175. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  176. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  177. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  178. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  179. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  180. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  181. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  182. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  183. package/lib/svg/PlusIcon.js +1 -1
  184. package/lib/svg/SnippetIcon.js +2 -2
  185. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  186. package/lib/version2/GlobalNotification/GlobalNotification.module.css +2 -2
  187. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  188. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  189. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +3 -4
  190. package/package.json +9 -13
  191. package/postPublish.js +8 -8
  192. package/prePublish.js +70 -70
  193. package/react-cli.config.js +23 -23
  194. package/result.json +1 -1
@@ -1,67 +1,67 @@
1
- .varClass {
2
- /* alert icon default variable */
3
- --alerticons_fill: var(--zdt_commonalert_default_icon);
4
- }
5
-
6
- .iconContainer {
7
- composes: varClass;
8
- width: 100% ;
9
- height: 100% ;
10
- }
11
- /* Common */
12
- .outer_cls2 {
13
- fill: var(--zdt_alerticons_green_fill);
14
- }
15
-
16
- .outer_cls3 {
17
- fill: var(--zdt_alerticons_primary_fill);
18
- }
19
-
20
- .outer_cls4 {
21
- fill: var(--zdt_alerticons_orange_fill);
22
- }
23
-
24
- .outer_cls5 {
25
- fill: var(--alerticons_fill);
26
- opacity: 0.2;
27
- }
28
-
29
- .outer_cls6 {
30
- fill: var(--alerticons_fill);
31
- }
32
- .danger {
33
- --alerticons_fill: var(--zdt_commonalert_danger_icon);
34
- }
35
- .success {
36
- --alerticons_fill: var(--zdt_commonalert_success_icon);
37
- }
38
- .error {
39
- --alerticons_fill: var(--zdt_commonalert_error_icon);
40
- }
41
- .info,.notification,.alarm {
42
- --alerticons_fill: var(--zdt_commonalert_info_icon);
43
- }
44
- .warning {
45
- --alerticons_fill: var(--zdt_commonalert_warning_icon);
46
- }
47
- .danger_primary,
48
- .info_primary,
49
- .warning_primary,
50
- .success_primary,
51
- .error_primary,
52
- .notify_primary,
53
- .alarm_primary {
54
- fill: var(--zdt_commonalert_secondlayer_bg);
55
- }
56
-
57
- .danger_secondary,
58
- .info_secondary,
59
- .warning_secondary,
60
- .success_secondary,
61
- .error_secondary,
62
- .notify_secondary,
63
- .alarm_secondary {
64
- fill: var(--alerticons_fill);
65
- opacity: 0.1;
66
- }
67
-
1
+ .varClass {
2
+ /* alert icon default variable */
3
+ --alerticons_fill: var(--zdt_commonalert_default_icon);
4
+ }
5
+
6
+ .iconContainer {
7
+ composes: varClass;
8
+ width: 100% ;
9
+ height: 100% ;
10
+ }
11
+ /* Common */
12
+ .outer_cls2 {
13
+ fill: var(--zdt_alerticons_green_fill);
14
+ }
15
+
16
+ .outer_cls3 {
17
+ fill: var(--zdt_alerticons_primary_fill);
18
+ }
19
+
20
+ .outer_cls4 {
21
+ fill: var(--zdt_alerticons_orange_fill);
22
+ }
23
+
24
+ .outer_cls5 {
25
+ fill: var(--alerticons_fill);
26
+ opacity: 0.2;
27
+ }
28
+
29
+ .outer_cls6 {
30
+ fill: var(--alerticons_fill);
31
+ }
32
+ .danger {
33
+ --alerticons_fill: var(--zdt_commonalert_danger_icon);
34
+ }
35
+ .success {
36
+ --alerticons_fill: var(--zdt_commonalert_success_icon);
37
+ }
38
+ .error {
39
+ --alerticons_fill: var(--zdt_commonalert_error_icon);
40
+ }
41
+ .info,.notification,.alarm {
42
+ --alerticons_fill: var(--zdt_commonalert_info_icon);
43
+ }
44
+ .warning {
45
+ --alerticons_fill: var(--zdt_commonalert_warning_icon);
46
+ }
47
+ .danger_primary,
48
+ .info_primary,
49
+ .warning_primary,
50
+ .success_primary,
51
+ .error_primary,
52
+ .notify_primary,
53
+ .alarm_primary {
54
+ fill: var(--zdt_commonalert_secondlayer_bg);
55
+ }
56
+
57
+ .danger_secondary,
58
+ .info_secondary,
59
+ .warning_secondary,
60
+ .success_secondary,
61
+ .error_secondary,
62
+ .notify_secondary,
63
+ .alarm_secondary {
64
+ fill: var(--alerticons_fill);
65
+ opacity: 0.1;
66
+ }
67
+
@@ -1,46 +1,46 @@
1
- .container {
2
- padding-bottom: var(--zd_size30) ;
3
- }
4
- .errorBtn {
5
- margin-top: var(--zd_size15) ;
6
- }
7
- .title {
8
- font-family: var(--zd_bold);
9
- }
10
- .desc {
11
- line-height: 1.5714;
12
- }
13
- .large .errorState {
14
- width: var(--zd_size450) ;
15
- margin-top: var(--zd_size40) ;
16
- }
17
- .large .errorSvg {
18
- width: var(--zd_size350) ;
19
- height: var(--zd_size350) ;
20
- }
21
- .medium .errorState {
22
- width: var(--zd_size350) ;
23
- margin-top: var(--zd_size30) ;
24
- }
25
- .medium .errorSvg {
26
- width: var(--zd_size250) ;
27
- height: var(--zd_size250) ;
28
- }
29
- .medium .title {
30
- font-size: var(--zd_font_size18) ;
31
- }
32
- .medium .desc,
33
- .small .desc {
34
- font-size: var(--zd_font_size13)
35
- }
36
- .small .errorState {
37
- width: var(--zd_size230) ;
38
- margin-top: var(--zd_size20) ;
39
- }
40
- .small .errorSvg {
41
- width: var(--zd_size220) ;
42
- height: var(--zd_size220) ;
43
- }
44
- .small .title {
45
- font-size: var(--zd_font_size16) ;
46
- }
1
+ .container {
2
+ padding-bottom: var(--zd_size30) ;
3
+ }
4
+ .errorBtn {
5
+ margin-top: var(--zd_size15) ;
6
+ }
7
+ .title {
8
+ font-family: var(--zd_bold);
9
+ }
10
+ .desc {
11
+ line-height: 1.5714;
12
+ }
13
+ .large .errorState {
14
+ width: var(--zd_size450) ;
15
+ margin-top: var(--zd_size40) ;
16
+ }
17
+ .large .errorSvg {
18
+ width: var(--zd_size350) ;
19
+ height: var(--zd_size350) ;
20
+ }
21
+ .medium .errorState {
22
+ width: var(--zd_size350) ;
23
+ margin-top: var(--zd_size30) ;
24
+ }
25
+ .medium .errorSvg {
26
+ width: var(--zd_size250) ;
27
+ height: var(--zd_size250) ;
28
+ }
29
+ .medium .title {
30
+ font-size: var(--zd_font_size18) ;
31
+ }
32
+ .medium .desc,
33
+ .small .desc {
34
+ font-size: var(--zd_font_size13)
35
+ }
36
+ .small .errorState {
37
+ width: var(--zd_size230) ;
38
+ margin-top: var(--zd_size20) ;
39
+ }
40
+ .small .errorSvg {
41
+ width: var(--zd_size220) ;
42
+ height: var(--zd_size220) ;
43
+ }
44
+ .small .title {
45
+ font-size: var(--zd_font_size16) ;
46
+ }
@@ -10,7 +10,7 @@
10
10
  max-height: 100% ;
11
11
  pointer-events: auto;
12
12
  background-color: var(--zdt_desktopnotification_bg);
13
- box-shadow: var(--zd_bs_contrast_outline, 0 4px 20px var(--zdt_desktopnotification_box_shadow));
13
+ box-shadow: var(--zd_bs_desktopnotification_container);
14
14
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
15
15
  }
16
16
 
@@ -36,8 +36,7 @@
36
36
  .large {
37
37
  width: var(--zd_size580) ;
38
38
  }
39
-
40
- .tapWidth {
39
+ .tapWidth{
41
40
  max-width: 100% ;
42
41
  min-width: 100% ;
43
42
  }
@@ -131,4 +130,4 @@
131
130
  .footer {
132
131
  overflow: hidden;
133
132
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
134
- }
133
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-temp-185",
3
+ "version": "1.0.0-temp-187",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -21,7 +21,7 @@
21
21
  "dubCheck": "node ./node_modules/@zohodesk-private/node-plugins/es/dublication_css_file_finder node_modules/@zohodesk/components/es node_modules/@zohodesk/icons/es node_modules/@zohodesk/variables/es node_modules/@zohodesk/svg/es",
22
22
  "build:lib": "react-cli build:component:cmjs",
23
23
  "build:es": "react-cli build:library:es",
24
- "build": "npm run theme:validate && npm run css:boxshadow:validate && npm run css:boxshadow:addfallback && npm run build:lib && npm run build:es",
24
+ "build": "npm run theme:validate && npm run build:lib && npm run build:es",
25
25
  "build:local": " npm run build && npm run rtl && npm run cssVariableConvert ",
26
26
  "build:watch": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
27
27
  "rtl:watch": "react-cli rtl ./src ./es -w",
@@ -45,15 +45,11 @@
45
45
  "variable:addignore": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableIgnore.js ./src",
46
46
  "variable:convert": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/pxParserPostcss.js ./src",
47
47
  "variable:check": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
48
- "css:review": " npm run dubCheck && npm run css:lineheight:validate && npm run theme:validate && npm run css:boxshadow:validate && npm run css:boxshadow:addfallback",
48
+ "css:review": " npm run dubCheck && npm run css:lineheight:validate && npm run theme:validate ",
49
49
  "theme:validate": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation validate ./src ./.cli ./.cli/stringContains.js",
50
50
  "theme:addignore": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation addignore ./src ./.cli ./.cli/stringContains.js",
51
51
  "theme:removeignore": "node ./node_modules/@zohodesk-private/node-plugins/es/appearance_theme_validation removeignore ./src ./.cli",
52
- "review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js propValidationArg.json",
53
- "css:boxshadow:validate": "node ./node_modules/@zohodesk-private/node-plugins/es/boxshadow_validation/boxShadowValidation.js validate ./src",
54
- "css:boxshadow:addignore": "node ./node_modules/@zohodesk-private/node-plugins/es/boxshadow_validation/boxShadowValidation.js addignore ./src",
55
- "css:boxshadow:removeignore": "node ./node_modules/@zohodesk-private/node-plugins/es/boxshadow_validation/boxShadowValidation.js removeignore ./src",
56
- "css:boxshadow:addfallback": "node ./node_modules/@zohodesk-private/node-plugins/es/boxshadow_validation/boxShadowValidation.js addfallback ./src"
52
+ "review:props": "node ./node_modules/@zohodesk-private/react-prop-validator/es/propValidation.js propValidationArg.json"
57
53
  },
58
54
  "devDependencies": {
59
55
  "@testing-library/jest-dom": "^5.11.9",
@@ -62,12 +58,12 @@
62
58
  "@testing-library/user-event": "^13.0.10",
63
59
  "@zohodesk-private/color-variable-preprocessor": "1.2.0",
64
60
  "@zohodesk-private/css-variable-migrator": "^1.0.7",
65
- "@zohodesk-private/node-plugins": "1.0.0-temp-7.1",
61
+ "@zohodesk-private/node-plugins": "1.1.8",
66
62
  "@zohodesk-private/react-prop-validator": "1.2.3",
67
63
  "@zohodesk/a11y": "2.2.1",
68
- "@zohodesk/components": "1.0.0-temp-197",
64
+ "@zohodesk/components": "1.0.0-temp-199",
69
65
  "@zohodesk/hooks": "2.0.4",
70
- "@zohodesk/icons": "1.0.43",
66
+ "@zohodesk/icons": "1.0.45",
71
67
  "@zohodesk/svg": "1.1.14",
72
68
  "@zohodesk/utils": "1.3.13",
73
69
  "@zohodesk/variables": "1.0.0",
@@ -78,8 +74,8 @@
78
74
  "peerDependencies": {
79
75
  "velocity-react": "1.4.3",
80
76
  "@zohodesk/variables": "1.0.0",
81
- "@zohodesk/components": "1.0.0-temp-197",
82
- "@zohodesk/icons": "1.0.43",
77
+ "@zohodesk/components": "1.0.0-temp-199",
78
+ "@zohodesk/icons": "1.0.45",
83
79
  "@zohodesk/svg": "1.1.14",
84
80
  "@zohodesk/virtualizer": "1.0.3",
85
81
  "react-sortable-hoc": "^0.8.3",
package/postPublish.js CHANGED
@@ -1,8 +1,8 @@
1
- const { execSync } = require('child_process');
2
- const { version, name } = require('./package.json');
3
- const tagName = `${name}@${version}`;
4
- // const tagName = `${name.replace(/^@/g, "").replace(/\//g, "-")}-v-${version}}@${version}`;
5
- console.log(`going to add git tag... ${tagName}`);
6
-
7
- execSync(`git tag -a ${tagName} -m ${tagName}`, { stdio: 'inherit' });
8
- execSync(`git push origin ${tagName}`, { stdio: 'inherit' });
1
+ const { execSync } = require('child_process');
2
+ const { version, name } = require('./package.json');
3
+ const tagName = `${name}@${version}`;
4
+ // const tagName = `${name.replace(/^@/g, "").replace(/\//g, "-")}-v-${version}}@${version}`;
5
+ console.log(`going to add git tag... ${tagName}`);
6
+
7
+ execSync(`git tag -a ${tagName} -m ${tagName}`, { stdio: 'inherit' });
8
+ execSync(`git push origin ${tagName}`, { stdio: 'inherit' });
package/prePublish.js CHANGED
@@ -1,70 +1,70 @@
1
- const readline = require('readline');
2
- const { exec } = require('child_process');
3
-
4
- const rl = readline.createInterface({
5
- input: process.stdin,
6
- output: process.stdout
7
- });
8
-
9
- console.log('\nNode.js version:', process.version);
10
-
11
- function runConsole(command, callback) {
12
- exec(command, (error, stdout, stderr) => {
13
- if (error) {
14
- console.error('Error:', error.message);
15
- return;
16
- }
17
-
18
- if (stderr) {
19
- console.error('Error:', stderr);
20
- return;
21
- }
22
-
23
- const npmVersion = stdout.trim();
24
- console.log('\n' + command, npmVersion);
25
- callback && callback();
26
- });
27
- }
28
-
29
- function askQuestion1() {
30
- rl.question('\nHave you updated the changelog in README.md? (yes/no): ', (answer) => {
31
- if (answer.toLowerCase() === 'yes') {
32
- console.log('\nGreat! Proceeding...');
33
- askQuestion2();
34
- // rl.close();
35
- // Call the function or code to proceed further here.
36
- } else if (answer.toLowerCase() === 'no') {
37
- rl.close();
38
- console.log('\nPlease Update the ChangeLog in README.md, then try again');
39
- //throw new Error('\nPlease Update the ChangeLog in README.md, then try again');
40
- process.exitCode = 1; // Exit the Node.js process with a success code.
41
- } else {
42
- console.log('\nInvalid answer. Please enter "yes" or "no".');
43
- askQuestion1(); // Ask the question again if the input is not "yes" or "no".
44
- }
45
- });
46
- }
47
-
48
- function askQuestion2() {
49
- rl.question('\nHave you verified the test snapshot? (yes/no): ', (answer) => {
50
- if (answer.toLowerCase() === 'yes') {
51
- console.log('\nGreat! Proceeding...');
52
- rl.close();
53
- // Call the function or code to proceed further here.
54
- } else if (answer.toLowerCase() === 'no') {
55
- rl.close();
56
- //throw new Error('\nPlease Verify the snapshot results, then try again');
57
- console.log('\nPlease Verify the snapshot results, then try again');
58
- process.exitCode = 1; // Exit the Node.js process with a success code.
59
- } else {
60
- console.log('\nInvalid answer. Please enter "yes" or "no".');
61
- askQuestion2(); // Ask the question again if the input is not "yes" or "no".
62
- }
63
- });
64
- }
65
-
66
- function getReactCliVersion() {
67
- runConsole('react-cli --version', askQuestion1);
68
- }
69
-
70
- runConsole('npm --version', getReactCliVersion);
1
+ const readline = require('readline');
2
+ const { exec } = require('child_process');
3
+
4
+ const rl = readline.createInterface({
5
+ input: process.stdin,
6
+ output: process.stdout
7
+ });
8
+
9
+ console.log('\nNode.js version:', process.version);
10
+
11
+ function runConsole(command, callback) {
12
+ exec(command, (error, stdout, stderr) => {
13
+ if (error) {
14
+ console.error('Error:', error.message);
15
+ return;
16
+ }
17
+
18
+ if (stderr) {
19
+ console.error('Error:', stderr);
20
+ return;
21
+ }
22
+
23
+ const npmVersion = stdout.trim();
24
+ console.log('\n' + command, npmVersion);
25
+ callback && callback();
26
+ });
27
+ }
28
+
29
+ function askQuestion1() {
30
+ rl.question('\nHave you updated the changelog in README.md? (yes/no): ', (answer) => {
31
+ if (answer.toLowerCase() === 'yes') {
32
+ console.log('\nGreat! Proceeding...');
33
+ askQuestion2();
34
+ // rl.close();
35
+ // Call the function or code to proceed further here.
36
+ } else if (answer.toLowerCase() === 'no') {
37
+ rl.close();
38
+ console.log('\nPlease Update the ChangeLog in README.md, then try again');
39
+ //throw new Error('\nPlease Update the ChangeLog in README.md, then try again');
40
+ process.exitCode = 1; // Exit the Node.js process with a success code.
41
+ } else {
42
+ console.log('\nInvalid answer. Please enter "yes" or "no".');
43
+ askQuestion1(); // Ask the question again if the input is not "yes" or "no".
44
+ }
45
+ });
46
+ }
47
+
48
+ function askQuestion2() {
49
+ rl.question('\nHave you verified the test snapshot? (yes/no): ', (answer) => {
50
+ if (answer.toLowerCase() === 'yes') {
51
+ console.log('\nGreat! Proceeding...');
52
+ rl.close();
53
+ // Call the function or code to proceed further here.
54
+ } else if (answer.toLowerCase() === 'no') {
55
+ rl.close();
56
+ //throw new Error('\nPlease Verify the snapshot results, then try again');
57
+ console.log('\nPlease Verify the snapshot results, then try again');
58
+ process.exitCode = 1; // Exit the Node.js process with a success code.
59
+ } else {
60
+ console.log('\nInvalid answer. Please enter "yes" or "no".');
61
+ askQuestion2(); // Ask the question again if the input is not "yes" or "no".
62
+ }
63
+ });
64
+ }
65
+
66
+ function getReactCliVersion() {
67
+ runConsole('react-cli --version', askQuestion1);
68
+ }
69
+
70
+ runConsole('npm --version', getReactCliVersion);
@@ -1,24 +1,24 @@
1
- exports.config= {
2
- "preprocess": {
3
- "runner": "./preprocess/index.js"
4
- },
5
- "css": {
6
- "cssVariableReplacementConfig": "./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
7
- "plugins": {
8
- "hasRTL": true,
9
- "cssVariableReplacement": true
10
- },
11
- "patterns": {
12
- "cssVariableReplacement": [
13
- "**/src/**",
14
- "**/lib/**",
15
- "**/es/**",
16
- "!**/node_modules/**"
17
- ],
18
- "hasRTL":[
19
- "**/src/**",
20
- "!**/node_modules/**"
21
- ]
22
- }
23
- }
1
+ exports.config= {
2
+ "preprocess": {
3
+ "runner": "./preprocess/index.js"
4
+ },
5
+ "css": {
6
+ "cssVariableReplacementConfig": "./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
7
+ "plugins": {
8
+ "hasRTL": true,
9
+ "cssVariableReplacement": true
10
+ },
11
+ "patterns": {
12
+ "cssVariableReplacement": [
13
+ "**/src/**",
14
+ "**/lib/**",
15
+ "**/es/**",
16
+ "!**/node_modules/**"
17
+ ],
18
+ "hasRTL":[
19
+ "**/src/**",
20
+ "!**/node_modules/**"
21
+ ]
22
+ }
23
+ }
24
24
  }
package/result.json CHANGED
@@ -1 +1 @@
1
- {"jobDetails":{"isRunByLocal":true,"hostName":"karuppiah-19823","platForm":"Darwin","branchName":"SVGPkg"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":4,"endTime":1721633297485,"startTime":1721633291894,"coverageDetail":{"codeCoveragePercentage":84.5,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/SVGPkg/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/SVGPkg/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/SVGPkg/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/SVGPkg/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}}]}}}
1
+ {"jobDetails":{"isRunByLocal":true,"hostName":"karuppiah-19823","platForm":"Darwin","branchName":"Amutha_ListItemWrappingCase"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":36,"numberOfFails":0,"numberOfCases":36,"numberOfSuites":4,"endTime":1721979340879,"startTime":1721979335703,"coverageDetail":{"codeCoveragePercentage":84.5,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/KaruppiahRK/jsapps/dot/dot/src/ExternalLink/__tests__/ExternalLink.spec.js","CaseList":{"passedCaseList":["should add http/https to href tag if it is not already present","should not add http/https to href tag if it is already present","should default to / if href is undefined"],"failedCaseList":[]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/KaruppiahRK/jsapps/dot/dot/src/Image/__tests__/Image.spec.js","CaseList":{"passedCaseList":["rendering the default props","checking \"isCover\" is false","rendering \"alt\" and \"src\" value ","rendering \"dataid\" value","rendering \"Original\" value","rendering \"Id\" value","rendering \"title\" value"],"failedCaseList":[]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/KaruppiahRK/jsapps/dot/dot/src/avatar/AvatarWithTeam/__tests__/AvatarWithTeam.spec.js","CaseList":{"passedCaseList":["Check whether Avatar mounted or not","Check children length ","Check whether AvatarWithTeam mounted or not","Check whether AvatarTeam mounted or not"],"failedCaseList":[]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/KaruppiahRK/jsapps/dot/dot/src/IconButton/__tests__/IconButton.spec.js","CaseList":{"passedCaseList":["rendering the defult props","rendering the palette of- primary","rendering the palette of- primaryFilled","rendering the palette of- default","rendering the isActive true with palette of- primary","rendering the isActive true with palette of- primaryFilled","rendering the isActive true with palette of- default","rendering the hovertypes- default","rendering the hovertypes- border","rendering the hovertypes- bg","rendering isNeedEffect is False","rendering ally","rendering ally","rendering needButtonTag","rendering tourId","rendering in Icon","rendering in dataIsHtml is True","rendering in isDisabled is True","rendering in ClassName","rendering in title","eleRef prop is a function","Checking the \"Children\""],"failedCaseList":[]}}]}}}