With the addition of the DefaultComponents
class, if you have published the configuration file and want to use it, you need to adjust this file.
The component tag has been renamed from <x-confirm-modal />
to <x-confirm-modal />
. You need to find and replace it.
With the addition of confirmTitle
property on the button components, the class constructor signature of these components has changed. If you have extended these classes you must modify them accordingly.
The "confirm modal" attributes have been renamed:
- from
data-bs-confirm
todata-buk-confirm
- from
data-bs-confirm-modal
todata-buk-confirm-modal
- from
data-confirm-trigger
todata-buk-confirm-trigger
With the addition of the Help info button
component, if you have published the configuration file and want to use it, you need to add it to this file.
'components' => [
// Buttons ...
'help-info' => Buttons\HelpInfo::class,
]
The action
FormButton attribute have been renamed to url
.
So you need to replace :action="
with :url="
for :
<x-form-button />
<x-btn-create />
<x-btn-edit />
<x-btn-archive />
<x-btn-delete />
<x-btn-restore />
<x-btn-destroy />
<x-btn-show />
<x-btn-preview />
<x-btn-move-up />
<x-btn-move-down />
<x-btn-enable />
<x-btn-disable />
<x-btn-enabled />
<x-btn-disabled />
<x-btn-back />
<x-btn-back-list />
<x-btn-back-home />
<x-btn-logout />
<x-btn-archives />
<x-btn-recycle-bin />
With the addition of icon
, startIcon
and endIcon
properties on the button components, the class constructor signature of these components has changed. If you have extended these classes you must modify them accordingly.
With the addition of startContent
and endContent
properties on the button components, the class constructor signature of these components has changed. If you have extended these classes you must modify them accordingly.
With the addition of the BootstrapVersion
enum you should use it.
You will probably only need to modify the configuration file by replacing:
'bootstrap-4'
byBootstrapVersion::V4
'bootstrap-5'
byBootstrapVersion::V5
If you used character strings outside the configuration file you must replace:
'bootstrap-4'
byBootstrapVersion::V4->value
'bootstrap-5'
byBootstrapVersion::V5->value
If you published the views, you need to rename the file button.blade.php
with simple-button.blade.php
.
All the class constructor signature of buttons components has changed. If you have extended these classes you must modify them accordingly.
With the addition of different properties: outline
, no-outline
, type
, confirm
, confirmId
and formId
on the different components of the button, the class constructor signature of these components has changed. If you have extended these classes you must modify them accordingly.
With the addition of the text
and variant
properties to the FormButton
and LinkButton
components, the class constructor signature of these two components has changed. If you have extended these classes you must modify them accordingly.
The "logout" button becomes an "Action button", this changes its name in blade templates.
So you need to replace <x-logout />
with <x-btn-logout />
.
The "confirm modal" attributes have been renamed:
- from
data-confirm
todata-bs-confirm
- from
data-confirm-modal
todata-bs-confirm-modal
Confirm modals now require an id and this id should be referenced by the actionable element with the data-confirm-modal
attribute.