@wistia/vhs 2.77.2-beta.3257b7a8.09465f2 → 2.77.2-beta.61aa102f.fe556a4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/vhs",
3
- "version": "2.77.2-beta.3257b7a8.09465f2",
3
+ "version": "2.77.2-beta.61aa102f.fe556a4",
4
4
  "description": "Visual Hype System - Wistia's opinionated component library for building React UIs",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.cjs",
@@ -55,11 +55,11 @@
55
55
  "typecheck": "tsc"
56
56
  },
57
57
  "peerDependencies": {
58
- "@types/react": "^18.0.0 || ^19.0.0",
59
- "@types/react-dom": "^18.0.0 || ^19.0.0",
58
+ "@types/react": "^17.0.0 || ^18.0.0",
59
+ "@types/react-dom": "^17.0.0 || ^18.0.0",
60
60
  "@types/styled-components": "^5.0.0",
61
- "react": "^18.0.0 || ^19.0.0",
62
- "react-dom": "^18.0.0 || ^19.0.0",
61
+ "react": "^17.0.0 || ^18.0.0",
62
+ "react-dom": "^17.0.0 || ^18.0.0",
63
63
  "styled-components": "^5.0.0 || ^6.0.0"
64
64
  },
65
65
  "dependencies": {
@@ -1,36 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- export type { MediaObjectProps } from './MediaObject';
2
- export { MediaObject } from './MediaObject';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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"}