@wistia/ui 0.4.2-beta.fb817792.8f685e4 → 0.4.2

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.d.mts CHANGED
@@ -476,10 +476,6 @@ type BoxProps = ComponentPropsWithoutRef<'div'> & {
476
476
  * *Note: only works for nested `<Box />`*
477
477
  */
478
478
  order?: number | 'inherit' | 'initial' | 'unset';
479
- /**
480
- * Padding for the Box takes a spacing token
481
- */
482
- padding?: Spacings | undefined;
483
479
  /**
484
480
  * Specifies how items will shrink inside the container when the default size of
485
481
  * items is larger than their container
@@ -496,7 +492,7 @@ type BoxProps = ComponentPropsWithoutRef<'div'> & {
496
492
  * Box is a layout container using [CSS Flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox).
497
493
  */
498
494
  declare const Box: {
499
- ({ alignContent, alignItems, alignSelf, basis, children, direction, fill, fillViewport, gap, grow, hasBoxParent, inline, justifyContent, order, shrink, wrapItems, padding, ...otherProps }: BoxProps): JSX.Element;
495
+ ({ alignContent, alignItems, alignSelf, basis, children, direction, fill, fillViewport, gap, grow, hasBoxParent, inline, justifyContent, order, shrink, wrapItems, ...otherProps }: BoxProps): JSX.Element;
500
496
  displayName: string;
501
497
  };
502
498
 
package/dist/index.d.ts CHANGED
@@ -476,10 +476,6 @@ type BoxProps = ComponentPropsWithoutRef<'div'> & {
476
476
  * *Note: only works for nested `<Box />`*
477
477
  */
478
478
  order?: number | 'inherit' | 'initial' | 'unset';
479
- /**
480
- * Padding for the Box takes a spacing token
481
- */
482
- padding?: Spacings | undefined;
483
479
  /**
484
480
  * Specifies how items will shrink inside the container when the default size of
485
481
  * items is larger than their container
@@ -496,7 +492,7 @@ type BoxProps = ComponentPropsWithoutRef<'div'> & {
496
492
  * Box is a layout container using [CSS Flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox).
497
493
  */
498
494
  declare const Box: {
499
- ({ alignContent, alignItems, alignSelf, basis, children, direction, fill, fillViewport, gap, grow, hasBoxParent, inline, justifyContent, order, shrink, wrapItems, padding, ...otherProps }: BoxProps): JSX.Element;
495
+ ({ alignContent, alignItems, alignSelf, basis, children, direction, fill, fillViewport, gap, grow, hasBoxParent, inline, justifyContent, order, shrink, wrapItems, ...otherProps }: BoxProps): JSX.Element;
500
496
  displayName: string;
501
497
  };
502
498
 
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.4.2-beta.fb817792.8f685e4
3
+ * @license @wistia/ui v0.4.2
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -5932,7 +5932,6 @@ var BoxComponent = styled10.div`
5932
5932
  flex-shrink: ${({ $shrink }) => isNotNil6($shrink) ? $shrink : null};
5933
5933
  flex-wrap: ${({ $wrapItems }) => $wrapItems ? "wrap" : "nowrap"};
5934
5934
  ${({ $gap }) => getGapStyle($gap)};
5935
- padding: ${({ $padding }) => isNotNil6($padding) ? `var(--wui-${$padding})` : null};
5936
5935
  justify-content: ${({ $justifyContent }) => $justifyContent};
5937
5936
  order: ${({ $order }) => isNotNil6($order) ? $order : null};
5938
5937
  `;
@@ -5970,7 +5969,6 @@ var Box = ({
5970
5969
  order,
5971
5970
  shrink,
5972
5971
  wrapItems = false,
5973
- padding,
5974
5972
  ...otherProps
5975
5973
  }) => {
5976
5974
  return /* @__PURE__ */ jsx167(
@@ -5988,7 +5986,6 @@ var Box = ({
5988
5986
  $inline: inline,
5989
5987
  $justifyContent: justifyContent,
5990
5988
  $order: order,
5991
- $padding: padding,
5992
5989
  $shrink: shrink,
5993
5990
  $wrapItems: wrapItems,
5994
5991
  as: "div",