Skip to content

Commit

Permalink
release(minor): version 1.1.0
Browse files Browse the repository at this point in the history
### New Features
- **New Onboarding for Raft Theme**: Experience a new Onboarding process for the Raft theme, integrating the use of Otter Blocks plugin.
- **New Block Patterns**: Added new block patterns to enrich the customization options.
- **New Theme Style Presets**: Added 4 new theme style presets
- **New Font Families Added**: Expanded the typography options with the addition of new font families.
- **Secondary Accent Color**: Added a new secondary accent color in the theme's color palette.
- **Dark background color**: Added a secondary background color in the theme's color palette.
- **Fullwidth Template with Header and Footer**: Introduced a new fullwidth template that includes both Header and Footer.

### Improvements
- **New Spacing Variables**: Introduced new spacing variables for enhanced and responsive layout control.
- **Reorganization of Pattern Library**: Removed core patterns and re-organized the pattern library for better clarity and theme-consistent experience.

### Bug Fixes
- **Footer Credits Display on Mobile**: Fixed the issue where footer credits appeared weird on mobile devices.
- **Blog/Index Template Item Count**: Resolved the problem where the blog and index templates were not respecting the number of items defined in the Settings.
  • Loading branch information
HardeepAsrani authored Dec 18, 2023
2 parents 90b7a37 + bcd196e commit f90a5de
Show file tree
Hide file tree
Showing 110 changed files with 6,105 additions and 1,877 deletions.
74 changes: 74 additions & 0 deletions .github/workflows/diff-translations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Translations Diff

on:
pull_request_review:
pull_request:
types: [opened, edited, synchronize, ready_for_review]
branches:
- 'development'

jobs:
translation:
runs-on: ubuntu-latest
steps:
- name: Checkout Ref Base
uses: actions/checkout@v2
with:
path: raft-head
- name: Setup node 14
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: FRESH Makepot BASE
run: |
cd raft-head
ls languages/
composer install --no-dev --prefer-dist --no-progress --no-suggest
yarn install --frozen-lockfile
yarn run build
ls languages/
- name: Checkout Ref Head
uses: actions/checkout@v2
with:
ref: development
path: raft-base
- name: FRESH Makepot HEAD
run: |
cd raft-base
ls languages/
composer install --no-dev --prefer-dist --no-progress --no-suggest
yarn install --frozen-lockfile
yarn run build
ls languages/
- name: Find Comment
uses: peter-evans/find-comment@v2
id: find_coomment
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'pirate-bot'
body-includes: PR has POT difference
- name: Install PODiff
run: |
curl -o podiff.gz ftp://download.gnu.org.ua/pub/releases/podiff/podiff-1.3.tar.gz
tar -xf podiff.gz
cd podiff-1.3
make
mkdir -p $GITHUB_WORKSPACE/bin
mv ./podiff $GITHUB_WORKSPACE/bin
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
cd ..
- name: Run Podiff
id: translation_status
run: |
${GITHUB_WORKSPACE}/raft-head/bin/pot-diff.sh ./raft-base/languages/raft.pot ./raft-head/languages/raft.pot $PERCENT_TRESHOLD
- name: Step require review
if: steps.translation_status.outputs.has_pot_diff != 'success'
uses: Automattic/action-required-review@v3
with:
requirements: |
- name: Everything else
paths: unmatched
teams:
- "sbs"
status: Has translation changes, a review from SBS team is required
token: ${{ secrets.BOT_TOKEN }}
12 changes: 2 additions & 10 deletions assets/css/src/blocks/_image.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
%figcaption {
text-align: left;
font-size: var(--wp--preset--font-size--small);
}

.wp-block-image {

&.aligncenter {
Expand All @@ -26,9 +21,7 @@
figure.wp-block-image {

figcaption {

@extend %figcaption;
color: var(--wp--preset--color--raft-fg);
text-align: left;
opacity: 0.6;
}
}
Expand All @@ -39,8 +32,7 @@ figure.wp-block-image {
figure.wp-block-image {

figcaption {

@extend %figcaption;
text-align: left;
background: rgba(0, 0, 0, 0.3);
margin: 0;
padding: 8px;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/src/blocks/_post-terms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
&.taxonomy-category {

a {
padding: 8px 24px;
padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
margin: 5px;
background-color: var(--wp--preset--color--raft-bg-alt);
border-radius: 25px;
Expand Down
2 changes: 0 additions & 2 deletions assets/css/src/blocks/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
}

figcaption {
font-size: var(--wp--preset--font-size--small);
color: var(--wp--preset--color--raft-fg);
opacity: 0.6;
}
}
4 changes: 2 additions & 2 deletions assets/css/src/elements/_extends.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
border: 0;
box-shadow: none;
font-weight: 600;
padding: 16px 32px;
border-radius: 3px;
padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
border-radius: 5px;
font-size: var(--wp--preset--font-size--normal);
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/src/elements/_inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ input:read-write:not([type="search"]),
textarea,
select {
width: 100%;
padding: 11px;
padding: 12px;
font-size: var(--wp--preset--font-size--normal);
}

Expand Down
5 changes: 4 additions & 1 deletion assets/css/src/welcome-notice.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
.raft-welcome-notice {
position: relative;
padding-bottom: 0;
border-left: 1px solid #c3c4c7;

.notice-content {
display: flex;
width: 100%;
gap: 20px;
gap: 48px;

@media (--desktop) {
flex-direction: column-reverse;
Expand All @@ -31,6 +32,7 @@

.notice-title {
line-height: 1.5;
max-width: 700px;

span {
font-weight: 600;
Expand Down Expand Up @@ -83,6 +85,7 @@
display: block;
max-height: 300px;
max-width: 60%;
padding: 30px 0;

@media (--desktop) {
max-width: 80%;
Expand Down
Binary file not shown.
93 changes: 93 additions & 0 deletions assets/fonts/geologica/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2020 The Geologisk Project Authors (https://github.com/monokromskriftforlag/geologisk)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file added assets/fonts/gloock/Gloock-Regular.ttf
Binary file not shown.
93 changes: 93 additions & 0 deletions assets/fonts/gloock/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2022 The Gloock Project Authors (https://github.com/duartp/gloock)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Loading

0 comments on commit f90a5de

Please sign in to comment.