@next-bricks/basic-bricks 1.252.0 → 1.253.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
@@ -5047,15 +5047,18 @@
5047
5047
  "content": {
5048
5048
  "bricks": [
5049
5049
  {
5050
- "brick": "presentational-bricks.brick-illustration",
5050
+ "brick": "presentational-bricks.general-image",
5051
5051
  "properties": {
5052
- "name": "bg13-1",
5053
- "category": "ira"
5052
+ "preview": false,
5053
+ "imgSrc": "https://z1.wzznft.com/i/2024/06/17/h1atxi.png"
5054
5054
  }
5055
5055
  },
5056
5056
  {
5057
5057
  "brick": "presentational-bricks.rank-table",
5058
5058
  "properties": {
5059
+ "style": {
5060
+ "marginBottom": "8px"
5061
+ },
5059
5062
  "columns": [
5060
5063
  {
5061
5064
  "dataIndex": "name",
@@ -5619,6 +5622,91 @@
5619
5622
  }
5620
5623
  ],
5621
5624
  "thumbnail": "bricks/basic-bricks/dist/stories-asserts/basic-bricks.general-notification[basic].fe56eb6857a74801.svg"
5625
+ },
5626
+ {
5627
+ "description": {
5628
+ "title": "带底部按钮的提醒框"
5629
+ },
5630
+ "brick": "span",
5631
+ "slots": {
5632
+ "content": {
5633
+ "bricks": [
5634
+ {
5635
+ "brick": "basic-bricks.general-button",
5636
+ "events": {
5637
+ "general.button.click": {
5638
+ "method": "open",
5639
+ "target": "basic-bricks\\.general-notification"
5640
+ }
5641
+ },
5642
+ "properties": {
5643
+ "buttonName": "open notification"
5644
+ }
5645
+ },
5646
+ {
5647
+ "brick": "basic-bricks.general-notification",
5648
+ "events": {
5649
+ "general.notification.click": {
5650
+ "action": "console.log"
5651
+ },
5652
+ "general.notification.close": {
5653
+ "action": "console.log"
5654
+ }
5655
+ },
5656
+ "properties": {
5657
+ "btnBrick": {
5658
+ "useBrick": [
5659
+ {
5660
+ "brick": "div",
5661
+ "properties": {
5662
+ "style": {
5663
+ "display": "flex",
5664
+ "gap": "20px"
5665
+ }
5666
+ },
5667
+ "slots": {
5668
+ "content": {
5669
+ "type": "bricks",
5670
+ "bricks": [
5671
+ {
5672
+ "brick": "presentational-bricks.brick-link",
5673
+ "properties": {
5674
+ "label": "查看详情"
5675
+ }
5676
+ },
5677
+ {
5678
+ "brick": "presentational-bricks.brick-link",
5679
+ "properties": {
5680
+ "label": "忽略",
5681
+ "type": "text"
5682
+ }
5683
+ }
5684
+ ]
5685
+ }
5686
+ }
5687
+ }
5688
+ ]
5689
+ },
5690
+ "description": "Notification Description.Notification Description.Notification Description.Notification Description.Notification Description.",
5691
+ "duration": 3000,
5692
+ "icon": {
5693
+ "lib": "easyops",
5694
+ "category": "app",
5695
+ "icon": "announcement-app",
5696
+ "color": "orange"
5697
+ },
5698
+ "iconStyle": {
5699
+ "color": "orange",
5700
+ "textAlign": "center"
5701
+ },
5702
+ "message": "A Long Notification Title.A Long Notification Title.A Long Notification Title.",
5703
+ "placement": "topRight"
5704
+ }
5705
+ }
5706
+ ],
5707
+ "type": "bricks"
5708
+ }
5709
+ }
5622
5710
  }
5623
5711
  ],
5624
5712
  "previewColumns": 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/basic-bricks",
3
- "version": "1.252.0",
3
+ "version": "1.253.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",
@@ -42,7 +42,7 @@
42
42
  "test:ci": "cross-env NODE_ENV='test' CI=true jest"
43
43
  },
44
44
  "devDependencies": {
45
- "@next-core/custom-antd-styles": "^1.26.2",
45
+ "@next-core/custom-antd-styles": "^1.27.1",
46
46
  "@next-libs/basic-components": "^5.4.0",
47
47
  "@next-libs/storage": "^2.0.4",
48
48
  "@next-sdk/air-admin-service-sdk": "^2.1.12",
@@ -52,5 +52,5 @@
52
52
  "immutability-helper": "^3.1.1"
53
53
  },
54
54
  "sideEffects": true,
55
- "gitHead": "5e20d7fe84e753ad1428e3c7b57333858be92f6e"
55
+ "gitHead": "b0c1388c3feaf2919e8798208ae0d5167401d66d"
56
56
  }