Changelog

ska-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 `selected` variant which should be used in combination with `editor` variant, e.g. `hidden 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.

1.1.0

  • Public release.

ska-theme

1.1.3

  • Updated Accordion module to be smooth. Breaking change: accordion content element (`[x-bind=”content”]`) can no longer have padding, wrap the contents in an element that has padding instead.
  • Added Toasts.
  • Updated Consent dialog to use Accept/Reject buttons by default with WP Consent API and Google Site Kit integration.
  • Added “Products per page” select for WooCommerce archives.
  • Use Loading preset with jQuery block UI.
  • Use correct font in TinyMCE, load `theme.json` styles.
  • Added options to modify Up-sells, Related products and Cross-sells amount.
  • Variation swatches now render placeholders.

1.1.2

  • Added option to always include “Shop” page in WooCommerce breadcrumbs.
  • Added option to disable comments.
  • Improve core/gallery styles.
  • Update mobile menu and search overlay accessibility.
  • Fix bug where WC “Order received” page hijacks menu item title value.
  • Prose headings now use Heading text color from Tailwind configuration Site palette by default.
  • Added preset for password form on password protected pages.
  • Automatically load child theme `style.css` from parent.
  • Fix Slider block `.use-default-nav` class not working when using “Controls outside” option.
  • Lower fetch priority of WC product hover images.
  • Fixed opening hover dropdown on mobile requiring 2 touches.
  • Added “Dialog” preset.
  • Added `ska/language-switcher` and `ska/cart` blocks.
  • Deprecated `ska-langs` shortcode in favor of `ska/language-switcher` block, removed “Language switcher” template part.
  • Removed “Primary button” variation, “Button” variation now has “Button”, “Primary button” and “Outline button” presets applied by default.
  • Added “Icon button” variation.
  • “Button” preset now has “not-prose” class applied by default to render correctly in prose.
  • Added “Search” module, updated “Search dialog” template to include autocomplete.

1.1.1

  • Update templates, template parts and presets.
  • Apply `do_blocks` and `do_shortcode` to WC additional product tabs content via `ska_theme_wc_tab_content` filter.
  • Fix potential PHP warning when applying dropdown preset to menu.
  • Removed scroll position tracking by default and added theme option “Track scroll position” to enable it.
  • Added “Body” preset to provide a permanent vertical scrollbar for the body element to prevent layout shift when moving between pages with various amounts of content.
  • Moved `motion-safe:[html:has(&)]:scroll-smooth` class from “Layout” to “Body” preset as it makes more sense there.
  • Apply “Loop product” preset to product categories as well.
  • Remove “Blank” template as it’s very simple to just create from scratch when actually needed.

1.1.0

  • Public release.