l-min-components 1.0.410 → 1.0.415

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": "l-min-components",
3
- "version": "1.0.410",
3
+ "version": "1.0.415",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  const PauseIcon = ({ fill, onClick }) => {
2
3
  return (
3
4
  <svg
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  const PlayVideoIcon = () => {
2
3
  return (
3
4
  <svg
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  const VideoScreenIcon = ({ onClick }) => {
2
3
  return (
3
4
  <svg
@@ -1,4 +1,5 @@
1
1
  import { useState, useRef } from "react";
2
+ import React from "react";
2
3
  import screenfull from "screenfull";
3
4
  import {
4
5
  RangeContainer,
@@ -79,7 +80,7 @@ const VideoPlayer = ({
79
80
  const calcShowPrompts = () => {
80
81
  if (progress?.playedSeconds) {
81
82
  return Math.floor(
82
- (progress.playedSeconds * 100) / progress.loadedSeconds,
83
+ (progress.playedSeconds * 100) / progress.loadedSeconds
83
84
  );
84
85
  }
85
86
  };
@@ -1,5 +1,5 @@
1
1
  import styled from "styled-components";
2
-
2
+ import React from "react";
3
3
  export const VideoPlayerContainer = styled.div`
4
4
  position: relative;
5
5
  border-radius: 24px;