@streamlayer/react 0.10.8 → 0.10.10
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.
- package/lib/cjs/index.js +7 -7
- package/lib/esm/index.js +7 -7
- package/lib/index.d.ts +5 -5
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -50,11 +50,6 @@ declare module "packages/react-ui/src/lib/gamification/inapp/index" {
|
|
|
50
50
|
}
|
|
51
51
|
export const InApp: React.FC<InAppProps>;
|
|
52
52
|
}
|
|
53
|
-
declare module "packages/react-ui/src/utils/login" {
|
|
54
|
-
export const requestLoginCode: (host: string, phone: string) => Promise<boolean>;
|
|
55
|
-
export const register: (host: string, phone: string) => Promise<boolean>;
|
|
56
|
-
export const login: (host: string, phone: string, code: string) => Promise<string | undefined>;
|
|
57
|
-
}
|
|
58
53
|
declare module "packages/react-ui/src/lib/theme/theme" {
|
|
59
54
|
type COLORS_VARIABLES = keyof (typeof theme)['COLORS'];
|
|
60
55
|
type FONT_VARIABLES = keyof (typeof theme)['FONT'];
|
|
@@ -115,6 +110,11 @@ declare module "packages/react-ui/src/lib/gamification/vote/components/voting-he
|
|
|
115
110
|
}
|
|
116
111
|
export const Timer: React.FC<TimerProps>;
|
|
117
112
|
}
|
|
113
|
+
declare module "packages/react-ui/src/utils/login" {
|
|
114
|
+
export const requestLoginCode: (host: string, phone: string) => Promise<boolean>;
|
|
115
|
+
export const register: (host: string, phone: string) => Promise<boolean>;
|
|
116
|
+
export const login: (host: string, phone: string, code: string) => Promise<string | undefined>;
|
|
117
|
+
}
|
|
118
118
|
declare module "packages/react-ui/src/lib/login/styles" {
|
|
119
119
|
export const Panel: import("@emotion/styled").StyledComponent<{
|
|
120
120
|
theme?: import("@emotion/react").Theme | undefined;
|