Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions resources/views/entries/activity-log.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Relaticle\ActivityLog\Support\ActivityLogSummary;

$summary = ActivityLogSummary::from($entry);
$icon = $summary->operation?->icon() ?? 'ri-edit-line';
$icon = $summary->operation?->icon() ?? 'heroicon-o-pencil-square';
@endphp

<div
Expand Down Expand Up @@ -61,7 +61,7 @@ class="line-clamp-2 text-gray-500 line-through decoration-gray-400/50 dark:text-
>
{{ $row->formattedOld() }}
</span>
<x-filament::icon icon="ri-arrow-right-line" class="h-3 w-3 shrink-0 text-gray-400" />
<x-filament::icon icon="heroicon-m-arrow-right" class="h-3 w-3 shrink-0 text-gray-400" />
<span
class="line-clamp-2 font-medium text-gray-900 dark:text-gray-100"
title="{{ $row->formattedNew() }}"
Expand All @@ -86,7 +86,7 @@ class="text-[11px] text-gray-500 dark:text-gray-400 tabular-nums"
</time>
@if ($summary->hasDiff)
<x-filament::icon
icon="ri-arrow-down-s-line"
icon="heroicon-m-chevron-down"
class="h-4 w-4 text-gray-400 transition-transform"
x-bind:class="open ? 'rotate-180' : ''"
aria-hidden="true"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/entries/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class="grid grid-cols-[28px_1fr_auto] items-start gap-x-3 rounded-md px-2 py-2 t
>
<div class="flex justify-center pt-0.5">
<span class="flex h-6 w-6 items-center justify-center rounded-full bg-gray-100 text-gray-600 ring-1 ring-gray-200 dark:bg-white/5 dark:text-gray-300 dark:ring-white/10">
<x-filament::icon icon="ri-circle-line" class="h-3.5 w-3.5" />
<span class="h-1.5 w-1.5 rounded-full bg-current"></span>
</span>
</div>

Expand Down
4 changes: 2 additions & 2 deletions resources/views/timeline.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class="flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-400 t
@click="open = !open"
>
<x-filament::icon
icon="ri-arrow-down-s-line"
icon="heroicon-m-chevron-down"
class="h-4 w-4 transition-transform"
x-bind:class="open ? '' : '-rotate-90'"
/>
Expand Down Expand Up @@ -79,7 +79,7 @@ class="flex items-center justify-center py-4 text-xs text-gray-500 dark:text-gra
wire:click="loadMore"
wire:loading.attr="disabled"
wire:target="loadMore"
icon="ri-arrow-down-line"
icon="heroicon-m-arrow-down"
>
<span wire:loading.remove wire:target="loadMore">{{ __('activity-log::messages.load_more') }}</span>
<span wire:loading wire:target="loadMore">{{ __('activity-log::messages.loading') }}</span>
Expand Down
8 changes: 4 additions & 4 deletions src/Support/ActivityLogOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ enum ActivityLogOperation: string
public function icon(): string
{
return match ($this) {
self::Created => 'ri-add-line',
self::Deleted => 'ri-delete-bin-line',
self::Restored => 'ri-arrow-go-back-line',
self::Updated => 'ri-edit-line',
self::Created => 'heroicon-o-plus',
self::Deleted => 'heroicon-o-trash',
self::Restored => 'heroicon-o-arrow-uturn-left',
self::Updated => 'heroicon-o-pencil-square',
};
}

Expand Down
Loading