@stackshift-ui/youtube-video 6.0.11 → 7.0.0-beta.0

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/youtube-video",
3
3
  "description": "",
4
- "version": "6.0.11",
4
+ "version": "7.0.0-beta.0",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -33,15 +33,15 @@
33
33
  "@stackshift-ui/typescript-config": "6.0.10"
34
34
  },
35
35
  "dependencies": {
36
- "@stackshift-ui/system": "6.0.11",
37
- "@stackshift-ui/scripts": "6.0.10"
36
+ "@stackshift-ui/scripts": "6.1.0-beta.0",
37
+ "@stackshift-ui/system": "6.1.0-beta.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@types/react": "16.8 - 19",
41
41
  "next": "10 - 14",
42
42
  "react": "16.8 - 19",
43
43
  "react-dom": "16.8 - 19",
44
- "@stackshift-ui/system": ">=6.0.11"
44
+ "@stackshift-ui/system": ">=6.1.0-beta.0"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "next": {
@@ -7,7 +7,7 @@ describe.concurrent("youtube-video", () => {
7
7
 
8
8
  test("Common: YouTube Video - test if renders without errors", ({ expect }) => {
9
9
  const clx = "aspect-video";
10
- render(<YoutubeVideo className={clx} />);
10
+ render(<YoutubeVideo data-testid="div" className={clx} />);
11
11
  expect(screen.getByTestId("div").classList).toContain(clx);
12
12
  });
13
13
  });
@@ -23,7 +23,7 @@ export const YoutubeVideo: React.FC<YoutubeVideoProps> = ({
23
23
  const defaultClass = "aspect-video";
24
24
 
25
25
  return (
26
- <Component as={as} className={defaultClass} {...props} data-testid={displayName}>
26
+ <Component as={as} className={defaultClass} {...props}>
27
27
  <iframe
28
28
  aria-label="Show Video Frame"
29
29
  className="w-full h-full rounded-lg"