@next-bricks/presentational 1.7.9 → 1.7.11

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.
Files changed (112) hide show
  1. package/dist/bricks.json +17 -16
  2. package/dist/chunks/114.fa787e75.js +2 -0
  3. package/dist/chunks/{114.24fa5213.js.map → 114.fa787e75.js.map} +1 -1
  4. package/dist/chunks/1889.62073b7d.js +2 -0
  5. package/dist/chunks/1889.62073b7d.js.map +1 -0
  6. package/dist/chunks/{1940.9690ed0e.js → 1940.022c1df7.js} +2 -2
  7. package/dist/chunks/{1940.9690ed0e.js.map → 1940.022c1df7.js.map} +1 -1
  8. package/dist/chunks/{2277.4ae01e54.js → 2277.e9a19a01.js} +2 -2
  9. package/dist/chunks/{2277.4ae01e54.js.map → 2277.e9a19a01.js.map} +1 -1
  10. package/dist/chunks/{3171.59d5c494.js → 3171.085647ae.js} +2 -2
  11. package/dist/chunks/{3171.59d5c494.js.map → 3171.085647ae.js.map} +1 -1
  12. package/dist/chunks/3933.b6ba8c27.js +2 -0
  13. package/dist/chunks/{3933.946ea536.js.map → 3933.b6ba8c27.js.map} +1 -1
  14. package/dist/chunks/4196.ecf9cfe6.js +2 -0
  15. package/dist/chunks/{4196.d95f14c7.js.map → 4196.ecf9cfe6.js.map} +1 -1
  16. package/dist/chunks/{4658.30d06441.js → 4658.22c3d0c4.js} +2 -2
  17. package/dist/chunks/{4658.30d06441.js.map → 4658.22c3d0c4.js.map} +1 -1
  18. package/dist/chunks/4837.9ecac754.js +2 -0
  19. package/dist/chunks/4837.9ecac754.js.map +1 -0
  20. package/dist/chunks/5399.284603e5.js +2 -0
  21. package/dist/chunks/5399.284603e5.js.map +1 -0
  22. package/dist/chunks/{5552.37cfa24f.js → 5552.e27c56d9.js} +2 -2
  23. package/dist/chunks/{5552.37cfa24f.js.map → 5552.e27c56d9.js.map} +1 -1
  24. package/dist/chunks/6314.202dc3f6.js +2 -0
  25. package/dist/chunks/{6314.30d3296c.js.map → 6314.202dc3f6.js.map} +1 -1
  26. package/dist/chunks/7218.ce215713.js +2 -0
  27. package/dist/chunks/7218.ce215713.js.map +1 -0
  28. package/dist/chunks/7380.b242d2d5.js +3 -0
  29. package/dist/chunks/7380.b242d2d5.js.map +1 -0
  30. package/dist/chunks/7399.bbae0d80.js +2 -0
  31. package/dist/chunks/{7399.de646f71.js.map → 7399.bbae0d80.js.map} +1 -1
  32. package/dist/chunks/7733.859633d7.js +2 -0
  33. package/dist/chunks/{7733.5a4408bf.js.map → 7733.859633d7.js.map} +1 -1
  34. package/dist/chunks/{8097.feaa3614.js → 8097.2cc86170.js} +2 -2
  35. package/dist/chunks/{8097.feaa3614.js.map → 8097.2cc86170.js.map} +1 -1
  36. package/dist/chunks/{9559.ddaeba6c.js → 9559.9f97ae93.js} +2 -2
  37. package/dist/chunks/{9559.ddaeba6c.js.map → 9559.9f97ae93.js.map} +1 -1
  38. package/dist/chunks/9780.258fe671.js +2 -0
  39. package/dist/chunks/{9780.0506df1e.js.map → 9780.258fe671.js.map} +1 -1
  40. package/dist/chunks/eo-alert.2bbe4cce.js +3 -0
  41. package/dist/chunks/{eo-alert.45c0d15f.js.map → eo-alert.2bbe4cce.js.map} +1 -1
  42. package/dist/chunks/eo-card-item.ee0dc426.js +3 -0
  43. package/dist/chunks/{eo-card-item.e6f57b2d.js.map → eo-card-item.ee0dc426.js.map} +1 -1
  44. package/dist/chunks/eo-carousel-text.e2b1c7c8.js +2 -0
  45. package/dist/chunks/{eo-carousel-text.9d458818.js.map → eo-carousel-text.e2b1c7c8.js.map} +1 -1
  46. package/dist/chunks/eo-code-display.27f3fcb5.js +2 -0
  47. package/dist/chunks/{eo-code-display.7e721816.js.map → eo-code-display.27f3fcb5.js.map} +1 -1
  48. package/dist/chunks/eo-current-time.73af81d7.js +2 -0
  49. package/dist/chunks/{eo-current-time.adfc7b7a.js.map → eo-current-time.73af81d7.js.map} +1 -1
  50. package/dist/chunks/eo-descriptions.b91a2ddf.js +3 -0
  51. package/dist/chunks/{eo-descriptions.b3a5699a.js.map → eo-descriptions.b91a2ddf.js.map} +1 -1
  52. package/dist/chunks/eo-divider.bdcc2f10.js +3 -0
  53. package/dist/chunks/{eo-divider.7133958b.js.map → eo-divider.bdcc2f10.js.map} +1 -1
  54. package/dist/chunks/eo-humanize-time.44a576db.js +2 -0
  55. package/dist/chunks/{eo-humanize-time.78d917c1.js.map → eo-humanize-time.44a576db.js.map} +1 -1
  56. package/dist/chunks/eo-info-card-item.20e311a8.js +3 -0
  57. package/dist/chunks/{eo-info-card-item.18e1b64b.js.map → eo-info-card-item.20e311a8.js.map} +1 -1
  58. package/dist/chunks/eo-loading-step.c731fb3a.js +3 -0
  59. package/dist/chunks/{eo-loading-step.75dda5c1.js.map → eo-loading-step.c731fb3a.js.map} +1 -1
  60. package/dist/chunks/eo-pagination.c4314139.js +3 -0
  61. package/dist/chunks/{eo-pagination.719307dd.js.map → eo-pagination.c4314139.js.map} +1 -1
  62. package/dist/chunks/eo-statistics-card.4577297d.js +2 -0
  63. package/dist/chunks/{eo-statistics-card.3c08886f.js.map → eo-statistics-card.4577297d.js.map} +1 -1
  64. package/dist/chunks/main.81b11af7.js +2 -0
  65. package/dist/chunks/main.81b11af7.js.map +1 -0
  66. package/dist/examples.json +10 -10
  67. package/dist/index.4a02716f.js +2 -0
  68. package/dist/index.4a02716f.js.map +1 -0
  69. package/dist/manifest.json +213 -213
  70. package/dist/types.json +498 -498
  71. package/package.json +6 -5
  72. package/dist/chunks/114.24fa5213.js +0 -2
  73. package/dist/chunks/1889.1d727622.js +0 -2
  74. package/dist/chunks/1889.1d727622.js.map +0 -1
  75. package/dist/chunks/3933.946ea536.js +0 -2
  76. package/dist/chunks/4196.d95f14c7.js +0 -2
  77. package/dist/chunks/5399.fc925132.js +0 -2
  78. package/dist/chunks/5399.fc925132.js.map +0 -1
  79. package/dist/chunks/6314.30d3296c.js +0 -2
  80. package/dist/chunks/7041.3232d95e.js +0 -3
  81. package/dist/chunks/7041.3232d95e.js.map +0 -1
  82. package/dist/chunks/7115.3d8658a7.js +0 -2
  83. package/dist/chunks/7115.3d8658a7.js.map +0 -1
  84. package/dist/chunks/7399.de646f71.js +0 -2
  85. package/dist/chunks/7733.5a4408bf.js +0 -2
  86. package/dist/chunks/9496.fd01eeec.js +0 -2
  87. package/dist/chunks/9496.fd01eeec.js.map +0 -1
  88. package/dist/chunks/9780.0506df1e.js +0 -2
  89. package/dist/chunks/eo-alert.45c0d15f.js +0 -3
  90. package/dist/chunks/eo-card-item.e6f57b2d.js +0 -3
  91. package/dist/chunks/eo-carousel-text.9d458818.js +0 -2
  92. package/dist/chunks/eo-code-display.7e721816.js +0 -2
  93. package/dist/chunks/eo-current-time.adfc7b7a.js +0 -2
  94. package/dist/chunks/eo-descriptions.b3a5699a.js +0 -3
  95. package/dist/chunks/eo-divider.7133958b.js +0 -3
  96. package/dist/chunks/eo-humanize-time.78d917c1.js +0 -2
  97. package/dist/chunks/eo-info-card-item.18e1b64b.js +0 -3
  98. package/dist/chunks/eo-loading-step.75dda5c1.js +0 -3
  99. package/dist/chunks/eo-pagination.719307dd.js +0 -3
  100. package/dist/chunks/eo-statistics-card.3c08886f.js +0 -2
  101. package/dist/chunks/main.a9750c18.js +0 -2
  102. package/dist/chunks/main.a9750c18.js.map +0 -1
  103. package/dist/index.7dcb2925.js +0 -2
  104. package/dist/index.7dcb2925.js.map +0 -1
  105. /package/dist/chunks/{7041.3232d95e.js.LICENSE.txt → 7380.b242d2d5.js.LICENSE.txt} +0 -0
  106. /package/dist/chunks/{eo-alert.45c0d15f.js.LICENSE.txt → eo-alert.2bbe4cce.js.LICENSE.txt} +0 -0
  107. /package/dist/chunks/{eo-card-item.e6f57b2d.js.LICENSE.txt → eo-card-item.ee0dc426.js.LICENSE.txt} +0 -0
  108. /package/dist/chunks/{eo-descriptions.b3a5699a.js.LICENSE.txt → eo-descriptions.b91a2ddf.js.LICENSE.txt} +0 -0
  109. /package/dist/chunks/{eo-divider.7133958b.js.LICENSE.txt → eo-divider.bdcc2f10.js.LICENSE.txt} +0 -0
  110. /package/dist/chunks/{eo-info-card-item.18e1b64b.js.LICENSE.txt → eo-info-card-item.20e311a8.js.LICENSE.txt} +0 -0
  111. /package/dist/chunks/{eo-loading-step.75dda5c1.js.LICENSE.txt → eo-loading-step.c731fb3a.js.LICENSE.txt} +0 -0
  112. /package/dist/chunks/{eo-pagination.719307dd.js.LICENSE.txt → eo-pagination.c4314139.js.LICENSE.txt} +0 -0
