Skip to content

Releases: rawilk/laravel-form-components

v7.0.4

09 Feb 20:20
9ec98dc
Compare
Choose a tag to compare

Changed

  • Wrap each css file in a @layer components
  • Update required tailwind colors

Fixed

  • Force custom/tree select null values to get updated when using wire:model.defer

v7.0.3

08 Feb 21:27
7a6b4b4
Compare
Choose a tag to compare

Fixed

  • Use correct label on multi custom selects for selected option

v7.0.2

08 Feb 20:57
2985e5e
Compare
Choose a tag to compare

Fixed

  • Fix typo in custom select x-data declaration
  • Use langPath() helper to publish lang files to correct directory

v7.0.1

08 Feb 15:41
d961593
Compare
Choose a tag to compare

Fixed

  • Fix keyboard nav on custom select JS errors when no name is provided
  • Make timezone select compatible with new version of custom select

v7.0.0

07 Feb 16:34
2e20dbc
Compare
Choose a tag to compare

Added

  • Add new <x-tree-select> custom select component
  • Add new <x-tree-select-option> component
  • Add new <x-custom-select-option> component
  • Add livewire version of custom select component
  • Add livewire version of tree select component
  • Add various helper components for custom/tree select components

Changed

  • Breaking Change: Bump minimum Laravel version to 8.70
  • Breaking Change: Move styles into resources/css directory, which will require a different directory and file to import into stylesheets
  • Breaking Change: Change textField prop on customSelect to labelField
  • Breaking Change: Change defaults of valueField and labelField on custom select component to id and name, respectively
  • Breaking Change: Rename min and max props on custom select to minSelected and maxSelected, respectively
  • Breaking Change: Require a flat array of options on custom select, even if they contain "opt groups"
  • Breaking Change: Remove wire-listeners from custom select
  • Add various new props to custom select component
  • Change default styling of custom select component
  • Add Laravel 9.* compatibility
  • Add PHP 8.1 compatibility
  • Update Alpine JS CDN version in config

Fixed

  • Various bug fixes in custom select and other components

v7.0.0-alpha.2

10 Jan 15:35
f37ce10
Compare
Choose a tag to compare
v7.0.0-alpha.2 Pre-release
Pre-release

Not a stable release! Functionality and api subject to change. Use at your own risk.

Changed

  • Add required flag to tree-select component
  • Move enter key listener to tree-select search input field

v7.0.0-alpha.1

10 Jan 14:21
defa940
Compare
Choose a tag to compare
v7.0.0-alpha.1 Pre-release
Pre-release

Not a stable release! Functionality and api subject to change. Use at your own risk.

Added

  • Add Livewire tree-select component

Changed

  • Move all styles into a css directory (breaking)
  • Make labels for custom select inputs focus their corresponding custom select element when clicked on (wip)

v6.0.2

10 Jan 14:06
2b9e8fd
Compare
Choose a tag to compare

Fixed

  • Support for get the old value of a switch toggle without livewire (#41)

New Contributors

Full Changelog: v6.0.1...v6.0.2

v6.0.1

11 Nov 21:17
957cae9
Compare
Choose a tag to compare

Updated

  • Add support for x-model on inputs
  • Add onOpen slot to date picker component

v6.0.0

20 Sep 12:52
425dbe6
Compare
Choose a tag to compare

Added

  • Register all components under a the form-components:: namespace

Fixed

  • Fix button display issues when passing values manually to custom-select (#34)

Updated

  • Update asset versions in the config
  • Reference all form-components components using <x-form-components::> instead of <x-dynamic-component>
  • Add better support for multi custom-select in non-livewire forms (#34)

Changed

  • Switch from rollup to laravel-mix for compiling package JavaScript

Breaking changes

  • Increase minimum Laravel version to 8.56
  • Remove ability to override component views in the config (in favor of just publishing the package's views)