@wistia/vhs 2.73.0-beta.8dfdfbf2.9f15f42 → 2.73.0-beta.9ec2a858.15677c1
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/Avatar/Avatar.d.ts.map +1 -1
- package/dist/index.cjs +468 -496
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +396 -424
- package/dist/index.mjs.map +4 -4
- package/package.json +2 -1
- package/dist/components/MediaObject/MediaObject.d.ts +0 -36
- package/dist/components/MediaObject/MediaObject.d.ts.map +0 -1
- package/dist/components/MediaObject/index.d.ts +0 -2
- package/dist/components/MediaObject/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/vhs",
|
|
3
|
-
"version": "2.73.0-beta.
|
|
3
|
+
"version": "2.73.0-beta.9ec2a858.15677c1",
|
|
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",
|
|
@@ -108,6 +108,7 @@
|
|
|
108
108
|
"@types/react-slider": "^1.3.6",
|
|
109
109
|
"@types/styled-components": "^5.1.34",
|
|
110
110
|
"@types/throttle-debounce": "^5.0.2",
|
|
111
|
+
"@types/uuid": "^10.0.0",
|
|
111
112
|
"@vitejs/plugin-react": "^4.3.4",
|
|
112
113
|
"@vitest/coverage-istanbul": "^3.0.4",
|
|
113
114
|
"browserslist": "^4.24.4",
|
|
@@ -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,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAiDF,eAAO,MAAM,WAAW;+DAOrB,gBAAgB,GAAG,GAAG,CAAC,OAAO;;CAahC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MediaObject/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|