challenge-vtex-io-caina/store/blocks/pdp/product-tablayout.jsonc

115 lines
2.4 KiB
Plaintext

{
"html#tab-layout": {
"props": { "testId": "product-description" },
"children": ["tab-layout#details"]
},
"tab-layout#details": {
"children": ["tab-list#details", "tab-content#details"],
"props": {
"blockClass": "details",
"defaultActiveTabId": "details1"
}
},
"tab-list#details": {
"children": [
"tab-list.item#details1",
"tab-list.item#details2",
"tab-list.item#details3",
"tab-list.item#details4",
"tab-list.item#details5"
]
},
"tab-list.item#details1": {
"props": {
"tabId": "details1",
"label": "Descrição",
"blockClass": "descricao",
"defaultActiveTab": true
}
},
"tab-list.item#details2": {
"props": {
"tabId": "details2",
"label": "Descrição"
}
},
"tab-list.item#details3": {
"props": {
"tabId": "details3",
"label": "Descrição"
}
},
"tab-list.item#details4": {
"props": {
"tabId": "details4",
"label": "Descrição"
}
},
"tab-list.item#details5": {
"props": {
"tabId": "details5",
"label": "Descrição"
}
},
"tab-content#details": {
"children": [
"tab-content.item#details1",
"tab-content.item#details2",
"tab-content.item#details3",
"tab-content.item#details4",
"tab-content.item#details5"
]
},
"tab-content.item#details1": {
"children": ["html#description"],
"props": {
"tabId": "details1"
}
},
"tab-content.item#details2": {
"children": ["html#description"],
"props": {
"tabId": "details2"
}
},
"tab-content.item#details3": {
"children": ["html#description"],
"props": {
"tabId": "details3"
}
},
"tab-content.item#details4": {
"children": ["html#description"],
"props": {
"tabId": "details4"
}
},
"tab-content.item#details5": {
"children": ["html#description"],
"props": {
"tabId": "details5"
}
},
"html#description": {
"props": {
"tag": "section",
"testId": "description",
"blockClass": "description-container"
},
"children": ["html#description-image", "product-description"]
},
"html#description-image": {
"props": { "blockClass": "image-container" },
"children": ["product-images#description"]
},
"product-images#description": {
"props": {
"displayMode": "first-image",
"zoomMode": "disabled",
"blockClass": "description-imagem"
}
}
}