@next-bricks/presentational-bricks 1.264.0 → 1.264.3
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.
- package/CHANGELOG.md +27 -0
- package/deploy/contract.yaml +106 -106
- package/dist/bricks.json +23 -23
- package/dist/{index.6eb15a69.js → index.c51784c0.js} +2 -2
- package/dist/{index.6eb15a69.js.map → index.c51784c0.js.map} +1 -1
- package/dist/lazy-bricks/brick-collapse-card.dd92.95f70682.js.map +1 -1
- package/dist/lazy-bricks/card-item.dd92.ff491f7f.js.map +1 -1
- package/dist/stories.json +81 -43
- package/package.json +2 -2
package/dist/stories.json
CHANGED
|
@@ -198,16 +198,16 @@
|
|
|
198
198
|
"slots": null,
|
|
199
199
|
"history": [
|
|
200
200
|
{
|
|
201
|
-
"version": "1.
|
|
202
|
-
"change": "
|
|
201
|
+
"version": "1.90.0",
|
|
202
|
+
"change": "新增 text 和 fontSIze 属性"
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
"version": "1.82.3",
|
|
206
206
|
"change": "color 颜色选择标准化"
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
"version": "1.
|
|
210
|
-
"change": "
|
|
209
|
+
"version": "1.82.2",
|
|
210
|
+
"change": "新增构件 `presentational-bricks.basic-progress`"
|
|
211
211
|
}
|
|
212
212
|
],
|
|
213
213
|
"memo": "```typescript\nexport enum Color {\n green = \"green\",\n red = \"red\",\n blue = \"blue\",\n orange = \"orange\",\n cyan = \"cyan\",\n purple = \"purple\",\n geekblue = \"geekblue\",\n gray = \"gray\",\n slategray = \"slategray\",\n doderblue = \"doderblue\",\n royalblue = \"royalblue\",\n lightorange = \"lightorange\",\n goldenrod = \"goldenrod\",\n jewelryblue = \"jewelryblue\",\n orangered = \"orangered\",\n springgreen = \"springgreen\",\n mediumpurple = \"mediumpurple\",\n skyblue = \"skyblue\",\n yellowgreen = \"yellowgreen\",\n lightpurple = \"lightpurple\",\n}\n```",
|
|
@@ -216,59 +216,58 @@
|
|
|
216
216
|
"name": "value",
|
|
217
217
|
"type": "number",
|
|
218
218
|
"required": "true",
|
|
219
|
-
"
|
|
220
|
-
"
|
|
219
|
+
"description": "进度值(只负责确定颜色的值)",
|
|
220
|
+
"group": "basic"
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
"name": "type",
|
|
224
|
-
"type": "line|circle|dashboard",
|
|
224
|
+
"type": "line | circle | dashboard",
|
|
225
225
|
"required": "circle",
|
|
226
226
|
"default": "dashboard",
|
|
227
|
-
"description": "类型"
|
|
227
|
+
"description": "类型",
|
|
228
|
+
"group": "basic"
|
|
228
229
|
},
|
|
229
230
|
{
|
|
230
231
|
"name": "text",
|
|
231
232
|
"type": "string",
|
|
232
233
|
"required": "false",
|
|
233
|
-
"
|
|
234
|
-
"
|
|
234
|
+
"description": "展示内容",
|
|
235
|
+
"group": "basic"
|
|
235
236
|
},
|
|
236
237
|
{
|
|
237
|
-
"name": "
|
|
238
|
+
"name": "description",
|
|
238
239
|
"type": "string",
|
|
239
240
|
"required": "false",
|
|
240
|
-
"
|
|
241
|
-
"
|
|
241
|
+
"description": "描述值",
|
|
242
|
+
"group": "basic"
|
|
242
243
|
},
|
|
243
244
|
{
|
|
244
|
-
"name": "
|
|
245
|
+
"name": "textColor",
|
|
245
246
|
"type": "string",
|
|
246
247
|
"required": "false",
|
|
247
|
-
"
|
|
248
|
-
"
|
|
248
|
+
"description": "展示内容的颜色",
|
|
249
|
+
"group": "ui"
|
|
249
250
|
},
|
|
250
251
|
{
|
|
251
252
|
"name": "colorMap",
|
|
252
253
|
"type": "ColorObj[]",
|
|
253
254
|
"required": "false",
|
|
254
|
-
"
|
|
255
|
-
"
|
|
255
|
+
"description": "颜色范围",
|
|
256
|
+
"group": "ui"
|
|
256
257
|
},
|
|
257
258
|
{
|
|
258
259
|
"name": "fontSize",
|
|
259
260
|
"type": "string",
|
|
260
261
|
"required": "false",
|
|
261
|
-
"default": "-",
|
|
262
262
|
"description": "设定展示内容大小",
|
|
263
|
-
"group": "
|
|
263
|
+
"group": "ui"
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
"name": "configProps",
|
|
267
267
|
"type": "Record<string, any>",
|
|
268
268
|
"required": "false",
|
|
269
|
-
"default": "-",
|
|
270
269
|
"description": "透传[antd progress](https://3x.ant.design/components/progress-cn/)",
|
|
271
|
-
"group": "
|
|
270
|
+
"group": "other"
|
|
272
271
|
}
|
|
273
272
|
],
|
|
274
273
|
"interface": [
|
|
@@ -1497,6 +1496,7 @@
|
|
|
1497
1496
|
"category": "value-mapping",
|
|
1498
1497
|
"type": "brick",
|
|
1499
1498
|
"author": "ice",
|
|
1499
|
+
"deprecated": true,
|
|
1500
1500
|
"text": {
|
|
1501
1501
|
"en": "cluster type",
|
|
1502
1502
|
"zh": "集群类型"
|
|
@@ -5667,23 +5667,54 @@
|
|
|
5667
5667
|
"title": "操作",
|
|
5668
5668
|
"key": "operate",
|
|
5669
5669
|
"dataIndex": "operate",
|
|
5670
|
-
"useBrick":
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
"
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
"
|
|
5677
|
-
|
|
5678
|
-
|
|
5670
|
+
"useBrick": [
|
|
5671
|
+
{
|
|
5672
|
+
"brick": "presentational-bricks.brick-link",
|
|
5673
|
+
"properties": {
|
|
5674
|
+
"dataSource": "<% DATA.rowData %>",
|
|
5675
|
+
"notToJumpWhenEmpty": true,
|
|
5676
|
+
"label": "查看"
|
|
5677
|
+
},
|
|
5678
|
+
"events": {
|
|
5679
|
+
"link.click": {
|
|
5680
|
+
"action": "console.log"
|
|
5681
|
+
}
|
|
5679
5682
|
}
|
|
5680
5683
|
},
|
|
5681
|
-
|
|
5682
|
-
"
|
|
5683
|
-
|
|
5684
|
+
{
|
|
5685
|
+
"brick": "presentational-bricks.brick-link",
|
|
5686
|
+
"properties": {
|
|
5687
|
+
"dataSource": "<% DATA.rowData %>",
|
|
5688
|
+
"notToJumpWhenEmpty": true,
|
|
5689
|
+
"label": "订阅警报",
|
|
5690
|
+
"style": {
|
|
5691
|
+
"marginLeft": "8px"
|
|
5692
|
+
}
|
|
5693
|
+
},
|
|
5694
|
+
"events": {
|
|
5695
|
+
"link.click": {
|
|
5696
|
+
"action": "console.log"
|
|
5697
|
+
}
|
|
5698
|
+
}
|
|
5699
|
+
},
|
|
5700
|
+
{
|
|
5701
|
+
"brick": "presentational-bricks.brick-link",
|
|
5702
|
+
"properties": {
|
|
5703
|
+
"dataSource": "<% DATA.rowData %>",
|
|
5704
|
+
"notToJumpWhenEmpty": true,
|
|
5705
|
+
"label": "删除",
|
|
5706
|
+
"labelColor": "red",
|
|
5707
|
+
"style": {
|
|
5708
|
+
"marginLeft": "8px"
|
|
5709
|
+
}
|
|
5710
|
+
},
|
|
5711
|
+
"events": {
|
|
5712
|
+
"link.click": {
|
|
5713
|
+
"action": "console.log"
|
|
5714
|
+
}
|
|
5684
5715
|
}
|
|
5685
5716
|
}
|
|
5686
|
-
|
|
5717
|
+
]
|
|
5687
5718
|
}
|
|
5688
5719
|
],
|
|
5689
5720
|
"defaultExpandAllRows": true,
|
|
@@ -17582,7 +17613,7 @@
|
|
|
17582
17613
|
"author": "qimengwu",
|
|
17583
17614
|
"history": [
|
|
17584
17615
|
{
|
|
17585
|
-
"version": "1.
|
|
17616
|
+
"version": "1.0.0",
|
|
17586
17617
|
"change": " 新增构件 `presentational-bricks.basic-icon`"
|
|
17587
17618
|
}
|
|
17588
17619
|
],
|
|
@@ -17594,48 +17625,55 @@
|
|
|
17594
17625
|
"type": "MenuIcon | ImgIcon",
|
|
17595
17626
|
"required": "true",
|
|
17596
17627
|
"default": "-",
|
|
17597
|
-
"description": "图标"
|
|
17628
|
+
"description": "图标",
|
|
17629
|
+
"group": "basic"
|
|
17598
17630
|
},
|
|
17599
17631
|
{
|
|
17600
17632
|
"name": "size",
|
|
17601
17633
|
"type": "string",
|
|
17602
17634
|
"required": "false",
|
|
17603
17635
|
"default": "24px",
|
|
17604
|
-
"description": "图标大小"
|
|
17636
|
+
"description": "图标大小",
|
|
17637
|
+
"group": "basic"
|
|
17605
17638
|
},
|
|
17606
17639
|
{
|
|
17607
17640
|
"name": "renderBg",
|
|
17608
17641
|
"type": "boolean",
|
|
17609
17642
|
"required": "false",
|
|
17610
17643
|
"default": "false",
|
|
17611
|
-
"description": "是否渲染图标背景"
|
|
17644
|
+
"description": "是否渲染图标背景",
|
|
17645
|
+
"group": "basic"
|
|
17612
17646
|
},
|
|
17613
17647
|
{
|
|
17614
17648
|
"name": "bg",
|
|
17615
17649
|
"type": "string",
|
|
17616
17650
|
"required": "false",
|
|
17617
17651
|
"default": "",
|
|
17618
|
-
"description": "图标背景"
|
|
17652
|
+
"description": "图标背景",
|
|
17653
|
+
"group": "basic"
|
|
17619
17654
|
},
|
|
17620
17655
|
{
|
|
17621
17656
|
"name": "bgSize",
|
|
17622
17657
|
"type": "string",
|
|
17623
17658
|
"required": "false",
|
|
17624
17659
|
"default": "46px",
|
|
17625
|
-
"description": "图标背景大小"
|
|
17660
|
+
"description": "图标背景大小",
|
|
17661
|
+
"group": "basic"
|
|
17626
17662
|
},
|
|
17627
17663
|
{
|
|
17628
17664
|
"name": "bgBorderRadius",
|
|
17629
17665
|
"type": "string",
|
|
17630
17666
|
"required": "false",
|
|
17631
17667
|
"default": "",
|
|
17632
|
-
"description": "图标背景圆角大小"
|
|
17668
|
+
"description": "图标背景圆角大小",
|
|
17669
|
+
"group": "basic"
|
|
17633
17670
|
},
|
|
17634
17671
|
{
|
|
17635
17672
|
"name": "dataSource",
|
|
17636
17673
|
"type": "unknown",
|
|
17637
17674
|
"required": true,
|
|
17638
|
-
"description": "数据源"
|
|
17675
|
+
"description": "数据源",
|
|
17676
|
+
"group": "basic"
|
|
17639
17677
|
}
|
|
17640
17678
|
],
|
|
17641
17679
|
"events": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational-bricks",
|
|
3
|
-
"version": "1.264.
|
|
3
|
+
"version": "1.264.3",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/presentational-bricks",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"@next-dll/ace": "*",
|
|
56
56
|
"@next-dll/react-dnd": "*"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "86b6a32ac0a9cf876fc8010d46f7ef65a478e320"
|
|
59
59
|
}
|