@varialkit/video 0.1.0 → 0.1.3
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/examples.tsx +3 -3
- package/package.json +2 -2
- package/src/Video.tsx +1 -1
package/examples.tsx
CHANGED
|
@@ -87,7 +87,7 @@ export const stories = {
|
|
|
87
87
|
<Video src={sampleVideo} aspectRatio="1:1" caption="1:1 square" />
|
|
88
88
|
</div>
|
|
89
89
|
),
|
|
90
|
-
code: `import { Video } from "@
|
|
90
|
+
code: `import { Video } from "@varialkit/video";
|
|
91
91
|
|
|
92
92
|
export function Example() {
|
|
93
93
|
const src = "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4";
|
|
@@ -116,7 +116,7 @@ export function Example() {
|
|
|
116
116
|
shadow
|
|
117
117
|
/>
|
|
118
118
|
),
|
|
119
|
-
code: `import { Video } from "@
|
|
119
|
+
code: `import { Video } from "@varialkit/video";
|
|
120
120
|
|
|
121
121
|
export function Example() {
|
|
122
122
|
return (
|
|
@@ -148,7 +148,7 @@ export function Example() {
|
|
|
148
148
|
shadow
|
|
149
149
|
/>
|
|
150
150
|
),
|
|
151
|
-
code: `import { Video } from "@
|
|
151
|
+
code: `import { Video } from "@varialkit/video";
|
|
152
152
|
|
|
153
153
|
export function Example() {
|
|
154
154
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varialkit/video",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"./examples": "./examples.tsx"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@varialkit/icons": "0.1.
|
|
12
|
+
"@varialkit/icons": "0.1.3"
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"src",
|
package/src/Video.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
2
|
-
import { Icon } from "@
|
|
2
|
+
import { Icon } from "@varialkit/icons";
|
|
3
3
|
import type { VideoAspectRatio, VideoProps } from "./Video.types";
|
|
4
4
|
import "./Video.scss";
|
|
5
5
|
|