@zohodesk/react-cli 0.0.1-beta.17 → 0.0.1-beta.171

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 (292) hide show
  1. package/.eslintignore +1 -0
  2. package/.eslintrc.js +49 -10
  3. package/.prettierrc +6 -0
  4. package/CHANGELOG.md +5 -0
  5. package/README.md +859 -0
  6. package/bin/cli.js +215 -46
  7. package/cert/Tsicsezwild-22-23.crt +37 -0
  8. package/cert/Tsicsezwild-22-23.key +27 -0
  9. package/docs/CustomChunks.md +26 -0
  10. package/docs/DevStart.md +18 -0
  11. package/docs/HoverActive.md +12 -0
  12. package/docs/InstallNode.md +28 -0
  13. package/docs/TODOS.md +10 -0
  14. package/docs/ValueReplacer.md +60 -0
  15. package/docs/warnings_while_install.txt +35 -0
  16. package/files/eslintrc.js +62 -0
  17. package/files/prettierrc.js +3 -0
  18. package/lib/babel/cmjs-plugins-presets.js +24 -0
  19. package/lib/babel/es-plugins-presets.js +34 -0
  20. package/lib/common/getEntries.js +33 -46
  21. package/lib/common/getPublicPathConfig.js +40 -0
  22. package/lib/common/index.js +24 -19
  23. package/lib/common/splitChunks.js +110 -25
  24. package/lib/common/sslcertUpdater.js +59 -0
  25. package/lib/common/templateParameters.js +25 -0
  26. package/lib/common/testPattern.js +69 -0
  27. package/lib/common/valueReplacer.js +55 -0
  28. package/lib/configs/jest.config.js +31 -27
  29. package/lib/configs/libAlias.js +31 -0
  30. package/lib/configs/webpack.component.umd.config.js +46 -53
  31. package/lib/configs/webpack.css.umd.config.js +47 -46
  32. package/lib/configs/webpack.dev.config.js +99 -84
  33. package/lib/configs/webpack.docs.config.js +65 -57
  34. package/lib/configs/webpack.impact.config.js +109 -0
  35. package/lib/configs/webpack.prod.config.js +147 -104
  36. package/lib/hooks/docsProptypeHook.js +32 -38
  37. package/lib/jest/commitedFilesResult.js +144 -71
  38. package/lib/jest/coverageCollector.js +68 -35
  39. package/lib/jest/jsonMaker.js +54 -0
  40. package/lib/jest/preProcessors/cssPreprocessor.js +16 -18
  41. package/lib/jest/preProcessors/jsPreprocessor.js +5 -6
  42. package/lib/jest/preProcessors/otherFilesPreprocessor.js +5 -6
  43. package/lib/jest/result.js +92 -42
  44. package/lib/jest/run.js +75 -28
  45. package/lib/jest/setup.js +103 -102
  46. package/lib/loaderUtils/configsAssetsLoaders.js +117 -0
  47. package/lib/loaderUtils/getCSSLoaders.js +113 -0
  48. package/lib/loaderUtils/getDevJsLoaders.js +35 -23
  49. package/lib/loaderUtils/index.js +14 -7
  50. package/lib/loaders/docsLoader.js +15 -15
  51. package/lib/loaders/docsPropsLoader.js +14 -17
  52. package/lib/loaders/fileBountryLoader.js +17 -0
  53. package/lib/loaders/fileLoader.js +47 -38
  54. package/lib/loaders/scriptInstrumentLoader.js +23 -20
  55. package/lib/loaders/selectorMappingLoader.js +75 -0
  56. package/lib/loaders/workerLoader.js +136 -0
  57. package/lib/middlewares/HMRMiddleware.js +90 -72
  58. package/lib/middlewares/SSTMiddleware.js +21 -0
  59. package/lib/pluginUtils/getDevPlugins.js +177 -30
  60. package/lib/pluginUtils/getDocsPlugins.js +36 -15
  61. package/lib/pluginUtils/getLibraryImactPlugins.js +23 -0
  62. package/lib/pluginUtils/getLibraryPlugins.js +8 -10
  63. package/lib/pluginUtils/getProdPlugins.js +244 -37
  64. package/lib/pluginUtils/getServerPlugins.js +8 -11
  65. package/lib/pluginUtils/getUMDCSSPlugins.js +14 -18
  66. package/lib/pluginUtils/getUMDComponentPlugins.js +14 -9
  67. package/lib/pluginUtils/index.js +36 -43
  68. package/lib/plugins/CdnChangePlugin.js +77 -0
  69. package/lib/plugins/CleanupStatsPlugin.js +28 -0
  70. package/lib/plugins/EFCPlugin.js +241 -0
  71. package/lib/plugins/EFCPlugin.md +6 -0
  72. package/lib/plugins/EFCTemplatePlugin.js +151 -0
  73. package/lib/plugins/I18NInjectIntoIndexPlugin.js +141 -0
  74. package/lib/plugins/I18nSplitPlugin/I18nDebugPlugin.js +60 -0
  75. package/lib/plugins/I18nSplitPlugin/I18nDependency.js +44 -0
  76. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +266 -0
  77. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +183 -0
  78. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +100 -0
  79. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +95 -0
  80. package/lib/plugins/I18nSplitPlugin/README.md +25 -0
  81. package/lib/plugins/I18nSplitPlugin/index.js +185 -0
  82. package/lib/plugins/I18nSplitPlugin/utils/collectI18nKeys.js +64 -0
  83. package/lib/plugins/I18nSplitPlugin/utils/getI18nFileUrlPathTemplate.js +13 -0
  84. package/lib/plugins/I18nSplitPlugin/utils/getI18nKeysFormModules.js +26 -0
  85. package/lib/plugins/I18nSplitPlugin/utils/hashUtils.js +40 -0
  86. package/lib/plugins/I18nSplitPlugin/utils/index.js +31 -0
  87. package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +112 -0
  88. package/lib/plugins/ManifestPlugin.js +86 -0
  89. package/lib/plugins/ModuleStatsPlugin.js +98 -97
  90. package/lib/plugins/OptimizeJSPlugin.js +41 -0
  91. package/lib/plugins/PublicPathCallbackPlugin.js +63 -0
  92. package/lib/plugins/PublicPathChangePlugin.js +226 -0
  93. package/lib/plugins/ReportGeneratePlugin.js +181 -0
  94. package/lib/plugins/RequireVariablePublicPlugin.js +30 -0
  95. package/lib/plugins/ResourceHintsPlugin.js +67 -0
  96. package/lib/plugins/RtlSplitPlugin/OverwriteCssPathForRTL.js +80 -0
  97. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +82 -0
  98. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -0
  99. package/lib/plugins/RtlSplitPlugin/replaceCssDirTemplate.js +26 -0
  100. package/lib/plugins/ScriptInstrumentPlugin.js +22 -37
  101. package/lib/plugins/ServiceWorkerPlugin.js +107 -0
  102. package/lib/plugins/ShadowDOMSupportPlugin.js +270 -0
  103. package/lib/plugins/SourceMapHookPlugin.js +25 -59
  104. package/lib/plugins/TPHashMappingPlugin.js +67 -0
  105. package/lib/plugins/UglifyCSSPlugin.js +39 -0
  106. package/lib/plugins/UnusedFilesFindPlugin.js +150 -97
  107. package/lib/plugins/index.js +127 -37
  108. package/lib/plugins/libraryImpactPlugin.js +190 -0
  109. package/lib/plugins/webpackwatchrunplugin.js +26 -0
  110. package/lib/postcss-plugins/ExcludePlugin.js +23 -0
  111. package/lib/postcss-plugins/RTLSplitPlugin.js +138 -0
  112. package/lib/postcss-plugins/ValueReplacer.js +46 -0
  113. package/lib/postcss-plugins/__test__/hoverActivePlugin.spec.js +22 -0
  114. package/lib/postcss-plugins/__test__/test1Input.css +39 -0
  115. package/lib/postcss-plugins/__test__/test1Output.css +39 -0
  116. package/lib/postcss-plugins/hoverActivePlugin.js +368 -0
  117. package/lib/postcss-plugins/variableModifier.js +243 -0
  118. package/lib/schemas/index.js +541 -65
  119. package/lib/servers/clusterHubServer.js +22 -26
  120. package/lib/servers/devBuild.js +102 -0
  121. package/lib/servers/docsServer.js +3 -5
  122. package/lib/servers/docsServerCore.js +94 -79
  123. package/lib/servers/getCliPath.js +28 -0
  124. package/lib/servers/helpServer.js +19 -21
  125. package/lib/servers/httpsOptions.js +18 -0
  126. package/lib/servers/impactServer.js +123 -115
  127. package/lib/servers/mockserver.js +44 -0
  128. package/lib/servers/nowatchserver.js +200 -0
  129. package/lib/servers/scrServer.js +147 -0
  130. package/lib/servers/server.js +134 -132
  131. package/lib/servers/ssServer.js +106 -70
  132. package/lib/sh/reportPublish.sh +16 -10
  133. package/lib/templates/CoverageScriptTemplate.js +45 -18
  134. package/lib/templates/WMSTemplate.js +17 -18
  135. package/lib/templates/linterConstant.js +10 -0
  136. package/lib/utils/babelPresets.js +12 -4
  137. package/lib/utils/buildstats.html +148 -0
  138. package/lib/utils/clean.js +12 -11
  139. package/lib/utils/copy.js +16 -109
  140. package/lib/utils/copyTimezones.js +21 -0
  141. package/lib/utils/createEventStream.js +24 -19
  142. package/lib/utils/cssClassNameGenerate.js +77 -0
  143. package/lib/utils/cssURLReplacer.js +136 -0
  144. package/lib/utils/dependencyPostPublish.js +42 -0
  145. package/lib/utils/fileUtils.js +125 -0
  146. package/lib/utils/folderIterator.js +47 -0
  147. package/lib/utils/getComponents.js +126 -0
  148. package/lib/utils/getCurrentBranch.js +11 -17
  149. package/lib/utils/getDependenciesImpactList.js +151 -0
  150. package/lib/utils/getHash.js +26 -0
  151. package/lib/utils/getIp.js +20 -0
  152. package/lib/utils/getOptions.js +113 -28
  153. package/lib/utils/getServerURL.js +25 -8
  154. package/lib/utils/index.js +283 -68
  155. package/lib/utils/init.js +2 -2
  156. package/lib/utils/initPreCommitHook.js +47 -27
  157. package/lib/utils/jsonHelper.js +106 -0
  158. package/lib/utils/libraryImpactConfig.js +63 -0
  159. package/lib/utils/lint/addScripts.js +27 -0
  160. package/lib/utils/lint/checkExistingConfig.js +67 -0
  161. package/lib/utils/lint/copyConfigs.js +24 -0
  162. package/lib/utils/lint/index.js +54 -0
  163. package/lib/utils/lint/lintScripts.js +11 -0
  164. package/lib/utils/lint/lintSetup.js +31 -0
  165. package/lib/utils/lint/lintStagedPreCommitHook.js +7 -0
  166. package/lib/utils/lint/question.js +30 -0
  167. package/lib/utils/lintReporter.js +142 -0
  168. package/lib/utils/mailSender.js +16 -25
  169. package/lib/utils/pullOrigin.js +28 -0
  170. package/lib/utils/reinstallDependencies.js +133 -0
  171. package/lib/utils/removeAttributes.js +25 -23
  172. package/lib/utils/repoClone.js +59 -63
  173. package/lib/utils/request.js +64 -77
  174. package/lib/utils/resultSchema.json +73 -0
  175. package/lib/utils/rtl.js +59 -0
  176. package/lib/utils/setEnvVariables.js +13 -0
  177. package/lib/utils/ssTestHack.js +48 -0
  178. package/lib/utils/switchBranch.js +28 -0
  179. package/lib/utils/urlConcat.js +22 -0
  180. package/lib/utils/useExitCleanup.js +55 -0
  181. package/npm8.md +9 -0
  182. package/package.json +96 -64
  183. package/postpublish.js +6 -0
  184. package/templates/app/.eslintrc.js +140 -0
  185. package/templates/app/README.md +12 -12
  186. package/templates/app/app/index.html +24 -8
  187. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  188. package/templates/app/app/properties/i18nkeys.json +3 -3
  189. package/templates/app/docs/all.html +69 -69
  190. package/templates/app/mockapi/index.js +18 -13
  191. package/templates/app/package.json +37 -17
  192. package/templates/app/src/actions/SampleActions/index.js +37 -0
  193. package/templates/app/src/actions/index.js +65 -0
  194. package/templates/app/src/appUrls.js +19 -0
  195. package/templates/app/src/components/Alert/Alert.js +134 -0
  196. package/templates/app/src/components/Alert/Alert.module.css +79 -0
  197. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -0
  198. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -0
  199. package/templates/app/src/components/Sample/Sample.module.css +11 -0
  200. package/templates/app/src/components/Sample/SampleList.js +61 -0
  201. package/templates/app/src/components/Slider/Slider.css +41 -0
  202. package/templates/app/src/components/Slider/Slider.js +55 -0
  203. package/templates/app/src/containers/AlertContainer/index.js +15 -0
  204. package/templates/app/src/containers/AppContainer/index.js +96 -0
  205. package/templates/app/src/containers/AppContainer/index.module.css +27 -0
  206. package/templates/app/src/containers/CustomMatch/index.js +65 -0
  207. package/templates/app/src/containers/DevTools/index.js +10 -0
  208. package/templates/app/src/containers/Header/index.js +67 -0
  209. package/templates/app/src/containers/Header/index.module.css +43 -0
  210. package/templates/app/src/containers/Redirect/index.js +63 -0
  211. package/templates/app/src/containers/Redirector/index.js +47 -0
  212. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -0
  213. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -0
  214. package/templates/app/src/historyChange.js +5 -0
  215. package/templates/app/src/index.html +10 -0
  216. package/templates/app/src/index.js +24 -0
  217. package/templates/app/src/middleware/PromiseMiddleware.js +59 -0
  218. package/templates/app/src/reducers/alertData.js +11 -0
  219. package/templates/app/src/reducers/index.js +6 -0
  220. package/templates/app/src/reducers/samples.js +19 -0
  221. package/templates/app/src/store/configureStore.dev.js +51 -0
  222. package/templates/app/src/store/configureStore.js +5 -0
  223. package/templates/app/src/store/configureStore.prod.js +26 -0
  224. package/templates/app/src/util/Common.js +5 -0
  225. package/templates/app/src/util/RequestAPI.js +132 -0
  226. package/templates/appold/README.md +12 -0
  227. package/templates/appold/app/index.html +8 -0
  228. package/templates/appold/app/properties/ApplicationResources_en_US.properties +1 -0
  229. package/templates/appold/app/properties/i18nkeys.json +3 -0
  230. package/templates/appold/docs/all.html +69 -0
  231. package/templates/appold/mockapi/index.js +13 -0
  232. package/templates/{app → appold}/mockapi/tickets.json +0 -0
  233. package/templates/appold/package.json +17 -0
  234. package/templates/appold/src/components/Text/Text.css +0 -0
  235. package/templates/appold/src/components/Text/Text.js +23 -0
  236. package/templates/appold/src/components/Text/__tests__/Text.spec.js +30 -0
  237. package/templates/appold/src/components/Text/docs/Text__default.docs.js +16 -0
  238. package/templates/appold/src/components/docs.js +1 -0
  239. package/templates/appold/src/components/index.js +5 -0
  240. package/templates/appold/src/index.js +13 -0
  241. package/templates/docs/all.html +1 -1
  242. package/templates/docs/component.html +110 -69
  243. package/templates/docs/components.html +221 -0
  244. package/templates/docs/css/component.css +12 -14
  245. package/templates/docs/css/componentTest.css +7 -0
  246. package/templates/docs/css/style.css +150 -206
  247. package/templates/docs/impactReportTemplate.html +154 -0
  248. package/templates/docs/index.html +1482 -1336
  249. package/templates/library/src/index.js +0 -0
  250. package/.npmignore +0 -3
  251. package/cert/cert.pem +0 -129
  252. package/cert/key.pem +0 -27
  253. package/lib/common/getInsertAt.js +0 -36
  254. package/lib/common/getInsertIntoFunction.js +0 -13
  255. package/lib/configs/webpack.server.config.js +0 -93
  256. package/lib/plugins/ChunkManifestReplacePlugin.js +0 -94
  257. package/lib/plugins/RuntimePublicPathPlugin.js +0 -46
  258. package/lib/rmcntrlm.sh +0 -14
  259. package/lib/servers/nodeServer.js +0 -238
  260. package/lib/templates/HMRTemplate.js +0 -256
  261. package/lib/templates/publicPathTemplate.js +0 -16
  262. package/lib/utils/setConfig.js +0 -14
  263. package/node_modules/history/CHANGES.md +0 -395
  264. package/node_modules/history/DOMUtils.js +0 -3
  265. package/node_modules/history/ExecutionEnvironment.js +0 -3
  266. package/node_modules/history/LICENSE +0 -21
  267. package/node_modules/history/LocationUtils.js +0 -3
  268. package/node_modules/history/PathUtils.js +0 -3
  269. package/node_modules/history/README.md +0 -282
  270. package/node_modules/history/cjs/history.js +0 -933
  271. package/node_modules/history/cjs/history.min.js +0 -1
  272. package/node_modules/history/createBrowserHistory.js +0 -3
  273. package/node_modules/history/createHashHistory.js +0 -3
  274. package/node_modules/history/createMemoryHistory.js +0 -3
  275. package/node_modules/history/createTransitionManager.js +0 -3
  276. package/node_modules/history/es/DOMUtils.js +0 -7
  277. package/node_modules/history/es/ExecutionEnvironment.js +0 -7
  278. package/node_modules/history/es/LocationUtils.js +0 -7
  279. package/node_modules/history/es/PathUtils.js +0 -7
  280. package/node_modules/history/es/createBrowserHistory.js +0 -7
  281. package/node_modules/history/es/createHashHistory.js +0 -7
  282. package/node_modules/history/es/createMemoryHistory.js +0 -7
  283. package/node_modules/history/es/createTransitionManager.js +0 -7
  284. package/node_modules/history/es/warnAboutDeprecatedESMImport.js +0 -35
  285. package/node_modules/history/esm/history.js +0 -904
  286. package/node_modules/history/index.js +0 -7
  287. package/node_modules/history/package.json +0 -134
  288. package/node_modules/history/umd/history.js +0 -1059
  289. package/node_modules/history/umd/history.min.js +0 -1
  290. package/node_modules/history/warnAboutDeprecatedCJSRequire.js +0 -35
  291. package/templates/app/.npmignore +0 -9
  292. package/templates/library/.npmignore +0 -9
