challenge-vtex-io-affonso-k.../store/blocks/pdp/product-specifications-table.jsonc

84 lines
1.7 KiB
Plaintext
Raw Normal View History

{
"product-specification-group#table": {
"children": [
"flex-layout.row#spec-group"
]
},
"flex-layout.row#spec-group": {
"props": {
"blockClass": "productSpecificationGroup"
},
"children": [
"flex-layout.col#spec-group"
]
},
"flex-layout.col#spec-group": {
"children": [
"flex-layout.row#spec-group-name",
"product-specification"
]
},
"flex-layout.row#spec-group-name": {
"props": {
"blockClass": "productSpecificationGroupName"
},
"children": [
"product-specification-text#group"
]
},
"product-specification": {
"children": [
"flex-layout.row#spec-item"
]
},
"flex-layout.row#spec-item": {
"props": {
"blockClass": "productSpecification"
},
"children": [
"flex-layout.col#spec-name",
"flex-layout.col#spec-value"
]
},
"flex-layout.col#spec-name": {
"props": {
"blockClass": "productSpecificationName",
"width": {
"mobile": "50%",
"desktop": "25%"
}
},
"children": [
"product-specification-text#specification"
]
},
"flex-layout.col#spec-value": {
"props": {
"blockClass": "productSpecificationValue"
},
"children": [
"product-specification-values"
]
},
"product-specification-values": {
"children": [
"product-specification-text#value"
]
},
"product-specification-text#group": {
"props": {
"message": "{groupName}"
}
},
"product-specification-text#specification": {
"props": {
"message": "{specificationName}"
}
},
"product-specification-text#value": {
"props": {
"message": "{specificationValue}"
}
}
}