@next-bricks/presentational 0.19.1 → 0.20.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.
@@ -64,79 +64,6 @@
64
64
  "description": "通用描述列表构件",
65
65
  "category": "text"
66
66
  },
67
- {
68
- "name": "eo-card-item",
69
- "properties": [
70
- {
71
- "name": "hasHeader",
72
- "description": "是否有顶部",
73
- "type": "boolean"
74
- },
75
- {
76
- "name": "cardTitle",
77
- "description": "卡片标题",
78
- "type": "string"
79
- },
80
- {
81
- "name": "description",
82
- "description": "描述信息",
83
- "type": "string"
84
- },
85
- {
86
- "name": "auxiliaryText",
87
- "description": "顶部辅助文字",
88
- "type": "string"
89
- },
90
- {
91
- "name": "avatar",
92
- "description": "图标",
93
- "attribute": false,
94
- "type": "IconAvatar | ImgAvatar"
95
- },
96
- {
97
- "name": "href",
98
- "description": "设置 `href` 时将使用原生 `<a>` 标签,通常用于外链的跳转",
99
- "type": "LinkProps[\"href\"]"
100
- },
101
- {
102
- "name": "url",
103
- "description": "链接地址",
104
- "attribute": false,
105
- "type": "LinkProps[\"url\"]"
106
- },
107
- {
108
- "name": "target",
109
- "description": "链接跳转目标",
110
- "type": "LinkProps[\"target\"]"
111
- },
112
- {
113
- "name": "actions",
114
- "description": "操作按钮组",
115
- "attribute": false,
116
- "type": "ActionType[]"
117
- },
118
- {
119
- "name": "styleType",
120
- "description": "卡片样式类型",
121
- "type": "\"grayish\""
122
- }
123
- ],
124
- "events": [],
125
- "slots": [
126
- {
127
- "name": "expanded-area-1",
128
- "description": "扩展区域 1,通常放置标签信息"
129
- },
130
- {
131
- "name": "expanded-area-2",
132
- "description": "扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)"
133
- }
134
- ],
135
- "methods": [],
136
- "parts": [],
137
- "description": "信息类卡片 —— 通用卡片",
138
- "category": "card-info"
139
- },
140
67
  {
141
68
  "name": "eo-alert",
142
69
  "alias": [
@@ -243,48 +170,6 @@
243
170
  "description": "代码展示",
244
171
  "category": "display-component"
245
172
  },
246
- {
247
- "name": "eo-divider",
248
- "properties": [
249
- {
250
- "name": "orientation",
251
- "description": "标题位置,在horizontal类型的分割线中使用",
252
- "default": "center",
253
- "attribute": false,
254
- "type": "OrientationType"
255
- },
256
- {
257
- "name": "dashed",
258
- "description": "是否虚线",
259
- "default": "false",
260
- "type": "boolean"
261
- },
262
- {
263
- "name": "type",
264
- "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
265
- "default": "\"horizontal\"",
266
- "type": "dividerType"
267
- },
268
- {
269
- "name": "proportion",
270
- "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
271
- "attribute": false,
272
- "type": "[number, number]"
273
- },
274
- {
275
- "name": "dividerStyle",
276
- "description": "分割线自定义样式",
277
- "attribute": false,
278
- "type": "CSSProperties"
279
- }
280
- ],
281
- "events": [],
282
- "slots": [],
283
- "methods": [],
284
- "parts": [],
285
- "description": "分割线",
286
- "category": "container-display"
287
- },
288
173
  {
289
174
  "name": "eo-pagination",
290
175
  "properties": [
@@ -335,6 +220,121 @@
335
220
  "description": "分页",
336
221
  "category": "navigation"
337
222
  },
223
+ {
224
+ "name": "eo-card-item",
225
+ "properties": [
226
+ {
227
+ "name": "hasHeader",
228
+ "description": "是否有顶部",
229
+ "type": "boolean"
230
+ },
231
+ {
232
+ "name": "cardTitle",
233
+ "description": "卡片标题",
234
+ "type": "string"
235
+ },
236
+ {
237
+ "name": "description",
238
+ "description": "描述信息",
239
+ "type": "string"
240
+ },
241
+ {
242
+ "name": "auxiliaryText",
243
+ "description": "顶部辅助文字",
244
+ "type": "string"
245
+ },
246
+ {
247
+ "name": "avatar",
248
+ "description": "图标",
249
+ "attribute": false,
250
+ "type": "IconAvatar | ImgAvatar"
251
+ },
252
+ {
253
+ "name": "href",
254
+ "description": "设置 `href` 时将使用原生 `<a>` 标签,通常用于外链的跳转",
255
+ "type": "LinkProps[\"href\"]"
256
+ },
257
+ {
258
+ "name": "url",
259
+ "description": "链接地址",
260
+ "attribute": false,
261
+ "type": "LinkProps[\"url\"]"
262
+ },
263
+ {
264
+ "name": "target",
265
+ "description": "链接跳转目标",
266
+ "type": "LinkProps[\"target\"]"
267
+ },
268
+ {
269
+ "name": "actions",
270
+ "description": "操作按钮组",
271
+ "attribute": false,
272
+ "type": "ActionType[]"
273
+ },
274
+ {
275
+ "name": "styleType",
276
+ "description": "卡片样式类型",
277
+ "type": "\"grayish\""
278
+ }
279
+ ],
280
+ "events": [],
281
+ "slots": [
282
+ {
283
+ "name": "expanded-area-1",
284
+ "description": "扩展区域 1,通常放置标签信息"
285
+ },
286
+ {
287
+ "name": "expanded-area-2",
288
+ "description": "扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)"
289
+ }
290
+ ],
291
+ "methods": [],
292
+ "parts": [],
293
+ "description": "信息类卡片 —— 通用卡片",
294
+ "category": "card-info"
295
+ },
296
+ {
297
+ "name": "eo-divider",
298
+ "properties": [
299
+ {
300
+ "name": "orientation",
301
+ "description": "标题位置,在horizontal类型的分割线中使用",
302
+ "default": "center",
303
+ "attribute": false,
304
+ "type": "OrientationType"
305
+ },
306
+ {
307
+ "name": "dashed",
308
+ "description": "是否虚线",
309
+ "default": "false",
310
+ "type": "boolean"
311
+ },
312
+ {
313
+ "name": "type",
314
+ "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
315
+ "default": "\"horizontal\"",
316
+ "type": "dividerType"
317
+ },
318
+ {
319
+ "name": "proportion",
320
+ "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
321
+ "attribute": false,
322
+ "type": "[number, number]"
323
+ },
324
+ {
325
+ "name": "dividerStyle",
326
+ "description": "分割线自定义样式",
327
+ "attribute": false,
328
+ "type": "CSSProperties"
329
+ }
330
+ ],
331
+ "events": [],
332
+ "slots": [],
333
+ "methods": [],
334
+ "parts": [],
335
+ "description": "分割线",
336
+ "category": "container-display"
337
+ },
338
338
  {
339
339
  "name": "eo-info-card-item",
340
340
  "properties": [
@@ -48,6 +48,9 @@
48
48
  color: green
49
49
 
50
50
  - brick: eo-divider
51
+ properties:
52
+ dividerStyle:
53
+ margin: 8px 0 4px 0
51
54
  - brick: eo-descriptions
52
55
  properties:
53
56
  descriptionTitle: 用户信息
@@ -107,6 +110,9 @@
107
110
  key: 2
108
111
  color: green
109
112
  - brick: eo-divider
113
+ properties:
114
+ dividerStyle:
115
+ margin: 8px 0 4px 0
110
116
  - brick: eo-descriptions
111
117
  properties:
112
118
  layout: vertical
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational",
3
- "version": "0.19.1",
3
+ "version": "0.20.0",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,5 +43,5 @@
43
43
  "@next-bricks/containers": "*",
44
44
  "@next-bricks/icons": "*"
45
45
  },
46
- "gitHead": "b17201cecb2e6a854856f9d161927798e065d408"
46
+ "gitHead": "beb302a90df42bdd8639d44d92972fa10e688458"
47
47
  }