@next-bricks/presentational 1.11.6 → 1.12.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,6 +64,70 @@
64
64
  "description": "通用描述列表构件",
65
65
  "category": "text"
66
66
  },
67
+ {
68
+ "name": "eo-pagination",
69
+ "properties": [
70
+ {
71
+ "name": "type",
72
+ "description": "",
73
+ "default": "\"page\"",
74
+ "type": "\"page\" | \"token\""
75
+ },
76
+ {
77
+ "name": "total",
78
+ "description": "数据总数",
79
+ "default": "0",
80
+ "type": "number"
81
+ },
82
+ {
83
+ "name": "page",
84
+ "description": "当前页数",
85
+ "default": "1",
86
+ "type": "number"
87
+ },
88
+ {
89
+ "name": "pageSize",
90
+ "description": "每页条数",
91
+ "default": "20",
92
+ "type": "number"
93
+ },
94
+ {
95
+ "name": "pageSizeOptions",
96
+ "description": "指定每页可以显示多少条",
97
+ "default": "[10, 20, 50, 100]",
98
+ "attribute": false,
99
+ "type": "number[]"
100
+ },
101
+ {
102
+ "name": "showSizeChanger",
103
+ "description": "是否展示`pageSize`分页器",
104
+ "default": "true",
105
+ "type": "boolean"
106
+ },
107
+ {
108
+ "name": "nextToken",
109
+ "type": "string"
110
+ },
111
+ {
112
+ "name": "previousToken",
113
+ "type": "string"
114
+ }
115
+ ],
116
+ "events": [
117
+ {
118
+ "name": "change",
119
+ "description": "页码及每页条数改变事件",
120
+ "detail": {
121
+ "type": "ChangeDetail"
122
+ }
123
+ }
124
+ ],
125
+ "slots": [],
126
+ "methods": [],
127
+ "parts": [],
128
+ "description": "分页",
129
+ "category": "navigation"
130
+ },
67
131
  {
68
132
  "name": "eo-alert",
69
133
  "alias": [
@@ -123,6 +187,48 @@
123
187
  "description": "告警提示",
124
188
  "category": "display-component"
125
189
  },
190
+ {
191
+ "name": "eo-divider",
192
+ "properties": [
193
+ {
194
+ "name": "orientation",
195
+ "description": "标题位置,在horizontal类型的分割线中使用",
196
+ "default": "center",
197
+ "attribute": false,
198
+ "type": "OrientationType"
199
+ },
200
+ {
201
+ "name": "dashed",
202
+ "description": "是否虚线",
203
+ "default": "false",
204
+ "type": "boolean"
205
+ },
206
+ {
207
+ "name": "type",
208
+ "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
209
+ "default": "\"horizontal\"",
210
+ "type": "dividerType"
211
+ },
212
+ {
213
+ "name": "proportion",
214
+ "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
215
+ "attribute": false,
216
+ "type": "[number, number]"
217
+ },
218
+ {
219
+ "name": "dividerStyle",
220
+ "description": "分割线自定义样式",
221
+ "attribute": false,
222
+ "type": "CSSProperties"
223
+ }
224
+ ],
225
+ "events": [],
226
+ "slots": [],
227
+ "methods": [],
228
+ "parts": [],
229
+ "description": "分割线",
230
+ "category": "container-display"
231
+ },
126
232
  {
127
233
  "name": "eo-code-display",
128
234
  "alias": [
@@ -180,70 +286,6 @@
180
286
  "description": "代码展示",
181
287
  "category": "display-component"
182
288
  },
183
- {
184
- "name": "eo-pagination",
185
- "properties": [
186
- {
187
- "name": "type",
188
- "description": "",
189
- "default": "\"page\"",
190
- "type": "\"page\" | \"token\""
191
- },
192
- {
193
- "name": "total",
194
- "description": "数据总数",
195
- "default": "0",
196
- "type": "number"
197
- },
198
- {
199
- "name": "page",
200
- "description": "当前页数",
201
- "default": "1",
202
- "type": "number"
203
- },
204
- {
205
- "name": "pageSize",
206
- "description": "每页条数",
207
- "default": "20",
208
- "type": "number"
209
- },
210
- {
211
- "name": "pageSizeOptions",
212
- "description": "指定每页可以显示多少条",
213
- "default": "[10, 20, 50, 100]",
214
- "attribute": false,
215
- "type": "number[]"
216
- },
217
- {
218
- "name": "showSizeChanger",
219
- "description": "是否展示`pageSize`分页器",
220
- "default": "true",
221
- "type": "boolean"
222
- },
223
- {
224
- "name": "nextToken",
225
- "type": "string"
226
- },
227
- {
228
- "name": "previousToken",
229
- "type": "string"
230
- }
231
- ],
232
- "events": [
233
- {
234
- "name": "change",
235
- "description": "页码及每页条数改变事件",
236
- "detail": {
237
- "type": "ChangeDetail"
238
- }
239
- }
240
- ],
241
- "slots": [],
242
- "methods": [],
243
- "parts": [],
244
- "description": "分页",
245
- "category": "navigation"
246
- },
247
289
  {
248
290
  "name": "eo-card-item",
249
291
  "properties": [
@@ -375,48 +417,6 @@
375
417
  "description": "信息类卡片 —— 通用卡片",
376
418
  "category": "card-info"
377
419
  },
378
- {
379
- "name": "eo-divider",
380
- "properties": [
381
- {
382
- "name": "orientation",
383
- "description": "标题位置,在horizontal类型的分割线中使用",
384
- "default": "center",
385
- "attribute": false,
386
- "type": "OrientationType"
387
- },
388
- {
389
- "name": "dashed",
390
- "description": "是否虚线",
391
- "default": "false",
392
- "type": "boolean"
393
- },
394
- {
395
- "name": "type",
396
- "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
397
- "default": "\"horizontal\"",
398
- "type": "dividerType"
399
- },
400
- {
401
- "name": "proportion",
402
- "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
403
- "attribute": false,
404
- "type": "[number, number]"
405
- },
406
- {
407
- "name": "dividerStyle",
408
- "description": "分割线自定义样式",
409
- "attribute": false,
410
- "type": "CSSProperties"
411
- }
412
- ],
413
- "events": [],
414
- "slots": [],
415
- "methods": [],
416
- "parts": [],
417
- "description": "分割线",
418
- "category": "container-display"
419
- },
420
420
  {
421
421
  "name": "eo-info-card-item",
422
422
  "properties": [
@@ -719,19 +719,19 @@
719
719
  {
720
720
  "name": "fontSize",
721
721
  "description": "字体大小",
722
- "default": "\"14px\"",
722
+ "default": "\"var(--normal-font-size)\"",
723
723
  "type": "CSSProperties[\"fontSize\"]"
724
724
  },
725
725
  {
726
726
  "name": "fontColor",
727
727
  "description": "字体颜色",
728
- "default": "\"black\"",
728
+ "default": "\"var(--text-color-default)\"",
729
729
  "type": "CSSProperties[\"color\"]"
730
730
  },
731
731
  {
732
- "name": "animationDuration",
733
- "description": "动画周期所需时间,单位ms",
734
- "default": "3000",
732
+ "name": "speed",
733
+ "description": "移动速度,单位 px/s",
734
+ "default": "100",
735
735
  "type": "number"
736
736
  }
737
737
  ],