@wistia/ui 0.5.7-beta.474b3d52.66f3a6b → 0.5.7
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 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -6
- package/dist/index.d.ts +1 -6
- package/dist/index.mjs +2 -9
- 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.5.7
|
|
3
|
+
* @license @wistia/ui v0.5.7
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -6756,12 +6756,7 @@ var ButtonGroupComponent = import_styled_components28.default.div`
|
|
|
6756
6756
|
display: flex;
|
|
6757
6757
|
|
|
6758
6758
|
/* this helps ensure that primary buttons appear at the top of the column */
|
|
6759
|
-
flex-direction: ${({ $
|
|
6760
|
-
if (!$collapse) {
|
|
6761
|
-
return "row";
|
|
6762
|
-
}
|
|
6763
|
-
return $align === "right" ? "column-reverse" : "column";
|
|
6764
|
-
}};
|
|
6759
|
+
flex-direction: ${({ $align }) => $align === "right" ? "column-reverse" : "column"};
|
|
6765
6760
|
gap: var(--wui-space-02);
|
|
6766
6761
|
align-items: center;
|
|
6767
6762
|
justify-content: ${({ $align }) => getAlignment($align)};
|
|
@@ -6781,7 +6776,6 @@ var ButtonGroup = ({
|
|
|
6781
6776
|
children,
|
|
6782
6777
|
align = "left",
|
|
6783
6778
|
fullWidth = false,
|
|
6784
|
-
collapseOnSmallScreens = true,
|
|
6785
6779
|
...otherProps
|
|
6786
6780
|
}) => {
|
|
6787
6781
|
if ((0, import_type_guards18.isNil)(children)) {
|
|
@@ -6791,7 +6785,6 @@ var ButtonGroup = ({
|
|
|
6791
6785
|
ButtonGroupComponent,
|
|
6792
6786
|
{
|
|
6793
6787
|
$align: align,
|
|
6794
|
-
$collapse: collapseOnSmallScreens,
|
|
6795
6788
|
$fullWidth: fullWidth,
|
|
6796
6789
|
...otherProps,
|
|
6797
6790
|
children
|