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

203 lines
4.4 KiB
Plaintext

{
"flex-layout.row#product-specifications": {
"props": {
"blockClass": "productSpecifications"
},
"children": ["tab-layout#product-specification"]
},
"tab-layout#product-specification": {
"children": [
"tab-list#product-specification",
"tab-content#product-specification"
]
},
"tab-list#product-specification": {
"props": {
"blockClass": "ProductSpecificationTabList"
},
"children": [
"tab-list.item#specification-1",
"tab-list.item#specification-2",
"tab-list.item#specification-3",
"tab-list.item#specification-4",
"tab-list.item#specification-5"
]
},
"tab-list.item#specification-1": {
"props": {
"tabId": "descriptionSpecificationsId",
"label": "Descrição",
"defaultActiveTab": true
}
},
"tab-list.item#specification-2": {
"props": {
"tabId": "productTableSpecificationsId",
"label": "Especificações"
}
},
"tab-list.item#specification-3": {
"props": {
"tabId": "productVendorId",
"label": "Vendedor"
}
},
"tab-list.item#specification-4": {
"props": {
"tabId": "productLocationId",
"label": "Localização"
}
},
"tab-list.item#specification-5": {
"props": {
"tabId": "productFAQsId",
"label": "FAQs"
}
},
"tab-content#product-specification": {
"children": [
"tab-content.item#specification-1",
"tab-content.item#specification-2",
"tab-content.item#specification-3",
"tab-content.item#specification-4",
"tab-content.item#specification-5"
]
},
"tab-content.item#specification-1": {
"children": ["flex-layout.row#product-specification-1"],
"props": {
"tabId": "descriptionSpecificationsId"
}
},
"tab-content.item#specification-2": {
"children": ["flex-layout.row#product-specification-2"],
"props": {
"tabId": "productTableSpecificationsId"
}
},
"tab-content.item#specification-3": {
"children": ["flex-layout.row#product-specification-1"],
"props": {
"tabId": "productVendorId"
}
},
"tab-content.item#specification-4": {
"children": ["flex-layout.row#product-specification-2"],
"props": {
"tabId": "productLocationId"
}
},
"tab-content.item#specification-5": {
"children": ["flex-layout.row#product-specification-1"],
"props": {
"tabId": "productFAQsId"
}
},
"flex-layout.row#product-specification-1": {
"props": {
"blockClass": "productSpecificationItemContainer",
"colGap": {
"desktop": 7,
"(min-width:1025px)": 7,
"(min-iwdth:769px)": 0,
"tablet": 0,
"phone": 0
},
"marginTop": 7,
"marginBottom": 5,
"border": "bottom",
"borderWidth": 1,
"borderColor": "action-third"
},
"children": [
"product-images#product-specification",
"flex-layout.row#description-1"
]
},
"flex-layout.row#product-specification-2": {
"props": {
"blockClass": "productSpecificationItemContainer",
"colGap": {
"desktop": 7,
"(min-width:1025px)": 7,
"(min-iwdth:769px)": 0,
"tablet": 0,
"phone": 0
},
"marginTop": 7,
"marginBottom": 5,
"border": "bottom",
"borderWidth": 1,
"borderColor": "action-third"
},
"children": [
"product-images#product-specification",
"flex-layout.row#description-2"
]
},
"product-images#product-specification": {
"props": {
"aspectRatio": "1:1",
"displayMode": "first-image"
}
},
"flex-layout.row#description-1": {
"props": {
"marginBottom": 7,
"marginTop": {
"desktop": 0,
"(min-width:1025px)": 0,
"(min-width:769px)": 5,
"tablet": 5,
"phone": 5
}
},
"children": ["product-description#product-specification-1"]
},
"flex-layout.row#description-2": {
"props": {
"marginBottom": 7,
"marginTop": {
"desktop": 0,
"(min-width:1025px)": 0,
"(min-width:769px)": 5,
"tablet": 5,
"phone": 5
}
},
"children": ["product-description#product-specification-2"]
},
"product-description#product-specification-1": {
"props": {
"collapseContent": false
}
},
"product-description#product-specification-2": {
"props": {
"collapseContent": false,
"title": "Descrição"
}
}
}