Skip to content

v5.1.0

Latest

Choose a tag to compare

@mkocansey mkocansey released this 13 Sep 07:36

This release adds 17 new components and fixes a long list of styling and behaviour issues found across the Calendar, Scheduler, Code Block, Credit Card, and Data Grid components.

New components

  • Carousel
  • Chat
  • Code Block, a syntax highlighted code display with line highlighting, a copy button, and an optional separator
  • Context Menu, a right click menu that can also be triggered by a named target element
  • Copy to Clipboard Button
  • Credit Card, for displaying and entering card details, including dynamic gradient styling
  • Currency / Money Input
  • Description List
  • Divider / Separator
  • Document / File Preview
  • Inline Edit, for turning a block of text into an editable field in place
  • Kanban
  • Keyboard Key, for showing a styled key or shortcut, such as Ctrl or Esc
  • Meter / Gauge
  • Password Strength Meter
  • Scheduler, an appointment view that shares its visual style with Calendar
  • Transfer List

Improvements and fixes

Calendar

  • The "+N more" indicator no longer needs a scroll to see in its collapsed state, and no longer hides every event when the day is collapsed.
  • Expanded day rows are no longer squashed.
  • Added a highlight-today attribute, defaulting to false.
  • The event details drawer now shows title, then date, then time, and its layout was cleaned up.

Scheduler

  • Short appointments no longer get stretched past their real duration.
  • The top and bottom edge gaps around the schedule are now consistent.
  • Fixed the top hour label overlapping the grid, and text clipping in short appointments.
  • Appointment styling now matches Calendar's timed events.
  • slot_minutes now defaults to 30.

Code Block

  • Fixed the line highlight's position and visibility.
  • Reduced the vertical padding, in two passes, so the block sits tighter around the code.
  • Added has-separator and hide-input attributes.

Credit Card

  • Fixed the input controls and made sure the dynamic gradient background is preserved.

Context Menu / Dropmenu

  • Both no longer render behind content that appears later on the page.
  • Context Menu gained a target attribute, and its focus and danger tone styling was fixed.

Select

  • Fixed the dropdown's positioning, the trigger's background, and label centering.

Command Palette

  • Removed a stray focus ring on the search input.
  • Restyled to match the docs site's own search design.

Data Grid

  • Fixed the checkbox, search field, and several layout inconsistencies.

Copy Button

  • Fixed the success icon showing at the same time as the default icon, instead of replacing it.

Modal

  • Restored the default Cancel and close button on every modal.

Drawer

  • Fixed auto focus racing with the drawer's own opening animation.

Listview

  • Items now forward any extra attributes passed to them.

Buttons

  • Fixed the secondary button style.

Livewire

  • Fixed a re-render duplication bug and improved wire:model compatibility across components.

General

  • Ran a full component audit and fixed the accessibility, wire:model, styling, and test issues it turned up.
  • Documented Calendar, Data Grid, and Command Palette in the README. These three components already existed before this release; they simply had not been written up yet.

Notes

Two components, Confirm Dialog and Banner, were added and then removed again during this development cycle before ever shipping. If you were tracking development branch commits directly, you will not see them in 5.1.0; Banner's functionality is covered by the existing Alert component.