@next-bricks/basic-bricks 1.187.2 → 1.190.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
@@ -2956,6 +2956,13 @@
2956
2956
  "group": "dropdownButton"
2957
2957
  }
2958
2958
  ],
2959
+ "events": [
2960
+ {
2961
+ "type": "buttons.visible.change",
2962
+ "detail": "\"boolean\"",
2963
+ "description": "dropdown是否显示"
2964
+ }
2965
+ ],
2959
2966
  "methods": [
2960
2967
  {
2961
2968
  "name": "updateButton",
@@ -7801,44 +7808,127 @@
7801
7808
  "lib": "fa",
7802
7809
  "icon": "th"
7803
7810
  },
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"
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
+ }
7814
7852
  }
7815
7853
  },
7816
- "slots": {
7817
- "": {
7818
- "type": "bricks",
7819
- "bricks": [
7820
- {
7821
- "brick": "div",
7822
- "properties": {
7823
- "textContent": "《第一个div》",
7824
- "style": {
7825
- "background": "yellow"
7854
+ {
7855
+ "brick": "basic-bricks.flex-layout",
7856
+ "description": {
7857
+ "title": "使用gap改变元素间隙",
7858
+ "message": ""
7859
+ },
7860
+ "properties": {
7861
+ "gap": "20px",
7862
+ "flexWrap": "wrap",
7863
+ "style": {
7864
+ "background": "AliceBlue",
7865
+ "border": "1px solid black",
7866
+ "width": "142px"
7867
+ }
7868
+ },
7869
+ "slots": {
7870
+ "": {
7871
+ "bricks": [
7872
+ {
7873
+ "brick": "div",
7874
+ "properties": {
7875
+ "style": {
7876
+ "background": "yellow"
7877
+ },
7878
+ "textContent": "NO.1"
7826
7879
  }
7827
- }
7828
- },
7829
- {
7830
- "brick": "div",
7831
- "properties": {
7832
- "textContent": "《第二个div》",
7833
- "style": {
7834
- "background": "orange"
7880
+ },
7881
+ {
7882
+ "brick": "div",
7883
+ "properties": {
7884
+ "style": {
7885
+ "background": "orange"
7886
+ },
7887
+ "textContent": "NO.2"
7888
+ }
7889
+ },
7890
+ {
7891
+ "brick": "div",
7892
+ "properties": {
7893
+ "style": {
7894
+ "background": "DeepSkyBlue"
7895
+ },
7896
+ "textContent": "NO.3"
7897
+ }
7898
+ },
7899
+ {
7900
+ "brick": "div",
7901
+ "properties": {
7902
+ "style": {
7903
+ "background": "Aquamarine"
7904
+ },
7905
+ "textContent": "NO.4"
7906
+ }
7907
+ },
7908
+ {
7909
+ "brick": "div",
7910
+ "properties": {
7911
+ "style": {
7912
+ "background": "Chartreuse"
7913
+ },
7914
+ "textContent": "NO.5"
7915
+ }
7916
+ },
7917
+ {
7918
+ "brick": "div",
7919
+ "properties": {
7920
+ "style": {
7921
+ "background": "YellowGreen"
7922
+ },
7923
+ "textContent": "NO.6"
7835
7924
  }
7836
7925
  }
7837
- }
7838
- ]
7926
+ ],
7927
+ "type": "bricks"
7928
+ }
7839
7929
  }
7840
7930
  }
7841
- },
7931
+ ],
7842
7932
  "doc": {
7843
7933
  "id": "basic-bricks.flex-layout",
7844
7934
  "author": "kehua",
@@ -7879,6 +7969,12 @@
7879
7969
  "type": "string",
7880
7970
  "required": false,
7881
7971
  "description": "定义[flex-wrap]:设置换行方式"
7972
+ },
7973
+ {
7974
+ "name": "gap",
7975
+ "type": "string",
7976
+ "required": false,
7977
+ "description": "定义[gap]:设置元素间隙"
7882
7978
  }
7883
7979
  ],
7884
7980
  "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.190.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": "ce5a349f7433aa04f0f6b53b21a3513d41be4d90"
43
43
  }