@zohodesk/react-cli 1.1.14-exp.3 → 1.1.14-kubernetes
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +16 -281
- package/bin/cli.js +55 -30
- package/docs/CustomChunks.md +9 -12
- package/docs/SelectorWeight.md +0 -3
- package/docs/ValueReplacer.md +0 -27
- package/docs/VariableConversion.md +1 -6
- package/lib/common/splitChunks.js +45 -65
- package/lib/common/testPattern.js +11 -9
- package/lib/common/valueReplacer.js +3 -1
- package/lib/configs/resolvers.js +5 -16
- package/lib/configs/webpack.css.umd.config.js +2 -3
- package/lib/configs/webpack.dev.config.js +5 -15
- package/lib/configs/webpack.docs.config.js +3 -14
- package/lib/configs/webpack.impact.config.js +2 -8
- package/lib/configs/webpack.prod.config.js +5 -15
- package/lib/constants.js +3 -3
- package/lib/loaderUtils/getCSSLoaders.js +49 -98
- package/lib/loaderUtils/windowsModification.js +1 -6
- package/lib/loaders/docsLoader.js +7 -18
- package/lib/loaders/selectorMappingLoader.js +9 -9
- package/lib/pluginUtils/getDevPlugins.js +6 -25
- package/lib/pluginUtils/getProdPlugins.js +5 -32
- package/lib/pluginUtils/getUMDCSSPlugins.js +1 -1
- package/lib/pluginUtils/getUMDComponentPlugins.js +1 -1
- package/lib/plugins/EFCPlugin.js +9 -9
- package/lib/plugins/EFCTemplatePlugin.js +12 -10
- package/lib/plugins/I18NInjectIntoIndexPlugin.js +9 -8
- package/lib/plugins/I18nSplitPlugin/I18nDebugPlugin.js +3 -2
- package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +13 -30
- package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +7 -2
- package/lib/plugins/I18nSplitPlugin/index.js +1 -1
- package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +8 -8
- package/lib/plugins/ReportGeneratePlugin.js +6 -8
- package/lib/plugins/ResourceHintsPlugin.js +3 -13
- package/lib/plugins/SelectorPlugin.js +37 -77
- package/lib/plugins/{MinifyPlugin.js → UglifyCSSPlugin.js} +3 -3
- package/lib/plugins/UnusedFilesFindPlugin.js +5 -7
- package/lib/plugins/VariableConversionCollector.js +101 -40
- package/lib/plugins/composeCommonPlugin.js +30 -0
- package/lib/plugins/index.js +7 -7
- package/lib/postcss-plugins/ExcludePlugin.js +1 -1
- package/lib/postcss-plugins/RTLSplitPlugin.js +10 -4
- package/lib/postcss-plugins/ValueReplacer.js +29 -8
- package/lib/postcss-plugins/hoverActivePlugin.js +6 -0
- package/lib/postcss-plugins/variableModificationPlugin/ErrorHandler.js +1 -0
- package/lib/postcss-plugins/variableModificationPlugin/index.js +38 -94
- package/lib/postcss-plugins/variableModifier.js +244 -0
- package/lib/schemas/index.js +18 -94
- package/lib/servers/devBuild.js +11 -13
- package/lib/servers/getCliPath.js +5 -3
- package/lib/servers/httpsOptions.js +13 -12
- package/lib/servers/nowatchserver.js +55 -62
- package/lib/servers/server.js +52 -53
- package/lib/utils/cssClassNameGenerate.js +13 -70
- package/lib/utils/getOptions.js +28 -35
- package/lib/utils/getServerURL.js +9 -1
- package/lib/utils/index.js +12 -14
- package/lib/utils/initPreCommitHook.js +5 -5
- package/lib/utils/pullOrigin.js +3 -3
- package/lib/utils/reinstallDependencies.js +3 -3
- package/lib/utils/switchBranch.js +2 -4
- package/package.json +3 -5
- package/templates/docs/all.html +0 -1
- package/templates/docs/component.html +0 -1
- package/templates/docs/components.html +0 -1
- package/templates/docs/css/style.css +169 -136
- package/templates/docs/index.html +632 -796
- package/.vscode/settings.json +0 -25
- package/docs/ComposeMinification.md +0 -13
- package/docs/MarkdownParser.md +0 -18
- package/docs/ReactLive.md +0 -14
- package/docs/patternFiltering.md +0 -57
- package/lib/common/buildEs.js +0 -12
- package/lib/common/runPreProcess.js +0 -71
- package/lib/deprecationLogger.js +0 -40
- package/lib/loaderUtils/tests/windowsModification.test.js +0 -10
- package/lib/loaders/__test__/markdownLoader.spec.js +0 -145
- package/lib/loaders/composeLoader.js +0 -298
- package/lib/loaders/markdownLoader.js +0 -71
- package/lib/loaders/reactLiveConvertor.js +0 -105
- package/lib/logger.js +0 -27
- package/lib/plugins/CustomAttributePlugin.js +0 -82
- package/lib/plugins/CustomAttributePlugin.md +0 -35
- package/lib/plugins/EfcResourceCleanupPlugin.js +0 -43
- package/lib/plugins/StatsPlugin.js +0 -82
- package/lib/plugins/utils/classHandling.js +0 -35
- package/lib/plugins/utils/fileHandling.js +0 -92
- package/lib/plugins/utils/tests/fileHandling.test.js +0 -30
- package/lib/plugins/variableConvertorUtils.js +0 -133
- package/lib/postcss-plugins/EmptyPlugin.js +0 -8
- package/lib/postcss-plugins/IncludePlugin.js +0 -23
- package/lib/postcss-plugins/SelectorReplace.js +0 -80
- package/lib/postcss-plugins/__test__/selectorReplace.test.js +0 -28
- package/lib/postcss-plugins/__test__/valueReplacer.spec.js +0 -43
- package/lib/servers/requireLocalOrGlobal.js +0 -61
- package/lib/utils/deprecationSupport.js +0 -134
- package/lib/utils/log.js +0 -11
- package/lib/utils/object-manipulation.js +0 -88
- package/lib/utils/selectorReplacer.js +0 -47
- package/lib/utils/variableConverter.js +0 -104
- package/npm-shrinkwrap.json +0 -33485
- package/templates/docs/css/markdown.css +0 -202
package/lib/utils/pullOrigin.js
CHANGED
@@ -7,20 +7,20 @@ exports.default = void 0;
|
|
7
7
|
|
8
8
|
var _child_process = require("child_process");
|
9
9
|
|
10
|
-
var
|
10
|
+
var _utils = require("../utils");
|
11
11
|
|
12
12
|
var _default = (type = 'git', branchName) => new Promise(resolve => {
|
13
13
|
if (type === 'git') {
|
14
14
|
(0, _child_process.spawnSync)('git', ['pull', 'origin', branchName], {
|
15
15
|
encoding: 'utf8'
|
16
16
|
});
|
17
|
-
(0,
|
17
|
+
(0, _utils.log)(branchName, 'Branch Pulled!');
|
18
18
|
resolve();
|
19
19
|
} else if (type === 'hg') {
|
20
20
|
(0, _child_process.spawnSync)('hg', ['pull'], {
|
21
21
|
encoding: 'utf8'
|
22
22
|
});
|
23
|
-
(0,
|
23
|
+
(0, _utils.log)(branchName, 'Branch Pulled!');
|
24
24
|
resolve();
|
25
25
|
}
|
26
26
|
});
|
@@ -13,7 +13,7 @@ var _child_process = require("child_process");
|
|
13
13
|
|
14
14
|
var _gitRootDir = _interopRequireDefault(require("git-root-dir"));
|
15
15
|
|
16
|
-
var
|
16
|
+
var _index = require("./index");
|
17
17
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
19
19
|
|
@@ -80,7 +80,7 @@ let reinstallDependencies1 = pathToSubProjects => {
|
|
80
80
|
let diffs = packageDiffChecker(prePackageJson, currentPackageJson);
|
81
81
|
|
82
82
|
if (Object.keys(diffs).length) {
|
83
|
-
(0,
|
83
|
+
(0, _index.log)(diffs, `package diffs between branches for ${project} project`);
|
84
84
|
(0, _child_process.spawnSync)('rm', ['-rf', 'package-lock.json'], {
|
85
85
|
cwd: projPath,
|
86
86
|
stdio: 'inherit'
|
@@ -93,7 +93,7 @@ let reinstallDependencies1 = pathToSubProjects => {
|
|
93
93
|
dummy.push(`${name}@${version}`);
|
94
94
|
}
|
95
95
|
|
96
|
-
(0,
|
96
|
+
(0, _index.log)(`npm ${['install'].concat(dummy).join(' ')}`);
|
97
97
|
(0, _child_process.spawnSync)('npm', ['install'].concat(dummy), {
|
98
98
|
cwd: projPath,
|
99
99
|
stdio: 'inherit'
|
@@ -9,15 +9,13 @@ var _child_process = require("child_process");
|
|
9
9
|
|
10
10
|
var _utils = require("../utils");
|
11
11
|
|
12
|
-
var _log = require("./log");
|
13
|
-
|
14
12
|
var _default = (type = 'git', branchName) => new Promise(resolve => {
|
15
13
|
if (type === 'git') {
|
16
|
-
(0,
|
14
|
+
(0, _utils.log)((0, _utils.getCurrentBranch)(type, process.cwd()), 'Before the branch switch');
|
17
15
|
(0, _child_process.spawnSync)('git', ['checkout', branchName, '--force'], {
|
18
16
|
encoding: 'utf8'
|
19
17
|
});
|
20
|
-
(0,
|
18
|
+
(0, _utils.log)((0, _utils.getCurrentBranch)(type, process.cwd()), 'After the branch switch');
|
21
19
|
(0, _utils.pullOrigin)(type, branchName).then(resolve);
|
22
20
|
} else if (type === 'hg') {
|
23
21
|
(0, _child_process.spawnSync)('hg', ['update', branchName], {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zohodesk/react-cli",
|
3
|
-
"version": "1.1.14-
|
3
|
+
"version": "1.1.14-kubernetes",
|
4
4
|
"description": "A CLI tool for build modern web application and libraries",
|
5
5
|
"scripts": {
|
6
6
|
"init": "node ./lib/utils/init.js",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"@babel/preset-env": "7.11.0",
|
41
41
|
"@babel/preset-react": "7.10.4",
|
42
42
|
"@babel/runtime": "7.11.2",
|
43
|
-
"@zohodesk/client_packages_group": "1.0.
|
43
|
+
"@zohodesk/client_packages_group": "1.0.1",
|
44
44
|
"@zohodesk/eslint-plugin-react-performance": "1.0.3",
|
45
45
|
"@zohodesk/eslint-plugin-zsecurity": "0.0.1-beta.4",
|
46
46
|
"@zohodesk/postcss-rtl": "1.5.2",
|
@@ -58,7 +58,6 @@
|
|
58
58
|
"compression": "1.7.4",
|
59
59
|
"copy-webpack-plugin": "5.1.2",
|
60
60
|
"css-loader": "4.2.1",
|
61
|
-
"debug": "4.3.3",
|
62
61
|
"escodegen": "2.0.0",
|
63
62
|
"eslint": "7.6.0",
|
64
63
|
"eslint-html-reporter": "0.7.4",
|
@@ -75,12 +74,10 @@
|
|
75
74
|
"html-webpack-inject-attributes-plugin": "1.0.6",
|
76
75
|
"html-webpack-plugin": "4.3.0",
|
77
76
|
"http-proxy-middleware": "1.0.5",
|
78
|
-
"ignore": "5.2.4",
|
79
77
|
"jest": "26.4.0",
|
80
78
|
"jsdom": "16.4.0",
|
81
79
|
"loader-utils": "2.0.0",
|
82
80
|
"lodash-webpack-plugin": "0.11.5",
|
83
|
-
"markdown-it": "13.0.1",
|
84
81
|
"mini-css-extract-plugin": "0.10.0",
|
85
82
|
"nock": "13.2.9",
|
86
83
|
"nodemailer": "6.4.11",
|
@@ -91,6 +88,7 @@
|
|
91
88
|
"postcss-hash-classname": "0.4.0",
|
92
89
|
"postcss-loader": "3.0.0",
|
93
90
|
"postcss-mobile-hover": "1.0.2",
|
91
|
+
"postcss-selector-replace": "1.0.2",
|
94
92
|
"react-test-renderer": "16.13.1",
|
95
93
|
"redis": "3.0.2",
|
96
94
|
"redux-mock-store": "1.5.4",
|
package/templates/docs/all.html
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6
6
|
<link rel="stylesheet" href="./css/component.css" />
|
7
7
|
<link rel="stylesheet" href="/docs/css/main.css" />
|
8
|
-
<link rel="stylesheet" href="./css/markdown.css">
|
9
8
|
</head>
|
10
9
|
<body>
|
11
10
|
<div id="react" class="appContainer"></div>
|
@@ -6,7 +6,6 @@
|
|
6
6
|
<link rel="stylesheet" href="./css/component.css" />
|
7
7
|
<link rel="stylesheet" href="./css/componentTest.css" />
|
8
8
|
<link rel="stylesheet" href="/docs/css/main.css" />
|
9
|
-
<link rel="stylesheet" href="./css/markdown.css">
|
10
9
|
</head>
|
11
10
|
<body>
|
12
11
|
<div id="react" class="ssTest appContainer"></div>
|
@@ -1,4 +1,151 @@
|
|
1
1
|
/* cyrillic-ext */
|
2
|
+
@font-face {
|
3
|
+
font-family: 'Regular';
|
4
|
+
font-style: normal;
|
5
|
+
font-weight: 400;
|
6
|
+
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
7
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFWJ0bf8pkAp6a.woff2)
|
8
|
+
format('woff2');
|
9
|
+
unicode-range: U + 0460-052f, U + 1c80-1c88, U + 20b4, U + 2de0-2dff,
|
10
|
+
U + A640-A69F, U + FE2E-FE2F;
|
11
|
+
}
|
12
|
+
/* cyrillic */
|
13
|
+
@font-face {
|
14
|
+
font-family: 'Regular';
|
15
|
+
font-style: normal;
|
16
|
+
font-weight: 400;
|
17
|
+
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
18
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFUZ0bf8pkAp6a.woff2)
|
19
|
+
format('woff2');
|
20
|
+
unicode-range: U + 0400-045f, U + 0490-0491, U + 04b0-04b1, U + 2116;
|
21
|
+
}
|
22
|
+
/* greek-ext */
|
23
|
+
@font-face {
|
24
|
+
font-family: 'Regular';
|
25
|
+
font-style: normal;
|
26
|
+
font-weight: 400;
|
27
|
+
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
28
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFWZ0bf8pkAp6a.woff2)
|
29
|
+
format('woff2');
|
30
|
+
unicode-range: U + 1f00-1fff;
|
31
|
+
}
|
32
|
+
/* greek */
|
33
|
+
@font-face {
|
34
|
+
font-family: 'Regular';
|
35
|
+
font-style: normal;
|
36
|
+
font-weight: 400;
|
37
|
+
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
38
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFVp0bf8pkAp6a.woff2)
|
39
|
+
format('woff2');
|
40
|
+
unicode-range: U + 0370-03ff;
|
41
|
+
}
|
42
|
+
/* vietnamese */
|
43
|
+
@font-face {
|
44
|
+
font-family: 'Regular';
|
45
|
+
font-style: normal;
|
46
|
+
font-weight: 400;
|
47
|
+
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
48
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFWp0bf8pkAp6a.woff2)
|
49
|
+
format('woff2');
|
50
|
+
unicode-range: U + 0102-0103, U + 0110-0111, U + 1ea0-1ef9, U + 20ab;
|
51
|
+
}
|
52
|
+
/* latin-ext */
|
53
|
+
@font-face {
|
54
|
+
font-family: 'Regular';
|
55
|
+
font-style: normal;
|
56
|
+
font-weight: 400;
|
57
|
+
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
58
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFW50bf8pkAp6a.woff2)
|
59
|
+
format('woff2');
|
60
|
+
unicode-range: U + 0100-024f, U + 0259, U + 1-1eff, U + 2020, U + 20a0-20ab,
|
61
|
+
U + 20ad-20cf, U + 2113, U + 2c60-2c7f, U + A720-A7FF;
|
62
|
+
}
|
63
|
+
/* latin */
|
64
|
+
@font-face {
|
65
|
+
font-family: 'Regular';
|
66
|
+
font-style: normal;
|
67
|
+
font-weight: 400;
|
68
|
+
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
69
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFVZ0bf8pkAg.woff2)
|
70
|
+
format('woff2');
|
71
|
+
unicode-range: U + 0000-00ff, U + 0131, U + 0152-0153, U + 02bb-02bc, U + 02c6,
|
72
|
+
U + 02da, U + 02dc, U + 2000-206f, U + 2074, U + 20ac, U + 2122, U + 2191,
|
73
|
+
U + 2193, U + 2212, U + 2215, U + FEFF, U + FFFD;
|
74
|
+
}
|
75
|
+
/* cyrillic-ext */
|
76
|
+
@font-face {
|
77
|
+
font-family: 'Semibold';
|
78
|
+
font-style: normal;
|
79
|
+
font-weight: 700;
|
80
|
+
src: local('Open Sans Bold'), local('OpenSans-Bold'),
|
81
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOX-hpKKSTj5PW.woff2)
|
82
|
+
format('woff2');
|
83
|
+
unicode-range: U + 0460-052f, U + 1c80-1c88, U + 20b4, U + 2de0-2dff,
|
84
|
+
U + A640-A69F, U + FE2E-FE2F;
|
85
|
+
}
|
86
|
+
/* cyrillic */
|
87
|
+
@font-face {
|
88
|
+
font-family: 'Semibold';
|
89
|
+
font-style: normal;
|
90
|
+
font-weight: 700;
|
91
|
+
src: local('Open Sans Bold'), local('OpenSans-Bold'),
|
92
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOVuhpKKSTj5PW.woff2)
|
93
|
+
format('woff2');
|
94
|
+
unicode-range: U + 0400-045f, U + 0490-0491, U + 04b0-04b1, U + 2116;
|
95
|
+
}
|
96
|
+
/* greek-ext */
|
97
|
+
@font-face {
|
98
|
+
font-family: 'Semibold';
|
99
|
+
font-style: normal;
|
100
|
+
font-weight: 700;
|
101
|
+
src: local('Open Sans Bold'), local('OpenSans-Bold'),
|
102
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOXuhpKKSTj5PW.woff2)
|
103
|
+
format('woff2');
|
104
|
+
unicode-range: U + 1f00-1fff;
|
105
|
+
}
|
106
|
+
/* greek */
|
107
|
+
@font-face {
|
108
|
+
font-family: 'Semibold';
|
109
|
+
font-style: normal;
|
110
|
+
font-weight: 700;
|
111
|
+
src: local('Open Sans Bold'), local('OpenSans-Bold'),
|
112
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOUehpKKSTj5PW.woff2)
|
113
|
+
format('woff2');
|
114
|
+
unicode-range: U + 0370-03ff;
|
115
|
+
}
|
116
|
+
/* vietnamese */
|
117
|
+
@font-face {
|
118
|
+
font-family: 'Semibold';
|
119
|
+
font-style: normal;
|
120
|
+
font-weight: 700;
|
121
|
+
src: local('Open Sans Bold'), local('OpenSans-Bold'),
|
122
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOXehpKKSTj5PW.woff2)
|
123
|
+
format('woff2');
|
124
|
+
unicode-range: U + 0102-0103, U + 0110-0111, U + 1ea0-1ef9, U + 20ab;
|
125
|
+
}
|
126
|
+
/* latin-ext */
|
127
|
+
@font-face {
|
128
|
+
font-family: 'Semibold';
|
129
|
+
font-style: normal;
|
130
|
+
font-weight: 700;
|
131
|
+
src: local('Open Sans Bold'), local('OpenSans-Bold'),
|
132
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOXOhpKKSTj5PW.woff2)
|
133
|
+
format('woff2');
|
134
|
+
unicode-range: U + 0100-024f, U + 0259, U + 1-1eff, U + 2020, U + 20a0-20ab,
|
135
|
+
U + 20ad-20cf, U + 2113, U + 2c60-2c7f, U + A720-A7FF;
|
136
|
+
}
|
137
|
+
/* latin */
|
138
|
+
@font-face {
|
139
|
+
font-family: 'Semibold';
|
140
|
+
font-style: normal;
|
141
|
+
font-weight: 700;
|
142
|
+
src: local('Open Sans Bold'), local('OpenSans-Bold'),
|
143
|
+
url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOUuhpKKSTjw.woff2)
|
144
|
+
format('woff2');
|
145
|
+
unicode-range: U + 0000-00ff, U + 0131, U + 0152-0153, U + 02bb-02bc, U + 02c6,
|
146
|
+
U + 02da, U + 02dc, U + 2000-206f, U + 2074, U + 20ac, U + 2122, U + 2191,
|
147
|
+
U + 2193, U + 2212, U + 2215, U + FEFF, U + FFFD;
|
148
|
+
}
|
2
149
|
|
3
150
|
*,
|
4
151
|
:after,
|
@@ -115,7 +262,7 @@ body {
|
|
115
262
|
background: #fff;
|
116
263
|
font-size: 14px;
|
117
264
|
overflow: hidden;
|
118
|
-
font-family:
|
265
|
+
font-family: Regular;
|
119
266
|
}
|
120
267
|
|
121
268
|
main {
|
@@ -185,7 +332,7 @@ main {
|
|
185
332
|
width: 100%;
|
186
333
|
height: 100%;
|
187
334
|
}
|
188
|
-
|
335
|
+
.versionPart {
|
189
336
|
padding: 4px 4px 7px;
|
190
337
|
text-align: center;
|
191
338
|
background: #0c1115;
|
@@ -208,8 +355,8 @@ main {
|
|
208
355
|
}
|
209
356
|
.tools:hover {
|
210
357
|
background-color: #07ab67;
|
211
|
-
}
|
212
|
-
|
358
|
+
}
|
359
|
+
.sliderContainer {
|
213
360
|
position: relative;
|
214
361
|
}
|
215
362
|
.slider {
|
@@ -280,7 +427,7 @@ main {
|
|
280
427
|
width: 0px !important;
|
281
428
|
font-size: 0px !important;
|
282
429
|
padding: 0px !important;
|
283
|
-
}
|
430
|
+
}
|
284
431
|
.mainMenu {
|
285
432
|
padding: 10px;
|
286
433
|
cursor: pointer;
|
@@ -404,9 +551,9 @@ main {
|
|
404
551
|
}
|
405
552
|
|
406
553
|
section {
|
407
|
-
border:
|
554
|
+
border: 15px solid #333;
|
408
555
|
position: relative;
|
409
|
-
|
556
|
+
border-radius: 16px;
|
410
557
|
transition:width 0.2ms;
|
411
558
|
}
|
412
559
|
.iframe {
|
@@ -437,17 +584,12 @@ section {
|
|
437
584
|
}
|
438
585
|
.ccontent {
|
439
586
|
background-color: #fff;
|
587
|
+
padding: 5px 20px 0px 20px;
|
440
588
|
overflow: auto;
|
441
|
-
/* padding: 0 24px; */
|
442
|
-
/* width: 100%; */
|
443
|
-
}
|
444
|
-
.ccontent .propsTableContainer{
|
445
|
-
padding: 0 24px;
|
446
589
|
}
|
447
590
|
|
448
591
|
.cheadertitle {
|
449
|
-
|
450
|
-
font-weight: 700;
|
592
|
+
font-family: Semibold;
|
451
593
|
font-size: 21px;
|
452
594
|
margin-right: 30px;
|
453
595
|
color: #0c1015;
|
@@ -490,26 +632,22 @@ section {
|
|
490
632
|
fill: #fff;
|
491
633
|
}
|
492
634
|
.propsTable {
|
493
|
-
margin:
|
635
|
+
margin: 40px auto;
|
636
|
+
border: 1px solid #ebedf0;
|
494
637
|
font-size: 14px;
|
495
|
-
/* border-radius: 10px; */
|
496
638
|
line-height: 1.5;
|
497
639
|
empty-cells: show;
|
498
640
|
}
|
499
641
|
.tableHeader {
|
500
|
-
border-left: 1px solid #e0e8ef;
|
501
|
-
border-right: 1px solid #e0e8ef;
|
502
|
-
border-bottom: 1px solid #e0e8ef;
|
503
642
|
display: flex;
|
504
643
|
flex-direction: row;
|
505
644
|
}
|
506
645
|
.brR {
|
507
646
|
white-space: nowrap;
|
508
|
-
color: #
|
509
|
-
font-
|
510
|
-
|
511
|
-
|
512
|
-
padding: 14px 24px !important;
|
647
|
+
color: #5c6b77;
|
648
|
+
font-weight: 500;
|
649
|
+
background: rgba(0, 0, 0, 0.02);
|
650
|
+
padding: 16px 24px;
|
513
651
|
text-align: left;
|
514
652
|
}
|
515
653
|
.tableHeaderNB {
|
@@ -524,9 +662,10 @@ section {
|
|
524
662
|
text-overflow: ellipsis;
|
525
663
|
word-wrap: normal;
|
526
664
|
word-break: break-word;
|
527
|
-
|
665
|
+
border-right: 1px solid #ebedf0;
|
666
|
+
padding: 16px 24px;
|
528
667
|
text-align: left;
|
529
|
-
|
668
|
+
border-bottom: 1px solid #ebedf0;
|
530
669
|
}
|
531
670
|
.tableHeaderNB span {
|
532
671
|
border-bottom-width: 0;
|
@@ -611,7 +750,7 @@ section {
|
|
611
750
|
line-height: 30px;
|
612
751
|
cursor: pointer;
|
613
752
|
margin-right: 10px;
|
614
|
-
border-radius:
|
753
|
+
border-radius: 2px;
|
615
754
|
transition: all 0.1s;
|
616
755
|
}
|
617
756
|
.infoactive,
|
@@ -780,14 +919,15 @@ section {
|
|
780
919
|
}
|
781
920
|
.toolOptions{
|
782
921
|
background: #333;
|
783
|
-
border-radius:
|
922
|
+
border-radius: 12px;
|
923
|
+
margin: 5px 0;
|
784
924
|
}
|
785
925
|
.toolarea{
|
786
926
|
overflow: auto;
|
787
927
|
}
|
788
928
|
.range{
|
789
929
|
width: 500px;
|
790
|
-
padding:
|
930
|
+
padding: 15px 0;
|
791
931
|
position: relative;
|
792
932
|
margin-left: 20px;
|
793
933
|
flex: .5;
|
@@ -880,110 +1020,3 @@ section {
|
|
880
1020
|
bottom: 0;
|
881
1021
|
background:#fff;
|
882
1022
|
}
|
883
|
-
|
884
|
-
.compName {
|
885
|
-
font-size: 20px;
|
886
|
-
font-weight: 600;
|
887
|
-
position: -webkit-sticky;
|
888
|
-
position: sticky;
|
889
|
-
top: 0px;
|
890
|
-
background-color: #fff;
|
891
|
-
padding: 5px 10px 5px 20px;
|
892
|
-
border-radius: 5px;
|
893
|
-
box-shadow: 0 0 5px #d5dde7 inset;
|
894
|
-
border: 1px solid #d5dde7;
|
895
|
-
margin-top: 10px
|
896
|
-
}
|
897
|
-
|
898
|
-
.tableHeader:last-child {
|
899
|
-
/* border-bottom: none; */
|
900
|
-
}
|
901
|
-
|
902
|
-
.tableHeader:first-child {
|
903
|
-
position: -webkit-sticky;
|
904
|
-
position: sticky;
|
905
|
-
border-top: 1px solid #e0e8ef;
|
906
|
-
top: 41px;
|
907
|
-
}
|
908
|
-
|
909
|
-
/* .brR:first-child {
|
910
|
-
border-top-left-radius: 10px;
|
911
|
-
}
|
912
|
-
|
913
|
-
.brR:last-child {
|
914
|
-
border-top-right-radius: 10px;
|
915
|
-
} */
|
916
|
-
.typeTag {
|
917
|
-
display: inline-block;
|
918
|
-
border-radius: 4px;
|
919
|
-
padding: 0 4px
|
920
|
-
}
|
921
|
-
.stringType{
|
922
|
-
color: #0a73eb;
|
923
|
-
background-color: rgba(10, 115, 235, 0.1);
|
924
|
-
border: 1px solid #0a73eb
|
925
|
-
}
|
926
|
-
.boolType{
|
927
|
-
color: #e47016;
|
928
|
-
background-color: rgba(228, 112, 22, 0.1);
|
929
|
-
border: 1px solid #e47016;
|
930
|
-
}
|
931
|
-
.funcType{
|
932
|
-
color: #da2323;
|
933
|
-
background-color: rgba(218, 35, 35, 0.1);
|
934
|
-
border: 1px solid #da2323
|
935
|
-
}
|
936
|
-
.oneOfType, .oneOfTypeType{
|
937
|
-
color: #b36000;
|
938
|
-
background-color: #fff2e1;
|
939
|
-
border: 1px solid #ffa606
|
940
|
-
}
|
941
|
-
|
942
|
-
.objectType{
|
943
|
-
color: #0ba53d;
|
944
|
-
background-color: rgba(11, 165, 61, 0.1);
|
945
|
-
border: 1px solid #0ba53d;
|
946
|
-
}
|
947
|
-
|
948
|
-
.elementType{
|
949
|
-
color: #06b7ce;
|
950
|
-
background-color: rgba(35, 209, 218, 0.1);
|
951
|
-
border: 1px solid #23d1da
|
952
|
-
}
|
953
|
-
|
954
|
-
.arrayType{
|
955
|
-
color: #ce0656;
|
956
|
-
background-color: rgba(218, 35, 172, 0.1);
|
957
|
-
border: 1px solid #da237f
|
958
|
-
}
|
959
|
-
|
960
|
-
.shapeType{
|
961
|
-
color: #8705eb;
|
962
|
-
background-color: rgba(166, 35, 218, 0.1);
|
963
|
-
border: 1px solid #b523da
|
964
|
-
}
|
965
|
-
|
966
|
-
.numberType{
|
967
|
-
color: #6306ce;
|
968
|
-
background-color: rgba(124, 35, 218, 0.1);
|
969
|
-
border: 1px solid #7c23da
|
970
|
-
}
|
971
|
-
|
972
|
-
.isRequired{
|
973
|
-
color: #d46262;
|
974
|
-
}
|
975
|
-
|
976
|
-
.isNotRequired{
|
977
|
-
color: #0ba53d;
|
978
|
-
}
|
979
|
-
|
980
|
-
|
981
|
-
.CodeTag,
|
982
|
-
.CodeTag * {
|
983
|
-
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
984
|
-
line-height: 1.6;
|
985
|
-
letter-spacing: 0.1px;
|
986
|
-
font-size: 14px;
|
987
|
-
word-wrap: break-word;
|
988
|
-
white-space: pre-wrap;
|
989
|
-
}
|