Skip to content

Releases: portavice/bladestrap

Version 1.3.0

10 May 07:54
9b450ff
Compare
Choose a tag to compare

Added

  • Support custom casts for form field values via Closure (#18)
  • Prepend/append multiple options at once (#19)
  • Sort options alphabetically or by user defined function (#19)
  • Support Laravel 11 (#20)

Changed

  • Migrate PHPUnit tests to use PHP attributes instead of comments, support PHPUnit 11 (#21)

Version 1.2.0

21 Mar 20:02
Compare
Choose a tag to compare

Added

  • Components for modals and buttons opening a modal (#17)

Fixed

  • Move PHPDoc comments outside of @props block (#15)
  • Display of disabled navigation items (<x-bs::nav.item :disabled="true">) (#16)
  • Set the value of disabled form fields even if the value is not contained in the old values (#16)

Version 1.1.1

05 Jan 10:39
8478a4e
Compare
Choose a tag to compare

Fixed

  • Display of error messages for checkboxes and radios whose name is not an array (#11)
  • Make Portavice\Bladestrap\Support\Options countable to correct $loop->last in Blade and display of error messages for checkboxes and radios (#11)
  • Set the correct value of form fields if the value was emptied or unchecked before submission with validation errors (don't prefill with the previous value currently in the database, but with the empty one submitted) (#11)

Version 1.1.0

30 Dec 21:27
44f21d3
Compare
Choose a tag to compare

Added

  • Support input groups with without automatic wrapping into a <label> container (#12)

Fixed

  • Layout of input groups with validation errors (#10)
  • Avoid any visible output for form fields of type="hidden" (#11)

Version 1.0.0

22 Nov 11:05
9d7e4c6
Compare
Choose a tag to compare
  • Components for alerts with support for variants and dismissible
  • Components for badges with background variants from Bootstrap 5.3
  • Components for breadcrumb containers and items
  • Components for buttons and button-like links with support for variants and active/disabled styling,
    button groups and toolbars
  • Components for dropdown buttons (with different directions), headers, and items
  • Components for forms and their fields
    • Support all types of <input>s, <textarea>, and <select>
    • Set HTML attributes (e.g. classes or data attributes) for options of <input type="checkbox">, <input type="radio">, and <select>:
    • Allow HTML for labels of <input type="checkbox"> and <input type="radio">
    • Prefill values with old values or from query parameters
    • Show feedback in case of errors
  • Components for colored links with support for opacity
  • Components for list groups with support for flush style
    and list items with support for variants and active/disabled styling
  • Auto-registration within Laravel applications
  • Guide how to use Bladestrap in an application with Blade views, but without Laravel