Socket
Socket
Sign inDemoInstall

@00-team/vito

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

lib/components/common/Volume.d.ts

1

lib/components/settings/index.d.ts

@@ -7,2 +7,3 @@ import BaseComponent from 'BaseComponent';

showMenu: boolean;
loop: boolean;
container?: Node;

@@ -9,0 +10,0 @@ }

@@ -14,2 +14,3 @@ import { PureComponent, ReactElement } from 'react';

state: MenuState;
private RenderOption;
render(): ReactElement;

@@ -16,0 +17,0 @@ }

12

lib/layout/Desktop/index.d.ts

@@ -0,10 +1,16 @@

/// <reference types="node" />
import BaseComponent from 'BaseComponent';
import { ReactElement } from 'react';
import './style/index.scss';
interface DesktopProps {
}
interface DesktopState {
hide: boolean;
clock?: NodeJS.Timeout;
}
declare class Desktop extends BaseComponent<DesktopProps, DesktopState> {
declare class Desktop extends BaseComponent<{}, DesktopState> {
state: DesktopState;
private UpdateHide;
private UpdateActivity;
private UpdateActivityPR;
componentDidMount(): void;
componentWillUnmount(): void;
render(): ReactElement;

@@ -11,0 +17,0 @@ }

import BaseComponent from 'BaseComponent';
import { ReactElement } from 'react';
import './style/volume.scss';
declare type VolumeType = 'mute' | 'off' | 'low' | 'medium' | 'high';
declare type DailElement = HTMLDivElement;
interface VolumeProps {
}
interface VolumeState {
type: VolumeType;
show: boolean;
onHold: boolean;
volume: number;
node?: DailElement;
node?: HTMLDivElement;
}
declare class Volume extends BaseComponent<VolumeProps, VolumeState> {
declare class Volume extends BaseComponent<{}, VolumeState> {
state: VolumeState;
private ToggleMute;
private UpdateType;
private UpdateTypePR;
private UpdateVolume;

@@ -26,4 +18,2 @@ private MouseDown;

private MouseUpPR;
componentDidMount(): void;
componentWillUnmount(): void;
render(): ReactElement;

@@ -30,0 +20,0 @@ }

@@ -0,1 +1,2 @@

import { Component, FC } from 'react';
interface BasePlayerModel {

@@ -28,3 +29,4 @@ video?: HTMLVideoElement;

Menu = 0,
Action = 1
Action = 1,
Element = 2
}

@@ -41,4 +43,15 @@ interface MenuOption {

}
declare type Menu = (MenuOption | ActionOption)[];
export { OptionType, MenuOption, ActionOption, Menu };
interface ElementProps {
parentMenu: Menu[];
}
export { ElementProps };
declare class ElementMenu extends Component<ElementProps> {
}
interface ElementOption {
type: OptionType.Element;
element: typeof ElementMenu | FC<ElementProps>;
}
declare type MenuItem = MenuOption | ActionOption | ElementOption;
declare type Menu = MenuItem[];
export { OptionType, MenuOption, ActionOption, Menu, MenuItem };
//# sourceMappingURL=types.d.ts.map
{
"name": "@00-team/vito",
"private": false,
"version": "0.0.5",
"version": "0.0.6",
"description": "00 Team React Video Player. Vito!",

@@ -6,0 +6,0 @@ "main": "./lib/index.js",

@@ -5,2 +5,4 @@ # Vito

vito is a react video player package!
## Usage

@@ -26,2 +28,10 @@

* [ ] mute button for mobile
* [x] mute button for mobile
* [ ] Better Player Options
* [ ] Checking and Improving the Player Preformance
* [ ] Better Style
* [ ] Basic Animations
* [ ] Keyword Shortcuts
* [ ] More Toasts for Desktop
* [ ] Touch volume control for mobile
* [ ] Adding CC (Closed Captioning)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc