@zohodesk/react-cli 1.1.8-exp.2 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintignore +7 -7
- package/.eslintrc.js +180 -180
- package/.prettierrc +6 -6
- package/Changelog.md +1019 -1019
- package/README.md +1293 -1293
- package/bin/cli.js +501 -497
- package/docs/ComposeMinification.md +13 -13
- package/docs/CustomChunks.md +29 -29
- package/docs/DevServerPort.md +39 -39
- package/docs/DevStart.md +18 -18
- package/docs/HoverActive.md +12 -12
- package/docs/InstallNode.md +28 -28
- package/docs/MarkdownParser.md +17 -17
- package/docs/ReactLive.md +13 -13
- package/docs/SelectorWeight.md +8 -8
- package/docs/TODOS.md +10 -10
- package/docs/ValueReplacer.md +60 -60
- package/docs/VariableConversion.md +729 -729
- package/docs/patternFiltering.md +56 -56
- package/docs/warnings_while_install.txt +35 -35
- package/files/eslintrc.js +62 -62
- package/files/prettierrc.js +3 -3
- package/lib/configs/webpack.css.umd.config.js +4 -4
- package/lib/configs/webpack.dev.config.js +0 -18
- package/lib/configs/webpack.docs.config.js +0 -17
- package/lib/deprecationLogger.js +3 -3
- package/lib/loaderUtils/configsAssetsLoaders.js +33 -33
- package/lib/loaderUtils/getCSSLoaders.js +58 -62
- package/lib/loaders/workerLoader.js +9 -9
- package/lib/pluginUtils/getDevPlugins.js +5 -5
- package/lib/pluginUtils/getProdPlugins.js +5 -5
- package/lib/plugins/CustomAttributePlugin.md +35 -35
- package/lib/plugins/EFCPlugin.md +6 -6
- package/lib/plugins/I18NInjectIntoIndexPlugin.js +4 -4
- package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +38 -38
- package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +30 -30
- package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +8 -8
- package/lib/plugins/I18nSplitPlugin/I18nSplit.md +95 -95
- package/lib/plugins/I18nSplitPlugin/README.md +25 -25
- package/lib/plugins/I18nSplitPlugin/index.js +57 -57
- package/lib/plugins/ReportGeneratePlugin.js +8 -6
- package/lib/plugins/ResourceHintsPlugin.js +17 -17
- package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +6 -6
- package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -30
- package/lib/plugins/SelectorPlugin.js +29 -29
- package/lib/plugins/ServiceWorkerPlugin.js +9 -9
- package/lib/plugins/TPHashMappingPlugin.js +4 -4
- package/lib/plugins/UnusedFilesFindPlugin.js +7 -5
- package/lib/plugins/VariableConversionCollector.js +59 -59
- package/lib/plugins/utils/fileHandling.js +8 -4
- package/lib/plugins/variableConvertorUtils.js +9 -9
- package/lib/postcss-plugins/RTLSplitPlugin.js +10 -10
- package/lib/postcss-plugins/__test__/test1Input.css +38 -38
- package/lib/postcss-plugins/__test__/test1Output.css +38 -38
- package/lib/postcss-plugins/hoverActivePlugin.js +3 -3
- package/lib/sh/pre-commit.sh +34 -34
- package/lib/sh/reportPublish.sh +45 -45
- package/lib/utils/buildstats.html +148 -148
- package/lib/utils/cssClassNameGenerate.js +13 -13
- package/lib/utils/deprecationSupport.js +83 -78
- package/lib/utils/getOptions.js +2 -2
- package/lib/utils/index.js +14 -12
- package/lib/utils/initPreCommitHook.js +5 -5
- package/lib/utils/log.js +11 -0
- package/lib/utils/pullOrigin.js +3 -3
- package/lib/utils/reinstallDependencies.js +3 -3
- package/lib/utils/resultSchema.json +73 -73
- package/lib/utils/switchBranch.js +4 -2
- package/npm-shrinkwrap.json +33393 -14454
- package/npm8.md +9 -9
- package/package.json +123 -123
- package/postpublish.js +8 -8
- package/templates/app/.eslintrc.js +140 -140
- package/templates/app/README.md +12 -12
- package/templates/app/app/index.html +24 -24
- package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
- package/templates/app/app/properties/i18nkeys.json +3 -3
- package/templates/app/docs/all.html +69 -69
- package/templates/app/mockapi/index.js +18 -18
- package/templates/app/package.json +37 -37
- package/templates/app/src/actions/SampleActions/index.js +37 -37
- package/templates/app/src/actions/index.js +65 -65
- package/templates/app/src/appUrls.js +19 -19
- package/templates/app/src/components/Alert/Alert.js +134 -134
- package/templates/app/src/components/Alert/Alert.module.css +79 -79
- package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
- package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
- package/templates/app/src/components/Sample/Sample.module.css +11 -11
- package/templates/app/src/components/Sample/SampleList.js +61 -61
- package/templates/app/src/components/Slider/Slider.css +41 -41
- package/templates/app/src/components/Slider/Slider.js +55 -55
- package/templates/app/src/containers/AlertContainer/index.js +15 -15
- package/templates/app/src/containers/AppContainer/index.js +96 -96
- package/templates/app/src/containers/AppContainer/index.module.css +27 -27
- package/templates/app/src/containers/CustomMatch/index.js +65 -65
- package/templates/app/src/containers/DevTools/index.js +10 -10
- package/templates/app/src/containers/Header/index.js +67 -67
- package/templates/app/src/containers/Header/index.module.css +43 -43
- package/templates/app/src/containers/Redirect/index.js +63 -63
- package/templates/app/src/containers/Redirector/index.js +47 -47
- package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
- package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
- package/templates/app/src/historyChange.js +5 -5
- package/templates/app/src/index.html +10 -10
- package/templates/app/src/index.js +24 -24
- package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
- package/templates/app/src/reducers/alertData.js +11 -11
- package/templates/app/src/reducers/index.js +6 -6
- package/templates/app/src/reducers/samples.js +19 -19
- package/templates/app/src/store/configureStore.dev.js +51 -51
- package/templates/app/src/store/configureStore.js +5 -5
- package/templates/app/src/store/configureStore.prod.js +26 -26
- package/templates/app/src/util/Common.js +5 -5
- package/templates/app/src/util/RequestAPI.js +132 -132
- package/templates/docs/all.html +250 -250
- package/templates/docs/component.html +179 -179
- package/templates/docs/components.html +222 -222
- package/templates/docs/css/b.min.css +6 -6
- package/templates/docs/css/component.css +42 -42
- package/templates/docs/css/componentTest.css +6 -6
- package/templates/docs/css/hopscotch.css +585 -585
- package/templates/docs/css/markdown.css +202 -202
- package/templates/docs/css/style.css +1022 -1022
- package/templates/docs/impactReportTemplate.html +154 -154
- package/templates/docs/index.html +1502 -1502
- package/templates/docs/js/active-line.js +72 -72
- package/templates/docs/js/b.min.js +7 -7
- package/templates/docs/js/codemirror.js +9680 -9680
- package/templates/docs/js/designTokens.js +334 -334
- package/templates/docs/js/j.min.js +4 -4
- package/templates/docs/js/javascript.js +874 -874
- package/templates/docs/js/matchbrackets.js +145 -145
- package/result.json +0 -1
- package/unittest/index.html +0 -37
@@ -1,154 +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>
|
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>
|