@next-bricks/presentational-bricks 1.289.0 → 1.289.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
@@ -10528,8 +10528,7 @@
10528
10528
  "icon": {
10529
10529
  "lib": "easyops",
10530
10530
  "category": "default",
10531
- "icon": "card-diff",
10532
- "color": "rgba(157, 168, 184, 1)"
10531
+ "icon": "card-diff"
10533
10532
  }
10534
10533
  }
10535
10534
  }
@@ -10548,8 +10547,7 @@
10548
10547
  "icon": {
10549
10548
  "lib": "easyops",
10550
10549
  "category": "default",
10551
- "icon": "card-task-delivery",
10552
- "color": "rgba(157, 168, 184, 1)"
10550
+ "icon": "card-task-delivery"
10553
10551
  }
10554
10552
  }
10555
10553
  }
@@ -10608,10 +10606,10 @@
10608
10606
  "message": "禁用的卡片不可点击跳转。操作区配置了 slot 的卡片,请按需配置子构件的属性,例如将按钮设置成 disabled 等。"
10609
10607
  },
10610
10608
  "properties": {
10611
- "disabled": true,
10612
10609
  "style": {
10613
10610
  "width": "308px"
10614
10611
  },
10612
+ "disabled": true,
10615
10613
  "cardLayoutType": "icon-small-align-left",
10616
10614
  "urlTemplate": "/#{id}",
10617
10615
  "fields": {
@@ -10678,8 +10676,7 @@
10678
10676
  "icon": {
10679
10677
  "lib": "easyops",
10680
10678
  "category": "default",
10681
- "icon": "card-diff",
10682
- "color": "rgba(157, 168, 184, 1)"
10679
+ "icon": "card-diff"
10683
10680
  }
10684
10681
  }
10685
10682
  }
@@ -10698,8 +10695,7 @@
10698
10695
  "icon": {
10699
10696
  "lib": "easyops",
10700
10697
  "category": "default",
10701
- "icon": "card-task-delivery",
10702
- "color": "rgba(157, 168, 184, 1)"
10698
+ "icon": "card-task-delivery"
10703
10699
  }
10704
10700
  }
10705
10701
  }
@@ -10756,7 +10752,6 @@
10756
10752
  "message": "· 扩展区展示标签信息,这里标签用于承载分类/状态之类信息。不要超过2行展示,需特殊强调的场景,可使用彩色标签"
10757
10753
  },
10758
10754
  "properties": {
10759
- "disabled": true,
10760
10755
  "style": {
10761
10756
  "width": "308px"
10762
10757
  },
@@ -10815,7 +10810,6 @@
10815
10810
  "message": "展示统计数,如收藏/关注次数,下载次数。统计类信息置于扩展区左侧,其他附加信息如关注人头像等置于右侧"
10816
10811
  },
10817
10812
  "properties": {
10818
- "disabled": true,
10819
10813
  "style": {
10820
10814
  "width": "308px"
10821
10815
  },
@@ -10840,11 +10834,24 @@
10840
10834
  "type": "bricks",
10841
10835
  "bricks": [
10842
10836
  {
10843
- "brick": "presentational-bricks.basic-icon",
10837
+ "brick": "presentational-bricks.general-tooltip",
10844
10838
  "properties": {
10845
- "size": "20px",
10846
- "icon": {
10847
- "imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-operate2.0f5d4693b2a2734e.svg"
10839
+ "content": "下载",
10840
+ "style": {
10841
+ "paddingTop": "4px"
10842
+ },
10843
+ "displayBrick": {
10844
+ "useBrick": {
10845
+ "brick": "presentational-bricks.basic-icon",
10846
+ "properties": {
10847
+ "icon": {
10848
+ "icon": "download",
10849
+ "lib": "antd",
10850
+ "theme": "outlined"
10851
+ },
10852
+ "size": "16px"
10853
+ }
10854
+ }
10848
10855
  }
10849
10856
  }
10850
10857
  },
@@ -10859,11 +10866,24 @@
10859
10866
  }
10860
10867
  },
10861
10868
  {
10862
- "brick": "presentational-bricks.basic-icon",
10869
+ "brick": "presentational-bricks.general-tooltip",
10863
10870
  "properties": {
10864
- "size": "20px",
10865
- "icon": {
10866
- "imgSrc": "bricks/presentational-bricks/dist/stories-asserts/presentational-bricks.card-operate1.8ff4e510a1655c73.svg"
10871
+ "content": "收藏",
10872
+ "style": {
10873
+ "paddingTop": "5px"
10874
+ },
10875
+ "displayBrick": {
10876
+ "useBrick": {
10877
+ "brick": "presentational-bricks.basic-icon",
10878
+ "properties": {
10879
+ "icon": {
10880
+ "icon": "star",
10881
+ "lib": "antd",
10882
+ "theme": "outlined"
10883
+ },
10884
+ "size": "16px"
10885
+ }
10886
+ }
10867
10887
  }
10868
10888
  }
10869
10889
  },
@@ -10901,7 +10921,6 @@
10901
10921
  "message": "辅助信息跟操作同时存在时,操作置于右"
10902
10922
  },
10903
10923
  "properties": {
10904
- "disabled": true,
10905
10924
  "style": {
10906
10925
  "width": "308px"
10907
10926
  },
@@ -10930,13 +10949,17 @@
10930
10949
  "properties": {
10931
10950
  "size": "small",
10932
10951
  "userNameOrId": "张元",
10952
+ "hideUsername": true,
10933
10953
  "iconUrl": "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
10934
10954
  }
10935
10955
  },
10936
10956
  {
10937
10957
  "brick": "span",
10938
10958
  "properties": {
10939
- "textContent": "更新于2小时前"
10959
+ "style": {
10960
+ "paddingTop": "1.5px"
10961
+ },
10962
+ "textContent": "张元 更新于2小时前"
10940
10963
  }
10941
10964
  }
10942
10965
  ]
