@zohodesk/react-cli 0.0.1-beta.16 → 0.0.1-beta.160

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 (226) hide show
  1. package/.eslintignore +1 -0
  2. package/.eslintrc.js +46 -3
  3. package/CHANGELOG.md +5 -0
  4. package/README.md +650 -0
  5. package/bin/cli.js +134 -27
  6. package/cert/cert.pem +37 -129
  7. package/cert/key.pem +27 -27
  8. package/cert/passphrase.pem +1 -0
  9. package/files/eslintrc.js +62 -0
  10. package/files/prettierrc.js +3 -0
  11. package/lib/babel/cmjs-plugins-presets.js +16 -9
  12. package/lib/babel/es-plugins-presets.js +26 -14
  13. package/lib/common/getEntries.js +33 -24
  14. package/lib/common/getPublicPathConfig.js +40 -0
  15. package/lib/common/index.js +27 -13
  16. package/lib/common/splitChunks.js +64 -26
  17. package/lib/common/sslcertUpdater.js +59 -0
  18. package/lib/common/templateParameters.js +25 -0
  19. package/lib/configs/jest.config.js +18 -28
  20. package/lib/configs/webpack.component.umd.config.js +31 -37
  21. package/lib/configs/webpack.css.umd.config.js +44 -44
  22. package/lib/configs/webpack.dev.config.js +113 -57
  23. package/lib/configs/webpack.docs.config.js +104 -98
  24. package/lib/configs/webpack.impact.config.js +116 -0
  25. package/lib/configs/webpack.prod.config.js +154 -86
  26. package/lib/hooks/docsProptypeHook.js +32 -38
  27. package/lib/jest/commitedFilesResult.js +144 -71
  28. package/lib/jest/coverageCollector.js +62 -29
  29. package/lib/jest/jsonMaker.js +54 -0
  30. package/lib/jest/preProcessors/cssPreprocessor.js +16 -18
  31. package/lib/jest/preProcessors/jsPreprocessor.js +5 -6
  32. package/lib/jest/preProcessors/otherFilesPreprocessor.js +5 -6
  33. package/lib/jest/result.js +91 -41
  34. package/lib/jest/run.js +74 -27
  35. package/lib/jest/setup.js +103 -102
  36. package/lib/loaderUtils/getCSSLoaders.js +77 -0
  37. package/lib/loaderUtils/getDevJsLoaders.js +30 -23
  38. package/lib/loaderUtils/index.js +14 -7
  39. package/lib/loaders/docsLoader.js +15 -15
  40. package/lib/loaders/docsPropsLoader.js +14 -17
  41. package/lib/loaders/fileBountryLoader.js +17 -0
  42. package/lib/loaders/fileLoader.js +47 -38
  43. package/lib/loaders/scriptInstrumentLoader.js +21 -20
  44. package/lib/loaders/selectorMappingLoader.js +75 -0
  45. package/lib/loaders/workerLoader.js +136 -0
  46. package/lib/middlewares/HMRMiddleware.js +59 -41
  47. package/lib/middlewares/SSTMiddleware.js +21 -0
  48. package/lib/pluginUtils/getDevPlugins.js +173 -26
  49. package/lib/pluginUtils/getDocsPlugins.js +32 -17
  50. package/lib/pluginUtils/getLibraryImactPlugins.js +23 -0
  51. package/lib/pluginUtils/getLibraryPlugins.js +8 -10
  52. package/lib/pluginUtils/getProdPlugins.js +238 -37
  53. package/lib/pluginUtils/getServerPlugins.js +8 -11
  54. package/lib/pluginUtils/getUMDCSSPlugins.js +11 -15
  55. package/lib/pluginUtils/getUMDComponentPlugins.js +11 -15
  56. package/lib/pluginUtils/index.js +36 -43
  57. package/lib/plugins/CdnChangePlugin.js +77 -0
  58. package/lib/plugins/CleanupStatsPlugin.js +28 -0
  59. package/lib/plugins/EFCPlugin.js +211 -0
  60. package/lib/plugins/EFCPlugin.md +6 -0
  61. package/lib/plugins/I18NInjectIntoIndexPlugin.js +141 -0
  62. package/lib/plugins/I18nSplitPlugin/I18nDebugPlugin.js +60 -0
  63. package/lib/plugins/I18nSplitPlugin/I18nDependency.js +44 -0
  64. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +266 -0
  65. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +183 -0
  66. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +100 -0
  67. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +86 -0
  68. package/lib/plugins/I18nSplitPlugin/README.md +25 -0
  69. package/lib/plugins/I18nSplitPlugin/index.js +185 -0
  70. package/lib/plugins/I18nSplitPlugin/utils/collectI18nKeys.js +64 -0
  71. package/lib/plugins/I18nSplitPlugin/utils/getI18nFileUrlPathTemplate.js +13 -0
  72. package/lib/plugins/I18nSplitPlugin/utils/getI18nKeysFormModules.js +26 -0
  73. package/lib/plugins/I18nSplitPlugin/utils/hashUtils.js +40 -0
  74. package/lib/plugins/I18nSplitPlugin/utils/index.js +31 -0
  75. package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +112 -0
  76. package/lib/plugins/ManifestPlugin.js +52 -63
  77. package/lib/plugins/ModuleStatsPlugin.js +98 -97
  78. package/lib/plugins/OptimizeJSPlugin.js +24 -41
  79. package/lib/plugins/PublicPathCallbackPlugin.js +63 -0
  80. package/lib/plugins/PublicPathChangePlugin.js +187 -174
  81. package/lib/plugins/ReportGeneratePlugin.js +181 -0
  82. package/lib/plugins/RequireVariablePublicPlugin.js +30 -0
  83. package/lib/plugins/ResourceHintsPlugin.js +53 -35
  84. package/lib/plugins/RtlSplitPlugin/OverwriteCssPathForRTL.js +80 -0
  85. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +82 -0
  86. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -0
  87. package/lib/plugins/RtlSplitPlugin/replaceCssDirTemplate.js +26 -0
  88. package/lib/plugins/ScriptInstrumentPlugin.js +22 -37
  89. package/lib/plugins/ServiceWorkerPlugin.js +107 -0
  90. package/lib/plugins/ShadowDOMSupportPlugin.js +270 -0
  91. package/lib/plugins/SourceMapHookPlugin.js +25 -31
  92. package/lib/plugins/TPHashMappingPlugin.js +67 -0
  93. package/lib/plugins/UglifyCSSPlugin.js +23 -30
  94. package/lib/plugins/UnusedFilesFindPlugin.js +150 -97
  95. package/lib/plugins/index.js +118 -55
  96. package/lib/plugins/libraryImpactPlugin.js +190 -0
  97. package/lib/plugins/webpackwatchrunplugin.js +26 -0
  98. package/lib/postcss-plugins/ExcludeRTLPlugin.js +23 -0
  99. package/lib/postcss-plugins/RTLSplitPlugin.js +138 -0
  100. package/lib/schemas/index.js +463 -52
  101. package/lib/servers/clusterHubServer.js +22 -26
  102. package/lib/servers/docsServer.js +3 -5
  103. package/lib/servers/docsServerCore.js +93 -85
  104. package/lib/servers/helpServer.js +19 -21
  105. package/lib/servers/httpsOptions.js +19 -0
  106. package/lib/servers/impactServer.js +99 -92
  107. package/lib/servers/mockserver.js +44 -0
  108. package/lib/servers/nowatchserver.js +275 -0
  109. package/lib/servers/scrServer.js +147 -0
  110. package/lib/servers/server.js +118 -124
  111. package/lib/servers/ssServer.js +107 -65
  112. package/lib/sh/reportPublish.sh +16 -10
  113. package/lib/templates/CoverageScriptTemplate.js +45 -18
  114. package/lib/templates/WMSTemplate.js +17 -18
  115. package/lib/templates/linterConstant.js +10 -0
  116. package/lib/utils/babelPresets.js +12 -5
  117. package/lib/utils/buildstats.html +148 -0
  118. package/lib/utils/clean.js +12 -11
  119. package/lib/utils/copy.js +13 -127
  120. package/lib/utils/copyTimezones.js +21 -0
  121. package/lib/utils/createEventStream.js +24 -19
  122. package/lib/utils/cssClassNameGenerate.js +70 -0
  123. package/lib/utils/cssURLReplacer.js +67 -54
  124. package/lib/utils/dependencyPostPublish.js +42 -0
  125. package/lib/utils/fileUtils.js +125 -0
  126. package/lib/utils/folderIterator.js +47 -0
  127. package/lib/utils/getComponents.js +126 -0
  128. package/lib/utils/getCurrentBranch.js +11 -17
  129. package/lib/utils/getDependenciesImpactList.js +151 -0
  130. package/lib/utils/getHash.js +26 -0
  131. package/lib/utils/getIp.js +20 -0
  132. package/lib/utils/getOptions.js +55 -30
  133. package/lib/utils/getServerURL.js +25 -8
  134. package/lib/utils/index.js +259 -82
  135. package/lib/utils/init.js +2 -2
  136. package/lib/utils/initPreCommitHook.js +40 -31
  137. package/lib/utils/jsonHelper.js +97 -0
  138. package/lib/utils/libraryImpactConfig.js +63 -0
  139. package/lib/utils/lint/addScripts.js +27 -0
  140. package/lib/utils/lint/checkExistingConfig.js +67 -0
  141. package/lib/utils/lint/copyConfigs.js +24 -0
  142. package/lib/utils/lint/index.js +54 -0
  143. package/lib/utils/lint/lintScripts.js +11 -0
  144. package/lib/utils/lint/lintSetup.js +31 -0
  145. package/lib/utils/lint/lintStagedPreCommitHook.js +7 -0
  146. package/lib/utils/lint/question.js +30 -0
  147. package/lib/utils/lintReporter.js +142 -0
  148. package/lib/utils/mailSender.js +16 -25
  149. package/lib/utils/pullOrigin.js +28 -0
  150. package/lib/utils/reinstallDependencies.js +133 -0
  151. package/lib/utils/removeAttributes.js +25 -23
  152. package/lib/utils/repoClone.js +56 -63
  153. package/lib/utils/request.js +64 -77
  154. package/lib/utils/resultSchema.json +73 -0
  155. package/lib/utils/rtl.js +42 -0
  156. package/lib/utils/setEnvVariables.js +5 -6
  157. package/lib/utils/ssTestHack.js +48 -0
  158. package/lib/utils/switchBranch.js +28 -0
  159. package/lib/utils/urlConcat.js +22 -0
  160. package/package.json +92 -64
  161. package/templates/app/.eslintrc.js +140 -0
  162. package/templates/app/README.md +12 -12
  163. package/templates/app/app/index.html +24 -8
  164. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  165. package/templates/app/app/properties/i18nkeys.json +3 -3
  166. package/templates/app/docs/all.html +69 -69
  167. package/templates/app/mockapi/index.js +18 -13
  168. package/templates/app/package.json +37 -17
  169. package/templates/app/src/actions/SampleActions/index.js +37 -0
  170. package/templates/app/src/actions/index.js +65 -0
  171. package/templates/app/src/appUrls.js +19 -0
  172. package/templates/app/src/components/Alert/Alert.js +134 -0
  173. package/templates/app/src/components/Alert/Alert.module.css +79 -0
  174. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -0
  175. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -0
  176. package/templates/app/src/components/Sample/Sample.module.css +11 -0
  177. package/templates/app/src/components/Sample/SampleList.js +61 -0
  178. package/templates/app/src/components/Slider/Slider.css +41 -0
  179. package/templates/app/src/components/Slider/Slider.js +55 -0
  180. package/templates/app/src/containers/AlertContainer/index.js +15 -0
  181. package/templates/app/src/containers/AppContainer/index.js +96 -0
  182. package/templates/app/src/containers/AppContainer/index.module.css +27 -0
  183. package/templates/app/src/containers/CustomMatch/index.js +65 -0
  184. package/templates/app/src/containers/DevTools/index.js +10 -0
  185. package/templates/app/src/containers/Header/index.js +67 -0
  186. package/templates/app/src/containers/Header/index.module.css +43 -0
  187. package/templates/app/src/containers/Redirect/index.js +63 -0
  188. package/templates/app/src/containers/Redirector/index.js +47 -0
  189. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -0
  190. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -0
  191. package/templates/app/src/historyChange.js +5 -0
  192. package/templates/app/src/index.html +10 -0
  193. package/templates/app/src/index.js +24 -0
  194. package/templates/app/src/middleware/PromiseMiddleware.js +59 -0
  195. package/templates/app/src/reducers/alertData.js +11 -0
  196. package/templates/app/src/reducers/index.js +6 -0
  197. package/templates/app/src/reducers/samples.js +19 -0
  198. package/templates/app/src/store/configureStore.dev.js +51 -0
  199. package/templates/app/src/store/configureStore.js +5 -0
  200. package/templates/app/src/store/configureStore.prod.js +26 -0
  201. package/templates/app/src/util/Common.js +5 -0
  202. package/templates/app/src/util/RequestAPI.js +132 -0
  203. package/templates/appold/README.md +12 -0
  204. package/templates/appold/app/index.html +8 -0
  205. package/templates/appold/app/properties/ApplicationResources_en_US.properties +1 -0
  206. package/templates/appold/app/properties/i18nkeys.json +3 -0
  207. package/templates/appold/docs/all.html +69 -0
  208. package/templates/appold/mockapi/index.js +13 -0
  209. package/templates/{app → appold}/mockapi/tickets.json +0 -0
  210. package/templates/appold/package.json +17 -0
  211. package/templates/appold/src/components/Text/Text.css +0 -0
  212. package/templates/appold/src/components/Text/Text.js +23 -0
  213. package/templates/appold/src/components/Text/__tests__/Text.spec.js +30 -0
  214. package/templates/appold/src/components/Text/docs/Text__default.docs.js +16 -0
  215. package/templates/appold/src/components/docs.js +1 -0
  216. package/templates/appold/src/components/index.js +5 -0
  217. package/templates/appold/src/index.js +13 -0
  218. package/templates/docs/all.html +1 -1
  219. package/templates/docs/component.html +110 -69
  220. package/templates/docs/components.html +221 -0
  221. package/templates/docs/css/component.css +12 -14
  222. package/templates/docs/css/componentTest.css +7 -0
  223. package/templates/docs/css/style.css +150 -206
  224. package/templates/docs/impactReportTemplate.html +154 -0
  225. package/templates/docs/index.html +1482 -1336
  226. package/templates/library/src/index.js +0 -0
@@ -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>