@wistia/ui 0.8.14 → 0.8.15-beta.81e12349.b468043

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.8.14
3
+ * @license @wistia/ui v0.8.15-beta.81e12349.b468043
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7870,8 +7870,14 @@ var BoxComponent = (0, import_react23.forwardRef)(
7870
7870
  flexMode,
7871
7871
  ...props
7872
7872
  }, ref) => {
7873
+ const responsiveAlignContent = useResponsiveProp(alignContent);
7874
+ const responsiveAlignItems = useResponsiveProp(alignItems);
7875
+ const responsiveDirection = useResponsiveProp(direction);
7876
+ const responsiveFill = useResponsiveProp(fill);
7877
+ const responsiveGap = useResponsiveProp(gap);
7878
+ const responsiveJustifyContent = useResponsiveProp(justifyContent);
7873
7879
  if ((0, import_type_guards20.isNotUndefined)(height)) {
7874
- if (fill === true || fill === "vertical") {
7880
+ if (responsiveFill === true || responsiveFill === "vertical") {
7875
7881
  throw new Error('Cannot use height prop with fill="vertical" or fill={true}');
7876
7882
  }
7877
7883
  if (fillViewport === true || fillViewport === "vertical") {
@@ -7881,7 +7887,7 @@ var BoxComponent = (0, import_react23.forwardRef)(
7881
7887
  }
7882
7888
  }
7883
7889
  if ((0, import_type_guards20.isNotUndefined)(width)) {
7884
- if (fill === true || fill === "horizontal") {
7890
+ if (responsiveFill === true || responsiveFill === "horizontal") {
7885
7891
  throw new Error('Cannot use width prop with fill="horizontal" or fill={true}');
7886
7892
  }
7887
7893
  if (fillViewport === true || fillViewport === "horizontal") {
@@ -7894,19 +7900,19 @@ var BoxComponent = (0, import_react23.forwardRef)(
7894
7900
  StyledBoxComponent,
7895
7901
  {
7896
7902
  ref,
7897
- $alignContent: alignContent,
7898
- $alignItems: alignItems,
7903
+ $alignContent: responsiveAlignContent,
7904
+ $alignItems: responsiveAlignItems,
7899
7905
  $alignSelf: alignSelf,
7900
7906
  $basis: basis,
7901
- $fillBox: fill,
7907
+ $fillBox: responsiveFill,
7902
7908
  $fillViewport: fillViewport,
7903
- $flexDirection: direction,
7909
+ $flexDirection: responsiveDirection,
7904
7910
  $flexMode: flexMode,
7905
- $gap: gap,
7911
+ $gap: responsiveGap,
7906
7912
  $grow: grow,
7907
7913
  $height: height,
7908
7914
  $inline: inline,
7909
- $justifyContent: justifyContent,
7915
+ $justifyContent: responsiveJustifyContent,
7910
7916
  $order: order,
7911
7917
  $shrink: shrink,
7912
7918
  $width: width,
@@ -10828,6 +10834,11 @@ var BackdropComponent = import_styled_components64.default.div`
10828
10834
  position: fixed;
10829
10835
  z-index: var(--wui-zindex-backdrop);
10830
10836
 
10837
+ @media (prefers-reduced-motion: reduce) {
10838
+ animation: none;
10839
+ opacity: 1;
10840
+ }
10841
+
10831
10842
  @keyframes backdropShow {
10832
10843
  from {
10833
10844
  opacity: 0;
@@ -11667,7 +11678,7 @@ var SelectOption = (0, import_react58.forwardRef)(
11667
11678
  );
11668
11679
  }
11669
11680
  );
11670
- SelectOption.displayName = "Option";
11681
+ SelectOption.displayName = "SelectOption";
11671
11682
 
11672
11683
  // src/components/Select/SelectOptionGroup.tsx
11673
11684
  var import_react_select3 = require("@radix-ui/react-select");