@wistia/ui 0.6.18 → 0.6.19-beta.1879e76c.2ae6072
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 +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +27 -5
- package/dist/index.d.ts +27 -5
- package/dist/index.mjs +6 -3
- 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.
|
|
3
|
+
* @license @wistia/ui v0.6.19-beta.1879e76c.2ae6072
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -8596,7 +8596,7 @@ var StyledInputContainer = import_styled_components44.default.div`
|
|
|
8596
8596
|
`;
|
|
8597
8597
|
var Input = (0, import_react23.forwardRef)(
|
|
8598
8598
|
({
|
|
8599
|
-
fullWidth =
|
|
8599
|
+
fullWidth = true,
|
|
8600
8600
|
monospace = false,
|
|
8601
8601
|
type = "text",
|
|
8602
8602
|
autoSelect = false,
|
|
@@ -8819,15 +8819,18 @@ 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};
|
|
8822
8823
|
`;
|
|
8823
8824
|
var StackComponent = (0, import_react25.forwardRef)(
|
|
8824
|
-
({ renderAs, direction = "vertical", gap = "space-02", ...props }, ref) => {
|
|
8825
|
+
({ renderAs, direction = "vertical", gap = "space-02", alignItems = "stretch", ...props }, ref) => {
|
|
8825
8826
|
const responsiveGap = useResponsiveProp(gap);
|
|
8826
8827
|
const responsiveDirection = useResponsiveProp(direction);
|
|
8828
|
+
const responsiveAlignItems = useResponsiveProp(alignItems);
|
|
8827
8829
|
return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
|
|
8828
8830
|
StyledStack,
|
|
8829
8831
|
{
|
|
8830
8832
|
ref,
|
|
8833
|
+
$alignItems: responsiveAlignItems,
|
|
8831
8834
|
$direction: responsiveDirection,
|
|
8832
8835
|
$gap: responsiveGap,
|
|
8833
8836
|
as: renderAs ?? DEFAULT_ELEMENT4,
|