@wistia/ui 0.10.0-beta.e99894c1.3b22e60 → 0.10.0
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 +1 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -5
- package/dist/index.d.ts +1 -5
- package/dist/index.mjs +115 -129
- 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.10.0
|
|
3
|
+
* @license @wistia/ui v0.10.0
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -8134,25 +8134,12 @@ var ButtonGroupComponent = import_styled_components30.default.div`
|
|
|
8134
8134
|
width: 100%;
|
|
8135
8135
|
}
|
|
8136
8136
|
}
|
|
8137
|
-
|
|
8138
|
-
${({ $buttonSize }) => $buttonSize !== "natural" && import_styled_components30.css`
|
|
8139
|
-
button,
|
|
8140
|
-
a {
|
|
8141
|
-
${buttonSizeStyles[$buttonSize]}
|
|
8142
|
-
}
|
|
8143
|
-
|
|
8144
|
-
[data-wistia-ui-icon-button] {
|
|
8145
|
-
height: var(--icon-button-size-${$buttonSize});
|
|
8146
|
-
width: var(--icon-button-size-${$buttonSize});
|
|
8147
|
-
}
|
|
8148
|
-
`}
|
|
8149
8137
|
`;
|
|
8150
8138
|
var ButtonGroup = ({
|
|
8151
8139
|
children,
|
|
8152
8140
|
align = "left",
|
|
8153
8141
|
fullWidth = false,
|
|
8154
8142
|
collapseOnSmallScreens = true,
|
|
8155
|
-
buttonSize = "natural",
|
|
8156
8143
|
...props
|
|
8157
8144
|
}) => {
|
|
8158
8145
|
if ((0, import_type_guards21.isNil)(children)) {
|
|
@@ -8162,7 +8149,6 @@ var ButtonGroup = ({
|
|
|
8162
8149
|
ButtonGroupComponent,
|
|
8163
8150
|
{
|
|
8164
8151
|
$align: align,
|
|
8165
|
-
$buttonSize: buttonSize,
|
|
8166
8152
|
$collapse: collapseOnSmallScreens,
|
|
8167
8153
|
$fullWidth: fullWidth,
|
|
8168
8154
|
...props,
|