@@ -10945,7 +10968,10 @@
10945
10968
  "type": "bricks",
10946
10969
  "bricks": [
10947
10970
  {
10948
- "brick": "forms.general-switch"
10971
+ "brick": "forms.general-switch",
10972
+ "properties": {
10973
+ "size": "small"
10974
+ }
10949
10975
  }
10950
10976
  ]
10951
10977
  }
@@ -10958,7 +10984,6 @@
10958
10984
  "message": "扩展区收纳操作场景,操作应是针对卡片详情内容的快捷功能性操作,对于卡片的操作我们是放置在卡片右上角 … 收纳。"
10959
10985
  },
10960
10986
  "properties": {
10961
- "disabled": true,
10962
10987
  "style": {
10963
10988
  "width": "308px"
10964
10989
  },
@@ -10997,8 +11022,7 @@
10997
11022
  "icon": {
10998
11023
  "lib": "easyops",
10999
11024
  "category": "default",
11000
- "icon": "card-diff",
11001
- "color": "rgba(157, 168, 184, 1)"
11025
+ "icon": "card-diff"
11002
11026
  }
11003
11027
  }
11004
11028
  }
@@ -11017,8 +11041,7 @@
11017
11041
  "icon": {
11018
11042
  "lib": "easyops",
11019
11043
  "category": "default",
11020
- "icon": "card-task-delivery",
11021
- "color": "rgba(157, 168, 184, 1)"
11044
+ "icon": "card-task-delivery"
11022
11045
  }
11023
11046
  }
11024
11047
  }
@@ -11116,8 +11139,7 @@
11116
11139
  "icon": {
11117
11140
  "lib": "easyops",
11118
11141
  "category": "default",
11119
- "icon": "card-diff",
11120
- "color": "rgba(157, 168, 184, 1)"
11142
+ "icon": "card-diff"
11121
11143
  }
11122
11144
  }
11123
11145
  }
@@ -11136,8 +11158,7 @@
11136
11158
  "icon": {
11137
11159
  "lib": "easyops",
11138
11160
  "category": "default",
11139
- "icon": "card-task-delivery",
11140
- "color": "rgba(157, 168, 184, 1)"
11161
+ "icon": "card-task-delivery"
11141
11162
  }
11142
11163
  }
11143
11164
  }
@@ -15366,6 +15387,7 @@
15366
15387
  ]
15367
15388
  }
15368
15389
  ],
15390
+ "detailDescFontSize": 16,
15369
15391
  "optionConf": {
15370
15392
  "useBrick": {
15371
15393
  "brick": "basic-bricks.general-custom-buttons",
@@ -15702,8 +15724,8 @@
15702
15724
  ]
15703
15725
  }
15704
15726
  ],
15705
- "titleFontSize": 18,
15706
- "detailDescFontSize": 14,
15727
+ "titleFontSize": 16,
15728
+ "detailDescFontSize": 16,
15707
15729
  "iconBrickConf": {
15708
15730
  "useBrick": {
15709
15731
  "brick": "div",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational-bricks",
3
- "version": "1.289.0",
3
+ "version": "1.289.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": "5aaf0635fb63aedbe1eceb1241c02b35b42a640d"
72
+ "gitHead": "92f3af6ae4f07d363a466e9ba54bb2e64dd7cfd7"
73
73
  }