@next-bricks/basic-bricks 1.187.2 → 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/dist/stories.json CHANGED
@@ -7801,44 +7801,195 @@
7801
7801
  "lib": "fa",
7802
7802
  "icon": "th"
7803
7803
  },
7804
- "conf": {
7805
- "brick": "basic-bricks.flex-layout",
7806
- "properties": {
7807
- "justifyContent": "space-between",
7808
- "alignItems": "center",
7809
- "style": {
7810
- "border": "1px solid black",
7811
- "background": "pink",
7812
- "height": "200px",
7813
- "width": "200px"
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
+ }
7814
7845
  }
7815
7846
  },
7816
- "slots": {
7817
- "": {
7818
- "type": "bricks",
7819
- "bricks": [
7820
- {
7821
- "brick": "div",
7822
- "properties": {
7823
- "textContent": "《第一个div》",
7824
- "style": {
7825
- "background": "yellow"
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"
7826
7907
  }
7827
7908
  }
7828
- },
7829
- {
7830
- "brick": "div",
7831
- "properties": {
7832
- "textContent": "《第二个div》",
7833
- "style": {
7834
- "background": "orange"
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"
7835
7985
  }
7836
7986
  }
7837
- }
7838
- ]
7987
+ ],
7988
+ "type": "bricks"
7989
+ }
7839
7990
  }
7840
7991
  }
7841
- },
7992
+ ],
7842
7993
  "doc": {
7843
7994
  "id": "basic-bricks.flex-layout",
7844
7995
  "author": "kehua",
@@ -7879,6 +8030,18 @@
7879
8030
  "type": "string",
7880
8031
  "required": false,
7881
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]:设置元素行之间间隙"
7882
8045
  }
7883
8046
  ],
7884
8047
  "interface": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/basic-bricks",
3
- "version": "1.187.2",
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": "1a62125d49af96208e040cb651d37efd8ef40001"
42
+ "gitHead": "be3bab75ba724835e9c03acb0f52e204d6b06a61"
43
43
  }