@chaoswise/ui 3.0.1 → 3.0.2
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.
- package/config/babel/antdComs-nouse.js +51 -0
- package/config/babel/formily.js +22 -0
- package/config/babel/index.js +9 -0
- package/config/city/citys.js +1964 -0
- package/config/swc.js +5 -0
- package/config/theme/CWTheme.js +427 -0
- package/config/theme/chart.dark.js +394 -0
- package/config/theme/chart.light.js +3 -0
- package/config/theme/common.less +161 -0
- package/config/theme/dark.js +784 -0
- package/config/theme/dark.less +80 -0
- package/config/theme/default.js +717 -0
- package/config/theme/default.less +144 -0
- package/config/theme/style/color/bezierEasing.less +110 -0
- package/config/theme/style/color/colorPalette.less +85 -0
- package/config/theme/style/color/colors.less +162 -0
- package/config/theme/style/color/tinyColor.less +1184 -0
- package/config/theme/style/compact.less +4 -0
- package/config/theme/style/components.less +65 -0
- package/config/theme/style/core/base.less +10 -0
- package/config/theme/style/core/global.less +491 -0
- package/config/theme/style/core/iconfont.less +22 -0
- package/config/theme/style/core/index.less +5 -0
- package/config/theme/style/core/motion/fade.less +34 -0
- package/config/theme/style/core/motion/move.less +129 -0
- package/config/theme/style/core/motion/other.less +51 -0
- package/config/theme/style/core/motion/slide.less +129 -0
- package/config/theme/style/core/motion/zoom.less +179 -0
- package/config/theme/style/core/motion.less +22 -0
- package/config/theme/style/css.js +3 -0
- package/config/theme/style/dark.less +4 -0
- package/config/theme/style/default.css +1784 -0
- package/config/theme/style/default.less +4 -0
- package/config/theme/style/index-pure.less +2 -0
- package/config/theme/style/index.css +1784 -0
- package/config/theme/style/index.d.ts +1 -0
- package/config/theme/style/index.js +3 -0
- package/config/theme/style/index.less +3 -0
- package/config/theme/style/mixins/box.less +7 -0
- package/config/theme/style/mixins/clearfix.less +16 -0
- package/config/theme/style/mixins/compatibility.less +13 -0
- package/config/theme/style/mixins/customize.less +181 -0
- package/config/theme/style/mixins/iconfont.less +28 -0
- package/config/theme/style/mixins/index.less +14 -0
- package/config/theme/style/mixins/modal-mask.less +30 -0
- package/config/theme/style/mixins/motion.less +33 -0
- package/config/theme/style/mixins/operation-unit.less +16 -0
- package/config/theme/style/mixins/reset.less +11 -0
- package/config/theme/style/mixins/rounded-arrow.less +44 -0
- package/config/theme/style/mixins/size.less +10 -0
- package/config/theme/style/mixins/typography.less +58 -0
- package/config/theme/style/themes/compact.less +295 -0
- package/config/theme/style/themes/dark.less +457 -0
- package/config/theme/style/themes/default.less +1080 -0
- package/config/theme/style/themes/index.less +7 -0
- package/config/theme/style/themes/variable.less +1135 -0
- package/config/theme/style/variable.less +4 -0
- package/package.json +1 -2
package/config/swc.js
ADDED
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"color":
|
|
3
|
+
// 原设计色板
|
|
4
|
+
// ["#1e82ff","#ffa560","#7707e1","#d4ff6c","#3246ff","#ff8a00","#ffdb08","#afff6c","#57b7ff","#ffdf00","#ff3332","#6fff6c","#1b7fff","#ff6160","#fff66e","#6cffbd","#60bfff"]
|
|
5
|
+
// antv-g2 第一套色板10色
|
|
6
|
+
["#5B8FF9","#61DDAA","#65789B","#F6BD16","#7262fd","#78D3F8","#9661BC","#F6903D","#008685","#F08BB4"]
|
|
7
|
+
// antv-g2 第一套色板20色
|
|
8
|
+
// ["#5B8FF9","#CDDDFD","#61DDAA","#CDF3E4","#65789B","#CED4DE","#F6BD16","#FCEBB9","#7262fd","#D3CEFD","#78D3F8","#D3EEF9","#9661BC","#DECFEA","#F6903D","#FFE0C7","#008685","#BBDEDE","#F08BB4","#FFE0ED"]
|
|
9
|
+
,
|
|
10
|
+
"backgroundColor": "rgba(252,252,252,0)",
|
|
11
|
+
"textStyle": {},
|
|
12
|
+
"title": {
|
|
13
|
+
"textStyle": {
|
|
14
|
+
"color": "#333333"
|
|
15
|
+
},
|
|
16
|
+
"subtextStyle": {
|
|
17
|
+
"color": "#999999"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"line": {
|
|
21
|
+
"itemStyle": {
|
|
22
|
+
"borderWidth": "1"
|
|
23
|
+
},
|
|
24
|
+
"lineStyle": {
|
|
25
|
+
"width": "2"
|
|
26
|
+
},
|
|
27
|
+
"symbolSize": "7",
|
|
28
|
+
"symbol": "emptyCircle",
|
|
29
|
+
"smooth": true
|
|
30
|
+
},
|
|
31
|
+
"radar": {
|
|
32
|
+
"itemStyle": {
|
|
33
|
+
"borderWidth": "1"
|
|
34
|
+
},
|
|
35
|
+
"lineStyle": {
|
|
36
|
+
"width": "2"
|
|
37
|
+
},
|
|
38
|
+
"symbolSize": "7",
|
|
39
|
+
"symbol": "emptyCircle",
|
|
40
|
+
"smooth": true
|
|
41
|
+
},
|
|
42
|
+
"bar": {
|
|
43
|
+
"itemStyle": {
|
|
44
|
+
"barBorderWidth": "0",
|
|
45
|
+
"barBorderColor": "#ffffff"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"pie": {
|
|
49
|
+
"itemStyle": {
|
|
50
|
+
"borderWidth": "0",
|
|
51
|
+
"borderColor": "#ffffff"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"scatter": {
|
|
55
|
+
"itemStyle": {
|
|
56
|
+
"borderWidth": "1",
|
|
57
|
+
"borderColor": "#ffffff"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"boxplot": {
|
|
61
|
+
"itemStyle": {
|
|
62
|
+
"borderWidth": "1",
|
|
63
|
+
"borderColor": "#ffffff"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"parallel": {
|
|
67
|
+
"itemStyle": {
|
|
68
|
+
"borderWidth": "1",
|
|
69
|
+
"borderColor": "#ffffff"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"sankey": {
|
|
73
|
+
"itemStyle": {
|
|
74
|
+
"borderWidth": "1",
|
|
75
|
+
"borderColor": "#ffffff"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"funnel": {
|
|
79
|
+
"itemStyle": {
|
|
80
|
+
"borderWidth": "1",
|
|
81
|
+
"borderColor": "#ffffff"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"gauge": {
|
|
85
|
+
"itemStyle": {
|
|
86
|
+
"borderWidth": "1",
|
|
87
|
+
"borderColor": "#ffffff"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"candlestick": {
|
|
91
|
+
"itemStyle": {
|
|
92
|
+
"color": "#e6a0d2",
|
|
93
|
+
"color0": "transparent",
|
|
94
|
+
"borderColor": "#e6a0d2",
|
|
95
|
+
"borderColor0": "#3fb1e3",
|
|
96
|
+
"borderWidth": "2"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"graph": {
|
|
100
|
+
"itemStyle": {
|
|
101
|
+
"borderWidth": "1",
|
|
102
|
+
"borderColor": "#ffffff"
|
|
103
|
+
},
|
|
104
|
+
"lineStyle": {
|
|
105
|
+
"width": "1",
|
|
106
|
+
"color": "#cccccc"
|
|
107
|
+
},
|
|
108
|
+
"symbolSize": "7",
|
|
109
|
+
"symbol": "emptyCircle",
|
|
110
|
+
"smooth": true,
|
|
111
|
+
"color": [
|
|
112
|
+
"#3fb1e3",
|
|
113
|
+
"#6be6c1",
|
|
114
|
+
"#626c91",
|
|
115
|
+
"#a0a7e6",
|
|
116
|
+
"#c4ebad",
|
|
117
|
+
"#96dee8"
|
|
118
|
+
],
|
|
119
|
+
"label": {
|
|
120
|
+
"color": "#ffffff"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"map": {
|
|
124
|
+
"itemStyle": {
|
|
125
|
+
"normal": {
|
|
126
|
+
"areaColor": "#eeeeee",
|
|
127
|
+
"borderColor": "#aaaaaa",
|
|
128
|
+
"borderWidth": 0.5
|
|
129
|
+
},
|
|
130
|
+
"emphasis": {
|
|
131
|
+
"areaColor": "rgba(63,177,227,0.25)",
|
|
132
|
+
"borderColor": "#3fb1e3",
|
|
133
|
+
"borderWidth": 1
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"label": {
|
|
137
|
+
"normal": {
|
|
138
|
+
"textStyle": {
|
|
139
|
+
"color": "#ffffff"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"emphasis": {
|
|
143
|
+
"textStyle": {
|
|
144
|
+
"color": "#3fb1e3"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"geo": {
|
|
150
|
+
"itemStyle": {
|
|
151
|
+
"normal": {
|
|
152
|
+
"areaColor": "#eeeeee",
|
|
153
|
+
"borderColor": "#aaaaaa",
|
|
154
|
+
"borderWidth": 0.5
|
|
155
|
+
},
|
|
156
|
+
"emphasis": {
|
|
157
|
+
"areaColor": "rgba(63,177,227,0.25)",
|
|
158
|
+
"borderColor": "#3fb1e3",
|
|
159
|
+
"borderWidth": 1
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"label": {
|
|
163
|
+
"normal": {
|
|
164
|
+
"textStyle": {
|
|
165
|
+
"color": "#ffffff"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"emphasis": {
|
|
169
|
+
"textStyle": {
|
|
170
|
+
"color": "#3fb1e3"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"categoryAxis": {
|
|
176
|
+
"axisLine": {
|
|
177
|
+
"show": true,
|
|
178
|
+
"lineStyle": {
|
|
179
|
+
"color": "#cccccc"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"axisTick": {
|
|
183
|
+
"show": true,
|
|
184
|
+
"lineStyle": {
|
|
185
|
+
"color": "#cccccc"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"axisLabel": {
|
|
189
|
+
"show": true,
|
|
190
|
+
"textStyle": {
|
|
191
|
+
"color": "#777777"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"splitLine": {
|
|
195
|
+
"show": true,
|
|
196
|
+
"lineStyle": {
|
|
197
|
+
"color": [
|
|
198
|
+
"#eeeeee"
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"splitArea": {
|
|
203
|
+
"show": false,
|
|
204
|
+
"areaStyle": {
|
|
205
|
+
"color": [
|
|
206
|
+
"rgba(250,250,250,0.05)",
|
|
207
|
+
"rgba(200,200,200,0.02)"
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"valueAxis": {
|
|
213
|
+
"axisLine": {
|
|
214
|
+
"show": true,
|
|
215
|
+
"lineStyle": {
|
|
216
|
+
"color": "#cccccc"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"axisTick": {
|
|
220
|
+
"show": true,
|
|
221
|
+
"lineStyle": {
|
|
222
|
+
"color": "#cccccc"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"axisLabel": {
|
|
226
|
+
"show": true,
|
|
227
|
+
"textStyle": {
|
|
228
|
+
"color": "#777777"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"splitLine": {
|
|
232
|
+
"show": true,
|
|
233
|
+
"lineStyle": {
|
|
234
|
+
"color": [
|
|
235
|
+
"#eeeeee"
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"splitArea": {
|
|
240
|
+
"show": false,
|
|
241
|
+
"areaStyle": {
|
|
242
|
+
"color": [
|
|
243
|
+
"rgba(250,250,250,0.05)",
|
|
244
|
+
"rgba(200,200,200,0.02)"
|
|
245
|
+
]
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"logAxis": {
|
|
250
|
+
"axisLine": {
|
|
251
|
+
"show": true,
|
|
252
|
+
"lineStyle": {
|
|
253
|
+
"color": "#cccccc"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"axisTick": {
|
|
257
|
+
"show": true,
|
|
258
|
+
"lineStyle": {
|
|
259
|
+
"color": "#cccccc"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"axisLabel": {
|
|
263
|
+
"show": true,
|
|
264
|
+
"textStyle": {
|
|
265
|
+
"color": "#777777"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"splitLine": {
|
|
269
|
+
"show": true,
|
|
270
|
+
"lineStyle": {
|
|
271
|
+
"color": [
|
|
272
|
+
"#eeeeee"
|
|
273
|
+
]
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"splitArea": {
|
|
277
|
+
"show": false,
|
|
278
|
+
"areaStyle": {
|
|
279
|
+
"color": [
|
|
280
|
+
"rgba(250,250,250,0.05)",
|
|
281
|
+
"rgba(200,200,200,0.02)"
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"timeAxis": {
|
|
287
|
+
"axisLine": {
|
|
288
|
+
"show": true,
|
|
289
|
+
"lineStyle": {
|
|
290
|
+
"color": "#cccccc"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"axisTick": {
|
|
294
|
+
"show": true,
|
|
295
|
+
"lineStyle": {
|
|
296
|
+
"color": "#cccccc"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"axisLabel": {
|
|
300
|
+
"show": true,
|
|
301
|
+
"textStyle": {
|
|
302
|
+
"color": "#777777"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"splitLine": {
|
|
306
|
+
"show": true,
|
|
307
|
+
"lineStyle": {
|
|
308
|
+
"color": [
|
|
309
|
+
"#eeeeee"
|
|
310
|
+
]
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"splitArea": {
|
|
314
|
+
"show": false,
|
|
315
|
+
"areaStyle": {
|
|
316
|
+
"color": [
|
|
317
|
+
"rgba(250,250,250,0.05)",
|
|
318
|
+
"rgba(200,200,200,0.02)"
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"toolbox": {
|
|
324
|
+
"iconStyle": {
|
|
325
|
+
"normal": {
|
|
326
|
+
"borderColor": "#888888"
|
|
327
|
+
},
|
|
328
|
+
"emphasis": {
|
|
329
|
+
"borderColor": "#666666"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"legend": {
|
|
334
|
+
"textStyle": {
|
|
335
|
+
"color": "#999999"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"tooltip": {
|
|
339
|
+
"backgroundColor": "rgba(255, 255, 255, .95)",
|
|
340
|
+
"padding": [5, 12, 5, 12],
|
|
341
|
+
"extraCssText": "box-shadow: 0 3px 6px -4px rgba(0,0,0,0.12), 0 6px 16px 0 rgba(0,0,0,0.08), 0 9px 28px 8px rgba(0,0,0,0.05);border-radius: 2px",
|
|
342
|
+
"textStyle": {
|
|
343
|
+
"color": "rgba(0, 0, 0, .65)",
|
|
344
|
+
"fontSize": 12,
|
|
345
|
+
},
|
|
346
|
+
"axisPointer": {
|
|
347
|
+
"lineStyle": {
|
|
348
|
+
"color": "#cccccc",
|
|
349
|
+
"width": 1
|
|
350
|
+
},
|
|
351
|
+
"crossStyle": {
|
|
352
|
+
"color": "#cccccc",
|
|
353
|
+
"width": 1
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"timeline": {
|
|
358
|
+
"lineStyle": {
|
|
359
|
+
"color": "#626c91",
|
|
360
|
+
"width": 1
|
|
361
|
+
},
|
|
362
|
+
"itemStyle": {
|
|
363
|
+
"normal": {
|
|
364
|
+
"color": "#d0f9ff",
|
|
365
|
+
"borderWidth": 1
|
|
366
|
+
},
|
|
367
|
+
"emphasis": {
|
|
368
|
+
"color": "#626c91"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"controlStyle": {
|
|
372
|
+
"normal": {
|
|
373
|
+
"color": "#626c91",
|
|
374
|
+
"borderColor": "#626c91",
|
|
375
|
+
"borderWidth": 0.5
|
|
376
|
+
},
|
|
377
|
+
"emphasis": {
|
|
378
|
+
"color": "#626c91",
|
|
379
|
+
"borderColor": "#626c91",
|
|
380
|
+
"borderWidth": 0.5
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"checkpointStyle": {
|
|
384
|
+
"color": "#3fb1e3",
|
|
385
|
+
"borderColor": "#3fb1e3"
|
|
386
|
+
},
|
|
387
|
+
"label": {
|
|
388
|
+
"normal": {
|
|
389
|
+
"textStyle": {
|
|
390
|
+
"color": "#626c91"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"emphasis": {
|
|
394
|
+
"textStyle": {
|
|
395
|
+
"color": "#626c91"
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"visualMap": {
|
|
401
|
+
"color": [
|
|
402
|
+
"#2a99c9",
|
|
403
|
+
"#afe8ff",
|
|
404
|
+
"#333333"
|
|
405
|
+
]
|
|
406
|
+
},
|
|
407
|
+
"dataZoom": {
|
|
408
|
+
"backgroundColor": "rgba(255,255,255,0)",
|
|
409
|
+
"dataBackgroundColor": "rgba(222,222,222,1)",
|
|
410
|
+
"fillerColor": "rgba(91,143,249,0.15)",
|
|
411
|
+
"handleColor": "#cccccc",
|
|
412
|
+
"handleSize": "100%",
|
|
413
|
+
"textStyle": {
|
|
414
|
+
"color": "#999999"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"markPoint": {
|
|
418
|
+
"label": {
|
|
419
|
+
"color": "#ffffff"
|
|
420
|
+
},
|
|
421
|
+
"emphasis": {
|
|
422
|
+
"label": {
|
|
423
|
+
"color": "#ffffff"
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|