@wistia/ui 0.6.11-beta.46decee4.b341084 → 0.6.11
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.6.11
|
|
3
|
+
* @license @wistia/ui v0.6.11
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -9817,9 +9817,9 @@ var ModalHeader = ({
|
|
|
9817
9817
|
hideTitle,
|
|
9818
9818
|
hideCloseButton
|
|
9819
9819
|
}) => {
|
|
9820
|
-
const
|
|
9820
|
+
const TitleWrapper = hideTitle ? ScreenReaderOnly : Title;
|
|
9821
9821
|
return /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(Header, { children: [
|
|
9822
|
-
|
|
9822
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(TitleWrapper, { children: title }),
|
|
9823
9823
|
hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(ModalCloseButton, {})
|
|
9824
9824
|
] });
|
|
9825
9825
|
};
|