@appquality/unguess-design-system 3.1.3 → 3.1.40-player

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonArgs } from "./_types";
2
3
  export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
3
4
  export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DropdownArgs, SelectArgs } from "./_types";
2
3
  import { MenuArgs } from "../menu/_types";
3
4
  interface IItem {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EditorArgs } from "./_types";
2
3
  interface EditorStoryArgs extends EditorArgs {
3
4
  children?: any;
@@ -1,5 +1,6 @@
1
1
  import { HTMLAttributes } from "react";
2
2
  export interface PlayerArgs extends HTMLAttributes<HTMLVideoElement> {
3
+ url: string;
3
4
  }
4
5
  export interface WrapperProps {
5
6
  isPlaying?: boolean;
@@ -4,5 +4,6 @@ interface PlayerStoryArgs extends PlayerArgs {
4
4
  url: string;
5
5
  }
6
6
  export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PlayerStoryArgs>;
7
+ export declare const Streaming: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PlayerStoryArgs>;
7
8
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PlayerArgs & import("react").RefAttributes<HTMLVideoElement>>;
8
9
  export default _default;
@@ -1,3 +1 @@
1
- export declare const AudioButton: (props: {
2
- videoRef: HTMLVideoElement | null;
3
- }) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const AudioButton: () => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,6 @@
1
1
  import { WrapperProps } from "../_types";
2
2
  export declare const ControlsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, WrapperProps, never>;
3
3
  export declare const ControlsBar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
- export declare const Controls: (props: {
5
- videoRef: HTMLVideoElement | null;
6
- duration: number;
7
- isPlaying?: boolean | undefined;
8
- onPlayChange?: ((isPlaying: boolean) => void) | undefined;
4
+ export declare const Controls: ({ container, }: {
5
+ container: HTMLDivElement | null;
9
6
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1 @@
1
- export declare const ControlsGroupCenter: ({ videoRef, isPlaying, onPlayChange, }: {
2
- videoRef: HTMLVideoElement | null;
3
- isPlaying?: boolean | undefined;
4
- onPlayChange?: ((playing: boolean) => void) | undefined;
5
- }) => import("react/jsx-runtime").JSX.Element;
1
+ export declare const ControlsGroupCenter: () => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,3 @@
1
- interface VideowithFullscreen extends HTMLVideoElement {
2
- webkitEnterFullscreen?: () => Promise<void>;
3
- webkitRequestFullscreen?: () => Promise<void>;
4
- mozRequestFullScreen?: () => Promise<void>;
5
- msRequestFullscreen?: () => Promise<void>;
6
- }
7
- export declare const FullScreenButton: (props: {
8
- videoRef: VideowithFullscreen | null;
1
+ export declare const FullScreenButton: ({ container, }: {
2
+ container: HTMLDivElement | null;
9
3
  }) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1 +1 @@
1
- export declare const Video: import("styled-components").StyledComponent<"video", import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const VideoStyle: import("styled-components").FlattenSimpleInterpolation;
@@ -300,13 +300,18 @@ declare const theme: {
300
300
  "&:hover"?: {
301
301
  borderColor: string | undefined;
302
302
  color: string | undefined;
303
- backgroundColor: string | undefined;
303
+ backgroundColor: string;
304
304
  "& svg"?: undefined;
305
305
  } | {
306
- backgroundColor: string | undefined;
306
+ backgroundColor: string;
307
307
  color: string | undefined;
308
308
  borderColor?: undefined;
309
309
  "& svg"?: undefined;
310
+ } | {
311
+ backgroundColor: string | undefined;
312
+ color: string;
313
+ borderColor?: undefined;
314
+ "& svg"?: undefined;
310
315
  } | {
311
316
  backgroundColor: string;
312
317
  color: string;
@@ -347,13 +352,13 @@ declare const theme: {
347
352
  "&:hover"?: {
348
353
  borderColor: string | undefined;
349
354
  color: string | undefined;
350
- backgroundColor: string | undefined;
355
+ backgroundColor: string;
351
356
  } | {
352
357
  backgroundColor: string | undefined;
353
358
  borderColor?: undefined;
354
359
  color?: undefined;
355
360
  } | {
356
- backgroundColor: string | undefined;
361
+ backgroundColor: string;
357
362
  color: string | undefined;
358
363
  borderColor?: undefined;
359
364
  } | {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TooltipArgs } from "./_types";
2
3
  export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, TooltipArgs>;
3
4
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const AnchorTag: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, any>;
2
3
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
3
4
  [x: string]: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, any>;
2
3
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
3
4
  [x: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.3",
3
+ "version": "3.1.40-player",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -25,6 +25,7 @@
25
25
  },
26
26
  "homepage": "https://github.com/AppQuality/unguess-design-system#readme",
27
27
  "dependencies": {
28
+ "@appquality/stream-player": "^1.0.3",
28
29
  "@nivo/bar": "^0.80.0",
29
30
  "@nivo/bullet": "^0.80.0",
30
31
  "@nivo/core": "^0.80.0",