@next-bricks/basic-bricks 1.187.0 → 1.188.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 +88 -88
- package/dist/bricks.json +28 -28
- package/dist/{index.c98c46cd.js → index.ab89c7d9.js} +3 -3
- package/dist/index.ab89c7d9.js.map +1 -0
- package/dist/stories.json +200 -30
- package/package.json +2 -2
- package/dist/index.c98c46cd.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": []
|
|
@@ -7794,44 +7801,195 @@
|
|
|
7794
7801
|
"lib": "fa",
|
|
7795
7802
|
"icon": "th"
|
|
7796
7803
|
},
|
|
7797
|
-
"conf":
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
"
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
"
|
|
7806
|
-
"
|
|
7804
|
+
"conf": [
|
|
7805
|
+
{
|
|
7806
|
+
"brick": "basic-bricks.flex-layout",
|
|
7807
|
+
"description": {
|
|
7808
|
+
"title": "基本使用",
|
|
7809
|
+
"message": ""
|
|
7810
|
+
},
|
|
7811
|
+
"properties": {
|
|
7812
|
+
"justifyContent": "space-between",
|
|
7813
|
+
"alignItems": "center",
|
|
7814
|
+
"style": {
|
|
7815
|
+
"border": "1px solid black",
|
|
7816
|
+
"background": "pink",
|
|
7817
|
+
"height": "200px",
|
|
7818
|
+
"width": "200px"
|
|
7819
|
+
}
|
|
7820
|
+
},
|
|
7821
|
+
"slots": {
|
|
7822
|
+
"": {
|
|
7823
|
+
"type": "bricks",
|
|
7824
|
+
"bricks": [
|
|
7825
|
+
{
|
|
7826
|
+
"brick": "div",
|
|
7827
|
+
"properties": {
|
|
7828
|
+
"textContent": "『第一个div』",
|
|
7829
|
+
"style": {
|
|
7830
|
+
"background": "yellow"
|
|
7831
|
+
}
|
|
7832
|
+
}
|
|
7833
|
+
},
|
|
7834
|
+
{
|
|
7835
|
+
"brick": "div",
|
|
7836
|
+
"properties": {
|
|
7837
|
+
"textContent": "『第二个div』",
|
|
7838
|
+
"style": {
|
|
7839
|
+
"background": "orange"
|
|
7840
|
+
}
|
|
7841
|
+
}
|
|
7842
|
+
}
|
|
7843
|
+
]
|
|
7844
|
+
}
|
|
7807
7845
|
}
|
|
7808
7846
|
},
|
|
7809
|
-
|
|
7810
|
-
"":
|
|
7811
|
-
|
|
7812
|
-
"
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7847
|
+
{
|
|
7848
|
+
"brick": "basic-bricks.flex-layout",
|
|
7849
|
+
"description": {
|
|
7850
|
+
"title": "设置列间隙columnGap",
|
|
7851
|
+
"message": ""
|
|
7852
|
+
},
|
|
7853
|
+
"properties": {
|
|
7854
|
+
"columnGap": "20px",
|
|
7855
|
+
"style": {
|
|
7856
|
+
"background": "AliceBlue",
|
|
7857
|
+
"width": "247px",
|
|
7858
|
+
"border": "1px solid black"
|
|
7859
|
+
}
|
|
7860
|
+
},
|
|
7861
|
+
"slots": {
|
|
7862
|
+
"": {
|
|
7863
|
+
"bricks": [
|
|
7864
|
+
{
|
|
7865
|
+
"brick": "div",
|
|
7866
|
+
"properties": {
|
|
7867
|
+
"style": {
|
|
7868
|
+
"background": "yellow"
|
|
7869
|
+
},
|
|
7870
|
+
"textContent": "NO.1"
|
|
7871
|
+
}
|
|
7872
|
+
},
|
|
7873
|
+
{
|
|
7874
|
+
"brick": "div",
|
|
7875
|
+
"properties": {
|
|
7876
|
+
"style": {
|
|
7877
|
+
"background": "orange"
|
|
7878
|
+
},
|
|
7879
|
+
"textContent": "NO.2"
|
|
7880
|
+
}
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
"brick": "div",
|
|
7884
|
+
"properties": {
|
|
7885
|
+
"style": {
|
|
7886
|
+
"background": "DeepSkyBlue"
|
|
7887
|
+
},
|
|
7888
|
+
"textContent": "NO.3"
|
|
7889
|
+
}
|
|
7890
|
+
},
|
|
7891
|
+
{
|
|
7892
|
+
"brick": "div",
|
|
7893
|
+
"properties": {
|
|
7894
|
+
"style": {
|
|
7895
|
+
"background": "Aquamarine"
|
|
7896
|
+
},
|
|
7897
|
+
"textContent": "NO.4"
|
|
7898
|
+
}
|
|
7899
|
+
},
|
|
7900
|
+
{
|
|
7901
|
+
"brick": "div",
|
|
7902
|
+
"properties": {
|
|
7903
|
+
"style": {
|
|
7904
|
+
"background": "Chartreuse"
|
|
7905
|
+
},
|
|
7906
|
+
"textContent": "NO.5"
|
|
7819
7907
|
}
|
|
7820
7908
|
}
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7909
|
+
],
|
|
7910
|
+
"type": "bricks"
|
|
7911
|
+
}
|
|
7912
|
+
}
|
|
7913
|
+
},
|
|
7914
|
+
{
|
|
7915
|
+
"brick": "basic-bricks.flex-layout",
|
|
7916
|
+
"description": {
|
|
7917
|
+
"title": "设置行间隙rowGap",
|
|
7918
|
+
"message": ""
|
|
7919
|
+
},
|
|
7920
|
+
"properties": {
|
|
7921
|
+
"rowGap": "10px",
|
|
7922
|
+
"columnGap": "20px",
|
|
7923
|
+
"flexWrap": "wrap",
|
|
7924
|
+
"style": {
|
|
7925
|
+
"background": "AliceBlue",
|
|
7926
|
+
"width": "88px",
|
|
7927
|
+
"border": "1px solid black"
|
|
7928
|
+
}
|
|
7929
|
+
},
|
|
7930
|
+
"slots": {
|
|
7931
|
+
"": {
|
|
7932
|
+
"bricks": [
|
|
7933
|
+
{
|
|
7934
|
+
"brick": "div",
|
|
7935
|
+
"properties": {
|
|
7936
|
+
"style": {
|
|
7937
|
+
"background": "yellow"
|
|
7938
|
+
},
|
|
7939
|
+
"textContent": "NO.1"
|
|
7940
|
+
}
|
|
7941
|
+
},
|
|
7942
|
+
{
|
|
7943
|
+
"brick": "div",
|
|
7944
|
+
"properties": {
|
|
7945
|
+
"style": {
|
|
7946
|
+
"background": "orange"
|
|
7947
|
+
},
|
|
7948
|
+
"textContent": "NO.2"
|
|
7949
|
+
}
|
|
7950
|
+
},
|
|
7951
|
+
{
|
|
7952
|
+
"brick": "div",
|
|
7953
|
+
"properties": {
|
|
7954
|
+
"style": {
|
|
7955
|
+
"background": "DeepSkyBlue"
|
|
7956
|
+
},
|
|
7957
|
+
"textContent": "NO.3"
|
|
7958
|
+
}
|
|
7959
|
+
},
|
|
7960
|
+
{
|
|
7961
|
+
"brick": "div",
|
|
7962
|
+
"properties": {
|
|
7963
|
+
"style": {
|
|
7964
|
+
"background": "Aquamarine"
|
|
7965
|
+
},
|
|
7966
|
+
"textContent": "NO.4"
|
|
7967
|
+
}
|
|
7968
|
+
},
|
|
7969
|
+
{
|
|
7970
|
+
"brick": "div",
|
|
7971
|
+
"properties": {
|
|
7972
|
+
"style": {
|
|
7973
|
+
"background": "Chartreuse"
|
|
7974
|
+
},
|
|
7975
|
+
"textContent": "NO.5"
|
|
7976
|
+
}
|
|
7977
|
+
},
|
|
7978
|
+
{
|
|
7979
|
+
"brick": "div",
|
|
7980
|
+
"properties": {
|
|
7981
|
+
"style": {
|
|
7982
|
+
"background": "YellowGreen"
|
|
7983
|
+
},
|
|
7984
|
+
"textContent": "NO.6"
|
|
7828
7985
|
}
|
|
7829
7986
|
}
|
|
7830
|
-
|
|
7831
|
-
|
|
7987
|
+
],
|
|
7988
|
+
"type": "bricks"
|
|
7989
|
+
}
|
|
7832
7990
|
}
|
|
7833
7991
|
}
|
|
7834
|
-
|
|
7992
|
+
],
|
|
7835
7993
|
"doc": {
|
|
7836
7994
|
"id": "basic-bricks.flex-layout",
|
|
7837
7995
|
"author": "kehua",
|
|
@@ -7872,6 +8030,18 @@
|
|
|
7872
8030
|
"type": "string",
|
|
7873
8031
|
"required": false,
|
|
7874
8032
|
"description": "定义[flex-wrap]:设置换行方式"
|
|
8033
|
+
},
|
|
8034
|
+
{
|
|
8035
|
+
"name": "columnGap",
|
|
8036
|
+
"type": "string",
|
|
8037
|
+
"required": false,
|
|
8038
|
+
"description": "定义[column-gap]:设置元素列之间间隙"
|
|
8039
|
+
},
|
|
8040
|
+
{
|
|
8041
|
+
"name": "rowGap",
|
|
8042
|
+
"type": "string",
|
|
8043
|
+
"required": false,
|
|
8044
|
+
"description": "定义[row-gap]:设置元素行之间间隙"
|
|
7875
8045
|
}
|
|
7876
8046
|
],
|
|
7877
8047
|
"interface": []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/basic-bricks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.188.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": "be3bab75ba724835e9c03acb0f52e204d6b06a61"
|
|
43
43
|
}
|