whistle.mock-plugins 1.2.0-beta.1 → 1.2.0-beta.3
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.
|
@@ -81,8 +81,6 @@
|
|
|
81
81
|
|
|
82
82
|
/** */
|
|
83
83
|
|
|
84
|
-
/** */
|
|
85
|
-
|
|
86
84
|
/** */
|
|
87
85
|
|
|
88
86
|
/** */
|
|
@@ -99,6 +97,8 @@
|
|
|
99
97
|
|
|
100
98
|
/** */
|
|
101
99
|
|
|
100
|
+
/** */
|
|
101
|
+
|
|
102
102
|
/** */
|
|
103
103
|
|
|
104
104
|
/** */
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
FileTextOutlined,
|
|
8
8
|
MenuFoldOutlined,
|
|
9
9
|
MenuUnfoldOutlined,
|
|
10
|
-
|
|
10
|
+
ExperimentOutlined
|
|
11
11
|
} from '@ant-design/icons';
|
|
12
12
|
import { Link, useLocation } from 'react-router-dom';
|
|
13
13
|
import VersionModal from './VersionModal';
|
|
@@ -93,8 +93,11 @@ const AppLayout = ({ children }) => {
|
|
|
93
93
|
<Header className="app-header" style={{ background: colorBgContainer }}>
|
|
94
94
|
<div className="header-left">
|
|
95
95
|
<div className="logo-container">
|
|
96
|
-
<
|
|
97
|
-
|
|
96
|
+
<div className="logo-icon-group">
|
|
97
|
+
<ApiOutlined className="logo-icon logo-icon-primary" />
|
|
98
|
+
<ExperimentOutlined className="logo-icon logo-icon-secondary" />
|
|
99
|
+
</div>
|
|
100
|
+
<div className="logo-text">MockMaster</div>
|
|
98
101
|
</div>
|
|
99
102
|
<Button
|
|
100
103
|
type="text"
|
|
@@ -1319,8 +1319,8 @@ const InterfaceManagement = () => {
|
|
|
1319
1319
|
>
|
|
1320
1320
|
<Collapse
|
|
1321
1321
|
defaultActiveKey={
|
|
1322
|
-
editingInterface
|
|
1323
|
-
?
|
|
1322
|
+
editingInterface && editingInterface.proxyType === 'response'
|
|
1323
|
+
? ['3']
|
|
1324
1324
|
: ['1', '2', '3']
|
|
1325
1325
|
}
|
|
1326
1326
|
style={{ marginBottom: '16px' }}
|
|
@@ -221,10 +221,37 @@ body {
|
|
|
221
221
|
margin-right: 24px;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
.logo-icon-group {
|
|
225
|
+
position: relative;
|
|
226
|
+
width: 32px;
|
|
227
|
+
height: 32px;
|
|
228
|
+
margin-right: 12px;
|
|
229
|
+
display: flex;
|
|
230
|
+
align-items: center;
|
|
231
|
+
justify-content: center;
|
|
232
|
+
}
|
|
233
|
+
|
|
224
234
|
.logo-icon {
|
|
225
235
|
font-size: 24px;
|
|
226
236
|
color: #1890ff;
|
|
227
|
-
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.logo-icon-primary {
|
|
240
|
+
position: relative;
|
|
241
|
+
z-index: 2;
|
|
242
|
+
font-size: 22px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.logo-icon-secondary {
|
|
246
|
+
position: absolute;
|
|
247
|
+
top: -2px;
|
|
248
|
+
right: -6px;
|
|
249
|
+
font-size: 16px;
|
|
250
|
+
color: #52c41a;
|
|
251
|
+
background: white;
|
|
252
|
+
border-radius: 50%;
|
|
253
|
+
box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
|
|
254
|
+
padding: 2px;
|
|
228
255
|
}
|
|
229
256
|
|
|
230
257
|
.logo-text {
|
|
@@ -232,6 +259,10 @@ body {
|
|
|
232
259
|
font-size: 18px;
|
|
233
260
|
font-weight: 600;
|
|
234
261
|
white-space: nowrap;
|
|
262
|
+
background: linear-gradient(135deg, #1890ff, #52c41a);
|
|
263
|
+
-webkit-background-clip: text;
|
|
264
|
+
-webkit-text-fill-color: transparent;
|
|
265
|
+
letter-spacing: -0.5px;
|
|
235
266
|
}
|
|
236
267
|
|
|
237
268
|
.collapse-button {
|
|
@@ -332,6 +363,11 @@ body {
|
|
|
332
363
|
}
|
|
333
364
|
|
|
334
365
|
.dark-theme .logo-text,
|
|
335
|
-
.dark-theme .logo-icon {
|
|
366
|
+
.dark-theme .logo-icon-primary {
|
|
336
367
|
color: #177ddc;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.dark-theme .logo-icon-secondary {
|
|
371
|
+
color: #49aa19;
|
|
372
|
+
background: #141414;
|
|
337
373
|
}
|