Skip to content

Commit

Permalink
update to use the latest metro
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull committed Dec 5, 2024
1 parent 7403e9b commit 989b474
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ defmodule DotcomWeb.Components.LiveComponents.TripPlannerForm do
</div>
<div>
<.fieldset id="modes" legend="Modes">
<.accordion id="accordion">
<.accordion id="accordion" variant="contained">
<:heading>
<%= Modes.selected_modes(input_value(f, :modes)) %>
</:heading>
Expand Down
13 changes: 9 additions & 4 deletions lib/dotcom_web/components/trip_planner/walking_leg.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
defmodule DotcomWeb.Components.TripPlanner.WalkingLeg do
@moduledoc false
@moduledoc """
"""

use Phoenix.Component

Expand All @@ -9,13 +11,16 @@ defmodule DotcomWeb.Components.TripPlanner.WalkingLeg do

alias OpenTripPlannerClient.Schema.Step

attr :leg, :map

def walking_leg(assigns) do
~H"""
<hr class="my-2 border-t-solid border-slate-200"/>
<.accordion id={@leg.polyline}>
<:heading>
<.icon name="person-walking" class="w-5 h-5 mr-6 fill-black" />
<.icon name="person-walking" class="w-5 h-5 mr-1 fill-black" />
<div class="text-black">
<div class="text-md">
<div class="text-base">
Walk
</div>
<div class="text-sm">
Expand All @@ -35,4 +40,4 @@ defmodule DotcomWeb.Components.TripPlanner.WalkingLeg do
</.accordion>
"""
end
end
end
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ defmodule DotCom.Mixfile do
{:jason, "1.4.4", override: true},
{:logster, "1.1.1"},
{:mail, "0.4.1"},
{:mbta_metro, "0.0.61"},
{:mbta_metro, "0.0.62"},
{:mock, "0.3.8", [only: :test]},
{:mox, "1.2.0", [only: :test]},
{:nebulex, "2.6.4"},
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"makeup_elixir": {:hex, :makeup_elixir, "1.0.0", "74bb8348c9b3a51d5c589bf5aebb0466a84b33274150e3b6ece1da45584afc82", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "49159b7d7d999e836bedaf09dcf35ca18b312230cf901b725a64f3f42e407983"},
"makeup_erlang": {:hex, :makeup_erlang, "1.0.1", "c7f58c120b2b5aa5fd80d540a89fdf866ed42f1f3994e4fe189abebeab610839", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "8a89a1eeccc2d798d6ea15496a6e4870b75e014d1af514b1b71fa33134f57814"},
"makeup_html": {:hex, :makeup_html, "0.1.2", "19d4050c0978a4f1618ffe43054c0049f91fe5feeb9ae8d845b5dc79c6008ae5", [:mix], [{:makeup, "~> 1.2", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "b7fb9afedd617d167e6644a0430e49c1279764bfd3153da716d4d2459b0998c5"},
"mbta_metro": {:hex, :mbta_metro, "0.0.61", "143e6d9c38acc6a19b3ad1200df7344f9e039235f3eefdd3d8a20848c32b917d", [:mix], [{:floki, "~> 0.36", [hex: :floki, repo: "hexpm", optional: false]}, {:heroicons, "0.5.6", [hex: :heroicons, repo: "hexpm", optional: true]}, {:jason, "1.4.4", [hex: :jason, repo: "hexpm", optional: false]}, {:phoenix, "1.7.14", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_live_view, "1.0.0-rc.6", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}, {:phoenix_storybook, "0.6.4", [hex: :phoenix_storybook, repo: "hexpm", optional: false]}, {:timex, "3.7.11", [hex: :timex, repo: "hexpm", optional: false]}], "hexpm", "ca69daf80335a5bd50dddc1583a235fc26e61ae97c646030526c9ccb912baf37"},
"mbta_metro": {:hex, :mbta_metro, "0.0.62", "1ed19cf93e390feb362a0db37e5d756b4f4b97826a3e7fa9b901f05da19da16b", [:mix], [{:floki, "~> 0.36", [hex: :floki, repo: "hexpm", optional: false]}, {:heroicons, "0.5.6", [hex: :heroicons, repo: "hexpm", optional: true]}, {:jason, "1.4.4", [hex: :jason, repo: "hexpm", optional: false]}, {:phoenix, "1.7.14", [hex: :phoenix, repo: "hexpm", optional: false]}, {:phoenix_live_view, "1.0.0-rc.6", [hex: :phoenix_live_view, repo: "hexpm", optional: false]}, {:phoenix_storybook, "0.6.4", [hex: :phoenix_storybook, repo: "hexpm", optional: false]}, {:timex, "3.7.11", [hex: :timex, repo: "hexpm", optional: false]}], "hexpm", "30c42eb4dbfcc22644dd0c74a237f16b500da6e7d80ecc8a27ebd070c5d3c3c4"},
"meck": {:hex, :meck, "0.9.2", "85ccbab053f1db86c7ca240e9fc718170ee5bda03810a6292b5306bf31bae5f5", [:rebar3], [], "hexpm", "81344f561357dc40a8344afa53767c32669153355b626ea9fcbc8da6b3045826"},
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"},
"mime": {:hex, :mime, "2.0.6", "8f18486773d9b15f95f4f4f1e39b710045fa1de891fada4516559967276e4dc2", [:mix], [], "hexpm", "c9945363a6b26d747389aac3643f8e0e09d30499a138ad64fe8fd1d13d9b153e"},
Expand Down

0 comments on commit 989b474

Please sign in to comment.