Wire Elements Pro

Wire Elements Pro changelog

2 weeks ago
4.0.14

4.0.14

wire-elements/pro
  • Add click throttle to wire:modal and wire:slide-over to prevent parallel event triggers from colliding
1 month ago
4.0.13

4.0.13

wire-elements/pro
  • Update dependency to support Laravel 11
4 months ago
4.0.12

4.0.12

wire-elements/pro
  • Fix issues related to using wire:navigate with modals, slide-overs, and the insert component
4 months ago
4.0.11

4.0.11

wire-elements/pro
  • Fix issue that causes spotlight.toggle events to fire multiple times when using wire:navigate
4 months ago
4.0.10

4.0.10

wire-elements/pro
  • Fix bug that prevents the confirmation callback from triggering
5 months ago
4.0.9

4.0.9

wire-elements/pro

You can now define a default placeholder blade view for your modal and/or slide-over when using Livewire's lazy load feature:

1<?php
2 
3return [
4 'default' => 'tailwind',
5 
6 'components' => [
7 'modal' => [
8 'placeholder' => 'wire-elements-pro::modal.placeholder',
9 // ...
10 ],
11 'slide-over' => [
12 'placeholder' => 'wire-elements-pro::slide-over.placeholder',
13 // ...
14 ]
15]
5 months ago
4.0.8

4.0.8

wire-elements/pro
  • Fix bug that would cause a modal to open behind a slide-over
6 months ago
4.0.7

4.0.7

wire-elements/pro
  • Remove abstract function abstract public function search($query): InsertQueryResults; as this method accepts a second parameter called $scope. Adding $scope to the abstract function would be a breaking change so removing it instead.
6 months ago
4.0.6

4.0.6

wire-elements/pro
  • Add option to set query when toggling Spotlight
1<button @click="$wire.$dispatch('spotlight.toggle', { query: 'hello world' })">
6 months ago
4.0.5

4.0.5

wire-elements/pro
  • Fix bug that prevented $this->close(withForce: true); from working.
  • Add support to close modals and slide-over using the new wire directive:
1<!-- Close modal or slide-over -->
2<button wire:modal="close">Close</button>
3<button wire:slide-over="close">Close</button>
4 
5<!-- Force close modal or slide-over (this will close any child components as well) -->
6<button wire:modal="close, {force: true}">Close</button>
7<button wire:slide-over="close", {force: true}>Close</button>
7 months ago
4.0.4

4.0.4

wire-elements/pro
  • Stable release
  • Add docblocks to mark deprecations of any references to emit. Please use dispatch instead:
1$this->close(
2 andEmit: [] // Deprecated
3 andDispatch: []
4);
5 
6InsertQueryResult::make(
7 emit: $command['emit'], // Deprecated
8 dispatch: $command['dispatch'],
9);
10 
11SpotlightResult::make()
12 ->setTitle('Pull Requests')
13 ->setAction('emit_event', ['name' => 'slide-over.open', 'data' => ['component' => 'dummy-slide-over']]) // Deprecated
14 ->setAction('dispatch_event', ['name' => 'slide-over.open', 'data' => ['component' => 'dummy-slide-over']])
7 months ago
4.0.3-beta

4.0.3-beta

wire-elements/pro

Add wire:modal and wire:slide-over directives

1<button wire:modal="my-modal-component, @js(['someModelId' => $model->id])">Open</button>
2<button wire:slide-over="my-slide-over-component, @js(['someModelId' => $model->id])">Open</button>
7 months ago
4.0.2-beta

4.0.2-beta

wire-elements/pro

No description available for this release.

7 months ago
4.0.1-beta

4.0.1-beta

wire-elements/pro

No description available for this release.

7 months ago
4.0.0-beta

Livewire v3 beta support

wire-elements/pro
  • Upgrade to Laravel 10 and Livewire v3
  • Follow the Livewire v2 to v3 upgrade process. If you use the php artisan livewire:upgrade command, this will include an automatic update process for Wire Elements Pro. If you have already used the upgrade command before, you can run the pro upgrade process manually: php artisan livewire:upgrade --run-only wire-elements-pro-upgrade
10 months ago
3.0.11

3.0.11

wire-elements/pro
  • Fix property resolver bug (introduced in v3.0.10) when dealing with ReflectionUnionType
10 months ago
3.0.10

3.0.10

wire-elements/pro
  • Fix bug that would prevent the modal from closing when clicking on the background when dealing with multiple modals.
  • Add property resolver:
1return [
2 'default' => 'tailwind',
3 
4 'components' => [
5 'modal' => [
6 'view' => 'wire-elements-pro::modal.component',
7 'property-resolvers' => [
8 \WireElements\Pro\Components\Modal\Resolvers\EnumPropertyResolver::class,
9 ],
10 // ...

You can use resolvers to resolve component properties automatically. By default, it now ships with an enum resolver:

1class MyComponent extends Modal {
2 // This would previously throw a "can't assign string to" error on sequential requests
3 public MyEnum $foobar;
4}
11 months ago
3.0.9

3.0.9

wire-elements/pro
  • You can dynamically set one or more classes on the modal and slide-over root component so you can make CSS changes to any child elements. The active modal or slide-over attribute component-class will be used. For example, if you want to remove the background blur for a specific modal:
1class EditUser extends Modal
2{
3 // ...
4 
5 public static function attributes(): array
6 {
7 return [
8 'component-class' => 'remove-background-blue'
9 ];
10 }
11}

Add the following to your CSS:

1.remove-background-blue .wep-modal-backdrop {
2 backdrop-filter: none !important;
3}
1 year ago
3.0.8

3.0.8

wire-elements/pro
  • Laravel 10 support
1 year ago
3.0.7

3.0.7

wire-elements/pro

Insert component

  • User import instead of require to support Vite
1 year ago
3.0.6

3.0.6

wire-elements/pro
  • Fix bug where pagination inside modal would submit an empty form (and refresh the page) if onSubmit was not set.
1 year ago
3.0.5

3.0.5

wire-elements/pro
  • Fix Spotlight compatibility issue with Laravel Octane
1 year ago
3.0.4

3.0.4

wire-elements/pro
  • Fix Octane memory leak
1 year ago
3.0.3

3.0.3

wire-elements/pro
  • Stable 3.0 release containing Spotlight changes (upgrade guide)
1 year ago
3.0.2-beta

3.0.2-beta

wire-elements/pro
  • Laravel 8/9 compatibility (Spotlight $query was returning a Stringable object instead of the string)
1 year ago
3.0.1-beta

3.0.1-beta

wire-elements/pro
  • Fix Laravel 8 compatibility by using Str::of() instead of str()
1 year ago
3.0.0-beta

3.0.0-beta

wire-elements/pro
  • Refactoring Spotlight internals that may introduce a few breaking changes if you have published and modified the Spotlight blade files
1 year ago
2.0.21

2.0.21

wire-elements/pro
  • Fix bug where pagination inside modal would submit an empty form (and refresh the page) if onSubmit was not set.
1 year ago
2.0.20

2.0.20

wire-elements/pro
  • Fix Spotlight compatibility issue with Laravel Octane
1 year ago
2.0.19

2.0.19

wire-elements/pro
  • Fix Octane memory leak
1 year ago
2.0.18

2.0.18

wire-elements/pro
  • Laravel 8/9 compatibility (Spotlight $query was returning a Stringable object instead of the string)
1 year ago
2.0.17

2.0.17

wire-elements/pro

No description available for this release.

1 year ago
2.0.16

2.0.16

wire-elements/pro
  • Fix Laravel 8 compatibility by using Str::of() instead of str()
1 year ago
2.0.15

2.0.15

wire-elements/pro
  • Add setup callback to Spotlight component
1 year ago
2.0.14

2.0.14

wire-elements/pro
  • Ensure backdrop consistency between components. The new default is an opacity of 25% and a blur of 8px.
1 year ago
2.0.13

2.0.13

wire-elements/pro
  • Add trait boot back for non-modal component usage
1 year ago
2.0.12

2.0.12

wire-elements/pro
  • Add modal close arguments option to confirmation modal
  • Append ‘actionConfirmed’ listener at the root of the component instead of using the trait
1 year ago
2.0.11

2.0.11

wire-elements/pro
  • Fix trailing closing div on Spotlight component
1 year ago
2.0.10

2.0.10

wire-elements/pro
  • Fix $confirmationCaller must not be accessed before initialization error when using the InteractsWithConfirmationModal trait on multiple components on the same page.
1 year ago
2.0.9

2.0.9

wire-elements/pro
  • Add option to toggle Spotlight by emitting events Livewire.emit('spotlight.toggle')
1 year ago
2.0.8

2.0.8

wire-elements/pro

No description available for this release.

1 year ago
2.0.7

2.0.7

wire-elements/pro
  • Stable release
1 year ago
2.0.6-beta

2.0.6-beta

wire-elements/pro
  • Add translations files for Spotlight and the confirmation modal
1 year ago
2.0.5-beta

2.0.5-beta

wire-elements/pro
  • Add theme and metadata option to the confirmation modal
  • Add Bootstrap support to the Spotlight component
1 year ago
2.0.4-beta

2.0.4-beta

wire-elements/pro
  • Add InvalidArgument exceptions when providing invalid data to Spotlight objects.
  • Add EmitEvent action to the Spotlight component.
  • Update Spotlight component strings with __() to make translations possible.
  • Add Heroicons as the default icon set for Wire Elements Pro.
  • Hide Spotlight "footer" when no tips or helpers are defined.
  • Bugfix issue with Spotlight when no named route was found
1 year ago
2.0.3-beta

2.0.3-beta

wire-elements/pro
  • Add scroll behavior (overflow-y-auto) to the body of the Tailwind modal component to fix the issue where the content would not be reachable when using full-screen mode
1 year ago
2.0.2-beta

2.0.2-beta

wire-elements/pro
  • Improve the buttons slot for the Tailwind modal component
1 year ago
2.0.1-beta

2.0.1-beta

wire-elements/pro
  • Remove modal margin on small devices when fullscreen is enabled.
1 year ago
2.0.0-beta

2.0.0-beta

wire-elements/pro
  • Wire Elements Pro v2 beta release.
  • Introduces the new Spotlight Pro component.
  • Improvements and bug fixes for the modal component.
1 year ago
1.0.9

1.0.9

wire-elements/pro
  • Fix slide-over bug where closing using the top right X would result in the slide-over opening again after closing
1 year ago
1.0.8

1.0.8

wire-elements/pro
  • Fix issue where using the force close option on a modal or slide-over would not work
1 year ago
1.0.7

1.0.7

wire-elements/pro
  • Add an option to the insert component to add additional that you can reference to scope the query based on the context. For example, only looking up users who are part of a discussion.
1<textarea {{ wep_insert(['user'], [2,3,4]) }}></textarea>
1class UserInsert extends InsertType
2{
3 public function search($query, $scope = []): InsertQueryResults
4 {
5 // $scope = 2,3,4
6 User::whereIn('id', $scope);
7 }
8}
1 year ago
1.0.6

1.0.6

wire-elements/pro
  • Fix an issue that sometimes would show the modal transition between different widths when opening models of different sizes in sequence
1 year ago
1.0.5

1.0.5

wire-elements/pro
  • Fix duplicate events like modal.close and slide-over.close when closing overlay component.
1 year ago
1.0.4

1.0.4

wire-elements/pro
  • Bugfix for Insert component related to Bootstrap
1 year ago
1.0.3

1.0.3

wire-elements/pro
  • Bugfix for the insert component when using Bootstrap
1 year ago
1.0.2

1.0.2

wire-elements/pro
  • Insert component design improvements
  • Add keyboard instructions to insert component
1 year ago
1.0.1

1.0.1

wire-elements/pro

No description available for this release.

1 year ago
1.0.0

1.0.0

wire-elements/pro
  • Stable release
1 year ago
0.0.7

0.0.7

wire-elements/pro
  • The force close option now closes all present modals and slide-overs
1 year ago
0.0.6

0.0.6

wire-elements/pro
  • Rename insert component input binding name
1 year ago
0.0.5

0.0.5

wire-elements/pro
  • Change internal view structure (make sure you republish the wire-elements-pro.php config.
  • Add the option to set a custom view file for InsertQueryResult.
1 year ago
0.0.4

0.0.4

wire-elements/pro
  • Add buttons slot to slide-over Blade components
1 year ago
0.0.3

0.0.3

wire-elements/pro
  • Blur insert focus when overlay component is activated.
  • Fix bug that kept insert component open when no pattern was matched even after removing the delimiter.
  • Few other improvements.
1 year ago
0.0.2

0.0.2

wire-elements/pro
  • The "Mention" component has been renamed to "Insert".
  • You can now define the delimiter and the match pattern separately.
  • Added the option to emit events to support "insert commands", for example, "/insert image".
  • New trait is available to return insert value from a different Livewire component.
1 year ago
0.0.1

Early Access Release

wire-elements/pro

No description available for this release.