@00-team/vito
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -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 @@ } |
@@ -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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
388736
71
884
36