Commit f5deaed
committed
docs(toast): document top-layer promotion and CSS specificity migration
New "Top-Layer Behavior (0.2.0+)" section on docs/packages/toast.md:
- explains the Popover API mechanism with link to MDN's primer
- captures the CSS specificity gotcha (UA :popover-open overrides
consumer fallthrough positioning) with a copy-paste-ready
[popover].toast-stack example
- states the browser baseline and the older-browser fall-through
behavior (try/catch swallows missing-method errors; toasts still
render, just without modal coexistence)
Mirrors the migration note in CHANGELOG so consumers reading either
surface get the same guidance.1 parent 2524b1d commit f5deaed
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
0 commit comments