@next-bricks/basic-bricks 1.174.12 → 1.175.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/dist/stories.json CHANGED
@@ -7615,5 +7615,100 @@
7615
7615
  ],
7616
7616
  "interface": []
7617
7617
  }
7618
+ },
7619
+ {
7620
+ "storyId": "basic-bricks.flex-layout",
7621
+ "category": "layout",
7622
+ "type": "brick",
7623
+ "author": "kehua",
7624
+ "text": {
7625
+ "en": "Flex Layout",
7626
+ "zh": "flex布局"
7627
+ },
7628
+ "description": {
7629
+ "en": "A Flex layout container",
7630
+ "zh": "基于Flex的布局容器"
7631
+ },
7632
+ "icon": {
7633
+ "lib": "fa",
7634
+ "icon": "th"
7635
+ },
7636
+ "conf": {
7637
+ "brick": "basic-bricks.flex-layout",
7638
+ "properties": {
7639
+ "justifyContent": "space-between",
7640
+ "alignItems": "center",
7641
+ "style": {
7642
+ "border": "1px solid black",
7643
+ "background": "pink",
7644
+ "height": "200px",
7645
+ "width": "200px"
7646
+ }
7647
+ },
7648
+ "slots": {
7649
+ "": {
7650
+ "type": "bricks",
7651
+ "bricks": [
7652
+ {
7653
+ "brick": "div",
7654
+ "properties": {
7655
+ "textContent": "《第一个div》",
7656
+ "style": {
7657
+ "background": "yellow"
7658
+ }
7659
+ }
7660
+ },
7661
+ {
7662
+ "brick": "div",
7663
+ "properties": {
7664
+ "textContent": "《第二个div》",
7665
+ "style": {
7666
+ "background": "orange"
7667
+ }
7668
+ }
7669
+ }
7670
+ ]
7671
+ }
7672
+ }
7673
+ },
7674
+ "doc": {
7675
+ "id": "basic-bricks.flex-layout",
7676
+ "author": "kehua",
7677
+ "history": [
7678
+ {
7679
+ "version": "1.x.0",
7680
+ "change": " 新增构件 `basic-bricks.flex-layout`"
7681
+ }
7682
+ ],
7683
+ "dockind": "brick",
7684
+ "properties": [
7685
+ {
7686
+ "name": "flexDirection",
7687
+ "type": "string",
7688
+ "description": "定义[flex-direction]:设置主轴方向"
7689
+ },
7690
+ {
7691
+ "name": "justifyContent",
7692
+ "type": "string",
7693
+ "description": "定义[justify-content]:设置主轴上子元素的排列方式"
7694
+ },
7695
+ {
7696
+ "name": "alignItems",
7697
+ "type": "string",
7698
+ "description": "定义[align-items]:设置侧轴上的子元素排列方式(单行)"
7699
+ },
7700
+ {
7701
+ "name": "alignContent",
7702
+ "type": "string",
7703
+ "description": "定义[align-content]:设置侧轴上的子元素排列方式(多行)"
7704
+ },
7705
+ {
7706
+ "name": "flexWrap",
7707
+ "type": "string",
7708
+ "description": "定义[flex-wrap]:设置换行方式"
7709
+ }
7710
+ ],
7711
+ "interface": []
7712
+ }
7618
7713
  }
7619
7714
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/basic-bricks",
3
- "version": "1.174.12",
3
+ "version": "1.175.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",
@@ -39,5 +39,5 @@
39
39
  "immutability-helper": "^3.1.1"
40
40
  },
41
41
  "sideEffects": true,
42
- "gitHead": "f8334142a6faecf252b9d9ea5d1498d8b40ecc7f"
42
+ "gitHead": "a5b3d027be5d76c1e7133342959583f47cc35ada"
43
43
  }