@wistia/ui 0.4.12-beta.c731314d.d819974 → 0.4.12
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 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -5
- 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.4.12
|
|
3
|
+
* @license @wistia/ui v0.4.12
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -8217,8 +8217,7 @@ var StyledModalContent = (0, import_styled_components48.default)(import_react_di
|
|
|
8217
8217
|
max-width: 90vw;
|
|
8218
8218
|
top: 50%;
|
|
8219
8219
|
transform: translate(-50%, -50%);
|
|
8220
|
-
min-width: ${({ $width }) => $width ??
|
|
8221
|
-
width: ${({ $width }) => $width ?? DEFAULT_MODAL_WIDTH};
|
|
8220
|
+
min-width: ${({ $width }) => $width ?? "80vw"};
|
|
8222
8221
|
}
|
|
8223
8222
|
|
|
8224
8223
|
@keyframes contentShow {
|
|
@@ -8305,7 +8304,6 @@ Backdrop.displayName = "Backdrop";
|
|
|
8305
8304
|
|
|
8306
8305
|
// src/components/Modal/Modal.tsx
|
|
8307
8306
|
var import_jsx_runtime201 = require("react/jsx-runtime");
|
|
8308
|
-
var DEFAULT_MODAL_WIDTH = "532px";
|
|
8309
8307
|
var ModalBody = import_styled_components50.default.div`
|
|
8310
8308
|
flex-direction: column;
|
|
8311
8309
|
display: flex;
|
|
@@ -8321,7 +8319,7 @@ var Modal = (0, import_react39.forwardRef)(
|
|
|
8321
8319
|
isOpen,
|
|
8322
8320
|
onRequestClose,
|
|
8323
8321
|
title,
|
|
8324
|
-
width
|
|
8322
|
+
width,
|
|
8325
8323
|
...props
|
|
8326
8324
|
}, ref) => {
|
|
8327
8325
|
return /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
|