@next-bricks/presentational 1.20.1 → 1.21.1

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 (141) hide show
  1. package/dist/bricks.json +48 -33
  2. package/dist/chunks/1120.a1539fd9.js +2 -0
  3. package/dist/chunks/1120.a1539fd9.js.map +1 -0
  4. package/dist/chunks/114.1cbe662e.js +2 -0
  5. package/dist/chunks/{114.1c7311ae.js.map → 114.1cbe662e.js.map} +1 -1
  6. package/dist/chunks/1215.7e9cfce1.js +2 -0
  7. package/dist/chunks/1215.7e9cfce1.js.map +1 -0
  8. package/dist/chunks/1632.72e283f7.js +2 -0
  9. package/dist/chunks/1632.72e283f7.js.map +1 -0
  10. package/dist/chunks/1889.4559a6f7.js +2 -0
  11. package/dist/chunks/1889.4559a6f7.js.map +1 -0
  12. package/dist/chunks/2449.216a2777.js +2 -0
  13. package/dist/chunks/2449.216a2777.js.map +1 -0
  14. package/dist/chunks/2510.c0cb41a1.js +2 -0
  15. package/dist/chunks/2510.c0cb41a1.js.map +1 -0
  16. package/dist/chunks/2593.1ae05d1e.js +2 -0
  17. package/dist/chunks/2593.1ae05d1e.js.map +1 -0
  18. package/dist/chunks/{3171.ec7ebf74.js → 3171.91e2c51e.js} +2 -2
  19. package/dist/chunks/{3171.ec7ebf74.js.map → 3171.91e2c51e.js.map} +1 -1
  20. package/dist/chunks/3699.6f60864f.js +3 -0
  21. package/dist/chunks/3699.6f60864f.js.map +1 -0
  22. package/dist/chunks/3897.510e7cbb.js +3 -0
  23. package/dist/chunks/3897.510e7cbb.js.LICENSE.txt +9 -0
  24. package/dist/chunks/3897.510e7cbb.js.map +1 -0
  25. package/dist/chunks/3900.47f48f41.js +2 -0
  26. package/dist/chunks/3900.47f48f41.js.map +1 -0
  27. package/dist/chunks/4190.ed091f3e.js +2 -0
  28. package/dist/chunks/4190.ed091f3e.js.map +1 -0
  29. package/dist/chunks/4306.3e1ac1d3.js +2 -0
  30. package/dist/chunks/4306.3e1ac1d3.js.map +1 -0
  31. package/dist/chunks/4609.4b23d329.js +2 -0
  32. package/dist/chunks/4609.4b23d329.js.map +1 -0
  33. package/dist/chunks/4735.eefcc091.js +2 -0
  34. package/dist/chunks/4735.eefcc091.js.map +1 -0
  35. package/dist/chunks/{4765.eb562592.js → 4765.9d03b0af.js} +2 -2
  36. package/dist/chunks/{4765.eb562592.js.map → 4765.9d03b0af.js.map} +1 -1
  37. package/dist/chunks/{7218.0fbf3fe9.js → 4837.3ae6253e.js} +2 -2
  38. package/dist/chunks/{7218.0fbf3fe9.js.map → 4837.3ae6253e.js.map} +1 -1
  39. package/dist/chunks/5032.380eece1.js +2 -0
  40. package/dist/chunks/5032.380eece1.js.map +1 -0
  41. package/dist/chunks/5065.3c2dbb83.js +2 -0
  42. package/dist/chunks/5065.3c2dbb83.js.map +1 -0
  43. package/dist/chunks/5498.8bf3dbd7.js +2 -0
  44. package/dist/chunks/5498.8bf3dbd7.js.map +1 -0
  45. package/dist/chunks/{5552.4b9552ba.js → 5552.965f0567.js} +2 -2
  46. package/dist/chunks/{5552.4b9552ba.js.map → 5552.965f0567.js.map} +1 -1
  47. package/dist/chunks/{7146.29dad417.js → 7146.2edec8bc.js} +2 -2
  48. package/dist/chunks/{7146.29dad417.js.map → 7146.2edec8bc.js.map} +1 -1
  49. package/dist/chunks/{4837.dc61e345.js → 7218.4acefe69.js} +2 -2
  50. package/dist/chunks/{4837.dc61e345.js.map → 7218.4acefe69.js.map} +1 -1
  51. package/dist/chunks/7733.4dfd8892.js +2 -0
  52. package/dist/chunks/{7733.e71133ff.js.map → 7733.4dfd8892.js.map} +1 -1
  53. package/dist/chunks/{8097.f5a73244.js → 8097.c5283514.js} +2 -2
  54. package/dist/chunks/{8097.f5a73244.js.map → 8097.c5283514.js.map} +1 -1
  55. package/dist/chunks/8263.2d81f44c.js +2 -0
  56. package/dist/chunks/8263.2d81f44c.js.map +1 -0
  57. package/dist/chunks/8311.ac832586.js +2 -0
  58. package/dist/chunks/8311.ac832586.js.map +1 -0
  59. package/dist/chunks/8755.320dc44a.js +2 -0
  60. package/dist/chunks/8755.320dc44a.js.map +1 -0
  61. package/dist/chunks/8757.4825c77f.js +2 -0
  62. package/dist/chunks/8757.4825c77f.js.map +1 -0
  63. package/dist/chunks/948.e1790690.js +3 -0
  64. package/dist/chunks/948.e1790690.js.map +1 -0
  65. package/dist/chunks/code-wrapper.be0d1487.js +3 -0
  66. package/dist/chunks/code-wrapper.be0d1487.js.map +1 -0
  67. package/dist/chunks/{eo-alert.0f3e7944.js → eo-alert.625d5099.js} +3 -3
  68. package/dist/chunks/{eo-alert.0f3e7944.js.map → eo-alert.625d5099.js.map} +1 -1
  69. package/dist/chunks/eo-card-item.da90013a.js +3 -0
  70. package/dist/chunks/{eo-card-item.6feda942.js.map → eo-card-item.da90013a.js.map} +1 -1
  71. package/dist/chunks/eo-carousel-text.8188b7b7.js +2 -0
  72. package/dist/chunks/{eo-carousel-text.b0e3ca7c.js.map → eo-carousel-text.8188b7b7.js.map} +1 -1
  73. package/dist/chunks/eo-code-block.f5ffef62.js +2 -0
  74. package/dist/chunks/eo-code-block.f5ffef62.js.map +1 -0
  75. package/dist/chunks/eo-code-display.c457657a.js +2 -0
  76. package/dist/chunks/eo-code-display.c457657a.js.map +1 -0
  77. package/dist/chunks/eo-current-time.c203517c.js +2 -0
  78. package/dist/chunks/{eo-current-time.28667a90.js.map → eo-current-time.c203517c.js.map} +1 -1
  79. package/dist/chunks/{eo-descriptions.4ce01d04.js → eo-descriptions.84bd1dfe.js} +3 -3
  80. package/dist/chunks/{eo-descriptions.4ce01d04.js.map → eo-descriptions.84bd1dfe.js.map} +1 -1
  81. package/dist/chunks/eo-divider.7273176b.js +3 -0
  82. package/dist/chunks/{eo-divider.f669534e.js.map → eo-divider.7273176b.js.map} +1 -1
  83. package/dist/chunks/eo-humanize-time.42af69a7.js +2 -0
  84. package/dist/chunks/{eo-humanize-time.6d09bec0.js.map → eo-humanize-time.42af69a7.js.map} +1 -1
  85. package/dist/chunks/{eo-info-card-item.844117a4.js → eo-info-card-item.554cba4f.js} +3 -3
  86. package/dist/chunks/{eo-info-card-item.844117a4.js.map → eo-info-card-item.554cba4f.js.map} +1 -1
  87. package/dist/chunks/{eo-loading-step.f189dd21.js → eo-loading-step.604d6e34.js} +3 -3
  88. package/dist/chunks/{eo-loading-step.f189dd21.js.map → eo-loading-step.604d6e34.js.map} +1 -1
  89. package/dist/chunks/eo-pagination.8f5dcfce.js +3 -0
  90. package/dist/chunks/eo-pagination.8f5dcfce.js.LICENSE.txt +5 -0
  91. package/dist/chunks/{eo-pagination.5f8f5ec7.js.map → eo-pagination.8f5dcfce.js.map} +1 -1
  92. package/dist/chunks/eo-statistics-card.3ef146cb.js +2 -0
  93. package/dist/chunks/{eo-statistics-card.c6317452.js.map → eo-statistics-card.3ef146cb.js.map} +1 -1
  94. package/dist/chunks/main.e70d2fce.js +2 -0
  95. package/dist/chunks/main.e70d2fce.js.map +1 -0
  96. package/dist/examples.json +15 -12
  97. package/dist/index.0205acd1.js +2 -0
  98. package/dist/index.0205acd1.js.map +1 -0
  99. package/dist/manifest.json +349 -259
  100. package/dist/types.json +660 -525
  101. package/dist-types/bootstrap.d.ts +2 -0
  102. package/dist-types/code-block/index.d.ts +36 -0
  103. package/dist-types/code-block/index.spec.d.ts +2 -0
  104. package/dist-types/code-wrapper/index.d.ts +32 -0
  105. package/dist-types/code-wrapper/index.spec.d.ts +1 -0
  106. package/docs/eo-code-block.md +15 -0
  107. package/package.json +3 -3
  108. package/dist/chunks/114.1c7311ae.js +0 -2
  109. package/dist/chunks/1889.39e890ab.js +0 -2
  110. package/dist/chunks/1889.39e890ab.js.map +0 -1
  111. package/dist/chunks/4306.0c3d1cb1.js +0 -2
  112. package/dist/chunks/4306.0c3d1cb1.js.map +0 -1
  113. package/dist/chunks/5746.69eae993.js +0 -3
  114. package/dist/chunks/5746.69eae993.js.map +0 -1
  115. package/dist/chunks/7082.2b6f2b19.js +0 -2
  116. package/dist/chunks/7082.2b6f2b19.js.map +0 -1
  117. package/dist/chunks/7733.e71133ff.js +0 -2
  118. package/dist/chunks/9140.13b890b2.js +0 -3
  119. package/dist/chunks/9140.13b890b2.js.map +0 -1
  120. package/dist/chunks/eo-card-item.6feda942.js +0 -3
  121. package/dist/chunks/eo-carousel-text.b0e3ca7c.js +0 -2
  122. package/dist/chunks/eo-code-display.a3897397.js +0 -2
  123. package/dist/chunks/eo-code-display.a3897397.js.map +0 -1
  124. package/dist/chunks/eo-current-time.28667a90.js +0 -2
  125. package/dist/chunks/eo-divider.f669534e.js +0 -3
  126. package/dist/chunks/eo-humanize-time.6d09bec0.js +0 -2
  127. package/dist/chunks/eo-pagination.5f8f5ec7.js +0 -3
  128. package/dist/chunks/eo-statistics-card.c6317452.js +0 -2
  129. package/dist/chunks/main.76111566.js +0 -2
  130. package/dist/chunks/main.76111566.js.map +0 -1
  131. package/dist/index.88406423.js +0 -2
  132. package/dist/index.88406423.js.map +0 -1
  133. /package/dist/chunks/{5746.69eae993.js.LICENSE.txt → 3699.6f60864f.js.LICENSE.txt} +0 -0
  134. /package/dist/chunks/{9140.13b890b2.js.LICENSE.txt → 948.e1790690.js.LICENSE.txt} +0 -0
  135. /package/dist/chunks/{eo-alert.0f3e7944.js.LICENSE.txt → code-wrapper.be0d1487.js.LICENSE.txt} +0 -0
  136. /package/dist/chunks/{eo-card-item.6feda942.js.LICENSE.txt → eo-alert.625d5099.js.LICENSE.txt} +0 -0
  137. /package/dist/chunks/{eo-descriptions.4ce01d04.js.LICENSE.txt → eo-card-item.da90013a.js.LICENSE.txt} +0 -0
  138. /package/dist/chunks/{eo-divider.f669534e.js.LICENSE.txt → eo-descriptions.84bd1dfe.js.LICENSE.txt} +0 -0
  139. /package/dist/chunks/{eo-info-card-item.844117a4.js.LICENSE.txt → eo-divider.7273176b.js.LICENSE.txt} +0 -0
  140. /package/dist/chunks/{eo-loading-step.f189dd21.js.LICENSE.txt → eo-info-card-item.554cba4f.js.LICENSE.txt} +0 -0
  141. /package/dist/chunks/{eo-pagination.5f8f5ec7.js.LICENSE.txt → eo-loading-step.604d6e34.js.LICENSE.txt} +0 -0
