Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update station-ui #326

Merged
merged 5 commits into from
Jan 8, 2025
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
3 changes: 3 additions & 0 deletions lib/beacon/live_admin/components/station_ui/html.ex
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# TODO: Upgrade to latest when we require LiveView ~> 1.0
# Locked in to https://github.com/DockYard/station-ui/tree/fd45707002b972f93518063f53fc268d8d98cdfb

defmodule Beacon.LiveAdmin.StationUI.HTML do
defmacro __using__(_) do
quote do
Expand Down
1 change: 0 additions & 1 deletion lib/beacon/live_admin/components/station_ui/html/form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ defmodule Beacon.LiveAdmin.StationUI.HTML.Form do
attr :name, :any
attr :label, :string, default: nil
attr :value, :any
attr :class, :string, default: "default"

attr :type, :string,
default: "text",
Expand Down
4 changes: 2 additions & 2 deletions lib/beacon/live_admin/components/station_ui/html/modal.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ defmodule Beacon.LiveAdmin.StationUI.HTML.Modal do
alias Phoenix.LiveView.JS

@doc """
The modals component renders a block of content that displays on top of the page.
The modal can be dismissed by clicking on the close button or hitting ESC on the keyboard.
The modals component renders a block of content that displays on top of the page. The modal can be dismissed by clicking on the close button or hitting ESC on the keyboard.

"""

attr :id, :string, required: true
Expand Down
Loading
Loading