@praxisui/dialog 9.0.0-beta.8 → 9.0.0-beta.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,7 +19,7 @@ npm i @praxisui/dialog@latest
19
19
  Peer dependencies:
20
20
 
21
21
  - `@angular/common`, `@angular/core`, `@angular/cdk`, `@angular/forms`, `@angular/material`, `@angular/platform-browser` `^21.0.0`
22
- - `@praxisui/core` `^9.0.0-beta.4`
22
+ - `@praxisui/core` `^9.0.0-beta.12`
23
23
  - `rxjs` `~7.8.0`
24
24
 
25
25
  ## Use The Service API
@@ -124,6 +124,12 @@ Preset merge order is `type -> variant -> local config`. Use presets for UX poli
124
124
 
125
125
  Main exports: `PraxisDialog`, `PraxisDialogComponent`, template directives, `PraxisDialogRef`, dialog config types, dialog tokens, `providePraxisDialogGlobalActions`, `provideDialogGlobalPresetsFromGlobalConfig`, `PRAXIS_DIALOG_METADATA`, and `PRAXIS_DIALOG_AUTHORING_MANIFEST`.
126
126
 
127
+ ## Host theming
128
+
129
+ Theme dialogs through the semantic `--praxis-theme-*` roles exported by `@praxisui/core`, not by targeting Angular Material or MDC internals. The dialog resolves `surface`, `surface-raised`, `surface-overlay`, `on-surface`, `on-surface-muted`, `outline`, `outline-strong`, `focus-outline`, and `elevation` before its Material fallback. This keeps overlays, keyboard focus, and contrast coherent when a host supplies its own light or dark theme.
130
+
131
+ Component-specific dialog variables remain available for deliberate local customization; define either layer in a global theme scope because dialogs are rendered in the CDK overlay container.
132
+
127
133
  ## Accessibility
128
134
 
129
135
  `PraxisDialog` configures dialog roles, backdrop behavior, Escape handling, focus restoration and `aria-*` fields. Use `ariaRole: 'alertdialog'` for destructive or blocking confirmations, and always provide a visible title or accessible label.