@next-bricks/presentational-bricks 1.256.3 → 1.257.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.
package/dist/stories.json CHANGED
@@ -2014,7 +2014,7 @@
2014
2014
  },
2015
2015
  {
2016
2016
  "name": "fields",
2017
- "type": "{ value: string; }",
2017
+ "type": "{ value: string }",
2018
2018
  "required": "false",
2019
2019
  "description": "[已废弃]显示的字段值,支持通过 path 指定",
2020
2020
  "deprecated": true,
@@ -2063,7 +2063,7 @@
2063
2063
  },
2064
2064
  {
2065
2065
  "name": "style",
2066
- "type": "{ backgroundColor?: string; borderColor?: string; color?: string; }",
2066
+ "type": "{ backgroundColor?: string; borderColor?: string; color?: string }",
2067
2067
  "required": false,
2068
2068
  "description": ""
2069
2069
  }
@@ -2367,7 +2367,7 @@
2367
2367
  "children": [
2368
2368
  {
2369
2369
  "name": "component",
2370
- "type": "{ brick?: string; properties?: any; }",
2370
+ "type": "{ brick?: string; properties?: any }",
2371
2371
  "required": false,
2372
2372
  "description": "[已废弃]自定义该 item 的展示构件"
2373
2373
  },
@@ -3246,7 +3246,7 @@
3246
3246
  },
3247
3247
  {
3248
3248
  "name": "fields",
3249
- "type": "{ value: string; }",
3249
+ "type": "{ value: string }",
3250
3250
  "required": "false",
3251
3251
  "description": "[已废弃]字段映射, 跟 dataSource 一起使用来获得运行时对应字段的值",
3252
3252
  "deprecated": true,
@@ -4788,6 +4788,13 @@
4788
4788
  "default": "{}",
4789
4789
  "description": "自定义插画配置",
4790
4790
  "group": "other"
4791
+ },
4792
+ {
4793
+ "name": "useNewIllustration",
4794
+ "type": "boolean",
4795
+ "required": "false",
4796
+ "default": "true",
4797
+ "description": "在插画库的default分类下,使用新版本的图标替换default分类下图标"
4791
4798
  }
4792
4799
  ],
4793
4800
  "interface": [
@@ -7005,7 +7012,7 @@
7005
7012
  },
7006
7013
  {
7007
7014
  "name": "headerBrick",
7008
- "type": "{ useBrick: UseBrickConf; }",
7015
+ "type": "{ useBrick: UseBrickConf }",
7009
7016
  "required": false,
7010
7017
  "description": "支持为某列的表头自定义展示构件,可通过 DATA.title 获取标题文本"
7011
7018
  },
@@ -7055,7 +7062,7 @@
7055
7062
  },
7056
7063
  {
7057
7064
  "name": "mapping",
7058
- "type": "Array<{ leftBorderColor: string; value: any; }>",
7065
+ "type": "Array<{ leftBorderColor: string; value: any }>",
7059
7066
  "required": true,
7060
7067
  "description": ""
7061
7068
  }
@@ -7081,7 +7088,7 @@
7081
7088
  },
7082
7089
  {
7083
7090
  "name": "fields",
7084
- "type": "{ index?: string; item?: string; value?: string; }",
7091
+ "type": "{ index?: string; item?: string; value?: string }",
7085
7092
  "required": false,
7086
7093
  "description": "字段值、列表项和 index 对应所用构件的属性的 key"
7087
7094
  },
@@ -7817,7 +7824,7 @@
7817
7824
  },
7818
7825
  {
7819
7826
  "name": "afterBrick",
7820
- "type": "{ data: unknown; useBrick: UseBrickConf; }",
7827
+ "type": "{ data: unknown; useBrick: UseBrickConf }",
7821
7828
  "required": false,
7822
7829
  "description": "最后一个tag后面使用子构件,具体查看 [UseBrickConf](/next-docs/docs/api-reference/brick-types.usesinglebrickconf)",
7823
7830
  "group": "other"
@@ -7831,7 +7838,7 @@
7831
7838
  },
