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

134 lines
3.1 KiB
Plaintext
Raw Permalink Normal View History

{
2023-02-09 00:00:51 +00:00
"html#tab-layout": {
"props": {
"testId": "product-description"
},
"children": ["tab-layout#tab-product"]
},
"tab-layout#tab-product": {
"children": ["tab-list#tab-product", "tab-content#tab-product"],
"props": {
"blockClass": "tab-product",
"defaultActiveTabId": "tab-product1"
}
},
"tab-list#tab-product": {
"props": {
"blockClass": "m3-tab-list-product"
},
"children": [
"tab-list.item#tab-product1",
"tab-list.item#tab-product2",
"tab-list.item#tab-product3",
"tab-list.item#tab-product4",
"tab-list.item#tab-product5"
]
},
"tab-list.item#tab-product1": {
"props": {
"blockClass": "m3-tab-list-item-product",
"tabId": "tab-product1",
"label": "Descrição",
"defaultActiveTab": true
}
},
"tab-list.item#tab-product2": {
"props": {
"blockClass": "m3-tab-list-item-product ",
"tabId": "tab-product2",
"label": "Descrição"
}
},
"tab-list.item#tab-product3": {
"props": {
"blockClass": "m3-tab-list-item-product ",
"tabId": "tab-product3",
"label": "Descrição"
}
},
"tab-list.item#tab-product4": {
"props": {
"blockClass": "m3-tab-list-item-product ",
"tabId": "tab-product4",
"label": "Descrição"
}
},
"tab-list.item#tab-product5": {
"props": {
"blockClass": "m3-tab-list-item-product ",
"tabId": "tab-product5",
"label": "Descrição"
}
},
"tab-content#tab-product": {
"children": [
"tab-content.item#tab-product1",
"tab-content.item#tab-product2",
"tab-content.item#tab-product3",
"tab-content.item#tab-product4",
"tab-content.item#tab-product5"
]
},
"tab-content.item#tab-product1": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "tab-product1"
}
},
"tab-content.item#tab-product2": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "tab-product2"
}
},
"tab-content.item#tab-product3": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "tab-product3"
}
},
"tab-content.item#tab-product4": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "tab-product4"
}
},
"tab-content.item#tab-product5": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "tab-product5"
}
},
"flex-layout.row#description": {
"props": {
"blockClass": "description",
"marginBottom": 7
},
"children": ["product-images#imageDescription", "product-description"]
},
2023-02-09 00:00:51 +00:00
"product-description": {
"props": {
"collapseContent": false
}
},
"flex-layout.row#wrapperImageDescription": {
"props": {
"blockClass": "imageDescription",
"width": "50%"
},
"children": ["product-images#imageDescription"]
},
"product-images#imageDescription": {
"props": {
"blockClass": "imageDescription",
"displayMode": "first-image",
"aspectRatio": {
"desktop": "1:1"
}
}
}
}