@@ -3,136 +3,6 @@
3
3
  "package": "@next-bricks/presentational",
4
4
  "name": "presentational",
5
5
  "bricks": [
6
- {
7
- "name": "eo-descriptions",
8
- "alias": [
9
- "presentational.general-descriptions"
10
- ],
11
- "properties": [
12
- {
13
- "name": "descriptionTitle",
14
- "description": "描述标题",
15
- "type": "string"
16
- },
17
- {
18
- "name": "list",
19
- "description": "描述列表",
20
- "attribute": false,
21
- "type": "DescriptionItem[]"
22
- },
23
- {
24
- "name": "showCard",
25
- "description": "是否展示卡片背景",
26
- "default": "true",
27
- "type": "boolean"
28
- },
29
- {
30
- "name": "column",
31
- "description": "列数",
32
- "attribute": true,
33
- "type": "number"
34
- },
35
- {
36
- "name": "templateColumns",
37
- "description": "CSS [grid-template-columns](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns)",
38
- "type": "string"
39
- },
40
- {
41
- "name": "layout",
42
- "description": "布局模式",
43
- "default": "\"horizontal\"",
44
- "type": "Layout"
45
- },
46
- {
47
- "name": "bordered",
48
- "description": "是否展示边框",
49
- "default": "false",
50
- "type": "boolean"
51
- },
52
- {
53
- "name": "hideGroups",
54
- "description": "隐藏的描述列表项",
55
- "attribute": false,
56
- "type": "string | string[]"
57
- },
58
- {
59
- "name": "dataSource",
60
- "description": "数据源",
61
- "attribute": false,
62
- "type": "Record<string, unknown>"
63
- },
64
- {
65
- "name": "themeVariant",
66
- "description": "主题变体",
67
- "type": "\"default\" | \"elevo\""
68
- }
69
- ],
70
- "events": [],
71
- "slots": [],
72
- "methods": [],
73
- "parts": [],
74
- "description": "通用描述列表构件",
75
- "category": "text"
76
- },
77
- {
78
- "name": "eo-alert",
79
- "alias": [
80
- "presentational.general-alert"
81
- ],
82
- "properties": [
83
- {
84
- "name": "type",
85
- "description": "警告类型",
86
- "attribute": false,
87
- "type": "AlertType"
88
- },
89
- {
90
- "name": "hasTitle",
91
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
92
- "type": "boolean"
93
- },
94
- {
95
- "name": "showIcon",
96
- "description": "是否显示提示图标",
97
- "type": "boolean"
98
- },
99
- {
100
- "name": "closable",
101
- "description": "是否显示关闭按钮",
102
- "type": "boolean"
103
- },
104
- {
105
- "name": "localStorageKey",
106
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
107
- "type": "string"
108
- },
109
- {
110
- "name": "disableUrlNamespace",
111
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
112
- "type": "boolean"
113
- },
114
- {
115
- "name": "textContent",
116
- "type": "string",
117
- "description": "文本内容"
118
- }
119
- ],
120
- "events": [],
121
- "slots": [
122
- {
123
- "name": null,
124
- "description": "内容区"
125
- },
126
- {
127
- "name": "title",
128
- "description": "标题"
129
- }
130
- ],
131
- "methods": [],
132
- "parts": [],
133
- "description": "告警提示",
134
- "category": "display-component"
135
- },
136
6
  {
137
7
  "name": "eo-pagination",
138
8
  "properties": [
@@ -197,63 +67,6 @@
197
67
  "description": "分页",
198
68
  "category": "navigation"
199
69
  },
200
- {
201
- "name": "eo-code-display",
202
- "alias": [
203
- "presentational.code-display"
204
- ],
205
- "properties": [
206
- {
207
- "name": "value",
208
- "description": "代码内容",
209
- "default": "\"\"",
210
- "type": "string"
211
- },
212
- {
213
- "name": "language",
214
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
215
- "type": "string"
216
- },
217
- {
218
- "name": "hideLineNumber",
219
- "description": "是否隐藏行号",
220
- "type": "boolean"
221
- },
222
- {
223
- "name": "maxLines",
224
- "description": "最大行数",
225
- "type": "number"
226
- },
227
- {
228
- "name": "minLines",
229
- "description": "最小行数",
230
- "type": "number"
231
- },
232
- {
233
- "name": "showCopyButton",
234
- "description": "是否显示复制按钮",
235
- "default": "true",
236
- "type": "boolean"
237
- },
238
- {
239
- "name": "showExportButton",
240
- "description": "是否显示导出按钮",
241
- "type": "boolean"
242
- },
243
- {
244
- "name": "exportFileName",
245
- "description": "导出的文件名",
246
- "default": "download.txt",
247
- "type": "string"
248
- }
249
- ],
250
- "events": [],
251
- "slots": [],
252
- "methods": [],
253
- "parts": [],
254
- "description": "代码展示",
255
- "category": "display-component"
256
- },
257
70
  {
258
71
  "name": "eo-card-item",
259
72
  "properties": [
@@ -514,6 +327,63 @@
514
327
  "description": "信息卡片",
515
328
  "category": "card-info"
516
329
  },
330
+ {
331
+ "name": "eo-code-display",
332
+ "alias": [
333
+ "presentational.code-display"
334
+ ],
335
+ "properties": [
336
+ {
337
+ "name": "value",
338
+ "description": "代码内容",
339
+ "default": "\"\"",
340
+ "type": "string"
341
+ },
342
+ {
343
+ "name": "language",
344
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
345
+ "type": "string"
346
+ },
347
+ {
348
+ "name": "hideLineNumber",
349
+ "description": "是否隐藏行号",
350
+ "type": "boolean"
351
+ },
352
+ {
353
+ "name": "maxLines",
354
+ "description": "最大行数",
355
+ "type": "number"
356
+ },
357
+ {
358
+ "name": "minLines",
359
+ "description": "最小行数",
360
+ "type": "number"
361
+ },
362
+ {
363
+ "name": "showCopyButton",
364
+ "description": "是否显示复制按钮",
365
+ "default": "true",
366
+ "type": "boolean"
367
+ },
368
+ {
369
+ "name": "showExportButton",
370
+ "description": "是否显示导出按钮",
371
+ "type": "boolean"
372
+ },
373
+ {
374
+ "name": "exportFileName",
375
+ "description": "导出的文件名",
376
+ "default": "download.txt",
377
+ "type": "string"
378
+ }
379
+ ],
380
+ "events": [],
381
+ "slots": [],
382
+ "methods": [],
383
+ "parts": [],
384
+ "description": "代码展示",
385
+ "category": "display-component"
386
+ },
517
387
  {
518
388
  "name": "eo-humanize-time",
519
389
  "alias": [
@@ -580,16 +450,106 @@
580
450
  "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
581
451
  },
582
452
  {
583
- "name": "eo-loading-step",
453
+ "name": "eo-statistics-card",
584
454
  "properties": [
585
455
  {
586
- "name": "visible",
587
- "description": "是否可见",
588
- "type": "boolean"
456
+ "name": "cardTitle",
457
+ "description": "卡片标题",
458
+ "type": "string"
589
459
  },
590
460
  {
591
- "name": "width",
592
- "description": "宽度",
461
+ "name": "value",
462
+ "description": "",
463
+ "type": "string"
464
+ },
465
+ {
466
+ "name": "unit",
467
+ "description": "单位",
468
+ "type": "string"
469
+ },
470
+ {
471
+ "name": "icon",
472
+ "description": "图标",
473
+ "attribute": false,
474
+ "type": "EoStatisticsCardProps[\"icon\"]"
475
+ },
476
+ {
477
+ "name": "size",
478
+ "description": "尺寸",
479
+ "default": "\"medium\"",
480
+ "type": "\"large\" | \"medium\" | \"small\""
481
+ },
482
+ {
483
+ "name": "outline",
484
+ "description": "卡片轮廓",
485
+ "default": "\"border\"",
486
+ "type": "\"border\" | \"background\" | \"none\""
487
+ },
488
+ {
489
+ "name": "background",
490
+ "description": "背景",
491
+ "type": "string"
492
+ },
493
+ {
494
+ "name": "descriptionPosition",
495
+ "description": "描述位置",
496
+ "default": "\"bottom\"",
497
+ "type": "\"bottom\" | \"right\""
498
+ },
499
+ {
500
+ "name": "valueStyle",
501
+ "description": "值样式",
502
+ "attribute": false,
503
+ "type": "React.CSSProperties"
504
+ },
505
+ {
506
+ "name": "interactable",
507
+ "description": "是否可互动",
508
+ "type": "boolean"
509
+ }
510
+ ],
511
+ "events": [],
512
+ "slots": [
513
+ {
514
+ "name": "titlePrefix",
515
+ "description": "标题前缀,放置辅助信息"
516
+ },
517
+ {
518
+ "name": "titleSuffix",
519
+ "description": "标题前缀,放置辅助信息"
520
+ },
521
+ {
522
+ "name": "description",
523
+ "description": "描述信息,通常是对于统计值的描述"
524
+ },
525
+ {
526
+ "name": "basicContent",
527
+ "description": "卡片右侧内容区,适合放置迷你图表,常用于小卡片"
528
+ },
529
+ {
530
+ "name": "extraContent",
531
+ "description": "卡片下方内容区,适合放置图表,用于展示更多信息的场景"
532
+ },
533
+ {
534
+ "name": "operator",
535
+ "description": "右上角操作区"
536
+ }
537
+ ],
538
+ "methods": [],
539
+ "parts": [],
540
+ "description": "统计卡片"
541
+ },
542
+ {
543
+ "name": "eo-loading-step",
544
+ "properties": [
545
+ {
546
+ "name": "visible",
547
+ "description": "是否可见",
548
+ "type": "boolean"
549
+ },
550
+ {
551
+ "name": "width",
552
+ "description": "宽度",
593
553
  "type": "string"
594
554
  },
595
555
  {
@@ -666,134 +626,264 @@
666
626
  "description": "构件 `eo-current-time`"
667
627
  },
668
628
  {
669
- "name": "eo-statistics-card",
629
+ "name": "eo-carousel-text",
670
630
  "properties": [
671
631
  {
672
- "name": "cardTitle",
673
- "description": "卡片标题",
632
+ "name": "text",
633
+ "description": "展示内容",
634
+ "default": "\"\"",
674
635
  "type": "string"
675
636
  },
676
637
  {
677
- "name": "value",
678
- "description": "",
638
+ "name": "containerWidth",
639
+ "description": "容器宽度",
640
+ "default": "\"100%\"",
641
+ "type": "CSSProperties[\"width\"]"
642
+ },
643
+ {
644
+ "name": "fontSize",
645
+ "description": "字体大小",
646
+ "default": "\"var(--normal-font-size)\"",
647
+ "type": "CSSProperties[\"fontSize\"]"
648
+ },
649
+ {
650
+ "name": "fontColor",
651
+ "description": "字体颜色",
652
+ "default": "\"var(--text-color-default)\"",
653
+ "type": "CSSProperties[\"color\"]"
654
+ },
655
+ {
656
+ "name": "speed",
657
+ "description": "移动速度,单位 px/s",
658
+ "default": "100",
659
+ "type": "number"
660
+ }
661
+ ],
662
+ "events": [],
663
+ "slots": [],
664
+ "methods": [],
665
+ "parts": [],
666
+ "description": "构件 `eo-carousel-text`"
667
+ },
668
+ {
669
+ "name": "eo-code-block",
670
+ "alias": [
671
+ "presentational.code-block"
672
+ ],
673
+ "properties": [
674
+ {
675
+ "name": "language",
679
676
  "type": "string"
680
677
  },
681
678
  {
682
- "name": "unit",
683
- "description": "单位",
679
+ "name": "source",
684
680
  "type": "string"
685
681
  },
686
682
  {
687
- "name": "icon",
688
- "description": "图标",
689
- "attribute": false,
690
- "type": "EoStatisticsCardProps[\"icon\"]"
683
+ "name": "theme",
684
+ "description": "",
685
+ "default": "\"auto\"",
686
+ "type": "\"auto\" | \"light-plus\" | \"dark-plus\""
691
687
  },
692
688
  {
693
- "name": "size",
694
- "description": "尺寸",
695
- "default": "\"medium\"",
696
- "type": "\"large\" | \"medium\" | \"small\""
689
+ "name": "themeVariant",
690
+ "description": "主题变体",
691
+ "type": "\"default\" | \"elevo\""
697
692
  },
698
693
  {
699
- "name": "outline",
700
- "description": "卡片轮廓",
701
- "default": "\"border\"",
702
- "type": "\"border\" | \"background\" | \"none\""
694
+ "name": "showCopyButton",
695
+ "description": "是否展示复制按钮",
696
+ "default": "true",
697
+ "type": "boolean"
698
+ }
699
+ ],
700
+ "events": [],
701
+ "slots": [],
702
+ "methods": [],
703
+ "parts": [
704
+ {
705
+ "name": "pre",
706
+ "description": "包裹代码内容的 `<pre>` 元素"
703
707
  },
704
708
  {
705
- "name": "background",
706
- "description": "背景",
707
- "type": "string"
709
+ "name": "copy",
710
+ "description": "复制按钮"
708
711
  },
709
712
  {
710
- "name": "descriptionPosition",
711
- "description": "描述位置",
712
- "default": "\"bottom\"",
713
- "type": "\"bottom\" | \"right\""
713
+ "name": "mermaid",
714
+ "description": "Mermaid 图表"
714
715
  },
715
716
  {
716
- "name": "valueStyle",
717
- "description": "值样式",
717
+ "name": "wrapper",
718
+ "description": "code-wrapper 构件"
719
+ }
720
+ ],
721
+ "description": "构件 `eo-code-block`"
722
+ },
723
+ {
724
+ "name": "presentational.code-wrapper",
725
+ "properties": [
726
+ {
727
+ "name": "preProps",
718
728
  "attribute": false,
719
- "type": "React.CSSProperties"
729
+ "type": "React.PropsWithChildren<JSX.IntrinsicElements[\"pre\"]>"
720
730
  },
721
731
  {
722
- "name": "interactable",
723
- "description": "是否可互动",
732
+ "name": "showCopyButton",
733
+ "description": "是否展示复制按钮",
734
+ "default": "true",
724
735
  "type": "boolean"
736
+ },
737
+ {
738
+ "name": "themeVariant",
739
+ "description": "主题变体",
740
+ "type": "\"default\" | \"elevo\""
725
741
  }
726
742
  ],
727
743
  "events": [],
728
- "slots": [
744
+ "slots": [],
745
+ "methods": [],
746
+ "parts": [
729
747
  {
730
- "name": "titlePrefix",
731
- "description": "标题前缀,放置辅助信息"
748
+ "name": "pre",
749
+ "description": "包裹代码内容的 `<pre>` 元素"
732
750
  },
733
751
  {
734
- "name": "titleSuffix",
735
- "description": "标题前缀,放置辅助信息"
752
+ "name": "copy",
753
+ "description": "复制按钮"
754
+ }
755
+ ],
756
+ "description": "构件 `presentational.code-wrapper`"
757
+ },
758
+ {
759
+ "name": "eo-alert",
760
+ "alias": [
761
+ "presentational.general-alert"
762
+ ],
763
+ "properties": [
764
+ {
765
+ "name": "type",
766
+ "description": "警告类型",
767
+ "attribute": false,
768
+ "type": "AlertType"
736
769
  },
737
770
  {
738
- "name": "description",
739
- "description": "描述信息,通常是对于统计值的描述"
771
+ "name": "hasTitle",
772
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
773
+ "type": "boolean"
740
774
  },
741
775
  {
742
- "name": "basicContent",
743
- "description": "卡片右侧内容区,适合放置迷你图表,常用于小卡片"
776
+ "name": "showIcon",
777
+ "description": "是否显示提示图标",
778
+ "type": "boolean"
744
779
  },
745
780
  {
746
- "name": "extraContent",
747
- "description": "卡片下方内容区,适合放置图表,用于展示更多信息的场景"
781
+ "name": "closable",
782
+ "description": "是否显示关闭按钮",
783
+ "type": "boolean"
748
784
  },
749
785
  {
750
- "name": "operator",
751
- "description": "右上角操作区"
786
+ "name": "localStorageKey",
787
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
788
+ "type": "string"
789
+ },
790
+ {
791
+ "name": "disableUrlNamespace",
792
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
793
+ "type": "boolean"
794
+ },
795
+ {
796
+ "name": "textContent",
797
+ "type": "string",
798
+ "description": "文本内容"
799
+ }
800
+ ],
801
+ "events": [],
802
+ "slots": [
803
+ {
804
+ "name": null,
805
+ "description": "内容区"
806
+ },
807
+ {
808
+ "name": "title",
809
+ "description": "标题"
752
810
  }
753
811
  ],
754
812
  "methods": [],
755
813
  "parts": [],
756
- "description": "统计卡片"
814
+ "description": "告警提示",
815
+ "category": "display-component"
757
816
  },
758
817
  {
759
- "name": "eo-carousel-text",
818
+ "name": "eo-descriptions",
819
+ "alias": [
820
+ "presentational.general-descriptions"
821
+ ],
760
822
  "properties": [
761
823
  {
762
- "name": "text",
763
- "description": "展示内容",
764
- "default": "\"\"",
824
+ "name": "descriptionTitle",
825
+ "description": "描述标题",
765
826
  "type": "string"
766
827
  },
767
828
  {
768
- "name": "containerWidth",
769
- "description": "容器宽度",
770
- "default": "\"100%\"",
771
- "type": "CSSProperties[\"width\"]"
829
+ "name": "list",
830
+ "description": "描述列表",
831
+ "attribute": false,
832
+ "type": "DescriptionItem[]"
772
833
  },
773
834
  {
774
- "name": "fontSize",
775
- "description": "字体大小",
776
- "default": "\"var(--normal-font-size)\"",
777
- "type": "CSSProperties[\"fontSize\"]"
835
+ "name": "showCard",
836
+ "description": "是否展示卡片背景",
837
+ "default": "true",
838
+ "type": "boolean"
778
839
  },
779
840
  {
780
- "name": "fontColor",
781
- "description": "字体颜色",
782
- "default": "\"var(--text-color-default)\"",
783
- "type": "CSSProperties[\"color\"]"
841
+ "name": "column",
842
+ "description": "列数",
843
+ "attribute": true,
844
+ "type": "number"
784
845
  },
785
846
  {
786
- "name": "speed",
787
- "description": "移动速度,单位 px/s",
788
- "default": "100",
789
- "type": "number"
847
+ "name": "templateColumns",
848
+ "description": "CSS [grid-template-columns](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns)",
849
+ "type": "string"
850
+ },
851
+ {
852
+ "name": "layout",
853
+ "description": "布局模式",
854
+ "default": "\"horizontal\"",
855
+ "type": "Layout"
856
+ },
857
+ {
858
+ "name": "bordered",
859
+ "description": "是否展示边框",
860
+ "default": "false",
861
+ "type": "boolean"
862
+ },
863
+ {
864
+ "name": "hideGroups",
865
+ "description": "隐藏的描述列表项",
866
+ "attribute": false,
867
+ "type": "string | string[]"
868
+ },
869
+ {
870
+ "name": "dataSource",
871
+ "description": "数据源",
872
+ "attribute": false,
873
+ "type": "Record<string, unknown>"
874
+ },
875
+ {
876
+ "name": "themeVariant",
877
+ "description": "主题变体",
878
+ "type": "\"default\" | \"elevo\""
790
879
  }
791
880
  ],
792
881
  "events": [],
793
882
  "slots": [],
794
883
  "methods": [],
795
884
  "parts": [],
796
- "description": "构件 `eo-carousel-text`"
885
+ "description": "通用描述列表构件",
886
+ "category": "text"
797
887
  }
798
888
  ],
799
889
  "providers": []