@lark-apaas/miaoda-core 0.1.0-alpha.2 → 0.1.0-alpha.21
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/lib/apis/dataloom.d.ts +1 -1
- package/lib/apis/dataloom.js +2 -2
- package/lib/apis/hooks/useAppInfo.d.ts +1 -0
- package/lib/apis/hooks/useAppInfo.js +1 -0
- package/lib/components/AppContainer/IframeBridge.d.ts +1 -0
- package/lib/components/AppContainer/IframeBridge.js +31 -18
- package/lib/components/AppContainer/LogInterceptor.d.ts +1 -0
- package/lib/components/AppContainer/LogInterceptor.js +44 -0
- package/lib/components/AppContainer/PageHoc.js +28 -8
- package/lib/components/AppContainer/childApi.d.ts +5 -0
- package/lib/components/AppContainer/childApi.js +20 -0
- package/lib/components/AppContainer/index.js +1 -1
- package/lib/components/ErrorRender/index.js +5 -5
- package/lib/components/NotFoundRender/index.js +3 -3
- package/lib/components/SidebarNav/DrawerNav.d.ts +1 -1
- package/lib/components/SidebarNav/DropdownNav.d.ts +1 -1
- package/lib/components/SidebarNav/Sidebar.d.ts +1 -1
- package/lib/components/TopNav/BottomNav.d.ts +1 -1
- package/lib/components/TopNav/TitleBar.js +6 -3
- package/lib/components/TopNav/TopNav.d.ts +1 -1
- package/lib/components/TopNav/TopNav.js +2 -2
- package/lib/components/User/UserDisplay.d.ts +1 -1
- package/lib/components/User/UserSelect.js +2 -1
- package/lib/components/User/UserWithAvatar.d.ts +1 -1
- package/lib/components/common/LogoInfo.js +2 -2
- package/lib/components/common/UserAvatarLayout.d.ts +1 -1
- package/lib/components/theme/ThemeProvider.d.ts +2 -2
- package/lib/components/theme/ThemeProvider.js +3 -3
- package/lib/components/theme/constants.d.ts +1 -1
- package/lib/components/theme/constants.js +2 -1
- package/lib/components/theme/ui-config.d.ts +1 -49
- package/lib/components/theme/ui-config.js +1 -757
- package/lib/components/theme/util.d.ts +3 -3
- package/lib/components/theme/util.js +2 -2
- package/lib/hooks/index.d.ts +1 -1
- package/lib/hooks/index.js +1 -1
- package/lib/hooks/{useCurrentAppInfo.d.ts → useAppInfo.d.ts} +1 -1
- package/lib/hooks/{useCurrentAppInfo.js → useAppInfo.js} +6 -5
- package/lib/hooks/useCurrentUserProfile.js +34 -2
- package/lib/hooks/useLogout.js +14 -0
- package/lib/index.css +1 -0
- package/lib/inspector.dev.css +10 -0
- package/lib/integrations/dataloom.d.ts +2 -1
- package/lib/integrations/dataloom.js +22 -8
- package/lib/integrations/generateImage.js +17 -2
- package/lib/integrations/generateTextStream.d.ts +0 -5
- package/lib/integrations/generateTextStream.js +24 -9
- package/lib/integrations/getAppInfo.d.ts +1 -1
- package/lib/integrations/getAppInfo.js +12 -2
- package/lib/tailwind-theme.css +1 -101
- package/lib/theme-layer.css +3 -0
- package/lib/types/common.d.ts +0 -7
- package/lib/types/iframe-events.d.ts +45 -0
- package/lib/types/iframe-events.js +0 -0
- package/lib/types/index.d.ts +3 -0
- package/lib/utils/getAppId.d.ts +1 -6
- package/lib/utils/getAppId.js +4 -2
- package/lib/utils/getCsrfToken.d.ts +5 -0
- package/lib/utils/getCsrfToken.js +10 -0
- package/lib/utils/getInitialInfo.d.ts +20 -0
- package/lib/utils/getInitialInfo.js +32 -0
- package/lib/utils/getParentOrigin.js +2 -2
- package/lib/utils/getUserProfile.js +7 -1
- package/lib/utils/postMessage.d.ts +8 -0
- package/lib/utils/postMessage.js +11 -0
- package/lib/utils/utils.d.ts +8 -0
- package/lib/utils/utils.js +8 -1
- package/package.json +9 -7
- package/lib/apis/hooks/useCurrentAppInfo.d.ts +0 -1
- package/lib/apis/hooks/useCurrentAppInfo.js +0 -1
@@ -1,758 +1,2 @@
|
|
1
|
-
|
2
|
-
version: '1.0.0',
|
3
|
-
common: {
|
4
|
-
fontSize: {
|
5
|
-
type: 'select',
|
6
|
-
options: [
|
7
|
-
{
|
8
|
-
value: 'text-xs',
|
9
|
-
label: 'xs(12px)',
|
10
|
-
rawValue: '12'
|
11
|
-
},
|
12
|
-
{
|
13
|
-
value: 'text-sm',
|
14
|
-
label: 'sm(14px)',
|
15
|
-
rawValue: '14'
|
16
|
-
},
|
17
|
-
{
|
18
|
-
value: 'text-base',
|
19
|
-
label: 'base(16px)',
|
20
|
-
rawValue: '16'
|
21
|
-
},
|
22
|
-
{
|
23
|
-
value: 'text-lg',
|
24
|
-
label: 'lg(18px)',
|
25
|
-
rawValue: '18'
|
26
|
-
},
|
27
|
-
{
|
28
|
-
value: 'text-xl',
|
29
|
-
label: 'xl(20px)',
|
30
|
-
rawValue: '20'
|
31
|
-
},
|
32
|
-
{
|
33
|
-
value: 'text-2xl',
|
34
|
-
label: '2xl(24px)',
|
35
|
-
rawValue: '24'
|
36
|
-
},
|
37
|
-
{
|
38
|
-
value: 'text-3xl',
|
39
|
-
label: '3xl(30px)',
|
40
|
-
rawValue: '30'
|
41
|
-
},
|
42
|
-
{
|
43
|
-
value: 'text-4xl',
|
44
|
-
label: '4xl(36px)',
|
45
|
-
rawValue: '36'
|
46
|
-
},
|
47
|
-
{
|
48
|
-
value: 'text-5xl',
|
49
|
-
label: '5xl(48px)',
|
50
|
-
rawValue: '48'
|
51
|
-
},
|
52
|
-
{
|
53
|
-
value: 'text-6xl',
|
54
|
-
label: '6xl(60px)',
|
55
|
-
rawValue: '60'
|
56
|
-
},
|
57
|
-
{
|
58
|
-
value: 'text-7xl',
|
59
|
-
label: '7xl(72px)',
|
60
|
-
rawValue: '72'
|
61
|
-
},
|
62
|
-
{
|
63
|
-
value: 'text-8xl',
|
64
|
-
label: '8xl(96px)',
|
65
|
-
rawValue: '96'
|
66
|
-
},
|
67
|
-
{
|
68
|
-
value: 'text-9xl',
|
69
|
-
label: '9xl(128px)',
|
70
|
-
rawValue: '128'
|
71
|
-
}
|
72
|
-
]
|
73
|
-
},
|
74
|
-
fontWeight: {
|
75
|
-
type: 'select',
|
76
|
-
options: [
|
77
|
-
{
|
78
|
-
value: 'font-thin',
|
79
|
-
label: '极细(Thin)',
|
80
|
-
rawValue: '100'
|
81
|
-
},
|
82
|
-
{
|
83
|
-
value: 'font-extralight',
|
84
|
-
label: '极轻(Extra Light)',
|
85
|
-
rawValue: '200'
|
86
|
-
},
|
87
|
-
{
|
88
|
-
value: 'font-light',
|
89
|
-
label: '轻(Light)',
|
90
|
-
rawValue: '300'
|
91
|
-
},
|
92
|
-
{
|
93
|
-
value: 'font-normal',
|
94
|
-
label: '常规(Normal)',
|
95
|
-
rawValue: '400'
|
96
|
-
},
|
97
|
-
{
|
98
|
-
value: 'font-medium',
|
99
|
-
label: '中粗(Medium)',
|
100
|
-
rawValue: '500'
|
101
|
-
},
|
102
|
-
{
|
103
|
-
value: 'font-semibold',
|
104
|
-
label: '半粗(Semi Bold)',
|
105
|
-
rawValue: '600'
|
106
|
-
},
|
107
|
-
{
|
108
|
-
value: 'font-bold',
|
109
|
-
label: '粗(Bold)',
|
110
|
-
rawValue: '700'
|
111
|
-
},
|
112
|
-
{
|
113
|
-
value: 'font-extrabold',
|
114
|
-
label: '极粗(Extra Bold)',
|
115
|
-
rawValue: '800'
|
116
|
-
},
|
117
|
-
{
|
118
|
-
value: 'font-black',
|
119
|
-
label: '黑体(Black)',
|
120
|
-
rawValue: '900'
|
121
|
-
}
|
122
|
-
]
|
123
|
-
},
|
124
|
-
borderRadius: {
|
125
|
-
type: 'select',
|
126
|
-
options: [
|
127
|
-
{
|
128
|
-
value: 'rounded-none',
|
129
|
-
label: 'none(0px)',
|
130
|
-
rawValue: '0'
|
131
|
-
},
|
132
|
-
{
|
133
|
-
value: 'rounded-sm',
|
134
|
-
label: 'sm (2px)',
|
135
|
-
rawValue: '2'
|
136
|
-
},
|
137
|
-
{
|
138
|
-
value: 'rounded',
|
139
|
-
label: 's (4px)',
|
140
|
-
rawValue: '4'
|
141
|
-
},
|
142
|
-
{
|
143
|
-
value: 'rounded-md',
|
144
|
-
label: 'm (6px)',
|
145
|
-
rawValue: '6'
|
146
|
-
},
|
147
|
-
{
|
148
|
-
value: 'rounded-lg',
|
149
|
-
label: 'l (8px)',
|
150
|
-
rawValue: '8'
|
151
|
-
},
|
152
|
-
{
|
153
|
-
value: 'rounded-xl',
|
154
|
-
label: 'xl (12px)',
|
155
|
-
rawValue: '12'
|
156
|
-
},
|
157
|
-
{
|
158
|
-
value: 'rounded-full',
|
159
|
-
label: 'Full',
|
160
|
-
rawValue: '9999'
|
161
|
-
}
|
162
|
-
]
|
163
|
-
},
|
164
|
-
borderWidth: {
|
165
|
-
type: 'select',
|
166
|
-
options: [
|
167
|
-
{
|
168
|
-
value: 'border-0',
|
169
|
-
label: '0px',
|
170
|
-
rawValue: '0'
|
171
|
-
},
|
172
|
-
{
|
173
|
-
value: 'border',
|
174
|
-
label: '1px',
|
175
|
-
rawValue: '1'
|
176
|
-
},
|
177
|
-
{
|
178
|
-
value: 'border-2',
|
179
|
-
label: '2px',
|
180
|
-
rawValue: '2'
|
181
|
-
},
|
182
|
-
{
|
183
|
-
value: 'border-4',
|
184
|
-
label: '4px',
|
185
|
-
rawValue: '4'
|
186
|
-
},
|
187
|
-
{
|
188
|
-
value: 'border-8',
|
189
|
-
label: '8px',
|
190
|
-
rawValue: '8'
|
191
|
-
}
|
192
|
-
]
|
193
|
-
},
|
194
|
-
textAlign: {
|
195
|
-
type: 'select',
|
196
|
-
options: [
|
197
|
-
{
|
198
|
-
value: 'text-left',
|
199
|
-
label: 'Left',
|
200
|
-
rawValue: 'left'
|
201
|
-
},
|
202
|
-
{
|
203
|
-
value: 'text-center',
|
204
|
-
label: 'Center',
|
205
|
-
rawValue: 'center'
|
206
|
-
},
|
207
|
-
{
|
208
|
-
value: 'text-right',
|
209
|
-
label: 'Right',
|
210
|
-
rawValue: 'right'
|
211
|
-
},
|
212
|
-
{
|
213
|
-
value: 'text-justify',
|
214
|
-
label: 'Justify',
|
215
|
-
rawValue: 'justify'
|
216
|
-
}
|
217
|
-
]
|
218
|
-
},
|
219
|
-
padding: {
|
220
|
-
type: 'spacing',
|
221
|
-
options: [
|
222
|
-
{
|
223
|
-
label: '0',
|
224
|
-
value: '0',
|
225
|
-
rawValue: '0'
|
226
|
-
},
|
227
|
-
{
|
228
|
-
label: '4',
|
229
|
-
value: '4',
|
230
|
-
rawValue: '4'
|
231
|
-
},
|
232
|
-
{
|
233
|
-
label: '8',
|
234
|
-
value: '8',
|
235
|
-
rawValue: '8'
|
236
|
-
},
|
237
|
-
{
|
238
|
-
label: '12',
|
239
|
-
value: '12',
|
240
|
-
rawValue: '12'
|
241
|
-
},
|
242
|
-
{
|
243
|
-
label: '16',
|
244
|
-
value: '16',
|
245
|
-
rawValue: '16'
|
246
|
-
},
|
247
|
-
{
|
248
|
-
label: '20',
|
249
|
-
value: '20',
|
250
|
-
rawValue: '20'
|
251
|
-
},
|
252
|
-
{
|
253
|
-
label: '24',
|
254
|
-
value: '24',
|
255
|
-
rawValue: '24'
|
256
|
-
},
|
257
|
-
{
|
258
|
-
label: '32',
|
259
|
-
value: '32',
|
260
|
-
rawValue: '32'
|
261
|
-
},
|
262
|
-
{
|
263
|
-
label: '36',
|
264
|
-
value: '36',
|
265
|
-
rawValue: '36'
|
266
|
-
},
|
267
|
-
{
|
268
|
-
label: '40',
|
269
|
-
value: '40',
|
270
|
-
rawValue: '40'
|
271
|
-
}
|
272
|
-
]
|
273
|
-
},
|
274
|
-
margin: {
|
275
|
-
type: 'spacing',
|
276
|
-
options: [
|
277
|
-
{
|
278
|
-
label: '0',
|
279
|
-
value: '0',
|
280
|
-
rawValue: '0'
|
281
|
-
},
|
282
|
-
{
|
283
|
-
label: '4',
|
284
|
-
value: '4',
|
285
|
-
rawValue: '4'
|
286
|
-
},
|
287
|
-
{
|
288
|
-
label: '8',
|
289
|
-
value: '8',
|
290
|
-
rawValue: '8'
|
291
|
-
},
|
292
|
-
{
|
293
|
-
label: '12',
|
294
|
-
value: '12',
|
295
|
-
rawValue: '12'
|
296
|
-
},
|
297
|
-
{
|
298
|
-
label: '16',
|
299
|
-
value: '16',
|
300
|
-
rawValue: '16'
|
301
|
-
},
|
302
|
-
{
|
303
|
-
label: '20',
|
304
|
-
value: '20',
|
305
|
-
rawValue: '20'
|
306
|
-
},
|
307
|
-
{
|
308
|
-
label: '24',
|
309
|
-
value: '24',
|
310
|
-
rawValue: '24'
|
311
|
-
},
|
312
|
-
{
|
313
|
-
label: '32',
|
314
|
-
value: '32',
|
315
|
-
rawValue: '32'
|
316
|
-
},
|
317
|
-
{
|
318
|
-
label: '36',
|
319
|
-
value: '36',
|
320
|
-
rawValue: '36'
|
321
|
-
},
|
322
|
-
{
|
323
|
-
label: '40',
|
324
|
-
value: '40',
|
325
|
-
rawValue: '40'
|
326
|
-
}
|
327
|
-
]
|
328
|
-
},
|
329
|
-
color: {
|
330
|
-
type: 'color-picker',
|
331
|
-
recommendColors: [
|
332
|
-
{
|
333
|
-
title: '中性色',
|
334
|
-
options: [
|
335
|
-
{
|
336
|
-
value: 'text-neutral-00',
|
337
|
-
label: 'neutral-00',
|
338
|
-
type: 'tailwind',
|
339
|
-
rawValue: '#ffffff'
|
340
|
-
},
|
341
|
-
{
|
342
|
-
value: 'text-neutral-50',
|
343
|
-
label: 'neutral-50',
|
344
|
-
type: 'tailwind',
|
345
|
-
rawValue: '#f5f6f7'
|
346
|
-
},
|
347
|
-
{
|
348
|
-
value: 'text-neutral-100',
|
349
|
-
label: 'neutral-100',
|
350
|
-
type: 'tailwind',
|
351
|
-
rawValue: '#f2f3f5'
|
352
|
-
},
|
353
|
-
{
|
354
|
-
value: 'text-neutral-200',
|
355
|
-
label: 'neutral-200',
|
356
|
-
type: 'tailwind',
|
357
|
-
rawValue: '#eff0f1'
|
358
|
-
},
|
359
|
-
{
|
360
|
-
value: 'text-neutral-300',
|
361
|
-
label: 'neutral-300',
|
362
|
-
type: 'tailwind',
|
363
|
-
rawValue: '#dee0e3'
|
364
|
-
},
|
365
|
-
{
|
366
|
-
value: 'text-neutral-400',
|
367
|
-
label: 'neutral-400',
|
368
|
-
type: 'tailwind',
|
369
|
-
rawValue: '#d0d3d6'
|
370
|
-
},
|
371
|
-
{
|
372
|
-
value: 'text-neutral-500',
|
373
|
-
label: 'neutral-500',
|
374
|
-
type: 'tailwind',
|
375
|
-
rawValue: '#bbbfc4'
|
376
|
-
},
|
377
|
-
{
|
378
|
-
value: 'text-neutral-600',
|
379
|
-
label: 'neutral-600',
|
380
|
-
type: 'tailwind',
|
381
|
-
rawValue: '#8f959e'
|
382
|
-
},
|
383
|
-
{
|
384
|
-
value: 'text-neutral-650',
|
385
|
-
label: 'neutral-650',
|
386
|
-
type: 'tailwind',
|
387
|
-
rawValue: '#51565d'
|
388
|
-
},
|
389
|
-
{
|
390
|
-
value: 'text-neutral-700',
|
391
|
-
label: 'neutral-700',
|
392
|
-
type: 'tailwind',
|
393
|
-
rawValue: '#646a73'
|
394
|
-
},
|
395
|
-
{
|
396
|
-
value: 'text-neutral-800',
|
397
|
-
label: 'neutral-800',
|
398
|
-
type: 'tailwind',
|
399
|
-
rawValue: '#373c43'
|
400
|
-
},
|
401
|
-
{
|
402
|
-
value: 'text-neutral-900',
|
403
|
-
label: 'neutral-900',
|
404
|
-
type: 'tailwind',
|
405
|
-
rawValue: '#2b2f36'
|
406
|
-
},
|
407
|
-
{
|
408
|
-
value: 'text-neutral-950',
|
409
|
-
label: 'neutral-950',
|
410
|
-
type: 'tailwind',
|
411
|
-
rawValue: '#1f2329'
|
412
|
-
},
|
413
|
-
{
|
414
|
-
value: 'text-neutral-1000',
|
415
|
-
label: 'neutral-1000',
|
416
|
-
type: 'tailwind',
|
417
|
-
rawValue: '#000000'
|
418
|
-
}
|
419
|
-
]
|
420
|
-
}
|
421
|
-
]
|
422
|
-
},
|
423
|
-
backgroundColor: {
|
424
|
-
type: 'color-picker',
|
425
|
-
recommendColors: [
|
426
|
-
{
|
427
|
-
title: '中性色',
|
428
|
-
options: [
|
429
|
-
{
|
430
|
-
value: 'bg-neutral-00',
|
431
|
-
label: 'neutral-00',
|
432
|
-
type: 'tailwind',
|
433
|
-
rawValue: '#ffffff'
|
434
|
-
},
|
435
|
-
{
|
436
|
-
value: 'bg-neutral-50',
|
437
|
-
label: 'neutral-50',
|
438
|
-
type: 'tailwind',
|
439
|
-
rawValue: '#f5f6f7'
|
440
|
-
},
|
441
|
-
{
|
442
|
-
value: 'bg-neutral-100',
|
443
|
-
label: 'neutral-100',
|
444
|
-
type: 'tailwind',
|
445
|
-
rawValue: '#f2f3f5'
|
446
|
-
},
|
447
|
-
{
|
448
|
-
value: 'bg-neutral-200',
|
449
|
-
label: 'neutral-200',
|
450
|
-
type: 'tailwind',
|
451
|
-
rawValue: '#eff0f1'
|
452
|
-
},
|
453
|
-
{
|
454
|
-
value: 'bg-neutral-300',
|
455
|
-
label: 'neutral-300',
|
456
|
-
type: 'tailwind',
|
457
|
-
rawValue: '#dee0e3'
|
458
|
-
},
|
459
|
-
{
|
460
|
-
value: 'bg-neutral-400',
|
461
|
-
label: 'neutral-400',
|
462
|
-
type: 'tailwind',
|
463
|
-
rawValue: '#d0d3d6'
|
464
|
-
},
|
465
|
-
{
|
466
|
-
value: 'bg-neutral-500',
|
467
|
-
label: 'neutral-500',
|
468
|
-
type: 'tailwind',
|
469
|
-
rawValue: '#bbbfc4'
|
470
|
-
},
|
471
|
-
{
|
472
|
-
value: 'bg-neutral-600',
|
473
|
-
label: 'neutral-600',
|
474
|
-
type: 'tailwind',
|
475
|
-
rawValue: '#8f959e'
|
476
|
-
},
|
477
|
-
{
|
478
|
-
value: 'bg-neutral-650',
|
479
|
-
label: 'neutral-650',
|
480
|
-
type: 'tailwind',
|
481
|
-
rawValue: '#51565d'
|
482
|
-
},
|
483
|
-
{
|
484
|
-
value: 'bg-neutral-700',
|
485
|
-
label: 'neutral-700',
|
486
|
-
type: 'tailwind',
|
487
|
-
rawValue: '#646a73'
|
488
|
-
},
|
489
|
-
{
|
490
|
-
value: 'bg-neutral-800',
|
491
|
-
label: 'neutral-800',
|
492
|
-
type: 'tailwind',
|
493
|
-
rawValue: '#373c43'
|
494
|
-
},
|
495
|
-
{
|
496
|
-
value: 'bg-neutral-900',
|
497
|
-
label: 'neutral-900',
|
498
|
-
type: 'tailwind',
|
499
|
-
rawValue: '#2b2f36'
|
500
|
-
},
|
501
|
-
{
|
502
|
-
value: 'bg-neutral-950',
|
503
|
-
label: 'neutral-950',
|
504
|
-
type: 'tailwind',
|
505
|
-
rawValue: '#1f2329'
|
506
|
-
},
|
507
|
-
{
|
508
|
-
value: 'bg-neutral-1000',
|
509
|
-
label: 'neutral-1000',
|
510
|
-
type: 'tailwind',
|
511
|
-
rawValue: '#000000'
|
512
|
-
}
|
513
|
-
]
|
514
|
-
}
|
515
|
-
]
|
516
|
-
},
|
517
|
-
borderColor: {
|
518
|
-
type: 'color-picker',
|
519
|
-
recommendColors: [
|
520
|
-
{
|
521
|
-
title: '中性色',
|
522
|
-
options: [
|
523
|
-
{
|
524
|
-
value: 'border-neutral-00',
|
525
|
-
label: 'neutral-00',
|
526
|
-
type: 'tailwind',
|
527
|
-
rawValue: '#ffffff'
|
528
|
-
},
|
529
|
-
{
|
530
|
-
value: 'border-neutral-50',
|
531
|
-
label: 'neutral-50',
|
532
|
-
type: 'tailwind',
|
533
|
-
rawValue: '#f5f6f7'
|
534
|
-
},
|
535
|
-
{
|
536
|
-
value: 'border-neutral-100',
|
537
|
-
label: 'neutral-100',
|
538
|
-
type: 'tailwind',
|
539
|
-
rawValue: '#f2f3f5'
|
540
|
-
},
|
541
|
-
{
|
542
|
-
value: 'border-neutral-200',
|
543
|
-
label: 'neutral-200',
|
544
|
-
type: 'tailwind',
|
545
|
-
rawValue: '#eff0f1'
|
546
|
-
},
|
547
|
-
{
|
548
|
-
value: 'border-neutral-300',
|
549
|
-
label: 'neutral-300',
|
550
|
-
type: 'tailwind',
|
551
|
-
rawValue: '#dee0e3'
|
552
|
-
},
|
553
|
-
{
|
554
|
-
value: 'border-neutral-400',
|
555
|
-
label: 'neutral-400',
|
556
|
-
type: 'tailwind',
|
557
|
-
rawValue: '#d0d3d6'
|
558
|
-
},
|
559
|
-
{
|
560
|
-
value: 'border-neutral-500',
|
561
|
-
label: 'neutral-500',
|
562
|
-
type: 'tailwind',
|
563
|
-
rawValue: '#bbbfc4'
|
564
|
-
},
|
565
|
-
{
|
566
|
-
value: 'border-neutral-600',
|
567
|
-
label: 'neutral-600',
|
568
|
-
type: 'tailwind',
|
569
|
-
rawValue: '#8f959e'
|
570
|
-
},
|
571
|
-
{
|
572
|
-
value: 'border-neutral-650',
|
573
|
-
label: 'neutral-650',
|
574
|
-
type: 'tailwind',
|
575
|
-
rawValue: '#51565d'
|
576
|
-
},
|
577
|
-
{
|
578
|
-
value: 'border-neutral-700',
|
579
|
-
label: 'neutral-700',
|
580
|
-
type: 'tailwind',
|
581
|
-
rawValue: '#646a73'
|
582
|
-
},
|
583
|
-
{
|
584
|
-
value: 'border-neutral-800',
|
585
|
-
label: 'neutral-800',
|
586
|
-
type: 'tailwind',
|
587
|
-
rawValue: '#373c43'
|
588
|
-
},
|
589
|
-
{
|
590
|
-
value: 'border-neutral-900',
|
591
|
-
label: 'neutral-900',
|
592
|
-
type: 'tailwind',
|
593
|
-
rawValue: '#2b2f36'
|
594
|
-
},
|
595
|
-
{
|
596
|
-
value: 'border-neutral-950',
|
597
|
-
label: 'neutral-950',
|
598
|
-
type: 'tailwind',
|
599
|
-
rawValue: '#1f2329'
|
600
|
-
},
|
601
|
-
{
|
602
|
-
value: 'border-neutral-1000',
|
603
|
-
label: 'neutral-1000',
|
604
|
-
type: 'tailwind',
|
605
|
-
rawValue: '#000000'
|
606
|
-
}
|
607
|
-
]
|
608
|
-
}
|
609
|
-
]
|
610
|
-
}
|
611
|
-
},
|
612
|
-
tokens: {
|
613
|
-
'blue-50': '#f0f4ff',
|
614
|
-
'blue-100': '#e0e9ff',
|
615
|
-
'blue-200': '#c2d4ff',
|
616
|
-
'blue-300': '#94b4ff',
|
617
|
-
'blue-400': '#7aa2ff',
|
618
|
-
'blue-500': '#5083fb',
|
619
|
-
'blue-600': '#336df4',
|
620
|
-
'blue-700': '#1456f0',
|
621
|
-
'blue-800': '#0442d2',
|
622
|
-
'blue-900': '#002f9e',
|
623
|
-
'blue-950': '#002270',
|
624
|
-
'indigo-50': '#f2f3fd',
|
625
|
-
'indigo-100': '#e9eafb',
|
626
|
-
'indigo-200': '#cccff9',
|
627
|
-
'indigo-300': '#abb0f2',
|
628
|
-
'indigo-400': '#959bee',
|
629
|
-
'indigo-500': '#757df0',
|
630
|
-
'indigo-600': '#5b65f5',
|
631
|
-
'indigo-700': '#4752e6',
|
632
|
-
'indigo-800': '#333dcc',
|
633
|
-
'indigo-900': '#1e27a4',
|
634
|
-
'indigo-950': '#151b70',
|
635
|
-
'purple-50': '#f5f0fe',
|
636
|
-
'purple-100': '#efe6fe',
|
637
|
-
'purple-200': '#dcc9fd',
|
638
|
-
'purple-300': '#c8a9fc',
|
639
|
-
'purple-400': '#b791fa',
|
640
|
-
'purple-500': '#9f6ff1',
|
641
|
-
'purple-600': '#8d55ed',
|
642
|
-
'purple-700': '#7a35f0',
|
643
|
-
'purple-800': '#611fd6',
|
644
|
-
'purple-900': '#4811a6',
|
645
|
-
'purple-950': '#2f0080',
|
646
|
-
'violet-50': '#fceefc',
|
647
|
-
'violet-100': '#f9e2f9',
|
648
|
-
'violet-200': '#f3c4f3',
|
649
|
-
'violet-300': '#e59ce5',
|
650
|
-
'violet-400': '#de81de',
|
651
|
-
'violet-500': '#cf5ecf',
|
652
|
-
'violet-600': '#bf3dbf',
|
653
|
-
'violet-700': '#a630a6',
|
654
|
-
'violet-800': '#872787',
|
655
|
-
'violet-900': '#6a116a',
|
656
|
-
'violet-950': '#520052',
|
657
|
-
'pink-50': '#fef0f8',
|
658
|
-
'pink-100': '#fee2f2',
|
659
|
-
'pink-200': '#f8c4e1',
|
660
|
-
'pink-300': '#f598cc',
|
661
|
-
'pink-400': '#eb78b8',
|
662
|
-
'pink-500': '#df58a5',
|
663
|
-
'pink-600': '#cc398c',
|
664
|
-
'pink-700': '#b82879',
|
665
|
-
'pink-800': '#9d1562',
|
666
|
-
'pink-900': '#730744',
|
667
|
-
'pink-950': '#550c35',
|
668
|
-
'red-50': '#fef0f0',
|
669
|
-
'red-100': '#fee3e2',
|
670
|
-
'red-200': '#fdc6c4',
|
671
|
-
'red-300': '#f89e9b',
|
672
|
-
'red-400': '#ff7570',
|
673
|
-
'red-500': '#f54a45',
|
674
|
-
'red-600': '#e22e28',
|
675
|
-
'red-700': '#c02a26',
|
676
|
-
'red-800': '#a11c17',
|
677
|
-
'red-900': '#741915',
|
678
|
-
'red-950': '#590603',
|
679
|
-
'orange-50': '#fff3e5',
|
680
|
-
'orange-100': '#fee7cd',
|
681
|
-
'orange-200': '#fec48b',
|
682
|
-
'orange-300': '#ff9d4c',
|
683
|
-
'orange-400': '#ff811a',
|
684
|
-
'orange-500': '#ed6d0c',
|
685
|
-
'orange-600': '#c25705',
|
686
|
-
'orange-700': '#a44904',
|
687
|
-
'orange-800': '#853a05',
|
688
|
-
'orange-900': '#642b02',
|
689
|
-
'orange-950': '#3b1a02',
|
690
|
-
'yellow-50': '#fbf4df',
|
691
|
-
'yellow-100': '#faedc2',
|
692
|
-
'yellow-200': '#fcdf7e',
|
693
|
-
'yellow-300': '#fad355',
|
694
|
-
'yellow-400': '#ffc60a',
|
695
|
-
'yellow-500': '#d99904',
|
696
|
-
'yellow-600': '#ad7a03',
|
697
|
-
'yellow-700': '#865b03',
|
698
|
-
'yellow-800': '#6f4a01',
|
699
|
-
'yellow-900': '#573601',
|
700
|
-
'yellow-950': '#382201',
|
701
|
-
'amber-50': '#ffffdb',
|
702
|
-
'amber-100': '#fffca3',
|
703
|
-
'amber-200': '#fff67a',
|
704
|
-
'amber-300': '#fff258',
|
705
|
-
'amber-400': '#ffe928',
|
706
|
-
'amber-500': '#e5ce00',
|
707
|
-
'amber-600': '#c2a800',
|
708
|
-
'amber-700': '#8f7c00',
|
709
|
-
'amber-800': '#5c4f00',
|
710
|
-
'amber-900': '#423700',
|
711
|
-
'amber-950': '#2c2502',
|
712
|
-
'lime-50': '#f2f8d3',
|
713
|
-
'lime-100': '#e3f0a3',
|
714
|
-
'lime-200': '#c8dd5f',
|
715
|
-
'lime-300': '#a2c10b',
|
716
|
-
'lime-400': '#91ad00',
|
717
|
-
'lime-500': '#7b9207',
|
718
|
-
'lime-600': '#6b7f06',
|
719
|
-
'lime-700': '#5c6d08',
|
720
|
-
'lime-800': '#4a5804',
|
721
|
-
'lime-900': '#333d00',
|
722
|
-
'lime-950': '#262e00',
|
723
|
-
'green-50': '#e4fae1',
|
724
|
-
'green-100': '#d0f5ce',
|
725
|
-
'green-200': '#95e599',
|
726
|
-
'green-300': '#5cd168',
|
727
|
-
'green-400': '#35bd4b',
|
728
|
-
'green-500': '#32a645',
|
729
|
-
'green-600': '#258832',
|
730
|
-
'green-700': '#1a7526',
|
731
|
-
'green-800': '#0b6017',
|
732
|
-
'green-900': '#04430c',
|
733
|
-
'green-950': '#022c07',
|
734
|
-
'teal-50': '#e2f8f5',
|
735
|
-
'teal-100': '#c4f2ec',
|
736
|
-
'teal-200': '#6fe8d8',
|
737
|
-
'teal-300': '#33d6c0',
|
738
|
-
'teal-400': '#2dbeab',
|
739
|
-
'teal-500': '#10a893',
|
740
|
-
'teal-600': '#0f8575',
|
741
|
-
'teal-700': '#067062',
|
742
|
-
'teal-800': '#045d51',
|
743
|
-
'teal-900': '#03443b',
|
744
|
-
'teal-950': '#02312a',
|
745
|
-
'cyan-50': '#e7f8fe',
|
746
|
-
'cyan-100': '#caeffc',
|
747
|
-
'cyan-200': '#97dcfc',
|
748
|
-
'cyan-300': '#3ec3f7',
|
749
|
-
'cyan-400': '#25b0e7',
|
750
|
-
'cyan-500': '#1295ca',
|
751
|
-
'cyan-600': '#047fb0',
|
752
|
-
'cyan-700': '#076a94',
|
753
|
-
'cyan-800': '#0f587a',
|
754
|
-
'cyan-900': '#06415c',
|
755
|
-
'cyan-950': '#072b3d'
|
756
|
-
}
|
757
|
-
};
|
1
|
+
import { defaultUIConfig } from "@lark-apaas/miaoda-inspector";
|
758
2
|
export { defaultUIConfig };
|