@next-bricks/presentational 1.3.0 → 1.4.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.
Files changed (67) hide show
  1. package/dist/bricks.json +22 -22
  2. package/dist/chunks/1972.e005885d.js +2 -0
  3. package/dist/chunks/{1972.c6807389.js.map → 1972.e005885d.js.map} +1 -1
  4. package/dist/chunks/253.245fcab0.js +2 -0
  5. package/dist/chunks/253.245fcab0.js.map +1 -0
  6. package/dist/chunks/3208.b234c0ec.js +2 -0
  7. package/dist/chunks/3208.b234c0ec.js.map +1 -0
  8. package/dist/chunks/{8728.ae47241c.js → 8728.7ed60e93.js} +3 -3
  9. package/dist/chunks/{8728.ae47241c.js.map → 8728.7ed60e93.js.map} +1 -1
  10. package/dist/chunks/9591.d4fc1ca8.js +2 -0
  11. package/dist/chunks/{9591.4cb0d3f3.js.map → 9591.d4fc1ca8.js.map} +1 -1
  12. package/dist/chunks/eo-alert.e9d3d369.js +3 -0
  13. package/dist/chunks/{eo-alert.fa465aa9.js.map → eo-alert.e9d3d369.js.map} +1 -1
  14. package/dist/chunks/eo-card-item.2ca4b7e6.js +3 -0
  15. package/dist/chunks/eo-card-item.2ca4b7e6.js.map +1 -0
  16. package/dist/chunks/eo-code-display.082d27e6.js +2 -0
  17. package/dist/chunks/{eo-code-display.3781058a.js.map → eo-code-display.082d27e6.js.map} +1 -1
  18. package/dist/chunks/eo-descriptions.988ca8a8.js +3 -0
  19. package/dist/chunks/{eo-descriptions.caf49b56.js.map → eo-descriptions.988ca8a8.js.map} +1 -1
  20. package/dist/chunks/eo-divider.29e95bbe.js +3 -0
  21. package/dist/chunks/{eo-divider.b80414c6.js.map → eo-divider.29e95bbe.js.map} +1 -1
  22. package/dist/chunks/eo-humanize-time.d449cb7b.js +2 -0
  23. package/dist/chunks/{eo-humanize-time.88d58e1e.js.map → eo-humanize-time.d449cb7b.js.map} +1 -1
  24. package/dist/chunks/eo-info-card-item.9f88287a.js +3 -0
  25. package/dist/chunks/{eo-info-card-item.a353e6d3.js.map → eo-info-card-item.9f88287a.js.map} +1 -1
  26. package/dist/chunks/eo-loading-step.386d1e87.js +3 -0
  27. package/dist/chunks/{eo-loading-step.994de2c0.js.map → eo-loading-step.386d1e87.js.map} +1 -1
  28. package/dist/chunks/eo-pagination.eb9fd2a7.js +3 -0
  29. package/dist/chunks/{eo-pagination.7ffa2e23.js.map → eo-pagination.eb9fd2a7.js.map} +1 -1
  30. package/dist/chunks/eo-statistics-card.af80d51d.js +2 -0
  31. package/dist/chunks/{eo-statistics-card.ca340f9e.js.map → eo-statistics-card.af80d51d.js.map} +1 -1
  32. package/dist/chunks/{main.20237d57.js → main.2070f9b4.js} +2 -2
  33. package/dist/chunks/main.2070f9b4.js.map +1 -0
  34. package/dist/examples.json +9 -9
  35. package/dist/{index.68cb6a25.js → index.d36164a8.js} +2 -2
  36. package/dist/index.d36164a8.js.map +1 -0
  37. package/dist/manifest.json +159 -153
  38. package/dist/types.json +280 -256
  39. package/dist-types/card-item/index.d.ts +5 -0
  40. package/package.json +2 -2
  41. package/dist/chunks/1972.c6807389.js +0 -2
  42. package/dist/chunks/253.f8271ebd.js +0 -2
  43. package/dist/chunks/253.f8271ebd.js.map +0 -1
  44. package/dist/chunks/3208.44bb4993.js +0 -2
  45. package/dist/chunks/3208.44bb4993.js.map +0 -1
  46. package/dist/chunks/9591.4cb0d3f3.js +0 -2
  47. package/dist/chunks/eo-alert.fa465aa9.js +0 -3
  48. package/dist/chunks/eo-card-item.f41ac580.js +0 -3
  49. package/dist/chunks/eo-card-item.f41ac580.js.map +0 -1
  50. package/dist/chunks/eo-code-display.3781058a.js +0 -2
  51. package/dist/chunks/eo-descriptions.caf49b56.js +0 -3
  52. package/dist/chunks/eo-divider.b80414c6.js +0 -3
  53. package/dist/chunks/eo-humanize-time.88d58e1e.js +0 -2
  54. package/dist/chunks/eo-info-card-item.a353e6d3.js +0 -3
  55. package/dist/chunks/eo-loading-step.994de2c0.js +0 -3
  56. package/dist/chunks/eo-pagination.7ffa2e23.js +0 -3
  57. package/dist/chunks/eo-statistics-card.ca340f9e.js +0 -2
  58. package/dist/chunks/main.20237d57.js.map +0 -1
  59. package/dist/index.68cb6a25.js.map +0 -1
  60. /package/dist/chunks/{8728.ae47241c.js.LICENSE.txt → 8728.7ed60e93.js.LICENSE.txt} +0 -0
  61. /package/dist/chunks/{eo-alert.fa465aa9.js.LICENSE.txt → eo-alert.e9d3d369.js.LICENSE.txt} +0 -0
  62. /package/dist/chunks/{eo-card-item.f41ac580.js.LICENSE.txt → eo-card-item.2ca4b7e6.js.LICENSE.txt} +0 -0
  63. /package/dist/chunks/{eo-descriptions.caf49b56.js.LICENSE.txt → eo-descriptions.988ca8a8.js.LICENSE.txt} +0 -0
  64. /package/dist/chunks/{eo-divider.b80414c6.js.LICENSE.txt → eo-divider.29e95bbe.js.LICENSE.txt} +0 -0
  65. /package/dist/chunks/{eo-info-card-item.a353e6d3.js.LICENSE.txt → eo-info-card-item.9f88287a.js.LICENSE.txt} +0 -0
  66. /package/dist/chunks/{eo-loading-step.994de2c0.js.LICENSE.txt → eo-loading-step.386d1e87.js.LICENSE.txt} +0 -0
  67. /package/dist/chunks/{eo-pagination.7ffa2e23.js.LICENSE.txt → eo-pagination.eb9fd2a7.js.LICENSE.txt} +0 -0
