@next-bricks/basic-bricks 1.180.10 → 1.181.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
@@ -937,7 +937,7 @@
937
937
  },
938
938
  {
939
939
  "name": "dividerOrientation",
940
- "type": "\"left\"|\"right\"",
940
+ "type": "\"left\"|\"right\"|\"center\"",
941
941
  "required": "false",
942
942
  "default": "center",
943
943
  "description": "分割线标题的位置",
@@ -1303,7 +1303,8 @@
1303
1303
  "required": false,
1304
1304
  "description": "气泡框位置,可选 `top` `left` `right` `bottom` `topLeft` `topRight` `bottomLeft` `bottomRight` `leftTop` `leftBottom` `rightTop` `rightBottom`"
1305
1305
  }
1306
- ]
1306
+ ],
1307
+ "indexSignature": []
1307
1308
  },
1308
1309
  {
1309
1310
  "name": "TooltipPlacement",
@@ -1870,7 +1871,8 @@
1870
1871
  "required": false,
1871
1872
  "description": ""
1872
1873
  }
1873
- ]
1874
+ ],
1875
+ "indexSignature": []
1874
1876
  }
1875
1877
  ]
1876
1878
  }
@@ -3085,7 +3087,8 @@
3085
3087
  "required": false,
3086
3088
  "description": "相当于 a 链接的 target 属性,buttonUrl 或 buttonHref 存在时生效"
3087
3089
  }
3088
- ]
3090
+ ],
3091
+ "indexSignature": []
3089
3092
  },
3090
3093
  {
3091
3094
  "name": "DropdownPlacement",
@@ -3400,16 +3403,16 @@
3400
3403
  ],
3401
3404
  "history": [
3402
3405
  {
3403
- "version": "1.30.0",
3404
- "change": "新增 `bodyStyle` 和 `drawerStyle` 配置"
3406
+ "version": "1.60.0",
3407
+ "change": "`open` 和 `close` 方法新增 `noEvent` 选项"
3405
3408
  },
3406
3409
  {
3407
3410
  "version": "1.34.0",
3408
3411
  "change": "新增插槽 `headerLeft`, `headerRight` 和 `footer`,新增 `general.drawer.open` 事件"
3409
3412
  },
3410
3413
  {
3411
- "version": "1.60.0",
3412
- "change": "`open` 和 `close` 方法新增 `noEvent` 选项"
3414
+ "version": "1.30.0",
3415
+ "change": "新增 `bodyStyle` 和 `drawerStyle` 配置"
3413
3416
  }
3414
3417
  ],
3415
3418
  "memo": "### OpenCloseOption\n\n| property | type | required | default | description |\n| -------- | --------- | -------- | ------- | ----------- |\n| noEvent | `boolean` | - | - | 不触发事件 |",
@@ -3430,14 +3433,6 @@
3430
3433
  "description": "是否显示loading效果",
3431
3434
  "group": "basic"
3432
3435
  },
3433
- {
3434
- "name": "width",
3435
- "type": "number",
3436
- "required": "false",
3437
- "default": "-",
3438
- "description": "宽度",
3439
- "group": "basic"
3440
- },
3441
3436
  {
3442
3437
  "name": "closable",
3443
3438
  "type": "boolean",
@@ -3468,7 +3463,15 @@
3468
3463
  "required": "false",
3469
3464
  "default": "true",
3470
3465
  "description": "是否展示遮罩",
3471
- "group": "basic"
3466
+ "group": "ui"
3467
+ },
3468
+ {
3469
+ "name": "width",
3470
+ "type": "number",
3471
+ "required": "false",
3472
+ "default": "-",
3473
+ "description": "宽度",
3474
+ "group": "ui"
3472
3475
  },
3473
3476
  {
3474
3477
  "name": "bodyStyle",
@@ -3476,7 +3479,7 @@
3476
3479
  "required": "false",
3477
3480
  "default": "-",
3478
3481
  "description": "可用于设置 Drawer 内容部分的样式",
3479
- "group": "advanced"
3482
+ "group": "ui"
3480
3483
  },
3481
3484
  {
3482
3485
  "name": "drawerStyle",
@@ -3484,7 +3487,7 @@
3484
3487
  "required": "false",
3485
3488
  "default": "-",
3486
3489
  "description": "用于设置 Drawer 弹出层的样式",
3487
- "group": "advanced"
3490
+ "group": "ui"
3488
3491
  },
