@next-bricks/basic-bricks 1.161.0 → 1.164.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
@@ -3425,6 +3425,14 @@
3425
3425
  "default": "false",
3426
3426
  "required": "false",
3427
3427
  "description": "是否浮层样式,如果设为true,则抽屉边缘会有外边距,圆角和阴影"
3428
+ },
3429
+ {
3430
+ "name": "scrollToTopWhenOpen",
3431
+ "type": "boolean",
3432
+ "required": "false",
3433
+ "default": "-",
3434
+ "description": "打开抽屉时内容区是否自动滚动到顶部",
3435
+ "group": "basic"
3428
3436
  }
3429
3437
  ],
3430
3438
  "events": [
@@ -5347,6 +5355,12 @@
5347
5355
  "name": "hasBannerToolbar",
5348
5356
  "type": "boolean",
5349
5357
  "group": "advanced"
5358
+ },
5359
+ {
5360
+ "name": "pageTitleScale",
5361
+ "type": "number",
5362
+ "description": "标题栏大小比例,默认为 1,仅用于暗黑大屏模式。",
5363
+ "group": "advanced"
5350
5364
  }
5351
5365
  ],
5352
5366
  "interface": []
@@ -7370,8 +7384,8 @@
7370
7384
  "events": [
7371
7385
  {
7372
7386
  "type": "anchor.change",
7373
- "detail": "{ title: string; href: string }",
7374
- "description": "锚点点击事件"
7387
+ "detail": "{ currentActiveLink: string }",
7388
+ "description": "锚点改变事件"
7375
7389
  },
7376
7390
  {
7377
7391
  "type": "anchor.click",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/basic-bricks",
3
- "version": "1.161.0",
3
+ "version": "1.164.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",
@@ -30,7 +30,7 @@
30
30
  "test:ci": "cross-env NODE_ENV='test' CI=true jest"
31
31
  },
32
32
  "devDependencies": {
33
- "@next-core/custom-antd-styles": "^1.11.0",
33
+ "@next-core/custom-antd-styles": "^1.18.0",
34
34
  "@next-libs/basic-components": "^3.2.5",
35
35
  "@next-libs/storage": "^2.0.2",
36
36
  "@next-sdk/air-admin-service-sdk": "^2.1.12",
@@ -39,5 +39,5 @@
39
39
  "immutability-helper": "^3.1.1"
40
40
  },
41
41
  "sideEffects": true,
42
- "gitHead": "195388ecae5422a89b5ba7505d5f11d55ed048f1"
42
+ "gitHead": "f410fb5fbe242c70a3912f2017a7aec88d4b1fcd"
43
43
  }