Commit Graph

16 Commits

Author SHA1 Message Date
Elijah Duffy
622481a1ca dialog: add autofreeze to sync loading state
Enabled by default, autofreeze freezes the dialog whenever loading state
is enabled.
2026-03-15 15:58:44 -07:00
Elijah Duffy
ebdca97527 dialog: fix DialogState export 2026-03-15 13:03:39 -07:00
Elijah Duffy
bb27d0c9d7 dialog: pass state to snippet overrides 2026-03-15 12:58:28 -07:00
Elijah Duffy
bcfd3ea740 dialog: add z-index to dialog api 2026-03-13 16:27:13 -07:00
Elijah Duffy
7c9a6398d4 dialog: support nesting/stacking & improve ergonomics
- stacked/nested dialogs work properly
- dialog api expanded to include `hasError` and `focus`
- `onopenchange` prop added, `onopen` and `onclose` deprecated
- improve accessibility with additional aria props
2026-03-12 23:15:08 -07:00
Elijah Duffy
80fc26eb3b dialog: fix duplicate controls caused by flip issue 2026-03-06 16:17:52 -08:00
Elijah Duffy
2d694a7277 dialog: title & control customization with snippets, fixed callbacks 2026-03-03 16:42:38 -08:00
Elijah Duffy
3cdda64686 dialog: allow disabling controls from rendering 2025-12-17 22:17:42 -08:00
Elijah Duffy
08cde9c3ee dialog: handle overflow scrolling 2025-12-09 16:24:08 -08:00
Elijah Duffy
647b3401a7 dialog: expose frozen, disabled, loading as bindable props 2025-08-27 16:45:41 -07:00
Elijah Duffy
642ab24029 fix buttons missing type="button"
Triggers unintentional form submits if missing `type` property.
2025-08-18 18:40:44 -07:00
Elijah Duffy
cd2ce96a33 dialog: extend api with disabled controls 2025-08-11 17:12:31 -07:00
Elijah Duffy
04d88422e9 dialog: add title setter to API 2025-07-22 11:16:56 -07:00
Elijah Duffy
03ca2dd5af dialog: improve error setting usability
Accept a RawError and create the error based on it instead.
2025-07-16 17:43:30 -07:00
Elijah Duffy
ee922b49ee dialog: add dialog api & detailed controls config, fix outer click 2025-07-16 17:41:56 -07:00
Elijah Duffy
f1b7ef2375 add dialog component 2025-07-04 00:28:24 -07:00