From bc08049f6152a105fb40c954bba0dcb75a22878d Mon Sep 17 00:00:00 2001 From: phcurado Date: Mon, 3 Jun 2024 11:47:29 +0300 Subject: [PATCH] release 0.1.2 --- lib/daisy_ui_components/modal.ex | 3 ++- mix.exs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/daisy_ui_components/modal.ex b/lib/daisy_ui_components/modal.ex index 216e610..b39b817 100644 --- a/lib/daisy_ui_components/modal.ex +++ b/lib/daisy_ui_components/modal.ex @@ -134,6 +134,7 @@ defmodule DaisyUIComponents.Modal do attr :modal_id, :string, required: true attr :class, :string, default: nil + attr :content_class, :string, default: nil attr :closable, :boolean, default: true attr :rest, :global slot :inner_block @@ -155,7 +156,7 @@ defmodule DaisyUIComponents.Modal do > ✕ -
+
<%= render_slot(@inner_block) %>
diff --git a/mix.exs b/mix.exs index 60fd6fa..640fb25 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule DaisyUIComponents.MixProject do use Mix.Project @source_url "https://github.com/phcurado/daisy_ui_components" - @version "0.1.1" + @version "0.1.2" def project do [