@@ -64,56 +64,6 @@
64
64
  "description": "通用描述列表构件",
65
65
  "category": "text"
66
66
  },
67
- {
68
- "name": "eo-pagination",
69
- "properties": [
70
- {
71
- "name": "total",
72
- "description": "数据总数",
73
- "default": "0",
74
- "type": "number"
75
- },
76
- {
77
- "name": "page",
78
- "description": "当前页数",
79
- "default": "1",
80
- "type": "number"
81
- },
82
- {
83
- "name": "pageSize",
84
- "description": "每页条数",
85
- "default": "20",
86
- "type": "number"
87
- },
88
- {
89
- "name": "pageSizeOptions",
90
- "description": "指定每页可以显示多少条",
91
- "default": "[10, 20, 50, 100]",
92
- "attribute": false,
93
- "type": "number[]"
94
- },
95
- {
96
- "name": "showSizeChanger",
97
- "description": "是否展示`pageSize`分页器",
98
- "default": "true",
99
- "type": "boolean"
100
- }
101
- ],
102
- "events": [
103
- {
104
- "name": "change",
105
- "description": "页码及每页条数改变事件",
106
- "detail": {
107
- "type": "{ page: number; pageSize: number }"
108
- }
109
- }
110
- ],
111
- "slots": [],
112
- "methods": [],
113
- "parts": [],
114
- "description": "分页",
115
- "category": "navigation"
116
- },
117
67
  {
118
68
  "name": "eo-alert",
119
69
  "alias": [
@@ -169,146 +119,272 @@
169
119
  "category": "display-component"
170
120
  },
171
121
  {
172
- "name": "eo-divider",
122
+ "name": "eo-code-display",
123
+ "alias": [
124
+ "presentational.code-display"
125
+ ],
173
126
  "properties": [
174
127
  {
175
- "name": "orientation",
176
- "description": "标题位置,在horizontal类型的分割线中使用",
177
- "default": "center",
178
- "attribute": false,
179
- "type": "OrientationType"
128
+ "name": "value",
129
+ "description": "代码内容",
130
+ "default": "\"\"",
131
+ "type": "string"
180
132
  },
181
133
  {
182
- "name": "dashed",
183
- "description": "是否虚线",
184
- "default": "false",
134
+ "name": "language",
135
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
136
+ "type": "string"
137
+ },
138
+ {
139
+ "name": "hideLineNumber",
140
+ "description": "是否隐藏行号",
185
141
  "type": "boolean"
186
142
  },
187
143
  {
188
- "name": "type",
189
- "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
190
- "default": "\"horizontal\"",
191
- "type": "dividerType"
144
+ "name": "maxLines",
145
+ "description": "最大行数",
146
+ "type": "number"
192
147
  },
193
148
  {
194
- "name": "proportion",
195
- "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
196
- "attribute": false,
197
- "type": "[number, number]"
149
+ "name": "minLines",
150
+ "description": "最小行数",
151
+ "type": "number"
198
152
  },
199
153
  {
200
- "name": "dividerStyle",
201
- "description": "分割线自定义样式",
202
- "attribute": false,
203
- "type": "CSSProperties"
154
+ "name": "showCopyButton",
155
+ "description": "是否显示复制按钮",
156
+ "default": "true",
157
+ "type": "boolean"
158
+ },
159
+ {
160
+ "name": "showExportButton",
161
+ "description": "是否显示导出按钮",
162
+ "type": "boolean"
163
+ },
164
+ {
165
+ "name": "exportFileName",
166
+ "description": "导出的文件名",
167
+ "default": "download.txt",
168
+ "type": "string"
204
169
  }
205
170
  ],
206
171
  "events": [],
207
172
  "slots": [],
208
173
  "methods": [],
209
174
  "parts": [],
210
- "description": "分割线",
211
- "category": "container-display"
175
+ "description": "代码展示",
176
+ "category": "display-component"
212
177
  },
213
178
  {
214
- "name": "eo-info-card-item",
179
+ "name": "eo-pagination",
180
+ "properties": [
181
+ {
182
+ "name": "total",
183
+ "description": "数据总数",
184
+ "default": "0",
185
+ "type": "number"
186
+ },
187
+ {
188
+ "name": "page",
189
+ "description": "当前页数",
190
+ "default": "1",
191
+ "type": "number"
192
+ },
193
+ {
194
+ "name": "pageSize",
195
+ "description": "每页条数",
196
+ "default": "20",
197
+ "type": "number"
198
+ },
199
+ {
200
+ "name": "pageSizeOptions",
201
+ "description": "指定每页可以显示多少条",
202
+ "default": "[10, 20, 50, 100]",
203
+ "attribute": false,
204
+ "type": "number[]"
205
+ },
206
+ {
207
+ "name": "showSizeChanger",
208
+ "description": "是否展示`pageSize`分页器",
209
+ "default": "true",
210
+ "type": "boolean"
211
+ }
212
+ ],
213
+ "events": [
214
+ {
215
+ "name": "change",
216
+ "description": "页码及每页条数改变事件",
217
+ "detail": {
218
+ "type": "{ page: number; pageSize: number }"
219
+ }
220
+ }
221
+ ],
222
+ "slots": [],
223
+ "methods": [],
224
+ "parts": [],
225
+ "description": "分页",
226
+ "category": "navigation"
227
+ },
228
+ {
229
+ "name": "eo-card-item",
215
230
  "properties": [
231
+ {
232
+ "name": "hasHeader",
233
+ "description": "是否有顶部小标题",
234
+ "type": "boolean"
235
+ },
216
236
  {
217
237
  "name": "cardTitle",
218
- "description": "title",
238
+ "description": "卡片标题",
219
239
  "type": "string"
220
240
  },
221
241
  {
222
242
  "name": "description",
223
- "description": "description",
243
+ "description": "描述信息",
224
244
  "type": "string"
225
245
  },
226
246
  {
227
- "name": "url",
228
- "description": "链接地址",
247
+ "name": "auxiliaryText",
248
+ "description": "顶部辅助文字",
229
249
  "type": "string"
230
250
  },
231
251
  {
232
- "name": "cardIcon",
252
+ "name": "avatar",
233
253
  "description": "图标",
234
254
  "attribute": false,
235
- "type": "IconAvatar"
255
+ "type": "IconAvatar | ImgAvatar"
236
256
  },
237
257
  {
238
- "name": "detailList",
239
- "description": "详细列表",
258
+ "name": "href",
259
+ "description": "设置 `href` 时将使用原生 `<a>` 标签,通常用于外链的跳转",
260
+ "type": "LinkProps[\"href\"]"
261
+ },
262
+ {
263
+ "name": "url",
264
+ "description": "链接地址",
240
265
  "attribute": false,
241
- "type": "InfoCardDetail[]"
266
+ "type": "LinkProps[\"url\"]"
242
267
  },
243
268
  {
244
269
  "name": "target",
245
270
  "description": "链接跳转目标",
246
271
  "type": "LinkProps[\"target\"]"
247
- }
248
- ],
249
- "events": [],
250
- "slots": [],
251
- "methods": [],
252
- "parts": [],
253
- "description": "信息卡片",
254
- "category": "card-info"
255
- },
256
- {
257
- "name": "eo-code-display",
258
- "alias": [
259
- "presentational.code-display"
260
- ],
261
- "properties": [
272
+ },
262
273
  {
263
- "name": "value",
264
- "description": "代码内容",
265
- "default": "\"\"",
274
+ "name": "actions",
275
+ "description": "操作按钮组",
276
+ "attribute": false,
277
+ "type": "ActionType[]"
278
+ },
279
+ {
280
+ "name": "selected",
281
+ "description": "是否选中",
282
+ "type": "boolean"
283
+ },
284
+ {
285
+ "name": "styleType",
286
+ "description": "卡片样式类型",
287
+ "type": "\"grayish\""
288
+ },
289
+ {
290
+ "name": "hasCover",
291
+ "description": "是否使用卡片封面",
292
+ "type": "boolean"
293
+ },
294
+ {
295
+ "name": "coverImage",
296
+ "description": "卡片封面背景图片",
297
+ "attribute": false,
266
298
  "type": "string"
267
299
  },
268
300
  {
269
- "name": "language",
270
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
301
+ "name": "coverColor",
302
+ "description": "卡片封面背景颜色(使用纯色背景)",
303
+ "attribute": false,
271
304
  "type": "string"
272
305
  },
273
306
  {
274
- "name": "hideLineNumber",
275
- "description": "是否隐藏行号",
276
- "type": "boolean"
307
+ "name": "coverImageSize",
308
+ "description": "卡片封面图片尺寸 ,配置参考 https://developer.mozilla.org/zh-CN/docs/Web/CSS/background-size",
309
+ "attribute": false,
310
+ "type": "React.CSSProperties[\"backgroundSize\"]"
277
311
  },
278
312
  {
279
- "name": "maxLines",
280
- "description": "最大行数",
281
- "type": "number"
313
+ "name": "avatarPosition",
314
+ "description": "图标是否放置在卡片封面",
315
+ "type": "\"content\" | \"cover\""
282
316
  },
283
317
  {
284
- "name": "minLines",
285
- "description": "最小行数",
286
- "type": "number"
318
+ "name": "tagConfig",
319
+ "attribute": false,
320
+ "type": "TagConfig"
321
+ }
322
+ ],
323
+ "events": [
324
+ {
325
+ "name": "tag.click",
326
+ "description": "徽标点击事件",
327
+ "detail": {
328
+ "type": "void"
329
+ }
330
+ }
331
+ ],
332
+ "slots": [
333
+ {
334
+ "name": "expanded-area-1",
335
+ "description": "扩展区域 1,通常放置标签信息"
287
336
  },
288
337
  {
289
- "name": "showCopyButton",
290
- "description": "是否显示复制按钮",
291
- "default": "true",
292
- "type": "boolean"
338
+ "name": "expanded-area-2",
339
+ "description": "扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)"
340
+ }
341
+ ],
342
+ "methods": [],
343
+ "parts": [],
344
+ "description": "信息类卡片 —— 通用卡片",
345
+ "category": "card-info"
346
+ },
347
+ {
348
+ "name": "eo-divider",
349
+ "properties": [
350
+ {
351
+ "name": "orientation",
352
+ "description": "标题位置,在horizontal类型的分割线中使用",
353
+ "default": "center",
354
+ "attribute": false,
355
+ "type": "OrientationType"
293
356
  },
294
357
  {
295
- "name": "showExportButton",
296
- "description": "是否显示导出按钮",
358
+ "name": "dashed",
359
+ "description": "是否虚线",
360
+ "default": "false",
297
361
  "type": "boolean"
298
362
  },
299
363
  {
300
- "name": "exportFileName",
301
- "description": "导出的文件名",
302
- "default": "download.txt",
303
- "type": "string"
364
+ "name": "type",
365
+ "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
366
+ "default": "\"horizontal\"",
367
+ "type": "dividerType"
368
+ },
369
+ {
370
+ "name": "proportion",
371
+ "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
372
+ "attribute": false,
373
+ "type": "[number, number]"
374
+ },
375
+ {
376
+ "name": "dividerStyle",
377
+ "description": "分割线自定义样式",
378
+ "attribute": false,
379
+ "type": "CSSProperties"
304
380
  }
305
381
  ],
306
382
  "events": [],
307
383
  "slots": [],
308
384
  "methods": [],
309
385
  "parts": [],
310
- "description": "代码展示",
311
- "category": "display-component"
386
+ "description": "分割线",
387
+ "category": "container-display"
312
388
  },
