@wistia/ui 0.4.11-beta.e5b6ee73.3a800de → 0.4.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 CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.4.11-beta.e5b6ee73.3a800de
3
+ * @license @wistia/ui v0.4.11
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -8183,8 +8183,7 @@ var StyledModalContent = (0, import_styled_components47.default)(import_react_di
8183
8183
  max-width: 90vw;
8184
8184
  top: 50%;
8185
8185
  transform: translate(-50%, -50%);
8186
- min-width: ${({ $width }) => $width ?? DEFAULT_MODAL_WIDTH};
8187
- width: ${({ $width }) => $width ?? DEFAULT_MODAL_WIDTH};
8186
+ min-width: ${({ $width }) => $width ?? "80vw"};
8188
8187
  }
8189
8188
 
8190
8189
  @keyframes contentShow {
@@ -8271,7 +8270,6 @@ Backdrop.displayName = "Backdrop";
8271
8270
 
8272
8271
  // src/components/Modal/Modal.tsx
8273
8272
  var import_jsx_runtime201 = require("react/jsx-runtime");
8274
- var DEFAULT_MODAL_WIDTH = "532px";
8275
8273
  var ModalBody = import_styled_components49.default.div`
8276
8274
  flex-direction: column;
8277
8275
  display: flex;
@@ -8287,7 +8285,7 @@ var Modal = (0, import_react38.forwardRef)(
8287
8285
  isOpen,
8288
8286
  onRequestClose,
8289
8287
  title,
8290
- width = DEFAULT_MODAL_WIDTH,
8288
+ width,
8291
8289
  ...props
8292
8290
  }, ref) => {
8293
8291
  return /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(