@appquality/unguess-design-system 3.1.2 → 3.1.39-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;
@@ -96,16 +96,11 @@ export declare const components: {
96
96
  "&:hover"?: {
97
97
  borderColor: string | undefined;
98
98
  color: string | undefined;
99
- backgroundColor: string;
100
- "& svg"?: undefined;
101
- } | {
102
- backgroundColor: string;
103
- color: string | undefined;
104
- borderColor?: undefined;
99
+ backgroundColor: string | undefined;
105
100
  "& svg"?: undefined;
106
101
  } | {
107
102
  backgroundColor: string | undefined;
108
- color: string;
103
+ color: string | undefined;
109
104
  borderColor?: undefined;
110
105
  "& svg"?: undefined;
111
106
  } | {
@@ -148,13 +143,13 @@ export declare const components: {
148
143
  "&:hover"?: {
149
144
  borderColor: string | undefined;
150
145
  color: string | undefined;
151
- backgroundColor: string;
146
+ backgroundColor: string | undefined;
152
147
  } | {
153
148
  backgroundColor: string | undefined;
154
149
  borderColor?: undefined;
155
150
  color?: undefined;
156
151
  } | {
157
- backgroundColor: string;
152
+ backgroundColor: string | undefined;
158
153
  color: string | undefined;
159
154
  borderColor?: undefined;
160
155
  } | {
@@ -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.2",
3
+ "version": "3.1.39-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",
@@ -36,6 +37,7 @@
36
37
  "@nivo/waffle": "^0.80.0",
37
38
  "@tiptap/extension-bubble-menu": "^2.0.0-beta.61",
38
39
  "@tiptap/extension-character-count": "^2.0.0-beta.31",
40
+ "@tiptap/extension-link": "^2.0.4",
39
41
  "@tiptap/extension-placeholder": "^2.0.0-beta.53",
40
42
  "@tiptap/extension-typography": "^2.0.0-beta.22",
41
43
  "@tiptap/pm": "^2.0.3",
@@ -90,8 +92,8 @@
90
92
  "formik": "^2.2.9",
91
93
  "prop-types": "^15.8.1",
92
94
  "react": "^18.2.0",
93
- "react-scripts": "^5.0.1",
94
95
  "react-dom": "^18.2.0",
96
+ "react-scripts": "^5.0.1",
95
97
  "rimraf": "3.0.2",
96
98
  "rollup": "~2.66",
97
99
  "rollup-plugin-typescript2": "^0.34.1",