@livepeer/design-system 0.0.0-beta.0

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.
@@ -0,0 +1 @@
1
+ export declare const Select: any;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ export declare const defaultPosition = "bottom-center";
3
+ export declare const defaultDuration = 5000;
4
+ export declare const defaultInterval = 250;
5
+ export declare const positions: string[];
6
+ interface IContextProps {
7
+ openSnackbar: any;
8
+ closeSnackbar: any;
9
+ }
10
+ export declare const SnackbarContext: React.Context<IContextProps>;
11
+ declare type Props = {
12
+ children: JSX.Element;
13
+ };
14
+ export declare const SnackbarProvider: ({ children }: Props) => JSX.Element;
15
+ export {};
@@ -0,0 +1,2 @@
1
+ export { SnackbarProvider } from "./SnackbarProvider";
2
+ export { useSnackbar } from "./useSnackbar";
@@ -0,0 +1,87 @@
1
+ declare const _default: {
2
+ ".snackbar-enter": {
3
+ opacity: number;
4
+ };
5
+ ".snackbar-exit-active": {
6
+ opacity: number;
7
+ };
8
+ ".snackbar-enter-active": {
9
+ opacity: number;
10
+ };
11
+ ".snackbar-enter-top-center": {
12
+ transform: string;
13
+ };
14
+ ".snackbar-enter-top-right": {
15
+ transform: string;
16
+ };
17
+ ".snackbar-exit-active-top-left": {
18
+ transform: string;
19
+ };
20
+ ".snackbar-exit-active-top-center": {
21
+ transform: string;
22
+ };
23
+ ".snackbar-exit-active-top-right": {
24
+ transform: string;
25
+ };
26
+ ".snackbar-enter-bottom-left": {
27
+ transform: string;
28
+ };
29
+ ".snackbar-enter-bottom-center": {
30
+ transform: string;
31
+ };
32
+ ".snackbar-enter-bottom-right": {
33
+ transform: string;
34
+ };
35
+ ".snackbar-exit-active-bottom-left": {
36
+ transform: string;
37
+ };
38
+ ".snackbar-exit-active-bottom-center": {
39
+ transform: string;
40
+ };
41
+ ".snackbar-exit-active-bottom-right": {
42
+ transform: string;
43
+ };
44
+ ".snackbar-enter-active-top-left": {
45
+ transform: string;
46
+ };
47
+ ".snackbar-enter-active-top-center": {
48
+ transform: string;
49
+ };
50
+ ".snackbar-enter-active-top-right": {
51
+ transform: string;
52
+ };
53
+ ".snackbar-enter-active-bottom-left": {
54
+ transform: string;
55
+ };
56
+ ".snackbar-enter-active-bottom-center": {
57
+ transform: string;
58
+ };
59
+ ".snackbar-enter-active-bottom-right": {
60
+ transform: string;
61
+ };
62
+ ".snackbar-wrapper-top-left": {
63
+ justifyContent: string;
64
+ top: string;
65
+ };
66
+ ".snackbar-wrapper-top-center": {
67
+ top: string;
68
+ justifyContent: string;
69
+ };
70
+ ".snackbar-wrapper-top-right": {
71
+ top: string;
72
+ justifyContent: string;
73
+ };
74
+ ".snackbar-wrapper-bottom-left": {
75
+ bottom: string;
76
+ justifyContent: string;
77
+ };
78
+ ".snackbar-wrapper-bottom-center": {
79
+ bottom: string;
80
+ justifyContent: string;
81
+ };
82
+ ".snackbar-wrapper-bottom-right": {
83
+ bottom: string;
84
+ justifyContent: string;
85
+ };
86
+ };
87
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export declare const useSnackbar: ({ position, style, closeStyle, }?: {
2
+ position?: string | undefined;
3
+ style?: {} | undefined;
4
+ closeStyle?: {} | undefined;
5
+ }) => any[];
@@ -0,0 +1 @@
1
+ export declare const Switch: any;