Release notes
v1.4.1
Refine Call To Action implementation
v1.4.0
Rework Call To Action implementation
v1.3.1
Improve name/value pairs design
Patterns affected:
-
list/list_name_value_pairs
Improve design of name/value pairs by adding white space.
v1.3.0
Breaking change
Decouple blog post list and masthead strap from HTML structure, use classes instead.
Patterns affected:
-
strap/strap_masthead
Reduce coupling between HTML & CSS for styling. The HTML was needlessly nested and limited to <main> which prohibits use inside <article|section> for instance.
-
list/list_blog_posts
Reduce coupling between HTML & CSS for styling. The HTML was needlessly nested and limited to <ol|ul> + <li> elements. However, the card UI pattern is often better codified using <article> nested in an element appropriate for the context, e.g. <nav> if the main intention of the page is navigation or <article/section> when it’s the last section of a blog post linking to other posts.
v1.2.8
Upgrade @hotwired/stimulus to v3.1 and Ruby dependencies to latest
v1.2.7
Upgrade to @hotwired/stimulus namespace and remove Turbo dependency
v1.2.6
Opt out from Turbo using go back to workshop link for consistency
v1.2.5
Changes, improvements and bugfixes, from design feedback with Tim
Patterns affected:
-
strap/strap_site_header
Removed some extra right padding from the nav in the site header on desktop-sized screens
-
block/block_figure
Added a wrapping div to the text contents of the figure block, when in
left
andright
alignment.Also reduced the size of images in mobile-like layouts
-
list/list_image_tiles
Keeping each image tile more ‘square’, and using two columns by default.
v1.2.4
Add intrinsic image size attributes. Please add width
and height
attributes to all images so we don’t cause excessive layout shifts as the page loads.
Also fixed a bug with rendering some examples, the drop shadow for the sticky header was visible.
v1.2.3
Add a drop-shadow to the sticky header on large devices
Patterns affected:
-
strap/strap_site_header
Please add an
<hr>
directly after the sticky header, if you want the header shadow to be invisible before scrolling.
v1.2.2
Improved the options and layout of the mascot in straps
Patterns affected:
-
strap/strap_default
Now uses two distinct data attributes to control the type and position of the mascot.
The
left
position flips the mascot horizontally.Add
straps/_strap_mascot_modifier.scss
to your manifest to unlock the mascot styles
v1.2.1
Fix an issue with top margins of headings inside Blocks
Patterns affected:
-
block/block_figure
Remove the heading’s top margin if the image is in the
after
position. -
block/block_list
Remove the heading’s top margin if the heading is the first child of the Block
v1.2.0
Breaking change
The source order has changed in Figure Blocks. See the affected patterns below.
Patterns affected:
-
block/block_figure
<picture>
or<figure>
elements now have to be the first element in a Figure Block.Also added
loading="lazy"
for any Block images not included in the Masthead. -
list/list_blog_posts
Images in a List of blog posts now cover the available space.
v1.1.1
Added @hotwired/turbo
to the Static Pages
v1.1.0
Breaking change
Convert JS-enhanced patterns to StimulusJS-driven components. Please see affected patterns below.
Patterns affected:
-
custom/custom_dropdown
Converted to a Stimulus JS controller. Markup has changed.
Modality improvements too. Try the modality testpage
-
custom/custom_tabs
Converted to a Stimulus JS controller. Markup has changed.
Can now be initialised with a desired tab index.
-
custom/custom_backdrop
Converted to a Stimulus JS controller as part of ToggleMenuController.
Markup has changed.
-
button/button_menu
Converted to a Stimulus JS controller as part of ToggleMenuController.
Markup has changed.
-
link/link_close
Converted to a Stimulus JS controller as part of ToggleMenuController.
Markup has changed.
-
strap/strap_site_header
Converted to a Stimulus JS controller as part of ToggleMenuController.
Markup has changed.
v1.0.2
Operability improvements on Dropdowns. JS clean-ups.
Patterns affected:
-
custom/custom_dropdown
Escape keyhandlers added. Only one dropdown can be opened at once.
v1.0.1
Font anti-aliasing fixes, and better mobile support for the Tabs pattern.
Patterns affected:
-
custom/custom_tabs
If the user is on a small-screen device and the tab items are positioned above their contents, then the click handler now scrolls down to the content.
-
heading
All headings now use
-*-font-smoothing: antialiased;
to improve their legibility on low resolution devices.
v1.0.0
The first release of the Lil Regie Front-end Assets