@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.mjs 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
  *
@@ -7186,7 +7186,7 @@ Badge.displayName = "Badge";
7186
7186
  // src/components/Box/Box.tsx
7187
7187
  import { Children, cloneElement as cloneElement2, forwardRef as forwardRef5 } from "react";
7188
7188
  import styled10 from "styled-components";
7189
- import { isNotNil as isNotNil7, isNil as isNil9, isRecord as isRecord3, isNotUndefined as isNotUndefined4, isTruthy } from "@wistia/type-guards";
7189
+ import { isNotNil as isNotNil7, isNil as isNil9, isRecord as isRecord3, isNotUndefined as isNotUndefined4 } from "@wistia/type-guards";
7190
7190
 
7191
7191
  // src/private/helpers/makePolymorphic/makePolymorphic.tsx
7192
7192
  var makePolymorphic = (component) => {
@@ -7299,20 +7299,20 @@ var BoxComponent = forwardRef5(
7299
7299
  ...otherProps
7300
7300
  }, ref) => {
7301
7301
  if (isNotUndefined4(height)) {
7302
- if (isTruthy(fill) || fill === "vertical") {
7302
+ if (fill === true || fill === "vertical") {
7303
7303
  throw new Error('Cannot use height prop with fill="vertical" or fill={true}');
7304
7304
  }
7305
- if (isTruthy(fillViewport) || fillViewport === "vertical") {
7305
+ if (fillViewport === true || fillViewport === "vertical") {
7306
7306
  throw new Error(
7307
7307
  'Cannot use height prop with fillViewport="vertical" or fillViewport={true}'
7308
7308
  );
7309
7309
  }
7310
7310
  }
7311
7311
  if (isNotUndefined4(width)) {
7312
- if (isTruthy(fill) || fill === "horizontal") {
7312
+ if (fill === true || fill === "horizontal") {
7313
7313
  throw new Error('Cannot use width prop with fill="horizontal" or fill={true}');
7314
7314
  }
7315
- if (isTruthy(fillViewport) || fillViewport === "horizontal") {
7315
+ if (fillViewport === true || fillViewport === "horizontal") {
7316
7316
  throw new Error(
7317
7317
  'Cannot use width prop with fillViewport="horizontal" or fillViewport={true}'
7318
7318
  );