Skip to content

Commit

Permalink
Merge pull request #148 from jacksonneal/jn-add-dialog-element
Browse files Browse the repository at this point in the history
add dialog element
  • Loading branch information
chrisdone authored Apr 26, 2024
2 parents 5ca0fba + f0b01cb commit bfe1d2c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
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 `dialog_` element. <https://github.com/chrisdone/lucid/issues/147>

## 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

0 comments on commit bfe1d2c

Please sign in to comment.