7832
7839
  {
7833
7840
  "type": "checked.update.v2",
7834
- "detail": "{ key: string; label: string; }[]",
7841
+ "detail": "{ key: string; label: string }[]",
7835
7842
  "description": "选中的 tag"
7836
7843
  },
7837
7844
  {
@@ -7841,7 +7848,7 @@
7841
7848
  },
7842
7849
  {
7843
7850
  "type": "tag.close",
7844
- "detail": "{ current: Record<string, any>; tagList: Record<string, any>[]; }",
7851
+ "detail": "{ current: Record<string, any>; tagList: Record<string, any>[] }",
7845
7852
  "description": "当前关闭的tag和剩余的tagList"
7846
7853
  }
7847
7854
  ],
@@ -7965,7 +7972,7 @@
7965
7972
  "typeParameter": null,
7966
7973
  "kind": "type",
7967
7974
  "description": "",
7968
- "type": "{ checked?: boolean; color?: string | Color; disabled?: boolean; disabledTooltip?: string; icon?: string | MenuIcon; key: string; label: string; tooltip?: string; }"
7975
+ "type": "{ checked?: boolean; color?: string | Color; disabled?: boolean; disabledTooltip?: string; icon?: string | MenuIcon; key: string; label: string; tooltip?: string }"
7969
7976
  }
7970
7977
  ]
7971
7978
  }
@@ -8816,7 +8823,7 @@
8816
8823
  "typeParameter": null,
8817
8824
  "kind": "type",
8818
8825
  "description": "",
8819
- "type": "Omit<AntTreeNodeProps, \"children\"> & { children?: BrickTreeNodeProps[]; icon?: TreeIcon; key?: React.Key; title?: string; }"
8826
+ "type": "Omit<AntTreeNodeProps, \"children\"> & { children?: BrickTreeNodeProps[]; icon?: TreeIcon; key?: React.Key; title?: string }"
8820
8827
  },
