Skip to content

Releases: infinum/eightshift-frontend-libs-tailwind

1.4.7

18 Dec 11:02
aea9580
Compare
Choose a tag to compare

Changes:

  • Fixed Image component "image" part tailwind class output if not set.
  • Fix Image component responsive output Co-authored-by: [email protected]
  • Add "Auto" width to wrapperContent and set is as defaults
  • Add a buttonType attribute to Button component
  • Implement a11y for Icon component either by setting aria-hidden to true (default) or using the existing iconName label from manifest options key
  • Updated dependencies.

1.4.6

29 Nov 08:22
3a516d0
Compare
Choose a tag to compare

Changes:

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.

1.4.5

11 Nov 07:20
1cc70d9
Compare
Choose a tag to compare

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.

1.4.4

06 Nov 08:59
f5487f2
Compare
Choose a tag to compare

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

1.4.3

24 Oct 07:00
Compare
Choose a tag to compare

Fixed

  • Fixing Yoast SEO plugin helpers.

1.4.2

03 Oct 07:56
0329103
Compare
Choose a tag to compare

Fixed

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

1.4.1

01 Oct 11:08
8bec0ff
Compare
Choose a tag to compare

Changed

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

1.4.0

01 Oct 07:31
cbeb7e6
Compare
Choose a tag to compare

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.

1.3.3

24 Sep 12:18
Compare
Choose a tag to compare

Changed

  • Updating schema.

1.3.2

19 Sep 09:33
cd49d04
Compare
Choose a tag to compare

Fixed

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