Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSX Design 1.4.0 #151

Merged
merged 22 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7537aec
Updating the blog style fixes bh-52
krugazul Jul 12, 2024
d2fd543
Updating the Version Number and Stable tag
krugazul Jul 17, 2024
67f9790
Updating the theme json to version 3, and removing the duplicate nodes.
krugazul Jul 17, 2024
dfbe73a
updating the changelog.
krugazul Jul 17, 2024
80ac14f
Merge pull request #140 from lightspeedwp/1.4-themjson-v3
krugazul Jul 17, 2024
b1e8820
Pagination block style
Justinabes007 Jul 24, 2024
6bf9477
Allowing the buttons to inherit their text transforms from the parent…
krugazul Jul 24, 2024
0956c51
Updating the changelog.
krugazul Jul 24, 2024
c6ae23d
Merge branch '141-button-case-select-not-working' into update-1.4
krugazul Jul 24, 2024
561e8b7
Search results template update
Justinabes007 Jul 25, 2024
00e4b88
Group Block style - Display in Site Editor
Justinabes007 Jul 25, 2024
f671aba
Merge pull request #138 from lightspeedwp/131/bh-52
krugazul Jul 25, 2024
8ad91dc
Updating the WC button hovers
krugazul Jul 25, 2024
ae6de8f
Removing uneccesary code.
krugazul Jul 25, 2024
abb01bd
Updating the button underlines fixes bh-174
krugazul Jul 25, 2024
6b4e1ce
Merge pull request #148 from lightspeedwp/117-buttons-to-have-underline
krugazul Jul 25, 2024
cd28b8d
Updating the missing changelogs.
krugazul Jul 26, 2024
b786f64
Merge branch 'update-1.4' of https://github.com/lightspeedwp/lsx-desi…
krugazul Jul 26, 2024
eb17db0
Grid Compatibility
Justinabes007 Jul 26, 2024
83bd7cb
Merge pull request #149 from lightspeedwp/grid-compatibility
krugazul Jul 29, 2024
715af8f
Changelog update for Version 1.4 release
Justinabes007 Jul 31, 2024
0ea0220
Updating the changelog and the version numbers
krugazul Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ templates/.DS_Store
assets/.DS_Store
.DS_Store
.DS_Store
.DS_Store
assets/css/.DS_Store
Binary file modified assets/css/.DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions assets/css/blocks/button.css

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

2 changes: 1 addition & 1 deletion assets/css/blocks/button.css.map

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

6 changes: 6 additions & 0 deletions assets/css/blocks/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ $octonary: #BD5B00;
$novenary: #C5389D;
$denary: #FFB2B2;

/* === Fixes for WP Core Updates === */
:root :where(.wp-block-button .wp-block-button__link) {
text-transform: inherit !important;
}

/* === General Styles === */

