@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.cjs
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
|
*
|
|
@@ -18155,6 +18155,11 @@ var StyledThumbnailContainer = import_styled_components127.styled.div`
|
|
|
18155
18155
|
`;
|
|
18156
18156
|
var StyledThumbnail = import_styled_components127.styled.div`
|
|
18157
18157
|
--wui-thumbnail-badge-offset: var(--wui-space-01);
|
|
18158
|
+
--wui-thumbnail-border-radius: clamp(
|
|
18159
|
+
var(--wui-border-radius-01),
|
|
18160
|
+
calc(8cqh - var(--wui-thumbnail-collage-padding, 0px)),
|
|
18161
|
+
var(--wui-border-radius-05)
|
|
18162
|
+
);
|
|
18158
18163
|
|
|
18159
18164
|
background-image: ${({ $backgroundUrl }) => (0, import_type_guards74.isNotNil)($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
|
|
18160
18165
|
${({ $backgroundUrl, $gradientBackground }) => (
|
|
@@ -18167,10 +18172,21 @@ var StyledThumbnail = import_styled_components127.styled.div`
|
|
|
18167
18172
|
width: 100%;
|
|
18168
18173
|
overflow: hidden;
|
|
18169
18174
|
position: relative;
|
|
18175
|
+
border-radius: var(--wui-thumbnail-border-radius);
|
|
18176
|
+
box-shadow: inset 0 0 0 1px var(--wui-thumbnail-collage-border-color);
|
|
18170
18177
|
|
|
18171
18178
|
&,
|
|
18172
|
-
img
|
|
18173
|
-
|
|
18179
|
+
img,
|
|
18180
|
+
&::after {
|
|
18181
|
+
border-radius: var(--wui-thumbnail-border-radius);
|
|
18182
|
+
}
|
|
18183
|
+
|
|
18184
|
+
&::after {
|
|
18185
|
+
content: '';
|
|
18186
|
+
position: absolute;
|
|
18187
|
+
inset: 0;
|
|
18188
|
+
box-shadow: inset 0 0 0 1px var(--wui-thumbnail-collage-border-color);
|
|
18189
|
+
border-radius: var(--wui-thumbnail-border-radius);
|
|
18174
18190
|
}
|
|
18175
18191
|
|
|
18176
18192
|
@container (min-width: 200px) {
|
|
@@ -18342,11 +18358,17 @@ var ThumbnailCollageContainer = import_styled_components128.styled.div`
|
|
|
18342
18358
|
display: flex;
|
|
18343
18359
|
`;
|
|
18344
18360
|
var StyledThumbnailCollage = import_styled_components128.styled.div`
|
|
18361
|
+
--wui-thumbnail-collage-border-color: rgba(0, 0, 0, 0.1);
|
|
18362
|
+
--wui-thumbnail-collage-padding: var(--wui-space-01);
|
|
18363
|
+
padding: var(--wui-thumbnail-collage-padding);
|
|
18364
|
+
background-color: var(--wui-color-bg-surface-tertiary);
|
|
18365
|
+
border-radius: clamp(var(--wui-border-radius-01), 8cqh, var(--wui-border-radius-05));
|
|
18345
18366
|
display: grid;
|
|
18346
|
-
gap: var(--wui-
|
|
18367
|
+
gap: var(--wui-thumbnail-collage-padding);
|
|
18347
18368
|
width: 100%;
|
|
18348
18369
|
grid-template-columns: 3fr 2fr;
|
|
18349
18370
|
grid-template-rows: 1fr 1fr;
|
|
18371
|
+
border: 1px solid var(--wui-thumbnail-collage-border-color);
|
|
18350
18372
|
|
|
18351
18373
|
&:has(:nth-child(1)) {
|
|
18352
18374
|
grid-template-areas:
|
|
@@ -18384,6 +18406,10 @@ var StyledThumbnailCollage = import_styled_components128.styled.div`
|
|
|
18384
18406
|
height: 100%;
|
|
18385
18407
|
width: 100%;
|
|
18386
18408
|
}
|
|
18409
|
+
|
|
18410
|
+
@container (min-width: 200px) {
|
|
18411
|
+
--wui-thumbnail-collage-padding: var(--wui-space-02);
|
|
18412
|
+
}
|
|
18387
18413
|
`;
|
|
18388
18414
|
var ThumbnailCollage = ({
|
|
18389
18415
|
children = [],
|