@wistia/ui 0.6.19-beta.1879e76c.2ae6072 → 0.6.19
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 +2 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -27
- package/dist/index.d.ts +5 -27
- package/dist/index.mjs +2 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.6.19
|
|
3
|
+
* @license @wistia/ui v0.6.19
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -8819,18 +8819,15 @@ var StyledStack = import_styled_components46.default.div`
|
|
|
8819
8819
|
display: flex;
|
|
8820
8820
|
flex-direction: ${({ $direction }) => $direction === "horizontal" ? "row" : "column"};
|
|
8821
8821
|
gap: ${({ $gap }) => `var(--wui-${$gap})`};
|
|
8822
|
-
align-items: ${({ $alignItems }) => $alignItems};
|
|
8823
8822
|
`;
|
|
8824
8823
|
var StackComponent = (0, import_react25.forwardRef)(
|
|
8825
|
-
({ renderAs, direction = "vertical", gap = "space-02",
|
|
8824
|
+
({ renderAs, direction = "vertical", gap = "space-02", ...props }, ref) => {
|
|
8826
8825
|
const responsiveGap = useResponsiveProp(gap);
|
|
8827
8826
|
const responsiveDirection = useResponsiveProp(direction);
|
|
8828
|
-
const responsiveAlignItems = useResponsiveProp(alignItems);
|
|
8829
8827
|
return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
|
|
8830
8828
|
StyledStack,
|
|
8831
8829
|
{
|
|
8832
8830
|
ref,
|
|
8833
|
-
$alignItems: responsiveAlignItems,
|
|
8834
8831
|
$direction: responsiveDirection,
|
|
8835
8832
|
$gap: responsiveGap,
|
|
8836
8833
|
as: renderAs ?? DEFAULT_ELEMENT4,
|