@wistia/ui 0.18.0-beta.1338688d.84af1a8 → 0.18.0-beta.3b5be3b3.9e2fe2f
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 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -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.18.0-beta.
|
|
3
|
+
* @license @wistia/ui v0.18.0-beta.3b5be3b3.9e2fe2f
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -236,7 +236,6 @@ var globalStyleAdjustmentsCss = import_styled_components.css`
|
|
|
236
236
|
* 1. Without this fonts are too heavy weight in OS X Firefox
|
|
237
237
|
* 2. Design decision
|
|
238
238
|
3. See: https://allthingssmitty.com/2020/05/11/css-fix-for-100vh-in-mobile-webkit/
|
|
239
|
-
4. Default font settings that all elements should get unless overridden
|
|
240
239
|
*/
|
|
241
240
|
body {
|
|
242
241
|
-moz-osx-font-smoothing: grayscale; /* 1 */
|
|
@@ -244,13 +243,6 @@ var globalStyleAdjustmentsCss = import_styled_components.css`
|
|
|
244
243
|
line-height: 1.5; /* 2 */
|
|
245
244
|
min-height: 100vh; /* 3 */
|
|
246
245
|
min-height: -webkit-fill-available; /* 3 */
|
|
247
|
-
color: var(--wui-color-text-high-contrast); /* 4 */
|
|
248
|
-
font-family: var(--wui-typography-body-2-family); /* 4 */
|
|
249
|
-
font-size: var(--wui-typography-body-2-size); /* 4 */
|
|
250
|
-
font-weight: var(--wui-typography-body-2-weight); /* 4 */
|
|
251
|
-
|
|
252
|
-
/* line-height: var(--wui-typography-body-2-line-height); */
|
|
253
|
-
margin: 0; /* 2 */
|
|
254
246
|
}
|
|
255
247
|
|
|
256
248
|
/* Remove default margin in favour of better control in authored CSS */
|
|
@@ -7912,6 +7904,7 @@ var StyledButton = import_styled_components22.styled.button`
|
|
|
7912
7904
|
${({ $variant }) => buttonVariantsStyles[$variant]}
|
|
7913
7905
|
${({ $unstyled }) => !$unstyled && buttonBaseStyles}
|
|
7914
7906
|
${({ $fullWidth }) => $fullWidth && "width: 100%;"}
|
|
7907
|
+
align-self: flex-start;
|
|
7915
7908
|
text-align: center;
|
|
7916
7909
|
`;
|
|
7917
7910
|
var StyledButtonContent = import_styled_components22.styled.div`
|
|
@@ -9127,6 +9120,10 @@ var ButtonGroupComponent = import_styled_components31.styled.div`
|
|
|
9127
9120
|
justify-content: ${({ $align }) => getAlignment($align)};
|
|
9128
9121
|
width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
|
|
9129
9122
|
|
|
9123
|
+
${StyledButton} {
|
|
9124
|
+
align-self: unset;
|
|
9125
|
+
}
|
|
9126
|
+
|
|
9130
9127
|
${mq.smAndUp} {
|
|
9131
9128
|
flex-direction: row;
|
|
9132
9129
|
}
|