mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Prod assets
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Generated
+5
@@ -6830,6 +6830,11 @@
|
||||
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=",
|
||||
"dev": true
|
||||
},
|
||||
"microlite": {
|
||||
"version": "0.9.1",
|
||||
"resolved": "https://registry.npmjs.org/microlite/-/microlite-0.9.1.tgz",
|
||||
"integrity": "sha1-PaiJDAVHeOyoe/RalbQCXeKBCec="
|
||||
},
|
||||
"micromatch": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz",
|
||||
|
||||
+2
-1
@@ -16,7 +16,8 @@
|
||||
"dependencies": {
|
||||
"@popperjs/core": "^2.6.0",
|
||||
"alpinejs": "^2.8.0",
|
||||
"focus-visible": "^5.2.0"
|
||||
"focus-visible": "^5.2.0",
|
||||
"microlite": "^0.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/forms": "^0.2.1",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
@if ($field->value)
|
||||
<div class="overflow-hidden">
|
||||
<ol
|
||||
class="relative flex flex-wrap -m-2"
|
||||
class="flex flex-wrap -m-2"
|
||||
@if ($field->sortMethod)
|
||||
wire:sortable="{{ $field->sortMethod }}"
|
||||
@endif
|
||||
@@ -52,12 +52,22 @@
|
||||
>
|
||||
<div class="p-2 bg-white shadow-sm rounded border border-gray-300 flex items-center space-x-4">
|
||||
@if (exif_imagetype(Filament::storage()->path($file)))
|
||||
<a href="{{ Filament::storage()->url($file) }}" target="_blank" rel="noopener noreferrer" class="flex-shrink-0">
|
||||
<x-filament-image :src="$file" alt="{{ $file }}" :manipulations="[ 'w' => 48, 'h' => 48, 'fit' => 'crop' ]" width="48px" height="48px" loading="lazy" class="w-12 h-12 rounded" />
|
||||
<a
|
||||
href="{{ Filament::storage()->url($file) }}"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="flex-shrink-0"
|
||||
>
|
||||
<x-filament-image :src="$file" alt="{{ $file }}" :manipulations="[ 'w' => 48, 'h' => 48, 'fit' => 'crop' ]" class="w-12 h-12 rounded" />
|
||||
</a>
|
||||
@endif
|
||||
<div class="flex-grow overflow-scroll flex flex-col leading-tight">
|
||||
<a href="{{ Filament::storage()->url($file) }}" target="_blank" rel="noopener noreferrer" class="text-sm link">
|
||||
<a
|
||||
href="{{ Filament::storage()->url($file) }}"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="text-sm link"
|
||||
>
|
||||
{{ $file }}
|
||||
</a>
|
||||
<dl class="font-mono text-xs text-gray-500">
|
||||
|
||||
Reference in New Issue
Block a user