Skip to content

Commit

Permalink
Merge branch 'main' into pdp-404
Browse files Browse the repository at this point in the history
  • Loading branch information
herzog31 authored Jul 12, 2024
2 parents 6a59afa + fe8d9c9 commit 555f8d0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
6 changes: 4 additions & 2 deletions blocks/product-details/product-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,11 @@ export default async function decorate(block) {
await productRenderer.render(ProductDetails, {
sku: getSkuFromUrl(),
carousel: {
controls: 'thumbnailsColumn',
controls: {
desktop: 'thumbnailsColumn',
mobile: 'thumbnailsRow',
},
arrowsOnMainImage: true,
mobile: true,
peak: {
mobile: true,
desktop: false,
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@adobe/magento-storefront-event-collector": "^1.8.0",
"@adobe/magento-storefront-events-sdk": "^1.8.0",
"@dropins/storefront-pdp": "^0.2.3-alpha7",
"@dropins/storefront-pdp": "^0.3.0",
"@dropins/tools": "^0.25.0"
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ type DefaultSlotContext = {
valid: boolean;
};
export type CarouselConfig = {
mobile?: boolean;
controls?: 'thumbnailsRow' | 'thumbnailsColumn' | 'dots' | null;
controls?: {
desktop?: 'thumbnailsRow' | 'thumbnailsColumn' | 'dots' | null;
mobile?: 'dots' | 'thumbnailsRow' | null;
};
arrowsOnMainImage?: boolean;
loopable?: boolean;
peak?: {
mobile: boolean;
desktop: boolean;
mobile: boolean;
};
gap?: 'small' | 'medium' | 'large' | null;
thumbnailsLoadingMode?: 'lazy' | 'eager';
Expand Down

0 comments on commit 555f8d0

Please sign in to comment.