All notable changes to laravel-livewire-tables
will be documented in this file
0.3.2 - 2020-09-25
- Added thead class to option array
- Ability to export the list set to CSV/XLS/XLSX/PDF
- Ability to mark a visible column as not to be exported
- Ability to mark a column as export only, which hides it from UI
- Ability to format a single column differently for export as it is for its UI
- Added option to change the button class from the config
0.3.1 - 2020-09-18
- Fixed non-sortable column headers not getting classes applied.
- Updated documentation
- Ground up rebuild
- Config file to choose frontend framework - currently limited to bootstrap
- Render method to columns which returns whatever you put into it, you can return a view, html, an attribute, etc.
- Pulled in and modified the HTML component library from laravelcollective so you can return html components from the render method. i.e.: $this->image(...);
- Added new loading config on whether to keep displaying the current data while loading or collapse it
- Added ability to set frontend framework specific options via a property on a per component basis.
- Extracted the sorting icons out to their actual HTML, so you can use whatever you want, not limited to the 'i' tag.
- Checkbox functionality for now
- Component functionality pending debate
- All class and styling based properties. It's better to publish the views to change something.
0.2.1 - 2020-09-10
- Arabic translations
- Ability to add a link to make table rows clickable
- Added the ability to change the sort icons
- Ability to hide a column based on a condition or permanently
- Livewire to 2.x
- Removed 1 hard coded font awesome icon
- Publish tags to service provider
0.2.0 - 2020-08-10
- Add pagination reset for perPage updates
- Add second parameter to view method for the name of the model variable available in the view.
- Allow publishing of views
- Make docblocks work with psalm
- Added searching method either debounce or lazy
- Allow dot notation for customer attributes
- Added loading message to table body if $loadingIndicator is true
- Add clear button option to search box
- Updated Livewire to 1.3
- $disableSearchOnLoading default to false
- Trim the search term when processing
- Added language to publishable translation file
- Existing loading subview for tbody message
0.1.6 - 2020-06-15
- Add second parameter to view method for the name of the model variable available in the view.
0.1.5 - 2020-05-26
- Use constructor instead of mount so that the child classes have access to a mount method that they can accept parameters in.
0.1.4 - 2020-05-24
- Changed $models to $builder
- Changed callback parameters for sorting to $builder, $direction. (Removed sortField because we know what it is, until someone gives me an example of why it would be beneficial to keep it).
0.1.3 - 2020-05-12
- Ability to turn off per page option while keeping pagination on
- Fix the search feature if pagination is on, and you're not searching from the first page using Livewire's native resetPage() method.
0.1.2 - 2020-04-28
- Fixed pagination text when there are zero results
0.1.1 - 2020-04-04
- Name of table blade view to avoid issues with other like named packages
- Initial release