All notable changes to this project will be documented in this file.
This projects adheres to Semantic Versioning and Keep a CHANGELOG.
- Tweaked webpack config to properly include font files from
@eightshfit
packages fromnode_modules
. - Added a new
buildWpRestUrl
helper for easily fetching WP REST URLs. (Similar tofetchFromWpRest
, but allows you control over how you fetch). - Updated dependencies.
BlockInserter
is now only visible when the block it's assigned to is selected. This behavior can be changed by settingalwaysVisible
.
- Image responsive breakpoints render order in the frontend.
- Support for
supports
key in block manifests during block registration.
- Built-in Paragraph block now uses the new block splitting logic from WP 6.6
- Updated dependencies
- Fixing Yoast SEO plugin helpers.
- Manifests in some default blocks not using
base
as apart
. - Image sizing in the default Image block when set to stretch.
- Class for gradient top direction in wrapper.
- Fixed bug with
combinations
output intailwindClasses
helper. - Fixed CSS
url()
imports for images not working due to Webpack config.
tailwindClasses
check will now work even if noparts
are defined.
- Introduced new, more flexible
tailwindClasses
function. - Added basic warnings for misconfigurations of parts and options.
- Updated block and component schemas with new Tailwind functionalities.
- Updated default blocks with new Tailwind functions.
- Potentially breaking:
twClassesEditor
is now appended totwClasses
. UsetwClassesEditorOnly
for editor-only classes. - Potentially breaking: The
parts
key in manifest now supports specifying multiple parts using a comma-separated string. - Classes can now be applied to multiple parts in one option or combination, including responsive options.
- Default Stylelint config will no longer report
@tailwind
rules. - Updated dependencies.
- Updating schema.
- Fixing theme options to use stringified JSON instead of an object.
- Helper
getFilteredAttributes
for SSR components to filter unwanted attributes and optimize output.
twClasses
andtwClassesEditor
can now be passed as arrays.
- Updated schemas to support the changes in
twClasses
/twClassesEditor
. - Tailwind output functions now output custom classes if no Tailwind classes are detected.
- Tweaked Prettier config.
- Updated dependencies.
- Fixed default
perPage
param inwpSearchRoute
. - Fixed bugs in built-in blocks.
- Added support for
hidden
prop and accepted types passthrough for image and file pickers.
- Updated dependencies.
- Fixed default global manifest.
- Removed erroneous styles.
- Added new options to the fetch script:
truncateTitle
andlabelProp
. - Added
hidden
prop toBlockInserter
. - Added
PickerPlaceholder
component. - Added dynamic parts option and
getTwDynamicPart
helper.
- Updated dependencies.
- Tweaked fetch script to use WP
apiFetch
. - Updated some built-in blocks.
- Tweaked ESLint config.
- Updated base blocks.
- Removed
urlBase
option from fetch script. - Moved fonts from Google Fonts to built-in.
- Removed
.gitignore
ESLint ignore.
- Initial release.