bonsaif-ui 0.1.36 → 0.1.38

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
@@ -333,6 +333,21 @@ How it works:
333
333
  6. Choosing the discard action calls `onDiscardChanges` first, then calls `onClose`.
334
334
  7. If `hasUnsavedChanges` is `false`, close actions call `onClose` immediately.
335
335
 
336
+ #### Modal Backdrop Close
337
+
338
+ Use `closeOnBackdrop={false}` when a modal must stay open after clicking outside the panel. The close button and Escape behavior remain controlled separately through `showCloseButton` and `closeOnEscape`.
339
+
340
+ ```tsx
341
+ <Modal
342
+ open={open}
343
+ onClose={() => setOpen(false)}
344
+ title="Editar registro"
345
+ closeOnBackdrop={false}
346
+ >
347
+ <AccountForm />
348
+ </Modal>
349
+ ```
350
+
336
351
  ### Feedback And Data
337
352
 
338
353
  - `Alert`, `StatusBadge`, `EmptyState`, `LoadingState`: visible states and feedback.