diff --git a/.gitignore b/.gitignore index af53ea6..3865436 100644 --- a/.gitignore +++ b/.gitignore @@ -20,7 +20,7 @@ erl_crash.dump *.ez # Ignore package tarball (built via "mix hex.build"). -surface_form-*.tar +surface_form_helpers-*.tar # Temporary files, for example, from tests. /tmp/ diff --git a/LICENSE.md b/LICENSE.md index ac78a13..fff2edf 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # MIT License -Copyright (c) 2019 Marlus Saraiva +Copyright (c) 2024 Marlus Saraiva Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/README.md b/README.md index 519509f..4f589ac 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Surface.Form -Surface Wrappers for `Phoenix.HTML.Form` functions. +Surface wrappers for legacy `Phoenix.HTML.Form` functions. > [!NOTE] > This library is maintained only for compatibility and does not accept new features. @@ -12,17 +12,18 @@ Surface Wrappers for `Phoenix.HTML.Form` functions. ## Installation -If [available in Hex](https://hex.pm/docs/publish), the package can be installed -by adding `surface_form` to your list of dependencies in `mix.exs`: +Add `surface_form_helpers` to the list of dependencies in `mix.exs`: ```elixir def deps do [ - {:surface_form, "~> 0.1.0"} + {:surface_form_helpers, "~> 0.1.0"} ] end ``` -Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc) -and published on [HexDocs](https://hexdocs.pm). Once published, the docs can -be found at . +## License + +Copyright (c) 2024, Marlus Saraiva. + +Surface source code is licensed under the [MIT License](LICENSE.md). diff --git a/mix.exs b/mix.exs index 0c393e4..0896d6b 100644 --- a/mix.exs +++ b/mix.exs @@ -11,12 +11,12 @@ defmodule Surface.Form.MixProject do use Mix.Project @version "0.1.0" - @source_url "https://github.com/surface-ui/surface_form" + @source_url "https://github.com/surface-ui/surface_form_helpers" @homepage_url "https://surface-ui.org" def project do [ - app: :surface_form, + app: :surface_form_helpers, version: @version, elixir: "~> 1.13", description: "Surface wrappers for Phoenix.HTML.Form functions", @@ -97,7 +97,7 @@ defmodule Surface.Form.MixProject do licenses: ["MIT"], links: %{ Website: @homepage_url, - Changelog: "https://hexdocs.pm/surface_form/changelog.html", + Changelog: "https://hexdocs.pm/surface_form_helpers/changelog.html", GitHub: @source_url }, files: ~w( diff --git a/priv/catalogue/surface/components/catalogue.ex b/priv/catalogue/surface/components/catalogue.ex index c783c9e..ea13bbc 100644 --- a/priv/catalogue/surface/components/catalogue.ex +++ b/priv/catalogue/surface/components/catalogue.ex @@ -9,8 +9,8 @@ defmodule Surface.Components.Catalogue do head_css: """ """, - # Using catalogue JS because surface_form doesn't have any custom JS - # or Hooks. Needs to change if surface_form starts having javascript. + # Using catalogue JS because surface_form_helpers doesn't have any custom JS + # or Hooks. Needs to change if surface_form_helpers starts having javascript. head_js: """ """