Skip to content

Latest commit

 

History

History
176 lines (110 loc) · 5.13 KB

CHANGELOG.md

File metadata and controls

176 lines (110 loc) · 5.13 KB

Change Log for the Eightshift Frontend Libs Tailwind

All notable changes to this project will be documented in this file.

This projects adheres to Semantic Versioning and Keep a CHANGELOG.


Changed

  • Tweaked webpack config to properly include font files from @eightshfit packages from node_modules.
  • Added a new buildWpRestUrl helper for easily fetching WP REST URLs. (Similar to fetchFromWpRest, but allows you control over how you fetch).
  • Updated dependencies.

Changed

  • BlockInserter is now only visible when the block it's assigned to is selected. This behavior can be changed by setting alwaysVisible.

Fixed

  • Image responsive breakpoints render order in the frontend.

Added

  • Support for supports key in block manifests during block registration.

Changed

  • Built-in Paragraph block now uses the new block splitting logic from WP 6.6
  • Updated dependencies

Fixed

  • Fixing Yoast SEO plugin helpers.
  • Manifests in some default blocks not using base as a part.
  • Image sizing in the default Image block when set to stretch.
  • Class for gradient top direction in wrapper.

Fixed

  • Fixed bug with combinations output in tailwindClasses helper.
  • Fixed CSS url() imports for images not working due to Webpack config.

Changed

  • tailwindClasses check will now work even if no parts are defined.

Added

  • 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.

Changed

  • Potentially breaking: twClassesEditor is now appended to twClasses. Use twClassesEditorOnly 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.

Changed

  • Updating schema.

Fixed

  • Fixing theme options to use stringified JSON instead of an object.

Added

  • Helper getFilteredAttributes for SSR components to filter unwanted attributes and optimize output.

Added

  • twClasses and twClassesEditor can now be passed as arrays.

Changed

  • 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

  • Fixed default perPage param in wpSearchRoute.
  • Fixed bugs in built-in blocks.

Added

  • Added support for hidden prop and accepted types passthrough for image and file pickers.

Changed

  • Updated dependencies.

Fixed

  • Fixed default global manifest.

Removed

  • Removed erroneous styles.

Added

  • Added new options to the fetch script: truncateTitle and labelProp.
  • Added hidden prop to BlockInserter.
  • Added PickerPlaceholder component.
  • Added dynamic parts option and getTwDynamicPart helper.

Changed

  • Updated dependencies.
  • Tweaked fetch script to use WP apiFetch.
  • Updated some built-in blocks.
  • Tweaked ESLint config.
  • Updated base blocks.

Removed

  • Removed urlBase option from fetch script.
  • Moved fonts from Google Fonts to built-in.
  • Removed .gitignore ESLint ignore.

Added

  • Initial release.