@wistia/ui 0.18.5-beta.9ab561d6.6f99781 → 0.18.5-beta.d3ab7905.82504a5
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 +14 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.mjs +13 -33
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.cjs
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.d3ab7905.82504a5
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -160,6 +160,7 @@ __export(index_exports, {
|
|
|
160
160
|
TabsList: () => TabsList,
|
|
161
161
|
TabsTrigger: () => TabsTrigger,
|
|
162
162
|
Tag: () => Tag,
|
|
163
|
+
Test: () => Test,
|
|
163
164
|
Text: () => Text,
|
|
164
165
|
Thumbnail: () => Thumbnail,
|
|
165
166
|
ThumbnailBadge: () => ThumbnailBadge,
|
|
@@ -18155,11 +18156,6 @@ var StyledThumbnailContainer = import_styled_components127.styled.div`
|
|
|
18155
18156
|
`;
|
|
18156
18157
|
var StyledThumbnail = import_styled_components127.styled.div`
|
|
18157
18158
|
--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
|
-
);
|
|
18163
18159
|
|
|
18164
18160
|
background-image: ${({ $backgroundUrl }) => (0, import_type_guards74.isNotNil)($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
|
|
18165
18161
|
${({ $backgroundUrl, $gradientBackground }) => (
|
|
@@ -18172,22 +18168,7 @@ var StyledThumbnail = import_styled_components127.styled.div`
|
|
|
18172
18168
|
width: 100%;
|
|
18173
18169
|
overflow: hidden;
|
|
18174
18170
|
position: relative;
|
|
18175
|
-
border-radius: var(--wui-
|
|
18176
|
-
box-shadow: inset 0 0 0 1px var(--wui-thumbnail-collage-border-color);
|
|
18177
|
-
|
|
18178
|
-
&,
|
|
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);
|
|
18190
|
-
}
|
|
18171
|
+
border-radius: clamp(var(--wui-border-radius-01), 8cqh, var(--wui-border-radius-05));
|
|
18191
18172
|
|
|
18192
18173
|
@container (min-width: 200px) {
|
|
18193
18174
|
--wui-thumbnail-badge-offset: var(--wui-space-02);
|
|
@@ -18358,17 +18339,11 @@ var ThumbnailCollageContainer = import_styled_components128.styled.div`
|
|
|
18358
18339
|
display: flex;
|
|
18359
18340
|
`;
|
|
18360
18341
|
var StyledThumbnailCollage = import_styled_components128.styled.div`
|
|
18361
|
-
--wui-thumbnail-collage-border-color: rgba(0, 0, 0, 0.05);
|
|
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));
|
|
18366
18342
|
display: grid;
|
|
18367
|
-
gap: var(--wui-
|
|
18343
|
+
gap: var(--wui-space-01);
|
|
18368
18344
|
width: 100%;
|
|
18369
18345
|
grid-template-columns: 3fr 2fr;
|
|
18370
18346
|
grid-template-rows: 1fr 1fr;
|
|
18371
|
-
border: 1px solid var(--wui-thumbnail-collage-border-color);
|
|
18372
18347
|
|
|
18373
18348
|
&:has(:nth-child(1)) {
|
|
18374
18349
|
grid-template-areas:
|
|
@@ -18406,10 +18381,6 @@ var StyledThumbnailCollage = import_styled_components128.styled.div`
|
|
|
18406
18381
|
height: 100%;
|
|
18407
18382
|
width: 100%;
|
|
18408
18383
|
}
|
|
18409
|
-
|
|
18410
|
-
@container (min-width: 200px) {
|
|
18411
|
-
--wui-thumbnail-collage-padding: var(--wui-space-02);
|
|
18412
|
-
}
|
|
18413
18384
|
`;
|
|
18414
18385
|
var ThumbnailCollage = ({
|
|
18415
18386
|
children = [],
|
|
@@ -18641,6 +18612,15 @@ var SplitButton = ({
|
|
|
18641
18612
|
] });
|
|
18642
18613
|
};
|
|
18643
18614
|
SplitButton.displayName = "SplitButton_UI";
|
|
18615
|
+
|
|
18616
|
+
// src/components/Test/Test.tsx
|
|
18617
|
+
var import_styled_components131 = require("styled-components");
|
|
18618
|
+
var import_jsx_runtime332 = require("react/jsx-runtime");
|
|
18619
|
+
var StyledTest = import_styled_components131.styled.div`
|
|
18620
|
+
/* add styles here */
|
|
18621
|
+
`;
|
|
18622
|
+
var Test = ({ children, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime332.jsx)(StyledTest, { ...props, children });
|
|
18623
|
+
Test.displayName = "Test_UI";
|
|
18644
18624
|
// Annotate the CommonJS export names for ESM import in node:
|
|
18645
18625
|
0 && (module.exports = {
|
|
18646
18626
|
ActionButton,
|
|
@@ -18764,6 +18744,7 @@ SplitButton.displayName = "SplitButton_UI";
|
|
|
18764
18744
|
TabsList,
|
|
18765
18745
|
TabsTrigger,
|
|
18766
18746
|
Tag,
|
|
18747
|
+
Test,
|
|
18767
18748
|
Text,
|
|
18768
18749
|
Thumbnail,
|
|
18769
18750
|
ThumbnailBadge,
|