8821
8828
  {
8822
8829
  "name": "TreeIcon",
@@ -9059,7 +9066,7 @@
9059
9066
  "properties": [
9060
9067
  {
9061
9068
  "name": "messages",
9062
- "type": "{ error: string; success: string; }",
9069
+ "type": "{ error: string; success: string }",
9063
9070
  "required": "false",
9064
9071
  "description": "复制成功/失败时的提示,默认为“复制成功/失败”",
9065
9072
  "group": "basic"
@@ -9450,7 +9457,7 @@
9450
9457
  },
9451
9458
  {
9452
9459
  "name": "fields",
9453
- "type": "{ value: string; }",
9460
+ "type": "{ value: string }",
9454
9461
  "required": false,
9455
9462
  "description": "[已废弃]字段映射, 跟 dataSource 一起使用来获得运行时 value",
9456
9463
  "deprecated": true,
@@ -9497,7 +9504,7 @@
9497
9504
  "events": [
9498
9505
  {
9499
9506
  "type": "brick-value-mapping.click",
9500
- "detail": "{ data: any; value: string | number; }",
9507
+ "detail": "{ data: any; value: string | number }",
9501
9508
  "description": "点击事件"
9502
9509
  }
9503
9510
  ],
@@ -10546,7 +10553,7 @@
10546
10553
  },
10547
10554
  {
10548
10555
  "name": "fields",
10549
- "type": "{ cardSubtitle?: string; cardTitle?: string; descriptionList?: string; disabled?: string; icon?: string; iconColor?: string; iconOffsetX?: string; iconOffsetY?: string; iconOpacity?: string; iconSize?: string; iconStyle?: string; }",
10556
+ "type": "{ cardSubtitle?: string; cardTitle?: string; descriptionList?: string; disabled?: string; icon?: string; iconColor?: string; iconOffsetX?: string; iconOffsetY?: string; iconOpacity?: string; iconSize?: string; iconStyle?: string }",
10550
10557
  "required": "false",
10551
10558
  "description": "字段映射, 跟 dataSource 一起使用来获得运行时 cardTitle、cardSubtitle、descriptionList、icon、iconColor、iconStyle、iconSize、iconOffsetX、iconOffsetY、iconOpacity、disabled",
10552
10559
  "group": "other"
@@ -10607,7 +10614,7 @@
10607
10614
  },
10608
10615
  {
10609
10616
  "name": "tagConfig",
10610
- "type": "{ color?: Color; field?: string; hideOperate?: boolean; isNotEqual?: boolean; text: string; triangle?: boolean; value?: any; }",
10617
+ "type": "{ color?: Color; field?: string; hideOperate?: boolean; isNotEqual?: boolean; text: string; triangle?: boolean; value?: any }",
10611
10618
  "required": "false",
10612
10619
  "description": "右上角 tag 标签",
10613
10620
  "group": "other"
@@ -11360,7 +11367,7 @@
11360
11367
  },
11361
11368
  {
11362
11369
  "name": "fields",
11363
- "type": "{ cost?: string; endTime?: string; startTime?: string; }",
11370
+ "type": "{ cost?: string; endTime?: string; startTime?: string }",
11364
11371
  "required": "false",
11365
11372
  "description": "[已废弃]字段映射, 跟 dataSource 一起使用来获得运行时对应字段",
11366
11373
  "deprecated": true,
@@ -11892,7 +11899,7 @@
11892
11899
  },
11893
11900
  {
11894
11901
  "name": "tipBrick",
11895
- "type": "{ useBrick: UseBrickConf; }",
11902
+ "type": "{ useBrick: UseBrickConf }",
11896
11903
  "required": "false",
11897
11904
  "description": "提示构件",
11898
11905
  "group": "other"
@@ -14923,7 +14930,7 @@
14923
14930
  },
14924
14931
  {
14925
14932
  "name": "fields",
14926
- "type": "{ value?: string; }",
14933
+ "type": "{ value?: string }",
14927
14934
  "required": "false",
14928
14935
  "description": "[已废弃]字段映射, 跟 dataSource 一起使用来获得运行时 value",
14929
14936
  "deprecated": true,
@@ -16310,6 +16317,13 @@
16310
16317
  "required": "false",
16311
16318
  "description": "图片样式",
16312
16319
  "group": "ui"
16320
+ },
16321
+ {
16322
+ "name": "useNewIllustration",
16323
+ "type": "boolean",
16324
+ "required": "false",
16325
+ "default": "true",
16326
+ "description": "在插画库的default分类下,使用新版本的图标替换default分类下图标"
16313
16327
  }
16314
16328
  ],
16315
16329
  "interface": [
@@ -17146,13 +17160,13 @@
17146
17160
  "children": [
17147
17161
  {
17148
17162
  "name": "extra",
17149
- "type": "string | { useBrick?: UseBrickConf; }",
17163
+ "type": "string | { useBrick?: UseBrickConf }",
17150
17164
  "required": false,
17151
17165
  "description": "表格头部右边内容显示区域"
17152
17166
  },
17153
17167
  {
17154
17168
  "name": "title",
17155
- "type": "string | { useBrick?: UseBrickConf; }",
17169
+ "type": "string | { useBrick?: UseBrickConf }",
17156
17170
  "required": true,
17157
17171
  "description": "表格头部左边内容显示区域"
17158
17172
  }
@@ -17188,7 +17202,7 @@
17188
17202
  "children": [
17189
17203
  {
17190
17204
  "name": "headerBrick",
17191
- "type": "{ useBrick: UseBrickConf; }",
17205
+ "type": "{ useBrick: UseBrickConf }",
17192
17206
  "required": false,
17193
17207
  "description": "支持为某列的表头自定义展示构件,可通过 DATA.title 获取标题文本"
17194
17208
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational-bricks",
3
- "version": "1.256.3",
3
+ "version": "1.257.0",
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": "88f649ff39a3c93ac4a41d531e8b17119117e33b"
58
+ "gitHead": "a6d4373c213c6c1a36085f8a5bc87f5014b18111"
59
59
  }