Skip to content

Commit

Permalink
Fixed like in 0.24.1 for <x-btn-copy /> action button component
Browse files Browse the repository at this point in the history
  • Loading branch information
forxer committed Dec 4, 2024
1 parent f1813ae commit b2cb0b7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
=========

0.24.2 (2024-12-04)
-------------------

- Fixed like in 0.24.1 for `<x-btn-copy />` action button component


0.24.1 (2024-12-03)
-------------------

Expand All @@ -10,13 +16,13 @@ CHANGELOG
0.24.0 (2024-10-26)
-------------------

- Add `DefaultComponents` class
- Added `DefaultComponents` class


0.23.1 (2024-10-25)
-------------------

- Replace all "modal-confirm" by "confirm-modal"
- Replaced all "modal-confirm" by "confirm-modal"


0.23.0 (2024-10-22)
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ return [
//...
'components' => ServiceProvider::defaultComponents()
->replace([
'btn-help-info' => \App\View\Components\Buttons\HelpInfo::class,
'help-info' => \App\View\Components\Buttons\HelpInfo::class,
'btn-logout' => \App\View\Components\Buttons\Actions\Logout::class,
])
->components(),
Expand Down Expand Up @@ -147,7 +147,7 @@ return [
Now all components can be referenced as usual, but with the prefix before their name:

```blade
<x-bs-input name="inpu_name" />
<x-bs-input name="input_name" />
```
For obvious reasons, the docs don't use any prefix in their code examples. So keep this in mind when setting a prefix and copy/pasting code snippets.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@
@elseif ($string !== null)
data-clipboard-text="{{ $string }}"
@endif
@include('blade-ui-kit-bootstrap::bootstrap-4.components.buttons.partials.attributes')
@if ($title !== null)
data-toggle="tooltip"
title="{!! $title !!}"
@endif
@if ($confirm !== null)
data-buk-confirm="{!! $confirm !!}"
data-buk-confirm-modal="confirm-modal-{!! $confirmId !!}"
<x-confirm-modal :id="'confirm-modal-'.$confirmId" :title="$confirmTitle" :confirmVariant="$confirmVariant" />
@endif
>
@include('blade-ui-kit-bootstrap::bootstrap-4.components.buttons.partials.content')
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@
@elseif ($string !== null)
data-clipboard-text="{{ $string }}"
@endif
@include('blade-ui-kit-bootstrap::bootstrap-5.components.buttons.partials.attributes')
@if ($title !== null)
data-bs-toggle="tooltip"
title="{!! $title !!}"
@endif
@if ($confirm !== null)
data-buk-confirm="{!! $confirm !!}"
data-buk-confirm-modal="confirm-modal-{!! $confirmId !!}"
<x-confirm-modal :id="'confirm-modal-'.$confirmId" :title="$confirmTitle" :confirmVariant="$confirmVariant" />
@endif
>
@include('blade-ui-kit-bootstrap::bootstrap-5.components.buttons.partials.content')
</button>
Expand Down

0 comments on commit b2cb0b7

Please sign in to comment.