@@ -232,7 +232,6 @@ a {
232
232
  -ms-flex-align: start;
233
233
  align-items: flex-start;
234
234
  }
235
-
236
235
  .alignFend {
237
236
  -webkit-box-align: end;
238
237
  -ms-flex-align: end;
@@ -301,6 +300,7 @@ main {
301
300
  border-bottom: 1px solid #16222b;
302
301
  line-height: 50px;
303
302
  padding-left: 5px;
303
+ justify-content: space-between;
304
304
  }
305
305
  .logoPart img {
306
306
  max-width: 100%;
@@ -458,13 +458,10 @@ main {
458
458
  text-align: center;
459
459
  }
460
460
  .mainMenuArrow {
461
- width: 12px;
462
461
  transition: all 0.3s;
462
+ height: 12px;
463
+ width: 12px;
463
464
  }
464
- .arrowPath {
465
- fill: #fff;
466
- }
467
-
468
465
  .menuHideLeft {
469
466
  width: 220px;
470
467
  padding-bottom: 20px;
@@ -557,9 +554,8 @@ section {
557
554
  border: 15px solid #333;
558
555
  position: relative;
559
556
  border-radius: 16px;
560
- border-bottom-width: 40px;
557
+ transition:width 0.2ms;
561
558
  }
562
-
563
559
  .iframe {
564
560
  position: absolute;
565
561
  top: 0;
@@ -588,7 +584,8 @@ section {
588
584
  }
589
585
  .ccontent {
590
586
  background-color: #fff;
591
- padding: 15px 20px;
587
+ padding: 5px 20px 0px 20px;
588
+ overflow: auto;
592
589
  }
593
590
 
594
591
  .cheadertitle {
@@ -598,37 +595,42 @@ section {
598
595
  color: #0c1015;
599
596
  }
600
597
  .responsive {
601
- position: absolute;
602
- bottom: -35px;
603
- left: 50%;
604
- transform: translateX(-50%);
605
- height: 30px;
606
- min-width: 240px;
598
+ height: 30px
607
599
  }
608
- .responsiveMenu {
600
+ .responsiveOption {
609
601
  width: 30px;
610
602
  height: 30px;
611
603
  display: inline-block;
604
+ position: relative;
612
605
  vertical-align: middle;
613
606
  text-align: center;
614
- line-height: 25px;
607
+ line-height: 27px;
615
608
  background: #5c5e61;
616
609
  border-radius: 50%;
610
+ color:#fff;
617
611
  margin: 0 5px;
618
612
  padding: 5px;
619
613
  cursor: pointer;
620
614
  transition: all 0.3s;
615
+ font-size: 10px;
616
+ }
617
+ .section .responsiveOption{
618
+ margin: 0px 5px 5px;
621
619
  }
622
- .responsiveMenu:hover {
620
+ .responsiveOption:hover,.activeOption {
623
621
  background-color: #00995a;
624
622
  }
625
- .responsiveMenu svg {
623
+ .activeOption:hover{
624
+ background-color: #d0263a;
625
+ }
626
+ .responsiveOption svg {
626
627
  width: 15px;
628
+ height: 15px;
629
+
627
630
  }
628
- .responsiveMenu svg path {
629
- fill: #fff !important;
631
+ .responsiveOption svg path {
632
+ fill: #fff;
630
633
  }
631
-
632
634
  .propsTable {
633
635
  margin: 40px auto;
634
636
  border: 1px solid #ebedf0;
@@ -648,7 +650,6 @@ section {
648
650
  padding: 16px 24px;
649
651
  text-align: left;
650
652
  }
651
-
652
653
  .tableHeaderNB {
653
654
  display: flex;
654
655
  flex-direction: row;
@@ -689,21 +690,25 @@ section {
689
690
  }
690
691
  .referContainer {
691
692
  padding: 20px 0;
693
+ color:#fff;
694
+ background-color: #2D313F;
695
+ border-radius: 5px;
696
+ height: 100%;
692
697
  }
693
698
  .refsBy {
694
699
  padding: 10px;
695
700
  font-size: 17px;
696
- color: #000;
701
+ color: inherit;
697
702
  }
698
703
  .refsLin {
699
704
  padding: 5px;
700
705
  font-size: 15px;
701
- color: #000;
706
+ color: inherit;
702
707
  list-style-position: inside;
703
708
  margin-left: 30px;
704
709
  }
705
710
  .refsLin a {
706
- color: #1e2633;
711
+ color: inherit;
707
712
  }
708
713
  .psdContainer {
709
714
  width: 24%;
@@ -739,7 +744,6 @@ section {
739
744
  color: #1c2b36;
740
745
  border-color: #1c2b36;
741
746
  }
742
-
743
747
  .infoTabs span {
744
748
  padding: 0px 10px;
745
749
  font-size: 14px;
@@ -754,94 +758,6 @@ section {
754
758
  background: #3cc1a2;
755
759
  color: #fff;
756
760
  }
757
-
758
- .folderIcon {
759
- width: 15px;
760
- height: 10px;
761
- margin-right: 5px;
762
- }
763
-
764
- .options {
765
- text-align: center;
766
- width: 100%;
767
- }
768
- .parent {
769
- display: inline-block;
770
- }
771
- .child {
772
- min-width: 100px;
773
- padding: 6px;
774
- color: #fff;
775
- margin: 0px 40px;
776
- background: #1e2633;
777
- display: inline-block;
778
- position: relative;
779
- box-sizing: border-box;
780
- }
781
- .childSelect {
782
- min-width: 100px;
783
- padding: 6px;
784
- color: #fff;
785
- margin: 0px 40px;
786
- background: black;
787
- display: inline-block;
788
- position: relative;
789
- box-sizing: border-box;
790
- }
791
- .child:hover {
792
- transition: all 0.5s ease;
793
- background: black;
794
- }
795
- .cur {
796
- cursor: pointer;
797
- }
798
- .popUp {
799
- transition: all 0.5s ease;
800
- position: absolute;
801
- width: 400px;
802
- height: 400px;
803
- bottom: 101%;
804
- background: #fff;
805
- left: -150px;
806
- transform-origin: bottom;
807
- transform: scale(1);
808
- z-index: 3;
809
- box-shadow: 0px 0px 15px 1px rgba(105, 100, 100, 0.88);
810
- }
811
- .popUpHide {
812
- transition: all 0.8s ease;
813
- position: absolute;
814
- width: 400px;
815
- height: 400px;
816
- bottom: 101%;
817
- background: gray;
818
- left: -150px;
819
- bottom: -400px;
820
- transform-origin: bottom;
821
- transform: scale(0);
822
- z-index: 3;
823
- box-shadow: 10px 10px 30px 1px rgba(105, 100, 100, 0.88);
824
- }
825
- .fullWHS {
826
- width: 100%;
827
- height: 100%;
828
- overflow: auto;
829
- }
830
-
831
- .popUpClose {
832
- position: absolute;
833
- padding: 3px 8px;
834
- background: #484848;
835
- border-radius: 50%;
836
- top: -12px;
837
- right: -13px;
838
- z-index: 1;
839
- }
840
- .popUpClose:hover {
841
- transition: 0.3s ease;
842
- background: black;
843
- cursor: pointer;
844
- }
845
761
  .showToggleLeft {
846
762
  background-color: #fff;
847
763
  z-index: 5;
@@ -868,7 +784,6 @@ section {
868
784
  .bn {
869
785
  border: none !important;
870
786
  }
871
-
872
787
  #ifm {
873
788
  outline: none;
874
789
  border: none;
@@ -884,20 +799,11 @@ section {
884
799
  justify-content: center;
885
800
  align-items: center;
886
801
  position: relative;
887
- }
888
- .color {
889
- color: #000;
890
- height: 100%;
891
- width: 100%;
892
- overflow: auto;
893
- text-align: left;
894
- }
895
- .color div {
896
- padding: 5px;
802
+ z-index: 1;
897
803
  }
898
804
  .posAb {
899
805
  position: absolute;
900
- z-index: 999;
806
+ z-index: 0;
901
807
  animation: jump 1.5s ease 0s infinite normal;
902
808
  font-size: 24px;
903
809
  color: black;
@@ -925,58 +831,6 @@ section {
925
831
  transform: translateY(0);
926
832
  }
927
833
  }
928
-
929
- .newTab svg {
930
- width: 12px;
931
- height: 12px;
932
- margin-left: 7px;
933
- fill: #fff;
934
- display: inline-block;
935
- vertical-align: top;
936
- margin-top: 1px;
937
- }
938
- .newTab {
939
- background: #00aefe;
940
- color: #fff;
941
- box-shadow: 0 2px 6px 0 rgba(209, 209, 209, 0.18);
942
- padding: 7px 12px;
943
- cursor: pointer;
944
- text-decoration: none;
945
- font-size: 13px;
946
- margin-top: 1px;
947
- border-radius: 3px;
948
- margin-right: 200px;
949
- }
950
-
951
- .newTab:hover {
952
- box-shadow: 0 3px 3px 1px rgba(209, 209, 209, 0.3);
953
- }
954
-
955
- .rtlChkDis {
956
- position: absolute;
957
- right: 22px;
958
- top: 7px;
959
- padding: 7px 10px;
960
- background-color: #048d51;
961
- font-size: 13px;
962
- color: #fff;
963
- cursor: pointer;
964
- border-radius: 3px;
965
- }
966
- .rtlChkSel {
967
- background-color: #cc2433;
968
- }
969
- .remCheckButton {
970
- right: 120px;
971
- background: #d0263a;
972
- }
973
- .headerbar {
974
- display: block;
975
- min-height: 45px;
976
- background: #1e2633;
977
- box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.25);
978
- }
979
-
980
834
  .logo {
981
835
  background-image: url('desklogo.png');
982
836
  height: 40px;
@@ -987,31 +841,6 @@ section {
987
841
  margin-top: 4px;
988
842
  margin-left: 10px;
989
843
  }
990
- #groupicons {
991
- width: 20px;
992
- height: 20px;
993
- display: inline-block;
994
- vertical-align: middle;
995
- margin-right: 10px;
996
- }
997
- #comIconrect {
998
- width: 15px;
999
- height: 15px;
1000
- display: inline-block;
1001
- vertical-align: middle;
1002
- margin-right: 5px;
1003
- }
1004
- #subgroupicon {
1005
- width: 13px;
1006
- height: 13px;
1007
- display: inline-block;
1008
- vertical-align: middle;
1009
- margin-right: 5px;
1010
- }
1011
-
1012
- .none {
1013
- display: none;
1014
- }
1015
844
  @media only screen and (max-width: 980px) {
1016
845
  .menuBar {
1017
846
  position: absolute;
@@ -1019,7 +848,7 @@ section {
1019
848
  left: 0;
1020
849
  bottom: 0;
1021
850
  transform: translate(-110%);
1022
- z-index: 1;
851
+ z-index: 2;
1023
852
  }
1024
853
  .isMenuOpen {
1025
854
  transform: translateX(0);
@@ -1072,7 +901,122 @@ section {
1072
901
  opacity: 0;
1073
902
  }
1074
903
  }
1075
-
1076
904
  .hide {
1077
905
  display: none;
1078
906
  }
907
+ .compListItem{
908
+ padding: 5px;
909
+ font-size: 15px;
910
+ list-style-position: inside;
911
+ margin-left: 30px;
912
+ }
913
+ .compListTitle{
914
+ padding: 10px;
915
+ font-size: 17px;
916
+ flex:1;
917
+ max-width: 90%;
918
+ display: block;
919
+ }
920
+ .toolOptions{
921
+ background: #333;
922
+ border-radius: 12px;
923
+ margin: 5px 0;
924
+ }
925
+ .toolarea{
926
+ overflow: auto;
927
+ }
928
+ .range{
929
+ width: 500px;
930
+ padding: 15px 0;
931
+ position: relative;
932
+ margin-left: 20px;
933
+ flex: .5;
934
+ }
935
+ .rangeSlider{
936
+ min-width: 200px;
937
+ }
938
+ .tooltip,.window {
939
+ padding: 4px;
940
+ font-size: 12px;
941
+ color: #fff;
942
+ background-color: #5c5e61;
943
+ white-space: nowrap;
944
+ border-radius: 5px;
945
+ margin: 0px 6px;
946
+ }
947
+ .tooltip{
948
+ min-width:80px;
949
+ text-align: center;
950
+ }
951
+ .tooltipVal{
952
+ font-size: 12px;
953
+ color:#fff;
954
+ padding: 4px;
955
+ }
956
+ .rangeInput {
957
+ -webkit-appearance: none;
958
+ display: block;
959
+ width: 100%;
960
+ min-width: 100px;
961
+ height: 8px;
962
+ padding: 0;
963
+ border-radius: 4px;
964
+ background: #dbdbdb;
965
+ box-sizing: content-box;
966
+ }
967
+ .rangeInput:focus {
968
+ outline: none;
969
+ }
970
+ .rangeInput::-webkit-slider-thumb {
971
+ -webkit-appearance: none;
972
+ width: 15px;
973
+ height: 20px;
974
+ border: 1px solid #03613b;
975
+ border-radius: 5px;
976
+ background: #00995a;
977
+ }
978
+ .transform{
979
+ transform: rotateY(180deg);
980
+ }
981
+ .home{
982
+ display: block;
983
+ padding: 2px 15px 2px 0px;
984
+ cursor: pointer;
985
+ }
986
+ .fullScreen svg{
987
+ width: 18px;
988
+ height: 18px;
989
+ }
990
+ .textSize{
991
+ line-height: 23px;
992
+ }
993
+ .textSize svg{
994
+ width: 12px;
995
+ height: 12px;
996
+ }
997
+ .svg{
998
+ width: inherit;
999
+ height: inherit;
1000
+ fill: #fff;
1001
+ }
1002
+ .homeIcon{
1003
+ width: 20px;
1004
+ height: 20px;
1005
+ }
1006
+ .smileIcon{
1007
+ width: 60px;
1008
+ margin-bottom: 30px
1009
+ }
1010
+ .authorview{
1011
+ height: 100%;
1012
+ overflow: auto;
1013
+ }
1014
+ #react{
1015
+ position: fixed;
1016
+ top: 0;
1017
+ z-index: 1;
1018
+ left: 0;
1019
+ right: 0;
1020
+ bottom: 0;
1021
+ background:#fff;
1022
+ }
@@ -0,0 +1,154 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <style>
5
+
6
+ .sourcenameRow .methodDetail {
7
+ clear: both;
8
+ padding: 10px;
9
+ position: relative;
10
+ }
11
+
12
+ .sourcenameRow
13
+ .methodDetail > div
14
+ {
15
+ float: left;
16
+ min-width: 50%;
17
+ padding-bottom: 10px;
18
+ }
19
+
20
+ .noCoverage {
21
+ color: red;
22
+ width: 80%;
23
+ padding: 10px;
24
+ }
25
+
26
+ .fl {
27
+ float: left;
28
+ }
29
+
30
+ .fr {
31
+ float: right ! important;
32
+ }
33
+
34
+ .pointer, #har tr[main] td {
35
+ cursor: pointer;
36
+ }
37
+
38
+ .impactTestcaseRow {
39
+ float: left;
40
+ width: 45%;
41
+ padding: 20px;
42
+ margin-right: 5%;
43
+ background: white;
44
+ margin-bottom: 10px;
45
+ box-sizing: border-box;
46
+ border-bottom: 2px dotted #eee;
47
+ }
48
+
49
+ .anchorNone, .modifiedMethodRow:hover .anchorNone {
50
+ text-decoration: none;
51
+ color: #00bfff !important;
52
+ }
53
+ /* .impactTestcaseRow:hover {
54
+ box-shadow: -3px 0px 10px #ddd, 2px 1px 3px #ddd;
55
+ } */
56
+
57
+ .impactedBy
58
+ {
59
+ float: left;
60
+ padding: 10px;
61
+ margin-top: 11px;
62
+ color: green;
63
+ width: 80%;
64
+ }
65
+
66
+ div#impactTCListContainer {
67
+ font-size: 15px;
68
+ }
69
+
70
+ .impactTestcaseRowContainer,.sourcenameRow
71
+ {
72
+ display:flex;
73
+ flex-direction:column;
74
+ }
75
+ summary{
76
+ outline:none;
77
+ }
78
+ details{
79
+ padding:25px 10px;
80
+ }
81
+
82
+
83
+ </style>
84
+
85
+ </head>
86
+ <body>
87
+ <div class="sourcenameRow pointer bg-clr-hr">
88
+
89
+ <details>
90
+ <summary><b>Source Name :</b> ./src/components/GC/fields/MultiSelectField.js</summary>
91
+ <div class="impactTestcaseRowContainer">
92
+ <div class="impactedBy"> ImpactedBy :- </div>
93
+ <div class="impactTestcaseRow">
94
+ <a class="anchorNone">@zohodesk/components/lib/MultiSelect/MultiSelect.js</a>
95
+ </div>
96
+
97
+ </div>
98
+ </details>
99
+
100
+ <details>
101
+ <summary><b>Source Name: </b> ./src/components/GC/fields/MultiSelectField.js</summary>
102
+ <div class="impactTestcaseRowContainer">
103
+ <div class="impactedBy"> ImpactedBy :- </div>
104
+ <div class="impactTestcaseRow">
105
+ <a class="anchorNone">@zohodesk/components/lib/MultiSelect/MultiSelect.js</a>
106
+ </div>
107
+ </div>
108
+ </details>
109
+
110
+ <details>
111
+ <summary><b>Source Name: </b> ./src/components/GC/fields/TextBoxField.js</summary>
112
+ <div class="impactTestcaseRowContainer">
113
+ <div class="impactedBy"> ImpactedBy :- </div>
114
+ <div class="impactTestcaseRow">
115
+ <a class="anchorNone">@zohodesk/components/lib/TextBox/TextBox.js</a>
116
+ </div>
117
+ </div>
118
+ </details>
119
+
120
+ <details>
121
+ <summary><b>Source Name: </b> ./src/components/activity/AddPopup/AddPopup.js </summary>
122
+ <div class="impactTestcaseRowContainer">
123
+ <div class="impactedBy"> ImpactedBy :- </div>
124
+ <div class="impactTestcaseRow">
125
+ <a class="anchorNone">@zohodesk/components/lib/DropDown/DropDownHeading.js</a>
126
+ </div>
127
+ <div class="impactTestcaseRow">
128
+ <a class="anchorNone">@zohodesk/components/lib/ListItem/ListItem.js</a>
129
+ </div>
130
+ <div class="impactTestcaseRow">
131
+ <a class="anchorNone">@zohodesk/components/lib/Popup/Popup.js</a>
132
+ </div>
133
+ <div class="impactTestcaseRow">
134
+ <a class="anchorNone">@zohodesk/components/lib/DropBox/DropBox.js</a>
135
+ </div>
136
+ </div>
137
+ </details>
138
+
139
+ </div>
140
+ <script type="text/javascript">
141
+ const details = document.querySelectorAll("details");
142
+ details.forEach((targetDetail) => {
143
+ targetDetail.addEventListener("click", () => {
144
+ // Close all the details that are not targetDetail.
145
+ details.forEach((detail) => {
146
+ if (detail !== targetDetail) {
147
+ detail.removeAttribute("open");
148
+ }
149
+ });
150
+ });
151
+ });
152
+ </script>
153
+ </body>
154
+ </html>