@next-bricks/presentational-bricks 1.287.0 → 1.287.2

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/dist/stories.json CHANGED
@@ -10479,8 +10479,8 @@
10479
10479
  {
10480
10480
  "brick": "presentational-bricks.brick-tag",
10481
10481
  "properties": {
10482
- "closable": "false",
10483
- "showCard": "false",
10482
+ "closable": false,
10483
+ "showCard": false,
10484
10484
  "tagList": [
10485
10485
  {
10486
10486
  "key": "1",
@@ -10603,8 +10603,8 @@
10603
10603
  {
10604
10604
  "brick": "presentational-bricks.brick-tag",
10605
10605
  "properties": {
10606
- "closable": "false",
10607
- "showCard": "false",
10606
+ "closable": false,
10607
+ "showCard": false,
10608
10608
  "tagList": [
10609
10609
  {
10610
10610
  "key": "1",
@@ -10693,7 +10693,7 @@
10693
10693
  "brick": "presentational-bricks.card-item",
10694
10694
  "description": {
10695
10695
  "title": "单个扩展区样式展示",
10696
- "message": "展示统计数,如收藏/关注次数,下载次数。统计类信息置于扩展区左侧,其他附加信息如关注人头像等置于右侧"
10696
+ "message": "· 扩展区展示标签信息,这里标签用于承载分类/状态之类信息。不要超过2行展示,需特殊强调的场景,可使用彩色标签"
10697
10697
  },
10698
10698
  "properties": {
10699
10699
  "disabled": true,
@@ -10723,8 +10723,8 @@
10723
10723
  {
10724
10724
  "brick": "presentational-bricks.brick-tag",
10725
10725
  "properties": {
10726
- "closable": "false",
10727
- "showCard": "false",
10726
+ "closable": false,
10727
+ "showCard": false,
10728
10728
  "tagList": [
10729
10729
  {
10730
10730
  "key": "1",
@@ -10742,14 +10742,6 @@
10742
10742
  }
10743
10743
  }
10744
10744
  ]
10745
- },
10746
- "bottomRightOperate": {
10747
- "type": "bricks",
10748
- "bricks": [
10749
- {
10750
- "brick": "forms.general-switch"
10751
- }
10752
- ]
10753
10745
  }
10754
10746
  }
10755
10747
  },
@@ -10757,7 +10749,7 @@
10757
10749
  "brick": "presentational-bricks.card-item",
10758
10750
  "description": {
10759
10751
  "title": "单个扩展区样式展示",
10760
- "message": "辅助信息跟操作同时存在时,操作置于右侧"
10752
+ "message": "展示统计数,如收藏/关注次数,下载次数。统计类信息置于扩展区左侧,其他附加信息如关注人头像等置于右侧"
10761
10753
  },
10762
10754
  "properties": {
10763
10755
  "disabled": true,
@@ -10796,7 +10788,10 @@
10796
10788
  {
10797
10789
  "brick": "span",
10798
10790
  "properties": {
10799
- "textContent": "7"
10791
+ "textContent": "7",
10792
+ "style": {
10793
+ "paddingTop": "2px"
10794
+ }
10800
10795
  }
10801
10796
  },
10802
10797
  {
@@ -10811,7 +10806,10 @@
10811
10806
  {
10812
10807
  "brick": "span",
10813
10808
  "properties": {
10814
- "textContent": "516"
10809
+ "textContent": "516",
10810
+ "style": {
10811
+ "paddingTop": "2px"
10812
+ }
10815
10813
  }
10816
10814
  }
10817
10815
  ]
@@ -10823,6 +10821,8 @@
10823
10821
  "brick": "presentational-bricks.brick-user",
10824
10822
  "properties": {
10825
10823
  "size": "small",
10824
+ "hideUsername": true,
10825
+ "userNameOrId": "name",
10826
10826
  "iconUrl": "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
10827
10827
  }
10828
10828
  }
@@ -10834,7 +10834,7 @@
10834
10834
  "brick": "presentational-bricks.card-item",
10835
10835
  "description": {
10836
10836
  "title": "单个扩展区样式展示",
10837
- "message": "扩展区收纳操作场景,操作应是针对卡片详情内容的快捷功能性操作,对于卡片的操作我们是放置在卡片右上角 … 收纳。"
10837
+ "message": "辅助信息跟操作同时存在时,操作置于右"
10838
10838
  },
10839
10839
  "properties": {
10840
10840
  "disabled": true,
@@ -10862,27 +10862,28 @@
10862
10862
  "type": "bricks",
10863
10863
  "bricks": [
10864
10864
  {
10865
- "brick": "presentational-bricks.brick-tag",
10865
+ "brick": "presentational-bricks.brick-user",
10866
10866
  "properties": {
10867
- "closable": "false",
10868
- "showCard": "false",
10869
- "tagList": [
10870
- {
10871
- "key": "1",
10872
- "label": "IT资源管理"
10873
- },
10874
- {
10875
- "key": "2",
10876
- "label": "资源套餐"
10877
- },
10878
- {
10879
- "key": "3",
10880
- "label": "存储设备"
10881
- }
10882
- ]
10867
+ "size": "small",
10868
+ "userNameOrId": "张元",
10869
+ "iconUrl": "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
10870
+ }
10871
+ },
10872
+ {
10873
+ "brick": "span",
10874
+ "properties": {
10875
+ "textContent": "更新于2小时前"
10883
10876
  }
10884
10877
  }
10885
10878
  ]
10879
+ },
10880
+ "bottomRightOperate": {
10881
+ "type": "bricks",
10882
+ "bricks": [
10883
+ {
10884
+ "brick": "forms.general-switch"
10885
+ }
10886
+ ]
10886
10887
  }
10887
10888
  }
10888
10889
  },
@@ -10918,24 +10919,27 @@
10918
10919
  "type": "bricks",
10919
10920
  "bricks": [
10920
10921
  {
10921
- "brick": "presentational-bricks.brick-tag",
10922
+ "brick": "presentational-bricks.basic-icon",
10922
10923
  "properties": {
10923
- "closable": "false",
10924
- "showCard": "false",
10925
- "tagList": [
10926
- {
10927
- "key": "1",
10928
- "label": "IT资源管理"
10929
- },
10930
- {
10931
- "key": "2",
10932
- "label": "资源套餐"
10933
- },
10934
- {
10935
- "key": "3",
10936
- "label": "存储设备"
10937
- }
10938
- ]
10924
+ "size": "20px",
10925
+ "icon": {
10926
+ "lib": "easyops",
10927
+ "category": "default",
10928
+ "icon": "card-diff",
10929
+ "color": "rgba(157, 168, 184, 1)"
10930
+ }
10931
+ }
10932
+ },
10933
+ {
10934
+ "brick": "presentational-bricks.basic-icon",
10935
+ "properties": {
10936
+ "size": "20px",
10937
+ "icon": {
10938
+ "lib": "easyops",
10939
+ "category": "default",
10940
+ "icon": "card-task-delivery",
10941
+ "color": "rgba(157, 168, 184, 1)"
10942
+ }
10939
10943
  }
10940
10944
  }
10941
10945
  ]
@@ -10989,8 +10993,8 @@
10989
10993
  {
10990
10994
  "brick": "presentational-bricks.brick-tag",
10991
10995
  "properties": {
10992
- "closable": "false",
10993
- "showCard": "false",
10996
+ "closable": false,
10997
+ "showCard": false,
10994
10998
  "tagList": [
10995
10999
  {
10996
11000
  "key": "1",
@@ -16030,28 +16034,40 @@
16030
16034
  "type": "string",
16031
16035
  "required": "false",
16032
16036
  "default": "-",
16033
- "description": "markdown 编辑器的值"
16034
- },
16035
- {
16036
- "name": "previewContainerStyle",
16037
- "type": "Record<string,any>",
16038
- "required": "false",
16039
- "default": "-",
16040
- "description": "预览容器的样式"
16037
+ "description": "markdown 编辑器的值",
16038
+ "group": "basic"
16041
16039
  },
16042
16040
  {
16043
16041
  "name": "supportUploadImg",
16044
16042
  "type": "boolean",
16045
16043
  "required": "-",
16046
16044
  "default": "false",
16047
- "description": "支持上传图片,为 `true` 时需要设置 `bucketName`。对接平台统一资源存储。"
16045
+ "description": "支持上传图片,为 `true` 时需要设置 `bucketName`。对接平台统一资源存储。",
16046
+ "group": "advanced"
16047
+ },
16048
+ {
16049
+ "name": "imagePreview",
16050
+ "type": "booelan",
16051
+ "required": "false",
16052
+ "default": "true",
16053
+ "group": "advanced",
16054
+ "description": "markdown 图片是否支持预览"
16048
16055
  },
16049
16056
  {
16050
16057
  "name": "bucketName",
16051
16058
  "type": "string",
16052
16059
  "required": "-",
16053
16060
  "default": "-",
16054
- "description": "对象存储桶名字,请在业务编排的时候与后台同学商量创建,一般一个业务需求对应一个存储桶名称,相当于 namespace。需要上传图片的功能(`supportUploadImg:true`)时可用。"
16061
+ "description": "对象存储桶名字,请在业务编排的时候与后台同学商量创建,一般一个业务需求对应一个存储桶名称,相当于 namespace。需要上传图片的功能(`supportUploadImg:true`)时可用。",
16062
+ "group": "advanced"
16063
+ },
16064
+ {
16065
+ "name": "previewContainerStyle",
16066
+ "type": "Record<string,any>",
16067
+ "required": "false",
16068
+ "default": "-",
16069
+ "description": "预览容器的样式",
16070
+ "group": "style"
16055
16071
  },
16056
16072
  {
16057
16073
  "name": "dataSource",
@@ -16060,7 +16076,7 @@
16060
16076
  "default": "-",
16061
16077
  "description": "[已废弃]数据来源",
16062
16078
  "deprecated": true,
16063
- "group": "advanced"
16079
+ "group": "other"
16064
16080
  },
16065
16081
  {
16066
16082
  "name": "fields",
@@ -16069,14 +16085,7 @@
16069
16085
  "default": "-",
16070
16086
  "description": "[已废弃]字段映射, 跟 dataSource 一起使用来获得运行时 value",
16071
16087
  "deprecated": true,
16072
- "group": "advanced"
16073
- },
16074
- {
16075
- "name": "imagePreview",
16076
- "type": "booelan",
16077
- "required": "false",
16078
- "default": "true",
16079
- "description": "markdown 图片是否支持预览"
16088
+ "group": "other"
16080
16089
  }
16081
16090
  ],
16082
16091
  "interface": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational-bricks",
3
- "version": "1.287.0",
3
+ "version": "1.287.2",
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",
@@ -69,5 +69,5 @@
69
69
  "@next-dll/ace": "*",
70
70
  "@next-dll/react-dnd": "*"
71
71
  },
72
- "gitHead": "ec57f53479e49f952b199b9aaae9f1137cde2c42"
72
+ "gitHead": "fee5765d19feb4ddf212b8333fea044dcac646ce"
73
73
  }