新增组件GridRow、GridCol

Signed-off-by: kangchongtao <kangchongtao@huawei.com>
Change-Id: I0c134025c6b6b6bc9560b9965ae92e0c560f3712
This commit is contained in:
kangchongtao
2022-07-04 17:52:52 +08:00
parent 6bdf4e8a0c
commit 3bdf7d2137
4 changed files with 39 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"name": "GridCol",
"parents": ["GridRow"],
"single": true,
"attrs": []
}
+7
View File
@@ -0,0 +1,7 @@
{
"name": "GridRow",
"children": ["GridCol"],
"attrs": [
"verticalAlign", "horizontalAlign", "onBreakpointChange"
]
}
+13 -1
View File
@@ -93,7 +93,9 @@
"Toggle",
"Video",
"Web",
"XComponent"
"XComponent",
"GridRow",
"GridCol"
],
"extend": {
"decorator": "Extend",
@@ -533,6 +535,16 @@
"type": "XComponentAttribute",
"instance": "XComponentInstance"
},
{
"name": "GridRow",
"type": "GridRowAttribute",
"instance": "GridRowInterface"
},
{
"name": "GridCol",
"type": "GridColAttribute",
"instance": "GridColInterface"
}
]
},
"styles": {
+13 -1
View File
@@ -93,7 +93,9 @@
"Toggle",
"Video",
"Web",
"XComponent"
"XComponent",
"GridRow",
"GridCol"
],
"extend": {
"decorator": "Extend",
@@ -533,6 +535,16 @@
"type": "XComponentAttribute",
"instance": "XComponentInstance"
},
{
"name": "GridRow",
"type": "GridRowAttribute",
"instance": "GridRowInterface"
},
{
"name": "GridCol",
"type": "GridColAttribute",
"instance": "GridColInterface"
}
]
},
"styles": {