@next-bricks/presentational 0.5.0 → 0.6.0
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/dist/bricks.json +8 -2
- package/dist/chunks/7544.6c618f99.js +2 -0
- package/dist/chunks/7544.6c618f99.js.map +1 -0
- package/dist/chunks/eo-card-item.4b660f3e.js +3 -0
- package/dist/chunks/eo-card-item.4b660f3e.js.LICENSE.txt +5 -0
- package/dist/chunks/eo-card-item.4b660f3e.js.map +1 -0
- package/dist/chunks/{main.c36209ba.js → main.14e6d203.js} +2 -2
- package/dist/chunks/{main.c36209ba.js.map → main.14e6d203.js.map} +1 -1
- package/dist/index.173232ca.js +2 -0
- package/dist/index.173232ca.js.map +1 -0
- package/dist/manifest.json +76 -0
- package/dist/types.json +295 -0
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/card-item/index.d.ts +91 -0
- package/dist-types/card-item/index.spec.d.ts +1 -0
- package/docs/eo-card-item.md +177 -0
- package/package.json +3 -3
- package/dist/chunks/9411.957c8dc4.js +0 -2
- package/dist/chunks/9411.957c8dc4.js.map +0 -1
- package/dist/index.64cb41fb.js +0 -2
- package/dist/index.64cb41fb.js.map +0 -1
package/dist/types.json
CHANGED
|
@@ -199,6 +199,301 @@
|
|
|
199
199
|
}
|
|
200
200
|
]
|
|
201
201
|
},
|
|
202
|
+
"eo-card-item": {
|
|
203
|
+
"properties": [
|
|
204
|
+
{
|
|
205
|
+
"name": "hasHeader",
|
|
206
|
+
"annotation": {
|
|
207
|
+
"type": "keyword",
|
|
208
|
+
"value": "boolean"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "cardTitle",
|
|
213
|
+
"annotation": {
|
|
214
|
+
"type": "keyword",
|
|
215
|
+
"value": "string"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "description",
|
|
220
|
+
"annotation": {
|
|
221
|
+
"type": "keyword",
|
|
222
|
+
"value": "string"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "auxiliaryText",
|
|
227
|
+
"annotation": {
|
|
228
|
+
"type": "keyword",
|
|
229
|
+
"value": "string"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "avatar",
|
|
234
|
+
"annotation": {
|
|
235
|
+
"type": "union",
|
|
236
|
+
"types": [
|
|
237
|
+
{
|
|
238
|
+
"type": "reference",
|
|
239
|
+
"typeName": {
|
|
240
|
+
"type": "identifier",
|
|
241
|
+
"name": "IconAvatar"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"type": "reference",
|
|
246
|
+
"typeName": {
|
|
247
|
+
"type": "identifier",
|
|
248
|
+
"name": "ImgAvatar"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "href",
|
|
256
|
+
"annotation": {
|
|
257
|
+
"type": "indexedAccess",
|
|
258
|
+
"objectType": {
|
|
259
|
+
"type": "reference",
|
|
260
|
+
"typeName": {
|
|
261
|
+
"type": "identifier",
|
|
262
|
+
"name": "LinkProps"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"indexType": {
|
|
266
|
+
"type": "jsLiteral",
|
|
267
|
+
"value": "href"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "url",
|
|
273
|
+
"annotation": {
|
|
274
|
+
"type": "indexedAccess",
|
|
275
|
+
"objectType": {
|
|
276
|
+
"type": "reference",
|
|
277
|
+
"typeName": {
|
|
278
|
+
"type": "identifier",
|
|
279
|
+
"name": "LinkProps"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"indexType": {
|
|
283
|
+
"type": "jsLiteral",
|
|
284
|
+
"value": "url"
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "target",
|
|
290
|
+
"annotation": {
|
|
291
|
+
"type": "indexedAccess",
|
|
292
|
+
"objectType": {
|
|
293
|
+
"type": "reference",
|
|
294
|
+
"typeName": {
|
|
295
|
+
"type": "identifier",
|
|
296
|
+
"name": "LinkProps"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"indexType": {
|
|
300
|
+
"type": "jsLiteral",
|
|
301
|
+
"value": "target"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "actions",
|
|
307
|
+
"annotation": {
|
|
308
|
+
"type": "array",
|
|
309
|
+
"elementType": {
|
|
310
|
+
"type": "reference",
|
|
311
|
+
"typeName": {
|
|
312
|
+
"type": "identifier",
|
|
313
|
+
"name": "ActionType"
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "hasExpandedArea1",
|
|
320
|
+
"annotation": {
|
|
321
|
+
"type": "keyword",
|
|
322
|
+
"value": "boolean"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "hasExpandedArea2",
|
|
327
|
+
"annotation": {
|
|
328
|
+
"type": "keyword",
|
|
329
|
+
"value": "boolean"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"events": [],
|
|
334
|
+
"methods": [],
|
|
335
|
+
"types": [
|
|
336
|
+
{
|
|
337
|
+
"type": "interface",
|
|
338
|
+
"name": "IconAvatar",
|
|
339
|
+
"body": [
|
|
340
|
+
{
|
|
341
|
+
"type": "propertySignature",
|
|
342
|
+
"key": {
|
|
343
|
+
"type": "identifier",
|
|
344
|
+
"name": "icon"
|
|
345
|
+
},
|
|
346
|
+
"annotation": {
|
|
347
|
+
"type": "reference",
|
|
348
|
+
"typeName": {
|
|
349
|
+
"type": "identifier",
|
|
350
|
+
"name": "GeneralIconProps"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"computed": false
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"type": "propertySignature",
|
|
357
|
+
"key": {
|
|
358
|
+
"type": "identifier",
|
|
359
|
+
"name": "color"
|
|
360
|
+
},
|
|
361
|
+
"annotation": {
|
|
362
|
+
"type": "keyword",
|
|
363
|
+
"value": "string"
|
|
364
|
+
},
|
|
365
|
+
"optional": true,
|
|
366
|
+
"computed": false
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"type": "propertySignature",
|
|
370
|
+
"key": {
|
|
371
|
+
"type": "identifier",
|
|
372
|
+
"name": "size"
|
|
373
|
+
},
|
|
374
|
+
"annotation": {
|
|
375
|
+
"type": "keyword",
|
|
376
|
+
"value": "number"
|
|
377
|
+
},
|
|
378
|
+
"optional": true,
|
|
379
|
+
"computed": false
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"type": "propertySignature",
|
|
383
|
+
"key": {
|
|
384
|
+
"type": "identifier",
|
|
385
|
+
"name": "shape"
|
|
386
|
+
},
|
|
387
|
+
"annotation": {
|
|
388
|
+
"type": "union",
|
|
389
|
+
"types": [
|
|
390
|
+
{
|
|
391
|
+
"type": "jsLiteral",
|
|
392
|
+
"value": "circle"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"type": "jsLiteral",
|
|
396
|
+
"value": "square"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"type": "jsLiteral",
|
|
400
|
+
"value": "round-square"
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
"optional": true,
|
|
405
|
+
"computed": false
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "propertySignature",
|
|
409
|
+
"key": {
|
|
410
|
+
"type": "identifier",
|
|
411
|
+
"name": "bgColor"
|
|
412
|
+
},
|
|
413
|
+
"annotation": {
|
|
414
|
+
"type": "keyword",
|
|
415
|
+
"value": "string"
|
|
416
|
+
},
|
|
417
|
+
"optional": true,
|
|
418
|
+
"computed": false
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"type": "interface",
|
|
424
|
+
"name": "ImgAvatar",
|
|
425
|
+
"body": [
|
|
426
|
+
{
|
|
427
|
+
"type": "propertySignature",
|
|
428
|
+
"key": {
|
|
429
|
+
"type": "identifier",
|
|
430
|
+
"name": "imgSrc"
|
|
431
|
+
},
|
|
432
|
+
"annotation": {
|
|
433
|
+
"type": "keyword",
|
|
434
|
+
"value": "string"
|
|
435
|
+
},
|
|
436
|
+
"computed": false
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"type": "propertySignature",
|
|
440
|
+
"key": {
|
|
441
|
+
"type": "identifier",
|
|
442
|
+
"name": "imgStyle"
|
|
443
|
+
},
|
|
444
|
+
"annotation": {
|
|
445
|
+
"type": "reference",
|
|
446
|
+
"typeName": {
|
|
447
|
+
"type": "identifier",
|
|
448
|
+
"name": "CSSProperties"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"optional": true,
|
|
452
|
+
"computed": false
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"type": "propertySignature",
|
|
456
|
+
"key": {
|
|
457
|
+
"type": "identifier",
|
|
458
|
+
"name": "shape"
|
|
459
|
+
},
|
|
460
|
+
"annotation": {
|
|
461
|
+
"type": "union",
|
|
462
|
+
"types": [
|
|
463
|
+
{
|
|
464
|
+
"type": "jsLiteral",
|
|
465
|
+
"value": "circle"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"type": "jsLiteral",
|
|
469
|
+
"value": "square"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"type": "jsLiteral",
|
|
473
|
+
"value": "round-square"
|
|
474
|
+
}
|
|
475
|
+
]
|
|
476
|
+
},
|
|
477
|
+
"optional": true,
|
|
478
|
+
"computed": false
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"type": "propertySignature",
|
|
482
|
+
"key": {
|
|
483
|
+
"type": "identifier",
|
|
484
|
+
"name": "bgColor"
|
|
485
|
+
},
|
|
486
|
+
"annotation": {
|
|
487
|
+
"type": "keyword",
|
|
488
|
+
"value": "string"
|
|
489
|
+
},
|
|
490
|
+
"optional": true,
|
|
491
|
+
"computed": false
|
|
492
|
+
}
|
|
493
|
+
]
|
|
494
|
+
}
|
|
495
|
+
]
|
|
496
|
+
},
|
|
202
497
|
"eo-alert": {
|
|
203
498
|
"properties": [
|
|
204
499
|
{
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { CSSProperties, Ref } from "react";
|
|
2
|
+
import { ReactNextElement } from "@next-core/react-element";
|
|
3
|
+
import type { LinkProps } from "@next-bricks/basic/link";
|
|
4
|
+
import type { GeneralIconProps } from "@next-bricks/icons/general-icon";
|
|
5
|
+
import type { ActionType } from "@next-bricks/basic/mini-actions";
|
|
6
|
+
import "@next-core/theme";
|
|
7
|
+
interface IconAvatar {
|
|
8
|
+
icon: GeneralIconProps;
|
|
9
|
+
color?: string;
|
|
10
|
+
size?: number;
|
|
11
|
+
shape?: "circle" | "square" | "round-square";
|
|
12
|
+
bgColor?: string;
|
|
13
|
+
}
|
|
14
|
+
interface ImgAvatar {
|
|
15
|
+
imgSrc: string;
|
|
16
|
+
imgStyle?: CSSProperties;
|
|
17
|
+
shape?: "circle" | "square" | "round-square";
|
|
18
|
+
bgColor?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface EoCardItemProps {
|
|
21
|
+
hasHeader?: boolean;
|
|
22
|
+
cardTitle: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
auxiliaryText?: string;
|
|
25
|
+
avatar?: IconAvatar | ImgAvatar;
|
|
26
|
+
href?: LinkProps["href"];
|
|
27
|
+
url?: LinkProps["url"];
|
|
28
|
+
target?: LinkProps["target"];
|
|
29
|
+
actions?: ActionType[];
|
|
30
|
+
hasExpandedArea1?: boolean;
|
|
31
|
+
hasExpandedArea2?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 信息类卡片 —— 通用卡片
|
|
35
|
+
* @slot expanded-area-1 - 扩展区域 1,通常放置标签信息
|
|
36
|
+
* @slot expanded-area-2 - 扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)
|
|
37
|
+
*/
|
|
38
|
+
export declare class EoCardItem extends ReactNextElement implements EoCardItemProps {
|
|
39
|
+
#private;
|
|
40
|
+
/**
|
|
41
|
+
* 是否有顶部
|
|
42
|
+
*/
|
|
43
|
+
accessor hasHeader: boolean | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* 卡片标题
|
|
46
|
+
*/
|
|
47
|
+
accessor cardTitle: string;
|
|
48
|
+
/**
|
|
49
|
+
* 描述信息
|
|
50
|
+
*/
|
|
51
|
+
accessor description: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* 顶部辅助文字
|
|
54
|
+
*/
|
|
55
|
+
accessor auxiliaryText: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* 图标
|
|
58
|
+
*/
|
|
59
|
+
accessor avatar: IconAvatar | ImgAvatar | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* 设置 `href` 时将使用原生 `<a>` 标签,通常用于外链的跳转
|
|
62
|
+
*/
|
|
63
|
+
accessor href: LinkProps["href"] | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* 链接地址
|
|
66
|
+
*/
|
|
67
|
+
accessor url: LinkProps["url"] | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* 链接跳转目标
|
|
70
|
+
*/
|
|
71
|
+
accessor target: LinkProps["target"] | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* 操作按钮组
|
|
74
|
+
*/
|
|
75
|
+
accessor actions: ActionType[] | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* 是否有扩展区域 1
|
|
78
|
+
*/
|
|
79
|
+
accessor hasExpandedArea1: boolean | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* 是否有扩展区域 2
|
|
82
|
+
*/
|
|
83
|
+
accessor hasExpandedArea2: boolean | undefined;
|
|
84
|
+
render(): JSX.Element;
|
|
85
|
+
}
|
|
86
|
+
interface EoCardItemComponentProps extends EoCardItemProps {
|
|
87
|
+
callback?: Ref<HTMLDivElement>;
|
|
88
|
+
onActionClick?: (action: ActionType) => void;
|
|
89
|
+
}
|
|
90
|
+
export declare function EoCardItemComponent(props: EoCardItemComponentProps): JSX.Element;
|
|
91
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.jsx";
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
信息类卡片 —— 通用卡片
|
|
2
|
+
|
|
3
|
+
## Examples
|
|
4
|
+
|
|
5
|
+
### Basic
|
|
6
|
+
|
|
7
|
+
```yaml preview
|
|
8
|
+
brick: eo-card-item
|
|
9
|
+
properties:
|
|
10
|
+
style:
|
|
11
|
+
width: 300px
|
|
12
|
+
hasHeader: true
|
|
13
|
+
auxiliaryText: 初级应用
|
|
14
|
+
cardTitle: 资源监控微应用
|
|
15
|
+
description: 资源监控微应用相关前后台
|
|
16
|
+
url: /test
|
|
17
|
+
target: _blank
|
|
18
|
+
avatar:
|
|
19
|
+
icon:
|
|
20
|
+
lib: easyops
|
|
21
|
+
category: default
|
|
22
|
+
icon: monitor
|
|
23
|
+
color: "#167be0"
|
|
24
|
+
size: 20
|
|
25
|
+
bgColor: var(--theme-geekblue-background)
|
|
26
|
+
actions:
|
|
27
|
+
- icon:
|
|
28
|
+
lib: antd
|
|
29
|
+
theme: outlined
|
|
30
|
+
icon: star
|
|
31
|
+
isDropdown: false
|
|
32
|
+
event: collect
|
|
33
|
+
- icon:
|
|
34
|
+
lib: antd
|
|
35
|
+
icon: copy
|
|
36
|
+
theme: outlined
|
|
37
|
+
text: 复制链接
|
|
38
|
+
isDropdown: true
|
|
39
|
+
event: copy
|
|
40
|
+
- icon:
|
|
41
|
+
lib: antd
|
|
42
|
+
icon: download
|
|
43
|
+
theme: outlined
|
|
44
|
+
text: 下载
|
|
45
|
+
isDropdown: true
|
|
46
|
+
disabled: true
|
|
47
|
+
event: download
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Single Expanded Area
|
|
51
|
+
|
|
52
|
+
```yaml preview gap
|
|
53
|
+
- brick: eo-card-item
|
|
54
|
+
properties:
|
|
55
|
+
style:
|
|
56
|
+
width: 300px
|
|
57
|
+
hasHeader: true
|
|
58
|
+
auxiliaryText: 初级应用
|
|
59
|
+
cardTitle: 资源监控微应用
|
|
60
|
+
description: 资源监控微应用相关前后台
|
|
61
|
+
avatar:
|
|
62
|
+
icon:
|
|
63
|
+
lib: easyops
|
|
64
|
+
category: default
|
|
65
|
+
icon: monitor
|
|
66
|
+
color: "#167be0"
|
|
67
|
+
size: 20
|
|
68
|
+
bgColor: var(--theme-geekblue-background)
|
|
69
|
+
slots:
|
|
70
|
+
expanded-area-1:
|
|
71
|
+
type: bricks
|
|
72
|
+
bricks:
|
|
73
|
+
- brick: eo-tag-list
|
|
74
|
+
properties:
|
|
75
|
+
size: small
|
|
76
|
+
list:
|
|
77
|
+
- text: IT 资源管理
|
|
78
|
+
key: IT_resource_management
|
|
79
|
+
color: gray
|
|
80
|
+
- text: 资源套餐
|
|
81
|
+
key: resource_package
|
|
82
|
+
color: gray
|
|
83
|
+
- text: 存储设备
|
|
84
|
+
key: storage_device
|
|
85
|
+
color: gray
|
|
86
|
+
- brick: eo-card-item
|
|
87
|
+
properties:
|
|
88
|
+
style:
|
|
89
|
+
width: 300px
|
|
90
|
+
hasHeader: true
|
|
91
|
+
auxiliaryText: 初级应用
|
|
92
|
+
cardTitle: 资源监控微应用
|
|
93
|
+
description: 资源监控微应用相关前后台
|
|
94
|
+
avatar:
|
|
95
|
+
icon:
|
|
96
|
+
lib: easyops
|
|
97
|
+
category: default
|
|
98
|
+
icon: monitor
|
|
99
|
+
color: "#167be0"
|
|
100
|
+
size: 20
|
|
101
|
+
bgColor: var(--theme-geekblue-background)
|
|
102
|
+
slots:
|
|
103
|
+
expanded-area-2:
|
|
104
|
+
type: bricks
|
|
105
|
+
bricks:
|
|
106
|
+
- brick: eo-flex-layout
|
|
107
|
+
properties:
|
|
108
|
+
style:
|
|
109
|
+
width: 100%
|
|
110
|
+
justifyContent: space-between
|
|
111
|
+
alignItems: center
|
|
112
|
+
children:
|
|
113
|
+
- brick: span
|
|
114
|
+
properties:
|
|
115
|
+
textContent: 张元 更新于 2 小时前
|
|
116
|
+
style:
|
|
117
|
+
color: var(--text-color-secondary)
|
|
118
|
+
- brick: eo-switch
|
|
119
|
+
properties:
|
|
120
|
+
size: small
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Multiple Expanded Area
|
|
124
|
+
|
|
125
|
+
```yaml preview gap
|
|
126
|
+
- brick: eo-card-item
|
|
127
|
+
properties:
|
|
128
|
+
style:
|
|
129
|
+
width: 300px
|
|
130
|
+
hasHeader: true
|
|
131
|
+
auxiliaryText: 初级应用
|
|
132
|
+
cardTitle: 资源监控微应用
|
|
133
|
+
description: 资源监控微应用相关前后台
|
|
134
|
+
avatar:
|
|
135
|
+
icon:
|
|
136
|
+
lib: easyops
|
|
137
|
+
category: default
|
|
138
|
+
icon: monitor
|
|
139
|
+
color: "#167be0"
|
|
140
|
+
size: 20
|
|
141
|
+
bgColor: var(--theme-geekblue-background)
|
|
142
|
+
slots:
|
|
143
|
+
expanded-area-1:
|
|
144
|
+
type: bricks
|
|
145
|
+
bricks:
|
|
146
|
+
- brick: eo-tag-list
|
|
147
|
+
properties:
|
|
148
|
+
size: small
|
|
149
|
+
list:
|
|
150
|
+
- text: IT 资源管理
|
|
151
|
+
key: IT_resource_management
|
|
152
|
+
color: gray
|
|
153
|
+
- text: 资源套餐
|
|
154
|
+
key: resource_package
|
|
155
|
+
color: gray
|
|
156
|
+
- text: 存储设备
|
|
157
|
+
key: storage_device
|
|
158
|
+
color: gray
|
|
159
|
+
expanded-area-2:
|
|
160
|
+
type: bricks
|
|
161
|
+
bricks:
|
|
162
|
+
- brick: eo-flex-layout
|
|
163
|
+
properties:
|
|
164
|
+
style:
|
|
165
|
+
width: 100%
|
|
166
|
+
justifyContent: space-between
|
|
167
|
+
alignItems: center
|
|
168
|
+
children:
|
|
169
|
+
- brick: span
|
|
170
|
+
properties:
|
|
171
|
+
textContent: 张元 更新于 2 小时前
|
|
172
|
+
style:
|
|
173
|
+
color: var(--text-color-secondary)
|
|
174
|
+
- brick: eo-switch
|
|
175
|
+
properties:
|
|
176
|
+
size: small
|
|
177
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"postpublish": "mv package.json.bak package.json"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@next-core/build-next-bricks": "^1.13.
|
|
37
|
+
"@next-core/build-next-bricks": "^1.13.2",
|
|
38
38
|
"@next-core/test-next": "^1.0.7",
|
|
39
39
|
"babel-plugin-prismjs": "^2.1.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "f1d29ebf93aac3b9e3a9ffbed716a15e0476b876"
|
|
42
42
|
}
|