.wp-block-buttons {
&.has-x-small-font-size .wp-element-button {
Expand Down
13 changes: 13 additions & 0 deletions assets/css/blocks/group.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.wp-block-group.is-style-col-seperator{border-right:1px solid #000;}
.wp-block-group.is-style-col-seperator:last-child{border-right:0px solid #000;}

.wp-block-group.is-style-shadow-xsm{box-shadow: var(--wp--preset--shadow--xsmall);}
.wp-block-group.is-style-shadow-sm{box-shadow: var(--wp--preset--shadow--small);}
.wp-block-group.is-style-shadow-m{box-shadow: var(--wp--preset--shadow--md);}
.wp-block-group.is-style-shadow-l{box-shadow: var(--wp--preset--shadow--lg);}
.wp-block-group.is-style-shadow-xl{box-shadow: var(--wp--preset--shadow--xlg);}
.wp-block-group.is-style-shadow-h{box-shadow: var(--wp--preset--shadow--huge);}

@media screen and (max-width:990px) {
.wp-block-group.is-style-col-seperator{border-right:0px solid #000!important;}
}
4 changes: 3 additions & 1 deletion assets/css/blocks/loginout.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ form#loginform input.button-primary{
}

form#loginform input.button-primary:hover{
background-color: var(--wp--custom--colour--primary--600);}
background-color: var(--wp--custom--colour--primary--600);
text-decoration: underline;
}


.is-style-compressed form#loginform p.login-remember{display:inline-flex;width:30%;}
Expand Down
10 changes: 8 additions & 2 deletions assets/css/blocks/navigation.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* BLOCK LINKS */
.wp-block-navigation .wp-block-navigation-item:hover > a.wp-block-navigation-item__content, .wp-block-navigation .wp-block-navigation-item.current-menu-item > a.wp-block-navigation-item__content{
text-decoration: underline;
.wp-block-navigation .wp-block-navigation-item:hover > a.wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item.current-menu-item > a.wp-block-navigation-item__content {
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 4px;
}
Expand All @@ -25,4 +26,9 @@ body .wp-block-navigation a.wp-block-navigation-item__content {

body .wp-block-navigation a.wp-block-navigation-item__content:active {
text-decoration-line: underline;
}

.wp-block-navigation .wp-element-button.wp-block-button__link:hover,
.wp-block-navigation .wp-element-button.wp-block-button__link:hover {
text-decoration: underline;
}
42 changes: 42 additions & 0 deletions assets/css/blocks/pagination.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/* Separator
--------------------------------------------- */
.is-style-square.wp-block-query-pagination{
gap: 0rem!important; justify-content: center!important;
}
.wp-block-query-pagination.is-content-justification-space-between>.wp-block-query-pagination-next:last-of-type{margin-inline-start:0!important;}
.is-style-square.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers.current{border-radius: 0px!important;}

.is-style-square.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers {border-radius: 0px!important;
padding: 10px 20px!important;}

.is-style-square.wp-block-query-pagination >.wp-block-query-pagination-previous{
margin-bottom: 0;
border: 1px solid;
padding: 10px 40px!important;
border-right:0;
margin-right:0!important;
}

.is-style-square.wp-block-query-pagination >.wp-block-query-pagination-next{
margin-bottom: 0;
border: 1px solid;
border-left:0;
padding: 10px 40px!important;
}

@media (max-width:599px) {
.is-style-square.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers {
font-size:13px!important;
padding: 10px 8px!important;border-left: 0 !important;}

.is-style-square.wp-block-query-pagination .wp-block-query-pagination-previous{
padding: 10px 5px!important;font-size:13px!important;
}

.is-style-square.wp-block-query-pagination .wp-block-query-pagination-next{
padding: 10px 8px!important;font-size:13px!important;
}

header .wp-block-social-links.has-small-icon-size{gap:4px!important;}

}
3 changes: 3 additions & 0 deletions assets/css/woocommerce.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Woocommerce bug fixes ---------------------------------------------------------------------------- */
:root :where(.wp-element-button, .wp-block-button__link):hover {
text-decoration: underline;
}
.wc-block-components-product-image p{
padding:0!important;
margin:0!important;
Expand Down
26 changes: 26 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# LSX Design Changelog

## [[1.4.0]](https://github.com/lightspeedwp/lsx-design/releases/tag/1.4.0)

### LSX
#### Added
- Include WordPress 6.6 Grid Block compatibility with theme
- - Grid Block - Mobile compatibility - [#137](https://github.com/lightspeedwp/lsx-design/issues/137).
- - Grid Block - Image cover display issues & theme compatibility - [#135](https://github.com/lightspeedwp/lsx-design/issues/135)
- Added Group Block style - Shadow effect block styles for Group
- - Pagination Block style - Square Pagenation Block style added to theme

#### Updated
- theme.json schema updated to version - [#139](https://github.com/lightspeedwp/lsx-design/issues/139).
- theme.json default font and spacing sizes have been disabled.

#### Fixed
- Button Text Transforms not working - [#141](https://github.com/lightspeedwp/lsx-design/issues/141)
- Button hover has no underline - [#117](https://github.com/lightspeedwp/lsx-design/issues/117)
- Group Block - Group Block style - Not display in Site Editor - [#145](https://github.com/lightspeedwp/lsx-design/issues/145)
- Search results template update - No Results Block added back to template - [#143](https://github.com/lightspeedwp/lsx-design/issues/143)
- All buttons to have underline + Removing uneccesary code - [#148](https://github.com/lightspeedwp/lsx-design/issues/141)

#### Security
- General testing to ensure compatibility with latest WordPress version (6.6).



## [[1.3.1]](https://github.com/lightspeedwp/lsx-design/releases/tag/1.3.1)

### LSX
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
exit;
}

define( 'LSXD_VERSION', '1.3.0' );
define( 'LSXD_VERSION', '1.4.0' );

require_once get_template_directory() . '/includes/classes/class-core.php';

Expand Down
23 changes: 23 additions & 0 deletions includes/classes/class-block-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,18 @@ public function register_block_styles() {
'shadow-h' => __( 'Shadow Huge', 'lsx-design' ),

),
'core/group' => array(
'shadow-xsm' => __( 'Shadow x-S', 'lsx-design' ),
'shadow-sm' => __( 'Shadow S', 'lsx-design' ),
'shadow-m' => __( 'Shadow M', 'lsx-design' ),
'shadow-l' => __( 'Shadow L', 'lsx-design' ),
'shadow-xl' => __( 'Shadow x-L', 'lsx-design' ),
'shadow-h' => __( 'Shadow Huge', 'lsx-design' ),

),
'core/query-pagination' => array(
'square' => __( 'Square', 'lsx-design' ),
),
);

foreach ( $block_styles as $block => $styles ) {
Expand All @@ -162,6 +174,7 @@ public function register_block_styles() {
*/
public function block_editor_styles() {
wp_enqueue_style( 'editor-styles', get_template_directory_uri() . '/assets/css/editor-style.css', false, LSXD_VERSION, 'all' );
wp_enqueue_style( 'editor-styles', get_template_directory_uri() . '/assets/css/blocks/group.css', false, LSXD_VERSION, 'all' );
}

/**
Expand Down Expand Up @@ -221,6 +234,11 @@ private function get_block_assets() {
'src' => get_template_directory_uri() . '/assets/css/blocks/columns.css',
'path' => get_template_directory() . '/assets/css/blocks/columns.css',
),
'core/group' => array(
'handle' => 'lsxd-group-block-styles',
'src' => get_template_directory_uri() . '/assets/css/blocks/group.css',
'path' => get_template_directory() . '/assets/css/blocks/group.css',
),
'core/list' => array(
'handle' => 'lsxd-list-block-styles',
'src' => get_template_directory_uri() . '/assets/css/blocks/lists.css',
Expand Down Expand Up @@ -256,6 +274,11 @@ private function get_block_assets() {
'src' => get_template_directory_uri() . '/assets/css/blocks/navigation.css',
'path' => get_template_directory() . '/assets/css/blocks/navigation.css',
),
'core/query-pagination' => array(
'handle' => 'lsxd-navigation-block-styles',
'src' => get_template_directory_uri() . '/assets/css/blocks/pagination.css',
'path' => get_template_directory() . '/assets/css/blocks/pagination.css',
),
);
return $this->block_assets;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lsx-design",
"version": "1.3.1",
"version": "1.4.0",
"description": "is a light-weight, minimalistic and responsive WordPress theme that allows users to create fast, efficient and attractive websites that are feature-rich. We've built it to be fully compatible with WooCommerce, making it an ideal choice for your next eCommerce build. Its lightweight build ensures better load times, a bonus for both user experience and SEO.",
"main": "gulpfile.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: feedmymedia, lightspeedwp, eleshar, krugazul, justinabes
Donate link: https://lsx.design/
Tags: blog, e-commerce, education
Requires at least: 6.0
Tested up to: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.3.1
Stable tag: 1.4.0
License: GPLv3
Licence URI: https://www.gnu.org/licenses/gpl-3.0.en.html

Expand Down
Loading
Loading