@wistia/ui 0.14.22 → 0.14.23-beta.0b131fb3.6bb0fff
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 +71 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +30 -30
package/dist/index.d.mts
CHANGED
|
@@ -4100,9 +4100,9 @@ declare const DataList: {
|
|
|
4100
4100
|
displayName: string;
|
|
4101
4101
|
};
|
|
4102
4102
|
|
|
4103
|
-
type DataListItemProps = Omit<ComponentPropsWithoutRef<'dl'>, '
|
|
4103
|
+
type DataListItemProps = Omit<ComponentPropsWithoutRef<'dl'>, 'children'> & {
|
|
4104
4104
|
/**
|
|
4105
|
-
* Should only contain `
|
|
4105
|
+
* Should only contain `DataListItemLabel` and `DataListItemValue` components.
|
|
4106
4106
|
*/
|
|
4107
4107
|
children: ReactNode;
|
|
4108
4108
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -4100,9 +4100,9 @@ declare const DataList: {
|
|
|
4100
4100
|
displayName: string;
|
|
4101
4101
|
};
|
|
4102
4102
|
|
|
4103
|
-
type DataListItemProps = Omit<ComponentPropsWithoutRef<'dl'>, '
|
|
4103
|
+
type DataListItemProps = Omit<ComponentPropsWithoutRef<'dl'>, 'children'> & {
|
|
4104
4104
|
/**
|
|
4105
|
-
* Should only contain `
|
|
4105
|
+
* Should only contain `DataListItemLabel` and `DataListItemValue` components.
|
|
4106
4106
|
*/
|
|
4107
4107
|
children: ReactNode;
|
|
4108
4108
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.14.
|
|
3
|
+
* @license @wistia/ui v0.14.23-beta.0b131fb3.6bb0fff
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -9306,6 +9306,7 @@ var StyledCheckboxInput = styled27.div`
|
|
|
9306
9306
|
`;
|
|
9307
9307
|
var StyledHiddenCheckboxInput = styled27.input`
|
|
9308
9308
|
${visuallyHiddenStyle}
|
|
9309
|
+
position: relative;
|
|
9309
9310
|
`;
|
|
9310
9311
|
var Checkbox = forwardRef12(
|
|
9311
9312
|
({
|
|
@@ -15824,6 +15825,7 @@ var Table = ({
|
|
|
15824
15825
|
};
|
|
15825
15826
|
|
|
15826
15827
|
// src/components/Table/TableBody.tsx
|
|
15828
|
+
import "react";
|
|
15827
15829
|
import styled89 from "styled-components";
|
|
15828
15830
|
|
|
15829
15831
|
// src/components/Table/TableSectionContext.ts
|
|
@@ -15867,6 +15869,7 @@ var TableCell = ({ children, ...props }) => {
|
|
|
15867
15869
|
};
|
|
15868
15870
|
|
|
15869
15871
|
// src/components/Table/TableFoot.tsx
|
|
15872
|
+
import "react";
|
|
15870
15873
|
import styled91 from "styled-components";
|
|
15871
15874
|
import { jsx as jsx301 } from "react/jsx-runtime";
|
|
15872
15875
|
var StyledTableFoot = styled91.tfoot``;
|
|
@@ -15875,6 +15878,7 @@ var TableFoot = ({ children, ...props }) => {
|
|
|
15875
15878
|
};
|
|
15876
15879
|
|
|
15877
15880
|
// src/components/Table/TableHead.tsx
|
|
15881
|
+
import "react";
|
|
15878
15882
|
import styled92 from "styled-components";
|
|
15879
15883
|
import { jsx as jsx302 } from "react/jsx-runtime";
|
|
15880
15884
|
var StyledThead = styled92.thead``;
|
|
@@ -16555,7 +16559,7 @@ var Thumbnail = forwardRef34(
|
|
|
16555
16559
|
Thumbnail.displayName = "Thumbnail_UI";
|
|
16556
16560
|
|
|
16557
16561
|
// src/components/ThumbnailCollage/ThumbnailCollage.tsx
|
|
16558
|
-
import
|
|
16562
|
+
import React5 from "react";
|
|
16559
16563
|
import styled100 from "styled-components";
|
|
16560
16564
|
import { isNonEmptyArray } from "@wistia/type-guards";
|
|
16561
16565
|
import { jsx as jsx311 } from "react/jsx-runtime";
|
|
@@ -16632,10 +16636,10 @@ var ThumbnailCollage = ({
|
|
|
16632
16636
|
gradientBackground = "defaultMidOne",
|
|
16633
16637
|
...props
|
|
16634
16638
|
}) => {
|
|
16635
|
-
const thumbnailArray =
|
|
16639
|
+
const thumbnailArray = React5.Children.toArray(children);
|
|
16636
16640
|
const truncatedThumbnails = thumbnailArray.slice(0, 3);
|
|
16637
16641
|
const thumbnails = isNonEmptyArray(thumbnailArray) ? truncatedThumbnails.map((child) => {
|
|
16638
|
-
return
|
|
16642
|
+
return React5.cloneElement(child, {
|
|
16639
16643
|
...child.props,
|
|
16640
16644
|
children: void 0
|
|
16641
16645
|
});
|