@hexdspace/react 0.1.52 → 0.1.53
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.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1697,6 +1697,7 @@ function Dialog({
|
|
|
1697
1697
|
onKeyDown,
|
|
1698
1698
|
...props
|
|
1699
1699
|
}) {
|
|
1700
|
+
const { "aria-describedby": ariaDescribedBy, ...contentProps } = props;
|
|
1700
1701
|
const fallbackId = React3.useId();
|
|
1701
1702
|
const resolvedRef = React3.useRef(false);
|
|
1702
1703
|
const isControlled = open2 !== void 0;
|
|
@@ -1799,6 +1800,7 @@ function Dialog({
|
|
|
1799
1800
|
{
|
|
1800
1801
|
forceMount: true,
|
|
1801
1802
|
asChild: true,
|
|
1803
|
+
"aria-describedby": ariaDescribedBy ?? void 0,
|
|
1802
1804
|
onInteractOutside: (event) => {
|
|
1803
1805
|
if (!dismissible) event.preventDefault();
|
|
1804
1806
|
},
|
|
@@ -1812,7 +1814,7 @@ function Dialog({
|
|
|
1812
1814
|
});
|
|
1813
1815
|
},
|
|
1814
1816
|
onKeyDown: handleKeyDown,
|
|
1815
|
-
...
|
|
1817
|
+
...contentProps,
|
|
1816
1818
|
children: /* @__PURE__ */ jsx7(
|
|
1817
1819
|
motion.div,
|
|
1818
1820
|
{
|