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

add dialog element #148

Merged
merged 2 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions lucid2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.20240424

* Add `dialogue_` element. <https://github.com/chrisdone/lucid/issues/147>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, fixed


## 0.0.20230706

* Inline the `blaze-builder` modules in-use into the package, to drop
Expand Down
2 changes: 1 addition & 1 deletion lucid2/lucid2.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: lucid2
version: 0.0.20230706
version: 0.0.20240424
synopsis: Clear to write, read and edit DSL for HTML
description:
Clear to write, read and edit DSL for HTML.
Expand Down
4 changes: 4 additions & 0 deletions lucid2/src/Lucid/Html5.hs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ details_ = term "details"
dfn_ :: Term arg result => arg -> result
dfn_ = term "dfn"

-- | @dialog@ element
dialog_ :: Term arg result => arg -> result
dialog_ = term "dialog"

-- | @div@ element
div_ :: Term arg result => arg -> result
div_ = term "div"
Expand Down