@wistia/ui 0.18.4-beta.a529e874.9a0f097 → 0.18.5-beta.52a3d522.c295011
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 +30 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +30 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.18.
|
|
3
|
+
* @license @wistia/ui v0.18.5-beta.52a3d522.c295011
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -18025,6 +18025,11 @@ var StyledThumbnailContainer = styled107.div`
|
|
|
18025
18025
|
`;
|
|
18026
18026
|
var StyledThumbnail = styled107.div`
|
|
18027
18027
|
--wui-thumbnail-badge-offset: var(--wui-space-01);
|
|
18028
|
+
--wui-thumbnail-border-radius: clamp(
|
|
18029
|
+
var(--wui-border-radius-01),
|
|
18030
|
+
calc(8cqh - var(--wui-thumbnail-collage-padding, 0px)),
|
|
18031
|
+
var(--wui-border-radius-05)
|
|
18032
|
+
);
|
|
18028
18033
|
|
|
18029
18034
|
background-image: ${({ $backgroundUrl }) => isNotNil43($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
|
|
18030
18035
|
${({ $backgroundUrl, $gradientBackground }) => (
|
|
@@ -18037,10 +18042,21 @@ var StyledThumbnail = styled107.div`
|
|
|
18037
18042
|
width: 100%;
|
|
18038
18043
|
overflow: hidden;
|
|
18039
18044
|
position: relative;
|
|
18045
|
+
border-radius: var(--wui-thumbnail-border-radius);
|
|
18046
|
+
box-shadow: inset 0 0 0 1px var(--wui-thumbnail-collage-border-color);
|
|
18040
18047
|
|
|
18041
18048
|
&,
|
|
18042
|
-
img
|
|
18043
|
-
|
|
18049
|
+
img,
|
|
18050
|
+
&::after {
|
|
18051
|
+
border-radius: var(--wui-thumbnail-border-radius);
|
|
18052
|
+
}
|
|
18053
|
+
|
|
18054
|
+
&::after {
|
|
18055
|
+
content: '';
|
|
18056
|
+
position: absolute;
|
|
18057
|
+
inset: 0;
|
|
18058
|
+
box-shadow: inset 0 0 0 1px var(--wui-thumbnail-collage-border-color);
|
|
18059
|
+
border-radius: var(--wui-thumbnail-border-radius);
|
|
18044
18060
|
}
|
|
18045
18061
|
|
|
18046
18062
|
@container (min-width: 200px) {
|
|
@@ -18209,11 +18225,17 @@ var ThumbnailCollageContainer = styled108.div`
|
|
|
18209
18225
|
display: flex;
|
|
18210
18226
|
`;
|
|
18211
18227
|
var StyledThumbnailCollage = styled108.div`
|
|
18228
|
+
--wui-thumbnail-collage-border-color: rgba(0, 0, 0, 0.1);
|
|
18229
|
+
--wui-thumbnail-collage-padding: var(--wui-space-01);
|
|
18230
|
+
padding: var(--wui-thumbnail-collage-padding);
|
|
18231
|
+
background-color: var(--wui-color-bg-surface-tertiary);
|
|
18232
|
+
border-radius: clamp(var(--wui-border-radius-01), 8cqh, var(--wui-border-radius-05));
|
|
18212
18233
|
display: grid;
|
|
18213
|
-
gap: var(--wui-
|
|
18234
|
+
gap: var(--wui-thumbnail-collage-padding);
|
|
18214
18235
|
width: 100%;
|
|
18215
18236
|
grid-template-columns: 3fr 2fr;
|
|
18216
18237
|
grid-template-rows: 1fr 1fr;
|
|
18238
|
+
border: 1px solid var(--wui-thumbnail-collage-border-color);
|
|
18217
18239
|
|
|
18218
18240
|
&:has(:nth-child(1)) {
|
|
18219
18241
|
grid-template-areas:
|
|
@@ -18251,6 +18273,10 @@ var StyledThumbnailCollage = styled108.div`
|
|
|
18251
18273
|
height: 100%;
|
|
18252
18274
|
width: 100%;
|
|
18253
18275
|
}
|
|
18276
|
+
|
|
18277
|
+
@container (min-width: 200px) {
|
|
18278
|
+
--wui-thumbnail-collage-padding: var(--wui-space-02);
|
|
18279
|
+
}
|
|
18254
18280
|
`;
|
|
18255
18281
|
var ThumbnailCollage = ({
|
|
18256
18282
|
children = [],
|