From 02081485cf6b0354f8e8c67f29dce3e1cba80101 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 8 Feb 2021 18:28:11 -0300 Subject: [PATCH] More work on new thumbnails logic for dynamic items list block #467 #463 #456. Adds option to not crop images and adjust columns count. #465 --- package-lock.json | 6 - ...can-gutenberg-block-dynamic-items-list.css | 273 +++++++++++++++--- ...gutenberg-block-dynamic-items-list.css.map | 2 +- .../dynamic-items-list-deprecated.js | 176 +++++++++++ .../dynamic-items-list-theme.js | 6 + .../dynamic-items-list-theme.vue | 42 +-- .../dynamic-items-list.scss | 213 +++++++++++--- .../dynamic-items-list/index.js | 101 +++++-- 8 files changed, 682 insertions(+), 137 deletions(-) diff --git a/package-lock.json b/package-lock.json index bf5caf0f4..75b370569 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5760,15 +5760,9 @@ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, "ini": { -<<<<<<< HEAD "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", -======= - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz", - "integrity": "sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==", ->>>>>>> develop "dev": true }, "inquirer": { diff --git a/src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css b/src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css index 443fe464f..29f7a01e7 100644 --- a/src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css +++ b/src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css @@ -236,24 +236,109 @@ .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid, .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid { padding: 0; + margin: 0; flex-wrap: wrap; display: flex; display: -ms-grid; display: grid; - -ms-grid-columns: 220px 220px 220px 220px 220px; - grid-template-columns: repeat(auto-fill, 220px); - grid-gap: 0px; - gap: 0px; + grid-gap: 24px; + gap: 24px; justify-content: space-evenly; - list-style-type: none; - margin: 0; } + list-style-type: none; } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7), + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7) { + -ms-grid-columns: 220px 220px 220px 220px; + grid-template-columns: repeat(4, 1fr); } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-7 { + -ms-grid-columns: 220px 220px 220px 220px 220px 220px 220px; + grid-template-columns: repeat(7, 1fr); } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-6 { + -ms-grid-columns: 220px 220px 220px 220px 220px 220px; + grid-template-columns: repeat(6, 1fr); } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-5 { + -ms-grid-columns: 220px 220px 220px 220px 220px; + grid-template-columns: repeat(5, 1fr); } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-4, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-4 { + -ms-grid-columns: 220px 220px 220px 220px; + grid-template-columns: repeat(4, 1fr); } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-3, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-3 { + -ms-grid-columns: 220px 220px 220px; + grid-template-columns: repeat(3, 1fr); } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-2, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-2 { + -ms-grid-columns: 220px 220px; + grid-template-columns: repeat(2, 1fr); } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-1, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-1 { + -ms-grid-columns: 220px; + grid-template-columns: repeat(1, 1fr); } + @media only screen and (max-width: 1600px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-7, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-6 { + -ms-grid-columns: 220px 220px 220px 220px 220px 220px; + grid-template-columns: repeat(6, 1fr); } } + @media only screen and (max-width: 1400px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-7, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-6, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-5 { + -ms-grid-columns: 220px 220px 220px 220px 220px; + grid-template-columns: repeat(5, 1fr); } } + @media only screen and (max-width: 1280px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7), .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-7, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-6, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-5, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-4, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7), + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-4 { + -ms-grid-columns: 220px 220px 220px 220px; + grid-template-columns: repeat(4, 1fr); } } + @media only screen and (max-width: 1024px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7), .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-7, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-6, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-5, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-4, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-3, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7), + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-4, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-3 { + -ms-grid-columns: 220px 220px 220px; + grid-template-columns: repeat(3, 1fr); } } + @media only screen and (max-width: 768px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7), .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-7, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-6, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-5, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-4, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-3, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-2, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7), + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-4, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-3, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-2 { + -ms-grid-columns: 220px 220px; + grid-template-columns: repeat(2, 1fr); } } + @media only screen and (max-width: 498px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7), .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-7, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-6, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-5, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-4, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-3, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-2, .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid.max-columns-count-1, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid:not(.max-columns-count-1):not(.max-columns-count-2):not(.max-columns-count-3):not(.max-columns-count-4):not(.max-columns-count-5):not(.max-columns-count-6):not(.max-columns-count-7), + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-4, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-3, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-2, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid.max-columns-count-1 { + -ms-grid-columns: 220px; + grid-template-columns: repeat(1, 1fr); } } .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid li.item-list-item, .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid li.item-list-item { position: relative; display: block; - margin: 12px 12px 24px 12px; - margin-bottom: 12px; - width: 185px; } + width: 100%; + flex-basis: 220px; + margin: auto; } .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid li.item-list-item a, .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid li.item-list-item a { color: var(--tainacan-block-gray5, #454647); @@ -263,8 +348,7 @@ .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid li.item-list-item img, .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid li.item-list-item img { height: auto; - width: 185px; - min-width: 185px; + width: 100%; padding: 0px; margin-bottom: 0.5em; } .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid li.item-list-item a.item-without-title span, @@ -287,19 +371,127 @@ .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list, .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list { padding: 0; - display: flex; + padding-left: 0; + margin: 0; + margin-left: 0; flex-wrap: wrap; - align-items: center; - list-style-type: none; - margin: 0; } + display: flex; + display: -ms-grid; + display: grid; + align-items: self-start; + list-style-type: none; } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-7 { + grid-template-columns: repeat(7, auto); } + @media only screen and (max-width: 1600px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-7 { + grid-template-columns: repeat(6, auto); } } + @media only screen and (max-width: 1400px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-7 { + grid-template-columns: repeat(5, auto); } } + @media only screen and (max-width: 1280px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-7 { + grid-template-columns: repeat(4, auto); } } + @media only screen and (max-width: 1024px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-7 { + grid-template-columns: repeat(3, auto); } } + @media only screen and (max-width: 768px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-7 { + grid-template-columns: repeat(2, auto); } } + @media only screen and (max-width: 498px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-7, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-7 { + grid-template-columns: repeat(1, auto); } } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-6 { + grid-template-columns: repeat(6, auto); } + @media only screen and (max-width: 1400px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-6 { + grid-template-columns: repeat(5, auto); } } + @media only screen and (max-width: 1280px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-6 { + grid-template-columns: repeat(4, auto); } } + @media only screen and (max-width: 1024px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-6 { + grid-template-columns: repeat(3, auto); } } + @media only screen and (max-width: 768px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-6 { + grid-template-columns: repeat(2, auto); } } + @media only screen and (max-width: 498px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-6, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-6 { + grid-template-columns: repeat(1, auto); } } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-5 { + grid-template-columns: repeat(5, auto); } + @media only screen and (max-width: 1280px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-5 { + grid-template-columns: repeat(4, auto); } } + @media only screen and (max-width: 1024px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-5 { + grid-template-columns: repeat(3, auto); } } + @media only screen and (max-width: 768px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-5 { + grid-template-columns: repeat(2, auto); } } + @media only screen and (max-width: 498px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-5, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-5 { + grid-template-columns: repeat(1, auto); } } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-4, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-4 { + grid-template-columns: repeat(4, auto); } + @media only screen and (max-width: 1024px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-4, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-4 { + grid-template-columns: repeat(3, auto); } } + @media only screen and (max-width: 768px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-4, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-4 { + grid-template-columns: repeat(2, auto); } } + @media only screen and (max-width: 498px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-4, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-4 { + grid-template-columns: repeat(1, auto); } } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-3, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-3 { + grid-template-columns: repeat(3, auto); } + @media only screen and (max-width: 768px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-3, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-3 { + grid-template-columns: repeat(2, auto); } } + @media only screen and (max-width: 498px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-3, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-3 { + grid-template-columns: repeat(1, auto); } } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-2, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-2 { + grid-template-columns: repeat(2, auto); } + @media only screen and (max-width: 498px) { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-2, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-2 { + grid-template-columns: repeat(1, auto); } } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list.max-columns-count-1, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list.max-columns-count-1 { + grid-template-columns: repeat(1, auto); } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list > div, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list > div { + flex-basis: 220px; } .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item, .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item { - position: relative; - margin: 12px 12px 24px 12px; - margin-bottom: 12px; - min-height: 54px; - min-width: calc(20% - 24px); - width: calc(20% - 24px); } + display: inline-block; + padding: 12px 12px 24px 12px; } .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item a, .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item a { color: var(--tainacan-block-gray5, #454647); @@ -308,12 +500,21 @@ align-items: center; word-break: break-all; word-break: break-word; } - .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item a > div:first-child, - .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item a > div:first-child { + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item a > div, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item a > div { + padding: 0px; + padding-bottom: 0px !important; + margin-right: 20px; + display: block; height: 54px; - width: 54px; - padding: 0px !important; - margin-right: 20px; } + width: 54px; } + .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item img, + .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item img { + height: auto; + width: 54px; + min-width: 54px; + padding: 0px; + margin-right: 20px; } .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item a.item-without-image img, .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item a.item-without-image img { display: none; } @@ -321,26 +522,6 @@ .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item:hover a { color: var(--tainacan-block-gray5, #454647); text-decoration: none; } - @media only screen and (max-width: 1600px) { - .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item, - .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item { - min-width: calc(25% - 24px); - width: calc(25% - 24px); } } - @media only screen and (max-width: 1024px) { - .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item, - .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item { - min-width: calc(33.333% - 24px); - width: calc(33.333% - 24px); } } - @media only screen and (max-width: 768px) { - .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item, - .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item { - min-width: calc(50% - 24px); - width: calc(50% - 24px); } } - @media only screen and (max-width: 498px) { - .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-list li.item-list-item, - .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-list li.item-list-item { - min-width: calc(100% - 24px); - width: calc(100% - 24px); } } .wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-mosaic, .wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-mosaic { width: auto; diff --git a/src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css.map b/src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css.map index 75ec35e11..dd548d926 100644 --- a/src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css.map +++ b/src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAEA,qCAAsC;EAClC,MAAM,EAAE,QAAQ;EAGhB,wDAAmB;IACf,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,GAAG;IACZ,OAAO,EAAE,IAAI;IACb,eAAe,EAAE,MAAM;IACvB,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;QAChB,WAAW,EAAE,MAAM;MAEvB;6JAAiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAKvB;8IAAkB;QACd,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAIvB;8IAAkB;QACd,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAKvB;6JAAiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAEvB;6JAAiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAEvB;6JAAiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAKvB;;6JACiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAEvB;;6JACiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAKvB;;;6JAEiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAEvB;6JAAiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAEvB;6JAAiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAKvB;;6JACiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAEvB;6JAAiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAEvB;6JAAiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;MAEvB;;6JACiB;QACb,QAAQ,EAAE,MAAM;QAChB,WAAW,EAAE,MAAM;EAKnC,0CAA2C;IAEvC;gFACuC;MACnC,UAAU,EAAE,IAAI;MAEhB;oGAAkB;QACd,SAAS,EAAE,KAAK", "sources": ["../../views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list.scss","../../views/gutenberg-blocks/gutenberg-blocks-variables.scss"], "names": [], "file": "tainacan-gutenberg-block-dynamic-items-list.css" diff --git a/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-deprecated.js b/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-deprecated.js index 3bebdf5c1..66f1230b5 100644 --- a/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-deprecated.js +++ b/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-deprecated.js @@ -1,4 +1,180 @@ export default [ + /* Deprecated on Tainacan 0.18, due to the introduction of maxColumnsCount and fix of osaicItemFocalPointm */ + { + attributes: { + content: { + type: 'array', + source: 'children', + selector: 'div' + }, + collectionId: { + type: String, + default: undefined + }, + items: { + type: Array, + default: [] + }, + showImage: { + type: Boolean, + default: true + }, + showName: { + type: Boolean, + default: true + }, + layout: { + type: String, + default: 'grid' + }, + isModalOpen: { + type: Boolean, + default: false + }, + gridMargin: { + type: Number, + default: 0 + }, + searchURL: { + type: String, + default: undefined + }, + itemsRequestSource: { + type: String, + default: undefined + }, + maxItemsNumber: { + type: Number, + value: undefined + }, + isLoading: { + type: Boolean, + value: false + }, + isLoadingCollection: { + type: Boolean, + value: false + }, + showSearchBar: { + type: Boolean, + value: false + }, + showCollectionHeader: { + type: Boolean, + value: false + }, + showCollectionLabel: { + type: Boolean, + value: false + }, + collection: { + type: Object, + value: undefined + }, + searchString: { + type: String, + default: undefined + }, + order: { + type: String, + default: undefined + }, + blockId: { + type: String, + default: undefined + }, + collectionBackgroundColor: { + type: String, + default: "#454647" + }, + collectionTextColor: { + type: String, + default: "#ffffff" + }, + mosaicHeight: { + type: Number, + value: 280 + }, + mosaicGridColumns: { + type: Number, + value: 3 + }, + mosaicGridRows: { + type: Number, + value: 3 + }, + sampleBackgroundImage: { + type: String, + default: '' + }, + osaicItemFocalPointm: { + type: Object, + default: { + x: 0.5, + y: 0.5 + } + }, + mosaicDensity: { + type: Number, + default: 5 + } + }, + supports: { + align: ['full', 'wide'], + html: false, + }, + save({ attributes, className }) { + const { + content, + blockId, + collectionId, + showImage, + showName, + layout, + gridMargin, + searchURL, + maxItemsNumber, + order, + showSearchBar, + showCollectionHeader, + showCollectionLabel, + collectionBackgroundColor, + collectionTextColor, + mosaicHeight, + mosaicGridRows, + mosaicGridColumns, + mosaicItemFocalPoint, + mosaicDensity + } = attributes; + + return
+ { content } +
+ } + }, /* Deprecated on Tainacan 0.17.2, due to the introduction of support: fontSize */ { attributes: { diff --git a/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-theme.js b/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-theme.js index 87a43400a..69d070060 100644 --- a/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-theme.js +++ b/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-theme.js @@ -34,6 +34,8 @@ document.addEventListener("DOMContentLoaded", () => { mosaicGridColumns: 3, mosaicItemFocalPointX : 0.5, mosaicItemFocalPointY : 0.5, + maxColumnsCount: 4, + cropImagesToSquare: true, order: 'asc', showSearchBar: false, showCollectionHeader: false, @@ -58,6 +60,8 @@ document.addEventListener("DOMContentLoaded", () => { mosaicGridColumns: this.mosaicGridColumns, mosaicItemFocalPointX: this.mosaicItemFocalPointX, mosaicItemFocalPointY: this.mosaicItemFocalPointY, + maxColumnsCount: this.maxColumnsCount, + cropImagesToSquare: this.cropImagesToSquare, searchURL: this.searchURL, maxItemsNumber: this.maxItemsNumber, order: this.order, @@ -86,6 +90,8 @@ document.addEventListener("DOMContentLoaded", () => { this.mosaicGridColumns = this.$el.attributes['mosaic-grid-columns'] != undefined ? Number(this.$el.attributes['mosaic-grid-columns'].value) : undefined; this.mosaicItemFocalPointX = this.$el.attributes['mosaic-item-focal-point-x'] != undefined ? Number(this.$el.attributes['mosaic-item-focal-point-x'].value) : undefined; this.mosaicItemFocalPointY = this.$el.attributes['mosaic-item-focal-point-y'] != undefined ? Number(this.$el.attributes['mosaic-item-focal-point-y'].value) : undefined; + this.maxColumnsCount = this.$el.attributes['max-columns-count'] != undefined ? this.$el.attributes['max-columns-count'].value : 4; + this.cropImagesToSquare = this.$el.attributes['crop-images-to-square'] != undefined ? this.$el.attributes['crop-images-to-square'].value == 'true' : true; this.maxItemsNumber = this.$el.attributes['max-items-number'] != undefined ? this.$el.attributes['max-items-number'].value : undefined; this.order = this.$el.attributes['order'] != undefined ? this.$el.attributes['order'].value : undefined; this.showSearchBar = this.$el.attributes['show-search-bar'] != undefined ? this.$el.attributes['show-search-bar'].value == 'true' : false; diff --git a/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-theme.vue b/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-theme.vue index 2f620c955..7e79f999b 100644 --- a/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-theme.vue +++ b/src/views/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list-theme.vue @@ -13,13 +13,13 @@

@@ -189,16 +189,15 @@
{ layout == 'mosaic' ? @@ -923,11 +982,11 @@ registerBlockType('tainacan/dynamic-items-list', { { layout !== 'mosaic' ? ( ) : @@ -994,7 +1053,9 @@ registerBlockType('tainacan/dynamic-items-list', { mosaicGridRows, mosaicGridColumns, mosaicItemFocalPoint, - mosaicDensity + mosaicDensity, + maxColumnsCount, + cropImagesToSquare } = attributes; return