@wistia/ui 0.18.0-beta.782f3b36.e196b15 → 0.18.0-beta.af6ce7a5.9372ce9
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 +2 -9
- package/dist/index.d.ts +2 -9
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -711,18 +711,11 @@ type AlignContentType =
|
|
|
711
711
|
| 'center'
|
|
712
712
|
| 'flex-end'
|
|
713
713
|
| 'flex-start'
|
|
714
|
-
| 'normal'
|
|
715
714
|
| 'space-around'
|
|
716
715
|
| 'space-between'
|
|
717
716
|
| 'stretch';
|
|
718
717
|
|
|
719
|
-
type AlignItemsType =
|
|
720
|
-
| 'baseline'
|
|
721
|
-
| 'center'
|
|
722
|
-
| 'flex-end'
|
|
723
|
-
| 'flex-start'
|
|
724
|
-
| 'normal'
|
|
725
|
-
| 'stretch';
|
|
718
|
+
type AlignItemsType = 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch';
|
|
726
719
|
|
|
727
720
|
type AlignSelfType = 'auto' | 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch';
|
|
728
721
|
|
|
@@ -1048,7 +1041,7 @@ type CardProps = BoxProps & ComponentPropsWithoutRef<'div'> & {
|
|
|
1048
1041
|
* Cards can be used to visually distinguish content sections. Extends the [Box component.](https://wistia.github.io/vhs/storybook-ui/?path=/docs/components-box--docs)
|
|
1049
1042
|
*/
|
|
1050
1043
|
declare const Card: {
|
|
1051
|
-
({ children,
|
|
1044
|
+
({ children, border, borderRadius, colorScheme, direction, gap, height, paddingSize, prominence, width, ...props }: CardProps): JSX$1.Element;
|
|
1052
1045
|
displayName: string;
|
|
1053
1046
|
};
|
|
1054
1047
|
|
package/dist/index.d.ts
CHANGED
|
@@ -711,18 +711,11 @@ type AlignContentType =
|
|
|
711
711
|
| 'center'
|
|
712
712
|
| 'flex-end'
|
|
713
713
|
| 'flex-start'
|
|
714
|
-
| 'normal'
|
|
715
714
|
| 'space-around'
|
|
716
715
|
| 'space-between'
|
|
717
716
|
| 'stretch';
|
|
718
717
|
|
|
719
|
-
type AlignItemsType =
|
|
720
|
-
| 'baseline'
|
|
721
|
-
| 'center'
|
|
722
|
-
| 'flex-end'
|
|
723
|
-
| 'flex-start'
|
|
724
|
-
| 'normal'
|
|
725
|
-
| 'stretch';
|
|
718
|
+
type AlignItemsType = 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch';
|
|
726
719
|
|
|
727
720
|
type AlignSelfType = 'auto' | 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch';
|
|
728
721
|
|
|
@@ -1048,7 +1041,7 @@ type CardProps = BoxProps & ComponentPropsWithoutRef<'div'> & {
|
|
|
1048
1041
|
* Cards can be used to visually distinguish content sections. Extends the [Box component.](https://wistia.github.io/vhs/storybook-ui/?path=/docs/components-box--docs)
|
|
1049
1042
|
*/
|
|
1050
1043
|
declare const Card: {
|
|
1051
|
-
({ children,
|
|
1044
|
+
({ children, border, borderRadius, colorScheme, direction, gap, height, paddingSize, prominence, width, ...props }: CardProps): JSX$1.Element;
|
|
1052
1045
|
displayName: string;
|
|
1053
1046
|
};
|
|
1054
1047
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.18.0-beta.
|
|
3
|
+
* @license @wistia/ui v0.18.0-beta.af6ce7a5.9372ce9
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -7724,6 +7724,7 @@ var StyledButton = styled5.button`
|
|
|
7724
7724
|
${({ $variant }) => buttonVariantsStyles[$variant]}
|
|
7725
7725
|
${({ $unstyled }) => !$unstyled && buttonBaseStyles}
|
|
7726
7726
|
${({ $fullWidth }) => $fullWidth && "width: 100%;"}
|
|
7727
|
+
align-self: flex-start;
|
|
7727
7728
|
text-align: center;
|
|
7728
7729
|
`;
|
|
7729
7730
|
var StyledButtonContent = styled5.div`
|
|
@@ -8939,6 +8940,10 @@ var ButtonGroupComponent = styled14.div`
|
|
|
8939
8940
|
justify-content: ${({ $align }) => getAlignment($align)};
|
|
8940
8941
|
width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
|
|
8941
8942
|
|
|
8943
|
+
${StyledButton} {
|
|
8944
|
+
align-self: unset;
|
|
8945
|
+
}
|
|
8946
|
+
|
|
8942
8947
|
${mq.smAndUp} {
|
|
8943
8948
|
flex-direction: row;
|
|
8944
8949
|
}
|
|
@@ -9301,7 +9306,6 @@ var prominenceMap = {
|
|
|
9301
9306
|
};
|
|
9302
9307
|
var Card = ({
|
|
9303
9308
|
children,
|
|
9304
|
-
alignItems = "flex-start",
|
|
9305
9309
|
border = false,
|
|
9306
9310
|
borderRadius = "border-radius-04",
|
|
9307
9311
|
colorScheme = "inherit",
|
|
@@ -9315,7 +9319,6 @@ var Card = ({
|
|
|
9315
9319
|
}) => /* @__PURE__ */ jsx214(
|
|
9316
9320
|
StyledCard,
|
|
9317
9321
|
{
|
|
9318
|
-
$alignItems: alignItems,
|
|
9319
9322
|
$backgroundColor: prominenceMap[prominence].backgroundColor,
|
|
9320
9323
|
$borderColor: border ? prominenceMap[prominence].borderColor : "transparent",
|
|
9321
9324
|
$borderRadius: borderRadius,
|