@wistia/ui 0.6.30 → 0.6.31

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.6.30
3
+ * @license @wistia/ui v0.6.31
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7418,20 +7418,20 @@ var BoxComponent = (0, import_react17.forwardRef)(
7418
7418
  ...otherProps
7419
7419
  }, ref) => {
7420
7420
  if ((0, import_type_guards17.isNotUndefined)(height)) {
7421
- if ((0, import_type_guards17.isTruthy)(fill) || fill === "vertical") {
7421
+ if (fill === true || fill === "vertical") {
7422
7422
  throw new Error('Cannot use height prop with fill="vertical" or fill={true}');
7423
7423
  }
7424
- if ((0, import_type_guards17.isTruthy)(fillViewport) || fillViewport === "vertical") {
7424
+ if (fillViewport === true || fillViewport === "vertical") {
7425
7425
  throw new Error(
7426
7426
  'Cannot use height prop with fillViewport="vertical" or fillViewport={true}'
7427
7427
  );
7428
7428
  }
7429
7429
  }
7430
7430
  if ((0, import_type_guards17.isNotUndefined)(width)) {
7431
- if ((0, import_type_guards17.isTruthy)(fill) || fill === "horizontal") {
7431
+ if (fill === true || fill === "horizontal") {
7432
7432
  throw new Error('Cannot use width prop with fill="horizontal" or fill={true}');
7433
7433
  }
7434
- if ((0, import_type_guards17.isTruthy)(fillViewport) || fillViewport === "horizontal") {
7434
+ if (fillViewport === true || fillViewport === "horizontal") {
7435
7435
  throw new Error(
7436
7436
  'Cannot use width prop with fillViewport="horizontal" or fillViewport={true}'
7437
7437
  );