Changelog

1.2.6

  • Use HEX colors by default for better browser support.

1.2.5

  • Added error messages when LightningCSS fails to initialize.
  • Enqueue inline styles using wp_enqueue_style and wp_add_inline_style.
  • Added info about External services to readme.

1.2.4

  • Changes to build system.

1.2.3

  • Update to Tailwind 4.0.9.

1.2.2

  • Remove legacy migrations, Tailwind 3.

1.2.1

  • Dynamic link values, such as #ska-link--front-page can now be used as blocks’ custom attribute values.
  • Try: experimental variant modifiers (> and ^) that can be used within selectors. In a selector [&>.a]:[&>.b] adding a class hover:text-red would produce [&>.a]:[&>.b]:hover:text-red meaning that red text would be applied when hovering .b, but prepending the variant with < ([&>.a]:hover:[&>.b]:text-red. Prepending ^ moves the variant to the top.
  • Added ska_blocks_user_dynamic_link filter for modifying dynamic link output server-side.
  • Added AI support to Tailwind block via OpenRouter.

1.2

  • Use Tailwind 4.
  • Use LightningCSS instead of PostCSS.
  • Presets and variations now use plugin options rather than custom post types.
  • Added support for inset-ring, inset-shadow, font-stretch.
  • Added support for rotate/scale/translate in 3D space.
  • Added support for perspective, perspective origin, backface visibility, transition behavior.
  • Added support for transition behavior.
  • Added support for container queries.
  • Added missing support for margin/padding/inset/etc inline-start/end.
  • Added experimental support for linear/conic/radial gradients.
  • Functionality moved to theme: formats, template select, toolbar, device preview, grouping with element block.
  • Move important modifier ! to the end, not the beginning.
  • Gallery block images now have a simpler image class alongside the wp-block-ska-gallery__image class.
  • Experimental: use native CSS nesting for sandboxing blocks’ CSS, with a toggle in Advanced Inspector Controls.
  • Primary/secondary/plain colors light and dark variants now use values derived with color-mix by default.
  • Menu block now supports anchor, custom class name and attributes.
  • Menu block can now render WC Layered Nav widget and active filters.
  • Classes can be now moved to the parent block directly, without specifying a selector.
  • Image block now has role options.
  • Added Query filters for WC product categories, Sample blog posts and Sample testimonials.
  • Slider block with “Controls outside” option now renders wrapper in the block editor not just front end.
  • Added utility function ska_blocks_preset($slug) which loads preset’s CSS and returns its’ class name.

1.1.4

  • Permissions and capabilities management.
  • Condition block now uses a whitelist for callable PHP functions.
  • Fix variations not persisting for server-side registered blocks.

1.1.3

  • Increase editor: variant specificity.
  • Added “Cover” option for Image block which effectively applies w-full h-full object-cover rounded-[inherit] aspect-[inherit] to a wrapped image.
  • Menu block can now render Taxonomies.
  • Menu block can now render as an Accordion.
  • Gallery block with lazyloading enabled can specify how many images from the start to load eagerly.
  • Language switcher block uses available languages in the editor.
  • Transforming Post title block to Post data block now retains the HTML heading tag.
  • Updated device preview button styles to be more subtle and have a larger hitbox.
  • Added “Cut selector” menu item for selectors.
  • Added editor-selected variant which should be used in combination with editor variant, e.g. hidden editor:editor-selected:block.
  • Try default grid place-items-center size-6 for Icon block instead of w-6 h-auto.
  • Fix updating Font size arbitrary value when no line height is selected.
  • Added a select for selecting a page template quickly.
  • Automatically order screen variants from smallest to largest when adding them.

1.1.2

  • Lightbox block now works with core Gallery and Image blocks.
  • Added option to lazyload images in Gallery block.
  • Updated available Google fonts.
  • Fixed bug with wrong class names generated for variables in nested selectors.
  • Code block now supports displaying a header, language label and copy button.
  • Compatible core blocks now retain Tailwind attributes when transforming from one block to another.
  • Added ability to wrap blocks in a Lightbox block by using a transform.
  • Adding a selector now navigates to it automatically.
  • Render custom class names in block label for Element and Text blocks.
  • Transforming Heading block to Text block now retains the tag name.
  • Added option to disable block appender for Element, Conditions, Condition, Slider, Slide and Lightbox blocks.
  • Fix Post data block not rendering in template editor.
  • Make front page active in the menu block in the editor.
  • Featured image block can now optionally override image ID from post meta.
  • Deprecated QueryOverrides in favor of QueryFilters.
  • Added style caching.
  • Remove ska-blocks related attributes from WC blocks HTML markup.
  • Added “Placeholder” setting to “ska/text” block.
  • Added generic block setting to not render the block on the front end.
  • Added generic block setting to hide the block in the editor when it’s not selected.

1.1.1

  • Defer Google fonts by default with an option to not defer.
  • Added option to swap Google Fonts URLs with Bunny Fonts.
  • Fix warning when displaying an image with a lightbox when the media file has been deleted.