@next-bricks/basic-bricks 1.147.0 → 1.149.1
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/CHANGELOG.md +41 -0
- package/dist/bricks.json +2 -2
- package/dist/editors/{editors.5eb88036.js → editors.9a091736.js} +1 -1
- package/dist/editors/{editors.5eb88036.js.map → editors.9a091736.js.map} +1 -1
- package/dist/index.fad33b98.js +11 -0
- package/dist/index.fad33b98.js.map +1 -0
- package/dist/stories.json +34 -23
- package/package.json +2 -2
- package/dist/index.99408c20.js +0 -11
- package/dist/index.99408c20.js.map +0 -1
package/dist/stories.json
CHANGED
|
@@ -2871,7 +2871,7 @@
|
|
|
2871
2871
|
},
|
|
2872
2872
|
{
|
|
2873
2873
|
"name": "buttonType",
|
|
2874
|
-
"type": "ButtonType",
|
|
2874
|
+
"type": "ButtonType | \"icon\"",
|
|
2875
2875
|
"required": false,
|
|
2876
2876
|
"description": "样式类型"
|
|
2877
2877
|
},
|
|
@@ -2887,6 +2887,12 @@
|
|
|
2887
2887
|
"required": false,
|
|
2888
2888
|
"description": "按钮字体颜色"
|
|
2889
2889
|
},
|
|
2890
|
+
{
|
|
2891
|
+
"name": "danger",
|
|
2892
|
+
"type": "boolean",
|
|
2893
|
+
"required": false,
|
|
2894
|
+
"description": "是否显示为危险样式"
|
|
2895
|
+
},
|
|
2890
2896
|
{
|
|
2891
2897
|
"name": "disabled",
|
|
2892
2898
|
"type": "boolean",
|
|
@@ -2932,7 +2938,7 @@
|
|
|
2932
2938
|
{
|
|
2933
2939
|
"name": "isDropdown",
|
|
2934
2940
|
"type": "boolean",
|
|
2935
|
-
"required":
|
|
2941
|
+
"required": false,
|
|
2936
2942
|
"description": "是否收纳成下拉框"
|
|
2937
2943
|
},
|
|
2938
2944
|
{
|
|
@@ -3895,6 +3901,32 @@
|
|
|
3895
3901
|
}
|
|
3896
3902
|
],
|
|
3897
3903
|
"memo": "### OpenCloseOption\n\n| property | type | required | default | description |\n| -------- | --------- | -------- | ------- | ----------- |\n| noEvent | `boolean` | - | - | 不触发事件 |",
|
|
3904
|
+
"events": [
|
|
3905
|
+
{
|
|
3906
|
+
"type": "model.after.close",
|
|
3907
|
+
"detail": "-",
|
|
3908
|
+
"description": "当 modal 完全关闭后发出该事件"
|
|
3909
|
+
},
|
|
3910
|
+
{
|
|
3911
|
+
"type": "modal.close",
|
|
3912
|
+
"detail": "-",
|
|
3913
|
+
"description": "关闭 modal 时发出该事件"
|
|
3914
|
+
},
|
|
3915
|
+
{
|
|
3916
|
+
"type": "basic-bricks.general-modal.cancel",
|
|
3917
|
+
"detail": "`dataSource`",
|
|
3918
|
+
"description": "当点击 modal 自带的取消按钮时发出该事件"
|
|
3919
|
+
},
|
|
3920
|
+
{
|
|
3921
|
+
"type": "basic-bricks.general-modal.confirm",
|
|
3922
|
+
"detail": "`dataSource`",
|
|
3923
|
+
"description": "当点击 modal 自带的确认按钮时发出该事件"
|
|
3924
|
+
},
|
|
3925
|
+
{
|
|
3926
|
+
"type": "modal.open",
|
|
3927
|
+
"description": "打开 modal 时发出该事件"
|
|
3928
|
+
}
|
|
3929
|
+
],
|
|
3898
3930
|
"properties": [
|
|
3899
3931
|
{
|
|
3900
3932
|
"name": "modalTitle",
|
|
@@ -4032,27 +4064,6 @@
|
|
|
4032
4064
|
"group": "advanced"
|
|
4033
4065
|
}
|
|
4034
4066
|
],
|
|
4035
|
-
"events": [
|
|
4036
|
-
{
|
|
4037
|
-
"type": "modal.close",
|
|
4038
|
-
"detail": "-",
|
|
4039
|
-
"description": "关闭 modal 时发出该事件"
|
|
4040
|
-
},
|
|
4041
|
-
{
|
|
4042
|
-
"type": "basic-bricks.general-modal.cancel",
|
|
4043
|
-
"detail": "`dataSource`",
|
|
4044
|
-
"description": "当点击 modal 自带的取消按钮时发出该事件"
|
|
4045
|
-
},
|
|
4046
|
-
{
|
|
4047
|
-
"type": "basic-bricks.general-modal.confirm",
|
|
4048
|
-
"detail": "`dataSource`",
|
|
4049
|
-
"description": "当点击 modal 自带的确认按钮时发出该事件"
|
|
4050
|
-
},
|
|
4051
|
-
{
|
|
4052
|
-
"type": "modal.open",
|
|
4053
|
-
"description": "打开 modal 时发出该事件"
|
|
4054
|
-
}
|
|
4055
|
-
],
|
|
4056
4067
|
"methods": [
|
|
4057
4068
|
{
|
|
4058
4069
|
"name": "close",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/basic-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.149.1",
|
|
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": "
|
|
43
|
+
"gitHead": "913ead903c3616512465b9b1d4080d9dbbeee32a"
|
|
44
44
|
}
|