Version 0.1.20

This commit is contained in:
mateuswetah 2023-01-13 16:13:20 -03:00
parent 8825e67247
commit 735b8479c4
10 changed files with 33 additions and 15 deletions

View File

@ -3,9 +3,9 @@ Author: tainacan
Contributors: wetah, vnmedeiros, leogermani, tainacan Contributors: wetah, vnmedeiros, leogermani, tainacan
Tags: museums, libraries, archives, GLAM, collections, repository, tainacan, blocksy Tags: museums, libraries, archives, GLAM, collections, repository, tainacan, blocksy
Requires at least: 5.0 Requires at least: 5.0
Tested up to: 6.0 Tested up to: 6.1
Requires PHP: 5.6 Requires PHP: 5.6
Stable tag: 0.1.18 Stable tag: 0.1.20
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
@ -58,8 +58,16 @@ License details: https://github.com/tainacan/blocksy-tainacan/blob/master/LICENS
== Changelog == == Changelog ==
= 0.1.20 =
* Sorts related items by title
* Small css improvements
= 0.1.19 =
* Better ElasticPress compatibility on search modal.
= 0.1.18 = = 0.1.18 =
* Fixes compatibility with Metadata Sections * Fixes compatibility with Metadata Sections
* Adds option to separate default section from metadata sections layout
= 0.1.17 = = 0.1.17 =
* Makes document gallery compatible with latest features from Tainacan 0.19 * Makes document gallery compatible with latest features from Tainacan 0.19

View File

@ -4,7 +4,7 @@ Plugin Name: Tainacan Support for Blocksy
Plugin URI: https://tainacan.org/ Plugin URI: https://tainacan.org/
Description: Tainacan plugin support for Blocksy theme Description: Tainacan plugin support for Blocksy theme
Author: tainacan Author: tainacan
Version: 0.1.18 Version: 0.1.20
Text Domain: tainacan-blocksy Text Domain: tainacan-blocksy
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
@ -15,7 +15,7 @@ if (! defined('WP_DEBUG') ) {
} }
/** Theme/plugin version */ /** Theme/plugin version */
const TAINACAN_BLOCKSY_VERSION = '0.1.18'; const TAINACAN_BLOCKSY_VERSION = '0.1.20';
const TAINACAN_BLOCKSY_IS_CHILD_THEME = false; const TAINACAN_BLOCKSY_IS_CHILD_THEME = false;
/* Tools to define our next constants */ /* Tools to define our next constants */

View File

@ -1,12 +1,12 @@
{ {
"name": "tainacan-blocksy", "name": "tainacan-blocksy",
"version": "0.1.18", "version": "0.1.20",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "tainacan-blocksy", "name": "tainacan-blocksy",
"version": "0.1.18", "version": "0.1.20",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"clean-css-cli": "^4.3.0", "clean-css-cli": "^4.3.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "tainacan-blocksy", "name": "tainacan-blocksy",
"version": "0.1.18", "version": "0.1.20",
"description": "A Blocksy plugin/child theme compatible with Tainacan", "description": "A Blocksy plugin/child theme compatible with Tainacan",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -19,7 +19,7 @@
&:not(.is-fullscreen) { &:not(.is-fullscreen) {
justify-content: center; justify-content: center;
background: transparent !important; background: transparent !important;
padding: 6px 13px; padding: 6px 18px;
@include display-grid; @include display-grid;
grid-template-columns: 0fr 100% 1fr; grid-template-columns: 0fr 100% 1fr;
grid-template-rows: auto 1fr; grid-template-rows: auto 1fr;
@ -33,7 +33,7 @@
grid-area: searchcontrol; grid-area: searchcontrol;
border-radius: 0 0 var(--borderRadius, 3px) var(--borderRadius, 3px); border-radius: 0 0 var(--borderRadius, 3px) var(--borderRadius, 3px);
padding: 20px 20px 6px 20px !important; padding: 20px 20px 6px 20px !important;
margin: 5px; margin: 5px 0px;
.search-control-item { .search-control-item {
margin-bottom: 20px !important; margin-bottom: 20px !important;
@ -66,6 +66,7 @@
@media screen and (max-width: 768px){ @media screen and (max-width: 768px){
padding: 16px 10px 16px 12vw; padding: 16px 10px 16px 12vw;
background-color: var(--tainacan-item-background-color,#fff);
} }
#filters-items-list { #filters-items-list {
@ -328,6 +329,9 @@ body:not(.tainacan-admin-page) {
} }
.page.has-page-header-style-boxed { .page.has-page-header-style-boxed {
.hero-section {
margin-bottom: 0.125rem;
}
.theme-items-list:not(.is-fullscreen) { .theme-items-list:not(.is-fullscreen) {
grid-template-columns: 1fr minmax(auto, var(--maxSiteWidth,1300px)) 1fr; grid-template-columns: 1fr minmax(auto, var(--maxSiteWidth,1300px)) 1fr;
} }

View File

@ -37,7 +37,7 @@
.theme-items-list:not(.is-fullscreen) { .theme-items-list:not(.is-fullscreen) {
justify-content: center; justify-content: center;
background: transparent !important; background: transparent !important;
padding: 6px 13px; padding: 6px 18px;
flex-wrap: wrap; flex-wrap: wrap;
display: flex; display: flex;
display: -ms-grid; display: -ms-grid;
@ -51,7 +51,7 @@
grid-area: searchcontrol; grid-area: searchcontrol;
border-radius: 0 0 var(--borderRadius, 3px) var(--borderRadius, 3px); border-radius: 0 0 var(--borderRadius, 3px) var(--borderRadius, 3px);
padding: 20px 20px 6px 20px !important; padding: 20px 20px 6px 20px !important;
margin: 5px; margin: 5px 0px;
} }
.theme-items-list .search-control .search-control-item { .theme-items-list .search-control .search-control-item {
@ -85,6 +85,7 @@
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.theme-items-list #filters-modal .modal-content { .theme-items-list #filters-modal .modal-content {
padding: 16px 10px 16px 12vw; padding: 16px 10px 16px 12vw;
background-color: var(--tainacan-item-background-color, #fff);
} }
} }
@ -355,6 +356,10 @@ body:not(.tainacan-admin-page) .tainacan-modal-content .modal-card-body {
clear: none; clear: none;
} }
.page.has-page-header-style-boxed .hero-section {
margin-bottom: 0.125rem;
}
.page.has-page-header-style-boxed .theme-items-list:not(.is-fullscreen) { .page.has-page-header-style-boxed .theme-items-list:not(.is-fullscreen) {
grid-template-columns: 1fr minmax(auto, var(--maxSiteWidth, 1300px)) 1fr; grid-template-columns: 1fr minmax(auto, var(--maxSiteWidth, 1300px)) 1fr;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,7 @@
'items_list_layout' => $items_related_to_this_layout, 'items_list_layout' => $items_related_to_this_layout,
'collection_heading_tag' => 'h3', 'collection_heading_tag' => 'h3',
'order' => 'asc', 'order' => 'asc',
'orderby' => 'title',
'dynamic_items_args' => [ 'dynamic_items_args' => [
'max_columns_count' => $max_columns_count 'max_columns_count' => $max_columns_count
], ],