Skip to content

Commit 1157f4f

Browse files
update deps and fix warnings
1 parent 1fcbeef commit 1157f4f

File tree

3 files changed

+23
-24
lines changed

3 files changed

+23
-24
lines changed

lib/fileonchain_web/components/core_components.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,11 +474,11 @@ defmodule FileonchainWeb.CoreComponents do
474474
end
475475

476476
~H"""
477-
<div class="overflow-y-auto px-4 sm:overflow-visible sm:px-0">
478-
<table class="w-[40rem] mt-11 sm:w-full">
477+
<div class="overflow-y-auto px-4 sm:overflow-visible sm:px-0 mt-6 bg-brand-800 rounded-lg">
478+
<table class="w-full mt-11 sm:w-full">
479479
<thead class="text-sm text-left leading-6 text-brand-200">
480480
<tr>
481-
<th :for={col <- @col} class="p-0 pb-4 pr-6 font-normal"><%= col[:label] %></th>
481+
<th :for={col <- @col} class="pb-4 pr-6 font-normal p-4 border-b border-brand-700"><%= col[:label] %></th>
482482
<th :if={@action != []} class="relative p-0 pb-4">
483483
<span class="sr-only"><%= gettext("Actions") %></span>
484484
</th>

lib/fileonchain_web/live/file_live/index.html.heex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
id="files"
1313
rows={@streams.files}
1414
row_click={fn {_id, file} -> JS.navigate(~p"/files/#{file}") end}
15-
class="w-full mt-6 bg-brand-800 rounded-lg"
1615
>
17-
<:col :let={{_id, file}} label="Filename" class="p-4 border-b border-brand-700"><%= file.filename %></:col>
18-
<:col :let={{_id, file}} label="Preview" class="p-4 border-b border-brand-700">
16+
<:col :let={{_id, file}} label="Filename"><%= file.filename %></:col>
17+
<:col :let={{_id, file}} label="Preview">
1918
<%= raw(render_file_preview(file)) %>
2019
</:col>
2120
<:col :let={{_id, file}} label="Size" class="p-4 border-b border-brand-700"><%= format_file_size(file.data) %></:col>

mix.exs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,35 @@ defmodule Fileonchain.MixProject do
3232
# Type `mix help deps` for examples and options.
3333
defp deps do
3434
[
35-
{:bcrypt_elixir, "~> 3.0"},
35+
{:bcrypt_elixir, "~> 3.1.0"},
3636
{:phoenix, "~> 1.7.14"},
37-
{:phoenix_ecto, "~> 4.5"},
38-
{:ecto_sql, "~> 3.10"},
39-
{:postgrex, ">= 0.0.0"},
40-
{:phoenix_html, "~> 4.1"},
41-
{:phoenix_live_reload, "~> 1.2", only: :dev},
37+
{:phoenix_ecto, "~> 4.6.2"},
38+
{:ecto_sql, "~> 3.12.0"},
39+
{:postgrex, ">= 0.19.1"},
40+
{:phoenix_html, "~> 4.1.1"},
41+
{:phoenix_live_reload, "~> 1.5.3", only: :dev},
4242
# TODO bump on release to {:phoenix_live_view, "~> 1.0.0"},
43-
{:phoenix_live_view, "~> 1.0.0-rc.1", override: true},
43+
{:phoenix_live_view, "~> 1.0.0-rc.6", override: true},
4444
{:phoenix_live_view_dropzone, "~> 0.0.13"},
45-
{:floki, ">= 0.30.0", only: :test},
46-
{:phoenix_live_dashboard, "~> 0.8.3"},
47-
{:esbuild, "~> 0.8", runtime: Mix.env() == :dev},
48-
{:tailwind, "~> 0.2", runtime: Mix.env() == :dev},
45+
{:floki, ">= 0.36.2", only: :test},
46+
{:phoenix_live_dashboard, "~> 0.8.4"},
47+
{:esbuild, "~> 0.8.1", runtime: Mix.env() == :dev},
48+
{:tailwind, "~> 0.2.3", runtime: Mix.env() == :dev},
4949
{:heroicons,
5050
github: "tailwindlabs/heroicons",
5151
tag: "v2.1.1",
5252
sparse: "optimized",
5353
app: false,
5454
compile: false,
5555
depth: 1},
56-
{:swoosh, "~> 1.5"},
57-
{:finch, "~> 0.13"},
56+
{:swoosh, "~> 1.16.12"},
57+
{:finch, "~> 0.18"},
5858
{:telemetry_metrics, "~> 1.0"},
59-
{:telemetry_poller, "~> 1.0"},
60-
{:gettext, "~> 0.20"},
61-
{:jason, "~> 1.2"},
62-
{:dns_cluster, "~> 0.1.1"},
63-
{:bandit, "~> 1.5"},
59+
{:telemetry_poller, "~> 1.1.0"},
60+
{:gettext, "~> 0.26.1"},
61+
{:jason, "~> 1.4.4"},
62+
{:dns_cluster, "~> 0.1.3"},
63+
{:bandit, "~> 1.5.7"},
6464
{:blake3, "~> 1.0"}
6565
]
6666
end

0 commit comments

Comments
 (0)