@next-bricks/basic-bricks 1.149.1 → 1.150.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
@@ -2266,6 +2266,16 @@
2266
2266
  "tooltip": "Save",
2267
2267
  "tooltipPlacement": "left"
2268
2268
  },
2269
+ {
2270
+ "buttonShape": "circle",
2271
+ "buttonType": "icon",
2272
+ "eventName": "action.danger1",
2273
+ "icon": "close",
2274
+ "isDropdown": false,
2275
+ "tooltip": "Danger Action 1",
2276
+ "tooltipPlacement": "left",
2277
+ "danger": true
2278
+ },
2269
2279
  {
2270
2280
  "buttonHref": "/developers/brick-book/brick/basic-bricks.general-custom-buttons",
2271
2281
  "eventName": "instance.topology.delete",
@@ -2284,6 +2294,13 @@
2284
2294
  "text": "Delete",
2285
2295
  "tooltip": "删除",
2286
2296
  "tooltipPlacement": "right"
2297
+ },
2298
+ {
2299
+ "eventName": "action.danger2",
2300
+ "icon": "close",
2301
+ "isDropdown": true,
2302
+ "text": "Danger Action 2",
2303
+ "danger": true
2287
2304
  }
2288
2305
  ],
2289
2306
  "isMoreButton": true,
@@ -3393,6 +3410,13 @@
3393
3410
  "default": "-",
3394
3411
  "description": "完全透传给 antd 的 Drawer 属性,详见:[https://ant.design/components/drawer-cn/#API](https://ant.design/components/drawer-cn/#API)",
3395
3412
  "group": "advanced"
3413
+ },
3414
+ {
3415
+ "name": "isFloat",
3416
+ "type": "boolean",
3417
+ "default": "false",
3418
+ "required": "false",
3419
+ "description": "是否浮层样式,如果设为true,则抽屉边缘会有外边距,圆角和阴影"
3396
3420
  }
3397
3421
  ],
3398
3422
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/basic-bricks",
3
- "version": "1.149.1",
3
+ "version": "1.150.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",
@@ -40,5 +40,5 @@
40
40
  "immutability-helper": "^3.1.1"
41
41
  },
42
42
  "sideEffects": true,
43
- "gitHead": "913ead903c3616512465b9b1d4080d9dbbeee32a"
43
+ "gitHead": "35d3b86d7c999cf5a313112c4136629af2b4380a"
44
44
  }