@next-bricks/basic-bricks 1.246.0 → 1.247.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
@@ -1401,6 +1401,37 @@
1401
1401
  "zh": "danger类型按钮"
1402
1402
  },
1403
1403
  "thumbnail": "bricks/basic-bricks/dist/stories-asserts/basic-bricks.general-button[danger].43758edd9ba58734.svg"
1404
+ },
1405
+ {
1406
+ "bricks": [
1407
+ {
1408
+ "brick": "basic-bricks.general-button",
1409
+ "description": {
1410
+ "title": "用在导航栏里的按钮",
1411
+ "message": "buttonType设为nav后,按钮的大小和形状固定,buttonSize和buttonShape无效"
1412
+ },
1413
+ "events": {
1414
+ "general.button.click": [
1415
+ {
1416
+ "action": "message.info",
1417
+ "args": [
1418
+ "click button"
1419
+ ]
1420
+ }
1421
+ ]
1422
+ },
1423
+ "properties": {
1424
+ "buttonType": "nav",
1425
+ "buttonIcon": "question-circle",
1426
+ "tooltip": "help"
1427
+ }
1428
+ }
1429
+ ],
1430
+ "snippetId": "basic-bricks.general-button[nav]",
1431
+ "title": {
1432
+ "en": "nav General Button",
1433
+ "zh": "nav类型按钮"
1434
+ }
1404
1435
  }
1405
1436
  ],
1406
1437
  "previewColumns": 2,
@@ -1459,8 +1490,8 @@
1459
1490
  "type": "ButtonType",
1460
1491
  "required": "false",
1461
1492
  "default": "-",
1462
- "description": "按钮类型 ButtonType(`\"link\" | \"default\" | \"primary\" | \"ghost\" | \"dashed\" | \"danger\" | \"icon\"|\"text\"`)",
1463
- "enums": "\"link\"|\"default\"|\"primary\"|\"ghost\"|\"dashed\"|\"danger\"|\"icon\"|\"text\"",
1493
+ "description": "按钮类型 ButtonType(`\"link\" | \"default\" | \"primary\" | \"ghost\" | \"dashed\" | \"danger\" | \"icon\"| \"text\" | \"nav\"`)",
1494
+ "enums": "\"link\"|\"default\"|\"primary\"|\"ghost\"|\"dashed\"|\"danger\"|\"icon\"|\"text\"|\"nav\"",
1464
1495
  "group": "basic"
1465
1496
  },
1466
1497
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/basic-bricks",
3
- "version": "1.246.0",
3
+ "version": "1.247.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",
@@ -52,5 +52,5 @@
52
52
  "immutability-helper": "^3.1.1"
53
53
  },
54
54
  "sideEffects": true,
55
- "gitHead": "bbd20633199cb8129f1cd1c4ea55ac16e996f165"
55
+ "gitHead": "73b9f7ef3a681bd326f2c5954cab4d83c3fa0ba1"
56
56
  }