Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
b02e8bf
Autofocus element with dialogInitialFocus
timmo001 Sep 12, 2025
b7fd700
Ensure dialog follows safe areas
timmo001 Sep 12, 2025
5a76ac2
Restore
timmo001 Sep 12, 2025
542e568
Move to new component
timmo001 Sep 12, 2025
6c14bad
Use builtin width
timmo001 Sep 12, 2025
6ceebe1
Square when mobile
timmo001 Sep 12, 2025
4ba7d67
Use custom close button and closure actions
timmo001 Sep 12, 2025
e4f3b35
Remove border
timmo001 Sep 12, 2025
d35ee49
More closely follow MD3 guidelines
timmo001 Sep 12, 2025
d8e713c
Handle enter key
timmo001 Sep 12, 2025
a567cb0
Test with basic form
timmo001 Sep 12, 2025
df89f97
Setup for use with header (more info etc)
timmo001 Sep 12, 2025
7e3a5be
Test with more info dialog
timmo001 Sep 12, 2025
cefd4ea
Allow for custom close action
timmo001 Sep 12, 2025
395af3d
Rename
timmo001 Sep 12, 2025
d2e504f
Set
timmo001 Sep 12, 2025
5ccfcb6
Add gap to footer actions
timmo001 Sep 12, 2025
9e5eddb
Handle scrolling when open
timmo001 Sep 12, 2025
e31367f
Safe area fix for top
timmo001 Sep 12, 2025
cdf8ee1
Match original naming for scrim click action
timmo001 Sep 15, 2025
ae886d0
Cleanup
timmo001 Sep 15, 2025
36f6bf7
Cleanup
timmo001 Sep 15, 2025
be799d9
Rename
timmo001 Sep 15, 2025
f2bc4c9
Restore
timmo001 Sep 15, 2025
a2cd8b6
Simplify and use more native features
timmo001 Sep 18, 2025
03e21db
Center title if no subtitle is used
timmo001 Sep 18, 2025
4c5efa6
Clean
timmo001 Sep 18, 2025
bb3ae3a
Fix footer
timmo001 Sep 18, 2025
6cb6d55
Back action
timmo001 Sep 18, 2025
71907f2
Improve
timmo001 Sep 18, 2025
29d3c92
Fix
timmo001 Sep 18, 2025
e18b284
Fix
timmo001 Sep 18, 2025
eacf265
Fix
timmo001 Sep 18, 2025
13782bb
Sizing
timmo001 Sep 18, 2025
85fa487
Animate transition
timmo001 Sep 18, 2025
dc04508
Transisitons and width
timmo001 Sep 18, 2025
6fb2fee
Use var
timmo001 Sep 18, 2025
96f1795
Remove extra padding
timmo001 Sep 18, 2025
0ca16aa
Query dialogIntiialFocus and focus the element if found
timmo001 Sep 18, 2025
f6530d6
Use scroll lock styles from webawesome
timmo001 Sep 22, 2025
e504714
Constrain overflow
timmo001 Sep 23, 2025
653cc0d
Add dialog footer
timmo001 Sep 23, 2025
48470ba
Trigger primary action on enter pressed when ha-dialog-footer is used…
timmo001 Sep 23, 2025
2ebbf1d
Remove todo
timmo001 Sep 24, 2025
a5f76c2
Remove dupe from dev rebase
timmo001 Sep 25, 2025
74153fb
Update src/components/ha-wa-dialog.ts
timmo001 Sep 26, 2025
c2901db
Update src/components/ha-wa-dialog.ts
timmo001 Sep 26, 2025
056a3dd
Apply suggestion
timmo001 Sep 26, 2025
45319b1
No override
timmo001 Sep 26, 2025
3c3edeb
Docstring
timmo001 Sep 29, 2025
695c9a3
Rename to width
timmo001 Sep 29, 2025
06b97af
Upd
timmo001 Sep 29, 2025
b277ecc
Dismissable by default
timmo001 Sep 29, 2025
099161d
Use state for dialog width control
timmo001 Sep 29, 2025
e57ac1e
Update src/components/ha-wa-dialog.ts
timmo001 Sep 29, 2025
ef35eae
Use fireEvent
timmo001 Sep 29, 2025
11c0fcb
Use query, simplify
timmo001 Sep 29, 2025
ed3c00f
Set on disconnected
timmo001 Sep 29, 2025
9fe2412
Remove enter key handling for initial PR
timmo001 Sep 29, 2025
c0028e2
Use themeable variables
timmo001 Sep 29, 2025
23e998b
Add note
timmo001 Sep 29, 2025
a83794b
Update
timmo001 Sep 29, 2025
f0c1752
Update
timmo001 Sep 29, 2025
df4b751
Update
timmo001 Sep 29, 2025
5843d6e
Remove comment
timmo001 Sep 29, 2025
7f4afd2
Use ha variables
timmo001 Sep 29, 2025
9f24265
Docstring
timmo001 Sep 29, 2025
812fe50
Cleanup
timmo001 Sep 29, 2025
65dfc88
Remove
timmo001 Sep 29, 2025
f2ebc43
Fix z-index application
timmo001 Sep 29, 2025
cfb03ab
Use core color variables
timmo001 Sep 30, 2025
c782615
Revert instead of resetting
timmo001 Sep 30, 2025
6a06a5e
95vw for desktop, 100vw - safe areas for mobile
timmo001 Sep 30, 2025
badb6f9
Use padding for safe areas
timmo001 Sep 30, 2025
a27b16b
% not vh
timmo001 Sep 30, 2025
5765256
minmax
timmo001 Sep 30, 2025
3563cea
Invert
timmo001 Sep 30, 2025
29dbbeb
%
timmo001 Sep 30, 2025
1cfd1ce
Fix scrollbar style and dialog max height
timmo001 Sep 30, 2025
b822aad
Clean
timmo001 Sep 30, 2025
33da007
Update comment
timmo001 Sep 30, 2025
0f4531b
Simplify
timmo001 Sep 30, 2025
c97d460
Make reusable
timmo001 Sep 30, 2025
144c4d3
Use query
timmo001 Sep 30, 2025
233cd24
Make subtitle position above or below based on prop
timmo001 Sep 30, 2025
c69d731
Passthrough header subtitle position
timmo001 Sep 30, 2025
2ed8c45
Use medium weight
timmo001 Sep 30, 2025
02e5297
Add design notes
timmo001 Sep 30, 2025
c4fcc81
Align header to design
timmo001 Oct 1, 2025
c7a356f
Tooltips should render within the component
timmo001 Oct 1, 2025
a1a929f
Revert changes for ha-more-info-dialog for now
timmo001 Oct 2, 2025
63d183e
Fix open change
timmo001 Oct 2, 2025
f379310
Migrate restart dialog to ha-wa-dialog
timmo001 Oct 2, 2025
29e1411
Flatten and fix slot check
timmo001 Oct 2, 2025
76461a4
Slot check was never needed
timmo001 Oct 2, 2025
9ae4912
Revert changes to chart
timmo001 Oct 2, 2025
aceabe4
Add variables for customisation
timmo001 Oct 6, 2025
9c28902
Match other dialog height change
timmo001 Oct 6, 2025
10db43a
vw/svw
timmo001 Oct 6, 2025
a9ea3be
Reset
timmo001 Oct 6, 2025
dffbadb
Add height, fix title render
timmo001 Oct 6, 2025
e844965
Fix title rendering
timmo001 Oct 6, 2025
7f1c7b5
Use spacing vars
timmo001 Oct 6, 2025
4702be7
Remove from device editor
timmo001 Oct 7, 2025
5cd4f3b
Update src/components/ha-wa-dialog.ts
timmo001 Oct 7, 2025
fb80d5e
Update src/components/ha-dialog-footer.ts
timmo001 Oct 7, 2025
079861c
Update src/components/ha-dialog-footer.ts
timmo001 Oct 7, 2025
fd35c2c
Remove now unused
timmo001 Oct 7, 2025
c1411d7
heading -> header
timmo001 Oct 7, 2025
6b19911
headerNavigationIcon
timmo001 Oct 7, 2025
208399b
Remove toggle width on title click
timmo001 Oct 7, 2025
ca417d5
actionItems -> headerActionItems
timmo001 Oct 7, 2025
2b14e4b
Syntax
timmo001 Oct 7, 2025
1e02290
Cleanup, update docs
timmo001 Oct 7, 2025
b4b1688
Cleanup
timmo001 Oct 7, 2025
ab1c196
Add to gallery
timmo001 Oct 7, 2025
23baac7
Add title
timmo001 Oct 7, 2025
5b42df1
Fix ha-form-string not using autofocus from schema
timmo001 Oct 8, 2025
044e564
Update gallery form schema
timmo001 Oct 8, 2025
8577fc8
Change to use autofocus instead of mwc's dialogInitialFocus, add deep…
timmo001 Oct 8, 2025
991b6ef
Remove deep query selector
timmo001 Oct 8, 2025
5bd279b
Delegate focus
timmo001 Oct 8, 2025
3579964
Focus at light dom
timmo001 Oct 8, 2025
2627ac1
pass it down the chain
timmo001 Oct 8, 2025
3ab1506
Document the autofocus finding
timmo001 Oct 8, 2025
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
3 changes: 3 additions & 0 deletions gallery/src/pages/components/ha-wa-dialog.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Dialog (ha-wa-dialog)
---
Loading
Loading