@wistia/ui 0.18.5-beta.52a3d522.c295011 → 0.18.5-beta.8179c5b3.6de4794
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 +3 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -33
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.18.5-beta.
|
|
3
|
+
* @license @wistia/ui v0.18.5-beta.8179c5b3.6de4794
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -18025,11 +18025,6 @@ 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
|
-
);
|
|
18033
18028
|
|
|
18034
18029
|
background-image: ${({ $backgroundUrl }) => isNotNil43($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
|
|
18035
18030
|
${({ $backgroundUrl, $gradientBackground }) => (
|
|
@@ -18042,22 +18037,7 @@ var StyledThumbnail = styled107.div`
|
|
|
18042
18037
|
width: 100%;
|
|
18043
18038
|
overflow: hidden;
|
|
18044
18039
|
position: relative;
|
|
18045
|
-
border-radius: var(--wui-
|
|
18046
|
-
box-shadow: inset 0 0 0 1px var(--wui-thumbnail-collage-border-color);
|
|
18047
|
-
|
|
18048
|
-
&,
|
|
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);
|
|
18060
|
-
}
|
|
18040
|
+
border-radius: clamp(var(--wui-border-radius-01), 8cqh, var(--wui-border-radius-05));
|
|
18061
18041
|
|
|
18062
18042
|
@container (min-width: 200px) {
|
|
18063
18043
|
--wui-thumbnail-badge-offset: var(--wui-space-02);
|
|
@@ -18225,17 +18205,11 @@ var ThumbnailCollageContainer = styled108.div`
|
|
|
18225
18205
|
display: flex;
|
|
18226
18206
|
`;
|
|
18227
18207
|
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));
|
|
18233
18208
|
display: grid;
|
|
18234
|
-
gap: var(--wui-
|
|
18209
|
+
gap: var(--wui-space-01);
|
|
18235
18210
|
width: 100%;
|
|
18236
18211
|
grid-template-columns: 3fr 2fr;
|
|
18237
18212
|
grid-template-rows: 1fr 1fr;
|
|
18238
|
-
border: 1px solid var(--wui-thumbnail-collage-border-color);
|
|
18239
18213
|
|
|
18240
18214
|
&:has(:nth-child(1)) {
|
|
18241
18215
|
grid-template-areas:
|
|
@@ -18273,10 +18247,6 @@ var StyledThumbnailCollage = styled108.div`
|
|
|
18273
18247
|
height: 100%;
|
|
18274
18248
|
width: 100%;
|
|
18275
18249
|
}
|
|
18276
|
-
|
|
18277
|
-
@container (min-width: 200px) {
|
|
18278
|
-
--wui-thumbnail-collage-padding: var(--wui-space-02);
|
|
18279
|
-
}
|
|
18280
18250
|
`;
|
|
18281
18251
|
var ThumbnailCollage = ({
|
|
18282
18252
|
children = [],
|