@xleddyl/443-components-vue 0.16.103 → 0.16.104
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
|
@@ -782,7 +782,7 @@ const confirmDiscard = () => !dirty.value || confirm({ title: 'Discard changes?'
|
|
|
782
782
|
- A docked drawer is not modal: no backdrop, no scroll lock, focus stays where it was when it opens, and Escape closes it only when the focus is inside it (and no menu or nested dialog is open). The leave guard is the same: closing it, its trail and a navigation ask before they drop a dirty form.
|
|
783
783
|
- `useRouteRecord().openRecord(id)` asks the discard question when it replaces another open record (the user clicked another row with a dirty form). The default `beforeLeave` reads the topmost modal dialog, else the docked drawer. A discard accepted by a scope also answers the next question of the same scope in the same task, so a drawer that asks and then calls `openRecord()` asks once.
|
|
784
784
|
- Toasts move to the left of the dock.
|
|
785
|
-
- The body of every Drawer and Modal
|
|
785
|
+
- The body of every Drawer and Modal and the content of the SettingsModal are size containers (`k-drawer`, `k-modal`, `k-settings`), so put container queries on the content instead of viewport breakpoints: with Tailwind, `@sm:grid-cols-2` instead of `sm:grid-cols-2`. The header wraps its actions under the title when the panel is narrower than 40rem.
|
|
786
786
|
|
|
787
787
|
- `size="fullscreen"` on a Modal fills the viewport edge to edge (no radius, no outer padding, safe area insets inside the panel) and never turns into a bottom sheet.
|
|
788
788
|
- Overlays reset the field context: controls inside a Modal, Drawer, CommandPalette, menu, Popover or HoverCard panel do not inherit the id, description or invalid state of a `FormField` that contains the trigger. Call `provideFieldBoundary()` in your own overlay components to do the same.
|
package/package.json
CHANGED