@next-bricks/presentational 1.8.3 → 1.9.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,167 +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
- {
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
67
  {
229
68
  "name": "eo-card-item",
230
69
  "properties": [
@@ -276,6 +115,12 @@
276
115
  "attribute": false,
277
116
  "type": "ActionType[]"
278
117
  },
118
+ {
119
+ "name": "showActions",
120
+ "description": "展示操作按钮组",
121
+ "default": "\"always\"",
122
+ "type": "\"always\" | \"hover\""
123
+ },
279
124
  {
280
125
  "name": "selected",
281
126
  "description": "是否选中",
@@ -318,6 +163,12 @@
318
163
  "name": "tagConfig",
319
164
  "attribute": false,
320
165
  "type": "TagConfig"
166
+ },
167
+ {
168
+ "name": "cardStyle",
169
+ "description": "卡片样式",
170
+ "attribute": false,
171
+ "type": "React.CSSProperties"
321
172
  }
322
173
  ],
323
174
  "events": [
@@ -386,6 +237,56 @@
386
237
  "description": "分割线",
387
238
  "category": "container-display"
388
239
  },
240
+ {
241
+ "name": "eo-pagination",
242
+ "properties": [
243
+ {
244
+ "name": "total",
245
+ "description": "数据总数",
246
+ "default": "0",
247
+ "type": "number"
248
+ },
249
+ {
250
+ "name": "page",
251
+ "description": "当前页数",
252
+ "default": "1",
253
+ "type": "number"
254
+ },
255
+ {
256
+ "name": "pageSize",
257
+ "description": "每页条数",
258
+ "default": "20",
259
+ "type": "number"
260
+ },
261
+ {
262
+ "name": "pageSizeOptions",
263
+ "description": "指定每页可以显示多少条",
264
+ "default": "[10, 20, 50, 100]",
265
+ "attribute": false,
266
+ "type": "number[]"
267
+ },
268
+ {
269
+ "name": "showSizeChanger",
270
+ "description": "是否展示`pageSize`分页器",
271
+ "default": "true",
272
+ "type": "boolean"
273
+ }
274
+ ],
275
+ "events": [
276
+ {
277
+ "name": "change",
278
+ "description": "页码及每页条数改变事件",
279
+ "detail": {
280
+ "type": "{ page: number; pageSize: number }"
281
+ }
282
+ }
283
+ ],
284
+ "slots": [],
285
+ "methods": [],
286
+ "parts": [],
287
+ "description": "分页",
288
+ "category": "navigation"
289
+ },
389
290
  {
390
291
  "name": "eo-info-card-item",
391
292
  "properties": [
@@ -572,6 +473,60 @@
572
473
  "parts": [],
573
474
  "description": "统计卡片"
574
475
  },
476
+ {
477
+ "name": "eo-alert",
478
+ "alias": [
479
+ "presentational.general-alert"
480
+ ],
481
+ "properties": [
482
+ {
483
+ "name": "type",
484
+ "description": "警告类型",
485
+ "attribute": false,
486
+ "type": "AlertType"
487
+ },
488
+ {
489
+ "name": "hasTitle",
490
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
491
+ "type": "boolean"
492
+ },
493
+ {
494
+ "name": "showIcon",
495
+ "description": "是否显示提示图标",
496
+ "type": "boolean"
497
+ },
498
+ {
499
+ "name": "closable",
500
+ "description": "是否显示关闭按钮",
501
+ "type": "boolean"
502
+ },
503
+ {
504
+ "name": "localStorageKey",
505
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
506
+ "type": "string"
507
+ },
508
+ {
509
+ "name": "disableUrlNamespace",
510
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
511
+ "type": "boolean"
512
+ }
513
+ ],
514
+ "events": [],
515
+ "slots": [
516
+ {
517
+ "name": null,
518
+ "description": "内容区"
519
+ },
520
+ {
521
+ "name": "title",
522
+ "description": "标题"
523
+ }
524
+ ],
525
+ "methods": [],
526
+ "parts": [],
527
+ "description": "告警提示",
528
+ "category": "display-component"
529
+ },
575
530
  {
576
531
  "name": "eo-loading-step",
577
532
  "properties": [
@@ -697,6 +652,63 @@
697
652
  "methods": [],
698
653
  "parts": [],
699
654
  "description": "构件 `eo-carousel-text`"
655
+ },
656
+ {
657
+ "name": "eo-code-display",
658
+ "alias": [
659
+ "presentational.code-display"
660
+ ],
661
+ "properties": [
662
+ {
663
+ "name": "value",
664
+ "description": "代码内容",
665
+ "default": "\"\"",
666
+ "type": "string"
667
+ },
668
+ {
669
+ "name": "language",
670
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
671
+ "type": "string"
672
+ },
673
+ {
674
+ "name": "hideLineNumber",
675
+ "description": "是否隐藏行号",
676
+ "type": "boolean"
677
+ },
678
+ {
679
+ "name": "maxLines",
680
+ "description": "最大行数",
681
+ "type": "number"
682
+ },
683
+ {
684
+ "name": "minLines",
685
+ "description": "最小行数",
686
+ "type": "number"
687
+ },
688
+ {
689
+ "name": "showCopyButton",
690
+ "description": "是否显示复制按钮",
691
+ "default": "true",
692
+ "type": "boolean"
693
+ },
694
+ {
695
+ "name": "showExportButton",
696
+ "description": "是否显示导出按钮",
697
+ "type": "boolean"
698
+ },
699
+ {
700
+ "name": "exportFileName",
701
+ "description": "导出的文件名",
702
+ "default": "download.txt",
703
+ "type": "string"
704
+ }
705
+ ],
706
+ "events": [],
707
+ "slots": [],
708
+ "methods": [],
709
+ "parts": [],
710
+ "description": "代码展示",
711
+ "category": "display-component"
700
712
  }
701
713
  ],
702
714
  "providers": []