@@ -64,117 +64,6 @@
64
64
  "description": "通用描述列表构件",
65
65
  "category": "text"
66
66
  },
67
- {
68
- "name": "eo-alert",
69
- "alias": [
70
- "presentational.general-alert"
71
- ],
72
- "properties": [
73
- {
74
- "name": "type",
75
- "description": "警告类型",
76
- "attribute": false,
77
- "type": "AlertType"
78
- },
79
- {
80
- "name": "hasTitle",
81
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
82
- "type": "boolean"
83
- },
84
- {
85
- "name": "showIcon",
86
- "description": "是否显示提示图标",
87
- "type": "boolean"
88
- },
89
- {
90
- "name": "closable",
91
- "description": "是否显示关闭按钮",
92
- "type": "boolean"
93
- },
94
- {
95
- "name": "localStorageKey",
96
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
97
- "type": "string"
98
- },
99
- {
100
- "name": "disableUrlNamespace",
101
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
102
- "type": "boolean"
103
- }
104
- ],
105
- "events": [],
106
- "slots": [
107
- {
108
- "name": null,
109
- "description": "内容区"
110
- },
111
- {
112
- "name": "title",
113
- "description": "标题"
114
- }
115
- ],
116
- "methods": [],
117
- "parts": [],
118
- "description": "告警提示",
119
- "category": "display-component"
120
- },
121
- {
122
- "name": "eo-code-display",
123
- "alias": [
124
- "presentational.code-display"
125
- ],
126
- "properties": [
127
- {
128
- "name": "value",
129
- "description": "代码内容",
130
- "default": "\"\"",
131
- "type": "string"
132
- },
133
- {
134
- "name": "language",
135
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
136
- "type": "string"
137
- },
138
- {
139
- "name": "hideLineNumber",
140
- "description": "是否隐藏行号",
141
- "type": "boolean"
142
- },
143
- {
144
- "name": "maxLines",
145
- "description": "最大行数",
146
- "type": "number"
147
- },
148
- {
149
- "name": "minLines",
150
- "description": "最小行数",
151
- "type": "number"
152
- },
153
- {
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"
169
- }
170
- ],
171
- "events": [],
172
- "slots": [],
173
- "methods": [],
174
- "parts": [],
175
- "description": "代码展示",
176
- "category": "display-component"
177
- },
178
67
  {
179
68
  "name": "eo-pagination",
180
69
  "properties": [
@@ -298,6 +187,12 @@
298
187
  "attribute": false,
299
188
  "type": "string"
300
189
  },
190
+ {
191
+ "name": "coverImageSize",
192
+ "description": "卡片封面图片尺寸 ,配置参考 https://developer.mozilla.org/zh-CN/docs/Web/CSS/background-size",
193
+ "attribute": false,
194
+ "type": "React.CSSProperties[\"backgroundSize\"]"
195
+ },
301
196
  {
302
197
  "name": "avatarPosition",
303
198
  "description": "图标是否放置在卡片封面",
@@ -333,48 +228,6 @@
333
228
  "description": "信息类卡片 —— 通用卡片",
334
229
  "category": "card-info"
335
230
  },
336
- {
337
- "name": "eo-divider",
338
- "properties": [
339
- {
340
- "name": "orientation",
341
- "description": "标题位置,在horizontal类型的分割线中使用",
342
- "default": "center",
343
- "attribute": false,
344
- "type": "OrientationType"
345
- },
346
- {
347
- "name": "dashed",
348
- "description": "是否虚线",
349
- "default": "false",
350
- "type": "boolean"
351
- },
352
- {
353
- "name": "type",
354
- "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
355
- "default": "\"horizontal\"",
356
- "type": "dividerType"
357
- },
358
- {
359
- "name": "proportion",
360
- "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
361
- "attribute": false,
362
- "type": "[number, number]"
363
- },
364
- {
365
- "name": "dividerStyle",
366
- "description": "分割线自定义样式",
367
- "attribute": false,
368
- "type": "CSSProperties"
369
- }
370
- ],
371
- "events": [],
372
- "slots": [],
373
- "methods": [],
374
- "parts": [],
375
- "description": "分割线",
376
- "category": "container-display"
377
- },
378
231
  {
379
232
  "name": "eo-info-card-item",
380
233
  "properties": [
@@ -418,6 +271,63 @@
418
271
  "description": "信息卡片",
419
272
  "category": "card-info"
420
273
  },
274
+ {
275
+ "name": "eo-code-display",
276
+ "alias": [
277
+ "presentational.code-display"
278
+ ],
279
+ "properties": [
280
+ {
281
+ "name": "value",
282
+ "description": "代码内容",
283
+ "default": "\"\"",
284
+ "type": "string"
285
+ },
286
+ {
287
+ "name": "language",
288
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
289
+ "type": "string"
290
+ },
291
+ {
292
+ "name": "hideLineNumber",
293
+ "description": "是否隐藏行号",
294
+ "type": "boolean"
295
+ },
296
+ {
297
+ "name": "maxLines",
298
+ "description": "最大行数",
299
+ "type": "number"
300
+ },
301
+ {
302
+ "name": "minLines",
303
+ "description": "最小行数",
304
+ "type": "number"
305
+ },
306
+ {
307
+ "name": "showCopyButton",
308
+ "description": "是否显示复制按钮",
309
+ "default": "true",
310
+ "type": "boolean"
311
+ },
312
+ {
313
+ "name": "showExportButton",
314
+ "description": "是否显示导出按钮",
315
+ "type": "boolean"
316
+ },
317
+ {
318
+ "name": "exportFileName",
319
+ "description": "导出的文件名",
320
+ "default": "download.txt",
321
+ "type": "string"
322
+ }
323
+ ],
324
+ "events": [],
325
+ "slots": [],
326
+ "methods": [],
327
+ "parts": [],
328
+ "description": "代码展示",
329
+ "category": "display-component"
330
+ },
421
331
  {
422
332
  "name": "eo-humanize-time",
423
333
  "alias": [
@@ -472,6 +382,60 @@
472
382
  "description": "人性化时间展示",
473
383
  "category": "text"
474
384
  },
385
+ {
386
+ "name": "eo-alert",
387
+ "alias": [
388
+ "presentational.general-alert"
389
+ ],
390
+ "properties": [
391
+ {
392
+ "name": "type",
393
+ "description": "警告类型",
394
+ "attribute": false,
395
+ "type": "AlertType"
396
+ },
397
+ {
398
+ "name": "hasTitle",
399
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
400
+ "type": "boolean"
401
+ },
402
+ {
403
+ "name": "showIcon",
404
+ "description": "是否显示提示图标",
405
+ "type": "boolean"
406
+ },
407
+ {
408
+ "name": "closable",
409
+ "description": "是否显示关闭按钮",
410
+ "type": "boolean"
411
+ },
412
+ {
413
+ "name": "localStorageKey",
414
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
415
+ "type": "string"
416
+ },
417
+ {
418
+ "name": "disableUrlNamespace",
419
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
420
+ "type": "boolean"
421
+ }
422
+ ],
423
+ "events": [],
424
+ "slots": [
425
+ {
426
+ "name": null,
427
+ "description": "内容区"
428
+ },
429
+ {
430
+ "name": "title",
431
+ "description": "标题"
432
+ }
433
+ ],
434
+ "methods": [],
435
+ "parts": [],
436
+ "description": "告警提示",
437
+ "category": "display-component"
438
+ },
475
439
  {
476
440
  "name": "eo-statistics-card",
477
441
  "properties": [
@@ -562,6 +526,48 @@
562
526
  "parts": [],
563
527
  "description": "统计卡片"
564
528
  },
529
+ {
530
+ "name": "eo-divider",
531
+ "properties": [
532
+ {
533
+ "name": "orientation",
534
+ "description": "标题位置,在horizontal类型的分割线中使用",
535
+ "default": "center",
536
+ "attribute": false,
537
+ "type": "OrientationType"
538
+ },
539
+ {
540
+ "name": "dashed",
541
+ "description": "是否虚线",
542
+ "default": "false",
543
+ "type": "boolean"
544
+ },
545
+ {
546
+ "name": "type",
547
+ "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
548
+ "default": "\"horizontal\"",
549
+ "type": "dividerType"
550
+ },
551
+ {
552
+ "name": "proportion",
553
+ "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
554
+ "attribute": false,
555
+ "type": "[number, number]"
556
+ },
557
+ {
558
+ "name": "dividerStyle",
559
+ "description": "分割线自定义样式",
560
+ "attribute": false,
561
+ "type": "CSSProperties"
562
+ }
563
+ ],
564
+ "events": [],
565
+ "slots": [],
566
+ "methods": [],
567
+ "parts": [],
568
+ "description": "分割线",
569
+ "category": "container-display"
570
+ },
565
571
  {
566
572
  "name": "eo-loading-step",
567
573
  "properties": [