challenge-vtex-io-amanda-al.../store/blocks/pdp/product-tab-layout.jsonc

116 lines
2.6 KiB
Plaintext

{
"product-images#description": {
"props": {
"showNavigationArrows": false,
"showPaginationDots": false,
"thumbnailVisibility": "hidden",
"contentType": "images",
"blockClass": "description"
}
},
"product-description": {
"props": {
"collapseContent": false
}
},
"html#tab-layout": {
"props": {
"testId": "product-description"
},
"children": ["tab-layout#description"]
},
"tab-layout#description": {
"children": ["tab-list#description", "tab-content#description"],
"props": {
"blockClass": "description",
"defaultActiveTabId": "description1"
}
},
"tab-list#description": {
"props": {
"blockClass": "description"
},
"children": [
"tab-list.item#description1",
"tab-list.item#description2",
"tab-list.item#description3",
"tab-list.item#description4",
"tab-list.item#description5"
]
},
"tab-list.item#description1": {
"props": {
"tabId": "description1",
"label": "Descrição",
"defaultActiveTab": true
}
},
"tab-list.item#description2": {
"props": {
"tabId": "description2",
"label": "Descrição"
}
},
"tab-list.item#description3": {
"props": {
"tabId": "description3",
"label": "Descrição"
}
},
"tab-list.item#description4": {
"props": {
"tabId": "description4",
"label": "Descrição"
}
},
"tab-list.item#description5": {
"props": {
"tabId": "description5",
"label": "Descrição"
}
},
"tab-content#description": {
"children": [
"tab-content.item#description1",
"tab-content.item#description2",
"tab-content.item#description3",
"tab-content.item#description4",
"tab-content.item#description5"
]
},
"tab-content.item#description1": {
"children": ["product-images#description", "product-description"],
"props": {
"tabId": "description1"
}
},
"tab-content.item#description2": {
"children": ["product-images#description", "product-description"],
"props": {
"tabId": "description2"
}
},
"tab-content.item#description3": {
"children": ["product-images#description", "product-description"],
"props": {
"tabId": "description3"
}
},
"tab-content.item#description4": {
"children": ["product-images#description", "product-description"],
"props": {
"tabId": "description4"
}
},
"tab-content.item#description5": {
"children": ["product-images#description", "product-description"],
"props": {
"tabId": "description5"
}
}
}