myoperator-ui 0.0.107 → 0.0.108

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3306,9 +3306,9 @@ const DeleteConfirmationModal = React.forwardRef<
3306
3306
  <DialogContent ref={ref} size="sm" className={cn(className)}>
3307
3307
  <DialogHeader>
3308
3308
  <DialogTitle>{title || defaultTitle}</DialogTitle>
3309
- {description && (
3310
- <DialogDescription>{description}</DialogDescription>
3311
- )}
3309
+ <DialogDescription className={description ? undefined : "sr-only"}>
3310
+ {description || "Delete confirmation dialog - this action cannot be undone"}
3311
+ </DialogDescription>
3312
3312
  </DialogHeader>
3313
3313
  <div className="grid gap-2 py-4">
3314
3314
  <label
@@ -3470,9 +3470,9 @@ const ConfirmationModal = React.forwardRef<
3470
3470
  <DialogContent ref={ref} size="sm" className={cn(className)}>
3471
3471
  <DialogHeader>
3472
3472
  <DialogTitle>{title}</DialogTitle>
3473
- {description && (
3474
- <DialogDescription>{description}</DialogDescription>
3475
- )}
3473
+ <DialogDescription className={description ? undefined : "sr-only"}>
3474
+ {description || "Confirmation dialog"}
3475
+ </DialogDescription>
3476
3476
  </DialogHeader>
3477
3477
  <DialogFooter className="gap-2 sm:gap-0">
3478
3478
  <Button variant="outline" onClick={handleCancel} disabled={loading}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-ui",
3
- "version": "0.0.107",
3
+ "version": "0.0.108",
4
4
  "description": "CLI for adding myOperator UI components to your project",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",