bonsaif-ui 0.1.38 → 0.1.39

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
@@ -348,6 +348,19 @@ Use `closeOnBackdrop={false}` when a modal must stay open after clicking outside
348
348
  </Modal>
349
349
  ```
350
350
 
351
+ `ConfirmDialog` accepts the same prop when a confirmation should only close through the explicit cancel or confirm actions.
352
+
353
+ ```tsx
354
+ <ConfirmDialog
355
+ open={confirmOpen}
356
+ title="Confirmar accion"
357
+ description="Esta accion requiere una decision explicita."
358
+ closeOnBackdrop={false}
359
+ onConfirm={confirmAction}
360
+ onCancel={() => setConfirmOpen(false)}
361
+ />
362
+ ```
363
+
351
364
  ### Feedback And Data
352
365
 
353
366
  - `Alert`, `StatusBadge`, `EmptyState`, `LoadingState`: visible states and feedback.