313
389
  {
314
390
  "name": "eo-humanize-time",
@@ -454,122 +530,46 @@
454
530
  "description": "统计卡片"
455
531
  },
456
532
  {
457
- "name": "eo-card-item",
533
+ "name": "eo-info-card-item",
458
534
  "properties": [
459
- {
460
- "name": "hasHeader",
461
- "description": "是否有顶部小标题",
462
- "type": "boolean"
463
- },
464
535
  {
465
536
  "name": "cardTitle",
466
- "description": "卡片标题",
537
+ "description": "title",
467
538
  "type": "string"
468
539
  },
469
540
  {
470
541
  "name": "description",
471
- "description": "描述信息",
542
+ "description": "description",
472
543
  "type": "string"
473
544
  },
474
545
  {
475
- "name": "auxiliaryText",
476
- "description": "顶部辅助文字",
546
+ "name": "url",
547
+ "description": "链接地址",
477
548
  "type": "string"
478
549
  },
479
550
  {
480
- "name": "avatar",
551
+ "name": "cardIcon",
481
552
  "description": "图标",
482
553
  "attribute": false,
483
- "type": "IconAvatar | ImgAvatar"
484
- },
485
- {
486
- "name": "href",
487
- "description": "设置 `href` 时将使用原生 `<a>` 标签,通常用于外链的跳转",
488
- "type": "LinkProps[\"href\"]"
554
+ "type": "IconAvatar"
489
555
  },
490
556
  {
491
- "name": "url",
492
- "description": "链接地址",
557
+ "name": "detailList",
558
+ "description": "详细列表",
493
559
  "attribute": false,
494
- "type": "LinkProps[\"url\"]"
560
+ "type": "InfoCardDetail[]"
495
561
  },
496
562
  {
497
563
  "name": "target",
498
564
  "description": "链接跳转目标",
499
565
  "type": "LinkProps[\"target\"]"
500
- },
501
- {
502
- "name": "actions",
503
- "description": "操作按钮组",
504
- "attribute": false,
505
- "type": "ActionType[]"
506
- },
507
- {
508
- "name": "selected",
509
- "description": "是否选中",
510
- "type": "boolean"
511
- },
512
- {
513
- "name": "styleType",
514
- "description": "卡片样式类型",
515
- "type": "\"grayish\""
516
- },
517
- {
518
- "name": "hasCover",
519
- "description": "是否使用卡片封面",
520
- "type": "boolean"
521
- },
522
- {
523
- "name": "coverImage",
524
- "description": "卡片封面背景图片",
525
- "attribute": false,
526
- "type": "string"
527
- },
528
- {
529
- "name": "coverColor",
530
- "description": "卡片封面背景颜色(使用纯色背景)",
531
- "attribute": false,
532
- "type": "string"
533
- },
534
- {
535
- "name": "coverImageSize",
536
- "description": "卡片封面图片尺寸 ,配置参考 https://developer.mozilla.org/zh-CN/docs/Web/CSS/background-size",
537
- "attribute": false,
538
- "type": "React.CSSProperties[\"backgroundSize\"]"
539
- },
540
- {
541
- "name": "avatarPosition",
542
- "description": "图标是否放置在卡片封面",
543
- "type": "\"content\" | \"cover\""
544
- },
545
- {
546
- "name": "tagConfig",
547
- "attribute": false,
548
- "type": "TagConfig"
549
- }
550
- ],
551
- "events": [
552
- {
553
- "name": "tag.click",
554
- "description": "徽标点击事件",
555
- "detail": {
556
- "type": "void"
557
- }
558
- }
559
- ],
560
- "slots": [
561
- {
562
- "name": "expanded-area-1",
563
- "description": "扩展区域 1,通常放置标签信息"
564
- },
565
- {
566
- "name": "expanded-area-2",
567
- "description": "扩展区域 2,通常放置操作和其他属性信息(图标/头像/小字描述/统计信息)"
568
566
  }
569
567
  ],
568
+ "events": [],
569
+ "slots": [],
570
570
  "methods": [],
571
571
  "parts": [],
572
- "description": "信息类卡片 —— 通用卡片",
572
+ "description": "信息卡片",
573
573
  "category": "card-info"
574
574
  },
575
575
  {