@wistia/vhs 2.77.2-beta.61aa102f.fe556a4 → 2.77.2-beta.646ff043.64a8f30
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/components/MediaObject/MediaObject.d.ts +36 -0
- package/dist/components/MediaObject/MediaObject.d.ts.map +1 -0
- package/dist/components/MediaObject/index.d.ts +3 -0
- package/dist/components/MediaObject/index.d.ts.map +1 -0
- package/dist/components/WistiaLogo/WistiaLogo.d.ts +11 -14
- package/dist/components/WistiaLogo/WistiaLogo.d.ts.map +1 -1
- package/dist/index.cjs +512 -518
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +457 -463
- package/dist/index.mjs.map +4 -4
- package/package.json +1 -1
- package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts +0 -39
- package/dist/components/WistiaLogoNew/WistiaLogoNew.d.ts.map +0 -1
- package/dist/components/WistiaLogoNew/index.d.ts +0 -3
- package/dist/components/WistiaLogoNew/index.d.ts.map +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactNode, JSX } from 'react';
|
|
2
|
+
export type MediaObjectProps = ComponentPropsWithoutRef<'div'> & {
|
|
3
|
+
/**
|
|
4
|
+
* Vertical placement of the media item
|
|
5
|
+
*/
|
|
6
|
+
align?: 'bottom' | 'middle' | 'top';
|
|
7
|
+
/**
|
|
8
|
+
* Pass an arbitrary child node
|
|
9
|
+
*/
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* The space (in CSS units) between the item and the content
|
|
13
|
+
*/
|
|
14
|
+
gap?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Node that should appear as the "media item"
|
|
17
|
+
*/
|
|
18
|
+
item?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Horizontal placement of the media item
|
|
21
|
+
*/
|
|
22
|
+
placement?: 'left' | 'right';
|
|
23
|
+
};
|
|
24
|
+
export type MediaBodyProps = {
|
|
25
|
+
$align: string;
|
|
26
|
+
};
|
|
27
|
+
export type MediaItemProps = {
|
|
28
|
+
$align: string;
|
|
29
|
+
$gap: string;
|
|
30
|
+
$placement: string;
|
|
31
|
+
};
|
|
32
|
+
export declare const MediaObject: {
|
|
33
|
+
({ placement, align, gap, item, children, ...otherProps }: MediaObjectProps): JSX.Element;
|
|
34
|
+
displayName: string;
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=MediaObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaObject.d.ts","sourceRoot":"","sources":["../../../src/components/MediaObject/MediaObject.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAItE,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,CAAC,KAAK,CAAC,GAAG;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;IACpC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAiDF,eAAO,MAAM,WAAW;+DAOrB,gBAAgB,GAAG,GAAG,CAAC,OAAO;;CAahC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MediaObject/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
export type WistiaLogoProps = Omit<ComponentPropsWithoutRef<'svg'>, 'href'> & {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* An optional accessible description for the logo
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @ignore
|
|
9
|
-
* Allows user to override default logo colors
|
|
10
|
-
*/
|
|
11
|
-
colorOverride?: string;
|
|
6
|
+
description?: string;
|
|
12
7
|
/**
|
|
13
8
|
* Height, in pixels, of the logo
|
|
14
9
|
*/
|
|
@@ -19,24 +14,26 @@ export type WistiaLogoProps = Omit<ComponentPropsWithoutRef<'svg'>, 'href'> & {
|
|
|
19
14
|
*/
|
|
20
15
|
hoverColor?: string;
|
|
21
16
|
/**
|
|
22
|
-
*
|
|
17
|
+
* Display just the icon portion of the logo (ie. hide `Wistia` text)
|
|
18
|
+
* note: there is no analogue to this because by brand guidelines, the
|
|
19
|
+
* `Wistia` text must not be displayed without the "flags" iconography
|
|
23
20
|
*/
|
|
24
|
-
|
|
21
|
+
iconOnly?: boolean;
|
|
25
22
|
/**
|
|
26
|
-
*
|
|
23
|
+
* If provided, will wrap the logo in a link
|
|
27
24
|
*/
|
|
28
|
-
|
|
25
|
+
href?: string;
|
|
29
26
|
/**
|
|
30
|
-
* An accessible
|
|
27
|
+
* An accessible title for the logo (defaults to "Wistia Logo")
|
|
31
28
|
*/
|
|
32
29
|
title?: string;
|
|
33
30
|
/**
|
|
34
31
|
* Style of the logo
|
|
35
32
|
*/
|
|
36
|
-
variant?: '
|
|
33
|
+
variant?: 'dark' | 'light' | 'standard';
|
|
37
34
|
};
|
|
38
35
|
export declare const WistiaLogo: {
|
|
39
|
-
({
|
|
36
|
+
({ description, height, hoverColor, href, iconOnly, title, variant, ...otherProps }: WistiaLogoProps): import("react/jsx-runtime").JSX.Element;
|
|
40
37
|
displayName: string;
|
|
41
38
|
};
|
|
42
39
|
//# sourceMappingURL=WistiaLogo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WistiaLogo.d.ts","sourceRoot":"","sources":["../../../src/components/WistiaLogo/WistiaLogo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"WistiaLogo.d.ts","sourceRoot":"","sources":["../../../src/components/WistiaLogo/WistiaLogo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AA8DtD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG;IAC5E;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,UAAU;yFASpB,eAAe;;CAyCjB,CAAC"}
|