@proteos/ui 0.57.0 → 0.57.1
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/dist/index.cjs +10 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/modal/modal.test.tsx +9 -0
- package/src/components/modal/modal.tsx +13 -1
package/dist/index.cjs
CHANGED
|
@@ -2525,7 +2525,9 @@ function ModalContent({
|
|
|
2525
2525
|
children,
|
|
2526
2526
|
className,
|
|
2527
2527
|
modalClassName,
|
|
2528
|
+
dialogClassName,
|
|
2528
2529
|
isDismissable = true,
|
|
2530
|
+
"aria-label": ariaLabel,
|
|
2529
2531
|
...props
|
|
2530
2532
|
}) {
|
|
2531
2533
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2556,7 +2558,14 @@ function ModalContent({
|
|
|
2556
2558
|
"exiting:animate-exit-zoom",
|
|
2557
2559
|
modalClassName
|
|
2558
2560
|
),
|
|
2559
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2561
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2562
|
+
reactAriaComponents.Dialog,
|
|
2563
|
+
{
|
|
2564
|
+
className: chunkNWGG5WFL_cjs.cn("outline-none flex flex-col min-h-0 overflow-hidden", dialogClassName),
|
|
2565
|
+
...ariaLabel !== void 0 ? { "aria-label": ariaLabel } : {},
|
|
2566
|
+
children
|
|
2567
|
+
}
|
|
2568
|
+
)
|
|
2560
2569
|
}
|
|
2561
2570
|
)
|
|
2562
2571
|
}
|