3489
3492
  {
3490
3493
  "name": "headerStyle",
@@ -3492,7 +3495,15 @@
3492
3495
  "required": "false",
3493
3496
  "default": "-",
3494
3497
  "description": "用于设置 Drawer 头部的样式",
3495
- "group": "advanced"
3498
+ "group": "ui"
3499
+ },
3500
+ {
3501
+ "name": "isFloat",
3502
+ "type": "boolean",
3503
+ "default": "false",
3504
+ "required": "false",
3505
+ "description": "是否浮层样式,如果设为true,则抽屉边缘会有外边距,圆角和阴影",
3506
+ "group": "ui"
3496
3507
  },
3497
3508
  {
3498
3509
  "name": "configProps",
@@ -3500,14 +3511,7 @@
3500
3511
  "required": "false",
3501
3512
  "default": "-",
3502
3513
  "description": "完全透传给 antd 的 Drawer 属性,详见:[https://ant.design/components/drawer-cn/#API](https://ant.design/components/drawer-cn/#API)",
3503
- "group": "advanced"
3504
- },
3505
- {
3506
- "name": "isFloat",
3507
- "type": "boolean",
3508
- "default": "false",
3509
- "required": "false",
3510
- "description": "是否浮层样式,如果设为true,则抽屉边缘会有外边距,圆角和阴影"
3514
+ "group": "other"
3511
3515
  },
3512
3516
  {
3513
3517
  "name": "scrollToTopWhenOpen",
@@ -3515,7 +3519,7 @@
3515
3519
  "required": "false",
3516
3520
  "default": "-",
3517
3521
  "description": "打开抽屉时内容区是否自动滚动到顶部",
3518
- "group": "basic"
3522
+ "group": "other"
3519
3523
  }
3520
3524
  ],
3521
3525
  "events": [
@@ -3580,7 +3584,8 @@
3580
3584
  "required": false,
3581
3585
  "description": ""
3582
3586
  }
3583
- ]
3587
+ ],
3588
+ "indexSignature": []
3584
3589
  }
3585
3590
  ]
3586
3591
  }
@@ -4671,7 +4676,8 @@
4671
4676
  "required": false,
4672
4677
  "description": ""
4673
4678
  }
4674
- ]
4679
+ ],
4680
+ "indexSignature": []
4675
4681
  },
4676
4682
  {
4677
4683
  "name": "GridSettings",
@@ -4708,7 +4714,8 @@
4708
4714
  "required": false,
4709
4715
  "description": ""
4710
4716
  }
4711
- ]
4717
+ ],
4718
+ "indexSignature": []
4712
4719
  }
4713
4720
  ]
4714
4721
  }
@@ -5799,13 +5806,15 @@
5799
5806
  "type": "string",
5800
5807
  "required": "true",
5801
5808
  "default": "-",
5802
- "description": "页面标题"
5809
+ "description": "页面标题",
5810
+ "group": "basic"
5803
5811
  },
5804
5812
  {
5805
5813
  "name": "dashboardMode",
5806
5814
  "type": "boolean",
5807
- "default": "`false`",
5808
- "description": "是否以 dashboard 模式显示"
5815
+ "default": "false",
5816
+ "description": "是否以 dashboard 模式显示",
5817
+ "group": "basic"
5809
5818
  }
5810
5819
  ],
5811
5820
  "interface": []
@@ -7574,6 +7583,12 @@
7574
7583
  "name": "AnchorListType",
7575
7584
  "typeParameter": null,
7576
7585
  "kind": "interface",
7586
+ "extendedTypes": [
7587
+ {
7588
+ "type": "reference",
7589
+ "name": "AnchorLinkProps"
7590
+ }
7591
+ ],
7577
7592
  "children": [
7578
7593
  {
7579
7594
  "name": "children",
@@ -7611,7 +7626,8 @@
7611
7626
  "required": true,
7612
7627
  "description": ""
7613
7628
  }
7614
- ]
7629
+ ],
7630
+ "indexSignature": []
7615
7631
  }
7616
7632
  ]
7617
7633
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/basic-bricks",
3
- "version": "1.180.10",
3
+ "version": "1.181.0",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/easyops-cn/next-basics/tree/master/bricks/basic-bricks",
6
6
  "license": "GPL-3.0",
@@ -39,5 +39,5 @@
39
39
  "immutability-helper": "^3.1.1"
40
40
  },
41
41
  "sideEffects": true,
42
- "gitHead": "7f78e1fcd0e57cc6b1ceab891161c6cfeed3c7ae"
42
+ "gitHead": "8dcc3cbbfdd646830ec9a74fcd52fb28c0b66b9e"
43
43
  }