@next-bricks/basic-bricks 1.187.1 → 1.189.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/CHANGELOG.md +33 -0
- package/deploy/contract.yaml +89 -89
- package/dist/bricks.json +24 -24
- package/dist/{index.c58529bb.js → index.886e1606.js} +2 -2
- package/dist/index.886e1606.js.map +1 -0
- package/dist/stories.json +207 -30
- package/package.json +2 -2
- package/dist/index.c58529bb.js.map +0 -1
package/dist/stories.json
CHANGED
|
@@ -275,6 +275,13 @@
|
|
|
275
275
|
"type": "boolean",
|
|
276
276
|
"required": true,
|
|
277
277
|
"default": "true"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "notTriggerClickEventWhenInit",
|
|
281
|
+
"type": "boolean",
|
|
282
|
+
"required": "false",
|
|
283
|
+
"default": "false",
|
|
284
|
+
"description": "设置`defaultActiveIndex`时,构件初始化时会默认触发item.click事件,如果item.click后需要刷新页面,则会造成构件不断render,页面不断重刷,为避免此情况,可将此项设为true"
|
|
278
285
|
}
|
|
279
286
|
],
|
|
280
287
|
"interface": []
|
|
@@ -2949,6 +2956,13 @@
|
|
|
2949
2956
|
"group": "dropdownButton"
|
|
2950
2957
|
}
|
|
2951
2958
|
],
|
|
2959
|
+
"events": [
|
|
2960
|
+
{
|
|
2961
|
+
"type": "buttons.visible.change",
|
|
2962
|
+
"detail": "\"boolean\"",
|
|
2963
|
+
"description": "dropdown是否显示"
|
|
2964
|
+
}
|
|
2965
|
+
],
|
|
2952
2966
|
"methods": [
|
|
2953
2967
|
{
|
|
2954
2968
|
"name": "updateButton",
|
|
@@ -7794,44 +7808,195 @@
|
|
|
7794
7808
|
"lib": "fa",
|
|
7795
7809
|
"icon": "th"
|
|
7796
7810
|
},
|
|
7797
|
-
"conf":
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
"
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
"
|
|
7806
|
-
"
|
|
7811
|
+
"conf": [
|
|
7812
|
+
{
|
|
7813
|
+
"brick": "basic-bricks.flex-layout",
|
|
7814
|
+
"description": {
|
|
7815
|
+
"title": "基本使用",
|
|
7816
|
+
"message": ""
|
|
7817
|
+
},
|
|
7818
|
+
"properties": {
|
|
7819
|
+
"justifyContent": "space-between",
|
|
7820
|
+
"alignItems": "center",
|
|
7821
|
+
"style": {
|
|
7822
|
+
"border": "1px solid black",
|
|
7823
|
+
"background": "pink",
|
|
7824
|
+
"height": "200px",
|
|
7825
|
+
"width": "200px"
|
|
7826
|
+
}
|
|
7827
|
+
},
|
|
7828
|
+
"slots": {
|
|
7829
|
+
"": {
|
|
7830
|
+
"type": "bricks",
|
|
7831
|
+
"bricks": [
|
|
7832
|
+
{
|
|
7833
|
+
"brick": "div",
|
|
7834
|
+
"properties": {
|
|
7835
|
+
"textContent": "『第一个div』",
|
|
7836
|
+
"style": {
|
|
7837
|
+
"background": "yellow"
|
|
7838
|
+
}
|
|
7839
|
+
}
|
|
7840
|
+
},
|
|
7841
|
+
{
|
|
7842
|
+
"brick": "div",
|
|
7843
|
+
"properties": {
|
|
7844
|
+
"textContent": "『第二个div』",
|
|
7845
|
+
"style": {
|
|
7846
|
+
"background": "orange"
|
|
7847
|
+
}
|
|
7848
|
+
}
|
|
7849
|
+
}
|
|
7850
|
+
]
|
|
7851
|
+
}
|
|
7807
7852
|
}
|
|
7808
7853
|
},
|
|
7809
|
-
|
|
7810
|
-
"":
|
|
7811
|
-
|
|
7812
|
-
"
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7854
|
+
{
|
|
7855
|
+
"brick": "basic-bricks.flex-layout",
|
|
7856
|
+
"description": {
|
|
7857
|
+
"title": "设置列间隙columnGap",
|
|
7858
|
+
"message": ""
|
|
7859
|
+
},
|
|
7860
|
+
"properties": {
|
|
7861
|
+
"columnGap": "20px",
|
|
7862
|
+
"style": {
|
|
7863
|
+
"background": "AliceBlue",
|
|
7864
|
+
"width": "247px",
|
|
7865
|
+
"border": "1px solid black"
|
|
7866
|
+
}
|
|
7867
|
+
},
|
|
7868
|
+
"slots": {
|
|
7869
|
+
"": {
|
|
7870
|
+
"bricks": [
|
|
7871
|
+
{
|
|
7872
|
+
"brick": "div",
|
|
7873
|
+
"properties": {
|
|
7874
|
+
"style": {
|
|
7875
|
+
"background": "yellow"
|
|
7876
|
+
},
|
|
7877
|
+
"textContent": "NO.1"
|
|
7878
|
+
}
|
|
7879
|
+
},
|
|
7880
|
+
{
|
|
7881
|
+
"brick": "div",
|
|
7882
|
+
"properties": {
|
|
7883
|
+
"style": {
|
|
7884
|
+
"background": "orange"
|
|
7885
|
+
},
|
|
7886
|
+
"textContent": "NO.2"
|
|
7887
|
+
}
|
|
7888
|
+
},
|
|
7889
|
+
{
|
|
7890
|
+
"brick": "div",
|
|
7891
|
+
"properties": {
|
|
7892
|
+
"style": {
|
|
7893
|
+
"background": "DeepSkyBlue"
|
|
7894
|
+
},
|
|
7895
|
+
"textContent": "NO.3"
|
|
7896
|
+
}
|
|
7897
|
+
},
|
|
7898
|
+
{
|
|
7899
|
+
"brick": "div",
|
|
7900
|
+
"properties": {
|
|
7901
|
+
"style": {
|
|
7902
|
+
"background": "Aquamarine"
|
|
7903
|
+
},
|
|
7904
|
+
"textContent": "NO.4"
|
|
7905
|
+
}
|
|
7906
|
+
},
|
|
7907
|
+
{
|
|
7908
|
+
"brick": "div",
|
|
7909
|
+
"properties": {
|
|
7910
|
+
"style": {
|
|
7911
|
+
"background": "Chartreuse"
|
|
7912
|
+
},
|
|
7913
|
+
"textContent": "NO.5"
|
|
7819
7914
|
}
|
|
7820
7915
|
}
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7916
|
+
],
|
|
7917
|
+
"type": "bricks"
|
|
7918
|
+
}
|
|
7919
|
+
}
|
|
7920
|
+
},
|
|
7921
|
+
{
|
|
7922
|
+
"brick": "basic-bricks.flex-layout",
|
|
7923
|
+
"description": {
|
|
7924
|
+
"title": "设置行间隙rowGap",
|
|
7925
|
+
"message": ""
|
|
7926
|
+
},
|
|
7927
|
+
"properties": {
|
|
7928
|
+
"rowGap": "10px",
|
|
7929
|
+
"columnGap": "20px",
|
|
7930
|
+
"flexWrap": "wrap",
|
|
7931
|
+
"style": {
|
|
7932
|
+
"background": "AliceBlue",
|
|
7933
|
+
"width": "88px",
|
|
7934
|
+
"border": "1px solid black"
|
|
7935
|
+
}
|
|
7936
|
+
},
|
|
7937
|
+
"slots": {
|
|
7938
|
+
"": {
|
|
7939
|
+
"bricks": [
|
|
7940
|
+
{
|
|
7941
|
+
"brick": "div",
|
|
7942
|
+
"properties": {
|
|
7943
|
+
"style": {
|
|
7944
|
+
"background": "yellow"
|
|
7945
|
+
},
|
|
7946
|
+
"textContent": "NO.1"
|
|
7947
|
+
}
|
|
7948
|
+
},
|
|
7949
|
+
{
|
|
7950
|
+
"brick": "div",
|
|
7951
|
+
"properties": {
|
|
7952
|
+
"style": {
|
|
7953
|
+
"background": "orange"
|
|
7954
|
+
},
|
|
7955
|
+
"textContent": "NO.2"
|
|
7956
|
+
}
|
|
7957
|
+
},
|
|
7958
|
+
{
|
|
7959
|
+
"brick": "div",
|
|
7960
|
+
"properties": {
|
|
7961
|
+
"style": {
|
|
7962
|
+
"background": "DeepSkyBlue"
|
|
7963
|
+
},
|
|
7964
|
+
"textContent": "NO.3"
|
|
7965
|
+
}
|
|
7966
|
+
},
|
|
7967
|
+
{
|
|
7968
|
+
"brick": "div",
|
|
7969
|
+
"properties": {
|
|
7970
|
+
"style": {
|
|
7971
|
+
"background": "Aquamarine"
|
|
7972
|
+
},
|
|
7973
|
+
"textContent": "NO.4"
|
|
7974
|
+
}
|
|
7975
|
+
},
|
|
7976
|
+
{
|
|
7977
|
+
"brick": "div",
|
|
7978
|
+
"properties": {
|
|
7979
|
+
"style": {
|
|
7980
|
+
"background": "Chartreuse"
|
|
7981
|
+
},
|
|
7982
|
+
"textContent": "NO.5"
|
|
7983
|
+
}
|
|
7984
|
+
},
|
|
7985
|
+
{
|
|
7986
|
+
"brick": "div",
|
|
7987
|
+
"properties": {
|
|
7988
|
+
"style": {
|
|
7989
|
+
"background": "YellowGreen"
|
|
7990
|
+
},
|
|
7991
|
+
"textContent": "NO.6"
|
|
7828
7992
|
}
|
|
7829
7993
|
}
|
|
7830
|
-
|
|
7831
|
-
|
|
7994
|
+
],
|
|
7995
|
+
"type": "bricks"
|
|
7996
|
+
}
|
|
7832
7997
|
}
|
|
7833
7998
|
}
|
|
7834
|
-
|
|
7999
|
+
],
|
|
7835
8000
|
"doc": {
|
|
7836
8001
|
"id": "basic-bricks.flex-layout",
|
|
7837
8002
|
"author": "kehua",
|
|
@@ -7872,6 +8037,18 @@
|
|
|
7872
8037
|
"type": "string",
|
|
7873
8038
|
"required": false,
|
|
7874
8039
|
"description": "定义[flex-wrap]:设置换行方式"
|
|
8040
|
+
},
|
|
8041
|
+
{
|
|
8042
|
+
"name": "columnGap",
|
|
8043
|
+
"type": "string",
|
|
8044
|
+
"required": false,
|
|
8045
|
+
"description": "定义[column-gap]:设置元素列之间间隙"
|
|
8046
|
+
},
|
|
8047
|
+
{
|
|
8048
|
+
"name": "rowGap",
|
|
8049
|
+
"type": "string",
|
|
8050
|
+
"required": false,
|
|
8051
|
+
"description": "定义[row-gap]:设置元素行之间间隙"
|
|
7875
8052
|
}
|
|
7876
8053
|
],
|
|
7877
8054
|
"interface": []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/basic-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.189.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",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"immutability-helper": "^3.1.1"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": true,
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "26f5c3be304bfa2878d88fa1137121ec651450ec"
|
|
43
43
|
}
|