Skip to content

Commit

Permalink
fix(HTML): atom-icon-button added to close message bar dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
StfBauer committed Nov 22, 2023
1 parent 0037a6b commit 7f17717
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
4 changes: 0 additions & 4 deletions htwoo-core/CHANGELOG.md
Expand Up @@ -2,10 +2,6 @@

Changes in hTWOo core as they happen

### [2.1.3](https://github.com/n8design/htwoo/commit/) (2023-11-22)

### [2.1.3](https://github.com/n8design/htwoo/commit/) (2023-11-22)

## [2.1.0](https://github.com/n8design/htwoo/commit/) (2023-11-16)

### Features
Expand Down
8 changes: 4 additions & 4 deletions htwoo-core/src/_patterns/organism/dialogs/msgbars.hbs
Expand Up @@ -4,7 +4,7 @@
statusbar for example. <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog" target="_blank">The Dialog
Element on MDN documentation</a></div>
<div class="hoo-dlg-actions">
<button id="closer-dlg" autofocus>Close</button>
{{#btn-closer}}{{> atoms-button-icon}}{{/btn-closer}}
</div>
</dialog>
<dialog id="myDialog" class="hoo-dlg statusbar warning" open>
Expand All @@ -13,7 +13,7 @@
statusbar for example. <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog" target="_blank">The Dialog
Element on MDN documentation</a></div>
<div class="hoo-dlg-actions">
<button id="closer-dlg" autofocus>Close</button>
{{#btn-closer}}{{> atoms-button-icon}}{{/btn-closer}}
</div>
</dialog>
<dialog id="myDialog" class="hoo-dlg statusbar error" open>
Expand All @@ -22,7 +22,7 @@
statusbar for example. <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog" target="_blank">The Dialog
Element on MDN documentation</a></div>
<div class="hoo-dlg-actions">
<button id="closer-dlg" autofocus>Close</button>
{{#btn-closer}}{{> atoms-button-icon}}{{/btn-closer}}
</div>
</dialog>
<dialog id="myDialog" class="hoo-dlg statusbar success" open>
Expand All @@ -31,6 +31,6 @@
for a statusbar for example. <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog" target="_blank">The
Dialog Element on MDN documentation</a></div>
<div class="hoo-dlg-actions">
<button id="closer-dlg" autofocus>Close</button>
{{#btn-closer}}{{> atoms-button-icon}}{{/btn-closer}}
</div>
</dialog>
9 changes: 8 additions & 1 deletion htwoo-core/src/_patterns/organism/dialogs/msgbars.json
@@ -1,3 +1,10 @@
{
"bodyClass": "dlg-preview-flex"
"bodyClass": "dlg-preview-flex",
"btn-closer": {
"button": {
"iconname": "icon-close",
"aria-label": "Close",
"props": " autofocus"
}
}
}
2 changes: 1 addition & 1 deletion htwoo-core/src/css/htwoo.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion htwoo-core/src/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion htwoo-core/src/css/style.prod.css

Large diffs are not rendered by default.

0 comments on commit 7f17717

Please sign in to comment.